@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.
- app-ng-runtime/components/data/table/bundles/index.umd.js +0 -3
- app-ng-runtime/components/data/table/esm2020/table.component.mjs +1 -3
- app-ng-runtime/components/data/table/esm2020/table.props.mjs +1 -2
- app-ng-runtime/components/data/table/fesm2015/index.mjs +0 -3
- app-ng-runtime/components/data/table/fesm2015/index.mjs.map +1 -1
- app-ng-runtime/components/data/table/fesm2020/index.mjs +0 -3
- app-ng-runtime/components/data/table/fesm2020/index.mjs.map +1 -1
- app-ng-runtime/components/data/table/table.component.d.ts +0 -2
- app-ng-runtime/components/input/epoch/bundles/index.umd.js +37 -150
- app-ng-runtime/components/input/epoch/date/date.component.d.ts +0 -98
- app-ng-runtime/components/input/epoch/epoch.module.d.ts +1 -2
- app-ng-runtime/components/input/epoch/esm2020/date/date.component.mjs +24 -34
- app-ng-runtime/components/input/epoch/esm2020/epoch.module.mjs +4 -8
- app-ng-runtime/components/input/epoch/fesm2015/index.mjs +28 -143
- app-ng-runtime/components/input/epoch/fesm2015/index.mjs.map +1 -1
- app-ng-runtime/components/input/epoch/fesm2020/index.mjs +28 -143
- app-ng-runtime/components/input/epoch/fesm2020/index.mjs.map +1 -1
- app-ng-runtime/components/navigation/menu/bundles/index.umd.js +0 -56
- app-ng-runtime/components/navigation/menu/esm2020/menu-dropdown/menu-dropdown.component.mjs +1 -51
- app-ng-runtime/components/navigation/menu/esm2020/menu.component.mjs +1 -5
- app-ng-runtime/components/navigation/menu/fesm2015/index.mjs +0 -56
- app-ng-runtime/components/navigation/menu/fesm2015/index.mjs.map +1 -1
- app-ng-runtime/components/navigation/menu/fesm2020/index.mjs +0 -54
- app-ng-runtime/components/navigation/menu/fesm2020/index.mjs.map +1 -1
- app-ng-runtime/components/navigation/menu/menu-dropdown/menu-dropdown.component.d.ts +0 -4
- app-ng-runtime/components/navigation/menu/menu.component.d.ts +1 -2
- app-ng-runtime/package.json +1 -1
- app-ng-runtime/scripts/datatable/datatable.js +3 -33
- app-ng-runtime/components/input/epoch/date/imaskUtil.d.ts +0 -99
- 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
|
|
9
|
+
import * as i4 from 'ngx-bootstrap/dropdown';
|
|
10
10
|
import { BsDropdownDirective, BsDropdownModule } from 'ngx-bootstrap/dropdown';
|
|
11
11
|
import * as i6 from 'ngx-bootstrap/timepicker';
|
|
12
12
|
import { TimepickerConfig, TimepickerComponent, TimepickerModule } from 'ngx-bootstrap/timepicker';
|
|
@@ -15,9 +15,6 @@ import * as i1$1 from '@wm/core';
|
|
|
15
15
|
import { App, AbstractI18nService, isMobile, getFormattedDate, getDateObj, isString, setAttr, getNativeDateObject, hasCordova, isIos, FormWidgetType, getMomentLocaleObject, getDisplayDateTimeFormat, adjustContainerPosition, adjustContainerRightEdges, addEventListenerOnElement, addClass, $appDigest } from '@wm/core';
|
|
16
16
|
import { BaseFormCustomComponent } from '@wm/components/input';
|
|
17
17
|
import * as i1 from 'ngx-bootstrap/modal';
|
|
18
|
-
import IMask from 'imask';
|
|
19
|
-
import * as i4 from 'angular-imask';
|
|
20
|
-
import { IMaskModule } from 'angular-imask';
|
|
21
18
|
|
|
22
19
|
const _c0$4 = ["*"];
|
|
23
20
|
function PickerComponent_div_6_Template(rf, ctx) {
|
|
@@ -1688,124 +1685,23 @@ const registerProps$2 = () => {
|
|
|
1688
1685
|
registerFormWidget(FormWidgetType.DATE, new Map(dateProps));
|
|
1689
1686
|
};
|
|
1690
1687
|
|
|
1691
|
-
function validateTheMaskedDate(format) {
|
|
1692
|
-
if (format == 'timestamp') {
|
|
1693
|
-
return {};
|
|
1694
|
-
}
|
|
1695
|
-
const modifiedFormat = format.toUpperCase().replace(/E/g, 'd');
|
|
1696
|
-
const parseFn = str => {
|
|
1697
|
-
return moment(str, modifiedFormat).toDate();
|
|
1698
|
-
};
|
|
1699
|
-
const formatFn = date => {
|
|
1700
|
-
return moment(date, modifiedFormat).format(modifiedFormat);
|
|
1701
|
-
};
|
|
1702
|
-
return {
|
|
1703
|
-
mask: Date,
|
|
1704
|
-
pattern: modifiedFormat,
|
|
1705
|
-
format: formatFn,
|
|
1706
|
-
parse: parseFn,
|
|
1707
|
-
blocks: {
|
|
1708
|
-
YYYY: {
|
|
1709
|
-
mask: IMask.MaskedRange,
|
|
1710
|
-
from: 1900,
|
|
1711
|
-
to: 9999,
|
|
1712
|
-
placeholderChar: 'Y',
|
|
1713
|
-
maxLength: 4,
|
|
1714
|
-
overwrite: false,
|
|
1715
|
-
},
|
|
1716
|
-
YY: {
|
|
1717
|
-
mask: IMask.MaskedRange,
|
|
1718
|
-
from: 0,
|
|
1719
|
-
to: 99,
|
|
1720
|
-
placeholderChar: 'Y',
|
|
1721
|
-
maxLength: 2,
|
|
1722
|
-
overwrite: false,
|
|
1723
|
-
},
|
|
1724
|
-
M: {
|
|
1725
|
-
mask: IMask.MaskedRange,
|
|
1726
|
-
from: 1,
|
|
1727
|
-
to: 12,
|
|
1728
|
-
placeholderChar: 'M',
|
|
1729
|
-
maxLength: 2,
|
|
1730
|
-
overwrite: false,
|
|
1731
|
-
},
|
|
1732
|
-
MM: {
|
|
1733
|
-
mask: IMask.MaskedRange,
|
|
1734
|
-
from: 1,
|
|
1735
|
-
to: 12,
|
|
1736
|
-
placeholderChar: 'M',
|
|
1737
|
-
maxLength: 2,
|
|
1738
|
-
overwrite: false,
|
|
1739
|
-
},
|
|
1740
|
-
MMM: {
|
|
1741
|
-
mask: IMask.MaskedEnum,
|
|
1742
|
-
enum: Array.from({ length: 12 }, (_, i) => new Date(0, i).toLocaleString(window.navigator.language, { month: 'short' })),
|
|
1743
|
-
placeholderChar: 'M',
|
|
1744
|
-
maxLength: 3,
|
|
1745
|
-
overwrite: false,
|
|
1746
|
-
},
|
|
1747
|
-
MMMM: {
|
|
1748
|
-
mask: IMask.MaskedEnum,
|
|
1749
|
-
enum: Array.from({ length: 12 }, (_, i) => new Date(0, i).toLocaleString(window.navigator.language, { month: 'long' })),
|
|
1750
|
-
placeholderChar: 'M',
|
|
1751
|
-
minLength: 3,
|
|
1752
|
-
overwrite: false,
|
|
1753
|
-
},
|
|
1754
|
-
DD: {
|
|
1755
|
-
mask: IMask.MaskedRange,
|
|
1756
|
-
from: 1,
|
|
1757
|
-
to: 31,
|
|
1758
|
-
placeholderChar: 'D',
|
|
1759
|
-
maxLength: 2,
|
|
1760
|
-
overwrite: false,
|
|
1761
|
-
},
|
|
1762
|
-
D: {
|
|
1763
|
-
mask: IMask.MaskedRange,
|
|
1764
|
-
from: 1,
|
|
1765
|
-
to: 31,
|
|
1766
|
-
placeholderChar: 'D',
|
|
1767
|
-
maxLength: 1,
|
|
1768
|
-
overwrite: false,
|
|
1769
|
-
},
|
|
1770
|
-
ddd: {
|
|
1771
|
-
mask: IMask.MaskedEnum,
|
|
1772
|
-
enum: Array.from({ length: 7 }, (_, i) => new Date(0, 0, i + 1).toLocaleString(window.navigator.language, { weekday: 'short' })),
|
|
1773
|
-
placeholderChar: 'E',
|
|
1774
|
-
maxLength: 3,
|
|
1775
|
-
overwrite: false,
|
|
1776
|
-
},
|
|
1777
|
-
dddd: {
|
|
1778
|
-
mask: IMask.MaskedEnum,
|
|
1779
|
-
enum: Array.from({ length: 7 }, (_, i) => new Date(0, 0, i + 1).toLocaleString(window.navigator.language, { weekday: 'long' })),
|
|
1780
|
-
placeholderChar: 'E',
|
|
1781
|
-
minLength: 6,
|
|
1782
|
-
overwrite: false,
|
|
1783
|
-
},
|
|
1784
|
-
},
|
|
1785
|
-
autofix: true,
|
|
1786
|
-
lazy: false,
|
|
1787
|
-
overwrite: false,
|
|
1788
|
-
skipInvalid: true
|
|
1789
|
-
};
|
|
1790
|
-
}
|
|
1791
|
-
|
|
1792
1688
|
const _c0$2 = ["wmDate", ""];
|
|
1793
|
-
function
|
|
1689
|
+
function DateComponent_ng_template_7_Template(rf, ctx) {
|
|
1794
1690
|
if (rf & 1) {
|
|
1795
|
-
const
|
|
1796
|
-
i0.ɵɵelementStart(0, "wm-datetimepicker",
|
|
1797
|
-
i0.ɵɵlistener("change", function
|
|
1691
|
+
const _r3 = i0.ɵɵgetCurrentView();
|
|
1692
|
+
i0.ɵɵelementStart(0, "wm-datetimepicker", 8);
|
|
1693
|
+
i0.ɵɵlistener("change", function DateComponent_ng_template_7_Template_wm_datetimepicker_change_0_listener($event) { i0.ɵɵrestoreView(_r3); const ctx_r2 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r2.onDateChange($event)); });
|
|
1798
1694
|
i0.ɵɵelementEnd();
|
|
1799
|
-
i0.ɵɵelementStart(1, "div",
|
|
1800
|
-
i0.ɵɵlistener("focus", function
|
|
1695
|
+
i0.ɵɵelementStart(1, "div", 9);
|
|
1696
|
+
i0.ɵɵlistener("focus", function DateComponent_ng_template_7_Template_div_focus_1_listener($event) { i0.ɵɵrestoreView(_r3); const ctx_r4 = i0.ɵɵnextContext(); ctx_r4.onDateTimeInputFocus(true); return i0.ɵɵresetView(ctx_r4.invokeOnFocus($event)); })("blur", function DateComponent_ng_template_7_Template_div_blur_1_listener($event) { i0.ɵɵrestoreView(_r3); const ctx_r5 = i0.ɵɵnextContext(); ctx_r5.onDateTimeInputBlur(); return i0.ɵɵresetView(ctx_r5.invokeOnTouched($event)); })("click", function DateComponent_ng_template_7_Template_div_click_1_listener() { i0.ɵɵrestoreView(_r3); const ctx_r6 = i0.ɵɵnextContext(); return i0.ɵɵresetView(!(ctx_r6.disabled || ctx_r6.readonly || ctx_r6.isCurrentDate) && ctx_r6.showDatePickerModal()); });
|
|
1801
1697
|
i0.ɵɵelementEnd();
|
|
1802
1698
|
}
|
|
1803
1699
|
if (rf & 2) {
|
|
1804
|
-
const
|
|
1805
|
-
i0.ɵɵproperty("config",
|
|
1700
|
+
const ctx_r1 = i0.ɵɵnextContext();
|
|
1701
|
+
i0.ɵɵproperty("config", ctx_r1._dateOptions)("placement", ctx_r1.modal)("excludedDaysToDisable", ctx_r1.excludedDaysToDisable)("excludedDatesToDisable", ctx_r1.excludedDatesToDisable)("displayFormat", ctx_r1.dateInputFormat)("value", ctx_r1.bsDataValue);
|
|
1806
1702
|
i0.ɵɵadvance(1);
|
|
1807
|
-
i0.ɵɵproperty("tabindex",
|
|
1808
|
-
i0.ɵɵattribute("aria-label",
|
|
1703
|
+
i0.ɵɵproperty("tabindex", ctx_r1.tabindex || 0);
|
|
1704
|
+
i0.ɵɵattribute("aria-label", ctx_r1.displayValue ? "Change Date" + ctx_r1.displayValue : "Choose Date");
|
|
1809
1705
|
}
|
|
1810
1706
|
}
|
|
1811
1707
|
const CURRENT_DATE$1 = 'CURRENT_DATE';
|
|
@@ -1831,14 +1727,6 @@ class DateComponent extends BaseDateTimeComponent {
|
|
|
1831
1727
|
get datavalue() {
|
|
1832
1728
|
return getFormattedDate(this.datePipe, this.bsDataValue, this.outputformat, this.timeZone, null, this.isCurrentDate, this) || '';
|
|
1833
1729
|
}
|
|
1834
|
-
get mask() {
|
|
1835
|
-
if (this.datepattern) {
|
|
1836
|
-
return validateTheMaskedDate(this.datepattern);
|
|
1837
|
-
}
|
|
1838
|
-
else {
|
|
1839
|
-
return false;
|
|
1840
|
-
}
|
|
1841
|
-
}
|
|
1842
1730
|
// Todo[Shubham]: needs to be redefined
|
|
1843
1731
|
// sets the dataValue and computes the display model values
|
|
1844
1732
|
// @ts-ignore
|
|
@@ -2053,24 +1941,24 @@ DateComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: DateComponent
|
|
|
2053
1941
|
provideAs(DateComponent, NG_VALUE_ACCESSOR, true),
|
|
2054
1942
|
provideAs(DateComponent, NG_VALIDATORS, true),
|
|
2055
1943
|
provideAsWidgetRef(DateComponent)
|
|
2056
|
-
]), i0.ɵɵInheritDefinitionFeature], attrs: _c0$2, decls:
|
|
1944
|
+
]), i0.ɵɵInheritDefinitionFeature], attrs: _c0$2, decls: 8, vars: 25, consts: [["focus-target", "", "type", "text", 1, "form-control", "app-textbox", "app-dateinput", "display-input", 3, "name", "tabindex", "value", "disabled", "autofocus", "required", "readOnly", "click", "focus", "blur", "change", "keydown"], [1, "input-group-btn"], ["type", "button", "aria-haspopup", "true", "aria-expanded", "false", 1, "btn", "btn-default", "btn-time", 3, "tabindex", "disabled", "click"], ["aria-hidden", "true", 1, "app-icon", "wm-sl-l", "sl-calendar"], [2, "width", "0", "display", "inline-block"], ["aria-label", "datepicker dropdownmenu", "aria-controls", "date", "bsDatepicker", "", "placement", "bottom right", 1, "model-holder", 3, "tabindex", "container", "bsConfig", "isOpen", "daysDisabled", "datesDisabled", "isDisabled", "bsValue", "onShown", "onHidden", "bsValueChange"], ["datepicker", "bsDatepicker"], [3, "ngIf"], ["dateTimePicker", "", "mode", "DATE", 3, "config", "placement", "excludedDaysToDisable", "excludedDatesToDisable", "displayFormat", "value", "change"], [1, "mobile-input", "mobile-datepicker-container", 3, "tabindex", "focus", "blur", "click"]], template: function DateComponent_Template(rf, ctx) {
|
|
2057
1945
|
if (rf & 1) {
|
|
2058
|
-
i0.ɵɵelementStart(0, "input", 0
|
|
1946
|
+
i0.ɵɵelementStart(0, "input", 0);
|
|
2059
1947
|
i0.ɵɵlistener("click", function DateComponent_Template_input_click_0_listener($event) { return ctx.toggleDpDropdown($event, true); })("focus", function DateComponent_Template_input_focus_0_listener($event) { ctx.onDateTimeInputFocus(); return ctx.invokeOnFocus($event); })("blur", function DateComponent_Template_input_blur_0_listener($event) { return ctx.onInputBlur($event); })("change", function DateComponent_Template_input_change_0_listener($event) { return ctx.onDisplayDateChange($event); })("keydown", function DateComponent_Template_input_keydown_0_listener($event) { ctx._triggeredByUser = true; return ctx.onDisplayKeydown($event); });
|
|
2060
1948
|
i0.ɵɵelementEnd();
|
|
2061
|
-
i0.ɵɵelementStart(
|
|
2062
|
-
i0.ɵɵlistener("click", function
|
|
2063
|
-
i0.ɵɵelement(
|
|
1949
|
+
i0.ɵɵelementStart(1, "span", 1)(2, "button", 2);
|
|
1950
|
+
i0.ɵɵlistener("click", function DateComponent_Template_button_click_2_listener($event) { return ctx.toggleDpDropdown($event, false); });
|
|
1951
|
+
i0.ɵɵelement(3, "i", 3);
|
|
2064
1952
|
i0.ɵɵelementEnd()();
|
|
2065
|
-
i0.ɵɵelementStart(
|
|
2066
|
-
i0.ɵɵlistener("onShown", function
|
|
1953
|
+
i0.ɵɵelementStart(4, "div", 4)(5, "input", 5, 6);
|
|
1954
|
+
i0.ɵɵlistener("onShown", function DateComponent_Template_input_onShown_5_listener() { return ctx.onDatePickerOpen(); })("onHidden", function DateComponent_Template_input_onHidden_5_listener() { return ctx.hideDatepickerDropdown(); })("bsValueChange", function DateComponent_Template_input_bsValueChange_5_listener($event) { return ctx.onDateChange($event); });
|
|
2067
1955
|
i0.ɵɵelementEnd()();
|
|
2068
|
-
i0.ɵɵtemplate(
|
|
1956
|
+
i0.ɵɵtemplate(7, DateComponent_ng_template_7_Template, 2, 8, "ng-template", 7);
|
|
2069
1957
|
}
|
|
2070
1958
|
if (rf & 2) {
|
|
2071
|
-
i0.ɵɵproperty("name", ctx.name)("
|
|
1959
|
+
i0.ɵɵproperty("name", ctx.name)("tabindex", ctx.loadNativeDateInput ? "-1" : ctx.tabindex)("value", ctx.displayValue)("disabled", ctx.disabled || ctx.readonly)("autofocus", ctx.autofocus)("required", ctx.required)("readOnly", ctx.isReadOnly);
|
|
2072
1960
|
i0.ɵɵattribute("aria-hidden", !!ctx.loadNativeDateInput)("placeholder", ctx.placeholder)("accesskey", ctx.shortcutkey)("aria-label", ctx.hint);
|
|
2073
|
-
i0.ɵɵadvance(
|
|
1961
|
+
i0.ɵɵadvance(2);
|
|
2074
1962
|
i0.ɵɵproperty("tabindex", ctx.loadNativeDateInput ? "-1" : ctx.tabindex)("disabled", ctx.disabled || ctx.readonly);
|
|
2075
1963
|
i0.ɵɵattribute("aria-hidden", !!ctx.loadNativeDateInput)("aria-label", ctx.displayValue ? "Change Date " + ctx.displayValue : "Choose date by pressing enter");
|
|
2076
1964
|
i0.ɵɵadvance(3);
|
|
@@ -2079,7 +1967,7 @@ DateComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: DateComponent
|
|
|
2079
1967
|
i0.ɵɵadvance(2);
|
|
2080
1968
|
i0.ɵɵproperty("ngIf", ctx.loadNativeDateInput);
|
|
2081
1969
|
}
|
|
2082
|
-
}, dependencies: [i2.NgIf, i3.BsDatepickerDirective, i3.BsDatepickerInputDirective,
|
|
1970
|
+
}, dependencies: [i2.NgIf, i3.BsDatepickerDirective, i3.BsDatepickerInputDirective, DateTimePickerComponent], encapsulation: 2 });
|
|
2083
1971
|
(function () {
|
|
2084
1972
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(DateComponent, [{
|
|
2085
1973
|
type: Component,
|
|
@@ -2087,7 +1975,7 @@ DateComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: DateComponent
|
|
|
2087
1975
|
provideAs(DateComponent, NG_VALUE_ACCESSOR, true),
|
|
2088
1976
|
provideAs(DateComponent, NG_VALIDATORS, true),
|
|
2089
1977
|
provideAsWidgetRef(DateComponent)
|
|
2090
|
-
], template: " <input class=\"form-control app-textbox app-dateinput display-input\"\n focus-target\n type=\"text\"\n
|
|
1978
|
+
], template: " <input class=\"form-control app-textbox app-dateinput display-input\"\n focus-target\n type=\"text\"\n [name]=\"name\"\n [tabindex]=\"loadNativeDateInput ? '-1' : tabindex\"\n [attr.aria-hidden]=\"!!loadNativeDateInput\"\n [value]=\"displayValue\"\n (click)=\"toggleDpDropdown($event, true)\"\n (focus)=\"onDateTimeInputFocus(); invokeOnFocus($event);\"\n (blur)=\"onInputBlur($event)\"\n [disabled]=\"disabled || readonly\"\n [autofocus]=\"autofocus\"\n [required]=\"required\"\n [readOnly]=\"isReadOnly\"\n [attr.placeholder]=\"placeholder\"\n [attr.accesskey]=\"shortcutkey\"\n [attr.aria-label]=\"hint\"\n (change)=\"onDisplayDateChange($event)\"\n (keydown)=\"this._triggeredByUser = true; onDisplayKeydown($event);\">\n\n <span class=\"input-group-btn\">\n <button type=\"button\"\n class=\"btn btn-default btn-time\"\n [tabindex]=\"loadNativeDateInput ? '-1' : tabindex\"\n [attr.aria-hidden]=\"!!loadNativeDateInput\"\n [disabled]=\"disabled || readonly\"\n [attr.aria-label]=\"displayValue ? 'Change Date ' + displayValue : 'Choose date by pressing enter'\"\n aria-haspopup=\"true\"\n aria-expanded=\"false\"\n (click)=\"toggleDpDropdown($event, false)\">\n <i aria-hidden=\"true\"\n class=\"app-icon wm-sl-l sl-calendar\"></i>\n </button>\n </span>\n <div style=\"width: 0;display: inline-block;\">\n <input class=\"model-holder\"\n aria-label=\"datepicker dropdownmenu\"\n aria-controls=\"date\"\n [tabindex]=\"-1\"\n [attr.aria-hidden]=\"!!loadNativeDateInput\"\n [container]=\"containerTarget || 'body'\"\n [bsConfig]=\"_dateOptions\"\n [isOpen]=\"isOpen\"\n #datepicker=\"bsDatepicker\"\n bsDatepicker\n [daysDisabled]=\"excludedDaysToDisable\"\n [datesDisabled]=\"excludedDatesToDisable\"\n placement=\"bottom right\"\n [isDisabled]=\"disabled || readonly\"\n [bsValue]=\"bsDataValue\"\n (onShown)=\"onDatePickerOpen()\"\n (onHidden)=\"hideDatepickerDropdown()\"\n (bsValueChange)=\"onDateChange($event)\">\n</div>\n\n<ng-template [ngIf]=\"loadNativeDateInput\">\n <wm-datetimepicker\n dateTimePicker\n mode=\"DATE\"\n [config]=\"_dateOptions\"\n [placement]=\"modal\"\n [excludedDaysToDisable]=\"excludedDaysToDisable\"\n [excludedDatesToDisable]=\"excludedDatesToDisable\"\n [displayFormat]=\"dateInputFormat\"\n [value]=\"bsDataValue\"\n (change)=\"onDateChange($event)\">\n </wm-datetimepicker>\n <div class=\"mobile-input mobile-datepicker-container\"\n [tabindex]=\"tabindex || 0\"\n (focus)=\"onDateTimeInputFocus(true); invokeOnFocus($event);\"\n (blur)=\"onDateTimeInputBlur(); invokeOnTouched($event)\"\n [attr.aria-label]=\"displayValue ? 'Change Date' + displayValue : 'Choose Date'\"\n (click)=\"!(disabled || readonly || isCurrentDate) && showDatePickerModal()\">\n </div>\n</ng-template>\n" }]
|
|
2091
1979
|
}], function () { return [{ type: i0.Injector }, { type: i0.ChangeDetectorRef }, { type: i1$1.AppDefaults }]; }, { bsDatePickerDirective: [{
|
|
2092
1980
|
type: ViewChild,
|
|
2093
1981
|
args: [BsDatepickerDirective]
|
|
@@ -2616,7 +2504,7 @@ DatetimeComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: DatetimeC
|
|
|
2616
2504
|
i0.ɵɵadvance(3);
|
|
2617
2505
|
i0.ɵɵproperty("ngIf", ctx.loadNativeDateInput);
|
|
2618
2506
|
}
|
|
2619
|
-
}, dependencies: [i2.NgIf, i3.BsDatepickerDirective, i3.BsDatepickerInputDirective, i4
|
|
2507
|
+
}, dependencies: [i2.NgIf, i3.BsDatepickerDirective, i3.BsDatepickerInputDirective, i4.BsDropdownMenuDirective, i4.BsDropdownDirective, i5.NgControlStatus, i5.NgModel, i6.TimepickerComponent, DateTimePickerComponent], encapsulation: 2 });
|
|
2620
2508
|
(function () {
|
|
2621
2509
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(DatetimeComponent, [{
|
|
2622
2510
|
type: Component,
|
|
@@ -3015,7 +2903,7 @@ TimeComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: TimeComponent
|
|
|
3015
2903
|
i0.ɵɵadvance(3);
|
|
3016
2904
|
i0.ɵɵproperty("ngIf", ctx.loadNativeDateInput);
|
|
3017
2905
|
}
|
|
3018
|
-
}, dependencies: [i2.NgIf, i4
|
|
2906
|
+
}, dependencies: [i2.NgIf, i4.BsDropdownMenuDirective, i4.BsDropdownDirective, i5.NgControlStatus, i5.NgModel, i6.TimepickerComponent, DateTimePickerComponent], encapsulation: 2 });
|
|
3019
2907
|
(function () {
|
|
3020
2908
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TimeComponent, [{
|
|
3021
2909
|
type: Component,
|
|
@@ -3046,8 +2934,7 @@ EpochModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [CommonModule
|
|
|
3046
2934
|
BsDropdownModule,
|
|
3047
2935
|
FormsModule,
|
|
3048
2936
|
TimepickerModule,
|
|
3049
|
-
WmComponentsModule
|
|
3050
|
-
IMaskModule] });
|
|
2937
|
+
WmComponentsModule] });
|
|
3051
2938
|
(function () {
|
|
3052
2939
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(EpochModule, [{
|
|
3053
2940
|
type: NgModule,
|
|
@@ -3058,8 +2945,7 @@ EpochModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [CommonModule
|
|
|
3058
2945
|
BsDropdownModule,
|
|
3059
2946
|
FormsModule,
|
|
3060
2947
|
TimepickerModule,
|
|
3061
|
-
WmComponentsModule
|
|
3062
|
-
IMaskModule
|
|
2948
|
+
WmComponentsModule
|
|
3063
2949
|
],
|
|
3064
2950
|
declarations: [...components],
|
|
3065
2951
|
exports: [...components]
|
|
@@ -3078,8 +2964,7 @@ EpochModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [CommonModule
|
|
|
3078
2964
|
BsDropdownModule,
|
|
3079
2965
|
FormsModule,
|
|
3080
2966
|
TimepickerModule,
|
|
3081
|
-
WmComponentsModule,
|
|
3082
|
-
IMaskModule], exports: [DateComponent,
|
|
2967
|
+
WmComponentsModule], exports: [DateComponent,
|
|
3083
2968
|
DatetimeComponent,
|
|
3084
2969
|
TimeComponent,
|
|
3085
2970
|
DateTimePickerComponent,
|