@wavemaker/app-ng-runtime 11.5.4-rc.5522 → 11.5.4-rc.5614

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 -150
  10. app-ng-runtime/components/input/epoch/date/date.component.d.ts +0 -98
  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 -143
  15. app-ng-runtime/components/input/epoch/fesm2015/index.mjs.map +1 -1
  16. app-ng-runtime/components/input/epoch/fesm2020/index.mjs +28 -143
  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 -99
  30. app-ng-runtime/components/input/epoch/esm2020/date/imaskUtil.mjs +0 -102
@@ -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,122 +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
- YY: {
1669
- mask: IMask.MaskedRange,
1670
- from: 0,
1671
- to: 99,
1672
- placeholderChar: 'Y',
1673
- maxLength: 2,
1674
- overwrite: false,
1675
- },
1676
- M: {
1677
- mask: IMask.MaskedRange,
1678
- from: 1,
1679
- to: 12,
1680
- placeholderChar: 'M',
1681
- maxLength: 2,
1682
- overwrite: false,
1683
- },
1684
- MM: {
1685
- mask: IMask.MaskedRange,
1686
- from: 1,
1687
- to: 12,
1688
- placeholderChar: 'M',
1689
- maxLength: 2,
1690
- overwrite: false,
1691
- },
1692
- MMM: {
1693
- mask: IMask.MaskedEnum,
1694
- enum: Array.from({ length: 12 }, (_, i) => new Date(0, i).toLocaleString(window.navigator.language, { month: 'short' })),
1695
- placeholderChar: 'M',
1696
- maxLength: 3,
1697
- overwrite: false,
1698
- },
1699
- MMMM: {
1700
- mask: IMask.MaskedEnum,
1701
- enum: Array.from({ length: 12 }, (_, i) => new Date(0, i).toLocaleString(window.navigator.language, { month: 'long' })),
1702
- placeholderChar: 'M',
1703
- minLength: 3,
1704
- overwrite: false,
1705
- },
1706
- DD: {
1707
- mask: IMask.MaskedRange,
1708
- from: 1,
1709
- to: 31,
1710
- placeholderChar: 'D',
1711
- maxLength: 2,
1712
- overwrite: false,
1713
- },
1714
- D: {
1715
- mask: IMask.MaskedRange,
1716
- from: 1,
1717
- to: 31,
1718
- placeholderChar: 'D',
1719
- maxLength: 1,
1720
- overwrite: false,
1721
- },
1722
- ddd: {
1723
- mask: IMask.MaskedEnum,
1724
- enum: Array.from({ length: 7 }, (_, i) => new Date(0, 0, i + 1).toLocaleString(window.navigator.language, { weekday: 'short' })),
1725
- placeholderChar: 'E',
1726
- maxLength: 3,
1727
- overwrite: false,
1728
- },
1729
- dddd: {
1730
- mask: IMask.MaskedEnum,
1731
- enum: Array.from({ length: 7 }, (_, i) => new Date(0, 0, i + 1).toLocaleString(window.navigator.language, { weekday: 'long' })),
1732
- placeholderChar: 'E',
1733
- minLength: 6,
1734
- overwrite: false,
1735
- },
1736
- },
1737
- autofix: true,
1738
- lazy: false,
1739
- overwrite: false,
1740
- skipInvalid: true
1741
- };
1742
- }
1743
-
1744
1640
  const _c0$2 = ["wmDate", ""];
1745
- function DateComponent_ng_template_8_Template(rf, ctx) { if (rf & 1) {
1746
- const _r4 = i0.ɵɵgetCurrentView();
1747
- i0.ɵɵelementStart(0, "wm-datetimepicker", 9);
1748
- 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)); });
1749
1645
  i0.ɵɵelementEnd();
1750
- i0.ɵɵelementStart(1, "div", 10);
1751
- 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()); });
1752
1648
  i0.ɵɵelementEnd();
1753
1649
  } if (rf & 2) {
1754
- const ctx_r2 = i0.ɵɵnextContext();
1755
- 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);
1756
1652
  i0.ɵɵadvance(1);
1757
- i0.ɵɵproperty("tabindex", ctx_r2.tabindex || 0);
1758
- 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");
1759
1655
  } }
1760
1656
  const CURRENT_DATE$1 = 'CURRENT_DATE';
1761
1657
  const DEFAULT_CLS$2 = 'app-date input-group';
@@ -1780,14 +1676,6 @@ class DateComponent extends BaseDateTimeComponent {
1780
1676
  get datavalue() {
1781
1677
  return getFormattedDate(this.datePipe, this.bsDataValue, this.outputformat, this.timeZone, null, this.isCurrentDate, this) || '';
1782
1678
  }
1783
- get mask() {
1784
- if (this.datepattern) {
1785
- return validateTheMaskedDate(this.datepattern);
1786
- }
1787
- else {
1788
- return false;
1789
- }
1790
- }
1791
1679
  // Todo[Shubham]: needs to be redefined
1792
1680
  // sets the dataValue and computes the display model values
1793
1681
  // @ts-ignore
@@ -1998,22 +1886,22 @@ DateComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: DateComponent
1998
1886
  provideAs(DateComponent, NG_VALUE_ACCESSOR, true),
1999
1887
  provideAs(DateComponent, NG_VALIDATORS, true),
2000
1888
  provideAsWidgetRef(DateComponent)
2001
- ]), 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) {
2002
- 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);
2003
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); });
2004
1892
  i0.ɵɵelementEnd();
2005
- i0.ɵɵelementStart(2, "span", 2)(3, "button", 3);
2006
- i0.ɵɵlistener("click", function DateComponent_Template_button_click_3_listener($event) { return ctx.toggleDpDropdown($event, false); });
2007
- 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);
2008
1896
  i0.ɵɵelementEnd()();
2009
- i0.ɵɵelementStart(5, "div", 5)(6, "input", 6, 7);
2010
- 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); });
2011
1899
  i0.ɵɵelementEnd()();
2012
- 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);
2013
1901
  } if (rf & 2) {
2014
- 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);
2015
1903
  i0.ɵɵattribute("aria-hidden", !!ctx.loadNativeDateInput)("placeholder", ctx.placeholder)("accesskey", ctx.shortcutkey)("aria-label", ctx.hint);
2016
- i0.ɵɵadvance(3);
1904
+ i0.ɵɵadvance(2);
2017
1905
  i0.ɵɵproperty("tabindex", ctx.loadNativeDateInput ? "-1" : ctx.tabindex)("disabled", ctx.disabled || ctx.readonly);
2018
1906
  i0.ɵɵattribute("aria-hidden", !!ctx.loadNativeDateInput)("aria-label", ctx.displayValue ? "Change Date " + ctx.displayValue : "Choose date by pressing enter");
2019
1907
  i0.ɵɵadvance(3);
@@ -2021,14 +1909,14 @@ DateComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: DateComponent
2021
1909
  i0.ɵɵattribute("aria-hidden", !!ctx.loadNativeDateInput);
2022
1910
  i0.ɵɵadvance(2);
2023
1911
  i0.ɵɵproperty("ngIf", ctx.loadNativeDateInput);
2024
- } }, dependencies: [i2.NgIf, i3.BsDatepickerDirective, i3.BsDatepickerInputDirective, i4.IMaskDirective, DateTimePickerComponent], encapsulation: 2 });
1912
+ } }, dependencies: [i2.NgIf, i3.BsDatepickerDirective, i3.BsDatepickerInputDirective, DateTimePickerComponent], encapsulation: 2 });
2025
1913
  (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(DateComponent, [{
2026
1914
  type: Component,
2027
1915
  args: [{ selector: '[wmDate]', providers: [
2028
1916
  provideAs(DateComponent, NG_VALUE_ACCESSOR, true),
2029
1917
  provideAs(DateComponent, NG_VALIDATORS, true),
2030
1918
  provideAsWidgetRef(DateComponent)
2031
- ], 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" }]
2032
1920
  }], function () { return [{ type: i0.Injector }, { type: i0.ChangeDetectorRef }, { type: i1$1.AppDefaults }]; }, { bsDatePickerDirective: [{
2033
1921
  type: ViewChild,
2034
1922
  args: [BsDatepickerDirective]
@@ -2542,7 +2430,7 @@ DatetimeComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: DatetimeC
2542
2430
  i0.ɵɵattribute("aria-hidden", !!ctx.loadNativeDateInput);
2543
2431
  i0.ɵɵadvance(3);
2544
2432
  i0.ɵɵproperty("ngIf", ctx.loadNativeDateInput);
2545
- } }, 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 });
2546
2434
  (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(DatetimeComponent, [{
2547
2435
  type: Component,
2548
2436
  args: [{ selector: '[wmDateTime]', providers: [
@@ -2930,7 +2818,7 @@ TimeComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: TimeComponent
2930
2818
  i0.ɵɵproperty("tabindex", ctx.tabindex)("disabled", ctx.disabled || ctx.readonly || ctx.isCurrentTime);
2931
2819
  i0.ɵɵadvance(3);
2932
2820
  i0.ɵɵproperty("ngIf", ctx.loadNativeDateInput);
2933
- } }, 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 });
2934
2822
  (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TimeComponent, [{
2935
2823
  type: Component,
2936
2824
  args: [{ selector: '[wmTime]', providers: [
@@ -2959,8 +2847,7 @@ EpochModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [CommonModule
2959
2847
  BsDropdownModule,
2960
2848
  FormsModule,
2961
2849
  TimepickerModule,
2962
- WmComponentsModule,
2963
- IMaskModule] });
2850
+ WmComponentsModule] });
2964
2851
  (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(EpochModule, [{
2965
2852
  type: NgModule,
2966
2853
  args: [{
@@ -2970,8 +2857,7 @@ EpochModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [CommonModule
2970
2857
  BsDropdownModule,
2971
2858
  FormsModule,
2972
2859
  TimepickerModule,
2973
- WmComponentsModule,
2974
- IMaskModule
2860
+ WmComponentsModule
2975
2861
  ],
2976
2862
  declarations: [...components],
2977
2863
  exports: [...components]
@@ -2988,8 +2874,7 @@ EpochModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [CommonModule
2988
2874
  BsDropdownModule,
2989
2875
  FormsModule,
2990
2876
  TimepickerModule,
2991
- WmComponentsModule,
2992
- IMaskModule], exports: [DateComponent,
2877
+ WmComponentsModule], exports: [DateComponent,
2993
2878
  DatetimeComponent,
2994
2879
  TimeComponent,
2995
2880
  DateTimePickerComponent,