@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) { if (rf & 1) {
@@ -1640,138 +1637,21 @@ const registerProps$2 = () => {
1640
1637
  registerFormWidget(FormWidgetType.DATE, new Map(dateProps));
1641
1638
  };
1642
1639
 
1643
- function validateTheMaskedDate(format) {
1644
- if (format == 'timestamp') {
1645
- return {};
1646
- }
1647
- const modifiedFormat = format.toUpperCase().replace(/E/g, 'd');
1648
- const parseFn = str => {
1649
- return moment(str, modifiedFormat).toDate();
1650
- };
1651
- const formatFn = date => {
1652
- return moment(date, modifiedFormat).format(modifiedFormat);
1653
- };
1654
- return {
1655
- mask: Date,
1656
- pattern: modifiedFormat,
1657
- format: formatFn,
1658
- parse: parseFn,
1659
- blocks: {
1660
- YYYY: {
1661
- mask: IMask.MaskedRange,
1662
- from: 1900,
1663
- to: 9999,
1664
- placeholderChar: 'Y',
1665
- maxLength: 4,
1666
- overwrite: false,
1667
- },
1668
- YYY: {
1669
- mask: IMask.MaskedRange,
1670
- from: 0,
1671
- to: 9999,
1672
- placeholderChar: 'Y',
1673
- maxLength: 4,
1674
- overwrite: false,
1675
- },
1676
- YY: {
1677
- mask: IMask.MaskedRange,
1678
- from: 0,
1679
- to: 9999,
1680
- placeholderChar: 'Y',
1681
- maxLength: 4,
1682
- overwrite: false,
1683
- },
1684
- Y: {
1685
- mask: IMask.MaskedRange,
1686
- from: 0,
1687
- to: 9999,
1688
- placeholderChar: 'Y',
1689
- maxLength: 4,
1690
- overwrite: false,
1691
- },
1692
- M: {
1693
- mask: IMask.MaskedRange,
1694
- from: 1,
1695
- to: 12,
1696
- placeholderChar: 'M',
1697
- maxLength: 2,
1698
- overwrite: false,
1699
- },
1700
- MM: {
1701
- mask: IMask.MaskedRange,
1702
- from: 1,
1703
- to: 12,
1704
- placeholderChar: 'M',
1705
- maxLength: 2,
1706
- overwrite: false,
1707
- },
1708
- MMM: {
1709
- mask: IMask.MaskedEnum,
1710
- enum: Array.from({ length: 12 }, (_, i) => new Date(0, i).toLocaleString(window.navigator.language, { month: 'short' })),
1711
- placeholderChar: 'M',
1712
- maxLength: 3,
1713
- overwrite: false,
1714
- },
1715
- MMMM: {
1716
- mask: IMask.MaskedEnum,
1717
- enum: Array.from({ length: 12 }, (_, i) => new Date(0, i).toLocaleString(window.navigator.language, { month: 'long' })),
1718
- placeholderChar: 'M',
1719
- minLength: 3,
1720
- overwrite: false,
1721
- },
1722
- DD: {
1723
- mask: IMask.MaskedRange,
1724
- from: 1,
1725
- to: 31,
1726
- placeholderChar: 'D',
1727
- maxLength: 2,
1728
- overwrite: false,
1729
- },
1730
- D: {
1731
- mask: IMask.MaskedRange,
1732
- from: 1,
1733
- to: 31,
1734
- placeholderChar: 'D',
1735
- maxLength: 1,
1736
- overwrite: false,
1737
- },
1738
- ddd: {
1739
- mask: IMask.MaskedEnum,
1740
- enum: Array.from({ length: 7 }, (_, i) => new Date(0, 0, i + 1).toLocaleString(window.navigator.language, { weekday: 'short' })),
1741
- placeholderChar: 'E',
1742
- maxLength: 3,
1743
- overwrite: false,
1744
- },
1745
- dddd: {
1746
- mask: IMask.MaskedEnum,
1747
- enum: Array.from({ length: 7 }, (_, i) => new Date(0, 0, i + 1).toLocaleString(window.navigator.language, { weekday: 'long' })),
1748
- placeholderChar: 'E',
1749
- minLength: 6,
1750
- overwrite: false,
1751
- },
1752
- },
1753
- autofix: true,
1754
- lazy: false,
1755
- overwrite: false,
1756
- skipInvalid: true
1757
- };
1758
- }
1759
-
1760
1640
  const _c0$2 = ["wmDate", ""];
1761
- function DateComponent_ng_template_8_Template(rf, ctx) { if (rf & 1) {
1762
- const _r4 = i0.ɵɵgetCurrentView();
1763
- i0.ɵɵelementStart(0, "wm-datetimepicker", 9);
1764
- 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)); });
1641
+ function DateComponent_ng_template_7_Template(rf, ctx) { if (rf & 1) {
1642
+ const _r3 = i0.ɵɵgetCurrentView();
1643
+ i0.ɵɵelementStart(0, "wm-datetimepicker", 8);
1644
+ 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)); });
1765
1645
  i0.ɵɵelementEnd();
1766
- i0.ɵɵelementStart(1, "div", 10);
1767
- 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()); });
1646
+ i0.ɵɵelementStart(1, "div", 9);
1647
+ 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()); });
1768
1648
  i0.ɵɵelementEnd();
1769
1649
  } if (rf & 2) {
1770
- const ctx_r2 = i0.ɵɵnextContext();
1771
- 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);
1650
+ const ctx_r1 = i0.ɵɵnextContext();
1651
+ 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);
1772
1652
  i0.ɵɵadvance(1);
1773
- i0.ɵɵproperty("tabindex", ctx_r2.tabindex || 0);
1774
- i0.ɵɵattribute("aria-label", ctx_r2.displayValue ? "Change Date" + ctx_r2.displayValue : "Choose Date");
1653
+ i0.ɵɵproperty("tabindex", ctx_r1.tabindex || 0);
1654
+ i0.ɵɵattribute("aria-label", ctx_r1.displayValue ? "Change Date" + ctx_r1.displayValue : "Choose Date");
1775
1655
  } }
1776
1656
  const CURRENT_DATE$1 = 'CURRENT_DATE';
1777
1657
  const DEFAULT_CLS$2 = 'app-date input-group';
@@ -1796,14 +1676,6 @@ class DateComponent extends BaseDateTimeComponent {
1796
1676
  get datavalue() {
1797
1677
  return getFormattedDate(this.datePipe, this.bsDataValue, this.outputformat, this.timeZone, null, this.isCurrentDate, this) || '';
1798
1678
  }
1799
- get mask() {
1800
- if (this.datepattern) {
1801
- return validateTheMaskedDate(this.datepattern);
1802
- }
1803
- else {
1804
- return false;
1805
- }
1806
- }
1807
1679
  // Todo[Shubham]: needs to be redefined
1808
1680
  // sets the dataValue and computes the display model values
1809
1681
  // @ts-ignore
@@ -2014,22 +1886,22 @@ DateComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: DateComponent
2014
1886
  provideAs(DateComponent, NG_VALUE_ACCESSOR, true),
2015
1887
  provideAs(DateComponent, NG_VALIDATORS, true),
2016
1888
  provideAsWidgetRef(DateComponent)
2017
- ]), 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) { if (rf & 1) {
2018
- i0.ɵɵelementStart(0, "input", 0, 1);
1889
+ ]), 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) { if (rf & 1) {
1890
+ i0.ɵɵelementStart(0, "input", 0);
2019
1891
  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); });
2020
1892
  i0.ɵɵelementEnd();
2021
- i0.ɵɵelementStart(2, "span", 2)(3, "button", 3);
2022
- i0.ɵɵlistener("click", function DateComponent_Template_button_click_3_listener($event) { return ctx.toggleDpDropdown($event, false); });
2023
- i0.ɵɵelement(4, "i", 4);
1893
+ i0.ɵɵelementStart(1, "span", 1)(2, "button", 2);
1894
+ i0.ɵɵlistener("click", function DateComponent_Template_button_click_2_listener($event) { return ctx.toggleDpDropdown($event, false); });
1895
+ i0.ɵɵelement(3, "i", 3);
2024
1896
  i0.ɵɵelementEnd()();
2025
- i0.ɵɵelementStart(5, "div", 5)(6, "input", 6, 7);
2026
- 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); });
1897
+ i0.ɵɵelementStart(4, "div", 4)(5, "input", 5, 6);
1898
+ 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); });
2027
1899
  i0.ɵɵelementEnd()();
2028
- i0.ɵɵtemplate(8, DateComponent_ng_template_8_Template, 2, 8, "ng-template", 8);
1900
+ i0.ɵɵtemplate(7, DateComponent_ng_template_7_Template, 2, 8, "ng-template", 7);
2029
1901
  } if (rf & 2) {
2030
- 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);
1902
+ 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);
2031
1903
  i0.ɵɵattribute("aria-hidden", !!ctx.loadNativeDateInput)("placeholder", ctx.placeholder)("accesskey", ctx.shortcutkey)("aria-label", ctx.hint);
2032
- i0.ɵɵadvance(3);
1904
+ i0.ɵɵadvance(2);
2033
1905
  i0.ɵɵproperty("tabindex", ctx.loadNativeDateInput ? "-1" : ctx.tabindex)("disabled", ctx.disabled || ctx.readonly);
2034
1906
  i0.ɵɵattribute("aria-hidden", !!ctx.loadNativeDateInput)("aria-label", ctx.displayValue ? "Change Date " + ctx.displayValue : "Choose date by pressing enter");
2035
1907
  i0.ɵɵadvance(3);
@@ -2037,14 +1909,14 @@ DateComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: DateComponent
2037
1909
  i0.ɵɵattribute("aria-hidden", !!ctx.loadNativeDateInput);
2038
1910
  i0.ɵɵadvance(2);
2039
1911
  i0.ɵɵproperty("ngIf", ctx.loadNativeDateInput);
2040
- } }, dependencies: [i2.NgIf, i3.BsDatepickerDirective, i3.BsDatepickerInputDirective, i4.IMaskDirective, DateTimePickerComponent], encapsulation: 2 });
1912
+ } }, dependencies: [i2.NgIf, i3.BsDatepickerDirective, i3.BsDatepickerInputDirective, DateTimePickerComponent], encapsulation: 2 });
2041
1913
  (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(DateComponent, [{
2042
1914
  type: Component,
2043
1915
  args: [{ selector: '[wmDate]', providers: [
2044
1916
  provideAs(DateComponent, NG_VALUE_ACCESSOR, true),
2045
1917
  provideAs(DateComponent, NG_VALIDATORS, true),
2046
1918
  provideAsWidgetRef(DateComponent)
2047
- ], 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" }]
1919
+ ], 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" }]
2048
1920
  }], function () { return [{ type: i0.Injector }, { type: i0.ChangeDetectorRef }, { type: i1$1.AppDefaults }]; }, { bsDatePickerDirective: [{
2049
1921
  type: ViewChild,
2050
1922
  args: [BsDatepickerDirective]
@@ -2558,7 +2430,7 @@ DatetimeComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: DatetimeC
2558
2430
  i0.ɵɵattribute("aria-hidden", !!ctx.loadNativeDateInput);
2559
2431
  i0.ɵɵadvance(3);
2560
2432
  i0.ɵɵproperty("ngIf", ctx.loadNativeDateInput);
2561
- } }, dependencies: [i2.NgIf, i3.BsDatepickerDirective, i3.BsDatepickerInputDirective, i4$1.BsDropdownMenuDirective, i4$1.BsDropdownDirective, i5.NgControlStatus, i5.NgModel, i6.TimepickerComponent, DateTimePickerComponent], encapsulation: 2 });
2433
+ } }, dependencies: [i2.NgIf, i3.BsDatepickerDirective, i3.BsDatepickerInputDirective, i4.BsDropdownMenuDirective, i4.BsDropdownDirective, i5.NgControlStatus, i5.NgModel, i6.TimepickerComponent, DateTimePickerComponent], encapsulation: 2 });
2562
2434
  (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(DatetimeComponent, [{
2563
2435
  type: Component,
2564
2436
  args: [{ selector: '[wmDateTime]', providers: [
@@ -2946,7 +2818,7 @@ TimeComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: TimeComponent
2946
2818
  i0.ɵɵproperty("tabindex", ctx.tabindex)("disabled", ctx.disabled || ctx.readonly || ctx.isCurrentTime);
2947
2819
  i0.ɵɵadvance(3);
2948
2820
  i0.ɵɵproperty("ngIf", ctx.loadNativeDateInput);
2949
- } }, dependencies: [i2.NgIf, i4$1.BsDropdownMenuDirective, i4$1.BsDropdownDirective, i5.NgControlStatus, i5.NgModel, i6.TimepickerComponent, DateTimePickerComponent], encapsulation: 2 });
2821
+ } }, dependencies: [i2.NgIf, i4.BsDropdownMenuDirective, i4.BsDropdownDirective, i5.NgControlStatus, i5.NgModel, i6.TimepickerComponent, DateTimePickerComponent], encapsulation: 2 });
2950
2822
  (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TimeComponent, [{
2951
2823
  type: Component,
2952
2824
  args: [{ selector: '[wmTime]', providers: [
@@ -2975,8 +2847,7 @@ EpochModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [CommonModule
2975
2847
  BsDropdownModule,
2976
2848
  FormsModule,
2977
2849
  TimepickerModule,
2978
- WmComponentsModule,
2979
- IMaskModule] });
2850
+ WmComponentsModule] });
2980
2851
  (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(EpochModule, [{
2981
2852
  type: NgModule,
2982
2853
  args: [{
@@ -2986,8 +2857,7 @@ EpochModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [CommonModule
2986
2857
  BsDropdownModule,
2987
2858
  FormsModule,
2988
2859
  TimepickerModule,
2989
- WmComponentsModule,
2990
- IMaskModule
2860
+ WmComponentsModule
2991
2861
  ],
2992
2862
  declarations: [...components],
2993
2863
  exports: [...components]
@@ -3004,8 +2874,7 @@ EpochModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [CommonModule
3004
2874
  BsDropdownModule,
3005
2875
  FormsModule,
3006
2876
  TimepickerModule,
3007
- WmComponentsModule,
3008
- IMaskModule], exports: [DateComponent,
2877
+ WmComponentsModule], exports: [DateComponent,
3009
2878
  DatetimeComponent,
3010
2879
  TimeComponent,
3011
2880
  DateTimePickerComponent,