Change Editor

PF1 v10

Hierarchy

  • any
    • ChangeEditor

Constructors

Properties

change: ItemChange
DEFAULT_OPTIONS: {
    actions: {
        copyUuid: {
            buttons: number[];
            handler: (...this: any, event: PointerEvent) => void;
        };
    };
    classes: string[];
    form: {
        closeOnSubmit: boolean;
        handler: Object;
        submitOnChange: boolean;
        submitOnClose: boolean;
    };
    position: { width: number };
    sheetConfig: boolean;
    tag: string;
    window: { minimizable: boolean; resizable: boolean };
} = ...
PARTS: { form: { template: string } } = ...

Accessors

Methods

  • Override to fix DocumentSheet ignoring get id

    Parameters

    • options: object

      App options

    Returns object

  • Protected

    Attach event listeners to the rendered application form.

    Parameters

    • context: ApplicationRenderContext

      Prepared context data

    • options: RenderOptions

      Provided render options

    Returns void

  • Internal

    Returns Promise<
        {
            actor: ActorPF;
            change: ItemChange;
            config: config;
            cssClass: string;
            editable: any;
            isAdd: boolean;
            isDeferred: boolean;
            isSet: boolean;
            isSimple: boolean;
            isValid: boolean;
            isValidOp: boolean;
            isValidType: boolean;
            item: ItemPF;
            label: string;
            priority: { early: boolean; late: boolean; normal: boolean };
            values: {
                priority: { early: undefined | number; late: undefined | number };
            };
        },
    >

  • HACK: Override to force close the dialog when the Change is deleted

    Parameters

    • options: object

      Options

    • _options: object

      Legacy options

    Returns Promise<any>