@memberjunction/ng-form-toolbar 2.125.0 → 2.126.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 +63 -84
- package/dist/lib/form-toolbar.js.map +1 -1
- package/dist/module.d.ts +4 -5
- package/dist/module.d.ts.map +1 -1
- package/dist/module.js +5 -9
- package/dist/module.js.map +1 -1
- package/package.json +9 -10
package/README.md
CHANGED
|
@@ -33,7 +33,7 @@ npm install @memberjunction/ng-form-toolbar
|
|
|
33
33
|
- @memberjunction/ng-container-directives ^2.43.0
|
|
34
34
|
- @progress/kendo-angular-buttons ^16.2.0
|
|
35
35
|
- @progress/kendo-angular-dialog ^16.2.0
|
|
36
|
-
-
|
|
36
|
+
- @memberjunction/ng-markdown ^2.125.0
|
|
37
37
|
|
|
38
38
|
## Usage
|
|
39
39
|
|
|
@@ -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,
|
|
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,EAAwC,MAAM,sBAAsB,CAAC;AAC1F,OAAO,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAC;AAEzC,OAAO,EAAoB,UAAU,EAAE,MAAM,+BAA+B,CAAC;;AAG7E,qBAKa,oBAAqB,YAAW,MAAM;IA6C5B,OAAO,CAAC,MAAM;IA5CxB,kBAAkB,EAAE,OAAO,CAAQ;IACnC,IAAI,EAAG,iBAAiB,CAAC;IACwB,kBAAkB,CAAC,EAAE,UAAU,CAAC;IAE1F,IAAW,qBAAqB,IAAI,OAAO,CAE1C;IAGD;;OAEG;IACI,QAAQ,EAAE,OAAO,CAAS;IAEjC;;OAEG;IACH,IAAW,iBAAiB,IAAI,OAAO,CAEtC;IAEM,iBAAiB,EAAE,OAAO,CAAS;IACnC,oBAAoB,EAAE,OAAO,CAAS;IACtC,cAAc,EAAE,UAAU,EAAE,CAAM;IAClC,aAAa,EAAE,UAAU,EAAE,CAAM;IAExC;;OAEG;IACI,kBAAkB,EAAE,OAAO,CAAS;IAE3C;;OAEG;IACI,oBAAoB,EAAE,OAAO,CAAS;IAC7C;;OAEG;IACI,sBAAsB,EAAE,OAAO,CAAS;IAE/C,IAAW,sBAAsB,IAAI,YAAY,CAEhD;gBAE0B,MAAM,EAAE,MAAM;IAG5B,QAAQ,IAAI,OAAO,CAAC,IAAI,CAAC;IAGzB,kBAAkB,CAAC,KAAK,EAAE,UAAU;IAkEjD;;OAEG;IACI,YAAY,IAAI,IAAI;IAKpB,kBAAkB,CAAC,IAAI,EAAE,OAAO,GAAG,IAAI;IAIjC,gBAAgB,CAAC,IAAI,EAAE,OAAO,GAAG,OAAO,CAAC,IAAI,CAAC;IAS9C,eAAe,CAAC,IAAI,EAAE,UAAU,GAAG,OAAO,CAAC,IAAI,CAAC;IAuBhD,YAAY,IAAI,OAAO,CAAC,IAAI,CAAC;yCAjKjC,oBAAoB;2CAApB,oBAAoB;CAiMhC"}
|
package/dist/lib/form-toolbar.js
CHANGED
|
@@ -8,46 +8,45 @@ import * as i2 from "@angular/common";
|
|
|
8
8
|
import * as i3 from "@memberjunction/ng-record-changes";
|
|
9
9
|
import * as i4 from "@progress/kendo-angular-buttons";
|
|
10
10
|
import * as i5 from "@progress/kendo-angular-dialog";
|
|
11
|
-
import * as i6 from "@memberjunction/ng-ask-skip";
|
|
12
11
|
const _c0 = ["additionalControls"];
|
|
13
12
|
const _c1 = [[["", "toolbar-additional-controls", ""]]];
|
|
14
13
|
const _c2 = ["[toolbar-additional-controls]"];
|
|
15
14
|
function FormToolbarComponent_Conditional_1_Conditional_0_Template(rf, ctx) { if (rf & 1) {
|
|
16
15
|
const _r1 = i0.ɵɵgetCurrentView();
|
|
17
|
-
i0.ɵɵelementStart(0, "button",
|
|
16
|
+
i0.ɵɵelementStart(0, "button", 8);
|
|
18
17
|
i0.ɵɵlistener("click", function FormToolbarComponent_Conditional_1_Conditional_0_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.form.StartEditMode()); });
|
|
19
|
-
i0.ɵɵelement(1, "span",
|
|
18
|
+
i0.ɵɵelement(1, "span", 9);
|
|
20
19
|
i0.ɵɵelementEnd();
|
|
21
20
|
} }
|
|
22
21
|
function FormToolbarComponent_Conditional_1_Conditional_1_Template(rf, ctx) { if (rf & 1) {
|
|
23
22
|
const _r3 = i0.ɵɵgetCurrentView();
|
|
24
|
-
i0.ɵɵelementStart(0, "button",
|
|
23
|
+
i0.ɵɵelementStart(0, "button", 10);
|
|
25
24
|
i0.ɵɵlistener("click", function FormToolbarComponent_Conditional_1_Conditional_1_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r3); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.toggleDeleteDialog(true)); });
|
|
26
|
-
i0.ɵɵelement(1, "span",
|
|
25
|
+
i0.ɵɵelement(1, "span", 11);
|
|
27
26
|
i0.ɵɵelementEnd();
|
|
28
27
|
} }
|
|
29
28
|
function FormToolbarComponent_Conditional_1_Conditional_2_Conditional_0_Template(rf, ctx) { if (rf & 1) {
|
|
30
29
|
const _r4 = i0.ɵɵgetCurrentView();
|
|
31
|
-
i0.ɵɵelementStart(0, "button",
|
|
30
|
+
i0.ɵɵelementStart(0, "button", 14);
|
|
32
31
|
i0.ɵɵlistener("click", function FormToolbarComponent_Conditional_1_Conditional_2_Conditional_0_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r4); const ctx_r1 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r1.form.RemoveFavorite()); });
|
|
33
|
-
i0.ɵɵelement(1, "span",
|
|
32
|
+
i0.ɵɵelement(1, "span", 15);
|
|
34
33
|
i0.ɵɵelementEnd();
|
|
35
34
|
} }
|
|
36
35
|
function FormToolbarComponent_Conditional_1_Conditional_2_Conditional_1_Template(rf, ctx) { if (rf & 1) {
|
|
37
36
|
const _r5 = i0.ɵɵgetCurrentView();
|
|
38
|
-
i0.ɵɵelementStart(0, "button",
|
|
37
|
+
i0.ɵɵelementStart(0, "button", 16);
|
|
39
38
|
i0.ɵɵlistener("click", function FormToolbarComponent_Conditional_1_Conditional_2_Conditional_1_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r5); const ctx_r1 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r1.form.MakeFavorite()); });
|
|
40
|
-
i0.ɵɵelement(1, "span",
|
|
39
|
+
i0.ɵɵelement(1, "span", 17);
|
|
41
40
|
i0.ɵɵelementEnd();
|
|
42
41
|
} }
|
|
43
42
|
function FormToolbarComponent_Conditional_1_Conditional_2_Template(rf, ctx) { if (rf & 1) {
|
|
44
|
-
i0.ɵɵtemplate(0, FormToolbarComponent_Conditional_1_Conditional_2_Conditional_0_Template, 2, 0, "button",
|
|
43
|
+
i0.ɵɵtemplate(0, FormToolbarComponent_Conditional_1_Conditional_2_Conditional_0_Template, 2, 0, "button", 12)(1, FormToolbarComponent_Conditional_1_Conditional_2_Conditional_1_Template, 2, 0, "button", 13);
|
|
45
44
|
} if (rf & 2) {
|
|
46
45
|
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
47
46
|
i0.ɵɵconditional(ctx_r1.form.IsFavorite ? 0 : 1);
|
|
48
47
|
} }
|
|
49
48
|
function FormToolbarComponent_Conditional_1_Template(rf, ctx) { if (rf & 1) {
|
|
50
|
-
i0.ɵɵtemplate(0, FormToolbarComponent_Conditional_1_Conditional_0_Template, 2, 0, "button",
|
|
49
|
+
i0.ɵɵtemplate(0, FormToolbarComponent_Conditional_1_Conditional_0_Template, 2, 0, "button", 6)(1, FormToolbarComponent_Conditional_1_Conditional_1_Template, 2, 0, "button", 7)(2, FormToolbarComponent_Conditional_1_Conditional_2_Template, 2, 1);
|
|
51
50
|
} if (rf & 2) {
|
|
52
51
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
53
52
|
i0.ɵɵconditional(ctx_r1.form.UserCanEdit ? 0 : -1);
|
|
@@ -58,31 +57,31 @@ function FormToolbarComponent_Conditional_1_Template(rf, ctx) { if (rf & 1) {
|
|
|
58
57
|
} }
|
|
59
58
|
function FormToolbarComponent_Conditional_2_Conditional_4_Template(rf, ctx) { if (rf & 1) {
|
|
60
59
|
const _r7 = i0.ɵɵgetCurrentView();
|
|
61
|
-
i0.ɵɵelementStart(0, "button",
|
|
60
|
+
i0.ɵɵelementStart(0, "button", 23);
|
|
62
61
|
i0.ɵɵlistener("click", function FormToolbarComponent_Conditional_2_Conditional_4_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r7); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.form.CancelEdit()); });
|
|
63
|
-
i0.ɵɵelement(1, "span",
|
|
64
|
-
i0.ɵɵelementStart(2, "span",
|
|
62
|
+
i0.ɵɵelement(1, "span", 24);
|
|
63
|
+
i0.ɵɵelementStart(2, "span", 20);
|
|
65
64
|
i0.ɵɵtext(3, "Cancel");
|
|
66
65
|
i0.ɵɵelementEnd()();
|
|
67
66
|
} }
|
|
68
67
|
function FormToolbarComponent_Conditional_2_Conditional_5_Template(rf, ctx) { if (rf & 1) {
|
|
69
68
|
const _r8 = i0.ɵɵgetCurrentView();
|
|
70
|
-
i0.ɵɵelementStart(0, "button",
|
|
69
|
+
i0.ɵɵelementStart(0, "button", 25);
|
|
71
70
|
i0.ɵɵlistener("click", function FormToolbarComponent_Conditional_2_Conditional_5_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r8); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.form.ShowChanges()); });
|
|
72
|
-
i0.ɵɵelement(1, "span",
|
|
73
|
-
i0.ɵɵelementStart(2, "span",
|
|
71
|
+
i0.ɵɵelement(1, "span", 26);
|
|
72
|
+
i0.ɵɵelementStart(2, "span", 20);
|
|
74
73
|
i0.ɵɵtext(3, "Changes");
|
|
75
74
|
i0.ɵɵelementEnd()();
|
|
76
75
|
} }
|
|
77
76
|
function FormToolbarComponent_Conditional_2_Template(rf, ctx) { if (rf & 1) {
|
|
78
77
|
const _r6 = i0.ɵɵgetCurrentView();
|
|
79
|
-
i0.ɵɵelementStart(0, "button",
|
|
78
|
+
i0.ɵɵelementStart(0, "button", 18);
|
|
80
79
|
i0.ɵɵlistener("mouseup", function FormToolbarComponent_Conditional_2_Template_button_mouseup_0_listener($event) { i0.ɵɵrestoreView(_r6); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.saveExistingRecord($event)); });
|
|
81
|
-
i0.ɵɵelement(1, "span",
|
|
82
|
-
i0.ɵɵelementStart(2, "span",
|
|
80
|
+
i0.ɵɵelement(1, "span", 19);
|
|
81
|
+
i0.ɵɵelementStart(2, "span", 20);
|
|
83
82
|
i0.ɵɵtext(3, "Save");
|
|
84
83
|
i0.ɵɵelementEnd()();
|
|
85
|
-
i0.ɵɵtemplate(4, FormToolbarComponent_Conditional_2_Conditional_4_Template, 4, 0, "button",
|
|
84
|
+
i0.ɵɵtemplate(4, FormToolbarComponent_Conditional_2_Conditional_4_Template, 4, 0, "button", 21)(5, FormToolbarComponent_Conditional_2_Conditional_5_Template, 4, 0, "button", 22);
|
|
86
85
|
} if (rf & 2) {
|
|
87
86
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
88
87
|
i0.ɵɵadvance(4);
|
|
@@ -92,87 +91,71 @@ function FormToolbarComponent_Conditional_2_Template(rf, ctx) { if (rf & 1) {
|
|
|
92
91
|
} }
|
|
93
92
|
function FormToolbarComponent_Conditional_3_Template(rf, ctx) { if (rf & 1) {
|
|
94
93
|
const _r9 = i0.ɵɵgetCurrentView();
|
|
95
|
-
i0.ɵɵelementStart(0, "button",
|
|
94
|
+
i0.ɵɵelementStart(0, "button", 27);
|
|
96
95
|
i0.ɵɵlistener("click", function FormToolbarComponent_Conditional_3_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r9); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.form.handleHistoryDialog()); });
|
|
97
|
-
i0.ɵɵelement(1, "span",
|
|
96
|
+
i0.ɵɵelement(1, "span", 28);
|
|
98
97
|
i0.ɵɵelementEnd();
|
|
99
98
|
} }
|
|
100
99
|
function FormToolbarComponent_Conditional_4_Template(rf, ctx) { if (rf & 1) {
|
|
101
100
|
const _r10 = i0.ɵɵgetCurrentView();
|
|
102
|
-
i0.ɵɵelementStart(0, "
|
|
103
|
-
i0.ɵɵlistener("
|
|
104
|
-
i0.ɵɵelement(1, "span", 33);
|
|
105
|
-
i0.ɵɵelementEnd();
|
|
106
|
-
} }
|
|
107
|
-
function FormToolbarComponent_Conditional_5_Template(rf, ctx) { if (rf & 1) {
|
|
108
|
-
const _r11 = i0.ɵɵgetCurrentView();
|
|
109
|
-
i0.ɵɵelementStart(0, "mj-skip-chat-with-record-window", 34, 0);
|
|
110
|
-
i0.ɵɵlistener("WindowClosed", function FormToolbarComponent_Conditional_5_Template_mj_skip_chat_with_record_window_WindowClosed_0_listener() { i0.ɵɵrestoreView(_r11); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.ShowSkipChat()); });
|
|
111
|
-
i0.ɵɵelementEnd();
|
|
112
|
-
} if (rf & 2) {
|
|
113
|
-
const ctx_r1 = i0.ɵɵnextContext();
|
|
114
|
-
i0.ɵɵproperty("LinkedEntityID", ctx_r1.form.EntityInfo.ID)("LinkedEntityPrimaryKey", ctx_r1.LinkedEntityPrimaryKey)("WindowOpened", ctx_r1._skipChatDialogVisible);
|
|
115
|
-
} }
|
|
116
|
-
function FormToolbarComponent_Conditional_6_Template(rf, ctx) { if (rf & 1) {
|
|
117
|
-
const _r12 = i0.ɵɵgetCurrentView();
|
|
118
|
-
i0.ɵɵelementStart(0, "mj-record-changes", 35);
|
|
119
|
-
i0.ɵɵlistener("dialogClosed", function FormToolbarComponent_Conditional_6_Template_mj_record_changes_dialogClosed_0_listener() { i0.ɵɵrestoreView(_r12); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.form.handleHistoryDialog()); });
|
|
101
|
+
i0.ɵɵelementStart(0, "mj-record-changes", 29);
|
|
102
|
+
i0.ɵɵlistener("dialogClosed", function FormToolbarComponent_Conditional_4_Template_mj_record_changes_dialogClosed_0_listener() { i0.ɵɵrestoreView(_r10); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.form.handleHistoryDialog()); });
|
|
120
103
|
i0.ɵɵelementEnd();
|
|
121
104
|
} if (rf & 2) {
|
|
122
105
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
123
106
|
i0.ɵɵproperty("record", ctx_r1.form.record);
|
|
124
107
|
} }
|
|
125
|
-
function
|
|
126
|
-
const
|
|
127
|
-
i0.ɵɵelementStart(0, "button",
|
|
128
|
-
i0.ɵɵlistener("click", function
|
|
129
|
-
i0.ɵɵelement(1, "span",
|
|
108
|
+
function FormToolbarComponent_Conditional_5_Template(rf, ctx) { if (rf & 1) {
|
|
109
|
+
const _r11 = i0.ɵɵgetCurrentView();
|
|
110
|
+
i0.ɵɵelementStart(0, "button", 30);
|
|
111
|
+
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)); });
|
|
112
|
+
i0.ɵɵelement(1, "span", 31);
|
|
130
113
|
i0.ɵɵelementEnd();
|
|
131
114
|
} }
|
|
132
|
-
function
|
|
133
|
-
const
|
|
134
|
-
i0.ɵɵelementStart(0, "kendo-dialog",
|
|
135
|
-
i0.ɵɵlistener("close", function
|
|
136
|
-
i0.ɵɵelementStart(1, "p",
|
|
115
|
+
function FormToolbarComponent_kendo_dialog_7_Template(rf, ctx) { if (rf & 1) {
|
|
116
|
+
const _r12 = i0.ɵɵgetCurrentView();
|
|
117
|
+
i0.ɵɵelementStart(0, "kendo-dialog", 32);
|
|
118
|
+
i0.ɵɵlistener("close", function FormToolbarComponent_kendo_dialog_7_Template_kendo_dialog_close_0_listener() { i0.ɵɵrestoreView(_r12); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.toggleDeleteDialog(false)); });
|
|
119
|
+
i0.ɵɵelementStart(1, "p", 33);
|
|
137
120
|
i0.ɵɵtext(2, " Are you sure you want to delete this record? ");
|
|
138
121
|
i0.ɵɵelementEnd();
|
|
139
|
-
i0.ɵɵelementStart(3, "kendo-dialog-actions",
|
|
140
|
-
i0.ɵɵlistener("click", function
|
|
122
|
+
i0.ɵɵelementStart(3, "kendo-dialog-actions", 34)(4, "button", 35);
|
|
123
|
+
i0.ɵɵlistener("click", function FormToolbarComponent_kendo_dialog_7_Template_button_click_4_listener() { i0.ɵɵrestoreView(_r12); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.deleteRecord()); });
|
|
141
124
|
i0.ɵɵtext(5, " Yes, Delete ");
|
|
142
125
|
i0.ɵɵelementEnd();
|
|
143
|
-
i0.ɵɵelementStart(6, "button",
|
|
144
|
-
i0.ɵɵlistener("click", function
|
|
126
|
+
i0.ɵɵelementStart(6, "button", 36);
|
|
127
|
+
i0.ɵɵlistener("click", function FormToolbarComponent_kendo_dialog_7_Template_button_click_6_listener() { i0.ɵɵrestoreView(_r12); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.toggleDeleteDialog(false)); });
|
|
145
128
|
i0.ɵɵtext(7, " No, Cancel ");
|
|
146
129
|
i0.ɵɵelementEnd()()();
|
|
147
130
|
} if (rf & 2) {
|
|
148
131
|
i0.ɵɵproperty("minWidth", 450)("width", 650);
|
|
149
132
|
} }
|
|
150
|
-
function
|
|
151
|
-
const
|
|
152
|
-
i0.ɵɵelementStart(0, "div",
|
|
133
|
+
function FormToolbarComponent_kendo_dialog_8_For_3_Template(rf, ctx) { if (rf & 1) {
|
|
134
|
+
const _r14 = i0.ɵɵgetCurrentView();
|
|
135
|
+
i0.ɵɵelementStart(0, "div", 38)(1, "div", 39)(2, "div", 40);
|
|
153
136
|
i0.ɵɵtext(3);
|
|
154
137
|
i0.ɵɵelementEnd();
|
|
155
|
-
i0.ɵɵelementStart(4, "button",
|
|
156
|
-
i0.ɵɵlistener("click", function
|
|
157
|
-
i0.ɵɵelementStart(5, "div",
|
|
158
|
-
i0.ɵɵelement(6, "span",
|
|
138
|
+
i0.ɵɵelementStart(4, "button", 41);
|
|
139
|
+
i0.ɵɵlistener("click", function FormToolbarComponent_kendo_dialog_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)); });
|
|
140
|
+
i0.ɵɵelementStart(5, "div", 42);
|
|
141
|
+
i0.ɵɵelement(6, "span", 43);
|
|
159
142
|
i0.ɵɵtext(7, " Add ");
|
|
160
143
|
i0.ɵɵelementEnd()()();
|
|
161
144
|
i0.ɵɵelement(8, "hr");
|
|
162
145
|
i0.ɵɵelementEnd();
|
|
163
146
|
} if (rf & 2) {
|
|
164
|
-
const
|
|
147
|
+
const list_r15 = ctx.$implicit;
|
|
165
148
|
i0.ɵɵadvance(3);
|
|
166
|
-
i0.ɵɵtextInterpolate1(" ",
|
|
149
|
+
i0.ɵɵtextInterpolate1(" ", list_r15.Name, " ");
|
|
167
150
|
} }
|
|
168
|
-
function
|
|
169
|
-
const
|
|
170
|
-
i0.ɵɵelementStart(0, "kendo-dialog",
|
|
171
|
-
i0.ɵɵlistener("close", function
|
|
151
|
+
function FormToolbarComponent_kendo_dialog_8_Template(rf, ctx) { if (rf & 1) {
|
|
152
|
+
const _r13 = i0.ɵɵgetCurrentView();
|
|
153
|
+
i0.ɵɵelementStart(0, "kendo-dialog", 37);
|
|
154
|
+
i0.ɵɵlistener("close", function FormToolbarComponent_kendo_dialog_8_Template_kendo_dialog_close_0_listener() { i0.ɵɵrestoreView(_r13); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.toggleListDialog(false)); });
|
|
172
155
|
i0.ɵɵelement(1, "hr");
|
|
173
|
-
i0.ɵɵrepeaterCreate(2,
|
|
174
|
-
i0.ɵɵelementStart(4, "kendo-dialog-actions",
|
|
175
|
-
i0.ɵɵlistener("click", function
|
|
156
|
+
i0.ɵɵrepeaterCreate(2, FormToolbarComponent_kendo_dialog_8_For_3_Template, 9, 1, "div", 38, i0.ɵɵrepeaterTrackByIdentity);
|
|
157
|
+
i0.ɵɵelementStart(4, "kendo-dialog-actions", 34)(5, "button", 36);
|
|
158
|
+
i0.ɵɵlistener("click", function FormToolbarComponent_kendo_dialog_8_Template_button_click_5_listener() { i0.ɵɵrestoreView(_r13); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.toggleListDialog(false)); });
|
|
176
159
|
i0.ɵɵtext(6, " Close ");
|
|
177
160
|
i0.ɵɵelementEnd()()();
|
|
178
161
|
} if (rf & 2) {
|
|
@@ -346,12 +329,12 @@ export class FormToolbarComponent {
|
|
|
346
329
|
} if (rf & 2) {
|
|
347
330
|
let _t;
|
|
348
331
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.additionalControls = _t.first);
|
|
349
|
-
} }, inputs: { ShowSkipChatButton: "ShowSkipChatButton", form: "form" }, ngContentSelectors: _c2, decls:
|
|
332
|
+
} }, inputs: { ShowSkipChatButton: "ShowSkipChatButton", form: "form" }, ngContentSelectors: _c2, decls: 9, vars: 8, consts: [[1, "toolbar-container"], ["kendoButton", "", "title", "Show History"], [3, "record"], ["kendoButton", "", "title", "Add this record to a list"], ["class", "dialog-wrapper", "title", "Confirm", 3, "minWidth", "width", "close", 4, "ngIf"], ["class", "dialog-wrapper", "title", "Select List to Add Record To", 3, "minWidth", "width", "height", "close", 4, "ngIf"], ["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", "", "title", "Add this record to a list", 3, "click"], [1, "fa-solid", "fa-rectangle-list"], ["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"]], template: function FormToolbarComponent_Template(rf, ctx) { if (rf & 1) {
|
|
350
333
|
i0.ɵɵprojectionDef(_c1);
|
|
351
|
-
i0.ɵɵelementStart(0, "div",
|
|
352
|
-
i0.ɵɵtemplate(1, FormToolbarComponent_Conditional_1_Template, 3, 3)(2, FormToolbarComponent_Conditional_2_Template, 6, 2)(3, FormToolbarComponent_Conditional_3_Template, 2, 0, "button",
|
|
353
|
-
i0.ɵɵprojection(
|
|
354
|
-
i0.ɵɵtemplate(
|
|
334
|
+
i0.ɵɵelementStart(0, "div", 0);
|
|
335
|
+
i0.ɵɵtemplate(1, FormToolbarComponent_Conditional_1_Template, 3, 3)(2, FormToolbarComponent_Conditional_2_Template, 6, 2)(3, FormToolbarComponent_Conditional_3_Template, 2, 0, "button", 1)(4, FormToolbarComponent_Conditional_4_Template, 1, 1, "mj-record-changes", 2)(5, FormToolbarComponent_Conditional_5_Template, 2, 0, "button", 3);
|
|
336
|
+
i0.ɵɵprojection(6);
|
|
337
|
+
i0.ɵɵtemplate(7, FormToolbarComponent_kendo_dialog_7_Template, 8, 2, "kendo-dialog", 4)(8, FormToolbarComponent_kendo_dialog_8_Template, 7, 3, "kendo-dialog", 5);
|
|
355
338
|
i0.ɵɵelementEnd();
|
|
356
339
|
} if (rf & 2) {
|
|
357
340
|
i0.ɵɵclassProp("disabled", ctx.CurrentlyDisabled);
|
|
@@ -360,22 +343,18 @@ export class FormToolbarComponent {
|
|
|
360
343
|
i0.ɵɵadvance(2);
|
|
361
344
|
i0.ɵɵconditional((ctx.form.EntityInfo == null ? null : ctx.form.EntityInfo.TrackRecordChanges) && !ctx.form.EditMode ? 3 : -1);
|
|
362
345
|
i0.ɵɵadvance();
|
|
363
|
-
i0.ɵɵconditional(ctx.
|
|
364
|
-
i0.ɵɵadvance();
|
|
365
|
-
i0.ɵɵconditional(ctx.form.EntityInfo ? 5 : -1);
|
|
366
|
-
i0.ɵɵadvance();
|
|
367
|
-
i0.ɵɵconditional(ctx.form.isHistoryDialogOpen ? 6 : -1);
|
|
346
|
+
i0.ɵɵconditional(ctx.form.isHistoryDialogOpen ? 4 : -1);
|
|
368
347
|
i0.ɵɵadvance();
|
|
369
|
-
i0.ɵɵconditional(!ctx.form.EditMode ?
|
|
348
|
+
i0.ɵɵconditional(!ctx.form.EditMode ? 5 : -1);
|
|
370
349
|
i0.ɵɵadvance(2);
|
|
371
350
|
i0.ɵɵproperty("ngIf", ctx._deleteDialogVisible);
|
|
372
351
|
i0.ɵɵadvance();
|
|
373
352
|
i0.ɵɵproperty("ngIf", ctx.listDialogVisible);
|
|
374
|
-
} }, dependencies: [i2.NgIf, i3.RecordChangesComponent, i4.ButtonComponent, i5.DialogComponent, i5.DialogActionsComponent
|
|
353
|
+
} }, dependencies: [i2.NgIf, i3.RecordChangesComponent, i4.ButtonComponent, i5.DialogComponent, i5.DialogActionsComponent], 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}"] });
|
|
375
354
|
}
|
|
376
355
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(FormToolbarComponent, [{
|
|
377
356
|
type: Component,
|
|
378
|
-
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 @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 @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)\" title=\"Add this record to a list\">\n <span class=\"fa-solid fa-rectangle-list\"></span>\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 <kendo-dialog\n class=\"dialog-wrapper\"\n title=\"Select List to Add Record To\"\n *ngIf=\"listDialogVisible\"\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</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}"] }]
|
|
357
|
+
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)\" title=\"Add this record to a list\">\n <span class=\"fa-solid fa-rectangle-list\"></span>\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 <kendo-dialog\n class=\"dialog-wrapper\"\n title=\"Select List to Add Record To\"\n *ngIf=\"listDialogVisible\"\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</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}"] }]
|
|
379
358
|
}], () => [{ type: i1.Router }], { ShowSkipChatButton: [{
|
|
380
359
|
type: Input
|
|
381
360
|
}], form: [{
|
|
@@ -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,
|
|
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,U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7 from "@progress/kendo-angular-buttons";
|
|
9
9
|
import * as i8 from "@progress/kendo-angular-inputs";
|
|
10
10
|
import * as i9 from "@progress/kendo-angular-dialog";
|
|
11
|
-
import * as i10 from "@
|
|
12
|
-
import * as i11 from "@
|
|
13
|
-
import * as i12 from "@memberjunction/ng-
|
|
14
|
-
import * as i13 from "ngx-markdown";
|
|
11
|
+
import * as i10 from "@progress/kendo-angular-indicators";
|
|
12
|
+
import * as i11 from "@memberjunction/ng-shared";
|
|
13
|
+
import * as i12 from "@memberjunction/ng-markdown";
|
|
15
14
|
export declare class FormToolbarModule {
|
|
16
15
|
static ɵfac: i0.ɵɵFactoryDeclaration<FormToolbarModule, never>;
|
|
17
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<FormToolbarModule, [typeof i1.FormToolbarComponent, typeof i2.RecordFormContainerComponent], [typeof i3.CommonModule, typeof i4.FormsModule, typeof i5.RecordChangesModule, typeof i6.BaseFormsModule, typeof i7.ButtonsModule, typeof i8.InputsModule, typeof i9.DialogsModule, typeof i10.
|
|
16
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<FormToolbarModule, [typeof i1.FormToolbarComponent, typeof i2.RecordFormContainerComponent], [typeof i3.CommonModule, typeof i4.FormsModule, typeof i5.RecordChangesModule, typeof i6.BaseFormsModule, typeof i7.ButtonsModule, typeof i8.InputsModule, typeof i9.DialogsModule, typeof i10.IndicatorsModule, typeof i11.MemberJunctionSharedModule, typeof i12.MarkdownModule], [typeof i1.FormToolbarComponent, typeof i2.RecordFormContainerComponent]>;
|
|
18
17
|
static ɵinj: i0.ɵɵInjectorDeclaration<FormToolbarModule>;
|
|
19
18
|
}
|
|
20
19
|
//# sourceMappingURL=module.d.ts.map
|
package/dist/module.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"module.d.ts","sourceRoot":"","sources":["../src/module.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"module.d.ts","sourceRoot":"","sources":["../src/module.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAwBA,qBAsBa,iBAAiB;yCAAjB,iBAAiB;0CAAjB,iBAAiB;0CAAjB,iBAAiB;CAAI"}
|
package/dist/module.js
CHANGED
|
@@ -3,7 +3,7 @@ import { NgModule } from '@angular/core';
|
|
|
3
3
|
import { CommonModule } from '@angular/common';
|
|
4
4
|
import { FormsModule } from '@angular/forms';
|
|
5
5
|
// Markdown
|
|
6
|
-
import { MarkdownModule } from '
|
|
6
|
+
import { MarkdownModule } from '@memberjunction/ng-markdown';
|
|
7
7
|
// Kendo UI Angular imports
|
|
8
8
|
import { ButtonsModule } from '@progress/kendo-angular-buttons';
|
|
9
9
|
import { InputsModule } from '@progress/kendo-angular-inputs';
|
|
@@ -11,14 +11,12 @@ import { IndicatorsModule } from '@progress/kendo-angular-indicators';
|
|
|
11
11
|
import { DialogsModule } from '@progress/kendo-angular-dialog';
|
|
12
12
|
// MJ
|
|
13
13
|
import { RecordChangesModule } from '@memberjunction/ng-record-changes';
|
|
14
|
-
import { AskSkipModule } from '@memberjunction/ng-ask-skip';
|
|
15
14
|
import { MemberJunctionSharedModule } from '@memberjunction/ng-shared';
|
|
16
15
|
// Local to package
|
|
17
16
|
import { FormToolbarComponent } from './lib/form-toolbar';
|
|
18
17
|
import { RecordFormContainerComponent } from './lib/record-form-container.component';
|
|
19
18
|
import { BaseFormsModule } from '@memberjunction/ng-base-forms';
|
|
20
19
|
import * as i0 from "@angular/core";
|
|
21
|
-
import * as i1 from "ngx-markdown";
|
|
22
20
|
export class FormToolbarModule {
|
|
23
21
|
static ɵfac = function FormToolbarModule_Factory(t) { return new (t || FormToolbarModule)(); };
|
|
24
22
|
static ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: FormToolbarModule });
|
|
@@ -29,10 +27,9 @@ export class FormToolbarModule {
|
|
|
29
27
|
ButtonsModule,
|
|
30
28
|
InputsModule,
|
|
31
29
|
DialogsModule,
|
|
32
|
-
AskSkipModule,
|
|
33
30
|
IndicatorsModule,
|
|
34
31
|
MemberJunctionSharedModule,
|
|
35
|
-
MarkdownModule
|
|
32
|
+
MarkdownModule] });
|
|
36
33
|
}
|
|
37
34
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(FormToolbarModule, [{
|
|
38
35
|
type: NgModule,
|
|
@@ -49,10 +46,9 @@ export class FormToolbarModule {
|
|
|
49
46
|
ButtonsModule,
|
|
50
47
|
InputsModule,
|
|
51
48
|
DialogsModule,
|
|
52
|
-
AskSkipModule,
|
|
53
49
|
IndicatorsModule,
|
|
54
50
|
MemberJunctionSharedModule,
|
|
55
|
-
MarkdownModule
|
|
51
|
+
MarkdownModule
|
|
56
52
|
],
|
|
57
53
|
exports: [
|
|
58
54
|
FormToolbarComponent,
|
|
@@ -68,8 +64,8 @@ export class FormToolbarModule {
|
|
|
68
64
|
ButtonsModule,
|
|
69
65
|
InputsModule,
|
|
70
66
|
DialogsModule,
|
|
71
|
-
AskSkipModule,
|
|
72
67
|
IndicatorsModule,
|
|
73
|
-
MemberJunctionSharedModule,
|
|
68
|
+
MemberJunctionSharedModule,
|
|
69
|
+
MarkdownModule], exports: [FormToolbarComponent,
|
|
74
70
|
RecordFormContainerComponent] }); })();
|
|
75
71
|
//# sourceMappingURL=module.js.map
|
package/dist/module.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"module.js","sourceRoot":"","sources":["../src/module.ts"],"names":[],"mappings":"AAAA,UAAU;AACV,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AACzC,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAC/C,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAE7C,WAAW;AACX,OAAO,EAAE,cAAc,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"module.js","sourceRoot":"","sources":["../src/module.ts"],"names":[],"mappings":"AAAA,UAAU;AACV,OAAO,EAAE,QAA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ApB1B,oBAAoB;QACpB,4BAA4B,aAG5B,YAAY;QACZ,WAAW;QACX,mBAAmB;QACnB,eAAe;QACf,aAAa;QACb,YAAY;QACZ,aAAa;QACb,gBAAgB;QAChB,0BAA0B;QAC1B,cAAc,aAGd,oBAAoB;QACpB,4BAA4B"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@memberjunction/ng-form-toolbar",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.126.0",
|
|
4
4
|
"description": "MemberJunction: Angular Form Toolbar",
|
|
5
5
|
"main": "./dist/public-api.js",
|
|
6
6
|
"typings": "./dist/public-api.d.ts",
|
|
@@ -25,19 +25,18 @@
|
|
|
25
25
|
"@angular/router": "18.0.2"
|
|
26
26
|
},
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@memberjunction/core": "2.
|
|
29
|
-
"@memberjunction/core-entities": "2.
|
|
30
|
-
"@memberjunction/global": "2.
|
|
31
|
-
"@memberjunction/ng-
|
|
32
|
-
"@memberjunction/ng-
|
|
33
|
-
"@memberjunction/ng-
|
|
34
|
-
"@memberjunction/ng-
|
|
35
|
-
"@memberjunction/ng-shared": "2.125.0",
|
|
28
|
+
"@memberjunction/core": "2.126.0",
|
|
29
|
+
"@memberjunction/core-entities": "2.126.0",
|
|
30
|
+
"@memberjunction/global": "2.126.0",
|
|
31
|
+
"@memberjunction/ng-base-forms": "2.126.0",
|
|
32
|
+
"@memberjunction/ng-container-directives": "2.126.0",
|
|
33
|
+
"@memberjunction/ng-record-changes": "2.126.0",
|
|
34
|
+
"@memberjunction/ng-shared": "2.126.0",
|
|
36
35
|
"@progress/kendo-angular-buttons": "16.2.0",
|
|
37
36
|
"@progress/kendo-angular-dialog": "16.2.0",
|
|
38
37
|
"@progress/kendo-angular-indicators": "16.2.0",
|
|
39
38
|
"@progress/kendo-angular-inputs": "16.2.0",
|
|
40
|
-
"
|
|
39
|
+
"@memberjunction/ng-markdown": "2.126.0",
|
|
41
40
|
"tslib": "^2.3.0"
|
|
42
41
|
},
|
|
43
42
|
"sideEffects": false,
|