@wavemaker/app-ng-runtime 11.5.2-next.141116 → 11.5.2-next.141120

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 (42) hide show
  1. app-ng-runtime/build-task/bundles/index.umd.js +11 -1
  2. app-ng-runtime/build-task/esm2022/basic/default/label/label.build.mjs +12 -2
  3. app-ng-runtime/build-task/fesm2022/index.mjs +11 -1
  4. app-ng-runtime/build-task/fesm2022/index.mjs.map +1 -1
  5. app-ng-runtime/components/basic/default/bundles/index.umd.js +2 -0
  6. app-ng-runtime/components/basic/default/esm2022/label/label.props.mjs +3 -1
  7. app-ng-runtime/components/basic/default/fesm2022/index.mjs +2 -0
  8. app-ng-runtime/components/basic/default/fesm2022/index.mjs.map +1 -1
  9. app-ng-runtime/components/containers/tabs/bundles/index.umd.js +12 -12
  10. app-ng-runtime/components/containers/tabs/esm2022/tab-pane/tab-pane.component.mjs +5 -5
  11. app-ng-runtime/components/containers/tabs/esm2022/tabs.component.mjs +9 -9
  12. app-ng-runtime/components/containers/tabs/fesm2022/index.mjs +12 -12
  13. app-ng-runtime/components/containers/tabs/fesm2022/index.mjs.map +1 -1
  14. app-ng-runtime/components/containers/tabs/tab-pane/tab-pane.component.d.ts +1 -1
  15. app-ng-runtime/components/containers/tabs/tabs.component.d.ts +3 -3
  16. app-ng-runtime/components/data/table/bundles/index.umd.js +3 -0
  17. app-ng-runtime/components/data/table/esm2022/table.component.mjs +3 -1
  18. app-ng-runtime/components/data/table/esm2022/table.props.mjs +2 -1
  19. app-ng-runtime/components/data/table/fesm2022/index.mjs +3 -0
  20. app-ng-runtime/components/data/table/fesm2022/index.mjs.map +1 -1
  21. app-ng-runtime/components/data/table/table.component.d.ts +2 -0
  22. app-ng-runtime/components/input/epoch/base-date-time.component.d.ts +1 -1
  23. app-ng-runtime/components/input/epoch/bundles/index.umd.js +189 -49
  24. app-ng-runtime/components/input/epoch/date/date.component.d.ts +103 -0
  25. app-ng-runtime/components/input/epoch/date/imaskUtil.d.ts +103 -0
  26. app-ng-runtime/components/input/epoch/epoch.module.d.ts +2 -1
  27. app-ng-runtime/components/input/epoch/esm2022/base-date-time.component.mjs +19 -11
  28. app-ng-runtime/components/input/epoch/esm2022/date/date.component.mjs +35 -25
  29. app-ng-runtime/components/input/epoch/esm2022/date/imaskUtil.mjs +121 -0
  30. app-ng-runtime/components/input/epoch/esm2022/date-time/date-time.component.mjs +2 -2
  31. app-ng-runtime/components/input/epoch/esm2022/epoch.module.mjs +8 -4
  32. app-ng-runtime/components/input/epoch/fesm2022/index.mjs +182 -40
  33. app-ng-runtime/components/input/epoch/fesm2022/index.mjs.map +1 -1
  34. app-ng-runtime/components/navigation/menu/bundles/index.umd.js +54 -1
  35. app-ng-runtime/components/navigation/menu/esm2022/menu-dropdown/menu-dropdown.component.mjs +51 -1
  36. app-ng-runtime/components/navigation/menu/esm2022/menu.component.mjs +5 -2
  37. app-ng-runtime/components/navigation/menu/fesm2022/index.mjs +54 -1
  38. app-ng-runtime/components/navigation/menu/fesm2022/index.mjs.map +1 -1
  39. app-ng-runtime/components/navigation/menu/menu-dropdown/menu-dropdown.component.d.ts +4 -0
  40. app-ng-runtime/components/navigation/menu/menu.component.d.ts +2 -1
  41. app-ng-runtime/package.json +1 -1
  42. app-ng-runtime/scripts/datatable/datatable.js +37 -3
@@ -54,6 +54,7 @@ export declare class TableComponent extends StylableComponent implements AfterCo
54
54
  enablecolumnselection: any;
55
55
  enablesort: boolean;
56
56
  filtermode: any;
57
+ filteronkeypress: any;
57
58
  searchlabel: any;
58
59
  formposition: any;
59
60
  gridclass: any;
@@ -189,6 +190,7 @@ export declare class TableComponent extends StylableComponent implements AfterCo
189
190
  direction: string;
190
191
  };
191
192
  filtermode: string;
193
+ filteronkeypress: boolean;
192
194
  searchLabel: string;
193
195
  rowActions: any[];
194
196
  headerConfig: any[];
@@ -119,7 +119,7 @@ export declare abstract class BaseDateTimeComponent extends BaseFormCustomCompon
119
119
  /**
120
120
  * This method is used to highlight the current date
121
121
  */
122
- protected hightlightToday(): void;
122
+ protected hightlightToday(newDate: any): void;
123
123
  /**
124
124
  * This method is used to find the new date is from another year or not
125
125
  * @param newDate - newly selected date value
@@ -1,8 +1,8 @@
1
1
  (function (global, factory) {
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')) :
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'], factory) :
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));
5
- })(this, (function (exports, i0, i2, i5, i3, i4, i6, base, i1$1, input, i1) { 'use strict';
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('imask'), require('angular-imask')) :
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', 'imask', 'angular-imask'], factory) :
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.IMask, global.angularIMask));
5
+ })(this, (function (exports, i0, i2, i5, i3, i4$1, i6, base, i1$1, input, i1, IMask, i4) { 'use strict';
6
6
 
7
7
  function _interopNamespaceDefault(e) {
8
8
  var n = Object.create(null);
@@ -25,10 +25,11 @@
25
25
  var i2__namespace = /*#__PURE__*/_interopNamespaceDefault(i2);
26
26
  var i5__namespace = /*#__PURE__*/_interopNamespaceDefault(i5);
27
27
  var i3__namespace = /*#__PURE__*/_interopNamespaceDefault(i3);
28
- var i4__namespace = /*#__PURE__*/_interopNamespaceDefault(i4);
28
+ var i4$1__namespace = /*#__PURE__*/_interopNamespaceDefault(i4$1);
29
29
  var i6__namespace = /*#__PURE__*/_interopNamespaceDefault(i6);
30
30
  var i1$1__namespace = /*#__PURE__*/_interopNamespaceDefault(i1$1);
31
31
  var i1__namespace = /*#__PURE__*/_interopNamespaceDefault(i1);
32
+ var i4__namespace = /*#__PURE__*/_interopNamespaceDefault(i4);
32
33
 
33
34
  const _c0$4 = ["*"];
34
35
  function PickerComponent_div_6_Template(rf, ctx) { if (rf & 1) {
@@ -848,13 +849,18 @@
848
849
  /**
849
850
  * This method is used to highlight the current date
850
851
  */
851
- hightlightToday() {
852
- const toDay = new Date().getDate().toString();
853
- _.filter($(`span:contains(${toDay})`).not('.is-other-month'), (obj) => {
854
- if ($(obj).text() === toDay) {
855
- $(obj).addClass('current-date text-info');
856
- }
857
- });
852
+ hightlightToday(newDate) {
853
+ const activeMonth = $(`.bs-datepicker-head .current`).first().text();
854
+ const activeYear = $(".bs-datepicker-head .current").eq(1).text();
855
+ const monthName = new Date().toLocaleString('default', { month: 'long' });
856
+ if (activeMonth == monthName && activeYear == new Date().getFullYear() && newDate.getDate() === new Date().getDate() && newDate.getMonth() === new Date().getMonth() && newDate.getFullYear() === new Date().getFullYear()) {
857
+ const toDay = new Date().getDate().toString();
858
+ _.filter($(`span:contains(${toDay})`).not('.is-other-month'), (obj) => {
859
+ if ($(obj).text() === toDay) {
860
+ $(obj).addClass('current-date text-info');
861
+ }
862
+ });
863
+ }
858
864
  }
859
865
  /**
860
866
  * This method is used to find the new date is from another year or not
@@ -915,7 +921,10 @@
915
921
  setTimeout(() => {
916
922
  const newDay = newDate.getDate().toString();
917
923
  _.filter($(`span:contains(${newDay})`).not('.is-other-month'), (obj) => {
918
- if ($(obj).text() === newDay) {
924
+ const activeMonth = $(`.bs-datepicker-head .current`).first().text();
925
+ const activeYear = $(".bs-datepicker-head .current").eq(1).text();
926
+ const monthName = new Date().toLocaleString('default', { month: 'long' });
927
+ if ($(obj).text() === newDay && activeMonth == monthName && activeYear == new Date().getFullYear()) {
919
928
  if ($(obj).hasClass('selected')) {
920
929
  $(obj).parent().attr('aria-selected', 'true');
921
930
  }
@@ -926,8 +935,8 @@
926
935
  this.activeDate = newDate;
927
936
  }
928
937
  });
929
- if (newDate.getMonth() === new Date().getMonth() && newDate.getFullYear() === new Date().getFullYear()) {
930
- this.hightlightToday();
938
+ if (newDate.getDate() === new Date().getDate() && newDate.getMonth() === new Date().getMonth() && newDate.getFullYear() === new Date().getFullYear()) {
939
+ this.hightlightToday(newDate);
931
940
  }
932
941
  });
933
942
  }
@@ -1612,7 +1621,7 @@
1612
1621
  }
1613
1622
  static { this.ɵfac = function BaseDateTimeComponent_Factory(t) { i0__namespace.ɵɵinvalidFactory(); }; }
1614
1623
  static { this.ɵdir = /*@__PURE__*/ i0__namespace.ɵɵdefineDirective({ type: BaseDateTimeComponent, viewQuery: function BaseDateTimeComponent_Query(rf, ctx) { if (rf & 1) {
1615
- i0__namespace.ɵɵviewQuery(i4.BsDropdownDirective, 5);
1624
+ i0__namespace.ɵɵviewQuery(i4$1.BsDropdownDirective, 5);
1616
1625
  i0__namespace.ɵɵviewQuery(i6.TimepickerComponent, 5);
1617
1626
  i0__namespace.ɵɵviewQuery(DateTimePickerComponent, 5);
1618
1627
  } if (rf & 2) {
@@ -1626,7 +1635,7 @@
1626
1635
  type: i0.Directive
1627
1636
  }], function () { return [{ type: i0__namespace.Injector }, { type: undefined }]; }, { bsDropdown: [{
1628
1637
  type: i0.ViewChild,
1629
- args: [i4.BsDropdownDirective]
1638
+ args: [i4$1.BsDropdownDirective]
1630
1639
  }], bsTimePicker: [{
1631
1640
  type: i0.ViewChild,
1632
1641
  args: [i6.TimepickerComponent]
@@ -1673,21 +1682,141 @@
1673
1682
  base.registerFormWidget(i1$1.FormWidgetType.DATE, new Map(dateProps));
1674
1683
  };
1675
1684
 
1685
+ const monthNamesLong = [
1686
+ 'January',
1687
+ 'February',
1688
+ 'March',
1689
+ 'April',
1690
+ 'May',
1691
+ 'June',
1692
+ 'July',
1693
+ 'August',
1694
+ 'September',
1695
+ 'October',
1696
+ 'November',
1697
+ 'December',
1698
+ ];
1699
+ function validateTheMaskedDate(format) {
1700
+ if (format == 'timestamp') {
1701
+ return {};
1702
+ }
1703
+ const modifiedFormat = format.toUpperCase().replace(/E/g, 'd');
1704
+ const parseFn = str => {
1705
+ return moment(str, modifiedFormat).toDate();
1706
+ };
1707
+ const formatFn = date => {
1708
+ return moment(date, modifiedFormat).format(modifiedFormat);
1709
+ };
1710
+ return {
1711
+ mask: Date,
1712
+ pattern: modifiedFormat,
1713
+ format: formatFn,
1714
+ parse: parseFn,
1715
+ blocks: {
1716
+ YYYY: {
1717
+ mask: IMask.MaskedRange,
1718
+ from: 1900,
1719
+ to: 9999,
1720
+ placeholderChar: 'Y',
1721
+ maxLength: 4,
1722
+ },
1723
+ YYY: {
1724
+ mask: IMask.MaskedRange,
1725
+ from: 900,
1726
+ to: 999,
1727
+ placeholderChar: 'Y',
1728
+ maxLength: 3,
1729
+ overwrite: false,
1730
+ },
1731
+ YY: {
1732
+ mask: IMask.MaskedRange,
1733
+ from: 0,
1734
+ to: 99,
1735
+ placeholderChar: 'Y',
1736
+ maxLength: 2,
1737
+ },
1738
+ Y: {
1739
+ mask: IMask.MaskedRange,
1740
+ from: 0,
1741
+ to: 9,
1742
+ placeholderChar: 'Y',
1743
+ maxLength: 1,
1744
+ },
1745
+ M: {
1746
+ mask: IMask.MaskedRange,
1747
+ from: 1,
1748
+ to: 12,
1749
+ placeholderChar: 'M',
1750
+ maxLength: 2,
1751
+ },
1752
+ MM: {
1753
+ mask: IMask.MaskedRange,
1754
+ from: 1,
1755
+ to: 12,
1756
+ placeholderChar: 'M',
1757
+ maxLength: 2,
1758
+ },
1759
+ MMM: {
1760
+ mask: IMask.MaskedEnum,
1761
+ enum: Array.from({ length: 12 }, (_, i) => new Date(0, i).toLocaleString(window.navigator.language, { month: 'short' })),
1762
+ placeholderChar: 'M',
1763
+ maxLength: 3,
1764
+ },
1765
+ MMMM: {
1766
+ mask: IMask.MaskedEnum,
1767
+ enum: monthNamesLong,
1768
+ placeholderChar: "M",
1769
+ maxLength: 4
1770
+ },
1771
+ DD: {
1772
+ mask: IMask.MaskedRange,
1773
+ from: 1,
1774
+ to: 31,
1775
+ placeholderChar: 'D',
1776
+ maxLength: 2,
1777
+ },
1778
+ D: {
1779
+ mask: IMask.MaskedRange,
1780
+ from: 1,
1781
+ to: 31,
1782
+ placeholderChar: 'D',
1783
+ maxLength: 1,
1784
+ },
1785
+ ddd: {
1786
+ mask: IMask.MaskedEnum,
1787
+ enum: Array.from({ length: 7 }, (_, i) => new Date(0, 0, i + 1).toLocaleString(window.navigator.language, { weekday: 'short' })),
1788
+ placeholderChar: 'E',
1789
+ maxLength: 3,
1790
+ },
1791
+ dddd: {
1792
+ mask: IMask.MaskedEnum,
1793
+ enum: Array.from({ length: 7 }, (_, i) => new Date(0, 0, i + 1).toLocaleString(window.navigator.language, { weekday: 'long' })),
1794
+ placeholderChar: 'E',
1795
+ minLength: 6,
1796
+ },
1797
+ },
1798
+ autofix: true,
1799
+ lazy: false,
1800
+ overwrite: true,
1801
+ skipInvalid: true
1802
+ };
1803
+ }
1804
+
1676
1805
  const _c0$2 = ["wmDate", ""];
1677
- function DateComponent_ng_template_7_Template(rf, ctx) { if (rf & 1) {
1678
- const _r3 = i0__namespace.ɵɵgetCurrentView();
1679
- i0__namespace.ɵɵelementStart(0, "wm-datetimepicker", 8);
1680
- i0__namespace.ɵɵlistener("change", function DateComponent_ng_template_7_Template_wm_datetimepicker_change_0_listener($event) { i0__namespace.ɵɵrestoreView(_r3); const ctx_r2 = i0__namespace.ɵɵnextContext(); return i0__namespace.ɵɵresetView(ctx_r2.onDateChange($event)); });
1806
+ function DateComponent_ng_template_8_Template(rf, ctx) { if (rf & 1) {
1807
+ const _r4 = i0__namespace.ɵɵgetCurrentView();
1808
+ i0__namespace.ɵɵelementStart(0, "wm-datetimepicker", 9);
1809
+ i0__namespace.ɵɵlistener("change", function DateComponent_ng_template_8_Template_wm_datetimepicker_change_0_listener($event) { i0__namespace.ɵɵrestoreView(_r4); const ctx_r3 = i0__namespace.ɵɵnextContext(); return i0__namespace.ɵɵresetView(ctx_r3.onDateChange($event)); });
1681
1810
  i0__namespace.ɵɵelementEnd();
1682
- i0__namespace.ɵɵelementStart(1, "div", 9);
1683
- i0__namespace.ɵɵlistener("click", function DateComponent_ng_template_7_Template_div_click_1_listener() { i0__namespace.ɵɵrestoreView(_r3); const ctx_r4 = i0__namespace.ɵɵnextContext(); return i0__namespace.ɵɵresetView(!(ctx_r4.disabled || ctx_r4.readonly || ctx_r4.isCurrentDate) && ctx_r4.showDatePickerModal(ctx_r4.bsDataValue)); })("focus", function DateComponent_ng_template_7_Template_div_focus_1_listener($event) { i0__namespace.ɵɵrestoreView(_r3); const ctx_r5 = i0__namespace.ɵɵnextContext(); ctx_r5.onDateTimeInputFocus(true); return i0__namespace.ɵɵresetView(ctx_r5.invokeOnFocus($event)); })("blur", function DateComponent_ng_template_7_Template_div_blur_1_listener($event) { i0__namespace.ɵɵrestoreView(_r3); const ctx_r6 = i0__namespace.ɵɵnextContext(); ctx_r6.onDateTimeInputBlur(); return i0__namespace.ɵɵresetView(ctx_r6.invokeOnTouched($event)); });
1811
+ i0__namespace.ɵɵelementStart(1, "div", 10);
1812
+ i0__namespace.ɵɵlistener("click", function DateComponent_ng_template_8_Template_div_click_1_listener() { i0__namespace.ɵɵrestoreView(_r4); const ctx_r5 = i0__namespace.ɵɵnextContext(); return i0__namespace.ɵɵresetView(!(ctx_r5.disabled || ctx_r5.readonly || ctx_r5.isCurrentDate) && ctx_r5.showDatePickerModal(ctx_r5.bsDataValue)); })("focus", function DateComponent_ng_template_8_Template_div_focus_1_listener($event) { i0__namespace.ɵɵrestoreView(_r4); const ctx_r6 = i0__namespace.ɵɵnextContext(); ctx_r6.onDateTimeInputFocus(true); return i0__namespace.ɵɵresetView(ctx_r6.invokeOnFocus($event)); })("blur", function DateComponent_ng_template_8_Template_div_blur_1_listener($event) { i0__namespace.ɵɵrestoreView(_r4); const ctx_r7 = i0__namespace.ɵɵnextContext(); ctx_r7.onDateTimeInputBlur(); return i0__namespace.ɵɵresetView(ctx_r7.invokeOnTouched($event)); });
1684
1813
  i0__namespace.ɵɵelementEnd();
1685
1814
  } if (rf & 2) {
1686
- const ctx_r1 = i0__namespace.ɵɵnextContext();
1687
- i0__namespace.ɵɵ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);
1815
+ const ctx_r2 = i0__namespace.ɵɵnextContext();
1816
+ i0__namespace.ɵɵ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);
1688
1817
  i0__namespace.ɵɵadvance(1);
1689
- i0__namespace.ɵɵproperty("tabindex", ctx_r1.tabindex || 0);
1690
- i0__namespace.ɵɵattribute("aria-label", ctx_r1.displayValue ? "Change Date " + ctx_r1.displayValue : ctx_r1.hint || "Choose Date");
1818
+ i0__namespace.ɵɵproperty("tabindex", ctx_r2.tabindex || 0);
1819
+ i0__namespace.ɵɵattribute("aria-label", ctx_r2.displayValue ? "Change Date " + ctx_r2.displayValue : ctx_r2.hint || "Choose Date");
1691
1820
  } }
1692
1821
  const CURRENT_DATE$1 = 'CURRENT_DATE';
1693
1822
  const DEFAULT_CLS$2 = 'app-date input-group';
@@ -1713,6 +1842,14 @@
1713
1842
  get datavalue() {
1714
1843
  return i1$1.getFormattedDate(this.datePipe, this.bsDataValue, this.outputformat, this.timeZone, null, this.isCurrentDate, this) || '';
1715
1844
  }
1845
+ get mask() {
1846
+ if (this.datepattern) {
1847
+ return validateTheMaskedDate(this.datepattern);
1848
+ }
1849
+ else {
1850
+ return false;
1851
+ }
1852
+ }
1716
1853
  // Todo[Shubham]: needs to be redefined
1717
1854
  // sets the dataValue and computes the display model values
1718
1855
  // @ts-ignore
@@ -1788,7 +1925,7 @@
1788
1925
  this.isOpen = true;
1789
1926
  this.bsDataValue ? this.activeDate = this.bsDataValue : this.activeDate = new Date();
1790
1927
  if (!this.bsDataValue) {
1791
- this.hightlightToday();
1928
+ this.hightlightToday(this.activeDate);
1792
1929
  }
1793
1930
  // We are using the two input tags(To maintain the modal and proxy modal) for the date control.
1794
1931
  // So actual bootstrap input target width we made it to 0, so bootstrap calculating the calendar container top position improperly.
@@ -1921,22 +2058,22 @@
1921
2058
  base.provideAs(DateComponent, i5.NG_VALUE_ACCESSOR, true),
1922
2059
  base.provideAs(DateComponent, i5.NG_VALIDATORS, true),
1923
2060
  base.provideAsWidgetRef(DateComponent)
1924
- ]), i0__namespace.ɵɵ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"], ["role", "button", 1, "mobile-input", "mobile-datepicker-container", 3, "tabindex", "click", "focus", "blur"]], template: function DateComponent_Template(rf, ctx) { if (rf & 1) {
1925
- i0__namespace.ɵɵelementStart(0, "input", 0);
2061
+ ]), i0__namespace.ɵɵ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"], ["role", "button", 1, "mobile-input", "mobile-datepicker-container", 3, "tabindex", "click", "focus", "blur"]], template: function DateComponent_Template(rf, ctx) { if (rf & 1) {
2062
+ i0__namespace.ɵɵelementStart(0, "input", 0, 1);
1926
2063
  i0__namespace.ɵɵ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); });
1927
2064
  i0__namespace.ɵɵelementEnd();
1928
- i0__namespace.ɵɵelementStart(1, "span", 1)(2, "button", 2);
1929
- i0__namespace.ɵɵlistener("click", function DateComponent_Template_button_click_2_listener($event) { return ctx.toggleDpDropdown($event, false); });
1930
- i0__namespace.ɵɵelement(3, "i", 3);
2065
+ i0__namespace.ɵɵelementStart(2, "span", 2)(3, "button", 3);
2066
+ i0__namespace.ɵɵlistener("click", function DateComponent_Template_button_click_3_listener($event) { return ctx.toggleDpDropdown($event, false); });
2067
+ i0__namespace.ɵɵelement(4, "i", 4);
1931
2068
  i0__namespace.ɵɵelementEnd()();
1932
- i0__namespace.ɵɵelementStart(4, "div", 4)(5, "input", 5, 6);
1933
- i0__namespace.ɵɵ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); });
2069
+ i0__namespace.ɵɵelementStart(5, "div", 5)(6, "input", 6, 7);
2070
+ i0__namespace.ɵɵ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); });
1934
2071
  i0__namespace.ɵɵelementEnd()();
1935
- i0__namespace.ɵɵtemplate(7, DateComponent_ng_template_7_Template, 2, 8, "ng-template", 7);
2072
+ i0__namespace.ɵɵtemplate(8, DateComponent_ng_template_8_Template, 2, 8, "ng-template", 8);
1936
2073
  } if (rf & 2) {
1937
- i0__namespace.ɵɵ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);
2074
+ 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);
1938
2075
  i0__namespace.ɵɵattribute("aria-hidden", !!ctx.loadNativeDateInput)("placeholder", ctx.placeholder)("accesskey", ctx.shortcutkey)("aria-label", ctx.hint);
1939
- i0__namespace.ɵɵadvance(2);
2076
+ i0__namespace.ɵɵadvance(3);
1940
2077
  i0__namespace.ɵɵproperty("tabindex", ctx.loadNativeDateInput ? "-1" : ctx.tabindex)("disabled", ctx.disabled || ctx.readonly);
1941
2078
  i0__namespace.ɵɵattribute("aria-hidden", !!ctx.loadNativeDateInput)("aria-label", ctx.displayValue ? "Change Date " + ctx.displayValue : "Choose date by pressing enter");
1942
2079
  i0__namespace.ɵɵadvance(3);
@@ -1944,7 +2081,7 @@
1944
2081
  i0__namespace.ɵɵattribute("aria-hidden", !!ctx.loadNativeDateInput);
1945
2082
  i0__namespace.ɵɵadvance(2);
1946
2083
  i0__namespace.ɵɵproperty("ngIf", ctx.loadNativeDateInput);
1947
- } }, dependencies: [i2__namespace.NgIf, i3__namespace.BsDatepickerDirective, i3__namespace.BsDatepickerInputDirective, DateTimePickerComponent], encapsulation: 2 }); }
2084
+ } }, dependencies: [i2__namespace.NgIf, i3__namespace.BsDatepickerDirective, i3__namespace.BsDatepickerInputDirective, i4__namespace.IMaskDirective, DateTimePickerComponent], encapsulation: 2 }); }
1948
2085
  }
1949
2086
  (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(DateComponent, [{
1950
2087
  type: i0.Component,
@@ -1952,7 +2089,7 @@
1952
2089
  base.provideAs(DateComponent, i5.NG_VALUE_ACCESSOR, true),
1953
2090
  base.provideAs(DateComponent, i5.NG_VALIDATORS, true),
1954
2091
  base.provideAsWidgetRef(DateComponent)
1955
- ], 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 (click)=\"!(disabled || readonly || isCurrentDate) && showDatePickerModal(bsDataValue)\"\n (focus)=\"onDateTimeInputFocus(true); invokeOnFocus($event);\"\n (blur)=\"onDateTimeInputBlur(); invokeOnTouched($event)\"\n [attr.aria-label]=\"displayValue ? 'Change Date ' + displayValue : hint || 'Choose Date'\"\n role=\"button\">\n </div>\n</ng-template>\n" }]
2092
+ ], 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 (click)=\"!(disabled || readonly || isCurrentDate) && showDatePickerModal(bsDataValue)\"\n (focus)=\"onDateTimeInputFocus(true); invokeOnFocus($event);\"\n (blur)=\"onDateTimeInputBlur(); invokeOnTouched($event)\"\n [attr.aria-label]=\"displayValue ? 'Change Date ' + displayValue : hint || 'Choose Date'\"\n role=\"button\">\n </div>\n</ng-template>\n" }]
1956
2093
  }], function () { return [{ type: i0__namespace.Injector }, { type: i0__namespace.ChangeDetectorRef }, { type: i1$1__namespace.AppDefaults }]; }, { bsDatePickerDirective: [{
1957
2094
  type: i0.ViewChild,
1958
2095
  args: [i3.BsDatepickerDirective]
@@ -2197,7 +2334,7 @@
2197
2334
  this.focusTrap.activate();
2198
2335
  this.bsDateValue ? this.activeDate = this.bsDateValue : this.activeDate = new Date();
2199
2336
  if (!this.bsDateValue) {
2200
- this.hightlightToday();
2337
+ this.hightlightToday(this.activeDate);
2201
2338
  }
2202
2339
  this.addDatepickerKeyboardEvents(this, true);
2203
2340
  i1$1.adjustContainerPosition($('bs-datepicker-container'), this.nativeElement, this.bsDatePickerDirective._datepicker);
@@ -2466,7 +2603,7 @@
2466
2603
  i0__namespace.ɵɵattribute("aria-hidden", !!ctx.loadNativeDateInput);
2467
2604
  i0__namespace.ɵɵadvance(3);
2468
2605
  i0__namespace.ɵɵproperty("ngIf", ctx.loadNativeDateInput);
2469
- } }, dependencies: [i2__namespace.NgIf, i3__namespace.BsDatepickerDirective, i3__namespace.BsDatepickerInputDirective, i4__namespace.BsDropdownMenuDirective, i4__namespace.BsDropdownDirective, i5__namespace.NgControlStatus, i5__namespace.NgModel, i6__namespace.TimepickerComponent, DateTimePickerComponent], encapsulation: 2 }); }
2606
+ } }, 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 }); }
2470
2607
  }
2471
2608
  (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(DatetimeComponent, [{
2472
2609
  type: i0.Component,
@@ -2856,7 +2993,7 @@
2856
2993
  i0__namespace.ɵɵproperty("tabindex", ctx.tabindex)("disabled", ctx.disabled || ctx.readonly || ctx.isCurrentTime);
2857
2994
  i0__namespace.ɵɵadvance(3);
2858
2995
  i0__namespace.ɵɵproperty("ngIf", ctx.loadNativeDateInput);
2859
- } }, dependencies: [i2__namespace.NgIf, i4__namespace.BsDropdownMenuDirective, i4__namespace.BsDropdownDirective, i5__namespace.NgControlStatus, i5__namespace.NgModel, i6__namespace.TimepickerComponent, DateTimePickerComponent], encapsulation: 2 }); }
2996
+ } }, dependencies: [i2__namespace.NgIf, i4$1__namespace.BsDropdownMenuDirective, i4$1__namespace.BsDropdownDirective, i5__namespace.NgControlStatus, i5__namespace.NgModel, i6__namespace.TimepickerComponent, DateTimePickerComponent], encapsulation: 2 }); }
2860
2997
  }
2861
2998
  (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(TimeComponent, [{
2862
2999
  type: i0.Component,
@@ -2882,10 +3019,11 @@
2882
3019
  static { this.ɵmod = /*@__PURE__*/ i0__namespace.ɵɵdefineNgModule({ type: EpochModule }); }
2883
3020
  static { this.ɵinj = /*@__PURE__*/ i0__namespace.ɵɵdefineInjector({ imports: [i2.CommonModule,
2884
3021
  i3.BsDatepickerModule,
2885
- i4.BsDropdownModule,
3022
+ i4$1.BsDropdownModule,
2886
3023
  i5.FormsModule,
2887
3024
  i6.TimepickerModule,
2888
- base.WmComponentsModule] }); }
3025
+ base.WmComponentsModule,
3026
+ i4.IMaskModule] }); }
2889
3027
  }
2890
3028
  (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(EpochModule, [{
2891
3029
  type: i0.NgModule,
@@ -2893,10 +3031,11 @@
2893
3031
  imports: [
2894
3032
  i2.CommonModule,
2895
3033
  i3.BsDatepickerModule,
2896
- i4.BsDropdownModule,
3034
+ i4$1.BsDropdownModule,
2897
3035
  i5.FormsModule,
2898
3036
  i6.TimepickerModule,
2899
- base.WmComponentsModule
3037
+ base.WmComponentsModule,
3038
+ i4.IMaskModule
2900
3039
  ],
2901
3040
  declarations: [...components],
2902
3041
  exports: [...components]
@@ -2910,10 +3049,11 @@
2910
3049
  PickerComponent,
2911
3050
  PickerGroupComponent], imports: [i2.CommonModule,
2912
3051
  i3.BsDatepickerModule,
2913
- i4.BsDropdownModule,
3052
+ i4$1.BsDropdownModule,
2914
3053
  i5.FormsModule,
2915
3054
  i6.TimepickerModule,
2916
- base.WmComponentsModule], exports: [DateComponent,
3055
+ base.WmComponentsModule,
3056
+ i4.IMaskModule], exports: [DateComponent,
2917
3057
  DatetimeComponent,
2918
3058
  TimeComponent,
2919
3059
  DateTimePickerComponent,
@@ -21,6 +21,109 @@ export declare class DateComponent extends BaseDateTimeComponent {
21
21
  get displayValue(): any;
22
22
  get nativeDisplayValue(): any;
23
23
  get datavalue(): any;
24
+ get mask(): false | {
25
+ mask?: undefined;
26
+ pattern?: undefined;
27
+ format?: undefined;
28
+ parse?: undefined;
29
+ blocks?: undefined;
30
+ autofix?: undefined;
31
+ lazy?: undefined;
32
+ overwrite?: undefined;
33
+ skipInvalid?: undefined;
34
+ } | {
35
+ mask: DateConstructor;
36
+ pattern: any;
37
+ format: (date: any) => any;
38
+ parse: (str: any) => any;
39
+ blocks: {
40
+ YYYY: {
41
+ mask: typeof import("imask/esm/index").MaskedRange;
42
+ from: number;
43
+ to: number;
44
+ placeholderChar: string;
45
+ maxLength: number;
46
+ };
47
+ YYY: {
48
+ mask: typeof import("imask/esm/index").MaskedRange;
49
+ from: number;
50
+ to: number;
51
+ placeholderChar: string;
52
+ maxLength: number;
53
+ overwrite: boolean;
54
+ };
55
+ YY: {
56
+ mask: typeof import("imask/esm/index").MaskedRange;
57
+ from: number;
58
+ to: number;
59
+ placeholderChar: string;
60
+ maxLength: number;
61
+ };
62
+ Y: {
63
+ mask: typeof import("imask/esm/index").MaskedRange;
64
+ from: number;
65
+ to: number;
66
+ placeholderChar: string;
67
+ maxLength: number;
68
+ };
69
+ M: {
70
+ mask: typeof import("imask/esm/index").MaskedRange;
71
+ from: number;
72
+ to: number;
73
+ placeholderChar: string;
74
+ maxLength: number;
75
+ };
76
+ MM: {
77
+ mask: typeof import("imask/esm/index").MaskedRange;
78
+ from: number;
79
+ to: number;
80
+ placeholderChar: string;
81
+ maxLength: number;
82
+ };
83
+ MMM: {
84
+ mask: typeof import("imask/esm/index").MaskedEnum;
85
+ enum: string[];
86
+ placeholderChar: string;
87
+ maxLength: number;
88
+ };
89
+ MMMM: {
90
+ mask: typeof import("imask/esm/index").MaskedEnum;
91
+ enum: string[];
92
+ placeholderChar: string;
93
+ maxLength: number;
94
+ };
95
+ DD: {
96
+ mask: typeof import("imask/esm/index").MaskedRange;
97
+ from: number;
98
+ to: number;
99
+ placeholderChar: string;
100
+ maxLength: number;
101
+ };
102
+ D: {
103
+ mask: typeof import("imask/esm/index").MaskedRange;
104
+ from: number;
105
+ to: number;
106
+ placeholderChar: string;
107
+ maxLength: number;
108
+ };
109
+ ddd: {
110
+ mask: typeof import("imask/esm/index").MaskedEnum;
111
+ enum: string[];
112
+ placeholderChar: string;
113
+ maxLength: number;
114
+ };
115
+ dddd: {
116
+ mask: typeof import("imask/esm/index").MaskedEnum;
117
+ enum: string[];
118
+ placeholderChar: string;
119
+ minLength: number;
120
+ };
121
+ };
122
+ autofix: boolean;
123
+ lazy: boolean;
124
+ overwrite: boolean;
125
+ skipInvalid: boolean;
126
+ };
24
127
  set datavalue(newVal: any);
25
128
  protected bsDatePickerDirective: any;
26
129
  constructor(inj: Injector, cdRef: ChangeDetectorRef, appDefaults: AppDefaults);
@@ -0,0 +1,103 @@
1
+ export declare function validateTheMaskedDate(format: any): {
2
+ mask?: undefined;
3
+ pattern?: undefined;
4
+ format?: undefined;
5
+ parse?: undefined;
6
+ blocks?: undefined;
7
+ autofix?: undefined;
8
+ lazy?: undefined;
9
+ overwrite?: undefined;
10
+ skipInvalid?: undefined;
11
+ } | {
12
+ mask: DateConstructor;
13
+ pattern: any;
14
+ format: (date: any) => any;
15
+ parse: (str: any) => any;
16
+ blocks: {
17
+ YYYY: {
18
+ mask: typeof import("imask").MaskedRange;
19
+ from: number;
20
+ to: number;
21
+ placeholderChar: string;
22
+ maxLength: number;
23
+ };
24
+ YYY: {
25
+ mask: typeof import("imask").MaskedRange;
26
+ from: number;
27
+ to: number;
28
+ placeholderChar: string;
29
+ maxLength: number;
30
+ overwrite: boolean;
31
+ };
32
+ YY: {
33
+ mask: typeof import("imask").MaskedRange;
34
+ from: number;
35
+ to: number;
36
+ placeholderChar: string;
37
+ maxLength: number;
38
+ };
39
+ Y: {
40
+ mask: typeof import("imask").MaskedRange;
41
+ from: number;
42
+ to: number;
43
+ placeholderChar: string;
44
+ maxLength: number;
45
+ };
46
+ M: {
47
+ mask: typeof import("imask").MaskedRange;
48
+ from: number;
49
+ to: number;
50
+ placeholderChar: string;
51
+ maxLength: number;
52
+ };
53
+ MM: {
54
+ mask: typeof import("imask").MaskedRange;
55
+ from: number;
56
+ to: number;
57
+ placeholderChar: string;
58
+ maxLength: number;
59
+ };
60
+ MMM: {
61
+ mask: typeof import("imask").MaskedEnum;
62
+ enum: string[];
63
+ placeholderChar: string;
64
+ maxLength: number;
65
+ };
66
+ MMMM: {
67
+ mask: typeof import("imask").MaskedEnum;
68
+ enum: string[];
69
+ placeholderChar: string;
70
+ maxLength: number;
71
+ };
72
+ DD: {
73
+ mask: typeof import("imask").MaskedRange;
74
+ from: number;
75
+ to: number;
76
+ placeholderChar: string;
77
+ maxLength: number;
78
+ };
79
+ D: {
80
+ mask: typeof import("imask").MaskedRange;
81
+ from: number;
82
+ to: number;
83
+ placeholderChar: string;
84
+ maxLength: number;
85
+ };
86
+ ddd: {
87
+ mask: typeof import("imask").MaskedEnum;
88
+ enum: string[];
89
+ placeholderChar: string;
90
+ maxLength: number;
91
+ };
92
+ dddd: {
93
+ mask: typeof import("imask").MaskedEnum;
94
+ enum: string[];
95
+ placeholderChar: string;
96
+ minLength: number;
97
+ };
98
+ };
99
+ autofix: boolean;
100
+ lazy: boolean;
101
+ overwrite: boolean;
102
+ skipInvalid: boolean;
103
+ };