Member Junction
    Preparing search index...

    The clone wizard in a right-hand slide-in.

    Bind Visible two-way. The inner panel is created on first open and restarted on every later open, so each open plans against the record's current state. Closing is refused while a clone is executing.

    <mj-record-clone-slide-in
    [(Visible)]="ShowClone"
    [Record]="record"
    [Provider]="provider"
    (CloneCompleted)="OnCloned($event)"
    (NavigateToRecord)="OpenRecord($event)">
    </mj-record-clone-slide-in>

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    CloneCompleted: EventEmitter<CloneCompletedEvent> = ...
    CloneFailed: EventEmitter<CloneFailedEvent> = ...
    Closed: EventEmitter<void> = ...

    Fires after the slide-in closes, whatever closed it.

    EntityName?: string

    Entity of the source record when Record is not set.

    HasOpened: boolean = false

    True once the slide-in has opened at least once; the panel is created lazily.

    NavigateToRecord: EventEmitter<CloneNavigationEvent> = ...

    See RecordClonePanelComponent.NavigateToRecord. The slide-in closes after emitting it.

    The embedded panel, once the slide-in has been opened.

    PlanChanged: EventEmitter<RecordClonePlanDetails> = ...
    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.

    Record: BaseEntity<unknown> | null = null

    The record to clone. See RecordClonePanelComponent.Record.

    RecordKey?: string | RecordCloneKey

    Key of the source record when Record is not set. See RecordClonePanelComponent.RecordKey.

    ShowStepTabs: boolean = true

    Show the Scope / Values / Review step tabs. Default true.

    StateChange: EventEmitter<RecordClonePanelState> = ...
    StepChange: EventEmitter<RecordCloneStep> = ...
    Title: string = ''

    Header text. Defaults to Clone <entity name>.

    VisibleChange: EventEmitter<boolean> = ...

    Fires with the new value when the slide-in opens or closes itself.

    WidthPx: number = 720

    Initial width in pixels. Default 720, wide enough for the plan tree and the review diff.

    "ɵ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