The single resource being shared. Ignored when Contexts is supplied.
Several resources to share at once; every action applies to all of them.
ReadonlyLevelsOptional line shown above the dialog body — e.g. what the caller left out.
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.
Singular noun for the title when sharing several ("3 conversations").
StaticɵdirStaticɵfacEvery resource this dialog is operating on.
The first ten matches for the search box, or the first ten people.
Message for the no-results empty-state, echoing the current search term.
The resource whose owner row is shown — only meaningful for a single resource.
Returns either the default Metadata provider or the one specified in the Provider property, if it was specified
Returns either the default RunQuery provider or the one specified in the Provider property, if it was specified
Returns either the default RunView provider or the one specified in the Provider property, if it was specified
Adds a person, to every resource the dialog is sharing.
A level button lights up only when the grant has one level to show.
Highlight grants whose level has been changed from their loaded state.
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.
The changed properties.
Use OnSave.
Loads the people list and every resource's existing shares, merged per person.
Why a grant does not simply read as "everyone, one level": levels that differ across resources, or access held on only some of them.
Sets one level for the person across every resource, filling in any gaps.
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.