@wavemaker/app-ng-runtime 11.7.3-next.26386 → 11.7.3-next.26388
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.
- app-ng-runtime/components/input/epoch/bundles/index.umd.js +173 -40
- app-ng-runtime/components/input/epoch/date/date.component.d.ts +8 -2
- app-ng-runtime/components/input/epoch/date/imaskUtil.d.ts +92 -0
- app-ng-runtime/components/input/epoch/epoch.module.d.ts +2 -1
- app-ng-runtime/components/input/epoch/esm2022/date/date.component.mjs +52 -26
- app-ng-runtime/components/input/epoch/esm2022/date/date.props.mjs +3 -2
- app-ng-runtime/components/input/epoch/esm2022/date/imaskUtil.mjs +106 -0
- app-ng-runtime/components/input/epoch/esm2022/epoch.module.mjs +8 -4
- app-ng-runtime/components/input/epoch/fesm2022/index.mjs +166 -31
- app-ng-runtime/components/input/epoch/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/package.json +1 -1
|
@@ -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
|
|
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) {
|
|
@@ -1620,7 +1621,7 @@
|
|
|
1620
1621
|
}
|
|
1621
1622
|
static { this.ɵfac = function BaseDateTimeComponent_Factory(t) { i0__namespace.ɵɵinvalidFactory(); }; }
|
|
1622
1623
|
static { this.ɵdir = /*@__PURE__*/ i0__namespace.ɵɵdefineDirective({ type: BaseDateTimeComponent, viewQuery: function BaseDateTimeComponent_Query(rf, ctx) { if (rf & 1) {
|
|
1623
|
-
i0__namespace.ɵɵviewQuery(i4.BsDropdownDirective, 5);
|
|
1624
|
+
i0__namespace.ɵɵviewQuery(i4$1.BsDropdownDirective, 5);
|
|
1624
1625
|
i0__namespace.ɵɵviewQuery(i6.TimepickerComponent, 5);
|
|
1625
1626
|
i0__namespace.ɵɵviewQuery(DateTimePickerComponent, 5);
|
|
1626
1627
|
} if (rf & 2) {
|
|
@@ -1634,7 +1635,7 @@
|
|
|
1634
1635
|
type: i0.Directive
|
|
1635
1636
|
}], function () { return [{ type: i0__namespace.Injector }, { type: undefined }]; }, { bsDropdown: [{
|
|
1636
1637
|
type: i0.ViewChild,
|
|
1637
|
-
args: [i4.BsDropdownDirective]
|
|
1638
|
+
args: [i4$1.BsDropdownDirective]
|
|
1638
1639
|
}], bsTimePicker: [{
|
|
1639
1640
|
type: i0.ViewChild,
|
|
1640
1641
|
args: [i6.TimepickerComponent]
|
|
@@ -1674,28 +1675,135 @@
|
|
|
1674
1675
|
['clearbutton', { value: true, ...base.PROP_BOOLEAN }],
|
|
1675
1676
|
['adaptiveposition', { value: true, ...base.PROP_BOOLEAN }],
|
|
1676
1677
|
['todaybuttonlabel', { value: 'LABEL_TODAY_DATE', ...base.PROP_STRING }],
|
|
1677
|
-
['clearbuttonlabel', { value: 'LABEL_CLEAR_DATE', ...base.PROP_STRING }]
|
|
1678
|
+
['clearbuttonlabel', { value: 'LABEL_CLEAR_DATE', ...base.PROP_STRING }],
|
|
1679
|
+
['showdateformatasplaceholder', base.PROP_BOOLEAN],
|
|
1678
1680
|
]);
|
|
1679
1681
|
const registerProps$2 = () => {
|
|
1680
1682
|
base.register('wm-date', dateProps);
|
|
1681
1683
|
base.registerFormWidget(i1$1.FormWidgetType.DATE, new Map(dateProps));
|
|
1682
1684
|
};
|
|
1683
1685
|
|
|
1684
|
-
|
|
1685
|
-
|
|
1686
|
-
|
|
1687
|
-
|
|
1688
|
-
|
|
1686
|
+
function validateTheMaskedDate(format, locale) {
|
|
1687
|
+
if (format == 'timestamp') {
|
|
1688
|
+
return false;
|
|
1689
|
+
}
|
|
1690
|
+
const modifiedFormat = format.toUpperCase().replace(/E/g, 'd');
|
|
1691
|
+
const parseFn = str => {
|
|
1692
|
+
return moment(str, modifiedFormat).toDate();
|
|
1693
|
+
};
|
|
1694
|
+
const formatFn = date => {
|
|
1695
|
+
return moment(date, modifiedFormat).format(modifiedFormat);
|
|
1696
|
+
};
|
|
1697
|
+
return {
|
|
1698
|
+
mask: Date,
|
|
1699
|
+
pattern: modifiedFormat,
|
|
1700
|
+
format: formatFn,
|
|
1701
|
+
parse: parseFn,
|
|
1702
|
+
blocks: {
|
|
1703
|
+
YYYY: {
|
|
1704
|
+
mask: IMask.MaskedRange,
|
|
1705
|
+
from: 1900,
|
|
1706
|
+
to: 9999,
|
|
1707
|
+
placeholderChar: 'Y',
|
|
1708
|
+
maxLength: 4,
|
|
1709
|
+
},
|
|
1710
|
+
YYY: {
|
|
1711
|
+
mask: IMask.MaskedRange,
|
|
1712
|
+
from: 900,
|
|
1713
|
+
to: 999,
|
|
1714
|
+
placeholderChar: 'Y',
|
|
1715
|
+
maxLength: 3,
|
|
1716
|
+
},
|
|
1717
|
+
YY: {
|
|
1718
|
+
mask: IMask.MaskedRange,
|
|
1719
|
+
from: 0,
|
|
1720
|
+
to: 99,
|
|
1721
|
+
placeholderChar: 'Y',
|
|
1722
|
+
maxLength: 2,
|
|
1723
|
+
},
|
|
1724
|
+
Y: {
|
|
1725
|
+
mask: IMask.MaskedRange,
|
|
1726
|
+
from: 1900,
|
|
1727
|
+
to: 9999,
|
|
1728
|
+
placeholderChar: 'Y',
|
|
1729
|
+
maxLength: 4,
|
|
1730
|
+
},
|
|
1731
|
+
M: {
|
|
1732
|
+
mask: IMask.MaskedRange,
|
|
1733
|
+
from: 1,
|
|
1734
|
+
to: 12,
|
|
1735
|
+
placeholderChar: 'M',
|
|
1736
|
+
maxLength: 2,
|
|
1737
|
+
},
|
|
1738
|
+
MM: {
|
|
1739
|
+
mask: IMask.MaskedRange,
|
|
1740
|
+
from: 1,
|
|
1741
|
+
to: 12,
|
|
1742
|
+
placeholderChar: 'M',
|
|
1743
|
+
maxLength: 2,
|
|
1744
|
+
},
|
|
1745
|
+
MMM: {
|
|
1746
|
+
mask: IMask.MaskedEnum,
|
|
1747
|
+
enum: Array.from({ length: 12 }, (_, i) => new Date(0, i).toLocaleString(locale, { month: 'short' })),
|
|
1748
|
+
placeholderChar: 'M',
|
|
1749
|
+
maxLength: 3,
|
|
1750
|
+
},
|
|
1751
|
+
MMMM: {
|
|
1752
|
+
mask: IMask.MaskedEnum,
|
|
1753
|
+
enum: Array.from({ length: 12 }, (_, i) => new Date(0, i).toLocaleString(locale, { month: 'long' })),
|
|
1754
|
+
placeholderChar: "M",
|
|
1755
|
+
maxLength: 4
|
|
1756
|
+
},
|
|
1757
|
+
DD: {
|
|
1758
|
+
mask: IMask.MaskedRange,
|
|
1759
|
+
from: 1,
|
|
1760
|
+
to: 31,
|
|
1761
|
+
placeholderChar: 'D',
|
|
1762
|
+
maxLength: 2,
|
|
1763
|
+
},
|
|
1764
|
+
D: {
|
|
1765
|
+
mask: IMask.MaskedRange,
|
|
1766
|
+
from: 1,
|
|
1767
|
+
to: 31,
|
|
1768
|
+
placeholderChar: 'D',
|
|
1769
|
+
maxLength: 2,
|
|
1770
|
+
},
|
|
1771
|
+
ddd: {
|
|
1772
|
+
mask: IMask.MaskedEnum,
|
|
1773
|
+
enum: Array.from({ length: 7 }, (_, i) => new Date(0, 0, i + 1).toLocaleString(locale, { weekday: 'short' })),
|
|
1774
|
+
placeholderChar: 'E',
|
|
1775
|
+
maxLength: 3,
|
|
1776
|
+
},
|
|
1777
|
+
dddd: {
|
|
1778
|
+
mask: IMask.MaskedEnum,
|
|
1779
|
+
enum: Array.from({ length: 7 }, (_, i) => new Date(0, 0, i + 1).toLocaleString(locale, { weekday: 'long' })),
|
|
1780
|
+
placeholderChar: 'E',
|
|
1781
|
+
minLength: 6,
|
|
1782
|
+
},
|
|
1783
|
+
},
|
|
1784
|
+
autofix: true,
|
|
1785
|
+
lazy: false,
|
|
1786
|
+
overwrite: true,
|
|
1787
|
+
skipInvalid: true
|
|
1788
|
+
};
|
|
1789
|
+
}
|
|
1790
|
+
|
|
1791
|
+
const _c0$2 = ["dateInput"];
|
|
1792
|
+
const _c1 = ["wmDate", ""];
|
|
1793
|
+
function DateComponent_ng_template_8_Template(rf, ctx) { if (rf & 1) {
|
|
1794
|
+
const _r4 = i0__namespace.ɵɵgetCurrentView();
|
|
1795
|
+
i0__namespace.ɵɵelementStart(0, "wm-datetimepicker", 9);
|
|
1796
|
+
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)); });
|
|
1689
1797
|
i0__namespace.ɵɵelementEnd();
|
|
1690
|
-
i0__namespace.ɵɵelementStart(1, "div",
|
|
1691
|
-
i0__namespace.ɵɵlistener("click", function
|
|
1798
|
+
i0__namespace.ɵɵelementStart(1, "div", 10);
|
|
1799
|
+
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)); });
|
|
1692
1800
|
i0__namespace.ɵɵelementEnd();
|
|
1693
1801
|
} if (rf & 2) {
|
|
1694
|
-
const
|
|
1695
|
-
i0__namespace.ɵɵproperty("config",
|
|
1802
|
+
const ctx_r2 = i0__namespace.ɵɵnextContext();
|
|
1803
|
+
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);
|
|
1696
1804
|
i0__namespace.ɵɵadvance(1);
|
|
1697
|
-
i0__namespace.ɵɵproperty("tabindex",
|
|
1698
|
-
i0__namespace.ɵɵattribute("aria-label",
|
|
1805
|
+
i0__namespace.ɵɵproperty("tabindex", ctx_r2.tabindex || 0);
|
|
1806
|
+
i0__namespace.ɵɵattribute("aria-label", ctx_r2.displayValue ? "Change Date " + ctx_r2.displayValue : ctx_r2.hint || "Choose Date");
|
|
1699
1807
|
} }
|
|
1700
1808
|
const CURRENT_DATE$1 = 'CURRENT_DATE';
|
|
1701
1809
|
const DEFAULT_CLS$2 = 'app-date input-group';
|
|
@@ -1746,6 +1854,7 @@
|
|
|
1746
1854
|
this.appDefaults = appDefaults;
|
|
1747
1855
|
this.isOpen = false;
|
|
1748
1856
|
this.isEnterPressedOnDateInput = false;
|
|
1857
|
+
this.showdateformatasplaceholder = false;
|
|
1749
1858
|
base.styler(this.nativeElement, this);
|
|
1750
1859
|
this.dateContainerCls = `app-date-${this.widgetId}`;
|
|
1751
1860
|
this._dateOptions.containerClass = `app-date ${this.dateContainerCls}`;
|
|
@@ -1758,6 +1867,7 @@
|
|
|
1758
1867
|
* This is an internal method triggered when the date input changes
|
|
1759
1868
|
*/
|
|
1760
1869
|
onDisplayDateChange($event, isNativePicker = false) {
|
|
1870
|
+
this.updateIMask();
|
|
1761
1871
|
if (this.isEnterPressedOnDateInput) {
|
|
1762
1872
|
this.isEnterPressedOnDateInput = false;
|
|
1763
1873
|
return;
|
|
@@ -1786,6 +1896,7 @@
|
|
|
1786
1896
|
}
|
|
1787
1897
|
if (newVal) {
|
|
1788
1898
|
this.bsDataValue = newVal;
|
|
1899
|
+
this.updateIMask();
|
|
1789
1900
|
}
|
|
1790
1901
|
else {
|
|
1791
1902
|
this.bsDataValue = undefined;
|
|
@@ -1798,6 +1909,7 @@
|
|
|
1798
1909
|
if (!this.bsDataValue) {
|
|
1799
1910
|
this.hightlightToday(this.activeDate);
|
|
1800
1911
|
}
|
|
1912
|
+
this.updateIMask();
|
|
1801
1913
|
// We are using the two input tags(To maintain the modal and proxy modal) for the date control.
|
|
1802
1914
|
// So actual bootstrap input target width we made it to 0, so bootstrap calculating the calendar container top position improperly.
|
|
1803
1915
|
// To fix the container top position set the width 1px;
|
|
@@ -1813,11 +1925,15 @@
|
|
|
1813
1925
|
i1$1.adjustContainerRightEdges($('bs-datepicker-container'), this.nativeElement, this.bsDatePickerDirective._datepicker);
|
|
1814
1926
|
}
|
|
1815
1927
|
onInputBlur($event) {
|
|
1928
|
+
this.updateIMask();
|
|
1816
1929
|
if (!$($event.relatedTarget).hasClass('current-date')) {
|
|
1817
1930
|
this.invokeOnTouched();
|
|
1818
1931
|
this.invokeEventCallback('blur', { $event });
|
|
1819
1932
|
}
|
|
1820
1933
|
}
|
|
1934
|
+
updateIMask() {
|
|
1935
|
+
this.imask?.maskRef?.updateValue();
|
|
1936
|
+
}
|
|
1821
1937
|
hideDatepickerDropdown() {
|
|
1822
1938
|
this.invokeOnTouched();
|
|
1823
1939
|
this.isOpen = false;
|
|
@@ -1892,6 +2008,7 @@
|
|
|
1892
2008
|
this.invalidDateTimeFormat = false;
|
|
1893
2009
|
this.isEnterPressedOnDateInput = true;
|
|
1894
2010
|
this.bsDatePickerDirective.bsValue = event.target.value ? newVal : '';
|
|
2011
|
+
this.updateIMask();
|
|
1895
2012
|
}
|
|
1896
2013
|
this.toggleDpDropdown(event);
|
|
1897
2014
|
}
|
|
@@ -1919,32 +2036,42 @@
|
|
|
1919
2036
|
}
|
|
1920
2037
|
this.setDataValue(newVal);
|
|
1921
2038
|
}
|
|
2039
|
+
ngAfterViewInit() {
|
|
2040
|
+
super.ngAfterViewInit();
|
|
2041
|
+
this.imask.destroyMask();
|
|
2042
|
+
if (this.showdateformatasplaceholder && this.datepattern !== 'timestamp') {
|
|
2043
|
+
this.mask = validateTheMaskedDate(this.datepattern, this.selectedLocale);
|
|
2044
|
+
this.updateIMask();
|
|
2045
|
+
}
|
|
2046
|
+
}
|
|
1922
2047
|
static { this.ɵfac = function DateComponent_Factory(t) { return new (t || DateComponent)(i0__namespace.ɵɵdirectiveInject(i0__namespace.Injector), i0__namespace.ɵɵdirectiveInject(i0__namespace.ChangeDetectorRef), i0__namespace.ɵɵdirectiveInject(i1$1__namespace.AppDefaults)); }; }
|
|
1923
2048
|
static { this.ɵcmp = /*@__PURE__*/ i0__namespace.ɵɵdefineComponent({ type: DateComponent, selectors: [["", "wmDate", ""]], viewQuery: function DateComponent_Query(rf, ctx) { if (rf & 1) {
|
|
1924
2049
|
i0__namespace.ɵɵviewQuery(i3.BsDatepickerDirective, 5);
|
|
2050
|
+
i0__namespace.ɵɵviewQuery(_c0$2, 5, i4.IMaskDirective);
|
|
1925
2051
|
} if (rf & 2) {
|
|
1926
2052
|
let _t;
|
|
1927
2053
|
i0__namespace.ɵɵqueryRefresh(_t = i0__namespace.ɵɵloadQuery()) && (ctx.bsDatePickerDirective = _t.first);
|
|
2054
|
+
i0__namespace.ɵɵqueryRefresh(_t = i0__namespace.ɵɵloadQuery()) && (ctx.imask = _t.first);
|
|
1928
2055
|
} }, features: [i0__namespace.ɵɵProvidersFeature([
|
|
1929
2056
|
base.provideAs(DateComponent, i5.NG_VALUE_ACCESSOR, true),
|
|
1930
2057
|
base.provideAs(DateComponent, i5.NG_VALIDATORS, true),
|
|
1931
2058
|
base.provideAsWidgetRef(DateComponent)
|
|
1932
|
-
]), i0__namespace.ɵɵInheritDefinitionFeature], attrs:
|
|
1933
|
-
i0__namespace.ɵɵelementStart(0, "input", 0);
|
|
1934
|
-
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();
|
|
2059
|
+
]), i0__namespace.ɵɵInheritDefinitionFeature], attrs: _c1, 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) {
|
|
2060
|
+
i0__namespace.ɵɵelementStart(0, "input", 0, 1);
|
|
2061
|
+
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(); ctx.invokeOnFocus($event); return ctx.updateIMask(); })("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); });
|
|
1935
2062
|
i0__namespace.ɵɵelementEnd();
|
|
1936
|
-
i0__namespace.ɵɵelementStart(
|
|
1937
|
-
i0__namespace.ɵɵlistener("click", function
|
|
1938
|
-
i0__namespace.ɵɵelement(
|
|
2063
|
+
i0__namespace.ɵɵelementStart(2, "span", 2)(3, "button", 3);
|
|
2064
|
+
i0__namespace.ɵɵlistener("click", function DateComponent_Template_button_click_3_listener($event) { return ctx.toggleDpDropdown($event, false); });
|
|
2065
|
+
i0__namespace.ɵɵelement(4, "i", 4);
|
|
1939
2066
|
i0__namespace.ɵɵelementEnd()();
|
|
1940
|
-
i0__namespace.ɵɵelementStart(
|
|
1941
|
-
i0__namespace.ɵɵlistener("onShown", function
|
|
2067
|
+
i0__namespace.ɵɵelementStart(5, "div", 5)(6, "input", 6, 7);
|
|
2068
|
+
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); });
|
|
1942
2069
|
i0__namespace.ɵɵelementEnd()();
|
|
1943
|
-
i0__namespace.ɵɵtemplate(
|
|
2070
|
+
i0__namespace.ɵɵtemplate(8, DateComponent_ng_template_8_Template, 2, 8, "ng-template", 8);
|
|
1944
2071
|
} if (rf & 2) {
|
|
1945
|
-
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);
|
|
2072
|
+
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);
|
|
1946
2073
|
i0__namespace.ɵɵattribute("aria-hidden", !!ctx.loadNativeDateInput)("placeholder", ctx.placeholder)("accesskey", ctx.shortcutkey)("aria-label", ctx.hint);
|
|
1947
|
-
i0__namespace.ɵɵadvance(
|
|
2074
|
+
i0__namespace.ɵɵadvance(3);
|
|
1948
2075
|
i0__namespace.ɵɵproperty("tabindex", ctx.loadNativeDateInput ? "-1" : ctx.tabindex)("disabled", ctx.disabled || ctx.readonly);
|
|
1949
2076
|
i0__namespace.ɵɵattribute("aria-hidden", !!ctx.loadNativeDateInput)("aria-label", ctx.displayValue ? "Change Date " + ctx.displayValue : "Choose date by pressing enter");
|
|
1950
2077
|
i0__namespace.ɵɵadvance(3);
|
|
@@ -1952,7 +2079,7 @@
|
|
|
1952
2079
|
i0__namespace.ɵɵattribute("aria-hidden", !!ctx.loadNativeDateInput);
|
|
1953
2080
|
i0__namespace.ɵɵadvance(2);
|
|
1954
2081
|
i0__namespace.ɵɵproperty("ngIf", ctx.loadNativeDateInput);
|
|
1955
|
-
} }, dependencies: [i2__namespace.NgIf, i3__namespace.BsDatepickerDirective, i3__namespace.BsDatepickerInputDirective, DateTimePickerComponent], encapsulation: 2 }); }
|
|
2082
|
+
} }, dependencies: [i2__namespace.NgIf, i3__namespace.BsDatepickerDirective, i3__namespace.BsDatepickerInputDirective, i4__namespace.IMaskDirective, DateTimePickerComponent], encapsulation: 2 }); }
|
|
1956
2083
|
}
|
|
1957
2084
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(DateComponent, [{
|
|
1958
2085
|
type: i0.Component,
|
|
@@ -1960,10 +2087,13 @@
|
|
|
1960
2087
|
base.provideAs(DateComponent, i5.NG_VALUE_ACCESSOR, true),
|
|
1961
2088
|
base.provideAs(DateComponent, i5.NG_VALIDATORS, true),
|
|
1962
2089
|
base.provideAsWidgetRef(DateComponent)
|
|
1963
|
-
], 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)
|
|
2090
|
+
], template: " <input class=\"form-control app-textbox app-dateinput display-input\"\n focus-target\n type=\"text\"\n [name]=\"name\"\n #dateInput\n [imask]=\"mask\"\n [unmask]=\"true\"\n [tabindex]=\"loadNativeDateInput ? '-1' : tabindex\"\n [attr.aria-hidden]=\"!!loadNativeDateInput\"\n [value]=\"displayValue\"\n (click)=\"toggleDpDropdown($event, true)\"\n (focus)=\"onDateTimeInputFocus(); invokeOnFocus($event); updateIMask()\"\n (blur)=\"onInputBlur($event)\"\n [disabled]=\"disabled || readonly\"\n [autofocus]=\"autofocus\"\n [required]=\"required\"\n [readOnly]=\"isReadOnly\"\n [attr.placeholder]=\"placeholder\"\n [attr.accesskey]=\"shortcutkey\"\n [attr.aria-label]=\"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 || '.wm-app'\"\n [bsConfig]=\"_dateOptions\"\n [isOpen]=\"isOpen\"\n #datepicker=\"bsDatepicker\"\n bsDatepicker\n [daysDisabled]=\"excludedDaysToDisable\"\n [datesDisabled]=\"excludedDatesToDisable\"\n placement=\"bottom right\"\n [isDisabled]=\"disabled || readonly\"\n [bsValue]=\"bsDataValue\"\n (onShown)=\"onDatePickerOpen()\"\n (onHidden)=\"hideDatepickerDropdown()\"\n (bsValueChange)=\"onDateChange($event)\">\n</div>\n\n<ng-template [ngIf]=\"loadNativeDateInput\">\n <wm-datetimepicker\n dateTimePicker\n mode=\"DATE\"\n [config]=\"_dateOptions\"\n [placement]=\"modal\"\n [excludedDaysToDisable]=\"excludedDaysToDisable\"\n [excludedDatesToDisable]=\"excludedDatesToDisable\"\n [displayFormat]=\"dateInputFormat\"\n [value]=\"bsDataValue\"\n (change)=\"onDateChange($event)\">\n </wm-datetimepicker>\n <div class=\"mobile-input mobile-datepicker-container\"\n [tabindex]=\"tabindex || 0\"\n (click)=\"!(disabled || readonly || 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" }]
|
|
1964
2091
|
}], function () { return [{ type: i0__namespace.Injector }, { type: i0__namespace.ChangeDetectorRef }, { type: i1$1__namespace.AppDefaults }]; }, { bsDatePickerDirective: [{
|
|
1965
2092
|
type: i0.ViewChild,
|
|
1966
2093
|
args: [i3.BsDatepickerDirective]
|
|
2094
|
+
}], imask: [{
|
|
2095
|
+
type: i0.ViewChild,
|
|
2096
|
+
args: ['dateInput', { read: i4.IMaskDirective }]
|
|
1967
2097
|
}] }); })();
|
|
1968
2098
|
|
|
1969
2099
|
const dateTimeProps = new Map([
|
|
@@ -2474,7 +2604,7 @@
|
|
|
2474
2604
|
i0__namespace.ɵɵattribute("aria-hidden", !!ctx.loadNativeDateInput);
|
|
2475
2605
|
i0__namespace.ɵɵadvance(3);
|
|
2476
2606
|
i0__namespace.ɵɵproperty("ngIf", ctx.loadNativeDateInput);
|
|
2477
|
-
} }, dependencies: [i2__namespace.NgIf, i3__namespace.BsDatepickerDirective, i3__namespace.BsDatepickerInputDirective,
|
|
2607
|
+
} }, 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 }); }
|
|
2478
2608
|
}
|
|
2479
2609
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(DatetimeComponent, [{
|
|
2480
2610
|
type: i0.Component,
|
|
@@ -2864,7 +2994,7 @@
|
|
|
2864
2994
|
i0__namespace.ɵɵproperty("tabindex", ctx.tabindex)("disabled", ctx.disabled || ctx.readonly || ctx.isCurrentTime);
|
|
2865
2995
|
i0__namespace.ɵɵadvance(3);
|
|
2866
2996
|
i0__namespace.ɵɵproperty("ngIf", ctx.loadNativeDateInput);
|
|
2867
|
-
} }, dependencies: [i2__namespace.NgIf,
|
|
2997
|
+
} }, dependencies: [i2__namespace.NgIf, i4$1__namespace.BsDropdownMenuDirective, i4$1__namespace.BsDropdownDirective, i5__namespace.NgControlStatus, i5__namespace.NgModel, i6__namespace.TimepickerComponent, DateTimePickerComponent], encapsulation: 2 }); }
|
|
2868
2998
|
}
|
|
2869
2999
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(TimeComponent, [{
|
|
2870
3000
|
type: i0.Component,
|
|
@@ -2890,10 +3020,11 @@
|
|
|
2890
3020
|
static { this.ɵmod = /*@__PURE__*/ i0__namespace.ɵɵdefineNgModule({ type: EpochModule }); }
|
|
2891
3021
|
static { this.ɵinj = /*@__PURE__*/ i0__namespace.ɵɵdefineInjector({ imports: [i2.CommonModule,
|
|
2892
3022
|
i3.BsDatepickerModule,
|
|
2893
|
-
i4.BsDropdownModule,
|
|
3023
|
+
i4$1.BsDropdownModule,
|
|
2894
3024
|
i5.FormsModule,
|
|
2895
3025
|
i6.TimepickerModule,
|
|
2896
|
-
base.WmComponentsModule
|
|
3026
|
+
base.WmComponentsModule,
|
|
3027
|
+
i4.IMaskModule] }); }
|
|
2897
3028
|
}
|
|
2898
3029
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(EpochModule, [{
|
|
2899
3030
|
type: i0.NgModule,
|
|
@@ -2901,10 +3032,11 @@
|
|
|
2901
3032
|
imports: [
|
|
2902
3033
|
i2.CommonModule,
|
|
2903
3034
|
i3.BsDatepickerModule,
|
|
2904
|
-
i4.BsDropdownModule,
|
|
3035
|
+
i4$1.BsDropdownModule,
|
|
2905
3036
|
i5.FormsModule,
|
|
2906
3037
|
i6.TimepickerModule,
|
|
2907
|
-
base.WmComponentsModule
|
|
3038
|
+
base.WmComponentsModule,
|
|
3039
|
+
i4.IMaskModule
|
|
2908
3040
|
],
|
|
2909
3041
|
declarations: [...components],
|
|
2910
3042
|
exports: [...components]
|
|
@@ -2918,10 +3050,11 @@
|
|
|
2918
3050
|
PickerComponent,
|
|
2919
3051
|
PickerGroupComponent], imports: [i2.CommonModule,
|
|
2920
3052
|
i3.BsDatepickerModule,
|
|
2921
|
-
i4.BsDropdownModule,
|
|
3053
|
+
i4$1.BsDropdownModule,
|
|
2922
3054
|
i5.FormsModule,
|
|
2923
3055
|
i6.TimepickerModule,
|
|
2924
|
-
base.WmComponentsModule
|
|
3056
|
+
base.WmComponentsModule,
|
|
3057
|
+
i4.IMaskModule], exports: [DateComponent,
|
|
2925
3058
|
DatetimeComponent,
|
|
2926
3059
|
TimeComponent,
|
|
2927
3060
|
DateTimePickerComponent,
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import { ChangeDetectorRef, Injector } from '@angular/core';
|
|
1
|
+
import { ChangeDetectorRef, Injector, AfterViewInit } from '@angular/core';
|
|
2
2
|
import { AppDefaults } from '@wm/core';
|
|
3
3
|
import { BaseDateTimeComponent } from './../base-date-time.component';
|
|
4
|
+
import { IMaskDirective } from 'angular-imask';
|
|
4
5
|
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class DateComponent extends BaseDateTimeComponent {
|
|
6
|
+
export declare class DateComponent extends BaseDateTimeComponent implements AfterViewInit {
|
|
6
7
|
private cdRef;
|
|
7
8
|
private appDefaults;
|
|
8
9
|
static initializeProps: void;
|
|
@@ -16,6 +17,8 @@ export declare class DateComponent extends BaseDateTimeComponent {
|
|
|
16
17
|
private deregisterEventListener;
|
|
17
18
|
private isCurrentDate;
|
|
18
19
|
private focusTrap;
|
|
20
|
+
private showdateformatasplaceholder;
|
|
21
|
+
mask: any;
|
|
19
22
|
get timestamp(): any;
|
|
20
23
|
get dateInputFormat(): string;
|
|
21
24
|
get displayValue(): any;
|
|
@@ -23,6 +26,7 @@ export declare class DateComponent extends BaseDateTimeComponent {
|
|
|
23
26
|
get datavalue(): any;
|
|
24
27
|
set datavalue(newVal: any);
|
|
25
28
|
protected bsDatePickerDirective: any;
|
|
29
|
+
imask: IMaskDirective<any>;
|
|
26
30
|
constructor(inj: Injector, cdRef: ChangeDetectorRef, appDefaults: AppDefaults);
|
|
27
31
|
/**
|
|
28
32
|
* This is an internal method triggered when the date input changes
|
|
@@ -31,6 +35,7 @@ export declare class DateComponent extends BaseDateTimeComponent {
|
|
|
31
35
|
private setDataValue;
|
|
32
36
|
onDatePickerOpen(): void;
|
|
33
37
|
onInputBlur($event: any): void;
|
|
38
|
+
updateIMask(): void;
|
|
34
39
|
hideDatepickerDropdown(): void;
|
|
35
40
|
protected handleEvent(node: HTMLElement, eventName: string, callback: Function, locals: any): void;
|
|
36
41
|
/**
|
|
@@ -46,6 +51,7 @@ export declare class DateComponent extends BaseDateTimeComponent {
|
|
|
46
51
|
* This is an internal method triggered when the date selection changes
|
|
47
52
|
*/
|
|
48
53
|
onDateChange(newVal: any): void;
|
|
54
|
+
ngAfterViewInit(): void;
|
|
49
55
|
static ɵfac: i0.ɵɵFactoryDeclaration<DateComponent, never>;
|
|
50
56
|
static ɵcmp: i0.ɵɵComponentDeclaration<DateComponent, "[wmDate]", never, {}, {}, never, never, false, never>;
|
|
51
57
|
}
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
export declare function validateTheMaskedDate(format: any, locale: any): false | {
|
|
2
|
+
mask: DateConstructor;
|
|
3
|
+
pattern: any;
|
|
4
|
+
format: (date: any) => any;
|
|
5
|
+
parse: (str: any) => any;
|
|
6
|
+
blocks: {
|
|
7
|
+
YYYY: {
|
|
8
|
+
mask: typeof import("imask").MaskedRange;
|
|
9
|
+
from: number;
|
|
10
|
+
to: number;
|
|
11
|
+
placeholderChar: string;
|
|
12
|
+
maxLength: number;
|
|
13
|
+
};
|
|
14
|
+
YYY: {
|
|
15
|
+
mask: typeof import("imask").MaskedRange;
|
|
16
|
+
from: number;
|
|
17
|
+
to: number;
|
|
18
|
+
placeholderChar: string;
|
|
19
|
+
maxLength: number;
|
|
20
|
+
};
|
|
21
|
+
YY: {
|
|
22
|
+
mask: typeof import("imask").MaskedRange;
|
|
23
|
+
from: number;
|
|
24
|
+
to: number;
|
|
25
|
+
placeholderChar: string;
|
|
26
|
+
maxLength: number;
|
|
27
|
+
};
|
|
28
|
+
Y: {
|
|
29
|
+
mask: typeof import("imask").MaskedRange;
|
|
30
|
+
from: number;
|
|
31
|
+
to: number;
|
|
32
|
+
placeholderChar: string;
|
|
33
|
+
maxLength: number;
|
|
34
|
+
};
|
|
35
|
+
M: {
|
|
36
|
+
mask: typeof import("imask").MaskedRange;
|
|
37
|
+
from: number;
|
|
38
|
+
to: number;
|
|
39
|
+
placeholderChar: string;
|
|
40
|
+
maxLength: number;
|
|
41
|
+
};
|
|
42
|
+
MM: {
|
|
43
|
+
mask: typeof import("imask").MaskedRange;
|
|
44
|
+
from: number;
|
|
45
|
+
to: number;
|
|
46
|
+
placeholderChar: string;
|
|
47
|
+
maxLength: number;
|
|
48
|
+
};
|
|
49
|
+
MMM: {
|
|
50
|
+
mask: typeof import("imask").MaskedEnum;
|
|
51
|
+
enum: string[];
|
|
52
|
+
placeholderChar: string;
|
|
53
|
+
maxLength: number;
|
|
54
|
+
};
|
|
55
|
+
MMMM: {
|
|
56
|
+
mask: typeof import("imask").MaskedEnum;
|
|
57
|
+
enum: string[];
|
|
58
|
+
placeholderChar: string;
|
|
59
|
+
maxLength: number;
|
|
60
|
+
};
|
|
61
|
+
DD: {
|
|
62
|
+
mask: typeof import("imask").MaskedRange;
|
|
63
|
+
from: number;
|
|
64
|
+
to: number;
|
|
65
|
+
placeholderChar: string;
|
|
66
|
+
maxLength: number;
|
|
67
|
+
};
|
|
68
|
+
D: {
|
|
69
|
+
mask: typeof import("imask").MaskedRange;
|
|
70
|
+
from: number;
|
|
71
|
+
to: number;
|
|
72
|
+
placeholderChar: string;
|
|
73
|
+
maxLength: number;
|
|
74
|
+
};
|
|
75
|
+
ddd: {
|
|
76
|
+
mask: typeof import("imask").MaskedEnum;
|
|
77
|
+
enum: string[];
|
|
78
|
+
placeholderChar: string;
|
|
79
|
+
maxLength: number;
|
|
80
|
+
};
|
|
81
|
+
dddd: {
|
|
82
|
+
mask: typeof import("imask").MaskedEnum;
|
|
83
|
+
enum: string[];
|
|
84
|
+
placeholderChar: string;
|
|
85
|
+
minLength: number;
|
|
86
|
+
};
|
|
87
|
+
};
|
|
88
|
+
autofix: boolean;
|
|
89
|
+
lazy: boolean;
|
|
90
|
+
overwrite: boolean;
|
|
91
|
+
skipInvalid: boolean;
|
|
92
|
+
};
|
|
@@ -10,8 +10,9 @@ import * as i8 from "ngx-bootstrap/dropdown";
|
|
|
10
10
|
import * as i9 from "@angular/forms";
|
|
11
11
|
import * as i10 from "ngx-bootstrap/timepicker";
|
|
12
12
|
import * as i11 from "@wm/components/base";
|
|
13
|
+
import * as i12 from "angular-imask";
|
|
13
14
|
export declare class EpochModule {
|
|
14
15
|
static ɵfac: i0.ɵɵFactoryDeclaration<EpochModule, never>;
|
|
15
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<EpochModule, [typeof i1.DateComponent, typeof i2.DatetimeComponent, typeof i3.TimeComponent, typeof i4.DateTimePickerComponent, typeof i4.TimePickerComponent, typeof i5.PickerComponent, typeof i5.PickerGroupComponent], [typeof i6.CommonModule, typeof i7.BsDatepickerModule, typeof i8.BsDropdownModule, typeof i9.FormsModule, typeof i10.TimepickerModule, typeof i11.WmComponentsModule], [typeof i1.DateComponent, typeof i2.DatetimeComponent, typeof i3.TimeComponent, typeof i4.DateTimePickerComponent, typeof i4.TimePickerComponent, typeof i5.PickerComponent, typeof i5.PickerGroupComponent]>;
|
|
16
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<EpochModule, [typeof i1.DateComponent, typeof i2.DatetimeComponent, typeof i3.TimeComponent, typeof i4.DateTimePickerComponent, typeof i4.TimePickerComponent, typeof i5.PickerComponent, typeof i5.PickerGroupComponent], [typeof i6.CommonModule, typeof i7.BsDatepickerModule, typeof i8.BsDropdownModule, typeof i9.FormsModule, typeof i10.TimepickerModule, typeof i11.WmComponentsModule, typeof i12.IMaskModule], [typeof i1.DateComponent, typeof i2.DatetimeComponent, typeof i3.TimeComponent, typeof i4.DateTimePickerComponent, typeof i4.TimePickerComponent, typeof i5.PickerComponent, typeof i5.PickerGroupComponent]>;
|
|
16
17
|
static ɵinj: i0.ɵɵInjectorDeclaration<EpochModule>;
|
|
17
18
|
}
|