@wavemaker/app-ng-runtime 11.10.3-next.25128 → 11.10.3-rc.6079
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.
- package/components/basic/default/bundles/index.umd.js +68 -68
- package/components/basic/default/esm2022/anchor/anchor.component.mjs +18 -18
- package/components/basic/default/esm2022/icon/icon.component.mjs +13 -12
- package/components/basic/default/esm2022/iframe/iframe.component.mjs +10 -9
- package/components/basic/default/esm2022/spinner/spinner.component.mjs +21 -21
- package/components/basic/default/esm2022/video/video.component.mjs +15 -14
- package/components/basic/default/fesm2022/index.mjs +68 -68
- package/components/basic/default/fesm2022/index.mjs.map +1 -1
- package/components/basic/progress/bundles/index.umd.js +17 -16
- package/components/basic/progress/esm2022/progress-bar/progress-bar.component.mjs +8 -7
- package/components/basic/progress/fesm2022/index.mjs +9 -8
- package/components/basic/progress/fesm2022/index.mjs.map +1 -1
- package/components/basic/rich-text-editor/bundles/index.umd.js +12 -11
- package/components/basic/rich-text-editor/esm2022/rich-text-editor.component.mjs +9 -8
- package/components/basic/rich-text-editor/fesm2022/index.mjs +8 -7
- package/components/basic/rich-text-editor/fesm2022/index.mjs.map +1 -1
- package/components/basic/search/bundles/index.umd.js +67 -63
- package/components/basic/search/esm2022/search.component.mjs +67 -63
- package/components/basic/search/esm2022/search.module.mjs +2 -2
- package/components/basic/search/fesm2022/index.mjs +67 -63
- package/components/basic/search/fesm2022/index.mjs.map +1 -1
- package/components/chart/bundles/index.umd.js +17 -17
- package/components/chart/esm2022/chart.component.mjs +18 -18
- package/components/chart/fesm2022/index.mjs +17 -17
- package/components/chart/fesm2022/index.mjs.map +1 -1
- package/components/containers/panel/bundles/index.umd.js +39 -39
- package/components/containers/panel/esm2022/panel.component.mjs +40 -40
- package/components/containers/panel/fesm2022/index.mjs +39 -39
- package/components/containers/panel/fesm2022/index.mjs.map +1 -1
- package/components/containers/tabs/bundles/index.umd.js +29 -29
- package/components/containers/tabs/esm2022/tabs.component.mjs +30 -30
- package/components/containers/tabs/fesm2022/index.mjs +29 -29
- package/components/containers/tabs/fesm2022/index.mjs.map +1 -1
- package/components/containers/wizard/bundles/index.umd.js +49 -49
- package/components/containers/wizard/esm2022/wizard.component.mjs +50 -50
- package/components/containers/wizard/fesm2022/index.mjs +49 -49
- package/components/containers/wizard/fesm2022/index.mjs.map +1 -1
- package/components/data/card/bundles/index.umd.js +29 -29
- package/components/data/card/esm2022/card.component.mjs +30 -30
- package/components/data/card/fesm2022/index.mjs +29 -29
- package/components/data/card/fesm2022/index.mjs.map +1 -1
- package/components/data/form/bundles/index.umd.js +96 -91
- package/components/data/form/esm2022/form.component.mjs +97 -92
- package/components/data/form/fesm2022/index.mjs +96 -91
- package/components/data/form/fesm2022/index.mjs.map +1 -1
- package/components/data/list/bundles/index.umd.js +173 -171
- package/components/data/list/esm2022/list.component.mjs +173 -171
- package/components/data/list/esm2022/list.module.mjs +2 -2
- package/components/data/list/fesm2022/index.mjs +173 -171
- package/components/data/list/fesm2022/index.mjs.map +1 -1
- package/components/data/pagination/bundles/index.umd.js +32 -32
- package/components/data/pagination/esm2022/pagination.component.mjs +33 -33
- package/components/data/pagination/fesm2022/index.mjs +32 -32
- package/components/data/pagination/fesm2022/index.mjs.map +1 -1
- package/components/data/table/bundles/index.umd.js +38 -39
- package/components/data/table/esm2022/table.component.mjs +39 -40
- package/components/data/table/fesm2022/index.mjs +38 -39
- package/components/data/table/fesm2022/index.mjs.map +1 -1
- package/components/dialogs/default/bundles/index.umd.js +95 -66
- package/components/dialogs/default/esm2022/dialog-header/dialog-header.component.mjs +96 -67
- package/components/dialogs/default/fesm2022/index.mjs +95 -66
- package/components/dialogs/default/fesm2022/index.mjs.map +1 -1
- package/components/dialogs/design-dialog/bundles/index.umd.js +7 -7
- package/components/dialogs/design-dialog/esm2022/dialog.component.mjs +8 -8
- package/components/dialogs/design-dialog/fesm2022/index.mjs +7 -7
- package/components/dialogs/design-dialog/fesm2022/index.mjs.map +1 -1
- package/components/dialogs/iframe-dialog/bundles/index.umd.js +25 -24
- package/components/dialogs/iframe-dialog/esm2022/iframe-dialog.component.mjs +16 -15
- package/components/dialogs/iframe-dialog/fesm2022/index.mjs +15 -14
- package/components/dialogs/iframe-dialog/fesm2022/index.mjs.map +1 -1
- package/components/dialogs/partial-dialog/bundles/index.umd.js +8 -8
- package/components/dialogs/partial-dialog/esm2022/partial-dialog.component.mjs +9 -9
- package/components/dialogs/partial-dialog/fesm2022/index.mjs +8 -8
- package/components/dialogs/partial-dialog/fesm2022/index.mjs.map +1 -1
- package/components/input/chips/bundles/index.umd.js +21 -21
- package/components/input/chips/esm2022/chips.component.mjs +22 -22
- package/components/input/chips/fesm2022/index.mjs +21 -21
- package/components/input/chips/fesm2022/index.mjs.map +1 -1
- package/components/input/default/bundles/index.umd.js +209 -201
- package/components/input/default/esm2022/button/button.component.mjs +18 -18
- package/components/input/default/esm2022/checkboxset/checkboxset.component.mjs +69 -68
- package/components/input/default/esm2022/radioset/radioset.component.mjs +69 -68
- package/components/input/default/esm2022/select/select.component.mjs +27 -21
- package/components/input/default/esm2022/switch/switch.component.mjs +24 -24
- package/components/input/default/esm2022/textarea/textarea.component.mjs +8 -8
- package/components/input/default/fesm2022/index.mjs +209 -201
- package/components/input/default/fesm2022/index.mjs.map +1 -1
- package/components/input/epoch/bundles/index.umd.js +164 -171
- package/components/input/epoch/esm2022/date/date.component.mjs +15 -14
- package/components/input/epoch/esm2022/date-time/date-time-picker.component.mjs +59 -64
- package/components/input/epoch/esm2022/date-time/date-time.component.mjs +19 -18
- package/components/input/epoch/esm2022/picker/picker.component.mjs +25 -26
- package/components/input/epoch/esm2022/time/time.component.mjs +18 -17
- package/components/input/epoch/fesm2022/index.mjs +117 -124
- package/components/input/epoch/fesm2022/index.mjs.map +1 -1
- package/components/input/file-upload/bundles/index.umd.js +114 -111
- package/components/input/file-upload/esm2022/file-upload.component.mjs +115 -112
- package/components/input/file-upload/fesm2022/index.mjs +114 -111
- package/components/input/file-upload/fesm2022/index.mjs.map +1 -1
- package/components/input/rating/bundles/index.umd.js +14 -14
- package/components/input/rating/esm2022/rating.component.mjs +15 -15
- package/components/input/rating/fesm2022/index.mjs +14 -14
- package/components/input/rating/fesm2022/index.mjs.map +1 -1
- package/components/input/slider/bundles/index.umd.js +40 -39
- package/components/input/slider/esm2022/slider.component.mjs +11 -10
- package/components/input/slider/fesm2022/index.mjs +10 -9
- package/components/input/slider/fesm2022/index.mjs.map +1 -1
- package/components/navigation/breadcrumb/bundles/index.umd.js +15 -16
- package/components/navigation/breadcrumb/esm2022/breadcrumb.component.mjs +16 -17
- package/components/navigation/breadcrumb/fesm2022/index.mjs +15 -16
- package/components/navigation/breadcrumb/fesm2022/index.mjs.map +1 -1
- package/components/navigation/menu/bundles/index.umd.js +71 -69
- package/components/navigation/menu/esm2022/menu-dropdown/menu-dropdown.component.mjs +7 -7
- package/components/navigation/menu/esm2022/menu-dropdown-item/menu-dropdown-item.component.mjs +15 -15
- package/components/navigation/menu/esm2022/menu.component.mjs +26 -22
- package/components/navigation/menu/esm2022/menu.module.mjs +4 -4
- package/components/navigation/menu/esm2022/nav/nav.component.mjs +24 -26
- package/components/navigation/menu/fesm2022/index.mjs +71 -69
- package/components/navigation/menu/fesm2022/index.mjs.map +1 -1
- package/components/navigation/navbar/bundles/index.umd.js +12 -12
- package/components/navigation/navbar/esm2022/navbar.component.mjs +13 -13
- package/components/navigation/navbar/fesm2022/index.mjs +12 -12
- package/components/navigation/navbar/fesm2022/index.mjs.map +1 -1
- package/mobile/components/basic/default/bundles/index.umd.js +111 -102
- package/mobile/components/basic/default/esm2022/file-browser/file-browser.component.mjs +40 -39
- package/mobile/components/basic/default/esm2022/network-info-toaster/network-info-toaster.component.mjs +44 -35
- package/mobile/components/basic/default/esm2022/process-manager/process-manager.component.mjs +28 -27
- package/mobile/components/basic/default/fesm2022/index.mjs +107 -98
- package/mobile/components/basic/default/fesm2022/index.mjs.map +1 -1
- package/mobile/components/containers/segmented-control/bundles/index.umd.js +16 -16
- package/mobile/components/containers/segmented-control/esm2022/segment-content/segment-content.component.mjs +9 -8
- package/mobile/components/containers/segmented-control/esm2022/segmented-control.component.mjs +10 -10
- package/mobile/components/containers/segmented-control/fesm2022/index.mjs +16 -16
- package/mobile/components/containers/segmented-control/fesm2022/index.mjs.map +1 -1
- package/mobile/components/data/media-list/bundles/index.umd.js +28 -28
- package/mobile/components/data/media-list/esm2022/media-list.component.mjs +29 -29
- package/mobile/components/data/media-list/fesm2022/index.mjs +28 -28
- package/mobile/components/data/media-list/fesm2022/index.mjs.map +1 -1
- package/mobile/components/page/mobile-navbar/bundles/index.umd.js +29 -29
- package/mobile/components/page/mobile-navbar/esm2022/mobile-navbar.component.mjs +30 -30
- package/mobile/components/page/mobile-navbar/fesm2022/index.mjs +29 -29
- package/mobile/components/page/mobile-navbar/fesm2022/index.mjs.map +1 -1
- package/mobile/components/page/tab-bar/bundles/index.umd.js +28 -28
- package/mobile/components/page/tab-bar/esm2022/tabbar.component.mjs +29 -29
- package/mobile/components/page/tab-bar/fesm2022/index.mjs +28 -28
- package/mobile/components/page/tab-bar/fesm2022/index.mjs.map +1 -1
- package/npm-shrinkwrap.json +2 -2
- package/package-lock.json +2 -2
- package/package.json +1 -1
- package/runtime/base/bundles/index.umd.js +215 -219
- package/runtime/base/esm2022/components/app-component/app.component.mjs +41 -38
- package/runtime/base/esm2022/components/app-spinner.component.mjs +21 -25
- package/runtime/base/esm2022/components/custom-toaster.component.mjs +16 -18
- package/runtime/base/fesm2022/index.mjs +95 -99
- package/runtime/base/fesm2022/index.mjs.map +1 -1
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@angular/common'), require('@angular/forms'), require('ngx-bootstrap/datepicker'), require('ngx-bootstrap/dropdown'), require('ngx-bootstrap/timepicker'), require('@wm/components/base'), require('@wm/core'), require('@wm/components/input'), require('ngx-bootstrap/modal'), require('lodash-es'), require('imask'), require('angular-imask')) :
|
|
3
3
|
typeof define === 'function' && define.amd ? define(['exports', '@angular/core', '@angular/common', '@angular/forms', 'ngx-bootstrap/datepicker', 'ngx-bootstrap/dropdown', 'ngx-bootstrap/timepicker', '@wm/components/base', '@wm/core', '@wm/components/input', 'ngx-bootstrap/modal', 'lodash-es', 'imask', 'angular-imask'], factory) :
|
|
4
4
|
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global.wm = global.wm || {}, global.wm.components = global.wm.components || {}, global.wm.components.input = global.wm.components.input || {}, global.wm.components.input.epoch = {}), global.ng.core, global.ng.common, global.ng.forms, global.datepicker, global.dropdown, global.timepicker, global.wm.components.base, global.wm.core, global.wm.components.input, global.modal, global._, global.IMask, global.angularIMask));
|
|
5
|
-
})(this, (function (exports, i0,
|
|
5
|
+
})(this, (function (exports, i0, i2, i5, i3, i4$1, i6, base, i1$1, input, i1, lodashEs, IMask, i4) { 'use strict';
|
|
6
6
|
|
|
7
7
|
function _interopNamespaceDefault(e) {
|
|
8
8
|
var n = Object.create(null);
|
|
@@ -22,17 +22,18 @@
|
|
|
22
22
|
}
|
|
23
23
|
|
|
24
24
|
var i0__namespace = /*#__PURE__*/_interopNamespaceDefault(i0);
|
|
25
|
-
var i4__namespace = /*#__PURE__*/_interopNamespaceDefault(i4);
|
|
26
25
|
var i2__namespace = /*#__PURE__*/_interopNamespaceDefault(i2);
|
|
27
|
-
var i3$1__namespace = /*#__PURE__*/_interopNamespaceDefault(i3$1);
|
|
28
26
|
var i5__namespace = /*#__PURE__*/_interopNamespaceDefault(i5);
|
|
27
|
+
var i3__namespace = /*#__PURE__*/_interopNamespaceDefault(i3);
|
|
28
|
+
var i4$1__namespace = /*#__PURE__*/_interopNamespaceDefault(i4$1);
|
|
29
|
+
var i6__namespace = /*#__PURE__*/_interopNamespaceDefault(i6);
|
|
29
30
|
var i1$1__namespace = /*#__PURE__*/_interopNamespaceDefault(i1$1);
|
|
30
31
|
var i1__namespace = /*#__PURE__*/_interopNamespaceDefault(i1);
|
|
31
|
-
var
|
|
32
|
+
var i4__namespace = /*#__PURE__*/_interopNamespaceDefault(i4);
|
|
32
33
|
|
|
33
34
|
const _c0$4 = ["*"];
|
|
34
|
-
function
|
|
35
|
-
i0__namespace.ɵɵelementStart(0, "div",
|
|
35
|
+
function PickerComponent_div_6_Template(rf, ctx) { if (rf & 1) {
|
|
36
|
+
i0__namespace.ɵɵelementStart(0, "div", 5);
|
|
36
37
|
i0__namespace.ɵɵtext(1);
|
|
37
38
|
i0__namespace.ɵɵelementEnd();
|
|
38
39
|
} if (rf & 2) {
|
|
@@ -103,26 +104,26 @@
|
|
|
103
104
|
this.pickerAnimator = new PickerAnimator(this);
|
|
104
105
|
}
|
|
105
106
|
static { this.ɵfac = function PickerComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || PickerComponent)(i0__namespace.ɵɵdirectiveInject(i0__namespace.Injector)); }; }
|
|
106
|
-
static { this.ɵcmp = /*@__PURE__*/ i0__namespace.ɵɵdefineComponent({ type: PickerComponent, selectors: [["wm-picker"]], inputs: { selectedValue: "selectedValue", options: "options" }, outputs: { change: "change" }, decls:
|
|
107
|
+
static { this.ɵcmp = /*@__PURE__*/ i0__namespace.ɵɵdefineComponent({ type: PickerComponent, selectors: [["wm-picker"]], inputs: { selectedValue: "selectedValue", options: "options" }, outputs: { change: "change" }, decls: 12, vars: 1, consts: [[1, "app-picker"], [1, "app-picker-option-container"], [1, "app-picker-option", "app-picker-empty-option"], ["class", "app-picker-option", 4, "ngFor", "ngForOf"], [1, "app-picker-ruler"], [1, "app-picker-option"]], template: function PickerComponent_Template(rf, ctx) { if (rf & 1) {
|
|
107
108
|
i0__namespace.ɵɵelementStart(0, "div", 0)(1, "div", 1)(2, "div", 2);
|
|
108
109
|
i0__namespace.ɵɵtext(3, "E");
|
|
109
110
|
i0__namespace.ɵɵelementEnd();
|
|
110
111
|
i0__namespace.ɵɵelementStart(4, "div", 2);
|
|
111
112
|
i0__namespace.ɵɵtext(5, "E");
|
|
112
113
|
i0__namespace.ɵɵelementEnd();
|
|
113
|
-
i0__namespace.ɵɵ
|
|
114
|
-
i0__namespace.ɵɵelementStart(
|
|
115
|
-
i0__namespace.ɵɵtext(
|
|
114
|
+
i0__namespace.ɵɵtemplate(6, PickerComponent_div_6_Template, 2, 1, "div", 3);
|
|
115
|
+
i0__namespace.ɵɵelementStart(7, "div", 2);
|
|
116
|
+
i0__namespace.ɵɵtext(8, "E");
|
|
116
117
|
i0__namespace.ɵɵelementEnd();
|
|
117
|
-
i0__namespace.ɵɵelementStart(
|
|
118
|
-
i0__namespace.ɵɵtext(
|
|
118
|
+
i0__namespace.ɵɵelementStart(9, "div", 2);
|
|
119
|
+
i0__namespace.ɵɵtext(10, "E");
|
|
119
120
|
i0__namespace.ɵɵelementEnd()();
|
|
120
|
-
i0__namespace.ɵɵelement(
|
|
121
|
+
i0__namespace.ɵɵelement(11, "div", 4);
|
|
121
122
|
i0__namespace.ɵɵelementEnd();
|
|
122
123
|
} if (rf & 2) {
|
|
123
124
|
i0__namespace.ɵɵadvance(6);
|
|
124
|
-
i0__namespace.ɵɵ
|
|
125
|
-
} }, encapsulation: 2 }); }
|
|
125
|
+
i0__namespace.ɵɵproperty("ngForOf", ctx.options);
|
|
126
|
+
} }, dependencies: [i2__namespace.NgForOf], encapsulation: 2 }); }
|
|
126
127
|
}
|
|
127
128
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(PickerComponent, [{
|
|
128
129
|
type: i0.Component,
|
|
@@ -130,20 +131,18 @@
|
|
|
130
131
|
selector: 'wm-picker',
|
|
131
132
|
template: `
|
|
132
133
|
<div class="app-picker">
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
<div class="app-picker-
|
|
143
|
-
</div>
|
|
144
|
-
<div class="app-picker-ruler"></div>
|
|
134
|
+
<div class="app-picker-option-container">
|
|
135
|
+
<div class="app-picker-option app-picker-empty-option">E</div>
|
|
136
|
+
<div class="app-picker-option app-picker-empty-option">E</div>
|
|
137
|
+
<div *ngFor="let option of options; index as i;" class="app-picker-option">
|
|
138
|
+
{{option.label}}
|
|
139
|
+
</div>
|
|
140
|
+
<div class="app-picker-option app-picker-empty-option">E</div>
|
|
141
|
+
<div class="app-picker-option app-picker-empty-option">E</div>
|
|
142
|
+
</div>
|
|
143
|
+
<div class="app-picker-ruler"></div>
|
|
145
144
|
</div>
|
|
146
|
-
|
|
145
|
+
`
|
|
147
146
|
}]
|
|
148
147
|
}], () => [{ type: i0__namespace.Injector }], { change: [{
|
|
149
148
|
type: i0.Output
|
|
@@ -152,7 +151,7 @@
|
|
|
152
151
|
}], options: [{
|
|
153
152
|
type: i0.Input
|
|
154
153
|
}] }); })();
|
|
155
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassDebugInfo(PickerComponent, { className: "PickerComponent", filePath: "picker/picker.component.ts", lineNumber:
|
|
154
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassDebugInfo(PickerComponent, { className: "PickerComponent", filePath: "picker/picker.component.ts", lineNumber: 34 }); })();
|
|
156
155
|
class PickerAnimator {
|
|
157
156
|
constructor(picker) {
|
|
158
157
|
this.picker = picker;
|
|
@@ -209,28 +208,28 @@
|
|
|
209
208
|
}
|
|
210
209
|
|
|
211
210
|
const _c0$3 = ["datetimepickerTemplate"];
|
|
212
|
-
function
|
|
211
|
+
function DateTimePickerComponent_ng_template_0_bs_datepicker_inline_3_Template(rf, ctx) { if (rf & 1) {
|
|
213
212
|
const _r2 = i0__namespace.ɵɵgetCurrentView();
|
|
214
213
|
i0__namespace.ɵɵelementStart(0, "bs-datepicker-inline", 11);
|
|
215
|
-
i0__namespace.ɵɵlistener("bsValueChange", function
|
|
214
|
+
i0__namespace.ɵɵlistener("bsValueChange", function DateTimePickerComponent_ng_template_0_bs_datepicker_inline_3_Template_bs_datepicker_inline_bsValueChange_0_listener($event) { i0__namespace.ɵɵrestoreView(_r2); const ctx_r2 = i0__namespace.ɵɵnextContext(2); return i0__namespace.ɵɵresetView(ctx_r2.onDateUpdate($event)); });
|
|
216
215
|
i0__namespace.ɵɵelementEnd();
|
|
217
216
|
} if (rf & 2) {
|
|
218
217
|
const ctx_r2 = i0__namespace.ɵɵnextContext(2);
|
|
219
218
|
i0__namespace.ɵɵproperty("bsConfig", ctx_r2.bsDatepickerConfig)("datesDisabled", ctx_r2.excludedDatesToDisable)("bsValue", ctx_r2.changedValue);
|
|
220
219
|
} }
|
|
221
|
-
function
|
|
220
|
+
function DateTimePickerComponent_ng_template_0_wm_timepicker_4_Template(rf, ctx) { if (rf & 1) {
|
|
222
221
|
const _r4 = i0__namespace.ɵɵgetCurrentView();
|
|
223
222
|
i0__namespace.ɵɵelementStart(0, "wm-timepicker", 12);
|
|
224
|
-
i0__namespace.ɵɵlistener("change", function
|
|
223
|
+
i0__namespace.ɵɵlistener("change", function DateTimePickerComponent_ng_template_0_wm_timepicker_4_Template_wm_timepicker_change_0_listener($event) { i0__namespace.ɵɵrestoreView(_r4); const ctx_r2 = i0__namespace.ɵɵnextContext(2); return i0__namespace.ɵɵresetView(ctx_r2.onTimeUpdate($event)); });
|
|
225
224
|
i0__namespace.ɵɵelementEnd();
|
|
226
225
|
} if (rf & 2) {
|
|
227
226
|
const ctx_r2 = i0__namespace.ɵɵnextContext(2);
|
|
228
227
|
i0__namespace.ɵɵproperty("value", ctx_r2.changedValue)("min", ctx_r2.minTime)("max", ctx_r2.maxTime);
|
|
229
228
|
} }
|
|
230
|
-
function
|
|
229
|
+
function DateTimePickerComponent_ng_template_0_button_8_Template(rf, ctx) { if (rf & 1) {
|
|
231
230
|
const _r5 = i0__namespace.ɵɵgetCurrentView();
|
|
232
231
|
i0__namespace.ɵɵelementStart(0, "button", 13);
|
|
233
|
-
i0__namespace.ɵɵlistener("click", function
|
|
232
|
+
i0__namespace.ɵɵlistener("click", function DateTimePickerComponent_ng_template_0_button_8_Template_button_click_0_listener() { i0__namespace.ɵɵrestoreView(_r5); const ctx_r2 = i0__namespace.ɵɵnextContext(2); return i0__namespace.ɵɵresetView(ctx_r2.setToday()); });
|
|
234
233
|
i0__namespace.ɵɵtext(1);
|
|
235
234
|
i0__namespace.ɵɵelementEnd();
|
|
236
235
|
} if (rf & 2) {
|
|
@@ -238,10 +237,10 @@
|
|
|
238
237
|
i0__namespace.ɵɵadvance();
|
|
239
238
|
i0__namespace.ɵɵtextInterpolate(ctx_r2.appLocale.LABEL_TODAY_DATE || "Today");
|
|
240
239
|
} }
|
|
241
|
-
function
|
|
240
|
+
function DateTimePickerComponent_ng_template_0_button_9_Template(rf, ctx) { if (rf & 1) {
|
|
242
241
|
const _r6 = i0__namespace.ɵɵgetCurrentView();
|
|
243
242
|
i0__namespace.ɵɵelementStart(0, "button", 14);
|
|
244
|
-
i0__namespace.ɵɵlistener("click", function
|
|
243
|
+
i0__namespace.ɵɵlistener("click", function DateTimePickerComponent_ng_template_0_button_9_Template_button_click_0_listener() { i0__namespace.ɵɵrestoreView(_r6); const ctx_r2 = i0__namespace.ɵɵnextContext(2); return i0__namespace.ɵɵresetView(ctx_r2.onOkClick()); });
|
|
245
244
|
i0__namespace.ɵɵtext(1);
|
|
246
245
|
i0__namespace.ɵɵelementEnd();
|
|
247
246
|
} if (rf & 2) {
|
|
@@ -253,12 +252,12 @@
|
|
|
253
252
|
const _r1 = i0__namespace.ɵɵgetCurrentView();
|
|
254
253
|
i0__namespace.ɵɵelementStart(0, "div", 1)(1, "div", 2);
|
|
255
254
|
i0__namespace.ɵɵelement(2, "div", 3);
|
|
256
|
-
i0__namespace.ɵɵtemplate(3,
|
|
255
|
+
i0__namespace.ɵɵtemplate(3, DateTimePickerComponent_ng_template_0_bs_datepicker_inline_3_Template, 1, 3, "bs-datepicker-inline", 4)(4, DateTimePickerComponent_ng_template_0_wm_timepicker_4_Template, 1, 3, "wm-timepicker", 5);
|
|
257
256
|
i0__namespace.ɵɵelementStart(5, "span", 6);
|
|
258
257
|
i0__namespace.ɵɵtext(6);
|
|
259
258
|
i0__namespace.ɵɵelementEnd()();
|
|
260
259
|
i0__namespace.ɵɵelementStart(7, "div", 7);
|
|
261
|
-
i0__namespace.ɵɵtemplate(8,
|
|
260
|
+
i0__namespace.ɵɵtemplate(8, DateTimePickerComponent_ng_template_0_button_8_Template, 2, 1, "button", 8)(9, DateTimePickerComponent_ng_template_0_button_9_Template, 2, 1, "button", 9);
|
|
262
261
|
i0__namespace.ɵɵelementStart(10, "button", 10);
|
|
263
262
|
i0__namespace.ɵɵlistener("click", function DateTimePickerComponent_ng_template_0_Template_button_click_10_listener() { i0__namespace.ɵɵrestoreView(_r1); const ctx_r2 = i0__namespace.ɵɵnextContext(); return i0__namespace.ɵɵresetView(ctx_r2.clear()); });
|
|
264
263
|
i0__namespace.ɵɵtext(11);
|
|
@@ -266,15 +265,15 @@
|
|
|
266
265
|
} if (rf & 2) {
|
|
267
266
|
const ctx_r2 = i0__namespace.ɵɵnextContext();
|
|
268
267
|
i0__namespace.ɵɵadvance(3);
|
|
269
|
-
i0__namespace.ɵɵ
|
|
268
|
+
i0__namespace.ɵɵproperty("ngIf", ctx_r2.mode === "DATE_TIME" || ctx_r2.mode === "DATE");
|
|
270
269
|
i0__namespace.ɵɵadvance();
|
|
271
|
-
i0__namespace.ɵɵ
|
|
270
|
+
i0__namespace.ɵɵproperty("ngIf", ctx_r2.mode === "DATE_TIME" || ctx_r2.mode === "TIME");
|
|
272
271
|
i0__namespace.ɵɵadvance(2);
|
|
273
272
|
i0__namespace.ɵɵtextInterpolate1(" ", ctx_r2.getDateLabel(), " ");
|
|
274
273
|
i0__namespace.ɵɵadvance(2);
|
|
275
|
-
i0__namespace.ɵɵ
|
|
274
|
+
i0__namespace.ɵɵproperty("ngIf", ctx_r2.mode === "DATE_TIME" || ctx_r2.mode === "DATE");
|
|
276
275
|
i0__namespace.ɵɵadvance();
|
|
277
|
-
i0__namespace.ɵɵ
|
|
276
|
+
i0__namespace.ɵɵproperty("ngIf", ctx_r2.mode === "DATE_TIME" || ctx_r2.mode === "TIME");
|
|
278
277
|
i0__namespace.ɵɵadvance(2);
|
|
279
278
|
i0__namespace.ɵɵtextInterpolate(ctx_r2.appLocale.LABEL_CLEAR_DATE || "Clear");
|
|
280
279
|
} }
|
|
@@ -451,9 +450,9 @@
|
|
|
451
450
|
} if (rf & 2) {
|
|
452
451
|
let _t;
|
|
453
452
|
i0__namespace.ɵɵqueryRefresh(_t = i0__namespace.ɵɵloadQuery()) && (ctx.datetimepickerTemplate = _t.first);
|
|
454
|
-
} }, inputs: { mode: "mode", placement: "placement", _bsDatepickerConfig: [0, "config", "_bsDatepickerConfig"], minTime: "minTime", maxTime: "maxTime", _displayFormat: "_displayFormat", excludedDatesToDisable: "excludedDatesToDisable", value: "value", bsDatepickerConfig: [0, "config", "bsDatepickerConfig"], excludedDaysToDisable: "excludedDaysToDisable", displayFormat: "displayFormat" }, outputs: { change: "change" }, decls: 2, vars: 0, consts: [["datetimepickerTemplate", ""], [1, "app-datetime-picker"], [1, "modal-body"], [1, "mobile-datetime-picker-options"], ["bsDatepicker", "", 3, "bsConfig", "datesDisabled", "bsValue"], [3, "value", "min", "max"], [1, "text-primary", "date-picker-value"], [1, "modal-footer"], [
|
|
453
|
+
} }, inputs: { mode: "mode", placement: "placement", _bsDatepickerConfig: [0, "config", "_bsDatepickerConfig"], minTime: "minTime", maxTime: "maxTime", _displayFormat: "_displayFormat", excludedDatesToDisable: "excludedDatesToDisable", value: "value", bsDatepickerConfig: [0, "config", "bsDatepickerConfig"], excludedDaysToDisable: "excludedDaysToDisable", displayFormat: "displayFormat" }, outputs: { change: "change" }, decls: 2, vars: 0, consts: [["datetimepickerTemplate", ""], [1, "app-datetime-picker"], [1, "modal-body"], [1, "mobile-datetime-picker-options"], ["bsDatepicker", "", 3, "bsConfig", "datesDisabled", "bsValue", "bsValueChange", 4, "ngIf"], [3, "value", "min", "max", "change", 4, "ngIf"], [1, "text-primary", "date-picker-value"], [1, "modal-footer"], ["class", "btn btn-secondary today-btn", 3, "click", 4, "ngIf"], ["class", "btn btn-primary pull-right ok-btn", 3, "click", 4, "ngIf"], [1, "btn", "btn-secondary", "pull-right", "clear-btn", 3, "click"], ["bsDatepicker", "", 3, "bsValueChange", "bsConfig", "datesDisabled", "bsValue"], [3, "change", "value", "min", "max"], [1, "btn", "btn-secondary", "today-btn", 3, "click"], [1, "btn", "btn-primary", "pull-right", "ok-btn", 3, "click"]], template: function DateTimePickerComponent_Template(rf, ctx) { if (rf & 1) {
|
|
455
454
|
i0__namespace.ɵɵtemplate(0, DateTimePickerComponent_ng_template_0_Template, 12, 6, "ng-template", null, 0, i0__namespace.ɵɵtemplateRefExtractor);
|
|
456
|
-
} }, dependencies: () => [i2__namespace.BsDatepickerDirective,
|
|
455
|
+
} }, dependencies: () => [i2__namespace.NgIf, i3__namespace.BsDatepickerDirective, i3__namespace.BsDatepickerInlineDirective, TimePickerComponent], encapsulation: 2 }); }
|
|
457
456
|
}
|
|
458
457
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(DateTimePickerComponent, [{
|
|
459
458
|
type: i0.Component,
|
|
@@ -461,49 +460,43 @@
|
|
|
461
460
|
selector: 'wm-datetimepicker',
|
|
462
461
|
template: `
|
|
463
462
|
<ng-template #datetimepickerTemplate>
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
(click)="onOkClick()">{{appLocale.LABEL_OK || "Ok" }}</button>
|
|
501
|
-
}
|
|
502
|
-
<button
|
|
503
|
-
class="btn btn-secondary pull-right clear-btn"
|
|
504
|
-
(click)="clear()">{{appLocale.LABEL_CLEAR_DATE || "Clear" }}</button>
|
|
463
|
+
<div class="app-datetime-picker">
|
|
464
|
+
<div class="modal-body">
|
|
465
|
+
<div class="mobile-datetime-picker-options">
|
|
466
|
+
|
|
467
|
+
</div>
|
|
468
|
+
<bs-datepicker-inline
|
|
469
|
+
[bsConfig]="bsDatepickerConfig"
|
|
470
|
+
[datesDisabled]="excludedDatesToDisable"
|
|
471
|
+
bsDatepicker
|
|
472
|
+
[bsValue]="changedValue"
|
|
473
|
+
(bsValueChange)="onDateUpdate($event)"
|
|
474
|
+
*ngIf="mode === 'DATE_TIME' || mode === 'DATE'">
|
|
475
|
+
</bs-datepicker-inline>
|
|
476
|
+
<wm-timepicker
|
|
477
|
+
[value]="changedValue"
|
|
478
|
+
[min]="minTime"
|
|
479
|
+
[max]="maxTime"
|
|
480
|
+
(change)="onTimeUpdate($event)"
|
|
481
|
+
*ngIf="mode === 'DATE_TIME' || mode === 'TIME'"></wm-timepicker>
|
|
482
|
+
<span class="text-primary date-picker-value">
|
|
483
|
+
{{getDateLabel()}}
|
|
484
|
+
</span>
|
|
485
|
+
</div>
|
|
486
|
+
<div class="modal-footer">
|
|
487
|
+
<button
|
|
488
|
+
*ngIf="mode === 'DATE_TIME' || mode === 'DATE'"
|
|
489
|
+
class="btn btn-secondary today-btn"
|
|
490
|
+
(click)="setToday()">{{appLocale.LABEL_TODAY_DATE || "Today" }}</button>
|
|
491
|
+
<button
|
|
492
|
+
class="btn btn-primary pull-right ok-btn"
|
|
493
|
+
*ngIf="mode === 'DATE_TIME' || mode === 'TIME'"
|
|
494
|
+
(click)="onOkClick()">{{appLocale.LABEL_OK || "Ok" }}</button>
|
|
495
|
+
<button
|
|
496
|
+
class="btn btn-secondary pull-right clear-btn"
|
|
497
|
+
(click)="clear()">{{appLocale.LABEL_CLEAR_DATE || "Clear" }}</button>
|
|
498
|
+
</div>
|
|
505
499
|
</div>
|
|
506
|
-
</div>
|
|
507
500
|
</ng-template>
|
|
508
501
|
`
|
|
509
502
|
}]
|
|
@@ -537,7 +530,7 @@
|
|
|
537
530
|
}], displayFormat: [{
|
|
538
531
|
type: i0.Input
|
|
539
532
|
}] }); })();
|
|
540
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassDebugInfo(DateTimePickerComponent, { className: "DateTimePickerComponent", filePath: "date-time/date-time-picker.component.ts", lineNumber:
|
|
533
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassDebugInfo(DateTimePickerComponent, { className: "DateTimePickerComponent", filePath: "date-time/date-time-picker.component.ts", lineNumber: 54 }); })();
|
|
541
534
|
class TimePickerComponent {
|
|
542
535
|
constructor(inj) {
|
|
543
536
|
this.inj = inj;
|
|
@@ -661,7 +654,7 @@
|
|
|
661
654
|
}], change: [{
|
|
662
655
|
type: i0.Output
|
|
663
656
|
}] }); })();
|
|
664
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassDebugInfo(TimePickerComponent, { className: "TimePickerComponent", filePath: "date-time/date-time-picker.component.ts", lineNumber:
|
|
657
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassDebugInfo(TimePickerComponent, { className: "TimePickerComponent", filePath: "date-time/date-time-picker.component.ts", lineNumber: 305 }); })();
|
|
665
658
|
|
|
666
659
|
const CURRENT_DATE$2 = 'CURRENT_DATE';
|
|
667
660
|
const months = ['January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', 'October', 'November', 'December'];
|
|
@@ -673,8 +666,8 @@
|
|
|
673
666
|
};
|
|
674
667
|
// Providing meridians to the timepicker baesd on selected locale
|
|
675
668
|
function getTimepickerConfig(i18nService) {
|
|
676
|
-
return Object.assign(new
|
|
677
|
-
meridians:
|
|
669
|
+
return Object.assign(new i6.TimepickerConfig(), {
|
|
670
|
+
meridians: i2.getLocaleDayPeriods(i18nService.getSelectedLocale(), i2.FormStyle.Format, i2.TranslationWidth.Abbreviated)
|
|
678
671
|
});
|
|
679
672
|
}
|
|
680
673
|
class BaseDateTimeComponent extends input.BaseFormCustomComponent {
|
|
@@ -687,14 +680,14 @@
|
|
|
687
680
|
/**
|
|
688
681
|
* This is an internal property used to map the containerClass, showWeekNumbers etc., to the bsDatepicker
|
|
689
682
|
*/
|
|
690
|
-
this._dateOptions = new
|
|
683
|
+
this._dateOptions = new i3.BsDatepickerConfig();
|
|
691
684
|
this.i18nService = this.inj.get(i1$1.AbstractI18nService);
|
|
692
685
|
this.invokeEventCallback('beforeload');
|
|
693
686
|
this.datePipe = this.inj.get(base.ToDatePipe);
|
|
694
687
|
this.selectedLocale = this.i18nService.getSelectedLocale();
|
|
695
688
|
this._dateOptions.todayPosition = 'left';
|
|
696
689
|
this._dateOptions.clearPosition = 'right';
|
|
697
|
-
this.meridians =
|
|
690
|
+
this.meridians = i2.getLocaleDayPeriods(this.selectedLocale, i2.FormStyle.Format, i2.TranslationWidth.Abbreviated);
|
|
698
691
|
this.loadNativeDateInput = i1$1.isMobile() && !this.showcustompicker;
|
|
699
692
|
this.cancelLocaleChangeSubscription = this.getAppInstance().subscribe("locale-changed", (locale) => {
|
|
700
693
|
this.datePipe.datePipe.locale = locale.angular;
|
|
@@ -1638,8 +1631,8 @@
|
|
|
1638
1631
|
}
|
|
1639
1632
|
static { this.ɵfac = function BaseDateTimeComponent_Factory(__ngFactoryType__) { i0__namespace.ɵɵinvalidFactory(); }; }
|
|
1640
1633
|
static { this.ɵdir = /*@__PURE__*/ i0__namespace.ɵɵdefineDirective({ type: BaseDateTimeComponent, viewQuery: function BaseDateTimeComponent_Query(rf, ctx) { if (rf & 1) {
|
|
1641
|
-
i0__namespace.ɵɵviewQuery(
|
|
1642
|
-
i0__namespace.ɵɵviewQuery(
|
|
1634
|
+
i0__namespace.ɵɵviewQuery(i4$1.BsDropdownDirective, 5);
|
|
1635
|
+
i0__namespace.ɵɵviewQuery(i6.TimepickerComponent, 5);
|
|
1643
1636
|
i0__namespace.ɵɵviewQuery(DateTimePickerComponent, 5);
|
|
1644
1637
|
} if (rf & 2) {
|
|
1645
1638
|
let _t;
|
|
@@ -1657,10 +1650,10 @@
|
|
|
1657
1650
|
type: i0.Optional
|
|
1658
1651
|
}] }], { bsDropdown: [{
|
|
1659
1652
|
type: i0.ViewChild,
|
|
1660
|
-
args: [
|
|
1653
|
+
args: [i4$1.BsDropdownDirective]
|
|
1661
1654
|
}], bsTimePicker: [{
|
|
1662
1655
|
type: i0.ViewChild,
|
|
1663
|
-
args: [
|
|
1656
|
+
args: [i6.TimepickerComponent]
|
|
1664
1657
|
}], datetimepickerComponent: [{
|
|
1665
1658
|
type: i0.ViewChild,
|
|
1666
1659
|
args: [DateTimePickerComponent]
|
|
@@ -1820,13 +1813,13 @@
|
|
|
1820
1813
|
|
|
1821
1814
|
const _c0$2 = ["dateInput"];
|
|
1822
1815
|
const _c1$2 = ["wmDate", ""];
|
|
1823
|
-
function
|
|
1816
|
+
function DateComponent_ng_template_8_Template(rf, ctx) { if (rf & 1) {
|
|
1824
1817
|
const _r2 = i0__namespace.ɵɵgetCurrentView();
|
|
1825
|
-
i0__namespace.ɵɵelementStart(0, "wm-datetimepicker",
|
|
1826
|
-
i0__namespace.ɵɵlistener("change", function
|
|
1818
|
+
i0__namespace.ɵɵelementStart(0, "wm-datetimepicker", 9);
|
|
1819
|
+
i0__namespace.ɵɵlistener("change", function DateComponent_ng_template_8_Template_wm_datetimepicker_change_0_listener($event) { i0__namespace.ɵɵrestoreView(_r2); const ctx_r2 = i0__namespace.ɵɵnextContext(); return i0__namespace.ɵɵresetView(ctx_r2.onDateChange($event)); });
|
|
1827
1820
|
i0__namespace.ɵɵelementEnd();
|
|
1828
|
-
i0__namespace.ɵɵelementStart(1, "div",
|
|
1829
|
-
i0__namespace.ɵɵlistener("click", function
|
|
1821
|
+
i0__namespace.ɵɵelementStart(1, "div", 10);
|
|
1822
|
+
i0__namespace.ɵɵlistener("click", function DateComponent_ng_template_8_Template_div_click_1_listener() { i0__namespace.ɵɵrestoreView(_r2); const ctx_r2 = i0__namespace.ɵɵnextContext(); return i0__namespace.ɵɵresetView(!(ctx_r2.disabled || ctx_r2.readonly) && ctx_r2.showDatePickerModal(ctx_r2.bsDataValue)); })("focus", function DateComponent_ng_template_8_Template_div_focus_1_listener($event) { i0__namespace.ɵɵrestoreView(_r2); const ctx_r2 = i0__namespace.ɵɵnextContext(); ctx_r2.onDateTimeInputFocus(true); return i0__namespace.ɵɵresetView(ctx_r2.invokeOnFocus($event)); })("blur", function DateComponent_ng_template_8_Template_div_blur_1_listener($event) { i0__namespace.ɵɵrestoreView(_r2); const ctx_r2 = i0__namespace.ɵɵnextContext(); ctx_r2.onDateTimeInputBlur(); return i0__namespace.ɵɵresetView(ctx_r2.invokeOnTouched($event)); });
|
|
1830
1823
|
i0__namespace.ɵɵelementEnd();
|
|
1831
1824
|
} if (rf & 2) {
|
|
1832
1825
|
const ctx_r2 = i0__namespace.ɵɵnextContext();
|
|
@@ -2108,17 +2101,17 @@
|
|
|
2108
2101
|
}
|
|
2109
2102
|
static { this.ɵfac = function DateComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || DateComponent)(i0__namespace.ɵɵdirectiveInject(i0__namespace.Injector), i0__namespace.ɵɵdirectiveInject(i0__namespace.ChangeDetectorRef), i0__namespace.ɵɵdirectiveInject(i1$1__namespace.AppDefaults), i0__namespace.ɵɵdirectiveInject('EXPLICIT_CONTEXT', 8)); }; }
|
|
2110
2103
|
static { this.ɵcmp = /*@__PURE__*/ i0__namespace.ɵɵdefineComponent({ type: DateComponent, selectors: [["", "wmDate", ""]], viewQuery: function DateComponent_Query(rf, ctx) { if (rf & 1) {
|
|
2111
|
-
i0__namespace.ɵɵviewQuery(
|
|
2112
|
-
i0__namespace.ɵɵviewQuery(_c0$2, 5,
|
|
2104
|
+
i0__namespace.ɵɵviewQuery(i3.BsDatepickerDirective, 5);
|
|
2105
|
+
i0__namespace.ɵɵviewQuery(_c0$2, 5, i4.IMaskDirective);
|
|
2113
2106
|
} if (rf & 2) {
|
|
2114
2107
|
let _t;
|
|
2115
2108
|
i0__namespace.ɵɵqueryRefresh(_t = i0__namespace.ɵɵloadQuery()) && (ctx.bsDatePickerDirective = _t.first);
|
|
2116
2109
|
i0__namespace.ɵɵqueryRefresh(_t = i0__namespace.ɵɵloadQuery()) && (ctx.imask = _t.first);
|
|
2117
2110
|
} }, features: [i0__namespace.ɵɵProvidersFeature([
|
|
2118
|
-
base.provideAs(DateComponent,
|
|
2119
|
-
base.provideAs(DateComponent,
|
|
2111
|
+
base.provideAs(DateComponent, i5.NG_VALUE_ACCESSOR, true),
|
|
2112
|
+
base.provideAs(DateComponent, i5.NG_VALIDATORS, true),
|
|
2120
2113
|
base.provideAsWidgetRef(DateComponent)
|
|
2121
|
-
]), i0__namespace.ɵɵInheritDefinitionFeature], attrs: _c1$2, decls: 9, vars: 28, consts: [["dateInput", ""], ["datepicker", "bsDatepicker"], ["focus-target", "", "type", "text", 1, "form-control", "app-textbox", "app-dateinput", "display-input", 3, "click", "focus", "blur", "change", "keydown", "name", "imask", "unmask", "tabindex", "value", "disabled", "autofocus", "required", "readOnly"], [1, "input-group-btn"], ["type", "button", "aria-haspopup", "true", 1, "btn", "btn-default", "btn-time", 3, "click", "tabindex", "disabled"], ["aria-hidden", "true", 1, "app-icon", "wm-sl-l", "sl-calendar"], [2, "width", "0", "display", "inline-block"], ["aria-label", "datepicker dropdownmenu", "aria-controls", "date", "bsDatepicker", "", "placement", "bottom right", 1, "model-holder", 3, "onShown", "onHidden", "bsValueChange", "tabindex", "container", "bsConfig", "isOpen", "daysDisabled", "datesDisabled", "isDisabled", "bsValue"], ["dateTimePicker", "", "mode", "DATE", 3, "change", "config", "placement", "excludedDaysToDisable", "excludedDatesToDisable", "displayFormat", "value"], ["role", "button", 1, "mobile-input", "mobile-datepicker-container", 3, "click", "focus", "blur", "tabindex"]], template: function DateComponent_Template(rf, ctx) { if (rf & 1) {
|
|
2114
|
+
]), i0__namespace.ɵɵInheritDefinitionFeature], attrs: _c1$2, decls: 9, vars: 28, consts: [["dateInput", ""], ["datepicker", "bsDatepicker"], ["focus-target", "", "type", "text", 1, "form-control", "app-textbox", "app-dateinput", "display-input", 3, "click", "focus", "blur", "change", "keydown", "name", "imask", "unmask", "tabindex", "value", "disabled", "autofocus", "required", "readOnly"], [1, "input-group-btn"], ["type", "button", "aria-haspopup", "true", 1, "btn", "btn-default", "btn-time", 3, "click", "tabindex", "disabled"], ["aria-hidden", "true", 1, "app-icon", "wm-sl-l", "sl-calendar"], [2, "width", "0", "display", "inline-block"], ["aria-label", "datepicker dropdownmenu", "aria-controls", "date", "bsDatepicker", "", "placement", "bottom right", 1, "model-holder", 3, "onShown", "onHidden", "bsValueChange", "tabindex", "container", "bsConfig", "isOpen", "daysDisabled", "datesDisabled", "isDisabled", "bsValue"], [3, "ngIf"], ["dateTimePicker", "", "mode", "DATE", 3, "change", "config", "placement", "excludedDaysToDisable", "excludedDatesToDisable", "displayFormat", "value"], ["role", "button", 1, "mobile-input", "mobile-datepicker-container", 3, "click", "focus", "blur", "tabindex"]], template: function DateComponent_Template(rf, ctx) { if (rf & 1) {
|
|
2122
2115
|
const _r1 = i0__namespace.ɵɵgetCurrentView();
|
|
2123
2116
|
i0__namespace.ɵɵelementStart(0, "input", 2, 0);
|
|
2124
2117
|
i0__namespace.ɵɵlistener("click", function DateComponent_Template_input_click_0_listener($event) { i0__namespace.ɵɵrestoreView(_r1); return i0__namespace.ɵɵresetView(ctx.toggleDpDropdown($event, true)); })("focus", function DateComponent_Template_input_focus_0_listener($event) { i0__namespace.ɵɵrestoreView(_r1); ctx.onDateTimeInputFocus(); ctx.invokeOnFocus($event); return i0__namespace.ɵɵresetView(ctx.updateIMask()); })("blur", function DateComponent_Template_input_blur_0_listener($event) { i0__namespace.ɵɵrestoreView(_r1); return i0__namespace.ɵɵresetView(ctx.onInputBlur($event)); })("change", function DateComponent_Template_input_change_0_listener($event) { i0__namespace.ɵɵrestoreView(_r1); return i0__namespace.ɵɵresetView(ctx.onDisplayDateChange($event)); })("keydown", function DateComponent_Template_input_keydown_0_listener($event) { i0__namespace.ɵɵrestoreView(_r1); ctx._triggeredByUser = true; return i0__namespace.ɵɵresetView(ctx.onDisplayKeydown($event)); });
|
|
@@ -2130,7 +2123,7 @@
|
|
|
2130
2123
|
i0__namespace.ɵɵelementStart(5, "div", 6)(6, "input", 7, 1);
|
|
2131
2124
|
i0__namespace.ɵɵlistener("onShown", function DateComponent_Template_input_onShown_6_listener() { i0__namespace.ɵɵrestoreView(_r1); return i0__namespace.ɵɵresetView(ctx.onDatePickerOpen()); })("onHidden", function DateComponent_Template_input_onHidden_6_listener() { i0__namespace.ɵɵrestoreView(_r1); return i0__namespace.ɵɵresetView(ctx.hideDatepickerDropdown()); })("bsValueChange", function DateComponent_Template_input_bsValueChange_6_listener($event) { i0__namespace.ɵɵrestoreView(_r1); return i0__namespace.ɵɵresetView(ctx.onDateChange($event)); });
|
|
2132
2125
|
i0__namespace.ɵɵelementEnd()();
|
|
2133
|
-
i0__namespace.ɵɵtemplate(8,
|
|
2126
|
+
i0__namespace.ɵɵtemplate(8, DateComponent_ng_template_8_Template, 2, 8, "ng-template", 8);
|
|
2134
2127
|
} if (rf & 2) {
|
|
2135
2128
|
i0__namespace.ɵɵproperty("name", ctx.name)("imask", ctx.mask)("unmask", true)("tabindex", ctx.loadNativeDateInput ? "-1" : ctx.tabindex)("value", ctx.displayValue)("disabled", ctx.disabled || ctx.readonly)("autofocus", ctx.autofocus)("required", ctx.required)("readOnly", ctx.isReadOnly);
|
|
2136
2129
|
i0__namespace.ɵɵattribute("aria-hidden", !!ctx.loadNativeDateInput)("placeholder", ctx.placeholder)("accesskey", ctx.shortcutkey)("aria-label", ctx.arialabel);
|
|
@@ -2141,16 +2134,16 @@
|
|
|
2141
2134
|
i0__namespace.ɵɵproperty("tabindex", -1)("container", ctx.containerTarget || ".wm-app")("bsConfig", ctx._dateOptions)("isOpen", ctx.isOpen)("daysDisabled", ctx.excludedDaysToDisable)("datesDisabled", ctx.excludedDatesToDisable)("isDisabled", ctx.disabled || ctx.readonly)("bsValue", ctx.bsDataValue);
|
|
2142
2135
|
i0__namespace.ɵɵattribute("aria-hidden", !!ctx.loadNativeDateInput);
|
|
2143
2136
|
i0__namespace.ɵɵadvance(2);
|
|
2144
|
-
i0__namespace.ɵɵ
|
|
2145
|
-
} }, dependencies: [i2__namespace.BsDatepickerDirective,
|
|
2137
|
+
i0__namespace.ɵɵproperty("ngIf", ctx.loadNativeDateInput);
|
|
2138
|
+
} }, dependencies: [i2__namespace.NgIf, i3__namespace.BsDatepickerDirective, i3__namespace.BsDatepickerInputDirective, i4__namespace.IMaskDirective, DateTimePickerComponent], encapsulation: 2 }); }
|
|
2146
2139
|
}
|
|
2147
2140
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(DateComponent, [{
|
|
2148
2141
|
type: i0.Component,
|
|
2149
2142
|
args: [{ selector: '[wmDate]', providers: [
|
|
2150
|
-
base.provideAs(DateComponent,
|
|
2151
|
-
base.provideAs(DateComponent,
|
|
2143
|
+
base.provideAs(DateComponent, i5.NG_VALUE_ACCESSOR, true),
|
|
2144
|
+
base.provideAs(DateComponent, i5.NG_VALIDATORS, true),
|
|
2152
2145
|
base.provideAsWidgetRef(DateComponent)
|
|
2153
|
-
], template: "<input class=\"form-control app-textbox app-dateinput display-input\"\n
|
|
2146
|
+
], template: " <input class=\"form-control app-textbox app-dateinput display-input\"\n focus-target\n type=\"text\"\n [name]=\"name\"\n #dateInput\n [imask]=\"mask\"\n [unmask]=\"true\"\n [tabindex]=\"loadNativeDateInput ? '-1' : tabindex\"\n [attr.aria-hidden]=\"!!loadNativeDateInput\"\n [value]=\"displayValue\"\n (click)=\"toggleDpDropdown($event, true)\"\n (focus)=\"onDateTimeInputFocus(); invokeOnFocus($event); updateIMask()\"\n (blur)=\"onInputBlur($event)\"\n [disabled]=\"disabled || readonly\"\n [autofocus]=\"autofocus\"\n [required]=\"required\"\n [readOnly]=\"isReadOnly\"\n [attr.placeholder]=\"placeholder\"\n [attr.accesskey]=\"shortcutkey\"\n [attr.aria-label]=\"arialabel\"\n (change)=\"onDisplayDateChange($event)\"\n (keydown)=\"this._triggeredByUser = true; onDisplayKeydown($event);\">\n\n <span class=\"input-group-btn\">\n <button type=\"button\"\n class=\"btn btn-default btn-time\"\n [tabindex]=\"loadNativeDateInput ? '-1' : tabindex\"\n [attr.aria-hidden]=\"!!loadNativeDateInput\"\n [disabled]=\"disabled || readonly\"\n [attr.aria-label]=\"displayValue ? 'Change Date ' + displayValue : 'Choose date by pressing enter'\"\n aria-haspopup=\"true\"\n [attr.aria-expanded]=\"isOpen\"\n (click)=\"toggleDpDropdown($event, false)\">\n <i aria-hidden=\"true\"\n class=\"app-icon wm-sl-l sl-calendar\"></i>\n </button>\n </span>\n <div style=\"width: 0;display: inline-block;\">\n <input class=\"model-holder\"\n aria-label=\"datepicker dropdownmenu\"\n aria-controls=\"date\"\n [tabindex]=\"-1\"\n [attr.aria-hidden]=\"!!loadNativeDateInput\"\n [container]=\"containerTarget || '.wm-app'\"\n [bsConfig]=\"_dateOptions\"\n [isOpen]=\"isOpen\"\n #datepicker=\"bsDatepicker\"\n bsDatepicker\n [daysDisabled]=\"excludedDaysToDisable\"\n [datesDisabled]=\"excludedDatesToDisable\"\n placement=\"bottom right\"\n [isDisabled]=\"disabled || readonly\"\n [bsValue]=\"bsDataValue\"\n (onShown)=\"onDatePickerOpen()\"\n (onHidden)=\"hideDatepickerDropdown()\"\n (bsValueChange)=\"onDateChange($event)\">\n</div>\n\n<ng-template [ngIf]=\"loadNativeDateInput\">\n <wm-datetimepicker\n dateTimePicker\n mode=\"DATE\"\n [config]=\"_dateOptions\"\n [placement]=\"modal\"\n [excludedDaysToDisable]=\"excludedDaysToDisable\"\n [excludedDatesToDisable]=\"excludedDatesToDisable\"\n [displayFormat]=\"dateInputFormat\"\n [value]=\"bsDataValue\"\n (change)=\"onDateChange($event)\">\n </wm-datetimepicker>\n <div class=\"mobile-input mobile-datepicker-container\"\n [tabindex]=\"tabindex || 0\"\n (click)=\"!(disabled || readonly) && showDatePickerModal(bsDataValue)\"\n (focus)=\"onDateTimeInputFocus(true); invokeOnFocus($event);\"\n (blur)=\"onDateTimeInputBlur(); invokeOnTouched($event)\"\n [attr.aria-label]=\"displayValue ? 'Change Date ' + displayValue : arialabel || 'Choose Date'\"\n role=\"button\">\n </div>\n</ng-template>\n" }]
|
|
2154
2147
|
}], () => [{ type: i0__namespace.Injector }, { type: i0__namespace.ChangeDetectorRef }, { type: i1$1__namespace.AppDefaults }, { type: undefined, decorators: [{
|
|
2155
2148
|
type: i0.Inject,
|
|
2156
2149
|
args: ['EXPLICIT_CONTEXT']
|
|
@@ -2158,10 +2151,10 @@
|
|
|
2158
2151
|
type: i0.Optional
|
|
2159
2152
|
}] }], { bsDatePickerDirective: [{
|
|
2160
2153
|
type: i0.ViewChild,
|
|
2161
|
-
args: [
|
|
2154
|
+
args: [i3.BsDatepickerDirective]
|
|
2162
2155
|
}], imask: [{
|
|
2163
2156
|
type: i0.ViewChild,
|
|
2164
|
-
args: ['dateInput', { read:
|
|
2157
|
+
args: ['dateInput', { read: i4.IMaskDirective }]
|
|
2165
2158
|
}] }); })();
|
|
2166
2159
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassDebugInfo(DateComponent, { className: "DateComponent", filePath: "date/date.component.ts", lineNumber: 44 }); })();
|
|
2167
2160
|
|
|
@@ -2213,9 +2206,9 @@
|
|
|
2213
2206
|
const _c1$1 = () => ({ standalone: true });
|
|
2214
2207
|
function DatetimeComponent_div_10_Template(rf, ctx) { if (rf & 1) {
|
|
2215
2208
|
const _r2 = i0__namespace.ɵɵgetCurrentView();
|
|
2216
|
-
i0__namespace.ɵɵelementStart(0, "div",
|
|
2209
|
+
i0__namespace.ɵɵelementStart(0, "div", 12);
|
|
2217
2210
|
i0__namespace.ɵɵlistener("click", function DatetimeComponent_div_10_Template_div_click_0_listener($event) { i0__namespace.ɵɵrestoreView(_r2); const ctx_r2 = i0__namespace.ɵɵnextContext(); return i0__namespace.ɵɵresetView(ctx_r2.preventTpClose($event)); });
|
|
2218
|
-
i0__namespace.ɵɵelementStart(1, "timepicker",
|
|
2211
|
+
i0__namespace.ɵɵelementStart(1, "timepicker", 13);
|
|
2219
2212
|
i0__namespace.ɵɵtwoWayListener("ngModelChange", function DatetimeComponent_div_10_Template_timepicker_ngModelChange_1_listener($event) { i0__namespace.ɵɵrestoreView(_r2); const ctx_r2 = i0__namespace.ɵɵnextContext(); i0__namespace.ɵɵtwoWayBindingSet(ctx_r2.bsTimeValue, $event) || (ctx_r2.bsTimeValue = $event); return i0__namespace.ɵɵresetView($event); });
|
|
2220
2213
|
i0__namespace.ɵɵlistener("isValid", function DatetimeComponent_div_10_Template_timepicker_isValid_1_listener($event) { i0__namespace.ɵɵrestoreView(_r2); const ctx_r2 = i0__namespace.ɵɵnextContext(); return i0__namespace.ɵɵresetView(ctx_r2.isValid($event)); })("ngModelChange", function DatetimeComponent_div_10_Template_timepicker_ngModelChange_1_listener($event) { i0__namespace.ɵɵrestoreView(_r2); const ctx_r2 = i0__namespace.ɵɵnextContext(); return i0__namespace.ɵɵresetView(ctx_r2.onModelUpdate($event, "time")); });
|
|
2221
2214
|
i0__namespace.ɵɵelementEnd()();
|
|
@@ -2226,13 +2219,13 @@
|
|
|
2226
2219
|
i0__namespace.ɵɵtwoWayProperty("ngModel", ctx_r2.bsTimeValue);
|
|
2227
2220
|
i0__namespace.ɵɵproperty("ngModelOptions", i0__namespace.ɵɵpureFunction0(12, _c1$1))("min", ctx_r2.minTime)("max", ctx_r2.maxTime)("hourStep", ctx_r2.hourstep)("minuteStep", ctx_r2.minutestep)("secondsStep", ctx_r2.secondsstep)("mousewheel", true)("arrowkeys", true)("showSeconds", ctx_r2.showseconds);
|
|
2228
2221
|
} }
|
|
2229
|
-
function
|
|
2222
|
+
function DatetimeComponent_ng_template_11_Template(rf, ctx) { if (rf & 1) {
|
|
2230
2223
|
const _r4 = i0__namespace.ɵɵgetCurrentView();
|
|
2231
|
-
i0__namespace.ɵɵelementStart(0, "wm-datetimepicker",
|
|
2232
|
-
i0__namespace.ɵɵlistener("change", function
|
|
2224
|
+
i0__namespace.ɵɵelementStart(0, "wm-datetimepicker", 14);
|
|
2225
|
+
i0__namespace.ɵɵlistener("change", function DatetimeComponent_ng_template_11_Template_wm_datetimepicker_change_0_listener($event) { i0__namespace.ɵɵrestoreView(_r4); const ctx_r2 = i0__namespace.ɵɵnextContext(); return i0__namespace.ɵɵresetView(ctx_r2.onModelUpdate($event, "date")); });
|
|
2233
2226
|
i0__namespace.ɵɵelementEnd();
|
|
2234
|
-
i0__namespace.ɵɵelementStart(1, "div",
|
|
2235
|
-
i0__namespace.ɵɵlistener("click", function
|
|
2227
|
+
i0__namespace.ɵɵelementStart(1, "div", 15);
|
|
2228
|
+
i0__namespace.ɵɵlistener("click", function DatetimeComponent_ng_template_11_Template_div_click_1_listener() { i0__namespace.ɵɵrestoreView(_r4); const ctx_r2 = i0__namespace.ɵɵnextContext(); return i0__namespace.ɵɵresetView(!(ctx_r2.disabled || ctx_r2.readonly) && ctx_r2.showDatePickerModal(ctx_r2.bsDateValue)); })("focus", function DatetimeComponent_ng_template_11_Template_div_focus_1_listener($event) { i0__namespace.ɵɵrestoreView(_r4); const ctx_r2 = i0__namespace.ɵɵnextContext(); ctx_r2.onDateTimeInputFocus(true); return i0__namespace.ɵɵresetView(ctx_r2.invokeOnFocus($event)); })("blur", function DatetimeComponent_ng_template_11_Template_div_blur_1_listener($event) { i0__namespace.ɵɵrestoreView(_r4); const ctx_r2 = i0__namespace.ɵɵnextContext(); ctx_r2.onDateTimeInputBlur(); return i0__namespace.ɵɵresetView(ctx_r2.invokeOnTouched($event)); });
|
|
2236
2229
|
i0__namespace.ɵɵelementEnd();
|
|
2237
2230
|
} if (rf & 2) {
|
|
2238
2231
|
const ctx_r2 = i0__namespace.ɵɵnextContext();
|
|
@@ -2636,16 +2629,16 @@
|
|
|
2636
2629
|
}
|
|
2637
2630
|
static { this.ɵfac = function DatetimeComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || DatetimeComponent)(i0__namespace.ɵɵdirectiveInject(i0__namespace.Injector), i0__namespace.ɵɵdirectiveInject(i0__namespace.NgZone), i0__namespace.ɵɵdirectiveInject(i0__namespace.ChangeDetectorRef), i0__namespace.ɵɵdirectiveInject(i1$1__namespace.AppDefaults), i0__namespace.ɵɵdirectiveInject(i1$1__namespace.App), i0__namespace.ɵɵdirectiveInject('EXPLICIT_CONTEXT', 8)); }; }
|
|
2638
2631
|
static { this.ɵcmp = /*@__PURE__*/ i0__namespace.ɵɵdefineComponent({ type: DatetimeComponent, selectors: [["", "wmDateTime", ""]], viewQuery: function DatetimeComponent_Query(rf, ctx) { if (rf & 1) {
|
|
2639
|
-
i0__namespace.ɵɵviewQuery(
|
|
2632
|
+
i0__namespace.ɵɵviewQuery(i3.BsDatepickerDirective, 5);
|
|
2640
2633
|
} if (rf & 2) {
|
|
2641
2634
|
let _t;
|
|
2642
2635
|
i0__namespace.ɵɵqueryRefresh(_t = i0__namespace.ɵɵloadQuery()) && (ctx.bsDatePickerDirective = _t.first);
|
|
2643
2636
|
} }, features: [i0__namespace.ɵɵProvidersFeature([
|
|
2644
|
-
base.provideAs(DatetimeComponent,
|
|
2645
|
-
base.provideAs(DatetimeComponent,
|
|
2637
|
+
base.provideAs(DatetimeComponent, i5.NG_VALUE_ACCESSOR, true),
|
|
2638
|
+
base.provideAs(DatetimeComponent, i5.NG_VALIDATORS, true),
|
|
2646
2639
|
base.provideAsWidgetRef(DatetimeComponent),
|
|
2647
|
-
{ provide:
|
|
2648
|
-
]), i0__namespace.ɵɵInheritDefinitionFeature], attrs: _c0$1, decls: 12, vars: 31, consts: [["datepicker", "bsDatepicker"], ["dropdown", "", "autoClose", "false", 2, "display", "inherit", 3, "onShown", "isOpen", "container"], ["focus-target", "", "type", "text", 1, "form-control", "app-textbox", "display-input", 3, "click", "focus", "blur", "change", "keydown", "name", "tabindex", "value", "autofocus", "disabled", "required", "readOnly"], [1, "input-group-btn"], ["type", "button", "aria-haspopup", "true", 1, "btn", "btn-default", "btn-date", 3, "click", "tabindex", "disabled"], ["aria-hidden", "true", 1, "app-icon", "wm-sl-l", "sl-calendar"], ["type", "button", "aria-label", "Select time", "aria-haspopup", "true", "aria-expanded", "false", 1, "btn", "btn-default", "btn-time", 3, "click", "tabindex", "disabled"], ["aria-hidden", "true", 1, "app-icon", "wm-sl-l", "sl-time"], [2, "width", "0", "display", "inline-block"], ["aria-label", "datepicker dropdownmenu", "aria-controls", "date", "focus-target", "", "placement", "bottom right", "bsDatepicker", "", 1, "model-holder", 3, "onShown", "onHidden", "bsValueChange", "tabindex", "container", "bsConfig", "isOpen", "daysDisabled", "datesDisabled", "isDisabled", "bsValue"], ["class", "dropdown-menu", "aria-label", "timepicker dropdown", "aria-controls", "time", 3, "click", 4, "dropdownMenu"], ["aria-label", "timepicker dropdown", "aria-controls", "time", 1, "dropdown-menu", 3, "click"], [1, "model-holder", 3, "ngModelChange", "isValid", "showMeridian", "readonlyInput", "ngModel", "ngModelOptions", "min", "max", "hourStep", "minuteStep", "secondsStep", "mousewheel", "arrowkeys", "showSeconds"], ["dateTimePicker", "", 3, "change", "config", "placement", "excludedDaysToDisable", "excludedDatesToDisable", "displayFormat", "value"], ["role", "button", 1, "mobile-input", "mobile-datepicker-container", 3, "click", "focus", "blur", "tabindex"]], template: function DatetimeComponent_Template(rf, ctx) { if (rf & 1) {
|
|
2640
|
+
{ provide: i6.TimepickerConfig, deps: [i1$1.AbstractI18nService], useFactory: getTimepickerConfig }
|
|
2641
|
+
]), i0__namespace.ɵɵInheritDefinitionFeature], attrs: _c0$1, decls: 12, vars: 31, consts: [["datepicker", "bsDatepicker"], ["dropdown", "", "autoClose", "false", 2, "display", "inherit", 3, "onShown", "isOpen", "container"], ["focus-target", "", "type", "text", 1, "form-control", "app-textbox", "display-input", 3, "click", "focus", "blur", "change", "keydown", "name", "tabindex", "value", "autofocus", "disabled", "required", "readOnly"], [1, "input-group-btn"], ["type", "button", "aria-haspopup", "true", 1, "btn", "btn-default", "btn-date", 3, "click", "tabindex", "disabled"], ["aria-hidden", "true", 1, "app-icon", "wm-sl-l", "sl-calendar"], ["type", "button", "aria-label", "Select time", "aria-haspopup", "true", "aria-expanded", "false", 1, "btn", "btn-default", "btn-time", 3, "click", "tabindex", "disabled"], ["aria-hidden", "true", 1, "app-icon", "wm-sl-l", "sl-time"], [2, "width", "0", "display", "inline-block"], ["aria-label", "datepicker dropdownmenu", "aria-controls", "date", "focus-target", "", "placement", "bottom right", "bsDatepicker", "", 1, "model-holder", 3, "onShown", "onHidden", "bsValueChange", "tabindex", "container", "bsConfig", "isOpen", "daysDisabled", "datesDisabled", "isDisabled", "bsValue"], ["class", "dropdown-menu", "aria-label", "timepicker dropdown", "aria-controls", "time", 3, "click", 4, "dropdownMenu"], [3, "ngIf"], ["aria-label", "timepicker dropdown", "aria-controls", "time", 1, "dropdown-menu", 3, "click"], [1, "model-holder", 3, "ngModelChange", "isValid", "showMeridian", "readonlyInput", "ngModel", "ngModelOptions", "min", "max", "hourStep", "minuteStep", "secondsStep", "mousewheel", "arrowkeys", "showSeconds"], ["dateTimePicker", "", 3, "change", "config", "placement", "excludedDaysToDisable", "excludedDatesToDisable", "displayFormat", "value"], ["role", "button", 1, "mobile-input", "mobile-datepicker-container", 3, "click", "focus", "blur", "tabindex"]], template: function DatetimeComponent_Template(rf, ctx) { if (rf & 1) {
|
|
2649
2642
|
const _r1 = i0__namespace.ɵɵgetCurrentView();
|
|
2650
2643
|
i0__namespace.ɵɵelementStart(0, "div", 1);
|
|
2651
2644
|
i0__namespace.ɵɵlistener("onShown", function DatetimeComponent_Template_div_onShown_0_listener() { i0__namespace.ɵɵrestoreView(_r1); return i0__namespace.ɵɵresetView(ctx.onTimepickerOpen()); });
|
|
@@ -2665,7 +2658,7 @@
|
|
|
2665
2658
|
i0__namespace.ɵɵelementEnd()();
|
|
2666
2659
|
i0__namespace.ɵɵtemplate(10, DatetimeComponent_div_10_Template, 2, 13, "div", 10);
|
|
2667
2660
|
i0__namespace.ɵɵelementEnd();
|
|
2668
|
-
i0__namespace.ɵɵtemplate(11,
|
|
2661
|
+
i0__namespace.ɵɵtemplate(11, DatetimeComponent_ng_template_11_Template, 2, 8, "ng-template", 11);
|
|
2669
2662
|
} if (rf & 2) {
|
|
2670
2663
|
i0__namespace.ɵɵproperty("isOpen", ctx.isTimeOpen)("container", "body");
|
|
2671
2664
|
i0__namespace.ɵɵadvance();
|
|
@@ -2681,17 +2674,17 @@
|
|
|
2681
2674
|
i0__namespace.ɵɵproperty("tabindex", -1)("container", ctx.containerTarget || ".wm-app")("bsConfig", ctx._dateOptions)("isOpen", ctx.isDateOpen)("daysDisabled", ctx.excludedDaysToDisable)("datesDisabled", ctx.excludedDatesToDisable)("isDisabled", ctx.disabled || ctx.readonly || ctx.isCurrentDate)("bsValue", ctx.bsDateValue);
|
|
2682
2675
|
i0__namespace.ɵɵattribute("aria-hidden", !!ctx.loadNativeDateInput);
|
|
2683
2676
|
i0__namespace.ɵɵadvance(3);
|
|
2684
|
-
i0__namespace.ɵɵ
|
|
2685
|
-
} }, dependencies: [i2__namespace.BsDatepickerDirective,
|
|
2677
|
+
i0__namespace.ɵɵproperty("ngIf", ctx.loadNativeDateInput);
|
|
2678
|
+
} }, dependencies: [i2__namespace.NgIf, i3__namespace.BsDatepickerDirective, i3__namespace.BsDatepickerInputDirective, i4$1__namespace.BsDropdownMenuDirective, i4$1__namespace.BsDropdownDirective, i5__namespace.NgControlStatus, i5__namespace.NgModel, i6__namespace.TimepickerComponent, DateTimePickerComponent], encapsulation: 2 }); }
|
|
2686
2679
|
}
|
|
2687
2680
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(DatetimeComponent, [{
|
|
2688
2681
|
type: i0.Component,
|
|
2689
2682
|
args: [{ selector: '[wmDateTime]', providers: [
|
|
2690
|
-
base.provideAs(DatetimeComponent,
|
|
2691
|
-
base.provideAs(DatetimeComponent,
|
|
2683
|
+
base.provideAs(DatetimeComponent, i5.NG_VALUE_ACCESSOR, true),
|
|
2684
|
+
base.provideAs(DatetimeComponent, i5.NG_VALIDATORS, true),
|
|
2692
2685
|
base.provideAsWidgetRef(DatetimeComponent),
|
|
2693
|
-
{ provide:
|
|
2694
|
-
], template: "<div dropdown\n
|
|
2686
|
+
{ provide: i6.TimepickerConfig, deps: [i1$1.AbstractI18nService], useFactory: getTimepickerConfig }
|
|
2687
|
+
], template: " <div dropdown\n [isOpen]=\"isTimeOpen\"\n autoClose=\"false\"\n [container]=\"'body'\"\n (onShown)=\"onTimepickerOpen()\"\n style=\"display: inherit;\">\n <input class=\"form-control app-textbox display-input\"\n [attr.aria-label]=\"arialabel\"\n focus-target\n [name]=\"name\"\n [tabindex]=\"loadNativeDateInput ? '-1' : tabindex\"\n [attr.aria-hidden]=\"!!loadNativeDateInput\"\n type=\"text\"\n [value]=\"displayValue\"\n (click)=\"toggleDpDropdown($event, true)\"\n (focus)=\"onDateTimeInputFocus(); invokeOnFocus($event);\"\n (blur)=\"onInputBlur($event)\"\n (change)=\"onDateChange($event)\"\n [autofocus]=\"autofocus\"\n [disabled]=\"disabled || readonly || isCurrentDate\"\n [required]=\"required\"\n [readOnly]=\"isReadOnly\"\n [attr.placeholder]=\"placeholder\"\n [attr.accesskey]=\"shortcutkey\"\n (keydown)=\"this._triggeredByUser = true; onDisplayKeydown($event)\">\n\n <span class=\"input-group-btn\">\n <button type=\"button\"\n class=\"btn btn-default btn-date\"\n [tabindex]=\"loadNativeDateInput ? '-1' : tabindex\"\n [attr.aria-hidden]=\"!!loadNativeDateInput\"\n [disabled]=\"disabled || readonly || isCurrentDate\"\n [attr.aria-label]=\"displayValue ? 'Change Date ' + displayValue : 'Choose date by pressing enter'\"\n aria-haspopup=\"true\"\n [attr.aria-expanded]=\"isDateOpen\"\n (click)=\"toggleDpDropdown($event, false)\">\n <i aria-hidden=\"true\"\n class=\"app-icon wm-sl-l sl-calendar\"></i>\n </button>\n <button type=\"button\"\n class=\"btn btn-default btn-time\"\n [tabindex]=\"loadNativeDateInput ? '-1' : tabindex\"\n [attr.aria-hidden]=\"!!loadNativeDateInput\"\n [disabled]=\"disabled || readonly || isCurrentDate\"\n aria-label=\"Select time\"\n aria-haspopup=\"true\"\n aria-expanded=\"false\"\n (click)=\"toggleTimePicker(!isTimeOpen, $event)\">\n <i aria-hidden=\"true\"\n class=\"app-icon wm-sl-l sl-time\"></i>\n </button>\n </span>\n <div style=\"width: 0;display: inline-block;\">\n <input class=\"model-holder\"\n aria-label=\"datepicker dropdownmenu\"\n aria-controls=\"date\"\n focus-target\n [tabindex]=\"-1\"\n [attr.aria-hidden]=\"!!loadNativeDateInput\"\n [container]=\"containerTarget || '.wm-app'\"\n [bsConfig]=\"_dateOptions\"\n [isOpen]=\"isDateOpen\"\n placement=\"bottom right\"\n (onShown)=\"onDatePickerOpen()\"\n (onHidden)=\"hideDatepickerDropdown()\"\n [daysDisabled]=\"excludedDaysToDisable\"\n [datesDisabled]=\"excludedDatesToDisable\"\n #datepicker=bsDatepicker\n bsDatepicker\n [isDisabled]=\"disabled || readonly || isCurrentDate\"\n [bsValue]=\"bsDateValue\"\n (bsValueChange)=\"onModelUpdate($event, 'date')\">\n </div>\n <div *dropdownMenu\n class=\"dropdown-menu\"\n aria-label=\"timepicker dropdown\"\n aria-controls=\"time\"\n (click)=\"preventTpClose($event)\">\n <timepicker class=\"model-holder\"\n [showMeridian]=\"ismeridian\"\n [readonlyInput]=\"disabled || readonly || isCurrentDate\"\n [(ngModel)]=\"bsTimeValue\"\n [ngModelOptions]=\"{standalone: true}\"\n [min]=\"minTime\"\n [max]=\"maxTime\"\n [hourStep]=\"hourstep\"\n [minuteStep]=\"minutestep\"\n [secondsStep]=\"secondsstep\"\n [mousewheel]=\"true\"\n [arrowkeys]=\"true\"\n (isValid)=\"isValid($event)\"\n [showSeconds]=\"showseconds\"\n (ngModelChange)=\"onModelUpdate($event, 'time')\"></timepicker>\n </div>\n </div>\n<ng-template [ngIf]=\"loadNativeDateInput\">\n <wm-datetimepicker\n dateTimePicker\n [config]=\"_dateOptions\"\n [placement]=\"modal\"\n [excludedDaysToDisable]=\"excludedDaysToDisable\"\n [excludedDatesToDisable]=\"excludedDatesToDisable\"\n [displayFormat]=\"dateInputFormat\"\n [value]=\"bsDateValue\"\n (change)=\"onModelUpdate($event, 'date')\">\n </wm-datetimepicker>\n <div class=\"mobile-input mobile-datepicker-container\"\n [tabindex]=\"tabindex || 0\"\n (click)=\"!(disabled || readonly) && showDatePickerModal(bsDateValue)\"\n [attr.aria-label]=\"displayValue ? 'Change Date ' + displayValue : arialabel || 'Choose Date'\"\n (focus)=\"onDateTimeInputFocus(true); invokeOnFocus($event)\"\n (blur)=\"onDateTimeInputBlur(); invokeOnTouched($event)\"\n role=\"button\">\n </div>\n</ng-template>\n" }]
|
|
2695
2688
|
}], () => [{ type: i0__namespace.Injector }, { type: i0__namespace.NgZone }, { type: i0__namespace.ChangeDetectorRef }, { type: i1$1__namespace.AppDefaults }, { type: i1$1__namespace.App }, { type: undefined, decorators: [{
|
|
2696
2689
|
type: i0.Inject,
|
|
2697
2690
|
args: ['EXPLICIT_CONTEXT']
|
|
@@ -2699,7 +2692,7 @@
|
|
|
2699
2692
|
type: i0.Optional
|
|
2700
2693
|
}] }], { bsDatePickerDirective: [{
|
|
2701
2694
|
type: i0.ViewChild,
|
|
2702
|
-
args: [
|
|
2695
|
+
args: [i3.BsDatepickerDirective]
|
|
2703
2696
|
}] }); })();
|
|
2704
2697
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassDebugInfo(DatetimeComponent, { className: "DatetimeComponent", filePath: "date-time/date-time.component.ts", lineNumber: 56 }); })();
|
|
2705
2698
|
|
|
@@ -2739,9 +2732,9 @@
|
|
|
2739
2732
|
const _c1 = () => ({ standalone: true });
|
|
2740
2733
|
function TimeComponent_div_5_Template(rf, ctx) { if (rf & 1) {
|
|
2741
2734
|
const _r1 = i0__namespace.ɵɵgetCurrentView();
|
|
2742
|
-
i0__namespace.ɵɵelementStart(0, "div",
|
|
2735
|
+
i0__namespace.ɵɵelementStart(0, "div", 7);
|
|
2743
2736
|
i0__namespace.ɵɵlistener("click", function TimeComponent_div_5_Template_div_click_0_listener($event) { i0__namespace.ɵɵrestoreView(_r1); const ctx_r1 = i0__namespace.ɵɵnextContext(); return i0__namespace.ɵɵresetView(ctx_r1.preventTpClose($event)); });
|
|
2744
|
-
i0__namespace.ɵɵelementStart(1, "timepicker",
|
|
2737
|
+
i0__namespace.ɵɵelementStart(1, "timepicker", 8);
|
|
2745
2738
|
i0__namespace.ɵɵtwoWayListener("ngModelChange", function TimeComponent_div_5_Template_timepicker_ngModelChange_1_listener($event) { i0__namespace.ɵɵrestoreView(_r1); const ctx_r1 = i0__namespace.ɵɵnextContext(); i0__namespace.ɵɵtwoWayBindingSet(ctx_r1.bsTimeValue, $event) || (ctx_r1.bsTimeValue = $event); return i0__namespace.ɵɵresetView($event); });
|
|
2746
2739
|
i0__namespace.ɵɵlistener("isValid", function TimeComponent_div_5_Template_timepicker_isValid_1_listener($event) { i0__namespace.ɵɵrestoreView(_r1); const ctx_r1 = i0__namespace.ɵɵnextContext(); return i0__namespace.ɵɵresetView(ctx_r1.isValid($event)); })("ngModelChange", function TimeComponent_div_5_Template_timepicker_ngModelChange_1_listener($event) { i0__namespace.ɵɵrestoreView(_r1); const ctx_r1 = i0__namespace.ɵɵnextContext(); return i0__namespace.ɵɵresetView(ctx_r1.onTimeChange($event)); });
|
|
2747
2740
|
i0__namespace.ɵɵelementEnd()();
|
|
@@ -2752,13 +2745,13 @@
|
|
|
2752
2745
|
i0__namespace.ɵɵtwoWayProperty("ngModel", ctx_r1.bsTimeValue);
|
|
2753
2746
|
i0__namespace.ɵɵproperty("ngModelOptions", i0__namespace.ɵɵpureFunction0(13, _c1))("disabled", ctx_r1.disabled || ctx_r1.readonly || ctx_r1.isCurrentTime)("min", ctx_r1.minTime)("max", ctx_r1.maxTime)("hourStep", ctx_r1.hourstep)("minuteStep", ctx_r1.minutestep)("secondsStep", ctx_r1.secondsstep)("mousewheel", true)("arrowkeys", true)("showSeconds", ctx_r1.showseconds);
|
|
2754
2747
|
} }
|
|
2755
|
-
function
|
|
2748
|
+
function TimeComponent_ng_template_6_Template(rf, ctx) { if (rf & 1) {
|
|
2756
2749
|
const _r3 = i0__namespace.ɵɵgetCurrentView();
|
|
2757
|
-
i0__namespace.ɵɵelementStart(0, "wm-datetimepicker",
|
|
2758
|
-
i0__namespace.ɵɵlistener("change", function
|
|
2750
|
+
i0__namespace.ɵɵelementStart(0, "wm-datetimepicker", 9);
|
|
2751
|
+
i0__namespace.ɵɵlistener("change", function TimeComponent_ng_template_6_Template_wm_datetimepicker_change_0_listener($event) { i0__namespace.ɵɵrestoreView(_r3); const ctx_r1 = i0__namespace.ɵɵnextContext(); return i0__namespace.ɵɵresetView(ctx_r1.onTimeChange($event)); });
|
|
2759
2752
|
i0__namespace.ɵɵelementEnd();
|
|
2760
|
-
i0__namespace.ɵɵelementStart(1, "div",
|
|
2761
|
-
i0__namespace.ɵɵlistener("click", function
|
|
2753
|
+
i0__namespace.ɵɵelementStart(1, "div", 10);
|
|
2754
|
+
i0__namespace.ɵɵlistener("click", function TimeComponent_ng_template_6_Template_div_click_1_listener() { i0__namespace.ɵɵrestoreView(_r3); const ctx_r1 = i0__namespace.ɵɵnextContext(); return i0__namespace.ɵɵresetView(!(ctx_r1.disabled || ctx_r1.readonly) && ctx_r1.showDatePickerModal(ctx_r1.bsTimeValue)); })("focus", function TimeComponent_ng_template_6_Template_div_focus_1_listener($event) { i0__namespace.ɵɵrestoreView(_r3); const ctx_r1 = i0__namespace.ɵɵnextContext(); ctx_r1.onDateTimeInputFocus(true); ctx_r1.invokeOnFocus($event); return i0__namespace.ɵɵresetView(ctx_r1.assignModel()); })("blur", function TimeComponent_ng_template_6_Template_div_blur_1_listener($event) { i0__namespace.ɵɵrestoreView(_r3); const ctx_r1 = i0__namespace.ɵɵnextContext(); ctx_r1.onDateTimeInputBlur(); return i0__namespace.ɵɵresetView(ctx_r1.invokeOnTouched($event)); });
|
|
2762
2755
|
i0__namespace.ɵɵelementEnd();
|
|
2763
2756
|
} if (rf & 2) {
|
|
2764
2757
|
const ctx_r1 = i0__namespace.ɵɵnextContext();
|
|
@@ -3057,11 +3050,11 @@
|
|
|
3057
3050
|
}
|
|
3058
3051
|
static { this.ɵfac = function TimeComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || TimeComponent)(i0__namespace.ɵɵdirectiveInject(i0__namespace.Injector), i0__namespace.ɵɵdirectiveInject(i0__namespace.NgZone), i0__namespace.ɵɵdirectiveInject(i1$1__namespace.AppDefaults), i0__namespace.ɵɵdirectiveInject(i1$1__namespace.App), i0__namespace.ɵɵdirectiveInject('EXPLICIT_CONTEXT', 8)); }; }
|
|
3059
3052
|
static { this.ɵcmp = /*@__PURE__*/ i0__namespace.ɵɵdefineComponent({ type: TimeComponent, selectors: [["", "wmTime", ""]], features: [i0__namespace.ɵɵProvidersFeature([
|
|
3060
|
-
base.provideAs(TimeComponent,
|
|
3061
|
-
base.provideAs(TimeComponent,
|
|
3053
|
+
base.provideAs(TimeComponent, i5.NG_VALUE_ACCESSOR, true),
|
|
3054
|
+
base.provideAs(TimeComponent, i5.NG_VALIDATORS, true),
|
|
3062
3055
|
base.provideAsWidgetRef(TimeComponent),
|
|
3063
|
-
{ provide:
|
|
3064
|
-
]), i0__namespace.ɵɵInheritDefinitionFeature], attrs: _c0, decls: 7, vars: 16, consts: [["dropdown", "", 2, "display", "inherit", 3, "onShown", "onHidden", "isOpen", "container"], ["focus-target", "", "type", "text", "role", "timer", 1, "form-control", "app-textbox", "display-input", 3, "click", "focus", "blur", "change", "keydown", "tabindex", "name", "value", "disabled", "autofocus", "required", "readOnly"], [1, "input-group-btn", "dropdown-toggle"], ["type", "button", "aria-label", "Select time", "aria-haspopup", "true", "aria-expanded", "false", 1, "btn", "btn-default", "btn-date", 3, "click", "tabindex", "disabled"], ["aria-hidden", "true", 1, "app-icon", "wm-sl-l", "sl-time"], ["class", "dropdown-menu", 3, "click", 4, "dropdownMenu"], [1, "dropdown-menu", 3, "click"], [1, "model-holder", 3, "ngModelChange", "isValid", "showMeridian", "readonlyInput", "ngModel", "ngModelOptions", "disabled", "min", "max", "hourStep", "minuteStep", "secondsStep", "mousewheel", "arrowkeys", "showSeconds"], ["dateTimePicker", "", "mode", "TIME", 3, "change", "minTime", "maxTime", "placement", "displayFormat", "value"], ["tabindex", "1000000", "role", "button", 1, "mobile-input", "mobile-datepicker-container", 3, "click", "focus", "blur"]], template: function TimeComponent_Template(rf, ctx) { if (rf & 1) {
|
|
3056
|
+
{ provide: i6.TimepickerConfig, deps: [i1$1.AbstractI18nService], useFactory: getTimepickerConfig }
|
|
3057
|
+
]), i0__namespace.ɵɵInheritDefinitionFeature], attrs: _c0, decls: 7, vars: 16, consts: [["dropdown", "", 2, "display", "inherit", 3, "onShown", "onHidden", "isOpen", "container"], ["focus-target", "", "type", "text", "role", "timer", 1, "form-control", "app-textbox", "display-input", 3, "click", "focus", "blur", "change", "keydown", "tabindex", "name", "value", "disabled", "autofocus", "required", "readOnly"], [1, "input-group-btn", "dropdown-toggle"], ["type", "button", "aria-label", "Select time", "aria-haspopup", "true", "aria-expanded", "false", 1, "btn", "btn-default", "btn-date", 3, "click", "tabindex", "disabled"], ["aria-hidden", "true", 1, "app-icon", "wm-sl-l", "sl-time"], ["class", "dropdown-menu", 3, "click", 4, "dropdownMenu"], [3, "ngIf"], [1, "dropdown-menu", 3, "click"], [1, "model-holder", 3, "ngModelChange", "isValid", "showMeridian", "readonlyInput", "ngModel", "ngModelOptions", "disabled", "min", "max", "hourStep", "minuteStep", "secondsStep", "mousewheel", "arrowkeys", "showSeconds"], ["dateTimePicker", "", "mode", "TIME", 3, "change", "minTime", "maxTime", "placement", "displayFormat", "value"], ["tabindex", "1000000", "role", "button", 1, "mobile-input", "mobile-datepicker-container", 3, "click", "focus", "blur"]], template: function TimeComponent_Template(rf, ctx) { if (rf & 1) {
|
|
3065
3058
|
i0__namespace.ɵɵelementStart(0, "div", 0);
|
|
3066
3059
|
i0__namespace.ɵɵlistener("onShown", function TimeComponent_Template_div_onShown_0_listener() { return ctx.onShown(); })("onHidden", function TimeComponent_Template_div_onHidden_0_listener() { return ctx.hideTimepickerDropdown(); });
|
|
3067
3060
|
i0__namespace.ɵɵelementStart(1, "input", 1);
|
|
@@ -3073,7 +3066,7 @@
|
|
|
3073
3066
|
i0__namespace.ɵɵelementEnd()();
|
|
3074
3067
|
i0__namespace.ɵɵtemplate(5, TimeComponent_div_5_Template, 2, 14, "div", 5);
|
|
3075
3068
|
i0__namespace.ɵɵelementEnd();
|
|
3076
|
-
i0__namespace.ɵɵtemplate(6,
|
|
3069
|
+
i0__namespace.ɵɵtemplate(6, TimeComponent_ng_template_6_Template, 2, 6, "ng-template", 6);
|
|
3077
3070
|
} if (rf & 2) {
|
|
3078
3071
|
i0__namespace.ɵɵproperty("isOpen", ctx.status.isopen)("container", "body");
|
|
3079
3072
|
i0__namespace.ɵɵadvance();
|
|
@@ -3082,17 +3075,17 @@
|
|
|
3082
3075
|
i0__namespace.ɵɵadvance(2);
|
|
3083
3076
|
i0__namespace.ɵɵproperty("tabindex", ctx.tabindex)("disabled", ctx.disabled || ctx.readonly || ctx.isCurrentTime);
|
|
3084
3077
|
i0__namespace.ɵɵadvance(3);
|
|
3085
|
-
i0__namespace.ɵɵ
|
|
3086
|
-
} }, dependencies: [
|
|
3078
|
+
i0__namespace.ɵɵproperty("ngIf", ctx.loadNativeDateInput);
|
|
3079
|
+
} }, dependencies: [i2__namespace.NgIf, i4$1__namespace.BsDropdownMenuDirective, i4$1__namespace.BsDropdownDirective, i5__namespace.NgControlStatus, i5__namespace.NgModel, i6__namespace.TimepickerComponent, DateTimePickerComponent], encapsulation: 2 }); }
|
|
3087
3080
|
}
|
|
3088
3081
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(TimeComponent, [{
|
|
3089
3082
|
type: i0.Component,
|
|
3090
3083
|
args: [{ selector: '[wmTime]', providers: [
|
|
3091
|
-
base.provideAs(TimeComponent,
|
|
3092
|
-
base.provideAs(TimeComponent,
|
|
3084
|
+
base.provideAs(TimeComponent, i5.NG_VALUE_ACCESSOR, true),
|
|
3085
|
+
base.provideAs(TimeComponent, i5.NG_VALIDATORS, true),
|
|
3093
3086
|
base.provideAsWidgetRef(TimeComponent),
|
|
3094
|
-
{ provide:
|
|
3095
|
-
], template: "<div dropdown [isOpen]=\"status.isopen\" (onShown)=\"onShown()\" (onHidden)=\"hideTimepickerDropdown()\" [container]=\"'body'\" style=\"display: inherit\">\n
|
|
3087
|
+
{ provide: i6.TimepickerConfig, deps: [i1$1.AbstractI18nService], useFactory: getTimepickerConfig }
|
|
3088
|
+
], template: " <div dropdown [isOpen]=\"status.isopen\" (onShown)=\"onShown()\" (onHidden)=\"hideTimepickerDropdown()\" [container]=\"'body'\" style=\"display: inherit\">\n <input [attr.aria-label]=\"arialabel\" class=\"form-control app-textbox display-input\"\n focus-target\n [tabindex]=\"tabindex\"\n [name]=\"name\"\n type=\"text\"\n role=\"timer\"\n [value]=\"displayValue\"\n [disabled]=\"disabled || readonly || isCurrentTime\"\n [autofocus]=\"autofocus\"\n [attr.placeholder]=\"placeholder\"\n [attr.accesskey]=\"shortcutkey\"\n [attr.aria-atomic]=\"isCurrentTime ? 'true' : 'false'\"\n [required]=\"required\"\n [readOnly]=\"isReadOnly\"\n (click)=\"toggleDropdown($event, true)\"\n (focus)=\"onDateTimeInputFocus(); invokeOnFocus($event);\"\n (blur)=\"onInputBlur($event)\"\n (change)=\"onDisplayTimeChange($event)\"\n (keydown)=\"this._triggeredByUser = true; onDisplayKeydown($event)\">\n <span class=\"input-group-btn dropdown-toggle\">\n <button type=\"button\" class=\"btn btn-default btn-date\" [tabindex]=\"tabindex\" [disabled]=\"disabled || readonly || isCurrentTime\" aria-label=\"Select time\" aria-haspopup=\"true\" aria-expanded=\"false\" (click)=\"toggleDropdown($event, false)\"><i aria-hidden=\"true\" class=\"app-icon wm-sl-l sl-time\"></i></button>\n </span>\n <div *dropdownMenu class=\"dropdown-menu\" (click)=\"preventTpClose($event)\">\n <timepicker class=\"model-holder\"\n [showMeridian]=\"ismeridian\"\n [readonlyInput]=\"isDisabled\"\n [(ngModel)]=\"bsTimeValue\"\n [ngModelOptions]=\"{standalone: true}\"\n [disabled]=\"disabled || readonly || isCurrentTime\"\n [min]=\"minTime\"\n [max]=\"maxTime\"\n [hourStep]=\"hourstep\"\n [minuteStep]=\"minutestep\"\n [secondsStep]=\"secondsstep\"\n [mousewheel]=\"true\"\n [arrowkeys]=\"true\"\n (isValid)=\"isValid($event)\"\n [showSeconds]=\"showseconds\" (ngModelChange)=\"onTimeChange($event)\"></timepicker>\n </div>\n </div>\n<ng-template [ngIf]=\"loadNativeDateInput\">\n <wm-datetimepicker\n dateTimePicker\n mode=\"TIME\"\n [minTime]=\"minTime\"\n [maxTime]=\"maxTime\"\n [placement]=\"modal\"\n [displayFormat]=\"timepattern\"\n [value]=\"bsTimeValue\"\n (change)=\"onTimeChange($event)\">\n </wm-datetimepicker>\n <div class=\"mobile-input mobile-datepicker-container\"\n tabindex=\"1000000\"\n (click)=\"!(disabled || readonly) && showDatePickerModal(bsTimeValue)\"\n [attr.aria-label]=\"displayValue ? 'Change time ' + displayValue : arialabel || 'Select time'\"\n (focus)=\"onDateTimeInputFocus(true); invokeOnFocus($event); assignModel()\"\n (blur)=\"onDateTimeInputBlur(); invokeOnTouched($event)\"\n role=\"button\">\n </div>\n</ng-template>\n" }]
|
|
3096
3089
|
}], () => [{ type: i0__namespace.Injector }, { type: i0__namespace.NgZone }, { type: i1$1__namespace.AppDefaults }, { type: i1$1__namespace.App }, { type: undefined, decorators: [{
|
|
3097
3090
|
type: i0.Inject,
|
|
3098
3091
|
args: ['EXPLICIT_CONTEXT']
|
|
@@ -3113,25 +3106,25 @@
|
|
|
3113
3106
|
class EpochModule {
|
|
3114
3107
|
static { this.ɵfac = function EpochModule_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || EpochModule)(); }; }
|
|
3115
3108
|
static { this.ɵmod = /*@__PURE__*/ i0__namespace.ɵɵdefineNgModule({ type: EpochModule }); }
|
|
3116
|
-
static { this.ɵinj = /*@__PURE__*/ i0__namespace.ɵɵdefineInjector({ imports: [
|
|
3117
|
-
|
|
3118
|
-
|
|
3119
|
-
|
|
3120
|
-
|
|
3109
|
+
static { this.ɵinj = /*@__PURE__*/ i0__namespace.ɵɵdefineInjector({ imports: [i2.CommonModule,
|
|
3110
|
+
i3.BsDatepickerModule,
|
|
3111
|
+
i4$1.BsDropdownModule,
|
|
3112
|
+
i5.FormsModule,
|
|
3113
|
+
i6.TimepickerModule,
|
|
3121
3114
|
base.WmComponentsModule,
|
|
3122
|
-
|
|
3115
|
+
i4.IMaskModule] }); }
|
|
3123
3116
|
}
|
|
3124
3117
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(EpochModule, [{
|
|
3125
3118
|
type: i0.NgModule,
|
|
3126
3119
|
args: [{
|
|
3127
3120
|
imports: [
|
|
3128
|
-
|
|
3129
|
-
|
|
3130
|
-
|
|
3131
|
-
|
|
3132
|
-
|
|
3121
|
+
i2.CommonModule,
|
|
3122
|
+
i3.BsDatepickerModule,
|
|
3123
|
+
i4$1.BsDropdownModule,
|
|
3124
|
+
i5.FormsModule,
|
|
3125
|
+
i6.TimepickerModule,
|
|
3133
3126
|
base.WmComponentsModule,
|
|
3134
|
-
|
|
3127
|
+
i4.IMaskModule
|
|
3135
3128
|
],
|
|
3136
3129
|
declarations: [...components],
|
|
3137
3130
|
exports: [...components]
|
|
@@ -3143,13 +3136,13 @@
|
|
|
3143
3136
|
DateTimePickerComponent,
|
|
3144
3137
|
TimePickerComponent,
|
|
3145
3138
|
PickerComponent,
|
|
3146
|
-
PickerGroupComponent], imports: [
|
|
3147
|
-
|
|
3148
|
-
|
|
3149
|
-
|
|
3150
|
-
|
|
3139
|
+
PickerGroupComponent], imports: [i2.CommonModule,
|
|
3140
|
+
i3.BsDatepickerModule,
|
|
3141
|
+
i4$1.BsDropdownModule,
|
|
3142
|
+
i5.FormsModule,
|
|
3143
|
+
i6.TimepickerModule,
|
|
3151
3144
|
base.WmComponentsModule,
|
|
3152
|
-
|
|
3145
|
+
i4.IMaskModule], exports: [DateComponent,
|
|
3153
3146
|
DatetimeComponent,
|
|
3154
3147
|
TimeComponent,
|
|
3155
3148
|
DateTimePickerComponent,
|