@wavemaker/app-ng-runtime 12.0.0-next.141134 → 12.0.0-next.141140
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.
- app-ng-runtime/build-task/bundles/index.umd.js +407 -460
- app-ng-runtime/build-task/esm2022/containers/accordion/accordion-pane/accordion-pane.build.mjs +2 -2
- app-ng-runtime/build-task/esm2022/containers/accordion/accordion.build.mjs +3 -3
- app-ng-runtime/build-task/esm2022/containers/wizard/wizard.build.mjs +2 -2
- app-ng-runtime/build-task/esm2022/data/form/form-field/form-field.build.mjs +2 -10
- app-ng-runtime/build-task/esm2022/input/chips/chips.build.mjs +2 -2
- app-ng-runtime/build-task/esm2022/input/file-upload/file-upload.build.mjs +2 -2
- app-ng-runtime/build-task/esm2022/public_api.mjs +1 -3
- app-ng-runtime/build-task/fesm2022/index.mjs +408 -463
- app-ng-runtime/build-task/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/build-task/public_api.d.ts +0 -2
- app-ng-runtime/components/base/bundles/index.umd.js +16 -79
- app-ng-runtime/components/base/components.module.d.ts +11 -12
- app-ng-runtime/components/base/esm2022/components.module.mjs +1 -5
- app-ng-runtime/components/base/esm2022/public_api.mjs +1 -2
- app-ng-runtime/components/base/esm2022/widgets/common/base/base.component.mjs +17 -42
- app-ng-runtime/components/base/esm2022/widgets/framework/property-change-handler.mjs +2 -2
- app-ng-runtime/components/base/fesm2022/index.mjs +18 -80
- app-ng-runtime/components/base/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/base/public_api.d.ts +0 -1
- app-ng-runtime/components/base/widgets/common/base/base-field-validations.d.ts +1 -1
- app-ng-runtime/components/base/widgets/common/base/base.component.d.ts +5 -11
- app-ng-runtime/components/basic/default/audio/audio.component.d.ts +2 -0
- app-ng-runtime/components/basic/default/bundles/index.umd.js +18 -7
- app-ng-runtime/components/basic/default/esm2022/audio/audio.component.mjs +13 -5
- app-ng-runtime/components/basic/default/esm2022/video/video.component.mjs +7 -4
- app-ng-runtime/components/basic/default/fesm2022/index.mjs +18 -7
- app-ng-runtime/components/basic/default/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/basic/default/video/video.component.d.ts +1 -0
- app-ng-runtime/components/basic/progress/bundles/index.umd.js +7 -3
- app-ng-runtime/components/basic/progress/esm2022/progress-bar/progress-bar.component.mjs +8 -4
- app-ng-runtime/components/basic/progress/fesm2022/index.mjs +7 -3
- app-ng-runtime/components/basic/progress/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/basic/progress/progress-bar/progress-bar.component.d.ts +1 -0
- app-ng-runtime/components/basic/search/bundles/index.umd.js +31 -38
- app-ng-runtime/components/basic/search/esm2022/search.component.mjs +31 -35
- app-ng-runtime/components/basic/search/esm2022/search.props.mjs +2 -5
- app-ng-runtime/components/basic/search/fesm2022/index.mjs +31 -38
- app-ng-runtime/components/basic/search/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/basic/search/search.component.d.ts +3 -5
- app-ng-runtime/components/containers/accordion/accordion-pane/accordion-pane.component.d.ts +1 -0
- app-ng-runtime/components/containers/accordion/bundles/index.umd.js +15 -9
- app-ng-runtime/components/containers/accordion/esm2022/accordion-pane/accordion-pane.component.mjs +13 -10
- app-ng-runtime/components/containers/accordion/esm2022/accordion.directive.mjs +4 -1
- app-ng-runtime/components/containers/accordion/fesm2022/index.mjs +15 -9
- app-ng-runtime/components/containers/accordion/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/containers/tabs/bundles/index.umd.js +6 -14
- app-ng-runtime/components/containers/tabs/esm2022/tabs.component.mjs +7 -14
- app-ng-runtime/components/containers/tabs/esm2022/tabs.props.mjs +2 -3
- app-ng-runtime/components/containers/tabs/fesm2022/index.mjs +6 -14
- app-ng-runtime/components/containers/tabs/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/containers/tabs/tabs.component.d.ts +0 -1
- app-ng-runtime/components/containers/wizard/bundles/index.umd.js +6 -6
- app-ng-runtime/components/containers/wizard/esm2022/wizard.component.mjs +7 -7
- app-ng-runtime/components/containers/wizard/fesm2022/index.mjs +6 -6
- app-ng-runtime/components/containers/wizard/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/data/form/bundles/index.umd.js +11 -23
- app-ng-runtime/components/data/form/esm2022/form-field/form-field.directive.mjs +12 -24
- app-ng-runtime/components/data/form/fesm2022/index.mjs +11 -23
- app-ng-runtime/components/data/form/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/data/form/form-field/form-field.directive.d.ts +0 -1
- app-ng-runtime/components/data/list/bundles/index.umd.js +12 -12
- app-ng-runtime/components/data/list/esm2022/list.component.mjs +13 -13
- app-ng-runtime/components/data/list/fesm2022/index.mjs +12 -12
- app-ng-runtime/components/data/list/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/data/table/bundles/index.umd.js +1 -1
- app-ng-runtime/components/data/table/esm2022/table-row/table-row.props.mjs +2 -2
- app-ng-runtime/components/data/table/fesm2022/index.mjs +1 -1
- app-ng-runtime/components/data/table/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/dialogs/default/base-dialog.d.ts +0 -2
- app-ng-runtime/components/dialogs/default/bundles/index.umd.js +6 -17
- app-ng-runtime/components/dialogs/default/esm2022/base-dialog.mjs +1 -1
- app-ng-runtime/components/dialogs/default/esm2022/dialog-body/dialog-body.directive.mjs +2 -14
- app-ng-runtime/components/dialogs/default/esm2022/dialog-header/dialog-header.component.mjs +7 -6
- app-ng-runtime/components/dialogs/default/fesm2022/index.mjs +7 -18
- app-ng-runtime/components/dialogs/default/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/dialogs/design-dialog/bundles/index.umd.js +3 -21
- app-ng-runtime/components/dialogs/design-dialog/dialog.component.d.ts +2 -3
- app-ng-runtime/components/dialogs/design-dialog/esm2022/dialog.component.mjs +4 -22
- app-ng-runtime/components/dialogs/design-dialog/fesm2022/index.mjs +3 -21
- app-ng-runtime/components/dialogs/design-dialog/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/input/chips/bundles/index.umd.js +6 -3
- app-ng-runtime/components/input/chips/esm2022/chips.component.mjs +7 -4
- app-ng-runtime/components/input/chips/fesm2022/index.mjs +6 -3
- app-ng-runtime/components/input/chips/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/input/default/base-form-custom.component.d.ts +1 -2
- app-ng-runtime/components/input/default/bundles/index.umd.js +62 -107
- app-ng-runtime/components/input/default/checkboxset/checkboxset.component.d.ts +0 -1
- app-ng-runtime/components/input/default/dataset-aware-form.component.d.ts +2 -2
- app-ng-runtime/components/input/default/esm2022/base-form-custom.component.mjs +1 -6
- app-ng-runtime/components/input/default/esm2022/checkboxset/checkboxset.component.mjs +5 -10
- app-ng-runtime/components/input/default/esm2022/dataset-aware-form.component.mjs +5 -5
- app-ng-runtime/components/input/default/esm2022/radioset/radioset.component.mjs +5 -10
- app-ng-runtime/components/input/default/esm2022/switch/switch.component.mjs +38 -64
- app-ng-runtime/components/input/default/esm2022/switch/switch.props.mjs +1 -2
- app-ng-runtime/components/input/default/esm2022/text/base/base-input.mjs +1 -4
- app-ng-runtime/components/input/default/fesm2022/index.mjs +62 -107
- app-ng-runtime/components/input/default/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/input/default/radioset/radioset.component.d.ts +0 -1
- app-ng-runtime/components/input/default/switch/switch.component.d.ts +0 -2
- app-ng-runtime/components/input/epoch/base-date-time.component.d.ts +2 -1
- app-ng-runtime/components/input/epoch/bundles/index.umd.js +18 -14
- app-ng-runtime/components/input/epoch/esm2022/base-date-time.component.mjs +10 -6
- app-ng-runtime/components/input/epoch/esm2022/date/date.component.mjs +4 -4
- app-ng-runtime/components/input/epoch/esm2022/date-time/date-time.component.mjs +4 -4
- app-ng-runtime/components/input/epoch/fesm2022/index.mjs +15 -11
- app-ng-runtime/components/input/epoch/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/input/file-upload/bundles/index.umd.js +80 -64
- app-ng-runtime/components/input/file-upload/esm2022/file-upload.component.mjs +80 -65
- app-ng-runtime/components/input/file-upload/esm2022/file-upload.props.mjs +3 -2
- app-ng-runtime/components/input/file-upload/fesm2022/index.mjs +81 -65
- app-ng-runtime/components/input/file-upload/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/input/file-upload/file-upload.component.d.ts +7 -2
- app-ng-runtime/components/input/rating/bundles/index.umd.js +35 -26
- app-ng-runtime/components/input/rating/esm2022/rating.component.mjs +37 -26
- app-ng-runtime/components/input/rating/esm2022/rating.props.mjs +1 -3
- app-ng-runtime/components/input/rating/fesm2022/index.mjs +36 -27
- app-ng-runtime/components/input/rating/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/input/rating/rating.component.d.ts +1 -3
- app-ng-runtime/components/navigation/breadcrumb/bundles/index.umd.js +6 -6
- app-ng-runtime/components/navigation/breadcrumb/esm2022/breadcrumb.component.mjs +7 -7
- app-ng-runtime/components/navigation/breadcrumb/fesm2022/index.mjs +6 -6
- app-ng-runtime/components/navigation/breadcrumb/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/page/left-panel/bundles/index.umd.js +2 -6
- app-ng-runtime/components/page/left-panel/esm2022/left-panel.directive.mjs +5 -9
- app-ng-runtime/components/page/left-panel/fesm2022/index.mjs +4 -8
- app-ng-runtime/components/page/left-panel/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/page/left-panel/left-panel.directive.d.ts +2 -2
- app-ng-runtime/components/page/right-panel/bundles/index.umd.js +2 -6
- app-ng-runtime/components/page/right-panel/esm2022/right-panel.directive.mjs +5 -9
- app-ng-runtime/components/page/right-panel/fesm2022/index.mjs +4 -8
- app-ng-runtime/components/page/right-panel/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/page/right-panel/right-panel.directive.d.ts +2 -2
- app-ng-runtime/core/bundles/index.umd.js +0 -23
- app-ng-runtime/core/enums/enums.d.ts +0 -1
- app-ng-runtime/core/esm2022/enums/enums.mjs +1 -2
- app-ng-runtime/core/esm2022/public_api.mjs +2 -2
- app-ng-runtime/core/esm2022/types/types.mjs +1 -4
- app-ng-runtime/core/esm2022/utils/build-utils.mjs +1 -6
- app-ng-runtime/core/esm2022/utils/utils.mjs +1 -10
- app-ng-runtime/core/fesm2022/index.mjs +1 -21
- app-ng-runtime/core/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/core/public_api.d.ts +1 -1
- app-ng-runtime/core/types/types.d.ts +1 -5
- app-ng-runtime/core/utils/utils.d.ts +0 -2
- app-ng-runtime/locales/moment-timezone/moment-timezone-with-data.js +37 -37
- app-ng-runtime/package.json +1 -1
- app-ng-runtime/runtime/base/bundles/index.umd.js +4 -304
- app-ng-runtime/runtime/base/esm2022/public_api.mjs +1 -2
- app-ng-runtime/runtime/base/esm2022/runtime-base.module.mjs +1 -6
- app-ng-runtime/runtime/base/esm2022/types/types.mjs +1 -4
- app-ng-runtime/runtime/base/fesm2022/index.mjs +3 -302
- app-ng-runtime/runtime/base/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/runtime/base/public_api.d.ts +0 -1
- app-ng-runtime/runtime/base/runtime-base.module.d.ts +8 -9
- app-ng-runtime/runtime/base/services/i18n.service.d.ts +1 -1
- app-ng-runtime/runtime/base/types/types.d.ts +1 -5
- app-ng-runtime/runtime/dynamic/bundles/index.umd.js +13 -49
- app-ng-runtime/runtime/dynamic/esm2022/app/app.module.mjs +3 -8
- app-ng-runtime/runtime/dynamic/esm2022/app/services/component-ref-provider.service.mjs +7 -23
- app-ng-runtime/runtime/dynamic/fesm2022/index.mjs +11 -50
- app-ng-runtime/runtime/dynamic/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/scripts/datatable/datatable.js +23 -30
- app-ng-runtime/transpiler/bundles/index.umd.js +0 -5
- app-ng-runtime/transpiler/esm2022/build.mjs +1 -4
- app-ng-runtime/transpiler/esm2022/imports.mjs +1 -3
- app-ng-runtime/transpiler/fesm2022/index.mjs +0 -5
- app-ng-runtime/transpiler/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/variables/bundles/index.umd.js +34 -16
- app-ng-runtime/variables/esm2022/manager/variable/web-socket-variable.manager.mjs +35 -17
- app-ng-runtime/variables/fesm2022/index.mjs +34 -16
- app-ng-runtime/variables/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/variables/manager/variable/web-socket-variable.manager.d.ts +0 -4
- app-ng-runtime/build-task/advanced/custom-widget-container/custom-widget-container.build.d.ts +0 -2
- app-ng-runtime/build-task/advanced/custom-widget-wrapper/custom-widget-wrapper.build.d.ts +0 -2
- app-ng-runtime/build-task/esm2022/advanced/custom-widget-container/custom-widget-container.build.mjs +0 -15
- app-ng-runtime/build-task/esm2022/advanced/custom-widget-wrapper/custom-widget-wrapper.build.mjs +0 -26
- app-ng-runtime/components/advanced/custom/.npmignore +0 -2
- app-ng-runtime/components/advanced/custom/bundles/index.umd.js +0 -272
- app-ng-runtime/components/advanced/custom/custom-widget-container/custom-widget-container.directive.d.ts +0 -26
- app-ng-runtime/components/advanced/custom/custom-widget-container/custom-widget.props.d.ts +0 -2
- app-ng-runtime/components/advanced/custom/custom-widget-prop.d.ts +0 -1
- app-ng-runtime/components/advanced/custom/custom-widget.directive.d.ts +0 -19
- app-ng-runtime/components/advanced/custom/custom-widget.module.d.ts +0 -10
- app-ng-runtime/components/advanced/custom/esm2022/custom-widget-container/custom-widget-container.directive.mjs +0 -145
- app-ng-runtime/components/advanced/custom/esm2022/custom-widget-container/custom-widget.props.mjs +0 -12
- app-ng-runtime/components/advanced/custom/esm2022/custom-widget-prop.mjs +0 -8
- app-ng-runtime/components/advanced/custom/esm2022/custom-widget.directive.mjs +0 -68
- app-ng-runtime/components/advanced/custom/esm2022/custom-widget.module.mjs +0 -32
- app-ng-runtime/components/advanced/custom/esm2022/index.mjs +0 -5
- app-ng-runtime/components/advanced/custom/esm2022/public_api.mjs +0 -4
- app-ng-runtime/components/advanced/custom/fesm2022/index.mjs +0 -258
- app-ng-runtime/components/advanced/custom/fesm2022/index.mjs.map +0 -1
- app-ng-runtime/components/advanced/custom/index.d.ts +0 -5
- app-ng-runtime/components/advanced/custom/package.json +0 -23
- app-ng-runtime/components/advanced/custom/public_api.d.ts +0 -3
- app-ng-runtime/components/base/esm2022/widgets/common/base/custom-widget-container.directive.mjs +0 -39
- app-ng-runtime/components/base/widgets/common/base/custom-widget-container.directive.d.ts +0 -14
- app-ng-runtime/runtime/base/components/base-custom-widget.component.d.ts +0 -75
- app-ng-runtime/runtime/base/esm2022/components/base-custom-widget.component.mjs +0 -303
- app-ng-runtime/runtime/dynamic/app/services/customwidget-config-provider.service.d.ts +0 -8
- app-ng-runtime/runtime/dynamic/esm2022/app/services/customwidget-config-provider.service.mjs +0 -22
|
@@ -14,9 +14,6 @@ export class BaseInput extends BaseFormCustomComponent {
|
|
|
14
14
|
/* WMS-18269 | Update Angular about the required attr value change */
|
|
15
15
|
this._onChange(this.datavalue);
|
|
16
16
|
}
|
|
17
|
-
if (key === 'updateon') {
|
|
18
|
-
this.ngModelOptions.updateOn = nv === 'default' ? 'change' : ov;
|
|
19
|
-
}
|
|
20
17
|
if (key === 'class') {
|
|
21
18
|
if (this.inputEl.nativeElement) {
|
|
22
19
|
switchClass(this.inputEl.nativeElement, nv, ov);
|
|
@@ -90,4 +87,4 @@ export class BaseInput extends BaseFormCustomComponent {
|
|
|
90
87
|
}, {
|
|
91
88
|
type: Optional
|
|
92
89
|
}] }], null); })();
|
|
93
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
90
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYmFzZS1pbnB1dC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2NvbXBvbmVudHMvd2lkZ2V0cy9pbnB1dC9kZWZhdWx0L3NyYy90ZXh0L2Jhc2UvYmFzZS1pbnB1dC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxP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wZGF0ZU9uID0gdXBkYXRlT247XG4gICAgfVxufVxuIl19
|
|
@@ -42,21 +42,21 @@ const registerProps$e = () => {
|
|
|
42
42
|
const _c0$c = ["wmButton", ""];
|
|
43
43
|
const _c1$b = [[["", 8, "caret"]]];
|
|
44
44
|
const _c2$8 = [".caret"];
|
|
45
|
-
const _c3$
|
|
46
|
-
const _c4$
|
|
45
|
+
const _c3$3 = (a0, a1, a2) => ({ width: a0, height: a1, margin: a2 });
|
|
46
|
+
const _c4$2 = (a0, a1, a2, a3) => ({ width: a0, height: a1, margin: a2, fontSize: a3 });
|
|
47
47
|
function ButtonComponent_img_0_Template(rf, ctx) { if (rf & 1) {
|
|
48
48
|
i0.ɵɵelement(0, "img", 5);
|
|
49
49
|
i0.ɵɵpipe(1, "image");
|
|
50
50
|
} if (rf & 2) {
|
|
51
51
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
52
|
-
i0.ɵɵproperty("src", i0.ɵɵpipeBind1(1, 2, ctx_r0.iconurl), i0.ɵɵsanitizeUrl)("ngStyle", i0.ɵɵpureFunction3(4, _c3$
|
|
52
|
+
i0.ɵɵproperty("src", i0.ɵɵpipeBind1(1, 2, ctx_r0.iconurl), i0.ɵɵsanitizeUrl)("ngStyle", i0.ɵɵpureFunction3(4, _c3$3, ctx_r0.iconwidth, ctx_r0.iconheight, ctx_r0.iconmargin));
|
|
53
53
|
} }
|
|
54
54
|
function ButtonComponent_i_1_Template(rf, ctx) { if (rf & 1) {
|
|
55
55
|
i0.ɵɵelement(0, "i", 6);
|
|
56
56
|
} if (rf & 2) {
|
|
57
57
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
58
58
|
i0.ɵɵclassMapInterpolate1("app-icon ", ctx_r0.iconclass, "");
|
|
59
|
-
i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction4(4, _c4$
|
|
59
|
+
i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction4(4, _c4$2, ctx_r0.iconwidth, ctx_r0.iconheight, ctx_r0.iconmargin, ctx_r0.iconwidth));
|
|
60
60
|
} }
|
|
61
61
|
function ButtonComponent_span_2_Template(rf, ctx) { if (rf & 1) {
|
|
62
62
|
i0.ɵɵelementStart(0, "span", 7);
|
|
@@ -318,8 +318,6 @@ class BaseFormCustomComponent extends BaseFormComponent {
|
|
|
318
318
|
return;
|
|
319
319
|
}
|
|
320
320
|
if (this._formControl) {
|
|
321
|
-
if (this._formControl.valueAccessor["widgetSubType"].startsWith('wm-custom-'))
|
|
322
|
-
return;
|
|
323
321
|
this.datavalue = value;
|
|
324
322
|
this.onPropertyChange('datavalue', value);
|
|
325
323
|
this.updatePrevDatavalue(value);
|
|
@@ -331,9 +329,6 @@ class BaseFormCustomComponent extends BaseFormComponent {
|
|
|
331
329
|
*/
|
|
332
330
|
(value !== this.datavalue) && this._onChange(this.datavalue);
|
|
333
331
|
}
|
|
334
|
-
get formControl() {
|
|
335
|
-
return this._formControl;
|
|
336
|
-
}
|
|
337
332
|
invokeOnChange(value, $event, valid) {
|
|
338
333
|
// let the angular know about the change
|
|
339
334
|
this._onChange(value);
|
|
@@ -393,7 +388,7 @@ const registerProps$c = () => {
|
|
|
393
388
|
const _c0$b = ["checkbox"];
|
|
394
389
|
const _c1$a = ["wmCheckbox", ""];
|
|
395
390
|
const _c2$7 = (a0, a1, a2) => ({ "unchecked": a0, "disabled": a1, "required": a2 });
|
|
396
|
-
const _c3$
|
|
391
|
+
const _c3$2 = () => ({ standalone: true });
|
|
397
392
|
const DEFAULT_CLS$4 = 'app-checkbox checkbox';
|
|
398
393
|
const WIDGET_CONFIG$c = {
|
|
399
394
|
widgetType: 'wm-checkbox',
|
|
@@ -516,7 +511,7 @@ class CheckboxComponent extends BaseFormCustomComponent {
|
|
|
516
511
|
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction3(13, _c2$7, !ctx.proxyModel, ctx.disabled || ctx.readonly, ctx.required && ctx._caption));
|
|
517
512
|
i0.ɵɵadvance();
|
|
518
513
|
i0.ɵɵtwoWayProperty("ngModel", ctx.proxyModel);
|
|
519
|
-
i0.ɵɵproperty("ngModelOptions", i0.ɵɵpureFunction0(17, _c3$
|
|
514
|
+
i0.ɵɵproperty("ngModelOptions", i0.ɵɵpureFunction0(17, _c3$2))("readonly", ctx.readonly)("required", ctx.required)("disabled", ctx.disabled || ctx.readonly)("tabindex", ctx.tabindex);
|
|
520
515
|
i0.ɵɵattribute("name", ctx.name)("aria-label", ctx.arialabel)("accesskey", ctx.shortcutkey);
|
|
521
516
|
i0.ɵɵadvance(2);
|
|
522
517
|
i0.ɵɵproperty("innerHtml", ctx._caption, i0.ɵɵsanitizeHtml);
|
|
@@ -584,8 +579,8 @@ class DatasetAwareFormComponent extends BaseFormCustomComponent {
|
|
|
584
579
|
// invoke on datavalue change.
|
|
585
580
|
this.invokeOnChange(val, undefined, true);
|
|
586
581
|
}
|
|
587
|
-
constructor(inj, config, explicitContext, groupby
|
|
588
|
-
super(inj, config, explicitContext
|
|
582
|
+
constructor(inj, config, explicitContext, groupby) {
|
|
583
|
+
super(inj, config, explicitContext);
|
|
589
584
|
this.groupby = groupby;
|
|
590
585
|
this.datasetItems = [];
|
|
591
586
|
this.acceptsArray = false; // set to true if proxyModel on widget accepts array type.
|
|
@@ -837,7 +832,7 @@ class DatasetAwareFormComponent extends BaseFormCustomComponent {
|
|
|
837
832
|
this.cancelLocaleChangeSubscription();
|
|
838
833
|
}
|
|
839
834
|
}
|
|
840
|
-
static { this.ɵfac = function DatasetAwareFormComponent_Factory(t) { return new (t || DatasetAwareFormComponent)(i0.ɵɵinject(i0.Injector), i0.ɵɵinject(WidgetConfig), i0.ɵɵinject('EXPLICIT_CONTEXT', 8), i0.ɵɵinjectAttribute('groupby')
|
|
835
|
+
static { this.ɵfac = function DatasetAwareFormComponent_Factory(t) { return new (t || DatasetAwareFormComponent)(i0.ɵɵinject(i0.Injector), i0.ɵɵinject(WidgetConfig), i0.ɵɵinject('EXPLICIT_CONTEXT', 8), i0.ɵɵinjectAttribute('groupby')); }; }
|
|
841
836
|
static { this.ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: DatasetAwareFormComponent, factory: DatasetAwareFormComponent.ɵfac }); }
|
|
842
837
|
}
|
|
843
838
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(DatasetAwareFormComponent, [{
|
|
@@ -853,7 +848,7 @@ class DatasetAwareFormComponent extends BaseFormCustomComponent {
|
|
|
853
848
|
}] }, { type: undefined, decorators: [{
|
|
854
849
|
type: Attribute,
|
|
855
850
|
args: ['groupby']
|
|
856
|
-
}] }
|
|
851
|
+
}] }], null); })();
|
|
857
852
|
|
|
858
853
|
const checkboxsetProps = new Map([
|
|
859
854
|
['class', PROP_STRING],
|
|
@@ -891,8 +886,8 @@ const registerProps$b = () => {
|
|
|
891
886
|
const _c0$a = ["wmCheckboxset", ""];
|
|
892
887
|
const _c1$9 = (a0, a1) => ["checkbox", "app-checkbox", a0, a1];
|
|
893
888
|
const _c2$6 = a0 => ({ "disabled": a0 });
|
|
894
|
-
const _c3$
|
|
895
|
-
const _c4$
|
|
889
|
+
const _c3$1 = a0 => ({ "collapsible-content": a0 });
|
|
890
|
+
const _c4$1 = (a0, a1) => ["checkbox", "app-checkbox", "group-list-item", a0, a1];
|
|
896
891
|
function CheckboxsetComponent_ng_template_0_li_0_label_1_Template(rf, ctx) { if (rf & 1) {
|
|
897
892
|
i0.ɵɵelementStart(0, "label", 8);
|
|
898
893
|
i0.ɵɵelement(1, "input", 9)(2, "span", 10);
|
|
@@ -1000,7 +995,7 @@ function CheckboxsetComponent_ng_template_3_li_0_li_8_Template(rf, ctx) { if (rf
|
|
|
1000
995
|
const item_r9 = ctx.$implicit;
|
|
1001
996
|
const ctx_r2 = i0.ɵɵnextContext(3);
|
|
1002
997
|
i0.ɵɵclassProp("active", item_r9.selected);
|
|
1003
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction2(7, _c4$
|
|
998
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction2(7, _c4$1, ctx_r2.itemclass, ctx_r2.itemsPerRowClass))("wmItemTemplate", ctx_r2.content)("userComponentParams", item_r9);
|
|
1004
999
|
i0.ɵɵadvance();
|
|
1005
1000
|
i0.ɵɵproperty("ngIf", !ctx_r2.content);
|
|
1006
1001
|
i0.ɵɵadvance();
|
|
@@ -1024,7 +1019,7 @@ function CheckboxsetComponent_ng_template_3_li_0_Template(rf, ctx) { if (rf & 1)
|
|
|
1024
1019
|
i0.ɵɵadvance();
|
|
1025
1020
|
i0.ɵɵattribute("aria-labelledby", "group_" + ctx_r2.widgetId + "_" + groupindex_r12);
|
|
1026
1021
|
i0.ɵɵadvance();
|
|
1027
|
-
i0.ɵɵproperty("id", "group_" + ctx_r2.widgetId + "_" + groupindex_r12)("title", groupObj_r7.key)("ngClass", i0.ɵɵpureFunction1(9, _c3$
|
|
1022
|
+
i0.ɵɵproperty("id", "group_" + ctx_r2.widgetId + "_" + groupindex_r12)("title", groupObj_r7.key)("ngClass", i0.ɵɵpureFunction1(9, _c3$1, ctx_r2.collapsible));
|
|
1028
1023
|
i0.ɵɵadvance();
|
|
1029
1024
|
i0.ɵɵattribute("aria-label", "Group " + groupObj_r7.key);
|
|
1030
1025
|
i0.ɵɵadvance();
|
|
@@ -1052,14 +1047,6 @@ class CheckboxsetComponent extends DatasetAwareFormComponent {
|
|
|
1052
1047
|
styler(this.nativeElement, this);
|
|
1053
1048
|
this.multiple = true;
|
|
1054
1049
|
}
|
|
1055
|
-
triggerInvokeOnChange(keys, $event) {
|
|
1056
|
-
this.modelByKey = keys;
|
|
1057
|
-
if (this.viewParent.containerWidget)
|
|
1058
|
-
this.viewParent.containerWidget.updateDataValue(this.datavalue);
|
|
1059
|
-
this.invokeOnTouched();
|
|
1060
|
-
// invoke on datavalue change.
|
|
1061
|
-
this.invokeOnChange(this.datavalue, $event || {}, true);
|
|
1062
|
-
}
|
|
1063
1050
|
onCheckboxLabelClick($event, key) {
|
|
1064
1051
|
if (!$($event.target).is('input')) {
|
|
1065
1052
|
return;
|
|
@@ -1071,7 +1058,10 @@ class CheckboxsetComponent extends DatasetAwareFormComponent {
|
|
|
1071
1058
|
// @ts-ignore
|
|
1072
1059
|
keys.push($el.value);
|
|
1073
1060
|
});
|
|
1074
|
-
this.
|
|
1061
|
+
this.modelByKey = keys;
|
|
1062
|
+
this.invokeOnTouched();
|
|
1063
|
+
// invoke on datavalue change.
|
|
1064
|
+
this.invokeOnChange(this.datavalue, $event || {}, true);
|
|
1075
1065
|
}
|
|
1076
1066
|
// change and blur events are added from the template
|
|
1077
1067
|
handleEvent(node, eventName, callback, locals) {
|
|
@@ -1275,9 +1265,6 @@ class BaseInput extends BaseFormCustomComponent {
|
|
|
1275
1265
|
/* WMS-18269 | Update Angular about the required attr value change */
|
|
1276
1266
|
this._onChange(this.datavalue);
|
|
1277
1267
|
}
|
|
1278
|
-
if (key === 'updateon') {
|
|
1279
|
-
this.ngModelOptions.updateOn = nv === 'default' ? 'change' : ov;
|
|
1280
|
-
}
|
|
1281
1268
|
if (key === 'class') {
|
|
1282
1269
|
if (this.inputEl.nativeElement) {
|
|
1283
1270
|
switchClass(this.inputEl.nativeElement, nv, ov);
|
|
@@ -1923,8 +1910,8 @@ const registerProps$8 = () => {
|
|
|
1923
1910
|
const _c0$8 = ["wmRadioset", ""];
|
|
1924
1911
|
const _c1$7 = (a0, a1) => ["radio", "app-radio", a0, a1];
|
|
1925
1912
|
const _c2$5 = a0 => ({ "disabled": a0 });
|
|
1926
|
-
const _c3
|
|
1927
|
-
const _c4
|
|
1913
|
+
const _c3 = a0 => ({ "collapsible-content": a0 });
|
|
1914
|
+
const _c4 = (a0, a1) => ["radio", "app-radio", "group-list-item", a0, a1];
|
|
1928
1915
|
function RadiosetComponent_ng_template_0_li_0_label_1_Template(rf, ctx) { if (rf & 1) {
|
|
1929
1916
|
i0.ɵɵelementStart(0, "label", 7);
|
|
1930
1917
|
i0.ɵɵelement(1, "input", 8)(2, "span", 9);
|
|
@@ -2032,7 +2019,7 @@ function RadiosetComponent_ng_template_3_li_0_li_8_Template(rf, ctx) { if (rf &
|
|
|
2032
2019
|
const item_r9 = ctx.$implicit;
|
|
2033
2020
|
const ctx_r2 = i0.ɵɵnextContext(3);
|
|
2034
2021
|
i0.ɵɵclassProp("active", item_r9.selected);
|
|
2035
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction2(7, _c4
|
|
2022
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction2(7, _c4, ctx_r2.itemclass, ctx_r2.itemsPerRowClass))("wmItemTemplate", ctx_r2.content)("userComponentParams", item_r9);
|
|
2036
2023
|
i0.ɵɵadvance();
|
|
2037
2024
|
i0.ɵɵproperty("ngIf", !ctx_r2.content);
|
|
2038
2025
|
i0.ɵɵadvance();
|
|
@@ -2056,7 +2043,7 @@ function RadiosetComponent_ng_template_3_li_0_Template(rf, ctx) { if (rf & 1) {
|
|
|
2056
2043
|
i0.ɵɵadvance();
|
|
2057
2044
|
i0.ɵɵattribute("aria-labelledby", "group_" + ctx_r2.widgetId + "_" + groupindex_r12);
|
|
2058
2045
|
i0.ɵɵadvance();
|
|
2059
|
-
i0.ɵɵproperty("id", "group_" + ctx_r2.widgetId + "_" + groupindex_r12)("title", groupObj_r7.key)("ngClass", i0.ɵɵpureFunction1(9, _c3
|
|
2046
|
+
i0.ɵɵproperty("id", "group_" + ctx_r2.widgetId + "_" + groupindex_r12)("title", groupObj_r7.key)("ngClass", i0.ɵɵpureFunction1(9, _c3, ctx_r2.collapsible));
|
|
2060
2047
|
i0.ɵɵadvance();
|
|
2061
2048
|
i0.ɵɵattribute("aria-label", "Group " + groupObj_r7.key);
|
|
2062
2049
|
i0.ɵɵadvance();
|
|
@@ -2084,14 +2071,6 @@ class RadiosetComponent extends DatasetAwareFormComponent {
|
|
|
2084
2071
|
styler(this.nativeElement, this);
|
|
2085
2072
|
this.multiple = false;
|
|
2086
2073
|
}
|
|
2087
|
-
triggerInvokeOnChange(key, $event) {
|
|
2088
|
-
this.modelByKey = key;
|
|
2089
|
-
if (this.viewParent.containerWidget)
|
|
2090
|
-
this.viewParent.containerWidget.updateDataValue(this.datavalue);
|
|
2091
|
-
this.invokeOnTouched();
|
|
2092
|
-
// invoke on datavalue change.
|
|
2093
|
-
this.invokeOnChange(this.datavalue, $event || {}, true);
|
|
2094
|
-
}
|
|
2095
2074
|
/**
|
|
2096
2075
|
* On click of the option, update the datavalue
|
|
2097
2076
|
*/
|
|
@@ -2099,7 +2078,10 @@ class RadiosetComponent extends DatasetAwareFormComponent {
|
|
|
2099
2078
|
if (!$($event.target).is('input')) {
|
|
2100
2079
|
return;
|
|
2101
2080
|
}
|
|
2102
|
-
this.
|
|
2081
|
+
this.modelByKey = key;
|
|
2082
|
+
this.invokeOnTouched();
|
|
2083
|
+
// invoke on datavalue change.
|
|
2084
|
+
this.invokeOnChange(this.datavalue, $event || {}, true);
|
|
2103
2085
|
}
|
|
2104
2086
|
// change and blur events are added from the template
|
|
2105
2087
|
handleEvent(node, eventName, callback, locals) {
|
|
@@ -2430,7 +2412,6 @@ const switchProps = new Map([
|
|
|
2430
2412
|
['hint', PROP_STRING],
|
|
2431
2413
|
['arialabel', PROP_STRING],
|
|
2432
2414
|
['iconclass', PROP_STRING],
|
|
2433
|
-
['checkediconclass', { value: 'wm-sl-l sl-check', ...PROP_STRING }],
|
|
2434
2415
|
['name', PROP_STRING],
|
|
2435
2416
|
['orderby', PROP_STRING],
|
|
2436
2417
|
['required', PROP_BOOLEAN],
|
|
@@ -2444,55 +2425,37 @@ const registerProps$6 = () => {
|
|
|
2444
2425
|
};
|
|
2445
2426
|
|
|
2446
2427
|
const _c0$6 = ["wmSwitch", ""];
|
|
2447
|
-
const _c1$5 = a0 => ({ "
|
|
2448
|
-
const _c2$3 =
|
|
2449
|
-
const _c3 = a0 => ["app-icon", a0];
|
|
2450
|
-
const _c4 = a0 => [a0];
|
|
2428
|
+
const _c1$5 = (a0, a1) => ({ "selected": a0, "disabled": a1 });
|
|
2429
|
+
const _c2$3 = a0 => ["app-icon", a0];
|
|
2451
2430
|
function SwitchComponent_a_1_i_1_Template(rf, ctx) { if (rf & 1) {
|
|
2452
|
-
i0.ɵɵelement(0, "i",
|
|
2431
|
+
i0.ɵɵelement(0, "i", 8);
|
|
2453
2432
|
} if (rf & 2) {
|
|
2454
2433
|
const opt_r3 = i0.ɵɵnextContext().$implicit;
|
|
2455
2434
|
const ctx_r4 = i0.ɵɵnextContext();
|
|
2456
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(1,
|
|
2457
|
-
} }
|
|
2458
|
-
function SwitchComponent_a_1_i_2_Template(rf, ctx) { if (rf & 1) {
|
|
2459
|
-
i0.ɵɵelement(0, "i", 7);
|
|
2460
|
-
} if (rf & 2) {
|
|
2461
|
-
const ctx_r4 = i0.ɵɵnextContext(2);
|
|
2462
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(1, _c4, ctx_r4.checkediconclass));
|
|
2435
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(1, _c2$3, opt_r3.dataObject[ctx_r4.iconclass] || opt_r3["icon"]));
|
|
2463
2436
|
} }
|
|
2464
2437
|
function SwitchComponent_a_1_Template(rf, ctx) { if (rf & 1) {
|
|
2465
2438
|
const _r1 = i0.ɵɵgetCurrentView();
|
|
2466
|
-
i0.ɵɵelementStart(0, "a",
|
|
2439
|
+
i0.ɵɵelementStart(0, "a", 5);
|
|
2467
2440
|
i0.ɵɵlistener("click", function SwitchComponent_a_1_Template_a_click_0_listener($event) { const ctx_r1 = i0.ɵɵrestoreView(_r1); const opt_r3 = ctx_r1.$implicit; const $index_r4 = ctx_r1.index; const ctx_r4 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r4.selectOpt($event, $index_r4, opt_r3)); });
|
|
2468
|
-
i0.ɵɵtemplate(1, SwitchComponent_a_1_i_1_Template, 1, 3, "i",
|
|
2469
|
-
i0.ɵɵelement(
|
|
2441
|
+
i0.ɵɵtemplate(1, SwitchComponent_a_1_i_1_Template, 1, 3, "i", 6);
|
|
2442
|
+
i0.ɵɵelement(2, "span", 7);
|
|
2470
2443
|
i0.ɵɵelementEnd();
|
|
2471
2444
|
} if (rf & 2) {
|
|
2472
2445
|
const opt_r3 = ctx.$implicit;
|
|
2473
2446
|
const ctx_r4 = i0.ɵɵnextContext();
|
|
2474
|
-
i0.ɵɵproperty("name", "wm-switch-" + opt_r3.key)("ngClass", i0.ɵɵpureFunction2(
|
|
2447
|
+
i0.ɵɵproperty("name", "wm-switch-" + opt_r3.key)("ngClass", i0.ɵɵpureFunction2(5, _c1$5, opt_r3.selected, ctx_r4.disabled));
|
|
2475
2448
|
i0.ɵɵattribute("aria-pressed", opt_r3.selected ? true : false);
|
|
2476
2449
|
i0.ɵɵadvance();
|
|
2477
|
-
i0.ɵɵproperty("ngIf", opt_r3.dataObject && opt_r3.dataObject[ctx_r4.iconclass]
|
|
2478
|
-
i0.ɵɵadvance();
|
|
2479
|
-
i0.ɵɵproperty("ngIf", opt_r3.selected);
|
|
2450
|
+
i0.ɵɵproperty("ngIf", opt_r3.dataObject && opt_r3.dataObject[ctx_r4.iconclass]);
|
|
2480
2451
|
i0.ɵɵadvance();
|
|
2481
2452
|
i0.ɵɵproperty("textContent", opt_r3[ctx_r4.displayfield] || opt_r3.label);
|
|
2482
2453
|
} }
|
|
2483
|
-
function
|
|
2484
|
-
i0.ɵɵ
|
|
2485
|
-
i0.ɵɵelement(1, "i", 9);
|
|
2486
|
-
i0.ɵɵelementStart(2, "span", 10);
|
|
2487
|
-
i0.ɵɵtext(3);
|
|
2488
|
-
i0.ɵɵelementEnd()();
|
|
2454
|
+
function SwitchComponent_i_3_Template(rf, ctx) { if (rf & 1) {
|
|
2455
|
+
i0.ɵɵelement(0, "i");
|
|
2489
2456
|
} if (rf & 2) {
|
|
2490
2457
|
const ctx_r4 = i0.ɵɵnextContext();
|
|
2491
|
-
i0.ɵɵ
|
|
2492
|
-
i0.ɵɵadvance();
|
|
2493
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(3, _c4, ctx_r4.checkediconclass));
|
|
2494
|
-
i0.ɵɵadvance(2);
|
|
2495
|
-
i0.ɵɵtextInterpolate(ctx_r4.selectedItem ? ctx_r4.selectedItem.label : ctx_r4.modelByKey);
|
|
2458
|
+
i0.ɵɵclassMapInterpolate1("app-icon ", ctx_r4.selectedItem && ctx_r4.selectedItem.dataObject && ctx_r4.selectedItem.dataObject[ctx_r4.iconclass], "");
|
|
2496
2459
|
} }
|
|
2497
2460
|
const DEFAULT_CLS = 'app-switch';
|
|
2498
2461
|
const WIDGET_CONFIG$6 = { widgetType: 'wm-switch', hostClass: DEFAULT_CLS };
|
|
@@ -2501,8 +2464,6 @@ class SwitchComponent extends DatasetAwareFormComponent {
|
|
|
2501
2464
|
constructor(inj, explicitContext) {
|
|
2502
2465
|
super(inj, WIDGET_CONFIG$6, explicitContext);
|
|
2503
2466
|
this.options = [];
|
|
2504
|
-
this.multiple = this.getAttr("multiple") === "true";
|
|
2505
|
-
this.checkediconclass = this.getAttr("checkediconclass") || 'wm-sl-l sl-check';
|
|
2506
2467
|
this._debounceSetSelectedValue = debounce$1((val) => {
|
|
2507
2468
|
this.setSelectedValue();
|
|
2508
2469
|
this.updateHighlighter(val);
|
|
@@ -2542,7 +2503,7 @@ class SwitchComponent extends DatasetAwareFormComponent {
|
|
|
2542
2503
|
// set the css for switch overlay element.
|
|
2543
2504
|
// set the selected index from the datasetItems and highlight the datavalue on switch.
|
|
2544
2505
|
updateSwitchOptions() {
|
|
2545
|
-
if (this.datasetItems.length
|
|
2506
|
+
if (this.datasetItems.length) {
|
|
2546
2507
|
this.btnwidth = (100 / this.datasetItems.length);
|
|
2547
2508
|
setCSS(this.nativeElement.querySelector('.app-switch-overlay'), 'width', this.btnwidth + '%');
|
|
2548
2509
|
}
|
|
@@ -2580,30 +2541,18 @@ class SwitchComponent extends DatasetAwareFormComponent {
|
|
|
2580
2541
|
if (this.disabled) {
|
|
2581
2542
|
return;
|
|
2582
2543
|
}
|
|
2583
|
-
|
|
2584
|
-
|
|
2585
|
-
|
|
2586
|
-
|
|
2587
|
-
|
|
2588
|
-
|
|
2589
|
-
|
|
2590
|
-
|
|
2591
|
-
this.selectedItem = find(this.datasetItems, { selected: true });
|
|
2592
|
-
}
|
|
2593
|
-
else {
|
|
2594
|
-
this.modelByKey = option.key;
|
|
2595
|
-
if (!this.multiple && this.selectedItem && $index === findIndex(this.datasetItems, { key: this.selectedItem.key })) {
|
|
2596
|
-
if (this.datasetItems.length === 2) {
|
|
2597
|
-
$index = $index === 1 ? 0 : 1;
|
|
2598
|
-
}
|
|
2599
|
-
else {
|
|
2600
|
-
return;
|
|
2601
|
-
}
|
|
2544
|
+
this.modelByKey = option.key;
|
|
2545
|
+
this.invokeOnTouched();
|
|
2546
|
+
if (this.selectedItem && $index === findIndex(this.datasetItems, { key: this.selectedItem.key })) {
|
|
2547
|
+
if (this.datasetItems.length === 2) {
|
|
2548
|
+
$index = $index === 1 ? 0 : 1;
|
|
2549
|
+
}
|
|
2550
|
+
else {
|
|
2551
|
+
return;
|
|
2602
2552
|
}
|
|
2603
|
-
this.selectedItem = this.datasetItems[$index];
|
|
2604
|
-
this.updateHighlighter();
|
|
2605
2553
|
}
|
|
2606
|
-
this.
|
|
2554
|
+
this.selectedItem = this.datasetItems[$index];
|
|
2555
|
+
this.updateHighlighter();
|
|
2607
2556
|
// invoke on datavalue change.
|
|
2608
2557
|
this.invokeOnChange(this.datavalue, $event || {}, true);
|
|
2609
2558
|
$appDigest();
|
|
@@ -2620,18 +2569,24 @@ class SwitchComponent extends DatasetAwareFormComponent {
|
|
|
2620
2569
|
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SwitchComponent, selectors: [["", "wmSwitch", ""]], exportAs: ["wmSwitch"], features: [i0.ɵɵProvidersFeature([
|
|
2621
2570
|
provideAs(SwitchComponent, NG_VALUE_ACCESSOR, true),
|
|
2622
2571
|
provideAsWidgetRef(SwitchComponent)
|
|
2623
|
-
]), i0.ɵɵInheritDefinitionFeature], attrs: _c0$6, decls:
|
|
2572
|
+
]), i0.ɵɵInheritDefinitionFeature], attrs: _c0$6, decls: 6, vars: 8, consts: [[1, "btn-group", "btn-group-justified"], ["focus-target", "", "href", "javascript:void(0);", "class", "btn btn-default", "role", "button", 3, "name", "ngClass", "click", 4, "ngFor", "ngForOf"], ["aria-hidden", "true", 1, "btn", "btn-primary", "app-switch-overlay", "switch-handle", 3, "title"], [3, "class", 4, "ngIf"], ["aria-hidden", "true", 1, "model-holder", "ng-hide", 3, "name", "disabled", "value", "required"], ["focus-target", "", "href", "javascript:void(0);", "role", "button", 1, "btn", "btn-default", 3, "click", "name", "ngClass"], ["aria-hidden", "true", 3, "ngClass", 4, "ngIf"], [1, "caption", 3, "textContent"], ["aria-hidden", "true", 3, "ngClass"]], template: function SwitchComponent_Template(rf, ctx) { if (rf & 1) {
|
|
2624
2573
|
i0.ɵɵelementStart(0, "div", 0);
|
|
2625
|
-
i0.ɵɵtemplate(1, SwitchComponent_a_1_Template,
|
|
2574
|
+
i0.ɵɵtemplate(1, SwitchComponent_a_1_Template, 3, 8, "a", 1);
|
|
2575
|
+
i0.ɵɵelementEnd();
|
|
2576
|
+
i0.ɵɵelementStart(2, "span", 2);
|
|
2577
|
+
i0.ɵɵtemplate(3, SwitchComponent_i_3_Template, 1, 3, "i", 3);
|
|
2578
|
+
i0.ɵɵtext(4);
|
|
2626
2579
|
i0.ɵɵelementEnd();
|
|
2627
|
-
i0.ɵɵ
|
|
2628
|
-
i0.ɵɵelement(3, "input", 3);
|
|
2580
|
+
i0.ɵɵelement(5, "input", 4);
|
|
2629
2581
|
} if (rf & 2) {
|
|
2630
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(7, _c1$5, ctx.multiple));
|
|
2631
2582
|
i0.ɵɵadvance();
|
|
2632
2583
|
i0.ɵɵproperty("ngForOf", ctx.datasetItems);
|
|
2633
2584
|
i0.ɵɵadvance();
|
|
2634
|
-
i0.ɵɵproperty("
|
|
2585
|
+
i0.ɵɵproperty("title", ctx.selectedItem ? ctx.selectedItem.label : ctx.modelByKey);
|
|
2586
|
+
i0.ɵɵadvance();
|
|
2587
|
+
i0.ɵɵproperty("ngIf", ctx.iconclass);
|
|
2588
|
+
i0.ɵɵadvance();
|
|
2589
|
+
i0.ɵɵtextInterpolate1(" ", ctx.selectedItem ? ctx.selectedItem.label : ctx.modelByKey, "\n");
|
|
2635
2590
|
i0.ɵɵadvance();
|
|
2636
2591
|
i0.ɵɵproperty("name", ctx.name)("disabled", ctx.disabled)("value", ctx.modelByKey)("required", ctx.required);
|
|
2637
2592
|
} }, dependencies: [i1.NgClass, i1.NgForOf, i1.NgIf, i2.TextContentDirective], encapsulation: 2 }); }
|
|
@@ -2641,7 +2596,7 @@ class SwitchComponent extends DatasetAwareFormComponent {
|
|
|
2641
2596
|
args: [{ selector: '[wmSwitch]', providers: [
|
|
2642
2597
|
provideAs(SwitchComponent, NG_VALUE_ACCESSOR, true),
|
|
2643
2598
|
provideAsWidgetRef(SwitchComponent)
|
|
2644
|
-
], exportAs: 'wmSwitch', template: "<div
|
|
2599
|
+
], exportAs: 'wmSwitch', template: "<div class=\"btn-group btn-group-justified\">\n <a *ngFor=\"let opt of datasetItems; let $index = index;\"\n focus-target\n href=\"javascript:void(0);\"\n class=\"btn btn-default\"\n [name]=\"'wm-switch-' + opt.key\"\n role=\"button\"\n [ngClass]=\"{'selected': opt.selected, 'disabled': disabled}\"\n [attr.aria-pressed]=\"opt.selected ? true : false\"\n (click)=\"selectOpt($event, $index, opt)\"\n >\n <i *ngIf=\"opt.dataObject && opt.dataObject[iconclass]\" aria-hidden=\"true\" [ngClass]=\"['app-icon', opt.dataObject[iconclass] || opt['icon']]\"></i>\n <span class=\"caption\" [textContent]=\"opt[displayfield] || opt.label\"></span>\n </a>\n</div>\n<span aria-hidden=\"true\" [title]=\"selectedItem ? selectedItem.label : modelByKey\"\n class=\"btn btn-primary app-switch-overlay switch-handle\">\n <i *ngIf=\"iconclass\"\n class=\"app-icon {{(selectedItem && selectedItem.dataObject) && selectedItem.dataObject[iconclass]}}\"></i>\n {{selectedItem ? selectedItem.label : modelByKey}}\n</span>\n<input [name]=\"name\" class=\"model-holder ng-hide\" [disabled]=\"disabled\" [value]=\"modelByKey\" [required]=\"required\" aria-hidden=\"true\">\n" }]
|
|
2645
2600
|
}], () => [{ type: i0.Injector }, { type: undefined, decorators: [{
|
|
2646
2601
|
type: Inject,
|
|
2647
2602
|
args: ['EXPLICIT_CONTEXT']
|