@wavemaker/app-ng-runtime 11.9.0-next.24942 → 11.9.0-next.24946
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- app-ng-runtime/build-task/bundles/index.umd.js +19 -19
- app-ng-runtime/build-task/esm2022/basic/default/anchor/anchor.build.mjs +2 -2
- app-ng-runtime/build-task/esm2022/basic/default/html/html.build.mjs +2 -2
- app-ng-runtime/build-task/esm2022/basic/default/icon/icon.build.mjs +2 -2
- app-ng-runtime/build-task/esm2022/basic/default/label/label.build.mjs +2 -2
- app-ng-runtime/build-task/esm2022/basic/default/picture/picture.build.mjs +2 -2
- app-ng-runtime/build-task/esm2022/basic/default/spinner/spinner.build.mjs +2 -2
- app-ng-runtime/build-task/esm2022/basic/rich-text-editor/rich-text-editor.build.mjs +2 -2
- app-ng-runtime/build-task/esm2022/device/barcode-scanner/barcode-scanner.build.mjs +2 -2
- app-ng-runtime/build-task/esm2022/device/camera/camera.build.mjs +2 -2
- app-ng-runtime/build-task/esm2022/input/default/button/button.build.mjs +2 -2
- app-ng-runtime/build-task/esm2022/input/default/button-group/button-group.build.mjs +2 -2
- app-ng-runtime/build-task/esm2022/input/default/switch/switch.build.mjs +2 -2
- app-ng-runtime/build-task/esm2022/page/footer/footer.build.mjs +2 -2
- app-ng-runtime/build-task/esm2022/page/header/header.build.mjs +2 -2
- app-ng-runtime/build-task/esm2022/page/layout.build.mjs +2 -2
- app-ng-runtime/build-task/esm2022/page/left-panel/left-panel.build.mjs +2 -2
- app-ng-runtime/build-task/esm2022/page/page.build.mjs +2 -2
- app-ng-runtime/build-task/esm2022/page/right-panel/right-panel.build.mjs +2 -2
- app-ng-runtime/build-task/esm2022/page/top-nav/top-nav.build.mjs +2 -2
- app-ng-runtime/build-task/fesm2022/index.mjs +19 -19
- app-ng-runtime/build-task/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/basic/default/audio/audio.component.d.ts +1 -0
- app-ng-runtime/components/basic/default/bundles/index.umd.js +15 -9
- app-ng-runtime/components/basic/default/esm2022/anchor/anchor.props.mjs +2 -1
- app-ng-runtime/components/basic/default/esm2022/audio/audio.component.mjs +3 -3
- app-ng-runtime/components/basic/default/esm2022/audio/audio.props.mjs +2 -1
- app-ng-runtime/components/basic/default/esm2022/html/html.props.mjs +2 -1
- app-ng-runtime/components/basic/default/esm2022/icon/icon.component.mjs +3 -4
- app-ng-runtime/components/basic/default/esm2022/iframe/iframe.component.mjs +3 -3
- app-ng-runtime/components/basic/default/esm2022/iframe/iframe.props.mjs +3 -2
- app-ng-runtime/components/basic/default/esm2022/label/label.props.mjs +2 -1
- app-ng-runtime/components/basic/default/esm2022/picture/picture.props.mjs +2 -1
- app-ng-runtime/components/basic/default/esm2022/spinner/spinner.props.mjs +3 -2
- app-ng-runtime/components/basic/default/fesm2022/index.mjs +15 -9
- app-ng-runtime/components/basic/default/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/basic/default/iframe/iframe.component.d.ts +1 -0
- app-ng-runtime/components/basic/progress/bundles/index.umd.js +6 -4
- app-ng-runtime/components/basic/progress/esm2022/progress-bar/progress-bar.component.mjs +3 -3
- app-ng-runtime/components/basic/progress/esm2022/progress-bar/progress-bar.props.mjs +2 -1
- app-ng-runtime/components/basic/progress/esm2022/progress-circle/progress-circle.component.mjs +3 -3
- app-ng-runtime/components/basic/progress/esm2022/progress-circle/progress-circle.props.mjs +2 -1
- app-ng-runtime/components/basic/progress/fesm2022/index.mjs +6 -4
- app-ng-runtime/components/basic/progress/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/basic/progress/progress-bar/progress-bar.component.d.ts +1 -0
- app-ng-runtime/components/basic/progress/progress-circle/progress-circle.component.d.ts +1 -0
- app-ng-runtime/components/basic/rich-text-editor/bundles/index.umd.js +1 -0
- app-ng-runtime/components/basic/rich-text-editor/esm2022/rich-text-editor.props.mjs +2 -1
- app-ng-runtime/components/basic/rich-text-editor/fesm2022/index.mjs +1 -0
- app-ng-runtime/components/basic/rich-text-editor/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/basic/search/bundles/index.umd.js +5 -4
- app-ng-runtime/components/basic/search/esm2022/search.component.mjs +8 -8
- app-ng-runtime/components/basic/search/esm2022/search.props.mjs +2 -1
- app-ng-runtime/components/basic/search/fesm2022/index.mjs +5 -4
- app-ng-runtime/components/basic/search/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/basic/search/search.component.d.ts +1 -0
- app-ng-runtime/components/data/live-table/bundles/index.umd.js +2 -2
- app-ng-runtime/components/data/live-table/esm2022/live-table.component.mjs +3 -3
- app-ng-runtime/components/data/live-table/fesm2022/index.mjs +2 -2
- app-ng-runtime/components/data/live-table/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/input/color-picker/bundles/index.umd.js +3 -2
- app-ng-runtime/components/input/color-picker/color-picker.component.d.ts +1 -0
- app-ng-runtime/components/input/color-picker/esm2022/color-picker.component.mjs +4 -4
- app-ng-runtime/components/input/color-picker/esm2022/color-picker.props.mjs +2 -1
- app-ng-runtime/components/input/color-picker/fesm2022/index.mjs +3 -2
- app-ng-runtime/components/input/color-picker/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/input/currency/bundles/index.umd.js +4 -3
- app-ng-runtime/components/input/currency/currency.component.d.ts +1 -0
- app-ng-runtime/components/input/currency/esm2022/currency.component.mjs +6 -6
- app-ng-runtime/components/input/currency/esm2022/currency.props.mjs +2 -1
- app-ng-runtime/components/input/currency/fesm2022/index.mjs +4 -3
- app-ng-runtime/components/input/currency/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/input/default/bundles/index.umd.js +36 -25
- app-ng-runtime/components/input/default/button/button.component.d.ts +1 -0
- app-ng-runtime/components/input/default/checkbox/checkbox.component.d.ts +1 -0
- app-ng-runtime/components/input/default/esm2022/button/button.component.mjs +1 -1
- app-ng-runtime/components/input/default/esm2022/button/button.props.mjs +2 -1
- app-ng-runtime/components/input/default/esm2022/checkbox/checkbox.component.mjs +4 -4
- app-ng-runtime/components/input/default/esm2022/checkbox/checkbox.props.mjs +2 -1
- app-ng-runtime/components/input/default/esm2022/number/number.component.mjs +4 -4
- app-ng-runtime/components/input/default/esm2022/number/number.props.mjs +2 -1
- app-ng-runtime/components/input/default/esm2022/select/select.component.mjs +4 -4
- app-ng-runtime/components/input/default/esm2022/select/select.props.mjs +2 -1
- app-ng-runtime/components/input/default/esm2022/switch/switch.props.mjs +2 -1
- app-ng-runtime/components/input/default/esm2022/text/calendar/input-calendar.component.mjs +5 -5
- app-ng-runtime/components/input/default/esm2022/text/calendar/input-calendar.props.mjs +2 -1
- app-ng-runtime/components/input/default/esm2022/text/color/input-color.component.mjs +5 -5
- app-ng-runtime/components/input/default/esm2022/text/color/input-color.props.mjs +2 -1
- app-ng-runtime/components/input/default/esm2022/text/email/input-email.component.mjs +5 -5
- app-ng-runtime/components/input/default/esm2022/text/email/input-email.props.mjs +2 -1
- app-ng-runtime/components/input/default/esm2022/text/number/input-number.component.mjs +5 -5
- app-ng-runtime/components/input/default/esm2022/text/number/input-number.props.mjs +2 -1
- app-ng-runtime/components/input/default/esm2022/text/text/input-text.component.mjs +5 -5
- app-ng-runtime/components/input/default/esm2022/text/text/input-text.props.mjs +2 -1
- app-ng-runtime/components/input/default/esm2022/textarea/textarea.component.mjs +6 -6
- app-ng-runtime/components/input/default/esm2022/textarea/textarea.props.mjs +2 -1
- app-ng-runtime/components/input/default/fesm2022/index.mjs +36 -25
- app-ng-runtime/components/input/default/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/input/default/number/number.component.d.ts +1 -0
- app-ng-runtime/components/input/default/select/select.component.d.ts +1 -0
- app-ng-runtime/components/input/default/text/calendar/input-calendar.component.d.ts +1 -0
- app-ng-runtime/components/input/default/text/color/input-color.component.d.ts +1 -0
- app-ng-runtime/components/input/default/text/email/input-email.component.d.ts +1 -0
- app-ng-runtime/components/input/default/text/number/input-number.component.d.ts +1 -0
- app-ng-runtime/components/input/default/text/text/input-text.component.d.ts +1 -0
- app-ng-runtime/components/input/default/textarea/textarea.component.d.ts +1 -0
- app-ng-runtime/components/input/epoch/bundles/index.umd.js +12 -9
- app-ng-runtime/components/input/epoch/date/date.component.d.ts +1 -0
- app-ng-runtime/components/input/epoch/date-time/date-time.component.d.ts +2 -1
- app-ng-runtime/components/input/epoch/esm2022/date/date.component.mjs +6 -6
- app-ng-runtime/components/input/epoch/esm2022/date/date.props.mjs +2 -1
- app-ng-runtime/components/input/epoch/esm2022/date-time/date-time.component.mjs +7 -7
- app-ng-runtime/components/input/epoch/esm2022/date-time/date-time.props.mjs +2 -1
- app-ng-runtime/components/input/epoch/esm2022/time/time.component.mjs +7 -7
- app-ng-runtime/components/input/epoch/esm2022/time/time.props.mjs +2 -1
- app-ng-runtime/components/input/epoch/fesm2022/index.mjs +12 -9
- app-ng-runtime/components/input/epoch/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/input/epoch/time/time.component.d.ts +1 -0
- app-ng-runtime/components/input/file-upload/bundles/index.umd.js +13 -11
- app-ng-runtime/components/input/file-upload/esm2022/file-upload.component.mjs +12 -12
- app-ng-runtime/components/input/file-upload/esm2022/file-upload.props.mjs +3 -1
- app-ng-runtime/components/input/file-upload/fesm2022/index.mjs +13 -11
- app-ng-runtime/components/input/file-upload/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/input/file-upload/file-upload.component.d.ts +1 -0
- app-ng-runtime/components/input/slider/bundles/index.umd.js +3 -2
- app-ng-runtime/components/input/slider/esm2022/slider.component.mjs +4 -4
- app-ng-runtime/components/input/slider/esm2022/slider.props.mjs +2 -1
- app-ng-runtime/components/input/slider/fesm2022/index.mjs +3 -2
- app-ng-runtime/components/input/slider/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/input/slider/slider.component.d.ts +1 -0
- app-ng-runtime/components/navigation/menu/bundles/index.umd.js +4 -3
- app-ng-runtime/components/navigation/menu/esm2022/menu.component.mjs +4 -4
- app-ng-runtime/components/navigation/menu/esm2022/menu.props.mjs +2 -1
- app-ng-runtime/components/navigation/menu/fesm2022/index.mjs +4 -3
- app-ng-runtime/components/navigation/menu/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/navigation/menu/menu.component.d.ts +1 -0
- app-ng-runtime/components/navigation/popover/bundles/index.umd.js +4 -3
- app-ng-runtime/components/navigation/popover/esm2022/popover.component.mjs +4 -4
- app-ng-runtime/components/navigation/popover/esm2022/popover.props.mjs +2 -1
- app-ng-runtime/components/navigation/popover/fesm2022/index.mjs +4 -3
- app-ng-runtime/components/navigation/popover/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/navigation/popover/popover.component.d.ts +1 -0
- app-ng-runtime/components/page/default/bundles/index.umd.js +2 -1
- app-ng-runtime/components/page/default/esm2022/page.props.mjs +4 -3
- app-ng-runtime/components/page/default/fesm2022/index.mjs +2 -1
- app-ng-runtime/components/page/default/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/page/footer/bundles/index.umd.js +2 -1
- app-ng-runtime/components/page/footer/esm2022/footer.props.mjs +3 -2
- app-ng-runtime/components/page/footer/fesm2022/index.mjs +2 -1
- app-ng-runtime/components/page/footer/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/page/header/bundles/index.umd.js +2 -1
- app-ng-runtime/components/page/header/esm2022/header.props.mjs +3 -2
- app-ng-runtime/components/page/header/fesm2022/index.mjs +2 -1
- app-ng-runtime/components/page/header/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/page/left-panel/bundles/index.umd.js +2 -1
- app-ng-runtime/components/page/left-panel/esm2022/left-panel.props.mjs +3 -2
- app-ng-runtime/components/page/left-panel/fesm2022/index.mjs +2 -1
- app-ng-runtime/components/page/left-panel/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/page/right-panel/bundles/index.umd.js +2 -1
- app-ng-runtime/components/page/right-panel/esm2022/right-panel.props.mjs +3 -2
- app-ng-runtime/components/page/right-panel/fesm2022/index.mjs +2 -1
- app-ng-runtime/components/page/right-panel/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/page/top-nav/bundles/index.umd.js +2 -1
- app-ng-runtime/components/page/top-nav/esm2022/top-nav.props.mjs +3 -2
- app-ng-runtime/components/page/top-nav/fesm2022/index.mjs +2 -1
- app-ng-runtime/components/page/top-nav/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/core/bundles/index.umd.js +1 -1
- app-ng-runtime/core/esm2022/utils/build-utils.mjs +2 -2
- app-ng-runtime/core/fesm2022/index.mjs +1 -1
- app-ng-runtime/core/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/mobile/components/device/barcode-scanner/bundles/index.umd.js +2 -1
- app-ng-runtime/mobile/components/device/barcode-scanner/esm2022/barcode-scanner.props.mjs +3 -2
- app-ng-runtime/mobile/components/device/barcode-scanner/fesm2022/index.mjs +2 -1
- app-ng-runtime/mobile/components/device/barcode-scanner/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/mobile/components/device/camera/bundles/index.umd.js +2 -1
- app-ng-runtime/mobile/components/device/camera/esm2022/camera.props.mjs +3 -2
- app-ng-runtime/mobile/components/device/camera/fesm2022/index.mjs +2 -1
- app-ng-runtime/mobile/components/device/camera/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/package.json +1 -1
|
@@ -24,6 +24,7 @@ const registerProps$e = () => {
|
|
|
24
24
|
['conditionalstyle', PROP_ANY],
|
|
25
25
|
['disabled', PROP_BOOLEAN],
|
|
26
26
|
['hint', PROP_STRING],
|
|
27
|
+
['arialabel', PROP_STRING],
|
|
27
28
|
['iconclass', PROP_STRING],
|
|
28
29
|
['iconheight', PROP_STRING],
|
|
29
30
|
['iconmargin', PROP_STRING],
|
|
@@ -369,6 +370,7 @@ const checkboxProps = new Map([
|
|
|
369
370
|
['datavalue', PROP_STRING],
|
|
370
371
|
['disabled', PROP_BOOLEAN],
|
|
371
372
|
['hint', PROP_STRING],
|
|
373
|
+
['arialabel', PROP_STRING],
|
|
372
374
|
['name', PROP_STRING],
|
|
373
375
|
['readonly', PROP_BOOLEAN],
|
|
374
376
|
['required', PROP_BOOLEAN],
|
|
@@ -510,7 +512,7 @@ class CheckboxComponent extends BaseFormCustomComponent {
|
|
|
510
512
|
i0.ɵɵadvance();
|
|
511
513
|
i0.ɵɵtwoWayProperty("ngModel", ctx.proxyModel);
|
|
512
514
|
i0.ɵɵproperty("ngModelOptions", i0.ɵɵpureFunction0(18, _c3$2))("readonly", ctx.readonly)("required", ctx.required)("disabled", ctx.disabled || ctx.readonly)("tabindex", ctx.tabindex);
|
|
513
|
-
i0.ɵɵattribute("name", ctx.name)("aria-label", ctx.
|
|
515
|
+
i0.ɵɵattribute("name", ctx.name)("aria-label", ctx.arialabel)("aria-checked", !!ctx.proxyModel)("accesskey", ctx.shortcutkey);
|
|
514
516
|
i0.ɵɵadvance(2);
|
|
515
517
|
i0.ɵɵproperty("innerHtml", ctx._caption, i0.ɵɵsanitizeHtml);
|
|
516
518
|
i0.ɵɵadvance(2);
|
|
@@ -523,7 +525,7 @@ class CheckboxComponent extends BaseFormCustomComponent {
|
|
|
523
525
|
provideAs(CheckboxComponent, NG_VALUE_ACCESSOR, true),
|
|
524
526
|
provideAs(CheckboxComponent, NG_VALIDATORS, true),
|
|
525
527
|
provideAsWidgetRef(CheckboxComponent)
|
|
526
|
-
], 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]=\"
|
|
528
|
+
], 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]=\"arialabel\"\n [attr.aria-checked]=\"!!proxyModel\"\n focus-target\n [(ngModel)]=\"proxyModel\"\n [ngModelOptions]=\"{standalone: true}\"\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" }]
|
|
527
529
|
}], () => [{ type: i0.Injector }, { type: undefined, decorators: [{
|
|
528
530
|
type: Attribute,
|
|
529
531
|
args: ['checkedvalue']
|
|
@@ -1222,6 +1224,7 @@ const numberProps = new Map([
|
|
|
1222
1224
|
['datavalue', PROP_STRING],
|
|
1223
1225
|
['disabled', PROP_BOOLEAN],
|
|
1224
1226
|
['hint', PROP_STRING],
|
|
1227
|
+
['arialabel', PROP_STRING],
|
|
1225
1228
|
['localefilter', PROP_STRING],
|
|
1226
1229
|
['minvalue', PROP_NUMBER],
|
|
1227
1230
|
['maxvalue', PROP_NUMBER],
|
|
@@ -1804,7 +1807,7 @@ class NumberComponent extends NumberLocale {
|
|
|
1804
1807
|
i0.ɵɵelementEnd();
|
|
1805
1808
|
} if (rf & 2) {
|
|
1806
1809
|
i0.ɵɵproperty("ngModel", ctx.displayValue)("readonly", ctx.readonly)("disabled", ctx.disabled)("pattern", ctx.regexp)("autofocus", ctx.autofocus)("ngClass", ctx.conditionalclass)("ngStyle", ctx.conditionalstyle)("ngModelOptions", ctx.ngModelOptions)("required", ctx.required);
|
|
1807
|
-
i0.ɵɵattribute("name", ctx.name)("tabindex", ctx.tabindex)("placeholder", ctx.placeholder)("accesskey", ctx.shortcutkey)("aria-label", ctx.
|
|
1810
|
+
i0.ɵɵattribute("name", ctx.name)("tabindex", ctx.tabindex)("placeholder", ctx.placeholder)("accesskey", ctx.shortcutkey)("aria-label", ctx.arialabel);
|
|
1808
1811
|
} }, dependencies: [i1.NgClass, i1.NgStyle, i2$1.DefaultValueAccessor, i2$1.NgControlStatus, i2$1.RequiredValidator, i2$1.PatternValidator, i2$1.NgModel], encapsulation: 2 }); }
|
|
1809
1812
|
}
|
|
1810
1813
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(NumberComponent, [{
|
|
@@ -1813,7 +1816,7 @@ class NumberComponent extends NumberLocale {
|
|
|
1813
1816
|
provideAs(NumberComponent, NG_VALUE_ACCESSOR, true),
|
|
1814
1817
|
provideAs(NumberComponent, NG_VALIDATORS, true),
|
|
1815
1818
|
provideAsWidgetRef(NumberComponent)
|
|
1816
|
-
], 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]=\"
|
|
1819
|
+
], 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]=\"arialabel\"\n [autofocus]=\"autofocus\"\n [ngClass]=\"conditionalclass\"\n [ngStyle]=\"conditionalstyle\"\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" }]
|
|
1817
1820
|
}], () => [{ type: i0.Injector }, { type: i1$1.AbstractI18nService }, { type: i2.TrailingZeroDecimalPipe }, { type: undefined, decorators: [{
|
|
1818
1821
|
type: Inject,
|
|
1819
1822
|
args: ['EXPLICIT_CONTEXT']
|
|
@@ -2106,6 +2109,7 @@ const selectProps = new Map([
|
|
|
2106
2109
|
['displayValue', PROP_STRING],
|
|
2107
2110
|
['groupby', PROP_STRING],
|
|
2108
2111
|
['hint', PROP_STRING],
|
|
2112
|
+
['arialabel', PROP_STRING],
|
|
2109
2113
|
['match', PROP_STRING],
|
|
2110
2114
|
['multiple', { value: false, ...PROP_BOOLEAN }],
|
|
2111
2115
|
['name', PROP_STRING],
|
|
@@ -2320,7 +2324,7 @@ class SelectComponent extends DatasetAwareFormComponent {
|
|
|
2320
2324
|
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(15, _c1$6, ctx.class))("disabled", ctx.disabled)("required", ctx.required)("tabindex", ctx.tabindex);
|
|
2321
2325
|
i0.ɵɵtwoWayProperty("ngModel", ctx.modelByKey);
|
|
2322
2326
|
i0.ɵɵproperty("ngModelOptions", i0.ɵɵpureFunction0(17, _c2$4))("multiple", ctx.multiple)("autofocus", ctx.autofocus);
|
|
2323
|
-
i0.ɵɵattribute("name", ctx.name)("aria-label", ctx.
|
|
2327
|
+
i0.ɵɵattribute("name", ctx.name)("aria-label", ctx.arialabel)("aria-multiselectable", ctx.multiple);
|
|
2324
2328
|
i0.ɵɵadvance(2);
|
|
2325
2329
|
i0.ɵɵproperty("textContent", ctx.placeholder)("hidden", !ctx.placeholder);
|
|
2326
2330
|
i0.ɵɵadvance();
|
|
@@ -2335,7 +2339,7 @@ class SelectComponent extends DatasetAwareFormComponent {
|
|
|
2335
2339
|
provideAs(SelectComponent, NG_VALUE_ACCESSOR, true),
|
|
2336
2340
|
provideAs(SelectComponent, NG_VALIDATORS, true),
|
|
2337
2341
|
provideAsWidgetRef(SelectComponent)
|
|
2338
|
-
], template: "<!--Updated focus with mousedown event. IOS devices not allow update of option value after opening dropdown-->\n<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 [ngModelOptions]=\"{standalone: true}\"\n [multiple]=\"multiple\"\n (change)=\"onSelectValueChange($event)\"\n (mousedown)=\"checkForFloatingLabel($event)\"\n (blur)=\"invokeOnTouched($event); checkForFloatingLabel($event)\"\n [attr.name]=\"name\"\n [attr.aria-label]=\"
|
|
2342
|
+
], template: "<!--Updated focus with mousedown event. IOS devices not allow update of option value after opening dropdown-->\n<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 [ngModelOptions]=\"{standalone: true}\"\n [multiple]=\"multiple\"\n (change)=\"onSelectValueChange($event)\"\n (mousedown)=\"checkForFloatingLabel($event)\"\n (blur)=\"invokeOnTouched($event); checkForFloatingLabel($event)\"\n [attr.name]=\"name\"\n [attr.aria-label]=\"arialabel\"\n [attr.aria-multiselectable]=\"multiple\"\n [autofocus]=\"autofocus\">\n\n <option selected\n value=\"undefined\"\n [textContent]=\"placeholder\"\n id=\"placeholderOption\"\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" }]
|
|
2339
2343
|
}], () => [{ type: i0.Injector }, { type: undefined, decorators: [{
|
|
2340
2344
|
type: Inject,
|
|
2341
2345
|
args: ['EXPLICIT_CONTEXT']
|
|
@@ -2358,6 +2362,7 @@ const switchProps = new Map([
|
|
|
2358
2362
|
['displayexpression', PROP_STRING],
|
|
2359
2363
|
['displayfield', PROP_STRING],
|
|
2360
2364
|
['hint', PROP_STRING],
|
|
2365
|
+
['arialabel', PROP_STRING],
|
|
2361
2366
|
['iconclass', PROP_STRING],
|
|
2362
2367
|
['name', PROP_STRING],
|
|
2363
2368
|
['orderby', PROP_STRING],
|
|
@@ -2560,6 +2565,7 @@ const inputCalendarTypeProps = new Map([
|
|
|
2560
2565
|
['datavalue', PROP_STRING],
|
|
2561
2566
|
['disabled', PROP_BOOLEAN],
|
|
2562
2567
|
['hint', PROP_STRING],
|
|
2568
|
+
['arialabel', PROP_STRING],
|
|
2563
2569
|
['maxvalue', PROP_NUMBER],
|
|
2564
2570
|
['minvalue', PROP_NUMBER],
|
|
2565
2571
|
['name', PROP_STRING],
|
|
@@ -2603,7 +2609,7 @@ class InputCalendarComponent extends BaseInput {
|
|
|
2603
2609
|
provideAs(InputCalendarComponent, NG_VALUE_ACCESSOR, true),
|
|
2604
2610
|
provideAs(InputCalendarComponent, NG_VALIDATORS, true),
|
|
2605
2611
|
provideAsWidgetRef(InputCalendarComponent)
|
|
2606
|
-
]), i0.ɵɵInheritDefinitionFeature], attrs: _c1$4, decls: 2, vars: 19, consts: [["input", ""], ["focus-target", "",
|
|
2612
|
+
]), i0.ɵɵInheritDefinitionFeature], attrs: _c1$4, decls: 2, vars: 19, consts: [["input", ""], ["focus-target", "", 1, "form-control", "app-textbox", 3, "ngModelChange", "blur", "type", "ngModel", "ngModelOptions", "readonly", "required", "disabled", "min", "max", "step", "autofocus", "autocomplete", "ngClass", "ngStyle"]], template: function InputCalendarComponent_Template(rf, ctx) { if (rf & 1) {
|
|
2607
2613
|
const _r1 = i0.ɵɵgetCurrentView();
|
|
2608
2614
|
i0.ɵɵelementStart(0, "input", 1, 0);
|
|
2609
2615
|
i0.ɵɵtwoWayListener("ngModelChange", function InputCalendarComponent_Template_input_ngModelChange_0_listener($event) { i0.ɵɵrestoreView(_r1); i0.ɵɵtwoWayBindingSet(ctx.datavalue, $event) || (ctx.datavalue = $event); return i0.ɵɵresetView($event); });
|
|
@@ -2613,7 +2619,7 @@ class InputCalendarComponent extends BaseInput {
|
|
|
2613
2619
|
i0.ɵɵproperty("type", ctx.type);
|
|
2614
2620
|
i0.ɵɵtwoWayProperty("ngModel", ctx.datavalue);
|
|
2615
2621
|
i0.ɵɵproperty("ngModelOptions", i0.ɵɵpureFunction0(18, _c2$2))("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")("ngClass", ctx.conditionalclass)("ngStyle", ctx.conditionalstyle);
|
|
2616
|
-
i0.ɵɵattribute("name", ctx.name)("tabindex", ctx.tabindex)("placeholder", ctx.placeholder)("accesskey", ctx.shortcutkey)("aria-label", ctx.
|
|
2622
|
+
i0.ɵɵattribute("name", ctx.name)("tabindex", ctx.tabindex)("placeholder", ctx.placeholder)("accesskey", ctx.shortcutkey)("aria-label", ctx.arialabel || ctx.type + " field");
|
|
2617
2623
|
} }, dependencies: [i1.NgClass, i1.NgStyle, i2$1.DefaultValueAccessor, i2$1.NgControlStatus, i2$1.RequiredValidator, i2$1.NgModel], encapsulation: 2 }); }
|
|
2618
2624
|
}
|
|
2619
2625
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(InputCalendarComponent, [{
|
|
@@ -2622,7 +2628,7 @@ class InputCalendarComponent extends BaseInput {
|
|
|
2622
2628
|
provideAs(InputCalendarComponent, NG_VALUE_ACCESSOR, true),
|
|
2623
2629
|
provideAs(InputCalendarComponent, NG_VALIDATORS, true),
|
|
2624
2630
|
provideAsWidgetRef(InputCalendarComponent)
|
|
2625
|
-
], template: "<input class=\"form-control app-textbox\"\n focus-target\n
|
|
2631
|
+
], template: "<input class=\"form-control app-textbox\"\n focus-target\n [type]=\"type\"\n [attr.name]=\"name\"\n [(ngModel)]=\"datavalue\"\n [ngModelOptions]=\"{standalone: true}\"\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]=\"arialabel || type + ' field'\"\n [autofocus]=\"autofocus\"\n (blur)=\"handleBlur($event)\"\n (ngModelChange)=\"handleChange($event)\"\n [autocomplete]=\"autocomplete ? 'on' : 'off'\"\n [ngClass]=\"conditionalclass\"\n [ngStyle]=\"conditionalstyle\"\n #input>\n" }]
|
|
2626
2632
|
}], () => [{ type: i0.Injector }, { type: undefined, decorators: [{
|
|
2627
2633
|
type: Inject,
|
|
2628
2634
|
args: ['EXPLICIT_CONTEXT']
|
|
@@ -2646,6 +2652,7 @@ const inputColorTypeProps = new Map([
|
|
|
2646
2652
|
['datavalue', PROP_STRING],
|
|
2647
2653
|
['disabled', PROP_BOOLEAN],
|
|
2648
2654
|
['hint', PROP_STRING],
|
|
2655
|
+
['arialabel', PROP_STRING],
|
|
2649
2656
|
['name', PROP_STRING],
|
|
2650
2657
|
['placeholder', { value: 'Enter text', ...PROP_STRING }],
|
|
2651
2658
|
['readonly', PROP_BOOLEAN],
|
|
@@ -2686,7 +2693,7 @@ class InputColorComponent extends BaseInput {
|
|
|
2686
2693
|
provideAs(InputColorComponent, NG_VALUE_ACCESSOR, true),
|
|
2687
2694
|
provideAs(InputColorComponent, NG_VALIDATORS, true),
|
|
2688
2695
|
provideAsWidgetRef(InputColorComponent)
|
|
2689
|
-
]), i0.ɵɵInheritDefinitionFeature], attrs: _c1$3, decls: 2, vars: 16, consts: [["input", ""], ["focus-target", "",
|
|
2696
|
+
]), i0.ɵɵInheritDefinitionFeature], attrs: _c1$3, decls: 2, vars: 16, consts: [["input", ""], ["focus-target", "", 1, "form-control", "app-textbox", 3, "ngModelChange", "blur", "type", "ngModel", "ngModelOptions", "readonly", "required", "disabled", "maxlength", "autofocus", "ngClass", "ngStyle"]], template: function InputColorComponent_Template(rf, ctx) { if (rf & 1) {
|
|
2690
2697
|
const _r1 = i0.ɵɵgetCurrentView();
|
|
2691
2698
|
i0.ɵɵelementStart(0, "input", 1, 0);
|
|
2692
2699
|
i0.ɵɵtwoWayListener("ngModelChange", function InputColorComponent_Template_input_ngModelChange_0_listener($event) { i0.ɵɵrestoreView(_r1); i0.ɵɵtwoWayBindingSet(ctx.datavalue, $event) || (ctx.datavalue = $event); return i0.ɵɵresetView($event); });
|
|
@@ -2696,7 +2703,7 @@ class InputColorComponent extends BaseInput {
|
|
|
2696
2703
|
i0.ɵɵproperty("type", ctx.type);
|
|
2697
2704
|
i0.ɵɵtwoWayProperty("ngModel", ctx.datavalue);
|
|
2698
2705
|
i0.ɵɵproperty("ngModelOptions", i0.ɵɵpureFunction0(15, _c2$1))("readonly", ctx.readonly)("required", ctx.required)("disabled", ctx.disabled)("maxlength", ctx.maxchars)("autofocus", ctx.autofocus)("ngClass", ctx.conditionalclass)("ngStyle", ctx.conditionalstyle);
|
|
2699
|
-
i0.ɵɵattribute("name", ctx.name)("tabindex", ctx.tabindex)("placeholder", ctx.placeholder)("accesskey", ctx.shortcutkey)("aria-label", ctx.
|
|
2706
|
+
i0.ɵɵattribute("name", ctx.name)("tabindex", ctx.tabindex)("placeholder", ctx.placeholder)("accesskey", ctx.shortcutkey)("aria-label", ctx.arialabel);
|
|
2700
2707
|
} }, dependencies: [i1.NgClass, i1.NgStyle, i2$1.DefaultValueAccessor, i2$1.NgControlStatus, i2$1.RequiredValidator, i2$1.MaxLengthValidator, i2$1.NgModel], encapsulation: 2 }); }
|
|
2701
2708
|
}
|
|
2702
2709
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(InputColorComponent, [{
|
|
@@ -2705,7 +2712,7 @@ class InputColorComponent extends BaseInput {
|
|
|
2705
2712
|
provideAs(InputColorComponent, NG_VALUE_ACCESSOR, true),
|
|
2706
2713
|
provideAs(InputColorComponent, NG_VALIDATORS, true),
|
|
2707
2714
|
provideAsWidgetRef(InputColorComponent)
|
|
2708
|
-
], template: "<input class=\"form-control app-textbox\"\n focus-target\n [type]=\"type\"\n
|
|
2715
|
+
], template: "<input class=\"form-control app-textbox\"\n focus-target\n [type]=\"type\"\n [attr.name]=\"name\"\n [(ngModel)]=\"datavalue\"\n [ngModelOptions]=\"{standalone: true}\"\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]=\"arialabel\"\n [autofocus]=\"autofocus\"\n [ngClass]=\"conditionalclass\"\n [ngStyle]=\"conditionalstyle\"\n (blur)=\"handleBlur($event)\"\n (ngModelChange)=\"handleChange($event)\"\n #input>\n" }]
|
|
2709
2716
|
}], () => [{ type: i0.Injector }, { type: undefined, decorators: [{
|
|
2710
2717
|
type: Inject,
|
|
2711
2718
|
args: ['EXPLICIT_CONTEXT']
|
|
@@ -2729,6 +2736,7 @@ const inputEmailTypeProps = new Map([
|
|
|
2729
2736
|
['datavalue', PROP_STRING],
|
|
2730
2737
|
['disabled', PROP_BOOLEAN],
|
|
2731
2738
|
['hint', PROP_STRING],
|
|
2739
|
+
['arialabel', PROP_STRING],
|
|
2732
2740
|
['maxchars', PROP_NUMBER],
|
|
2733
2741
|
['name', PROP_STRING],
|
|
2734
2742
|
['placeholder', { value: 'Enter text', ...PROP_STRING }],
|
|
@@ -2770,7 +2778,7 @@ class InputEmailComponent extends BaseInput {
|
|
|
2770
2778
|
provideAs(InputEmailComponent, NG_VALUE_ACCESSOR, true),
|
|
2771
2779
|
provideAs(InputEmailComponent, NG_VALIDATORS, true),
|
|
2772
2780
|
provideAsWidgetRef(InputEmailComponent)
|
|
2773
|
-
]), i0.ɵɵInheritDefinitionFeature], attrs: _c1$2, decls: 2, vars: 17, consts: [["input", ""], ["focus-target", "", "
|
|
2781
|
+
]), i0.ɵɵInheritDefinitionFeature], attrs: _c1$2, decls: 2, vars: 17, consts: [["input", ""], ["focus-target", "", "email", "", 1, "form-control", "app-textbox", 3, "ngModelChange", "blur", "keyup.enter", "type", "ngModel", "ngModelOptions", "readonly", "required", "disabled", "maxlength", "pattern", "autofocus", "ngClass", "ngStyle", "autocomplete"]], template: function InputEmailComponent_Template(rf, ctx) { if (rf & 1) {
|
|
2774
2782
|
const _r1 = i0.ɵɵgetCurrentView();
|
|
2775
2783
|
i0.ɵɵelementStart(0, "input", 1, 0);
|
|
2776
2784
|
i0.ɵɵtwoWayListener("ngModelChange", function InputEmailComponent_Template_input_ngModelChange_0_listener($event) { i0.ɵɵrestoreView(_r1); i0.ɵɵtwoWayBindingSet(ctx.datavalue, $event) || (ctx.datavalue = $event); return i0.ɵɵresetView($event); });
|
|
@@ -2780,7 +2788,7 @@ class InputEmailComponent extends BaseInput {
|
|
|
2780
2788
|
i0.ɵɵproperty("type", ctx.type);
|
|
2781
2789
|
i0.ɵɵtwoWayProperty("ngModel", ctx.datavalue);
|
|
2782
2790
|
i0.ɵɵproperty("ngModelOptions", ctx.ngModelOptions)("readonly", ctx.readonly)("required", ctx.required)("disabled", ctx.disabled)("maxlength", ctx.maxchars)("pattern", ctx.regexp)("autofocus", ctx.autofocus)("ngClass", ctx.conditionalclass)("ngStyle", ctx.conditionalstyle)("autocomplete", ctx.autocomplete ? "on" : "off");
|
|
2783
|
-
i0.ɵɵattribute("name", ctx.name)("tabindex", ctx.tabindex)("placeholder", ctx.placeholder)("accesskey", ctx.shortcutkey)("aria-label", ctx.
|
|
2791
|
+
i0.ɵɵattribute("name", ctx.name)("tabindex", ctx.tabindex)("placeholder", ctx.placeholder)("accesskey", ctx.shortcutkey)("aria-label", ctx.arialabel);
|
|
2784
2792
|
} }, dependencies: [i1.NgClass, i1.NgStyle, i2$1.DefaultValueAccessor, i2$1.NgControlStatus, i2$1.RequiredValidator, i2$1.MaxLengthValidator, i2$1.PatternValidator, i2$1.EmailValidator, i2$1.NgModel], encapsulation: 2 }); }
|
|
2785
2793
|
}
|
|
2786
2794
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(InputEmailComponent, [{
|
|
@@ -2789,7 +2797,7 @@ class InputEmailComponent extends BaseInput {
|
|
|
2789
2797
|
provideAs(InputEmailComponent, NG_VALUE_ACCESSOR, true),
|
|
2790
2798
|
provideAs(InputEmailComponent, NG_VALIDATORS, true),
|
|
2791
2799
|
provideAsWidgetRef(InputEmailComponent)
|
|
2792
|
-
], template: "<input class=\"form-control app-textbox\"\n focus-target\n
|
|
2800
|
+
], template: "<input class=\"form-control app-textbox\"\n focus-target\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]=\"arialabel\"\n [autofocus]=\"autofocus\"\n [ngClass]=\"conditionalclass\"\n [ngStyle]=\"conditionalstyle\"\n (blur)=\"handleBlur($event)\"\n (ngModelChange)=\"handleChange($event)\"\n [autocomplete]=\"autocomplete ? 'on' : 'off'\"\n (keyup.enter)=\"flushViewChanges(input.value)\"\n email\n #input>\n" }]
|
|
2793
2801
|
}], () => [{ type: i0.Injector }, { type: undefined, decorators: [{
|
|
2794
2802
|
type: Inject,
|
|
2795
2803
|
args: ['EXPLICIT_CONTEXT']
|
|
@@ -2813,6 +2821,7 @@ const inputNumberTypeProps = new Map([
|
|
|
2813
2821
|
['datavalue', PROP_STRING],
|
|
2814
2822
|
['disabled', PROP_BOOLEAN],
|
|
2815
2823
|
['hint', PROP_STRING],
|
|
2824
|
+
['arialabel', PROP_STRING],
|
|
2816
2825
|
['maxchars', PROP_NUMBER],
|
|
2817
2826
|
['maxvalue', PROP_NUMBER],
|
|
2818
2827
|
['minvalue', PROP_NUMBER],
|
|
@@ -2868,7 +2877,7 @@ class InputNumberComponent extends BaseInput {
|
|
|
2868
2877
|
provideAs(InputNumberComponent, NG_VALUE_ACCESSOR, true),
|
|
2869
2878
|
provideAs(InputNumberComponent, NG_VALIDATORS, true),
|
|
2870
2879
|
provideAsWidgetRef(InputNumberComponent)
|
|
2871
|
-
]), i0.ɵɵInheritDefinitionFeature], attrs: _c1$1, decls: 2, vars: 22, consts: [["input", ""], ["focus-target", "",
|
|
2880
|
+
]), i0.ɵɵInheritDefinitionFeature], attrs: _c1$1, decls: 2, vars: 22, consts: [["input", ""], ["focus-target", "", 1, "form-control", "app-textbox", 3, "ngModelChange", "blur", "keyup.enter", "keydown.ArrowUp", "keydown.ArrowDown", "keypress", "ngClass", "type", "ngModel", "ngModelOptions", "readonly", "required", "disabled", "maxlength", "min", "max", "step", "autofocus", "ngStyle", "autocomplete"]], template: function InputNumberComponent_Template(rf, ctx) { if (rf & 1) {
|
|
2872
2881
|
const _r1 = i0.ɵɵgetCurrentView();
|
|
2873
2882
|
i0.ɵɵelementStart(0, "input", 1, 0);
|
|
2874
2883
|
i0.ɵɵtwoWayListener("ngModelChange", function InputNumberComponent_Template_input_ngModelChange_0_listener($event) { i0.ɵɵrestoreView(_r1); i0.ɵɵtwoWayBindingSet(ctx.datavalue, $event) || (ctx.datavalue = $event); return i0.ɵɵresetView($event); });
|
|
@@ -2878,7 +2887,7 @@ class InputNumberComponent extends BaseInput {
|
|
|
2878
2887
|
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(20, _c2, ctx.step === 0))("type", ctx.type);
|
|
2879
2888
|
i0.ɵɵtwoWayProperty("ngModel", ctx.datavalue);
|
|
2880
2889
|
i0.ɵɵproperty("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)("ngClass", ctx.conditionalclass)("ngStyle", ctx.conditionalstyle)("autocomplete", ctx.autocomplete ? "on" : "off");
|
|
2881
|
-
i0.ɵɵattribute("name", ctx.name)("tabindex", ctx.tabindex)("placeholder", ctx.placeholder)("accesskey", ctx.shortcutkey)("aria-label", ctx.
|
|
2890
|
+
i0.ɵɵattribute("name", ctx.name)("tabindex", ctx.tabindex)("placeholder", ctx.placeholder)("accesskey", ctx.shortcutkey)("aria-label", ctx.arialabel);
|
|
2882
2891
|
} }, dependencies: [i1.NgClass, i1.NgStyle, i2$1.DefaultValueAccessor, i2$1.NgControlStatus, i2$1.RequiredValidator, i2$1.MaxLengthValidator, i2$1.NgModel], encapsulation: 2 }); }
|
|
2883
2892
|
}
|
|
2884
2893
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(InputNumberComponent, [{
|
|
@@ -2887,7 +2896,7 @@ class InputNumberComponent extends BaseInput {
|
|
|
2887
2896
|
provideAs(InputNumberComponent, NG_VALUE_ACCESSOR, true),
|
|
2888
2897
|
provideAs(InputNumberComponent, NG_VALIDATORS, true),
|
|
2889
2898
|
provideAsWidgetRef(InputNumberComponent)
|
|
2890
|
-
], template: "<input class=\"form-control app-textbox\"\n [ngClass]=\"{'step-hidden': step === 0}\"\n focus-target\n
|
|
2899
|
+
], template: "<input class=\"form-control app-textbox\"\n [ngClass]=\"{'step-hidden': step === 0}\"\n focus-target\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]=\"arialabel\"\n [autofocus]=\"autofocus\"\n [ngClass]=\"conditionalclass\"\n [ngStyle]=\"conditionalstyle\"\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" }]
|
|
2891
2900
|
}], () => [{ type: i0.Injector }, { type: undefined, decorators: [{
|
|
2892
2901
|
type: Inject,
|
|
2893
2902
|
args: ['EXPLICIT_CONTEXT']
|
|
@@ -2912,6 +2921,7 @@ const inputTextTypeProps = new Map([
|
|
|
2912
2921
|
['disabled', PROP_BOOLEAN],
|
|
2913
2922
|
['displayformat', PROP_STRING],
|
|
2914
2923
|
['hint', PROP_STRING],
|
|
2924
|
+
['arialabel', PROP_STRING],
|
|
2915
2925
|
['maxchars', PROP_NUMBER],
|
|
2916
2926
|
['name', PROP_STRING],
|
|
2917
2927
|
['placeholder', { value: 'Enter text', ...PROP_STRING }],
|
|
@@ -3035,7 +3045,7 @@ class InputTextComponent extends BaseInput {
|
|
|
3035
3045
|
provideAs(InputTextComponent, NG_VALUE_ACCESSOR, true),
|
|
3036
3046
|
provideAs(InputTextComponent, NG_VALIDATORS, true),
|
|
3037
3047
|
provideAsWidgetRef(InputTextComponent)
|
|
3038
|
-
]), i0.ɵɵInheritDefinitionFeature], attrs: _c1, decls: 2, vars: 19, consts: [["input", ""], ["focus-target", "",
|
|
3048
|
+
]), i0.ɵɵInheritDefinitionFeature], attrs: _c1, decls: 2, vars: 19, consts: [["input", ""], ["focus-target", "", 1, "form-control", "app-textbox", 3, "ngModelChange", "blur", "focus", "keyup.enter", "type", "ngModel", "imask", "unmask", "ngModelOptions", "readonly", "required", "disabled", "maxlength", "pattern", "autofocus", "ngClass", "ngStyle", "autocomplete"]], template: function InputTextComponent_Template(rf, ctx) { if (rf & 1) {
|
|
3039
3049
|
const _r1 = i0.ɵɵgetCurrentView();
|
|
3040
3050
|
i0.ɵɵelementStart(0, "input", 1, 0);
|
|
3041
3051
|
i0.ɵɵtwoWayListener("ngModelChange", function InputTextComponent_Template_input_ngModelChange_0_listener($event) { i0.ɵɵrestoreView(_r1); i0.ɵɵtwoWayBindingSet(ctx.datavalue, $event) || (ctx.datavalue = $event); return i0.ɵɵresetView($event); });
|
|
@@ -3045,7 +3055,7 @@ class InputTextComponent extends BaseInput {
|
|
|
3045
3055
|
i0.ɵɵproperty("type", ctx.type);
|
|
3046
3056
|
i0.ɵɵtwoWayProperty("ngModel", ctx.datavalue);
|
|
3047
3057
|
i0.ɵɵproperty("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)("ngClass", ctx.conditionalclass)("ngStyle", ctx.conditionalstyle)("autocomplete", ctx.autocomplete ? "on" : "off");
|
|
3048
|
-
i0.ɵɵattribute("name", ctx.name)("aria-label", ctx.
|
|
3058
|
+
i0.ɵɵattribute("name", ctx.name)("aria-label", ctx.arialabel)("tabindex", ctx.tabindex)("placeholder", ctx.placeholder)("accesskey", ctx.shortcutkey);
|
|
3049
3059
|
} }, dependencies: [i1.NgClass, i1.NgStyle, i2$1.DefaultValueAccessor, i2$1.NgControlStatus, i2$1.RequiredValidator, i2$1.MaxLengthValidator, i2$1.PatternValidator, i2$1.NgModel, i3.IMaskDirective], encapsulation: 2 }); }
|
|
3050
3060
|
}
|
|
3051
3061
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(InputTextComponent, [{
|
|
@@ -3054,7 +3064,7 @@ class InputTextComponent extends BaseInput {
|
|
|
3054
3064
|
provideAs(InputTextComponent, NG_VALUE_ACCESSOR, true),
|
|
3055
3065
|
provideAs(InputTextComponent, NG_VALIDATORS, true),
|
|
3056
3066
|
provideAsWidgetRef(InputTextComponent)
|
|
3057
|
-
], template: "<input class=\"form-control app-textbox\"\n focus-target\n
|
|
3067
|
+
], template: "<input class=\"form-control app-textbox\"\n focus-target\n [type]=\"type\"\n [attr.name]=\"name\"\n [attr.aria-label]=\"arialabel\"\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 [ngClass]=\"conditionalclass\"\n [ngStyle]=\"conditionalstyle\"\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" }]
|
|
3058
3068
|
}], () => [{ type: i0.Injector }, { type: undefined, decorators: [{
|
|
3059
3069
|
type: Inject,
|
|
3060
3070
|
args: ['EXPLICIT_CONTEXT']
|
|
@@ -3080,6 +3090,7 @@ const textareaProps = new Map([
|
|
|
3080
3090
|
['datavalue', PROP_STRING],
|
|
3081
3091
|
['disabled', PROP_BOOLEAN],
|
|
3082
3092
|
['hint', PROP_STRING],
|
|
3093
|
+
['arialabel', PROP_STRING],
|
|
3083
3094
|
['maxchars', PROP_NUMBER],
|
|
3084
3095
|
['name', PROP_STRING],
|
|
3085
3096
|
['placeholder', { value: 'Place your text', ...PROP_STRING }],
|
|
@@ -3137,7 +3148,7 @@ class TextareaComponent extends BaseInput {
|
|
|
3137
3148
|
provideAs(TextareaComponent, NG_VALUE_ACCESSOR, true),
|
|
3138
3149
|
provideAs(TextareaComponent, NG_VALIDATORS, true),
|
|
3139
3150
|
provideAsWidgetRef(TextareaComponent)
|
|
3140
|
-
]), i0.ɵɵInheritDefinitionFeature], decls: 3, vars: 15, consts: [["textarea", ""], ["focus-target", "", "
|
|
3151
|
+
]), i0.ɵɵInheritDefinitionFeature], decls: 3, vars: 15, consts: [["textarea", ""], ["focus-target", "", "aria-multiline", "true", 1, "form-control", "app-textarea", 3, "ngModelChange", "blur", "input", "ngModel", "ngModelOptions", "readonly", "required", "disabled", "maxlength", "autofocus", "ngClass", "ngStyle"], ["class", "textarea-count", 4, "ngIf"], [1, "textarea-count"]], template: function TextareaComponent_Template(rf, ctx) { if (rf & 1) {
|
|
3141
3152
|
const _r1 = i0.ɵɵgetCurrentView();
|
|
3142
3153
|
i0.ɵɵelementStart(0, "textarea", 1, 0);
|
|
3143
3154
|
i0.ɵɵtwoWayListener("ngModelChange", function TextareaComponent_Template_textarea_ngModelChange_0_listener($event) { i0.ɵɵrestoreView(_r1); i0.ɵɵtwoWayBindingSet(ctx.datavalue, $event) || (ctx.datavalue = $event); return i0.ɵɵresetView($event); });
|
|
@@ -3147,7 +3158,7 @@ class TextareaComponent extends BaseInput {
|
|
|
3147
3158
|
} if (rf & 2) {
|
|
3148
3159
|
i0.ɵɵtwoWayProperty("ngModel", ctx.datavalue);
|
|
3149
3160
|
i0.ɵɵproperty("ngModelOptions", ctx.ngModelOptions)("readonly", ctx.readonly)("required", ctx.required)("disabled", ctx.disabled)("maxlength", ctx.maxchars)("autofocus", ctx.autofocus)("ngClass", ctx.conditionalclass)("ngStyle", ctx.conditionalstyle);
|
|
3150
|
-
i0.ɵɵattribute("name", ctx.name)("tabindex", ctx.tabindex)("placeholder", ctx.placeholder)("accesskey", ctx.shortcutkey)("aria-label", ctx.
|
|
3161
|
+
i0.ɵɵattribute("name", ctx.name)("tabindex", ctx.tabindex)("placeholder", ctx.placeholder)("accesskey", ctx.shortcutkey)("aria-label", ctx.arialabel);
|
|
3151
3162
|
i0.ɵɵadvance(2);
|
|
3152
3163
|
i0.ɵɵproperty("ngIf", ctx.maxchars);
|
|
3153
3164
|
} }, dependencies: [i1.NgClass, i1.NgIf, i1.NgStyle, i2$1.DefaultValueAccessor, i2$1.NgControlStatus, i2$1.RequiredValidator, i2$1.MaxLengthValidator, i2$1.NgModel], encapsulation: 2 }); }
|
|
@@ -3158,7 +3169,7 @@ class TextareaComponent extends BaseInput {
|
|
|
3158
3169
|
provideAs(TextareaComponent, NG_VALUE_ACCESSOR, true),
|
|
3159
3170
|
provideAs(TextareaComponent, NG_VALIDATORS, true),
|
|
3160
3171
|
provideAsWidgetRef(TextareaComponent)
|
|
3161
|
-
], template: "<textarea class=\"form-control app-textarea\"\n focus-target\n
|
|
3172
|
+
], template: "<textarea class=\"form-control app-textarea\"\n focus-target\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]=\"arialabel\"\n aria-multiline=\"true\"\n [autofocus]=\"autofocus\"\n [ngClass]=\"conditionalclass\"\n [ngStyle]=\"conditionalstyle\"\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" }]
|
|
3162
3173
|
}], () => [{ type: i0.Injector }, { type: undefined, decorators: [{
|
|
3163
3174
|
type: Inject,
|
|
3164
3175
|
args: ['EXPLICIT_CONTEXT']
|
|
@@ -3171,7 +3182,7 @@ class TextareaComponent extends BaseInput {
|
|
|
3171
3182
|
type: ViewChild,
|
|
3172
3183
|
args: [NgModel]
|
|
3173
3184
|
}] }); })();
|
|
3174
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(TextareaComponent, { className: "TextareaComponent", filePath: "textarea/textarea.component.ts", lineNumber:
|
|
3185
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(TextareaComponent, { className: "TextareaComponent", filePath: "textarea/textarea.component.ts", lineNumber: 23 }); })();
|
|
3175
3186
|
|
|
3176
3187
|
class CaptionPositionDirective {
|
|
3177
3188
|
constructor(inj, app) {
|