@acorex/components 5.0.2 → 5.0.7

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 (104) hide show
  1. package/bundles/acorex-components.umd.js +1528 -1038
  2. package/bundles/acorex-components.umd.js.map +1 -1
  3. package/esm2015/lib/alert/alert.component.js +17 -17
  4. package/esm2015/lib/badge/badge.component.js +34 -0
  5. package/esm2015/lib/badge/badge.module.js +21 -0
  6. package/esm2015/lib/badge/index.js +3 -0
  7. package/esm2015/lib/base/events.class.js +7 -1
  8. package/esm2015/lib/base/mixin/base-components.class.js +6 -6
  9. package/esm2015/lib/base/mixin/button-mixin.class.js +2 -2
  10. package/esm2015/lib/base/mixin/interactive-mixin.class.js +6 -1
  11. package/esm2015/lib/base/mixin/mixin.class.js +2 -3
  12. package/esm2015/lib/button/button-group.component.js +3 -3
  13. package/esm2015/lib/button/button.component.js +27 -6
  14. package/esm2015/lib/button/button.module.js +1 -5
  15. package/esm2015/lib/button/index.js +1 -2
  16. package/esm2015/lib/calendar/calendar.component.js +266 -38
  17. package/esm2015/lib/calendar/calendar.module.js +4 -3
  18. package/esm2015/lib/checkbox/checkbox.component.js +2 -2
  19. package/esm2015/lib/datepicker/datepicker.component.js +21 -5
  20. package/esm2015/lib/decorators/prefix.component.js +3 -3
  21. package/esm2015/lib/decorators/suffix.component.js +3 -11
  22. package/esm2015/lib/dialog/dialog.component.js +2 -2
  23. package/esm2015/lib/dialog/dialog.service.js +24 -5
  24. package/esm2015/lib/dropdown/dropdown-base.class.js +98 -0
  25. package/esm2015/lib/dropdown/dropdown-panel.component.js +23 -130
  26. package/esm2015/lib/dropdown/dropdown.component.js +16 -123
  27. package/esm2015/lib/dropdown/dropdown.module.js +5 -4
  28. package/esm2015/lib/icon/icon.component.js +4 -4
  29. package/esm2015/lib/number-box/number-box.component.js +4 -4
  30. package/esm2015/lib/password-box/index.js +3 -0
  31. package/esm2015/lib/password-box/password-box.component.js +74 -0
  32. package/esm2015/lib/password-box/password-box.module.js +35 -0
  33. package/esm2015/lib/popover/popover.component.js +183 -82
  34. package/esm2015/lib/range-slider/index.js +3 -0
  35. package/esm2015/lib/range-slider/range-slider.component.js +22 -0
  36. package/esm2015/lib/range-slider/range-slider.module.js +21 -0
  37. package/esm2015/lib/selectbox/selectbox.component.js +11 -3
  38. package/esm2015/lib/selectbox/selectbox.module.js +8 -4
  39. package/esm2015/lib/selection-list/selection-list.component.js +3 -2
  40. package/esm2015/lib/switch/switch.component.js +2 -2
  41. package/esm2015/lib/tabs/index.js +4 -2
  42. package/esm2015/lib/tabs/tab-content.directive.js +27 -0
  43. package/esm2015/lib/tabs/tab-item.component.js +76 -0
  44. package/esm2015/lib/tabs/tab-strip.component.js +15 -7
  45. package/esm2015/lib/tabs/tab-view.component.js +4 -5
  46. package/esm2015/lib/tabs/tab.component.js +2 -3
  47. package/esm2015/lib/tabs/tabs.component.js +74 -0
  48. package/esm2015/lib/tabs/tabs.module.js +9 -7
  49. package/esm2015/lib/textbox/textbox.component.js +8 -6
  50. package/esm2015/lib/textbox/textbox.module.js +6 -2
  51. package/esm2015/lib/time-box/time-box.component.js +1 -1
  52. package/esm2015/lib/toast/toast.component.js +2 -2
  53. package/esm2015/public-api.js +4 -1
  54. package/fesm2015/acorex-components.js +1316 -883
  55. package/fesm2015/acorex-components.js.map +1 -1
  56. package/lib/alert/alert.component.d.ts +4 -4
  57. package/lib/badge/badge.component.d.ts +11 -0
  58. package/lib/badge/badge.module.d.ts +8 -0
  59. package/lib/badge/index.d.ts +2 -0
  60. package/lib/base/events.class.d.ts +7 -0
  61. package/lib/base/mixin/button-mixin.class.d.ts +3 -1
  62. package/lib/base/mixin/interactive-mixin.class.d.ts +2 -3
  63. package/lib/base/mixin/loading-mixin.class.d.ts +1 -3
  64. package/lib/base/mixin/mixin.class.d.ts +1 -224
  65. package/lib/base/mixin/textbox-mixin.class.d.ts +4 -7
  66. package/lib/base/mixin/value-mixin.class.d.ts +4 -5
  67. package/lib/button/button-group.component.d.ts +3 -2
  68. package/lib/button/button.component.d.ts +4 -1
  69. package/lib/button/button.module.d.ts +6 -7
  70. package/lib/button/index.d.ts +0 -1
  71. package/lib/calendar/calendar.component.d.ts +52 -12
  72. package/lib/calendar/calendar.module.d.ts +4 -3
  73. package/lib/datepicker/datepicker.component.d.ts +3 -3
  74. package/lib/decorators/prefix.component.d.ts +1 -1
  75. package/lib/decorators/suffix.component.d.ts +1 -1
  76. package/lib/dialog/dialog.service.d.ts +20 -2
  77. package/lib/dropdown/dropdown-base.class.d.ts +92 -0
  78. package/lib/dropdown/dropdown-panel.component.d.ts +12 -100
  79. package/lib/dropdown/dropdown.component.d.ts +9 -27
  80. package/lib/dropdown/dropdown.module.d.ts +2 -1
  81. package/lib/icon/icon.component.d.ts +1 -1
  82. package/lib/number-box/number-box.component.d.ts +1 -1
  83. package/lib/password-box/index.d.ts +2 -0
  84. package/lib/password-box/password-box.component.d.ts +24 -0
  85. package/lib/password-box/password-box.module.d.ts +12 -0
  86. package/lib/popover/popover.component.d.ts +37 -23
  87. package/lib/range-slider/index.d.ts +2 -0
  88. package/lib/range-slider/range-slider.component.d.ts +8 -0
  89. package/lib/range-slider/range-slider.module.d.ts +8 -0
  90. package/lib/selectbox/selectbox.component.d.ts +1 -0
  91. package/lib/selectbox/selectbox.module.d.ts +5 -1
  92. package/lib/selection-list/selection-list.component.d.ts +1 -1
  93. package/lib/tabs/index.d.ts +3 -1
  94. package/lib/tabs/tab-content.directive.d.ts +11 -0
  95. package/lib/tabs/tab-item.component.d.ts +16 -0
  96. package/lib/tabs/tab-strip.component.d.ts +5 -3
  97. package/lib/tabs/tab-view.component.d.ts +2 -2
  98. package/lib/tabs/tabs.component.d.ts +19 -0
  99. package/lib/tabs/tabs.module.d.ts +6 -4
  100. package/lib/textbox/textbox.module.d.ts +3 -2
  101. package/package.json +1 -1
  102. package/public-api.d.ts +3 -0
  103. package/esm2015/lib/button/dropdown-button.component.js +0 -200
  104. package/lib/button/dropdown-button.component.d.ts +0 -234
@@ -1,8 +1,10 @@
1
1
  (function (global, factory) {
2
- typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@angular/cdk/coercion'), require('@acorex/core'), require('rxjs'), require('rxjs/operators'), require('@angular/common'), require('@angular/cdk/portal'), require('@angular/cdk/overlay'), require('@angular/forms'), require('@angular/cdk/a11y'), require('@angular/cdk/drag-drop'), require('@angular/cdk/bidi'), require('ngx-mask'), require('@angular/animations')) :
3
- typeof define === 'function' && define.amd ? define('@acorex/components', ['exports', '@angular/core', '@angular/cdk/coercion', '@acorex/core', 'rxjs', 'rxjs/operators', '@angular/common', '@angular/cdk/portal', '@angular/cdk/overlay', '@angular/forms', '@angular/cdk/a11y', '@angular/cdk/drag-drop', '@angular/cdk/bidi', 'ngx-mask', '@angular/animations'], factory) :
4
- (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global.acorex = global.acorex || {}, global.acorex.components = {}), global.ng.core, global.ng.cdk.coercion, global.i2, global.rxjs, global.rxjs.operators, global.ng.common, global.ng.cdk.portal, global.ng.cdk.overlay, global.ng.forms, global.ng.cdk.a11y, global.ng.cdk.dragDrop, global.ng.cdk.bidi, global.i1$3, global.ng.animations));
5
- }(this, (function (exports, i0, coercion, i2, rxjs, operators, i1, i1$1, i1$2, i3, i2$1, i3$1, i2$2, i1$3, animations) { 'use strict';
2
+ typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@angular/cdk/coercion'), require('@acorex/core'), require('rxjs'), require('rxjs/operators'), require('@angular/common'), require('@angular/forms'), require('@angular/cdk/portal'), require('lodash'), require('@angular/cdk/overlay'), require('@angular/cdk/a11y'), require('@angular/cdk/drag-drop'), require('@angular/cdk/bidi'), require('ngx-mask'), require('@angular/animations')) :
3
+ typeof define === 'function' && define.amd ? define('@acorex/components', ['exports', '@angular/core', '@angular/cdk/coercion', '@acorex/core', 'rxjs', 'rxjs/operators', '@angular/common', '@angular/forms', '@angular/cdk/portal', 'lodash', '@angular/cdk/overlay', '@angular/cdk/a11y', '@angular/cdk/drag-drop', '@angular/cdk/bidi', 'ngx-mask', '@angular/animations'], factory) :
4
+ (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global.acorex = global.acorex || {}, global.acorex.components = {}), global.ng.core, global.ng.cdk.coercion, global.i2, global.rxjs, global.rxjs.operators, global.ng.common, global.ng.forms, global.ng.cdk.portal, global._, global.ng.cdk.overlay, global.ng.cdk.a11y, global.ng.cdk.dragDrop, global.ng.cdk.bidi, global.i1$2, global.ng.animations));
5
+ }(this, (function (exports, i0, coercion, i2, rxjs, operators, i4, i3, i1, _, i1$1, i2$1, i3$1, i2$2, i1$2, animations) { 'use strict';
6
+
7
+ function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
6
8
 
7
9
  function _interopNamespace(e) {
8
10
  if (e && e.__esModule) return e;
@@ -26,14 +28,15 @@
26
28
 
27
29
  var i0__namespace = /*#__PURE__*/_interopNamespace(i0);
28
30
  var i2__namespace = /*#__PURE__*/_interopNamespace(i2);
29
- var i1__namespace = /*#__PURE__*/_interopNamespace(i1);
30
- var i1__namespace$2 = /*#__PURE__*/_interopNamespace(i1$1);
31
- var i1__namespace$1 = /*#__PURE__*/_interopNamespace(i1$2);
31
+ var i4__namespace = /*#__PURE__*/_interopNamespace(i4);
32
32
  var i3__namespace = /*#__PURE__*/_interopNamespace(i3);
33
+ var i1__namespace$1 = /*#__PURE__*/_interopNamespace(i1);
34
+ var ___default = /*#__PURE__*/_interopDefaultLegacy(_);
35
+ var i1__namespace = /*#__PURE__*/_interopNamespace(i1$1);
33
36
  var i2__namespace$1 = /*#__PURE__*/_interopNamespace(i2$1);
34
37
  var i3__namespace$1 = /*#__PURE__*/_interopNamespace(i3$1);
35
38
  var i2__namespace$2 = /*#__PURE__*/_interopNamespace(i2$2);
36
- var i1__namespace$3 = /*#__PURE__*/_interopNamespace(i1$3);
39
+ var i1__namespace$2 = /*#__PURE__*/_interopNamespace(i1$2);
37
40
 
38
41
  /*! *****************************************************************************
39
42
  Copyright (c) Microsoft Corporation.
@@ -363,7 +366,7 @@
363
366
  for (var _i = 0; _i < arguments.length; _i++) {
364
367
  args[_i] = arguments[_i];
365
368
  }
366
- this.id = "ax-" + new Date().getTime().toString();
369
+ this.id = "AX" + Math.round(Math.random() * Math.pow(10, 10));
367
370
  _elementRef.set(this, void 0);
368
371
  __classPrivateFieldSet(this, _elementRef, args[0]);
369
372
  this._cdr = args[1];
@@ -386,14 +389,14 @@
386
389
  return this._getHostElement().firstElementChild;
387
390
  };
388
391
  AXBaseComponent.prototype._onInternalInit = function () {
389
- var _a;
390
392
  this._getHostElement().__axContext__ = this;
391
- this._getHostElement().setAttribute('data-id', this.id);
392
393
  if (this.rtl == null) {
393
394
  this.rtl = window.getComputedStyle(this._getHostElement(), null).getPropertyValue('direction') === 'rtl';
394
395
  }
395
- this._getHostElement().classList.add(this.rtl ? 'ax-rtl' : 'ax-ltr');
396
- (_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);
397
400
  this.onInit();
398
401
  };
399
402
  AXBaseComponent.prototype._onInternalViewInit = function () {
@@ -574,7 +577,7 @@
574
577
  var cssClasses = {
575
578
  'ax-button-icon': !this.text,
576
579
  'ax-state-disabled': this["disabled"],
577
- 'ax-state-selected': this.selected,
580
+ 'ax-state-selected': this.selected
578
581
  };
579
582
  cssClasses["ax-" + (this.color || 'primary') + (this.look ? '-' + this.look : '')] = true;
580
583
  return cssClasses;
@@ -881,7 +884,12 @@
881
884
  }(Base));
882
885
  _disabled = new WeakMap(), _tabIndex = new WeakMap();
883
886
  return Mixin;
884
- }
887
+ }
888
+ var INTERACTIVE_INPUTS = [
889
+ 'disabled',
890
+ 'tabIndex',
891
+ ];
892
+ var INTERACTIVE_OUTPUT = ['onBlur', 'onFocus'];
885
893
 
886
894
  function _SelectionComponenetMixin(Base) {
887
895
  return /** @class */ (function (_super) {
@@ -1372,11 +1380,10 @@
1372
1380
  var AXBaseButtonMixin = _SizableComponenetMixin(_InteractiveComponenetMixin(_ClickableComponenetMixin(_ButtonComponentMixin(AXBaseComponent))));
1373
1381
  var AXBaseValueComponentMixin = _SizableComponenetMixin(_InteractiveComponenetMixin(_ValueComponenetMixin(AXBaseComponent)));
1374
1382
  var AXBaseTextBoxMixin = _SizableComponenetMixin(_InteractiveComponenetMixin(_ValueComponenetMixin(_TextboxComponenetMixin(AXBaseComponent))));
1375
- var AXBaseDropdownMixin = _SizableComponenetMixin(_InteractiveComponenetMixin(_DropdownComponenetMixin(AXBaseComponent)));
1376
1383
  var AXBaseSelectionValueMixin = _SizableComponenetMixin(_InteractiveComponenetMixin(_DatalistComponenetMixin(_SelectionComponenetMixin(_ValueComponenetMixin(AXBaseComponent)))));
1377
1384
  var AXBaseValueDropdownMixin = _SizableComponenetMixin(_InteractiveComponenetMixin(_DropdownComponenetMixin(_DatalistComponenetMixin(_ValueComponenetMixin(AXBaseComponent)))));
1378
1385
  var AXBaseSelectionDropdownMixin = _SizableComponenetMixin(_InteractiveComponenetMixin(_DropdownComponenetMixin(_DatalistComponenetMixin(_SelectionComponenetMixin(_ValueComponenetMixin(AXBaseComponent))))));
1379
- var AXCalendarMixin = _ClickableComponenetMixin(_ButtonComponentMixin(_SizableComponenetMixin(AXBaseComponent)));
1386
+ var AXCalendarComponentMixin = _ClickableComponenetMixin(_InteractiveComponenetMixin(_ValueComponenetMixin(AXBaseComponent)));
1380
1387
 
1381
1388
  /**
1382
1389
  * Contains native event
@@ -1432,6 +1439,17 @@
1432
1439
  return AXButtonClickEvent;
1433
1440
  }(AXClickEvent));
1434
1441
  /**
1442
+ * Fires each time the user click the element.
1443
+ * @category Events
1444
+ */
1445
+ var AXItemClickEvent = /** @class */ (function (_super) {
1446
+ __extends(AXItemClickEvent, _super);
1447
+ function AXItemClickEvent() {
1448
+ return _super !== null && _super.apply(this, arguments) || this;
1449
+ }
1450
+ return AXItemClickEvent;
1451
+ }(AXEvent));
1452
+ /**
1435
1453
  * Fires each time the component gets focused.
1436
1454
  * @category Events
1437
1455
  */
@@ -1543,17 +1561,17 @@
1543
1561
  _visible.set(_this, void 0);
1544
1562
  return _this;
1545
1563
  }
1546
- Object.defineProperty(AXAlertComponent.prototype, "type", {
1564
+ Object.defineProperty(AXAlertComponent.prototype, "color", {
1547
1565
  /**
1548
1566
  * The Alert allows you to set different types of alerts
1549
1567
  */
1550
1568
  get: function () {
1551
- return this._type;
1569
+ return this._color;
1552
1570
  },
1553
1571
  set: function (v) {
1554
- this._type = v;
1572
+ this._color = v;
1555
1573
  this.typeChange.emit(v);
1556
- switch (this.type) {
1574
+ switch (this.color) {
1557
1575
  case 'success':
1558
1576
  this.icon = 'ax-ic ax-ic-check-filled';
1559
1577
  break;
@@ -1573,7 +1591,7 @@
1573
1591
  });
1574
1592
  Object.defineProperty(AXAlertComponent.prototype, "hostClass", {
1575
1593
  get: function () {
1576
- return "ax-" + this.type;
1594
+ return "ax-" + this.color;
1577
1595
  },
1578
1596
  enumerable: false,
1579
1597
  configurable: true
@@ -1590,12 +1608,12 @@
1590
1608
  __classPrivateFieldSet(this, _visible, v);
1591
1609
  var host = this._getHostElement();
1592
1610
  if (v) {
1593
- host.classList.remove('ax-none', 'animate__fadeOut');
1594
- host.classList.add('animate__animated', 'animate__fadeIn', 'animate__fast');
1611
+ host.classList.remove('ax-state-hidden');
1612
+ host.classList.add('ax-state-visible');
1595
1613
  }
1596
1614
  else {
1597
- host.classList.remove('animate__fadeIn');
1598
- host.classList.add('animate__animated', 'animate__fadeOut', 'animate__fast');
1615
+ host.classList.add('ax-state-hidden');
1616
+ host.classList.toggle('ax-state-visible');
1599
1617
  }
1600
1618
  }
1601
1619
  },
@@ -1604,7 +1622,6 @@
1604
1622
  });
1605
1623
  AXAlertComponent.prototype.onInit = function () {
1606
1624
  var _this = this;
1607
- // this._getHostElement().classList.add(`ax-${this.type}`);
1608
1625
  if (this.timeOut) {
1609
1626
  setTimeout(function () {
1610
1627
  _this.dismiss();
@@ -1621,10 +1638,11 @@
1621
1638
  */
1622
1639
  AXAlertComponent.prototype.dismiss = function () {
1623
1640
  var host = this._getHostElement();
1624
- host.classList.add('animate__animated', 'animate__fadeOut', 'animate__fast');
1625
- host.addEventListener('animationend', function () {
1641
+ this.visible = false;
1642
+ var func = function () {
1626
1643
  host.parentElement.removeChild(host);
1627
- });
1644
+ };
1645
+ host.addEventListener('transitionend', func);
1628
1646
  };
1629
1647
  /**
1630
1648
  * Hide the alert
@@ -1642,7 +1660,7 @@
1642
1660
  }(AXBaseComponentMixin));
1643
1661
  _visible = new WeakMap();
1644
1662
  AXAlertComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXAlertComponent, deps: [{ token: i0__namespace.ElementRef }, { token: i0__namespace.ChangeDetectorRef }], target: i0__namespace.ɵɵFactoryTarget.Component });
1645
- AXAlertComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: AXAlertComponent, selector: "ax-alert", inputs: { icon: "icon", type: "type", timeOut: "timeOut", visible: "visible" }, outputs: { typeChange: "typeChange" }, host: { properties: { "class": "this.hostClass" }, classAttribute: "ax-alert ax-none" }, usesInheritance: true, ngImport: i0__namespace, template: "<div class=\"ax-alert-icon\" *ngIf=\"icon\">\r\n <i class=\"{{icon}} fa-lg\"></i>\r\n</div>\r\n<div class=\"ax-alert-body\">\r\n <ng-content select=\"ax-alert-title\">\r\n </ng-content>\r\n <ng-content select=\"ax-alert-content\">\r\n </ng-content>\r\n <ng-content select=\"ax-alert-footer\">\r\n </ng-content>\r\n</div>\r\n<ng-content select=\"ax-alert-suffix\">\r\n</ng-content>", directives: [{ type: i1__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush, encapsulation: i0__namespace.ViewEncapsulation.None });
1663
+ AXAlertComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: AXAlertComponent, selector: "ax-alert", inputs: { icon: "icon", color: "color", timeOut: "timeOut", visible: "visible" }, outputs: { typeChange: "typeChange" }, host: { properties: { "class": "this.hostClass" }, classAttribute: "ax-alert ax-none" }, usesInheritance: true, ngImport: i0__namespace, template: "<div class=\"ax-alert-icon\" *ngIf=\"icon\">\r\n <i class=\"{{icon}} fa-lg\"></i>\r\n</div>\r\n<div class=\"ax-alert-body\">\r\n <ng-content select=\"ax-alert-title\">\r\n </ng-content>\r\n <ng-content select=\"ax-alert-content\">\r\n </ng-content>\r\n <ng-content select=\"ax-alert-footer\">\r\n </ng-content>\r\n</div>\r\n<ng-content select=\"ax-alert-suffix\">\r\n</ng-content>", directives: [{ type: i4__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush, encapsulation: i0__namespace.ViewEncapsulation.None });
1646
1664
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXAlertComponent, decorators: [{
1647
1665
  type: i0.Component,
1648
1666
  args: [{
@@ -1656,7 +1674,7 @@
1656
1674
  type: i0.Input
1657
1675
  }], typeChange: [{
1658
1676
  type: i0.Output
1659
- }], type: [{
1677
+ }], color: [{
1660
1678
  type: i0.Input
1661
1679
  }], hostClass: [{
1662
1680
  type: i0.HostBinding,
@@ -1702,7 +1720,7 @@
1702
1720
  return AXAlertButtonComponent;
1703
1721
  }(AXBaseClickableMixin));
1704
1722
  AXAlertButtonComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXAlertButtonComponent, deps: [{ token: i0__namespace.ElementRef }, { token: i0__namespace.ChangeDetectorRef }], target: i0__namespace.ɵɵFactoryTarget.Component });
1705
- AXAlertButtonComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: AXAlertButtonComponent, selector: "ax-alert-button", inputs: { title: "title", icon: "icon" }, outputs: { onBlur: "onBlur", onFocus: "onFocus", onClick: "onClick", selectedChange: "selectedChange", toggleableChange: "toggleableChange" }, host: { listeners: { "click": "_handleOnClick($event)", "focus": "_handleOnFocus($event)", "blur": "_handleOnBlur($event)" }, classAttribute: "ax-alert-button" }, usesInheritance: true, ngImport: i0__namespace, template: "\n {{title}}\n <i *ngIf=\"icon\" class=\"{{icon}}\"></i>\n ", isInline: true, directives: [{ type: i1__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush, encapsulation: i0__namespace.ViewEncapsulation.None });
1723
+ AXAlertButtonComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: AXAlertButtonComponent, selector: "ax-alert-button", inputs: { title: "title", icon: "icon" }, outputs: { onBlur: "onBlur", onFocus: "onFocus", onClick: "onClick", selectedChange: "selectedChange", toggleableChange: "toggleableChange" }, host: { listeners: { "click": "_handleOnClick($event)", "focus": "_handleOnFocus($event)", "blur": "_handleOnBlur($event)" }, classAttribute: "ax-alert-button" }, usesInheritance: true, ngImport: i0__namespace, template: "\n {{title}}\n <i *ngIf=\"icon\" class=\"{{icon}}\"></i>\n ", isInline: true, directives: [{ type: i4__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush, encapsulation: i0__namespace.ViewEncapsulation.None });
1706
1724
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXAlertButtonComponent, decorators: [{
1707
1725
  type: i0.Component,
1708
1726
  args: [{
@@ -1782,7 +1800,7 @@
1782
1800
  }]
1783
1801
  }] });
1784
1802
 
1785
- var COMPONENT$k = [
1803
+ var COMPONENT$n = [
1786
1804
  AXAlertComponent,
1787
1805
  AXAlertContentComponent,
1788
1806
  AXAlertTitleComponent,
@@ -1790,7 +1808,7 @@
1790
1808
  AXAlertFooterComponent,
1791
1809
  AXAlertSuffixComponent
1792
1810
  ];
1793
- var MODULES$k = [i1.CommonModule];
1811
+ var MODULES$n = [i4.CommonModule];
1794
1812
  var AXAlertModule = /** @class */ (function () {
1795
1813
  function AXAlertModule() {
1796
1814
  }
@@ -1802,19 +1820,19 @@
1802
1820
  AXAlertTitleComponent,
1803
1821
  AXAlertButtonComponent,
1804
1822
  AXAlertFooterComponent,
1805
- AXAlertSuffixComponent], imports: [i1.CommonModule], exports: [AXAlertComponent,
1823
+ AXAlertSuffixComponent], imports: [i4.CommonModule], exports: [AXAlertComponent,
1806
1824
  AXAlertContentComponent,
1807
1825
  AXAlertTitleComponent,
1808
1826
  AXAlertButtonComponent,
1809
1827
  AXAlertFooterComponent,
1810
1828
  AXAlertSuffixComponent] });
1811
- AXAlertModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXAlertModule, providers: [], imports: [__spreadArray([], __read(MODULES$k))] });
1829
+ AXAlertModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXAlertModule, providers: [], imports: [__spreadArray([], __read(MODULES$n))] });
1812
1830
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXAlertModule, decorators: [{
1813
1831
  type: i0.NgModule,
1814
1832
  args: [{
1815
- declarations: __spreadArray([], __read(COMPONENT$k)),
1816
- imports: __spreadArray([], __read(MODULES$k)),
1817
- exports: __spreadArray([], __read(COMPONENT$k)),
1833
+ declarations: __spreadArray([], __read(COMPONENT$n)),
1834
+ imports: __spreadArray([], __read(MODULES$n)),
1835
+ exports: __spreadArray([], __read(COMPONENT$n)),
1818
1836
  providers: [],
1819
1837
  }]
1820
1838
  }] });
@@ -1888,22 +1906,80 @@
1888
1906
  type: i0.Input
1889
1907
  }] } });
1890
1908
 
1891
- var COMPONENT$j = [AXAvatarComponent];
1892
- var MODULES$j = [i1.CommonModule];
1909
+ var COMPONENT$m = [AXAvatarComponent];
1910
+ var MODULES$m = [i4.CommonModule];
1893
1911
  var AXAvatarModule = /** @class */ (function () {
1894
1912
  function AXAvatarModule() {
1895
1913
  }
1896
1914
  return AXAvatarModule;
1897
1915
  }());
1898
1916
  AXAvatarModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXAvatarModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
1899
- 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] });
1900
- AXAvatarModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXAvatarModule, providers: [], imports: [__spreadArray([], __read(MODULES$j))] });
1917
+ AXAvatarModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXAvatarModule, declarations: [AXAvatarComponent], imports: [i4.CommonModule], exports: [AXAvatarComponent] });
1918
+ AXAvatarModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXAvatarModule, providers: [], imports: [__spreadArray([], __read(MODULES$m))] });
1901
1919
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXAvatarModule, decorators: [{
1902
1920
  type: i0.NgModule,
1903
1921
  args: [{
1904
- declarations: __spreadArray([], __read(COMPONENT$j)),
1905
- imports: __spreadArray([], __read(MODULES$j)),
1906
- exports: __spreadArray([], __read(COMPONENT$j)),
1922
+ declarations: __spreadArray([], __read(COMPONENT$m)),
1923
+ imports: __spreadArray([], __read(MODULES$m)),
1924
+ exports: __spreadArray([], __read(COMPONENT$m)),
1925
+ providers: [],
1926
+ }]
1927
+ }] });
1928
+
1929
+ var AXBadgeComponent = /** @class */ (function (_super) {
1930
+ __extends(AXBadgeComponent, _super);
1931
+ function AXBadgeComponent(elementRef, cdr) {
1932
+ var _this = _super.call(this, elementRef, cdr) || this;
1933
+ _this.text = '';
1934
+ _this.color = 'light';
1935
+ return _this;
1936
+ //TODO: ax-badge
1937
+ }
1938
+ Object.defineProperty(AXBadgeComponent.prototype, "__hostClass", {
1939
+ get: function () {
1940
+ return ["ax-bg-" + this.color + "-100", "ax-text-" + this.color + "-600"].join(' ');
1941
+ },
1942
+ enumerable: false,
1943
+ configurable: true
1944
+ });
1945
+ return AXBadgeComponent;
1946
+ }(AXBaseComponentMixin));
1947
+ 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 });
1948
+ 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 });
1949
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXBadgeComponent, decorators: [{
1950
+ type: i0.Component,
1951
+ args: [{
1952
+ selector: 'ax-badge',
1953
+ templateUrl: './badge.component.html',
1954
+ changeDetection: i0.ChangeDetectionStrategy.OnPush,
1955
+ encapsulation: i0.ViewEncapsulation.None,
1956
+ host: { class: 'ax-badge' }
1957
+ }]
1958
+ }], ctorParameters: function () { return [{ type: i0__namespace.ElementRef }, { type: i0__namespace.ChangeDetectorRef }]; }, propDecorators: { text: [{
1959
+ type: i0.Input
1960
+ }], color: [{
1961
+ type: i0.Input
1962
+ }], __hostClass: [{
1963
+ type: i0.HostBinding,
1964
+ args: ['class']
1965
+ }] } });
1966
+
1967
+ var COMPONENT$l = [AXBadgeComponent];
1968
+ var MODULES$l = [i4.CommonModule];
1969
+ var AXBadgeModule = /** @class */ (function () {
1970
+ function AXBadgeModule() {
1971
+ }
1972
+ return AXBadgeModule;
1973
+ }());
1974
+ AXBadgeModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXBadgeModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
1975
+ AXBadgeModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXBadgeModule, declarations: [AXBadgeComponent], imports: [i4.CommonModule], exports: [AXBadgeComponent] });
1976
+ AXBadgeModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXBadgeModule, providers: [], imports: [__spreadArray([], __read(MODULES$l))] });
1977
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXBadgeModule, decorators: [{
1978
+ type: i0.NgModule,
1979
+ args: [{
1980
+ declarations: __spreadArray([], __read(COMPONENT$l)),
1981
+ imports: __spreadArray([], __read(MODULES$l)),
1982
+ exports: __spreadArray([], __read(COMPONENT$l)),
1907
1983
  providers: [],
1908
1984
  }]
1909
1985
  }] });
@@ -1930,7 +2006,6 @@
1930
2006
  }
1931
2007
  };
1932
2008
  AXButtonComponent.prototype._emitOnClickEvent = function (e) {
1933
- debugger;
1934
2009
  if (this.disabled)
1935
2010
  return;
1936
2011
  if (this.toggleable) {
@@ -1938,23 +2013,194 @@
1938
2013
  }
1939
2014
  _super.prototype._emitOnClickEvent.call(this, e);
1940
2015
  };
2016
+ AXButtonComponent.prototype._emitOnFocusEvent = function (e) {
2017
+ _super.prototype._emitOnFocusEvent.call(this, e);
2018
+ };
2019
+ AXButtonComponent.prototype._emitOnBlurEvent = function (e) {
2020
+ _super.prototype._emitOnBlurEvent.call(this, e);
2021
+ };
2022
+ Object.defineProperty(AXButtonComponent.prototype, "__hostClass", {
2023
+ get: function () {
2024
+ var _a;
2025
+ 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(' ');
2026
+ },
2027
+ enumerable: false,
2028
+ configurable: true
2029
+ });
1941
2030
  return AXButtonComponent;
1942
2031
  }(AXBaseButtonMixin));
1943
2032
  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 });
1944
- 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", cssClass: "cssClass", cssStyle: "cssStyle", 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: { listeners: { "document:keydown.escape": "onKeydownHandler($event)" } }, 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-loading\">\r\n </ng-content>\r\n <ng-content select=\"ax-prefix\">\r\n </ng-content>\r\n <ng-content select=\"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.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i1__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush, encapsulation: i0__namespace.ViewEncapsulation.None });
2033
+ 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: i4__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush, encapsulation: i0__namespace.ViewEncapsulation.None });
1945
2034
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXButtonComponent, decorators: [{
1946
2035
  type: i0.Component,
1947
2036
  args: [{
1948
2037
  selector: 'ax-button',
1949
2038
  templateUrl: './button.component.html',
1950
- inputs: __spreadArray(['disabled', 'tabIndex', 'size', 'cssClass', 'cssStyle'], __read(BUTTON_INPUTS)),
2039
+ inputs: __spreadArray(['disabled', 'tabIndex', 'size'], __read(BUTTON_INPUTS)),
1951
2040
  outputs: __spreadArray([], __read(BUTTON_OUTPUT)),
1952
2041
  changeDetection: i0.ChangeDetectionStrategy.OnPush,
1953
- encapsulation: i0.ViewEncapsulation.None
2042
+ encapsulation: i0.ViewEncapsulation.None,
2043
+ host: { role: 'button' }
1954
2044
  }]
1955
2045
  }], ctorParameters: function () { return [{ type: i0__namespace.ElementRef }, { type: i0__namespace.ChangeDetectorRef }]; }, propDecorators: { onKeydownHandler: [{
1956
2046
  type: i0.HostListener,
1957
2047
  args: ['document:keydown.escape', ['$event']]
2048
+ }], _emitOnClickEvent: [{
2049
+ type: i0.HostListener,
2050
+ args: ['click', ['$event']]
2051
+ }], _emitOnFocusEvent: [{
2052
+ type: i0.HostListener,
2053
+ args: ['focus', ['$event']]
2054
+ }], _emitOnBlurEvent: [{
2055
+ type: i0.HostListener,
2056
+ args: ['blur', ['$event']]
2057
+ }], __hostClass: [{
2058
+ type: i0.HostBinding,
2059
+ args: ['class']
2060
+ }] } });
2061
+
2062
+ var AXButtonGroupComponent = /** @class */ (function (_super) {
2063
+ __extends(AXButtonGroupComponent, _super);
2064
+ function AXButtonGroupComponent(elementRef, zone, cdr) {
2065
+ var _this = _super.call(this, elementRef, cdr) || this;
2066
+ _this.zone = zone;
2067
+ _this.selectionChange = new i0.EventEmitter();
2068
+ _this.colorChange = new i0.EventEmitter();
2069
+ _this._color = 'primary';
2070
+ _this.lookChange = new i0.EventEmitter();
2071
+ _this._look = null;
2072
+ _this.onItemClick = new i0.EventEmitter();
2073
+ _this.onValueChanged = new i0.EventEmitter();
2074
+ return _this;
2075
+ }
2076
+ Object.defineProperty(AXButtonGroupComponent.prototype, "selection", {
2077
+ get: function () {
2078
+ return this._selection;
2079
+ },
2080
+ set: function (value) {
2081
+ value = this.onOptionChanging({ name: 'selection', value: value });
2082
+ var oldValue = this.selection;
2083
+ if (value != oldValue) {
2084
+ this._selection = value;
2085
+ this.selectionChange.emit(value);
2086
+ this.onOptionChanged({ name: 'selection', oldValue: oldValue, newValue: value });
2087
+ }
2088
+ },
2089
+ enumerable: false,
2090
+ configurable: true
2091
+ });
2092
+ Object.defineProperty(AXButtonGroupComponent.prototype, "color", {
2093
+ /**
2094
+ * Predefined color schemes
2095
+ */
2096
+ get: function () {
2097
+ return this._color;
2098
+ },
2099
+ set: function (value) {
2100
+ value = this.onOptionChanging({ name: 'color', value: value });
2101
+ var oldValue = this.color;
2102
+ if (value != oldValue) {
2103
+ this._color = value;
2104
+ this.colorChange.emit(value);
2105
+ this.onOptionChanged({ name: 'value', oldValue: oldValue, newValue: value });
2106
+ }
2107
+ },
2108
+ enumerable: false,
2109
+ configurable: true
2110
+ });
2111
+ Object.defineProperty(AXButtonGroupComponent.prototype, "look", {
2112
+ /**
2113
+ * Predefined look schemes
2114
+ */
2115
+ get: function () {
2116
+ return this._look;
2117
+ },
2118
+ set: function (value) {
2119
+ value = this.onOptionChanging({ name: 'look', value: value });
2120
+ var oldValue = this.look;
2121
+ if (value != oldValue) {
2122
+ this._look = value;
2123
+ this.lookChange.emit(value);
2124
+ this.onOptionChanged({ name: 'look', oldValue: oldValue, newValue: value });
2125
+ }
2126
+ },
2127
+ enumerable: false,
2128
+ configurable: true
2129
+ });
2130
+ AXButtonGroupComponent.prototype.ngAfterContentInit = function () {
2131
+ this._bindEvents();
2132
+ this._bindProps();
2133
+ };
2134
+ AXButtonGroupComponent.prototype._bindEvents = function () {
2135
+ var _this = this;
2136
+ (this._contentButtons || []).forEach(function (b) {
2137
+ b.onClick.subscribe(function (c) {
2138
+ _this._handleClickEvent(c, b);
2139
+ });
2140
+ });
2141
+ };
2142
+ AXButtonGroupComponent.prototype._bindProps = function () {
2143
+ var _this = this;
2144
+ (this._contentButtons || []).forEach(function (b) {
2145
+ b.look = _this.look;
2146
+ b.color = _this.color;
2147
+ b.disabled = _this.disabled;
2148
+ b.toggleable = false;
2149
+ });
2150
+ };
2151
+ AXButtonGroupComponent.prototype.onOptionChanged = function (options) {
2152
+ this._bindProps();
2153
+ };
2154
+ AXButtonGroupComponent.prototype._handleClickEvent = function (e, button) {
2155
+ if (this.selection == 'multiple') {
2156
+ button.selected = !button.selected;
2157
+ }
2158
+ else if (this.selection == 'single') {
2159
+ this._contentButtons.forEach(function (c) {
2160
+ c.selected = false;
2161
+ });
2162
+ button.selected = true;
2163
+ }
2164
+ else {
2165
+ button.selected = false;
2166
+ }
2167
+ this.onItemClick.emit({
2168
+ component: this,
2169
+ htmlElement: e.htmlElement,
2170
+ item: button
2171
+ });
2172
+ };
2173
+ return AXButtonGroupComponent;
2174
+ }(AXInteractiveComponenetMixin));
2175
+ AXButtonGroupComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXButtonGroupComponent, deps: [{ token: i0__namespace.ElementRef }, { token: i0__namespace.NgZone }, { token: i0__namespace.ChangeDetectorRef }], target: i0__namespace.ɵɵFactoryTarget.Component });
2176
+ AXButtonGroupComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: AXButtonGroupComponent, selector: "ax-button-group", inputs: { cssClass: "cssClass", size: "size", cssStyle: "cssStyle", rtl: "rtl", disabled: "disabled", selection: "selection", color: "color", look: "look" }, outputs: { selectionChange: "selectionChange", colorChange: "colorChange", lookChange: "lookChange", onItemClick: "onItemClick" }, host: { attributes: { "role": "group" }, classAttribute: "ax-button-group" }, queries: [{ propertyName: "_contentButtons", predicate: AXButtonComponent, descendants: true }], usesInheritance: true, ngImport: i0__namespace, template: "<ng-content select=\"ax-button\">\r\n</ng-content>", changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush, encapsulation: i0__namespace.ViewEncapsulation.None });
2177
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXButtonGroupComponent, decorators: [{
2178
+ type: i0.Component,
2179
+ args: [{
2180
+ selector: 'ax-button-group',
2181
+ templateUrl: 'button-group.component.html',
2182
+ inputs: ['cssClass', 'size', 'cssStyle', 'rtl', 'disabled'],
2183
+ encapsulation: i0.ViewEncapsulation.None,
2184
+ changeDetection: i0.ChangeDetectionStrategy.OnPush,
2185
+ host: { class: 'ax-button-group', role: 'group' }
2186
+ }]
2187
+ }], ctorParameters: function () { return [{ type: i0__namespace.ElementRef }, { type: i0__namespace.NgZone }, { type: i0__namespace.ChangeDetectorRef }]; }, propDecorators: { selectionChange: [{
2188
+ type: i0.Output
2189
+ }], selection: [{
2190
+ type: i0.Input
2191
+ }], colorChange: [{
2192
+ type: i0.Output
2193
+ }], color: [{
2194
+ type: i0.Input
2195
+ }], lookChange: [{
2196
+ type: i0.Output
2197
+ }], look: [{
2198
+ type: i0.Input
2199
+ }], onItemClick: [{
2200
+ type: i0.Output
2201
+ }], _contentButtons: [{
2202
+ type: i0.ContentChildren,
2203
+ args: [AXButtonComponent, { descendants: true }]
1958
2204
  }] } });
1959
2205
 
1960
2206
  var AXBaseItemButtonMixin = _InteractiveComponenetMixin(_ClickableComponenetMixin(AXBaseComponent));
@@ -1991,7 +2237,7 @@
1991
2237
  return AXButtonItemComponent;
1992
2238
  }(AXBaseItemButtonMixin));
1993
2239
  AXButtonItemComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXButtonItemComponent, deps: [{ token: i0__namespace.ElementRef }, { token: i0__namespace.ChangeDetectorRef }], target: i0__namespace.ɵɵFactoryTarget.Component });
1994
- AXButtonItemComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: AXButtonItemComponent, selector: "ax-button-item", inputs: { text: "text", tooltip: "tooltip", selected: "selected", seperated: "seperated", name: "name", data: "data", color: "color" }, host: { listeners: { "click": "__hostClick($event)" }, properties: { "class": "this.__hostClass" }, styleAttribute: "cssStyle" }, usesInheritance: true, ngImport: i0__namespace, template: "\n <ng-content select=\"ax-prefix\">\n </ng-content>\n <ng-content select=\"ax-icon\">\n </ng-content>\n <span *ngIf=\"text\">{{text}}</span>\n <ng-content select=\"ax-suffix\">\n </ng-content>\n ", isInline: true, directives: [{ type: i1__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush, encapsulation: i0__namespace.ViewEncapsulation.None });
2240
+ AXButtonItemComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: AXButtonItemComponent, selector: "ax-button-item", inputs: { text: "text", tooltip: "tooltip", selected: "selected", seperated: "seperated", name: "name", data: "data", color: "color" }, host: { listeners: { "click": "__hostClick($event)" }, properties: { "class": "this.__hostClass" }, styleAttribute: "cssStyle" }, usesInheritance: true, ngImport: i0__namespace, template: "\n <ng-content select=\"ax-prefix\">\n </ng-content>\n <ng-content select=\"ax-icon\">\n </ng-content>\n <span *ngIf=\"text\">{{text}}</span>\n <ng-content select=\"ax-suffix\">\n </ng-content>\n ", isInline: true, directives: [{ type: i4__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush, encapsulation: i0__namespace.ViewEncapsulation.None });
1995
2241
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXButtonItemComponent, decorators: [{
1996
2242
  type: i0.Component,
1997
2243
  args: [{
@@ -2023,37 +2269,6 @@
2023
2269
  args: ['class']
2024
2270
  }] } });
2025
2271
 
2026
- var AXIconComponent = /** @class */ (function (_super) {
2027
- __extends(AXIconComponent, _super);
2028
- function AXIconComponent(elementRef, cdr) {
2029
- return _super.call(this, elementRef, cdr) || this;
2030
- }
2031
- Object.defineProperty(AXIconComponent.prototype, "iconClass", {
2032
- get: function () {
2033
- return "ax-ic " + this.icon;
2034
- },
2035
- enumerable: false,
2036
- configurable: true
2037
- });
2038
- return AXIconComponent;
2039
- }(AXSizableComponentMixin));
2040
- AXIconComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXIconComponent, deps: [{ token: i0__namespace.ElementRef }, { token: i0__namespace.ChangeDetectorRef }], target: i0__namespace.ɵɵFactoryTarget.Component });
2041
- AXIconComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: AXIconComponent, selector: "ax-icon", inputs: { icon: "icon" }, host: { properties: { "class": "this.iconClass" } }, usesInheritance: true, ngImport: i0__namespace, template: '', isInline: true, changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush, encapsulation: i0__namespace.ViewEncapsulation.None });
2042
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXIconComponent, decorators: [{
2043
- type: i0.Component,
2044
- args: [{
2045
- selector: 'ax-icon',
2046
- template: '',
2047
- changeDetection: i0.ChangeDetectionStrategy.OnPush,
2048
- encapsulation: i0.ViewEncapsulation.None,
2049
- }]
2050
- }], ctorParameters: function () { return [{ type: i0__namespace.ElementRef }, { type: i0__namespace.ChangeDetectorRef }]; }, propDecorators: { icon: [{
2051
- type: i0.Input
2052
- }], iconClass: [{
2053
- type: i0.HostBinding,
2054
- args: ['class']
2055
- }] } });
2056
-
2057
2272
  var AXDecoratorPrefixComponent = /** @class */ (function (_super) {
2058
2273
  __extends(AXDecoratorPrefixComponent, _super);
2059
2274
  function AXDecoratorPrefixComponent(elementRef, cdr) {
@@ -2062,426 +2277,115 @@
2062
2277
  return AXDecoratorPrefixComponent;
2063
2278
  }(AXBaseComponentMixin));
2064
2279
  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 });
2065
- 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-dropdown-button,ax-icon\">\n </ng-content>\n ", isInline: true, changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush, encapsulation: i0__namespace.ViewEncapsulation.None });
2280
+ 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,ax-badge\">\n </ng-content>\n ", isInline: true, changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush, encapsulation: i0__namespace.ViewEncapsulation.None });
2066
2281
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXDecoratorPrefixComponent, decorators: [{
2067
2282
  type: i0.Component,
2068
2283
  args: [{
2069
2284
  selector: 'ax-prefix',
2070
- template: "\n <ng-content select=\"ax-button,ax-loading,ax-dropdown-button,ax-icon\">\n </ng-content>\n ",
2285
+ template: "\n <ng-content select=\"ax-button,ax-loading,ax-icon,ax-badge\">\n </ng-content>\n ",
2071
2286
  changeDetection: i0.ChangeDetectionStrategy.OnPush,
2072
2287
  encapsulation: i0.ViewEncapsulation.None,
2073
2288
  host: { class: 'ax-prefix' }
2074
2289
  }]
2075
2290
  }], ctorParameters: function () { return [{ type: i0__namespace.ElementRef }, { type: i0__namespace.ChangeDetectorRef }]; } });
2076
2291
 
2077
- var AXBaseDropdownButtonMixin = _SizableComponenetMixin(_InteractiveComponenetMixin(_ClickableComponenetMixin(_ButtonComponentMixin(_DropdownComponenetMixin((AXBaseComponent))))));
2078
- var AXDropdownButtonComponent = /** @class */ (function (_super) {
2079
- __extends(AXDropdownButtonComponent, _super);
2080
- function AXDropdownButtonComponent(_elementRef, _cdr, _overlay, _platform, _viewContainerRef) {
2081
- var _this = _super.call(this, _elementRef, _cdr) || this;
2082
- _this._overlay = _overlay;
2083
- _this._platform = _platform;
2084
- _this._viewContainerRef = _viewContainerRef;
2085
- _this.onItemClick = new i0.EventEmitter();
2086
- _this._subs = [];
2087
- _this.dropdownIcon = 'ax-ic-chevron ax-transform ax--rotate-90';
2088
- _this.splited = true;
2089
- return _this;
2090
- }
2091
- Object.defineProperty(AXDropdownButtonComponent.prototype, "items", {
2092
- get: function () {
2093
- return this._items || [];
2094
- },
2095
- set: function (v) {
2096
- this._items = v;
2097
- this._cdr.markForCheck();
2098
- },
2099
- enumerable: false,
2100
- configurable: true
2101
- });
2102
- AXDropdownButtonComponent.prototype._getAllButtons = function () {
2103
- return __spreadArray(__spreadArray([], __read(Array.from(this._viewButtons))), __read(Array.from(this._contentButtons)));
2104
- };
2105
- AXDropdownButtonComponent.prototype.onViewInit = function () {
2106
- var _this = this;
2107
- this._getAllButtons().forEach(function (c) {
2108
- _this._subs.push(c.onClick.subscribe(_this._handleOnItemClick.bind(_this)));
2109
- });
2110
- };
2111
- AXDropdownButtonComponent.prototype.onDestroy = function () {
2112
- var _a, _b;
2113
- (_a = this._overlayRef) === null || _a === void 0 ? void 0 : _a.detach();
2114
- (_b = this._overlayRef) === null || _b === void 0 ? void 0 : _b.dispose();
2115
- this._subs.forEach(function (s) {
2116
- s === null || s === void 0 ? void 0 : s.unsubscribe();
2117
- });
2118
- };
2119
- AXDropdownButtonComponent.prototype._handleKeydownHandler = function (e) {
2120
- if (e.key === 'Enter' && e.type === 'keydown') {
2121
- this.toggle();
2122
- }
2123
- if (e.key === 'Escape') {
2124
- if (this.isOpen) {
2125
- this.close();
2126
- e.stopPropagation();
2127
- }
2128
- }
2129
- };
2130
- AXDropdownButtonComponent.prototype._emitOnClickEvent = function (e) {
2131
- if (!this.splited) {
2132
- this.toggle();
2133
- }
2134
- else {
2135
- _super.prototype._emitOnClickEvent.call(this, e);
2136
- }
2137
- };
2138
- AXDropdownButtonComponent.prototype._handleArrowClickEvent = function (e) {
2139
- this.toggle();
2140
- };
2141
- AXDropdownButtonComponent.prototype._emitOnItemClickEvent = function (e, item) {
2142
- this.onItemClick.emit({
2143
- component: this,
2144
- htmlElement: this._getHostElement(),
2145
- nativeEvent: e.nativeEvent,
2146
- name: item.name,
2147
- data: item.data,
2148
- });
2149
- this.close();
2150
- };
2151
- AXDropdownButtonComponent.prototype._handleOnItemClick = function (e) {
2152
- this.close();
2153
- this._emitOnItemClickEvent(e, e.component);
2154
- };
2155
- AXDropdownButtonComponent.prototype.toggle = function () {
2156
- if (this.disabled !== true) {
2157
- this.isOpen ? this.close() : this.open();
2158
- }
2159
- };
2160
- AXDropdownButtonComponent.prototype.close = function () {
2161
- var _a, _b;
2162
- if (!this.isOpen) {
2163
- return;
2164
- }
2165
- (_a = this._overlayRef) === null || _a === void 0 ? void 0 : _a.detach();
2166
- (_b = this._subs[1]) === null || _b === void 0 ? void 0 : _b.unsubscribe();
2167
- this._emitOnClosedEvent();
2168
- };
2169
- AXDropdownButtonComponent.prototype.open = function () {
2170
- if (this.isOpen) {
2171
- return;
2172
- }
2173
- this._ensureOverlayCreated();
2174
- this._overlayRef.attach(this._templatePortal);
2175
- this._emitOnOpenedEvent();
2176
- };
2177
- AXDropdownButtonComponent.prototype._ensureOverlayCreated = function () {
2178
- var _this = this;
2179
- var baseSize = Number(getComputedStyle(document.documentElement).getPropertyValue('--ax-base-size').replace('px', '')) / 2;
2180
- if (!this._overlayRef) {
2181
- var positionStrategy = this._overlay.position()
2182
- .flexibleConnectedTo(this._getInnerElement())
2183
- .withPositions([
2184
- {
2185
- originX: 'start',
2186
- originY: 'bottom',
2187
- overlayX: 'start',
2188
- overlayY: 'top',
2189
- offsetY: baseSize
2190
- },
2191
- {
2192
- originX: 'start',
2193
- originY: 'top',
2194
- overlayX: 'start',
2195
- overlayY: 'bottom'
2196
- }
2197
- ])
2198
- .withPush(false);
2199
- this._overlayRef = this._overlay.create({
2200
- positionStrategy: positionStrategy,
2201
- scrollStrategy: this._overlay.scrollStrategies.close(),
2202
- panelClass: ['animate__animated', 'animate__fadeIn', 'animate__faster'],
2203
- hasBackdrop: false,
2204
- backdropClass: ['cdk-overlay-transparent-backdrop']
2205
- });
2206
- this._subs[0] = this._overlayRef._outsidePointerEvents.subscribe(function (c) {
2207
- var target = c.target;
2208
- var comElem = _this._getHostElement();
2209
- if (!(comElem.contains(target))) {
2210
- _this.close();
2211
- }
2212
- });
2213
- this._subs[1] = this._overlayRef.attachments().subscribe(function () {
2214
- if (_this.fitParent === true) {
2215
- _this._dropdownWidth = _this._getHostElement().offsetWidth;
2216
- }
2217
- else {
2218
- _this._dropdownWidth = _this._getHostElement().offsetWidth * 1.5;
2219
- }
2220
- _this._subs[2] = _this._platform.scroll.subscribe(function (c) {
2221
- if (!c.nativeEvent.target.closest('.ax-overlay-pane'))
2222
- _this.close();
2223
- });
2224
- });
2225
- }
2226
- if (!this._templatePortal) {
2227
- this._templatePortal = new i1$1.TemplatePortal(this._baseTemplate, this._viewContainerRef);
2228
- }
2229
- };
2230
- Object.defineProperty(AXDropdownButtonComponent.prototype, "isOpen", {
2231
- get: function () {
2232
- return this._overlayRef ? this._overlayRef.hasAttached() : false;
2233
- },
2234
- enumerable: false,
2235
- configurable: true
2236
- });
2237
- return AXDropdownButtonComponent;
2238
- }(AXBaseDropdownButtonMixin));
2239
- AXDropdownButtonComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXDropdownButtonComponent, deps: [{ token: i0__namespace.ElementRef }, { token: i0__namespace.ChangeDetectorRef }, { token: i1__namespace$1.Overlay }, { token: i2__namespace.AXPlatform }, { token: i0__namespace.ViewContainerRef }], target: i0__namespace.ɵɵFactoryTarget.Component });
2240
- AXDropdownButtonComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: AXDropdownButtonComponent, selector: "ax-dropdown-button", inputs: { disabled: "disabled", tabIndex: "tabIndex", size: "size", cssClass: "cssClass", text: "text", submitBehavior: "submitBehavior", cancelBehavior: "cancelBehavior", color: "color", look: "look", toggleable: "toggleable", selected: "selected", items: "items", dropdownIcon: "dropdownIcon", splited: "splited" }, outputs: { onClick: "onClick", onBlur: "onBlur", onFocus: "onFocus", onItemClick: "onItemClick" }, host: { listeners: { "keydown": "_handleKeydownHandler($event)" }, classAttribute: "ax-dropdown-button" }, queries: [{ propertyName: "_contentButtons", predicate: AXButtonItemComponent }], viewQueries: [{ propertyName: "_baseTemplate", first: true, predicate: ["baseTemplate"], descendants: true }, { propertyName: "_viewButtons", predicate: AXButtonItemComponent, descendants: true }], usesInheritance: true, ngImport: i0__namespace, template: "<button [ngClass]=\"_classes\" class=\"{{cssClass}}\" [disabled]=\"disabled\" [tabindex]=\"tabIndex\" [attr.style]=\"cssStyle\"\r\n (click)=\"_emitOnClickEvent($event)\" (focus)=\"_emitOnFocusEvent($event)\" (blur)=\"_emitOnBlurEvent($event)\">\r\n <ng-content select=\"ax-loading\">\r\n </ng-content>\r\n <ng-content select=\"ax-prefix\">\r\n </ng-content>\r\n <ng-content select=\"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-container *ngIf=\"!splited\">\r\n <ax-icon [icon]=\"dropdownIcon\"></ax-icon>\r\n </ng-container>\r\n</button>\r\n<button class=\"ax-button ax-dropdown-arrow {{cssClass}}\" (click)=\"_handleArrowClickEvent($event)\" *ngIf=\"splited\">\r\n <ax-icon [icon]=\"dropdownIcon\"></ax-icon>\r\n</button>\r\n<ng-template #baseTemplate>\r\n <div class=\"ax-overlay-pane ax-dropdown-list\" [style.min-width.px]=\"_dropdownWidth\">\r\n <ng-container *ngIf=\"items && items.length;else panelTpl\">\r\n <ax-button-item [text]=\"item.text\" [color]=\"item.color\" *ngFor=\"let item of items\">\r\n <ax-prefix *ngIf=\"item.iconClass\">\r\n <ax-icon [icon]=\"item.iconClass\"></ax-icon>\r\n </ax-prefix>\r\n </ax-button-item>\r\n </ng-container>\r\n <ng-template #panelTpl>\r\n <ng-content select=\"ng-container[panel],ax-button-item\">\r\n </ng-content>\r\n </ng-template>\r\n </div>\r\n</ng-template>", components: [{ type: AXIconComponent, selector: "ax-icon", inputs: ["icon"] }, { type: AXButtonItemComponent, selector: "ax-button-item", inputs: ["text", "tooltip", "selected", "seperated", "name", "data", "color"] }, { type: AXDecoratorPrefixComponent, selector: "ax-prefix" }], directives: [{ type: i1__namespace.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { 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 });
2241
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXDropdownButtonComponent, decorators: [{
2242
- type: i0.Component,
2243
- args: [{
2244
- selector: 'ax-dropdown-button',
2245
- templateUrl: 'dropdown-button.component.html',
2246
- inputs: __spreadArray(['disabled', 'tabIndex', 'size', 'cssClass'], __read(BUTTON_INPUTS)),
2247
- outputs: ['onClick', 'onBlur', 'onFocus'],
2248
- encapsulation: i0.ViewEncapsulation.None,
2249
- changeDetection: i0.ChangeDetectionStrategy.OnPush,
2250
- host: { class: 'ax-dropdown-button' }
2251
- }]
2252
- }], ctorParameters: function () { return [{ type: i0__namespace.ElementRef }, { type: i0__namespace.ChangeDetectorRef }, { type: i1__namespace$1.Overlay }, { type: i2__namespace.AXPlatform }, { type: i0__namespace.ViewContainerRef }]; }, propDecorators: { _contentButtons: [{
2253
- type: i0.ContentChildren,
2254
- args: [AXButtonItemComponent]
2255
- }], _viewButtons: [{
2256
- type: i0.ViewChildren,
2257
- args: [AXButtonItemComponent]
2258
- }], onItemClick: [{
2259
- type: i0.Output
2260
- }], items: [{
2261
- type: i0.Input
2262
- }], _baseTemplate: [{
2263
- type: i0.ViewChild,
2264
- args: ['baseTemplate']
2265
- }], dropdownIcon: [{
2266
- type: i0.Input
2267
- }], splited: [{
2268
- type: i0.Input
2269
- }], _handleKeydownHandler: [{
2270
- type: i0.HostListener,
2271
- args: ['keydown', ['$event']]
2272
- }] } });
2273
-
2274
- var AXButtonGroupComponent = /** @class */ (function (_super) {
2275
- __extends(AXButtonGroupComponent, _super);
2276
- function AXButtonGroupComponent(elementRef, zone, cdr) {
2277
- var _this = _super.call(this, elementRef, cdr) || this;
2278
- _this.zone = zone;
2279
- _this.selectionChange = new i0.EventEmitter();
2280
- _this.colorChange = new i0.EventEmitter();
2281
- _this._color = 'primary';
2282
- _this.lookChange = new i0.EventEmitter();
2283
- _this._look = null;
2284
- _this.onItemClick = new i0.EventEmitter();
2285
- return _this;
2286
- }
2287
- Object.defineProperty(AXButtonGroupComponent.prototype, "selection", {
2288
- get: function () {
2289
- return this._selection;
2290
- },
2291
- set: function (value) {
2292
- value = this.onOptionChanging({ name: 'selection', value: value });
2293
- var oldValue = this.selection;
2294
- if (value != oldValue) {
2295
- this._selection = value;
2296
- this.selectionChange.emit(value);
2297
- this.onOptionChanged({ name: 'selection', oldValue: oldValue, newValue: value });
2298
- }
2299
- },
2300
- enumerable: false,
2301
- configurable: true
2302
- });
2303
- Object.defineProperty(AXButtonGroupComponent.prototype, "color", {
2304
- /**
2305
- * Predefined color schemes
2306
- */
2307
- get: function () {
2308
- return this._color;
2309
- },
2310
- set: function (value) {
2311
- value = this.onOptionChanging({ name: 'color', value: value });
2312
- var oldValue = this.color;
2313
- if (value != oldValue) {
2314
- this._color = value;
2315
- this.colorChange.emit(value);
2316
- this.onOptionChanged({ name: 'value', oldValue: oldValue, newValue: value });
2317
- }
2318
- },
2319
- enumerable: false,
2320
- configurable: true
2321
- });
2322
- Object.defineProperty(AXButtonGroupComponent.prototype, "look", {
2323
- /**
2324
- * Predefined look schemes
2325
- */
2326
- get: function () {
2327
- return this._look;
2328
- },
2329
- set: function (value) {
2330
- value = this.onOptionChanging({ name: 'look', value: value });
2331
- var oldValue = this.look;
2332
- if (value != oldValue) {
2333
- this._look = value;
2334
- this.lookChange.emit(value);
2335
- this.onOptionChanged({ name: 'look', oldValue: oldValue, newValue: value });
2336
- }
2337
- },
2338
- enumerable: false,
2339
- configurable: true
2340
- });
2341
- AXButtonGroupComponent.prototype.ngAfterContentInit = function () {
2342
- this._bindEvents();
2343
- this._bindProps();
2344
- };
2345
- AXButtonGroupComponent.prototype._bindEvents = function () {
2346
- var _this = this;
2347
- (this._contentButtons || []).forEach(function (b) {
2348
- b.onClick.subscribe(function (c) {
2349
- _this._handleClickEvent(c, b);
2350
- });
2351
- });
2352
- };
2353
- AXButtonGroupComponent.prototype._bindProps = function () {
2354
- var _this = this;
2355
- (this._contentButtons || []).forEach(function (b) {
2356
- b.look = _this.look;
2357
- b.color = _this.color;
2358
- b.disabled = _this.disabled;
2359
- b.toggleable = false;
2360
- });
2361
- };
2362
- AXButtonGroupComponent.prototype.onOptionChanged = function (options) {
2363
- this._bindProps();
2364
- };
2365
- AXButtonGroupComponent.prototype._handleClickEvent = function (e, button) {
2366
- if (this.selection == 'multiple') {
2367
- button.selected = !button.selected;
2368
- }
2369
- else if (this.selection == 'single') {
2370
- this._contentButtons.forEach(function (c) {
2371
- c.selected = false;
2372
- });
2373
- button.selected = true;
2374
- }
2375
- else {
2376
- button.selected = false;
2377
- }
2378
- this.onItemClick.emit({
2379
- component: this,
2380
- htmlElement: e.htmlElement,
2381
- data: e.data,
2382
- nativeEvent: e.nativeEvent
2383
- });
2384
- };
2385
- return AXButtonGroupComponent;
2386
- }(AXInteractiveComponenetMixin));
2387
- AXButtonGroupComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXButtonGroupComponent, deps: [{ token: i0__namespace.ElementRef }, { token: i0__namespace.NgZone }, { token: i0__namespace.ChangeDetectorRef }], target: i0__namespace.ɵɵFactoryTarget.Component });
2388
- AXButtonGroupComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: AXButtonGroupComponent, selector: "ax-button-group", inputs: { cssClass: "cssClass", size: "size", cssStyle: "cssStyle", rtl: "rtl", disabled: "disabled", selection: "selection", color: "color", look: "look" }, outputs: { selectionChange: "selectionChange", colorChange: "colorChange", lookChange: "lookChange", onItemClick: "onItemClick" }, host: { attributes: { "role": "group" }, classAttribute: "ax-button-group" }, queries: [{ propertyName: "_contentButtons", predicate: AXButtonComponent, descendants: true }], usesInheritance: true, ngImport: i0__namespace, template: "<ng-content select=\"ax-button\">\r\n</ng-content>", changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush, encapsulation: i0__namespace.ViewEncapsulation.None });
2389
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXButtonGroupComponent, decorators: [{
2390
- type: i0.Component,
2391
- args: [{
2392
- selector: 'ax-button-group',
2393
- templateUrl: 'button-group.component.html',
2394
- inputs: ['cssClass', 'size', 'cssStyle', 'rtl', 'disabled'],
2395
- encapsulation: i0.ViewEncapsulation.None,
2396
- changeDetection: i0.ChangeDetectionStrategy.OnPush,
2397
- host: { class: 'ax-button-group', role: 'group' }
2398
- }]
2399
- }], ctorParameters: function () { return [{ type: i0__namespace.ElementRef }, { type: i0__namespace.NgZone }, { type: i0__namespace.ChangeDetectorRef }]; }, propDecorators: { selectionChange: [{
2400
- type: i0.Output
2401
- }], selection: [{
2402
- type: i0.Input
2403
- }], colorChange: [{
2404
- type: i0.Output
2405
- }], color: [{
2406
- type: i0.Input
2407
- }], lookChange: [{
2408
- type: i0.Output
2409
- }], look: [{
2410
- type: i0.Input
2411
- }], onItemClick: [{
2412
- type: i0.Output
2413
- }], _contentButtons: [{
2414
- type: i0.ContentChildren,
2415
- args: [AXButtonComponent, { descendants: true }]
2416
- }] } });
2417
-
2418
- var AXDecoratorSuffixComponent = /** @class */ (function (_super) {
2419
- __extends(AXDecoratorSuffixComponent, _super);
2420
- function AXDecoratorSuffixComponent(elementRef, cdr) {
2421
- return _super.call(this, elementRef, cdr) || this;
2292
+ var AXDecoratorSuffixComponent = /** @class */ (function (_super) {
2293
+ __extends(AXDecoratorSuffixComponent, _super);
2294
+ function AXDecoratorSuffixComponent(elementRef, cdr) {
2295
+ return _super.call(this, elementRef, cdr) || this;
2422
2296
  }
2423
2297
  return AXDecoratorSuffixComponent;
2424
2298
  }(AXBaseComponentMixin));
2425
2299
  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 });
2426
- 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-dropdown-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 });
2300
+ 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,ax-icon,ax-badge\">\n </ng-content>\n ", isInline: true, changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush, encapsulation: i0__namespace.ViewEncapsulation.None });
2427
2301
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXDecoratorSuffixComponent, decorators: [{
2428
2302
  type: i0.Component,
2429
2303
  args: [{
2430
2304
  selector: 'ax-suffix',
2431
- template: "\n <ng-content select=\"ax-button\">\n </ng-content>\n <ng-content select=\"ax-dropdown-button\">\n </ng-content>\n <ng-content select=\"ax-icon\">\n </ng-content>\n ",
2305
+ template: "\n <ng-content select=\"ax-button,ax-icon,ax-badge\">\n </ng-content>\n ",
2432
2306
  changeDetection: i0.ChangeDetectionStrategy.OnPush,
2433
2307
  encapsulation: i0.ViewEncapsulation.None,
2434
2308
  host: { class: 'ax-suffix' }
2435
2309
  }]
2436
2310
  }], ctorParameters: function () { return [{ type: i0__namespace.ElementRef }, { type: i0__namespace.ChangeDetectorRef }]; } });
2437
2311
 
2438
- var COMPONENT$i = [AXDecoratorPrefixComponent, AXDecoratorSuffixComponent];
2439
- var MODULES$i = [i1.CommonModule];
2312
+ var COMPONENT$k = [AXDecoratorPrefixComponent, AXDecoratorSuffixComponent];
2313
+ var MODULES$k = [i4.CommonModule];
2440
2314
  var AXEditorDecoratorModule = /** @class */ (function () {
2441
2315
  function AXEditorDecoratorModule() {
2442
2316
  }
2443
2317
  return AXEditorDecoratorModule;
2444
2318
  }());
2445
2319
  AXEditorDecoratorModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXEditorDecoratorModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
2446
- 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] });
2447
- AXEditorDecoratorModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXEditorDecoratorModule, providers: [], imports: [__spreadArray([], __read(MODULES$i))] });
2320
+ AXEditorDecoratorModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXEditorDecoratorModule, declarations: [AXDecoratorPrefixComponent, AXDecoratorSuffixComponent], imports: [i4.CommonModule], exports: [AXDecoratorPrefixComponent, AXDecoratorSuffixComponent] });
2321
+ AXEditorDecoratorModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXEditorDecoratorModule, providers: [], imports: [__spreadArray([], __read(MODULES$k))] });
2448
2322
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXEditorDecoratorModule, decorators: [{
2449
2323
  type: i0.NgModule,
2450
2324
  args: [{
2451
- declarations: __spreadArray([], __read(COMPONENT$i)),
2452
- imports: __spreadArray([], __read(MODULES$i)),
2453
- exports: __spreadArray([], __read(COMPONENT$i)),
2325
+ declarations: __spreadArray([], __read(COMPONENT$k)),
2326
+ imports: __spreadArray([], __read(MODULES$k)),
2327
+ exports: __spreadArray([], __read(COMPONENT$k)),
2454
2328
  providers: [],
2455
2329
  }]
2456
2330
  }] });
2457
2331
 
2458
- var COMPONENT$h = [AXIconComponent];
2459
- var MODULES$h = [i1.CommonModule];
2332
+ var AXIconComponent = /** @class */ (function (_super) {
2333
+ __extends(AXIconComponent, _super);
2334
+ function AXIconComponent(elementRef, cdr) {
2335
+ return _super.call(this, elementRef, cdr) || this;
2336
+ }
2337
+ Object.defineProperty(AXIconComponent.prototype, "__iconClass", {
2338
+ get: function () {
2339
+ return "ax-ic " + this.icon;
2340
+ },
2341
+ enumerable: false,
2342
+ configurable: true
2343
+ });
2344
+ return AXIconComponent;
2345
+ }(AXSizableComponentMixin));
2346
+ AXIconComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXIconComponent, deps: [{ token: i0__namespace.ElementRef }, { token: i0__namespace.ChangeDetectorRef }], target: i0__namespace.ɵɵFactoryTarget.Component });
2347
+ AXIconComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: AXIconComponent, selector: "ax-icon", inputs: { icon: "icon" }, host: { properties: { "class": "this.__iconClass" } }, usesInheritance: true, ngImport: i0__namespace, template: '', isInline: true, changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush, encapsulation: i0__namespace.ViewEncapsulation.None });
2348
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXIconComponent, decorators: [{
2349
+ type: i0.Component,
2350
+ args: [{
2351
+ selector: 'ax-icon',
2352
+ template: '',
2353
+ changeDetection: i0.ChangeDetectionStrategy.OnPush,
2354
+ encapsulation: i0.ViewEncapsulation.None,
2355
+ }]
2356
+ }], ctorParameters: function () { return [{ type: i0__namespace.ElementRef }, { type: i0__namespace.ChangeDetectorRef }]; }, propDecorators: { icon: [{
2357
+ type: i0.Input
2358
+ }], __iconClass: [{
2359
+ type: i0.HostBinding,
2360
+ args: ['class']
2361
+ }] } });
2362
+
2363
+ var COMPONENT$j = [AXIconComponent];
2364
+ var MODULES$j = [i4.CommonModule];
2460
2365
  var AXIconModule = /** @class */ (function () {
2461
2366
  function AXIconModule() {
2462
2367
  }
2463
2368
  return AXIconModule;
2464
2369
  }());
2465
2370
  AXIconModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXIconModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
2466
- 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] });
2467
- AXIconModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXIconModule, providers: [], imports: [__spreadArray([], __read(MODULES$h))] });
2371
+ AXIconModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXIconModule, declarations: [AXIconComponent], imports: [i4.CommonModule], exports: [AXIconComponent] });
2372
+ AXIconModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXIconModule, providers: [], imports: [__spreadArray([], __read(MODULES$j))] });
2468
2373
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXIconModule, decorators: [{
2469
2374
  type: i0.NgModule,
2470
2375
  args: [{
2471
- declarations: __spreadArray([], __read(COMPONENT$h)),
2472
- imports: __spreadArray([], __read(MODULES$h)),
2473
- exports: __spreadArray([], __read(COMPONENT$h)),
2376
+ declarations: __spreadArray([], __read(COMPONENT$j)),
2377
+ imports: __spreadArray([], __read(MODULES$j)),
2378
+ exports: __spreadArray([], __read(COMPONENT$j)),
2474
2379
  providers: [],
2475
2380
  }]
2476
2381
  }] });
2477
2382
 
2478
- var COMPONENT$g = [
2383
+ var COMPONENT$i = [
2479
2384
  AXButtonComponent,
2480
- AXDropdownButtonComponent,
2481
2385
  AXButtonItemComponent,
2482
2386
  AXButtonGroupComponent,
2483
2387
  ];
2484
- var MODULES$g = [i1.CommonModule, AXIconModule, AXEditorDecoratorModule];
2388
+ var MODULES$i = [i4.CommonModule, AXIconModule, AXEditorDecoratorModule];
2485
2389
  var AXButtonModule = /** @class */ (function () {
2486
2390
  function AXButtonModule() {
2487
2391
  }
@@ -2489,19 +2393,17 @@
2489
2393
  }());
2490
2394
  AXButtonModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXButtonModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
2491
2395
  AXButtonModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXButtonModule, declarations: [AXButtonComponent,
2492
- AXDropdownButtonComponent,
2493
2396
  AXButtonItemComponent,
2494
- AXButtonGroupComponent], imports: [i1.CommonModule, AXIconModule, AXEditorDecoratorModule], exports: [AXButtonComponent,
2495
- AXDropdownButtonComponent,
2397
+ AXButtonGroupComponent], imports: [i4.CommonModule, AXIconModule, AXEditorDecoratorModule], exports: [AXButtonComponent,
2496
2398
  AXButtonItemComponent,
2497
2399
  AXButtonGroupComponent] });
2498
- AXButtonModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXButtonModule, providers: [], imports: [[MODULES$g]] });
2400
+ AXButtonModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXButtonModule, providers: [], imports: [[MODULES$i]] });
2499
2401
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXButtonModule, decorators: [{
2500
2402
  type: i0.NgModule,
2501
2403
  args: [{
2502
- imports: [MODULES$g],
2503
- exports: [COMPONENT$g],
2504
- declarations: [COMPONENT$g],
2404
+ imports: [MODULES$i],
2405
+ exports: [COMPONENT$i],
2406
+ declarations: [COMPONENT$i],
2505
2407
  providers: [],
2506
2408
  }]
2507
2409
  }] });
@@ -2510,74 +2412,331 @@
2510
2412
  __extends(AXCalendarComponent, _super);
2511
2413
  function AXCalendarComponent(elementRef, cdr) {
2512
2414
  var _this = _super.call(this, elementRef, cdr) || this;
2513
- _this.actionBar = false;
2514
- _this.showTime = false;
2515
- _this.dayItems = new Array(32);
2516
- _this.yearItems = [1990];
2517
- _this.monthItems = [
2518
- 'January',
2519
- 'February',
2520
- 'March',
2521
- 'April',
2522
- 'May',
2523
- 'June',
2524
- 'July',
2525
- 'August',
2526
- 'September',
2527
- 'October',
2528
- 'November',
2529
- 'December',
2530
- ];
2531
- _this.createYears();
2415
+ _this.cdr = cdr;
2416
+ _this._today = new i2.AXDateTime(new Date());
2417
+ _this._navText = '';
2418
+ _this._todayText = '';
2419
+ _this._slots = [];
2420
+ _this._activeView = 'days';
2421
+ _this.depthChange = new i0.EventEmitter();
2422
+ _this._depth = 'days';
2532
2423
  return _this;
2533
2424
  }
2534
- AXCalendarComponent.prototype.ngAfterViewInit = function () {
2425
+ Object.defineProperty(AXCalendarComponent.prototype, "_viewRange", {
2426
+ get: function () {
2427
+ var current = this._viewStartDate || this._today;
2428
+ switch (this.activeView) {
2429
+ case 'years':
2430
+ var y = current.startOf('year').year;
2431
+ var min = y - (y % 10) - 1;
2432
+ var max = min + 11;
2433
+ 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()));
2434
+ case 'months':
2435
+ //TODO: check add month function
2436
+ return new i2.AXDateTimeRange(current.startOf('year'), current.endOf('year').add('month', 4).add('day', -1));
2437
+ default:
2438
+ //return new AXDateTimeRange(current.startOf('month').startOf('week'), current.endOf('month').endOf('week'));
2439
+ return new i2.AXDateTimeRange(current.startOf('month'), current.endOf('month'));
2440
+ }
2441
+ },
2442
+ enumerable: false,
2443
+ configurable: true
2444
+ });
2445
+ Object.defineProperty(AXCalendarComponent.prototype, "activeView", {
2446
+ get: function () {
2447
+ return this._activeView;
2448
+ },
2449
+ set: function (v) {
2450
+ this._activeView = v;
2451
+ this._genearteSlots();
2452
+ },
2453
+ enumerable: false,
2454
+ configurable: true
2455
+ });
2456
+ Object.defineProperty(AXCalendarComponent.prototype, "depth", {
2457
+ get: function () {
2458
+ return this._depth;
2459
+ },
2460
+ set: function (v) {
2461
+ this._depth = v;
2462
+ this._activeView = v;
2463
+ this.depthChange.emit(v);
2464
+ this._genearteSlots();
2465
+ },
2466
+ enumerable: false,
2467
+ configurable: true
2468
+ });
2469
+ Object.defineProperty(AXCalendarComponent.prototype, "min", {
2470
+ get: function () {
2471
+ return this._min;
2472
+ },
2473
+ set: function (v) {
2474
+ this._min = v;
2475
+ },
2476
+ enumerable: false,
2477
+ configurable: true
2478
+ });
2479
+ Object.defineProperty(AXCalendarComponent.prototype, "max", {
2480
+ get: function () {
2481
+ return this._max;
2482
+ },
2483
+ set: function (v) {
2484
+ this._max = v;
2485
+ },
2486
+ enumerable: false,
2487
+ configurable: true
2488
+ });
2489
+ Object.defineProperty(AXCalendarComponent.prototype, "disabledDates", {
2490
+ get: function () {
2491
+ return this._disabledDates;
2492
+ },
2493
+ set: function (v) {
2494
+ this._disabledDates = v;
2495
+ },
2496
+ enumerable: false,
2497
+ configurable: true
2498
+ });
2499
+ Object.defineProperty(AXCalendarComponent.prototype, "holidayDates", {
2500
+ get: function () {
2501
+ return this._holidayDates;
2502
+ },
2503
+ set: function (v) {
2504
+ this._holidayDates = v;
2505
+ },
2506
+ enumerable: false,
2507
+ configurable: true
2508
+ });
2509
+ AXCalendarComponent.prototype.onInit = function () {
2510
+ this.goToday();
2535
2511
  };
2536
- AXCalendarComponent.prototype.createYears = function () {
2537
- var number = 1990;
2538
- for (var i = 0; i < 40; i++) {
2539
- number = number + 1;
2540
- this.yearItems.push(number);
2512
+ AXCalendarComponent.prototype._genearteSlots = function () {
2513
+ var _this = this;
2514
+ if (!this._viewStartDate)
2515
+ return;
2516
+ var vr = this._viewRange;
2517
+ // year view
2518
+ if (this.activeView == 'years') {
2519
+ var a = vr.enumurate('year');
2520
+ this._slots = a.map(function (d, i) {
2521
+ var r = {};
2522
+ r.date = d.date;
2523
+ r.text = d.format('YYYY');
2524
+ r.disabled = (_this.min && d.compare(_this.min, 'year') == -1) || (_this.max && d.compare(_this.max, 'year') == 1);
2525
+ if (r.disabled) {
2526
+ r.cssClass = {
2527
+ 'ax-state-disabled': r.disabled,
2528
+ };
2529
+ }
2530
+ else {
2531
+ r.cssClass = {
2532
+ 'ax-state-today': d.equal(_this._today, 'year'),
2533
+ 'ax-state-selected': _this.value && _this.depth == 'years' && d.equal(_this.value, 'year'),
2534
+ };
2535
+ }
2536
+ return r;
2537
+ });
2538
+ this._navText = vr.startTime.year + " - " + vr.endTime.year;
2539
+ this._todayText = this._today.format('YYYY');
2540
+ }
2541
+ // month view
2542
+ else if (this.activeView == 'months') {
2543
+ var a = vr.enumurate('month');
2544
+ this._slots = a.map(function (d, i) {
2545
+ var r = {};
2546
+ r.date = d.date;
2547
+ r.text = d.format('MMM');
2548
+ r.tooltip = d.format('MMMM YYYY');
2549
+ r.disabled = (_this.min && d.compare(_this.min, 'month') == -1) || (_this.max && d.compare(_this.max, 'month') == 1);
2550
+ if (r.disabled) {
2551
+ r.cssClass = {
2552
+ 'ax-state-disabled': r.disabled,
2553
+ };
2554
+ }
2555
+ else {
2556
+ r.cssClass = {
2557
+ 'ax-state-today': d.equal(_this._today, 'month'),
2558
+ 'ax-state-selected': _this.value && _this.depth == 'months' && d.equal(_this.value, 'month'),
2559
+ 'ax-state-other': d.year != _this._viewStartDate.year
2560
+ };
2561
+ }
2562
+ return r;
2563
+ });
2564
+ this._navText = this._viewStartDate.format('YYYY');
2565
+ this._todayText = this._today.format('MMMM YYYY');
2566
+ }
2567
+ // day view
2568
+ else {
2569
+ var a = vr.enumurate('day');
2570
+ this._slots = a.map(function (d, i) {
2571
+ var r = {};
2572
+ r.date = d.date;
2573
+ r.text = d.dayOfMonth;
2574
+ r.tooltip = d.format();
2575
+ r.disabled = (_this.min && d.compare(_this.min, 'day') == -1) || (_this.max && d.compare(_this.max, 'day') == 1);
2576
+ if (r.disabled || _this.isDisabled(d)) {
2577
+ r.cssClass = {
2578
+ 'ax-state-disabled': true,
2579
+ };
2580
+ }
2581
+ else {
2582
+ r.cssClass = {
2583
+ 'ax-state-today': d.equal(_this._today, 'day'),
2584
+ 'ax-state-selected': _this.value && d.equal(_this.value, 'day'),
2585
+ 'ax-state-holiday': _this.isHoliday(d) || _this.isWeekend(d),
2586
+ // 'ax-state-event-info': d.dayOfMonth == 12,
2587
+ // 'ax-state-event': d.dayOfMonth == 12,
2588
+ };
2589
+ }
2590
+ r.cssClass["ax-col-start-" + vr.startTime.dayOfWeek] = i == 0;
2591
+ return r;
2592
+ });
2593
+ this._navText = this._viewStartDate.format('MMMM YYYY');
2594
+ this._todayText = this._today.format('DDDD, MMMM dd, YYYY');
2595
+ }
2596
+ };
2597
+ AXCalendarComponent.prototype._handlePrevClick = function (e) {
2598
+ this.prev();
2599
+ };
2600
+ AXCalendarComponent.prototype._handleNextClick = function (e) {
2601
+ this.next();
2602
+ };
2603
+ AXCalendarComponent.prototype._handleSlotClick = function (slot) {
2604
+ if (slot.disabled || this.disabled)
2605
+ return;
2606
+ if (this.activeView == 'days') {
2607
+ this.value = slot.date;
2608
+ }
2609
+ else if (this.activeView == 'months' && this.depth == 'days') {
2610
+ this.activeView = 'days';
2611
+ this.navTo(slot.date);
2612
+ }
2613
+ else if (this.activeView == 'months' && this.depth == 'months') {
2614
+ this.value = slot.date;
2541
2615
  }
2616
+ else if (this.activeView == 'years' && (this.depth == 'days' || this.depth == 'months')) {
2617
+ this.activeView = 'months';
2618
+ this.navTo(slot.date);
2619
+ }
2620
+ else if (this.activeView == 'years' && this.depth == 'years') {
2621
+ this.value = slot.date;
2622
+ }
2623
+ };
2624
+ AXCalendarComponent.prototype._handleNavClick = function (e) {
2625
+ if (this.activeView == 'days')
2626
+ this.activeView = 'months';
2627
+ else if (this.activeView == 'months')
2628
+ this.activeView = 'years';
2629
+ };
2630
+ AXCalendarComponent.prototype._onValueChanged = function (oldValue, newValue) {
2631
+ this._genearteSlots();
2632
+ };
2633
+ AXCalendarComponent.prototype._handleGoToday = function () {
2634
+ this.value = this._today.date;
2635
+ this.goToday();
2636
+ };
2637
+ AXCalendarComponent.prototype.next = function () {
2638
+ this._navNextPrev(false);
2639
+ };
2640
+ AXCalendarComponent.prototype.prev = function () {
2641
+ this._navNextPrev(true);
2642
+ };
2643
+ AXCalendarComponent.prototype._navNextPrev = function (prev) {
2644
+ var sign = (prev ? -1 : 1);
2645
+ if (this.activeView == 'days')
2646
+ this.navTo(this._viewStartDate.add('month', sign * 1));
2647
+ else if (this.activeView == 'months')
2648
+ this.navTo(this._viewStartDate.add('year', sign * 1));
2649
+ else
2650
+ this.navTo(this._viewStartDate.add('year', sign * 12));
2651
+ };
2652
+ AXCalendarComponent.prototype.goToday = function () {
2653
+ this.navTo(this._today.startOf());
2654
+ };
2655
+ AXCalendarComponent.prototype.navTo = function (date) {
2656
+ this._viewStartDate = i2.AXDateTime.convert(date, this._today.calendar.name());
2657
+ this._genearteSlots();
2658
+ };
2659
+ Object.defineProperty(AXCalendarComponent.prototype, "__hostClass", {
2660
+ get: function () {
2661
+ var _classes = {
2662
+ 'ax-state-disabled': this.disabled
2663
+ };
2664
+ return Object.entries(_classes).filter(function (c) { return c[1]; }).map(function (c) { return c[0]; }).join(' ');
2665
+ },
2666
+ enumerable: false,
2667
+ configurable: true
2668
+ });
2669
+ AXCalendarComponent.prototype.isDisabled = function (date) {
2670
+ if (Array.isArray(this.disabledDates) && this.disabledDates.length != 0) {
2671
+ debugger;
2672
+ return this.disabledDates.some(function (d) { return date.equal(d, 'day'); });
2673
+ }
2674
+ else if (typeof this.disabledDates == 'function') {
2675
+ return this.disabledDates(date.date);
2676
+ }
2677
+ return false;
2678
+ };
2679
+ AXCalendarComponent.prototype.isHoliday = function (date) {
2680
+ if (Array.isArray(this.holidayDates) && this.holidayDates.length != 0) {
2681
+ return this.holidayDates.some(function (d) { return date.equal(d, 'day'); });
2682
+ }
2683
+ else if (typeof this.holidayDates == 'function') {
2684
+ return this.holidayDates(date.date);
2685
+ }
2686
+ return false;
2687
+ };
2688
+ AXCalendarComponent.prototype.isWeekend = function (date) {
2689
+ return date.dayOfWeek == 7 || date.dayOfWeek == 1;
2542
2690
  };
2543
2691
  return AXCalendarComponent;
2544
- }(AXCalendarMixin));
2692
+ }(AXCalendarComponentMixin));
2545
2693
  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 });
2546
- 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 cssClass=\"ax-nav-button\" text=\"October 2021\" color=\"light\" look=\"blank\"></ax-button>\r\n <ax-button cssClass=\"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 cssClass=\"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", "cssClass", "cssStyle", "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 });
2694
+ 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: i4__namespace.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { type: i4__namespace.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { type: i4__namespace.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i4__namespace.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i4__namespace.NgSwitchDefault, selector: "[ngSwitchDefault]" }], changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush, encapsulation: i0__namespace.ViewEncapsulation.None });
2547
2695
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXCalendarComponent, decorators: [{
2548
2696
  type: i0.Component,
2549
2697
  args: [{
2550
2698
  selector: 'ax-calendar',
2551
2699
  templateUrl: './calendar.component.html',
2552
2700
  changeDetection: i0.ChangeDetectionStrategy.OnPush,
2553
- inputs: ['disabled', 'tabIndex', 'size', 'cssClass', 'cssStyle'],
2701
+ inputs: __spreadArray(__spreadArray([], __read(VALUE_INPUTS)), __read(INTERACTIVE_INPUTS)),
2702
+ outputs: __spreadArray(__spreadArray([], __read(VALUE_OUTPUT)), __read(INTERACTIVE_OUTPUT)),
2554
2703
  encapsulation: i0.ViewEncapsulation.None,
2555
2704
  }]
2556
- }], ctorParameters: function () { return [{ type: i0__namespace.ElementRef }, { type: i0__namespace.ChangeDetectorRef }]; }, propDecorators: { days: [{
2557
- type: i0.ViewChild,
2558
- args: ['days']
2559
- }], actionBar: [{
2705
+ }], ctorParameters: function () { return [{ type: i0__namespace.ElementRef }, { type: i0__namespace.ChangeDetectorRef }]; }, propDecorators: { activeView: [{
2560
2706
  type: i0.Input
2561
- }], showTime: [{
2707
+ }], depthChange: [{
2708
+ type: i0.Output
2709
+ }], depth: [{
2710
+ type: i0.Input
2711
+ }], min: [{
2712
+ type: i0.Input
2713
+ }], max: [{
2714
+ type: i0.Input
2715
+ }], disabledDates: [{
2562
2716
  type: i0.Input
2717
+ }], holidayDates: [{
2718
+ type: i0.Input
2719
+ }], __hostClass: [{
2720
+ type: i0.HostBinding,
2721
+ args: ['class']
2563
2722
  }] } });
2564
2723
 
2565
- var COMPONENT$f = [AXCalendarComponent];
2566
- var MODULES$f = [i1.CommonModule, AXButtonModule, AXEditorDecoratorModule, AXIconModule];
2724
+ var COMPONENT$h = [AXCalendarComponent];
2725
+ var MODULES$h = [i4.CommonModule, AXButtonModule, AXIconModule, AXEditorDecoratorModule, i2.AXDateTimeModule];
2567
2726
  var AXCalendarModule = /** @class */ (function () {
2568
2727
  function AXCalendarModule() {
2569
2728
  }
2570
2729
  return AXCalendarModule;
2571
2730
  }());
2572
2731
  AXCalendarModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXCalendarModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
2573
- 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] });
2574
- AXCalendarModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXCalendarModule, providers: [], imports: [__spreadArray([], __read(MODULES$f))] });
2732
+ AXCalendarModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXCalendarModule, declarations: [AXCalendarComponent], imports: [i4.CommonModule, AXButtonModule, AXIconModule, AXEditorDecoratorModule, i2.AXDateTimeModule], exports: [AXCalendarComponent] });
2733
+ AXCalendarModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXCalendarModule, providers: [], imports: [__spreadArray([], __read(MODULES$h))] });
2575
2734
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXCalendarModule, decorators: [{
2576
2735
  type: i0.NgModule,
2577
2736
  args: [{
2578
- declarations: __spreadArray([], __read(COMPONENT$f)),
2579
- imports: __spreadArray([], __read(MODULES$f)),
2580
- exports: __spreadArray([], __read(COMPONENT$f)),
2737
+ declarations: __spreadArray([], __read(COMPONENT$h)),
2738
+ imports: __spreadArray([], __read(MODULES$h)),
2739
+ exports: __spreadArray([], __read(COMPONENT$h)),
2581
2740
  providers: [],
2582
2741
  }]
2583
2742
  }] });
@@ -3077,7 +3236,7 @@
3077
3236
  return AXCarouselPagerComponent;
3078
3237
  }(AXBaseComponentMixin));
3079
3238
  AXCarouselPagerComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXCarouselPagerComponent, deps: [{ token: i0__namespace.ElementRef }, { token: i0__namespace.ChangeDetectorRef }, { token: AXCarouselComponent }], target: i0__namespace.ɵɵFactoryTarget.Component });
3080
- AXCarouselPagerComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: AXCarouselPagerComponent, selector: "ax-carousel-pager", host: { classAttribute: "ax-carousel-pager" }, usesInheritance: true, ngImport: i0__namespace, template: "\n <button *ngFor=\"let d of _dots;let i=index\" [class.ax-state-active]=\"i==_pageIndex\" (click)=\"_handleClick($event,i)\">\n </button>\n ", isInline: true, directives: [{ type: i1__namespace.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }], changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush, encapsulation: i0__namespace.ViewEncapsulation.None });
3239
+ AXCarouselPagerComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: AXCarouselPagerComponent, selector: "ax-carousel-pager", host: { classAttribute: "ax-carousel-pager" }, usesInheritance: true, ngImport: i0__namespace, template: "\n <button *ngFor=\"let d of _dots;let i=index\" [class.ax-state-active]=\"i==_pageIndex\" (click)=\"_handleClick($event,i)\">\n </button>\n ", isInline: true, directives: [{ type: i4__namespace.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }], changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush, encapsulation: i0__namespace.ViewEncapsulation.None });
3081
3240
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXCarouselPagerComponent, decorators: [{
3082
3241
  type: i0.Component,
3083
3242
  args: [{
@@ -3089,22 +3248,22 @@
3089
3248
  }]
3090
3249
  }], ctorParameters: function () { return [{ type: i0__namespace.ElementRef }, { type: i0__namespace.ChangeDetectorRef }, { type: AXCarouselComponent }]; } });
3091
3250
 
3092
- var COMPONENT$e = [AXCarouselComponent, AXCarouselItemComponent, AXCarouselArrowsComponent, AXCarouselPagerComponent];
3093
- var MODULES$e = [i1.CommonModule];
3251
+ var COMPONENT$g = [AXCarouselComponent, AXCarouselItemComponent, AXCarouselArrowsComponent, AXCarouselPagerComponent];
3252
+ var MODULES$g = [i4.CommonModule];
3094
3253
  var AXCarouselModule = /** @class */ (function () {
3095
3254
  function AXCarouselModule() {
3096
3255
  }
3097
3256
  return AXCarouselModule;
3098
3257
  }());
3099
3258
  AXCarouselModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXCarouselModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
3100
- 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] });
3101
- AXCarouselModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXCarouselModule, providers: [], imports: [__spreadArray([], __read(MODULES$e))] });
3259
+ AXCarouselModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXCarouselModule, declarations: [AXCarouselComponent, AXCarouselItemComponent, AXCarouselArrowsComponent, AXCarouselPagerComponent], imports: [i4.CommonModule], exports: [AXCarouselComponent, AXCarouselItemComponent, AXCarouselArrowsComponent, AXCarouselPagerComponent] });
3260
+ AXCarouselModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXCarouselModule, providers: [], imports: [__spreadArray([], __read(MODULES$g))] });
3102
3261
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXCarouselModule, decorators: [{
3103
3262
  type: i0.NgModule,
3104
3263
  args: [{
3105
- declarations: __spreadArray([], __read(COMPONENT$e)),
3106
- imports: __spreadArray([], __read(MODULES$e)),
3107
- exports: __spreadArray([], __read(COMPONENT$e)),
3264
+ declarations: __spreadArray([], __read(COMPONENT$g)),
3265
+ imports: __spreadArray([], __read(MODULES$g)),
3266
+ exports: __spreadArray([], __read(COMPONENT$g)),
3108
3267
  providers: [],
3109
3268
  }]
3110
3269
  }] });
@@ -3133,7 +3292,7 @@
3133
3292
  return AXCheckBoxComponent;
3134
3293
  }(AXBaseValueComponentMixin));
3135
3294
  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 });
3136
- 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-3 ax-text-sm ax-flex ax-flex-col\">\r\n <label [for]=\"_id\" class=\"ax-font-medium ax-text-gray-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 });
3295
+ 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 });
3137
3296
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXCheckBoxComponent, decorators: [{
3138
3297
  type: i0.Component,
3139
3298
  args: [{
@@ -3154,13 +3313,13 @@
3154
3313
  return AXCheckBoxModule;
3155
3314
  }());
3156
3315
  AXCheckBoxModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXCheckBoxModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
3157
- 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] });
3158
- AXCheckBoxModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXCheckBoxModule, providers: [], imports: [[i1.CommonModule, i3.FormsModule]] });
3316
+ AXCheckBoxModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXCheckBoxModule, declarations: [AXCheckBoxComponent], imports: [i4.CommonModule, i3.FormsModule], exports: [AXCheckBoxComponent] });
3317
+ AXCheckBoxModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXCheckBoxModule, providers: [], imports: [[i4.CommonModule, i3.FormsModule]] });
3159
3318
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXCheckBoxModule, decorators: [{
3160
3319
  type: i0.NgModule,
3161
3320
  args: [{
3162
3321
  declarations: [AXCheckBoxComponent],
3163
- imports: [i1.CommonModule, i3.FormsModule],
3322
+ imports: [i4.CommonModule, i3.FormsModule],
3164
3323
  exports: [AXCheckBoxComponent],
3165
3324
  providers: [],
3166
3325
  }]
@@ -3226,7 +3385,7 @@
3226
3385
  return AXDataListComponent;
3227
3386
  }(AXBaseSelectionValueMixin));
3228
3387
  AXDataListComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXDataListComponent, deps: [{ token: i0__namespace.ElementRef }, { token: i0__namespace.ChangeDetectorRef }], target: i0__namespace.ɵɵFactoryTarget.Component });
3229
- AXDataListComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: AXDataListComponent, selector: "ax-datalist", inputs: { disabled: "disabled", readonly: "readonly", tabIndex: "tabIndex", size: "size", value: "value", items: "items", pageSize: "pageSize", itemTemplate: "itemTemplate", emptyTemplate: "emptyTemplate", loadingTemplate: "loadingTemplate" }, outputs: { valueChange: "valueChange", onValueChanged: "onValueChanged", onBlur: "onBlur", onFocus: "onFocus" }, host: { classAttribute: "ax-list ax-list-container" }, queries: [{ propertyName: "_contentItemTemplate", first: true, predicate: ["itemTemplate"], descendants: true, static: true }, { propertyName: "_contentEmptyTemplate", first: true, predicate: ["emptyTemplate"], descendants: true, static: true }, { propertyName: "_contentloadingTemplate", first: true, predicate: ["loadingTemplate"], descendants: true, static: true }], viewQueries: [{ propertyName: "_container", first: true, predicate: ["container"], descendants: true }], usesInheritance: true, ngImport: i0__namespace, template: "<div class=\"ax-list-items-container ax-default ax-vertical\" (scroll)=\"_handleListScroll($event)\" #container>\r\n <ng-container *ngFor=\"let item of displayItems;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\" (click)=\"_handleOnItemClick($event,item)\">\r\n {{ item ? _getItemDisplayTextTemplte(item) : 'Loading...'}}\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>", directives: [{ type: i1__namespace.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { 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 });
3388
+ AXDataListComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: AXDataListComponent, selector: "ax-datalist", inputs: { disabled: "disabled", readonly: "readonly", tabIndex: "tabIndex", size: "size", value: "value", items: "items", pageSize: "pageSize", itemTemplate: "itemTemplate", emptyTemplate: "emptyTemplate", loadingTemplate: "loadingTemplate" }, outputs: { valueChange: "valueChange", onValueChanged: "onValueChanged", onBlur: "onBlur", onFocus: "onFocus" }, host: { classAttribute: "ax-list ax-list-container" }, queries: [{ propertyName: "_contentItemTemplate", first: true, predicate: ["itemTemplate"], descendants: true, static: true }, { propertyName: "_contentEmptyTemplate", first: true, predicate: ["emptyTemplate"], descendants: true, static: true }, { propertyName: "_contentloadingTemplate", first: true, predicate: ["loadingTemplate"], descendants: true, static: true }], viewQueries: [{ propertyName: "_container", first: true, predicate: ["container"], descendants: true }], usesInheritance: true, ngImport: i0__namespace, template: "<div class=\"ax-list-items-container ax-default ax-vertical\" (scroll)=\"_handleListScroll($event)\" #container>\r\n <ng-container *ngFor=\"let item of displayItems;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\" (click)=\"_handleOnItemClick($event,item)\">\r\n {{ item ? _getItemDisplayTextTemplte(item) : 'Loading...'}}\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>", directives: [{ type: i4__namespace.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i4__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i4__namespace.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }], changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush, encapsulation: i0__namespace.ViewEncapsulation.None });
3230
3389
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXDataListComponent, decorators: [{
3231
3390
  type: i0.Component,
3232
3391
  args: [{
@@ -3240,181 +3399,413 @@
3240
3399
  }]
3241
3400
  }], ctorParameters: function () { return [{ type: i0__namespace.ElementRef }, { type: i0__namespace.ChangeDetectorRef }]; }, propDecorators: { _container: [{
3242
3401
  type: i0.ViewChild,
3243
- args: ['container']
3244
- }], _contentItemTemplate: [{
3245
- type: i0.ContentChild,
3246
- args: ['itemTemplate', { static: true }]
3247
- }], itemTemplate: [{
3402
+ args: ['container']
3403
+ }], _contentItemTemplate: [{
3404
+ type: i0.ContentChild,
3405
+ args: ['itemTemplate', { static: true }]
3406
+ }], itemTemplate: [{
3407
+ type: i0.Input
3408
+ }], _contentEmptyTemplate: [{
3409
+ type: i0.ContentChild,
3410
+ args: ['emptyTemplate', { static: true }]
3411
+ }], emptyTemplate: [{
3412
+ type: i0.Input
3413
+ }], _contentloadingTemplate: [{
3414
+ type: i0.ContentChild,
3415
+ args: ['loadingTemplate', { static: true }]
3416
+ }], loadingTemplate: [{
3417
+ type: i0.Input
3418
+ }] } });
3419
+
3420
+ var COMPONENT$f = [AXDataListComponent];
3421
+ var MODULES$f = [i4.CommonModule, AXButtonModule];
3422
+ var AXDataListModule = /** @class */ (function () {
3423
+ function AXDataListModule() {
3424
+ }
3425
+ return AXDataListModule;
3426
+ }());
3427
+ AXDataListModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXDataListModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
3428
+ AXDataListModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXDataListModule, declarations: [AXDataListComponent], imports: [i4.CommonModule, AXButtonModule], exports: [AXDataListComponent] });
3429
+ AXDataListModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXDataListModule, providers: [], imports: [__spreadArray([], __read(MODULES$f))] });
3430
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXDataListModule, decorators: [{
3431
+ type: i0.NgModule,
3432
+ args: [{
3433
+ declarations: __spreadArray([], __read(COMPONENT$f)),
3434
+ imports: __spreadArray([], __read(MODULES$f)),
3435
+ exports: __spreadArray([], __read(COMPONENT$f)),
3436
+ providers: [],
3437
+ }]
3438
+ }] });
3439
+
3440
+ var AXPopoverComponent = /** @class */ (function (_super) {
3441
+ __extends(AXPopoverComponent, _super);
3442
+ function AXPopoverComponent(_elementRef, _cdr, _zone, _overlay, _platform, _viewContainerRef) {
3443
+ var _this = _super.call(this, _elementRef, _cdr) || this;
3444
+ _this._cdr = _cdr;
3445
+ _this._zone = _zone;
3446
+ _this._overlay = _overlay;
3447
+ _this._platform = _platform;
3448
+ _this._viewContainerRef = _viewContainerRef;
3449
+ _this.position = [
3450
+ {
3451
+ originX: 'start',
3452
+ originY: 'bottom',
3453
+ overlayX: 'start',
3454
+ overlayY: 'top',
3455
+ },
3456
+ {
3457
+ originX: 'start',
3458
+ originY: 'top',
3459
+ overlayX: 'start',
3460
+ overlayY: 'bottom'
3461
+ }
3462
+ ];
3463
+ _this._subs = [];
3464
+ //
3465
+ _this.openTrigger = 'toggle';
3466
+ //
3467
+ _this.closeTrigger = 'clickout';
3468
+ //
3469
+ _this.hasBackdrop = false;
3470
+ //
3471
+ _this._mousePos = { x: 0, y: 0 };
3472
+ _this._isScrollAttached = false;
3473
+ //
3474
+ _this.onOpened = new i0.EventEmitter();
3475
+ _this.onClosed = new i0.EventEmitter();
3476
+ return _this;
3477
+ }
3478
+ Object.defineProperty(AXPopoverComponent.prototype, "target", {
3479
+ get: function () {
3480
+ return this._target;
3481
+ },
3482
+ set: function (v) {
3483
+ if (v instanceof HTMLElement)
3484
+ this._target = v;
3485
+ else if (v instanceof i0.ElementRef)
3486
+ this._target = v.nativeElement;
3487
+ else if (v instanceof AXBaseComponent)
3488
+ this._target = v._getInnerElement();
3489
+ },
3490
+ enumerable: false,
3491
+ configurable: true
3492
+ });
3493
+ AXPopoverComponent.prototype._emitOnOpenedEvent = function () {
3494
+ this.onOpened.emit({
3495
+ component: this,
3496
+ htmlElement: this._getHostElement()
3497
+ });
3498
+ };
3499
+ AXPopoverComponent.prototype._emitOnClosedEvent = function () {
3500
+ this.onClosed.emit({
3501
+ component: this,
3502
+ htmlElement: this._getHostElement()
3503
+ });
3504
+ };
3505
+ //
3506
+ AXPopoverComponent.prototype.onViewInit = function () {
3507
+ var _this = this;
3508
+ if (this._target) {
3509
+ if (this.openTrigger === 'mouseover') {
3510
+ var mouseEnter$ = rxjs.fromEvent(this._target, 'mouseover');
3511
+ this._addSub(mouseEnter$.subscribe(function (e) {
3512
+ var point = { x: e.clientX, y: e.clientY };
3513
+ if (i2.AXDrawingUtil.isInElementBound(point, _this._target))
3514
+ _this.open();
3515
+ }));
3516
+ }
3517
+ if (this.closeTrigger === 'mouseout') {
3518
+ var mouseMove$ = rxjs.fromEvent(document, 'mousemove');
3519
+ this._addSub(mouseMove$.pipe(operators.throttleTime(50)).subscribe(function (e) {
3520
+ _this._mousePos.x = e.clientX;
3521
+ _this._mousePos.y = e.clientY;
3522
+ if (_this.isOpen) {
3523
+ setTimeout(function () {
3524
+ if (!___default['default'].some([_this._target, _this._overlayRef.overlayElement], function (el) { return ___default['default'].includes(document.elementsFromPoint(_this._mousePos.x, _this._mousePos.y), el); }))
3525
+ _this.close();
3526
+ }, 100);
3527
+ }
3528
+ }));
3529
+ }
3530
+ //
3531
+ if (this.openTrigger === 'click' || this.openTrigger === 'toggle') {
3532
+ var click$ = rxjs.fromEvent(this._target, 'click');
3533
+ this._addSub(click$.subscribe(function (e) {
3534
+ _this.openTrigger == 'toggle' ? _this.toggle() : _this.open();
3535
+ }));
3536
+ }
3537
+ }
3538
+ };
3539
+ //
3540
+ AXPopoverComponent.prototype.onDestroy = function () {
3541
+ var _a, _b;
3542
+ (_a = this._overlayRef) === null || _a === void 0 ? void 0 : _a.detach();
3543
+ (_b = this._overlayRef) === null || _b === void 0 ? void 0 : _b.dispose();
3544
+ this._subs.forEach(function (s) {
3545
+ s === null || s === void 0 ? void 0 : s.unsubscribe();
3546
+ });
3547
+ };
3548
+ AXPopoverComponent.prototype._handleKeydownHandler = function (e) {
3549
+ if (e.key === 'Enter' && e.type === 'keydown') {
3550
+ this.toggle();
3551
+ }
3552
+ if (e.key === 'Escape') {
3553
+ if (this.isOpen) {
3554
+ this.close();
3555
+ e.stopPropagation();
3556
+ }
3557
+ }
3558
+ };
3559
+ //
3560
+ AXPopoverComponent.prototype.toggle = function () {
3561
+ this.isOpen ? this.close() : this.open();
3562
+ };
3563
+ //
3564
+ AXPopoverComponent.prototype.close = function () {
3565
+ var _a;
3566
+ if (!this.isOpen) {
3567
+ return;
3568
+ }
3569
+ (_a = this._overlayRef) === null || _a === void 0 ? void 0 : _a.detach();
3570
+ this._emitOnClosedEvent();
3571
+ };
3572
+ //
3573
+ AXPopoverComponent.prototype.open = function () {
3574
+ if (this.isOpen) {
3575
+ return;
3576
+ }
3577
+ this._ensureOverlayCreated();
3578
+ this._overlayRef.attach(this._templatePortal);
3579
+ this._emitOnOpenedEvent();
3580
+ };
3581
+ AXPopoverComponent.prototype._ensureOverlayCreated = function () {
3582
+ var _this = this;
3583
+ var targetRef = this._target;
3584
+ if (!targetRef)
3585
+ return;
3586
+ if (!this._overlayRef) {
3587
+ var positionStrategy = this._overlay.position()
3588
+ .flexibleConnectedTo(targetRef)
3589
+ .withPositions(Array.isArray(this.position) ? this.position : [this.position])
3590
+ .withPush(false);
3591
+ this._overlayRef = this._overlay.create({
3592
+ positionStrategy: positionStrategy,
3593
+ scrollStrategy: this._overlay.scrollStrategies.close(),
3594
+ panelClass: ['ax-animate-fadeIn', 'ax-animate-faster'],
3595
+ hasBackdrop: this.hasBackdrop,
3596
+ backdropClass: [this.backdropClass || 'cdk-overlay-transparent-backdrop']
3597
+ });
3598
+ if (this.closeTrigger == 'clickout') {
3599
+ this._addSub(this._overlayRef._outsidePointerEvents.subscribe(function (c) {
3600
+ var target = c.target;
3601
+ var comElem = targetRef;
3602
+ if (!(comElem.contains(target))) {
3603
+ _this.close();
3604
+ }
3605
+ }));
3606
+ }
3607
+ this._addSub(this._overlayRef.attachments().subscribe(function () {
3608
+ if (!_this._isScrollAttached) {
3609
+ _this._addSub(_this._platform.scroll.subscribe(function (c) {
3610
+ // if (!(c.nativeEvent.target as HTMLElement).closest('.ax-overlay-pane'))
3611
+ _this.close();
3612
+ }));
3613
+ _this._isScrollAttached = true;
3614
+ }
3615
+ }));
3616
+ }
3617
+ if (!this._templatePortal) {
3618
+ this._templatePortal = new i1.TemplatePortal(this._baseTemplate, this._viewContainerRef);
3619
+ }
3620
+ };
3621
+ Object.defineProperty(AXPopoverComponent.prototype, "isOpen", {
3622
+ get: function () {
3623
+ return this._overlayRef ? this._overlayRef.hasAttached() : false;
3624
+ },
3625
+ enumerable: false,
3626
+ configurable: true
3627
+ });
3628
+ AXPopoverComponent.prototype._addSub = function (sub) {
3629
+ this._subs.push(sub);
3630
+ };
3631
+ return AXPopoverComponent;
3632
+ }(AXBaseComponent));
3633
+ AXPopoverComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXPopoverComponent, deps: [{ token: i0__namespace.ElementRef }, { token: i0__namespace.ChangeDetectorRef }, { token: i0__namespace.NgZone }, { token: i1__namespace.Overlay }, { token: i2__namespace.AXPlatform }, { token: i0__namespace.ViewContainerRef }], target: i0__namespace.ɵɵFactoryTarget.Component });
3634
+ AXPopoverComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: AXPopoverComponent, selector: "ax-popover", inputs: { target: "target", position: "position", openTrigger: "openTrigger", closeTrigger: "closeTrigger", hasBackdrop: "hasBackdrop", backdropClass: "backdropClass" }, host: { listeners: { "document:keydown": "_handleKeydownHandler($event)" } }, viewQueries: [{ propertyName: "_baseTemplate", first: true, predicate: ["baseTemplate"], descendants: true }], usesInheritance: true, ngImport: i0__namespace, template: "<ng-template #baseTemplate>\r\n <ng-content></ng-content>\r\n</ng-template>", changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush, encapsulation: i0__namespace.ViewEncapsulation.None });
3635
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXPopoverComponent, decorators: [{
3636
+ type: i0.Component,
3637
+ args: [{
3638
+ selector: 'ax-popover',
3639
+ templateUrl: './popover.component.html',
3640
+ encapsulation: i0.ViewEncapsulation.None,
3641
+ changeDetection: i0.ChangeDetectionStrategy.OnPush,
3642
+ }]
3643
+ }], ctorParameters: function () { return [{ type: i0__namespace.ElementRef }, { type: i0__namespace.ChangeDetectorRef }, { type: i0__namespace.NgZone }, { type: i1__namespace.Overlay }, { type: i2__namespace.AXPlatform }, { type: i0__namespace.ViewContainerRef }]; }, propDecorators: { target: [{
3644
+ type: i0.Input
3645
+ }], position: [{
3646
+ type: i0.Input
3647
+ }], _baseTemplate: [{
3648
+ type: i0.ViewChild,
3649
+ args: ['baseTemplate']
3650
+ }], openTrigger: [{
3248
3651
  type: i0.Input
3249
- }], _contentEmptyTemplate: [{
3250
- type: i0.ContentChild,
3251
- args: ['emptyTemplate', { static: true }]
3252
- }], emptyTemplate: [{
3652
+ }], closeTrigger: [{
3253
3653
  type: i0.Input
3254
- }], _contentloadingTemplate: [{
3255
- type: i0.ContentChild,
3256
- args: ['loadingTemplate', { static: true }]
3257
- }], loadingTemplate: [{
3654
+ }], hasBackdrop: [{
3655
+ type: i0.Input
3656
+ }], backdropClass: [{
3258
3657
  type: i0.Input
3658
+ }], _handleKeydownHandler: [{
3659
+ type: i0.HostListener,
3660
+ args: ['document:keydown', ['$event']]
3259
3661
  }] } });
3260
3662
 
3261
- var COMPONENT$d = [AXDataListComponent];
3262
- var MODULES$d = [i1.CommonModule, AXButtonModule];
3263
- var AXDataListModule = /** @class */ (function () {
3264
- function AXDataListModule() {
3663
+ var AXPopoverModule = /** @class */ (function () {
3664
+ function AXPopoverModule() {
3265
3665
  }
3266
- return AXDataListModule;
3666
+ return AXPopoverModule;
3267
3667
  }());
3268
- AXDataListModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXDataListModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
3269
- 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] });
3270
- AXDataListModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXDataListModule, providers: [], imports: [__spreadArray([], __read(MODULES$d))] });
3271
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXDataListModule, decorators: [{
3668
+ AXPopoverModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXPopoverModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
3669
+ AXPopoverModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXPopoverModule, declarations: [AXPopoverComponent], imports: [i4.CommonModule], exports: [AXPopoverComponent] });
3670
+ AXPopoverModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXPopoverModule, providers: [], imports: [[i4.CommonModule]] });
3671
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXPopoverModule, decorators: [{
3272
3672
  type: i0.NgModule,
3273
3673
  args: [{
3274
- declarations: __spreadArray([], __read(COMPONENT$d)),
3275
- imports: __spreadArray([], __read(MODULES$d)),
3276
- exports: __spreadArray([], __read(COMPONENT$d)),
3277
- providers: [],
3674
+ declarations: [AXPopoverComponent],
3675
+ imports: [i4.CommonModule],
3676
+ exports: [AXPopoverComponent],
3677
+ providers: []
3278
3678
  }]
3279
3679
  }] });
3280
3680
 
3281
- var AXDropdownComponent = /** @class */ (function (_super) {
3282
- __extends(AXDropdownComponent, _super);
3283
- function AXDropdownComponent(_elementRef, _cdr, _overlay, _platform, _viewContainerRef) {
3284
- var _this = _super.call(this, _elementRef, _cdr) || this;
3285
- _this._overlay = _overlay;
3286
- _this._platform = _platform;
3287
- _this._viewContainerRef = _viewContainerRef;
3288
- _this._subs = [];
3681
+ var AXBaseDropdownMixin = _SizableComponenetMixin(_InteractiveComponenetMixin(AXBaseComponent));
3682
+ var AXBaseDropDownComponent = /** @class */ (function (_super) {
3683
+ __extends(AXBaseDropDownComponent, _super);
3684
+ function AXBaseDropDownComponent() {
3685
+ var _this = _super.apply(this, __spreadArray([], __read(arguments))) || this;
3686
+ _this.fitParent = true;
3687
+ _this.onOpened = new i0.EventEmitter();
3688
+ _this.onClosed = new i0.EventEmitter();
3689
+ _this.position = [];
3289
3690
  return _this;
3290
3691
  }
3291
- AXDropdownComponent.prototype.onViewInit = function () {
3692
+ AXBaseDropDownComponent.prototype._emitOnOpenedEvent = function () {
3693
+ //** call from interactive mixin **//
3694
+ //(this as any).focus();
3695
+ //
3696
+ this.onOpened.emit({
3697
+ component: this,
3698
+ htmlElement: this._getHostElement()
3699
+ });
3292
3700
  };
3293
- AXDropdownComponent.prototype.ngOnDestroy = function () {
3294
- var _a, _b;
3295
- (_a = this._overlayRef) === null || _a === void 0 ? void 0 : _a.detach();
3296
- (_b = this._overlayRef) === null || _b === void 0 ? void 0 : _b.dispose();
3297
- this._subs.forEach(function (s) {
3298
- s === null || s === void 0 ? void 0 : s.unsubscribe();
3701
+ AXBaseDropDownComponent.prototype._emitOnClosedEvent = function () {
3702
+ this.onClosed.emit({
3703
+ component: this,
3704
+ htmlElement: this._getHostElement()
3299
3705
  });
3300
3706
  };
3301
- AXDropdownComponent.prototype._handleKeydownHandler = function (e) {
3302
- if (e.key === 'Enter' && e.type === 'keydown') {
3303
- this.toggle();
3304
- }
3305
- if (e.key === 'Escape') {
3306
- if (this.isOpen) {
3307
- this.close();
3308
- e.stopPropagation();
3707
+ AXBaseDropDownComponent.prototype.onViewInit = function () {
3708
+ var _this = this;
3709
+ if (this.dropdownWidth == null) {
3710
+ if (this.fitParent === true) {
3711
+ this.dropdownWidth = this._getInnerElement().offsetWidth;
3309
3712
  }
3310
3713
  }
3714
+ // wait for documentElement
3715
+ setTimeout(function () {
3716
+ var _a;
3717
+ if (_this.position.length == 0) {
3718
+ var offset = Number(getComputedStyle(document.documentElement).getPropertyValue('--ax-base-size').replace('px', ''));
3719
+ var list = [
3720
+ {
3721
+ originX: 'start',
3722
+ originY: 'bottom',
3723
+ overlayX: 'start',
3724
+ overlayY: 'top',
3725
+ offsetY: offset
3726
+ },
3727
+ {
3728
+ originX: 'start',
3729
+ originY: 'top',
3730
+ overlayX: 'start',
3731
+ overlayY: 'bottom',
3732
+ offsetY: -offset
3733
+ }
3734
+ ];
3735
+ (_a = _this.position).push.apply(_a, __spreadArray([], __read(list)));
3736
+ }
3737
+ }, 500);
3311
3738
  };
3312
- AXDropdownComponent.prototype._handleArrowClickEvent = function () {
3313
- this.toggle();
3314
- };
3315
- AXDropdownComponent.prototype.toggle = function () {
3316
- if (this.disabled !== true && this.readonly !== true) {
3317
- this.isOpen ? this.close() : this.open();
3739
+ AXBaseDropDownComponent.prototype.toggle = function () {
3740
+ if (this.disabled !== true) {
3741
+ this.popover.toggle();
3318
3742
  }
3319
3743
  };
3320
- AXDropdownComponent.prototype.close = function () {
3321
- var _a, _b;
3322
- if (!this.isOpen) {
3744
+ AXBaseDropDownComponent.prototype.close = function () {
3745
+ if (!this.isOpen || this.disabled) {
3323
3746
  return;
3324
3747
  }
3325
- (_a = this._overlayRef) === null || _a === void 0 ? void 0 : _a.detach();
3326
- (_b = this._subs[1]) === null || _b === void 0 ? void 0 : _b.unsubscribe();
3748
+ this.popover.close();
3327
3749
  this._emitOnClosedEvent();
3328
3750
  };
3329
- AXDropdownComponent.prototype.open = function () {
3330
- if (this.isOpen) {
3751
+ AXBaseDropDownComponent.prototype.open = function () {
3752
+ if (this.isOpen || this.disabled) {
3331
3753
  return;
3332
3754
  }
3333
- this._ensureOverlayCreated();
3334
- this._overlayRef.attach(this._templatePortal);
3755
+ this.popover.open();
3335
3756
  this._emitOnOpenedEvent();
3336
3757
  };
3337
- AXDropdownComponent.prototype._ensureOverlayCreated = function () {
3338
- var _this = this;
3339
- var baseSize = Number(getComputedStyle(document.documentElement).getPropertyValue('--ax-base-size').replace('px', '')) / 2;
3340
- if (!this._overlayRef) {
3341
- var positionStrategy = this._overlay.position()
3342
- .flexibleConnectedTo(this._getInnerElement())
3343
- .withPositions([
3344
- {
3345
- originX: 'start',
3346
- originY: 'bottom',
3347
- overlayX: 'start',
3348
- overlayY: 'top',
3349
- offsetY: baseSize
3350
- },
3351
- {
3352
- originX: 'start',
3353
- originY: 'top',
3354
- overlayX: 'start',
3355
- overlayY: 'bottom'
3356
- }
3357
- ])
3358
- .withPush(false);
3359
- this._overlayRef = this._overlay.create({
3360
- positionStrategy: positionStrategy,
3361
- scrollStrategy: this._overlay.scrollStrategies.close(),
3362
- panelClass: ['animate__animated', 'animate__fadeIn', 'animate__faster'],
3363
- hasBackdrop: false,
3364
- backdropClass: ['cdk-overlay-transparent-backdrop']
3365
- });
3366
- this._subs[0] = this._overlayRef._outsidePointerEvents.subscribe(function (c) {
3367
- var target = c.target;
3368
- var comElem = _this._getHostElement();
3369
- if (!(comElem.contains(target))) {
3370
- _this.close();
3371
- }
3372
- });
3373
- this._subs[1] = this._overlayRef.attachments().subscribe(function () {
3374
- if (_this.fitParent === true) {
3375
- _this._dropdownWidth = _this._getInnerElement().offsetWidth;
3376
- }
3377
- else {
3378
- _this._dropdownWidth = null;
3379
- }
3380
- _this._subs[2] = _this._platform.scroll.subscribe(function (c) {
3381
- if (!c.nativeEvent.target.closest('.ax-overlay-pane'))
3382
- _this.close();
3383
- });
3384
- });
3385
- }
3386
- if (!this._templatePortal) {
3387
- this._templatePortal = new i1$1.TemplatePortal(this._baseTemplate, this._viewContainerRef);
3388
- }
3389
- };
3390
- Object.defineProperty(AXDropdownComponent.prototype, "isOpen", {
3758
+ Object.defineProperty(AXBaseDropDownComponent.prototype, "isOpen", {
3391
3759
  get: function () {
3392
- return this._overlayRef ? this._overlayRef.hasAttached() : false;
3760
+ return this.popover.isOpen;
3393
3761
  },
3394
3762
  enumerable: false,
3395
3763
  configurable: true
3396
3764
  });
3397
- return AXDropdownComponent;
3765
+ return AXBaseDropDownComponent;
3398
3766
  }(AXBaseDropdownMixin));
3399
- AXDropdownComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXDropdownComponent, deps: [{ token: i0__namespace.ElementRef }, { token: i0__namespace.ChangeDetectorRef }, { token: i1__namespace$1.Overlay }, { token: i2__namespace.AXPlatform }, { token: i0__namespace.ViewContainerRef }], target: i0__namespace.ɵɵFactoryTarget.Component });
3400
- AXDropdownComponentcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: AXDropdownComponent, selector: "ax-drop-down", inputs: { disabled: "disabled", readonly: "readonly", tabIndex: "tabIndex", size: "size", fitParent: "fitParent" }, outputs: { onOpened: "onOpened", onClosed: "onClosed" }, host: { listeners: { "keydown": "_handleKeydownHandler($event)" }, classAttribute: "ax-dropdown" }, viewQueries: [{ propertyName: "_baseTemplate", first: true, predicate: ["baseTemplate"], descendants: true }], usesInheritance: true, ngImport: i0__namespace, template: "<div class=\"ax-editor-container\">\r\n <ng-content select=\"ax-prefix\">\r\n </ng-content>\r\n <div class=\"ax-dropdown-content\" style=\"display: inline-flex;\" (click)=\"_handleArrowClickEvent()\">\r\n <ng-content select=\"ng-container[input]\">\r\n </ng-content>\r\n </div>\r\n <ax-button [disabled]=\"disabled\" [tabIndex]=\"-1\" [size]=\"size\" color=\"light\" look=\"blank\" (onClick)=\"_handleArrowClickEvent()\">\r\n <ax-icon icon=\"ax-ic ax-ic-chevron ax-transform ax--rotate-90\"></ax-icon>\r\n </ax-button>\r\n <ng-content select=\"ax-suffix\">\r\n </ng-content>\r\n <ng-template #baseTemplate>\r\n <div class=\"ax-overlay-pane ax-transition ax-duration-300 ax-ease-in-out\" [style.min-width.px]=\"_dropdownWidth\">\r\n <ng-content select=\"ng-container[panel]\">\r\n </ng-content>\r\n </div>\r\n </ng-template>\r\n</div>", components: [{ type: AXButtonComponent, selector: "ax-button", inputs: ["disabled", "tabIndex", "size", "cssClass", "cssStyle", "text", "submitBehavior", "cancelBehavior", "color", "look", "toggleable", "selected"], outputs: ["onBlur", "onFocus", "onClick", "selectedChange", "toggleableChange"] }, { type: AXIconComponent, selector: "ax-icon", inputs: ["icon"] }], changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush, encapsulation: i0__namespace.ViewEncapsulation.None });
3767
+ AXBaseDropDownComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXBaseDropDownComponent, deps: null, target: i0__namespace.ɵɵFactoryTarget.Injectable });
3768
+ AXBaseDropDownComponentprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXBaseDropDownComponent });
3769
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXBaseDropDownComponent, decorators: [{
3770
+ type: i0.Injectable
3771
+ }], propDecorators: { fitParent: [{
3772
+ type: i0.Input
3773
+ }], dropdownWidth: [{
3774
+ type: i0.Input
3775
+ }], onOpened: [{
3776
+ type: i0.Output
3777
+ }], onClosed: [{
3778
+ type: i0.Output
3779
+ }], position: [{
3780
+ type: i0.Input
3781
+ }] } });
3782
+
3783
+ var AXDropdownComponent = /** @class */ (function (_super) {
3784
+ __extends(AXDropdownComponent, _super);
3785
+ function AXDropdownComponent(_elementRef, _cdr) {
3786
+ var _this = _super.call(this, _elementRef, _cdr) || this;
3787
+ _this._target = _this;
3788
+ return _this;
3789
+ }
3790
+ AXDropdownComponent.prototype._handleArrowClickEvent = function () {
3791
+ this.toggle();
3792
+ };
3793
+ return AXDropdownComponent;
3794
+ }(AXBaseDropDownComponent));
3795
+ AXDropdownComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXDropdownComponent, deps: [{ token: i0__namespace.ElementRef }, { token: i0__namespace.ChangeDetectorRef }], target: i0__namespace.ɵɵFactoryTarget.Component });
3796
+ AXDropdownComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: AXDropdownComponent, selector: "ax-drop-down", inputs: { disabled: "disabled", tabIndex: "tabIndex", size: "size", fitParent: "fitParent" }, viewQueries: [{ propertyName: "popover", first: true, predicate: AXPopoverComponent, descendants: true }], usesInheritance: true, ngImport: i0__namespace, template: "<div class=\"ax-editor-container\" [class.ax-state-disabled]=\"disabled\">\r\n <ng-content select=\"ax-prefix\">\r\n </ng-content>\r\n <div class=\"ax-dropdown-content\" style=\"display: inline-flex;\" (click)=\"_handleArrowClickEvent()\">\r\n <ng-content select=\"[input]\">\r\n </ng-content>\r\n </div>\r\n <ax-button [disabled]=\"disabled\" [tabIndex]=\"-1\" [size]=\"size\" color=\"light\" look=\"blank\" (onClick)=\"_handleArrowClickEvent()\">\r\n <ax-icon icon=\"ax-ic ax-ic-chevron ax-transform ax--rotate-90\"></ax-icon>\r\n </ax-button>\r\n <ng-content select=\"ax-suffix\">\r\n </ng-content>\r\n</div>\r\n<ax-popover [target]=\"_target\" [position]=\"position\" [openTrigger]=\"'manual'\" [closeTrigger]=\"'clickout'\">\r\n <div class=\"ax-overlay-pane\" [style.min-width.px]=\"dropdownWidth\">\r\n <ng-content select=\"[panel]\">\r\n </ng-content>\r\n </div>\r\n</ax-popover>", components: [{ type: AXButtonComponent, selector: "ax-button", inputs: ["disabled", "tabIndex", "size", "text", "submitBehavior", "cancelBehavior", "color", "look", "toggleable", "selected"], outputs: ["onBlur", "onFocus", "onClick", "selectedChange", "toggleableChange"] }, { type: AXIconComponent, selector: "ax-icon", inputs: ["icon"] }, { type: AXPopoverComponent, selector: "ax-popover", inputs: ["target", "position", "openTrigger", "closeTrigger", "hasBackdrop", "backdropClass"] }], changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush, encapsulation: i0__namespace.ViewEncapsulation.None });
3401
3797
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXDropdownComponent, decorators: [{
3402
3798
  type: i0.Component,
3403
3799
  args: [{
3404
3800
  selector: 'ax-drop-down',
3405
3801
  templateUrl: 'dropdown.component.html',
3406
- inputs: ['disabled', 'readonly', 'tabIndex', 'size', 'fitParent'],
3407
- outputs: ['onOpened', 'onClosed'],
3802
+ inputs: ['disabled', 'tabIndex', 'size', 'fitParent'],
3408
3803
  encapsulation: i0.ViewEncapsulation.None,
3409
- changeDetection: i0.ChangeDetectionStrategy.OnPush,
3410
- host: { class: 'ax-dropdown' }
3804
+ changeDetection: i0.ChangeDetectionStrategy.OnPush
3411
3805
  }]
3412
- }], ctorParameters: function () { return [{ type: i0__namespace.ElementRef }, { type: i0__namespace.ChangeDetectorRef }, { type: i1__namespace$1.Overlay }, { type: i2__namespace.AXPlatform }, { type: i0__namespace.ViewContainerRef }]; }, propDecorators: { _baseTemplate: [{
3806
+ }], ctorParameters: function () { return [{ type: i0__namespace.ElementRef }, { type: i0__namespace.ChangeDetectorRef }]; }, propDecorators: { popover: [{
3413
3807
  type: i0.ViewChild,
3414
- args: ['baseTemplate']
3415
- }], _handleKeydownHandler: [{
3416
- type: i0.HostListener,
3417
- args: ['keydown', ['$event']]
3808
+ args: [AXPopoverComponent]
3418
3809
  }] } });
3419
3810
 
3420
3811
  var AXDatepickerComponent = /** @class */ (function (_super) {
@@ -3466,34 +3857,41 @@
3466
3857
  }
3467
3858
  };
3468
3859
  return AXDatepickerComponent;
3469
- }(AXBaseComponentMixin));
3860
+ }(AXBaseTextBoxMixin));
3470
3861
  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 });
3471
- AXDatepickerComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: AXDatepickerComponent, selector: "ax-datepicker", usesInheritance: true, ngImport: i0__namespace, template: "<ax-drop-down>\r\n <ng-container input>\r\n <ng-content select=\"ax-prefix\">\r\n </ng-content>\r\n\r\n <ng-content select=\"ax-suffix\">\r\n </ng-content>\r\n </ng-container>\r\n <ng-container panel>\r\n <div class=\"ax-datepicker-body\">\r\n <ax-calendar [showTime]=\"true\" [actionBar]=\"true\"></ax-calendar>\r\n </div>\r\n </ng-container>\r\n</ax-drop-down>", components: [{ type: AXDropdownComponent, selector: "ax-drop-down", inputs: ["disabled", "readonly", "tabIndex", "size", "fitParent"], outputs: ["onOpened", "onClosed"] }, { type: AXCalendarComponent, selector: "ax-calendar", inputs: ["disabled", "tabIndex", "size", "cssClass", "cssStyle", "actionBar", "showTime"] }], changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush, encapsulation: i0__namespace.ViewEncapsulation.None });
3862
+ 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 });
3472
3863
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXDatepickerComponent, decorators: [{
3473
3864
  type: i0.Component,
3474
3865
  args: [{
3475
- selector: 'ax-datepicker',
3866
+ selector: 'ax-date-picker',
3476
3867
  templateUrl: './datepicker.component.html',
3868
+ inputs: __spreadArray([
3869
+ 'disabled',
3870
+ 'readonly',
3871
+ 'tabIndex',
3872
+ 'cssClass',
3873
+ 'size'
3874
+ ], __read(TEXTBOX_INPUTS)),
3875
+ outputs: __spreadArray([
3876
+ 'valueChange',
3877
+ 'onValueChanged',
3878
+ 'onBlur',
3879
+ 'onFocus'
3880
+ ], __read(TEXTBOX_OUTPUT)),
3477
3881
  changeDetection: i0.ChangeDetectionStrategy.OnPush,
3478
3882
  encapsulation: i0.ViewEncapsulation.None,
3479
3883
  }]
3480
3884
  }], ctorParameters: function () { return [{ type: i0__namespace.ElementRef }, { type: i0__namespace.ChangeDetectorRef }]; } });
3481
3885
 
3482
- var AXBaseDropdownMenuMixin = _InteractiveComponenetMixin(_DropdownComponenetMixin((AXBaseComponent)));
3483
3886
  var AXDropdownPanelComponent = /** @class */ (function (_super) {
3484
3887
  __extends(AXDropdownPanelComponent, _super);
3485
- function AXDropdownPanelComponent(elementRef, cdr, _overlay, _platform, _viewContainerRef, _parent) {
3888
+ function AXDropdownPanelComponent(elementRef, cdr, _parent) {
3486
3889
  var _this = _super.call(this, elementRef, cdr) || this;
3487
- _this._overlay = _overlay;
3488
- _this._platform = _platform;
3489
- _this._viewContainerRef = _viewContainerRef;
3490
3890
  _this._parent = _parent;
3491
3891
  _this.onItemClick = new i0.EventEmitter();
3892
+ _this._needBorder = false;
3492
3893
  _this._subs = [];
3493
- if (_parent) {
3494
- _this.target = _parent;
3495
- _this._subs.push(_parent.onClick.subscribe(_this.toggle.bind(_this)));
3496
- }
3894
+ _this._target = _this._parent._getHostElement();
3497
3895
  return _this;
3498
3896
  }
3499
3897
  Object.defineProperty(AXDropdownPanelComponent.prototype, "items", {
@@ -3512,32 +3910,18 @@
3512
3910
  };
3513
3911
  AXDropdownPanelComponent.prototype.onViewInit = function () {
3514
3912
  var _this = this;
3913
+ _super.prototype.onViewInit.call(this);
3515
3914
  this._getAllButtons().forEach(function (c) {
3915
+ _this._needBorder = true;
3516
3916
  _this._subs.push(c.onClick.subscribe(_this._handleOnItemClick.bind(_this)));
3917
+ _this._cdr.markForCheck();
3517
3918
  });
3518
3919
  };
3519
3920
  AXDropdownPanelComponent.prototype.onDestroy = function () {
3520
- var _a, _b;
3521
- (_a = this._overlayRef) === null || _a === void 0 ? void 0 : _a.detach();
3522
- (_b = this._overlayRef) === null || _b === void 0 ? void 0 : _b.dispose();
3523
3921
  this._subs.forEach(function (s) {
3524
3922
  s === null || s === void 0 ? void 0 : s.unsubscribe();
3525
3923
  });
3526
3924
  };
3527
- AXDropdownPanelComponent.prototype._handleKeydownHandler = function (e) {
3528
- if (e.key === 'Enter' && e.type === 'keydown') {
3529
- this.toggle();
3530
- }
3531
- if (e.key === 'Escape') {
3532
- if (this.isOpen) {
3533
- this.close();
3534
- e.stopPropagation();
3535
- }
3536
- }
3537
- };
3538
- AXDropdownPanelComponent.prototype._handleArrowClickEvent = function (e) {
3539
- this.toggle();
3540
- };
3541
3925
  AXDropdownPanelComponent.prototype._emitOnItemClickEvent = function (e, item) {
3542
3926
  this.onItemClick.emit({
3543
3927
  component: this,
@@ -3546,99 +3930,15 @@
3546
3930
  name: item.name,
3547
3931
  data: item.data,
3548
3932
  });
3549
- this.close();
3550
3933
  };
3551
3934
  AXDropdownPanelComponent.prototype._handleOnItemClick = function (e) {
3552
3935
  this.close();
3553
3936
  this._emitOnItemClickEvent(e, e.component);
3554
3937
  };
3555
- AXDropdownPanelComponent.prototype.toggle = function () {
3556
- if (this.disabled !== true) {
3557
- this.isOpen ? this.close() : this.open();
3558
- }
3559
- };
3560
- AXDropdownPanelComponent.prototype.close = function () {
3561
- var _a, _b;
3562
- if (!this.isOpen) {
3563
- return;
3564
- }
3565
- (_a = this._overlayRef) === null || _a === void 0 ? void 0 : _a.detach();
3566
- (_b = this._subs[1]) === null || _b === void 0 ? void 0 : _b.unsubscribe();
3567
- this._emitOnClosedEvent();
3568
- };
3569
- AXDropdownPanelComponent.prototype.open = function () {
3570
- if (this.isOpen) {
3571
- return;
3572
- }
3573
- this._ensureOverlayCreated();
3574
- this._overlayRef.attach(this._templatePortal);
3575
- this._emitOnOpenedEvent();
3576
- };
3577
- AXDropdownPanelComponent.prototype._ensureOverlayCreated = function () {
3578
- var _this = this;
3579
- var baseSize = Number(getComputedStyle(document.documentElement).getPropertyValue('--ax-base-size').replace('px', ''));
3580
- var targetRef = this.target._getInnerElement();
3581
- if (!this._overlayRef) {
3582
- var positionStrategy = this._overlay.position()
3583
- .flexibleConnectedTo(targetRef)
3584
- .withPositions([
3585
- {
3586
- originX: 'start',
3587
- originY: 'bottom',
3588
- overlayX: 'start',
3589
- overlayY: 'top',
3590
- offsetY: baseSize
3591
- },
3592
- {
3593
- originX: 'start',
3594
- originY: 'top',
3595
- overlayX: 'start',
3596
- overlayY: 'bottom'
3597
- }
3598
- ])
3599
- .withPush(false);
3600
- this._overlayRef = this._overlay.create({
3601
- positionStrategy: positionStrategy,
3602
- scrollStrategy: this._overlay.scrollStrategies.close(),
3603
- panelClass: ['animate__animated', 'animate__fadeIn', 'animate__faster'],
3604
- hasBackdrop: false,
3605
- backdropClass: ['cdk-overlay-transparent-backdrop']
3606
- });
3607
- this._subs[0] = this._overlayRef._outsidePointerEvents.subscribe(function (c) {
3608
- var target = c.target;
3609
- var comElem = targetRef;
3610
- if (!(comElem.contains(target))) {
3611
- _this.close();
3612
- }
3613
- });
3614
- this._subs[1] = this._overlayRef.attachments().subscribe(function () {
3615
- if (_this.fitParent === true) {
3616
- _this._dropdownWidth = targetRef.offsetWidth;
3617
- }
3618
- else {
3619
- _this._dropdownWidth = targetRef.offsetWidth * 1.5;
3620
- }
3621
- _this._subs[2] = _this._platform.scroll.subscribe(function (c) {
3622
- if (!c.nativeEvent.target.closest('.ax-overlay-pane'))
3623
- _this.close();
3624
- });
3625
- });
3626
- }
3627
- if (!this._templatePortal) {
3628
- this._templatePortal = new i1$1.TemplatePortal(this._baseTemplate, this._viewContainerRef);
3629
- }
3630
- };
3631
- Object.defineProperty(AXDropdownPanelComponent.prototype, "isOpen", {
3632
- get: function () {
3633
- return this._overlayRef ? this._overlayRef.hasAttached() : false;
3634
- },
3635
- enumerable: false,
3636
- configurable: true
3637
- });
3638
3938
  return AXDropdownPanelComponent;
3639
- }(AXBaseDropdownMenuMixin));
3640
- AXDropdownPanelComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXDropdownPanelComponent, deps: [{ token: i0__namespace.ElementRef }, { token: i0__namespace.ChangeDetectorRef }, { token: i1__namespace$1.Overlay }, { token: i2__namespace.AXPlatform }, { token: i0__namespace.ViewContainerRef }, { token: AXButtonComponent, optional: true }], target: i0__namespace.ɵɵFactoryTarget.Component });
3641
- AXDropdownPanelComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: AXDropdownPanelComponent, selector: "ax-dropdown-panel", inputs: { target: "target", items: "items" }, outputs: { onItemClick: "onItemClick" }, host: { listeners: { "keydown": "_handleKeydownHandler($event)" } }, queries: [{ propertyName: "_contentButtons", predicate: AXButtonItemComponent }], viewQueries: [{ propertyName: "_baseTemplate", first: true, predicate: ["baseTemplate"], descendants: true }, { propertyName: "_viewButtons", predicate: AXButtonItemComponent, descendants: true }], usesInheritance: true, ngImport: i0__namespace, template: "<ng-template #baseTemplate>\n <div class=\"ax-overlay-pane ax-dropdown-list\" [style.min-width.px]=\"_dropdownWidth\">\n <ng-container *ngIf=\"items && items.length;else panelTpl\">\n <ax-button-item [text]=\"item.text\" [color]=\"item.color\" *ngFor=\"let item of items\">\n <ax-prefix *ngIf=\"item.iconClass\">\n <ax-icon [icon]=\"item.iconClass\"></ax-icon>\n </ax-prefix>\n </ax-button-item>\n </ng-container>\n <ng-template #panelTpl>\n <ng-content select=\"ng-container[panel],ax-button-item\">\n </ng-content>\n </ng-template>\n </div>\n</ng-template>", components: [{ type: AXButtonItemComponent, selector: "ax-button-item", inputs: ["text", "tooltip", "selected", "seperated", "name", "data", "color"] }, { type: AXDecoratorPrefixComponent, selector: "ax-prefix" }, { type: AXIconComponent, selector: "ax-icon", inputs: ["icon"] }], directives: [{ type: i1__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 });
3939
+ }(AXBaseDropDownComponent));
3940
+ AXDropdownPanelComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXDropdownPanelComponent, deps: [{ token: i0__namespace.ElementRef }, { token: i0__namespace.ChangeDetectorRef }, { token: AXButtonComponent, optional: true }], target: i0__namespace.ɵɵFactoryTarget.Component });
3941
+ AXDropdownPanelComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: AXDropdownPanelComponent, selector: "ax-dropdown-panel", inputs: { items: "items" }, outputs: { onItemClick: "onItemClick" }, queries: [{ propertyName: "_contentButtons", predicate: AXButtonItemComponent }], viewQueries: [{ propertyName: "popover", first: true, predicate: AXPopoverComponent, descendants: true }, { propertyName: "_viewButtons", predicate: AXButtonItemComponent, descendants: true }], usesInheritance: true, ngImport: i0__namespace, template: "<ax-popover [target]=\"_target\" [position]=\"position\" [openTrigger]=\"'toggle'\" [closeTrigger]=\"'clickout'\">\r\n <div class=\"ax-overlay-pane\" [class.ax-dropdown-list]=\"_needBorder\" >\r\n <ng-container *ngIf=\"items && items.length;else panelTpl\">\r\n <ax-button-item [text]=\"item.text\" [color]=\"item.color\" *ngFor=\"let item of items\">\r\n <ax-prefix *ngIf=\"item.iconClass\">\r\n <ax-icon [icon]=\"item.iconClass\"></ax-icon>\r\n </ax-prefix>\r\n </ax-button-item>\r\n </ng-container>\r\n <ng-template #panelTpl>\r\n <ng-content select=\"[panel],ax-button-item\">\r\n </ng-content>\r\n </ng-template>\r\n </div>\r\n</ax-popover>", components: [{ type: AXPopoverComponent, selector: "ax-popover", inputs: ["target", "position", "openTrigger", "closeTrigger", "hasBackdrop", "backdropClass"] }, { type: AXButtonItemComponent, selector: "ax-button-item", inputs: ["text", "tooltip", "selected", "seperated", "name", "data", "color"] }, { type: AXDecoratorPrefixComponent, selector: "ax-prefix" }, { type: AXIconComponent, selector: "ax-icon", inputs: ["icon"] }], directives: [{ type: i4__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i4__namespace.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }], changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush, encapsulation: i0__namespace.ViewEncapsulation.None });
3642
3942
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXDropdownPanelComponent, decorators: [{
3643
3943
  type: i0.Component,
3644
3944
  args: [{
@@ -3648,7 +3948,7 @@
3648
3948
  encapsulation: i0.ViewEncapsulation.None,
3649
3949
  }]
3650
3950
  }], ctorParameters: function () {
3651
- return [{ type: i0__namespace.ElementRef }, { type: i0__namespace.ChangeDetectorRef }, { type: i1__namespace$1.Overlay }, { type: i2__namespace.AXPlatform }, { type: i0__namespace.ViewContainerRef }, { type: AXButtonComponent, decorators: [{
3951
+ return [{ type: i0__namespace.ElementRef }, { type: i0__namespace.ChangeDetectorRef }, { type: AXButtonComponent, decorators: [{
3652
3952
  type: i0.Optional
3653
3953
  }] }];
3654
3954
  }, propDecorators: { _contentButtons: [{
@@ -3659,16 +3959,11 @@
3659
3959
  args: [AXButtonItemComponent]
3660
3960
  }], onItemClick: [{
3661
3961
  type: i0.Output
3662
- }], target: [{
3663
- type: i0.Input
3962
+ }], popover: [{
3963
+ type: i0.ViewChild,
3964
+ args: [AXPopoverComponent]
3664
3965
  }], items: [{
3665
3966
  type: i0.Input
3666
- }], _baseTemplate: [{
3667
- type: i0.ViewChild,
3668
- args: ['baseTemplate']
3669
- }], _handleKeydownHandler: [{
3670
- type: i0.HostListener,
3671
- args: ['keydown', ['$event']]
3672
3967
  }] } });
3673
3968
 
3674
3969
  var AXDropdownModule = /** @class */ (function () {
@@ -3677,34 +3972,34 @@
3677
3972
  return AXDropdownModule;
3678
3973
  }());
3679
3974
  AXDropdownModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXDropdownModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
3680
- AXDropdownModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXDropdownModule, declarations: [AXDropdownComponent, AXDropdownPanelComponent], imports: [i1.CommonModule, AXButtonModule, i1$2.OverlayModule, AXIconModule, AXEditorDecoratorModule], exports: [AXDropdownComponent, AXDropdownPanelComponent] });
3681
- AXDropdownModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXDropdownModule, providers: [], imports: [[i1.CommonModule, AXButtonModule, i1$2.OverlayModule, AXIconModule, AXEditorDecoratorModule]] });
3975
+ AXDropdownModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXDropdownModule, declarations: [AXDropdownComponent, AXDropdownPanelComponent], imports: [i4.CommonModule, AXButtonModule, i1$1.OverlayModule, AXIconModule, AXEditorDecoratorModule, AXPopoverModule], exports: [AXDropdownComponent, AXDropdownPanelComponent] });
3976
+ AXDropdownModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXDropdownModule, providers: [], imports: [[i4.CommonModule, AXButtonModule, i1$1.OverlayModule, AXIconModule, AXEditorDecoratorModule, AXPopoverModule]] });
3682
3977
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXDropdownModule, decorators: [{
3683
3978
  type: i0.NgModule,
3684
3979
  args: [{
3685
- imports: [i1.CommonModule, AXButtonModule, i1$2.OverlayModule, AXIconModule, AXEditorDecoratorModule],
3980
+ imports: [i4.CommonModule, AXButtonModule, i1$1.OverlayModule, AXIconModule, AXEditorDecoratorModule, AXPopoverModule],
3686
3981
  exports: [AXDropdownComponent, AXDropdownPanelComponent],
3687
3982
  declarations: [AXDropdownComponent, AXDropdownPanelComponent],
3688
3983
  providers: [],
3689
3984
  }]
3690
3985
  }] });
3691
3986
 
3692
- var COMPONENT$c = [AXDatepickerComponent];
3693
- var MODULES$c = [i1.CommonModule, AXCalendarModule, AXDropdownModule];
3987
+ var COMPONENT$e = [AXDatepickerComponent];
3988
+ var MODULES$e = [i4.CommonModule, AXCalendarModule, AXDropdownModule];
3694
3989
  var AXDatepickerModule = /** @class */ (function () {
3695
3990
  function AXDatepickerModule() {
3696
3991
  }
3697
3992
  return AXDatepickerModule;
3698
3993
  }());
3699
3994
  AXDatepickerModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXDatepickerModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
3700
- 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] });
3701
- AXDatepickerModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXDatepickerModule, providers: [], imports: [__spreadArray([], __read(MODULES$c))] });
3995
+ AXDatepickerModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXDatepickerModule, declarations: [AXDatepickerComponent], imports: [i4.CommonModule, AXCalendarModule, AXDropdownModule], exports: [AXDatepickerComponent] });
3996
+ AXDatepickerModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXDatepickerModule, providers: [], imports: [__spreadArray([], __read(MODULES$e))] });
3702
3997
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXDatepickerModule, decorators: [{
3703
3998
  type: i0.NgModule,
3704
3999
  args: [{
3705
- declarations: __spreadArray([], __read(COMPONENT$c)),
3706
- imports: __spreadArray([], __read(MODULES$c)),
3707
- exports: __spreadArray([], __read(COMPONENT$c)),
4000
+ declarations: __spreadArray([], __read(COMPONENT$e)),
4001
+ imports: __spreadArray([], __read(MODULES$e)),
4002
+ exports: __spreadArray([], __read(COMPONENT$e)),
3708
4003
  providers: [],
3709
4004
  }]
3710
4005
  }] });
@@ -3738,7 +4033,7 @@
3738
4033
  return AXDialogComponent;
3739
4034
  }(AXBaseComponentMixin));
3740
4035
  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 });
3741
- 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)\" [cssClass]=\"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", "cssClass", "cssStyle", "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 });
4036
+ 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: i4__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i4__namespace.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }], changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush, encapsulation: i0__namespace.ViewEncapsulation.None });
3742
4037
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXDialogComponent, decorators: [{
3743
4038
  type: i0.Component,
3744
4039
  args: [{
@@ -3749,11 +4044,23 @@
3749
4044
  }]
3750
4045
  }], ctorParameters: function () { return [{ type: i0__namespace.ElementRef }, { type: i0__namespace.ChangeDetectorRef }]; } });
3751
4046
 
4047
+ /**
4048
+ * The Button is a component which detects user interaction and triggers a corresponding event
4049
+ *
4050
+ * @category Components
4051
+ */
3752
4052
  var AXDialogService = /** @class */ (function () {
3753
- function AXDialogService(overlayService, parentInjector) {
4053
+ /**
4054
+ * @ignore
4055
+ */
4056
+ function AXDialogService(overlayService, parentInjector, sso) {
3754
4057
  this.overlayService = overlayService;
3755
4058
  this.parentInjector = parentInjector;
4059
+ this.sso = sso;
3756
4060
  }
4061
+ /**
4062
+ * Show an alert box with 'Okay' button.
4063
+ */
3757
4064
  AXDialogService.prototype.alert = function (title, content, type) {
3758
4065
  var _this = this;
3759
4066
  if (type === void 0) { type = 'primary'; }
@@ -3779,6 +4086,9 @@
3779
4086
  });
3780
4087
  });
3781
4088
  };
4089
+ /**
4090
+ * Show a confirm box with 'Okay' & 'Cancel' buttons.
4091
+ */
3782
4092
  AXDialogService.prototype.confirm = function (title, content, type) {
3783
4093
  var _this = this;
3784
4094
  if (type === void 0) { type = 'primary'; }
@@ -3818,6 +4128,9 @@
3818
4128
  });
3819
4129
  });
3820
4130
  };
4131
+ /**
4132
+ * Show a custom dialog box.
4133
+ */
3821
4134
  AXDialogService.prototype.show = function (options) {
3822
4135
  var _this = this;
3823
4136
  return new Promise(function (resolve) {
@@ -3846,9 +4159,10 @@
3846
4159
  var overlayRef = this.overlayService.create({
3847
4160
  positionStrategy: positionStrategy,
3848
4161
  hasBackdrop: true,
3849
- panelClass: ['animate__animated', 'animate__fadeIn', 'animate__faster'],
4162
+ scrollStrategy: this.sso.block(),
4163
+ panelClass: ['ax-animate-fadeIn', 'ax-animate-faster'],
3850
4164
  });
3851
- var dialogPortal = new i1$1.ComponentPortal(AXDialogComponent, null, this.parentInjector);
4165
+ var dialogPortal = new i1.ComponentPortal(AXDialogComponent, null, this.parentInjector);
3852
4166
  var host = overlayRef.attach(dialogPortal);
3853
4167
  if (host.instance) {
3854
4168
  Object.assign(host.instance, {
@@ -3869,12 +4183,12 @@
3869
4183
  };
3870
4184
  return AXDialogService;
3871
4185
  }());
3872
- AXDialogService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXDialogService, deps: [{ token: i1__namespace$1.Overlay }, { token: i0__namespace.Injector }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
4186
+ AXDialogService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXDialogService, deps: [{ token: i1__namespace.Overlay }, { token: i0__namespace.Injector }, { token: i1__namespace.ScrollStrategyOptions }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
3873
4187
  AXDialogService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXDialogService, providedIn: 'root' });
3874
4188
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXDialogService, decorators: [{
3875
4189
  type: i0.Injectable,
3876
4190
  args: [{ providedIn: 'root' }]
3877
- }], ctorParameters: function () { return [{ type: i1__namespace$1.Overlay }, { type: i0__namespace.Injector }]; } });
4191
+ }], ctorParameters: function () { return [{ type: i1__namespace.Overlay }, { type: i0__namespace.Injector }, { type: i1__namespace.ScrollStrategyOptions }]; } });
3878
4192
 
3879
4193
  var AXLoadingComponent = /** @class */ (function (_super) {
3880
4194
  __extends(AXLoadingComponent, _super);
@@ -3903,13 +4217,13 @@
3903
4217
  });
3904
4218
  AXLoadingComponent.prototype.onInit = function () {
3905
4219
  var loading = i2.AXConfig.get("layout.loading." + this.type);
3906
- this._selectedPortal = new i1$1.ComponentPortal(loading);
4220
+ this._selectedPortal = new i1.ComponentPortal(loading);
3907
4221
  this._cdr.markForCheck();
3908
4222
  };
3909
4223
  return AXLoadingComponent;
3910
4224
  }(AXBaseComponentMixin));
3911
4225
  AXLoadingComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXLoadingComponent, deps: [{ token: i0__namespace.ElementRef }, { token: i0__namespace.ChangeDetectorRef }], target: i0__namespace.ɵɵFactoryTarget.Component });
3912
- AXLoadingComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: AXLoadingComponent, selector: "ax-loading", inputs: { visible: "visible", type: "type" }, outputs: { visibleChange: "visibleChange" }, host: { classAttribute: "ax-loading" }, usesInheritance: true, ngImport: i0__namespace, template: "\n <ng-template [cdkPortalOutlet]=\"_selectedPortal\" ></ng-template>\n ", isInline: true, directives: [{ type: i1__namespace$2.CdkPortalOutlet, selector: "[cdkPortalOutlet]", inputs: ["cdkPortalOutlet"], outputs: ["attached"], exportAs: ["cdkPortalOutlet"] }], changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush, encapsulation: i0__namespace.ViewEncapsulation.None });
4226
+ AXLoadingComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: AXLoadingComponent, selector: "ax-loading", inputs: { visible: "visible", type: "type" }, outputs: { visibleChange: "visibleChange" }, host: { classAttribute: "ax-loading" }, usesInheritance: true, ngImport: i0__namespace, template: "\n <ng-template [cdkPortalOutlet]=\"_selectedPortal\" ></ng-template>\n ", isInline: true, directives: [{ type: i1__namespace$1.CdkPortalOutlet, selector: "[cdkPortalOutlet]", inputs: ["cdkPortalOutlet"], outputs: ["attached"], exportAs: ["cdkPortalOutlet"] }], changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush, encapsulation: i0__namespace.ViewEncapsulation.None });
3913
4227
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXLoadingComponent, decorators: [{
3914
4228
  type: i0.Component,
3915
4229
  args: [{
@@ -4007,8 +4321,8 @@
4007
4321
  args: ['axIsLoading']
4008
4322
  }] } });
4009
4323
 
4010
- var COMPONENT$b = [AXLoadingComponent, AXLoadingDirective, AXLoadingSpinnerComponent];
4011
- var MODULES$b = [i1.CommonModule, i1$2.OverlayModule, i1$1.PortalModule];
4324
+ var COMPONENT$d = [AXLoadingComponent, AXLoadingDirective, AXLoadingSpinnerComponent];
4325
+ var MODULES$d = [i4.CommonModule, i1$1.OverlayModule, i1.PortalModule];
4012
4326
  var AXLoadingModule = /** @class */ (function () {
4013
4327
  function AXLoadingModule() {
4014
4328
  i2.AXConfig.set({
@@ -4022,14 +4336,14 @@
4022
4336
  return AXLoadingModule;
4023
4337
  }());
4024
4338
  AXLoadingModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXLoadingModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
4025
- 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] });
4026
- AXLoadingModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXLoadingModule, providers: [], imports: [__spreadArray([], __read(MODULES$b))] });
4339
+ AXLoadingModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXLoadingModule, declarations: [AXLoadingComponent, AXLoadingDirective, AXLoadingSpinnerComponent], imports: [i4.CommonModule, i1$1.OverlayModule, i1.PortalModule], exports: [AXLoadingComponent, AXLoadingDirective, AXLoadingSpinnerComponent] });
4340
+ AXLoadingModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXLoadingModule, providers: [], imports: [__spreadArray([], __read(MODULES$d))] });
4027
4341
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXLoadingModule, decorators: [{
4028
- type: i0.NgModule,
4029
- args: [{
4030
- declarations: __spreadArray([], __read(COMPONENT$b)),
4031
- imports: __spreadArray([], __read(MODULES$b)),
4032
- exports: __spreadArray([], __read(COMPONENT$b)),
4342
+ type: i0.NgModule,
4343
+ args: [{
4344
+ declarations: __spreadArray([], __read(COMPONENT$d)),
4345
+ imports: __spreadArray([], __read(MODULES$d)),
4346
+ exports: __spreadArray([], __read(COMPONENT$d)),
4033
4347
  providers: [],
4034
4348
  }]
4035
4349
  }], ctorParameters: function () { return []; } });
@@ -4043,7 +4357,7 @@
4043
4357
  this._containerElement = containerElement;
4044
4358
  };
4045
4359
  return DynamicOverlayContainer;
4046
- }(i1$2.OverlayContainer));
4360
+ }(i1$1.OverlayContainer));
4047
4361
  DynamicOverlayContainer.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: DynamicOverlayContainer, deps: null, target: i0__namespace.ɵɵFactoryTarget.Injectable });
4048
4362
  DynamicOverlayContainer.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: DynamicOverlayContainer, providedIn: 'root' });
4049
4363
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: DynamicOverlayContainer, decorators: [{
@@ -4069,8 +4383,8 @@
4069
4383
  return _super.prototype.create.call(this, config);
4070
4384
  };
4071
4385
  return DynamicOverlay;
4072
- }(i1$2.Overlay));
4073
- DynamicOverlay.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: DynamicOverlay, deps: [{ token: i1__namespace$1.ScrollStrategyOptions }, { token: DynamicOverlayContainer }, { token: i0__namespace.ComponentFactoryResolver }, { token: i1__namespace$1.OverlayPositionBuilder }, { token: i1__namespace$1.OverlayKeyboardDispatcher }, { token: i0__namespace.Injector }, { token: i0__namespace.NgZone }, { token: i1.DOCUMENT }, { token: i2__namespace$2.Directionality }, { token: i0__namespace.RendererFactory2 }, { token: i1__namespace.Location }, { token: i1__namespace$1.OverlayOutsideClickDispatcher }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
4386
+ }(i1$1.Overlay));
4387
+ DynamicOverlay.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: DynamicOverlay, deps: [{ token: i1__namespace.ScrollStrategyOptions }, { token: DynamicOverlayContainer }, { token: i0__namespace.ComponentFactoryResolver }, { token: i1__namespace.OverlayPositionBuilder }, { token: i1__namespace.OverlayKeyboardDispatcher }, { token: i0__namespace.Injector }, { token: i0__namespace.NgZone }, { token: i4.DOCUMENT }, { token: i2__namespace$2.Directionality }, { token: i0__namespace.RendererFactory2 }, { token: i4__namespace.Location }, { token: i1__namespace.OverlayOutsideClickDispatcher }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
4074
4388
  DynamicOverlay.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: DynamicOverlay, providedIn: 'root' });
4075
4389
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: DynamicOverlay, decorators: [{
4076
4390
  type: i0.Injectable,
@@ -4078,10 +4392,10 @@
4078
4392
  providedIn: 'root'
4079
4393
  }]
4080
4394
  }], ctorParameters: function () {
4081
- return [{ type: i1__namespace$1.ScrollStrategyOptions }, { type: DynamicOverlayContainer }, { type: i0__namespace.ComponentFactoryResolver }, { type: i1__namespace$1.OverlayPositionBuilder }, { type: i1__namespace$1.OverlayKeyboardDispatcher }, { type: i0__namespace.Injector }, { type: i0__namespace.NgZone }, { type: undefined, decorators: [{
4395
+ return [{ type: i1__namespace.ScrollStrategyOptions }, { type: DynamicOverlayContainer }, { type: i0__namespace.ComponentFactoryResolver }, { type: i1__namespace.OverlayPositionBuilder }, { type: i1__namespace.OverlayKeyboardDispatcher }, { type: i0__namespace.Injector }, { type: i0__namespace.NgZone }, { type: undefined, decorators: [{
4082
4396
  type: i0.Inject,
4083
- args: [i1.DOCUMENT]
4084
- }] }, { type: i2__namespace$2.Directionality }, { type: i0__namespace.RendererFactory2 }, { type: i1__namespace.Location }, { type: i1__namespace$1.OverlayOutsideClickDispatcher }];
4397
+ args: [i4.DOCUMENT]
4398
+ }] }, { type: i2__namespace$2.Directionality }, { type: i0__namespace.RendererFactory2 }, { type: i4__namespace.Location }, { type: i1__namespace.OverlayOutsideClickDispatcher }];
4085
4399
  } });
4086
4400
 
4087
4401
  var AXOverlayService = /** @class */ (function () {
@@ -4105,10 +4419,10 @@
4105
4419
  }
4106
4420
  // create portal from component
4107
4421
  else if (content instanceof i0.TemplateRef) {
4108
- portal = new i1$1.TemplatePortal(content, viewRef, context);
4422
+ portal = new i1.TemplatePortal(content, viewRef, context);
4109
4423
  }
4110
4424
  else if (typeof content === 'function') {
4111
- portal = new i1$1.ComponentPortal(content, viewRef);
4425
+ portal = new i1.ComponentPortal(content, viewRef);
4112
4426
  }
4113
4427
  var positionStrategy;
4114
4428
  if (configs.position && configs.targetElement) {
@@ -4163,12 +4477,12 @@
4163
4477
  };
4164
4478
  return AXOverlayService;
4165
4479
  }());
4166
- AXOverlayService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXOverlayService, deps: [{ token: DynamicOverlay }, { token: i1__namespace$1.Overlay }, { token: i0__namespace.ApplicationRef }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
4480
+ AXOverlayService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXOverlayService, deps: [{ token: DynamicOverlay }, { token: i1__namespace.Overlay }, { token: i0__namespace.ApplicationRef }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
4167
4481
  AXOverlayService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXOverlayService, providedIn: 'root' });
4168
4482
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXOverlayService, decorators: [{
4169
4483
  type: i0.Injectable,
4170
4484
  args: [{ providedIn: 'root' }]
4171
- }], ctorParameters: function () { return [{ type: DynamicOverlay }, { type: i1__namespace$1.Overlay }, { type: i0__namespace.ApplicationRef }]; } });
4485
+ }], ctorParameters: function () { return [{ type: DynamicOverlay }, { type: i1__namespace.Overlay }, { type: i0__namespace.ApplicationRef }]; } });
4172
4486
 
4173
4487
  var DEFAULT_LOADER_ID = '_DEFAULT';
4174
4488
  /**
@@ -4473,22 +4787,22 @@
4473
4787
  }]
4474
4788
  }] });
4475
4789
 
4476
- var COMPONENT$a = [AXDialogComponent];
4477
- var MODULES$a = [i1.CommonModule, i3$1.DragDropModule, i2$1.A11yModule, AXButtonModule, AXPageModule, AXEditorDecoratorModule];
4790
+ var COMPONENT$c = [AXDialogComponent];
4791
+ var MODULES$c = [i4.CommonModule, i3$1.DragDropModule, i2$1.A11yModule, AXButtonModule, AXPageModule, AXEditorDecoratorModule];
4478
4792
  var AXDialogModule = /** @class */ (function () {
4479
4793
  function AXDialogModule() {
4480
4794
  }
4481
4795
  return AXDialogModule;
4482
4796
  }());
4483
4797
  AXDialogModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXDialogModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
4484
- 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] });
4485
- AXDialogModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXDialogModule, providers: [], imports: [__spreadArray([], __read(MODULES$a))] });
4798
+ AXDialogModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXDialogModule, declarations: [AXDialogComponent], imports: [i4.CommonModule, i3$1.DragDropModule, i2$1.A11yModule, AXButtonModule, AXPageModule, AXEditorDecoratorModule], exports: [AXDialogComponent] });
4799
+ AXDialogModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXDialogModule, providers: [], imports: [__spreadArray([], __read(MODULES$c))] });
4486
4800
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXDialogModule, decorators: [{
4487
4801
  type: i0.NgModule,
4488
4802
  args: [{
4489
- declarations: __spreadArray([], __read(COMPONENT$a)),
4490
- imports: __spreadArray([], __read(MODULES$a)),
4491
- exports: __spreadArray([], __read(COMPONENT$a)),
4803
+ declarations: __spreadArray([], __read(COMPONENT$c)),
4804
+ imports: __spreadArray([], __read(MODULES$c)),
4805
+ exports: __spreadArray([], __read(COMPONENT$c)),
4492
4806
  providers: [],
4493
4807
  }]
4494
4808
  }] });
@@ -4718,22 +5032,22 @@
4718
5032
  }]
4719
5033
  }], ctorParameters: function () { return [{ type: i0__namespace.ElementRef }, { type: i0__namespace.ChangeDetectorRef }]; } });
4720
5034
 
4721
- var COMPONENT$9 = [AXDrawerComponent, AXDrawerContainerComponent, AXDrawerContentComponent];
4722
- var MODULES$9 = [i1.CommonModule];
5035
+ var COMPONENT$b = [AXDrawerComponent, AXDrawerContainerComponent, AXDrawerContentComponent];
5036
+ var MODULES$b = [i4.CommonModule];
4723
5037
  var AXDrawerModule = /** @class */ (function () {
4724
5038
  function AXDrawerModule() {
4725
5039
  }
4726
5040
  return AXDrawerModule;
4727
5041
  }());
4728
5042
  AXDrawerModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXDrawerModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
4729
- 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] });
4730
- AXDrawerModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXDrawerModule, providers: [], imports: [__spreadArray([], __read(MODULES$9))] });
5043
+ AXDrawerModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXDrawerModule, declarations: [AXDrawerComponent, AXDrawerContainerComponent, AXDrawerContentComponent], imports: [i4.CommonModule], exports: [AXDrawerComponent, AXDrawerContainerComponent, AXDrawerContentComponent] });
5044
+ AXDrawerModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXDrawerModule, providers: [], imports: [__spreadArray([], __read(MODULES$b))] });
4731
5045
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXDrawerModule, decorators: [{
4732
5046
  type: i0.NgModule,
4733
5047
  args: [{
4734
- declarations: __spreadArray([], __read(COMPONENT$9)),
4735
- imports: __spreadArray([], __read(MODULES$9)),
4736
- exports: __spreadArray([], __read(COMPONENT$9)),
5048
+ declarations: __spreadArray([], __read(COMPONENT$b)),
5049
+ imports: __spreadArray([], __read(MODULES$b)),
5050
+ exports: __spreadArray([], __read(COMPONENT$b)),
4737
5051
  providers: [],
4738
5052
  }]
4739
5053
  }] });
@@ -4833,12 +5147,12 @@
4833
5147
  return AXFormModule;
4834
5148
  }());
4835
5149
  AXFormModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXFormModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
4836
- 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] });
4837
- AXFormModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXFormModule, providers: [], imports: [[i1.CommonModule]] });
5150
+ AXFormModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXFormModule, declarations: [AXFormFieldComponent, AXFormComponent, AXFormHintComponent], imports: [i4.CommonModule], exports: [AXFormFieldComponent, AXFormComponent, AXFormHintComponent] });
5151
+ AXFormModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXFormModule, providers: [], imports: [[i4.CommonModule]] });
4838
5152
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXFormModule, decorators: [{
4839
5153
  type: i0.NgModule,
4840
5154
  args: [{
4841
- imports: [i1.CommonModule],
5155
+ imports: [i4.CommonModule],
4842
5156
  exports: [AXFormFieldComponent, AXFormComponent, AXFormHintComponent],
4843
5157
  declarations: [AXFormFieldComponent, AXFormComponent, AXFormHintComponent],
4844
5158
  providers: [],
@@ -4894,22 +5208,22 @@
4894
5208
  type: i0.Input
4895
5209
  }] } });
4896
5210
 
4897
- var COMPONENT$8 = [AXInputMaskComponent];
4898
- var MODULES$8 = [i1.CommonModule, i1$3.NgxMaskModule.forRoot()];
5211
+ var COMPONENT$a = [AXInputMaskComponent];
5212
+ var MODULES$a = [i4.CommonModule, i1$2.NgxMaskModule.forRoot()];
4899
5213
  var AXInputMaskModule = /** @class */ (function () {
4900
5214
  function AXInputMaskModule() {
4901
5215
  }
4902
5216
  return AXInputMaskModule;
4903
5217
  }());
4904
5218
  AXInputMaskModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXInputMaskModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
4905
- 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] });
4906
- AXInputMaskModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXInputMaskModule, providers: [], imports: [__spreadArray([], __read(MODULES$8))] });
5219
+ AXInputMaskModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXInputMaskModule, declarations: [AXInputMaskComponent], imports: [i4.CommonModule, i1__namespace$2.NgxMaskModule], exports: [AXInputMaskComponent] });
5220
+ AXInputMaskModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXInputMaskModule, providers: [], imports: [__spreadArray([], __read(MODULES$a))] });
4907
5221
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXInputMaskModule, decorators: [{
4908
5222
  type: i0.NgModule,
4909
5223
  args: [{
4910
- declarations: __spreadArray([], __read(COMPONENT$8)),
4911
- imports: __spreadArray([], __read(MODULES$8)),
4912
- exports: __spreadArray([], __read(COMPONENT$8)),
5224
+ declarations: __spreadArray([], __read(COMPONENT$a)),
5225
+ imports: __spreadArray([], __read(MODULES$a)),
5226
+ exports: __spreadArray([], __read(COMPONENT$a)),
4913
5227
  providers: [],
4914
5228
  }]
4915
5229
  }] });
@@ -4933,22 +5247,22 @@
4933
5247
  }]
4934
5248
  }], ctorParameters: function () { return [{ type: i0__namespace.ElementRef }, { type: i0__namespace.ChangeDetectorRef }]; } });
4935
5249
 
4936
- var COMPONENT$7 = [AXLabelComponent];
4937
- var MODULES$7 = [i1.CommonModule];
5250
+ var COMPONENT$9 = [AXLabelComponent];
5251
+ var MODULES$9 = [i4.CommonModule];
4938
5252
  var AXLabelModule = /** @class */ (function () {
4939
5253
  function AXLabelModule() {
4940
5254
  }
4941
5255
  return AXLabelModule;
4942
5256
  }());
4943
5257
  AXLabelModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXLabelModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
4944
- 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] });
4945
- AXLabelModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXLabelModule, providers: [], imports: [__spreadArray([], __read(MODULES$7))] });
5258
+ AXLabelModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXLabelModule, declarations: [AXLabelComponent], imports: [i4.CommonModule], exports: [AXLabelComponent] });
5259
+ AXLabelModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXLabelModule, providers: [], imports: [__spreadArray([], __read(MODULES$9))] });
4946
5260
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXLabelModule, decorators: [{
4947
5261
  type: i0.NgModule,
4948
5262
  args: [{
4949
- declarations: __spreadArray([], __read(COMPONENT$7)),
4950
- imports: __spreadArray([], __read(MODULES$7)),
4951
- exports: __spreadArray([], __read(COMPONENT$7)),
5263
+ declarations: __spreadArray([], __read(COMPONENT$9)),
5264
+ imports: __spreadArray([], __read(MODULES$9)),
5265
+ exports: __spreadArray([], __read(COMPONENT$9)),
4952
5266
  providers: [],
4953
5267
  }]
4954
5268
  }] });
@@ -4996,7 +5310,7 @@
4996
5310
  _this.displayTextChange = new i0.EventEmitter();
4997
5311
  return _this;
4998
5312
  }
4999
- Object.defineProperty(AXNumberBoxComponent.prototype, "hostClass", {
5313
+ Object.defineProperty(AXNumberBoxComponent.prototype, "__hostClass", {
5000
5314
  get: function () {
5001
5315
  return this.cssClass + " ax-" + this.size;
5002
5316
  },
@@ -5202,8 +5516,8 @@
5202
5516
  };
5203
5517
  return AXNumberBoxComponent;
5204
5518
  }(AXBaseTextBoxMixin));
5205
- AXNumberBoxComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXNumberBoxComponent, deps: [{ token: i0__namespace.ElementRef }, { token: i0__namespace.ChangeDetectorRef }, { token: i1__namespace$3.MaskApplierService }], target: i0__namespace.ɵɵFactoryTarget.Component });
5206
- AXNumberBoxComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: AXNumberBoxComponent, selector: "ax-number-box", inputs: { disabled: "disabled", readonly: "readonly", tabIndex: "tabIndex", size: "size", value: "value", placeholder: "placeholder", maxLength: "maxLength", allowNull: "allowNull", debounceTime: "debounceTime", name: "name", separator: "separator", thousandSeparator: "thousandSeparator", step: "step", scale: "scale", decimalStep: "decimalStep", showSpinButtons: "showSpinButtons", minValue: "minValue", maxValue: "maxValue", displayText: "displayText" }, outputs: { valueChange: "valueChange", onValueChanged: "onValueChanged", onBlur: "onBlur", onFocus: "onFocus", displayTextChange: "displayTextChange" }, host: { properties: { "class": "this.hostClass" }, classAttribute: "ax-number-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\" type=\"text\" [attr.pattern]=\"'[\\d\\.]*'\" [attr.placeholder]=\"placeholder\" [attr.min]=\"minValue\"\r\n [attr.max]=\"maxValue\" [class.ax-state-disabled]=\"disabled\" [class.ax-state-readonly]=\"readonly\"\r\n [disabled]=\"disabled\" [readonly]=\"readonly\" [tabindex]=\"tabIndex\" [ngModel]=\"displayText\"\r\n (focus)=\"_emitOnFocusEvent($event)\" (blur)=\"_handleOnBlurEvent($event)\" (keydown)=\"_handleOnKeydownEvent($event)\"\r\n autocomplete=\"off\">\r\n<ax-button color=\"light\" look=\"blank\" (onClick)=\"clear()\" [tabIndex]=\"-1\"\r\n *ngIf=\"value && allowNull && !(disabled || readonly)\">\r\n <i class=\"ax-icon-x icon\"></i>\r\n</ax-button>\r\n<ng-content select=\"ax-suffix\">\r\n</ng-content>\r\n<ng-content select=\"ax-validation-rule\">\r\n</ng-content>", components: [{ type: AXButtonComponent, selector: "ax-button", inputs: ["disabled", "tabIndex", "size", "cssClass", "cssStyle", "text", "submitBehavior", "cancelBehavior", "color", "look", "toggleable", "selected"], outputs: ["onBlur", "onFocus", "onClick", "selectedChange", "toggleableChange"] }], 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.PatternValidator, selector: "[pattern][formControlName],[pattern][formControl],[pattern][ngModel]", inputs: ["pattern"] }, { 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 });
5519
+ AXNumberBoxComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXNumberBoxComponent, deps: [{ token: i0__namespace.ElementRef }, { token: i0__namespace.ChangeDetectorRef }, { token: i1__namespace$2.MaskApplierService }], target: i0__namespace.ɵɵFactoryTarget.Component });
5520
+ AXNumberBoxComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: AXNumberBoxComponent, selector: "ax-number-box", inputs: { disabled: "disabled", readonly: "readonly", tabIndex: "tabIndex", size: "size", value: "value", placeholder: "placeholder", maxLength: "maxLength", allowNull: "allowNull", debounceTime: "debounceTime", name: "name", separator: "separator", thousandSeparator: "thousandSeparator", step: "step", scale: "scale", decimalStep: "decimalStep", showSpinButtons: "showSpinButtons", minValue: "minValue", maxValue: "maxValue", displayText: "displayText" }, outputs: { valueChange: "valueChange", onValueChanged: "onValueChanged", onBlur: "onBlur", onFocus: "onFocus", displayTextChange: "displayTextChange" }, host: { properties: { "class": "this.__hostClass" }, classAttribute: "ax-number-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\" type=\"text\" [attr.pattern]=\"'[\\d\\.]*'\" [attr.placeholder]=\"placeholder\" [attr.min]=\"minValue\"\r\n [attr.max]=\"maxValue\" [class.ax-state-disabled]=\"disabled\" [class.ax-state-readonly]=\"readonly\"\r\n [disabled]=\"disabled\" [readonly]=\"readonly\" [tabindex]=\"tabIndex\" [ngModel]=\"displayText\"\r\n (focus)=\"_emitOnFocusEvent($event)\" (blur)=\"_handleOnBlurEvent($event)\" (keydown)=\"_handleOnKeydownEvent($event)\"\r\n autocomplete=\"off\">\r\n<ax-button color=\"light\" look=\"blank\" (onClick)=\"clear()\" [tabIndex]=\"-1\"\r\n *ngIf=\"value && allowNull && !(disabled || readonly)\">\r\n <i class=\"ax-icon-x icon\"></i>\r\n</ax-button>\r\n<ng-content select=\"ax-suffix\">\r\n</ng-content>\r\n<ng-content select=\"ax-validation-rule\">\r\n</ng-content>", 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: 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.PatternValidator, selector: "[pattern][formControlName],[pattern][formControl],[pattern][ngModel]", inputs: ["pattern"] }, { 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: i4__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush, encapsulation: i0__namespace.ViewEncapsulation.None });
5207
5521
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXNumberBoxComponent, decorators: [{
5208
5522
  type: i0.Component,
5209
5523
  args: [{
@@ -5226,7 +5540,7 @@
5226
5540
  encapsulation: i0.ViewEncapsulation.None,
5227
5541
  host: { class: 'ax-number-box ax-editor-container' },
5228
5542
  }]
5229
- }], ctorParameters: function () { return [{ type: i0__namespace.ElementRef }, { type: i0__namespace.ChangeDetectorRef }, { type: i1__namespace$3.MaskApplierService }]; }, propDecorators: { hostClass: [{
5543
+ }], ctorParameters: function () { return [{ type: i0__namespace.ElementRef }, { type: i0__namespace.ChangeDetectorRef }, { type: i1__namespace$2.MaskApplierService }]; }, propDecorators: { __hostClass: [{
5230
5544
  type: i0.HostBinding,
5231
5545
  args: ['class']
5232
5546
  }], separator: [{
@@ -5251,12 +5565,12 @@
5251
5565
  type: i0.Input
5252
5566
  }] } });
5253
5567
 
5254
- var COMPONENT$6 = [AXNumberBoxComponent];
5255
- var MODULES$6 = [
5256
- i1.CommonModule,
5568
+ var COMPONENT$8 = [AXNumberBoxComponent];
5569
+ var MODULES$8 = [
5570
+ i4.CommonModule,
5257
5571
  i3.FormsModule,
5258
5572
  AXButtonModule,
5259
- i1$3.NgxMaskModule.forChild()
5573
+ i1$2.NgxMaskModule.forChild()
5260
5574
  ];
5261
5575
  var AXNumberBoxModule = /** @class */ (function () {
5262
5576
  function AXNumberBoxModule() {
@@ -5264,164 +5578,117 @@
5264
5578
  return AXNumberBoxModule;
5265
5579
  }());
5266
5580
  AXNumberBoxModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXNumberBoxModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
5267
- AXNumberBoxModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXNumberBoxModule, declarations: [AXNumberBoxComponent], imports: [i1.CommonModule,
5581
+ AXNumberBoxModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXNumberBoxModule, declarations: [AXNumberBoxComponent], imports: [i4.CommonModule,
5268
5582
  i3.FormsModule,
5269
- AXButtonModule, i1__namespace$3.NgxMaskModule], exports: [AXNumberBoxComponent] });
5270
- AXNumberBoxModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXNumberBoxModule, providers: [], imports: [__spreadArray([], __read(MODULES$6))] });
5583
+ AXButtonModule, i1__namespace$2.NgxMaskModule], exports: [AXNumberBoxComponent] });
5584
+ AXNumberBoxModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXNumberBoxModule, providers: [], imports: [__spreadArray([], __read(MODULES$8))] });
5271
5585
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXNumberBoxModule, decorators: [{
5272
5586
  type: i0.NgModule,
5273
5587
  args: [{
5274
- declarations: __spreadArray([], __read(COMPONENT$6)),
5275
- imports: __spreadArray([], __read(MODULES$6)),
5276
- exports: __spreadArray([], __read(COMPONENT$6)),
5588
+ declarations: __spreadArray([], __read(COMPONENT$8)),
5589
+ imports: __spreadArray([], __read(MODULES$8)),
5590
+ exports: __spreadArray([], __read(COMPONENT$8)),
5277
5591
  providers: [],
5278
5592
  }]
5279
5593
  }] });
5280
5594
 
5281
- var AXPopoverComponent = /** @class */ (function () {
5282
- function AXPopoverComponent(overlayService, zone, cdr) {
5283
- this.overlayService = overlayService;
5284
- this.zone = zone;
5285
- this.cdr = cdr;
5286
- //
5287
- this.openMode = 'manual';
5288
- //
5289
- this.closeMode = 'clickout';
5290
- //
5291
- this._visible = false;
5595
+ /**
5596
+ * The Textbox is a component which detects user interaction and triggers a corresponding event
5597
+ *
5598
+ * @category Components
5599
+ */
5600
+ var AXPasswordBoxComponent = /** @class */ (function (_super) {
5601
+ __extends(AXPasswordBoxComponent, _super);
5602
+ /**
5603
+ * @ignore
5604
+ */
5605
+ function AXPasswordBoxComponent(elementRef, cdr) {
5606
+ var _this = _super.call(this, elementRef, cdr) || this;
5607
+ _this._type = 'password';
5608
+ _this._icon = 'ax-ic-eye';
5609
+ /**
5610
+ * A flag for showing or hiding password button.
5611
+ */
5612
+ _this.showToggleButton = true;
5613
+ return _this;
5292
5614
  }
5293
- Object.defineProperty(AXPopoverComponent.prototype, "visible", {
5615
+ Object.defineProperty(AXPasswordBoxComponent.prototype, "hostClass", {
5294
5616
  get: function () {
5295
- return this._visible;
5296
- },
5297
- set: function (v) {
5298
- if (v !== this._visible) {
5299
- if (v) {
5300
- this.internalShow();
5301
- }
5302
- else {
5303
- this.internalHide();
5304
- }
5305
- this._visible = v;
5306
- this.cdr.detectChanges();
5307
- }
5617
+ return this.cssClass + " ax-" + this.size;
5308
5618
  },
5309
5619
  enumerable: false,
5310
5620
  configurable: true
5311
5621
  });
5312
- //
5313
- AXPopoverComponent.prototype.toggle = function () {
5314
- this.visible = !this.visible;
5315
- };
5316
- AXPopoverComponent.prototype.close = function () {
5317
- var _this = this;
5318
- this.zone.run(function () {
5319
- _this.visible = false;
5320
- });
5321
- };
5322
- AXPopoverComponent.prototype.open = function () {
5323
- var _this = this;
5324
- this.zone.run(function () {
5325
- _this.visible = true;
5326
- });
5327
- };
5328
- AXPopoverComponent.prototype.internalShow = function () {
5329
- var _this = this;
5330
- if (this.isOpen) {
5331
- return;
5332
- }
5333
- this.overlay = this.overlayService.show(this.template, {}, {
5334
- closeOnClickOutside: this.closeMode === 'clickout',
5335
- targetElement: this.targetEl,
5336
- hasBackdrop: this.closeMode === 'clickout',
5337
- position: this.position,
5338
- onBackdropClick: function () {
5339
- _this._visible = false;
5340
- }
5341
- });
5342
- };
5343
- AXPopoverComponent.prototype.internalHide = function () {
5344
- if (this.overlay) {
5345
- this.overlay.dispose();
5622
+ AXPasswordBoxComponent.prototype.toggleType = function () {
5623
+ if (this._type === 'password') {
5624
+ this._type = 'text';
5625
+ this._icon = 'ax-ic-eye-off';
5346
5626
  }
5347
- };
5348
- AXPopoverComponent.prototype.ngAfterViewInit = function () {
5349
- var _this = this;
5350
- setTimeout(function () {
5351
- _this.targetEl = typeof _this.target === 'string' ? document.querySelector(_this.target) : _this.target;
5352
- //
5353
- if (_this.closeMode === 'mouseout') {
5354
- _this.targetEl.addEventListener('mouseout', _this.close.bind(_this));
5355
- }
5356
- if (_this.openMode === 'hover' && _this.targetEl) {
5357
- _this.targetEl.addEventListener('mouseover', _this.open.bind(_this));
5358
- }
5359
- //
5360
- if (_this.openMode === 'click' && _this.targetEl) {
5361
- _this.targetEl.addEventListener('click', _this.open.bind(_this));
5362
- }
5363
- }, 100);
5364
- };
5365
- AXPopoverComponent.prototype.ngOnDestroy = function () {
5366
- if (this.openMode === 'click' && this.targetEl) {
5367
- this.targetEl.removeEventListener('mouseover', this.open.bind(this));
5368
- this.targetEl.removeEventListener('click', this.open.bind(this));
5369
- this.targetEl.removeEventListener('mouseout', this.open.bind(this));
5627
+ else {
5628
+ this._type = 'password';
5629
+ this._icon = 'ax-ic-eye';
5370
5630
  }
5371
5631
  };
5372
- Object.defineProperty(AXPopoverComponent.prototype, "isOpen", {
5373
- get: function () {
5374
- return this.visible;
5375
- },
5376
- enumerable: false,
5377
- configurable: true
5378
- });
5379
- return AXPopoverComponent;
5380
- }());
5381
- AXPopoverComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXPopoverComponent, deps: [{ token: AXOverlayService }, { token: i0__namespace.NgZone }, { token: i0__namespace.ChangeDetectorRef }], target: i0__namespace.ɵɵFactoryTarget.Component });
5382
- AXPopoverComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: AXPopoverComponent, selector: "ax-popover", inputs: { target: "target", position: "position", openMode: "openMode", closeMode: "closeMode", visible: "visible" }, viewQueries: [{ propertyName: "template", first: true, predicate: ["tpl"], descendants: true }], ngImport: i0__namespace, template: "<ng-template #tpl>\r\n <div class=\"ax-popover-container ax-animate-fade-in-down\">\r\n <ng-content></ng-content>\r\n </div>\r\n</ng-template>", changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush, encapsulation: i0__namespace.ViewEncapsulation.None });
5383
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXPopoverComponent, decorators: [{
5632
+ return AXPasswordBoxComponent;
5633
+ }(AXBaseTextBoxMixin));
5634
+ 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 });
5635
+ 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: i4__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush, encapsulation: i0__namespace.ViewEncapsulation.None });
5636
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXPasswordBoxComponent, decorators: [{
5384
5637
  type: i0.Component,
5385
5638
  args: [{
5386
- selector: 'ax-popover',
5387
- templateUrl: './popover.component.html',
5639
+ selector: 'ax-password-box',
5640
+ templateUrl: 'password-box.component.html',
5641
+ inputs: __spreadArray([
5642
+ 'disabled',
5643
+ 'readonly',
5644
+ 'tabIndex',
5645
+ 'cssClass',
5646
+ 'size'
5647
+ ], __read(TEXTBOX_INPUTS)),
5648
+ outputs: __spreadArray([
5649
+ 'valueChange',
5650
+ 'onValueChanged',
5651
+ 'onBlur',
5652
+ 'onFocus'
5653
+ ], __read(TEXTBOX_OUTPUT)),
5388
5654
  encapsulation: i0.ViewEncapsulation.None,
5389
5655
  changeDetection: i0.ChangeDetectionStrategy.OnPush,
5656
+ host: { class: 'ax-password-box ax-editor-container' },
5390
5657
  }]
5391
- }], ctorParameters: function () { return [{ type: AXOverlayService }, { type: i0__namespace.NgZone }, { type: i0__namespace.ChangeDetectorRef }]; }, propDecorators: { template: [{
5392
- type: i0.ViewChild,
5393
- args: ['tpl']
5394
- }], target: [{
5395
- type: i0.Input,
5396
- args: ['target']
5397
- }], position: [{
5398
- type: i0.Input,
5399
- args: ['position']
5400
- }], openMode: [{
5401
- type: i0.Input,
5402
- args: ['openMode']
5403
- }], closeMode: [{
5404
- type: i0.Input,
5405
- args: ['closeMode']
5406
- }], visible: [{
5658
+ }], ctorParameters: function () { return [{ type: i0__namespace.ElementRef }, { type: i0__namespace.ChangeDetectorRef }]; }, propDecorators: { hostClass: [{
5659
+ type: i0.HostBinding,
5660
+ args: ['class']
5661
+ }], showToggleButton: [{
5407
5662
  type: i0.Input
5408
5663
  }] } });
5409
5664
 
5410
- var AXPopoverModule = /** @class */ (function () {
5411
- function AXPopoverModule() {
5665
+ var COMPONENT$7 = [AXPasswordBoxComponent];
5666
+ var MODULES$7 = [
5667
+ i4.CommonModule,
5668
+ i3.FormsModule,
5669
+ AXButtonModule,
5670
+ AXEditorDecoratorModule,
5671
+ AXIconModule
5672
+ ];
5673
+ var AXPasswordBoxModule = /** @class */ (function () {
5674
+ function AXPasswordBoxModule() {
5412
5675
  }
5413
- return AXPopoverModule;
5676
+ return AXPasswordBoxModule;
5414
5677
  }());
5415
- AXPopoverModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXPopoverModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
5416
- AXPopoverModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXPopoverModule, declarations: [AXPopoverComponent], imports: [i1.CommonModule], exports: [AXPopoverComponent] });
5417
- AXPopoverModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXPopoverModule, providers: [], imports: [[i1.CommonModule]] });
5418
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXPopoverModule, decorators: [{
5678
+ AXPasswordBoxModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXPasswordBoxModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
5679
+ AXPasswordBoxModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXPasswordBoxModule, declarations: [AXPasswordBoxComponent], imports: [i4.CommonModule,
5680
+ i3.FormsModule,
5681
+ AXButtonModule,
5682
+ AXEditorDecoratorModule,
5683
+ AXIconModule], exports: [AXPasswordBoxComponent] });
5684
+ AXPasswordBoxModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXPasswordBoxModule, providers: [], imports: [__spreadArray([], __read(MODULES$7))] });
5685
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXPasswordBoxModule, decorators: [{
5419
5686
  type: i0.NgModule,
5420
5687
  args: [{
5421
- declarations: [AXPopoverComponent],
5422
- imports: [i1.CommonModule],
5423
- exports: [AXPopoverComponent],
5424
- providers: []
5688
+ declarations: __spreadArray([], __read(COMPONENT$7)),
5689
+ imports: __spreadArray([], __read(MODULES$7)),
5690
+ exports: __spreadArray([], __read(COMPONENT$7)),
5691
+ providers: [],
5425
5692
  }]
5426
5693
  }] });
5427
5694
 
@@ -5450,11 +5717,11 @@
5450
5717
  // });
5451
5718
  }
5452
5719
  else if (this.content instanceof i0.TemplateRef) {
5453
- this._selectedPortal = new i1$1.TemplatePortal(this.content, this._viewContainerRef, { $implicit: this.data, ref: this });
5720
+ this._selectedPortal = new i1.TemplatePortal(this.content, this._viewContainerRef, { $implicit: this.data, ref: this });
5454
5721
  this._cdr.markForCheck();
5455
5722
  }
5456
5723
  else if (typeof this.content === 'function') {
5457
- this._selectedPortal = new i1$1.ComponentPortal(this.content);
5724
+ this._selectedPortal = new i1.ComponentPortal(this.content);
5458
5725
  this._cdr.markForCheck();
5459
5726
  }
5460
5727
  };
@@ -5471,7 +5738,7 @@
5471
5738
  }
5472
5739
  }
5473
5740
  if (ref.instance.footer) {
5474
- this._footerPortal = new i1$1.TemplatePortal(ref.instance.footer.template, this._viewContainerRef, { $implicit: this.data, ref: this });
5741
+ this._footerPortal = new i1.TemplatePortal(ref.instance.footer.template, this._viewContainerRef, { $implicit: this.data, ref: this });
5475
5742
  }
5476
5743
  this.loadingService.hide(this._loadingId);
5477
5744
  this.focus();
@@ -5503,7 +5770,7 @@
5503
5770
  return AXPopupComponent;
5504
5771
  }(AXBaseComponentMixin));
5505
5772
  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 });
5506
- 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 });
5773
+ 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: i4__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i3__namespace$1.CdkDragHandle, selector: "[cdkDragHandle]", inputs: ["cdkDragHandleDisabled"] }, { type: i1__namespace$1.CdkPortalOutlet, selector: "[cdkPortalOutlet]", inputs: ["cdkPortalOutlet"], outputs: ["attached"], exportAs: ["cdkPortalOutlet"] }], changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush, encapsulation: i0__namespace.ViewEncapsulation.None });
5507
5774
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXPopupComponent, decorators: [{
5508
5775
  type: i0.Component,
5509
5776
  args: [{
@@ -5609,23 +5876,64 @@
5609
5876
  type: i0.Injectable
5610
5877
  }], ctorParameters: function () { return [{ type: AXOverlayService }]; } });
5611
5878
 
5612
- var COMPONENT$5 = [AXPopupComponent];
5613
- var MODULES$5 = [i1.CommonModule, i3$1.DragDropModule, i2$1.A11yModule, AXButtonModule, i1$1.PortalModule];
5879
+ var COMPONENT$6 = [AXPopupComponent];
5880
+ var MODULES$6 = [i4.CommonModule, i3$1.DragDropModule, i2$1.A11yModule, AXButtonModule, i1.PortalModule];
5614
5881
  var AXPopupModule = /** @class */ (function () {
5615
5882
  function AXPopupModule() {
5616
5883
  }
5617
5884
  return AXPopupModule;
5618
5885
  }());
5619
5886
  AXPopupModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXPopupModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
5620
- 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] });
5621
- 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))] });
5887
+ AXPopupModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXPopupModule, declarations: [AXPopupComponent], imports: [i4.CommonModule, i3$1.DragDropModule, i2$1.A11yModule, AXButtonModule, i1.PortalModule], exports: [AXPopupComponent] });
5888
+ AXPopupModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXPopupModule, providers: [AXPopupService], imports: [__spreadArray([], __read(MODULES$6))] });
5622
5889
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXPopupModule, decorators: [{
5890
+ type: i0.NgModule,
5891
+ args: [{
5892
+ declarations: __spreadArray([], __read(COMPONENT$6)),
5893
+ imports: __spreadArray([], __read(MODULES$6)),
5894
+ exports: __spreadArray([], __read(COMPONENT$6)),
5895
+ providers: [AXPopupService],
5896
+ }]
5897
+ }] });
5898
+
5899
+ var AXRangeSliderComponent = /** @class */ (function (_super) {
5900
+ __extends(AXRangeSliderComponent, _super);
5901
+ function AXRangeSliderComponent(elementRef, cdr) {
5902
+ return _super.call(this, elementRef, cdr) || this;
5903
+ //TODO: ax-range-slider
5904
+ }
5905
+ return AXRangeSliderComponent;
5906
+ }(AXBaseComponentMixin));
5907
+ 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 });
5908
+ 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 });
5909
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXRangeSliderComponent, decorators: [{
5910
+ type: i0.Component,
5911
+ args: [{
5912
+ selector: 'ax-range-slider',
5913
+ templateUrl: './range-slider.component.html',
5914
+ changeDetection: i0.ChangeDetectionStrategy.OnPush,
5915
+ encapsulation: i0.ViewEncapsulation.None,
5916
+ host: { class: 'ax-range-slider' }
5917
+ }]
5918
+ }], ctorParameters: function () { return [{ type: i0__namespace.ElementRef }, { type: i0__namespace.ChangeDetectorRef }]; } });
5919
+
5920
+ var COMPONENT$5 = [AXRangeSliderComponent];
5921
+ var MODULES$5 = [i4.CommonModule];
5922
+ var AXRangeSliderModule = /** @class */ (function () {
5923
+ function AXRangeSliderModule() {
5924
+ }
5925
+ return AXRangeSliderModule;
5926
+ }());
5927
+ AXRangeSliderModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXRangeSliderModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
5928
+ AXRangeSliderModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXRangeSliderModule, declarations: [AXRangeSliderComponent], imports: [i4.CommonModule], exports: [AXRangeSliderComponent] });
5929
+ AXRangeSliderModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXRangeSliderModule, providers: [], imports: [__spreadArray([], __read(MODULES$5))] });
5930
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXRangeSliderModule, decorators: [{
5623
5931
  type: i0.NgModule,
5624
5932
  args: [{
5625
5933
  declarations: __spreadArray([], __read(COMPONENT$5)),
5626
5934
  imports: __spreadArray([], __read(MODULES$5)),
5627
5935
  exports: __spreadArray([], __read(COMPONENT$5)),
5628
- providers: [AXPopupService],
5936
+ providers: [],
5629
5937
  }]
5630
5938
  }] });
5631
5939
 
@@ -5686,6 +5994,10 @@
5686
5994
  this.unselectItems(item);
5687
5995
  e.stopPropagation();
5688
5996
  };
5997
+ AXSelectBoxComponent.prototype._handleBadgeRemove = function (e, item) {
5998
+ this.unselectItems(item);
5999
+ e.stopPropagation();
6000
+ };
5689
6001
  AXSelectBoxComponent.prototype._handleKeydown = function (e) {
5690
6002
  if (!(this._getHostElement() == document.activeElement ||
5691
6003
  this._getHostElement().contains(document.activeElement) ||
@@ -5806,7 +6118,7 @@
5806
6118
  return AXSelectBoxComponent;
5807
6119
  }(AXBaseSelectionDropdownMixin));
5808
6120
  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 });
5809
- 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 <div class=\"ax-dropdown-chips\">\r\n <div *ngFor=\"let item of selectedItems\" [ngClass]=\"{'ax-badge ax-primary ax-m-1': multiple,'ax-badge':!multiple}\" [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)\" *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 <ng-container panel>\r\n <div class=\"ax-list ax-list-container\">\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\" (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 </ng-container>\r\n</ax-drop-down>", components: [{ type: AXDropdownComponent, selector: "ax-drop-down", inputs: ["disabled", "readonly", "tabIndex", "size", "fitParent"], outputs: ["onOpened", "onClosed"] }], 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 });
6121
+ 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", "readonly", "tabIndex", "size", "value", "indeterminate"], outputs: ["valueChange", "onValueChanged", "onBlur", "onFocus"] }], directives: [{ type: i4__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i4__namespace.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i4__namespace.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }], changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush, encapsulation: i0__namespace.ViewEncapsulation.None });
5810
6122
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXSelectBoxComponent, decorators: [{
5811
6123
  type: i0.Component,
5812
6124
  args: [{
@@ -5835,12 +6147,12 @@
5835
6147
  return AXSelectBoxModule;
5836
6148
  }());
5837
6149
  AXSelectBoxModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXSelectBoxModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
5838
- 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] });
5839
- 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]] });
6150
+ AXSelectBoxModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXSelectBoxModule, declarations: [AXSelectBoxComponent], imports: [i4.CommonModule, AXDropdownModule, i3.FormsModule, AXCheckBoxModule, AXBadgeModule, AXEditorDecoratorModule, AXIconModule], exports: [AXSelectBoxComponent] });
6151
+ AXSelectBoxModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXSelectBoxModule, providers: [], imports: [[i4.CommonModule, AXDropdownModule, i3.FormsModule, AXCheckBoxModule, AXBadgeModule, AXEditorDecoratorModule, AXIconModule]] });
5840
6152
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXSelectBoxModule, decorators: [{
5841
6153
  type: i0.NgModule,
5842
6154
  args: [{
5843
- imports: [i1.CommonModule, AXDropdownModule, i3.FormsModule],
6155
+ imports: [i4.CommonModule, AXDropdownModule, i3.FormsModule, AXCheckBoxModule, AXBadgeModule, AXEditorDecoratorModule, AXIconModule],
5844
6156
  exports: [AXSelectBoxComponent],
5845
6157
  declarations: [AXSelectBoxComponent],
5846
6158
  providers: [],
@@ -5866,7 +6178,7 @@
5866
6178
  return AXSelectionListComponent;
5867
6179
  }(AXBaseSelectionValueMixin));
5868
6180
  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 });
5869
- 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", 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\"\r\n (change)=\"_handleOnItemValueChange(item, $event)\" [checked]=\"isItemSelected(item)\"\r\n [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-gray-700\"> {{item[textField]}}</label>\r\n <p class=\"ax-text-gray-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\"\r\n (change)=\"_handleOnItemValueChange(item, $event)\" [checked]=\"isItemSelected(item)\"\r\n [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-gray-700\"> {{item[textField]}}</label>\r\n <p class=\"ax-text-gray-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 });
6181
+ 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: i4__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i4__namespace.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }], changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush, encapsulation: i0__namespace.ViewEncapsulation.None });
5870
6182
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXSelectionListComponent, decorators: [{
5871
6183
  type: i0.Component,
5872
6184
  args: [{
@@ -5883,6 +6195,7 @@
5883
6195
  'multiple',
5884
6196
  'items',
5885
6197
  'selectionMode',
6198
+ 'cssClass'
5886
6199
  ],
5887
6200
  outputs: ['valueChange', 'onValueChanged', 'onBlur', 'onFocus'],
5888
6201
  encapsulation: i0.ViewEncapsulation.None,
@@ -5898,13 +6211,13 @@
5898
6211
  return AXSelectionListModule;
5899
6212
  }());
5900
6213
  AXSelectionListModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXSelectionListModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
5901
- AXSelectionListModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXSelectionListModule, declarations: [AXSelectionListComponent], imports: [i1.CommonModule, i3.FormsModule, AXCheckBoxModule], exports: [AXSelectionListComponent] });
5902
- AXSelectionListModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXSelectionListModule, providers: [], imports: [[i1.CommonModule, i3.FormsModule, AXCheckBoxModule]] });
6214
+ AXSelectionListModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXSelectionListModule, declarations: [AXSelectionListComponent], imports: [i4.CommonModule, i3.FormsModule, AXCheckBoxModule], exports: [AXSelectionListComponent] });
6215
+ AXSelectionListModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXSelectionListModule, providers: [], imports: [[i4.CommonModule, i3.FormsModule, AXCheckBoxModule]] });
5903
6216
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXSelectionListModule, decorators: [{
5904
6217
  type: i0.NgModule,
5905
6218
  args: [{
5906
6219
  declarations: [AXSelectionListComponent],
5907
- imports: [i1.CommonModule, i3.FormsModule, AXCheckBoxModule],
6220
+ imports: [i4.CommonModule, i3.FormsModule, AXCheckBoxModule],
5908
6221
  exports: [AXSelectionListComponent],
5909
6222
  providers: []
5910
6223
  }]
@@ -5931,14 +6244,14 @@
5931
6244
  }], ctorParameters: function () { return [{ type: i0__namespace.ElementRef }, { type: i0__namespace.ChangeDetectorRef }]; } });
5932
6245
 
5933
6246
  var COMPONENT$4 = [AXSideMenuComponent];
5934
- var MODULES$4 = [i1.CommonModule];
6247
+ var MODULES$4 = [i4.CommonModule];
5935
6248
  var AXSideMenuModule = /** @class */ (function () {
5936
6249
  function AXSideMenuModule() {
5937
6250
  }
5938
6251
  return AXSideMenuModule;
5939
6252
  }());
5940
6253
  AXSideMenuModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXSideMenuModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
5941
- AXSideMenuModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXSideMenuModule, declarations: [AXSideMenuComponent], imports: [i1.CommonModule], exports: [AXSideMenuComponent] });
6254
+ AXSideMenuModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXSideMenuModule, declarations: [AXSideMenuComponent], imports: [i4.CommonModule], exports: [AXSideMenuComponent] });
5942
6255
  AXSideMenuModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXSideMenuModule, providers: [], imports: [__spreadArray([], __read(MODULES$4))] });
5943
6256
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXSideMenuModule, decorators: [{
5944
6257
  type: i0.NgModule,
@@ -5964,7 +6277,7 @@
5964
6277
  return AXSwitchComponent;
5965
6278
  }(AXBaseValueComponentMixin));
5966
6279
  AXSwitchComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXSwitchComponent, deps: [{ token: i0__namespace.ElementRef }, { token: i0__namespace.ChangeDetectorRef }], target: i0__namespace.ɵɵFactoryTarget.Component });
5967
- AXSwitchComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: AXSwitchComponent, selector: "ax-switch", inputs: { disabled: "disabled", readonly: "readonly", tabIndex: "tabIndex", size: "size", cssClass: "cssClass", cssStyle: "cssStyle", allowNull: "allowNull", value: "value", debounceTime: "debounceTime", name: "name" }, outputs: { onBlur: "onBlur", onFocus: "onFocus", valueChange: "valueChange", onValueChanged: "onValueChanged" }, usesInheritance: true, ngImport: i0__namespace, template: "<label class=\"ax-switch {{cssClass}}\" [class.ax-state-disabled]=\"disabled\" [class.ax-state-readonly]=\"readonly\"\r\n [attr.style]=\"cssStyle\" (click)=\"handleOnClickEvent($event)\">\r\n <input type=\"checkbox\" [(ngModel)]=\"value\" [disabled]=\"disabled\" [readonly]=\"readonly\" [tabindex]=\"tabIndex\"\r\n (focus)=\"_emitOnFocusEvent($event)\" (blur)=\"_emitOnBlurEvent($event)\">\r\n <span class=\"ax-switch-slider\"></span>\r\n</label>\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 });
6280
+ AXSwitchComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: AXSwitchComponent, selector: "ax-switch", inputs: { disabled: "disabled", readonly: "readonly", tabIndex: "tabIndex", size: "size", cssClass: "cssClass", cssStyle: "cssStyle", allowNull: "allowNull", value: "value", debounceTime: "debounceTime", name: "name" }, outputs: { onBlur: "onBlur", onFocus: "onFocus", valueChange: "valueChange", onValueChanged: "onValueChanged" }, usesInheritance: true, ngImport: i0__namespace, template: "<label class=\"ax-switch {{cssClass}} ax-{{size}}\" [class.ax-state-disabled]=\"disabled\"\r\n [class.ax-state-readonly]=\"readonly\" [attr.style]=\"cssStyle\" (click)=\"handleOnClickEvent($event)\">\r\n <input type=\"checkbox\" [(ngModel)]=\"value\" [disabled]=\"disabled\" [readonly]=\"readonly\" [tabindex]=\"tabIndex\"\r\n (focus)=\"_emitOnFocusEvent($event)\" (blur)=\"_emitOnBlurEvent($event)\">\r\n <span class=\"ax-switch-slider\"></span>\r\n</label>\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 });
5968
6281
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXSwitchComponent, decorators: [{
5969
6282
  type: i0.Component,
5970
6283
  args: [{
@@ -5983,13 +6296,13 @@
5983
6296
  return AXSwitchModule;
5984
6297
  }());
5985
6298
  AXSwitchModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXSwitchModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
5986
- AXSwitchModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXSwitchModule, declarations: [AXSwitchComponent], imports: [i1.CommonModule, i3.FormsModule], exports: [AXSwitchComponent] });
5987
- AXSwitchModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXSwitchModule, providers: [], imports: [[i1.CommonModule, i3.FormsModule]] });
6299
+ AXSwitchModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXSwitchModule, declarations: [AXSwitchComponent], imports: [i4.CommonModule, i3.FormsModule], exports: [AXSwitchComponent] });
6300
+ AXSwitchModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXSwitchModule, providers: [], imports: [[i4.CommonModule, i3.FormsModule]] });
5988
6301
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXSwitchModule, decorators: [{
5989
6302
  type: i0.NgModule,
5990
6303
  args: [{
5991
6304
  declarations: [AXSwitchComponent],
5992
- imports: [i1.CommonModule, i3.FormsModule],
6305
+ imports: [i4.CommonModule, i3.FormsModule],
5993
6306
  exports: [AXSwitchComponent],
5994
6307
  entryComponents: [AXSwitchComponent],
5995
6308
  providers: [],
@@ -6001,7 +6314,8 @@
6001
6314
  function AXTabStripComponent(elementRef, cdr) {
6002
6315
  var _this = _super.call(this, elementRef, cdr) || this;
6003
6316
  _this.mode = 'default';
6004
- _this.fullWidth = false;
6317
+ _this.direction = "horizontal";
6318
+ _this.fitParent = false;
6005
6319
  _this.minWidth = false;
6006
6320
  _this.onSelectionChanged = new i0.EventEmitter();
6007
6321
  return _this;
@@ -6034,10 +6348,17 @@
6034
6348
  htmlElement: this._getHostElement(),
6035
6349
  });
6036
6350
  };
6351
+ Object.defineProperty(AXTabStripComponent.prototype, "__hostClass", {
6352
+ get: function () {
6353
+ return ["ax-tabs", "ax-tabs-" + (this.mode ? this.mode : 'default'), "ax-tabs-" + this.direction, "" + (this.fitParent ? 'ax-tabs-fit' : '')].join(' ');
6354
+ },
6355
+ enumerable: false,
6356
+ configurable: true
6357
+ });
6037
6358
  return AXTabStripComponent;
6038
6359
  }(AXSizableComponentMixin));
6039
6360
  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 });
6040
- 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", 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}} {{cssClass}}\" [class.ax-tabs-full]=\"fullWidth\"\r\n [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\"\r\n *ngIf=\"item.visible!=false\" (click)=\"_handleClick(item,i)\">\r\n\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 });
6361
+ 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 });
6041
6362
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXTabStripComponent, decorators: [{
6042
6363
  type: i0.Component,
6043
6364
  args: [{
@@ -6045,19 +6366,24 @@
6045
6366
  templateUrl: './tab-strip.component.html',
6046
6367
  changeDetection: i0.ChangeDetectionStrategy.OnPush,
6047
6368
  encapsulation: i0.ViewEncapsulation.None,
6048
- inputs: ['size', 'cssClass'],
6369
+ inputs: ['size'],
6049
6370
  host: { class: 'ax-tab-strip' },
6050
6371
  }]
6051
6372
  }], ctorParameters: function () { return [{ type: i0__namespace.ElementRef }, { type: i0__namespace.ChangeDetectorRef }]; }, propDecorators: { items: [{
6052
6373
  type: i0.Input
6053
6374
  }], mode: [{
6054
6375
  type: i0.Input
6055
- }], fullWidth: [{
6376
+ }], direction: [{
6377
+ type: i0.Input
6378
+ }], fitParent: [{
6056
6379
  type: i0.Input
6057
6380
  }], minWidth: [{
6058
6381
  type: i0.Input
6059
6382
  }], onSelectionChanged: [{
6060
6383
  type: i0.Output
6384
+ }], __hostClass: [{
6385
+ type: i0.HostBinding,
6386
+ args: ['class']
6061
6387
  }] } });
6062
6388
 
6063
6389
  var AXTabComponent = /** @class */ (function (_super) {
@@ -6082,7 +6408,7 @@
6082
6408
  return AXTabComponent;
6083
6409
  }(AXBaseComponentMixin));
6084
6410
  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 });
6085
- 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 });
6411
+ 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 });
6086
6412
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXTabComponent, decorators: [{
6087
6413
  type: i0.Component,
6088
6414
  args: [{
@@ -6134,9 +6460,9 @@
6134
6460
  tabs[e.selectedIndex].show();
6135
6461
  };
6136
6462
  return AXTabViewComponent;
6137
- }(AXTabStripComponent));
6463
+ }(AXBaseComponent));
6138
6464
  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 });
6139
- 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", "fullWidth", "minWidth"], outputs: ["onSelectionChanged"] }], changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush, encapsulation: i0__namespace.ViewEncapsulation.None });
6465
+ 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 });
6140
6466
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXTabViewComponent, decorators: [{
6141
6467
  type: i0.Component,
6142
6468
  args: [{
@@ -6152,6 +6478,132 @@
6152
6478
  args: [AXTabComponent]
6153
6479
  }] } });
6154
6480
 
6481
+ var AXTabItemComponent = /** @class */ (function (_super) {
6482
+ __extends(AXTabItemComponent, _super);
6483
+ function AXTabItemComponent(elementRef, cdr) {
6484
+ var _this = _super.call(this, elementRef, cdr) || this;
6485
+ _this.width = false;
6486
+ _this.activeChange = new i0.EventEmitter();
6487
+ _this._active = false;
6488
+ return _this;
6489
+ }
6490
+ Object.defineProperty(AXTabItemComponent.prototype, "active", {
6491
+ get: function () {
6492
+ return this._active;
6493
+ },
6494
+ set: function (v) {
6495
+ this._active = v;
6496
+ this.activeChange.emit(v);
6497
+ v ? this._getHostElement().classList.add('ax-state-active') : this._getHostElement().classList.remove('ax-state-active');
6498
+ },
6499
+ enumerable: false,
6500
+ configurable: true
6501
+ });
6502
+ // @HostBinding('class')
6503
+ // private get __hostClass(): string {
6504
+ // debugger;
6505
+ // const classes: any = {
6506
+ // 'ax-state-active': this.active
6507
+ // }
6508
+ // return Object.entries(classes).filter(c => c[1]).map(c => c[0]).join(' ');
6509
+ // }
6510
+ AXTabItemComponent.prototype.__hostClick = function (e) {
6511
+ this.onClick.emit({
6512
+ component: this,
6513
+ htmlElement: this._getHostElement(),
6514
+ nativeEvent: e
6515
+ });
6516
+ };
6517
+ return AXTabItemComponent;
6518
+ }(AXBaseClickableMixin));
6519
+ 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 });
6520
+ 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)" } }, viewQueries: [{ propertyName: "template", first: true, predicate: i0.TemplateRef, descendants: true }], usesInheritance: true, ngImport: i0__namespace, template: "\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-content>\n </ng-content>\n </ng-template>\n ", isInline: true, changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush, encapsulation: i0__namespace.ViewEncapsulation.None });
6521
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXTabItemComponent, decorators: [{
6522
+ type: i0.Component,
6523
+ args: [{
6524
+ selector: 'ax-tab-item',
6525
+ template: "\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-content>\n </ng-content>\n </ng-template>\n ",
6526
+ changeDetection: i0.ChangeDetectionStrategy.OnPush,
6527
+ encapsulation: i0.ViewEncapsulation.None,
6528
+ }]
6529
+ }], ctorParameters: function () { return [{ type: i0__namespace.ElementRef }, { type: i0__namespace.ChangeDetectorRef }]; }, propDecorators: { text: [{
6530
+ type: i0.Input
6531
+ }], width: [{
6532
+ type: i0.Input
6533
+ }], template: [{
6534
+ type: i0.ViewChild,
6535
+ args: [i0.TemplateRef]
6536
+ }], activeChange: [{
6537
+ type: i0.Output
6538
+ }], active: [{
6539
+ type: i0.Input
6540
+ }], __hostClick: [{
6541
+ type: i0.HostListener,
6542
+ args: ['click', ['$event']]
6543
+ }] } });
6544
+
6545
+ var AXTabsComponent = /** @class */ (function (_super) {
6546
+ __extends(AXTabsComponent, _super);
6547
+ function AXTabsComponent(elementRef, cdr) {
6548
+ var _this = _super.call(this, elementRef, cdr) || this;
6549
+ _this.mode = 'default';
6550
+ _this.direction = "horizontal";
6551
+ _this.fitParent = false;
6552
+ _this.minWidth = false;
6553
+ return _this;
6554
+ }
6555
+ AXTabsComponent.prototype.onViewInit = function () {
6556
+ var _this = this;
6557
+ this._handleSelectionChanged(this._contentTabs.get(0));
6558
+ this._contentTabs.forEach(function (c) {
6559
+ c.onClick.subscribe(function (t) {
6560
+ _this._handleSelectionChanged(c);
6561
+ });
6562
+ });
6563
+ };
6564
+ AXTabsComponent.prototype._handleSelectionChanged = function (e) {
6565
+ this._contentTabs.filter(function (c) { return c != e; }).forEach(function (c) { c.active = false; });
6566
+ e.active = true;
6567
+ this.content.portal = e.template;
6568
+ this._cdr.markForCheck();
6569
+ };
6570
+ Object.defineProperty(AXTabsComponent.prototype, "__hostClass", {
6571
+ get: function () {
6572
+ return ["ax-tabs-" + (this.mode ? this.mode : 'default'), "ax-tabs-" + this.direction, "" + (this.fitParent ? 'ax-tabs-fit' : '')].join(' ');
6573
+ },
6574
+ enumerable: false,
6575
+ configurable: true
6576
+ });
6577
+ return AXTabsComponent;
6578
+ }(AXBaseComponent));
6579
+ 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 });
6580
+ AXTabsComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: AXTabsComponent, selector: "ax-tabs", inputs: { mode: "mode", direction: "direction", fitParent: "fitParent", minWidth: "minWidth", content: "content" }, host: { properties: { "class": "this.__hostClass" } }, 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 <!-- <div [axTabOutlet]=\"_activeTabView\">\n\n </div> -->\n ", isInline: true, changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush, encapsulation: i0__namespace.ViewEncapsulation.None });
6581
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXTabsComponent, decorators: [{
6582
+ type: i0.Component,
6583
+ args: [{
6584
+ selector: 'ax-tabs',
6585
+ template: "\n <div class=\"ax-items-wrapper\">\n <ng-content select=\"ax-tab-item\">\n </ng-content>\n </div>\n <!-- <div [axTabOutlet]=\"_activeTabView\">\n\n </div> -->\n ",
6586
+ changeDetection: i0.ChangeDetectionStrategy.OnPush,
6587
+ encapsulation: i0.ViewEncapsulation.None,
6588
+ }]
6589
+ }], ctorParameters: function () { return [{ type: i0__namespace.ElementRef }, { type: i0__namespace.ChangeDetectorRef }]; }, propDecorators: { _contentTabs: [{
6590
+ type: i0.ContentChildren,
6591
+ args: [AXTabItemComponent]
6592
+ }], mode: [{
6593
+ type: i0.Input
6594
+ }], direction: [{
6595
+ type: i0.Input
6596
+ }], fitParent: [{
6597
+ type: i0.Input
6598
+ }], minWidth: [{
6599
+ type: i0.Input
6600
+ }], content: [{
6601
+ type: i0.Input
6602
+ }], __hostClass: [{
6603
+ type: i0.HostBinding,
6604
+ args: ['class']
6605
+ }] } });
6606
+
6155
6607
  var AXTabStripChangedEvent = /** @class */ (function (_super) {
6156
6608
  __extends(AXTabStripChangedEvent, _super);
6157
6609
  function AXTabStripChangedEvent() {
@@ -6160,15 +6612,45 @@
6160
6612
  return AXTabStripChangedEvent;
6161
6613
  }(AXEvent));
6162
6614
 
6163
- var COMPONENT$3 = [AXTabViewComponent, AXTabStripComponent, AXTabComponent];
6164
- var MODULES$3 = [i1.CommonModule];
6615
+ var AXTabContentDirective = /** @class */ (function () {
6616
+ function AXTabContentDirective(_viewContainerRef) {
6617
+ this._viewContainerRef = _viewContainerRef;
6618
+ }
6619
+ Object.defineProperty(AXTabContentDirective.prototype, "portal", {
6620
+ get: function () {
6621
+ return this._portal;
6622
+ },
6623
+ set: function (v) {
6624
+ //debugger;
6625
+ this._portal = v;
6626
+ this._viewContainerRef.clear();
6627
+ var viewRef = this._viewContainerRef.createEmbeddedView(v, null, 0);
6628
+ },
6629
+ enumerable: false,
6630
+ configurable: true
6631
+ });
6632
+ return AXTabContentDirective;
6633
+ }());
6634
+ 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 });
6635
+ 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 });
6636
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXTabContentDirective, decorators: [{
6637
+ type: i0.Directive,
6638
+ args: [{
6639
+ selector: '[axTabContent]',
6640
+ exportAs: 'axTabContent',
6641
+ inputs: ['portal: axTabContent'],
6642
+ }]
6643
+ }], ctorParameters: function () { return [{ type: i0__namespace.ViewContainerRef }]; } });
6644
+
6645
+ var COMPONENT$3 = [AXTabsComponent, AXTabItemComponent, AXTabContentDirective];
6646
+ var MODULES$3 = [i4.CommonModule, i1.PortalModule, AXEditorDecoratorModule];
6165
6647
  var AXTabsModule = /** @class */ (function () {
6166
6648
  function AXTabsModule() {
6167
6649
  }
6168
6650
  return AXTabsModule;
6169
6651
  }());
6170
6652
  AXTabsModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXTabsModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
6171
- 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] });
6653
+ AXTabsModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXTabsModule, declarations: [AXTabsComponent, AXTabItemComponent, AXTabContentDirective], imports: [i4.CommonModule, i1.PortalModule, AXEditorDecoratorModule], exports: [AXTabsComponent, AXTabItemComponent, AXTabContentDirective] });
6172
6654
  AXTabsModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXTabsModule, providers: [], imports: [__spreadArray([], __read(MODULES$3))] });
6173
6655
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXTabsModule, decorators: [{
6174
6656
  type: i0.NgModule,
@@ -6296,8 +6778,8 @@
6296
6778
  };
6297
6779
  return AXTimeBoxComponent;
6298
6780
  }(AXBaseTextBoxMixin));
6299
- AXTimeBoxComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXTimeBoxComponent, deps: [{ token: i0__namespace.ElementRef }, { token: i0__namespace.ChangeDetectorRef }, { token: i1__namespace$3.MaskApplierService }], target: i0__namespace.ɵɵFactoryTarget.Component });
6300
- AXTimeBoxComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: AXTimeBoxComponent, selector: "ax-time-box", inputs: { disabled: "disabled", readonly: "readonly", tabIndex: "tabIndex", size: "size", value: "value", placeholder: "placeholder", maxLength: "maxLength", allowNull: "allowNull", debounceTime: "debounceTime", name: "name", minValue: "minValue", maxValue: "maxValue", format: "format", displayText: "displayText" }, outputs: { valueChange: "valueChange", onValueChanged: "onValueChanged", onBlur: "onBlur", onFocus: "onFocus", displayTextChange: "displayTextChange" }, host: { properties: { "class": "this.hostClass" }, classAttribute: "ax-time-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\" type=\"text\" [attr.pattern]=\"'[\\d\\.]*'\" [attr.placeholder]=\"placeholder\"\r\n [class.ax-state-disabled]=\"disabled\" [class.ax-state-readonly]=\"readonly\" [disabled]=\"disabled\"\r\n [readonly]=\"readonly\" [tabindex]=\"tabIndex\" [ngModel]=\"displayText\" (focus)=\"_emitOnFocusEvent($event)\"\r\n (blur)=\"_emitOnBlurEvent($event)\" (keydown)=\"_handleOnKeydownEvent($event)\">\r\n<ax-button color=\"light\" look=\"blank\" (onClick)=\"clear()\" [tabIndex]=\"-1\"\r\n *ngIf=\"value && allowNull && !(disabled || readonly)\">\r\n <i class=\"ax-icon-x icon\"></i>\r\n</ax-button>\r\n<ng-content select=\"ax-suffix\">\r\n</ng-content>\r\n<ng-content select=\"ax-validation-rule\">\r\n</ng-content>", components: [{ type: AXButtonComponent, selector: "ax-button", inputs: ["disabled", "tabIndex", "size", "cssClass", "cssStyle", "text", "submitBehavior", "cancelBehavior", "color", "look", "toggleable", "selected"], outputs: ["onBlur", "onFocus", "onClick", "selectedChange", "toggleableChange"] }], 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.PatternValidator, selector: "[pattern][formControlName],[pattern][formControl],[pattern][ngModel]", inputs: ["pattern"] }, { 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 });
6781
+ AXTimeBoxComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXTimeBoxComponent, deps: [{ token: i0__namespace.ElementRef }, { token: i0__namespace.ChangeDetectorRef }, { token: i1__namespace$2.MaskApplierService }], target: i0__namespace.ɵɵFactoryTarget.Component });
6782
+ AXTimeBoxComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: AXTimeBoxComponent, selector: "ax-time-box", inputs: { disabled: "disabled", readonly: "readonly", tabIndex: "tabIndex", size: "size", value: "value", placeholder: "placeholder", maxLength: "maxLength", allowNull: "allowNull", debounceTime: "debounceTime", name: "name", minValue: "minValue", maxValue: "maxValue", format: "format", displayText: "displayText" }, outputs: { valueChange: "valueChange", onValueChanged: "onValueChanged", onBlur: "onBlur", onFocus: "onFocus", displayTextChange: "displayTextChange" }, host: { properties: { "class": "this.hostClass" }, classAttribute: "ax-time-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\" type=\"text\" [attr.pattern]=\"'[\\d\\.]*'\" [attr.placeholder]=\"placeholder\"\r\n [class.ax-state-disabled]=\"disabled\" [class.ax-state-readonly]=\"readonly\" [disabled]=\"disabled\"\r\n [readonly]=\"readonly\" [tabindex]=\"tabIndex\" [ngModel]=\"displayText\" (focus)=\"_emitOnFocusEvent($event)\"\r\n (blur)=\"_emitOnBlurEvent($event)\" (keydown)=\"_handleOnKeydownEvent($event)\">\r\n<ax-button color=\"light\" look=\"blank\" (onClick)=\"clear()\" [tabIndex]=\"-1\"\r\n *ngIf=\"value && allowNull && !(disabled || readonly)\">\r\n <i class=\"ax-icon-x icon\"></i>\r\n</ax-button>\r\n<ng-content select=\"ax-suffix\">\r\n</ng-content>\r\n<ng-content select=\"ax-validation-rule\">\r\n</ng-content>", 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: 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.PatternValidator, selector: "[pattern][formControlName],[pattern][formControl],[pattern][ngModel]", inputs: ["pattern"] }, { 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: i4__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush, encapsulation: i0__namespace.ViewEncapsulation.None });
6301
6783
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXTimeBoxComponent, decorators: [{
6302
6784
  type: i0.Component,
6303
6785
  args: [{
@@ -6309,7 +6791,7 @@
6309
6791
  encapsulation: i0.ViewEncapsulation.None,
6310
6792
  host: { class: 'ax-time-box ax-editor-container' },
6311
6793
  }]
6312
- }], ctorParameters: function () { return [{ type: i0__namespace.ElementRef }, { type: i0__namespace.ChangeDetectorRef }, { type: i1__namespace$3.MaskApplierService }]; }, propDecorators: { hostClass: [{
6794
+ }], ctorParameters: function () { return [{ type: i0__namespace.ElementRef }, { type: i0__namespace.ChangeDetectorRef }, { type: i1__namespace$2.MaskApplierService }]; }, propDecorators: { hostClass: [{
6313
6795
  type: i0.HostBinding,
6314
6796
  args: ['class']
6315
6797
  }], minValue: [{
@@ -6326,10 +6808,10 @@
6326
6808
 
6327
6809
  var COMPONENT$2 = [AXTimeBoxComponent];
6328
6810
  var MODULES$2 = [
6329
- i1.CommonModule,
6811
+ i4.CommonModule,
6330
6812
  i3.FormsModule,
6331
6813
  AXButtonModule,
6332
- i1$3.NgxMaskModule.forChild()
6814
+ i1$2.NgxMaskModule.forChild()
6333
6815
  ];
6334
6816
  var AXTimeBoxModule = /** @class */ (function () {
6335
6817
  function AXTimeBoxModule() {
@@ -6337,9 +6819,9 @@
6337
6819
  return AXTimeBoxModule;
6338
6820
  }());
6339
6821
  AXTimeBoxModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXTimeBoxModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
6340
- AXTimeBoxModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXTimeBoxModule, declarations: [AXTimeBoxComponent], imports: [i1.CommonModule,
6822
+ AXTimeBoxModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXTimeBoxModule, declarations: [AXTimeBoxComponent], imports: [i4.CommonModule,
6341
6823
  i3.FormsModule,
6342
- AXButtonModule, i1__namespace$3.NgxMaskModule], exports: [AXTimeBoxComponent] });
6824
+ AXButtonModule, i1__namespace$2.NgxMaskModule], exports: [AXTimeBoxComponent] });
6343
6825
  AXTimeBoxModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXTimeBoxModule, providers: [], imports: [__spreadArray([], __read(MODULES$2))] });
6344
6826
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXTimeBoxModule, decorators: [{
6345
6827
  type: i0.NgModule,
@@ -6389,7 +6871,7 @@
6389
6871
  return AXToastComponent;
6390
6872
  }(AXBaseComponentMixin));
6391
6873
  AXToastComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXToastComponent, deps: [{ token: i0__namespace.ElementRef }, { token: i0__namespace.ChangeDetectorRef }], target: i0__namespace.ɵɵFactoryTarget.Component });
6392
- AXToastComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: AXToastComponent, selector: "ax-toast", host: { classAttribute: "ax-toast" }, usesInheritance: true, ngImport: i0__namespace, template: "<!-- <div class=\"ax-toast-header\">\r\n <div class=\"ax-flex ax-items-center\">\r\n <i class=\"{{_icon}} ax-mr-2 ax-icon\"></i>\r\n <div>{{options.title || options.content}}</div>\r\n </div>\r\n <div class=\"ax-flex ax-items-center\" (click)=\"close()\" *ngIf=\"options.closeButton\">\r\n <i class=\"ax-ic ax-ic-clear ax-text-gray-300 ax-cursor-pointer\"></i>\r\n </div>\r\n</div>\r\n<div class=\"ax-ml-8 ax-text-md ax-text-gray-600\" *ngIf=\"options.title && options.content\">\r\n {{options.content}}\r\n</div>\r\n<div class=\"ax-flex ax-mt-4 ax-justify-end\" *ngIf=\"options.buttons && options.buttons.length\">\r\n <ng-container *ngFor=\"let button of options.buttons\">\r\n <ax-button [text]=\"button.text\" [iconClassBefore]=\"button.iconClass\" (onClick)=\"_handleButtonClick(button)\" [cssClass]=\"button.class\"></ax-button>\r\n <ax-button [text]=\"button.text\" (onClick)=\"_handleButtonClick(button)\"\r\n [cssClass]=\"button.class\"></ax-button>\r\n <div class=\"ax-ml-2\"></div>\r\n </ng-container>\r\n</div>\r\n<div class=\"ax-toast-progress ax-{{options.type}}\" [style.width.%]='_toastWidth' *ngIf=\"options.timeOut\">\r\n</div> -->\r\n\r\n<div class=\"ax-toast-icon-side\">\r\n <i class=\"ax-toast-icon {{_icon}}\"></i>\r\n</div>\r\n<div class=\"ax-toast-content-side\">\r\n <div class=\"ax-toast-title\">{{options.title}}</div>\r\n <div class=\"ax-toast-content\" *ngIf=\"options.content\">{{options.content}}</div>\r\n</div>\r\n<div class=\"ax-toast-dismiss-icon\">\r\n <i class=\"ax-ic ax-ic-close\" *ngIf=\"options.closeable\" (click)=\"close()\"></i>\r\n</div>\r\n<div class=\"ax-toast-progress ax-{{options.type}}\" [style.animation-duration.ms]=\"options.timeOut\" *ngIf=\"options.timeOut\">\r\n</div>\r\n\r\n<!-- <div class=\"ax-toast-buttons\">\r\n <ng-container *ngFor=\"let button of options.buttons\">\r\n <ax-button [text]=\"button.text\" (onClick)=\"_handleButtonClick(button)\" [cssClass]=\"button.class\"></ax-button>\r\n <div class=\"ax-ml-2\"></div>\r\n </ng-container>\r\n</div> -->", directives: [{ type: i1__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush, encapsulation: i0__namespace.ViewEncapsulation.None });
6874
+ AXToastComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: AXToastComponent, selector: "ax-toast", host: { classAttribute: "ax-toast" }, usesInheritance: true, ngImport: i0__namespace, template: "<div class=\"ax-toast-icon-side\">\r\n <i class=\"ax-toast-icon {{_icon}}\"></i>\r\n</div>\r\n<div class=\"ax-toast-content-side\">\r\n <div class=\"ax-toast-title\">{{options.title}}</div>\r\n <div class=\"ax-toast-content\" *ngIf=\"options.content\">{{options.content}}</div>\r\n</div>\r\n<div class=\"ax-toast-dismiss-icon\">\r\n <i class=\"ax-ic ax-ic-close\" *ngIf=\"options.closeable\" (click)=\"close()\"></i>\r\n</div>\r\n<div class=\"ax-toast-progress ax-{{options.type}}\" [style.animation-duration.ms]=\"options.timeOut\" *ngIf=\"options.timeOut\">\r\n</div>", directives: [{ type: i4__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush, encapsulation: i0__namespace.ViewEncapsulation.None });
6393
6875
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXToastComponent, decorators: [{
6394
6876
  type: i0.Component,
6395
6877
  args: [{
@@ -6402,14 +6884,14 @@
6402
6884
  }], ctorParameters: function () { return [{ type: i0__namespace.ElementRef }, { type: i0__namespace.ChangeDetectorRef }]; } });
6403
6885
 
6404
6886
  var COMPONENT$1 = [AXToastComponent];
6405
- var MODULES$1 = [i1.CommonModule, AXButtonModule];
6887
+ var MODULES$1 = [i4.CommonModule, AXButtonModule];
6406
6888
  var AXToastModule = /** @class */ (function () {
6407
6889
  function AXToastModule() {
6408
6890
  }
6409
6891
  return AXToastModule;
6410
6892
  }());
6411
6893
  AXToastModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXToastModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
6412
- AXToastModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXToastModule, declarations: [AXToastComponent], imports: [i1.CommonModule, AXButtonModule], exports: [AXToastComponent] });
6894
+ AXToastModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXToastModule, declarations: [AXToastComponent], imports: [i4.CommonModule, AXButtonModule], exports: [AXToastComponent] });
6413
6895
  AXToastModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXToastModule, providers: [], imports: [__spreadArray([], __read(MODULES$1))] });
6414
6896
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXToastModule, decorators: [{
6415
6897
  type: i0.NgModule,
@@ -6490,7 +6972,7 @@
6490
6972
  positionStrategy: positionStrategy,
6491
6973
  panelClass: ['animate__animated', 'animate__fadeIn', 'animate__faster'],
6492
6974
  });
6493
- var toastPortal = new i1$1.ComponentPortal(AXToastComponent, null, this.parentInjector);
6975
+ var toastPortal = new i1.ComponentPortal(AXToastComponent, null, this.parentInjector);
6494
6976
  var host = overlayRef.attach(toastPortal);
6495
6977
  host.instance.visibleIndex = this._activeList.length;
6496
6978
  this._activeList.push(host.instance);
@@ -6525,12 +7007,12 @@
6525
7007
  };
6526
7008
  return AXToastService;
6527
7009
  }());
6528
- AXToastService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXToastService, deps: [{ token: i1__namespace$1.Overlay }, { token: i0__namespace.Injector }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
7010
+ AXToastService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXToastService, deps: [{ token: i1__namespace.Overlay }, { token: i0__namespace.Injector }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
6529
7011
  AXToastService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXToastService, providedIn: 'root' });
6530
7012
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXToastService, decorators: [{
6531
7013
  type: i0.Injectable,
6532
7014
  args: [{ providedIn: 'root' }]
6533
- }], ctorParameters: function () { return [{ type: i1__namespace$1.Overlay }, { type: i0__namespace.Injector }]; } });
7015
+ }], ctorParameters: function () { return [{ type: i1__namespace.Overlay }, { type: i0__namespace.Injector }]; } });
6534
7016
 
6535
7017
  var AXTooltipComponent = /** @class */ (function (_super) {
6536
7018
  __extends(AXTooltipComponent, _super);
@@ -6630,7 +7112,7 @@
6630
7112
  this.overlayRef = this.overlay.create({ positionStrategy: positionStrategy });
6631
7113
  };
6632
7114
  AXTooltipDirective.prototype.show = function () {
6633
- var tooltipRef = this.overlayRef.attach(new i1$1.ComponentPortal(AXTooltipComponent));
7115
+ var tooltipRef = this.overlayRef.attach(new i1.ComponentPortal(AXTooltipComponent));
6634
7116
  tooltipRef.instance.text = this.text;
6635
7117
  tooltipRef.instance.position = this.position;
6636
7118
  };
@@ -6639,12 +7121,12 @@
6639
7121
  };
6640
7122
  return AXTooltipDirective;
6641
7123
  }());
6642
- AXTooltipDirective.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXTooltipDirective, deps: [{ token: i1__namespace$1.Overlay }, { token: i1__namespace$1.OverlayPositionBuilder }, { token: i0__namespace.ElementRef }], target: i0__namespace.ɵɵFactoryTarget.Directive });
7124
+ AXTooltipDirective.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXTooltipDirective, deps: [{ token: i1__namespace.Overlay }, { token: i1__namespace.OverlayPositionBuilder }, { token: i0__namespace.ElementRef }], target: i0__namespace.ɵɵFactoryTarget.Directive });
6643
7125
  AXTooltipDirective.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.6", type: AXTooltipDirective, selector: "[axTooltip]", inputs: { text: ["axTooltip", "text"], position: ["axTooltipPositon", "position"] }, host: { listeners: { "mouseenter": "show()", "mouseout": "hide()" } }, ngImport: i0__namespace });
6644
7126
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXTooltipDirective, decorators: [{
6645
7127
  type: i0.Directive,
6646
7128
  args: [{ selector: '[axTooltip]' }]
6647
- }], ctorParameters: function () { return [{ type: i1__namespace$1.Overlay }, { type: i1__namespace$1.OverlayPositionBuilder }, { type: i0__namespace.ElementRef }]; }, propDecorators: { text: [{
7129
+ }], ctorParameters: function () { return [{ type: i1__namespace.Overlay }, { type: i1__namespace.OverlayPositionBuilder }, { type: i0__namespace.ElementRef }]; }, propDecorators: { text: [{
6648
7130
  type: i0.Input,
6649
7131
  args: ['axTooltip']
6650
7132
  }], position: [{
@@ -6659,14 +7141,14 @@
6659
7141
  }] } });
6660
7142
 
6661
7143
  var COMPONENT = [AXTooltipComponent, AXTooltipDirective];
6662
- var MODULES = [i1.CommonModule, i1$2.OverlayModule];
7144
+ var MODULES = [i4.CommonModule, i1$1.OverlayModule];
6663
7145
  var AXTooltipModule = /** @class */ (function () {
6664
7146
  function AXTooltipModule() {
6665
7147
  }
6666
7148
  return AXTooltipModule;
6667
7149
  }());
6668
7150
  AXTooltipModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXTooltipModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
6669
- AXTooltipModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXTooltipModule, declarations: [AXTooltipComponent, AXTooltipDirective], imports: [i1.CommonModule, i1$2.OverlayModule], exports: [AXTooltipComponent, AXTooltipDirective] });
7151
+ AXTooltipModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXTooltipModule, declarations: [AXTooltipComponent, AXTooltipDirective], imports: [i4.CommonModule, i1$1.OverlayModule], exports: [AXTooltipComponent, AXTooltipDirective] });
6670
7152
  AXTooltipModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXTooltipModule, providers: [], imports: [__spreadArray([], __read(MODULES))] });
6671
7153
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXTooltipModule, decorators: [{
6672
7154
  type: i0.NgModule,
@@ -6702,7 +7184,7 @@
6702
7184
  return AXTextBoxComponent;
6703
7185
  }(AXBaseTextBoxMixin));
6704
7186
  AXTextBoxComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXTextBoxComponent, deps: [{ token: i0__namespace.ElementRef }, { token: i0__namespace.ChangeDetectorRef }], target: i0__namespace.ɵɵFactoryTarget.Component });
6705
- AXTextBoxComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: AXTextBoxComponent, selector: "ax-text-box", 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" }, host: { properties: { "class": "this.hostClass" }, classAttribute: "ax-text-box" }, queries: [{ propertyName: "_contentMask", first: true, predicate: AXInputMaskComponent, descendants: true }], usesInheritance: true, ngImport: i0__namespace, template: "<div class=\"ax-editor-container\">\r\n <ng-content select=\"ax-prefix\">\r\n </ng-content>\r\n <input class=\"ax-input\" [attr.name]=\"name\" type=\"text\" [mask]=\"_contentMask?.mask\" [prefix]=\"_contentMask?.prefix\" [suffix]=\"_contentMask?.suffix\" [showMaskTyped]=\"_contentMask?.showMaskTyped\" [attr.placeholder]=\"placeholder\" [attr.maxlength]=\"maxLength\"\r\n [class.ax-state-disabled]=\"disabled\" [class.ax-state-readonly]=\"readonly\" [disabled]=\"disabled\" [readonly]=\"readonly\" [tabindex]=\"tabIndex\" [(ngModel)]=\"value\" (focus)=\"_emitOnFocusEvent($event)\" (blur)=\"_emitOnBlurEvent($event)\" [attr.autocomplete]=\"autoComplete ? 'on': 'off'\">\r\n <ax-button color=\"light\" look=\"blank\" (onClick)=\"clear()\" [tabIndex]=\"-1\" *ngIf=\"value && allowNull && !(disabled || readonly)\" iconClass=\"ax-ic ax-ic-clear\">\r\n </ax-button>\r\n <ng-content select=\"ax-suffix\">\r\n </ng-content>\r\n <ng-content select=\"ax-validation-rule\">\r\n </ng-content>\r\n <ng-content select=\"ax-input-mask\">\r\n </ng-content>\r\n</div>", components: [{ type: AXButtonComponent, selector: "ax-button", inputs: ["disabled", "tabIndex", "size", "cssClass", "cssStyle", "text", "submitBehavior", "cancelBehavior", "color", "look", "toggleable", "selected"], outputs: ["onBlur", "onFocus", "onClick", "selectedChange", "toggleableChange"] }], directives: [{ type: i1__namespace$3.MaskDirective, selector: "input[mask], textarea[mask]", inputs: ["mask", "specialCharacters", "patterns", "prefix", "suffix", "thousandSeparator", "decimalMarker", "dropSpecialCharacters", "hiddenInput", "showMaskTyped", "placeHolderCharacter", "shownMaskExpression", "showTemplate", "clearIfNotMatch", "validation", "separatorLimit", "allowNegativeNumbers", "leadZeroDateTime"] }, { 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 });
7187
+ AXTextBoxComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: AXTextBoxComponent, selector: "ax-text-box", 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" }, host: { properties: { "class": "this.hostClass" }, classAttribute: "ax-text-box ax-editor-container" }, queries: [{ propertyName: "_contentMask", first: true, predicate: AXInputMaskComponent, descendants: true }], 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=\"text\" [mask]=\"_contentMask?.mask\" [prefix]=\"_contentMask?.prefix\"\r\n [suffix]=\"_contentMask?.suffix\" [showMaskTyped]=\"_contentMask?.showMaskTyped\" [attr.placeholder]=\"placeholder\"\r\n [attr.maxlength]=\"maxLength\" [class.ax-state-disabled]=\"disabled\" [class.ax-state-readonly]=\"readonly\"\r\n [disabled]=\"disabled\" [readonly]=\"readonly\" [tabindex]=\"tabIndex\" [(ngModel)]=\"value\"\r\n (focus)=\"_emitOnFocusEvent($event)\" (blur)=\"_emitOnBlurEvent($event)\"\r\n [attr.autocomplete]=\"autoComplete ? 'on': 'off'\">\r\n<ax-button color=\"light\" look=\"blank\" [size]=\"size\" (onClick)=\"clear()\" [tabIndex]=\"-1\"\r\n *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</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>", 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$2.MaskDirective, selector: "input[mask], textarea[mask]", inputs: ["mask", "specialCharacters", "patterns", "prefix", "suffix", "thousandSeparator", "decimalMarker", "dropSpecialCharacters", "hiddenInput", "showMaskTyped", "placeHolderCharacter", "shownMaskExpression", "showTemplate", "clearIfNotMatch", "validation", "separatorLimit", "allowNegativeNumbers", "leadZeroDateTime"] }, { 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: i4__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush, encapsulation: i0__namespace.ViewEncapsulation.None });
6706
7188
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXTextBoxComponent, decorators: [{
6707
7189
  type: i0.Component,
6708
7190
  args: [{
@@ -6723,7 +7205,7 @@
6723
7205
  ], __read(TEXTBOX_OUTPUT)),
6724
7206
  encapsulation: i0.ViewEncapsulation.None,
6725
7207
  changeDetection: i0.ChangeDetectionStrategy.OnPush,
6726
- host: { class: 'ax-text-box' },
7208
+ host: { class: 'ax-text-box ax-editor-container' },
6727
7209
  }]
6728
7210
  }], ctorParameters: function () { return [{ type: i0__namespace.ElementRef }, { type: i0__namespace.ChangeDetectorRef }]; }, propDecorators: { _contentMask: [{
6729
7211
  type: i0.ContentChild,
@@ -6739,26 +7221,29 @@
6739
7221
  return AXTextBoxModule;
6740
7222
  }());
6741
7223
  AXTextBoxModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXTextBoxModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
6742
- AXTextBoxModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXTextBoxModule, declarations: [AXTextBoxComponent], imports: [i1.CommonModule,
7224
+ AXTextBoxModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXTextBoxModule, declarations: [AXTextBoxComponent], imports: [i4.CommonModule,
6743
7225
  i3.FormsModule,
6744
7226
  AXButtonModule,
6745
- AXEditorDecoratorModule, i1__namespace$3.NgxMaskModule], exports: [AXTextBoxComponent] });
7227
+ AXEditorDecoratorModule,
7228
+ AXIconModule, i1__namespace$2.NgxMaskModule], exports: [AXTextBoxComponent] });
6746
7229
  AXTextBoxModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXTextBoxModule, providers: [], imports: [[
6747
- i1.CommonModule,
7230
+ i4.CommonModule,
6748
7231
  i3.FormsModule,
6749
7232
  AXButtonModule,
6750
7233
  AXEditorDecoratorModule,
6751
- i1$3.NgxMaskModule.forChild()
7234
+ AXIconModule,
7235
+ i1$2.NgxMaskModule.forChild()
6752
7236
  ]] });
6753
7237
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXTextBoxModule, decorators: [{
6754
7238
  type: i0.NgModule,
6755
7239
  args: [{
6756
7240
  imports: [
6757
- i1.CommonModule,
7241
+ i4.CommonModule,
6758
7242
  i3.FormsModule,
6759
7243
  AXButtonModule,
6760
7244
  AXEditorDecoratorModule,
6761
- i1$3.NgxMaskModule.forChild()
7245
+ AXIconModule,
7246
+ i1$2.NgxMaskModule.forChild()
6762
7247
  ],
6763
7248
  exports: [AXTextBoxComponent],
6764
7249
  declarations: [AXTextBoxComponent],
@@ -6898,13 +7383,13 @@
6898
7383
  return AXValidationModule;
6899
7384
  }());
6900
7385
  AXValidationModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXValidationModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
6901
- AXValidationModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXValidationModule, declarations: [AXValidationRuleComponent], imports: [i1.CommonModule], exports: [AXValidationRuleComponent] });
6902
- AXValidationModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXValidationModule, providers: [], imports: [[i1.CommonModule]] });
7386
+ AXValidationModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXValidationModule, declarations: [AXValidationRuleComponent], imports: [i4.CommonModule], exports: [AXValidationRuleComponent] });
7387
+ AXValidationModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXValidationModule, providers: [], imports: [[i4.CommonModule]] });
6903
7388
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXValidationModule, decorators: [{
6904
7389
  type: i0.NgModule,
6905
7390
  args: [{
6906
7391
  declarations: [AXValidationRuleComponent],
6907
- imports: [i1.CommonModule],
7392
+ imports: [i4.CommonModule],
6908
7393
  exports: [AXValidationRuleComponent],
6909
7394
  providers: []
6910
7395
  }]
@@ -6928,13 +7413,12 @@
6928
7413
  exports.AXAlertTitleComponent = AXAlertTitleComponent;
6929
7414
  exports.AXAvatarComponent = AXAvatarComponent;
6930
7415
  exports.AXAvatarModule = AXAvatarModule;
7416
+ exports.AXBadgeComponent = AXBadgeComponent;
7417
+ exports.AXBadgeModule = AXBadgeModule;
6931
7418
  exports.AXBaseButtonMixin = AXBaseButtonMixin;
6932
7419
  exports.AXBaseClickableMixin = AXBaseClickableMixin;
6933
7420
  exports.AXBaseComponent = AXBaseComponent;
6934
7421
  exports.AXBaseComponentMixin = AXBaseComponentMixin;
6935
- exports.AXBaseDropdownButtonMixin = AXBaseDropdownButtonMixin;
6936
- exports.AXBaseDropdownMenuMixin = AXBaseDropdownMenuMixin;
6937
- exports.AXBaseDropdownMixin = AXBaseDropdownMixin;
6938
7422
  exports.AXBaseItemButtonMixin = AXBaseItemButtonMixin;
6939
7423
  exports.AXBasePageComponent = AXBasePageComponent;
6940
7424
  exports.AXBaseSelectionDropdownMixin = AXBaseSelectionDropdownMixin;
@@ -6948,7 +7432,7 @@
6948
7432
  exports.AXButtonItemComponent = AXButtonItemComponent;
6949
7433
  exports.AXButtonModule = AXButtonModule;
6950
7434
  exports.AXCalendarComponent = AXCalendarComponent;
6951
- exports.AXCalendarMixin = AXCalendarMixin;
7435
+ exports.AXCalendarComponentMixin = AXCalendarComponentMixin;
6952
7436
  exports.AXCalendarModule = AXCalendarModule;
6953
7437
  exports.AXCarouselArrowsComponent = AXCarouselArrowsComponent;
6954
7438
  exports.AXCarouselComponent = AXCarouselComponent;
@@ -6973,7 +7457,6 @@
6973
7457
  exports.AXDrawerContainerComponent = AXDrawerContainerComponent;
6974
7458
  exports.AXDrawerContentComponent = AXDrawerContentComponent;
6975
7459
  exports.AXDrawerModule = AXDrawerModule;
6976
- exports.AXDropdownButtonComponent = AXDropdownButtonComponent;
6977
7460
  exports.AXDropdownComponent = AXDropdownComponent;
6978
7461
  exports.AXDropdownModule = AXDropdownModule;
6979
7462
  exports.AXDropdownPanelComponent = AXDropdownPanelComponent;
@@ -6990,6 +7473,7 @@
6990
7473
  exports.AXInputMaskComponent = AXInputMaskComponent;
6991
7474
  exports.AXInputMaskModule = AXInputMaskModule;
6992
7475
  exports.AXInteractiveComponenetMixin = AXInteractiveComponenetMixin;
7476
+ exports.AXItemClickEvent = AXItemClickEvent;
6993
7477
  exports.AXLabelComponent = AXLabelComponent;
6994
7478
  exports.AXLabelModule = AXLabelModule;
6995
7479
  exports.AXLoadingComponent = AXLoadingComponent;
@@ -7006,11 +7490,15 @@
7006
7490
  exports.AXPageFooterComponent = AXPageFooterComponent;
7007
7491
  exports.AXPageModule = AXPageModule;
7008
7492
  exports.AXPageResult = AXPageResult;
7493
+ exports.AXPasswordBoxComponent = AXPasswordBoxComponent;
7494
+ exports.AXPasswordBoxModule = AXPasswordBoxModule;
7009
7495
  exports.AXPopoverComponent = AXPopoverComponent;
7010
7496
  exports.AXPopoverModule = AXPopoverModule;
7011
7497
  exports.AXPopupComponent = AXPopupComponent;
7012
7498
  exports.AXPopupModule = AXPopupModule;
7013
7499
  exports.AXPopupService = AXPopupService;
7500
+ exports.AXRangeSliderComponent = AXRangeSliderComponent;
7501
+ exports.AXRangeSliderModule = AXRangeSliderModule;
7014
7502
  exports.AXResponsiveDirective = AXResponsiveDirective;
7015
7503
  exports.AXSelectBoxComponent = AXSelectBoxComponent;
7016
7504
  exports.AXSelectBoxModule = AXSelectBoxModule;
@@ -7022,10 +7510,12 @@
7022
7510
  exports.AXSizableComponentMixin = AXSizableComponentMixin;
7023
7511
  exports.AXSwitchComponent = AXSwitchComponent;
7024
7512
  exports.AXSwitchModule = AXSwitchModule;
7025
- exports.AXTabComponent = AXTabComponent;
7513
+ exports.AXTabContentDirective = AXTabContentDirective;
7514
+ exports.AXTabItemComponent = AXTabItemComponent;
7026
7515
  exports.AXTabStripChangedEvent = AXTabStripChangedEvent;
7027
7516
  exports.AXTabStripComponent = AXTabStripComponent;
7028
7517
  exports.AXTabViewComponent = AXTabViewComponent;
7518
+ exports.AXTabsComponent = AXTabsComponent;
7029
7519
  exports.AXTabsModule = AXTabsModule;
7030
7520
  exports.AXTextBoxComponent = AXTextBoxComponent;
7031
7521
  exports.AXTextBoxModule = AXTextBoxModule;