@acorex/components 5.0.7 → 5.0.13

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 (74) hide show
  1. package/bundles/acorex-components.umd.js +1132 -954
  2. package/bundles/acorex-components.umd.js.map +1 -1
  3. package/esm2015/lib/badge/badge.component.js +2 -2
  4. package/esm2015/lib/base/mixin/base-components.class.js +22 -3
  5. package/esm2015/lib/base/mixin/button-mixin.class.js +92 -105
  6. package/esm2015/lib/base/mixin/clickable-mixin.class.js +1 -1
  7. package/esm2015/lib/base/mixin/dropdown-mixin.class.js +63 -9
  8. package/esm2015/lib/base/mixin/interactive-mixin.class.js +4 -4
  9. package/esm2015/lib/base/mixin/mixin.class.js +2 -2
  10. package/esm2015/lib/base/mixin/value-mixin.class.js +9 -4
  11. package/esm2015/lib/button/button-group.component.js +4 -4
  12. package/esm2015/lib/calendar/calendar.class.js +97 -0
  13. package/esm2015/lib/calendar/calendar.component.js +18 -68
  14. package/esm2015/lib/checkbox/checkbox.component.js +29 -11
  15. package/esm2015/lib/datepicker/datepicker.component.js +119 -65
  16. package/esm2015/lib/datepicker/datepicker.module.js +30 -6
  17. package/esm2015/lib/decorators/content.component.js +26 -0
  18. package/esm2015/lib/decorators/decorators.module.js +4 -3
  19. package/esm2015/lib/decorators/index.js +2 -1
  20. package/esm2015/lib/decorators/prefix.component.js +3 -4
  21. package/esm2015/lib/decorators/suffix.component.js +3 -4
  22. package/esm2015/lib/dialog/dialog.component.js +2 -2
  23. package/esm2015/lib/dropdown/dropdown-panel.component.js +7 -4
  24. package/esm2015/lib/dropdown/dropdown.component.js +10 -7
  25. package/esm2015/lib/form/form-hint.component.js +3 -3
  26. package/esm2015/lib/label/label.component.js +4 -4
  27. package/esm2015/lib/page/base-page.class.js +2 -1
  28. package/esm2015/lib/page/page-footer.component.js +3 -7
  29. package/esm2015/lib/popup/popup.component.js +16 -8
  30. package/esm2015/lib/radio/index.js +3 -0
  31. package/esm2015/lib/radio/radio.component.js +22 -0
  32. package/esm2015/lib/radio/radio.module.js +21 -0
  33. package/esm2015/lib/selectbox/selectbox.component.js +2 -2
  34. package/esm2015/lib/selection-list/selection-list.component.js +2 -2
  35. package/esm2015/lib/tabs/tab-content.directive.js +7 -5
  36. package/esm2015/lib/tabs/tab-item.component.js +29 -14
  37. package/esm2015/lib/tabs/tabs.component.js +15 -22
  38. package/esm2015/public-api.js +2 -1
  39. package/fesm2015/acorex-components.js +1051 -881
  40. package/fesm2015/acorex-components.js.map +1 -1
  41. package/lib/base/mixin/base-components.class.d.ts +23 -18
  42. package/lib/base/mixin/button-mixin.class.d.ts +12 -17
  43. package/lib/base/mixin/clickable-mixin.class.d.ts +4 -9
  44. package/lib/base/mixin/datalist-component.class.d.ts +10 -15
  45. package/lib/base/mixin/dropdown-mixin.class.d.ts +17 -12
  46. package/lib/base/mixin/interactive-mixin.class.d.ts +6 -11
  47. package/lib/base/mixin/loading-mixin.class.d.ts +4 -9
  48. package/lib/base/mixin/mixin.class.d.ts +182 -164
  49. package/lib/base/mixin/selection-component.class.d.ts +4 -9
  50. package/lib/base/mixin/sizable-mixin.class.d.ts +4 -9
  51. package/lib/base/mixin/textbox-mixin.class.d.ts +5 -12
  52. package/lib/base/mixin/value-mixin.class.d.ts +16 -20
  53. package/lib/button/button-item.component.d.ts +10 -20
  54. package/lib/calendar/calendar.class.d.ts +38 -0
  55. package/lib/calendar/calendar.component.d.ts +5 -26
  56. package/lib/checkbox/checkbox.component.d.ts +6 -5
  57. package/lib/datepicker/datepicker.component.d.ts +170 -16
  58. package/lib/datepicker/datepicker.module.d.ts +8 -2
  59. package/lib/decorators/content.component.d.ts +8 -0
  60. package/lib/decorators/decorators.module.d.ts +3 -2
  61. package/lib/decorators/index.d.ts +1 -0
  62. package/lib/dropdown/dropdown-panel.component.d.ts +4 -5
  63. package/lib/dropdown/dropdown.component.d.ts +5 -6
  64. package/lib/label/label.component.d.ts +2 -2
  65. package/lib/popup/popup.component.d.ts +3 -2
  66. package/lib/radio/index.d.ts +2 -0
  67. package/lib/radio/radio.component.d.ts +8 -0
  68. package/lib/radio/radio.module.d.ts +8 -0
  69. package/lib/tabs/tab-item.component.d.ts +2 -1
  70. package/lib/tabs/tabs.component.d.ts +2 -4
  71. package/package.json +1 -1
  72. package/public-api.d.ts +1 -0
  73. package/esm2015/lib/dropdown/dropdown-base.class.js +0 -98
  74. package/lib/dropdown/dropdown-base.class.d.ts +0 -92
@@ -1,8 +1,8 @@
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/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';
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('ngx-mask'), require('@angular/cdk/a11y'), require('@angular/cdk/drag-drop'), require('@angular/cdk/bidi'), 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', 'ngx-mask', '@angular/cdk/a11y', '@angular/cdk/drag-drop', '@angular/cdk/bidi', '@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.i1$3, global.ng.cdk.a11y, global.ng.cdk.dragDrop, global.ng.cdk.bidi, global.ng.animations));
5
+ }(this, (function (exports, i0, coercion, i2, rxjs, operators, i1, i3, i1$1, _, i1$2, i1$3, i2$1, i3$1, i2$2, animations) { 'use strict';
6
6
 
7
7
  function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
8
8
 
@@ -28,15 +28,15 @@
28
28
 
29
29
  var i0__namespace = /*#__PURE__*/_interopNamespace(i0);
30
30
  var i2__namespace = /*#__PURE__*/_interopNamespace(i2);
31
- var i4__namespace = /*#__PURE__*/_interopNamespace(i4);
31
+ var i1__namespace = /*#__PURE__*/_interopNamespace(i1);
32
32
  var i3__namespace = /*#__PURE__*/_interopNamespace(i3);
33
- var i1__namespace$1 = /*#__PURE__*/_interopNamespace(i1);
33
+ var i1__namespace$3 = /*#__PURE__*/_interopNamespace(i1$1);
34
34
  var ___default = /*#__PURE__*/_interopDefaultLegacy(_);
35
- var i1__namespace = /*#__PURE__*/_interopNamespace(i1$1);
35
+ var i1__namespace$1 = /*#__PURE__*/_interopNamespace(i1$2);
36
+ var i1__namespace$2 = /*#__PURE__*/_interopNamespace(i1$3);
36
37
  var i2__namespace$1 = /*#__PURE__*/_interopNamespace(i2$1);
37
38
  var i3__namespace$1 = /*#__PURE__*/_interopNamespace(i3$1);
38
39
  var i2__namespace$2 = /*#__PURE__*/_interopNamespace(i2$2);
39
- var i1__namespace$2 = /*#__PURE__*/_interopNamespace(i1$2);
40
40
 
41
41
  /*! *****************************************************************************
42
42
  Copyright (c) Microsoft Corporation.
@@ -398,6 +398,7 @@
398
398
  // this._getInnerElement()?.classList.add(this.rtl ? 'ax-rtl' : 'ax-ltr');
399
399
  // this._getHostElement().setAttribute('data-id', this.id);
400
400
  this.onInit();
401
+ this.onRenderCssClass();
401
402
  };
402
403
  AXBaseComponent.prototype._onInternalViewInit = function () {
403
404
  this.onViewInit();
@@ -407,14 +408,32 @@
407
408
  };
408
409
  AXBaseComponent.prototype.onInit = function () {
409
410
  };
411
+ AXBaseComponent.prototype.onRenderCssClass = function () {
412
+ };
410
413
  AXBaseComponent.prototype.onViewInit = function () {
411
414
  };
412
415
  AXBaseComponent.prototype.onDestroy = function () {
413
416
  };
414
- AXBaseComponent.prototype.onOptionChanging = function (option) {
417
+ AXBaseComponent.prototype._onOptionChanging = function (option) {
415
418
  return option === null || option === void 0 ? void 0 : option.value;
416
419
  };
417
- AXBaseComponent.prototype.onOptionChanged = function (option) {
420
+ AXBaseComponent.prototype._onOptionChanged = function (option) {
421
+ };
422
+ AXBaseComponent.prototype._setOption = function (option) {
423
+ var oldValue = this[option.name];
424
+ var newValue = this._onOptionChanging({ name: option.name, value: option.value });
425
+ //TODO : check real changes
426
+ if (oldValue != newValue) {
427
+ if (option.beforeCallback)
428
+ option.beforeCallback();
429
+ this["_" + option.name] = option.value;
430
+ this._onOptionChanged({ name: option.name, newValue: newValue, oldValue: oldValue });
431
+ var emitter = this[option.name + "Change"];
432
+ if (emitter)
433
+ emitter.emit(newValue);
434
+ if (option.afterCallback)
435
+ option.afterCallback();
436
+ }
418
437
  };
419
438
  return AXBaseComponent;
420
439
  }());
@@ -450,10 +469,9 @@
450
469
  var BASE_OUTPUT = [];
451
470
 
452
471
  function _ButtonComponentMixin(Base) {
453
- var _color, _look, _toggleable, _selected, _a;
454
- return _a = /** @class */ (function (_super) {
455
- __extends(_a, _super);
456
- function _a() {
472
+ return /** @class */ (function (_super) {
473
+ __extends(class_1, _super);
474
+ function class_1() {
457
475
  var args = [];
458
476
  for (var _i = 0; _i < arguments.length; _i++) {
459
477
  args[_i] = arguments[_i];
@@ -472,95 +490,92 @@
472
490
  */
473
491
  _this.cancelBehavior = false;
474
492
  _this.colorChange = new i0.EventEmitter();
475
- _color.set(_this, 'primary');
493
+ _this._color = 'primary';
476
494
  _this.lookChange = new i0.EventEmitter();
477
- _look.set(_this, null);
495
+ _this._look = null;
478
496
  _this.toggleableChange = new i0.EventEmitter();
479
- _toggleable.set(_this, false);
497
+ _this._toggleable = false;
480
498
  _this.selectedChange = new i0.EventEmitter();
481
- _selected.set(_this, false);
499
+ _this._selected = false;
482
500
  return _this;
483
501
  }
484
- Object.defineProperty(_a.prototype, "color", {
502
+ Object.defineProperty(class_1.prototype, "color", {
485
503
  /**
486
504
  * Predefined color schemes
487
505
  */
488
506
  get: function () {
489
- return __classPrivateFieldGet(this, _color);
507
+ return this._color;
490
508
  },
491
509
  set: function (value) {
492
- value = this.onOptionChanging({ name: 'color', value: value });
493
- if (value != __classPrivateFieldGet(this, _color)) {
494
- var oldValue = this.color;
495
- __classPrivateFieldSet(this, _color, value);
496
- this.colorChange.emit(value);
497
- this.onOptionChanged({ name: 'color', oldValue: oldValue, newValue: value });
498
- this._cdr.markForCheck();
499
- }
510
+ var _this = this;
511
+ this._setOption({
512
+ name: 'color',
513
+ value: value,
514
+ afterCallback: function () {
515
+ _this._cdr.markForCheck();
516
+ }
517
+ });
500
518
  },
501
519
  enumerable: false,
502
520
  configurable: true
503
521
  });
504
- Object.defineProperty(_a.prototype, "look", {
522
+ Object.defineProperty(class_1.prototype, "look", {
505
523
  /**
506
524
  * Predefined look schemes
507
525
  */
508
526
  get: function () {
509
- return __classPrivateFieldGet(this, _look);
527
+ return this._look;
510
528
  },
511
529
  set: function (value) {
512
- value = this.onOptionChanging({ name: 'look', value: value });
513
- if (value != __classPrivateFieldGet(this, _look)) {
514
- var oldValue = this.color;
515
- __classPrivateFieldSet(this, _look, value);
516
- this.lookChange.emit(value);
517
- this.onOptionChanged({ name: 'look', oldValue: oldValue, newValue: value });
518
- this._cdr.markForCheck();
519
- }
530
+ var _this = this;
531
+ this._setOption({
532
+ name: 'look',
533
+ value: value,
534
+ afterCallback: function () {
535
+ _this._cdr.markForCheck();
536
+ }
537
+ });
520
538
  },
521
539
  enumerable: false,
522
540
  configurable: true
523
541
  });
524
- Object.defineProperty(_a.prototype, "toggleable", {
542
+ Object.defineProperty(class_1.prototype, "toggleable", {
525
543
  /**
526
544
  * Provides visual styling that indicates if the Button is active
527
545
  */
528
546
  get: function () {
529
- return __classPrivateFieldGet(this, _toggleable);
547
+ return this._toggleable;
530
548
  },
531
549
  set: function (value) {
532
- value = this.onOptionChanging({ name: 'toggleable', value: value });
533
- if (value != __classPrivateFieldGet(this, _toggleable)) {
534
- var oldValue = this.toggleable;
535
- __classPrivateFieldSet(this, _toggleable, value);
536
- this.toggleableChange.emit(value);
537
- this.onOptionChanged({ name: 'toggleable', oldValue: oldValue, newValue: value });
538
- }
550
+ this._setOption({
551
+ name: 'toggleable',
552
+ value: value
553
+ });
539
554
  },
540
555
  enumerable: false,
541
556
  configurable: true
542
557
  });
543
- Object.defineProperty(_a.prototype, "selected", {
558
+ Object.defineProperty(class_1.prototype, "selected", {
544
559
  /**
545
560
  * Indicates if the Button is selected or not
546
561
  */
547
562
  get: function () {
548
- return __classPrivateFieldGet(this, _selected);
563
+ return this._selected;
549
564
  },
550
565
  set: function (value) {
551
- value = this.onOptionChanging({ name: 'selected', value: value });
552
- if (value != __classPrivateFieldGet(this, _selected)) {
553
- var oldValue = this.selected;
554
- __classPrivateFieldSet(this, _selected, value);
555
- this.selectedChange.emit(value);
556
- this._cdr.markForCheck();
557
- this.onOptionChanged({ name: 'selected', oldValue: oldValue, newValue: value });
558
- }
566
+ var _this = this;
567
+ this._setOption({
568
+ name: 'selected',
569
+ value: value,
570
+ afterCallback: function () {
571
+ _this._cdr.markForCheck();
572
+ }
573
+ });
559
574
  },
560
575
  enumerable: false,
561
576
  configurable: true
562
577
  });
563
- _a.prototype._onInternalViewInit = function () {
578
+ class_1.prototype._onInternalViewInit = function () {
564
579
  var _this = this;
565
580
  _super.prototype._onInternalViewInit.call(this);
566
581
  if (this.submitBehavior) {
@@ -569,10 +584,10 @@
569
584
  }, 0);
570
585
  }
571
586
  };
572
- _a.prototype._onInternalDestroy = function () {
587
+ class_1.prototype._onInternalDestroy = function () {
573
588
  _super.prototype._onInternalDestroy.call(this);
574
589
  };
575
- Object.defineProperty(_a.prototype, "_classes", {
590
+ Object.defineProperty(class_1.prototype, "_classes", {
576
591
  get: function () {
577
592
  var cssClasses = {
578
593
  'ax-button-icon': !this.text,
@@ -585,13 +600,8 @@
585
600
  enumerable: false,
586
601
  configurable: true
587
602
  });
588
- return _a;
589
- }(Base)),
590
- _color = new WeakMap(),
591
- _look = new WeakMap(),
592
- _toggleable = new WeakMap(),
593
- _selected = new WeakMap(),
594
- _a;
603
+ return class_1;
604
+ }(Base));
595
605
  }
596
606
  var BUTTON_INPUTS = [
597
607
  'text',
@@ -759,7 +769,6 @@
759
769
  }
760
770
 
761
771
  function _DropdownComponenetMixin(Base) {
762
- var _readonly;
763
772
  var Mixin = /** @class */ (function (_super) {
764
773
  __extends(Mixin, _super);
765
774
  function Mixin() {
@@ -768,18 +777,13 @@
768
777
  args[_i] = arguments[_i];
769
778
  }
770
779
  var _this = _super.apply(this, __spreadArray([], __read(args))) || this;
771
- _readonly.set(_this, false);
772
780
  _this.fitParent = true;
781
+ _this.readonly = false;
773
782
  _this.onOpened = new i0.EventEmitter();
774
783
  _this.onClosed = new i0.EventEmitter();
784
+ _this.position = [];
775
785
  return _this;
776
786
  }
777
- Object.defineProperty(Mixin.prototype, "readonly", {
778
- get: function () { return __classPrivateFieldGet(this, _readonly); },
779
- set: function (value) { __classPrivateFieldSet(this, _readonly, coercion.coerceBooleanProperty(value)); },
780
- enumerable: false,
781
- configurable: true
782
- });
783
787
  Mixin.prototype._emitOnOpenedEvent = function () {
784
788
  //** call from interactive mixin **//
785
789
  //(this as any).focus();
@@ -790,17 +794,81 @@
790
794
  });
791
795
  };
792
796
  Mixin.prototype._emitOnClosedEvent = function () {
793
- this.focus();
794
797
  this.onClosed.emit({
795
798
  component: this,
796
799
  htmlElement: this._getHostElement()
797
800
  });
798
801
  };
802
+ Mixin.prototype.onViewInit = function () {
803
+ var _this = this;
804
+ if (this.dropdownWidth == null) {
805
+ if (this.fitParent === true) {
806
+ this.dropdownWidth = this._getInnerElement().offsetWidth;
807
+ }
808
+ }
809
+ // wait for documentElement
810
+ setTimeout(function () {
811
+ var _b;
812
+ if (_this.position.length == 0) {
813
+ var offset = Number(getComputedStyle(document.documentElement).getPropertyValue('--ax-base-size').replace('px', ''));
814
+ var list = [
815
+ {
816
+ originX: 'start',
817
+ originY: 'bottom',
818
+ overlayX: 'start',
819
+ overlayY: 'top',
820
+ offsetY: offset
821
+ },
822
+ {
823
+ originX: 'start',
824
+ originY: 'top',
825
+ overlayX: 'start',
826
+ overlayY: 'bottom',
827
+ offsetY: -offset
828
+ }
829
+ ];
830
+ (_b = _this.position).push.apply(_b, __spreadArray([], __read(list)));
831
+ }
832
+ }, 500);
833
+ };
834
+ Mixin.prototype.toggle = function () {
835
+ if (this['disabled'] !== true) {
836
+ this.popover.toggle();
837
+ }
838
+ };
839
+ Mixin.prototype.close = function () {
840
+ if (!this.isOpen || this['disabled']) {
841
+ return;
842
+ }
843
+ this.popover.close();
844
+ this._emitOnClosedEvent();
845
+ };
846
+ Mixin.prototype.open = function () {
847
+ if (this.isOpen || this['disabled']) {
848
+ return;
849
+ }
850
+ this.popover.open();
851
+ this._emitOnOpenedEvent();
852
+ };
853
+ Object.defineProperty(Mixin.prototype, "isOpen", {
854
+ get: function () {
855
+ var _a;
856
+ return (_a = this.popover) === null || _a === void 0 ? void 0 : _a.isOpen;
857
+ },
858
+ enumerable: false,
859
+ configurable: true
860
+ });
799
861
  return Mixin;
800
862
  }(Base));
801
- _readonly = new WeakMap();
802
863
  return Mixin;
803
- }
864
+ }
865
+ var DROPDOWN_INPUTS = [
866
+ 'isOpen',
867
+ 'fitParent',
868
+ 'dropdownWidth',
869
+ 'position'
870
+ ];
871
+ var DROPDOWN_OUTPUT = ['onOpened', 'onClosed'];
804
872
 
805
873
  function _InteractiveComponenetMixin(Base) {
806
874
  var _disabled, _tabIndex;
@@ -816,7 +884,7 @@
816
884
  }
817
885
  var _this = _super.apply(this, __spreadArray([], __read(args))) || this;
818
886
  _disabled.set(_this, false);
819
- _tabIndex.set(_this, 0);
887
+ _tabIndex.set(_this, null);
820
888
  /**
821
889
  * Fires each time the component gets focused.
822
890
  * @event
@@ -835,11 +903,11 @@
835
903
  */
836
904
  get: function () { return __classPrivateFieldGet(this, _disabled); },
837
905
  set: function (value) {
838
- value = this.onOptionChanging({ name: 'disabled', value: value });
906
+ value = this._onOptionChanging({ name: 'disabled', value: value });
839
907
  if (value != this.disabled) {
840
908
  var oldValue = this.disabled;
841
909
  __classPrivateFieldSet(this, _disabled, coercion.coerceBooleanProperty(value));
842
- this.onOptionChanged({ name: 'disabled', oldValue: oldValue, newValue: value });
910
+ this._onOptionChanged({ name: 'disabled', oldValue: oldValue, newValue: value });
843
911
  this._cdr.markForCheck();
844
912
  }
845
913
  },
@@ -1132,7 +1200,7 @@
1132
1200
  _this.onValueChanged = new i0.EventEmitter();
1133
1201
  _this.valueChange = new i0.EventEmitter();
1134
1202
  _readonly.set(_this, false);
1135
- _allowNull.set(_this, true);
1203
+ _allowNull.set(_this, false);
1136
1204
  _name.set(_this, void 0);
1137
1205
  _debounceTime.set(_this, 0);
1138
1206
  _valueSubscription.set(_this, new rxjs.Subscription());
@@ -1188,7 +1256,7 @@
1188
1256
  return __classPrivateFieldGet(this, _value);
1189
1257
  },
1190
1258
  set: function (v) {
1191
- v = this._onValueChanging(v);
1259
+ v = this._onInternalValueChanging(v);
1192
1260
  if (!this._isInited || this.debounceTime == 0) {
1193
1261
  this._setValue(v);
1194
1262
  }
@@ -1209,6 +1277,11 @@
1209
1277
  });
1210
1278
  this._onValueChanged(oldValue, __classPrivateFieldGet(this, _value));
1211
1279
  };
1280
+ _a.prototype._onInternalValueChanging = function (value) {
1281
+ if (this.readonly)
1282
+ return this.value;
1283
+ return this._onValueChanging(value);
1284
+ };
1212
1285
  _a.prototype._onValueChanging = function (value) {
1213
1286
  return value;
1214
1287
  };
@@ -1282,7 +1355,7 @@
1282
1355
  this._getHostElement() :
1283
1356
  this._getHostElement().querySelector('.ax-editor-container');
1284
1357
  var formField = container === null || container === void 0 ? void 0 : container.closest('.ax-form-field');
1285
- var label = formField === null || formField === void 0 ? void 0 : formField.querySelector('.ax-label');
1358
+ var label = formField === null || formField === void 0 ? void 0 : formField.querySelector('ax-label');
1286
1359
  var target = container || this._getInnerElement();
1287
1360
  var parent = target.parentElement;
1288
1361
  switch (state) {
@@ -1383,7 +1456,7 @@
1383
1456
  var AXBaseSelectionValueMixin = _SizableComponenetMixin(_InteractiveComponenetMixin(_DatalistComponenetMixin(_SelectionComponenetMixin(_ValueComponenetMixin(AXBaseComponent)))));
1384
1457
  var AXBaseValueDropdownMixin = _SizableComponenetMixin(_InteractiveComponenetMixin(_DropdownComponenetMixin(_DatalistComponenetMixin(_ValueComponenetMixin(AXBaseComponent)))));
1385
1458
  var AXBaseSelectionDropdownMixin = _SizableComponenetMixin(_InteractiveComponenetMixin(_DropdownComponenetMixin(_DatalistComponenetMixin(_SelectionComponenetMixin(_ValueComponenetMixin(AXBaseComponent))))));
1386
- var AXCalendarComponentMixin = _ClickableComponenetMixin(_InteractiveComponenetMixin(_ValueComponenetMixin(AXBaseComponent)));
1459
+ var AXBaseDropdownMixin = _SizableComponenetMixin(_InteractiveComponenetMixin(_DropdownComponenetMixin(AXBaseComponent)));
1387
1460
 
1388
1461
  /**
1389
1462
  * Contains native event
@@ -1660,7 +1733,7 @@
1660
1733
  }(AXBaseComponentMixin));
1661
1734
  _visible = new WeakMap();
1662
1735
  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 });
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 });
1736
+ 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: i1__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush, encapsulation: i0__namespace.ViewEncapsulation.None });
1664
1737
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXAlertComponent, decorators: [{
1665
1738
  type: i0.Component,
1666
1739
  args: [{
@@ -1720,7 +1793,7 @@
1720
1793
  return AXAlertButtonComponent;
1721
1794
  }(AXBaseClickableMixin));
1722
1795
  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 });
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 });
1796
+ 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 });
1724
1797
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXAlertButtonComponent, decorators: [{
1725
1798
  type: i0.Component,
1726
1799
  args: [{
@@ -1800,7 +1873,7 @@
1800
1873
  }]
1801
1874
  }] });
1802
1875
 
1803
- var COMPONENT$n = [
1876
+ var COMPONENT$o = [
1804
1877
  AXAlertComponent,
1805
1878
  AXAlertContentComponent,
1806
1879
  AXAlertTitleComponent,
@@ -1808,7 +1881,7 @@
1808
1881
  AXAlertFooterComponent,
1809
1882
  AXAlertSuffixComponent
1810
1883
  ];
1811
- var MODULES$n = [i4.CommonModule];
1884
+ var MODULES$o = [i1.CommonModule];
1812
1885
  var AXAlertModule = /** @class */ (function () {
1813
1886
  function AXAlertModule() {
1814
1887
  }
@@ -1820,19 +1893,19 @@
1820
1893
  AXAlertTitleComponent,
1821
1894
  AXAlertButtonComponent,
1822
1895
  AXAlertFooterComponent,
1823
- AXAlertSuffixComponent], imports: [i4.CommonModule], exports: [AXAlertComponent,
1896
+ AXAlertSuffixComponent], imports: [i1.CommonModule], exports: [AXAlertComponent,
1824
1897
  AXAlertContentComponent,
1825
1898
  AXAlertTitleComponent,
1826
1899
  AXAlertButtonComponent,
1827
1900
  AXAlertFooterComponent,
1828
1901
  AXAlertSuffixComponent] });
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))] });
1902
+ AXAlertModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXAlertModule, providers: [], imports: [__spreadArray([], __read(MODULES$o))] });
1830
1903
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXAlertModule, decorators: [{
1831
1904
  type: i0.NgModule,
1832
1905
  args: [{
1833
- declarations: __spreadArray([], __read(COMPONENT$n)),
1834
- imports: __spreadArray([], __read(MODULES$n)),
1835
- exports: __spreadArray([], __read(COMPONENT$n)),
1906
+ declarations: __spreadArray([], __read(COMPONENT$o)),
1907
+ imports: __spreadArray([], __read(MODULES$o)),
1908
+ exports: __spreadArray([], __read(COMPONENT$o)),
1836
1909
  providers: [],
1837
1910
  }]
1838
1911
  }] });
@@ -1906,22 +1979,22 @@
1906
1979
  type: i0.Input
1907
1980
  }] } });
1908
1981
 
1909
- var COMPONENT$m = [AXAvatarComponent];
1910
- var MODULES$m = [i4.CommonModule];
1982
+ var COMPONENT$n = [AXAvatarComponent];
1983
+ var MODULES$n = [i1.CommonModule];
1911
1984
  var AXAvatarModule = /** @class */ (function () {
1912
1985
  function AXAvatarModule() {
1913
1986
  }
1914
1987
  return AXAvatarModule;
1915
1988
  }());
1916
1989
  AXAvatarModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXAvatarModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
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))] });
1990
+ 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] });
1991
+ AXAvatarModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXAvatarModule, providers: [], imports: [__spreadArray([], __read(MODULES$n))] });
1919
1992
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXAvatarModule, decorators: [{
1920
1993
  type: i0.NgModule,
1921
1994
  args: [{
1922
- declarations: __spreadArray([], __read(COMPONENT$m)),
1923
- imports: __spreadArray([], __read(MODULES$m)),
1924
- exports: __spreadArray([], __read(COMPONENT$m)),
1995
+ declarations: __spreadArray([], __read(COMPONENT$n)),
1996
+ imports: __spreadArray([], __read(MODULES$n)),
1997
+ exports: __spreadArray([], __read(COMPONENT$n)),
1925
1998
  providers: [],
1926
1999
  }]
1927
2000
  }] });
@@ -1937,7 +2010,7 @@
1937
2010
  }
1938
2011
  Object.defineProperty(AXBadgeComponent.prototype, "__hostClass", {
1939
2012
  get: function () {
1940
- return ["ax-bg-" + this.color + "-100", "ax-text-" + this.color + "-600"].join(' ');
2013
+ return ["ax-bg-" + this.color + "-100", "ax-text-" + this.color + "-500"].join(' ');
1941
2014
  },
1942
2015
  enumerable: false,
1943
2016
  configurable: true
@@ -1964,22 +2037,22 @@
1964
2037
  args: ['class']
1965
2038
  }] } });
1966
2039
 
1967
- var COMPONENT$l = [AXBadgeComponent];
1968
- var MODULES$l = [i4.CommonModule];
2040
+ var COMPONENT$m = [AXBadgeComponent];
2041
+ var MODULES$m = [i1.CommonModule];
1969
2042
  var AXBadgeModule = /** @class */ (function () {
1970
2043
  function AXBadgeModule() {
1971
2044
  }
1972
2045
  return AXBadgeModule;
1973
2046
  }());
1974
2047
  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))] });
2048
+ AXBadgeModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXBadgeModule, declarations: [AXBadgeComponent], imports: [i1.CommonModule], exports: [AXBadgeComponent] });
2049
+ AXBadgeModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXBadgeModule, providers: [], imports: [__spreadArray([], __read(MODULES$m))] });
1977
2050
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXBadgeModule, decorators: [{
1978
2051
  type: i0.NgModule,
1979
2052
  args: [{
1980
- declarations: __spreadArray([], __read(COMPONENT$l)),
1981
- imports: __spreadArray([], __read(MODULES$l)),
1982
- exports: __spreadArray([], __read(COMPONENT$l)),
2053
+ declarations: __spreadArray([], __read(COMPONENT$m)),
2054
+ imports: __spreadArray([], __read(MODULES$m)),
2055
+ exports: __spreadArray([], __read(COMPONENT$m)),
1983
2056
  providers: [],
1984
2057
  }]
1985
2058
  }] });
@@ -2030,7 +2103,7 @@
2030
2103
  return AXButtonComponent;
2031
2104
  }(AXBaseButtonMixin));
2032
2105
  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 });
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 });
2106
+ AXButtonComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: AXButtonComponent, selector: "ax-button", inputs: { disabled: "disabled", tabIndex: "tabIndex", size: "size", text: "text", submitBehavior: "submitBehavior", cancelBehavior: "cancelBehavior", color: "color", look: "look", toggleable: "toggleable", selected: "selected" }, outputs: { onBlur: "onBlur", onFocus: "onFocus", onClick: "onClick", selectedChange: "selectedChange", toggleableChange: "toggleableChange" }, host: { attributes: { "role": "button" }, listeners: { "document:keydown.escape": "onKeydownHandler($event)", "click": "_emitOnClickEvent($event)", "focus": "_emitOnFocusEvent($event)", "blur": "_emitOnBlurEvent($event)" }, properties: { "class": "this.__hostClass" } }, usesInheritance: true, ngImport: i0__namespace, template: "<!-- <button [ngClass]=\"_classes\" class=\"{{cssClass}} ax-{{size}}\" [disabled]=\"disabled\" [tabindex]=\"tabIndex\" [attr.style]=\"cssStyle\" (click)=\"_emitOnClickEvent($event)\" (focus)=\"_emitOnFocusEvent($event)\" (blur)=\"_emitOnBlurEvent($event)\">\r\n <ng-content select=\"ax-prefix,ax-loading,ax-icon\">\r\n </ng-content>\r\n <span *ngIf=\"text\">{{text}}</span>\r\n <ng-content select=\"ax-suffix\">\r\n </ng-content>\r\n <ng-content select=\"ax-dropdown-panel\">\r\n </ng-content>\r\n</button> -->\r\n<!-- <button [ngClass]=\"_classes\" class=\"{{cssClass}} ax-{{size}}\" [disabled]=\"disabled\" [tabindex]=\"tabIndex\" [attr.style]=\"cssStyle\" (click)=\"_emitOnClickEvent($event)\" (focus)=\"_emitOnFocusEvent($event)\" (blur)=\"_emitOnBlurEvent($event)\"> -->\r\n<ng-content select=\"ax-prefix,ax-loading,ax-icon\">\r\n</ng-content>\r\n<span *ngIf=\"text\">{{text}}</span>\r\n<ng-content select=\"ax-suffix\">\r\n</ng-content>\r\n<ng-content select=\"ax-dropdown-panel\">\r\n</ng-content>\r\n<!-- </button> -->", directives: [{ type: i1__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush, encapsulation: i0__namespace.ViewEncapsulation.None });
2034
2107
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXButtonComponent, decorators: [{
2035
2108
  type: i0.Component,
2036
2109
  args: [{
@@ -2078,7 +2151,7 @@
2078
2151
  return this._selection;
2079
2152
  },
2080
2153
  set: function (value) {
2081
- value = this.onOptionChanging({ name: 'selection', value: value });
2154
+ value = this._onOptionChanging({ name: 'selection', value: value });
2082
2155
  var oldValue = this.selection;
2083
2156
  if (value != oldValue) {
2084
2157
  this._selection = value;
@@ -2097,7 +2170,7 @@
2097
2170
  return this._color;
2098
2171
  },
2099
2172
  set: function (value) {
2100
- value = this.onOptionChanging({ name: 'color', value: value });
2173
+ value = this._onOptionChanging({ name: 'color', value: value });
2101
2174
  var oldValue = this.color;
2102
2175
  if (value != oldValue) {
2103
2176
  this._color = value;
@@ -2116,7 +2189,7 @@
2116
2189
  return this._look;
2117
2190
  },
2118
2191
  set: function (value) {
2119
- value = this.onOptionChanging({ name: 'look', value: value });
2192
+ value = this._onOptionChanging({ name: 'look', value: value });
2120
2193
  var oldValue = this.look;
2121
2194
  if (value != oldValue) {
2122
2195
  this._look = value;
@@ -2237,7 +2310,7 @@
2237
2310
  return AXButtonItemComponent;
2238
2311
  }(AXBaseItemButtonMixin));
2239
2312
  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 });
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 });
2313
+ 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 });
2241
2314
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXButtonItemComponent, decorators: [{
2242
2315
  type: i0.Component,
2243
2316
  args: [{
@@ -2277,15 +2350,14 @@
2277
2350
  return AXDecoratorPrefixComponent;
2278
2351
  }(AXBaseComponentMixin));
2279
2352
  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 });
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 });
2353
+ AXDecoratorPrefixComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: AXDecoratorPrefixComponent, selector: "ax-prefix", usesInheritance: true, ngImport: i0__namespace, template: "\n <ng-content select=\"ax-button,ax-loading,ax-icon,ax-badge\">\n </ng-content>\n ", isInline: true, changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush, encapsulation: i0__namespace.ViewEncapsulation.None });
2281
2354
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXDecoratorPrefixComponent, decorators: [{
2282
2355
  type: i0.Component,
2283
2356
  args: [{
2284
2357
  selector: 'ax-prefix',
2285
2358
  template: "\n <ng-content select=\"ax-button,ax-loading,ax-icon,ax-badge\">\n </ng-content>\n ",
2286
2359
  changeDetection: i0.ChangeDetectionStrategy.OnPush,
2287
- encapsulation: i0.ViewEncapsulation.None,
2288
- host: { class: 'ax-prefix' }
2360
+ encapsulation: i0.ViewEncapsulation.None
2289
2361
  }]
2290
2362
  }], ctorParameters: function () { return [{ type: i0__namespace.ElementRef }, { type: i0__namespace.ChangeDetectorRef }]; } });
2291
2363
 
@@ -2297,34 +2369,52 @@
2297
2369
  return AXDecoratorSuffixComponent;
2298
2370
  }(AXBaseComponentMixin));
2299
2371
  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 });
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 });
2372
+ AXDecoratorSuffixComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: AXDecoratorSuffixComponent, selector: "ax-suffix", usesInheritance: true, ngImport: i0__namespace, template: "\n <ng-content select=\"ax-button,ax-icon,ax-badge\">\n </ng-content>\n ", isInline: true, changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush, encapsulation: i0__namespace.ViewEncapsulation.None });
2301
2373
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXDecoratorSuffixComponent, decorators: [{
2302
2374
  type: i0.Component,
2303
2375
  args: [{
2304
2376
  selector: 'ax-suffix',
2305
2377
  template: "\n <ng-content select=\"ax-button,ax-icon,ax-badge\">\n </ng-content>\n ",
2306
2378
  changeDetection: i0.ChangeDetectionStrategy.OnPush,
2379
+ encapsulation: i0.ViewEncapsulation.None
2380
+ }]
2381
+ }], ctorParameters: function () { return [{ type: i0__namespace.ElementRef }, { type: i0__namespace.ChangeDetectorRef }]; } });
2382
+
2383
+ var AXDecoratorContentComponent = /** @class */ (function (_super) {
2384
+ __extends(AXDecoratorContentComponent, _super);
2385
+ function AXDecoratorContentComponent(elementRef, cdr) {
2386
+ return _super.call(this, elementRef, cdr) || this;
2387
+ }
2388
+ return AXDecoratorContentComponent;
2389
+ }(AXBaseComponentMixin));
2390
+ AXDecoratorContentComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXDecoratorContentComponent, deps: [{ token: i0__namespace.ElementRef }, { token: i0__namespace.ChangeDetectorRef }], target: i0__namespace.ɵɵFactoryTarget.Component });
2391
+ AXDecoratorContentComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: AXDecoratorContentComponent, selector: "ax-content", usesInheritance: true, ngImport: i0__namespace, template: "\n <ng-content>\n </ng-content>\n ", isInline: true, changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush, encapsulation: i0__namespace.ViewEncapsulation.None });
2392
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXDecoratorContentComponent, decorators: [{
2393
+ type: i0.Component,
2394
+ args: [{
2395
+ selector: 'ax-content',
2396
+ template: "\n <ng-content>\n </ng-content>\n ",
2397
+ changeDetection: i0.ChangeDetectionStrategy.OnPush,
2307
2398
  encapsulation: i0.ViewEncapsulation.None,
2308
- host: { class: 'ax-suffix' }
2309
2399
  }]
2310
2400
  }], ctorParameters: function () { return [{ type: i0__namespace.ElementRef }, { type: i0__namespace.ChangeDetectorRef }]; } });
2311
2401
 
2312
- var COMPONENT$k = [AXDecoratorPrefixComponent, AXDecoratorSuffixComponent];
2313
- var MODULES$k = [i4.CommonModule];
2402
+ var COMPONENT$l = [AXDecoratorPrefixComponent, AXDecoratorSuffixComponent, AXDecoratorContentComponent];
2403
+ var MODULES$l = [i1.CommonModule];
2314
2404
  var AXEditorDecoratorModule = /** @class */ (function () {
2315
2405
  function AXEditorDecoratorModule() {
2316
2406
  }
2317
2407
  return AXEditorDecoratorModule;
2318
2408
  }());
2319
2409
  AXEditorDecoratorModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXEditorDecoratorModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
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))] });
2410
+ AXEditorDecoratorModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXEditorDecoratorModule, declarations: [AXDecoratorPrefixComponent, AXDecoratorSuffixComponent, AXDecoratorContentComponent], imports: [i1.CommonModule], exports: [AXDecoratorPrefixComponent, AXDecoratorSuffixComponent, AXDecoratorContentComponent] });
2411
+ AXEditorDecoratorModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXEditorDecoratorModule, providers: [], imports: [__spreadArray([], __read(MODULES$l))] });
2322
2412
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXEditorDecoratorModule, decorators: [{
2323
2413
  type: i0.NgModule,
2324
2414
  args: [{
2325
- declarations: __spreadArray([], __read(COMPONENT$k)),
2326
- imports: __spreadArray([], __read(MODULES$k)),
2327
- exports: __spreadArray([], __read(COMPONENT$k)),
2415
+ declarations: __spreadArray([], __read(COMPONENT$l)),
2416
+ imports: __spreadArray([], __read(MODULES$l)),
2417
+ exports: __spreadArray([], __read(COMPONENT$l)),
2328
2418
  providers: [],
2329
2419
  }]
2330
2420
  }] });
@@ -2360,32 +2450,32 @@
2360
2450
  args: ['class']
2361
2451
  }] } });
2362
2452
 
2363
- var COMPONENT$j = [AXIconComponent];
2364
- var MODULES$j = [i4.CommonModule];
2453
+ var COMPONENT$k = [AXIconComponent];
2454
+ var MODULES$k = [i1.CommonModule];
2365
2455
  var AXIconModule = /** @class */ (function () {
2366
2456
  function AXIconModule() {
2367
2457
  }
2368
2458
  return AXIconModule;
2369
2459
  }());
2370
2460
  AXIconModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXIconModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
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))] });
2461
+ 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] });
2462
+ AXIconModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXIconModule, providers: [], imports: [__spreadArray([], __read(MODULES$k))] });
2373
2463
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXIconModule, decorators: [{
2374
2464
  type: i0.NgModule,
2375
2465
  args: [{
2376
- declarations: __spreadArray([], __read(COMPONENT$j)),
2377
- imports: __spreadArray([], __read(MODULES$j)),
2378
- exports: __spreadArray([], __read(COMPONENT$j)),
2466
+ declarations: __spreadArray([], __read(COMPONENT$k)),
2467
+ imports: __spreadArray([], __read(MODULES$k)),
2468
+ exports: __spreadArray([], __read(COMPONENT$k)),
2379
2469
  providers: [],
2380
2470
  }]
2381
2471
  }] });
2382
2472
 
2383
- var COMPONENT$i = [
2473
+ var COMPONENT$j = [
2384
2474
  AXButtonComponent,
2385
2475
  AXButtonItemComponent,
2386
2476
  AXButtonGroupComponent,
2387
2477
  ];
2388
- var MODULES$i = [i4.CommonModule, AXIconModule, AXEditorDecoratorModule];
2478
+ var MODULES$j = [i1.CommonModule, AXIconModule, AXEditorDecoratorModule];
2389
2479
  var AXButtonModule = /** @class */ (function () {
2390
2480
  function AXButtonModule() {
2391
2481
  }
@@ -2394,114 +2484,170 @@
2394
2484
  AXButtonModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXButtonModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
2395
2485
  AXButtonModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXButtonModule, declarations: [AXButtonComponent,
2396
2486
  AXButtonItemComponent,
2397
- AXButtonGroupComponent], imports: [i4.CommonModule, AXIconModule, AXEditorDecoratorModule], exports: [AXButtonComponent,
2487
+ AXButtonGroupComponent], imports: [i1.CommonModule, AXIconModule, AXEditorDecoratorModule], exports: [AXButtonComponent,
2398
2488
  AXButtonItemComponent,
2399
2489
  AXButtonGroupComponent] });
2400
- AXButtonModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXButtonModule, providers: [], imports: [[MODULES$i]] });
2490
+ AXButtonModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXButtonModule, providers: [], imports: [[MODULES$j]] });
2401
2491
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXButtonModule, decorators: [{
2402
2492
  type: i0.NgModule,
2403
2493
  args: [{
2404
- imports: [MODULES$i],
2405
- exports: [COMPONENT$i],
2406
- declarations: [COMPONENT$i],
2494
+ imports: [MODULES$j],
2495
+ exports: [COMPONENT$j],
2496
+ declarations: [COMPONENT$j],
2407
2497
  providers: [],
2408
2498
  }]
2409
2499
  }] });
2410
2500
 
2411
- var AXCalendarComponent = /** @class */ (function (_super) {
2412
- __extends(AXCalendarComponent, _super);
2413
- function AXCalendarComponent(elementRef, cdr) {
2501
+ var AXCalendarBaseComponent = /** @class */ (function (_super) {
2502
+ __extends(AXCalendarBaseComponent, _super);
2503
+ function AXCalendarBaseComponent(elementRef, cdr) {
2414
2504
  var _this = _super.call(this, elementRef, cdr) || this;
2415
- _this.cdr = cdr;
2416
- _this._today = new i2.AXDateTime(new Date());
2417
- _this._navText = '';
2418
- _this._todayText = '';
2419
- _this._slots = [];
2505
+ _this.activeViewChange = new i0.EventEmitter();
2420
2506
  _this._activeView = 'days';
2421
2507
  _this.depthChange = new i0.EventEmitter();
2422
2508
  _this._depth = 'days';
2509
+ _this.minChange = new i0.EventEmitter();
2510
+ _this.maxChange = new i0.EventEmitter();
2511
+ _this.disabledDatesChange = new i0.EventEmitter();
2512
+ _this.holidayDatesChange = new i0.EventEmitter();
2423
2513
  return _this;
2424
2514
  }
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", {
2515
+ Object.defineProperty(AXCalendarBaseComponent.prototype, "activeView", {
2446
2516
  get: function () {
2447
2517
  return this._activeView;
2448
2518
  },
2449
2519
  set: function (v) {
2450
- this._activeView = v;
2451
- this._genearteSlots();
2520
+ this._setOption({ name: 'activeView', value: v });
2452
2521
  },
2453
2522
  enumerable: false,
2454
2523
  configurable: true
2455
2524
  });
2456
- Object.defineProperty(AXCalendarComponent.prototype, "depth", {
2525
+ Object.defineProperty(AXCalendarBaseComponent.prototype, "depth", {
2457
2526
  get: function () {
2458
2527
  return this._depth;
2459
2528
  },
2460
2529
  set: function (v) {
2461
- this._depth = v;
2462
- this._activeView = v;
2463
- this.depthChange.emit(v);
2464
- this._genearteSlots();
2530
+ var _this = this;
2531
+ this._setOption({
2532
+ name: 'depth',
2533
+ value: v,
2534
+ beforeCallback: function () {
2535
+ _this._activeView = v;
2536
+ }
2537
+ });
2465
2538
  },
2466
2539
  enumerable: false,
2467
2540
  configurable: true
2468
2541
  });
2469
- Object.defineProperty(AXCalendarComponent.prototype, "min", {
2542
+ Object.defineProperty(AXCalendarBaseComponent.prototype, "min", {
2470
2543
  get: function () {
2471
2544
  return this._min;
2472
2545
  },
2473
2546
  set: function (v) {
2474
- this._min = v;
2547
+ this._setOption({ name: 'min', value: v });
2475
2548
  },
2476
2549
  enumerable: false,
2477
2550
  configurable: true
2478
2551
  });
2479
- Object.defineProperty(AXCalendarComponent.prototype, "max", {
2552
+ Object.defineProperty(AXCalendarBaseComponent.prototype, "max", {
2480
2553
  get: function () {
2481
2554
  return this._max;
2482
2555
  },
2483
2556
  set: function (v) {
2484
- this._max = v;
2557
+ this._setOption({ name: 'max', value: v });
2485
2558
  },
2486
2559
  enumerable: false,
2487
2560
  configurable: true
2488
2561
  });
2489
- Object.defineProperty(AXCalendarComponent.prototype, "disabledDates", {
2562
+ Object.defineProperty(AXCalendarBaseComponent.prototype, "disabledDates", {
2490
2563
  get: function () {
2491
2564
  return this._disabledDates;
2492
2565
  },
2493
2566
  set: function (v) {
2494
- this._disabledDates = v;
2567
+ this._setOption({ name: 'disabledDates', value: v });
2495
2568
  },
2496
2569
  enumerable: false,
2497
2570
  configurable: true
2498
2571
  });
2499
- Object.defineProperty(AXCalendarComponent.prototype, "holidayDates", {
2572
+ Object.defineProperty(AXCalendarBaseComponent.prototype, "holidayDates", {
2500
2573
  get: function () {
2501
2574
  return this._holidayDates;
2502
2575
  },
2503
2576
  set: function (v) {
2504
- this._holidayDates = v;
2577
+ this._setOption({ name: 'holidayDates', value: v });
2578
+ },
2579
+ enumerable: false,
2580
+ configurable: true
2581
+ });
2582
+ return AXCalendarBaseComponent;
2583
+ }(AXBaseComponent));
2584
+ AXCalendarBaseComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXCalendarBaseComponent, deps: [{ token: i0__namespace.ElementRef }, { token: i0__namespace.ChangeDetectorRef }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
2585
+ AXCalendarBaseComponent.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXCalendarBaseComponent });
2586
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXCalendarBaseComponent, decorators: [{
2587
+ type: i0.Injectable
2588
+ }], ctorParameters: function () { return [{ type: i0__namespace.ElementRef }, { type: i0__namespace.ChangeDetectorRef }]; }, propDecorators: { activeViewChange: [{
2589
+ type: i0.Output
2590
+ }], activeView: [{
2591
+ type: i0.Input
2592
+ }], depthChange: [{
2593
+ type: i0.Output
2594
+ }], depth: [{
2595
+ type: i0.Input
2596
+ }], minChange: [{
2597
+ type: i0.Output
2598
+ }], min: [{
2599
+ type: i0.Input
2600
+ }], maxChange: [{
2601
+ type: i0.Output
2602
+ }], max: [{
2603
+ type: i0.Input
2604
+ }], disabledDatesChange: [{
2605
+ type: i0.Output
2606
+ }], disabledDates: [{
2607
+ type: i0.Input
2608
+ }], holidayDatesChange: [{
2609
+ type: i0.Output
2610
+ }], holidayDates: [{
2611
+ type: i0.Input
2612
+ }] } });
2613
+ var CALENDAR_INPUTS = [
2614
+ 'depth',
2615
+ 'activeView',
2616
+ 'min',
2617
+ 'max',
2618
+ 'disabledDates',
2619
+ 'holidayDates',
2620
+ ];
2621
+ var CALENDAR_OUTPUTS = ['depthChange'];
2622
+
2623
+ var AXCalendarComponentMixin = _ClickableComponenetMixin(_InteractiveComponenetMixin(_ValueComponenetMixin(AXCalendarBaseComponent)));
2624
+ var AXCalendarComponent = /** @class */ (function (_super) {
2625
+ __extends(AXCalendarComponent, _super);
2626
+ function AXCalendarComponent(elementRef, cdr) {
2627
+ var _this = _super.call(this, elementRef, cdr) || this;
2628
+ _this.cdr = cdr;
2629
+ _this._today = new i2.AXDateTime(new Date());
2630
+ _this._navText = '';
2631
+ _this._todayText = '';
2632
+ _this._slots = [];
2633
+ return _this;
2634
+ }
2635
+ Object.defineProperty(AXCalendarComponent.prototype, "_viewRange", {
2636
+ get: function () {
2637
+ var current = this._viewStartDate || this._today;
2638
+ switch (this.activeView) {
2639
+ case 'years':
2640
+ var y = current.startOf('year').year;
2641
+ var min = y - (y % 10) - 1;
2642
+ var max = min + 11;
2643
+ 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()));
2644
+ case 'months':
2645
+ //TODO: check add month function
2646
+ return new i2.AXDateTimeRange(current.startOf('year'), current.endOf('year').add('day', -1));
2647
+ default:
2648
+ //return new AXDateTimeRange(current.startOf('month').startOf('week'), current.endOf('month').endOf('week'));
2649
+ return new i2.AXDateTimeRange(current.startOf('month'), current.endOf('month'));
2650
+ }
2505
2651
  },
2506
2652
  enumerable: false,
2507
2653
  configurable: true
@@ -2627,6 +2773,11 @@
2627
2773
  else if (this.activeView == 'months')
2628
2774
  this.activeView = 'years';
2629
2775
  };
2776
+ AXCalendarComponent.prototype._onOptionChanged = function (option) {
2777
+ if (option.name == 'depth' || option.name == 'activeView') {
2778
+ this._genearteSlots();
2779
+ }
2780
+ };
2630
2781
  AXCalendarComponent.prototype._onValueChanged = function (oldValue, newValue) {
2631
2782
  this._genearteSlots();
2632
2783
  };
@@ -2668,7 +2819,7 @@
2668
2819
  });
2669
2820
  AXCalendarComponent.prototype.isDisabled = function (date) {
2670
2821
  if (Array.isArray(this.disabledDates) && this.disabledDates.length != 0) {
2671
- debugger;
2822
+ ;
2672
2823
  return this.disabledDates.some(function (d) { return date.equal(d, 'day'); });
2673
2824
  }
2674
2825
  else if (typeof this.disabledDates == 'function') {
@@ -2691,52 +2842,38 @@
2691
2842
  return AXCalendarComponent;
2692
2843
  }(AXCalendarComponentMixin));
2693
2844
  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 });
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 });
2845
+ 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", depth: "depth", activeView: "activeView", 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 class=\"dark:ax-text-danger\" [text]=\"_todayText\" color=\"dark\" look=\"blank\" size=\"sm\" (onClick)=\"_handleGoToday()\" [disabled]=\"disabled\"></ax-button>\r\n</div>", components: [{ type: AXButtonComponent, selector: "ax-button", inputs: ["disabled", "tabIndex", "size", "text", "submitBehavior", "cancelBehavior", "color", "look", "toggleable", "selected"], outputs: ["onBlur", "onFocus", "onClick", "selectedChange", "toggleableChange"] }, { type: AXDecoratorPrefixComponent, selector: "ax-prefix" }, { type: AXIconComponent, selector: "ax-icon", inputs: ["icon"] }], directives: [{ type: i1__namespace.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { type: i1__namespace.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { type: i1__namespace.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i1__namespace.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i1__namespace.NgSwitchDefault, selector: "[ngSwitchDefault]" }], changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush, encapsulation: i0__namespace.ViewEncapsulation.None });
2695
2846
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXCalendarComponent, decorators: [{
2696
2847
  type: i0.Component,
2697
2848
  args: [{
2698
2849
  selector: 'ax-calendar',
2699
2850
  templateUrl: './calendar.component.html',
2700
2851
  changeDetection: i0.ChangeDetectionStrategy.OnPush,
2701
- inputs: __spreadArray(__spreadArray([], __read(VALUE_INPUTS)), __read(INTERACTIVE_INPUTS)),
2702
- outputs: __spreadArray(__spreadArray([], __read(VALUE_OUTPUT)), __read(INTERACTIVE_OUTPUT)),
2852
+ inputs: __spreadArray(__spreadArray(__spreadArray([], __read(VALUE_INPUTS)), __read(INTERACTIVE_INPUTS)), __read(CALENDAR_INPUTS)),
2853
+ outputs: __spreadArray(__spreadArray(__spreadArray([], __read(VALUE_OUTPUT)), __read(INTERACTIVE_OUTPUT)), __read(CALENDAR_OUTPUTS)),
2703
2854
  encapsulation: i0.ViewEncapsulation.None,
2704
2855
  }]
2705
- }], ctorParameters: function () { return [{ type: i0__namespace.ElementRef }, { type: i0__namespace.ChangeDetectorRef }]; }, propDecorators: { activeView: [{
2706
- type: i0.Input
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: [{
2716
- type: i0.Input
2717
- }], holidayDates: [{
2718
- type: i0.Input
2719
- }], __hostClass: [{
2856
+ }], ctorParameters: function () { return [{ type: i0__namespace.ElementRef }, { type: i0__namespace.ChangeDetectorRef }]; }, propDecorators: { __hostClass: [{
2720
2857
  type: i0.HostBinding,
2721
2858
  args: ['class']
2722
2859
  }] } });
2723
2860
 
2724
- var COMPONENT$h = [AXCalendarComponent];
2725
- var MODULES$h = [i4.CommonModule, AXButtonModule, AXIconModule, AXEditorDecoratorModule, i2.AXDateTimeModule];
2861
+ var COMPONENT$i = [AXCalendarComponent];
2862
+ var MODULES$i = [i1.CommonModule, AXButtonModule, AXIconModule, AXEditorDecoratorModule, i2.AXDateTimeModule];
2726
2863
  var AXCalendarModule = /** @class */ (function () {
2727
2864
  function AXCalendarModule() {
2728
2865
  }
2729
2866
  return AXCalendarModule;
2730
2867
  }());
2731
2868
  AXCalendarModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXCalendarModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
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))] });
2869
+ AXCalendarModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXCalendarModule, declarations: [AXCalendarComponent], imports: [i1.CommonModule, AXButtonModule, AXIconModule, AXEditorDecoratorModule, i2.AXDateTimeModule], exports: [AXCalendarComponent] });
2870
+ AXCalendarModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXCalendarModule, providers: [], imports: [__spreadArray([], __read(MODULES$i))] });
2734
2871
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXCalendarModule, decorators: [{
2735
2872
  type: i0.NgModule,
2736
2873
  args: [{
2737
- declarations: __spreadArray([], __read(COMPONENT$h)),
2738
- imports: __spreadArray([], __read(MODULES$h)),
2739
- exports: __spreadArray([], __read(COMPONENT$h)),
2874
+ declarations: __spreadArray([], __read(COMPONENT$i)),
2875
+ imports: __spreadArray([], __read(MODULES$i)),
2876
+ exports: __spreadArray([], __read(COMPONENT$i)),
2740
2877
  providers: [],
2741
2878
  }]
2742
2879
  }] });
@@ -3236,7 +3373,7 @@
3236
3373
  return AXCarouselPagerComponent;
3237
3374
  }(AXBaseComponentMixin));
3238
3375
  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 });
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 });
3376
+ 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 });
3240
3377
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXCarouselPagerComponent, decorators: [{
3241
3378
  type: i0.Component,
3242
3379
  args: [{
@@ -3248,78 +3385,237 @@
3248
3385
  }]
3249
3386
  }], ctorParameters: function () { return [{ type: i0__namespace.ElementRef }, { type: i0__namespace.ChangeDetectorRef }, { type: AXCarouselComponent }]; } });
3250
3387
 
3251
- var COMPONENT$g = [AXCarouselComponent, AXCarouselItemComponent, AXCarouselArrowsComponent, AXCarouselPagerComponent];
3252
- var MODULES$g = [i4.CommonModule];
3388
+ var COMPONENT$h = [AXCarouselComponent, AXCarouselItemComponent, AXCarouselArrowsComponent, AXCarouselPagerComponent];
3389
+ var MODULES$h = [i1.CommonModule];
3253
3390
  var AXCarouselModule = /** @class */ (function () {
3254
3391
  function AXCarouselModule() {
3255
3392
  }
3256
3393
  return AXCarouselModule;
3257
3394
  }());
3258
3395
  AXCarouselModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXCarouselModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
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))] });
3396
+ 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] });
3397
+ AXCarouselModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXCarouselModule, providers: [], imports: [__spreadArray([], __read(MODULES$h))] });
3261
3398
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXCarouselModule, decorators: [{
3262
3399
  type: i0.NgModule,
3263
3400
  args: [{
3264
- declarations: __spreadArray([], __read(COMPONENT$g)),
3265
- imports: __spreadArray([], __read(MODULES$g)),
3266
- exports: __spreadArray([], __read(COMPONENT$g)),
3401
+ declarations: __spreadArray([], __read(COMPONENT$h)),
3402
+ imports: __spreadArray([], __read(MODULES$h)),
3403
+ exports: __spreadArray([], __read(COMPONENT$h)),
3267
3404
  providers: [],
3268
3405
  }]
3269
3406
  }] });
3270
3407
 
3271
- var AXCheckBoxComponent = /** @class */ (function (_super) {
3272
- __extends(AXCheckBoxComponent, _super);
3273
- function AXCheckBoxComponent(elementRef, cdr) {
3274
- var _this = _super.call(this, elementRef, cdr) || this;
3275
- //TODO: apply it
3276
- _this.indeterminate = false;
3277
- _this._id = "ax-checkbox-" + Math.floor(Math.random() * 1000);
3278
- return _this;
3408
+ var AXFormFieldComponent = /** @class */ (function (_super) {
3409
+ __extends(AXFormFieldComponent, _super);
3410
+ function AXFormFieldComponent(elementRef, cdr) {
3411
+ return _super.call(this, elementRef, cdr) || this;
3279
3412
  }
3280
- AXCheckBoxComponent.prototype.onInit = function () {
3281
- _super.prototype.onInit.call(this);
3282
- if (!this.indeterminate && this.value == null) {
3283
- this.value = false;
3284
- }
3285
- };
3286
- AXCheckBoxComponent.prototype._handleOnClickEvent = function (e) {
3287
- if (this.readonly || this.disabled) {
3288
- e.preventDefault();
3289
- e.stopPropagation();
3290
- }
3291
- };
3292
- return AXCheckBoxComponent;
3293
- }(AXBaseValueComponentMixin));
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 });
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 });
3296
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXCheckBoxComponent, decorators: [{
3413
+ return AXFormFieldComponent;
3414
+ }(AXBaseComponentMixin));
3415
+ AXFormFieldComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXFormFieldComponent, deps: [{ token: i0__namespace.ElementRef }, { token: i0__namespace.ChangeDetectorRef }], target: i0__namespace.ɵɵFactoryTarget.Component });
3416
+ AXFormFieldComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: AXFormFieldComponent, selector: "ax-form-field", usesInheritance: true, ngImport: i0__namespace, template: '<div class="ax-form-field"><ng-content></ng-content></div>', isInline: true, changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush, encapsulation: i0__namespace.ViewEncapsulation.None });
3417
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXFormFieldComponent, decorators: [{
3297
3418
  type: i0.Component,
3298
3419
  args: [{
3299
- selector: 'ax-check-box',
3300
- templateUrl: './checkbox.component.html',
3301
- inputs: ['disabled', 'readonly', 'tabIndex', 'size', 'value'],
3302
- outputs: ['valueChange', 'onValueChanged', 'onBlur', 'onFocus'],
3420
+ selector: 'ax-form-field',
3421
+ template: '<div class="ax-form-field"><ng-content></ng-content></div>',
3303
3422
  encapsulation: i0.ViewEncapsulation.None,
3304
3423
  changeDetection: i0.ChangeDetectionStrategy.OnPush,
3305
3424
  }]
3306
- }], ctorParameters: function () { return [{ type: i0__namespace.ElementRef }, { type: i0__namespace.ChangeDetectorRef }]; }, propDecorators: { indeterminate: [{
3307
- type: i0.Input
3308
- }] } });
3425
+ }], ctorParameters: function () { return [{ type: i0__namespace.ElementRef }, { type: i0__namespace.ChangeDetectorRef }]; } });
3309
3426
 
3310
- var AXCheckBoxModule = /** @class */ (function () {
3311
- function AXCheckBoxModule() {
3427
+ var AXFormHintComponent = /** @class */ (function (_super) {
3428
+ __extends(AXFormHintComponent, _super);
3429
+ function AXFormHintComponent(elementRef, cdr) {
3430
+ return _super.call(this, elementRef, cdr) || this;
3312
3431
  }
3313
- return AXCheckBoxModule;
3314
- }());
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 });
3316
- AXCheckBoxModulemod = 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]] });
3318
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXCheckBoxModule, decorators: [{
3432
+ return AXFormHintComponent;
3433
+ }(AXBaseComponentMixin));
3434
+ AXFormHintComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXFormHintComponent, deps: [{ token: i0__namespace.ElementRef }, { token: i0__namespace.ChangeDetectorRef }], target: i0__namespace.ɵɵFactoryTarget.Component });
3435
+ AXFormHintComponentcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: AXFormHintComponent, selector: "ax-form-hint", usesInheritance: true, ngImport: i0__namespace, template: ' <p class="ax-text-light-400 ax-text-xs ax-py-1 dark:ax-text-light-300"><ng-content></ng-content></p>', isInline: true, changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush, encapsulation: i0__namespace.ViewEncapsulation.None });
3436
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXFormHintComponent, decorators: [{
3437
+ type: i0.Component,
3438
+ args: [{
3439
+ selector: 'ax-form-hint',
3440
+ template: ' <p class="ax-text-light-400 ax-text-xs ax-py-1 dark:ax-text-light-300"><ng-content></ng-content></p>',
3441
+ encapsulation: i0.ViewEncapsulation.None,
3442
+ changeDetection: i0.ChangeDetectionStrategy.OnPush,
3443
+ }]
3444
+ }], ctorParameters: function () { return [{ type: i0__namespace.ElementRef }, { type: i0__namespace.ChangeDetectorRef }]; } });
3445
+
3446
+ var AXFormComponent = /** @class */ (function (_super) {
3447
+ __extends(AXFormComponent, _super);
3448
+ function AXFormComponent(elementRef, cdr) {
3449
+ var _this = _super.call(this, elementRef, cdr) || this;
3450
+ _this.cdr = cdr;
3451
+ return _this;
3452
+ }
3453
+ AXFormComponent.prototype._getComponenets = function () {
3454
+ return Array.from(this._getHostElement().querySelectorAll('[ax-form-input="true"]'));
3455
+ };
3456
+ AXFormComponent.prototype.validate = function () {
3457
+ var widgets = this._getComponenets();
3458
+ //
3459
+ return new Promise(function (resolve, reject) {
3460
+ if (widgets.length === 0) {
3461
+ return Promise.resolve({ result: true });
3462
+ }
3463
+ Promise.all(widgets.map(function (c) { return c.__axContext__.validate(); })).then(function (rules) {
3464
+ var failed = rules.filter(function (c) { return !c.result; });
3465
+ if (failed.length) {
3466
+ reject({
3467
+ result: false,
3468
+ items: failed
3469
+ });
3470
+ }
3471
+ else {
3472
+ resolve({ result: true });
3473
+ }
3474
+ });
3475
+ });
3476
+ };
3477
+ AXFormComponent.prototype.clear = function () {
3478
+ var widgets = this._getComponenets();
3479
+ widgets.forEach(function (w) {
3480
+ w.__axContext__.clear();
3481
+ });
3482
+ };
3483
+ return AXFormComponent;
3484
+ }(AXBaseComponentMixin));
3485
+ AXFormComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXFormComponent, deps: [{ token: i0__namespace.ElementRef }, { token: i0__namespace.ChangeDetectorRef }], target: i0__namespace.ɵɵFactoryTarget.Component });
3486
+ AXFormComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: AXFormComponent, selector: "ax-form", usesInheritance: true, ngImport: i0__namespace, template: '<div class="ax-form"><ng-content></ng-content></div>', isInline: true, changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush, encapsulation: i0__namespace.ViewEncapsulation.None });
3487
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXFormComponent, decorators: [{
3488
+ type: i0.Component,
3489
+ args: [{
3490
+ selector: 'ax-form',
3491
+ template: '<div class="ax-form"><ng-content></ng-content></div>',
3492
+ encapsulation: i0.ViewEncapsulation.None,
3493
+ changeDetection: i0.ChangeDetectionStrategy.OnPush,
3494
+ }]
3495
+ }], ctorParameters: function () { return [{ type: i0__namespace.ElementRef }, { type: i0__namespace.ChangeDetectorRef }]; } });
3496
+
3497
+ var AXFormModule = /** @class */ (function () {
3498
+ function AXFormModule() {
3499
+ }
3500
+ return AXFormModule;
3501
+ }());
3502
+ AXFormModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXFormModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
3503
+ 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] });
3504
+ AXFormModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXFormModule, providers: [], imports: [[i1.CommonModule]] });
3505
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXFormModule, decorators: [{
3506
+ type: i0.NgModule,
3507
+ args: [{
3508
+ imports: [i1.CommonModule],
3509
+ exports: [AXFormFieldComponent, AXFormComponent, AXFormHintComponent],
3510
+ declarations: [AXFormFieldComponent, AXFormComponent, AXFormHintComponent],
3511
+ providers: [],
3512
+ }]
3513
+ }] });
3514
+
3515
+ var AXLabelComponent = /** @class */ (function (_super) {
3516
+ __extends(AXLabelComponent, _super);
3517
+ function AXLabelComponent(elementRef, cdr) {
3518
+ return _super.call(this, elementRef, cdr) || this;
3519
+ }
3520
+ return AXLabelComponent;
3521
+ }(AXBaseComponentMixin));
3522
+ AXLabelComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXLabelComponent, deps: [{ token: i0__namespace.ElementRef }, { token: i0__namespace.ChangeDetectorRef }], target: i0__namespace.ɵɵFactoryTarget.Component });
3523
+ AXLabelComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: AXLabelComponent, selector: "ax-label", usesInheritance: true, ngImport: i0__namespace, template: "<label>\r\n <ng-content></ng-content>\r\n</label>", changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush, encapsulation: i0__namespace.ViewEncapsulation.None });
3524
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXLabelComponent, decorators: [{
3525
+ type: i0.Component,
3526
+ args: [{
3527
+ selector: 'ax-label',
3528
+ templateUrl: './label.component.html',
3529
+ changeDetection: i0.ChangeDetectionStrategy.OnPush,
3530
+ encapsulation: i0.ViewEncapsulation.None
3531
+ }]
3532
+ }], ctorParameters: function () { return [{ type: i0__namespace.ElementRef }, { type: i0__namespace.ChangeDetectorRef }]; } });
3533
+
3534
+ var COMPONENT$g = [AXLabelComponent];
3535
+ var MODULES$g = [i1.CommonModule];
3536
+ var AXLabelModule = /** @class */ (function () {
3537
+ function AXLabelModule() {
3538
+ }
3539
+ return AXLabelModule;
3540
+ }());
3541
+ AXLabelModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXLabelModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
3542
+ 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] });
3543
+ AXLabelModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXLabelModule, providers: [], imports: [__spreadArray([], __read(MODULES$g))] });
3544
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXLabelModule, decorators: [{
3545
+ type: i0.NgModule,
3546
+ args: [{
3547
+ declarations: __spreadArray([], __read(COMPONENT$g)),
3548
+ imports: __spreadArray([], __read(MODULES$g)),
3549
+ exports: __spreadArray([], __read(COMPONENT$g)),
3550
+ providers: [],
3551
+ }]
3552
+ }] });
3553
+
3554
+ var AXCheckBoxComponent = /** @class */ (function (_super) {
3555
+ __extends(AXCheckBoxComponent, _super);
3556
+ function AXCheckBoxComponent(elementRef, cdr) {
3557
+ return _super.call(this, elementRef, cdr) || this;
3558
+ }
3559
+ AXCheckBoxComponent.prototype.onInit = function () {
3560
+ _super.prototype.onInit.call(this);
3561
+ ;
3562
+ if (!this.allowNull && this.value == null) {
3563
+ this.value = false;
3564
+ }
3565
+ };
3566
+ AXCheckBoxComponent.prototype._onValueChanging = function (value) {
3567
+ if (this.allowNull && value == null) {
3568
+ this._stateIndeterminate = true;
3569
+ }
3570
+ else {
3571
+ this._stateIndeterminate = false;
3572
+ value = value == true ? true : false;
3573
+ }
3574
+ return value;
3575
+ };
3576
+ AXCheckBoxComponent.prototype._handleOnClickEvent = function (e) {
3577
+ ;
3578
+ if (this.readonly || this.disabled) {
3579
+ e.preventDefault();
3580
+ e.stopPropagation();
3581
+ return false;
3582
+ }
3583
+ };
3584
+ return AXCheckBoxComponent;
3585
+ }(AXBaseValueComponentMixin));
3586
+ 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 });
3587
+ AXCheckBoxComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: AXCheckBoxComponent, selector: "ax-check-box", inputs: { disabled: "disabled", tabIndex: "tabIndex", readonly: "readonly", allowNull: "allowNull", value: "value", debounceTime: "debounceTime", name: "name" }, outputs: { onBlur: "onBlur", onFocus: "onFocus", valueChange: "valueChange", onValueChanged: "onValueChanged" }, queries: [{ propertyName: "_hint", predicate: AXFormHintComponent }, { propertyName: "_label", predicate: AXLabelComponent }], usesInheritance: true, ngImport: i0__namespace, template: "<!-- <div class=\"ax-wrapper ax-flex ax-flex-row \" [class.ax-items-center]=\"_hint.length==0\"\r\n [class.ax-items-start]=\"_hint.length>=0\" [class.ax-state-disabled]=\"disabled\" [class.ax-state-readonly]=\"disabled\">\r\n <input [id]=\"id\" type=\"checkbox\" [indeterminate]=\"_stateIndeterminate\" [(ngModel)]=\"value\" [checked]=\"value\"\r\n [disabled]=\"disabled\" [readonly]=\"readonly\" [tabindex]=\"tabIndex\" (click)=\"_handleOnClickEvent($event)\"\r\n (focus)=\"_emitOnFocusEvent($event)\" (blur)=\"_emitOnBlurEvent($event)\">\r\n <div class=\"ax-suffix ax-ms-3\" *ngIf=\"_label.length||_hint.length\">\r\n <div *ngIf=\"_label.length\">\r\n <ng-content select=\"ax-label\"></ng-content>\r\n </div>\r\n <div *ngIf=\"_hint.length\">\r\n <ng-content select=\"ax-form-hint\"></ng-content>\r\n </div>\r\n </div>\r\n</div> -->\r\n\r\n<div class=\"ax-flex ax-items-start\">\r\n <div class=\"ax-flex ax-items-center ax-h-5\">\r\n <input [id]=\"id\" class=\"ax-h-4 ax-w-4\" type=\"checkbox\" [indeterminate]=\"_stateIndeterminate\" [(ngModel)]=\"value\" [checked]=\"value\" [disabled]=\"disabled\" [readonly]=\"readonly\" [tabindex]=\"tabIndex\" (click)=\"_handleOnClickEvent($event)\" (focus)=\"_emitOnFocusEvent($event)\"\r\n (blur)=\"_emitOnBlurEvent($event)\">\r\n </div>\r\n <div class=\"ax-ms-3 ax-text-sm\">\r\n <ng-content select=\"ax-label\"></ng-content>\r\n <ng-content select=\"ax-form-hint\"></ng-content>\r\n </div>\r\n</div>\r\n\r\n<ng-content select=\"ax-validation-rule\"></ng-content>", directives: [{ type: i3__namespace.CheckboxControlValueAccessor, selector: "input[type=checkbox][formControlName],input[type=checkbox][formControl],input[type=checkbox][ngModel]" }, { type: i3__namespace.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i3__namespace.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }], changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush, encapsulation: i0__namespace.ViewEncapsulation.None });
3588
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXCheckBoxComponent, decorators: [{
3589
+ type: i0.Component,
3590
+ args: [{
3591
+ selector: 'ax-check-box',
3592
+ templateUrl: './checkbox.component.html',
3593
+ inputs: __spreadArray(__spreadArray([], __read(INTERACTIVE_INPUTS)), __read(VALUE_INPUTS)),
3594
+ outputs: __spreadArray(__spreadArray([], __read(INTERACTIVE_OUTPUT)), __read(VALUE_OUTPUT)),
3595
+ encapsulation: i0.ViewEncapsulation.None,
3596
+ changeDetection: i0.ChangeDetectionStrategy.OnPush,
3597
+ }]
3598
+ }], ctorParameters: function () { return [{ type: i0__namespace.ElementRef }, { type: i0__namespace.ChangeDetectorRef }]; }, propDecorators: { _hint: [{
3599
+ type: i0.ContentChildren,
3600
+ args: [AXFormHintComponent]
3601
+ }], _label: [{
3602
+ type: i0.ContentChildren,
3603
+ args: [AXLabelComponent]
3604
+ }] } });
3605
+
3606
+ var AXCheckBoxModule = /** @class */ (function () {
3607
+ function AXCheckBoxModule() {
3608
+ }
3609
+ return AXCheckBoxModule;
3610
+ }());
3611
+ AXCheckBoxModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXCheckBoxModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
3612
+ 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] });
3613
+ AXCheckBoxModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXCheckBoxModule, providers: [], imports: [[i1.CommonModule, i3.FormsModule]] });
3614
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXCheckBoxModule, decorators: [{
3319
3615
  type: i0.NgModule,
3320
3616
  args: [{
3321
3617
  declarations: [AXCheckBoxComponent],
3322
- imports: [i4.CommonModule, i3.FormsModule],
3618
+ imports: [i1.CommonModule, i3.FormsModule],
3323
3619
  exports: [AXCheckBoxComponent],
3324
3620
  providers: [],
3325
3621
  }]
@@ -3385,7 +3681,7 @@
3385
3681
  return AXDataListComponent;
3386
3682
  }(AXBaseSelectionValueMixin));
3387
3683
  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 });
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 });
3684
+ 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 });
3389
3685
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXDataListComponent, decorators: [{
3390
3686
  type: i0.Component,
3391
3687
  args: [{
@@ -3418,14 +3714,14 @@
3418
3714
  }] } });
3419
3715
 
3420
3716
  var COMPONENT$f = [AXDataListComponent];
3421
- var MODULES$f = [i4.CommonModule, AXButtonModule];
3717
+ var MODULES$f = [i1.CommonModule, AXButtonModule];
3422
3718
  var AXDataListModule = /** @class */ (function () {
3423
3719
  function AXDataListModule() {
3424
3720
  }
3425
3721
  return AXDataListModule;
3426
3722
  }());
3427
3723
  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] });
3724
+ 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] });
3429
3725
  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
3726
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXDataListModule, decorators: [{
3431
3727
  type: i0.NgModule,
@@ -3615,7 +3911,7 @@
3615
3911
  }));
3616
3912
  }
3617
3913
  if (!this._templatePortal) {
3618
- this._templatePortal = new i1.TemplatePortal(this._baseTemplate, this._viewContainerRef);
3914
+ this._templatePortal = new i1$1.TemplatePortal(this._baseTemplate, this._viewContainerRef);
3619
3915
  }
3620
3916
  };
3621
3917
  Object.defineProperty(AXPopoverComponent.prototype, "isOpen", {
@@ -3630,7 +3926,7 @@
3630
3926
  };
3631
3927
  return AXPopoverComponent;
3632
3928
  }(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 });
3929
+ 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$1.Overlay }, { token: i2__namespace.AXPlatform }, { token: i0__namespace.ViewContainerRef }], target: i0__namespace.ɵɵFactoryTarget.Component });
3634
3930
  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
3931
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXPopoverComponent, decorators: [{
3636
3932
  type: i0.Component,
@@ -3640,7 +3936,7 @@
3640
3936
  encapsulation: i0.ViewEncapsulation.None,
3641
3937
  changeDetection: i0.ChangeDetectionStrategy.OnPush,
3642
3938
  }]
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: [{
3939
+ }], ctorParameters: function () { return [{ type: i0__namespace.ElementRef }, { type: i0__namespace.ChangeDetectorRef }, { type: i0__namespace.NgZone }, { type: i1__namespace$1.Overlay }, { type: i2__namespace.AXPlatform }, { type: i0__namespace.ViewContainerRef }]; }, propDecorators: { target: [{
3644
3940
  type: i0.Input
3645
3941
  }], position: [{
3646
3942
  type: i0.Input
@@ -3660,346 +3956,346 @@
3660
3956
  args: ['document:keydown', ['$event']]
3661
3957
  }] } });
3662
3958
 
3959
+ var AXBaseDatePickerMixin = _InteractiveComponenetMixin(_DropdownComponenetMixin(_ValueComponenetMixin(_TextboxComponenetMixin(AXCalendarBaseComponent))));
3960
+ var AXDatePickerComponent = /** @class */ (function (_super) {
3961
+ __extends(AXDatePickerComponent, _super);
3962
+ function AXDatePickerComponent(_elementRef, _cdr) {
3963
+ var _this = _super.call(this, _elementRef, _cdr) || this;
3964
+ _this.formatChange = new i0.EventEmitter();
3965
+ _this._format = 'YYYY-MM-dd';
3966
+ _this._target = _this._getHostElement();
3967
+ return _this;
3968
+ }
3969
+ Object.defineProperty(AXDatePickerComponent.prototype, "format", {
3970
+ get: function () {
3971
+ return this._format;
3972
+ },
3973
+ set: function (v) {
3974
+ this._setOption({
3975
+ name: 'format',
3976
+ value: v
3977
+ });
3978
+ },
3979
+ enumerable: false,
3980
+ configurable: true
3981
+ });
3982
+ AXDatePickerComponent.prototype._handleArrowClickEvent = function (e) {
3983
+ this.toggle();
3984
+ };
3985
+ AXDatePickerComponent.prototype._onValueChanged = function (oldValue, newValue) {
3986
+ this.displayText = newValue ? i2.AXDateTime.convert(newValue).format(this._format) : null;
3987
+ this.close();
3988
+ };
3989
+ AXDatePickerComponent.prototype._handleOnKeydownEvent = function (e) {
3990
+ var _this = this;
3991
+ var _a, _b;
3992
+ var ignore = function () {
3993
+ e.preventDefault();
3994
+ e.stopPropagation();
3995
+ };
3996
+ var nums = Array(10).fill(0).map(function (v, i) { return i.toString(); });
3997
+ var chars = ['Backspace', 'ArrowDown', 'ArrowUp', 'ArrowRight', 'ArrowLeft', 'Tab', 'Enter'];
3998
+ var input = e.target;
3999
+ var key = (e.key);
4000
+ var valStr = input.value;
4001
+ var sStart = input.selectionStart;
4002
+ var sEnd = input.selectionEnd;
4003
+ var dateVal = new i2.AXDateTime(this.value);
4004
+ // //
4005
+ if (!__spreadArray(__spreadArray([], __read(nums)), __read(chars)).includes(key)) {
4006
+ ignore();
4007
+ }
4008
+ if (e.key === 'ArrowRight' || e.key === 'ArrowLeft') {
4009
+ var re = /[a-zA-Z0-9]+/ig;
4010
+ var next = Array.from(valStr.substr(sEnd).matchAll(re));
4011
+ var prev = Array.from(valStr.substring(0, sStart).matchAll(re));
4012
+ ignore();
4013
+ this._highlightPart(input, (e.key === 'ArrowRight' ? (sEnd + (((_a = next[0]) === null || _a === void 0 ? void 0 : _a.index) || 0)) : ((_b = prev[prev.length - 1]) === null || _b === void 0 ? void 0 : _b.index)));
4014
+ }
4015
+ else if (e.key === 'ArrowUp' || e.key === 'ArrowDown') {
4016
+ var re = /[a-zA-Z0-9]+/ig;
4017
+ var sign = e.key === 'ArrowUp' ? +1 : -1;
4018
+ var parts = Array.from(this.format.matchAll(re));
4019
+ var word_1 = valStr.substring(sStart, sEnd);
4020
+ var part = parts[Array.from(valStr.matchAll(re)).findIndex(function (c) { return c[0] == word_1; })];
4021
+ if (part) {
4022
+ switch (part[0]) {
4023
+ case 'dd':
4024
+ case 'DD':
4025
+ this.value = dateVal.add('day', sign).date;
4026
+ break;
4027
+ case 'mm':
4028
+ case 'MMM':
4029
+ case 'MMMM':
4030
+ this.value = dateVal.add('month', sign).date;
4031
+ break;
4032
+ case 'yy':
4033
+ case 'YYYY':
4034
+ this.value = dateVal.add('year', sign).date;
4035
+ break;
4036
+ }
4037
+ setTimeout(function () {
4038
+ _this._highlightPart(input, sEnd - 1);
4039
+ }, Math.max(10, this.debounceTime));
4040
+ }
4041
+ ignore();
4042
+ }
4043
+ else if (e.key == 'Backspace') {
4044
+ if (this.allowNull) {
4045
+ this.value = null;
4046
+ }
4047
+ ignore();
4048
+ }
4049
+ // else if (nums.includes(key)) {
4050
+ // }
4051
+ // super._emitOnKeydownEvent(e);
4052
+ };
4053
+ AXDatePickerComponent.prototype._handleOnInputClickEvent = function (e) {
4054
+ var input = e.target;
4055
+ this._highlightPart(input);
4056
+ e.preventDefault();
4057
+ e.stopPropagation();
4058
+ };
4059
+ AXDatePickerComponent.prototype._highlightPart = function (input, pos) {
4060
+ var _c = i2.AXStringUtil.getWordBoundsAtPosition(input.value, pos != null ? pos : input.selectionStart), start = _c.start, end = _c.end;
4061
+ input.setSelectionRange(start, end);
4062
+ };
4063
+ return AXDatePickerComponent;
4064
+ }(AXBaseDatePickerMixin));
4065
+ 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 });
4066
+ AXDatePickerComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: AXDatePickerComponent, selector: "ax-date-picker", inputs: { isOpen: "isOpen", fitParent: "fitParent", dropdownWidth: "dropdownWidth", position: "position", disabled: "disabled", tabIndex: "tabIndex", readonly: "readonly", allowNull: "allowNull", value: "value", debounceTime: "debounceTime", name: "name", placeholder: "placeholder", maxLength: "maxLength", depth: "depth", activeView: "activeView", min: "min", max: "max", disabledDates: "disabledDates", holidayDates: "holidayDates", format: "format" }, outputs: { onOpened: "onOpened", onClosed: "onClosed", onBlur: "onBlur", onFocus: "onFocus", valueChange: "valueChange", onValueChanged: "onValueChanged", depthChange: "depthChange", formatChange: "formatChange" }, host: { classAttribute: "ax-editor-container ax-drop-down" }, viewQueries: [{ propertyName: "popover", first: true, predicate: AXPopoverComponent, descendants: true }], usesInheritance: true, ngImport: i0__namespace, template: "<ng-content select=\"ax-prefix\">\r\n</ng-content>\r\n<div class=\"ax-dropdown-content\">\r\n <input class=\"ax-input\" type=\"text\" [attr.placeholder]=\"placeholder\"\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)\" (mouseup)=\"_handleOnInputClickEvent($event)\"\r\n (blur)=\"_emitOnBlurEvent($event)\" (keydown)=\"_handleOnKeydownEvent($event)\">\r\n</div>\r\n<ax-button [disabled]=\"disabled\" [tabIndex]=\"-1\" color=\"light\" look=\"blank\"\r\n (onClick)=\"_handleArrowClickEvent($event)\">\r\n <ax-icon icon=\"ax-ic ax-ic-chevron ax-transform ax--rotate-90\"></ax-icon>\r\n</ax-button>\r\n<ng-content select=\"ax-suffix\">\r\n</ng-content>\r\n<ax-popover [target]=\"_target\" [position]=\"position\" [openTrigger]=\"'manual'\" [closeTrigger]=\"'clickout'\">\r\n <div class=\"ax-overlay-pane\" [style.min-width.px]=\"dropdownWidth\">\r\n <ax-calendar \r\n [disabled]=\"disabled\" \r\n [readonly]=\"readonly\" \r\n [(value)]=\"value\"\r\n (onValueChanged)=\"_emitOnValueChangedEvent($event)\"\r\n [min]=\"min\"\r\n [min]=\"max\"\r\n [disabledDates]=\"disabledDates\"\r\n [holidayDates]=\"holidayDates\"\r\n [depth]=\"depth\"\r\n >\r\n\r\n </ax-calendar>\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"] }, { type: AXCalendarComponent, selector: "ax-calendar", inputs: ["readonly", "allowNull", "value", "debounceTime", "name", "disabled", "tabIndex", "depth", "activeView", "min", "max", "disabledDates", "holidayDates"], outputs: ["valueChange", "onValueChanged", "onBlur", "onFocus", "depthChange"] }], 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.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 });
4067
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXDatePickerComponent, decorators: [{
4068
+ type: i0.Component,
4069
+ args: [{
4070
+ selector: 'ax-date-picker',
4071
+ templateUrl: './datepicker.component.html',
4072
+ inputs: __spreadArray(__spreadArray(__spreadArray(__spreadArray(__spreadArray([], __read(DROPDOWN_INPUTS)), __read(INTERACTIVE_INPUTS)), __read(VALUE_INPUTS)), __read(TEXTBOX_INPUTS)), __read(CALENDAR_INPUTS)),
4073
+ outputs: __spreadArray(__spreadArray(__spreadArray(__spreadArray(__spreadArray([], __read(DROPDOWN_OUTPUT)), __read(INTERACTIVE_OUTPUT)), __read(VALUE_OUTPUT)), __read(TEXTBOX_OUTPUT)), __read(CALENDAR_OUTPUTS)),
4074
+ changeDetection: i0.ChangeDetectionStrategy.OnPush,
4075
+ encapsulation: i0.ViewEncapsulation.None,
4076
+ host: { class: 'ax-editor-container ax-drop-down' }
4077
+ }]
4078
+ }], ctorParameters: function () { return [{ type: i0__namespace.ElementRef }, { type: i0__namespace.ChangeDetectorRef }]; }, propDecorators: { popover: [{
4079
+ type: i0.ViewChild,
4080
+ args: [AXPopoverComponent]
4081
+ }], formatChange: [{
4082
+ type: i0.Output
4083
+ }], format: [{
4084
+ type: i0.Input
4085
+ }] } });
4086
+
3663
4087
  var AXPopoverModule = /** @class */ (function () {
3664
4088
  function AXPopoverModule() {
3665
4089
  }
3666
4090
  return AXPopoverModule;
3667
4091
  }());
3668
4092
  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]] });
4093
+ 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] });
4094
+ AXPopoverModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXPopoverModule, providers: [], imports: [[i1.CommonModule]] });
3671
4095
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXPopoverModule, decorators: [{
3672
4096
  type: i0.NgModule,
3673
4097
  args: [{
3674
4098
  declarations: [AXPopoverComponent],
3675
- imports: [i4.CommonModule],
4099
+ imports: [i1.CommonModule],
3676
4100
  exports: [AXPopoverComponent],
3677
4101
  providers: []
3678
4102
  }]
3679
4103
  }] });
3680
4104
 
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 = [];
3690
- return _this;
4105
+ var AXInputMaskComponent = /** @class */ (function () {
4106
+ function AXInputMaskComponent() {
4107
+ this.showMaskTyped = false;
4108
+ this.clearIfNotMatch = false;
3691
4109
  }
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
- });
3700
- };
3701
- AXBaseDropDownComponent.prototype._emitOnClosedEvent = function () {
3702
- this.onClosed.emit({
3703
- component: this,
3704
- htmlElement: this._getHostElement()
3705
- });
3706
- };
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;
3712
- }
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);
3738
- };
3739
- AXBaseDropDownComponent.prototype.toggle = function () {
3740
- if (this.disabled !== true) {
3741
- this.popover.toggle();
3742
- }
3743
- };
3744
- AXBaseDropDownComponent.prototype.close = function () {
3745
- if (!this.isOpen || this.disabled) {
3746
- return;
3747
- }
3748
- this.popover.close();
3749
- this._emitOnClosedEvent();
3750
- };
3751
- AXBaseDropDownComponent.prototype.open = function () {
3752
- if (this.isOpen || this.disabled) {
3753
- return;
3754
- }
3755
- this.popover.open();
3756
- this._emitOnOpenedEvent();
3757
- };
3758
- Object.defineProperty(AXBaseDropDownComponent.prototype, "isOpen", {
4110
+ Object.defineProperty(AXInputMaskComponent.prototype, "prefix", {
3759
4111
  get: function () {
3760
- return this.popover.isOpen;
4112
+ return this._prefix || '';
4113
+ },
4114
+ set: function (v) {
4115
+ this._prefix = v;
3761
4116
  },
3762
4117
  enumerable: false,
3763
4118
  configurable: true
3764
4119
  });
3765
- return AXBaseDropDownComponent;
3766
- }(AXBaseDropdownMixin));
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
- AXBaseDropDownComponent.ɵprov = 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 });
3797
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXDropdownComponent, decorators: [{
4120
+ Object.defineProperty(AXInputMaskComponent.prototype, "suffix", {
4121
+ get: function () {
4122
+ return this._suffix || '';
4123
+ },
4124
+ set: function (v) {
4125
+ this._suffix = v;
4126
+ },
4127
+ enumerable: false,
4128
+ configurable: true
4129
+ });
4130
+ return AXInputMaskComponent;
4131
+ }());
4132
+ AXInputMaskComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXInputMaskComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
4133
+ AXInputMaskComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: AXInputMaskComponent, selector: "ax-input-mask", inputs: { prefix: "prefix", suffix: "suffix", showMaskTyped: "showMaskTyped", clearIfNotMatch: "clearIfNotMatch", mask: "mask" }, ngImport: i0__namespace, template: '', isInline: true, changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush, encapsulation: i0__namespace.ViewEncapsulation.None });
4134
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXInputMaskComponent, decorators: [{
3798
4135
  type: i0.Component,
3799
4136
  args: [{
3800
- selector: 'ax-drop-down',
3801
- templateUrl: 'dropdown.component.html',
3802
- inputs: ['disabled', 'tabIndex', 'size', 'fitParent'],
4137
+ selector: 'ax-input-mask',
4138
+ template: '',
4139
+ changeDetection: i0.ChangeDetectionStrategy.OnPush,
3803
4140
  encapsulation: i0.ViewEncapsulation.None,
3804
- changeDetection: i0.ChangeDetectionStrategy.OnPush
3805
4141
  }]
3806
- }], ctorParameters: function () { return [{ type: i0__namespace.ElementRef }, { type: i0__namespace.ChangeDetectorRef }]; }, propDecorators: { popover: [{
3807
- type: i0.ViewChild,
3808
- args: [AXPopoverComponent]
4142
+ }], propDecorators: { prefix: [{
4143
+ type: i0.Input
4144
+ }], suffix: [{
4145
+ type: i0.Input
4146
+ }], showMaskTyped: [{
4147
+ type: i0.Input
4148
+ }], clearIfNotMatch: [{
4149
+ type: i0.Input
4150
+ }], mask: [{
4151
+ type: i0.Input
3809
4152
  }] } });
3810
4153
 
3811
- var AXDatepickerComponent = /** @class */ (function (_super) {
3812
- __extends(AXDatepickerComponent, _super);
3813
- function AXDatepickerComponent(elementRef, cdr) {
3814
- var _this = _super.call(this, elementRef, cdr) || this;
3815
- _this.dayItems = new Array(32);
3816
- _this.yearItems = [1990];
3817
- _this.monthItems = [
3818
- 'January',
3819
- 'February',
3820
- 'March',
3821
- 'April',
3822
- 'May',
3823
- 'June',
3824
- 'July',
3825
- 'August',
3826
- 'September',
3827
- 'October',
3828
- 'November',
3829
- 'December',
3830
- ];
3831
- _this._showDays = true;
3832
- _this._showsMonths = false;
3833
- _this._showYears = false;
3834
- _this.createYears();
3835
- return _this;
4154
+ var COMPONENT$e = [AXInputMaskComponent];
4155
+ var MODULES$e = [i1.CommonModule, i1$3.NgxMaskModule.forRoot()];
4156
+ var AXInputMaskModule = /** @class */ (function () {
4157
+ function AXInputMaskModule() {
3836
4158
  }
3837
- AXDatepickerComponent.prototype.showMonths = function () {
3838
- this._showDays = false;
3839
- this._showYears = false;
3840
- this._showsMonths = true;
3841
- };
3842
- AXDatepickerComponent.prototype.showYears = function () {
3843
- this._showsMonths = false;
3844
- this._showDays = false;
3845
- this._showYears = true;
3846
- };
3847
- AXDatepickerComponent.prototype.showDays = function () {
3848
- this._showYears = false;
3849
- this._showsMonths = false;
3850
- this._showDays = true;
3851
- };
3852
- AXDatepickerComponent.prototype.createYears = function () {
3853
- var number = 1990;
3854
- for (var i = 0; i < 40; i++) {
3855
- number = number + 1;
3856
- this.yearItems.push(number);
3857
- }
3858
- };
3859
- return AXDatepickerComponent;
3860
- }(AXBaseTextBoxMixin));
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 });
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 });
3863
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXDatepickerComponent, decorators: [{
3864
- type: i0.Component,
4159
+ return AXInputMaskModule;
4160
+ }());
4161
+ AXInputMaskModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXInputMaskModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
4162
+ 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$2.NgxMaskModule], exports: [AXInputMaskComponent] });
4163
+ AXInputMaskModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXInputMaskModule, providers: [], imports: [__spreadArray([], __read(MODULES$e))] });
4164
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXInputMaskModule, decorators: [{
4165
+ type: i0.NgModule,
3865
4166
  args: [{
3866
- selector: 'ax-date-picker',
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)),
3881
- changeDetection: i0.ChangeDetectionStrategy.OnPush,
3882
- encapsulation: i0.ViewEncapsulation.None,
4167
+ declarations: __spreadArray([], __read(COMPONENT$e)),
4168
+ imports: __spreadArray([], __read(MODULES$e)),
4169
+ exports: __spreadArray([], __read(COMPONENT$e)),
4170
+ providers: [],
3883
4171
  }]
3884
- }], ctorParameters: function () { return [{ type: i0__namespace.ElementRef }, { type: i0__namespace.ChangeDetectorRef }]; } });
4172
+ }] });
3885
4173
 
3886
- var AXDropdownPanelComponent = /** @class */ (function (_super) {
3887
- __extends(AXDropdownPanelComponent, _super);
3888
- function AXDropdownPanelComponent(elementRef, cdr, _parent) {
3889
- var _this = _super.call(this, elementRef, cdr) || this;
3890
- _this._parent = _parent;
3891
- _this.onItemClick = new i0.EventEmitter();
3892
- _this._needBorder = false;
3893
- _this._subs = [];
3894
- _this._target = _this._parent._getHostElement();
3895
- return _this;
4174
+ /**
4175
+ * The Textbox is a component which detects user interaction and triggers a corresponding event
4176
+ *
4177
+ * @category Components
4178
+ */
4179
+ var AXTextBoxComponent = /** @class */ (function (_super) {
4180
+ __extends(AXTextBoxComponent, _super);
4181
+ /**
4182
+ * @ignore
4183
+ */
4184
+ function AXTextBoxComponent(elementRef, cdr) {
4185
+ return _super.call(this, elementRef, cdr) || this;
3896
4186
  }
3897
- Object.defineProperty(AXDropdownPanelComponent.prototype, "items", {
4187
+ Object.defineProperty(AXTextBoxComponent.prototype, "hostClass", {
4188
+ //TODO: prefix suffix text
3898
4189
  get: function () {
3899
- return this._items || [];
3900
- },
3901
- set: function (v) {
3902
- this._items = v;
3903
- this._cdr.markForCheck();
4190
+ return this.cssClass + " ax-" + this.size;
3904
4191
  },
3905
4192
  enumerable: false,
3906
4193
  configurable: true
3907
4194
  });
3908
- AXDropdownPanelComponent.prototype._getAllButtons = function () {
3909
- return __spreadArray(__spreadArray([], __read(Array.from(this._viewButtons))), __read(Array.from(this._contentButtons)));
3910
- };
3911
- AXDropdownPanelComponent.prototype.onViewInit = function () {
3912
- var _this = this;
3913
- _super.prototype.onViewInit.call(this);
3914
- this._getAllButtons().forEach(function (c) {
3915
- _this._needBorder = true;
3916
- _this._subs.push(c.onClick.subscribe(_this._handleOnItemClick.bind(_this)));
3917
- _this._cdr.markForCheck();
3918
- });
3919
- };
3920
- AXDropdownPanelComponent.prototype.onDestroy = function () {
3921
- this._subs.forEach(function (s) {
3922
- s === null || s === void 0 ? void 0 : s.unsubscribe();
3923
- });
3924
- };
3925
- AXDropdownPanelComponent.prototype._emitOnItemClickEvent = function (e, item) {
3926
- this.onItemClick.emit({
3927
- component: this,
3928
- htmlElement: this._getHostElement(),
3929
- nativeEvent: e.nativeEvent,
3930
- name: item.name,
3931
- data: item.data,
3932
- });
3933
- };
3934
- AXDropdownPanelComponent.prototype._handleOnItemClick = function (e) {
3935
- this.close();
3936
- this._emitOnItemClickEvent(e, e.component);
3937
- };
3938
- return AXDropdownPanelComponent;
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 });
3942
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXDropdownPanelComponent, decorators: [{
4195
+ return AXTextBoxComponent;
4196
+ }(AXBaseTextBoxMixin));
4197
+ 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 });
4198
+ 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: i1__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush, encapsulation: i0__namespace.ViewEncapsulation.None });
4199
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXTextBoxComponent, decorators: [{
3943
4200
  type: i0.Component,
3944
4201
  args: [{
3945
- selector: 'ax-dropdown-panel',
3946
- templateUrl: './dropdown-panel.component.html',
3947
- changeDetection: i0.ChangeDetectionStrategy.OnPush,
4202
+ selector: 'ax-text-box',
4203
+ templateUrl: 'textbox.component.html',
4204
+ inputs: __spreadArray([
4205
+ 'disabled',
4206
+ 'readonly',
4207
+ 'tabIndex',
4208
+ 'cssClass',
4209
+ 'size'
4210
+ ], __read(TEXTBOX_INPUTS)),
4211
+ outputs: __spreadArray([
4212
+ 'valueChange',
4213
+ 'onValueChanged',
4214
+ 'onBlur',
4215
+ 'onFocus'
4216
+ ], __read(TEXTBOX_OUTPUT)),
3948
4217
  encapsulation: i0.ViewEncapsulation.None,
4218
+ changeDetection: i0.ChangeDetectionStrategy.OnPush,
4219
+ host: { class: 'ax-text-box ax-editor-container' },
3949
4220
  }]
3950
- }], ctorParameters: function () {
3951
- return [{ type: i0__namespace.ElementRef }, { type: i0__namespace.ChangeDetectorRef }, { type: AXButtonComponent, decorators: [{
3952
- type: i0.Optional
3953
- }] }];
3954
- }, propDecorators: { _contentButtons: [{
3955
- type: i0.ContentChildren,
3956
- args: [AXButtonItemComponent]
3957
- }], _viewButtons: [{
3958
- type: i0.ViewChildren,
3959
- args: [AXButtonItemComponent]
3960
- }], onItemClick: [{
3961
- type: i0.Output
3962
- }], popover: [{
3963
- type: i0.ViewChild,
3964
- args: [AXPopoverComponent]
3965
- }], items: [{
3966
- type: i0.Input
4221
+ }], ctorParameters: function () { return [{ type: i0__namespace.ElementRef }, { type: i0__namespace.ChangeDetectorRef }]; }, propDecorators: { _contentMask: [{
4222
+ type: i0.ContentChild,
4223
+ args: [AXInputMaskComponent]
4224
+ }], hostClass: [{
4225
+ type: i0.HostBinding,
4226
+ args: ['class']
3967
4227
  }] } });
3968
4228
 
3969
- var AXDropdownModule = /** @class */ (function () {
3970
- function AXDropdownModule() {
4229
+ var AXTextBoxModule = /** @class */ (function () {
4230
+ function AXTextBoxModule() {
3971
4231
  }
3972
- return AXDropdownModule;
4232
+ return AXTextBoxModule;
3973
4233
  }());
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 });
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]] });
3977
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXDropdownModule, decorators: [{
4234
+ AXTextBoxModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXTextBoxModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
4235
+ AXTextBoxModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXTextBoxModule, declarations: [AXTextBoxComponent], imports: [i1.CommonModule,
4236
+ i3.FormsModule,
4237
+ AXButtonModule,
4238
+ AXEditorDecoratorModule,
4239
+ AXIconModule, i1__namespace$2.NgxMaskModule], exports: [AXTextBoxComponent] });
4240
+ AXTextBoxModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXTextBoxModule, providers: [], imports: [[
4241
+ i1.CommonModule,
4242
+ i3.FormsModule,
4243
+ AXButtonModule,
4244
+ AXEditorDecoratorModule,
4245
+ AXIconModule,
4246
+ i1$3.NgxMaskModule.forChild()
4247
+ ]] });
4248
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXTextBoxModule, decorators: [{
3978
4249
  type: i0.NgModule,
3979
4250
  args: [{
3980
- imports: [i4.CommonModule, AXButtonModule, i1$1.OverlayModule, AXIconModule, AXEditorDecoratorModule, AXPopoverModule],
3981
- exports: [AXDropdownComponent, AXDropdownPanelComponent],
3982
- declarations: [AXDropdownComponent, AXDropdownPanelComponent],
4251
+ imports: [
4252
+ i1.CommonModule,
4253
+ i3.FormsModule,
4254
+ AXButtonModule,
4255
+ AXEditorDecoratorModule,
4256
+ AXIconModule,
4257
+ i1$3.NgxMaskModule.forChild()
4258
+ ],
4259
+ exports: [AXTextBoxComponent],
4260
+ declarations: [AXTextBoxComponent],
3983
4261
  providers: [],
3984
4262
  }]
3985
4263
  }] });
3986
4264
 
3987
- var COMPONENT$e = [AXDatepickerComponent];
3988
- var MODULES$e = [i4.CommonModule, AXCalendarModule, AXDropdownModule];
4265
+ var COMPONENT$d = [AXDatePickerComponent];
4266
+ var MODULES$d = [
4267
+ i1.CommonModule,
4268
+ AXCalendarModule,
4269
+ AXTextBoxModule,
4270
+ AXButtonModule,
4271
+ AXPopoverModule,
4272
+ AXEditorDecoratorModule,
4273
+ AXIconModule,
4274
+ i2.AXDateTimeModule,
4275
+ i3.FormsModule
4276
+ ];
3989
4277
  var AXDatepickerModule = /** @class */ (function () {
3990
4278
  function AXDatepickerModule() {
3991
4279
  }
3992
4280
  return AXDatepickerModule;
3993
4281
  }());
3994
4282
  AXDatepickerModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXDatepickerModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
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))] });
4283
+ AXDatepickerModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXDatepickerModule, declarations: [AXDatePickerComponent], imports: [i1.CommonModule,
4284
+ AXCalendarModule,
4285
+ AXTextBoxModule,
4286
+ AXButtonModule,
4287
+ AXPopoverModule,
4288
+ AXEditorDecoratorModule,
4289
+ AXIconModule,
4290
+ i2.AXDateTimeModule,
4291
+ i3.FormsModule], exports: [AXDatePickerComponent] });
4292
+ AXDatepickerModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXDatepickerModule, providers: [], imports: [__spreadArray([], __read(MODULES$d))] });
3997
4293
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXDatepickerModule, decorators: [{
3998
4294
  type: i0.NgModule,
3999
4295
  args: [{
4000
- declarations: __spreadArray([], __read(COMPONENT$e)),
4001
- imports: __spreadArray([], __read(MODULES$e)),
4002
- exports: __spreadArray([], __read(COMPONENT$e)),
4296
+ declarations: __spreadArray([], __read(COMPONENT$d)),
4297
+ imports: __spreadArray([], __read(MODULES$d)),
4298
+ exports: __spreadArray([], __read(COMPONENT$d)),
4003
4299
  providers: [],
4004
4300
  }]
4005
4301
  }] });
@@ -4033,7 +4329,7 @@
4033
4329
  return AXDialogComponent;
4034
4330
  }(AXBaseComponentMixin));
4035
4331
  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 });
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 });
4332
+ AXDialogComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: AXDialogComponent, selector: "ax-dialog", usesInheritance: true, ngImport: i0__namespace, template: "<div class=\"ax-popup-wrapper\" aria-modal=\"true\" cdkTrapFocus>\r\n <div class=\"ax-dialog ax-{{options.type}}\" tabindex=\"0\" cdkDrag role=\"alert\" cdkDragHandle>\r\n <div class=\"ax-dialog-icon-side\">\r\n <i class=\"ax-dialog-icon {{_icon}}\"></i>\r\n </div>\r\n <div class=\"ax-dialog-content-side\">\r\n <div class=\"ax-dialog-title\">{{options.title}}</div>\r\n <div class=\"ax-dialog-content\">{{options.content}}</div>\r\n </div>\r\n <div class=\"ax-dialog-dismiss-icon\">\r\n <i class=\"ax-ic ax-ic-close\" *ngIf=\"options.dismissible\" (click)=\"close()\"></i>\r\n </div>\r\n <footer class=\"ax-dialog-footer\">\r\n <ng-container *ngFor=\"let button of options.buttons\">\r\n <ax-button [text]=\"button.text\" [submitBehavior]=\"button.submitBehavior\" [cancelBehavior]=\"button.cancelBehavior\" (onClick)=\"_handleButtonClick(button)\" [class]=\"button.cssClass\" [look]=\"button.look\" [color]=\"button.color\"></ax-button>\r\n <div class=\"ax-ml-2\"></div>\r\n </ng-container>\r\n </footer>\r\n </div>\r\n\r\n</div>", components: [{ type: AXButtonComponent, selector: "ax-button", inputs: ["disabled", "tabIndex", "size", "text", "submitBehavior", "cancelBehavior", "color", "look", "toggleable", "selected"], outputs: ["onBlur", "onFocus", "onClick", "selectedChange", "toggleableChange"] }], directives: [{ type: i2__namespace$1.CdkTrapFocus, selector: "[cdkTrapFocus]", inputs: ["cdkTrapFocus", "cdkTrapFocusAutoCapture"], exportAs: ["cdkTrapFocus"] }, { type: i3__namespace$1.CdkDrag, selector: "[cdkDrag]", inputs: ["cdkDragDisabled", "cdkDragStartDelay", "cdkDragLockAxis", "cdkDragConstrainPosition", "cdkDragPreviewClass", "cdkDragBoundary", "cdkDragRootElement", "cdkDragPreviewContainer", "cdkDragData", "cdkDragFreeDragPosition"], outputs: ["cdkDragStarted", "cdkDragReleased", "cdkDragEnded", "cdkDragEntered", "cdkDragExited", "cdkDragDropped", "cdkDragMoved"], exportAs: ["cdkDrag"] }, { type: i3__namespace$1.CdkDragHandle, selector: "[cdkDragHandle]", inputs: ["cdkDragHandleDisabled"] }, { type: i1__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1__namespace.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }], changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush, encapsulation: i0__namespace.ViewEncapsulation.None });
4037
4333
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXDialogComponent, decorators: [{
4038
4334
  type: i0.Component,
4039
4335
  args: [{
@@ -4162,7 +4458,7 @@
4162
4458
  scrollStrategy: this.sso.block(),
4163
4459
  panelClass: ['ax-animate-fadeIn', 'ax-animate-faster'],
4164
4460
  });
4165
- var dialogPortal = new i1.ComponentPortal(AXDialogComponent, null, this.parentInjector);
4461
+ var dialogPortal = new i1$1.ComponentPortal(AXDialogComponent, null, this.parentInjector);
4166
4462
  var host = overlayRef.attach(dialogPortal);
4167
4463
  if (host.instance) {
4168
4464
  Object.assign(host.instance, {
@@ -4183,12 +4479,12 @@
4183
4479
  };
4184
4480
  return AXDialogService;
4185
4481
  }());
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 });
4482
+ 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 }, { token: i1__namespace$1.ScrollStrategyOptions }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
4187
4483
  AXDialogService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXDialogService, providedIn: 'root' });
4188
4484
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXDialogService, decorators: [{
4189
4485
  type: i0.Injectable,
4190
4486
  args: [{ providedIn: 'root' }]
4191
- }], ctorParameters: function () { return [{ type: i1__namespace.Overlay }, { type: i0__namespace.Injector }, { type: i1__namespace.ScrollStrategyOptions }]; } });
4487
+ }], ctorParameters: function () { return [{ type: i1__namespace$1.Overlay }, { type: i0__namespace.Injector }, { type: i1__namespace$1.ScrollStrategyOptions }]; } });
4192
4488
 
4193
4489
  var AXLoadingComponent = /** @class */ (function (_super) {
4194
4490
  __extends(AXLoadingComponent, _super);
@@ -4217,13 +4513,13 @@
4217
4513
  });
4218
4514
  AXLoadingComponent.prototype.onInit = function () {
4219
4515
  var loading = i2.AXConfig.get("layout.loading." + this.type);
4220
- this._selectedPortal = new i1.ComponentPortal(loading);
4516
+ this._selectedPortal = new i1$1.ComponentPortal(loading);
4221
4517
  this._cdr.markForCheck();
4222
4518
  };
4223
4519
  return AXLoadingComponent;
4224
4520
  }(AXBaseComponentMixin));
4225
4521
  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 });
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 });
4522
+ 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$3.CdkPortalOutlet, selector: "[cdkPortalOutlet]", inputs: ["cdkPortalOutlet"], outputs: ["attached"], exportAs: ["cdkPortalOutlet"] }], changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush, encapsulation: i0__namespace.ViewEncapsulation.None });
4227
4523
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXLoadingComponent, decorators: [{
4228
4524
  type: i0.Component,
4229
4525
  args: [{
@@ -4321,8 +4617,8 @@
4321
4617
  args: ['axIsLoading']
4322
4618
  }] } });
4323
4619
 
4324
- var COMPONENT$d = [AXLoadingComponent, AXLoadingDirective, AXLoadingSpinnerComponent];
4325
- var MODULES$d = [i4.CommonModule, i1$1.OverlayModule, i1.PortalModule];
4620
+ var COMPONENT$c = [AXLoadingComponent, AXLoadingDirective, AXLoadingSpinnerComponent];
4621
+ var MODULES$c = [i1.CommonModule, i1$2.OverlayModule, i1$1.PortalModule];
4326
4622
  var AXLoadingModule = /** @class */ (function () {
4327
4623
  function AXLoadingModule() {
4328
4624
  i2.AXConfig.set({
@@ -4336,14 +4632,14 @@
4336
4632
  return AXLoadingModule;
4337
4633
  }());
4338
4634
  AXLoadingModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXLoadingModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
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))] });
4635
+ 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] });
4636
+ AXLoadingModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXLoadingModule, providers: [], imports: [__spreadArray([], __read(MODULES$c))] });
4341
4637
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXLoadingModule, decorators: [{
4342
4638
  type: i0.NgModule,
4343
4639
  args: [{
4344
- declarations: __spreadArray([], __read(COMPONENT$d)),
4345
- imports: __spreadArray([], __read(MODULES$d)),
4346
- exports: __spreadArray([], __read(COMPONENT$d)),
4640
+ declarations: __spreadArray([], __read(COMPONENT$c)),
4641
+ imports: __spreadArray([], __read(MODULES$c)),
4642
+ exports: __spreadArray([], __read(COMPONENT$c)),
4347
4643
  providers: [],
4348
4644
  }]
4349
4645
  }], ctorParameters: function () { return []; } });
@@ -4357,7 +4653,7 @@
4357
4653
  this._containerElement = containerElement;
4358
4654
  };
4359
4655
  return DynamicOverlayContainer;
4360
- }(i1$1.OverlayContainer));
4656
+ }(i1$2.OverlayContainer));
4361
4657
  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 });
4362
4658
  DynamicOverlayContainer.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: DynamicOverlayContainer, providedIn: 'root' });
4363
4659
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: DynamicOverlayContainer, decorators: [{
@@ -4383,8 +4679,8 @@
4383
4679
  return _super.prototype.create.call(this, config);
4384
4680
  };
4385
4681
  return DynamicOverlay;
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 });
4682
+ }(i1$2.Overlay));
4683
+ 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 });
4388
4684
  DynamicOverlay.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: DynamicOverlay, providedIn: 'root' });
4389
4685
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: DynamicOverlay, decorators: [{
4390
4686
  type: i0.Injectable,
@@ -4392,10 +4688,10 @@
4392
4688
  providedIn: 'root'
4393
4689
  }]
4394
4690
  }], ctorParameters: function () {
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: [{
4691
+ 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: [{
4396
4692
  type: i0.Inject,
4397
- args: [i4.DOCUMENT]
4398
- }] }, { type: i2__namespace$2.Directionality }, { type: i0__namespace.RendererFactory2 }, { type: i4__namespace.Location }, { type: i1__namespace.OverlayOutsideClickDispatcher }];
4693
+ args: [i1.DOCUMENT]
4694
+ }] }, { type: i2__namespace$2.Directionality }, { type: i0__namespace.RendererFactory2 }, { type: i1__namespace.Location }, { type: i1__namespace$1.OverlayOutsideClickDispatcher }];
4399
4695
  } });
4400
4696
 
4401
4697
  var AXOverlayService = /** @class */ (function () {
@@ -4419,10 +4715,10 @@
4419
4715
  }
4420
4716
  // create portal from component
4421
4717
  else if (content instanceof i0.TemplateRef) {
4422
- portal = new i1.TemplatePortal(content, viewRef, context);
4718
+ portal = new i1$1.TemplatePortal(content, viewRef, context);
4423
4719
  }
4424
4720
  else if (typeof content === 'function') {
4425
- portal = new i1.ComponentPortal(content, viewRef);
4721
+ portal = new i1$1.ComponentPortal(content, viewRef);
4426
4722
  }
4427
4723
  var positionStrategy;
4428
4724
  if (configs.position && configs.targetElement) {
@@ -4477,12 +4773,12 @@
4477
4773
  };
4478
4774
  return AXOverlayService;
4479
4775
  }());
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 });
4776
+ 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 });
4481
4777
  AXOverlayService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXOverlayService, providedIn: 'root' });
4482
4778
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXOverlayService, decorators: [{
4483
4779
  type: i0.Injectable,
4484
4780
  args: [{ providedIn: 'root' }]
4485
- }], ctorParameters: function () { return [{ type: DynamicOverlay }, { type: i1__namespace.Overlay }, { type: i0__namespace.ApplicationRef }]; } });
4781
+ }], ctorParameters: function () { return [{ type: DynamicOverlay }, { type: i1__namespace$1.Overlay }, { type: i0__namespace.ApplicationRef }]; } });
4486
4782
 
4487
4783
  var DEFAULT_LOADER_ID = '_DEFAULT';
4488
4784
  /**
@@ -4679,12 +4975,12 @@
4679
4975
  return AXPageFooterComponent;
4680
4976
  }());
4681
4977
  AXPageFooterComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXPageFooterComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
4682
- AXPageFooterComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: AXPageFooterComponent, selector: "ax-page-footer", viewQueries: [{ propertyName: "template", first: true, predicate: i0.TemplateRef, descendants: true, static: true }], ngImport: i0__namespace, template: "\n <ng-template>\n <ng-content select=\"ax-prefix\">\n </ng-content>\n <ng-content select=\"ax-suffix\">\n </ng-content>\n </ng-template>\n ", isInline: true, changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush });
4978
+ AXPageFooterComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: AXPageFooterComponent, selector: "ax-page-footer", viewQueries: [{ propertyName: "template", first: true, predicate: i0.TemplateRef, descendants: true, static: true }], ngImport: i0__namespace, template: "\n <ng-content select=\"ax-prefix\">\n </ng-content>\n <ng-content select=\"ax-suffix\">\n </ng-content>\n ", isInline: true, changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush });
4683
4979
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXPageFooterComponent, decorators: [{
4684
4980
  type: i0.Component,
4685
4981
  args: [{
4686
4982
  selector: 'ax-page-footer',
4687
- template: "\n <ng-template>\n <ng-content select=\"ax-prefix\">\n </ng-content>\n <ng-content select=\"ax-suffix\">\n </ng-content>\n </ng-template>\n ",
4983
+ template: "\n <ng-content select=\"ax-prefix\">\n </ng-content>\n <ng-content select=\"ax-suffix\">\n </ng-content>\n ",
4688
4984
  changeDetection: i0.ChangeDetectionStrategy.OnPush
4689
4985
  }]
4690
4986
  }], propDecorators: { template: [{
@@ -4736,6 +5032,7 @@
4736
5032
  return this._isLoading;
4737
5033
  },
4738
5034
  set: function (v) {
5035
+ ;
4739
5036
  this._isLoading = v;
4740
5037
  if (this.pageContainer) {
4741
5038
  this.pageContainer.isLoading = this.isLoading;
@@ -4787,22 +5084,22 @@
4787
5084
  }]
4788
5085
  }] });
4789
5086
 
4790
- var COMPONENT$c = [AXDialogComponent];
4791
- var MODULES$c = [i4.CommonModule, i3$1.DragDropModule, i2$1.A11yModule, AXButtonModule, AXPageModule, AXEditorDecoratorModule];
5087
+ var COMPONENT$b = [AXDialogComponent];
5088
+ var MODULES$b = [i1.CommonModule, i3$1.DragDropModule, i2$1.A11yModule, AXButtonModule, AXPageModule, AXEditorDecoratorModule];
4792
5089
  var AXDialogModule = /** @class */ (function () {
4793
5090
  function AXDialogModule() {
4794
5091
  }
4795
5092
  return AXDialogModule;
4796
5093
  }());
4797
5094
  AXDialogModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXDialogModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
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))] });
5095
+ 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] });
5096
+ AXDialogModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXDialogModule, providers: [], imports: [__spreadArray([], __read(MODULES$b))] });
4800
5097
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXDialogModule, decorators: [{
4801
5098
  type: i0.NgModule,
4802
5099
  args: [{
4803
- declarations: __spreadArray([], __read(COMPONENT$c)),
4804
- imports: __spreadArray([], __read(MODULES$c)),
4805
- exports: __spreadArray([], __read(COMPONENT$c)),
5100
+ declarations: __spreadArray([], __read(COMPONENT$b)),
5101
+ imports: __spreadArray([], __read(MODULES$b)),
5102
+ exports: __spreadArray([], __read(COMPONENT$b)),
4806
5103
  providers: [],
4807
5104
  }]
4808
5105
  }] });
@@ -5032,237 +5329,154 @@
5032
5329
  }]
5033
5330
  }], ctorParameters: function () { return [{ type: i0__namespace.ElementRef }, { type: i0__namespace.ChangeDetectorRef }]; } });
5034
5331
 
5035
- var COMPONENT$b = [AXDrawerComponent, AXDrawerContainerComponent, AXDrawerContentComponent];
5036
- var MODULES$b = [i4.CommonModule];
5332
+ var COMPONENT$a = [AXDrawerComponent, AXDrawerContainerComponent, AXDrawerContentComponent];
5333
+ var MODULES$a = [i1.CommonModule];
5037
5334
  var AXDrawerModule = /** @class */ (function () {
5038
5335
  function AXDrawerModule() {
5039
5336
  }
5040
5337
  return AXDrawerModule;
5041
5338
  }());
5042
5339
  AXDrawerModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXDrawerModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
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))] });
5340
+ 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] });
5341
+ AXDrawerModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXDrawerModule, providers: [], imports: [__spreadArray([], __read(MODULES$a))] });
5045
5342
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXDrawerModule, decorators: [{
5046
5343
  type: i0.NgModule,
5047
5344
  args: [{
5048
- declarations: __spreadArray([], __read(COMPONENT$b)),
5049
- imports: __spreadArray([], __read(MODULES$b)),
5050
- exports: __spreadArray([], __read(COMPONENT$b)),
5345
+ declarations: __spreadArray([], __read(COMPONENT$a)),
5346
+ imports: __spreadArray([], __read(MODULES$a)),
5347
+ exports: __spreadArray([], __read(COMPONENT$a)),
5051
5348
  providers: [],
5052
5349
  }]
5053
5350
  }] });
5054
5351
 
5055
- var AXFormFieldComponent = /** @class */ (function (_super) {
5056
- __extends(AXFormFieldComponent, _super);
5057
- function AXFormFieldComponent(elementRef, cdr) {
5058
- return _super.call(this, elementRef, cdr) || this;
5059
- }
5060
- return AXFormFieldComponent;
5061
- }(AXBaseComponentMixin));
5062
- AXFormFieldComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXFormFieldComponent, deps: [{ token: i0__namespace.ElementRef }, { token: i0__namespace.ChangeDetectorRef }], target: i0__namespace.ɵɵFactoryTarget.Component });
5063
- AXFormFieldComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: AXFormFieldComponent, selector: "ax-form-field", usesInheritance: true, ngImport: i0__namespace, template: '<div class="ax-form-field"><ng-content></ng-content></div>', isInline: true, changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush, encapsulation: i0__namespace.ViewEncapsulation.None });
5064
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXFormFieldComponent, decorators: [{
5065
- type: i0.Component,
5066
- args: [{
5067
- selector: 'ax-form-field',
5068
- template: '<div class="ax-form-field"><ng-content></ng-content></div>',
5069
- encapsulation: i0.ViewEncapsulation.None,
5070
- changeDetection: i0.ChangeDetectionStrategy.OnPush,
5071
- }]
5072
- }], ctorParameters: function () { return [{ type: i0__namespace.ElementRef }, { type: i0__namespace.ChangeDetectorRef }]; } });
5073
-
5074
- var AXFormHintComponent = /** @class */ (function (_super) {
5075
- __extends(AXFormHintComponent, _super);
5076
- function AXFormHintComponent(elementRef, cdr) {
5077
- return _super.call(this, elementRef, cdr) || this;
5078
- }
5079
- return AXFormHintComponent;
5080
- }(AXBaseComponentMixin));
5081
- AXFormHintComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXFormHintComponent, deps: [{ token: i0__namespace.ElementRef }, { token: i0__namespace.ChangeDetectorRef }], target: i0__namespace.ɵɵFactoryTarget.Component });
5082
- AXFormHintComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: AXFormHintComponent, selector: "ax-form-hint", usesInheritance: true, ngImport: i0__namespace, template: ' <p class="ax-text-gray-400 ax-text-xs ax-py-1"><ng-content></ng-content></p>', isInline: true, changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush, encapsulation: i0__namespace.ViewEncapsulation.None });
5083
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXFormHintComponent, decorators: [{
5084
- type: i0.Component,
5085
- args: [{
5086
- selector: 'ax-form-hint',
5087
- template: ' <p class="ax-text-gray-400 ax-text-xs ax-py-1"><ng-content></ng-content></p>',
5088
- encapsulation: i0.ViewEncapsulation.None,
5089
- changeDetection: i0.ChangeDetectionStrategy.OnPush,
5090
- }]
5091
- }], ctorParameters: function () { return [{ type: i0__namespace.ElementRef }, { type: i0__namespace.ChangeDetectorRef }]; } });
5092
-
5093
- var AXFormComponent = /** @class */ (function (_super) {
5094
- __extends(AXFormComponent, _super);
5095
- function AXFormComponent(elementRef, cdr) {
5096
- var _this = _super.call(this, elementRef, cdr) || this;
5097
- _this.cdr = cdr;
5352
+ var AXDropdownComponent = /** @class */ (function (_super) {
5353
+ __extends(AXDropdownComponent, _super);
5354
+ function AXDropdownComponent(_elementRef, _cdr) {
5355
+ var _this = _super.call(this, _elementRef, _cdr) || this;
5356
+ _this._target = _this;
5098
5357
  return _this;
5099
5358
  }
5100
- AXFormComponent.prototype._getComponenets = function () {
5101
- return Array.from(this._getHostElement().querySelectorAll('[ax-form-input="true"]'));
5102
- };
5103
- AXFormComponent.prototype.validate = function () {
5104
- var widgets = this._getComponenets();
5105
- //
5106
- return new Promise(function (resolve, reject) {
5107
- if (widgets.length === 0) {
5108
- return Promise.resolve({ result: true });
5109
- }
5110
- Promise.all(widgets.map(function (c) { return c.__axContext__.validate(); })).then(function (rules) {
5111
- var failed = rules.filter(function (c) { return !c.result; });
5112
- if (failed.length) {
5113
- reject({
5114
- result: false,
5115
- items: failed
5116
- });
5117
- }
5118
- else {
5119
- resolve({ result: true });
5120
- }
5121
- });
5122
- });
5123
- };
5124
- AXFormComponent.prototype.clear = function () {
5125
- var widgets = this._getComponenets();
5126
- widgets.forEach(function (w) {
5127
- w.__axContext__.clear();
5128
- });
5359
+ AXDropdownComponent.prototype._handleArrowClickEvent = function () {
5360
+ this.toggle();
5129
5361
  };
5130
- return AXFormComponent;
5131
- }(AXBaseComponentMixin));
5132
- AXFormComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXFormComponent, deps: [{ token: i0__namespace.ElementRef }, { token: i0__namespace.ChangeDetectorRef }], target: i0__namespace.ɵɵFactoryTarget.Component });
5133
- AXFormComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: AXFormComponent, selector: "ax-form", usesInheritance: true, ngImport: i0__namespace, template: '<div class="ax-form"><ng-content></ng-content></div>', isInline: true, changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush, encapsulation: i0__namespace.ViewEncapsulation.None });
5134
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXFormComponent, decorators: [{
5362
+ return AXDropdownComponent;
5363
+ }(AXBaseDropdownMixin));
5364
+ 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 });
5365
+ AXDropdownComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: AXDropdownComponent, selector: "ax-drop-down", inputs: { isOpen: "isOpen", fitParent: "fitParent", dropdownWidth: "dropdownWidth", position: "position", disabled: "disabled", tabIndex: "tabIndex" }, outputs: { onOpened: "onOpened", onClosed: "onClosed", onBlur: "onBlur", onFocus: "onFocus" }, 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 });
5366
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXDropdownComponent, decorators: [{
5135
5367
  type: i0.Component,
5136
5368
  args: [{
5137
- selector: 'ax-form',
5138
- template: '<div class="ax-form"><ng-content></ng-content></div>',
5369
+ selector: 'ax-drop-down',
5370
+ templateUrl: './dropdown.component.html',
5371
+ inputs: __spreadArray(__spreadArray([], __read(DROPDOWN_INPUTS)), __read(INTERACTIVE_INPUTS)),
5372
+ outputs: __spreadArray(__spreadArray([], __read(DROPDOWN_OUTPUT)), __read(INTERACTIVE_OUTPUT)),
5139
5373
  encapsulation: i0.ViewEncapsulation.None,
5140
- changeDetection: i0.ChangeDetectionStrategy.OnPush,
5141
- }]
5142
- }], ctorParameters: function () { return [{ type: i0__namespace.ElementRef }, { type: i0__namespace.ChangeDetectorRef }]; } });
5143
-
5144
- var AXFormModule = /** @class */ (function () {
5145
- function AXFormModule() {
5146
- }
5147
- return AXFormModule;
5148
- }());
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 });
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]] });
5152
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXFormModule, decorators: [{
5153
- type: i0.NgModule,
5154
- args: [{
5155
- imports: [i4.CommonModule],
5156
- exports: [AXFormFieldComponent, AXFormComponent, AXFormHintComponent],
5157
- declarations: [AXFormFieldComponent, AXFormComponent, AXFormHintComponent],
5158
- providers: [],
5374
+ changeDetection: i0.ChangeDetectionStrategy.OnPush
5159
5375
  }]
5160
- }] });
5376
+ }], ctorParameters: function () { return [{ type: i0__namespace.ElementRef }, { type: i0__namespace.ChangeDetectorRef }]; }, propDecorators: { popover: [{
5377
+ type: i0.ViewChild,
5378
+ args: [AXPopoverComponent]
5379
+ }] } });
5161
5380
 
5162
- var AXInputMaskComponent = /** @class */ (function () {
5163
- function AXInputMaskComponent() {
5164
- this.showMaskTyped = false;
5165
- this.clearIfNotMatch = false;
5381
+ var AXDropdownPanelComponent = /** @class */ (function (_super) {
5382
+ __extends(AXDropdownPanelComponent, _super);
5383
+ function AXDropdownPanelComponent(elementRef, cdr, _parent) {
5384
+ var _this = _super.call(this, elementRef, cdr) || this;
5385
+ _this._parent = _parent;
5386
+ _this.onItemClick = new i0.EventEmitter();
5387
+ _this._needBorder = false;
5388
+ _this._subs = [];
5389
+ _this._target = _this._parent._getHostElement();
5390
+ return _this;
5166
5391
  }
5167
- Object.defineProperty(AXInputMaskComponent.prototype, "prefix", {
5168
- get: function () {
5169
- return this._prefix || '';
5170
- },
5171
- set: function (v) {
5172
- this._prefix = v;
5173
- },
5174
- enumerable: false,
5175
- configurable: true
5176
- });
5177
- Object.defineProperty(AXInputMaskComponent.prototype, "suffix", {
5392
+ Object.defineProperty(AXDropdownPanelComponent.prototype, "items", {
5178
5393
  get: function () {
5179
- return this._suffix || '';
5394
+ return this._items || [];
5180
5395
  },
5181
5396
  set: function (v) {
5182
- this._suffix = v;
5397
+ this._items = v;
5398
+ this._cdr.markForCheck();
5183
5399
  },
5184
5400
  enumerable: false,
5185
5401
  configurable: true
5186
5402
  });
5187
- return AXInputMaskComponent;
5188
- }());
5189
- AXInputMaskComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXInputMaskComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
5190
- AXInputMaskComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: AXInputMaskComponent, selector: "ax-input-mask", inputs: { prefix: "prefix", suffix: "suffix", showMaskTyped: "showMaskTyped", clearIfNotMatch: "clearIfNotMatch", mask: "mask" }, ngImport: i0__namespace, template: '', isInline: true, changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush, encapsulation: i0__namespace.ViewEncapsulation.None });
5191
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXInputMaskComponent, decorators: [{
5403
+ AXDropdownPanelComponent.prototype._getAllButtons = function () {
5404
+ return __spreadArray(__spreadArray([], __read(Array.from(this._viewButtons))), __read(Array.from(this._contentButtons)));
5405
+ };
5406
+ AXDropdownPanelComponent.prototype.onViewInit = function () {
5407
+ var _this = this;
5408
+ _super.prototype.onViewInit.call(this);
5409
+ this._getAllButtons().forEach(function (c) {
5410
+ _this._needBorder = true;
5411
+ _this._subs.push(c.onClick.subscribe(_this._handleOnItemClick.bind(_this)));
5412
+ _this._cdr.markForCheck();
5413
+ });
5414
+ };
5415
+ AXDropdownPanelComponent.prototype.onDestroy = function () {
5416
+ this._subs.forEach(function (s) {
5417
+ s === null || s === void 0 ? void 0 : s.unsubscribe();
5418
+ });
5419
+ };
5420
+ AXDropdownPanelComponent.prototype._emitOnItemClickEvent = function (e, item) {
5421
+ this.onItemClick.emit({
5422
+ component: this,
5423
+ htmlElement: this._getHostElement(),
5424
+ nativeEvent: e.nativeEvent,
5425
+ name: item.name,
5426
+ data: item.data,
5427
+ });
5428
+ };
5429
+ AXDropdownPanelComponent.prototype._handleOnItemClick = function (e) {
5430
+ this.close();
5431
+ this._emitOnItemClickEvent(e, e.component);
5432
+ };
5433
+ return AXDropdownPanelComponent;
5434
+ }(AXBaseDropdownMixin));
5435
+ 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 });
5436
+ AXDropdownPanelComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: AXDropdownPanelComponent, selector: "ax-dropdown-panel", inputs: { isOpen: "isOpen", fitParent: "fitParent", dropdownWidth: "dropdownWidth", position: "position", items: "items" }, outputs: { onOpened: "onOpened", onClosed: "onClosed", onItemClick: "onItemClick" }, queries: [{ propertyName: "_contentButtons", predicate: AXButtonItemComponent }], viewQueries: [{ propertyName: "popover", first: true, predicate: AXPopoverComponent, descendants: true }, { 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: 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 });
5437
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXDropdownPanelComponent, decorators: [{
5192
5438
  type: i0.Component,
5193
5439
  args: [{
5194
- selector: 'ax-input-mask',
5195
- template: '',
5440
+ selector: 'ax-dropdown-panel',
5441
+ templateUrl: './dropdown-panel.component.html',
5196
5442
  changeDetection: i0.ChangeDetectionStrategy.OnPush,
5197
5443
  encapsulation: i0.ViewEncapsulation.None,
5444
+ inputs: __spreadArray([], __read(DROPDOWN_INPUTS)),
5445
+ outputs: __spreadArray([], __read(DROPDOWN_OUTPUT)),
5198
5446
  }]
5199
- }], propDecorators: { prefix: [{
5200
- type: i0.Input
5201
- }], suffix: [{
5202
- type: i0.Input
5203
- }], showMaskTyped: [{
5204
- type: i0.Input
5205
- }], clearIfNotMatch: [{
5206
- type: i0.Input
5207
- }], mask: [{
5447
+ }], ctorParameters: function () {
5448
+ return [{ type: i0__namespace.ElementRef }, { type: i0__namespace.ChangeDetectorRef }, { type: AXButtonComponent, decorators: [{
5449
+ type: i0.Optional
5450
+ }] }];
5451
+ }, propDecorators: { _contentButtons: [{
5452
+ type: i0.ContentChildren,
5453
+ args: [AXButtonItemComponent]
5454
+ }], _viewButtons: [{
5455
+ type: i0.ViewChildren,
5456
+ args: [AXButtonItemComponent]
5457
+ }], onItemClick: [{
5458
+ type: i0.Output
5459
+ }], popover: [{
5460
+ type: i0.ViewChild,
5461
+ args: [AXPopoverComponent]
5462
+ }], items: [{
5208
5463
  type: i0.Input
5209
5464
  }] } });
5210
5465
 
5211
- var COMPONENT$a = [AXInputMaskComponent];
5212
- var MODULES$a = [i4.CommonModule, i1$2.NgxMaskModule.forRoot()];
5213
- var AXInputMaskModule = /** @class */ (function () {
5214
- function AXInputMaskModule() {
5215
- }
5216
- return AXInputMaskModule;
5217
- }());
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 });
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))] });
5221
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXInputMaskModule, decorators: [{
5222
- type: i0.NgModule,
5223
- args: [{
5224
- declarations: __spreadArray([], __read(COMPONENT$a)),
5225
- imports: __spreadArray([], __read(MODULES$a)),
5226
- exports: __spreadArray([], __read(COMPONENT$a)),
5227
- providers: [],
5228
- }]
5229
- }] });
5230
-
5231
- var AXLabelComponent = /** @class */ (function (_super) {
5232
- __extends(AXLabelComponent, _super);
5233
- function AXLabelComponent(elementRef, cdr) {
5234
- return _super.call(this, elementRef, cdr) || this;
5235
- }
5236
- return AXLabelComponent;
5237
- }(AXSizableComponentMixin));
5238
- AXLabelComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXLabelComponent, deps: [{ token: i0__namespace.ElementRef }, { token: i0__namespace.ChangeDetectorRef }], target: i0__namespace.ɵɵFactoryTarget.Component });
5239
- AXLabelComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: AXLabelComponent, selector: "ax-label", usesInheritance: true, ngImport: i0__namespace, template: "<label class=\"ax-label {{size}}\">\r\n <ng-content></ng-content>\r\n</label>", changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush, encapsulation: i0__namespace.ViewEncapsulation.None });
5240
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXLabelComponent, decorators: [{
5241
- type: i0.Component,
5242
- args: [{
5243
- selector: 'ax-label',
5244
- templateUrl: './label.component.html',
5245
- changeDetection: i0.ChangeDetectionStrategy.OnPush,
5246
- encapsulation: i0.ViewEncapsulation.None
5247
- }]
5248
- }], ctorParameters: function () { return [{ type: i0__namespace.ElementRef }, { type: i0__namespace.ChangeDetectorRef }]; } });
5249
-
5250
- var COMPONENT$9 = [AXLabelComponent];
5251
- var MODULES$9 = [i4.CommonModule];
5252
- var AXLabelModule = /** @class */ (function () {
5253
- function AXLabelModule() {
5466
+ var AXDropdownModule = /** @class */ (function () {
5467
+ function AXDropdownModule() {
5254
5468
  }
5255
- return AXLabelModule;
5469
+ return AXDropdownModule;
5256
5470
  }());
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 });
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))] });
5260
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXLabelModule, decorators: [{
5471
+ AXDropdownModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXDropdownModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
5472
+ 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, AXPopoverModule], exports: [AXDropdownComponent, AXDropdownPanelComponent] });
5473
+ 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, AXPopoverModule]] });
5474
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXDropdownModule, decorators: [{
5261
5475
  type: i0.NgModule,
5262
5476
  args: [{
5263
- declarations: __spreadArray([], __read(COMPONENT$9)),
5264
- imports: __spreadArray([], __read(MODULES$9)),
5265
- exports: __spreadArray([], __read(COMPONENT$9)),
5477
+ imports: [i1.CommonModule, AXButtonModule, i1$2.OverlayModule, AXIconModule, AXEditorDecoratorModule, AXPopoverModule],
5478
+ exports: [AXDropdownComponent, AXDropdownPanelComponent],
5479
+ declarations: [AXDropdownComponent, AXDropdownPanelComponent],
5266
5480
  providers: [],
5267
5481
  }]
5268
5482
  }] });
@@ -5517,7 +5731,7 @@
5517
5731
  return AXNumberBoxComponent;
5518
5732
  }(AXBaseTextBoxMixin));
5519
5733
  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 });
5734
+ 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: i1__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush, encapsulation: i0__namespace.ViewEncapsulation.None });
5521
5735
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXNumberBoxComponent, decorators: [{
5522
5736
  type: i0.Component,
5523
5737
  args: [{
@@ -5565,12 +5779,12 @@
5565
5779
  type: i0.Input
5566
5780
  }] } });
5567
5781
 
5568
- var COMPONENT$8 = [AXNumberBoxComponent];
5569
- var MODULES$8 = [
5570
- i4.CommonModule,
5782
+ var COMPONENT$9 = [AXNumberBoxComponent];
5783
+ var MODULES$9 = [
5784
+ i1.CommonModule,
5571
5785
  i3.FormsModule,
5572
5786
  AXButtonModule,
5573
- i1$2.NgxMaskModule.forChild()
5787
+ i1$3.NgxMaskModule.forChild()
5574
5788
  ];
5575
5789
  var AXNumberBoxModule = /** @class */ (function () {
5576
5790
  function AXNumberBoxModule() {
@@ -5578,16 +5792,16 @@
5578
5792
  return AXNumberBoxModule;
5579
5793
  }());
5580
5794
  AXNumberBoxModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXNumberBoxModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
5581
- AXNumberBoxModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXNumberBoxModule, declarations: [AXNumberBoxComponent], imports: [i4.CommonModule,
5795
+ AXNumberBoxModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXNumberBoxModule, declarations: [AXNumberBoxComponent], imports: [i1.CommonModule,
5582
5796
  i3.FormsModule,
5583
5797
  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))] });
5798
+ AXNumberBoxModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXNumberBoxModule, providers: [], imports: [__spreadArray([], __read(MODULES$9))] });
5585
5799
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXNumberBoxModule, decorators: [{
5586
5800
  type: i0.NgModule,
5587
5801
  args: [{
5588
- declarations: __spreadArray([], __read(COMPONENT$8)),
5589
- imports: __spreadArray([], __read(MODULES$8)),
5590
- exports: __spreadArray([], __read(COMPONENT$8)),
5802
+ declarations: __spreadArray([], __read(COMPONENT$9)),
5803
+ imports: __spreadArray([], __read(MODULES$9)),
5804
+ exports: __spreadArray([], __read(COMPONENT$9)),
5591
5805
  providers: [],
5592
5806
  }]
5593
5807
  }] });
@@ -5632,7 +5846,7 @@
5632
5846
  return AXPasswordBoxComponent;
5633
5847
  }(AXBaseTextBoxMixin));
5634
5848
  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 });
5849
+ AXPasswordBoxComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: AXPasswordBoxComponent, selector: "ax-password-box", inputs: { disabled: "disabled", readonly: "readonly", tabIndex: "tabIndex", cssClass: "cssClass", size: "size", placeholder: "placeholder", maxLength: "maxLength", allowNull: "allowNull", debounceTime: "debounceTime", value: "value", name: "name", showToggleButton: "showToggleButton" }, outputs: { valueChange: "valueChange", onValueChanged: "onValueChanged", onBlur: "onBlur", onFocus: "onFocus" }, host: { properties: { "class": "this.hostClass" }, classAttribute: "ax-password-box ax-editor-container" }, usesInheritance: true, ngImport: i0__namespace, template: "<ng-content select=\"ax-prefix\">\r\n</ng-content>\r\n<input class=\"ax-input\" [attr.name]=\"name\" [type]=\"_type\" [attr.placeholder]=\"placeholder\" [attr.maxlength]=\"maxLength\" [class.ax-state-disabled]=\"disabled\" [class.ax-state-readonly]=\"readonly\" [disabled]=\"disabled\" [readonly]=\"readonly\" [tabindex]=\"tabIndex\"\r\n [(ngModel)]=\"value\" (focus)=\"_emitOnFocusEvent($event)\" (blur)=\"_emitOnBlurEvent($event)\" [attr.autocomplete]=\"autoComplete ? 'on': 'off'\">\r\n<ax-button color=\"light\" look=\"blank\" [size]=\"size\" (onClick)=\"clear()\" [tabIndex]=\"-1\" *ngIf=\"value && allowNull && !(disabled || readonly)\">\r\n <ax-prefix>\r\n <ax-icon icon=\"ax-ic ax-ic-close\"></ax-icon>\r\n </ax-prefix>\r\n</ax-button>\r\n<ng-content select=\"ax-suffix\">\r\n\r\n</ng-content>\r\n<ng-content select=\"ax-validation-rule\">\r\n</ng-content>\r\n<ng-content select=\"ax-input-mask\">\r\n</ng-content>\r\n<ax-button color=\"light\" look=\"blank\" [size]=\"size\" (onClick)=\"toggleType()\" [tabIndex]=\"-1\" *ngIf=\"showToggleButton\">\r\n <ax-icon [icon]=\"_icon\"></ax-icon>\r\n</ax-button>", components: [{ type: AXButtonComponent, selector: "ax-button", inputs: ["disabled", "tabIndex", "size", "text", "submitBehavior", "cancelBehavior", "color", "look", "toggleable", "selected"], outputs: ["onBlur", "onFocus", "onClick", "selectedChange", "toggleableChange"] }, { type: AXDecoratorPrefixComponent, selector: "ax-prefix" }, { type: AXIconComponent, selector: "ax-icon", inputs: ["icon"] }], directives: [{ type: i3__namespace.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { type: i3__namespace.MaxLengthValidator, selector: "[maxlength][formControlName],[maxlength][formControl],[maxlength][ngModel]", inputs: ["maxlength"] }, { type: i3__namespace.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i3__namespace.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { type: i1__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush, encapsulation: i0__namespace.ViewEncapsulation.None });
5636
5850
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXPasswordBoxComponent, decorators: [{
5637
5851
  type: i0.Component,
5638
5852
  args: [{
@@ -5662,9 +5876,9 @@
5662
5876
  type: i0.Input
5663
5877
  }] } });
5664
5878
 
5665
- var COMPONENT$7 = [AXPasswordBoxComponent];
5666
- var MODULES$7 = [
5667
- i4.CommonModule,
5879
+ var COMPONENT$8 = [AXPasswordBoxComponent];
5880
+ var MODULES$8 = [
5881
+ i1.CommonModule,
5668
5882
  i3.FormsModule,
5669
5883
  AXButtonModule,
5670
5884
  AXEditorDecoratorModule,
@@ -5676,26 +5890,27 @@
5676
5890
  return AXPasswordBoxModule;
5677
5891
  }());
5678
5892
  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,
5893
+ AXPasswordBoxModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXPasswordBoxModule, declarations: [AXPasswordBoxComponent], imports: [i1.CommonModule,
5680
5894
  i3.FormsModule,
5681
5895
  AXButtonModule,
5682
5896
  AXEditorDecoratorModule,
5683
5897
  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))] });
5898
+ AXPasswordBoxModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXPasswordBoxModule, providers: [], imports: [__spreadArray([], __read(MODULES$8))] });
5685
5899
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXPasswordBoxModule, decorators: [{
5686
5900
  type: i0.NgModule,
5687
5901
  args: [{
5688
- declarations: __spreadArray([], __read(COMPONENT$7)),
5689
- imports: __spreadArray([], __read(MODULES$7)),
5690
- exports: __spreadArray([], __read(COMPONENT$7)),
5902
+ declarations: __spreadArray([], __read(COMPONENT$8)),
5903
+ imports: __spreadArray([], __read(MODULES$8)),
5904
+ exports: __spreadArray([], __read(COMPONENT$8)),
5691
5905
  providers: [],
5692
5906
  }]
5693
5907
  }] });
5694
5908
 
5695
5909
  var AXPopupComponent = /** @class */ (function (_super) {
5696
5910
  __extends(AXPopupComponent, _super);
5697
- function AXPopupComponent(elementRef, cdr, _viewContainerRef, loadingService) {
5911
+ function AXPopupComponent(elementRef, cdr, _zone, _viewContainerRef, loadingService) {
5698
5912
  var _this = _super.call(this, elementRef, cdr) || this;
5913
+ _this._zone = _zone;
5699
5914
  _this._viewContainerRef = _viewContainerRef;
5700
5915
  _this.loadingService = loadingService;
5701
5916
  _this.isLoading = true;
@@ -5717,11 +5932,11 @@
5717
5932
  // });
5718
5933
  }
5719
5934
  else if (this.content instanceof i0.TemplateRef) {
5720
- this._selectedPortal = new i1.TemplatePortal(this.content, this._viewContainerRef, { $implicit: this.data, ref: this });
5935
+ this._selectedPortal = new i1$1.TemplatePortal(this.content, this._viewContainerRef, { $implicit: this.data, ref: this });
5721
5936
  this._cdr.markForCheck();
5722
5937
  }
5723
5938
  else if (typeof this.content === 'function') {
5724
- this._selectedPortal = new i1.ComponentPortal(this.content);
5939
+ this._selectedPortal = new i1$1.ComponentPortal(this.content);
5725
5940
  this._cdr.markForCheck();
5726
5941
  }
5727
5942
  };
@@ -5737,9 +5952,16 @@
5737
5952
  });
5738
5953
  }
5739
5954
  }
5740
- if (ref.instance.footer) {
5741
- this._footerPortal = new i1.TemplatePortal(ref.instance.footer.template, this._viewContainerRef, { $implicit: this.data, ref: this });
5742
- }
5955
+ this._zone.runOutsideAngular(function () {
5956
+ var main = _this._getHostElement().querySelector('main');
5957
+ var footer = main.querySelector('ax-page-footer');
5958
+ if (footer) {
5959
+ var newFooter = document.createElement('footer');
5960
+ newFooter.append.apply(newFooter, __spreadArray([], __read(Array.from(footer.childNodes))));
5961
+ main.after(newFooter);
5962
+ footer.parentNode.removeChild(footer);
5963
+ }
5964
+ });
5743
5965
  this.loadingService.hide(this._loadingId);
5744
5966
  this.focus();
5745
5967
  this._cdr.markForCheck();
@@ -5769,8 +5991,8 @@
5769
5991
  AXPopupComponent.prototype.onFullScreen = function () { };
5770
5992
  return AXPopupComponent;
5771
5993
  }(AXBaseComponentMixin));
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 });
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 });
5994
+ AXPopupComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXPopupComponent, deps: [{ token: i0__namespace.ElementRef }, { token: i0__namespace.ChangeDetectorRef }, { token: i0__namespace.NgZone }, { token: i0__namespace.ViewContainerRef }, { token: AXLoadingService }], target: i0__namespace.ɵɵFactoryTarget.Component });
5995
+ AXPopupComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: AXPopupComponent, selector: "ax-popup", host: { listeners: { "keydown.escape": "onKeydownHandler($event)" } }, usesInheritance: true, ngImport: i0__namespace, template: "<div class=\"ax-popup-wrapper\" aria-modal=\"true\" cdkTrapFocus>\r\n <div class=\"ax-popup ax-{{size}}\" tabindex=\"0\" cdkDrag>\r\n <ng-container *ngIf=\"showHeader\">\r\n <header cdkDragHandle class=\"ax-cursor-move\">\r\n <div>\r\n <div class=\"ax-text-lg ax-font-medium\">\r\n <span>\r\n {{title}}\r\n </span>\r\n </div>\r\n </div>\r\n <div *ngIf=\"showCloseButton\">\r\n <i class=\"ax-ic ax-ic-close ax-text-gray ax-cursor-pointer\" (click)=\"_handleCloseClick()\"\r\n tabindex=\"1\"></i>\r\n </div>\r\n </header>\r\n </ng-container>\r\n <main>\r\n <ng-template [cdkPortalOutlet]=\"_selectedPortal\" (attached)=\"_handleAttched($event)\"></ng-template>\r\n </main>\r\n </div>\r\n</div>", directives: [{ type: i2__namespace$1.CdkTrapFocus, selector: "[cdkTrapFocus]", inputs: ["cdkTrapFocus", "cdkTrapFocusAutoCapture"], exportAs: ["cdkTrapFocus"] }, { type: i3__namespace$1.CdkDrag, selector: "[cdkDrag]", inputs: ["cdkDragDisabled", "cdkDragStartDelay", "cdkDragLockAxis", "cdkDragConstrainPosition", "cdkDragPreviewClass", "cdkDragBoundary", "cdkDragRootElement", "cdkDragPreviewContainer", "cdkDragData", "cdkDragFreeDragPosition"], outputs: ["cdkDragStarted", "cdkDragReleased", "cdkDragEnded", "cdkDragEntered", "cdkDragExited", "cdkDragDropped", "cdkDragMoved"], exportAs: ["cdkDrag"] }, { type: i1__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i3__namespace$1.CdkDragHandle, selector: "[cdkDragHandle]", inputs: ["cdkDragHandleDisabled"] }, { type: i1__namespace$3.CdkPortalOutlet, selector: "[cdkPortalOutlet]", inputs: ["cdkPortalOutlet"], outputs: ["attached"], exportAs: ["cdkPortalOutlet"] }], changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush, encapsulation: i0__namespace.ViewEncapsulation.None });
5774
5996
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXPopupComponent, decorators: [{
5775
5997
  type: i0.Component,
5776
5998
  args: [{
@@ -5779,7 +6001,7 @@
5779
6001
  changeDetection: i0.ChangeDetectionStrategy.OnPush,
5780
6002
  encapsulation: i0.ViewEncapsulation.None,
5781
6003
  }]
5782
- }], ctorParameters: function () { return [{ type: i0__namespace.ElementRef }, { type: i0__namespace.ChangeDetectorRef }, { type: i0__namespace.ViewContainerRef }, { type: AXLoadingService }]; }, propDecorators: { onKeydownHandler: [{
6004
+ }], ctorParameters: function () { return [{ type: i0__namespace.ElementRef }, { type: i0__namespace.ChangeDetectorRef }, { type: i0__namespace.NgZone }, { type: i0__namespace.ViewContainerRef }, { type: AXLoadingService }]; }, propDecorators: { onKeydownHandler: [{
5783
6005
  type: i0.HostListener,
5784
6006
  args: ['keydown.escape', ['$event']]
5785
6007
  }] } });
@@ -5876,23 +6098,64 @@
5876
6098
  type: i0.Injectable
5877
6099
  }], ctorParameters: function () { return [{ type: AXOverlayService }]; } });
5878
6100
 
5879
- var COMPONENT$6 = [AXPopupComponent];
5880
- var MODULES$6 = [i4.CommonModule, i3$1.DragDropModule, i2$1.A11yModule, AXButtonModule, i1.PortalModule];
6101
+ var COMPONENT$7 = [AXPopupComponent];
6102
+ var MODULES$7 = [i1.CommonModule, i3$1.DragDropModule, i2$1.A11yModule, AXButtonModule, i1$1.PortalModule];
5881
6103
  var AXPopupModule = /** @class */ (function () {
5882
6104
  function AXPopupModule() {
5883
6105
  }
5884
6106
  return AXPopupModule;
5885
6107
  }());
5886
6108
  AXPopupModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXPopupModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
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))] });
6109
+ 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] });
6110
+ AXPopupModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXPopupModule, providers: [AXPopupService], imports: [__spreadArray([], __read(MODULES$7))] });
5889
6111
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXPopupModule, decorators: [{
6112
+ type: i0.NgModule,
6113
+ args: [{
6114
+ declarations: __spreadArray([], __read(COMPONENT$7)),
6115
+ imports: __spreadArray([], __read(MODULES$7)),
6116
+ exports: __spreadArray([], __read(COMPONENT$7)),
6117
+ providers: [AXPopupService],
6118
+ }]
6119
+ }] });
6120
+
6121
+ var AXRadioComponent = /** @class */ (function (_super) {
6122
+ __extends(AXRadioComponent, _super);
6123
+ function AXRadioComponent(elementRef, cdr) {
6124
+ return _super.call(this, elementRef, cdr) || this;
6125
+ //TODO: ax-radio
6126
+ }
6127
+ return AXRadioComponent;
6128
+ }(AXBaseComponentMixin));
6129
+ AXRadioComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXRadioComponent, deps: [{ token: i0__namespace.ElementRef }, { token: i0__namespace.ChangeDetectorRef }], target: i0__namespace.ɵɵFactoryTarget.Component });
6130
+ AXRadioComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: AXRadioComponent, selector: "ax-radio", host: { classAttribute: "ax-radio" }, usesInheritance: true, ngImport: i0__namespace, template: "<div class=\"ax-flex ax-items-start\">\n <div class=\"ax-flex ax-items-center ax-h-5\">\n <input [id]=\"id\" class=\"ax-radio\" type=\"radio\">\n </div>\n <div class=\"ax-ms-3 ax-text-sm\">\n <ng-content select=\"ax-label\"></ng-content>\n <ng-content select=\"ax-form-hint\"></ng-content>\n </div>\n</div>\n<ng-content select=\"ax-validation-rule\"></ng-content>", changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush, encapsulation: i0__namespace.ViewEncapsulation.None });
6131
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXRadioComponent, decorators: [{
6132
+ type: i0.Component,
6133
+ args: [{
6134
+ selector: 'ax-radio',
6135
+ templateUrl: './radio.component.html',
6136
+ changeDetection: i0.ChangeDetectionStrategy.OnPush,
6137
+ encapsulation: i0.ViewEncapsulation.None,
6138
+ host: { class: 'ax-radio' }
6139
+ }]
6140
+ }], ctorParameters: function () { return [{ type: i0__namespace.ElementRef }, { type: i0__namespace.ChangeDetectorRef }]; } });
6141
+
6142
+ var COMPONENT$6 = [AXRadioComponent];
6143
+ var MODULES$6 = [i1.CommonModule];
6144
+ var AXRadioModule = /** @class */ (function () {
6145
+ function AXRadioModule() {
6146
+ }
6147
+ return AXRadioModule;
6148
+ }());
6149
+ AXRadioModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXRadioModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
6150
+ AXRadioModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXRadioModule, declarations: [AXRadioComponent], imports: [i1.CommonModule], exports: [AXRadioComponent] });
6151
+ AXRadioModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXRadioModule, providers: [], imports: [__spreadArray([], __read(MODULES$6))] });
6152
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXRadioModule, decorators: [{
5890
6153
  type: i0.NgModule,
5891
6154
  args: [{
5892
6155
  declarations: __spreadArray([], __read(COMPONENT$6)),
5893
6156
  imports: __spreadArray([], __read(MODULES$6)),
5894
6157
  exports: __spreadArray([], __read(COMPONENT$6)),
5895
- providers: [AXPopupService],
6158
+ providers: [],
5896
6159
  }]
5897
6160
  }] });
5898
6161
 
@@ -5918,14 +6181,14 @@
5918
6181
  }], ctorParameters: function () { return [{ type: i0__namespace.ElementRef }, { type: i0__namespace.ChangeDetectorRef }]; } });
5919
6182
 
5920
6183
  var COMPONENT$5 = [AXRangeSliderComponent];
5921
- var MODULES$5 = [i4.CommonModule];
6184
+ var MODULES$5 = [i1.CommonModule];
5922
6185
  var AXRangeSliderModule = /** @class */ (function () {
5923
6186
  function AXRangeSliderModule() {
5924
6187
  }
5925
6188
  return AXRangeSliderModule;
5926
6189
  }());
5927
6190
  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] });
6191
+ AXRangeSliderModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXRangeSliderModule, declarations: [AXRangeSliderComponent], imports: [i1.CommonModule], exports: [AXRangeSliderComponent] });
5929
6192
  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
6193
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXRangeSliderModule, decorators: [{
5931
6194
  type: i0.NgModule,
@@ -6118,7 +6381,7 @@
6118
6381
  return AXSelectBoxComponent;
6119
6382
  }(AXBaseSelectionDropdownMixin));
6120
6383
  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 });
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 });
6384
+ 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: ["isOpen", "fitParent", "dropdownWidth", "position", "disabled", "tabIndex"], outputs: ["onOpened", "onClosed", "onBlur", "onFocus"] }, { type: AXBadgeComponent, selector: "ax-badge", inputs: ["text", "color"] }, { type: AXDecoratorSuffixComponent, selector: "ax-suffix" }, { type: AXIconComponent, selector: "ax-icon", inputs: ["icon"] }, { type: AXCheckBoxComponent, selector: "ax-check-box", inputs: ["disabled", "tabIndex", "readonly", "allowNull", "value", "debounceTime", "name"], outputs: ["onBlur", "onFocus", "valueChange", "onValueChanged"] }], directives: [{ type: i1__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1__namespace.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i1__namespace.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }], changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush, encapsulation: i0__namespace.ViewEncapsulation.None });
6122
6385
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXSelectBoxComponent, decorators: [{
6123
6386
  type: i0.Component,
6124
6387
  args: [{
@@ -6147,12 +6410,12 @@
6147
6410
  return AXSelectBoxModule;
6148
6411
  }());
6149
6412
  AXSelectBoxModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXSelectBoxModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
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]] });
6413
+ AXSelectBoxModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXSelectBoxModule, declarations: [AXSelectBoxComponent], imports: [i1.CommonModule, AXDropdownModule, i3.FormsModule, AXCheckBoxModule, AXBadgeModule, AXEditorDecoratorModule, AXIconModule], exports: [AXSelectBoxComponent] });
6414
+ AXSelectBoxModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXSelectBoxModule, providers: [], imports: [[i1.CommonModule, AXDropdownModule, i3.FormsModule, AXCheckBoxModule, AXBadgeModule, AXEditorDecoratorModule, AXIconModule]] });
6152
6415
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXSelectBoxModule, decorators: [{
6153
6416
  type: i0.NgModule,
6154
6417
  args: [{
6155
- imports: [i4.CommonModule, AXDropdownModule, i3.FormsModule, AXCheckBoxModule, AXBadgeModule, AXEditorDecoratorModule, AXIconModule],
6418
+ imports: [i1.CommonModule, AXDropdownModule, i3.FormsModule, AXCheckBoxModule, AXBadgeModule, AXEditorDecoratorModule, AXIconModule],
6156
6419
  exports: [AXSelectBoxComponent],
6157
6420
  declarations: [AXSelectBoxComponent],
6158
6421
  providers: [],
@@ -6178,7 +6441,7 @@
6178
6441
  return AXSelectionListComponent;
6179
6442
  }(AXBaseSelectionValueMixin));
6180
6443
  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 });
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 });
6444
+ 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 dark:ax-text-light-100\"> {{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 dark:ax-text-light-100\"> {{item[textField]}}</label>\r\n <p class=\"ax-text-light-500\"> {{item.hint ? item.hint : item[hintField]}}</p>\r\n </div>\r\n </div>\r\n </ng-container>\r\n </ng-template>\r\n <ng-content select=\"ax-validation-rule\">\r\n </ng-content>\r\n</div>", directives: [{ type: i1__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1__namespace.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }], changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush, encapsulation: i0__namespace.ViewEncapsulation.None });
6182
6445
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXSelectionListComponent, decorators: [{
6183
6446
  type: i0.Component,
6184
6447
  args: [{
@@ -6211,13 +6474,13 @@
6211
6474
  return AXSelectionListModule;
6212
6475
  }());
6213
6476
  AXSelectionListModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXSelectionListModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
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]] });
6477
+ 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] });
6478
+ 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]] });
6216
6479
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXSelectionListModule, decorators: [{
6217
6480
  type: i0.NgModule,
6218
6481
  args: [{
6219
6482
  declarations: [AXSelectionListComponent],
6220
- imports: [i4.CommonModule, i3.FormsModule, AXCheckBoxModule],
6483
+ imports: [i1.CommonModule, i3.FormsModule, AXCheckBoxModule],
6221
6484
  exports: [AXSelectionListComponent],
6222
6485
  providers: []
6223
6486
  }]
@@ -6244,14 +6507,14 @@
6244
6507
  }], ctorParameters: function () { return [{ type: i0__namespace.ElementRef }, { type: i0__namespace.ChangeDetectorRef }]; } });
6245
6508
 
6246
6509
  var COMPONENT$4 = [AXSideMenuComponent];
6247
- var MODULES$4 = [i4.CommonModule];
6510
+ var MODULES$4 = [i1.CommonModule];
6248
6511
  var AXSideMenuModule = /** @class */ (function () {
6249
6512
  function AXSideMenuModule() {
6250
6513
  }
6251
6514
  return AXSideMenuModule;
6252
6515
  }());
6253
6516
  AXSideMenuModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXSideMenuModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
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] });
6517
+ 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] });
6255
6518
  AXSideMenuModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXSideMenuModule, providers: [], imports: [__spreadArray([], __read(MODULES$4))] });
6256
6519
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXSideMenuModule, decorators: [{
6257
6520
  type: i0.NgModule,
@@ -6296,13 +6559,13 @@
6296
6559
  return AXSwitchModule;
6297
6560
  }());
6298
6561
  AXSwitchModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXSwitchModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
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]] });
6562
+ 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] });
6563
+ AXSwitchModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXSwitchModule, providers: [], imports: [[i1.CommonModule, i3.FormsModule]] });
6301
6564
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXSwitchModule, decorators: [{
6302
6565
  type: i0.NgModule,
6303
6566
  args: [{
6304
6567
  declarations: [AXSwitchComponent],
6305
- imports: [i4.CommonModule, i3.FormsModule],
6568
+ imports: [i1.CommonModule, i3.FormsModule],
6306
6569
  exports: [AXSwitchComponent],
6307
6570
  entryComponents: [AXSwitchComponent],
6308
6571
  providers: [],
@@ -6495,13 +6758,14 @@
6495
6758
  this._active = v;
6496
6759
  this.activeChange.emit(v);
6497
6760
  v ? this._getHostElement().classList.add('ax-state-active') : this._getHostElement().classList.remove('ax-state-active');
6761
+ this._cdr.detectChanges();
6498
6762
  },
6499
6763
  enumerable: false,
6500
6764
  configurable: true
6501
6765
  });
6502
6766
  // @HostBinding('class')
6503
6767
  // private get __hostClass(): string {
6504
- // debugger;
6768
+ // ;
6505
6769
  // const classes: any = {
6506
6770
  // 'ax-state-active': this.active
6507
6771
  // }
@@ -6517,12 +6781,12 @@
6517
6781
  return AXTabItemComponent;
6518
6782
  }(AXBaseClickableMixin));
6519
6783
  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 });
6784
+ AXTabItemComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: AXTabItemComponent, selector: "ax-tab-item", inputs: { text: "text", width: "width", active: "active" }, outputs: { activeChange: "activeChange" }, host: { listeners: { "click": "__hostClick($event)" } }, queries: [{ propertyName: "headerTemplate", first: true, predicate: i0.TemplateRef, descendants: true, static: true }], viewQueries: [{ propertyName: "template", first: true, predicate: ["content"], descendants: true }], usesInheritance: true, ngImport: i0__namespace, template: "\n <ng-container *ngIf=\"headerTemplate;else header\">\n <ng-container [ngTemplateOutlet]=\"headerTemplate\" [ngTemplateOutletContext]=\"{ $implicit: {text,active} }\"></ng-container>\n </ng-container>\n <ng-template #header>\n <ng-content select=\"ax-prefix\"></ng-content>\n <span>{{text}}</span>\n <ng-content select=\"ax-suffix\"></ng-content>\n </ng-template>\n <ng-template #content>\n <ng-content select=\"ax-content\">\n </ng-content>\n </ng-template>\n ", isInline: true, directives: [{ type: i1__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1__namespace.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }], changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush, encapsulation: i0__namespace.ViewEncapsulation.None });
6521
6785
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXTabItemComponent, decorators: [{
6522
6786
  type: i0.Component,
6523
6787
  args: [{
6524
6788
  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 ",
6789
+ template: "\n <ng-container *ngIf=\"headerTemplate;else header\">\n <ng-container [ngTemplateOutlet]=\"headerTemplate\" [ngTemplateOutletContext]=\"{ $implicit: {text,active} }\"></ng-container>\n </ng-container>\n <ng-template #header>\n <ng-content select=\"ax-prefix\"></ng-content>\n <span>{{text}}</span>\n <ng-content select=\"ax-suffix\"></ng-content>\n </ng-template>\n <ng-template #content>\n <ng-content select=\"ax-content\">\n </ng-content>\n </ng-template>\n ",
6526
6790
  changeDetection: i0.ChangeDetectionStrategy.OnPush,
6527
6791
  encapsulation: i0.ViewEncapsulation.None,
6528
6792
  }]
@@ -6532,7 +6796,10 @@
6532
6796
  type: i0.Input
6533
6797
  }], template: [{
6534
6798
  type: i0.ViewChild,
6535
- args: [i0.TemplateRef]
6799
+ args: ['content']
6800
+ }], headerTemplate: [{
6801
+ type: i0.ContentChild,
6802
+ args: [i0.TemplateRef, { static: true }]
6536
6803
  }], activeChange: [{
6537
6804
  type: i0.Output
6538
6805
  }], active: [{
@@ -6546,12 +6813,19 @@
6546
6813
  __extends(AXTabsComponent, _super);
6547
6814
  function AXTabsComponent(elementRef, cdr) {
6548
6815
  var _this = _super.call(this, elementRef, cdr) || this;
6549
- _this.mode = 'default';
6550
- _this.direction = "horizontal";
6551
6816
  _this.fitParent = false;
6552
6817
  _this.minWidth = false;
6553
6818
  return _this;
6554
6819
  }
6820
+ AXTabsComponent.prototype.onRenderCssClass = function () {
6821
+ var classList = Array.from(this._getHostElement().classList);
6822
+ if (!classList.some(function (c) { return ['ax-vertical', 'ax-horizontal'].includes(c); })) {
6823
+ this._getHostElement().classList.add('ax-horizontal');
6824
+ }
6825
+ if (!classList.some(function (c) { return c.startsWith('ax-look-'); })) {
6826
+ this._getHostElement().classList.add('ax-look-default');
6827
+ }
6828
+ };
6555
6829
  AXTabsComponent.prototype.onViewInit = function () {
6556
6830
  var _this = this;
6557
6831
  this._handleSelectionChanged(this._contentTabs.get(0));
@@ -6564,44 +6838,32 @@
6564
6838
  AXTabsComponent.prototype._handleSelectionChanged = function (e) {
6565
6839
  this._contentTabs.filter(function (c) { return c != e; }).forEach(function (c) { c.active = false; });
6566
6840
  e.active = true;
6567
- this.content.portal = e.template;
6841
+ if (this.content) {
6842
+ this.content.portal = e.template;
6843
+ }
6568
6844
  this._cdr.markForCheck();
6569
6845
  };
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
6846
  return AXTabsComponent;
6578
6847
  }(AXBaseComponent));
6579
6848
  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 });
6849
+ AXTabsComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: AXTabsComponent, selector: "ax-tabs", inputs: { fitParent: "fitParent", minWidth: "minWidth", content: "content" }, queries: [{ propertyName: "_contentTabs", predicate: AXTabItemComponent }], usesInheritance: true, ngImport: i0__namespace, template: "\n <div class=\"ax-items-wrapper\">\n <ng-content select=\"ax-tab-item\">\n </ng-content>\n </div>\n ", isInline: true, changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush, encapsulation: i0__namespace.ViewEncapsulation.None });
6581
6850
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXTabsComponent, decorators: [{
6582
6851
  type: i0.Component,
6583
6852
  args: [{
6584
6853
  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 ",
6854
+ template: "\n <div class=\"ax-items-wrapper\">\n <ng-content select=\"ax-tab-item\">\n </ng-content>\n </div>\n ",
6586
6855
  changeDetection: i0.ChangeDetectionStrategy.OnPush,
6587
6856
  encapsulation: i0.ViewEncapsulation.None,
6588
6857
  }]
6589
6858
  }], ctorParameters: function () { return [{ type: i0__namespace.ElementRef }, { type: i0__namespace.ChangeDetectorRef }]; }, propDecorators: { _contentTabs: [{
6590
6859
  type: i0.ContentChildren,
6591
6860
  args: [AXTabItemComponent]
6592
- }], mode: [{
6593
- type: i0.Input
6594
- }], direction: [{
6595
- type: i0.Input
6596
6861
  }], fitParent: [{
6597
6862
  type: i0.Input
6598
6863
  }], minWidth: [{
6599
6864
  type: i0.Input
6600
6865
  }], content: [{
6601
6866
  type: i0.Input
6602
- }], __hostClass: [{
6603
- type: i0.HostBinding,
6604
- args: ['class']
6605
6867
  }] } });
6606
6868
 
6607
6869
  var AXTabStripChangedEvent = /** @class */ (function (_super) {
@@ -6621,10 +6883,12 @@
6621
6883
  return this._portal;
6622
6884
  },
6623
6885
  set: function (v) {
6624
- //debugger;
6625
- this._portal = v;
6626
- this._viewContainerRef.clear();
6627
- var viewRef = this._viewContainerRef.createEmbeddedView(v, null, 0);
6886
+ //;
6887
+ if (v) {
6888
+ this._portal = v;
6889
+ this._viewContainerRef.clear();
6890
+ var viewRef = this._viewContainerRef.createEmbeddedView(v, null, 0);
6891
+ }
6628
6892
  },
6629
6893
  enumerable: false,
6630
6894
  configurable: true
@@ -6643,14 +6907,14 @@
6643
6907
  }], ctorParameters: function () { return [{ type: i0__namespace.ViewContainerRef }]; } });
6644
6908
 
6645
6909
  var COMPONENT$3 = [AXTabsComponent, AXTabItemComponent, AXTabContentDirective];
6646
- var MODULES$3 = [i4.CommonModule, i1.PortalModule, AXEditorDecoratorModule];
6910
+ var MODULES$3 = [i1.CommonModule, i1$1.PortalModule, AXEditorDecoratorModule];
6647
6911
  var AXTabsModule = /** @class */ (function () {
6648
6912
  function AXTabsModule() {
6649
6913
  }
6650
6914
  return AXTabsModule;
6651
6915
  }());
6652
6916
  AXTabsModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXTabsModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
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] });
6917
+ AXTabsModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXTabsModule, declarations: [AXTabsComponent, AXTabItemComponent, AXTabContentDirective], imports: [i1.CommonModule, i1$1.PortalModule, AXEditorDecoratorModule], exports: [AXTabsComponent, AXTabItemComponent, AXTabContentDirective] });
6654
6918
  AXTabsModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXTabsModule, providers: [], imports: [__spreadArray([], __read(MODULES$3))] });
6655
6919
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXTabsModule, decorators: [{
6656
6920
  type: i0.NgModule,
@@ -6779,7 +7043,7 @@
6779
7043
  return AXTimeBoxComponent;
6780
7044
  }(AXBaseTextBoxMixin));
6781
7045
  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 });
7046
+ 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: i1__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush, encapsulation: i0__namespace.ViewEncapsulation.None });
6783
7047
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXTimeBoxComponent, decorators: [{
6784
7048
  type: i0.Component,
6785
7049
  args: [{
@@ -6808,10 +7072,10 @@
6808
7072
 
6809
7073
  var COMPONENT$2 = [AXTimeBoxComponent];
6810
7074
  var MODULES$2 = [
6811
- i4.CommonModule,
7075
+ i1.CommonModule,
6812
7076
  i3.FormsModule,
6813
7077
  AXButtonModule,
6814
- i1$2.NgxMaskModule.forChild()
7078
+ i1$3.NgxMaskModule.forChild()
6815
7079
  ];
6816
7080
  var AXTimeBoxModule = /** @class */ (function () {
6817
7081
  function AXTimeBoxModule() {
@@ -6819,7 +7083,7 @@
6819
7083
  return AXTimeBoxModule;
6820
7084
  }());
6821
7085
  AXTimeBoxModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXTimeBoxModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
6822
- AXTimeBoxModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXTimeBoxModule, declarations: [AXTimeBoxComponent], imports: [i4.CommonModule,
7086
+ AXTimeBoxModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXTimeBoxModule, declarations: [AXTimeBoxComponent], imports: [i1.CommonModule,
6823
7087
  i3.FormsModule,
6824
7088
  AXButtonModule, i1__namespace$2.NgxMaskModule], exports: [AXTimeBoxComponent] });
6825
7089
  AXTimeBoxModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXTimeBoxModule, providers: [], imports: [__spreadArray([], __read(MODULES$2))] });
@@ -6871,7 +7135,7 @@
6871
7135
  return AXToastComponent;
6872
7136
  }(AXBaseComponentMixin));
6873
7137
  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 });
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 });
7138
+ 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: i1__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush, encapsulation: i0__namespace.ViewEncapsulation.None });
6875
7139
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXToastComponent, decorators: [{
6876
7140
  type: i0.Component,
6877
7141
  args: [{
@@ -6884,14 +7148,14 @@
6884
7148
  }], ctorParameters: function () { return [{ type: i0__namespace.ElementRef }, { type: i0__namespace.ChangeDetectorRef }]; } });
6885
7149
 
6886
7150
  var COMPONENT$1 = [AXToastComponent];
6887
- var MODULES$1 = [i4.CommonModule, AXButtonModule];
7151
+ var MODULES$1 = [i1.CommonModule, AXButtonModule];
6888
7152
  var AXToastModule = /** @class */ (function () {
6889
7153
  function AXToastModule() {
6890
7154
  }
6891
7155
  return AXToastModule;
6892
7156
  }());
6893
7157
  AXToastModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXToastModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
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] });
7158
+ 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] });
6895
7159
  AXToastModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXToastModule, providers: [], imports: [__spreadArray([], __read(MODULES$1))] });
6896
7160
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXToastModule, decorators: [{
6897
7161
  type: i0.NgModule,
@@ -6972,7 +7236,7 @@
6972
7236
  positionStrategy: positionStrategy,
6973
7237
  panelClass: ['animate__animated', 'animate__fadeIn', 'animate__faster'],
6974
7238
  });
6975
- var toastPortal = new i1.ComponentPortal(AXToastComponent, null, this.parentInjector);
7239
+ var toastPortal = new i1$1.ComponentPortal(AXToastComponent, null, this.parentInjector);
6976
7240
  var host = overlayRef.attach(toastPortal);
6977
7241
  host.instance.visibleIndex = this._activeList.length;
6978
7242
  this._activeList.push(host.instance);
@@ -7007,12 +7271,12 @@
7007
7271
  };
7008
7272
  return AXToastService;
7009
7273
  }());
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 });
7274
+ 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 });
7011
7275
  AXToastService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXToastService, providedIn: 'root' });
7012
7276
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXToastService, decorators: [{
7013
7277
  type: i0.Injectable,
7014
7278
  args: [{ providedIn: 'root' }]
7015
- }], ctorParameters: function () { return [{ type: i1__namespace.Overlay }, { type: i0__namespace.Injector }]; } });
7279
+ }], ctorParameters: function () { return [{ type: i1__namespace$1.Overlay }, { type: i0__namespace.Injector }]; } });
7016
7280
 
7017
7281
  var AXTooltipComponent = /** @class */ (function (_super) {
7018
7282
  __extends(AXTooltipComponent, _super);
@@ -7112,7 +7376,7 @@
7112
7376
  this.overlayRef = this.overlay.create({ positionStrategy: positionStrategy });
7113
7377
  };
7114
7378
  AXTooltipDirective.prototype.show = function () {
7115
- var tooltipRef = this.overlayRef.attach(new i1.ComponentPortal(AXTooltipComponent));
7379
+ var tooltipRef = this.overlayRef.attach(new i1$1.ComponentPortal(AXTooltipComponent));
7116
7380
  tooltipRef.instance.text = this.text;
7117
7381
  tooltipRef.instance.position = this.position;
7118
7382
  };
@@ -7121,12 +7385,12 @@
7121
7385
  };
7122
7386
  return AXTooltipDirective;
7123
7387
  }());
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 });
7388
+ 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 });
7125
7389
  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 });
7126
7390
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXTooltipDirective, decorators: [{
7127
7391
  type: i0.Directive,
7128
7392
  args: [{ selector: '[axTooltip]' }]
7129
- }], ctorParameters: function () { return [{ type: i1__namespace.Overlay }, { type: i1__namespace.OverlayPositionBuilder }, { type: i0__namespace.ElementRef }]; }, propDecorators: { text: [{
7393
+ }], ctorParameters: function () { return [{ type: i1__namespace$1.Overlay }, { type: i1__namespace$1.OverlayPositionBuilder }, { type: i0__namespace.ElementRef }]; }, propDecorators: { text: [{
7130
7394
  type: i0.Input,
7131
7395
  args: ['axTooltip']
7132
7396
  }], position: [{
@@ -7141,14 +7405,14 @@
7141
7405
  }] } });
7142
7406
 
7143
7407
  var COMPONENT = [AXTooltipComponent, AXTooltipDirective];
7144
- var MODULES = [i4.CommonModule, i1$1.OverlayModule];
7408
+ var MODULES = [i1.CommonModule, i1$2.OverlayModule];
7145
7409
  var AXTooltipModule = /** @class */ (function () {
7146
7410
  function AXTooltipModule() {
7147
7411
  }
7148
7412
  return AXTooltipModule;
7149
7413
  }());
7150
7414
  AXTooltipModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXTooltipModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
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] });
7415
+ 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] });
7152
7416
  AXTooltipModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXTooltipModule, providers: [], imports: [__spreadArray([], __read(MODULES))] });
7153
7417
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXTooltipModule, decorators: [{
7154
7418
  type: i0.NgModule,
@@ -7160,97 +7424,6 @@
7160
7424
  }]
7161
7425
  }] });
7162
7426
 
7163
- /**
7164
- * The Textbox is a component which detects user interaction and triggers a corresponding event
7165
- *
7166
- * @category Components
7167
- */
7168
- var AXTextBoxComponent = /** @class */ (function (_super) {
7169
- __extends(AXTextBoxComponent, _super);
7170
- /**
7171
- * @ignore
7172
- */
7173
- function AXTextBoxComponent(elementRef, cdr) {
7174
- return _super.call(this, elementRef, cdr) || this;
7175
- }
7176
- Object.defineProperty(AXTextBoxComponent.prototype, "hostClass", {
7177
- //TODO: prefix suffix text
7178
- get: function () {
7179
- return this.cssClass + " ax-" + this.size;
7180
- },
7181
- enumerable: false,
7182
- configurable: true
7183
- });
7184
- return AXTextBoxComponent;
7185
- }(AXBaseTextBoxMixin));
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 });
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 });
7188
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXTextBoxComponent, decorators: [{
7189
- type: i0.Component,
7190
- args: [{
7191
- selector: 'ax-text-box',
7192
- templateUrl: 'textbox.component.html',
7193
- inputs: __spreadArray([
7194
- 'disabled',
7195
- 'readonly',
7196
- 'tabIndex',
7197
- 'cssClass',
7198
- 'size'
7199
- ], __read(TEXTBOX_INPUTS)),
7200
- outputs: __spreadArray([
7201
- 'valueChange',
7202
- 'onValueChanged',
7203
- 'onBlur',
7204
- 'onFocus'
7205
- ], __read(TEXTBOX_OUTPUT)),
7206
- encapsulation: i0.ViewEncapsulation.None,
7207
- changeDetection: i0.ChangeDetectionStrategy.OnPush,
7208
- host: { class: 'ax-text-box ax-editor-container' },
7209
- }]
7210
- }], ctorParameters: function () { return [{ type: i0__namespace.ElementRef }, { type: i0__namespace.ChangeDetectorRef }]; }, propDecorators: { _contentMask: [{
7211
- type: i0.ContentChild,
7212
- args: [AXInputMaskComponent]
7213
- }], hostClass: [{
7214
- type: i0.HostBinding,
7215
- args: ['class']
7216
- }] } });
7217
-
7218
- var AXTextBoxModule = /** @class */ (function () {
7219
- function AXTextBoxModule() {
7220
- }
7221
- return AXTextBoxModule;
7222
- }());
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 });
7224
- AXTextBoxModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXTextBoxModule, declarations: [AXTextBoxComponent], imports: [i4.CommonModule,
7225
- i3.FormsModule,
7226
- AXButtonModule,
7227
- AXEditorDecoratorModule,
7228
- AXIconModule, i1__namespace$2.NgxMaskModule], exports: [AXTextBoxComponent] });
7229
- AXTextBoxModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXTextBoxModule, providers: [], imports: [[
7230
- i4.CommonModule,
7231
- i3.FormsModule,
7232
- AXButtonModule,
7233
- AXEditorDecoratorModule,
7234
- AXIconModule,
7235
- i1$2.NgxMaskModule.forChild()
7236
- ]] });
7237
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXTextBoxModule, decorators: [{
7238
- type: i0.NgModule,
7239
- args: [{
7240
- imports: [
7241
- i4.CommonModule,
7242
- i3.FormsModule,
7243
- AXButtonModule,
7244
- AXEditorDecoratorModule,
7245
- AXIconModule,
7246
- i1$2.NgxMaskModule.forChild()
7247
- ],
7248
- exports: [AXTextBoxComponent],
7249
- declarations: [AXTextBoxComponent],
7250
- providers: [],
7251
- }]
7252
- }] });
7253
-
7254
7427
  // @dynamic
7255
7428
  var AXValidationRules = /** @class */ (function () {
7256
7429
  function AXValidationRules() {
@@ -7383,13 +7556,13 @@
7383
7556
  return AXValidationModule;
7384
7557
  }());
7385
7558
  AXValidationModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXValidationModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
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]] });
7559
+ 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] });
7560
+ AXValidationModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXValidationModule, providers: [], imports: [[i1.CommonModule]] });
7388
7561
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXValidationModule, decorators: [{
7389
7562
  type: i0.NgModule,
7390
7563
  args: [{
7391
7564
  declarations: [AXValidationRuleComponent],
7392
- imports: [i4.CommonModule],
7565
+ imports: [i1.CommonModule],
7393
7566
  exports: [AXValidationRuleComponent],
7394
7567
  providers: []
7395
7568
  }]
@@ -7419,6 +7592,8 @@
7419
7592
  exports.AXBaseClickableMixin = AXBaseClickableMixin;
7420
7593
  exports.AXBaseComponent = AXBaseComponent;
7421
7594
  exports.AXBaseComponentMixin = AXBaseComponentMixin;
7595
+ exports.AXBaseDatePickerMixin = AXBaseDatePickerMixin;
7596
+ exports.AXBaseDropdownMixin = AXBaseDropdownMixin;
7422
7597
  exports.AXBaseItemButtonMixin = AXBaseItemButtonMixin;
7423
7598
  exports.AXBasePageComponent = AXBasePageComponent;
7424
7599
  exports.AXBaseSelectionDropdownMixin = AXBaseSelectionDropdownMixin;
@@ -7446,8 +7621,9 @@
7446
7621
  exports.AXCommonModule = AXCommonModule;
7447
7622
  exports.AXDataListComponent = AXDataListComponent;
7448
7623
  exports.AXDataListModule = AXDataListModule;
7449
- exports.AXDatepickerComponent = AXDatepickerComponent;
7624
+ exports.AXDatePickerComponent = AXDatePickerComponent;
7450
7625
  exports.AXDatepickerModule = AXDatepickerModule;
7626
+ exports.AXDecoratorContentComponent = AXDecoratorContentComponent;
7451
7627
  exports.AXDecoratorPrefixComponent = AXDecoratorPrefixComponent;
7452
7628
  exports.AXDecoratorSuffixComponent = AXDecoratorSuffixComponent;
7453
7629
  exports.AXDialogComponent = AXDialogComponent;
@@ -7497,6 +7673,8 @@
7497
7673
  exports.AXPopupComponent = AXPopupComponent;
7498
7674
  exports.AXPopupModule = AXPopupModule;
7499
7675
  exports.AXPopupService = AXPopupService;
7676
+ exports.AXRadioComponent = AXRadioComponent;
7677
+ exports.AXRadioModule = AXRadioModule;
7500
7678
  exports.AXRangeSliderComponent = AXRangeSliderComponent;
7501
7679
  exports.AXRangeSliderModule = AXRangeSliderModule;
7502
7680
  exports.AXResponsiveDirective = AXResponsiveDirective;