@memberjunction/ng-base-forms 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/dist/lib/base-field-component.d.ts.map +1 -1
- package/dist/lib/base-field-component.js +107 -105
- package/dist/lib/base-field-component.js.map +1 -1
- package/dist/lib/base-form-component.d.ts +39 -10
- package/dist/lib/base-form-component.d.ts.map +1 -1
- package/dist/lib/base-form-component.js +82 -25
- package/dist/lib/base-form-component.js.map +1 -1
- package/dist/lib/collapsible-panel.component.d.ts +30 -13
- package/dist/lib/collapsible-panel.component.d.ts.map +1 -1
- package/dist/lib/collapsible-panel.component.js +148 -93
- package/dist/lib/collapsible-panel.component.js.map +1 -1
- package/dist/lib/explorer-entity-data-grid.component.d.ts +0 -4
- package/dist/lib/explorer-entity-data-grid.component.d.ts.map +1 -1
- package/dist/lib/explorer-entity-data-grid.component.js +3 -10
- package/dist/lib/explorer-entity-data-grid.component.js.map +1 -1
- package/dist/lib/form-section-controls.component.d.ts +13 -2
- package/dist/lib/form-section-controls.component.d.ts.map +1 -1
- package/dist/lib/form-section-controls.component.js +149 -26
- package/dist/lib/form-section-controls.component.js.map +1 -1
- package/dist/lib/form-state.interface.d.ts +4 -2
- package/dist/lib/form-state.interface.d.ts.map +1 -1
- package/dist/lib/form-state.interface.js +3 -3
- package/dist/lib/form-state.interface.js.map +1 -1
- package/dist/lib/form-state.service.d.ts +31 -22
- package/dist/lib/form-state.service.d.ts.map +1 -1
- package/dist/lib/form-state.service.js +71 -71
- package/dist/lib/form-state.service.js.map +1 -1
- package/dist/lib/link-field.component.d.ts.map +1 -1
- package/dist/lib/link-field.component.js +19 -18
- package/dist/lib/link-field.component.js.map +1 -1
- package/dist/lib/section-loader-component.d.ts.map +1 -1
- package/dist/lib/section-loader-component.js +3 -2
- package/dist/lib/section-loader-component.js.map +1 -1
- package/dist/public-api.d.ts +1 -1
- package/dist/public-api.d.ts.map +1 -1
- package/package.json +28 -28
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"base-field-component.d.ts","sourceRoot":"","sources":["../../src/lib/base-field-component.ts"],"names":[],"mappings":"AAAA,OAAO,EAA4B,YAAY,EAAa,aAAa,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAC5G,OAAO,EAAE,UAAU,EAAe,eAAe,EAAqB,MAAM,sBAAsB,CAAC;AAEnG,OAAO,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAC;AAC9D,OAAO,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AACtD,OAAO,EAAE,iBAAiB,EAAE,MAAM,6BAA6B,CAAC;;AAIhE;;;;;GAKG;AACH,
|
|
1
|
+
{"version":3,"file":"base-field-component.d.ts","sourceRoot":"","sources":["../../src/lib/base-field-component.ts"],"names":[],"mappings":"AAAA,OAAO,EAA4B,YAAY,EAAa,aAAa,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAC5G,OAAO,EAAE,UAAU,EAAe,eAAe,EAAqB,MAAM,sBAAsB,CAAC;AAEnG,OAAO,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAC;AAC9D,OAAO,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AACtD,OAAO,EAAE,iBAAiB,EAAE,MAAM,6BAA6B,CAAC;;AAIhE;;;;;GAKG;AACH,qBAMa,WAAY,SAAQ,mBAAoB,YAAW,aAAa;IAySzE,OAAO,CAAC,QAAQ;IAxSlB;;OAEG;IACM,MAAM,EAAG,UAAU,CAAC;IAC7B;;OAEG;IACM,QAAQ,EAAE,OAAO,CAAS;IACnC;;OAEG;IACM,SAAS,EAAE,MAAM,CAAM;IAChC;;OAEG;IACM,IAAI,EAAE,SAAS,GAAG,UAAU,GAAG,gBAAgB,GAAG,YAAY,GAAG,UAAU,GAAG,cAAc,GAAG,UAAU,GAAG,MAAM,CAAa;IACxI;;;OAGG;IACM,QAAQ,EAAE,OAAO,GAAG,KAAK,GAAG,QAAQ,GA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I,wBAAwB,IAAI,IAAI;IAIvC;;;OAGG;IACH,OAAO,CAAC,mBAAmB,CAAc;IAEzC;;;;OAIG;IACH,IAAW,kBAAkB,IAAI,MAAM,CAKtC;IAED;;OAEG;IACH,IAAW,kBAAkB,CAAC,QAAQ,EAAE,MAAM,EAO7C;IAED;;OAEG;IACH,IAAW,oBAAoB,IAAI,OAAO,CAEzC;IAED;;OAEG;IACH,SAAgB,oBAAoB,sDAAc;IAET,QAAQ,EAAE,iBAAiB,GAAG,SAAS,CAAC;gBAGvE,QAAQ,EAAE,SAAS;IAK7B,eAAe,IAAI,IAAI;yCA9SZ,WAAW;2CAAX,WAAW;CAqUvB"}
|
|
@@ -5,24 +5,23 @@ import { BaseRecordComponent } from './base-record-component';
|
|
|
5
5
|
import { languages } from '@codemirror/language-data';
|
|
6
6
|
import { EncryptionEngineBase } from '@memberjunction/core-entities';
|
|
7
7
|
import * as i0 from "@angular/core";
|
|
8
|
-
import * as i1 from "@angular/
|
|
9
|
-
import * as i2 from "@angular
|
|
10
|
-
import * as i3 from "@progress/kendo-angular-
|
|
11
|
-
import * as i4 from "@progress/kendo-angular-
|
|
12
|
-
import * as i5 from "@
|
|
13
|
-
import * as i6 from "@memberjunction/ng-
|
|
14
|
-
import * as i7 from "@memberjunction/ng-
|
|
15
|
-
import * as i8 from "
|
|
16
|
-
import * as i9 from "./link-field.component";
|
|
8
|
+
import * as i1 from "@angular/forms";
|
|
9
|
+
import * as i2 from "@progress/kendo-angular-inputs";
|
|
10
|
+
import * as i3 from "@progress/kendo-angular-dateinputs";
|
|
11
|
+
import * as i4 from "@progress/kendo-angular-dropdowns";
|
|
12
|
+
import * as i5 from "@memberjunction/ng-link-directives";
|
|
13
|
+
import * as i6 from "@memberjunction/ng-code-editor";
|
|
14
|
+
import * as i7 from "@memberjunction/ng-markdown";
|
|
15
|
+
import * as i8 from "./link-field.component";
|
|
17
16
|
const _c0 = ["markdown"];
|
|
18
|
-
function
|
|
19
|
-
i0.ɵɵelement(0, "label",
|
|
17
|
+
function MJFormField_Conditional_0_Conditional_0_Conditional_1_Template(rf, ctx) { if (rf & 1) {
|
|
18
|
+
i0.ɵɵelement(0, "label", 2);
|
|
20
19
|
} if (rf & 2) {
|
|
21
20
|
const ctx_r0 = i0.ɵɵnextContext(3);
|
|
22
21
|
i0.ɵɵproperty("innerHTML", ctx_r0.HighlightedDisplayName, i0.ɵɵsanitizeHtml);
|
|
23
22
|
} }
|
|
24
|
-
function
|
|
25
|
-
i0.ɵɵelementStart(0, "span",
|
|
23
|
+
function MJFormField_Conditional_0_Conditional_0_Conditional_2_Conditional_0_Conditional_1_Template(rf, ctx) { if (rf & 1) {
|
|
24
|
+
i0.ɵɵelementStart(0, "span", 5);
|
|
26
25
|
i0.ɵɵtext(1);
|
|
27
26
|
i0.ɵɵelementEnd();
|
|
28
27
|
} if (rf & 2) {
|
|
@@ -30,9 +29,9 @@ function MJFormField_Conditional_0_div_0_Conditional_2_Conditional_0_Conditional
|
|
|
30
29
|
i0.ɵɵadvance();
|
|
31
30
|
i0.ɵɵtextInterpolate(ctx_r0.Value);
|
|
32
31
|
} }
|
|
33
|
-
function
|
|
34
|
-
i0.ɵɵelementStart(0, "span",
|
|
35
|
-
i0.ɵɵelement(1, "i",
|
|
32
|
+
function MJFormField_Conditional_0_Conditional_0_Conditional_2_Conditional_0_Conditional_2_Template(rf, ctx) { if (rf & 1) {
|
|
33
|
+
i0.ɵɵelementStart(0, "span", 6);
|
|
34
|
+
i0.ɵɵelement(1, "i", 9);
|
|
36
35
|
i0.ɵɵtext(2);
|
|
37
36
|
i0.ɵɵelementEnd();
|
|
38
37
|
} if (rf & 2) {
|
|
@@ -40,13 +39,13 @@ function MJFormField_Conditional_0_div_0_Conditional_2_Conditional_0_Conditional
|
|
|
40
39
|
i0.ɵɵadvance(2);
|
|
41
40
|
i0.ɵɵtextInterpolate1(" ", ctx_r0.EncryptedDisplayMask, " ");
|
|
42
41
|
} }
|
|
43
|
-
function
|
|
42
|
+
function MJFormField_Conditional_0_Conditional_0_Conditional_2_Conditional_0_Template(rf, ctx) { if (rf & 1) {
|
|
44
43
|
const _r2 = i0.ɵɵgetCurrentView();
|
|
45
|
-
i0.ɵɵelementStart(0, "span",
|
|
46
|
-
i0.ɵɵ
|
|
47
|
-
i0.ɵɵelementStart(3, "button",
|
|
48
|
-
i0.ɵɵlistener("click", function
|
|
49
|
-
i0.ɵɵelement(4, "i",
|
|
44
|
+
i0.ɵɵelementStart(0, "span", 3);
|
|
45
|
+
i0.ɵɵconditionalCreate(1, MJFormField_Conditional_0_Conditional_0_Conditional_2_Conditional_0_Conditional_1_Template, 2, 1, "span", 5)(2, MJFormField_Conditional_0_Conditional_0_Conditional_2_Conditional_0_Conditional_2_Template, 3, 1, "span", 6);
|
|
46
|
+
i0.ɵɵelementStart(3, "button", 7);
|
|
47
|
+
i0.ɵɵlistener("click", function MJFormField_Conditional_0_Conditional_0_Conditional_2_Conditional_0_Template_button_click_3_listener() { i0.ɵɵrestoreView(_r2); const ctx_r0 = i0.ɵɵnextContext(4); return i0.ɵɵresetView(ctx_r0.toggleEncryptedValueVisibility()); });
|
|
48
|
+
i0.ɵɵelement(4, "i", 8);
|
|
50
49
|
i0.ɵɵelementEnd()();
|
|
51
50
|
} if (rf & 2) {
|
|
52
51
|
const ctx_r0 = i0.ɵɵnextContext(4);
|
|
@@ -57,9 +56,9 @@ function MJFormField_Conditional_0_div_0_Conditional_2_Conditional_0_Template(rf
|
|
|
57
56
|
i0.ɵɵadvance();
|
|
58
57
|
i0.ɵɵclassProp("fa-eye", !ctx_r0.isEncryptedValueRevealed)("fa-eye-slash", ctx_r0.isEncryptedValueRevealed);
|
|
59
58
|
} }
|
|
60
|
-
function
|
|
61
|
-
i0.ɵɵelementStart(0, "span",
|
|
62
|
-
i0.ɵɵelement(1, "i",
|
|
59
|
+
function MJFormField_Conditional_0_Conditional_0_Conditional_2_Conditional_1_Template(rf, ctx) { if (rf & 1) {
|
|
60
|
+
i0.ɵɵelementStart(0, "span", 4);
|
|
61
|
+
i0.ɵɵelement(1, "i", 9);
|
|
63
62
|
i0.ɵɵtext(2);
|
|
64
63
|
i0.ɵɵelementEnd();
|
|
65
64
|
} if (rf & 2) {
|
|
@@ -67,34 +66,34 @@ function MJFormField_Conditional_0_div_0_Conditional_2_Conditional_1_Template(rf
|
|
|
67
66
|
i0.ɵɵadvance(2);
|
|
68
67
|
i0.ɵɵtextInterpolate1(" ", ctx_r0.EncryptedDisplayMask, " ");
|
|
69
68
|
} }
|
|
70
|
-
function
|
|
69
|
+
function MJFormField_Conditional_0_Conditional_0_Conditional_2_Conditional_2_Template(rf, ctx) { if (rf & 1) {
|
|
71
70
|
i0.ɵɵelement(0, "span");
|
|
72
71
|
} }
|
|
73
|
-
function
|
|
74
|
-
i0.ɵɵ
|
|
72
|
+
function MJFormField_Conditional_0_Conditional_0_Conditional_2_Template(rf, ctx) { if (rf & 1) {
|
|
73
|
+
i0.ɵɵconditionalCreate(0, MJFormField_Conditional_0_Conditional_0_Conditional_2_Conditional_0_Template, 5, 6, "span", 3)(1, MJFormField_Conditional_0_Conditional_0_Conditional_2_Conditional_1_Template, 3, 1, "span", 4)(2, MJFormField_Conditional_0_Conditional_0_Conditional_2_Conditional_2_Template, 1, 0, "span");
|
|
75
74
|
} if (rf & 2) {
|
|
76
75
|
const ctx_r0 = i0.ɵɵnextContext(3);
|
|
77
76
|
i0.ɵɵconditional(ctx_r0.CanRevealEncryptedValue ? 0 : ctx_r0.IsValueProtected ? 1 : 2);
|
|
78
77
|
} }
|
|
79
|
-
function
|
|
80
|
-
i0.ɵɵelement(0, "mj-code-editor",
|
|
78
|
+
function MJFormField_Conditional_0_Conditional_0_Conditional_3_Case_0_Conditional_0_Template(rf, ctx) { if (rf & 1) {
|
|
79
|
+
i0.ɵɵelement(0, "mj-code-editor", 13);
|
|
81
80
|
} if (rf & 2) {
|
|
82
81
|
const ctx_r0 = i0.ɵɵnextContext(5);
|
|
83
82
|
i0.ɵɵproperty("value", ctx_r0.record.Get(ctx_r0.FieldName))("readonly", true)("languages", ctx_r0.languages)("language", "JavaScript");
|
|
84
83
|
} }
|
|
85
|
-
function
|
|
86
|
-
i0.ɵɵelement(0, "input",
|
|
84
|
+
function MJFormField_Conditional_0_Conditional_0_Conditional_3_Case_0_Conditional_1_Template(rf, ctx) { if (rf & 1) {
|
|
85
|
+
i0.ɵɵelement(0, "input", 14);
|
|
87
86
|
} if (rf & 2) {
|
|
88
87
|
const ctx_r0 = i0.ɵɵnextContext(5);
|
|
89
88
|
i0.ɵɵproperty("checked", ctx_r0.Value);
|
|
90
89
|
} }
|
|
91
|
-
function
|
|
92
|
-
i0.ɵɵelement(0, "mj-markdown",
|
|
90
|
+
function MJFormField_Conditional_0_Conditional_0_Conditional_3_Case_0_Conditional_2_Template(rf, ctx) { if (rf & 1) {
|
|
91
|
+
i0.ɵɵelement(0, "mj-markdown", 15, 0);
|
|
93
92
|
} if (rf & 2) {
|
|
94
93
|
const ctx_r0 = i0.ɵɵnextContext(5);
|
|
95
94
|
i0.ɵɵproperty("data", ctx_r0.record.Get(ctx_r0.FieldName));
|
|
96
95
|
} }
|
|
97
|
-
function
|
|
96
|
+
function MJFormField_Conditional_0_Conditional_0_Conditional_3_Case_0_Conditional_3_Template(rf, ctx) { if (rf & 1) {
|
|
98
97
|
i0.ɵɵelementStart(0, "span");
|
|
99
98
|
i0.ɵɵtext(1);
|
|
100
99
|
i0.ɵɵelementEnd();
|
|
@@ -103,14 +102,14 @@ function MJFormField_Conditional_0_div_0_Conditional_3_Case_0_Conditional_3_Temp
|
|
|
103
102
|
i0.ɵɵadvance();
|
|
104
103
|
i0.ɵɵtextInterpolate(ctx_r0.FormatValue(ctx_r0.FieldName, 0));
|
|
105
104
|
} }
|
|
106
|
-
function
|
|
107
|
-
i0.ɵɵ
|
|
105
|
+
function MJFormField_Conditional_0_Conditional_0_Conditional_3_Case_0_Template(rf, ctx) { if (rf & 1) {
|
|
106
|
+
i0.ɵɵconditionalCreate(0, MJFormField_Conditional_0_Conditional_0_Conditional_3_Case_0_Conditional_0_Template, 1, 4, "mj-code-editor", 13)(1, MJFormField_Conditional_0_Conditional_0_Conditional_3_Case_0_Conditional_1_Template, 1, 1, "input", 14)(2, MJFormField_Conditional_0_Conditional_0_Conditional_3_Case_0_Conditional_2_Template, 2, 1, "mj-markdown", 15)(3, MJFormField_Conditional_0_Conditional_0_Conditional_3_Case_0_Conditional_3_Template, 2, 1, "span");
|
|
108
107
|
} if (rf & 2) {
|
|
109
108
|
const ctx_r0 = i0.ɵɵnextContext(4);
|
|
110
109
|
i0.ɵɵconditional(ctx_r0.ExtendedType === "Code" ? 0 : ctx_r0.Type === "checkbox" ? 1 : ctx_r0.FieldInfo.Length === -1 ? 2 : 3);
|
|
111
110
|
} }
|
|
112
|
-
function
|
|
113
|
-
i0.ɵɵelementStart(0, "span",
|
|
111
|
+
function MJFormField_Conditional_0_Conditional_0_Conditional_3_Case_1_Template(rf, ctx) { if (rf & 1) {
|
|
112
|
+
i0.ɵɵelementStart(0, "span", 10);
|
|
114
113
|
i0.ɵɵtext(1);
|
|
115
114
|
i0.ɵɵelementEnd();
|
|
116
115
|
} if (rf & 2) {
|
|
@@ -119,8 +118,8 @@ function MJFormField_Conditional_0_div_0_Conditional_3_Case_1_Template(rf, ctx)
|
|
|
119
118
|
i0.ɵɵadvance();
|
|
120
119
|
i0.ɵɵtextInterpolate(ctx_r0.FormatValue(ctx_r0.FieldName, 0));
|
|
121
120
|
} }
|
|
122
|
-
function
|
|
123
|
-
i0.ɵɵelementStart(0, "span",
|
|
121
|
+
function MJFormField_Conditional_0_Conditional_0_Conditional_3_Case_2_Template(rf, ctx) { if (rf & 1) {
|
|
122
|
+
i0.ɵɵelementStart(0, "span", 11);
|
|
124
123
|
i0.ɵɵtext(1);
|
|
125
124
|
i0.ɵɵelementEnd();
|
|
126
125
|
} if (rf & 2) {
|
|
@@ -129,8 +128,8 @@ function MJFormField_Conditional_0_div_0_Conditional_3_Case_2_Template(rf, ctx)
|
|
|
129
128
|
i0.ɵɵadvance();
|
|
130
129
|
i0.ɵɵtextInterpolate(ctx_r0.FormatValue(ctx_r0.FieldName, 0));
|
|
131
130
|
} }
|
|
132
|
-
function
|
|
133
|
-
i0.ɵɵelementStart(0, "span",
|
|
131
|
+
function MJFormField_Conditional_0_Conditional_0_Conditional_3_Case_3_Template(rf, ctx) { if (rf & 1) {
|
|
132
|
+
i0.ɵɵelementStart(0, "span", 12);
|
|
134
133
|
i0.ɵɵtext(1);
|
|
135
134
|
i0.ɵɵelementEnd();
|
|
136
135
|
} if (rf & 2) {
|
|
@@ -139,44 +138,45 @@ function MJFormField_Conditional_0_div_0_Conditional_3_Case_3_Template(rf, ctx)
|
|
|
139
138
|
i0.ɵɵadvance();
|
|
140
139
|
i0.ɵɵtextInterpolate(ctx_r0.FormatValue(ctx_r0.FieldName, 0));
|
|
141
140
|
} }
|
|
142
|
-
function
|
|
143
|
-
i0.ɵɵ
|
|
141
|
+
function MJFormField_Conditional_0_Conditional_0_Conditional_3_Template(rf, ctx) { if (rf & 1) {
|
|
142
|
+
i0.ɵɵconditionalCreate(0, MJFormField_Conditional_0_Conditional_0_Conditional_3_Case_0_Template, 4, 1)(1, MJFormField_Conditional_0_Conditional_0_Conditional_3_Case_1_Template, 2, 2, "span", 10)(2, MJFormField_Conditional_0_Conditional_0_Conditional_3_Case_2_Template, 2, 2, "span", 11)(3, MJFormField_Conditional_0_Conditional_0_Conditional_3_Case_3_Template, 2, 3, "span", 12);
|
|
144
143
|
} if (rf & 2) {
|
|
145
144
|
let tmp_3_0;
|
|
146
145
|
const ctx_r0 = i0.ɵɵnextContext(3);
|
|
147
146
|
i0.ɵɵconditional((tmp_3_0 = ctx_r0.LinkType) === "None" ? 0 : tmp_3_0 === "Email" ? 1 : tmp_3_0 === "URL" ? 2 : tmp_3_0 === "Record" ? 3 : -1);
|
|
148
147
|
} }
|
|
149
|
-
function
|
|
150
|
-
i0.ɵɵelementStart(0, "div",
|
|
151
|
-
i0.ɵɵ
|
|
148
|
+
function MJFormField_Conditional_0_Conditional_0_Template(rf, ctx) { if (rf & 1) {
|
|
149
|
+
i0.ɵɵelementStart(0, "div", 1);
|
|
150
|
+
i0.ɵɵconditionalCreate(1, MJFormField_Conditional_0_Conditional_0_Conditional_1_Template, 1, 1, "label", 2);
|
|
151
|
+
i0.ɵɵconditionalCreate(2, MJFormField_Conditional_0_Conditional_0_Conditional_2_Template, 3, 1)(3, MJFormField_Conditional_0_Conditional_0_Conditional_3_Template, 4, 1);
|
|
152
152
|
i0.ɵɵelementEnd();
|
|
153
153
|
} if (rf & 2) {
|
|
154
154
|
const ctx_r0 = i0.ɵɵnextContext(2);
|
|
155
155
|
i0.ɵɵadvance();
|
|
156
|
-
i0.ɵɵ
|
|
156
|
+
i0.ɵɵconditional(ctx_r0.ShowLabel ? 1 : -1);
|
|
157
157
|
i0.ɵɵadvance();
|
|
158
158
|
i0.ɵɵconditional(ctx_r0.IsEncryptedField ? 2 : 3);
|
|
159
159
|
} }
|
|
160
|
-
function
|
|
161
|
-
i0.ɵɵelement(0, "label",
|
|
160
|
+
function MJFormField_Conditional_0_Conditional_1_Conditional_1_Template(rf, ctx) { if (rf & 1) {
|
|
161
|
+
i0.ɵɵelement(0, "label", 2);
|
|
162
162
|
} if (rf & 2) {
|
|
163
163
|
const ctx_r0 = i0.ɵɵnextContext(3);
|
|
164
164
|
i0.ɵɵproperty("innerHTML", ctx_r0.HighlightedDisplayName, i0.ɵɵsanitizeHtml);
|
|
165
165
|
} }
|
|
166
|
-
function
|
|
166
|
+
function MJFormField_Conditional_0_Conditional_1_Conditional_2_Template(rf, ctx) { if (rf & 1) {
|
|
167
167
|
const _r3 = i0.ɵɵgetCurrentView();
|
|
168
|
-
i0.ɵɵelementStart(0, "div",
|
|
169
|
-
i0.ɵɵelement(2, "i",
|
|
168
|
+
i0.ɵɵelementStart(0, "div", 16)(1, "span", 19);
|
|
169
|
+
i0.ɵɵelement(2, "i", 9);
|
|
170
170
|
i0.ɵɵtext(3);
|
|
171
171
|
i0.ɵɵelementEnd();
|
|
172
|
-
i0.ɵɵelementStart(4, "div",
|
|
173
|
-
i0.ɵɵtwoWayListener("ngModelChange", function
|
|
172
|
+
i0.ɵɵelementStart(4, "div", 20)(5, "kendo-textbox", 21);
|
|
173
|
+
i0.ɵɵtwoWayListener("ngModelChange", function MJFormField_Conditional_0_Conditional_1_Conditional_2_Template_kendo_textbox_ngModelChange_5_listener($event) { i0.ɵɵrestoreView(_r3); const ctx_r0 = i0.ɵɵnextContext(3); i0.ɵɵtwoWayBindingSet(ctx_r0.EncryptedEditValue, $event) || (ctx_r0.EncryptedEditValue = $event); return i0.ɵɵresetView($event); });
|
|
174
174
|
i0.ɵɵelementEnd();
|
|
175
|
-
i0.ɵɵelementStart(6, "button",
|
|
176
|
-
i0.ɵɵlistener("click", function
|
|
177
|
-
i0.ɵɵelement(7, "i",
|
|
175
|
+
i0.ɵɵelementStart(6, "button", 7);
|
|
176
|
+
i0.ɵɵlistener("click", function MJFormField_Conditional_0_Conditional_1_Conditional_2_Template_button_click_6_listener() { i0.ɵɵrestoreView(_r3); const ctx_r0 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r0.toggleNewValueVisibility()); });
|
|
177
|
+
i0.ɵɵelement(7, "i", 8);
|
|
178
178
|
i0.ɵɵelementEnd()();
|
|
179
|
-
i0.ɵɵelementStart(8, "span",
|
|
179
|
+
i0.ɵɵelementStart(8, "span", 22);
|
|
180
180
|
i0.ɵɵtext(9, "Enter a new value to overwrite the existing encrypted data (current value cannot be displayed)");
|
|
181
181
|
i0.ɵɵelementEnd()();
|
|
182
182
|
} if (rf & 2) {
|
|
@@ -191,14 +191,14 @@ function MJFormField_Conditional_0_div_1_Conditional_2_Template(rf, ctx) { if (r
|
|
|
191
191
|
i0.ɵɵadvance();
|
|
192
192
|
i0.ɵɵclassProp("fa-eye", !ctx_r0.isNewValueRevealed)("fa-eye-slash", ctx_r0.isNewValueRevealed);
|
|
193
193
|
} }
|
|
194
|
-
function
|
|
194
|
+
function MJFormField_Conditional_0_Conditional_1_Conditional_3_Template(rf, ctx) { if (rf & 1) {
|
|
195
195
|
const _r4 = i0.ɵɵgetCurrentView();
|
|
196
|
-
i0.ɵɵelementStart(0, "div",
|
|
197
|
-
i0.ɵɵtwoWayListener("ngModelChange", function
|
|
196
|
+
i0.ɵɵelementStart(0, "div", 17)(1, "div", 20)(2, "kendo-textbox", 23);
|
|
197
|
+
i0.ɵɵtwoWayListener("ngModelChange", function MJFormField_Conditional_0_Conditional_1_Conditional_3_Template_kendo_textbox_ngModelChange_2_listener($event) { i0.ɵɵrestoreView(_r4); const ctx_r0 = i0.ɵɵnextContext(3); i0.ɵɵtwoWayBindingSet(ctx_r0.Value, $event) || (ctx_r0.Value = $event); return i0.ɵɵresetView($event); });
|
|
198
198
|
i0.ɵɵelementEnd();
|
|
199
|
-
i0.ɵɵelementStart(3, "button",
|
|
200
|
-
i0.ɵɵlistener("click", function
|
|
201
|
-
i0.ɵɵelement(4, "i",
|
|
199
|
+
i0.ɵɵelementStart(3, "button", 7);
|
|
200
|
+
i0.ɵɵlistener("click", function MJFormField_Conditional_0_Conditional_1_Conditional_3_Template_button_click_3_listener() { i0.ɵɵrestoreView(_r4); const ctx_r0 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r0.toggleEncryptedValueVisibility()); });
|
|
201
|
+
i0.ɵɵelement(4, "i", 8);
|
|
202
202
|
i0.ɵɵelementEnd()()();
|
|
203
203
|
} if (rf & 2) {
|
|
204
204
|
const ctx_r0 = i0.ɵɵnextContext(3);
|
|
@@ -210,97 +210,98 @@ function MJFormField_Conditional_0_div_1_Conditional_3_Template(rf, ctx) { if (r
|
|
|
210
210
|
i0.ɵɵadvance();
|
|
211
211
|
i0.ɵɵclassProp("fa-eye", !ctx_r0.isEncryptedValueRevealed)("fa-eye-slash", ctx_r0.isEncryptedValueRevealed);
|
|
212
212
|
} }
|
|
213
|
-
function
|
|
214
|
-
i0.ɵɵelement(0, "mj-link-field",
|
|
213
|
+
function MJFormField_Conditional_0_Conditional_1_Conditional_4_Template(rf, ctx) { if (rf & 1) {
|
|
214
|
+
i0.ɵɵelement(0, "mj-link-field", 18);
|
|
215
215
|
} if (rf & 2) {
|
|
216
216
|
const ctx_r0 = i0.ɵɵnextContext(3);
|
|
217
217
|
i0.ɵɵproperty("record", ctx_r0.record)("FieldName", ctx_r0.FieldName)("LinkComponentType", ctx_r0.LinkComponentType);
|
|
218
218
|
} }
|
|
219
|
-
function
|
|
219
|
+
function MJFormField_Conditional_0_Conditional_1_Conditional_5_Case_0_Template(rf, ctx) { if (rf & 1) {
|
|
220
220
|
const _r5 = i0.ɵɵgetCurrentView();
|
|
221
|
-
i0.ɵɵelementStart(0, "mj-code-editor",
|
|
222
|
-
i0.ɵɵtwoWayListener("ngModelChange", function
|
|
221
|
+
i0.ɵɵelementStart(0, "mj-code-editor", 30);
|
|
222
|
+
i0.ɵɵtwoWayListener("ngModelChange", function MJFormField_Conditional_0_Conditional_1_Conditional_5_Case_0_Template_mj_code_editor_ngModelChange_0_listener($event) { i0.ɵɵrestoreView(_r5); const ctx_r0 = i0.ɵɵnextContext(4); i0.ɵɵtwoWayBindingSet(ctx_r0.Value, $event) || (ctx_r0.Value = $event); return i0.ɵɵresetView($event); });
|
|
223
223
|
i0.ɵɵelementEnd();
|
|
224
224
|
} if (rf & 2) {
|
|
225
225
|
const ctx_r0 = i0.ɵɵnextContext(4);
|
|
226
226
|
i0.ɵɵtwoWayProperty("ngModel", ctx_r0.Value);
|
|
227
227
|
i0.ɵɵproperty("languages", ctx_r0.languages)("language", "JavaScript");
|
|
228
228
|
} }
|
|
229
|
-
function
|
|
229
|
+
function MJFormField_Conditional_0_Conditional_1_Conditional_5_Case_1_Template(rf, ctx) { if (rf & 1) {
|
|
230
230
|
const _r6 = i0.ɵɵgetCurrentView();
|
|
231
|
-
i0.ɵɵelementStart(0, "kendo-textbox",
|
|
232
|
-
i0.ɵɵtwoWayListener("ngModelChange", function
|
|
231
|
+
i0.ɵɵelementStart(0, "kendo-textbox", 31);
|
|
232
|
+
i0.ɵɵtwoWayListener("ngModelChange", function MJFormField_Conditional_0_Conditional_1_Conditional_5_Case_1_Template_kendo_textbox_ngModelChange_0_listener($event) { i0.ɵɵrestoreView(_r6); const ctx_r0 = i0.ɵɵnextContext(4); i0.ɵɵtwoWayBindingSet(ctx_r0.Value, $event) || (ctx_r0.Value = $event); return i0.ɵɵresetView($event); });
|
|
233
233
|
i0.ɵɵelementEnd();
|
|
234
234
|
} if (rf & 2) {
|
|
235
235
|
const ctx_r0 = i0.ɵɵnextContext(4);
|
|
236
236
|
i0.ɵɵtwoWayProperty("ngModel", ctx_r0.Value);
|
|
237
237
|
} }
|
|
238
|
-
function
|
|
238
|
+
function MJFormField_Conditional_0_Conditional_1_Conditional_5_Case_2_Template(rf, ctx) { if (rf & 1) {
|
|
239
239
|
const _r7 = i0.ɵɵgetCurrentView();
|
|
240
|
-
i0.ɵɵelementStart(0, "kendo-textarea",
|
|
241
|
-
i0.ɵɵtwoWayListener("ngModelChange", function
|
|
240
|
+
i0.ɵɵelementStart(0, "kendo-textarea", 31);
|
|
241
|
+
i0.ɵɵtwoWayListener("ngModelChange", function MJFormField_Conditional_0_Conditional_1_Conditional_5_Case_2_Template_kendo_textarea_ngModelChange_0_listener($event) { i0.ɵɵrestoreView(_r7); const ctx_r0 = i0.ɵɵnextContext(4); i0.ɵɵtwoWayBindingSet(ctx_r0.Value, $event) || (ctx_r0.Value = $event); return i0.ɵɵresetView($event); });
|
|
242
242
|
i0.ɵɵelementEnd();
|
|
243
243
|
} if (rf & 2) {
|
|
244
244
|
const ctx_r0 = i0.ɵɵnextContext(4);
|
|
245
245
|
i0.ɵɵtwoWayProperty("ngModel", ctx_r0.Value);
|
|
246
246
|
} }
|
|
247
|
-
function
|
|
247
|
+
function MJFormField_Conditional_0_Conditional_1_Conditional_5_Case_3_Template(rf, ctx) { if (rf & 1) {
|
|
248
248
|
const _r8 = i0.ɵɵgetCurrentView();
|
|
249
|
-
i0.ɵɵelementStart(0, "kendo-numerictextbox",
|
|
250
|
-
i0.ɵɵtwoWayListener("valueChange", function
|
|
249
|
+
i0.ɵɵelementStart(0, "kendo-numerictextbox", 32);
|
|
250
|
+
i0.ɵɵtwoWayListener("valueChange", function MJFormField_Conditional_0_Conditional_1_Conditional_5_Case_3_Template_kendo_numerictextbox_valueChange_0_listener($event) { i0.ɵɵrestoreView(_r8); const ctx_r0 = i0.ɵɵnextContext(4); i0.ɵɵtwoWayBindingSet(ctx_r0.Value, $event) || (ctx_r0.Value = $event); return i0.ɵɵresetView($event); });
|
|
251
251
|
i0.ɵɵelementEnd();
|
|
252
252
|
} if (rf & 2) {
|
|
253
253
|
const ctx_r0 = i0.ɵɵnextContext(4);
|
|
254
254
|
i0.ɵɵtwoWayProperty("value", ctx_r0.Value);
|
|
255
255
|
} }
|
|
256
|
-
function
|
|
256
|
+
function MJFormField_Conditional_0_Conditional_1_Conditional_5_Case_4_Template(rf, ctx) { if (rf & 1) {
|
|
257
257
|
const _r9 = i0.ɵɵgetCurrentView();
|
|
258
|
-
i0.ɵɵelementStart(0, "kendo-datepicker",
|
|
259
|
-
i0.ɵɵtwoWayListener("valueChange", function
|
|
258
|
+
i0.ɵɵelementStart(0, "kendo-datepicker", 32);
|
|
259
|
+
i0.ɵɵtwoWayListener("valueChange", function MJFormField_Conditional_0_Conditional_1_Conditional_5_Case_4_Template_kendo_datepicker_valueChange_0_listener($event) { i0.ɵɵrestoreView(_r9); const ctx_r0 = i0.ɵɵnextContext(4); i0.ɵɵtwoWayBindingSet(ctx_r0.Value, $event) || (ctx_r0.Value = $event); return i0.ɵɵresetView($event); });
|
|
260
260
|
i0.ɵɵelementEnd();
|
|
261
261
|
} if (rf & 2) {
|
|
262
262
|
const ctx_r0 = i0.ɵɵnextContext(4);
|
|
263
263
|
i0.ɵɵtwoWayProperty("value", ctx_r0.Value);
|
|
264
264
|
} }
|
|
265
|
-
function
|
|
265
|
+
function MJFormField_Conditional_0_Conditional_1_Conditional_5_Case_5_Template(rf, ctx) { if (rf & 1) {
|
|
266
266
|
const _r10 = i0.ɵɵgetCurrentView();
|
|
267
|
-
i0.ɵɵelementStart(0, "input",
|
|
268
|
-
i0.ɵɵtwoWayListener("ngModelChange", function
|
|
267
|
+
i0.ɵɵelementStart(0, "input", 33);
|
|
268
|
+
i0.ɵɵtwoWayListener("ngModelChange", function MJFormField_Conditional_0_Conditional_1_Conditional_5_Case_5_Template_input_ngModelChange_0_listener($event) { i0.ɵɵrestoreView(_r10); const ctx_r0 = i0.ɵɵnextContext(4); i0.ɵɵtwoWayBindingSet(ctx_r0.Value, $event) || (ctx_r0.Value = $event); return i0.ɵɵresetView($event); });
|
|
269
269
|
i0.ɵɵelementEnd();
|
|
270
270
|
} if (rf & 2) {
|
|
271
271
|
const ctx_r0 = i0.ɵɵnextContext(4);
|
|
272
272
|
i0.ɵɵtwoWayProperty("ngModel", ctx_r0.Value);
|
|
273
273
|
} }
|
|
274
|
-
function
|
|
274
|
+
function MJFormField_Conditional_0_Conditional_1_Conditional_5_Case_6_Template(rf, ctx) { if (rf & 1) {
|
|
275
275
|
const _r11 = i0.ɵɵgetCurrentView();
|
|
276
|
-
i0.ɵɵelementStart(0, "kendo-dropdownlist",
|
|
277
|
-
i0.ɵɵtwoWayListener("ngModelChange", function
|
|
276
|
+
i0.ɵɵelementStart(0, "kendo-dropdownlist", 34);
|
|
277
|
+
i0.ɵɵtwoWayListener("ngModelChange", function MJFormField_Conditional_0_Conditional_1_Conditional_5_Case_6_Template_kendo_dropdownlist_ngModelChange_0_listener($event) { i0.ɵɵrestoreView(_r11); const ctx_r0 = i0.ɵɵnextContext(4); i0.ɵɵtwoWayBindingSet(ctx_r0.Value, $event) || (ctx_r0.Value = $event); return i0.ɵɵresetView($event); });
|
|
278
278
|
i0.ɵɵelementEnd();
|
|
279
279
|
} if (rf & 2) {
|
|
280
280
|
const ctx_r0 = i0.ɵɵnextContext(4);
|
|
281
281
|
i0.ɵɵproperty("data", ctx_r0.PossibleValues);
|
|
282
282
|
i0.ɵɵtwoWayProperty("ngModel", ctx_r0.Value);
|
|
283
283
|
} }
|
|
284
|
-
function
|
|
284
|
+
function MJFormField_Conditional_0_Conditional_1_Conditional_5_Case_7_Template(rf, ctx) { if (rf & 1) {
|
|
285
285
|
const _r12 = i0.ɵɵgetCurrentView();
|
|
286
|
-
i0.ɵɵelementStart(0, "kendo-combobox",
|
|
287
|
-
i0.ɵɵtwoWayListener("ngModelChange", function
|
|
286
|
+
i0.ɵɵelementStart(0, "kendo-combobox", 35);
|
|
287
|
+
i0.ɵɵtwoWayListener("ngModelChange", function MJFormField_Conditional_0_Conditional_1_Conditional_5_Case_7_Template_kendo_combobox_ngModelChange_0_listener($event) { i0.ɵɵrestoreView(_r12); const ctx_r0 = i0.ɵɵnextContext(4); i0.ɵɵtwoWayBindingSet(ctx_r0.Value, $event) || (ctx_r0.Value = $event); return i0.ɵɵresetView($event); });
|
|
288
288
|
i0.ɵɵelementEnd();
|
|
289
289
|
} if (rf & 2) {
|
|
290
290
|
const ctx_r0 = i0.ɵɵnextContext(4);
|
|
291
291
|
i0.ɵɵproperty("data", ctx_r0.PossibleValues)("allowCustom", true);
|
|
292
292
|
i0.ɵɵtwoWayProperty("ngModel", ctx_r0.Value);
|
|
293
293
|
} }
|
|
294
|
-
function
|
|
295
|
-
i0.ɵɵ
|
|
294
|
+
function MJFormField_Conditional_0_Conditional_1_Conditional_5_Template(rf, ctx) { if (rf & 1) {
|
|
295
|
+
i0.ɵɵconditionalCreate(0, MJFormField_Conditional_0_Conditional_1_Conditional_5_Case_0_Template, 1, 3, "mj-code-editor", 24)(1, MJFormField_Conditional_0_Conditional_1_Conditional_5_Case_1_Template, 1, 1, "kendo-textbox", 25)(2, MJFormField_Conditional_0_Conditional_1_Conditional_5_Case_2_Template, 1, 1, "kendo-textarea", 25)(3, MJFormField_Conditional_0_Conditional_1_Conditional_5_Case_3_Template, 1, 1, "kendo-numerictextbox", 26)(4, MJFormField_Conditional_0_Conditional_1_Conditional_5_Case_4_Template, 1, 1, "kendo-datepicker", 26)(5, MJFormField_Conditional_0_Conditional_1_Conditional_5_Case_5_Template, 1, 1, "input", 27)(6, MJFormField_Conditional_0_Conditional_1_Conditional_5_Case_6_Template, 1, 2, "kendo-dropdownlist", 28)(7, MJFormField_Conditional_0_Conditional_1_Conditional_5_Case_7_Template, 1, 3, "kendo-combobox", 29);
|
|
296
296
|
} if (rf & 2) {
|
|
297
297
|
let tmp_3_0;
|
|
298
298
|
const ctx_r0 = i0.ɵɵnextContext(3);
|
|
299
299
|
i0.ɵɵconditional((tmp_3_0 = ctx_r0.Type) === "code" ? 0 : tmp_3_0 === "textbox" ? 1 : tmp_3_0 === "textarea" ? 2 : tmp_3_0 === "numerictextbox" ? 3 : tmp_3_0 === "datepicker" ? 4 : tmp_3_0 === "checkbox" ? 5 : tmp_3_0 === "dropdownlist" ? 6 : tmp_3_0 === "combobox" ? 7 : -1);
|
|
300
300
|
} }
|
|
301
|
-
function
|
|
302
|
-
i0.ɵɵelementStart(0, "div",
|
|
303
|
-
i0.ɵɵ
|
|
301
|
+
function MJFormField_Conditional_0_Conditional_1_Template(rf, ctx) { if (rf & 1) {
|
|
302
|
+
i0.ɵɵelementStart(0, "div", 1);
|
|
303
|
+
i0.ɵɵconditionalCreate(1, MJFormField_Conditional_0_Conditional_1_Conditional_1_Template, 1, 1, "label", 2);
|
|
304
|
+
i0.ɵɵconditionalCreate(2, MJFormField_Conditional_0_Conditional_1_Conditional_2_Template, 10, 9, "div", 16)(3, MJFormField_Conditional_0_Conditional_1_Conditional_3_Template, 5, 7, "div", 17)(4, MJFormField_Conditional_0_Conditional_1_Conditional_4_Template, 1, 3, "mj-link-field", 18)(5, MJFormField_Conditional_0_Conditional_1_Conditional_5_Template, 8, 1);
|
|
304
305
|
i0.ɵɵelementEnd();
|
|
305
306
|
} if (rf & 2) {
|
|
306
307
|
const ctx_r0 = i0.ɵɵnextContext(2);
|
|
@@ -310,12 +311,13 @@ function MJFormField_Conditional_0_div_1_Template(rf, ctx) { if (rf & 1) {
|
|
|
310
311
|
i0.ɵɵconditional(ctx_r0.IsBlindEncryptedEdit ? 2 : ctx_r0.IsEncryptedField ? 3 : ctx_r0.FieldInfo && ctx_r0.FieldInfo.RelatedEntity && ctx_r0.FieldInfo.RelatedEntity.length > 0 ? 4 : 5);
|
|
311
312
|
} }
|
|
312
313
|
function MJFormField_Conditional_0_Template(rf, ctx) { if (rf & 1) {
|
|
313
|
-
i0.ɵɵ
|
|
314
|
+
i0.ɵɵconditionalCreate(0, MJFormField_Conditional_0_Conditional_0_Template, 4, 2, "div", 1);
|
|
315
|
+
i0.ɵɵconditionalCreate(1, MJFormField_Conditional_0_Conditional_1_Template, 6, 2, "div", 1);
|
|
314
316
|
} if (rf & 2) {
|
|
315
317
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
316
|
-
i0.ɵɵ
|
|
318
|
+
i0.ɵɵconditional((!ctx_r0.EditMode || ctx_r0.IsFieldReadOnly) && !ctx_r0.shouldHideField ? 0 : -1);
|
|
317
319
|
i0.ɵɵadvance();
|
|
318
|
-
i0.ɵɵ
|
|
320
|
+
i0.ɵɵconditional(ctx_r0.EditMode && !ctx_r0.IsFieldReadOnly ? 1 : -1);
|
|
319
321
|
} }
|
|
320
322
|
/**
|
|
321
323
|
* This component is used to automatically generate a UI for any field in a given BaseEntity object. The CodeGen tool will generate forms and form sections that
|
|
@@ -624,15 +626,15 @@ export class MJFormField extends BaseRecordComponent {
|
|
|
624
626
|
} if (rf & 2) {
|
|
625
627
|
let _t;
|
|
626
628
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.markdown = _t.first);
|
|
627
|
-
} }, inputs: { record: "record", EditMode: "EditMode", FieldName: "FieldName", Type: "Type", LinkType: "LinkType", LinkComponentType: "LinkComponentType", ShowLabel: "ShowLabel", formContext: "formContext", hideWhenEmptyInReadOnlyMode: "hideWhenEmptyInReadOnlyMode", DisplayName: "DisplayName", PossibleValues: "PossibleValues", Value: "Value" }, outputs: { ValueChange: "ValueChange" }, features: [i0.ɵɵInheritDefinitionFeature], decls: 1, vars: 1, consts: [["markdown", ""], [
|
|
628
|
-
i0.ɵɵ
|
|
629
|
+
} }, inputs: { record: "record", EditMode: "EditMode", FieldName: "FieldName", Type: "Type", LinkType: "LinkType", LinkComponentType: "LinkComponentType", ShowLabel: "ShowLabel", formContext: "formContext", hideWhenEmptyInReadOnlyMode: "hideWhenEmptyInReadOnlyMode", DisplayName: "DisplayName", PossibleValues: "PossibleValues", Value: "Value" }, outputs: { ValueChange: "ValueChange" }, standalone: false, features: [i0.ɵɵInheritDefinitionFeature], decls: 1, vars: 1, consts: [["markdown", ""], [1, "record-form-row"], [3, "innerHTML"], [1, "encrypted-value-container"], ["title", "This value is encrypted and protected", 1, "encrypted-value"], [1, "encrypted-revealed-value"], [1, "encrypted-value"], ["type", "button", 1, "encrypted-toggle-btn", 3, "click", "title"], [1, "fa-solid"], [1, "fa-solid", "fa-lock", "encrypted-icon"], ["mjEmailLink", "", 3, "field"], ["mjWebLink", "", 3, "field"], ["mjFieldLink", "", 3, "record", "fieldName"], [3, "value", "readonly", "languages", "language"], ["type", "checkbox", "kendoCheckBox", "", "disabled", "", 3, "checked"], [3, "data"], [1, "encrypted-field-edit"], [1, "encrypted-field-edit-visible"], [3, "record", "FieldName", "LinkComponentType"], ["title", "Current value is encrypted and cannot be viewed", 1, "encrypted-current-value"], [1, "encrypted-input-container"], [1, "encrypted-input", 3, "ngModelChange", "ngModel", "placeholder", "type"], [1, "encrypted-hint"], [1, "encrypted-input", 3, "ngModelChange", "ngModel", "type"], [3, "ngModel", "languages", "language"], [3, "ngModel"], [1, "narrower-component", 3, "value"], ["type", "checkbox", "kendoCheckBox", "", 3, "ngModel"], [3, "data", "ngModel"], [3, "data", "allowCustom", "ngModel"], [3, "ngModelChange", "ngModel", "languages", "language"], [3, "ngModelChange", "ngModel"], [1, "narrower-component", 3, "valueChange", "value"], ["type", "checkbox", "kendoCheckBox", "", 3, "ngModelChange", "ngModel"], [3, "ngModelChange", "data", "ngModel"], [3, "ngModelChange", "data", "allowCustom", "ngModel"]], template: function MJFormField_Template(rf, ctx) { if (rf & 1) {
|
|
630
|
+
i0.ɵɵconditionalCreate(0, MJFormField_Conditional_0_Template, 2, 2);
|
|
629
631
|
} if (rf & 2) {
|
|
630
632
|
i0.ɵɵconditional(ctx.record.IsSaved || !ctx.IsFieldReadOnly ? 0 : -1);
|
|
631
|
-
} }, dependencies: [i1.
|
|
633
|
+
} }, dependencies: [i1.CheckboxControlValueAccessor, i1.NgControlStatus, i1.NgModel, i2.TextBoxComponent, i2.NumericTextBoxComponent, i2.TextAreaComponent, i2.CheckBoxDirective, i3.DatePickerComponent, i4.ComboBoxComponent, i4.DropDownListComponent, i5.EmailLink, i5.FieldLink, i5.WebLink, i6.CodeEditorComponent, i7.MarkdownComponent, i8.MJLinkField], styles: [".record-form-row[_ngcontent-%COMP%] {\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 align-items: start; \n\n} \n \n \n.narrower-component[_ngcontent-%COMP%] {\n width: 435px;\n}\n.record-form-row[_ngcontent-%COMP%] label[_ngcontent-%COMP%] {\n font-weight: bold;\n padding-right: 10px;\n width: 240px;\n margin-bottom: 0;\n align-self: start; \n\n}\n\n\n\n.record-form-row[_ngcontent-%COMP%] > [_ngcontent-%COMP%]:nth-child(2) {\n overflow-wrap: break-word;\n word-wrap: break-word;\n word-break: break-word;\n min-width: 0;\n max-width: 100%;\n}\n\n\n\n\n\n.record-form-row[_ngcontent-%COMP%] markdown[_ngcontent-%COMP%] > p[_ngcontent-%COMP%], \n.record-form-row[_ngcontent-%COMP%] markdown[_ngcontent-%COMP%] > h1[_ngcontent-%COMP%], \n.record-form-row[_ngcontent-%COMP%] markdown[_ngcontent-%COMP%] > h2[_ngcontent-%COMP%], \n.record-form-row[_ngcontent-%COMP%] markdown[_ngcontent-%COMP%] > h3[_ngcontent-%COMP%], \n.record-form-row[_ngcontent-%COMP%] markdown[_ngcontent-%COMP%] > h4[_ngcontent-%COMP%], \n.record-form-row[_ngcontent-%COMP%] markdown[_ngcontent-%COMP%] > h5[_ngcontent-%COMP%], \n.record-form-row[_ngcontent-%COMP%] markdown[_ngcontent-%COMP%] > h6[_ngcontent-%COMP%] {\n margin:0 !important;\n}\n\nmarkdown[_ngcontent-%COMP%] {\n font-size: 14px; \n\n}\n\n\n\n.record-form-row[_ngcontent-%COMP%] label[_ngcontent-%COMP%] .search-highlight {\n background-color: #fef08a;\n color: #854d0e;\n padding: 0;\n border-radius: 2px;\n font-weight: 700;\n box-shadow: 0 0 0 2px #fef08a;\n}\n\n\n@media (min-width: 768px) {\n .record-form-row[_ngcontent-%COMP%] {\n display: grid; \n\n grid-template-columns: auto 1fr;\n align-items: start; \n\n gap: 10px;\n margin-bottom: 12px;\n padding-top: 5px;\n padding-bottom: 5px;\n }\n\n .record-form-row[_ngcontent-%COMP%] label[_ngcontent-%COMP%] {\n width: 240px;\n margin-bottom: 0;\n align-self: start; \n\n }\n}\n\n\n\n.encrypted-value[_ngcontent-%COMP%] {\n display: inline-flex;\n align-items: center;\n gap: 6px;\n color: #666;\n font-family: monospace;\n letter-spacing: 2px;\n}\n\n.encrypted-value-container[_ngcontent-%COMP%] {\n display: inline-flex;\n align-items: center;\n gap: 8px;\n}\n\n.encrypted-revealed-value[_ngcontent-%COMP%] {\n font-family: inherit;\n}\n\n.encrypted-icon[_ngcontent-%COMP%] {\n color: #888;\n font-size: 12px;\n}\n\n.encrypted-toggle-btn[_ngcontent-%COMP%] {\n background: none;\n border: 1px solid #ccc;\n border-radius: 4px;\n padding: 4px 8px;\n cursor: pointer;\n color: #666;\n font-size: 12px;\n transition: all 0.2s ease;\n}\n\n.encrypted-toggle-btn[_ngcontent-%COMP%]:hover {\n background-color: #f0f0f0;\n border-color: #999;\n color: #333;\n}\n\n.encrypted-field-edit[_ngcontent-%COMP%] {\n display: flex;\n flex-direction: column;\n gap: 8px;\n}\n\n.encrypted-field-edit-visible[_ngcontent-%COMP%] {\n display: flex;\n flex-direction: column;\n gap: 8px;\n}\n\n.encrypted-input-container[_ngcontent-%COMP%] {\n display: flex;\n align-items: center;\n gap: 8px;\n}\n\n.encrypted-current-value[_ngcontent-%COMP%] {\n display: inline-flex;\n align-items: center;\n gap: 6px;\n color: #666;\n font-family: monospace;\n letter-spacing: 2px;\n font-size: 13px;\n background-color: #f5f5f5;\n padding: 4px 8px;\n border-radius: 4px;\n width: fit-content;\n}\n\n.encrypted-input[_ngcontent-%COMP%] {\n max-width: 400px;\n}\n\n.encrypted-hint[_ngcontent-%COMP%] {\n font-size: 11px;\n color: #888;\n font-style: italic;\n}"] });
|
|
632
634
|
}
|
|
633
635
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(MJFormField, [{
|
|
634
636
|
type: Component,
|
|
635
|
-
args: [{ selector: 'mj-form-field', template: "<!--\n Using a blend of *ngIf and the new @switch control flow because of a bug in early Angular 17 where\n the @if wrapping the @switch didn't fully remove elements when swtiching back and forth. In the future if Angular fixes the bug\n we can get rid of the *ngIf outer div blocks and instead use @if and contain the @switch within the same div block.\n-->\n@if (record.IsSaved || !IsFieldReadOnly) {\n <!-- We only render a field if the record is either saved, or the field is editable. Meaning, for NEW records, we only show editable fields -->\n <div class=\"record-form-row\" *ngIf=\"(!EditMode || IsFieldReadOnly) && !shouldHideField\">\n <label *ngIf=\"ShowLabel\" [innerHTML]=\"HighlightedDisplayName\"></label>\n @if (IsEncryptedField) {\n <!-- Encrypted field in read-only mode -->\n @if (CanRevealEncryptedValue) {\n <!-- AllowDecryptInAPI=true: Show masked by default with reveal button -->\n <span class=\"encrypted-value-container\">\n @if (isEncryptedValueRevealed) {\n <span class=\"encrypted-revealed-value\">{{Value}}</span>\n }\n @else {\n <span class=\"encrypted-value\">\n <i class=\"fa-solid fa-lock encrypted-icon\"></i>\n {{EncryptedDisplayMask}}\n </span>\n }\n <button type=\"button\"\n class=\"encrypted-toggle-btn\"\n (click)=\"toggleEncryptedValueVisibility()\"\n [title]=\"isEncryptedValueRevealed ? 'Hide value' : 'Show value'\">\n <i class=\"fa-solid\" [class.fa-eye]=\"!isEncryptedValueRevealed\" [class.fa-eye-slash]=\"isEncryptedValueRevealed\"></i>\n </button>\n </span>\n }\n @else if (IsValueProtected) {\n <!-- AllowDecryptInAPI=false or sentinel: Always show masked, no reveal option -->\n <span class=\"encrypted-value\" title=\"This value is encrypted and protected\">\n <i class=\"fa-solid fa-lock encrypted-icon\"></i>\n {{EncryptedDisplayMask}}\n </span>\n }\n @else {\n <!-- Encrypted field with no value -->\n <span></span>\n }\n }\n @else {\n @switch (LinkType) {\n @case ('None') {\n @if (ExtendedType === 'Code') {\n <mj-code-editor [value]=\"record.Get(FieldName)\" [readonly]=\"true\" [languages]=\"languages\" [language]=\"'JavaScript'\"></mj-code-editor>\n }\n @else if (Type === 'checkbox') {\n <!-- Render checkboxes as disabled checkbox controls in read mode -->\n <input type=\"checkbox\" [checked]=\"Value\" kendoCheckBox disabled />\n }\n @else if (FieldInfo.Length === -1) {\n <!-- this is a varchar(max) type of field -->\n <mj-markdown #markdown [data]=\"record.Get(FieldName)\"></mj-markdown>\n <!-- <span [innerHTML]=\"record.Get(FieldName) | formatText\"></span> -->\n }\n @else {\n <span>{{FormatValue(FieldName, 0)}}</span>\n }\n }\n @case ('Email') {\n <span mjEmailLink [field]=\"record.GetFieldByName(FieldName)!\" >{{FormatValue(FieldName, 0)}}</span>\n }\n @case ('URL') {\n <span mjWebLink [field]=\"record.GetFieldByName(FieldName)!\" >{{FormatValue(FieldName, 0)}}</span>\n }\n @case ('Record') {\n <span mjFieldLink [record]=\"record\" [fieldName]=\"FieldName\" >{{FormatValue(FieldName, 0)}}</span>\n }\n }\n }\n </div>\n <div class=\"record-form-row\" *ngIf=\"EditMode && !IsFieldReadOnly\">\n @if (ShowLabel) {\n <label [innerHTML]=\"HighlightedDisplayName\"></label>\n }\n @if (IsBlindEncryptedEdit) {\n <!-- Encrypted field where user cannot see existing value (AllowDecryptInAPI=false) -->\n <div class=\"encrypted-field-edit\">\n <span class=\"encrypted-current-value\" title=\"Current value is encrypted and cannot be viewed\">\n <i class=\"fa-solid fa-lock encrypted-icon\"></i>\n {{EncryptedDisplayMask}}\n </span>\n <div class=\"encrypted-input-container\">\n <kendo-textbox\n [(ngModel)]=\"EncryptedEditValue\"\n [placeholder]=\"'Enter new value to replace encrypted data'\"\n class=\"encrypted-input\"\n [type]=\"isNewValueRevealed ? 'text' : 'password'\">\n </kendo-textbox>\n <button type=\"button\"\n class=\"encrypted-toggle-btn\"\n (click)=\"toggleNewValueVisibility()\"\n [title]=\"isNewValueRevealed ? 'Hide value' : 'Show value'\">\n <i class=\"fa-solid\" [class.fa-eye]=\"!isNewValueRevealed\" [class.fa-eye-slash]=\"isNewValueRevealed\"></i>\n </button>\n </div>\n <span class=\"encrypted-hint\">Enter a new value to overwrite the existing encrypted data (current value cannot be displayed)</span>\n </div>\n }\n @else if (IsEncryptedField) {\n <!-- Encrypted field where user CAN see existing value (AllowDecryptInAPI=true) -->\n <div class=\"encrypted-field-edit-visible\">\n <div class=\"encrypted-input-container\">\n <kendo-textbox\n [(ngModel)]=\"Value\"\n class=\"encrypted-input\"\n [type]=\"isEncryptedValueRevealed ? 'text' : 'password'\">\n </kendo-textbox>\n <button type=\"button\"\n class=\"encrypted-toggle-btn\"\n (click)=\"toggleEncryptedValueVisibility()\"\n [title]=\"isEncryptedValueRevealed ? 'Hide value' : 'Show value'\">\n <i class=\"fa-solid\" [class.fa-eye]=\"!isEncryptedValueRevealed\" [class.fa-eye-slash]=\"isEncryptedValueRevealed\"></i>\n </button>\n </div>\n </div>\n }\n @else if (FieldInfo && FieldInfo.RelatedEntity && FieldInfo.RelatedEntity.length > 0) {\n <!-- Foreign Key Link here -->\n <mj-link-field [record]=\"record\" [FieldName]=\"FieldName\" [LinkComponentType]=\"LinkComponentType\"></mj-link-field>\n }\n @else {\n <!-- Not a foreign key -->\n @switch (Type) {\n @case ('code') {\n <mj-code-editor [(ngModel)]=\"Value\" [languages]=\"languages\" [language]=\"'JavaScript'\"></mj-code-editor>\n }\n @case ('textbox') {\n <kendo-textbox [(ngModel)]=\"Value\" />\n }\n @case ('textarea') {\n <kendo-textarea [(ngModel)]=\"Value\"></kendo-textarea>\n }\n @case ('numerictextbox') {\n <kendo-numerictextbox [(value)]=\"Value\" class=\"narrower-component\" />\n }\n @case ('datepicker') {\n <kendo-datepicker [(value)]=\"Value\" class=\"narrower-component\"></kendo-datepicker>\n }\n @case ('checkbox') {\n <input type=\"checkbox\" [(ngModel)]=\"Value\" kendoCheckBox />\n }\n @case ('dropdownlist') {\n <kendo-dropdownlist [data]=\"PossibleValues\" [(ngModel)]=\"Value\"></kendo-dropdownlist>\n }\n @case ('combobox') {\n <kendo-combobox [data]=\"PossibleValues\" [allowCustom]=\"true\" [(ngModel)]=\"Value\"></kendo-combobox>\n }\n }\n }\n </div>\n}\n", styles: [".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 align-items: start; /* Ensure items are aligned at the top */\n} \n \n \n.narrower-component {\n width: 435px;\n}\n.record-form-row label {\n font-weight: bold;\n padding-right: 10px;\n width: 240px;\n margin-bottom: 0;\n align-self: start; /* Align the label to the start (top) */\n}\n\n/* Enable wrapping and vertical scrolling for field values */\n.record-form-row > :nth-child(2) {\n overflow-wrap: break-word;\n word-wrap: break-word;\n word-break: break-word;\n min-width: 0;\n max-width: 100%;\n}\n\n/*\n Eliminate the default margin and padding for the markdown elements\n */\n.record-form-row markdown > p,\n.record-form-row markdown > h1,\n.record-form-row markdown > h2,\n.record-form-row markdown > h3,\n.record-form-row markdown > h4,\n.record-form-row markdown > h5,\n.record-form-row markdown > h6 {\n margin:0 !important;\n}\n\nmarkdown {\n font-size: 14px; /* Match app standard text size (changed from 1rem) */\n}\n\n/* Search highlighting for field labels */\n.record-form-row label ::ng-deep .search-highlight {\n background-color: #fef08a;\n color: #854d0e;\n padding: 0;\n border-radius: 2px;\n font-weight: 700;\n box-shadow: 0 0 0 2px #fef08a;\n}\n\n\n@media (min-width: 768px) {\n .record-form-row {\n display: grid; /* Ensure grid display is used for larger screens as well */\n grid-template-columns: auto 1fr;\n align-items: start; /* Keep the alignment at the top */\n gap: 10px;\n margin-bottom: 12px;\n padding-top: 5px;\n padding-bottom: 5px;\n }\n\n .record-form-row label {\n width: 240px;\n margin-bottom: 0;\n align-self: start; /* Ensure the label is aligned to the top */\n }\n}\n\n/* Encrypted field styles */\n.encrypted-value {\n display: inline-flex;\n align-items: center;\n gap: 6px;\n color: #666;\n font-family: monospace;\n letter-spacing: 2px;\n}\n\n.encrypted-value-container {\n display: inline-flex;\n align-items: center;\n gap: 8px;\n}\n\n.encrypted-revealed-value {\n font-family: inherit;\n}\n\n.encrypted-icon {\n color: #888;\n font-size: 12px;\n}\n\n.encrypted-toggle-btn {\n background: none;\n border: 1px solid #ccc;\n border-radius: 4px;\n padding: 4px 8px;\n cursor: pointer;\n color: #666;\n font-size: 12px;\n transition: all 0.2s ease;\n}\n\n.encrypted-toggle-btn:hover {\n background-color: #f0f0f0;\n border-color: #999;\n color: #333;\n}\n\n.encrypted-field-edit {\n display: flex;\n flex-direction: column;\n gap: 8px;\n}\n\n.encrypted-field-edit-visible {\n display: flex;\n flex-direction: column;\n gap: 8px;\n}\n\n.encrypted-input-container {\n display: flex;\n align-items: center;\n gap: 8px;\n}\n\n.encrypted-current-value {\n display: inline-flex;\n align-items: center;\n gap: 6px;\n color: #666;\n font-family: monospace;\n letter-spacing: 2px;\n font-size: 13px;\n background-color: #f5f5f5;\n padding: 4px 8px;\n border-radius: 4px;\n width: fit-content;\n}\n\n.encrypted-input {\n max-width: 400px;\n}\n\n.encrypted-hint {\n font-size: 11px;\n color: #888;\n font-style: italic;\n}\n "] }]
|
|
637
|
+
args: [{ standalone: false, selector: 'mj-form-field', template: "<!--\nUsing a blend of *ngIf and the new @switch control flow because of a bug in early Angular 17 where\nthe @if wrapping the @switch didn't fully remove elements when swtiching back and forth. In the future if Angular fixes the bug\nwe can get rid of the *ngIf outer div blocks and instead use @if and contain the @switch within the same div block.\n-->\n@if (record.IsSaved || !IsFieldReadOnly) {\n <!-- We only render a field if the record is either saved, or the field is editable. Meaning, for NEW records, we only show editable fields -->\n @if ((!EditMode || IsFieldReadOnly) && !shouldHideField) {\n <div class=\"record-form-row\">\n @if (ShowLabel) {\n <label [innerHTML]=\"HighlightedDisplayName\"></label>\n }\n @if (IsEncryptedField) {\n <!-- Encrypted field in read-only mode -->\n @if (CanRevealEncryptedValue) {\n <!-- AllowDecryptInAPI=true: Show masked by default with reveal button -->\n <span class=\"encrypted-value-container\">\n @if (isEncryptedValueRevealed) {\n <span class=\"encrypted-revealed-value\">{{Value}}</span>\n }\n @else {\n <span class=\"encrypted-value\">\n <i class=\"fa-solid fa-lock encrypted-icon\"></i>\n {{EncryptedDisplayMask}}\n </span>\n }\n <button type=\"button\"\n class=\"encrypted-toggle-btn\"\n (click)=\"toggleEncryptedValueVisibility()\"\n [title]=\"isEncryptedValueRevealed ? 'Hide value' : 'Show value'\">\n <i class=\"fa-solid\" [class.fa-eye]=\"!isEncryptedValueRevealed\" [class.fa-eye-slash]=\"isEncryptedValueRevealed\"></i>\n </button>\n </span>\n }\n @else if (IsValueProtected) {\n <!-- AllowDecryptInAPI=false or sentinel: Always show masked, no reveal option -->\n <span class=\"encrypted-value\" title=\"This value is encrypted and protected\">\n <i class=\"fa-solid fa-lock encrypted-icon\"></i>\n {{EncryptedDisplayMask}}\n </span>\n }\n @else {\n <!-- Encrypted field with no value -->\n <span></span>\n }\n}\n@else {\n@switch (LinkType) {\n @case ('None') {\n @if (ExtendedType === 'Code') {\n <mj-code-editor [value]=\"record.Get(FieldName)\" [readonly]=\"true\" [languages]=\"languages\" [language]=\"'JavaScript'\"></mj-code-editor>\n }\n @else if (Type === 'checkbox') {\n <!-- Render checkboxes as disabled checkbox controls in read mode -->\n <input type=\"checkbox\" [checked]=\"Value\" kendoCheckBox disabled />\n }\n @else if (FieldInfo.Length === -1) {\n <!-- this is a varchar(max) type of field -->\n <mj-markdown #markdown [data]=\"record.Get(FieldName)\"></mj-markdown>\n <!-- <span [innerHTML]=\"record.Get(FieldName) | formatText\"></span> -->\n}\n@else {\n<span>{{FormatValue(FieldName, 0)}}</span>\n}\n}\n@case ('Email') {\n <span mjEmailLink [field]=\"record.GetFieldByName(FieldName)!\" >{{FormatValue(FieldName, 0)}}</span>\n}\n@case ('URL') {\n <span mjWebLink [field]=\"record.GetFieldByName(FieldName)!\" >{{FormatValue(FieldName, 0)}}</span>\n}\n@case ('Record') {\n <span mjFieldLink [record]=\"record\" [fieldName]=\"FieldName\" >{{FormatValue(FieldName, 0)}}</span>\n}\n}\n}\n</div>\n}\n@if (EditMode && !IsFieldReadOnly) {\n <div class=\"record-form-row\">\n @if (ShowLabel) {\n <label [innerHTML]=\"HighlightedDisplayName\"></label>\n }\n @if (IsBlindEncryptedEdit) {\n <!-- Encrypted field where user cannot see existing value (AllowDecryptInAPI=false) -->\n <div class=\"encrypted-field-edit\">\n <span class=\"encrypted-current-value\" title=\"Current value is encrypted and cannot be viewed\">\n <i class=\"fa-solid fa-lock encrypted-icon\"></i>\n {{EncryptedDisplayMask}}\n </span>\n <div class=\"encrypted-input-container\">\n <kendo-textbox\n [(ngModel)]=\"EncryptedEditValue\"\n [placeholder]=\"'Enter new value to replace encrypted data'\"\n class=\"encrypted-input\"\n [type]=\"isNewValueRevealed ? 'text' : 'password'\">\n </kendo-textbox>\n <button type=\"button\"\n class=\"encrypted-toggle-btn\"\n (click)=\"toggleNewValueVisibility()\"\n [title]=\"isNewValueRevealed ? 'Hide value' : 'Show value'\">\n <i class=\"fa-solid\" [class.fa-eye]=\"!isNewValueRevealed\" [class.fa-eye-slash]=\"isNewValueRevealed\"></i>\n </button>\n </div>\n <span class=\"encrypted-hint\">Enter a new value to overwrite the existing encrypted data (current value cannot be displayed)</span>\n </div>\n }\n @else if (IsEncryptedField) {\n <!-- Encrypted field where user CAN see existing value (AllowDecryptInAPI=true) -->\n <div class=\"encrypted-field-edit-visible\">\n <div class=\"encrypted-input-container\">\n <kendo-textbox\n [(ngModel)]=\"Value\"\n class=\"encrypted-input\"\n [type]=\"isEncryptedValueRevealed ? 'text' : 'password'\">\n </kendo-textbox>\n <button type=\"button\"\n class=\"encrypted-toggle-btn\"\n (click)=\"toggleEncryptedValueVisibility()\"\n [title]=\"isEncryptedValueRevealed ? 'Hide value' : 'Show value'\">\n <i class=\"fa-solid\" [class.fa-eye]=\"!isEncryptedValueRevealed\" [class.fa-eye-slash]=\"isEncryptedValueRevealed\"></i>\n </button>\n </div>\n </div>\n }\n @else if (FieldInfo && FieldInfo.RelatedEntity && FieldInfo.RelatedEntity.length > 0) {\n <!-- Foreign Key Link here -->\n <mj-link-field [record]=\"record\" [FieldName]=\"FieldName\" [LinkComponentType]=\"LinkComponentType\"></mj-link-field>\n}\n@else {\n<!-- Not a foreign key -->\n@switch (Type) {\n @case ('code') {\n <mj-code-editor [(ngModel)]=\"Value\" [languages]=\"languages\" [language]=\"'JavaScript'\"></mj-code-editor>\n }\n @case ('textbox') {\n <kendo-textbox [(ngModel)]=\"Value\" />\n }\n @case ('textarea') {\n <kendo-textarea [(ngModel)]=\"Value\"></kendo-textarea>\n }\n @case ('numerictextbox') {\n <kendo-numerictextbox [(value)]=\"Value\" class=\"narrower-component\" />\n }\n @case ('datepicker') {\n <kendo-datepicker [(value)]=\"Value\" class=\"narrower-component\"></kendo-datepicker>\n }\n @case ('checkbox') {\n <input type=\"checkbox\" [(ngModel)]=\"Value\" kendoCheckBox />\n }\n @case ('dropdownlist') {\n <kendo-dropdownlist [data]=\"PossibleValues\" [(ngModel)]=\"Value\"></kendo-dropdownlist>\n }\n @case ('combobox') {\n <kendo-combobox [data]=\"PossibleValues\" [allowCustom]=\"true\" [(ngModel)]=\"Value\"></kendo-combobox>\n }\n}\n}\n</div>\n}\n}\n", styles: [".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 align-items: start; /* Ensure items are aligned at the top */\n} \n \n \n.narrower-component {\n width: 435px;\n}\n.record-form-row label {\n font-weight: bold;\n padding-right: 10px;\n width: 240px;\n margin-bottom: 0;\n align-self: start; /* Align the label to the start (top) */\n}\n\n/* Enable wrapping and vertical scrolling for field values */\n.record-form-row > :nth-child(2) {\n overflow-wrap: break-word;\n word-wrap: break-word;\n word-break: break-word;\n min-width: 0;\n max-width: 100%;\n}\n\n/*\n Eliminate the default margin and padding for the markdown elements\n */\n.record-form-row markdown > p,\n.record-form-row markdown > h1,\n.record-form-row markdown > h2,\n.record-form-row markdown > h3,\n.record-form-row markdown > h4,\n.record-form-row markdown > h5,\n.record-form-row markdown > h6 {\n margin:0 !important;\n}\n\nmarkdown {\n font-size: 14px; /* Match app standard text size (changed from 1rem) */\n}\n\n/* Search highlighting for field labels */\n.record-form-row label ::ng-deep .search-highlight {\n background-color: #fef08a;\n color: #854d0e;\n padding: 0;\n border-radius: 2px;\n font-weight: 700;\n box-shadow: 0 0 0 2px #fef08a;\n}\n\n\n@media (min-width: 768px) {\n .record-form-row {\n display: grid; /* Ensure grid display is used for larger screens as well */\n grid-template-columns: auto 1fr;\n align-items: start; /* Keep the alignment at the top */\n gap: 10px;\n margin-bottom: 12px;\n padding-top: 5px;\n padding-bottom: 5px;\n }\n\n .record-form-row label {\n width: 240px;\n margin-bottom: 0;\n align-self: start; /* Ensure the label is aligned to the top */\n }\n}\n\n/* Encrypted field styles */\n.encrypted-value {\n display: inline-flex;\n align-items: center;\n gap: 6px;\n color: #666;\n font-family: monospace;\n letter-spacing: 2px;\n}\n\n.encrypted-value-container {\n display: inline-flex;\n align-items: center;\n gap: 8px;\n}\n\n.encrypted-revealed-value {\n font-family: inherit;\n}\n\n.encrypted-icon {\n color: #888;\n font-size: 12px;\n}\n\n.encrypted-toggle-btn {\n background: none;\n border: 1px solid #ccc;\n border-radius: 4px;\n padding: 4px 8px;\n cursor: pointer;\n color: #666;\n font-size: 12px;\n transition: all 0.2s ease;\n}\n\n.encrypted-toggle-btn:hover {\n background-color: #f0f0f0;\n border-color: #999;\n color: #333;\n}\n\n.encrypted-field-edit {\n display: flex;\n flex-direction: column;\n gap: 8px;\n}\n\n.encrypted-field-edit-visible {\n display: flex;\n flex-direction: column;\n gap: 8px;\n}\n\n.encrypted-input-container {\n display: flex;\n align-items: center;\n gap: 8px;\n}\n\n.encrypted-current-value {\n display: inline-flex;\n align-items: center;\n gap: 6px;\n color: #666;\n font-family: monospace;\n letter-spacing: 2px;\n font-size: 13px;\n background-color: #f5f5f5;\n padding: 4px 8px;\n border-radius: 4px;\n width: fit-content;\n}\n\n.encrypted-input {\n max-width: 400px;\n}\n\n.encrypted-hint {\n font-size: 11px;\n color: #888;\n font-style: italic;\n}\n "] }]
|
|
636
638
|
}], () => [{ type: i0.Renderer2 }], { record: [{
|
|
637
639
|
type: Input
|
|
638
640
|
}], EditMode: [{
|
|
@@ -663,5 +665,5 @@ export class MJFormField extends BaseRecordComponent {
|
|
|
663
665
|
type: ViewChild,
|
|
664
666
|
args: ['markdown', { static: false }]
|
|
665
667
|
}] }); })();
|
|
666
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(MJFormField, { className: "MJFormField", filePath: "src/lib/base-field-component.ts", lineNumber:
|
|
668
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(MJFormField, { className: "MJFormField", filePath: "src/lib/base-field-component.ts", lineNumber: 22 }); })();
|
|
667
669
|
//# sourceMappingURL=base-field-component.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"base-field-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,CAAC;qGApUU,WAAW;6DAAX,WAAW;;;;;;YCfxB,0DAA0C;;YAA1C,qEAqJC;;;iFDtIY,WAAW;cALvB,SAAS;2BACE,eAAe;0CAQhB,MAAM;kBAAd,KAAK;YAIG,QAAQ;kBAAhB,KAAK;YAIG,SAAS;kBAAjB,KAAK;YAIG,IAAI;kBAAZ,KAAK;YAKG,QAAQ;kBAAhB,KAAK;YAKG,iBAAiB;kBAAzB,KAAK;YAKG,SAAS;kBAAjB,KAAK;YAKG,WAAW;kBAAnB,KAAK;YAMG,2BAA2B;kBAAnC,KAAK;YASK,WAAW;kBADrB,KAAK;YAqDO,cAAc;kBAA1B,KAAK;YAcK,KAAK;kBADf,KAAK;YAmBI,WAAW;kBAApB,MAAM;YA+JkC,QAAQ;kBAAhD,SAAS;mBAAC,UAAU,EAAE,EAAE,MAAM,EAAE,KAAK,EAAC;;kFAtS5B,WAAW"}
|
|
1
|
+
{"version":3,"file":"base-field-component.js","sourceRoot":"","sources":["../../src/lib/base-field-component.ts","../../src/lib/base-field-component.html"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,KAAK,EAAE,MAAM,EAAE,YAAY,EAAE,SAAS,EAA4B,MAAM,eAAe,CAAC;AAC5G,OAAO,EAA4C,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AACnG,OAAO,EAAE,mBAAmB,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAC/E,OAAO,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAC;AAG9D,OAAO,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAC;AACtD,OAAO,EAAE,oBAAoB,EAAE,MAAM,+BAA+B,CAAC;;;;;;;;;;;;ICG7D,2BAAoD;;;IAA7C,4EAAoC;;;IAQrC,+BAAuC;IAAA,YAAS;IAAA,iBAAO;;;IAAhB,cAAS;IAAT,kCAAS;;;IAGlD,+BAA8B;IAC5B,uBAA+C;IAC/C,YACF;IAAA,iBAAO;;;IADL,eACF;I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