Member Junction
    Preparing search index...

    Dialog component for managing list sharing. Allows users to share lists with other users or roles with different permission levels.

    Features:

    • User/role search with autocomplete
    • Permission level selection (View, Edit, Owner)
    • Current shares management
    • Remove access functionality

    Hierarchy (View Summary)

    Implements

    • OnInit
    • OnDestroy
    Index

    Constructors

    Properties

    cancel: EventEmitter<void> = ...

    Emitted when dialog is cancelled

    complete: EventEmitter<ListShareDialogResult> = ...

    Emitted when dialog is closed with results

    Configuration for the dialog

    currentShares: ListShareInfo[] = []
    loading: boolean = false
    manageInvitations: EventEmitter<void> = ...

    Emitted when the user clicks "Manage Invitations" in the footer. Phase 2: opens the invitations management UI for this list.

    notifyByEmail: boolean = true

    When true (the default), newly-added shares fan out as notifications to the recipient (email + in-app, depending on user preferences). The state is captured on the dialog so consumers can read it back via ListShareDialogResult.notifyByEmail.

    permissionOptions: {
        description: string;
        label: string;
        value: ListPermissionLevel;
    }[] = ...
    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.

    saving: boolean = false
    searchResults: ShareRecipient[] = []
    searchText: string = ''
    searchType: "User" | "Role" = 'User'
    selectedPermission: ListPermissionLevel = 'View'
    selectedRecipient: ShareRecipient | null = null
    sharesAdded: ListShareInfo[] = []
    sharesRemoved: string[] = []
    sharesUpdated: ListShareInfo[] = []
    showSearchResults: boolean = false
    viewAuditLog: EventEmitter<void> = ...

    Emitted when the user clicks "View audit log" in the footer. Phase 2: opens the per-list audit log view.

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

    • A callback method that is invoked immediately after the default change detector has checked the directive's data-bound properties for the first time, and before any of the view or content children have been checked. It is invoked only once when the directive is instantiated.

      Returns void