@memberjunction/ng-explorer-core 2.42.0 → 2.43.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,40 @@
1
+ import { EventEmitter, OnInit } from '@angular/core';
2
+ import { CdkDragDrop } from '@angular/cdk/drag-drop';
3
+ import { DashboardEntity, DashboardUserPreferenceEntity } from '@memberjunction/core-entities';
4
+ import * as i0 from "@angular/core";
5
+ export interface DashboardPreferencesResult {
6
+ saved: boolean;
7
+ preferences?: DashboardUserPreferenceEntity[];
8
+ }
9
+ export declare class DashboardPreferencesDialogComponent implements OnInit {
10
+ applicationId: string | null;
11
+ scope: 'Global' | 'App';
12
+ result: EventEmitter<DashboardPreferencesResult>;
13
+ availableDashboards: DashboardEntity[];
14
+ configuredDashboards: DashboardEntity[];
15
+ applicationName: string;
16
+ loading: boolean;
17
+ saving: boolean;
18
+ error: string | null;
19
+ hasChanges: boolean;
20
+ isSysAdmin: boolean;
21
+ preferenceMode: 'personal' | 'system';
22
+ private originalConfiguredIds;
23
+ private currentUserPreferences;
24
+ private allAvailableDashboards;
25
+ ngOnInit(): Promise<void>;
26
+ private loadData;
27
+ private loadApplicationName;
28
+ private loadCurrentPreferences;
29
+ private splitDashboards;
30
+ onDrop(event: CdkDragDrop<DashboardEntity[]>): void;
31
+ addDashboard(dashboard: DashboardEntity): void;
32
+ removeDashboard(dashboard: DashboardEntity): void;
33
+ onPreferenceModeChange(): Promise<void>;
34
+ private checkForChanges;
35
+ onSave(): Promise<void>;
36
+ onCancel(): void;
37
+ static ɵfac: i0.ɵɵFactoryDeclaration<DashboardPreferencesDialogComponent, never>;
38
+ static ɵcmp: i0.ɵɵComponentDeclaration<DashboardPreferencesDialogComponent, "mj-dashboard-preferences-dialog", never, { "applicationId": { "alias": "applicationId"; "required": false; }; "scope": { "alias": "scope"; "required": false; }; }, { "result": "result"; }, never, never, false, never>;
39
+ }
40
+ //# sourceMappingURL=dashboard-preferences-dialog.component.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dashboard-preferences-dialog.component.d.ts","sourceRoot":"","sources":["../../../src/lib/dashboard-preferences-dialog/dashboard-preferences-dialog.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAA4B,YAAY,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AAC/E,OAAO,EAAE,WAAW,EAAsC,MAAM,wBAAwB,CAAC;AAEzF,OAAO,EAAE,eAAe,EAAE,6BAA6B,EAAqB,MAAM,+BAA+B,CAAC;;AAElH,MAAM,WAAW,0BAA0B;IACzC,KAAK,EAAE,OAAO,CAAC;IACf,WAAW,CAAC,EAAE,6BAA6B,EAAE,CAAC;CAC/C;AAED,qBAKa,mCAAoC,YAAW,MAAM;IAChD,aAAa,EAAE,MAAM,GAAG,IAAI,CAAQ;IACpC,KAAK,EAAE,QAAQ,GAAG,KAAK,CAAY;IAClC,MAAM,2CAAkD;IAElE,mBAAmB,EAAE,eAAe,EAAE,CAAM;IAC5C,oBAAoB,EAAE,eAAe,EAAE,CAAM;IAC7C,eAAe,EAAE,MAAM,CAAM;IAC7B,OAAO,EAAE,OAAO,CAAQ;IACxB,MAAM,EAAE,OAAO,CAAS;IACxB,KAAK,EAAE,MAAM,GAAG,IAAI,CAAQ;IAC5B,UAAU,EAAE,OAAO,CAAS;IAC5B,UAAU,EAAE,OAAO,CAAS;IAC5B,cAAc,EAAE,UAAU,GAAG,QAAQ,CAAc;IAE1D,OAAO,CAAC,qBAAqB,CAAgB;IAC7C,OAAO,CAAC,sBAAsB,CAAuC;IACrE,OAAO,CAAC,sBAAsB,CAAyB;IAEjD,QAAQ,IAAI,OAAO,CAAC,IAAI,CAAC;YAWjB,QAAQ;YA8CR,mBAAmB;YAiBnB,sBAAsB;IAgCpC,OAAO,CAAC,eAAe;IAchB,MAAM,CAAC,KAAK,EAAE,WAAW,CAAC,eAAe,EAAE,CAAC,GAAG,IAAI;IAgCnD,YAAY,CAAC,SAAS,EAAE,eAAe,GAAG,IAAI;IAmB9C,eAAe,CAAC,SAAS,EAAE,eAAe,GAAG,IAAI;IAoB3C,sBAAsB,IAAI,OAAO,CAAC,IAAI,CAAC;IAmBpD,OAAO,CAAC,eAAe;IAoBV,MAAM,IAAI,OAAO,CAAC,IAAI,CAAC;IAqI7B,QAAQ,IAAI,IAAI;yCA9XZ,mCAAmC;2CAAnC,mCAAmC;CAiY/C"}