@wavemaker/app-ng-runtime 12.0.0-next.45190 → 12.0.0-next.45196

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 (106) hide show
  1. app-ng-runtime/build-task/bundles/index.umd.js +7 -7
  2. app-ng-runtime/build-task/esm2022/containers/accordion/accordion-pane/accordion-pane.build.mjs +2 -2
  3. app-ng-runtime/build-task/esm2022/containers/accordion/accordion.build.mjs +3 -3
  4. app-ng-runtime/build-task/esm2022/containers/wizard/wizard.build.mjs +2 -2
  5. app-ng-runtime/build-task/esm2022/data/form/form-field/form-field.build.mjs +3 -3
  6. app-ng-runtime/build-task/esm2022/input/chips/chips.build.mjs +2 -2
  7. app-ng-runtime/build-task/esm2022/input/file-upload/file-upload.build.mjs +2 -2
  8. app-ng-runtime/build-task/fesm2022/index.mjs +7 -7
  9. app-ng-runtime/build-task/fesm2022/index.mjs.map +1 -1
  10. app-ng-runtime/components/advanced/custom/bundles/index.umd.js +6 -1
  11. app-ng-runtime/components/advanced/custom/custom-widget-container/custom-widget-container.directive.d.ts +1 -0
  12. app-ng-runtime/components/advanced/custom/esm2022/custom-widget-container/custom-widget-container.directive.mjs +7 -2
  13. app-ng-runtime/components/advanced/custom/fesm2022/index.mjs +6 -1
  14. app-ng-runtime/components/advanced/custom/fesm2022/index.mjs.map +1 -1
  15. app-ng-runtime/components/base/bundles/index.umd.js +0 -5
  16. app-ng-runtime/components/base/esm2022/widgets/common/base/base.component.mjs +1 -6
  17. app-ng-runtime/components/base/fesm2022/index.mjs +0 -5
  18. app-ng-runtime/components/base/fesm2022/index.mjs.map +1 -1
  19. app-ng-runtime/components/basic/default/audio/audio.component.d.ts +2 -0
  20. app-ng-runtime/components/basic/default/bundles/index.umd.js +18 -7
  21. app-ng-runtime/components/basic/default/esm2022/audio/audio.component.mjs +13 -5
  22. app-ng-runtime/components/basic/default/esm2022/video/video.component.mjs +7 -4
  23. app-ng-runtime/components/basic/default/fesm2022/index.mjs +18 -7
  24. app-ng-runtime/components/basic/default/fesm2022/index.mjs.map +1 -1
  25. app-ng-runtime/components/basic/default/video/video.component.d.ts +1 -0
  26. app-ng-runtime/components/basic/progress/bundles/index.umd.js +7 -3
  27. app-ng-runtime/components/basic/progress/esm2022/progress-bar/progress-bar.component.mjs +8 -4
  28. app-ng-runtime/components/basic/progress/fesm2022/index.mjs +7 -3
  29. app-ng-runtime/components/basic/progress/fesm2022/index.mjs.map +1 -1
  30. app-ng-runtime/components/basic/progress/progress-bar/progress-bar.component.d.ts +1 -0
  31. app-ng-runtime/components/basic/search/bundles/index.umd.js +7 -2
  32. app-ng-runtime/components/basic/search/esm2022/search.component.mjs +8 -3
  33. app-ng-runtime/components/basic/search/fesm2022/index.mjs +7 -2
  34. app-ng-runtime/components/basic/search/fesm2022/index.mjs.map +1 -1
  35. app-ng-runtime/components/basic/search/search.component.d.ts +3 -2
  36. app-ng-runtime/components/chart/bundles/index.umd.js +2 -1
  37. app-ng-runtime/components/chart/esm2022/chart.utils.mjs +3 -2
  38. app-ng-runtime/components/chart/fesm2022/index.mjs +2 -1
  39. app-ng-runtime/components/chart/fesm2022/index.mjs.map +1 -1
  40. app-ng-runtime/components/containers/accordion/accordion-pane/accordion-pane.component.d.ts +1 -0
  41. app-ng-runtime/components/containers/accordion/bundles/index.umd.js +15 -9
  42. app-ng-runtime/components/containers/accordion/esm2022/accordion-pane/accordion-pane.component.mjs +13 -10
  43. app-ng-runtime/components/containers/accordion/esm2022/accordion.directive.mjs +4 -1
  44. app-ng-runtime/components/containers/accordion/fesm2022/index.mjs +15 -9
  45. app-ng-runtime/components/containers/accordion/fesm2022/index.mjs.map +1 -1
  46. app-ng-runtime/components/containers/wizard/bundles/index.umd.js +6 -6
  47. app-ng-runtime/components/containers/wizard/esm2022/wizard.component.mjs +7 -7
  48. app-ng-runtime/components/containers/wizard/fesm2022/index.mjs +6 -6
  49. app-ng-runtime/components/containers/wizard/fesm2022/index.mjs.map +1 -1
  50. app-ng-runtime/components/data/list/bundles/index.umd.js +20 -12
  51. app-ng-runtime/components/data/list/esm2022/list-item.directive.mjs +10 -1
  52. app-ng-runtime/components/data/list/esm2022/list.component.mjs +13 -13
  53. app-ng-runtime/components/data/list/fesm2022/index.mjs +21 -13
  54. app-ng-runtime/components/data/list/fesm2022/index.mjs.map +1 -1
  55. app-ng-runtime/components/input/chips/bundles/index.umd.js +24 -7
  56. app-ng-runtime/components/input/chips/esm2022/chips.component.mjs +25 -8
  57. app-ng-runtime/components/input/chips/fesm2022/index.mjs +24 -7
  58. app-ng-runtime/components/input/chips/fesm2022/index.mjs.map +1 -1
  59. app-ng-runtime/components/input/default/bundles/index.umd.js +21 -5
  60. app-ng-runtime/components/input/default/esm2022/base-form.component.mjs +3 -3
  61. app-ng-runtime/components/input/default/esm2022/text/locale/number-locale.mjs +20 -4
  62. app-ng-runtime/components/input/default/fesm2022/index.mjs +21 -5
  63. app-ng-runtime/components/input/default/fesm2022/index.mjs.map +1 -1
  64. app-ng-runtime/components/input/epoch/base-date-time.component.d.ts +3 -1
  65. app-ng-runtime/components/input/epoch/bundles/index.umd.js +22 -14
  66. app-ng-runtime/components/input/epoch/esm2022/base-date-time.component.mjs +13 -6
  67. app-ng-runtime/components/input/epoch/esm2022/date/date.component.mjs +4 -4
  68. app-ng-runtime/components/input/epoch/esm2022/date/date.props.mjs +2 -1
  69. app-ng-runtime/components/input/epoch/esm2022/date-time/date-time.component.mjs +4 -4
  70. app-ng-runtime/components/input/epoch/fesm2022/index.mjs +19 -11
  71. app-ng-runtime/components/input/epoch/fesm2022/index.mjs.map +1 -1
  72. app-ng-runtime/components/input/file-upload/bundles/index.umd.js +80 -64
  73. app-ng-runtime/components/input/file-upload/esm2022/file-upload.component.mjs +80 -65
  74. app-ng-runtime/components/input/file-upload/esm2022/file-upload.props.mjs +3 -2
  75. app-ng-runtime/components/input/file-upload/fesm2022/index.mjs +81 -65
  76. app-ng-runtime/components/input/file-upload/fesm2022/index.mjs.map +1 -1
  77. app-ng-runtime/components/input/file-upload/file-upload.component.d.ts +7 -2
  78. app-ng-runtime/components/input/rating/bundles/index.umd.js +2 -2
  79. app-ng-runtime/components/input/rating/esm2022/rating.component.mjs +3 -3
  80. app-ng-runtime/components/input/rating/fesm2022/index.mjs +2 -2
  81. app-ng-runtime/components/input/rating/fesm2022/index.mjs.map +1 -1
  82. app-ng-runtime/components/navigation/breadcrumb/bundles/index.umd.js +6 -6
  83. app-ng-runtime/components/navigation/breadcrumb/esm2022/breadcrumb.component.mjs +7 -7
  84. app-ng-runtime/components/navigation/breadcrumb/fesm2022/index.mjs +6 -6
  85. app-ng-runtime/components/navigation/breadcrumb/fesm2022/index.mjs.map +1 -1
  86. app-ng-runtime/components/page/left-panel/bundles/index.umd.js +10 -3
  87. app-ng-runtime/components/page/left-panel/esm2022/left-panel.directive.mjs +11 -4
  88. app-ng-runtime/components/page/left-panel/fesm2022/index.mjs +10 -3
  89. app-ng-runtime/components/page/left-panel/fesm2022/index.mjs.map +1 -1
  90. app-ng-runtime/components/page/left-panel/left-panel.directive.d.ts +2 -2
  91. app-ng-runtime/components/page/right-panel/bundles/index.umd.js +2 -2
  92. app-ng-runtime/components/page/right-panel/esm2022/right-panel.directive.mjs +3 -3
  93. app-ng-runtime/components/page/right-panel/fesm2022/index.mjs +2 -2
  94. app-ng-runtime/components/page/right-panel/fesm2022/index.mjs.map +1 -1
  95. app-ng-runtime/components/page/right-panel/right-panel.directive.d.ts +1 -1
  96. app-ng-runtime/package.json +1 -1
  97. app-ng-runtime/runtime/base/bundles/index.umd.js +4 -0
  98. app-ng-runtime/runtime/base/esm2022/components/base-custom-widget.component.mjs +5 -1
  99. app-ng-runtime/runtime/base/fesm2022/index.mjs +4 -0
  100. app-ng-runtime/runtime/base/fesm2022/index.mjs.map +1 -1
  101. app-ng-runtime/scripts/datatable/datatable.js +9 -5
  102. app-ng-runtime/variables/bundles/index.umd.js +34 -16
  103. app-ng-runtime/variables/esm2022/manager/variable/web-socket-variable.manager.mjs +35 -17
  104. app-ng-runtime/variables/fesm2022/index.mjs +34 -16
  105. app-ng-runtime/variables/fesm2022/index.mjs.map +1 -1
  106. app-ng-runtime/variables/manager/variable/web-socket-variable.manager.d.ts +0 -4
@@ -25,6 +25,7 @@ export declare abstract class BaseDateTimeComponent extends BaseFormCustomCompon
25
25
  dataentrymode: any;
26
26
  protected activeDate: any;
27
27
  private elementScope;
28
+ viewmode: any;
28
29
  datepattern: any;
29
30
  timepattern: any;
30
31
  protected showseconds: boolean;
@@ -125,7 +126,7 @@ export declare abstract class BaseDateTimeComponent extends BaseFormCustomCompon
125
126
  * @param newDate - newly selected date value
126
127
  */
127
128
  private isOtheryear;
128
- showDatePickerModal(bsDataval: any): void;
129
+ showDatePickerModal(bsDataValue: any): void;
129
130
  /**
130
131
  * This method is used to load other month days or other month or other year
131
132
  * @param btnClass - class(previous/next) of the button which we have to click
@@ -136,6 +137,7 @@ export declare abstract class BaseDateTimeComponent extends BaseFormCustomCompon
136
137
  * This method is used to set focus for active day
137
138
  * @param newDate - newly selected date value
138
139
  * @param isMouseEvent - boolean value represents the event is mouse event/ keyboard event
140
+ * @param fromKeyboardEvents
139
141
  */
140
142
  private setActiveDateFocus;
141
143
  private getMonth;
@@ -872,8 +872,8 @@
872
872
  isOtheryear(newDate) {
873
873
  return (newDate.getMonth() === 0 && this.activeDate.getMonth() === 11) || (newDate.getMonth() === 11 && this.activeDate.getMonth() === 0);
874
874
  }
875
- showDatePickerModal(bsDataval) {
876
- bsDataval ? this.activeDate = bsDataval : this.activeDate = new Date();
875
+ showDatePickerModal(bsDataValue) {
876
+ this.activeDate = bsDataValue || new Date();
877
877
  this.setNextData(this.activeDate);
878
878
  this.datetimepickerComponent.show();
879
879
  setTimeout(() => {
@@ -907,8 +907,12 @@
907
907
  * This method is used to set focus for active day
908
908
  * @param newDate - newly selected date value
909
909
  * @param isMouseEvent - boolean value represents the event is mouse event/ keyboard event
910
+ * @param fromKeyboardEvents
910
911
  */
911
- setActiveDateFocus(newDate, isMouseEvent) {
912
+ setActiveDateFocus(newDate, isMouseEvent, fromKeyboardEvents) {
913
+ if (this.mindate && !this.datavalue && fromKeyboardEvents) {
914
+ this.activeDate = newDate = new Date(this.mindate);
915
+ }
912
916
  this.setNextData(newDate);
913
917
  this.clicked = false;
914
918
  const activeMonth = this.activeDate.getMonth();
@@ -924,10 +928,10 @@
924
928
  setTimeout(() => {
925
929
  const newDay = newDate.getDate().toString();
926
930
  lodashEs.filter($(`span:contains(${newDay})`).not('.is-other-month'), (obj) => {
927
- const activeMonth = $(`.bs-datepicker-head .current`).first().text();
928
- const activeYear = $(".bs-datepicker-head .current").eq(1).text();
929
- const monthName = new Date().toLocaleString('default', { month: 'long' });
930
- if ($(obj).text() === newDay && activeMonth == monthName && activeYear == new Date().getFullYear()) {
931
+ $(`.bs-datepicker-head .current`).first().text();
932
+ $(".bs-datepicker-head .current").eq(1).text();
933
+ new Date().toLocaleString('default', { month: 'long' });
934
+ if ($(obj).text() === newDay) {
931
935
  if ($(obj).hasClass('selected')) {
932
936
  $(obj).parent().attr('aria-selected', 'true');
933
937
  }
@@ -1031,7 +1035,7 @@
1031
1035
  }
1032
1036
  };
1033
1037
  this.loadDays();
1034
- this.setActiveDateFocus(this.activeDate);
1038
+ this.setActiveDateFocus(this.activeDate, undefined, true);
1035
1039
  }
1036
1040
  setNextData(nextDate) {
1037
1041
  this.next = this.getMonth(nextDate, 1);
@@ -1544,6 +1548,9 @@
1544
1548
  if (key === 'datepattern') {
1545
1549
  this.updateFormat(key);
1546
1550
  }
1551
+ else if (key === 'viewmode') {
1552
+ this._dateOptions.minMode = this.viewmode;
1553
+ }
1547
1554
  else if (key === 'showweeks') {
1548
1555
  this._dateOptions.showWeekNumbers = nv;
1549
1556
  }
@@ -1688,6 +1695,7 @@
1688
1695
  ['todaybuttonlabel', { value: 'LABEL_TODAY_DATE', ...base.PROP_STRING }],
1689
1696
  ['clearbuttonlabel', { value: 'LABEL_CLEAR_DATE', ...base.PROP_STRING }],
1690
1697
  ['showdateformatasplaceholder', base.PROP_BOOLEAN],
1698
+ ['viewmode', { value: 'day', ...base.PROP_STRING }]
1691
1699
  ]);
1692
1700
  const registerProps$2 = () => {
1693
1701
  base.register('wm-date', dateProps);
@@ -2095,7 +2103,7 @@
2095
2103
  base.provideAs(DateComponent, i5.NG_VALUE_ACCESSOR, true),
2096
2104
  base.provideAs(DateComponent, i5.NG_VALIDATORS, true),
2097
2105
  base.provideAsWidgetRef(DateComponent)
2098
- ]), i0__namespace.ɵɵInheritDefinitionFeature], attrs: _c1$2, decls: 9, vars: 27, consts: [["dateInput", ""], ["datepicker", "bsDatepicker"], ["focus-target", "", "type", "text", 1, "form-control", "app-textbox", "app-dateinput", "display-input", 3, "click", "focus", "blur", "change", "keydown", "name", "imask", "unmask", "tabindex", "value", "disabled", "autofocus", "required", "readOnly"], [1, "input-group-btn"], ["type", "button", "aria-haspopup", "true", "aria-expanded", "false", 1, "btn", "btn-default", "btn-time", 3, "click", "tabindex", "disabled"], ["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, "onShown", "onHidden", "bsValueChange", "tabindex", "container", "bsConfig", "isOpen", "daysDisabled", "datesDisabled", "isDisabled", "bsValue"], [3, "ngIf"], ["dateTimePicker", "", "mode", "DATE", 3, "change", "config", "placement", "excludedDaysToDisable", "excludedDatesToDisable", "displayFormat", "value"], ["role", "button", 1, "mobile-input", "mobile-datepicker-container", 3, "click", "focus", "blur", "tabindex"]], template: function DateComponent_Template(rf, ctx) { if (rf & 1) {
2106
+ ]), i0__namespace.ɵɵInheritDefinitionFeature], attrs: _c1$2, decls: 9, vars: 28, consts: [["dateInput", ""], ["datepicker", "bsDatepicker"], ["focus-target", "", "type", "text", 1, "form-control", "app-textbox", "app-dateinput", "display-input", 3, "click", "focus", "blur", "change", "keydown", "name", "imask", "unmask", "tabindex", "value", "disabled", "autofocus", "required", "readOnly"], [1, "input-group-btn"], ["type", "button", "aria-haspopup", "true", 1, "btn", "btn-default", "btn-time", 3, "click", "tabindex", "disabled"], ["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, "onShown", "onHidden", "bsValueChange", "tabindex", "container", "bsConfig", "isOpen", "daysDisabled", "datesDisabled", "isDisabled", "bsValue"], [3, "ngIf"], ["dateTimePicker", "", "mode", "DATE", 3, "change", "config", "placement", "excludedDaysToDisable", "excludedDatesToDisable", "displayFormat", "value"], ["role", "button", 1, "mobile-input", "mobile-datepicker-container", 3, "click", "focus", "blur", "tabindex"]], template: function DateComponent_Template(rf, ctx) { if (rf & 1) {
2099
2107
  const _r1 = i0__namespace.ɵɵgetCurrentView();
2100
2108
  i0__namespace.ɵɵelementStart(0, "input", 2, 0);
2101
2109
  i0__namespace.ɵɵlistener("click", function DateComponent_Template_input_click_0_listener($event) { i0__namespace.ɵɵrestoreView(_r1); return i0__namespace.ɵɵresetView(ctx.toggleDpDropdown($event, true)); })("focus", function DateComponent_Template_input_focus_0_listener($event) { i0__namespace.ɵɵrestoreView(_r1); ctx.onDateTimeInputFocus(); ctx.invokeOnFocus($event); return i0__namespace.ɵɵresetView(ctx.updateIMask()); })("blur", function DateComponent_Template_input_blur_0_listener($event) { i0__namespace.ɵɵrestoreView(_r1); return i0__namespace.ɵɵresetView(ctx.onInputBlur($event)); })("change", function DateComponent_Template_input_change_0_listener($event) { i0__namespace.ɵɵrestoreView(_r1); return i0__namespace.ɵɵresetView(ctx.onDisplayDateChange($event)); })("keydown", function DateComponent_Template_input_keydown_0_listener($event) { i0__namespace.ɵɵrestoreView(_r1); ctx._triggeredByUser = true; return i0__namespace.ɵɵresetView(ctx.onDisplayKeydown($event)); });
@@ -2113,7 +2121,7 @@
2113
2121
  i0__namespace.ɵɵattribute("aria-hidden", !!ctx.loadNativeDateInput)("placeholder", ctx.placeholder)("accesskey", ctx.shortcutkey)("aria-label", ctx.arialabel);
2114
2122
  i0__namespace.ɵɵadvance(3);
2115
2123
  i0__namespace.ɵɵproperty("tabindex", ctx.loadNativeDateInput ? "-1" : ctx.tabindex)("disabled", ctx.disabled || ctx.readonly);
2116
- i0__namespace.ɵɵattribute("aria-hidden", !!ctx.loadNativeDateInput)("aria-label", ctx.displayValue ? "Change Date " + ctx.displayValue : "Choose date by pressing enter");
2124
+ i0__namespace.ɵɵattribute("aria-hidden", !!ctx.loadNativeDateInput)("aria-label", ctx.displayValue ? "Change Date " + ctx.displayValue : "Choose date by pressing enter")("aria-expanded", ctx.isOpen);
2117
2125
  i0__namespace.ɵɵadvance(3);
2118
2126
  i0__namespace.ɵɵproperty("tabindex", -1)("container", ctx.containerTarget || ".wm-app")("bsConfig", ctx._dateOptions)("isOpen", ctx.isOpen)("daysDisabled", ctx.excludedDaysToDisable)("datesDisabled", ctx.excludedDatesToDisable)("isDisabled", ctx.disabled || ctx.readonly)("bsValue", ctx.bsDataValue);
2119
2127
  i0__namespace.ɵɵattribute("aria-hidden", !!ctx.loadNativeDateInput);
@@ -2127,7 +2135,7 @@
2127
2135
  base.provideAs(DateComponent, i5.NG_VALUE_ACCESSOR, true),
2128
2136
  base.provideAs(DateComponent, i5.NG_VALIDATORS, true),
2129
2137
  base.provideAsWidgetRef(DateComponent)
2130
- ], 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]=\"arialabel\"\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) && showDatePickerModal(bsDataValue)\"\n (focus)=\"onDateTimeInputFocus(true); invokeOnFocus($event);\"\n (blur)=\"onDateTimeInputBlur(); invokeOnTouched($event)\"\n [attr.aria-label]=\"displayValue ? 'Change Date ' + displayValue : arialabel || 'Choose Date'\"\n role=\"button\">\n </div>\n</ng-template>\n" }]
2138
+ ], 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]=\"arialabel\"\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 [attr.aria-expanded]=\"isOpen\"\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) && showDatePickerModal(bsDataValue)\"\n (focus)=\"onDateTimeInputFocus(true); invokeOnFocus($event);\"\n (blur)=\"onDateTimeInputBlur(); invokeOnTouched($event)\"\n [attr.aria-label]=\"displayValue ? 'Change Date ' + displayValue : arialabel || 'Choose Date'\"\n role=\"button\">\n </div>\n</ng-template>\n" }]
2131
2139
  }], () => [{ type: i0__namespace.Injector }, { type: i0__namespace.ChangeDetectorRef }, { type: i1$1__namespace.AppDefaults }, { type: undefined, decorators: [{
2132
2140
  type: i0.Inject,
2133
2141
  args: ['EXPLICIT_CONTEXT']
@@ -2622,7 +2630,7 @@
2622
2630
  base.provideAs(DatetimeComponent, i5.NG_VALIDATORS, true),
2623
2631
  base.provideAsWidgetRef(DatetimeComponent),
2624
2632
  { provide: i6.TimepickerConfig, deps: [i1$1.AbstractI18nService], useFactory: getTimepickerConfig }
2625
- ]), i0__namespace.ɵɵInheritDefinitionFeature], attrs: _c0$1, decls: 12, vars: 30, consts: [["datepicker", "bsDatepicker"], ["dropdown", "", "autoClose", "false", 2, "display", "inherit", 3, "onShown", "isOpen", "container"], ["focus-target", "", "type", "text", 1, "form-control", "app-textbox", "display-input", 3, "click", "focus", "blur", "change", "keydown", "name", "tabindex", "value", "autofocus", "disabled", "required", "readOnly"], [1, "input-group-btn"], ["type", "button", "aria-haspopup", "true", "aria-expanded", "false", 1, "btn", "btn-default", "btn-date", 3, "click", "tabindex", "disabled"], ["aria-hidden", "true", 1, "app-icon", "wm-sl-l", "sl-calendar"], ["type", "button", "aria-label", "Select time", "aria-haspopup", "true", "aria-expanded", "false", 1, "btn", "btn-default", "btn-time", 3, "click", "tabindex", "disabled"], ["aria-hidden", "true", 1, "app-icon", "wm-sl-l", "sl-time"], [2, "width", "0", "display", "inline-block"], ["aria-label", "datepicker dropdownmenu", "aria-controls", "date", "focus-target", "", "placement", "bottom right", "bsDatepicker", "", 1, "model-holder", 3, "onShown", "onHidden", "bsValueChange", "tabindex", "container", "bsConfig", "isOpen", "daysDisabled", "datesDisabled", "isDisabled", "bsValue"], ["class", "dropdown-menu", "aria-label", "timepicker dropdown", "aria-controls", "time", 3, "click", 4, "dropdownMenu"], [3, "ngIf"], ["aria-label", "timepicker dropdown", "aria-controls", "time", 1, "dropdown-menu", 3, "click"], [1, "model-holder", 3, "ngModelChange", "isValid", "showMeridian", "readonlyInput", "ngModel", "ngModelOptions", "min", "max", "hourStep", "minuteStep", "secondsStep", "mousewheel", "arrowkeys", "showSeconds"], ["dateTimePicker", "", 3, "change", "config", "placement", "excludedDaysToDisable", "excludedDatesToDisable", "displayFormat", "value"], ["role", "button", 1, "mobile-input", "mobile-datepicker-container", 3, "click", "focus", "blur", "tabindex"]], template: function DatetimeComponent_Template(rf, ctx) { if (rf & 1) {
2633
+ ]), i0__namespace.ɵɵInheritDefinitionFeature], attrs: _c0$1, decls: 12, vars: 31, consts: [["datepicker", "bsDatepicker"], ["dropdown", "", "autoClose", "false", 2, "display", "inherit", 3, "onShown", "isOpen", "container"], ["focus-target", "", "type", "text", 1, "form-control", "app-textbox", "display-input", 3, "click", "focus", "blur", "change", "keydown", "name", "tabindex", "value", "autofocus", "disabled", "required", "readOnly"], [1, "input-group-btn"], ["type", "button", "aria-haspopup", "true", 1, "btn", "btn-default", "btn-date", 3, "click", "tabindex", "disabled"], ["aria-hidden", "true", 1, "app-icon", "wm-sl-l", "sl-calendar"], ["type", "button", "aria-label", "Select time", "aria-haspopup", "true", "aria-expanded", "false", 1, "btn", "btn-default", "btn-time", 3, "click", "tabindex", "disabled"], ["aria-hidden", "true", 1, "app-icon", "wm-sl-l", "sl-time"], [2, "width", "0", "display", "inline-block"], ["aria-label", "datepicker dropdownmenu", "aria-controls", "date", "focus-target", "", "placement", "bottom right", "bsDatepicker", "", 1, "model-holder", 3, "onShown", "onHidden", "bsValueChange", "tabindex", "container", "bsConfig", "isOpen", "daysDisabled", "datesDisabled", "isDisabled", "bsValue"], ["class", "dropdown-menu", "aria-label", "timepicker dropdown", "aria-controls", "time", 3, "click", 4, "dropdownMenu"], [3, "ngIf"], ["aria-label", "timepicker dropdown", "aria-controls", "time", 1, "dropdown-menu", 3, "click"], [1, "model-holder", 3, "ngModelChange", "isValid", "showMeridian", "readonlyInput", "ngModel", "ngModelOptions", "min", "max", "hourStep", "minuteStep", "secondsStep", "mousewheel", "arrowkeys", "showSeconds"], ["dateTimePicker", "", 3, "change", "config", "placement", "excludedDaysToDisable", "excludedDatesToDisable", "displayFormat", "value"], ["role", "button", 1, "mobile-input", "mobile-datepicker-container", 3, "click", "focus", "blur", "tabindex"]], template: function DatetimeComponent_Template(rf, ctx) { if (rf & 1) {
2626
2634
  const _r1 = i0__namespace.ɵɵgetCurrentView();
2627
2635
  i0__namespace.ɵɵelementStart(0, "div", 1);
2628
2636
  i0__namespace.ɵɵlistener("onShown", function DatetimeComponent_Template_div_onShown_0_listener() { i0__namespace.ɵɵrestoreView(_r1); return i0__namespace.ɵɵresetView(ctx.onTimepickerOpen()); });
@@ -2650,7 +2658,7 @@
2650
2658
  i0__namespace.ɵɵattribute("aria-label", ctx.arialabel)("aria-hidden", !!ctx.loadNativeDateInput)("placeholder", ctx.placeholder)("accesskey", ctx.shortcutkey);
2651
2659
  i0__namespace.ɵɵadvance(2);
2652
2660
  i0__namespace.ɵɵproperty("tabindex", ctx.loadNativeDateInput ? "-1" : ctx.tabindex)("disabled", ctx.disabled || ctx.readonly || ctx.isCurrentDate);
2653
- i0__namespace.ɵɵattribute("aria-hidden", !!ctx.loadNativeDateInput)("aria-label", ctx.displayValue ? "Change Date " + ctx.displayValue : "Choose date by pressing enter");
2661
+ i0__namespace.ɵɵattribute("aria-hidden", !!ctx.loadNativeDateInput)("aria-label", ctx.displayValue ? "Change Date " + ctx.displayValue : "Choose date by pressing enter")("aria-expanded", ctx.isDateOpen);
2654
2662
  i0__namespace.ɵɵadvance(2);
2655
2663
  i0__namespace.ɵɵproperty("tabindex", ctx.loadNativeDateInput ? "-1" : ctx.tabindex)("disabled", ctx.disabled || ctx.readonly || ctx.isCurrentDate);
2656
2664
  i0__namespace.ɵɵattribute("aria-hidden", !!ctx.loadNativeDateInput);
@@ -2668,7 +2676,7 @@
2668
2676
  base.provideAs(DatetimeComponent, i5.NG_VALIDATORS, true),
2669
2677
  base.provideAsWidgetRef(DatetimeComponent),
2670
2678
  { provide: i6.TimepickerConfig, deps: [i1$1.AbstractI18nService], useFactory: getTimepickerConfig }
2671
- ], template: " <div dropdown\n [isOpen]=\"isTimeOpen\"\n autoClose=\"false\"\n [container]=\"'body'\"\n (onShown)=\"onTimepickerOpen()\"\n style=\"display: inherit;\">\n <input class=\"form-control app-textbox display-input\"\n [attr.aria-label]=\"arialabel\"\n focus-target\n [name]=\"name\"\n [tabindex]=\"loadNativeDateInput ? '-1' : tabindex\"\n [attr.aria-hidden]=\"!!loadNativeDateInput\"\n type=\"text\"\n [value]=\"displayValue\"\n (click)=\"toggleDpDropdown($event, true)\"\n (focus)=\"onDateTimeInputFocus(); invokeOnFocus($event);\"\n (blur)=\"onInputBlur($event)\"\n (change)=\"onDateChange($event)\"\n [autofocus]=\"autofocus\"\n [disabled]=\"disabled || readonly || isCurrentDate\"\n [required]=\"required\"\n [readOnly]=\"isReadOnly\"\n [attr.placeholder]=\"placeholder\"\n [attr.accesskey]=\"shortcutkey\"\n (keydown)=\"this._triggeredByUser = true; onDisplayKeydown($event)\">\n\n <span class=\"input-group-btn\">\n <button type=\"button\"\n class=\"btn btn-default btn-date\"\n [tabindex]=\"loadNativeDateInput ? '-1' : tabindex\"\n [attr.aria-hidden]=\"!!loadNativeDateInput\"\n [disabled]=\"disabled || readonly || isCurrentDate\"\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 <button type=\"button\"\n class=\"btn btn-default btn-time\"\n [tabindex]=\"loadNativeDateInput ? '-1' : tabindex\"\n [attr.aria-hidden]=\"!!loadNativeDateInput\"\n [disabled]=\"disabled || readonly || isCurrentDate\"\n aria-label=\"Select time\"\n aria-haspopup=\"true\"\n aria-expanded=\"false\"\n (click)=\"toggleTimePicker(!isTimeOpen, $event)\">\n <i aria-hidden=\"true\"\n class=\"app-icon wm-sl-l sl-time\"></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 focus-target\n [tabindex]=\"-1\"\n [attr.aria-hidden]=\"!!loadNativeDateInput\"\n [container]=\"containerTarget || '.wm-app'\"\n [bsConfig]=\"_dateOptions\"\n [isOpen]=\"isDateOpen\"\n placement=\"bottom right\"\n (onShown)=\"onDatePickerOpen()\"\n (onHidden)=\"hideDatepickerDropdown()\"\n [daysDisabled]=\"excludedDaysToDisable\"\n [datesDisabled]=\"excludedDatesToDisable\"\n #datepicker=bsDatepicker\n bsDatepicker\n [isDisabled]=\"disabled || readonly || isCurrentDate\"\n [bsValue]=\"bsDateValue\"\n (bsValueChange)=\"onModelUpdate($event, 'date')\">\n </div>\n <div *dropdownMenu\n class=\"dropdown-menu\"\n aria-label=\"timepicker dropdown\"\n aria-controls=\"time\"\n (click)=\"preventTpClose($event)\">\n <timepicker class=\"model-holder\"\n [showMeridian]=\"ismeridian\"\n [readonlyInput]=\"disabled || readonly || isCurrentDate\"\n [(ngModel)]=\"bsTimeValue\"\n [ngModelOptions]=\"{standalone: true}\"\n [min]=\"minTime\"\n [max]=\"maxTime\"\n [hourStep]=\"hourstep\"\n [minuteStep]=\"minutestep\"\n [secondsStep]=\"secondsstep\"\n [mousewheel]=\"true\"\n [arrowkeys]=\"true\"\n (isValid)=\"isValid($event)\"\n [showSeconds]=\"showseconds\"\n (ngModelChange)=\"onModelUpdate($event, 'time')\"></timepicker>\n </div>\n </div>\n<ng-template [ngIf]=\"loadNativeDateInput\">\n <wm-datetimepicker\n dateTimePicker\n [config]=\"_dateOptions\"\n [placement]=\"modal\"\n [excludedDaysToDisable]=\"excludedDaysToDisable\"\n [excludedDatesToDisable]=\"excludedDatesToDisable\"\n [displayFormat]=\"dateInputFormat\"\n [value]=\"bsDateValue\"\n (change)=\"onModelUpdate($event, 'date')\">\n </wm-datetimepicker>\n <div class=\"mobile-input mobile-datepicker-container\"\n [tabindex]=\"tabindex || 0\"\n (click)=\"!(disabled || readonly) && showDatePickerModal(bsDateValue)\"\n [attr.aria-label]=\"displayValue ? 'Change Date ' + displayValue : arialabel || 'Choose Date'\"\n (focus)=\"onDateTimeInputFocus(true); invokeOnFocus($event)\"\n (blur)=\"onDateTimeInputBlur(); invokeOnTouched($event)\"\n role=\"button\">\n </div>\n</ng-template>\n" }]
2679
+ ], template: " <div dropdown\n [isOpen]=\"isTimeOpen\"\n autoClose=\"false\"\n [container]=\"'body'\"\n (onShown)=\"onTimepickerOpen()\"\n style=\"display: inherit;\">\n <input class=\"form-control app-textbox display-input\"\n [attr.aria-label]=\"arialabel\"\n focus-target\n [name]=\"name\"\n [tabindex]=\"loadNativeDateInput ? '-1' : tabindex\"\n [attr.aria-hidden]=\"!!loadNativeDateInput\"\n type=\"text\"\n [value]=\"displayValue\"\n (click)=\"toggleDpDropdown($event, true)\"\n (focus)=\"onDateTimeInputFocus(); invokeOnFocus($event);\"\n (blur)=\"onInputBlur($event)\"\n (change)=\"onDateChange($event)\"\n [autofocus]=\"autofocus\"\n [disabled]=\"disabled || readonly || isCurrentDate\"\n [required]=\"required\"\n [readOnly]=\"isReadOnly\"\n [attr.placeholder]=\"placeholder\"\n [attr.accesskey]=\"shortcutkey\"\n (keydown)=\"this._triggeredByUser = true; onDisplayKeydown($event)\">\n\n <span class=\"input-group-btn\">\n <button type=\"button\"\n class=\"btn btn-default btn-date\"\n [tabindex]=\"loadNativeDateInput ? '-1' : tabindex\"\n [attr.aria-hidden]=\"!!loadNativeDateInput\"\n [disabled]=\"disabled || readonly || isCurrentDate\"\n [attr.aria-label]=\"displayValue ? 'Change Date ' + displayValue : 'Choose date by pressing enter'\"\n aria-haspopup=\"true\"\n [attr.aria-expanded]=\"isDateOpen\"\n (click)=\"toggleDpDropdown($event, false)\">\n <i aria-hidden=\"true\"\n class=\"app-icon wm-sl-l sl-calendar\"></i>\n </button>\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 || isCurrentDate\"\n aria-label=\"Select time\"\n aria-haspopup=\"true\"\n aria-expanded=\"false\"\n (click)=\"toggleTimePicker(!isTimeOpen, $event)\">\n <i aria-hidden=\"true\"\n class=\"app-icon wm-sl-l sl-time\"></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 focus-target\n [tabindex]=\"-1\"\n [attr.aria-hidden]=\"!!loadNativeDateInput\"\n [container]=\"containerTarget || '.wm-app'\"\n [bsConfig]=\"_dateOptions\"\n [isOpen]=\"isDateOpen\"\n placement=\"bottom right\"\n (onShown)=\"onDatePickerOpen()\"\n (onHidden)=\"hideDatepickerDropdown()\"\n [daysDisabled]=\"excludedDaysToDisable\"\n [datesDisabled]=\"excludedDatesToDisable\"\n #datepicker=bsDatepicker\n bsDatepicker\n [isDisabled]=\"disabled || readonly || isCurrentDate\"\n [bsValue]=\"bsDateValue\"\n (bsValueChange)=\"onModelUpdate($event, 'date')\">\n </div>\n <div *dropdownMenu\n class=\"dropdown-menu\"\n aria-label=\"timepicker dropdown\"\n aria-controls=\"time\"\n (click)=\"preventTpClose($event)\">\n <timepicker class=\"model-holder\"\n [showMeridian]=\"ismeridian\"\n [readonlyInput]=\"disabled || readonly || isCurrentDate\"\n [(ngModel)]=\"bsTimeValue\"\n [ngModelOptions]=\"{standalone: true}\"\n [min]=\"minTime\"\n [max]=\"maxTime\"\n [hourStep]=\"hourstep\"\n [minuteStep]=\"minutestep\"\n [secondsStep]=\"secondsstep\"\n [mousewheel]=\"true\"\n [arrowkeys]=\"true\"\n (isValid)=\"isValid($event)\"\n [showSeconds]=\"showseconds\"\n (ngModelChange)=\"onModelUpdate($event, 'time')\"></timepicker>\n </div>\n </div>\n<ng-template [ngIf]=\"loadNativeDateInput\">\n <wm-datetimepicker\n dateTimePicker\n [config]=\"_dateOptions\"\n [placement]=\"modal\"\n [excludedDaysToDisable]=\"excludedDaysToDisable\"\n [excludedDatesToDisable]=\"excludedDatesToDisable\"\n [displayFormat]=\"dateInputFormat\"\n [value]=\"bsDateValue\"\n (change)=\"onModelUpdate($event, 'date')\">\n </wm-datetimepicker>\n <div class=\"mobile-input mobile-datepicker-container\"\n [tabindex]=\"tabindex || 0\"\n (click)=\"!(disabled || readonly) && showDatePickerModal(bsDateValue)\"\n [attr.aria-label]=\"displayValue ? 'Change Date ' + displayValue : arialabel || 'Choose Date'\"\n (focus)=\"onDateTimeInputFocus(true); invokeOnFocus($event)\"\n (blur)=\"onDateTimeInputBlur(); invokeOnTouched($event)\"\n role=\"button\">\n </div>\n</ng-template>\n" }]
2672
2680
  }], () => [{ type: i0__namespace.Injector }, { type: i0__namespace.NgZone }, { type: i0__namespace.ChangeDetectorRef }, { type: i1$1__namespace.AppDefaults }, { type: i1$1__namespace.App }, { type: undefined, decorators: [{
2673
2681
  type: i0.Inject,
2674
2682
  args: ['EXPLICIT_CONTEXT']