@memberjunction/ng-dashboards 2.127.0 → 2.128.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.
- package/dist/DataExplorer/components/view-config-panel/view-config-panel.component.d.ts +3 -3
- package/dist/DataExplorer/components/view-config-panel/view-config-panel.component.d.ts.map +1 -1
- package/dist/DataExplorer/components/view-config-panel/view-config-panel.component.js +50 -19
- package/dist/DataExplorer/components/view-config-panel/view-config-panel.component.js.map +1 -1
- package/dist/DataExplorer/components/view-selector/view-selector.component.d.ts +17 -1
- package/dist/DataExplorer/components/view-selector/view-selector.component.d.ts.map +1 -1
- package/dist/DataExplorer/components/view-selector/view-selector.component.js +77 -45
- package/dist/DataExplorer/components/view-selector/view-selector.component.js.map +1 -1
- package/dist/DataExplorer/data-explorer-dashboard.component.d.ts +34 -0
- package/dist/DataExplorer/data-explorer-dashboard.component.d.ts.map +1 -1
- package/dist/DataExplorer/data-explorer-dashboard.component.js +547 -368
- package/dist/DataExplorer/data-explorer-dashboard.component.js.map +1 -1
- package/dist/module.d.ts +10 -9
- package/dist/module.d.ts.map +1 -1
- package/dist/module.js +4 -0
- package/dist/module.js.map +1 -1
- package/package.json +25 -25
|
@@ -5,7 +5,7 @@ import * as i0 from "@angular/core";
|
|
|
5
5
|
const _forTrack0 = ($index, $item) => $item.id;
|
|
6
6
|
function ViewSelectorComponent_Conditional_1_Template(rf, ctx) { if (rf & 1) {
|
|
7
7
|
const _r1 = i0.ɵɵgetCurrentView();
|
|
8
|
-
i0.ɵɵelementStart(0, "div",
|
|
8
|
+
i0.ɵɵelementStart(0, "div", 16);
|
|
9
9
|
i0.ɵɵlistener("click", function ViewSelectorComponent_Conditional_1_Template_div_click_0_listener() { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.closeDropdown()); });
|
|
10
10
|
i0.ɵɵelementEnd();
|
|
11
11
|
} }
|
|
@@ -15,26 +15,26 @@ function ViewSelectorComponent_Conditional_7_Template(rf, ctx) { if (rf & 1) {
|
|
|
15
15
|
i0.ɵɵelementEnd();
|
|
16
16
|
} }
|
|
17
17
|
function ViewSelectorComponent_Conditional_9_Conditional_5_Template(rf, ctx) { if (rf & 1) {
|
|
18
|
-
i0.ɵɵelement(0, "i",
|
|
18
|
+
i0.ɵɵelement(0, "i", 20);
|
|
19
19
|
} }
|
|
20
20
|
function ViewSelectorComponent_Conditional_9_Conditional_7_For_8_Conditional_4_Template(rf, ctx) { if (rf & 1) {
|
|
21
|
-
i0.ɵɵelement(0, "i",
|
|
21
|
+
i0.ɵɵelement(0, "i", 36);
|
|
22
22
|
} }
|
|
23
23
|
function ViewSelectorComponent_Conditional_9_Conditional_7_For_8_Conditional_5_Template(rf, ctx) { if (rf & 1) {
|
|
24
|
-
i0.ɵɵelement(0, "i",
|
|
24
|
+
i0.ɵɵelement(0, "i", 37);
|
|
25
25
|
} }
|
|
26
26
|
function ViewSelectorComponent_Conditional_9_Conditional_7_For_8_Conditional_6_Template(rf, ctx) { if (rf & 1) {
|
|
27
|
-
i0.ɵɵelement(0, "i",
|
|
27
|
+
i0.ɵɵelement(0, "i", 20);
|
|
28
28
|
} }
|
|
29
29
|
function ViewSelectorComponent_Conditional_9_Conditional_7_For_8_Template(rf, ctx) { if (rf & 1) {
|
|
30
30
|
const _r4 = i0.ɵɵgetCurrentView();
|
|
31
|
-
i0.ɵɵelementStart(0, "div",
|
|
31
|
+
i0.ɵɵelementStart(0, "div", 34);
|
|
32
32
|
i0.ɵɵlistener("click", function ViewSelectorComponent_Conditional_9_Conditional_7_For_8_Template_div_click_0_listener() { const view_r5 = i0.ɵɵrestoreView(_r4).$implicit; const ctx_r1 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r1.selectView(view_r5)); });
|
|
33
|
-
i0.ɵɵelement(1, "i",
|
|
34
|
-
i0.ɵɵelementStart(2, "span",
|
|
33
|
+
i0.ɵɵelement(1, "i", 35);
|
|
34
|
+
i0.ɵɵelementStart(2, "span", 19);
|
|
35
35
|
i0.ɵɵtext(3);
|
|
36
36
|
i0.ɵɵelementEnd();
|
|
37
|
-
i0.ɵɵtemplate(4, ViewSelectorComponent_Conditional_9_Conditional_7_For_8_Conditional_4_Template, 1, 0, "i",
|
|
37
|
+
i0.ɵɵtemplate(4, ViewSelectorComponent_Conditional_9_Conditional_7_For_8_Conditional_4_Template, 1, 0, "i", 36)(5, ViewSelectorComponent_Conditional_9_Conditional_7_For_8_Conditional_5_Template, 1, 0, "i", 37)(6, ViewSelectorComponent_Conditional_9_Conditional_7_For_8_Conditional_6_Template, 1, 0, "i", 20);
|
|
38
38
|
i0.ɵɵelementEnd();
|
|
39
39
|
} if (rf & 2) {
|
|
40
40
|
const view_r5 = ctx.$implicit;
|
|
@@ -50,15 +50,15 @@ function ViewSelectorComponent_Conditional_9_Conditional_7_For_8_Template(rf, ct
|
|
|
50
50
|
i0.ɵɵconditional(ctx_r1.selectedViewId === view_r5.id ? 6 : -1);
|
|
51
51
|
} }
|
|
52
52
|
function ViewSelectorComponent_Conditional_9_Conditional_7_Template(rf, ctx) { if (rf & 1) {
|
|
53
|
-
i0.ɵɵelementStart(0, "div",
|
|
54
|
-
i0.ɵɵelement(2, "i",
|
|
55
|
-
i0.ɵɵelementStart(3, "span",
|
|
53
|
+
i0.ɵɵelementStart(0, "div", 22)(1, "div", 29);
|
|
54
|
+
i0.ɵɵelement(2, "i", 30);
|
|
55
|
+
i0.ɵɵelementStart(3, "span", 31);
|
|
56
56
|
i0.ɵɵtext(4, "My Views");
|
|
57
57
|
i0.ɵɵelementEnd();
|
|
58
|
-
i0.ɵɵelementStart(5, "span",
|
|
58
|
+
i0.ɵɵelementStart(5, "span", 32);
|
|
59
59
|
i0.ɵɵtext(6);
|
|
60
60
|
i0.ɵɵelementEnd()();
|
|
61
|
-
i0.ɵɵrepeaterCreate(7, ViewSelectorComponent_Conditional_9_Conditional_7_For_8_Template, 7, 6, "div",
|
|
61
|
+
i0.ɵɵrepeaterCreate(7, ViewSelectorComponent_Conditional_9_Conditional_7_For_8_Template, 7, 6, "div", 33, _forTrack0);
|
|
62
62
|
i0.ɵɵelementEnd();
|
|
63
63
|
} if (rf & 2) {
|
|
64
64
|
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
@@ -68,20 +68,20 @@ function ViewSelectorComponent_Conditional_9_Conditional_7_Template(rf, ctx) { i
|
|
|
68
68
|
i0.ɵɵrepeater(ctx_r1.myViews);
|
|
69
69
|
} }
|
|
70
70
|
function ViewSelectorComponent_Conditional_9_Conditional_8_For_8_Conditional_4_Template(rf, ctx) { if (rf & 1) {
|
|
71
|
-
i0.ɵɵelement(0, "i",
|
|
71
|
+
i0.ɵɵelement(0, "i", 39);
|
|
72
72
|
} }
|
|
73
73
|
function ViewSelectorComponent_Conditional_9_Conditional_8_For_8_Conditional_5_Template(rf, ctx) { if (rf & 1) {
|
|
74
|
-
i0.ɵɵelement(0, "i",
|
|
74
|
+
i0.ɵɵelement(0, "i", 20);
|
|
75
75
|
} }
|
|
76
76
|
function ViewSelectorComponent_Conditional_9_Conditional_8_For_8_Template(rf, ctx) { if (rf & 1) {
|
|
77
77
|
const _r6 = i0.ɵɵgetCurrentView();
|
|
78
|
-
i0.ɵɵelementStart(0, "div",
|
|
78
|
+
i0.ɵɵelementStart(0, "div", 34);
|
|
79
79
|
i0.ɵɵlistener("click", function ViewSelectorComponent_Conditional_9_Conditional_8_For_8_Template_div_click_0_listener() { const view_r7 = i0.ɵɵrestoreView(_r6).$implicit; const ctx_r1 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r1.selectView(view_r7)); });
|
|
80
|
-
i0.ɵɵelement(1, "i",
|
|
81
|
-
i0.ɵɵelementStart(2, "span",
|
|
80
|
+
i0.ɵɵelement(1, "i", 35);
|
|
81
|
+
i0.ɵɵelementStart(2, "span", 19);
|
|
82
82
|
i0.ɵɵtext(3);
|
|
83
83
|
i0.ɵɵelementEnd();
|
|
84
|
-
i0.ɵɵtemplate(4, ViewSelectorComponent_Conditional_9_Conditional_8_For_8_Conditional_4_Template, 1, 0, "i",
|
|
84
|
+
i0.ɵɵtemplate(4, ViewSelectorComponent_Conditional_9_Conditional_8_For_8_Conditional_4_Template, 1, 0, "i", 39)(5, ViewSelectorComponent_Conditional_9_Conditional_8_For_8_Conditional_5_Template, 1, 0, "i", 20);
|
|
85
85
|
i0.ɵɵelementEnd();
|
|
86
86
|
} if (rf & 2) {
|
|
87
87
|
const view_r7 = ctx.$implicit;
|
|
@@ -95,15 +95,15 @@ function ViewSelectorComponent_Conditional_9_Conditional_8_For_8_Template(rf, ct
|
|
|
95
95
|
i0.ɵɵconditional(ctx_r1.selectedViewId === view_r7.id ? 5 : -1);
|
|
96
96
|
} }
|
|
97
97
|
function ViewSelectorComponent_Conditional_9_Conditional_8_Template(rf, ctx) { if (rf & 1) {
|
|
98
|
-
i0.ɵɵelementStart(0, "div",
|
|
99
|
-
i0.ɵɵelement(2, "i",
|
|
100
|
-
i0.ɵɵelementStart(3, "span",
|
|
98
|
+
i0.ɵɵelementStart(0, "div", 22)(1, "div", 29);
|
|
99
|
+
i0.ɵɵelement(2, "i", 38);
|
|
100
|
+
i0.ɵɵelementStart(3, "span", 31);
|
|
101
101
|
i0.ɵɵtext(4, "Shared Views");
|
|
102
102
|
i0.ɵɵelementEnd();
|
|
103
|
-
i0.ɵɵelementStart(5, "span",
|
|
103
|
+
i0.ɵɵelementStart(5, "span", 32);
|
|
104
104
|
i0.ɵɵtext(6);
|
|
105
105
|
i0.ɵɵelementEnd()();
|
|
106
|
-
i0.ɵɵrepeaterCreate(7, ViewSelectorComponent_Conditional_9_Conditional_8_For_8_Template, 6, 5, "div",
|
|
106
|
+
i0.ɵɵrepeaterCreate(7, ViewSelectorComponent_Conditional_9_Conditional_8_For_8_Template, 6, 5, "div", 33, _forTrack0);
|
|
107
107
|
i0.ɵɵelementEnd();
|
|
108
108
|
} if (rf & 2) {
|
|
109
109
|
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
@@ -113,41 +113,41 @@ function ViewSelectorComponent_Conditional_9_Conditional_8_Template(rf, ctx) { i
|
|
|
113
113
|
i0.ɵɵrepeater(ctx_r1.sharedViews);
|
|
114
114
|
} }
|
|
115
115
|
function ViewSelectorComponent_Conditional_9_Conditional_9_Template(rf, ctx) { if (rf & 1) {
|
|
116
|
-
i0.ɵɵelementStart(0, "div",
|
|
117
|
-
i0.ɵɵelement(1, "i",
|
|
116
|
+
i0.ɵɵelementStart(0, "div", 23);
|
|
117
|
+
i0.ɵɵelement(1, "i", 40);
|
|
118
118
|
i0.ɵɵelementStart(2, "span");
|
|
119
119
|
i0.ɵɵtext(3, "No saved views yet");
|
|
120
120
|
i0.ɵɵelementEnd()();
|
|
121
121
|
} }
|
|
122
122
|
function ViewSelectorComponent_Conditional_9_Conditional_10_Template(rf, ctx) { if (rf & 1) {
|
|
123
|
-
i0.ɵɵelementStart(0, "div",
|
|
124
|
-
i0.ɵɵelement(1, "i",
|
|
123
|
+
i0.ɵɵelementStart(0, "div", 24);
|
|
124
|
+
i0.ɵɵelement(1, "i", 41);
|
|
125
125
|
i0.ɵɵelementStart(2, "span");
|
|
126
126
|
i0.ɵɵtext(3, "Loading views...");
|
|
127
127
|
i0.ɵɵelementEnd()();
|
|
128
128
|
} }
|
|
129
129
|
function ViewSelectorComponent_Conditional_9_Template(rf, ctx) { if (rf & 1) {
|
|
130
130
|
const _r3 = i0.ɵɵgetCurrentView();
|
|
131
|
-
i0.ɵɵelementStart(0, "div", 8)(1, "div",
|
|
131
|
+
i0.ɵɵelementStart(0, "div", 8)(1, "div", 17);
|
|
132
132
|
i0.ɵɵlistener("click", function ViewSelectorComponent_Conditional_9_Template_div_click_1_listener() { i0.ɵɵrestoreView(_r3); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.selectDefault()); });
|
|
133
|
-
i0.ɵɵelement(2, "i",
|
|
134
|
-
i0.ɵɵelementStart(3, "span",
|
|
133
|
+
i0.ɵɵelement(2, "i", 18);
|
|
134
|
+
i0.ɵɵelementStart(3, "span", 19);
|
|
135
135
|
i0.ɵɵtext(4, "(Default)");
|
|
136
136
|
i0.ɵɵelementEnd();
|
|
137
|
-
i0.ɵɵtemplate(5, ViewSelectorComponent_Conditional_9_Conditional_5_Template, 1, 0, "i",
|
|
137
|
+
i0.ɵɵtemplate(5, ViewSelectorComponent_Conditional_9_Conditional_5_Template, 1, 0, "i", 20);
|
|
138
138
|
i0.ɵɵelementEnd();
|
|
139
|
-
i0.ɵɵelement(6, "div",
|
|
140
|
-
i0.ɵɵtemplate(7, ViewSelectorComponent_Conditional_9_Conditional_7_Template, 9, 1, "div",
|
|
141
|
-
i0.ɵɵelement(11, "div",
|
|
142
|
-
i0.ɵɵelementStart(12, "div",
|
|
139
|
+
i0.ɵɵelement(6, "div", 21);
|
|
140
|
+
i0.ɵɵtemplate(7, ViewSelectorComponent_Conditional_9_Conditional_7_Template, 9, 1, "div", 22)(8, ViewSelectorComponent_Conditional_9_Conditional_8_Template, 9, 1, "div", 22)(9, ViewSelectorComponent_Conditional_9_Conditional_9_Template, 4, 0, "div", 23)(10, ViewSelectorComponent_Conditional_9_Conditional_10_Template, 4, 0, "div", 24);
|
|
141
|
+
i0.ɵɵelement(11, "div", 21);
|
|
142
|
+
i0.ɵɵelementStart(12, "div", 25)(13, "button", 26);
|
|
143
143
|
i0.ɵɵlistener("click", function ViewSelectorComponent_Conditional_9_Template_button_click_13_listener() { i0.ɵɵrestoreView(_r3); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.onSaveView()); });
|
|
144
|
-
i0.ɵɵelement(14, "i",
|
|
144
|
+
i0.ɵɵelement(14, "i", 27);
|
|
145
145
|
i0.ɵɵelementStart(15, "span");
|
|
146
146
|
i0.ɵɵtext(16, "Save View");
|
|
147
147
|
i0.ɵɵelementEnd()();
|
|
148
|
-
i0.ɵɵelementStart(17, "button",
|
|
148
|
+
i0.ɵɵelementStart(17, "button", 28);
|
|
149
149
|
i0.ɵɵlistener("click", function ViewSelectorComponent_Conditional_9_Template_button_click_17_listener() { i0.ɵɵrestoreView(_r3); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.onSaveAsNewView()); });
|
|
150
|
-
i0.ɵɵelement(18, "i",
|
|
150
|
+
i0.ɵɵelement(18, "i", 13);
|
|
151
151
|
i0.ɵɵelementStart(19, "span");
|
|
152
152
|
i0.ɵɵtext(20, "Save As New");
|
|
153
153
|
i0.ɵɵelementEnd()()()();
|
|
@@ -170,9 +170,9 @@ function ViewSelectorComponent_Conditional_9_Template(rf, ctx) { if (rf & 1) {
|
|
|
170
170
|
} }
|
|
171
171
|
function ViewSelectorComponent_Conditional_10_Template(rf, ctx) { if (rf & 1) {
|
|
172
172
|
const _r8 = i0.ɵɵgetCurrentView();
|
|
173
|
-
i0.ɵɵelementStart(0, "button",
|
|
173
|
+
i0.ɵɵelementStart(0, "button", 42);
|
|
174
174
|
i0.ɵɵlistener("click", function ViewSelectorComponent_Conditional_10_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r8); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.onOpenInTab()); });
|
|
175
|
-
i0.ɵɵelement(1, "i",
|
|
175
|
+
i0.ɵɵelement(1, "i", 43);
|
|
176
176
|
i0.ɵɵelementEnd();
|
|
177
177
|
} }
|
|
178
178
|
/**
|
|
@@ -218,6 +218,14 @@ export class ViewSelectorComponent {
|
|
|
218
218
|
* Emitted when user wants to configure the current view
|
|
219
219
|
*/
|
|
220
220
|
configureViewRequested = new EventEmitter();
|
|
221
|
+
/**
|
|
222
|
+
* Emitted when user wants to create a new record
|
|
223
|
+
*/
|
|
224
|
+
createNewRecordRequested = new EventEmitter();
|
|
225
|
+
/**
|
|
226
|
+
* Emitted when user wants to export data to Excel
|
|
227
|
+
*/
|
|
228
|
+
exportRequested = new EventEmitter();
|
|
221
229
|
// Internal state
|
|
222
230
|
isLoading = false;
|
|
223
231
|
isDropdownOpen = false;
|
|
@@ -400,6 +408,18 @@ export class ViewSelectorComponent {
|
|
|
400
408
|
onConfigureView() {
|
|
401
409
|
this.configureViewRequested.emit();
|
|
402
410
|
}
|
|
411
|
+
/**
|
|
412
|
+
* Request to create a new record
|
|
413
|
+
*/
|
|
414
|
+
onCreateNewRecord() {
|
|
415
|
+
this.createNewRecordRequested.emit();
|
|
416
|
+
}
|
|
417
|
+
/**
|
|
418
|
+
* Request to export data to Excel
|
|
419
|
+
*/
|
|
420
|
+
onExport() {
|
|
421
|
+
this.exportRequested.emit();
|
|
422
|
+
}
|
|
403
423
|
/**
|
|
404
424
|
* Check if there are any views to show
|
|
405
425
|
*/
|
|
@@ -419,7 +439,7 @@ export class ViewSelectorComponent {
|
|
|
419
439
|
this.closeDropdown();
|
|
420
440
|
}
|
|
421
441
|
static ɵfac = function ViewSelectorComponent_Factory(t) { return new (t || ViewSelectorComponent)(i0.ɵɵdirectiveInject(i0.ChangeDetectorRef)); };
|
|
422
|
-
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ViewSelectorComponent, selectors: [["mj-view-selector"]], inputs: { entity: "entity", selectedViewId: "selectedViewId", viewModified: "viewModified" }, outputs: { viewSelected: "viewSelected", saveViewRequested: "saveViewRequested", manageViewsRequested: "manageViewsRequested", openInTabRequested: "openInTabRequested", configureViewRequested: "configureViewRequested" }, features: [i0.ɵɵNgOnChangesFeature], decls:
|
|
442
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ViewSelectorComponent, selectors: [["mj-view-selector"]], inputs: { entity: "entity", selectedViewId: "selectedViewId", viewModified: "viewModified" }, outputs: { viewSelected: "viewSelected", saveViewRequested: "saveViewRequested", manageViewsRequested: "manageViewsRequested", openInTabRequested: "openInTabRequested", configureViewRequested: "configureViewRequested", createNewRecordRequested: "createNewRecordRequested", exportRequested: "exportRequested" }, features: [i0.ɵɵNgOnChangesFeature], decls: 17, vars: 12, consts: [[1, "view-selector-container"], [1, "dropdown-backdrop"], [1, "view-selector-wrapper"], ["title", "Select a saved view", 1, "view-selector-button", 3, "click", "disabled"], [1, "fa-solid", "fa-layer-group", "view-icon"], [1, "view-name"], ["title", "View has unsaved changes", 1, "modified-indicator"], [1, "fa-solid", "fa-chevron-down", "dropdown-arrow"], [1, "dropdown-panel"], ["title", "Open this view in a new tab", 1, "open-in-tab-button"], ["title", "Configure view settings (columns, filters, sorting)", 1, "configure-view-button", 3, "click"], [1, "fa-solid", "fa-sliders-h"], ["title", "Create new record", 1, "create-record-button", 3, "click"], [1, "fa-solid", "fa-plus"], ["title", "Export to Excel", 1, "export-button", 3, "click"], [1, "fa-solid", "fa-file-excel"], [1, "dropdown-backdrop", 3, "click"], [1, "dropdown-item", "default-option", 3, "click"], [1, "fa-solid", "fa-table", "item-icon"], [1, "item-name"], [1, "fa-solid", "fa-check", "selected-check"], [1, "dropdown-divider"], [1, "dropdown-section"], [1, "empty-views-message"], [1, "loading-views"], [1, "dropdown-actions"], ["title", "Save current configuration", 1, "action-button", 3, "click", "disabled"], [1, "fa-solid", "fa-save"], ["title", "Save as a new view", 1, "action-button", 3, "click"], [1, "section-header"], [1, "fa-solid", "fa-user", "section-icon"], [1, "section-title"], [1, "section-count"], [1, "dropdown-item", "view-item", 3, "selected"], [1, "dropdown-item", "view-item", 3, "click"], [1, "fa-solid", "fa-layer-group", "item-icon"], ["title", "Shared with others", 1, "fa-solid", "fa-share-alt", "shared-indicator"], ["title", "Default view for this entity", 1, "fa-solid", "fa-star", "default-indicator"], [1, "fa-solid", "fa-users", "section-icon"], ["title", "View-only access", 1, "fa-solid", "fa-lock", "readonly-indicator"], [1, "fa-solid", "fa-info-circle"], [1, "fa-solid", "fa-spinner", "fa-spin"], ["title", "Open this view in a new tab", 1, "open-in-tab-button", 3, "click"], [1, "fa-solid", "fa-external-link-alt"]], template: function ViewSelectorComponent_Template(rf, ctx) { if (rf & 1) {
|
|
423
443
|
i0.ɵɵelementStart(0, "div", 0);
|
|
424
444
|
i0.ɵɵtemplate(1, ViewSelectorComponent_Conditional_1_Template, 1, 0, "div", 1);
|
|
425
445
|
i0.ɵɵelementStart(2, "div", 2)(3, "button", 3);
|
|
@@ -437,6 +457,14 @@ export class ViewSelectorComponent {
|
|
|
437
457
|
i0.ɵɵelementStart(11, "button", 10);
|
|
438
458
|
i0.ɵɵlistener("click", function ViewSelectorComponent_Template_button_click_11_listener() { return ctx.onConfigureView(); });
|
|
439
459
|
i0.ɵɵelement(12, "i", 11);
|
|
460
|
+
i0.ɵɵelementEnd();
|
|
461
|
+
i0.ɵɵelementStart(13, "button", 12);
|
|
462
|
+
i0.ɵɵlistener("click", function ViewSelectorComponent_Template_button_click_13_listener() { return ctx.onCreateNewRecord(); });
|
|
463
|
+
i0.ɵɵelement(14, "i", 13);
|
|
464
|
+
i0.ɵɵelementEnd();
|
|
465
|
+
i0.ɵɵelementStart(15, "button", 14);
|
|
466
|
+
i0.ɵɵlistener("click", function ViewSelectorComponent_Template_button_click_15_listener() { return ctx.onExport(); });
|
|
467
|
+
i0.ɵɵelement(16, "i", 15);
|
|
440
468
|
i0.ɵɵelementEnd()();
|
|
441
469
|
} if (rf & 2) {
|
|
442
470
|
i0.ɵɵadvance();
|
|
@@ -454,11 +482,11 @@ export class ViewSelectorComponent {
|
|
|
454
482
|
i0.ɵɵconditional(ctx.isDropdownOpen ? 9 : -1);
|
|
455
483
|
i0.ɵɵadvance();
|
|
456
484
|
i0.ɵɵconditional(ctx.selectedViewId ? 10 : -1);
|
|
457
|
-
} }, styles: ["\n\n.view-selector-container[_ngcontent-%COMP%] {\n display: flex;\n align-items: center;\n gap: 4px;\n position: relative;\n}\n\n\n\n.dropdown-backdrop[_ngcontent-%COMP%] {\n position: fixed;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n z-index: 999;\n background: transparent;\n}\n\n.view-selector-wrapper[_ngcontent-%COMP%] {\n position: relative;\n}\n\n\n\n.view-selector-button[_ngcontent-%COMP%] {\n display: flex;\n align-items: center;\n gap: 8px;\n padding: 6px 12px;\n background: var(--background-alt, #f5f5f5);\n border: 1px solid var(--border-color, #e0e0e0);\n border-radius: 6px;\n cursor: pointer;\n font-size: 13px;\n color: var(--text-primary, #333);\n transition: all 0.15s ease;\n min-width: 140px;\n max-width: 280px;\n}\n\n.view-selector-button[_ngcontent-%COMP%]:hover {\n background: var(--background-hover, #e8e8e8);\n border-color: var(--border-color-hover, #ccc);\n}\n\n.view-selector-button[_ngcontent-%COMP%]:disabled {\n opacity: 0.6;\n cursor: not-allowed;\n}\n\n.view-selector-button.open[_ngcontent-%COMP%] {\n background: var(--background-active, #e0e0e0);\n border-color: var(--primary-color, #007bff);\n}\n\n.view-selector-button.modified[_ngcontent-%COMP%] {\n border-color: var(--warning-color, #f59e0b);\n}\n\n.view-icon[_ngcontent-%COMP%] {\n color: var(--text-secondary, #666);\n font-size: 12px;\n}\n\n.view-name[_ngcontent-%COMP%] {\n flex: 1;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n text-align: left;\n}\n\n.modified-indicator[_ngcontent-%COMP%] {\n color: var(--warning-color, #f59e0b);\n font-weight: bold;\n font-size: 18px;\n line-height: 1;\n}\n\n.dropdown-arrow[_ngcontent-%COMP%] {\n color: var(--text-secondary, #666);\n font-size: 10px;\n transition: transform 0.2s ease;\n}\n\n.dropdown-arrow.rotated[_ngcontent-%COMP%] {\n transform: rotate(180deg);\n}\n\n\n\n.dropdown-panel[_ngcontent-%COMP%] {\n position: absolute;\n top: calc(100% + 4px);\n left: 0;\n min-width: 280px;\n max-width: 360px;\n max-height: 400px;\n overflow-y: auto;\n background: var(--background-panel, #fff);\n border: 1px solid var(--border-color, #e0e0e0);\n border-radius: 8px;\n box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);\n z-index: 1000;\n}\n\n\n\n.dropdown-item[_ngcontent-%COMP%] {\n display: flex;\n align-items: center;\n gap: 10px;\n padding: 10px 14px;\n cursor: pointer;\n transition: background 0.1s ease;\n}\n\n.dropdown-item[_ngcontent-%COMP%]:hover {\n background: var(--background-hover, #f5f5f5);\n}\n\n.dropdown-item.selected[_ngcontent-%COMP%] {\n background: var(--primary-light, #e6f0ff);\n}\n\n.dropdown-item.selected[_ngcontent-%COMP%]:hover {\n background: var(--primary-light-hover, #d6e4f9);\n}\n\n.default-option[_ngcontent-%COMP%] {\n font-weight: 500;\n}\n\n.item-icon[_ngcontent-%COMP%] {\n color: var(--text-secondary, #666);\n font-size: 13px;\n width: 16px;\n text-align: center;\n}\n\n.item-name[_ngcontent-%COMP%] {\n flex: 1;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n font-size: 13px;\n}\n\n.shared-indicator[_ngcontent-%COMP%], \n.default-indicator[_ngcontent-%COMP%], \n.readonly-indicator[_ngcontent-%COMP%] {\n color: var(--text-tertiary, #999);\n font-size: 11px;\n}\n\n.default-indicator[_ngcontent-%COMP%] {\n color: var(--warning-color, #f59e0b);\n}\n\n.selected-check[_ngcontent-%COMP%] {\n color: var(--primary-color, #007bff);\n font-size: 12px;\n}\n\n\n\n.dropdown-section[_ngcontent-%COMP%] {\n padding: 4px 0;\n}\n\n.section-header[_ngcontent-%COMP%] {\n display: flex;\n align-items: center;\n gap: 8px;\n padding: 8px 14px 6px;\n font-size: 11px;\n font-weight: 600;\n color: var(--text-tertiary, #999);\n text-transform: uppercase;\n letter-spacing: 0.5px;\n}\n\n.section-icon[_ngcontent-%COMP%] {\n font-size: 10px;\n}\n\n.section-title[_ngcontent-%COMP%] {\n flex: 1;\n}\n\n.section-count[_ngcontent-%COMP%] {\n background: var(--background-alt, #f0f0f0);\n padding: 2px 6px;\n border-radius: 10px;\n font-size: 10px;\n}\n\n\n\n.dropdown-divider[_ngcontent-%COMP%] {\n height: 1px;\n background: var(--border-color-light, #eee);\n margin: 4px 0;\n}\n\n\n\n.empty-views-message[_ngcontent-%COMP%], \n.loading-views[_ngcontent-%COMP%] {\n display: flex;\n align-items: center;\n justify-content: center;\n gap: 8px;\n padding: 20px;\n color: var(--text-tertiary, #999);\n font-size: 13px;\n}\n\n\n\n.dropdown-actions[_ngcontent-%COMP%] {\n display: flex;\n gap: 8px;\n padding: 10px 14px;\n}\n\n.action-button[_ngcontent-%COMP%] {\n flex: 1;\n display: flex;\n align-items: center;\n justify-content: center;\n gap: 6px;\n padding: 8px 12px;\n background: var(--background-alt, #f5f5f5);\n border: 1px solid var(--border-color, #e0e0e0);\n border-radius: 6px;\n cursor: pointer;\n font-size: 12px;\n color: var(--text-primary, #333);\n transition: all 0.15s ease;\n}\n\n.action-button[_ngcontent-%COMP%]:hover:not(:disabled) {\n background: var(--background-hover, #e8e8e8);\n border-color: var(--border-color-hover, #ccc);\n}\n\n.action-button[_ngcontent-%COMP%]:disabled {\n opacity: 0.5;\n cursor: not-allowed;\n}\n\n.action-button[_ngcontent-%COMP%] i[_ngcontent-%COMP%] {\n font-size: 11px;\n}\n\n\n\n.open-in-tab-button[_ngcontent-%COMP%], \n.configure-view-button[_ngcontent-%COMP%] {\n display: flex;\n align-items: center;\n justify-content: center;\n width: 32px;\n height: 32px;\n background: var(--background-alt, #f5f5f5);\n border: 1px solid var(--border-color, #e0e0e0);\n border-radius: 6px;\n cursor: pointer;\n color: var(--text-secondary, #666);\n transition: all 0.15s ease;\n}\n\n.open-in-tab-button[_ngcontent-%COMP%]:hover, \n.configure-view-button[_ngcontent-%COMP%]:hover {\n background: var(--background-hover, #e8e8e8);\n border-color: var(--border-color-hover, #ccc);\n color: var(--primary-color, #007bff);\n}\n\n.open-in-tab-button[_ngcontent-%COMP%] i[_ngcontent-%COMP%], \n.configure-view-button[_ngcontent-%COMP%] i[_ngcontent-%COMP%] {\n font-size: 12px;\n}\n\n\n\n@media (max-width: 768px) {\n .view-selector-button[_ngcontent-%COMP%] {\n min-width: 100px;\n max-width: 180px;\n padding: 6px 10px;\n }\n\n .dropdown-panel[_ngcontent-%COMP%] {\n min-width: 240px;\n max-width: calc(100vw - 32px);\n }\n\n .dropdown-actions[_ngcontent-%COMP%] {\n flex-direction: column;\n }\n}"] });
|
|
485
|
+
} }, styles: ["\n\n.view-selector-container[_ngcontent-%COMP%] {\n display: flex;\n align-items: center;\n gap: 4px;\n position: relative;\n}\n\n\n\n.dropdown-backdrop[_ngcontent-%COMP%] {\n position: fixed;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n z-index: 999;\n background: transparent;\n}\n\n.view-selector-wrapper[_ngcontent-%COMP%] {\n position: relative;\n}\n\n\n\n.view-selector-button[_ngcontent-%COMP%] {\n display: flex;\n align-items: center;\n gap: 8px;\n padding: 6px 12px;\n background: var(--background-alt, #f5f5f5);\n border: 1px solid var(--border-color, #e0e0e0);\n border-radius: 6px;\n cursor: pointer;\n font-size: 13px;\n color: var(--text-primary, #333);\n transition: all 0.15s ease;\n min-width: 140px;\n max-width: 280px;\n}\n\n.view-selector-button[_ngcontent-%COMP%]:hover {\n background: var(--background-hover, #e8e8e8);\n border-color: var(--border-color-hover, #ccc);\n}\n\n.view-selector-button[_ngcontent-%COMP%]:disabled {\n opacity: 0.6;\n cursor: not-allowed;\n}\n\n.view-selector-button.open[_ngcontent-%COMP%] {\n background: var(--background-active, #e0e0e0);\n border-color: var(--primary-color, #007bff);\n}\n\n.view-selector-button.modified[_ngcontent-%COMP%] {\n border-color: var(--warning-color, #f59e0b);\n}\n\n.view-icon[_ngcontent-%COMP%] {\n color: var(--text-secondary, #666);\n font-size: 12px;\n}\n\n.view-name[_ngcontent-%COMP%] {\n flex: 1;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n text-align: left;\n}\n\n.modified-indicator[_ngcontent-%COMP%] {\n color: var(--warning-color, #f59e0b);\n font-weight: bold;\n font-size: 18px;\n line-height: 1;\n}\n\n.dropdown-arrow[_ngcontent-%COMP%] {\n color: var(--text-secondary, #666);\n font-size: 10px;\n transition: transform 0.2s ease;\n}\n\n.dropdown-arrow.rotated[_ngcontent-%COMP%] {\n transform: rotate(180deg);\n}\n\n\n\n.dropdown-panel[_ngcontent-%COMP%] {\n position: absolute;\n top: calc(100% + 4px);\n left: 0;\n min-width: 280px;\n max-width: 360px;\n max-height: 400px;\n overflow-y: auto;\n background: var(--background-panel, #fff);\n border: 1px solid var(--border-color, #e0e0e0);\n border-radius: 8px;\n box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);\n z-index: 1000;\n}\n\n\n\n.dropdown-item[_ngcontent-%COMP%] {\n display: flex;\n align-items: center;\n gap: 10px;\n padding: 10px 14px;\n cursor: pointer;\n transition: background 0.1s ease;\n}\n\n.dropdown-item[_ngcontent-%COMP%]:hover {\n background: var(--background-hover, #f5f5f5);\n}\n\n.dropdown-item.selected[_ngcontent-%COMP%] {\n background: var(--primary-light, #e6f0ff);\n}\n\n.dropdown-item.selected[_ngcontent-%COMP%]:hover {\n background: var(--primary-light-hover, #d6e4f9);\n}\n\n.default-option[_ngcontent-%COMP%] {\n font-weight: 500;\n}\n\n.item-icon[_ngcontent-%COMP%] {\n color: var(--text-secondary, #666);\n font-size: 13px;\n width: 16px;\n text-align: center;\n}\n\n.item-name[_ngcontent-%COMP%] {\n flex: 1;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n font-size: 13px;\n}\n\n.shared-indicator[_ngcontent-%COMP%], \n.default-indicator[_ngcontent-%COMP%], \n.readonly-indicator[_ngcontent-%COMP%] {\n color: var(--text-tertiary, #999);\n font-size: 11px;\n}\n\n.default-indicator[_ngcontent-%COMP%] {\n color: var(--warning-color, #f59e0b);\n}\n\n.selected-check[_ngcontent-%COMP%] {\n color: var(--primary-color, #007bff);\n font-size: 12px;\n}\n\n\n\n.dropdown-section[_ngcontent-%COMP%] {\n padding: 4px 0;\n}\n\n.section-header[_ngcontent-%COMP%] {\n display: flex;\n align-items: center;\n gap: 8px;\n padding: 8px 14px 6px;\n font-size: 11px;\n font-weight: 600;\n color: var(--text-tertiary, #999);\n text-transform: uppercase;\n letter-spacing: 0.5px;\n}\n\n.section-icon[_ngcontent-%COMP%] {\n font-size: 10px;\n}\n\n.section-title[_ngcontent-%COMP%] {\n flex: 1;\n}\n\n.section-count[_ngcontent-%COMP%] {\n background: var(--background-alt, #f0f0f0);\n padding: 2px 6px;\n border-radius: 10px;\n font-size: 10px;\n}\n\n\n\n.dropdown-divider[_ngcontent-%COMP%] {\n height: 1px;\n background: var(--border-color-light, #eee);\n margin: 4px 0;\n}\n\n\n\n.empty-views-message[_ngcontent-%COMP%], \n.loading-views[_ngcontent-%COMP%] {\n display: flex;\n align-items: center;\n justify-content: center;\n gap: 8px;\n padding: 20px;\n color: var(--text-tertiary, #999);\n font-size: 13px;\n}\n\n\n\n.dropdown-actions[_ngcontent-%COMP%] {\n display: flex;\n gap: 8px;\n padding: 10px 14px;\n}\n\n.action-button[_ngcontent-%COMP%] {\n flex: 1;\n display: flex;\n align-items: center;\n justify-content: center;\n gap: 6px;\n padding: 8px 12px;\n background: var(--background-alt, #f5f5f5);\n border: 1px solid var(--border-color, #e0e0e0);\n border-radius: 6px;\n cursor: pointer;\n font-size: 12px;\n color: var(--text-primary, #333);\n transition: all 0.15s ease;\n}\n\n.action-button[_ngcontent-%COMP%]:hover:not(:disabled) {\n background: var(--background-hover, #e8e8e8);\n border-color: var(--border-color-hover, #ccc);\n}\n\n.action-button[_ngcontent-%COMP%]:disabled {\n opacity: 0.5;\n cursor: not-allowed;\n}\n\n.action-button[_ngcontent-%COMP%] i[_ngcontent-%COMP%] {\n font-size: 11px;\n}\n\n\n\n.open-in-tab-button[_ngcontent-%COMP%], \n.configure-view-button[_ngcontent-%COMP%], \n.create-record-button[_ngcontent-%COMP%], \n.export-button[_ngcontent-%COMP%] {\n display: flex;\n align-items: center;\n justify-content: center;\n width: 32px;\n height: 32px;\n background: var(--background-alt, #f5f5f5);\n border: 1px solid var(--border-color, #e0e0e0);\n border-radius: 6px;\n cursor: pointer;\n color: var(--text-secondary, #666);\n transition: all 0.15s ease;\n}\n\n.open-in-tab-button[_ngcontent-%COMP%]:hover, \n.configure-view-button[_ngcontent-%COMP%]:hover, \n.create-record-button[_ngcontent-%COMP%]:hover, \n.export-button[_ngcontent-%COMP%]:hover {\n background: var(--background-hover, #e8e8e8);\n border-color: var(--border-color-hover, #ccc);\n color: var(--primary-color, #007bff);\n}\n\n.open-in-tab-button[_ngcontent-%COMP%] i[_ngcontent-%COMP%], \n.configure-view-button[_ngcontent-%COMP%] i[_ngcontent-%COMP%], \n.create-record-button[_ngcontent-%COMP%] i[_ngcontent-%COMP%], \n.export-button[_ngcontent-%COMP%] i[_ngcontent-%COMP%] {\n font-size: 12px;\n}\n\n\n\n.export-button[_ngcontent-%COMP%]:hover {\n color: #217346; \n\n}\n\n\n\n@media (max-width: 768px) {\n .view-selector-button[_ngcontent-%COMP%] {\n min-width: 100px;\n max-width: 180px;\n padding: 6px 10px;\n }\n\n .dropdown-panel[_ngcontent-%COMP%] {\n min-width: 240px;\n max-width: calc(100vw - 32px);\n }\n\n .dropdown-actions[_ngcontent-%COMP%] {\n flex-direction: column;\n }\n}"] });
|
|
458
486
|
}
|
|
459
487
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ViewSelectorComponent, [{
|
|
460
488
|
type: Component,
|
|
461
|
-
args: [{ selector: 'mj-view-selector', template: "<div class=\"view-selector-container\">\n <!-- Backdrop for closing dropdown -->\n @if (isDropdownOpen) {\n <div class=\"dropdown-backdrop\" (click)=\"closeDropdown()\"></div>\n }\n\n <!-- Main View Selector Button -->\n <div class=\"view-selector-wrapper\">\n <button\n class=\"view-selector-button\"\n [class.modified]=\"viewModified\"\n [class.open]=\"isDropdownOpen\"\n (click)=\"toggleDropdown()\"\n [disabled]=\"isLoading\"\n title=\"Select a saved view\">\n <i class=\"fa-solid fa-layer-group view-icon\"></i>\n <span class=\"view-name\">{{ displayName }}</span>\n @if (viewModified) {\n <span class=\"modified-indicator\" title=\"View has unsaved changes\">\u2022</span>\n }\n <i class=\"fa-solid fa-chevron-down dropdown-arrow\" [class.rotated]=\"isDropdownOpen\"></i>\n </button>\n\n <!-- Dropdown Panel -->\n @if (isDropdownOpen) {\n <div class=\"dropdown-panel\">\n <!-- Default Option -->\n <div\n class=\"dropdown-item default-option\"\n [class.selected]=\"!selectedViewId\"\n (click)=\"selectDefault()\">\n <i class=\"fa-solid fa-table item-icon\"></i>\n <span class=\"item-name\">(Default)</span>\n @if (!selectedViewId) {\n <i class=\"fa-solid fa-check selected-check\"></i>\n }\n </div>\n\n <div class=\"dropdown-divider\"></div>\n\n <!-- My Views Section -->\n @if (myViews.length > 0) {\n <div class=\"dropdown-section\">\n <div class=\"section-header\">\n <i class=\"fa-solid fa-user section-icon\"></i>\n <span class=\"section-title\">My Views</span>\n <span class=\"section-count\">{{ myViews.length }}</span>\n </div>\n @for (view of myViews; track view.id) {\n <div\n class=\"dropdown-item view-item\"\n [class.selected]=\"selectedViewId === view.id\"\n (click)=\"selectView(view)\">\n <i class=\"fa-solid fa-layer-group item-icon\"></i>\n <span class=\"item-name\">{{ view.name }}</span>\n @if (view.isShared) {\n <i class=\"fa-solid fa-share-alt shared-indicator\" title=\"Shared with others\"></i>\n }\n @if (view.isDefault) {\n <i class=\"fa-solid fa-star default-indicator\" title=\"Default view for this entity\"></i>\n }\n @if (selectedViewId === view.id) {\n <i class=\"fa-solid fa-check selected-check\"></i>\n }\n </div>\n }\n </div>\n }\n\n <!-- Shared Views Section -->\n @if (sharedViews.length > 0) {\n <div class=\"dropdown-section\">\n <div class=\"section-header\">\n <i class=\"fa-solid fa-users section-icon\"></i>\n <span class=\"section-title\">Shared Views</span>\n <span class=\"section-count\">{{ sharedViews.length }}</span>\n </div>\n @for (view of sharedViews; track view.id) {\n <div\n class=\"dropdown-item view-item\"\n [class.selected]=\"selectedViewId === view.id\"\n (click)=\"selectView(view)\">\n <i class=\"fa-solid fa-layer-group item-icon\"></i>\n <span class=\"item-name\">{{ view.name }}</span>\n @if (!view.userCanEdit) {\n <i class=\"fa-solid fa-lock readonly-indicator\" title=\"View-only access\"></i>\n }\n @if (selectedViewId === view.id) {\n <i class=\"fa-solid fa-check selected-check\"></i>\n }\n </div>\n }\n </div>\n }\n\n <!-- No Views Message -->\n @if (!hasViews && !isLoading) {\n <div class=\"empty-views-message\">\n <i class=\"fa-solid fa-info-circle\"></i>\n <span>No saved views yet</span>\n </div>\n }\n\n <!-- Loading Indicator -->\n @if (isLoading) {\n <div class=\"loading-views\">\n <i class=\"fa-solid fa-spinner fa-spin\"></i>\n <span>Loading views...</span>\n </div>\n }\n\n <div class=\"dropdown-divider\"></div>\n\n <!-- Actions Section -->\n <div class=\"dropdown-actions\">\n <button\n class=\"action-button\"\n (click)=\"onSaveView()\"\n [disabled]=\"!viewModified && !selectedViewId\"\n title=\"Save current configuration\">\n <i class=\"fa-solid fa-save\"></i>\n <span>Save View</span>\n </button>\n <button\n class=\"action-button\"\n (click)=\"onSaveAsNewView()\"\n title=\"Save as a new view\">\n <i class=\"fa-solid fa-plus\"></i>\n <span>Save As New</span>\n </button>\n </div>\n </div>\n }\n </div>\n\n <!-- Open in Tab Button (only visible when a view is selected) -->\n @if (selectedViewId) {\n <button\n class=\"open-in-tab-button\"\n (click)=\"onOpenInTab()\"\n title=\"Open this view in a new tab\">\n <i class=\"fa-solid fa-external-link-alt\"></i>\n </button>\n }\n\n <!-- Configure View Button -->\n <button\n class=\"configure-view-button\"\n (click)=\"onConfigureView()\"\n title=\"Configure view settings (columns, filters, sorting)\">\n <i class=\"fa-solid fa-sliders-h\"></i>\n </button>\n</div>\n", styles: ["/* View Selector Container */\n.view-selector-container {\n display: flex;\n align-items: center;\n gap: 4px;\n position: relative;\n}\n\n/* Backdrop for closing dropdown */\n.dropdown-backdrop {\n position: fixed;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n z-index: 999;\n background: transparent;\n}\n\n.view-selector-wrapper {\n position: relative;\n}\n\n/* Main Button */\n.view-selector-button {\n display: flex;\n align-items: center;\n gap: 8px;\n padding: 6px 12px;\n background: var(--background-alt, #f5f5f5);\n border: 1px solid var(--border-color, #e0e0e0);\n border-radius: 6px;\n cursor: pointer;\n font-size: 13px;\n color: var(--text-primary, #333);\n transition: all 0.15s ease;\n min-width: 140px;\n max-width: 280px;\n}\n\n.view-selector-button:hover {\n background: var(--background-hover, #e8e8e8);\n border-color: var(--border-color-hover, #ccc);\n}\n\n.view-selector-button:disabled {\n opacity: 0.6;\n cursor: not-allowed;\n}\n\n.view-selector-button.open {\n background: var(--background-active, #e0e0e0);\n border-color: var(--primary-color, #007bff);\n}\n\n.view-selector-button.modified {\n border-color: var(--warning-color, #f59e0b);\n}\n\n.view-icon {\n color: var(--text-secondary, #666);\n font-size: 12px;\n}\n\n.view-name {\n flex: 1;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n text-align: left;\n}\n\n.modified-indicator {\n color: var(--warning-color, #f59e0b);\n font-weight: bold;\n font-size: 18px;\n line-height: 1;\n}\n\n.dropdown-arrow {\n color: var(--text-secondary, #666);\n font-size: 10px;\n transition: transform 0.2s ease;\n}\n\n.dropdown-arrow.rotated {\n transform: rotate(180deg);\n}\n\n/* Dropdown Panel */\n.dropdown-panel {\n position: absolute;\n top: calc(100% + 4px);\n left: 0;\n min-width: 280px;\n max-width: 360px;\n max-height: 400px;\n overflow-y: auto;\n background: var(--background-panel, #fff);\n border: 1px solid var(--border-color, #e0e0e0);\n border-radius: 8px;\n box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);\n z-index: 1000;\n}\n\n/* Dropdown Items */\n.dropdown-item {\n display: flex;\n align-items: center;\n gap: 10px;\n padding: 10px 14px;\n cursor: pointer;\n transition: background 0.1s ease;\n}\n\n.dropdown-item:hover {\n background: var(--background-hover, #f5f5f5);\n}\n\n.dropdown-item.selected {\n background: var(--primary-light, #e6f0ff);\n}\n\n.dropdown-item.selected:hover {\n background: var(--primary-light-hover, #d6e4f9);\n}\n\n.default-option {\n font-weight: 500;\n}\n\n.item-icon {\n color: var(--text-secondary, #666);\n font-size: 13px;\n width: 16px;\n text-align: center;\n}\n\n.item-name {\n flex: 1;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n font-size: 13px;\n}\n\n.shared-indicator,\n.default-indicator,\n.readonly-indicator {\n color: var(--text-tertiary, #999);\n font-size: 11px;\n}\n\n.default-indicator {\n color: var(--warning-color, #f59e0b);\n}\n\n.selected-check {\n color: var(--primary-color, #007bff);\n font-size: 12px;\n}\n\n/* Dropdown Sections */\n.dropdown-section {\n padding: 4px 0;\n}\n\n.section-header {\n display: flex;\n align-items: center;\n gap: 8px;\n padding: 8px 14px 6px;\n font-size: 11px;\n font-weight: 600;\n color: var(--text-tertiary, #999);\n text-transform: uppercase;\n letter-spacing: 0.5px;\n}\n\n.section-icon {\n font-size: 10px;\n}\n\n.section-title {\n flex: 1;\n}\n\n.section-count {\n background: var(--background-alt, #f0f0f0);\n padding: 2px 6px;\n border-radius: 10px;\n font-size: 10px;\n}\n\n/* Dropdown Divider */\n.dropdown-divider {\n height: 1px;\n background: var(--border-color-light, #eee);\n margin: 4px 0;\n}\n\n/* Empty State */\n.empty-views-message,\n.loading-views {\n display: flex;\n align-items: center;\n justify-content: center;\n gap: 8px;\n padding: 20px;\n color: var(--text-tertiary, #999);\n font-size: 13px;\n}\n\n/* Actions Section */\n.dropdown-actions {\n display: flex;\n gap: 8px;\n padding: 10px 14px;\n}\n\n.action-button {\n flex: 1;\n display: flex;\n align-items: center;\n justify-content: center;\n gap: 6px;\n padding: 8px 12px;\n background: var(--background-alt, #f5f5f5);\n border: 1px solid var(--border-color, #e0e0e0);\n border-radius: 6px;\n cursor: pointer;\n font-size: 12px;\n color: var(--text-primary, #333);\n transition: all 0.15s ease;\n}\n\n.action-button:hover:not(:disabled) {\n background: var(--background-hover, #e8e8e8);\n border-color: var(--border-color-hover, #ccc);\n}\n\n.action-button:disabled {\n opacity: 0.5;\n cursor: not-allowed;\n}\n\n.action-button i {\n font-size: 11px;\n}\n\n/* Open in Tab Button */\n.open-in-tab-button,\n.configure-view-button {\n display: flex;\n align-items: center;\n justify-content: center;\n width: 32px;\n height: 32px;\n background: var(--background-alt, #f5f5f5);\n border: 1px solid var(--border-color, #e0e0e0);\n border-radius: 6px;\n cursor: pointer;\n color: var(--text-secondary, #666);\n transition: all 0.15s ease;\n}\n\n.open-in-tab-button:hover,\n.configure-view-button:hover {\n background: var(--background-hover, #e8e8e8);\n border-color: var(--border-color-hover, #ccc);\n color: var(--primary-color, #007bff);\n}\n\n.open-in-tab-button i,\n.configure-view-button i {\n font-size: 12px;\n}\n\n/* Responsive Adjustments */\n@media (max-width: 768px) {\n .view-selector-button {\n min-width: 100px;\n max-width: 180px;\n padding: 6px 10px;\n }\n\n .dropdown-panel {\n min-width: 240px;\n max-width: calc(100vw - 32px);\n }\n\n .dropdown-actions {\n flex-direction: column;\n }\n}\n"] }]
|
|
489
|
+
args: [{ selector: 'mj-view-selector', template: "<div class=\"view-selector-container\">\n <!-- Backdrop for closing dropdown -->\n @if (isDropdownOpen) {\n <div class=\"dropdown-backdrop\" (click)=\"closeDropdown()\"></div>\n }\n\n <!-- Main View Selector Button -->\n <div class=\"view-selector-wrapper\">\n <button\n class=\"view-selector-button\"\n [class.modified]=\"viewModified\"\n [class.open]=\"isDropdownOpen\"\n (click)=\"toggleDropdown()\"\n [disabled]=\"isLoading\"\n title=\"Select a saved view\">\n <i class=\"fa-solid fa-layer-group view-icon\"></i>\n <span class=\"view-name\">{{ displayName }}</span>\n @if (viewModified) {\n <span class=\"modified-indicator\" title=\"View has unsaved changes\">\u2022</span>\n }\n <i class=\"fa-solid fa-chevron-down dropdown-arrow\" [class.rotated]=\"isDropdownOpen\"></i>\n </button>\n\n <!-- Dropdown Panel -->\n @if (isDropdownOpen) {\n <div class=\"dropdown-panel\">\n <!-- Default Option -->\n <div\n class=\"dropdown-item default-option\"\n [class.selected]=\"!selectedViewId\"\n (click)=\"selectDefault()\">\n <i class=\"fa-solid fa-table item-icon\"></i>\n <span class=\"item-name\">(Default)</span>\n @if (!selectedViewId) {\n <i class=\"fa-solid fa-check selected-check\"></i>\n }\n </div>\n\n <div class=\"dropdown-divider\"></div>\n\n <!-- My Views Section -->\n @if (myViews.length > 0) {\n <div class=\"dropdown-section\">\n <div class=\"section-header\">\n <i class=\"fa-solid fa-user section-icon\"></i>\n <span class=\"section-title\">My Views</span>\n <span class=\"section-count\">{{ myViews.length }}</span>\n </div>\n @for (view of myViews; track view.id) {\n <div\n class=\"dropdown-item view-item\"\n [class.selected]=\"selectedViewId === view.id\"\n (click)=\"selectView(view)\">\n <i class=\"fa-solid fa-layer-group item-icon\"></i>\n <span class=\"item-name\">{{ view.name }}</span>\n @if (view.isShared) {\n <i class=\"fa-solid fa-share-alt shared-indicator\" title=\"Shared with others\"></i>\n }\n @if (view.isDefault) {\n <i class=\"fa-solid fa-star default-indicator\" title=\"Default view for this entity\"></i>\n }\n @if (selectedViewId === view.id) {\n <i class=\"fa-solid fa-check selected-check\"></i>\n }\n </div>\n }\n </div>\n }\n\n <!-- Shared Views Section -->\n @if (sharedViews.length > 0) {\n <div class=\"dropdown-section\">\n <div class=\"section-header\">\n <i class=\"fa-solid fa-users section-icon\"></i>\n <span class=\"section-title\">Shared Views</span>\n <span class=\"section-count\">{{ sharedViews.length }}</span>\n </div>\n @for (view of sharedViews; track view.id) {\n <div\n class=\"dropdown-item view-item\"\n [class.selected]=\"selectedViewId === view.id\"\n (click)=\"selectView(view)\">\n <i class=\"fa-solid fa-layer-group item-icon\"></i>\n <span class=\"item-name\">{{ view.name }}</span>\n @if (!view.userCanEdit) {\n <i class=\"fa-solid fa-lock readonly-indicator\" title=\"View-only access\"></i>\n }\n @if (selectedViewId === view.id) {\n <i class=\"fa-solid fa-check selected-check\"></i>\n }\n </div>\n }\n </div>\n }\n\n <!-- No Views Message -->\n @if (!hasViews && !isLoading) {\n <div class=\"empty-views-message\">\n <i class=\"fa-solid fa-info-circle\"></i>\n <span>No saved views yet</span>\n </div>\n }\n\n <!-- Loading Indicator -->\n @if (isLoading) {\n <div class=\"loading-views\">\n <i class=\"fa-solid fa-spinner fa-spin\"></i>\n <span>Loading views...</span>\n </div>\n }\n\n <div class=\"dropdown-divider\"></div>\n\n <!-- Actions Section -->\n <div class=\"dropdown-actions\">\n <button\n class=\"action-button\"\n (click)=\"onSaveView()\"\n [disabled]=\"!viewModified && !selectedViewId\"\n title=\"Save current configuration\">\n <i class=\"fa-solid fa-save\"></i>\n <span>Save View</span>\n </button>\n <button\n class=\"action-button\"\n (click)=\"onSaveAsNewView()\"\n title=\"Save as a new view\">\n <i class=\"fa-solid fa-plus\"></i>\n <span>Save As New</span>\n </button>\n </div>\n </div>\n }\n </div>\n\n <!-- Open in Tab Button (only visible when a view is selected) -->\n @if (selectedViewId) {\n <button\n class=\"open-in-tab-button\"\n (click)=\"onOpenInTab()\"\n title=\"Open this view in a new tab\">\n <i class=\"fa-solid fa-external-link-alt\"></i>\n </button>\n }\n\n <!-- Configure View Button -->\n <button\n class=\"configure-view-button\"\n (click)=\"onConfigureView()\"\n title=\"Configure view settings (columns, filters, sorting)\">\n <i class=\"fa-solid fa-sliders-h\"></i>\n </button>\n\n <!-- Create New Record Button -->\n <button\n class=\"create-record-button\"\n (click)=\"onCreateNewRecord()\"\n title=\"Create new record\">\n <i class=\"fa-solid fa-plus\"></i>\n </button>\n\n <!-- Export Button -->\n <button\n class=\"export-button\"\n (click)=\"onExport()\"\n title=\"Export to Excel\">\n <i class=\"fa-solid fa-file-excel\"></i>\n </button>\n</div>\n", styles: ["/* View Selector Container */\n.view-selector-container {\n display: flex;\n align-items: center;\n gap: 4px;\n position: relative;\n}\n\n/* Backdrop for closing dropdown */\n.dropdown-backdrop {\n position: fixed;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n z-index: 999;\n background: transparent;\n}\n\n.view-selector-wrapper {\n position: relative;\n}\n\n/* Main Button */\n.view-selector-button {\n display: flex;\n align-items: center;\n gap: 8px;\n padding: 6px 12px;\n background: var(--background-alt, #f5f5f5);\n border: 1px solid var(--border-color, #e0e0e0);\n border-radius: 6px;\n cursor: pointer;\n font-size: 13px;\n color: var(--text-primary, #333);\n transition: all 0.15s ease;\n min-width: 140px;\n max-width: 280px;\n}\n\n.view-selector-button:hover {\n background: var(--background-hover, #e8e8e8);\n border-color: var(--border-color-hover, #ccc);\n}\n\n.view-selector-button:disabled {\n opacity: 0.6;\n cursor: not-allowed;\n}\n\n.view-selector-button.open {\n background: var(--background-active, #e0e0e0);\n border-color: var(--primary-color, #007bff);\n}\n\n.view-selector-button.modified {\n border-color: var(--warning-color, #f59e0b);\n}\n\n.view-icon {\n color: var(--text-secondary, #666);\n font-size: 12px;\n}\n\n.view-name {\n flex: 1;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n text-align: left;\n}\n\n.modified-indicator {\n color: var(--warning-color, #f59e0b);\n font-weight: bold;\n font-size: 18px;\n line-height: 1;\n}\n\n.dropdown-arrow {\n color: var(--text-secondary, #666);\n font-size: 10px;\n transition: transform 0.2s ease;\n}\n\n.dropdown-arrow.rotated {\n transform: rotate(180deg);\n}\n\n/* Dropdown Panel */\n.dropdown-panel {\n position: absolute;\n top: calc(100% + 4px);\n left: 0;\n min-width: 280px;\n max-width: 360px;\n max-height: 400px;\n overflow-y: auto;\n background: var(--background-panel, #fff);\n border: 1px solid var(--border-color, #e0e0e0);\n border-radius: 8px;\n box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);\n z-index: 1000;\n}\n\n/* Dropdown Items */\n.dropdown-item {\n display: flex;\n align-items: center;\n gap: 10px;\n padding: 10px 14px;\n cursor: pointer;\n transition: background 0.1s ease;\n}\n\n.dropdown-item:hover {\n background: var(--background-hover, #f5f5f5);\n}\n\n.dropdown-item.selected {\n background: var(--primary-light, #e6f0ff);\n}\n\n.dropdown-item.selected:hover {\n background: var(--primary-light-hover, #d6e4f9);\n}\n\n.default-option {\n font-weight: 500;\n}\n\n.item-icon {\n color: var(--text-secondary, #666);\n font-size: 13px;\n width: 16px;\n text-align: center;\n}\n\n.item-name {\n flex: 1;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n font-size: 13px;\n}\n\n.shared-indicator,\n.default-indicator,\n.readonly-indicator {\n color: var(--text-tertiary, #999);\n font-size: 11px;\n}\n\n.default-indicator {\n color: var(--warning-color, #f59e0b);\n}\n\n.selected-check {\n color: var(--primary-color, #007bff);\n font-size: 12px;\n}\n\n/* Dropdown Sections */\n.dropdown-section {\n padding: 4px 0;\n}\n\n.section-header {\n display: flex;\n align-items: center;\n gap: 8px;\n padding: 8px 14px 6px;\n font-size: 11px;\n font-weight: 600;\n color: var(--text-tertiary, #999);\n text-transform: uppercase;\n letter-spacing: 0.5px;\n}\n\n.section-icon {\n font-size: 10px;\n}\n\n.section-title {\n flex: 1;\n}\n\n.section-count {\n background: var(--background-alt, #f0f0f0);\n padding: 2px 6px;\n border-radius: 10px;\n font-size: 10px;\n}\n\n/* Dropdown Divider */\n.dropdown-divider {\n height: 1px;\n background: var(--border-color-light, #eee);\n margin: 4px 0;\n}\n\n/* Empty State */\n.empty-views-message,\n.loading-views {\n display: flex;\n align-items: center;\n justify-content: center;\n gap: 8px;\n padding: 20px;\n color: var(--text-tertiary, #999);\n font-size: 13px;\n}\n\n/* Actions Section */\n.dropdown-actions {\n display: flex;\n gap: 8px;\n padding: 10px 14px;\n}\n\n.action-button {\n flex: 1;\n display: flex;\n align-items: center;\n justify-content: center;\n gap: 6px;\n padding: 8px 12px;\n background: var(--background-alt, #f5f5f5);\n border: 1px solid var(--border-color, #e0e0e0);\n border-radius: 6px;\n cursor: pointer;\n font-size: 12px;\n color: var(--text-primary, #333);\n transition: all 0.15s ease;\n}\n\n.action-button:hover:not(:disabled) {\n background: var(--background-hover, #e8e8e8);\n border-color: var(--border-color-hover, #ccc);\n}\n\n.action-button:disabled {\n opacity: 0.5;\n cursor: not-allowed;\n}\n\n.action-button i {\n font-size: 11px;\n}\n\n/* Open in Tab Button */\n.open-in-tab-button,\n.configure-view-button,\n.create-record-button,\n.export-button {\n display: flex;\n align-items: center;\n justify-content: center;\n width: 32px;\n height: 32px;\n background: var(--background-alt, #f5f5f5);\n border: 1px solid var(--border-color, #e0e0e0);\n border-radius: 6px;\n cursor: pointer;\n color: var(--text-secondary, #666);\n transition: all 0.15s ease;\n}\n\n.open-in-tab-button:hover,\n.configure-view-button:hover,\n.create-record-button:hover,\n.export-button:hover {\n background: var(--background-hover, #e8e8e8);\n border-color: var(--border-color-hover, #ccc);\n color: var(--primary-color, #007bff);\n}\n\n.open-in-tab-button i,\n.configure-view-button i,\n.create-record-button i,\n.export-button i {\n font-size: 12px;\n}\n\n/* Excel export button special color on hover */\n.export-button:hover {\n color: #217346; /* Excel green */\n}\n\n/* Responsive Adjustments */\n@media (max-width: 768px) {\n .view-selector-button {\n min-width: 100px;\n max-width: 180px;\n padding: 6px 10px;\n }\n\n .dropdown-panel {\n min-width: 240px;\n max-width: calc(100vw - 32px);\n }\n\n .dropdown-actions {\n flex-direction: column;\n }\n}\n"] }]
|
|
462
490
|
}], () => [{ type: i0.ChangeDetectorRef }], { entity: [{
|
|
463
491
|
type: Input
|
|
464
492
|
}], selectedViewId: [{
|
|
@@ -475,6 +503,10 @@ export class ViewSelectorComponent {
|
|
|
475
503
|
type: Output
|
|
476
504
|
}], configureViewRequested: [{
|
|
477
505
|
type: Output
|
|
506
|
+
}], createNewRecordRequested: [{
|
|
507
|
+
type: Output
|
|
508
|
+
}], exportRequested: [{
|
|
509
|
+
type: Output
|
|
478
510
|
}] }); })();
|
|
479
511
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ViewSelectorComponent, { className: "ViewSelectorComponent", filePath: "src/DataExplorer/components/view-selector/view-selector.component.ts", lineNumber: 50 }); })();
|
|
480
512
|
//# sourceMappingURL=view-selector.component.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"view-selector.component.js","sourceRoot":"","sources":["../../../../src/DataExplorer/components/view-selector/view-selector.component.ts","../../../../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../../src/DataExplorer/components/view-selector/view-selector.component.ts","../../../../src/DataExplorer/components/view-selector/view-selector.component.html"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,KAAK,EAAE,MAAM,EAAE,YAAY,EAA0D,MAAM,eAAe,CAAC;AAC/H,OAAO,EAAc,QAAQ,EAAE,OAAO,EAAE,MAAM,sBAAsB,CAAC;AAErE,OAAO,EAAE,OAAO,EAAE,MAAM,MAAM,CAAC;;;;;ICA3B,+BAAyD;IAA1B,sLAAS,sBAAe,KAAC;IAAC,iBAAM;;;IAe3D,+BAAkE;IAAA,sBAAC;IAAA,iBAAO;;;IAgBtE,wBAAgD;;;IAsB1C,wBAAiF;;;IAGjF,wBAAuF;;;IAGvF,wBAAgD;;;;IAbpD,+BAG6B;IAA3B,qOAAS,0BAAgB,KAAC;IAC1B,wBAAiD;IACjD,gCAAwB;IAAA,YAAe;IAAA,iBAAO;IAO9C,AAHA,AAHA,+GAAqB,kGAGC,kGAGY;IAGpC,iBAAM;;;;IAbJ,gEAA6C;IAGrB,eAAe;IAAf,kCAAe;IACvC,cAEC;IAFD,2CAEC;IACD,cAEC;IAFD,4CAEC;IACD,cAEC;IAFD,+DAEC;;;IApBL,AADF,+BAA8B,cACA;IAC1B,wBAA6C;IAC7C,gCAA4B;IAAA,wBAAQ;IAAA,iBAAO;IAC3C,gCAA4B;IAAA,YAAoB;IAClD,AADkD,iBAAO,EACnD;IACN,qHAiBC;IACH,iBAAM;;;IApB0B,eAAoB;IAApB,2CAAoB;IAElD,cAiBC;IAjBD,6BAiBC;;;IAoBK,wBAA4E;;;IAG5E,wBAAgD;;;;IAVpD,+BAG6B;IAA3B,qOAAS,0BAAgB,KAAC;IAC1B,wBAAiD;IACjD,gCAAwB;IAAA,YAAe;IAAA,iBAAO;IAI9C,AAHA,+GAAyB,kGAGS;IAGpC,iBAAM;;;;IAVJ,gEAA6C;IAGrB,eAAe;IAAf,kCAAe;IACvC,cAEC;IAFD,+CAEC;IACD,cAEC;I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DAArB,qBAAqB;YCjDlC,8BAAqC;YAEnC,8EAAsB;YAMpB,AADF,8BAAmC,gBAOH;YAF5B,kGAAS,oBAAgB,IAAC;YAG1B,uBAAiD;YACjD,+BAAwB;YAAA,YAAiB;YAAA,iBAAO;YAChD,+EAAoB;YAGpB,uBAAwF;YAC1F,iBAAS;YAGT,+EAAsB;YA6GxB,iBAAM;YAGN,mFAAsB;YAUtB,mCAG8D;YAD5D,mGAAS,qBAAiB,IAAC;YAE3B,yBAAqC;YACvC,iBAAS;YAGT,mCAG4B;YAD1B,mGAAS,uBAAmB,IAAC;YAE7B,yBAAgC;YAClC,iBAAS;YAGT,mCAG0B;YADxB,mGAAS,cAAU,IAAC;YAEpB,yBAAsC;YAE1C,AADE,iBAAS,EACL;;YAtKJ,cAEC;YAFD,6CAEC;YAMG,eAA+B;YAC/B,AADA,4CAA+B,4BACF;YAE7B,wCAAsB;YAGE,eAAiB;YAAjB,qCAAiB;YACzC,cAEC;YAFD,2CAEC;YACkD,cAAgC;YAAhC,6CAAgC;YAIrF,cA4GC;YA5GD,6CA4GC;YAIH,cAOC;YAPD,8CAOC;;;iFD9FU,qBAAqB;cALjC,SAAS;2BACE,kBAAkB;kDAQnB,MAAM;kBAAd,KAAK;YAKG,cAAc;kBAAtB,KAAK;YAKG,YAAY;kBAApB,KAAK;YAKI,YAAY;kBAArB,MAAM;YAKG,iBAAiB;kBAA1B,MAAM;YAKG,oBAAoB;kBAA7B,MAAM;YAKG,kBAAkB;kBAA3B,MAAM;YAKG,sBAAsB;kBAA/B,MAAM;YAKG,wBAAwB;kBAAjC,MAAM;YAKG,eAAe;kBAAxB,MAAM;;kFAjDI,qBAAqB"}
|
|
@@ -12,6 +12,7 @@ import { UserViewEntityExtended } from '@memberjunction/core-entities';
|
|
|
12
12
|
import { ExplorerStateService } from './services/explorer-state.service';
|
|
13
13
|
import { DataExplorerState, DataExplorerFilter, BreadcrumbItem, DataExplorerDeepLink, RecentRecordAccess, FavoriteRecord } from './models/explorer-state.interface';
|
|
14
14
|
import { OpenRecordEvent, SelectRecordEvent } from './components/navigation-panel/navigation-panel.component';
|
|
15
|
+
import { ExcelExportComponent } from '@progress/kendo-angular-excel-export';
|
|
15
16
|
import * as i0 from "@angular/core";
|
|
16
17
|
/**
|
|
17
18
|
* Data Explorer Dashboard - Power user interface for exploring data across entities
|
|
@@ -36,6 +37,8 @@ export declare class DataExplorerDashboardComponent extends BaseDashboard implem
|
|
|
36
37
|
entityViewerRef: EntityViewerComponent | undefined;
|
|
37
38
|
/** Reference to the view config panel for passing filter state */
|
|
38
39
|
viewConfigPanelRef: ViewConfigPanelComponent | undefined;
|
|
40
|
+
/** Reference to the Excel export component */
|
|
41
|
+
excelExportRef: ExcelExportComponent | undefined;
|
|
39
42
|
/**
|
|
40
43
|
* Optional filter to constrain which entities are shown in the explorer.
|
|
41
44
|
* Can filter by applicationId, schemaNames, or explicit entityNames.
|
|
@@ -79,6 +82,12 @@ export declare class DataExplorerDashboardComponent extends BaseDashboard implem
|
|
|
79
82
|
favoriteRecords: FavoriteRecord[];
|
|
80
83
|
isLoadingRecentRecords: boolean;
|
|
81
84
|
recentRecordsEntityFilter: string | null;
|
|
85
|
+
exportData: any[];
|
|
86
|
+
exportColumns: {
|
|
87
|
+
Name: string;
|
|
88
|
+
DisplayName: string;
|
|
89
|
+
}[];
|
|
90
|
+
exportFileName: string;
|
|
82
91
|
/**
|
|
83
92
|
* Filtered entities based on entityFilterText (for home screen)
|
|
84
93
|
* Excludes entities shown in recent or favorites sections
|
|
@@ -217,6 +226,7 @@ export declare class DataExplorerDashboardComponent extends BaseDashboard implem
|
|
|
217
226
|
filterDialogFields: FilterFieldInfo[];
|
|
218
227
|
filterDialogState: CompositeFilterDescriptor;
|
|
219
228
|
filterDialogDisabled: boolean;
|
|
229
|
+
isSavingView: boolean;
|
|
220
230
|
constructor(stateService: ExplorerStateService, cdr: ChangeDetectorRef, router: Router, recentAccessService: RecentAccessService, navigationService: NavigationService);
|
|
221
231
|
ngOnInit(): Promise<void>;
|
|
222
232
|
/**
|
|
@@ -368,6 +378,30 @@ export declare class DataExplorerDashboardComponent extends BaseDashboard implem
|
|
|
368
378
|
* Uses detailPanelEntity since the panel may be showing a different entity than the grid
|
|
369
379
|
*/
|
|
370
380
|
onOpenRecord(record: BaseEntity): void;
|
|
381
|
+
/**
|
|
382
|
+
* Handle creating a new record for the current entity
|
|
383
|
+
*/
|
|
384
|
+
onCreateNewRecord(): void;
|
|
385
|
+
/**
|
|
386
|
+
* Handle export to Excel request
|
|
387
|
+
*/
|
|
388
|
+
onExport(): Promise<void>;
|
|
389
|
+
/**
|
|
390
|
+
* Get the data for export - loads all records for the current view/entity
|
|
391
|
+
*/
|
|
392
|
+
protected getExportData(): Promise<any[]>;
|
|
393
|
+
/**
|
|
394
|
+
* Build the ExtraFilter string based on current view and filter state
|
|
395
|
+
*/
|
|
396
|
+
private buildExtraFilter;
|
|
397
|
+
/**
|
|
398
|
+
* Build the OrderBy string based on current view state
|
|
399
|
+
*/
|
|
400
|
+
private buildOrderBy;
|
|
401
|
+
/**
|
|
402
|
+
* Show a notification to the user
|
|
403
|
+
*/
|
|
404
|
+
private showNotification;
|
|
371
405
|
/**
|
|
372
406
|
* Handle navigation to a related entity from detail panel.
|
|
373
407
|
* Navigates within the explorer and applies filter to show related records.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"data-explorer-dashboard.component.d.ts","sourceRoot":"","sources":["../../src/DataExplorer/data-explorer-dashboard.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,MAAM,EAAE,SAAS,EAAE,iBAAiB,EAAS,SAAS,EAAE,aAAa,EAAgB,UAAU,EAAa,MAAM,eAAe,CAAC;AACtJ,OAAO,EAAE,MAAM,EAAiB,MAAM,iBAAiB,CAAC;AAIxD,OAAO,EAAE,aAAa,EAAE,iBAAiB,EAAE,MAAM,2BAA2B,CAAC;AAC7E,OAAO,EAAE,mBAAmB,EAAE,MAAM,mCAAmC,CAAC;AAExE,OAAO,EAAY,UAAU,EAA8B,MAAM,sBAAsB,CAAC;AACxF,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAElD,OAAO,EACL,mBAAmB,EACnB,iBAAiB,EACjB,eAAe,EACf,yBAAyB,EACzB,kBAAkB,EAClB,cAAc,EACd,sBAAsB,EACtB,qBAAqB,EACrB,mBAAmB,EACnB,qBAAqB,EACtB,MAAM,kCAAkC,CAAC;AAC1C,OAAO,EAAE,iBAAiB,EAAE,sBAAsB,EAAE,qBAAqB,EAAE,MAAM,oDAAoD,CAAC;AACtI,OAAO,EAAE,aAAa,EAAE,wBAAwB,EAAE,MAAM,4DAA4D,CAAC;AACrH,OAAO,EAAE,yBAAyB,EAAE,eAAe,EAAqB,MAAM,mCAAmC,CAAC;AAClH,OAAO,EAAE,sBAAsB,EAAE,MAAM,+BAA+B,CAAC;AACvE,OAAO,EAAE,oBAAoB,EAAE,MAAM,mCAAmC,CAAC;AACzE,OAAO,EAAE,iBAAiB,EAAE,kBAAkB,EAAE,cAAc,EAAE,oBAAoB,EAAE,kBAAkB,EAAE,cAAc,EAAE,MAAM,mCAAmC,CAAC;AACpK,OAAO,EAAE,eAAe,EAAE,iBAAiB,EAAE,MAAM,0DAA0D,CAAC;;
|
|
1
|
+
{"version":3,"file":"data-explorer-dashboard.component.d.ts","sourceRoot":"","sources":["../../src/DataExplorer/data-explorer-dashboard.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,MAAM,EAAE,SAAS,EAAE,iBAAiB,EAAS,SAAS,EAAE,aAAa,EAAgB,UAAU,EAAa,MAAM,eAAe,CAAC;AACtJ,OAAO,EAAE,MAAM,EAAiB,MAAM,iBAAiB,CAAC;AAIxD,OAAO,EAAE,aAAa,EAAE,iBAAiB,EAAE,MAAM,2BAA2B,CAAC;AAC7E,OAAO,EAAE,mBAAmB,EAAE,MAAM,mCAAmC,CAAC;AAExE,OAAO,EAAY,UAAU,EAA8B,MAAM,sBAAsB,CAAC;AACxF,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