Member Junction
    Preparing search index...

    Modal for saving an artifact version to one or more collections.

    Owns the full UX and the writes:

    • Left pane: searchable, expandable tree of collections the user can edit
    • Right pane: artifact preview + live selection chips, and (post-save) per-collection results
    • Save runs inline (modal stays open during writes) and reports per-collection success/failure with retry

    Emits completed on full success (parent should reload bookmark state) and on user-acknowledged partial failure. Emits cancelled when the user backs out without saving anything.

    Hierarchy (View Summary)

    Implements

    • OnInit
    • OnChanges
    • AfterViewInit
    Index

    Constructors

    Properties

    artifactName: string = ''

    Display-only: artifact name shown in the preview pane.

    artifactVersionId: string | null = null

    ID of the artifact version being saved. Required for writes.

    artifactVersionNumber: number | null = null

    Display-only: version number shown in the preview pane.

    cancelled: EventEmitter<void> = ...
    completed: EventEmitter<{ failedIds: string[]; successIds: string[] }> = ...

    Fired when the save flow finishes (fully successful, or user acknowledged partial result).

    currentUser: UserInfo
    environmentId: string
    errorMessage: string = ''
    excludeCollectionIds: string[] = []

    Collections that already contain the current version — rendered with a green check and locked.

    filterMode: FilterMode = 'editable'
    isCreatingCollection: boolean = false
    isLoading: boolean = false
    isOpen: boolean = false
    isSaving: boolean = false
    newCollectionName: string = ''
    newNameInputRef?: ElementRef<HTMLInputElement>
    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.

    saveResults: Map<string, SaveResult> = ...
    searchInputRef?: ElementRef<HTMLInputElement>
    searchQuery: string = ''
    selectedIds: Set<string> = ...
    showCreateForm: boolean = false
    visibleNodes: CollectionNode[] = []
    "ɵdir": unknown
    "ɵfac": unknown

    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 RunReportToUse(): IRunReportProvider

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

      Returns IRunReportProvider

    • get RunViewToUse(): IRunViewProvider

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

      Returns IRunViewProvider

    Methods