@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,13 +2,13 @@ import * as i0 from '@angular/core';
|
|
|
2
2
|
import { Component, HostBinding, Directive, HostListener, Injectable, Inject, ElementRef, Attribute, ViewChild, ContentChildren, NgModule } from '@angular/core';
|
|
3
3
|
import * as i1 from '@angular/common';
|
|
4
4
|
import { getLocaleNumberSymbol, NumberSymbol, CommonModule } from '@angular/common';
|
|
5
|
-
import * as
|
|
5
|
+
import * as i1$1 from '@angular/forms';
|
|
6
6
|
import { FormControlName, NgModel, NG_VALUE_ACCESSOR, NG_VALIDATORS, FormsModule } from '@angular/forms';
|
|
7
|
-
import * as
|
|
7
|
+
import * as i2$1 from 'angular-imask';
|
|
8
8
|
import { IMaskDirective, IMaskModule } from 'angular-imask';
|
|
9
9
|
import * as i2 from '@wm/components/base';
|
|
10
10
|
import { register, PROP_STRING, PROP_ANY, PROP_BOOLEAN, PROP_NUMBER, DISPLAY_TYPE, StylableComponent, styler, provideAsWidgetRef, APPLY_STYLES_TYPE, WidgetConfig, registerFormWidget, provideAs, extractDataAsArray, ToDatePipe, ALLFIELDS, getOrderedDataset, convertDataToObject, transformDataWithKeys, transformFormData, getUniqObjsByDataField, groupData, handleHeaderClick, toggleAllHeaders, WidgetRef, INPUTMODE, WmComponentsModule } from '@wm/components/base';
|
|
11
|
-
import * as i1$
|
|
11
|
+
import * as i1$2 from '@wm/core';
|
|
12
12
|
import { DataSource, FormWidgetType, isDefined, toggleClass, AppDefaults, debounce, $appDigest, noop, isEqualWithFields, toBoolean, setListClass, switchClass, addForIdAttributes, addClass, setAttr, removeAttr, setCSS } from '@wm/core';
|
|
13
13
|
import { Subject } from 'rxjs';
|
|
14
14
|
|
|
@@ -534,7 +534,7 @@ CheckboxComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CheckboxC
|
|
|
534
534
|
i0.ɵɵadvance(2);
|
|
535
535
|
i0.ɵɵproperty("disabled", ctx.disabled)("value", ctx.proxyModel);
|
|
536
536
|
}
|
|
537
|
-
}, dependencies: [i1.NgClass,
|
|
537
|
+
}, dependencies: [i1.NgClass, i1$1.CheckboxControlValueAccessor, i1$1.NgControlStatus, i1$1.CheckboxRequiredValidator, i1$1.NgModel], encapsulation: 2 });
|
|
538
538
|
(function () {
|
|
539
539
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CheckboxComponent, [{
|
|
540
540
|
type: Component,
|
|
@@ -1291,9 +1291,7 @@ const numberProps = new Map([
|
|
|
1291
1291
|
['tabindex', Object.assign({ value: 0 }, PROP_NUMBER)],
|
|
1292
1292
|
['trailingzero', Object.assign({ value: false }, PROP_BOOLEAN)],
|
|
1293
1293
|
['updateon', PROP_STRING],
|
|
1294
|
-
['inputmode', Object.assign({ value: 'natural' }, PROP_STRING)]
|
|
1295
|
-
['conditionalclass', PROP_ANY],
|
|
1296
|
-
['conditionalstyle', PROP_ANY]
|
|
1294
|
+
['inputmode', Object.assign({ value: 'natural' }, PROP_STRING)]
|
|
1297
1295
|
]);
|
|
1298
1296
|
const registerProps$9 = () => {
|
|
1299
1297
|
register('wm-number', numberProps);
|
|
@@ -1832,7 +1830,7 @@ class NumberComponent extends NumberLocale {
|
|
|
1832
1830
|
}
|
|
1833
1831
|
}
|
|
1834
1832
|
NumberComponent.initializeProps = registerProps$9();
|
|
1835
|
-
NumberComponent.ɵfac = function NumberComponent_Factory(t) { return new (t || NumberComponent)(i0.ɵɵdirectiveInject(i0.Injector), i0.ɵɵdirectiveInject(i1$
|
|
1833
|
+
NumberComponent.ɵfac = function NumberComponent_Factory(t) { return new (t || NumberComponent)(i0.ɵɵdirectiveInject(i0.Injector), i0.ɵɵdirectiveInject(i1$2.AbstractI18nService), i0.ɵɵdirectiveInject(i2.TrailingZeroDecimalPipe)); };
|
|
1836
1834
|
NumberComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: NumberComponent, selectors: [["", "wmNumber", ""]], viewQuery: function NumberComponent_Query(rf, ctx) {
|
|
1837
1835
|
if (rf & 1) {
|
|
1838
1836
|
i0.ɵɵviewQuery(_c0$9, 7);
|
|
@@ -1847,17 +1845,17 @@ NumberComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: NumberCompo
|
|
|
1847
1845
|
provideAs(NumberComponent, NG_VALUE_ACCESSOR, true),
|
|
1848
1846
|
provideAs(NumberComponent, NG_VALIDATORS, true),
|
|
1849
1847
|
provideAsWidgetRef(NumberComponent)
|
|
1850
|
-
]), i0.ɵɵInheritDefinitionFeature], attrs: _c1$8, decls: 2, vars:
|
|
1848
|
+
]), i0.ɵɵ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) {
|
|
1851
1849
|
if (rf & 1) {
|
|
1852
1850
|
i0.ɵɵelementStart(0, "input", 0, 1);
|
|
1853
1851
|
i0.ɵɵ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"); });
|
|
1854
1852
|
i0.ɵɵelementEnd();
|
|
1855
1853
|
}
|
|
1856
1854
|
if (rf & 2) {
|
|
1857
|
-
i0.ɵɵproperty("ngModel", ctx.displayValue)("readonly", ctx.readonly)("disabled", ctx.disabled)("pattern", ctx.regexp)("autofocus", ctx.autofocus)("
|
|
1855
|
+
i0.ɵɵproperty("ngModel", ctx.displayValue)("readonly", ctx.readonly)("disabled", ctx.disabled)("pattern", ctx.regexp)("autofocus", ctx.autofocus)("ngModelOptions", ctx.ngModelOptions)("required", ctx.required);
|
|
1858
1856
|
i0.ɵɵattribute("name", ctx.name)("tabindex", ctx.tabindex)("placeholder", ctx.placeholder)("accesskey", ctx.shortcutkey)("aria-label", ctx.hint);
|
|
1859
1857
|
}
|
|
1860
|
-
}, dependencies: [i1
|
|
1858
|
+
}, dependencies: [i1$1.DefaultValueAccessor, i1$1.NgControlStatus, i1$1.RequiredValidator, i1$1.PatternValidator, i1$1.NgModel], encapsulation: 2 });
|
|
1861
1859
|
(function () {
|
|
1862
1860
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(NumberComponent, [{
|
|
1863
1861
|
type: Component,
|
|
@@ -1865,8 +1863,8 @@ NumberComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: NumberCompo
|
|
|
1865
1863
|
provideAs(NumberComponent, NG_VALUE_ACCESSOR, true),
|
|
1866
1864
|
provideAs(NumberComponent, NG_VALIDATORS, true),
|
|
1867
1865
|
provideAsWidgetRef(NumberComponent)
|
|
1868
|
-
], 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
|
|
1869
|
-
}], function () { return [{ type: i0.Injector }, { type: i1$
|
|
1866
|
+
], 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" }]
|
|
1867
|
+
}], function () { return [{ type: i0.Injector }, { type: i1$2.AbstractI18nService }, { type: i2.TrailingZeroDecimalPipe }]; }, { inputEl: [{
|
|
1870
1868
|
type: ViewChild,
|
|
1871
1869
|
args: ['input', { static: true }]
|
|
1872
1870
|
}], ngModel: [{
|
|
@@ -2378,7 +2376,7 @@ SelectComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SelectCompo
|
|
|
2378
2376
|
i0.ɵɵadvance(1);
|
|
2379
2377
|
i0.ɵɵproperty("ngIf", !ctx.groupby);
|
|
2380
2378
|
}
|
|
2381
|
-
}, dependencies: [i1.NgClass, i1.NgForOf, i1.NgIf,
|
|
2379
|
+
}, dependencies: [i1.NgClass, i1.NgForOf, i1.NgIf, i1$1.NgSelectOption, i1$1.ɵNgSelectMultipleOption, i1$1.SelectMultipleControlValueAccessor, i1$1.NgControlStatus, i1$1.RequiredValidator, i1$1.NgModel, i2.TextContentDirective], encapsulation: 2 });
|
|
2382
2380
|
(function () {
|
|
2383
2381
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SelectComponent, [{
|
|
2384
2382
|
type: Component,
|
|
@@ -2625,9 +2623,7 @@ const inputCalendarTypeProps = new Map([
|
|
|
2625
2623
|
['step', PROP_NUMBER],
|
|
2626
2624
|
['tabindex', Object.assign({ value: 0 }, PROP_NUMBER)],
|
|
2627
2625
|
['type', PROP_STRING],
|
|
2628
|
-
['updateon', PROP_STRING]
|
|
2629
|
-
['conditionalclass', PROP_ANY],
|
|
2630
|
-
['conditionalstyle', PROP_ANY]
|
|
2626
|
+
['updateon', PROP_STRING]
|
|
2631
2627
|
]);
|
|
2632
2628
|
const registerProps$5 = () => {
|
|
2633
2629
|
register('wm-input-calendar', inputCalendarTypeProps);
|
|
@@ -2660,17 +2656,17 @@ InputCalendarComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: Inpu
|
|
|
2660
2656
|
provideAs(InputCalendarComponent, NG_VALUE_ACCESSOR, true),
|
|
2661
2657
|
provideAs(InputCalendarComponent, NG_VALIDATORS, true),
|
|
2662
2658
|
provideAsWidgetRef(InputCalendarComponent)
|
|
2663
|
-
]), i0.ɵɵInheritDefinitionFeature], attrs: _c1$4, decls: 2, vars:
|
|
2659
|
+
]), i0.ɵɵ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) {
|
|
2664
2660
|
if (rf & 1) {
|
|
2665
2661
|
i0.ɵɵelementStart(0, "input", 0, 1);
|
|
2666
2662
|
i0.ɵɵ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); });
|
|
2667
2663
|
i0.ɵɵelementEnd();
|
|
2668
2664
|
}
|
|
2669
2665
|
if (rf & 2) {
|
|
2670
|
-
i0.ɵɵ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")
|
|
2666
|
+
i0.ɵɵ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");
|
|
2671
2667
|
i0.ɵɵattribute("name", ctx.name)("tabindex", ctx.tabindex)("placeholder", ctx.placeholder)("accesskey", ctx.shortcutkey)("aria-label", ctx.hint || ctx.type + " field");
|
|
2672
2668
|
}
|
|
2673
|
-
}, dependencies: [i1
|
|
2669
|
+
}, dependencies: [i1$1.DefaultValueAccessor, i1$1.NgControlStatus, i1$1.RequiredValidator, i1$1.NgModel], encapsulation: 2 });
|
|
2674
2670
|
(function () {
|
|
2675
2671
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(InputCalendarComponent, [{
|
|
2676
2672
|
type: Component,
|
|
@@ -2678,7 +2674,7 @@ InputCalendarComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: Inpu
|
|
|
2678
2674
|
provideAs(InputCalendarComponent, NG_VALUE_ACCESSOR, true),
|
|
2679
2675
|
provideAs(InputCalendarComponent, NG_VALIDATORS, true),
|
|
2680
2676
|
provideAsWidgetRef(InputCalendarComponent)
|
|
2681
|
-
], 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
|
|
2677
|
+
], 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" }]
|
|
2682
2678
|
}], function () { return [{ type: i0.Injector }]; }, { inputEl: [{
|
|
2683
2679
|
type: ViewChild,
|
|
2684
2680
|
args: ['input', { static: true }]
|
|
@@ -2705,9 +2701,7 @@ const inputColorTypeProps = new Map([
|
|
|
2705
2701
|
['show', Object.assign({ value: true }, PROP_BOOLEAN)],
|
|
2706
2702
|
['tabindex', Object.assign({ value: 0 }, PROP_NUMBER)],
|
|
2707
2703
|
['type', Object.assign({ value: 'color' }, PROP_STRING)],
|
|
2708
|
-
['updateon', PROP_STRING]
|
|
2709
|
-
['conditionalclass', PROP_ANY],
|
|
2710
|
-
['conditionalstyle', PROP_ANY]
|
|
2704
|
+
['updateon', PROP_STRING]
|
|
2711
2705
|
]);
|
|
2712
2706
|
const registerProps$4 = () => {
|
|
2713
2707
|
register('wm-input-color', inputColorTypeProps);
|
|
@@ -2740,17 +2734,17 @@ InputColorComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: InputCo
|
|
|
2740
2734
|
provideAs(InputColorComponent, NG_VALUE_ACCESSOR, true),
|
|
2741
2735
|
provideAs(InputColorComponent, NG_VALIDATORS, true),
|
|
2742
2736
|
provideAsWidgetRef(InputColorComponent)
|
|
2743
|
-
]), i0.ɵɵInheritDefinitionFeature], attrs: _c1$3, decls: 2, vars:
|
|
2737
|
+
]), i0.ɵɵ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) {
|
|
2744
2738
|
if (rf & 1) {
|
|
2745
2739
|
i0.ɵɵelementStart(0, "input", 0, 1);
|
|
2746
2740
|
i0.ɵɵ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); });
|
|
2747
2741
|
i0.ɵɵelementEnd();
|
|
2748
2742
|
}
|
|
2749
2743
|
if (rf & 2) {
|
|
2750
|
-
i0.ɵɵproperty("type", ctx.type)("ngModel", ctx.datavalue)("readonly", ctx.readonly)("required", ctx.required)("disabled", ctx.disabled)("maxlength", ctx.maxchars)("autofocus", ctx.autofocus)
|
|
2744
|
+
i0.ɵɵproperty("type", ctx.type)("ngModel", ctx.datavalue)("readonly", ctx.readonly)("required", ctx.required)("disabled", ctx.disabled)("maxlength", ctx.maxchars)("autofocus", ctx.autofocus);
|
|
2751
2745
|
i0.ɵɵattribute("name", ctx.name)("tabindex", ctx.tabindex)("placeholder", ctx.placeholder)("accesskey", ctx.shortcutkey)("aria-label", ctx.hint);
|
|
2752
2746
|
}
|
|
2753
|
-
}, dependencies: [i1
|
|
2747
|
+
}, dependencies: [i1$1.DefaultValueAccessor, i1$1.NgControlStatus, i1$1.RequiredValidator, i1$1.MaxLengthValidator, i1$1.NgModel], encapsulation: 2 });
|
|
2754
2748
|
(function () {
|
|
2755
2749
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(InputColorComponent, [{
|
|
2756
2750
|
type: Component,
|
|
@@ -2758,7 +2752,7 @@ InputColorComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: InputCo
|
|
|
2758
2752
|
provideAs(InputColorComponent, NG_VALUE_ACCESSOR, true),
|
|
2759
2753
|
provideAs(InputColorComponent, NG_VALIDATORS, true),
|
|
2760
2754
|
provideAsWidgetRef(InputColorComponent)
|
|
2761
|
-
], 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
|
|
2755
|
+
], 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" }]
|
|
2762
2756
|
}], function () { return [{ type: i0.Injector }]; }, { inputEl: [{
|
|
2763
2757
|
type: ViewChild,
|
|
2764
2758
|
args: ['input', { static: true }]
|
|
@@ -2787,9 +2781,7 @@ const inputEmailTypeProps = new Map([
|
|
|
2787
2781
|
['show', Object.assign({ value: true }, PROP_BOOLEAN)],
|
|
2788
2782
|
['tabindex', Object.assign({ value: 0 }, PROP_NUMBER)],
|
|
2789
2783
|
['type', Object.assign({ value: 'email' }, PROP_STRING)],
|
|
2790
|
-
['updateon', PROP_STRING]
|
|
2791
|
-
['conditionalclass', PROP_ANY],
|
|
2792
|
-
['conditionalstyle', PROP_ANY]
|
|
2784
|
+
['updateon', PROP_STRING]
|
|
2793
2785
|
]);
|
|
2794
2786
|
const registerProps$3 = () => {
|
|
2795
2787
|
register('wm-input-email', inputEmailTypeProps);
|
|
@@ -2822,7 +2814,7 @@ InputEmailComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: InputEm
|
|
|
2822
2814
|
provideAs(InputEmailComponent, NG_VALUE_ACCESSOR, true),
|
|
2823
2815
|
provideAs(InputEmailComponent, NG_VALIDATORS, true),
|
|
2824
2816
|
provideAsWidgetRef(InputEmailComponent)
|
|
2825
|
-
]), i0.ɵɵInheritDefinitionFeature], attrs: _c1$2, decls: 2, vars:
|
|
2817
|
+
]), i0.ɵɵ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) {
|
|
2826
2818
|
if (rf & 1) {
|
|
2827
2819
|
const _r1 = i0.ɵɵgetCurrentView();
|
|
2828
2820
|
i0.ɵɵelementStart(0, "input", 0, 1);
|
|
@@ -2830,10 +2822,10 @@ InputEmailComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: InputEm
|
|
|
2830
2822
|
i0.ɵɵelementEnd();
|
|
2831
2823
|
}
|
|
2832
2824
|
if (rf & 2) {
|
|
2833
|
-
i0.ɵɵ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)("
|
|
2825
|
+
i0.ɵɵ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");
|
|
2834
2826
|
i0.ɵɵattribute("name", ctx.name)("tabindex", ctx.tabindex)("placeholder", ctx.placeholder)("accesskey", ctx.shortcutkey)("aria-label", ctx.hint);
|
|
2835
2827
|
}
|
|
2836
|
-
}, dependencies: [i1
|
|
2828
|
+
}, dependencies: [i1$1.DefaultValueAccessor, i1$1.NgControlStatus, i1$1.RequiredValidator, i1$1.MaxLengthValidator, i1$1.PatternValidator, i1$1.EmailValidator, i1$1.NgModel], encapsulation: 2 });
|
|
2837
2829
|
(function () {
|
|
2838
2830
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(InputEmailComponent, [{
|
|
2839
2831
|
type: Component,
|
|
@@ -2841,7 +2833,7 @@ InputEmailComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: InputEm
|
|
|
2841
2833
|
provideAs(InputEmailComponent, NG_VALUE_ACCESSOR, true),
|
|
2842
2834
|
provideAs(InputEmailComponent, NG_VALIDATORS, true),
|
|
2843
2835
|
provideAsWidgetRef(InputEmailComponent)
|
|
2844
|
-
], 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
|
|
2836
|
+
], 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" }]
|
|
2845
2837
|
}], function () { return [{ type: i0.Injector }]; }, { inputEl: [{
|
|
2846
2838
|
type: ViewChild,
|
|
2847
2839
|
args: ['input', { static: true }]
|
|
@@ -2873,9 +2865,7 @@ const inputNumberTypeProps = new Map([
|
|
|
2873
2865
|
['step', PROP_NUMBER],
|
|
2874
2866
|
['tabindex', Object.assign({ value: 0 }, PROP_NUMBER)],
|
|
2875
2867
|
['type', Object.assign({ value: 'number' }, PROP_STRING)],
|
|
2876
|
-
['updateon', PROP_STRING]
|
|
2877
|
-
['conditionalclass', PROP_ANY],
|
|
2878
|
-
['conditionalstyle', PROP_ANY]
|
|
2868
|
+
['updateon', PROP_STRING]
|
|
2879
2869
|
]);
|
|
2880
2870
|
const registerProps$2 = () => {
|
|
2881
2871
|
register('wm-input-number', inputNumberTypeProps);
|
|
@@ -2919,7 +2909,7 @@ InputNumberComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: InputN
|
|
|
2919
2909
|
provideAs(InputNumberComponent, NG_VALUE_ACCESSOR, true),
|
|
2920
2910
|
provideAs(InputNumberComponent, NG_VALIDATORS, true),
|
|
2921
2911
|
provideAsWidgetRef(InputNumberComponent)
|
|
2922
|
-
]), i0.ɵɵInheritDefinitionFeature], attrs: _c1$1, decls: 2, vars:
|
|
2912
|
+
]), i0.ɵɵ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) {
|
|
2923
2913
|
if (rf & 1) {
|
|
2924
2914
|
const _r1 = i0.ɵɵgetCurrentView();
|
|
2925
2915
|
i0.ɵɵelementStart(0, "input", 0, 1);
|
|
@@ -2927,10 +2917,10 @@ InputNumberComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: InputN
|
|
|
2927
2917
|
i0.ɵɵelementEnd();
|
|
2928
2918
|
}
|
|
2929
2919
|
if (rf & 2) {
|
|
2930
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(
|
|
2920
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵ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");
|
|
2931
2921
|
i0.ɵɵattribute("name", ctx.name)("tabindex", ctx.tabindex)("placeholder", ctx.placeholder)("accesskey", ctx.shortcutkey)("aria-label", ctx.hint);
|
|
2932
2922
|
}
|
|
2933
|
-
}, dependencies: [i1.NgClass, i1
|
|
2923
|
+
}, dependencies: [i1.NgClass, i1$1.DefaultValueAccessor, i1$1.NgControlStatus, i1$1.RequiredValidator, i1$1.MaxLengthValidator, i1$1.NgModel], encapsulation: 2 });
|
|
2934
2924
|
(function () {
|
|
2935
2925
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(InputNumberComponent, [{
|
|
2936
2926
|
type: Component,
|
|
@@ -2938,7 +2928,7 @@ InputNumberComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: InputN
|
|
|
2938
2928
|
provideAs(InputNumberComponent, NG_VALUE_ACCESSOR, true),
|
|
2939
2929
|
provideAs(InputNumberComponent, NG_VALIDATORS, true),
|
|
2940
2930
|
provideAsWidgetRef(InputNumberComponent)
|
|
2941
|
-
], 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
|
|
2931
|
+
], 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" }]
|
|
2942
2932
|
}], function () { return [{ type: i0.Injector }]; }, { inputEl: [{
|
|
2943
2933
|
type: ViewChild,
|
|
2944
2934
|
args: ['input', { static: true }]
|
|
@@ -2969,9 +2959,7 @@ const inputTextTypeProps = new Map([
|
|
|
2969
2959
|
['showdisplayformaton', Object.assign({ value: 'always' }, PROP_ANY)],
|
|
2970
2960
|
['tabindex', Object.assign({ value: 0 }, PROP_NUMBER)],
|
|
2971
2961
|
['type', Object.assign({ value: 'text' }, PROP_STRING)],
|
|
2972
|
-
['updateon', PROP_STRING]
|
|
2973
|
-
['conditionalclass', PROP_ANY],
|
|
2974
|
-
['conditionalstyle', PROP_ANY]
|
|
2962
|
+
['updateon', PROP_STRING]
|
|
2975
2963
|
]);
|
|
2976
2964
|
const registerProps$1 = () => {
|
|
2977
2965
|
register('wm-input-text', inputTextTypeProps);
|
|
@@ -3085,7 +3073,7 @@ InputTextComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: InputTex
|
|
|
3085
3073
|
provideAs(InputTextComponent, NG_VALUE_ACCESSOR, true),
|
|
3086
3074
|
provideAs(InputTextComponent, NG_VALIDATORS, true),
|
|
3087
3075
|
provideAsWidgetRef(InputTextComponent)
|
|
3088
|
-
]), i0.ɵɵInheritDefinitionFeature], attrs: _c1, decls: 2, vars:
|
|
3076
|
+
]), i0.ɵɵ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) {
|
|
3089
3077
|
if (rf & 1) {
|
|
3090
3078
|
const _r1 = i0.ɵɵgetCurrentView();
|
|
3091
3079
|
i0.ɵɵelementStart(0, "input", 0, 1);
|
|
@@ -3093,10 +3081,10 @@ InputTextComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: InputTex
|
|
|
3093
3081
|
i0.ɵɵelementEnd();
|
|
3094
3082
|
}
|
|
3095
3083
|
if (rf & 2) {
|
|
3096
|
-
i0.ɵɵ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)("
|
|
3084
|
+
i0.ɵɵ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");
|
|
3097
3085
|
i0.ɵɵattribute("name", ctx.name)("aria-label", ctx.hint)("tabindex", ctx.tabindex)("placeholder", ctx.placeholder)("accesskey", ctx.shortcutkey);
|
|
3098
3086
|
}
|
|
3099
|
-
}, dependencies: [i1
|
|
3087
|
+
}, dependencies: [i1$1.DefaultValueAccessor, i1$1.NgControlStatus, i1$1.RequiredValidator, i1$1.MaxLengthValidator, i1$1.PatternValidator, i1$1.NgModel, i2$1.IMaskDirective], encapsulation: 2 });
|
|
3100
3088
|
(function () {
|
|
3101
3089
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(InputTextComponent, [{
|
|
3102
3090
|
type: Component,
|
|
@@ -3104,7 +3092,7 @@ InputTextComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: InputTex
|
|
|
3104
3092
|
provideAs(InputTextComponent, NG_VALUE_ACCESSOR, true),
|
|
3105
3093
|
provideAs(InputTextComponent, NG_VALIDATORS, true),
|
|
3106
3094
|
provideAsWidgetRef(InputTextComponent)
|
|
3107
|
-
], 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
|
|
3095
|
+
], 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" }]
|
|
3108
3096
|
}], function () { return [{ type: i0.Injector }]; }, { inputEl: [{
|
|
3109
3097
|
type: ViewChild,
|
|
3110
3098
|
args: ['input', { static: true }]
|
|
@@ -3136,8 +3124,6 @@ const textareaProps = new Map([
|
|
|
3136
3124
|
['updateon', PROP_STRING],
|
|
3137
3125
|
['limitdisplaytext', PROP_STRING],
|
|
3138
3126
|
['charlength', PROP_NUMBER],
|
|
3139
|
-
['conditionalclass', PROP_ANY],
|
|
3140
|
-
['conditionalstyle', PROP_ANY]
|
|
3141
3127
|
]);
|
|
3142
3128
|
const registerProps = () => {
|
|
3143
3129
|
register('wm-textarea', textareaProps);
|
|
@@ -3186,7 +3172,7 @@ TextareaComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: TextareaC
|
|
|
3186
3172
|
provideAs(TextareaComponent, NG_VALUE_ACCESSOR, true),
|
|
3187
3173
|
provideAs(TextareaComponent, NG_VALIDATORS, true),
|
|
3188
3174
|
provideAsWidgetRef(TextareaComponent)
|
|
3189
|
-
]), i0.ɵɵInheritDefinitionFeature], decls: 3, vars:
|
|
3175
|
+
]), i0.ɵɵ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) {
|
|
3190
3176
|
if (rf & 1) {
|
|
3191
3177
|
i0.ɵɵelementStart(0, "textarea", 0, 1);
|
|
3192
3178
|
i0.ɵɵ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(); });
|
|
@@ -3194,12 +3180,12 @@ TextareaComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: TextareaC
|
|
|
3194
3180
|
i0.ɵɵtemplate(2, TextareaComponent_div_2_Template, 2, 1, "div", 2);
|
|
3195
3181
|
}
|
|
3196
3182
|
if (rf & 2) {
|
|
3197
|
-
i0.ɵɵproperty("ngModel", ctx.datavalue)("ngModelOptions", ctx.ngModelOptions)("readonly", ctx.readonly)("required", ctx.required)("disabled", ctx.disabled)("maxlength", ctx.maxchars)("autofocus", ctx.autofocus)
|
|
3183
|
+
i0.ɵɵproperty("ngModel", ctx.datavalue)("ngModelOptions", ctx.ngModelOptions)("readonly", ctx.readonly)("required", ctx.required)("disabled", ctx.disabled)("maxlength", ctx.maxchars)("autofocus", ctx.autofocus);
|
|
3198
3184
|
i0.ɵɵattribute("name", ctx.name)("tabindex", ctx.tabindex)("placeholder", ctx.placeholder)("accesskey", ctx.shortcutkey)("aria-label", ctx.hint);
|
|
3199
3185
|
i0.ɵɵadvance(2);
|
|
3200
3186
|
i0.ɵɵproperty("ngIf", ctx.maxchars);
|
|
3201
3187
|
}
|
|
3202
|
-
}, dependencies: [i1.
|
|
3188
|
+
}, dependencies: [i1.NgIf, i1$1.DefaultValueAccessor, i1$1.NgControlStatus, i1$1.RequiredValidator, i1$1.MaxLengthValidator, i1$1.NgModel], encapsulation: 2 });
|
|
3203
3189
|
(function () {
|
|
3204
3190
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TextareaComponent, [{
|
|
3205
3191
|
type: Component,
|
|
@@ -3207,7 +3193,7 @@ TextareaComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: TextareaC
|
|
|
3207
3193
|
provideAs(TextareaComponent, NG_VALUE_ACCESSOR, true),
|
|
3208
3194
|
provideAs(TextareaComponent, NG_VALIDATORS, true),
|
|
3209
3195
|
provideAsWidgetRef(TextareaComponent)
|
|
3210
|
-
], 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
|
|
3196
|
+
], 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" }]
|
|
3211
3197
|
}], function () { return [{ type: i0.Injector }]; }, { inputEl: [{
|
|
3212
3198
|
type: ViewChild,
|
|
3213
3199
|
args: ['textarea', { static: true }]
|
|
@@ -3373,7 +3359,7 @@ class CaptionPositionDirective {
|
|
|
3373
3359
|
}
|
|
3374
3360
|
}
|
|
3375
3361
|
}
|
|
3376
|
-
CaptionPositionDirective.ɵfac = function CaptionPositionDirective_Factory(t) { return new (t || CaptionPositionDirective)(i0.ɵɵdirectiveInject(i0.Injector), i0.ɵɵdirectiveInject(i1$
|
|
3362
|
+
CaptionPositionDirective.ɵfac = function CaptionPositionDirective_Factory(t) { return new (t || CaptionPositionDirective)(i0.ɵɵdirectiveInject(i0.Injector), i0.ɵɵdirectiveInject(i1$2.App)); };
|
|
3377
3363
|
CaptionPositionDirective.ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: CaptionPositionDirective, selectors: [["", "wmCaptionPosition", ""]] });
|
|
3378
3364
|
(function () {
|
|
3379
3365
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CaptionPositionDirective, [{
|
|
@@ -3381,7 +3367,7 @@ CaptionPositionDirective.ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: Ca
|
|
|
3381
3367
|
args: [{
|
|
3382
3368
|
selector: '[wmCaptionPosition]'
|
|
3383
3369
|
}]
|
|
3384
|
-
}], function () { return [{ type: i0.Injector }, { type: i1$
|
|
3370
|
+
}], function () { return [{ type: i0.Injector }, { type: i1$2.App }]; }, null);
|
|
3385
3371
|
})();
|
|
3386
3372
|
|
|
3387
3373
|
const components = [
|