@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
|
|
|
@@ -496,7 +496,7 @@ CheckboxComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CheckboxC
|
|
|
496
496
|
i0.ɵɵproperty("innerHtml", ctx._caption, i0.ɵɵsanitizeHtml);
|
|
497
497
|
i0.ɵɵadvance(2);
|
|
498
498
|
i0.ɵɵproperty("disabled", ctx.disabled)("value", ctx.proxyModel);
|
|
499
|
-
} }, dependencies: [i1.NgClass,
|
|
499
|
+
} }, dependencies: [i1.NgClass, i1$1.CheckboxControlValueAccessor, i1$1.NgControlStatus, i1$1.CheckboxRequiredValidator, i1$1.NgModel], encapsulation: 2 });
|
|
500
500
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CheckboxComponent, [{
|
|
501
501
|
type: Component,
|
|
502
502
|
args: [{ selector: '[wmCheckbox]', providers: [
|
|
@@ -1198,9 +1198,7 @@ const numberProps = new Map([
|
|
|
1198
1198
|
['tabindex', { value: 0, ...PROP_NUMBER }],
|
|
1199
1199
|
['trailingzero', { value: false, ...PROP_BOOLEAN }],
|
|
1200
1200
|
['updateon', PROP_STRING],
|
|
1201
|
-
['inputmode', { value: 'natural', ...PROP_STRING }]
|
|
1202
|
-
['conditionalclass', PROP_ANY],
|
|
1203
|
-
['conditionalstyle', PROP_ANY]
|
|
1201
|
+
['inputmode', { value: 'natural', ...PROP_STRING }]
|
|
1204
1202
|
]);
|
|
1205
1203
|
const registerProps$9 = () => {
|
|
1206
1204
|
register('wm-number', numberProps);
|
|
@@ -1734,7 +1732,7 @@ class NumberComponent extends NumberLocale {
|
|
|
1734
1732
|
}
|
|
1735
1733
|
}
|
|
1736
1734
|
NumberComponent.initializeProps = registerProps$9();
|
|
1737
|
-
NumberComponent.ɵfac = function NumberComponent_Factory(t) { return new (t || NumberComponent)(i0.ɵɵdirectiveInject(i0.Injector), i0.ɵɵdirectiveInject(i1$
|
|
1735
|
+
NumberComponent.ɵfac = function NumberComponent_Factory(t) { return new (t || NumberComponent)(i0.ɵɵdirectiveInject(i0.Injector), i0.ɵɵdirectiveInject(i1$2.AbstractI18nService), i0.ɵɵdirectiveInject(i2.TrailingZeroDecimalPipe)); };
|
|
1738
1736
|
NumberComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: NumberComponent, selectors: [["", "wmNumber", ""]], viewQuery: function NumberComponent_Query(rf, ctx) { if (rf & 1) {
|
|
1739
1737
|
i0.ɵɵviewQuery(_c0$9, 7);
|
|
1740
1738
|
i0.ɵɵviewQuery(NgModel, 7);
|
|
@@ -1746,22 +1744,22 @@ NumberComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: NumberCompo
|
|
|
1746
1744
|
provideAs(NumberComponent, NG_VALUE_ACCESSOR, true),
|
|
1747
1745
|
provideAs(NumberComponent, NG_VALIDATORS, true),
|
|
1748
1746
|
provideAsWidgetRef(NumberComponent)
|
|
1749
|
-
]), i0.ɵɵInheritDefinitionFeature], attrs: _c1$8, decls: 2, vars:
|
|
1747
|
+
]), 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) { if (rf & 1) {
|
|
1750
1748
|
i0.ɵɵelementStart(0, "input", 0, 1);
|
|
1751
1749
|
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"); });
|
|
1752
1750
|
i0.ɵɵelementEnd();
|
|
1753
1751
|
} if (rf & 2) {
|
|
1754
|
-
i0.ɵɵproperty("ngModel", ctx.displayValue)("readonly", ctx.readonly)("disabled", ctx.disabled)("pattern", ctx.regexp)("autofocus", ctx.autofocus)("
|
|
1752
|
+
i0.ɵɵproperty("ngModel", ctx.displayValue)("readonly", ctx.readonly)("disabled", ctx.disabled)("pattern", ctx.regexp)("autofocus", ctx.autofocus)("ngModelOptions", ctx.ngModelOptions)("required", ctx.required);
|
|
1755
1753
|
i0.ɵɵattribute("name", ctx.name)("tabindex", ctx.tabindex)("placeholder", ctx.placeholder)("accesskey", ctx.shortcutkey)("aria-label", ctx.hint);
|
|
1756
|
-
} }, dependencies: [i1
|
|
1754
|
+
} }, dependencies: [i1$1.DefaultValueAccessor, i1$1.NgControlStatus, i1$1.RequiredValidator, i1$1.PatternValidator, i1$1.NgModel], encapsulation: 2 });
|
|
1757
1755
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(NumberComponent, [{
|
|
1758
1756
|
type: Component,
|
|
1759
1757
|
args: [{ selector: '[wmNumber]', providers: [
|
|
1760
1758
|
provideAs(NumberComponent, NG_VALUE_ACCESSOR, true),
|
|
1761
1759
|
provideAs(NumberComponent, NG_VALIDATORS, true),
|
|
1762
1760
|
provideAsWidgetRef(NumberComponent)
|
|
1763
|
-
], 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
|
|
1764
|
-
}], function () { return [{ type: i0.Injector }, { type: i1$
|
|
1761
|
+
], 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" }]
|
|
1762
|
+
}], function () { return [{ type: i0.Injector }, { type: i1$2.AbstractI18nService }, { type: i2.TrailingZeroDecimalPipe }]; }, { inputEl: [{
|
|
1765
1763
|
type: ViewChild,
|
|
1766
1764
|
args: ['input', { static: true }]
|
|
1767
1765
|
}], ngModel: [{
|
|
@@ -2211,7 +2209,7 @@ SelectComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SelectCompo
|
|
|
2211
2209
|
i0.ɵɵproperty("ngIf", ctx.groupby);
|
|
2212
2210
|
i0.ɵɵadvance(1);
|
|
2213
2211
|
i0.ɵɵproperty("ngIf", !ctx.groupby);
|
|
2214
|
-
} }, dependencies: [i1.NgClass, i1.NgForOf, i1.NgIf,
|
|
2212
|
+
} }, 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 });
|
|
2215
2213
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SelectComponent, [{
|
|
2216
2214
|
type: Component,
|
|
2217
2215
|
args: [{ selector: 'wm-select', providers: [
|
|
@@ -2442,9 +2440,7 @@ const inputCalendarTypeProps = new Map([
|
|
|
2442
2440
|
['step', PROP_NUMBER],
|
|
2443
2441
|
['tabindex', { value: 0, ...PROP_NUMBER }],
|
|
2444
2442
|
['type', PROP_STRING],
|
|
2445
|
-
['updateon', PROP_STRING]
|
|
2446
|
-
['conditionalclass', PROP_ANY],
|
|
2447
|
-
['conditionalstyle', PROP_ANY]
|
|
2443
|
+
['updateon', PROP_STRING]
|
|
2448
2444
|
]);
|
|
2449
2445
|
const registerProps$5 = () => {
|
|
2450
2446
|
register('wm-input-calendar', inputCalendarTypeProps);
|
|
@@ -2474,21 +2470,21 @@ InputCalendarComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: Inpu
|
|
|
2474
2470
|
provideAs(InputCalendarComponent, NG_VALUE_ACCESSOR, true),
|
|
2475
2471
|
provideAs(InputCalendarComponent, NG_VALIDATORS, true),
|
|
2476
2472
|
provideAsWidgetRef(InputCalendarComponent)
|
|
2477
|
-
]), i0.ɵɵInheritDefinitionFeature], attrs: _c1$4, decls: 2, vars:
|
|
2473
|
+
]), 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) { if (rf & 1) {
|
|
2478
2474
|
i0.ɵɵelementStart(0, "input", 0, 1);
|
|
2479
2475
|
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); });
|
|
2480
2476
|
i0.ɵɵelementEnd();
|
|
2481
2477
|
} if (rf & 2) {
|
|
2482
|
-
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")
|
|
2478
|
+
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");
|
|
2483
2479
|
i0.ɵɵattribute("name", ctx.name)("tabindex", ctx.tabindex)("placeholder", ctx.placeholder)("accesskey", ctx.shortcutkey)("aria-label", ctx.hint || ctx.type + " field");
|
|
2484
|
-
} }, dependencies: [i1
|
|
2480
|
+
} }, dependencies: [i1$1.DefaultValueAccessor, i1$1.NgControlStatus, i1$1.RequiredValidator, i1$1.NgModel], encapsulation: 2 });
|
|
2485
2481
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(InputCalendarComponent, [{
|
|
2486
2482
|
type: Component,
|
|
2487
2483
|
args: [{ selector: 'wm-input[type="date"], wm-input[type="datetime-local"], wm-input[type="month"], wm-input[type="time"], wm-input[type="week"]', providers: [
|
|
2488
2484
|
provideAs(InputCalendarComponent, NG_VALUE_ACCESSOR, true),
|
|
2489
2485
|
provideAs(InputCalendarComponent, NG_VALIDATORS, true),
|
|
2490
2486
|
provideAsWidgetRef(InputCalendarComponent)
|
|
2491
|
-
], 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
|
|
2487
|
+
], 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" }]
|
|
2492
2488
|
}], function () { return [{ type: i0.Injector }]; }, { inputEl: [{
|
|
2493
2489
|
type: ViewChild,
|
|
2494
2490
|
args: ['input', { static: true }]
|
|
@@ -2514,9 +2510,7 @@ const inputColorTypeProps = new Map([
|
|
|
2514
2510
|
['show', { value: true, ...PROP_BOOLEAN }],
|
|
2515
2511
|
['tabindex', { value: 0, ...PROP_NUMBER }],
|
|
2516
2512
|
['type', { value: 'color', ...PROP_STRING }],
|
|
2517
|
-
['updateon', PROP_STRING]
|
|
2518
|
-
['conditionalclass', PROP_ANY],
|
|
2519
|
-
['conditionalstyle', PROP_ANY]
|
|
2513
|
+
['updateon', PROP_STRING]
|
|
2520
2514
|
]);
|
|
2521
2515
|
const registerProps$4 = () => {
|
|
2522
2516
|
register('wm-input-color', inputColorTypeProps);
|
|
@@ -2546,21 +2540,21 @@ InputColorComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: InputCo
|
|
|
2546
2540
|
provideAs(InputColorComponent, NG_VALUE_ACCESSOR, true),
|
|
2547
2541
|
provideAs(InputColorComponent, NG_VALIDATORS, true),
|
|
2548
2542
|
provideAsWidgetRef(InputColorComponent)
|
|
2549
|
-
]), i0.ɵɵInheritDefinitionFeature], attrs: _c1$3, decls: 2, vars:
|
|
2543
|
+
]), 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) { if (rf & 1) {
|
|
2550
2544
|
i0.ɵɵelementStart(0, "input", 0, 1);
|
|
2551
2545
|
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); });
|
|
2552
2546
|
i0.ɵɵelementEnd();
|
|
2553
2547
|
} if (rf & 2) {
|
|
2554
|
-
i0.ɵɵproperty("type", ctx.type)("ngModel", ctx.datavalue)("readonly", ctx.readonly)("required", ctx.required)("disabled", ctx.disabled)("maxlength", ctx.maxchars)("autofocus", ctx.autofocus)
|
|
2548
|
+
i0.ɵɵproperty("type", ctx.type)("ngModel", ctx.datavalue)("readonly", ctx.readonly)("required", ctx.required)("disabled", ctx.disabled)("maxlength", ctx.maxchars)("autofocus", ctx.autofocus);
|
|
2555
2549
|
i0.ɵɵattribute("name", ctx.name)("tabindex", ctx.tabindex)("placeholder", ctx.placeholder)("accesskey", ctx.shortcutkey)("aria-label", ctx.hint);
|
|
2556
|
-
} }, dependencies: [i1
|
|
2550
|
+
} }, dependencies: [i1$1.DefaultValueAccessor, i1$1.NgControlStatus, i1$1.RequiredValidator, i1$1.MaxLengthValidator, i1$1.NgModel], encapsulation: 2 });
|
|
2557
2551
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(InputColorComponent, [{
|
|
2558
2552
|
type: Component,
|
|
2559
2553
|
args: [{ selector: 'wm-input[type="color"]', providers: [
|
|
2560
2554
|
provideAs(InputColorComponent, NG_VALUE_ACCESSOR, true),
|
|
2561
2555
|
provideAs(InputColorComponent, NG_VALIDATORS, true),
|
|
2562
2556
|
provideAsWidgetRef(InputColorComponent)
|
|
2563
|
-
], 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
|
|
2557
|
+
], 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" }]
|
|
2564
2558
|
}], function () { return [{ type: i0.Injector }]; }, { inputEl: [{
|
|
2565
2559
|
type: ViewChild,
|
|
2566
2560
|
args: ['input', { static: true }]
|
|
@@ -2588,9 +2582,7 @@ const inputEmailTypeProps = new Map([
|
|
|
2588
2582
|
['show', { value: true, ...PROP_BOOLEAN }],
|
|
2589
2583
|
['tabindex', { value: 0, ...PROP_NUMBER }],
|
|
2590
2584
|
['type', { value: 'email', ...PROP_STRING }],
|
|
2591
|
-
['updateon', PROP_STRING]
|
|
2592
|
-
['conditionalclass', PROP_ANY],
|
|
2593
|
-
['conditionalstyle', PROP_ANY]
|
|
2585
|
+
['updateon', PROP_STRING]
|
|
2594
2586
|
]);
|
|
2595
2587
|
const registerProps$3 = () => {
|
|
2596
2588
|
register('wm-input-email', inputEmailTypeProps);
|
|
@@ -2620,22 +2612,22 @@ InputEmailComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: InputEm
|
|
|
2620
2612
|
provideAs(InputEmailComponent, NG_VALUE_ACCESSOR, true),
|
|
2621
2613
|
provideAs(InputEmailComponent, NG_VALIDATORS, true),
|
|
2622
2614
|
provideAsWidgetRef(InputEmailComponent)
|
|
2623
|
-
]), i0.ɵɵInheritDefinitionFeature], attrs: _c1$2, decls: 2, vars:
|
|
2615
|
+
]), 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) { if (rf & 1) {
|
|
2624
2616
|
const _r1 = i0.ɵɵgetCurrentView();
|
|
2625
2617
|
i0.ɵɵelementStart(0, "input", 0, 1);
|
|
2626
2618
|
i0.ɵɵlistener("ngModelChange", function InputEmailComponent_Template_input_ngModelChange_0_listener($event) { return ctx.datavalue = $event; })("blur", function InputEmailComponent_Template_input_blur_0_listener($event) { return ctx.handleBlur($event); })("ngModelChange", function InputEmailComponent_Template_input_ngModelChange_0_listener($event) { return ctx.handleChange($event); })("keyup.enter", function InputEmailComponent_Template_input_keyup_enter_0_listener() { i0.ɵɵrestoreView(_r1); const _r0 = i0.ɵɵreference(1); return i0.ɵɵresetView(ctx.flushViewChanges(_r0.value)); });
|
|
2627
2619
|
i0.ɵɵelementEnd();
|
|
2628
2620
|
} if (rf & 2) {
|
|
2629
|
-
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)("
|
|
2621
|
+
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");
|
|
2630
2622
|
i0.ɵɵattribute("name", ctx.name)("tabindex", ctx.tabindex)("placeholder", ctx.placeholder)("accesskey", ctx.shortcutkey)("aria-label", ctx.hint);
|
|
2631
|
-
} }, dependencies: [i1
|
|
2623
|
+
} }, dependencies: [i1$1.DefaultValueAccessor, i1$1.NgControlStatus, i1$1.RequiredValidator, i1$1.MaxLengthValidator, i1$1.PatternValidator, i1$1.EmailValidator, i1$1.NgModel], encapsulation: 2 });
|
|
2632
2624
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(InputEmailComponent, [{
|
|
2633
2625
|
type: Component,
|
|
2634
2626
|
args: [{ selector: 'wm-input[type="email"]', providers: [
|
|
2635
2627
|
provideAs(InputEmailComponent, NG_VALUE_ACCESSOR, true),
|
|
2636
2628
|
provideAs(InputEmailComponent, NG_VALIDATORS, true),
|
|
2637
2629
|
provideAsWidgetRef(InputEmailComponent)
|
|
2638
|
-
], 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
|
|
2630
|
+
], 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" }]
|
|
2639
2631
|
}], function () { return [{ type: i0.Injector }]; }, { inputEl: [{
|
|
2640
2632
|
type: ViewChild,
|
|
2641
2633
|
args: ['input', { static: true }]
|
|
@@ -2666,9 +2658,7 @@ const inputNumberTypeProps = new Map([
|
|
|
2666
2658
|
['step', PROP_NUMBER],
|
|
2667
2659
|
['tabindex', { value: 0, ...PROP_NUMBER }],
|
|
2668
2660
|
['type', { value: 'number', ...PROP_STRING }],
|
|
2669
|
-
['updateon', PROP_STRING]
|
|
2670
|
-
['conditionalclass', PROP_ANY],
|
|
2671
|
-
['conditionalstyle', PROP_ANY]
|
|
2661
|
+
['updateon', PROP_STRING]
|
|
2672
2662
|
]);
|
|
2673
2663
|
const registerProps$2 = () => {
|
|
2674
2664
|
register('wm-input-number', inputNumberTypeProps);
|
|
@@ -2709,22 +2699,22 @@ InputNumberComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: InputN
|
|
|
2709
2699
|
provideAs(InputNumberComponent, NG_VALUE_ACCESSOR, true),
|
|
2710
2700
|
provideAs(InputNumberComponent, NG_VALIDATORS, true),
|
|
2711
2701
|
provideAsWidgetRef(InputNumberComponent)
|
|
2712
|
-
]), i0.ɵɵInheritDefinitionFeature], attrs: _c1$1, decls: 2, vars:
|
|
2702
|
+
]), 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) { if (rf & 1) {
|
|
2713
2703
|
const _r1 = i0.ɵɵgetCurrentView();
|
|
2714
2704
|
i0.ɵɵelementStart(0, "input", 0, 1);
|
|
2715
2705
|
i0.ɵɵlistener("ngModelChange", function InputNumberComponent_Template_input_ngModelChange_0_listener($event) { return ctx.datavalue = $event; })("blur", function InputNumberComponent_Template_input_blur_0_listener($event) { return ctx.handleBlur($event); })("ngModelChange", function InputNumberComponent_Template_input_ngModelChange_0_listener($event) { return ctx.handleChange($event); })("keyup.enter", function InputNumberComponent_Template_input_keyup_enter_0_listener() { i0.ɵɵrestoreView(_r1); const _r0 = i0.ɵɵreference(1); return i0.ɵɵresetView(ctx.flushViewChanges(_r0.value)); })("keydown.ArrowUp", function InputNumberComponent_Template_input_keydown_ArrowUp_0_listener($event) { return ctx.onArrowPress($event); })("keydown.ArrowDown", function InputNumberComponent_Template_input_keydown_ArrowDown_0_listener($event) { return ctx.onArrowPress($event); })("keypress", function InputNumberComponent_Template_input_keypress_0_listener($event) { return ctx.validateInputEntry($event); });
|
|
2716
2706
|
i0.ɵɵelementEnd();
|
|
2717
2707
|
} if (rf & 2) {
|
|
2718
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(
|
|
2708
|
+
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");
|
|
2719
2709
|
i0.ɵɵattribute("name", ctx.name)("tabindex", ctx.tabindex)("placeholder", ctx.placeholder)("accesskey", ctx.shortcutkey)("aria-label", ctx.hint);
|
|
2720
|
-
} }, dependencies: [i1.NgClass, i1
|
|
2710
|
+
} }, dependencies: [i1.NgClass, i1$1.DefaultValueAccessor, i1$1.NgControlStatus, i1$1.RequiredValidator, i1$1.MaxLengthValidator, i1$1.NgModel], encapsulation: 2 });
|
|
2721
2711
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(InputNumberComponent, [{
|
|
2722
2712
|
type: Component,
|
|
2723
2713
|
args: [{ selector: 'wm-input[type="number"]', providers: [
|
|
2724
2714
|
provideAs(InputNumberComponent, NG_VALUE_ACCESSOR, true),
|
|
2725
2715
|
provideAs(InputNumberComponent, NG_VALIDATORS, true),
|
|
2726
2716
|
provideAsWidgetRef(InputNumberComponent)
|
|
2727
|
-
], 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
|
|
2717
|
+
], 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" }]
|
|
2728
2718
|
}], function () { return [{ type: i0.Injector }]; }, { inputEl: [{
|
|
2729
2719
|
type: ViewChild,
|
|
2730
2720
|
args: ['input', { static: true }]
|
|
@@ -2754,9 +2744,7 @@ const inputTextTypeProps = new Map([
|
|
|
2754
2744
|
['showdisplayformaton', { value: 'always', ...PROP_ANY }],
|
|
2755
2745
|
['tabindex', { value: 0, ...PROP_NUMBER }],
|
|
2756
2746
|
['type', { value: 'text', ...PROP_STRING }],
|
|
2757
|
-
['updateon', PROP_STRING]
|
|
2758
|
-
['conditionalclass', PROP_ANY],
|
|
2759
|
-
['conditionalstyle', PROP_ANY]
|
|
2747
|
+
['updateon', PROP_STRING]
|
|
2760
2748
|
]);
|
|
2761
2749
|
const registerProps$1 = () => {
|
|
2762
2750
|
register('wm-input-text', inputTextTypeProps);
|
|
@@ -2867,22 +2855,22 @@ InputTextComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: InputTex
|
|
|
2867
2855
|
provideAs(InputTextComponent, NG_VALUE_ACCESSOR, true),
|
|
2868
2856
|
provideAs(InputTextComponent, NG_VALIDATORS, true),
|
|
2869
2857
|
provideAsWidgetRef(InputTextComponent)
|
|
2870
|
-
]), i0.ɵɵInheritDefinitionFeature], attrs: _c1, decls: 2, vars:
|
|
2858
|
+
]), 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) { if (rf & 1) {
|
|
2871
2859
|
const _r1 = i0.ɵɵgetCurrentView();
|
|
2872
2860
|
i0.ɵɵelementStart(0, "input", 0, 1);
|
|
2873
2861
|
i0.ɵɵlistener("ngModelChange", function InputTextComponent_Template_input_ngModelChange_0_listener($event) { return ctx.datavalue = $event; })("ngModelChange", function InputTextComponent_Template_input_ngModelChange_0_listener($event) { return ctx.handleChange($event); })("blur", function InputTextComponent_Template_input_blur_0_listener($event) { ctx.handleBlur($event); return ctx.checkForDisplayFormat($event); })("focus", function InputTextComponent_Template_input_focus_0_listener($event) { return ctx.checkForDisplayFormat($event); })("keyup.enter", function InputTextComponent_Template_input_keyup_enter_0_listener() { i0.ɵɵrestoreView(_r1); const _r0 = i0.ɵɵreference(1); return i0.ɵɵresetView(ctx.flushViewChanges(_r0.value)); });
|
|
2874
2862
|
i0.ɵɵelementEnd();
|
|
2875
2863
|
} if (rf & 2) {
|
|
2876
|
-
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)("
|
|
2864
|
+
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");
|
|
2877
2865
|
i0.ɵɵattribute("name", ctx.name)("aria-label", ctx.hint)("tabindex", ctx.tabindex)("placeholder", ctx.placeholder)("accesskey", ctx.shortcutkey);
|
|
2878
|
-
} }, dependencies: [i1
|
|
2866
|
+
} }, dependencies: [i1$1.DefaultValueAccessor, i1$1.NgControlStatus, i1$1.RequiredValidator, i1$1.MaxLengthValidator, i1$1.PatternValidator, i1$1.NgModel, i2$1.IMaskDirective], encapsulation: 2 });
|
|
2879
2867
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(InputTextComponent, [{
|
|
2880
2868
|
type: Component,
|
|
2881
2869
|
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: [
|
|
2882
2870
|
provideAs(InputTextComponent, NG_VALUE_ACCESSOR, true),
|
|
2883
2871
|
provideAs(InputTextComponent, NG_VALIDATORS, true),
|
|
2884
2872
|
provideAsWidgetRef(InputTextComponent)
|
|
2885
|
-
], 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
|
|
2873
|
+
], 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" }]
|
|
2886
2874
|
}], function () { return [{ type: i0.Injector }]; }, { inputEl: [{
|
|
2887
2875
|
type: ViewChild,
|
|
2888
2876
|
args: ['input', { static: true }]
|
|
@@ -2913,8 +2901,6 @@ const textareaProps = new Map([
|
|
|
2913
2901
|
['updateon', PROP_STRING],
|
|
2914
2902
|
['limitdisplaytext', PROP_STRING],
|
|
2915
2903
|
['charlength', PROP_NUMBER],
|
|
2916
|
-
['conditionalclass', PROP_ANY],
|
|
2917
|
-
['conditionalstyle', PROP_ANY]
|
|
2918
2904
|
]);
|
|
2919
2905
|
const registerProps = () => {
|
|
2920
2906
|
register('wm-textarea', textareaProps);
|
|
@@ -2957,24 +2943,24 @@ TextareaComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: TextareaC
|
|
|
2957
2943
|
provideAs(TextareaComponent, NG_VALUE_ACCESSOR, true),
|
|
2958
2944
|
provideAs(TextareaComponent, NG_VALIDATORS, true),
|
|
2959
2945
|
provideAsWidgetRef(TextareaComponent)
|
|
2960
|
-
]), i0.ɵɵInheritDefinitionFeature], decls: 3, vars:
|
|
2946
|
+
]), 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) { if (rf & 1) {
|
|
2961
2947
|
i0.ɵɵelementStart(0, "textarea", 0, 1);
|
|
2962
2948
|
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(); });
|
|
2963
2949
|
i0.ɵɵelementEnd();
|
|
2964
2950
|
i0.ɵɵtemplate(2, TextareaComponent_div_2_Template, 2, 1, "div", 2);
|
|
2965
2951
|
} if (rf & 2) {
|
|
2966
|
-
i0.ɵɵproperty("ngModel", ctx.datavalue)("ngModelOptions", ctx.ngModelOptions)("readonly", ctx.readonly)("required", ctx.required)("disabled", ctx.disabled)("maxlength", ctx.maxchars)("autofocus", ctx.autofocus)
|
|
2952
|
+
i0.ɵɵproperty("ngModel", ctx.datavalue)("ngModelOptions", ctx.ngModelOptions)("readonly", ctx.readonly)("required", ctx.required)("disabled", ctx.disabled)("maxlength", ctx.maxchars)("autofocus", ctx.autofocus);
|
|
2967
2953
|
i0.ɵɵattribute("name", ctx.name)("tabindex", ctx.tabindex)("placeholder", ctx.placeholder)("accesskey", ctx.shortcutkey)("aria-label", ctx.hint);
|
|
2968
2954
|
i0.ɵɵadvance(2);
|
|
2969
2955
|
i0.ɵɵproperty("ngIf", ctx.maxchars);
|
|
2970
|
-
} }, dependencies: [i1.
|
|
2956
|
+
} }, dependencies: [i1.NgIf, i1$1.DefaultValueAccessor, i1$1.NgControlStatus, i1$1.RequiredValidator, i1$1.MaxLengthValidator, i1$1.NgModel], encapsulation: 2 });
|
|
2971
2957
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TextareaComponent, [{
|
|
2972
2958
|
type: Component,
|
|
2973
2959
|
args: [{ selector: 'wm-textarea', providers: [
|
|
2974
2960
|
provideAs(TextareaComponent, NG_VALUE_ACCESSOR, true),
|
|
2975
2961
|
provideAs(TextareaComponent, NG_VALIDATORS, true),
|
|
2976
2962
|
provideAsWidgetRef(TextareaComponent)
|
|
2977
|
-
], 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
|
|
2963
|
+
], 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" }]
|
|
2978
2964
|
}], function () { return [{ type: i0.Injector }]; }, { inputEl: [{
|
|
2979
2965
|
type: ViewChild,
|
|
2980
2966
|
args: ['textarea', { static: true }]
|
|
@@ -3139,14 +3125,14 @@ class CaptionPositionDirective {
|
|
|
3139
3125
|
}
|
|
3140
3126
|
}
|
|
3141
3127
|
}
|
|
3142
|
-
CaptionPositionDirective.ɵfac = function CaptionPositionDirective_Factory(t) { return new (t || CaptionPositionDirective)(i0.ɵɵdirectiveInject(i0.Injector), i0.ɵɵdirectiveInject(i1$
|
|
3128
|
+
CaptionPositionDirective.ɵfac = function CaptionPositionDirective_Factory(t) { return new (t || CaptionPositionDirective)(i0.ɵɵdirectiveInject(i0.Injector), i0.ɵɵdirectiveInject(i1$2.App)); };
|
|
3143
3129
|
CaptionPositionDirective.ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: CaptionPositionDirective, selectors: [["", "wmCaptionPosition", ""]] });
|
|
3144
3130
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CaptionPositionDirective, [{
|
|
3145
3131
|
type: Directive,
|
|
3146
3132
|
args: [{
|
|
3147
3133
|
selector: '[wmCaptionPosition]'
|
|
3148
3134
|
}]
|
|
3149
|
-
}], function () { return [{ type: i0.Injector }, { type: i1$
|
|
3135
|
+
}], function () { return [{ type: i0.Injector }, { type: i1$2.App }]; }, null); })();
|
|
3150
3136
|
|
|
3151
3137
|
const components = [
|
|
3152
3138
|
ButtonComponent,
|