Member Junction
    Preparing search index...

    The entity's real form, scaled down, with the placement dialog's panel drawn on it.

    The form is rendered by the same host every other surface uses, with a FormPlacementPreview provided to it, so the form itself places the unsaved panel, hides what it replaces and gives it a rail item.

    Read-only: the form is inert and every answer is made in the dialog's controls. The form shows the rail tab the panel is on; the preview scrolls to it. It has a form state of its own, held in memory, so opening that tab and its sections changes neither the user's saved form state nor the real form open behind the dialog.

    Hierarchy (View Summary)

    Implements

    • AfterViewInit
    • OnDestroy
    Index

    Constructors

    Properties

    Failed: EventEmitter<void> = ...

    The form did not render, so the dialog should show its list instead.

    FormConfig: EntityFormConfig = ...
    Loaded: boolean = false
    PrimaryKey: CompositeKey = ...
    Provider: IMetadataProvider | null

    If specified, this provider will be used for communication and for all metadata purposes. By default, if not provided, the Metadata and RunView classes are used for this and the default GraphQLDataProvider is used which is connected to the same back-end MJAPI instance as the Metadata and RunView classes. If you want to have this component connect to a different MJAPI back-end, create an instance of a ProviderBase sub-class like GraphQLDataProvider/etc, and configure it as appropriate to connect to the MJAPI back-end you want to use, and then pass it in here.

    RecordLabel: string = ''

    Which record the preview shows, in words.

    RecordResolved: boolean = false

    False until the record to show is known, so the form is drawn once, not blank and then again.

    Scale: number = 1
    StageHeight: number = 0
    StageWidth: number = MjFormPlacementPreviewComponent.MIN_STAGE_WIDTH
    MIN_STAGE_WIDTH: 1100

    The narrowest width the form is laid out at. A narrower column shows it scaled down; a wider one shows it at its real size, never enlarged.

    "ɵdir": unknown
    "ɵfac": ɵɵFactoryDeclaration<BaseAngularComponent, never>

    Accessors

    • get ProviderToUse(): IMetadataProvider

      Returns either the default Metadata provider or the one specified in the Provider property, if it was specified

      Returns IMetadataProvider

    • get RunQueryToUse(): IRunQueryProvider

      Returns either the default RunQuery provider or the one specified in the Provider property, if it was specified

      Returns IRunQueryProvider

    • get RunViewToUse(): IRunViewProvider

      Returns either the default RunView provider or the one specified in the Provider property, if it was specified

      Returns IRunViewProvider

    Methods