@wavemaker/app-ng-runtime 11.5.3-next.26259 → 11.5.3-next.51001
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/components/base/bundles/index.umd.js +10 -39
- app-ng-runtime/components/base/esm2020/pipes/custom-pipes.mjs +11 -24
- app-ng-runtime/components/base/fesm2015/index.mjs +10 -39
- app-ng-runtime/components/base/fesm2015/index.mjs.map +1 -1
- app-ng-runtime/components/base/fesm2020/index.mjs +10 -39
- app-ng-runtime/components/base/fesm2020/index.mjs.map +1 -1
- app-ng-runtime/components/base/pipes/custom-pipes.d.ts +2 -5
- app-ng-runtime/components/chart/bundles/index.umd.js +34 -46
- app-ng-runtime/components/chart/esm2020/chart.component.mjs +5 -5
- app-ng-runtime/components/chart/esm2020/chart.utils.mjs +13 -45
- app-ng-runtime/components/chart/fesm2015/index.mjs +16 -48
- app-ng-runtime/components/chart/fesm2015/index.mjs.map +1 -1
- app-ng-runtime/components/chart/fesm2020/index.mjs +16 -48
- app-ng-runtime/components/chart/fesm2020/index.mjs.map +1 -1
- app-ng-runtime/components/containers/wizard/bundles/index.umd.js +3 -14
- app-ng-runtime/components/containers/wizard/esm2020/wizard.component.mjs +4 -13
- app-ng-runtime/components/containers/wizard/esm2020/wizard.props.mjs +1 -2
- app-ng-runtime/components/containers/wizard/fesm2015/index.mjs +3 -14
- app-ng-runtime/components/containers/wizard/fesm2015/index.mjs.map +1 -1
- app-ng-runtime/components/containers/wizard/fesm2020/index.mjs +3 -13
- app-ng-runtime/components/containers/wizard/fesm2020/index.mjs.map +1 -1
- app-ng-runtime/components/containers/wizard/wizard.component.d.ts +0 -2
- app-ng-runtime/components/input/default/bundles/index.umd.js +162 -176
- app-ng-runtime/components/input/default/esm2020/number/number.component.mjs +6 -7
- app-ng-runtime/components/input/default/esm2020/number/number.props.mjs +2 -4
- app-ng-runtime/components/input/default/esm2020/text/calendar/input-calendar.component.mjs +6 -7
- app-ng-runtime/components/input/default/esm2020/text/calendar/input-calendar.props.mjs +2 -4
- app-ng-runtime/components/input/default/esm2020/text/color/input-color.component.mjs +6 -7
- app-ng-runtime/components/input/default/esm2020/text/color/input-color.props.mjs +2 -4
- app-ng-runtime/components/input/default/esm2020/text/email/input-email.component.mjs +6 -7
- app-ng-runtime/components/input/default/esm2020/text/email/input-email.props.mjs +2 -4
- app-ng-runtime/components/input/default/esm2020/text/number/input-number.component.mjs +5 -5
- app-ng-runtime/components/input/default/esm2020/text/number/input-number.props.mjs +2 -4
- app-ng-runtime/components/input/default/esm2020/text/text/input-text.component.mjs +7 -8
- app-ng-runtime/components/input/default/esm2020/text/text/input-text.props.mjs +2 -4
- app-ng-runtime/components/input/default/esm2020/textarea/textarea.component.mjs +5 -5
- app-ng-runtime/components/input/default/esm2020/textarea/textarea.props.mjs +1 -3
- app-ng-runtime/components/input/default/fesm2015/index.mjs +43 -57
- app-ng-runtime/components/input/default/fesm2015/index.mjs.map +1 -1
- app-ng-runtime/components/input/default/fesm2020/index.mjs +43 -57
- app-ng-runtime/components/input/default/fesm2020/index.mjs.map +1 -1
- app-ng-runtime/components/input/default/number/number.component.d.ts +0 -2
- app-ng-runtime/components/input/default/text/calendar/input-calendar.component.d.ts +0 -2
- app-ng-runtime/components/input/default/text/color/input-color.component.d.ts +0 -2
- app-ng-runtime/components/input/default/text/email/input-email.component.d.ts +0 -2
- app-ng-runtime/components/input/default/text/number/input-number.component.d.ts +0 -2
- app-ng-runtime/components/input/default/text/text/input-text.component.d.ts +0 -2
- app-ng-runtime/components/input/default/textarea/textarea.component.d.ts +0 -2
- app-ng-runtime/package.json +1 -1
- app-ng-runtime/runtime/base/bundles/index.umd.js +1 -26
- app-ng-runtime/runtime/base/components/base-page.component.d.ts +0 -1
- app-ng-runtime/runtime/base/esm2020/components/base-page.component.mjs +1 -26
- app-ng-runtime/runtime/base/esm2020/services/pipe-provider.service.mjs +2 -2
- app-ng-runtime/runtime/base/fesm2015/index.mjs +1 -26
- app-ng-runtime/runtime/base/fesm2015/index.mjs.map +1 -1
- app-ng-runtime/runtime/base/fesm2020/index.mjs +1 -26
- app-ng-runtime/runtime/base/fesm2020/index.mjs.map +1 -1
- app-ng-runtime/scripts/@wavemaker.com/nvd3/build/nv.d3.min.js +13 -0
- app-ng-runtime/scripts/d3/d3.min.js +5 -2
- app-ng-runtime/components/base/esm2020/pipes/wm-pipe.mjs +0 -17
- app-ng-runtime/components/base/pipes/wm-pipe.d.ts +0 -9
- app-ng-runtime/scripts/@wavemaker/nvd3/build/nv.d3.min.js +0 -1
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@angular/common'), require('@angular/forms'), require('angular-imask'), require('@wm/components/base'), require('@wm/core'), require('rxjs')) :
|
|
3
3
|
typeof define === 'function' && define.amd ? define(['exports', '@angular/core', '@angular/common', '@angular/forms', 'angular-imask', '@wm/components/base', '@wm/core', 'rxjs'], factory) :
|
|
4
4
|
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global.wm = global.wm || {}, global.wm.components = global.wm.components || {}, global.wm.components.input = {}), global.ng.core, global.ng.common, global.ng.forms, global.angularIMask, global.wm.components.base, global.wm.core, global.rxjs));
|
|
5
|
-
})(this, (function (exports, i0, i1,
|
|
5
|
+
})(this, (function (exports, i0, i1, i1$1, i2$1, i2, i1$2, rxjs) { 'use strict';
|
|
6
6
|
|
|
7
7
|
function _interopNamespaceDefault(e) {
|
|
8
8
|
var n = Object.create(null);
|
|
@@ -23,10 +23,10 @@
|
|
|
23
23
|
|
|
24
24
|
var i0__namespace = /*#__PURE__*/_interopNamespaceDefault(i0);
|
|
25
25
|
var i1__namespace = /*#__PURE__*/_interopNamespaceDefault(i1);
|
|
26
|
+
var i1$1__namespace = /*#__PURE__*/_interopNamespaceDefault(i1$1);
|
|
26
27
|
var i2$1__namespace = /*#__PURE__*/_interopNamespaceDefault(i2$1);
|
|
27
|
-
var i3__namespace = /*#__PURE__*/_interopNamespaceDefault(i3);
|
|
28
28
|
var i2__namespace = /*#__PURE__*/_interopNamespaceDefault(i2);
|
|
29
|
-
var i1$
|
|
29
|
+
var i1$2__namespace = /*#__PURE__*/_interopNamespaceDefault(i1$2);
|
|
30
30
|
|
|
31
31
|
const registerProps$e = () => {
|
|
32
32
|
i2.register('wm-button', new Map([
|
|
@@ -239,7 +239,7 @@
|
|
|
239
239
|
updateBoundVariable(value) {
|
|
240
240
|
let binddatavalue = this.binddatavalue;
|
|
241
241
|
// return if the variable bound is not static.
|
|
242
|
-
if (this.datavaluesource && this.datavaluesource.execute(i1$
|
|
242
|
+
if (this.datavaluesource && this.datavaluesource.execute(i1$2.DataSource.Operation.IS_API_AWARE)) {
|
|
243
243
|
return;
|
|
244
244
|
}
|
|
245
245
|
else if (this.datavaluesource && !this.datavaluesource.twoWayBinding) {
|
|
@@ -332,7 +332,7 @@
|
|
|
332
332
|
}
|
|
333
333
|
ngOnInit() {
|
|
334
334
|
super.ngOnInit();
|
|
335
|
-
this._formControl = this.inj.get(
|
|
335
|
+
this._formControl = this.inj.get(i1$1.FormControlName, null);
|
|
336
336
|
}
|
|
337
337
|
registerOnChange(fn) {
|
|
338
338
|
this._onChange = fn;
|
|
@@ -409,8 +409,8 @@
|
|
|
409
409
|
]);
|
|
410
410
|
const registerProps$c = () => {
|
|
411
411
|
i2.register('wm-checkbox', checkboxProps);
|
|
412
|
-
i2.registerFormWidget(i1$
|
|
413
|
-
i2.registerFormWidget(i1$
|
|
412
|
+
i2.registerFormWidget(i1$2.FormWidgetType.CHECKBOX, checkboxProps);
|
|
413
|
+
i2.registerFormWidget(i1$2.FormWidgetType.TOGGLE, checkboxProps);
|
|
414
414
|
};
|
|
415
415
|
|
|
416
416
|
const _c0$b = ["checkbox"];
|
|
@@ -444,12 +444,12 @@
|
|
|
444
444
|
// if the checkbox is checked, return checkedvalue else return uncheckedvalue
|
|
445
445
|
// @ts-ignore
|
|
446
446
|
get datavalue() {
|
|
447
|
-
return i1$
|
|
447
|
+
return i1$2.isDefined(this.proxyModel) ? (this.proxyModel ? this._checkedvalue : this._uncheckedvalue) : undefined;
|
|
448
448
|
}
|
|
449
449
|
// when the datavalue is set, update the checked state
|
|
450
450
|
// @ts-ignore
|
|
451
451
|
set datavalue(v) {
|
|
452
|
-
this.proxyModel = (i1$
|
|
452
|
+
this.proxyModel = (i1$2.isDefined(v) && v !== '') ? v === this._checkedvalue : undefined;
|
|
453
453
|
this.updatePrevDatavalue(this.datavalue);
|
|
454
454
|
}
|
|
455
455
|
constructor(inj, checkedVal, uncheckedVal, type) {
|
|
@@ -459,7 +459,7 @@
|
|
|
459
459
|
this._checkedvalue = unStringify(checkedVal, true);
|
|
460
460
|
this._uncheckedvalue = unStringify(uncheckedVal, false);
|
|
461
461
|
// if the type of the checkbox is toggle update the related classes on the host node
|
|
462
|
-
i1$
|
|
462
|
+
i1$2.toggleClass(this.nativeElement, 'app-toggle', type === 'toggle');
|
|
463
463
|
}
|
|
464
464
|
onPropertyChange(key, nv, ov) {
|
|
465
465
|
if (key === 'tabindex') {
|
|
@@ -470,7 +470,7 @@
|
|
|
470
470
|
return;
|
|
471
471
|
}
|
|
472
472
|
if (key === 'caption') {
|
|
473
|
-
if (!i1$
|
|
473
|
+
if (!i1$2.isDefined(nv) || nv === '') {
|
|
474
474
|
this._caption = ' ';
|
|
475
475
|
}
|
|
476
476
|
else {
|
|
@@ -515,7 +515,7 @@
|
|
|
515
515
|
CheckboxComponent.ɵfac = function CheckboxComponent_Factory(t) { return new (t || CheckboxComponent)(i0__namespace.ɵɵdirectiveInject(i0__namespace.Injector), i0__namespace.ɵɵinjectAttribute('checkedvalue'), i0__namespace.ɵɵinjectAttribute('uncheckedvalue'), i0__namespace.ɵɵinjectAttribute('type')); };
|
|
516
516
|
CheckboxComponent.ɵcmp = /*@__PURE__*/ i0__namespace.ɵɵdefineComponent({ type: CheckboxComponent, selectors: [["", "wmCheckbox", ""]], viewQuery: function CheckboxComponent_Query(rf, ctx) {
|
|
517
517
|
if (rf & 1) {
|
|
518
|
-
i0__namespace.ɵɵviewQuery(
|
|
518
|
+
i0__namespace.ɵɵviewQuery(i1$1.NgModel, 5);
|
|
519
519
|
i0__namespace.ɵɵviewQuery(_c0$b, 7, i0.ElementRef);
|
|
520
520
|
}
|
|
521
521
|
if (rf & 2) {
|
|
@@ -528,8 +528,8 @@
|
|
|
528
528
|
i0__namespace.ɵɵlistener("keydown.enter", function CheckboxComponent_keydown_enter_HostBindingHandler($event) { return ctx.onKeyDown($event, "ENTER"); });
|
|
529
529
|
}
|
|
530
530
|
}, features: [i0__namespace.ɵɵProvidersFeature([
|
|
531
|
-
i2.provideAs(CheckboxComponent,
|
|
532
|
-
i2.provideAs(CheckboxComponent,
|
|
531
|
+
i2.provideAs(CheckboxComponent, i1$1.NG_VALUE_ACCESSOR, true),
|
|
532
|
+
i2.provideAs(CheckboxComponent, i1$1.NG_VALIDATORS, true),
|
|
533
533
|
i2.provideAsWidgetRef(CheckboxComponent)
|
|
534
534
|
]), i0__namespace.ɵɵInheritDefinitionFeature], attrs: _c1$a, decls: 6, vars: 17, consts: [[3, "ngClass"], ["type", "checkbox", "role", "checkbox", "focus-target", "", 3, "ngModel", "readonly", "required", "disabled", "tabindex", "ngModelChange", "blur"], ["checkbox", ""], [1, "caption", 3, "innerHtml"], ["alt", "Checkbox Image", "aria-hidden", "true", "src", "data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==", 1, "switch"], ["type", "hidden", "aria-hidden", "true", "tabindex", "-1", 1, "ng-hide", "model-holder", 3, "disabled", "value"]], template: function CheckboxComponent_Template(rf, ctx) {
|
|
535
535
|
if (rf & 1) {
|
|
@@ -550,13 +550,13 @@
|
|
|
550
550
|
i0__namespace.ɵɵadvance(2);
|
|
551
551
|
i0__namespace.ɵɵproperty("disabled", ctx.disabled)("value", ctx.proxyModel);
|
|
552
552
|
}
|
|
553
|
-
}, dependencies: [i1__namespace.NgClass,
|
|
553
|
+
}, dependencies: [i1__namespace.NgClass, i1$1__namespace.CheckboxControlValueAccessor, i1$1__namespace.NgControlStatus, i1$1__namespace.CheckboxRequiredValidator, i1$1__namespace.NgModel], encapsulation: 2 });
|
|
554
554
|
(function () {
|
|
555
555
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(CheckboxComponent, [{
|
|
556
556
|
type: i0.Component,
|
|
557
557
|
args: [{ selector: '[wmCheckbox]', providers: [
|
|
558
|
-
i2.provideAs(CheckboxComponent,
|
|
559
|
-
i2.provideAs(CheckboxComponent,
|
|
558
|
+
i2.provideAs(CheckboxComponent, i1$1.NG_VALUE_ACCESSOR, true),
|
|
559
|
+
i2.provideAs(CheckboxComponent, i1$1.NG_VALIDATORS, true),
|
|
560
560
|
i2.provideAsWidgetRef(CheckboxComponent)
|
|
561
561
|
], template: "<label [ngClass]=\"{'unchecked': !proxyModel, 'disabled': (disabled || readonly), 'required': (required && _caption)}\">\n <input type=\"checkbox\"\n role=\"checkbox\"\n #checkbox\n [attr.name]=\"name\"\n [attr.aria-label]=\"hint\"\n [attr.aria-checked]=\"!!proxyModel\"\n focus-target\n [(ngModel)]=\"proxyModel\"\n [readonly]=\"readonly\"\n [required]=\"required\"\n [disabled]=\"disabled || readonly\"\n [attr.accesskey]=\"shortcutkey\"\n [tabindex]=\"tabindex\"\n (blur)=\"invokeOnTouched($event)\"\n (ngModelChange)=\"handleChange($event)\">\n <span class=\"caption\" [innerHtml]=\"_caption\"></span>\n <img alt=\"Checkbox Image\" aria-hidden=\"true\" src=\"data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==\" class=\"switch\"/>\n</label>\n<input type=\"hidden\" class=\"ng-hide model-holder\" aria-hidden=\"true\" tabindex=\"-1\" [disabled]=\"disabled\" [value]=\"proxyModel\">\n" }]
|
|
562
562
|
}], function () {
|
|
@@ -572,7 +572,7 @@
|
|
|
572
572
|
}] }];
|
|
573
573
|
}, { ngModel: [{
|
|
574
574
|
type: i0.ViewChild,
|
|
575
|
-
args: [
|
|
575
|
+
args: [i1$1.NgModel]
|
|
576
576
|
}], checkboxEl: [{
|
|
577
577
|
type: i0.ViewChild,
|
|
578
578
|
args: ['checkbox', { static: true, read: i0.ElementRef }]
|
|
@@ -619,14 +619,14 @@
|
|
|
619
619
|
this.allowempty = true;
|
|
620
620
|
this._debounceDatavalueUpdation = _.debounce((values) => {
|
|
621
621
|
// if no item is found in datasetItems, wait untill the dataset updates by preserving the datavalue in toBeProcessedDatavalue.
|
|
622
|
-
if (!i1$
|
|
622
|
+
if (!i1$2.isDefined(this._modelByKey) || (_.isArray(this._modelByKey) && !this._modelByKey.length)) {
|
|
623
623
|
this.toBeProcessedDatavalue = values;
|
|
624
624
|
this._modelByValue = '';
|
|
625
625
|
}
|
|
626
|
-
else if (i1$
|
|
626
|
+
else if (i1$2.isDefined(this.toBeProcessedDatavalue)) {
|
|
627
627
|
// obtain the first array value when multiple is set to false.
|
|
628
628
|
// set the modelByValue only when undefined.
|
|
629
|
-
if (!i1$
|
|
629
|
+
if (!i1$2.isDefined(this._modelByValue)) {
|
|
630
630
|
this._modelByValue = (!this.multiple && _.isArray(this.toBeProcessedDatavalue)) ? this.toBeProcessedDatavalue[0] : this.toBeProcessedDatavalue;
|
|
631
631
|
}
|
|
632
632
|
this.toBeProcessedDatavalue = undefined;
|
|
@@ -634,15 +634,15 @@
|
|
|
634
634
|
this.initDisplayValues();
|
|
635
635
|
}, 150);
|
|
636
636
|
this.datePipe = this.inj.get(i2.ToDatePipe);
|
|
637
|
-
this.appDefaults = this.inj.get(i1$
|
|
637
|
+
this.appDefaults = this.inj.get(i1$2.AppDefaults);
|
|
638
638
|
this.binddisplayexpression = this.nativeElement.getAttribute('displayexpression.bind');
|
|
639
639
|
this.binddisplayimagesrc = this.nativeElement.getAttribute('displayimagesrc.bind');
|
|
640
640
|
this.binddisplaylabel = this.nativeElement.getAttribute('displaylabel.bind');
|
|
641
|
-
this._debouncedInitDatasetItems = i1$
|
|
641
|
+
this._debouncedInitDatasetItems = i1$2.debounce(() => {
|
|
642
642
|
this.initDatasetItems();
|
|
643
|
-
i1$
|
|
643
|
+
i1$2.$appDigest();
|
|
644
644
|
}, 150);
|
|
645
|
-
this.handleHeaderClick = i1$
|
|
645
|
+
this.handleHeaderClick = i1$2.noop;
|
|
646
646
|
this.cancelLocaleChangeSubscription = this.getAppInstance().subscribe("locale-changed", () => {
|
|
647
647
|
this._debouncedInitDatasetItems();
|
|
648
648
|
});
|
|
@@ -700,10 +700,10 @@
|
|
|
700
700
|
selectByValue(values) {
|
|
701
701
|
this.resetDatasetItems();
|
|
702
702
|
// if datavalue is not defined or empty then set the model as undefined.
|
|
703
|
-
if (!i1$
|
|
703
|
+
if (!i1$2.isDefined(values) || values === '' || _.isNull(values) || (values instanceof Array && !values.length)) {
|
|
704
704
|
this._modelByKey = undefined;
|
|
705
705
|
// do not return when allowempty is set to true.
|
|
706
|
-
if (!this.allowempty || !i1$
|
|
706
|
+
if (!this.allowempty || !i1$2.isDefined(values)) {
|
|
707
707
|
return;
|
|
708
708
|
}
|
|
709
709
|
}
|
|
@@ -711,7 +711,7 @@
|
|
|
711
711
|
values = this.allowempty ? [values] : i2.extractDataAsArray(values);
|
|
712
712
|
}
|
|
713
713
|
// preserve the datavalue if datasetItems are empty.
|
|
714
|
-
if (!this.datasetItems.length && i1$
|
|
714
|
+
if (!this.datasetItems.length && i1$2.isDefined(values)) {
|
|
715
715
|
this.toBeProcessedDatavalue = values;
|
|
716
716
|
return;
|
|
717
717
|
}
|
|
@@ -722,7 +722,7 @@
|
|
|
722
722
|
const itemByValue = _.find(this.datasetItems, item => {
|
|
723
723
|
if (filterField === 'dataObject') {
|
|
724
724
|
if (this.compareby && this.compareby.length) {
|
|
725
|
-
return i1$
|
|
725
|
+
return i1$2.isEqualWithFields(item[filterField], val, this.compareby);
|
|
726
726
|
}
|
|
727
727
|
}
|
|
728
728
|
return (_.isObject(item.value) ? _.isEqual(item.value, val) : (_.toString(item.value)).toLowerCase() === (_.toString(val)).toLowerCase());
|
|
@@ -738,7 +738,7 @@
|
|
|
738
738
|
const itemByValue = _.find(this.datasetItems, item => {
|
|
739
739
|
if (filterField === 'dataObject') {
|
|
740
740
|
if (this.compareby && this.compareby.length) {
|
|
741
|
-
return i1$
|
|
741
|
+
return i1$2.isEqualWithFields(item[filterField], values, this.compareby);
|
|
742
742
|
}
|
|
743
743
|
}
|
|
744
744
|
return (_.isObject(item.value) ? _.isEqual(item.value, values) : (_.toString(item.value)).toLowerCase() === (_.toString(values)).toLowerCase());
|
|
@@ -784,7 +784,7 @@
|
|
|
784
784
|
displayImgSrc: this.displayimagesrc
|
|
785
785
|
});
|
|
786
786
|
// get the unique objects out of the extracted data. Notify change in datasetItems using [...datasetItems] notation
|
|
787
|
-
this.datasetItems = [...i2.getUniqObjsByDataField(displayOptions, this.datafield, this.displayfield || this.displaylabel, i1$
|
|
787
|
+
this.datasetItems = [...i2.getUniqObjsByDataField(displayOptions, this.datafield, this.displayfield || this.displaylabel, i1$2.toBoolean(this.allowempty))];
|
|
788
788
|
}
|
|
789
789
|
this.postDatasetItemsInit();
|
|
790
790
|
}
|
|
@@ -909,7 +909,7 @@
|
|
|
909
909
|
]);
|
|
910
910
|
const registerProps$b = () => {
|
|
911
911
|
i2.register('wm-checkboxset', checkboxsetProps);
|
|
912
|
-
i2.registerFormWidget(i1$
|
|
912
|
+
i2.registerFormWidget(i1$2.FormWidgetType.CHECKBOXSET, new Map(checkboxsetProps));
|
|
913
913
|
};
|
|
914
914
|
|
|
915
915
|
const _c0$a = ["wmCheckboxset", ""];
|
|
@@ -1151,7 +1151,7 @@
|
|
|
1151
1151
|
return;
|
|
1152
1152
|
}
|
|
1153
1153
|
if (key === 'itemsperrow') {
|
|
1154
|
-
i1$
|
|
1154
|
+
i1$2.setListClass(this);
|
|
1155
1155
|
}
|
|
1156
1156
|
else {
|
|
1157
1157
|
super.onPropertyChange(key, nv, ov);
|
|
@@ -1165,8 +1165,8 @@
|
|
|
1165
1165
|
i0__namespace.ɵɵlistener("keydown.enter", function CheckboxsetComponent_keydown_enter_HostBindingHandler($event) { return ctx.onKeyDown($event, "ENTER"); });
|
|
1166
1166
|
}
|
|
1167
1167
|
}, exportAs: ["wmCheckboxset"], features: [i0__namespace.ɵɵProvidersFeature([
|
|
1168
|
-
i2.provideAs(CheckboxsetComponent,
|
|
1169
|
-
i2.provideAs(CheckboxsetComponent,
|
|
1168
|
+
i2.provideAs(CheckboxsetComponent, i1$1.NG_VALUE_ACCESSOR, true),
|
|
1169
|
+
i2.provideAs(CheckboxsetComponent, i1$1.NG_VALIDATORS, true),
|
|
1170
1170
|
i2.provideAsWidgetRef(CheckboxsetComponent)
|
|
1171
1171
|
]), i0__namespace.ɵɵInheritDefinitionFeature], attrs: _c0$a, decls: 5, vars: 4, consts: [[3, "ngIf", "ngIfElse"], ["hidden", "", 1, "model-holder", 3, "disabled"], ["class", "readonly-wrapper", 4, "ngIf"], ["groupedListTemplate", ""], ["partialContainer", "", "role", "presentation", 3, "ngClass", "active", "wmItemTemplate", "userComponentParams", "click", 4, "ngFor", "ngForOf"], ["partialContainer", "", "role", "presentation", 3, "ngClass", "wmItemTemplate", "userComponentParams", "click"], ["class", "app-checkboxset-label", 3, "ngClass", "title", 4, "ngIf"], ["class", "app-checkboxset-label", 3, "ngClass", 4, "ngIf"], [1, "app-checkboxset-label", 3, "ngClass", "title"], ["type", "checkbox", 3, "name", "tabindex", "disabled", "value", "checked"], [1, "caption", 3, "textContent"], [1, "app-checkboxset-label", 3, "ngClass"], ["partial-container-target", "", 1, "caption", "customTemplate"], [1, "readonly-wrapper"], ["class", "app-list-item-group", "role", "presentation", 4, "ngFor", "ngForOf"], ["role", "presentation", 1, "app-list-item-group"], [1, "item-group"], [1, "list-group-header", 3, "title", "ngClass", "click"], [1, "group-title"], [1, "header-action"], ["class", "app-icon wi action wi-chevron-up", 3, "title", 4, "ngIf"], ["class", "label label-default", 3, "textContent", 4, "ngIf"], ["partialContainer", "", 3, "ngClass", "active", "wmItemTemplate", "userComponentParams", "click", 4, "ngFor", "ngForOf"], [1, "app-icon", "wi", "action", "wi-chevron-up", 3, "title"], [1, "label", "label-default", 3, "textContent"], ["partialContainer", "", 3, "ngClass", "wmItemTemplate", "userComponentParams", "click"], ["type", "checkbox", "aria-label", "checkbox group", 3, "name", "tabindex", "disabled", "value", "checked"], ["partial-container-target", "", 1, "caption"]], template: function CheckboxsetComponent_Template(rf, ctx) {
|
|
1172
1172
|
if (rf & 1) {
|
|
@@ -1188,8 +1188,8 @@
|
|
|
1188
1188
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(CheckboxsetComponent, [{
|
|
1189
1189
|
type: i0.Component,
|
|
1190
1190
|
args: [{ selector: '[wmCheckboxset]', exportAs: 'wmCheckboxset', providers: [
|
|
1191
|
-
i2.provideAs(CheckboxsetComponent,
|
|
1192
|
-
i2.provideAs(CheckboxsetComponent,
|
|
1191
|
+
i2.provideAs(CheckboxsetComponent, i1$1.NG_VALUE_ACCESSOR, true),
|
|
1192
|
+
i2.provideAs(CheckboxsetComponent, i1$1.NG_VALIDATORS, true),
|
|
1193
1193
|
i2.provideAsWidgetRef(CheckboxsetComponent)
|
|
1194
1194
|
], template: "<ng-template [ngIf]=\"!groupby\" [ngIfElse]=\"groupedListTemplate\">\n <li [ngClass]=\"['checkbox', 'app-checkbox', itemclass, itemsPerRowClass]\"\n [class.active]=\"item.selected\"\n *ngFor=\"let item of datasetItems; let i = index\"\n [wmItemTemplate]=\"content\" [userComponentParams]=\"item\" partialContainer\n (click)=\"onCheckboxLabelClick($event, item.key)\" role=\"presentation\">\n <!-- Default item template -->\n <label *ngIf=\"!content\" class=\"app-checkboxset-label\" [ngClass]=\"{'disabled':disabled || readonly}\" [title]=\"item.label\">\n <input [name]=\"'checkboxset_' + widgetId\" type=\"checkbox\" [attr.aria-label]=\"item.key\"\n [tabindex]=\"tabindex\" [attr.aria-checked]=\"item.selected\"\n [disabled]=\"disabled || readonly\" [attr.data-attr-index]=\"i\"\n [value]=\"item.key\" [tabindex]=\"tabindex\" [checked]=\"item.selected\"/>\n <span class=\"caption\" [textContent]=\"item.label\"></span>\n </label>\n <!-- Custom partial template -->\n <label *ngIf=\"content\" class=\"app-checkboxset-label\" [ngClass]=\"{'disabled':disabled || readonly}\" >\n <input [name]=\"'checkboxset_' + widgetId\" type=\"checkbox\" [attr.aria-label]=\"item.key\"\n [tabindex]=\"tabindex\" [attr.aria-checked]=\"item.selected\"\n [disabled]=\"disabled || readonly\" [attr.data-attr-index]=\"i\"\n [value]=\"item.key\" [tabindex]=\"tabindex\" [checked]=\"item.selected\"/>\n <span class=\"caption customTemplate\" partial-container-target></span>\n </label>\n </li>\n</ng-template>\n<input [disabled]=\"disabled || readonly\" hidden class=\"model-holder\">\n<div *ngIf=\"readonly || disabled\" class=\"readonly-wrapper\"></div>\n\n<!-- This template will be displayed when groupby is specified. -->\n<ng-template #groupedListTemplate>\n <li *ngFor=\"let groupObj of groupedData\" class=\"app-list-item-group\" role=\"presentation\">\n <ul class=\"item-group\">\n <li class=\"list-group-header\" (click)=\"handleHeaderClick($event)\" [title]=\"groupObj.key\" [ngClass]=\"{'collapsible-content': collapsible}\">\n <h4 class=\"group-title\">{{groupObj.key}}\n <div class=\"header-action\">\n <i class=\"app-icon wi action wi-chevron-up\" *ngIf=\"collapsible\" title=\"{{appLocale.LABEL_COLLAPSE}}/{{appLocale.LABEL_EXPAND}}\"></i>\n <span *ngIf=\"showcount\" class=\"label label-default\" [textContent]=\"groupObj.data.length\"></span>\n </div>\n </h4>\n </li>\n <li *ngFor=\"let item of groupObj.data; let i = index;\"\n [ngClass]=\"['checkbox', 'app-checkbox', 'group-list-item', itemclass, itemsPerRowClass]\"\n [class.active]=\"item.selected\"\n [wmItemTemplate]=\"content\" [userComponentParams]=\"item\" partialContainer\n (click)=\"onCheckboxLabelClick($event, item)\">\n <!-- Default item template -->\n <label *ngIf=\"!content\" class=\"app-checkboxset-label\" [ngClass]=\"{'disabled':disabled || readonly}\" [title]=\"item.label\">\n <input [name]=\"'checkboxset_' + widgetId\" type=\"checkbox\" aria-label=\"checkbox group\"\n [tabindex]=\"tabindex\"\n [disabled]=\"disabled || readonly\" [attr.data-attr-index]=\"i\"\n [value]=\"item.key\" [tabindex]=\"tabindex\" [checked]=\"item.selected\"/>\n <span class=\"caption\" [textContent]=\"item.label\"></span>\n </label>\n <!-- Custom partial template -->\n <label *ngIf=\"content\" class=\"app-checkboxset-label\" [ngClass]=\"{'disabled':disabled || readonly}\" >\n <input [name]=\"'checkboxset_' + widgetId\" type=\"checkbox\" aria-label=\"checkbox group\"\n [tabindex]=\"tabindex\"\n [disabled]=\"disabled || readonly\" [attr.data-attr-index]=\"i\"\n [value]=\"item.key\" [tabindex]=\"tabindex\" [checked]=\"item.selected\"/>\n <span class=\"caption\" partial-container-target></span>\n </label>\n </li>\n </ul>\n </li>\n</ng-template>\n" }]
|
|
1195
1195
|
}], function () { return [{ type: i0__namespace.Injector }]; }, { onKeyDown: [{
|
|
@@ -1231,7 +1231,7 @@
|
|
|
1231
1231
|
*/
|
|
1232
1232
|
onPropertyChange(key, nv, ov) {
|
|
1233
1233
|
if (key === 'captionposition') {
|
|
1234
|
-
i1$
|
|
1234
|
+
i1$2.switchClass(this.nativeElement, CAPTION_POSITION[nv], CAPTION_POSITION[ov]);
|
|
1235
1235
|
}
|
|
1236
1236
|
else if (key === 'required') {
|
|
1237
1237
|
this.required = nv;
|
|
@@ -1253,7 +1253,7 @@
|
|
|
1253
1253
|
}
|
|
1254
1254
|
ngAfterViewInit() {
|
|
1255
1255
|
super.ngAfterViewInit();
|
|
1256
|
-
i1$
|
|
1256
|
+
i1$2.addForIdAttributes(this.nativeElement);
|
|
1257
1257
|
this.assignRequiredToSubComponents();
|
|
1258
1258
|
}
|
|
1259
1259
|
}
|
|
@@ -1307,13 +1307,11 @@
|
|
|
1307
1307
|
['tabindex', Object.assign({ value: 0 }, i2.PROP_NUMBER)],
|
|
1308
1308
|
['trailingzero', Object.assign({ value: false }, i2.PROP_BOOLEAN)],
|
|
1309
1309
|
['updateon', i2.PROP_STRING],
|
|
1310
|
-
['inputmode', Object.assign({ value: 'natural' }, i2.PROP_STRING)]
|
|
1311
|
-
['conditionalclass', i2.PROP_ANY],
|
|
1312
|
-
['conditionalstyle', i2.PROP_ANY]
|
|
1310
|
+
['inputmode', Object.assign({ value: 'natural' }, i2.PROP_STRING)]
|
|
1313
1311
|
]);
|
|
1314
1312
|
const registerProps$9 = () => {
|
|
1315
1313
|
i2.register('wm-number', numberProps);
|
|
1316
|
-
i2.registerFormWidget(i1$
|
|
1314
|
+
i2.registerFormWidget(i1$2.FormWidgetType.NUMBER, new Map(numberProps));
|
|
1317
1315
|
};
|
|
1318
1316
|
|
|
1319
1317
|
class BaseInput extends BaseFormCustomComponent {
|
|
@@ -1328,7 +1326,7 @@
|
|
|
1328
1326
|
}
|
|
1329
1327
|
if (key === 'class') {
|
|
1330
1328
|
if (this.inputEl.nativeElement) {
|
|
1331
|
-
i1$
|
|
1329
|
+
i1$2.switchClass(this.inputEl.nativeElement, nv, ov);
|
|
1332
1330
|
}
|
|
1333
1331
|
}
|
|
1334
1332
|
else if (key === 'datavalue') {
|
|
@@ -1363,13 +1361,13 @@
|
|
|
1363
1361
|
const unMaskedVal = _.get(this.imask, 'maskRef.unmaskedValue');
|
|
1364
1362
|
val = unMaskedVal ? unMaskedVal : val;
|
|
1365
1363
|
this.ngModel.update.next(val);
|
|
1366
|
-
i1$
|
|
1364
|
+
i1$2.$appDigest();
|
|
1367
1365
|
}
|
|
1368
1366
|
ngAfterViewInit() {
|
|
1369
1367
|
super.ngAfterViewInit();
|
|
1370
1368
|
// add the class on the input element
|
|
1371
1369
|
if (this.class) {
|
|
1372
|
-
i1$
|
|
1370
|
+
i1$2.addClass(this.inputEl.nativeElement, this.class);
|
|
1373
1371
|
}
|
|
1374
1372
|
i2.styler(this.inputEl.nativeElement, this);
|
|
1375
1373
|
}
|
|
@@ -1612,7 +1610,7 @@
|
|
|
1612
1610
|
onInputChange(value) {
|
|
1613
1611
|
const stepVal = this.stepLength();
|
|
1614
1612
|
// WMS-22355, Trigger change cb if value exists or value is empty but datavalue exists (when value is selected and deleted).
|
|
1615
|
-
if (i1$
|
|
1613
|
+
if (i1$2.isDefined(value) && (value !== '' || this.datavalue)) {
|
|
1616
1614
|
this.handleChange(value);
|
|
1617
1615
|
}
|
|
1618
1616
|
else {
|
|
@@ -1848,11 +1846,11 @@
|
|
|
1848
1846
|
}
|
|
1849
1847
|
}
|
|
1850
1848
|
NumberComponent.initializeProps = registerProps$9();
|
|
1851
|
-
NumberComponent.ɵfac = function NumberComponent_Factory(t) { return new (t || NumberComponent)(i0__namespace.ɵɵdirectiveInject(i0__namespace.Injector), i0__namespace.ɵɵdirectiveInject(i1$
|
|
1849
|
+
NumberComponent.ɵfac = function NumberComponent_Factory(t) { return new (t || NumberComponent)(i0__namespace.ɵɵdirectiveInject(i0__namespace.Injector), i0__namespace.ɵɵdirectiveInject(i1$2__namespace.AbstractI18nService), i0__namespace.ɵɵdirectiveInject(i2__namespace.TrailingZeroDecimalPipe)); };
|
|
1852
1850
|
NumberComponent.ɵcmp = /*@__PURE__*/ i0__namespace.ɵɵdefineComponent({ type: NumberComponent, selectors: [["", "wmNumber", ""]], viewQuery: function NumberComponent_Query(rf, ctx) {
|
|
1853
1851
|
if (rf & 1) {
|
|
1854
1852
|
i0__namespace.ɵɵviewQuery(_c0$9, 7);
|
|
1855
|
-
i0__namespace.ɵɵviewQuery(
|
|
1853
|
+
i0__namespace.ɵɵviewQuery(i1$1.NgModel, 7);
|
|
1856
1854
|
}
|
|
1857
1855
|
if (rf & 2) {
|
|
1858
1856
|
let _t;
|
|
@@ -1860,34 +1858,34 @@
|
|
|
1860
1858
|
i0__namespace.ɵɵqueryRefresh(_t = i0__namespace.ɵɵloadQuery()) && (ctx.ngModel = _t.first);
|
|
1861
1859
|
}
|
|
1862
1860
|
}, features: [i0__namespace.ɵɵProvidersFeature([
|
|
1863
|
-
i2.provideAs(NumberComponent,
|
|
1864
|
-
i2.provideAs(NumberComponent,
|
|
1861
|
+
i2.provideAs(NumberComponent, i1$1.NG_VALUE_ACCESSOR, true),
|
|
1862
|
+
i2.provideAs(NumberComponent, i1$1.NG_VALIDATORS, true),
|
|
1865
1863
|
i2.provideAsWidgetRef(NumberComponent)
|
|
1866
|
-
]), i0__namespace.ɵɵInheritDefinitionFeature], attrs: _c1$8, decls: 2, vars:
|
|
1864
|
+
]), i0__namespace.ɵɵInheritDefinitionFeature], attrs: _c1$8, decls: 2, vars: 12, consts: [["inputmode", "decimal", "focus-target", "", "role", "textbox", "type", "text", 1, "form-control", "app-textbox", "app-number-input", 3, "ngModel", "readonly", "disabled", "pattern", "autofocus", "ngModelOptions", "required", "ngModelChange", "blur", "focus", "input", "keypress", "keydown.backspace", "keydown.enter", "keydown.ArrowUp", "keydown.ArrowDown"], ["input", ""]], template: function NumberComponent_Template(rf, ctx) {
|
|
1867
1865
|
if (rf & 1) {
|
|
1868
1866
|
i0__namespace.ɵɵelementStart(0, "input", 0, 1);
|
|
1869
1867
|
i0__namespace.ɵɵlistener("ngModelChange", function NumberComponent_Template_input_ngModelChange_0_listener($event) { return ctx.onModelChange($event); })("blur", function NumberComponent_Template_input_blur_0_listener($event) { ctx.handleBlur($event); return ctx.checkForTrailingZeros($event); })("focus", function NumberComponent_Template_input_focus_0_listener($event) { return ctx.checkForTrailingZeros($event); })("input", function NumberComponent_Template_input_input_0_listener($event) { return ctx.onInputChange($event.target.value); })("keypress", function NumberComponent_Template_input_keypress_0_listener($event) { return ctx.validateInputEntry($event); })("keydown.backspace", function NumberComponent_Template_input_keydown_backspace_0_listener($event) { return ctx.onBackspace($event); })("keydown.enter", function NumberComponent_Template_input_keydown_enter_0_listener($event) { return ctx.onEnter($event); })("keydown.ArrowUp", function NumberComponent_Template_input_keydown_ArrowUp_0_listener($event) { return ctx.onArrowPress($event, "UP"); })("keydown.ArrowDown", function NumberComponent_Template_input_keydown_ArrowDown_0_listener($event) { return ctx.onArrowPress($event, "DOWN"); });
|
|
1870
1868
|
i0__namespace.ɵɵelementEnd();
|
|
1871
1869
|
}
|
|
1872
1870
|
if (rf & 2) {
|
|
1873
|
-
i0__namespace.ɵɵproperty("ngModel", ctx.displayValue)("readonly", ctx.readonly)("disabled", ctx.disabled)("pattern", ctx.regexp)("autofocus", ctx.autofocus)("
|
|
1871
|
+
i0__namespace.ɵɵproperty("ngModel", ctx.displayValue)("readonly", ctx.readonly)("disabled", ctx.disabled)("pattern", ctx.regexp)("autofocus", ctx.autofocus)("ngModelOptions", ctx.ngModelOptions)("required", ctx.required);
|
|
1874
1872
|
i0__namespace.ɵɵattribute("name", ctx.name)("tabindex", ctx.tabindex)("placeholder", ctx.placeholder)("accesskey", ctx.shortcutkey)("aria-label", ctx.hint);
|
|
1875
1873
|
}
|
|
1876
|
-
}, dependencies: [
|
|
1874
|
+
}, dependencies: [i1$1__namespace.DefaultValueAccessor, i1$1__namespace.NgControlStatus, i1$1__namespace.RequiredValidator, i1$1__namespace.PatternValidator, i1$1__namespace.NgModel], encapsulation: 2 });
|
|
1877
1875
|
(function () {
|
|
1878
1876
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(NumberComponent, [{
|
|
1879
1877
|
type: i0.Component,
|
|
1880
1878
|
args: [{ selector: '[wmNumber]', providers: [
|
|
1881
|
-
i2.provideAs(NumberComponent,
|
|
1882
|
-
i2.provideAs(NumberComponent,
|
|
1879
|
+
i2.provideAs(NumberComponent, i1$1.NG_VALUE_ACCESSOR, true),
|
|
1880
|
+
i2.provideAs(NumberComponent, i1$1.NG_VALIDATORS, true),
|
|
1883
1881
|
i2.provideAsWidgetRef(NumberComponent)
|
|
1884
|
-
], template: "<input class=\"form-control app-textbox app-number-input\"\n inputmode=\"decimal\"\n focus-target\n [attr.name]=\"name\"\n role=\"textbox\"\n type=\"text\"\n [ngModel]=\"displayValue\"\n [readonly]=\"readonly\"\n [disabled]=\"disabled\"\n [pattern]=\"regexp\"\n [attr.tabindex]=\"tabindex\"\n [attr.placeholder]=\"placeholder\"\n [attr.accesskey]=\"shortcutkey\"\n [attr.aria-label]=\"hint\"\n [autofocus]=\"autofocus\"\n
|
|
1885
|
-
}], function () { return [{ type: i0__namespace.Injector }, { type: i1$
|
|
1882
|
+
], template: "<input class=\"form-control app-textbox app-number-input\"\n inputmode=\"decimal\"\n focus-target\n [attr.name]=\"name\"\n role=\"textbox\"\n type=\"text\"\n [ngModel]=\"displayValue\"\n [readonly]=\"readonly\"\n [disabled]=\"disabled\"\n [pattern]=\"regexp\"\n [attr.tabindex]=\"tabindex\"\n [attr.placeholder]=\"placeholder\"\n [attr.accesskey]=\"shortcutkey\"\n [attr.aria-label]=\"hint\"\n [autofocus]=\"autofocus\"\n (ngModelChange)=\"onModelChange($event)\"\n (blur)=\"handleBlur($event); checkForTrailingZeros($event);\"\n (focus)=\"checkForTrailingZeros($event)\"\n (input)=\"onInputChange($event.target.value)\"\n [ngModelOptions]=\"ngModelOptions\"\n [required]=\"required\"\n (keypress)=\"validateInputEntry($event)\"\n (keydown.backspace)=\"onBackspace($event)\"\n (keydown.enter)=\"onEnter($event)\"\n (keydown.ArrowUp)=\"onArrowPress($event, 'UP')\"\n (keydown.ArrowDown)=\"onArrowPress($event, 'DOWN')\"\n #input>\n" }]
|
|
1883
|
+
}], function () { return [{ type: i0__namespace.Injector }, { type: i1$2__namespace.AbstractI18nService }, { type: i2__namespace.TrailingZeroDecimalPipe }]; }, { inputEl: [{
|
|
1886
1884
|
type: i0.ViewChild,
|
|
1887
1885
|
args: ['input', { static: true }]
|
|
1888
1886
|
}], ngModel: [{
|
|
1889
1887
|
type: i0.ViewChild,
|
|
1890
|
-
args: [
|
|
1888
|
+
args: [i1$1.NgModel, { static: true }]
|
|
1891
1889
|
}] });
|
|
1892
1890
|
})();
|
|
1893
1891
|
|
|
@@ -1921,7 +1919,7 @@
|
|
|
1921
1919
|
]);
|
|
1922
1920
|
const registerProps$8 = () => {
|
|
1923
1921
|
i2.register('wm-radioset', radiosetProps);
|
|
1924
|
-
i2.registerFormWidget(i1$
|
|
1922
|
+
i2.registerFormWidget(i1$2.FormWidgetType.RADIOSET, new Map(radiosetProps));
|
|
1925
1923
|
};
|
|
1926
1924
|
|
|
1927
1925
|
const _c0$8 = ["wmRadioset", ""];
|
|
@@ -2152,7 +2150,7 @@
|
|
|
2152
2150
|
return;
|
|
2153
2151
|
}
|
|
2154
2152
|
if (key === 'itemsperrow') {
|
|
2155
|
-
i1$
|
|
2153
|
+
i1$2.setListClass(this);
|
|
2156
2154
|
}
|
|
2157
2155
|
else {
|
|
2158
2156
|
super.onPropertyChange(key, nv, ov);
|
|
@@ -2162,8 +2160,8 @@
|
|
|
2162
2160
|
RadiosetComponent.initializeProps = registerProps$8();
|
|
2163
2161
|
RadiosetComponent.ɵfac = function RadiosetComponent_Factory(t) { return new (t || RadiosetComponent)(i0__namespace.ɵɵdirectiveInject(i0__namespace.Injector)); };
|
|
2164
2162
|
RadiosetComponent.ɵcmp = /*@__PURE__*/ i0__namespace.ɵɵdefineComponent({ type: RadiosetComponent, selectors: [["", "wmRadioset", ""]], exportAs: ["wmRadioset"], features: [i0__namespace.ɵɵProvidersFeature([
|
|
2165
|
-
i2.provideAs(RadiosetComponent,
|
|
2166
|
-
i2.provideAs(RadiosetComponent,
|
|
2163
|
+
i2.provideAs(RadiosetComponent, i1$1.NG_VALUE_ACCESSOR, true),
|
|
2164
|
+
i2.provideAs(RadiosetComponent, i1$1.NG_VALIDATORS, true),
|
|
2167
2165
|
i2.provideAsWidgetRef(RadiosetComponent)
|
|
2168
2166
|
]), i0__namespace.ɵɵInheritDefinitionFeature], attrs: _c0$8, decls: 5, vars: 4, consts: [[3, "ngIf", "ngIfElse"], ["hidden", "", 1, "model-holder", 3, "disabled"], ["aria-readonly", "true", "class", "readonly-wrapper", 4, "ngIf"], ["groupedListTemplate", ""], ["partialContainer", "", "role", "presentation", 3, "ngClass", "active", "wmItemTemplate", "userComponentParams", "click", 4, "ngFor", "ngForOf"], ["partialContainer", "", "role", "presentation", 3, "ngClass", "wmItemTemplate", "userComponentParams", "click"], ["class", "app-radioset-label", 3, "ngClass", 4, "ngIf"], [1, "app-radioset-label", 3, "ngClass"], ["type", "radio", 3, "name", "value", "disabled", "tabindex", "checked"], [1, "caption", 3, "textContent"], ["partial-container-target", "", 1, "caption", "customTemplate"], ["aria-readonly", "true", 1, "readonly-wrapper"], ["class", "app-list-item-group", 4, "ngFor", "ngForOf"], [1, "app-list-item-group"], [1, "item-group"], [1, "list-group-header", 3, "title", "ngClass", "click"], [1, "group-title"], [1, "header-action"], ["class", "app-icon wi action wi-chevron-up", 3, "title", 4, "ngIf"], ["class", "label label-default", 3, "textContent", 4, "ngIf"], ["partialContainer", "", 3, "ngClass", "active", "wmItemTemplate", "userComponentParams", "click", 4, "ngFor", "ngForOf"], [1, "app-icon", "wi", "action", "wi-chevron-up", 3, "title"], [1, "label", "label-default", 3, "textContent"], ["partialContainer", "", 3, "ngClass", "wmItemTemplate", "userComponentParams", "click"]], template: function RadiosetComponent_Template(rf, ctx) {
|
|
2169
2167
|
if (rf & 1) {
|
|
@@ -2185,8 +2183,8 @@
|
|
|
2185
2183
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(RadiosetComponent, [{
|
|
2186
2184
|
type: i0.Component,
|
|
2187
2185
|
args: [{ selector: '[wmRadioset]', exportAs: 'wmRadioset', providers: [
|
|
2188
|
-
i2.provideAs(RadiosetComponent,
|
|
2189
|
-
i2.provideAs(RadiosetComponent,
|
|
2186
|
+
i2.provideAs(RadiosetComponent, i1$1.NG_VALUE_ACCESSOR, true),
|
|
2187
|
+
i2.provideAs(RadiosetComponent, i1$1.NG_VALIDATORS, true),
|
|
2190
2188
|
i2.provideAsWidgetRef(RadiosetComponent)
|
|
2191
2189
|
], template: "<ng-template [ngIf]=\"!groupby\" [ngIfElse]=\"groupedListTemplate\">\n <li [ngClass]=\"['radio', 'app-radio', itemclass, itemsPerRowClass]\"\n [class.active]=\"item.selected\"\n *ngFor=\"let item of datasetItems;let i = index\"\n [wmItemTemplate]=\"content\" [userComponentParams]=\"item\" partialContainer\n (click)=\"onRadioLabelClick($event, item.key)\" role=\"presentation\">\n <!-- Default item template -->\n <label *ngIf=\"!content\" class=\"app-radioset-label\"\n [ngClass]=\"{'disabled':disabled || readonly}\">\n <input [name]=\"'radioset_' + widgetId\" type=\"radio\" [attr.aria-checked]=\"item.selected\" [attr.data-attr-index]=\"i\"\n [value]=\"item.key\" [disabled]=\"disabled || readonly\" [tabindex]=\"tabindex\" [checked]=\"item.selected\"\n [attr.aria-label]=\"item.key\"/>\n <span class=\"caption\" [textContent]=\"item.label\"></span>\n </label>\n <!-- Custom partial template -->\n <label *ngIf=\"content\" class=\"app-radioset-label\"\n [ngClass]=\"{'disabled':disabled || readonly}\">\n <input [name]=\"'radioset_' + widgetId\" type=\"radio\" [attr.aria-checked]=\"item.selected\" [attr.data-attr-index]=\"i\"\n [value]=\"item.key\" [disabled]=\"disabled || readonly\" [tabindex]=\"tabindex\" [checked]=\"item.selected\"\n [attr.aria-label]=\"item.key\"/>\n <span class=\"caption customTemplate\" partial-container-target></span>\n </label>\n </li>\n</ng-template>\n\n<input [disabled]=\"disabled || readonly\" hidden class=\"model-holder\">\n<div *ngIf=\"readonly || disabled\" aria-readonly=\"true\" class=\"readonly-wrapper\"></div>\n\n<!-- This template will be displayed when groupby is specified. -->\n<ng-template #groupedListTemplate>\n <li *ngFor=\"let groupObj of groupedData\" class=\"app-list-item-group\">\n <ul class=\"item-group\">\n <li class=\"list-group-header\" (click)=\"handleHeaderClick($event)\" [title]=\"groupObj.key\" [ngClass]=\"{'collapsible-content': collapsible}\">\n <h4 class=\"group-title\">{{groupObj.key}}\n <div class=\"header-action\">\n <i class=\"app-icon wi action wi-chevron-up\" *ngIf=\"collapsible\" title=\"{{appLocale.LABEL_COLLAPSE}}/{{appLocale.LABEL_EXPAND}}\"></i>\n <span *ngIf=\"showcount\" class=\"label label-default\" [textContent]=\"groupObj.data.length\"></span>\n </div>\n </h4>\n </li>\n <li *ngFor=\"let item of groupObj.data; let i = index;\"\n [ngClass]=\"['radio', 'app-radio', 'group-list-item', itemclass, itemsPerRowClass]\"\n [class.active]=\"item.selected\"\n [wmItemTemplate]=\"content\" [userComponentParams]=\"item\" partialContainer\n (click)=\"onRadioLabelClick($event, item)\">\n <!-- Default item template -->\n <label *ngIf=\"!content\" class=\"app-radioset-label\"\n [ngClass]=\"{'disabled':disabled || readonly}\">\n <input [name]=\"'radioset_' + widgetId\" type=\"radio\" [attr.aria-checked]=\"item.selected\" [attr.data-attr-index]=\"i\"\n [value]=\"item.key\" [disabled]=\"disabled || readonly\" [tabindex]=\"tabindex\" [checked]=\"item.selected\"/>\n <span class=\"caption\" [textContent]=\"item.label\"></span>\n </label>\n <!-- Custom partial template -->\n <label *ngIf=\"content\" class=\"app-radioset-label\"\n [ngClass]=\"{'disabled':disabled || readonly}\">\n <input [name]=\"'radioset_' + widgetId\" type=\"radio\" [attr.aria-checked]=\"item.selected\" [attr.data-attr-index]=\"i\"\n [value]=\"item.key\" [disabled]=\"disabled || readonly\" [tabindex]=\"tabindex\" [checked]=\"item.selected\"/>\n <span class=\"caption customTemplate\" partial-container-target></span>\n </label>\n </li>\n </ul>\n </li>\n</ng-template>\n" }]
|
|
2192
2190
|
}], function () { return [{ type: i0__namespace.Injector }]; }, null);
|
|
@@ -2221,8 +2219,8 @@
|
|
|
2221
2219
|
]);
|
|
2222
2220
|
const registerProps$7 = () => {
|
|
2223
2221
|
i2.register('wm-select', selectProps);
|
|
2224
|
-
i2.registerFormWidget(i1$
|
|
2225
|
-
i2.registerFormWidget(i1$
|
|
2222
|
+
i2.registerFormWidget(i1$2.FormWidgetType.SELECT, new Map(selectProps));
|
|
2223
|
+
i2.registerFormWidget(i1$2.FormWidgetType.TYPEAHEAD, new Map(selectProps));
|
|
2226
2224
|
};
|
|
2227
2225
|
|
|
2228
2226
|
const _c0$7 = ["select"];
|
|
@@ -2285,8 +2283,8 @@
|
|
|
2285
2283
|
const WIDGET_CONFIG$7 = { widgetType: 'wm-select', hostClass: 'app-select-wrapper' };
|
|
2286
2284
|
class SelectComponent extends DatasetAwareFormComponent {
|
|
2287
2285
|
set datasource(ds) {
|
|
2288
|
-
if (ds && ds.execute && ds.execute(i1$
|
|
2289
|
-
this.datavalue = ds.execute(i1$
|
|
2286
|
+
if (ds && ds.execute && ds.execute(i1$2.DataSource.Operation.IS_BOUND_TO_LOCALE)) {
|
|
2287
|
+
this.datavalue = ds.execute(i1$2.DataSource.Operation.GET_DEFAULT_LOCALE);
|
|
2290
2288
|
}
|
|
2291
2289
|
}
|
|
2292
2290
|
constructor(inj) {
|
|
@@ -2338,7 +2336,7 @@
|
|
|
2338
2336
|
return;
|
|
2339
2337
|
}
|
|
2340
2338
|
else if (key === 'readonly') {
|
|
2341
|
-
(nv === true) ? i1$
|
|
2339
|
+
(nv === true) ? i1$2.setAttr(this.selectEl.nativeElement, 'readonly', 'readonly') : i1$2.removeAttr(this.selectEl.nativeElement, 'readonly');
|
|
2342
2340
|
}
|
|
2343
2341
|
super.onPropertyChange(key, nv, ov);
|
|
2344
2342
|
}
|
|
@@ -2372,8 +2370,8 @@
|
|
|
2372
2370
|
i0__namespace.ɵɵqueryRefresh(_t = i0__namespace.ɵɵloadQuery()) && (ctx.selectEl = _t.first);
|
|
2373
2371
|
}
|
|
2374
2372
|
}, features: [i0__namespace.ɵɵProvidersFeature([
|
|
2375
|
-
i2.provideAs(SelectComponent,
|
|
2376
|
-
i2.provideAs(SelectComponent,
|
|
2373
|
+
i2.provideAs(SelectComponent, i1$1.NG_VALUE_ACCESSOR, true),
|
|
2374
|
+
i2.provideAs(SelectComponent, i1$1.NG_VALIDATORS, true),
|
|
2377
2375
|
i2.provideAsWidgetRef(SelectComponent)
|
|
2378
2376
|
]), i0__namespace.ɵɵInheritDefinitionFeature], decls: 5, vars: 16, consts: [["role", "listbox", "aria-haspopup", "true", "aria-expanded", "false", "focus-target", "", 3, "ngClass", "disabled", "required", "tabindex", "ngModel", "multiple", "autofocus", "ngModelChange", "change", "focus", "blur"], ["select", ""], ["selected", "", "value", "undefined", 3, "textContent", "hidden"], [4, "ngIf"], [3, "label", 4, "ngFor", "ngForOf"], [3, "label"], ["role", "option", 3, "value", "selected", "textContent", 4, "ngFor", "ngForOf"], ["role", "option", 3, "value", "selected", "textContent"]], template: function SelectComponent_Template(rf, ctx) {
|
|
2379
2377
|
if (rf & 1) {
|
|
@@ -2394,13 +2392,13 @@
|
|
|
2394
2392
|
i0__namespace.ɵɵadvance(1);
|
|
2395
2393
|
i0__namespace.ɵɵproperty("ngIf", !ctx.groupby);
|
|
2396
2394
|
}
|
|
2397
|
-
}, dependencies: [i1__namespace.NgClass, i1__namespace.NgForOf, i1__namespace.NgIf,
|
|
2395
|
+
}, dependencies: [i1__namespace.NgClass, i1__namespace.NgForOf, i1__namespace.NgIf, i1$1__namespace.NgSelectOption, i1$1__namespace.ɵNgSelectMultipleOption, i1$1__namespace.SelectMultipleControlValueAccessor, i1$1__namespace.NgControlStatus, i1$1__namespace.RequiredValidator, i1$1__namespace.NgModel, i2__namespace.TextContentDirective], encapsulation: 2 });
|
|
2398
2396
|
(function () {
|
|
2399
2397
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(SelectComponent, [{
|
|
2400
2398
|
type: i0.Component,
|
|
2401
2399
|
args: [{ selector: 'wm-select', providers: [
|
|
2402
|
-
i2.provideAs(SelectComponent,
|
|
2403
|
-
i2.provideAs(SelectComponent,
|
|
2400
|
+
i2.provideAs(SelectComponent, i1$1.NG_VALUE_ACCESSOR, true),
|
|
2401
|
+
i2.provideAs(SelectComponent, i1$1.NG_VALIDATORS, true),
|
|
2404
2402
|
i2.provideAsWidgetRef(SelectComponent)
|
|
2405
2403
|
], template: "<select role=\"listbox\" aria-haspopup=\"true\" aria-expanded=\"false\" #select\n focus-target\n [ngClass]=\"['app-select form-control', class]\"\n [disabled]=\"disabled\"\n [required]=\"required\"\n [tabindex]=\"tabindex\"\n [(ngModel)]=\"modelByKey\"\n [multiple]=\"multiple\"\n (change)=\"onSelectValueChange($event)\"\n (focus)=\"checkForFloatingLabel($event)\"\n (blur)=\"invokeOnTouched($event); checkForFloatingLabel($event)\"\n [attr.name]=\"name\"\n [attr.aria-label]=\"hint\"\n [attr.aria-multiselectable]=\"multiple\"\n [autofocus]=\"autofocus\"\n>\n <option selected\n value=\"undefined\"\n [textContent]=\"placeholder\"\n [hidden]=\"!placeholder\"></option>\n\n <ng-container *ngIf=\"groupby\">\n <optgroup *ngFor=\"let groupObj of groupedData\"\n [label]=\"groupObj.key\">\n <option *ngFor=\"let item of groupObj.data;\"\n [value]=\"item.key\"\n [selected]=\"item.selected\"\n [textContent]=\"item.label\"\n role=\"option\"></option>\n </optgroup>\n </ng-container>\n\n <ng-container *ngIf=\"!groupby\">\n <option *ngFor=\"let item of datasetItems\"\n [value]=\"item.key\"\n [selected]=\"item.selected\"\n [textContent]=\"item.label\"\n role=\"option\"></option>\n </ng-container>\n</select>\n" }]
|
|
2406
2404
|
}], function () { return [{ type: i0__namespace.Injector }]; }, { selectEl: [{
|
|
@@ -2429,8 +2427,8 @@
|
|
|
2429
2427
|
]);
|
|
2430
2428
|
const registerProps$6 = () => {
|
|
2431
2429
|
i2.register('wm-switch', switchProps);
|
|
2432
|
-
i2.registerFormWidget(i1$
|
|
2433
|
-
i2.registerFormWidget(i1$
|
|
2430
|
+
i2.registerFormWidget(i1$2.FormWidgetType.SWITCH, new Map(switchProps));
|
|
2431
|
+
i2.registerFormWidget(i1$2.FormWidgetType.TOGGLE, new Map(switchProps));
|
|
2434
2432
|
};
|
|
2435
2433
|
|
|
2436
2434
|
const _c0$6 = ["wmSwitch", ""];
|
|
@@ -2480,12 +2478,12 @@
|
|
|
2480
2478
|
constructor(inj) {
|
|
2481
2479
|
super(inj, WIDGET_CONFIG$6);
|
|
2482
2480
|
this.options = [];
|
|
2483
|
-
this._debounceSetSelectedValue = i1$
|
|
2481
|
+
this._debounceSetSelectedValue = i1$2.debounce((val) => {
|
|
2484
2482
|
this.setSelectedValue();
|
|
2485
2483
|
this.updateHighlighter(val);
|
|
2486
2484
|
// only for default value trigger app digest to apply the selectedItem
|
|
2487
2485
|
if (val) {
|
|
2488
|
-
i1$
|
|
2486
|
+
i1$2.$appDigest();
|
|
2489
2487
|
}
|
|
2490
2488
|
}, 200);
|
|
2491
2489
|
const datasetSubscription = this.dataset$.subscribe(() => this.updateSwitchOptions());
|
|
@@ -2501,7 +2499,7 @@
|
|
|
2501
2499
|
}
|
|
2502
2500
|
onStyleChange(key, nv, ov) {
|
|
2503
2501
|
if (key === 'height') {
|
|
2504
|
-
i1$
|
|
2502
|
+
i1$2.setCSS(this.nativeElement, 'overflow', nv ? 'auto' : '');
|
|
2505
2503
|
}
|
|
2506
2504
|
else {
|
|
2507
2505
|
super.onStyleChange(key, nv, ov);
|
|
@@ -2509,7 +2507,7 @@
|
|
|
2509
2507
|
}
|
|
2510
2508
|
// This function sets the selectedItem by either using compareby fields or selected flag on datasetItems.
|
|
2511
2509
|
setSelectedValue() {
|
|
2512
|
-
if (i1$
|
|
2510
|
+
if (i1$2.isDefined(this.datavalue) || i1$2.isDefined(this.toBeProcessedDatavalue)) {
|
|
2513
2511
|
this.selectedItem = _.find(this.datasetItems, { selected: true });
|
|
2514
2512
|
return;
|
|
2515
2513
|
}
|
|
@@ -2521,7 +2519,7 @@
|
|
|
2521
2519
|
updateSwitchOptions() {
|
|
2522
2520
|
if (this.datasetItems.length) {
|
|
2523
2521
|
this.btnwidth = (100 / this.datasetItems.length);
|
|
2524
|
-
i1$
|
|
2522
|
+
i1$2.setCSS(this.nativeElement.querySelector('.app-switch-overlay'), 'width', this.btnwidth + '%');
|
|
2525
2523
|
}
|
|
2526
2524
|
this._debounceSetSelectedValue(true);
|
|
2527
2525
|
}
|
|
@@ -2571,10 +2569,10 @@
|
|
|
2571
2569
|
this.updateHighlighter();
|
|
2572
2570
|
// invoke on datavalue change.
|
|
2573
2571
|
this.invokeOnChange(this.datavalue, $event || {}, true);
|
|
2574
|
-
i1$
|
|
2572
|
+
i1$2.$appDigest();
|
|
2575
2573
|
}
|
|
2576
2574
|
onPropertyChange(key, nv, ov) {
|
|
2577
|
-
if (key === 'disabled' && !i1$
|
|
2575
|
+
if (key === 'disabled' && !i1$2.toBoolean(nv)) {
|
|
2578
2576
|
this.nativeElement.removeAttribute(key);
|
|
2579
2577
|
}
|
|
2580
2578
|
else {
|
|
@@ -2585,7 +2583,7 @@
|
|
|
2585
2583
|
SwitchComponent.initializeProps = registerProps$6();
|
|
2586
2584
|
SwitchComponent.ɵfac = function SwitchComponent_Factory(t) { return new (t || SwitchComponent)(i0__namespace.ɵɵdirectiveInject(i0__namespace.Injector)); };
|
|
2587
2585
|
SwitchComponent.ɵcmp = /*@__PURE__*/ i0__namespace.ɵɵdefineComponent({ type: SwitchComponent, selectors: [["", "wmSwitch", ""]], exportAs: ["wmSwitch"], features: [i0__namespace.ɵɵProvidersFeature([
|
|
2588
|
-
i2.provideAs(SwitchComponent,
|
|
2586
|
+
i2.provideAs(SwitchComponent, i1$1.NG_VALUE_ACCESSOR, true),
|
|
2589
2587
|
i2.provideAsWidgetRef(SwitchComponent)
|
|
2590
2588
|
]), i0__namespace.ɵɵInheritDefinitionFeature], attrs: _c0$6, decls: 6, vars: 8, consts: [["role", "group", 1, "btn-group", "btn-group-justified"], ["focus-target", "", "href", "javascript:void(0);", "class", "btn btn-default", 3, "name", "ngClass", "click", 4, "ngFor", "ngForOf"], [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);", 1, "btn", "btn-default", 3, "name", "ngClass", "click"], ["aria-hidden", "true", 3, "ngClass", 4, "ngIf"], [1, "caption", 3, "textContent"], ["aria-hidden", "true", 3, "ngClass"]], template: function SwitchComponent_Template(rf, ctx) {
|
|
2591
2589
|
if (rf & 1) {
|
|
@@ -2615,7 +2613,7 @@
|
|
|
2615
2613
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(SwitchComponent, [{
|
|
2616
2614
|
type: i0.Component,
|
|
2617
2615
|
args: [{ selector: '[wmSwitch]', providers: [
|
|
2618
|
-
i2.provideAs(SwitchComponent,
|
|
2616
|
+
i2.provideAs(SwitchComponent, i1$1.NG_VALUE_ACCESSOR, true),
|
|
2619
2617
|
i2.provideAsWidgetRef(SwitchComponent)
|
|
2620
2618
|
], exportAs: 'wmSwitch', template: "<div role=\"group\" 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 [ngClass]=\"{'selected': opt.selected, 'disabled': disabled}\"\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 [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" }]
|
|
2621
2619
|
}], function () { return [{ type: i0__namespace.Injector }]; }, null);
|
|
@@ -2641,9 +2639,7 @@
|
|
|
2641
2639
|
['step', i2.PROP_NUMBER],
|
|
2642
2640
|
['tabindex', Object.assign({ value: 0 }, i2.PROP_NUMBER)],
|
|
2643
2641
|
['type', i2.PROP_STRING],
|
|
2644
|
-
['updateon', i2.PROP_STRING]
|
|
2645
|
-
['conditionalclass', i2.PROP_ANY],
|
|
2646
|
-
['conditionalstyle', i2.PROP_ANY]
|
|
2642
|
+
['updateon', i2.PROP_STRING]
|
|
2647
2643
|
]);
|
|
2648
2644
|
const registerProps$5 = () => {
|
|
2649
2645
|
i2.register('wm-input-calendar', inputCalendarTypeProps);
|
|
@@ -2665,7 +2661,7 @@
|
|
|
2665
2661
|
InputCalendarComponent.ɵcmp = /*@__PURE__*/ i0__namespace.ɵɵdefineComponent({ type: InputCalendarComponent, selectors: [["wm-input", "type", "date"], ["wm-input", "type", "datetime-local"], ["wm-input", "type", "month"], ["wm-input", "type", "time"], ["wm-input", "type", "week"]], viewQuery: function InputCalendarComponent_Query(rf, ctx) {
|
|
2666
2662
|
if (rf & 1) {
|
|
2667
2663
|
i0__namespace.ɵɵviewQuery(_c0$5, 7);
|
|
2668
|
-
i0__namespace.ɵɵviewQuery(
|
|
2664
|
+
i0__namespace.ɵɵviewQuery(i1$1.NgModel, 5);
|
|
2669
2665
|
}
|
|
2670
2666
|
if (rf & 2) {
|
|
2671
2667
|
let _t;
|
|
@@ -2673,34 +2669,34 @@
|
|
|
2673
2669
|
i0__namespace.ɵɵqueryRefresh(_t = i0__namespace.ɵɵloadQuery()) && (ctx.ngModel = _t.first);
|
|
2674
2670
|
}
|
|
2675
2671
|
}, features: [i0__namespace.ɵɵProvidersFeature([
|
|
2676
|
-
i2.provideAs(InputCalendarComponent,
|
|
2677
|
-
i2.provideAs(InputCalendarComponent,
|
|
2672
|
+
i2.provideAs(InputCalendarComponent, i1$1.NG_VALUE_ACCESSOR, true),
|
|
2673
|
+
i2.provideAs(InputCalendarComponent, i1$1.NG_VALIDATORS, true),
|
|
2678
2674
|
i2.provideAsWidgetRef(InputCalendarComponent)
|
|
2679
|
-
]), i0__namespace.ɵɵInheritDefinitionFeature], attrs: _c1$4, decls: 2, vars:
|
|
2675
|
+
]), i0__namespace.ɵɵInheritDefinitionFeature], attrs: _c1$4, decls: 2, vars: 15, consts: [["focus-target", "", "role", "textbox", 1, "form-control", "app-textbox", 3, "type", "ngModel", "readonly", "required", "disabled", "min", "max", "step", "autofocus", "autocomplete", "ngModelChange", "blur"], ["input", ""]], template: function InputCalendarComponent_Template(rf, ctx) {
|
|
2680
2676
|
if (rf & 1) {
|
|
2681
2677
|
i0__namespace.ɵɵelementStart(0, "input", 0, 1);
|
|
2682
2678
|
i0__namespace.ɵɵlistener("ngModelChange", function InputCalendarComponent_Template_input_ngModelChange_0_listener($event) { return ctx.datavalue = $event; })("blur", function InputCalendarComponent_Template_input_blur_0_listener($event) { return ctx.handleBlur($event); })("ngModelChange", function InputCalendarComponent_Template_input_ngModelChange_0_listener($event) { return ctx.handleChange($event); });
|
|
2683
2679
|
i0__namespace.ɵɵelementEnd();
|
|
2684
2680
|
}
|
|
2685
2681
|
if (rf & 2) {
|
|
2686
|
-
i0__namespace.ɵɵproperty("type", ctx.type)("ngModel", ctx.datavalue)("readonly", ctx.readonly)("required", ctx.required)("disabled", ctx.disabled)("min", ctx.minvalue)("max", ctx.maxvalue)("step", ctx.step)("autofocus", ctx.autofocus)("autocomplete", ctx.autocomplete ? "on" : "off")
|
|
2682
|
+
i0__namespace.ɵɵproperty("type", ctx.type)("ngModel", ctx.datavalue)("readonly", ctx.readonly)("required", ctx.required)("disabled", ctx.disabled)("min", ctx.minvalue)("max", ctx.maxvalue)("step", ctx.step)("autofocus", ctx.autofocus)("autocomplete", ctx.autocomplete ? "on" : "off");
|
|
2687
2683
|
i0__namespace.ɵɵattribute("name", ctx.name)("tabindex", ctx.tabindex)("placeholder", ctx.placeholder)("accesskey", ctx.shortcutkey)("aria-label", ctx.hint || ctx.type + " field");
|
|
2688
2684
|
}
|
|
2689
|
-
}, dependencies: [
|
|
2685
|
+
}, dependencies: [i1$1__namespace.DefaultValueAccessor, i1$1__namespace.NgControlStatus, i1$1__namespace.RequiredValidator, i1$1__namespace.NgModel], encapsulation: 2 });
|
|
2690
2686
|
(function () {
|
|
2691
2687
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(InputCalendarComponent, [{
|
|
2692
2688
|
type: i0.Component,
|
|
2693
2689
|
args: [{ selector: 'wm-input[type="date"], wm-input[type="datetime-local"], wm-input[type="month"], wm-input[type="time"], wm-input[type="week"]', providers: [
|
|
2694
|
-
i2.provideAs(InputCalendarComponent,
|
|
2695
|
-
i2.provideAs(InputCalendarComponent,
|
|
2690
|
+
i2.provideAs(InputCalendarComponent, i1$1.NG_VALUE_ACCESSOR, true),
|
|
2691
|
+
i2.provideAs(InputCalendarComponent, i1$1.NG_VALIDATORS, true),
|
|
2696
2692
|
i2.provideAsWidgetRef(InputCalendarComponent)
|
|
2697
|
-
], template: "<input class=\"form-control app-textbox\"\n focus-target\n role=\"textbox\"\n [type]=\"type\"\n [attr.name]=\"name\"\n [(ngModel)]=\"datavalue\"\n [readonly]=\"readonly\"\n [required]=\"required\"\n [disabled]=\"disabled\"\n [min]=\"minvalue\"\n [max]=\"maxvalue\"\n [step]=\"step\"\n [attr.tabindex]=\"tabindex\"\n [attr.placeholder]=\"placeholder\"\n [attr.accesskey]=\"shortcutkey\"\n [attr.aria-label]=\"hint || type + ' field'\"\n [autofocus]=\"autofocus\"\n (blur)=\"handleBlur($event)\"\n (ngModelChange)=\"handleChange($event)\"\n [autocomplete]=\"autocomplete ? 'on' : 'off'\"\n
|
|
2693
|
+
], template: "<input class=\"form-control app-textbox\"\n focus-target\n role=\"textbox\"\n [type]=\"type\"\n [attr.name]=\"name\"\n [(ngModel)]=\"datavalue\"\n [readonly]=\"readonly\"\n [required]=\"required\"\n [disabled]=\"disabled\"\n [min]=\"minvalue\"\n [max]=\"maxvalue\"\n [step]=\"step\"\n [attr.tabindex]=\"tabindex\"\n [attr.placeholder]=\"placeholder\"\n [attr.accesskey]=\"shortcutkey\"\n [attr.aria-label]=\"hint || type + ' field'\"\n [autofocus]=\"autofocus\"\n (blur)=\"handleBlur($event)\"\n (ngModelChange)=\"handleChange($event)\"\n [autocomplete]=\"autocomplete ? 'on' : 'off'\"\n #input>\n" }]
|
|
2698
2694
|
}], function () { return [{ type: i0__namespace.Injector }]; }, { inputEl: [{
|
|
2699
2695
|
type: i0.ViewChild,
|
|
2700
2696
|
args: ['input', { static: true }]
|
|
2701
2697
|
}], ngModel: [{
|
|
2702
2698
|
type: i0.ViewChild,
|
|
2703
|
-
args: [
|
|
2699
|
+
args: [i1$1.NgModel]
|
|
2704
2700
|
}] });
|
|
2705
2701
|
})();
|
|
2706
2702
|
|
|
@@ -2721,9 +2717,7 @@
|
|
|
2721
2717
|
['show', Object.assign({ value: true }, i2.PROP_BOOLEAN)],
|
|
2722
2718
|
['tabindex', Object.assign({ value: 0 }, i2.PROP_NUMBER)],
|
|
2723
2719
|
['type', Object.assign({ value: 'color' }, i2.PROP_STRING)],
|
|
2724
|
-
['updateon', i2.PROP_STRING]
|
|
2725
|
-
['conditionalclass', i2.PROP_ANY],
|
|
2726
|
-
['conditionalstyle', i2.PROP_ANY]
|
|
2720
|
+
['updateon', i2.PROP_STRING]
|
|
2727
2721
|
]);
|
|
2728
2722
|
const registerProps$4 = () => {
|
|
2729
2723
|
i2.register('wm-input-color', inputColorTypeProps);
|
|
@@ -2745,7 +2739,7 @@
|
|
|
2745
2739
|
InputColorComponent.ɵcmp = /*@__PURE__*/ i0__namespace.ɵɵdefineComponent({ type: InputColorComponent, selectors: [["wm-input", "type", "color"]], viewQuery: function InputColorComponent_Query(rf, ctx) {
|
|
2746
2740
|
if (rf & 1) {
|
|
2747
2741
|
i0__namespace.ɵɵviewQuery(_c0$4, 7);
|
|
2748
|
-
i0__namespace.ɵɵviewQuery(
|
|
2742
|
+
i0__namespace.ɵɵviewQuery(i1$1.NgModel, 5);
|
|
2749
2743
|
}
|
|
2750
2744
|
if (rf & 2) {
|
|
2751
2745
|
let _t;
|
|
@@ -2753,34 +2747,34 @@
|
|
|
2753
2747
|
i0__namespace.ɵɵqueryRefresh(_t = i0__namespace.ɵɵloadQuery()) && (ctx.ngModel = _t.first);
|
|
2754
2748
|
}
|
|
2755
2749
|
}, features: [i0__namespace.ɵɵProvidersFeature([
|
|
2756
|
-
i2.provideAs(InputColorComponent,
|
|
2757
|
-
i2.provideAs(InputColorComponent,
|
|
2750
|
+
i2.provideAs(InputColorComponent, i1$1.NG_VALUE_ACCESSOR, true),
|
|
2751
|
+
i2.provideAs(InputColorComponent, i1$1.NG_VALIDATORS, true),
|
|
2758
2752
|
i2.provideAsWidgetRef(InputColorComponent)
|
|
2759
|
-
]), i0__namespace.ɵɵInheritDefinitionFeature], attrs: _c1$3, decls: 2, vars:
|
|
2753
|
+
]), i0__namespace.ɵɵInheritDefinitionFeature], attrs: _c1$3, decls: 2, vars: 12, consts: [["focus-target", "", "role", "textbox", 1, "form-control", "app-textbox", 3, "type", "ngModel", "readonly", "required", "disabled", "maxlength", "autofocus", "ngModelChange", "blur"], ["input", ""]], template: function InputColorComponent_Template(rf, ctx) {
|
|
2760
2754
|
if (rf & 1) {
|
|
2761
2755
|
i0__namespace.ɵɵelementStart(0, "input", 0, 1);
|
|
2762
2756
|
i0__namespace.ɵɵlistener("ngModelChange", function InputColorComponent_Template_input_ngModelChange_0_listener($event) { return ctx.datavalue = $event; })("blur", function InputColorComponent_Template_input_blur_0_listener($event) { return ctx.handleBlur($event); })("ngModelChange", function InputColorComponent_Template_input_ngModelChange_0_listener($event) { return ctx.handleChange($event); });
|
|
2763
2757
|
i0__namespace.ɵɵelementEnd();
|
|
2764
2758
|
}
|
|
2765
2759
|
if (rf & 2) {
|
|
2766
|
-
i0__namespace.ɵɵproperty("type", ctx.type)("ngModel", ctx.datavalue)("readonly", ctx.readonly)("required", ctx.required)("disabled", ctx.disabled)("maxlength", ctx.maxchars)("autofocus", ctx.autofocus)
|
|
2760
|
+
i0__namespace.ɵɵproperty("type", ctx.type)("ngModel", ctx.datavalue)("readonly", ctx.readonly)("required", ctx.required)("disabled", ctx.disabled)("maxlength", ctx.maxchars)("autofocus", ctx.autofocus);
|
|
2767
2761
|
i0__namespace.ɵɵattribute("name", ctx.name)("tabindex", ctx.tabindex)("placeholder", ctx.placeholder)("accesskey", ctx.shortcutkey)("aria-label", ctx.hint);
|
|
2768
2762
|
}
|
|
2769
|
-
}, dependencies: [
|
|
2763
|
+
}, dependencies: [i1$1__namespace.DefaultValueAccessor, i1$1__namespace.NgControlStatus, i1$1__namespace.RequiredValidator, i1$1__namespace.MaxLengthValidator, i1$1__namespace.NgModel], encapsulation: 2 });
|
|
2770
2764
|
(function () {
|
|
2771
2765
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(InputColorComponent, [{
|
|
2772
2766
|
type: i0.Component,
|
|
2773
2767
|
args: [{ selector: 'wm-input[type="color"]', providers: [
|
|
2774
|
-
i2.provideAs(InputColorComponent,
|
|
2775
|
-
i2.provideAs(InputColorComponent,
|
|
2768
|
+
i2.provideAs(InputColorComponent, i1$1.NG_VALUE_ACCESSOR, true),
|
|
2769
|
+
i2.provideAs(InputColorComponent, i1$1.NG_VALIDATORS, true),
|
|
2776
2770
|
i2.provideAsWidgetRef(InputColorComponent)
|
|
2777
|
-
], template: "<input class=\"form-control app-textbox\"\n focus-target\n [type]=\"type\"\n role=\"textbox\"\n [attr.name]=\"name\"\n [(ngModel)]=\"datavalue\"\n [readonly]=\"readonly\"\n [required]=\"required\"\n [disabled]=\"disabled\"\n [maxlength]=\"maxchars\"\n [attr.tabindex]=\"tabindex\"\n [attr.placeholder]=\"placeholder\"\n [attr.accesskey]=\"shortcutkey\"\n [attr.aria-label]=\"hint\"\n [autofocus]=\"autofocus\"\n
|
|
2771
|
+
], template: "<input class=\"form-control app-textbox\"\n focus-target\n [type]=\"type\"\n role=\"textbox\"\n [attr.name]=\"name\"\n [(ngModel)]=\"datavalue\"\n [readonly]=\"readonly\"\n [required]=\"required\"\n [disabled]=\"disabled\"\n [maxlength]=\"maxchars\"\n [attr.tabindex]=\"tabindex\"\n [attr.placeholder]=\"placeholder\"\n [attr.accesskey]=\"shortcutkey\"\n [attr.aria-label]=\"hint\"\n [autofocus]=\"autofocus\"\n (blur)=\"handleBlur($event)\"\n (ngModelChange)=\"handleChange($event)\"\n #input>\n" }]
|
|
2778
2772
|
}], function () { return [{ type: i0__namespace.Injector }]; }, { inputEl: [{
|
|
2779
2773
|
type: i0.ViewChild,
|
|
2780
2774
|
args: ['input', { static: true }]
|
|
2781
2775
|
}], ngModel: [{
|
|
2782
2776
|
type: i0.ViewChild,
|
|
2783
|
-
args: [
|
|
2777
|
+
args: [i1$1.NgModel]
|
|
2784
2778
|
}] });
|
|
2785
2779
|
})();
|
|
2786
2780
|
|
|
@@ -2803,9 +2797,7 @@
|
|
|
2803
2797
|
['show', Object.assign({ value: true }, i2.PROP_BOOLEAN)],
|
|
2804
2798
|
['tabindex', Object.assign({ value: 0 }, i2.PROP_NUMBER)],
|
|
2805
2799
|
['type', Object.assign({ value: 'email' }, i2.PROP_STRING)],
|
|
2806
|
-
['updateon', i2.PROP_STRING]
|
|
2807
|
-
['conditionalclass', i2.PROP_ANY],
|
|
2808
|
-
['conditionalstyle', i2.PROP_ANY]
|
|
2800
|
+
['updateon', i2.PROP_STRING]
|
|
2809
2801
|
]);
|
|
2810
2802
|
const registerProps$3 = () => {
|
|
2811
2803
|
i2.register('wm-input-email', inputEmailTypeProps);
|
|
@@ -2827,7 +2819,7 @@
|
|
|
2827
2819
|
InputEmailComponent.ɵcmp = /*@__PURE__*/ i0__namespace.ɵɵdefineComponent({ type: InputEmailComponent, selectors: [["wm-input", "type", "email"]], viewQuery: function InputEmailComponent_Query(rf, ctx) {
|
|
2828
2820
|
if (rf & 1) {
|
|
2829
2821
|
i0__namespace.ɵɵviewQuery(_c0$3, 7);
|
|
2830
|
-
i0__namespace.ɵɵviewQuery(
|
|
2822
|
+
i0__namespace.ɵɵviewQuery(i1$1.NgModel, 5);
|
|
2831
2823
|
}
|
|
2832
2824
|
if (rf & 2) {
|
|
2833
2825
|
let _t;
|
|
@@ -2835,10 +2827,10 @@
|
|
|
2835
2827
|
i0__namespace.ɵɵqueryRefresh(_t = i0__namespace.ɵɵloadQuery()) && (ctx.ngModel = _t.first);
|
|
2836
2828
|
}
|
|
2837
2829
|
}, features: [i0__namespace.ɵɵProvidersFeature([
|
|
2838
|
-
i2.provideAs(InputEmailComponent,
|
|
2839
|
-
i2.provideAs(InputEmailComponent,
|
|
2830
|
+
i2.provideAs(InputEmailComponent, i1$1.NG_VALUE_ACCESSOR, true),
|
|
2831
|
+
i2.provideAs(InputEmailComponent, i1$1.NG_VALIDATORS, true),
|
|
2840
2832
|
i2.provideAsWidgetRef(InputEmailComponent)
|
|
2841
|
-
]), i0__namespace.ɵɵInheritDefinitionFeature], attrs: _c1$2, decls: 2, vars:
|
|
2833
|
+
]), i0__namespace.ɵɵInheritDefinitionFeature], attrs: _c1$2, decls: 2, vars: 15, consts: [["focus-target", "", "role", "textbox", "email", "", 1, "form-control", "app-textbox", 3, "type", "ngModel", "ngModelOptions", "readonly", "required", "disabled", "maxlength", "pattern", "autofocus", "autocomplete", "ngModelChange", "blur", "keyup.enter"], ["input", ""]], template: function InputEmailComponent_Template(rf, ctx) {
|
|
2842
2834
|
if (rf & 1) {
|
|
2843
2835
|
const _r1 = i0__namespace.ɵɵgetCurrentView();
|
|
2844
2836
|
i0__namespace.ɵɵelementStart(0, "input", 0, 1);
|
|
@@ -2846,24 +2838,24 @@
|
|
|
2846
2838
|
i0__namespace.ɵɵelementEnd();
|
|
2847
2839
|
}
|
|
2848
2840
|
if (rf & 2) {
|
|
2849
|
-
i0__namespace.ɵɵproperty("type", ctx.type)("ngModel", ctx.datavalue)("ngModelOptions", ctx.ngModelOptions)("readonly", ctx.readonly)("required", ctx.required)("disabled", ctx.disabled)("maxlength", ctx.maxchars)("pattern", ctx.regexp)("autofocus", ctx.autofocus)("
|
|
2841
|
+
i0__namespace.ɵɵproperty("type", ctx.type)("ngModel", ctx.datavalue)("ngModelOptions", ctx.ngModelOptions)("readonly", ctx.readonly)("required", ctx.required)("disabled", ctx.disabled)("maxlength", ctx.maxchars)("pattern", ctx.regexp)("autofocus", ctx.autofocus)("autocomplete", ctx.autocomplete ? "on" : "off");
|
|
2850
2842
|
i0__namespace.ɵɵattribute("name", ctx.name)("tabindex", ctx.tabindex)("placeholder", ctx.placeholder)("accesskey", ctx.shortcutkey)("aria-label", ctx.hint);
|
|
2851
2843
|
}
|
|
2852
|
-
}, dependencies: [
|
|
2844
|
+
}, dependencies: [i1$1__namespace.DefaultValueAccessor, i1$1__namespace.NgControlStatus, i1$1__namespace.RequiredValidator, i1$1__namespace.MaxLengthValidator, i1$1__namespace.PatternValidator, i1$1__namespace.EmailValidator, i1$1__namespace.NgModel], encapsulation: 2 });
|
|
2853
2845
|
(function () {
|
|
2854
2846
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(InputEmailComponent, [{
|
|
2855
2847
|
type: i0.Component,
|
|
2856
2848
|
args: [{ selector: 'wm-input[type="email"]', providers: [
|
|
2857
|
-
i2.provideAs(InputEmailComponent,
|
|
2858
|
-
i2.provideAs(InputEmailComponent,
|
|
2849
|
+
i2.provideAs(InputEmailComponent, i1$1.NG_VALUE_ACCESSOR, true),
|
|
2850
|
+
i2.provideAs(InputEmailComponent, i1$1.NG_VALIDATORS, true),
|
|
2859
2851
|
i2.provideAsWidgetRef(InputEmailComponent)
|
|
2860
|
-
], template: "<input class=\"form-control app-textbox\"\n focus-target\n role=\"textbox\"\n [type]=\"type\"\n [attr.name]=\"name\"\n [(ngModel)]=\"datavalue\"\n [ngModelOptions]=\"ngModelOptions\"\n [readonly]=\"readonly\"\n [required]=\"required\"\n [disabled]=\"disabled\"\n [maxlength]=\"maxchars\"\n [pattern]=\"regexp\"\n [attr.tabindex]=\"tabindex\"\n [attr.placeholder]=\"placeholder\"\n [attr.accesskey]=\"shortcutkey\"\n [attr.aria-label]=\"hint\"\n [autofocus]=\"autofocus\"\n
|
|
2852
|
+
], template: "<input class=\"form-control app-textbox\"\n focus-target\n role=\"textbox\"\n [type]=\"type\"\n [attr.name]=\"name\"\n [(ngModel)]=\"datavalue\"\n [ngModelOptions]=\"ngModelOptions\"\n [readonly]=\"readonly\"\n [required]=\"required\"\n [disabled]=\"disabled\"\n [maxlength]=\"maxchars\"\n [pattern]=\"regexp\"\n [attr.tabindex]=\"tabindex\"\n [attr.placeholder]=\"placeholder\"\n [attr.accesskey]=\"shortcutkey\"\n [attr.aria-label]=\"hint\"\n [autofocus]=\"autofocus\"\n (blur)=\"handleBlur($event)\"\n (ngModelChange)=\"handleChange($event)\"\n [autocomplete]=\"autocomplete ? 'on' : 'off'\"\n (keyup.enter)=\"flushViewChanges(input.value)\"\n email\n #input>\n" }]
|
|
2861
2853
|
}], function () { return [{ type: i0__namespace.Injector }]; }, { inputEl: [{
|
|
2862
2854
|
type: i0.ViewChild,
|
|
2863
2855
|
args: ['input', { static: true }]
|
|
2864
2856
|
}], ngModel: [{
|
|
2865
2857
|
type: i0.ViewChild,
|
|
2866
|
-
args: [
|
|
2858
|
+
args: [i1$1.NgModel]
|
|
2867
2859
|
}] });
|
|
2868
2860
|
})();
|
|
2869
2861
|
|
|
@@ -2889,9 +2881,7 @@
|
|
|
2889
2881
|
['step', i2.PROP_NUMBER],
|
|
2890
2882
|
['tabindex', Object.assign({ value: 0 }, i2.PROP_NUMBER)],
|
|
2891
2883
|
['type', Object.assign({ value: 'number' }, i2.PROP_STRING)],
|
|
2892
|
-
['updateon', i2.PROP_STRING]
|
|
2893
|
-
['conditionalclass', i2.PROP_ANY],
|
|
2894
|
-
['conditionalstyle', i2.PROP_ANY]
|
|
2884
|
+
['updateon', i2.PROP_STRING]
|
|
2895
2885
|
]);
|
|
2896
2886
|
const registerProps$2 = () => {
|
|
2897
2887
|
i2.register('wm-input-number', inputNumberTypeProps);
|
|
@@ -2924,7 +2914,7 @@
|
|
|
2924
2914
|
InputNumberComponent.ɵcmp = /*@__PURE__*/ i0__namespace.ɵɵdefineComponent({ type: InputNumberComponent, selectors: [["wm-input", "type", "number"]], viewQuery: function InputNumberComponent_Query(rf, ctx) {
|
|
2925
2915
|
if (rf & 1) {
|
|
2926
2916
|
i0__namespace.ɵɵviewQuery(_c0$2, 7);
|
|
2927
|
-
i0__namespace.ɵɵviewQuery(
|
|
2917
|
+
i0__namespace.ɵɵviewQuery(i1$1.NgModel, 5);
|
|
2928
2918
|
}
|
|
2929
2919
|
if (rf & 2) {
|
|
2930
2920
|
let _t;
|
|
@@ -2932,10 +2922,10 @@
|
|
|
2932
2922
|
i0__namespace.ɵɵqueryRefresh(_t = i0__namespace.ɵɵloadQuery()) && (ctx.ngModel = _t.first);
|
|
2933
2923
|
}
|
|
2934
2924
|
}, features: [i0__namespace.ɵɵProvidersFeature([
|
|
2935
|
-
i2.provideAs(InputNumberComponent,
|
|
2936
|
-
i2.provideAs(InputNumberComponent,
|
|
2925
|
+
i2.provideAs(InputNumberComponent, i1$1.NG_VALUE_ACCESSOR, true),
|
|
2926
|
+
i2.provideAs(InputNumberComponent, i1$1.NG_VALIDATORS, true),
|
|
2937
2927
|
i2.provideAsWidgetRef(InputNumberComponent)
|
|
2938
|
-
]), i0__namespace.ɵɵInheritDefinitionFeature], attrs: _c1$1, decls: 2, vars:
|
|
2928
|
+
]), i0__namespace.ɵɵInheritDefinitionFeature], attrs: _c1$1, decls: 2, vars: 20, consts: [["focus-target", "", "role", "textbox", 1, "form-control", "app-textbox", 3, "ngClass", "type", "ngModel", "ngModelOptions", "readonly", "required", "disabled", "maxlength", "min", "max", "step", "autofocus", "autocomplete", "ngModelChange", "blur", "keyup.enter", "keydown.ArrowUp", "keydown.ArrowDown", "keypress"], ["input", ""]], template: function InputNumberComponent_Template(rf, ctx) {
|
|
2939
2929
|
if (rf & 1) {
|
|
2940
2930
|
const _r1 = i0__namespace.ɵɵgetCurrentView();
|
|
2941
2931
|
i0__namespace.ɵɵelementStart(0, "input", 0, 1);
|
|
@@ -2943,24 +2933,24 @@
|
|
|
2943
2933
|
i0__namespace.ɵɵelementEnd();
|
|
2944
2934
|
}
|
|
2945
2935
|
if (rf & 2) {
|
|
2946
|
-
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(
|
|
2936
|
+
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(18, _c2, ctx.step === 0))("type", ctx.type)("ngModel", ctx.datavalue)("ngModelOptions", ctx.ngModelOptions)("readonly", ctx.readonly)("required", ctx.required)("disabled", ctx.disabled)("maxlength", ctx.maxchars)("min", ctx.minvalue)("max", ctx.maxvalue)("step", ctx.step)("autofocus", ctx.autofocus)("autocomplete", ctx.autocomplete ? "on" : "off");
|
|
2947
2937
|
i0__namespace.ɵɵattribute("name", ctx.name)("tabindex", ctx.tabindex)("placeholder", ctx.placeholder)("accesskey", ctx.shortcutkey)("aria-label", ctx.hint);
|
|
2948
2938
|
}
|
|
2949
|
-
}, dependencies: [i1__namespace.NgClass,
|
|
2939
|
+
}, dependencies: [i1__namespace.NgClass, i1$1__namespace.DefaultValueAccessor, i1$1__namespace.NgControlStatus, i1$1__namespace.RequiredValidator, i1$1__namespace.MaxLengthValidator, i1$1__namespace.NgModel], encapsulation: 2 });
|
|
2950
2940
|
(function () {
|
|
2951
2941
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(InputNumberComponent, [{
|
|
2952
2942
|
type: i0.Component,
|
|
2953
2943
|
args: [{ selector: 'wm-input[type="number"]', providers: [
|
|
2954
|
-
i2.provideAs(InputNumberComponent,
|
|
2955
|
-
i2.provideAs(InputNumberComponent,
|
|
2944
|
+
i2.provideAs(InputNumberComponent, i1$1.NG_VALUE_ACCESSOR, true),
|
|
2945
|
+
i2.provideAs(InputNumberComponent, i1$1.NG_VALIDATORS, true),
|
|
2956
2946
|
i2.provideAsWidgetRef(InputNumberComponent)
|
|
2957
|
-
], template: "<input class=\"form-control app-textbox\"\n [ngClass]=\"{'step-hidden': step === 0}\"\n focus-target\n role=\"textbox\"\n [type]=\"type\"\n [attr.name]=\"name\"\n [(ngModel)]=\"datavalue\"\n [ngModelOptions]=\"ngModelOptions\"\n [readonly]=\"readonly\"\n [required]=\"required\"\n [disabled]=\"disabled\"\n [maxlength]=\"maxchars\"\n [min]=\"minvalue\"\n [max]=\"maxvalue\"\n [step]=\"step\"\n [attr.tabindex]=\"tabindex\"\n [attr.placeholder]=\"placeholder\"\n [attr.accesskey]=\"shortcutkey\"\n [attr.aria-label]=\"hint\"\n [autofocus]=\"autofocus\"\n
|
|
2947
|
+
], template: "<input class=\"form-control app-textbox\"\n [ngClass]=\"{'step-hidden': step === 0}\"\n focus-target\n role=\"textbox\"\n [type]=\"type\"\n [attr.name]=\"name\"\n [(ngModel)]=\"datavalue\"\n [ngModelOptions]=\"ngModelOptions\"\n [readonly]=\"readonly\"\n [required]=\"required\"\n [disabled]=\"disabled\"\n [maxlength]=\"maxchars\"\n [min]=\"minvalue\"\n [max]=\"maxvalue\"\n [step]=\"step\"\n [attr.tabindex]=\"tabindex\"\n [attr.placeholder]=\"placeholder\"\n [attr.accesskey]=\"shortcutkey\"\n [attr.aria-label]=\"hint\"\n [autofocus]=\"autofocus\"\n (blur)=\"handleBlur($event)\"\n (ngModelChange)=\"handleChange($event)\"\n [autocomplete]=\"autocomplete ? 'on' : 'off'\"\n (keyup.enter)=\"flushViewChanges(input.value)\"\n (keydown.ArrowUp)=\"onArrowPress($event)\"\n (keydown.ArrowDown)=\"onArrowPress($event)\"\n (keypress)=\"validateInputEntry($event)\"\n #input>\n" }]
|
|
2958
2948
|
}], function () { return [{ type: i0__namespace.Injector }]; }, { inputEl: [{
|
|
2959
2949
|
type: i0.ViewChild,
|
|
2960
2950
|
args: ['input', { static: true }]
|
|
2961
2951
|
}], ngModel: [{
|
|
2962
2952
|
type: i0.ViewChild,
|
|
2963
|
-
args: [
|
|
2953
|
+
args: [i1$1.NgModel]
|
|
2964
2954
|
}] });
|
|
2965
2955
|
})();
|
|
2966
2956
|
|
|
@@ -2985,13 +2975,11 @@
|
|
|
2985
2975
|
['showdisplayformaton', Object.assign({ value: 'always' }, i2.PROP_ANY)],
|
|
2986
2976
|
['tabindex', Object.assign({ value: 0 }, i2.PROP_NUMBER)],
|
|
2987
2977
|
['type', Object.assign({ value: 'text' }, i2.PROP_STRING)],
|
|
2988
|
-
['updateon', i2.PROP_STRING]
|
|
2989
|
-
['conditionalclass', i2.PROP_ANY],
|
|
2990
|
-
['conditionalstyle', i2.PROP_ANY]
|
|
2978
|
+
['updateon', i2.PROP_STRING]
|
|
2991
2979
|
]);
|
|
2992
2980
|
const registerProps$1 = () => {
|
|
2993
2981
|
i2.register('wm-input-text', inputTextTypeProps);
|
|
2994
|
-
i2.registerFormWidget(i1$
|
|
2982
|
+
i2.registerFormWidget(i1$2.FormWidgetType.PASSWORD, new Map(inputTextTypeProps));
|
|
2995
2983
|
const formTextProps = new Map(inputTextTypeProps);
|
|
2996
2984
|
const mergeTextProps = (typeProps) => {
|
|
2997
2985
|
typeProps.forEach((v, k) => formTextProps.set(k, v));
|
|
@@ -3000,7 +2988,7 @@
|
|
|
3000
2988
|
mergeTextProps(inputColorTypeProps);
|
|
3001
2989
|
mergeTextProps(inputEmailTypeProps);
|
|
3002
2990
|
mergeTextProps(inputNumberTypeProps);
|
|
3003
|
-
i2.registerFormWidget(i1$
|
|
2991
|
+
i2.registerFormWidget(i1$2.FormWidgetType.TEXT, new Map(formTextProps));
|
|
3004
2992
|
};
|
|
3005
2993
|
|
|
3006
2994
|
const _c0$1 = ["input"];
|
|
@@ -3088,8 +3076,8 @@
|
|
|
3088
3076
|
InputTextComponent.ɵcmp = /*@__PURE__*/ i0__namespace.ɵɵdefineComponent({ type: InputTextComponent, selectors: [["wm-input", "type", "text"], ["wm-input", 3, "type", ""], ["wm-input", "type", "password"], ["wm-input", "type", "search"], ["wm-input", "type", "tel"], ["wm-input", "type", "url"]], viewQuery: function InputTextComponent_Query(rf, ctx) {
|
|
3089
3077
|
if (rf & 1) {
|
|
3090
3078
|
i0__namespace.ɵɵviewQuery(_c0$1, 7);
|
|
3091
|
-
i0__namespace.ɵɵviewQuery(
|
|
3092
|
-
i0__namespace.ɵɵviewQuery(_c0$1, 5,
|
|
3079
|
+
i0__namespace.ɵɵviewQuery(i1$1.NgModel, 5);
|
|
3080
|
+
i0__namespace.ɵɵviewQuery(_c0$1, 5, i2$1.IMaskDirective);
|
|
3093
3081
|
}
|
|
3094
3082
|
if (rf & 2) {
|
|
3095
3083
|
let _t;
|
|
@@ -3098,10 +3086,10 @@
|
|
|
3098
3086
|
i0__namespace.ɵɵqueryRefresh(_t = i0__namespace.ɵɵloadQuery()) && (ctx.imask = _t.first);
|
|
3099
3087
|
}
|
|
3100
3088
|
}, features: [i0__namespace.ɵɵProvidersFeature([
|
|
3101
|
-
i2.provideAs(InputTextComponent,
|
|
3102
|
-
i2.provideAs(InputTextComponent,
|
|
3089
|
+
i2.provideAs(InputTextComponent, i1$1.NG_VALUE_ACCESSOR, true),
|
|
3090
|
+
i2.provideAs(InputTextComponent, i1$1.NG_VALIDATORS, true),
|
|
3103
3091
|
i2.provideAsWidgetRef(InputTextComponent)
|
|
3104
|
-
]), i0__namespace.ɵɵInheritDefinitionFeature], attrs: _c1, decls: 2, vars:
|
|
3092
|
+
]), i0__namespace.ɵɵInheritDefinitionFeature], attrs: _c1, decls: 2, vars: 17, consts: [["focus-target", "", "role", "textbox", 1, "form-control", "app-textbox", 3, "type", "ngModel", "imask", "unmask", "ngModelOptions", "readonly", "required", "disabled", "maxlength", "pattern", "autofocus", "autocomplete", "ngModelChange", "blur", "focus", "keyup.enter"], ["input", ""]], template: function InputTextComponent_Template(rf, ctx) {
|
|
3105
3093
|
if (rf & 1) {
|
|
3106
3094
|
const _r1 = i0__namespace.ɵɵgetCurrentView();
|
|
3107
3095
|
i0__namespace.ɵɵelementStart(0, "input", 0, 1);
|
|
@@ -3109,27 +3097,27 @@
|
|
|
3109
3097
|
i0__namespace.ɵɵelementEnd();
|
|
3110
3098
|
}
|
|
3111
3099
|
if (rf & 2) {
|
|
3112
|
-
i0__namespace.ɵɵproperty("type", ctx.type)("ngModel", ctx.datavalue)("imask", ctx.mask)("unmask", true)("ngModelOptions", ctx.ngModelOptions)("readonly", ctx.readonly)("required", ctx.required)("disabled", ctx.disabled)("maxlength", ctx.maxchars)("pattern", ctx.regexp)("autofocus", ctx.autofocus)("
|
|
3100
|
+
i0__namespace.ɵɵproperty("type", ctx.type)("ngModel", ctx.datavalue)("imask", ctx.mask)("unmask", true)("ngModelOptions", ctx.ngModelOptions)("readonly", ctx.readonly)("required", ctx.required)("disabled", ctx.disabled)("maxlength", ctx.maxchars)("pattern", ctx.regexp)("autofocus", ctx.autofocus)("autocomplete", ctx.autocomplete ? "on" : "off");
|
|
3113
3101
|
i0__namespace.ɵɵattribute("name", ctx.name)("aria-label", ctx.hint)("tabindex", ctx.tabindex)("placeholder", ctx.placeholder)("accesskey", ctx.shortcutkey);
|
|
3114
3102
|
}
|
|
3115
|
-
}, dependencies: [
|
|
3103
|
+
}, dependencies: [i1$1__namespace.DefaultValueAccessor, i1$1__namespace.NgControlStatus, i1$1__namespace.RequiredValidator, i1$1__namespace.MaxLengthValidator, i1$1__namespace.PatternValidator, i1$1__namespace.NgModel, i2$1__namespace.IMaskDirective], encapsulation: 2 });
|
|
3116
3104
|
(function () {
|
|
3117
3105
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(InputTextComponent, [{
|
|
3118
3106
|
type: i0.Component,
|
|
3119
3107
|
args: [{ selector: 'wm-input[type="text"], wm-input:not([type]), wm-input[type="password"], wm-input[type="search"], wm-input[type="tel"], wm-input[type="url"]', providers: [
|
|
3120
|
-
i2.provideAs(InputTextComponent,
|
|
3121
|
-
i2.provideAs(InputTextComponent,
|
|
3108
|
+
i2.provideAs(InputTextComponent, i1$1.NG_VALUE_ACCESSOR, true),
|
|
3109
|
+
i2.provideAs(InputTextComponent, i1$1.NG_VALIDATORS, true),
|
|
3122
3110
|
i2.provideAsWidgetRef(InputTextComponent)
|
|
3123
|
-
], template: "<input class=\"form-control app-textbox\"\n focus-target\n role=\"textbox\"\n [type]=\"type\"\n [attr.name]=\"name\"\n [attr.aria-label]=\"hint\"\n [(ngModel)]=\"datavalue\"\n [imask]=\"mask\"\n [unmask]=\"true\"\n [ngModelOptions]=\"ngModelOptions\"\n [readonly]=\"readonly\"\n [required]=\"required\"\n [disabled]=\"disabled\"\n [maxlength]=\"maxchars\"\n [pattern]=\"regexp\"\n [attr.tabindex]=\"tabindex\"\n [attr.placeholder]=\"placeholder\"\n [attr.accesskey]=\"shortcutkey\"\n [autofocus]=\"autofocus\"\n
|
|
3111
|
+
], template: "<input class=\"form-control app-textbox\"\n focus-target\n role=\"textbox\"\n [type]=\"type\"\n [attr.name]=\"name\"\n [attr.aria-label]=\"hint\"\n [(ngModel)]=\"datavalue\"\n [imask]=\"mask\"\n [unmask]=\"true\"\n [ngModelOptions]=\"ngModelOptions\"\n [readonly]=\"readonly\"\n [required]=\"required\"\n [disabled]=\"disabled\"\n [maxlength]=\"maxchars\"\n [pattern]=\"regexp\"\n [attr.tabindex]=\"tabindex\"\n [attr.placeholder]=\"placeholder\"\n [attr.accesskey]=\"shortcutkey\"\n [autofocus]=\"autofocus\"\n (ngModelChange)=\"handleChange($event)\"\n (blur)=\"handleBlur($event); checkForDisplayFormat($event)\"\n (focus)=\"checkForDisplayFormat($event)\"\n [autocomplete]=\"autocomplete ? 'on' : 'off'\"\n (keyup.enter)=\"flushViewChanges(input.value)\"\n #input>\n" }]
|
|
3124
3112
|
}], function () { return [{ type: i0__namespace.Injector }]; }, { inputEl: [{
|
|
3125
3113
|
type: i0.ViewChild,
|
|
3126
3114
|
args: ['input', { static: true }]
|
|
3127
3115
|
}], ngModel: [{
|
|
3128
3116
|
type: i0.ViewChild,
|
|
3129
|
-
args: [
|
|
3117
|
+
args: [i1$1.NgModel]
|
|
3130
3118
|
}], imask: [{
|
|
3131
3119
|
type: i0.ViewChild,
|
|
3132
|
-
args: ['input', { read:
|
|
3120
|
+
args: ['input', { read: i2$1.IMaskDirective }]
|
|
3133
3121
|
}] });
|
|
3134
3122
|
})();
|
|
3135
3123
|
|
|
@@ -3152,12 +3140,10 @@
|
|
|
3152
3140
|
['updateon', i2.PROP_STRING],
|
|
3153
3141
|
['limitdisplaytext', i2.PROP_STRING],
|
|
3154
3142
|
['charlength', i2.PROP_NUMBER],
|
|
3155
|
-
['conditionalclass', i2.PROP_ANY],
|
|
3156
|
-
['conditionalstyle', i2.PROP_ANY]
|
|
3157
3143
|
]);
|
|
3158
3144
|
const registerProps = () => {
|
|
3159
3145
|
i2.register('wm-textarea', textareaProps);
|
|
3160
|
-
i2.registerFormWidget(i1$
|
|
3146
|
+
i2.registerFormWidget(i1$2.FormWidgetType.TEXTAREA, new Map(textareaProps));
|
|
3161
3147
|
};
|
|
3162
3148
|
|
|
3163
3149
|
const _c0 = ["textarea"];
|
|
@@ -3191,7 +3177,7 @@
|
|
|
3191
3177
|
TextareaComponent.ɵcmp = /*@__PURE__*/ i0__namespace.ɵɵdefineComponent({ type: TextareaComponent, selectors: [["wm-textarea"]], viewQuery: function TextareaComponent_Query(rf, ctx) {
|
|
3192
3178
|
if (rf & 1) {
|
|
3193
3179
|
i0__namespace.ɵɵviewQuery(_c0, 7);
|
|
3194
|
-
i0__namespace.ɵɵviewQuery(
|
|
3180
|
+
i0__namespace.ɵɵviewQuery(i1$1.NgModel, 5);
|
|
3195
3181
|
}
|
|
3196
3182
|
if (rf & 2) {
|
|
3197
3183
|
let _t;
|
|
@@ -3199,10 +3185,10 @@
|
|
|
3199
3185
|
i0__namespace.ɵɵqueryRefresh(_t = i0__namespace.ɵɵloadQuery()) && (ctx.ngModel = _t.first);
|
|
3200
3186
|
}
|
|
3201
3187
|
}, features: [i0__namespace.ɵɵProvidersFeature([
|
|
3202
|
-
i2.provideAs(TextareaComponent,
|
|
3203
|
-
i2.provideAs(TextareaComponent,
|
|
3188
|
+
i2.provideAs(TextareaComponent, i1$1.NG_VALUE_ACCESSOR, true),
|
|
3189
|
+
i2.provideAs(TextareaComponent, i1$1.NG_VALIDATORS, true),
|
|
3204
3190
|
i2.provideAsWidgetRef(TextareaComponent)
|
|
3205
|
-
]), i0__namespace.ɵɵInheritDefinitionFeature], decls: 3, vars:
|
|
3191
|
+
]), i0__namespace.ɵɵInheritDefinitionFeature], decls: 3, vars: 13, consts: [["focus-target", "", "role", "textbox", "aria-multiline", "true", 1, "form-control", "app-textarea", 3, "ngModel", "ngModelOptions", "readonly", "required", "disabled", "maxlength", "autofocus", "ngModelChange", "blur", "input"], ["textarea", ""], ["class", "textarea-count", 4, "ngIf"], [1, "textarea-count"]], template: function TextareaComponent_Template(rf, ctx) {
|
|
3206
3192
|
if (rf & 1) {
|
|
3207
3193
|
i0__namespace.ɵɵelementStart(0, "textarea", 0, 1);
|
|
3208
3194
|
i0__namespace.ɵɵlistener("ngModelChange", function TextareaComponent_Template_textarea_ngModelChange_0_listener($event) { return ctx.datavalue = $event; })("blur", function TextareaComponent_Template_textarea_blur_0_listener($event) { return ctx.handleBlur($event); })("input", function TextareaComponent_Template_textarea_input_0_listener() { return ctx.onInputChange(); })("ngModelChange", function TextareaComponent_Template_textarea_ngModelChange_0_listener($event) { ctx.handleChange($event); return ctx.onInputChange(); });
|
|
@@ -3210,26 +3196,26 @@
|
|
|
3210
3196
|
i0__namespace.ɵɵtemplate(2, TextareaComponent_div_2_Template, 2, 1, "div", 2);
|
|
3211
3197
|
}
|
|
3212
3198
|
if (rf & 2) {
|
|
3213
|
-
i0__namespace.ɵɵproperty("ngModel", ctx.datavalue)("ngModelOptions", ctx.ngModelOptions)("readonly", ctx.readonly)("required", ctx.required)("disabled", ctx.disabled)("maxlength", ctx.maxchars)("autofocus", ctx.autofocus)
|
|
3199
|
+
i0__namespace.ɵɵproperty("ngModel", ctx.datavalue)("ngModelOptions", ctx.ngModelOptions)("readonly", ctx.readonly)("required", ctx.required)("disabled", ctx.disabled)("maxlength", ctx.maxchars)("autofocus", ctx.autofocus);
|
|
3214
3200
|
i0__namespace.ɵɵattribute("name", ctx.name)("tabindex", ctx.tabindex)("placeholder", ctx.placeholder)("accesskey", ctx.shortcutkey)("aria-label", ctx.hint);
|
|
3215
3201
|
i0__namespace.ɵɵadvance(2);
|
|
3216
3202
|
i0__namespace.ɵɵproperty("ngIf", ctx.maxchars);
|
|
3217
3203
|
}
|
|
3218
|
-
}, dependencies: [i1__namespace.
|
|
3204
|
+
}, dependencies: [i1__namespace.NgIf, i1$1__namespace.DefaultValueAccessor, i1$1__namespace.NgControlStatus, i1$1__namespace.RequiredValidator, i1$1__namespace.MaxLengthValidator, i1$1__namespace.NgModel], encapsulation: 2 });
|
|
3219
3205
|
(function () {
|
|
3220
3206
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(TextareaComponent, [{
|
|
3221
3207
|
type: i0.Component,
|
|
3222
3208
|
args: [{ selector: 'wm-textarea', providers: [
|
|
3223
|
-
i2.provideAs(TextareaComponent,
|
|
3224
|
-
i2.provideAs(TextareaComponent,
|
|
3209
|
+
i2.provideAs(TextareaComponent, i1$1.NG_VALUE_ACCESSOR, true),
|
|
3210
|
+
i2.provideAs(TextareaComponent, i1$1.NG_VALIDATORS, true),
|
|
3225
3211
|
i2.provideAsWidgetRef(TextareaComponent)
|
|
3226
|
-
], template: "<textarea class=\"form-control app-textarea\"\n focus-target\n role=\"textbox\"\n [attr.name]=\"name\"\n [(ngModel)]=\"datavalue\"\n [ngModelOptions]=\"ngModelOptions\"\n [readonly]=\"readonly\"\n [required]=\"required\"\n [disabled]=\"disabled\"\n [maxlength]=\"maxchars\"\n [attr.tabindex]=\"tabindex\"\n [attr.placeholder]=\"placeholder\"\n [attr.accesskey]=\"shortcutkey\"\n [attr.aria-label]=\"hint\"\n aria-multiline=\"true\"\n [autofocus]=\"autofocus\"\n
|
|
3212
|
+
], template: "<textarea class=\"form-control app-textarea\"\n focus-target\n role=\"textbox\"\n [attr.name]=\"name\"\n [(ngModel)]=\"datavalue\"\n [ngModelOptions]=\"ngModelOptions\"\n [readonly]=\"readonly\"\n [required]=\"required\"\n [disabled]=\"disabled\"\n [maxlength]=\"maxchars\"\n [attr.tabindex]=\"tabindex\"\n [attr.placeholder]=\"placeholder\"\n [attr.accesskey]=\"shortcutkey\"\n [attr.aria-label]=\"hint\"\n aria-multiline=\"true\"\n [autofocus]=\"autofocus\"\n (blur)=\"handleBlur($event)\"\n (input)=\"onInputChange()\"\n (ngModelChange)=\"handleChange($event); onInputChange();\"\n #textarea\n></textarea>\n\n<div *ngIf=\"maxchars\" class=\"textarea-count\" >{{limitdisplaytext}}</div>\n" }]
|
|
3227
3213
|
}], function () { return [{ type: i0__namespace.Injector }]; }, { inputEl: [{
|
|
3228
3214
|
type: i0.ViewChild,
|
|
3229
3215
|
args: ['textarea', { static: true }]
|
|
3230
3216
|
}], ngModel: [{
|
|
3231
3217
|
type: i0.ViewChild,
|
|
3232
|
-
args: [
|
|
3218
|
+
args: [i1$1.NgModel]
|
|
3233
3219
|
}] });
|
|
3234
3220
|
})();
|
|
3235
3221
|
|
|
@@ -3389,7 +3375,7 @@
|
|
|
3389
3375
|
}
|
|
3390
3376
|
}
|
|
3391
3377
|
}
|
|
3392
|
-
CaptionPositionDirective.ɵfac = function CaptionPositionDirective_Factory(t) { return new (t || CaptionPositionDirective)(i0__namespace.ɵɵdirectiveInject(i0__namespace.Injector), i0__namespace.ɵɵdirectiveInject(i1$
|
|
3378
|
+
CaptionPositionDirective.ɵfac = function CaptionPositionDirective_Factory(t) { return new (t || CaptionPositionDirective)(i0__namespace.ɵɵdirectiveInject(i0__namespace.Injector), i0__namespace.ɵɵdirectiveInject(i1$2__namespace.App)); };
|
|
3393
3379
|
CaptionPositionDirective.ɵdir = /*@__PURE__*/ i0__namespace.ɵɵdefineDirective({ type: CaptionPositionDirective, selectors: [["", "wmCaptionPosition", ""]] });
|
|
3394
3380
|
(function () {
|
|
3395
3381
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(CaptionPositionDirective, [{
|
|
@@ -3397,7 +3383,7 @@
|
|
|
3397
3383
|
args: [{
|
|
3398
3384
|
selector: '[wmCaptionPosition]'
|
|
3399
3385
|
}]
|
|
3400
|
-
}], function () { return [{ type: i0__namespace.Injector }, { type: i1$
|
|
3386
|
+
}], function () { return [{ type: i0__namespace.Injector }, { type: i1$2__namespace.App }]; }, null);
|
|
3401
3387
|
})();
|
|
3402
3388
|
|
|
3403
3389
|
const components = [
|
|
@@ -3423,18 +3409,18 @@
|
|
|
3423
3409
|
InputModule.ɵfac = function InputModule_Factory(t) { return new (t || InputModule)(); };
|
|
3424
3410
|
InputModule.ɵmod = /*@__PURE__*/ i0__namespace.ɵɵdefineNgModule({ type: InputModule });
|
|
3425
3411
|
InputModule.ɵinj = /*@__PURE__*/ i0__namespace.ɵɵdefineInjector({ imports: [i1.CommonModule,
|
|
3426
|
-
|
|
3412
|
+
i1$1.FormsModule,
|
|
3427
3413
|
i2.WmComponentsModule,
|
|
3428
|
-
|
|
3414
|
+
i2$1.IMaskModule] });
|
|
3429
3415
|
(function () {
|
|
3430
3416
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(InputModule, [{
|
|
3431
3417
|
type: i0.NgModule,
|
|
3432
3418
|
args: [{
|
|
3433
3419
|
imports: [
|
|
3434
3420
|
i1.CommonModule,
|
|
3435
|
-
|
|
3421
|
+
i1$1.FormsModule,
|
|
3436
3422
|
i2.WmComponentsModule,
|
|
3437
|
-
|
|
3423
|
+
i2$1.IMaskModule
|
|
3438
3424
|
],
|
|
3439
3425
|
declarations: [...components],
|
|
3440
3426
|
exports: [...components]
|
|
@@ -3458,9 +3444,9 @@
|
|
|
3458
3444
|
InputNumberComponent,
|
|
3459
3445
|
InputTextComponent,
|
|
3460
3446
|
TextareaComponent], imports: [i1.CommonModule,
|
|
3461
|
-
|
|
3447
|
+
i1$1.FormsModule,
|
|
3462
3448
|
i2.WmComponentsModule,
|
|
3463
|
-
|
|
3449
|
+
i2$1.IMaskModule], exports: [ButtonComponent,
|
|
3464
3450
|
ButtonGroupDirective,
|
|
3465
3451
|
CaptionPositionDirective,
|
|
3466
3452
|
CheckboxComponent,
|