@memberjunction/ng-form-toolbar 3.3.0 → 4.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/lib/form-toolbar.d.ts.map +1 -1
- package/dist/lib/form-toolbar.js +34 -27
- package/dist/lib/form-toolbar.js.map +1 -1
- package/dist/lib/record-form-container.component.d.ts +9 -2
- package/dist/lib/record-form-container.component.d.ts.map +1 -1
- package/dist/lib/record-form-container.component.js +73 -46
- package/dist/lib/record-form-container.component.js.map +1 -1
- package/package.json +21 -21
package/README.md
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"form-toolbar.d.ts","sourceRoot":"","sources":["../../src/lib/form-toolbar.ts"],"names":[],"mappings":"AAAA,OAAO,EAAoB,MAAM,EAAgB,UAAU,EAAE,MAAM,eAAe,CAAC;AACnF,OAAO,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;AAElE,OAAO,EAAE,YAAY,EAA6D,MAAM,sBAAsB,CAAC;AAC/G,OAAO,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAC;AAEzC,OAAO,EAA8C,UAAU,EAAE,MAAM,+BAA+B,CAAC;AACvG,OAAO,EAAE,0BAA0B,EAAE,oBAAoB,EAAE,MAAM,oCAAoC,CAAC;;AAGtG,
|
|
1
|
+
{"version":3,"file":"form-toolbar.d.ts","sourceRoot":"","sources":["../../src/lib/form-toolbar.ts"],"names":[],"mappings":"AAAA,OAAO,EAAoB,MAAM,EAAgB,UAAU,EAAE,MAAM,eAAe,CAAC;AACnF,OAAO,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;AAElE,OAAO,EAAE,YAAY,EAA6D,MAAM,sBAAsB,CAAC;AAC/G,OAAO,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAC;AAEzC,OAAO,EAA8C,UAAU,EAAE,MAAM,+BAA+B,CAAC;AACvG,OAAO,EAAE,0BAA0B,EAAE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B,IAAI,IAAI;IAyBrC;;OAEG;IACH,OAAO,CAAC,oBAAoB;IAS5B;;OAEG;IACU,4BAA4B,CAAC,MAAM,EAAE,oBAAoB,GAAG,OAAO,CAAC,IAAI,CAAC;IAyBtF;;OAEG;IACI,0BAA0B,IAAI,IAAI;IAK5B,eAAe,CAAC,IAAI,EAAE,UAAU,GAAG,OAAO,CAAC,IAAI,CAAC;IAwBhD,YAAY,IAAI,OAAO,CAAC,IAAI,CAAC;yCA5TjC,oBAAoB;2CAApB,oBAAoB;CA4VhC"}
|
package/dist/lib/form-toolbar.js
CHANGED
|
@@ -5,11 +5,10 @@ import { MJEventType, MJGlobal } from '@memberjunction/global';
|
|
|
5
5
|
import { ListDetailEntityExtended } from '@memberjunction/core-entities';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
7
|
import * as i1 from "@angular/router";
|
|
8
|
-
import * as i2 from "@
|
|
9
|
-
import * as i3 from "@
|
|
10
|
-
import * as i4 from "@progress/kendo-angular-
|
|
11
|
-
import * as i5 from "@
|
|
12
|
-
import * as i6 from "@memberjunction/ng-list-management";
|
|
8
|
+
import * as i2 from "@memberjunction/ng-record-changes";
|
|
9
|
+
import * as i3 from "@progress/kendo-angular-buttons";
|
|
10
|
+
import * as i4 from "@progress/kendo-angular-dialog";
|
|
11
|
+
import * as i5 from "@memberjunction/ng-list-management";
|
|
13
12
|
const _c0 = ["additionalControls"];
|
|
14
13
|
const _c1 = [[["", "toolbar-additional-controls", ""]]];
|
|
15
14
|
const _c2 = ["[toolbar-additional-controls]"];
|
|
@@ -42,13 +41,15 @@ function FormToolbarComponent_Conditional_1_Conditional_2_Conditional_1_Template
|
|
|
42
41
|
i0.ɵɵelementEnd();
|
|
43
42
|
} }
|
|
44
43
|
function FormToolbarComponent_Conditional_1_Conditional_2_Template(rf, ctx) { if (rf & 1) {
|
|
45
|
-
i0.ɵɵ
|
|
44
|
+
i0.ɵɵconditionalCreate(0, FormToolbarComponent_Conditional_1_Conditional_2_Conditional_0_Template, 2, 0, "button", 13)(1, FormToolbarComponent_Conditional_1_Conditional_2_Conditional_1_Template, 2, 0, "button", 14);
|
|
46
45
|
} if (rf & 2) {
|
|
47
46
|
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
48
47
|
i0.ɵɵconditional(ctx_r1.form.IsFavorite ? 0 : 1);
|
|
49
48
|
} }
|
|
50
49
|
function FormToolbarComponent_Conditional_1_Template(rf, ctx) { if (rf & 1) {
|
|
51
|
-
i0.ɵɵ
|
|
50
|
+
i0.ɵɵconditionalCreate(0, FormToolbarComponent_Conditional_1_Conditional_0_Template, 2, 0, "button", 7);
|
|
51
|
+
i0.ɵɵconditionalCreate(1, FormToolbarComponent_Conditional_1_Conditional_1_Template, 2, 0, "button", 8);
|
|
52
|
+
i0.ɵɵconditionalCreate(2, FormToolbarComponent_Conditional_1_Conditional_2_Template, 2, 1);
|
|
52
53
|
} if (rf & 2) {
|
|
53
54
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
54
55
|
i0.ɵɵconditional(ctx_r1.form.UserCanEdit ? 0 : -1);
|
|
@@ -83,7 +84,8 @@ function FormToolbarComponent_Conditional_2_Template(rf, ctx) { if (rf & 1) {
|
|
|
83
84
|
i0.ɵɵelementStart(2, "span", 21);
|
|
84
85
|
i0.ɵɵtext(3, "Save");
|
|
85
86
|
i0.ɵɵelementEnd()();
|
|
86
|
-
i0.ɵɵ
|
|
87
|
+
i0.ɵɵconditionalCreate(4, FormToolbarComponent_Conditional_2_Conditional_4_Template, 4, 0, "button", 22);
|
|
88
|
+
i0.ɵɵconditionalCreate(5, FormToolbarComponent_Conditional_2_Conditional_5_Template, 4, 0, "button", 23);
|
|
87
89
|
} if (rf & 2) {
|
|
88
90
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
89
91
|
i0.ɵɵadvance(4);
|
|
@@ -121,7 +123,7 @@ function FormToolbarComponent_Conditional_5_Template(rf, ctx) { if (rf & 1) {
|
|
|
121
123
|
i0.ɵɵelementStart(0, "button", 31);
|
|
122
124
|
i0.ɵɵlistener("click", function FormToolbarComponent_Conditional_5_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r11); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.toggleListDialog(true)); });
|
|
123
125
|
i0.ɵɵelement(1, "span", 32);
|
|
124
|
-
i0.ɵɵ
|
|
126
|
+
i0.ɵɵconditionalCreate(2, FormToolbarComponent_Conditional_5_Conditional_2_Template, 2, 1, "span", 33);
|
|
125
127
|
i0.ɵɵelementEnd();
|
|
126
128
|
} if (rf & 2) {
|
|
127
129
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
@@ -129,31 +131,31 @@ function FormToolbarComponent_Conditional_5_Template(rf, ctx) { if (rf & 1) {
|
|
|
129
131
|
i0.ɵɵadvance(2);
|
|
130
132
|
i0.ɵɵconditional(ctx_r1.recordListCount > 0 ? 2 : -1);
|
|
131
133
|
} }
|
|
132
|
-
function
|
|
134
|
+
function FormToolbarComponent_Conditional_7_Template(rf, ctx) { if (rf & 1) {
|
|
133
135
|
const _r12 = i0.ɵɵgetCurrentView();
|
|
134
136
|
i0.ɵɵelementStart(0, "kendo-dialog", 34);
|
|
135
|
-
i0.ɵɵlistener("close", function
|
|
137
|
+
i0.ɵɵlistener("close", function FormToolbarComponent_Conditional_7_Template_kendo_dialog_close_0_listener() { i0.ɵɵrestoreView(_r12); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.toggleDeleteDialog(false)); });
|
|
136
138
|
i0.ɵɵelementStart(1, "p", 35);
|
|
137
139
|
i0.ɵɵtext(2, " Are you sure you want to delete this record? ");
|
|
138
140
|
i0.ɵɵelementEnd();
|
|
139
141
|
i0.ɵɵelementStart(3, "kendo-dialog-actions", 36)(4, "button", 37);
|
|
140
|
-
i0.ɵɵlistener("click", function
|
|
142
|
+
i0.ɵɵlistener("click", function FormToolbarComponent_Conditional_7_Template_button_click_4_listener() { i0.ɵɵrestoreView(_r12); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.deleteRecord()); });
|
|
141
143
|
i0.ɵɵtext(5, " Yes, Delete ");
|
|
142
144
|
i0.ɵɵelementEnd();
|
|
143
145
|
i0.ɵɵelementStart(6, "button", 38);
|
|
144
|
-
i0.ɵɵlistener("click", function
|
|
146
|
+
i0.ɵɵlistener("click", function FormToolbarComponent_Conditional_7_Template_button_click_6_listener() { i0.ɵɵrestoreView(_r12); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.toggleDeleteDialog(false)); });
|
|
145
147
|
i0.ɵɵtext(7, " No, Cancel ");
|
|
146
148
|
i0.ɵɵelementEnd()()();
|
|
147
149
|
} if (rf & 2) {
|
|
148
150
|
i0.ɵɵproperty("minWidth", 450)("width", 650);
|
|
149
151
|
} }
|
|
150
|
-
function
|
|
152
|
+
function FormToolbarComponent_Conditional_8_For_3_Template(rf, ctx) { if (rf & 1) {
|
|
151
153
|
const _r14 = i0.ɵɵgetCurrentView();
|
|
152
154
|
i0.ɵɵelementStart(0, "div", 40)(1, "div", 41)(2, "div", 42);
|
|
153
155
|
i0.ɵɵtext(3);
|
|
154
156
|
i0.ɵɵelementEnd();
|
|
155
157
|
i0.ɵɵelementStart(4, "button", 43);
|
|
156
|
-
i0.ɵɵlistener("click", function
|
|
158
|
+
i0.ɵɵlistener("click", function FormToolbarComponent_Conditional_8_For_3_Template_button_click_4_listener() { const list_r15 = i0.ɵɵrestoreView(_r14).$implicit; const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.addRecordToList(list_r15)); });
|
|
157
159
|
i0.ɵɵelementStart(5, "div", 44);
|
|
158
160
|
i0.ɵɵelement(6, "span", 45);
|
|
159
161
|
i0.ɵɵtext(7, " Add ");
|
|
@@ -165,14 +167,14 @@ function FormToolbarComponent_kendo_dialog_8_For_3_Template(rf, ctx) { if (rf &
|
|
|
165
167
|
i0.ɵɵadvance(3);
|
|
166
168
|
i0.ɵɵtextInterpolate1(" ", list_r15.Name, " ");
|
|
167
169
|
} }
|
|
168
|
-
function
|
|
170
|
+
function FormToolbarComponent_Conditional_8_Template(rf, ctx) { if (rf & 1) {
|
|
169
171
|
const _r13 = i0.ɵɵgetCurrentView();
|
|
170
172
|
i0.ɵɵelementStart(0, "kendo-dialog", 39);
|
|
171
|
-
i0.ɵɵlistener("close", function
|
|
173
|
+
i0.ɵɵlistener("close", function FormToolbarComponent_Conditional_8_Template_kendo_dialog_close_0_listener() { i0.ɵɵrestoreView(_r13); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.toggleListDialog(false)); });
|
|
172
174
|
i0.ɵɵelement(1, "hr");
|
|
173
|
-
i0.ɵɵrepeaterCreate(2,
|
|
175
|
+
i0.ɵɵrepeaterCreate(2, FormToolbarComponent_Conditional_8_For_3_Template, 9, 1, "div", 40, i0.ɵɵrepeaterTrackByIdentity);
|
|
174
176
|
i0.ɵɵelementStart(4, "kendo-dialog-actions", 36)(5, "button", 38);
|
|
175
|
-
i0.ɵɵlistener("click", function
|
|
177
|
+
i0.ɵɵlistener("click", function FormToolbarComponent_Conditional_8_Template_button_click_5_listener() { i0.ɵɵrestoreView(_r13); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.toggleListDialog(false)); });
|
|
176
178
|
i0.ɵɵtext(6, " Close ");
|
|
177
179
|
i0.ɵɵelementEnd()()();
|
|
178
180
|
} if (rf & 2) {
|
|
@@ -495,12 +497,17 @@ export class FormToolbarComponent {
|
|
|
495
497
|
} if (rf & 2) {
|
|
496
498
|
let _t;
|
|
497
499
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.additionalControls = _t.first);
|
|
498
|
-
} }, inputs: { ShowSkipChatButton: "ShowSkipChatButton", form: "form" }, ngContentSelectors: _c2, decls: 10, vars: 9, consts: [[1, "toolbar-container"], ["kendoButton", "", "title", "Show History"], [3, "record"], ["kendoButton", "", 1, "list-button", 3, "title"], ["
|
|
500
|
+
} }, inputs: { ShowSkipChatButton: "ShowSkipChatButton", form: "form" }, standalone: false, ngContentSelectors: _c2, decls: 10, vars: 9, consts: [[1, "toolbar-container"], ["kendoButton", "", "title", "Show History"], [3, "record"], ["kendoButton", "", 1, "list-button", 3, "title"], ["title", "Confirm", 1, "dialog-wrapper", 3, "minWidth", "width"], ["title", "Select List to Add Record To", 1, "dialog-wrapper", 3, "minWidth", "width", "height"], [3, "config", "visible"], ["kendoButton", "", "title", "Edit this Record"], ["kendoButton", "", "title", "Delete this Record"], ["kendoButton", "", "title", "Edit this Record", 3, "click"], [1, "fa-solid", "fa-pen-to-square"], ["kendoButton", "", "title", "Delete this Record", 3, "click"], [1, "fa-regular", "fa-trash-can"], ["kendoButton", "", "title", "Remove Favorite"], ["kendoButton", "", "title", "Make Favorite"], ["kendoButton", "", "title", "Remove Favorite", 3, "click"], [1, "fa-solid", "fa-star"], ["kendoButton", "", "title", "Make Favorite", 3, "click"], [1, "fa-regular", "fa-star"], ["kendoButton", "", "title", "Save Record", 3, "mouseup"], [1, "fa-solid", "fa-floppy-disk"], [1, "button-text"], ["kendoButton", "", "title", "Cancel Edit"], ["kendoButton", "", "title", "Fields you have changed"], ["kendoButton", "", "title", "Cancel Edit", 3, "click"], [1, "fa-solid", "fa-rotate-left"], ["kendoButton", "", "title", "Fields you have changed", 3, "click"], [1, "fa-solid", "fa-clipboard-list"], ["kendoButton", "", "title", "Show History", 3, "click"], [1, "fa-solid", "fa-clock-rotate-left"], [3, "dialogClosed", "record"], ["kendoButton", "", 1, "list-button", 3, "click", "title"], [1, "fa-solid", "fa-rectangle-list"], [1, "list-count-badge"], ["title", "Confirm", 1, "dialog-wrapper", 3, "close", "minWidth", "width"], [1, "k-m-7.5", "k-text-center"], [1, "popup-actions-btn"], ["kendoButton", "", "themeColor", "info", 1, "cancel-btn", 3, "click"], ["kendoButton", "", "fillMode", "outline", "themeColor", "info", 1, "yes-btn", 3, "click"], ["title", "Select List to Add Record To", 1, "dialog-wrapper", 3, "close", "minWidth", "width", "height"], [1, "overflow-y-scroll"], [1, "list-item"], [1, "list-text"], ["kendoButton", "", 1, "btn-no-border", 3, "click"], [1, "btn-margin-right"], [1, "fa-solid", "fa-plus"], [3, "complete", "cancel", "config", "visible"]], template: function FormToolbarComponent_Template(rf, ctx) { if (rf & 1) {
|
|
499
501
|
i0.ɵɵprojectionDef(_c1);
|
|
500
502
|
i0.ɵɵelementStart(0, "div", 0);
|
|
501
|
-
i0.ɵɵ
|
|
503
|
+
i0.ɵɵconditionalCreate(1, FormToolbarComponent_Conditional_1_Template, 3, 3)(2, FormToolbarComponent_Conditional_2_Template, 6, 2);
|
|
504
|
+
i0.ɵɵconditionalCreate(3, FormToolbarComponent_Conditional_3_Template, 2, 0, "button", 1);
|
|
505
|
+
i0.ɵɵconditionalCreate(4, FormToolbarComponent_Conditional_4_Template, 1, 1, "mj-record-changes", 2);
|
|
506
|
+
i0.ɵɵconditionalCreate(5, FormToolbarComponent_Conditional_5_Template, 3, 2, "button", 3);
|
|
502
507
|
i0.ɵɵprojection(6);
|
|
503
|
-
i0.ɵɵ
|
|
508
|
+
i0.ɵɵconditionalCreate(7, FormToolbarComponent_Conditional_7_Template, 8, 2, "kendo-dialog", 4);
|
|
509
|
+
i0.ɵɵconditionalCreate(8, FormToolbarComponent_Conditional_8_Template, 7, 3, "kendo-dialog", 5);
|
|
510
|
+
i0.ɵɵconditionalCreate(9, FormToolbarComponent_Conditional_9_Template, 1, 2, "mj-list-management-dialog", 6);
|
|
504
511
|
i0.ɵɵelementEnd();
|
|
505
512
|
} if (rf & 2) {
|
|
506
513
|
i0.ɵɵclassProp("disabled", ctx.CurrentlyDisabled);
|
|
@@ -513,16 +520,16 @@ export class FormToolbarComponent {
|
|
|
513
520
|
i0.ɵɵadvance();
|
|
514
521
|
i0.ɵɵconditional(!ctx.form.EditMode ? 5 : -1);
|
|
515
522
|
i0.ɵɵadvance(2);
|
|
516
|
-
i0.ɵɵ
|
|
523
|
+
i0.ɵɵconditional(ctx._deleteDialogVisible ? 7 : -1);
|
|
517
524
|
i0.ɵɵadvance();
|
|
518
|
-
i0.ɵɵ
|
|
525
|
+
i0.ɵɵconditional(ctx.listDialogVisible && !ctx.useEnhancedListDialog ? 8 : -1);
|
|
519
526
|
i0.ɵɵadvance();
|
|
520
527
|
i0.ɵɵconditional(ctx.showEnhancedListDialog && ctx.listManagementConfig ? 9 : -1);
|
|
521
|
-
} }, dependencies: [i2.
|
|
528
|
+
} }, dependencies: [i2.RecordChangesComponent, i3.ButtonComponent, i4.DialogComponent, i4.DialogActionsComponent, i5.ListManagementDialogComponent], styles: [".toolbar-container[_ngcontent-%COMP%] {\n border-bottom: 2px solid #e5e7eb;\n padding: 12px 16px;\n margin-bottom: 0;\n background: #f9fafb;\n display: flex;\n gap: 7px;\n align-items: center;\n}\n\n.toolbar-container[_ngcontent-%COMP%] button[_ngcontent-%COMP%] {\n padding: 8px 14px;\n font-size: 14px;\n border: 1px solid #d1d5db;\n background: white;\n color: #374151;\n border-radius: 6px;\n cursor: pointer;\n transition: all 0.2s;\n margin-right: 0;\n display: inline-flex;\n align-items: center;\n gap: 6px;\n font-weight: 500;\n}\n\n.toolbar-container[_ngcontent-%COMP%] button[_ngcontent-%COMP%]:hover {\n background: #f3f4f6;\n border-color: #9ca3af;\n transform: translateY(-1px);\n box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);\n}\n\n.toolbar-container[_ngcontent-%COMP%] button[_ngcontent-%COMP%]:active {\n transform: translateY(0);\n}\n\n.toolbar-container[_ngcontent-%COMP%] button[_ngcontent-%COMP%] span[class*=\"fa-\"][_ngcontent-%COMP%] {\n font-size: 16px;\n}\n\n.toolbar-container[_ngcontent-%COMP%] .button-text[_ngcontent-%COMP%] {\n margin-left: 0;\n font-size: 14px;\n}\n\n\n\n.toolbar-separator[_ngcontent-%COMP%] {\n width: 1px;\n height: 24px;\n background: #d1d5db;\n margin: 0 8px;\n}\n\n\n\n .toolbar-container [toolbar-additional-controls] {\n display: flex;\n gap: 7px;\n align-items: center;\n margin-left: auto;\n}\n\n\n\n .toolbar-container [toolbar-additional-controls] button {\n padding: 8px 14px;\n font-size: 14px;\n border: 1px solid #d1d5db;\n background: white;\n color: #374151;\n border-radius: 6px;\n cursor: pointer;\n transition: all 0.2s;\n display: inline-flex;\n align-items: center;\n gap: 6px;\n font-weight: 500;\n}\n\n .toolbar-container [toolbar-additional-controls] button:hover {\n background: #f3f4f6;\n border-color: #9ca3af;\n transform: translateY(-1px);\n box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);\n}\n\n .toolbar-container [toolbar-additional-controls] button:active {\n transform: translateY(0);\n}\n\n\n\n .toolbar-container [toolbar-additional-controls] input.section-search {\n padding: 8px 12px;\n font-size: 14px;\n border: 1px solid #d1d5db;\n border-radius: 4px;\n min-width: 180px;\n transition: all 0.2s;\n}\n\n .toolbar-container [toolbar-additional-controls] input.section-search:focus {\n outline: none;\n border-color: #9ca3af;\n box-shadow: 0 0 0 2px rgba(156, 163, 175, 0.2);\n}\n\n\n\n .toolbar-container [toolbar-additional-controls] .section-count {\n font-size: 12px;\n color: #4b5563;\n font-weight: 600;\n padding: 6px 14px;\n background: #e5e7eb;\n border: 1px solid #d1d5db;\n border-radius: 12px;\n white-space: nowrap;\n box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);\n}\n\n\n\n .toolbar-container [toolbar-additional-controls] .clear-search-btn {\n position: absolute;\n right: 4px;\n top: 50%;\n transform: translateY(-50%);\n padding: 4px 8px !important;\n min-width: auto !important;\n background: transparent !important;\n border: none !important;\n color: #9ca3af !important;\n font-size: 14px;\n}\n\n .toolbar-container [toolbar-additional-controls] .clear-search-btn:hover {\n color: #6b7280 !important;\n background: transparent !important;\n transform: translateY(-50%);\n box-shadow: none !important;\n}\n\n\n\n mark.search-highlight {\n background: #fef08a;\n color: #854d0e;\n font-weight: 600;\n} \n\n.toolbar-container.disabled[_ngcontent-%COMP%] {\n pointer-events: none;\n opacity: 0.8;\n}\n\n.disabled[_ngcontent-%COMP%] {\n pointer-events: none;\n}\n\n .form-toolbar-status-message {\n background: #f0f0f0;\n padding: 15px;\n border-radius: 5px;\n box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);\n opacity: 1;\n z-index: 1000;\n color:#1d7032;\n font: 16px;\n font-weight: bold;\n min-width: 100px;\n\n text-align: center; \n\n}\n\n\n .form-toolbar-elapsed-time {\n \n\n\n\n position: absolute;\n top: 0;\n right: 0;\n color: darkgray;\n font-size: smaller;\n padding: 2px;\n border-radius: 5px;\n margin: 5px;\n z-index: 1000;\n}\n\n .form-toolbar-server-update-message {\n margin-top: 7px;\n font-size: smaller;\n color: black;\n}\n\n.list-item[_ngcontent-%COMP%] {\n display: flex;\n justify-content: space-between;\n padding-bottom: 5px;\n align-items: center;\n}\n\n\n\n.toolbar-container[_ngcontent-%COMP%] button.list-button[_ngcontent-%COMP%] {\n position: relative;\n}\n\n.list-count-badge[_ngcontent-%COMP%] {\n position: absolute;\n top: -6px;\n right: -6px;\n min-width: 18px;\n height: 18px;\n padding: 0 5px;\n font-size: 11px;\n font-weight: 600;\n color: white;\n background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);\n border-radius: 10px;\n display: flex;\n align-items: center;\n justify-content: center;\n box-shadow: 0 2px 4px rgba(37, 99, 235, 0.3);\n border: 2px solid #f9fafb;\n}"] });
|
|
522
529
|
}
|
|
523
530
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(FormToolbarComponent, [{
|
|
524
531
|
type: Component,
|
|
525
|
-
args: [{ selector: 'mj-form-toolbar', template: "\n<div class=\"toolbar-container\" [class.disabled]=\"CurrentlyDisabled\">\n @if (!form.EditMode) {\n @if (form.UserCanEdit) {\n <button kendoButton (click)=\"form.StartEditMode()\" title=\"Edit this Record\">\n <span class=\"fa-solid fa-pen-to-square\"></span>\n </button> \n }\n @if(form.UserCanDelete){\n <button kendoButton (click)=\"toggleDeleteDialog(true)\" title=\"Delete this Record\">\n <span class=\"fa-regular fa-trash-can\"></span>\n </button> \n }\n @if (form.FavoriteInitDone) {\n @if (form.IsFavorite) {\n <button kendoButton (click)=\"form.RemoveFavorite()\" title=\"Remove Favorite\">\n <span class=\"fa-solid fa-star\"></span>\n </button> \n }\n @else {\n <button kendoButton (click)=\"form.MakeFavorite()\" title=\"Make Favorite\">\n <span class=\"fa-regular fa-star\"></span>\n </button> \n }\n }\n }\n @else {\n <button kendoButton (mouseup)=\"saveExistingRecord($event)\" title=\"Save Record\">\n <span class=\"fa-solid fa-floppy-disk\"></span>\n <span class=\"button-text\">Save</span>\n </button> \n @if (form.record.IsSaved) {\n <!-- Only show the cancel button if the record has already been saved - don't show for a new record. -->\n <button kendoButton (click)=\"form.CancelEdit()\" title=\"Cancel Edit\">\n <span class=\"fa-solid fa-rotate-left\"></span>\n <span class=\"button-text\">Cancel</span>\n </button> \n }\n @if (form.record.Dirty) {\n <button kendoButton (click)=\"form.ShowChanges()\" title=\"Fields you have changed\">\n <span class=\"fa-solid fa-clipboard-list\"></span>\n <span class=\"button-text\">Changes</span>\n </button> \n }\n }\n @if (form.EntityInfo?.TrackRecordChanges && !form.EditMode) {\n <button kendoButton (click)=\"form.handleHistoryDialog()\" title=\"Show History\">\n <span class=\"fa-solid fa-clock-rotate-left\"></span>\n </button>\n }\n <!-- \n ************************************************************\n ************************************************************\n ************************************************************\n ************************************************************\n ************************************************************\n ************************************************************\n REPLACE THIS WITH GENERIC CHAT LATER in 3.0 LIFECYCLE - TO-Do TODO \n ************************************************************\n ************************************************************\n ************************************************************\n ************************************************************\n ************************************************************\n ************************************************************\n -->\n <!-- @if (ShowSkipChatButton && !form.EditMode) {\n <button kendoButton (click)=\"ShowSkipChat()\" title=\"Discuss this record with Skip\">\n <span class=\"fa-regular fa-comment-dots\"></span>\n </button> \n } -->\n <!-- @if (form.EntityInfo) {\n <mj-skip-chat-with-record-window\n [LinkedEntityID]=\"form.EntityInfo.ID\"\n [LinkedEntityPrimaryKey]=\"LinkedEntityPrimaryKey\" \n #mjChat\n [WindowOpened]=\"_skipChatDialogVisible\" \n (WindowClosed)=\"ShowSkipChat()\"\n >\n </mj-skip-chat-with-record-window>\n } -->\n <!-- \n ************************************************************\n ************************************************************\n ************************************************************\n ************************************************************\n ************************************************************\n ************************************************************\n REPLACE THIS WITH GENERIC CHAT LATER in 3.0 LIFECYCLE - TO-Do TODO \n ************************************************************\n ************************************************************\n ************************************************************\n ************************************************************\n ************************************************************\n ************************************************************\n -->\n\n\n\n @if (form.isHistoryDialogOpen) {\n <mj-record-changes [record]=\"form.record\" (dialogClosed)=\"form.handleHistoryDialog()\"></mj-record-changes>\n }\n @if(!form.EditMode){\n <button kendoButton (click)=\"toggleListDialog(true)\"\n [title]=\"recordListCount > 0 ? 'Member of ' + recordListCount + ' list(s) - Click to manage' : 'Add this record to a list'\"\n class=\"list-button\">\n <span class=\"fa-solid fa-rectangle-list\"></span>\n @if (recordListCount > 0) {\n <span class=\"list-count-badge\">{{ recordListCount }}</span>\n }\n </button>\n }\n\n <!-- Slot for additional controls (section controls) - no separator needed with right-align -->\n <ng-content select=\"[toolbar-additional-controls]\"></ng-content>\n\n <kendo-dialog \n [minWidth]=\"450\"\n [width]=\"650\"\n class=\"dialog-wrapper\" \n title=\"Confirm\" \n *ngIf=\"_deleteDialogVisible\" \n (close)=\"toggleDeleteDialog(false)\">\n <p class=\"k-m-7.5 k-text-center\">\n Are you sure you want to delete this record?\n </p>\n <kendo-dialog-actions class=\"popup-actions-btn\">\n <button class=\"cancel-btn\" (click)=\"deleteRecord()\" kendoButton themeColor=\"info\">\n Yes, Delete\n </button>\n <button class=\"yes-btn\" (click)=\"toggleDeleteDialog(false)\" kendoButton fillMode=\"outline\" themeColor=\"info\">\n No, Cancel\n </button>\n </kendo-dialog-actions>\n </kendo-dialog>\n\n <!-- Legacy List Dialog (fallback when useEnhancedListDialog is false) -->\n <kendo-dialog\n class=\"dialog-wrapper\"\n title=\"Select List to Add Record To\"\n *ngIf=\"listDialogVisible && !useEnhancedListDialog\"\n (close)=\"toggleListDialog(false)\"\n [minWidth]=\"250\"\n [width]=\"650\"\n [height]=\"550\"\n >\n <hr>\n @for(list of availableLists; track list){\n <div class=\"overflow-y-scroll\">\n <div class=\"list-item\">\n <div class=\"list-text\">\n {{list.Name}}\n </div>\n <button kendoButton class=\"btn-no-border\" (click)=\"addRecordToList(list)\">\n <div class=\"btn-margin-right\">\n <span class=\"fa-solid fa-plus\"></span>\n Add\n </div>\n </button>\n </div>\n <hr>\n </div>\n }\n <kendo-dialog-actions class=\"popup-actions-btn\">\n <button class=\"yes-btn\" (click)=\"toggleListDialog(false)\" kendoButton fillMode=\"outline\" themeColor=\"info\">\n Close\n </button>\n </kendo-dialog-actions>\n</kendo-dialog>\n\n <!-- Enhanced List Management Dialog -->\n @if (showEnhancedListDialog && listManagementConfig) {\n <mj-list-management-dialog\n [config]=\"listManagementConfig\"\n [visible]=\"showEnhancedListDialog\"\n (complete)=\"onEnhancedListDialogComplete($event)\"\n (cancel)=\"onEnhancedListDialogCancel()\">\n </mj-list-management-dialog>\n }\n</div>", styles: [".toolbar-container {\n border-bottom: 2px solid #e5e7eb;\n padding: 12px 16px;\n margin-bottom: 0;\n background: #f9fafb;\n display: flex;\n gap: 7px;\n align-items: center;\n}\n\n.toolbar-container button {\n padding: 8px 14px;\n font-size: 14px;\n border: 1px solid #d1d5db;\n background: white;\n color: #374151;\n border-radius: 6px;\n cursor: pointer;\n transition: all 0.2s;\n margin-right: 0;\n display: inline-flex;\n align-items: center;\n gap: 6px;\n font-weight: 500;\n}\n\n.toolbar-container button:hover {\n background: #f3f4f6;\n border-color: #9ca3af;\n transform: translateY(-1px);\n box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);\n}\n\n.toolbar-container button:active {\n transform: translateY(0);\n}\n\n.toolbar-container button span[class*=\"fa-\"] {\n font-size: 16px;\n}\n\n.toolbar-container .button-text {\n margin-left: 0;\n font-size: 14px;\n}\n\n/* Toolbar separator for additional controls */\n.toolbar-separator {\n width: 1px;\n height: 24px;\n background: #d1d5db;\n margin: 0 8px;\n}\n\n/* Additional controls container */\n::ng-deep .toolbar-container [toolbar-additional-controls] {\n display: flex;\n gap: 7px;\n align-items: center;\n margin-left: auto;\n}\n\n/* Additional controls buttons should match main toolbar buttons */\n::ng-deep .toolbar-container [toolbar-additional-controls] button {\n padding: 8px 14px;\n font-size: 14px;\n border: 1px solid #d1d5db;\n background: white;\n color: #374151;\n border-radius: 6px;\n cursor: pointer;\n transition: all 0.2s;\n display: inline-flex;\n align-items: center;\n gap: 6px;\n font-weight: 500;\n}\n\n::ng-deep .toolbar-container [toolbar-additional-controls] button:hover {\n background: #f3f4f6;\n border-color: #9ca3af;\n transform: translateY(-1px);\n box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);\n}\n\n::ng-deep .toolbar-container [toolbar-additional-controls] button:active {\n transform: translateY(0);\n}\n\n/* Search input styling - reduced border radius */\n::ng-deep .toolbar-container [toolbar-additional-controls] input.section-search {\n padding: 8px 12px;\n font-size: 14px;\n border: 1px solid #d1d5db;\n border-radius: 4px;\n min-width: 180px;\n transition: all 0.2s;\n}\n\n::ng-deep .toolbar-container [toolbar-additional-controls] input.section-search:focus {\n outline: none;\n border-color: #9ca3af;\n box-shadow: 0 0 0 2px rgba(156, 163, 175, 0.2);\n}\n\n/* Section count styling - pill design */\n::ng-deep .toolbar-container [toolbar-additional-controls] .section-count {\n font-size: 12px;\n color: #4b5563;\n font-weight: 600;\n padding: 6px 14px;\n background: #e5e7eb;\n border: 1px solid #d1d5db;\n border-radius: 12px;\n white-space: nowrap;\n box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);\n}\n\n/* Clear search button styling */\n::ng-deep .toolbar-container [toolbar-additional-controls] .clear-search-btn {\n position: absolute;\n right: 4px;\n top: 50%;\n transform: translateY(-50%);\n padding: 4px 8px !important;\n min-width: auto !important;\n background: transparent !important;\n border: none !important;\n color: #9ca3af !important;\n font-size: 14px;\n}\n\n::ng-deep .toolbar-container [toolbar-additional-controls] .clear-search-btn:hover {\n color: #6b7280 !important;\n background: transparent !important;\n transform: translateY(-50%);\n box-shadow: none !important;\n}\n\n/* Yellow highlight for search matches */\n::ng-deep mark.search-highlight {\n background: #fef08a;\n color: #854d0e;\n font-weight: 600;\n} \n\n.toolbar-container.disabled {\n pointer-events: none;\n opacity: 0.8;\n}\n\n.disabled {\n pointer-events: none;\n}\n\n::ng-deep .form-toolbar-status-message {\n background: #f0f0f0;\n padding: 15px;\n border-radius: 5px;\n box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);\n opacity: 1;\n z-index: 1000;\n color:#1d7032;\n font: 16px;\n font-weight: bold;\n min-width: 100px;\n\n text-align: center; /* Center the text horizontally */\n}\n\n\n::ng-deep .form-toolbar-elapsed-time {\n /*\n we want this littler timer to be small dark gray text in the top right corner with a white background\n*/\n position: absolute;\n top: 0;\n right: 0;\n color: darkgray;\n font-size: smaller;\n padding: 2px;\n border-radius: 5px;\n margin: 5px;\n z-index: 1000;\n}\n\n::ng-deep .form-toolbar-server-update-message {\n margin-top: 7px;\n font-size: smaller;\n color: black;\n}\n\n.list-item {\n display: flex;\n justify-content: space-between;\n padding-bottom: 5px;\n align-items: center;\n}\n\n/* List button with count badge */\n.toolbar-container button.list-button {\n position: relative;\n}\n\n.list-count-badge {\n position: absolute;\n top: -6px;\n right: -6px;\n min-width: 18px;\n height: 18px;\n padding: 0 5px;\n font-size: 11px;\n font-weight: 600;\n color: white;\n background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);\n border-radius: 10px;\n display: flex;\n align-items: center;\n justify-content: center;\n box-shadow: 0 2px 4px rgba(37, 99, 235, 0.3);\n border: 2px solid #f9fafb;\n}"] }]
|
|
532
|
+
args: [{ standalone: false, selector: 'mj-form-toolbar', template: "\n<div class=\"toolbar-container\" [class.disabled]=\"CurrentlyDisabled\">\n @if (!form.EditMode) {\n @if (form.UserCanEdit) {\n <button kendoButton (click)=\"form.StartEditMode()\" title=\"Edit this Record\">\n <span class=\"fa-solid fa-pen-to-square\"></span>\n </button>\n }\n @if(form.UserCanDelete){\n <button kendoButton (click)=\"toggleDeleteDialog(true)\" title=\"Delete this Record\">\n <span class=\"fa-regular fa-trash-can\"></span>\n </button>\n }\n @if (form.FavoriteInitDone) {\n @if (form.IsFavorite) {\n <button kendoButton (click)=\"form.RemoveFavorite()\" title=\"Remove Favorite\">\n <span class=\"fa-solid fa-star\"></span>\n </button>\n }\n @else {\n <button kendoButton (click)=\"form.MakeFavorite()\" title=\"Make Favorite\">\n <span class=\"fa-regular fa-star\"></span>\n </button>\n }\n }\n}\n@else {\n<button kendoButton (mouseup)=\"saveExistingRecord($event)\" title=\"Save Record\">\n <span class=\"fa-solid fa-floppy-disk\"></span>\n <span class=\"button-text\">Save</span>\n</button>\n@if (form.record.IsSaved) {\n <!-- Only show the cancel button if the record has already been saved - don't show for a new record. -->\n <button kendoButton (click)=\"form.CancelEdit()\" title=\"Cancel Edit\">\n <span class=\"fa-solid fa-rotate-left\"></span>\n <span class=\"button-text\">Cancel</span>\n </button>\n}\n@if (form.record.Dirty) {\n <button kendoButton (click)=\"form.ShowChanges()\" title=\"Fields you have changed\">\n <span class=\"fa-solid fa-clipboard-list\"></span>\n <span class=\"button-text\">Changes</span>\n </button>\n}\n}\n@if (form.EntityInfo?.TrackRecordChanges && !form.EditMode) {\n <button kendoButton (click)=\"form.handleHistoryDialog()\" title=\"Show History\">\n <span class=\"fa-solid fa-clock-rotate-left\"></span>\n </button>\n}\n<!--\n************************************************************\n************************************************************\n************************************************************\n************************************************************\n************************************************************\n************************************************************\nREPLACE THIS WITH GENERIC CHAT LATER in 3.0 LIFECYCLE - TO-Do TODO\n************************************************************\n************************************************************\n************************************************************\n************************************************************\n************************************************************\n************************************************************\n-->\n<!-- @if (ShowSkipChatButton && !form.EditMode) {\n<button kendoButton (click)=\"ShowSkipChat()\" title=\"Discuss this record with Skip\">\n <span class=\"fa-regular fa-comment-dots\"></span>\n</button>\n} -->\n<!-- @if (form.EntityInfo) {\n<mj-skip-chat-with-record-window\n [LinkedEntityID]=\"form.EntityInfo.ID\"\n [LinkedEntityPrimaryKey]=\"LinkedEntityPrimaryKey\"\n #mjChat\n [WindowOpened]=\"_skipChatDialogVisible\"\n (WindowClosed)=\"ShowSkipChat()\"\n >\n</mj-skip-chat-with-record-window>\n} -->\n<!--\n************************************************************\n************************************************************\n************************************************************\n************************************************************\n************************************************************\n************************************************************\nREPLACE THIS WITH GENERIC CHAT LATER in 3.0 LIFECYCLE - TO-Do TODO\n************************************************************\n************************************************************\n************************************************************\n************************************************************\n************************************************************\n************************************************************\n-->\n\n\n\n@if (form.isHistoryDialogOpen) {\n <mj-record-changes [record]=\"form.record\" (dialogClosed)=\"form.handleHistoryDialog()\"></mj-record-changes>\n}\n@if(!form.EditMode){\n <button kendoButton (click)=\"toggleListDialog(true)\"\n [title]=\"recordListCount > 0 ? 'Member of ' + recordListCount + ' list(s) - Click to manage' : 'Add this record to a list'\"\n class=\"list-button\">\n <span class=\"fa-solid fa-rectangle-list\"></span>\n @if (recordListCount > 0) {\n <span class=\"list-count-badge\">{{ recordListCount }}</span>\n }\n </button>\n}\n\n<!-- Slot for additional controls (section controls) - no separator needed with right-align -->\n<ng-content select=\"[toolbar-additional-controls]\"></ng-content>\n\n@if (_deleteDialogVisible) {\n <kendo-dialog\n [minWidth]=\"450\"\n [width]=\"650\"\n class=\"dialog-wrapper\"\n title=\"Confirm\"\n (close)=\"toggleDeleteDialog(false)\">\n <p class=\"k-m-7.5 k-text-center\">\n Are you sure you want to delete this record?\n </p>\n <kendo-dialog-actions class=\"popup-actions-btn\">\n <button class=\"cancel-btn\" (click)=\"deleteRecord()\" kendoButton themeColor=\"info\">\n Yes, Delete\n </button>\n <button class=\"yes-btn\" (click)=\"toggleDeleteDialog(false)\" kendoButton fillMode=\"outline\" themeColor=\"info\">\n No, Cancel\n </button>\n </kendo-dialog-actions>\n </kendo-dialog>\n}\n\n<!-- Legacy List Dialog (fallback when useEnhancedListDialog is false) -->\n@if (listDialogVisible && !useEnhancedListDialog) {\n <kendo-dialog\n class=\"dialog-wrapper\"\n title=\"Select List to Add Record To\"\n (close)=\"toggleListDialog(false)\"\n [minWidth]=\"250\"\n [width]=\"650\"\n [height]=\"550\"\n >\n <hr>\n @for(list of availableLists; track list){\n <div class=\"overflow-y-scroll\">\n <div class=\"list-item\">\n <div class=\"list-text\">\n {{list.Name}}\n </div>\n <button kendoButton class=\"btn-no-border\" (click)=\"addRecordToList(list)\">\n <div class=\"btn-margin-right\">\n <span class=\"fa-solid fa-plus\"></span>\n Add\n </div>\n </button>\n </div>\n <hr>\n </div>\n }\n <kendo-dialog-actions class=\"popup-actions-btn\">\n <button class=\"yes-btn\" (click)=\"toggleListDialog(false)\" kendoButton fillMode=\"outline\" themeColor=\"info\">\n Close\n </button>\n </kendo-dialog-actions>\n </kendo-dialog>\n }\n\n <!-- Enhanced List Management Dialog -->\n @if (showEnhancedListDialog && listManagementConfig) {\n <mj-list-management-dialog\n [config]=\"listManagementConfig\"\n [visible]=\"showEnhancedListDialog\"\n (complete)=\"onEnhancedListDialogComplete($event)\"\n (cancel)=\"onEnhancedListDialogCancel()\">\n </mj-list-management-dialog>\n }\n </div>", styles: [".toolbar-container {\n border-bottom: 2px solid #e5e7eb;\n padding: 12px 16px;\n margin-bottom: 0;\n background: #f9fafb;\n display: flex;\n gap: 7px;\n align-items: center;\n}\n\n.toolbar-container button {\n padding: 8px 14px;\n font-size: 14px;\n border: 1px solid #d1d5db;\n background: white;\n color: #374151;\n border-radius: 6px;\n cursor: pointer;\n transition: all 0.2s;\n margin-right: 0;\n display: inline-flex;\n align-items: center;\n gap: 6px;\n font-weight: 500;\n}\n\n.toolbar-container button:hover {\n background: #f3f4f6;\n border-color: #9ca3af;\n transform: translateY(-1px);\n box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);\n}\n\n.toolbar-container button:active {\n transform: translateY(0);\n}\n\n.toolbar-container button span[class*=\"fa-\"] {\n font-size: 16px;\n}\n\n.toolbar-container .button-text {\n margin-left: 0;\n font-size: 14px;\n}\n\n/* Toolbar separator for additional controls */\n.toolbar-separator {\n width: 1px;\n height: 24px;\n background: #d1d5db;\n margin: 0 8px;\n}\n\n/* Additional controls container */\n::ng-deep .toolbar-container [toolbar-additional-controls] {\n display: flex;\n gap: 7px;\n align-items: center;\n margin-left: auto;\n}\n\n/* Additional controls buttons should match main toolbar buttons */\n::ng-deep .toolbar-container [toolbar-additional-controls] button {\n padding: 8px 14px;\n font-size: 14px;\n border: 1px solid #d1d5db;\n background: white;\n color: #374151;\n border-radius: 6px;\n cursor: pointer;\n transition: all 0.2s;\n display: inline-flex;\n align-items: center;\n gap: 6px;\n font-weight: 500;\n}\n\n::ng-deep .toolbar-container [toolbar-additional-controls] button:hover {\n background: #f3f4f6;\n border-color: #9ca3af;\n transform: translateY(-1px);\n box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);\n}\n\n::ng-deep .toolbar-container [toolbar-additional-controls] button:active {\n transform: translateY(0);\n}\n\n/* Search input styling - reduced border radius */\n::ng-deep .toolbar-container [toolbar-additional-controls] input.section-search {\n padding: 8px 12px;\n font-size: 14px;\n border: 1px solid #d1d5db;\n border-radius: 4px;\n min-width: 180px;\n transition: all 0.2s;\n}\n\n::ng-deep .toolbar-container [toolbar-additional-controls] input.section-search:focus {\n outline: none;\n border-color: #9ca3af;\n box-shadow: 0 0 0 2px rgba(156, 163, 175, 0.2);\n}\n\n/* Section count styling - pill design */\n::ng-deep .toolbar-container [toolbar-additional-controls] .section-count {\n font-size: 12px;\n color: #4b5563;\n font-weight: 600;\n padding: 6px 14px;\n background: #e5e7eb;\n border: 1px solid #d1d5db;\n border-radius: 12px;\n white-space: nowrap;\n box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);\n}\n\n/* Clear search button styling */\n::ng-deep .toolbar-container [toolbar-additional-controls] .clear-search-btn {\n position: absolute;\n right: 4px;\n top: 50%;\n transform: translateY(-50%);\n padding: 4px 8px !important;\n min-width: auto !important;\n background: transparent !important;\n border: none !important;\n color: #9ca3af !important;\n font-size: 14px;\n}\n\n::ng-deep .toolbar-container [toolbar-additional-controls] .clear-search-btn:hover {\n color: #6b7280 !important;\n background: transparent !important;\n transform: translateY(-50%);\n box-shadow: none !important;\n}\n\n/* Yellow highlight for search matches */\n::ng-deep mark.search-highlight {\n background: #fef08a;\n color: #854d0e;\n font-weight: 600;\n} \n\n.toolbar-container.disabled {\n pointer-events: none;\n opacity: 0.8;\n}\n\n.disabled {\n pointer-events: none;\n}\n\n::ng-deep .form-toolbar-status-message {\n background: #f0f0f0;\n padding: 15px;\n border-radius: 5px;\n box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);\n opacity: 1;\n z-index: 1000;\n color:#1d7032;\n font: 16px;\n font-weight: bold;\n min-width: 100px;\n\n text-align: center; /* Center the text horizontally */\n}\n\n\n::ng-deep .form-toolbar-elapsed-time {\n /*\n we want this littler timer to be small dark gray text in the top right corner with a white background\n*/\n position: absolute;\n top: 0;\n right: 0;\n color: darkgray;\n font-size: smaller;\n padding: 2px;\n border-radius: 5px;\n margin: 5px;\n z-index: 1000;\n}\n\n::ng-deep .form-toolbar-server-update-message {\n margin-top: 7px;\n font-size: smaller;\n color: black;\n}\n\n.list-item {\n display: flex;\n justify-content: space-between;\n padding-bottom: 5px;\n align-items: center;\n}\n\n/* List button with count badge */\n.toolbar-container button.list-button {\n position: relative;\n}\n\n.list-count-badge {\n position: absolute;\n top: -6px;\n right: -6px;\n min-width: 18px;\n height: 18px;\n padding: 0 5px;\n font-size: 11px;\n font-weight: 600;\n color: white;\n background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);\n border-radius: 10px;\n display: flex;\n align-items: center;\n justify-content: center;\n box-shadow: 0 2px 4px rgba(37, 99, 235, 0.3);\n border: 2px solid #f9fafb;\n}"] }]
|
|
526
533
|
}], () => [{ type: i1.Router }], { ShowSkipChatButton: [{
|
|
527
534
|
type: Input
|
|
528
535
|
}], form: [{
|
|
@@ -531,5 +538,5 @@ export class FormToolbarComponent {
|
|
|
531
538
|
type: ContentChild,
|
|
532
539
|
args: ['additionalControls', { read: ElementRef }]
|
|
533
540
|
}] }); })();
|
|
534
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(FormToolbarComponent, { className: "FormToolbarComponent", filePath: "src/lib/form-toolbar.ts", lineNumber:
|
|
541
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(FormToolbarComponent, { className: "FormToolbarComponent", filePath: "src/lib/form-toolbar.ts", lineNumber: 17 }); })();
|
|
535
542
|
//# sourceMappingURL=form-toolbar.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"form-toolbar.js","sourceRoot":"","sources":["../../src/lib/form-toolbar.ts","../../src/lib/form-toolbar.html"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,KAAK,EAAU,YAAY,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAEnF,OAAO,EAAE,UAAU,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AACtE,OAAO,EAAgB,QAAQ,EAAE,QAAQ,EAAgC,OAAO,EAAE,MAAM,sBAAsB,CAAC;AAE/G,OAAO,EAAW,WAAW,EAAE,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AACxE,OAAO,EAAoB,wBAAwB,EAAc,MAAM,+BAA+B,CAAC;;;;;;;;;;;;;ICF3F,iCAA4E;IAAxD,uMAAS,2BAAoB,KAAC;IAC9C,2BAA+C;IACnD,iBAAS;;;;IAGT,kCAAkF;IAA9D,uMAAS,0BAAmB,IAAI,CAAC,KAAC;IAClD,2BAA6C;IACjD,iBAAS;;;;IAIL,kCAA4E;IAAxD,qNAAS,4BAAqB,KAAC;IAC/C,2BAAsC;IAC1C,iBAAS;;;;IAGT,kCAAwE;IAApD,qNAAS,0BAAmB,KAAC;IAC7C,2BA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gBACf,IAAI,EAAE,IAAI;aACb,CAAC;YAEF,QAAQ,CAAC,QAAQ,CAAC,UAAU,CAAC,KAAK,CAAC,CAAC;QACxC,CAAC;aACI,CAAC;YACF,aAAa,CAAC,QAAQ,CAAC,wBAAwB,CAAC,uBAAuB,EAAE,OAAO,EAAE,IAAI,CAAC,CAAC;QAC5F,CAAC;IACL,CAAC;8GA3VQ,oBAAoB;6DAApB,oBAAoB;gDAGe,UAAU;;;;;;YClB1D,8BAAoE;YAyBpE,AAxBE,4EAAsB,sDAwBjB;YAmBP,yFAA6D;YAqD7D,oGAAgC;YAGhC,yFAAoB;YAYpB,kBAAgE;YAEhE,+FAA4B;YAsB5B,+FAAmD;YAmC/C,4GAAsD;YAQxD,iBAAM;;YAnLuB,iDAAoC;YACjE,cA0CD;YA1CC,4CA0CD;YACD,eAIC;YAJD,8HAIC;YAiDD,cAEC;YAFD,uDAEC;YACD,cASC;YATD,6CASC;YAKD,eAmBC;YAnBD,mDAmBC;YAGD,cAgCK;YAhCL,8EAgCK;YAGD,cAOC;YAPD,iFAOC;;;iFDnKQ,oBAAoB;cANhC,SAAS;6BACI,KAAK,YACL,iBAAiB;;kBAK1B,KAAK;;kBACL,KAAK;;kBACL,YAAY;mBAAC,oBAAoB,EAAE,EAAE,IAAI,EAAE,UAAU,EAAE;;kFAH/C,oBAAoB"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { AfterViewChecked, ChangeDetectorRef } from '@angular/core';
|
|
2
|
-
import { BaseFormComponent } from '@memberjunction/ng-base-forms';
|
|
2
|
+
import { BaseFormComponent, FormWidthMode } from '@memberjunction/ng-base-forms';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
/**
|
|
5
5
|
* Container component that wraps generated forms with consistent structure and styling.
|
|
@@ -12,15 +12,22 @@ import * as i0 from "@angular/core";
|
|
|
12
12
|
*/
|
|
13
13
|
export declare class RecordFormContainerComponent implements AfterViewChecked {
|
|
14
14
|
private cdr;
|
|
15
|
-
record:
|
|
15
|
+
record: unknown;
|
|
16
16
|
formComponent: BaseFormComponent;
|
|
17
17
|
visibleCount: number;
|
|
18
18
|
totalCount: number;
|
|
19
19
|
expandedCount: number;
|
|
20
|
+
widthMode: FormWidthMode;
|
|
20
21
|
private countsInitialized;
|
|
22
|
+
/** Returns true if user has customized the section order */
|
|
23
|
+
get hasCustomOrder(): boolean;
|
|
21
24
|
constructor(cdr: ChangeDetectorRef);
|
|
22
25
|
ngAfterViewChecked(): void;
|
|
23
26
|
onFilterChange(filter: string): void;
|
|
27
|
+
onExpandAll(): void;
|
|
28
|
+
onCollapseAll(): void;
|
|
29
|
+
onWidthModeChange(mode: FormWidthMode): void;
|
|
30
|
+
onResetOrder(): void;
|
|
24
31
|
private updateCounts;
|
|
25
32
|
static ɵfac: i0.ɵɵFactoryDeclaration<RecordFormContainerComponent, never>;
|
|
26
33
|
static ɵcmp: i0.ɵɵComponentDeclaration<RecordFormContainerComponent, "mj-record-form-container", never, { "record": { "alias": "record"; "required": false; }; "formComponent": { "alias": "formComponent"; "required": false; }; }, {}, never, ["[slot='before-panels']", "[slot='field-panels']", "[slot='after-panels']"], false, never>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"record-form-container.component.d.ts","sourceRoot":"","sources":["../../src/lib/record-form-container.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,iBAAiB,EAAuC,MAAM,eAAe,CAAC;AACzG,OAAO,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;;
|
|
1
|
+
{"version":3,"file":"record-form-container.component.d.ts","sourceRoot":"","sources":["../../src/lib/record-form-container.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,iBAAiB,EAAuC,MAAM,eAAe,CAAC;AACzG,OAAO,EAAE,iBAAiB,EAAE,aAAa,EAAE,MAAM,+BAA+B,CAAC;;AAEjF;;;;;;;;GAQG;AACH,qBA2Ca,4BAA6B,YAAW,gBAAgB;IAiBrD,OAAO,CAAC,GAAG;IAhBd,MAAM,EAAE,OAAO,CAAC;IAChB,aAAa,EAAG,iBAAiB,CAAC;IAG3C,YAAY,SAAK;IACjB,UAAU,SAAK;IACf,aAAa,SAAK;IAClB,SAAS,EAAE,aAAa,CAAc;IAEtC,OAAO,CAAC,iBAAiB,CAAS;IAElC,4DAA4D;IAC5D,IAAI,cAAc,IAAI,OAAO,CAE5B;gBAEmB,GAAG,EAAE,iBAAiB;IAE1C,kBAAkB,IAAI,IAAI;IAe1B,cAAc,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI;IAMpC,WAAW,IAAI,IAAI;IAKnB,aAAa,IAAI,IAAI;IAKrB,iBAAiB,CAAC,IAAI,EAAE,aAAa,GAAG,IAAI;IAK5C,YAAY,IAAI,IAAI;IAKpB,OAAO,CAAC,YAAY;yCA5DX,4BAA4B;2CAA5B,4BAA4B;CAmExC"}
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import { Component, Input, ViewEncapsulation } from '@angular/core';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
|
-
import * as i1 from "@angular/
|
|
4
|
-
import * as i2 from "@
|
|
5
|
-
import * as i3 from "
|
|
6
|
-
import * as i4 from "./form-toolbar";
|
|
3
|
+
import * as i1 from "@angular/forms";
|
|
4
|
+
import * as i2 from "@memberjunction/ng-base-forms";
|
|
5
|
+
import * as i3 from "./form-toolbar";
|
|
7
6
|
const _c0 = [[["", "slot", "before-panels"]], [["", "slot", "field-panels"]], [["", "slot", "after-panels"]]];
|
|
8
7
|
const _c1 = ["[slot='before-panels']", "[slot='field-panels']", "[slot='after-panels']"];
|
|
9
|
-
function
|
|
8
|
+
function RecordFormContainerComponent_Conditional_1_Template(rf, ctx) { if (rf & 1) {
|
|
10
9
|
const _r1 = i0.ɵɵgetCurrentView();
|
|
11
|
-
i0.ɵɵelementStart(0, "form",
|
|
12
|
-
i0.ɵɵlistener("expandAll", function
|
|
10
|
+
i0.ɵɵelementStart(0, "form", 2, 0)(2, "mj-form-toolbar", 3)(3, "mj-form-section-controls", 4);
|
|
11
|
+
i0.ɵɵlistener("expandAll", function RecordFormContainerComponent_Conditional_1_Template_mj_form_section_controls_expandAll_3_listener() { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.onExpandAll()); })("collapseAll", function RecordFormContainerComponent_Conditional_1_Template_mj_form_section_controls_collapseAll_3_listener() { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.onCollapseAll()); })("filterChange", function RecordFormContainerComponent_Conditional_1_Template_mj_form_section_controls_filterChange_3_listener($event) { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.onFilterChange($event)); })("showEmptyFieldsChange", function RecordFormContainerComponent_Conditional_1_Template_mj_form_section_controls_showEmptyFieldsChange_3_listener($event) { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.formComponent.showEmptyFields = $event); })("widthModeChange", function RecordFormContainerComponent_Conditional_1_Template_mj_form_section_controls_widthModeChange_3_listener($event) { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.onWidthModeChange($event)); })("resetOrder", function RecordFormContainerComponent_Conditional_1_Template_mj_form_section_controls_resetOrder_3_listener() { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.onResetOrder()); });
|
|
13
12
|
i0.ɵɵelementEnd()();
|
|
14
|
-
i0.ɵɵelementStart(4, "div",
|
|
13
|
+
i0.ɵɵelementStart(4, "div", 5)(5, "div", 6)(6, "div", 7);
|
|
15
14
|
i0.ɵɵprojection(7);
|
|
16
15
|
i0.ɵɵelementEnd();
|
|
17
16
|
i0.ɵɵprojection(8, 1);
|
|
18
|
-
i0.ɵɵ
|
|
19
|
-
i0.ɵɵ
|
|
20
|
-
i0.ɵɵprojection(11, 2);
|
|
17
|
+
i0.ɵɵelementStart(9, "div", 7);
|
|
18
|
+
i0.ɵɵprojection(10, 2);
|
|
21
19
|
i0.ɵɵelementEnd()()()();
|
|
22
20
|
} if (rf & 2) {
|
|
23
21
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
24
22
|
i0.ɵɵadvance(2);
|
|
25
23
|
i0.ɵɵproperty("form", ctx_r1.formComponent);
|
|
26
24
|
i0.ɵɵadvance();
|
|
27
|
-
i0.ɵɵproperty("visibleCount", ctx_r1.visibleCount)("totalCount", ctx_r1.totalCount)("expandedCount", ctx_r1.expandedCount)("searchFilter", ctx_r1.formComponent.searchFilter)("showEmptyFields", ctx_r1.formComponent.showEmptyFields);
|
|
25
|
+
i0.ɵɵproperty("visibleCount", ctx_r1.visibleCount)("totalCount", ctx_r1.totalCount)("expandedCount", ctx_r1.expandedCount)("searchFilter", ctx_r1.formComponent.searchFilter)("showEmptyFields", ctx_r1.formComponent.showEmptyFields)("widthMode", ctx_r1.widthMode)("hasCustomOrder", ctx_r1.hasCustomOrder);
|
|
26
|
+
i0.ɵɵadvance(2);
|
|
27
|
+
i0.ɵɵclassProp("full-width", ctx_r1.widthMode === "full-width");
|
|
28
28
|
} }
|
|
29
29
|
/**
|
|
30
30
|
* Container component that wraps generated forms with consistent structure and styling.
|
|
@@ -43,7 +43,12 @@ export class RecordFormContainerComponent {
|
|
|
43
43
|
visibleCount = 0;
|
|
44
44
|
totalCount = 0;
|
|
45
45
|
expandedCount = 0;
|
|
46
|
+
widthMode = 'centered';
|
|
46
47
|
countsInitialized = false;
|
|
48
|
+
/** Returns true if user has customized the section order */
|
|
49
|
+
get hasCustomOrder() {
|
|
50
|
+
return this.formComponent?.hasCustomSectionOrder() ?? false;
|
|
51
|
+
}
|
|
47
52
|
constructor(cdr) {
|
|
48
53
|
this.cdr = cdr;
|
|
49
54
|
}
|
|
@@ -55,6 +60,8 @@ export class RecordFormContainerComponent {
|
|
|
55
60
|
if (newTotal > 0) {
|
|
56
61
|
this.countsInitialized = true;
|
|
57
62
|
this.updateCounts();
|
|
63
|
+
// Also load persisted width mode
|
|
64
|
+
this.widthMode = this.formComponent.getFormWidthMode();
|
|
58
65
|
this.cdr.detectChanges();
|
|
59
66
|
}
|
|
60
67
|
}
|
|
@@ -64,6 +71,22 @@ export class RecordFormContainerComponent {
|
|
|
64
71
|
// Update counts after filter change
|
|
65
72
|
this.updateCounts();
|
|
66
73
|
}
|
|
74
|
+
onExpandAll() {
|
|
75
|
+
this.formComponent.expandAllSections();
|
|
76
|
+
this.updateCounts();
|
|
77
|
+
}
|
|
78
|
+
onCollapseAll() {
|
|
79
|
+
this.formComponent.collapseAllSections();
|
|
80
|
+
this.updateCounts();
|
|
81
|
+
}
|
|
82
|
+
onWidthModeChange(mode) {
|
|
83
|
+
this.widthMode = mode;
|
|
84
|
+
this.formComponent.setFormWidthMode(mode);
|
|
85
|
+
}
|
|
86
|
+
onResetOrder() {
|
|
87
|
+
this.formComponent.resetSectionOrder();
|
|
88
|
+
this.cdr.detectChanges();
|
|
89
|
+
}
|
|
67
90
|
updateCounts() {
|
|
68
91
|
if (this.formComponent) {
|
|
69
92
|
this.visibleCount = this.formComponent.getVisibleSectionCount();
|
|
@@ -72,55 +95,59 @@ export class RecordFormContainerComponent {
|
|
|
72
95
|
}
|
|
73
96
|
}
|
|
74
97
|
static ɵfac = function RecordFormContainerComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || RecordFormContainerComponent)(i0.ɵɵdirectiveInject(i0.ChangeDetectorRef)); };
|
|
75
|
-
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: RecordFormContainerComponent, selectors: [["mj-record-form-container"]], inputs: { record: "record", formComponent: "formComponent" }, ngContentSelectors: _c1, decls: 2, vars: 1, consts: [["formElement", "ngForm"], [1, "record-form-container"], [
|
|
98
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: RecordFormContainerComponent, selectors: [["mj-record-form-container"]], inputs: { record: "record", formComponent: "formComponent" }, standalone: false, ngContentSelectors: _c1, decls: 2, vars: 1, consts: [["formElement", "ngForm"], [1, "record-form-container"], [1, "record-form"], [3, "form"], ["toolbar-additional-controls", "", 3, "expandAll", "collapseAll", "filterChange", "showEmptyFieldsChange", "widthModeChange", "resetOrder", "visibleCount", "totalCount", "expandedCount", "searchFilter", "showEmptyFields", "widthMode", "hasCustomOrder"], [1, "forms-panel-container-outer"], [1, "form-panels-container"], [1, "related-entity-grid"]], template: function RecordFormContainerComponent_Template(rf, ctx) { if (rf & 1) {
|
|
76
99
|
i0.ɵɵprojectionDef(_c0);
|
|
77
100
|
i0.ɵɵelementStart(0, "div", 1);
|
|
78
|
-
i0.ɵɵ
|
|
101
|
+
i0.ɵɵconditionalCreate(1, RecordFormContainerComponent_Conditional_1_Template, 11, 10, "form", 2);
|
|
79
102
|
i0.ɵɵelementEnd();
|
|
80
103
|
} if (rf & 2) {
|
|
81
104
|
i0.ɵɵadvance();
|
|
82
|
-
i0.ɵɵ
|
|
83
|
-
} }, dependencies: [i1
|
|
105
|
+
i0.ɵɵconditional(ctx.record ? 1 : -1);
|
|
106
|
+
} }, dependencies: [i1.ɵNgNoValidate, i1.NgControlStatusGroup, i1.NgForm, i2.FormSectionControlsComponent, i3.FormToolbarComponent], styles: [".k-pane {\n background-color: #F5F6FA;\n}\n\n.record-form-container {\n height: 100%;\n display: flex;\n flex-direction: column;\n}\n\na {\n font-size: 14px;\n}\n\n.record-form {\n display: flex;\n flex-direction: column;\n background-color: #F5F6FA;\n padding: 0;\n height: 100%;\n min-height: 0; /* Allow flex child to shrink */\n}\n\n.record-form-group {\n margin-top: 0px;\n background-color: #F5F6FA;\n}\n\nbutton {\n margin-right: 5px;\n}\n\n.record-form h2 {\n margin-bottom: 10px;\n}\n\n.k-splitter {\n border-width: 0px;\n}\n\n.record-form-row {\n display: grid;\n grid-template-columns: auto 1fr;\n align-items: start;\n gap: 10px;\n margin-bottom: 12px;\n padding-top: 5px;\n padding-bottom: 5px;\n}\n\n\n/* .record-form .record-form-row:nth-child(odd) {\n background-color: #f2f2f2;\n} */\n\n/*\n.record-form .record-form-row:nth-child(even) {\n background-color: #ffffff;\n} */\n\n.record-form .record-form-row > :first-child {\n font-weight: bold;\n padding-right: 10px;\n}\n\n.record-form .record-form-row > span {\n white-space: pre-line;\n max-height: 300px;\n overflow: auto;\n}\n\n\n\n@media (min-width: 768px) {\n .record-form-row {\n flex-direction: row;\n align-items: center;\n }\n\n .record-form-row label {\n width: 240px;\n margin-bottom: 0;\n }\n}\n\n/* Collapsible Panel Styles */\n.forms-panel-container-outer {\n flex: 1;\n min-height: 0; /* Critical: allows flex item to shrink below content size */\n overflow-y: auto;\n}\n\n.form-panels-container {\n display: flex;\n flex-direction: column;\n gap: 16px;\n padding: 20px;\n background-color: #F5F6FA;\n max-width: 900px;\n margin: 0 auto;\n transition: max-width 0.3s ease;\n}\n\n/* On very wide screens, allow slightly wider forms for better use of space */\n@media (min-width: 1600px) {\n .form-panels-container {\n max-width: 1000px;\n }\n}\n\n/* Full-width mode - removes max-width constraint */\n.form-panels-container.full-width {\n max-width: none;\n}\n\n/* Related entity grid container - treated as regular panels now */\n.form-panels-container .related-entity-grid {\n display: contents; /* Makes children participate in parent grid */\n}\n\n.form-card {\n background: white;\n border-radius: 8px;\n box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);\n overflow: hidden;\n}\n\n.collapsible-card {\n overflow: hidden;\n}\n\n.collapsible-header {\n display: flex;\n align-items: center;\n justify-content: space-between;\n padding: 20px 24px;\n background: linear-gradient(135deg, #f9fafb 0%, #ffffff 100%);\n border-bottom: 2px solid #e5e7eb;\n cursor: pointer;\n user-select: none;\n transition: all 0.3s ease;\n}\n\n.collapsible-header:hover {\n background: linear-gradient(135deg, #f3f4f6 0%, #f9fafb 100%);\n border-bottom-color: #667eea;\n}\n\n.collapsible-title {\n display: flex;\n align-items: center;\n gap: 12px;\n flex: 1;\n}\n\n.collapsible-title i {\n font-size: 20px;\n color: #667eea;\n}\n\n.collapsible-title h3 {\n margin: 0;\n font-size: 18px;\n font-weight: 600;\n color: #1f2937;\n}\n\n.collapsible-header .collapse-icon {\n color: #6b7280;\n transition: transform 0.3s ease;\n}\n\n.collapsible-body {\n max-height: 2000px;\n overflow: hidden;\n transition: max-height 0.4s ease, padding 0.4s ease, opacity 0.3s ease;\n opacity: 1;\n}\n\n.collapsible-body.collapsed {\n max-height: 0;\n padding: 0;\n opacity: 0;\n}\n\n.form-body {\n padding: 24px;\n}\n\n/* Related Entity Sections - Visual Distinction */\n.form-card.related-entity {\n background: linear-gradient(135deg, #f0f9ff 0%, #ffffff 100%);\n border-left: 3px solid #3b82f6;\n}\n\n.form-card.related-entity .collapsible-header {\n background: linear-gradient(135deg, #e0f2fe 0%, #f0f9ff 100%);\n}\n\n.form-card.related-entity .collapsible-header:hover {\n background: linear-gradient(135deg, #bfdbfe 0%, #e0f2fe 100%);\n border-bottom-color: #3b82f6;\n}\n\n.form-card.related-entity .collapsible-title i {\n color: #3b82f6;\n}\n\n/* Section Controls */\n.form-section-controls {\n display: flex;\n gap: 10px;\n padding: 14px 18px;\n background: linear-gradient(135deg, #f9fafb 0%, #ffffff 100%);\n border-bottom: 2px solid #e5e7eb;\n align-items: center;\n flex-wrap: wrap;\n box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);\n}\n\n.form-section-controls .control-group {\n display: flex;\n gap: 8px;\n align-items: center;\n}\n\n.form-section-controls button {\n padding: 8px 14px;\n font-size: 13px;\n border: 1px solid #d1d5db;\n background: white;\n color: #374151;\n border-radius: 6px;\n cursor: pointer;\n transition: all 0.2s;\n margin-right: 0;\n display: inline-flex;\n align-items: center;\n gap: 6px;\n font-weight: 500;\n}\n\n.form-section-controls button:hover {\n background: #667eea;\n color: white;\n border-color: #667eea;\n transform: translateY(-1px);\n box-shadow: 0 2px 4px rgba(102, 126, 234, 0.2);\n}\n\n.form-section-controls button:active {\n transform: translateY(0);\n}\n\n.form-section-controls button i {\n margin-right: 0;\n font-size: 14px;\n}\n\n.form-section-controls .section-search {\n padding: 8px 14px;\n font-size: 13px;\n border: 1px solid #d1d5db;\n border-radius: 6px;\n width: 240px;\n transition: all 0.2s;\n background: white;\n}\n\n.form-section-controls .section-search:focus {\n outline: none;\n border-color: #667eea;\n box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);\n}\n\n.form-section-controls .section-search::placeholder {\n color: #9ca3af;\n font-style: italic;\n}\n\n.form-section-controls .section-count {\n font-size: 13px;\n color: #6b7280;\n margin-left: auto;\n font-weight: 500;\n}\n\n/* Hidden sections for search filter */\n.form-card.search-hidden {\n display: none;\n}\n\n/* Section count badge */\n.section-count-badge {\n background: #667eea;\n color: white;\n padding: 2px 8px;\n border-radius: 12px;\n font-size: 12px;\n font-weight: 600;\n}\n\n/* Row count badge for related entity sections */\n.collapsible-title .row-count-badge {\n background: #10b981;\n color: white;\n padding: 3px 6px 2px 6px;\n border-radius: 12px;\n font-size: 12px;\n font-weight: 600;\n margin-left: 8px;\n vertical-align: middle;\n position: relative;\n top: -2px;\n display: inline-block;\n line-height: 1;\n}\n\n/* Gray badge for zero rows (loaded but empty) */\n.collapsible-title .row-count-badge.zero-rows {\n background: #9ca3af;\n}\n\n/* Search highlighting */\n.collapsible-title h3 .search-highlight {\n background-color: #fef08a;\n color: #854d0e;\n padding: 2px 4px;\n border-radius: 3px;\n font-weight: 700;\n}\n"], encapsulation: 2 });
|
|
84
107
|
}
|
|
85
108
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(RecordFormContainerComponent, [{
|
|
86
109
|
type: Component,
|
|
87
|
-
args: [{ selector: 'mj-record-form-container', encapsulation: ViewEncapsulation.None, template: `
|
|
110
|
+
args: [{ standalone: false, selector: 'mj-record-form-container', encapsulation: ViewEncapsulation.None, template: `
|
|
88
111
|
<div class="record-form-container">
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
112
|
+
@if (record) {
|
|
113
|
+
<form class="record-form" #formElement="ngForm">
|
|
114
|
+
<mj-form-toolbar [form]="formComponent">
|
|
115
|
+
<mj-form-section-controls
|
|
116
|
+
toolbar-additional-controls
|
|
117
|
+
[visibleCount]="visibleCount"
|
|
118
|
+
[totalCount]="totalCount"
|
|
119
|
+
[expandedCount]="expandedCount"
|
|
120
|
+
[searchFilter]="formComponent.searchFilter"
|
|
121
|
+
[showEmptyFields]="formComponent.showEmptyFields"
|
|
122
|
+
[widthMode]="widthMode"
|
|
123
|
+
[hasCustomOrder]="hasCustomOrder"
|
|
124
|
+
(expandAll)="onExpandAll()"
|
|
125
|
+
(collapseAll)="onCollapseAll()"
|
|
126
|
+
(filterChange)="onFilterChange($event)"
|
|
127
|
+
(showEmptyFieldsChange)="formComponent.showEmptyFields = $event"
|
|
128
|
+
(widthModeChange)="onWidthModeChange($event)"
|
|
129
|
+
(resetOrder)="onResetOrder()">
|
|
130
|
+
</mj-form-section-controls>
|
|
131
|
+
</mj-form-toolbar>
|
|
132
|
+
<div class="forms-panel-container-outer">
|
|
133
|
+
<div class="form-panels-container" [class.full-width]="widthMode === 'full-width'">
|
|
134
|
+
<div class="related-entity-grid">
|
|
135
|
+
<ng-content select="[slot='before-panels']"></ng-content>
|
|
136
|
+
</div>
|
|
137
|
+
<ng-content select="[slot='field-panels']"></ng-content>
|
|
138
|
+
<div class="related-entity-grid">
|
|
139
|
+
<ng-content select="[slot='after-panels']"></ng-content>
|
|
140
|
+
</div>
|
|
116
141
|
</div>
|
|
142
|
+
</div>
|
|
117
143
|
</form>
|
|
144
|
+
}
|
|
118
145
|
</div>
|
|
119
|
-
|
|
146
|
+
`, styles: [".k-pane {\n background-color: #F5F6FA;\n}\n\n.record-form-container {\n height: 100%;\n display: flex;\n flex-direction: column;\n}\n\na {\n font-size: 14px;\n}\n\n.record-form {\n display: flex;\n flex-direction: column;\n background-color: #F5F6FA;\n padding: 0;\n height: 100%;\n min-height: 0; /* Allow flex child to shrink */\n}\n\n.record-form-group {\n margin-top: 0px;\n background-color: #F5F6FA;\n}\n\nbutton {\n margin-right: 5px;\n}\n\n.record-form h2 {\n margin-bottom: 10px;\n}\n\n.k-splitter {\n border-width: 0px;\n}\n\n.record-form-row {\n display: grid;\n grid-template-columns: auto 1fr;\n align-items: start;\n gap: 10px;\n margin-bottom: 12px;\n padding-top: 5px;\n padding-bottom: 5px;\n}\n\n\n/* .record-form .record-form-row:nth-child(odd) {\n background-color: #f2f2f2;\n} */\n\n/*\n.record-form .record-form-row:nth-child(even) {\n background-color: #ffffff;\n} */\n\n.record-form .record-form-row > :first-child {\n font-weight: bold;\n padding-right: 10px;\n}\n\n.record-form .record-form-row > span {\n white-space: pre-line;\n max-height: 300px;\n overflow: auto;\n}\n\n\n\n@media (min-width: 768px) {\n .record-form-row {\n flex-direction: row;\n align-items: center;\n }\n\n .record-form-row label {\n width: 240px;\n margin-bottom: 0;\n }\n}\n\n/* Collapsible Panel Styles */\n.forms-panel-container-outer {\n flex: 1;\n min-height: 0; /* Critical: allows flex item to shrink below content size */\n overflow-y: auto;\n}\n\n.form-panels-container {\n display: flex;\n flex-direction: column;\n gap: 16px;\n padding: 20px;\n background-color: #F5F6FA;\n max-width: 900px;\n margin: 0 auto;\n transition: max-width 0.3s ease;\n}\n\n/* On very wide screens, allow slightly wider forms for better use of space */\n@media (min-width: 1600px) {\n .form-panels-container {\n max-width: 1000px;\n }\n}\n\n/* Full-width mode - removes max-width constraint */\n.form-panels-container.full-width {\n max-width: none;\n}\n\n/* Related entity grid container - treated as regular panels now */\n.form-panels-container .related-entity-grid {\n display: contents; /* Makes children participate in parent grid */\n}\n\n.form-card {\n background: white;\n border-radius: 8px;\n box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);\n overflow: hidden;\n}\n\n.collapsible-card {\n overflow: hidden;\n}\n\n.collapsible-header {\n display: flex;\n align-items: center;\n justify-content: space-between;\n padding: 20px 24px;\n background: linear-gradient(135deg, #f9fafb 0%, #ffffff 100%);\n border-bottom: 2px solid #e5e7eb;\n cursor: pointer;\n user-select: none;\n transition: all 0.3s ease;\n}\n\n.collapsible-header:hover {\n background: linear-gradient(135deg, #f3f4f6 0%, #f9fafb 100%);\n border-bottom-color: #667eea;\n}\n\n.collapsible-title {\n display: flex;\n align-items: center;\n gap: 12px;\n flex: 1;\n}\n\n.collapsible-title i {\n font-size: 20px;\n color: #667eea;\n}\n\n.collapsible-title h3 {\n margin: 0;\n font-size: 18px;\n font-weight: 600;\n color: #1f2937;\n}\n\n.collapsible-header .collapse-icon {\n color: #6b7280;\n transition: transform 0.3s ease;\n}\n\n.collapsible-body {\n max-height: 2000px;\n overflow: hidden;\n transition: max-height 0.4s ease, padding 0.4s ease, opacity 0.3s ease;\n opacity: 1;\n}\n\n.collapsible-body.collapsed {\n max-height: 0;\n padding: 0;\n opacity: 0;\n}\n\n.form-body {\n padding: 24px;\n}\n\n/* Related Entity Sections - Visual Distinction */\n.form-card.related-entity {\n background: linear-gradient(135deg, #f0f9ff 0%, #ffffff 100%);\n border-left: 3px solid #3b82f6;\n}\n\n.form-card.related-entity .collapsible-header {\n background: linear-gradient(135deg, #e0f2fe 0%, #f0f9ff 100%);\n}\n\n.form-card.related-entity .collapsible-header:hover {\n background: linear-gradient(135deg, #bfdbfe 0%, #e0f2fe 100%);\n border-bottom-color: #3b82f6;\n}\n\n.form-card.related-entity .collapsible-title i {\n color: #3b82f6;\n}\n\n/* Section Controls */\n.form-section-controls {\n display: flex;\n gap: 10px;\n padding: 14px 18px;\n background: linear-gradient(135deg, #f9fafb 0%, #ffffff 100%);\n border-bottom: 2px solid #e5e7eb;\n align-items: center;\n flex-wrap: wrap;\n box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);\n}\n\n.form-section-controls .control-group {\n display: flex;\n gap: 8px;\n align-items: center;\n}\n\n.form-section-controls button {\n padding: 8px 14px;\n font-size: 13px;\n border: 1px solid #d1d5db;\n background: white;\n color: #374151;\n border-radius: 6px;\n cursor: pointer;\n transition: all 0.2s;\n margin-right: 0;\n display: inline-flex;\n align-items: center;\n gap: 6px;\n font-weight: 500;\n}\n\n.form-section-controls button:hover {\n background: #667eea;\n color: white;\n border-color: #667eea;\n transform: translateY(-1px);\n box-shadow: 0 2px 4px rgba(102, 126, 234, 0.2);\n}\n\n.form-section-controls button:active {\n transform: translateY(0);\n}\n\n.form-section-controls button i {\n margin-right: 0;\n font-size: 14px;\n}\n\n.form-section-controls .section-search {\n padding: 8px 14px;\n font-size: 13px;\n border: 1px solid #d1d5db;\n border-radius: 6px;\n width: 240px;\n transition: all 0.2s;\n background: white;\n}\n\n.form-section-controls .section-search:focus {\n outline: none;\n border-color: #667eea;\n box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);\n}\n\n.form-section-controls .section-search::placeholder {\n color: #9ca3af;\n font-style: italic;\n}\n\n.form-section-controls .section-count {\n font-size: 13px;\n color: #6b7280;\n margin-left: auto;\n font-weight: 500;\n}\n\n/* Hidden sections for search filter */\n.form-card.search-hidden {\n display: none;\n}\n\n/* Section count badge */\n.section-count-badge {\n background: #667eea;\n color: white;\n padding: 2px 8px;\n border-radius: 12px;\n font-size: 12px;\n font-weight: 600;\n}\n\n/* Row count badge for related entity sections */\n.collapsible-title .row-count-badge {\n background: #10b981;\n color: white;\n padding: 3px 6px 2px 6px;\n border-radius: 12px;\n font-size: 12px;\n font-weight: 600;\n margin-left: 8px;\n vertical-align: middle;\n position: relative;\n top: -2px;\n display: inline-block;\n line-height: 1;\n}\n\n/* Gray badge for zero rows (loaded but empty) */\n.collapsible-title .row-count-badge.zero-rows {\n background: #9ca3af;\n}\n\n/* Search highlighting */\n.collapsible-title h3 .search-highlight {\n background-color: #fef08a;\n color: #854d0e;\n padding: 2px 4px;\n border-radius: 3px;\n font-weight: 700;\n}\n"] }]
|
|
120
147
|
}], () => [{ type: i0.ChangeDetectorRef }], { record: [{
|
|
121
148
|
type: Input
|
|
122
149
|
}], formComponent: [{
|
|
123
150
|
type: Input
|
|
124
151
|
}] }); })();
|
|
125
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(RecordFormContainerComponent, { className: "RecordFormContainerComponent", filePath: "src/lib/record-form-container.component.ts", lineNumber:
|
|
152
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(RecordFormContainerComponent, { className: "RecordFormContainerComponent", filePath: "src/lib/record-form-container.component.ts", lineNumber: 56 }); })();
|
|
126
153
|
//# sourceMappingURL=record-form-container.component.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"record-form-container.component.js","sourceRoot":"","sources":["../../src/lib/record-form-container.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAuC,SAAS,EAAE,KAAK,EAAE,iBAAiB,EAAE,MAAM,eAAe,CAAC
|
|
1
|
+
{"version":3,"file":"record-form-container.component.js","sourceRoot":"","sources":["../../src/lib/record-form-container.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAuC,SAAS,EAAE,KAAK,EAAE,iBAAiB,EAAE,MAAM,eAAe,CAAC;;;;;;;;;IAqBzF,AADF,AADF,kCAAgD,yBACN,kCAeN;IAA9B,AADA,AADA,AADA,AADA,AADA,0NAAa,oBAAa,KAAC,iNACZ,sBAAe,KAAC,yNACf,6BAAsB,KAAC,6RACyB,+NAC7C,gCAAyB,KAAC,+MAC/B,qBAAc,KAAC;IAEjC,AADE,iBAA2B,EACX;IAGd,AADF,AADF,8BA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|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@memberjunction/ng-form-toolbar",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "4.0.0",
|
|
4
4
|
"description": "MemberJunction: Angular Form Toolbar",
|
|
5
5
|
"main": "./dist/public-api.js",
|
|
6
6
|
"typings": "./dist/public-api.d.ts",
|
|
@@ -15,30 +15,30 @@
|
|
|
15
15
|
"author": "",
|
|
16
16
|
"license": "ISC",
|
|
17
17
|
"devDependencies": {
|
|
18
|
-
"@angular/compiler": "
|
|
19
|
-
"@angular/compiler-cli": "
|
|
18
|
+
"@angular/compiler": "21.1.3",
|
|
19
|
+
"@angular/compiler-cli": "21.1.3"
|
|
20
20
|
},
|
|
21
21
|
"peerDependencies": {
|
|
22
|
-
"@angular/common": "
|
|
23
|
-
"@angular/core": "
|
|
24
|
-
"@angular/forms": "
|
|
25
|
-
"@angular/router": "
|
|
22
|
+
"@angular/common": "21.1.3",
|
|
23
|
+
"@angular/core": "21.1.3",
|
|
24
|
+
"@angular/forms": "21.1.3",
|
|
25
|
+
"@angular/router": "21.1.3"
|
|
26
26
|
},
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@memberjunction/core": "
|
|
29
|
-
"@memberjunction/core-entities": "
|
|
30
|
-
"@memberjunction/global": "
|
|
31
|
-
"@memberjunction/ng-base-forms": "
|
|
32
|
-
"@memberjunction/ng-container-directives": "
|
|
33
|
-
"@memberjunction/ng-record-changes": "
|
|
34
|
-
"@memberjunction/ng-list-management": "
|
|
35
|
-
"@memberjunction/ng-shared": "
|
|
36
|
-
"@progress/kendo-angular-buttons": "
|
|
37
|
-
"@progress/kendo-angular-dialog": "
|
|
38
|
-
"@progress/kendo-angular-indicators": "
|
|
39
|
-
"@progress/kendo-angular-inputs": "
|
|
40
|
-
"@memberjunction/ng-markdown": "
|
|
41
|
-
"tslib": "^2.
|
|
28
|
+
"@memberjunction/core": "4.0.0",
|
|
29
|
+
"@memberjunction/core-entities": "4.0.0",
|
|
30
|
+
"@memberjunction/global": "4.0.0",
|
|
31
|
+
"@memberjunction/ng-base-forms": "4.0.0",
|
|
32
|
+
"@memberjunction/ng-container-directives": "4.0.0",
|
|
33
|
+
"@memberjunction/ng-record-changes": "4.0.0",
|
|
34
|
+
"@memberjunction/ng-list-management": "4.0.0",
|
|
35
|
+
"@memberjunction/ng-shared": "4.0.0",
|
|
36
|
+
"@progress/kendo-angular-buttons": "22.0.1",
|
|
37
|
+
"@progress/kendo-angular-dialog": "22.0.1",
|
|
38
|
+
"@progress/kendo-angular-indicators": "22.0.1",
|
|
39
|
+
"@progress/kendo-angular-inputs": "22.0.1",
|
|
40
|
+
"@memberjunction/ng-markdown": "4.0.0",
|
|
41
|
+
"tslib": "^2.8.1"
|
|
42
42
|
},
|
|
43
43
|
"sideEffects": false,
|
|
44
44
|
"repository": {
|