@acorex/components 5.0.6 → 5.0.10

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 (91) hide show
  1. package/bundles/acorex-components.umd.js +1110 -436
  2. package/bundles/acorex-components.umd.js.map +1 -1
  3. package/esm2015/lib/badge/badge.component.js +34 -0
  4. package/esm2015/lib/badge/badge.module.js +21 -0
  5. package/esm2015/lib/badge/index.js +3 -0
  6. package/esm2015/lib/base/mixin/base-components.class.js +9 -6
  7. package/esm2015/lib/base/mixin/button-mixin.class.js +2 -2
  8. package/esm2015/lib/base/mixin/interactive-mixin.class.js +7 -2
  9. package/esm2015/lib/base/mixin/mixin.class.js +2 -2
  10. package/esm2015/lib/base/mixin/value-mixin.class.js +3 -3
  11. package/esm2015/lib/button/button.component.js +3 -9
  12. package/esm2015/lib/calendar/calendar.component.js +266 -38
  13. package/esm2015/lib/calendar/calendar.module.js +4 -3
  14. package/esm2015/lib/checkbox/checkbox.component.js +30 -11
  15. package/esm2015/lib/datepicker/datepicker.component.js +2 -2
  16. package/esm2015/lib/decorators/content.component.js +26 -0
  17. package/esm2015/lib/decorators/decorators.module.js +4 -3
  18. package/esm2015/lib/decorators/index.js +2 -1
  19. package/esm2015/lib/decorators/prefix.component.js +5 -6
  20. package/esm2015/lib/decorators/suffix.component.js +5 -10
  21. package/esm2015/lib/dialog/dialog.component.js +2 -2
  22. package/esm2015/lib/label/label.component.js +4 -4
  23. package/esm2015/lib/page/base-page.class.js +2 -1
  24. package/esm2015/lib/page/page-footer.component.js +3 -7
  25. package/esm2015/lib/password-box/index.js +3 -0
  26. package/esm2015/lib/password-box/password-box.component.js +74 -0
  27. package/esm2015/lib/password-box/password-box.module.js +35 -0
  28. package/esm2015/lib/popover/popover.component.js +1 -2
  29. package/esm2015/lib/popup/popup.component.js +16 -8
  30. package/esm2015/lib/radio/index.js +3 -0
  31. package/esm2015/lib/radio/radio.component.js +22 -0
  32. package/esm2015/lib/radio/radio.module.js +21 -0
  33. package/esm2015/lib/selectbox/selectbox.component.js +11 -3
  34. package/esm2015/lib/selectbox/selectbox.module.js +8 -4
  35. package/esm2015/lib/selection-list/selection-list.component.js +2 -2
  36. package/esm2015/lib/tabs/index.js +4 -2
  37. package/esm2015/lib/tabs/tab-content.directive.js +29 -0
  38. package/esm2015/lib/tabs/tab-item.component.js +91 -0
  39. package/esm2015/lib/tabs/tab-strip.component.js +12 -7
  40. package/esm2015/lib/tabs/tab-view.component.js +4 -5
  41. package/esm2015/lib/tabs/tab.component.js +2 -3
  42. package/esm2015/lib/tabs/tabs.component.js +67 -0
  43. package/esm2015/lib/tabs/tabs.module.js +9 -7
  44. package/esm2015/public-api.js +5 -2
  45. package/fesm2015/acorex-components.js +1061 -436
  46. package/fesm2015/acorex-components.js.map +1 -1
  47. package/lib/badge/badge.component.d.ts +11 -0
  48. package/lib/badge/badge.module.d.ts +8 -0
  49. package/lib/badge/index.d.ts +2 -0
  50. package/lib/base/mixin/base-components.class.d.ts +2 -0
  51. package/lib/base/mixin/button-mixin.class.d.ts +4 -1
  52. package/lib/base/mixin/clickable-mixin.class.d.ts +1 -0
  53. package/lib/base/mixin/datalist-component.class.d.ts +1 -0
  54. package/lib/base/mixin/dropdown-mixin.class.d.ts +1 -0
  55. package/lib/base/mixin/interactive-mixin.class.d.ts +4 -2
  56. package/lib/base/mixin/loading-mixin.class.d.ts +2 -3
  57. package/lib/base/mixin/mixin.class.d.ts +17 -117
  58. package/lib/base/mixin/selection-component.class.d.ts +1 -0
  59. package/lib/base/mixin/sizable-mixin.class.d.ts +1 -0
  60. package/lib/base/mixin/textbox-mixin.class.d.ts +5 -7
  61. package/lib/base/mixin/value-mixin.class.d.ts +5 -5
  62. package/lib/button/button-item.component.d.ts +2 -0
  63. package/lib/button/button.component.d.ts +0 -1
  64. package/lib/calendar/calendar.component.d.ts +52 -12
  65. package/lib/calendar/calendar.module.d.ts +4 -3
  66. package/lib/checkbox/checkbox.component.d.ts +6 -5
  67. package/lib/decorators/content.component.d.ts +8 -0
  68. package/lib/decorators/decorators.module.d.ts +3 -2
  69. package/lib/decorators/index.d.ts +1 -0
  70. package/lib/decorators/prefix.component.d.ts +1 -1
  71. package/lib/decorators/suffix.component.d.ts +1 -1
  72. package/lib/dropdown/dropdown-base.class.d.ts +2 -0
  73. package/lib/label/label.component.d.ts +2 -2
  74. package/lib/password-box/index.d.ts +2 -0
  75. package/lib/password-box/password-box.component.d.ts +24 -0
  76. package/lib/password-box/password-box.module.d.ts +12 -0
  77. package/lib/popup/popup.component.d.ts +3 -2
  78. package/lib/radio/index.d.ts +2 -0
  79. package/lib/radio/radio.component.d.ts +8 -0
  80. package/lib/radio/radio.module.d.ts +8 -0
  81. package/lib/selectbox/selectbox.component.d.ts +1 -0
  82. package/lib/selectbox/selectbox.module.d.ts +5 -1
  83. package/lib/tabs/index.d.ts +3 -1
  84. package/lib/tabs/tab-content.directive.d.ts +11 -0
  85. package/lib/tabs/tab-item.component.d.ts +17 -0
  86. package/lib/tabs/tab-strip.component.d.ts +4 -3
  87. package/lib/tabs/tab-view.component.d.ts +2 -2
  88. package/lib/tabs/tabs.component.d.ts +17 -0
  89. package/lib/tabs/tabs.module.d.ts +6 -4
  90. package/package.json +18 -18
  91. package/public-api.d.ts +4 -1
@@ -366,7 +366,7 @@
366
366
  for (var _i = 0; _i < arguments.length; _i++) {
367
367
  args[_i] = arguments[_i];
368
368
  }
369
- this.id = "ax-" + new Date().getTime().toString();
369
+ this.id = "AX" + Math.round(Math.random() * Math.pow(10, 10));
370
370
  _elementRef.set(this, void 0);
371
371
  __classPrivateFieldSet(this, _elementRef, args[0]);
372
372
  this._cdr = args[1];
@@ -389,15 +389,16 @@
389
389
  return this._getHostElement().firstElementChild;
390
390
  };
391
391
  AXBaseComponent.prototype._onInternalInit = function () {
392
- var _a;
393
392
  this._getHostElement().__axContext__ = this;
394
- this._getHostElement().setAttribute('data-id', this.id);
395
393
  if (this.rtl == null) {
396
394
  this.rtl = window.getComputedStyle(this._getHostElement(), null).getPropertyValue('direction') === 'rtl';
397
395
  }
398
- this._getHostElement().classList.add(this.rtl ? 'ax-rtl' : 'ax-ltr');
399
- (_a = this._getInnerElement()) === null || _a === void 0 ? void 0 : _a.classList.add(this.rtl ? 'ax-rtl' : 'ax-ltr');
396
+ //TODO: Apply
397
+ // this._getHostElement().classList.add(this.rtl ? 'ax-rtl' : 'ax-ltr');
398
+ // this._getInnerElement()?.classList.add(this.rtl ? 'ax-rtl' : 'ax-ltr');
399
+ // this._getHostElement().setAttribute('data-id', this.id);
400
400
  this.onInit();
401
+ this.onRenderCssClass();
401
402
  };
402
403
  AXBaseComponent.prototype._onInternalViewInit = function () {
403
404
  this.onViewInit();
@@ -407,6 +408,8 @@
407
408
  };
408
409
  AXBaseComponent.prototype.onInit = function () {
409
410
  };
411
+ AXBaseComponent.prototype.onRenderCssClass = function () {
412
+ };
410
413
  AXBaseComponent.prototype.onViewInit = function () {
411
414
  };
412
415
  AXBaseComponent.prototype.onDestroy = function () {
@@ -577,7 +580,7 @@
577
580
  var cssClasses = {
578
581
  'ax-button-icon': !this.text,
579
582
  'ax-state-disabled': this["disabled"],
580
- 'ax-state-selected': this.selected,
583
+ 'ax-state-selected': this.selected
581
584
  };
582
585
  cssClasses["ax-" + (this.color || 'primary') + (this.look ? '-' + this.look : '')] = true;
583
586
  return cssClasses;
@@ -816,7 +819,7 @@
816
819
  }
817
820
  var _this = _super.apply(this, __spreadArray([], __read(args))) || this;
818
821
  _disabled.set(_this, false);
819
- _tabIndex.set(_this, 0);
822
+ _tabIndex.set(_this, null);
820
823
  /**
821
824
  * Fires each time the component gets focused.
822
825
  * @event
@@ -884,7 +887,12 @@
884
887
  }(Base));
885
888
  _disabled = new WeakMap(), _tabIndex = new WeakMap();
886
889
  return Mixin;
887
- }
890
+ }
891
+ var INTERACTIVE_INPUTS = [
892
+ 'disabled',
893
+ 'tabIndex',
894
+ ];
895
+ var INTERACTIVE_OUTPUT = ['onBlur', 'onFocus'];
888
896
 
889
897
  function _SelectionComponenetMixin(Base) {
890
898
  return /** @class */ (function (_super) {
@@ -1127,7 +1135,7 @@
1127
1135
  _this.onValueChanged = new i0.EventEmitter();
1128
1136
  _this.valueChange = new i0.EventEmitter();
1129
1137
  _readonly.set(_this, false);
1130
- _allowNull.set(_this, true);
1138
+ _allowNull.set(_this, false);
1131
1139
  _name.set(_this, void 0);
1132
1140
  _debounceTime.set(_this, 0);
1133
1141
  _valueSubscription.set(_this, new rxjs.Subscription());
@@ -1277,7 +1285,7 @@
1277
1285
  this._getHostElement() :
1278
1286
  this._getHostElement().querySelector('.ax-editor-container');
1279
1287
  var formField = container === null || container === void 0 ? void 0 : container.closest('.ax-form-field');
1280
- var label = formField === null || formField === void 0 ? void 0 : formField.querySelector('.ax-label');
1288
+ var label = formField === null || formField === void 0 ? void 0 : formField.querySelector('ax-label');
1281
1289
  var target = container || this._getInnerElement();
1282
1290
  var parent = target.parentElement;
1283
1291
  switch (state) {
@@ -1378,7 +1386,7 @@
1378
1386
  var AXBaseSelectionValueMixin = _SizableComponenetMixin(_InteractiveComponenetMixin(_DatalistComponenetMixin(_SelectionComponenetMixin(_ValueComponenetMixin(AXBaseComponent)))));
1379
1387
  var AXBaseValueDropdownMixin = _SizableComponenetMixin(_InteractiveComponenetMixin(_DropdownComponenetMixin(_DatalistComponenetMixin(_ValueComponenetMixin(AXBaseComponent)))));
1380
1388
  var AXBaseSelectionDropdownMixin = _SizableComponenetMixin(_InteractiveComponenetMixin(_DropdownComponenetMixin(_DatalistComponenetMixin(_SelectionComponenetMixin(_ValueComponenetMixin(AXBaseComponent))))));
1381
- var AXCalendarMixin = _ClickableComponenetMixin(_ButtonComponentMixin(_SizableComponenetMixin(AXBaseComponent)));
1389
+ var AXCalendarComponentMixin = _ClickableComponenetMixin(_InteractiveComponenetMixin(_ValueComponenetMixin(AXBaseComponent)));
1382
1390
 
1383
1391
  /**
1384
1392
  * Contains native event
@@ -1795,7 +1803,7 @@
1795
1803
  }]
1796
1804
  }] });
1797
1805
 
1798
- var COMPONENT$l = [
1806
+ var COMPONENT$o = [
1799
1807
  AXAlertComponent,
1800
1808
  AXAlertContentComponent,
1801
1809
  AXAlertTitleComponent,
@@ -1803,7 +1811,7 @@
1803
1811
  AXAlertFooterComponent,
1804
1812
  AXAlertSuffixComponent
1805
1813
  ];
1806
- var MODULES$l = [i1.CommonModule];
1814
+ var MODULES$o = [i1.CommonModule];
1807
1815
  var AXAlertModule = /** @class */ (function () {
1808
1816
  function AXAlertModule() {
1809
1817
  }
@@ -1821,13 +1829,13 @@
1821
1829
  AXAlertButtonComponent,
1822
1830
  AXAlertFooterComponent,
1823
1831
  AXAlertSuffixComponent] });
1824
- AXAlertModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXAlertModule, providers: [], imports: [__spreadArray([], __read(MODULES$l))] });
1832
+ AXAlertModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXAlertModule, providers: [], imports: [__spreadArray([], __read(MODULES$o))] });
1825
1833
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXAlertModule, decorators: [{
1826
1834
  type: i0.NgModule,
1827
1835
  args: [{
1828
- declarations: __spreadArray([], __read(COMPONENT$l)),
1829
- imports: __spreadArray([], __read(MODULES$l)),
1830
- exports: __spreadArray([], __read(COMPONENT$l)),
1836
+ declarations: __spreadArray([], __read(COMPONENT$o)),
1837
+ imports: __spreadArray([], __read(MODULES$o)),
1838
+ exports: __spreadArray([], __read(COMPONENT$o)),
1831
1839
  providers: [],
1832
1840
  }]
1833
1841
  }] });
@@ -1901,8 +1909,8 @@
1901
1909
  type: i0.Input
1902
1910
  }] } });
1903
1911
 
1904
- var COMPONENT$k = [AXAvatarComponent];
1905
- var MODULES$k = [i1.CommonModule];
1912
+ var COMPONENT$n = [AXAvatarComponent];
1913
+ var MODULES$n = [i1.CommonModule];
1906
1914
  var AXAvatarModule = /** @class */ (function () {
1907
1915
  function AXAvatarModule() {
1908
1916
  }
@@ -1910,13 +1918,71 @@
1910
1918
  }());
1911
1919
  AXAvatarModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXAvatarModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
1912
1920
  AXAvatarModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXAvatarModule, declarations: [AXAvatarComponent], imports: [i1.CommonModule], exports: [AXAvatarComponent] });
1913
- AXAvatarModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXAvatarModule, providers: [], imports: [__spreadArray([], __read(MODULES$k))] });
1921
+ AXAvatarModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXAvatarModule, providers: [], imports: [__spreadArray([], __read(MODULES$n))] });
1914
1922
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXAvatarModule, decorators: [{
1915
1923
  type: i0.NgModule,
1916
1924
  args: [{
1917
- declarations: __spreadArray([], __read(COMPONENT$k)),
1918
- imports: __spreadArray([], __read(MODULES$k)),
1919
- exports: __spreadArray([], __read(COMPONENT$k)),
1925
+ declarations: __spreadArray([], __read(COMPONENT$n)),
1926
+ imports: __spreadArray([], __read(MODULES$n)),
1927
+ exports: __spreadArray([], __read(COMPONENT$n)),
1928
+ providers: [],
1929
+ }]
1930
+ }] });
1931
+
1932
+ var AXBadgeComponent = /** @class */ (function (_super) {
1933
+ __extends(AXBadgeComponent, _super);
1934
+ function AXBadgeComponent(elementRef, cdr) {
1935
+ var _this = _super.call(this, elementRef, cdr) || this;
1936
+ _this.text = '';
1937
+ _this.color = 'light';
1938
+ return _this;
1939
+ //TODO: ax-badge
1940
+ }
1941
+ Object.defineProperty(AXBadgeComponent.prototype, "__hostClass", {
1942
+ get: function () {
1943
+ return ["ax-bg-" + this.color + "-100", "ax-text-" + this.color + "-500"].join(' ');
1944
+ },
1945
+ enumerable: false,
1946
+ configurable: true
1947
+ });
1948
+ return AXBadgeComponent;
1949
+ }(AXBaseComponentMixin));
1950
+ AXBadgeComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXBadgeComponent, deps: [{ token: i0__namespace.ElementRef }, { token: i0__namespace.ChangeDetectorRef }], target: i0__namespace.ɵɵFactoryTarget.Component });
1951
+ AXBadgeComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: AXBadgeComponent, selector: "ax-badge", inputs: { text: "text", color: "color" }, host: { properties: { "class": "this.__hostClass" }, classAttribute: "ax-badge" }, usesInheritance: true, ngImport: i0__namespace, template: "<ng-content select=\"ax-prefix\"></ng-content>\r\n<span class=\"ax-font-medium\">{{text}}</span>\r\n<ng-content select=\"ax-suffix\"></ng-content>", changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush, encapsulation: i0__namespace.ViewEncapsulation.None });
1952
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXBadgeComponent, decorators: [{
1953
+ type: i0.Component,
1954
+ args: [{
1955
+ selector: 'ax-badge',
1956
+ templateUrl: './badge.component.html',
1957
+ changeDetection: i0.ChangeDetectionStrategy.OnPush,
1958
+ encapsulation: i0.ViewEncapsulation.None,
1959
+ host: { class: 'ax-badge' }
1960
+ }]
1961
+ }], ctorParameters: function () { return [{ type: i0__namespace.ElementRef }, { type: i0__namespace.ChangeDetectorRef }]; }, propDecorators: { text: [{
1962
+ type: i0.Input
1963
+ }], color: [{
1964
+ type: i0.Input
1965
+ }], __hostClass: [{
1966
+ type: i0.HostBinding,
1967
+ args: ['class']
1968
+ }] } });
1969
+
1970
+ var COMPONENT$m = [AXBadgeComponent];
1971
+ var MODULES$m = [i1.CommonModule];
1972
+ var AXBadgeModule = /** @class */ (function () {
1973
+ function AXBadgeModule() {
1974
+ }
1975
+ return AXBadgeModule;
1976
+ }());
1977
+ AXBadgeModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXBadgeModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
1978
+ AXBadgeModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXBadgeModule, declarations: [AXBadgeComponent], imports: [i1.CommonModule], exports: [AXBadgeComponent] });
1979
+ AXBadgeModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXBadgeModule, providers: [], imports: [__spreadArray([], __read(MODULES$m))] });
1980
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXBadgeModule, decorators: [{
1981
+ type: i0.NgModule,
1982
+ args: [{
1983
+ declarations: __spreadArray([], __read(COMPONENT$m)),
1984
+ imports: __spreadArray([], __read(MODULES$m)),
1985
+ exports: __spreadArray([], __read(COMPONENT$m)),
1920
1986
  providers: [],
1921
1987
  }]
1922
1988
  }] });
@@ -1958,14 +2024,8 @@
1958
2024
  };
1959
2025
  Object.defineProperty(AXButtonComponent.prototype, "__hostClass", {
1960
2026
  get: function () {
1961
- return Object.entries(this._classes).filter(function (c) { return c[1]; }).map(function (c) { return c[0]; }).join(' ');
1962
- },
1963
- enumerable: false,
1964
- configurable: true
1965
- });
1966
- Object.defineProperty(AXButtonComponent.prototype, "__tabindex", {
1967
- get: function () {
1968
- return this.tabIndex;
2027
+ var _a;
2028
+ return (_a = Object.entries(this._classes).filter(function (c) { return c[1]; }).map(function (c) { return c[0]; })).concat.apply(_a, ["ax-" + this.size]).join(' ');
1969
2029
  },
1970
2030
  enumerable: false,
1971
2031
  configurable: true
@@ -1973,7 +2033,7 @@
1973
2033
  return AXButtonComponent;
1974
2034
  }(AXBaseButtonMixin));
1975
2035
  AXButtonComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXButtonComponent, deps: [{ token: i0__namespace.ElementRef }, { token: i0__namespace.ChangeDetectorRef }], target: i0__namespace.ɵɵFactoryTarget.Component });
1976
- AXButtonComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: AXButtonComponent, selector: "ax-button", inputs: { disabled: "disabled", tabIndex: "tabIndex", size: "size", text: "text", submitBehavior: "submitBehavior", cancelBehavior: "cancelBehavior", color: "color", look: "look", toggleable: "toggleable", selected: "selected" }, outputs: { onBlur: "onBlur", onFocus: "onFocus", onClick: "onClick", selectedChange: "selectedChange", toggleableChange: "toggleableChange" }, host: { attributes: { "role": "button" }, listeners: { "document:keydown.escape": "onKeydownHandler($event)", "click": "_emitOnClickEvent($event)", "focus": "_emitOnFocusEvent($event)", "blur": "_emitOnBlurEvent($event)" }, properties: { "class": "this.__hostClass", "tabindex": "this.__tabindex" } }, usesInheritance: true, ngImport: i0__namespace, template: "<!-- <button [ngClass]=\"_classes\" class=\"{{cssClass}} ax-{{size}}\" [disabled]=\"disabled\" [tabindex]=\"tabIndex\" [attr.style]=\"cssStyle\" (click)=\"_emitOnClickEvent($event)\" (focus)=\"_emitOnFocusEvent($event)\" (blur)=\"_emitOnBlurEvent($event)\">\r\n <ng-content select=\"ax-prefix,ax-loading,ax-icon\">\r\n </ng-content>\r\n <span *ngIf=\"text\">{{text}}</span>\r\n <ng-content select=\"ax-suffix\">\r\n </ng-content>\r\n <ng-content select=\"ax-dropdown-panel\">\r\n </ng-content>\r\n</button> -->\r\n<!-- <button [ngClass]=\"_classes\" class=\"{{cssClass}} ax-{{size}}\" [disabled]=\"disabled\" [tabindex]=\"tabIndex\" [attr.style]=\"cssStyle\" (click)=\"_emitOnClickEvent($event)\" (focus)=\"_emitOnFocusEvent($event)\" (blur)=\"_emitOnBlurEvent($event)\"> -->\r\n <ng-content select=\"ax-prefix,ax-loading,ax-icon\">\r\n </ng-content>\r\n <span *ngIf=\"text\">{{text}}</span>\r\n <ng-content select=\"ax-suffix\">\r\n </ng-content>\r\n <ng-content select=\"ax-dropdown-panel\">\r\n </ng-content>\r\n<!-- </button> -->", directives: [{ type: i1__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush, encapsulation: i0__namespace.ViewEncapsulation.None });
2036
+ AXButtonComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: AXButtonComponent, selector: "ax-button", inputs: { disabled: "disabled", tabIndex: "tabIndex", size: "size", text: "text", submitBehavior: "submitBehavior", cancelBehavior: "cancelBehavior", color: "color", look: "look", toggleable: "toggleable", selected: "selected" }, outputs: { onBlur: "onBlur", onFocus: "onFocus", onClick: "onClick", selectedChange: "selectedChange", toggleableChange: "toggleableChange" }, host: { attributes: { "role": "button" }, listeners: { "document:keydown.escape": "onKeydownHandler($event)", "click": "_emitOnClickEvent($event)", "focus": "_emitOnFocusEvent($event)", "blur": "_emitOnBlurEvent($event)" }, properties: { "class": "this.__hostClass" } }, usesInheritance: true, ngImport: i0__namespace, template: "<!-- <button [ngClass]=\"_classes\" class=\"{{cssClass}} ax-{{size}}\" [disabled]=\"disabled\" [tabindex]=\"tabIndex\" [attr.style]=\"cssStyle\" (click)=\"_emitOnClickEvent($event)\" (focus)=\"_emitOnFocusEvent($event)\" (blur)=\"_emitOnBlurEvent($event)\">\r\n <ng-content select=\"ax-prefix,ax-loading,ax-icon\">\r\n </ng-content>\r\n <span *ngIf=\"text\">{{text}}</span>\r\n <ng-content select=\"ax-suffix\">\r\n </ng-content>\r\n <ng-content select=\"ax-dropdown-panel\">\r\n </ng-content>\r\n</button> -->\r\n<!-- <button [ngClass]=\"_classes\" class=\"{{cssClass}} ax-{{size}}\" [disabled]=\"disabled\" [tabindex]=\"tabIndex\" [attr.style]=\"cssStyle\" (click)=\"_emitOnClickEvent($event)\" (focus)=\"_emitOnFocusEvent($event)\" (blur)=\"_emitOnBlurEvent($event)\"> -->\r\n<ng-content select=\"ax-prefix,ax-loading,ax-icon\">\r\n</ng-content>\r\n<span *ngIf=\"text\">{{text}}</span>\r\n<ng-content select=\"ax-suffix\">\r\n</ng-content>\r\n<ng-content select=\"ax-dropdown-panel\">\r\n</ng-content>\r\n<!-- </button> -->", directives: [{ type: i1__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush, encapsulation: i0__namespace.ViewEncapsulation.None });
1977
2037
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXButtonComponent, decorators: [{
1978
2038
  type: i0.Component,
1979
2039
  args: [{
@@ -2000,9 +2060,6 @@
2000
2060
  }], __hostClass: [{
2001
2061
  type: i0.HostBinding,
2002
2062
  args: ['class']
2003
- }], __tabindex: [{
2004
- type: i0.HostBinding,
2005
- args: ['tabindex']
2006
2063
  }] } });
2007
2064
 
2008
2065
  var AXButtonGroupComponent = /** @class */ (function (_super) {
@@ -2223,15 +2280,14 @@
2223
2280
  return AXDecoratorPrefixComponent;
2224
2281
  }(AXBaseComponentMixin));
2225
2282
  AXDecoratorPrefixComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXDecoratorPrefixComponent, deps: [{ token: i0__namespace.ElementRef }, { token: i0__namespace.ChangeDetectorRef }], target: i0__namespace.ɵɵFactoryTarget.Component });
2226
- AXDecoratorPrefixComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: AXDecoratorPrefixComponent, selector: "ax-prefix", host: { classAttribute: "ax-prefix" }, usesInheritance: true, ngImport: i0__namespace, template: "\n <ng-content select=\"ax-button,ax-loading,ax-icon\">\n </ng-content>\n ", isInline: true, changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush, encapsulation: i0__namespace.ViewEncapsulation.None });
2283
+ AXDecoratorPrefixComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: AXDecoratorPrefixComponent, selector: "ax-prefix", usesInheritance: true, ngImport: i0__namespace, template: "\n <ng-content select=\"ax-button,ax-loading,ax-icon,ax-badge\">\n </ng-content>\n ", isInline: true, changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush, encapsulation: i0__namespace.ViewEncapsulation.None });
2227
2284
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXDecoratorPrefixComponent, decorators: [{
2228
2285
  type: i0.Component,
2229
2286
  args: [{
2230
2287
  selector: 'ax-prefix',
2231
- template: "\n <ng-content select=\"ax-button,ax-loading,ax-icon\">\n </ng-content>\n ",
2288
+ template: "\n <ng-content select=\"ax-button,ax-loading,ax-icon,ax-badge\">\n </ng-content>\n ",
2232
2289
  changeDetection: i0.ChangeDetectionStrategy.OnPush,
2233
- encapsulation: i0.ViewEncapsulation.None,
2234
- host: { class: 'ax-prefix' }
2290
+ encapsulation: i0.ViewEncapsulation.None
2235
2291
  }]
2236
2292
  }], ctorParameters: function () { return [{ type: i0__namespace.ElementRef }, { type: i0__namespace.ChangeDetectorRef }]; } });
2237
2293
 
@@ -2243,34 +2299,52 @@
2243
2299
  return AXDecoratorSuffixComponent;
2244
2300
  }(AXBaseComponentMixin));
2245
2301
  AXDecoratorSuffixComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXDecoratorSuffixComponent, deps: [{ token: i0__namespace.ElementRef }, { token: i0__namespace.ChangeDetectorRef }], target: i0__namespace.ɵɵFactoryTarget.Component });
2246
- AXDecoratorSuffixComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: AXDecoratorSuffixComponent, selector: "ax-suffix", host: { classAttribute: "ax-suffix" }, usesInheritance: true, ngImport: i0__namespace, template: "\n <ng-content select=\"ax-button\">\n </ng-content>\n <ng-content select=\"ax-icon\">\n </ng-content>\n ", isInline: true, changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush, encapsulation: i0__namespace.ViewEncapsulation.None });
2302
+ AXDecoratorSuffixComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: AXDecoratorSuffixComponent, selector: "ax-suffix", usesInheritance: true, ngImport: i0__namespace, template: "\n <ng-content select=\"ax-button,ax-icon,ax-badge\">\n </ng-content>\n ", isInline: true, changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush, encapsulation: i0__namespace.ViewEncapsulation.None });
2247
2303
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXDecoratorSuffixComponent, decorators: [{
2248
2304
  type: i0.Component,
2249
2305
  args: [{
2250
2306
  selector: 'ax-suffix',
2251
- template: "\n <ng-content select=\"ax-button\">\n </ng-content>\n <ng-content select=\"ax-icon\">\n </ng-content>\n ",
2307
+ template: "\n <ng-content select=\"ax-button,ax-icon,ax-badge\">\n </ng-content>\n ",
2308
+ changeDetection: i0.ChangeDetectionStrategy.OnPush,
2309
+ encapsulation: i0.ViewEncapsulation.None
2310
+ }]
2311
+ }], ctorParameters: function () { return [{ type: i0__namespace.ElementRef }, { type: i0__namespace.ChangeDetectorRef }]; } });
2312
+
2313
+ var AXDecoratorContentComponent = /** @class */ (function (_super) {
2314
+ __extends(AXDecoratorContentComponent, _super);
2315
+ function AXDecoratorContentComponent(elementRef, cdr) {
2316
+ return _super.call(this, elementRef, cdr) || this;
2317
+ }
2318
+ return AXDecoratorContentComponent;
2319
+ }(AXBaseComponentMixin));
2320
+ AXDecoratorContentComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXDecoratorContentComponent, deps: [{ token: i0__namespace.ElementRef }, { token: i0__namespace.ChangeDetectorRef }], target: i0__namespace.ɵɵFactoryTarget.Component });
2321
+ AXDecoratorContentComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: AXDecoratorContentComponent, selector: "ax-content", usesInheritance: true, ngImport: i0__namespace, template: "\n <ng-content>\n </ng-content>\n ", isInline: true, changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush, encapsulation: i0__namespace.ViewEncapsulation.None });
2322
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXDecoratorContentComponent, decorators: [{
2323
+ type: i0.Component,
2324
+ args: [{
2325
+ selector: 'ax-content',
2326
+ template: "\n <ng-content>\n </ng-content>\n ",
2252
2327
  changeDetection: i0.ChangeDetectionStrategy.OnPush,
2253
2328
  encapsulation: i0.ViewEncapsulation.None,
2254
- host: { class: 'ax-suffix' }
2255
2329
  }]
2256
2330
  }], ctorParameters: function () { return [{ type: i0__namespace.ElementRef }, { type: i0__namespace.ChangeDetectorRef }]; } });
2257
2331
 
2258
- var COMPONENT$j = [AXDecoratorPrefixComponent, AXDecoratorSuffixComponent];
2259
- var MODULES$j = [i1.CommonModule];
2332
+ var COMPONENT$l = [AXDecoratorPrefixComponent, AXDecoratorSuffixComponent, AXDecoratorContentComponent];
2333
+ var MODULES$l = [i1.CommonModule];
2260
2334
  var AXEditorDecoratorModule = /** @class */ (function () {
2261
2335
  function AXEditorDecoratorModule() {
2262
2336
  }
2263
2337
  return AXEditorDecoratorModule;
2264
2338
  }());
2265
2339
  AXEditorDecoratorModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXEditorDecoratorModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
2266
- AXEditorDecoratorModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXEditorDecoratorModule, declarations: [AXDecoratorPrefixComponent, AXDecoratorSuffixComponent], imports: [i1.CommonModule], exports: [AXDecoratorPrefixComponent, AXDecoratorSuffixComponent] });
2267
- AXEditorDecoratorModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXEditorDecoratorModule, providers: [], imports: [__spreadArray([], __read(MODULES$j))] });
2340
+ AXEditorDecoratorModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXEditorDecoratorModule, declarations: [AXDecoratorPrefixComponent, AXDecoratorSuffixComponent, AXDecoratorContentComponent], imports: [i1.CommonModule], exports: [AXDecoratorPrefixComponent, AXDecoratorSuffixComponent, AXDecoratorContentComponent] });
2341
+ AXEditorDecoratorModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXEditorDecoratorModule, providers: [], imports: [__spreadArray([], __read(MODULES$l))] });
2268
2342
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXEditorDecoratorModule, decorators: [{
2269
2343
  type: i0.NgModule,
2270
2344
  args: [{
2271
- declarations: __spreadArray([], __read(COMPONENT$j)),
2272
- imports: __spreadArray([], __read(MODULES$j)),
2273
- exports: __spreadArray([], __read(COMPONENT$j)),
2345
+ declarations: __spreadArray([], __read(COMPONENT$l)),
2346
+ imports: __spreadArray([], __read(MODULES$l)),
2347
+ exports: __spreadArray([], __read(COMPONENT$l)),
2274
2348
  providers: [],
2275
2349
  }]
2276
2350
  }] });
@@ -2306,8 +2380,8 @@
2306
2380
  args: ['class']
2307
2381
  }] } });
2308
2382
 
2309
- var COMPONENT$i = [AXIconComponent];
2310
- var MODULES$i = [i1.CommonModule];
2383
+ var COMPONENT$k = [AXIconComponent];
2384
+ var MODULES$k = [i1.CommonModule];
2311
2385
  var AXIconModule = /** @class */ (function () {
2312
2386
  function AXIconModule() {
2313
2387
  }
@@ -2315,23 +2389,23 @@
2315
2389
  }());
2316
2390
  AXIconModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXIconModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
2317
2391
  AXIconModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXIconModule, declarations: [AXIconComponent], imports: [i1.CommonModule], exports: [AXIconComponent] });
2318
- AXIconModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXIconModule, providers: [], imports: [__spreadArray([], __read(MODULES$i))] });
2392
+ AXIconModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXIconModule, providers: [], imports: [__spreadArray([], __read(MODULES$k))] });
2319
2393
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXIconModule, decorators: [{
2320
2394
  type: i0.NgModule,
2321
2395
  args: [{
2322
- declarations: __spreadArray([], __read(COMPONENT$i)),
2323
- imports: __spreadArray([], __read(MODULES$i)),
2324
- exports: __spreadArray([], __read(COMPONENT$i)),
2396
+ declarations: __spreadArray([], __read(COMPONENT$k)),
2397
+ imports: __spreadArray([], __read(MODULES$k)),
2398
+ exports: __spreadArray([], __read(COMPONENT$k)),
2325
2399
  providers: [],
2326
2400
  }]
2327
2401
  }] });
2328
2402
 
2329
- var COMPONENT$h = [
2403
+ var COMPONENT$j = [
2330
2404
  AXButtonComponent,
2331
2405
  AXButtonItemComponent,
2332
2406
  AXButtonGroupComponent,
2333
2407
  ];
2334
- var MODULES$h = [i1.CommonModule, AXIconModule, AXEditorDecoratorModule];
2408
+ var MODULES$j = [i1.CommonModule, AXIconModule, AXEditorDecoratorModule];
2335
2409
  var AXButtonModule = /** @class */ (function () {
2336
2410
  function AXButtonModule() {
2337
2411
  }
@@ -2343,13 +2417,13 @@
2343
2417
  AXButtonGroupComponent], imports: [i1.CommonModule, AXIconModule, AXEditorDecoratorModule], exports: [AXButtonComponent,
2344
2418
  AXButtonItemComponent,
2345
2419
  AXButtonGroupComponent] });
2346
- AXButtonModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXButtonModule, providers: [], imports: [[MODULES$h]] });
2420
+ AXButtonModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXButtonModule, providers: [], imports: [[MODULES$j]] });
2347
2421
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXButtonModule, decorators: [{
2348
2422
  type: i0.NgModule,
2349
2423
  args: [{
2350
- imports: [MODULES$h],
2351
- exports: [COMPONENT$h],
2352
- declarations: [COMPONENT$h],
2424
+ imports: [MODULES$j],
2425
+ exports: [COMPONENT$j],
2426
+ declarations: [COMPONENT$j],
2353
2427
  providers: [],
2354
2428
  }]
2355
2429
  }] });
@@ -2358,74 +2432,331 @@
2358
2432
  __extends(AXCalendarComponent, _super);
2359
2433
  function AXCalendarComponent(elementRef, cdr) {
2360
2434
  var _this = _super.call(this, elementRef, cdr) || this;
2361
- _this.actionBar = false;
2362
- _this.showTime = false;
2363
- _this.dayItems = new Array(32);
2364
- _this.yearItems = [1990];
2365
- _this.monthItems = [
2366
- 'January',
2367
- 'February',
2368
- 'March',
2369
- 'April',
2370
- 'May',
2371
- 'June',
2372
- 'July',
2373
- 'August',
2374
- 'September',
2375
- 'October',
2376
- 'November',
2377
- 'December',
2378
- ];
2379
- _this.createYears();
2435
+ _this.cdr = cdr;
2436
+ _this._today = new i2.AXDateTime(new Date());
2437
+ _this._navText = '';
2438
+ _this._todayText = '';
2439
+ _this._slots = [];
2440
+ _this._activeView = 'days';
2441
+ _this.depthChange = new i0.EventEmitter();
2442
+ _this._depth = 'days';
2380
2443
  return _this;
2381
2444
  }
2382
- AXCalendarComponent.prototype.ngAfterViewInit = function () {
2445
+ Object.defineProperty(AXCalendarComponent.prototype, "_viewRange", {
2446
+ get: function () {
2447
+ var current = this._viewStartDate || this._today;
2448
+ switch (this.activeView) {
2449
+ case 'years':
2450
+ var y = current.startOf('year').year;
2451
+ var min = y - (y % 10) - 1;
2452
+ var max = min + 11;
2453
+ return new i2.AXDateTimeRange(i2.AXDateTime.convert(new Date(min, 0), this._today.calendar.name()), i2.AXDateTime.convert(new Date(max, 0), this._today.calendar.name()));
2454
+ case 'months':
2455
+ //TODO: check add month function
2456
+ return new i2.AXDateTimeRange(current.startOf('year'), current.endOf('year').add('day', -1));
2457
+ default:
2458
+ //return new AXDateTimeRange(current.startOf('month').startOf('week'), current.endOf('month').endOf('week'));
2459
+ return new i2.AXDateTimeRange(current.startOf('month'), current.endOf('month'));
2460
+ }
2461
+ },
2462
+ enumerable: false,
2463
+ configurable: true
2464
+ });
2465
+ Object.defineProperty(AXCalendarComponent.prototype, "activeView", {
2466
+ get: function () {
2467
+ return this._activeView;
2468
+ },
2469
+ set: function (v) {
2470
+ this._activeView = v;
2471
+ this._genearteSlots();
2472
+ },
2473
+ enumerable: false,
2474
+ configurable: true
2475
+ });
2476
+ Object.defineProperty(AXCalendarComponent.prototype, "depth", {
2477
+ get: function () {
2478
+ return this._depth;
2479
+ },
2480
+ set: function (v) {
2481
+ this._depth = v;
2482
+ this._activeView = v;
2483
+ this.depthChange.emit(v);
2484
+ this._genearteSlots();
2485
+ },
2486
+ enumerable: false,
2487
+ configurable: true
2488
+ });
2489
+ Object.defineProperty(AXCalendarComponent.prototype, "min", {
2490
+ get: function () {
2491
+ return this._min;
2492
+ },
2493
+ set: function (v) {
2494
+ this._min = v;
2495
+ },
2496
+ enumerable: false,
2497
+ configurable: true
2498
+ });
2499
+ Object.defineProperty(AXCalendarComponent.prototype, "max", {
2500
+ get: function () {
2501
+ return this._max;
2502
+ },
2503
+ set: function (v) {
2504
+ this._max = v;
2505
+ },
2506
+ enumerable: false,
2507
+ configurable: true
2508
+ });
2509
+ Object.defineProperty(AXCalendarComponent.prototype, "disabledDates", {
2510
+ get: function () {
2511
+ return this._disabledDates;
2512
+ },
2513
+ set: function (v) {
2514
+ this._disabledDates = v;
2515
+ },
2516
+ enumerable: false,
2517
+ configurable: true
2518
+ });
2519
+ Object.defineProperty(AXCalendarComponent.prototype, "holidayDates", {
2520
+ get: function () {
2521
+ return this._holidayDates;
2522
+ },
2523
+ set: function (v) {
2524
+ this._holidayDates = v;
2525
+ },
2526
+ enumerable: false,
2527
+ configurable: true
2528
+ });
2529
+ AXCalendarComponent.prototype.onInit = function () {
2530
+ this.goToday();
2383
2531
  };
2384
- AXCalendarComponent.prototype.createYears = function () {
2385
- var number = 1990;
2386
- for (var i = 0; i < 40; i++) {
2387
- number = number + 1;
2388
- this.yearItems.push(number);
2532
+ AXCalendarComponent.prototype._genearteSlots = function () {
2533
+ var _this = this;
2534
+ if (!this._viewStartDate)
2535
+ return;
2536
+ var vr = this._viewRange;
2537
+ // year view
2538
+ if (this.activeView == 'years') {
2539
+ var a = vr.enumurate('year');
2540
+ this._slots = a.map(function (d, i) {
2541
+ var r = {};
2542
+ r.date = d.date;
2543
+ r.text = d.format('YYYY');
2544
+ r.disabled = (_this.min && d.compare(_this.min, 'year') == -1) || (_this.max && d.compare(_this.max, 'year') == 1);
2545
+ if (r.disabled) {
2546
+ r.cssClass = {
2547
+ 'ax-state-disabled': r.disabled,
2548
+ };
2549
+ }
2550
+ else {
2551
+ r.cssClass = {
2552
+ 'ax-state-today': d.equal(_this._today, 'year'),
2553
+ 'ax-state-selected': _this.value && _this.depth == 'years' && d.equal(_this.value, 'year'),
2554
+ };
2555
+ }
2556
+ return r;
2557
+ });
2558
+ this._navText = vr.startTime.year + " - " + vr.endTime.year;
2559
+ this._todayText = this._today.format('YYYY');
2560
+ }
2561
+ // month view
2562
+ else if (this.activeView == 'months') {
2563
+ var a = vr.enumurate('month');
2564
+ this._slots = a.map(function (d, i) {
2565
+ var r = {};
2566
+ r.date = d.date;
2567
+ r.text = d.format('MMM');
2568
+ r.tooltip = d.format('MMMM YYYY');
2569
+ r.disabled = (_this.min && d.compare(_this.min, 'month') == -1) || (_this.max && d.compare(_this.max, 'month') == 1);
2570
+ if (r.disabled) {
2571
+ r.cssClass = {
2572
+ 'ax-state-disabled': r.disabled,
2573
+ };
2574
+ }
2575
+ else {
2576
+ r.cssClass = {
2577
+ 'ax-state-today': d.equal(_this._today, 'month'),
2578
+ 'ax-state-selected': _this.value && _this.depth == 'months' && d.equal(_this.value, 'month'),
2579
+ 'ax-state-other': d.year != _this._viewStartDate.year
2580
+ };
2581
+ }
2582
+ return r;
2583
+ });
2584
+ this._navText = this._viewStartDate.format('YYYY');
2585
+ this._todayText = this._today.format('MMMM YYYY');
2586
+ }
2587
+ // day view
2588
+ else {
2589
+ var a = vr.enumurate('day');
2590
+ this._slots = a.map(function (d, i) {
2591
+ var r = {};
2592
+ r.date = d.date;
2593
+ r.text = d.dayOfMonth;
2594
+ r.tooltip = d.format();
2595
+ r.disabled = (_this.min && d.compare(_this.min, 'day') == -1) || (_this.max && d.compare(_this.max, 'day') == 1);
2596
+ if (r.disabled || _this.isDisabled(d)) {
2597
+ r.cssClass = {
2598
+ 'ax-state-disabled': true,
2599
+ };
2600
+ }
2601
+ else {
2602
+ r.cssClass = {
2603
+ 'ax-state-today': d.equal(_this._today, 'day'),
2604
+ 'ax-state-selected': _this.value && d.equal(_this.value, 'day'),
2605
+ 'ax-state-holiday': _this.isHoliday(d) || _this.isWeekend(d),
2606
+ // 'ax-state-event-info': d.dayOfMonth == 12,
2607
+ // 'ax-state-event': d.dayOfMonth == 12,
2608
+ };
2609
+ }
2610
+ r.cssClass["ax-col-start-" + vr.startTime.dayOfWeek] = i == 0;
2611
+ return r;
2612
+ });
2613
+ this._navText = this._viewStartDate.format('MMMM YYYY');
2614
+ this._todayText = this._today.format('DDDD, MMMM dd, YYYY');
2615
+ }
2616
+ };
2617
+ AXCalendarComponent.prototype._handlePrevClick = function (e) {
2618
+ this.prev();
2619
+ };
2620
+ AXCalendarComponent.prototype._handleNextClick = function (e) {
2621
+ this.next();
2622
+ };
2623
+ AXCalendarComponent.prototype._handleSlotClick = function (slot) {
2624
+ if (slot.disabled || this.disabled)
2625
+ return;
2626
+ if (this.activeView == 'days') {
2627
+ this.value = slot.date;
2628
+ }
2629
+ else if (this.activeView == 'months' && this.depth == 'days') {
2630
+ this.activeView = 'days';
2631
+ this.navTo(slot.date);
2632
+ }
2633
+ else if (this.activeView == 'months' && this.depth == 'months') {
2634
+ this.value = slot.date;
2635
+ }
2636
+ else if (this.activeView == 'years' && (this.depth == 'days' || this.depth == 'months')) {
2637
+ this.activeView = 'months';
2638
+ this.navTo(slot.date);
2639
+ }
2640
+ else if (this.activeView == 'years' && this.depth == 'years') {
2641
+ this.value = slot.date;
2642
+ }
2643
+ };
2644
+ AXCalendarComponent.prototype._handleNavClick = function (e) {
2645
+ if (this.activeView == 'days')
2646
+ this.activeView = 'months';
2647
+ else if (this.activeView == 'months')
2648
+ this.activeView = 'years';
2649
+ };
2650
+ AXCalendarComponent.prototype._onValueChanged = function (oldValue, newValue) {
2651
+ this._genearteSlots();
2652
+ };
2653
+ AXCalendarComponent.prototype._handleGoToday = function () {
2654
+ this.value = this._today.date;
2655
+ this.goToday();
2656
+ };
2657
+ AXCalendarComponent.prototype.next = function () {
2658
+ this._navNextPrev(false);
2659
+ };
2660
+ AXCalendarComponent.prototype.prev = function () {
2661
+ this._navNextPrev(true);
2662
+ };
2663
+ AXCalendarComponent.prototype._navNextPrev = function (prev) {
2664
+ var sign = (prev ? -1 : 1);
2665
+ if (this.activeView == 'days')
2666
+ this.navTo(this._viewStartDate.add('month', sign * 1));
2667
+ else if (this.activeView == 'months')
2668
+ this.navTo(this._viewStartDate.add('year', sign * 1));
2669
+ else
2670
+ this.navTo(this._viewStartDate.add('year', sign * 12));
2671
+ };
2672
+ AXCalendarComponent.prototype.goToday = function () {
2673
+ this.navTo(this._today.startOf());
2674
+ };
2675
+ AXCalendarComponent.prototype.navTo = function (date) {
2676
+ this._viewStartDate = i2.AXDateTime.convert(date, this._today.calendar.name());
2677
+ this._genearteSlots();
2678
+ };
2679
+ Object.defineProperty(AXCalendarComponent.prototype, "__hostClass", {
2680
+ get: function () {
2681
+ var _classes = {
2682
+ 'ax-state-disabled': this.disabled
2683
+ };
2684
+ return Object.entries(_classes).filter(function (c) { return c[1]; }).map(function (c) { return c[0]; }).join(' ');
2685
+ },
2686
+ enumerable: false,
2687
+ configurable: true
2688
+ });
2689
+ AXCalendarComponent.prototype.isDisabled = function (date) {
2690
+ if (Array.isArray(this.disabledDates) && this.disabledDates.length != 0) {
2691
+ debugger;
2692
+ return this.disabledDates.some(function (d) { return date.equal(d, 'day'); });
2693
+ }
2694
+ else if (typeof this.disabledDates == 'function') {
2695
+ return this.disabledDates(date.date);
2696
+ }
2697
+ return false;
2698
+ };
2699
+ AXCalendarComponent.prototype.isHoliday = function (date) {
2700
+ if (Array.isArray(this.holidayDates) && this.holidayDates.length != 0) {
2701
+ return this.holidayDates.some(function (d) { return date.equal(d, 'day'); });
2702
+ }
2703
+ else if (typeof this.holidayDates == 'function') {
2704
+ return this.holidayDates(date.date);
2389
2705
  }
2706
+ return false;
2707
+ };
2708
+ AXCalendarComponent.prototype.isWeekend = function (date) {
2709
+ return date.dayOfWeek == 7 || date.dayOfWeek == 1;
2390
2710
  };
2391
2711
  return AXCalendarComponent;
2392
- }(AXCalendarMixin));
2712
+ }(AXCalendarComponentMixin));
2393
2713
  AXCalendarComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXCalendarComponent, deps: [{ token: i0__namespace.ElementRef }, { token: i0__namespace.ChangeDetectorRef }], target: i0__namespace.ɵɵFactoryTarget.Component });
2394
- AXCalendarComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: AXCalendarComponent, selector: "ax-calendar", inputs: { disabled: "disabled", tabIndex: "tabIndex", size: "size", cssClass: "cssClass", cssStyle: "cssStyle", actionBar: "actionBar", showTime: "showTime" }, viewQueries: [{ propertyName: "days", first: true, predicate: ["days"], descendants: true }], usesInheritance: true, ngImport: i0__namespace, template: "<div class=\"ax-calendar\">\r\n <div class=\"ax-calendar-header\">\r\n <ax-button class=\"ax-nav-button\" text=\"October 2021\" color=\"light\" look=\"blank\"></ax-button>\r\n <ax-button class=\"ax-prev-button\" color=\"light\" look=\"blank\">\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\">\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 </div>\r\n <div class=\"ax-calendar-body\">\r\n <div class=\"ax-month-items\">\r\n <div class=\"ax-month-item\">MO</div>\r\n <div class=\"ax-month-item\">TU</div>\r\n <div class=\"ax-month-item\">WE</div>\r\n <div class=\"ax-month-item\">TH</div>\r\n <div class=\"ax-month-item\">FR</div>\r\n <div class=\"ax-month-item\">SA</div>\r\n <div class=\"ax-month-item\">SU</div>\r\n </div>\r\n <div class=\"ax-day-items\">\r\n <div class=\"ax-day-item ax-state-event\">27</div>\r\n <div class=\"ax-day-item ax-state-event ax-state-event-primary\">28</div>\r\n <div class=\"ax-day-item ax-state-event ax-state-event-secondary\">29</div>\r\n <div class=\"ax-day-item ax-state-event ax-state-event-success\">30</div>\r\n <div class=\"ax-day-item ax-state-event ax-state-event-warning\">01</div>\r\n <div class=\"ax-day-item ax-state-event ax-state-event-danger\">02</div>\r\n <div class=\"ax-day-item ax-state-holiday\">03</div>\r\n <div class=\"ax-day-item\">04</div>\r\n <div class=\"ax-day-item\">05</div>\r\n <div class=\"ax-day-item\">06</div>\r\n <div class=\"ax-day-item\">07</div>\r\n <div class=\"ax-day-item\">08</div>\r\n <div class=\"ax-day-item\">09</div>\r\n <div class=\"ax-day-item ax-state-holiday\">10</div>\r\n <div class=\"ax-day-item\">11</div>\r\n <div class=\"ax-day-item ax-state-event ax-state-event-info\">12</div>\r\n <div class=\"ax-day-item\">13</div>\r\n <div class=\"ax-day-item\">14</div>\r\n <div class=\"ax-day-item\">15</div>\r\n <div class=\"ax-day-item\">16</div>\r\n <div class=\"ax-day-item ax-state-holiday\">17</div>\r\n <div class=\"ax-day-item\">18</div>\r\n <div class=\"ax-day-item\">19</div>\r\n <div class=\"ax-day-item\">20</div>\r\n <div class=\"ax-day-item\">21</div>\r\n <div class=\"ax-day-item\">22</div>\r\n <div class=\"ax-day-item\">23</div>\r\n <div class=\"ax-day-item ax-state-holiday\">24</div>\r\n <div class=\"ax-day-item\">25</div>\r\n <div class=\"ax-day-item\">26</div>\r\n <div class=\"ax-day-item\">27</div>\r\n <div class=\"ax-day-item ax-state-today\">28</div>\r\n <div class=\"ax-day-item\">29</div>\r\n <div class=\"ax-day-item\">30</div>\r\n <div class=\"ax-day-item ax-state-holiday\">31</div>\r\n <div class=\"ax-day-item\">01</div>\r\n <div class=\"ax-day-item\">02</div>\r\n <div class=\"ax-day-item\">03</div>\r\n <div class=\"ax-day-item\">04</div>\r\n <div class=\"ax-day-item ax-state-selected\">05</div>\r\n <div class=\"ax-day-item\">06</div>\r\n <div class=\"ax-day-item ax-state-holiday\">07</div>\r\n </div>\r\n\r\n </div>\r\n <div class=\"ax-calendar-footer\">\r\n <ax-button text=\"Today\" color=\"dark\" size=\"sm\"></ax-button>\r\n </div>\r\n</div>", components: [{ type: AXButtonComponent, selector: "ax-button", inputs: ["disabled", "tabIndex", "size", "text", "submitBehavior", "cancelBehavior", "color", "look", "toggleable", "selected"], outputs: ["onBlur", "onFocus", "onClick", "selectedChange", "toggleableChange"] }, { type: AXDecoratorPrefixComponent, selector: "ax-prefix" }, { type: AXIconComponent, selector: "ax-icon", inputs: ["icon"] }], changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush, encapsulation: i0__namespace.ViewEncapsulation.None });
2714
+ AXCalendarComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: AXCalendarComponent, selector: "ax-calendar", inputs: { readonly: "readonly", allowNull: "allowNull", value: "value", debounceTime: "debounceTime", name: "name", disabled: "disabled", tabIndex: "tabIndex", activeView: "activeView", depth: "depth", min: "min", max: "max", disabledDates: "disabledDates", holidayDates: "holidayDates" }, outputs: { valueChange: "valueChange", onValueChanged: "onValueChanged", onBlur: "onBlur", onFocus: "onFocus", depthChange: "depthChange" }, host: { properties: { "class": "this.__hostClass" } }, usesInheritance: true, ngImport: i0__namespace, template: "<div class=\"ax-calendar-header\">\r\n <ax-button class=\"ax-nav-button\" [text]=\"_navText\" color=\"light\" look=\"blank\" (onClick)=\"_handleNavClick($event)\" [disabled]=\"disabled\">\r\n </ax-button>\r\n <ax-button class=\"ax-prev-button\" color=\"light\" look=\"blank\" (onClick)=\"_handlePrevClick($event)\" [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)\" [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</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(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(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>SU</div>\r\n <div>MO</div>\r\n <div>TU</div>\r\n <div>WE</div>\r\n <div>TH</div>\r\n <div>FR</div>\r\n <div>SA</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(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 [text]=\"_todayText\" color=\"dark\" look=\"blank\" size=\"sm\" (onClick)=\"_handleGoToday()\" [disabled]=\"disabled\"></ax-button>\r\n</div>", components: [{ type: AXButtonComponent, selector: "ax-button", inputs: ["disabled", "tabIndex", "size", "text", "submitBehavior", "cancelBehavior", "color", "look", "toggleable", "selected"], outputs: ["onBlur", "onFocus", "onClick", "selectedChange", "toggleableChange"] }, { type: AXDecoratorPrefixComponent, selector: "ax-prefix" }, { type: AXIconComponent, selector: "ax-icon", inputs: ["icon"] }], directives: [{ type: i1__namespace.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { type: i1__namespace.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { type: i1__namespace.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i1__namespace.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i1__namespace.NgSwitchDefault, selector: "[ngSwitchDefault]" }], changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush, encapsulation: i0__namespace.ViewEncapsulation.None });
2395
2715
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXCalendarComponent, decorators: [{
2396
2716
  type: i0.Component,
2397
2717
  args: [{
2398
2718
  selector: 'ax-calendar',
2399
2719
  templateUrl: './calendar.component.html',
2400
2720
  changeDetection: i0.ChangeDetectionStrategy.OnPush,
2401
- inputs: ['disabled', 'tabIndex', 'size', 'cssClass', 'cssStyle'],
2721
+ inputs: __spreadArray(__spreadArray([], __read(VALUE_INPUTS)), __read(INTERACTIVE_INPUTS)),
2722
+ outputs: __spreadArray(__spreadArray([], __read(VALUE_OUTPUT)), __read(INTERACTIVE_OUTPUT)),
2402
2723
  encapsulation: i0.ViewEncapsulation.None,
2403
2724
  }]
2404
- }], ctorParameters: function () { return [{ type: i0__namespace.ElementRef }, { type: i0__namespace.ChangeDetectorRef }]; }, propDecorators: { days: [{
2405
- type: i0.ViewChild,
2406
- args: ['days']
2407
- }], actionBar: [{
2725
+ }], ctorParameters: function () { return [{ type: i0__namespace.ElementRef }, { type: i0__namespace.ChangeDetectorRef }]; }, propDecorators: { activeView: [{
2726
+ type: i0.Input
2727
+ }], depthChange: [{
2728
+ type: i0.Output
2729
+ }], depth: [{
2408
2730
  type: i0.Input
2409
- }], showTime: [{
2731
+ }], min: [{
2410
2732
  type: i0.Input
2733
+ }], max: [{
2734
+ type: i0.Input
2735
+ }], disabledDates: [{
2736
+ type: i0.Input
2737
+ }], holidayDates: [{
2738
+ type: i0.Input
2739
+ }], __hostClass: [{
2740
+ type: i0.HostBinding,
2741
+ args: ['class']
2411
2742
  }] } });
2412
2743
 
2413
- var COMPONENT$g = [AXCalendarComponent];
2414
- var MODULES$g = [i1.CommonModule, AXButtonModule, AXEditorDecoratorModule, AXIconModule];
2744
+ var COMPONENT$i = [AXCalendarComponent];
2745
+ var MODULES$i = [i1.CommonModule, AXButtonModule, AXIconModule, AXEditorDecoratorModule, i2.AXDateTimeModule];
2415
2746
  var AXCalendarModule = /** @class */ (function () {
2416
2747
  function AXCalendarModule() {
2417
2748
  }
2418
2749
  return AXCalendarModule;
2419
2750
  }());
2420
2751
  AXCalendarModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXCalendarModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
2421
- AXCalendarModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXCalendarModule, declarations: [AXCalendarComponent], imports: [i1.CommonModule, AXButtonModule, AXEditorDecoratorModule, AXIconModule], exports: [AXCalendarComponent] });
2422
- AXCalendarModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXCalendarModule, providers: [], imports: [__spreadArray([], __read(MODULES$g))] });
2752
+ AXCalendarModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXCalendarModule, declarations: [AXCalendarComponent], imports: [i1.CommonModule, AXButtonModule, AXIconModule, AXEditorDecoratorModule, i2.AXDateTimeModule], exports: [AXCalendarComponent] });
2753
+ AXCalendarModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXCalendarModule, providers: [], imports: [__spreadArray([], __read(MODULES$i))] });
2423
2754
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXCalendarModule, decorators: [{
2424
2755
  type: i0.NgModule,
2425
2756
  args: [{
2426
- declarations: __spreadArray([], __read(COMPONENT$g)),
2427
- imports: __spreadArray([], __read(MODULES$g)),
2428
- exports: __spreadArray([], __read(COMPONENT$g)),
2757
+ declarations: __spreadArray([], __read(COMPONENT$i)),
2758
+ imports: __spreadArray([], __read(MODULES$i)),
2759
+ exports: __spreadArray([], __read(COMPONENT$i)),
2429
2760
  providers: [],
2430
2761
  }]
2431
2762
  }] });
@@ -2937,8 +3268,8 @@
2937
3268
  }]
2938
3269
  }], ctorParameters: function () { return [{ type: i0__namespace.ElementRef }, { type: i0__namespace.ChangeDetectorRef }, { type: AXCarouselComponent }]; } });
2939
3270
 
2940
- var COMPONENT$f = [AXCarouselComponent, AXCarouselItemComponent, AXCarouselArrowsComponent, AXCarouselPagerComponent];
2941
- var MODULES$f = [i1.CommonModule];
3271
+ var COMPONENT$h = [AXCarouselComponent, AXCarouselItemComponent, AXCarouselArrowsComponent, AXCarouselPagerComponent];
3272
+ var MODULES$h = [i1.CommonModule];
2942
3273
  var AXCarouselModule = /** @class */ (function () {
2943
3274
  function AXCarouselModule() {
2944
3275
  }
@@ -2946,61 +3277,221 @@
2946
3277
  }());
2947
3278
  AXCarouselModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXCarouselModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
2948
3279
  AXCarouselModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXCarouselModule, declarations: [AXCarouselComponent, AXCarouselItemComponent, AXCarouselArrowsComponent, AXCarouselPagerComponent], imports: [i1.CommonModule], exports: [AXCarouselComponent, AXCarouselItemComponent, AXCarouselArrowsComponent, AXCarouselPagerComponent] });
2949
- AXCarouselModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXCarouselModule, providers: [], imports: [__spreadArray([], __read(MODULES$f))] });
3280
+ AXCarouselModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXCarouselModule, providers: [], imports: [__spreadArray([], __read(MODULES$h))] });
2950
3281
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXCarouselModule, decorators: [{
2951
3282
  type: i0.NgModule,
2952
3283
  args: [{
2953
- declarations: __spreadArray([], __read(COMPONENT$f)),
2954
- imports: __spreadArray([], __read(MODULES$f)),
2955
- exports: __spreadArray([], __read(COMPONENT$f)),
3284
+ declarations: __spreadArray([], __read(COMPONENT$h)),
3285
+ imports: __spreadArray([], __read(MODULES$h)),
3286
+ exports: __spreadArray([], __read(COMPONENT$h)),
2956
3287
  providers: [],
2957
3288
  }]
2958
3289
  }] });
2959
3290
 
2960
- var AXCheckBoxComponent = /** @class */ (function (_super) {
2961
- __extends(AXCheckBoxComponent, _super);
2962
- function AXCheckBoxComponent(elementRef, cdr) {
2963
- var _this = _super.call(this, elementRef, cdr) || this;
2964
- //TODO: apply it
2965
- _this.indeterminate = false;
2966
- _this._id = "ax-checkbox-" + Math.floor(Math.random() * 1000);
2967
- return _this;
3291
+ var AXFormFieldComponent = /** @class */ (function (_super) {
3292
+ __extends(AXFormFieldComponent, _super);
3293
+ function AXFormFieldComponent(elementRef, cdr) {
3294
+ return _super.call(this, elementRef, cdr) || this;
2968
3295
  }
2969
- AXCheckBoxComponent.prototype.onInit = function () {
2970
- _super.prototype.onInit.call(this);
2971
- if (!this.indeterminate && this.value == null) {
2972
- this.value = false;
2973
- }
2974
- };
2975
- AXCheckBoxComponent.prototype._handleOnClickEvent = function (e) {
2976
- if (this.readonly || this.disabled) {
2977
- e.preventDefault();
2978
- e.stopPropagation();
2979
- }
2980
- };
2981
- return AXCheckBoxComponent;
2982
- }(AXBaseValueComponentMixin));
2983
- AXCheckBoxComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXCheckBoxComponent, deps: [{ token: i0__namespace.ElementRef }, { token: i0__namespace.ChangeDetectorRef }], target: i0__namespace.ɵɵFactoryTarget.Component });
2984
- AXCheckBoxComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: AXCheckBoxComponent, selector: "ax-check-box", inputs: { disabled: "disabled", readonly: "readonly", tabIndex: "tabIndex", size: "size", value: "value", indeterminate: "indeterminate" }, outputs: { valueChange: "valueChange", onValueChanged: "onValueChanged", onBlur: "onBlur", onFocus: "onFocus" }, usesInheritance: true, ngImport: i0__namespace, template: "<div class=\"ax-flex ax-items-start ax-checkbox-container\">\r\n <div class=\"ax-flex ax-items-center ax-h-5\">\r\n <input [id]=\"_id\" class=\"ax-checkbox\" type=\"checkbox\" [(ngModel)]=\"value\" [checked]=\"value\" [disabled]=\"disabled\" [readonly]=\"readonly\" [tabindex]=\"tabIndex\" (focus)=\"_emitOnFocusEvent($event)\" (blur)=\"_emitOnBlurEvent($event)\">\r\n </div>\r\n <div class=\"ax-ms-2 ax-text-sm ax-flex ax-flex-col\">\r\n <label [for]=\"_id\" class=\"ax-font-medium ax-text-light-700\">\r\n <ng-content></ng-content><br>\r\n </label>\r\n </div>\r\n <!-- <div class=\"ax-ms-3 ax-text-sm\">\r\n \r\n </div> -->\r\n</div>\r\n<ng-content select=\"ax-validation-rule\">\r\n</ng-content>", directives: [{ type: i3__namespace.CheckboxControlValueAccessor, selector: "input[type=checkbox][formControlName],input[type=checkbox][formControl],input[type=checkbox][ngModel]" }, { type: i3__namespace.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i3__namespace.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }], changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush, encapsulation: i0__namespace.ViewEncapsulation.None });
2985
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXCheckBoxComponent, decorators: [{
3296
+ return AXFormFieldComponent;
3297
+ }(AXBaseComponentMixin));
3298
+ AXFormFieldComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXFormFieldComponent, deps: [{ token: i0__namespace.ElementRef }, { token: i0__namespace.ChangeDetectorRef }], target: i0__namespace.ɵɵFactoryTarget.Component });
3299
+ AXFormFieldComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: AXFormFieldComponent, selector: "ax-form-field", usesInheritance: true, ngImport: i0__namespace, template: '<div class="ax-form-field"><ng-content></ng-content></div>', isInline: true, changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush, encapsulation: i0__namespace.ViewEncapsulation.None });
3300
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXFormFieldComponent, decorators: [{
2986
3301
  type: i0.Component,
2987
3302
  args: [{
2988
- selector: 'ax-check-box',
2989
- templateUrl: './checkbox.component.html',
2990
- inputs: ['disabled', 'readonly', 'tabIndex', 'size', 'value'],
2991
- outputs: ['valueChange', 'onValueChanged', 'onBlur', 'onFocus'],
3303
+ selector: 'ax-form-field',
3304
+ template: '<div class="ax-form-field"><ng-content></ng-content></div>',
2992
3305
  encapsulation: i0.ViewEncapsulation.None,
2993
3306
  changeDetection: i0.ChangeDetectionStrategy.OnPush,
2994
3307
  }]
2995
- }], ctorParameters: function () { return [{ type: i0__namespace.ElementRef }, { type: i0__namespace.ChangeDetectorRef }]; }, propDecorators: { indeterminate: [{
2996
- type: i0.Input
2997
- }] } });
3308
+ }], ctorParameters: function () { return [{ type: i0__namespace.ElementRef }, { type: i0__namespace.ChangeDetectorRef }]; } });
2998
3309
 
2999
- var AXCheckBoxModule = /** @class */ (function () {
3000
- function AXCheckBoxModule() {
3310
+ var AXFormHintComponent = /** @class */ (function (_super) {
3311
+ __extends(AXFormHintComponent, _super);
3312
+ function AXFormHintComponent(elementRef, cdr) {
3313
+ return _super.call(this, elementRef, cdr) || this;
3001
3314
  }
3002
- return AXCheckBoxModule;
3003
- }());
3315
+ return AXFormHintComponent;
3316
+ }(AXBaseComponentMixin));
3317
+ AXFormHintComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXFormHintComponent, deps: [{ token: i0__namespace.ElementRef }, { token: i0__namespace.ChangeDetectorRef }], target: i0__namespace.ɵɵFactoryTarget.Component });
3318
+ AXFormHintComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: AXFormHintComponent, selector: "ax-form-hint", usesInheritance: true, ngImport: i0__namespace, template: ' <p class="ax-text-gray-400 ax-text-xs ax-py-1"><ng-content></ng-content></p>', isInline: true, changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush, encapsulation: i0__namespace.ViewEncapsulation.None });
3319
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXFormHintComponent, decorators: [{
3320
+ type: i0.Component,
3321
+ args: [{
3322
+ selector: 'ax-form-hint',
3323
+ template: ' <p class="ax-text-gray-400 ax-text-xs ax-py-1"><ng-content></ng-content></p>',
3324
+ encapsulation: i0.ViewEncapsulation.None,
3325
+ changeDetection: i0.ChangeDetectionStrategy.OnPush,
3326
+ }]
3327
+ }], ctorParameters: function () { return [{ type: i0__namespace.ElementRef }, { type: i0__namespace.ChangeDetectorRef }]; } });
3328
+
3329
+ var AXFormComponent = /** @class */ (function (_super) {
3330
+ __extends(AXFormComponent, _super);
3331
+ function AXFormComponent(elementRef, cdr) {
3332
+ var _this = _super.call(this, elementRef, cdr) || this;
3333
+ _this.cdr = cdr;
3334
+ return _this;
3335
+ }
3336
+ AXFormComponent.prototype._getComponenets = function () {
3337
+ return Array.from(this._getHostElement().querySelectorAll('[ax-form-input="true"]'));
3338
+ };
3339
+ AXFormComponent.prototype.validate = function () {
3340
+ var widgets = this._getComponenets();
3341
+ //
3342
+ return new Promise(function (resolve, reject) {
3343
+ if (widgets.length === 0) {
3344
+ return Promise.resolve({ result: true });
3345
+ }
3346
+ Promise.all(widgets.map(function (c) { return c.__axContext__.validate(); })).then(function (rules) {
3347
+ var failed = rules.filter(function (c) { return !c.result; });
3348
+ if (failed.length) {
3349
+ reject({
3350
+ result: false,
3351
+ items: failed
3352
+ });
3353
+ }
3354
+ else {
3355
+ resolve({ result: true });
3356
+ }
3357
+ });
3358
+ });
3359
+ };
3360
+ AXFormComponent.prototype.clear = function () {
3361
+ var widgets = this._getComponenets();
3362
+ widgets.forEach(function (w) {
3363
+ w.__axContext__.clear();
3364
+ });
3365
+ };
3366
+ return AXFormComponent;
3367
+ }(AXBaseComponentMixin));
3368
+ AXFormComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXFormComponent, deps: [{ token: i0__namespace.ElementRef }, { token: i0__namespace.ChangeDetectorRef }], target: i0__namespace.ɵɵFactoryTarget.Component });
3369
+ AXFormComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: AXFormComponent, selector: "ax-form", usesInheritance: true, ngImport: i0__namespace, template: '<div class="ax-form"><ng-content></ng-content></div>', isInline: true, changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush, encapsulation: i0__namespace.ViewEncapsulation.None });
3370
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXFormComponent, decorators: [{
3371
+ type: i0.Component,
3372
+ args: [{
3373
+ selector: 'ax-form',
3374
+ template: '<div class="ax-form"><ng-content></ng-content></div>',
3375
+ encapsulation: i0.ViewEncapsulation.None,
3376
+ changeDetection: i0.ChangeDetectionStrategy.OnPush,
3377
+ }]
3378
+ }], ctorParameters: function () { return [{ type: i0__namespace.ElementRef }, { type: i0__namespace.ChangeDetectorRef }]; } });
3379
+
3380
+ var AXFormModule = /** @class */ (function () {
3381
+ function AXFormModule() {
3382
+ }
3383
+ return AXFormModule;
3384
+ }());
3385
+ AXFormModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXFormModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
3386
+ AXFormModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXFormModule, declarations: [AXFormFieldComponent, AXFormComponent, AXFormHintComponent], imports: [i1.CommonModule], exports: [AXFormFieldComponent, AXFormComponent, AXFormHintComponent] });
3387
+ AXFormModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXFormModule, providers: [], imports: [[i1.CommonModule]] });
3388
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXFormModule, decorators: [{
3389
+ type: i0.NgModule,
3390
+ args: [{
3391
+ imports: [i1.CommonModule],
3392
+ exports: [AXFormFieldComponent, AXFormComponent, AXFormHintComponent],
3393
+ declarations: [AXFormFieldComponent, AXFormComponent, AXFormHintComponent],
3394
+ providers: [],
3395
+ }]
3396
+ }] });
3397
+
3398
+ var AXLabelComponent = /** @class */ (function (_super) {
3399
+ __extends(AXLabelComponent, _super);
3400
+ function AXLabelComponent(elementRef, cdr) {
3401
+ return _super.call(this, elementRef, cdr) || this;
3402
+ }
3403
+ return AXLabelComponent;
3404
+ }(AXBaseComponentMixin));
3405
+ AXLabelComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXLabelComponent, deps: [{ token: i0__namespace.ElementRef }, { token: i0__namespace.ChangeDetectorRef }], target: i0__namespace.ɵɵFactoryTarget.Component });
3406
+ AXLabelComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: AXLabelComponent, selector: "ax-label", usesInheritance: true, ngImport: i0__namespace, template: "<label>\r\n <ng-content></ng-content>\r\n</label>", changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush, encapsulation: i0__namespace.ViewEncapsulation.None });
3407
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXLabelComponent, decorators: [{
3408
+ type: i0.Component,
3409
+ args: [{
3410
+ selector: 'ax-label',
3411
+ templateUrl: './label.component.html',
3412
+ changeDetection: i0.ChangeDetectionStrategy.OnPush,
3413
+ encapsulation: i0.ViewEncapsulation.None
3414
+ }]
3415
+ }], ctorParameters: function () { return [{ type: i0__namespace.ElementRef }, { type: i0__namespace.ChangeDetectorRef }]; } });
3416
+
3417
+ var COMPONENT$g = [AXLabelComponent];
3418
+ var MODULES$g = [i1.CommonModule];
3419
+ var AXLabelModule = /** @class */ (function () {
3420
+ function AXLabelModule() {
3421
+ }
3422
+ return AXLabelModule;
3423
+ }());
3424
+ AXLabelModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXLabelModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
3425
+ AXLabelModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXLabelModule, declarations: [AXLabelComponent], imports: [i1.CommonModule], exports: [AXLabelComponent] });
3426
+ AXLabelModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXLabelModule, providers: [], imports: [__spreadArray([], __read(MODULES$g))] });
3427
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXLabelModule, decorators: [{
3428
+ type: i0.NgModule,
3429
+ args: [{
3430
+ declarations: __spreadArray([], __read(COMPONENT$g)),
3431
+ imports: __spreadArray([], __read(MODULES$g)),
3432
+ exports: __spreadArray([], __read(COMPONENT$g)),
3433
+ providers: [],
3434
+ }]
3435
+ }] });
3436
+
3437
+ var AXCheckBoxComponent = /** @class */ (function (_super) {
3438
+ __extends(AXCheckBoxComponent, _super);
3439
+ function AXCheckBoxComponent(elementRef, cdr) {
3440
+ return _super.call(this, elementRef, cdr) || this;
3441
+ }
3442
+ AXCheckBoxComponent.prototype.onInit = function () {
3443
+ _super.prototype.onInit.call(this);
3444
+ debugger;
3445
+ if (!this.allowNull && this.value == null) {
3446
+ this.value = false;
3447
+ }
3448
+ };
3449
+ AXCheckBoxComponent.prototype._onValueChanging = function (value) {
3450
+ debugger;
3451
+ if (this.allowNull && value == null) {
3452
+ this._stateIndeterminate = true;
3453
+ }
3454
+ else {
3455
+ this._stateIndeterminate = false;
3456
+ value = value == true ? true : false;
3457
+ }
3458
+ return value;
3459
+ };
3460
+ AXCheckBoxComponent.prototype._handleOnClickEvent = function (e) {
3461
+ debugger;
3462
+ if (this.readonly || this.disabled) {
3463
+ e.preventDefault();
3464
+ e.stopPropagation();
3465
+ return false;
3466
+ }
3467
+ };
3468
+ return AXCheckBoxComponent;
3469
+ }(AXBaseValueComponentMixin));
3470
+ AXCheckBoxComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXCheckBoxComponent, deps: [{ token: i0__namespace.ElementRef }, { token: i0__namespace.ChangeDetectorRef }], target: i0__namespace.ɵɵFactoryTarget.Component });
3471
+ AXCheckBoxComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: AXCheckBoxComponent, selector: "ax-check-box", inputs: { disabled: "disabled", tabIndex: "tabIndex", readonly: "readonly", allowNull: "allowNull", value: "value", debounceTime: "debounceTime", name: "name" }, outputs: { onBlur: "onBlur", onFocus: "onFocus", valueChange: "valueChange", onValueChanged: "onValueChanged" }, queries: [{ propertyName: "_hint", predicate: AXFormHintComponent }, { propertyName: "_label", predicate: AXLabelComponent }], usesInheritance: true, ngImport: i0__namespace, template: "<!-- <div class=\"ax-wrapper ax-flex ax-flex-row \" [class.ax-items-center]=\"_hint.length==0\"\r\n [class.ax-items-start]=\"_hint.length>=0\" [class.ax-state-disabled]=\"disabled\" [class.ax-state-readonly]=\"disabled\">\r\n <input [id]=\"id\" type=\"checkbox\" [indeterminate]=\"_stateIndeterminate\" [(ngModel)]=\"value\" [checked]=\"value\"\r\n [disabled]=\"disabled\" [readonly]=\"readonly\" [tabindex]=\"tabIndex\" (click)=\"_handleOnClickEvent($event)\"\r\n (focus)=\"_emitOnFocusEvent($event)\" (blur)=\"_emitOnBlurEvent($event)\">\r\n <div class=\"ax-suffix ax-ms-3\" *ngIf=\"_label.length||_hint.length\">\r\n <div *ngIf=\"_label.length\">\r\n <ng-content select=\"ax-label\"></ng-content>\r\n </div>\r\n <div *ngIf=\"_hint.length\">\r\n <ng-content select=\"ax-form-hint\"></ng-content>\r\n </div>\r\n </div>\r\n</div> -->\r\n\r\n<div class=\"ax-flex ax-items-start\">\r\n <div class=\"ax-flex ax-items-center ax-h-5\">\r\n <input [id]=\"id\" class=\"ax-h-4 ax-w-4\" type=\"checkbox\" [indeterminate]=\"_stateIndeterminate\" [(ngModel)]=\"value\" [checked]=\"value\" [disabled]=\"disabled\" [readonly]=\"readonly\" [tabindex]=\"tabIndex\" (click)=\"_handleOnClickEvent($event)\" (focus)=\"_emitOnFocusEvent($event)\"\r\n (blur)=\"_emitOnBlurEvent($event)\">\r\n </div>\r\n <div class=\"ax-ms-3 ax-text-sm\">\r\n <ng-content select=\"ax-label\"></ng-content>\r\n <ng-content select=\"ax-form-hint\"></ng-content>\r\n </div>\r\n</div>\r\n\r\n<ng-content select=\"ax-validation-rule\"></ng-content>", directives: [{ type: i3__namespace.CheckboxControlValueAccessor, selector: "input[type=checkbox][formControlName],input[type=checkbox][formControl],input[type=checkbox][ngModel]" }, { type: i3__namespace.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i3__namespace.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }], changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush, encapsulation: i0__namespace.ViewEncapsulation.None });
3472
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXCheckBoxComponent, decorators: [{
3473
+ type: i0.Component,
3474
+ args: [{
3475
+ selector: 'ax-check-box',
3476
+ templateUrl: './checkbox.component.html',
3477
+ inputs: __spreadArray(__spreadArray([], __read(INTERACTIVE_INPUTS)), __read(VALUE_INPUTS)),
3478
+ outputs: __spreadArray(__spreadArray([], __read(INTERACTIVE_OUTPUT)), __read(VALUE_OUTPUT)),
3479
+ encapsulation: i0.ViewEncapsulation.None,
3480
+ changeDetection: i0.ChangeDetectionStrategy.OnPush,
3481
+ }]
3482
+ }], ctorParameters: function () { return [{ type: i0__namespace.ElementRef }, { type: i0__namespace.ChangeDetectorRef }]; }, propDecorators: { _hint: [{
3483
+ type: i0.ContentChildren,
3484
+ args: [AXFormHintComponent]
3485
+ }], _label: [{
3486
+ type: i0.ContentChildren,
3487
+ args: [AXLabelComponent]
3488
+ }] } });
3489
+
3490
+ var AXCheckBoxModule = /** @class */ (function () {
3491
+ function AXCheckBoxModule() {
3492
+ }
3493
+ return AXCheckBoxModule;
3494
+ }());
3004
3495
  AXCheckBoxModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXCheckBoxModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
3005
3496
  AXCheckBoxModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXCheckBoxModule, declarations: [AXCheckBoxComponent], imports: [i1.CommonModule, i3.FormsModule], exports: [AXCheckBoxComponent] });
3006
3497
  AXCheckBoxModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXCheckBoxModule, providers: [], imports: [[i1.CommonModule, i3.FormsModule]] });
@@ -3106,8 +3597,8 @@
3106
3597
  type: i0.Input
3107
3598
  }] } });
3108
3599
 
3109
- var COMPONENT$e = [AXDataListComponent];
3110
- var MODULES$e = [i1.CommonModule, AXButtonModule];
3600
+ var COMPONENT$f = [AXDataListComponent];
3601
+ var MODULES$f = [i1.CommonModule, AXButtonModule];
3111
3602
  var AXDataListModule = /** @class */ (function () {
3112
3603
  function AXDataListModule() {
3113
3604
  }
@@ -3115,13 +3606,13 @@
3115
3606
  }());
3116
3607
  AXDataListModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXDataListModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
3117
3608
  AXDataListModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXDataListModule, declarations: [AXDataListComponent], imports: [i1.CommonModule, AXButtonModule], exports: [AXDataListComponent] });
3118
- AXDataListModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXDataListModule, providers: [], imports: [__spreadArray([], __read(MODULES$e))] });
3609
+ AXDataListModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXDataListModule, providers: [], imports: [__spreadArray([], __read(MODULES$f))] });
3119
3610
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXDataListModule, decorators: [{
3120
3611
  type: i0.NgModule,
3121
3612
  args: [{
3122
- declarations: __spreadArray([], __read(COMPONENT$e)),
3123
- imports: __spreadArray([], __read(MODULES$e)),
3124
- exports: __spreadArray([], __read(COMPONENT$e)),
3613
+ declarations: __spreadArray([], __read(COMPONENT$f)),
3614
+ imports: __spreadArray([], __read(MODULES$f)),
3615
+ exports: __spreadArray([], __read(COMPONENT$f)),
3125
3616
  providers: [],
3126
3617
  }]
3127
3618
  }] });
@@ -3169,7 +3660,6 @@
3169
3660
  return this._target;
3170
3661
  },
3171
3662
  set: function (v) {
3172
- debugger;
3173
3663
  if (v instanceof HTMLElement)
3174
3664
  this._target = v;
3175
3665
  else if (v instanceof i0.ElementRef)
@@ -3549,7 +4039,7 @@
3549
4039
  return AXDatepickerComponent;
3550
4040
  }(AXBaseTextBoxMixin));
3551
4041
  AXDatepickerComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXDatepickerComponent, deps: [{ token: i0__namespace.ElementRef }, { token: i0__namespace.ChangeDetectorRef }], target: i0__namespace.ɵɵFactoryTarget.Component });
3552
- AXDatepickerComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: AXDatepickerComponent, selector: "ax-date-picker", inputs: { disabled: "disabled", readonly: "readonly", tabIndex: "tabIndex", cssClass: "cssClass", size: "size", placeholder: "placeholder", maxLength: "maxLength", allowNull: "allowNull", debounceTime: "debounceTime", value: "value", name: "name" }, outputs: { valueChange: "valueChange", onValueChanged: "onValueChanged", onBlur: "onBlur", onFocus: "onFocus" }, usesInheritance: true, ngImport: i0__namespace, template: "<ax-drop-down [fitParent]=\"false\" [disabled]=\"disabled\">\r\n <ng-container input>\r\n <ng-content select=\"ax-prefix\">\r\n </ng-content>\r\n <ng-content select=\"ax-suffix\">\r\n </ng-content>\r\n </ng-container>\r\n <div class=\"ax-datepicker-body\" panel>\r\n <ax-calendar [showTime]=\"true\" [actionBar]=\"true\"></ax-calendar>\r\n </div>\r\n</ax-drop-down>", components: [{ type: AXDropdownComponent, selector: "ax-drop-down", inputs: ["disabled", "tabIndex", "size", "fitParent"] }, { type: AXCalendarComponent, selector: "ax-calendar", inputs: ["disabled", "tabIndex", "size", "cssClass", "cssStyle", "actionBar", "showTime"] }], changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush, encapsulation: i0__namespace.ViewEncapsulation.None });
4042
+ AXDatepickerComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: AXDatepickerComponent, selector: "ax-date-picker", inputs: { disabled: "disabled", readonly: "readonly", tabIndex: "tabIndex", cssClass: "cssClass", size: "size", placeholder: "placeholder", maxLength: "maxLength", allowNull: "allowNull", debounceTime: "debounceTime", value: "value", name: "name" }, outputs: { valueChange: "valueChange", onValueChanged: "onValueChanged", onBlur: "onBlur", onFocus: "onFocus" }, usesInheritance: true, ngImport: i0__namespace, template: "<ax-drop-down [fitParent]=\"false\" [disabled]=\"disabled\">\r\n <ng-container input>\r\n <ng-content select=\"ax-prefix\">\r\n </ng-content>\r\n <ng-content select=\"ax-suffix\">\r\n </ng-content>\r\n </ng-container>\r\n <div class=\"ax-datepicker-body\" panel>\r\n <ax-calendar></ax-calendar>\r\n <!-- [showTime]=\"true\" [actionBar]=\"true\" -->\r\n </div>\r\n</ax-drop-down>", components: [{ type: AXDropdownComponent, selector: "ax-drop-down", inputs: ["disabled", "tabIndex", "size", "fitParent"] }, { type: AXCalendarComponent, selector: "ax-calendar", inputs: ["readonly", "allowNull", "value", "debounceTime", "name", "disabled", "tabIndex", "activeView", "depth", "min", "max", "disabledDates", "holidayDates"], outputs: ["valueChange", "onValueChanged", "onBlur", "onFocus", "depthChange"] }], changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush, encapsulation: i0__namespace.ViewEncapsulation.None });
3553
4043
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXDatepickerComponent, decorators: [{
3554
4044
  type: i0.Component,
3555
4045
  args: [{
@@ -3674,8 +4164,8 @@
3674
4164
  }]
3675
4165
  }] });
3676
4166
 
3677
- var COMPONENT$d = [AXDatepickerComponent];
3678
- var MODULES$d = [i1.CommonModule, AXCalendarModule, AXDropdownModule];
4167
+ var COMPONENT$e = [AXDatepickerComponent];
4168
+ var MODULES$e = [i1.CommonModule, AXCalendarModule, AXDropdownModule];
3679
4169
  var AXDatepickerModule = /** @class */ (function () {
3680
4170
  function AXDatepickerModule() {
3681
4171
  }
@@ -3683,13 +4173,13 @@
3683
4173
  }());
3684
4174
  AXDatepickerModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXDatepickerModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
3685
4175
  AXDatepickerModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXDatepickerModule, declarations: [AXDatepickerComponent], imports: [i1.CommonModule, AXCalendarModule, AXDropdownModule], exports: [AXDatepickerComponent] });
3686
- AXDatepickerModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXDatepickerModule, providers: [], imports: [__spreadArray([], __read(MODULES$d))] });
4176
+ AXDatepickerModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXDatepickerModule, providers: [], imports: [__spreadArray([], __read(MODULES$e))] });
3687
4177
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXDatepickerModule, decorators: [{
3688
4178
  type: i0.NgModule,
3689
4179
  args: [{
3690
- declarations: __spreadArray([], __read(COMPONENT$d)),
3691
- imports: __spreadArray([], __read(MODULES$d)),
3692
- exports: __spreadArray([], __read(COMPONENT$d)),
4180
+ declarations: __spreadArray([], __read(COMPONENT$e)),
4181
+ imports: __spreadArray([], __read(MODULES$e)),
4182
+ exports: __spreadArray([], __read(COMPONENT$e)),
3693
4183
  providers: [],
3694
4184
  }]
3695
4185
  }] });
@@ -3723,7 +4213,7 @@
3723
4213
  return AXDialogComponent;
3724
4214
  }(AXBaseComponentMixin));
3725
4215
  AXDialogComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXDialogComponent, deps: [{ token: i0__namespace.ElementRef }, { token: i0__namespace.ChangeDetectorRef }], target: i0__namespace.ɵɵFactoryTarget.Component });
3726
- AXDialogComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: AXDialogComponent, selector: "ax-dialog", usesInheritance: true, ngImport: i0__namespace, template: "<div class=\"ax-popup-wrapper\" aria-modal=\"true\" cdkTrapFocus>\r\n <div class=\"ax-dialog ax-{{options.type}}\" tabindex=\"0\" cdkDrag role=\"alert\" cdkDragHandle>\r\n <div class=\"ax-dialog-icon-side\">\r\n <i class=\"ax-dialog-icon {{_icon}}\"></i>\r\n </div>\r\n <div class=\"ax-dialog-content-side\">\r\n <div class=\"ax-dialog-title\">{{options.title}}</div>\r\n <div class=\"ax-dialog-content\">{{options.content}}</div>\r\n </div>\r\n <div class=\"ax-dialog-dismiss-icon\">\r\n <i class=\"ax-ic ax-ic-close\" *ngIf=\"options.dismissible\" (click)=\"close()\"></i>\r\n </div>\r\n\r\n <footer class=\"ax-dialog-footer\">\r\n <ng-container *ngFor=\"let button of options.buttons\">\r\n <ax-button [text]=\"button.text\" [submitBehavior]=\"button.submitBehavior\" [cancelBehavior]=\"button.cancelBehavior\" (onClick)=\"_handleButtonClick(button)\" [class]=\"button.cssClass\" [look]=\"button.look\" [color]=\"button.color\"></ax-button>\r\n <div class=\"ax-ml-2\"></div>\r\n </ng-container>\r\n </footer>\r\n </div>\r\n\r\n</div>", components: [{ type: AXButtonComponent, selector: "ax-button", inputs: ["disabled", "tabIndex", "size", "text", "submitBehavior", "cancelBehavior", "color", "look", "toggleable", "selected"], outputs: ["onBlur", "onFocus", "onClick", "selectedChange", "toggleableChange"] }], directives: [{ type: i2__namespace$1.CdkTrapFocus, selector: "[cdkTrapFocus]", inputs: ["cdkTrapFocus", "cdkTrapFocusAutoCapture"], exportAs: ["cdkTrapFocus"] }, { type: i3__namespace$1.CdkDrag, selector: "[cdkDrag]", inputs: ["cdkDragDisabled", "cdkDragStartDelay", "cdkDragLockAxis", "cdkDragConstrainPosition", "cdkDragPreviewClass", "cdkDragBoundary", "cdkDragRootElement", "cdkDragPreviewContainer", "cdkDragData", "cdkDragFreeDragPosition"], outputs: ["cdkDragStarted", "cdkDragReleased", "cdkDragEnded", "cdkDragEntered", "cdkDragExited", "cdkDragDropped", "cdkDragMoved"], exportAs: ["cdkDrag"] }, { type: i3__namespace$1.CdkDragHandle, selector: "[cdkDragHandle]", inputs: ["cdkDragHandleDisabled"] }, { type: i1__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1__namespace.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }], changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush, encapsulation: i0__namespace.ViewEncapsulation.None });
4216
+ AXDialogComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: AXDialogComponent, selector: "ax-dialog", usesInheritance: true, ngImport: i0__namespace, template: "<div class=\"ax-popup-wrapper\" aria-modal=\"true\" cdkTrapFocus>\r\n <div class=\"ax-dialog ax-{{options.type}}\" tabindex=\"0\" cdkDrag role=\"alert\" cdkDragHandle>\r\n <div class=\"ax-dialog-icon-side\">\r\n <i class=\"ax-dialog-icon {{_icon}}\"></i>\r\n </div>\r\n <div class=\"ax-dialog-content-side\">\r\n <div class=\"ax-dialog-title\">{{options.title}}</div>\r\n <div class=\"ax-dialog-content\">{{options.content}}</div>\r\n </div>\r\n <div class=\"ax-dialog-dismiss-icon\">\r\n <i class=\"ax-ic ax-ic-close\" *ngIf=\"options.dismissible\" (click)=\"close()\"></i>\r\n </div>\r\n <footer class=\"ax-dialog-footer\">\r\n <ng-container *ngFor=\"let button of options.buttons\">\r\n <ax-button [text]=\"button.text\" [submitBehavior]=\"button.submitBehavior\" [cancelBehavior]=\"button.cancelBehavior\" (onClick)=\"_handleButtonClick(button)\" [class]=\"button.cssClass\" [look]=\"button.look\" [color]=\"button.color\"></ax-button>\r\n <div class=\"ax-ml-2\"></div>\r\n </ng-container>\r\n </footer>\r\n </div>\r\n\r\n</div>", components: [{ type: AXButtonComponent, selector: "ax-button", inputs: ["disabled", "tabIndex", "size", "text", "submitBehavior", "cancelBehavior", "color", "look", "toggleable", "selected"], outputs: ["onBlur", "onFocus", "onClick", "selectedChange", "toggleableChange"] }], directives: [{ type: i2__namespace$1.CdkTrapFocus, selector: "[cdkTrapFocus]", inputs: ["cdkTrapFocus", "cdkTrapFocusAutoCapture"], exportAs: ["cdkTrapFocus"] }, { type: i3__namespace$1.CdkDrag, selector: "[cdkDrag]", inputs: ["cdkDragDisabled", "cdkDragStartDelay", "cdkDragLockAxis", "cdkDragConstrainPosition", "cdkDragPreviewClass", "cdkDragBoundary", "cdkDragRootElement", "cdkDragPreviewContainer", "cdkDragData", "cdkDragFreeDragPosition"], outputs: ["cdkDragStarted", "cdkDragReleased", "cdkDragEnded", "cdkDragEntered", "cdkDragExited", "cdkDragDropped", "cdkDragMoved"], exportAs: ["cdkDrag"] }, { type: i3__namespace$1.CdkDragHandle, selector: "[cdkDragHandle]", inputs: ["cdkDragHandleDisabled"] }, { type: i1__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1__namespace.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }], changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush, encapsulation: i0__namespace.ViewEncapsulation.None });
3727
4217
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXDialogComponent, decorators: [{
3728
4218
  type: i0.Component,
3729
4219
  args: [{
@@ -4011,8 +4501,8 @@
4011
4501
  args: ['axIsLoading']
4012
4502
  }] } });
4013
4503
 
4014
- var COMPONENT$c = [AXLoadingComponent, AXLoadingDirective, AXLoadingSpinnerComponent];
4015
- var MODULES$c = [i1.CommonModule, i1$2.OverlayModule, i1$1.PortalModule];
4504
+ var COMPONENT$d = [AXLoadingComponent, AXLoadingDirective, AXLoadingSpinnerComponent];
4505
+ var MODULES$d = [i1.CommonModule, i1$2.OverlayModule, i1$1.PortalModule];
4016
4506
  var AXLoadingModule = /** @class */ (function () {
4017
4507
  function AXLoadingModule() {
4018
4508
  i2.AXConfig.set({
@@ -4027,13 +4517,13 @@
4027
4517
  }());
4028
4518
  AXLoadingModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXLoadingModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
4029
4519
  AXLoadingModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXLoadingModule, declarations: [AXLoadingComponent, AXLoadingDirective, AXLoadingSpinnerComponent], imports: [i1.CommonModule, i1$2.OverlayModule, i1$1.PortalModule], exports: [AXLoadingComponent, AXLoadingDirective, AXLoadingSpinnerComponent] });
4030
- AXLoadingModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXLoadingModule, providers: [], imports: [__spreadArray([], __read(MODULES$c))] });
4520
+ AXLoadingModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXLoadingModule, providers: [], imports: [__spreadArray([], __read(MODULES$d))] });
4031
4521
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXLoadingModule, decorators: [{
4032
4522
  type: i0.NgModule,
4033
4523
  args: [{
4034
- declarations: __spreadArray([], __read(COMPONENT$c)),
4035
- imports: __spreadArray([], __read(MODULES$c)),
4036
- exports: __spreadArray([], __read(COMPONENT$c)),
4524
+ declarations: __spreadArray([], __read(COMPONENT$d)),
4525
+ imports: __spreadArray([], __read(MODULES$d)),
4526
+ exports: __spreadArray([], __read(COMPONENT$d)),
4037
4527
  providers: [],
4038
4528
  }]
4039
4529
  }], ctorParameters: function () { return []; } });
@@ -4369,12 +4859,12 @@
4369
4859
  return AXPageFooterComponent;
4370
4860
  }());
4371
4861
  AXPageFooterComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXPageFooterComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
4372
- AXPageFooterComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: AXPageFooterComponent, selector: "ax-page-footer", viewQueries: [{ propertyName: "template", first: true, predicate: i0.TemplateRef, descendants: true, static: true }], ngImport: i0__namespace, template: "\n <ng-template>\n <ng-content select=\"ax-prefix\">\n </ng-content>\n <ng-content select=\"ax-suffix\">\n </ng-content>\n </ng-template>\n ", isInline: true, changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush });
4862
+ AXPageFooterComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: AXPageFooterComponent, selector: "ax-page-footer", viewQueries: [{ propertyName: "template", first: true, predicate: i0.TemplateRef, descendants: true, static: true }], ngImport: i0__namespace, template: "\n <ng-content select=\"ax-prefix\">\n </ng-content>\n <ng-content select=\"ax-suffix\">\n </ng-content>\n ", isInline: true, changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush });
4373
4863
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXPageFooterComponent, decorators: [{
4374
4864
  type: i0.Component,
4375
4865
  args: [{
4376
4866
  selector: 'ax-page-footer',
4377
- template: "\n <ng-template>\n <ng-content select=\"ax-prefix\">\n </ng-content>\n <ng-content select=\"ax-suffix\">\n </ng-content>\n </ng-template>\n ",
4867
+ template: "\n <ng-content select=\"ax-prefix\">\n </ng-content>\n <ng-content select=\"ax-suffix\">\n </ng-content>\n ",
4378
4868
  changeDetection: i0.ChangeDetectionStrategy.OnPush
4379
4869
  }]
4380
4870
  }], propDecorators: { template: [{
@@ -4426,6 +4916,7 @@
4426
4916
  return this._isLoading;
4427
4917
  },
4428
4918
  set: function (v) {
4919
+ debugger;
4429
4920
  this._isLoading = v;
4430
4921
  if (this.pageContainer) {
4431
4922
  this.pageContainer.isLoading = this.isLoading;
@@ -4477,8 +4968,8 @@
4477
4968
  }]
4478
4969
  }] });
4479
4970
 
4480
- var COMPONENT$b = [AXDialogComponent];
4481
- var MODULES$b = [i1.CommonModule, i3$1.DragDropModule, i2$1.A11yModule, AXButtonModule, AXPageModule, AXEditorDecoratorModule];
4971
+ var COMPONENT$c = [AXDialogComponent];
4972
+ var MODULES$c = [i1.CommonModule, i3$1.DragDropModule, i2$1.A11yModule, AXButtonModule, AXPageModule, AXEditorDecoratorModule];
4482
4973
  var AXDialogModule = /** @class */ (function () {
4483
4974
  function AXDialogModule() {
4484
4975
  }
@@ -4486,13 +4977,13 @@
4486
4977
  }());
4487
4978
  AXDialogModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXDialogModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
4488
4979
  AXDialogModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXDialogModule, declarations: [AXDialogComponent], imports: [i1.CommonModule, i3$1.DragDropModule, i2$1.A11yModule, AXButtonModule, AXPageModule, AXEditorDecoratorModule], exports: [AXDialogComponent] });
4489
- AXDialogModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXDialogModule, providers: [], imports: [__spreadArray([], __read(MODULES$b))] });
4980
+ AXDialogModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXDialogModule, providers: [], imports: [__spreadArray([], __read(MODULES$c))] });
4490
4981
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXDialogModule, decorators: [{
4491
4982
  type: i0.NgModule,
4492
4983
  args: [{
4493
- declarations: __spreadArray([], __read(COMPONENT$b)),
4494
- imports: __spreadArray([], __read(MODULES$b)),
4495
- exports: __spreadArray([], __read(COMPONENT$b)),
4984
+ declarations: __spreadArray([], __read(COMPONENT$c)),
4985
+ imports: __spreadArray([], __read(MODULES$c)),
4986
+ exports: __spreadArray([], __read(COMPONENT$c)),
4496
4987
  providers: [],
4497
4988
  }]
4498
4989
  }] });
@@ -4722,8 +5213,8 @@
4722
5213
  }]
4723
5214
  }], ctorParameters: function () { return [{ type: i0__namespace.ElementRef }, { type: i0__namespace.ChangeDetectorRef }]; } });
4724
5215
 
4725
- var COMPONENT$a = [AXDrawerComponent, AXDrawerContainerComponent, AXDrawerContentComponent];
4726
- var MODULES$a = [i1.CommonModule];
5216
+ var COMPONENT$b = [AXDrawerComponent, AXDrawerContainerComponent, AXDrawerContentComponent];
5217
+ var MODULES$b = [i1.CommonModule];
4727
5218
  var AXDrawerModule = /** @class */ (function () {
4728
5219
  function AXDrawerModule() {
4729
5220
  }
@@ -4731,228 +5222,82 @@
4731
5222
  }());
4732
5223
  AXDrawerModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXDrawerModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
4733
5224
  AXDrawerModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXDrawerModule, declarations: [AXDrawerComponent, AXDrawerContainerComponent, AXDrawerContentComponent], imports: [i1.CommonModule], exports: [AXDrawerComponent, AXDrawerContainerComponent, AXDrawerContentComponent] });
4734
- AXDrawerModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXDrawerModule, providers: [], imports: [__spreadArray([], __read(MODULES$a))] });
5225
+ AXDrawerModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXDrawerModule, providers: [], imports: [__spreadArray([], __read(MODULES$b))] });
4735
5226
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXDrawerModule, decorators: [{
4736
5227
  type: i0.NgModule,
4737
5228
  args: [{
4738
- declarations: __spreadArray([], __read(COMPONENT$a)),
4739
- imports: __spreadArray([], __read(MODULES$a)),
4740
- exports: __spreadArray([], __read(COMPONENT$a)),
5229
+ declarations: __spreadArray([], __read(COMPONENT$b)),
5230
+ imports: __spreadArray([], __read(MODULES$b)),
5231
+ exports: __spreadArray([], __read(COMPONENT$b)),
4741
5232
  providers: [],
4742
5233
  }]
4743
5234
  }] });
4744
5235
 
4745
- var AXFormFieldComponent = /** @class */ (function (_super) {
4746
- __extends(AXFormFieldComponent, _super);
4747
- function AXFormFieldComponent(elementRef, cdr) {
4748
- return _super.call(this, elementRef, cdr) || this;
5236
+ var AXInputMaskComponent = /** @class */ (function () {
5237
+ function AXInputMaskComponent() {
5238
+ this.showMaskTyped = false;
5239
+ this.clearIfNotMatch = false;
4749
5240
  }
4750
- return AXFormFieldComponent;
4751
- }(AXBaseComponentMixin));
4752
- AXFormFieldComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXFormFieldComponent, deps: [{ token: i0__namespace.ElementRef }, { token: i0__namespace.ChangeDetectorRef }], target: i0__namespace.ɵɵFactoryTarget.Component });
4753
- AXFormFieldComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: AXFormFieldComponent, selector: "ax-form-field", usesInheritance: true, ngImport: i0__namespace, template: '<div class="ax-form-field"><ng-content></ng-content></div>', isInline: true, changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush, encapsulation: i0__namespace.ViewEncapsulation.None });
4754
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXFormFieldComponent, decorators: [{
5241
+ Object.defineProperty(AXInputMaskComponent.prototype, "prefix", {
5242
+ get: function () {
5243
+ return this._prefix || '';
5244
+ },
5245
+ set: function (v) {
5246
+ this._prefix = v;
5247
+ },
5248
+ enumerable: false,
5249
+ configurable: true
5250
+ });
5251
+ Object.defineProperty(AXInputMaskComponent.prototype, "suffix", {
5252
+ get: function () {
5253
+ return this._suffix || '';
5254
+ },
5255
+ set: function (v) {
5256
+ this._suffix = v;
5257
+ },
5258
+ enumerable: false,
5259
+ configurable: true
5260
+ });
5261
+ return AXInputMaskComponent;
5262
+ }());
5263
+ AXInputMaskComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXInputMaskComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
5264
+ AXInputMaskComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: AXInputMaskComponent, selector: "ax-input-mask", inputs: { prefix: "prefix", suffix: "suffix", showMaskTyped: "showMaskTyped", clearIfNotMatch: "clearIfNotMatch", mask: "mask" }, ngImport: i0__namespace, template: '', isInline: true, changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush, encapsulation: i0__namespace.ViewEncapsulation.None });
5265
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXInputMaskComponent, decorators: [{
4755
5266
  type: i0.Component,
4756
5267
  args: [{
4757
- selector: 'ax-form-field',
4758
- template: '<div class="ax-form-field"><ng-content></ng-content></div>',
4759
- encapsulation: i0.ViewEncapsulation.None,
5268
+ selector: 'ax-input-mask',
5269
+ template: '',
4760
5270
  changeDetection: i0.ChangeDetectionStrategy.OnPush,
5271
+ encapsulation: i0.ViewEncapsulation.None,
4761
5272
  }]
4762
- }], ctorParameters: function () { return [{ type: i0__namespace.ElementRef }, { type: i0__namespace.ChangeDetectorRef }]; } });
5273
+ }], propDecorators: { prefix: [{
5274
+ type: i0.Input
5275
+ }], suffix: [{
5276
+ type: i0.Input
5277
+ }], showMaskTyped: [{
5278
+ type: i0.Input
5279
+ }], clearIfNotMatch: [{
5280
+ type: i0.Input
5281
+ }], mask: [{
5282
+ type: i0.Input
5283
+ }] } });
4763
5284
 
4764
- var AXFormHintComponent = /** @class */ (function (_super) {
4765
- __extends(AXFormHintComponent, _super);
4766
- function AXFormHintComponent(elementRef, cdr) {
4767
- return _super.call(this, elementRef, cdr) || this;
4768
- }
4769
- return AXFormHintComponent;
4770
- }(AXBaseComponentMixin));
4771
- AXFormHintComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXFormHintComponent, deps: [{ token: i0__namespace.ElementRef }, { token: i0__namespace.ChangeDetectorRef }], target: i0__namespace.ɵɵFactoryTarget.Component });
4772
- AXFormHintComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: AXFormHintComponent, selector: "ax-form-hint", usesInheritance: true, ngImport: i0__namespace, template: ' <p class="ax-text-gray-400 ax-text-xs ax-py-1"><ng-content></ng-content></p>', isInline: true, changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush, encapsulation: i0__namespace.ViewEncapsulation.None });
4773
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXFormHintComponent, decorators: [{
4774
- type: i0.Component,
4775
- args: [{
4776
- selector: 'ax-form-hint',
4777
- template: ' <p class="ax-text-gray-400 ax-text-xs ax-py-1"><ng-content></ng-content></p>',
4778
- encapsulation: i0.ViewEncapsulation.None,
4779
- changeDetection: i0.ChangeDetectionStrategy.OnPush,
4780
- }]
4781
- }], ctorParameters: function () { return [{ type: i0__namespace.ElementRef }, { type: i0__namespace.ChangeDetectorRef }]; } });
4782
-
4783
- var AXFormComponent = /** @class */ (function (_super) {
4784
- __extends(AXFormComponent, _super);
4785
- function AXFormComponent(elementRef, cdr) {
4786
- var _this = _super.call(this, elementRef, cdr) || this;
4787
- _this.cdr = cdr;
4788
- return _this;
4789
- }
4790
- AXFormComponent.prototype._getComponenets = function () {
4791
- return Array.from(this._getHostElement().querySelectorAll('[ax-form-input="true"]'));
4792
- };
4793
- AXFormComponent.prototype.validate = function () {
4794
- var widgets = this._getComponenets();
4795
- //
4796
- return new Promise(function (resolve, reject) {
4797
- if (widgets.length === 0) {
4798
- return Promise.resolve({ result: true });
4799
- }
4800
- Promise.all(widgets.map(function (c) { return c.__axContext__.validate(); })).then(function (rules) {
4801
- var failed = rules.filter(function (c) { return !c.result; });
4802
- if (failed.length) {
4803
- reject({
4804
- result: false,
4805
- items: failed
4806
- });
4807
- }
4808
- else {
4809
- resolve({ result: true });
4810
- }
4811
- });
4812
- });
4813
- };
4814
- AXFormComponent.prototype.clear = function () {
4815
- var widgets = this._getComponenets();
4816
- widgets.forEach(function (w) {
4817
- w.__axContext__.clear();
4818
- });
4819
- };
4820
- return AXFormComponent;
4821
- }(AXBaseComponentMixin));
4822
- AXFormComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXFormComponent, deps: [{ token: i0__namespace.ElementRef }, { token: i0__namespace.ChangeDetectorRef }], target: i0__namespace.ɵɵFactoryTarget.Component });
4823
- AXFormComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: AXFormComponent, selector: "ax-form", usesInheritance: true, ngImport: i0__namespace, template: '<div class="ax-form"><ng-content></ng-content></div>', isInline: true, changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush, encapsulation: i0__namespace.ViewEncapsulation.None });
4824
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXFormComponent, decorators: [{
4825
- type: i0.Component,
4826
- args: [{
4827
- selector: 'ax-form',
4828
- template: '<div class="ax-form"><ng-content></ng-content></div>',
4829
- encapsulation: i0.ViewEncapsulation.None,
4830
- changeDetection: i0.ChangeDetectionStrategy.OnPush,
4831
- }]
4832
- }], ctorParameters: function () { return [{ type: i0__namespace.ElementRef }, { type: i0__namespace.ChangeDetectorRef }]; } });
4833
-
4834
- var AXFormModule = /** @class */ (function () {
4835
- function AXFormModule() {
4836
- }
4837
- return AXFormModule;
4838
- }());
4839
- AXFormModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXFormModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
4840
- AXFormModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXFormModule, declarations: [AXFormFieldComponent, AXFormComponent, AXFormHintComponent], imports: [i1.CommonModule], exports: [AXFormFieldComponent, AXFormComponent, AXFormHintComponent] });
4841
- AXFormModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXFormModule, providers: [], imports: [[i1.CommonModule]] });
4842
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXFormModule, decorators: [{
4843
- type: i0.NgModule,
4844
- args: [{
4845
- imports: [i1.CommonModule],
4846
- exports: [AXFormFieldComponent, AXFormComponent, AXFormHintComponent],
4847
- declarations: [AXFormFieldComponent, AXFormComponent, AXFormHintComponent],
4848
- providers: [],
4849
- }]
4850
- }] });
4851
-
4852
- var AXInputMaskComponent = /** @class */ (function () {
4853
- function AXInputMaskComponent() {
4854
- this.showMaskTyped = false;
4855
- this.clearIfNotMatch = false;
4856
- }
4857
- Object.defineProperty(AXInputMaskComponent.prototype, "prefix", {
4858
- get: function () {
4859
- return this._prefix || '';
4860
- },
4861
- set: function (v) {
4862
- this._prefix = v;
4863
- },
4864
- enumerable: false,
4865
- configurable: true
4866
- });
4867
- Object.defineProperty(AXInputMaskComponent.prototype, "suffix", {
4868
- get: function () {
4869
- return this._suffix || '';
4870
- },
4871
- set: function (v) {
4872
- this._suffix = v;
4873
- },
4874
- enumerable: false,
4875
- configurable: true
4876
- });
4877
- return AXInputMaskComponent;
4878
- }());
4879
- AXInputMaskComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXInputMaskComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
4880
- AXInputMaskComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: AXInputMaskComponent, selector: "ax-input-mask", inputs: { prefix: "prefix", suffix: "suffix", showMaskTyped: "showMaskTyped", clearIfNotMatch: "clearIfNotMatch", mask: "mask" }, ngImport: i0__namespace, template: '', isInline: true, changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush, encapsulation: i0__namespace.ViewEncapsulation.None });
4881
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXInputMaskComponent, decorators: [{
4882
- type: i0.Component,
4883
- args: [{
4884
- selector: 'ax-input-mask',
4885
- template: '',
4886
- changeDetection: i0.ChangeDetectionStrategy.OnPush,
4887
- encapsulation: i0.ViewEncapsulation.None,
4888
- }]
4889
- }], propDecorators: { prefix: [{
4890
- type: i0.Input
4891
- }], suffix: [{
4892
- type: i0.Input
4893
- }], showMaskTyped: [{
4894
- type: i0.Input
4895
- }], clearIfNotMatch: [{
4896
- type: i0.Input
4897
- }], mask: [{
4898
- type: i0.Input
4899
- }] } });
4900
-
4901
- var COMPONENT$9 = [AXInputMaskComponent];
4902
- var MODULES$9 = [i1.CommonModule, i1$3.NgxMaskModule.forRoot()];
4903
- var AXInputMaskModule = /** @class */ (function () {
4904
- function AXInputMaskModule() {
5285
+ var COMPONENT$a = [AXInputMaskComponent];
5286
+ var MODULES$a = [i1.CommonModule, i1$3.NgxMaskModule.forRoot()];
5287
+ var AXInputMaskModule = /** @class */ (function () {
5288
+ function AXInputMaskModule() {
4905
5289
  }
4906
5290
  return AXInputMaskModule;
4907
5291
  }());
4908
5292
  AXInputMaskModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXInputMaskModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
4909
5293
  AXInputMaskModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXInputMaskModule, declarations: [AXInputMaskComponent], imports: [i1.CommonModule, i1__namespace$3.NgxMaskModule], exports: [AXInputMaskComponent] });
4910
- AXInputMaskModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXInputMaskModule, providers: [], imports: [__spreadArray([], __read(MODULES$9))] });
5294
+ AXInputMaskModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXInputMaskModule, providers: [], imports: [__spreadArray([], __read(MODULES$a))] });
4911
5295
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXInputMaskModule, decorators: [{
4912
5296
  type: i0.NgModule,
4913
5297
  args: [{
4914
- declarations: __spreadArray([], __read(COMPONENT$9)),
4915
- imports: __spreadArray([], __read(MODULES$9)),
4916
- exports: __spreadArray([], __read(COMPONENT$9)),
4917
- providers: [],
4918
- }]
4919
- }] });
4920
-
4921
- var AXLabelComponent = /** @class */ (function (_super) {
4922
- __extends(AXLabelComponent, _super);
4923
- function AXLabelComponent(elementRef, cdr) {
4924
- return _super.call(this, elementRef, cdr) || this;
4925
- }
4926
- return AXLabelComponent;
4927
- }(AXSizableComponentMixin));
4928
- AXLabelComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXLabelComponent, deps: [{ token: i0__namespace.ElementRef }, { token: i0__namespace.ChangeDetectorRef }], target: i0__namespace.ɵɵFactoryTarget.Component });
4929
- AXLabelComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: AXLabelComponent, selector: "ax-label", usesInheritance: true, ngImport: i0__namespace, template: "<label class=\"ax-label {{size}}\">\r\n <ng-content></ng-content>\r\n</label>", changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush, encapsulation: i0__namespace.ViewEncapsulation.None });
4930
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXLabelComponent, decorators: [{
4931
- type: i0.Component,
4932
- args: [{
4933
- selector: 'ax-label',
4934
- templateUrl: './label.component.html',
4935
- changeDetection: i0.ChangeDetectionStrategy.OnPush,
4936
- encapsulation: i0.ViewEncapsulation.None
4937
- }]
4938
- }], ctorParameters: function () { return [{ type: i0__namespace.ElementRef }, { type: i0__namespace.ChangeDetectorRef }]; } });
4939
-
4940
- var COMPONENT$8 = [AXLabelComponent];
4941
- var MODULES$8 = [i1.CommonModule];
4942
- var AXLabelModule = /** @class */ (function () {
4943
- function AXLabelModule() {
4944
- }
4945
- return AXLabelModule;
4946
- }());
4947
- AXLabelModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXLabelModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
4948
- AXLabelModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXLabelModule, declarations: [AXLabelComponent], imports: [i1.CommonModule], exports: [AXLabelComponent] });
4949
- AXLabelModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXLabelModule, providers: [], imports: [__spreadArray([], __read(MODULES$8))] });
4950
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXLabelModule, decorators: [{
4951
- type: i0.NgModule,
4952
- args: [{
4953
- declarations: __spreadArray([], __read(COMPONENT$8)),
4954
- imports: __spreadArray([], __read(MODULES$8)),
4955
- exports: __spreadArray([], __read(COMPONENT$8)),
5298
+ declarations: __spreadArray([], __read(COMPONENT$a)),
5299
+ imports: __spreadArray([], __read(MODULES$a)),
5300
+ exports: __spreadArray([], __read(COMPONENT$a)),
4956
5301
  providers: [],
4957
5302
  }]
4958
5303
  }] });
@@ -5255,8 +5600,8 @@
5255
5600
  type: i0.Input
5256
5601
  }] } });
5257
5602
 
5258
- var COMPONENT$7 = [AXNumberBoxComponent];
5259
- var MODULES$7 = [
5603
+ var COMPONENT$9 = [AXNumberBoxComponent];
5604
+ var MODULES$9 = [
5260
5605
  i1.CommonModule,
5261
5606
  i3.FormsModule,
5262
5607
  AXButtonModule,
@@ -5271,62 +5616,122 @@
5271
5616
  AXNumberBoxModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXNumberBoxModule, declarations: [AXNumberBoxComponent], imports: [i1.CommonModule,
5272
5617
  i3.FormsModule,
5273
5618
  AXButtonModule, i1__namespace$3.NgxMaskModule], exports: [AXNumberBoxComponent] });
5274
- AXNumberBoxModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXNumberBoxModule, providers: [], imports: [__spreadArray([], __read(MODULES$7))] });
5619
+ AXNumberBoxModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXNumberBoxModule, providers: [], imports: [__spreadArray([], __read(MODULES$9))] });
5275
5620
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXNumberBoxModule, decorators: [{
5276
5621
  type: i0.NgModule,
5277
5622
  args: [{
5278
- declarations: __spreadArray([], __read(COMPONENT$7)),
5279
- imports: __spreadArray([], __read(MODULES$7)),
5280
- exports: __spreadArray([], __read(COMPONENT$7)),
5623
+ declarations: __spreadArray([], __read(COMPONENT$9)),
5624
+ imports: __spreadArray([], __read(MODULES$9)),
5625
+ exports: __spreadArray([], __read(COMPONENT$9)),
5281
5626
  providers: [],
5282
5627
  }]
5283
5628
  }] });
5284
5629
 
5285
- var AXRangeSliderComponent = /** @class */ (function (_super) {
5286
- __extends(AXRangeSliderComponent, _super);
5287
- function AXRangeSliderComponent(elementRef, cdr) {
5288
- return _super.call(this, elementRef, cdr) || this;
5289
- //TODO: ax-range-slider
5630
+ /**
5631
+ * The Textbox is a component which detects user interaction and triggers a corresponding event
5632
+ *
5633
+ * @category Components
5634
+ */
5635
+ var AXPasswordBoxComponent = /** @class */ (function (_super) {
5636
+ __extends(AXPasswordBoxComponent, _super);
5637
+ /**
5638
+ * @ignore
5639
+ */
5640
+ function AXPasswordBoxComponent(elementRef, cdr) {
5641
+ var _this = _super.call(this, elementRef, cdr) || this;
5642
+ _this._type = 'password';
5643
+ _this._icon = 'ax-ic-eye';
5644
+ /**
5645
+ * A flag for showing or hiding password button.
5646
+ */
5647
+ _this.showToggleButton = true;
5648
+ return _this;
5290
5649
  }
5291
- return AXRangeSliderComponent;
5292
- }(AXBaseComponentMixin));
5293
- AXRangeSliderComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXRangeSliderComponent, deps: [{ token: i0__namespace.ElementRef }, { token: i0__namespace.ChangeDetectorRef }], target: i0__namespace.ɵɵFactoryTarget.Component });
5294
- AXRangeSliderComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: AXRangeSliderComponent, selector: "ax-range-slider", host: { classAttribute: "ax-range-slider" }, usesInheritance: true, ngImport: i0__namespace, template: "<input type=\"range\" min=\"1\" max=\"100\" value=\"50\" class=\"ax-range-slider-input\">", changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush, encapsulation: i0__namespace.ViewEncapsulation.None });
5295
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXRangeSliderComponent, decorators: [{
5650
+ Object.defineProperty(AXPasswordBoxComponent.prototype, "hostClass", {
5651
+ get: function () {
5652
+ return this.cssClass + " ax-" + this.size;
5653
+ },
5654
+ enumerable: false,
5655
+ configurable: true
5656
+ });
5657
+ AXPasswordBoxComponent.prototype.toggleType = function () {
5658
+ if (this._type === 'password') {
5659
+ this._type = 'text';
5660
+ this._icon = 'ax-ic-eye-off';
5661
+ }
5662
+ else {
5663
+ this._type = 'password';
5664
+ this._icon = 'ax-ic-eye';
5665
+ }
5666
+ };
5667
+ return AXPasswordBoxComponent;
5668
+ }(AXBaseTextBoxMixin));
5669
+ AXPasswordBoxComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXPasswordBoxComponent, deps: [{ token: i0__namespace.ElementRef }, { token: i0__namespace.ChangeDetectorRef }], target: i0__namespace.ɵɵFactoryTarget.Component });
5670
+ AXPasswordBoxComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", 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", value: "value", name: "name", showToggleButton: "showToggleButton" }, outputs: { valueChange: "valueChange", onValueChanged: "onValueChanged", onBlur: "onBlur", onFocus: "onFocus" }, host: { properties: { "class": "this.hostClass" }, classAttribute: "ax-password-box ax-editor-container" }, usesInheritance: true, ngImport: i0__namespace, 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 ? 'on': 'off'\">\r\n<ax-button color=\"light\" look=\"blank\" [size]=\"size\" (onClick)=\"clear()\" [tabIndex]=\"-1\" *ngIf=\"value && allowNull && !(disabled || readonly)\">\r\n <ax-prefix>\r\n <ax-icon icon=\"ax-ic ax-ic-close\"></ax-icon>\r\n </ax-prefix>\r\n</ax-button>\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", "text", "submitBehavior", "cancelBehavior", "color", "look", "toggleable", "selected"], outputs: ["onBlur", "onFocus", "onClick", "selectedChange", "toggleableChange"] }, { type: AXDecoratorPrefixComponent, selector: "ax-prefix" }, { type: AXIconComponent, selector: "ax-icon", inputs: ["icon"] }], directives: [{ type: i3__namespace.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: i3__namespace.MaxLengthValidator, selector: "[maxlength][formControlName],[maxlength][formControl],[maxlength][ngModel]", inputs: ["maxlength"] }, { type: i3__namespace.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i3__namespace.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { type: i1__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush, encapsulation: i0__namespace.ViewEncapsulation.None });
5671
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXPasswordBoxComponent, decorators: [{
5296
5672
  type: i0.Component,
5297
5673
  args: [{
5298
- selector: 'ax-range-slider',
5299
- templateUrl: './range-slider.component.html',
5300
- changeDetection: i0.ChangeDetectionStrategy.OnPush,
5674
+ selector: 'ax-password-box',
5675
+ templateUrl: 'password-box.component.html',
5676
+ inputs: __spreadArray([
5677
+ 'disabled',
5678
+ 'readonly',
5679
+ 'tabIndex',
5680
+ 'cssClass',
5681
+ 'size'
5682
+ ], __read(TEXTBOX_INPUTS)),
5683
+ outputs: __spreadArray([
5684
+ 'valueChange',
5685
+ 'onValueChanged',
5686
+ 'onBlur',
5687
+ 'onFocus'
5688
+ ], __read(TEXTBOX_OUTPUT)),
5301
5689
  encapsulation: i0.ViewEncapsulation.None,
5302
- host: { class: 'ax-range-slider' }
5690
+ changeDetection: i0.ChangeDetectionStrategy.OnPush,
5691
+ host: { class: 'ax-password-box ax-editor-container' },
5303
5692
  }]
5304
- }], ctorParameters: function () { return [{ type: i0__namespace.ElementRef }, { type: i0__namespace.ChangeDetectorRef }]; } });
5693
+ }], ctorParameters: function () { return [{ type: i0__namespace.ElementRef }, { type: i0__namespace.ChangeDetectorRef }]; }, propDecorators: { hostClass: [{
5694
+ type: i0.HostBinding,
5695
+ args: ['class']
5696
+ }], showToggleButton: [{
5697
+ type: i0.Input
5698
+ }] } });
5305
5699
 
5306
- var COMPONENT$6 = [AXRangeSliderComponent];
5307
- var MODULES$6 = [i1.CommonModule];
5308
- var AXRangeSliderModule = /** @class */ (function () {
5309
- function AXRangeSliderModule() {
5700
+ var COMPONENT$8 = [AXPasswordBoxComponent];
5701
+ var MODULES$8 = [
5702
+ i1.CommonModule,
5703
+ i3.FormsModule,
5704
+ AXButtonModule,
5705
+ AXEditorDecoratorModule,
5706
+ AXIconModule
5707
+ ];
5708
+ var AXPasswordBoxModule = /** @class */ (function () {
5709
+ function AXPasswordBoxModule() {
5310
5710
  }
5311
- return AXRangeSliderModule;
5711
+ return AXPasswordBoxModule;
5312
5712
  }());
5313
- AXRangeSliderModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXRangeSliderModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
5314
- AXRangeSliderModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXRangeSliderModule, declarations: [AXRangeSliderComponent], imports: [i1.CommonModule], exports: [AXRangeSliderComponent] });
5315
- AXRangeSliderModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXRangeSliderModule, providers: [], imports: [__spreadArray([], __read(MODULES$6))] });
5316
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXRangeSliderModule, decorators: [{
5713
+ AXPasswordBoxModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXPasswordBoxModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
5714
+ AXPasswordBoxModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXPasswordBoxModule, declarations: [AXPasswordBoxComponent], imports: [i1.CommonModule,
5715
+ i3.FormsModule,
5716
+ AXButtonModule,
5717
+ AXEditorDecoratorModule,
5718
+ AXIconModule], exports: [AXPasswordBoxComponent] });
5719
+ AXPasswordBoxModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXPasswordBoxModule, providers: [], imports: [__spreadArray([], __read(MODULES$8))] });
5720
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXPasswordBoxModule, decorators: [{
5317
5721
  type: i0.NgModule,
5318
5722
  args: [{
5319
- declarations: __spreadArray([], __read(COMPONENT$6)),
5320
- imports: __spreadArray([], __read(MODULES$6)),
5321
- exports: __spreadArray([], __read(COMPONENT$6)),
5723
+ declarations: __spreadArray([], __read(COMPONENT$8)),
5724
+ imports: __spreadArray([], __read(MODULES$8)),
5725
+ exports: __spreadArray([], __read(COMPONENT$8)),
5322
5726
  providers: [],
5323
5727
  }]
5324
5728
  }] });
5325
5729
 
5326
5730
  var AXPopupComponent = /** @class */ (function (_super) {
5327
5731
  __extends(AXPopupComponent, _super);
5328
- function AXPopupComponent(elementRef, cdr, _viewContainerRef, loadingService) {
5732
+ function AXPopupComponent(elementRef, cdr, _zone, _viewContainerRef, loadingService) {
5329
5733
  var _this = _super.call(this, elementRef, cdr) || this;
5734
+ _this._zone = _zone;
5330
5735
  _this._viewContainerRef = _viewContainerRef;
5331
5736
  _this.loadingService = loadingService;
5332
5737
  _this.isLoading = true;
@@ -5368,9 +5773,16 @@
5368
5773
  });
5369
5774
  }
5370
5775
  }
5371
- if (ref.instance.footer) {
5372
- this._footerPortal = new i1$1.TemplatePortal(ref.instance.footer.template, this._viewContainerRef, { $implicit: this.data, ref: this });
5373
- }
5776
+ this._zone.runOutsideAngular(function () {
5777
+ var main = _this._getHostElement().querySelector('main');
5778
+ var footer = main.querySelector('ax-page-footer');
5779
+ if (footer) {
5780
+ var newFooter = document.createElement('footer');
5781
+ newFooter.append.apply(newFooter, __spreadArray([], __read(Array.from(footer.childNodes))));
5782
+ main.after(newFooter);
5783
+ footer.parentNode.removeChild(footer);
5784
+ }
5785
+ });
5374
5786
  this.loadingService.hide(this._loadingId);
5375
5787
  this.focus();
5376
5788
  this._cdr.markForCheck();
@@ -5400,8 +5812,8 @@
5400
5812
  AXPopupComponent.prototype.onFullScreen = function () { };
5401
5813
  return AXPopupComponent;
5402
5814
  }(AXBaseComponentMixin));
5403
- AXPopupComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXPopupComponent, deps: [{ token: i0__namespace.ElementRef }, { token: i0__namespace.ChangeDetectorRef }, { token: i0__namespace.ViewContainerRef }, { token: AXLoadingService }], target: i0__namespace.ɵɵFactoryTarget.Component });
5404
- AXPopupComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: AXPopupComponent, selector: "ax-popup", host: { listeners: { "keydown.escape": "onKeydownHandler($event)" } }, usesInheritance: true, ngImport: i0__namespace, template: "<div class=\"ax-popup-wrapper\" aria-modal=\"true\" cdkTrapFocus>\r\n <div class=\"ax-popup ax-{{size}}\" tabindex=\"0\" cdkDrag>\r\n <ng-container *ngIf=\"showHeader\">\r\n <header cdkDragHandle class=\"ax-cursor-move\">\r\n <div>\r\n <div class=\"ax-text-lg ax-font-medium\">\r\n <span>\r\n {{title}}\r\n </span>\r\n </div>\r\n </div>\r\n <div *ngIf=\"showCloseButton\">\r\n <i class=\"ax-ic ax-ic-close ax-text-gray ax-cursor-pointer\" (click)=\"_handleCloseClick()\"\r\n tabindex=\"1\"></i>\r\n </div>\r\n </header>\r\n </ng-container>\r\n <main>\r\n <ng-template [cdkPortalOutlet]=\"_selectedPortal\" (attached)=\"_handleAttched($event)\"></ng-template>\r\n </main>\r\n <footer *ngIf=\"_footerPortal\">\r\n <ng-template [cdkPortalOutlet]=\"_footerPortal\"></ng-template>\r\n </footer>\r\n </div>\r\n</div>", directives: [{ type: i2__namespace$1.CdkTrapFocus, selector: "[cdkTrapFocus]", inputs: ["cdkTrapFocus", "cdkTrapFocusAutoCapture"], exportAs: ["cdkTrapFocus"] }, { type: i3__namespace$1.CdkDrag, selector: "[cdkDrag]", inputs: ["cdkDragDisabled", "cdkDragStartDelay", "cdkDragLockAxis", "cdkDragConstrainPosition", "cdkDragPreviewClass", "cdkDragBoundary", "cdkDragRootElement", "cdkDragPreviewContainer", "cdkDragData", "cdkDragFreeDragPosition"], outputs: ["cdkDragStarted", "cdkDragReleased", "cdkDragEnded", "cdkDragEntered", "cdkDragExited", "cdkDragDropped", "cdkDragMoved"], exportAs: ["cdkDrag"] }, { type: i1__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i3__namespace$1.CdkDragHandle, selector: "[cdkDragHandle]", inputs: ["cdkDragHandleDisabled"] }, { type: i1__namespace$2.CdkPortalOutlet, selector: "[cdkPortalOutlet]", inputs: ["cdkPortalOutlet"], outputs: ["attached"], exportAs: ["cdkPortalOutlet"] }], changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush, encapsulation: i0__namespace.ViewEncapsulation.None });
5815
+ AXPopupComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXPopupComponent, deps: [{ token: i0__namespace.ElementRef }, { token: i0__namespace.ChangeDetectorRef }, { token: i0__namespace.NgZone }, { token: i0__namespace.ViewContainerRef }, { token: AXLoadingService }], target: i0__namespace.ɵɵFactoryTarget.Component });
5816
+ AXPopupComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: AXPopupComponent, selector: "ax-popup", host: { listeners: { "keydown.escape": "onKeydownHandler($event)" } }, usesInheritance: true, ngImport: i0__namespace, template: "<div class=\"ax-popup-wrapper\" aria-modal=\"true\" cdkTrapFocus>\r\n <div class=\"ax-popup ax-{{size}}\" tabindex=\"0\" cdkDrag>\r\n <ng-container *ngIf=\"showHeader\">\r\n <header cdkDragHandle class=\"ax-cursor-move\">\r\n <div>\r\n <div class=\"ax-text-lg ax-font-medium\">\r\n <span>\r\n {{title}}\r\n </span>\r\n </div>\r\n </div>\r\n <div *ngIf=\"showCloseButton\">\r\n <i class=\"ax-ic ax-ic-close ax-text-gray ax-cursor-pointer\" (click)=\"_handleCloseClick()\"\r\n tabindex=\"1\"></i>\r\n </div>\r\n </header>\r\n </ng-container>\r\n <main>\r\n <ng-template [cdkPortalOutlet]=\"_selectedPortal\" (attached)=\"_handleAttched($event)\"></ng-template>\r\n </main>\r\n </div>\r\n</div>", directives: [{ type: i2__namespace$1.CdkTrapFocus, selector: "[cdkTrapFocus]", inputs: ["cdkTrapFocus", "cdkTrapFocusAutoCapture"], exportAs: ["cdkTrapFocus"] }, { type: i3__namespace$1.CdkDrag, selector: "[cdkDrag]", inputs: ["cdkDragDisabled", "cdkDragStartDelay", "cdkDragLockAxis", "cdkDragConstrainPosition", "cdkDragPreviewClass", "cdkDragBoundary", "cdkDragRootElement", "cdkDragPreviewContainer", "cdkDragData", "cdkDragFreeDragPosition"], outputs: ["cdkDragStarted", "cdkDragReleased", "cdkDragEnded", "cdkDragEntered", "cdkDragExited", "cdkDragDropped", "cdkDragMoved"], exportAs: ["cdkDrag"] }, { type: i1__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i3__namespace$1.CdkDragHandle, selector: "[cdkDragHandle]", inputs: ["cdkDragHandleDisabled"] }, { type: i1__namespace$2.CdkPortalOutlet, selector: "[cdkPortalOutlet]", inputs: ["cdkPortalOutlet"], outputs: ["attached"], exportAs: ["cdkPortalOutlet"] }], changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush, encapsulation: i0__namespace.ViewEncapsulation.None });
5405
5817
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXPopupComponent, decorators: [{
5406
5818
  type: i0.Component,
5407
5819
  args: [{
@@ -5410,7 +5822,7 @@
5410
5822
  changeDetection: i0.ChangeDetectionStrategy.OnPush,
5411
5823
  encapsulation: i0.ViewEncapsulation.None,
5412
5824
  }]
5413
- }], ctorParameters: function () { return [{ type: i0__namespace.ElementRef }, { type: i0__namespace.ChangeDetectorRef }, { type: i0__namespace.ViewContainerRef }, { type: AXLoadingService }]; }, propDecorators: { onKeydownHandler: [{
5825
+ }], ctorParameters: function () { return [{ type: i0__namespace.ElementRef }, { type: i0__namespace.ChangeDetectorRef }, { type: i0__namespace.NgZone }, { type: i0__namespace.ViewContainerRef }, { type: AXLoadingService }]; }, propDecorators: { onKeydownHandler: [{
5414
5826
  type: i0.HostListener,
5415
5827
  args: ['keydown.escape', ['$event']]
5416
5828
  }] } });
@@ -5507,8 +5919,8 @@
5507
5919
  type: i0.Injectable
5508
5920
  }], ctorParameters: function () { return [{ type: AXOverlayService }]; } });
5509
5921
 
5510
- var COMPONENT$5 = [AXPopupComponent];
5511
- var MODULES$5 = [i1.CommonModule, i3$1.DragDropModule, i2$1.A11yModule, AXButtonModule, i1$1.PortalModule];
5922
+ var COMPONENT$7 = [AXPopupComponent];
5923
+ var MODULES$7 = [i1.CommonModule, i3$1.DragDropModule, i2$1.A11yModule, AXButtonModule, i1$1.PortalModule];
5512
5924
  var AXPopupModule = /** @class */ (function () {
5513
5925
  function AXPopupModule() {
5514
5926
  }
@@ -5516,14 +5928,96 @@
5516
5928
  }());
5517
5929
  AXPopupModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXPopupModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
5518
5930
  AXPopupModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXPopupModule, declarations: [AXPopupComponent], imports: [i1.CommonModule, i3$1.DragDropModule, i2$1.A11yModule, AXButtonModule, i1$1.PortalModule], exports: [AXPopupComponent] });
5519
- AXPopupModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXPopupModule, providers: [AXPopupService], imports: [__spreadArray([], __read(MODULES$5))] });
5931
+ AXPopupModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXPopupModule, providers: [AXPopupService], imports: [__spreadArray([], __read(MODULES$7))] });
5520
5932
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXPopupModule, decorators: [{
5933
+ type: i0.NgModule,
5934
+ args: [{
5935
+ declarations: __spreadArray([], __read(COMPONENT$7)),
5936
+ imports: __spreadArray([], __read(MODULES$7)),
5937
+ exports: __spreadArray([], __read(COMPONENT$7)),
5938
+ providers: [AXPopupService],
5939
+ }]
5940
+ }] });
5941
+
5942
+ var AXRadioComponent = /** @class */ (function (_super) {
5943
+ __extends(AXRadioComponent, _super);
5944
+ function AXRadioComponent(elementRef, cdr) {
5945
+ return _super.call(this, elementRef, cdr) || this;
5946
+ //TODO: ax-radio
5947
+ }
5948
+ return AXRadioComponent;
5949
+ }(AXBaseComponentMixin));
5950
+ AXRadioComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXRadioComponent, deps: [{ token: i0__namespace.ElementRef }, { token: i0__namespace.ChangeDetectorRef }], target: i0__namespace.ɵɵFactoryTarget.Component });
5951
+ AXRadioComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: AXRadioComponent, selector: "ax-radio", host: { classAttribute: "ax-radio" }, usesInheritance: true, ngImport: i0__namespace, 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\">\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>", changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush, encapsulation: i0__namespace.ViewEncapsulation.None });
5952
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXRadioComponent, decorators: [{
5953
+ type: i0.Component,
5954
+ args: [{
5955
+ selector: 'ax-radio',
5956
+ templateUrl: './radio.component.html',
5957
+ changeDetection: i0.ChangeDetectionStrategy.OnPush,
5958
+ encapsulation: i0.ViewEncapsulation.None,
5959
+ host: { class: 'ax-radio' }
5960
+ }]
5961
+ }], ctorParameters: function () { return [{ type: i0__namespace.ElementRef }, { type: i0__namespace.ChangeDetectorRef }]; } });
5962
+
5963
+ var COMPONENT$6 = [AXRadioComponent];
5964
+ var MODULES$6 = [i1.CommonModule];
5965
+ var AXRadioModule = /** @class */ (function () {
5966
+ function AXRadioModule() {
5967
+ }
5968
+ return AXRadioModule;
5969
+ }());
5970
+ AXRadioModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXRadioModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
5971
+ AXRadioModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXRadioModule, declarations: [AXRadioComponent], imports: [i1.CommonModule], exports: [AXRadioComponent] });
5972
+ AXRadioModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXRadioModule, providers: [], imports: [__spreadArray([], __read(MODULES$6))] });
5973
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXRadioModule, decorators: [{
5974
+ type: i0.NgModule,
5975
+ args: [{
5976
+ declarations: __spreadArray([], __read(COMPONENT$6)),
5977
+ imports: __spreadArray([], __read(MODULES$6)),
5978
+ exports: __spreadArray([], __read(COMPONENT$6)),
5979
+ providers: [],
5980
+ }]
5981
+ }] });
5982
+
5983
+ var AXRangeSliderComponent = /** @class */ (function (_super) {
5984
+ __extends(AXRangeSliderComponent, _super);
5985
+ function AXRangeSliderComponent(elementRef, cdr) {
5986
+ return _super.call(this, elementRef, cdr) || this;
5987
+ //TODO: ax-range-slider
5988
+ }
5989
+ return AXRangeSliderComponent;
5990
+ }(AXBaseComponentMixin));
5991
+ AXRangeSliderComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXRangeSliderComponent, deps: [{ token: i0__namespace.ElementRef }, { token: i0__namespace.ChangeDetectorRef }], target: i0__namespace.ɵɵFactoryTarget.Component });
5992
+ AXRangeSliderComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: AXRangeSliderComponent, selector: "ax-range-slider", host: { classAttribute: "ax-range-slider" }, usesInheritance: true, ngImport: i0__namespace, template: "<input type=\"range\" min=\"1\" max=\"100\" value=\"50\" class=\"ax-range-slider-input\">", changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush, encapsulation: i0__namespace.ViewEncapsulation.None });
5993
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXRangeSliderComponent, decorators: [{
5994
+ type: i0.Component,
5995
+ args: [{
5996
+ selector: 'ax-range-slider',
5997
+ templateUrl: './range-slider.component.html',
5998
+ changeDetection: i0.ChangeDetectionStrategy.OnPush,
5999
+ encapsulation: i0.ViewEncapsulation.None,
6000
+ host: { class: 'ax-range-slider' }
6001
+ }]
6002
+ }], ctorParameters: function () { return [{ type: i0__namespace.ElementRef }, { type: i0__namespace.ChangeDetectorRef }]; } });
6003
+
6004
+ var COMPONENT$5 = [AXRangeSliderComponent];
6005
+ var MODULES$5 = [i1.CommonModule];
6006
+ var AXRangeSliderModule = /** @class */ (function () {
6007
+ function AXRangeSliderModule() {
6008
+ }
6009
+ return AXRangeSliderModule;
6010
+ }());
6011
+ AXRangeSliderModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXRangeSliderModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
6012
+ AXRangeSliderModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXRangeSliderModule, declarations: [AXRangeSliderComponent], imports: [i1.CommonModule], exports: [AXRangeSliderComponent] });
6013
+ AXRangeSliderModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXRangeSliderModule, providers: [], imports: [__spreadArray([], __read(MODULES$5))] });
6014
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXRangeSliderModule, decorators: [{
5521
6015
  type: i0.NgModule,
5522
6016
  args: [{
5523
6017
  declarations: __spreadArray([], __read(COMPONENT$5)),
5524
6018
  imports: __spreadArray([], __read(MODULES$5)),
5525
6019
  exports: __spreadArray([], __read(COMPONENT$5)),
5526
- providers: [AXPopupService],
6020
+ providers: [],
5527
6021
  }]
5528
6022
  }] });
5529
6023
 
@@ -5584,6 +6078,10 @@
5584
6078
  this.unselectItems(item);
5585
6079
  e.stopPropagation();
5586
6080
  };
6081
+ AXSelectBoxComponent.prototype._handleBadgeRemove = function (e, item) {
6082
+ this.unselectItems(item);
6083
+ e.stopPropagation();
6084
+ };
5587
6085
  AXSelectBoxComponent.prototype._handleKeydown = function (e) {
5588
6086
  if (!(this._getHostElement() == document.activeElement ||
5589
6087
  this._getHostElement().contains(document.activeElement) ||
@@ -5704,7 +6202,7 @@
5704
6202
  return AXSelectBoxComponent;
5705
6203
  }(AXBaseSelectionDropdownMixin));
5706
6204
  AXSelectBoxComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXSelectBoxComponent, deps: [{ token: i0__namespace.ElementRef }, { token: i0__namespace.ChangeDetectorRef }, { token: i0__namespace.NgZone }], target: i0__namespace.ɵɵFactoryTarget.Component });
5707
- AXSelectBoxComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: AXSelectBoxComponent, selector: "ax-select-box", inputs: { disabled: "disabled", readonly: "readonly", tabIndex: "tabIndex", size: "size", fitParent: "fitParent", value: "value", items: "items", multiple: "multiple", allowNull: "allowNull", valueField: "valueField", textField: "textField" }, outputs: { onOpened: "onOpened", onClosed: "onClosed", valueChange: "valueChange", onValueChanged: "onValueChanged", onBlur: "onBlur", onFocus: "onFocus" }, host: { listeners: { "document:keydown": "_handleKeydown($event)" }, classAttribute: "ax-select-box" }, viewQueries: [{ propertyName: "dropdown", first: true, predicate: AXDropdownComponent, descendants: true }, { propertyName: "listContainer", first: true, predicate: ["listContainer"], descendants: true, static: true }], usesInheritance: true, ngImport: i0__namespace, template: "<ax-drop-down (onOpened)=\"_emitOnOpenedEvent()\" (onClosed)=\"_emitOnClosedEvent()\">\r\n <ng-container input>\r\n <ng-content select=\"ax-prefix\">\r\n </ng-content>\r\n <div class=\"ax-select-box-selection\" [tabindex]=\"tabIndex\" (focus)=\"_emitOnFocusEvent($event)\"\r\n (blur)=\"_emitOnBlurEvent($event)\">\r\n <div class=\"ax-dropdown-chips\">\r\n <div *ngFor=\"let item of selectedItems\"\r\n [ngClass]=\"{'ax-badge ax-primary ax-m-1': multiple,'ax-badge':!multiple}\"\r\n [title]=\"_getItemDisplayTextTemplte(item)\">\r\n <span> {{ _getItemDisplayTextTemplte(item) }}</span>\r\n <i class=\"ax-ic ax-ic-close ax-text-base\" (click)=\"_handleOnRemoveItemClick($event,item)\"\r\n *ngIf=\" (readonly!=true) && multiple && disabled!=true && (allowNull==true || (selectedItems.length> 1))\">\r\n </i>\r\n\r\n </div>\r\n </div>\r\n <!-- <div class=\"ax-selectbox-input\">\r\n <input type=\"text\" [tabindex]=\"tabIndex\" (focus)=\"_emitOnFocusEvent($event)\" (blur)=\"_emitOnBlurEvent($event)\" (keydown)=\"_handleKeydown($event)\">\r\n </div> -->\r\n <ng-content select=\"ax-suffix\">\r\n </ng-content>\r\n </div>\r\n </ng-container>\r\n <div class=\"ax-list ax-list-container\" panel>\r\n <div class=\"ax-list-items-container ax-vertical ax-default\" (scroll)=\"_handleListScroll($event)\" #listContainer>\r\n <ng-container *ngFor=\"let item of displayItems;let i = index;trackBy : _trackByFunction\">\r\n <ng-container *ngIf=\"itemTemplate; else elseTemplate\">\r\n <div class=\"ax-list-item\" (click)=\"_handleOnItemClick($event,item)\">\r\n <ng-container *ngTemplateOutlet=\"itemTemplate; context: { $implicit: item,direction:direction}\">\r\n </ng-container>\r\n </div>\r\n </ng-container>\r\n <ng-template #elseTemplate>\r\n <div class=\"ax-list-item\" [class.ax-state-selected]=\"isItemSelected(item)\" [attr.tabindex]=\"i\"\r\n (click)=\"_handleOnItemClick($event,item)\">\r\n {{ _getItemDisplayTextTemplte(item) }}\r\n </div>\r\n </ng-template>\r\n </ng-container>\r\n <ng-container *ngIf=\"(displayItems==null || displayItems.length==0) && !isLoading\">\r\n <ng-container *ngIf=\"emptyTemplate; else elseEmptyTemplate\">\r\n <ng-container *ngTemplateOutlet=\"elseEmptyTemplate\">\r\n </ng-container>\r\n </ng-container>\r\n <ng-template #elseTemplate>\r\n Empty!\r\n </ng-template>\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-list-loading-container\">\r\n <div><i class=\"fas fa-spinner ax-animate-spin\"></i> Loading ...</div>\r\n </div>\r\n </ng-template>\r\n </ng-container>\r\n </div>\r\n </div>\r\n</ax-drop-down>", components: [{ type: AXDropdownComponent, selector: "ax-drop-down", inputs: ["disabled", "tabIndex", "size", "fitParent"] }], directives: [{ type: i1__namespace.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i1__namespace.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i1__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1__namespace.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }], changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush, encapsulation: i0__namespace.ViewEncapsulation.None });
6205
+ AXSelectBoxComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: AXSelectBoxComponent, selector: "ax-select-box", inputs: { disabled: "disabled", readonly: "readonly", tabIndex: "tabIndex", size: "size", fitParent: "fitParent", value: "value", items: "items", multiple: "multiple", allowNull: "allowNull", valueField: "valueField", textField: "textField" }, outputs: { onOpened: "onOpened", onClosed: "onClosed", valueChange: "valueChange", onValueChanged: "onValueChanged", onBlur: "onBlur", onFocus: "onFocus" }, host: { listeners: { "document:keydown": "_handleKeydown($event)" }, classAttribute: "ax-select-box" }, viewQueries: [{ propertyName: "dropdown", first: true, predicate: AXDropdownComponent, descendants: true }, { propertyName: "listContainer", first: true, predicate: ["listContainer"], descendants: true, static: true }], usesInheritance: true, ngImport: i0__namespace, template: "<ax-drop-down (onOpened)=\"_emitOnOpenedEvent()\" (onClosed)=\"_emitOnClosedEvent()\">\r\n <ng-container input>\r\n <ng-content select=\"ax-prefix\">\r\n </ng-content>\r\n <div class=\"ax-select-box-selection\" [tabindex]=\"tabIndex\" (focus)=\"_emitOnFocusEvent($event)\" (blur)=\"_emitOnBlurEvent($event)\">\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\" (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 <!-- <div class=\"ax-selectbox-input\">\r\n <input type=\"text\" [tabindex]=\"tabIndex\" (focus)=\"_emitOnFocusEvent($event)\" (blur)=\"_emitOnBlurEvent($event)\" (keydown)=\"_handleKeydown($event)\">\r\n </div> -->\r\n <ng-content select=\"ax-suffix\">\r\n </ng-content>\r\n </div>\r\n </ng-container>\r\n <div class=\"ax-list ax-list-container\" panel>\r\n <div class=\"ax-list-items-container ax-vertical ax-default\" (scroll)=\"_handleListScroll($event)\" #listContainer>\r\n <ng-container *ngFor=\"let item of displayItems;let i = index;trackBy : _trackByFunction\">\r\n <ng-container *ngIf=\"itemTemplate; else defualtTemplate\">\r\n <div class=\"ax-list-item\" (click)=\"_handleOnItemClick($event,item)\">\r\n <ng-container *ngTemplateOutlet=\"itemTemplate; context: { $implicit: item,direction:direction}\">\r\n </ng-container>\r\n </div>\r\n </ng-container>\r\n <ng-template #defualtTemplate>\r\n <ng-container *ngIf=\"!multiple; then singleTemplate; else multipleTemplate\"></ng-container>\r\n <ng-template #singleTemplate>\r\n <div class=\"ax-list-item\" [class.ax-state-selected]=\"isItemSelected(item)\" [attr.tabindex]=\"i\" (click)=\"_handleOnItemClick($event,item)\">\r\n {{ _getItemDisplayTextTemplte(item) }}\r\n </div>\r\n </ng-template>\r\n <ng-template #multipleTemplate>\r\n <div class=\"ax-list-item\" [class.ax-state-selected]=\"isItemSelected(item)\" [attr.tabindex]=\"i\" (click)=\"_handleOnItemClick($event,item)\">\r\n <ax-check-box [value]=\"isItemSelected(item)\">\r\n </ax-check-box>\r\n {{ _getItemDisplayTextTemplte(item) }}\r\n\r\n </div>\r\n </ng-template>\r\n </ng-template>\r\n </ng-container>\r\n <ng-container *ngIf=\"(displayItems==null || displayItems.length==0) && !isLoading\">\r\n <ng-container *ngIf=\"emptyTemplate; else elseEmptyTemplate\">\r\n <ng-container *ngTemplateOutlet=\"elseEmptyTemplate\">\r\n </ng-container>\r\n </ng-container>\r\n <ng-template #elseTemplate>\r\n Empty!\r\n </ng-template>\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-list-loading-container\">\r\n <div><i class=\"fas fa-spinner ax-animate-spin\"></i> Loading ...</div>\r\n </div>\r\n </ng-template>\r\n </ng-container>\r\n </div>\r\n </div>\r\n</ax-drop-down>", components: [{ type: AXDropdownComponent, selector: "ax-drop-down", inputs: ["disabled", "tabIndex", "size", "fitParent"] }, { type: AXBadgeComponent, selector: "ax-badge", inputs: ["text", "color"] }, { type: AXDecoratorSuffixComponent, selector: "ax-suffix" }, { type: AXIconComponent, selector: "ax-icon", inputs: ["icon"] }, { type: AXCheckBoxComponent, selector: "ax-check-box", inputs: ["disabled", "tabIndex", "readonly", "allowNull", "value", "debounceTime", "name"], outputs: ["onBlur", "onFocus", "valueChange", "onValueChanged"] }], directives: [{ type: i1__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1__namespace.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i1__namespace.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }], changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush, encapsulation: i0__namespace.ViewEncapsulation.None });
5708
6206
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXSelectBoxComponent, decorators: [{
5709
6207
  type: i0.Component,
5710
6208
  args: [{
@@ -5733,12 +6231,12 @@
5733
6231
  return AXSelectBoxModule;
5734
6232
  }());
5735
6233
  AXSelectBoxModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXSelectBoxModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
5736
- AXSelectBoxModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXSelectBoxModule, declarations: [AXSelectBoxComponent], imports: [i1.CommonModule, AXDropdownModule, i3.FormsModule], exports: [AXSelectBoxComponent] });
5737
- AXSelectBoxModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXSelectBoxModule, providers: [], imports: [[i1.CommonModule, AXDropdownModule, i3.FormsModule]] });
6234
+ AXSelectBoxModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXSelectBoxModule, declarations: [AXSelectBoxComponent], imports: [i1.CommonModule, AXDropdownModule, i3.FormsModule, AXCheckBoxModule, AXBadgeModule, AXEditorDecoratorModule, AXIconModule], exports: [AXSelectBoxComponent] });
6235
+ AXSelectBoxModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXSelectBoxModule, providers: [], imports: [[i1.CommonModule, AXDropdownModule, i3.FormsModule, AXCheckBoxModule, AXBadgeModule, AXEditorDecoratorModule, AXIconModule]] });
5738
6236
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXSelectBoxModule, decorators: [{
5739
6237
  type: i0.NgModule,
5740
6238
  args: [{
5741
- imports: [i1.CommonModule, AXDropdownModule, i3.FormsModule],
6239
+ imports: [i1.CommonModule, AXDropdownModule, i3.FormsModule, AXCheckBoxModule, AXBadgeModule, AXEditorDecoratorModule, AXIconModule],
5742
6240
  exports: [AXSelectBoxComponent],
5743
6241
  declarations: [AXSelectBoxComponent],
5744
6242
  providers: [],
@@ -5764,7 +6262,7 @@
5764
6262
  return AXSelectionListComponent;
5765
6263
  }(AXBaseSelectionValueMixin));
5766
6264
  AXSelectionListComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXSelectionListComponent, deps: [{ token: i0__namespace.ElementRef }, { token: i0__namespace.ChangeDetectorRef }], target: i0__namespace.ɵɵFactoryTarget.Component });
5767
- AXSelectionListComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: AXSelectionListComponent, selector: "ax-selection-list", inputs: { disabled: "disabled", readonly: "readonly", tabIndex: "tabIndex", size: "size", value: "value", valueField: "valueField", textField: "textField", multiple: "multiple", items: "items", selectionMode: "selectionMode", cssClass: "cssClass", direction: "direction" }, outputs: { valueChange: "valueChange", onValueChanged: "onValueChanged", onBlur: "onBlur", onFocus: "onFocus" }, usesInheritance: true, ngImport: i0__namespace, template: "<div class=\"ax-selection-list ax-{{direction}}\">\r\n <ng-container *ngIf=\"multiple; then checkboxList; else radioButtonList\"></ng-container>\r\n <ng-template #checkboxList>\r\n <ng-container *ngFor=\"let item of displayItems;let i = index\">\r\n <div class=\"ax-flex ax-items-start ax-checkbox-container ax-mb-2\">\r\n <div class=\"ax-flex ax-items-center ax-h-5\">\r\n <input [id]=\"'ax-checkbox'+i\" class=\"ax-checkbox\" type=\"checkbox\" (change)=\"_handleOnItemValueChange(item, $event)\" [checked]=\"isItemSelected(item)\" [disabled]=\"disabled || item.disabled\" [readonly]=\"readonly || item.readonly\">\r\n </div>\r\n <div class=\"ax-ms-3 ax-text-sm\">\r\n <label [for]=\"'ax-checkbox'+i\" class=\"ax-font-medium ax-text-light-700\"> {{item[textField]}}</label>\r\n <p class=\"ax-text-light-500\"> {{item.hint}}</p>\r\n </div>\r\n </div>\r\n </ng-container>\r\n </ng-template>\r\n <ng-template #radioButtonList>\r\n <ng-container *ngFor=\"let item of displayItems;let i = index\">\r\n <div class=\"ax-flex ax-items-start ax-radio-container ax-mb-2\">\r\n <div class=\"ax-flex ax-items-center ax-h-5\">\r\n <input [id]=\"'ax-radio-'+i\" class=\"ax-radio\" type=\"radio\" [attr.name]=\"'g'+id\" (change)=\"_handleOnItemValueChange(item, $event)\" [checked]=\"isItemSelected(item)\" [disabled]=\"disabled || item.disabled\" [readonly]=\"readonly || item.readonly\">\r\n </div>\r\n <div class=\"ax-ms-3 ax-text-sm\">\r\n <label [for]=\"'ax-radio-'+i\" class=\"ax-font-medium ax-text-light-700\"> {{item[textField]}}</label>\r\n <p class=\"ax-text-light-500\"> {{item.hint}}</p>\r\n </div>\r\n </div>\r\n </ng-container>\r\n </ng-template>\r\n <ng-content select=\"ax-validation-rule\">\r\n </ng-content>\r\n</div>", directives: [{ type: i1__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1__namespace.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }], changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush, encapsulation: i0__namespace.ViewEncapsulation.None });
6265
+ AXSelectionListComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: AXSelectionListComponent, selector: "ax-selection-list", inputs: { disabled: "disabled", readonly: "readonly", tabIndex: "tabIndex", size: "size", value: "value", valueField: "valueField", textField: "textField", multiple: "multiple", items: "items", selectionMode: "selectionMode", cssClass: "cssClass", direction: "direction" }, outputs: { valueChange: "valueChange", onValueChanged: "onValueChanged", onBlur: "onBlur", onFocus: "onFocus" }, usesInheritance: true, ngImport: i0__namespace, template: "<div class=\"ax-selection-list ax-{{direction}}\">\r\n <ng-container *ngIf=\"multiple; then checkboxList; else radioButtonList\"></ng-container>\r\n <ng-template #checkboxList>\r\n <ng-container *ngFor=\"let item of displayItems;let i = index\">\r\n <div class=\"ax-flex ax-items-start ax-checkbox-container ax-mb-2\">\r\n <div class=\"ax-flex ax-items-center ax-h-5\">\r\n <input [id]=\"id+'-'+i\" class=\"ax-checkbox\" type=\"checkbox\" (change)=\"_handleOnItemValueChange(item, $event)\" [checked]=\"isItemSelected(item)\" [disabled]=\"disabled || item.disabled\" [readonly]=\"readonly || item.readonly\">\r\n </div>\r\n <div class=\"ax-ms-3 ax-text-sm\">\r\n <label [for]=\"id+'-'+i\" class=\"ax-font-medium ax-text-light-700\"> {{item[textField]}}</label>\r\n <p class=\"ax-text-light-500\"> {{item.hint ? item.hint : item[hintField]}}</p>\r\n </div>\r\n </div>\r\n </ng-container>\r\n </ng-template>\r\n <ng-template #radioButtonList>\r\n <ng-container *ngFor=\"let item of displayItems;let i = index\">\r\n <div class=\"ax-flex ax-items-start ax-radio-container ax-mb-2\">\r\n <div class=\"ax-flex ax-items-center ax-h-5\">\r\n <input [id]=\"id+'-'+i\" class=\"ax-radio\" type=\"radio\" [attr.name]=\"id\" (change)=\"_handleOnItemValueChange(item, $event)\" [checked]=\"isItemSelected(item)\" [disabled]=\"disabled || item.disabled\" [readonly]=\"readonly || item.readonly\">\r\n </div>\r\n <div class=\"ax-ms-3 ax-text-sm\">\r\n <label [for]=\"id+'-'+i\" class=\"ax-font-medium ax-text-light-700\"> {{item[textField]}}</label>\r\n <p class=\"ax-text-light-500\"> {{item.hint ? item.hint : item[hintField]}}</p>\r\n </div>\r\n </div>\r\n </ng-container>\r\n </ng-template>\r\n <ng-content select=\"ax-validation-rule\">\r\n </ng-content>\r\n</div>", directives: [{ type: i1__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1__namespace.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }], changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush, encapsulation: i0__namespace.ViewEncapsulation.None });
5768
6266
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXSelectionListComponent, decorators: [{
5769
6267
  type: i0.Component,
5770
6268
  args: [{
@@ -5901,7 +6399,7 @@
5901
6399
  var _this = _super.call(this, elementRef, cdr) || this;
5902
6400
  _this.mode = 'default';
5903
6401
  _this.direction = "horizontal";
5904
- _this.fullWidth = false;
6402
+ _this.fitParent = false;
5905
6403
  _this.minWidth = false;
5906
6404
  _this.onSelectionChanged = new i0.EventEmitter();
5907
6405
  return _this;
@@ -5934,10 +6432,17 @@
5934
6432
  htmlElement: this._getHostElement(),
5935
6433
  });
5936
6434
  };
6435
+ Object.defineProperty(AXTabStripComponent.prototype, "__hostClass", {
6436
+ get: function () {
6437
+ return ["ax-tabs", "ax-tabs-" + (this.mode ? this.mode : 'default'), "ax-tabs-" + this.direction, "" + (this.fitParent ? 'ax-tabs-fit' : '')].join(' ');
6438
+ },
6439
+ enumerable: false,
6440
+ configurable: true
6441
+ });
5937
6442
  return AXTabStripComponent;
5938
6443
  }(AXSizableComponentMixin));
5939
6444
  AXTabStripComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXTabStripComponent, deps: [{ token: i0__namespace.ElementRef }, { token: i0__namespace.ChangeDetectorRef }], target: i0__namespace.ɵɵFactoryTarget.Component });
5940
- AXTabStripComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: AXTabStripComponent, selector: "ax-tab-strip", inputs: { size: "size", cssClass: "cssClass", items: "items", mode: "mode", direction: "direction", fullWidth: "fullWidth", minWidth: "minWidth" }, outputs: { onSelectionChanged: "onSelectionChanged" }, host: { classAttribute: "ax-tab-strip" }, usesInheritance: true, ngImport: i0__namespace, template: "<div class=\"ax-tabs ax-tabs-{{mode}} ax-tabs-{{direction}} {{cssClass}}\" [class.ax-tabs-full]=\"fullWidth\" [class.ax-tabs-min-width]=\"minWidth\">\r\n <div class=\"ax-tab-item-container\">\r\n <ng-container *ngFor=\"let item of items;let i = index\">\r\n <div class=\"ax-tab-item\" [class.ax-state-active]=\"item.active\" [class.ax-state-disabled]=\"item.disabled\" *ngIf=\"item.visible!=false\" (click)=\"_handleClick(item,i)\">\r\n <span *ngIf=\"item.iconClassBefore || item.iconClass\"><i\r\n class=\"ax-icon {{item.iconClassBefore || item.iconClass}}\"></i>\r\n <ng-container *ngIf=\"item.text\">&nbsp;&nbsp;</ng-container>\r\n </span>\r\n <span *ngIf=\"item.text\">{{item.text}}</span>\r\n <span *ngIf=\"item.iconClassAfter\">\r\n <ng-container *ngIf=\"item.text\">&nbsp;&nbsp;</ng-container><i\r\n class=\"ax-icon {{item.iconClassAfter}}\"></i>\r\n </span>\r\n <!-- <span *ngIf=\"badge\" class=\"ax-badge\">\r\n <ng-container *ngIf=\"text\">&nbsp;&nbsp;</ng-container>{{badge}}\r\n </span> -->\r\n </div>\r\n </ng-container>\r\n </div>\r\n</div>", directives: [{ type: i1__namespace.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i1__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush, encapsulation: i0__namespace.ViewEncapsulation.None });
6445
+ AXTabStripComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: AXTabStripComponent, selector: "ax-tab-strip", inputs: { size: "size", items: "items", mode: "mode", direction: "direction", fitParent: "fitParent", minWidth: "minWidth" }, outputs: { onSelectionChanged: "onSelectionChanged" }, host: { properties: { "class": "this.__hostClass" }, classAttribute: "ax-tab-strip" }, usesInheritance: true, ngImport: i0__namespace, template: "<ng-container *ngFor=\"let item of items;let i = index\">\r\n <div class=\"ax-tab-item\" [class.ax-state-active]=\"item.active\" [class.ax-state-disabled]=\"item.disabled\" *ngIf=\"item.visible!=false\" (click)=\"_handleClick(item,i)\">\r\n <ng-content select=\"ax-prefix\"></ng-content>\r\n <span *ngIf=\"item.text\">{{item.text}}</span>\r\n <ng-content select=\"ax-suffix\"></ng-content>\r\n </div>\r\n</ng-container>", changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush, encapsulation: i0__namespace.ViewEncapsulation.None });
5941
6446
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXTabStripComponent, decorators: [{
5942
6447
  type: i0.Component,
5943
6448
  args: [{
@@ -5945,7 +6450,7 @@
5945
6450
  templateUrl: './tab-strip.component.html',
5946
6451
  changeDetection: i0.ChangeDetectionStrategy.OnPush,
5947
6452
  encapsulation: i0.ViewEncapsulation.None,
5948
- inputs: ['size', 'cssClass'],
6453
+ inputs: ['size'],
5949
6454
  host: { class: 'ax-tab-strip' },
5950
6455
  }]
5951
6456
  }], ctorParameters: function () { return [{ type: i0__namespace.ElementRef }, { type: i0__namespace.ChangeDetectorRef }]; }, propDecorators: { items: [{
@@ -5954,12 +6459,15 @@
5954
6459
  type: i0.Input
5955
6460
  }], direction: [{
5956
6461
  type: i0.Input
5957
- }], fullWidth: [{
6462
+ }], fitParent: [{
5958
6463
  type: i0.Input
5959
6464
  }], minWidth: [{
5960
6465
  type: i0.Input
5961
6466
  }], onSelectionChanged: [{
5962
6467
  type: i0.Output
6468
+ }], __hostClass: [{
6469
+ type: i0.HostBinding,
6470
+ args: ['class']
5963
6471
  }] } });
5964
6472
 
5965
6473
  var AXTabComponent = /** @class */ (function (_super) {
@@ -5984,7 +6492,7 @@
5984
6492
  return AXTabComponent;
5985
6493
  }(AXBaseComponentMixin));
5986
6494
  AXTabComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXTabComponent, deps: [{ token: i0__namespace.ElementRef }, { token: i0__namespace.ChangeDetectorRef }], target: i0__namespace.ɵɵFactoryTarget.Component });
5987
- AXTabComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: AXTabComponent, selector: "ax-tab", inputs: { name: "name", caption: "caption", tooltip: "tooltip", icon: "icon", visible: "visible", disabled: "disabled", data: "data" }, host: { styleAttribute: "display:none", classAttribute: "ax-tab" }, usesInheritance: true, ngImport: i0__namespace, template: "\n <div *ngIf=\"_render\" >\n <ng-content>\n </ng-content>\n </div>\n ", isInline: true, directives: [{ type: i1__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush, encapsulation: i0__namespace.ViewEncapsulation.None });
6495
+ AXTabComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: AXTabComponent, selector: "ax-tab", inputs: { name: "name", caption: "caption", tooltip: "tooltip", icon: "icon", visible: "visible", disabled: "disabled", data: "data" }, host: { styleAttribute: "display:none", classAttribute: "ax-tab" }, usesInheritance: true, ngImport: i0__namespace, template: "\n <div *ngIf=\"_render\" >\n <ng-content>\n </ng-content>\n </div>\n ", isInline: true, changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush, encapsulation: i0__namespace.ViewEncapsulation.None });
5988
6496
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXTabComponent, decorators: [{
5989
6497
  type: i0.Component,
5990
6498
  args: [{
@@ -6036,9 +6544,9 @@
6036
6544
  tabs[e.selectedIndex].show();
6037
6545
  };
6038
6546
  return AXTabViewComponent;
6039
- }(AXTabStripComponent));
6547
+ }(AXBaseComponent));
6040
6548
  AXTabViewComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXTabViewComponent, deps: [{ token: i0__namespace.ElementRef }, { token: i0__namespace.ChangeDetectorRef }], target: i0__namespace.ɵɵFactoryTarget.Component });
6041
- AXTabViewComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: AXTabViewComponent, selector: "ax-tab-view", inputs: { size: "size" }, host: { classAttribute: "ax-tab-view" }, queries: [{ propertyName: "_contentTabs", predicate: AXTabComponent }], usesInheritance: true, ngImport: i0__namespace, template: "<ax-tab-strip [items]=\"_tabs\" [fullWidth]=\"fullWidth\" [mode]=\"mode\" [minWidth]=\"minWidth\" [size]=\"size\"\r\n (onSelectionChanged)=\"_handleSelectionChanged($event)\">\r\n\r\n</ax-tab-strip>\r\n<div class=\"ax-tab-view-container\">\r\n <ng-content select=\"ax-tab\">\r\n </ng-content>\r\n</div>", components: [{ type: AXTabStripComponent, selector: "ax-tab-strip", inputs: ["size", "cssClass", "items", "mode", "direction", "fullWidth", "minWidth"], outputs: ["onSelectionChanged"] }], changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush, encapsulation: i0__namespace.ViewEncapsulation.None });
6549
+ AXTabViewComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: AXTabViewComponent, selector: "ax-tab-view", inputs: { size: "size" }, host: { classAttribute: "ax-tab-view" }, queries: [{ propertyName: "_contentTabs", predicate: AXTabComponent }], usesInheritance: true, ngImport: i0__namespace, template: "<!-- <ax-tab-strip [items]=\"_tabs\" (onSelectionChanged)=\"_handleSelectionChanged($event)\">\r\n\r\n</ax-tab-strip> -->\r\n<div class=\"ax-tab-view-container\">\r\n <ng-content select=\"ax-tab\">\r\n </ng-content>\r\n</div>", changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush, encapsulation: i0__namespace.ViewEncapsulation.None });
6042
6550
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXTabViewComponent, decorators: [{
6043
6551
  type: i0.Component,
6044
6552
  args: [{
@@ -6054,6 +6562,131 @@
6054
6562
  args: [AXTabComponent]
6055
6563
  }] } });
6056
6564
 
6565
+ var AXTabItemComponent = /** @class */ (function (_super) {
6566
+ __extends(AXTabItemComponent, _super);
6567
+ function AXTabItemComponent(elementRef, cdr) {
6568
+ var _this = _super.call(this, elementRef, cdr) || this;
6569
+ _this.width = false;
6570
+ _this.activeChange = new i0.EventEmitter();
6571
+ _this._active = false;
6572
+ return _this;
6573
+ }
6574
+ Object.defineProperty(AXTabItemComponent.prototype, "active", {
6575
+ get: function () {
6576
+ return this._active;
6577
+ },
6578
+ set: function (v) {
6579
+ this._active = v;
6580
+ this.activeChange.emit(v);
6581
+ v ? this._getHostElement().classList.add('ax-state-active') : this._getHostElement().classList.remove('ax-state-active');
6582
+ this._cdr.detectChanges();
6583
+ },
6584
+ enumerable: false,
6585
+ configurable: true
6586
+ });
6587
+ // @HostBinding('class')
6588
+ // private get __hostClass(): string {
6589
+ // debugger;
6590
+ // const classes: any = {
6591
+ // 'ax-state-active': this.active
6592
+ // }
6593
+ // return Object.entries(classes).filter(c => c[1]).map(c => c[0]).join(' ');
6594
+ // }
6595
+ AXTabItemComponent.prototype.__hostClick = function (e) {
6596
+ this.onClick.emit({
6597
+ component: this,
6598
+ htmlElement: this._getHostElement(),
6599
+ nativeEvent: e
6600
+ });
6601
+ };
6602
+ return AXTabItemComponent;
6603
+ }(AXBaseClickableMixin));
6604
+ AXTabItemComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXTabItemComponent, deps: [{ token: i0__namespace.ElementRef }, { token: i0__namespace.ChangeDetectorRef }], target: i0__namespace.ɵɵFactoryTarget.Component });
6605
+ AXTabItemComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: AXTabItemComponent, selector: "ax-tab-item", inputs: { text: "text", width: "width", active: "active" }, outputs: { activeChange: "activeChange" }, host: { listeners: { "click": "__hostClick($event)" } }, queries: [{ propertyName: "headerTemplate", first: true, predicate: i0.TemplateRef, descendants: true, static: true }], viewQueries: [{ propertyName: "template", first: true, predicate: ["content"], descendants: true }], usesInheritance: true, ngImport: i0__namespace, template: "\n <ng-container *ngIf=\"headerTemplate;else header\">\n <ng-container [ngTemplateOutlet]=\"headerTemplate\" [ngTemplateOutletContext]=\"{ $implicit: {text,active} }\"></ng-container>\n </ng-container>\n <ng-template #header>\n <ng-content select=\"ax-prefix\"></ng-content>\n <span>{{text}}</span>\n <ng-content select=\"ax-suffix\"></ng-content>\n </ng-template>\n <ng-template #content>\n <ng-content select=\"ax-content\">\n </ng-content>\n </ng-template>\n ", isInline: true, directives: [{ type: i1__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1__namespace.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }], changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush, encapsulation: i0__namespace.ViewEncapsulation.None });
6606
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXTabItemComponent, decorators: [{
6607
+ type: i0.Component,
6608
+ args: [{
6609
+ selector: 'ax-tab-item',
6610
+ template: "\n <ng-container *ngIf=\"headerTemplate;else header\">\n <ng-container [ngTemplateOutlet]=\"headerTemplate\" [ngTemplateOutletContext]=\"{ $implicit: {text,active} }\"></ng-container>\n </ng-container>\n <ng-template #header>\n <ng-content select=\"ax-prefix\"></ng-content>\n <span>{{text}}</span>\n <ng-content select=\"ax-suffix\"></ng-content>\n </ng-template>\n <ng-template #content>\n <ng-content select=\"ax-content\">\n </ng-content>\n </ng-template>\n ",
6611
+ changeDetection: i0.ChangeDetectionStrategy.OnPush,
6612
+ encapsulation: i0.ViewEncapsulation.None,
6613
+ }]
6614
+ }], ctorParameters: function () { return [{ type: i0__namespace.ElementRef }, { type: i0__namespace.ChangeDetectorRef }]; }, propDecorators: { text: [{
6615
+ type: i0.Input
6616
+ }], width: [{
6617
+ type: i0.Input
6618
+ }], template: [{
6619
+ type: i0.ViewChild,
6620
+ args: ['content']
6621
+ }], headerTemplate: [{
6622
+ type: i0.ContentChild,
6623
+ args: [i0.TemplateRef, { static: true }]
6624
+ }], activeChange: [{
6625
+ type: i0.Output
6626
+ }], active: [{
6627
+ type: i0.Input
6628
+ }], __hostClick: [{
6629
+ type: i0.HostListener,
6630
+ args: ['click', ['$event']]
6631
+ }] } });
6632
+
6633
+ var AXTabsComponent = /** @class */ (function (_super) {
6634
+ __extends(AXTabsComponent, _super);
6635
+ function AXTabsComponent(elementRef, cdr) {
6636
+ var _this = _super.call(this, elementRef, cdr) || this;
6637
+ _this.fitParent = false;
6638
+ _this.minWidth = false;
6639
+ return _this;
6640
+ }
6641
+ AXTabsComponent.prototype.onRenderCssClass = function () {
6642
+ var classList = Array.from(this._getHostElement().classList);
6643
+ if (!classList.some(function (c) { return ['ax-vertical', 'ax-horizontal'].includes(c); })) {
6644
+ this._getHostElement().classList.add('ax-horizontal');
6645
+ }
6646
+ if (!classList.some(function (c) { return c.startsWith('ax-look-'); })) {
6647
+ this._getHostElement().classList.add('ax-look-default');
6648
+ }
6649
+ };
6650
+ AXTabsComponent.prototype.onViewInit = function () {
6651
+ var _this = this;
6652
+ this._handleSelectionChanged(this._contentTabs.get(0));
6653
+ this._contentTabs.forEach(function (c) {
6654
+ c.onClick.subscribe(function (t) {
6655
+ _this._handleSelectionChanged(c);
6656
+ });
6657
+ });
6658
+ };
6659
+ AXTabsComponent.prototype._handleSelectionChanged = function (e) {
6660
+ this._contentTabs.filter(function (c) { return c != e; }).forEach(function (c) { c.active = false; });
6661
+ e.active = true;
6662
+ if (this.content) {
6663
+ this.content.portal = e.template;
6664
+ }
6665
+ this._cdr.markForCheck();
6666
+ };
6667
+ return AXTabsComponent;
6668
+ }(AXBaseComponent));
6669
+ AXTabsComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXTabsComponent, deps: [{ token: i0__namespace.ElementRef }, { token: i0__namespace.ChangeDetectorRef }], target: i0__namespace.ɵɵFactoryTarget.Component });
6670
+ AXTabsComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: AXTabsComponent, selector: "ax-tabs", inputs: { fitParent: "fitParent", minWidth: "minWidth", content: "content" }, queries: [{ propertyName: "_contentTabs", predicate: AXTabItemComponent }], usesInheritance: true, ngImport: i0__namespace, template: "\n <div class=\"ax-items-wrapper\">\n <ng-content select=\"ax-tab-item\">\n </ng-content>\n </div>\n ", isInline: true, changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush, encapsulation: i0__namespace.ViewEncapsulation.None });
6671
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXTabsComponent, decorators: [{
6672
+ type: i0.Component,
6673
+ args: [{
6674
+ selector: 'ax-tabs',
6675
+ template: "\n <div class=\"ax-items-wrapper\">\n <ng-content select=\"ax-tab-item\">\n </ng-content>\n </div>\n ",
6676
+ changeDetection: i0.ChangeDetectionStrategy.OnPush,
6677
+ encapsulation: i0.ViewEncapsulation.None,
6678
+ }]
6679
+ }], ctorParameters: function () { return [{ type: i0__namespace.ElementRef }, { type: i0__namespace.ChangeDetectorRef }]; }, propDecorators: { _contentTabs: [{
6680
+ type: i0.ContentChildren,
6681
+ args: [AXTabItemComponent]
6682
+ }], fitParent: [{
6683
+ type: i0.Input
6684
+ }], minWidth: [{
6685
+ type: i0.Input
6686
+ }], content: [{
6687
+ type: i0.Input
6688
+ }] } });
6689
+
6057
6690
  var AXTabStripChangedEvent = /** @class */ (function (_super) {
6058
6691
  __extends(AXTabStripChangedEvent, _super);
6059
6692
  function AXTabStripChangedEvent() {
@@ -6062,15 +6695,47 @@
6062
6695
  return AXTabStripChangedEvent;
6063
6696
  }(AXEvent));
6064
6697
 
6065
- var COMPONENT$3 = [AXTabViewComponent, AXTabStripComponent, AXTabComponent];
6066
- var MODULES$3 = [i1.CommonModule];
6698
+ var AXTabContentDirective = /** @class */ (function () {
6699
+ function AXTabContentDirective(_viewContainerRef) {
6700
+ this._viewContainerRef = _viewContainerRef;
6701
+ }
6702
+ Object.defineProperty(AXTabContentDirective.prototype, "portal", {
6703
+ get: function () {
6704
+ return this._portal;
6705
+ },
6706
+ set: function (v) {
6707
+ //debugger;
6708
+ if (v) {
6709
+ this._portal = v;
6710
+ this._viewContainerRef.clear();
6711
+ var viewRef = this._viewContainerRef.createEmbeddedView(v, null, 0);
6712
+ }
6713
+ },
6714
+ enumerable: false,
6715
+ configurable: true
6716
+ });
6717
+ return AXTabContentDirective;
6718
+ }());
6719
+ AXTabContentDirective.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXTabContentDirective, deps: [{ token: i0__namespace.ViewContainerRef }], target: i0__namespace.ɵɵFactoryTarget.Directive });
6720
+ AXTabContentDirective.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.6", type: AXTabContentDirective, selector: "[axTabContent]", inputs: { portal: ["axTabContent", "portal"] }, exportAs: ["axTabContent"], ngImport: i0__namespace });
6721
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXTabContentDirective, decorators: [{
6722
+ type: i0.Directive,
6723
+ args: [{
6724
+ selector: '[axTabContent]',
6725
+ exportAs: 'axTabContent',
6726
+ inputs: ['portal: axTabContent'],
6727
+ }]
6728
+ }], ctorParameters: function () { return [{ type: i0__namespace.ViewContainerRef }]; } });
6729
+
6730
+ var COMPONENT$3 = [AXTabsComponent, AXTabItemComponent, AXTabContentDirective];
6731
+ var MODULES$3 = [i1.CommonModule, i1$1.PortalModule, AXEditorDecoratorModule];
6067
6732
  var AXTabsModule = /** @class */ (function () {
6068
6733
  function AXTabsModule() {
6069
6734
  }
6070
6735
  return AXTabsModule;
6071
6736
  }());
6072
6737
  AXTabsModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXTabsModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
6073
- AXTabsModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXTabsModule, declarations: [AXTabViewComponent, AXTabStripComponent, AXTabComponent], imports: [i1.CommonModule], exports: [AXTabViewComponent, AXTabStripComponent, AXTabComponent] });
6738
+ AXTabsModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXTabsModule, declarations: [AXTabsComponent, AXTabItemComponent, AXTabContentDirective], imports: [i1.CommonModule, i1$1.PortalModule, AXEditorDecoratorModule], exports: [AXTabsComponent, AXTabItemComponent, AXTabContentDirective] });
6074
6739
  AXTabsModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXTabsModule, providers: [], imports: [__spreadArray([], __read(MODULES$3))] });
6075
6740
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXTabsModule, decorators: [{
6076
6741
  type: i0.NgModule,
@@ -6833,6 +7498,8 @@
6833
7498
  exports.AXAlertTitleComponent = AXAlertTitleComponent;
6834
7499
  exports.AXAvatarComponent = AXAvatarComponent;
6835
7500
  exports.AXAvatarModule = AXAvatarModule;
7501
+ exports.AXBadgeComponent = AXBadgeComponent;
7502
+ exports.AXBadgeModule = AXBadgeModule;
6836
7503
  exports.AXBaseButtonMixin = AXBaseButtonMixin;
6837
7504
  exports.AXBaseClickableMixin = AXBaseClickableMixin;
6838
7505
  exports.AXBaseComponent = AXBaseComponent;
@@ -6850,7 +7517,7 @@
6850
7517
  exports.AXButtonItemComponent = AXButtonItemComponent;
6851
7518
  exports.AXButtonModule = AXButtonModule;
6852
7519
  exports.AXCalendarComponent = AXCalendarComponent;
6853
- exports.AXCalendarMixin = AXCalendarMixin;
7520
+ exports.AXCalendarComponentMixin = AXCalendarComponentMixin;
6854
7521
  exports.AXCalendarModule = AXCalendarModule;
6855
7522
  exports.AXCarouselArrowsComponent = AXCarouselArrowsComponent;
6856
7523
  exports.AXCarouselComponent = AXCarouselComponent;
@@ -6866,6 +7533,7 @@
6866
7533
  exports.AXDataListModule = AXDataListModule;
6867
7534
  exports.AXDatepickerComponent = AXDatepickerComponent;
6868
7535
  exports.AXDatepickerModule = AXDatepickerModule;
7536
+ exports.AXDecoratorContentComponent = AXDecoratorContentComponent;
6869
7537
  exports.AXDecoratorPrefixComponent = AXDecoratorPrefixComponent;
6870
7538
  exports.AXDecoratorSuffixComponent = AXDecoratorSuffixComponent;
6871
7539
  exports.AXDialogComponent = AXDialogComponent;
@@ -6908,11 +7576,15 @@
6908
7576
  exports.AXPageFooterComponent = AXPageFooterComponent;
6909
7577
  exports.AXPageModule = AXPageModule;
6910
7578
  exports.AXPageResult = AXPageResult;
7579
+ exports.AXPasswordBoxComponent = AXPasswordBoxComponent;
7580
+ exports.AXPasswordBoxModule = AXPasswordBoxModule;
6911
7581
  exports.AXPopoverComponent = AXPopoverComponent;
6912
7582
  exports.AXPopoverModule = AXPopoverModule;
6913
7583
  exports.AXPopupComponent = AXPopupComponent;
6914
7584
  exports.AXPopupModule = AXPopupModule;
6915
7585
  exports.AXPopupService = AXPopupService;
7586
+ exports.AXRadioComponent = AXRadioComponent;
7587
+ exports.AXRadioModule = AXRadioModule;
6916
7588
  exports.AXRangeSliderComponent = AXRangeSliderComponent;
6917
7589
  exports.AXRangeSliderModule = AXRangeSliderModule;
6918
7590
  exports.AXResponsiveDirective = AXResponsiveDirective;
@@ -6926,10 +7598,12 @@
6926
7598
  exports.AXSizableComponentMixin = AXSizableComponentMixin;
6927
7599
  exports.AXSwitchComponent = AXSwitchComponent;
6928
7600
  exports.AXSwitchModule = AXSwitchModule;
6929
- exports.AXTabComponent = AXTabComponent;
7601
+ exports.AXTabContentDirective = AXTabContentDirective;
7602
+ exports.AXTabItemComponent = AXTabItemComponent;
6930
7603
  exports.AXTabStripChangedEvent = AXTabStripChangedEvent;
6931
7604
  exports.AXTabStripComponent = AXTabStripComponent;
6932
7605
  exports.AXTabViewComponent = AXTabViewComponent;
7606
+ exports.AXTabsComponent = AXTabsComponent;
6933
7607
  exports.AXTabsModule = AXTabsModule;
6934
7608
  exports.AXTextBoxComponent = AXTextBoxComponent;
6935
7609
  exports.AXTextBoxModule = AXTextBoxModule;