@memberjunction/ng-base-forms 6.2.2 → 6.3.0-edge.1
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/README.md +39 -8
- package/dist/lib/base-form-component.d.ts +20 -0
- package/dist/lib/base-form-component.d.ts.map +1 -1
- package/dist/lib/base-form-component.js +69 -7
- package/dist/lib/base-form-component.js.map +1 -1
- package/dist/lib/comments/comment-card-driver-host.component.d.ts +55 -0
- package/dist/lib/comments/comment-card-driver-host.component.d.ts.map +1 -0
- package/dist/lib/comments/comment-card-driver-host.component.js +134 -0
- package/dist/lib/comments/comment-card-driver-host.component.js.map +1 -0
- package/dist/lib/comments/field-suggestion-card.component.d.ts +43 -0
- package/dist/lib/comments/field-suggestion-card.component.d.ts.map +1 -0
- package/dist/lib/comments/field-suggestion-card.component.js +357 -0
- package/dist/lib/comments/field-suggestion-card.component.js.map +1 -0
- package/dist/lib/comments/form-record-comments-coordinator.service.d.ts +69 -7
- package/dist/lib/comments/form-record-comments-coordinator.service.d.ts.map +1 -1
- package/dist/lib/comments/form-record-comments-coordinator.service.js +251 -11
- package/dist/lib/comments/form-record-comments-coordinator.service.js.map +1 -1
- package/dist/lib/comments/record-comments.component.d.ts +31 -1
- package/dist/lib/comments/record-comments.component.d.ts.map +1 -1
- package/dist/lib/comments/record-comments.component.js +765 -465
- package/dist/lib/comments/record-comments.component.js.map +1 -1
- package/dist/lib/container/record-form-container.component.d.ts +11 -1
- package/dist/lib/container/record-form-container.component.d.ts.map +1 -1
- package/dist/lib/container/record-form-container.component.js +346 -253
- package/dist/lib/container/record-form-container.component.js.map +1 -1
- package/dist/lib/field/form-field.component.d.ts +17 -4
- package/dist/lib/field/form-field.component.d.ts.map +1 -1
- package/dist/lib/field/form-field.component.js +93 -28
- package/dist/lib/field/form-field.component.js.map +1 -1
- package/dist/lib/isa-related-panel/isa-related-panel.component.d.ts.map +1 -1
- package/dist/lib/isa-related-panel/isa-related-panel.component.js +10 -0
- package/dist/lib/isa-related-panel/isa-related-panel.component.js.map +1 -1
- package/dist/lib/panel-slot/collect-form-contribution-registrations.js +1 -1
- package/dist/lib/panel-slot/collect-form-contribution-registrations.js.map +1 -1
- package/dist/lib/subtype-ui-driver/entity-subtype-ui-driver.d.ts +100 -0
- package/dist/lib/subtype-ui-driver/entity-subtype-ui-driver.d.ts.map +1 -0
- package/dist/lib/subtype-ui-driver/entity-subtype-ui-driver.js +181 -0
- package/dist/lib/subtype-ui-driver/entity-subtype-ui-driver.js.map +1 -0
- package/dist/lib/subtype-ui-driver/folded-subtype-section.component.d.ts +104 -0
- package/dist/lib/subtype-ui-driver/folded-subtype-section.component.d.ts.map +1 -0
- package/dist/lib/subtype-ui-driver/folded-subtype-section.component.js +487 -0
- package/dist/lib/subtype-ui-driver/folded-subtype-section.component.js.map +1 -0
- package/dist/lib/toolbar/actions/record-comments-toolbar-action.js +2 -2
- package/dist/lib/toolbar/actions/record-comments-toolbar-action.js.map +1 -1
- package/dist/lib/toolbar/form-toolbar.component.d.ts +2 -0
- package/dist/lib/toolbar/form-toolbar.component.d.ts.map +1 -1
- package/dist/lib/toolbar/form-toolbar.component.js +241 -290
- package/dist/lib/toolbar/form-toolbar.component.js.map +1 -1
- package/dist/module.d.ts +17 -14
- package/dist/module.d.ts.map +1 -1
- package/dist/module.js +25 -6
- package/dist/module.js.map +1 -1
- package/dist/public-api.d.ts +4 -0
- package/dist/public-api.d.ts.map +1 -1
- package/dist/public-api.js +4 -0
- package/dist/public-api.js.map +1 -1
- package/package.json +20 -20
|
@@ -24,12 +24,12 @@ const _forTrack0 = ($index, $item) => $item.Key;
|
|
|
24
24
|
const _forTrack1 = ($index, $item) => $item.ID;
|
|
25
25
|
const _forTrack2 = ($index, $item) => $item.EntityName;
|
|
26
26
|
function MjFormToolbarComponent_Conditional_0_Conditional_1_Template(rf, ctx) { if (rf & 1) {
|
|
27
|
-
i0.ɵɵelement(0, "i",
|
|
28
|
-
i0.ɵɵelementStart(1, "span",
|
|
27
|
+
i0.ɵɵelement(0, "i", 17);
|
|
28
|
+
i0.ɵɵelementStart(1, "span", 18)(2, "strong");
|
|
29
29
|
i0.ɵɵtext(3);
|
|
30
30
|
i0.ɵɵelementEnd();
|
|
31
31
|
i0.ɵɵtext(4);
|
|
32
|
-
i0.ɵɵelementStart(5, "span",
|
|
32
|
+
i0.ɵɵelementStart(5, "span", 19);
|
|
33
33
|
i0.ɵɵtext(6);
|
|
34
34
|
i0.ɵɵelementEnd()();
|
|
35
35
|
} if (rf & 2) {
|
|
@@ -42,10 +42,10 @@ function MjFormToolbarComponent_Conditional_0_Conditional_1_Template(rf, ctx) {
|
|
|
42
42
|
i0.ɵɵtextInterpolate1("\u2014 ", ctx_r1.DirtyFieldDisplayNames.join(", "));
|
|
43
43
|
} }
|
|
44
44
|
function MjFormToolbarComponent_Conditional_0_Conditional_2_Template(rf, ctx) { if (rf & 1) {
|
|
45
|
-
i0.ɵɵelement(0, "i",
|
|
46
|
-
i0.ɵɵelementStart(1, "span",
|
|
45
|
+
i0.ɵɵelement(0, "i", 20);
|
|
46
|
+
i0.ɵɵelementStart(1, "span", 21);
|
|
47
47
|
i0.ɵɵtext(2, "Editing");
|
|
48
|
-
i0.ɵɵelementStart(3, "span",
|
|
48
|
+
i0.ɵɵelementStart(3, "span", 22);
|
|
49
49
|
i0.ɵɵtext(4);
|
|
50
50
|
i0.ɵɵelementEnd()();
|
|
51
51
|
} if (rf & 2) {
|
|
@@ -54,8 +54,8 @@ function MjFormToolbarComponent_Conditional_0_Conditional_2_Template(rf, ctx) {
|
|
|
54
54
|
i0.ɵɵtextInterpolate1(": ", ctx_r1.RecordDisplayName);
|
|
55
55
|
} }
|
|
56
56
|
function MjFormToolbarComponent_Conditional_0_Conditional_3_Template(rf, ctx) { if (rf & 1) {
|
|
57
|
-
i0.ɵɵelementStart(0, "span",
|
|
58
|
-
i0.ɵɵelement(1, "i",
|
|
57
|
+
i0.ɵɵelementStart(0, "span", 8);
|
|
58
|
+
i0.ɵɵelement(1, "i", 23);
|
|
59
59
|
i0.ɵɵelementStart(2, "span");
|
|
60
60
|
i0.ɵɵtext(3);
|
|
61
61
|
i0.ɵɵelementEnd()();
|
|
@@ -65,7 +65,7 @@ function MjFormToolbarComponent_Conditional_0_Conditional_3_Template(rf, ctx) {
|
|
|
65
65
|
i0.ɵɵtextInterpolate2("", ctx_r1.EffectiveConflictCount, " ", ctx_r1.EffectiveConflictCount === 1 ? "conflict needs" : "conflicts need", " review");
|
|
66
66
|
} }
|
|
67
67
|
function MjFormToolbarComponent_Conditional_0_For_7_Conditional_1_Template(rf, ctx) { if (rf & 1) {
|
|
68
|
-
i0.ɵɵelement(0, "i",
|
|
68
|
+
i0.ɵɵelement(0, "i", 25);
|
|
69
69
|
} }
|
|
70
70
|
function MjFormToolbarComponent_Conditional_0_For_7_Conditional_2_Template(rf, ctx) { if (rf & 1) {
|
|
71
71
|
i0.ɵɵelement(0, "i");
|
|
@@ -74,7 +74,7 @@ function MjFormToolbarComponent_Conditional_0_For_7_Conditional_2_Template(rf, c
|
|
|
74
74
|
i0.ɵɵclassMap(item_r4.Icon);
|
|
75
75
|
} }
|
|
76
76
|
function MjFormToolbarComponent_Conditional_0_For_7_Conditional_3_Template(rf, ctx) { if (rf & 1) {
|
|
77
|
-
i0.ɵɵelementStart(0, "span",
|
|
77
|
+
i0.ɵɵelementStart(0, "span", 14);
|
|
78
78
|
i0.ɵɵtext(1);
|
|
79
79
|
i0.ɵɵelementEnd();
|
|
80
80
|
} if (rf & 2) {
|
|
@@ -83,7 +83,7 @@ function MjFormToolbarComponent_Conditional_0_For_7_Conditional_3_Template(rf, c
|
|
|
83
83
|
i0.ɵɵtextInterpolate(item_r4.Text);
|
|
84
84
|
} }
|
|
85
85
|
function MjFormToolbarComponent_Conditional_0_For_7_Conditional_4_Template(rf, ctx) { if (rf & 1) {
|
|
86
|
-
i0.ɵɵelementStart(0, "span",
|
|
86
|
+
i0.ɵɵelementStart(0, "span", 27);
|
|
87
87
|
i0.ɵɵtext(1);
|
|
88
88
|
i0.ɵɵelementEnd();
|
|
89
89
|
} if (rf & 2) {
|
|
@@ -93,11 +93,11 @@ function MjFormToolbarComponent_Conditional_0_For_7_Conditional_4_Template(rf, c
|
|
|
93
93
|
} }
|
|
94
94
|
function MjFormToolbarComponent_Conditional_0_For_7_Template(rf, ctx) { if (rf & 1) {
|
|
95
95
|
const _r3 = i0.ɵɵgetCurrentView();
|
|
96
|
-
i0.ɵɵelementStart(0, "button",
|
|
96
|
+
i0.ɵɵelementStart(0, "button", 24);
|
|
97
97
|
i0.ɵɵlistener("click", function MjFormToolbarComponent_Conditional_0_For_7_Template_button_click_0_listener($event) { const item_r4 = i0.ɵɵrestoreView(_r3).$implicit; const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.OnToolbarItemClick(item_r4, $event)); });
|
|
98
|
-
i0.ɵɵconditionalCreate(1, MjFormToolbarComponent_Conditional_0_For_7_Conditional_1_Template, 1, 0, "i",
|
|
99
|
-
i0.ɵɵconditionalCreate(3, MjFormToolbarComponent_Conditional_0_For_7_Conditional_3_Template, 2, 1, "span",
|
|
100
|
-
i0.ɵɵconditionalCreate(4, MjFormToolbarComponent_Conditional_0_For_7_Conditional_4_Template, 2, 1, "span",
|
|
98
|
+
i0.ɵɵconditionalCreate(1, MjFormToolbarComponent_Conditional_0_For_7_Conditional_1_Template, 1, 0, "i", 25)(2, MjFormToolbarComponent_Conditional_0_For_7_Conditional_2_Template, 1, 2, "i", 26);
|
|
99
|
+
i0.ɵɵconditionalCreate(3, MjFormToolbarComponent_Conditional_0_For_7_Conditional_3_Template, 2, 1, "span", 14);
|
|
100
|
+
i0.ɵɵconditionalCreate(4, MjFormToolbarComponent_Conditional_0_For_7_Conditional_4_Template, 2, 1, "span", 27);
|
|
101
101
|
i0.ɵɵelementEnd();
|
|
102
102
|
} if (rf & 2) {
|
|
103
103
|
const item_r4 = ctx.$implicit;
|
|
@@ -113,7 +113,7 @@ function MjFormToolbarComponent_Conditional_0_For_7_Template(rf, ctx) { if (rf &
|
|
|
113
113
|
i0.ɵɵconditional(item_r4.Badge != null ? 4 : -1);
|
|
114
114
|
} }
|
|
115
115
|
function MjFormToolbarComponent_Conditional_0_For_17_Conditional_1_Template(rf, ctx) { if (rf & 1) {
|
|
116
|
-
i0.ɵɵelement(0, "i",
|
|
116
|
+
i0.ɵɵelement(0, "i", 25);
|
|
117
117
|
} }
|
|
118
118
|
function MjFormToolbarComponent_Conditional_0_For_17_Conditional_2_Template(rf, ctx) { if (rf & 1) {
|
|
119
119
|
i0.ɵɵelement(0, "i");
|
|
@@ -122,7 +122,7 @@ function MjFormToolbarComponent_Conditional_0_For_17_Conditional_2_Template(rf,
|
|
|
122
122
|
i0.ɵɵclassMap(item_r6.Icon);
|
|
123
123
|
} }
|
|
124
124
|
function MjFormToolbarComponent_Conditional_0_For_17_Conditional_3_Template(rf, ctx) { if (rf & 1) {
|
|
125
|
-
i0.ɵɵelementStart(0, "span",
|
|
125
|
+
i0.ɵɵelementStart(0, "span", 14);
|
|
126
126
|
i0.ɵɵtext(1);
|
|
127
127
|
i0.ɵɵelementEnd();
|
|
128
128
|
} if (rf & 2) {
|
|
@@ -131,7 +131,7 @@ function MjFormToolbarComponent_Conditional_0_For_17_Conditional_3_Template(rf,
|
|
|
131
131
|
i0.ɵɵtextInterpolate(item_r6.Text);
|
|
132
132
|
} }
|
|
133
133
|
function MjFormToolbarComponent_Conditional_0_For_17_Conditional_4_Template(rf, ctx) { if (rf & 1) {
|
|
134
|
-
i0.ɵɵelementStart(0, "span",
|
|
134
|
+
i0.ɵɵelementStart(0, "span", 27);
|
|
135
135
|
i0.ɵɵtext(1);
|
|
136
136
|
i0.ɵɵelementEnd();
|
|
137
137
|
} if (rf & 2) {
|
|
@@ -141,11 +141,11 @@ function MjFormToolbarComponent_Conditional_0_For_17_Conditional_4_Template(rf,
|
|
|
141
141
|
} }
|
|
142
142
|
function MjFormToolbarComponent_Conditional_0_For_17_Template(rf, ctx) { if (rf & 1) {
|
|
143
143
|
const _r5 = i0.ɵɵgetCurrentView();
|
|
144
|
-
i0.ɵɵelementStart(0, "button",
|
|
144
|
+
i0.ɵɵelementStart(0, "button", 24);
|
|
145
145
|
i0.ɵɵlistener("click", function MjFormToolbarComponent_Conditional_0_For_17_Template_button_click_0_listener($event) { const item_r6 = i0.ɵɵrestoreView(_r5).$implicit; const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.OnToolbarItemClick(item_r6, $event)); });
|
|
146
|
-
i0.ɵɵconditionalCreate(1, MjFormToolbarComponent_Conditional_0_For_17_Conditional_1_Template, 1, 0, "i",
|
|
147
|
-
i0.ɵɵconditionalCreate(3, MjFormToolbarComponent_Conditional_0_For_17_Conditional_3_Template, 2, 1, "span",
|
|
148
|
-
i0.ɵɵconditionalCreate(4, MjFormToolbarComponent_Conditional_0_For_17_Conditional_4_Template, 2, 1, "span",
|
|
146
|
+
i0.ɵɵconditionalCreate(1, MjFormToolbarComponent_Conditional_0_For_17_Conditional_1_Template, 1, 0, "i", 25)(2, MjFormToolbarComponent_Conditional_0_For_17_Conditional_2_Template, 1, 2, "i", 26);
|
|
147
|
+
i0.ɵɵconditionalCreate(3, MjFormToolbarComponent_Conditional_0_For_17_Conditional_3_Template, 2, 1, "span", 14);
|
|
148
|
+
i0.ɵɵconditionalCreate(4, MjFormToolbarComponent_Conditional_0_For_17_Conditional_4_Template, 2, 1, "span", 27);
|
|
149
149
|
i0.ɵɵelementEnd();
|
|
150
150
|
} if (rf & 2) {
|
|
151
151
|
const item_r6 = ctx.$implicit;
|
|
@@ -164,23 +164,23 @@ function MjFormToolbarComponent_Conditional_0_Template(rf, ctx) { if (rf & 1) {
|
|
|
164
164
|
const _r1 = i0.ɵɵgetCurrentView();
|
|
165
165
|
i0.ɵɵelementStart(0, "div", 4);
|
|
166
166
|
i0.ɵɵconditionalCreate(1, MjFormToolbarComponent_Conditional_0_Conditional_1_Template, 7, 3)(2, MjFormToolbarComponent_Conditional_0_Conditional_2_Template, 5, 1);
|
|
167
|
-
i0.ɵɵconditionalCreate(3, MjFormToolbarComponent_Conditional_0_Conditional_3_Template, 4, 2, "span",
|
|
168
|
-
i0.ɵɵelement(4, "div",
|
|
169
|
-
i0.ɵɵelementStart(5, "div",
|
|
170
|
-
i0.ɵɵrepeaterCreate(6, MjFormToolbarComponent_Conditional_0_For_7_Template, 5, 17, "button",
|
|
171
|
-
i0.ɵɵelementStart(8, "button",
|
|
167
|
+
i0.ɵɵconditionalCreate(3, MjFormToolbarComponent_Conditional_0_Conditional_3_Template, 4, 2, "span", 8);
|
|
168
|
+
i0.ɵɵelement(4, "div", 9);
|
|
169
|
+
i0.ɵɵelementStart(5, "div", 10);
|
|
170
|
+
i0.ɵɵrepeaterCreate(6, MjFormToolbarComponent_Conditional_0_For_7_Template, 5, 17, "button", 11, _forTrack0);
|
|
171
|
+
i0.ɵɵelementStart(8, "button", 12);
|
|
172
172
|
i0.ɵɵlistener("click", function MjFormToolbarComponent_Conditional_0_Template_button_click_8_listener() { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.OnSave()); });
|
|
173
|
-
i0.ɵɵelement(9, "i",
|
|
174
|
-
i0.ɵɵelementStart(10, "span",
|
|
173
|
+
i0.ɵɵelement(9, "i", 13);
|
|
174
|
+
i0.ɵɵelementStart(10, "span", 14);
|
|
175
175
|
i0.ɵɵtext(11, "Save Changes");
|
|
176
176
|
i0.ɵɵelementEnd()();
|
|
177
|
-
i0.ɵɵelementStart(12, "button",
|
|
177
|
+
i0.ɵɵelementStart(12, "button", 15);
|
|
178
178
|
i0.ɵɵlistener("click", function MjFormToolbarComponent_Conditional_0_Template_button_click_12_listener() { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.OnCancel()); });
|
|
179
|
-
i0.ɵɵelement(13, "i",
|
|
180
|
-
i0.ɵɵelementStart(14, "span",
|
|
179
|
+
i0.ɵɵelement(13, "i", 16);
|
|
180
|
+
i0.ɵɵelementStart(14, "span", 14);
|
|
181
181
|
i0.ɵɵtext(15, "Discard");
|
|
182
182
|
i0.ɵɵelementEnd()();
|
|
183
|
-
i0.ɵɵrepeaterCreate(16, MjFormToolbarComponent_Conditional_0_For_17_Template, 5, 17, "button",
|
|
183
|
+
i0.ɵɵrepeaterCreate(16, MjFormToolbarComponent_Conditional_0_For_17_Template, 5, 17, "button", 11, _forTrack0);
|
|
184
184
|
i0.ɵɵelementEnd()();
|
|
185
185
|
} if (rf & 2) {
|
|
186
186
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
@@ -199,9 +199,9 @@ function MjFormToolbarComponent_Conditional_0_Template(rf, ctx) { if (rf & 1) {
|
|
|
199
199
|
} }
|
|
200
200
|
function MjFormToolbarComponent_Conditional_1_Conditional_0_Conditional_1_Template(rf, ctx) { if (rf & 1) {
|
|
201
201
|
const _r8 = i0.ɵɵgetCurrentView();
|
|
202
|
-
i0.ɵɵelementStart(0, "button",
|
|
202
|
+
i0.ɵɵelementStart(0, "button", 35);
|
|
203
203
|
i0.ɵɵlistener("click", function MjFormToolbarComponent_Conditional_1_Conditional_0_Conditional_1_Template_button_click_0_listener($event) { const editItem_r9 = i0.ɵɵrestoreView(_r8); const ctx_r1 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r1.OnToolbarItemClick(editItem_r9, $event)); });
|
|
204
|
-
i0.ɵɵelement(1, "i",
|
|
204
|
+
i0.ɵɵelement(1, "i", 36);
|
|
205
205
|
i0.ɵɵelementStart(2, "span");
|
|
206
206
|
i0.ɵɵtext(3, "Edit");
|
|
207
207
|
i0.ɵɵelementEnd()();
|
|
@@ -211,11 +211,11 @@ function MjFormToolbarComponent_Conditional_1_Conditional_0_Conditional_1_Templa
|
|
|
211
211
|
} }
|
|
212
212
|
function MjFormToolbarComponent_Conditional_1_Conditional_0_Template(rf, ctx) { if (rf & 1) {
|
|
213
213
|
const _r7 = i0.ɵɵgetCurrentView();
|
|
214
|
-
i0.ɵɵelementStart(0, "div",
|
|
215
|
-
i0.ɵɵconditionalCreate(1, MjFormToolbarComponent_Conditional_1_Conditional_0_Conditional_1_Template, 4, 2, "button",
|
|
216
|
-
i0.ɵɵelementStart(2, "button",
|
|
214
|
+
i0.ɵɵelementStart(0, "div", 31);
|
|
215
|
+
i0.ɵɵconditionalCreate(1, MjFormToolbarComponent_Conditional_1_Conditional_0_Conditional_1_Template, 4, 2, "button", 32);
|
|
216
|
+
i0.ɵɵelementStart(2, "button", 33);
|
|
217
217
|
i0.ɵɵlistener("click", function MjFormToolbarComponent_Conditional_1_Conditional_0_Template_button_click_2_listener() { i0.ɵɵrestoreView(_r7); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.ExpandToolbarForSession()); });
|
|
218
|
-
i0.ɵɵelement(3, "i",
|
|
218
|
+
i0.ɵɵelement(3, "i", 34);
|
|
219
219
|
i0.ɵɵelementEnd()();
|
|
220
220
|
} if (rf & 2) {
|
|
221
221
|
let tmp_5_0;
|
|
@@ -225,7 +225,7 @@ function MjFormToolbarComponent_Conditional_1_Conditional_0_Template(rf, ctx) {
|
|
|
225
225
|
i0.ɵɵconditional((tmp_5_0 = ctx_r1.EditActionItem) ? 1 : -1, tmp_5_0);
|
|
226
226
|
} }
|
|
227
227
|
function MjFormToolbarComponent_Conditional_1_Conditional_1_For_3_Template(rf, ctx) { if (rf & 1) {
|
|
228
|
-
i0.ɵɵelementContainer(0,
|
|
228
|
+
i0.ɵɵelementContainer(0, 39);
|
|
229
229
|
} if (rf & 2) {
|
|
230
230
|
const item_r10 = ctx.$implicit;
|
|
231
231
|
i0.ɵɵnextContext(3);
|
|
@@ -233,7 +233,7 @@ function MjFormToolbarComponent_Conditional_1_Conditional_1_For_3_Template(rf, c
|
|
|
233
233
|
i0.ɵɵproperty("ngTemplateOutlet", actionButtonTpl_r11)("ngTemplateOutletContext", i0.ɵɵpureFunction1(2, _c2, item_r10));
|
|
234
234
|
} }
|
|
235
235
|
function MjFormToolbarComponent_Conditional_1_Conditional_1_For_5_Template(rf, ctx) { if (rf & 1) {
|
|
236
|
-
i0.ɵɵelementContainer(0,
|
|
236
|
+
i0.ɵɵelementContainer(0, 39);
|
|
237
237
|
} if (rf & 2) {
|
|
238
238
|
const item_r12 = ctx.$implicit;
|
|
239
239
|
i0.ɵɵnextContext(3);
|
|
@@ -241,8 +241,8 @@ function MjFormToolbarComponent_Conditional_1_Conditional_1_For_5_Template(rf, c
|
|
|
241
241
|
i0.ɵɵproperty("ngTemplateOutlet", actionButtonTpl_r11)("ngTemplateOutletContext", i0.ɵɵpureFunction1(2, _c2, item_r12));
|
|
242
242
|
} }
|
|
243
243
|
function MjFormToolbarComponent_Conditional_1_Conditional_1_Conditional_6_Conditional_5_Template(rf, ctx) { if (rf & 1) {
|
|
244
|
-
i0.ɵɵelementStart(0, "div",
|
|
245
|
-
i0.ɵɵelementContainer(1,
|
|
244
|
+
i0.ɵɵelementStart(0, "div", 46);
|
|
245
|
+
i0.ɵɵelementContainer(1, 42);
|
|
246
246
|
i0.ɵɵelementEnd();
|
|
247
247
|
} if (rf & 2) {
|
|
248
248
|
i0.ɵɵnextContext();
|
|
@@ -254,10 +254,10 @@ function MjFormToolbarComponent_Conditional_1_Conditional_1_Conditional_6_Condit
|
|
|
254
254
|
} }
|
|
255
255
|
function MjFormToolbarComponent_Conditional_1_Conditional_1_Conditional_6_Conditional_6_Template(rf, ctx) { if (rf & 1) {
|
|
256
256
|
const _r15 = i0.ɵɵgetCurrentView();
|
|
257
|
-
i0.ɵɵelementStart(0, "mj-bottom-sheet",
|
|
257
|
+
i0.ɵɵelementStart(0, "mj-bottom-sheet", 48);
|
|
258
258
|
i0.ɵɵlistener("VisibleChange", function MjFormToolbarComponent_Conditional_1_Conditional_1_Conditional_6_Conditional_6_Template_mj_bottom_sheet_VisibleChange_0_listener($event) { i0.ɵɵrestoreView(_r15); const ctx_r1 = i0.ɵɵnextContext(4); return i0.ɵɵresetView(ctx_r1.OnMenuSheetVisibleChange("more", $event)); });
|
|
259
|
-
i0.ɵɵelementStart(1, "div",
|
|
260
|
-
i0.ɵɵelementContainer(2,
|
|
259
|
+
i0.ɵɵelementStart(1, "div", 49);
|
|
260
|
+
i0.ɵɵelementContainer(2, 42);
|
|
261
261
|
i0.ɵɵelementEnd()();
|
|
262
262
|
} if (rf & 2) {
|
|
263
263
|
i0.ɵɵnextContext();
|
|
@@ -270,7 +270,7 @@ function MjFormToolbarComponent_Conditional_1_Conditional_1_Conditional_6_Condit
|
|
|
270
270
|
i0.ɵɵproperty("ngTemplateOutlet", moreMenuContent_r14);
|
|
271
271
|
} }
|
|
272
272
|
function MjFormToolbarComponent_Conditional_1_Conditional_1_Conditional_6_ng_template_7_For_1_Conditional_3_Template(rf, ctx) { if (rf & 1) {
|
|
273
|
-
i0.ɵɵelement(0, "i",
|
|
273
|
+
i0.ɵɵelement(0, "i", 25);
|
|
274
274
|
} }
|
|
275
275
|
function MjFormToolbarComponent_Conditional_1_Conditional_1_Conditional_6_ng_template_7_For_1_Conditional_4_Template(rf, ctx) { if (rf & 1) {
|
|
276
276
|
i0.ɵɵelement(0, "i");
|
|
@@ -279,7 +279,7 @@ function MjFormToolbarComponent_Conditional_1_Conditional_1_Conditional_6_ng_tem
|
|
|
279
279
|
i0.ɵɵclassMap(item_r17.Icon);
|
|
280
280
|
} }
|
|
281
281
|
function MjFormToolbarComponent_Conditional_1_Conditional_1_Conditional_6_ng_template_7_For_1_Conditional_7_Template(rf, ctx) { if (rf & 1) {
|
|
282
|
-
i0.ɵɵelementStart(0, "span",
|
|
282
|
+
i0.ɵɵelementStart(0, "span", 55);
|
|
283
283
|
i0.ɵɵtext(1);
|
|
284
284
|
i0.ɵɵelementEnd();
|
|
285
285
|
} if (rf & 2) {
|
|
@@ -289,19 +289,19 @@ function MjFormToolbarComponent_Conditional_1_Conditional_1_Conditional_6_ng_tem
|
|
|
289
289
|
} }
|
|
290
290
|
function MjFormToolbarComponent_Conditional_1_Conditional_1_Conditional_6_ng_template_7_For_1_Template(rf, ctx) { if (rf & 1) {
|
|
291
291
|
const _r16 = i0.ɵɵgetCurrentView();
|
|
292
|
-
i0.ɵɵelementStart(0, "div",
|
|
292
|
+
i0.ɵɵelementStart(0, "div", 51)(1, "button", 52);
|
|
293
293
|
i0.ɵɵlistener("click", function MjFormToolbarComponent_Conditional_1_Conditional_1_Conditional_6_ng_template_7_For_1_Template_button_click_1_listener($event) { const item_r17 = i0.ɵɵrestoreView(_r16).$implicit; const ctx_r1 = i0.ɵɵnextContext(5); return i0.ɵɵresetView(ctx_r1.OnMenuItemClick(item_r17, $event)); });
|
|
294
|
-
i0.ɵɵelementStart(2, "span",
|
|
295
|
-
i0.ɵɵconditionalCreate(3, MjFormToolbarComponent_Conditional_1_Conditional_1_Conditional_6_ng_template_7_For_1_Conditional_3_Template, 1, 0, "i",
|
|
294
|
+
i0.ɵɵelementStart(2, "span", 53);
|
|
295
|
+
i0.ɵɵconditionalCreate(3, MjFormToolbarComponent_Conditional_1_Conditional_1_Conditional_6_ng_template_7_For_1_Conditional_3_Template, 1, 0, "i", 25)(4, MjFormToolbarComponent_Conditional_1_Conditional_1_Conditional_6_ng_template_7_For_1_Conditional_4_Template, 1, 2, "i", 26);
|
|
296
296
|
i0.ɵɵelementEnd();
|
|
297
|
-
i0.ɵɵelementStart(5, "span",
|
|
297
|
+
i0.ɵɵelementStart(5, "span", 54);
|
|
298
298
|
i0.ɵɵtext(6);
|
|
299
299
|
i0.ɵɵelementEnd();
|
|
300
|
-
i0.ɵɵconditionalCreate(7, MjFormToolbarComponent_Conditional_1_Conditional_1_Conditional_6_ng_template_7_For_1_Conditional_7_Template, 2, 1, "span",
|
|
300
|
+
i0.ɵɵconditionalCreate(7, MjFormToolbarComponent_Conditional_1_Conditional_1_Conditional_6_ng_template_7_For_1_Conditional_7_Template, 2, 1, "span", 55);
|
|
301
301
|
i0.ɵɵelementEnd();
|
|
302
|
-
i0.ɵɵelementStart(8, "button",
|
|
302
|
+
i0.ɵɵelementStart(8, "button", 56);
|
|
303
303
|
i0.ɵɵlistener("click", function MjFormToolbarComponent_Conditional_1_Conditional_1_Conditional_6_ng_template_7_For_1_Template_button_click_8_listener() { const item_r17 = i0.ɵɵrestoreView(_r16).$implicit; const ctx_r1 = i0.ɵɵnextContext(5); return i0.ɵɵresetView(ctx_r1.TogglePin(item_r17.Key)); });
|
|
304
|
-
i0.ɵɵelement(9, "i",
|
|
304
|
+
i0.ɵɵelement(9, "i", 57);
|
|
305
305
|
i0.ɵɵelementEnd()();
|
|
306
306
|
} if (rf & 2) {
|
|
307
307
|
const item_r17 = ctx.$implicit;
|
|
@@ -322,17 +322,17 @@ function MjFormToolbarComponent_Conditional_1_Conditional_1_Conditional_6_ng_tem
|
|
|
322
322
|
i0.ɵɵattribute("aria-disabled", !ctx_r1.IsPinned(item_r17.Key) && !ctx_r1.CanPinMore ? "true" : null)("aria-pressed", ctx_r1.IsPinned(item_r17.Key))("aria-label", "Pin " + item_r17.MenuLabel);
|
|
323
323
|
} }
|
|
324
324
|
function MjFormToolbarComponent_Conditional_1_Conditional_1_Conditional_6_ng_template_7_Conditional_2_Conditional_0_Template(rf, ctx) { if (rf & 1) {
|
|
325
|
-
i0.ɵɵelement(0, "div",
|
|
325
|
+
i0.ɵɵelement(0, "div", 58);
|
|
326
326
|
} }
|
|
327
327
|
function MjFormToolbarComponent_Conditional_1_Conditional_1_Conditional_6_ng_template_7_Conditional_2_Template(rf, ctx) { if (rf & 1) {
|
|
328
328
|
const _r18 = i0.ɵɵgetCurrentView();
|
|
329
|
-
i0.ɵɵconditionalCreate(0, MjFormToolbarComponent_Conditional_1_Conditional_1_Conditional_6_ng_template_7_Conditional_2_Conditional_0_Template, 1, 0, "div",
|
|
330
|
-
i0.ɵɵelementStart(1, "button",
|
|
329
|
+
i0.ɵɵconditionalCreate(0, MjFormToolbarComponent_Conditional_1_Conditional_1_Conditional_6_ng_template_7_Conditional_2_Conditional_0_Template, 1, 0, "div", 58);
|
|
330
|
+
i0.ɵɵelementStart(1, "button", 59);
|
|
331
331
|
i0.ɵɵlistener("click", function MjFormToolbarComponent_Conditional_1_Conditional_1_Conditional_6_ng_template_7_Conditional_2_Template_button_click_1_listener($event) { const del_r19 = i0.ɵɵrestoreView(_r18); const ctx_r1 = i0.ɵɵnextContext(5); return i0.ɵɵresetView(ctx_r1.OnMenuItemClick(del_r19, $event)); });
|
|
332
|
-
i0.ɵɵelementStart(2, "span",
|
|
332
|
+
i0.ɵɵelementStart(2, "span", 53);
|
|
333
333
|
i0.ɵɵelement(3, "i");
|
|
334
334
|
i0.ɵɵelementEnd();
|
|
335
|
-
i0.ɵɵelementStart(4, "span",
|
|
335
|
+
i0.ɵɵelementStart(4, "span", 54);
|
|
336
336
|
i0.ɵɵtext(5);
|
|
337
337
|
i0.ɵɵelementEnd()();
|
|
338
338
|
} if (rf & 2) {
|
|
@@ -347,7 +347,7 @@ function MjFormToolbarComponent_Conditional_1_Conditional_1_Conditional_6_ng_tem
|
|
|
347
347
|
i0.ɵɵtextInterpolate(del_r19.MenuLabel);
|
|
348
348
|
} }
|
|
349
349
|
function MjFormToolbarComponent_Conditional_1_Conditional_1_Conditional_6_ng_template_7_Template(rf, ctx) { if (rf & 1) {
|
|
350
|
-
i0.ɵɵrepeaterCreate(0, MjFormToolbarComponent_Conditional_1_Conditional_1_Conditional_6_ng_template_7_For_1_Template, 10, 23, "div",
|
|
350
|
+
i0.ɵɵrepeaterCreate(0, MjFormToolbarComponent_Conditional_1_Conditional_1_Conditional_6_ng_template_7_For_1_Template, 10, 23, "div", 50, _forTrack0);
|
|
351
351
|
i0.ɵɵconditionalCreate(2, MjFormToolbarComponent_Conditional_1_Conditional_1_Conditional_6_ng_template_7_Conditional_2_Template, 6, 6);
|
|
352
352
|
} if (rf & 2) {
|
|
353
353
|
let tmp_8_0;
|
|
@@ -358,14 +358,14 @@ function MjFormToolbarComponent_Conditional_1_Conditional_1_Conditional_6_ng_tem
|
|
|
358
358
|
} }
|
|
359
359
|
function MjFormToolbarComponent_Conditional_1_Conditional_1_Conditional_6_Template(rf, ctx) { if (rf & 1) {
|
|
360
360
|
const _r13 = i0.ɵɵgetCurrentView();
|
|
361
|
-
i0.ɵɵelementStart(0, "div",
|
|
361
|
+
i0.ɵɵelementStart(0, "div", 44)(1, "button", 45);
|
|
362
362
|
i0.ɵɵlistener("click", function MjFormToolbarComponent_Conditional_1_Conditional_1_Conditional_6_Template_button_click_1_listener() { i0.ɵɵrestoreView(_r13); const ctx_r1 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r1.ToggleMoreMenu()); });
|
|
363
|
-
i0.ɵɵelement(2, "i",
|
|
364
|
-
i0.ɵɵelementStart(3, "span",
|
|
363
|
+
i0.ɵɵelement(2, "i", 34);
|
|
364
|
+
i0.ɵɵelementStart(3, "span", 14);
|
|
365
365
|
i0.ɵɵtext(4, "More");
|
|
366
366
|
i0.ɵɵelementEnd()();
|
|
367
|
-
i0.ɵɵconditionalCreate(5, MjFormToolbarComponent_Conditional_1_Conditional_1_Conditional_6_Conditional_5_Template, 2, 2, "div",
|
|
368
|
-
i0.ɵɵconditionalCreate(6, MjFormToolbarComponent_Conditional_1_Conditional_1_Conditional_6_Conditional_6_Template, 3, 3, "mj-bottom-sheet",
|
|
367
|
+
i0.ɵɵconditionalCreate(5, MjFormToolbarComponent_Conditional_1_Conditional_1_Conditional_6_Conditional_5_Template, 2, 2, "div", 46);
|
|
368
|
+
i0.ɵɵconditionalCreate(6, MjFormToolbarComponent_Conditional_1_Conditional_1_Conditional_6_Conditional_6_Template, 3, 3, "mj-bottom-sheet", 47);
|
|
369
369
|
i0.ɵɵtemplate(7, MjFormToolbarComponent_Conditional_1_Conditional_1_Conditional_6_ng_template_7_Template, 3, 1, "ng-template", null, 2, i0.ɵɵtemplateRefExtractor);
|
|
370
370
|
i0.ɵɵelementEnd();
|
|
371
371
|
} if (rf & 2) {
|
|
@@ -380,14 +380,14 @@ function MjFormToolbarComponent_Conditional_1_Conditional_1_Conditional_6_Templa
|
|
|
380
380
|
} }
|
|
381
381
|
function MjFormToolbarComponent_Conditional_1_Conditional_1_Conditional_8_Template(rf, ctx) { if (rf & 1) {
|
|
382
382
|
const _r20 = i0.ɵɵgetCurrentView();
|
|
383
|
-
i0.ɵɵelementStart(0, "span",
|
|
384
|
-
i0.ɵɵelement(1, "i",
|
|
385
|
-
i0.ɵɵelementStart(2, "span",
|
|
383
|
+
i0.ɵɵelementStart(0, "span", 41);
|
|
384
|
+
i0.ɵɵelement(1, "i", 60);
|
|
385
|
+
i0.ɵɵelementStart(2, "span", 61);
|
|
386
386
|
i0.ɵɵtext(3);
|
|
387
387
|
i0.ɵɵelementEnd();
|
|
388
|
-
i0.ɵɵelementStart(4, "button",
|
|
388
|
+
i0.ɵɵelementStart(4, "button", 62);
|
|
389
389
|
i0.ɵɵlistener("click", function MjFormToolbarComponent_Conditional_1_Conditional_1_Conditional_8_Template_button_click_4_listener() { i0.ɵɵrestoreView(_r20); const ctx_r1 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r1.OnClearFilter()); });
|
|
390
|
-
i0.ɵɵelement(5, "i",
|
|
390
|
+
i0.ɵɵelement(5, "i", 63);
|
|
391
391
|
i0.ɵɵelementEnd()();
|
|
392
392
|
} if (rf & 2) {
|
|
393
393
|
const ctx_r1 = i0.ɵɵnextContext(3);
|
|
@@ -395,7 +395,7 @@ function MjFormToolbarComponent_Conditional_1_Conditional_1_Conditional_8_Templa
|
|
|
395
395
|
i0.ɵɵtextInterpolate(ctx_r1.SearchFilter);
|
|
396
396
|
} }
|
|
397
397
|
function MjFormToolbarComponent_Conditional_1_Conditional_1_Conditional_9_For_2_Conditional_1_Template(rf, ctx) { if (rf & 1) {
|
|
398
|
-
i0.ɵɵelement(0, "i",
|
|
398
|
+
i0.ɵɵelement(0, "i", 25);
|
|
399
399
|
} }
|
|
400
400
|
function MjFormToolbarComponent_Conditional_1_Conditional_1_Conditional_9_For_2_Conditional_2_Template(rf, ctx) { if (rf & 1) {
|
|
401
401
|
i0.ɵɵelement(0, "i");
|
|
@@ -404,7 +404,7 @@ function MjFormToolbarComponent_Conditional_1_Conditional_1_Conditional_9_For_2_
|
|
|
404
404
|
i0.ɵɵclassMap(item_r22.Icon);
|
|
405
405
|
} }
|
|
406
406
|
function MjFormToolbarComponent_Conditional_1_Conditional_1_Conditional_9_For_2_Conditional_3_Template(rf, ctx) { if (rf & 1) {
|
|
407
|
-
i0.ɵɵelementStart(0, "span",
|
|
407
|
+
i0.ɵɵelementStart(0, "span", 14);
|
|
408
408
|
i0.ɵɵtext(1);
|
|
409
409
|
i0.ɵɵelementEnd();
|
|
410
410
|
} if (rf & 2) {
|
|
@@ -413,7 +413,7 @@ function MjFormToolbarComponent_Conditional_1_Conditional_1_Conditional_9_For_2_
|
|
|
413
413
|
i0.ɵɵtextInterpolate(item_r22.Text);
|
|
414
414
|
} }
|
|
415
415
|
function MjFormToolbarComponent_Conditional_1_Conditional_1_Conditional_9_For_2_Conditional_4_Template(rf, ctx) { if (rf & 1) {
|
|
416
|
-
i0.ɵɵelementStart(0, "span",
|
|
416
|
+
i0.ɵɵelementStart(0, "span", 27);
|
|
417
417
|
i0.ɵɵtext(1);
|
|
418
418
|
i0.ɵɵelementEnd();
|
|
419
419
|
} if (rf & 2) {
|
|
@@ -423,11 +423,11 @@ function MjFormToolbarComponent_Conditional_1_Conditional_1_Conditional_9_For_2_
|
|
|
423
423
|
} }
|
|
424
424
|
function MjFormToolbarComponent_Conditional_1_Conditional_1_Conditional_9_For_2_Template(rf, ctx) { if (rf & 1) {
|
|
425
425
|
const _r21 = i0.ɵɵgetCurrentView();
|
|
426
|
-
i0.ɵɵelementStart(0, "button",
|
|
426
|
+
i0.ɵɵelementStart(0, "button", 24);
|
|
427
427
|
i0.ɵɵlistener("click", function MjFormToolbarComponent_Conditional_1_Conditional_1_Conditional_9_For_2_Template_button_click_0_listener($event) { const item_r22 = i0.ɵɵrestoreView(_r21).$implicit; const ctx_r1 = i0.ɵɵnextContext(4); return i0.ɵɵresetView(ctx_r1.OnToolbarItemClick(item_r22, $event)); });
|
|
428
|
-
i0.ɵɵconditionalCreate(1, MjFormToolbarComponent_Conditional_1_Conditional_1_Conditional_9_For_2_Conditional_1_Template, 1, 0, "i",
|
|
429
|
-
i0.ɵɵconditionalCreate(3, MjFormToolbarComponent_Conditional_1_Conditional_1_Conditional_9_For_2_Conditional_3_Template, 2, 1, "span",
|
|
430
|
-
i0.ɵɵconditionalCreate(4, MjFormToolbarComponent_Conditional_1_Conditional_1_Conditional_9_For_2_Conditional_4_Template, 2, 1, "span",
|
|
428
|
+
i0.ɵɵconditionalCreate(1, MjFormToolbarComponent_Conditional_1_Conditional_1_Conditional_9_For_2_Conditional_1_Template, 1, 0, "i", 25)(2, MjFormToolbarComponent_Conditional_1_Conditional_1_Conditional_9_For_2_Conditional_2_Template, 1, 2, "i", 26);
|
|
429
|
+
i0.ɵɵconditionalCreate(3, MjFormToolbarComponent_Conditional_1_Conditional_1_Conditional_9_For_2_Conditional_3_Template, 2, 1, "span", 14);
|
|
430
|
+
i0.ɵɵconditionalCreate(4, MjFormToolbarComponent_Conditional_1_Conditional_1_Conditional_9_For_2_Conditional_4_Template, 2, 1, "span", 27);
|
|
431
431
|
i0.ɵɵelementEnd();
|
|
432
432
|
} if (rf & 2) {
|
|
433
433
|
const item_r22 = ctx.$implicit;
|
|
@@ -442,8 +442,8 @@ function MjFormToolbarComponent_Conditional_1_Conditional_1_Conditional_9_For_2_
|
|
|
442
442
|
i0.ɵɵconditional(item_r22.Badge != null ? 4 : -1);
|
|
443
443
|
} }
|
|
444
444
|
function MjFormToolbarComponent_Conditional_1_Conditional_1_Conditional_9_Template(rf, ctx) { if (rf & 1) {
|
|
445
|
-
i0.ɵɵelementStart(0, "div",
|
|
446
|
-
i0.ɵɵrepeaterCreate(1, MjFormToolbarComponent_Conditional_1_Conditional_1_Conditional_9_For_2_Template, 5, 17, "button",
|
|
445
|
+
i0.ɵɵelementStart(0, "div", 38);
|
|
446
|
+
i0.ɵɵrepeaterCreate(1, MjFormToolbarComponent_Conditional_1_Conditional_1_Conditional_9_For_2_Template, 5, 17, "button", 11, _forTrack0);
|
|
447
447
|
i0.ɵɵelementEnd();
|
|
448
448
|
} if (rf & 2) {
|
|
449
449
|
const ctx_r1 = i0.ɵɵnextContext(3);
|
|
@@ -451,7 +451,7 @@ function MjFormToolbarComponent_Conditional_1_Conditional_1_Conditional_9_Templa
|
|
|
451
451
|
i0.ɵɵrepeater(ctx_r1.ResolvedRightItems);
|
|
452
452
|
} }
|
|
453
453
|
function MjFormToolbarComponent_Conditional_1_Conditional_1_Conditional_10_Conditional_5_Template(rf, ctx) { if (rf & 1) {
|
|
454
|
-
i0.ɵɵelementStart(0, "span",
|
|
454
|
+
i0.ɵɵelementStart(0, "span", 66);
|
|
455
455
|
i0.ɵɵtext(1);
|
|
456
456
|
i0.ɵɵelementEnd();
|
|
457
457
|
} if (rf & 2) {
|
|
@@ -460,8 +460,8 @@ function MjFormToolbarComponent_Conditional_1_Conditional_1_Conditional_10_Condi
|
|
|
460
460
|
i0.ɵɵtextInterpolate(ctx_r1.CurrentVariantLabel);
|
|
461
461
|
} }
|
|
462
462
|
function MjFormToolbarComponent_Conditional_1_Conditional_1_Conditional_10_Conditional_6_Template(rf, ctx) { if (rf & 1) {
|
|
463
|
-
i0.ɵɵelementStart(0, "div",
|
|
464
|
-
i0.ɵɵelementContainer(1,
|
|
463
|
+
i0.ɵɵelementStart(0, "div", 67);
|
|
464
|
+
i0.ɵɵelementContainer(1, 42);
|
|
465
465
|
i0.ɵɵelementEnd();
|
|
466
466
|
} if (rf & 2) {
|
|
467
467
|
i0.ɵɵnextContext();
|
|
@@ -473,10 +473,10 @@ function MjFormToolbarComponent_Conditional_1_Conditional_1_Conditional_10_Condi
|
|
|
473
473
|
} }
|
|
474
474
|
function MjFormToolbarComponent_Conditional_1_Conditional_1_Conditional_10_Conditional_7_Template(rf, ctx) { if (rf & 1) {
|
|
475
475
|
const _r25 = i0.ɵɵgetCurrentView();
|
|
476
|
-
i0.ɵɵelementStart(0, "mj-bottom-sheet",
|
|
476
|
+
i0.ɵɵelementStart(0, "mj-bottom-sheet", 69);
|
|
477
477
|
i0.ɵɵlistener("VisibleChange", function MjFormToolbarComponent_Conditional_1_Conditional_1_Conditional_10_Conditional_7_Template_mj_bottom_sheet_VisibleChange_0_listener($event) { i0.ɵɵrestoreView(_r25); const ctx_r1 = i0.ɵɵnextContext(4); return i0.ɵɵresetView(ctx_r1.OnMenuSheetVisibleChange("view", $event)); });
|
|
478
|
-
i0.ɵɵelementStart(1, "div",
|
|
479
|
-
i0.ɵɵelementContainer(2,
|
|
478
|
+
i0.ɵɵelementStart(1, "div", 70);
|
|
479
|
+
i0.ɵɵelementContainer(2, 42);
|
|
480
480
|
i0.ɵɵelementEnd()();
|
|
481
481
|
} if (rf & 2) {
|
|
482
482
|
i0.ɵɵnextContext();
|
|
@@ -490,17 +490,17 @@ function MjFormToolbarComponent_Conditional_1_Conditional_1_Conditional_10_Condi
|
|
|
490
490
|
} }
|
|
491
491
|
function MjFormToolbarComponent_Conditional_1_Conditional_1_Conditional_10_ng_template_8_Conditional_0_Conditional_0_Conditional_2_Template(rf, ctx) { if (rf & 1) {
|
|
492
492
|
const _r27 = i0.ɵɵgetCurrentView();
|
|
493
|
-
i0.ɵɵelementStart(0, "button",
|
|
493
|
+
i0.ɵɵelementStart(0, "button", 76);
|
|
494
494
|
i0.ɵɵlistener("click", function MjFormToolbarComponent_Conditional_1_Conditional_1_Conditional_10_ng_template_8_Conditional_0_Conditional_0_Conditional_2_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r27); const ctx_r1 = i0.ɵɵnextContext(7); return i0.ɵɵresetView(ctx_r1.OnClearFilter()); });
|
|
495
|
-
i0.ɵɵelement(1, "i",
|
|
495
|
+
i0.ɵɵelement(1, "i", 63);
|
|
496
496
|
i0.ɵɵelementEnd();
|
|
497
497
|
} }
|
|
498
498
|
function MjFormToolbarComponent_Conditional_1_Conditional_1_Conditional_10_ng_template_8_Conditional_0_Conditional_0_Template(rf, ctx) { if (rf & 1) {
|
|
499
499
|
const _r26 = i0.ɵɵgetCurrentView();
|
|
500
|
-
i0.ɵɵelementStart(0, "div",
|
|
500
|
+
i0.ɵɵelementStart(0, "div", 71)(1, "input", 74);
|
|
501
501
|
i0.ɵɵlistener("input", function MjFormToolbarComponent_Conditional_1_Conditional_1_Conditional_10_ng_template_8_Conditional_0_Conditional_0_Template_input_input_1_listener($event) { i0.ɵɵrestoreView(_r26); const ctx_r1 = i0.ɵɵnextContext(6); return i0.ɵɵresetView(ctx_r1.OnFilterInput($event)); });
|
|
502
502
|
i0.ɵɵelementEnd();
|
|
503
|
-
i0.ɵɵconditionalCreate(2, MjFormToolbarComponent_Conditional_1_Conditional_1_Conditional_10_ng_template_8_Conditional_0_Conditional_0_Conditional_2_Template, 2, 0, "button",
|
|
503
|
+
i0.ɵɵconditionalCreate(2, MjFormToolbarComponent_Conditional_1_Conditional_1_Conditional_10_ng_template_8_Conditional_0_Conditional_0_Conditional_2_Template, 2, 0, "button", 75);
|
|
504
504
|
i0.ɵɵelementEnd();
|
|
505
505
|
} if (rf & 2) {
|
|
506
506
|
const ctx_r1 = i0.ɵɵnextContext(6);
|
|
@@ -511,26 +511,26 @@ function MjFormToolbarComponent_Conditional_1_Conditional_1_Conditional_10_ng_te
|
|
|
511
511
|
i0.ɵɵconditional(ctx_r1.SearchFilter ? 2 : -1);
|
|
512
512
|
} }
|
|
513
513
|
function MjFormToolbarComponent_Conditional_1_Conditional_1_Conditional_10_ng_template_8_Conditional_0_Conditional_1_Template(rf, ctx) { if (rf & 1) {
|
|
514
|
-
i0.ɵɵelementStart(0, "div",
|
|
514
|
+
i0.ɵɵelementStart(0, "div", 72);
|
|
515
515
|
i0.ɵɵtext(1, "Sections");
|
|
516
516
|
i0.ɵɵelementEnd();
|
|
517
517
|
} }
|
|
518
518
|
function MjFormToolbarComponent_Conditional_1_Conditional_1_Conditional_10_ng_template_8_Conditional_0_Conditional_2_Template(rf, ctx) { if (rf & 1) {
|
|
519
519
|
const _r28 = i0.ɵɵgetCurrentView();
|
|
520
|
-
i0.ɵɵelementStart(0, "button",
|
|
520
|
+
i0.ɵɵelementStart(0, "button", 77);
|
|
521
521
|
i0.ɵɵlistener("click", function MjFormToolbarComponent_Conditional_1_Conditional_1_Conditional_10_ng_template_8_Conditional_0_Conditional_2_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r28); const ctx_r1 = i0.ɵɵnextContext(6); return i0.ɵɵresetView(ctx_r1.OnExpandAll()); });
|
|
522
|
-
i0.ɵɵelementStart(1, "span",
|
|
523
|
-
i0.ɵɵelement(2, "i",
|
|
522
|
+
i0.ɵɵelementStart(1, "span", 53);
|
|
523
|
+
i0.ɵɵelement(2, "i", 78);
|
|
524
524
|
i0.ɵɵelementEnd();
|
|
525
|
-
i0.ɵɵelementStart(3, "span",
|
|
525
|
+
i0.ɵɵelementStart(3, "span", 54);
|
|
526
526
|
i0.ɵɵtext(4, "Expand all");
|
|
527
527
|
i0.ɵɵelementEnd()();
|
|
528
|
-
i0.ɵɵelementStart(5, "button",
|
|
528
|
+
i0.ɵɵelementStart(5, "button", 79);
|
|
529
529
|
i0.ɵɵlistener("click", function MjFormToolbarComponent_Conditional_1_Conditional_1_Conditional_10_ng_template_8_Conditional_0_Conditional_2_Template_button_click_5_listener() { i0.ɵɵrestoreView(_r28); const ctx_r1 = i0.ɵɵnextContext(6); return i0.ɵɵresetView(ctx_r1.OnCollapseAll()); });
|
|
530
|
-
i0.ɵɵelementStart(6, "span",
|
|
531
|
-
i0.ɵɵelement(7, "i",
|
|
530
|
+
i0.ɵɵelementStart(6, "span", 53);
|
|
531
|
+
i0.ɵɵelement(7, "i", 80);
|
|
532
532
|
i0.ɵɵelementEnd();
|
|
533
|
-
i0.ɵɵelementStart(8, "span",
|
|
533
|
+
i0.ɵɵelementStart(8, "span", 54);
|
|
534
534
|
i0.ɵɵtext(9, "Collapse all");
|
|
535
535
|
i0.ɵɵelementEnd()();
|
|
536
536
|
} if (rf & 2) {
|
|
@@ -541,37 +541,37 @@ function MjFormToolbarComponent_Conditional_1_Conditional_1_Conditional_10_ng_te
|
|
|
541
541
|
} }
|
|
542
542
|
function MjFormToolbarComponent_Conditional_1_Conditional_1_Conditional_10_ng_template_8_Conditional_0_Conditional_3_Template(rf, ctx) { if (rf & 1) {
|
|
543
543
|
const _r29 = i0.ɵɵgetCurrentView();
|
|
544
|
-
i0.ɵɵelementStart(0, "button",
|
|
544
|
+
i0.ɵɵelementStart(0, "button", 81);
|
|
545
545
|
i0.ɵɵlistener("click", function MjFormToolbarComponent_Conditional_1_Conditional_1_Conditional_10_ng_template_8_Conditional_0_Conditional_3_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r29); const ctx_r1 = i0.ɵɵnextContext(6); return i0.ɵɵresetView(ctx_r1.OnReorderSectionsFromView()); });
|
|
546
|
-
i0.ɵɵelementStart(1, "span",
|
|
547
|
-
i0.ɵɵelement(2, "i",
|
|
546
|
+
i0.ɵɵelementStart(1, "span", 53);
|
|
547
|
+
i0.ɵɵelement(2, "i", 82);
|
|
548
548
|
i0.ɵɵelementEnd();
|
|
549
|
-
i0.ɵɵelementStart(3, "span",
|
|
549
|
+
i0.ɵɵelementStart(3, "span", 54);
|
|
550
550
|
i0.ɵɵtext(4, "Reorder sections");
|
|
551
551
|
i0.ɵɵelementEnd()();
|
|
552
552
|
} }
|
|
553
553
|
function MjFormToolbarComponent_Conditional_1_Conditional_1_Conditional_10_ng_template_8_Conditional_0_Conditional_4_Template(rf, ctx) { if (rf & 1) {
|
|
554
554
|
const _r30 = i0.ɵɵgetCurrentView();
|
|
555
|
-
i0.ɵɵelementStart(0, "button",
|
|
555
|
+
i0.ɵɵelementStart(0, "button", 81);
|
|
556
556
|
i0.ɵɵlistener("click", function MjFormToolbarComponent_Conditional_1_Conditional_1_Conditional_10_ng_template_8_Conditional_0_Conditional_4_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r30); const ctx_r1 = i0.ɵɵnextContext(6); return i0.ɵɵresetView(ctx_r1.OnResetSectionOrder()); });
|
|
557
|
-
i0.ɵɵelementStart(1, "span",
|
|
558
|
-
i0.ɵɵelement(2, "i",
|
|
557
|
+
i0.ɵɵelementStart(1, "span", 53);
|
|
558
|
+
i0.ɵɵelement(2, "i", 83);
|
|
559
559
|
i0.ɵɵelementEnd();
|
|
560
|
-
i0.ɵɵelementStart(3, "span",
|
|
560
|
+
i0.ɵɵelementStart(3, "span", 54);
|
|
561
561
|
i0.ɵɵtext(4, "Reset section order");
|
|
562
562
|
i0.ɵɵelementEnd()();
|
|
563
563
|
} }
|
|
564
564
|
function MjFormToolbarComponent_Conditional_1_Conditional_1_Conditional_10_ng_template_8_Conditional_0_Conditional_5_Template(rf, ctx) { if (rf & 1) {
|
|
565
565
|
const _r31 = i0.ɵɵgetCurrentView();
|
|
566
|
-
i0.ɵɵelementStart(0, "div",
|
|
566
|
+
i0.ɵɵelementStart(0, "div", 72);
|
|
567
567
|
i0.ɵɵtext(1, "Layout");
|
|
568
568
|
i0.ɵɵelementEnd();
|
|
569
|
-
i0.ɵɵelementStart(2, "button",
|
|
569
|
+
i0.ɵɵelementStart(2, "button", 81);
|
|
570
570
|
i0.ɵɵlistener("click", function MjFormToolbarComponent_Conditional_1_Conditional_1_Conditional_10_ng_template_8_Conditional_0_Conditional_5_Template_button_click_2_listener() { i0.ɵɵrestoreView(_r31); const ctx_r1 = i0.ɵɵnextContext(6); return i0.ɵɵresetView(ctx_r1.OnToggleWidthMode()); });
|
|
571
|
-
i0.ɵɵelementStart(3, "span",
|
|
571
|
+
i0.ɵɵelementStart(3, "span", 53);
|
|
572
572
|
i0.ɵɵelement(4, "i");
|
|
573
573
|
i0.ɵɵelementEnd();
|
|
574
|
-
i0.ɵɵelementStart(5, "span",
|
|
574
|
+
i0.ɵɵelementStart(5, "span", 54);
|
|
575
575
|
i0.ɵɵtext(6);
|
|
576
576
|
i0.ɵɵelementEnd()();
|
|
577
577
|
} if (rf & 2) {
|
|
@@ -582,11 +582,11 @@ function MjFormToolbarComponent_Conditional_1_Conditional_1_Conditional_10_ng_te
|
|
|
582
582
|
i0.ɵɵtextInterpolate(ctx_r1.WidthMode === "centered" ? "Use full width" : "Center content");
|
|
583
583
|
} }
|
|
584
584
|
function MjFormToolbarComponent_Conditional_1_Conditional_1_Conditional_10_ng_template_8_Conditional_0_Template(rf, ctx) { if (rf & 1) {
|
|
585
|
-
i0.ɵɵconditionalCreate(0, MjFormToolbarComponent_Conditional_1_Conditional_1_Conditional_10_ng_template_8_Conditional_0_Conditional_0_Template, 3, 4, "div",
|
|
586
|
-
i0.ɵɵconditionalCreate(1, MjFormToolbarComponent_Conditional_1_Conditional_1_Conditional_10_ng_template_8_Conditional_0_Conditional_1_Template, 2, 0, "div",
|
|
585
|
+
i0.ɵɵconditionalCreate(0, MjFormToolbarComponent_Conditional_1_Conditional_1_Conditional_10_ng_template_8_Conditional_0_Conditional_0_Template, 3, 4, "div", 71);
|
|
586
|
+
i0.ɵɵconditionalCreate(1, MjFormToolbarComponent_Conditional_1_Conditional_1_Conditional_10_ng_template_8_Conditional_0_Conditional_1_Template, 2, 0, "div", 72);
|
|
587
587
|
i0.ɵɵconditionalCreate(2, MjFormToolbarComponent_Conditional_1_Conditional_1_Conditional_10_ng_template_8_Conditional_0_Conditional_2_Template, 10, 2);
|
|
588
|
-
i0.ɵɵconditionalCreate(3, MjFormToolbarComponent_Conditional_1_Conditional_1_Conditional_10_ng_template_8_Conditional_0_Conditional_3_Template, 5, 0, "button",
|
|
589
|
-
i0.ɵɵconditionalCreate(4, MjFormToolbarComponent_Conditional_1_Conditional_1_Conditional_10_ng_template_8_Conditional_0_Conditional_4_Template, 5, 0, "button",
|
|
588
|
+
i0.ɵɵconditionalCreate(3, MjFormToolbarComponent_Conditional_1_Conditional_1_Conditional_10_ng_template_8_Conditional_0_Conditional_3_Template, 5, 0, "button", 73);
|
|
589
|
+
i0.ɵɵconditionalCreate(4, MjFormToolbarComponent_Conditional_1_Conditional_1_Conditional_10_ng_template_8_Conditional_0_Conditional_4_Template, 5, 0, "button", 73);
|
|
590
590
|
i0.ɵɵconditionalCreate(5, MjFormToolbarComponent_Conditional_1_Conditional_1_Conditional_10_ng_template_8_Conditional_0_Conditional_5_Template, 7, 3);
|
|
591
591
|
} if (rf & 2) {
|
|
592
592
|
const ctx_r1 = i0.ɵɵnextContext(5);
|
|
@@ -603,22 +603,22 @@ function MjFormToolbarComponent_Conditional_1_Conditional_1_Conditional_10_ng_te
|
|
|
603
603
|
i0.ɵɵconditional(ctx_r1.Config.ShowWidthToggle ? 5 : -1);
|
|
604
604
|
} }
|
|
605
605
|
function MjFormToolbarComponent_Conditional_1_Conditional_1_Conditional_10_ng_template_8_Conditional_1_Conditional_10_Template(rf, ctx) { if (rf & 1) {
|
|
606
|
-
i0.ɵɵelement(0, "i",
|
|
606
|
+
i0.ɵɵelement(0, "i", 89);
|
|
607
607
|
} }
|
|
608
608
|
function MjFormToolbarComponent_Conditional_1_Conditional_1_Conditional_10_ng_template_8_Conditional_1_For_12_Conditional_6_Template(rf, ctx) { if (rf & 1) {
|
|
609
|
-
i0.ɵɵelement(0, "i",
|
|
609
|
+
i0.ɵɵelement(0, "i", 89);
|
|
610
610
|
} }
|
|
611
611
|
function MjFormToolbarComponent_Conditional_1_Conditional_1_Conditional_10_ng_template_8_Conditional_1_For_12_Template(rf, ctx) { if (rf & 1) {
|
|
612
612
|
const _r33 = i0.ɵɵgetCurrentView();
|
|
613
|
-
i0.ɵɵelementStart(0, "button",
|
|
613
|
+
i0.ɵɵelementStart(0, "button", 91);
|
|
614
614
|
i0.ɵɵlistener("click", function MjFormToolbarComponent_Conditional_1_Conditional_1_Conditional_10_ng_template_8_Conditional_1_For_12_Template_button_click_0_listener() { const v_r34 = i0.ɵɵrestoreView(_r33).$implicit; const ctx_r1 = i0.ɵɵnextContext(6); return i0.ɵɵresetView(ctx_r1.OnVariantClick(v_r34.ID)); });
|
|
615
|
-
i0.ɵɵelementStart(1, "div",
|
|
615
|
+
i0.ɵɵelementStart(1, "div", 85)(2, "span", 86);
|
|
616
616
|
i0.ɵɵtext(3);
|
|
617
617
|
i0.ɵɵelementEnd();
|
|
618
|
-
i0.ɵɵelementStart(4, "span",
|
|
618
|
+
i0.ɵɵelementStart(4, "span", 88);
|
|
619
619
|
i0.ɵɵtext(5);
|
|
620
620
|
i0.ɵɵelementEnd()();
|
|
621
|
-
i0.ɵɵconditionalCreate(6, MjFormToolbarComponent_Conditional_1_Conditional_1_Conditional_10_ng_template_8_Conditional_1_For_12_Conditional_6_Template, 1, 0, "i",
|
|
621
|
+
i0.ɵɵconditionalCreate(6, MjFormToolbarComponent_Conditional_1_Conditional_1_Conditional_10_ng_template_8_Conditional_1_For_12_Conditional_6_Template, 1, 0, "i", 89);
|
|
622
622
|
i0.ɵɵelementEnd();
|
|
623
623
|
} if (rf & 2) {
|
|
624
624
|
const v_r34 = ctx.$implicit;
|
|
@@ -634,22 +634,22 @@ function MjFormToolbarComponent_Conditional_1_Conditional_1_Conditional_10_ng_te
|
|
|
634
634
|
} }
|
|
635
635
|
function MjFormToolbarComponent_Conditional_1_Conditional_1_Conditional_10_ng_template_8_Conditional_1_Template(rf, ctx) { if (rf & 1) {
|
|
636
636
|
const _r32 = i0.ɵɵgetCurrentView();
|
|
637
|
-
i0.ɵɵelementStart(0, "div",
|
|
637
|
+
i0.ɵɵelementStart(0, "div", 72);
|
|
638
638
|
i0.ɵɵtext(1, "Form");
|
|
639
639
|
i0.ɵɵelementEnd();
|
|
640
|
-
i0.ɵɵelementStart(2, "button",
|
|
640
|
+
i0.ɵɵelementStart(2, "button", 84);
|
|
641
641
|
i0.ɵɵlistener("click", function MjFormToolbarComponent_Conditional_1_Conditional_1_Conditional_10_ng_template_8_Conditional_1_Template_button_click_2_listener() { i0.ɵɵrestoreView(_r32); const ctx_r1 = i0.ɵɵnextContext(5); return i0.ɵɵresetView(ctx_r1.OnVariantClick(null)); });
|
|
642
|
-
i0.ɵɵelementStart(3, "div",
|
|
642
|
+
i0.ɵɵelementStart(3, "div", 85)(4, "span", 86);
|
|
643
643
|
i0.ɵɵtext(5, " Default form ");
|
|
644
|
-
i0.ɵɵelementStart(6, "span",
|
|
644
|
+
i0.ɵɵelementStart(6, "span", 87);
|
|
645
645
|
i0.ɵɵtext(7, "(default)");
|
|
646
646
|
i0.ɵɵelementEnd()();
|
|
647
|
-
i0.ɵɵelementStart(8, "span",
|
|
647
|
+
i0.ɵɵelementStart(8, "span", 88);
|
|
648
648
|
i0.ɵɵtext(9, "CodeGen-generated Angular fallback");
|
|
649
649
|
i0.ɵɵelementEnd()();
|
|
650
|
-
i0.ɵɵconditionalCreate(10, MjFormToolbarComponent_Conditional_1_Conditional_1_Conditional_10_ng_template_8_Conditional_1_Conditional_10_Template, 1, 0, "i",
|
|
650
|
+
i0.ɵɵconditionalCreate(10, MjFormToolbarComponent_Conditional_1_Conditional_1_Conditional_10_ng_template_8_Conditional_1_Conditional_10_Template, 1, 0, "i", 89);
|
|
651
651
|
i0.ɵɵelementEnd();
|
|
652
|
-
i0.ɵɵrepeaterCreate(11, MjFormToolbarComponent_Conditional_1_Conditional_1_Conditional_10_ng_template_8_Conditional_1_For_12_Template, 7, 8, "button",
|
|
652
|
+
i0.ɵɵrepeaterCreate(11, MjFormToolbarComponent_Conditional_1_Conditional_1_Conditional_10_ng_template_8_Conditional_1_For_12_Template, 7, 8, "button", 90, _forTrack1);
|
|
653
653
|
} if (rf & 2) {
|
|
654
654
|
const ctx_r1 = i0.ɵɵnextContext(5);
|
|
655
655
|
i0.ɵɵadvance(2);
|
|
@@ -662,15 +662,15 @@ function MjFormToolbarComponent_Conditional_1_Conditional_1_Conditional_10_ng_te
|
|
|
662
662
|
} }
|
|
663
663
|
function MjFormToolbarComponent_Conditional_1_Conditional_1_Conditional_10_ng_template_8_Conditional_2_Template(rf, ctx) { if (rf & 1) {
|
|
664
664
|
const _r35 = i0.ɵɵgetCurrentView();
|
|
665
|
-
i0.ɵɵelementStart(0, "div",
|
|
665
|
+
i0.ɵɵelementStart(0, "div", 72);
|
|
666
666
|
i0.ɵɵtext(1, "Form");
|
|
667
667
|
i0.ɵɵelementEnd();
|
|
668
|
-
i0.ɵɵelementStart(2, "button",
|
|
668
|
+
i0.ɵɵelementStart(2, "button", 81);
|
|
669
669
|
i0.ɵɵlistener("click", function MjFormToolbarComponent_Conditional_1_Conditional_1_Conditional_10_ng_template_8_Conditional_2_Template_button_click_2_listener() { i0.ɵɵrestoreView(_r35); const ctx_r1 = i0.ɵɵnextContext(5); return i0.ɵɵresetView(ctx_r1.OnFormModeSwitchClick()); });
|
|
670
|
-
i0.ɵɵelementStart(3, "span",
|
|
671
|
-
i0.ɵɵelement(4, "i",
|
|
670
|
+
i0.ɵɵelementStart(3, "span", 53);
|
|
671
|
+
i0.ɵɵelement(4, "i", 92);
|
|
672
672
|
i0.ɵɵelementEnd();
|
|
673
|
-
i0.ɵɵelementStart(5, "span",
|
|
673
|
+
i0.ɵɵelementStart(5, "span", 54);
|
|
674
674
|
i0.ɵɵtext(6);
|
|
675
675
|
i0.ɵɵelementEnd()();
|
|
676
676
|
} if (rf & 2) {
|
|
@@ -681,7 +681,7 @@ function MjFormToolbarComponent_Conditional_1_Conditional_1_Conditional_10_ng_te
|
|
|
681
681
|
i0.ɵɵtextInterpolate(ctx_r1.FormModeSwitch.Mode === "standard" ? "Back to custom view" : "Open standard form");
|
|
682
682
|
} }
|
|
683
683
|
function MjFormToolbarComponent_Conditional_1_Conditional_1_Conditional_10_ng_template_8_Conditional_3_Conditional_2_Conditional_5_Template(rf, ctx) { if (rf & 1) {
|
|
684
|
-
i0.ɵɵelementStart(0, "span",
|
|
684
|
+
i0.ɵɵelementStart(0, "span", 55);
|
|
685
685
|
i0.ɵɵtext(1);
|
|
686
686
|
i0.ɵɵelementEnd();
|
|
687
687
|
} if (rf & 2) {
|
|
@@ -691,15 +691,15 @@ function MjFormToolbarComponent_Conditional_1_Conditional_1_Conditional_10_ng_te
|
|
|
691
691
|
} }
|
|
692
692
|
function MjFormToolbarComponent_Conditional_1_Conditional_1_Conditional_10_ng_template_8_Conditional_3_Conditional_2_Template(rf, ctx) { if (rf & 1) {
|
|
693
693
|
const _r37 = i0.ɵɵgetCurrentView();
|
|
694
|
-
i0.ɵɵelementStart(0, "button",
|
|
694
|
+
i0.ɵɵelementStart(0, "button", 98);
|
|
695
695
|
i0.ɵɵlistener("click", function MjFormToolbarComponent_Conditional_1_Conditional_1_Conditional_10_ng_template_8_Conditional_3_Conditional_2_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r37); const ctx_r1 = i0.ɵɵnextContext(6); return i0.ɵɵresetView(ctx_r1.ToggleEntityToolbarPin()); });
|
|
696
|
-
i0.ɵɵelementStart(1, "span",
|
|
697
|
-
i0.ɵɵelement(2, "i",
|
|
696
|
+
i0.ɵɵelementStart(1, "span", 53);
|
|
697
|
+
i0.ɵɵelement(2, "i", 57);
|
|
698
698
|
i0.ɵɵelementEnd();
|
|
699
|
-
i0.ɵɵelementStart(3, "span",
|
|
699
|
+
i0.ɵɵelementStart(3, "span", 54);
|
|
700
700
|
i0.ɵɵtext(4);
|
|
701
701
|
i0.ɵɵelementEnd();
|
|
702
|
-
i0.ɵɵconditionalCreate(5, MjFormToolbarComponent_Conditional_1_Conditional_1_Conditional_10_ng_template_8_Conditional_3_Conditional_2_Conditional_5_Template, 2, 1, "span",
|
|
702
|
+
i0.ɵɵconditionalCreate(5, MjFormToolbarComponent_Conditional_1_Conditional_1_Conditional_10_ng_template_8_Conditional_3_Conditional_2_Conditional_5_Template, 2, 1, "span", 55);
|
|
703
703
|
i0.ɵɵelementEnd();
|
|
704
704
|
} if (rf & 2) {
|
|
705
705
|
const ctx_r1 = i0.ɵɵnextContext(6);
|
|
@@ -710,32 +710,32 @@ function MjFormToolbarComponent_Conditional_1_Conditional_1_Conditional_10_ng_te
|
|
|
710
710
|
i0.ɵɵconditional(ctx_r1.EntityToolbarPinState !== undefined ? 5 : -1);
|
|
711
711
|
} }
|
|
712
712
|
function MjFormToolbarComponent_Conditional_1_Conditional_1_Conditional_10_ng_template_8_Conditional_3_Conditional_8_Template(rf, ctx) { if (rf & 1) {
|
|
713
|
-
i0.ɵɵelementStart(0, "span",
|
|
713
|
+
i0.ɵɵelementStart(0, "span", 55);
|
|
714
714
|
i0.ɵɵtext(1, "Pinned");
|
|
715
715
|
i0.ɵɵelementEnd();
|
|
716
716
|
} }
|
|
717
717
|
function MjFormToolbarComponent_Conditional_1_Conditional_1_Conditional_10_ng_template_8_Conditional_3_Template(rf, ctx) { if (rf & 1) {
|
|
718
718
|
const _r36 = i0.ɵɵgetCurrentView();
|
|
719
|
-
i0.ɵɵelementStart(0, "div",
|
|
719
|
+
i0.ɵɵelementStart(0, "div", 72);
|
|
720
720
|
i0.ɵɵtext(1, "Toolbar");
|
|
721
721
|
i0.ɵɵelementEnd();
|
|
722
|
-
i0.ɵɵconditionalCreate(2, MjFormToolbarComponent_Conditional_1_Conditional_1_Conditional_10_ng_template_8_Conditional_3_Conditional_2_Template, 6, 3, "button",
|
|
723
|
-
i0.ɵɵelementStart(3, "button",
|
|
722
|
+
i0.ɵɵconditionalCreate(2, MjFormToolbarComponent_Conditional_1_Conditional_1_Conditional_10_ng_template_8_Conditional_3_Conditional_2_Template, 6, 3, "button", 93);
|
|
723
|
+
i0.ɵɵelementStart(3, "button", 94);
|
|
724
724
|
i0.ɵɵlistener("click", function MjFormToolbarComponent_Conditional_1_Conditional_1_Conditional_10_ng_template_8_Conditional_3_Template_button_click_3_listener() { i0.ɵɵrestoreView(_r36); const ctx_r1 = i0.ɵɵnextContext(5); return i0.ɵɵresetView(ctx_r1.ToggleGlobalToolbarPin()); });
|
|
725
|
-
i0.ɵɵelementStart(4, "span",
|
|
726
|
-
i0.ɵɵelement(5, "i",
|
|
725
|
+
i0.ɵɵelementStart(4, "span", 53);
|
|
726
|
+
i0.ɵɵelement(5, "i", 95);
|
|
727
727
|
i0.ɵɵelementEnd();
|
|
728
|
-
i0.ɵɵelementStart(6, "span",
|
|
728
|
+
i0.ɵɵelementStart(6, "span", 54);
|
|
729
729
|
i0.ɵɵtext(7);
|
|
730
730
|
i0.ɵɵelementEnd();
|
|
731
|
-
i0.ɵɵconditionalCreate(8, MjFormToolbarComponent_Conditional_1_Conditional_1_Conditional_10_ng_template_8_Conditional_3_Conditional_8_Template, 2, 0, "span",
|
|
731
|
+
i0.ɵɵconditionalCreate(8, MjFormToolbarComponent_Conditional_1_Conditional_1_Conditional_10_ng_template_8_Conditional_3_Conditional_8_Template, 2, 0, "span", 55);
|
|
732
732
|
i0.ɵɵelementEnd();
|
|
733
|
-
i0.ɵɵelementStart(9, "button",
|
|
733
|
+
i0.ɵɵelementStart(9, "button", 96);
|
|
734
734
|
i0.ɵɵlistener("click", function MjFormToolbarComponent_Conditional_1_Conditional_1_Conditional_10_ng_template_8_Conditional_3_Template_button_click_9_listener() { i0.ɵɵrestoreView(_r36); const ctx_r1 = i0.ɵɵnextContext(5); return i0.ɵɵresetView(ctx_r1.CollapseToolbarForSession()); });
|
|
735
|
-
i0.ɵɵelementStart(10, "span",
|
|
736
|
-
i0.ɵɵelement(11, "i",
|
|
735
|
+
i0.ɵɵelementStart(10, "span", 53);
|
|
736
|
+
i0.ɵɵelement(11, "i", 97);
|
|
737
737
|
i0.ɵɵelementEnd();
|
|
738
|
-
i0.ɵɵelementStart(12, "span",
|
|
738
|
+
i0.ɵɵelementStart(12, "span", 54);
|
|
739
739
|
i0.ɵɵtext(13, "Hide toolbar now");
|
|
740
740
|
i0.ɵɵelementEnd()();
|
|
741
741
|
} if (rf & 2) {
|
|
@@ -766,16 +766,16 @@ function MjFormToolbarComponent_Conditional_1_Conditional_1_Conditional_10_ng_te
|
|
|
766
766
|
} }
|
|
767
767
|
function MjFormToolbarComponent_Conditional_1_Conditional_1_Conditional_10_Template(rf, ctx) { if (rf & 1) {
|
|
768
768
|
const _r23 = i0.ɵɵgetCurrentView();
|
|
769
|
-
i0.ɵɵelementStart(0, "div",
|
|
769
|
+
i0.ɵɵelementStart(0, "div", 44)(1, "button", 64);
|
|
770
770
|
i0.ɵɵlistener("click", function MjFormToolbarComponent_Conditional_1_Conditional_1_Conditional_10_Template_button_click_1_listener() { i0.ɵɵrestoreView(_r23); const ctx_r1 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r1.ToggleViewMenu()); });
|
|
771
|
-
i0.ɵɵelement(2, "i",
|
|
772
|
-
i0.ɵɵelementStart(3, "span",
|
|
771
|
+
i0.ɵɵelement(2, "i", 65);
|
|
772
|
+
i0.ɵɵelementStart(3, "span", 14);
|
|
773
773
|
i0.ɵɵtext(4, "View");
|
|
774
774
|
i0.ɵɵelementEnd();
|
|
775
|
-
i0.ɵɵconditionalCreate(5, MjFormToolbarComponent_Conditional_1_Conditional_1_Conditional_10_Conditional_5_Template, 2, 1, "span",
|
|
775
|
+
i0.ɵɵconditionalCreate(5, MjFormToolbarComponent_Conditional_1_Conditional_1_Conditional_10_Conditional_5_Template, 2, 1, "span", 66);
|
|
776
776
|
i0.ɵɵelementEnd();
|
|
777
|
-
i0.ɵɵconditionalCreate(6, MjFormToolbarComponent_Conditional_1_Conditional_1_Conditional_10_Conditional_6_Template, 2, 2, "div",
|
|
778
|
-
i0.ɵɵconditionalCreate(7, MjFormToolbarComponent_Conditional_1_Conditional_1_Conditional_10_Conditional_7_Template, 3, 3, "mj-bottom-sheet",
|
|
777
|
+
i0.ɵɵconditionalCreate(6, MjFormToolbarComponent_Conditional_1_Conditional_1_Conditional_10_Conditional_6_Template, 2, 2, "div", 67);
|
|
778
|
+
i0.ɵɵconditionalCreate(7, MjFormToolbarComponent_Conditional_1_Conditional_1_Conditional_10_Conditional_7_Template, 3, 3, "mj-bottom-sheet", 68);
|
|
779
779
|
i0.ɵɵtemplate(8, MjFormToolbarComponent_Conditional_1_Conditional_1_Conditional_10_ng_template_8_Template, 4, 4, "ng-template", null, 3, i0.ɵɵtemplateRefExtractor);
|
|
780
780
|
i0.ɵɵelementEnd();
|
|
781
781
|
} if (rf & 2) {
|
|
@@ -792,31 +792,31 @@ function MjFormToolbarComponent_Conditional_1_Conditional_1_Conditional_10_Templ
|
|
|
792
792
|
i0.ɵɵconditional(ctx_r1.IsAutoHideViewport ? 7 : -1);
|
|
793
793
|
} }
|
|
794
794
|
function MjFormToolbarComponent_Conditional_1_Conditional_1_Conditional_11_Template(rf, ctx) { if (rf & 1) {
|
|
795
|
-
i0.ɵɵelementContainer(0,
|
|
795
|
+
i0.ɵɵelementContainer(0, 42);
|
|
796
796
|
} if (rf & 2) {
|
|
797
797
|
const ctx_r1 = i0.ɵɵnextContext(3);
|
|
798
798
|
i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.AdditionalActionsTemplate);
|
|
799
799
|
} }
|
|
800
800
|
function MjFormToolbarComponent_Conditional_1_Conditional_1_Conditional_13_Template(rf, ctx) { if (rf & 1) {
|
|
801
801
|
const _r38 = i0.ɵɵgetCurrentView();
|
|
802
|
-
i0.ɵɵelementStart(0, "button",
|
|
802
|
+
i0.ɵɵelementStart(0, "button", 99);
|
|
803
803
|
i0.ɵɵlistener("click", function MjFormToolbarComponent_Conditional_1_Conditional_1_Conditional_13_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r38); const ctx_r1 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r1.CollapseToolbarForSession()); });
|
|
804
|
-
i0.ɵɵelement(1, "i",
|
|
804
|
+
i0.ɵɵelement(1, "i", 100);
|
|
805
805
|
i0.ɵɵelementEnd();
|
|
806
806
|
} }
|
|
807
807
|
function MjFormToolbarComponent_Conditional_1_Conditional_1_Template(rf, ctx) { if (rf & 1) {
|
|
808
|
-
i0.ɵɵelementStart(0, "div",
|
|
809
|
-
i0.ɵɵrepeaterCreate(2, MjFormToolbarComponent_Conditional_1_Conditional_1_For_3_Template, 1, 4, "ng-container",
|
|
810
|
-
i0.ɵɵrepeaterCreate(4, MjFormToolbarComponent_Conditional_1_Conditional_1_For_5_Template, 1, 4, "ng-container",
|
|
811
|
-
i0.ɵɵconditionalCreate(6, MjFormToolbarComponent_Conditional_1_Conditional_1_Conditional_6_Template, 9, 6, "div",
|
|
812
|
-
i0.ɵɵelementEnd();
|
|
813
|
-
i0.ɵɵelement(7, "div",
|
|
814
|
-
i0.ɵɵconditionalCreate(8, MjFormToolbarComponent_Conditional_1_Conditional_1_Conditional_8_Template, 6, 1, "span",
|
|
815
|
-
i0.ɵɵconditionalCreate(9, MjFormToolbarComponent_Conditional_1_Conditional_1_Conditional_9_Template, 3, 0, "div",
|
|
816
|
-
i0.ɵɵconditionalCreate(10, MjFormToolbarComponent_Conditional_1_Conditional_1_Conditional_10_Template, 10, 8, "div",
|
|
817
|
-
i0.ɵɵconditionalCreate(11, MjFormToolbarComponent_Conditional_1_Conditional_1_Conditional_11_Template, 1, 1, "ng-container",
|
|
808
|
+
i0.ɵɵelementStart(0, "div", 37)(1, "div", 38);
|
|
809
|
+
i0.ɵɵrepeaterCreate(2, MjFormToolbarComponent_Conditional_1_Conditional_1_For_3_Template, 1, 4, "ng-container", 39, _forTrack0);
|
|
810
|
+
i0.ɵɵrepeaterCreate(4, MjFormToolbarComponent_Conditional_1_Conditional_1_For_5_Template, 1, 4, "ng-container", 39, _forTrack0);
|
|
811
|
+
i0.ɵɵconditionalCreate(6, MjFormToolbarComponent_Conditional_1_Conditional_1_Conditional_6_Template, 9, 6, "div", 40);
|
|
812
|
+
i0.ɵɵelementEnd();
|
|
813
|
+
i0.ɵɵelement(7, "div", 9);
|
|
814
|
+
i0.ɵɵconditionalCreate(8, MjFormToolbarComponent_Conditional_1_Conditional_1_Conditional_8_Template, 6, 1, "span", 41);
|
|
815
|
+
i0.ɵɵconditionalCreate(9, MjFormToolbarComponent_Conditional_1_Conditional_1_Conditional_9_Template, 3, 0, "div", 38);
|
|
816
|
+
i0.ɵɵconditionalCreate(10, MjFormToolbarComponent_Conditional_1_Conditional_1_Conditional_10_Template, 10, 8, "div", 40);
|
|
817
|
+
i0.ɵɵconditionalCreate(11, MjFormToolbarComponent_Conditional_1_Conditional_1_Conditional_11_Template, 1, 1, "ng-container", 42);
|
|
818
818
|
i0.ɵɵprojection(12);
|
|
819
|
-
i0.ɵɵconditionalCreate(13, MjFormToolbarComponent_Conditional_1_Conditional_1_Conditional_13_Template, 2, 0, "button",
|
|
819
|
+
i0.ɵɵconditionalCreate(13, MjFormToolbarComponent_Conditional_1_Conditional_1_Conditional_13_Template, 2, 0, "button", 43);
|
|
820
820
|
i0.ɵɵelementEnd();
|
|
821
821
|
} if (rf & 2) {
|
|
822
822
|
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
@@ -840,13 +840,13 @@ function MjFormToolbarComponent_Conditional_1_Conditional_1_Template(rf, ctx) {
|
|
|
840
840
|
} }
|
|
841
841
|
function MjFormToolbarComponent_Conditional_1_Conditional_2_For_3_Template(rf, ctx) { if (rf & 1) {
|
|
842
842
|
const _r39 = i0.ɵɵgetCurrentView();
|
|
843
|
-
i0.ɵɵelementStart(0, "button",
|
|
843
|
+
i0.ɵɵelementStart(0, "button", 103);
|
|
844
844
|
i0.ɵɵlistener("click", function MjFormToolbarComponent_Conditional_1_Conditional_2_For_3_Template_button_click_0_listener($event) { const parent_r40 = i0.ɵɵrestoreView(_r39).$implicit; const ctx_r1 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r1.OnParentBadgeClick(parent_r40, $event)); });
|
|
845
|
-
i0.ɵɵelement(1, "i",
|
|
845
|
+
i0.ɵɵelement(1, "i", 104);
|
|
846
846
|
i0.ɵɵtext(2);
|
|
847
847
|
i0.ɵɵelementEnd();
|
|
848
|
-
i0.ɵɵelementStart(3, "span",
|
|
849
|
-
i0.ɵɵelement(4, "i",
|
|
848
|
+
i0.ɵɵelementStart(3, "span", 105);
|
|
849
|
+
i0.ɵɵelement(4, "i", 106);
|
|
850
850
|
i0.ɵɵelementEnd();
|
|
851
851
|
} if (rf & 2) {
|
|
852
852
|
const parent_r40 = ctx.$implicit;
|
|
@@ -855,19 +855,19 @@ function MjFormToolbarComponent_Conditional_1_Conditional_2_For_3_Template(rf, c
|
|
|
855
855
|
i0.ɵɵtextInterpolate1(" ", parent_r40.Name, " ");
|
|
856
856
|
} }
|
|
857
857
|
function MjFormToolbarComponent_Conditional_1_Conditional_2_Conditional_6_Template(rf, ctx) { if (rf & 1) {
|
|
858
|
-
i0.ɵɵelementContainer(0,
|
|
858
|
+
i0.ɵɵelementContainer(0, 39);
|
|
859
859
|
} if (rf & 2) {
|
|
860
860
|
const ctx_r1 = i0.ɵɵnextContext(3);
|
|
861
861
|
const descendantTreeTpl_r41 = i0.ɵɵreference(8);
|
|
862
862
|
i0.ɵɵproperty("ngTemplateOutlet", descendantTreeTpl_r41)("ngTemplateOutletContext", i0.ɵɵpureFunction1(2, _c3, ctx_r1.DescendantTree));
|
|
863
863
|
} }
|
|
864
864
|
function MjFormToolbarComponent_Conditional_1_Conditional_2_Template(rf, ctx) { if (rf & 1) {
|
|
865
|
-
i0.ɵɵelementStart(0, "div",
|
|
865
|
+
i0.ɵɵelementStart(0, "div", 30)(1, "div", 101);
|
|
866
866
|
i0.ɵɵrepeaterCreate(2, MjFormToolbarComponent_Conditional_1_Conditional_2_For_3_Template, 5, 2, null, null, _forTrack1);
|
|
867
|
-
i0.ɵɵelementStart(4, "span",
|
|
867
|
+
i0.ɵɵelementStart(4, "span", 102);
|
|
868
868
|
i0.ɵɵtext(5);
|
|
869
869
|
i0.ɵɵelementEnd();
|
|
870
|
-
i0.ɵɵconditionalCreate(6, MjFormToolbarComponent_Conditional_1_Conditional_2_Conditional_6_Template, 1, 4, "ng-container",
|
|
870
|
+
i0.ɵɵconditionalCreate(6, MjFormToolbarComponent_Conditional_1_Conditional_2_Conditional_6_Template, 1, 4, "ng-container", 39);
|
|
871
871
|
i0.ɵɵelementEnd()();
|
|
872
872
|
} if (rf & 2) {
|
|
873
873
|
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
@@ -879,8 +879,8 @@ function MjFormToolbarComponent_Conditional_1_Conditional_2_Template(rf, ctx) {
|
|
|
879
879
|
i0.ɵɵconditional(ctx_r1.DescendantTree.length > 0 ? 6 : -1);
|
|
880
880
|
} }
|
|
881
881
|
function MjFormToolbarComponent_Conditional_1_Template(rf, ctx) { if (rf & 1) {
|
|
882
|
-
i0.ɵɵconditionalCreate(0, MjFormToolbarComponent_Conditional_1_Conditional_0_Template, 4, 3, "div",
|
|
883
|
-
i0.ɵɵconditionalCreate(2, MjFormToolbarComponent_Conditional_1_Conditional_2_Template, 7, 2, "div",
|
|
882
|
+
i0.ɵɵconditionalCreate(0, MjFormToolbarComponent_Conditional_1_Conditional_0_Template, 4, 3, "div", 28)(1, MjFormToolbarComponent_Conditional_1_Conditional_1_Template, 14, 8, "div", 29);
|
|
883
|
+
i0.ɵɵconditionalCreate(2, MjFormToolbarComponent_Conditional_1_Conditional_2_Template, 7, 2, "div", 30);
|
|
884
884
|
} if (rf & 2) {
|
|
885
885
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
886
886
|
i0.ɵɵconditional(!ctx_r1.IsToolbarExpanded ? 0 : 1);
|
|
@@ -888,7 +888,7 @@ function MjFormToolbarComponent_Conditional_1_Template(rf, ctx) { if (rf & 1) {
|
|
|
888
888
|
i0.ɵɵconditional(ctx_r1.Config.ShowEntityHierarchy && ctx_r1.IsInHierarchy ? 2 : -1);
|
|
889
889
|
} }
|
|
890
890
|
function MjFormToolbarComponent_ng_template_2_Conditional_1_Template(rf, ctx) { if (rf & 1) {
|
|
891
|
-
i0.ɵɵelement(0, "i",
|
|
891
|
+
i0.ɵɵelement(0, "i", 25);
|
|
892
892
|
} }
|
|
893
893
|
function MjFormToolbarComponent_ng_template_2_Conditional_2_Template(rf, ctx) { if (rf & 1) {
|
|
894
894
|
i0.ɵɵelement(0, "i");
|
|
@@ -897,7 +897,7 @@ function MjFormToolbarComponent_ng_template_2_Conditional_2_Template(rf, ctx) {
|
|
|
897
897
|
i0.ɵɵclassMap(item_r43.Icon);
|
|
898
898
|
} }
|
|
899
899
|
function MjFormToolbarComponent_ng_template_2_Conditional_3_Template(rf, ctx) { if (rf & 1) {
|
|
900
|
-
i0.ɵɵelementStart(0, "span",
|
|
900
|
+
i0.ɵɵelementStart(0, "span", 14);
|
|
901
901
|
i0.ɵɵtext(1);
|
|
902
902
|
i0.ɵɵelementEnd();
|
|
903
903
|
} if (rf & 2) {
|
|
@@ -917,11 +917,11 @@ function MjFormToolbarComponent_ng_template_2_Conditional_4_Template(rf, ctx) {
|
|
|
917
917
|
} }
|
|
918
918
|
function MjFormToolbarComponent_ng_template_2_Template(rf, ctx) { if (rf & 1) {
|
|
919
919
|
const _r42 = i0.ɵɵgetCurrentView();
|
|
920
|
-
i0.ɵɵelementStart(0, "button",
|
|
920
|
+
i0.ɵɵelementStart(0, "button", 24);
|
|
921
921
|
i0.ɵɵlistener("click", function MjFormToolbarComponent_ng_template_2_Template_button_click_0_listener($event) { const item_r43 = i0.ɵɵrestoreView(_r42).item; const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.OnToolbarItemClick(item_r43, $event)); });
|
|
922
|
-
i0.ɵɵconditionalCreate(1, MjFormToolbarComponent_ng_template_2_Conditional_1_Template, 1, 0, "i",
|
|
923
|
-
i0.ɵɵconditionalCreate(3, MjFormToolbarComponent_ng_template_2_Conditional_3_Template, 2, 1, "span",
|
|
924
|
-
i0.ɵɵconditionalCreate(4, MjFormToolbarComponent_ng_template_2_Conditional_4_Template, 2, 3, "span",
|
|
922
|
+
i0.ɵɵconditionalCreate(1, MjFormToolbarComponent_ng_template_2_Conditional_1_Template, 1, 0, "i", 25)(2, MjFormToolbarComponent_ng_template_2_Conditional_2_Template, 1, 2, "i", 26);
|
|
923
|
+
i0.ɵɵconditionalCreate(3, MjFormToolbarComponent_ng_template_2_Conditional_3_Template, 2, 1, "span", 14);
|
|
924
|
+
i0.ɵɵconditionalCreate(4, MjFormToolbarComponent_ng_template_2_Conditional_4_Template, 2, 3, "span", 26);
|
|
925
925
|
i0.ɵɵelementEnd();
|
|
926
926
|
} if (rf & 2) {
|
|
927
927
|
const item_r43 = ctx.item;
|
|
@@ -939,143 +939,81 @@ function MjFormToolbarComponent_ng_template_2_Template(rf, ctx) { if (rf & 1) {
|
|
|
939
939
|
} }
|
|
940
940
|
function MjFormToolbarComponent_Conditional_4_Template(rf, ctx) { if (rf & 1) {
|
|
941
941
|
const _r44 = i0.ɵɵgetCurrentView();
|
|
942
|
-
i0.ɵɵelementStart(0, "mj-record-clone-slide-in",
|
|
942
|
+
i0.ɵɵelementStart(0, "mj-record-clone-slide-in", 107);
|
|
943
943
|
i0.ɵɵlistener("VisibleChange", function MjFormToolbarComponent_Conditional_4_Template_mj_record_clone_slide_in_VisibleChange_0_listener($event) { i0.ɵɵrestoreView(_r44); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.OnClonePanelVisibleChange($event)); })("CloneCompleted", function MjFormToolbarComponent_Conditional_4_Template_mj_record_clone_slide_in_CloneCompleted_0_listener($event) { i0.ɵɵrestoreView(_r44); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.OnCloneCompleted($event)); })("NavigateToRecord", function MjFormToolbarComponent_Conditional_4_Template_mj_record_clone_slide_in_NavigateToRecord_0_listener($event) { i0.ɵɵrestoreView(_r44); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.OnCloneNavigate($event)); });
|
|
944
944
|
i0.ɵɵelementEnd();
|
|
945
945
|
} if (rf & 2) {
|
|
946
946
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
947
947
|
i0.ɵɵproperty("Provider", ctx_r1.Provider)("Record", ctx_r1.Record)("Visible", ctx_r1.IsClonePanelOpen);
|
|
948
948
|
} }
|
|
949
|
-
function MjFormToolbarComponent_Conditional_5_Template(rf, ctx) { if (rf & 1) {
|
|
950
|
-
const _r45 = i0.ɵɵgetCurrentView();
|
|
951
|
-
i0.ɵɵelementStart(0, "div", 107);
|
|
952
|
-
i0.ɵɵlistener("click", function MjFormToolbarComponent_Conditional_5_Template_div_click_0_listener() { i0.ɵɵrestoreView(_r45); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.OnDiscardCancel()); });
|
|
953
|
-
i0.ɵɵelementStart(1, "div", 108);
|
|
954
|
-
i0.ɵɵlistener("click", function MjFormToolbarComponent_Conditional_5_Template_div_click_1_listener($event) { return $event.stopPropagation(); });
|
|
955
|
-
i0.ɵɵelementStart(2, "div", 109)(3, "h3");
|
|
956
|
-
i0.ɵɵtext(4, "Discard Changes?");
|
|
957
|
-
i0.ɵɵelementEnd();
|
|
958
|
-
i0.ɵɵelementStart(5, "button", 110);
|
|
959
|
-
i0.ɵɵlistener("click", function MjFormToolbarComponent_Conditional_5_Template_button_click_5_listener() { i0.ɵɵrestoreView(_r45); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.OnDiscardCancel()); });
|
|
960
|
-
i0.ɵɵelement(6, "i", 62);
|
|
961
|
-
i0.ɵɵelementEnd()();
|
|
962
|
-
i0.ɵɵelementStart(7, "div", 111)(8, "p");
|
|
963
|
-
i0.ɵɵtext(9, "You have ");
|
|
964
|
-
i0.ɵɵelementStart(10, "strong");
|
|
965
|
-
i0.ɵɵtext(11);
|
|
966
|
-
i0.ɵɵelementEnd();
|
|
967
|
-
i0.ɵɵtext(12);
|
|
968
|
-
i0.ɵɵelementEnd()();
|
|
969
|
-
i0.ɵɵelementStart(13, "div", 112)(14, "button", 113);
|
|
970
|
-
i0.ɵɵlistener("click", function MjFormToolbarComponent_Conditional_5_Template_button_click_14_listener() { i0.ɵɵrestoreView(_r45); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.OnDiscardConfirm()); });
|
|
971
|
-
i0.ɵɵelement(15, "i", 15);
|
|
972
|
-
i0.ɵɵtext(16, " Discard Changes ");
|
|
973
|
-
i0.ɵɵelementEnd();
|
|
974
|
-
i0.ɵɵelementStart(17, "button", 114);
|
|
975
|
-
i0.ɵɵlistener("click", function MjFormToolbarComponent_Conditional_5_Template_button_click_17_listener() { i0.ɵɵrestoreView(_r45); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.OnDiscardCancel()); });
|
|
976
|
-
i0.ɵɵtext(18, " Keep Editing ");
|
|
977
|
-
i0.ɵɵelementEnd()()()();
|
|
978
|
-
} if (rf & 2) {
|
|
979
|
-
const ctx_r1 = i0.ɵɵnextContext();
|
|
980
|
-
i0.ɵɵadvance(11);
|
|
981
|
-
i0.ɵɵtextInterpolate(ctx_r1.DirtyFieldDisplayNames.length);
|
|
982
|
-
i0.ɵɵadvance();
|
|
983
|
-
i0.ɵɵtextInterpolate2(" unsaved change", ctx_r1.DirtyFieldDisplayNames.length === 1 ? "" : "s", ". Are you sure you want to discard ", ctx_r1.DirtyFieldDisplayNames.length === 1 ? "it" : "them", "?");
|
|
984
|
-
} }
|
|
985
|
-
function MjFormToolbarComponent_Conditional_6_Template(rf, ctx) { if (rf & 1) {
|
|
986
|
-
const _r46 = i0.ɵɵgetCurrentView();
|
|
987
|
-
i0.ɵɵelementStart(0, "div", 107);
|
|
988
|
-
i0.ɵɵlistener("click", function MjFormToolbarComponent_Conditional_6_Template_div_click_0_listener() { i0.ɵɵrestoreView(_r46); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.OnDeleteCancel()); });
|
|
989
|
-
i0.ɵɵelementStart(1, "div", 108);
|
|
990
|
-
i0.ɵɵlistener("click", function MjFormToolbarComponent_Conditional_6_Template_div_click_1_listener($event) { return $event.stopPropagation(); });
|
|
991
|
-
i0.ɵɵelementStart(2, "div", 109)(3, "h3");
|
|
992
|
-
i0.ɵɵtext(4, "Confirm Deletion");
|
|
993
|
-
i0.ɵɵelementEnd();
|
|
994
|
-
i0.ɵɵelementStart(5, "button", 110);
|
|
995
|
-
i0.ɵɵlistener("click", function MjFormToolbarComponent_Conditional_6_Template_button_click_5_listener() { i0.ɵɵrestoreView(_r46); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.OnDeleteCancel()); });
|
|
996
|
-
i0.ɵɵelement(6, "i", 62);
|
|
997
|
-
i0.ɵɵelementEnd()();
|
|
998
|
-
i0.ɵɵelementStart(7, "div", 111)(8, "p");
|
|
999
|
-
i0.ɵɵtext(9, "Are you sure you want to delete this record? This action cannot be undone.");
|
|
1000
|
-
i0.ɵɵelementEnd()();
|
|
1001
|
-
i0.ɵɵelementStart(10, "div", 112)(11, "button", 113);
|
|
1002
|
-
i0.ɵɵlistener("click", function MjFormToolbarComponent_Conditional_6_Template_button_click_11_listener() { i0.ɵɵrestoreView(_r46); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.OnDeleteConfirm()); });
|
|
1003
|
-
i0.ɵɵelement(12, "i", 115);
|
|
1004
|
-
i0.ɵɵtext(13, " Delete ");
|
|
1005
|
-
i0.ɵɵelementEnd();
|
|
1006
|
-
i0.ɵɵelementStart(14, "button", 114);
|
|
1007
|
-
i0.ɵɵlistener("click", function MjFormToolbarComponent_Conditional_6_Template_button_click_14_listener() { i0.ɵɵrestoreView(_r46); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.OnDeleteCancel()); });
|
|
1008
|
-
i0.ɵɵtext(15, " Cancel ");
|
|
1009
|
-
i0.ɵɵelementEnd()()()();
|
|
1010
|
-
} }
|
|
1011
949
|
function MjFormToolbarComponent_ng_template_7_Conditional_0_Conditional_5_Template(rf, ctx) { if (rf & 1) {
|
|
1012
|
-
i0.ɵɵelementContainer(0,
|
|
950
|
+
i0.ɵɵelementContainer(0, 39);
|
|
1013
951
|
} if (rf & 2) {
|
|
1014
|
-
const
|
|
952
|
+
const items_r46 = i0.ɵɵnextContext(2).items;
|
|
1015
953
|
i0.ɵɵnextContext();
|
|
1016
954
|
const descendantTreeTpl_r41 = i0.ɵɵreference(8);
|
|
1017
|
-
i0.ɵɵproperty("ngTemplateOutlet", descendantTreeTpl_r41)("ngTemplateOutletContext", i0.ɵɵpureFunction1(2, _c3,
|
|
955
|
+
i0.ɵɵproperty("ngTemplateOutlet", descendantTreeTpl_r41)("ngTemplateOutletContext", i0.ɵɵpureFunction1(2, _c3, items_r46[0].Children));
|
|
1018
956
|
} }
|
|
1019
957
|
function MjFormToolbarComponent_ng_template_7_Conditional_0_Template(rf, ctx) { if (rf & 1) {
|
|
1020
|
-
const
|
|
1021
|
-
i0.ɵɵelementStart(0, "span",
|
|
1022
|
-
i0.ɵɵelement(1, "i",
|
|
958
|
+
const _r45 = i0.ɵɵgetCurrentView();
|
|
959
|
+
i0.ɵɵelementStart(0, "span", 105);
|
|
960
|
+
i0.ɵɵelement(1, "i", 106);
|
|
1023
961
|
i0.ɵɵelementEnd();
|
|
1024
|
-
i0.ɵɵelementStart(2, "button",
|
|
1025
|
-
i0.ɵɵlistener("click", function MjFormToolbarComponent_ng_template_7_Conditional_0_Template_button_click_2_listener($event) { i0.ɵɵrestoreView(
|
|
1026
|
-
i0.ɵɵelement(3, "i",
|
|
962
|
+
i0.ɵɵelementStart(2, "button", 109);
|
|
963
|
+
i0.ɵɵlistener("click", function MjFormToolbarComponent_ng_template_7_Conditional_0_Template_button_click_2_listener($event) { i0.ɵɵrestoreView(_r45); const items_r46 = i0.ɵɵnextContext().items; const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.OnDescendantBadgeClick(items_r46[0].EntityName, $event)); });
|
|
964
|
+
i0.ɵɵelement(3, "i", 110);
|
|
1027
965
|
i0.ɵɵtext(4);
|
|
1028
966
|
i0.ɵɵelementEnd();
|
|
1029
|
-
i0.ɵɵconditionalCreate(5, MjFormToolbarComponent_ng_template_7_Conditional_0_Conditional_5_Template, 1, 4, "ng-container",
|
|
967
|
+
i0.ɵɵconditionalCreate(5, MjFormToolbarComponent_ng_template_7_Conditional_0_Conditional_5_Template, 1, 4, "ng-container", 39);
|
|
1030
968
|
} if (rf & 2) {
|
|
1031
|
-
const
|
|
969
|
+
const items_r46 = i0.ɵɵnextContext().items;
|
|
1032
970
|
i0.ɵɵadvance(2);
|
|
1033
|
-
i0.ɵɵproperty("title", "Navigate to: " +
|
|
971
|
+
i0.ɵɵproperty("title", "Navigate to: " + items_r46[0].EntityName);
|
|
1034
972
|
i0.ɵɵadvance(2);
|
|
1035
|
-
i0.ɵɵtextInterpolate1(" ",
|
|
973
|
+
i0.ɵɵtextInterpolate1(" ", items_r46[0].EntityName, " ");
|
|
1036
974
|
i0.ɵɵadvance();
|
|
1037
|
-
i0.ɵɵconditional(
|
|
975
|
+
i0.ɵɵconditional(items_r46[0].Children.length > 0 ? 5 : -1);
|
|
1038
976
|
} }
|
|
1039
977
|
function MjFormToolbarComponent_ng_template_7_Conditional_1_For_2_Conditional_4_Template(rf, ctx) { if (rf & 1) {
|
|
1040
|
-
i0.ɵɵelementContainer(0,
|
|
978
|
+
i0.ɵɵelementContainer(0, 39);
|
|
1041
979
|
} if (rf & 2) {
|
|
1042
|
-
const
|
|
980
|
+
const item_r48 = i0.ɵɵnextContext().$implicit;
|
|
1043
981
|
i0.ɵɵnextContext(3);
|
|
1044
982
|
const descendantTreeTpl_r41 = i0.ɵɵreference(8);
|
|
1045
|
-
i0.ɵɵproperty("ngTemplateOutlet", descendantTreeTpl_r41)("ngTemplateOutletContext", i0.ɵɵpureFunction1(2, _c3,
|
|
983
|
+
i0.ɵɵproperty("ngTemplateOutlet", descendantTreeTpl_r41)("ngTemplateOutletContext", i0.ɵɵpureFunction1(2, _c3, item_r48.Children));
|
|
1046
984
|
} }
|
|
1047
985
|
function MjFormToolbarComponent_ng_template_7_Conditional_1_For_2_Template(rf, ctx) { if (rf & 1) {
|
|
1048
|
-
const
|
|
1049
|
-
i0.ɵɵelementStart(0, "div",
|
|
1050
|
-
i0.ɵɵlistener("click", function MjFormToolbarComponent_ng_template_7_Conditional_1_For_2_Template_button_click_1_listener($event) { const
|
|
1051
|
-
i0.ɵɵelement(2, "i",
|
|
986
|
+
const _r47 = i0.ɵɵgetCurrentView();
|
|
987
|
+
i0.ɵɵelementStart(0, "div", 111)(1, "button", 109);
|
|
988
|
+
i0.ɵɵlistener("click", function MjFormToolbarComponent_ng_template_7_Conditional_1_For_2_Template_button_click_1_listener($event) { const item_r48 = i0.ɵɵrestoreView(_r47).$implicit; const ctx_r1 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r1.OnDescendantBadgeClick(item_r48.EntityName, $event)); });
|
|
989
|
+
i0.ɵɵelement(2, "i", 110);
|
|
1052
990
|
i0.ɵɵtext(3);
|
|
1053
991
|
i0.ɵɵelementEnd();
|
|
1054
|
-
i0.ɵɵconditionalCreate(4, MjFormToolbarComponent_ng_template_7_Conditional_1_For_2_Conditional_4_Template, 1, 4, "ng-container",
|
|
992
|
+
i0.ɵɵconditionalCreate(4, MjFormToolbarComponent_ng_template_7_Conditional_1_For_2_Conditional_4_Template, 1, 4, "ng-container", 39);
|
|
1055
993
|
i0.ɵɵelementEnd();
|
|
1056
994
|
} if (rf & 2) {
|
|
1057
|
-
const
|
|
995
|
+
const item_r48 = ctx.$implicit;
|
|
1058
996
|
i0.ɵɵadvance();
|
|
1059
|
-
i0.ɵɵproperty("title", "Navigate to: " +
|
|
997
|
+
i0.ɵɵproperty("title", "Navigate to: " + item_r48.EntityName);
|
|
1060
998
|
i0.ɵɵadvance(2);
|
|
1061
|
-
i0.ɵɵtextInterpolate1(" ",
|
|
999
|
+
i0.ɵɵtextInterpolate1(" ", item_r48.EntityName, " ");
|
|
1062
1000
|
i0.ɵɵadvance();
|
|
1063
|
-
i0.ɵɵconditional(
|
|
1001
|
+
i0.ɵɵconditional(item_r48.Children.length > 0 ? 4 : -1);
|
|
1064
1002
|
} }
|
|
1065
1003
|
function MjFormToolbarComponent_ng_template_7_Conditional_1_Template(rf, ctx) { if (rf & 1) {
|
|
1066
|
-
i0.ɵɵelementStart(0, "div",
|
|
1067
|
-
i0.ɵɵrepeaterCreate(1, MjFormToolbarComponent_ng_template_7_Conditional_1_For_2_Template, 5, 3, "div",
|
|
1004
|
+
i0.ɵɵelementStart(0, "div", 108);
|
|
1005
|
+
i0.ɵɵrepeaterCreate(1, MjFormToolbarComponent_ng_template_7_Conditional_1_For_2_Template, 5, 3, "div", 111, _forTrack2);
|
|
1068
1006
|
i0.ɵɵelementEnd();
|
|
1069
1007
|
} if (rf & 2) {
|
|
1070
|
-
const
|
|
1008
|
+
const items_r46 = i0.ɵɵnextContext().items;
|
|
1071
1009
|
i0.ɵɵadvance();
|
|
1072
|
-
i0.ɵɵrepeater(
|
|
1010
|
+
i0.ɵɵrepeater(items_r46);
|
|
1073
1011
|
} }
|
|
1074
1012
|
function MjFormToolbarComponent_ng_template_7_Template(rf, ctx) { if (rf & 1) {
|
|
1075
|
-
i0.ɵɵconditionalCreate(0, MjFormToolbarComponent_ng_template_7_Conditional_0_Template, 6, 3)(1, MjFormToolbarComponent_ng_template_7_Conditional_1_Template, 3, 0, "div",
|
|
1013
|
+
i0.ɵɵconditionalCreate(0, MjFormToolbarComponent_ng_template_7_Conditional_0_Template, 6, 3)(1, MjFormToolbarComponent_ng_template_7_Conditional_1_Template, 3, 0, "div", 108);
|
|
1076
1014
|
} if (rf & 2) {
|
|
1077
|
-
const
|
|
1078
|
-
i0.ɵɵconditional(
|
|
1015
|
+
const items_r46 = ctx.items;
|
|
1016
|
+
i0.ɵɵconditional(items_r46.length === 1 ? 0 : items_r46.length > 1 ? 1 : -1);
|
|
1079
1017
|
} }
|
|
1080
1018
|
/** User setting that stores the toolbar actions a user pinned, shared across every form. */
|
|
1081
1019
|
export const TOOLBAR_PINS_SETTING_KEY = 'mj.form.toolbar.pinnedActions';
|
|
@@ -1598,6 +1536,15 @@ export class MjFormToolbarComponent extends BaseAngularComponent {
|
|
|
1598
1536
|
// No changes - cancel immediately
|
|
1599
1537
|
this.emitCancel();
|
|
1600
1538
|
}
|
|
1539
|
+
/** The Discard confirm's message: how many unsaved changes the user is about to lose. */
|
|
1540
|
+
get DiscardMessage() {
|
|
1541
|
+
const n = this.DirtyFieldDisplayNames.length;
|
|
1542
|
+
// A record can be dirty with no named field changed (a new record prefilled by its caller);
|
|
1543
|
+
// "0 unsaved changes" would contradict the prompt, so say it plainly.
|
|
1544
|
+
if (n === 0)
|
|
1545
|
+
return 'You have unsaved changes. Are you sure you want to discard them?';
|
|
1546
|
+
return `You have ${n} unsaved change${n === 1 ? '' : 's'}. Are you sure you want to discard ${n === 1 ? 'it' : 'them'}?`;
|
|
1547
|
+
}
|
|
1601
1548
|
OnDiscardConfirm() {
|
|
1602
1549
|
this.ShowDiscardDialog = false;
|
|
1603
1550
|
this.emitCancel();
|
|
@@ -2832,14 +2779,18 @@ export class MjFormToolbarComponent extends BaseAngularComponent {
|
|
|
2832
2779
|
this.ManageSectionsRequested.emit();
|
|
2833
2780
|
}
|
|
2834
2781
|
static ɵfac = /*@__PURE__*/ (() => { let ɵMjFormToolbarComponent_BaseFactory; return function MjFormToolbarComponent_Factory(__ngFactoryType__) { return (ɵMjFormToolbarComponent_BaseFactory || (ɵMjFormToolbarComponent_BaseFactory = i0.ɵɵgetInheritedFactory(MjFormToolbarComponent)))(__ngFactoryType__ || MjFormToolbarComponent); }; })();
|
|
2835
|
-
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: MjFormToolbarComponent, selectors: [["mj-form-toolbar"]], inputs: { Form: "Form", _deprecatedForm: [0, "form", "_deprecatedForm"], Record: "Record", EditMode: "EditMode", UserCanEdit: "UserCanEdit", UserCanDelete: "UserCanDelete", IsFavorite: "IsFavorite", FavoriteInitDone: "FavoriteInitDone", IsDirty: "IsDirty", DirtyFieldNames: "DirtyFieldNames", ListCount: "ListCount", TagCount: "TagCount", IsTagsPanelOpen: "IsTagsPanelOpen", LinksOpen: "LinksOpen", LinkCount: "LinkCount", CommentsOpen: "CommentsOpen", CommentCount: "CommentCount", ConflictCount: "ConflictCount", AttachmentCount: "AttachmentCount", AttachmentsAvailable: "AttachmentsAvailable", IsAttachmentsPanelOpen: "IsAttachmentsPanelOpen", VersionCount: "VersionCount", EntityInfo: "EntityInfo", Config: "Config", IsSaving: "IsSaving", IsRefreshing: "IsRefreshing", VisibleSectionCount: "VisibleSectionCount", TotalSectionCount: "TotalSectionCount", ExpandedSectionCount: "ExpandedSectionCount", SearchFilter: "SearchFilter", ShowEmptyFields: "ShowEmptyFields", WidthMode: "WidthMode", HasCustomSectionOrder: "HasCustomSectionOrder", ChromeLayout: "ChromeLayout", AdditionalActionsTemplate: "AdditionalActionsTemplate", Variants: "Variants", RegisteredItems: "RegisteredItems", ItemOverrides: "ItemOverrides", FormComponent: "FormComponent", CurrentVariantID: "CurrentVariantID", FormModeSwitch: "FormModeSwitch" }, outputs: { ToolbarItemClick: "ToolbarItemClick", Navigate: "Navigate", EditModeChange: "EditModeChange", BeforeSave: "BeforeSave", SaveRequested: "SaveRequested", BeforeCancel: "BeforeCancel", CancelRequested: "CancelRequested", BeforeDelete: "BeforeDelete", DeleteRequested: "DeleteRequested", BeforeRefresh: "BeforeRefresh", RefreshRequested: "RefreshRequested", FavoriteToggled: "FavoriteToggled", BeforeHistoryView: "BeforeHistoryView", HistoryRequested: "HistoryRequested", BeforeListManagement: "BeforeListManagement", ListManagementRequested: "ListManagementRequested", TagsPanelToggled: "TagsPanelToggled", LinksRequest: "LinksRequest", CommentsRequest: "CommentsRequest", AskAIRequested: "AskAIRequested", ActionPinChanged: "ActionPinChanged", AttachmentsPanelToggled: "AttachmentsPanelToggled", ShowChangesRequested: "ShowChangesRequested", VariantPicked: "VariantPicked", CustomButtonClick: "CustomButtonClick", FilterChange: "FilterChange", ExpandAllRequested: "ExpandAllRequested", CollapseAllRequested: "CollapseAllRequested", ShowEmptyFieldsChange: "ShowEmptyFieldsChange", WidthModeChange: "WidthModeChange", ResetSectionOrderRequested: "ResetSectionOrderRequested", ManageSectionsRequested: "ManageSectionsRequested", BeforeClone: "BeforeClone", CloneCompleted: "CloneCompleted" }, standalone: false, features: [i0.ɵɵInheritDefinitionFeature], ngContentSelectors: _c1, decls: 9, vars:
|
|
2782
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: MjFormToolbarComponent, selectors: [["mj-form-toolbar"]], inputs: { Form: "Form", _deprecatedForm: [0, "form", "_deprecatedForm"], Record: "Record", EditMode: "EditMode", UserCanEdit: "UserCanEdit", UserCanDelete: "UserCanDelete", IsFavorite: "IsFavorite", FavoriteInitDone: "FavoriteInitDone", IsDirty: "IsDirty", DirtyFieldNames: "DirtyFieldNames", ListCount: "ListCount", TagCount: "TagCount", IsTagsPanelOpen: "IsTagsPanelOpen", LinksOpen: "LinksOpen", LinkCount: "LinkCount", CommentsOpen: "CommentsOpen", CommentCount: "CommentCount", ConflictCount: "ConflictCount", AttachmentCount: "AttachmentCount", AttachmentsAvailable: "AttachmentsAvailable", IsAttachmentsPanelOpen: "IsAttachmentsPanelOpen", VersionCount: "VersionCount", EntityInfo: "EntityInfo", Config: "Config", IsSaving: "IsSaving", IsRefreshing: "IsRefreshing", VisibleSectionCount: "VisibleSectionCount", TotalSectionCount: "TotalSectionCount", ExpandedSectionCount: "ExpandedSectionCount", SearchFilter: "SearchFilter", ShowEmptyFields: "ShowEmptyFields", WidthMode: "WidthMode", HasCustomSectionOrder: "HasCustomSectionOrder", ChromeLayout: "ChromeLayout", AdditionalActionsTemplate: "AdditionalActionsTemplate", Variants: "Variants", RegisteredItems: "RegisteredItems", ItemOverrides: "ItemOverrides", FormComponent: "FormComponent", CurrentVariantID: "CurrentVariantID", FormModeSwitch: "FormModeSwitch" }, outputs: { ToolbarItemClick: "ToolbarItemClick", Navigate: "Navigate", EditModeChange: "EditModeChange", BeforeSave: "BeforeSave", SaveRequested: "SaveRequested", BeforeCancel: "BeforeCancel", CancelRequested: "CancelRequested", BeforeDelete: "BeforeDelete", DeleteRequested: "DeleteRequested", BeforeRefresh: "BeforeRefresh", RefreshRequested: "RefreshRequested", FavoriteToggled: "FavoriteToggled", BeforeHistoryView: "BeforeHistoryView", HistoryRequested: "HistoryRequested", BeforeListManagement: "BeforeListManagement", ListManagementRequested: "ListManagementRequested", TagsPanelToggled: "TagsPanelToggled", LinksRequest: "LinksRequest", CommentsRequest: "CommentsRequest", AskAIRequested: "AskAIRequested", ActionPinChanged: "ActionPinChanged", AttachmentsPanelToggled: "AttachmentsPanelToggled", ShowChangesRequested: "ShowChangesRequested", VariantPicked: "VariantPicked", CustomButtonClick: "CustomButtonClick", FilterChange: "FilterChange", ExpandAllRequested: "ExpandAllRequested", CollapseAllRequested: "CollapseAllRequested", ShowEmptyFieldsChange: "ShowEmptyFieldsChange", WidthModeChange: "WidthModeChange", ResetSectionOrderRequested: "ResetSectionOrderRequested", ManageSectionsRequested: "ManageSectionsRequested", BeforeClone: "BeforeClone", CloneCompleted: "CloneCompleted" }, standalone: false, features: [i0.ɵɵInheritDefinitionFeature], ngContentSelectors: _c1, decls: 9, vars: 6, consts: [["actionButtonTpl", ""], ["descendantTreeTpl", ""], ["moreMenuContent", ""], ["viewMenuContent", ""], [1, "mj-forms-edit-banner"], [3, "Provider", "Record", "Visible"], ["Title", "Discard Changes?", "Type", "danger", "ConfirmText", "Discard Changes", "CancelText", "Keep Editing", 3, "Confirmed", "Cancelled", "Visible", "Message"], ["Title", "Confirm Deletion", "Type", "danger", "Message", "Are you sure you want to delete this record? This action cannot be undone.", "ConfirmText", "Delete", "CancelText", "Cancel", 3, "Confirmed", "Cancelled", "Visible"], ["role", "status", 1, "mj-forms-edit-banner-conflicts"], [1, "mj-forms-toolbar-spacer"], [1, "mj-forms-edit-banner-actions"], [1, "mj-forms-btn", 3, "mj-forms-btn--primary", "mj-forms-btn--secondary", "mj-forms-btn--accent", "mj-forms-btn--danger", "mj-forms-btn--ghost", "class", "disabled", "title"], ["title", "Save Changes", 1, "mj-forms-btn", "mj-forms-btn--primary", 3, "click", "disabled"], [1, "fa-solid", "fa-floppy-disk"], [1, "mj-forms-btn-text"], ["title", "Discard Changes", 1, "mj-forms-btn", 3, "click", "disabled"], [1, "fa-solid", "fa-rotate-left"], [1, "fa-solid", "fa-circle-exclamation", "mj-forms-edit-banner-icon--dirty"], [1, "mj-forms-edit-banner-dirty"], [1, "mj-forms-dirty-chips"], [1, "fa-solid", "fa-pen-to-square"], [1, "mj-forms-edit-banner-text"], [1, "mj-forms-edit-banner-record-name"], [1, "fa-solid", "fa-triangle-exclamation"], [1, "mj-forms-btn", 3, "click", "disabled", "title"], [1, "fa-solid", "fa-spinner", "fa-spin"], [3, "class"], [1, "mj-list-count-badge"], ["role", "toolbar", "aria-label", "Form actions", 1, "mj-forms-toolbar-collapsed-pill", 3, "mj-forms-toolbar-collapsed-pill--rail"], [1, "mj-forms-toolbar", 3, "mj-forms-toolbar--sticky"], [1, "mj-forms-hierarchy-row"], ["role", "toolbar", "aria-label", "Form actions", 1, "mj-forms-toolbar-collapsed-pill"], ["type", "button", 1, "mj-forms-collapsed-btn", "mj-forms-collapsed-btn--edit", 3, "disabled", "title"], ["type", "button", "aria-label", "Show form toolbar", "title", "Show toolbar actions and view options", 1, "mj-forms-collapsed-btn", "mj-forms-collapsed-btn--expand", 3, "click"], [1, "fa-solid", "fa-ellipsis"], ["type", "button", 1, "mj-forms-collapsed-btn", "mj-forms-collapsed-btn--edit", 3, "click", "disabled", "title"], [1, "fa-solid", "fa-pen"], [1, "mj-forms-toolbar"], [1, "mj-forms-toolbar-group"], [3, "ngTemplateOutlet", "ngTemplateOutletContext"], [1, "mj-forms-menu-host", 3, "open"], ["title", "Sections are filtered", 1, "mj-forms-filter-chip"], [3, "ngTemplateOutlet"], ["type", "button", "aria-label", "Hide form toolbar", "title", "Hide toolbar", 1, "mj-forms-btn", "mj-forms-btn--icon-only", "mj-forms-toolbar-collapse-btn"], [1, "mj-forms-menu-host"], ["type", "button", "data-menu-trigger", "more", "title", "More actions", 1, "mj-forms-btn", "mj-forms-menu-trigger", 3, "click"], ["role", "group", "aria-label", "More actions", 1, "mj-forms-menu", "mj-forms-menu--left", 3, "id"], ["Title", "More actions", 3, "Visible"], ["Title", "More actions", 3, "VisibleChange", "Visible"], ["role", "group", "aria-label", "More actions", 1, "mj-forms-menu", "mj-forms-menu--sheet", 3, "id"], [1, "mj-forms-menu-row", 3, "disabled"], [1, "mj-forms-menu-row"], ["type", "button", 1, "mj-forms-menu-item", 3, "click", "disabled", "title"], [1, "mj-forms-menu-icon"], [1, "mj-forms-menu-label"], [1, "mj-forms-menu-badge"], ["type", "button", 1, "mj-forms-menu-pin", 3, "click", "title"], [1, "fa-solid", "fa-thumbtack"], [1, "mj-forms-menu-sep"], ["type", "button", 1, "mj-forms-menu-item", "mj-forms-menu-item--danger", 3, "click", "disabled", "title"], [1, "fa-solid", "fa-filter"], [1, "mj-forms-filter-chip-text"], ["type", "button", "aria-label", "Clear section filter", "title", "Clear section filter", 1, "mj-forms-filter-chip-clear", 3, "click"], [1, "fa-solid", "fa-xmark"], ["type", "button", "data-menu-trigger", "view", 1, "mj-forms-btn", "mj-forms-menu-trigger", 3, "click", "title"], [1, "fa-solid", "fa-sliders"], [1, "mj-forms-variant-tag"], ["role", "group", "aria-label", "Sections and layout", 1, "mj-forms-menu", "mj-forms-menu--right", 3, "id"], ["Title", "Sections and layout", 3, "Visible"], ["Title", "Sections and layout", 3, "VisibleChange", "Visible"], ["role", "group", "aria-label", "Sections and layout", 1, "mj-forms-menu", "mj-forms-menu--sheet", 3, "id"], [1, "mj-forms-menu-search"], [1, "mj-forms-menu-heading"], ["type", "button", 1, "mj-forms-menu-item"], ["type", "text", "placeholder", "Search sections...", "aria-label", "Search sections", 1, "mj-section-search", 3, "input", "value"], ["type", "button", "aria-label", "Clear section search", "title", "Clear search", 1, "mj-clear-search"], ["type", "button", "aria-label", "Clear section search", "title", "Clear search", 1, "mj-clear-search", 3, "click"], ["type", "button", "title", "Expand all sections", 1, "mj-forms-menu-item", 3, "click", "disabled"], [1, "fa-solid", "fa-angles-down"], ["type", "button", "title", "Collapse all sections", 1, "mj-forms-menu-item", 3, "click", "disabled"], [1, "fa-solid", "fa-angles-up"], ["type", "button", 1, "mj-forms-menu-item", 3, "click"], [1, "fa-solid", "fa-bars-staggered"], [1, "fa-solid", "fa-arrow-rotate-left"], ["type", "button", 1, "mj-form-variant-picker-row", "mj-form-variant-picker-default", 3, "click"], [1, "mj-form-variant-picker-row-main"], [1, "mj-form-variant-picker-row-title"], [1, "mj-form-variant-picker-default-tag"], [1, "mj-form-variant-picker-row-sub"], [1, "fa-solid", "fa-check", "mj-form-variant-picker-check"], ["type", "button", 1, "mj-form-variant-picker-row", 3, "current", "inactive"], ["type", "button", 1, "mj-form-variant-picker-row", 3, "click"], [1, "fa-solid"], ["type", "button", "data-toolbar-pin", "entity", 1, "mj-forms-menu-item"], ["type", "button", "data-toolbar-pin", "global", 1, "mj-forms-menu-item", 3, "click"], [1, "fa-solid", "fa-globe"], ["type", "button", "data-toolbar-collapse", "menu", 1, "mj-forms-menu-item", 3, "click"], [1, "fa-solid", "fa-eye-slash"], ["type", "button", "data-toolbar-pin", "entity", 1, "mj-forms-menu-item", 3, "click"], ["type", "button", "aria-label", "Hide form toolbar", "title", "Hide toolbar", 1, "mj-forms-btn", "mj-forms-btn--icon-only", "mj-forms-toolbar-collapse-btn", 3, "click"], [1, "fa-solid", "fa-chevron-up"], [1, "mj-entity-hierarchy"], [1, "mj-entity-badge", "mj-entity-badge--current"], ["type", "button", 1, "mj-entity-badge", "mj-entity-badge--parent", 3, "click", "title"], [1, "fa-solid", "fa-arrow-up"], [1, "mj-hierarchy-arrow"], [1, "fa-solid", "fa-chevron-right"], [3, "VisibleChange", "CloneCompleted", "NavigateToRecord", "Provider", "Record", "Visible"], [1, "mj-descendant-chains"], ["type", "button", 1, "mj-entity-badge", "mj-entity-badge--child", 3, "click", "title"], [1, "fa-solid", "fa-arrow-down"], [1, "mj-descendant-chain"]], template: function MjFormToolbarComponent_Template(rf, ctx) { if (rf & 1) {
|
|
2836
2783
|
i0.ɵɵprojectionDef(_c0);
|
|
2837
2784
|
i0.ɵɵconditionalCreate(0, MjFormToolbarComponent_Conditional_0_Template, 18, 4, "div", 4);
|
|
2838
2785
|
i0.ɵɵconditionalCreate(1, MjFormToolbarComponent_Conditional_1_Template, 3, 2);
|
|
2839
2786
|
i0.ɵɵtemplate(2, MjFormToolbarComponent_ng_template_2_Template, 5, 34, "ng-template", null, 0, i0.ɵɵtemplateRefExtractor);
|
|
2840
2787
|
i0.ɵɵconditionalCreate(4, MjFormToolbarComponent_Conditional_4_Template, 1, 3, "mj-record-clone-slide-in", 5);
|
|
2841
|
-
i0.ɵɵ
|
|
2842
|
-
i0.ɵɵ
|
|
2788
|
+
i0.ɵɵelementStart(5, "mj-confirm-dialog", 6);
|
|
2789
|
+
i0.ɵɵlistener("Confirmed", function MjFormToolbarComponent_Template_mj_confirm_dialog_Confirmed_5_listener() { return ctx.OnDiscardConfirm(); })("Cancelled", function MjFormToolbarComponent_Template_mj_confirm_dialog_Cancelled_5_listener() { return ctx.OnDiscardCancel(); });
|
|
2790
|
+
i0.ɵɵelementEnd();
|
|
2791
|
+
i0.ɵɵelementStart(6, "mj-confirm-dialog", 7);
|
|
2792
|
+
i0.ɵɵlistener("Confirmed", function MjFormToolbarComponent_Template_mj_confirm_dialog_Confirmed_6_listener() { return ctx.OnDeleteConfirm(); })("Cancelled", function MjFormToolbarComponent_Template_mj_confirm_dialog_Cancelled_6_listener() { return ctx.OnDeleteCancel(); });
|
|
2793
|
+
i0.ɵɵelementEnd();
|
|
2843
2794
|
i0.ɵɵtemplate(7, MjFormToolbarComponent_ng_template_7_Template, 2, 1, "ng-template", null, 1, i0.ɵɵtemplateRefExtractor);
|
|
2844
2795
|
} if (rf & 2) {
|
|
2845
2796
|
i0.ɵɵconditional(ctx.EditMode && ctx.Config.ShowEditBanner ? 0 : -1);
|
|
@@ -2848,14 +2799,14 @@ export class MjFormToolbarComponent extends BaseAngularComponent {
|
|
|
2848
2799
|
i0.ɵɵadvance(3);
|
|
2849
2800
|
i0.ɵɵconditional(ctx.ShowCloneAction ? 4 : -1);
|
|
2850
2801
|
i0.ɵɵadvance();
|
|
2851
|
-
i0.ɵɵ
|
|
2802
|
+
i0.ɵɵproperty("Visible", ctx.ShowDiscardDialog)("Message", ctx.DiscardMessage);
|
|
2852
2803
|
i0.ɵɵadvance();
|
|
2853
|
-
i0.ɵɵ
|
|
2854
|
-
} }, dependencies: [i1.NgTemplateOutlet, i2.MJBottomSheetComponent, i3.RecordCloneSlideInComponent], styles: ["\n\n\n[_nghost-%COMP%] {\n display: block;\n}\n\n\n\n\n.mj-forms-edit-banner[_ngcontent-%COMP%] {\n display: flex;\n align-items: center;\n gap: 10px;\n padding: 16px 16px;\n background: color-mix(in srgb, var(--mj-brand-primary) 10%, var(--mj-bg-surface));\n border-bottom: 2px solid var(--mj-brand-primary);\n font-size: 13px;\n color: var(--mj-brand-primary);\n font-weight: var(--mj-font-medium);\n}\n\n.mj-forms-edit-banner[_ngcontent-%COMP%] > i[_ngcontent-%COMP%] {\n font-size: var(--mj-text-sm);\n}\n\n.mj-forms-edit-banner-icon--dirty[_ngcontent-%COMP%] {\n color: var(--mj-status-warning);\n font-size: var(--mj-text-base);\n}\n\n.mj-forms-edit-banner-text[_ngcontent-%COMP%] {\n font-size: var(--mj-text-sm);\n}\n\n.mj-forms-edit-banner-dirty[_ngcontent-%COMP%] {\n font-size: var(--mj-text-sm);\n color: var(--mj-text-primary);\n}\n\n.mj-forms-edit-banner-dirty[_ngcontent-%COMP%] strong[_ngcontent-%COMP%] {\n color: var(--mj-status-warning);\n font-weight: var(--mj-font-bold);\n}\n\n.mj-forms-edit-banner-actions[_ngcontent-%COMP%] {\n display: flex;\n gap: 8px;\n}\n\n\n\n\n.mj-forms-toolbar[_ngcontent-%COMP%] {\n position: relative;\n display: flex;\n align-items: center;\n gap: 8px;\n padding: 22px 16px;\n background: var(--mj-bg-surface-card);\n border-bottom: 2px solid var(--mj-border-default);\n flex-wrap: wrap;\n z-index: 40;\n}\n\n.mj-forms-toolbar--sticky[_ngcontent-%COMP%] {\n position: sticky;\n top: 0;\n}\n\n.mj-forms-toolbar--disabled[_ngcontent-%COMP%] {\n pointer-events: none;\n opacity: 0.7;\n}\n\n.mj-forms-toolbar-group[_ngcontent-%COMP%] {\n display: flex;\n align-items: center;\n gap: 6px;\n}\n\n.mj-forms-toolbar-separator[_ngcontent-%COMP%] {\n width: 1px;\n height: 24px;\n background: var(--mj-border-default);\n margin: 0 4px;\n}\n\n.mj-forms-toolbar-spacer[_ngcontent-%COMP%] {\n flex: 1;\n}\n\n\n\n\n.mj-forms-btn[_ngcontent-%COMP%] {\n position: relative;\n display: inline-flex;\n align-items: center;\n gap: 6px;\n padding: 8px 16px;\n font-size: 13px;\n font-weight: var(--mj-font-medium);\n border: 1px solid var(--mj-border-default);\n background: var(--mj-bg-surface);\n color: var(--mj-text-primary);\n border-radius: var(--mj-radius-sm);\n cursor: pointer;\n transition: all var(--mj-transition-base) ease;\n white-space: nowrap;\n font-family: inherit;\n line-height: 1;\n}\n\n.mj-forms-btn[_ngcontent-%COMP%]:hover {\n background: var(--mj-bg-surface-hover);\n border-color: var(--mj-border-strong);\n box-shadow: var(--mj-shadow-sm);\n}\n\n.mj-forms-btn[_ngcontent-%COMP%]:active {\n transform: translateY(0);\n box-shadow: none;\n}\n\n.mj-forms-btn[_ngcontent-%COMP%]:disabled {\n opacity: 0.5;\n cursor: not-allowed;\n}\n\n.mj-forms-btn[_ngcontent-%COMP%] i[_ngcontent-%COMP%] {\n font-size: 15px;\n line-height: 1;\n}\n\n.mj-forms-btn--primary[_ngcontent-%COMP%] {\n background: var(--mj-brand-primary);\n color: var(--mj-text-inverse);\n border-color: var(--mj-brand-primary);\n}\n\n.mj-forms-btn--primary[_ngcontent-%COMP%]:hover {\n background: var(--mj-brand-primary-hover);\n border-color: var(--mj-brand-primary-hover);\n box-shadow: 0 2px 8px color-mix(in srgb, var(--mj-brand-primary) 30%, transparent);\n}\n\n.mj-forms-btn--secondary[_ngcontent-%COMP%] {\n background: color-mix(in srgb, var(--mj-brand-primary) 10%, var(--mj-bg-surface));\n color: var(--mj-brand-primary);\n border-color: color-mix(in srgb, var(--mj-brand-primary) 30%, var(--mj-border-default));\n}\n\n.mj-forms-btn--secondary[_ngcontent-%COMP%]:hover {\n background: color-mix(in srgb, var(--mj-brand-primary) 18%, var(--mj-bg-surface));\n border-color: var(--mj-brand-primary);\n}\n\n.mj-forms-btn--accent[_ngcontent-%COMP%] {\n background: var(--mj-brand-accent, #6366f1);\n color: var(--mj-text-inverse, #ffffff);\n border-color: var(--mj-brand-accent, #6366f1);\n}\n\n.mj-forms-btn--accent[_ngcontent-%COMP%]:hover {\n filter: brightness(1.1);\n box-shadow: 0 2px 8px color-mix(in srgb, var(--mj-brand-accent, #6366f1) 30%, transparent);\n}\n\n.mj-forms-btn--danger[_ngcontent-%COMP%] {\n color: var(--mj-status-error);\n border-color: color-mix(in srgb, var(--mj-status-error) 30%, transparent);\n background: color-mix(in srgb, var(--mj-status-error) 5%, var(--mj-bg-surface));\n}\n\n.mj-forms-btn--danger[_ngcontent-%COMP%]:hover {\n background: color-mix(in srgb, var(--mj-status-error) 10%, var(--mj-bg-surface));\n border-color: var(--mj-status-error);\n}\n\n.mj-forms-btn--ghost[_ngcontent-%COMP%] {\n border-color: transparent;\n background: transparent;\n}\n\n.mj-forms-btn--ghost[_ngcontent-%COMP%]:hover {\n background: color-mix(in srgb, var(--mj-brand-primary) 8%, transparent);\n border-color: transparent;\n}\n\n.mj-forms-btn--icon-only[_ngcontent-%COMP%] {\n padding: 7px 9px;\n}\n\n.mj-forms-btn--sm[_ngcontent-%COMP%] {\n padding: 5px 12px;\n font-size: var(--mj-text-xs);\n}\n\n.mj-forms-btn--sm[_ngcontent-%COMP%] i[_ngcontent-%COMP%] {\n font-size: var(--mj-text-xs);\n}\n\n.mj-forms-btn-text[_ngcontent-%COMP%] {\n margin-left: 2px;\n}\n\n.mj-icon--favorite[_ngcontent-%COMP%] {\n color: var(--mj-status-warning);\n}\n\n\n.mj-forms-btn--list[_ngcontent-%COMP%] {\n position: relative;\n}\n\n\n.mj-forms-btn--history[_ngcontent-%COMP%] {\n position: relative;\n}\n\n.mj-version-count-badge[_ngcontent-%COMP%] {\n position: absolute;\n top: -6px;\n right: -10px;\n padding: 0 5px;\n font-size: 10px;\n font-weight: var(--mj-font-bold);\n color: var(--mj-text-inverse);\n background: linear-gradient(135deg, var(--mj-status-success) 0%, color-mix(in srgb, var(--mj-status-success) 85%, black) 100%);\n border-radius: var(--mj-radius-full);\n display: flex;\n align-items: center;\n justify-content: center;\n height: 16px;\n border: 2px solid var(--mj-bg-surface-card);\n white-space: nowrap;\n line-height: 1;\n}\n\n.mj-list-count-badge[_ngcontent-%COMP%] {\n position: absolute;\n top: -6px;\n right: -6px;\n min-width: 16px;\n height: 16px;\n padding: 0 4px;\n font-size: 10px;\n font-weight: var(--mj-font-bold);\n color: var(--mj-text-inverse);\n background: linear-gradient(135deg, var(--mj-status-info) 0%, color-mix(in srgb, var(--mj-status-info) 85%, black) 100%);\n border-radius: var(--mj-radius-full);\n display: flex;\n align-items: center;\n justify-content: center;\n border: 2px solid var(--mj-bg-surface-card);\n}\n\n\n\n\n.mj-entity-hierarchy[_ngcontent-%COMP%] {\n display: flex;\n align-items: center;\n gap: 4px;\n}\n\n.mj-entity-badge[_ngcontent-%COMP%] {\n \n font-family: inherit;\n line-height: inherit;\n display: inline-flex;\n align-items: center;\n gap: 5px;\n padding: 4px 10px;\n font-size: var(--mj-text-xs);\n font-weight: var(--mj-font-semibold);\n border-radius: var(--mj-radius-sm);\n cursor: pointer;\n transition: all var(--mj-transition-base) ease;\n text-decoration: none;\n border: 1px solid transparent;\n}\n\n.mj-entity-badge[_ngcontent-%COMP%] i[_ngcontent-%COMP%] {\n font-size: 11px;\n}\n\n.mj-entity-badge--parent[_ngcontent-%COMP%] {\n background: color-mix(in srgb, var(--mj-brand-accent) 10%, var(--mj-bg-surface));\n color: var(--mj-brand-accent);\n border-color: color-mix(in srgb, var(--mj-brand-accent) 25%, transparent);\n}\n\n.mj-entity-badge--parent[_ngcontent-%COMP%]:hover {\n background: color-mix(in srgb, var(--mj-brand-accent) 18%, var(--mj-bg-surface));\n border-color: var(--mj-brand-accent);\n box-shadow: 0 2px 6px color-mix(in srgb, var(--mj-brand-accent) 15%, transparent);\n}\n\n.mj-entity-badge--current[_ngcontent-%COMP%] {\n font-weight: var(--mj-font-semibold);\n font-size: 13px;\n color: var(--mj-text-primary);\n padding: 4px 8px;\n background: var(--mj-bg-surface-hover);\n border-radius: var(--mj-radius-sm);\n cursor: default;\n}\n\n.mj-entity-badge--child[_ngcontent-%COMP%] {\n background: color-mix(in srgb, var(--mj-status-info) 10%, var(--mj-bg-surface));\n color: var(--mj-status-info);\n border-color: color-mix(in srgb, var(--mj-status-info) 25%, transparent);\n}\n\n.mj-entity-badge--child[_ngcontent-%COMP%]:hover {\n background: color-mix(in srgb, var(--mj-status-info) 18%, var(--mj-bg-surface));\n border-color: var(--mj-status-info);\n box-shadow: 0 2px 6px color-mix(in srgb, var(--mj-status-info) 15%, transparent);\n}\n\n.mj-entity-badge--overlapping[_ngcontent-%COMP%] {\n background: color-mix(in srgb, var(--mj-status-warning) 10%, var(--mj-bg-surface));\n color: color-mix(in srgb, var(--mj-status-warning) 85%, black);\n border-color: color-mix(in srgb, var(--mj-status-warning) 40%, transparent);\n}\n\n.mj-entity-badge--overlapping[_ngcontent-%COMP%]:hover {\n background: color-mix(in srgb, var(--mj-status-warning) 18%, var(--mj-bg-surface));\n border-color: color-mix(in srgb, var(--mj-status-warning) 85%, black);\n box-shadow: 0 2px 6px color-mix(in srgb, var(--mj-status-warning) 15%, transparent);\n}\n\n.mj-entity-badge-group[_ngcontent-%COMP%] {\n display: inline-flex;\n align-items: center;\n gap: 4px;\n flex-wrap: wrap;\n}\n\n.mj-child-count[_ngcontent-%COMP%] {\n background: var(--mj-status-info);\n color: var(--mj-text-inverse);\n font-size: 10px;\n padding: 1px 5px;\n border-radius: var(--mj-radius-full);\n font-weight: var(--mj-font-bold);\n}\n\n.mj-entity-badge--leaf[_ngcontent-%COMP%] {\n border-style: dashed;\n}\n\n.mj-entity-badge--root[_ngcontent-%COMP%] {\n border-style: dashed;\n}\n\n.mj-hierarchy-arrow[_ngcontent-%COMP%] {\n color: var(--mj-text-muted);\n font-size: 10px;\n}\n\n\n.mj-descendant-chains[_ngcontent-%COMP%] {\n display: flex;\n flex-direction: column;\n gap: 6px;\n position: relative;\n padding-left: 20px;\n}\n\n\n.mj-descendant-chains[_ngcontent-%COMP%]::before {\n content: '';\n position: absolute;\n left: -4px;\n top: 50%;\n width: 4px;\n border-top: 1.5px solid var(--mj-text-muted);\n}\n\n.mj-descendant-chain[_ngcontent-%COMP%] {\n display: inline-flex;\n align-items: center;\n gap: 4px;\n position: relative;\n padding: 2px 0;\n}\n\n\n.mj-descendant-chain[_ngcontent-%COMP%]::before {\n content: '';\n position: absolute;\n left: -20px;\n top: 50%;\n width: 18px;\n border-top: 1.5px solid var(--mj-text-muted);\n}\n\n\n.mj-descendant-chain[_ngcontent-%COMP%]::after {\n content: '';\n position: absolute;\n left: -20px;\n top: 0;\n bottom: 0;\n border-left: 1.5px solid var(--mj-text-muted);\n}\n\n\n.mj-descendant-chain[_ngcontent-%COMP%]:first-child::after {\n top: 50%;\n}\n\n\n.mj-descendant-chain[_ngcontent-%COMP%]:last-child::after {\n bottom: 50%;\n}\n\n\n\n\n\n\n.mj-section-controls[_ngcontent-%COMP%] {\n gap: 6px;\n}\n\n.mj-forms-search-wrapper[_ngcontent-%COMP%] {\n position: relative;\n display: inline-flex;\n align-items: center;\n}\n\n.mj-section-search[_ngcontent-%COMP%] {\n max-width: 180px;\n font-size: 13px;\n padding: 6px 28px 6px 8px;\n border: 1px solid var(--mj-border-default);\n border-radius: var(--mj-radius-sm);\n background: var(--mj-bg-surface);\n outline: none;\n font-family: inherit;\n transition: all var(--mj-transition-base);\n}\n\n.mj-section-search[_ngcontent-%COMP%]:focus {\n border-color: var(--mj-brand-primary);\n box-shadow: 0 0 0 2px color-mix(in srgb, var(--mj-brand-primary) 10%, transparent);\n}\n\n\n.mj-section-search--active[_ngcontent-%COMP%] {\n background-color: color-mix(in srgb, var(--mj-status-warning) 40%, var(--mj-bg-surface));\n border-color: var(--mj-status-warning);\n color: color-mix(in srgb, var(--mj-status-warning) 80%, black);\n font-weight: var(--mj-font-semibold);\n box-shadow: 0 0 0 2px color-mix(in srgb, var(--mj-status-warning) 25%, transparent);\n}\n\n.mj-section-search[_ngcontent-%COMP%]::placeholder {\n color: var(--mj-text-muted);\n font-style: italic;\n}\n\n.mj-clear-search[_ngcontent-%COMP%] {\n position: absolute;\n right: 4px;\n padding: 4px;\n background: none;\n border: none;\n color: var(--mj-text-muted);\n cursor: pointer;\n font-size: var(--mj-text-xs);\n line-height: 1;\n}\n\n.mj-clear-search[_ngcontent-%COMP%]:hover {\n color: var(--mj-text-secondary);\n}\n\n\n\n\n.mj-dialog-overlay[_ngcontent-%COMP%] {\n position: fixed;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n background: var(--mj-bg-overlay);\n display: flex;\n align-items: center;\n justify-content: center;\n z-index: 1000;\n animation: _ngcontent-%COMP%_mj-fade-in 150ms ease;\n}\n\n.mj-dialog[_ngcontent-%COMP%] {\n background: var(--mj-bg-surface-card);\n border-radius: var(--mj-radius-lg);\n box-shadow: var(--mj-shadow-lg);\n min-width: 400px;\n max-width: 550px;\n animation: _ngcontent-%COMP%_mj-slide-up 200ms ease;\n}\n\n.mj-dialog-header[_ngcontent-%COMP%] {\n display: flex;\n align-items: center;\n justify-content: space-between;\n padding: 16px 20px;\n border-bottom: 1px solid var(--mj-border-default);\n}\n\n.mj-dialog-header[_ngcontent-%COMP%] h3[_ngcontent-%COMP%] {\n margin: 0;\n font-size: var(--mj-text-base);\n font-weight: var(--mj-font-semibold);\n}\n\n.mj-dialog-close[_ngcontent-%COMP%] {\n background: none;\n border: none;\n color: var(--mj-text-muted);\n cursor: pointer;\n padding: 4px;\n font-size: var(--mj-text-base);\n transition: color var(--mj-transition-base);\n}\n\n.mj-dialog-close[_ngcontent-%COMP%]:hover {\n color: var(--mj-text-primary);\n}\n\n.mj-dialog-body[_ngcontent-%COMP%] {\n padding: 20px;\n font-size: var(--mj-text-sm);\n color: var(--mj-text-secondary);\n line-height: 1.6;\n}\n\n.mj-dialog-body[_ngcontent-%COMP%] p[_ngcontent-%COMP%] {\n margin: 0;\n}\n\n.mj-dialog-footer[_ngcontent-%COMP%] {\n display: flex;\n gap: 8px;\n padding: 16px 20px;\n border-top: 1px solid var(--mj-border-default);\n}\n\n@keyframes _ngcontent-%COMP%_mj-fade-in {\n from { opacity: 0; }\n to { opacity: 1; }\n}\n\n@keyframes _ngcontent-%COMP%_mj-slide-up {\n from { transform: translateY(8px); opacity: 0; }\n to { transform: translateY(0); opacity: 1; }\n}\n\n\n\n\n\n.mj-form-variant-picker-host[_ngcontent-%COMP%] {\n position: relative;\n display: inline-flex;\n}\n\n.mj-form-variant-picker-trigger[_ngcontent-%COMP%] {\n display: inline-flex;\n align-items: center;\n gap: 6px;\n max-width: 240px;\n}\n\n.mj-form-variant-picker-trigger[_ngcontent-%COMP%] .chev[_ngcontent-%COMP%] {\n font-size: 10px;\n opacity: 0.7;\n}\n\n.mj-form-variant-picker-current-label[_ngcontent-%COMP%] {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n max-width: 160px;\n font-size: 12px;\n font-weight: 500;\n}\n\n.mj-form-variant-picker-host.open[_ngcontent-%COMP%] .mj-form-variant-picker-trigger[_ngcontent-%COMP%] {\n background: var(--mj-bg-surface-hover);\n border-color: var(--mj-border-focus);\n}\n\n.mj-form-variant-picker-menu[_ngcontent-%COMP%] {\n position: absolute;\n top: calc(100% + 4px);\n right: 0;\n z-index: 50;\n min-width: 280px;\n max-height: 360px;\n overflow-y: auto;\n background: var(--mj-bg-surface-elevated);\n border: 1px solid var(--mj-border-default);\n border-radius: 6px;\n box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);\n padding: 4px 0;\n}\n\n.mj-form-variant-picker-row[_ngcontent-%COMP%] {\n display: flex;\n align-items: flex-start;\n gap: 8px;\n width: 100%;\n padding: 8px 12px;\n border: 0;\n background: none;\n font: inherit;\n text-align: left;\n cursor: pointer;\n color: var(--mj-text-primary);\n font-size: 13px;\n transition: background 120ms;\n}\n\n.mj-form-variant-picker-row[_ngcontent-%COMP%]:hover {\n background: var(--mj-bg-surface-hover);\n}\n\n.mj-form-variant-picker-row[_ngcontent-%COMP%]:focus-visible {\n outline: none;\n box-shadow: var(--mj-focus-ring);\n}\n\n.mj-form-variant-picker-row.current[_ngcontent-%COMP%] {\n background: color-mix(in srgb, var(--mj-brand-primary) 10%, transparent);\n}\n\n.mj-form-variant-picker-row.inactive[_ngcontent-%COMP%] {\n opacity: 0.6;\n}\n\n.mj-form-variant-picker-row-main[_ngcontent-%COMP%] {\n flex: 1;\n display: flex;\n flex-direction: column;\n gap: 2px;\n}\n\n.mj-form-variant-picker-row-title[_ngcontent-%COMP%] {\n font-weight: 600;\n}\n\n.mj-form-variant-picker-row-sub[_ngcontent-%COMP%] {\n font-size: 11px;\n color: var(--mj-text-muted);\n}\n\n.mj-form-variant-picker-default-tag[_ngcontent-%COMP%] {\n font-size: 10px;\n font-weight: 500;\n color: var(--mj-text-muted);\n margin-left: 4px;\n}\n\n.mj-form-variant-picker-default[_ngcontent-%COMP%] {\n border-bottom: 1px solid var(--mj-border-subtle);\n}\n\n.mj-form-variant-picker-check[_ngcontent-%COMP%] {\n color: var(--mj-brand-primary);\n font-size: 12px;\n margin-top: 2px;\n}\n\n\n\n\n.mj-forms-menu-host[_ngcontent-%COMP%] {\n position: relative;\n display: inline-flex;\n}\n\n.mj-forms-menu-host.open[_ngcontent-%COMP%] .mj-forms-menu-trigger[_ngcontent-%COMP%] {\n background: var(--mj-bg-surface-hover);\n border-color: var(--mj-border-focus);\n}\n\n.mj-forms-menu[_ngcontent-%COMP%] {\n position: absolute;\n top: calc(100% + 4px);\n z-index: 50;\n min-width: 260px;\n max-height: 420px;\n overflow-y: auto;\n display: flex;\n flex-direction: column;\n background: var(--mj-bg-surface-elevated);\n border: 1px solid var(--mj-border-default);\n border-radius: var(--mj-radius-md);\n box-shadow: var(--mj-shadow-lg);\n padding: var(--mj-space-1);\n}\n\n.mj-forms-menu--left[_ngcontent-%COMP%] { left: 0; }\n.mj-forms-menu--right[_ngcontent-%COMP%] { right: 0; }\n\n.mj-forms-menu-heading[_ngcontent-%COMP%] {\n padding: var(--mj-space-2) var(--mj-space-2) var(--mj-space-1);\n font-size: 11px;\n font-weight: 600;\n letter-spacing: 0.08em;\n text-transform: uppercase;\n color: var(--mj-text-muted);\n}\n\n.mj-forms-menu-row[_ngcontent-%COMP%] {\n display: flex;\n align-items: center;\n gap: var(--mj-space-1);\n}\n\n.mj-forms-menu-item[_ngcontent-%COMP%] {\n flex: 1;\n display: flex;\n align-items: center;\n gap: var(--mj-space-2);\n width: 100%;\n padding: 6px var(--mj-space-2);\n border: 0;\n border-radius: var(--mj-radius-sm);\n background: transparent;\n color: var(--mj-text-primary);\n font: inherit;\n font-size: 13px;\n text-align: left;\n cursor: pointer;\n}\n\n.mj-forms-menu-item[_ngcontent-%COMP%]:hover:not(:disabled), \n.mj-forms-menu-item[_ngcontent-%COMP%]:focus-visible {\n background: var(--mj-bg-surface-hover);\n outline: none;\n}\n\n.mj-forms-menu-item[_ngcontent-%COMP%]:disabled {\n opacity: 0.5;\n cursor: default;\n}\n\n.mj-forms-menu-item--danger[_ngcontent-%COMP%], \n.mj-forms-menu-item--danger[_ngcontent-%COMP%] .mj-forms-menu-icon[_ngcontent-%COMP%] {\n color: var(--mj-status-error);\n}\n\n.mj-forms-menu-icon[_ngcontent-%COMP%] {\n width: 18px;\n text-align: center;\n color: var(--mj-text-secondary);\n}\n\n.mj-forms-menu-label[_ngcontent-%COMP%] {\n flex: 1;\n}\n\n.mj-forms-menu-badge[_ngcontent-%COMP%] {\n font-size: 11px;\n font-weight: 600;\n padding: 0 6px;\n border-radius: 9px;\n background: var(--mj-bg-surface-active);\n color: var(--mj-text-primary);\n}\n\n.mj-forms-menu-pin[_ngcontent-%COMP%] {\n width: 26px;\n height: 26px;\n display: grid;\n place-items: center;\n border: 0;\n border-radius: var(--mj-radius-sm);\n background: transparent;\n color: var(--mj-text-muted);\n cursor: pointer;\n}\n\n.mj-forms-menu-pin[_ngcontent-%COMP%]:hover:not(:disabled), \n.mj-forms-menu-pin[_ngcontent-%COMP%]:focus-visible {\n background: var(--mj-bg-surface-active);\n color: var(--mj-text-primary);\n outline: none;\n}\n\n.mj-forms-menu-pin.pinned[_ngcontent-%COMP%] {\n color: var(--mj-brand-primary);\n}\n\n\n.mj-forms-menu-pin.pinned.over-cap[_ngcontent-%COMP%] {\n outline: 1px dashed var(--mj-brand-primary);\n outline-offset: -3px;\n}\n\n.mj-forms-menu-pin[_ngcontent-%COMP%]:disabled, \n.mj-forms-menu-pin[aria-disabled=\"true\"][_ngcontent-%COMP%] {\n opacity: 0.35;\n cursor: default;\n}\n\n\n.mj-forms-menu-item[_ngcontent-%COMP%]:focus-visible, \n.mj-forms-menu-pin[_ngcontent-%COMP%]:focus-visible, \n.mj-forms-filter-chip-clear[_ngcontent-%COMP%]:focus-visible, \n.mj-entity-badge[_ngcontent-%COMP%]:focus-visible {\n box-shadow: var(--mj-focus-ring);\n}\n\n\n.mj-forms-variant-tag[_ngcontent-%COMP%] {\n max-width: 12rem;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n padding: 0 6px;\n border-radius: var(--mj-radius-sm);\n background: var(--mj-bg-surface-active);\n color: var(--mj-text-secondary);\n font-size: var(--mj-text-xs);\n}\n\n.mj-forms-menu-sep[_ngcontent-%COMP%] {\n height: 1px;\n margin: var(--mj-space-1) var(--mj-space-1);\n background: var(--mj-border-default);\n}\n\n.mj-forms-menu-search[_ngcontent-%COMP%] {\n position: relative;\n display: flex;\n padding: var(--mj-space-1);\n}\n\n.mj-forms-menu-search[_ngcontent-%COMP%] .mj-section-search[_ngcontent-%COMP%] {\n flex: 1;\n width: auto;\n max-width: none;\n}\n\n\n.mj-forms-hierarchy-row[_ngcontent-%COMP%] {\n display: flex;\n align-items: center;\n padding: var(--mj-space-2) 16px;\n background: var(--mj-bg-surface-card);\n border-bottom: 1px solid var(--mj-border-default);\n overflow-x: auto;\n}\n\n.mj-forms-filter-chip[_ngcontent-%COMP%] {\n display: inline-flex;\n align-items: center;\n gap: var(--mj-space-1);\n max-width: 220px;\n padding: 2px 4px 2px 10px;\n border: 1px solid var(--mj-border-focus);\n border-radius: var(--mj-radius-full);\n background: color-mix(in srgb, var(--mj-brand-primary) 10%, var(--mj-bg-surface));\n color: var(--mj-text-primary);\n font-size: 12px;\n}\n\n.mj-forms-filter-chip-text[_ngcontent-%COMP%] {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\n.mj-forms-filter-chip-clear[_ngcontent-%COMP%] {\n display: grid;\n place-items: center;\n width: 20px;\n height: 20px;\n border: 0;\n border-radius: var(--mj-radius-full);\n background: transparent;\n color: var(--mj-text-secondary);\n cursor: pointer;\n}\n\n.mj-forms-filter-chip-clear[_ngcontent-%COMP%]:hover, \n.mj-forms-filter-chip-clear[_ngcontent-%COMP%]:focus-visible {\n background: var(--mj-bg-surface-active);\n color: var(--mj-text-primary);\n outline: none;\n}\n\n.mj-forms-toolbar__btn--active[_ngcontent-%COMP%] {\n background: color-mix(in srgb, var(--mj-brand-primary, #3b82f6) 14%, transparent);\n color: var(--mj-brand-primary, #3b82f6);\n border-color: var(--mj-brand-primary, #3b82f6);\n}\n\n.mj-forms-edit-banner-conflicts[_ngcontent-%COMP%] {\n display: inline-flex;\n align-items: center;\n gap: 6px;\n margin-left: 10px;\n padding: 3px 10px;\n border-radius: 999px;\n font-size: 12px;\n font-weight: 600;\n background: color-mix(in srgb, var(--mj-status-warning, #f59e0b) 18%, transparent);\n color: var(--mj-status-warning-text, #b45309);\n border: 1px solid color-mix(in srgb, var(--mj-status-warning, #f59e0b) 40%, transparent);\n}\n\n\n\n\n\n.mj-forms-toolbar-collapsed-pill[_ngcontent-%COMP%] {\n position: absolute;\n top: 10px;\n right: 16px;\n z-index: 45;\n display: inline-flex;\n align-items: center;\n background: var(--mj-bg-surface-elevated, var(--mj-bg-surface-card));\n border: 1px solid var(--mj-border-default);\n border-radius: var(--mj-radius-full, 9999px);\n box-shadow: var(--mj-shadow-sm, 0 2px 8px rgba(0, 0, 0, 0.08));\n padding: 2px;\n gap: 2px;\n}\n\n.mj-forms-collapsed-btn[_ngcontent-%COMP%] {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n gap: 6px;\n min-height: 28px;\n padding: 5px 10px;\n font-family: inherit;\n font-size: 12.5px;\n font-weight: var(--mj-font-semibold, 600);\n line-height: 1;\n color: var(--mj-text-primary);\n background: transparent;\n border: none;\n border-radius: var(--mj-radius-full, 9999px);\n cursor: pointer;\n transition: background var(--mj-transition-base, 150ms) ease, color var(--mj-transition-base, 150ms) ease;\n white-space: nowrap;\n}\n\n.mj-forms-collapsed-btn[_ngcontent-%COMP%]:hover:not(:disabled) {\n background: var(--mj-bg-surface-hover);\n}\n\n.mj-forms-collapsed-btn[_ngcontent-%COMP%]:focus-visible {\n outline: none;\n box-shadow: var(--mj-focus-ring);\n}\n\n.mj-forms-collapsed-btn[_ngcontent-%COMP%]:disabled {\n opacity: 0.5;\n cursor: not-allowed;\n}\n\n.mj-forms-collapsed-btn--edit[_ngcontent-%COMP%] {\n color: var(--mj-brand-primary);\n padding: 5px 12px;\n}\n\n.mj-forms-collapsed-btn--edit[_ngcontent-%COMP%]:hover:not(:disabled) {\n background: color-mix(in srgb, var(--mj-brand-primary) 12%, var(--mj-bg-surface));\n}\n\n.mj-forms-collapsed-btn--edit[_ngcontent-%COMP%] + .mj-forms-collapsed-btn--expand[_ngcontent-%COMP%] {\n position: relative;\n}\n\n.mj-forms-collapsed-btn--edit[_ngcontent-%COMP%] + .mj-forms-collapsed-btn--expand[_ngcontent-%COMP%]::before {\n content: '';\n position: absolute;\n left: -2px;\n top: 6px;\n bottom: 6px;\n width: 1px;\n background: var(--mj-border-default);\n}\n\n\n\n\n@media (max-width: 768px) {\n \n\n .mj-forms-toolbar-collapsed-pill[_ngcontent-%COMP%] {\n position: sticky;\n top: 0;\n right: auto;\n display: flex;\n justify-content: flex-end;\n align-items: center;\n width: 100%;\n height: 40px;\n box-sizing: border-box;\n padding: 0 12px;\n gap: 2px;\n border-radius: 0;\n border-top: none;\n border-left: none;\n border-right: none;\n border-bottom: 1px solid var(--mj-border-default);\n background: var(--mj-bg-surface);\n box-shadow: none;\n }\n\n \n .mj-forms-toolbar-collapsed-pill.mj-forms-toolbar-collapsed-pill--rail[_ngcontent-%COMP%] {\n position: absolute;\n top: 0;\n right: 0;\n width: auto;\n height: 44px;\n padding: 0 8px;\n border-left: 1px solid var(--mj-border-default);\n box-shadow: -6px 0 10px -6px rgba(0, 0, 0, 0.08);\n }\n\n .mj-forms-collapsed-btn[_ngcontent-%COMP%] {\n height: 34px;\n min-height: 34px;\n padding: 0 10px;\n font-size: 12.5px;\n }\n\n .mj-forms-collapsed-btn--edit[_ngcontent-%COMP%] {\n padding: 0 11px;\n }\n\n .mj-forms-toolbar[_ngcontent-%COMP%] {\n padding: 8px 12px;\n gap: 6px;\n flex-wrap: wrap;\n overflow: visible;\n }\n\n .mj-forms-toolbar[_ngcontent-%COMP%] .mj-forms-btn[_ngcontent-%COMP%] {\n padding: 6px 10px;\n font-size: 12.5px;\n }\n\n .mj-forms-edit-banner[_ngcontent-%COMP%] {\n padding: 8px 12px;\n flex-direction: row;\n align-items: center;\n justify-content: space-between;\n gap: 8px;\n }\n\n \n .mj-forms-edit-banner-record-name[_ngcontent-%COMP%], \n .mj-forms-dirty-chips[_ngcontent-%COMP%] {\n display: none;\n }\n\n \n\n .mj-forms-menu--sheet[_ngcontent-%COMP%] {\n position: static;\n min-width: 0;\n max-height: none;\n overflow: visible;\n padding: 0 var(--mj-space-2) var(--mj-space-3);\n background: transparent;\n border: 0;\n border-radius: 0;\n box-shadow: none;\n }\n\n .mj-forms-menu--sheet[_ngcontent-%COMP%] .mj-forms-menu-item[_ngcontent-%COMP%], \n .mj-forms-menu--sheet[_ngcontent-%COMP%] .mj-form-variant-picker-row[_ngcontent-%COMP%] {\n min-height: 44px;\n }\n\n .mj-forms-menu--sheet[_ngcontent-%COMP%] .mj-section-search[_ngcontent-%COMP%] {\n max-width: none;\n width: 100%;\n }\n}"], changeDetection: 0 });
|
|
2804
|
+
i0.ɵɵproperty("Visible", ctx.ShowDeleteDialog);
|
|
2805
|
+
} }, dependencies: [i1.NgTemplateOutlet, i2.MJBottomSheetComponent, i2.MJConfirmDialogComponent, i3.RecordCloneSlideInComponent], styles: ["\n\n\n[_nghost-%COMP%] {\n display: block;\n}\n\n\n\n\n.mj-forms-edit-banner[_ngcontent-%COMP%] {\n display: flex;\n align-items: center;\n gap: 10px;\n padding: 16px 16px;\n background: color-mix(in srgb, var(--mj-brand-primary) 10%, var(--mj-bg-surface));\n border-bottom: 2px solid var(--mj-brand-primary);\n font-size: 13px;\n color: var(--mj-brand-primary);\n font-weight: var(--mj-font-medium);\n}\n\n.mj-forms-edit-banner[_ngcontent-%COMP%] > i[_ngcontent-%COMP%] {\n font-size: var(--mj-text-sm);\n}\n\n.mj-forms-edit-banner-icon--dirty[_ngcontent-%COMP%] {\n color: var(--mj-status-warning);\n font-size: var(--mj-text-base);\n}\n\n.mj-forms-edit-banner-text[_ngcontent-%COMP%] {\n font-size: var(--mj-text-sm);\n}\n\n.mj-forms-edit-banner-dirty[_ngcontent-%COMP%] {\n font-size: var(--mj-text-sm);\n color: var(--mj-text-primary);\n}\n\n.mj-forms-edit-banner-dirty[_ngcontent-%COMP%] strong[_ngcontent-%COMP%] {\n color: var(--mj-status-warning);\n font-weight: var(--mj-font-bold);\n}\n\n.mj-forms-edit-banner-actions[_ngcontent-%COMP%] {\n display: flex;\n gap: 8px;\n}\n\n\n\n\n.mj-forms-toolbar[_ngcontent-%COMP%] {\n position: relative;\n display: flex;\n align-items: center;\n gap: 8px;\n padding: 22px 16px;\n background: var(--mj-bg-surface-card);\n border-bottom: 2px solid var(--mj-border-default);\n flex-wrap: wrap;\n z-index: 40;\n}\n\n.mj-forms-toolbar--sticky[_ngcontent-%COMP%] {\n position: sticky;\n top: 0;\n}\n\n.mj-forms-toolbar--disabled[_ngcontent-%COMP%] {\n pointer-events: none;\n opacity: 0.7;\n}\n\n.mj-forms-toolbar-group[_ngcontent-%COMP%] {\n display: flex;\n align-items: center;\n gap: 6px;\n}\n\n.mj-forms-toolbar-separator[_ngcontent-%COMP%] {\n width: 1px;\n height: 24px;\n background: var(--mj-border-default);\n margin: 0 4px;\n}\n\n.mj-forms-toolbar-spacer[_ngcontent-%COMP%] {\n flex: 1;\n}\n\n\n\n\n.mj-forms-btn[_ngcontent-%COMP%] {\n position: relative;\n display: inline-flex;\n align-items: center;\n gap: 6px;\n padding: 8px 16px;\n font-size: 13px;\n font-weight: var(--mj-font-medium);\n border: 1px solid var(--mj-border-default);\n background: var(--mj-bg-surface);\n color: var(--mj-text-primary);\n border-radius: var(--mj-radius-sm);\n cursor: pointer;\n transition: all var(--mj-transition-base) ease;\n white-space: nowrap;\n font-family: inherit;\n line-height: 1;\n}\n\n.mj-forms-btn[_ngcontent-%COMP%]:hover {\n background: var(--mj-bg-surface-hover);\n border-color: var(--mj-border-strong);\n box-shadow: var(--mj-shadow-sm);\n}\n\n.mj-forms-btn[_ngcontent-%COMP%]:active {\n transform: translateY(0);\n box-shadow: none;\n}\n\n.mj-forms-btn[_ngcontent-%COMP%]:disabled {\n opacity: 0.5;\n cursor: not-allowed;\n}\n\n.mj-forms-btn[_ngcontent-%COMP%] i[_ngcontent-%COMP%] {\n font-size: 15px;\n line-height: 1;\n}\n\n.mj-forms-btn--primary[_ngcontent-%COMP%] {\n background: var(--mj-brand-primary);\n color: var(--mj-text-inverse);\n border-color: var(--mj-brand-primary);\n}\n\n.mj-forms-btn--primary[_ngcontent-%COMP%]:hover {\n background: var(--mj-brand-primary-hover);\n border-color: var(--mj-brand-primary-hover);\n box-shadow: 0 2px 8px color-mix(in srgb, var(--mj-brand-primary) 30%, transparent);\n}\n\n.mj-forms-btn--secondary[_ngcontent-%COMP%] {\n background: color-mix(in srgb, var(--mj-brand-primary) 10%, var(--mj-bg-surface));\n color: var(--mj-brand-primary);\n border-color: color-mix(in srgb, var(--mj-brand-primary) 30%, var(--mj-border-default));\n}\n\n.mj-forms-btn--secondary[_ngcontent-%COMP%]:hover {\n background: color-mix(in srgb, var(--mj-brand-primary) 18%, var(--mj-bg-surface));\n border-color: var(--mj-brand-primary);\n}\n\n.mj-forms-btn--accent[_ngcontent-%COMP%] {\n background: var(--mj-brand-accent, #6366f1);\n color: var(--mj-text-inverse, #ffffff);\n border-color: var(--mj-brand-accent, #6366f1);\n}\n\n.mj-forms-btn--accent[_ngcontent-%COMP%]:hover {\n filter: brightness(1.1);\n box-shadow: 0 2px 8px color-mix(in srgb, var(--mj-brand-accent, #6366f1) 30%, transparent);\n}\n\n.mj-forms-btn--danger[_ngcontent-%COMP%] {\n color: var(--mj-status-error);\n border-color: color-mix(in srgb, var(--mj-status-error) 30%, transparent);\n background: color-mix(in srgb, var(--mj-status-error) 5%, var(--mj-bg-surface));\n}\n\n.mj-forms-btn--danger[_ngcontent-%COMP%]:hover {\n background: color-mix(in srgb, var(--mj-status-error) 10%, var(--mj-bg-surface));\n border-color: var(--mj-status-error);\n}\n\n.mj-forms-btn--ghost[_ngcontent-%COMP%] {\n border-color: transparent;\n background: transparent;\n}\n\n.mj-forms-btn--ghost[_ngcontent-%COMP%]:hover {\n background: color-mix(in srgb, var(--mj-brand-primary) 8%, transparent);\n border-color: transparent;\n}\n\n.mj-forms-btn--icon-only[_ngcontent-%COMP%] {\n padding: 7px 9px;\n}\n\n.mj-forms-btn--sm[_ngcontent-%COMP%] {\n padding: 5px 12px;\n font-size: var(--mj-text-xs);\n}\n\n.mj-forms-btn--sm[_ngcontent-%COMP%] i[_ngcontent-%COMP%] {\n font-size: var(--mj-text-xs);\n}\n\n.mj-forms-btn-text[_ngcontent-%COMP%] {\n margin-left: 2px;\n}\n\n.mj-icon--favorite[_ngcontent-%COMP%] {\n color: var(--mj-status-warning);\n}\n\n\n.mj-forms-btn--list[_ngcontent-%COMP%] {\n position: relative;\n}\n\n\n.mj-forms-btn--history[_ngcontent-%COMP%] {\n position: relative;\n}\n\n.mj-version-count-badge[_ngcontent-%COMP%] {\n position: absolute;\n top: -6px;\n right: -10px;\n padding: 0 5px;\n font-size: 10px;\n font-weight: var(--mj-font-bold);\n color: var(--mj-text-inverse);\n background: linear-gradient(135deg, var(--mj-status-success) 0%, color-mix(in srgb, var(--mj-status-success) 85%, black) 100%);\n border-radius: var(--mj-radius-full);\n display: flex;\n align-items: center;\n justify-content: center;\n height: 16px;\n border: 2px solid var(--mj-bg-surface-card);\n white-space: nowrap;\n line-height: 1;\n}\n\n.mj-list-count-badge[_ngcontent-%COMP%] {\n position: absolute;\n top: -6px;\n right: -6px;\n min-width: 16px;\n height: 16px;\n padding: 0 4px;\n font-size: 10px;\n font-weight: var(--mj-font-bold);\n color: var(--mj-text-inverse);\n background: linear-gradient(135deg, var(--mj-status-info) 0%, color-mix(in srgb, var(--mj-status-info) 85%, black) 100%);\n border-radius: var(--mj-radius-full);\n display: flex;\n align-items: center;\n justify-content: center;\n border: 2px solid var(--mj-bg-surface-card);\n}\n\n\n\n\n.mj-entity-hierarchy[_ngcontent-%COMP%] {\n display: flex;\n align-items: center;\n gap: 4px;\n}\n\n.mj-entity-badge[_ngcontent-%COMP%] {\n \n font-family: inherit;\n line-height: inherit;\n display: inline-flex;\n align-items: center;\n gap: 5px;\n padding: 4px 10px;\n font-size: var(--mj-text-xs);\n font-weight: var(--mj-font-semibold);\n border-radius: var(--mj-radius-sm);\n cursor: pointer;\n transition: all var(--mj-transition-base) ease;\n text-decoration: none;\n border: 1px solid transparent;\n}\n\n.mj-entity-badge[_ngcontent-%COMP%] i[_ngcontent-%COMP%] {\n font-size: 11px;\n}\n\n.mj-entity-badge--parent[_ngcontent-%COMP%] {\n background: color-mix(in srgb, var(--mj-brand-accent) 10%, var(--mj-bg-surface));\n color: var(--mj-brand-accent);\n border-color: color-mix(in srgb, var(--mj-brand-accent) 25%, transparent);\n}\n\n.mj-entity-badge--parent[_ngcontent-%COMP%]:hover {\n background: color-mix(in srgb, var(--mj-brand-accent) 18%, var(--mj-bg-surface));\n border-color: var(--mj-brand-accent);\n box-shadow: 0 2px 6px color-mix(in srgb, var(--mj-brand-accent) 15%, transparent);\n}\n\n.mj-entity-badge--current[_ngcontent-%COMP%] {\n font-weight: var(--mj-font-semibold);\n font-size: 13px;\n color: var(--mj-text-primary);\n padding: 4px 8px;\n background: var(--mj-bg-surface-hover);\n border-radius: var(--mj-radius-sm);\n cursor: default;\n}\n\n.mj-entity-badge--child[_ngcontent-%COMP%] {\n background: color-mix(in srgb, var(--mj-status-info) 10%, var(--mj-bg-surface));\n color: var(--mj-status-info);\n border-color: color-mix(in srgb, var(--mj-status-info) 25%, transparent);\n}\n\n.mj-entity-badge--child[_ngcontent-%COMP%]:hover {\n background: color-mix(in srgb, var(--mj-status-info) 18%, var(--mj-bg-surface));\n border-color: var(--mj-status-info);\n box-shadow: 0 2px 6px color-mix(in srgb, var(--mj-status-info) 15%, transparent);\n}\n\n.mj-entity-badge--overlapping[_ngcontent-%COMP%] {\n background: color-mix(in srgb, var(--mj-status-warning) 10%, var(--mj-bg-surface));\n color: color-mix(in srgb, var(--mj-status-warning) 85%, black);\n border-color: color-mix(in srgb, var(--mj-status-warning) 40%, transparent);\n}\n\n.mj-entity-badge--overlapping[_ngcontent-%COMP%]:hover {\n background: color-mix(in srgb, var(--mj-status-warning) 18%, var(--mj-bg-surface));\n border-color: color-mix(in srgb, var(--mj-status-warning) 85%, black);\n box-shadow: 0 2px 6px color-mix(in srgb, var(--mj-status-warning) 15%, transparent);\n}\n\n.mj-entity-badge-group[_ngcontent-%COMP%] {\n display: inline-flex;\n align-items: center;\n gap: 4px;\n flex-wrap: wrap;\n}\n\n.mj-child-count[_ngcontent-%COMP%] {\n background: var(--mj-status-info);\n color: var(--mj-text-inverse);\n font-size: 10px;\n padding: 1px 5px;\n border-radius: var(--mj-radius-full);\n font-weight: var(--mj-font-bold);\n}\n\n.mj-entity-badge--leaf[_ngcontent-%COMP%] {\n border-style: dashed;\n}\n\n.mj-entity-badge--root[_ngcontent-%COMP%] {\n border-style: dashed;\n}\n\n.mj-hierarchy-arrow[_ngcontent-%COMP%] {\n color: var(--mj-text-muted);\n font-size: 10px;\n}\n\n\n.mj-descendant-chains[_ngcontent-%COMP%] {\n display: flex;\n flex-direction: column;\n gap: 6px;\n position: relative;\n padding-left: 20px;\n}\n\n\n.mj-descendant-chains[_ngcontent-%COMP%]::before {\n content: '';\n position: absolute;\n left: -4px;\n top: 50%;\n width: 4px;\n border-top: 1.5px solid var(--mj-text-muted);\n}\n\n.mj-descendant-chain[_ngcontent-%COMP%] {\n display: inline-flex;\n align-items: center;\n gap: 4px;\n position: relative;\n padding: 2px 0;\n}\n\n\n.mj-descendant-chain[_ngcontent-%COMP%]::before {\n content: '';\n position: absolute;\n left: -20px;\n top: 50%;\n width: 18px;\n border-top: 1.5px solid var(--mj-text-muted);\n}\n\n\n.mj-descendant-chain[_ngcontent-%COMP%]::after {\n content: '';\n position: absolute;\n left: -20px;\n top: 0;\n bottom: 0;\n border-left: 1.5px solid var(--mj-text-muted);\n}\n\n\n.mj-descendant-chain[_ngcontent-%COMP%]:first-child::after {\n top: 50%;\n}\n\n\n.mj-descendant-chain[_ngcontent-%COMP%]:last-child::after {\n bottom: 50%;\n}\n\n\n\n\n\n\n.mj-section-controls[_ngcontent-%COMP%] {\n gap: 6px;\n}\n\n.mj-forms-search-wrapper[_ngcontent-%COMP%] {\n position: relative;\n display: inline-flex;\n align-items: center;\n}\n\n.mj-section-search[_ngcontent-%COMP%] {\n max-width: 180px;\n font-size: 13px;\n padding: 6px 28px 6px 8px;\n border: 1px solid var(--mj-border-default);\n border-radius: var(--mj-radius-sm);\n background: var(--mj-bg-surface);\n outline: none;\n font-family: inherit;\n transition: all var(--mj-transition-base);\n}\n\n.mj-section-search[_ngcontent-%COMP%]:focus {\n border-color: var(--mj-brand-primary);\n box-shadow: 0 0 0 2px color-mix(in srgb, var(--mj-brand-primary) 10%, transparent);\n}\n\n\n.mj-section-search--active[_ngcontent-%COMP%] {\n background-color: color-mix(in srgb, var(--mj-status-warning) 40%, var(--mj-bg-surface));\n border-color: var(--mj-status-warning);\n color: color-mix(in srgb, var(--mj-status-warning) 80%, black);\n font-weight: var(--mj-font-semibold);\n box-shadow: 0 0 0 2px color-mix(in srgb, var(--mj-status-warning) 25%, transparent);\n}\n\n.mj-section-search[_ngcontent-%COMP%]::placeholder {\n color: var(--mj-text-muted);\n font-style: italic;\n}\n\n.mj-clear-search[_ngcontent-%COMP%] {\n position: absolute;\n right: 4px;\n padding: 4px;\n background: none;\n border: none;\n color: var(--mj-text-muted);\n cursor: pointer;\n font-size: var(--mj-text-xs);\n line-height: 1;\n}\n\n.mj-clear-search[_ngcontent-%COMP%]:hover {\n color: var(--mj-text-secondary);\n}\n\n\n\n\n\n.mj-form-variant-picker-host[_ngcontent-%COMP%] {\n position: relative;\n display: inline-flex;\n}\n\n.mj-form-variant-picker-trigger[_ngcontent-%COMP%] {\n display: inline-flex;\n align-items: center;\n gap: 6px;\n max-width: 240px;\n}\n\n.mj-form-variant-picker-trigger[_ngcontent-%COMP%] .chev[_ngcontent-%COMP%] {\n font-size: 10px;\n opacity: 0.7;\n}\n\n.mj-form-variant-picker-current-label[_ngcontent-%COMP%] {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n max-width: 160px;\n font-size: 12px;\n font-weight: 500;\n}\n\n.mj-form-variant-picker-host.open[_ngcontent-%COMP%] .mj-form-variant-picker-trigger[_ngcontent-%COMP%] {\n background: var(--mj-bg-surface-hover);\n border-color: var(--mj-border-focus);\n}\n\n.mj-form-variant-picker-menu[_ngcontent-%COMP%] {\n position: absolute;\n top: calc(100% + 4px);\n right: 0;\n z-index: 50;\n min-width: 280px;\n max-height: 360px;\n overflow-y: auto;\n background: var(--mj-bg-surface-elevated);\n border: 1px solid var(--mj-border-default);\n border-radius: 6px;\n box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);\n padding: 4px 0;\n}\n\n.mj-form-variant-picker-row[_ngcontent-%COMP%] {\n display: flex;\n align-items: flex-start;\n gap: 8px;\n width: 100%;\n padding: 8px 12px;\n border: 0;\n background: none;\n font: inherit;\n text-align: left;\n cursor: pointer;\n color: var(--mj-text-primary);\n font-size: 13px;\n transition: background 120ms;\n}\n\n.mj-form-variant-picker-row[_ngcontent-%COMP%]:hover {\n background: var(--mj-bg-surface-hover);\n}\n\n.mj-form-variant-picker-row[_ngcontent-%COMP%]:focus-visible {\n outline: none;\n box-shadow: var(--mj-focus-ring);\n}\n\n.mj-form-variant-picker-row.current[_ngcontent-%COMP%] {\n background: color-mix(in srgb, var(--mj-brand-primary) 10%, transparent);\n}\n\n.mj-form-variant-picker-row.inactive[_ngcontent-%COMP%] {\n opacity: 0.6;\n}\n\n.mj-form-variant-picker-row-main[_ngcontent-%COMP%] {\n flex: 1;\n display: flex;\n flex-direction: column;\n gap: 2px;\n}\n\n.mj-form-variant-picker-row-title[_ngcontent-%COMP%] {\n font-weight: 600;\n}\n\n.mj-form-variant-picker-row-sub[_ngcontent-%COMP%] {\n font-size: 11px;\n color: var(--mj-text-muted);\n}\n\n.mj-form-variant-picker-default-tag[_ngcontent-%COMP%] {\n font-size: 10px;\n font-weight: 500;\n color: var(--mj-text-muted);\n margin-left: 4px;\n}\n\n.mj-form-variant-picker-default[_ngcontent-%COMP%] {\n border-bottom: 1px solid var(--mj-border-subtle);\n}\n\n.mj-form-variant-picker-check[_ngcontent-%COMP%] {\n color: var(--mj-brand-primary);\n font-size: 12px;\n margin-top: 2px;\n}\n\n\n\n\n.mj-forms-menu-host[_ngcontent-%COMP%] {\n position: relative;\n display: inline-flex;\n}\n\n.mj-forms-menu-host.open[_ngcontent-%COMP%] .mj-forms-menu-trigger[_ngcontent-%COMP%] {\n background: var(--mj-bg-surface-hover);\n border-color: var(--mj-border-focus);\n}\n\n.mj-forms-menu[_ngcontent-%COMP%] {\n position: absolute;\n top: calc(100% + 4px);\n z-index: 50;\n min-width: 260px;\n max-height: 420px;\n overflow-y: auto;\n display: flex;\n flex-direction: column;\n background: var(--mj-bg-surface-elevated);\n border: 1px solid var(--mj-border-default);\n border-radius: var(--mj-radius-md);\n box-shadow: var(--mj-shadow-lg);\n padding: var(--mj-space-1);\n}\n\n.mj-forms-menu--left[_ngcontent-%COMP%] { left: 0; }\n.mj-forms-menu--right[_ngcontent-%COMP%] { right: 0; }\n\n.mj-forms-menu-heading[_ngcontent-%COMP%] {\n padding: var(--mj-space-2) var(--mj-space-2) var(--mj-space-1);\n font-size: 11px;\n font-weight: 600;\n letter-spacing: 0.08em;\n text-transform: uppercase;\n color: var(--mj-text-muted);\n}\n\n.mj-forms-menu-row[_ngcontent-%COMP%] {\n display: flex;\n align-items: center;\n gap: var(--mj-space-1);\n}\n\n.mj-forms-menu-item[_ngcontent-%COMP%] {\n flex: 1;\n display: flex;\n align-items: center;\n gap: var(--mj-space-2);\n width: 100%;\n padding: 6px var(--mj-space-2);\n border: 0;\n border-radius: var(--mj-radius-sm);\n background: transparent;\n color: var(--mj-text-primary);\n font: inherit;\n font-size: 13px;\n text-align: left;\n cursor: pointer;\n}\n\n.mj-forms-menu-item[_ngcontent-%COMP%]:hover:not(:disabled), \n.mj-forms-menu-item[_ngcontent-%COMP%]:focus-visible {\n background: var(--mj-bg-surface-hover);\n outline: none;\n}\n\n.mj-forms-menu-item[_ngcontent-%COMP%]:disabled {\n opacity: 0.5;\n cursor: default;\n}\n\n.mj-forms-menu-item--danger[_ngcontent-%COMP%], \n.mj-forms-menu-item--danger[_ngcontent-%COMP%] .mj-forms-menu-icon[_ngcontent-%COMP%] {\n color: var(--mj-status-error);\n}\n\n.mj-forms-menu-icon[_ngcontent-%COMP%] {\n width: 18px;\n text-align: center;\n color: var(--mj-text-secondary);\n}\n\n.mj-forms-menu-label[_ngcontent-%COMP%] {\n flex: 1;\n}\n\n.mj-forms-menu-badge[_ngcontent-%COMP%] {\n font-size: 11px;\n font-weight: 600;\n padding: 0 6px;\n border-radius: 9px;\n background: var(--mj-bg-surface-active);\n color: var(--mj-text-primary);\n}\n\n.mj-forms-menu-pin[_ngcontent-%COMP%] {\n width: 26px;\n height: 26px;\n display: grid;\n place-items: center;\n border: 0;\n border-radius: var(--mj-radius-sm);\n background: transparent;\n color: var(--mj-text-muted);\n cursor: pointer;\n}\n\n.mj-forms-menu-pin[_ngcontent-%COMP%]:hover:not(:disabled), \n.mj-forms-menu-pin[_ngcontent-%COMP%]:focus-visible {\n background: var(--mj-bg-surface-active);\n color: var(--mj-text-primary);\n outline: none;\n}\n\n.mj-forms-menu-pin.pinned[_ngcontent-%COMP%] {\n color: var(--mj-brand-primary);\n}\n\n\n.mj-forms-menu-pin.pinned.over-cap[_ngcontent-%COMP%] {\n outline: 1px dashed var(--mj-brand-primary);\n outline-offset: -3px;\n}\n\n.mj-forms-menu-pin[_ngcontent-%COMP%]:disabled, \n.mj-forms-menu-pin[aria-disabled=\"true\"][_ngcontent-%COMP%] {\n opacity: 0.35;\n cursor: default;\n}\n\n\n.mj-forms-menu-item[_ngcontent-%COMP%]:focus-visible, \n.mj-forms-menu-pin[_ngcontent-%COMP%]:focus-visible, \n.mj-forms-filter-chip-clear[_ngcontent-%COMP%]:focus-visible, \n.mj-entity-badge[_ngcontent-%COMP%]:focus-visible {\n box-shadow: var(--mj-focus-ring);\n}\n\n\n.mj-forms-variant-tag[_ngcontent-%COMP%] {\n max-width: 12rem;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n padding: 0 6px;\n border-radius: var(--mj-radius-sm);\n background: var(--mj-bg-surface-active);\n color: var(--mj-text-secondary);\n font-size: var(--mj-text-xs);\n}\n\n.mj-forms-menu-sep[_ngcontent-%COMP%] {\n height: 1px;\n margin: var(--mj-space-1) var(--mj-space-1);\n background: var(--mj-border-default);\n}\n\n.mj-forms-menu-search[_ngcontent-%COMP%] {\n position: relative;\n display: flex;\n padding: var(--mj-space-1);\n}\n\n.mj-forms-menu-search[_ngcontent-%COMP%] .mj-section-search[_ngcontent-%COMP%] {\n flex: 1;\n width: auto;\n max-width: none;\n}\n\n\n.mj-forms-hierarchy-row[_ngcontent-%COMP%] {\n display: flex;\n align-items: center;\n padding: var(--mj-space-2) 16px;\n background: var(--mj-bg-surface-card);\n border-bottom: 1px solid var(--mj-border-default);\n overflow-x: auto;\n}\n\n.mj-forms-filter-chip[_ngcontent-%COMP%] {\n display: inline-flex;\n align-items: center;\n gap: var(--mj-space-1);\n max-width: 220px;\n padding: 2px 4px 2px 10px;\n border: 1px solid var(--mj-border-focus);\n border-radius: var(--mj-radius-full);\n background: color-mix(in srgb, var(--mj-brand-primary) 10%, var(--mj-bg-surface));\n color: var(--mj-text-primary);\n font-size: 12px;\n}\n\n.mj-forms-filter-chip-text[_ngcontent-%COMP%] {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\n.mj-forms-filter-chip-clear[_ngcontent-%COMP%] {\n display: grid;\n place-items: center;\n width: 20px;\n height: 20px;\n border: 0;\n border-radius: var(--mj-radius-full);\n background: transparent;\n color: var(--mj-text-secondary);\n cursor: pointer;\n}\n\n.mj-forms-filter-chip-clear[_ngcontent-%COMP%]:hover, \n.mj-forms-filter-chip-clear[_ngcontent-%COMP%]:focus-visible {\n background: var(--mj-bg-surface-active);\n color: var(--mj-text-primary);\n outline: none;\n}\n\n.mj-forms-toolbar__btn--active[_ngcontent-%COMP%] {\n background: color-mix(in srgb, var(--mj-brand-primary, #3b82f6) 14%, transparent);\n color: var(--mj-brand-primary, #3b82f6);\n border-color: var(--mj-brand-primary, #3b82f6);\n}\n\n.mj-forms-edit-banner-conflicts[_ngcontent-%COMP%] {\n display: inline-flex;\n align-items: center;\n gap: 6px;\n margin-left: 10px;\n padding: 3px 10px;\n border-radius: 999px;\n font-size: 12px;\n font-weight: 600;\n background: color-mix(in srgb, var(--mj-status-warning, #f59e0b) 18%, transparent);\n color: var(--mj-status-warning-text, #b45309);\n border: 1px solid color-mix(in srgb, var(--mj-status-warning, #f59e0b) 40%, transparent);\n}\n\n\n\n\n\n.mj-forms-toolbar-collapsed-pill[_ngcontent-%COMP%] {\n position: absolute;\n top: 10px;\n right: 16px;\n z-index: 45;\n display: inline-flex;\n align-items: center;\n background: var(--mj-bg-surface-elevated, var(--mj-bg-surface-card));\n border: 1px solid var(--mj-border-default);\n border-radius: var(--mj-radius-full, 9999px);\n box-shadow: var(--mj-shadow-sm, 0 2px 8px rgba(0, 0, 0, 0.08));\n padding: 2px;\n gap: 2px;\n}\n\n.mj-forms-collapsed-btn[_ngcontent-%COMP%] {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n gap: 6px;\n min-height: 28px;\n padding: 5px 10px;\n font-family: inherit;\n font-size: 12.5px;\n font-weight: var(--mj-font-semibold, 600);\n line-height: 1;\n color: var(--mj-text-primary);\n background: transparent;\n border: none;\n border-radius: var(--mj-radius-full, 9999px);\n cursor: pointer;\n transition: background var(--mj-transition-base, 150ms) ease, color var(--mj-transition-base, 150ms) ease;\n white-space: nowrap;\n}\n\n.mj-forms-collapsed-btn[_ngcontent-%COMP%]:hover:not(:disabled) {\n background: var(--mj-bg-surface-hover);\n}\n\n.mj-forms-collapsed-btn[_ngcontent-%COMP%]:focus-visible {\n outline: none;\n box-shadow: var(--mj-focus-ring);\n}\n\n.mj-forms-collapsed-btn[_ngcontent-%COMP%]:disabled {\n opacity: 0.5;\n cursor: not-allowed;\n}\n\n.mj-forms-collapsed-btn--edit[_ngcontent-%COMP%] {\n color: var(--mj-brand-primary);\n padding: 5px 12px;\n}\n\n.mj-forms-collapsed-btn--edit[_ngcontent-%COMP%]:hover:not(:disabled) {\n background: color-mix(in srgb, var(--mj-brand-primary) 12%, var(--mj-bg-surface));\n}\n\n.mj-forms-collapsed-btn--edit[_ngcontent-%COMP%] + .mj-forms-collapsed-btn--expand[_ngcontent-%COMP%] {\n position: relative;\n}\n\n.mj-forms-collapsed-btn--edit[_ngcontent-%COMP%] + .mj-forms-collapsed-btn--expand[_ngcontent-%COMP%]::before {\n content: '';\n position: absolute;\n left: -2px;\n top: 6px;\n bottom: 6px;\n width: 1px;\n background: var(--mj-border-default);\n}\n\n\n\n\n@media (max-width: 768px) {\n \n\n .mj-forms-toolbar-collapsed-pill[_ngcontent-%COMP%] {\n position: sticky;\n top: 0;\n right: auto;\n display: flex;\n justify-content: flex-end;\n align-items: center;\n width: 100%;\n height: 40px;\n box-sizing: border-box;\n padding: 0 12px;\n gap: 2px;\n border-radius: 0;\n border-top: none;\n border-left: none;\n border-right: none;\n border-bottom: 1px solid var(--mj-border-default);\n background: var(--mj-bg-surface);\n box-shadow: none;\n }\n\n \n .mj-forms-toolbar-collapsed-pill.mj-forms-toolbar-collapsed-pill--rail[_ngcontent-%COMP%] {\n position: absolute;\n top: 0;\n right: 0;\n width: auto;\n height: 44px;\n padding: 0 8px;\n border-left: 1px solid var(--mj-border-default);\n box-shadow: -6px 0 10px -6px rgba(0, 0, 0, 0.08);\n }\n\n .mj-forms-collapsed-btn[_ngcontent-%COMP%] {\n height: 34px;\n min-height: 34px;\n padding: 0 10px;\n font-size: 12.5px;\n }\n\n .mj-forms-collapsed-btn--edit[_ngcontent-%COMP%] {\n padding: 0 11px;\n }\n\n .mj-forms-toolbar[_ngcontent-%COMP%] {\n padding: 8px 12px;\n gap: 6px;\n flex-wrap: wrap;\n overflow: visible;\n }\n\n .mj-forms-toolbar[_ngcontent-%COMP%] .mj-forms-btn[_ngcontent-%COMP%] {\n padding: 6px 10px;\n font-size: 12.5px;\n }\n\n .mj-forms-edit-banner[_ngcontent-%COMP%] {\n padding: 8px 12px;\n flex-direction: row;\n align-items: center;\n justify-content: space-between;\n gap: 8px;\n }\n\n \n .mj-forms-edit-banner-record-name[_ngcontent-%COMP%], \n .mj-forms-dirty-chips[_ngcontent-%COMP%] {\n display: none;\n }\n\n \n\n .mj-forms-menu--sheet[_ngcontent-%COMP%] {\n position: static;\n min-width: 0;\n max-height: none;\n overflow: visible;\n padding: 0 var(--mj-space-2) var(--mj-space-3);\n background: transparent;\n border: 0;\n border-radius: 0;\n box-shadow: none;\n }\n\n .mj-forms-menu--sheet[_ngcontent-%COMP%] .mj-forms-menu-item[_ngcontent-%COMP%], \n .mj-forms-menu--sheet[_ngcontent-%COMP%] .mj-form-variant-picker-row[_ngcontent-%COMP%] {\n min-height: 44px;\n }\n\n .mj-forms-menu--sheet[_ngcontent-%COMP%] .mj-section-search[_ngcontent-%COMP%] {\n max-width: none;\n width: 100%;\n }\n}"], changeDetection: 0 });
|
|
2855
2806
|
}
|
|
2856
2807
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(MjFormToolbarComponent, [{
|
|
2857
2808
|
type: Component,
|
|
2858
|
-
args: [{ standalone: false, selector: 'mj-form-toolbar', changeDetection: ChangeDetectionStrategy.OnPush, template: "<!-- ============================================\n EDIT MODE BANNER (shows above toolbar when editing)\n ============================================ -->\n@if (EditMode && Config.ShowEditBanner) {\n <div class=\"mj-forms-edit-banner\">\n @if (DirtyFieldDisplayNames.length > 0) {\n <i class=\"fa-solid fa-circle-exclamation mj-forms-edit-banner-icon--dirty\"></i>\n <span class=\"mj-forms-edit-banner-dirty\">\n <strong>{{ DirtyFieldDisplayNames.length }}</strong>\n field{{ DirtyFieldDisplayNames.length === 1 ? '' : 's' }} modified\n <span class=\"mj-forms-dirty-chips\">— {{ DirtyFieldDisplayNames.join(', ') }}</span>\n </span>\n } @else {\n <i class=\"fa-solid fa-pen-to-square\"></i>\n <span class=\"mj-forms-edit-banner-text\">Editing<span class=\"mj-forms-edit-banner-record-name\">: {{ RecordDisplayName }}</span></span>\n }\n @if (EffectiveConflictCount > 0) {\n <span class=\"mj-forms-edit-banner-conflicts\" role=\"status\">\n <i class=\"fa-solid fa-triangle-exclamation\"></i>\n <span>{{ EffectiveConflictCount }} {{ EffectiveConflictCount === 1 ? 'conflict needs' : 'conflicts need' }} review</span>\n </span>\n }\n <div class=\"mj-forms-toolbar-spacer\"></div>\n <div class=\"mj-forms-edit-banner-actions\">\n @for (item of ResolvedEditBeforeSaveItems; track item.Key) {\n <button class=\"mj-forms-btn\"\n [class.mj-forms-btn--primary]=\"item.Variant === 'primary'\"\n [class.mj-forms-btn--secondary]=\"item.Variant === 'secondary'\"\n [class.mj-forms-btn--accent]=\"item.Variant === 'accent'\"\n [class.mj-forms-btn--danger]=\"item.Variant === 'danger'\"\n [class.mj-forms-btn--ghost]=\"item.Variant === 'ghost'\"\n [class]=\"item.CssClass\"\n [disabled]=\"item.Disabled || item.IsLoading || IsSaving\"\n [title]=\"item.Description\"\n (click)=\"OnToolbarItemClick(item, $event)\">\n @if (item.IsLoading) {\n <i class=\"fa-solid fa-spinner fa-spin\"></i>\n } @else if (item.Icon) {\n <i [class]=\"item.Icon\"></i>\n }\n @if (item.Text) {\n <span class=\"mj-forms-btn-text\">{{ item.Text }}</span>\n }\n @if (item.Badge != null) {\n <span class=\"mj-list-count-badge\">{{ item.Badge }}</span>\n }\n </button>\n }\n <button class=\"mj-forms-btn mj-forms-btn--primary\" (click)=\"OnSave()\" [disabled]=\"IsSaving\" title=\"Save Changes\">\n <i class=\"fa-solid fa-floppy-disk\"></i>\n <span class=\"mj-forms-btn-text\">Save Changes</span>\n </button>\n <button class=\"mj-forms-btn\" (click)=\"OnCancel()\" [disabled]=\"IsSaving\" title=\"Discard Changes\">\n <i class=\"fa-solid fa-rotate-left\"></i>\n <span class=\"mj-forms-btn-text\">Discard</span>\n </button>\n @for (item of ResolvedEditAfterSaveItems; track item.Key) {\n <button class=\"mj-forms-btn\"\n [class.mj-forms-btn--primary]=\"item.Variant === 'primary'\"\n [class.mj-forms-btn--secondary]=\"item.Variant === 'secondary'\"\n [class.mj-forms-btn--accent]=\"item.Variant === 'accent'\"\n [class.mj-forms-btn--danger]=\"item.Variant === 'danger'\"\n [class.mj-forms-btn--ghost]=\"item.Variant === 'ghost'\"\n [class]=\"item.CssClass\"\n [disabled]=\"item.Disabled || item.IsLoading || IsSaving\"\n [title]=\"item.Description\"\n (click)=\"OnToolbarItemClick(item, $event)\">\n @if (item.IsLoading) {\n <i class=\"fa-solid fa-spinner fa-spin\"></i>\n } @else if (item.Icon) {\n <i [class]=\"item.Icon\"></i>\n }\n @if (item.Text) {\n <span class=\"mj-forms-btn-text\">{{ item.Text }}</span>\n }\n @if (item.Badge != null) {\n <span class=\"mj-list-count-badge\">{{ item.Badge }}</span>\n }\n </button>\n }\n </div>\n </div>\n}\n\n<!-- ============================================\n MAIN TOOLBAR (read mode only \u2014 hidden in edit mode)\n Inline actions (Edit + custom items), the user's pinned actions,\n a More menu for everything else, and a View menu for section and\n layout controls. Pins are per user (UserInfoEngine); until a user\n chooses, the configured defaults (Favorite and History) are pinned.\n ============================================ -->\n@if (!EditMode) {\n @if (!IsToolbarExpanded) {\n <div class=\"mj-forms-toolbar-collapsed-pill\"\n [class.mj-forms-toolbar-collapsed-pill--rail]=\"ChromeLayout === 'left-nav'\"\n role=\"toolbar\"\n aria-label=\"Form actions\">\n @if (EditActionItem; as editItem) {\n <button type=\"button\"\n class=\"mj-forms-collapsed-btn mj-forms-collapsed-btn--edit\"\n [disabled]=\"editItem.Disabled || editItem.IsLoading\"\n [title]=\"editItem.Description\"\n (click)=\"OnToolbarItemClick(editItem, $event)\">\n <i class=\"fa-solid fa-pen\"></i>\n <span>Edit</span>\n </button>\n }\n <button type=\"button\"\n class=\"mj-forms-collapsed-btn mj-forms-collapsed-btn--expand\"\n (click)=\"ExpandToolbarForSession()\"\n aria-label=\"Show form toolbar\"\n title=\"Show toolbar actions and view options\">\n <i class=\"fa-solid fa-ellipsis\"></i>\n </button>\n </div>\n } @else {\n <div class=\"mj-forms-toolbar\" [class.mj-forms-toolbar--sticky]=\"Config.StickyToolbar\">\n\n <div class=\"mj-forms-toolbar-group\">\n @for (item of InlineActionItems; track item.Key) {\n <ng-container [ngTemplateOutlet]=\"actionButtonTpl\" [ngTemplateOutletContext]=\"{ item: item }\"></ng-container>\n }\n @for (item of PinnedActionItems; track item.Key) {\n <ng-container [ngTemplateOutlet]=\"actionButtonTpl\" [ngTemplateOutletContext]=\"{ item: item }\"></ng-container>\n }\n\n @if (ShowMoreMenu) {\n <div class=\"mj-forms-menu-host\" [class.open]=\"MoreMenuOpen\">\n <button class=\"mj-forms-btn mj-forms-menu-trigger\" type=\"button\" data-menu-trigger=\"more\"\n [attr.aria-expanded]=\"MoreMenuOpen\" [attr.aria-controls]=\"MenuIdPrefix + '-more'\"\n title=\"More actions\" (click)=\"ToggleMoreMenu()\">\n <i class=\"fa-solid fa-ellipsis\"></i>\n <span class=\"mj-forms-btn-text\">More</span>\n </button>\n @if (MoreMenuOpen && !IsAutoHideViewport) {\n <div class=\"mj-forms-menu mj-forms-menu--left\" [id]=\"MenuIdPrefix + '-more'\" role=\"group\" aria-label=\"More actions\">\n <ng-container [ngTemplateOutlet]=\"moreMenuContent\"></ng-container>\n </div>\n }\n @if (IsAutoHideViewport) {\n <!-- Phone: the same rows, as a bottom sheet. A dropdown hanging off a 32px button\n is the wrong container when the thumb is the pointer. -->\n <mj-bottom-sheet [Visible]=\"MoreMenuOpen\"\n (VisibleChange)=\"OnMenuSheetVisibleChange('more', $event)\"\n Title=\"More actions\">\n <div class=\"mj-forms-menu mj-forms-menu--sheet\" [id]=\"MenuIdPrefix + '-more'\" role=\"group\" aria-label=\"More actions\">\n <ng-container [ngTemplateOutlet]=\"moreMenuContent\"></ng-container>\n </div>\n </mj-bottom-sheet>\n }\n <ng-template #moreMenuContent>\n @for (item of MoreMenuItems; track item.Key) {\n <div class=\"mj-forms-menu-row\" [class.disabled]=\"item.Disabled\">\n <button class=\"mj-forms-menu-item\" type=\"button\"\n [class.mj-forms-btn--comments]=\"item.Key === 'comments'\"\n [class.mj-forms-btn--links]=\"item.Key === 'links'\"\n [class.mj-forms-btn--ask-ai]=\"item.Key === 'ask-ai'\"\n [class.mj-forms-toolbar__btn--active]=\"(item.Key === 'links' && LinksOpen) || (item.Key === 'comments' && CommentsOpen)\"\n [disabled]=\"item.Disabled || item.IsLoading\" [title]=\"item.Description\"\n (click)=\"OnMenuItemClick(item, $event)\">\n <span class=\"mj-forms-menu-icon\">\n @if (item.IsLoading) { <i class=\"fa-solid fa-spinner fa-spin\"></i> } @else if (item.Icon) { <i [class]=\"item.Icon\"></i> }\n </span>\n <span class=\"mj-forms-menu-label\">{{ item.MenuLabel }}</span>\n @if (item.Badge != null) { <span class=\"mj-forms-menu-badge\">{{ item.Badge }}</span> }\n </button>\n <!-- aria-disabled, not disabled: at the cap the button stays reachable, so its hint can be read. -->\n <button class=\"mj-forms-menu-pin\" type=\"button\"\n [class.pinned]=\"IsPinned(item.Key)\"\n [class.over-cap]=\"IsPinnedOverCap(item.Key)\"\n [attr.aria-disabled]=\"!IsPinned(item.Key) && !CanPinMore ? 'true' : null\"\n [attr.aria-pressed]=\"IsPinned(item.Key)\"\n [attr.aria-label]=\"'Pin ' + item.MenuLabel\"\n [title]=\"IsPinnedOverCap(item.Key) ? 'Pinned, but the toolbar is full (' + MaxPinnedActions + ' max): unpin another to show it, or click to unpin' : IsPinned(item.Key) ? 'Unpin from toolbar' : (CanPinMore ? 'Pin to toolbar' : 'Unpin another action first (' + MaxPinnedActions + ' max)')\"\n (click)=\"TogglePin(item.Key)\">\n <i class=\"fa-solid fa-thumbtack\"></i>\n </button>\n </div>\n }\n @if (DeleteMenuItem; as del) {\n @if (MoreMenuItems.length > 0) { <div class=\"mj-forms-menu-sep\"></div> }\n <button class=\"mj-forms-menu-item mj-forms-menu-item--danger\" type=\"button\"\n [disabled]=\"del.Disabled\" [title]=\"del.Description\" (click)=\"OnMenuItemClick(del, $event)\">\n <span class=\"mj-forms-menu-icon\"><i [class]=\"del.Icon\"></i></span>\n <span class=\"mj-forms-menu-label\">{{ del.MenuLabel }}</span>\n </button>\n }\n </ng-template>\n </div>\n }\n </div>\n\n <!-- Spacer pushes the View menu to the right -->\n <div class=\"mj-forms-toolbar-spacer\"></div>\n\n <!-- An active section filter stays visible after the View menu closes -->\n @if (SearchFilter && !ViewMenuOpen) {\n <span class=\"mj-forms-filter-chip\" title=\"Sections are filtered\">\n <i class=\"fa-solid fa-filter\"></i>\n <span class=\"mj-forms-filter-chip-text\">{{ SearchFilter }}</span>\n <button type=\"button\" class=\"mj-forms-filter-chip-clear\" (click)=\"OnClearFilter()\" aria-label=\"Clear section filter\" title=\"Clear section filter\">\n <i class=\"fa-solid fa-xmark\"></i>\n </button>\n </span>\n }\n\n <!--\n Right-placed registered items. They sit with the View menu rather than with the record\n actions: an item placed here acts on the form's chrome, not on the record. Items\n registered for the overflow group land here too \u2014 the More menu lists only `actions`\n items, and an item that renders nowhere is worse than one in the wrong group.\n -->\n @if (ResolvedRightItems.length > 0) {\n <div class=\"mj-forms-toolbar-group\">\n @for (item of ResolvedRightItems; track item.Key) {\n <button class=\"mj-forms-btn\"\n [class.mj-forms-btn--primary]=\"item.Variant === 'primary'\"\n [class.mj-forms-btn--secondary]=\"item.Variant === 'secondary'\"\n [class.mj-forms-btn--accent]=\"item.Variant === 'accent'\"\n [class.mj-forms-btn--danger]=\"item.Variant === 'danger'\"\n [class.mj-forms-btn--ghost]=\"item.Variant === 'ghost'\"\n [class]=\"item.CssClass\"\n [disabled]=\"item.Disabled || item.IsLoading\"\n [title]=\"item.Description\"\n (click)=\"OnToolbarItemClick(item, $event)\">\n @if (item.IsLoading) {\n <i class=\"fa-solid fa-spinner fa-spin\"></i>\n } @else if (item.Icon) {\n <i [class]=\"item.Icon\"></i>\n }\n @if (item.Text) {\n <span class=\"mj-forms-btn-text\">{{ item.Text }}</span>\n }\n @if (item.Badge != null) {\n <span class=\"mj-list-count-badge\">{{ item.Badge }}</span>\n }\n </button>\n }\n </div>\n }\n\n @if (ShowViewMenu) {\n <div class=\"mj-forms-menu-host\" [class.open]=\"ViewMenuOpen\">\n <button class=\"mj-forms-btn mj-forms-menu-trigger\" type=\"button\" data-menu-trigger=\"view\"\n [attr.aria-expanded]=\"ViewMenuOpen\" [attr.aria-controls]=\"MenuIdPrefix + '-view'\"\n [title]=\"CurrentVariantID ? 'Sections and layout (form: ' + CurrentVariantLabel + ')' : 'Sections and layout'\"\n (click)=\"ToggleViewMenu()\">\n <i class=\"fa-solid fa-sliders\"></i>\n <span class=\"mj-forms-btn-text\">View</span>\n <!-- A non-default form variant stays visible while the panel is closed. -->\n @if (CurrentVariantID) {\n <span class=\"mj-forms-variant-tag\">{{ CurrentVariantLabel }}</span>\n }\n </button>\n @if (ViewMenuOpen && !IsAutoHideViewport) {\n <div class=\"mj-forms-menu mj-forms-menu--right\" [id]=\"MenuIdPrefix + '-view'\" role=\"group\" aria-label=\"Sections and layout\">\n <ng-container [ngTemplateOutlet]=\"viewMenuContent\"></ng-container>\n </div>\n }\n @if (IsAutoHideViewport) {\n <mj-bottom-sheet [Visible]=\"ViewMenuOpen\"\n (VisibleChange)=\"OnMenuSheetVisibleChange('view', $event)\"\n Title=\"Sections and layout\">\n <div class=\"mj-forms-menu mj-forms-menu--sheet\" [id]=\"MenuIdPrefix + '-view'\" role=\"group\" aria-label=\"Sections and layout\">\n <ng-container [ngTemplateOutlet]=\"viewMenuContent\"></ng-container>\n </div>\n </mj-bottom-sheet>\n }\n <ng-template #viewMenuContent>\n @if (Config.ShowSectionControls) {\n @if (Config.ShowSectionFilter) {\n <div class=\"mj-forms-menu-search\">\n <input type=\"text\"\n class=\"mj-section-search\"\n [class.mj-section-search--active]=\"SearchFilter\"\n [value]=\"SearchFilter\"\n (input)=\"OnFilterInput($event)\"\n placeholder=\"Search sections...\"\n aria-label=\"Search sections\">\n @if (SearchFilter) {\n <button class=\"mj-clear-search\" type=\"button\" (click)=\"OnClearFilter()\" aria-label=\"Clear section search\" title=\"Clear search\">\n <i class=\"fa-solid fa-xmark\"></i>\n </button>\n }\n </div>\n }\n @if (ShowExpandCollapseAll || HasCustomSectionOrder || Config.ShowSectionManager) {\n <div class=\"mj-forms-menu-heading\">Sections</div>\n }\n @if (ShowExpandCollapseAll) {\n <button class=\"mj-forms-menu-item\" type=\"button\"\n [disabled]=\"ExpandedSectionCount >= VisibleSectionCount\" title=\"Expand all sections\" (click)=\"OnExpandAll()\">\n <span class=\"mj-forms-menu-icon\"><i class=\"fa-solid fa-angles-down\"></i></span>\n <span class=\"mj-forms-menu-label\">Expand all</span>\n </button>\n <button class=\"mj-forms-menu-item\" type=\"button\"\n [disabled]=\"ExpandedSectionCount === 0\" title=\"Collapse all sections\" (click)=\"OnCollapseAll()\">\n <span class=\"mj-forms-menu-icon\"><i class=\"fa-solid fa-angles-up\"></i></span>\n <span class=\"mj-forms-menu-label\">Collapse all</span>\n </button>\n }\n @if (Config.ShowSectionManager) {\n <button class=\"mj-forms-menu-item\" type=\"button\" (click)=\"OnReorderSectionsFromView()\">\n <span class=\"mj-forms-menu-icon\"><i class=\"fa-solid fa-bars-staggered\"></i></span>\n <span class=\"mj-forms-menu-label\">Reorder sections</span>\n </button>\n }\n @if (HasCustomSectionOrder) {\n <button class=\"mj-forms-menu-item\" type=\"button\" (click)=\"OnResetSectionOrder()\">\n <span class=\"mj-forms-menu-icon\"><i class=\"fa-solid fa-arrow-rotate-left\"></i></span>\n <span class=\"mj-forms-menu-label\">Reset section order</span>\n </button>\n }\n @if (Config.ShowWidthToggle) {\n <div class=\"mj-forms-menu-heading\">Layout</div>\n <button class=\"mj-forms-menu-item\" type=\"button\" (click)=\"OnToggleWidthMode()\">\n <span class=\"mj-forms-menu-icon\">\n <i [class]=\"WidthMode === 'centered' ? 'fa-solid fa-arrows-left-right-to-line' : 'fa-solid fa-compress'\"></i>\n </span>\n <span class=\"mj-forms-menu-label\">{{ WidthMode === 'centered' ? 'Use full width' : 'Center content' }}</span>\n </button>\n }\n }\n @if (ShowVariantPickerButton) {\n <div class=\"mj-forms-menu-heading\">Form</div>\n <button type=\"button\" class=\"mj-form-variant-picker-row mj-form-variant-picker-default\"\n [class.current]=\"!CurrentVariantID\" [attr.aria-pressed]=\"!CurrentVariantID\"\n (click)=\"OnVariantClick(null)\">\n <div class=\"mj-form-variant-picker-row-main\">\n <span class=\"mj-form-variant-picker-row-title\">\n Default form <span class=\"mj-form-variant-picker-default-tag\">(default)</span>\n </span>\n <span class=\"mj-form-variant-picker-row-sub\">CodeGen-generated Angular fallback</span>\n </div>\n @if (!CurrentVariantID) {\n <i class=\"fa-solid fa-check mj-form-variant-picker-check\"></i>\n }\n </button>\n @for (v of Variants; track v.ID) {\n <button type=\"button\" class=\"mj-form-variant-picker-row\"\n [class.current]=\"v.ID === CurrentVariantID\" [attr.aria-pressed]=\"v.ID === CurrentVariantID\"\n [class.inactive]=\"v.Status !== 'Active'\"\n (click)=\"OnVariantClick(v.ID)\">\n <div class=\"mj-form-variant-picker-row-main\">\n <span class=\"mj-form-variant-picker-row-title\">{{ v.Label }}</span>\n <span class=\"mj-form-variant-picker-row-sub\">{{ VariantSubtitle(v) }}</span>\n </div>\n @if (v.ID === CurrentVariantID) {\n <i class=\"fa-solid fa-check mj-form-variant-picker-check\"></i>\n }\n </button>\n }\n }\n @if (IsAutoHideViewport && FormModeSwitch) {\n <div class=\"mj-forms-menu-heading\">Form</div>\n <button class=\"mj-forms-menu-item\" type=\"button\" (click)=\"OnFormModeSwitchClick()\">\n <span class=\"mj-forms-menu-icon\">\n <i class=\"fa-solid\" [class.fa-table-list]=\"FormModeSwitch.Mode === 'default'\" [class.fa-wand-magic-sparkles]=\"FormModeSwitch.Mode === 'standard'\"></i>\n </span>\n <span class=\"mj-forms-menu-label\">{{ FormModeSwitch.Mode === 'standard' ? 'Back to custom view' : 'Open standard form' }}</span>\n </button>\n }\n @if (IsAutoHideViewport) {\n <div class=\"mj-forms-menu-heading\">Toolbar</div>\n @if (CurrentEntityName) {\n <button class=\"mj-forms-menu-item\" type=\"button\"\n data-toolbar-pin=\"entity\"\n [attr.aria-pressed]=\"IsToolbarPinnedOpen\"\n (click)=\"ToggleEntityToolbarPin()\">\n <span class=\"mj-forms-menu-icon\"><i class=\"fa-solid fa-thumbtack\"></i></span>\n <span class=\"mj-forms-menu-label\">{{ IsToolbarPinnedOpen ? 'Unpin toolbar for ' + CurrentEntityDisplayName : 'Pin toolbar for ' + CurrentEntityDisplayName }}</span>\n @if (EntityToolbarPinState !== undefined) {\n <span class=\"mj-forms-menu-badge\">{{ EntityToolbarPinState ? 'Pinned' : 'Auto-hide' }}</span>\n }\n </button>\n }\n <button class=\"mj-forms-menu-item\" type=\"button\"\n data-toolbar-pin=\"global\"\n [attr.aria-pressed]=\"IsGlobalToolbarPinned\"\n (click)=\"ToggleGlobalToolbarPin()\">\n <span class=\"mj-forms-menu-icon\"><i class=\"fa-solid fa-globe\"></i></span>\n <span class=\"mj-forms-menu-label\">{{ IsGlobalToolbarPinned ? 'Unpin toolbar on all forms' : 'Pin toolbar on all forms' }}</span>\n @if (IsGlobalToolbarPinned) {\n <span class=\"mj-forms-menu-badge\">Pinned</span>\n }\n </button>\n <button class=\"mj-forms-menu-item\" type=\"button\"\n data-toolbar-collapse=\"menu\"\n (click)=\"CollapseToolbarForSession()\">\n <span class=\"mj-forms-menu-icon\"><i class=\"fa-solid fa-eye-slash\"></i></span>\n <span class=\"mj-forms-menu-label\">Hide toolbar now</span>\n </button>\n }\n </ng-template>\n </div>\n }\n\n <!-- Additional actions slot -->\n @if (AdditionalActionsTemplate) {\n <ng-container [ngTemplateOutlet]=\"AdditionalActionsTemplate\"></ng-container>\n }\n <ng-content select=\"[toolbar-additional-controls]\"></ng-content>\n\n @if (IsAutoHideViewport) {\n <button class=\"mj-forms-btn mj-forms-btn--icon-only mj-forms-toolbar-collapse-btn\"\n type=\"button\"\n aria-label=\"Hide form toolbar\"\n title=\"Hide toolbar\"\n (click)=\"CollapseToolbarForSession()\">\n <i class=\"fa-solid fa-chevron-up\"></i>\n </button>\n }\n </div>\n }\n\n <!-- IS-A Entity Hierarchy Breadcrumb: its own row, only for entities in a hierarchy -->\n @if (Config.ShowEntityHierarchy && IsInHierarchy) {\n <div class=\"mj-forms-hierarchy-row\">\n <div class=\"mj-entity-hierarchy\">\n @for (parent of ParentChain; track parent.ID) {\n <button type=\"button\" class=\"mj-entity-badge mj-entity-badge--parent\"\n [title]=\"'Navigate to parent: ' + parent.Name\"\n (click)=\"OnParentBadgeClick(parent, $event)\">\n <i class=\"fa-solid fa-arrow-up\"></i>\n {{ parent.Name }}\n </button>\n <span class=\"mj-hierarchy-arrow\"><i class=\"fa-solid fa-chevron-right\"></i></span>\n }\n <span class=\"mj-entity-badge mj-entity-badge--current\">{{ EntityInfo?.Name }}</span>\n @if (DescendantTree.length > 0) {\n <ng-container [ngTemplateOutlet]=\"descendantTreeTpl\"\n [ngTemplateOutletContext]=\"{ items: DescendantTree }\"></ng-container>\n }\n </div>\n </div>\n }\n}\n\n<!-- One read-mode action button (inline or pinned) -->\n<ng-template #actionButtonTpl let-item=\"item\">\n <button class=\"mj-forms-btn\"\n [class.mj-forms-btn--primary]=\"item.Variant === 'primary'\"\n [class.mj-forms-btn--secondary]=\"item.Variant === 'secondary'\"\n [class.mj-forms-btn--accent]=\"item.Variant === 'accent'\"\n [class.mj-forms-btn--danger]=\"item.Variant === 'danger'\"\n [class.mj-forms-btn--ghost]=\"item.Variant === 'ghost'\"\n [class.mj-forms-btn--history]=\"item.Key === 'history'\"\n [class.mj-forms-btn--list]=\"item.Key === 'list'\"\n [class.mj-forms-btn--tags]=\"item.Key === 'tags'\"\n [class.mj-forms-btn--comments]=\"item.Key === 'comments'\"\n [class.mj-forms-btn--links]=\"item.Key === 'links'\"\n [class.mj-forms-btn--ask-ai]=\"item.Key === 'ask-ai'\"\n [class.mj-forms-toolbar__btn--active]=\"(item.Key === 'links' && LinksOpen) || (item.Key === 'comments' && CommentsOpen)\"\n [class.mj-forms-btn--attachments]=\"item.Key === 'attachments'\"\n [class]=\"item.CssClass\"\n [disabled]=\"item.Disabled || item.IsLoading\"\n [title]=\"item.Description\"\n [attr.aria-label]=\"item.Text ? null : (item.Description || item.MenuLabel)\"\n (click)=\"OnToolbarItemClick(item, $event)\">\n @if (item.IsLoading) {\n <i class=\"fa-solid fa-spinner fa-spin\"></i>\n } @else if (item.Icon) {\n <i [class]=\"item.Icon\"></i>\n }\n @if (item.Text) {\n <span class=\"mj-forms-btn-text\">{{ item.Text }}</span>\n }\n @if (item.Badge != null) {\n <span [class]=\"item.Key === 'history' ? 'mj-version-count-badge' : 'mj-list-count-badge'\">{{ item.Badge }}</span>\n }\n </button>\n</ng-template>\n\n<!-- ============================================\n RECORD CLONE SLIDE-IN (ng-record-clone)\n Created only when the Clone action is available; navigation it\n requests leaves through this toolbar's Navigate output.\n ============================================ -->\n@if (ShowCloneAction) {\n <mj-record-clone-slide-in\n [Provider]=\"Provider\"\n [Record]=\"Record\"\n [Visible]=\"IsClonePanelOpen\"\n (VisibleChange)=\"OnClonePanelVisibleChange($event)\"\n (CloneCompleted)=\"OnCloneCompleted($event)\"\n (NavigateToRecord)=\"OnCloneNavigate($event)\">\n </mj-record-clone-slide-in>\n}\n\n<!-- ============================================\n DISCARD CHANGES CONFIRMATION DIALOG\n ============================================ -->\n@if (ShowDiscardDialog) {\n <div class=\"mj-dialog-overlay\" (click)=\"OnDiscardCancel()\">\n <div class=\"mj-dialog\" (click)=\"$event.stopPropagation()\">\n <div class=\"mj-dialog-header\">\n <h3>Discard Changes?</h3>\n <button class=\"mj-dialog-close\" (click)=\"OnDiscardCancel()\">\n <i class=\"fa-solid fa-xmark\"></i>\n </button>\n </div>\n <div class=\"mj-dialog-body\">\n <p>You have <strong>{{ DirtyFieldDisplayNames.length }}</strong> unsaved change{{ DirtyFieldDisplayNames.length === 1 ? '' : 's' }}. Are you sure you want to discard {{ DirtyFieldDisplayNames.length === 1 ? 'it' : 'them' }}?</p>\n </div>\n <div class=\"mj-dialog-footer\">\n <button class=\"mj-forms-btn mj-forms-btn--danger\" (click)=\"OnDiscardConfirm()\">\n <i class=\"fa-solid fa-rotate-left\"></i>\n Discard Changes\n </button>\n <button class=\"mj-forms-btn\" (click)=\"OnDiscardCancel()\">\n Keep Editing\n </button>\n </div>\n </div>\n </div>\n}\n\n<!-- ============================================\n DELETE CONFIRMATION DIALOG\n ============================================ -->\n@if (ShowDeleteDialog) {\n <div class=\"mj-dialog-overlay\" (click)=\"OnDeleteCancel()\">\n <div class=\"mj-dialog\" (click)=\"$event.stopPropagation()\">\n <div class=\"mj-dialog-header\">\n <h3>Confirm Deletion</h3>\n <button class=\"mj-dialog-close\" (click)=\"OnDeleteCancel()\">\n <i class=\"fa-solid fa-xmark\"></i>\n </button>\n </div>\n <div class=\"mj-dialog-body\">\n <p>Are you sure you want to delete this record? This action cannot be undone.</p>\n </div>\n <div class=\"mj-dialog-footer\">\n <button class=\"mj-forms-btn mj-forms-btn--danger\" (click)=\"OnDeleteConfirm()\">\n <i class=\"fa-solid fa-trash-can\"></i>\n Delete\n </button>\n <button class=\"mj-forms-btn\" (click)=\"OnDeleteCancel()\">\n Cancel\n </button>\n </div>\n </div>\n </div>\n}\n\n<!-- Recursive template for IS-A descendant tree rendering.\n Single child at a level \u2192 inline with chevron.\n Multiple children at a level \u2192 tree branch with CSS connector lines. -->\n<ng-template #descendantTreeTpl let-items=\"items\">\n @if (items.length === 1) {\n <span class=\"mj-hierarchy-arrow\"><i class=\"fa-solid fa-chevron-right\"></i></span>\n <button type=\"button\" class=\"mj-entity-badge mj-entity-badge--child\"\n [title]=\"'Navigate to: ' + items[0].EntityName\"\n (click)=\"OnDescendantBadgeClick(items[0].EntityName, $event)\">\n <i class=\"fa-solid fa-arrow-down\"></i>\n {{ items[0].EntityName }}\n </button>\n @if (items[0].Children.length > 0) {\n <ng-container [ngTemplateOutlet]=\"descendantTreeTpl\"\n [ngTemplateOutletContext]=\"{ items: items[0].Children }\"></ng-container>\n }\n } @else if (items.length > 1) {\n <div class=\"mj-descendant-chains\">\n @for (item of items; track item.EntityName) {\n <div class=\"mj-descendant-chain\">\n <button type=\"button\" class=\"mj-entity-badge mj-entity-badge--child\"\n [title]=\"'Navigate to: ' + item.EntityName\"\n (click)=\"OnDescendantBadgeClick(item.EntityName, $event)\">\n <i class=\"fa-solid fa-arrow-down\"></i>\n {{ item.EntityName }}\n </button>\n @if (item.Children.length > 0) {\n <ng-container [ngTemplateOutlet]=\"descendantTreeTpl\"\n [ngTemplateOutletContext]=\"{ items: item.Children }\"></ng-container>\n }\n </div>\n }\n </div>\n }\n</ng-template>\n", styles: ["/* ============================================\n FORM TOOLBAR \u2014 uses global --mj-* design tokens\n ============================================ */\n:host {\n display: block;\n}\n\n/* ============================================\n EDIT BANNER\n ============================================ */\n.mj-forms-edit-banner {\n display: flex;\n align-items: center;\n gap: 10px;\n padding: 16px 16px;\n background: color-mix(in srgb, var(--mj-brand-primary) 10%, var(--mj-bg-surface));\n border-bottom: 2px solid var(--mj-brand-primary);\n font-size: 13px;\n color: var(--mj-brand-primary);\n font-weight: var(--mj-font-medium);\n}\n\n.mj-forms-edit-banner > i {\n font-size: var(--mj-text-sm);\n}\n\n.mj-forms-edit-banner-icon--dirty {\n color: var(--mj-status-warning);\n font-size: var(--mj-text-base);\n}\n\n.mj-forms-edit-banner-text {\n font-size: var(--mj-text-sm);\n}\n\n.mj-forms-edit-banner-dirty {\n font-size: var(--mj-text-sm);\n color: var(--mj-text-primary);\n}\n\n.mj-forms-edit-banner-dirty strong {\n color: var(--mj-status-warning);\n font-weight: var(--mj-font-bold);\n}\n\n.mj-forms-edit-banner-actions {\n display: flex;\n gap: 8px;\n}\n\n/* ============================================\n MAIN TOOLBAR\n ============================================ */\n.mj-forms-toolbar {\n position: relative;\n display: flex;\n align-items: center;\n gap: 8px;\n padding: 22px 16px;\n background: var(--mj-bg-surface-card);\n border-bottom: 2px solid var(--mj-border-default);\n flex-wrap: wrap;\n z-index: 40;\n}\n\n.mj-forms-toolbar--sticky {\n position: sticky;\n top: 0;\n}\n\n.mj-forms-toolbar--disabled {\n pointer-events: none;\n opacity: 0.7;\n}\n\n.mj-forms-toolbar-group {\n display: flex;\n align-items: center;\n gap: 6px;\n}\n\n.mj-forms-toolbar-separator {\n width: 1px;\n height: 24px;\n background: var(--mj-border-default);\n margin: 0 4px;\n}\n\n.mj-forms-toolbar-spacer {\n flex: 1;\n}\n\n/* ============================================\n BUTTONS\n ============================================ */\n.mj-forms-btn {\n position: relative;\n display: inline-flex;\n align-items: center;\n gap: 6px;\n padding: 8px 16px;\n font-size: 13px;\n font-weight: var(--mj-font-medium);\n border: 1px solid var(--mj-border-default);\n background: var(--mj-bg-surface);\n color: var(--mj-text-primary);\n border-radius: var(--mj-radius-sm);\n cursor: pointer;\n transition: all var(--mj-transition-base) ease;\n white-space: nowrap;\n font-family: inherit;\n line-height: 1;\n}\n\n.mj-forms-btn:hover {\n background: var(--mj-bg-surface-hover);\n border-color: var(--mj-border-strong);\n box-shadow: var(--mj-shadow-sm);\n}\n\n.mj-forms-btn:active {\n transform: translateY(0);\n box-shadow: none;\n}\n\n.mj-forms-btn:disabled {\n opacity: 0.5;\n cursor: not-allowed;\n}\n\n.mj-forms-btn i {\n font-size: 15px;\n line-height: 1;\n}\n\n.mj-forms-btn--primary {\n background: var(--mj-brand-primary);\n color: var(--mj-text-inverse);\n border-color: var(--mj-brand-primary);\n}\n\n.mj-forms-btn--primary:hover {\n background: var(--mj-brand-primary-hover);\n border-color: var(--mj-brand-primary-hover);\n box-shadow: 0 2px 8px color-mix(in srgb, var(--mj-brand-primary) 30%, transparent);\n}\n\n.mj-forms-btn--secondary {\n background: color-mix(in srgb, var(--mj-brand-primary) 10%, var(--mj-bg-surface));\n color: var(--mj-brand-primary);\n border-color: color-mix(in srgb, var(--mj-brand-primary) 30%, var(--mj-border-default));\n}\n\n.mj-forms-btn--secondary:hover {\n background: color-mix(in srgb, var(--mj-brand-primary) 18%, var(--mj-bg-surface));\n border-color: var(--mj-brand-primary);\n}\n\n.mj-forms-btn--accent {\n background: var(--mj-brand-accent, #6366f1);\n color: var(--mj-text-inverse, #ffffff);\n border-color: var(--mj-brand-accent, #6366f1);\n}\n\n.mj-forms-btn--accent:hover {\n filter: brightness(1.1);\n box-shadow: 0 2px 8px color-mix(in srgb, var(--mj-brand-accent, #6366f1) 30%, transparent);\n}\n\n.mj-forms-btn--danger {\n color: var(--mj-status-error);\n border-color: color-mix(in srgb, var(--mj-status-error) 30%, transparent);\n background: color-mix(in srgb, var(--mj-status-error) 5%, var(--mj-bg-surface));\n}\n\n.mj-forms-btn--danger:hover {\n background: color-mix(in srgb, var(--mj-status-error) 10%, var(--mj-bg-surface));\n border-color: var(--mj-status-error);\n}\n\n.mj-forms-btn--ghost {\n border-color: transparent;\n background: transparent;\n}\n\n.mj-forms-btn--ghost:hover {\n background: color-mix(in srgb, var(--mj-brand-primary) 8%, transparent);\n border-color: transparent;\n}\n\n.mj-forms-btn--icon-only {\n padding: 7px 9px;\n}\n\n.mj-forms-btn--sm {\n padding: 5px 12px;\n font-size: var(--mj-text-xs);\n}\n\n.mj-forms-btn--sm i {\n font-size: var(--mj-text-xs);\n}\n\n.mj-forms-btn-text {\n margin-left: 2px;\n}\n\n.mj-icon--favorite {\n color: var(--mj-status-warning);\n}\n\n/* List button with count badge */\n.mj-forms-btn--list {\n position: relative;\n}\n\n/* History button with version badge */\n.mj-forms-btn--history {\n position: relative;\n}\n\n.mj-version-count-badge {\n position: absolute;\n top: -6px;\n right: -10px;\n padding: 0 5px;\n font-size: 10px;\n font-weight: var(--mj-font-bold);\n color: var(--mj-text-inverse);\n background: linear-gradient(135deg, var(--mj-status-success) 0%, color-mix(in srgb, var(--mj-status-success) 85%, black) 100%);\n border-radius: var(--mj-radius-full);\n display: flex;\n align-items: center;\n justify-content: center;\n height: 16px;\n border: 2px solid var(--mj-bg-surface-card);\n white-space: nowrap;\n line-height: 1;\n}\n\n.mj-list-count-badge {\n position: absolute;\n top: -6px;\n right: -6px;\n min-width: 16px;\n height: 16px;\n padding: 0 4px;\n font-size: 10px;\n font-weight: var(--mj-font-bold);\n color: var(--mj-text-inverse);\n background: linear-gradient(135deg, var(--mj-status-info) 0%, color-mix(in srgb, var(--mj-status-info) 85%, black) 100%);\n border-radius: var(--mj-radius-full);\n display: flex;\n align-items: center;\n justify-content: center;\n border: 2px solid var(--mj-bg-surface-card);\n}\n\n/* ============================================\n IS-A ENTITY HIERARCHY\n ============================================ */\n.mj-entity-hierarchy {\n display: flex;\n align-items: center;\n gap: 4px;\n}\n\n.mj-entity-badge {\n /* A button now (keyboard-reachable); keep the badge look. */\n font-family: inherit;\n line-height: inherit;\n display: inline-flex;\n align-items: center;\n gap: 5px;\n padding: 4px 10px;\n font-size: var(--mj-text-xs);\n font-weight: var(--mj-font-semibold);\n border-radius: var(--mj-radius-sm);\n cursor: pointer;\n transition: all var(--mj-transition-base) ease;\n text-decoration: none;\n border: 1px solid transparent;\n}\n\n.mj-entity-badge i {\n font-size: 11px;\n}\n\n.mj-entity-badge--parent {\n background: color-mix(in srgb, var(--mj-brand-accent) 10%, var(--mj-bg-surface));\n color: var(--mj-brand-accent);\n border-color: color-mix(in srgb, var(--mj-brand-accent) 25%, transparent);\n}\n\n.mj-entity-badge--parent:hover {\n background: color-mix(in srgb, var(--mj-brand-accent) 18%, var(--mj-bg-surface));\n border-color: var(--mj-brand-accent);\n box-shadow: 0 2px 6px color-mix(in srgb, var(--mj-brand-accent) 15%, transparent);\n}\n\n.mj-entity-badge--current {\n font-weight: var(--mj-font-semibold);\n font-size: 13px;\n color: var(--mj-text-primary);\n padding: 4px 8px;\n background: var(--mj-bg-surface-hover);\n border-radius: var(--mj-radius-sm);\n cursor: default;\n}\n\n.mj-entity-badge--child {\n background: color-mix(in srgb, var(--mj-status-info) 10%, var(--mj-bg-surface));\n color: var(--mj-status-info);\n border-color: color-mix(in srgb, var(--mj-status-info) 25%, transparent);\n}\n\n.mj-entity-badge--child:hover {\n background: color-mix(in srgb, var(--mj-status-info) 18%, var(--mj-bg-surface));\n border-color: var(--mj-status-info);\n box-shadow: 0 2px 6px color-mix(in srgb, var(--mj-status-info) 15%, transparent);\n}\n\n.mj-entity-badge--overlapping {\n background: color-mix(in srgb, var(--mj-status-warning) 10%, var(--mj-bg-surface));\n color: color-mix(in srgb, var(--mj-status-warning) 85%, black);\n border-color: color-mix(in srgb, var(--mj-status-warning) 40%, transparent);\n}\n\n.mj-entity-badge--overlapping:hover {\n background: color-mix(in srgb, var(--mj-status-warning) 18%, var(--mj-bg-surface));\n border-color: color-mix(in srgb, var(--mj-status-warning) 85%, black);\n box-shadow: 0 2px 6px color-mix(in srgb, var(--mj-status-warning) 15%, transparent);\n}\n\n.mj-entity-badge-group {\n display: inline-flex;\n align-items: center;\n gap: 4px;\n flex-wrap: wrap;\n}\n\n.mj-child-count {\n background: var(--mj-status-info);\n color: var(--mj-text-inverse);\n font-size: 10px;\n padding: 1px 5px;\n border-radius: var(--mj-radius-full);\n font-weight: var(--mj-font-bold);\n}\n\n.mj-entity-badge--leaf {\n border-style: dashed;\n}\n\n.mj-entity-badge--root {\n border-style: dashed;\n}\n\n.mj-hierarchy-arrow {\n color: var(--mj-text-muted);\n font-size: 10px;\n}\n\n/* Descendant chain tree (connecting lines when multiple chains branch) */\n.mj-descendant-chains {\n display: flex;\n flex-direction: column;\n gap: 6px;\n position: relative;\n padding-left: 20px;\n}\n\n/* Horizontal connector from parent entity badge to tree trunk */\n.mj-descendant-chains::before {\n content: '';\n position: absolute;\n left: -4px;\n top: 50%;\n width: 4px;\n border-top: 1.5px solid var(--mj-text-muted);\n}\n\n.mj-descendant-chain {\n display: inline-flex;\n align-items: center;\n gap: 4px;\n position: relative;\n padding: 2px 0;\n}\n\n/* Horizontal branch line from trunk to chain content */\n.mj-descendant-chain::before {\n content: '';\n position: absolute;\n left: -20px;\n top: 50%;\n width: 18px;\n border-top: 1.5px solid var(--mj-text-muted);\n}\n\n/* Vertical trunk segment (each chain draws its portion) */\n.mj-descendant-chain::after {\n content: '';\n position: absolute;\n left: -20px;\n top: 0;\n bottom: 0;\n border-left: 1.5px solid var(--mj-text-muted);\n}\n\n/* First chain: trunk starts from center */\n.mj-descendant-chain:first-child::after {\n top: 50%;\n}\n\n/* Last chain: trunk ends at center */\n.mj-descendant-chain:last-child::after {\n bottom: 50%;\n}\n\n/* (dirty summary removed \u2014 now inline in edit banner) */\n\n/* ============================================\n SECTION CONTROLS\n ============================================ */\n.mj-section-controls {\n gap: 6px;\n}\n\n.mj-forms-search-wrapper {\n position: relative;\n display: inline-flex;\n align-items: center;\n}\n\n.mj-section-search {\n max-width: 180px;\n font-size: 13px;\n padding: 6px 28px 6px 8px;\n border: 1px solid var(--mj-border-default);\n border-radius: var(--mj-radius-sm);\n background: var(--mj-bg-surface);\n outline: none;\n font-family: inherit;\n transition: all var(--mj-transition-base);\n}\n\n.mj-section-search:focus {\n border-color: var(--mj-brand-primary);\n box-shadow: 0 0 0 2px color-mix(in srgb, var(--mj-brand-primary) 10%, transparent);\n}\n\n/* Active filter highlight \u2014 matches the yellow used on matched panel/field names */\n.mj-section-search--active {\n background-color: color-mix(in srgb, var(--mj-status-warning) 40%, var(--mj-bg-surface));\n border-color: var(--mj-status-warning);\n color: color-mix(in srgb, var(--mj-status-warning) 80%, black);\n font-weight: var(--mj-font-semibold);\n box-shadow: 0 0 0 2px color-mix(in srgb, var(--mj-status-warning) 25%, transparent);\n}\n\n.mj-section-search::placeholder {\n color: var(--mj-text-muted);\n font-style: italic;\n}\n\n.mj-clear-search {\n position: absolute;\n right: 4px;\n padding: 4px;\n background: none;\n border: none;\n color: var(--mj-text-muted);\n cursor: pointer;\n font-size: var(--mj-text-xs);\n line-height: 1;\n}\n\n.mj-clear-search:hover {\n color: var(--mj-text-secondary);\n}\n\n/* ============================================\n DIALOG (lightweight inline)\n ============================================ */\n.mj-dialog-overlay {\n position: fixed;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n background: var(--mj-bg-overlay);\n display: flex;\n align-items: center;\n justify-content: center;\n z-index: 1000;\n animation: mj-fade-in 150ms ease;\n}\n\n.mj-dialog {\n background: var(--mj-bg-surface-card);\n border-radius: var(--mj-radius-lg);\n box-shadow: var(--mj-shadow-lg);\n min-width: 400px;\n max-width: 550px;\n animation: mj-slide-up 200ms ease;\n}\n\n.mj-dialog-header {\n display: flex;\n align-items: center;\n justify-content: space-between;\n padding: 16px 20px;\n border-bottom: 1px solid var(--mj-border-default);\n}\n\n.mj-dialog-header h3 {\n margin: 0;\n font-size: var(--mj-text-base);\n font-weight: var(--mj-font-semibold);\n}\n\n.mj-dialog-close {\n background: none;\n border: none;\n color: var(--mj-text-muted);\n cursor: pointer;\n padding: 4px;\n font-size: var(--mj-text-base);\n transition: color var(--mj-transition-base);\n}\n\n.mj-dialog-close:hover {\n color: var(--mj-text-primary);\n}\n\n.mj-dialog-body {\n padding: 20px;\n font-size: var(--mj-text-sm);\n color: var(--mj-text-secondary);\n line-height: 1.6;\n}\n\n.mj-dialog-body p {\n margin: 0;\n}\n\n.mj-dialog-footer {\n display: flex;\n gap: 8px;\n padding: 16px 20px;\n border-top: 1px solid var(--mj-border-default);\n}\n\n@keyframes mj-fade-in {\n from { opacity: 0; }\n to { opacity: 1; }\n}\n\n@keyframes mj-slide-up {\n from { transform: translateY(8px); opacity: 0; }\n to { transform: translateY(0); opacity: 1; }\n}\n\n/* ============================================================ */\n/* FORM-VARIANT PICKER (toolbar-embedded; right-side) */\n/* ============================================================ */\n\n.mj-form-variant-picker-host {\n position: relative;\n display: inline-flex;\n}\n\n.mj-form-variant-picker-trigger {\n display: inline-flex;\n align-items: center;\n gap: 6px;\n max-width: 240px;\n}\n\n.mj-form-variant-picker-trigger .chev {\n font-size: 10px;\n opacity: 0.7;\n}\n\n.mj-form-variant-picker-current-label {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n max-width: 160px;\n font-size: 12px;\n font-weight: 500;\n}\n\n.mj-form-variant-picker-host.open .mj-form-variant-picker-trigger {\n background: var(--mj-bg-surface-hover);\n border-color: var(--mj-border-focus);\n}\n\n.mj-form-variant-picker-menu {\n position: absolute;\n top: calc(100% + 4px);\n right: 0;\n z-index: 50;\n min-width: 280px;\n max-height: 360px;\n overflow-y: auto;\n background: var(--mj-bg-surface-elevated);\n border: 1px solid var(--mj-border-default);\n border-radius: 6px;\n box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);\n padding: 4px 0;\n}\n\n.mj-form-variant-picker-row {\n display: flex;\n align-items: flex-start;\n gap: 8px;\n width: 100%;\n padding: 8px 12px;\n border: 0;\n background: none;\n font: inherit;\n text-align: left;\n cursor: pointer;\n color: var(--mj-text-primary);\n font-size: 13px;\n transition: background 120ms;\n}\n\n.mj-form-variant-picker-row:hover {\n background: var(--mj-bg-surface-hover);\n}\n\n.mj-form-variant-picker-row:focus-visible {\n outline: none;\n box-shadow: var(--mj-focus-ring);\n}\n\n.mj-form-variant-picker-row.current {\n background: color-mix(in srgb, var(--mj-brand-primary) 10%, transparent);\n}\n\n.mj-form-variant-picker-row.inactive {\n opacity: 0.6;\n}\n\n.mj-form-variant-picker-row-main {\n flex: 1;\n display: flex;\n flex-direction: column;\n gap: 2px;\n}\n\n.mj-form-variant-picker-row-title {\n font-weight: 600;\n}\n\n.mj-form-variant-picker-row-sub {\n font-size: 11px;\n color: var(--mj-text-muted);\n}\n\n.mj-form-variant-picker-default-tag {\n font-size: 10px;\n font-weight: 500;\n color: var(--mj-text-muted);\n margin-left: 4px;\n}\n\n.mj-form-variant-picker-default {\n border-bottom: 1px solid var(--mj-border-subtle);\n}\n\n.mj-form-variant-picker-check {\n color: var(--mj-brand-primary);\n font-size: 12px;\n margin-top: 2px;\n}\n\n/* ============================================\n MORE / VIEW MENUS\n ============================================ */\n.mj-forms-menu-host {\n position: relative;\n display: inline-flex;\n}\n\n.mj-forms-menu-host.open .mj-forms-menu-trigger {\n background: var(--mj-bg-surface-hover);\n border-color: var(--mj-border-focus);\n}\n\n.mj-forms-menu {\n position: absolute;\n top: calc(100% + 4px);\n z-index: 50;\n min-width: 260px;\n max-height: 420px;\n overflow-y: auto;\n display: flex;\n flex-direction: column;\n background: var(--mj-bg-surface-elevated);\n border: 1px solid var(--mj-border-default);\n border-radius: var(--mj-radius-md);\n box-shadow: var(--mj-shadow-lg);\n padding: var(--mj-space-1);\n}\n\n.mj-forms-menu--left { left: 0; }\n.mj-forms-menu--right { right: 0; }\n\n.mj-forms-menu-heading {\n padding: var(--mj-space-2) var(--mj-space-2) var(--mj-space-1);\n font-size: 11px;\n font-weight: 600;\n letter-spacing: 0.08em;\n text-transform: uppercase;\n color: var(--mj-text-muted);\n}\n\n.mj-forms-menu-row {\n display: flex;\n align-items: center;\n gap: var(--mj-space-1);\n}\n\n.mj-forms-menu-item {\n flex: 1;\n display: flex;\n align-items: center;\n gap: var(--mj-space-2);\n width: 100%;\n padding: 6px var(--mj-space-2);\n border: 0;\n border-radius: var(--mj-radius-sm);\n background: transparent;\n color: var(--mj-text-primary);\n font: inherit;\n font-size: 13px;\n text-align: left;\n cursor: pointer;\n}\n\n.mj-forms-menu-item:hover:not(:disabled),\n.mj-forms-menu-item:focus-visible {\n background: var(--mj-bg-surface-hover);\n outline: none;\n}\n\n.mj-forms-menu-item:disabled {\n opacity: 0.5;\n cursor: default;\n}\n\n.mj-forms-menu-item--danger,\n.mj-forms-menu-item--danger .mj-forms-menu-icon {\n color: var(--mj-status-error);\n}\n\n.mj-forms-menu-icon {\n width: 18px;\n text-align: center;\n color: var(--mj-text-secondary);\n}\n\n.mj-forms-menu-label {\n flex: 1;\n}\n\n.mj-forms-menu-badge {\n font-size: 11px;\n font-weight: 600;\n padding: 0 6px;\n border-radius: 9px;\n background: var(--mj-bg-surface-active);\n color: var(--mj-text-primary);\n}\n\n.mj-forms-menu-pin {\n width: 26px;\n height: 26px;\n display: grid;\n place-items: center;\n border: 0;\n border-radius: var(--mj-radius-sm);\n background: transparent;\n color: var(--mj-text-muted);\n cursor: pointer;\n}\n\n.mj-forms-menu-pin:hover:not(:disabled),\n.mj-forms-menu-pin:focus-visible {\n background: var(--mj-bg-surface-active);\n color: var(--mj-text-primary);\n outline: none;\n}\n\n.mj-forms-menu-pin.pinned {\n color: var(--mj-brand-primary);\n}\n\n/* Pinned, but past the cap on this form: dashed, so it reads as waiting for a free slot. */\n.mj-forms-menu-pin.pinned.over-cap {\n outline: 1px dashed var(--mj-brand-primary);\n outline-offset: -3px;\n}\n\n.mj-forms-menu-pin:disabled,\n.mj-forms-menu-pin[aria-disabled=\"true\"] {\n opacity: 0.35;\n cursor: default;\n}\n\n/* Keyboard focus is a ring, not just the hover tint, on every panel control. */\n.mj-forms-menu-item:focus-visible,\n.mj-forms-menu-pin:focus-visible,\n.mj-forms-filter-chip-clear:focus-visible,\n.mj-entity-badge:focus-visible {\n box-shadow: var(--mj-focus-ring);\n}\n\n/* The active form variant, on the View button, when it isn't the default form. */\n.mj-forms-variant-tag {\n max-width: 12rem;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n padding: 0 6px;\n border-radius: var(--mj-radius-sm);\n background: var(--mj-bg-surface-active);\n color: var(--mj-text-secondary);\n font-size: var(--mj-text-xs);\n}\n\n.mj-forms-menu-sep {\n height: 1px;\n margin: var(--mj-space-1) var(--mj-space-1);\n background: var(--mj-border-default);\n}\n\n.mj-forms-menu-search {\n position: relative;\n display: flex;\n padding: var(--mj-space-1);\n}\n\n.mj-forms-menu-search .mj-section-search {\n flex: 1;\n width: auto;\n max-width: none;\n}\n\n/* IS-A hierarchy breadcrumb row below the toolbar */\n.mj-forms-hierarchy-row {\n display: flex;\n align-items: center;\n padding: var(--mj-space-2) 16px;\n background: var(--mj-bg-surface-card);\n border-bottom: 1px solid var(--mj-border-default);\n overflow-x: auto;\n}\n\n.mj-forms-filter-chip {\n display: inline-flex;\n align-items: center;\n gap: var(--mj-space-1);\n max-width: 220px;\n padding: 2px 4px 2px 10px;\n border: 1px solid var(--mj-border-focus);\n border-radius: var(--mj-radius-full);\n background: color-mix(in srgb, var(--mj-brand-primary) 10%, var(--mj-bg-surface));\n color: var(--mj-text-primary);\n font-size: 12px;\n}\n\n.mj-forms-filter-chip-text {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\n.mj-forms-filter-chip-clear {\n display: grid;\n place-items: center;\n width: 20px;\n height: 20px;\n border: 0;\n border-radius: var(--mj-radius-full);\n background: transparent;\n color: var(--mj-text-secondary);\n cursor: pointer;\n}\n\n.mj-forms-filter-chip-clear:hover,\n.mj-forms-filter-chip-clear:focus-visible {\n background: var(--mj-bg-surface-active);\n color: var(--mj-text-primary);\n outline: none;\n}\n\n.mj-forms-toolbar__btn--active {\n background: color-mix(in srgb, var(--mj-brand-primary, #3b82f6) 14%, transparent);\n color: var(--mj-brand-primary, #3b82f6);\n border-color: var(--mj-brand-primary, #3b82f6);\n}\n\n.mj-forms-edit-banner-conflicts {\n display: inline-flex;\n align-items: center;\n gap: 6px;\n margin-left: 10px;\n padding: 3px 10px;\n border-radius: 999px;\n font-size: 12px;\n font-weight: 600;\n background: color-mix(in srgb, var(--mj-status-warning, #f59e0b) 18%, transparent);\n color: var(--mj-status-warning-text, #b45309);\n border: 1px solid color-mix(in srgb, var(--mj-status-warning, #f59e0b) 40%, transparent);\n}\n\n/* ============================================\n COLLAPSED READ-MODE TRIGGER PILL\n Zero-layout-height corner pill ([\u270E Edit | \u2022\u2022\u2022])\n ============================================ */\n.mj-forms-toolbar-collapsed-pill {\n position: absolute;\n top: 10px;\n right: 16px;\n z-index: 45;\n display: inline-flex;\n align-items: center;\n background: var(--mj-bg-surface-elevated, var(--mj-bg-surface-card));\n border: 1px solid var(--mj-border-default);\n border-radius: var(--mj-radius-full, 9999px);\n box-shadow: var(--mj-shadow-sm, 0 2px 8px rgba(0, 0, 0, 0.08));\n padding: 2px;\n gap: 2px;\n}\n\n.mj-forms-collapsed-btn {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n gap: 6px;\n min-height: 28px;\n padding: 5px 10px;\n font-family: inherit;\n font-size: 12.5px;\n font-weight: var(--mj-font-semibold, 600);\n line-height: 1;\n color: var(--mj-text-primary);\n background: transparent;\n border: none;\n border-radius: var(--mj-radius-full, 9999px);\n cursor: pointer;\n transition: background var(--mj-transition-base, 150ms) ease, color var(--mj-transition-base, 150ms) ease;\n white-space: nowrap;\n}\n\n.mj-forms-collapsed-btn:hover:not(:disabled) {\n background: var(--mj-bg-surface-hover);\n}\n\n.mj-forms-collapsed-btn:focus-visible {\n outline: none;\n box-shadow: var(--mj-focus-ring);\n}\n\n.mj-forms-collapsed-btn:disabled {\n opacity: 0.5;\n cursor: not-allowed;\n}\n\n.mj-forms-collapsed-btn--edit {\n color: var(--mj-brand-primary);\n padding: 5px 12px;\n}\n\n.mj-forms-collapsed-btn--edit:hover:not(:disabled) {\n background: color-mix(in srgb, var(--mj-brand-primary) 12%, var(--mj-bg-surface));\n}\n\n.mj-forms-collapsed-btn--edit + .mj-forms-collapsed-btn--expand {\n position: relative;\n}\n\n.mj-forms-collapsed-btn--edit + .mj-forms-collapsed-btn--expand::before {\n content: '';\n position: absolute;\n left: -2px;\n top: 6px;\n bottom: 6px;\n width: 1px;\n background: var(--mj-border-default);\n}\n\n/* ============================================\n MOBILE TOOLBAR & EDIT BANNER DENSITY (<= 768px)\n ============================================ */\n@media (max-width: 768px) {\n /* Accordion forms (no section rail): slim 40px right-aligned bar so the pill never overlaps\n the first collapsible panel's header or collapse chevron. */\n .mj-forms-toolbar-collapsed-pill {\n position: sticky;\n top: 0;\n right: auto;\n display: flex;\n justify-content: flex-end;\n align-items: center;\n width: 100%;\n height: 40px;\n box-sizing: border-box;\n padding: 0 12px;\n gap: 2px;\n border-radius: 0;\n border-top: none;\n border-left: none;\n border-right: none;\n border-bottom: 1px solid var(--mj-border-default);\n background: var(--mj-bg-surface);\n box-shadow: none;\n }\n\n /* Left-nav forms: dock flush as the right-side cap on the 44px mobile section rail */\n .mj-forms-toolbar-collapsed-pill.mj-forms-toolbar-collapsed-pill--rail {\n position: absolute;\n top: 0;\n right: 0;\n width: auto;\n height: 44px;\n padding: 0 8px;\n border-left: 1px solid var(--mj-border-default);\n box-shadow: -6px 0 10px -6px rgba(0, 0, 0, 0.08);\n }\n\n .mj-forms-collapsed-btn {\n height: 34px;\n min-height: 34px;\n padding: 0 10px;\n font-size: 12.5px;\n }\n\n .mj-forms-collapsed-btn--edit {\n padding: 0 11px;\n }\n\n .mj-forms-toolbar {\n padding: 8px 12px;\n gap: 6px;\n flex-wrap: wrap;\n overflow: visible;\n }\n\n .mj-forms-toolbar .mj-forms-btn {\n padding: 6px 10px;\n font-size: 12.5px;\n }\n\n .mj-forms-edit-banner {\n padding: 8px 12px;\n flex-direction: row;\n align-items: center;\n justify-content: space-between;\n gap: 8px;\n }\n\n /* Hide verbose record subtitle in mobile edit banner so Save/Discard fit on 1 row */\n .mj-forms-edit-banner-record-name,\n .mj-forms-dirty-chips {\n display: none;\n }\n\n /* Phone: More and View are bottom sheets. The sheet owns position, surface and\n scrolling; the menu keeps only its row layout. */\n .mj-forms-menu--sheet {\n position: static;\n min-width: 0;\n max-height: none;\n overflow: visible;\n padding: 0 var(--mj-space-2) var(--mj-space-3);\n background: transparent;\n border: 0;\n border-radius: 0;\n box-shadow: none;\n }\n\n .mj-forms-menu--sheet .mj-forms-menu-item,\n .mj-forms-menu--sheet .mj-form-variant-picker-row {\n min-height: 44px;\n }\n\n .mj-forms-menu--sheet .mj-section-search {\n max-width: none;\n width: 100%;\n }\n}\n\n"] }]
|
|
2809
|
+
args: [{ standalone: false, selector: 'mj-form-toolbar', changeDetection: ChangeDetectionStrategy.OnPush, template: "<!-- ============================================\n EDIT MODE BANNER (shows above toolbar when editing)\n ============================================ -->\n@if (EditMode && Config.ShowEditBanner) {\n <div class=\"mj-forms-edit-banner\">\n @if (DirtyFieldDisplayNames.length > 0) {\n <i class=\"fa-solid fa-circle-exclamation mj-forms-edit-banner-icon--dirty\"></i>\n <span class=\"mj-forms-edit-banner-dirty\">\n <strong>{{ DirtyFieldDisplayNames.length }}</strong>\n field{{ DirtyFieldDisplayNames.length === 1 ? '' : 's' }} modified\n <span class=\"mj-forms-dirty-chips\">— {{ DirtyFieldDisplayNames.join(', ') }}</span>\n </span>\n } @else {\n <i class=\"fa-solid fa-pen-to-square\"></i>\n <span class=\"mj-forms-edit-banner-text\">Editing<span class=\"mj-forms-edit-banner-record-name\">: {{ RecordDisplayName }}</span></span>\n }\n @if (EffectiveConflictCount > 0) {\n <span class=\"mj-forms-edit-banner-conflicts\" role=\"status\">\n <i class=\"fa-solid fa-triangle-exclamation\"></i>\n <span>{{ EffectiveConflictCount }} {{ EffectiveConflictCount === 1 ? 'conflict needs' : 'conflicts need' }} review</span>\n </span>\n }\n <div class=\"mj-forms-toolbar-spacer\"></div>\n <div class=\"mj-forms-edit-banner-actions\">\n @for (item of ResolvedEditBeforeSaveItems; track item.Key) {\n <button class=\"mj-forms-btn\"\n [class.mj-forms-btn--primary]=\"item.Variant === 'primary'\"\n [class.mj-forms-btn--secondary]=\"item.Variant === 'secondary'\"\n [class.mj-forms-btn--accent]=\"item.Variant === 'accent'\"\n [class.mj-forms-btn--danger]=\"item.Variant === 'danger'\"\n [class.mj-forms-btn--ghost]=\"item.Variant === 'ghost'\"\n [class]=\"item.CssClass\"\n [disabled]=\"item.Disabled || item.IsLoading || IsSaving\"\n [title]=\"item.Description\"\n (click)=\"OnToolbarItemClick(item, $event)\">\n @if (item.IsLoading) {\n <i class=\"fa-solid fa-spinner fa-spin\"></i>\n } @else if (item.Icon) {\n <i [class]=\"item.Icon\"></i>\n }\n @if (item.Text) {\n <span class=\"mj-forms-btn-text\">{{ item.Text }}</span>\n }\n @if (item.Badge != null) {\n <span class=\"mj-list-count-badge\">{{ item.Badge }}</span>\n }\n </button>\n }\n <button class=\"mj-forms-btn mj-forms-btn--primary\" (click)=\"OnSave()\" [disabled]=\"IsSaving\" title=\"Save Changes\">\n <i class=\"fa-solid fa-floppy-disk\"></i>\n <span class=\"mj-forms-btn-text\">Save Changes</span>\n </button>\n <button class=\"mj-forms-btn\" (click)=\"OnCancel()\" [disabled]=\"IsSaving\" title=\"Discard Changes\">\n <i class=\"fa-solid fa-rotate-left\"></i>\n <span class=\"mj-forms-btn-text\">Discard</span>\n </button>\n @for (item of ResolvedEditAfterSaveItems; track item.Key) {\n <button class=\"mj-forms-btn\"\n [class.mj-forms-btn--primary]=\"item.Variant === 'primary'\"\n [class.mj-forms-btn--secondary]=\"item.Variant === 'secondary'\"\n [class.mj-forms-btn--accent]=\"item.Variant === 'accent'\"\n [class.mj-forms-btn--danger]=\"item.Variant === 'danger'\"\n [class.mj-forms-btn--ghost]=\"item.Variant === 'ghost'\"\n [class]=\"item.CssClass\"\n [disabled]=\"item.Disabled || item.IsLoading || IsSaving\"\n [title]=\"item.Description\"\n (click)=\"OnToolbarItemClick(item, $event)\">\n @if (item.IsLoading) {\n <i class=\"fa-solid fa-spinner fa-spin\"></i>\n } @else if (item.Icon) {\n <i [class]=\"item.Icon\"></i>\n }\n @if (item.Text) {\n <span class=\"mj-forms-btn-text\">{{ item.Text }}</span>\n }\n @if (item.Badge != null) {\n <span class=\"mj-list-count-badge\">{{ item.Badge }}</span>\n }\n </button>\n }\n </div>\n </div>\n}\n\n<!-- ============================================\n MAIN TOOLBAR (read mode only \u2014 hidden in edit mode)\n Inline actions (Edit + custom items), the user's pinned actions,\n a More menu for everything else, and a View menu for section and\n layout controls. Pins are per user (UserInfoEngine); until a user\n chooses, the configured defaults (Favorite and History) are pinned.\n ============================================ -->\n@if (!EditMode) {\n @if (!IsToolbarExpanded) {\n <div class=\"mj-forms-toolbar-collapsed-pill\"\n [class.mj-forms-toolbar-collapsed-pill--rail]=\"ChromeLayout === 'left-nav'\"\n role=\"toolbar\"\n aria-label=\"Form actions\">\n @if (EditActionItem; as editItem) {\n <button type=\"button\"\n class=\"mj-forms-collapsed-btn mj-forms-collapsed-btn--edit\"\n [disabled]=\"editItem.Disabled || editItem.IsLoading\"\n [title]=\"editItem.Description\"\n (click)=\"OnToolbarItemClick(editItem, $event)\">\n <i class=\"fa-solid fa-pen\"></i>\n <span>Edit</span>\n </button>\n }\n <button type=\"button\"\n class=\"mj-forms-collapsed-btn mj-forms-collapsed-btn--expand\"\n (click)=\"ExpandToolbarForSession()\"\n aria-label=\"Show form toolbar\"\n title=\"Show toolbar actions and view options\">\n <i class=\"fa-solid fa-ellipsis\"></i>\n </button>\n </div>\n } @else {\n <div class=\"mj-forms-toolbar\" [class.mj-forms-toolbar--sticky]=\"Config.StickyToolbar\">\n\n <div class=\"mj-forms-toolbar-group\">\n @for (item of InlineActionItems; track item.Key) {\n <ng-container [ngTemplateOutlet]=\"actionButtonTpl\" [ngTemplateOutletContext]=\"{ item: item }\"></ng-container>\n }\n @for (item of PinnedActionItems; track item.Key) {\n <ng-container [ngTemplateOutlet]=\"actionButtonTpl\" [ngTemplateOutletContext]=\"{ item: item }\"></ng-container>\n }\n\n @if (ShowMoreMenu) {\n <div class=\"mj-forms-menu-host\" [class.open]=\"MoreMenuOpen\">\n <button class=\"mj-forms-btn mj-forms-menu-trigger\" type=\"button\" data-menu-trigger=\"more\"\n [attr.aria-expanded]=\"MoreMenuOpen\" [attr.aria-controls]=\"MenuIdPrefix + '-more'\"\n title=\"More actions\" (click)=\"ToggleMoreMenu()\">\n <i class=\"fa-solid fa-ellipsis\"></i>\n <span class=\"mj-forms-btn-text\">More</span>\n </button>\n @if (MoreMenuOpen && !IsAutoHideViewport) {\n <div class=\"mj-forms-menu mj-forms-menu--left\" [id]=\"MenuIdPrefix + '-more'\" role=\"group\" aria-label=\"More actions\">\n <ng-container [ngTemplateOutlet]=\"moreMenuContent\"></ng-container>\n </div>\n }\n @if (IsAutoHideViewport) {\n <!-- Phone: the same rows, as a bottom sheet. A dropdown hanging off a 32px button\n is the wrong container when the thumb is the pointer. -->\n <mj-bottom-sheet [Visible]=\"MoreMenuOpen\"\n (VisibleChange)=\"OnMenuSheetVisibleChange('more', $event)\"\n Title=\"More actions\">\n <div class=\"mj-forms-menu mj-forms-menu--sheet\" [id]=\"MenuIdPrefix + '-more'\" role=\"group\" aria-label=\"More actions\">\n <ng-container [ngTemplateOutlet]=\"moreMenuContent\"></ng-container>\n </div>\n </mj-bottom-sheet>\n }\n <ng-template #moreMenuContent>\n @for (item of MoreMenuItems; track item.Key) {\n <div class=\"mj-forms-menu-row\" [class.disabled]=\"item.Disabled\">\n <button class=\"mj-forms-menu-item\" type=\"button\"\n [class.mj-forms-btn--comments]=\"item.Key === 'comments'\"\n [class.mj-forms-btn--links]=\"item.Key === 'links'\"\n [class.mj-forms-btn--ask-ai]=\"item.Key === 'ask-ai'\"\n [class.mj-forms-toolbar__btn--active]=\"(item.Key === 'links' && LinksOpen) || (item.Key === 'comments' && CommentsOpen)\"\n [disabled]=\"item.Disabled || item.IsLoading\" [title]=\"item.Description\"\n (click)=\"OnMenuItemClick(item, $event)\">\n <span class=\"mj-forms-menu-icon\">\n @if (item.IsLoading) { <i class=\"fa-solid fa-spinner fa-spin\"></i> } @else if (item.Icon) { <i [class]=\"item.Icon\"></i> }\n </span>\n <span class=\"mj-forms-menu-label\">{{ item.MenuLabel }}</span>\n @if (item.Badge != null) { <span class=\"mj-forms-menu-badge\">{{ item.Badge }}</span> }\n </button>\n <!-- aria-disabled, not disabled: at the cap the button stays reachable, so its hint can be read. -->\n <button class=\"mj-forms-menu-pin\" type=\"button\"\n [class.pinned]=\"IsPinned(item.Key)\"\n [class.over-cap]=\"IsPinnedOverCap(item.Key)\"\n [attr.aria-disabled]=\"!IsPinned(item.Key) && !CanPinMore ? 'true' : null\"\n [attr.aria-pressed]=\"IsPinned(item.Key)\"\n [attr.aria-label]=\"'Pin ' + item.MenuLabel\"\n [title]=\"IsPinnedOverCap(item.Key) ? 'Pinned, but the toolbar is full (' + MaxPinnedActions + ' max): unpin another to show it, or click to unpin' : IsPinned(item.Key) ? 'Unpin from toolbar' : (CanPinMore ? 'Pin to toolbar' : 'Unpin another action first (' + MaxPinnedActions + ' max)')\"\n (click)=\"TogglePin(item.Key)\">\n <i class=\"fa-solid fa-thumbtack\"></i>\n </button>\n </div>\n }\n @if (DeleteMenuItem; as del) {\n @if (MoreMenuItems.length > 0) { <div class=\"mj-forms-menu-sep\"></div> }\n <button class=\"mj-forms-menu-item mj-forms-menu-item--danger\" type=\"button\"\n [disabled]=\"del.Disabled\" [title]=\"del.Description\" (click)=\"OnMenuItemClick(del, $event)\">\n <span class=\"mj-forms-menu-icon\"><i [class]=\"del.Icon\"></i></span>\n <span class=\"mj-forms-menu-label\">{{ del.MenuLabel }}</span>\n </button>\n }\n </ng-template>\n </div>\n }\n </div>\n\n <!-- Spacer pushes the View menu to the right -->\n <div class=\"mj-forms-toolbar-spacer\"></div>\n\n <!-- An active section filter stays visible after the View menu closes -->\n @if (SearchFilter && !ViewMenuOpen) {\n <span class=\"mj-forms-filter-chip\" title=\"Sections are filtered\">\n <i class=\"fa-solid fa-filter\"></i>\n <span class=\"mj-forms-filter-chip-text\">{{ SearchFilter }}</span>\n <button type=\"button\" class=\"mj-forms-filter-chip-clear\" (click)=\"OnClearFilter()\" aria-label=\"Clear section filter\" title=\"Clear section filter\">\n <i class=\"fa-solid fa-xmark\"></i>\n </button>\n </span>\n }\n\n <!--\n Right-placed registered items. They sit with the View menu rather than with the record\n actions: an item placed here acts on the form's chrome, not on the record. Items\n registered for the overflow group land here too \u2014 the More menu lists only `actions`\n items, and an item that renders nowhere is worse than one in the wrong group.\n -->\n @if (ResolvedRightItems.length > 0) {\n <div class=\"mj-forms-toolbar-group\">\n @for (item of ResolvedRightItems; track item.Key) {\n <button class=\"mj-forms-btn\"\n [class.mj-forms-btn--primary]=\"item.Variant === 'primary'\"\n [class.mj-forms-btn--secondary]=\"item.Variant === 'secondary'\"\n [class.mj-forms-btn--accent]=\"item.Variant === 'accent'\"\n [class.mj-forms-btn--danger]=\"item.Variant === 'danger'\"\n [class.mj-forms-btn--ghost]=\"item.Variant === 'ghost'\"\n [class]=\"item.CssClass\"\n [disabled]=\"item.Disabled || item.IsLoading\"\n [title]=\"item.Description\"\n (click)=\"OnToolbarItemClick(item, $event)\">\n @if (item.IsLoading) {\n <i class=\"fa-solid fa-spinner fa-spin\"></i>\n } @else if (item.Icon) {\n <i [class]=\"item.Icon\"></i>\n }\n @if (item.Text) {\n <span class=\"mj-forms-btn-text\">{{ item.Text }}</span>\n }\n @if (item.Badge != null) {\n <span class=\"mj-list-count-badge\">{{ item.Badge }}</span>\n }\n </button>\n }\n </div>\n }\n\n @if (ShowViewMenu) {\n <div class=\"mj-forms-menu-host\" [class.open]=\"ViewMenuOpen\">\n <button class=\"mj-forms-btn mj-forms-menu-trigger\" type=\"button\" data-menu-trigger=\"view\"\n [attr.aria-expanded]=\"ViewMenuOpen\" [attr.aria-controls]=\"MenuIdPrefix + '-view'\"\n [title]=\"CurrentVariantID ? 'Sections and layout (form: ' + CurrentVariantLabel + ')' : 'Sections and layout'\"\n (click)=\"ToggleViewMenu()\">\n <i class=\"fa-solid fa-sliders\"></i>\n <span class=\"mj-forms-btn-text\">View</span>\n <!-- A non-default form variant stays visible while the panel is closed. -->\n @if (CurrentVariantID) {\n <span class=\"mj-forms-variant-tag\">{{ CurrentVariantLabel }}</span>\n }\n </button>\n @if (ViewMenuOpen && !IsAutoHideViewport) {\n <div class=\"mj-forms-menu mj-forms-menu--right\" [id]=\"MenuIdPrefix + '-view'\" role=\"group\" aria-label=\"Sections and layout\">\n <ng-container [ngTemplateOutlet]=\"viewMenuContent\"></ng-container>\n </div>\n }\n @if (IsAutoHideViewport) {\n <mj-bottom-sheet [Visible]=\"ViewMenuOpen\"\n (VisibleChange)=\"OnMenuSheetVisibleChange('view', $event)\"\n Title=\"Sections and layout\">\n <div class=\"mj-forms-menu mj-forms-menu--sheet\" [id]=\"MenuIdPrefix + '-view'\" role=\"group\" aria-label=\"Sections and layout\">\n <ng-container [ngTemplateOutlet]=\"viewMenuContent\"></ng-container>\n </div>\n </mj-bottom-sheet>\n }\n <ng-template #viewMenuContent>\n @if (Config.ShowSectionControls) {\n @if (Config.ShowSectionFilter) {\n <div class=\"mj-forms-menu-search\">\n <input type=\"text\"\n class=\"mj-section-search\"\n [class.mj-section-search--active]=\"SearchFilter\"\n [value]=\"SearchFilter\"\n (input)=\"OnFilterInput($event)\"\n placeholder=\"Search sections...\"\n aria-label=\"Search sections\">\n @if (SearchFilter) {\n <button class=\"mj-clear-search\" type=\"button\" (click)=\"OnClearFilter()\" aria-label=\"Clear section search\" title=\"Clear search\">\n <i class=\"fa-solid fa-xmark\"></i>\n </button>\n }\n </div>\n }\n @if (ShowExpandCollapseAll || HasCustomSectionOrder || Config.ShowSectionManager) {\n <div class=\"mj-forms-menu-heading\">Sections</div>\n }\n @if (ShowExpandCollapseAll) {\n <button class=\"mj-forms-menu-item\" type=\"button\"\n [disabled]=\"ExpandedSectionCount >= VisibleSectionCount\" title=\"Expand all sections\" (click)=\"OnExpandAll()\">\n <span class=\"mj-forms-menu-icon\"><i class=\"fa-solid fa-angles-down\"></i></span>\n <span class=\"mj-forms-menu-label\">Expand all</span>\n </button>\n <button class=\"mj-forms-menu-item\" type=\"button\"\n [disabled]=\"ExpandedSectionCount === 0\" title=\"Collapse all sections\" (click)=\"OnCollapseAll()\">\n <span class=\"mj-forms-menu-icon\"><i class=\"fa-solid fa-angles-up\"></i></span>\n <span class=\"mj-forms-menu-label\">Collapse all</span>\n </button>\n }\n @if (Config.ShowSectionManager) {\n <button class=\"mj-forms-menu-item\" type=\"button\" (click)=\"OnReorderSectionsFromView()\">\n <span class=\"mj-forms-menu-icon\"><i class=\"fa-solid fa-bars-staggered\"></i></span>\n <span class=\"mj-forms-menu-label\">Reorder sections</span>\n </button>\n }\n @if (HasCustomSectionOrder) {\n <button class=\"mj-forms-menu-item\" type=\"button\" (click)=\"OnResetSectionOrder()\">\n <span class=\"mj-forms-menu-icon\"><i class=\"fa-solid fa-arrow-rotate-left\"></i></span>\n <span class=\"mj-forms-menu-label\">Reset section order</span>\n </button>\n }\n @if (Config.ShowWidthToggle) {\n <div class=\"mj-forms-menu-heading\">Layout</div>\n <button class=\"mj-forms-menu-item\" type=\"button\" (click)=\"OnToggleWidthMode()\">\n <span class=\"mj-forms-menu-icon\">\n <i [class]=\"WidthMode === 'centered' ? 'fa-solid fa-arrows-left-right-to-line' : 'fa-solid fa-compress'\"></i>\n </span>\n <span class=\"mj-forms-menu-label\">{{ WidthMode === 'centered' ? 'Use full width' : 'Center content' }}</span>\n </button>\n }\n }\n @if (ShowVariantPickerButton) {\n <div class=\"mj-forms-menu-heading\">Form</div>\n <button type=\"button\" class=\"mj-form-variant-picker-row mj-form-variant-picker-default\"\n [class.current]=\"!CurrentVariantID\" [attr.aria-pressed]=\"!CurrentVariantID\"\n (click)=\"OnVariantClick(null)\">\n <div class=\"mj-form-variant-picker-row-main\">\n <span class=\"mj-form-variant-picker-row-title\">\n Default form <span class=\"mj-form-variant-picker-default-tag\">(default)</span>\n </span>\n <span class=\"mj-form-variant-picker-row-sub\">CodeGen-generated Angular fallback</span>\n </div>\n @if (!CurrentVariantID) {\n <i class=\"fa-solid fa-check mj-form-variant-picker-check\"></i>\n }\n </button>\n @for (v of Variants; track v.ID) {\n <button type=\"button\" class=\"mj-form-variant-picker-row\"\n [class.current]=\"v.ID === CurrentVariantID\" [attr.aria-pressed]=\"v.ID === CurrentVariantID\"\n [class.inactive]=\"v.Status !== 'Active'\"\n (click)=\"OnVariantClick(v.ID)\">\n <div class=\"mj-form-variant-picker-row-main\">\n <span class=\"mj-form-variant-picker-row-title\">{{ v.Label }}</span>\n <span class=\"mj-form-variant-picker-row-sub\">{{ VariantSubtitle(v) }}</span>\n </div>\n @if (v.ID === CurrentVariantID) {\n <i class=\"fa-solid fa-check mj-form-variant-picker-check\"></i>\n }\n </button>\n }\n }\n @if (IsAutoHideViewport && FormModeSwitch) {\n <div class=\"mj-forms-menu-heading\">Form</div>\n <button class=\"mj-forms-menu-item\" type=\"button\" (click)=\"OnFormModeSwitchClick()\">\n <span class=\"mj-forms-menu-icon\">\n <i class=\"fa-solid\" [class.fa-table-list]=\"FormModeSwitch.Mode === 'default'\" [class.fa-wand-magic-sparkles]=\"FormModeSwitch.Mode === 'standard'\"></i>\n </span>\n <span class=\"mj-forms-menu-label\">{{ FormModeSwitch.Mode === 'standard' ? 'Back to custom view' : 'Open standard form' }}</span>\n </button>\n }\n @if (IsAutoHideViewport) {\n <div class=\"mj-forms-menu-heading\">Toolbar</div>\n @if (CurrentEntityName) {\n <button class=\"mj-forms-menu-item\" type=\"button\"\n data-toolbar-pin=\"entity\"\n [attr.aria-pressed]=\"IsToolbarPinnedOpen\"\n (click)=\"ToggleEntityToolbarPin()\">\n <span class=\"mj-forms-menu-icon\"><i class=\"fa-solid fa-thumbtack\"></i></span>\n <span class=\"mj-forms-menu-label\">{{ IsToolbarPinnedOpen ? 'Unpin toolbar for ' + CurrentEntityDisplayName : 'Pin toolbar for ' + CurrentEntityDisplayName }}</span>\n @if (EntityToolbarPinState !== undefined) {\n <span class=\"mj-forms-menu-badge\">{{ EntityToolbarPinState ? 'Pinned' : 'Auto-hide' }}</span>\n }\n </button>\n }\n <button class=\"mj-forms-menu-item\" type=\"button\"\n data-toolbar-pin=\"global\"\n [attr.aria-pressed]=\"IsGlobalToolbarPinned\"\n (click)=\"ToggleGlobalToolbarPin()\">\n <span class=\"mj-forms-menu-icon\"><i class=\"fa-solid fa-globe\"></i></span>\n <span class=\"mj-forms-menu-label\">{{ IsGlobalToolbarPinned ? 'Unpin toolbar on all forms' : 'Pin toolbar on all forms' }}</span>\n @if (IsGlobalToolbarPinned) {\n <span class=\"mj-forms-menu-badge\">Pinned</span>\n }\n </button>\n <button class=\"mj-forms-menu-item\" type=\"button\"\n data-toolbar-collapse=\"menu\"\n (click)=\"CollapseToolbarForSession()\">\n <span class=\"mj-forms-menu-icon\"><i class=\"fa-solid fa-eye-slash\"></i></span>\n <span class=\"mj-forms-menu-label\">Hide toolbar now</span>\n </button>\n }\n </ng-template>\n </div>\n }\n\n <!-- Additional actions slot -->\n @if (AdditionalActionsTemplate) {\n <ng-container [ngTemplateOutlet]=\"AdditionalActionsTemplate\"></ng-container>\n }\n <ng-content select=\"[toolbar-additional-controls]\"></ng-content>\n\n @if (IsAutoHideViewport) {\n <button class=\"mj-forms-btn mj-forms-btn--icon-only mj-forms-toolbar-collapse-btn\"\n type=\"button\"\n aria-label=\"Hide form toolbar\"\n title=\"Hide toolbar\"\n (click)=\"CollapseToolbarForSession()\">\n <i class=\"fa-solid fa-chevron-up\"></i>\n </button>\n }\n </div>\n }\n\n <!-- IS-A Entity Hierarchy Breadcrumb: its own row, only for entities in a hierarchy -->\n @if (Config.ShowEntityHierarchy && IsInHierarchy) {\n <div class=\"mj-forms-hierarchy-row\">\n <div class=\"mj-entity-hierarchy\">\n @for (parent of ParentChain; track parent.ID) {\n <button type=\"button\" class=\"mj-entity-badge mj-entity-badge--parent\"\n [title]=\"'Navigate to parent: ' + parent.Name\"\n (click)=\"OnParentBadgeClick(parent, $event)\">\n <i class=\"fa-solid fa-arrow-up\"></i>\n {{ parent.Name }}\n </button>\n <span class=\"mj-hierarchy-arrow\"><i class=\"fa-solid fa-chevron-right\"></i></span>\n }\n <span class=\"mj-entity-badge mj-entity-badge--current\">{{ EntityInfo?.Name }}</span>\n @if (DescendantTree.length > 0) {\n <ng-container [ngTemplateOutlet]=\"descendantTreeTpl\"\n [ngTemplateOutletContext]=\"{ items: DescendantTree }\"></ng-container>\n }\n </div>\n </div>\n }\n}\n\n<!-- One read-mode action button (inline or pinned) -->\n<ng-template #actionButtonTpl let-item=\"item\">\n <button class=\"mj-forms-btn\"\n [class.mj-forms-btn--primary]=\"item.Variant === 'primary'\"\n [class.mj-forms-btn--secondary]=\"item.Variant === 'secondary'\"\n [class.mj-forms-btn--accent]=\"item.Variant === 'accent'\"\n [class.mj-forms-btn--danger]=\"item.Variant === 'danger'\"\n [class.mj-forms-btn--ghost]=\"item.Variant === 'ghost'\"\n [class.mj-forms-btn--history]=\"item.Key === 'history'\"\n [class.mj-forms-btn--list]=\"item.Key === 'list'\"\n [class.mj-forms-btn--tags]=\"item.Key === 'tags'\"\n [class.mj-forms-btn--comments]=\"item.Key === 'comments'\"\n [class.mj-forms-btn--links]=\"item.Key === 'links'\"\n [class.mj-forms-btn--ask-ai]=\"item.Key === 'ask-ai'\"\n [class.mj-forms-toolbar__btn--active]=\"(item.Key === 'links' && LinksOpen) || (item.Key === 'comments' && CommentsOpen)\"\n [class.mj-forms-btn--attachments]=\"item.Key === 'attachments'\"\n [class]=\"item.CssClass\"\n [disabled]=\"item.Disabled || item.IsLoading\"\n [title]=\"item.Description\"\n [attr.aria-label]=\"item.Text ? null : (item.Description || item.MenuLabel)\"\n (click)=\"OnToolbarItemClick(item, $event)\">\n @if (item.IsLoading) {\n <i class=\"fa-solid fa-spinner fa-spin\"></i>\n } @else if (item.Icon) {\n <i [class]=\"item.Icon\"></i>\n }\n @if (item.Text) {\n <span class=\"mj-forms-btn-text\">{{ item.Text }}</span>\n }\n @if (item.Badge != null) {\n <span [class]=\"item.Key === 'history' ? 'mj-version-count-badge' : 'mj-list-count-badge'\">{{ item.Badge }}</span>\n }\n </button>\n</ng-template>\n\n<!-- ============================================\n RECORD CLONE SLIDE-IN (ng-record-clone)\n Created only when the Clone action is available; navigation it\n requests leaves through this toolbar's Navigate output.\n ============================================ -->\n@if (ShowCloneAction) {\n <mj-record-clone-slide-in\n [Provider]=\"Provider\"\n [Record]=\"Record\"\n [Visible]=\"IsClonePanelOpen\"\n (VisibleChange)=\"OnClonePanelVisibleChange($event)\"\n (CloneCompleted)=\"OnCloneCompleted($event)\"\n (NavigateToRecord)=\"OnCloneNavigate($event)\">\n </mj-record-clone-slide-in>\n}\n\n<!-- ============================================\n DISCARD / DELETE CONFIRMATIONS\n The shared mj-confirm-dialog: an alert dialog, so on phones it opens as a bottom sheet with\n full-width 44px actions. Backdrop, Esc and the close button cancel, as before.\n ============================================ -->\n<mj-confirm-dialog\n [Visible]=\"ShowDiscardDialog\"\n Title=\"Discard Changes?\"\n Type=\"danger\"\n [Message]=\"DiscardMessage\"\n ConfirmText=\"Discard Changes\"\n CancelText=\"Keep Editing\"\n (Confirmed)=\"OnDiscardConfirm()\"\n (Cancelled)=\"OnDiscardCancel()\">\n</mj-confirm-dialog>\n\n<mj-confirm-dialog\n [Visible]=\"ShowDeleteDialog\"\n Title=\"Confirm Deletion\"\n Type=\"danger\"\n Message=\"Are you sure you want to delete this record? This action cannot be undone.\"\n ConfirmText=\"Delete\"\n CancelText=\"Cancel\"\n (Confirmed)=\"OnDeleteConfirm()\"\n (Cancelled)=\"OnDeleteCancel()\">\n</mj-confirm-dialog>\n\n<!-- Recursive template for IS-A descendant tree rendering.\n Single child at a level \u2192 inline with chevron.\n Multiple children at a level \u2192 tree branch with CSS connector lines. -->\n<ng-template #descendantTreeTpl let-items=\"items\">\n @if (items.length === 1) {\n <span class=\"mj-hierarchy-arrow\"><i class=\"fa-solid fa-chevron-right\"></i></span>\n <button type=\"button\" class=\"mj-entity-badge mj-entity-badge--child\"\n [title]=\"'Navigate to: ' + items[0].EntityName\"\n (click)=\"OnDescendantBadgeClick(items[0].EntityName, $event)\">\n <i class=\"fa-solid fa-arrow-down\"></i>\n {{ items[0].EntityName }}\n </button>\n @if (items[0].Children.length > 0) {\n <ng-container [ngTemplateOutlet]=\"descendantTreeTpl\"\n [ngTemplateOutletContext]=\"{ items: items[0].Children }\"></ng-container>\n }\n } @else if (items.length > 1) {\n <div class=\"mj-descendant-chains\">\n @for (item of items; track item.EntityName) {\n <div class=\"mj-descendant-chain\">\n <button type=\"button\" class=\"mj-entity-badge mj-entity-badge--child\"\n [title]=\"'Navigate to: ' + item.EntityName\"\n (click)=\"OnDescendantBadgeClick(item.EntityName, $event)\">\n <i class=\"fa-solid fa-arrow-down\"></i>\n {{ item.EntityName }}\n </button>\n @if (item.Children.length > 0) {\n <ng-container [ngTemplateOutlet]=\"descendantTreeTpl\"\n [ngTemplateOutletContext]=\"{ items: item.Children }\"></ng-container>\n }\n </div>\n }\n </div>\n }\n</ng-template>\n", styles: ["/* ============================================\n FORM TOOLBAR \u2014 uses global --mj-* design tokens\n ============================================ */\n:host {\n display: block;\n}\n\n/* ============================================\n EDIT BANNER\n ============================================ */\n.mj-forms-edit-banner {\n display: flex;\n align-items: center;\n gap: 10px;\n padding: 16px 16px;\n background: color-mix(in srgb, var(--mj-brand-primary) 10%, var(--mj-bg-surface));\n border-bottom: 2px solid var(--mj-brand-primary);\n font-size: 13px;\n color: var(--mj-brand-primary);\n font-weight: var(--mj-font-medium);\n}\n\n.mj-forms-edit-banner > i {\n font-size: var(--mj-text-sm);\n}\n\n.mj-forms-edit-banner-icon--dirty {\n color: var(--mj-status-warning);\n font-size: var(--mj-text-base);\n}\n\n.mj-forms-edit-banner-text {\n font-size: var(--mj-text-sm);\n}\n\n.mj-forms-edit-banner-dirty {\n font-size: var(--mj-text-sm);\n color: var(--mj-text-primary);\n}\n\n.mj-forms-edit-banner-dirty strong {\n color: var(--mj-status-warning);\n font-weight: var(--mj-font-bold);\n}\n\n.mj-forms-edit-banner-actions {\n display: flex;\n gap: 8px;\n}\n\n/* ============================================\n MAIN TOOLBAR\n ============================================ */\n.mj-forms-toolbar {\n position: relative;\n display: flex;\n align-items: center;\n gap: 8px;\n padding: 22px 16px;\n background: var(--mj-bg-surface-card);\n border-bottom: 2px solid var(--mj-border-default);\n flex-wrap: wrap;\n z-index: 40;\n}\n\n.mj-forms-toolbar--sticky {\n position: sticky;\n top: 0;\n}\n\n.mj-forms-toolbar--disabled {\n pointer-events: none;\n opacity: 0.7;\n}\n\n.mj-forms-toolbar-group {\n display: flex;\n align-items: center;\n gap: 6px;\n}\n\n.mj-forms-toolbar-separator {\n width: 1px;\n height: 24px;\n background: var(--mj-border-default);\n margin: 0 4px;\n}\n\n.mj-forms-toolbar-spacer {\n flex: 1;\n}\n\n/* ============================================\n BUTTONS\n ============================================ */\n.mj-forms-btn {\n position: relative;\n display: inline-flex;\n align-items: center;\n gap: 6px;\n padding: 8px 16px;\n font-size: 13px;\n font-weight: var(--mj-font-medium);\n border: 1px solid var(--mj-border-default);\n background: var(--mj-bg-surface);\n color: var(--mj-text-primary);\n border-radius: var(--mj-radius-sm);\n cursor: pointer;\n transition: all var(--mj-transition-base) ease;\n white-space: nowrap;\n font-family: inherit;\n line-height: 1;\n}\n\n.mj-forms-btn:hover {\n background: var(--mj-bg-surface-hover);\n border-color: var(--mj-border-strong);\n box-shadow: var(--mj-shadow-sm);\n}\n\n.mj-forms-btn:active {\n transform: translateY(0);\n box-shadow: none;\n}\n\n.mj-forms-btn:disabled {\n opacity: 0.5;\n cursor: not-allowed;\n}\n\n.mj-forms-btn i {\n font-size: 15px;\n line-height: 1;\n}\n\n.mj-forms-btn--primary {\n background: var(--mj-brand-primary);\n color: var(--mj-text-inverse);\n border-color: var(--mj-brand-primary);\n}\n\n.mj-forms-btn--primary:hover {\n background: var(--mj-brand-primary-hover);\n border-color: var(--mj-brand-primary-hover);\n box-shadow: 0 2px 8px color-mix(in srgb, var(--mj-brand-primary) 30%, transparent);\n}\n\n.mj-forms-btn--secondary {\n background: color-mix(in srgb, var(--mj-brand-primary) 10%, var(--mj-bg-surface));\n color: var(--mj-brand-primary);\n border-color: color-mix(in srgb, var(--mj-brand-primary) 30%, var(--mj-border-default));\n}\n\n.mj-forms-btn--secondary:hover {\n background: color-mix(in srgb, var(--mj-brand-primary) 18%, var(--mj-bg-surface));\n border-color: var(--mj-brand-primary);\n}\n\n.mj-forms-btn--accent {\n background: var(--mj-brand-accent, #6366f1);\n color: var(--mj-text-inverse, #ffffff);\n border-color: var(--mj-brand-accent, #6366f1);\n}\n\n.mj-forms-btn--accent:hover {\n filter: brightness(1.1);\n box-shadow: 0 2px 8px color-mix(in srgb, var(--mj-brand-accent, #6366f1) 30%, transparent);\n}\n\n.mj-forms-btn--danger {\n color: var(--mj-status-error);\n border-color: color-mix(in srgb, var(--mj-status-error) 30%, transparent);\n background: color-mix(in srgb, var(--mj-status-error) 5%, var(--mj-bg-surface));\n}\n\n.mj-forms-btn--danger:hover {\n background: color-mix(in srgb, var(--mj-status-error) 10%, var(--mj-bg-surface));\n border-color: var(--mj-status-error);\n}\n\n.mj-forms-btn--ghost {\n border-color: transparent;\n background: transparent;\n}\n\n.mj-forms-btn--ghost:hover {\n background: color-mix(in srgb, var(--mj-brand-primary) 8%, transparent);\n border-color: transparent;\n}\n\n.mj-forms-btn--icon-only {\n padding: 7px 9px;\n}\n\n.mj-forms-btn--sm {\n padding: 5px 12px;\n font-size: var(--mj-text-xs);\n}\n\n.mj-forms-btn--sm i {\n font-size: var(--mj-text-xs);\n}\n\n.mj-forms-btn-text {\n margin-left: 2px;\n}\n\n.mj-icon--favorite {\n color: var(--mj-status-warning);\n}\n\n/* List button with count badge */\n.mj-forms-btn--list {\n position: relative;\n}\n\n/* History button with version badge */\n.mj-forms-btn--history {\n position: relative;\n}\n\n.mj-version-count-badge {\n position: absolute;\n top: -6px;\n right: -10px;\n padding: 0 5px;\n font-size: 10px;\n font-weight: var(--mj-font-bold);\n color: var(--mj-text-inverse);\n background: linear-gradient(135deg, var(--mj-status-success) 0%, color-mix(in srgb, var(--mj-status-success) 85%, black) 100%);\n border-radius: var(--mj-radius-full);\n display: flex;\n align-items: center;\n justify-content: center;\n height: 16px;\n border: 2px solid var(--mj-bg-surface-card);\n white-space: nowrap;\n line-height: 1;\n}\n\n.mj-list-count-badge {\n position: absolute;\n top: -6px;\n right: -6px;\n min-width: 16px;\n height: 16px;\n padding: 0 4px;\n font-size: 10px;\n font-weight: var(--mj-font-bold);\n color: var(--mj-text-inverse);\n background: linear-gradient(135deg, var(--mj-status-info) 0%, color-mix(in srgb, var(--mj-status-info) 85%, black) 100%);\n border-radius: var(--mj-radius-full);\n display: flex;\n align-items: center;\n justify-content: center;\n border: 2px solid var(--mj-bg-surface-card);\n}\n\n/* ============================================\n IS-A ENTITY HIERARCHY\n ============================================ */\n.mj-entity-hierarchy {\n display: flex;\n align-items: center;\n gap: 4px;\n}\n\n.mj-entity-badge {\n /* A button now (keyboard-reachable); keep the badge look. */\n font-family: inherit;\n line-height: inherit;\n display: inline-flex;\n align-items: center;\n gap: 5px;\n padding: 4px 10px;\n font-size: var(--mj-text-xs);\n font-weight: var(--mj-font-semibold);\n border-radius: var(--mj-radius-sm);\n cursor: pointer;\n transition: all var(--mj-transition-base) ease;\n text-decoration: none;\n border: 1px solid transparent;\n}\n\n.mj-entity-badge i {\n font-size: 11px;\n}\n\n.mj-entity-badge--parent {\n background: color-mix(in srgb, var(--mj-brand-accent) 10%, var(--mj-bg-surface));\n color: var(--mj-brand-accent);\n border-color: color-mix(in srgb, var(--mj-brand-accent) 25%, transparent);\n}\n\n.mj-entity-badge--parent:hover {\n background: color-mix(in srgb, var(--mj-brand-accent) 18%, var(--mj-bg-surface));\n border-color: var(--mj-brand-accent);\n box-shadow: 0 2px 6px color-mix(in srgb, var(--mj-brand-accent) 15%, transparent);\n}\n\n.mj-entity-badge--current {\n font-weight: var(--mj-font-semibold);\n font-size: 13px;\n color: var(--mj-text-primary);\n padding: 4px 8px;\n background: var(--mj-bg-surface-hover);\n border-radius: var(--mj-radius-sm);\n cursor: default;\n}\n\n.mj-entity-badge--child {\n background: color-mix(in srgb, var(--mj-status-info) 10%, var(--mj-bg-surface));\n color: var(--mj-status-info);\n border-color: color-mix(in srgb, var(--mj-status-info) 25%, transparent);\n}\n\n.mj-entity-badge--child:hover {\n background: color-mix(in srgb, var(--mj-status-info) 18%, var(--mj-bg-surface));\n border-color: var(--mj-status-info);\n box-shadow: 0 2px 6px color-mix(in srgb, var(--mj-status-info) 15%, transparent);\n}\n\n.mj-entity-badge--overlapping {\n background: color-mix(in srgb, var(--mj-status-warning) 10%, var(--mj-bg-surface));\n color: color-mix(in srgb, var(--mj-status-warning) 85%, black);\n border-color: color-mix(in srgb, var(--mj-status-warning) 40%, transparent);\n}\n\n.mj-entity-badge--overlapping:hover {\n background: color-mix(in srgb, var(--mj-status-warning) 18%, var(--mj-bg-surface));\n border-color: color-mix(in srgb, var(--mj-status-warning) 85%, black);\n box-shadow: 0 2px 6px color-mix(in srgb, var(--mj-status-warning) 15%, transparent);\n}\n\n.mj-entity-badge-group {\n display: inline-flex;\n align-items: center;\n gap: 4px;\n flex-wrap: wrap;\n}\n\n.mj-child-count {\n background: var(--mj-status-info);\n color: var(--mj-text-inverse);\n font-size: 10px;\n padding: 1px 5px;\n border-radius: var(--mj-radius-full);\n font-weight: var(--mj-font-bold);\n}\n\n.mj-entity-badge--leaf {\n border-style: dashed;\n}\n\n.mj-entity-badge--root {\n border-style: dashed;\n}\n\n.mj-hierarchy-arrow {\n color: var(--mj-text-muted);\n font-size: 10px;\n}\n\n/* Descendant chain tree (connecting lines when multiple chains branch) */\n.mj-descendant-chains {\n display: flex;\n flex-direction: column;\n gap: 6px;\n position: relative;\n padding-left: 20px;\n}\n\n/* Horizontal connector from parent entity badge to tree trunk */\n.mj-descendant-chains::before {\n content: '';\n position: absolute;\n left: -4px;\n top: 50%;\n width: 4px;\n border-top: 1.5px solid var(--mj-text-muted);\n}\n\n.mj-descendant-chain {\n display: inline-flex;\n align-items: center;\n gap: 4px;\n position: relative;\n padding: 2px 0;\n}\n\n/* Horizontal branch line from trunk to chain content */\n.mj-descendant-chain::before {\n content: '';\n position: absolute;\n left: -20px;\n top: 50%;\n width: 18px;\n border-top: 1.5px solid var(--mj-text-muted);\n}\n\n/* Vertical trunk segment (each chain draws its portion) */\n.mj-descendant-chain::after {\n content: '';\n position: absolute;\n left: -20px;\n top: 0;\n bottom: 0;\n border-left: 1.5px solid var(--mj-text-muted);\n}\n\n/* First chain: trunk starts from center */\n.mj-descendant-chain:first-child::after {\n top: 50%;\n}\n\n/* Last chain: trunk ends at center */\n.mj-descendant-chain:last-child::after {\n bottom: 50%;\n}\n\n/* (dirty summary removed \u2014 now inline in edit banner) */\n\n/* ============================================\n SECTION CONTROLS\n ============================================ */\n.mj-section-controls {\n gap: 6px;\n}\n\n.mj-forms-search-wrapper {\n position: relative;\n display: inline-flex;\n align-items: center;\n}\n\n.mj-section-search {\n max-width: 180px;\n font-size: 13px;\n padding: 6px 28px 6px 8px;\n border: 1px solid var(--mj-border-default);\n border-radius: var(--mj-radius-sm);\n background: var(--mj-bg-surface);\n outline: none;\n font-family: inherit;\n transition: all var(--mj-transition-base);\n}\n\n.mj-section-search:focus {\n border-color: var(--mj-brand-primary);\n box-shadow: 0 0 0 2px color-mix(in srgb, var(--mj-brand-primary) 10%, transparent);\n}\n\n/* Active filter highlight \u2014 matches the yellow used on matched panel/field names */\n.mj-section-search--active {\n background-color: color-mix(in srgb, var(--mj-status-warning) 40%, var(--mj-bg-surface));\n border-color: var(--mj-status-warning);\n color: color-mix(in srgb, var(--mj-status-warning) 80%, black);\n font-weight: var(--mj-font-semibold);\n box-shadow: 0 0 0 2px color-mix(in srgb, var(--mj-status-warning) 25%, transparent);\n}\n\n.mj-section-search::placeholder {\n color: var(--mj-text-muted);\n font-style: italic;\n}\n\n.mj-clear-search {\n position: absolute;\n right: 4px;\n padding: 4px;\n background: none;\n border: none;\n color: var(--mj-text-muted);\n cursor: pointer;\n font-size: var(--mj-text-xs);\n line-height: 1;\n}\n\n.mj-clear-search:hover {\n color: var(--mj-text-secondary);\n}\n\n/* ============================================================ */\n/* FORM-VARIANT PICKER (toolbar-embedded; right-side) */\n/* ============================================================ */\n\n.mj-form-variant-picker-host {\n position: relative;\n display: inline-flex;\n}\n\n.mj-form-variant-picker-trigger {\n display: inline-flex;\n align-items: center;\n gap: 6px;\n max-width: 240px;\n}\n\n.mj-form-variant-picker-trigger .chev {\n font-size: 10px;\n opacity: 0.7;\n}\n\n.mj-form-variant-picker-current-label {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n max-width: 160px;\n font-size: 12px;\n font-weight: 500;\n}\n\n.mj-form-variant-picker-host.open .mj-form-variant-picker-trigger {\n background: var(--mj-bg-surface-hover);\n border-color: var(--mj-border-focus);\n}\n\n.mj-form-variant-picker-menu {\n position: absolute;\n top: calc(100% + 4px);\n right: 0;\n z-index: 50;\n min-width: 280px;\n max-height: 360px;\n overflow-y: auto;\n background: var(--mj-bg-surface-elevated);\n border: 1px solid var(--mj-border-default);\n border-radius: 6px;\n box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);\n padding: 4px 0;\n}\n\n.mj-form-variant-picker-row {\n display: flex;\n align-items: flex-start;\n gap: 8px;\n width: 100%;\n padding: 8px 12px;\n border: 0;\n background: none;\n font: inherit;\n text-align: left;\n cursor: pointer;\n color: var(--mj-text-primary);\n font-size: 13px;\n transition: background 120ms;\n}\n\n.mj-form-variant-picker-row:hover {\n background: var(--mj-bg-surface-hover);\n}\n\n.mj-form-variant-picker-row:focus-visible {\n outline: none;\n box-shadow: var(--mj-focus-ring);\n}\n\n.mj-form-variant-picker-row.current {\n background: color-mix(in srgb, var(--mj-brand-primary) 10%, transparent);\n}\n\n.mj-form-variant-picker-row.inactive {\n opacity: 0.6;\n}\n\n.mj-form-variant-picker-row-main {\n flex: 1;\n display: flex;\n flex-direction: column;\n gap: 2px;\n}\n\n.mj-form-variant-picker-row-title {\n font-weight: 600;\n}\n\n.mj-form-variant-picker-row-sub {\n font-size: 11px;\n color: var(--mj-text-muted);\n}\n\n.mj-form-variant-picker-default-tag {\n font-size: 10px;\n font-weight: 500;\n color: var(--mj-text-muted);\n margin-left: 4px;\n}\n\n.mj-form-variant-picker-default {\n border-bottom: 1px solid var(--mj-border-subtle);\n}\n\n.mj-form-variant-picker-check {\n color: var(--mj-brand-primary);\n font-size: 12px;\n margin-top: 2px;\n}\n\n/* ============================================\n MORE / VIEW MENUS\n ============================================ */\n.mj-forms-menu-host {\n position: relative;\n display: inline-flex;\n}\n\n.mj-forms-menu-host.open .mj-forms-menu-trigger {\n background: var(--mj-bg-surface-hover);\n border-color: var(--mj-border-focus);\n}\n\n.mj-forms-menu {\n position: absolute;\n top: calc(100% + 4px);\n z-index: 50;\n min-width: 260px;\n max-height: 420px;\n overflow-y: auto;\n display: flex;\n flex-direction: column;\n background: var(--mj-bg-surface-elevated);\n border: 1px solid var(--mj-border-default);\n border-radius: var(--mj-radius-md);\n box-shadow: var(--mj-shadow-lg);\n padding: var(--mj-space-1);\n}\n\n.mj-forms-menu--left { left: 0; }\n.mj-forms-menu--right { right: 0; }\n\n.mj-forms-menu-heading {\n padding: var(--mj-space-2) var(--mj-space-2) var(--mj-space-1);\n font-size: 11px;\n font-weight: 600;\n letter-spacing: 0.08em;\n text-transform: uppercase;\n color: var(--mj-text-muted);\n}\n\n.mj-forms-menu-row {\n display: flex;\n align-items: center;\n gap: var(--mj-space-1);\n}\n\n.mj-forms-menu-item {\n flex: 1;\n display: flex;\n align-items: center;\n gap: var(--mj-space-2);\n width: 100%;\n padding: 6px var(--mj-space-2);\n border: 0;\n border-radius: var(--mj-radius-sm);\n background: transparent;\n color: var(--mj-text-primary);\n font: inherit;\n font-size: 13px;\n text-align: left;\n cursor: pointer;\n}\n\n.mj-forms-menu-item:hover:not(:disabled),\n.mj-forms-menu-item:focus-visible {\n background: var(--mj-bg-surface-hover);\n outline: none;\n}\n\n.mj-forms-menu-item:disabled {\n opacity: 0.5;\n cursor: default;\n}\n\n.mj-forms-menu-item--danger,\n.mj-forms-menu-item--danger .mj-forms-menu-icon {\n color: var(--mj-status-error);\n}\n\n.mj-forms-menu-icon {\n width: 18px;\n text-align: center;\n color: var(--mj-text-secondary);\n}\n\n.mj-forms-menu-label {\n flex: 1;\n}\n\n.mj-forms-menu-badge {\n font-size: 11px;\n font-weight: 600;\n padding: 0 6px;\n border-radius: 9px;\n background: var(--mj-bg-surface-active);\n color: var(--mj-text-primary);\n}\n\n.mj-forms-menu-pin {\n width: 26px;\n height: 26px;\n display: grid;\n place-items: center;\n border: 0;\n border-radius: var(--mj-radius-sm);\n background: transparent;\n color: var(--mj-text-muted);\n cursor: pointer;\n}\n\n.mj-forms-menu-pin:hover:not(:disabled),\n.mj-forms-menu-pin:focus-visible {\n background: var(--mj-bg-surface-active);\n color: var(--mj-text-primary);\n outline: none;\n}\n\n.mj-forms-menu-pin.pinned {\n color: var(--mj-brand-primary);\n}\n\n/* Pinned, but past the cap on this form: dashed, so it reads as waiting for a free slot. */\n.mj-forms-menu-pin.pinned.over-cap {\n outline: 1px dashed var(--mj-brand-primary);\n outline-offset: -3px;\n}\n\n.mj-forms-menu-pin:disabled,\n.mj-forms-menu-pin[aria-disabled=\"true\"] {\n opacity: 0.35;\n cursor: default;\n}\n\n/* Keyboard focus is a ring, not just the hover tint, on every panel control. */\n.mj-forms-menu-item:focus-visible,\n.mj-forms-menu-pin:focus-visible,\n.mj-forms-filter-chip-clear:focus-visible,\n.mj-entity-badge:focus-visible {\n box-shadow: var(--mj-focus-ring);\n}\n\n/* The active form variant, on the View button, when it isn't the default form. */\n.mj-forms-variant-tag {\n max-width: 12rem;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n padding: 0 6px;\n border-radius: var(--mj-radius-sm);\n background: var(--mj-bg-surface-active);\n color: var(--mj-text-secondary);\n font-size: var(--mj-text-xs);\n}\n\n.mj-forms-menu-sep {\n height: 1px;\n margin: var(--mj-space-1) var(--mj-space-1);\n background: var(--mj-border-default);\n}\n\n.mj-forms-menu-search {\n position: relative;\n display: flex;\n padding: var(--mj-space-1);\n}\n\n.mj-forms-menu-search .mj-section-search {\n flex: 1;\n width: auto;\n max-width: none;\n}\n\n/* IS-A hierarchy breadcrumb row below the toolbar */\n.mj-forms-hierarchy-row {\n display: flex;\n align-items: center;\n padding: var(--mj-space-2) 16px;\n background: var(--mj-bg-surface-card);\n border-bottom: 1px solid var(--mj-border-default);\n overflow-x: auto;\n}\n\n.mj-forms-filter-chip {\n display: inline-flex;\n align-items: center;\n gap: var(--mj-space-1);\n max-width: 220px;\n padding: 2px 4px 2px 10px;\n border: 1px solid var(--mj-border-focus);\n border-radius: var(--mj-radius-full);\n background: color-mix(in srgb, var(--mj-brand-primary) 10%, var(--mj-bg-surface));\n color: var(--mj-text-primary);\n font-size: 12px;\n}\n\n.mj-forms-filter-chip-text {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\n.mj-forms-filter-chip-clear {\n display: grid;\n place-items: center;\n width: 20px;\n height: 20px;\n border: 0;\n border-radius: var(--mj-radius-full);\n background: transparent;\n color: var(--mj-text-secondary);\n cursor: pointer;\n}\n\n.mj-forms-filter-chip-clear:hover,\n.mj-forms-filter-chip-clear:focus-visible {\n background: var(--mj-bg-surface-active);\n color: var(--mj-text-primary);\n outline: none;\n}\n\n.mj-forms-toolbar__btn--active {\n background: color-mix(in srgb, var(--mj-brand-primary, #3b82f6) 14%, transparent);\n color: var(--mj-brand-primary, #3b82f6);\n border-color: var(--mj-brand-primary, #3b82f6);\n}\n\n.mj-forms-edit-banner-conflicts {\n display: inline-flex;\n align-items: center;\n gap: 6px;\n margin-left: 10px;\n padding: 3px 10px;\n border-radius: 999px;\n font-size: 12px;\n font-weight: 600;\n background: color-mix(in srgb, var(--mj-status-warning, #f59e0b) 18%, transparent);\n color: var(--mj-status-warning-text, #b45309);\n border: 1px solid color-mix(in srgb, var(--mj-status-warning, #f59e0b) 40%, transparent);\n}\n\n/* ============================================\n COLLAPSED READ-MODE TRIGGER PILL\n Zero-layout-height corner pill ([\u270E Edit | \u2022\u2022\u2022])\n ============================================ */\n.mj-forms-toolbar-collapsed-pill {\n position: absolute;\n top: 10px;\n right: 16px;\n z-index: 45;\n display: inline-flex;\n align-items: center;\n background: var(--mj-bg-surface-elevated, var(--mj-bg-surface-card));\n border: 1px solid var(--mj-border-default);\n border-radius: var(--mj-radius-full, 9999px);\n box-shadow: var(--mj-shadow-sm, 0 2px 8px rgba(0, 0, 0, 0.08));\n padding: 2px;\n gap: 2px;\n}\n\n.mj-forms-collapsed-btn {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n gap: 6px;\n min-height: 28px;\n padding: 5px 10px;\n font-family: inherit;\n font-size: 12.5px;\n font-weight: var(--mj-font-semibold, 600);\n line-height: 1;\n color: var(--mj-text-primary);\n background: transparent;\n border: none;\n border-radius: var(--mj-radius-full, 9999px);\n cursor: pointer;\n transition: background var(--mj-transition-base, 150ms) ease, color var(--mj-transition-base, 150ms) ease;\n white-space: nowrap;\n}\n\n.mj-forms-collapsed-btn:hover:not(:disabled) {\n background: var(--mj-bg-surface-hover);\n}\n\n.mj-forms-collapsed-btn:focus-visible {\n outline: none;\n box-shadow: var(--mj-focus-ring);\n}\n\n.mj-forms-collapsed-btn:disabled {\n opacity: 0.5;\n cursor: not-allowed;\n}\n\n.mj-forms-collapsed-btn--edit {\n color: var(--mj-brand-primary);\n padding: 5px 12px;\n}\n\n.mj-forms-collapsed-btn--edit:hover:not(:disabled) {\n background: color-mix(in srgb, var(--mj-brand-primary) 12%, var(--mj-bg-surface));\n}\n\n.mj-forms-collapsed-btn--edit + .mj-forms-collapsed-btn--expand {\n position: relative;\n}\n\n.mj-forms-collapsed-btn--edit + .mj-forms-collapsed-btn--expand::before {\n content: '';\n position: absolute;\n left: -2px;\n top: 6px;\n bottom: 6px;\n width: 1px;\n background: var(--mj-border-default);\n}\n\n/* ============================================\n MOBILE TOOLBAR & EDIT BANNER DENSITY (<= 768px)\n ============================================ */\n@media (max-width: 768px) {\n /* Accordion forms (no section rail): slim 40px right-aligned bar so the pill never overlaps\n the first collapsible panel's header or collapse chevron. */\n .mj-forms-toolbar-collapsed-pill {\n position: sticky;\n top: 0;\n right: auto;\n display: flex;\n justify-content: flex-end;\n align-items: center;\n width: 100%;\n height: 40px;\n box-sizing: border-box;\n padding: 0 12px;\n gap: 2px;\n border-radius: 0;\n border-top: none;\n border-left: none;\n border-right: none;\n border-bottom: 1px solid var(--mj-border-default);\n background: var(--mj-bg-surface);\n box-shadow: none;\n }\n\n /* Left-nav forms: dock flush as the right-side cap on the 44px mobile section rail */\n .mj-forms-toolbar-collapsed-pill.mj-forms-toolbar-collapsed-pill--rail {\n position: absolute;\n top: 0;\n right: 0;\n width: auto;\n height: 44px;\n padding: 0 8px;\n border-left: 1px solid var(--mj-border-default);\n box-shadow: -6px 0 10px -6px rgba(0, 0, 0, 0.08);\n }\n\n .mj-forms-collapsed-btn {\n height: 34px;\n min-height: 34px;\n padding: 0 10px;\n font-size: 12.5px;\n }\n\n .mj-forms-collapsed-btn--edit {\n padding: 0 11px;\n }\n\n .mj-forms-toolbar {\n padding: 8px 12px;\n gap: 6px;\n flex-wrap: wrap;\n overflow: visible;\n }\n\n .mj-forms-toolbar .mj-forms-btn {\n padding: 6px 10px;\n font-size: 12.5px;\n }\n\n .mj-forms-edit-banner {\n padding: 8px 12px;\n flex-direction: row;\n align-items: center;\n justify-content: space-between;\n gap: 8px;\n }\n\n /* Hide verbose record subtitle in mobile edit banner so Save/Discard fit on 1 row */\n .mj-forms-edit-banner-record-name,\n .mj-forms-dirty-chips {\n display: none;\n }\n\n /* Phone: More and View are bottom sheets. The sheet owns position, surface and\n scrolling; the menu keeps only its row layout. */\n .mj-forms-menu--sheet {\n position: static;\n min-width: 0;\n max-height: none;\n overflow: visible;\n padding: 0 var(--mj-space-2) var(--mj-space-3);\n background: transparent;\n border: 0;\n border-radius: 0;\n box-shadow: none;\n }\n\n .mj-forms-menu--sheet .mj-forms-menu-item,\n .mj-forms-menu--sheet .mj-form-variant-picker-row {\n min-height: 44px;\n }\n\n .mj-forms-menu--sheet .mj-section-search {\n max-width: none;\n width: 100%;\n }\n}\n\n"] }]
|
|
2859
2810
|
}], null, { Form: [{
|
|
2860
2811
|
type: Input
|
|
2861
2812
|
}], _deprecatedForm: [{
|