Member Junction
    Preparing search index...

    Resource-type-agnostic share dialog. Every resource's sharing UX collapses to three tiers — View / Edit / Owner — so the dialog exposes a single level selector per grantee rather than a grab bag of Can* checkboxes. Adapters translate the level to whatever shape their backing entity actually persists.

    Hierarchy (View Summary)

    Implements

    • OnChanges
    Index

    Constructors

    Properties

    Adapter: ResourceShareAdapter | null = null
    AvailableUsers: MJUserEntity[] = []
    Context: ResourceShareContext | null = null
    Error: string | null = null
    IsLoading: boolean = false
    Levels: ResourceShareLevel[] = RESOURCE_SHARE_LEVELS
    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.

    Result: EventEmitter<ResourceShareDialogResult> = ...
    UserSearchFilter: string = ''
    UserShares: ResourceSharePermissionModel[] = []
    Visible: boolean = false
    "ɵ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

    • A callback method that is invoked immediately after the default change detector has checked data-bound properties if at least one has changed, and before the view and content children are checked.

      Parameters

      • changes: { [propName: string]: SimpleChange<any> }

        The changed properties.

      Returns void