@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 } 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();
@@ -135,8 +135,8 @@ function _BaseMenuComponentMixin(Base) {
135
135
  this.valueField = 'id';
136
136
  _isLoading.set(this, false);
137
137
  _loadedItems.set(this, []);
138
- this.visible = 'visible';
139
138
  this.openMode = 'click';
139
+ this.direction = 'vertical';
140
140
  this.onMenuItemClick = new EventEmitter();
141
141
  _items.set(this, []);
142
142
  }
@@ -175,15 +175,16 @@ function _BaseMenuComponentMixin(Base) {
175
175
  return o;
176
176
  else {
177
177
  const no = {};
178
+ no[this.valueField] = o;
178
179
  no[Array.isArray(this.textField) ? this.textField[0] : this.textField] = o;
179
180
  return no;
180
181
  }
181
- }));
182
+ }), this.valueField);
182
183
  }
183
184
  _findNode(parentId, _children, source) {
184
185
  if (source.length > 0) {
185
186
  source.forEach((element) => {
186
- if (element.id == parentId) {
187
+ if (element[this.valueField] == parentId) {
187
188
  element.children = _children;
188
189
  }
189
190
  else {
@@ -251,10 +252,11 @@ const BASEMENU_INPUTS = [
251
252
  'tooltip',
252
253
  'isOpen',
253
254
  'isActive',
254
- 'visible',
255
+ 'visibleField',
255
256
  'disableField',
256
257
  'hasChildField',
257
258
  'openMode',
259
+ 'direction',
258
260
  ];
259
261
  const BASEMENU_OUTPUT = ['onMenuItemClick'];
260
262
 
@@ -535,6 +537,7 @@ function _DatalistComponenetMixin(Base) {
535
537
  }
536
538
  empty() {
537
539
  __classPrivateFieldSet(this, _isLoading, false, "f");
540
+ __classPrivateFieldSet(this, _currentPage, 0, "f");
538
541
  if (__classPrivateFieldGet(this, _loadedItems, "f")) {
539
542
  __classPrivateFieldGet(this, _loadedItems, "f").length = 0;
540
543
  }
@@ -1172,7 +1175,7 @@ function _TextboxComponenetMixin(Base) {
1172
1175
  }
1173
1176
  };
1174
1177
  }
1175
- const TEXTBOX_INPUTS = ['placeholder', 'maxLength', 'allowNull', 'debounceTime', 'type', ...VALUE_INPUTS];
1178
+ const TEXTBOX_INPUTS = ['placeholder', 'maxLength', 'allowNull', 'debounceTime', 'type', 'autoComplete', ...VALUE_INPUTS];
1176
1179
  const TEXTBOX_OUTPUT = [...VALUE_OUTPUT];
1177
1180
 
1178
1181
  const AXBaseComponentMixin = _BaseComponenetMixin(AXBaseComponent);
@@ -1189,6 +1192,21 @@ const AXBaseDropdownMixin = _SizableComponenetMixin(_InteractiveComponenetMixin(
1189
1192
  const AXBaseMenuMixin = _InteractiveComponenetMixin(_BaseMenuComponentMixin(AXBaseComponent));
1190
1193
  const AXAvatarMixin = _ColorLookComponentMixin(AXBaseComponent);
1191
1194
 
1195
+ class AXClosbaleComponent {
1196
+ }
1197
+ AXClosbaleComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXClosbaleComponent, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
1198
+ AXClosbaleComponent.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXClosbaleComponent });
1199
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXClosbaleComponent, decorators: [{
1200
+ type: Injectable
1201
+ }] });
1202
+ class AXSearchableComponent {
1203
+ }
1204
+ AXSearchableComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXSearchableComponent, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
1205
+ AXSearchableComponent.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXSearchableComponent });
1206
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXSearchableComponent, decorators: [{
1207
+ type: Injectable
1208
+ }] });
1209
+
1192
1210
  /**
1193
1211
  * Contains native event
1194
1212
  * @category Events
@@ -1657,74 +1675,72 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
1657
1675
  }] } });
1658
1676
 
1659
1677
  class AXDrawerComponent extends AXBaseComponentMixin {
1660
- constructor(elementRef, cdr, zone) {
1661
- super(elementRef, cdr);
1662
- this.elementRef = elementRef;
1663
- this.zone = zone;
1664
- this.onChanged = new EventEmitter();
1665
- this.mode = 'push';
1666
- this.location = 'start';
1667
- this._collapsed = false;
1678
+ constructor(_elementRef, _cdr, _zone) {
1679
+ super(_elementRef, _cdr);
1680
+ this._elementRef = _elementRef;
1681
+ this._zone = _zone;
1682
+ this.locationChange = new EventEmitter();
1683
+ this.modeChange = new EventEmitter();
1684
+ this._mode = 'overlay';
1685
+ this.collapsedChange = new EventEmitter();
1686
+ this._collapsed = true;
1687
+ this._loaded = false;
1688
+ }
1689
+ get location() {
1690
+ return this._location;
1691
+ }
1692
+ set location(v) {
1693
+ this._setOption({
1694
+ name: 'location',
1695
+ value: v
1696
+ });
1697
+ }
1698
+ get mode() {
1699
+ return this._mode;
1700
+ }
1701
+ set mode(v) {
1702
+ this._setOption({
1703
+ name: 'mode',
1704
+ value: v
1705
+ });
1668
1706
  }
1669
1707
  get collapsed() {
1670
1708
  return this._collapsed;
1671
1709
  }
1672
1710
  set collapsed(v) {
1673
- if (v != this._collapsed) {
1674
- this._collapsed = v;
1675
- this._updateClass();
1676
- this._emitChange();
1677
- }
1711
+ this._setOption({
1712
+ name: 'collapsed',
1713
+ value: v
1714
+ });
1678
1715
  }
1679
- onInit() {
1680
- // this._getHostElement().classList.add(this.location == 'start' ? 'ax-drawer-start' : 'ax-drawer-end');
1681
- this._setLocation();
1682
- this._currentMode = this.mode;
1683
- }
1684
- _setLocation() {
1685
- const hostElementClassList = this._getHostElement().classList;
1686
- switch (this.location) {
1687
- case 'start':
1688
- hostElementClassList.add('ax-drawer-start');
1689
- break;
1690
- case 'end':
1691
- hostElementClassList.add('ax-drawer-end');
1692
- break;
1693
- case 'top':
1694
- hostElementClassList.add('ax-drawer-top');
1695
- break;
1696
- case 'bottom':
1697
- hostElementClassList.add('ax-drawer-bottom');
1698
- break;
1699
- default:
1700
- hostElementClassList.add('ax-drawer-start');
1701
- break;
1702
- }
1716
+ onViewInit() {
1717
+ setTimeout(() => {
1718
+ this._loaded = true;
1719
+ this._checkProps();
1720
+ }, 1000);
1721
+ this._detectBoundingSize();
1703
1722
  }
1704
- _updateClass() {
1705
- this.zone.runOutsideAngular(() => {
1706
- const elm = this._getHostElement();
1707
- //
1708
- this._currentMode == 'overlay' ? this._setOverlayMode() : this._setPushMode();
1709
- //
1710
- if (this.collapsed) {
1711
- elm.classList.remove('ax-expanded');
1712
- elm.classList.add('ax-collapsed');
1713
- if (this._currentMode == 'overlay') {
1714
- this._removeBackdrop();
1715
- }
1716
- }
1717
- else {
1718
- elm.classList.add('ax-expanded');
1719
- elm.classList.remove('ax-collapsed');
1720
- if (this._currentMode == 'overlay') {
1721
- this._addBackdrop();
1722
- }
1723
- }
1723
+ _onOptionChanged(option) {
1724
+ this._checkProps();
1725
+ }
1726
+ ngDoCheck() {
1727
+ this._detectBoundingSize();
1728
+ }
1729
+ _detectBoundingSize() {
1730
+ this._zone.runOutsideAngular(() => {
1731
+ const host = this._getHostElement();
1732
+ if (host.clientWidth)
1733
+ host.style.setProperty('--ax-el-width', `${host.clientWidth}px`);
1724
1734
  });
1725
1735
  }
1726
- onViewInit() {
1727
- this._detectSize();
1736
+ _checkProps() {
1737
+ this._detectBoundingSize();
1738
+ this._removeBackdrop();
1739
+ if (this.mode == 'overlay') {
1740
+ if (!this.collapsed) {
1741
+ this._addBackdrop();
1742
+ }
1743
+ }
1728
1744
  }
1729
1745
  toggle() {
1730
1746
  this.collapsed = !this.collapsed;
@@ -1735,69 +1751,35 @@ class AXDrawerComponent extends AXBaseComponentMixin {
1735
1751
  open() {
1736
1752
  this.collapsed = false;
1737
1753
  }
1738
- _handleWindowsResize(e) {
1739
- this._detectSize();
1740
- }
1741
- _detectSize() {
1742
- //TODO detect break size
1743
- const bound = this._getHostElement().parentElement.getBoundingClientRect();
1744
- if (bound.width == 0) {
1745
- console.log('Drawer invalid size', bound);
1746
- setTimeout(() => {
1747
- this._detectSize();
1748
- }, 1);
1749
- return;
1750
- }
1751
- if (bound.width < 400) {
1752
- this._currentMode = 'overlay';
1753
- this.collapsed = true;
1754
- }
1755
- else {
1756
- this._currentMode = this.mode;
1757
- }
1758
- this._updateClass();
1759
- this._emitChange();
1760
- }
1761
- _emitChange() {
1762
- this.onChanged.emit({
1763
- component: this,
1764
- htmlElement: this.elementRef.nativeElement
1765
- });
1766
- }
1767
- _setOverlayMode() {
1768
- this._currentMode = 'overlay';
1769
- this._getHostElement().classList.remove('ax-drawer-push');
1770
- this._getHostElement().classList.add('ax-drawer-overlay');
1771
- }
1772
- _setPushMode() {
1773
- this._currentMode = 'push';
1774
- this._getHostElement().classList.remove('ax-drawer-overlay');
1775
- this._getHostElement().classList.add('ax-drawer-push');
1776
- this._removeBackdrop();
1754
+ get __hostClass() {
1755
+ return `ax-drawer-${this.mode} ax-drawer-${this.location} ${this.collapsed ? 'ax-collapsed' : 'ax-expanded'} ${!this._loaded ? 'ax-preload' : ''}`;
1777
1756
  }
1778
1757
  _addBackdrop() {
1779
- if (!this._backdrop) {
1780
- this._backdrop = document.createElement('div');
1781
- this._backdrop.classList.add('ax-drawer-backdrop');
1782
- this._getHostElement().parentElement.prepend(this._backdrop);
1783
- this._backdrop.addEventListener('click', this._handleBackfropClick.bind(this));
1784
- }
1758
+ this._zone.runOutsideAngular(() => {
1759
+ this._backdropElement = document.createElement('div');
1760
+ this._backdropElement.classList.add('ax-backdrop');
1761
+ this._backdropElement.onclick = () => {
1762
+ this._zone.run(() => {
1763
+ this.close();
1764
+ });
1765
+ };
1766
+ this._getHostElement().parentElement?.appendChild(this._backdropElement);
1767
+ });
1785
1768
  }
1786
1769
  _removeBackdrop() {
1787
- if (this._backdrop) {
1788
- this._backdrop.removeEventListener('click', this._handleBackfropClick.bind(this));
1789
- this._getHostElement().parentElement.removeChild(this._backdrop);
1790
- this._backdrop = null;
1791
- }
1792
- }
1793
- _handleBackfropClick(e) {
1794
- this._removeBackdrop();
1795
- this.collapsed = true;
1770
+ this._zone.runOutsideAngular(() => {
1771
+ if (this._backdropElement) {
1772
+ this._getHostElement().parentElement?.removeChild(this._backdropElement);
1773
+ this._backdropElement = null;
1774
+ }
1775
+ });
1796
1776
  }
1797
1777
  }
1798
1778
  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 });
1799
- 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: `
1800
- <ng-content>
1779
+ 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: `
1780
+ <ng-content select='ax-header'>
1781
+ </ng-content>
1782
+ <ng-content select='ax-content'>
1801
1783
  </ng-content>
1802
1784
  `, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
1803
1785
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXDrawerComponent, decorators: [{
@@ -1805,135 +1787,78 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
1805
1787
  args: [{
1806
1788
  selector: 'ax-drawer',
1807
1789
  template: `
1808
- <ng-content>
1790
+ <ng-content select='ax-header'>
1791
+ </ng-content>
1792
+ <ng-content select='ax-content'>
1809
1793
  </ng-content>
1810
1794
  `,
1811
1795
  changeDetection: ChangeDetectionStrategy.OnPush,
1812
1796
  encapsulation: ViewEncapsulation.None,
1813
- host: { class: 'ax-drawer ax-transition-all' }
1797
+ providers: [{ provide: AXClosbaleComponent, useExisting: AXDrawerComponent }]
1814
1798
  }]
1815
- }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: i0.NgZone }]; }, propDecorators: { onChanged: [{
1799
+ }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: i0.NgZone }]; }, propDecorators: { locationChange: [{
1816
1800
  type: Output
1817
- }], mode: [{
1818
- type: Input
1819
1801
  }], location: [{
1820
1802
  type: Input
1803
+ }], modeChange: [{
1804
+ type: Output
1805
+ }], mode: [{
1806
+ type: Input
1807
+ }], collapsedChange: [{
1808
+ type: Output
1821
1809
  }], collapsed: [{
1822
1810
  type: Input
1823
- }], _handleWindowsResize: [{
1824
- type: HostListener,
1825
- args: ['window:resize', ['$event']]
1811
+ }], __hostClass: [{
1812
+ type: HostBinding,
1813
+ args: ['class']
1826
1814
  }] } });
1827
1815
 
1828
1816
  class AXDrawerContainerComponent extends AXBaseComponentMixin {
1829
- constructor(elementRef, cdr, zone) {
1817
+ constructor(elementRef, cdr, _zone) {
1830
1818
  super(elementRef, cdr);
1831
- this.zone = zone;
1832
- }
1833
- onViewInit() {
1834
- this._updateWidth();
1835
- // add animation
1836
- // setTimeout(() => {
1837
- // this._getHostElement().querySelectorAll('ax-drawer').forEach(c => {
1838
- // c.classList.add('ax-animated');
1839
- // });
1840
- // }, 100);
1841
- this.drawers.forEach(c => {
1842
- c.onChanged.subscribe(c => {
1843
- this._updateWidth();
1844
- });
1845
- });
1819
+ this._zone = _zone;
1846
1820
  }
1847
- _updateWidth() {
1848
- this.zone.runOutsideAngular(() => {
1849
- const container = this._getHostElement().closest('ax-drawer-container');
1850
- const parentWidth = this._getHostElement().getBoundingClientRect().width;
1851
- let w = 0;
1852
- this._getHostElement().querySelectorAll('ax-drawer').forEach(c => {
1853
- const elm = c;
1854
- const width = elm.getBoundingClientRect().width;
1855
- const height = elm.getBoundingClientRect().height;
1856
- const overflow = parentWidth < width;
1857
- const diff = width - parentWidth;
1858
- w += ['ax-expanded', 'ax-drawer-push'].every(c => elm.classList.contains(c)) ? width : 0;
1859
- elm.style.setProperty('--attr-width', `${width}px`);
1860
- elm.style.setProperty('--attr-height', `${height}px`);
1861
- //TODO check overflow
1862
- elm.style.setProperty('--attr-diff', `${overflow ? diff : 0}px`);
1863
- });
1864
- container.style.setProperty('--attr-content-width', `${parentWidth - w}px`);
1865
- });
1821
+ ngDoCheck() {
1822
+ const host = this._getHostElement();
1823
+ Array.from(host.querySelectorAll('ax-drawer'))
1824
+ .map(c => c['__axContext__'])
1825
+ .some(c => !c?.collapsed) ? host.classList.add('ax-visible') : host.classList.remove('ax-visible');
1866
1826
  }
1867
1827
  }
1868
1828
  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 });
1869
- 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: `
1870
- <ng-content select="ax-drawer[location='top']">
1871
- </ng-content>
1872
- <ng-content select="ax-drawer[location='start']">
1829
+ AXDrawerContainerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: AXDrawerContainerComponent, selector: "ax-drawer-container", usesInheritance: true, ngImport: i0, template: `
1830
+ <ng-content select="ax-drawer[location='start']" >
1873
1831
  </ng-content>
1874
- <ng-content select="ax-drawer-content">
1832
+ <ng-content select="ax-content">
1875
1833
  </ng-content>
1876
1834
  <ng-content select="ax-drawer[location='end']">
1877
1835
  </ng-content>
1878
- <ng-content select="ax-drawer[location='bottom']">
1879
- </ng-content>
1836
+
1880
1837
  `, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
1881
1838
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXDrawerContainerComponent, decorators: [{
1882
1839
  type: Component,
1883
1840
  args: [{
1884
1841
  selector: 'ax-drawer-container',
1885
1842
  template: `
1886
- <ng-content select="ax-drawer[location='top']">
1887
- </ng-content>
1888
- <ng-content select="ax-drawer[location='start']">
1843
+ <ng-content select="ax-drawer[location='start']" >
1889
1844
  </ng-content>
1890
- <ng-content select="ax-drawer-content">
1845
+ <ng-content select="ax-content">
1891
1846
  </ng-content>
1892
1847
  <ng-content select="ax-drawer[location='end']">
1893
1848
  </ng-content>
1894
- <ng-content select="ax-drawer[location='bottom']">
1895
- </ng-content>
1896
- `,
1897
- inputs: ['rtl'],
1898
- changeDetection: ChangeDetectionStrategy.OnPush,
1899
- encapsulation: ViewEncapsulation.None,
1900
- host: { class: 'ax-drawer-container' }
1901
- }]
1902
- }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: i0.NgZone }]; }, propDecorators: { drawers: [{
1903
- type: ContentChildren,
1904
- args: [AXDrawerComponent]
1905
- }] } });
1906
-
1907
- class AXDrawerContentComponent extends AXBaseComponentMixin {
1908
- constructor(elementRef, cdr) {
1909
- super(elementRef, cdr);
1910
- }
1911
- }
1912
- 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 });
1913
- 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: `
1914
- <ng-content>
1915
- </ng-content>
1916
- `, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
1917
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXDrawerContentComponent, decorators: [{
1918
- type: Component,
1919
- args: [{
1920
- selector: 'ax-drawer-content',
1921
- template: `
1922
- <ng-content>
1923
- </ng-content>
1849
+
1924
1850
  `,
1925
1851
  changeDetection: ChangeDetectionStrategy.OnPush,
1926
1852
  encapsulation: ViewEncapsulation.None,
1927
- host: { class: 'ax-drawer-content' }
1928
1853
  }]
1929
- }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; } });
1854
+ }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: i0.NgZone }]; } });
1930
1855
 
1931
- const COMPONENT$o = [AXDrawerComponent, AXDrawerContainerComponent, AXDrawerContentComponent];
1856
+ const COMPONENT$o = [AXDrawerComponent, AXDrawerContainerComponent];
1932
1857
  const MODULES$o = [CommonModule];
1933
1858
  class AXDrawerModule {
1934
1859
  }
1935
1860
  AXDrawerModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXDrawerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
1936
- 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] });
1861
+ AXDrawerModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXDrawerModule, declarations: [AXDrawerComponent, AXDrawerContainerComponent], imports: [CommonModule], exports: [AXDrawerComponent, AXDrawerContainerComponent] });
1937
1862
  AXDrawerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXDrawerModule, providers: [], imports: [[...MODULES$o]] });
1938
1863
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXDrawerModule, decorators: [{
1939
1864
  type: NgModule,
@@ -2186,16 +2111,14 @@ class AXDecoratorHeaderComponent extends AXBaseComponentMixin {
2186
2111
  }
2187
2112
  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 });
2188
2113
  AXDecoratorHeaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: AXDecoratorHeaderComponent, selector: "ax-header", usesInheritance: true, ngImport: i0, template: `
2189
- <ng-content>
2190
- </ng-content>
2114
+ <ng-content select="ax-suffix,ax-prefix,ax-button,ax-icon,ax-title,ax-close-button,ng-container,ng-content"></ng-content>
2191
2115
  `, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
2192
2116
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXDecoratorHeaderComponent, decorators: [{
2193
2117
  type: Component,
2194
2118
  args: [{
2195
2119
  selector: 'ax-header',
2196
2120
  template: `
2197
- <ng-content>
2198
- </ng-content>
2121
+ <ng-content select="ax-suffix,ax-prefix,ax-button,ax-icon,ax-title,ax-close-button,ng-container,ng-content"></ng-content>
2199
2122
  `,
2200
2123
  changeDetection: ChangeDetectionStrategy.OnPush,
2201
2124
  encapsulation: ViewEncapsulation.None,
@@ -2209,7 +2132,7 @@ class AXDecoratorPrefixComponent extends AXBaseComponentMixin {
2209
2132
  }
2210
2133
  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 });
2211
2134
  AXDecoratorPrefixComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: AXDecoratorPrefixComponent, selector: "ax-prefix", usesInheritance: true, ngImport: i0, template: `
2212
- <ng-content select="ax-button,ax-loading,ax-icon,ax-content,ax-badge,ax-addon">
2135
+ <ng-content select="ax-button,ax-loading,ax-icon,ax-content,ax-badge,ax-addon,ax-title,ng-container">
2213
2136
  </ng-content>
2214
2137
  `, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
2215
2138
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXDecoratorPrefixComponent, decorators: [{
@@ -2217,7 +2140,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
2217
2140
  args: [{
2218
2141
  selector: 'ax-prefix',
2219
2142
  template: `
2220
- <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">
2221
2144
  </ng-content>
2222
2145
  `,
2223
2146
  changeDetection: ChangeDetectionStrategy.OnPush,
@@ -2232,7 +2155,7 @@ class AXDecoratorSuffixComponent extends AXBaseComponentMixin {
2232
2155
  }
2233
2156
  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 });
2234
2157
  AXDecoratorSuffixComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: AXDecoratorSuffixComponent, selector: "ax-suffix", usesInheritance: true, ngImport: i0, template: `
2235
- <ng-content select="ax-button,ax-loading,ax-icon,ax-content,ax-badge,ax-addon">
2158
+ <ng-content select="ax-button,ax-loading,ax-icon,ax-content,ax-badge,ax-addon,ax-title,ax-alert-button,ng-container">
2236
2159
  </ng-content>
2237
2160
  `, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
2238
2161
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXDecoratorSuffixComponent, decorators: [{
@@ -2240,7 +2163,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
2240
2163
  args: [{
2241
2164
  selector: 'ax-suffix',
2242
2165
  template: `
2243
- <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">
2244
2167
  </ng-content>
2245
2168
  `,
2246
2169
  changeDetection: ChangeDetectionStrategy.OnPush,
@@ -2248,24 +2171,28 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
2248
2171
  }]
2249
2172
  }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; } });
2250
2173
 
2251
- const COMPONENT$n = [AXDecoratorPrefixComponent, AXDecoratorSuffixComponent, AXDecoratorContentComponent, AXDecoratorHeaderComponent, AXDecoratorAddOnComponent];
2252
- const MODULES$n = [CommonModule];
2253
- class AXEditorDecoratorModule {
2174
+ class AXDecoratorFooterComponent extends AXBaseComponentMixin {
2175
+ constructor(elementRef, cdr) {
2176
+ super(elementRef, cdr);
2177
+ }
2254
2178
  }
2255
- AXEditorDecoratorModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXEditorDecoratorModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
2256
- 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] });
2257
- AXEditorDecoratorModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXEditorDecoratorModule, providers: [], imports: [[...MODULES$n]] });
2258
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXEditorDecoratorModule, decorators: [{
2259
- type: NgModule,
2179
+ 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 });
2180
+ AXDecoratorFooterComponentcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: AXDecoratorFooterComponent, selector: "ax-footer", usesInheritance: true, ngImport: i0, template: `
2181
+ <ng-content select="ax-suffix,ax-prefix,ax-button,ax-title,ax-close-button,ng-container"></ng-content>
2182
+ `, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
2183
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXDecoratorFooterComponent, decorators: [{
2184
+ type: Component,
2260
2185
  args: [{
2261
- declarations: [...COMPONENT$n],
2262
- imports: [...MODULES$n],
2263
- exports: [...COMPONENT$n],
2264
- providers: [],
2186
+ selector: 'ax-footer',
2187
+ template: `
2188
+ <ng-content select="ax-suffix,ax-prefix,ax-button,ax-title,ax-close-button,ng-container"></ng-content>
2189
+ `,
2190
+ changeDetection: ChangeDetectionStrategy.OnPush,
2191
+ encapsulation: ViewEncapsulation.None,
2265
2192
  }]
2266
- }] });
2193
+ }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; } });
2267
2194
 
2268
- class AXIconComponent extends AXSizableComponentMixin {
2195
+ class AXDecoratorIconComponent extends AXSizableComponentMixin {
2269
2196
  constructor(elementRef, cdr) {
2270
2197
  super(elementRef, cdr);
2271
2198
  }
@@ -2273,9 +2200,9 @@ class AXIconComponent extends AXSizableComponentMixin {
2273
2200
  return `ax-ic ${this.icon}`;
2274
2201
  }
2275
2202
  }
2276
- 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 });
2277
- 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 });
2278
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXIconComponent, decorators: [{
2203
+ 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 });
2204
+ 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 });
2205
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXDecoratorIconComponent, decorators: [{
2279
2206
  type: Component,
2280
2207
  args: [{
2281
2208
  selector: 'ax-icon',
@@ -2290,44 +2217,125 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
2290
2217
  args: ['class']
2291
2218
  }] } });
2292
2219
 
2293
- const COMPONENT$m = [AXIconComponent];
2294
- const MODULES$m = [CommonModule];
2295
- class AXIconModule {
2220
+ class AXDecoratorTitleComponent extends AXBaseComponentMixin {
2221
+ constructor(_elementRef, _cdr) {
2222
+ super(_elementRef, _cdr);
2223
+ this.text = null;
2224
+ }
2225
+ }
2226
+ 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 });
2227
+ 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 });
2228
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXDecoratorTitleComponent, decorators: [{
2229
+ type: Component,
2230
+ args: [{
2231
+ selector: 'ax-title',
2232
+ template: ` <h4 *ngIf="text">{{text}}</h4><ng-container><ng-content *ngIf="!text"></ng-content></ng-container>`,
2233
+ changeDetection: ChangeDetectionStrategy.OnPush,
2234
+ encapsulation: ViewEncapsulation.None
2235
+ }]
2236
+ }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { text: [{
2237
+ type: Input
2238
+ }] } });
2239
+
2240
+ class AXDecoratorCloseButtonComponent extends AXBaseComponentMixin {
2241
+ constructor(_elementRef, _cdr, _parent) {
2242
+ super(_elementRef, _cdr);
2243
+ this._parent = _parent;
2244
+ this._icon = 'ax-ic-close';
2245
+ }
2246
+ get icon() {
2247
+ return this._icon || 'ax-ic-close';
2248
+ }
2249
+ set icon(v) {
2250
+ this._icon = v;
2251
+ }
2252
+ _handleOnClick(e) {
2253
+ this._parent?.close();
2254
+ }
2296
2255
  }
2297
- AXIconModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXIconModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
2298
- AXIconModulemod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXIconModule, declarations: [AXIconComponent], imports: [CommonModule], exports: [AXIconComponent] });
2299
- AXIconModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXIconModule, providers: [], imports: [[...MODULES$m]] });
2300
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXIconModule, decorators: [{
2256
+ 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 });
2257
+ 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 });
2258
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXDecoratorCloseButtonComponent, decorators: [{
2259
+ type: Component,
2260
+ args: [{
2261
+ selector: 'ax-close-button',
2262
+ template: `<ax-icon [icon]="icon" (click)="_handleOnClick($event)" tabindex="1"></ax-icon>`,
2263
+ changeDetection: ChangeDetectionStrategy.OnPush,
2264
+ encapsulation: ViewEncapsulation.None
2265
+ }]
2266
+ }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: AXClosbaleComponent, decorators: [{
2267
+ type: Optional
2268
+ }, {
2269
+ type: Inject,
2270
+ args: [AXClosbaleComponent]
2271
+ }] }]; }, propDecorators: { icon: [{
2272
+ type: Input
2273
+ }] } });
2274
+
2275
+ const COMPONENT$n = [
2276
+ AXDecoratorPrefixComponent,
2277
+ AXDecoratorSuffixComponent,
2278
+ AXDecoratorContentComponent,
2279
+ AXDecoratorHeaderComponent,
2280
+ AXDecoratorFooterComponent,
2281
+ AXDecoratorAddOnComponent,
2282
+ AXDecoratorIconComponent,
2283
+ AXDecoratorTitleComponent,
2284
+ AXDecoratorCloseButtonComponent
2285
+ ];
2286
+ const MODULES$n = [CommonModule];
2287
+ class AXDecoratorModule {
2288
+ }
2289
+ AXDecoratorModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXDecoratorModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
2290
+ AXDecoratorModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXDecoratorModule, declarations: [AXDecoratorPrefixComponent,
2291
+ AXDecoratorSuffixComponent,
2292
+ AXDecoratorContentComponent,
2293
+ AXDecoratorHeaderComponent,
2294
+ AXDecoratorFooterComponent,
2295
+ AXDecoratorAddOnComponent,
2296
+ AXDecoratorIconComponent,
2297
+ AXDecoratorTitleComponent,
2298
+ AXDecoratorCloseButtonComponent], imports: [CommonModule], exports: [AXDecoratorPrefixComponent,
2299
+ AXDecoratorSuffixComponent,
2300
+ AXDecoratorContentComponent,
2301
+ AXDecoratorHeaderComponent,
2302
+ AXDecoratorFooterComponent,
2303
+ AXDecoratorAddOnComponent,
2304
+ AXDecoratorIconComponent,
2305
+ AXDecoratorTitleComponent,
2306
+ AXDecoratorCloseButtonComponent] });
2307
+ AXDecoratorModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXDecoratorModule, providers: [], imports: [[...MODULES$n]] });
2308
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXDecoratorModule, decorators: [{
2301
2309
  type: NgModule,
2302
2310
  args: [{
2303
- declarations: [...COMPONENT$m],
2304
- imports: [...MODULES$m],
2305
- exports: [...COMPONENT$m],
2311
+ declarations: [...COMPONENT$n],
2312
+ imports: [...MODULES$n],
2313
+ exports: [...COMPONENT$n],
2306
2314
  providers: [],
2307
2315
  }]
2308
2316
  }] });
2309
2317
 
2310
- const COMPONENT$l = [
2318
+ const COMPONENT$m = [
2311
2319
  AXButtonComponent,
2312
2320
  AXButtonItemComponent,
2313
2321
  AXButtonGroupComponent,
2314
2322
  ];
2315
- const MODULES$l = [CommonModule, AXIconModule, AXEditorDecoratorModule];
2323
+ const MODULES$m = [CommonModule, AXDecoratorModule];
2316
2324
  class AXButtonModule {
2317
2325
  }
2318
2326
  AXButtonModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXButtonModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
2319
2327
  AXButtonModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXButtonModule, declarations: [AXButtonComponent,
2320
2328
  AXButtonItemComponent,
2321
- AXButtonGroupComponent], imports: [CommonModule, AXIconModule, AXEditorDecoratorModule], exports: [AXButtonComponent,
2329
+ AXButtonGroupComponent], imports: [CommonModule, AXDecoratorModule], exports: [AXButtonComponent,
2322
2330
  AXButtonItemComponent,
2323
2331
  AXButtonGroupComponent] });
2324
- AXButtonModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXButtonModule, providers: [], imports: [[MODULES$l]] });
2332
+ AXButtonModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXButtonModule, providers: [], imports: [[MODULES$m]] });
2325
2333
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXButtonModule, decorators: [{
2326
2334
  type: NgModule,
2327
2335
  args: [{
2328
- imports: [MODULES$l],
2329
- exports: [COMPONENT$l],
2330
- declarations: [COMPONENT$l],
2336
+ imports: [MODULES$m],
2337
+ exports: [COMPONENT$m],
2338
+ declarations: [COMPONENT$m],
2331
2339
  providers: [],
2332
2340
  }]
2333
2341
  }] });
@@ -2360,25 +2368,32 @@ class AXAlertComponent extends AXBaseAlertMixin {
2360
2368
  */
2361
2369
  constructor(elementRef, cdr) {
2362
2370
  super(elementRef, cdr);
2363
- this.showIcon = true;
2364
2371
  _AXAlertComponent_visible.set(this, void 0);
2365
2372
  }
2366
2373
  _onOptionChanged(option) {
2367
2374
  if (option.name == 'color') {
2368
- switch (this.color) {
2369
- case 'success':
2370
- this.icon = 'ax-ic ax-ic-check-filled';
2371
- break;
2372
- case 'warning':
2373
- this.icon = 'ax-ic-warning-filled';
2374
- break;
2375
- case 'danger':
2376
- this.icon = 'ax-ic-error-filled';
2377
- break;
2378
- default:
2379
- this.icon = 'ax-ic ax-ic-info-filled';
2380
- break;
2381
- }
2375
+ this._setIcon();
2376
+ }
2377
+ }
2378
+ ngDoCheck() {
2379
+ this._setIcon();
2380
+ }
2381
+ _setIcon() {
2382
+ if (!this._icon || this._icon.icon)
2383
+ return;
2384
+ switch (this.color) {
2385
+ case 'success':
2386
+ this._icon.icon = 'ax-ic ax-ic-check-filled';
2387
+ break;
2388
+ case 'warning':
2389
+ this._icon.icon = 'ax-ic-warning-filled';
2390
+ break;
2391
+ case 'danger':
2392
+ this._icon.icon = 'ax-ic-error-filled';
2393
+ break;
2394
+ default:
2395
+ this._icon.icon = 'ax-ic ax-ic-info-filled';
2396
+ break;
2382
2397
  }
2383
2398
  }
2384
2399
  /**
@@ -2420,6 +2435,9 @@ class AXAlertComponent extends AXBaseAlertMixin {
2420
2435
  if (this.visible == undefined) {
2421
2436
  this.visible = true;
2422
2437
  }
2438
+ if (this._getHostElement().querySelector('ax-header')) {
2439
+ this._getHostElement().querySelector('.ax-alert-body').classList.add('ax-bg-black/10');
2440
+ }
2423
2441
  }
2424
2442
  /**
2425
2443
  * Remove the alert from the container
@@ -2447,14 +2465,13 @@ class AXAlertComponent extends AXBaseAlertMixin {
2447
2465
  }
2448
2466
  _AXAlertComponent_visible = new WeakMap();
2449
2467
  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 });
2450
- 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 });
2468
+ 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 });
2451
2469
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXAlertComponent, decorators: [{
2452
2470
  type: Component,
2453
- 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>" }]
2454
- }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { icon: [{
2455
- type: Input
2456
- }], showIcon: [{
2457
- type: Input
2471
+ 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>" }]
2472
+ }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { _icon: [{
2473
+ type: ContentChild,
2474
+ args: [AXDecoratorIconComponent]
2458
2475
  }], __hostClass: [{
2459
2476
  type: HostBinding,
2460
2477
  args: ['class']
@@ -2464,27 +2481,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
2464
2481
  type: Input
2465
2482
  }] } });
2466
2483
 
2467
- class AXAlertTitleComponent {
2468
- }
2469
- AXAlertTitleComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXAlertTitleComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
2470
- 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: `
2471
- <ng-content>
2472
- </ng-content>
2473
- `, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
2474
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXAlertTitleComponent, decorators: [{
2475
- type: Component,
2476
- args: [{
2477
- selector: 'ax-alert-title',
2478
- template: `
2479
- <ng-content>
2480
- </ng-content>
2481
- `,
2482
- changeDetection: ChangeDetectionStrategy.OnPush,
2483
- encapsulation: ViewEncapsulation.None,
2484
- host: { class: 'ax-alert-title' }
2485
- }]
2486
- }] });
2487
-
2488
2484
  class AXAlertButtonComponent extends AXBaseClickableMixin {
2489
2485
  constructor(elementRef, cdr) {
2490
2486
  super(elementRef, cdr);
@@ -2500,7 +2496,7 @@ class AXAlertButtonComponent extends AXBaseClickableMixin {
2500
2496
  }
2501
2497
  }
2502
2498
  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 });
2503
- 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: `
2499
+ 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: `
2504
2500
  {{text}}
2505
2501
  <ng-content select="ax-icon"></ng-content>
2506
2502
  `, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
@@ -2515,7 +2511,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
2515
2511
  changeDetection: ChangeDetectionStrategy.OnPush,
2516
2512
  encapsulation: ViewEncapsulation.None,
2517
2513
  outputs: [...BUTTON_OUTPUT],
2518
- host: { class: 'ax-alert-button' }
2519
2514
  }]
2520
2515
  }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { text: [{
2521
2516
  type: Input
@@ -2532,105 +2527,24 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
2532
2527
  args: ['blur', ['$event']]
2533
2528
  }] } });
2534
2529
 
2535
- class AXAlertContentComponent {
2536
- }
2537
- AXAlertContentComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXAlertContentComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
2538
- 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>
2539
- </ng-content>
2540
- `, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
2541
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXAlertContentComponent, decorators: [{
2542
- type: Component,
2543
- args: [{
2544
- selector: 'ax-alert-content',
2545
- template: `<ng-content>
2546
- </ng-content>
2547
- `,
2548
- changeDetection: ChangeDetectionStrategy.OnPush,
2549
- encapsulation: ViewEncapsulation.None,
2550
- host: { class: 'ax-alert-content' }
2551
- }]
2552
- }] });
2553
-
2554
- class AXAlertSuffixComponent {
2555
- }
2556
- AXAlertSuffixComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXAlertSuffixComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
2557
- 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: `
2558
- <div class="ax-alert-buttons">
2559
- <ng-content select="ax-alert-button">
2560
- </ng-content>
2561
- </div>
2562
- `, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
2563
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXAlertSuffixComponent, decorators: [{
2564
- type: Component,
2565
- args: [{
2566
- selector: 'ax-alert-suffix',
2567
- template: `
2568
- <div class="ax-alert-buttons">
2569
- <ng-content select="ax-alert-button">
2570
- </ng-content>
2571
- </div>
2572
- `,
2573
- changeDetection: ChangeDetectionStrategy.OnPush,
2574
- encapsulation: ViewEncapsulation.None,
2575
- host: { class: 'ax-alert-suffix' }
2576
- }]
2577
- }] });
2578
-
2579
- class AXAlertFooterComponent {
2580
- }
2581
- AXAlertFooterComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXAlertFooterComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
2582
- 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: `
2583
- <div class="ax-alert-buttons">
2584
- <ng-content select="ax-alert-button">
2585
- </ng-content>
2586
- </div>
2587
- `, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
2588
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXAlertFooterComponent, decorators: [{
2589
- type: Component,
2590
- args: [{
2591
- selector: 'ax-alert-footer',
2592
- template: `
2593
- <div class="ax-alert-buttons">
2594
- <ng-content select="ax-alert-button">
2595
- </ng-content>
2596
- </div>
2597
- `,
2598
- changeDetection: ChangeDetectionStrategy.OnPush,
2599
- encapsulation: ViewEncapsulation.None,
2600
- host: { class: 'ax-alert-footer' }
2601
- }]
2602
- }] });
2603
-
2604
- const COMPONENT$k = [
2530
+ const COMPONENT$l = [
2605
2531
  AXAlertComponent,
2606
- AXAlertContentComponent,
2607
- AXAlertTitleComponent,
2608
- AXAlertButtonComponent,
2609
- AXAlertFooterComponent,
2610
- AXAlertSuffixComponent
2532
+ AXAlertButtonComponent
2611
2533
  ];
2612
- const MODULES$k = [CommonModule, AXIconModule];
2534
+ const MODULES$l = [CommonModule, AXDecoratorModule];
2613
2535
  class AXAlertModule {
2614
2536
  }
2615
2537
  AXAlertModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXAlertModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
2616
2538
  AXAlertModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXAlertModule, declarations: [AXAlertComponent,
2617
- AXAlertContentComponent,
2618
- AXAlertTitleComponent,
2619
- AXAlertButtonComponent,
2620
- AXAlertFooterComponent,
2621
- AXAlertSuffixComponent], imports: [CommonModule, AXIconModule], exports: [AXAlertComponent,
2622
- AXAlertContentComponent,
2623
- AXAlertTitleComponent,
2624
- AXAlertButtonComponent,
2625
- AXAlertFooterComponent,
2626
- AXAlertSuffixComponent] });
2627
- AXAlertModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXAlertModule, providers: [], imports: [[...MODULES$k]] });
2539
+ AXAlertButtonComponent], imports: [CommonModule, AXDecoratorModule], exports: [AXAlertComponent,
2540
+ AXAlertButtonComponent] });
2541
+ AXAlertModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXAlertModule, providers: [], imports: [[...MODULES$l]] });
2628
2542
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXAlertModule, decorators: [{
2629
2543
  type: NgModule,
2630
2544
  args: [{
2631
- declarations: [...COMPONENT$k],
2632
- imports: [...MODULES$k],
2633
- exports: [...COMPONENT$k],
2545
+ declarations: [...COMPONENT$l],
2546
+ imports: [...MODULES$l],
2547
+ exports: [...COMPONENT$l],
2634
2548
  providers: [],
2635
2549
  }]
2636
2550
  }] });
@@ -2687,19 +2601,19 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
2687
2601
  args: ['class']
2688
2602
  }] } });
2689
2603
 
2690
- const COMPONENT$j = [AXAvatarComponent, AXAvatarGroup];
2691
- const MODULES$j = [CommonModule];
2604
+ const COMPONENT$k = [AXAvatarComponent, AXAvatarGroup];
2605
+ const MODULES$k = [CommonModule];
2692
2606
  class AXAvatarModule {
2693
2607
  }
2694
2608
  AXAvatarModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXAvatarModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
2695
2609
  AXAvatarModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXAvatarModule, declarations: [AXAvatarComponent, AXAvatarGroup], imports: [CommonModule], exports: [AXAvatarComponent, AXAvatarGroup] });
2696
- AXAvatarModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXAvatarModule, providers: [], imports: [[...MODULES$j]] });
2610
+ AXAvatarModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXAvatarModule, providers: [], imports: [[...MODULES$k]] });
2697
2611
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXAvatarModule, decorators: [{
2698
2612
  type: NgModule,
2699
2613
  args: [{
2700
- declarations: [...COMPONENT$j],
2701
- imports: [...MODULES$j],
2702
- exports: [...COMPONENT$j],
2614
+ declarations: [...COMPONENT$k],
2615
+ imports: [...MODULES$k],
2616
+ exports: [...COMPONENT$k],
2703
2617
  providers: [],
2704
2618
  }]
2705
2619
  }] });
@@ -2728,19 +2642,19 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
2728
2642
  args: ['class']
2729
2643
  }] } });
2730
2644
 
2731
- const COMPONENT$i = [AXBadgeComponent];
2732
- const MODULES$i = [CommonModule];
2645
+ const COMPONENT$j = [AXBadgeComponent];
2646
+ const MODULES$j = [CommonModule];
2733
2647
  class AXBadgeModule {
2734
2648
  }
2735
2649
  AXBadgeModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXBadgeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
2736
2650
  AXBadgeModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXBadgeModule, declarations: [AXBadgeComponent], imports: [CommonModule], exports: [AXBadgeComponent] });
2737
- AXBadgeModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXBadgeModule, providers: [], imports: [[...MODULES$i]] });
2651
+ AXBadgeModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXBadgeModule, providers: [], imports: [[...MODULES$j]] });
2738
2652
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXBadgeModule, decorators: [{
2739
2653
  type: NgModule,
2740
2654
  args: [{
2741
- declarations: [...COMPONENT$i],
2742
- imports: [...MODULES$i],
2743
- exports: [...COMPONENT$i],
2655
+ declarations: [...COMPONENT$j],
2656
+ imports: [...MODULES$j],
2657
+ exports: [...COMPONENT$j],
2744
2658
  providers: [],
2745
2659
  }]
2746
2660
  }] });
@@ -2914,17 +2828,299 @@ const CALENDAR_INPUTS = [
2914
2828
  ];
2915
2829
  const CALENDAR_OUTPUTS = ['depthChange', 'typeChange', 'disabledDatesChange', 'holidayDatesChange', 'onNavigate'];
2916
2830
 
2831
+ class AXPickerComponent extends AXBaseValueComponentMixin {
2832
+ constructor(elementRef, cdr) {
2833
+ super(elementRef, cdr);
2834
+ this.cdr = cdr;
2835
+ this.items = [];
2836
+ this.OnChange = new EventEmitter();
2837
+ this.touchOrMouse = {
2838
+ isTouchable: 'ontouchstart' in window,
2839
+ isMouseDown: false
2840
+ };
2841
+ this.draggingInfo = {
2842
+ isDragging: false,
2843
+ groupIndex: null,
2844
+ startPageY: null
2845
+ };
2846
+ this.itemPerDegree = 23;
2847
+ this.safeDoTimeoutId = null;
2848
+ }
2849
+ ngOnInit() {
2850
+ this.currentIndexList = this.getInitialCurrentIndexList();
2851
+ this.lastCurrentIndexList = [].concat(this.currentIndexList);
2852
+ this.groupsRectList = new Array(this.items.length);
2853
+ this.eventsRegister();
2854
+ window.addEventListener('resize', this.safeGetRectsBindEvents.bind(this));
2855
+ }
2856
+ ngAfterViewInit() {
2857
+ this.getGroupsRectList();
2858
+ }
2859
+ ngOnDestroy() {
2860
+ window.removeEventListener('resize', this.safeGetRectsBindEvents.bind(this));
2861
+ }
2862
+ setGroupData(gIndex, groupData) {
2863
+ if (!this.currentIndexList) {
2864
+ this.currentIndexList = this.getInitialCurrentIndexList();
2865
+ }
2866
+ this.items[gIndex] = groupData;
2867
+ const iCI = groupData.currentIndex;
2868
+ let movedIndex = 0;
2869
+ if (typeof iCI === 'number' && iCI >= 0 && groupData.list && groupData.list.length && iCI <= groupData.list.length - 1) {
2870
+ movedIndex = Math.round(iCI);
2871
+ }
2872
+ this.currentIndexList[gIndex] = movedIndex;
2873
+ this.lastCurrentIndexList = [].concat(this.currentIndexList);
2874
+ }
2875
+ getInitialCurrentIndexList() {
2876
+ return this.items.map((item, index) => {
2877
+ const iCI = item.currentIndex;
2878
+ if (typeof iCI === 'number' && iCI >= 0 && item.list && item.list.length && iCI <= item.list.length - 1) {
2879
+ return Math.round(iCI);
2880
+ }
2881
+ return 0;
2882
+ });
2883
+ }
2884
+ safeGetRectsBindEvents() {
2885
+ if (this.safeDoTimeoutId) {
2886
+ clearTimeout(this.safeDoTimeoutId);
2887
+ }
2888
+ this.safeDoTimeoutId = setTimeout(() => {
2889
+ this.getGroupsRectList();
2890
+ }, 200);
2891
+ }
2892
+ getGroupsRectList() {
2893
+ if (this.pickerGroupLayer) {
2894
+ this.pickerGroupLayer.toArray().forEach((item, index) => {
2895
+ this.groupsRectList[index] = item.nativeElement.getBoundingClientRect();
2896
+ });
2897
+ }
2898
+ }
2899
+ eventsRegister() {
2900
+ const handleEventLayer = this.pickerHandleLayer.nativeElement;
2901
+ if (handleEventLayer) {
2902
+ this.addEventsForElement(handleEventLayer);
2903
+ }
2904
+ }
2905
+ addEventsForElement(el) {
2906
+ const _ = this.touchOrMouse.isTouchable;
2907
+ const eventHandlerList = [
2908
+ { name: _ ? 'touchstart' : 'mousedown', handler: this.handleStart },
2909
+ { name: _ ? 'touchmove' : 'mousemove', handler: this.handleMove },
2910
+ { name: _ ? 'touchend' : 'mouseup', handler: this.handleEnd },
2911
+ { name: _ ? 'touchcancel' : 'mouseleave', handler: this.handleCancel }
2912
+ ];
2913
+ eventHandlerList.forEach((item, index) => {
2914
+ el.removeEventListener(item.name, item.handler, false);
2915
+ el.addEventListener(item.name, item.handler.bind(this), false);
2916
+ });
2917
+ }
2918
+ triggerMiddleLayerGroupClick(gIndex) {
2919
+ const data = this.items;
2920
+ if (typeof gIndex === 'number' && typeof data[gIndex].onClick === 'function') {
2921
+ data[gIndex].onClick(gIndex, this.currentIndexList[gIndex]);
2922
+ }
2923
+ }
2924
+ triggerAboveLayerClick(ev, gIndex) {
2925
+ const movedIndex = this.currentIndexList[gIndex] + 1;
2926
+ this.currentIndexList[gIndex] = movedIndex;
2927
+ this.correctionCurrentIndex(ev, gIndex);
2928
+ }
2929
+ triggerMiddleLayerClick(ev, gIndex) {
2930
+ this.triggerMiddleLayerGroupClick(gIndex);
2931
+ }
2932
+ triggerBelowLayerClick(ev, gIndex) {
2933
+ const movedIndex = this.currentIndexList[gIndex] - 1;
2934
+ this.currentIndexList[gIndex] = movedIndex;
2935
+ this.correctionCurrentIndex(ev, gIndex);
2936
+ }
2937
+ getTouchInfo(ev) {
2938
+ return this.touchOrMouse.isTouchable ? ev.changedTouches[0] || ev.touches[0] : ev;
2939
+ }
2940
+ getGroupIndexBelongsEvent(ev) {
2941
+ const touchInfo = this.getTouchInfo(ev);
2942
+ for (let i = 0; i < this.groupsRectList.length; i++) {
2943
+ const item = this.groupsRectList[i];
2944
+ if (item.left < touchInfo.pageX && touchInfo.pageX < item.right) {
2945
+ return i;
2946
+ }
2947
+ }
2948
+ return null;
2949
+ }
2950
+ handleEventClick(ev) {
2951
+ const gIndex = this.getGroupIndexBelongsEvent(ev);
2952
+ switch (ev.target.dataset.type) {
2953
+ case 'top':
2954
+ this.triggerAboveLayerClick(ev, gIndex);
2955
+ break;
2956
+ case 'middle':
2957
+ this.triggerMiddleLayerClick(ev, gIndex);
2958
+ break;
2959
+ case 'bottom':
2960
+ this.triggerBelowLayerClick(ev, gIndex);
2961
+ break;
2962
+ default:
2963
+ }
2964
+ }
2965
+ handleStart(ev) {
2966
+ if (ev.cancelable) {
2967
+ ev.preventDefault();
2968
+ ev.stopPropagation();
2969
+ }
2970
+ const touchInfo = this.getTouchInfo(ev);
2971
+ this.draggingInfo.startPageY = touchInfo.pageY;
2972
+ if (!this.touchOrMouse.isTouchable) {
2973
+ this.touchOrMouse.isMouseDown = true;
2974
+ }
2975
+ }
2976
+ handleMove(ev) {
2977
+ ev.preventDefault();
2978
+ ev.stopPropagation();
2979
+ if (this.touchOrMouse.isTouchable || this.touchOrMouse.isMouseDown) {
2980
+ this.draggingInfo.isDragging = true;
2981
+ this.setCurrentIndexOnMove(ev);
2982
+ }
2983
+ }
2984
+ handleEnd(ev) {
2985
+ ev.preventDefault();
2986
+ ev.stopPropagation();
2987
+ if (!this.draggingInfo.isDragging) {
2988
+ this.handleEventClick(ev);
2989
+ }
2990
+ this.draggingInfo.isDragging = false;
2991
+ this.touchOrMouse.isMouseDown = false;
2992
+ this.correctionAfterDragging(ev);
2993
+ }
2994
+ handleCancel(ev) {
2995
+ ev.preventDefault();
2996
+ ev.stopPropagation();
2997
+ if (this.touchOrMouse.isTouchable || this.touchOrMouse.isMouseDown) {
2998
+ this.correctionAfterDragging(ev);
2999
+ this.touchOrMouse.isMouseDown = false;
3000
+ this.draggingInfo.isDragging = false;
3001
+ }
3002
+ }
3003
+ setCurrentIndexOnMove(ev) {
3004
+ const touchInfo = this.getTouchInfo(ev);
3005
+ if (this.draggingInfo.groupIndex === null) {
3006
+ this.draggingInfo.groupIndex = this.getGroupIndexBelongsEvent(ev);
3007
+ }
3008
+ const gIndex = this.draggingInfo.groupIndex;
3009
+ if (typeof gIndex === 'number' && (this.items[gIndex].divider || !this.items[gIndex].list)) {
3010
+ return;
3011
+ }
3012
+ const moveCount = (this.draggingInfo.startPageY - touchInfo.pageY) / 32;
3013
+ const movedIndex = this.currentIndexList[gIndex] + moveCount;
3014
+ this.currentIndexList[gIndex] = movedIndex;
3015
+ this.draggingInfo.startPageY = touchInfo.pageY;
3016
+ }
3017
+ correctionAfterDragging(ev) {
3018
+ const gIndex = this.draggingInfo.groupIndex;
3019
+ this.correctionCurrentIndex(ev, gIndex);
3020
+ this.draggingInfo.groupIndex = null;
3021
+ this.draggingInfo.startPageY = null;
3022
+ }
3023
+ correctionCurrentIndex(ev, gIndex) {
3024
+ setTimeout(() => {
3025
+ if (typeof gIndex === 'number' && this.items[gIndex].divider !== true && this.items[gIndex].list.length > 0) {
3026
+ const unsafeGroupIndex = this.currentIndexList[gIndex];
3027
+ let movedIndex = unsafeGroupIndex;
3028
+ if (unsafeGroupIndex > this.items[gIndex].list.length - 1) {
3029
+ movedIndex = this.items[gIndex].list.length - 1;
3030
+ }
3031
+ else if (unsafeGroupIndex < 0) {
3032
+ movedIndex = 0;
3033
+ }
3034
+ movedIndex = Math.round(movedIndex);
3035
+ this.currentIndexList[gIndex] = movedIndex;
3036
+ if (movedIndex !== this.lastCurrentIndexList[gIndex]) {
3037
+ this.OnChange.emit({ gIndex, iIndex: movedIndex });
3038
+ }
3039
+ this.lastCurrentIndexList = [].concat(this.currentIndexList);
3040
+ }
3041
+ }, 100);
3042
+ }
3043
+ isCurrentItem(gIndex, iIndex) {
3044
+ return this.currentIndexList[gIndex] === iIndex;
3045
+ }
3046
+ getCurrentIndexList() {
3047
+ return this.currentIndexList;
3048
+ }
3049
+ getGroupClass(gIndex) {
3050
+ const group = this.items[gIndex];
3051
+ const defaultWeightClass = 'weight-' + (group.weight || 1);
3052
+ const groupClass = [defaultWeightClass];
3053
+ if (group.className) {
3054
+ groupClass.push(group.className);
3055
+ }
3056
+ return groupClass;
3057
+ }
3058
+ getItemClass(gIndex, iIndex, isDivider = false) {
3059
+ const group = this.items[gIndex];
3060
+ const itemClass = [];
3061
+ if (!isDivider && this.isCurrentItem(gIndex, iIndex)) {
3062
+ itemClass.push('smooth-item-selected');
3063
+ }
3064
+ if (group.textAlign) {
3065
+ itemClass.push('text-' + group.textAlign);
3066
+ }
3067
+ return itemClass;
3068
+ }
3069
+ getItemStyle(gIndex, iIndex) {
3070
+ const gapCount = this.currentIndexList[gIndex] - iIndex;
3071
+ if (Math.abs(gapCount) < (90 / this.itemPerDegree)) {
3072
+ const rotateStyle = {
3073
+ transform: 'rotateX(' + gapCount * this.itemPerDegree + 'deg) translate3d(0, 0, 5.625em)',
3074
+ opacity: (1 - Math.abs(gapCount) / (90 / this.itemPerDegree)).toString()
3075
+ };
3076
+ if (!this.draggingInfo.isDragging) {
3077
+ rotateStyle['transition'] = 'transform 150ms ease-out';
3078
+ }
3079
+ return rotateStyle;
3080
+ }
3081
+ if (gapCount > 0) {
3082
+ return { transform: 'rotateX(90deg) translate3d(0, 0, 5.625em)' };
3083
+ }
3084
+ else {
3085
+ return { transform: 'rotateX(-90deg) translate3d(0, 0, 5.625em)' };
3086
+ }
3087
+ }
3088
+ }
3089
+ 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 });
3090
+ 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"] }] });
3091
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXPickerComponent, decorators: [{
3092
+ type: Component,
3093
+ 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>" }]
3094
+ }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { pickerGroupLayer: [{
3095
+ type: ViewChildren,
3096
+ args: ['pickerGroupLayer']
3097
+ }], pickerHandleLayer: [{
3098
+ type: ViewChild,
3099
+ args: ['pickerHandleLayer', { static: true }]
3100
+ }], itemTemplate: [{
3101
+ type: ContentChild,
3102
+ args: [TemplateRef]
3103
+ }], items: [{
3104
+ type: Input
3105
+ }], OnChange: [{
3106
+ type: Output
3107
+ }] } });
3108
+
2917
3109
  const AXCalendarComponentMixin = _ClickableComponenetMixin(_InteractiveComponenetMixin(_ValueComponenetMixin(AXCalendarBaseComponent)));
2918
3110
  class AXCalendarComponent extends AXCalendarComponentMixin {
2919
3111
  constructor(elementRef, cdr) {
2920
3112
  super(elementRef, cdr);
2921
3113
  this.cdr = cdr;
3114
+ this.interface = 'calendar';
2922
3115
  this._today = new AXDateTime(new Date(), this.type);
2923
3116
  this._navText = '';
2924
3117
  this._todayText = '';
2925
3118
  this._slots = [];
2926
3119
  this._dayNames = [];
2927
3120
  this._isUserInteraction = false;
3121
+ this._pickerDays = [];
3122
+ this._pickerMonths = [];
3123
+ this._pickerYears = [];
2928
3124
  }
2929
3125
  get _viewRange() {
2930
3126
  const current = this._viewStartDate || this._today;
@@ -3136,7 +3332,12 @@ class AXCalendarComponent extends AXCalendarComponentMixin {
3136
3332
  end: vr.endTime?.date,
3137
3333
  htmlElement: this._getHostElement()
3138
3334
  });
3139
- this._genearteSlots();
3335
+ if (this.interface == 'calendar')
3336
+ this._genearteSlots();
3337
+ else {
3338
+ this._generatePickerItems('year');
3339
+ this._generatePickerItems('month');
3340
+ }
3140
3341
  setTimeout(() => {
3141
3342
  this.focus();
3142
3343
  }, 50);
@@ -3168,16 +3369,58 @@ class AXCalendarComponent extends AXCalendarComponentMixin {
3168
3369
  }
3169
3370
  return false;
3170
3371
  }
3171
- isWeekend(date) {
3172
- return date.dayOfWeek == 7 || date.dayOfWeek == 1;
3372
+ isWeekend(date) {
3373
+ return date.dayOfWeek == 7 || date.dayOfWeek == 1;
3374
+ }
3375
+ _generatePickerItems(view) {
3376
+ debugger;
3377
+ switch (view) {
3378
+ case 'year':
3379
+ this._pickerYears = _.range(2000, 2050, 1);
3380
+ break;
3381
+ case 'month':
3382
+ this._pickerMonths = new AXDateTimeRange(this._viewRange.startTime.startOf('year'), this._viewRange.startTime.endOf('year'))
3383
+ .enumurate('month')
3384
+ .map(c => ({
3385
+ text: c.format('MMM'),
3386
+ value: c.monthOfYear
3387
+ }));
3388
+ break;
3389
+ default:
3390
+ this._pickerDays = new AXDateTimeRange(this._viewRange.startTime.startOf('month'), this._viewRange.startTime.endOf('month'))
3391
+ .enumurate('day')
3392
+ .map(c => c.dayOfMonth);
3393
+ this.cdr.detectChanges();
3394
+ break;
3395
+ }
3396
+ }
3397
+ _handlePickerChange(item, view) {
3398
+ debugger;
3399
+ if (!item)
3400
+ return;
3401
+ const date = this._viewRange.startTime;
3402
+ switch (view) {
3403
+ case 'year':
3404
+ this._setDate(date.set('year', item.value).date);
3405
+ break;
3406
+ case 'month':
3407
+ this._setDate(date.set('month', item.value.value).date);
3408
+ this._generatePickerItems('day');
3409
+ break;
3410
+ default:
3411
+ this._setDate(date.set('day', item.value).date);
3412
+ break;
3413
+ }
3173
3414
  }
3174
3415
  }
3175
3416
  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 });
3176
- 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 });
3417
+ 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 });
3177
3418
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXCalendarComponent, decorators: [{
3178
3419
  type: Component,
3179
- 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>" }]
3180
- }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { __hostClass: [{
3420
+ 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>" }]
3421
+ }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { interface: [{
3422
+ type: Input
3423
+ }], __hostClass: [{
3181
3424
  type: HostBinding,
3182
3425
  args: ['class']
3183
3426
  }] } });
@@ -3730,80 +3973,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
3730
3973
  }]
3731
3974
  }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; } });
3732
3975
 
3733
- class AXPickerComponent extends AXBaseComponent {
3734
- /**
3735
- * @ignore
3736
- */
3737
- constructor(elementRef, cdr) {
3738
- super(elementRef, cdr);
3739
- this.items = [];
3740
- this.onItemChanged = new EventEmitter();
3741
- }
3742
- _emitOnSlideChanged(i) {
3743
- this.onItemChanged.emit({
3744
- component: this,
3745
- value: this.items[i],
3746
- });
3747
- }
3748
- handleMoveChange(e) {
3749
- this._emitOnSlideChanged(e.value);
3750
- }
3751
- }
3752
- 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 });
3753
- 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"] }] });
3754
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXPickerComponent, decorators: [{
3755
- type: Component,
3756
- 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" }]
3757
- }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { itemTemplate: [{
3758
- type: ContentChild,
3759
- args: [TemplateRef]
3760
- }], width: [{
3761
- type: Input
3762
- }], height: [{
3763
- type: Input
3764
- }], itemHeight: [{
3765
- type: Input
3766
- }], items: [{
3767
- type: Input
3768
- }], onItemChanged: [{
3769
- type: Output
3770
- }] } });
3771
-
3772
- class AXInlineCalendarComponent extends AXBaseComponent {
3773
- constructor(elementRef, cdr) {
3774
- super(elementRef, cdr);
3775
- this.elementRef = elementRef;
3776
- this.cdr = cdr;
3777
- this._days = [];
3778
- }
3779
- ngOnInit() {
3780
- for (let i = 1; i < 31; i++) {
3781
- this._days.push({ text: i.toString(), id: i });
3782
- }
3783
- }
3784
- handleDayChange(e) {
3785
- console.log(e);
3786
- }
3787
- }
3788
- 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 });
3789
- 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: `
3790
- <ax-picker width="100%%" height="300px" itemHeight="48px" [items]="_days" (onItemChanged)="handleDayChange($event)"></ax-picker>
3791
- <ax-picker width="100%" height="300px" itemHeight="48px" [items]="_days" (onItemChanged)="handleDayChange($event)"></ax-picker>
3792
- <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 });
3793
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXInlineCalendarComponent, decorators: [{
3794
- type: Component,
3795
- args: [{
3796
- selector: 'ax-inline-calendar',
3797
- 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>`,
3801
- styles: [``],
3802
- encapsulation: ViewEncapsulation.None,
3803
- host: { class: 'ax-inline-calendar' }
3804
- }]
3805
- }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; } });
3806
-
3807
3976
  class AXCarouselArrowsComponent extends AXBaseComponentMixin {
3808
3977
  constructor(elementRef, cdr, parent) {
3809
3978
  super(elementRef, cdr);
@@ -3823,7 +3992,7 @@ class AXCarouselArrowsComponent extends AXBaseComponentMixin {
3823
3992
  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 });
3824
3993
  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: `
3825
3994
  <button class="ax-carousel-arrow-prev" [ngClass]="{'ax-vertical-arrow ax-top-arrow': this.parent.vertical}" (click)="_handlePrevClick($event)">
3826
- <i class="ax-ic ax-ic-chevron rtl:ax-rotate-180 {{class}}"></i>
3995
+ <i class="ax-ic ax-ic-chevron ax-block rtl:ax-rotate-180 {{class}}"></i>
3827
3996
  </button>
3828
3997
  <button class="ax-carousel-arrow-next" [ngClass]="{'ax-vertical-arrow ax-bottom-arrow': this.parent.vertical}" (click)="_handleNextClick($event)">
3829
3998
  <i class="ax-ic ax-ic-chevron ax-block ax-rotate-180 rtl:ax-rotate-0 {{class}}"></i>
@@ -3835,7 +4004,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
3835
4004
  selector: 'ax-carousel-arrows',
3836
4005
  template: `
3837
4006
  <button class="ax-carousel-arrow-prev" [ngClass]="{'ax-vertical-arrow ax-top-arrow': this.parent.vertical}" (click)="_handlePrevClick($event)">
3838
- <i class="ax-ic ax-ic-chevron rtl:ax-rotate-180 {{class}}"></i>
4007
+ <i class="ax-ic ax-ic-chevron ax-block rtl:ax-rotate-180 {{class}}"></i>
3839
4008
  </button>
3840
4009
  <button class="ax-carousel-arrow-next" [ngClass]="{'ax-vertical-arrow ax-bottom-arrow': this.parent.vertical}" (click)="_handleNextClick($event)">
3841
4010
  <i class="ax-ic ax-ic-chevron ax-block ax-rotate-180 rtl:ax-rotate-0 {{class}}"></i>
@@ -3924,19 +4093,19 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
3924
4093
  }]
3925
4094
  }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: AXCarouselComponent }]; } });
3926
4095
 
3927
- const COMPONENT$h = [AXCarouselComponent, AXCarouselItemComponent, AXCarouselArrowsComponent, AXCarouselPagerComponent];
3928
- const MODULES$h = [CommonModule];
4096
+ const COMPONENT$i = [AXCarouselComponent, AXCarouselItemComponent, AXCarouselArrowsComponent, AXCarouselPagerComponent];
4097
+ const MODULES$i = [CommonModule];
3929
4098
  class AXCarouselModule {
3930
4099
  }
3931
4100
  AXCarouselModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXCarouselModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
3932
4101
  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] });
3933
- AXCarouselModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXCarouselModule, providers: [], imports: [[...MODULES$h]] });
4102
+ AXCarouselModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXCarouselModule, providers: [], imports: [[...MODULES$i]] });
3934
4103
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXCarouselModule, decorators: [{
3935
4104
  type: NgModule,
3936
4105
  args: [{
3937
- declarations: [...COMPONENT$h],
3938
- imports: [...MODULES$h],
3939
- exports: [...COMPONENT$h],
4106
+ declarations: [...COMPONENT$i],
4107
+ imports: [...MODULES$i],
4108
+ exports: [...COMPONENT$i],
3940
4109
  providers: [],
3941
4110
  }]
3942
4111
  }] });
@@ -3956,19 +4125,19 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
3956
4125
  }]
3957
4126
  }] });
3958
4127
 
3959
- const COMPONENT$g = [AXCalendarComponent, AXInlineCalendarComponent];
3960
- const MODULES$g = [CommonModule, AXButtonModule, AXIconModule, AXEditorDecoratorModule, AXDateTimeModule, AXPickerModule];
4128
+ const COMPONENT$h = [AXCalendarComponent];
4129
+ const MODULES$h = [CommonModule, AXButtonModule, AXDecoratorModule, AXDateTimeModule, AXPickerModule];
3961
4130
  class AXCalendarModule {
3962
4131
  }
3963
4132
  AXCalendarModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXCalendarModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
3964
- 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] });
3965
- AXCalendarModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXCalendarModule, providers: [], imports: [[...MODULES$g]] });
4133
+ 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] });
4134
+ AXCalendarModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXCalendarModule, providers: [], imports: [[...MODULES$h]] });
3966
4135
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXCalendarModule, decorators: [{
3967
4136
  type: NgModule,
3968
4137
  args: [{
3969
- declarations: [...COMPONENT$g],
3970
- imports: [...MODULES$g],
3971
- exports: [...COMPONENT$g],
4138
+ declarations: [...COMPONENT$h],
4139
+ imports: [...MODULES$h],
4140
+ exports: [...COMPONENT$h],
3972
4141
  providers: [],
3973
4142
  }]
3974
4143
  }] });
@@ -4011,13 +4180,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
4011
4180
  class AXCheckBoxModule {
4012
4181
  }
4013
4182
  AXCheckBoxModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXCheckBoxModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
4014
- AXCheckBoxModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXCheckBoxModule, declarations: [AXCheckBoxComponent], imports: [CommonModule, FormsModule, AXEditorDecoratorModule], exports: [AXCheckBoxComponent] });
4015
- AXCheckBoxModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXCheckBoxModule, providers: [], imports: [[CommonModule, FormsModule, AXEditorDecoratorModule]] });
4183
+ AXCheckBoxModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXCheckBoxModule, declarations: [AXCheckBoxComponent], imports: [CommonModule, FormsModule, AXDecoratorModule], exports: [AXCheckBoxComponent] });
4184
+ AXCheckBoxModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXCheckBoxModule, providers: [], imports: [[CommonModule, FormsModule, AXDecoratorModule]] });
4016
4185
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXCheckBoxModule, decorators: [{
4017
4186
  type: NgModule,
4018
4187
  args: [{
4019
4188
  declarations: [AXCheckBoxComponent],
4020
- imports: [CommonModule, FormsModule, AXEditorDecoratorModule],
4189
+ imports: [CommonModule, FormsModule, AXDecoratorModule],
4021
4190
  exports: [AXCheckBoxComponent],
4022
4191
  providers: [],
4023
4192
  }]
@@ -4343,8 +4512,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
4343
4512
  args: ['axIsLoading']
4344
4513
  }] } });
4345
4514
 
4346
- const COMPONENT$f = [AXLoadingComponent, AXLoadingDirective, AXLoadingSpinnerComponent];
4347
- const MODULES$f = [CommonModule, OverlayModule, PortalModule];
4515
+ const COMPONENT$g = [AXLoadingComponent, AXLoadingDirective, AXLoadingSpinnerComponent];
4516
+ const MODULES$g = [CommonModule, OverlayModule, PortalModule];
4348
4517
  class AXLoadingModule {
4349
4518
  constructor() {
4350
4519
  AXConfig.set({
@@ -4358,13 +4527,13 @@ class AXLoadingModule {
4358
4527
  }
4359
4528
  AXLoadingModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXLoadingModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
4360
4529
  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] });
4361
- AXLoadingModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXLoadingModule, providers: [], imports: [[...MODULES$f]] });
4530
+ AXLoadingModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXLoadingModule, providers: [], imports: [[...MODULES$g]] });
4362
4531
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXLoadingModule, decorators: [{
4363
4532
  type: NgModule,
4364
4533
  args: [{
4365
- declarations: [...COMPONENT$f],
4366
- imports: [...MODULES$f],
4367
- exports: [...COMPONENT$f],
4534
+ declarations: [...COMPONENT$g],
4535
+ imports: [...MODULES$g],
4536
+ exports: [...COMPONENT$g],
4368
4537
  providers: [],
4369
4538
  }]
4370
4539
  }], ctorParameters: function () { return []; } });
@@ -4517,19 +4686,19 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
4517
4686
  }]
4518
4687
  }], ctorParameters: function () { return [{ type: i0.NgZone }, { type: AXOverlayService }]; } });
4519
4688
 
4520
- const COMPONENT$e = [AXDataListComponent];
4521
- const MODULES$e = [CommonModule, AXButtonModule, AXLoadingModule, AXTranslationModule];
4689
+ const COMPONENT$f = [AXDataListComponent];
4690
+ const MODULES$f = [CommonModule, AXButtonModule, AXLoadingModule, AXTranslationModule];
4522
4691
  class AXDataListModule {
4523
4692
  }
4524
4693
  AXDataListModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXDataListModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
4525
4694
  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] });
4526
- AXDataListModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXDataListModule, providers: [], imports: [[...MODULES$e]] });
4695
+ AXDataListModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXDataListModule, providers: [], imports: [[...MODULES$f]] });
4527
4696
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXDataListModule, decorators: [{
4528
4697
  type: NgModule,
4529
4698
  args: [{
4530
- declarations: [...COMPONENT$e],
4531
- imports: [...MODULES$e],
4532
- exports: [...COMPONENT$e],
4699
+ declarations: [...COMPONENT$f],
4700
+ imports: [...MODULES$f],
4701
+ exports: [...COMPONENT$f],
4533
4702
  providers: [],
4534
4703
  }]
4535
4704
  }] });
@@ -4564,6 +4733,7 @@ class AXPopoverComponent extends AXInteractiveComponenetMixin {
4564
4733
  this.closeTrigger = 'clickout';
4565
4734
  //
4566
4735
  this.hasBackdrop = false;
4736
+ this.adaptivityEnabled = false;
4567
4737
  //
4568
4738
  this._mousePos = { x: 0, y: 0 };
4569
4739
  this._isScrollAttached = false;
@@ -4676,7 +4846,7 @@ class AXPopoverComponent extends AXInteractiveComponenetMixin {
4676
4846
  if (!targetRef)
4677
4847
  return;
4678
4848
  if (!this._overlayRef) {
4679
- if (this._platform.is('Mobile')) {
4849
+ if (this._platform.is('Mobile') && this.adaptivityEnabled) {
4680
4850
  this._openAsActionsheet();
4681
4851
  }
4682
4852
  else {
@@ -4746,7 +4916,7 @@ class AXPopoverComponent extends AXInteractiveComponenetMixin {
4746
4916
  }
4747
4917
  }
4748
4918
  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 });
4749
- 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 });
4919
+ 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 });
4750
4920
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXPopoverComponent, decorators: [{
4751
4921
  type: Component,
4752
4922
  args: [{ selector: 'ax-popover', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, template: "<ng-template #baseTemplate>\r\n <ng-content></ng-content>\r\n</ng-template>" }]
@@ -4765,6 +4935,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
4765
4935
  type: Input
4766
4936
  }], backdropClass: [{
4767
4937
  type: Input
4938
+ }], adaptivityEnabled: [{
4939
+ type: Input
4768
4940
  }], onOpened: [{
4769
4941
  type: Output
4770
4942
  }], onClosed: [{
@@ -4922,10 +5094,10 @@ class AXDatePickerComponent extends AXBaseDatePickerMixin {
4922
5094
  }
4923
5095
  }
4924
5096
  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 });
4925
- 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 });
5097
+ 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 });
4926
5098
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXDatePickerComponent, decorators: [{
4927
5099
  type: Component,
4928
- 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>" }]
5100
+ 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>" }]
4929
5101
  }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: i1$4.AXPlatform }]; }, propDecorators: { popover: [{
4930
5102
  type: ViewChild,
4931
5103
  args: [AXPopoverComponent, { static: true }]
@@ -4971,10 +5143,10 @@ class AXTextBoxComponent extends AXBaseTextBoxMixin {
4971
5143
  }
4972
5144
  }
4973
5145
  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 });
4974
- 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 });
5146
+ 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 });
4975
5147
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXTextBoxComponent, decorators: [{
4976
5148
  type: Component,
4977
- 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>" }]
5149
+ 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>" }]
4978
5150
  }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; } });
4979
5151
 
4980
5152
  class AXTextBoxModule {
@@ -4983,14 +5155,12 @@ AXTextBoxModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version:
4983
5155
  AXTextBoxModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXTextBoxModule, declarations: [AXTextBoxComponent], imports: [CommonModule,
4984
5156
  FormsModule,
4985
5157
  AXButtonModule,
4986
- AXEditorDecoratorModule,
4987
- AXIconModule, i1$5.NgxMaskModule], exports: [AXTextBoxComponent] });
5158
+ AXDecoratorModule, i1$5.NgxMaskModule], exports: [AXTextBoxComponent] });
4988
5159
  AXTextBoxModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXTextBoxModule, providers: [], imports: [[
4989
5160
  CommonModule,
4990
5161
  FormsModule,
4991
5162
  AXButtonModule,
4992
- AXEditorDecoratorModule,
4993
- AXIconModule,
5163
+ AXDecoratorModule,
4994
5164
  NgxMaskModule.forChild()
4995
5165
  ]] });
4996
5166
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXTextBoxModule, decorators: [{
@@ -5000,8 +5170,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
5000
5170
  CommonModule,
5001
5171
  FormsModule,
5002
5172
  AXButtonModule,
5003
- AXEditorDecoratorModule,
5004
- AXIconModule,
5173
+ AXDecoratorModule,
5005
5174
  NgxMaskModule.forChild()
5006
5175
  ],
5007
5176
  exports: [AXTextBoxComponent],
@@ -5010,15 +5179,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
5010
5179
  }]
5011
5180
  }] });
5012
5181
 
5013
- const COMPONENT$d = [AXDatePickerComponent];
5014
- const MODULES$d = [
5182
+ const COMPONENT$e = [AXDatePickerComponent];
5183
+ const MODULES$e = [
5015
5184
  CommonModule,
5016
5185
  AXCalendarModule,
5017
5186
  AXTextBoxModule,
5018
5187
  AXButtonModule,
5019
5188
  AXPopoverModule,
5020
- AXEditorDecoratorModule,
5021
- AXIconModule,
5189
+ AXDecoratorModule,
5022
5190
  AXDateTimeModule,
5023
5191
  FormsModule
5024
5192
  ];
@@ -5030,17 +5198,16 @@ AXDatepickerModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", vers
5030
5198
  AXTextBoxModule,
5031
5199
  AXButtonModule,
5032
5200
  AXPopoverModule,
5033
- AXEditorDecoratorModule,
5034
- AXIconModule,
5201
+ AXDecoratorModule,
5035
5202
  AXDateTimeModule,
5036
5203
  FormsModule], exports: [AXDatePickerComponent] });
5037
- AXDatepickerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXDatepickerModule, providers: [], imports: [[...MODULES$d]] });
5204
+ AXDatepickerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXDatepickerModule, providers: [], imports: [[...MODULES$e]] });
5038
5205
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXDatepickerModule, decorators: [{
5039
5206
  type: NgModule,
5040
5207
  args: [{
5041
- declarations: [...COMPONENT$d],
5042
- imports: [...MODULES$d],
5043
- exports: [...COMPONENT$d],
5208
+ declarations: [...COMPONENT$e],
5209
+ imports: [...MODULES$e],
5210
+ exports: [...COMPONENT$e],
5044
5211
  providers: [],
5045
5212
  }]
5046
5213
  }] });
@@ -5270,32 +5437,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
5270
5437
  type: Input
5271
5438
  }] } });
5272
5439
 
5273
- class AXPageFooterComponent {
5274
- }
5275
- AXPageFooterComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXPageFooterComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
5276
- 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: `
5277
- <ng-content select="ax-prefix">
5278
- </ng-content>
5279
- <ng-content select="ax-suffix">
5280
- </ng-content>
5281
- `, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
5282
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXPageFooterComponent, decorators: [{
5283
- type: Component,
5284
- args: [{
5285
- selector: 'ax-page-footer',
5286
- template: `
5287
- <ng-content select="ax-prefix">
5288
- </ng-content>
5289
- <ng-content select="ax-suffix">
5290
- </ng-content>
5291
- `,
5292
- changeDetection: ChangeDetectionStrategy.OnPush
5293
- }]
5294
- }], propDecorators: { template: [{
5295
- type: ViewChild,
5296
- args: [TemplateRef, { static: true }]
5297
- }] } });
5298
-
5299
5440
  const TAB_META_KEY = '__meta__';
5300
5441
  class AXPageCloseEvent extends AXEvent {
5301
5442
  }
@@ -5369,67 +5510,41 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
5369
5510
  args: [AXPageComponent, { static: true }]
5370
5511
  }], footer: [{
5371
5512
  type: ViewChild,
5372
- args: [AXPageFooterComponent, { static: true }]
5513
+ args: [AXDecoratorFooterComponent, { static: true }]
5373
5514
  }], isLoadingChange: [{
5374
5515
  type: Output
5375
5516
  }], isLoading: [{
5376
5517
  type: Input
5377
5518
  }] } });
5378
5519
 
5379
- class AXPageHeaderComponent {
5380
- }
5381
- AXPageHeaderComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXPageHeaderComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
5382
- 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: `
5383
- <ng-content select="ax-prefix">
5384
- </ng-content>
5385
- <ng-content select="ax-suffix">
5386
- </ng-content>
5387
- `, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
5388
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXPageHeaderComponent, decorators: [{
5389
- type: Component,
5390
- args: [{
5391
- selector: 'ax-page-header',
5392
- template: `
5393
- <ng-content select="ax-prefix">
5394
- </ng-content>
5395
- <ng-content select="ax-suffix">
5396
- </ng-content>
5397
- `,
5398
- changeDetection: ChangeDetectionStrategy.OnPush
5399
- }]
5400
- }], propDecorators: { template: [{
5401
- type: ViewChild,
5402
- args: [TemplateRef, { static: true }]
5403
- }] } });
5404
-
5405
5520
  class AXPageModule {
5406
5521
  }
5407
5522
  AXPageModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXPageModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
5408
- AXPageModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXPageModule, declarations: [AXPageFooterComponent, AXPageHeaderComponent], exports: [AXPageFooterComponent, AXPageHeaderComponent] });
5523
+ AXPageModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXPageModule });
5409
5524
  AXPageModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXPageModule, providers: [], imports: [[]] });
5410
5525
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXPageModule, decorators: [{
5411
5526
  type: NgModule,
5412
5527
  args: [{
5413
5528
  imports: [],
5414
- exports: [AXPageFooterComponent, AXPageHeaderComponent],
5415
- declarations: [AXPageFooterComponent, AXPageHeaderComponent],
5529
+ exports: [],
5530
+ declarations: [],
5416
5531
  providers: [],
5417
5532
  }]
5418
5533
  }] });
5419
5534
 
5420
- const COMPONENT$c = [AXDialogComponent];
5421
- const MODULES$c = [CommonModule, DragDropModule, A11yModule, AXButtonModule, AXPageModule, AXEditorDecoratorModule];
5535
+ const COMPONENT$d = [AXDialogComponent];
5536
+ const MODULES$d = [CommonModule, DragDropModule, A11yModule, AXButtonModule, AXPageModule, AXDecoratorModule];
5422
5537
  class AXDialogModule {
5423
5538
  }
5424
5539
  AXDialogModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXDialogModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
5425
- 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] });
5426
- AXDialogModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXDialogModule, providers: [], imports: [[...MODULES$c]] });
5540
+ 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] });
5541
+ AXDialogModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXDialogModule, providers: [], imports: [[...MODULES$d]] });
5427
5542
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXDialogModule, decorators: [{
5428
5543
  type: NgModule,
5429
5544
  args: [{
5430
- declarations: [...COMPONENT$c],
5431
- imports: [...MODULES$c],
5432
- exports: [...COMPONENT$c],
5545
+ declarations: [...COMPONENT$d],
5546
+ imports: [...MODULES$d],
5547
+ exports: [...COMPONENT$d],
5433
5548
  providers: [],
5434
5549
  }]
5435
5550
  }] });
@@ -5481,10 +5596,10 @@ class AXDropdownPanelComponent extends AXBaseDropdownMixin {
5481
5596
  }
5482
5597
  }
5483
5598
  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 });
5484
- 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 });
5599
+ 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 });
5485
5600
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXDropdownPanelComponent, decorators: [{
5486
5601
  type: Component,
5487
- 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>" }]
5602
+ 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>" }]
5488
5603
  }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: AXButtonComponent, decorators: [{
5489
5604
  type: Optional
5490
5605
  }] }]; }, propDecorators: { _contentButtons: [{
@@ -5505,12 +5620,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
5505
5620
  class AXDropdownModule {
5506
5621
  }
5507
5622
  AXDropdownModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXDropdownModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
5508
- 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] });
5509
- AXDropdownModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXDropdownModule, providers: [], imports: [[CommonModule, AXButtonModule, OverlayModule, AXIconModule, AXEditorDecoratorModule, AXPopoverModule]] });
5623
+ 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] });
5624
+ AXDropdownModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXDropdownModule, providers: [], imports: [[CommonModule, AXButtonModule, OverlayModule, AXDecoratorModule, AXPopoverModule]] });
5510
5625
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXDropdownModule, decorators: [{
5511
5626
  type: NgModule,
5512
5627
  args: [{
5513
- imports: [CommonModule, AXButtonModule, OverlayModule, AXIconModule, AXEditorDecoratorModule, AXPopoverModule],
5628
+ imports: [CommonModule, AXButtonModule, OverlayModule, AXDecoratorModule, AXPopoverModule],
5514
5629
  exports: [AXDropdownPanelComponent],
5515
5630
  declarations: [AXDropdownPanelComponent],
5516
5631
  providers: [],
@@ -5673,19 +5788,19 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
5673
5788
  type: Input
5674
5789
  }] } });
5675
5790
 
5676
- const COMPONENT$b = [AXInputMaskComponent];
5677
- const MODULES$b = [CommonModule, NgxMaskModule.forRoot(), IMaskModule];
5791
+ const COMPONENT$c = [AXInputMaskComponent];
5792
+ const MODULES$c = [CommonModule, NgxMaskModule.forRoot(), IMaskModule];
5678
5793
  class AXInputMaskModule {
5679
5794
  }
5680
5795
  AXInputMaskModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXInputMaskModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
5681
5796
  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] });
5682
- AXInputMaskModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXInputMaskModule, providers: [], imports: [[...MODULES$b]] });
5797
+ AXInputMaskModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXInputMaskModule, providers: [], imports: [[...MODULES$c]] });
5683
5798
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXInputMaskModule, decorators: [{
5684
5799
  type: NgModule,
5685
5800
  args: [{
5686
- declarations: [...COMPONENT$b],
5687
- imports: [...MODULES$b],
5688
- exports: [...COMPONENT$b],
5801
+ declarations: [...COMPONENT$c],
5802
+ imports: [...MODULES$c],
5803
+ exports: [...COMPONENT$c],
5689
5804
  providers: [],
5690
5805
  }]
5691
5806
  }] });
@@ -5711,19 +5826,19 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
5711
5826
  type: Input
5712
5827
  }] } });
5713
5828
 
5714
- const COMPONENT$a = [AXLabelComponent];
5715
- const MODULES$a = [CommonModule];
5829
+ const COMPONENT$b = [AXLabelComponent];
5830
+ const MODULES$b = [CommonModule];
5716
5831
  class AXLabelModule {
5717
5832
  }
5718
5833
  AXLabelModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXLabelModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
5719
5834
  AXLabelModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXLabelModule, declarations: [AXLabelComponent], imports: [CommonModule], exports: [AXLabelComponent] });
5720
- AXLabelModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXLabelModule, providers: [], imports: [[...MODULES$a]] });
5835
+ AXLabelModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXLabelModule, providers: [], imports: [[...MODULES$b]] });
5721
5836
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXLabelModule, decorators: [{
5722
5837
  type: NgModule,
5723
5838
  args: [{
5724
- declarations: [...COMPONENT$a],
5725
- imports: [...MODULES$a],
5726
- exports: [...COMPONENT$a],
5839
+ declarations: [...COMPONENT$b],
5840
+ imports: [...MODULES$b],
5841
+ exports: [...COMPONENT$b],
5727
5842
  providers: [],
5728
5843
  }]
5729
5844
  }] });
@@ -5751,15 +5866,26 @@ class AXMenuComponent extends AXBaseMenuMixin {
5751
5866
  ngAfterViewInit() {
5752
5867
  super.onViewInit();
5753
5868
  }
5754
- onMenuClick(e, item) {
5755
- if (!item[this.disableField]) {
5756
- this.notActive(this.displayItems);
5869
+ _onMenuClick(e, item) {
5870
+ if (!item[this.disableField] && this.openMode === 'click') {
5871
+ if (this.openMode === 'click' && this.direction === 'horizontal') {
5872
+ this.displayItems.forEach((element) => {
5873
+ if (element[this.valueField] != item[this.valueField] &&
5874
+ !item.parentId) {
5875
+ element.isOpen = false;
5876
+ }
5877
+ });
5878
+ }
5879
+ this._notActive(this.displayItems);
5757
5880
  if (item.children?.length > 0 || item[this.hasChildField]) {
5758
5881
  if (item.children?.length > 0 && item[this.hasChildField]) {
5759
5882
  item.children = [];
5760
5883
  }
5761
5884
  if (item.children?.length > 0) {
5762
- this.closeChild(item.children);
5885
+ if (this.openMode === 'click' && this.direction === 'horizontal') {
5886
+ this._setParentNode(item.children, item[this.valueField]);
5887
+ }
5888
+ this._closeChild(item.children);
5763
5889
  }
5764
5890
  item.isOpen = !item.isOpen;
5765
5891
  }
@@ -5770,51 +5896,102 @@ class AXMenuComponent extends AXBaseMenuMixin {
5770
5896
  nativeEvent: e,
5771
5897
  });
5772
5898
  if (item.isOpen && item[this.hasChildField]) {
5773
- this._fetchData(item.id);
5899
+ this._fetchData(item[this.valueField]);
5774
5900
  }
5775
5901
  }
5776
5902
  e.stopPropagation();
5777
5903
  e.preventDefault();
5778
5904
  }
5779
- notActive(items) {
5905
+ _notActive(items) {
5780
5906
  items.forEach((element) => {
5781
5907
  element.isActive = false;
5782
5908
  if (element.children?.length > 0) {
5783
- this.notActive(element.children);
5909
+ this._notActive(element.children);
5784
5910
  }
5785
5911
  });
5786
5912
  }
5787
- closeChild(items) {
5913
+ _closeChild(items) {
5788
5914
  items.forEach((element) => {
5789
5915
  element.isOpen = false;
5790
5916
  if (element.children?.length > 0) {
5791
- this.closeChild(element.children);
5917
+ this._closeChild(element.children);
5918
+ }
5919
+ });
5920
+ }
5921
+ _onMouseEnter(e, item) {
5922
+ if (this.openMode === 'hover') {
5923
+ if (!item[this.disableField]) {
5924
+ if (item.children?.length > 0 || item[this.hasChildField]) {
5925
+ if (item.children?.length > 0 && item[this.hasChildField]) {
5926
+ item.children = [];
5927
+ }
5928
+ if (item.children?.length > 0) {
5929
+ this._closeChild(item.children);
5930
+ }
5931
+ item.isOpen = true;
5932
+ }
5933
+ this.onMenuItemClick.emit({
5934
+ component: this,
5935
+ item: item,
5936
+ nativeEvent: e,
5937
+ });
5938
+ if (item.isOpen && item[this.hasChildField]) {
5939
+ this._fetchData(item.id);
5940
+ }
5941
+ }
5942
+ }
5943
+ e.stopPropagation();
5944
+ e.preventDefault();
5945
+ }
5946
+ _onMouseLeave(e, item) {
5947
+ if (this.openMode === 'hover') {
5948
+ if (!item[this.disableField]) {
5949
+ if (item.children?.length > 0 || item[this.hasChildField]) {
5950
+ if (item.children?.length > 0 && item[this.hasChildField]) {
5951
+ item.children = [];
5952
+ }
5953
+ if (item.children?.length > 0) {
5954
+ this._closeChild(item.children);
5955
+ }
5956
+ item.isOpen = false;
5957
+ }
5792
5958
  }
5959
+ }
5960
+ }
5961
+ _setParentNode(item, parentId) {
5962
+ item.forEach((element) => {
5963
+ element.parentId = parentId;
5793
5964
  });
5794
5965
  }
5966
+ _getDirection() {
5967
+ if (this.direction === 'horizontal') {
5968
+ return 'horizontal-mode';
5969
+ }
5970
+ else {
5971
+ return 'vertical-mode';
5972
+ }
5973
+ }
5795
5974
  }
5796
5975
  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 });
5797
- 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 });
5976
+ 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 });
5798
5977
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXMenuComponent, decorators: [{
5799
5978
  type: Component,
5800
- 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>" }]
5979
+ 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>" }]
5801
5980
  }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { _contentEmptyTemplate: [{
5802
5981
  type: ContentChild,
5803
5982
  args: ['emptyTemplate']
5804
5983
  }] } });
5805
5984
 
5806
- const COMPONENT$9 = [AXMenuComponent];
5807
- const MODULES$9 = [CommonModule];
5985
+ const COMPONENT$a = [AXMenuComponent];
5986
+ const MODULES$a = [CommonModule, AXDecoratorModule];
5808
5987
  class AXMenuModule {
5809
5988
  }
5810
5989
  AXMenuModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXMenuModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
5811
- AXMenuModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXMenuModule, declarations: [AXMenuComponent], imports: [CommonModule, AXIconModule,
5812
- AXLoadingModule,
5990
+ AXMenuModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXMenuModule, declarations: [AXMenuComponent], imports: [CommonModule, AXDecoratorModule, AXLoadingModule,
5813
5991
  AXTranslationModule,
5814
5992
  AXPopoverModule], exports: [AXMenuComponent] });
5815
5993
  AXMenuModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXMenuModule, providers: [], imports: [[
5816
- ...MODULES$9,
5817
- AXIconModule,
5994
+ ...MODULES$a,
5818
5995
  AXLoadingModule,
5819
5996
  AXTranslationModule,
5820
5997
  AXPopoverModule,
@@ -5822,15 +5999,14 @@ AXMenuModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
5822
5999
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXMenuModule, decorators: [{
5823
6000
  type: NgModule,
5824
6001
  args: [{
5825
- declarations: [...COMPONENT$9],
6002
+ declarations: [...COMPONENT$a],
5826
6003
  imports: [
5827
- ...MODULES$9,
5828
- AXIconModule,
6004
+ ...MODULES$a,
5829
6005
  AXLoadingModule,
5830
6006
  AXTranslationModule,
5831
6007
  AXPopoverModule,
5832
6008
  ],
5833
- exports: [...COMPONENT$9],
6009
+ exports: [...COMPONENT$a],
5834
6010
  providers: [],
5835
6011
  }]
5836
6012
  }] });
@@ -6005,7 +6181,7 @@ class AXNumberBoxComponent extends AXBaseTextBoxMixin {
6005
6181
  }
6006
6182
  }
6007
6183
  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 });
6008
- 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 });
6184
+ 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 });
6009
6185
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXNumberBoxComponent, decorators: [{
6010
6186
  type: Component,
6011
6187
  args: [{ selector: 'ax-number-box', inputs: [
@@ -6043,13 +6219,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
6043
6219
  args: [IMaskDirective]
6044
6220
  }] } });
6045
6221
 
6046
- const COMPONENT$8 = [AXNumberBoxComponent];
6047
- const MODULES$8 = [
6222
+ const COMPONENT$9 = [AXNumberBoxComponent];
6223
+ const MODULES$9 = [
6048
6224
  CommonModule,
6049
6225
  FormsModule,
6050
6226
  AXButtonModule,
6051
- AXEditorDecoratorModule,
6052
- AXIconModule,
6227
+ AXDecoratorModule,
6053
6228
  IMaskModule
6054
6229
  ];
6055
6230
  class AXNumberBoxModule {
@@ -6058,16 +6233,15 @@ AXNumberBoxModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", versio
6058
6233
  AXNumberBoxModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXNumberBoxModule, declarations: [AXNumberBoxComponent], imports: [CommonModule,
6059
6234
  FormsModule,
6060
6235
  AXButtonModule,
6061
- AXEditorDecoratorModule,
6062
- AXIconModule,
6236
+ AXDecoratorModule,
6063
6237
  IMaskModule], exports: [AXNumberBoxComponent] });
6064
- AXNumberBoxModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXNumberBoxModule, providers: [], imports: [[...MODULES$8]] });
6238
+ AXNumberBoxModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXNumberBoxModule, providers: [], imports: [[...MODULES$9]] });
6065
6239
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXNumberBoxModule, decorators: [{
6066
6240
  type: NgModule,
6067
6241
  args: [{
6068
- declarations: [...COMPONENT$8],
6069
- imports: [...MODULES$8],
6070
- exports: [...COMPONENT$8],
6242
+ declarations: [...COMPONENT$9],
6243
+ imports: [...MODULES$9],
6244
+ exports: [...COMPONENT$9],
6071
6245
  providers: [],
6072
6246
  }]
6073
6247
  }] });
@@ -6102,7 +6276,7 @@ class AXPasswordBoxComponent extends AXBaseTextBoxMixin {
6102
6276
  }
6103
6277
  }
6104
6278
  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 });
6105
- 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 });
6279
+ 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 });
6106
6280
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXPasswordBoxComponent, decorators: [{
6107
6281
  type: Component,
6108
6282
  args: [{ selector: 'ax-password-box', inputs: [
@@ -6123,13 +6297,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
6123
6297
  type: Input
6124
6298
  }] } });
6125
6299
 
6126
- const COMPONENT$7 = [AXPasswordBoxComponent];
6127
- const MODULES$7 = [
6300
+ const COMPONENT$8 = [AXPasswordBoxComponent];
6301
+ const MODULES$8 = [
6128
6302
  CommonModule,
6129
6303
  FormsModule,
6130
6304
  AXButtonModule,
6131
- AXEditorDecoratorModule,
6132
- AXIconModule
6305
+ AXDecoratorModule,
6133
6306
  ];
6134
6307
  class AXPasswordBoxModule {
6135
6308
  }
@@ -6137,15 +6310,14 @@ AXPasswordBoxModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", vers
6137
6310
  AXPasswordBoxModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXPasswordBoxModule, declarations: [AXPasswordBoxComponent], imports: [CommonModule,
6138
6311
  FormsModule,
6139
6312
  AXButtonModule,
6140
- AXEditorDecoratorModule,
6141
- AXIconModule], exports: [AXPasswordBoxComponent] });
6142
- AXPasswordBoxModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXPasswordBoxModule, providers: [], imports: [[...MODULES$7]] });
6313
+ AXDecoratorModule], exports: [AXPasswordBoxComponent] });
6314
+ AXPasswordBoxModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXPasswordBoxModule, providers: [], imports: [[...MODULES$8]] });
6143
6315
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXPasswordBoxModule, decorators: [{
6144
6316
  type: NgModule,
6145
6317
  args: [{
6146
- declarations: [...COMPONENT$7],
6147
- imports: [...MODULES$7],
6148
- exports: [...COMPONENT$7],
6318
+ declarations: [...COMPONENT$8],
6319
+ imports: [...MODULES$8],
6320
+ exports: [...COMPONENT$8],
6149
6321
  providers: [],
6150
6322
  }]
6151
6323
  }] });
@@ -6213,8 +6385,8 @@ class AXPopupComponent extends AXBaseComponentMixin {
6213
6385
  const main = this._getHostElement().querySelector('.ax-popup-main-container');
6214
6386
  const popHeader = this._getHostElement().querySelector('.ax-popup-header-container');
6215
6387
  const popFooter = this._getHostElement().querySelector('.ax-popup-footer-container');
6216
- const footer = main.querySelector('ax-page-footer');
6217
- const header = main.querySelector('ax-page-header');
6388
+ const footer = main.querySelector('ax-footer');
6389
+ const header = main.querySelector('ax-header');
6218
6390
  if (footer) {
6219
6391
  popFooter.append(footer);
6220
6392
  }
@@ -6252,10 +6424,10 @@ class AXPopupComponent extends AXBaseComponentMixin {
6252
6424
  onFullScreen() { }
6253
6425
  }
6254
6426
  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 });
6255
- 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 });
6427
+ 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 });
6256
6428
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXPopupComponent, decorators: [{
6257
6429
  type: Component,
6258
- 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>" }]
6430
+ 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>" }]
6259
6431
  }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: i0.NgZone }, { type: i0.ViewContainerRef }, { type: AXLoadingService }, { type: i1$4.AXPlatform }]; }, propDecorators: { onKeydownHandler: [{
6260
6432
  type: HostListener,
6261
6433
  args: ['keydown.escape', ['$event']]
@@ -6351,19 +6523,19 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
6351
6523
  args: [{ providedIn: 'root' }]
6352
6524
  }], ctorParameters: function () { return [{ type: AXOverlayService }]; } });
6353
6525
 
6354
- const COMPONENT$6 = [AXPopupComponent];
6355
- const MODULES$6 = [CommonModule, DragDropModule, A11yModule, AXButtonModule, PortalModule];
6526
+ const COMPONENT$7 = [AXPopupComponent];
6527
+ const MODULES$7 = [CommonModule, DragDropModule, A11yModule, AXButtonModule, PortalModule, AXDecoratorModule];
6356
6528
  class AXPopupModule {
6357
6529
  }
6358
6530
  AXPopupModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXPopupModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
6359
- 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] });
6360
- AXPopupModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXPopupModule, providers: [], imports: [[...MODULES$6]] });
6531
+ 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] });
6532
+ AXPopupModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXPopupModule, providers: [], imports: [[...MODULES$7]] });
6361
6533
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXPopupModule, decorators: [{
6362
6534
  type: NgModule,
6363
6535
  args: [{
6364
- declarations: [...COMPONENT$6],
6365
- imports: [...MODULES$6],
6366
- exports: [...COMPONENT$6],
6536
+ declarations: [...COMPONENT$7],
6537
+ imports: [...MODULES$7],
6538
+ exports: [...COMPONENT$7],
6367
6539
  providers: [],
6368
6540
  }]
6369
6541
  }] });
@@ -6441,19 +6613,19 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
6441
6613
  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>" }]
6442
6614
  }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; } });
6443
6615
 
6444
- const COMPONENT$5 = [AXRadioComponent];
6445
- const MODULES$5 = [CommonModule, FormsModule];
6616
+ const COMPONENT$6 = [AXRadioComponent];
6617
+ const MODULES$6 = [CommonModule, FormsModule];
6446
6618
  class AXRadioModule {
6447
6619
  }
6448
6620
  AXRadioModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXRadioModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
6449
6621
  AXRadioModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXRadioModule, declarations: [AXRadioComponent], imports: [CommonModule, FormsModule], exports: [AXRadioComponent] });
6450
- AXRadioModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXRadioModule, providers: [], imports: [[...MODULES$5]] });
6622
+ AXRadioModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXRadioModule, providers: [], imports: [[...MODULES$6]] });
6451
6623
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXRadioModule, decorators: [{
6452
6624
  type: NgModule,
6453
6625
  args: [{
6454
- declarations: [...COMPONENT$5],
6455
- imports: [...MODULES$5],
6456
- exports: [...COMPONENT$5],
6626
+ declarations: [...COMPONENT$6],
6627
+ imports: [...MODULES$6],
6628
+ exports: [...COMPONENT$6],
6457
6629
  providers: [],
6458
6630
  }]
6459
6631
  }] });
@@ -6471,19 +6643,19 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
6471
6643
  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\">" }]
6472
6644
  }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; } });
6473
6645
 
6474
- const COMPONENT$4 = [AXRangeSliderComponent];
6475
- const MODULES$4 = [CommonModule];
6646
+ const COMPONENT$5 = [AXRangeSliderComponent];
6647
+ const MODULES$5 = [CommonModule];
6476
6648
  class AXRangeSliderModule {
6477
6649
  }
6478
6650
  AXRangeSliderModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXRangeSliderModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
6479
6651
  AXRangeSliderModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXRangeSliderModule, declarations: [AXRangeSliderComponent], imports: [CommonModule], exports: [AXRangeSliderComponent] });
6480
- AXRangeSliderModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXRangeSliderModule, providers: [], imports: [[...MODULES$4]] });
6652
+ AXRangeSliderModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXRangeSliderModule, providers: [], imports: [[...MODULES$5]] });
6481
6653
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXRangeSliderModule, decorators: [{
6482
6654
  type: NgModule,
6483
6655
  args: [{
6484
- declarations: [...COMPONENT$4],
6485
- imports: [...MODULES$4],
6486
- exports: [...COMPONENT$4],
6656
+ declarations: [...COMPONENT$5],
6657
+ imports: [...MODULES$5],
6658
+ exports: [...COMPONENT$5],
6487
6659
  providers: [],
6488
6660
  }]
6489
6661
  }] });
@@ -6575,6 +6747,61 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
6575
6747
  }]
6576
6748
  }] });
6577
6749
 
6750
+ class AXSearchBoxComponent extends AXBaseComponentMixin {
6751
+ constructor(_elementRef, _cdr, _parent) {
6752
+ super(_elementRef, _cdr);
6753
+ this._parent = _parent;
6754
+ this.placeholder = 'common.search';
6755
+ this.debounceTime = 300;
6756
+ this.searchExp = null;
6757
+ }
6758
+ _onSearchExprChanged(e) {
6759
+ if (this._parent && this._parent.search) {
6760
+ this._parent.search(e.value);
6761
+ }
6762
+ }
6763
+ focus() {
6764
+ this._textbox?.focus();
6765
+ }
6766
+ }
6767
+ 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 });
6768
+ 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 });
6769
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXSearchBoxComponent, decorators: [{
6770
+ type: Component,
6771
+ 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>" }]
6772
+ }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: AXSearchableComponent, decorators: [{
6773
+ type: Optional
6774
+ }, {
6775
+ type: Inject,
6776
+ args: [AXSearchableComponent]
6777
+ }] }]; }, propDecorators: { _textbox: [{
6778
+ type: ViewChild,
6779
+ args: [AXTextBoxComponent]
6780
+ }], placeholder: [{
6781
+ type: Input
6782
+ }], debounceTime: [{
6783
+ type: Input
6784
+ }], searchExp: [{
6785
+ type: Input
6786
+ }] } });
6787
+
6788
+ const COMPONENT$4 = [AXSearchBoxComponent];
6789
+ const MODULES$4 = [CommonModule, AXTranslationModule, AXDecoratorModule, AXTextBoxModule];
6790
+ class AXSearchBoxModule {
6791
+ }
6792
+ AXSearchBoxModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXSearchBoxModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
6793
+ 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] });
6794
+ AXSearchBoxModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXSearchBoxModule, providers: [], imports: [[...MODULES$4]] });
6795
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXSearchBoxModule, decorators: [{
6796
+ type: NgModule,
6797
+ args: [{
6798
+ declarations: [...COMPONENT$4],
6799
+ imports: [...MODULES$4],
6800
+ exports: [...COMPONENT$4],
6801
+ providers: [],
6802
+ }]
6803
+ }] });
6804
+
6578
6805
  /**
6579
6806
  * The Button is a component which detects user interaction and triggers a corresponding event
6580
6807
  *
@@ -6594,7 +6821,6 @@ class AXSelectBoxComponent extends AXBaseSelectionDropdownMixin {
6594
6821
  * Defines the clearButton.
6595
6822
  */
6596
6823
  this.clearButton = false;
6597
- this._searchSettings = { enabled: false, expr: null };
6598
6824
  /**
6599
6825
  * Defines the checkbox.
6600
6826
  */
@@ -6608,15 +6834,6 @@ class AXSelectBoxComponent extends AXBaseSelectionDropdownMixin {
6608
6834
  this._popoverWidth = this._isMobile ? null : this._target.offsetWidth;
6609
6835
  });
6610
6836
  }
6611
- /**
6612
- * Defines the search.
6613
- */
6614
- get searchSettings() {
6615
- return this._searchSettings;
6616
- }
6617
- set searchSettings(v) {
6618
- this._searchSettings = v || { enabled: false, expr: null };
6619
- }
6620
6837
  get emptyTemplate() {
6621
6838
  return this._contentEmptyTemplate;
6622
6839
  }
@@ -6659,7 +6876,6 @@ class AXSelectBoxComponent extends AXBaseSelectionDropdownMixin {
6659
6876
  }
6660
6877
  _checkForLoadData() {
6661
6878
  const list = this.listContainer.nativeElement;
6662
- //const headerSize = Array.from(list.parentElement.querySelectorAll<HTMLDivElement>('.ax-header')).reduce((v, s) => v + s.offsetHeight, 0);
6663
6879
  if (this.loadedCount < this.totalCount && list.scrollHeight < ((list.parentElement.clientHeight) * 1.5)) {
6664
6880
  this._fetchData();
6665
6881
  }
@@ -6722,6 +6938,8 @@ class AXSelectBoxComponent extends AXBaseSelectionDropdownMixin {
6722
6938
  }
6723
6939
  }
6724
6940
  _handlePopoverKeydown(e) {
6941
+ if (e.target.tagName == "INPUT" && ['Space', 'Backspace'].includes(e.code))
6942
+ return;
6725
6943
  if ((e.key === 'ArrowDown' || e.key === 'ArrowUp') && this.displayItems.length > 0) {
6726
6944
  this.isUserInput = true;
6727
6945
  this._focusItemByNav((e.key === 'ArrowDown' ? 1 : -1));
@@ -6735,8 +6953,9 @@ class AXSelectBoxComponent extends AXBaseSelectionDropdownMixin {
6735
6953
  e.preventDefault();
6736
6954
  }
6737
6955
  else if ((e.code === 'Space' || e.code === 'Enter')) {
6956
+ debugger;
6738
6957
  e.preventDefault();
6739
- const focusedItemId = this.listContainer.nativeElement.querySelector('.ax-state-focus').dataset.id;
6958
+ const focusedItemId = this.listContainer.nativeElement.querySelector('.ax-state-focus')?.dataset?.id;
6740
6959
  const focusedItem = _.findLast(this.flatItems, [this.valueField, focusedItemId]);
6741
6960
  if (focusedItem) {
6742
6961
  if (this.isItemDisabled(focusedItem)) {
@@ -6773,6 +6992,7 @@ class AXSelectBoxComponent extends AXBaseSelectionDropdownMixin {
6773
6992
  else {
6774
6993
  this._focusSelectedItem();
6775
6994
  }
6995
+ debugger;
6776
6996
  if (this._searchBox && !this._isMobile) {
6777
6997
  this._searchBox.focus();
6778
6998
  }
@@ -6848,32 +7068,43 @@ class AXSelectBoxComponent extends AXBaseSelectionDropdownMixin {
6848
7068
  }
6849
7069
  _onSearchExprChanged(e) {
6850
7070
  this.empty();
7071
+ this._forceFocus = true;
7072
+ this._fetchData();
7073
+ }
7074
+ search(exp) {
7075
+ debugger;
7076
+ this.empty();
7077
+ this._forceFocus = true;
6851
7078
  this._fetchData();
6852
7079
  }
6853
7080
  _fetchData() {
6854
- super._fetchData({ searchQuery: this._searchBox?.value });
7081
+ super._fetchData({ searchQuery: this._searchBox?.searchExp });
6855
7082
  }
6856
7083
  }
6857
7084
  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 });
6858
- 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 });
7085
+ 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: [
7086
+ { provide: AXClosbaleComponent, useExisting: AXSelectBoxComponent },
7087
+ { provide: AXSearchableComponent, useExisting: AXSelectBoxComponent }
7088
+ ], 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 });
6859
7089
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXSelectBoxComponent, decorators: [{
6860
7090
  type: Component,
6861
- 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>" }]
7091
+ 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: [
7092
+ { provide: AXClosbaleComponent, useExisting: AXSelectBoxComponent },
7093
+ { provide: AXSearchableComponent, useExisting: AXSelectBoxComponent }
7094
+ ], 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>" }]
6862
7095
  }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: i0.NgZone }, { type: i1$4.AXPlatform }]; }, propDecorators: { popover: [{
6863
7096
  type: ViewChild,
6864
7097
  args: [AXPopoverComponent, { static: true }]
7098
+ }], _searchBox: [{
7099
+ type: ContentChild,
7100
+ args: [AXSearchBoxComponent, { static: true }]
6865
7101
  }], clearButton: [{
6866
7102
  type: Input
6867
- }], searchSettings: [{
6868
- type: Input
6869
7103
  }], checkbox: [{
6870
7104
  type: Input
6871
7105
  }], listContainer: [{
6872
7106
  type: ViewChild,
6873
7107
  args: ['listContainer', { static: true }]
6874
- }], _searchBox: [{
6875
- type: ViewChild,
6876
- args: ['searchBox']
6877
7108
  }], _contentEmptyTemplate: [{
6878
7109
  type: ContentChild,
6879
7110
  args: ['emptyTemplate']
@@ -6890,9 +7121,8 @@ AXSelectBoxModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", versi
6890
7121
  FormsModule,
6891
7122
  AXCheckBoxModule,
6892
7123
  AXBadgeModule,
6893
- AXEditorDecoratorModule,
7124
+ AXDecoratorModule,
6894
7125
  AXTranslationModule,
6895
- AXIconModule,
6896
7126
  AXPopoverModule,
6897
7127
  AXButtonModule,
6898
7128
  AXLoadingModule,
@@ -6903,9 +7133,8 @@ AXSelectBoxModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", versi
6903
7133
  FormsModule,
6904
7134
  AXCheckBoxModule,
6905
7135
  AXBadgeModule,
6906
- AXEditorDecoratorModule,
7136
+ AXDecoratorModule,
6907
7137
  AXTranslationModule,
6908
- AXIconModule,
6909
7138
  AXPopoverModule,
6910
7139
  AXButtonModule,
6911
7140
  AXLoadingModule,
@@ -6920,9 +7149,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
6920
7149
  FormsModule,
6921
7150
  AXCheckBoxModule,
6922
7151
  AXBadgeModule,
6923
- AXEditorDecoratorModule,
7152
+ AXDecoratorModule,
6924
7153
  AXTranslationModule,
6925
- AXIconModule,
6926
7154
  AXPopoverModule,
6927
7155
  AXButtonModule,
6928
7156
  AXLoadingModule,
@@ -7276,11 +7504,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
7276
7504
  }], ctorParameters: function () { return [{ type: i0.ViewContainerRef }]; } });
7277
7505
 
7278
7506
  const COMPONENT$3 = [AXTabsComponent, AXTabItemComponent, AXTabContentDirective];
7279
- const MODULES$3 = [CommonModule, PortalModule, AXEditorDecoratorModule];
7507
+ const MODULES$3 = [CommonModule, PortalModule, AXDecoratorModule];
7280
7508
  class AXTabsModule {
7281
7509
  }
7282
7510
  AXTabsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXTabsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
7283
- 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] });
7511
+ 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] });
7284
7512
  AXTabsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXTabsModule, providers: [], imports: [[...MODULES$3]] });
7285
7513
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXTabsModule, decorators: [{
7286
7514
  type: NgModule,
@@ -7302,7 +7530,7 @@ class AXTextareaComponent extends AXBaseTextBoxMixin {
7302
7530
  }
7303
7531
  }
7304
7532
  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 });
7305
- 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 });
7533
+ 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 });
7306
7534
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXTextareaComponent, decorators: [{
7307
7535
  type: Component,
7308
7536
  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" }]
@@ -7563,7 +7791,7 @@ class AXTimeBoxComponent extends AXBaseTextBoxMixin {
7563
7791
  }
7564
7792
  }
7565
7793
  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 });
7566
- 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 });
7794
+ 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 });
7567
7795
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXTimeBoxComponent, decorators: [{
7568
7796
  type: Component,
7569
7797
  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>" }]
@@ -7623,13 +7851,13 @@ class AXToastComponent extends AXBaseComponentMixin {
7623
7851
  this._toastWidth = 100;
7624
7852
  }
7625
7853
  onInit() {
7626
- this._getHostElement().classList.add(`ax-${this.options.type}`);
7854
+ this._getHostElement().classList.add(`ax-${this.options.color}`);
7627
7855
  if (this.options.timeOut) {
7628
7856
  setTimeout(() => {
7629
7857
  this.close();
7630
7858
  }, this.options.timeOut);
7631
7859
  }
7632
- switch (this.options.type) {
7860
+ switch (this.options.color) {
7633
7861
  case 'success':
7634
7862
  this._icon = 'ax-ic ax-ic-check-filled';
7635
7863
  break;
@@ -7644,25 +7872,20 @@ class AXToastComponent extends AXBaseComponentMixin {
7644
7872
  break;
7645
7873
  }
7646
7874
  }
7647
- _handleButtonClick(button) {
7648
- if (button.onClick) {
7649
- button.onClick(this);
7650
- }
7651
- }
7652
7875
  }
7653
7876
  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 });
7654
- 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 });
7877
+ 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 });
7655
7878
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXToastComponent, decorators: [{
7656
7879
  type: Component,
7657
- 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>" }]
7880
+ 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>" }]
7658
7881
  }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; } });
7659
7882
 
7660
7883
  const COMPONENT$1 = [AXToastComponent];
7661
- const MODULES$1 = [CommonModule, AXButtonModule];
7884
+ const MODULES$1 = [CommonModule, AXButtonModule, AXDecoratorModule, AXAlertModule];
7662
7885
  class AXToastModule {
7663
7886
  }
7664
7887
  AXToastModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXToastModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
7665
- AXToastModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXToastModule, declarations: [AXToastComponent], imports: [CommonModule, AXButtonModule], exports: [AXToastComponent] });
7888
+ 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] });
7666
7889
  AXToastModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXToastModule, providers: [], imports: [[...MODULES$1]] });
7667
7890
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXToastModule, decorators: [{
7668
7891
  type: NgModule,
@@ -7680,32 +7903,60 @@ class AXToastService {
7680
7903
  this.parentInjector = parentInjector;
7681
7904
  this._activeList = [];
7682
7905
  }
7906
+ primary(content) {
7907
+ this.show({
7908
+ timeOut: 2500,
7909
+ color: 'primary',
7910
+ content: content
7911
+ });
7912
+ }
7913
+ secondary(content) {
7914
+ this.show({
7915
+ timeOut: 2500,
7916
+ color: 'secondary',
7917
+ content: content
7918
+ });
7919
+ }
7683
7920
  info(content) {
7684
7921
  this.show({
7685
7922
  timeOut: 2500,
7686
- type: 'info',
7687
- title: content
7923
+ color: 'info',
7924
+ content: content
7688
7925
  });
7689
7926
  }
7690
7927
  success(content) {
7691
7928
  this.show({
7692
7929
  timeOut: 2500,
7693
- type: 'success',
7694
- title: content
7930
+ color: 'success',
7931
+ content: content
7695
7932
  });
7696
7933
  }
7697
7934
  warning(content) {
7698
7935
  this.show({
7699
7936
  timeOut: 2500,
7700
- type: 'warning',
7701
- title: content
7937
+ color: 'warning',
7938
+ content: content
7702
7939
  });
7703
7940
  }
7704
7941
  danger(content) {
7705
7942
  this.show({
7706
7943
  timeOut: 2500,
7707
- type: 'danger',
7708
- title: content
7944
+ color: 'danger',
7945
+ content: content
7946
+ });
7947
+ }
7948
+ light(content) {
7949
+ this.show({
7950
+ timeOut: 2500,
7951
+ color: 'light',
7952
+ content: content
7953
+ });
7954
+ }
7955
+ dark(content) {
7956
+ this.show({
7957
+ timeOut: 2500,
7958
+ color: 'dark',
7959
+ content: content
7709
7960
  });
7710
7961
  }
7711
7962
  show(options) {
@@ -8179,5 +8430,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
8179
8430
  * Generated bundle index. Do not edit.
8180
8431
  */
8181
8432
 
8182
- 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 };
8433
+ 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 };
8183
8434
  //# sourceMappingURL=acorex-components.mjs.map