@wavemaker/app-ng-runtime 11.5.4-rc.5523 → 11.5.4-rc.5622

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.
Files changed (30) hide show
  1. app-ng-runtime/components/data/table/bundles/index.umd.js +0 -3
  2. app-ng-runtime/components/data/table/esm2020/table.component.mjs +1 -3
  3. app-ng-runtime/components/data/table/esm2020/table.props.mjs +1 -2
  4. app-ng-runtime/components/data/table/fesm2015/index.mjs +0 -3
  5. app-ng-runtime/components/data/table/fesm2015/index.mjs.map +1 -1
  6. app-ng-runtime/components/data/table/fesm2020/index.mjs +0 -3
  7. app-ng-runtime/components/data/table/fesm2020/index.mjs.map +1 -1
  8. app-ng-runtime/components/data/table/table.component.d.ts +0 -2
  9. app-ng-runtime/components/input/epoch/bundles/index.umd.js +37 -166
  10. app-ng-runtime/components/input/epoch/date/date.component.d.ts +0 -114
  11. app-ng-runtime/components/input/epoch/epoch.module.d.ts +1 -2
  12. app-ng-runtime/components/input/epoch/esm2020/date/date.component.mjs +24 -34
  13. app-ng-runtime/components/input/epoch/esm2020/epoch.module.mjs +4 -8
  14. app-ng-runtime/components/input/epoch/fesm2015/index.mjs +28 -159
  15. app-ng-runtime/components/input/epoch/fesm2015/index.mjs.map +1 -1
  16. app-ng-runtime/components/input/epoch/fesm2020/index.mjs +28 -159
  17. app-ng-runtime/components/input/epoch/fesm2020/index.mjs.map +1 -1
  18. app-ng-runtime/components/navigation/menu/bundles/index.umd.js +0 -56
  19. app-ng-runtime/components/navigation/menu/esm2020/menu-dropdown/menu-dropdown.component.mjs +1 -51
  20. app-ng-runtime/components/navigation/menu/esm2020/menu.component.mjs +1 -5
  21. app-ng-runtime/components/navigation/menu/fesm2015/index.mjs +0 -56
  22. app-ng-runtime/components/navigation/menu/fesm2015/index.mjs.map +1 -1
  23. app-ng-runtime/components/navigation/menu/fesm2020/index.mjs +0 -54
  24. app-ng-runtime/components/navigation/menu/fesm2020/index.mjs.map +1 -1
  25. app-ng-runtime/components/navigation/menu/menu-dropdown/menu-dropdown.component.d.ts +0 -4
  26. app-ng-runtime/components/navigation/menu/menu.component.d.ts +1 -2
  27. app-ng-runtime/package.json +1 -1
  28. app-ng-runtime/scripts/datatable/datatable.js +3 -33
  29. app-ng-runtime/components/input/epoch/date/imaskUtil.d.ts +0 -115
  30. app-ng-runtime/components/input/epoch/esm2020/date/imaskUtil.mjs +0 -118
@@ -6,7 +6,7 @@ import * as i5 from '@angular/forms';
6
6
  import { NG_VALUE_ACCESSOR, NG_VALIDATORS, FormsModule } from '@angular/forms';
7
7
  import * as i3 from 'ngx-bootstrap/datepicker';
8
8
  import { BsDatepickerConfig, BsDatepickerDirective, BsDatepickerModule } from 'ngx-bootstrap/datepicker';
9
- import * as i4$1 from 'ngx-bootstrap/dropdown';
9
+ import * as i4 from 'ngx-bootstrap/dropdown';
10
10
  import { BsDropdownDirective, BsDropdownModule } from 'ngx-bootstrap/dropdown';
11
11
  import * as i6 from 'ngx-bootstrap/timepicker';
12
12
  import { TimepickerConfig, TimepickerComponent, TimepickerModule } from 'ngx-bootstrap/timepicker';
@@ -15,9 +15,6 @@ import * as i1$1 from '@wm/core';
15
15
  import { App, AbstractI18nService, isMobile, getFormattedDate, getDateObj, isString, setAttr, getNativeDateObject, hasCordova, isIos, FormWidgetType, getMomentLocaleObject, getDisplayDateTimeFormat, adjustContainerPosition, adjustContainerRightEdges, addEventListenerOnElement, addClass, $appDigest } from '@wm/core';
16
16
  import { BaseFormCustomComponent } from '@wm/components/input';
17
17
  import * as i1 from 'ngx-bootstrap/modal';
18
- import IMask from 'imask';
19
- import * as i4 from 'angular-imask';
20
- import { IMaskModule } from 'angular-imask';
21
18
 
22
19
  const _c0$4 = ["*"];
23
20
  function PickerComponent_div_6_Template(rf, ctx) {
@@ -1688,140 +1685,23 @@ const registerProps$2 = () => {
1688
1685
  registerFormWidget(FormWidgetType.DATE, new Map(dateProps));
1689
1686
  };
1690
1687
 
1691
- function validateTheMaskedDate(format) {
1692
- if (format == 'timestamp') {
1693
- return {};
1694
- }
1695
- const modifiedFormat = format.toUpperCase().replace(/E/g, 'd');
1696
- const parseFn = str => {
1697
- return moment(str, modifiedFormat).toDate();
1698
- };
1699
- const formatFn = date => {
1700
- return moment(date, modifiedFormat).format(modifiedFormat);
1701
- };
1702
- return {
1703
- mask: Date,
1704
- pattern: modifiedFormat,
1705
- format: formatFn,
1706
- parse: parseFn,
1707
- blocks: {
1708
- YYYY: {
1709
- mask: IMask.MaskedRange,
1710
- from: 1900,
1711
- to: 9999,
1712
- placeholderChar: 'Y',
1713
- maxLength: 4,
1714
- overwrite: false,
1715
- },
1716
- YYY: {
1717
- mask: IMask.MaskedRange,
1718
- from: 0,
1719
- to: 9999,
1720
- placeholderChar: 'Y',
1721
- maxLength: 4,
1722
- overwrite: false,
1723
- },
1724
- YY: {
1725
- mask: IMask.MaskedRange,
1726
- from: 0,
1727
- to: 9999,
1728
- placeholderChar: 'Y',
1729
- maxLength: 4,
1730
- overwrite: false,
1731
- },
1732
- Y: {
1733
- mask: IMask.MaskedRange,
1734
- from: 0,
1735
- to: 9999,
1736
- placeholderChar: 'Y',
1737
- maxLength: 4,
1738
- overwrite: false,
1739
- },
1740
- M: {
1741
- mask: IMask.MaskedRange,
1742
- from: 1,
1743
- to: 12,
1744
- placeholderChar: 'M',
1745
- maxLength: 2,
1746
- overwrite: false,
1747
- },
1748
- MM: {
1749
- mask: IMask.MaskedRange,
1750
- from: 1,
1751
- to: 12,
1752
- placeholderChar: 'M',
1753
- maxLength: 2,
1754
- overwrite: false,
1755
- },
1756
- MMM: {
1757
- mask: IMask.MaskedEnum,
1758
- enum: Array.from({ length: 12 }, (_, i) => new Date(0, i).toLocaleString(window.navigator.language, { month: 'short' })),
1759
- placeholderChar: 'M',
1760
- maxLength: 3,
1761
- overwrite: false,
1762
- },
1763
- MMMM: {
1764
- mask: IMask.MaskedEnum,
1765
- enum: Array.from({ length: 12 }, (_, i) => new Date(0, i).toLocaleString(window.navigator.language, { month: 'long' })),
1766
- placeholderChar: 'M',
1767
- minLength: 3,
1768
- overwrite: false,
1769
- },
1770
- DD: {
1771
- mask: IMask.MaskedRange,
1772
- from: 1,
1773
- to: 31,
1774
- placeholderChar: 'D',
1775
- maxLength: 2,
1776
- overwrite: false,
1777
- },
1778
- D: {
1779
- mask: IMask.MaskedRange,
1780
- from: 1,
1781
- to: 31,
1782
- placeholderChar: 'D',
1783
- maxLength: 1,
1784
- overwrite: false,
1785
- },
1786
- ddd: {
1787
- mask: IMask.MaskedEnum,
1788
- enum: Array.from({ length: 7 }, (_, i) => new Date(0, 0, i + 1).toLocaleString(window.navigator.language, { weekday: 'short' })),
1789
- placeholderChar: 'E',
1790
- maxLength: 3,
1791
- overwrite: false,
1792
- },
1793
- dddd: {
1794
- mask: IMask.MaskedEnum,
1795
- enum: Array.from({ length: 7 }, (_, i) => new Date(0, 0, i + 1).toLocaleString(window.navigator.language, { weekday: 'long' })),
1796
- placeholderChar: 'E',
1797
- minLength: 6,
1798
- overwrite: false,
1799
- },
1800
- },
1801
- autofix: true,
1802
- lazy: false,
1803
- overwrite: false,
1804
- skipInvalid: true
1805
- };
1806
- }
1807
-
1808
1688
  const _c0$2 = ["wmDate", ""];
1809
- function DateComponent_ng_template_8_Template(rf, ctx) {
1689
+ function DateComponent_ng_template_7_Template(rf, ctx) {
1810
1690
  if (rf & 1) {
1811
- const _r4 = i0.ɵɵgetCurrentView();
1812
- i0.ɵɵelementStart(0, "wm-datetimepicker", 9);
1813
- i0.ɵɵlistener("change", function DateComponent_ng_template_8_Template_wm_datetimepicker_change_0_listener($event) { i0.ɵɵrestoreView(_r4); const ctx_r3 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r3.onDateChange($event)); });
1691
+ const _r3 = i0.ɵɵgetCurrentView();
1692
+ i0.ɵɵelementStart(0, "wm-datetimepicker", 8);
1693
+ i0.ɵɵlistener("change", function DateComponent_ng_template_7_Template_wm_datetimepicker_change_0_listener($event) { i0.ɵɵrestoreView(_r3); const ctx_r2 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r2.onDateChange($event)); });
1814
1694
  i0.ɵɵelementEnd();
1815
- i0.ɵɵelementStart(1, "div", 10);
1816
- i0.ɵɵlistener("focus", function DateComponent_ng_template_8_Template_div_focus_1_listener($event) { i0.ɵɵrestoreView(_r4); const ctx_r5 = i0.ɵɵnextContext(); ctx_r5.onDateTimeInputFocus(true); return i0.ɵɵresetView(ctx_r5.invokeOnFocus($event)); })("blur", function DateComponent_ng_template_8_Template_div_blur_1_listener($event) { i0.ɵɵrestoreView(_r4); const ctx_r6 = i0.ɵɵnextContext(); ctx_r6.onDateTimeInputBlur(); return i0.ɵɵresetView(ctx_r6.invokeOnTouched($event)); })("click", function DateComponent_ng_template_8_Template_div_click_1_listener() { i0.ɵɵrestoreView(_r4); const ctx_r7 = i0.ɵɵnextContext(); return i0.ɵɵresetView(!(ctx_r7.disabled || ctx_r7.readonly || ctx_r7.isCurrentDate) && ctx_r7.showDatePickerModal()); });
1695
+ i0.ɵɵelementStart(1, "div", 9);
1696
+ i0.ɵɵlistener("focus", function DateComponent_ng_template_7_Template_div_focus_1_listener($event) { i0.ɵɵrestoreView(_r3); const ctx_r4 = i0.ɵɵnextContext(); ctx_r4.onDateTimeInputFocus(true); return i0.ɵɵresetView(ctx_r4.invokeOnFocus($event)); })("blur", function DateComponent_ng_template_7_Template_div_blur_1_listener($event) { i0.ɵɵrestoreView(_r3); const ctx_r5 = i0.ɵɵnextContext(); ctx_r5.onDateTimeInputBlur(); return i0.ɵɵresetView(ctx_r5.invokeOnTouched($event)); })("click", function DateComponent_ng_template_7_Template_div_click_1_listener() { i0.ɵɵrestoreView(_r3); const ctx_r6 = i0.ɵɵnextContext(); return i0.ɵɵresetView(!(ctx_r6.disabled || ctx_r6.readonly || ctx_r6.isCurrentDate) && ctx_r6.showDatePickerModal()); });
1817
1697
  i0.ɵɵelementEnd();
1818
1698
  }
1819
1699
  if (rf & 2) {
1820
- const ctx_r2 = i0.ɵɵnextContext();
1821
- i0.ɵɵproperty("config", ctx_r2._dateOptions)("placement", ctx_r2.modal)("excludedDaysToDisable", ctx_r2.excludedDaysToDisable)("excludedDatesToDisable", ctx_r2.excludedDatesToDisable)("displayFormat", ctx_r2.dateInputFormat)("value", ctx_r2.bsDataValue);
1700
+ const ctx_r1 = i0.ɵɵnextContext();
1701
+ i0.ɵɵproperty("config", ctx_r1._dateOptions)("placement", ctx_r1.modal)("excludedDaysToDisable", ctx_r1.excludedDaysToDisable)("excludedDatesToDisable", ctx_r1.excludedDatesToDisable)("displayFormat", ctx_r1.dateInputFormat)("value", ctx_r1.bsDataValue);
1822
1702
  i0.ɵɵadvance(1);
1823
- i0.ɵɵproperty("tabindex", ctx_r2.tabindex || 0);
1824
- i0.ɵɵattribute("aria-label", ctx_r2.displayValue ? "Change Date" + ctx_r2.displayValue : "Choose Date");
1703
+ i0.ɵɵproperty("tabindex", ctx_r1.tabindex || 0);
1704
+ i0.ɵɵattribute("aria-label", ctx_r1.displayValue ? "Change Date" + ctx_r1.displayValue : "Choose Date");
1825
1705
  }
1826
1706
  }
1827
1707
  const CURRENT_DATE$1 = 'CURRENT_DATE';
@@ -1847,14 +1727,6 @@ class DateComponent extends BaseDateTimeComponent {
1847
1727
  get datavalue() {
1848
1728
  return getFormattedDate(this.datePipe, this.bsDataValue, this.outputformat, this.timeZone, null, this.isCurrentDate, this) || '';
1849
1729
  }
1850
- get mask() {
1851
- if (this.datepattern) {
1852
- return validateTheMaskedDate(this.datepattern);
1853
- }
1854
- else {
1855
- return false;
1856
- }
1857
- }
1858
1730
  // Todo[Shubham]: needs to be redefined
1859
1731
  // sets the dataValue and computes the display model values
1860
1732
  // @ts-ignore
@@ -2069,24 +1941,24 @@ DateComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: DateComponent
2069
1941
  provideAs(DateComponent, NG_VALUE_ACCESSOR, true),
2070
1942
  provideAs(DateComponent, NG_VALIDATORS, true),
2071
1943
  provideAsWidgetRef(DateComponent)
2072
- ]), i0.ɵɵInheritDefinitionFeature], attrs: _c0$2, decls: 9, vars: 27, consts: [["focus-target", "", "type", "text", 1, "form-control", "app-textbox", "app-dateinput", "display-input", 3, "name", "imask", "unmask", "tabindex", "value", "disabled", "autofocus", "required", "readOnly", "click", "focus", "blur", "change", "keydown"], ["dateInput", ""], [1, "input-group-btn"], ["type", "button", "aria-haspopup", "true", "aria-expanded", "false", 1, "btn", "btn-default", "btn-time", 3, "tabindex", "disabled", "click"], ["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, "tabindex", "container", "bsConfig", "isOpen", "daysDisabled", "datesDisabled", "isDisabled", "bsValue", "onShown", "onHidden", "bsValueChange"], ["datepicker", "bsDatepicker"], [3, "ngIf"], ["dateTimePicker", "", "mode", "DATE", 3, "config", "placement", "excludedDaysToDisable", "excludedDatesToDisable", "displayFormat", "value", "change"], [1, "mobile-input", "mobile-datepicker-container", 3, "tabindex", "focus", "blur", "click"]], template: function DateComponent_Template(rf, ctx) {
1944
+ ]), i0.ɵɵInheritDefinitionFeature], attrs: _c0$2, decls: 8, vars: 25, consts: [["focus-target", "", "type", "text", 1, "form-control", "app-textbox", "app-dateinput", "display-input", 3, "name", "tabindex", "value", "disabled", "autofocus", "required", "readOnly", "click", "focus", "blur", "change", "keydown"], [1, "input-group-btn"], ["type", "button", "aria-haspopup", "true", "aria-expanded", "false", 1, "btn", "btn-default", "btn-time", 3, "tabindex", "disabled", "click"], ["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, "tabindex", "container", "bsConfig", "isOpen", "daysDisabled", "datesDisabled", "isDisabled", "bsValue", "onShown", "onHidden", "bsValueChange"], ["datepicker", "bsDatepicker"], [3, "ngIf"], ["dateTimePicker", "", "mode", "DATE", 3, "config", "placement", "excludedDaysToDisable", "excludedDatesToDisable", "displayFormat", "value", "change"], [1, "mobile-input", "mobile-datepicker-container", 3, "tabindex", "focus", "blur", "click"]], template: function DateComponent_Template(rf, ctx) {
2073
1945
  if (rf & 1) {
2074
- i0.ɵɵelementStart(0, "input", 0, 1);
1946
+ i0.ɵɵelementStart(0, "input", 0);
2075
1947
  i0.ɵɵlistener("click", function DateComponent_Template_input_click_0_listener($event) { return ctx.toggleDpDropdown($event, true); })("focus", function DateComponent_Template_input_focus_0_listener($event) { ctx.onDateTimeInputFocus(); return ctx.invokeOnFocus($event); })("blur", function DateComponent_Template_input_blur_0_listener($event) { return ctx.onInputBlur($event); })("change", function DateComponent_Template_input_change_0_listener($event) { return ctx.onDisplayDateChange($event); })("keydown", function DateComponent_Template_input_keydown_0_listener($event) { ctx._triggeredByUser = true; return ctx.onDisplayKeydown($event); });
2076
1948
  i0.ɵɵelementEnd();
2077
- i0.ɵɵelementStart(2, "span", 2)(3, "button", 3);
2078
- i0.ɵɵlistener("click", function DateComponent_Template_button_click_3_listener($event) { return ctx.toggleDpDropdown($event, false); });
2079
- i0.ɵɵelement(4, "i", 4);
1949
+ i0.ɵɵelementStart(1, "span", 1)(2, "button", 2);
1950
+ i0.ɵɵlistener("click", function DateComponent_Template_button_click_2_listener($event) { return ctx.toggleDpDropdown($event, false); });
1951
+ i0.ɵɵelement(3, "i", 3);
2080
1952
  i0.ɵɵelementEnd()();
2081
- i0.ɵɵelementStart(5, "div", 5)(6, "input", 6, 7);
2082
- i0.ɵɵlistener("onShown", function DateComponent_Template_input_onShown_6_listener() { return ctx.onDatePickerOpen(); })("onHidden", function DateComponent_Template_input_onHidden_6_listener() { return ctx.hideDatepickerDropdown(); })("bsValueChange", function DateComponent_Template_input_bsValueChange_6_listener($event) { return ctx.onDateChange($event); });
1953
+ i0.ɵɵelementStart(4, "div", 4)(5, "input", 5, 6);
1954
+ i0.ɵɵlistener("onShown", function DateComponent_Template_input_onShown_5_listener() { return ctx.onDatePickerOpen(); })("onHidden", function DateComponent_Template_input_onHidden_5_listener() { return ctx.hideDatepickerDropdown(); })("bsValueChange", function DateComponent_Template_input_bsValueChange_5_listener($event) { return ctx.onDateChange($event); });
2083
1955
  i0.ɵɵelementEnd()();
2084
- i0.ɵɵtemplate(8, DateComponent_ng_template_8_Template, 2, 8, "ng-template", 8);
1956
+ i0.ɵɵtemplate(7, DateComponent_ng_template_7_Template, 2, 8, "ng-template", 7);
2085
1957
  }
2086
1958
  if (rf & 2) {
2087
- i0.ɵɵ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);
1959
+ i0.ɵɵproperty("name", ctx.name)("tabindex", ctx.loadNativeDateInput ? "-1" : ctx.tabindex)("value", ctx.displayValue)("disabled", ctx.disabled || ctx.readonly)("autofocus", ctx.autofocus)("required", ctx.required)("readOnly", ctx.isReadOnly);
2088
1960
  i0.ɵɵattribute("aria-hidden", !!ctx.loadNativeDateInput)("placeholder", ctx.placeholder)("accesskey", ctx.shortcutkey)("aria-label", ctx.hint);
2089
- i0.ɵɵadvance(3);
1961
+ i0.ɵɵadvance(2);
2090
1962
  i0.ɵɵproperty("tabindex", ctx.loadNativeDateInput ? "-1" : ctx.tabindex)("disabled", ctx.disabled || ctx.readonly);
2091
1963
  i0.ɵɵattribute("aria-hidden", !!ctx.loadNativeDateInput)("aria-label", ctx.displayValue ? "Change Date " + ctx.displayValue : "Choose date by pressing enter");
2092
1964
  i0.ɵɵadvance(3);
@@ -2095,7 +1967,7 @@ DateComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: DateComponent
2095
1967
  i0.ɵɵadvance(2);
2096
1968
  i0.ɵɵproperty("ngIf", ctx.loadNativeDateInput);
2097
1969
  }
2098
- }, dependencies: [i2.NgIf, i3.BsDatepickerDirective, i3.BsDatepickerInputDirective, i4.IMaskDirective, DateTimePickerComponent], encapsulation: 2 });
1970
+ }, dependencies: [i2.NgIf, i3.BsDatepickerDirective, i3.BsDatepickerInputDirective, DateTimePickerComponent], encapsulation: 2 });
2099
1971
  (function () {
2100
1972
  (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(DateComponent, [{
2101
1973
  type: Component,
@@ -2103,7 +1975,7 @@ DateComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: DateComponent
2103
1975
  provideAs(DateComponent, NG_VALUE_ACCESSOR, true),
2104
1976
  provideAs(DateComponent, NG_VALIDATORS, true),
2105
1977
  provideAsWidgetRef(DateComponent)
2106
- ], template: " <input class=\"form-control app-textbox app-dateinput display-input\"\n focus-target\n type=\"text\"\n #dateInput\n [name]=\"name\"\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);\"\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]=\"hint\"\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 aria-expanded=\"false\"\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 || 'body'\"\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 (focus)=\"onDateTimeInputFocus(true); invokeOnFocus($event);\"\n (blur)=\"onDateTimeInputBlur(); invokeOnTouched($event)\"\n [attr.aria-label]=\"displayValue ? 'Change Date' + displayValue : 'Choose Date'\"\n (click)=\"!(disabled || readonly || isCurrentDate) && showDatePickerModal()\">\n </div>\n</ng-template>\n" }]
1978
+ ], template: " <input class=\"form-control app-textbox app-dateinput display-input\"\n focus-target\n type=\"text\"\n [name]=\"name\"\n [tabindex]=\"loadNativeDateInput ? '-1' : tabindex\"\n [attr.aria-hidden]=\"!!loadNativeDateInput\"\n [value]=\"displayValue\"\n (click)=\"toggleDpDropdown($event, true)\"\n (focus)=\"onDateTimeInputFocus(); invokeOnFocus($event);\"\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]=\"hint\"\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 aria-expanded=\"false\"\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 || 'body'\"\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 (focus)=\"onDateTimeInputFocus(true); invokeOnFocus($event);\"\n (blur)=\"onDateTimeInputBlur(); invokeOnTouched($event)\"\n [attr.aria-label]=\"displayValue ? 'Change Date' + displayValue : 'Choose Date'\"\n (click)=\"!(disabled || readonly || isCurrentDate) && showDatePickerModal()\">\n </div>\n</ng-template>\n" }]
2107
1979
  }], function () { return [{ type: i0.Injector }, { type: i0.ChangeDetectorRef }, { type: i1$1.AppDefaults }]; }, { bsDatePickerDirective: [{
2108
1980
  type: ViewChild,
2109
1981
  args: [BsDatepickerDirective]
@@ -2632,7 +2504,7 @@ DatetimeComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: DatetimeC
2632
2504
  i0.ɵɵadvance(3);
2633
2505
  i0.ɵɵproperty("ngIf", ctx.loadNativeDateInput);
2634
2506
  }
2635
- }, dependencies: [i2.NgIf, i3.BsDatepickerDirective, i3.BsDatepickerInputDirective, i4$1.BsDropdownMenuDirective, i4$1.BsDropdownDirective, i5.NgControlStatus, i5.NgModel, i6.TimepickerComponent, DateTimePickerComponent], encapsulation: 2 });
2507
+ }, dependencies: [i2.NgIf, i3.BsDatepickerDirective, i3.BsDatepickerInputDirective, i4.BsDropdownMenuDirective, i4.BsDropdownDirective, i5.NgControlStatus, i5.NgModel, i6.TimepickerComponent, DateTimePickerComponent], encapsulation: 2 });
2636
2508
  (function () {
2637
2509
  (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(DatetimeComponent, [{
2638
2510
  type: Component,
@@ -3031,7 +2903,7 @@ TimeComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: TimeComponent
3031
2903
  i0.ɵɵadvance(3);
3032
2904
  i0.ɵɵproperty("ngIf", ctx.loadNativeDateInput);
3033
2905
  }
3034
- }, dependencies: [i2.NgIf, i4$1.BsDropdownMenuDirective, i4$1.BsDropdownDirective, i5.NgControlStatus, i5.NgModel, i6.TimepickerComponent, DateTimePickerComponent], encapsulation: 2 });
2906
+ }, dependencies: [i2.NgIf, i4.BsDropdownMenuDirective, i4.BsDropdownDirective, i5.NgControlStatus, i5.NgModel, i6.TimepickerComponent, DateTimePickerComponent], encapsulation: 2 });
3035
2907
  (function () {
3036
2908
  (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TimeComponent, [{
3037
2909
  type: Component,
@@ -3062,8 +2934,7 @@ EpochModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [CommonModule
3062
2934
  BsDropdownModule,
3063
2935
  FormsModule,
3064
2936
  TimepickerModule,
3065
- WmComponentsModule,
3066
- IMaskModule] });
2937
+ WmComponentsModule] });
3067
2938
  (function () {
3068
2939
  (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(EpochModule, [{
3069
2940
  type: NgModule,
@@ -3074,8 +2945,7 @@ EpochModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [CommonModule
3074
2945
  BsDropdownModule,
3075
2946
  FormsModule,
3076
2947
  TimepickerModule,
3077
- WmComponentsModule,
3078
- IMaskModule
2948
+ WmComponentsModule
3079
2949
  ],
3080
2950
  declarations: [...components],
3081
2951
  exports: [...components]
@@ -3094,8 +2964,7 @@ EpochModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [CommonModule
3094
2964
  BsDropdownModule,
3095
2965
  FormsModule,
3096
2966
  TimepickerModule,
3097
- WmComponentsModule,
3098
- IMaskModule], exports: [DateComponent,
2967
+ WmComponentsModule], exports: [DateComponent,
3099
2968
  DatetimeComponent,
3100
2969
  TimeComponent,
3101
2970
  DateTimePickerComponent,