@memberjunction/ng-entity-viewer 6.2.0-edge.4 → 6.2.0-edge.6

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.
Files changed (87) hide show
  1. package/README.md +28 -0
  2. package/dist/lib/aggregate-setup-dialog/aggregate-setup-dialog.component.d.ts +48 -1
  3. package/dist/lib/aggregate-setup-dialog/aggregate-setup-dialog.component.d.ts.map +1 -1
  4. package/dist/lib/aggregate-setup-dialog/aggregate-setup-dialog.component.js +631 -279
  5. package/dist/lib/aggregate-setup-dialog/aggregate-setup-dialog.component.js.map +1 -1
  6. package/dist/lib/entity-cards/entity-cards.component.d.ts +2 -0
  7. package/dist/lib/entity-cards/entity-cards.component.d.ts.map +1 -1
  8. package/dist/lib/entity-cards/entity-cards.component.js +30 -2
  9. package/dist/lib/entity-cards/entity-cards.component.js.map +1 -1
  10. package/dist/lib/entity-data-grid/entity-data-grid.component.d.ts +64 -2
  11. package/dist/lib/entity-data-grid/entity-data-grid.component.d.ts.map +1 -1
  12. package/dist/lib/entity-data-grid/entity-data-grid.component.js +516 -187
  13. package/dist/lib/entity-data-grid/entity-data-grid.component.js.map +1 -1
  14. package/dist/lib/entity-record-detail-panel/entity-record-detail-panel.component.d.ts +2 -0
  15. package/dist/lib/entity-record-detail-panel/entity-record-detail-panel.component.d.ts.map +1 -1
  16. package/dist/lib/entity-record-detail-panel/entity-record-detail-panel.component.js +38 -4
  17. package/dist/lib/entity-record-detail-panel/entity-record-detail-panel.component.js.map +1 -1
  18. package/dist/lib/entity-viewer/entity-viewer.component.d.ts +39 -3
  19. package/dist/lib/entity-viewer/entity-viewer.component.d.ts.map +1 -1
  20. package/dist/lib/entity-viewer/entity-viewer.component.js +189 -50
  21. package/dist/lib/entity-viewer/entity-viewer.component.js.map +1 -1
  22. package/dist/lib/entity-viewer/view-property-chips.d.ts +17 -0
  23. package/dist/lib/entity-viewer/view-property-chips.d.ts.map +1 -0
  24. package/dist/lib/entity-viewer/view-property-chips.js +42 -0
  25. package/dist/lib/entity-viewer/view-property-chips.js.map +1 -0
  26. package/dist/lib/recycle-bin/recycle-bin-chip.component.d.ts +10 -2
  27. package/dist/lib/recycle-bin/recycle-bin-chip.component.d.ts.map +1 -1
  28. package/dist/lib/recycle-bin/recycle-bin-chip.component.js +37 -5
  29. package/dist/lib/recycle-bin/recycle-bin-chip.component.js.map +1 -1
  30. package/dist/lib/recycle-bin/recycle-bin.component.js +3 -3
  31. package/dist/lib/recycle-bin/recycle-bin.component.js.map +1 -1
  32. package/dist/lib/utils/record.util.d.ts +21 -1
  33. package/dist/lib/utils/record.util.d.ts.map +1 -1
  34. package/dist/lib/utils/record.util.js +108 -0
  35. package/dist/lib/utils/record.util.js.map +1 -1
  36. package/dist/lib/view-config-panel/view-config-panel.component.d.ts +378 -54
  37. package/dist/lib/view-config-panel/view-config-panel.component.d.ts.map +1 -1
  38. package/dist/lib/view-config-panel/view-config-panel.component.js +3837 -1010
  39. package/dist/lib/view-config-panel/view-config-panel.component.js.map +1 -1
  40. package/dist/lib/view-properties-editor/view-properties-editor.component.d.ts +52 -0
  41. package/dist/lib/view-properties-editor/view-properties-editor.component.d.ts.map +1 -0
  42. package/dist/lib/view-properties-editor/view-properties-editor.component.js +445 -0
  43. package/dist/lib/view-properties-editor/view-properties-editor.component.js.map +1 -0
  44. package/dist/lib/view-selector/view-selector.component.d.ts +22 -1
  45. package/dist/lib/view-selector/view-selector.component.d.ts.map +1 -1
  46. package/dist/lib/view-selector/view-selector.component.js +288 -149
  47. package/dist/lib/view-selector/view-selector.component.js.map +1 -1
  48. package/dist/lib/view-types/descriptors/calendar-view-type.d.ts +22 -0
  49. package/dist/lib/view-types/descriptors/calendar-view-type.d.ts.map +1 -0
  50. package/dist/lib/view-types/descriptors/calendar-view-type.js +38 -0
  51. package/dist/lib/view-types/descriptors/calendar-view-type.js.map +1 -0
  52. package/dist/lib/view-types/index.d.ts +3 -2
  53. package/dist/lib/view-types/index.d.ts.map +1 -1
  54. package/dist/lib/view-types/index.js +5 -2
  55. package/dist/lib/view-types/index.js.map +1 -1
  56. package/dist/lib/view-types/renderers/calendar-placement.d.ts +97 -0
  57. package/dist/lib/view-types/renderers/calendar-placement.d.ts.map +1 -0
  58. package/dist/lib/view-types/renderers/calendar-placement.js +145 -0
  59. package/dist/lib/view-types/renderers/calendar-placement.js.map +1 -0
  60. package/dist/lib/view-types/renderers/calendar-view-prop-sheet.component.d.ts +36 -0
  61. package/dist/lib/view-types/renderers/calendar-view-prop-sheet.component.d.ts.map +1 -0
  62. package/dist/lib/view-types/renderers/calendar-view-prop-sheet.component.js +167 -0
  63. package/dist/lib/view-types/renderers/calendar-view-prop-sheet.component.js.map +1 -0
  64. package/dist/lib/view-types/renderers/calendar-view-renderer.component.d.ts +107 -0
  65. package/dist/lib/view-types/renderers/calendar-view-renderer.component.d.ts.map +1 -0
  66. package/dist/lib/view-types/renderers/calendar-view-renderer.component.js +501 -0
  67. package/dist/lib/view-types/renderers/calendar-view-renderer.component.js.map +1 -0
  68. package/dist/lib/view-types/renderers/grid-view-renderer.component.d.ts +3 -1
  69. package/dist/lib/view-types/renderers/grid-view-renderer.component.d.ts.map +1 -1
  70. package/dist/lib/view-types/renderers/grid-view-renderer.component.js +12 -3
  71. package/dist/lib/view-types/renderers/grid-view-renderer.component.js.map +1 -1
  72. package/dist/lib/view-types/renderers/map-view-renderer.component.d.ts.map +1 -1
  73. package/dist/lib/view-types/renderers/map-view-renderer.component.js +3 -3
  74. package/dist/lib/view-types/renderers/map-view-renderer.component.js.map +1 -1
  75. package/dist/lib/view-workspace/view-workspace.component.d.ts +40 -1
  76. package/dist/lib/view-workspace/view-workspace.component.d.ts.map +1 -1
  77. package/dist/lib/view-workspace/view-workspace.component.js +185 -15
  78. package/dist/lib/view-workspace/view-workspace.component.js.map +1 -1
  79. package/dist/module.d.ts +35 -31
  80. package/dist/module.d.ts.map +1 -1
  81. package/dist/module.js +21 -3
  82. package/dist/module.js.map +1 -1
  83. package/dist/public-api.d.ts +5 -0
  84. package/dist/public-api.d.ts.map +1 -1
  85. package/dist/public-api.js +5 -0
  86. package/dist/public-api.js.map +1 -1
  87. package/package.json +22 -21
@@ -1 +1 @@
1
- {"version":3,"file":"entity-viewer.component.d.ts","sourceRoot":"","sources":["../../../src/lib/entity-viewer/entity-viewer.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAA4B,YAAY,EAAE,MAAM,EAAE,SAAS,EAAE,aAAa,EAAE,iBAAiB,EAAE,UAAU,EAAa,MAAM,EAAwD,MAAM,eAAe,CAAC;AACjN,OAAO,EAAE,oBAAoB,EAAE,MAAM,+BAA+B,CAAC;AAGrE,OAAO,EAAE,UAAU,EAAsC,MAAM,sBAAsB,CAAC;AACtF,OAAO,EAAE,YAAY,EAAE,MAAM,+BAA+B,CAAC;AAE7D,OAAO,EAAE,wBAAwB,EAAkB,MAAM,+BAA+B,CAAC;AAEzF,OAAO,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAC;AAEhE,OAAO,EACL,kBAAkB,EAElB,mBAAmB,EACnB,iBAAiB,EACjB,eAAe,EACf,yBAAyB,EACzB,SAAS,EACT,aAAa,EACb,eAAe,EACf,aAAa,EACd,MAAM,UAAU,CAAC;AAClB,OAAO,EAAE,mBAAmB,EAAkD,2BAA2B,EAAE,MAAM,eAAe,CAAC;;AAEjI;;;;;GAKG;AACH,MAAM,WAAW,cAAc;IAC7B;;;;OAIG;IACH,GAAG,EAAE,MAAM,CAAC;IACZ;;;OAGG;IACH,IAAI,EAAE,IAAI,CAAC;IACX,yBAAyB;IACzB,KAAK,EAAE,MAAM,CAAC;IACd,+BAA+B;IAC/B,IAAI,EAAE,MAAM,CAAC;IACb,iGAAiG;IACjG,SAAS,EAAE,OAAO,CAAC;IACnB,oFAAoF;IACpF,UAAU,EAAE,mBAAmB,CAAC;IAChC,8FAA8F;IAC9F,UAAU,EAAE,MAAM,CAAC;CACpB;AAED;;;;;;GAMG;AACH,MAAM,WAAW,uBAAuB;I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O,CAAC,eAAe;IAMvB,OAAO,CAAC,uBAAuB;IAQ/B,OAAO,CAAC,qBAAqB;IAQ7B,OAAO,CAAC,sBAAsB;IAoC9B;;;;OAIG;IACH,OAAO,CAAC,oBAAoB;IAgD5B;;OAEG;IACH,cAAc,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI;IAKnC;;OAEG;IACH,WAAW,IAAI,IAAI;yCAroER,qBAAqB;2CAArB,qBAAqB;CA0oEjC"}
1
+ {"version":3,"file":"entity-viewer.component.d.ts","sourceRoot":"","sources":["../../../src/lib/entity-viewer/entity-viewer.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAA4B,YAAY,EAAE,MAAM,EAAE,SAAS,EAAE,aAAa,EAAE,iBAAiB,EAAE,UAAU,EAAa,MAAM,EAAwD,MAAM,eAAe,CAAC;AACjN,OAAO,EAAE,oBAAoB,EAAE,MAAM,+BAA+B,CAAC;AAGrE,OAAO,EAAE,UAAU,EAA4B,aAAa,EAAY,kBAAkB,EAAyB,MAAM,sBAAsB,CAAC;AAChJ,OAAO,EAAE,YAAY,EAAE,MAAM,+BAA+B,CAAC;AAE7D,OAAO,EAAE,wBAAwB,EAAkB,MAAM,+BAA+B,CAAC;AAEzF,OAAO,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAC;AAEhE,OAAO,EACL,kBAAkB,EAElB,mBAAmB,EACnB,iBAAiB,EACjB,eAAe,EACf,yBAAyB,EACzB,SAAS,EACT,aAAa,EACb,eAAe,EACf,aAAa,EACd,MAAM,UAAU,CAAC;AAClB,OAAO,EAAE,mBAAmB,EAAkD,2BAA2B,EAAE,MAAM,eAAe,CAAC;AACjI,OAAO,EAA0B,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;;AAEjF;;;;;GAKG;AACH,MAAM,WAAW,cAAc;IAC7B;;;;OAIG;IACH,GAAG,EAAE,MAAM,CAAC;IACZ;;;OAGG;IACH,IAAI,EAAE,IAAI,CAAC;IACX,yBAAyB;IACzB,KAAK,EAAE,M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from '@memberjunction/ng-base-types';
3
3
  import { Subject } from 'rxjs';
4
4
  import { debounceTime, distinctUntilChanged, takeUntil } from 'rxjs/operators';
5
- import { RunView, LogError } from '@memberjunction/core';
5
+ import { RunView, LogError, ViewPropertyValuesKey } from '@memberjunction/core';
6
6
  import { UUIDsEqual } from '@memberjunction/global';
7
7
  import { UserInfoEngine } from '@memberjunction/core-entities';
8
8
  import { BuildCompositeKey, BuildPkString } from '../utils/record.util';
9
9
  import { MJNotificationService } from '@memberjunction/ng-notifications';
10
10
  import { ResolveViewerConfig } from '../types';
11
11
  import { ViewTypeEngine } from '../view-types';
12
+ import { BuildViewPropertyChips } from './view-property-chips';
12
13
  import * as i0 from "@angular/core";
13
14
  import * as i1 from "@memberjunction/ng-shared-generic";
14
15
  import * as i2 from "@memberjunction/ng-ui-components";
@@ -16,21 +17,22 @@ import * as i3 from "../recycle-bin/recycle-bin-chip.component";
16
17
  import * as i4 from "../view-type-switcher/view-type-switcher.component";
17
18
  import * as i5 from "@angular/common";
18
19
  const _c0 = ["dynamicViewHost"];
20
+ const _forTrack0 = ($index, $item) => $item.Name;
19
21
  function EntityViewerComponent_Conditional_1_Conditional_1_Conditional_3_Template(rf, ctx) { if (rf & 1) {
20
22
  const _r3 = i0.ɵɵgetCurrentView();
21
- i0.ɵɵelementStart(0, "button", 18);
23
+ i0.ɵɵelementStart(0, "button", 19);
22
24
  i0.ɵɵlistener("click", function EntityViewerComponent_Conditional_1_Conditional_1_Conditional_3_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r3); const ctx_r1 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r1.ClearFilter()); });
23
- i0.ɵɵelement(1, "i", 19);
25
+ i0.ɵɵelement(1, "i", 20);
24
26
  i0.ɵɵelementEnd();
25
27
  } }
26
28
  function EntityViewerComponent_Conditional_1_Conditional_1_Template(rf, ctx) { if (rf & 1) {
27
29
  const _r1 = i0.ɵɵgetCurrentView();
28
- i0.ɵɵelementStart(0, "div", 11);
29
- i0.ɵɵelement(1, "i", 15);
30
- i0.ɵɵelementStart(2, "input", 16);
30
+ i0.ɵɵelementStart(0, "div", 12);
31
+ i0.ɵɵelement(1, "i", 16);
32
+ i0.ɵɵelementStart(2, "input", 17);
31
33
  i0.ɵɵlistener("input", function EntityViewerComponent_Conditional_1_Conditional_1_Template_input_input_2_listener($event) { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.OnFilterChange($event.target.value)); });
32
34
  i0.ɵɵelementEnd();
33
- i0.ɵɵconditionalCreate(3, EntityViewerComponent_Conditional_1_Conditional_1_Conditional_3_Template, 2, 0, "button", 17);
35
+ i0.ɵɵconditionalCreate(3, EntityViewerComponent_Conditional_1_Conditional_1_Conditional_3_Template, 2, 0, "button", 18);
34
36
  i0.ɵɵelementEnd();
35
37
  } if (rf & 2) {
36
38
  const ctx_r1 = i0.ɵɵnextContext(2);
@@ -61,7 +63,7 @@ function EntityViewerComponent_Conditional_1_Conditional_2_Conditional_2_Templat
61
63
  i0.ɵɵtextInterpolate1("", i0.ɵɵpipeBind1(2, 1, ctx_r1.TotalRecordCount), " records");
62
64
  } }
63
65
  function EntityViewerComponent_Conditional_1_Conditional_2_Template(rf, ctx) { if (rf & 1) {
64
- i0.ɵɵelementStart(0, "div", 12);
66
+ i0.ɵɵelementStart(0, "div", 13);
65
67
  i0.ɵɵconditionalCreate(1, EntityViewerComponent_Conditional_1_Conditional_2_Conditional_1_Template, 4, 6, "span")(2, EntityViewerComponent_Conditional_1_Conditional_2_Conditional_2_Template, 3, 3, "span");
66
68
  i0.ɵɵelementEnd();
67
69
  } if (rf & 2) {
@@ -71,7 +73,7 @@ function EntityViewerComponent_Conditional_1_Conditional_2_Template(rf, ctx) { i
71
73
  } }
72
74
  function EntityViewerComponent_Conditional_1_Conditional_3_Template(rf, ctx) { if (rf & 1) {
73
75
  const _r4 = i0.ɵɵgetCurrentView();
74
- i0.ɵɵelementStart(0, "mj-view-type-switcher", 20);
76
+ i0.ɵɵelementStart(0, "mj-view-type-switcher", 21);
75
77
  i0.ɵɵlistener("ViewTypeSelected", function EntityViewerComponent_Conditional_1_Conditional_3_Template_mj_view_type_switcher_ViewTypeSelected_0_listener($event) { i0.ɵɵrestoreView(_r4); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.SelectViewTypeById($event.viewTypeId)); });
76
78
  i0.ɵɵelementEnd();
77
79
  } if (rf & 2) {
@@ -79,17 +81,17 @@ function EntityViewerComponent_Conditional_1_Conditional_3_Template(rf, ctx) { i
79
81
  i0.ɵɵproperty("Provider", ctx_r1.Provider)("Entity", ctx_r1.EffectiveEntity)("ActiveViewTypeID", ctx_r1.ActiveViewTypeId);
80
82
  } }
81
83
  function EntityViewerComponent_Conditional_1_Conditional_4_Template(rf, ctx) { if (rf & 1) {
82
- i0.ɵɵelement(0, "mj-recycle-bin-chip", 14);
84
+ i0.ɵɵelement(0, "mj-recycle-bin-chip", 15);
83
85
  } if (rf & 2) {
84
86
  const ctx_r1 = i0.ɵɵnextContext(2);
85
- i0.ɵɵproperty("EntityName", (ctx_r1.EffectiveEntity == null ? null : ctx_r1.EffectiveEntity.Name) ?? null);
87
+ i0.ɵɵproperty("Provider", ctx_r1.Provider)("EntityName", (ctx_r1.EffectiveEntity == null ? null : ctx_r1.EffectiveEntity.Name) ?? null);
86
88
  } }
87
89
  function EntityViewerComponent_Conditional_1_Template(rf, ctx) { if (rf & 1) {
88
90
  i0.ɵɵelementStart(0, "div", 2);
89
- i0.ɵɵconditionalCreate(1, EntityViewerComponent_Conditional_1_Conditional_1_Template, 4, 3, "div", 11);
90
- i0.ɵɵconditionalCreate(2, EntityViewerComponent_Conditional_1_Conditional_2_Template, 3, 1, "div", 12);
91
- i0.ɵɵconditionalCreate(3, EntityViewerComponent_Conditional_1_Conditional_3_Template, 1, 3, "mj-view-type-switcher", 13);
92
- i0.ɵɵconditionalCreate(4, EntityViewerComponent_Conditional_1_Conditional_4_Template, 1, 1, "mj-recycle-bin-chip", 14);
91
+ i0.ɵɵconditionalCreate(1, EntityViewerComponent_Conditional_1_Conditional_1_Template, 4, 3, "div", 12);
92
+ i0.ɵɵconditionalCreate(2, EntityViewerComponent_Conditional_1_Conditional_2_Template, 3, 1, "div", 13);
93
+ i0.ɵɵconditionalCreate(3, EntityViewerComponent_Conditional_1_Conditional_3_Template, 1, 3, "mj-view-type-switcher", 14);
94
+ i0.ɵɵconditionalCreate(4, EntityViewerComponent_Conditional_1_Conditional_4_Template, 1, 2, "mj-recycle-bin-chip", 15);
93
95
  i0.ɵɵelementEnd();
94
96
  } if (rf & 2) {
95
97
  const ctx_r1 = i0.ɵɵnextContext();
@@ -102,16 +104,61 @@ function EntityViewerComponent_Conditional_1_Template(rf, ctx) { if (rf & 1) {
102
104
  i0.ɵɵadvance();
103
105
  i0.ɵɵconditional(ctx_r1.ShowRecycleBin ? 4 : -1);
104
106
  } }
105
- function EntityViewerComponent_Conditional_7_Template(rf, ctx) { if (rf & 1) {
106
- i0.ɵɵelement(0, "mj-empty-state", 8);
107
+ function EntityViewerComponent_Conditional_2_For_2_Conditional_1_Template(rf, ctx) { if (rf & 1) {
108
+ i0.ɵɵelement(0, "i", 25);
109
+ } }
110
+ function EntityViewerComponent_Conditional_2_For_2_Template(rf, ctx) { if (rf & 1) {
111
+ i0.ɵɵelementStart(0, "span", 24);
112
+ i0.ɵɵconditionalCreate(1, EntityViewerComponent_Conditional_2_For_2_Conditional_1_Template, 1, 0, "i", 25);
113
+ i0.ɵɵelementStart(2, "span", 26);
114
+ i0.ɵɵtext(3);
115
+ i0.ɵɵelementEnd();
116
+ i0.ɵɵelementStart(4, "span", 27);
117
+ i0.ɵɵtext(5);
118
+ i0.ɵɵelementEnd()();
119
+ } if (rf & 2) {
120
+ const chip_r5 = ctx.$implicit;
121
+ i0.ɵɵclassProp("server-set", chip_r5.ServerSet);
122
+ i0.ɵɵattribute("title", chip_r5.Description);
123
+ i0.ɵɵadvance();
124
+ i0.ɵɵconditional(chip_r5.ServerSet ? 1 : -1);
125
+ i0.ɵɵadvance(2);
126
+ i0.ɵɵtextInterpolate(chip_r5.Name);
127
+ i0.ɵɵadvance(2);
128
+ i0.ɵɵtextInterpolate(chip_r5.Value);
129
+ } }
130
+ function EntityViewerComponent_Conditional_2_Conditional_3_Template(rf, ctx) { if (rf & 1) {
131
+ i0.ɵɵelementStart(0, "span", 23);
132
+ i0.ɵɵelement(1, "i", 28);
133
+ i0.ɵɵtext(2);
134
+ i0.ɵɵelementEnd();
135
+ } if (rf & 2) {
136
+ const ctx_r1 = i0.ɵɵnextContext(2);
137
+ i0.ɵɵadvance(2);
138
+ i0.ɵɵtextInterpolate1(" ", ctx_r1.ViewRunError, " ");
139
+ } }
140
+ function EntityViewerComponent_Conditional_2_Template(rf, ctx) { if (rf & 1) {
141
+ i0.ɵɵelementStart(0, "div", 3);
142
+ i0.ɵɵrepeaterCreate(1, EntityViewerComponent_Conditional_2_For_2_Template, 6, 6, "span", 22, _forTrack0);
143
+ i0.ɵɵconditionalCreate(3, EntityViewerComponent_Conditional_2_Conditional_3_Template, 3, 1, "span", 23);
144
+ i0.ɵɵelementEnd();
145
+ } if (rf & 2) {
146
+ const ctx_r1 = i0.ɵɵnextContext();
147
+ i0.ɵɵadvance();
148
+ i0.ɵɵrepeater(ctx_r1.PropertyChips);
149
+ i0.ɵɵadvance(2);
150
+ i0.ɵɵconditional(ctx_r1.ViewRunError ? 3 : -1);
107
151
  } }
108
152
  function EntityViewerComponent_Conditional_8_Template(rf, ctx) { if (rf & 1) {
109
153
  i0.ɵɵelement(0, "mj-empty-state", 9);
154
+ } }
155
+ function EntityViewerComponent_Conditional_9_Template(rf, ctx) { if (rf & 1) {
156
+ i0.ɵɵelement(0, "mj-empty-state", 10);
110
157
  } if (rf & 2) {
111
158
  const ctx_r1 = i0.ɵɵnextContext();
112
159
  i0.ɵɵproperty("Variant", ctx_r1.IsNoRecordsFiltered ? "no-results" : "empty")("Title", ctx_r1.NoRecordsTitle);
113
160
  } }
114
- function EntityViewerComponent_ng_template_10_Template(rf, ctx) { }
161
+ function EntityViewerComponent_ng_template_11_Template(rf, ctx) { }
115
162
  /**
116
163
  * EntityViewerComponent - Full-featured composite component for viewing entity data
117
164
  *
@@ -171,6 +218,7 @@ export class EntityViewerComponent extends BaseAngularComponent {
171
218
  _filterText = null;
172
219
  _sortState = null;
173
220
  _viewEntity = null;
221
+ _alternateBaseView = null;
174
222
  _initialized = false;
175
223
  /**
176
224
  * When true, the next {@link LoadData} loads the full record set (up to
@@ -427,6 +475,61 @@ export class EntityViewerComponent extends BaseAngularComponent {
427
475
  this.deferReload();
428
476
  }
429
477
  }
478
+ /**
479
+ * Optional semantic `Name` of a registered alternate base view on the entity (`MJ: Entity Alternate Base Views.Name`).
480
+ * When provided, takes precedence over `ViewEntity.AlternateBaseView` for all `RunView` / `RunViews` queries.
481
+ */
482
+ get AlternateBaseView() {
483
+ return this._alternateBaseView;
484
+ }
485
+ set AlternateBaseView(value) {
486
+ const normalized = value?.trim() || null;
487
+ const previous = this._alternateBaseView;
488
+ this._alternateBaseView = normalized;
489
+ if (this._initialized && normalized !== previous) {
490
+ this.pushDynamicRendererInputs();
491
+ if (this._entity && !this._records) {
492
+ this.resetPaginationState(false);
493
+ this.deferReload();
494
+ }
495
+ }
496
+ }
497
+ /**
498
+ * Effective alternate base view semantic name: explicit `[AlternateBaseView]` input wins over
499
+ * `ViewEntity.AlternateBaseView`.
500
+ */
501
+ get EffectiveAlternateBaseView() {
502
+ const raw = this._alternateBaseView ?? this.ViewEntity?.AlternateBaseView ?? null;
503
+ return raw?.trim() || null;
504
+ }
505
+ /**
506
+ * Values for the view's declared properties (`MJ: User Views.Properties`), keyed by property
507
+ * name. Used only when the view declares properties: the viewer then runs the view by its ID with
508
+ * these values, so the server applies the view's own filter and every property, including those
509
+ * only the server may set. The server refuses a value for a property that does not allow override.
510
+ */
511
+ get Properties() {
512
+ return this._properties;
513
+ }
514
+ set Properties(value) {
515
+ const changed = ViewPropertyValuesKey(value ?? undefined) !== ViewPropertyValuesKey(this._properties ?? undefined);
516
+ this._properties = value;
517
+ if (changed && this._initialized && this._entity && !this._records && this.ViewHasProperties) {
518
+ this.resetPaginationState();
519
+ this.deferReload();
520
+ }
521
+ }
522
+ _properties = null;
523
+ /** True when the current view declares properties, so its rows are loaded by running it by ID. */
524
+ get ViewHasProperties() {
525
+ return (this._viewEntity?.PropertiesObject?.length ?? 0) > 0;
526
+ }
527
+ /** The read-only chips above the grid: one per view property, with the value this run gives it. */
528
+ get PropertyChips() {
529
+ return this.ViewHasProperties ? BuildViewPropertyChips(this._viewEntity?.PropertiesObject, this._properties) : [];
530
+ }
531
+ /** The server's message when a view with properties could not be run (for example, a refused value). */
532
+ ViewRunError = null;
430
533
  _gridState = null;
431
534
  /**
432
535
  * True when {@link _gridState} was CAPTURED FROM THE RENDERER (the user resized, reordered or
@@ -1098,7 +1201,8 @@ export class EntityViewerComponent extends BaseAngularComponent {
1098
1201
  _pendingReloadKeepsPage = false;
1099
1202
  /**
1100
1203
  * Fetches the FULL result set for the current entity/view (up to {@link EXPORT_MAX_RECORDS}),
1101
- * honoring the active sort, business filter (WhereClause) and user search — used by the grid's
1204
+ * honoring the active sort, business filter (`WhereClause`, or running by `ViewID` with
1205
+ * `Properties` when the view declares properties) and user search — used by the grid's
1102
1206
  * export and add-all-to-list flows so they aren't capped at the on-screen page (bugs C1/E3). Bound
1103
1207
  * as an arrow property so it can be pushed to a dynamically-mounted renderer's `exportDataProvider`
1104
1208
  * input without losing `this`. If the true result count exceeds the cap, the user is warned that
@@ -1127,14 +1231,13 @@ export class EntityViewerComponent extends BaseAngularComponent {
1127
1231
  .join(', ');
1128
1232
  }
1129
1233
  const result = await rv.RunView({
1130
- EntityName: entity.Name,
1234
+ ...this.BuildViewTargetParams(entity),
1131
1235
  ResultType: 'simple',
1132
1236
  // No page window — load every matching row up to the safety cap, honoring the same
1133
- // business filter + user search as the paged load path.
1237
+ // business filter, view properties and user search as the paged load path.
1134
1238
  MaxRows: EntityViewerComponent.EXPORT_MAX_RECORDS,
1135
1239
  StartRow: 0,
1136
1240
  OrderBy: orderBy,
1137
- ExtraFilter: this.ViewEntity?.WhereClause || undefined,
1138
1241
  UserSearchString: config.serverSideFiltering && !this.ViewEntity?.SmartFilterEnabled
1139
1242
  ? this.DebouncedFilterText || undefined
1140
1243
  : undefined
@@ -1154,6 +1257,30 @@ export class EntityViewerComponent extends BaseAngularComponent {
1154
1257
  }
1155
1258
  return this.InternalRecords;
1156
1259
  };
1260
+ /**
1261
+ * The params that aim a run at this view's rows. A view with properties runs by its ID, with
1262
+ * {@link Properties}, so the server applies the view's own filter and every property, including
1263
+ * those only it may set. Every other view keeps the dynamic run it has always had: the entity
1264
+ * plus the view's WhereClause as ExtraFilter.
1265
+ */
1266
+ BuildViewTargetParams(entity) {
1267
+ const view = this._viewEntity;
1268
+ const altBaseView = this.EffectiveAlternateBaseView || undefined;
1269
+ const abvSpread = altBaseView ? { AlternateBaseView: altBaseView } : {};
1270
+ if (!view || !this.ViewHasProperties) {
1271
+ return { EntityName: entity.Name, ExtraFilter: view?.WhereClause || undefined, ...abvSpread };
1272
+ }
1273
+ return {
1274
+ EntityName: entity.Name,
1275
+ ViewID: view.ID,
1276
+ ViewEntity: view,
1277
+ Properties: { ...(this._properties ?? {}) },
1278
+ ...abvSpread,
1279
+ // A stored view returns only its saved columns; ask for what the dynamic run returns, so
1280
+ // every view type and the export get the same columns either way.
1281
+ Fields: entity.Fields.filter(f => !f.IsBinaryFieldType).map(f => f.Name),
1282
+ };
1283
+ }
1157
1284
  /**
1158
1285
  * Load data for the current entity with server-side filtering/sorting/pagination
1159
1286
  */
@@ -1205,9 +1332,9 @@ export class EntityViewerComponent extends BaseAngularComponent {
1205
1332
  // — the container never inspects which plug-in is mounted.
1206
1333
  const maxRows = this._loadAllRecords ? EntityViewerComponent.LOAD_ALL_MAX_RECORDS : config.pageSize;
1207
1334
  const startRow = this._loadAllRecords ? 0 : this.Pagination.currentPage * config.pageSize;
1208
- // Build ExtraFilter from view's WhereClause if available
1209
- // The view's WhereClause is the "business filter" - UserSearchString is additive
1210
- const extraFilter = this.ViewEntity?.WhereClause || undefined;
1335
+ // The view's WhereClause is the "business filter" (or, for a view with properties, the view
1336
+ // itself run by ID) - UserSearchString is additive
1337
+ const target = this.BuildViewTargetParams(entity);
1211
1338
  const userSearchString = config.serverSideFiltering && !this.ViewEntity?.SmartFilterEnabled
1212
1339
  ? this.DebouncedFilterText || undefined
1213
1340
  : undefined;
@@ -1216,18 +1343,16 @@ export class EntityViewerComponent extends BaseAngularComponent {
1216
1343
  // page length whenever the server skipped COUNT.
1217
1344
  const [result, countResult] = await rv.RunViews([
1218
1345
  {
1219
- EntityName: entity.Name,
1346
+ ...target,
1220
1347
  ResultType: 'simple',
1221
1348
  MaxRows: maxRows,
1222
1349
  StartRow: startRow,
1223
1350
  OrderBy: orderBy,
1224
- ExtraFilter: extraFilter,
1225
1351
  UserSearchString: userSearchString,
1226
1352
  },
1227
1353
  {
1228
- EntityName: entity.Name,
1354
+ ...target,
1229
1355
  ResultType: 'count_only',
1230
- ExtraFilter: extraFilter,
1231
1356
  UserSearchString: userSearchString,
1232
1357
  IgnoreMaxRows: true,
1233
1358
  },
@@ -1236,6 +1361,7 @@ export class EntityViewerComponent extends BaseAngularComponent {
1236
1361
  if (loadId !== this._loadSequence) {
1237
1362
  return;
1238
1363
  }
1364
+ this.ViewRunError = !result.Success && target.ViewID ? result.ErrorMessage || 'The view could not be run.' : null;
1239
1365
  if (result.Success) {
1240
1366
  // Always replace records (page-based navigation, not accumulation)
1241
1367
  this.InternalRecords = result.Results;
@@ -1259,19 +1385,24 @@ export class EntityViewerComponent extends BaseAngularComponent {
1259
1385
  });
1260
1386
  }
1261
1387
  else {
1262
- if (this.isInitialLoad) {
1263
- this.InternalRecords = [];
1264
- }
1388
+ this.InternalRecords = [];
1265
1389
  this.TotalRecordCount = 0;
1266
1390
  this.FilteredRecordCount = 0;
1391
+ this.Pagination.totalRecords = 0;
1392
+ if (result.ErrorMessage) {
1393
+ LogError(`[EntityViewer] Failed to load data for "${entity.Name}": ${result.ErrorMessage}`);
1394
+ MJNotificationService.Instance?.CreateSimpleNotification(result.ErrorMessage, 'error', 5000);
1395
+ }
1267
1396
  }
1268
1397
  }
1269
1398
  catch (error) {
1270
- if (this.isInitialLoad) {
1271
- this.InternalRecords = [];
1272
- }
1399
+ this.ViewRunError = this.ViewHasProperties ? (error instanceof Error ? error.message : String(error)) : null;
1400
+ this.InternalRecords = [];
1273
1401
  this.TotalRecordCount = 0;
1274
1402
  this.FilteredRecordCount = 0;
1403
+ this.Pagination.totalRecords = 0;
1404
+ const errMsg = error instanceof Error ? error.message : String(error);
1405
+ LogError(`[EntityViewer] Exception loading data for "${entity.Name}": ${errMsg}`);
1275
1406
  }
1276
1407
  finally {
1277
1408
  // Use ngZone.run() to ensure state changes trigger change detection.
@@ -1645,7 +1776,7 @@ export class EntityViewerComponent extends BaseAngularComponent {
1645
1776
  * per-user User Settings (the default-view case), or nowhere.
1646
1777
  */
1647
1778
  persistenceTarget() {
1648
- if (this._viewEntity?.ID) {
1779
+ if (this._viewEntity?.ID && this._viewEntity.UserCanEdit) {
1649
1780
  return 'record';
1650
1781
  }
1651
1782
  if (this.EffectiveEntity) {
@@ -1900,6 +2031,7 @@ export class EntityViewerComponent extends BaseAngularComponent {
1900
2031
  this.setDynamicInput(ref, 'page', this.Pagination.currentPage + 1);
1901
2032
  this.setDynamicInput(ref, 'pageSize', this.Pagination.pageSize);
1902
2033
  this.setDynamicInput(ref, 'isLoading', this.IsLoading);
2034
+ this.setDynamicInput(ref, 'alternateBaseView', this.EffectiveAlternateBaseView);
1903
2035
  }
1904
2036
  // ========================================
1905
2037
  // CANONICAL GRID-STATE BRIDGE
@@ -2121,24 +2253,27 @@ export class EntityViewerComponent extends BaseAngularComponent {
2121
2253
  } if (rf & 2) {
2122
2254
  let _t;
2123
2255
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.dynamicViewHost = _t.first);
2124
- } }, hostAttrs: [2, "display", "block", "height", "100%"], inputs: { Entity: "Entity", EntityName: "EntityName", EntityID: "EntityID", ViewID: "ViewID", Records: "Records", Config: "Config", SelectedRecordID: "SelectedRecordID", FilterText: "FilterText", SortState: "SortState", ViewEntity: "ViewEntity", GridState: "GridState", ShowRecycleBin: "ShowRecycleBin", ViewTypeID: "ViewTypeID", ViewTypeConfigs: "ViewTypeConfigs", AutoSaveView: "AutoSaveView" }, outputs: { RecordSelected: "RecordSelected", RecordOpened: "RecordOpened", DataLoaded: "DataLoaded", FilterTextChange: "FilterTextChange", FilteredCountChanged: "FilteredCountChanged", OpenRelatedRecordRequested: "OpenRelatedRecordRequested", CreateRecordRequested: "CreateRecordRequested", ConfigureRequested: "ConfigureRequested", BeforeViewTypeChange: "BeforeViewTypeChange", AfterViewTypeChange: "AfterViewTypeChange", BeforeViewTypeConfigChange: "BeforeViewTypeConfigChange", AfterViewTypeConfigChange: "AfterViewTypeConfigChange" }, standalone: false, features: [i0.ɵɵInheritDefinitionFeature], decls: 12, vars: 10, consts: [["dynamicViewHost", ""], [1, "entity-viewer-container"], [1, "viewer-header"], [1, "viewer-content"], [1, "loading-container", 3, "hidden"], ["size", "medium", 3, "text"], [1, "loading-overlay", 3, "hidden"], ["size", "small", 3, "text"], ["Icon", "fa-solid fa-database", "Title", "Select an entity to view records", 1, "empty-state-fill"], [1, "empty-state-fill", 3, "Variant", "Title"], [1, "dynamic-view-host", 3, "hidden"], [1, "filter-container"], [1, "record-count"], [3, "Provider", "Entity", "ActiveViewTypeID"], [3, "EntityName"], [1, "fa-solid", "fa-search", "filter-icon"], ["type", "text", 1, "filter-input", 3, "input", "placeholder", "value"], ["title", "Clear filter", 1, "clear-filter-btn"], ["title", "Clear filter", 1, "clear-filter-btn", 3, "click"], [1, "fa-solid", "fa-times"], [3, "ViewTypeSelected", "Provider", "Entity", "ActiveViewTypeID"]], template: function EntityViewerComponent_Template(rf, ctx) { if (rf & 1) {
2256
+ } }, hostAttrs: [2, "display", "block", "height", "100%"], inputs: { Entity: "Entity", EntityName: "EntityName", EntityID: "EntityID", ViewID: "ViewID", Records: "Records", Config: "Config", SelectedRecordID: "SelectedRecordID", FilterText: "FilterText", SortState: "SortState", ViewEntity: "ViewEntity", AlternateBaseView: "AlternateBaseView", Properties: "Properties", GridState: "GridState", ShowRecycleBin: "ShowRecycleBin", ViewTypeID: "ViewTypeID", ViewTypeConfigs: "ViewTypeConfigs", AutoSaveView: "AutoSaveView" }, outputs: { RecordSelected: "RecordSelected", RecordOpened: "RecordOpened", DataLoaded: "DataLoaded", FilterTextChange: "FilterTextChange", FilteredCountChanged: "FilteredCountChanged", OpenRelatedRecordRequested: "OpenRelatedRecordRequested", CreateRecordRequested: "CreateRecordRequested", ConfigureRequested: "ConfigureRequested", BeforeViewTypeChange: "BeforeViewTypeChange", AfterViewTypeChange: "AfterViewTypeChange", BeforeViewTypeConfigChange: "BeforeViewTypeConfigChange", AfterViewTypeConfigChange: "AfterViewTypeConfigChange" }, standalone: false, features: [i0.ɵɵInheritDefinitionFeature], decls: 13, vars: 11, consts: [["dynamicViewHost", ""], [1, "entity-viewer-container"], [1, "viewer-header"], ["role", "list", "aria-label", "View properties", 1, "view-properties-row"], [1, "viewer-content"], [1, "loading-container", 3, "hidden"], ["size", "medium", 3, "text"], [1, "loading-overlay", 3, "hidden"], ["size", "small", 3, "text"], ["Icon", "fa-solid fa-database", "Title", "Select an entity to view records", 1, "empty-state-fill"], [1, "empty-state-fill", 3, "Variant", "Title"], [1, "dynamic-view-host", 3, "hidden"], [1, "filter-container"], [1, "record-count"], [3, "Provider", "Entity", "ActiveViewTypeID"], [3, "Provider", "EntityName"], [1, "fa-solid", "fa-search", "filter-icon"], ["type", "text", 1, "filter-input", 3, "input", "placeholder", "value"], ["title", "Clear filter", 1, "clear-filter-btn"], ["title", "Clear filter", 1, "clear-filter-btn", 3, "click"], [1, "fa-solid", "fa-times"], [3, "ViewTypeSelected", "Provider", "Entity", "ActiveViewTypeID"], ["role", "listitem", 1, "view-property-chip", 3, "server-set"], ["role", "alert", 1, "view-properties-error"], ["role", "listitem", 1, "view-property-chip"], ["aria-hidden", "true", 1, "fa-solid", "fa-lock"], [1, "view-property-name"], [1, "view-property-value"], ["aria-hidden", "true", 1, "fa-solid", "fa-triangle-exclamation"]], template: function EntityViewerComponent_Template(rf, ctx) { if (rf & 1) {
2125
2257
  i0.ɵɵelementStart(0, "div", 1);
2126
2258
  i0.ɵɵconditionalCreate(1, EntityViewerComponent_Conditional_1_Template, 5, 4, "div", 2);
2127
- i0.ɵɵelementStart(2, "div", 3)(3, "div", 4);
2128
- i0.ɵɵelement(4, "mj-loading", 5);
2259
+ i0.ɵɵconditionalCreate(2, EntityViewerComponent_Conditional_2_Template, 4, 1, "div", 3);
2260
+ i0.ɵɵelementStart(3, "div", 4)(4, "div", 5);
2261
+ i0.ɵɵelement(5, "mj-loading", 6);
2129
2262
  i0.ɵɵelementEnd();
2130
- i0.ɵɵelementStart(5, "div", 6);
2131
- i0.ɵɵelement(6, "mj-loading", 7);
2263
+ i0.ɵɵelementStart(6, "div", 7);
2264
+ i0.ɵɵelement(7, "mj-loading", 8);
2132
2265
  i0.ɵɵelementEnd();
2133
- i0.ɵɵconditionalCreate(7, EntityViewerComponent_Conditional_7_Template, 1, 0, "mj-empty-state", 8);
2134
- i0.ɵɵconditionalCreate(8, EntityViewerComponent_Conditional_8_Template, 1, 2, "mj-empty-state", 9);
2135
- i0.ɵɵelementStart(9, "div", 10);
2136
- i0.ɵɵtemplate(10, EntityViewerComponent_ng_template_10_Template, 0, 0, "ng-template", null, 0, i0.ɵɵtemplateRefExtractor);
2266
+ i0.ɵɵconditionalCreate(8, EntityViewerComponent_Conditional_8_Template, 1, 0, "mj-empty-state", 9);
2267
+ i0.ɵɵconditionalCreate(9, EntityViewerComponent_Conditional_9_Template, 1, 2, "mj-empty-state", 10);
2268
+ i0.ɵɵelementStart(10, "div", 11);
2269
+ i0.ɵɵtemplate(11, EntityViewerComponent_ng_template_11_Template, 0, 0, "ng-template", null, 0, i0.ɵɵtemplateRefExtractor);
2137
2270
  i0.ɵɵelementEnd()()();
2138
2271
  } if (rf & 2) {
2139
2272
  i0.ɵɵstyleProp("height", ctx.EffectiveConfig.height);
2140
2273
  i0.ɵɵadvance();
2141
2274
  i0.ɵɵconditional(ctx.EffectiveConfig.showFilter || ctx.EffectiveConfig.showViewModeToggle || ctx.EffectiveConfig.showRecordCount ? 1 : -1);
2275
+ i0.ɵɵadvance();
2276
+ i0.ɵɵconditional(ctx.PropertyChips.length > 0 ? 2 : -1);
2142
2277
  i0.ɵɵadvance(2);
2143
2278
  i0.ɵɵproperty("hidden", !(ctx.IsLoading && ctx.FilteredRecords.length === 0));
2144
2279
  i0.ɵɵadvance();
@@ -2148,18 +2283,18 @@ export class EntityViewerComponent extends BaseAngularComponent {
2148
2283
  i0.ɵɵadvance();
2149
2284
  i0.ɵɵproperty("text", ctx.LoadingMessage);
2150
2285
  i0.ɵɵadvance();
2151
- i0.ɵɵconditional(!ctx.EffectiveEntity ? 7 : -1);
2286
+ i0.ɵɵconditional(!ctx.EffectiveEntity ? 8 : -1);
2152
2287
  i0.ɵɵadvance();
2153
- i0.ɵɵconditional(ctx.EffectiveEntity && ctx.FilteredRecords.length === 0 && !ctx.IsLoading && !ctx.IsDynamicViewActive ? 8 : -1);
2288
+ i0.ɵɵconditional(ctx.EffectiveEntity && ctx.FilteredRecords.length === 0 && !ctx.IsLoading && !ctx.IsDynamicViewActive ? 9 : -1);
2154
2289
  i0.ɵɵadvance();
2155
2290
  i0.ɵɵproperty("hidden", !ctx.EffectiveEntity);
2156
- } }, dependencies: [i1.LoadingComponent, i2.MJEmptyStateComponent, i3.RecycleBinChipComponent, i4.ViewTypeSwitcherComponent, i5.DecimalPipe], styles: [".entity-viewer-container[_ngcontent-%COMP%] {\n display: flex;\n flex-direction: column;\n width: 100%;\n height: 100%;\n background: var(--mj-bg-surface-card);\n}\n\n\n.viewer-header[_ngcontent-%COMP%] {\n display: flex;\n align-items: center;\n gap: 16px;\n padding: 12px 16px;\n background: var(--mj-bg-surface);\n border-bottom: 1px solid var(--mj-border-default);\n flex-shrink: 0;\n}\n\n\n.filter-container[_ngcontent-%COMP%] {\n flex: 1;\n max-width: 400px;\n position: relative;\n display: flex;\n align-items: center;\n}\n\n.filter-icon[_ngcontent-%COMP%] {\n position: absolute;\n left: 12px;\n color: var(--mj-text-disabled);\n font-size: 14px;\n pointer-events: none;\n}\n\n.filter-input[_ngcontent-%COMP%] {\n width: 100%;\n padding: 8px 36px 8px 36px;\n border: 1px solid var(--mj-border-default);\n border-radius: 6px;\n font-size: 14px;\n outline: none;\n transition: border-color 0.15s ease;\n}\n\n.filter-input[_ngcontent-%COMP%]:focus {\n border-color: var(--mj-brand-primary);\n}\n\n.filter-input[_ngcontent-%COMP%]::placeholder {\n color: var(--mj-text-disabled);\n}\n\n.clear-filter-btn[_ngcontent-%COMP%] {\n position: absolute;\n right: 8px;\n width: 20px;\n height: 20px;\n border: none;\n background: transparent;\n border-radius: 50%;\n cursor: pointer;\n display: flex;\n align-items: center;\n justify-content: center;\n color: var(--mj-text-disabled);\n transition: all 0.15s ease;\n}\n\n.clear-filter-btn[_ngcontent-%COMP%]:hover {\n background: var(--mj-bg-surface-card);\n color: var(--mj-text-secondary);\n}\n\n\n.record-count[_ngcontent-%COMP%] {\n font-size: 13px;\n color: var(--mj-text-muted);\n white-space: nowrap;\n}\n\n\n.view-mode-toggle[_ngcontent-%COMP%] {\n display: flex;\n background: var(--mj-bg-surface-card);\n border-radius: 6px;\n padding: 2px;\n}\n\n.toggle-btn[_ngcontent-%COMP%] {\n width: 32px;\n height: 32px;\n border: none;\n background: transparent;\n border-radius: 4px;\n cursor: pointer;\n display: flex;\n align-items: center;\n justify-content: center;\n color: var(--mj-text-muted);\n transition: all 0.15s ease;\n}\n\n.toggle-btn[_ngcontent-%COMP%]:hover {\n color: var(--mj-text-secondary);\n}\n\n.toggle-btn.active[_ngcontent-%COMP%] {\n background: var(--mj-bg-surface);\n color: var(--mj-brand-primary);\n box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);\n}\n\n\n.view-type-dropdown[_ngcontent-%COMP%] {\n position: relative;\n display: inline-flex;\n}\n\n.view-type-dropdown-trigger[_ngcontent-%COMP%] {\n width: auto;\n gap: 6px;\n padding: 0 10px;\n}\n\n.view-type-dropdown-label[_ngcontent-%COMP%] {\n font-size: 13px;\n font-weight: 500;\n}\n\n.view-type-dropdown-caret[_ngcontent-%COMP%] {\n font-size: 10px;\n opacity: 0.7;\n}\n\n.view-type-dropdown-menu[_ngcontent-%COMP%] {\n position: absolute;\n top: calc(100% + 4px);\n right: 0;\n z-index: 20;\n min-width: 180px;\n background: var(--mj-bg-surface-elevated);\n border: 1px solid var(--mj-border-default);\n border-radius: 8px;\n box-shadow: 0 8px 24px color-mix(in srgb, var(--mj-text-primary) 14%, transparent);\n padding: 4px;\n display: flex;\n flex-direction: column;\n}\n\n.view-type-dropdown-item[_ngcontent-%COMP%] {\n display: flex;\n align-items: center;\n gap: 10px;\n width: 100%;\n padding: 8px 10px;\n border: none;\n background: transparent;\n border-radius: 6px;\n cursor: pointer;\n color: var(--mj-text-secondary);\n font-size: 13px;\n text-align: left;\n transition: background 0.12s ease, color 0.12s ease;\n}\n\n.view-type-dropdown-item[_ngcontent-%COMP%]:hover {\n background: var(--mj-bg-surface-hover);\n color: var(--mj-text-primary);\n}\n\n.view-type-dropdown-item.active[_ngcontent-%COMP%] {\n color: var(--mj-brand-primary);\n background: color-mix(in srgb, var(--mj-brand-primary) 10%, transparent);\n}\n\n.view-type-dropdown-item[_ngcontent-%COMP%] i[_ngcontent-%COMP%] {\n width: 16px;\n text-align: center;\n}\n\n\n.dynamic-view-host[_ngcontent-%COMP%] {\n height: 100%;\n width: 100%;\n overflow: auto;\n}\n\n\n.viewer-content[_ngcontent-%COMP%] {\n flex: 1;\n min-height: 0;\n overflow: hidden;\n position: relative;\n background: var(--mj-bg-surface);\n}\n\n\n.loading-container[_ngcontent-%COMP%] {\n display: flex;\n align-items: center;\n justify-content: center;\n height: 100%;\n}\n\n\n.loading-overlay[_ngcontent-%COMP%] {\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n background: color-mix(in srgb, var(--mj-bg-surface) 80%, transparent);\n z-index: 10;\n display: flex;\n align-items: center;\n justify-content: center;\n}\n\n\n.loading-container[hidden][_ngcontent-%COMP%], \n.loading-overlay[hidden][_ngcontent-%COMP%] {\n display: none !important;\n}\n\n\n.empty-state-fill[_ngcontent-%COMP%] {\n height: 100%;\n}\n\n\n.dynamic-view-host[hidden][_ngcontent-%COMP%] {\n display: none !important;\n}"] });
2291
+ } }, dependencies: [i1.LoadingComponent, i2.MJEmptyStateComponent, i3.RecycleBinChipComponent, i4.ViewTypeSwitcherComponent, i5.DecimalPipe], styles: [".entity-viewer-container[_ngcontent-%COMP%] {\n display: flex;\n flex-direction: column;\n width: 100%;\n height: 100%;\n background: var(--mj-bg-surface-card);\n}\n\n\n.viewer-header[_ngcontent-%COMP%] {\n display: flex;\n align-items: center;\n gap: 16px;\n padding: 12px 16px;\n background: var(--mj-bg-surface);\n border-bottom: 1px solid var(--mj-border-default);\n flex-shrink: 0;\n}\n\n\n.view-properties-row[_ngcontent-%COMP%] {\n display: flex;\n flex-wrap: wrap;\n align-items: center;\n gap: var(--mj-space-2);\n padding: var(--mj-space-2) var(--mj-space-4);\n background: var(--mj-bg-surface);\n border-bottom: 1px solid var(--mj-border-subtle);\n flex-shrink: 0;\n}\n\n.view-property-chip[_ngcontent-%COMP%] {\n display: inline-flex;\n align-items: center;\n gap: var(--mj-space-1);\n padding: 3px 10px;\n border-radius: var(--mj-radius-full);\n border: 1px solid var(--mj-border-default);\n background: var(--mj-bg-surface-card);\n font-size: var(--mj-text-xs);\n}\n\n.view-property-name[_ngcontent-%COMP%] {\n color: var(--mj-text-muted);\n}\n\n.view-property-value[_ngcontent-%COMP%] {\n color: var(--mj-text-primary);\n font-weight: 600;\n}\n\n.view-property-chip.server-set[_ngcontent-%COMP%] {\n background: color-mix(in srgb, var(--mj-status-info) 8%, var(--mj-bg-surface));\n border-color: color-mix(in srgb, var(--mj-status-info) 25%, var(--mj-border-default));\n}\n\n.view-property-chip.server-set[_ngcontent-%COMP%] .view-property-value[_ngcontent-%COMP%] {\n color: var(--mj-text-secondary);\n font-weight: 500;\n}\n\n.view-properties-error[_ngcontent-%COMP%] {\n color: var(--mj-status-error-text);\n font-size: var(--mj-text-xs);\n}\n\n\n.filter-container[_ngcontent-%COMP%] {\n flex: 1;\n max-width: 400px;\n position: relative;\n display: flex;\n align-items: center;\n}\n\n.filter-icon[_ngcontent-%COMP%] {\n position: absolute;\n left: 12px;\n color: var(--mj-text-disabled);\n font-size: 14px;\n pointer-events: none;\n}\n\n.filter-input[_ngcontent-%COMP%] {\n width: 100%;\n padding: 8px 36px 8px 36px;\n border: 1px solid var(--mj-border-default);\n border-radius: 6px;\n font-size: 14px;\n outline: none;\n transition: border-color 0.15s ease;\n}\n\n.filter-input[_ngcontent-%COMP%]:focus {\n border-color: var(--mj-brand-primary);\n}\n\n.filter-input[_ngcontent-%COMP%]::placeholder {\n color: var(--mj-text-disabled);\n}\n\n.clear-filter-btn[_ngcontent-%COMP%] {\n position: absolute;\n right: 8px;\n width: 20px;\n height: 20px;\n border: none;\n background: transparent;\n border-radius: 50%;\n cursor: pointer;\n display: flex;\n align-items: center;\n justify-content: center;\n color: var(--mj-text-disabled);\n transition: all 0.15s ease;\n}\n\n.clear-filter-btn[_ngcontent-%COMP%]:hover {\n background: var(--mj-bg-surface-card);\n color: var(--mj-text-secondary);\n}\n\n\n.record-count[_ngcontent-%COMP%] {\n font-size: 13px;\n color: var(--mj-text-muted);\n white-space: nowrap;\n}\n\n\n.view-mode-toggle[_ngcontent-%COMP%] {\n display: flex;\n background: var(--mj-bg-surface-card);\n border-radius: 6px;\n padding: 2px;\n}\n\n.toggle-btn[_ngcontent-%COMP%] {\n width: 32px;\n height: 32px;\n border: none;\n background: transparent;\n border-radius: 4px;\n cursor: pointer;\n display: flex;\n align-items: center;\n justify-content: center;\n color: var(--mj-text-muted);\n transition: all 0.15s ease;\n}\n\n.toggle-btn[_ngcontent-%COMP%]:hover {\n color: var(--mj-text-secondary);\n}\n\n.toggle-btn.active[_ngcontent-%COMP%] {\n background: var(--mj-bg-surface);\n color: var(--mj-brand-primary);\n box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);\n}\n\n\n.view-type-dropdown[_ngcontent-%COMP%] {\n position: relative;\n display: inline-flex;\n}\n\n.view-type-dropdown-trigger[_ngcontent-%COMP%] {\n width: auto;\n gap: 6px;\n padding: 0 10px;\n}\n\n.view-type-dropdown-label[_ngcontent-%COMP%] {\n font-size: 13px;\n font-weight: 500;\n}\n\n.view-type-dropdown-caret[_ngcontent-%COMP%] {\n font-size: 10px;\n opacity: 0.7;\n}\n\n.view-type-dropdown-menu[_ngcontent-%COMP%] {\n position: absolute;\n top: calc(100% + 4px);\n right: 0;\n z-index: 20;\n min-width: 180px;\n background: var(--mj-bg-surface-elevated);\n border: 1px solid var(--mj-border-default);\n border-radius: 8px;\n box-shadow: 0 8px 24px color-mix(in srgb, var(--mj-text-primary) 14%, transparent);\n padding: 4px;\n display: flex;\n flex-direction: column;\n}\n\n.view-type-dropdown-item[_ngcontent-%COMP%] {\n display: flex;\n align-items: center;\n gap: 10px;\n width: 100%;\n padding: 8px 10px;\n border: none;\n background: transparent;\n border-radius: 6px;\n cursor: pointer;\n color: var(--mj-text-secondary);\n font-size: 13px;\n text-align: left;\n transition: background 0.12s ease, color 0.12s ease;\n}\n\n.view-type-dropdown-item[_ngcontent-%COMP%]:hover {\n background: var(--mj-bg-surface-hover);\n color: var(--mj-text-primary);\n}\n\n.view-type-dropdown-item.active[_ngcontent-%COMP%] {\n color: var(--mj-brand-primary);\n background: color-mix(in srgb, var(--mj-brand-primary) 10%, transparent);\n}\n\n.view-type-dropdown-item[_ngcontent-%COMP%] i[_ngcontent-%COMP%] {\n width: 16px;\n text-align: center;\n}\n\n\n\n\n\n\n.dynamic-view-host[_ngcontent-%COMP%] {\n height: 100%;\n width: 100%;\n overflow: auto;\n position: relative;\n}\n\n\n.viewer-content[_ngcontent-%COMP%] {\n flex: 1;\n min-height: 0;\n overflow: hidden;\n position: relative;\n background: var(--mj-bg-surface);\n}\n\n\n.loading-container[_ngcontent-%COMP%] {\n display: flex;\n align-items: center;\n justify-content: center;\n height: 100%;\n}\n\n\n.loading-overlay[_ngcontent-%COMP%] {\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n background: color-mix(in srgb, var(--mj-bg-surface) 80%, transparent);\n z-index: 10;\n display: flex;\n align-items: center;\n justify-content: center;\n}\n\n\n.loading-container[hidden][_ngcontent-%COMP%], \n.loading-overlay[hidden][_ngcontent-%COMP%] {\n display: none !important;\n}\n\n\n.empty-state-fill[_ngcontent-%COMP%] {\n height: 100%;\n}\n\n\n.dynamic-view-host[hidden][_ngcontent-%COMP%] {\n display: none !important;\n}"] });
2157
2292
  }
2158
2293
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(EntityViewerComponent, [{
2159
2294
  type: Component,
2160
2295
  args: [{ standalone: false, selector: 'mj-entity-viewer', host: {
2161
2296
  'style': 'display: block; height: 100%;'
2162
- }, template: "<div class=\"entity-viewer-container\" [style.height]=\"EffectiveConfig.height\">\n <!-- Header -->\n @if (EffectiveConfig.showFilter || EffectiveConfig.showViewModeToggle || EffectiveConfig.showRecordCount) {\n <div class=\"viewer-header\">\n <!-- Filter Input -->\n @if (EffectiveConfig.showFilter) {\n <div class=\"filter-container\">\n <i class=\"fa-solid fa-search filter-icon\"></i>\n <input\n type=\"text\"\n class=\"filter-input\"\n [placeholder]=\"EffectiveConfig.filterPlaceholder\"\n [value]=\"EffectiveFilterText\"\n (input)=\"OnFilterChange($any($event.target).value)\"\n />\n @if (EffectiveFilterText) {\n <button class=\"clear-filter-btn\" (click)=\"ClearFilter()\" title=\"Clear filter\">\n <i class=\"fa-solid fa-times\"></i>\n </button>\n }\n </div>\n }\n\n <!-- Record Count -->\n @if (EffectiveConfig.showRecordCount && EffectiveEntity) {\n <div class=\"record-count\">\n @if (FilteredRecordCount !== TotalRecordCount) {\n <span>{{ FilteredRecordCount | number }} of {{ TotalRecordCount | number }} records</span>\n } @else {\n <span>{{ TotalRecordCount | number }} records</span>\n }\n </div>\n }\n\n <!-- View Type Toggle \u2014 the reusable switcher, driven entirely by the MJ: View Types\n registry (ViewTypeEngine). The available types and their icons come from metadata\n (ViewType.Icon), filtered by each descriptor's availability predicate. Selecting routes\n back through SelectViewTypeById, which mounts the chosen descriptor's RendererComponent\n into #dynamicViewHost. The container has zero knowledge of any view type's chrome. -->\n @if (EffectiveConfig.showViewModeToggle) {\n <mj-view-type-switcher\n [Provider]=\"Provider\"\n [Entity]=\"EffectiveEntity\"\n [ActiveViewTypeID]=\"ActiveViewTypeId\"\n (ViewTypeSelected)=\"SelectViewTypeById($event.viewTypeId)\">\n </mj-view-type-switcher>\n }\n\n <!-- Recycle Bin chip (auto-hides when entity has no deleted records, no tracking,\n or user lacks Delete permission) -->\n @if (ShowRecycleBin) {\n <mj-recycle-bin-chip [EntityName]=\"EffectiveEntity?.Name ?? null\"></mj-recycle-bin-chip>\n }\n </div>\n }\n\n <!-- Content -->\n <div class=\"viewer-content\">\n <!-- Loading container - full page when no data exists -->\n <div class=\"loading-container\" [hidden]=\"!(IsLoading && FilteredRecords.length === 0)\">\n <mj-loading [text]=\"LoadingMessage\" size=\"medium\"></mj-loading>\n </div>\n\n <!-- Loading overlay - shown on top of content when loading with existing data -->\n <div class=\"loading-overlay\" [hidden]=\"!(IsLoading && FilteredRecords.length > 0)\">\n <mj-loading [text]=\"LoadingMessage\" size=\"small\"></mj-loading>\n </div>\n\n <!-- Empty state: no entity selected -->\n @if (!EffectiveEntity) {\n <mj-empty-state\n class=\"empty-state-fill\"\n Icon=\"fa-solid fa-database\"\n Title=\"Select an entity to view records\" />\n }\n\n <!-- Empty state: no records found. Suppressed while a plug-in is active \u2014 every plug-in renders\n its own empty/loading state, so the container never shows a generic \"no records\" over it. -->\n @if (EffectiveEntity && FilteredRecords.length === 0 && !IsLoading && !IsDynamicViewActive) {\n <mj-empty-state\n class=\"empty-state-fill\"\n [Variant]=\"IsNoRecordsFiltered ? 'no-results' : 'empty'\"\n [Title]=\"NoRecordsTitle\" />\n }\n\n <!-- Plug-in (dynamic) view renderer host \u2014 the ONLY render path. The active descriptor's\n RendererComponent is created into #dynamicViewHost via ViewContainerRef and fed the generic\n IViewRenderer contract. Shown whenever there's an entity; the plug-in owns all its chrome. -->\n <div class=\"dynamic-view-host\" [hidden]=\"!EffectiveEntity\">\n <ng-template #dynamicViewHost></ng-template>\n </div>\n </div>\n\n</div>\n", styles: [".entity-viewer-container {\n display: flex;\n flex-direction: column;\n width: 100%;\n height: 100%;\n background: var(--mj-bg-surface-card);\n}\n\n/* Header */\n.viewer-header {\n display: flex;\n align-items: center;\n gap: 16px;\n padding: 12px 16px;\n background: var(--mj-bg-surface);\n border-bottom: 1px solid var(--mj-border-default);\n flex-shrink: 0;\n}\n\n/* Filter */\n.filter-container {\n flex: 1;\n max-width: 400px;\n position: relative;\n display: flex;\n align-items: center;\n}\n\n.filter-icon {\n position: absolute;\n left: 12px;\n color: var(--mj-text-disabled);\n font-size: 14px;\n pointer-events: none;\n}\n\n.filter-input {\n width: 100%;\n padding: 8px 36px 8px 36px;\n border: 1px solid var(--mj-border-default);\n border-radius: 6px;\n font-size: 14px;\n outline: none;\n transition: border-color 0.15s ease;\n}\n\n.filter-input:focus {\n border-color: var(--mj-brand-primary);\n}\n\n.filter-input::placeholder {\n color: var(--mj-text-disabled);\n}\n\n.clear-filter-btn {\n position: absolute;\n right: 8px;\n width: 20px;\n height: 20px;\n border: none;\n background: transparent;\n border-radius: 50%;\n cursor: pointer;\n display: flex;\n align-items: center;\n justify-content: center;\n color: var(--mj-text-disabled);\n transition: all 0.15s ease;\n}\n\n.clear-filter-btn:hover {\n background: var(--mj-bg-surface-card);\n color: var(--mj-text-secondary);\n}\n\n/* Record Count */\n.record-count {\n font-size: 13px;\n color: var(--mj-text-muted);\n white-space: nowrap;\n}\n\n/* View Mode Toggle */\n.view-mode-toggle {\n display: flex;\n background: var(--mj-bg-surface-card);\n border-radius: 6px;\n padding: 2px;\n}\n\n.toggle-btn {\n width: 32px;\n height: 32px;\n border: none;\n background: transparent;\n border-radius: 4px;\n cursor: pointer;\n display: flex;\n align-items: center;\n justify-content: center;\n color: var(--mj-text-muted);\n transition: all 0.15s ease;\n}\n\n.toggle-btn:hover {\n color: var(--mj-text-secondary);\n}\n\n.toggle-btn.active {\n background: var(--mj-bg-surface);\n color: var(--mj-brand-primary);\n box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);\n}\n\n/* Compact view-type dropdown \u2014 used when there are more view types than the strip threshold */\n.view-type-dropdown {\n position: relative;\n display: inline-flex;\n}\n\n.view-type-dropdown-trigger {\n width: auto;\n gap: 6px;\n padding: 0 10px;\n}\n\n.view-type-dropdown-label {\n font-size: 13px;\n font-weight: 500;\n}\n\n.view-type-dropdown-caret {\n font-size: 10px;\n opacity: 0.7;\n}\n\n.view-type-dropdown-menu {\n position: absolute;\n top: calc(100% + 4px);\n right: 0;\n z-index: 20;\n min-width: 180px;\n background: var(--mj-bg-surface-elevated);\n border: 1px solid var(--mj-border-default);\n border-radius: 8px;\n box-shadow: 0 8px 24px color-mix(in srgb, var(--mj-text-primary) 14%, transparent);\n padding: 4px;\n display: flex;\n flex-direction: column;\n}\n\n.view-type-dropdown-item {\n display: flex;\n align-items: center;\n gap: 10px;\n width: 100%;\n padding: 8px 10px;\n border: none;\n background: transparent;\n border-radius: 6px;\n cursor: pointer;\n color: var(--mj-text-secondary);\n font-size: 13px;\n text-align: left;\n transition: background 0.12s ease, color 0.12s ease;\n}\n\n.view-type-dropdown-item:hover {\n background: var(--mj-bg-surface-hover);\n color: var(--mj-text-primary);\n}\n\n.view-type-dropdown-item.active {\n color: var(--mj-brand-primary);\n background: color-mix(in srgb, var(--mj-brand-primary) 10%, transparent);\n}\n\n.view-type-dropdown-item i {\n width: 16px;\n text-align: center;\n}\n\n/* Host for dynamically-mounted plug-in view renderers (Cluster, third-party) */\n.dynamic-view-host {\n height: 100%;\n width: 100%;\n overflow: auto;\n}\n\n/* Content */\n.viewer-content {\n flex: 1;\n min-height: 0;\n overflow: hidden;\n position: relative;\n background: var(--mj-bg-surface);\n}\n\n/* Loading State - full-page centered loading for initial load when no data exists */\n.loading-container {\n display: flex;\n align-items: center;\n justify-content: center;\n height: 100%;\n}\n\n/* Loading overlay - semi-transparent overlay on top of existing content during refresh */\n.loading-overlay {\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n background: color-mix(in srgb, var(--mj-bg-surface) 80%, transparent);\n z-index: 10;\n display: flex;\n align-items: center;\n justify-content: center;\n}\n\n/* Ensure [hidden] attribute works properly on loading elements */\n.loading-container[hidden],\n.loading-overlay[hidden] {\n display: none !important;\n}\n\n/* Empty State \u2014 fill the content pane vertically */\n.empty-state-fill {\n height: 100%;\n}\n\n/* Hide the dynamic host when no plug-in is mounted (no entity) */\n.dynamic-view-host[hidden] {\n display: none !important;\n}\n"] }]
2297
+ }, template: "<div class=\"entity-viewer-container\" [style.height]=\"EffectiveConfig.height\">\n <!-- Header -->\n @if (EffectiveConfig.showFilter || EffectiveConfig.showViewModeToggle || EffectiveConfig.showRecordCount) {\n <div class=\"viewer-header\">\n <!-- Filter Input -->\n @if (EffectiveConfig.showFilter) {\n <div class=\"filter-container\">\n <i class=\"fa-solid fa-search filter-icon\"></i>\n <input\n type=\"text\"\n class=\"filter-input\"\n [placeholder]=\"EffectiveConfig.filterPlaceholder\"\n [value]=\"EffectiveFilterText\"\n (input)=\"OnFilterChange($any($event.target).value)\"\n />\n @if (EffectiveFilterText) {\n <button class=\"clear-filter-btn\" (click)=\"ClearFilter()\" title=\"Clear filter\">\n <i class=\"fa-solid fa-times\"></i>\n </button>\n }\n </div>\n }\n\n <!-- Record Count -->\n @if (EffectiveConfig.showRecordCount && EffectiveEntity) {\n <div class=\"record-count\">\n @if (FilteredRecordCount !== TotalRecordCount) {\n <span>{{ FilteredRecordCount | number }} of {{ TotalRecordCount | number }} records</span>\n } @else {\n <span>{{ TotalRecordCount | number }} records</span>\n }\n </div>\n }\n\n <!-- View Type Toggle \u2014 the reusable switcher, driven entirely by the MJ: View Types\n registry (ViewTypeEngine). The available types and their icons come from metadata\n (ViewType.Icon), filtered by each descriptor's availability predicate. Selecting routes\n back through SelectViewTypeById, which mounts the chosen descriptor's RendererComponent\n into #dynamicViewHost. The container has zero knowledge of any view type's chrome. -->\n @if (EffectiveConfig.showViewModeToggle) {\n <mj-view-type-switcher\n [Provider]=\"Provider\"\n [Entity]=\"EffectiveEntity\"\n [ActiveViewTypeID]=\"ActiveViewTypeId\"\n (ViewTypeSelected)=\"SelectViewTypeById($event.viewTypeId)\">\n </mj-view-type-switcher>\n }\n\n <!-- Recycle Bin chip (auto-hides when entity has no deleted records, no tracking,\n or user lacks Delete permission) -->\n @if (ShowRecycleBin) {\n <mj-recycle-bin-chip [Provider]=\"Provider\" [EntityName]=\"EffectiveEntity?.Name ?? null\"></mj-recycle-bin-chip>\n }\n </div>\n }\n\n <!-- View properties: read-only, one chip per property; a server-set one never shows its value -->\n @if (PropertyChips.length > 0) {\n <div class=\"view-properties-row\" role=\"list\" aria-label=\"View properties\">\n @for (chip of PropertyChips; track chip.Name) {\n <span class=\"view-property-chip\" role=\"listitem\" [class.server-set]=\"chip.ServerSet\" [attr.title]=\"chip.Description\">\n @if (chip.ServerSet) {\n <i class=\"fa-solid fa-lock\" aria-hidden=\"true\"></i>\n }\n <span class=\"view-property-name\">{{ chip.Name }}</span>\n <span class=\"view-property-value\">{{ chip.Value }}</span>\n </span>\n }\n @if (ViewRunError) {\n <span class=\"view-properties-error\" role=\"alert\">\n <i class=\"fa-solid fa-triangle-exclamation\" aria-hidden=\"true\"></i> {{ ViewRunError }}\n </span>\n }\n </div>\n }\n\n <!-- Content -->\n <div class=\"viewer-content\">\n <!-- Loading container - full page when no data exists -->\n <div class=\"loading-container\" [hidden]=\"!(IsLoading && FilteredRecords.length === 0)\">\n <mj-loading [text]=\"LoadingMessage\" size=\"medium\"></mj-loading>\n </div>\n\n <!-- Loading overlay - shown on top of content when loading with existing data -->\n <div class=\"loading-overlay\" [hidden]=\"!(IsLoading && FilteredRecords.length > 0)\">\n <mj-loading [text]=\"LoadingMessage\" size=\"small\"></mj-loading>\n </div>\n\n <!-- Empty state: no entity selected -->\n @if (!EffectiveEntity) {\n <mj-empty-state\n class=\"empty-state-fill\"\n Icon=\"fa-solid fa-database\"\n Title=\"Select an entity to view records\" />\n }\n\n <!-- Empty state: no records found. Suppressed while a plug-in is active \u2014 every plug-in renders\n its own empty/loading state, so the container never shows a generic \"no records\" over it. -->\n @if (EffectiveEntity && FilteredRecords.length === 0 && !IsLoading && !IsDynamicViewActive) {\n <mj-empty-state\n class=\"empty-state-fill\"\n [Variant]=\"IsNoRecordsFiltered ? 'no-results' : 'empty'\"\n [Title]=\"NoRecordsTitle\" />\n }\n\n <!-- Plug-in (dynamic) view renderer host \u2014 the ONLY render path. The active descriptor's\n RendererComponent is created into #dynamicViewHost via ViewContainerRef and fed the generic\n IViewRenderer contract. Shown whenever there's an entity; the plug-in owns all its chrome. -->\n <div class=\"dynamic-view-host\" [hidden]=\"!EffectiveEntity\">\n <ng-template #dynamicViewHost></ng-template>\n </div>\n </div>\n\n</div>\n", styles: [".entity-viewer-container {\n display: flex;\n flex-direction: column;\n width: 100%;\n height: 100%;\n background: var(--mj-bg-surface-card);\n}\n\n/* Header */\n.viewer-header {\n display: flex;\n align-items: center;\n gap: 16px;\n padding: 12px 16px;\n background: var(--mj-bg-surface);\n border-bottom: 1px solid var(--mj-border-default);\n flex-shrink: 0;\n}\n\n/* View properties (read-only chips) */\n.view-properties-row {\n display: flex;\n flex-wrap: wrap;\n align-items: center;\n gap: var(--mj-space-2);\n padding: var(--mj-space-2) var(--mj-space-4);\n background: var(--mj-bg-surface);\n border-bottom: 1px solid var(--mj-border-subtle);\n flex-shrink: 0;\n}\n\n.view-property-chip {\n display: inline-flex;\n align-items: center;\n gap: var(--mj-space-1);\n padding: 3px 10px;\n border-radius: var(--mj-radius-full);\n border: 1px solid var(--mj-border-default);\n background: var(--mj-bg-surface-card);\n font-size: var(--mj-text-xs);\n}\n\n.view-property-name {\n color: var(--mj-text-muted);\n}\n\n.view-property-value {\n color: var(--mj-text-primary);\n font-weight: 600;\n}\n\n.view-property-chip.server-set {\n background: color-mix(in srgb, var(--mj-status-info) 8%, var(--mj-bg-surface));\n border-color: color-mix(in srgb, var(--mj-status-info) 25%, var(--mj-border-default));\n}\n\n.view-property-chip.server-set .view-property-value {\n color: var(--mj-text-secondary);\n font-weight: 500;\n}\n\n.view-properties-error {\n color: var(--mj-status-error-text);\n font-size: var(--mj-text-xs);\n}\n\n/* Filter */\n.filter-container {\n flex: 1;\n max-width: 400px;\n position: relative;\n display: flex;\n align-items: center;\n}\n\n.filter-icon {\n position: absolute;\n left: 12px;\n color: var(--mj-text-disabled);\n font-size: 14px;\n pointer-events: none;\n}\n\n.filter-input {\n width: 100%;\n padding: 8px 36px 8px 36px;\n border: 1px solid var(--mj-border-default);\n border-radius: 6px;\n font-size: 14px;\n outline: none;\n transition: border-color 0.15s ease;\n}\n\n.filter-input:focus {\n border-color: var(--mj-brand-primary);\n}\n\n.filter-input::placeholder {\n color: var(--mj-text-disabled);\n}\n\n.clear-filter-btn {\n position: absolute;\n right: 8px;\n width: 20px;\n height: 20px;\n border: none;\n background: transparent;\n border-radius: 50%;\n cursor: pointer;\n display: flex;\n align-items: center;\n justify-content: center;\n color: var(--mj-text-disabled);\n transition: all 0.15s ease;\n}\n\n.clear-filter-btn:hover {\n background: var(--mj-bg-surface-card);\n color: var(--mj-text-secondary);\n}\n\n/* Record Count */\n.record-count {\n font-size: 13px;\n color: var(--mj-text-muted);\n white-space: nowrap;\n}\n\n/* View Mode Toggle */\n.view-mode-toggle {\n display: flex;\n background: var(--mj-bg-surface-card);\n border-radius: 6px;\n padding: 2px;\n}\n\n.toggle-btn {\n width: 32px;\n height: 32px;\n border: none;\n background: transparent;\n border-radius: 4px;\n cursor: pointer;\n display: flex;\n align-items: center;\n justify-content: center;\n color: var(--mj-text-muted);\n transition: all 0.15s ease;\n}\n\n.toggle-btn:hover {\n color: var(--mj-text-secondary);\n}\n\n.toggle-btn.active {\n background: var(--mj-bg-surface);\n color: var(--mj-brand-primary);\n box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);\n}\n\n/* Compact view-type dropdown \u2014 used when there are more view types than the strip threshold */\n.view-type-dropdown {\n position: relative;\n display: inline-flex;\n}\n\n.view-type-dropdown-trigger {\n width: auto;\n gap: 6px;\n padding: 0 10px;\n}\n\n.view-type-dropdown-label {\n font-size: 13px;\n font-weight: 500;\n}\n\n.view-type-dropdown-caret {\n font-size: 10px;\n opacity: 0.7;\n}\n\n.view-type-dropdown-menu {\n position: absolute;\n top: calc(100% + 4px);\n right: 0;\n z-index: 20;\n min-width: 180px;\n background: var(--mj-bg-surface-elevated);\n border: 1px solid var(--mj-border-default);\n border-radius: 8px;\n box-shadow: 0 8px 24px color-mix(in srgb, var(--mj-text-primary) 14%, transparent);\n padding: 4px;\n display: flex;\n flex-direction: column;\n}\n\n.view-type-dropdown-item {\n display: flex;\n align-items: center;\n gap: 10px;\n width: 100%;\n padding: 8px 10px;\n border: none;\n background: transparent;\n border-radius: 6px;\n cursor: pointer;\n color: var(--mj-text-secondary);\n font-size: 13px;\n text-align: left;\n transition: background 0.12s ease, color 0.12s ease;\n}\n\n.view-type-dropdown-item:hover {\n background: var(--mj-bg-surface-hover);\n color: var(--mj-text-primary);\n}\n\n.view-type-dropdown-item.active {\n color: var(--mj-brand-primary);\n background: color-mix(in srgb, var(--mj-brand-primary) 10%, transparent);\n}\n\n.view-type-dropdown-item i {\n width: 16px;\n text-align: center;\n}\n\n/* Host for dynamically-mounted plug-in view renderers (Grid, Cards, Timeline, Map, Calendar).\n Intentionally NO z-index or isolation here so fixed-position modals/drawers inside\n mj-entity-data-grid (Recycle Bin, Export, Merge, List Management) escape into the\n document stacking context above Data Explorer's .content-header (z-index: 2) and\n .shell-header (z-index: 500). Map/Leaflet isolation lives on mj-map-view-renderer. */\n.dynamic-view-host {\n height: 100%;\n width: 100%;\n overflow: auto;\n position: relative;\n}\n\n/* Content */\n.viewer-content {\n flex: 1;\n min-height: 0;\n overflow: hidden;\n position: relative;\n background: var(--mj-bg-surface);\n}\n\n/* Loading State - full-page centered loading for initial load when no data exists */\n.loading-container {\n display: flex;\n align-items: center;\n justify-content: center;\n height: 100%;\n}\n\n/* Loading overlay - semi-transparent overlay on top of existing content during refresh */\n.loading-overlay {\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n background: color-mix(in srgb, var(--mj-bg-surface) 80%, transparent);\n z-index: 10;\n display: flex;\n align-items: center;\n justify-content: center;\n}\n\n/* Ensure [hidden] attribute works properly on loading elements */\n.loading-container[hidden],\n.loading-overlay[hidden] {\n display: none !important;\n}\n\n/* Empty State \u2014 fill the content pane vertically */\n.empty-state-fill {\n height: 100%;\n}\n\n/* Hide the dynamic host when no plug-in is mounted (no entity) */\n.dynamic-view-host[hidden] {\n display: none !important;\n}\n"] }]
2163
2298
  }], () => [{ type: i0.ChangeDetectorRef }, { type: i0.NgZone }, { type: i0.ElementRef }], { Entity: [{
2164
2299
  type: Input
2165
2300
  }], EntityName: [{
@@ -2180,6 +2315,10 @@ export class EntityViewerComponent extends BaseAngularComponent {
2180
2315
  type: Input
2181
2316
  }], ViewEntity: [{
2182
2317
  type: Input
2318
+ }], AlternateBaseView: [{
2319
+ type: Input
2320
+ }], Properties: [{
2321
+ type: Input
2183
2322
  }], GridState: [{
2184
2323
  type: Input
2185
2324
  }], ShowRecycleBin: [{
@@ -2218,5 +2357,5 @@ export class EntityViewerComponent extends BaseAngularComponent {
2218
2357
  type: ViewChild,
2219
2358
  args: ['dynamicViewHost', { read: ViewContainerRef }]
2220
2359
  }] }); })();
2221
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(EntityViewerComponent, { className: "EntityViewerComponent", filePath: "src/lib/entity-viewer/entity-viewer.component.ts", lineNumber: 136 }); })();
2360
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(EntityViewerComponent, { className: "EntityViewerComponent", filePath: "src/lib/entity-viewer/entity-viewer.component.ts", lineNumber: 137 }); })();
2222
2361
  //# sourceMappingURL=entity-viewer.component.js.map