Member Junction
    Preparing search index...

    Base class for all Angular components in the MemberJunction system.

    Hierarchy (View Summary)

    Implements

    • OnInit
    • OnDestroy
    Index

    Constructors

    Properties

    Accessors

    Methods

    Constructors

    Properties

    addableRecords: AddableRecord[] = []
    addDialogLoading: boolean = false
    addDialogSaving: boolean = false
    addFromViewProgress: number = 0
    addFromViewProgressPercent: number = 0

    Stored percent (0–100) for the progress bar. Backed instead of computed via getter because the original getter recomputed on every Angular CD read and the async save loop mutated addFromViewProgress between the initial check and dev-mode re-check — producing NG0100 ExpressionChangedAfterItHasBeenCheckedError floods in the console. Updated via setAddFromViewProgress(...) at controlled points.

    addFromViewTotal: number = 0
    addOptions: NewItemOption[] = ...
    addProgress: number = 0
    addRecordsSearchFilter: string = ""
    addTotal: number = 0
    bulkStatus: "" | "Active" | "Pending" | "Disabled" | "Complete" | "Rejected" = ''
    capabilities: ListCapabilities = ...
    currentLevel: SharePermissionLevel | null = null
    existingListDetailIds: Set<string> = ...
    exportFields: { DisplayName: string; Name: string; Selected: boolean }[] = []
    exportFormat: "csv" | "json" | "excel" = 'excel'
    exportRecordCount: number = 0
    fetchingRecordsToSave: boolean = false
    gridToolbarConfig: GridToolbarConfig = ...
    isApplyingBulkStatus: boolean = false
    isApplyingMoveCopy: boolean = false
    isApplyingRefresh: boolean = false
    isExporting: boolean = false
    isPreviewingRefresh: boolean = false
    isRemoving: boolean = false
    listDetailGrid: ListDetailGridComponent | undefined
    ListID: string = ""
    listRecord: MJListEntity | null = null
    moveCopyMode: "copy" | "move" = 'move'
    moveCopyProgress: number = 0
    moveCopySelectedTarget: MJListEntity | null = null
    moveCopyTargetCandidates: MJListEntity[] = []
    moveCopyTargetCandidatesLoading: boolean = false
    moveCopyTargetSearch: string = ''
    moveCopyTotal: number = 0
    moveDelta: ListDelta | null = null
    moveDeltaConfirmVisible: boolean = false
    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.

    refreshConfirmVisible: boolean = false
    refreshDelta: ListDelta | null = null
    refreshMode: ListRefreshMode = 'Additive'
    removeProgress: number = 0
    removeTotal: number = 0
    rowCount: number = 0
    selectedKeys: string[] = []
    showAddDropdown: boolean = false
    showAddFromViewDialog: boolean = false
    showAddFromViewLoader: boolean = false
    showAddRecordsDialog: boolean = false
    showExportDialog: boolean = false
    showLoader: boolean = false
    showMoveCopyDialog: boolean = false
    showRemoveDialog: boolean = false
    sourceViewName: string | null = null
    statsRefreshTrigger: number = 0

    Bumped on every list-membership mutation so the Usage stats sidebar re-queries member count / growth / last-activity. Without this nudge, those numbers drift from reality until a full page reload because the stats component otherwise only loads on init.

    userViews: MJUserViewEntityExtended[] | null = null
    userViewsToAdd: MJUserViewEntityExtended[] = []
    "ɵ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

    • Run the export with the user's chosen format + columns. Resolves the list's member RecordIDs from the in-memory grid when possible (avoids an extra RunView), then bulk-loads the underlying entity rows restricted to the chosen Fields. Output is projected to exactly the user's selected columns + ordering.

      Returns Promise<void>

    • 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