@acorex/components 5.2.0 → 5.3.0

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 (161) hide show
  1. package/esm2020/lib/alert/alert-button.component.mjs +2 -3
  2. package/esm2020/lib/alert/alert.component.mjs +33 -23
  3. package/esm2020/lib/alert/alert.module.mjs +6 -22
  4. package/esm2020/lib/alert/index.mjs +1 -5
  5. package/esm2020/lib/base/components.class.mjs +17 -0
  6. package/esm2020/lib/base/events.class.mjs +1 -1
  7. package/esm2020/lib/base/index.mjs +2 -1
  8. package/esm2020/lib/base/mixin/base-components.class.mjs +5 -5
  9. package/esm2020/lib/base/mixin/base-menu-mixin.class.mjs +7 -5
  10. package/esm2020/lib/base/mixin/color-look-mixing.class.mjs +1 -1
  11. package/esm2020/lib/base/mixin/datalist-component.class.mjs +2 -1
  12. package/esm2020/lib/base/mixin/textbox-mixin.class.mjs +2 -2
  13. package/esm2020/lib/base/styles.class.mjs +1 -1
  14. package/esm2020/lib/button/button-group.component.mjs +1 -1
  15. package/esm2020/lib/button/button-item.class.mjs +1 -1
  16. package/esm2020/lib/button/button.module.mjs +4 -5
  17. package/esm2020/lib/calendar/calendar.component.mjs +61 -8
  18. package/esm2020/lib/calendar/calendar.module.mjs +5 -7
  19. package/esm2020/lib/calendar/index.mjs +1 -2
  20. package/esm2020/lib/carousel/carousel-arrows.component.mjs +3 -3
  21. package/esm2020/lib/checkbox/checkbox.module.mjs +5 -5
  22. package/esm2020/lib/datepicker/datepicker.component.mjs +11 -7
  23. package/esm2020/lib/datepicker/datepicker.module.mjs +4 -7
  24. package/esm2020/lib/decorators/close-button.component.mjs +40 -0
  25. package/esm2020/lib/decorators/decorators.module.mjs +37 -7
  26. package/esm2020/lib/decorators/footer.component.mjs +24 -0
  27. package/esm2020/lib/decorators/header.component.mjs +3 -5
  28. package/esm2020/lib/decorators/icon.component.mjs +28 -0
  29. package/esm2020/lib/decorators/index.mjs +5 -1
  30. package/esm2020/lib/decorators/prefix.component.mjs +3 -3
  31. package/esm2020/lib/decorators/suffix.component.mjs +3 -3
  32. package/esm2020/lib/decorators/title.component.mjs +24 -0
  33. package/esm2020/lib/dialog/dialog.module.mjs +4 -4
  34. package/esm2020/lib/drawer/drawer-container.component.mjs +17 -57
  35. package/esm2020/lib/drawer/drawer.component.mjs +97 -127
  36. package/esm2020/lib/drawer/drawer.module.mjs +3 -4
  37. package/esm2020/lib/drawer/index.mjs +1 -2
  38. package/esm2020/lib/dropdown/dropdown-panel.component.mjs +4 -4
  39. package/esm2020/lib/dropdown/dropdown.module.mjs +5 -6
  40. package/esm2020/lib/menu/menu.component.mjs +77 -13
  41. package/esm2020/lib/menu/menu.module.mjs +4 -7
  42. package/esm2020/lib/number-box/number-box.component.mjs +3 -3
  43. package/esm2020/lib/number-box/number-box.module.mjs +4 -7
  44. package/esm2020/lib/page/base-page.class.mjs +3 -3
  45. package/esm2020/lib/page/index.mjs +1 -3
  46. package/esm2020/lib/page/page.module.mjs +4 -6
  47. package/esm2020/lib/password-box/password-box.component.mjs +3 -3
  48. package/esm2020/lib/password-box/password-box.module.mjs +4 -7
  49. package/esm2020/lib/picker/picker.component.mjs +265 -27
  50. package/esm2020/lib/picker/picker.model.class.mjs +2 -0
  51. package/esm2020/lib/popover/popover.component.mjs +6 -3
  52. package/esm2020/lib/popup/popup.component.mjs +13 -10
  53. package/esm2020/lib/popup/popup.module.mjs +4 -3
  54. package/esm2020/lib/searchbox/index.mjs +3 -0
  55. package/esm2020/lib/searchbox/searchbox.component.mjs +47 -0
  56. package/esm2020/lib/searchbox/searchbox.module.mjs +24 -0
  57. package/esm2020/lib/selectbox/selectbox.component.mjs +33 -26
  58. package/esm2020/lib/selectbox/selectbox.module.mjs +5 -9
  59. package/esm2020/lib/tabs/tabs.module.mjs +4 -4
  60. package/esm2020/lib/textarea/textarea.component.mjs +2 -2
  61. package/esm2020/lib/textbox/textbox.component.mjs +3 -3
  62. package/esm2020/lib/textbox/textbox.module.mjs +5 -9
  63. package/esm2020/lib/time-box/time-box.component.mjs +2 -2
  64. package/esm2020/lib/toast/toast.class.mjs +1 -1
  65. package/esm2020/lib/toast/toast.component.mjs +14 -12
  66. package/esm2020/lib/toast/toast.module.mjs +5 -3
  67. package/esm2020/lib/toast/toast.service.mjs +37 -9
  68. package/esm2020/public-api.mjs +2 -2
  69. package/fesm2015/acorex-components.mjs +989 -727
  70. package/fesm2015/acorex-components.mjs.map +1 -1
  71. package/fesm2020/acorex-components.mjs +980 -729
  72. package/fesm2020/acorex-components.mjs.map +1 -1
  73. package/lib/alert/alert.component.d.ts +7 -6
  74. package/lib/alert/alert.module.d.ts +4 -8
  75. package/lib/alert/index.d.ts +0 -4
  76. package/lib/badge/badge.component.d.ts +3 -3
  77. package/lib/base/components.class.d.ts +11 -0
  78. package/lib/base/index.d.ts +1 -0
  79. package/lib/base/mixin/base-components.class.d.ts +2 -2
  80. package/lib/base/mixin/base-menu-mixin.class.d.ts +2 -1
  81. package/lib/base/mixin/button-mixin.class.d.ts +0 -3
  82. package/lib/base/mixin/color-look-mixing.class.d.ts +4 -4
  83. package/lib/base/mixin/mixin.class.d.ts +8 -7
  84. package/lib/base/mixin/selection-component.class.d.ts +3 -0
  85. package/lib/base/mixin/textbox-mixin.class.d.ts +3 -3
  86. package/lib/base/styles.class.d.ts +1 -1
  87. package/lib/button/button-group.component.d.ts +4 -4
  88. package/lib/button/button-item.class.d.ts +2 -2
  89. package/lib/button/button.module.d.ts +2 -3
  90. package/lib/calendar/calendar.component.d.ts +10 -1
  91. package/lib/calendar/calendar.module.d.ts +6 -8
  92. package/lib/calendar/index.d.ts +0 -1
  93. package/lib/checkbox/checkbox.module.d.ts +1 -1
  94. package/lib/datepicker/datepicker.component.d.ts +1 -1
  95. package/lib/datepicker/datepicker.module.d.ts +3 -4
  96. package/lib/decorators/close-button.component.d.ts +13 -0
  97. package/lib/decorators/decorators.module.d.ts +10 -6
  98. package/lib/decorators/footer.component.d.ts +8 -0
  99. package/lib/decorators/header.component.d.ts +1 -1
  100. package/lib/decorators/icon.component.d.ts +10 -0
  101. package/lib/decorators/index.d.ts +4 -0
  102. package/lib/decorators/prefix.component.d.ts +1 -1
  103. package/lib/decorators/suffix.component.d.ts +1 -1
  104. package/lib/decorators/title.component.d.ts +9 -0
  105. package/lib/dialog/dialog.module.d.ts +1 -1
  106. package/lib/drawer/drawer-container.component.d.ts +5 -8
  107. package/lib/drawer/drawer.component.d.ts +23 -19
  108. package/lib/drawer/drawer.module.d.ts +2 -3
  109. package/lib/drawer/index.d.ts +0 -1
  110. package/lib/dropdown/dropdown.module.d.ts +3 -4
  111. package/lib/menu/menu.component.d.ts +10 -6
  112. package/lib/menu/menu.module.d.ts +2 -2
  113. package/lib/number-box/number-box.component.d.ts +1 -1
  114. package/lib/number-box/number-box.module.d.ts +2 -3
  115. package/lib/page/base-page.class.d.ts +2 -2
  116. package/lib/page/index.d.ts +0 -2
  117. package/lib/page/page.module.d.ts +1 -3
  118. package/lib/password-box/password-box.component.d.ts +1 -1
  119. package/lib/password-box/password-box.module.d.ts +1 -2
  120. package/lib/picker/picker.component.d.ts +55 -18
  121. package/lib/picker/picker.model.class.d.ts +10 -0
  122. package/lib/popover/popover.component.d.ts +2 -1
  123. package/lib/popup/popup.module.d.ts +2 -1
  124. package/lib/searchbox/index.d.ts +2 -0
  125. package/lib/searchbox/searchbox.component.d.ts +16 -0
  126. package/lib/searchbox/searchbox.module.d.ts +11 -0
  127. package/lib/selectbox/selectbox.component.d.ts +4 -14
  128. package/lib/selectbox/selectbox.module.d.ts +6 -7
  129. package/lib/tabs/tabs.module.d.ts +1 -1
  130. package/lib/textarea/textarea.component.d.ts +1 -1
  131. package/lib/textbox/textbox.component.d.ts +1 -1
  132. package/lib/textbox/textbox.module.d.ts +2 -3
  133. package/lib/time-box/time-box.component.d.ts +1 -1
  134. package/lib/toast/toast.class.d.ts +4 -3
  135. package/lib/toast/toast.component.d.ts +0 -2
  136. package/lib/toast/toast.module.d.ts +3 -1
  137. package/lib/toast/toast.service.d.ts +4 -0
  138. package/package.json +1 -1
  139. package/public-api.d.ts +1 -1
  140. package/esm2020/lib/alert/alert-content.component.mjs +0 -21
  141. package/esm2020/lib/alert/alert-footer.component.mjs +0 -27
  142. package/esm2020/lib/alert/alert-suffix.component.mjs +0 -27
  143. package/esm2020/lib/alert/alert-title.component.mjs +0 -23
  144. package/esm2020/lib/calendar/inline-calendar.component.mjs +0 -39
  145. package/esm2020/lib/drawer/drawer-content.component.mjs +0 -27
  146. package/esm2020/lib/icon/icon.component.mjs +0 -28
  147. package/esm2020/lib/icon/icon.module.mjs +0 -21
  148. package/esm2020/lib/icon/index.mjs +0 -3
  149. package/esm2020/lib/page/page-footer.component.mjs +0 -28
  150. package/esm2020/lib/page/page-header.component.mjs +0 -28
  151. package/lib/alert/alert-content.component.d.ts +0 -5
  152. package/lib/alert/alert-footer.component.d.ts +0 -5
  153. package/lib/alert/alert-suffix.component.d.ts +0 -5
  154. package/lib/alert/alert-title.component.d.ts +0 -5
  155. package/lib/calendar/inline-calendar.component.d.ts +0 -14
  156. package/lib/drawer/drawer-content.component.d.ts +0 -8
  157. package/lib/icon/icon.component.d.ts +0 -10
  158. package/lib/icon/icon.module.d.ts +0 -8
  159. package/lib/icon/index.d.ts +0 -2
  160. package/lib/page/page-footer.component.d.ts +0 -7
  161. package/lib/page/page-header.component.d.ts +0 -7
@@ -1,6 +1,6 @@
1
1
  import { trigger, state, style, transition, animate } from '@angular/animations';
2
2
  import * as i0 from '@angular/core';
3
- import { Injectable, Inject, EventEmitter, Directive, Input, TemplateRef, NgModule, Component, ChangeDetectionStrategy, ViewEncapsulation, HostListener, HostBinding, Output, ContentChildren, ContentChild, Optional, ViewChild, ElementRef, ViewChildren } from '@angular/core';
3
+ import { Injectable, Inject, EventEmitter, Directive, Input, TemplateRef, NgModule, Component, ChangeDetectionStrategy, ViewEncapsulation, HostListener, HostBinding, Output, ContentChildren, Optional, ContentChild, ViewChildren, ViewChild, ElementRef } from '@angular/core';
4
4
  import { __classPrivateFieldSet, __classPrivateFieldGet, __awaiter } from 'tslib';
5
5
  import _ from 'lodash';
6
6
  import { coerceBooleanProperty, coerceNumberProperty } from '@angular/cdk/coercion';
@@ -90,17 +90,17 @@ class AXBaseComponent {
90
90
  const oldValue = this[option.name];
91
91
  const newValue = this._onOptionChanging({ name: option.name, value: option.value });
92
92
  //TODO : check real changes
93
+ if (option.beforeCallback)
94
+ option.beforeCallback(oldValue, newValue);
93
95
  if (oldValue != newValue) {
94
- if (option.beforeCallback)
95
- option.beforeCallback();
96
96
  this[`_${option.name}`] = option.value;
97
97
  this._onOptionChanged({ name: option.name, newValue, oldValue });
98
98
  const emitter = this[`${option.name}Change`];
99
99
  if (emitter)
100
100
  emitter.emit(newValue);
101
- if (option.afterCallback)
102
- option.afterCallback();
103
101
  }
102
+ if (option.afterCallback)
103
+ option.afterCallback(oldValue, newValue);
104
104
  }
105
105
  }
106
106
  _AXBaseComponent_elementRef = new WeakMap();
@@ -137,8 +137,8 @@ function _BaseMenuComponentMixin(Base) {
137
137
  this.valueField = 'id';
138
138
  _isLoading.set(this, false);
139
139
  _loadedItems.set(this, []);
140
- this.visible = 'visible';
141
140
  this.openMode = 'click';
141
+ this.direction = 'vertical';
142
142
  this.onMenuItemClick = new EventEmitter();
143
143
  _items.set(this, []);
144
144
  }
@@ -178,15 +178,16 @@ function _BaseMenuComponentMixin(Base) {
178
178
  return o;
179
179
  else {
180
180
  const no = {};
181
+ no[this.valueField] = o;
181
182
  no[Array.isArray(this.textField) ? this.textField[0] : this.textField] = o;
182
183
  return no;
183
184
  }
184
- }));
185
+ }), this.valueField);
185
186
  }
186
187
  _findNode(parentId, _children, source) {
187
188
  if (source.length > 0) {
188
189
  source.forEach((element) => {
189
- if (element.id == parentId) {
190
+ if (element[this.valueField] == parentId) {
190
191
  element.children = _children;
191
192
  }
192
193
  else {
@@ -254,10 +255,11 @@ const BASEMENU_INPUTS = [
254
255
  'tooltip',
255
256
  'isOpen',
256
257
  'isActive',
257
- 'visible',
258
+ 'visibleField',
258
259
  'disableField',
259
260
  'hasChildField',
260
261
  'openMode',
262
+ 'direction',
261
263
  ];
262
264
  const BASEMENU_OUTPUT = ['onMenuItemClick'];
263
265
 
@@ -540,6 +542,7 @@ function _DatalistComponenetMixin(Base) {
540
542
  }
541
543
  empty() {
542
544
  __classPrivateFieldSet(this, _isLoading, false, "f");
545
+ __classPrivateFieldSet(this, _currentPage, 0, "f");
543
546
  if (__classPrivateFieldGet(this, _loadedItems, "f")) {
544
547
  __classPrivateFieldGet(this, _loadedItems, "f").length = 0;
545
548
  }
@@ -1178,7 +1181,7 @@ function _TextboxComponenetMixin(Base) {
1178
1181
  }
1179
1182
  };
1180
1183
  }
1181
- const TEXTBOX_INPUTS = ['placeholder', 'maxLength', 'allowNull', 'debounceTime', 'type', ...VALUE_INPUTS];
1184
+ const TEXTBOX_INPUTS = ['placeholder', 'maxLength', 'allowNull', 'debounceTime', 'type', 'autoComplete', ...VALUE_INPUTS];
1182
1185
  const TEXTBOX_OUTPUT = [...VALUE_OUTPUT];
1183
1186
 
1184
1187
  const AXBaseComponentMixin = _BaseComponenetMixin(AXBaseComponent);
@@ -1195,6 +1198,21 @@ const AXBaseDropdownMixin = _SizableComponenetMixin(_InteractiveComponenetMixin(
1195
1198
  const AXBaseMenuMixin = _InteractiveComponenetMixin(_BaseMenuComponentMixin(AXBaseComponent));
1196
1199
  const AXAvatarMixin = _ColorLookComponentMixin(AXBaseComponent);
1197
1200
 
1201
+ class AXClosbaleComponent {
1202
+ }
1203
+ AXClosbaleComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXClosbaleComponent, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
1204
+ AXClosbaleComponent.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXClosbaleComponent });
1205
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXClosbaleComponent, decorators: [{
1206
+ type: Injectable
1207
+ }] });
1208
+ class AXSearchableComponent {
1209
+ }
1210
+ AXSearchableComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXSearchableComponent, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
1211
+ AXSearchableComponent.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXSearchableComponent });
1212
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXSearchableComponent, decorators: [{
1213
+ type: Injectable
1214
+ }] });
1215
+
1198
1216
  /**
1199
1217
  * Contains native event
1200
1218
  * @category Events
@@ -1663,74 +1681,72 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
1663
1681
  }] } });
1664
1682
 
1665
1683
  class AXDrawerComponent extends AXBaseComponentMixin {
1666
- constructor(elementRef, cdr, zone) {
1667
- super(elementRef, cdr);
1668
- this.elementRef = elementRef;
1669
- this.zone = zone;
1670
- this.onChanged = new EventEmitter();
1671
- this.mode = 'push';
1672
- this.location = 'start';
1673
- this._collapsed = false;
1684
+ constructor(_elementRef, _cdr, _zone) {
1685
+ super(_elementRef, _cdr);
1686
+ this._elementRef = _elementRef;
1687
+ this._zone = _zone;
1688
+ this.locationChange = new EventEmitter();
1689
+ this.modeChange = new EventEmitter();
1690
+ this._mode = 'overlay';
1691
+ this.collapsedChange = new EventEmitter();
1692
+ this._collapsed = true;
1693
+ this._loaded = false;
1694
+ }
1695
+ get location() {
1696
+ return this._location;
1697
+ }
1698
+ set location(v) {
1699
+ this._setOption({
1700
+ name: 'location',
1701
+ value: v
1702
+ });
1703
+ }
1704
+ get mode() {
1705
+ return this._mode;
1706
+ }
1707
+ set mode(v) {
1708
+ this._setOption({
1709
+ name: 'mode',
1710
+ value: v
1711
+ });
1674
1712
  }
1675
1713
  get collapsed() {
1676
1714
  return this._collapsed;
1677
1715
  }
1678
1716
  set collapsed(v) {
1679
- if (v != this._collapsed) {
1680
- this._collapsed = v;
1681
- this._updateClass();
1682
- this._emitChange();
1683
- }
1717
+ this._setOption({
1718
+ name: 'collapsed',
1719
+ value: v
1720
+ });
1684
1721
  }
1685
- onInit() {
1686
- // this._getHostElement().classList.add(this.location == 'start' ? 'ax-drawer-start' : 'ax-drawer-end');
1687
- this._setLocation();
1688
- this._currentMode = this.mode;
1689
- }
1690
- _setLocation() {
1691
- const hostElementClassList = this._getHostElement().classList;
1692
- switch (this.location) {
1693
- case 'start':
1694
- hostElementClassList.add('ax-drawer-start');
1695
- break;
1696
- case 'end':
1697
- hostElementClassList.add('ax-drawer-end');
1698
- break;
1699
- case 'top':
1700
- hostElementClassList.add('ax-drawer-top');
1701
- break;
1702
- case 'bottom':
1703
- hostElementClassList.add('ax-drawer-bottom');
1704
- break;
1705
- default:
1706
- hostElementClassList.add('ax-drawer-start');
1707
- break;
1708
- }
1722
+ onViewInit() {
1723
+ setTimeout(() => {
1724
+ this._loaded = true;
1725
+ this._checkProps();
1726
+ }, 1000);
1727
+ this._detectBoundingSize();
1709
1728
  }
1710
- _updateClass() {
1711
- this.zone.runOutsideAngular(() => {
1712
- const elm = this._getHostElement();
1713
- //
1714
- this._currentMode == 'overlay' ? this._setOverlayMode() : this._setPushMode();
1715
- //
1716
- if (this.collapsed) {
1717
- elm.classList.remove('ax-expanded');
1718
- elm.classList.add('ax-collapsed');
1719
- if (this._currentMode == 'overlay') {
1720
- this._removeBackdrop();
1721
- }
1722
- }
1723
- else {
1724
- elm.classList.add('ax-expanded');
1725
- elm.classList.remove('ax-collapsed');
1726
- if (this._currentMode == 'overlay') {
1727
- this._addBackdrop();
1728
- }
1729
- }
1729
+ _onOptionChanged(option) {
1730
+ this._checkProps();
1731
+ }
1732
+ ngDoCheck() {
1733
+ this._detectBoundingSize();
1734
+ }
1735
+ _detectBoundingSize() {
1736
+ this._zone.runOutsideAngular(() => {
1737
+ const host = this._getHostElement();
1738
+ if (host.clientWidth)
1739
+ host.style.setProperty('--ax-el-width', `${host.clientWidth}px`);
1730
1740
  });
1731
1741
  }
1732
- onViewInit() {
1733
- this._detectSize();
1742
+ _checkProps() {
1743
+ this._detectBoundingSize();
1744
+ this._removeBackdrop();
1745
+ if (this.mode == 'overlay') {
1746
+ if (!this.collapsed) {
1747
+ this._addBackdrop();
1748
+ }
1749
+ }
1734
1750
  }
1735
1751
  toggle() {
1736
1752
  this.collapsed = !this.collapsed;
@@ -1741,69 +1757,37 @@ class AXDrawerComponent extends AXBaseComponentMixin {
1741
1757
  open() {
1742
1758
  this.collapsed = false;
1743
1759
  }
1744
- _handleWindowsResize(e) {
1745
- this._detectSize();
1746
- }
1747
- _detectSize() {
1748
- //TODO detect break size
1749
- const bound = this._getHostElement().parentElement.getBoundingClientRect();
1750
- if (bound.width == 0) {
1751
- console.log('Drawer invalid size', bound);
1752
- setTimeout(() => {
1753
- this._detectSize();
1754
- }, 1);
1755
- return;
1756
- }
1757
- if (bound.width < 400) {
1758
- this._currentMode = 'overlay';
1759
- this.collapsed = true;
1760
- }
1761
- else {
1762
- this._currentMode = this.mode;
1763
- }
1764
- this._updateClass();
1765
- this._emitChange();
1766
- }
1767
- _emitChange() {
1768
- this.onChanged.emit({
1769
- component: this,
1770
- htmlElement: this.elementRef.nativeElement
1771
- });
1772
- }
1773
- _setOverlayMode() {
1774
- this._currentMode = 'overlay';
1775
- this._getHostElement().classList.remove('ax-drawer-push');
1776
- this._getHostElement().classList.add('ax-drawer-overlay');
1777
- }
1778
- _setPushMode() {
1779
- this._currentMode = 'push';
1780
- this._getHostElement().classList.remove('ax-drawer-overlay');
1781
- this._getHostElement().classList.add('ax-drawer-push');
1782
- this._removeBackdrop();
1760
+ get __hostClass() {
1761
+ return `ax-drawer-${this.mode} ax-drawer-${this.location} ${this.collapsed ? 'ax-collapsed' : 'ax-expanded'} ${!this._loaded ? 'ax-preload' : ''}`;
1783
1762
  }
1784
1763
  _addBackdrop() {
1785
- if (!this._backdrop) {
1786
- this._backdrop = document.createElement('div');
1787
- this._backdrop.classList.add('ax-drawer-backdrop');
1788
- this._getHostElement().parentElement.prepend(this._backdrop);
1789
- this._backdrop.addEventListener('click', this._handleBackfropClick.bind(this));
1790
- }
1764
+ this._zone.runOutsideAngular(() => {
1765
+ var _a;
1766
+ this._backdropElement = document.createElement('div');
1767
+ this._backdropElement.classList.add('ax-backdrop');
1768
+ this._backdropElement.onclick = () => {
1769
+ this._zone.run(() => {
1770
+ this.close();
1771
+ });
1772
+ };
1773
+ (_a = this._getHostElement().parentElement) === null || _a === void 0 ? void 0 : _a.appendChild(this._backdropElement);
1774
+ });
1791
1775
  }
1792
1776
  _removeBackdrop() {
1793
- if (this._backdrop) {
1794
- this._backdrop.removeEventListener('click', this._handleBackfropClick.bind(this));
1795
- this._getHostElement().parentElement.removeChild(this._backdrop);
1796
- this._backdrop = null;
1797
- }
1798
- }
1799
- _handleBackfropClick(e) {
1800
- this._removeBackdrop();
1801
- this.collapsed = true;
1777
+ this._zone.runOutsideAngular(() => {
1778
+ var _a;
1779
+ if (this._backdropElement) {
1780
+ (_a = this._getHostElement().parentElement) === null || _a === void 0 ? void 0 : _a.removeChild(this._backdropElement);
1781
+ this._backdropElement = null;
1782
+ }
1783
+ });
1802
1784
  }
1803
1785
  }
1804
1786
  AXDrawerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXDrawerComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
1805
- AXDrawerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: AXDrawerComponent, selector: "ax-drawer", inputs: { mode: "mode", location: "location", collapsed: "collapsed" }, outputs: { onChanged: "onChanged" }, host: { listeners: { "window:resize": "_handleWindowsResize($event)" }, classAttribute: "ax-drawer ax-transition-all" }, usesInheritance: true, ngImport: i0, template: `
1806
- <ng-content>
1787
+ AXDrawerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: AXDrawerComponent, selector: "ax-drawer", inputs: { location: "location", mode: "mode", collapsed: "collapsed" }, outputs: { locationChange: "locationChange", modeChange: "modeChange", collapsedChange: "collapsedChange" }, host: { properties: { "class": "this.__hostClass" } }, providers: [{ provide: AXClosbaleComponent, useExisting: AXDrawerComponent }], usesInheritance: true, ngImport: i0, template: `
1788
+ <ng-content select='ax-header'>
1789
+ </ng-content>
1790
+ <ng-content select='ax-content'>
1807
1791
  </ng-content>
1808
1792
  `, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
1809
1793
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXDrawerComponent, decorators: [{
@@ -1811,135 +1795,78 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
1811
1795
  args: [{
1812
1796
  selector: 'ax-drawer',
1813
1797
  template: `
1814
- <ng-content>
1798
+ <ng-content select='ax-header'>
1799
+ </ng-content>
1800
+ <ng-content select='ax-content'>
1815
1801
  </ng-content>
1816
1802
  `,
1817
1803
  changeDetection: ChangeDetectionStrategy.OnPush,
1818
1804
  encapsulation: ViewEncapsulation.None,
1819
- host: { class: 'ax-drawer ax-transition-all' }
1805
+ providers: [{ provide: AXClosbaleComponent, useExisting: AXDrawerComponent }]
1820
1806
  }]
1821
- }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: i0.NgZone }]; }, propDecorators: { onChanged: [{
1807
+ }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: i0.NgZone }]; }, propDecorators: { locationChange: [{
1822
1808
  type: Output
1823
- }], mode: [{
1824
- type: Input
1825
1809
  }], location: [{
1826
1810
  type: Input
1811
+ }], modeChange: [{
1812
+ type: Output
1813
+ }], mode: [{
1814
+ type: Input
1815
+ }], collapsedChange: [{
1816
+ type: Output
1827
1817
  }], collapsed: [{
1828
1818
  type: Input
1829
- }], _handleWindowsResize: [{
1830
- type: HostListener,
1831
- args: ['window:resize', ['$event']]
1819
+ }], __hostClass: [{
1820
+ type: HostBinding,
1821
+ args: ['class']
1832
1822
  }] } });
1833
1823
 
1834
1824
  class AXDrawerContainerComponent extends AXBaseComponentMixin {
1835
- constructor(elementRef, cdr, zone) {
1825
+ constructor(elementRef, cdr, _zone) {
1836
1826
  super(elementRef, cdr);
1837
- this.zone = zone;
1838
- }
1839
- onViewInit() {
1840
- this._updateWidth();
1841
- // add animation
1842
- // setTimeout(() => {
1843
- // this._getHostElement().querySelectorAll('ax-drawer').forEach(c => {
1844
- // c.classList.add('ax-animated');
1845
- // });
1846
- // }, 100);
1847
- this.drawers.forEach(c => {
1848
- c.onChanged.subscribe(c => {
1849
- this._updateWidth();
1850
- });
1851
- });
1827
+ this._zone = _zone;
1852
1828
  }
1853
- _updateWidth() {
1854
- this.zone.runOutsideAngular(() => {
1855
- const container = this._getHostElement().closest('ax-drawer-container');
1856
- const parentWidth = this._getHostElement().getBoundingClientRect().width;
1857
- let w = 0;
1858
- this._getHostElement().querySelectorAll('ax-drawer').forEach(c => {
1859
- const elm = c;
1860
- const width = elm.getBoundingClientRect().width;
1861
- const height = elm.getBoundingClientRect().height;
1862
- const overflow = parentWidth < width;
1863
- const diff = width - parentWidth;
1864
- w += ['ax-expanded', 'ax-drawer-push'].every(c => elm.classList.contains(c)) ? width : 0;
1865
- elm.style.setProperty('--attr-width', `${width}px`);
1866
- elm.style.setProperty('--attr-height', `${height}px`);
1867
- //TODO check overflow
1868
- elm.style.setProperty('--attr-diff', `${overflow ? diff : 0}px`);
1869
- });
1870
- container.style.setProperty('--attr-content-width', `${parentWidth - w}px`);
1871
- });
1829
+ ngDoCheck() {
1830
+ const host = this._getHostElement();
1831
+ Array.from(host.querySelectorAll('ax-drawer'))
1832
+ .map(c => c['__axContext__'])
1833
+ .some(c => !(c === null || c === void 0 ? void 0 : c.collapsed)) ? host.classList.add('ax-visible') : host.classList.remove('ax-visible');
1872
1834
  }
1873
1835
  }
1874
1836
  AXDrawerContainerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXDrawerContainerComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
1875
- AXDrawerContainerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: AXDrawerContainerComponent, selector: "ax-drawer-container", inputs: { rtl: "rtl" }, host: { classAttribute: "ax-drawer-container" }, queries: [{ propertyName: "drawers", predicate: AXDrawerComponent }], usesInheritance: true, ngImport: i0, template: `
1876
- <ng-content select="ax-drawer[location='top']">
1877
- </ng-content>
1878
- <ng-content select="ax-drawer[location='start']">
1837
+ AXDrawerContainerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: AXDrawerContainerComponent, selector: "ax-drawer-container", usesInheritance: true, ngImport: i0, template: `
1838
+ <ng-content select="ax-drawer[location='start']" >
1879
1839
  </ng-content>
1880
- <ng-content select="ax-drawer-content">
1840
+ <ng-content select="ax-content">
1881
1841
  </ng-content>
1882
1842
  <ng-content select="ax-drawer[location='end']">
1883
1843
  </ng-content>
1884
- <ng-content select="ax-drawer[location='bottom']">
1885
- </ng-content>
1844
+
1886
1845
  `, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
1887
1846
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXDrawerContainerComponent, decorators: [{
1888
1847
  type: Component,
1889
1848
  args: [{
1890
1849
  selector: 'ax-drawer-container',
1891
1850
  template: `
1892
- <ng-content select="ax-drawer[location='top']">
1893
- </ng-content>
1894
- <ng-content select="ax-drawer[location='start']">
1851
+ <ng-content select="ax-drawer[location='start']" >
1895
1852
  </ng-content>
1896
- <ng-content select="ax-drawer-content">
1853
+ <ng-content select="ax-content">
1897
1854
  </ng-content>
1898
1855
  <ng-content select="ax-drawer[location='end']">
1899
1856
  </ng-content>
1900
- <ng-content select="ax-drawer[location='bottom']">
1901
- </ng-content>
1857
+
1902
1858
  `,
1903
- inputs: ['rtl'],
1904
1859
  changeDetection: ChangeDetectionStrategy.OnPush,
1905
1860
  encapsulation: ViewEncapsulation.None,
1906
- host: { class: 'ax-drawer-container' }
1907
1861
  }]
1908
- }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: i0.NgZone }]; }, propDecorators: { drawers: [{
1909
- type: ContentChildren,
1910
- args: [AXDrawerComponent]
1911
- }] } });
1862
+ }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: i0.NgZone }]; } });
1912
1863
 
1913
- class AXDrawerContentComponent extends AXBaseComponentMixin {
1914
- constructor(elementRef, cdr) {
1915
- super(elementRef, cdr);
1916
- }
1917
- }
1918
- AXDrawerContentComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXDrawerContentComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
1919
- AXDrawerContentComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: AXDrawerContentComponent, selector: "ax-drawer-content", host: { classAttribute: "ax-drawer-content" }, usesInheritance: true, ngImport: i0, template: `
1920
- <ng-content>
1921
- </ng-content>
1922
- `, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
1923
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXDrawerContentComponent, decorators: [{
1924
- type: Component,
1925
- args: [{
1926
- selector: 'ax-drawer-content',
1927
- template: `
1928
- <ng-content>
1929
- </ng-content>
1930
- `,
1931
- changeDetection: ChangeDetectionStrategy.OnPush,
1932
- encapsulation: ViewEncapsulation.None,
1933
- host: { class: 'ax-drawer-content' }
1934
- }]
1935
- }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; } });
1936
-
1937
- const COMPONENT$o = [AXDrawerComponent, AXDrawerContainerComponent, AXDrawerContentComponent];
1864
+ const COMPONENT$o = [AXDrawerComponent, AXDrawerContainerComponent];
1938
1865
  const MODULES$o = [CommonModule];
1939
1866
  class AXDrawerModule {
1940
1867
  }
1941
1868
  AXDrawerModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXDrawerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
1942
- AXDrawerModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXDrawerModule, declarations: [AXDrawerComponent, AXDrawerContainerComponent, AXDrawerContentComponent], imports: [CommonModule], exports: [AXDrawerComponent, AXDrawerContainerComponent, AXDrawerContentComponent] });
1869
+ AXDrawerModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXDrawerModule, declarations: [AXDrawerComponent, AXDrawerContainerComponent], imports: [CommonModule], exports: [AXDrawerComponent, AXDrawerContainerComponent] });
1943
1870
  AXDrawerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXDrawerModule, providers: [], imports: [[...MODULES$o]] });
1944
1871
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXDrawerModule, decorators: [{
1945
1872
  type: NgModule,
@@ -2192,16 +2119,14 @@ class AXDecoratorHeaderComponent extends AXBaseComponentMixin {
2192
2119
  }
2193
2120
  AXDecoratorHeaderComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXDecoratorHeaderComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
2194
2121
  AXDecoratorHeaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: AXDecoratorHeaderComponent, selector: "ax-header", usesInheritance: true, ngImport: i0, template: `
2195
- <ng-content>
2196
- </ng-content>
2122
+ <ng-content select="ax-suffix,ax-prefix,ax-button,ax-icon,ax-title,ax-close-button,ng-container,ng-content"></ng-content>
2197
2123
  `, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
2198
2124
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXDecoratorHeaderComponent, decorators: [{
2199
2125
  type: Component,
2200
2126
  args: [{
2201
2127
  selector: 'ax-header',
2202
2128
  template: `
2203
- <ng-content>
2204
- </ng-content>
2129
+ <ng-content select="ax-suffix,ax-prefix,ax-button,ax-icon,ax-title,ax-close-button,ng-container,ng-content"></ng-content>
2205
2130
  `,
2206
2131
  changeDetection: ChangeDetectionStrategy.OnPush,
2207
2132
  encapsulation: ViewEncapsulation.None,
@@ -2215,7 +2140,7 @@ class AXDecoratorPrefixComponent extends AXBaseComponentMixin {
2215
2140
  }
2216
2141
  AXDecoratorPrefixComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXDecoratorPrefixComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
2217
2142
  AXDecoratorPrefixComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: AXDecoratorPrefixComponent, selector: "ax-prefix", usesInheritance: true, ngImport: i0, template: `
2218
- <ng-content select="ax-button,ax-loading,ax-icon,ax-content,ax-badge,ax-addon">
2143
+ <ng-content select="ax-button,ax-loading,ax-icon,ax-content,ax-badge,ax-addon,ax-title,ng-container">
2219
2144
  </ng-content>
2220
2145
  `, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
2221
2146
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXDecoratorPrefixComponent, decorators: [{
@@ -2223,7 +2148,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
2223
2148
  args: [{
2224
2149
  selector: 'ax-prefix',
2225
2150
  template: `
2226
- <ng-content select="ax-button,ax-loading,ax-icon,ax-content,ax-badge,ax-addon">
2151
+ <ng-content select="ax-button,ax-loading,ax-icon,ax-content,ax-badge,ax-addon,ax-title,ng-container">
2227
2152
  </ng-content>
2228
2153
  `,
2229
2154
  changeDetection: ChangeDetectionStrategy.OnPush,
@@ -2238,7 +2163,7 @@ class AXDecoratorSuffixComponent extends AXBaseComponentMixin {
2238
2163
  }
2239
2164
  AXDecoratorSuffixComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXDecoratorSuffixComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
2240
2165
  AXDecoratorSuffixComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: AXDecoratorSuffixComponent, selector: "ax-suffix", usesInheritance: true, ngImport: i0, template: `
2241
- <ng-content select="ax-button,ax-loading,ax-icon,ax-content,ax-badge,ax-addon">
2166
+ <ng-content select="ax-button,ax-loading,ax-icon,ax-content,ax-badge,ax-addon,ax-title,ax-alert-button,ng-container">
2242
2167
  </ng-content>
2243
2168
  `, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
2244
2169
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXDecoratorSuffixComponent, decorators: [{
@@ -2246,7 +2171,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
2246
2171
  args: [{
2247
2172
  selector: 'ax-suffix',
2248
2173
  template: `
2249
- <ng-content select="ax-button,ax-loading,ax-icon,ax-content,ax-badge,ax-addon">
2174
+ <ng-content select="ax-button,ax-loading,ax-icon,ax-content,ax-badge,ax-addon,ax-title,ax-alert-button,ng-container">
2250
2175
  </ng-content>
2251
2176
  `,
2252
2177
  changeDetection: ChangeDetectionStrategy.OnPush,
@@ -2254,24 +2179,28 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
2254
2179
  }]
2255
2180
  }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; } });
2256
2181
 
2257
- const COMPONENT$n = [AXDecoratorPrefixComponent, AXDecoratorSuffixComponent, AXDecoratorContentComponent, AXDecoratorHeaderComponent, AXDecoratorAddOnComponent];
2258
- const MODULES$n = [CommonModule];
2259
- class AXEditorDecoratorModule {
2182
+ class AXDecoratorFooterComponent extends AXBaseComponentMixin {
2183
+ constructor(elementRef, cdr) {
2184
+ super(elementRef, cdr);
2185
+ }
2260
2186
  }
2261
- AXEditorDecoratorModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXEditorDecoratorModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
2262
- AXEditorDecoratorModulemod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXEditorDecoratorModule, declarations: [AXDecoratorPrefixComponent, AXDecoratorSuffixComponent, AXDecoratorContentComponent, AXDecoratorHeaderComponent, AXDecoratorAddOnComponent], imports: [CommonModule], exports: [AXDecoratorPrefixComponent, AXDecoratorSuffixComponent, AXDecoratorContentComponent, AXDecoratorHeaderComponent, AXDecoratorAddOnComponent] });
2263
- AXEditorDecoratorModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXEditorDecoratorModule, providers: [], imports: [[...MODULES$n]] });
2264
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXEditorDecoratorModule, decorators: [{
2265
- type: NgModule,
2187
+ AXDecoratorFooterComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXDecoratorFooterComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
2188
+ AXDecoratorFooterComponentcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: AXDecoratorFooterComponent, selector: "ax-footer", usesInheritance: true, ngImport: i0, template: `
2189
+ <ng-content select="ax-suffix,ax-prefix,ax-button,ax-title,ax-close-button,ng-container"></ng-content>
2190
+ `, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
2191
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXDecoratorFooterComponent, decorators: [{
2192
+ type: Component,
2266
2193
  args: [{
2267
- declarations: [...COMPONENT$n],
2268
- imports: [...MODULES$n],
2269
- exports: [...COMPONENT$n],
2270
- providers: [],
2194
+ selector: 'ax-footer',
2195
+ template: `
2196
+ <ng-content select="ax-suffix,ax-prefix,ax-button,ax-title,ax-close-button,ng-container"></ng-content>
2197
+ `,
2198
+ changeDetection: ChangeDetectionStrategy.OnPush,
2199
+ encapsulation: ViewEncapsulation.None,
2271
2200
  }]
2272
- }] });
2201
+ }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; } });
2273
2202
 
2274
- class AXIconComponent extends AXSizableComponentMixin {
2203
+ class AXDecoratorIconComponent extends AXSizableComponentMixin {
2275
2204
  constructor(elementRef, cdr) {
2276
2205
  super(elementRef, cdr);
2277
2206
  }
@@ -2279,9 +2208,9 @@ class AXIconComponent extends AXSizableComponentMixin {
2279
2208
  return `ax-ic ${this.icon}`;
2280
2209
  }
2281
2210
  }
2282
- AXIconComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXIconComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
2283
- AXIconComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: AXIconComponent, selector: "ax-icon", inputs: { icon: "icon" }, host: { properties: { "class": "this.__iconClass" } }, usesInheritance: true, ngImport: i0, template: '<ng-content select="i,svg,img"></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
2284
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXIconComponent, decorators: [{
2211
+ AXDecoratorIconComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXDecoratorIconComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
2212
+ AXDecoratorIconComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: AXDecoratorIconComponent, selector: "ax-icon", inputs: { icon: "icon" }, host: { properties: { "class": "this.__iconClass" } }, usesInheritance: true, ngImport: i0, template: '<ng-content select="i,svg,img"></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
2213
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXDecoratorIconComponent, decorators: [{
2285
2214
  type: Component,
2286
2215
  args: [{
2287
2216
  selector: 'ax-icon',
@@ -2296,44 +2225,128 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
2296
2225
  args: ['class']
2297
2226
  }] } });
2298
2227
 
2299
- const COMPONENT$m = [AXIconComponent];
2300
- const MODULES$m = [CommonModule];
2301
- class AXIconModule {
2228
+ class AXDecoratorTitleComponent extends AXBaseComponentMixin {
2229
+ constructor(_elementRef, _cdr) {
2230
+ super(_elementRef, _cdr);
2231
+ this.text = null;
2232
+ }
2233
+ }
2234
+ AXDecoratorTitleComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXDecoratorTitleComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
2235
+ AXDecoratorTitleComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: AXDecoratorTitleComponent, selector: "ax-title", inputs: { text: "text" }, usesInheritance: true, ngImport: i0, template: ` <h4 *ngIf="text">{{text}}</h4><ng-container><ng-content *ngIf="!text"></ng-content></ng-container>`, isInline: true, directives: [{ type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
2236
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXDecoratorTitleComponent, decorators: [{
2237
+ type: Component,
2238
+ args: [{
2239
+ selector: 'ax-title',
2240
+ template: ` <h4 *ngIf="text">{{text}}</h4><ng-container><ng-content *ngIf="!text"></ng-content></ng-container>`,
2241
+ changeDetection: ChangeDetectionStrategy.OnPush,
2242
+ encapsulation: ViewEncapsulation.None
2243
+ }]
2244
+ }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { text: [{
2245
+ type: Input
2246
+ }] } });
2247
+
2248
+ class AXDecoratorCloseButtonComponent extends AXBaseComponentMixin {
2249
+ constructor(_elementRef, _cdr, _parent) {
2250
+ super(_elementRef, _cdr);
2251
+ this._parent = _parent;
2252
+ this._icon = 'ax-ic-close';
2253
+ }
2254
+ get icon() {
2255
+ return this._icon || 'ax-ic-close';
2256
+ }
2257
+ set icon(v) {
2258
+ this._icon = v;
2259
+ }
2260
+ _handleOnClick(e) {
2261
+ var _a;
2262
+ (_a = this._parent) === null || _a === void 0 ? void 0 : _a.close();
2263
+ }
2302
2264
  }
2303
- AXIconModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXIconModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
2304
- AXIconModulemod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXIconModule, declarations: [AXIconComponent], imports: [CommonModule], exports: [AXIconComponent] });
2305
- AXIconModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXIconModule, providers: [], imports: [[...MODULES$m]] });
2306
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXIconModule, decorators: [{
2265
+ AXDecoratorCloseButtonComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXDecoratorCloseButtonComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: AXClosbaleComponent, optional: true }], target: i0.ɵɵFactoryTarget.Component });
2266
+ AXDecoratorCloseButtonComponentcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: AXDecoratorCloseButtonComponent, selector: "ax-close-button", inputs: { icon: "icon" }, usesInheritance: true, ngImport: i0, template: `<ax-icon [icon]="icon" (click)="_handleOnClick($event)" tabindex="1"></ax-icon>`, isInline: true, components: [{ type: AXDecoratorIconComponent, selector: "ax-icon", inputs: ["icon"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
2267
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXDecoratorCloseButtonComponent, decorators: [{
2268
+ type: Component,
2269
+ args: [{
2270
+ selector: 'ax-close-button',
2271
+ template: `<ax-icon [icon]="icon" (click)="_handleOnClick($event)" tabindex="1"></ax-icon>`,
2272
+ changeDetection: ChangeDetectionStrategy.OnPush,
2273
+ encapsulation: ViewEncapsulation.None
2274
+ }]
2275
+ }], ctorParameters: function () {
2276
+ return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: AXClosbaleComponent, decorators: [{
2277
+ type: Optional
2278
+ }, {
2279
+ type: Inject,
2280
+ args: [AXClosbaleComponent]
2281
+ }] }];
2282
+ }, propDecorators: { icon: [{
2283
+ type: Input
2284
+ }] } });
2285
+
2286
+ const COMPONENT$n = [
2287
+ AXDecoratorPrefixComponent,
2288
+ AXDecoratorSuffixComponent,
2289
+ AXDecoratorContentComponent,
2290
+ AXDecoratorHeaderComponent,
2291
+ AXDecoratorFooterComponent,
2292
+ AXDecoratorAddOnComponent,
2293
+ AXDecoratorIconComponent,
2294
+ AXDecoratorTitleComponent,
2295
+ AXDecoratorCloseButtonComponent
2296
+ ];
2297
+ const MODULES$n = [CommonModule];
2298
+ class AXDecoratorModule {
2299
+ }
2300
+ AXDecoratorModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXDecoratorModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
2301
+ AXDecoratorModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXDecoratorModule, declarations: [AXDecoratorPrefixComponent,
2302
+ AXDecoratorSuffixComponent,
2303
+ AXDecoratorContentComponent,
2304
+ AXDecoratorHeaderComponent,
2305
+ AXDecoratorFooterComponent,
2306
+ AXDecoratorAddOnComponent,
2307
+ AXDecoratorIconComponent,
2308
+ AXDecoratorTitleComponent,
2309
+ AXDecoratorCloseButtonComponent], imports: [CommonModule], exports: [AXDecoratorPrefixComponent,
2310
+ AXDecoratorSuffixComponent,
2311
+ AXDecoratorContentComponent,
2312
+ AXDecoratorHeaderComponent,
2313
+ AXDecoratorFooterComponent,
2314
+ AXDecoratorAddOnComponent,
2315
+ AXDecoratorIconComponent,
2316
+ AXDecoratorTitleComponent,
2317
+ AXDecoratorCloseButtonComponent] });
2318
+ AXDecoratorModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXDecoratorModule, providers: [], imports: [[...MODULES$n]] });
2319
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXDecoratorModule, decorators: [{
2307
2320
  type: NgModule,
2308
2321
  args: [{
2309
- declarations: [...COMPONENT$m],
2310
- imports: [...MODULES$m],
2311
- exports: [...COMPONENT$m],
2322
+ declarations: [...COMPONENT$n],
2323
+ imports: [...MODULES$n],
2324
+ exports: [...COMPONENT$n],
2312
2325
  providers: [],
2313
2326
  }]
2314
2327
  }] });
2315
2328
 
2316
- const COMPONENT$l = [
2329
+ const COMPONENT$m = [
2317
2330
  AXButtonComponent,
2318
2331
  AXButtonItemComponent,
2319
2332
  AXButtonGroupComponent,
2320
2333
  ];
2321
- const MODULES$l = [CommonModule, AXIconModule, AXEditorDecoratorModule];
2334
+ const MODULES$m = [CommonModule, AXDecoratorModule];
2322
2335
  class AXButtonModule {
2323
2336
  }
2324
2337
  AXButtonModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXButtonModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
2325
2338
  AXButtonModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXButtonModule, declarations: [AXButtonComponent,
2326
2339
  AXButtonItemComponent,
2327
- AXButtonGroupComponent], imports: [CommonModule, AXIconModule, AXEditorDecoratorModule], exports: [AXButtonComponent,
2340
+ AXButtonGroupComponent], imports: [CommonModule, AXDecoratorModule], exports: [AXButtonComponent,
2328
2341
  AXButtonItemComponent,
2329
2342
  AXButtonGroupComponent] });
2330
- AXButtonModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXButtonModule, providers: [], imports: [[MODULES$l]] });
2343
+ AXButtonModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXButtonModule, providers: [], imports: [[MODULES$m]] });
2331
2344
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXButtonModule, decorators: [{
2332
2345
  type: NgModule,
2333
2346
  args: [{
2334
- imports: [MODULES$l],
2335
- exports: [COMPONENT$l],
2336
- declarations: [COMPONENT$l],
2347
+ imports: [MODULES$m],
2348
+ exports: [COMPONENT$m],
2349
+ declarations: [COMPONENT$m],
2337
2350
  providers: [],
2338
2351
  }]
2339
2352
  }] });
@@ -2366,25 +2379,32 @@ class AXAlertComponent extends AXBaseAlertMixin {
2366
2379
  */
2367
2380
  constructor(elementRef, cdr) {
2368
2381
  super(elementRef, cdr);
2369
- this.showIcon = true;
2370
2382
  _AXAlertComponent_visible.set(this, void 0);
2371
2383
  }
2372
2384
  _onOptionChanged(option) {
2373
2385
  if (option.name == 'color') {
2374
- switch (this.color) {
2375
- case 'success':
2376
- this.icon = 'ax-ic ax-ic-check-filled';
2377
- break;
2378
- case 'warning':
2379
- this.icon = 'ax-ic-warning-filled';
2380
- break;
2381
- case 'danger':
2382
- this.icon = 'ax-ic-error-filled';
2383
- break;
2384
- default:
2385
- this.icon = 'ax-ic ax-ic-info-filled';
2386
- break;
2387
- }
2386
+ this._setIcon();
2387
+ }
2388
+ }
2389
+ ngDoCheck() {
2390
+ this._setIcon();
2391
+ }
2392
+ _setIcon() {
2393
+ if (!this._icon || this._icon.icon)
2394
+ return;
2395
+ switch (this.color) {
2396
+ case 'success':
2397
+ this._icon.icon = 'ax-ic ax-ic-check-filled';
2398
+ break;
2399
+ case 'warning':
2400
+ this._icon.icon = 'ax-ic-warning-filled';
2401
+ break;
2402
+ case 'danger':
2403
+ this._icon.icon = 'ax-ic-error-filled';
2404
+ break;
2405
+ default:
2406
+ this._icon.icon = 'ax-ic ax-ic-info-filled';
2407
+ break;
2388
2408
  }
2389
2409
  }
2390
2410
  /**
@@ -2426,6 +2446,9 @@ class AXAlertComponent extends AXBaseAlertMixin {
2426
2446
  if (this.visible == undefined) {
2427
2447
  this.visible = true;
2428
2448
  }
2449
+ if (this._getHostElement().querySelector('ax-header')) {
2450
+ this._getHostElement().querySelector('.ax-alert-body').classList.add('ax-bg-black/10');
2451
+ }
2429
2452
  }
2430
2453
  /**
2431
2454
  * Remove the alert from the container
@@ -2453,14 +2476,13 @@ class AXAlertComponent extends AXBaseAlertMixin {
2453
2476
  }
2454
2477
  _AXAlertComponent_visible = new WeakMap();
2455
2478
  AXAlertComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXAlertComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
2456
- AXAlertComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: AXAlertComponent, selector: "ax-alert", inputs: { color: "color", look: "look", icon: "icon", showIcon: "showIcon", timeOut: "timeOut", visible: "visible" }, host: { properties: { "class": "this.__hostClass" } }, usesInheritance: true, ngImport: i0, template: "<div class=\"ax-alert-icon\" *ngIf=\"icon && showIcon\">\r\n <i class=\"{{icon}} fa-lg\"></i>\r\n</div>\r\n<div class=\"ax-alert-body\">\r\n <ng-content select=\"ax-alert-title\">\r\n </ng-content>\r\n <ng-content select=\"ax-alert-content\">\r\n </ng-content>\r\n <ng-content select=\"ax-alert-footer\">\r\n </ng-content>\r\n</div>\r\n<ng-content select=\"ax-alert-suffix\">\r\n</ng-content>", directives: [{ type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
2479
+ AXAlertComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: AXAlertComponent, selector: "ax-alert", inputs: { color: "color", look: "look", timeOut: "timeOut", visible: "visible" }, host: { properties: { "class": "this.__hostClass" } }, queries: [{ propertyName: "_icon", first: true, predicate: AXDecoratorIconComponent, descendants: true }], usesInheritance: true, ngImport: i0, template: "<ng-content select=\"ax-header\">\r\n</ng-content>\r\n<div class=\"ax-alert-body\">\r\n <div class=\"ax-flex ax-items-center ax-justify-between\">\r\n <div class=\"ax-flex\">\r\n <ng-content select=\"ax-icon\">\r\n </ng-content>\r\n <div class=\"ax-flex ax-flex-col ax-justify-center\">\r\n <ng-content select=\"ax-content\">\r\n </ng-content>\r\n <ng-content select=\"ax-footer\">\r\n </ng-content>\r\n </div>\r\n </div>\r\n <ng-content select=\"ax-suffix\">\r\n </ng-content>\r\n </div>\r\n</div>\r\n\r\n<div class=\"ax-alert-progress\" [style.animation-duration.ms]=\"timeOut\" *ngIf=\"timeOut\">\r\n</div>", directives: [{ type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
2457
2480
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXAlertComponent, decorators: [{
2458
2481
  type: Component,
2459
- args: [{ selector: 'ax-alert', changeDetection: ChangeDetectionStrategy.OnPush, inputs: [...COLOR_LOOK_INPUTS], encapsulation: ViewEncapsulation.None, template: "<div class=\"ax-alert-icon\" *ngIf=\"icon && showIcon\">\r\n <i class=\"{{icon}} fa-lg\"></i>\r\n</div>\r\n<div class=\"ax-alert-body\">\r\n <ng-content select=\"ax-alert-title\">\r\n </ng-content>\r\n <ng-content select=\"ax-alert-content\">\r\n </ng-content>\r\n <ng-content select=\"ax-alert-footer\">\r\n </ng-content>\r\n</div>\r\n<ng-content select=\"ax-alert-suffix\">\r\n</ng-content>" }]
2460
- }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { icon: [{
2461
- type: Input
2462
- }], showIcon: [{
2463
- type: Input
2482
+ args: [{ selector: 'ax-alert', changeDetection: ChangeDetectionStrategy.OnPush, inputs: [...COLOR_LOOK_INPUTS], encapsulation: ViewEncapsulation.None, template: "<ng-content select=\"ax-header\">\r\n</ng-content>\r\n<div class=\"ax-alert-body\">\r\n <div class=\"ax-flex ax-items-center ax-justify-between\">\r\n <div class=\"ax-flex\">\r\n <ng-content select=\"ax-icon\">\r\n </ng-content>\r\n <div class=\"ax-flex ax-flex-col ax-justify-center\">\r\n <ng-content select=\"ax-content\">\r\n </ng-content>\r\n <ng-content select=\"ax-footer\">\r\n </ng-content>\r\n </div>\r\n </div>\r\n <ng-content select=\"ax-suffix\">\r\n </ng-content>\r\n </div>\r\n</div>\r\n\r\n<div class=\"ax-alert-progress\" [style.animation-duration.ms]=\"timeOut\" *ngIf=\"timeOut\">\r\n</div>" }]
2483
+ }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { _icon: [{
2484
+ type: ContentChild,
2485
+ args: [AXDecoratorIconComponent]
2464
2486
  }], __hostClass: [{
2465
2487
  type: HostBinding,
2466
2488
  args: ['class']
@@ -2470,27 +2492,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
2470
2492
  type: Input
2471
2493
  }] } });
2472
2494
 
2473
- class AXAlertTitleComponent {
2474
- }
2475
- AXAlertTitleComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXAlertTitleComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
2476
- AXAlertTitleComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: AXAlertTitleComponent, selector: "ax-alert-title", host: { classAttribute: "ax-alert-title" }, ngImport: i0, template: `
2477
- <ng-content>
2478
- </ng-content>
2479
- `, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
2480
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXAlertTitleComponent, decorators: [{
2481
- type: Component,
2482
- args: [{
2483
- selector: 'ax-alert-title',
2484
- template: `
2485
- <ng-content>
2486
- </ng-content>
2487
- `,
2488
- changeDetection: ChangeDetectionStrategy.OnPush,
2489
- encapsulation: ViewEncapsulation.None,
2490
- host: { class: 'ax-alert-title' }
2491
- }]
2492
- }] });
2493
-
2494
2495
  class AXAlertButtonComponent extends AXBaseClickableMixin {
2495
2496
  constructor(elementRef, cdr) {
2496
2497
  super(elementRef, cdr);
@@ -2506,7 +2507,7 @@ class AXAlertButtonComponent extends AXBaseClickableMixin {
2506
2507
  }
2507
2508
  }
2508
2509
  AXAlertButtonComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXAlertButtonComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
2509
- AXAlertButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: AXAlertButtonComponent, selector: "ax-alert-button", inputs: { text: "text", icon: "icon" }, outputs: { onBlur: "onBlur", onFocus: "onFocus", onClick: "onClick", selectedChange: "selectedChange", toggleableChange: "toggleableChange" }, host: { listeners: { "click": "_handleOnClick($event)", "focus": "_handleOnFocus($event)", "blur": "_handleOnBlur($event)" }, classAttribute: "ax-alert-button" }, usesInheritance: true, ngImport: i0, template: `
2510
+ AXAlertButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: AXAlertButtonComponent, selector: "ax-alert-button", inputs: { text: "text", icon: "icon" }, outputs: { onBlur: "onBlur", onFocus: "onFocus", onClick: "onClick", selectedChange: "selectedChange", toggleableChange: "toggleableChange" }, host: { listeners: { "click": "_handleOnClick($event)", "focus": "_handleOnFocus($event)", "blur": "_handleOnBlur($event)" } }, usesInheritance: true, ngImport: i0, template: `
2510
2511
  {{text}}
2511
2512
  <ng-content select="ax-icon"></ng-content>
2512
2513
  `, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
@@ -2521,7 +2522,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
2521
2522
  changeDetection: ChangeDetectionStrategy.OnPush,
2522
2523
  encapsulation: ViewEncapsulation.None,
2523
2524
  outputs: [...BUTTON_OUTPUT],
2524
- host: { class: 'ax-alert-button' }
2525
2525
  }]
2526
2526
  }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { text: [{
2527
2527
  type: Input
@@ -2538,105 +2538,24 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
2538
2538
  args: ['blur', ['$event']]
2539
2539
  }] } });
2540
2540
 
2541
- class AXAlertContentComponent {
2542
- }
2543
- AXAlertContentComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXAlertContentComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
2544
- AXAlertContentComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: AXAlertContentComponent, selector: "ax-alert-content", host: { classAttribute: "ax-alert-content" }, ngImport: i0, template: `<ng-content>
2545
- </ng-content>
2546
- `, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
2547
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXAlertContentComponent, decorators: [{
2548
- type: Component,
2549
- args: [{
2550
- selector: 'ax-alert-content',
2551
- template: `<ng-content>
2552
- </ng-content>
2553
- `,
2554
- changeDetection: ChangeDetectionStrategy.OnPush,
2555
- encapsulation: ViewEncapsulation.None,
2556
- host: { class: 'ax-alert-content' }
2557
- }]
2558
- }] });
2559
-
2560
- class AXAlertSuffixComponent {
2561
- }
2562
- AXAlertSuffixComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXAlertSuffixComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
2563
- AXAlertSuffixComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: AXAlertSuffixComponent, selector: "ax-alert-suffix", host: { classAttribute: "ax-alert-suffix" }, ngImport: i0, template: `
2564
- <div class="ax-alert-buttons">
2565
- <ng-content select="ax-alert-button">
2566
- </ng-content>
2567
- </div>
2568
- `, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
2569
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXAlertSuffixComponent, decorators: [{
2570
- type: Component,
2571
- args: [{
2572
- selector: 'ax-alert-suffix',
2573
- template: `
2574
- <div class="ax-alert-buttons">
2575
- <ng-content select="ax-alert-button">
2576
- </ng-content>
2577
- </div>
2578
- `,
2579
- changeDetection: ChangeDetectionStrategy.OnPush,
2580
- encapsulation: ViewEncapsulation.None,
2581
- host: { class: 'ax-alert-suffix' }
2582
- }]
2583
- }] });
2584
-
2585
- class AXAlertFooterComponent {
2586
- }
2587
- AXAlertFooterComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXAlertFooterComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
2588
- AXAlertFooterComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: AXAlertFooterComponent, selector: "ax-alert-footer", host: { classAttribute: "ax-alert-footer" }, ngImport: i0, template: `
2589
- <div class="ax-alert-buttons">
2590
- <ng-content select="ax-alert-button">
2591
- </ng-content>
2592
- </div>
2593
- `, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
2594
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXAlertFooterComponent, decorators: [{
2595
- type: Component,
2596
- args: [{
2597
- selector: 'ax-alert-footer',
2598
- template: `
2599
- <div class="ax-alert-buttons">
2600
- <ng-content select="ax-alert-button">
2601
- </ng-content>
2602
- </div>
2603
- `,
2604
- changeDetection: ChangeDetectionStrategy.OnPush,
2605
- encapsulation: ViewEncapsulation.None,
2606
- host: { class: 'ax-alert-footer' }
2607
- }]
2608
- }] });
2609
-
2610
- const COMPONENT$k = [
2541
+ const COMPONENT$l = [
2611
2542
  AXAlertComponent,
2612
- AXAlertContentComponent,
2613
- AXAlertTitleComponent,
2614
- AXAlertButtonComponent,
2615
- AXAlertFooterComponent,
2616
- AXAlertSuffixComponent
2543
+ AXAlertButtonComponent
2617
2544
  ];
2618
- const MODULES$k = [CommonModule, AXIconModule];
2545
+ const MODULES$l = [CommonModule, AXDecoratorModule];
2619
2546
  class AXAlertModule {
2620
2547
  }
2621
2548
  AXAlertModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXAlertModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
2622
2549
  AXAlertModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXAlertModule, declarations: [AXAlertComponent,
2623
- AXAlertContentComponent,
2624
- AXAlertTitleComponent,
2625
- AXAlertButtonComponent,
2626
- AXAlertFooterComponent,
2627
- AXAlertSuffixComponent], imports: [CommonModule, AXIconModule], exports: [AXAlertComponent,
2628
- AXAlertContentComponent,
2629
- AXAlertTitleComponent,
2630
- AXAlertButtonComponent,
2631
- AXAlertFooterComponent,
2632
- AXAlertSuffixComponent] });
2633
- AXAlertModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXAlertModule, providers: [], imports: [[...MODULES$k]] });
2550
+ AXAlertButtonComponent], imports: [CommonModule, AXDecoratorModule], exports: [AXAlertComponent,
2551
+ AXAlertButtonComponent] });
2552
+ AXAlertModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXAlertModule, providers: [], imports: [[...MODULES$l]] });
2634
2553
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXAlertModule, decorators: [{
2635
2554
  type: NgModule,
2636
2555
  args: [{
2637
- declarations: [...COMPONENT$k],
2638
- imports: [...MODULES$k],
2639
- exports: [...COMPONENT$k],
2556
+ declarations: [...COMPONENT$l],
2557
+ imports: [...MODULES$l],
2558
+ exports: [...COMPONENT$l],
2640
2559
  providers: [],
2641
2560
  }]
2642
2561
  }] });
@@ -2693,19 +2612,19 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
2693
2612
  args: ['class']
2694
2613
  }] } });
2695
2614
 
2696
- const COMPONENT$j = [AXAvatarComponent, AXAvatarGroup];
2697
- const MODULES$j = [CommonModule];
2615
+ const COMPONENT$k = [AXAvatarComponent, AXAvatarGroup];
2616
+ const MODULES$k = [CommonModule];
2698
2617
  class AXAvatarModule {
2699
2618
  }
2700
2619
  AXAvatarModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXAvatarModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
2701
2620
  AXAvatarModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXAvatarModule, declarations: [AXAvatarComponent, AXAvatarGroup], imports: [CommonModule], exports: [AXAvatarComponent, AXAvatarGroup] });
2702
- AXAvatarModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXAvatarModule, providers: [], imports: [[...MODULES$j]] });
2621
+ AXAvatarModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXAvatarModule, providers: [], imports: [[...MODULES$k]] });
2703
2622
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXAvatarModule, decorators: [{
2704
2623
  type: NgModule,
2705
2624
  args: [{
2706
- declarations: [...COMPONENT$j],
2707
- imports: [...MODULES$j],
2708
- exports: [...COMPONENT$j],
2625
+ declarations: [...COMPONENT$k],
2626
+ imports: [...MODULES$k],
2627
+ exports: [...COMPONENT$k],
2709
2628
  providers: [],
2710
2629
  }]
2711
2630
  }] });
@@ -2734,19 +2653,19 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
2734
2653
  args: ['class']
2735
2654
  }] } });
2736
2655
 
2737
- const COMPONENT$i = [AXBadgeComponent];
2738
- const MODULES$i = [CommonModule];
2656
+ const COMPONENT$j = [AXBadgeComponent];
2657
+ const MODULES$j = [CommonModule];
2739
2658
  class AXBadgeModule {
2740
2659
  }
2741
2660
  AXBadgeModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXBadgeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
2742
2661
  AXBadgeModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXBadgeModule, declarations: [AXBadgeComponent], imports: [CommonModule], exports: [AXBadgeComponent] });
2743
- AXBadgeModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXBadgeModule, providers: [], imports: [[...MODULES$i]] });
2662
+ AXBadgeModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXBadgeModule, providers: [], imports: [[...MODULES$j]] });
2744
2663
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXBadgeModule, decorators: [{
2745
2664
  type: NgModule,
2746
2665
  args: [{
2747
- declarations: [...COMPONENT$i],
2748
- imports: [...MODULES$i],
2749
- exports: [...COMPONENT$i],
2666
+ declarations: [...COMPONENT$j],
2667
+ imports: [...MODULES$j],
2668
+ exports: [...COMPONENT$j],
2750
2669
  providers: [],
2751
2670
  }]
2752
2671
  }] });
@@ -2920,17 +2839,299 @@ const CALENDAR_INPUTS = [
2920
2839
  ];
2921
2840
  const CALENDAR_OUTPUTS = ['depthChange', 'typeChange', 'disabledDatesChange', 'holidayDatesChange', 'onNavigate'];
2922
2841
 
2842
+ class AXPickerComponent extends AXBaseValueComponentMixin {
2843
+ constructor(elementRef, cdr) {
2844
+ super(elementRef, cdr);
2845
+ this.cdr = cdr;
2846
+ this.items = [];
2847
+ this.OnChange = new EventEmitter();
2848
+ this.touchOrMouse = {
2849
+ isTouchable: 'ontouchstart' in window,
2850
+ isMouseDown: false
2851
+ };
2852
+ this.draggingInfo = {
2853
+ isDragging: false,
2854
+ groupIndex: null,
2855
+ startPageY: null
2856
+ };
2857
+ this.itemPerDegree = 23;
2858
+ this.safeDoTimeoutId = null;
2859
+ }
2860
+ ngOnInit() {
2861
+ this.currentIndexList = this.getInitialCurrentIndexList();
2862
+ this.lastCurrentIndexList = [].concat(this.currentIndexList);
2863
+ this.groupsRectList = new Array(this.items.length);
2864
+ this.eventsRegister();
2865
+ window.addEventListener('resize', this.safeGetRectsBindEvents.bind(this));
2866
+ }
2867
+ ngAfterViewInit() {
2868
+ this.getGroupsRectList();
2869
+ }
2870
+ ngOnDestroy() {
2871
+ window.removeEventListener('resize', this.safeGetRectsBindEvents.bind(this));
2872
+ }
2873
+ setGroupData(gIndex, groupData) {
2874
+ if (!this.currentIndexList) {
2875
+ this.currentIndexList = this.getInitialCurrentIndexList();
2876
+ }
2877
+ this.items[gIndex] = groupData;
2878
+ const iCI = groupData.currentIndex;
2879
+ let movedIndex = 0;
2880
+ if (typeof iCI === 'number' && iCI >= 0 && groupData.list && groupData.list.length && iCI <= groupData.list.length - 1) {
2881
+ movedIndex = Math.round(iCI);
2882
+ }
2883
+ this.currentIndexList[gIndex] = movedIndex;
2884
+ this.lastCurrentIndexList = [].concat(this.currentIndexList);
2885
+ }
2886
+ getInitialCurrentIndexList() {
2887
+ return this.items.map((item, index) => {
2888
+ const iCI = item.currentIndex;
2889
+ if (typeof iCI === 'number' && iCI >= 0 && item.list && item.list.length && iCI <= item.list.length - 1) {
2890
+ return Math.round(iCI);
2891
+ }
2892
+ return 0;
2893
+ });
2894
+ }
2895
+ safeGetRectsBindEvents() {
2896
+ if (this.safeDoTimeoutId) {
2897
+ clearTimeout(this.safeDoTimeoutId);
2898
+ }
2899
+ this.safeDoTimeoutId = setTimeout(() => {
2900
+ this.getGroupsRectList();
2901
+ }, 200);
2902
+ }
2903
+ getGroupsRectList() {
2904
+ if (this.pickerGroupLayer) {
2905
+ this.pickerGroupLayer.toArray().forEach((item, index) => {
2906
+ this.groupsRectList[index] = item.nativeElement.getBoundingClientRect();
2907
+ });
2908
+ }
2909
+ }
2910
+ eventsRegister() {
2911
+ const handleEventLayer = this.pickerHandleLayer.nativeElement;
2912
+ if (handleEventLayer) {
2913
+ this.addEventsForElement(handleEventLayer);
2914
+ }
2915
+ }
2916
+ addEventsForElement(el) {
2917
+ const _ = this.touchOrMouse.isTouchable;
2918
+ const eventHandlerList = [
2919
+ { name: _ ? 'touchstart' : 'mousedown', handler: this.handleStart },
2920
+ { name: _ ? 'touchmove' : 'mousemove', handler: this.handleMove },
2921
+ { name: _ ? 'touchend' : 'mouseup', handler: this.handleEnd },
2922
+ { name: _ ? 'touchcancel' : 'mouseleave', handler: this.handleCancel }
2923
+ ];
2924
+ eventHandlerList.forEach((item, index) => {
2925
+ el.removeEventListener(item.name, item.handler, false);
2926
+ el.addEventListener(item.name, item.handler.bind(this), false);
2927
+ });
2928
+ }
2929
+ triggerMiddleLayerGroupClick(gIndex) {
2930
+ const data = this.items;
2931
+ if (typeof gIndex === 'number' && typeof data[gIndex].onClick === 'function') {
2932
+ data[gIndex].onClick(gIndex, this.currentIndexList[gIndex]);
2933
+ }
2934
+ }
2935
+ triggerAboveLayerClick(ev, gIndex) {
2936
+ const movedIndex = this.currentIndexList[gIndex] + 1;
2937
+ this.currentIndexList[gIndex] = movedIndex;
2938
+ this.correctionCurrentIndex(ev, gIndex);
2939
+ }
2940
+ triggerMiddleLayerClick(ev, gIndex) {
2941
+ this.triggerMiddleLayerGroupClick(gIndex);
2942
+ }
2943
+ triggerBelowLayerClick(ev, gIndex) {
2944
+ const movedIndex = this.currentIndexList[gIndex] - 1;
2945
+ this.currentIndexList[gIndex] = movedIndex;
2946
+ this.correctionCurrentIndex(ev, gIndex);
2947
+ }
2948
+ getTouchInfo(ev) {
2949
+ return this.touchOrMouse.isTouchable ? ev.changedTouches[0] || ev.touches[0] : ev;
2950
+ }
2951
+ getGroupIndexBelongsEvent(ev) {
2952
+ const touchInfo = this.getTouchInfo(ev);
2953
+ for (let i = 0; i < this.groupsRectList.length; i++) {
2954
+ const item = this.groupsRectList[i];
2955
+ if (item.left < touchInfo.pageX && touchInfo.pageX < item.right) {
2956
+ return i;
2957
+ }
2958
+ }
2959
+ return null;
2960
+ }
2961
+ handleEventClick(ev) {
2962
+ const gIndex = this.getGroupIndexBelongsEvent(ev);
2963
+ switch (ev.target.dataset.type) {
2964
+ case 'top':
2965
+ this.triggerAboveLayerClick(ev, gIndex);
2966
+ break;
2967
+ case 'middle':
2968
+ this.triggerMiddleLayerClick(ev, gIndex);
2969
+ break;
2970
+ case 'bottom':
2971
+ this.triggerBelowLayerClick(ev, gIndex);
2972
+ break;
2973
+ default:
2974
+ }
2975
+ }
2976
+ handleStart(ev) {
2977
+ if (ev.cancelable) {
2978
+ ev.preventDefault();
2979
+ ev.stopPropagation();
2980
+ }
2981
+ const touchInfo = this.getTouchInfo(ev);
2982
+ this.draggingInfo.startPageY = touchInfo.pageY;
2983
+ if (!this.touchOrMouse.isTouchable) {
2984
+ this.touchOrMouse.isMouseDown = true;
2985
+ }
2986
+ }
2987
+ handleMove(ev) {
2988
+ ev.preventDefault();
2989
+ ev.stopPropagation();
2990
+ if (this.touchOrMouse.isTouchable || this.touchOrMouse.isMouseDown) {
2991
+ this.draggingInfo.isDragging = true;
2992
+ this.setCurrentIndexOnMove(ev);
2993
+ }
2994
+ }
2995
+ handleEnd(ev) {
2996
+ ev.preventDefault();
2997
+ ev.stopPropagation();
2998
+ if (!this.draggingInfo.isDragging) {
2999
+ this.handleEventClick(ev);
3000
+ }
3001
+ this.draggingInfo.isDragging = false;
3002
+ this.touchOrMouse.isMouseDown = false;
3003
+ this.correctionAfterDragging(ev);
3004
+ }
3005
+ handleCancel(ev) {
3006
+ ev.preventDefault();
3007
+ ev.stopPropagation();
3008
+ if (this.touchOrMouse.isTouchable || this.touchOrMouse.isMouseDown) {
3009
+ this.correctionAfterDragging(ev);
3010
+ this.touchOrMouse.isMouseDown = false;
3011
+ this.draggingInfo.isDragging = false;
3012
+ }
3013
+ }
3014
+ setCurrentIndexOnMove(ev) {
3015
+ const touchInfo = this.getTouchInfo(ev);
3016
+ if (this.draggingInfo.groupIndex === null) {
3017
+ this.draggingInfo.groupIndex = this.getGroupIndexBelongsEvent(ev);
3018
+ }
3019
+ const gIndex = this.draggingInfo.groupIndex;
3020
+ if (typeof gIndex === 'number' && (this.items[gIndex].divider || !this.items[gIndex].list)) {
3021
+ return;
3022
+ }
3023
+ const moveCount = (this.draggingInfo.startPageY - touchInfo.pageY) / 32;
3024
+ const movedIndex = this.currentIndexList[gIndex] + moveCount;
3025
+ this.currentIndexList[gIndex] = movedIndex;
3026
+ this.draggingInfo.startPageY = touchInfo.pageY;
3027
+ }
3028
+ correctionAfterDragging(ev) {
3029
+ const gIndex = this.draggingInfo.groupIndex;
3030
+ this.correctionCurrentIndex(ev, gIndex);
3031
+ this.draggingInfo.groupIndex = null;
3032
+ this.draggingInfo.startPageY = null;
3033
+ }
3034
+ correctionCurrentIndex(ev, gIndex) {
3035
+ setTimeout(() => {
3036
+ if (typeof gIndex === 'number' && this.items[gIndex].divider !== true && this.items[gIndex].list.length > 0) {
3037
+ const unsafeGroupIndex = this.currentIndexList[gIndex];
3038
+ let movedIndex = unsafeGroupIndex;
3039
+ if (unsafeGroupIndex > this.items[gIndex].list.length - 1) {
3040
+ movedIndex = this.items[gIndex].list.length - 1;
3041
+ }
3042
+ else if (unsafeGroupIndex < 0) {
3043
+ movedIndex = 0;
3044
+ }
3045
+ movedIndex = Math.round(movedIndex);
3046
+ this.currentIndexList[gIndex] = movedIndex;
3047
+ if (movedIndex !== this.lastCurrentIndexList[gIndex]) {
3048
+ this.OnChange.emit({ gIndex, iIndex: movedIndex });
3049
+ }
3050
+ this.lastCurrentIndexList = [].concat(this.currentIndexList);
3051
+ }
3052
+ }, 100);
3053
+ }
3054
+ isCurrentItem(gIndex, iIndex) {
3055
+ return this.currentIndexList[gIndex] === iIndex;
3056
+ }
3057
+ getCurrentIndexList() {
3058
+ return this.currentIndexList;
3059
+ }
3060
+ getGroupClass(gIndex) {
3061
+ const group = this.items[gIndex];
3062
+ const defaultWeightClass = 'weight-' + (group.weight || 1);
3063
+ const groupClass = [defaultWeightClass];
3064
+ if (group.className) {
3065
+ groupClass.push(group.className);
3066
+ }
3067
+ return groupClass;
3068
+ }
3069
+ getItemClass(gIndex, iIndex, isDivider = false) {
3070
+ const group = this.items[gIndex];
3071
+ const itemClass = [];
3072
+ if (!isDivider && this.isCurrentItem(gIndex, iIndex)) {
3073
+ itemClass.push('smooth-item-selected');
3074
+ }
3075
+ if (group.textAlign) {
3076
+ itemClass.push('text-' + group.textAlign);
3077
+ }
3078
+ return itemClass;
3079
+ }
3080
+ getItemStyle(gIndex, iIndex) {
3081
+ const gapCount = this.currentIndexList[gIndex] - iIndex;
3082
+ if (Math.abs(gapCount) < (90 / this.itemPerDegree)) {
3083
+ const rotateStyle = {
3084
+ transform: 'rotateX(' + gapCount * this.itemPerDegree + 'deg) translate3d(0, 0, 5.625em)',
3085
+ opacity: (1 - Math.abs(gapCount) / (90 / this.itemPerDegree)).toString()
3086
+ };
3087
+ if (!this.draggingInfo.isDragging) {
3088
+ rotateStyle['transition'] = 'transform 150ms ease-out';
3089
+ }
3090
+ return rotateStyle;
3091
+ }
3092
+ if (gapCount > 0) {
3093
+ return { transform: 'rotateX(90deg) translate3d(0, 0, 5.625em)' };
3094
+ }
3095
+ else {
3096
+ return { transform: 'rotateX(-90deg) translate3d(0, 0, 5.625em)' };
3097
+ }
3098
+ }
3099
+ }
3100
+ AXPickerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXPickerComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
3101
+ AXPickerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: AXPickerComponent, selector: "ax-picker", inputs: { readonly: "readonly", allowNull: "allowNull", value: "value", debounceTime: "debounceTime", name: "name", checked: "checked", items: "items" }, outputs: { valueChange: "valueChange", onValueChanged: "onValueChanged", OnChange: "OnChange" }, host: { classAttribute: "ax-picker" }, queries: [{ propertyName: "itemTemplate", first: true, predicate: TemplateRef, descendants: true }], viewQueries: [{ propertyName: "pickerHandleLayer", first: true, predicate: ["pickerHandleLayer"], descendants: true, static: true }, { propertyName: "pickerGroupLayer", predicate: ["pickerGroupLayer"], descendants: true }], usesInheritance: true, ngImport: i0, template: "<!-- <ax-carousel [width]=\"width\" [height]=\"height\" [fixedWidth]=\"width\" [fixedHeight]=\"itemHeight\" [centered]=\"true\" [vertical]=\"true\" [loop]=\"false\" [wheel]=\"true\" (onSlideChanged)=\"_handleMoveChange($event)\">\r\n <ax-carousel-item class=\"ax-picker-item\" *ngFor=\"let item of items\">\r\n <ng-container [ngTemplateOutlet]=\"itemTemplate\"\r\n [ngTemplateOutletContext]=\"{ $implicit: item }\"></ng-container>\r\n </ax-carousel-item>\r\n</ax-carousel> -->\r\n<div class=\"ng-data-picker flex-box\">\r\n\r\n <!-- picker-group-layer -->\r\n <div #pickerGroupLayer *ngFor=\"let group of items; let gI = index\" class=\"picker-group\" [ngClass]=\"getGroupClass(gI)\">\r\n\r\n <div class=\"picker-list\">\r\n <div *ngIf=\"group.divider else ngIfElse\" class=\"picker-item divider\" [ngClass]=\"getItemClass(gI, i, true)\">\r\n {{ group.text }}\r\n </div>\r\n\r\n <div #ngIfElse *ngFor=\"let item of group.list; let i = index\" class=\"picker-item\" [ngClass]=\"getItemClass(gI, i)\"\r\n [ngStyle]=\"getItemStyle(gI, i)\">\r\n {{ item.value || item }}\r\n </div>\r\n </div>\r\n\r\n </div>\r\n\r\n <div #pickerHandleLayer class=\"picker-handle-layer flex-box dir-column\">\r\n <div data-type=\"top\" class=\"picker-top weight-1\"></div>\r\n <div data-type=\"middle\" class=\"picker-middle\"></div>\r\n <div data-type=\"bottom\" class=\"picker-bottom weight-1\"></div>\r\n </div>\r\n\r\n</div>", directives: [{ type: i1$1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i1$1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1$1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }] });
3102
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXPickerComponent, decorators: [{
3103
+ type: Component,
3104
+ args: [{ selector: 'ax-picker', host: { class: 'ax-picker' }, inputs: [...VALUE_INPUTS], outputs: [...VALUE_OUTPUT], template: "<!-- <ax-carousel [width]=\"width\" [height]=\"height\" [fixedWidth]=\"width\" [fixedHeight]=\"itemHeight\" [centered]=\"true\" [vertical]=\"true\" [loop]=\"false\" [wheel]=\"true\" (onSlideChanged)=\"_handleMoveChange($event)\">\r\n <ax-carousel-item class=\"ax-picker-item\" *ngFor=\"let item of items\">\r\n <ng-container [ngTemplateOutlet]=\"itemTemplate\"\r\n [ngTemplateOutletContext]=\"{ $implicit: item }\"></ng-container>\r\n </ax-carousel-item>\r\n</ax-carousel> -->\r\n<div class=\"ng-data-picker flex-box\">\r\n\r\n <!-- picker-group-layer -->\r\n <div #pickerGroupLayer *ngFor=\"let group of items; let gI = index\" class=\"picker-group\" [ngClass]=\"getGroupClass(gI)\">\r\n\r\n <div class=\"picker-list\">\r\n <div *ngIf=\"group.divider else ngIfElse\" class=\"picker-item divider\" [ngClass]=\"getItemClass(gI, i, true)\">\r\n {{ group.text }}\r\n </div>\r\n\r\n <div #ngIfElse *ngFor=\"let item of group.list; let i = index\" class=\"picker-item\" [ngClass]=\"getItemClass(gI, i)\"\r\n [ngStyle]=\"getItemStyle(gI, i)\">\r\n {{ item.value || item }}\r\n </div>\r\n </div>\r\n\r\n </div>\r\n\r\n <div #pickerHandleLayer class=\"picker-handle-layer flex-box dir-column\">\r\n <div data-type=\"top\" class=\"picker-top weight-1\"></div>\r\n <div data-type=\"middle\" class=\"picker-middle\"></div>\r\n <div data-type=\"bottom\" class=\"picker-bottom weight-1\"></div>\r\n </div>\r\n\r\n</div>" }]
3105
+ }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { pickerGroupLayer: [{
3106
+ type: ViewChildren,
3107
+ args: ['pickerGroupLayer']
3108
+ }], pickerHandleLayer: [{
3109
+ type: ViewChild,
3110
+ args: ['pickerHandleLayer', { static: true }]
3111
+ }], itemTemplate: [{
3112
+ type: ContentChild,
3113
+ args: [TemplateRef]
3114
+ }], items: [{
3115
+ type: Input
3116
+ }], OnChange: [{
3117
+ type: Output
3118
+ }] } });
3119
+
2923
3120
  const AXCalendarComponentMixin = _ClickableComponenetMixin(_InteractiveComponenetMixin(_ValueComponenetMixin(AXCalendarBaseComponent)));
2924
3121
  class AXCalendarComponent extends AXCalendarComponentMixin {
2925
3122
  constructor(elementRef, cdr) {
2926
3123
  super(elementRef, cdr);
2927
3124
  this.cdr = cdr;
3125
+ this.interface = 'calendar';
2928
3126
  this._today = new AXDateTime(new Date(), this.type);
2929
3127
  this._navText = '';
2930
3128
  this._todayText = '';
2931
3129
  this._slots = [];
2932
3130
  this._dayNames = [];
2933
3131
  this._isUserInteraction = false;
3132
+ this._pickerDays = [];
3133
+ this._pickerMonths = [];
3134
+ this._pickerYears = [];
2934
3135
  }
2935
3136
  get _viewRange() {
2936
3137
  const current = this._viewStartDate || this._today;
@@ -3143,7 +3344,12 @@ class AXCalendarComponent extends AXCalendarComponentMixin {
3143
3344
  end: (_b = vr.endTime) === null || _b === void 0 ? void 0 : _b.date,
3144
3345
  htmlElement: this._getHostElement()
3145
3346
  });
3146
- this._genearteSlots();
3347
+ if (this.interface == 'calendar')
3348
+ this._genearteSlots();
3349
+ else {
3350
+ this._generatePickerItems('year');
3351
+ this._generatePickerItems('month');
3352
+ }
3147
3353
  setTimeout(() => {
3148
3354
  this.focus();
3149
3355
  }, 50);
@@ -3178,13 +3384,55 @@ class AXCalendarComponent extends AXCalendarComponentMixin {
3178
3384
  isWeekend(date) {
3179
3385
  return date.dayOfWeek == 7 || date.dayOfWeek == 1;
3180
3386
  }
3387
+ _generatePickerItems(view) {
3388
+ debugger;
3389
+ switch (view) {
3390
+ case 'year':
3391
+ this._pickerYears = _.range(2000, 2050, 1);
3392
+ break;
3393
+ case 'month':
3394
+ this._pickerMonths = new AXDateTimeRange(this._viewRange.startTime.startOf('year'), this._viewRange.startTime.endOf('year'))
3395
+ .enumurate('month')
3396
+ .map(c => ({
3397
+ text: c.format('MMM'),
3398
+ value: c.monthOfYear
3399
+ }));
3400
+ break;
3401
+ default:
3402
+ this._pickerDays = new AXDateTimeRange(this._viewRange.startTime.startOf('month'), this._viewRange.startTime.endOf('month'))
3403
+ .enumurate('day')
3404
+ .map(c => c.dayOfMonth);
3405
+ this.cdr.detectChanges();
3406
+ break;
3407
+ }
3408
+ }
3409
+ _handlePickerChange(item, view) {
3410
+ debugger;
3411
+ if (!item)
3412
+ return;
3413
+ const date = this._viewRange.startTime;
3414
+ switch (view) {
3415
+ case 'year':
3416
+ this._setDate(date.set('year', item.value).date);
3417
+ break;
3418
+ case 'month':
3419
+ this._setDate(date.set('month', item.value.value).date);
3420
+ this._generatePickerItems('day');
3421
+ break;
3422
+ default:
3423
+ this._setDate(date.set('day', item.value).date);
3424
+ break;
3425
+ }
3426
+ }
3181
3427
  }
3182
3428
  AXCalendarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXCalendarComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
3183
- AXCalendarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: AXCalendarComponent, selector: "ax-calendar", inputs: { readonly: "readonly", allowNull: "allowNull", value: "value", debounceTime: "debounceTime", name: "name", checked: "checked", disabled: "disabled", tabIndex: "tabIndex", depth: "depth", activeView: "activeView", min: "min", max: "max", disabledDates: "disabledDates", type: "type", holidayDates: "holidayDates" }, outputs: { valueChange: "valueChange", onValueChanged: "onValueChanged", onBlur: "onBlur", onFocus: "onFocus", depthChange: "depthChange", typeChange: "typeChange", disabledDatesChange: "disabledDatesChange", holidayDatesChange: "holidayDatesChange", onNavigate: "onNavigate" }, host: { properties: { "class": "this.__hostClass" } }, usesInheritance: true, ngImport: i0, template: "<div class=\"ax-calendar-header\">\r\n <div>\r\n <ng-container *ngIf=\"activeView=='days'; else elseTemplate\">\r\n <ax-button class=\"ax-nav-button\" [text]=\"_navText.split(' ')[1]\" color=\"light\" look=\"blank\"\r\n (onClick)=\"_handleNavClick($event)\" [disabled]=\"disabled\">\r\n </ax-button>\r\n <ax-button class=\"ax-nav-button\" [text]=\"_navText.split(' ')[0]\" color=\"light\" look=\"blank\"\r\n (onClick)=\"_handleNavClick($event)\" [disabled]=\"disabled\">\r\n </ax-button>\r\n </ng-container>\r\n <ng-template #elseTemplate>\r\n <ax-button class=\"ax-nav-button\" [text]=\"_navText\" color=\"light\" look=\"blank\"\r\n (onClick)=\"_handleNavClick($event)\" [disabled]=\"disabled\">\r\n </ax-button>\r\n </ng-template>\r\n </div>\r\n <div class=\"ax-flex\">\r\n <ax-button class=\"ax-prev-button\" color=\"light\" look=\"blank\" (onClick)=\"_handlePrevClick($event)\"\r\n [disabled]=\"disabled\">\r\n <ax-prefix>\r\n <ax-icon icon=\"ax-ic ax-ic-chevron ax-transform ax--rotate-90\"></ax-icon>\r\n </ax-prefix>\r\n </ax-button>\r\n <ax-button class=\"ax-next-button\" color=\"light\" look=\"blank\" (onClick)=\"_handleNextClick($event)\"\r\n [disabled]=\"disabled\">\r\n <ax-prefix>\r\n <ax-icon icon=\"ax-ic ax-ic-chevron ax-transform ax-rotate-90\"></ax-icon>\r\n \r\n </ax-prefix>\r\n </ax-button>\r\n </div>\r\n\r\n</div>\r\n<div class=\"ax-calendar-body\">\r\n <div [ngSwitch]=\"activeView\">\r\n <ng-container *ngSwitchCase=\"'years'\">\r\n <div class=\"ax-calendar-slots ax-calendar-slots-year\">\r\n <div tabindex=\"0\" *ngFor=\"let slot of _slots\" [ngClass]=\"slot.cssClass\"\r\n (click)=\"_handleSlotClick($event,slot)\">{{slot.text}}</div>\r\n </div>\r\n </ng-container>\r\n <ng-container *ngSwitchCase=\"'months'\">\r\n <div class=\"ax-calendar-slots ax-calendar-slots-month\">\r\n <div tabindex=\"0\" *ngFor=\"let slot of _slots\" [title]=\"slot.tooltip\" [ngClass]=\"slot.cssClass\"\r\n (click)=\"_handleSlotClick($event,slot)\">{{slot.text}}</div>\r\n </div>\r\n </ng-container>\r\n <ng-container *ngSwitchDefault>\r\n <div class=\"ax-calendar-week\">\r\n <div *ngFor=\"let d of _dayNames\">{{d}}</div>\r\n </div>\r\n <div class=\"ax-calendar-slots ax-calendar-slots-day\">\r\n <div tabindex=\"0\" *ngFor=\"let slot of _slots\" [title]=\"slot.tooltip\" [ngClass]=\"slot.cssClass\"\r\n (click)=\"_handleSlotClick($event,slot)\">{{slot.text}}</div>\r\n </div>\r\n </ng-container>\r\n </div>\r\n\r\n</div>\r\n<div class=\"ax-calendar-footer\">\r\n <ax-button class=\"dark:ax-text-danger\" [text]=\"_todayText\" color=\"dark\" look=\"blank\" size=\"sm\"\r\n (onClick)=\"_handleGoToday()\" [disabled]=\"disabled\"></ax-button>\r\n</div>", components: [{ type: AXButtonComponent, selector: "ax-button", inputs: ["disabled", "tabIndex", "size", "color", "look", "text", "submitBehavior", "cancelBehavior", "toggleable", "selected"], outputs: ["onBlur", "onFocus", "onClick", "selectedChange", "toggleableChange"] }, { type: AXDecoratorPrefixComponent, selector: "ax-prefix" }, { type: AXIconComponent, selector: "ax-icon", inputs: ["icon"] }], directives: [{ type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1$1.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { type: i1$1.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { type: i1$1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i1$1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i1$1.NgSwitchDefault, selector: "[ngSwitchDefault]" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
3429
+ AXCalendarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: AXCalendarComponent, selector: "ax-calendar", inputs: { readonly: "readonly", allowNull: "allowNull", value: "value", debounceTime: "debounceTime", name: "name", checked: "checked", disabled: "disabled", tabIndex: "tabIndex", depth: "depth", activeView: "activeView", min: "min", max: "max", disabledDates: "disabledDates", type: "type", holidayDates: "holidayDates", interface: "interface" }, outputs: { valueChange: "valueChange", onValueChanged: "onValueChanged", onBlur: "onBlur", onFocus: "onFocus", depthChange: "depthChange", typeChange: "typeChange", disabledDatesChange: "disabledDatesChange", holidayDatesChange: "holidayDatesChange", onNavigate: "onNavigate" }, host: { properties: { "class": "this.__hostClass" } }, usesInheritance: true, ngImport: i0, template: "<ng-container *ngIf=\"interface === 'calendar'; else pickerTemplate\">\r\n <div class=\"ax-calendar-header\">\r\n <div>\r\n <ng-container *ngIf=\"activeView=='days'; else elseTemplate\">\r\n <ax-button class=\"ax-nav-button\" [text]=\"_navText.split(' ')[1]\" color=\"light\" look=\"blank\"\r\n (onClick)=\"_handleNavClick($event)\" [disabled]=\"disabled\">\r\n </ax-button>\r\n <ax-button class=\"ax-nav-button\" [text]=\"_navText.split(' ')[0]\" color=\"light\" look=\"blank\"\r\n (onClick)=\"_handleNavClick($event)\" [disabled]=\"disabled\">\r\n </ax-button>\r\n </ng-container>\r\n <ng-template #elseTemplate>\r\n <ax-button class=\"ax-nav-button\" [text]=\"_navText\" color=\"light\" look=\"blank\"\r\n (onClick)=\"_handleNavClick($event)\" [disabled]=\"disabled\">\r\n </ax-button>\r\n </ng-template>\r\n </div>\r\n <div class=\"ax-flex\">\r\n <ax-button class=\"ax-prev-button\" color=\"light\" look=\"blank\" (onClick)=\"_handlePrevClick($event)\"\r\n [disabled]=\"disabled\">\r\n <ax-prefix>\r\n <ax-icon icon=\"ax-ic ax-ic-chevron ax-transform ax--rotate-90\"></ax-icon>\r\n </ax-prefix>\r\n </ax-button>\r\n <ax-button class=\"ax-next-button\" color=\"light\" look=\"blank\" (onClick)=\"_handleNextClick($event)\"\r\n [disabled]=\"disabled\">\r\n <ax-prefix>\r\n <ax-icon icon=\"ax-ic ax-ic-chevron ax-transform ax-rotate-90\"></ax-icon>\r\n\r\n </ax-prefix>\r\n </ax-button>\r\n </div>\r\n\r\n </div>\r\n <div class=\"ax-calendar-body\">\r\n <div [ngSwitch]=\"activeView\">\r\n <ng-container *ngSwitchCase=\"'years'\">\r\n <div class=\"ax-calendar-slots ax-calendar-slots-year\">\r\n <div tabindex=\"0\" *ngFor=\"let slot of _slots\" [ngClass]=\"slot.cssClass\"\r\n (click)=\"_handleSlotClick($event,slot)\">{{slot.text}}</div>\r\n </div>\r\n </ng-container>\r\n <ng-container *ngSwitchCase=\"'months'\">\r\n <div class=\"ax-calendar-slots ax-calendar-slots-month\">\r\n <div tabindex=\"0\" *ngFor=\"let slot of _slots\" [title]=\"slot.tooltip\" [ngClass]=\"slot.cssClass\"\r\n (click)=\"_handleSlotClick($event,slot)\">{{slot.text}}</div>\r\n </div>\r\n </ng-container>\r\n <ng-container *ngSwitchDefault>\r\n <div class=\"ax-calendar-week\">\r\n <div *ngFor=\"let d of _dayNames\">{{d}}</div>\r\n </div>\r\n <div class=\"ax-calendar-slots ax-calendar-slots-day\">\r\n <div tabindex=\"0\" *ngFor=\"let slot of _slots\" [title]=\"slot.tooltip\" [ngClass]=\"slot.cssClass\"\r\n (click)=\"_handleSlotClick($event,slot)\">{{slot.text}}</div>\r\n </div>\r\n </ng-container>\r\n </div>\r\n\r\n </div>\r\n <div class=\"ax-calendar-footer\">\r\n <ax-button class=\"dark:ax-text-danger\" [text]=\"_todayText\" color=\"dark\" look=\"blank\" size=\"sm\"\r\n (onClick)=\"_handleGoToday()\" [disabled]=\"disabled\"></ax-button>\r\n </div>\r\n</ng-container>\r\n<ng-template #pickerTemplate>\r\n <div class=\"ax-calendar-picker\">\r\n <ax-picker></ax-picker>\r\n <!-- <ax-picker width=\"100%%\" height=\"300px\" itemHeight=\"48px\" [items]=\"_pickerYears\"\r\n (onValueChanged)=\"_handlePickerChange($event,'year')\">\r\n <ng-template let-item>\r\n {{item}}\r\n </ng-template>\r\n </ax-picker>\r\n <ax-picker width=\"100%\" height=\"300px\" itemHeight=\"48px\" [items]=\"_pickerMonths\"\r\n (onValueChanged)=\"_handlePickerChange($event,'month')\">\r\n <ng-template let-item>\r\n {{item.text}}\r\n </ng-template>\r\n </ax-picker>\r\n <ax-picker width=\"100%\" height=\"300px\" itemHeight=\"48px\" [items]=\"_pickerDays\"\r\n (onValueChanged)=\"_handlePickerChange($event,'day')\">\r\n <ng-template let-item>\r\n {{item}}\r\n </ng-template> \r\n </ax-picker>-->\r\n </div>\r\n</ng-template>", components: [{ type: AXButtonComponent, selector: "ax-button", inputs: ["disabled", "tabIndex", "size", "color", "look", "text", "submitBehavior", "cancelBehavior", "toggleable", "selected"], outputs: ["onBlur", "onFocus", "onClick", "selectedChange", "toggleableChange"] }, { type: AXDecoratorPrefixComponent, selector: "ax-prefix" }, { type: AXDecoratorIconComponent, selector: "ax-icon", inputs: ["icon"] }, { type: AXPickerComponent, selector: "ax-picker", inputs: ["readonly", "allowNull", "value", "debounceTime", "name", "checked", "items"], outputs: ["valueChange", "onValueChanged", "OnChange"] }], directives: [{ type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1$1.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { type: i1$1.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { type: i1$1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i1$1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i1$1.NgSwitchDefault, selector: "[ngSwitchDefault]" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
3184
3430
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXCalendarComponent, decorators: [{
3185
3431
  type: Component,
3186
- args: [{ selector: 'ax-calendar', changeDetection: ChangeDetectionStrategy.OnPush, inputs: [...VALUE_INPUTS, ...INTERACTIVE_INPUTS, ...CALENDAR_INPUTS], outputs: [...VALUE_OUTPUT, ...INTERACTIVE_OUTPUT, ...CALENDAR_OUTPUTS], encapsulation: ViewEncapsulation.None, template: "<div class=\"ax-calendar-header\">\r\n <div>\r\n <ng-container *ngIf=\"activeView=='days'; else elseTemplate\">\r\n <ax-button class=\"ax-nav-button\" [text]=\"_navText.split(' ')[1]\" color=\"light\" look=\"blank\"\r\n (onClick)=\"_handleNavClick($event)\" [disabled]=\"disabled\">\r\n </ax-button>\r\n <ax-button class=\"ax-nav-button\" [text]=\"_navText.split(' ')[0]\" color=\"light\" look=\"blank\"\r\n (onClick)=\"_handleNavClick($event)\" [disabled]=\"disabled\">\r\n </ax-button>\r\n </ng-container>\r\n <ng-template #elseTemplate>\r\n <ax-button class=\"ax-nav-button\" [text]=\"_navText\" color=\"light\" look=\"blank\"\r\n (onClick)=\"_handleNavClick($event)\" [disabled]=\"disabled\">\r\n </ax-button>\r\n </ng-template>\r\n </div>\r\n <div class=\"ax-flex\">\r\n <ax-button class=\"ax-prev-button\" color=\"light\" look=\"blank\" (onClick)=\"_handlePrevClick($event)\"\r\n [disabled]=\"disabled\">\r\n <ax-prefix>\r\n <ax-icon icon=\"ax-ic ax-ic-chevron ax-transform ax--rotate-90\"></ax-icon>\r\n </ax-prefix>\r\n </ax-button>\r\n <ax-button class=\"ax-next-button\" color=\"light\" look=\"blank\" (onClick)=\"_handleNextClick($event)\"\r\n [disabled]=\"disabled\">\r\n <ax-prefix>\r\n <ax-icon icon=\"ax-ic ax-ic-chevron ax-transform ax-rotate-90\"></ax-icon>\r\n \r\n </ax-prefix>\r\n </ax-button>\r\n </div>\r\n\r\n</div>\r\n<div class=\"ax-calendar-body\">\r\n <div [ngSwitch]=\"activeView\">\r\n <ng-container *ngSwitchCase=\"'years'\">\r\n <div class=\"ax-calendar-slots ax-calendar-slots-year\">\r\n <div tabindex=\"0\" *ngFor=\"let slot of _slots\" [ngClass]=\"slot.cssClass\"\r\n (click)=\"_handleSlotClick($event,slot)\">{{slot.text}}</div>\r\n </div>\r\n </ng-container>\r\n <ng-container *ngSwitchCase=\"'months'\">\r\n <div class=\"ax-calendar-slots ax-calendar-slots-month\">\r\n <div tabindex=\"0\" *ngFor=\"let slot of _slots\" [title]=\"slot.tooltip\" [ngClass]=\"slot.cssClass\"\r\n (click)=\"_handleSlotClick($event,slot)\">{{slot.text}}</div>\r\n </div>\r\n </ng-container>\r\n <ng-container *ngSwitchDefault>\r\n <div class=\"ax-calendar-week\">\r\n <div *ngFor=\"let d of _dayNames\">{{d}}</div>\r\n </div>\r\n <div class=\"ax-calendar-slots ax-calendar-slots-day\">\r\n <div tabindex=\"0\" *ngFor=\"let slot of _slots\" [title]=\"slot.tooltip\" [ngClass]=\"slot.cssClass\"\r\n (click)=\"_handleSlotClick($event,slot)\">{{slot.text}}</div>\r\n </div>\r\n </ng-container>\r\n </div>\r\n\r\n</div>\r\n<div class=\"ax-calendar-footer\">\r\n <ax-button class=\"dark:ax-text-danger\" [text]=\"_todayText\" color=\"dark\" look=\"blank\" size=\"sm\"\r\n (onClick)=\"_handleGoToday()\" [disabled]=\"disabled\"></ax-button>\r\n</div>" }]
3187
- }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { __hostClass: [{
3432
+ args: [{ selector: 'ax-calendar', changeDetection: ChangeDetectionStrategy.OnPush, inputs: [...VALUE_INPUTS, ...INTERACTIVE_INPUTS, ...CALENDAR_INPUTS], outputs: [...VALUE_OUTPUT, ...INTERACTIVE_OUTPUT, ...CALENDAR_OUTPUTS], encapsulation: ViewEncapsulation.None, template: "<ng-container *ngIf=\"interface === 'calendar'; else pickerTemplate\">\r\n <div class=\"ax-calendar-header\">\r\n <div>\r\n <ng-container *ngIf=\"activeView=='days'; else elseTemplate\">\r\n <ax-button class=\"ax-nav-button\" [text]=\"_navText.split(' ')[1]\" color=\"light\" look=\"blank\"\r\n (onClick)=\"_handleNavClick($event)\" [disabled]=\"disabled\">\r\n </ax-button>\r\n <ax-button class=\"ax-nav-button\" [text]=\"_navText.split(' ')[0]\" color=\"light\" look=\"blank\"\r\n (onClick)=\"_handleNavClick($event)\" [disabled]=\"disabled\">\r\n </ax-button>\r\n </ng-container>\r\n <ng-template #elseTemplate>\r\n <ax-button class=\"ax-nav-button\" [text]=\"_navText\" color=\"light\" look=\"blank\"\r\n (onClick)=\"_handleNavClick($event)\" [disabled]=\"disabled\">\r\n </ax-button>\r\n </ng-template>\r\n </div>\r\n <div class=\"ax-flex\">\r\n <ax-button class=\"ax-prev-button\" color=\"light\" look=\"blank\" (onClick)=\"_handlePrevClick($event)\"\r\n [disabled]=\"disabled\">\r\n <ax-prefix>\r\n <ax-icon icon=\"ax-ic ax-ic-chevron ax-transform ax--rotate-90\"></ax-icon>\r\n </ax-prefix>\r\n </ax-button>\r\n <ax-button class=\"ax-next-button\" color=\"light\" look=\"blank\" (onClick)=\"_handleNextClick($event)\"\r\n [disabled]=\"disabled\">\r\n <ax-prefix>\r\n <ax-icon icon=\"ax-ic ax-ic-chevron ax-transform ax-rotate-90\"></ax-icon>\r\n\r\n </ax-prefix>\r\n </ax-button>\r\n </div>\r\n\r\n </div>\r\n <div class=\"ax-calendar-body\">\r\n <div [ngSwitch]=\"activeView\">\r\n <ng-container *ngSwitchCase=\"'years'\">\r\n <div class=\"ax-calendar-slots ax-calendar-slots-year\">\r\n <div tabindex=\"0\" *ngFor=\"let slot of _slots\" [ngClass]=\"slot.cssClass\"\r\n (click)=\"_handleSlotClick($event,slot)\">{{slot.text}}</div>\r\n </div>\r\n </ng-container>\r\n <ng-container *ngSwitchCase=\"'months'\">\r\n <div class=\"ax-calendar-slots ax-calendar-slots-month\">\r\n <div tabindex=\"0\" *ngFor=\"let slot of _slots\" [title]=\"slot.tooltip\" [ngClass]=\"slot.cssClass\"\r\n (click)=\"_handleSlotClick($event,slot)\">{{slot.text}}</div>\r\n </div>\r\n </ng-container>\r\n <ng-container *ngSwitchDefault>\r\n <div class=\"ax-calendar-week\">\r\n <div *ngFor=\"let d of _dayNames\">{{d}}</div>\r\n </div>\r\n <div class=\"ax-calendar-slots ax-calendar-slots-day\">\r\n <div tabindex=\"0\" *ngFor=\"let slot of _slots\" [title]=\"slot.tooltip\" [ngClass]=\"slot.cssClass\"\r\n (click)=\"_handleSlotClick($event,slot)\">{{slot.text}}</div>\r\n </div>\r\n </ng-container>\r\n </div>\r\n\r\n </div>\r\n <div class=\"ax-calendar-footer\">\r\n <ax-button class=\"dark:ax-text-danger\" [text]=\"_todayText\" color=\"dark\" look=\"blank\" size=\"sm\"\r\n (onClick)=\"_handleGoToday()\" [disabled]=\"disabled\"></ax-button>\r\n </div>\r\n</ng-container>\r\n<ng-template #pickerTemplate>\r\n <div class=\"ax-calendar-picker\">\r\n <ax-picker></ax-picker>\r\n <!-- <ax-picker width=\"100%%\" height=\"300px\" itemHeight=\"48px\" [items]=\"_pickerYears\"\r\n (onValueChanged)=\"_handlePickerChange($event,'year')\">\r\n <ng-template let-item>\r\n {{item}}\r\n </ng-template>\r\n </ax-picker>\r\n <ax-picker width=\"100%\" height=\"300px\" itemHeight=\"48px\" [items]=\"_pickerMonths\"\r\n (onValueChanged)=\"_handlePickerChange($event,'month')\">\r\n <ng-template let-item>\r\n {{item.text}}\r\n </ng-template>\r\n </ax-picker>\r\n <ax-picker width=\"100%\" height=\"300px\" itemHeight=\"48px\" [items]=\"_pickerDays\"\r\n (onValueChanged)=\"_handlePickerChange($event,'day')\">\r\n <ng-template let-item>\r\n {{item}}\r\n </ng-template> \r\n </ax-picker>-->\r\n </div>\r\n</ng-template>" }]
3433
+ }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { interface: [{
3434
+ type: Input
3435
+ }], __hostClass: [{
3188
3436
  type: HostBinding,
3189
3437
  args: ['class']
3190
3438
  }] } });
@@ -3738,80 +3986,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
3738
3986
  }]
3739
3987
  }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; } });
3740
3988
 
3741
- class AXPickerComponent extends AXBaseComponent {
3742
- /**
3743
- * @ignore
3744
- */
3745
- constructor(elementRef, cdr) {
3746
- super(elementRef, cdr);
3747
- this.items = [];
3748
- this.onItemChanged = new EventEmitter();
3749
- }
3750
- _emitOnSlideChanged(i) {
3751
- this.onItemChanged.emit({
3752
- component: this,
3753
- value: this.items[i],
3754
- });
3755
- }
3756
- handleMoveChange(e) {
3757
- this._emitOnSlideChanged(e.value);
3758
- }
3759
- }
3760
- AXPickerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXPickerComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
3761
- AXPickerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: AXPickerComponent, selector: "ax-picker", inputs: { width: "width", height: "height", itemHeight: "itemHeight", items: "items" }, outputs: { onItemChanged: "onItemChanged" }, host: { classAttribute: "ax-picker" }, queries: [{ propertyName: "itemTemplate", first: true, predicate: TemplateRef, descendants: true }], usesInheritance: true, ngImport: i0, template: "<ax-carousel [width]=\"width\" [height]=\"height\" [fixedWidth]=\"width\" [fixedHeight]=\"itemHeight\" [drag]=\"'free'\" [centered]=\"true\" [vertical]=\"true\" [loop]=\"true\" [wheel]=\"true\" (onSlideChanged)=\"handleMoveChange($event)\">\r\n <ax-carousel-item class=\"ax-picker-item\" *ngFor=\"let item of items\">\r\n <ng-container [ngTemplateOutlet]=\"itemTemplate\"\r\n [ngTemplateOutletContext]=\"{ $implicit: item }\"></ng-container>\r\n </ax-carousel-item>\r\n</ax-carousel>\r\n", components: [{ type: AXCarouselComponent, selector: "ax-carousel", inputs: ["perMove", "focus", "breakpoints", "heightRatio", "height", "fixedHeight", "width", "fixedWidth", "perPage", "gap", "autoplay", "snap", "autoWidth", "drag", "wheel", "interval", "padding", "centered", "vertical", "loop", "rewind"], outputs: ["onOptionsChanged", "onSlideChanged", "perMoveChange", "focusChange", "breakpointsChange", "heightRatioChange", "heightChange", "fixedHeightChange", "widthChange", "fixedWidthChange", "perPageChange", "autoplayChange", "snapChange", "autoWidthChange", "dragChange", "wheelChange", "intervalChange", "paddingChange", "centeredChange", "verticalChange", "loopChange", "rewindChange", "onItemsChanged"] }, { type: AXCarouselItemComponent, selector: "ax-carousel-item" }], directives: [{ type: i1$1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i1$1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }] });
3762
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXPickerComponent, decorators: [{
3763
- type: Component,
3764
- args: [{ selector: 'ax-picker', host: { class: 'ax-picker' }, template: "<ax-carousel [width]=\"width\" [height]=\"height\" [fixedWidth]=\"width\" [fixedHeight]=\"itemHeight\" [drag]=\"'free'\" [centered]=\"true\" [vertical]=\"true\" [loop]=\"true\" [wheel]=\"true\" (onSlideChanged)=\"handleMoveChange($event)\">\r\n <ax-carousel-item class=\"ax-picker-item\" *ngFor=\"let item of items\">\r\n <ng-container [ngTemplateOutlet]=\"itemTemplate\"\r\n [ngTemplateOutletContext]=\"{ $implicit: item }\"></ng-container>\r\n </ax-carousel-item>\r\n</ax-carousel>\r\n" }]
3765
- }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { itemTemplate: [{
3766
- type: ContentChild,
3767
- args: [TemplateRef]
3768
- }], width: [{
3769
- type: Input
3770
- }], height: [{
3771
- type: Input
3772
- }], itemHeight: [{
3773
- type: Input
3774
- }], items: [{
3775
- type: Input
3776
- }], onItemChanged: [{
3777
- type: Output
3778
- }] } });
3779
-
3780
- class AXInlineCalendarComponent extends AXBaseComponent {
3781
- constructor(elementRef, cdr) {
3782
- super(elementRef, cdr);
3783
- this.elementRef = elementRef;
3784
- this.cdr = cdr;
3785
- this._days = [];
3786
- }
3787
- ngOnInit() {
3788
- for (let i = 1; i < 31; i++) {
3789
- this._days.push({ text: i.toString(), id: i });
3790
- }
3791
- }
3792
- handleDayChange(e) {
3793
- console.log(e);
3794
- }
3795
- }
3796
- AXInlineCalendarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXInlineCalendarComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
3797
- AXInlineCalendarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: AXInlineCalendarComponent, selector: "ax-inline-calendar", host: { classAttribute: "ax-inline-calendar" }, usesInheritance: true, ngImport: i0, template: `
3798
- <ax-picker width="100%%" height="300px" itemHeight="48px" [items]="_days" (onItemChanged)="handleDayChange($event)"></ax-picker>
3799
- <ax-picker width="100%" height="300px" itemHeight="48px" [items]="_days" (onItemChanged)="handleDayChange($event)"></ax-picker>
3800
- <ax-picker width="100%%" height="300px" itemHeight="48px" [items]="_days" (onItemChanged)="handleDayChange($event)"></ax-picker>`, isInline: true, styles: [""], components: [{ type: AXPickerComponent, selector: "ax-picker", inputs: ["width", "height", "itemHeight", "items"], outputs: ["onItemChanged"] }], encapsulation: i0.ViewEncapsulation.None });
3801
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXInlineCalendarComponent, decorators: [{
3802
- type: Component,
3803
- args: [{
3804
- selector: 'ax-inline-calendar',
3805
- template: `
3806
- <ax-picker width="100%%" height="300px" itemHeight="48px" [items]="_days" (onItemChanged)="handleDayChange($event)"></ax-picker>
3807
- <ax-picker width="100%" height="300px" itemHeight="48px" [items]="_days" (onItemChanged)="handleDayChange($event)"></ax-picker>
3808
- <ax-picker width="100%%" height="300px" itemHeight="48px" [items]="_days" (onItemChanged)="handleDayChange($event)"></ax-picker>`,
3809
- styles: [``],
3810
- encapsulation: ViewEncapsulation.None,
3811
- host: { class: 'ax-inline-calendar' }
3812
- }]
3813
- }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; } });
3814
-
3815
3989
  class AXCarouselArrowsComponent extends AXBaseComponentMixin {
3816
3990
  constructor(elementRef, cdr, parent) {
3817
3991
  super(elementRef, cdr);
@@ -3831,7 +4005,7 @@ class AXCarouselArrowsComponent extends AXBaseComponentMixin {
3831
4005
  AXCarouselArrowsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXCarouselArrowsComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: AXCarouselComponent, optional: true }], target: i0.ɵɵFactoryTarget.Component });
3832
4006
  AXCarouselArrowsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: AXCarouselArrowsComponent, selector: "ax-carousel-arrows", inputs: { class: "class" }, outputs: { onNextClick: "onNextClick", onPrevClick: "onPrevClick" }, host: { classAttribute: "ax-carousel-arrows" }, usesInheritance: true, ngImport: i0, template: `
3833
4007
  <button class="ax-carousel-arrow-prev" [ngClass]="{'ax-vertical-arrow ax-top-arrow': this.parent.vertical}" (click)="_handlePrevClick($event)">
3834
- <i class="ax-ic ax-ic-chevron rtl:ax-rotate-180 {{class}}"></i>
4008
+ <i class="ax-ic ax-ic-chevron ax-block rtl:ax-rotate-180 {{class}}"></i>
3835
4009
  </button>
3836
4010
  <button class="ax-carousel-arrow-next" [ngClass]="{'ax-vertical-arrow ax-bottom-arrow': this.parent.vertical}" (click)="_handleNextClick($event)">
3837
4011
  <i class="ax-ic ax-ic-chevron ax-block ax-rotate-180 rtl:ax-rotate-0 {{class}}"></i>
@@ -3843,7 +4017,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
3843
4017
  selector: 'ax-carousel-arrows',
3844
4018
  template: `
3845
4019
  <button class="ax-carousel-arrow-prev" [ngClass]="{'ax-vertical-arrow ax-top-arrow': this.parent.vertical}" (click)="_handlePrevClick($event)">
3846
- <i class="ax-ic ax-ic-chevron rtl:ax-rotate-180 {{class}}"></i>
4020
+ <i class="ax-ic ax-ic-chevron ax-block rtl:ax-rotate-180 {{class}}"></i>
3847
4021
  </button>
3848
4022
  <button class="ax-carousel-arrow-next" [ngClass]="{'ax-vertical-arrow ax-bottom-arrow': this.parent.vertical}" (click)="_handleNextClick($event)">
3849
4023
  <i class="ax-ic ax-ic-chevron ax-block ax-rotate-180 rtl:ax-rotate-0 {{class}}"></i>
@@ -3934,19 +4108,19 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
3934
4108
  }]
3935
4109
  }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: AXCarouselComponent }]; } });
3936
4110
 
3937
- const COMPONENT$h = [AXCarouselComponent, AXCarouselItemComponent, AXCarouselArrowsComponent, AXCarouselPagerComponent];
3938
- const MODULES$h = [CommonModule];
4111
+ const COMPONENT$i = [AXCarouselComponent, AXCarouselItemComponent, AXCarouselArrowsComponent, AXCarouselPagerComponent];
4112
+ const MODULES$i = [CommonModule];
3939
4113
  class AXCarouselModule {
3940
4114
  }
3941
4115
  AXCarouselModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXCarouselModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
3942
4116
  AXCarouselModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXCarouselModule, declarations: [AXCarouselComponent, AXCarouselItemComponent, AXCarouselArrowsComponent, AXCarouselPagerComponent], imports: [CommonModule], exports: [AXCarouselComponent, AXCarouselItemComponent, AXCarouselArrowsComponent, AXCarouselPagerComponent] });
3943
- AXCarouselModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXCarouselModule, providers: [], imports: [[...MODULES$h]] });
4117
+ AXCarouselModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXCarouselModule, providers: [], imports: [[...MODULES$i]] });
3944
4118
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXCarouselModule, decorators: [{
3945
4119
  type: NgModule,
3946
4120
  args: [{
3947
- declarations: [...COMPONENT$h],
3948
- imports: [...MODULES$h],
3949
- exports: [...COMPONENT$h],
4121
+ declarations: [...COMPONENT$i],
4122
+ imports: [...MODULES$i],
4123
+ exports: [...COMPONENT$i],
3950
4124
  providers: [],
3951
4125
  }]
3952
4126
  }] });
@@ -3966,19 +4140,19 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
3966
4140
  }]
3967
4141
  }] });
3968
4142
 
3969
- const COMPONENT$g = [AXCalendarComponent, AXInlineCalendarComponent];
3970
- const MODULES$g = [CommonModule, AXButtonModule, AXIconModule, AXEditorDecoratorModule, AXDateTimeModule, AXPickerModule];
4143
+ const COMPONENT$h = [AXCalendarComponent];
4144
+ const MODULES$h = [CommonModule, AXButtonModule, AXDecoratorModule, AXDateTimeModule, AXPickerModule];
3971
4145
  class AXCalendarModule {
3972
4146
  }
3973
4147
  AXCalendarModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXCalendarModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
3974
- AXCalendarModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXCalendarModule, declarations: [AXCalendarComponent, AXInlineCalendarComponent], imports: [CommonModule, AXButtonModule, AXIconModule, AXEditorDecoratorModule, AXDateTimeModule, AXPickerModule], exports: [AXCalendarComponent, AXInlineCalendarComponent] });
3975
- AXCalendarModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXCalendarModule, providers: [], imports: [[...MODULES$g]] });
4148
+ AXCalendarModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXCalendarModule, declarations: [AXCalendarComponent], imports: [CommonModule, AXButtonModule, AXDecoratorModule, AXDateTimeModule, AXPickerModule], exports: [AXCalendarComponent] });
4149
+ AXCalendarModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXCalendarModule, providers: [], imports: [[...MODULES$h]] });
3976
4150
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXCalendarModule, decorators: [{
3977
4151
  type: NgModule,
3978
4152
  args: [{
3979
- declarations: [...COMPONENT$g],
3980
- imports: [...MODULES$g],
3981
- exports: [...COMPONENT$g],
4153
+ declarations: [...COMPONENT$h],
4154
+ imports: [...MODULES$h],
4155
+ exports: [...COMPONENT$h],
3982
4156
  providers: [],
3983
4157
  }]
3984
4158
  }] });
@@ -4021,13 +4195,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
4021
4195
  class AXCheckBoxModule {
4022
4196
  }
4023
4197
  AXCheckBoxModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXCheckBoxModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
4024
- AXCheckBoxModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXCheckBoxModule, declarations: [AXCheckBoxComponent], imports: [CommonModule, FormsModule, AXEditorDecoratorModule], exports: [AXCheckBoxComponent] });
4025
- AXCheckBoxModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXCheckBoxModule, providers: [], imports: [[CommonModule, FormsModule, AXEditorDecoratorModule]] });
4198
+ AXCheckBoxModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXCheckBoxModule, declarations: [AXCheckBoxComponent], imports: [CommonModule, FormsModule, AXDecoratorModule], exports: [AXCheckBoxComponent] });
4199
+ AXCheckBoxModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXCheckBoxModule, providers: [], imports: [[CommonModule, FormsModule, AXDecoratorModule]] });
4026
4200
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXCheckBoxModule, decorators: [{
4027
4201
  type: NgModule,
4028
4202
  args: [{
4029
4203
  declarations: [AXCheckBoxComponent],
4030
- imports: [CommonModule, FormsModule, AXEditorDecoratorModule],
4204
+ imports: [CommonModule, FormsModule, AXDecoratorModule],
4031
4205
  exports: [AXCheckBoxComponent],
4032
4206
  providers: [],
4033
4207
  }]
@@ -4353,8 +4527,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
4353
4527
  args: ['axIsLoading']
4354
4528
  }] } });
4355
4529
 
4356
- const COMPONENT$f = [AXLoadingComponent, AXLoadingDirective, AXLoadingSpinnerComponent];
4357
- const MODULES$f = [CommonModule, OverlayModule, PortalModule];
4530
+ const COMPONENT$g = [AXLoadingComponent, AXLoadingDirective, AXLoadingSpinnerComponent];
4531
+ const MODULES$g = [CommonModule, OverlayModule, PortalModule];
4358
4532
  class AXLoadingModule {
4359
4533
  constructor() {
4360
4534
  AXConfig.set({
@@ -4368,13 +4542,13 @@ class AXLoadingModule {
4368
4542
  }
4369
4543
  AXLoadingModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXLoadingModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
4370
4544
  AXLoadingModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXLoadingModule, declarations: [AXLoadingComponent, AXLoadingDirective, AXLoadingSpinnerComponent], imports: [CommonModule, OverlayModule, PortalModule], exports: [AXLoadingComponent, AXLoadingDirective, AXLoadingSpinnerComponent] });
4371
- AXLoadingModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXLoadingModule, providers: [], imports: [[...MODULES$f]] });
4545
+ AXLoadingModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXLoadingModule, providers: [], imports: [[...MODULES$g]] });
4372
4546
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXLoadingModule, decorators: [{
4373
4547
  type: NgModule,
4374
4548
  args: [{
4375
- declarations: [...COMPONENT$f],
4376
- imports: [...MODULES$f],
4377
- exports: [...COMPONENT$f],
4549
+ declarations: [...COMPONENT$g],
4550
+ imports: [...MODULES$g],
4551
+ exports: [...COMPONENT$g],
4378
4552
  providers: [],
4379
4553
  }]
4380
4554
  }], ctorParameters: function () { return []; } });
@@ -4528,19 +4702,19 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
4528
4702
  }]
4529
4703
  }], ctorParameters: function () { return [{ type: i0.NgZone }, { type: AXOverlayService }]; } });
4530
4704
 
4531
- const COMPONENT$e = [AXDataListComponent];
4532
- const MODULES$e = [CommonModule, AXButtonModule, AXLoadingModule, AXTranslationModule];
4705
+ const COMPONENT$f = [AXDataListComponent];
4706
+ const MODULES$f = [CommonModule, AXButtonModule, AXLoadingModule, AXTranslationModule];
4533
4707
  class AXDataListModule {
4534
4708
  }
4535
4709
  AXDataListModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXDataListModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
4536
4710
  AXDataListModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXDataListModule, declarations: [AXDataListComponent], imports: [CommonModule, AXButtonModule, AXLoadingModule, AXTranslationModule], exports: [AXDataListComponent] });
4537
- AXDataListModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXDataListModule, providers: [], imports: [[...MODULES$e]] });
4711
+ AXDataListModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXDataListModule, providers: [], imports: [[...MODULES$f]] });
4538
4712
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXDataListModule, decorators: [{
4539
4713
  type: NgModule,
4540
4714
  args: [{
4541
- declarations: [...COMPONENT$e],
4542
- imports: [...MODULES$e],
4543
- exports: [...COMPONENT$e],
4715
+ declarations: [...COMPONENT$f],
4716
+ imports: [...MODULES$f],
4717
+ exports: [...COMPONENT$f],
4544
4718
  providers: [],
4545
4719
  }]
4546
4720
  }] });
@@ -4575,6 +4749,7 @@ class AXPopoverComponent extends AXInteractiveComponenetMixin {
4575
4749
  this.closeTrigger = 'clickout';
4576
4750
  //
4577
4751
  this.hasBackdrop = false;
4752
+ this.adaptivityEnabled = false;
4578
4753
  //
4579
4754
  this._mousePos = { x: 0, y: 0 };
4580
4755
  this._isScrollAttached = false;
@@ -4690,7 +4865,7 @@ class AXPopoverComponent extends AXInteractiveComponenetMixin {
4690
4865
  if (!targetRef)
4691
4866
  return;
4692
4867
  if (!this._overlayRef) {
4693
- if (this._platform.is('Mobile')) {
4868
+ if (this._platform.is('Mobile') && this.adaptivityEnabled) {
4694
4869
  this._openAsActionsheet();
4695
4870
  }
4696
4871
  else {
@@ -4761,7 +4936,7 @@ class AXPopoverComponent extends AXInteractiveComponenetMixin {
4761
4936
  }
4762
4937
  }
4763
4938
  AXPopoverComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXPopoverComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: i0.NgZone }, { token: i1.Overlay }, { token: i1$4.AXPlatform }, { token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Component });
4764
- AXPopoverComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: AXPopoverComponent, selector: "ax-popover", inputs: { target: "target", position: "position", openTrigger: "openTrigger", closeTrigger: "closeTrigger", hasBackdrop: "hasBackdrop", backdropClass: "backdropClass" }, outputs: { onOpened: "onOpened", onClosed: "onClosed" }, host: { listeners: { "keydown": "_handleKeydownHandler($event)" } }, viewQueries: [{ propertyName: "_baseTemplate", first: true, predicate: ["baseTemplate"], descendants: true }], usesInheritance: true, ngImport: i0, template: "<ng-template #baseTemplate>\r\n <ng-content></ng-content>\r\n</ng-template>", changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
4939
+ AXPopoverComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: AXPopoverComponent, selector: "ax-popover", inputs: { target: "target", position: "position", openTrigger: "openTrigger", closeTrigger: "closeTrigger", hasBackdrop: "hasBackdrop", backdropClass: "backdropClass", adaptivityEnabled: "adaptivityEnabled" }, outputs: { onOpened: "onOpened", onClosed: "onClosed" }, host: { listeners: { "keydown": "_handleKeydownHandler($event)" } }, viewQueries: [{ propertyName: "_baseTemplate", first: true, predicate: ["baseTemplate"], descendants: true }], usesInheritance: true, ngImport: i0, template: "<ng-template #baseTemplate>\r\n <ng-content></ng-content>\r\n</ng-template>", changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
4765
4940
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXPopoverComponent, decorators: [{
4766
4941
  type: Component,
4767
4942
  args: [{ selector: 'ax-popover', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, template: "<ng-template #baseTemplate>\r\n <ng-content></ng-content>\r\n</ng-template>" }]
@@ -4780,6 +4955,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
4780
4955
  type: Input
4781
4956
  }], backdropClass: [{
4782
4957
  type: Input
4958
+ }], adaptivityEnabled: [{
4959
+ type: Input
4783
4960
  }], onOpened: [{
4784
4961
  type: Output
4785
4962
  }], onClosed: [{
@@ -4938,10 +5115,10 @@ class AXDatePickerComponent extends AXBaseDatePickerMixin {
4938
5115
  }
4939
5116
  }
4940
5117
  AXDatePickerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXDatePickerComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: i1$4.AXPlatform }], target: i0.ɵɵFactoryTarget.Component });
4941
- AXDatePickerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: AXDatePickerComponent, selector: "ax-date-picker", inputs: { isOpen: "isOpen", fitParent: "fitParent", dropdownWidth: "dropdownWidth", position: "position", disabled: "disabled", tabIndex: "tabIndex", readonly: "readonly", allowNull: "allowNull", value: "value", debounceTime: "debounceTime", name: "name", checked: "checked", placeholder: "placeholder", maxLength: "maxLength", type: "type", depth: "depth", activeView: "activeView", min: "min", max: "max", disabledDates: "disabledDates", holidayDates: "holidayDates", format: "format", interface: "interface" }, outputs: { onOpened: "onOpened", onClosed: "onClosed", onBlur: "onBlur", onFocus: "onFocus", valueChange: "valueChange", onValueChanged: "onValueChanged", depthChange: "depthChange", typeChange: "typeChange", disabledDatesChange: "disabledDatesChange", holidayDatesChange: "holidayDatesChange", onNavigate: "onNavigate", formatChange: "formatChange" }, host: { classAttribute: "ax-editor-container ax-drop-down" }, viewQueries: [{ propertyName: "popover", first: true, predicate: AXPopoverComponent, descendants: true, static: true }, { propertyName: "_calendar", first: true, predicate: AXCalendarComponent, descendants: true, static: true }], usesInheritance: true, ngImport: i0, template: "<ng-content select=\"ax-prefix\">\r\n</ng-content>\r\n<div class=\"ax-dropdown-content\">\r\n <input class=\"ax-input\" type=\"text\" [attr.placeholder]=\"placeholder\" [class.ax-state-disabled]=\"disabled\"\r\n [class.ax-state-readonly]=\"readonly\" [disabled]=\"disabled\" [readonly]=\"readonly\" [attr.tabindex]=\"_isMobile ? -1 : tabIndex\"\r\n [ngModel]=\"displayText\" (focus)=\"_emitOnFocusEvent($event)\" (mouseup)=\"_handleOnInputClickEvent($event)\"\r\n (blur)=\"_emitOnBlurEvent($event)\" (keydown)=\"_handleOnKeydownEvent($event)\">\r\n</div>\r\n<ax-button [disabled]=\"disabled\" [tabIndex]=\"-1\" color=\"light\" look=\"blank\" (onClick)=\"_handleArrowClickEvent($event)\">\r\n <ax-icon icon=\"ax-ic ax-ic-chevron ax-transform ax--rotate-90\"></ax-icon>\r\n</ax-button>\r\n<ng-content select=\"ax-suffix\">\r\n</ng-content>\r\n<ng-content select=\"ax-validation-rule\">\r\n</ng-content>\r\n<ng-content select=\"ax-calendar-options\">\r\n</ng-content>\r\n<ax-popover [target]=\"_target\" [position]=\"position\" [openTrigger]=\"'manual'\" [closeTrigger]=\"'clickout'\" (onOpened)=\"_handlePopoverOpened($event)\">\r\n <div class=\"ax-overlay-pane\" [class.ax-w-full]=\"_isMobile\">\r\n <div *ngIf=\"_isMobile\" class=\"ax-header\">\r\n <span >{{placeholder || 'Choose a date'}}</span>\r\n <i class=\"ax-ic ax-ic-close \"\r\n (click)=\"close()\" tabindex=\"1\"></i>\r\n </div>\r\n <ng-container *ngIf=\"interface === 'calendar'; then calendarTemplate; else pickerTemplate\"></ng-container>\r\n <ng-template #calendarTemplate>\r\n <ax-calendar #calendar [disabled]=\"disabled\" [readonly]=\"readonly\" \r\n [(value)]=\"value\" \r\n [min]=\"min\" \r\n [max]=\"max\"\r\n [disabledDates]=\"disabledDates\" \r\n [holidayDates]=\"holidayDates\" \r\n [depth]=\"depth\" \r\n (onNavigate)=\"_handleOnNavigate($event)\"\r\n [type]=\"type\">\r\n </ax-calendar>\r\n </ng-template>\r\n <ng-template #pickerTemplate>\r\n </ng-template>\r\n \r\n </div>\r\n</ax-popover>", components: [{ type: AXButtonComponent, selector: "ax-button", inputs: ["disabled", "tabIndex", "size", "color", "look", "text", "submitBehavior", "cancelBehavior", "toggleable", "selected"], outputs: ["onBlur", "onFocus", "onClick", "selectedChange", "toggleableChange"] }, { type: AXIconComponent, selector: "ax-icon", inputs: ["icon"] }, { type: AXPopoverComponent, selector: "ax-popover", inputs: ["target", "position", "openTrigger", "closeTrigger", "hasBackdrop", "backdropClass"], outputs: ["onOpened", "onClosed"] }, { type: AXCalendarComponent, selector: "ax-calendar", inputs: ["readonly", "allowNull", "value", "debounceTime", "name", "checked", "disabled", "tabIndex", "depth", "activeView", "min", "max", "disabledDates", "type", "holidayDates"], outputs: ["valueChange", "onValueChanged", "onBlur", "onFocus", "depthChange", "typeChange", "disabledDatesChange", "holidayDatesChange", "onNavigate"] }], directives: [{ type: i1$2.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { type: i1$2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i1$2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
5118
+ AXDatePickerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: AXDatePickerComponent, selector: "ax-date-picker", inputs: { isOpen: "isOpen", fitParent: "fitParent", dropdownWidth: "dropdownWidth", position: "position", disabled: "disabled", tabIndex: "tabIndex", readonly: "readonly", allowNull: "allowNull", value: "value", debounceTime: "debounceTime", name: "name", checked: "checked", placeholder: "placeholder", maxLength: "maxLength", type: "type", autoComplete: "autoComplete", depth: "depth", activeView: "activeView", min: "min", max: "max", disabledDates: "disabledDates", holidayDates: "holidayDates", format: "format", interface: "interface" }, outputs: { onOpened: "onOpened", onClosed: "onClosed", onBlur: "onBlur", onFocus: "onFocus", valueChange: "valueChange", onValueChanged: "onValueChanged", depthChange: "depthChange", typeChange: "typeChange", disabledDatesChange: "disabledDatesChange", holidayDatesChange: "holidayDatesChange", onNavigate: "onNavigate", formatChange: "formatChange" }, host: { classAttribute: "ax-editor-container ax-drop-down" }, providers: [{ provide: AXClosbaleComponent, useExisting: AXDatePickerComponent }], viewQueries: [{ propertyName: "popover", first: true, predicate: AXPopoverComponent, descendants: true, static: true }, { propertyName: "_calendar", first: true, predicate: AXCalendarComponent, descendants: true, static: true }], usesInheritance: true, ngImport: i0, template: "<ng-content select=\"ax-prefix\">\r\n</ng-content>\r\n<div class=\"ax-dropdown-content\">\r\n <input class=\"ax-input\" type=\"text\" [attr.placeholder]=\"placeholder\" [class.ax-state-disabled]=\"disabled\"\r\n [class.ax-state-readonly]=\"readonly\" [disabled]=\"disabled\" [readonly]=\"readonly\"\r\n [attr.tabindex]=\"_isMobile ? -1 : tabIndex\" [ngModel]=\"displayText\" (focus)=\"_emitOnFocusEvent($event)\"\r\n (mouseup)=\"_handleOnInputClickEvent($event)\" (blur)=\"_emitOnBlurEvent($event)\"\r\n (keydown)=\"_handleOnKeydownEvent($event)\">\r\n</div>\r\n<ax-button [disabled]=\"disabled\" [tabIndex]=\"-1\" color=\"light\" look=\"blank\" (onClick)=\"_handleArrowClickEvent($event)\">\r\n <ax-icon icon=\"ax-ic ax-ic-chevron ax-transform ax--rotate-90\"></ax-icon>\r\n</ax-button>\r\n<ng-content select=\"ax-suffix\">\r\n</ng-content>\r\n<ng-content select=\"ax-validation-rule\">\r\n</ng-content>\r\n<ng-content select=\"ax-calendar-options\">\r\n</ng-content>\r\n<ax-popover [target]=\"_target\" [position]=\"position\" [openTrigger]=\"'manual'\" [closeTrigger]=\"'clickout'\" [adaptivityEnabled]=\"true\"\r\n (onOpened)=\"_handlePopoverOpened($event)\">\r\n <div class=\"ax-overlay-pane\" [class.ax-w-full]=\"_isMobile\">\r\n <ax-header *ngIf=\"_isMobile\" >\r\n <ax-title text=\"{{placeholder || 'Choose a date'}}\"></ax-title>\r\n <ax-close-button></ax-close-button>\r\n </ax-header>\r\n <ng-container *ngIf=\"interface === 'calendar'; then calendarTemplate; else pickerTemplate\"></ng-container>\r\n <ng-template #calendarTemplate>\r\n <ax-calendar #calendar [disabled]=\"disabled\" [readonly]=\"readonly\" [(value)]=\"value\" [min]=\"min\" [max]=\"max\"\r\n [disabledDates]=\"disabledDates\" [holidayDates]=\"holidayDates\" [depth]=\"depth\"\r\n (onNavigate)=\"_handleOnNavigate($event)\" [type]=\"type\">\r\n </ax-calendar>\r\n </ng-template>\r\n <ng-template #pickerTemplate>\r\n </ng-template>\r\n\r\n </div>\r\n</ax-popover>", components: [{ type: AXButtonComponent, selector: "ax-button", inputs: ["disabled", "tabIndex", "size", "color", "look", "text", "submitBehavior", "cancelBehavior", "toggleable", "selected"], outputs: ["onBlur", "onFocus", "onClick", "selectedChange", "toggleableChange"] }, { type: AXDecoratorIconComponent, selector: "ax-icon", inputs: ["icon"] }, { type: AXPopoverComponent, selector: "ax-popover", inputs: ["target", "position", "openTrigger", "closeTrigger", "hasBackdrop", "backdropClass", "adaptivityEnabled"], outputs: ["onOpened", "onClosed"] }, { type: AXDecoratorHeaderComponent, selector: "ax-header" }, { type: AXDecoratorTitleComponent, selector: "ax-title", inputs: ["text"] }, { type: AXDecoratorCloseButtonComponent, selector: "ax-close-button", inputs: ["icon"] }, { type: AXCalendarComponent, selector: "ax-calendar", inputs: ["readonly", "allowNull", "value", "debounceTime", "name", "checked", "disabled", "tabIndex", "depth", "activeView", "min", "max", "disabledDates", "type", "holidayDates", "interface"], outputs: ["valueChange", "onValueChanged", "onBlur", "onFocus", "depthChange", "typeChange", "disabledDatesChange", "holidayDatesChange", "onNavigate"] }], directives: [{ type: i1$2.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { type: i1$2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i1$2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
4942
5119
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXDatePickerComponent, decorators: [{
4943
5120
  type: Component,
4944
- args: [{ selector: 'ax-date-picker', inputs: [...DROPDOWN_INPUTS, ...INTERACTIVE_INPUTS, ...VALUE_INPUTS, ...TEXTBOX_INPUTS, ...CALENDAR_INPUTS], outputs: [...DROPDOWN_OUTPUT, ...INTERACTIVE_OUTPUT, ...VALUE_OUTPUT, ...TEXTBOX_OUTPUT, ...CALENDAR_OUTPUTS], changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, host: { class: 'ax-editor-container ax-drop-down' }, template: "<ng-content select=\"ax-prefix\">\r\n</ng-content>\r\n<div class=\"ax-dropdown-content\">\r\n <input class=\"ax-input\" type=\"text\" [attr.placeholder]=\"placeholder\" [class.ax-state-disabled]=\"disabled\"\r\n [class.ax-state-readonly]=\"readonly\" [disabled]=\"disabled\" [readonly]=\"readonly\" [attr.tabindex]=\"_isMobile ? -1 : tabIndex\"\r\n [ngModel]=\"displayText\" (focus)=\"_emitOnFocusEvent($event)\" (mouseup)=\"_handleOnInputClickEvent($event)\"\r\n (blur)=\"_emitOnBlurEvent($event)\" (keydown)=\"_handleOnKeydownEvent($event)\">\r\n</div>\r\n<ax-button [disabled]=\"disabled\" [tabIndex]=\"-1\" color=\"light\" look=\"blank\" (onClick)=\"_handleArrowClickEvent($event)\">\r\n <ax-icon icon=\"ax-ic ax-ic-chevron ax-transform ax--rotate-90\"></ax-icon>\r\n</ax-button>\r\n<ng-content select=\"ax-suffix\">\r\n</ng-content>\r\n<ng-content select=\"ax-validation-rule\">\r\n</ng-content>\r\n<ng-content select=\"ax-calendar-options\">\r\n</ng-content>\r\n<ax-popover [target]=\"_target\" [position]=\"position\" [openTrigger]=\"'manual'\" [closeTrigger]=\"'clickout'\" (onOpened)=\"_handlePopoverOpened($event)\">\r\n <div class=\"ax-overlay-pane\" [class.ax-w-full]=\"_isMobile\">\r\n <div *ngIf=\"_isMobile\" class=\"ax-header\">\r\n <span >{{placeholder || 'Choose a date'}}</span>\r\n <i class=\"ax-ic ax-ic-close \"\r\n (click)=\"close()\" tabindex=\"1\"></i>\r\n </div>\r\n <ng-container *ngIf=\"interface === 'calendar'; then calendarTemplate; else pickerTemplate\"></ng-container>\r\n <ng-template #calendarTemplate>\r\n <ax-calendar #calendar [disabled]=\"disabled\" [readonly]=\"readonly\" \r\n [(value)]=\"value\" \r\n [min]=\"min\" \r\n [max]=\"max\"\r\n [disabledDates]=\"disabledDates\" \r\n [holidayDates]=\"holidayDates\" \r\n [depth]=\"depth\" \r\n (onNavigate)=\"_handleOnNavigate($event)\"\r\n [type]=\"type\">\r\n </ax-calendar>\r\n </ng-template>\r\n <ng-template #pickerTemplate>\r\n </ng-template>\r\n \r\n </div>\r\n</ax-popover>" }]
5121
+ args: [{ selector: 'ax-date-picker', inputs: [...DROPDOWN_INPUTS, ...INTERACTIVE_INPUTS, ...VALUE_INPUTS, ...TEXTBOX_INPUTS, ...CALENDAR_INPUTS], outputs: [...DROPDOWN_OUTPUT, ...INTERACTIVE_OUTPUT, ...VALUE_OUTPUT, ...TEXTBOX_OUTPUT, ...CALENDAR_OUTPUTS], changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, providers: [{ provide: AXClosbaleComponent, useExisting: AXDatePickerComponent }], host: { class: 'ax-editor-container ax-drop-down' }, template: "<ng-content select=\"ax-prefix\">\r\n</ng-content>\r\n<div class=\"ax-dropdown-content\">\r\n <input class=\"ax-input\" type=\"text\" [attr.placeholder]=\"placeholder\" [class.ax-state-disabled]=\"disabled\"\r\n [class.ax-state-readonly]=\"readonly\" [disabled]=\"disabled\" [readonly]=\"readonly\"\r\n [attr.tabindex]=\"_isMobile ? -1 : tabIndex\" [ngModel]=\"displayText\" (focus)=\"_emitOnFocusEvent($event)\"\r\n (mouseup)=\"_handleOnInputClickEvent($event)\" (blur)=\"_emitOnBlurEvent($event)\"\r\n (keydown)=\"_handleOnKeydownEvent($event)\">\r\n</div>\r\n<ax-button [disabled]=\"disabled\" [tabIndex]=\"-1\" color=\"light\" look=\"blank\" (onClick)=\"_handleArrowClickEvent($event)\">\r\n <ax-icon icon=\"ax-ic ax-ic-chevron ax-transform ax--rotate-90\"></ax-icon>\r\n</ax-button>\r\n<ng-content select=\"ax-suffix\">\r\n</ng-content>\r\n<ng-content select=\"ax-validation-rule\">\r\n</ng-content>\r\n<ng-content select=\"ax-calendar-options\">\r\n</ng-content>\r\n<ax-popover [target]=\"_target\" [position]=\"position\" [openTrigger]=\"'manual'\" [closeTrigger]=\"'clickout'\" [adaptivityEnabled]=\"true\"\r\n (onOpened)=\"_handlePopoverOpened($event)\">\r\n <div class=\"ax-overlay-pane\" [class.ax-w-full]=\"_isMobile\">\r\n <ax-header *ngIf=\"_isMobile\" >\r\n <ax-title text=\"{{placeholder || 'Choose a date'}}\"></ax-title>\r\n <ax-close-button></ax-close-button>\r\n </ax-header>\r\n <ng-container *ngIf=\"interface === 'calendar'; then calendarTemplate; else pickerTemplate\"></ng-container>\r\n <ng-template #calendarTemplate>\r\n <ax-calendar #calendar [disabled]=\"disabled\" [readonly]=\"readonly\" [(value)]=\"value\" [min]=\"min\" [max]=\"max\"\r\n [disabledDates]=\"disabledDates\" [holidayDates]=\"holidayDates\" [depth]=\"depth\"\r\n (onNavigate)=\"_handleOnNavigate($event)\" [type]=\"type\">\r\n </ax-calendar>\r\n </ng-template>\r\n <ng-template #pickerTemplate>\r\n </ng-template>\r\n\r\n </div>\r\n</ax-popover>" }]
4945
5122
  }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: i1$4.AXPlatform }]; }, propDecorators: { popover: [{
4946
5123
  type: ViewChild,
4947
5124
  args: [AXPopoverComponent, { static: true }]
@@ -4987,10 +5164,10 @@ class AXTextBoxComponent extends AXBaseTextBoxMixin {
4987
5164
  }
4988
5165
  }
4989
5166
  AXTextBoxComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXTextBoxComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
4990
- AXTextBoxComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: AXTextBoxComponent, selector: "ax-text-box", inputs: { disabled: "disabled", tabIndex: "tabIndex", readonly: "readonly", allowNull: "allowNull", value: "value", debounceTime: "debounceTime", name: "name", checked: "checked", placeholder: "placeholder", maxLength: "maxLength", type: "type" }, outputs: { onBlur: "onBlur", onFocus: "onFocus", valueChange: "valueChange", onValueChanged: "onValueChanged" }, host: { classAttribute: "ax-editor-container" }, usesInheritance: true, ngImport: i0, template: "<ng-content select=\"ax-prefix\">\r\n</ng-content>\r\n<input class=\"ax-input\" [attr.name]=\"name\" [attr.type]=\"type\" [attr.placeholder]=\"placeholder\" [attr.maxlength]=\"maxLength\"\r\n [class.ax-state-disabled]=\"disabled\" [class.ax-state-readonly]=\"readonly\" [disabled]=\"disabled\"\r\n [readonly]=\"readonly\" [tabindex]=\"tabIndex\" [(ngModel)]=\"value\" (focus)=\"_emitOnFocusEvent($event)\"\r\n (blur)=\"_emitOnBlurEvent($event)\" [attr.autocomplete]=\"autoComplete\">\r\n<ng-content select=\"ax-suffix\">\r\n</ng-content>\r\n<ng-content select=\"ax-validation-rule\">\r\n</ng-content>\r\n<ng-content select=\"ax-input-mask\">\r\n</ng-content>", directives: [{ type: i1$2.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { type: i1$2.MaxLengthValidator, selector: "[maxlength][formControlName],[maxlength][formControl],[maxlength][ngModel]", inputs: ["maxlength"] }, { type: i1$2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i1$2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
5167
+ AXTextBoxComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: AXTextBoxComponent, selector: "ax-text-box", inputs: { disabled: "disabled", tabIndex: "tabIndex", readonly: "readonly", allowNull: "allowNull", value: "value", debounceTime: "debounceTime", name: "name", checked: "checked", placeholder: "placeholder", maxLength: "maxLength", type: "type", autoComplete: "autoComplete" }, outputs: { onBlur: "onBlur", onFocus: "onFocus", valueChange: "valueChange", onValueChanged: "onValueChanged" }, host: { classAttribute: "ax-editor-container" }, usesInheritance: true, ngImport: i0, template: "<ng-content select=\"ax-prefix\">\r\n</ng-content>\r\n<input class=\"ax-input\" [attr.name]=\"name\" [attr.autocomplete]=\"autoComplete\" [attr.type]=\"type\" [attr.placeholder]=\"placeholder\" [attr.maxlength]=\"maxLength\"\r\n [class.ax-state-disabled]=\"disabled\" [class.ax-state-readonly]=\"readonly\" [disabled]=\"disabled\"\r\n [readonly]=\"readonly\" [tabindex]=\"tabIndex\" [(ngModel)]=\"value\" (focus)=\"_emitOnFocusEvent($event)\"\r\n (blur)=\"_emitOnBlurEvent($event)\">\r\n<ng-content select=\"ax-suffix\">\r\n</ng-content>\r\n<ng-content select=\"ax-validation-rule\">\r\n</ng-content>\r\n<ng-content select=\"ax-input-mask\">\r\n</ng-content>", directives: [{ type: i1$2.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { type: i1$2.MaxLengthValidator, selector: "[maxlength][formControlName],[maxlength][formControl],[maxlength][ngModel]", inputs: ["maxlength"] }, { type: i1$2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i1$2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
4991
5168
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXTextBoxComponent, decorators: [{
4992
5169
  type: Component,
4993
- args: [{ selector: 'ax-text-box', inputs: [...INTERACTIVE_INPUTS, ...VALUE_INPUTS, ...TEXTBOX_INPUTS], outputs: [...INTERACTIVE_OUTPUT, ...VALUE_OUTPUT, ...TEXTBOX_OUTPUT], encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, host: { class: 'ax-editor-container' }, template: "<ng-content select=\"ax-prefix\">\r\n</ng-content>\r\n<input class=\"ax-input\" [attr.name]=\"name\" [attr.type]=\"type\" [attr.placeholder]=\"placeholder\" [attr.maxlength]=\"maxLength\"\r\n [class.ax-state-disabled]=\"disabled\" [class.ax-state-readonly]=\"readonly\" [disabled]=\"disabled\"\r\n [readonly]=\"readonly\" [tabindex]=\"tabIndex\" [(ngModel)]=\"value\" (focus)=\"_emitOnFocusEvent($event)\"\r\n (blur)=\"_emitOnBlurEvent($event)\" [attr.autocomplete]=\"autoComplete\">\r\n<ng-content select=\"ax-suffix\">\r\n</ng-content>\r\n<ng-content select=\"ax-validation-rule\">\r\n</ng-content>\r\n<ng-content select=\"ax-input-mask\">\r\n</ng-content>" }]
5170
+ args: [{ selector: 'ax-text-box', inputs: [...INTERACTIVE_INPUTS, ...VALUE_INPUTS, ...TEXTBOX_INPUTS], outputs: [...INTERACTIVE_OUTPUT, ...VALUE_OUTPUT, ...TEXTBOX_OUTPUT], encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, host: { class: 'ax-editor-container' }, template: "<ng-content select=\"ax-prefix\">\r\n</ng-content>\r\n<input class=\"ax-input\" [attr.name]=\"name\" [attr.autocomplete]=\"autoComplete\" [attr.type]=\"type\" [attr.placeholder]=\"placeholder\" [attr.maxlength]=\"maxLength\"\r\n [class.ax-state-disabled]=\"disabled\" [class.ax-state-readonly]=\"readonly\" [disabled]=\"disabled\"\r\n [readonly]=\"readonly\" [tabindex]=\"tabIndex\" [(ngModel)]=\"value\" (focus)=\"_emitOnFocusEvent($event)\"\r\n (blur)=\"_emitOnBlurEvent($event)\">\r\n<ng-content select=\"ax-suffix\">\r\n</ng-content>\r\n<ng-content select=\"ax-validation-rule\">\r\n</ng-content>\r\n<ng-content select=\"ax-input-mask\">\r\n</ng-content>" }]
4994
5171
  }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; } });
4995
5172
 
4996
5173
  class AXTextBoxModule {
@@ -4999,14 +5176,12 @@ AXTextBoxModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version:
4999
5176
  AXTextBoxModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXTextBoxModule, declarations: [AXTextBoxComponent], imports: [CommonModule,
5000
5177
  FormsModule,
5001
5178
  AXButtonModule,
5002
- AXEditorDecoratorModule,
5003
- AXIconModule, i1$5.NgxMaskModule], exports: [AXTextBoxComponent] });
5179
+ AXDecoratorModule, i1$5.NgxMaskModule], exports: [AXTextBoxComponent] });
5004
5180
  AXTextBoxModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXTextBoxModule, providers: [], imports: [[
5005
5181
  CommonModule,
5006
5182
  FormsModule,
5007
5183
  AXButtonModule,
5008
- AXEditorDecoratorModule,
5009
- AXIconModule,
5184
+ AXDecoratorModule,
5010
5185
  NgxMaskModule.forChild()
5011
5186
  ]] });
5012
5187
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXTextBoxModule, decorators: [{
@@ -5016,8 +5191,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
5016
5191
  CommonModule,
5017
5192
  FormsModule,
5018
5193
  AXButtonModule,
5019
- AXEditorDecoratorModule,
5020
- AXIconModule,
5194
+ AXDecoratorModule,
5021
5195
  NgxMaskModule.forChild()
5022
5196
  ],
5023
5197
  exports: [AXTextBoxComponent],
@@ -5026,15 +5200,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
5026
5200
  }]
5027
5201
  }] });
5028
5202
 
5029
- const COMPONENT$d = [AXDatePickerComponent];
5030
- const MODULES$d = [
5203
+ const COMPONENT$e = [AXDatePickerComponent];
5204
+ const MODULES$e = [
5031
5205
  CommonModule,
5032
5206
  AXCalendarModule,
5033
5207
  AXTextBoxModule,
5034
5208
  AXButtonModule,
5035
5209
  AXPopoverModule,
5036
- AXEditorDecoratorModule,
5037
- AXIconModule,
5210
+ AXDecoratorModule,
5038
5211
  AXDateTimeModule,
5039
5212
  FormsModule
5040
5213
  ];
@@ -5046,17 +5219,16 @@ AXDatepickerModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", vers
5046
5219
  AXTextBoxModule,
5047
5220
  AXButtonModule,
5048
5221
  AXPopoverModule,
5049
- AXEditorDecoratorModule,
5050
- AXIconModule,
5222
+ AXDecoratorModule,
5051
5223
  AXDateTimeModule,
5052
5224
  FormsModule], exports: [AXDatePickerComponent] });
5053
- AXDatepickerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXDatepickerModule, providers: [], imports: [[...MODULES$d]] });
5225
+ AXDatepickerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXDatepickerModule, providers: [], imports: [[...MODULES$e]] });
5054
5226
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXDatepickerModule, decorators: [{
5055
5227
  type: NgModule,
5056
5228
  args: [{
5057
- declarations: [...COMPONENT$d],
5058
- imports: [...MODULES$d],
5059
- exports: [...COMPONENT$d],
5229
+ declarations: [...COMPONENT$e],
5230
+ imports: [...MODULES$e],
5231
+ exports: [...COMPONENT$e],
5060
5232
  providers: [],
5061
5233
  }]
5062
5234
  }] });
@@ -5289,32 +5461,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
5289
5461
  type: Input
5290
5462
  }] } });
5291
5463
 
5292
- class AXPageFooterComponent {
5293
- }
5294
- AXPageFooterComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXPageFooterComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
5295
- AXPageFooterComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: AXPageFooterComponent, selector: "ax-page-footer", viewQueries: [{ propertyName: "template", first: true, predicate: TemplateRef, descendants: true, static: true }], ngImport: i0, template: `
5296
- <ng-content select="ax-prefix">
5297
- </ng-content>
5298
- <ng-content select="ax-suffix">
5299
- </ng-content>
5300
- `, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
5301
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXPageFooterComponent, decorators: [{
5302
- type: Component,
5303
- args: [{
5304
- selector: 'ax-page-footer',
5305
- template: `
5306
- <ng-content select="ax-prefix">
5307
- </ng-content>
5308
- <ng-content select="ax-suffix">
5309
- </ng-content>
5310
- `,
5311
- changeDetection: ChangeDetectionStrategy.OnPush
5312
- }]
5313
- }], propDecorators: { template: [{
5314
- type: ViewChild,
5315
- args: [TemplateRef, { static: true }]
5316
- }] } });
5317
-
5318
5464
  const TAB_META_KEY = '__meta__';
5319
5465
  class AXPageCloseEvent extends AXEvent {
5320
5466
  }
@@ -5388,67 +5534,41 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
5388
5534
  args: [AXPageComponent, { static: true }]
5389
5535
  }], footer: [{
5390
5536
  type: ViewChild,
5391
- args: [AXPageFooterComponent, { static: true }]
5537
+ args: [AXDecoratorFooterComponent, { static: true }]
5392
5538
  }], isLoadingChange: [{
5393
5539
  type: Output
5394
5540
  }], isLoading: [{
5395
5541
  type: Input
5396
5542
  }] } });
5397
5543
 
5398
- class AXPageHeaderComponent {
5399
- }
5400
- AXPageHeaderComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXPageHeaderComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
5401
- AXPageHeaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: AXPageHeaderComponent, selector: "ax-page-header", viewQueries: [{ propertyName: "template", first: true, predicate: TemplateRef, descendants: true, static: true }], ngImport: i0, template: `
5402
- <ng-content select="ax-prefix">
5403
- </ng-content>
5404
- <ng-content select="ax-suffix">
5405
- </ng-content>
5406
- `, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
5407
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXPageHeaderComponent, decorators: [{
5408
- type: Component,
5409
- args: [{
5410
- selector: 'ax-page-header',
5411
- template: `
5412
- <ng-content select="ax-prefix">
5413
- </ng-content>
5414
- <ng-content select="ax-suffix">
5415
- </ng-content>
5416
- `,
5417
- changeDetection: ChangeDetectionStrategy.OnPush
5418
- }]
5419
- }], propDecorators: { template: [{
5420
- type: ViewChild,
5421
- args: [TemplateRef, { static: true }]
5422
- }] } });
5423
-
5424
5544
  class AXPageModule {
5425
5545
  }
5426
5546
  AXPageModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXPageModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
5427
- AXPageModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXPageModule, declarations: [AXPageFooterComponent, AXPageHeaderComponent], exports: [AXPageFooterComponent, AXPageHeaderComponent] });
5547
+ AXPageModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXPageModule });
5428
5548
  AXPageModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXPageModule, providers: [], imports: [[]] });
5429
5549
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXPageModule, decorators: [{
5430
5550
  type: NgModule,
5431
5551
  args: [{
5432
5552
  imports: [],
5433
- exports: [AXPageFooterComponent, AXPageHeaderComponent],
5434
- declarations: [AXPageFooterComponent, AXPageHeaderComponent],
5553
+ exports: [],
5554
+ declarations: [],
5435
5555
  providers: [],
5436
5556
  }]
5437
5557
  }] });
5438
5558
 
5439
- const COMPONENT$c = [AXDialogComponent];
5440
- const MODULES$c = [CommonModule, DragDropModule, A11yModule, AXButtonModule, AXPageModule, AXEditorDecoratorModule];
5559
+ const COMPONENT$d = [AXDialogComponent];
5560
+ const MODULES$d = [CommonModule, DragDropModule, A11yModule, AXButtonModule, AXPageModule, AXDecoratorModule];
5441
5561
  class AXDialogModule {
5442
5562
  }
5443
5563
  AXDialogModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXDialogModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
5444
- AXDialogModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXDialogModule, declarations: [AXDialogComponent], imports: [CommonModule, DragDropModule, A11yModule, AXButtonModule, AXPageModule, AXEditorDecoratorModule], exports: [AXDialogComponent] });
5445
- AXDialogModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXDialogModule, providers: [], imports: [[...MODULES$c]] });
5564
+ AXDialogModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXDialogModule, declarations: [AXDialogComponent], imports: [CommonModule, DragDropModule, A11yModule, AXButtonModule, AXPageModule, AXDecoratorModule], exports: [AXDialogComponent] });
5565
+ AXDialogModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXDialogModule, providers: [], imports: [[...MODULES$d]] });
5446
5566
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXDialogModule, decorators: [{
5447
5567
  type: NgModule,
5448
5568
  args: [{
5449
- declarations: [...COMPONENT$c],
5450
- imports: [...MODULES$c],
5451
- exports: [...COMPONENT$c],
5569
+ declarations: [...COMPONENT$d],
5570
+ imports: [...MODULES$d],
5571
+ exports: [...COMPONENT$d],
5452
5572
  providers: [],
5453
5573
  }]
5454
5574
  }] });
@@ -5500,10 +5620,10 @@ class AXDropdownPanelComponent extends AXBaseDropdownMixin {
5500
5620
  }
5501
5621
  }
5502
5622
  AXDropdownPanelComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXDropdownPanelComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: AXButtonComponent, optional: true }], target: i0.ɵɵFactoryTarget.Component });
5503
- AXDropdownPanelComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: AXDropdownPanelComponent, selector: "ax-dropdown-panel", inputs: { isOpen: "isOpen", fitParent: "fitParent", dropdownWidth: "dropdownWidth", position: "position", items: "items" }, outputs: { onOpened: "onOpened", onClosed: "onClosed", onItemClick: "onItemClick" }, queries: [{ propertyName: "_contentButtons", predicate: AXButtonItemComponent }], viewQueries: [{ propertyName: "popover", first: true, predicate: AXPopoverComponent, descendants: true, static: true }, { propertyName: "_viewButtons", predicate: AXButtonItemComponent, descendants: true }], usesInheritance: true, ngImport: i0, template: "<ax-popover [target]=\"_target\" [position]=\"position\" [openTrigger]=\"'toggle'\" [closeTrigger]=\"'clickout'\">\r\n <div class=\"ax-overlay-pane\" [class.ax-dropdown-list]=\"_needBorder\" >\r\n <ng-container *ngIf=\"items && items.length;else panelTpl\">\r\n <ax-button-item [text]=\"item.text\" [color]=\"item.color\" *ngFor=\"let item of items\">\r\n <ax-prefix *ngIf=\"item.iconClass\">\r\n <ax-icon [icon]=\"item.iconClass\"></ax-icon>\r\n </ax-prefix>\r\n </ax-button-item>\r\n </ng-container>\r\n <ng-template #panelTpl>\r\n <ng-content select=\"[panel],ax-button-item\">\r\n </ng-content>\r\n </ng-template>\r\n </div>\r\n</ax-popover>", components: [{ type: AXPopoverComponent, selector: "ax-popover", inputs: ["target", "position", "openTrigger", "closeTrigger", "hasBackdrop", "backdropClass"], outputs: ["onOpened", "onClosed"] }, { type: AXButtonItemComponent, selector: "ax-button-item", inputs: ["text", "tooltip", "selected", "seperated", "name", "data", "color"] }, { type: AXDecoratorPrefixComponent, selector: "ax-prefix" }, { type: AXIconComponent, selector: "ax-icon", inputs: ["icon"] }], directives: [{ type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1$1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
5623
+ AXDropdownPanelComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: AXDropdownPanelComponent, selector: "ax-dropdown-panel", inputs: { isOpen: "isOpen", fitParent: "fitParent", dropdownWidth: "dropdownWidth", position: "position", items: "items" }, outputs: { onOpened: "onOpened", onClosed: "onClosed", onItemClick: "onItemClick" }, queries: [{ propertyName: "_contentButtons", predicate: AXButtonItemComponent }], viewQueries: [{ propertyName: "popover", first: true, predicate: AXPopoverComponent, descendants: true, static: true }, { propertyName: "_viewButtons", predicate: AXButtonItemComponent, descendants: true }], usesInheritance: true, ngImport: i0, template: "<ax-popover [target]=\"_target\" [position]=\"position\" [openTrigger]=\"'toggle'\" [closeTrigger]=\"'clickout'\" [adaptivityEnabled]=\"false\">\r\n <div class=\"ax-overlay-pane\" [class.ax-dropdown-list]=\"_needBorder\" >\r\n <ng-container *ngIf=\"items && items.length;else panelTpl\">\r\n <ax-button-item [text]=\"item.text\" [color]=\"item.color\" *ngFor=\"let item of items\">\r\n <ax-prefix *ngIf=\"item.iconClass\">\r\n <ax-icon [icon]=\"item.iconClass\"></ax-icon>\r\n </ax-prefix>\r\n </ax-button-item>\r\n </ng-container>\r\n <ng-template #panelTpl>\r\n <ng-content select=\"[panel],ax-button-item\">\r\n </ng-content>\r\n </ng-template>\r\n </div>\r\n</ax-popover>", components: [{ type: AXPopoverComponent, selector: "ax-popover", inputs: ["target", "position", "openTrigger", "closeTrigger", "hasBackdrop", "backdropClass", "adaptivityEnabled"], outputs: ["onOpened", "onClosed"] }, { type: AXButtonItemComponent, selector: "ax-button-item", inputs: ["text", "tooltip", "selected", "seperated", "name", "data", "color"] }, { type: AXDecoratorPrefixComponent, selector: "ax-prefix" }, { type: AXDecoratorIconComponent, selector: "ax-icon", inputs: ["icon"] }], directives: [{ type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1$1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
5504
5624
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXDropdownPanelComponent, decorators: [{
5505
5625
  type: Component,
5506
- args: [{ selector: 'ax-dropdown-panel', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, inputs: [...DROPDOWN_INPUTS], outputs: [...DROPDOWN_OUTPUT], template: "<ax-popover [target]=\"_target\" [position]=\"position\" [openTrigger]=\"'toggle'\" [closeTrigger]=\"'clickout'\">\r\n <div class=\"ax-overlay-pane\" [class.ax-dropdown-list]=\"_needBorder\" >\r\n <ng-container *ngIf=\"items && items.length;else panelTpl\">\r\n <ax-button-item [text]=\"item.text\" [color]=\"item.color\" *ngFor=\"let item of items\">\r\n <ax-prefix *ngIf=\"item.iconClass\">\r\n <ax-icon [icon]=\"item.iconClass\"></ax-icon>\r\n </ax-prefix>\r\n </ax-button-item>\r\n </ng-container>\r\n <ng-template #panelTpl>\r\n <ng-content select=\"[panel],ax-button-item\">\r\n </ng-content>\r\n </ng-template>\r\n </div>\r\n</ax-popover>" }]
5626
+ args: [{ selector: 'ax-dropdown-panel', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, inputs: [...DROPDOWN_INPUTS], outputs: [...DROPDOWN_OUTPUT], template: "<ax-popover [target]=\"_target\" [position]=\"position\" [openTrigger]=\"'toggle'\" [closeTrigger]=\"'clickout'\" [adaptivityEnabled]=\"false\">\r\n <div class=\"ax-overlay-pane\" [class.ax-dropdown-list]=\"_needBorder\" >\r\n <ng-container *ngIf=\"items && items.length;else panelTpl\">\r\n <ax-button-item [text]=\"item.text\" [color]=\"item.color\" *ngFor=\"let item of items\">\r\n <ax-prefix *ngIf=\"item.iconClass\">\r\n <ax-icon [icon]=\"item.iconClass\"></ax-icon>\r\n </ax-prefix>\r\n </ax-button-item>\r\n </ng-container>\r\n <ng-template #panelTpl>\r\n <ng-content select=\"[panel],ax-button-item\">\r\n </ng-content>\r\n </ng-template>\r\n </div>\r\n</ax-popover>" }]
5507
5627
  }], ctorParameters: function () {
5508
5628
  return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: AXButtonComponent, decorators: [{
5509
5629
  type: Optional
@@ -5526,12 +5646,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
5526
5646
  class AXDropdownModule {
5527
5647
  }
5528
5648
  AXDropdownModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXDropdownModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
5529
- AXDropdownModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXDropdownModule, declarations: [AXDropdownPanelComponent], imports: [CommonModule, AXButtonModule, OverlayModule, AXIconModule, AXEditorDecoratorModule, AXPopoverModule], exports: [AXDropdownPanelComponent] });
5530
- AXDropdownModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXDropdownModule, providers: [], imports: [[CommonModule, AXButtonModule, OverlayModule, AXIconModule, AXEditorDecoratorModule, AXPopoverModule]] });
5649
+ AXDropdownModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXDropdownModule, declarations: [AXDropdownPanelComponent], imports: [CommonModule, AXButtonModule, OverlayModule, AXDecoratorModule, AXPopoverModule], exports: [AXDropdownPanelComponent] });
5650
+ AXDropdownModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXDropdownModule, providers: [], imports: [[CommonModule, AXButtonModule, OverlayModule, AXDecoratorModule, AXPopoverModule]] });
5531
5651
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXDropdownModule, decorators: [{
5532
5652
  type: NgModule,
5533
5653
  args: [{
5534
- imports: [CommonModule, AXButtonModule, OverlayModule, AXIconModule, AXEditorDecoratorModule, AXPopoverModule],
5654
+ imports: [CommonModule, AXButtonModule, OverlayModule, AXDecoratorModule, AXPopoverModule],
5535
5655
  exports: [AXDropdownPanelComponent],
5536
5656
  declarations: [AXDropdownPanelComponent],
5537
5657
  providers: [],
@@ -5694,19 +5814,19 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
5694
5814
  type: Input
5695
5815
  }] } });
5696
5816
 
5697
- const COMPONENT$b = [AXInputMaskComponent];
5698
- const MODULES$b = [CommonModule, NgxMaskModule.forRoot(), IMaskModule];
5817
+ const COMPONENT$c = [AXInputMaskComponent];
5818
+ const MODULES$c = [CommonModule, NgxMaskModule.forRoot(), IMaskModule];
5699
5819
  class AXInputMaskModule {
5700
5820
  }
5701
5821
  AXInputMaskModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXInputMaskModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
5702
5822
  AXInputMaskModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXInputMaskModule, declarations: [AXInputMaskComponent], imports: [CommonModule, i1$5.NgxMaskModule, IMaskModule], exports: [AXInputMaskComponent] });
5703
- AXInputMaskModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXInputMaskModule, providers: [], imports: [[...MODULES$b]] });
5823
+ AXInputMaskModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXInputMaskModule, providers: [], imports: [[...MODULES$c]] });
5704
5824
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXInputMaskModule, decorators: [{
5705
5825
  type: NgModule,
5706
5826
  args: [{
5707
- declarations: [...COMPONENT$b],
5708
- imports: [...MODULES$b],
5709
- exports: [...COMPONENT$b],
5827
+ declarations: [...COMPONENT$c],
5828
+ imports: [...MODULES$c],
5829
+ exports: [...COMPONENT$c],
5710
5830
  providers: [],
5711
5831
  }]
5712
5832
  }] });
@@ -5732,19 +5852,19 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
5732
5852
  type: Input
5733
5853
  }] } });
5734
5854
 
5735
- const COMPONENT$a = [AXLabelComponent];
5736
- const MODULES$a = [CommonModule];
5855
+ const COMPONENT$b = [AXLabelComponent];
5856
+ const MODULES$b = [CommonModule];
5737
5857
  class AXLabelModule {
5738
5858
  }
5739
5859
  AXLabelModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXLabelModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
5740
5860
  AXLabelModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXLabelModule, declarations: [AXLabelComponent], imports: [CommonModule], exports: [AXLabelComponent] });
5741
- AXLabelModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXLabelModule, providers: [], imports: [[...MODULES$a]] });
5861
+ AXLabelModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXLabelModule, providers: [], imports: [[...MODULES$b]] });
5742
5862
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXLabelModule, decorators: [{
5743
5863
  type: NgModule,
5744
5864
  args: [{
5745
- declarations: [...COMPONENT$a],
5746
- imports: [...MODULES$a],
5747
- exports: [...COMPONENT$a],
5865
+ declarations: [...COMPONENT$b],
5866
+ imports: [...MODULES$b],
5867
+ exports: [...COMPONENT$b],
5748
5868
  providers: [],
5749
5869
  }]
5750
5870
  }] });
@@ -5772,16 +5892,27 @@ class AXMenuComponent extends AXBaseMenuMixin {
5772
5892
  ngAfterViewInit() {
5773
5893
  super.onViewInit();
5774
5894
  }
5775
- onMenuClick(e, item) {
5895
+ _onMenuClick(e, item) {
5776
5896
  var _a, _b, _c;
5777
- if (!item[this.disableField]) {
5778
- this.notActive(this.displayItems);
5897
+ if (!item[this.disableField] && this.openMode === 'click') {
5898
+ if (this.openMode === 'click' && this.direction === 'horizontal') {
5899
+ this.displayItems.forEach((element) => {
5900
+ if (element[this.valueField] != item[this.valueField] &&
5901
+ !item.parentId) {
5902
+ element.isOpen = false;
5903
+ }
5904
+ });
5905
+ }
5906
+ this._notActive(this.displayItems);
5779
5907
  if (((_a = item.children) === null || _a === void 0 ? void 0 : _a.length) > 0 || item[this.hasChildField]) {
5780
5908
  if (((_b = item.children) === null || _b === void 0 ? void 0 : _b.length) > 0 && item[this.hasChildField]) {
5781
5909
  item.children = [];
5782
5910
  }
5783
5911
  if (((_c = item.children) === null || _c === void 0 ? void 0 : _c.length) > 0) {
5784
- this.closeChild(item.children);
5912
+ if (this.openMode === 'click' && this.direction === 'horizontal') {
5913
+ this._setParentNode(item.children, item[this.valueField]);
5914
+ }
5915
+ this._closeChild(item.children);
5785
5916
  }
5786
5917
  item.isOpen = !item.isOpen;
5787
5918
  }
@@ -5792,53 +5923,106 @@ class AXMenuComponent extends AXBaseMenuMixin {
5792
5923
  nativeEvent: e,
5793
5924
  });
5794
5925
  if (item.isOpen && item[this.hasChildField]) {
5795
- this._fetchData(item.id);
5926
+ this._fetchData(item[this.valueField]);
5796
5927
  }
5797
5928
  }
5798
5929
  e.stopPropagation();
5799
5930
  e.preventDefault();
5800
5931
  }
5801
- notActive(items) {
5932
+ _notActive(items) {
5802
5933
  items.forEach((element) => {
5803
5934
  var _a;
5804
5935
  element.isActive = false;
5805
5936
  if (((_a = element.children) === null || _a === void 0 ? void 0 : _a.length) > 0) {
5806
- this.notActive(element.children);
5937
+ this._notActive(element.children);
5807
5938
  }
5808
5939
  });
5809
5940
  }
5810
- closeChild(items) {
5941
+ _closeChild(items) {
5811
5942
  items.forEach((element) => {
5812
5943
  var _a;
5813
5944
  element.isOpen = false;
5814
5945
  if (((_a = element.children) === null || _a === void 0 ? void 0 : _a.length) > 0) {
5815
- this.closeChild(element.children);
5946
+ this._closeChild(element.children);
5816
5947
  }
5817
5948
  });
5818
5949
  }
5950
+ _onMouseEnter(e, item) {
5951
+ var _a, _b, _c;
5952
+ if (this.openMode === 'hover') {
5953
+ if (!item[this.disableField]) {
5954
+ if (((_a = item.children) === null || _a === void 0 ? void 0 : _a.length) > 0 || item[this.hasChildField]) {
5955
+ if (((_b = item.children) === null || _b === void 0 ? void 0 : _b.length) > 0 && item[this.hasChildField]) {
5956
+ item.children = [];
5957
+ }
5958
+ if (((_c = item.children) === null || _c === void 0 ? void 0 : _c.length) > 0) {
5959
+ this._closeChild(item.children);
5960
+ }
5961
+ item.isOpen = true;
5962
+ }
5963
+ this.onMenuItemClick.emit({
5964
+ component: this,
5965
+ item: item,
5966
+ nativeEvent: e,
5967
+ });
5968
+ if (item.isOpen && item[this.hasChildField]) {
5969
+ this._fetchData(item.id);
5970
+ }
5971
+ }
5972
+ }
5973
+ e.stopPropagation();
5974
+ e.preventDefault();
5975
+ }
5976
+ _onMouseLeave(e, item) {
5977
+ var _a, _b, _c;
5978
+ if (this.openMode === 'hover') {
5979
+ if (!item[this.disableField]) {
5980
+ if (((_a = item.children) === null || _a === void 0 ? void 0 : _a.length) > 0 || item[this.hasChildField]) {
5981
+ if (((_b = item.children) === null || _b === void 0 ? void 0 : _b.length) > 0 && item[this.hasChildField]) {
5982
+ item.children = [];
5983
+ }
5984
+ if (((_c = item.children) === null || _c === void 0 ? void 0 : _c.length) > 0) {
5985
+ this._closeChild(item.children);
5986
+ }
5987
+ item.isOpen = false;
5988
+ }
5989
+ }
5990
+ }
5991
+ }
5992
+ _setParentNode(item, parentId) {
5993
+ item.forEach((element) => {
5994
+ element.parentId = parentId;
5995
+ });
5996
+ }
5997
+ _getDirection() {
5998
+ if (this.direction === 'horizontal') {
5999
+ return 'horizontal-mode';
6000
+ }
6001
+ else {
6002
+ return 'vertical-mode';
6003
+ }
6004
+ }
5819
6005
  }
5820
6006
  AXMenuComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXMenuComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
5821
- AXMenuComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: AXMenuComponent, selector: "ax-menu", inputs: { disabled: "disabled", tabIndex: "tabIndex", textField: "textField", valueField: "valueField", items: "items", id: "id", parentId: "parentId", icon: "icon", tooltip: "tooltip", isOpen: "isOpen", isActive: "isActive", visible: "visible", disableField: "disableField", hasChildField: "hasChildField", openMode: "openMode" }, outputs: { onBlur: "onBlur", onFocus: "onFocus" }, host: { classAttribute: "ax-menu" }, queries: [{ propertyName: "_contentEmptyTemplate", first: true, predicate: ["emptyTemplate"], descendants: true }], usesInheritance: true, ngImport: i0, template: "<ul>\r\n <ng-container *ngTemplateOutlet=\"recursiveListTmpl; context:{ list: displayItems }\"></ng-container>\r\n</ul>\r\n\r\n<ng-template #recursiveListTmpl let-list=\"list\">\r\n <ng-container *ngFor=\"let item of list; trackBy: _trackLoaded\">\r\n <li [class.ax-state-disabled]=\"item[disableField]\" *ngIf=\"item.visible !=false\" (click)=\"onMenuClick($event,item)\">\r\n <a [ngClass]=\"{'active': item.isActive}\">\r\n <div class=\"ax-menu-start-side\">\r\n <ax-icon [class]=\"item.icon || item[icon]\" *ngIf=\"item.icon || item[icon]\"></ax-icon>\r\n <span>{{_getItemDisplayTextTemplte(item)}}</span>\r\n </div>\r\n <div class=\"ax-menu-end-side\">\r\n <ax-icon [ngClass]=\"{'active-icon': item.isOpen}\"\r\n *ngIf=\"item?.children?.length > 0 && !isLoading || item[hasChildField] && !isLoading\" class=\"ax-ic-chevron\">\r\n </ax-icon>\r\n </div>\r\n <ax-loading *ngIf=\"isLoading && item.isActive && item.isOpen\">\r\n </ax-loading>\r\n </a>\r\n <ul [class.ax-state-disabled]=\"item[disableField]\" *ngIf=\"item?.children?.length > 0 && item.isOpen\">\r\n <ng-container *ngTemplateOutlet=\"recursiveListTmpl; context:{ list: item.children }\"></ng-container>\r\n </ul>\r\n </li>\r\n </ng-container>\r\n</ng-template>\r\n<ng-container *ngIf=\"isLoading\">\r\n <ng-template>\r\n <div class=\"ax-flex ax-items-center ax-justify-center ax-p-4\">\r\n <ax-loading text=\"{{ 'layout.loading.text' | trans }}\"></ax-loading>\r\n </div>\r\n </ng-template>\r\n</ng-container>\r\n<ng-template #tmpEmpty>\r\n <ng-container *ngIf=\"!isLoading\">\r\n <!--------------- check for custom template --------------->\r\n <ng-container *ngIf=\"emptyTemplate; else elseEmptyTemplate\">\r\n <ng-container *ngTemplateOutlet=\"emptyTemplate\">\r\n </ng-container>\r\n </ng-container>\r\n <ng-template #elseEmptyTemplate>\r\n <div class=\"ax-list-item\">\r\n {{ 'common.no-result-found' | trans }}\r\n </div>\r\n </ng-template>\r\n </ng-container>\r\n</ng-template>", components: [{ type: AXIconComponent, selector: "ax-icon", inputs: ["icon"] }, { type: AXLoadingComponent, selector: "ax-loading", inputs: ["visible", "type", "text"], outputs: ["visibleChange"] }], directives: [{ type: i1$1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }, { type: i1$1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1$1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }], pipes: { "trans": i1$4.AXTranslatorPipe }, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
6007
+ AXMenuComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: AXMenuComponent, selector: "ax-menu", inputs: { disabled: "disabled", tabIndex: "tabIndex", textField: "textField", valueField: "valueField", items: "items", id: "id", parentId: "parentId", icon: "icon", tooltip: "tooltip", isOpen: "isOpen", isActive: "isActive", visibleField: "visibleField", disableField: "disableField", hasChildField: "hasChildField", openMode: "openMode", direction: "direction" }, outputs: { onBlur: "onBlur", onFocus: "onFocus" }, host: { classAttribute: "ax-menu" }, queries: [{ propertyName: "_contentEmptyTemplate", first: true, predicate: ["emptyTemplate"], descendants: true }], usesInheritance: true, ngImport: i0, template: "<ul [ngClass]=\"_getDirection()\">\r\n <ng-container *ngTemplateOutlet=\"recursiveListTmpl; context:{ list: displayItems }\"></ng-container>\r\n</ul>\r\n\r\n<ng-template #recursiveListTmpl let-list=\"list\">\r\n <ng-container *ngFor=\"let item of list; trackBy: _trackLoaded\">\r\n <li *ngIf=\"item[visibleField] !=false\" [class.ax-state-disabled]=\"item[disableField]\"\r\n (click)=\"_onMenuClick($event,item)\" (mouseenter)=\"_onMouseEnter($event,item)\"\r\n (mouseleave)=\"_onMouseLeave($event,item)\">\r\n <a [ngClass]=\"{'active': item.isActive}\">\r\n <div class=\"ax-menu-start-side\">\r\n <ax-icon [class]=\"item.icon || item[icon]\" *ngIf=\"item.icon || item[icon]\"></ax-icon>\r\n <span>{{_getItemDisplayTextTemplte(item)}}</span>\r\n </div>\r\n <div class=\"ax-menu-end-side\">\r\n <ax-icon [ngClass]=\"{'active-icon': item.isOpen}\"\r\n *ngIf=\"item?.children?.length > 0 && !isLoading || item[hasChildField] && !isLoading\" class=\"ax-ic-chevron\">\r\n </ax-icon>\r\n </div>\r\n <ax-loading *ngIf=\"isLoading && item.isActive && item.isOpen\">\r\n </ax-loading>\r\n </a>\r\n <ul [class.ax-state-disabled]=\"item[disableField]\" *ngIf=\"item?.children?.length > 0 && item.isOpen\">\r\n <ng-container *ngTemplateOutlet=\"recursiveListTmpl; context:{ list: item.children }\"></ng-container>\r\n </ul>\r\n </li>\r\n </ng-container>\r\n</ng-template>\r\n<ng-container *ngIf=\"isLoading\">\r\n <ng-template>\r\n <div class=\"ax-flex ax-items-center ax-justify-center ax-p-4\">\r\n <ax-loading text=\"{{ 'layout.loading.text' | trans }}\"></ax-loading>\r\n </div>\r\n </ng-template>\r\n</ng-container>\r\n<ng-template #tmpEmpty>\r\n <ng-container *ngIf=\"!isLoading\">\r\n <!--------------- check for custom template --------------->\r\n <ng-container *ngIf=\"emptyTemplate; else elseEmptyTemplate\">\r\n <ng-container *ngTemplateOutlet=\"emptyTemplate\">\r\n </ng-container>\r\n </ng-container>\r\n <ng-template #elseEmptyTemplate>\r\n <div class=\"ax-list-item\">\r\n {{ 'common.no-result-found' | trans }}\r\n </div>\r\n </ng-template>\r\n </ng-container>\r\n</ng-template>", components: [{ type: AXDecoratorIconComponent, selector: "ax-icon", inputs: ["icon"] }, { type: AXLoadingComponent, selector: "ax-loading", inputs: ["visible", "type", "text"], outputs: ["visibleChange"] }], directives: [{ type: i1$1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i1$1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }, { type: i1$1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], pipes: { "trans": i1$4.AXTranslatorPipe }, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
5822
6008
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXMenuComponent, decorators: [{
5823
6009
  type: Component,
5824
- args: [{ selector: 'ax-menu', inputs: [...INTERACTIVE_INPUTS, ...BASEMENU_INPUTS], outputs: [...INTERACTIVE_OUTPUT], changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, host: { class: 'ax-menu' }, template: "<ul>\r\n <ng-container *ngTemplateOutlet=\"recursiveListTmpl; context:{ list: displayItems }\"></ng-container>\r\n</ul>\r\n\r\n<ng-template #recursiveListTmpl let-list=\"list\">\r\n <ng-container *ngFor=\"let item of list; trackBy: _trackLoaded\">\r\n <li [class.ax-state-disabled]=\"item[disableField]\" *ngIf=\"item.visible !=false\" (click)=\"onMenuClick($event,item)\">\r\n <a [ngClass]=\"{'active': item.isActive}\">\r\n <div class=\"ax-menu-start-side\">\r\n <ax-icon [class]=\"item.icon || item[icon]\" *ngIf=\"item.icon || item[icon]\"></ax-icon>\r\n <span>{{_getItemDisplayTextTemplte(item)}}</span>\r\n </div>\r\n <div class=\"ax-menu-end-side\">\r\n <ax-icon [ngClass]=\"{'active-icon': item.isOpen}\"\r\n *ngIf=\"item?.children?.length > 0 && !isLoading || item[hasChildField] && !isLoading\" class=\"ax-ic-chevron\">\r\n </ax-icon>\r\n </div>\r\n <ax-loading *ngIf=\"isLoading && item.isActive && item.isOpen\">\r\n </ax-loading>\r\n </a>\r\n <ul [class.ax-state-disabled]=\"item[disableField]\" *ngIf=\"item?.children?.length > 0 && item.isOpen\">\r\n <ng-container *ngTemplateOutlet=\"recursiveListTmpl; context:{ list: item.children }\"></ng-container>\r\n </ul>\r\n </li>\r\n </ng-container>\r\n</ng-template>\r\n<ng-container *ngIf=\"isLoading\">\r\n <ng-template>\r\n <div class=\"ax-flex ax-items-center ax-justify-center ax-p-4\">\r\n <ax-loading text=\"{{ 'layout.loading.text' | trans }}\"></ax-loading>\r\n </div>\r\n </ng-template>\r\n</ng-container>\r\n<ng-template #tmpEmpty>\r\n <ng-container *ngIf=\"!isLoading\">\r\n <!--------------- check for custom template --------------->\r\n <ng-container *ngIf=\"emptyTemplate; else elseEmptyTemplate\">\r\n <ng-container *ngTemplateOutlet=\"emptyTemplate\">\r\n </ng-container>\r\n </ng-container>\r\n <ng-template #elseEmptyTemplate>\r\n <div class=\"ax-list-item\">\r\n {{ 'common.no-result-found' | trans }}\r\n </div>\r\n </ng-template>\r\n </ng-container>\r\n</ng-template>" }]
6010
+ args: [{ selector: 'ax-menu', inputs: [...INTERACTIVE_INPUTS, ...BASEMENU_INPUTS], outputs: [...INTERACTIVE_OUTPUT], changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, host: { class: 'ax-menu' }, template: "<ul [ngClass]=\"_getDirection()\">\r\n <ng-container *ngTemplateOutlet=\"recursiveListTmpl; context:{ list: displayItems }\"></ng-container>\r\n</ul>\r\n\r\n<ng-template #recursiveListTmpl let-list=\"list\">\r\n <ng-container *ngFor=\"let item of list; trackBy: _trackLoaded\">\r\n <li *ngIf=\"item[visibleField] !=false\" [class.ax-state-disabled]=\"item[disableField]\"\r\n (click)=\"_onMenuClick($event,item)\" (mouseenter)=\"_onMouseEnter($event,item)\"\r\n (mouseleave)=\"_onMouseLeave($event,item)\">\r\n <a [ngClass]=\"{'active': item.isActive}\">\r\n <div class=\"ax-menu-start-side\">\r\n <ax-icon [class]=\"item.icon || item[icon]\" *ngIf=\"item.icon || item[icon]\"></ax-icon>\r\n <span>{{_getItemDisplayTextTemplte(item)}}</span>\r\n </div>\r\n <div class=\"ax-menu-end-side\">\r\n <ax-icon [ngClass]=\"{'active-icon': item.isOpen}\"\r\n *ngIf=\"item?.children?.length > 0 && !isLoading || item[hasChildField] && !isLoading\" class=\"ax-ic-chevron\">\r\n </ax-icon>\r\n </div>\r\n <ax-loading *ngIf=\"isLoading && item.isActive && item.isOpen\">\r\n </ax-loading>\r\n </a>\r\n <ul [class.ax-state-disabled]=\"item[disableField]\" *ngIf=\"item?.children?.length > 0 && item.isOpen\">\r\n <ng-container *ngTemplateOutlet=\"recursiveListTmpl; context:{ list: item.children }\"></ng-container>\r\n </ul>\r\n </li>\r\n </ng-container>\r\n</ng-template>\r\n<ng-container *ngIf=\"isLoading\">\r\n <ng-template>\r\n <div class=\"ax-flex ax-items-center ax-justify-center ax-p-4\">\r\n <ax-loading text=\"{{ 'layout.loading.text' | trans }}\"></ax-loading>\r\n </div>\r\n </ng-template>\r\n</ng-container>\r\n<ng-template #tmpEmpty>\r\n <ng-container *ngIf=\"!isLoading\">\r\n <!--------------- check for custom template --------------->\r\n <ng-container *ngIf=\"emptyTemplate; else elseEmptyTemplate\">\r\n <ng-container *ngTemplateOutlet=\"emptyTemplate\">\r\n </ng-container>\r\n </ng-container>\r\n <ng-template #elseEmptyTemplate>\r\n <div class=\"ax-list-item\">\r\n {{ 'common.no-result-found' | trans }}\r\n </div>\r\n </ng-template>\r\n </ng-container>\r\n</ng-template>" }]
5825
6011
  }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { _contentEmptyTemplate: [{
5826
6012
  type: ContentChild,
5827
6013
  args: ['emptyTemplate']
5828
6014
  }] } });
5829
6015
 
5830
- const COMPONENT$9 = [AXMenuComponent];
5831
- const MODULES$9 = [CommonModule];
6016
+ const COMPONENT$a = [AXMenuComponent];
6017
+ const MODULES$a = [CommonModule, AXDecoratorModule];
5832
6018
  class AXMenuModule {
5833
6019
  }
5834
6020
  AXMenuModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXMenuModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
5835
- AXMenuModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXMenuModule, declarations: [AXMenuComponent], imports: [CommonModule, AXIconModule,
5836
- AXLoadingModule,
6021
+ AXMenuModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXMenuModule, declarations: [AXMenuComponent], imports: [CommonModule, AXDecoratorModule, AXLoadingModule,
5837
6022
  AXTranslationModule,
5838
6023
  AXPopoverModule], exports: [AXMenuComponent] });
5839
6024
  AXMenuModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXMenuModule, providers: [], imports: [[
5840
- ...MODULES$9,
5841
- AXIconModule,
6025
+ ...MODULES$a,
5842
6026
  AXLoadingModule,
5843
6027
  AXTranslationModule,
5844
6028
  AXPopoverModule,
@@ -5846,15 +6030,14 @@ AXMenuModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
5846
6030
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXMenuModule, decorators: [{
5847
6031
  type: NgModule,
5848
6032
  args: [{
5849
- declarations: [...COMPONENT$9],
6033
+ declarations: [...COMPONENT$a],
5850
6034
  imports: [
5851
- ...MODULES$9,
5852
- AXIconModule,
6035
+ ...MODULES$a,
5853
6036
  AXLoadingModule,
5854
6037
  AXTranslationModule,
5855
6038
  AXPopoverModule,
5856
6039
  ],
5857
- exports: [...COMPONENT$9],
6040
+ exports: [...COMPONENT$a],
5858
6041
  providers: [],
5859
6042
  }]
5860
6043
  }] });
@@ -6030,7 +6213,7 @@ class AXNumberBoxComponent extends AXBaseTextBoxMixin {
6030
6213
  }
6031
6214
  }
6032
6215
  AXNumberBoxComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXNumberBoxComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
6033
- AXNumberBoxComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: AXNumberBoxComponent, selector: "ax-number-box", inputs: { disabled: "disabled", readonly: "readonly", tabIndex: "tabIndex", size: "size", value: "value", placeholder: "placeholder", maxLength: "maxLength", allowNull: "allowNull", debounceTime: "debounceTime", type: "type", name: "name", checked: "checked", thousandsSeparator: "thousandsSeparator", padDecimalZeros: "padDecimalZeros", step: "step", decimals: "decimals", decimalStep: "decimalStep", showSpinButtons: "showSpinButtons", minValue: "minValue", maxValue: "maxValue" }, outputs: { valueChange: "valueChange", onValueChanged: "onValueChanged", onBlur: "onBlur", onFocus: "onFocus" }, host: { classAttribute: "ax-editor-container" }, viewQueries: [{ propertyName: "_maskDirective", first: true, predicate: IMaskDirective, descendants: true }], usesInheritance: true, ngImport: i0, template: "<ng-content select=\"ax-prefix\">\r\n</ng-content>\r\n<input class=\"ax-input\" type=\"text\" \r\n [attr.placeholder]=\"placeholder\" \r\n [imask]=\"_maskObj\" \r\n [unmask]=\"'typed'\"\r\n [attr.min]=\"minValue\"\r\n [attr.max]=\"maxValue\" \r\n [class.ax-state-disabled]=\"disabled\" \r\n [class.ax-state-readonly]=\"readonly\"\r\n [disabled]=\"disabled\" \r\n [readonly]=\"readonly\" \r\n [tabindex]=\"tabIndex\" \r\n [(ngModel)]=\"value\"\r\n (focus)=\"_emitOnFocusEvent($event)\" \r\n (blur)=\"_emitOnFocusEvent($event)\" \r\n (keydown)=\"_handleOnKeydownEvent($event)\"\r\n [attr.autocomplete]=\"autoComplete\">\r\n\r\n<div class=\"ax-number-box-arrows\" *ngIf=\"showSpinButtons && !(disabled || readonly)\">\r\n <ax-button color=\"light\" look=\"blank\" (onClick)=\"_handleUpDownClick($event,1)\">\r\n <ax-prefix>\r\n <ax-icon class=\"ax-ic-arrow-fill ax-rotate-90\">\r\n </ax-icon>\r\n </ax-prefix>\r\n </ax-button>\r\n <ax-button color=\"light\" look=\"blank\" (onClick)=\"_handleUpDownClick($event,-1)\">\r\n <ax-prefix>\r\n <ax-icon class=\"ax-ic-arrow-fill ax--rotate-90\">\r\n </ax-icon>\r\n </ax-prefix>\r\n </ax-button>\r\n</div>\r\n<ng-content select=\"ax-suffix\">\r\n</ng-content>\r\n<ng-content select=\"ax-validation-rule\">\r\n</ng-content>", components: [{ type: AXButtonComponent, selector: "ax-button", inputs: ["disabled", "tabIndex", "size", "color", "look", "text", "submitBehavior", "cancelBehavior", "toggleable", "selected"], outputs: ["onBlur", "onFocus", "onClick", "selectedChange", "toggleableChange"] }, { type: AXDecoratorPrefixComponent, selector: "ax-prefix" }, { type: AXIconComponent, selector: "ax-icon", inputs: ["icon"] }], directives: [{ type: i1$2.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { type: i5.IMaskDirective, selector: "[imask]", inputs: ["imask", "unmask", "imaskElement"], outputs: ["accept", "complete"], exportAs: ["imask"] }, { type: i1$2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i1$2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
6216
+ AXNumberBoxComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: AXNumberBoxComponent, selector: "ax-number-box", inputs: { disabled: "disabled", readonly: "readonly", tabIndex: "tabIndex", size: "size", value: "value", placeholder: "placeholder", maxLength: "maxLength", allowNull: "allowNull", debounceTime: "debounceTime", type: "type", autoComplete: "autoComplete", name: "name", checked: "checked", thousandsSeparator: "thousandsSeparator", padDecimalZeros: "padDecimalZeros", step: "step", decimals: "decimals", decimalStep: "decimalStep", showSpinButtons: "showSpinButtons", minValue: "minValue", maxValue: "maxValue" }, outputs: { valueChange: "valueChange", onValueChanged: "onValueChanged", onBlur: "onBlur", onFocus: "onFocus" }, host: { classAttribute: "ax-editor-container" }, viewQueries: [{ propertyName: "_maskDirective", first: true, predicate: IMaskDirective, descendants: true }], usesInheritance: true, ngImport: i0, template: "<ng-content select=\"ax-prefix\">\r\n</ng-content>\r\n<input class=\"ax-input\" type=\"text\" \r\n [attr.placeholder]=\"placeholder\" \r\n [imask]=\"_maskObj\" \r\n [unmask]=\"'typed'\"\r\n [attr.min]=\"minValue\"\r\n [attr.max]=\"maxValue\" \r\n [class.ax-state-disabled]=\"disabled\" \r\n [class.ax-state-readonly]=\"readonly\"\r\n [disabled]=\"disabled\" \r\n [readonly]=\"readonly\" \r\n [tabindex]=\"tabIndex\" \r\n [(ngModel)]=\"value\"\r\n (focus)=\"_emitOnFocusEvent($event)\" \r\n (blur)=\"_emitOnFocusEvent($event)\" \r\n (keydown)=\"_handleOnKeydownEvent($event)\"\r\n [attr.autocomplete]=\"autoComplete\">\r\n\r\n<div class=\"ax-number-box-arrows\" *ngIf=\"showSpinButtons && !(disabled || readonly)\">\r\n <ax-button color=\"light\" look=\"blank\" (onClick)=\"_handleUpDownClick($event,1)\">\r\n <ax-prefix>\r\n <ax-icon class=\"ax-ic-arrow-fill ax-rotate-90\">\r\n </ax-icon>\r\n </ax-prefix>\r\n </ax-button>\r\n <ax-button color=\"light\" look=\"blank\" (onClick)=\"_handleUpDownClick($event,-1)\">\r\n <ax-prefix>\r\n <ax-icon class=\"ax-ic-arrow-fill ax--rotate-90\">\r\n </ax-icon>\r\n </ax-prefix>\r\n </ax-button>\r\n</div>\r\n<ng-content select=\"ax-suffix\">\r\n</ng-content>\r\n<ng-content select=\"ax-validation-rule\">\r\n</ng-content>", components: [{ type: AXButtonComponent, selector: "ax-button", inputs: ["disabled", "tabIndex", "size", "color", "look", "text", "submitBehavior", "cancelBehavior", "toggleable", "selected"], outputs: ["onBlur", "onFocus", "onClick", "selectedChange", "toggleableChange"] }, { type: AXDecoratorPrefixComponent, selector: "ax-prefix" }, { type: AXDecoratorIconComponent, selector: "ax-icon", inputs: ["icon"] }], directives: [{ type: i1$2.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { type: i5.IMaskDirective, selector: "[imask]", inputs: ["imask", "unmask", "imaskElement"], outputs: ["accept", "complete"], exportAs: ["imask"] }, { type: i1$2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i1$2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
6034
6217
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXNumberBoxComponent, decorators: [{
6035
6218
  type: Component,
6036
6219
  args: [{ selector: 'ax-number-box', inputs: [
@@ -6068,13 +6251,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
6068
6251
  args: [IMaskDirective]
6069
6252
  }] } });
6070
6253
 
6071
- const COMPONENT$8 = [AXNumberBoxComponent];
6072
- const MODULES$8 = [
6254
+ const COMPONENT$9 = [AXNumberBoxComponent];
6255
+ const MODULES$9 = [
6073
6256
  CommonModule,
6074
6257
  FormsModule,
6075
6258
  AXButtonModule,
6076
- AXEditorDecoratorModule,
6077
- AXIconModule,
6259
+ AXDecoratorModule,
6078
6260
  IMaskModule
6079
6261
  ];
6080
6262
  class AXNumberBoxModule {
@@ -6083,16 +6265,15 @@ AXNumberBoxModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", versio
6083
6265
  AXNumberBoxModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXNumberBoxModule, declarations: [AXNumberBoxComponent], imports: [CommonModule,
6084
6266
  FormsModule,
6085
6267
  AXButtonModule,
6086
- AXEditorDecoratorModule,
6087
- AXIconModule,
6268
+ AXDecoratorModule,
6088
6269
  IMaskModule], exports: [AXNumberBoxComponent] });
6089
- AXNumberBoxModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXNumberBoxModule, providers: [], imports: [[...MODULES$8]] });
6270
+ AXNumberBoxModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXNumberBoxModule, providers: [], imports: [[...MODULES$9]] });
6090
6271
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXNumberBoxModule, decorators: [{
6091
6272
  type: NgModule,
6092
6273
  args: [{
6093
- declarations: [...COMPONENT$8],
6094
- imports: [...MODULES$8],
6095
- exports: [...COMPONENT$8],
6274
+ declarations: [...COMPONENT$9],
6275
+ imports: [...MODULES$9],
6276
+ exports: [...COMPONENT$9],
6096
6277
  providers: [],
6097
6278
  }]
6098
6279
  }] });
@@ -6127,7 +6308,7 @@ class AXPasswordBoxComponent extends AXBaseTextBoxMixin {
6127
6308
  }
6128
6309
  }
6129
6310
  AXPasswordBoxComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXPasswordBoxComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
6130
- AXPasswordBoxComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: AXPasswordBoxComponent, selector: "ax-password-box", inputs: { disabled: "disabled", readonly: "readonly", tabIndex: "tabIndex", cssClass: "cssClass", size: "size", placeholder: "placeholder", maxLength: "maxLength", allowNull: "allowNull", debounceTime: "debounceTime", type: "type", value: "value", name: "name", checked: "checked", showToggleButton: "showToggleButton" }, outputs: { valueChange: "valueChange", onValueChanged: "onValueChanged", onBlur: "onBlur", onFocus: "onFocus" }, host: { classAttribute: "ax-password-box ax-editor-container" }, usesInheritance: true, ngImport: i0, template: "<ng-content select=\"ax-prefix\">\r\n</ng-content>\r\n<input class=\"ax-input\" [attr.name]=\"name\" [type]=\"_type\" [attr.placeholder]=\"placeholder\" [attr.maxlength]=\"maxLength\" [class.ax-state-disabled]=\"disabled\" [class.ax-state-readonly]=\"readonly\" [disabled]=\"disabled\" [readonly]=\"readonly\" [tabindex]=\"tabIndex\"\r\n [(ngModel)]=\"value\" (focus)=\"_emitOnFocusEvent($event)\" (blur)=\"_emitOnBlurEvent($event)\" [attr.autocomplete]=\"autoComplete\">\r\n\r\n<ng-content select=\"ax-suffix\">\r\n\r\n</ng-content>\r\n<ng-content select=\"ax-validation-rule\">\r\n</ng-content>\r\n<ng-content select=\"ax-input-mask\">\r\n</ng-content>\r\n<ax-button color=\"light\" look=\"blank\" [size]=\"size\" (onClick)=\"toggleType()\" [tabIndex]=\"-1\" *ngIf=\"showToggleButton\">\r\n <ax-icon [icon]=\"_icon\"></ax-icon>\r\n</ax-button>", components: [{ type: AXButtonComponent, selector: "ax-button", inputs: ["disabled", "tabIndex", "size", "color", "look", "text", "submitBehavior", "cancelBehavior", "toggleable", "selected"], outputs: ["onBlur", "onFocus", "onClick", "selectedChange", "toggleableChange"] }, { type: AXIconComponent, selector: "ax-icon", inputs: ["icon"] }], directives: [{ type: i1$2.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { type: i1$2.MaxLengthValidator, selector: "[maxlength][formControlName],[maxlength][formControl],[maxlength][ngModel]", inputs: ["maxlength"] }, { type: i1$2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i1$2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
6311
+ AXPasswordBoxComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: AXPasswordBoxComponent, selector: "ax-password-box", inputs: { disabled: "disabled", readonly: "readonly", tabIndex: "tabIndex", cssClass: "cssClass", size: "size", placeholder: "placeholder", maxLength: "maxLength", allowNull: "allowNull", debounceTime: "debounceTime", type: "type", autoComplete: "autoComplete", value: "value", name: "name", checked: "checked", showToggleButton: "showToggleButton" }, outputs: { valueChange: "valueChange", onValueChanged: "onValueChanged", onBlur: "onBlur", onFocus: "onFocus" }, host: { classAttribute: "ax-password-box ax-editor-container" }, usesInheritance: true, ngImport: i0, template: "<ng-content select=\"ax-prefix\">\r\n</ng-content>\r\n<input class=\"ax-input\" [attr.name]=\"name\" [type]=\"_type\" [attr.placeholder]=\"placeholder\" [attr.maxlength]=\"maxLength\" [class.ax-state-disabled]=\"disabled\" [class.ax-state-readonly]=\"readonly\" [disabled]=\"disabled\" [readonly]=\"readonly\" [tabindex]=\"tabIndex\"\r\n [(ngModel)]=\"value\" (focus)=\"_emitOnFocusEvent($event)\" (blur)=\"_emitOnBlurEvent($event)\" [attr.autocomplete]=\"autoComplete\">\r\n\r\n<ng-content select=\"ax-suffix\">\r\n\r\n</ng-content>\r\n<ng-content select=\"ax-validation-rule\">\r\n</ng-content>\r\n<ng-content select=\"ax-input-mask\">\r\n</ng-content>\r\n<ax-button color=\"light\" look=\"blank\" [size]=\"size\" (onClick)=\"toggleType()\" [tabIndex]=\"-1\" *ngIf=\"showToggleButton\">\r\n <ax-icon [icon]=\"_icon\"></ax-icon>\r\n</ax-button>", components: [{ type: AXButtonComponent, selector: "ax-button", inputs: ["disabled", "tabIndex", "size", "color", "look", "text", "submitBehavior", "cancelBehavior", "toggleable", "selected"], outputs: ["onBlur", "onFocus", "onClick", "selectedChange", "toggleableChange"] }, { type: AXDecoratorIconComponent, selector: "ax-icon", inputs: ["icon"] }], directives: [{ type: i1$2.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { type: i1$2.MaxLengthValidator, selector: "[maxlength][formControlName],[maxlength][formControl],[maxlength][ngModel]", inputs: ["maxlength"] }, { type: i1$2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i1$2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
6131
6312
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXPasswordBoxComponent, decorators: [{
6132
6313
  type: Component,
6133
6314
  args: [{ selector: 'ax-password-box', inputs: [
@@ -6148,13 +6329,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
6148
6329
  type: Input
6149
6330
  }] } });
6150
6331
 
6151
- const COMPONENT$7 = [AXPasswordBoxComponent];
6152
- const MODULES$7 = [
6332
+ const COMPONENT$8 = [AXPasswordBoxComponent];
6333
+ const MODULES$8 = [
6153
6334
  CommonModule,
6154
6335
  FormsModule,
6155
6336
  AXButtonModule,
6156
- AXEditorDecoratorModule,
6157
- AXIconModule
6337
+ AXDecoratorModule,
6158
6338
  ];
6159
6339
  class AXPasswordBoxModule {
6160
6340
  }
@@ -6162,15 +6342,14 @@ AXPasswordBoxModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", vers
6162
6342
  AXPasswordBoxModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXPasswordBoxModule, declarations: [AXPasswordBoxComponent], imports: [CommonModule,
6163
6343
  FormsModule,
6164
6344
  AXButtonModule,
6165
- AXEditorDecoratorModule,
6166
- AXIconModule], exports: [AXPasswordBoxComponent] });
6167
- AXPasswordBoxModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXPasswordBoxModule, providers: [], imports: [[...MODULES$7]] });
6345
+ AXDecoratorModule], exports: [AXPasswordBoxComponent] });
6346
+ AXPasswordBoxModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXPasswordBoxModule, providers: [], imports: [[...MODULES$8]] });
6168
6347
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXPasswordBoxModule, decorators: [{
6169
6348
  type: NgModule,
6170
6349
  args: [{
6171
- declarations: [...COMPONENT$7],
6172
- imports: [...MODULES$7],
6173
- exports: [...COMPONENT$7],
6350
+ declarations: [...COMPONENT$8],
6351
+ imports: [...MODULES$8],
6352
+ exports: [...COMPONENT$8],
6174
6353
  providers: [],
6175
6354
  }]
6176
6355
  }] });
@@ -6238,8 +6417,8 @@ class AXPopupComponent extends AXBaseComponentMixin {
6238
6417
  const main = this._getHostElement().querySelector('.ax-popup-main-container');
6239
6418
  const popHeader = this._getHostElement().querySelector('.ax-popup-header-container');
6240
6419
  const popFooter = this._getHostElement().querySelector('.ax-popup-footer-container');
6241
- const footer = main.querySelector('ax-page-footer');
6242
- const header = main.querySelector('ax-page-header');
6420
+ const footer = main.querySelector('ax-footer');
6421
+ const header = main.querySelector('ax-header');
6243
6422
  if (footer) {
6244
6423
  popFooter.append(footer);
6245
6424
  }
@@ -6277,10 +6456,10 @@ class AXPopupComponent extends AXBaseComponentMixin {
6277
6456
  onFullScreen() { }
6278
6457
  }
6279
6458
  AXPopupComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXPopupComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: i0.NgZone }, { token: i0.ViewContainerRef }, { token: AXLoadingService }, { token: i1$4.AXPlatform }], target: i0.ɵɵFactoryTarget.Component });
6280
- AXPopupComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: AXPopupComponent, selector: "ax-popup", host: { listeners: { "keydown.escape": "onKeydownHandler($event)" } }, usesInheritance: true, ngImport: i0, template: "<div class=\"ax-popup-wrapper\" aria-modal=\"true\" [cdkTrapFocus]=\"true\">\r\n <div class=\"ax-popup ax-popup-{{size}}\" tabindex=\"0\" cdkDrag [cdkDragDisabled]=\"!draggable\">\r\n <div cdkDragHandle class=\"ax-popup-header-container\">\r\n <ng-container *ngIf=\"showHeader\">\r\n <div class=\"ax-popup-header\">\r\n <span>{{title}}</span>\r\n <i class=\"ax-ic ax-ic-close\" *ngIf=\"showCloseButton\" (click)=\"_handleCloseClick()\" tabindex=\"1\"></i>\r\n </div>\r\n </ng-container>\r\n </div>\r\n <div class=\"ax-popup-main-container\">\r\n <ng-template [cdkPortalOutlet]=\"_selectedPortal\" (attached)=\"_handleAttched($event)\"></ng-template>\r\n </div>\r\n <div class=\"ax-popup-footer-container\"></div>\r\n\r\n </div>\r\n</div>", directives: [{ type: i2$1.CdkTrapFocus, selector: "[cdkTrapFocus]", inputs: ["cdkTrapFocus", "cdkTrapFocusAutoCapture"], exportAs: ["cdkTrapFocus"] }, { type: i3.CdkDrag, selector: "[cdkDrag]", inputs: ["cdkDragData", "cdkDragLockAxis", "cdkDragRootElement", "cdkDragBoundary", "cdkDragStartDelay", "cdkDragFreeDragPosition", "cdkDragDisabled", "cdkDragConstrainPosition", "cdkDragPreviewClass", "cdkDragPreviewContainer"], outputs: ["cdkDragStarted", "cdkDragReleased", "cdkDragEnded", "cdkDragEntered", "cdkDragExited", "cdkDragDropped", "cdkDragMoved"], exportAs: ["cdkDrag"] }, { type: i3.CdkDragHandle, selector: "[cdkDragHandle]", inputs: ["cdkDragHandleDisabled"] }, { type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1$3.CdkPortalOutlet, selector: "[cdkPortalOutlet]", inputs: ["cdkPortalOutlet"], outputs: ["attached"], exportAs: ["cdkPortalOutlet"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
6459
+ AXPopupComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: AXPopupComponent, selector: "ax-popup", host: { listeners: { "keydown.escape": "onKeydownHandler($event)" } }, providers: [{ provide: AXClosbaleComponent, useExisting: AXPopupComponent }], usesInheritance: true, ngImport: i0, template: "<div class=\"ax-popup-wrapper\" aria-modal=\"true\" [cdkTrapFocus]=\"true\">\r\n <div class=\"ax-popup ax-popup-{{size}}\" tabindex=\"0\" cdkDrag [cdkDragDisabled]=\"!draggable\">\r\n <div cdkDragHandle class=\"ax-popup-header-container\">\r\n <ax-header *ngIf=\"showHeader\">\r\n <ax-title [text]=\"title\"></ax-title>\r\n <ax-close-button *ngIf=\"showCloseButton\"></ax-close-button>\r\n </ax-header>\r\n </div>\r\n <div class=\"ax-popup-main-container\">\r\n <ng-template [cdkPortalOutlet]=\"_selectedPortal\" (attached)=\"_handleAttched($event)\"></ng-template>\r\n </div>\r\n <div class=\"ax-popup-footer-container\"></div>\r\n </div>\r\n</div>", components: [{ type: AXDecoratorHeaderComponent, selector: "ax-header" }, { type: AXDecoratorTitleComponent, selector: "ax-title", inputs: ["text"] }, { type: AXDecoratorCloseButtonComponent, selector: "ax-close-button", inputs: ["icon"] }], directives: [{ type: i2$1.CdkTrapFocus, selector: "[cdkTrapFocus]", inputs: ["cdkTrapFocus", "cdkTrapFocusAutoCapture"], exportAs: ["cdkTrapFocus"] }, { type: i3.CdkDrag, selector: "[cdkDrag]", inputs: ["cdkDragData", "cdkDragLockAxis", "cdkDragRootElement", "cdkDragBoundary", "cdkDragStartDelay", "cdkDragFreeDragPosition", "cdkDragDisabled", "cdkDragConstrainPosition", "cdkDragPreviewClass", "cdkDragPreviewContainer"], outputs: ["cdkDragStarted", "cdkDragReleased", "cdkDragEnded", "cdkDragEntered", "cdkDragExited", "cdkDragDropped", "cdkDragMoved"], exportAs: ["cdkDrag"] }, { type: i3.CdkDragHandle, selector: "[cdkDragHandle]", inputs: ["cdkDragHandleDisabled"] }, { type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1$3.CdkPortalOutlet, selector: "[cdkPortalOutlet]", inputs: ["cdkPortalOutlet"], outputs: ["attached"], exportAs: ["cdkPortalOutlet"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
6281
6460
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXPopupComponent, decorators: [{
6282
6461
  type: Component,
6283
- args: [{ selector: 'ax-popup', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, template: "<div class=\"ax-popup-wrapper\" aria-modal=\"true\" [cdkTrapFocus]=\"true\">\r\n <div class=\"ax-popup ax-popup-{{size}}\" tabindex=\"0\" cdkDrag [cdkDragDisabled]=\"!draggable\">\r\n <div cdkDragHandle class=\"ax-popup-header-container\">\r\n <ng-container *ngIf=\"showHeader\">\r\n <div class=\"ax-popup-header\">\r\n <span>{{title}}</span>\r\n <i class=\"ax-ic ax-ic-close\" *ngIf=\"showCloseButton\" (click)=\"_handleCloseClick()\" tabindex=\"1\"></i>\r\n </div>\r\n </ng-container>\r\n </div>\r\n <div class=\"ax-popup-main-container\">\r\n <ng-template [cdkPortalOutlet]=\"_selectedPortal\" (attached)=\"_handleAttched($event)\"></ng-template>\r\n </div>\r\n <div class=\"ax-popup-footer-container\"></div>\r\n\r\n </div>\r\n</div>" }]
6462
+ args: [{ selector: 'ax-popup', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, providers: [{ provide: AXClosbaleComponent, useExisting: AXPopupComponent }], template: "<div class=\"ax-popup-wrapper\" aria-modal=\"true\" [cdkTrapFocus]=\"true\">\r\n <div class=\"ax-popup ax-popup-{{size}}\" tabindex=\"0\" cdkDrag [cdkDragDisabled]=\"!draggable\">\r\n <div cdkDragHandle class=\"ax-popup-header-container\">\r\n <ax-header *ngIf=\"showHeader\">\r\n <ax-title [text]=\"title\"></ax-title>\r\n <ax-close-button *ngIf=\"showCloseButton\"></ax-close-button>\r\n </ax-header>\r\n </div>\r\n <div class=\"ax-popup-main-container\">\r\n <ng-template [cdkPortalOutlet]=\"_selectedPortal\" (attached)=\"_handleAttched($event)\"></ng-template>\r\n </div>\r\n <div class=\"ax-popup-footer-container\"></div>\r\n </div>\r\n</div>" }]
6284
6463
  }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: i0.NgZone }, { type: i0.ViewContainerRef }, { type: AXLoadingService }, { type: i1$4.AXPlatform }]; }, propDecorators: { onKeydownHandler: [{
6285
6464
  type: HostListener,
6286
6465
  args: ['keydown.escape', ['$event']]
@@ -6377,19 +6556,19 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
6377
6556
  args: [{ providedIn: 'root' }]
6378
6557
  }], ctorParameters: function () { return [{ type: AXOverlayService }]; } });
6379
6558
 
6380
- const COMPONENT$6 = [AXPopupComponent];
6381
- const MODULES$6 = [CommonModule, DragDropModule, A11yModule, AXButtonModule, PortalModule];
6559
+ const COMPONENT$7 = [AXPopupComponent];
6560
+ const MODULES$7 = [CommonModule, DragDropModule, A11yModule, AXButtonModule, PortalModule, AXDecoratorModule];
6382
6561
  class AXPopupModule {
6383
6562
  }
6384
6563
  AXPopupModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXPopupModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
6385
- AXPopupModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXPopupModule, declarations: [AXPopupComponent], imports: [CommonModule, DragDropModule, A11yModule, AXButtonModule, PortalModule], exports: [AXPopupComponent] });
6386
- AXPopupModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXPopupModule, providers: [], imports: [[...MODULES$6]] });
6564
+ AXPopupModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXPopupModule, declarations: [AXPopupComponent], imports: [CommonModule, DragDropModule, A11yModule, AXButtonModule, PortalModule, AXDecoratorModule], exports: [AXPopupComponent] });
6565
+ AXPopupModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXPopupModule, providers: [], imports: [[...MODULES$7]] });
6387
6566
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXPopupModule, decorators: [{
6388
6567
  type: NgModule,
6389
6568
  args: [{
6390
- declarations: [...COMPONENT$6],
6391
- imports: [...MODULES$6],
6392
- exports: [...COMPONENT$6],
6569
+ declarations: [...COMPONENT$7],
6570
+ imports: [...MODULES$7],
6571
+ exports: [...COMPONENT$7],
6393
6572
  providers: [],
6394
6573
  }]
6395
6574
  }] });
@@ -6467,19 +6646,19 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
6467
6646
  args: [{ selector: 'ax-radio', inputs: [...INTERACTIVE_INPUTS, ...VALUE_INPUTS], outputs: [...INTERACTIVE_OUTPUT, ...VALUE_OUTPUT], changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, host: { class: 'ax-radio' }, template: "<div class=\"ax-flex ax-items-start\">\n <div class=\"ax-flex ax-items-center ax-h-5\">\n <input [id]=\"id\" class=\"ax-radio\" type=\"radio\" [(ngModel)]=\"value\" [checked]=\"value\" [disabled]=\"disabled\" [readonly]=\"readonly\" [tabindex]=\"tabIndex\" (click)=\"_handleOnClickEvent($event)\" (focus)=\"_emitOnFocusEvent($event)\"\n (blur)=\"_emitOnBlurEvent($event)\">\n </div>\n <div class=\"ax-ms-3 ax-text-sm\">\n <ng-content select=\"ax-label\"></ng-content>\n <ng-content select=\"ax-form-hint\"></ng-content>\n </div>\n</div>\n<ng-content select=\"ax-validation-rule\"></ng-content>" }]
6468
6647
  }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; } });
6469
6648
 
6470
- const COMPONENT$5 = [AXRadioComponent];
6471
- const MODULES$5 = [CommonModule, FormsModule];
6649
+ const COMPONENT$6 = [AXRadioComponent];
6650
+ const MODULES$6 = [CommonModule, FormsModule];
6472
6651
  class AXRadioModule {
6473
6652
  }
6474
6653
  AXRadioModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXRadioModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
6475
6654
  AXRadioModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXRadioModule, declarations: [AXRadioComponent], imports: [CommonModule, FormsModule], exports: [AXRadioComponent] });
6476
- AXRadioModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXRadioModule, providers: [], imports: [[...MODULES$5]] });
6655
+ AXRadioModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXRadioModule, providers: [], imports: [[...MODULES$6]] });
6477
6656
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXRadioModule, decorators: [{
6478
6657
  type: NgModule,
6479
6658
  args: [{
6480
- declarations: [...COMPONENT$5],
6481
- imports: [...MODULES$5],
6482
- exports: [...COMPONENT$5],
6659
+ declarations: [...COMPONENT$6],
6660
+ imports: [...MODULES$6],
6661
+ exports: [...COMPONENT$6],
6483
6662
  providers: [],
6484
6663
  }]
6485
6664
  }] });
@@ -6497,19 +6676,19 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
6497
6676
  args: [{ selector: 'ax-range-slider', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, host: { class: 'ax-range-slider' }, template: "<input type=\"range\" min=\"1\" max=\"100\" value=\"50\" class=\"ax-range-slider-input\">" }]
6498
6677
  }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; } });
6499
6678
 
6500
- const COMPONENT$4 = [AXRangeSliderComponent];
6501
- const MODULES$4 = [CommonModule];
6679
+ const COMPONENT$5 = [AXRangeSliderComponent];
6680
+ const MODULES$5 = [CommonModule];
6502
6681
  class AXRangeSliderModule {
6503
6682
  }
6504
6683
  AXRangeSliderModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXRangeSliderModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
6505
6684
  AXRangeSliderModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXRangeSliderModule, declarations: [AXRangeSliderComponent], imports: [CommonModule], exports: [AXRangeSliderComponent] });
6506
- AXRangeSliderModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXRangeSliderModule, providers: [], imports: [[...MODULES$4]] });
6685
+ AXRangeSliderModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXRangeSliderModule, providers: [], imports: [[...MODULES$5]] });
6507
6686
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXRangeSliderModule, decorators: [{
6508
6687
  type: NgModule,
6509
6688
  args: [{
6510
- declarations: [...COMPONENT$4],
6511
- imports: [...MODULES$4],
6512
- exports: [...COMPONENT$4],
6689
+ declarations: [...COMPONENT$5],
6690
+ imports: [...MODULES$5],
6691
+ exports: [...COMPONENT$5],
6513
6692
  providers: [],
6514
6693
  }]
6515
6694
  }] });
@@ -6601,6 +6780,64 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
6601
6780
  }]
6602
6781
  }] });
6603
6782
 
6783
+ class AXSearchBoxComponent extends AXBaseComponentMixin {
6784
+ constructor(_elementRef, _cdr, _parent) {
6785
+ super(_elementRef, _cdr);
6786
+ this._parent = _parent;
6787
+ this.placeholder = 'common.search';
6788
+ this.debounceTime = 300;
6789
+ this.searchExp = null;
6790
+ }
6791
+ _onSearchExprChanged(e) {
6792
+ if (this._parent && this._parent.search) {
6793
+ this._parent.search(e.value);
6794
+ }
6795
+ }
6796
+ focus() {
6797
+ var _a;
6798
+ (_a = this._textbox) === null || _a === void 0 ? void 0 : _a.focus();
6799
+ }
6800
+ }
6801
+ AXSearchBoxComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXSearchBoxComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: AXSearchableComponent, optional: true }], target: i0.ɵɵFactoryTarget.Component });
6802
+ AXSearchBoxComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: AXSearchBoxComponent, selector: "ax-search-box", inputs: { placeholder: "placeholder", debounceTime: "debounceTime", searchExp: "searchExp" }, viewQueries: [{ propertyName: "_textbox", first: true, predicate: AXTextBoxComponent, descendants: true }], usesInheritance: true, ngImport: i0, template: "<ax-text-box placeholder=\"{{ placeholder | trans }}\" [debounceTime]=\"debounceTime\" \r\n [(value)]=\"searchExp\" (onValueChanged)=\"_onSearchExprChanged($event)\">\r\n <ax-prefix>\r\n <ax-icon class=\"ax-ic ax-ic-magnify\">\r\n </ax-icon>\r\n </ax-prefix>\r\n</ax-text-box>", components: [{ type: AXTextBoxComponent, selector: "ax-text-box", inputs: ["disabled", "tabIndex", "readonly", "allowNull", "value", "debounceTime", "name", "checked", "placeholder", "maxLength", "type", "autoComplete"], outputs: ["onBlur", "onFocus", "valueChange", "onValueChanged"] }, { type: AXDecoratorPrefixComponent, selector: "ax-prefix" }, { type: AXDecoratorIconComponent, selector: "ax-icon", inputs: ["icon"] }], pipes: { "trans": i1$4.AXTranslatorPipe }, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
6803
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXSearchBoxComponent, decorators: [{
6804
+ type: Component,
6805
+ args: [{ selector: 'ax-search-box', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, template: "<ax-text-box placeholder=\"{{ placeholder | trans }}\" [debounceTime]=\"debounceTime\" \r\n [(value)]=\"searchExp\" (onValueChanged)=\"_onSearchExprChanged($event)\">\r\n <ax-prefix>\r\n <ax-icon class=\"ax-ic ax-ic-magnify\">\r\n </ax-icon>\r\n </ax-prefix>\r\n</ax-text-box>" }]
6806
+ }], ctorParameters: function () {
6807
+ return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: AXSearchableComponent, decorators: [{
6808
+ type: Optional
6809
+ }, {
6810
+ type: Inject,
6811
+ args: [AXSearchableComponent]
6812
+ }] }];
6813
+ }, propDecorators: { _textbox: [{
6814
+ type: ViewChild,
6815
+ args: [AXTextBoxComponent]
6816
+ }], placeholder: [{
6817
+ type: Input
6818
+ }], debounceTime: [{
6819
+ type: Input
6820
+ }], searchExp: [{
6821
+ type: Input
6822
+ }] } });
6823
+
6824
+ const COMPONENT$4 = [AXSearchBoxComponent];
6825
+ const MODULES$4 = [CommonModule, AXTranslationModule, AXDecoratorModule, AXTextBoxModule];
6826
+ class AXSearchBoxModule {
6827
+ }
6828
+ AXSearchBoxModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXSearchBoxModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
6829
+ AXSearchBoxModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXSearchBoxModule, declarations: [AXSearchBoxComponent], imports: [CommonModule, AXTranslationModule, AXDecoratorModule, AXTextBoxModule], exports: [AXSearchBoxComponent] });
6830
+ AXSearchBoxModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXSearchBoxModule, providers: [], imports: [[...MODULES$4]] });
6831
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXSearchBoxModule, decorators: [{
6832
+ type: NgModule,
6833
+ args: [{
6834
+ declarations: [...COMPONENT$4],
6835
+ imports: [...MODULES$4],
6836
+ exports: [...COMPONENT$4],
6837
+ providers: [],
6838
+ }]
6839
+ }] });
6840
+
6604
6841
  /**
6605
6842
  * The Button is a component which detects user interaction and triggers a corresponding event
6606
6843
  *
@@ -6620,7 +6857,6 @@ class AXSelectBoxComponent extends AXBaseSelectionDropdownMixin {
6620
6857
  * Defines the clearButton.
6621
6858
  */
6622
6859
  this.clearButton = false;
6623
- this._searchSettings = { enabled: false, expr: null };
6624
6860
  /**
6625
6861
  * Defines the checkbox.
6626
6862
  */
@@ -6634,15 +6870,6 @@ class AXSelectBoxComponent extends AXBaseSelectionDropdownMixin {
6634
6870
  this._popoverWidth = this._isMobile ? null : this._target.offsetWidth;
6635
6871
  });
6636
6872
  }
6637
- /**
6638
- * Defines the search.
6639
- */
6640
- get searchSettings() {
6641
- return this._searchSettings;
6642
- }
6643
- set searchSettings(v) {
6644
- this._searchSettings = v || { enabled: false, expr: null };
6645
- }
6646
6873
  get emptyTemplate() {
6647
6874
  return this._contentEmptyTemplate;
6648
6875
  }
@@ -6685,7 +6912,6 @@ class AXSelectBoxComponent extends AXBaseSelectionDropdownMixin {
6685
6912
  }
6686
6913
  _checkForLoadData() {
6687
6914
  const list = this.listContainer.nativeElement;
6688
- //const headerSize = Array.from(list.parentElement.querySelectorAll<HTMLDivElement>('.ax-header')).reduce((v, s) => v + s.offsetHeight, 0);
6689
6915
  if (this.loadedCount < this.totalCount && list.scrollHeight < ((list.parentElement.clientHeight) * 1.5)) {
6690
6916
  this._fetchData();
6691
6917
  }
@@ -6748,6 +6974,9 @@ class AXSelectBoxComponent extends AXBaseSelectionDropdownMixin {
6748
6974
  }
6749
6975
  }
6750
6976
  _handlePopoverKeydown(e) {
6977
+ var _a, _b;
6978
+ if (e.target.tagName == "INPUT" && ['Space', 'Backspace'].includes(e.code))
6979
+ return;
6751
6980
  if ((e.key === 'ArrowDown' || e.key === 'ArrowUp') && this.displayItems.length > 0) {
6752
6981
  this.isUserInput = true;
6753
6982
  this._focusItemByNav((e.key === 'ArrowDown' ? 1 : -1));
@@ -6761,8 +6990,9 @@ class AXSelectBoxComponent extends AXBaseSelectionDropdownMixin {
6761
6990
  e.preventDefault();
6762
6991
  }
6763
6992
  else if ((e.code === 'Space' || e.code === 'Enter')) {
6993
+ debugger;
6764
6994
  e.preventDefault();
6765
- const focusedItemId = this.listContainer.nativeElement.querySelector('.ax-state-focus').dataset.id;
6995
+ const focusedItemId = (_b = (_a = this.listContainer.nativeElement.querySelector('.ax-state-focus')) === null || _a === void 0 ? void 0 : _a.dataset) === null || _b === void 0 ? void 0 : _b.id;
6766
6996
  const focusedItem = _.findLast(this.flatItems, [this.valueField, focusedItemId]);
6767
6997
  if (focusedItem) {
6768
6998
  if (this.isItemDisabled(focusedItem)) {
@@ -6800,6 +7030,7 @@ class AXSelectBoxComponent extends AXBaseSelectionDropdownMixin {
6800
7030
  else {
6801
7031
  this._focusSelectedItem();
6802
7032
  }
7033
+ debugger;
6803
7034
  if (this._searchBox && !this._isMobile) {
6804
7035
  this._searchBox.focus();
6805
7036
  }
@@ -6877,33 +7108,44 @@ class AXSelectBoxComponent extends AXBaseSelectionDropdownMixin {
6877
7108
  }
6878
7109
  _onSearchExprChanged(e) {
6879
7110
  this.empty();
7111
+ this._forceFocus = true;
7112
+ this._fetchData();
7113
+ }
7114
+ search(exp) {
7115
+ debugger;
7116
+ this.empty();
7117
+ this._forceFocus = true;
6880
7118
  this._fetchData();
6881
7119
  }
6882
7120
  _fetchData() {
6883
7121
  var _a;
6884
- super._fetchData({ searchQuery: (_a = this._searchBox) === null || _a === void 0 ? void 0 : _a.value });
7122
+ super._fetchData({ searchQuery: (_a = this._searchBox) === null || _a === void 0 ? void 0 : _a.searchExp });
6885
7123
  }
6886
7124
  }
6887
7125
  AXSelectBoxComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXSelectBoxComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: i0.NgZone }, { token: i1$4.AXPlatform }], target: i0.ɵɵFactoryTarget.Component });
6888
- AXSelectBoxComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: AXSelectBoxComponent, selector: "ax-select-box", inputs: { isOpen: "isOpen", fitParent: "fitParent", dropdownWidth: "dropdownWidth", position: "position", disabled: "disabled", tabIndex: "tabIndex", readonly: "readonly", allowNull: "allowNull", value: "value", debounceTime: "debounceTime", name: "name", checked: "checked", placeholder: "placeholder", maxLength: "maxLength", type: "type", pageSize: "pageSize", valueField: "valueField", textField: "textField", items: "items", disabledField: "disabledField", disabledCallback: "disabledCallback", multiple: "multiple", selectionMode: "selectionMode", clearButton: "clearButton", searchSettings: "searchSettings", checkbox: "checkbox" }, outputs: { onOpened: "onOpened", onClosed: "onClosed", onBlur: "onBlur", onFocus: "onFocus", valueChange: "valueChange", onValueChanged: "onValueChanged", valueChanged: "valueChanged" }, host: { listeners: { "keydown": "_handleKeydown($event)" }, classAttribute: "ax-editor-container ax-drop-down" }, queries: [{ propertyName: "_contentEmptyTemplate", first: true, predicate: ["emptyTemplate"], descendants: true }], viewQueries: [{ propertyName: "popover", first: true, predicate: AXPopoverComponent, descendants: true, static: true }, { propertyName: "listContainer", first: true, predicate: ["listContainer"], descendants: true, static: true }, { propertyName: "_searchBox", first: true, predicate: ["searchBox"], descendants: true }], usesInheritance: true, ngImport: i0, template: "<ng-content select=\"ax-prefix\">\r\n</ng-content>\r\n<div class=\"ax-dropdown-content\" [class.ax-state-disabled]=\"disabled\" (click)=\"_handleInputClickEvent($event)\">\r\n <div class=\"ax-select-box-selection\" [tabindex]=\"tabIndex\" (focus)=\"_emitOnFocusEvent($event)\"\r\n (blur)=\"_emitOnBlurEvent($event)\">\r\n <ng-container *ngIf=\"selectedItems && selectedItems.length; else showPlaceholder\">\r\n <ng-container *ngIf=\"!multiple; then singleSelectedTemplate; else multipleSelectedTemplate\"></ng-container>\r\n <ng-template #singleSelectedTemplate>\r\n <ng-container *ngFor=\"let item of selectedItems\">\r\n <span class=\"ax-mx-2\"> {{ _getItemDisplayTextTemplte(item) }}</span>\r\n </ng-container>\r\n </ng-template>\r\n <ng-template #multipleSelectedTemplate>\r\n <div class=\"ax-flex ax-mx-2\">\r\n <ng-container *ngFor=\"let item of selectedItems\">\r\n <ax-badge [text]=\"_getItemDisplayTextTemplte(item)\" color=\"light\" class=\"ax-me-2\">\r\n <ax-suffix>\r\n <ax-icon icon=\"ax-ic ax-ic-close ax-cursor-pointer\"\r\n (click)=\"_handleBadgeRemove($event,item)\"></ax-icon>\r\n </ax-suffix>\r\n </ax-badge>\r\n </ng-container>\r\n </div>\r\n </ng-template>\r\n </ng-container>\r\n <ng-template #showPlaceholder>\r\n <div class=\"ax-placeholder\" role=\"textbox\" area-readonly=\"true\"> {{placeholder}}</div>\r\n </ng-template>\r\n </div>\r\n</div>\r\n<ax-button color=\"light\" look=\"blank\" (onClick)=\"clear()\" [tabIndex]=\"-1\"\r\n *ngIf=\"value && clearButton && !(disabled || readonly)\">\r\n <ax-icon icon=\"ax-ic ax-ic-close\"></ax-icon>\r\n</ax-button>\r\n<ax-button [disabled]=\"disabled\" [tabIndex]=\"-1\" color=\"light\" look=\"blank\" (onClick)=\"_handleArrowClickEvent($event)\">\r\n <ax-prefix *ngIf=\"(isLoading && !this.popover.isOpen);else icon\">\r\n <ax-loading type=\"spinner\"></ax-loading>\r\n </ax-prefix>\r\n <ng-template #icon>\r\n <ax-icon #icon icon=\"ax-ic ax-ic-chevron ax-transform ax--rotate-90\"></ax-icon>\r\n </ng-template>\r\n</ax-button>\r\n<ng-content select=\"ax-validation-rule\">\r\n</ng-content>\r\n<ng-content select=\"ax-suffix\">\r\n</ng-content>\r\n<ax-popover [target]=\"_target\" [position]=\"position\" [openTrigger]=\"'manual'\" [closeTrigger]=\"'clickout'\"\r\n (onOpened)=\"_handlePopupOnOpened($event)\" (onClosed)=\"_handlePopupOnClosed($event)\">\r\n <div class=\"ax-overlay-pane \" (keydown)=\"_handlePopoverKeydown($event)\" tabindex=\"0\" aria-modal=\"true\" cdkTrapFocus\r\n [class.ax-overlay-actionsheet]=\"_isMobile\" [class.ax-full]=\"searchSettings.enabled || isLazy\"\r\n [style.min-width.px]=\"_popoverWidth\">\r\n <div class=\"ax-list\">\r\n <div *ngIf=\"_isMobile\" class=\"ax-header\">\r\n <span>{{_popoverTitle}}</span>\r\n <i class=\"ax-ic {{multiple?'ax-ic-check !ax-text-primary-500':'ax-ic-close'}}\" (click)=\"close()\"\r\n tabindex=\"1\"></i>\r\n </div>\r\n <div *ngIf=\"searchSettings.enabled\" class=\"ax-p-2\" [cdkTrapFocus]=\"true\" class=\"ax-header\">\r\n <ax-text-box #searchBox placeholder=\"{{ 'common.search' | trans }}\" [debounceTime]=\"500\" \r\n class=\"ax-w-full ax-sm\" [(value)]=\"searchSettings.expr\" (onValueChanged)=\"_onSearchExprChanged($event)\">\r\n <ax-prefix>\r\n <ax-icon class=\"ax-ic ax-ic-magnify\">\r\n </ax-icon>\r\n </ax-prefix>\r\n </ax-text-box>\r\n </div>\r\n <div class=\"ax-content ax-list-items-container ax-default\" (scroll)=\"_handleListScroll($event)\"\r\n #listContainer>\r\n <ng-container *ngIf=\"displayItems.length; else tmpEmpty\">\r\n <ul>\r\n <ng-container *ngTemplateOutlet=\"tmpTree; context:{ list: displayItems }\">\r\n </ng-container>\r\n <ng-template #tmpTree let-list=\"list\">\r\n <ng-container *ngFor=\"let item of list;let i = index;trackBy : _trackByFunction\">\r\n <ng-container *ngIf=\"itemTemplate; else defualtTemplate\">\r\n <li class=\"ax-list-item\" (click)=\"_handleOnItemClick($event,item)\"\r\n [attr.data-id]=\"item[this.valueField]\">\r\n <ng-container\r\n *ngTemplateOutlet=\"itemTemplate; context: { $implicit: item,direction:direction}\">\r\n </ng-container>\r\n </li>\r\n </ng-container>\r\n <ng-template #defualtTemplate>\r\n <ng-container *ngIf=\"item.children?.length > 0;else tmpItem\">\r\n <li class=\"ax-list-item-group\" [attr.data-id]=\"item[this.valueField]\">\r\n <span> {{ _getItemDisplayTextTemplte(item) }}</span>\r\n <ul *ngIf=\"item.children?.length > 0\">\r\n <ng-container\r\n *ngTemplateOutlet=\"tmpTree; context:{ list: item.children }\">\r\n </ng-container>\r\n </ul>\r\n </li>\r\n </ng-container>\r\n <ng-template #tmpItem>\r\n <ng-container *ngIf=\"!multiple; else multipleTemplate\">\r\n <li class=\"ax-list-item\" [class.ax-state-selected]=\"isItemSelected(item)\"\r\n [class.ax-state-disabled]=\"isItemDisabled(item)\" [attr.tabindex]=\"i\"\r\n (click)=\"_handleOnItemClick($event,item)\"\r\n [attr.data-id]=\"item[this.valueField]\">\r\n <span> {{ _getItemDisplayTextTemplte(item) }}</span>\r\n </li>\r\n </ng-container>\r\n <ng-template #multipleTemplate>\r\n <li class=\"ax-list-item\" [class.ax-state-selected]=\"isItemSelected(item)\"\r\n [class.ax-state-disabled]=\"isItemDisabled(item)\"\r\n [class.ax-check-box]=\"checkbox\" [attr.tabindex]=\"i\"\r\n (click)=\"_handleOnItemClick($event,item)\"\r\n [attr.data-id]=\"item[this.valueField]\">\r\n <input type=\"checkbox\" [class.ax-state-disabled]=\"isItemDisabled(item)\"\r\n *ngIf=\"checkbox\" [checked]=\"isItemSelected(item)\"\r\n [disabled]=\"isItemDisabled(item)\">\r\n <span class=\"ax-ms-2\"> {{ _getItemDisplayTextTemplte(item) }}</span>\r\n </li>\r\n </ng-template>\r\n </ng-template>\r\n </ng-template>\r\n </ng-container>\r\n </ng-template>\r\n </ul>\r\n </ng-container>\r\n <ng-container *ngIf=\"isLoading\">\r\n <ng-container *ngIf=\"loadingTemplate; else elseLoadingTemplate\">\r\n <ng-container *ngTemplateOutlet=\"loadingTemplate\">\r\n </ng-container>\r\n </ng-container>\r\n <ng-template #elseLoadingTemplate>\r\n <div class=\"ax-flex ax-items-center ax-justify-center ax-p-4\">\r\n <ax-loading text=\"{{ 'layout.loading.text' | trans }}\"></ax-loading>\r\n </div>\r\n </ng-template>\r\n </ng-container>\r\n <ng-template #tmpEmpty>\r\n <ng-container *ngIf=\"!isLoading\">\r\n <ng-container *ngIf=\"emptyTemplate; else elseEmptyTemplate\">\r\n <ng-container *ngTemplateOutlet=\"emptyTemplate\">\r\n </ng-container>\r\n </ng-container>\r\n <ng-template #elseEmptyTemplate>\r\n <div class=\"ax-list-item\">\r\n {{ 'common.no-result-found' | trans }}\r\n </div>\r\n </ng-template>\r\n </ng-container>\r\n </ng-template>\r\n\r\n </div>\r\n <!-- <div class=\"ax-list-items-container ax-vertical ax-default\" [class.ax-full]=\"_isMobile\"\r\n >\r\n \r\n </div> -->\r\n <!-- <div class=\"ax-footer\">footer</div> -->\r\n </div>\r\n </div>\r\n</ax-popover>", components: [{ type: AXBadgeComponent, selector: "ax-badge", inputs: ["color", "look", "text"] }, { type: AXDecoratorSuffixComponent, selector: "ax-suffix" }, { type: AXIconComponent, selector: "ax-icon", inputs: ["icon"] }, { type: AXButtonComponent, selector: "ax-button", inputs: ["disabled", "tabIndex", "size", "color", "look", "text", "submitBehavior", "cancelBehavior", "toggleable", "selected"], outputs: ["onBlur", "onFocus", "onClick", "selectedChange", "toggleableChange"] }, { type: AXDecoratorPrefixComponent, selector: "ax-prefix" }, { type: AXLoadingComponent, selector: "ax-loading", inputs: ["visible", "type", "text"], outputs: ["visibleChange"] }, { type: AXPopoverComponent, selector: "ax-popover", inputs: ["target", "position", "openTrigger", "closeTrigger", "hasBackdrop", "backdropClass"], outputs: ["onOpened", "onClosed"] }, { type: AXTextBoxComponent, selector: "ax-text-box", inputs: ["disabled", "tabIndex", "readonly", "allowNull", "value", "debounceTime", "name", "checked", "placeholder", "maxLength", "type"], outputs: ["onBlur", "onFocus", "valueChange", "onValueChanged"] }], directives: [{ type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1$1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i2$1.CdkTrapFocus, selector: "[cdkTrapFocus]", inputs: ["cdkTrapFocus", "cdkTrapFocusAutoCapture"], exportAs: ["cdkTrapFocus"] }, { type: i1$1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }], pipes: { "trans": i1$4.AXTranslatorPipe }, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
7126
+ AXSelectBoxComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: AXSelectBoxComponent, selector: "ax-select-box", inputs: { isOpen: "isOpen", fitParent: "fitParent", dropdownWidth: "dropdownWidth", position: "position", disabled: "disabled", tabIndex: "tabIndex", readonly: "readonly", allowNull: "allowNull", value: "value", debounceTime: "debounceTime", name: "name", checked: "checked", placeholder: "placeholder", maxLength: "maxLength", type: "type", autoComplete: "autoComplete", pageSize: "pageSize", valueField: "valueField", textField: "textField", items: "items", disabledField: "disabledField", disabledCallback: "disabledCallback", multiple: "multiple", selectionMode: "selectionMode", clearButton: "clearButton", checkbox: "checkbox" }, outputs: { onOpened: "onOpened", onClosed: "onClosed", onBlur: "onBlur", onFocus: "onFocus", valueChange: "valueChange", onValueChanged: "onValueChanged", valueChanged: "valueChanged" }, host: { listeners: { "keydown": "_handleKeydown($event)" }, classAttribute: "ax-editor-container ax-drop-down" }, providers: [
7127
+ { provide: AXClosbaleComponent, useExisting: AXSelectBoxComponent },
7128
+ { provide: AXSearchableComponent, useExisting: AXSelectBoxComponent }
7129
+ ], queries: [{ propertyName: "_searchBox", first: true, predicate: AXSearchBoxComponent, descendants: true, static: true }, { propertyName: "_contentEmptyTemplate", first: true, predicate: ["emptyTemplate"], descendants: true }], viewQueries: [{ propertyName: "popover", first: true, predicate: AXPopoverComponent, descendants: true, static: true }, { propertyName: "listContainer", first: true, predicate: ["listContainer"], descendants: true, static: true }], usesInheritance: true, ngImport: i0, template: "<ng-content select=\"ax-prefix\">\r\n</ng-content>\r\n<div class=\"ax-dropdown-content\" [class.ax-state-disabled]=\"disabled\" (click)=\"_handleInputClickEvent($event)\">\r\n <div class=\"ax-select-box-selection\" [tabindex]=\"tabIndex\" (focus)=\"_emitOnFocusEvent($event)\"\r\n (blur)=\"_emitOnBlurEvent($event)\">\r\n <ng-container *ngIf=\"selectedItems && selectedItems.length; else showPlaceholder\">\r\n <ng-container *ngIf=\"!multiple; then singleSelectedTemplate; else multipleSelectedTemplate\"></ng-container>\r\n <ng-template #singleSelectedTemplate>\r\n <ng-container *ngFor=\"let item of selectedItems\">\r\n <span class=\"ax-mx-2\"> {{ _getItemDisplayTextTemplte(item) }}</span>\r\n </ng-container>\r\n </ng-template>\r\n <ng-template #multipleSelectedTemplate>\r\n <div class=\"ax-flex ax-mx-2\">\r\n <ng-container *ngFor=\"let item of selectedItems\">\r\n <ax-badge [text]=\"_getItemDisplayTextTemplte(item)\" color=\"light\" class=\"ax-me-2\">\r\n <ax-suffix>\r\n <ax-icon icon=\"ax-ic ax-ic-close ax-cursor-pointer\"\r\n (click)=\"_handleBadgeRemove($event,item)\"></ax-icon>\r\n </ax-suffix>\r\n </ax-badge>\r\n </ng-container>\r\n </div>\r\n </ng-template>\r\n </ng-container>\r\n <ng-template #showPlaceholder>\r\n <div class=\"ax-placeholder\" role=\"textbox\" area-readonly=\"true\"> {{placeholder}}</div>\r\n </ng-template>\r\n </div>\r\n</div>\r\n<ax-button color=\"light\" look=\"blank\" (onClick)=\"clear()\" [tabIndex]=\"-1\"\r\n *ngIf=\"value && clearButton && !(disabled || readonly)\">\r\n <ax-icon icon=\"ax-ic ax-ic-close\"></ax-icon>\r\n</ax-button>\r\n<ax-button [disabled]=\"disabled\" [tabIndex]=\"-1\" color=\"light\" look=\"blank\" (onClick)=\"_handleArrowClickEvent($event)\">\r\n <ax-prefix *ngIf=\"(isLoading && !this.popover.isOpen);else icon\">\r\n <ax-loading type=\"spinner\"></ax-loading>\r\n </ax-prefix>\r\n <ng-template #icon>\r\n <ax-icon #icon icon=\"ax-ic ax-ic-chevron ax-transform ax--rotate-90\"></ax-icon>\r\n </ng-template>\r\n</ax-button>\r\n<ng-content select=\"ax-validation-rule\">\r\n</ng-content>\r\n<ng-content select=\"ax-suffix\">\r\n</ng-content>\r\n<ax-popover [target]=\"_target\" [position]=\"position\" [openTrigger]=\"'manual'\" [closeTrigger]=\"'clickout'\" [adaptivityEnabled]=\"true\"\r\n (onOpened)=\"_handlePopupOnOpened($event)\" (onClosed)=\"_handlePopupOnClosed($event)\">\r\n <div class=\"ax-overlay-pane \" (keydown)=\"_handlePopoverKeydown($event)\" tabindex=\"0\" aria-modal=\"true\" cdkTrapFocus\r\n [class.ax-overlay-actionsheet]=\"_isMobile\" [class.ax-full]=\"_searchBox || isLazy\"\r\n [style.min-width.px]=\"_popoverWidth\">\r\n <div class=\"ax-list\" >\r\n <ax-header *ngIf=\"_isMobile\" >\r\n <ax-title [text]=\"_popoverTitle\"></ax-title>\r\n <ax-close-button [icon]=\"multiple?'ax-ic-check !ax-text-primary-500':'ax-ic-close'\"></ax-close-button>\r\n </ax-header>\r\n <div class=\"ax-p-2\" [class.ax-hidden]=\"!_searchBox\" [cdkTrapFocus]=\"_searchBox!=null\">\r\n <ng-content select=\"ax-search-box\" ></ng-content>\r\n </div>\r\n <div class=\"ax-content ax-list-items-container ax-default\" (scroll)=\"_handleListScroll($event)\"\r\n #listContainer>\r\n <ng-container *ngIf=\"displayItems.length; else tmpEmpty\">\r\n <ul>\r\n <ng-container *ngTemplateOutlet=\"tmpTree; context:{ list: displayItems }\">\r\n </ng-container>\r\n <ng-template #tmpTree let-list=\"list\">\r\n <ng-container *ngFor=\"let item of list;let i = index;trackBy : _trackByFunction\">\r\n <ng-container *ngIf=\"itemTemplate; else defualtTemplate\">\r\n <li class=\"ax-list-item\" (click)=\"_handleOnItemClick($event,item)\"\r\n [attr.data-id]=\"item[this.valueField]\">\r\n <ng-container\r\n *ngTemplateOutlet=\"itemTemplate; context: { $implicit: item,direction:direction}\">\r\n </ng-container>\r\n </li>\r\n </ng-container>\r\n <ng-template #defualtTemplate>\r\n <ng-container *ngIf=\"item.children?.length > 0;else tmpItem\">\r\n <li class=\"ax-list-item-group\" [attr.data-id]=\"item[this.valueField]\">\r\n <span> {{ _getItemDisplayTextTemplte(item) }}</span>\r\n <ul *ngIf=\"item.children?.length > 0\">\r\n <ng-container\r\n *ngTemplateOutlet=\"tmpTree; context:{ list: item.children }\">\r\n </ng-container>\r\n </ul>\r\n </li>\r\n </ng-container>\r\n <ng-template #tmpItem>\r\n <ng-container *ngIf=\"!multiple; else multipleTemplate\">\r\n <li class=\"ax-list-item\" [class.ax-state-selected]=\"isItemSelected(item)\"\r\n [class.ax-state-disabled]=\"isItemDisabled(item)\" [attr.tabindex]=\"i\"\r\n (click)=\"_handleOnItemClick($event,item)\"\r\n [attr.data-id]=\"item[this.valueField]\">\r\n <span> {{ _getItemDisplayTextTemplte(item) }}</span>\r\n </li>\r\n </ng-container>\r\n <ng-template #multipleTemplate>\r\n <li class=\"ax-list-item\" [class.ax-state-selected]=\"isItemSelected(item)\"\r\n [class.ax-state-disabled]=\"isItemDisabled(item)\"\r\n [class.ax-check-box]=\"checkbox\" [attr.tabindex]=\"i\"\r\n (click)=\"_handleOnItemClick($event,item)\"\r\n [attr.data-id]=\"item[this.valueField]\">\r\n <input type=\"checkbox\" [class.ax-state-disabled]=\"isItemDisabled(item)\"\r\n *ngIf=\"checkbox\" [checked]=\"isItemSelected(item)\"\r\n [disabled]=\"isItemDisabled(item)\">\r\n <span class=\"ax-ms-2\"> {{ _getItemDisplayTextTemplte(item) }}</span>\r\n </li>\r\n </ng-template>\r\n </ng-template>\r\n </ng-template>\r\n </ng-container>\r\n </ng-template>\r\n </ul>\r\n </ng-container>\r\n <ng-container *ngIf=\"isLoading\">\r\n <ng-container *ngIf=\"loadingTemplate; else elseLoadingTemplate\">\r\n <ng-container *ngTemplateOutlet=\"loadingTemplate\">\r\n </ng-container>\r\n </ng-container>\r\n <ng-template #elseLoadingTemplate>\r\n <div class=\"ax-flex ax-items-center ax-justify-center ax-p-4\">\r\n <ax-loading text=\"{{ 'layout.loading.text' | trans }}\"></ax-loading>\r\n </div>\r\n </ng-template>\r\n </ng-container>\r\n <ng-template #tmpEmpty>\r\n <ng-container *ngIf=\"!isLoading\">\r\n <ng-container *ngIf=\"emptyTemplate; else elseEmptyTemplate\">\r\n <ng-container *ngTemplateOutlet=\"emptyTemplate\">\r\n </ng-container>\r\n </ng-container>\r\n <ng-template #elseEmptyTemplate>\r\n <div class=\"ax-list-item\">\r\n {{ 'common.no-result-found' | trans }}\r\n </div>\r\n </ng-template>\r\n </ng-container>\r\n </ng-template>\r\n\r\n </div>\r\n <!-- <div class=\"ax-list-items-container ax-vertical ax-default\" [class.ax-full]=\"_isMobile\"\r\n >\r\n \r\n </div> -->\r\n <!-- <div class=\"ax-footer\">footer</div> -->\r\n </div>\r\n </div>\r\n</ax-popover>", components: [{ type: AXBadgeComponent, selector: "ax-badge", inputs: ["color", "look", "text"] }, { type: AXDecoratorSuffixComponent, selector: "ax-suffix" }, { type: AXDecoratorIconComponent, selector: "ax-icon", inputs: ["icon"] }, { type: AXButtonComponent, selector: "ax-button", inputs: ["disabled", "tabIndex", "size", "color", "look", "text", "submitBehavior", "cancelBehavior", "toggleable", "selected"], outputs: ["onBlur", "onFocus", "onClick", "selectedChange", "toggleableChange"] }, { type: AXDecoratorPrefixComponent, selector: "ax-prefix" }, { type: AXLoadingComponent, selector: "ax-loading", inputs: ["visible", "type", "text"], outputs: ["visibleChange"] }, { type: AXPopoverComponent, selector: "ax-popover", inputs: ["target", "position", "openTrigger", "closeTrigger", "hasBackdrop", "backdropClass", "adaptivityEnabled"], outputs: ["onOpened", "onClosed"] }, { type: AXDecoratorHeaderComponent, selector: "ax-header" }, { type: AXDecoratorTitleComponent, selector: "ax-title", inputs: ["text"] }, { type: AXDecoratorCloseButtonComponent, selector: "ax-close-button", inputs: ["icon"] }], directives: [{ type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1$1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i2$1.CdkTrapFocus, selector: "[cdkTrapFocus]", inputs: ["cdkTrapFocus", "cdkTrapFocusAutoCapture"], exportAs: ["cdkTrapFocus"] }, { type: i1$1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }], pipes: { "trans": i1$4.AXTranslatorPipe }, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
6889
7130
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXSelectBoxComponent, decorators: [{
6890
7131
  type: Component,
6891
- args: [{ selector: 'ax-select-box', inputs: [...DROPDOWN_INPUTS, ...INTERACTIVE_INPUTS, ...VALUE_INPUTS, ...TEXTBOX_INPUTS, ...DATALIST_INPUTS, ...SELECTION_INPUTS], outputs: [...DROPDOWN_OUTPUT, ...INTERACTIVE_OUTPUT, ...VALUE_OUTPUT, ...TEXTBOX_OUTPUT, ...SELECTION_OUTPUT], encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, host: { class: 'ax-editor-container ax-drop-down' }, template: "<ng-content select=\"ax-prefix\">\r\n</ng-content>\r\n<div class=\"ax-dropdown-content\" [class.ax-state-disabled]=\"disabled\" (click)=\"_handleInputClickEvent($event)\">\r\n <div class=\"ax-select-box-selection\" [tabindex]=\"tabIndex\" (focus)=\"_emitOnFocusEvent($event)\"\r\n (blur)=\"_emitOnBlurEvent($event)\">\r\n <ng-container *ngIf=\"selectedItems && selectedItems.length; else showPlaceholder\">\r\n <ng-container *ngIf=\"!multiple; then singleSelectedTemplate; else multipleSelectedTemplate\"></ng-container>\r\n <ng-template #singleSelectedTemplate>\r\n <ng-container *ngFor=\"let item of selectedItems\">\r\n <span class=\"ax-mx-2\"> {{ _getItemDisplayTextTemplte(item) }}</span>\r\n </ng-container>\r\n </ng-template>\r\n <ng-template #multipleSelectedTemplate>\r\n <div class=\"ax-flex ax-mx-2\">\r\n <ng-container *ngFor=\"let item of selectedItems\">\r\n <ax-badge [text]=\"_getItemDisplayTextTemplte(item)\" color=\"light\" class=\"ax-me-2\">\r\n <ax-suffix>\r\n <ax-icon icon=\"ax-ic ax-ic-close ax-cursor-pointer\"\r\n (click)=\"_handleBadgeRemove($event,item)\"></ax-icon>\r\n </ax-suffix>\r\n </ax-badge>\r\n </ng-container>\r\n </div>\r\n </ng-template>\r\n </ng-container>\r\n <ng-template #showPlaceholder>\r\n <div class=\"ax-placeholder\" role=\"textbox\" area-readonly=\"true\"> {{placeholder}}</div>\r\n </ng-template>\r\n </div>\r\n</div>\r\n<ax-button color=\"light\" look=\"blank\" (onClick)=\"clear()\" [tabIndex]=\"-1\"\r\n *ngIf=\"value && clearButton && !(disabled || readonly)\">\r\n <ax-icon icon=\"ax-ic ax-ic-close\"></ax-icon>\r\n</ax-button>\r\n<ax-button [disabled]=\"disabled\" [tabIndex]=\"-1\" color=\"light\" look=\"blank\" (onClick)=\"_handleArrowClickEvent($event)\">\r\n <ax-prefix *ngIf=\"(isLoading && !this.popover.isOpen);else icon\">\r\n <ax-loading type=\"spinner\"></ax-loading>\r\n </ax-prefix>\r\n <ng-template #icon>\r\n <ax-icon #icon icon=\"ax-ic ax-ic-chevron ax-transform ax--rotate-90\"></ax-icon>\r\n </ng-template>\r\n</ax-button>\r\n<ng-content select=\"ax-validation-rule\">\r\n</ng-content>\r\n<ng-content select=\"ax-suffix\">\r\n</ng-content>\r\n<ax-popover [target]=\"_target\" [position]=\"position\" [openTrigger]=\"'manual'\" [closeTrigger]=\"'clickout'\"\r\n (onOpened)=\"_handlePopupOnOpened($event)\" (onClosed)=\"_handlePopupOnClosed($event)\">\r\n <div class=\"ax-overlay-pane \" (keydown)=\"_handlePopoverKeydown($event)\" tabindex=\"0\" aria-modal=\"true\" cdkTrapFocus\r\n [class.ax-overlay-actionsheet]=\"_isMobile\" [class.ax-full]=\"searchSettings.enabled || isLazy\"\r\n [style.min-width.px]=\"_popoverWidth\">\r\n <div class=\"ax-list\">\r\n <div *ngIf=\"_isMobile\" class=\"ax-header\">\r\n <span>{{_popoverTitle}}</span>\r\n <i class=\"ax-ic {{multiple?'ax-ic-check !ax-text-primary-500':'ax-ic-close'}}\" (click)=\"close()\"\r\n tabindex=\"1\"></i>\r\n </div>\r\n <div *ngIf=\"searchSettings.enabled\" class=\"ax-p-2\" [cdkTrapFocus]=\"true\" class=\"ax-header\">\r\n <ax-text-box #searchBox placeholder=\"{{ 'common.search' | trans }}\" [debounceTime]=\"500\" \r\n class=\"ax-w-full ax-sm\" [(value)]=\"searchSettings.expr\" (onValueChanged)=\"_onSearchExprChanged($event)\">\r\n <ax-prefix>\r\n <ax-icon class=\"ax-ic ax-ic-magnify\">\r\n </ax-icon>\r\n </ax-prefix>\r\n </ax-text-box>\r\n </div>\r\n <div class=\"ax-content ax-list-items-container ax-default\" (scroll)=\"_handleListScroll($event)\"\r\n #listContainer>\r\n <ng-container *ngIf=\"displayItems.length; else tmpEmpty\">\r\n <ul>\r\n <ng-container *ngTemplateOutlet=\"tmpTree; context:{ list: displayItems }\">\r\n </ng-container>\r\n <ng-template #tmpTree let-list=\"list\">\r\n <ng-container *ngFor=\"let item of list;let i = index;trackBy : _trackByFunction\">\r\n <ng-container *ngIf=\"itemTemplate; else defualtTemplate\">\r\n <li class=\"ax-list-item\" (click)=\"_handleOnItemClick($event,item)\"\r\n [attr.data-id]=\"item[this.valueField]\">\r\n <ng-container\r\n *ngTemplateOutlet=\"itemTemplate; context: { $implicit: item,direction:direction}\">\r\n </ng-container>\r\n </li>\r\n </ng-container>\r\n <ng-template #defualtTemplate>\r\n <ng-container *ngIf=\"item.children?.length > 0;else tmpItem\">\r\n <li class=\"ax-list-item-group\" [attr.data-id]=\"item[this.valueField]\">\r\n <span> {{ _getItemDisplayTextTemplte(item) }}</span>\r\n <ul *ngIf=\"item.children?.length > 0\">\r\n <ng-container\r\n *ngTemplateOutlet=\"tmpTree; context:{ list: item.children }\">\r\n </ng-container>\r\n </ul>\r\n </li>\r\n </ng-container>\r\n <ng-template #tmpItem>\r\n <ng-container *ngIf=\"!multiple; else multipleTemplate\">\r\n <li class=\"ax-list-item\" [class.ax-state-selected]=\"isItemSelected(item)\"\r\n [class.ax-state-disabled]=\"isItemDisabled(item)\" [attr.tabindex]=\"i\"\r\n (click)=\"_handleOnItemClick($event,item)\"\r\n [attr.data-id]=\"item[this.valueField]\">\r\n <span> {{ _getItemDisplayTextTemplte(item) }}</span>\r\n </li>\r\n </ng-container>\r\n <ng-template #multipleTemplate>\r\n <li class=\"ax-list-item\" [class.ax-state-selected]=\"isItemSelected(item)\"\r\n [class.ax-state-disabled]=\"isItemDisabled(item)\"\r\n [class.ax-check-box]=\"checkbox\" [attr.tabindex]=\"i\"\r\n (click)=\"_handleOnItemClick($event,item)\"\r\n [attr.data-id]=\"item[this.valueField]\">\r\n <input type=\"checkbox\" [class.ax-state-disabled]=\"isItemDisabled(item)\"\r\n *ngIf=\"checkbox\" [checked]=\"isItemSelected(item)\"\r\n [disabled]=\"isItemDisabled(item)\">\r\n <span class=\"ax-ms-2\"> {{ _getItemDisplayTextTemplte(item) }}</span>\r\n </li>\r\n </ng-template>\r\n </ng-template>\r\n </ng-template>\r\n </ng-container>\r\n </ng-template>\r\n </ul>\r\n </ng-container>\r\n <ng-container *ngIf=\"isLoading\">\r\n <ng-container *ngIf=\"loadingTemplate; else elseLoadingTemplate\">\r\n <ng-container *ngTemplateOutlet=\"loadingTemplate\">\r\n </ng-container>\r\n </ng-container>\r\n <ng-template #elseLoadingTemplate>\r\n <div class=\"ax-flex ax-items-center ax-justify-center ax-p-4\">\r\n <ax-loading text=\"{{ 'layout.loading.text' | trans }}\"></ax-loading>\r\n </div>\r\n </ng-template>\r\n </ng-container>\r\n <ng-template #tmpEmpty>\r\n <ng-container *ngIf=\"!isLoading\">\r\n <ng-container *ngIf=\"emptyTemplate; else elseEmptyTemplate\">\r\n <ng-container *ngTemplateOutlet=\"emptyTemplate\">\r\n </ng-container>\r\n </ng-container>\r\n <ng-template #elseEmptyTemplate>\r\n <div class=\"ax-list-item\">\r\n {{ 'common.no-result-found' | trans }}\r\n </div>\r\n </ng-template>\r\n </ng-container>\r\n </ng-template>\r\n\r\n </div>\r\n <!-- <div class=\"ax-list-items-container ax-vertical ax-default\" [class.ax-full]=\"_isMobile\"\r\n >\r\n \r\n </div> -->\r\n <!-- <div class=\"ax-footer\">footer</div> -->\r\n </div>\r\n </div>\r\n</ax-popover>" }]
7132
+ args: [{ selector: 'ax-select-box', inputs: [...DROPDOWN_INPUTS, ...INTERACTIVE_INPUTS, ...VALUE_INPUTS, ...TEXTBOX_INPUTS, ...DATALIST_INPUTS, ...SELECTION_INPUTS], outputs: [...DROPDOWN_OUTPUT, ...INTERACTIVE_OUTPUT, ...VALUE_OUTPUT, ...TEXTBOX_OUTPUT, ...SELECTION_OUTPUT], encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, providers: [
7133
+ { provide: AXClosbaleComponent, useExisting: AXSelectBoxComponent },
7134
+ { provide: AXSearchableComponent, useExisting: AXSelectBoxComponent }
7135
+ ], host: { class: 'ax-editor-container ax-drop-down' }, template: "<ng-content select=\"ax-prefix\">\r\n</ng-content>\r\n<div class=\"ax-dropdown-content\" [class.ax-state-disabled]=\"disabled\" (click)=\"_handleInputClickEvent($event)\">\r\n <div class=\"ax-select-box-selection\" [tabindex]=\"tabIndex\" (focus)=\"_emitOnFocusEvent($event)\"\r\n (blur)=\"_emitOnBlurEvent($event)\">\r\n <ng-container *ngIf=\"selectedItems && selectedItems.length; else showPlaceholder\">\r\n <ng-container *ngIf=\"!multiple; then singleSelectedTemplate; else multipleSelectedTemplate\"></ng-container>\r\n <ng-template #singleSelectedTemplate>\r\n <ng-container *ngFor=\"let item of selectedItems\">\r\n <span class=\"ax-mx-2\"> {{ _getItemDisplayTextTemplte(item) }}</span>\r\n </ng-container>\r\n </ng-template>\r\n <ng-template #multipleSelectedTemplate>\r\n <div class=\"ax-flex ax-mx-2\">\r\n <ng-container *ngFor=\"let item of selectedItems\">\r\n <ax-badge [text]=\"_getItemDisplayTextTemplte(item)\" color=\"light\" class=\"ax-me-2\">\r\n <ax-suffix>\r\n <ax-icon icon=\"ax-ic ax-ic-close ax-cursor-pointer\"\r\n (click)=\"_handleBadgeRemove($event,item)\"></ax-icon>\r\n </ax-suffix>\r\n </ax-badge>\r\n </ng-container>\r\n </div>\r\n </ng-template>\r\n </ng-container>\r\n <ng-template #showPlaceholder>\r\n <div class=\"ax-placeholder\" role=\"textbox\" area-readonly=\"true\"> {{placeholder}}</div>\r\n </ng-template>\r\n </div>\r\n</div>\r\n<ax-button color=\"light\" look=\"blank\" (onClick)=\"clear()\" [tabIndex]=\"-1\"\r\n *ngIf=\"value && clearButton && !(disabled || readonly)\">\r\n <ax-icon icon=\"ax-ic ax-ic-close\"></ax-icon>\r\n</ax-button>\r\n<ax-button [disabled]=\"disabled\" [tabIndex]=\"-1\" color=\"light\" look=\"blank\" (onClick)=\"_handleArrowClickEvent($event)\">\r\n <ax-prefix *ngIf=\"(isLoading && !this.popover.isOpen);else icon\">\r\n <ax-loading type=\"spinner\"></ax-loading>\r\n </ax-prefix>\r\n <ng-template #icon>\r\n <ax-icon #icon icon=\"ax-ic ax-ic-chevron ax-transform ax--rotate-90\"></ax-icon>\r\n </ng-template>\r\n</ax-button>\r\n<ng-content select=\"ax-validation-rule\">\r\n</ng-content>\r\n<ng-content select=\"ax-suffix\">\r\n</ng-content>\r\n<ax-popover [target]=\"_target\" [position]=\"position\" [openTrigger]=\"'manual'\" [closeTrigger]=\"'clickout'\" [adaptivityEnabled]=\"true\"\r\n (onOpened)=\"_handlePopupOnOpened($event)\" (onClosed)=\"_handlePopupOnClosed($event)\">\r\n <div class=\"ax-overlay-pane \" (keydown)=\"_handlePopoverKeydown($event)\" tabindex=\"0\" aria-modal=\"true\" cdkTrapFocus\r\n [class.ax-overlay-actionsheet]=\"_isMobile\" [class.ax-full]=\"_searchBox || isLazy\"\r\n [style.min-width.px]=\"_popoverWidth\">\r\n <div class=\"ax-list\" >\r\n <ax-header *ngIf=\"_isMobile\" >\r\n <ax-title [text]=\"_popoverTitle\"></ax-title>\r\n <ax-close-button [icon]=\"multiple?'ax-ic-check !ax-text-primary-500':'ax-ic-close'\"></ax-close-button>\r\n </ax-header>\r\n <div class=\"ax-p-2\" [class.ax-hidden]=\"!_searchBox\" [cdkTrapFocus]=\"_searchBox!=null\">\r\n <ng-content select=\"ax-search-box\" ></ng-content>\r\n </div>\r\n <div class=\"ax-content ax-list-items-container ax-default\" (scroll)=\"_handleListScroll($event)\"\r\n #listContainer>\r\n <ng-container *ngIf=\"displayItems.length; else tmpEmpty\">\r\n <ul>\r\n <ng-container *ngTemplateOutlet=\"tmpTree; context:{ list: displayItems }\">\r\n </ng-container>\r\n <ng-template #tmpTree let-list=\"list\">\r\n <ng-container *ngFor=\"let item of list;let i = index;trackBy : _trackByFunction\">\r\n <ng-container *ngIf=\"itemTemplate; else defualtTemplate\">\r\n <li class=\"ax-list-item\" (click)=\"_handleOnItemClick($event,item)\"\r\n [attr.data-id]=\"item[this.valueField]\">\r\n <ng-container\r\n *ngTemplateOutlet=\"itemTemplate; context: { $implicit: item,direction:direction}\">\r\n </ng-container>\r\n </li>\r\n </ng-container>\r\n <ng-template #defualtTemplate>\r\n <ng-container *ngIf=\"item.children?.length > 0;else tmpItem\">\r\n <li class=\"ax-list-item-group\" [attr.data-id]=\"item[this.valueField]\">\r\n <span> {{ _getItemDisplayTextTemplte(item) }}</span>\r\n <ul *ngIf=\"item.children?.length > 0\">\r\n <ng-container\r\n *ngTemplateOutlet=\"tmpTree; context:{ list: item.children }\">\r\n </ng-container>\r\n </ul>\r\n </li>\r\n </ng-container>\r\n <ng-template #tmpItem>\r\n <ng-container *ngIf=\"!multiple; else multipleTemplate\">\r\n <li class=\"ax-list-item\" [class.ax-state-selected]=\"isItemSelected(item)\"\r\n [class.ax-state-disabled]=\"isItemDisabled(item)\" [attr.tabindex]=\"i\"\r\n (click)=\"_handleOnItemClick($event,item)\"\r\n [attr.data-id]=\"item[this.valueField]\">\r\n <span> {{ _getItemDisplayTextTemplte(item) }}</span>\r\n </li>\r\n </ng-container>\r\n <ng-template #multipleTemplate>\r\n <li class=\"ax-list-item\" [class.ax-state-selected]=\"isItemSelected(item)\"\r\n [class.ax-state-disabled]=\"isItemDisabled(item)\"\r\n [class.ax-check-box]=\"checkbox\" [attr.tabindex]=\"i\"\r\n (click)=\"_handleOnItemClick($event,item)\"\r\n [attr.data-id]=\"item[this.valueField]\">\r\n <input type=\"checkbox\" [class.ax-state-disabled]=\"isItemDisabled(item)\"\r\n *ngIf=\"checkbox\" [checked]=\"isItemSelected(item)\"\r\n [disabled]=\"isItemDisabled(item)\">\r\n <span class=\"ax-ms-2\"> {{ _getItemDisplayTextTemplte(item) }}</span>\r\n </li>\r\n </ng-template>\r\n </ng-template>\r\n </ng-template>\r\n </ng-container>\r\n </ng-template>\r\n </ul>\r\n </ng-container>\r\n <ng-container *ngIf=\"isLoading\">\r\n <ng-container *ngIf=\"loadingTemplate; else elseLoadingTemplate\">\r\n <ng-container *ngTemplateOutlet=\"loadingTemplate\">\r\n </ng-container>\r\n </ng-container>\r\n <ng-template #elseLoadingTemplate>\r\n <div class=\"ax-flex ax-items-center ax-justify-center ax-p-4\">\r\n <ax-loading text=\"{{ 'layout.loading.text' | trans }}\"></ax-loading>\r\n </div>\r\n </ng-template>\r\n </ng-container>\r\n <ng-template #tmpEmpty>\r\n <ng-container *ngIf=\"!isLoading\">\r\n <ng-container *ngIf=\"emptyTemplate; else elseEmptyTemplate\">\r\n <ng-container *ngTemplateOutlet=\"emptyTemplate\">\r\n </ng-container>\r\n </ng-container>\r\n <ng-template #elseEmptyTemplate>\r\n <div class=\"ax-list-item\">\r\n {{ 'common.no-result-found' | trans }}\r\n </div>\r\n </ng-template>\r\n </ng-container>\r\n </ng-template>\r\n\r\n </div>\r\n <!-- <div class=\"ax-list-items-container ax-vertical ax-default\" [class.ax-full]=\"_isMobile\"\r\n >\r\n \r\n </div> -->\r\n <!-- <div class=\"ax-footer\">footer</div> -->\r\n </div>\r\n </div>\r\n</ax-popover>" }]
6892
7136
  }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: i0.NgZone }, { type: i1$4.AXPlatform }]; }, propDecorators: { popover: [{
6893
7137
  type: ViewChild,
6894
7138
  args: [AXPopoverComponent, { static: true }]
7139
+ }], _searchBox: [{
7140
+ type: ContentChild,
7141
+ args: [AXSearchBoxComponent, { static: true }]
6895
7142
  }], clearButton: [{
6896
7143
  type: Input
6897
- }], searchSettings: [{
6898
- type: Input
6899
7144
  }], checkbox: [{
6900
7145
  type: Input
6901
7146
  }], listContainer: [{
6902
7147
  type: ViewChild,
6903
7148
  args: ['listContainer', { static: true }]
6904
- }], _searchBox: [{
6905
- type: ViewChild,
6906
- args: ['searchBox']
6907
7149
  }], _contentEmptyTemplate: [{
6908
7150
  type: ContentChild,
6909
7151
  args: ['emptyTemplate']
@@ -6920,9 +7162,8 @@ AXSelectBoxModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", versi
6920
7162
  FormsModule,
6921
7163
  AXCheckBoxModule,
6922
7164
  AXBadgeModule,
6923
- AXEditorDecoratorModule,
7165
+ AXDecoratorModule,
6924
7166
  AXTranslationModule,
6925
- AXIconModule,
6926
7167
  AXPopoverModule,
6927
7168
  AXButtonModule,
6928
7169
  AXLoadingModule,
@@ -6933,9 +7174,8 @@ AXSelectBoxModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", versi
6933
7174
  FormsModule,
6934
7175
  AXCheckBoxModule,
6935
7176
  AXBadgeModule,
6936
- AXEditorDecoratorModule,
7177
+ AXDecoratorModule,
6937
7178
  AXTranslationModule,
6938
- AXIconModule,
6939
7179
  AXPopoverModule,
6940
7180
  AXButtonModule,
6941
7181
  AXLoadingModule,
@@ -6950,9 +7190,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
6950
7190
  FormsModule,
6951
7191
  AXCheckBoxModule,
6952
7192
  AXBadgeModule,
6953
- AXEditorDecoratorModule,
7193
+ AXDecoratorModule,
6954
7194
  AXTranslationModule,
6955
- AXIconModule,
6956
7195
  AXPopoverModule,
6957
7196
  AXButtonModule,
6958
7197
  AXLoadingModule,
@@ -7307,11 +7546,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
7307
7546
  }], ctorParameters: function () { return [{ type: i0.ViewContainerRef }]; } });
7308
7547
 
7309
7548
  const COMPONENT$3 = [AXTabsComponent, AXTabItemComponent, AXTabContentDirective];
7310
- const MODULES$3 = [CommonModule, PortalModule, AXEditorDecoratorModule];
7549
+ const MODULES$3 = [CommonModule, PortalModule, AXDecoratorModule];
7311
7550
  class AXTabsModule {
7312
7551
  }
7313
7552
  AXTabsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXTabsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
7314
- AXTabsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXTabsModule, declarations: [AXTabsComponent, AXTabItemComponent, AXTabContentDirective], imports: [CommonModule, PortalModule, AXEditorDecoratorModule], exports: [AXTabsComponent, AXTabItemComponent, AXTabContentDirective] });
7553
+ AXTabsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXTabsModule, declarations: [AXTabsComponent, AXTabItemComponent, AXTabContentDirective], imports: [CommonModule, PortalModule, AXDecoratorModule], exports: [AXTabsComponent, AXTabItemComponent, AXTabContentDirective] });
7315
7554
  AXTabsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXTabsModule, providers: [], imports: [[...MODULES$3]] });
7316
7555
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXTabsModule, decorators: [{
7317
7556
  type: NgModule,
@@ -7333,7 +7572,7 @@ class AXTextareaComponent extends AXBaseTextBoxMixin {
7333
7572
  }
7334
7573
  }
7335
7574
  AXTextareaComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXTextareaComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
7336
- AXTextareaComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: AXTextareaComponent, selector: "ax-textarea", inputs: { disabled: "disabled", tabIndex: "tabIndex", readonly: "readonly", allowNull: "allowNull", value: "value", debounceTime: "debounceTime", name: "name", checked: "checked", placeholder: "placeholder", maxLength: "maxLength", type: "type", rows: "rows" }, outputs: { onBlur: "onBlur", onFocus: "onFocus", valueChange: "valueChange", onValueChanged: "onValueChanged" }, host: { classAttribute: "ax-textarea-container" }, usesInheritance: true, ngImport: i0, template: "<ng-content select=\"ax-prefix\"></ng-content>\r\n<textarea [attr.name]=\"name\" type=\"text\" [rows]=\"rows\" [attr.placeholder]=\"placeholder\" [attr.maxlength]=\"maxLength\"\r\n [class.ax-state-disabled]=\"disabled\" [class.ax-state-readonly]=\"readonly\" [disabled]=\"disabled\"\r\n [readonly]=\"readonly\" [tabindex]=\"tabIndex\" [(ngModel)]=\"value\" (focus)=\"_emitOnFocusEvent($event)\"\r\n (blur)=\"_emitOnBlurEvent($event)\" [attr.autocomplete]=\"autoComplete\"></textarea>\r\n<!-- <ng-content select=\"ax-suffix\"></ng-content> -->\r\n", directives: [{ type: i1$2.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { type: i1$2.MaxLengthValidator, selector: "[maxlength][formControlName],[maxlength][formControl],[maxlength][ngModel]", inputs: ["maxlength"] }, { type: i1$2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i1$2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
7575
+ AXTextareaComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: AXTextareaComponent, selector: "ax-textarea", inputs: { disabled: "disabled", tabIndex: "tabIndex", readonly: "readonly", allowNull: "allowNull", value: "value", debounceTime: "debounceTime", name: "name", checked: "checked", placeholder: "placeholder", maxLength: "maxLength", type: "type", autoComplete: "autoComplete", rows: "rows" }, outputs: { onBlur: "onBlur", onFocus: "onFocus", valueChange: "valueChange", onValueChanged: "onValueChanged" }, host: { classAttribute: "ax-textarea-container" }, usesInheritance: true, ngImport: i0, template: "<ng-content select=\"ax-prefix\"></ng-content>\r\n<textarea [attr.name]=\"name\" type=\"text\" [rows]=\"rows\" [attr.placeholder]=\"placeholder\" [attr.maxlength]=\"maxLength\"\r\n [class.ax-state-disabled]=\"disabled\" [class.ax-state-readonly]=\"readonly\" [disabled]=\"disabled\"\r\n [readonly]=\"readonly\" [tabindex]=\"tabIndex\" [(ngModel)]=\"value\" (focus)=\"_emitOnFocusEvent($event)\"\r\n (blur)=\"_emitOnBlurEvent($event)\" [attr.autocomplete]=\"autoComplete\"></textarea>\r\n<!-- <ng-content select=\"ax-suffix\"></ng-content> -->\r\n", directives: [{ type: i1$2.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { type: i1$2.MaxLengthValidator, selector: "[maxlength][formControlName],[maxlength][formControl],[maxlength][ngModel]", inputs: ["maxlength"] }, { type: i1$2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i1$2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
7337
7576
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXTextareaComponent, decorators: [{
7338
7577
  type: Component,
7339
7578
  args: [{ selector: 'ax-textarea', inputs: [...INTERACTIVE_INPUTS, ...VALUE_INPUTS, ...TEXTBOX_INPUTS], outputs: [...INTERACTIVE_OUTPUT, ...VALUE_OUTPUT, ...TEXTBOX_OUTPUT], encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, host: { class: 'ax-textarea-container' }, template: "<ng-content select=\"ax-prefix\"></ng-content>\r\n<textarea [attr.name]=\"name\" type=\"text\" [rows]=\"rows\" [attr.placeholder]=\"placeholder\" [attr.maxlength]=\"maxLength\"\r\n [class.ax-state-disabled]=\"disabled\" [class.ax-state-readonly]=\"readonly\" [disabled]=\"disabled\"\r\n [readonly]=\"readonly\" [tabindex]=\"tabIndex\" [(ngModel)]=\"value\" (focus)=\"_emitOnFocusEvent($event)\"\r\n (blur)=\"_emitOnBlurEvent($event)\" [attr.autocomplete]=\"autoComplete\"></textarea>\r\n<!-- <ng-content select=\"ax-suffix\"></ng-content> -->\r\n" }]
@@ -7598,7 +7837,7 @@ class AXTimeBoxComponent extends AXBaseTextBoxMixin {
7598
7837
  }
7599
7838
  }
7600
7839
  AXTimeBoxComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXTimeBoxComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
7601
- AXTimeBoxComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: AXTimeBoxComponent, selector: "ax-time-box", inputs: { disabled: "disabled", readonly: "readonly", tabIndex: "tabIndex", size: "size", value: "value", placeholder: "placeholder", maxLength: "maxLength", allowNull: "allowNull", debounceTime: "debounceTime", type: "type", name: "name", checked: "checked", minValue: "minValue", maxValue: "maxValue", format: "format", displayText: "displayText" }, outputs: { valueChange: "valueChange", onValueChanged: "onValueChanged", onBlur: "onBlur", onFocus: "onFocus", formatChange: "formatChange", displayTextChange: "displayTextChange" }, host: { classAttribute: "ax-editor-container ax-drop-down" }, viewQueries: [{ propertyName: "_maskDirective", first: true, predicate: IMaskDirective, descendants: true }], usesInheritance: true, ngImport: i0, template: "<ng-content select=\"ax-prefix\">\r\n</ng-content>\r\n<input class=\"ax-input\" [imask]=\"_maskObj\" [unmask]=\"false\" type=\"text\" [attr.placeholder]=\"placeholder\"\r\n [class.ax-state-disabled]=\"disabled\" [class.ax-state-readonly]=\"readonly\" [disabled]=\"disabled\"\r\n [readonly]=\"readonly\" [tabindex]=\"tabIndex\" [ngModel]=\"displayText\" \r\n (mouseup)=\"_handleOnInputClickEvent($event)\"\r\n (focus)=\"_emitOnFocusEvent($event)\"\r\n (blur)=\"_emitOnBlurEvent($event)\"\r\n (keyup)=\"_handleKeyUpEvent($event)\" \r\n (keydown)=\"_handleOnKeydownEvent($event)\" \r\n autocomplete=\"off\">\r\n\r\n<ng-content select=\"ax-suffix\">\r\n</ng-content>\r\n<ng-content select=\"ax-validation-rule\">\r\n</ng-content>", directives: [{ type: i1$2.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { type: i5.IMaskDirective, selector: "[imask]", inputs: ["imask", "unmask", "imaskElement"], outputs: ["accept", "complete"], exportAs: ["imask"] }, { type: i1$2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i1$2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
7840
+ AXTimeBoxComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: AXTimeBoxComponent, selector: "ax-time-box", inputs: { disabled: "disabled", readonly: "readonly", tabIndex: "tabIndex", size: "size", value: "value", placeholder: "placeholder", maxLength: "maxLength", allowNull: "allowNull", debounceTime: "debounceTime", type: "type", autoComplete: "autoComplete", name: "name", checked: "checked", minValue: "minValue", maxValue: "maxValue", format: "format", displayText: "displayText" }, outputs: { valueChange: "valueChange", onValueChanged: "onValueChanged", onBlur: "onBlur", onFocus: "onFocus", formatChange: "formatChange", displayTextChange: "displayTextChange" }, host: { classAttribute: "ax-editor-container ax-drop-down" }, viewQueries: [{ propertyName: "_maskDirective", first: true, predicate: IMaskDirective, descendants: true }], usesInheritance: true, ngImport: i0, template: "<ng-content select=\"ax-prefix\">\r\n</ng-content>\r\n<input class=\"ax-input\" [imask]=\"_maskObj\" [unmask]=\"false\" type=\"text\" [attr.placeholder]=\"placeholder\"\r\n [class.ax-state-disabled]=\"disabled\" [class.ax-state-readonly]=\"readonly\" [disabled]=\"disabled\"\r\n [readonly]=\"readonly\" [tabindex]=\"tabIndex\" [ngModel]=\"displayText\" \r\n (mouseup)=\"_handleOnInputClickEvent($event)\"\r\n (focus)=\"_emitOnFocusEvent($event)\"\r\n (blur)=\"_emitOnBlurEvent($event)\"\r\n (keyup)=\"_handleKeyUpEvent($event)\" \r\n (keydown)=\"_handleOnKeydownEvent($event)\" \r\n autocomplete=\"off\">\r\n\r\n<ng-content select=\"ax-suffix\">\r\n</ng-content>\r\n<ng-content select=\"ax-validation-rule\">\r\n</ng-content>", directives: [{ type: i1$2.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { type: i5.IMaskDirective, selector: "[imask]", inputs: ["imask", "unmask", "imaskElement"], outputs: ["accept", "complete"], exportAs: ["imask"] }, { type: i1$2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i1$2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
7602
7841
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXTimeBoxComponent, decorators: [{
7603
7842
  type: Component,
7604
7843
  args: [{ selector: 'ax-time-box', inputs: ['disabled', 'readonly', 'tabIndex', 'size', 'value', ...TEXTBOX_INPUTS], outputs: ['valueChange', 'onValueChanged', 'onBlur', 'onFocus', ...TEXTBOX_OUTPUT], changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, host: { class: 'ax-editor-container ax-drop-down' }, template: "<ng-content select=\"ax-prefix\">\r\n</ng-content>\r\n<input class=\"ax-input\" [imask]=\"_maskObj\" [unmask]=\"false\" type=\"text\" [attr.placeholder]=\"placeholder\"\r\n [class.ax-state-disabled]=\"disabled\" [class.ax-state-readonly]=\"readonly\" [disabled]=\"disabled\"\r\n [readonly]=\"readonly\" [tabindex]=\"tabIndex\" [ngModel]=\"displayText\" \r\n (mouseup)=\"_handleOnInputClickEvent($event)\"\r\n (focus)=\"_emitOnFocusEvent($event)\"\r\n (blur)=\"_emitOnBlurEvent($event)\"\r\n (keyup)=\"_handleKeyUpEvent($event)\" \r\n (keydown)=\"_handleOnKeydownEvent($event)\" \r\n autocomplete=\"off\">\r\n\r\n<ng-content select=\"ax-suffix\">\r\n</ng-content>\r\n<ng-content select=\"ax-validation-rule\">\r\n</ng-content>" }]
@@ -7658,13 +7897,13 @@ class AXToastComponent extends AXBaseComponentMixin {
7658
7897
  this._toastWidth = 100;
7659
7898
  }
7660
7899
  onInit() {
7661
- this._getHostElement().classList.add(`ax-${this.options.type}`);
7900
+ this._getHostElement().classList.add(`ax-${this.options.color}`);
7662
7901
  if (this.options.timeOut) {
7663
7902
  setTimeout(() => {
7664
7903
  this.close();
7665
7904
  }, this.options.timeOut);
7666
7905
  }
7667
- switch (this.options.type) {
7906
+ switch (this.options.color) {
7668
7907
  case 'success':
7669
7908
  this._icon = 'ax-ic ax-ic-check-filled';
7670
7909
  break;
@@ -7679,25 +7918,20 @@ class AXToastComponent extends AXBaseComponentMixin {
7679
7918
  break;
7680
7919
  }
7681
7920
  }
7682
- _handleButtonClick(button) {
7683
- if (button.onClick) {
7684
- button.onClick(this);
7685
- }
7686
- }
7687
7921
  }
7688
7922
  AXToastComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXToastComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
7689
- AXToastComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: AXToastComponent, selector: "ax-toast", host: { classAttribute: "ax-toast" }, usesInheritance: true, ngImport: i0, template: "<div class=\"ax-toast-icon-side\">\r\n <i class=\"ax-toast-icon {{_icon}}\"></i>\r\n</div>\r\n<div class=\"ax-toast-content-side\">\r\n <div class=\"ax-toast-title\">{{options.title}}</div>\r\n <div class=\"ax-toast-content\" *ngIf=\"options.content\">{{options.content}}</div>\r\n</div>\r\n<div class=\"ax-toast-dismiss-icon\">\r\n <i class=\"ax-ic ax-ic-close\" *ngIf=\"options.closeable\" (click)=\"close()\"></i>\r\n</div>\r\n<div class=\"ax-toast-progress ax-{{options.type}}\" [style.animation-duration.ms]=\"options.timeOut\" *ngIf=\"options.timeOut\">\r\n</div>", directives: [{ type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
7923
+ AXToastComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: AXToastComponent, selector: "ax-toast", providers: [{ provide: AXClosbaleComponent, useExisting: AXToastComponent }], usesInheritance: true, ngImport: i0, template: "<!-- <div class=\"ax-toast-header\">\r\n <div class=\"ax-toast-title\">\r\n <i class=\"ax-toast-icon {{_icon}}\"></i>\r\n <span>{{options.title}}</span>\r\n </div>\r\n <i class=\"ax-ic ax-ic-close ax-toast-dismiss-icon\" *ngIf=\"options.closeable\" (click)=\"close()\"></i>\r\n</div>\r\n<div class=\"ax-toast-content\" *ngIf=\"options.content\">{{options.content}}</div> -->\r\n\r\n<!-- <ax-header>\r\n <ax-prefix>\r\n <ax-icon *ngIf=\"_icon\" [icon]=\"_icon\"></ax-icon>\r\n <ax-title [text]=\"options.title\"></ax-title>\r\n </ax-prefix>\r\n <ax-close-button *ngIf=\"options.closeable\"></ax-close-button>\r\n</ax-header>\r\n<ax-content *ngIf=\"options.content\">\r\n {{options.content}}\r\n <ax-footer *ngIf=\"options?.buttons?.length\">\r\n <ng-container >\r\n <ax-button *ngFor=\"let button of options.buttons\" [text]=\"button.text\" [text]=\"button.text\"\r\n (onClick)=\"button.onClick\" [class]=\"button.cssClass\"></ax-button>\r\n </ng-container>\r\n </ax-footer>\r\n</ax-content>\r\n<div class=\"ax-toast-progress ax-{{options.type}}\" [style.animation-duration.ms]=\"options.timeOut\"\r\n *ngIf=\"options.timeOut\">\r\n</div> -->\r\n<ax-alert [color]=\"options.color\" [look]=\"options.look\" [timeOut]=\"options.timeOut\">\r\n <ax-header *ngIf=\"options.title\">\r\n <ax-icon *ngIf=\"_icon\" [icon]=\"_icon\"></ax-icon>\r\n <ax-title [text]=\"options.title\"></ax-title>\r\n </ax-header>\r\n <ax-content *ngIf=\"options.content\">\r\n <ax-icon *ngIf=\"_icon && !options.title\" [icon]=\"_icon\"></ax-icon>\r\n {{options.content}}\r\n </ax-content>\r\n <ax-footer *ngIf=\"options?.buttons?.length\">\r\n <ng-container>\r\n <ax-button *ngFor=\"let button of options.buttons\" [text]=\"button.text\" [text]=\"button.text\"\r\n (onClick)=\"button.onClick\" [class]=\"button.cssClass\"></ax-button>\r\n </ng-container>\r\n </ax-footer>\r\n</ax-alert>", components: [{ type: AXAlertComponent, selector: "ax-alert", inputs: ["color", "look", "timeOut", "visible"] }, { type: AXDecoratorHeaderComponent, selector: "ax-header" }, { type: AXDecoratorIconComponent, selector: "ax-icon", inputs: ["icon"] }, { type: AXDecoratorTitleComponent, selector: "ax-title", inputs: ["text"] }, { type: AXDecoratorContentComponent, selector: "ax-content" }, { type: AXDecoratorFooterComponent, selector: "ax-footer" }, { type: AXButtonComponent, selector: "ax-button", inputs: ["disabled", "tabIndex", "size", "color", "look", "text", "submitBehavior", "cancelBehavior", "toggleable", "selected"], outputs: ["onBlur", "onFocus", "onClick", "selectedChange", "toggleableChange"] }], directives: [{ type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1$1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
7690
7924
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXToastComponent, decorators: [{
7691
7925
  type: Component,
7692
- args: [{ selector: 'ax-toast', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, host: { class: 'ax-toast' }, template: "<div class=\"ax-toast-icon-side\">\r\n <i class=\"ax-toast-icon {{_icon}}\"></i>\r\n</div>\r\n<div class=\"ax-toast-content-side\">\r\n <div class=\"ax-toast-title\">{{options.title}}</div>\r\n <div class=\"ax-toast-content\" *ngIf=\"options.content\">{{options.content}}</div>\r\n</div>\r\n<div class=\"ax-toast-dismiss-icon\">\r\n <i class=\"ax-ic ax-ic-close\" *ngIf=\"options.closeable\" (click)=\"close()\"></i>\r\n</div>\r\n<div class=\"ax-toast-progress ax-{{options.type}}\" [style.animation-duration.ms]=\"options.timeOut\" *ngIf=\"options.timeOut\">\r\n</div>" }]
7926
+ args: [{ selector: 'ax-toast', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, providers: [{ provide: AXClosbaleComponent, useExisting: AXToastComponent }], template: "<!-- <div class=\"ax-toast-header\">\r\n <div class=\"ax-toast-title\">\r\n <i class=\"ax-toast-icon {{_icon}}\"></i>\r\n <span>{{options.title}}</span>\r\n </div>\r\n <i class=\"ax-ic ax-ic-close ax-toast-dismiss-icon\" *ngIf=\"options.closeable\" (click)=\"close()\"></i>\r\n</div>\r\n<div class=\"ax-toast-content\" *ngIf=\"options.content\">{{options.content}}</div> -->\r\n\r\n<!-- <ax-header>\r\n <ax-prefix>\r\n <ax-icon *ngIf=\"_icon\" [icon]=\"_icon\"></ax-icon>\r\n <ax-title [text]=\"options.title\"></ax-title>\r\n </ax-prefix>\r\n <ax-close-button *ngIf=\"options.closeable\"></ax-close-button>\r\n</ax-header>\r\n<ax-content *ngIf=\"options.content\">\r\n {{options.content}}\r\n <ax-footer *ngIf=\"options?.buttons?.length\">\r\n <ng-container >\r\n <ax-button *ngFor=\"let button of options.buttons\" [text]=\"button.text\" [text]=\"button.text\"\r\n (onClick)=\"button.onClick\" [class]=\"button.cssClass\"></ax-button>\r\n </ng-container>\r\n </ax-footer>\r\n</ax-content>\r\n<div class=\"ax-toast-progress ax-{{options.type}}\" [style.animation-duration.ms]=\"options.timeOut\"\r\n *ngIf=\"options.timeOut\">\r\n</div> -->\r\n<ax-alert [color]=\"options.color\" [look]=\"options.look\" [timeOut]=\"options.timeOut\">\r\n <ax-header *ngIf=\"options.title\">\r\n <ax-icon *ngIf=\"_icon\" [icon]=\"_icon\"></ax-icon>\r\n <ax-title [text]=\"options.title\"></ax-title>\r\n </ax-header>\r\n <ax-content *ngIf=\"options.content\">\r\n <ax-icon *ngIf=\"_icon && !options.title\" [icon]=\"_icon\"></ax-icon>\r\n {{options.content}}\r\n </ax-content>\r\n <ax-footer *ngIf=\"options?.buttons?.length\">\r\n <ng-container>\r\n <ax-button *ngFor=\"let button of options.buttons\" [text]=\"button.text\" [text]=\"button.text\"\r\n (onClick)=\"button.onClick\" [class]=\"button.cssClass\"></ax-button>\r\n </ng-container>\r\n </ax-footer>\r\n</ax-alert>" }]
7693
7927
  }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; } });
7694
7928
 
7695
7929
  const COMPONENT$1 = [AXToastComponent];
7696
- const MODULES$1 = [CommonModule, AXButtonModule];
7930
+ const MODULES$1 = [CommonModule, AXButtonModule, AXDecoratorModule, AXAlertModule];
7697
7931
  class AXToastModule {
7698
7932
  }
7699
7933
  AXToastModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXToastModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
7700
- AXToastModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXToastModule, declarations: [AXToastComponent], imports: [CommonModule, AXButtonModule], exports: [AXToastComponent] });
7934
+ AXToastModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXToastModule, declarations: [AXToastComponent], imports: [CommonModule, AXButtonModule, AXDecoratorModule, AXAlertModule], exports: [AXToastComponent] });
7701
7935
  AXToastModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXToastModule, providers: [], imports: [[...MODULES$1]] });
7702
7936
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXToastModule, decorators: [{
7703
7937
  type: NgModule,
@@ -7715,32 +7949,60 @@ class AXToastService {
7715
7949
  this.parentInjector = parentInjector;
7716
7950
  this._activeList = [];
7717
7951
  }
7952
+ primary(content) {
7953
+ this.show({
7954
+ timeOut: 2500,
7955
+ color: 'primary',
7956
+ content: content
7957
+ });
7958
+ }
7959
+ secondary(content) {
7960
+ this.show({
7961
+ timeOut: 2500,
7962
+ color: 'secondary',
7963
+ content: content
7964
+ });
7965
+ }
7718
7966
  info(content) {
7719
7967
  this.show({
7720
7968
  timeOut: 2500,
7721
- type: 'info',
7722
- title: content
7969
+ color: 'info',
7970
+ content: content
7723
7971
  });
7724
7972
  }
7725
7973
  success(content) {
7726
7974
  this.show({
7727
7975
  timeOut: 2500,
7728
- type: 'success',
7729
- title: content
7976
+ color: 'success',
7977
+ content: content
7730
7978
  });
7731
7979
  }
7732
7980
  warning(content) {
7733
7981
  this.show({
7734
7982
  timeOut: 2500,
7735
- type: 'warning',
7736
- title: content
7983
+ color: 'warning',
7984
+ content: content
7737
7985
  });
7738
7986
  }
7739
7987
  danger(content) {
7740
7988
  this.show({
7741
7989
  timeOut: 2500,
7742
- type: 'danger',
7743
- title: content
7990
+ color: 'danger',
7991
+ content: content
7992
+ });
7993
+ }
7994
+ light(content) {
7995
+ this.show({
7996
+ timeOut: 2500,
7997
+ color: 'light',
7998
+ content: content
7999
+ });
8000
+ }
8001
+ dark(content) {
8002
+ this.show({
8003
+ timeOut: 2500,
8004
+ color: 'dark',
8005
+ content: content
7744
8006
  });
7745
8007
  }
7746
8008
  show(options) {
@@ -8214,5 +8476,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
8214
8476
  * Generated bundle index. Do not edit.
8215
8477
  */
8216
8478
 
8217
- export { AXActionSheetComponent, AXActionSheetItemComponent, AXActionSheetModule, AXAlertButtonComponent, AXAlertComponent, AXAlertContentComponent, AXAlertFooterComponent, AXAlertModule, AXAlertSuffixComponent, AXAlertTitleComponent, AXAvatarComponent, AXAvatarGroup, AXAvatarMixin, AXAvatarModule, AXBadgeComponent, AXBadgeModule, AXBaseAlertMixin, AXBaseBadgeMixin, AXBaseButtonMixin, AXBaseClickableMixin, AXBaseComponent, AXBaseComponentMixin, AXBaseDatePickerMixin, AXBaseDropdownMixin, AXBaseItemButtonMixin, AXBaseMenuMixin, AXBasePageComponent, AXBaseSelectionDropdownMixin, AXBaseSelectionValueMixin, AXBaseTabItemMixin, AXBaseTextBoxMixin, AXBaseValueComponentMixin, AXBaseValueDropdownMixin, AXBreadCrumbsComponent, AXBreadCrumbsItemComponent, AXBreadcrumbsModule, AXButtonClickEvent, AXButtonComponent, AXButtonGroupComponent, AXButtonItemComponent, AXButtonModule, AXCalendarComponent, AXCalendarComponentMixin, AXCalendarModule, AXCarouselArrowsComponent, AXCarouselComponent, AXCarouselCore, AXCarouselItemComponent, AXCarouselModule, AXCarouselPagerComponent, AXCheckBoxComponent, AXCheckBoxModule, AXClickEvent, AXCollapseComponent, AXCollapseGroupComponent, AXCollapseModule, AXCommonModule, AXDataListComponent, AXDataListModule, AXDatePickerComponent, AXDatepickerModule, AXDecoratorAddOnComponent, AXDecoratorContentComponent, AXDecoratorHeaderComponent, AXDecoratorPrefixComponent, AXDecoratorSuffixComponent, AXDialogComponent, AXDialogModule, AXDialogService, AXDrawerComponent, AXDrawerContainerComponent, AXDrawerContentComponent, AXDrawerModule, AXDropdownModule, AXDropdownPanelComponent, AXEditorDecoratorModule, AXEvent, AXFocusEvent, AXFormComponent, AXFormFieldComponent, AXFormHintComponent, AXFormModule, AXHtmlEvent, AXIconComponent, AXIconModule, AXInfiniteScrollerDirective, AXInlineCalendarComponent, AXInputMaskComponent, AXInputMaskModule, AXInteractiveComponenetMixin, AXItemClickEvent, AXLabelComponent, AXLabelModule, AXLoadingComponent, AXLoadingDirective, AXLoadingModule, AXLoadingService, AXLoadingSpinnerComponent, AXMenuComponent, AXMenuModule, AXNumberBoxComponent, AXNumberBoxModule, AXOverlayService, AXPageCloseEvent, AXPageClosedPromise, AXPageClosing, AXPageComponent, AXPageFooterComponent, AXPageHeaderComponent, AXPageModule, AXPageResult, AXPasswordBoxComponent, AXPasswordBoxModule, AXPickerComponent, AXPickerModule, AXPopoverComponent, AXPopoverModule, AXPopupComponent, AXPopupModule, AXPopupService, AXProgressBarComponent, AXProgressBarModule, AXRadioComponent, AXRadioModule, AXRangeChangedEvent, AXRangeSliderComponent, AXRangeSliderModule, AXRatingComponent, AXRatingModule, AXResponsiveDirective, AXResultComponent, AXResultModule, AXSelectBoxComponent, AXSelectBoxModule, AXSelectionListComponent, AXSelectionListModule, AXSelectionValueChangedEvent, AXSizableComponentMixin, AXSwitchComponent, AXSwitchModule, AXTabContentDirective, AXTabItemComponent, AXTabStripChangedEvent, AXTabsComponent, AXTabsModule, AXTextBoxComponent, AXTextBoxModule, AXTextareaComponent, AXTextareaModule, AXTimeBoxComponent, AXTimeBoxModule, AXToastComponent, AXToastModule, AXToastService, AXTooltipComponent, AXTooltipDirective, AXTooltipModule, AXTreeViewComponent, AXTreeViewModule, AXValidationModule, AXValidationRuleComponent, AXValidationRules, AXValueChangedEvent, AX_DIRECTIONS, AX_LOCATIONS, AX_STYLE_TYPES, BASE_INPUTS, BASE_OUTPUT, TAB_META_KEY, _BaseComponenetMixin };
8479
+ export { AXActionSheetComponent, AXActionSheetItemComponent, AXActionSheetModule, AXAlertButtonComponent, AXAlertComponent, AXAlertModule, AXAvatarComponent, AXAvatarGroup, AXAvatarMixin, AXAvatarModule, AXBadgeComponent, AXBadgeModule, AXBaseAlertMixin, AXBaseBadgeMixin, AXBaseButtonMixin, AXBaseClickableMixin, AXBaseComponent, AXBaseComponentMixin, AXBaseDatePickerMixin, AXBaseDropdownMixin, AXBaseItemButtonMixin, AXBaseMenuMixin, AXBasePageComponent, AXBaseSelectionDropdownMixin, AXBaseSelectionValueMixin, AXBaseTabItemMixin, AXBaseTextBoxMixin, AXBaseValueComponentMixin, AXBaseValueDropdownMixin, AXBreadCrumbsComponent, AXBreadCrumbsItemComponent, AXBreadcrumbsModule, AXButtonClickEvent, AXButtonComponent, AXButtonGroupComponent, AXButtonItemComponent, AXButtonModule, AXCalendarComponent, AXCalendarComponentMixin, AXCalendarModule, AXCarouselArrowsComponent, AXCarouselComponent, AXCarouselCore, AXCarouselItemComponent, AXCarouselModule, AXCarouselPagerComponent, AXCheckBoxComponent, AXCheckBoxModule, AXClickEvent, AXClosbaleComponent, AXCollapseComponent, AXCollapseGroupComponent, AXCollapseModule, AXCommonModule, AXDataListComponent, AXDataListModule, AXDatePickerComponent, AXDatepickerModule, AXDecoratorAddOnComponent, AXDecoratorCloseButtonComponent, AXDecoratorContentComponent, AXDecoratorFooterComponent, AXDecoratorHeaderComponent, AXDecoratorIconComponent, AXDecoratorModule, AXDecoratorPrefixComponent, AXDecoratorSuffixComponent, AXDecoratorTitleComponent, AXDialogComponent, AXDialogModule, AXDialogService, AXDrawerComponent, AXDrawerContainerComponent, AXDrawerModule, AXDropdownModule, AXDropdownPanelComponent, AXEvent, AXFocusEvent, AXFormComponent, AXFormFieldComponent, AXFormHintComponent, AXFormModule, AXHtmlEvent, AXInfiniteScrollerDirective, AXInputMaskComponent, AXInputMaskModule, AXInteractiveComponenetMixin, AXItemClickEvent, AXLabelComponent, AXLabelModule, AXLoadingComponent, AXLoadingDirective, AXLoadingModule, AXLoadingService, AXLoadingSpinnerComponent, AXMenuComponent, AXMenuModule, AXNumberBoxComponent, AXNumberBoxModule, AXOverlayService, AXPageCloseEvent, AXPageClosedPromise, AXPageClosing, AXPageComponent, AXPageModule, AXPageResult, AXPasswordBoxComponent, AXPasswordBoxModule, AXPickerComponent, AXPickerModule, AXPopoverComponent, AXPopoverModule, AXPopupComponent, AXPopupModule, AXPopupService, AXProgressBarComponent, AXProgressBarModule, AXRadioComponent, AXRadioModule, AXRangeChangedEvent, AXRangeSliderComponent, AXRangeSliderModule, AXRatingComponent, AXRatingModule, AXResponsiveDirective, AXResultComponent, AXResultModule, AXSearchBoxComponent, AXSearchBoxModule, AXSearchableComponent, AXSelectBoxComponent, AXSelectBoxModule, AXSelectionListComponent, AXSelectionListModule, AXSelectionValueChangedEvent, AXSizableComponentMixin, AXSwitchComponent, AXSwitchModule, AXTabContentDirective, AXTabItemComponent, AXTabStripChangedEvent, AXTabsComponent, AXTabsModule, AXTextBoxComponent, AXTextBoxModule, AXTextareaComponent, AXTextareaModule, AXTimeBoxComponent, AXTimeBoxModule, AXToastComponent, AXToastModule, AXToastService, AXTooltipComponent, AXTooltipDirective, AXTooltipModule, AXTreeViewComponent, AXTreeViewModule, AXValidationModule, AXValidationRuleComponent, AXValidationRules, AXValueChangedEvent, AX_DIRECTIONS, AX_LOCATIONS, AX_STYLE_TYPES, BASE_INPUTS, BASE_OUTPUT, TAB_META_KEY, _BaseComponenetMixin };
8218
8480
  //# sourceMappingURL=acorex-components.mjs.map