@acorex/components 5.0.6 → 5.0.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (91) hide show
  1. package/bundles/acorex-components.umd.js +1110 -436
  2. package/bundles/acorex-components.umd.js.map +1 -1
  3. package/esm2015/lib/badge/badge.component.js +34 -0
  4. package/esm2015/lib/badge/badge.module.js +21 -0
  5. package/esm2015/lib/badge/index.js +3 -0
  6. package/esm2015/lib/base/mixin/base-components.class.js +9 -6
  7. package/esm2015/lib/base/mixin/button-mixin.class.js +2 -2
  8. package/esm2015/lib/base/mixin/interactive-mixin.class.js +7 -2
  9. package/esm2015/lib/base/mixin/mixin.class.js +2 -2
  10. package/esm2015/lib/base/mixin/value-mixin.class.js +3 -3
  11. package/esm2015/lib/button/button.component.js +3 -9
  12. package/esm2015/lib/calendar/calendar.component.js +266 -38
  13. package/esm2015/lib/calendar/calendar.module.js +4 -3
  14. package/esm2015/lib/checkbox/checkbox.component.js +30 -11
  15. package/esm2015/lib/datepicker/datepicker.component.js +2 -2
  16. package/esm2015/lib/decorators/content.component.js +26 -0
  17. package/esm2015/lib/decorators/decorators.module.js +4 -3
  18. package/esm2015/lib/decorators/index.js +2 -1
  19. package/esm2015/lib/decorators/prefix.component.js +5 -6
  20. package/esm2015/lib/decorators/suffix.component.js +5 -10
  21. package/esm2015/lib/dialog/dialog.component.js +2 -2
  22. package/esm2015/lib/label/label.component.js +4 -4
  23. package/esm2015/lib/page/base-page.class.js +2 -1
  24. package/esm2015/lib/page/page-footer.component.js +3 -7
  25. package/esm2015/lib/password-box/index.js +3 -0
  26. package/esm2015/lib/password-box/password-box.component.js +74 -0
  27. package/esm2015/lib/password-box/password-box.module.js +35 -0
  28. package/esm2015/lib/popover/popover.component.js +1 -2
  29. package/esm2015/lib/popup/popup.component.js +16 -8
  30. package/esm2015/lib/radio/index.js +3 -0
  31. package/esm2015/lib/radio/radio.component.js +22 -0
  32. package/esm2015/lib/radio/radio.module.js +21 -0
  33. package/esm2015/lib/selectbox/selectbox.component.js +11 -3
  34. package/esm2015/lib/selectbox/selectbox.module.js +8 -4
  35. package/esm2015/lib/selection-list/selection-list.component.js +2 -2
  36. package/esm2015/lib/tabs/index.js +4 -2
  37. package/esm2015/lib/tabs/tab-content.directive.js +29 -0
  38. package/esm2015/lib/tabs/tab-item.component.js +91 -0
  39. package/esm2015/lib/tabs/tab-strip.component.js +12 -7
  40. package/esm2015/lib/tabs/tab-view.component.js +4 -5
  41. package/esm2015/lib/tabs/tab.component.js +2 -3
  42. package/esm2015/lib/tabs/tabs.component.js +67 -0
  43. package/esm2015/lib/tabs/tabs.module.js +9 -7
  44. package/esm2015/public-api.js +5 -2
  45. package/fesm2015/acorex-components.js +1061 -436
  46. package/fesm2015/acorex-components.js.map +1 -1
  47. package/lib/badge/badge.component.d.ts +11 -0
  48. package/lib/badge/badge.module.d.ts +8 -0
  49. package/lib/badge/index.d.ts +2 -0
  50. package/lib/base/mixin/base-components.class.d.ts +2 -0
  51. package/lib/base/mixin/button-mixin.class.d.ts +4 -1
  52. package/lib/base/mixin/clickable-mixin.class.d.ts +1 -0
  53. package/lib/base/mixin/datalist-component.class.d.ts +1 -0
  54. package/lib/base/mixin/dropdown-mixin.class.d.ts +1 -0
  55. package/lib/base/mixin/interactive-mixin.class.d.ts +4 -2
  56. package/lib/base/mixin/loading-mixin.class.d.ts +2 -3
  57. package/lib/base/mixin/mixin.class.d.ts +17 -117
  58. package/lib/base/mixin/selection-component.class.d.ts +1 -0
  59. package/lib/base/mixin/sizable-mixin.class.d.ts +1 -0
  60. package/lib/base/mixin/textbox-mixin.class.d.ts +5 -7
  61. package/lib/base/mixin/value-mixin.class.d.ts +5 -5
  62. package/lib/button/button-item.component.d.ts +2 -0
  63. package/lib/button/button.component.d.ts +0 -1
  64. package/lib/calendar/calendar.component.d.ts +52 -12
  65. package/lib/calendar/calendar.module.d.ts +4 -3
  66. package/lib/checkbox/checkbox.component.d.ts +6 -5
  67. package/lib/decorators/content.component.d.ts +8 -0
  68. package/lib/decorators/decorators.module.d.ts +3 -2
  69. package/lib/decorators/index.d.ts +1 -0
  70. package/lib/decorators/prefix.component.d.ts +1 -1
  71. package/lib/decorators/suffix.component.d.ts +1 -1
  72. package/lib/dropdown/dropdown-base.class.d.ts +2 -0
  73. package/lib/label/label.component.d.ts +2 -2
  74. package/lib/password-box/index.d.ts +2 -0
  75. package/lib/password-box/password-box.component.d.ts +24 -0
  76. package/lib/password-box/password-box.module.d.ts +12 -0
  77. package/lib/popup/popup.component.d.ts +3 -2
  78. package/lib/radio/index.d.ts +2 -0
  79. package/lib/radio/radio.component.d.ts +8 -0
  80. package/lib/radio/radio.module.d.ts +8 -0
  81. package/lib/selectbox/selectbox.component.d.ts +1 -0
  82. package/lib/selectbox/selectbox.module.d.ts +5 -1
  83. package/lib/tabs/index.d.ts +3 -1
  84. package/lib/tabs/tab-content.directive.d.ts +11 -0
  85. package/lib/tabs/tab-item.component.d.ts +17 -0
  86. package/lib/tabs/tab-strip.component.d.ts +4 -3
  87. package/lib/tabs/tab-view.component.d.ts +2 -2
  88. package/lib/tabs/tabs.component.d.ts +17 -0
  89. package/lib/tabs/tabs.module.d.ts +6 -4
  90. package/package.json +18 -18
  91. package/public-api.d.ts +4 -1
@@ -1,9 +1,9 @@
1
1
  import { __classPrivateFieldSet, __classPrivateFieldGet } from 'tslib';
2
2
  import * as i0 from '@angular/core';
3
- import { Injectable, Inject, EventEmitter, Directive, NgModule, Component, ChangeDetectionStrategy, ViewEncapsulation, Input, Output, HostBinding, HostListener, ContentChildren, ViewChild, Optional, ContentChild, ElementRef, ViewChildren, TemplateRef } from '@angular/core';
3
+ import { Injectable, Inject, EventEmitter, Directive, NgModule, Component, ChangeDetectionStrategy, ViewEncapsulation, Input, Output, HostBinding, HostListener, ContentChildren, Optional, ViewChild, ContentChild, ElementRef, ViewChildren, TemplateRef } from '@angular/core';
4
4
  import { coerceBooleanProperty, coerceNumberProperty } from '@angular/cdk/coercion';
5
5
  import * as i2 from '@acorex/core';
6
- import { AXObjectUtil, AXDrawingUtil, AXTranslator, AXConfig, AXDateTime } from '@acorex/core';
6
+ import { AXObjectUtil, AXDateTime, AXDateTimeRange, AXDateTimeModule, AXDrawingUtil, AXTranslator, AXConfig } from '@acorex/core';
7
7
  import { Subscription, Subject, fromEvent, merge, asyncScheduler, BehaviorSubject } from 'rxjs';
8
8
  import { debounceTime, distinctUntilChanged, throttleTime, observeOn, finalize } from 'rxjs/operators';
9
9
  import * as i1 from '@angular/common';
@@ -30,7 +30,7 @@ class AXBaseComponent {
30
30
  * @ignore
31
31
  */
32
32
  constructor(...args) {
33
- this.id = `ax-${new Date().getTime().toString()}`;
33
+ this.id = `AX${Math.round(Math.random() * Math.pow(10, 10))}`;
34
34
  _elementRef.set(this, void 0);
35
35
  __classPrivateFieldSet(this, _elementRef, args[0]);
36
36
  this._cdr = args[1];
@@ -53,15 +53,16 @@ class AXBaseComponent {
53
53
  return this._getHostElement().firstElementChild;
54
54
  }
55
55
  _onInternalInit() {
56
- var _a;
57
56
  this._getHostElement().__axContext__ = this;
58
- this._getHostElement().setAttribute('data-id', this.id);
59
57
  if (this.rtl == null) {
60
58
  this.rtl = window.getComputedStyle(this._getHostElement(), null).getPropertyValue('direction') === 'rtl';
61
59
  }
62
- this._getHostElement().classList.add(this.rtl ? 'ax-rtl' : 'ax-ltr');
63
- (_a = this._getInnerElement()) === null || _a === void 0 ? void 0 : _a.classList.add(this.rtl ? 'ax-rtl' : 'ax-ltr');
60
+ //TODO: Apply
61
+ // this._getHostElement().classList.add(this.rtl ? 'ax-rtl' : 'ax-ltr');
62
+ // this._getInnerElement()?.classList.add(this.rtl ? 'ax-rtl' : 'ax-ltr');
63
+ // this._getHostElement().setAttribute('data-id', this.id);
64
64
  this.onInit();
65
+ this.onRenderCssClass();
65
66
  }
66
67
  _onInternalViewInit() {
67
68
  this.onViewInit();
@@ -71,6 +72,8 @@ class AXBaseComponent {
71
72
  }
72
73
  onInit() {
73
74
  }
75
+ onRenderCssClass() {
76
+ }
74
77
  onViewInit() {
75
78
  }
76
79
  onDestroy() {
@@ -208,7 +211,7 @@ function _ButtonComponentMixin(Base) {
208
211
  const cssClasses = {
209
212
  'ax-button-icon': !this.text,
210
213
  'ax-state-disabled': this["disabled"],
211
- 'ax-state-selected': this.selected,
214
+ 'ax-state-selected': this.selected
212
215
  };
213
216
  cssClasses[`ax-${this.color || 'primary'}${this.look ? '-' + this.look : ''}`] = true;
214
217
  return cssClasses;
@@ -392,7 +395,7 @@ function _InteractiveComponenetMixin(Base) {
392
395
  constructor(...args) {
393
396
  super(...args);
394
397
  _disabled.set(this, false);
395
- _tabIndex.set(this, 0);
398
+ _tabIndex.set(this, null);
396
399
  /**
397
400
  * Fires each time the component gets focused.
398
401
  * @event
@@ -450,7 +453,12 @@ function _InteractiveComponenetMixin(Base) {
450
453
  }
451
454
  _disabled = new WeakMap(), _tabIndex = new WeakMap();
452
455
  return Mixin;
453
- }
456
+ }
457
+ const INTERACTIVE_INPUTS = [
458
+ 'disabled',
459
+ 'tabIndex',
460
+ ];
461
+ const INTERACTIVE_OUTPUT = ['onBlur', 'onFocus'];
454
462
 
455
463
  function _SelectionComponenetMixin(Base) {
456
464
  return class extends Base {
@@ -641,7 +649,7 @@ function _ValueComponenetMixin(Base) {
641
649
  this.onValueChanged = new EventEmitter();
642
650
  this.valueChange = new EventEmitter();
643
651
  _readonly.set(this, false);
644
- _allowNull.set(this, true);
652
+ _allowNull.set(this, false);
645
653
  _name.set(this, void 0);
646
654
  _debounceTime.set(this, 0);
647
655
  _valueSubscription.set(this, new Subscription());
@@ -764,7 +772,7 @@ function _ValueComponenetMixin(Base) {
764
772
  this._getHostElement() :
765
773
  this._getHostElement().querySelector('.ax-editor-container');
766
774
  const formField = container === null || container === void 0 ? void 0 : container.closest('.ax-form-field');
767
- const label = formField === null || formField === void 0 ? void 0 : formField.querySelector('.ax-label');
775
+ const label = formField === null || formField === void 0 ? void 0 : formField.querySelector('ax-label');
768
776
  const target = container || this._getInnerElement();
769
777
  const parent = target.parentElement;
770
778
  switch (state) {
@@ -857,7 +865,7 @@ const AXBaseTextBoxMixin = _SizableComponenetMixin(_InteractiveComponenetMixin(_
857
865
  const AXBaseSelectionValueMixin = _SizableComponenetMixin(_InteractiveComponenetMixin(_DatalistComponenetMixin(_SelectionComponenetMixin(_ValueComponenetMixin(AXBaseComponent)))));
858
866
  const AXBaseValueDropdownMixin = _SizableComponenetMixin(_InteractiveComponenetMixin(_DropdownComponenetMixin(_DatalistComponenetMixin(_ValueComponenetMixin(AXBaseComponent)))));
859
867
  const AXBaseSelectionDropdownMixin = _SizableComponenetMixin(_InteractiveComponenetMixin(_DropdownComponenetMixin(_DatalistComponenetMixin(_SelectionComponenetMixin(_ValueComponenetMixin(AXBaseComponent))))));
860
- const AXCalendarMixin = _ClickableComponenetMixin(_ButtonComponentMixin(_SizableComponenetMixin(AXBaseComponent)));
868
+ const AXCalendarComponentMixin = _ClickableComponenetMixin(_InteractiveComponenetMixin(_ValueComponenetMixin(AXBaseComponent)));
861
869
 
862
870
  /**
863
871
  * Contains native event
@@ -1227,7 +1235,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImpor
1227
1235
  }]
1228
1236
  }] });
1229
1237
 
1230
- const COMPONENT$l = [
1238
+ const COMPONENT$o = [
1231
1239
  AXAlertComponent,
1232
1240
  AXAlertContentComponent,
1233
1241
  AXAlertTitleComponent,
@@ -1235,7 +1243,7 @@ const COMPONENT$l = [
1235
1243
  AXAlertFooterComponent,
1236
1244
  AXAlertSuffixComponent
1237
1245
  ];
1238
- const MODULES$l = [CommonModule];
1246
+ const MODULES$o = [CommonModule];
1239
1247
  class AXAlertModule {
1240
1248
  }
1241
1249
  AXAlertModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXAlertModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
@@ -1250,13 +1258,13 @@ AXAlertModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version:
1250
1258
  AXAlertButtonComponent,
1251
1259
  AXAlertFooterComponent,
1252
1260
  AXAlertSuffixComponent] });
1253
- AXAlertModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXAlertModule, providers: [], imports: [[...MODULES$l]] });
1261
+ AXAlertModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXAlertModule, providers: [], imports: [[...MODULES$o]] });
1254
1262
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXAlertModule, decorators: [{
1255
1263
  type: NgModule,
1256
1264
  args: [{
1257
- declarations: [...COMPONENT$l],
1258
- imports: [...MODULES$l],
1259
- exports: [...COMPONENT$l],
1265
+ declarations: [...COMPONENT$o],
1266
+ imports: [...MODULES$o],
1267
+ exports: [...COMPONENT$o],
1260
1268
  providers: [],
1261
1269
  }]
1262
1270
  }] });
@@ -1312,19 +1320,67 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImpor
1312
1320
  type: Input
1313
1321
  }] } });
1314
1322
 
1315
- const COMPONENT$k = [AXAvatarComponent];
1316
- const MODULES$k = [CommonModule];
1323
+ const COMPONENT$n = [AXAvatarComponent];
1324
+ const MODULES$n = [CommonModule];
1317
1325
  class AXAvatarModule {
1318
1326
  }
1319
1327
  AXAvatarModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXAvatarModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
1320
1328
  AXAvatarModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXAvatarModule, declarations: [AXAvatarComponent], imports: [CommonModule], exports: [AXAvatarComponent] });
1321
- AXAvatarModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXAvatarModule, providers: [], imports: [[...MODULES$k]] });
1329
+ AXAvatarModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXAvatarModule, providers: [], imports: [[...MODULES$n]] });
1322
1330
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXAvatarModule, decorators: [{
1323
1331
  type: NgModule,
1324
1332
  args: [{
1325
- declarations: [...COMPONENT$k],
1326
- imports: [...MODULES$k],
1327
- exports: [...COMPONENT$k],
1333
+ declarations: [...COMPONENT$n],
1334
+ imports: [...MODULES$n],
1335
+ exports: [...COMPONENT$n],
1336
+ providers: [],
1337
+ }]
1338
+ }] });
1339
+
1340
+ class AXBadgeComponent extends AXBaseComponentMixin {
1341
+ constructor(elementRef, cdr) {
1342
+ super(elementRef, cdr);
1343
+ this.text = '';
1344
+ this.color = 'light';
1345
+ //TODO: ax-badge
1346
+ }
1347
+ get __hostClass() {
1348
+ return [`ax-bg-${this.color}-100`, `ax-text-${this.color}-500`].join(' ');
1349
+ }
1350
+ }
1351
+ AXBadgeComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXBadgeComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
1352
+ AXBadgeComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: AXBadgeComponent, selector: "ax-badge", inputs: { text: "text", color: "color" }, host: { properties: { "class": "this.__hostClass" }, classAttribute: "ax-badge" }, usesInheritance: true, ngImport: i0, template: "<ng-content select=\"ax-prefix\"></ng-content>\r\n<span class=\"ax-font-medium\">{{text}}</span>\r\n<ng-content select=\"ax-suffix\"></ng-content>", changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
1353
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXBadgeComponent, decorators: [{
1354
+ type: Component,
1355
+ args: [{
1356
+ selector: 'ax-badge',
1357
+ templateUrl: './badge.component.html',
1358
+ changeDetection: ChangeDetectionStrategy.OnPush,
1359
+ encapsulation: ViewEncapsulation.None,
1360
+ host: { class: 'ax-badge' }
1361
+ }]
1362
+ }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { text: [{
1363
+ type: Input
1364
+ }], color: [{
1365
+ type: Input
1366
+ }], __hostClass: [{
1367
+ type: HostBinding,
1368
+ args: ['class']
1369
+ }] } });
1370
+
1371
+ const COMPONENT$m = [AXBadgeComponent];
1372
+ const MODULES$m = [CommonModule];
1373
+ class AXBadgeModule {
1374
+ }
1375
+ AXBadgeModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXBadgeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
1376
+ AXBadgeModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXBadgeModule, declarations: [AXBadgeComponent], imports: [CommonModule], exports: [AXBadgeComponent] });
1377
+ AXBadgeModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXBadgeModule, providers: [], imports: [[...MODULES$m]] });
1378
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXBadgeModule, decorators: [{
1379
+ type: NgModule,
1380
+ args: [{
1381
+ declarations: [...COMPONENT$m],
1382
+ imports: [...MODULES$m],
1383
+ exports: [...COMPONENT$m],
1328
1384
  providers: [],
1329
1385
  }]
1330
1386
  }] });
@@ -1364,14 +1420,11 @@ class AXButtonComponent extends AXBaseButtonMixin {
1364
1420
  super._emitOnBlurEvent(e);
1365
1421
  }
1366
1422
  get __hostClass() {
1367
- return Object.entries(this._classes).filter(c => c[1]).map(c => c[0]).join(' ');
1368
- }
1369
- get __tabindex() {
1370
- return this.tabIndex;
1423
+ return Object.entries(this._classes).filter(c => c[1]).map(c => c[0]).concat(...[`ax-${this.size}`]).join(' ');
1371
1424
  }
1372
1425
  }
1373
1426
  AXButtonComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXButtonComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
1374
- AXButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: AXButtonComponent, selector: "ax-button", inputs: { disabled: "disabled", tabIndex: "tabIndex", size: "size", text: "text", submitBehavior: "submitBehavior", cancelBehavior: "cancelBehavior", color: "color", look: "look", toggleable: "toggleable", selected: "selected" }, outputs: { onBlur: "onBlur", onFocus: "onFocus", onClick: "onClick", selectedChange: "selectedChange", toggleableChange: "toggleableChange" }, host: { attributes: { "role": "button" }, listeners: { "document:keydown.escape": "onKeydownHandler($event)", "click": "_emitOnClickEvent($event)", "focus": "_emitOnFocusEvent($event)", "blur": "_emitOnBlurEvent($event)" }, properties: { "class": "this.__hostClass", "tabindex": "this.__tabindex" } }, usesInheritance: true, ngImport: i0, 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.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
1427
+ AXButtonComponent.ɵcmp = i0.ɵɵ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, 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.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
1375
1428
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXButtonComponent, decorators: [{
1376
1429
  type: Component,
1377
1430
  args: [{
@@ -1398,9 +1451,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImpor
1398
1451
  }], __hostClass: [{
1399
1452
  type: HostBinding,
1400
1453
  args: ['class']
1401
- }], __tabindex: [{
1402
- type: HostBinding,
1403
- args: ['tabindex']
1404
1454
  }] } });
1405
1455
 
1406
1456
  class AXButtonGroupComponent extends AXInteractiveComponenetMixin {
@@ -1611,8 +1661,8 @@ class AXDecoratorPrefixComponent extends AXBaseComponentMixin {
1611
1661
  }
1612
1662
  }
1613
1663
  AXDecoratorPrefixComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXDecoratorPrefixComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
1614
- AXDecoratorPrefixComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: AXDecoratorPrefixComponent, selector: "ax-prefix", host: { classAttribute: "ax-prefix" }, usesInheritance: true, ngImport: i0, template: `
1615
- <ng-content select="ax-button,ax-loading,ax-icon">
1664
+ AXDecoratorPrefixComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: AXDecoratorPrefixComponent, selector: "ax-prefix", usesInheritance: true, ngImport: i0, template: `
1665
+ <ng-content select="ax-button,ax-loading,ax-icon,ax-badge">
1616
1666
  </ng-content>
1617
1667
  `, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
1618
1668
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXDecoratorPrefixComponent, decorators: [{
@@ -1620,12 +1670,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImpor
1620
1670
  args: [{
1621
1671
  selector: 'ax-prefix',
1622
1672
  template: `
1623
- <ng-content select="ax-button,ax-loading,ax-icon">
1673
+ <ng-content select="ax-button,ax-loading,ax-icon,ax-badge">
1624
1674
  </ng-content>
1625
1675
  `,
1626
1676
  changeDetection: ChangeDetectionStrategy.OnPush,
1627
- encapsulation: ViewEncapsulation.None,
1628
- host: { class: 'ax-prefix' }
1677
+ encapsulation: ViewEncapsulation.None
1629
1678
  }]
1630
1679
  }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; } });
1631
1680
 
@@ -1635,10 +1684,8 @@ class AXDecoratorSuffixComponent extends AXBaseComponentMixin {
1635
1684
  }
1636
1685
  }
1637
1686
  AXDecoratorSuffixComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXDecoratorSuffixComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
1638
- AXDecoratorSuffixComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: AXDecoratorSuffixComponent, selector: "ax-suffix", host: { classAttribute: "ax-suffix" }, usesInheritance: true, ngImport: i0, template: `
1639
- <ng-content select="ax-button">
1640
- </ng-content>
1641
- <ng-content select="ax-icon">
1687
+ AXDecoratorSuffixComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: AXDecoratorSuffixComponent, selector: "ax-suffix", usesInheritance: true, ngImport: i0, template: `
1688
+ <ng-content select="ax-button,ax-icon,ax-badge">
1642
1689
  </ng-content>
1643
1690
  `, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
1644
1691
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXDecoratorSuffixComponent, decorators: [{
@@ -1646,30 +1693,50 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImpor
1646
1693
  args: [{
1647
1694
  selector: 'ax-suffix',
1648
1695
  template: `
1649
- <ng-content select="ax-button">
1696
+ <ng-content select="ax-button,ax-icon,ax-badge">
1650
1697
  </ng-content>
1651
- <ng-content select="ax-icon">
1698
+ `,
1699
+ changeDetection: ChangeDetectionStrategy.OnPush,
1700
+ encapsulation: ViewEncapsulation.None
1701
+ }]
1702
+ }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; } });
1703
+
1704
+ class AXDecoratorContentComponent extends AXBaseComponentMixin {
1705
+ constructor(elementRef, cdr) {
1706
+ super(elementRef, cdr);
1707
+ }
1708
+ }
1709
+ AXDecoratorContentComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXDecoratorContentComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
1710
+ AXDecoratorContentComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: AXDecoratorContentComponent, selector: "ax-content", usesInheritance: true, ngImport: i0, template: `
1711
+ <ng-content>
1712
+ </ng-content>
1713
+ `, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
1714
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXDecoratorContentComponent, decorators: [{
1715
+ type: Component,
1716
+ args: [{
1717
+ selector: 'ax-content',
1718
+ template: `
1719
+ <ng-content>
1652
1720
  </ng-content>
1653
1721
  `,
1654
1722
  changeDetection: ChangeDetectionStrategy.OnPush,
1655
1723
  encapsulation: ViewEncapsulation.None,
1656
- host: { class: 'ax-suffix' }
1657
1724
  }]
1658
1725
  }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; } });
1659
1726
 
1660
- const COMPONENT$j = [AXDecoratorPrefixComponent, AXDecoratorSuffixComponent];
1661
- const MODULES$j = [CommonModule];
1727
+ const COMPONENT$l = [AXDecoratorPrefixComponent, AXDecoratorSuffixComponent, AXDecoratorContentComponent];
1728
+ const MODULES$l = [CommonModule];
1662
1729
  class AXEditorDecoratorModule {
1663
1730
  }
1664
1731
  AXEditorDecoratorModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXEditorDecoratorModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
1665
- AXEditorDecoratorModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXEditorDecoratorModule, declarations: [AXDecoratorPrefixComponent, AXDecoratorSuffixComponent], imports: [CommonModule], exports: [AXDecoratorPrefixComponent, AXDecoratorSuffixComponent] });
1666
- AXEditorDecoratorModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXEditorDecoratorModule, providers: [], imports: [[...MODULES$j]] });
1732
+ AXEditorDecoratorModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXEditorDecoratorModule, declarations: [AXDecoratorPrefixComponent, AXDecoratorSuffixComponent, AXDecoratorContentComponent], imports: [CommonModule], exports: [AXDecoratorPrefixComponent, AXDecoratorSuffixComponent, AXDecoratorContentComponent] });
1733
+ AXEditorDecoratorModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXEditorDecoratorModule, providers: [], imports: [[...MODULES$l]] });
1667
1734
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXEditorDecoratorModule, decorators: [{
1668
1735
  type: NgModule,
1669
1736
  args: [{
1670
- declarations: [...COMPONENT$j],
1671
- imports: [...MODULES$j],
1672
- exports: [...COMPONENT$j],
1737
+ declarations: [...COMPONENT$l],
1738
+ imports: [...MODULES$l],
1739
+ exports: [...COMPONENT$l],
1673
1740
  providers: [],
1674
1741
  }]
1675
1742
  }] });
@@ -1699,29 +1766,29 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImpor
1699
1766
  args: ['class']
1700
1767
  }] } });
1701
1768
 
1702
- const COMPONENT$i = [AXIconComponent];
1703
- const MODULES$i = [CommonModule];
1769
+ const COMPONENT$k = [AXIconComponent];
1770
+ const MODULES$k = [CommonModule];
1704
1771
  class AXIconModule {
1705
1772
  }
1706
1773
  AXIconModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXIconModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
1707
1774
  AXIconModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXIconModule, declarations: [AXIconComponent], imports: [CommonModule], exports: [AXIconComponent] });
1708
- AXIconModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXIconModule, providers: [], imports: [[...MODULES$i]] });
1775
+ AXIconModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXIconModule, providers: [], imports: [[...MODULES$k]] });
1709
1776
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXIconModule, decorators: [{
1710
1777
  type: NgModule,
1711
1778
  args: [{
1712
- declarations: [...COMPONENT$i],
1713
- imports: [...MODULES$i],
1714
- exports: [...COMPONENT$i],
1779
+ declarations: [...COMPONENT$k],
1780
+ imports: [...MODULES$k],
1781
+ exports: [...COMPONENT$k],
1715
1782
  providers: [],
1716
1783
  }]
1717
1784
  }] });
1718
1785
 
1719
- const COMPONENT$h = [
1786
+ const COMPONENT$j = [
1720
1787
  AXButtonComponent,
1721
1788
  AXButtonItemComponent,
1722
1789
  AXButtonGroupComponent,
1723
1790
  ];
1724
- const MODULES$h = [CommonModule, AXIconModule, AXEditorDecoratorModule];
1791
+ const MODULES$j = [CommonModule, AXIconModule, AXEditorDecoratorModule];
1725
1792
  class AXButtonModule {
1726
1793
  }
1727
1794
  AXButtonModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXButtonModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
@@ -1730,83 +1797,307 @@ AXButtonModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version:
1730
1797
  AXButtonGroupComponent], imports: [CommonModule, AXIconModule, AXEditorDecoratorModule], exports: [AXButtonComponent,
1731
1798
  AXButtonItemComponent,
1732
1799
  AXButtonGroupComponent] });
1733
- AXButtonModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXButtonModule, providers: [], imports: [[MODULES$h]] });
1800
+ AXButtonModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXButtonModule, providers: [], imports: [[MODULES$j]] });
1734
1801
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXButtonModule, decorators: [{
1735
1802
  type: NgModule,
1736
1803
  args: [{
1737
- imports: [MODULES$h],
1738
- exports: [COMPONENT$h],
1739
- declarations: [COMPONENT$h],
1804
+ imports: [MODULES$j],
1805
+ exports: [COMPONENT$j],
1806
+ declarations: [COMPONENT$j],
1740
1807
  providers: [],
1741
1808
  }]
1742
1809
  }] });
1743
1810
 
1744
- class AXCalendarComponent extends AXCalendarMixin {
1811
+ class AXCalendarComponent extends AXCalendarComponentMixin {
1745
1812
  constructor(elementRef, cdr) {
1746
1813
  super(elementRef, cdr);
1747
- this.actionBar = false;
1748
- this.showTime = false;
1749
- this.dayItems = new Array(32);
1750
- this.yearItems = [1990];
1751
- this.monthItems = [
1752
- 'January',
1753
- 'February',
1754
- 'March',
1755
- 'April',
1756
- 'May',
1757
- 'June',
1758
- 'July',
1759
- 'August',
1760
- 'September',
1761
- 'October',
1762
- 'November',
1763
- 'December',
1764
- ];
1765
- this.createYears();
1814
+ this.cdr = cdr;
1815
+ this._today = new AXDateTime(new Date());
1816
+ this._navText = '';
1817
+ this._todayText = '';
1818
+ this._slots = [];
1819
+ this._activeView = 'days';
1820
+ this.depthChange = new EventEmitter();
1821
+ this._depth = 'days';
1822
+ }
1823
+ get _viewRange() {
1824
+ const current = this._viewStartDate || this._today;
1825
+ switch (this.activeView) {
1826
+ case 'years':
1827
+ let y = current.startOf('year').year;
1828
+ let min = y - (y % 10) - 1;
1829
+ let max = min + 11;
1830
+ return new AXDateTimeRange(AXDateTime.convert(new Date(min, 0), this._today.calendar.name()), AXDateTime.convert(new Date(max, 0), this._today.calendar.name()));
1831
+ case 'months':
1832
+ //TODO: check add month function
1833
+ return new AXDateTimeRange(current.startOf('year'), current.endOf('year').add('day', -1));
1834
+ default:
1835
+ //return new AXDateTimeRange(current.startOf('month').startOf('week'), current.endOf('month').endOf('week'));
1836
+ return new AXDateTimeRange(current.startOf('month'), current.endOf('month'));
1837
+ }
1766
1838
  }
1767
- ngAfterViewInit() {
1839
+ get activeView() {
1840
+ return this._activeView;
1768
1841
  }
1769
- createYears() {
1770
- let number = 1990;
1771
- for (let i = 0; i < 40; i++) {
1772
- number = number + 1;
1773
- this.yearItems.push(number);
1842
+ set activeView(v) {
1843
+ this._activeView = v;
1844
+ this._genearteSlots();
1845
+ }
1846
+ get depth() {
1847
+ return this._depth;
1848
+ }
1849
+ set depth(v) {
1850
+ this._depth = v;
1851
+ this._activeView = v;
1852
+ this.depthChange.emit(v);
1853
+ this._genearteSlots();
1854
+ }
1855
+ get min() {
1856
+ return this._min;
1857
+ }
1858
+ set min(v) {
1859
+ this._min = v;
1860
+ }
1861
+ get max() {
1862
+ return this._max;
1863
+ }
1864
+ set max(v) {
1865
+ this._max = v;
1866
+ }
1867
+ get disabledDates() {
1868
+ return this._disabledDates;
1869
+ }
1870
+ set disabledDates(v) {
1871
+ this._disabledDates = v;
1872
+ }
1873
+ get holidayDates() {
1874
+ return this._holidayDates;
1875
+ }
1876
+ set holidayDates(v) {
1877
+ this._holidayDates = v;
1878
+ }
1879
+ onInit() {
1880
+ this.goToday();
1881
+ }
1882
+ _genearteSlots() {
1883
+ if (!this._viewStartDate)
1884
+ return;
1885
+ const vr = this._viewRange;
1886
+ // year view
1887
+ if (this.activeView == 'years') {
1888
+ const a = vr.enumurate('year');
1889
+ this._slots = a.map((d, i) => {
1890
+ const r = {};
1891
+ r.date = d.date;
1892
+ r.text = d.format('YYYY');
1893
+ r.disabled = (this.min && d.compare(this.min, 'year') == -1) || (this.max && d.compare(this.max, 'year') == 1);
1894
+ if (r.disabled) {
1895
+ r.cssClass = {
1896
+ 'ax-state-disabled': r.disabled,
1897
+ };
1898
+ }
1899
+ else {
1900
+ r.cssClass = {
1901
+ 'ax-state-today': d.equal(this._today, 'year'),
1902
+ 'ax-state-selected': this.value && this.depth == 'years' && d.equal(this.value, 'year'),
1903
+ };
1904
+ }
1905
+ return r;
1906
+ });
1907
+ this._navText = `${vr.startTime.year} - ${vr.endTime.year}`;
1908
+ this._todayText = this._today.format('YYYY');
1909
+ }
1910
+ // month view
1911
+ else if (this.activeView == 'months') {
1912
+ const a = vr.enumurate('month');
1913
+ this._slots = a.map((d, i) => {
1914
+ const r = {};
1915
+ r.date = d.date;
1916
+ r.text = d.format('MMM');
1917
+ r.tooltip = d.format('MMMM YYYY');
1918
+ r.disabled = (this.min && d.compare(this.min, 'month') == -1) || (this.max && d.compare(this.max, 'month') == 1);
1919
+ if (r.disabled) {
1920
+ r.cssClass = {
1921
+ 'ax-state-disabled': r.disabled,
1922
+ };
1923
+ }
1924
+ else {
1925
+ r.cssClass = {
1926
+ 'ax-state-today': d.equal(this._today, 'month'),
1927
+ 'ax-state-selected': this.value && this.depth == 'months' && d.equal(this.value, 'month'),
1928
+ 'ax-state-other': d.year != this._viewStartDate.year
1929
+ };
1930
+ }
1931
+ return r;
1932
+ });
1933
+ this._navText = this._viewStartDate.format('YYYY');
1934
+ this._todayText = this._today.format('MMMM YYYY');
1935
+ }
1936
+ // day view
1937
+ else {
1938
+ const a = vr.enumurate('day');
1939
+ this._slots = a.map((d, i) => {
1940
+ const r = {};
1941
+ r.date = d.date;
1942
+ r.text = d.dayOfMonth;
1943
+ r.tooltip = d.format();
1944
+ r.disabled = (this.min && d.compare(this.min, 'day') == -1) || (this.max && d.compare(this.max, 'day') == 1);
1945
+ if (r.disabled || this.isDisabled(d)) {
1946
+ r.cssClass = {
1947
+ 'ax-state-disabled': true,
1948
+ };
1949
+ }
1950
+ else {
1951
+ r.cssClass = {
1952
+ 'ax-state-today': d.equal(this._today, 'day'),
1953
+ 'ax-state-selected': this.value && d.equal(this.value, 'day'),
1954
+ 'ax-state-holiday': this.isHoliday(d) || this.isWeekend(d),
1955
+ // 'ax-state-event-info': d.dayOfMonth == 12,
1956
+ // 'ax-state-event': d.dayOfMonth == 12,
1957
+ };
1958
+ }
1959
+ r.cssClass[`ax-col-start-${vr.startTime.dayOfWeek}`] = i == 0;
1960
+ return r;
1961
+ });
1962
+ this._navText = this._viewStartDate.format('MMMM YYYY');
1963
+ this._todayText = this._today.format('DDDD, MMMM dd, YYYY');
1964
+ }
1965
+ }
1966
+ _handlePrevClick(e) {
1967
+ this.prev();
1968
+ }
1969
+ _handleNextClick(e) {
1970
+ this.next();
1971
+ }
1972
+ _handleSlotClick(slot) {
1973
+ if (slot.disabled || this.disabled)
1974
+ return;
1975
+ if (this.activeView == 'days') {
1976
+ this.value = slot.date;
1977
+ }
1978
+ else if (this.activeView == 'months' && this.depth == 'days') {
1979
+ this.activeView = 'days';
1980
+ this.navTo(slot.date);
1981
+ }
1982
+ else if (this.activeView == 'months' && this.depth == 'months') {
1983
+ this.value = slot.date;
1984
+ }
1985
+ else if (this.activeView == 'years' && (this.depth == 'days' || this.depth == 'months')) {
1986
+ this.activeView = 'months';
1987
+ this.navTo(slot.date);
1988
+ }
1989
+ else if (this.activeView == 'years' && this.depth == 'years') {
1990
+ this.value = slot.date;
1991
+ }
1992
+ }
1993
+ _handleNavClick(e) {
1994
+ if (this.activeView == 'days')
1995
+ this.activeView = 'months';
1996
+ else if (this.activeView == 'months')
1997
+ this.activeView = 'years';
1998
+ }
1999
+ _onValueChanged(oldValue, newValue) {
2000
+ this._genearteSlots();
2001
+ }
2002
+ _handleGoToday() {
2003
+ this.value = this._today.date;
2004
+ this.goToday();
2005
+ }
2006
+ next() {
2007
+ this._navNextPrev(false);
2008
+ }
2009
+ prev() {
2010
+ this._navNextPrev(true);
2011
+ }
2012
+ _navNextPrev(prev) {
2013
+ const sign = (prev ? -1 : 1);
2014
+ if (this.activeView == 'days')
2015
+ this.navTo(this._viewStartDate.add('month', sign * 1));
2016
+ else if (this.activeView == 'months')
2017
+ this.navTo(this._viewStartDate.add('year', sign * 1));
2018
+ else
2019
+ this.navTo(this._viewStartDate.add('year', sign * 12));
2020
+ }
2021
+ goToday() {
2022
+ this.navTo(this._today.startOf());
2023
+ }
2024
+ navTo(date) {
2025
+ this._viewStartDate = AXDateTime.convert(date, this._today.calendar.name());
2026
+ this._genearteSlots();
2027
+ }
2028
+ get __hostClass() {
2029
+ const _classes = {
2030
+ 'ax-state-disabled': this.disabled
2031
+ };
2032
+ return Object.entries(_classes).filter(c => c[1]).map(c => c[0]).join(' ');
2033
+ }
2034
+ isDisabled(date) {
2035
+ if (Array.isArray(this.disabledDates) && this.disabledDates.length != 0) {
2036
+ debugger;
2037
+ return this.disabledDates.some(d => date.equal(d, 'day'));
2038
+ }
2039
+ else if (typeof this.disabledDates == 'function') {
2040
+ return this.disabledDates(date.date);
2041
+ }
2042
+ return false;
2043
+ }
2044
+ isHoliday(date) {
2045
+ if (Array.isArray(this.holidayDates) && this.holidayDates.length != 0) {
2046
+ return this.holidayDates.some(d => date.equal(d, 'day'));
1774
2047
  }
2048
+ else if (typeof this.holidayDates == 'function') {
2049
+ return this.holidayDates(date.date);
2050
+ }
2051
+ return false;
2052
+ }
2053
+ isWeekend(date) {
2054
+ return date.dayOfWeek == 7 || date.dayOfWeek == 1;
1775
2055
  }
1776
2056
  }
1777
2057
  AXCalendarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXCalendarComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
1778
- AXCalendarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: AXCalendarComponent, selector: "ax-calendar", inputs: { disabled: "disabled", tabIndex: "tabIndex", size: "size", cssClass: "cssClass", cssStyle: "cssStyle", actionBar: "actionBar", showTime: "showTime" }, viewQueries: [{ propertyName: "days", first: true, predicate: ["days"], descendants: true }], usesInheritance: true, ngImport: i0, template: "<div class=\"ax-calendar\">\r\n <div class=\"ax-calendar-header\">\r\n <ax-button class=\"ax-nav-button\" text=\"October 2021\" color=\"light\" look=\"blank\"></ax-button>\r\n <ax-button class=\"ax-prev-button\" color=\"light\" look=\"blank\">\r\n <ax-prefix>\r\n <ax-icon icon=\"ax-ic ax-ic-chevron ax-transform ax-rotate-90\"></ax-icon>\r\n </ax-prefix>\r\n </ax-button>\r\n <ax-button class=\"ax-next-button\" color=\"light\" look=\"blank\">\r\n <ax-prefix>\r\n <ax-icon icon=\"ax-ic ax-ic-chevron ax-transform ax--rotate-90\"></ax-icon>\r\n </ax-prefix>\r\n </ax-button>\r\n </div>\r\n <div class=\"ax-calendar-body\">\r\n <div class=\"ax-month-items\">\r\n <div class=\"ax-month-item\">MO</div>\r\n <div class=\"ax-month-item\">TU</div>\r\n <div class=\"ax-month-item\">WE</div>\r\n <div class=\"ax-month-item\">TH</div>\r\n <div class=\"ax-month-item\">FR</div>\r\n <div class=\"ax-month-item\">SA</div>\r\n <div class=\"ax-month-item\">SU</div>\r\n </div>\r\n <div class=\"ax-day-items\">\r\n <div class=\"ax-day-item ax-state-event\">27</div>\r\n <div class=\"ax-day-item ax-state-event ax-state-event-primary\">28</div>\r\n <div class=\"ax-day-item ax-state-event ax-state-event-secondary\">29</div>\r\n <div class=\"ax-day-item ax-state-event ax-state-event-success\">30</div>\r\n <div class=\"ax-day-item ax-state-event ax-state-event-warning\">01</div>\r\n <div class=\"ax-day-item ax-state-event ax-state-event-danger\">02</div>\r\n <div class=\"ax-day-item ax-state-holiday\">03</div>\r\n <div class=\"ax-day-item\">04</div>\r\n <div class=\"ax-day-item\">05</div>\r\n <div class=\"ax-day-item\">06</div>\r\n <div class=\"ax-day-item\">07</div>\r\n <div class=\"ax-day-item\">08</div>\r\n <div class=\"ax-day-item\">09</div>\r\n <div class=\"ax-day-item ax-state-holiday\">10</div>\r\n <div class=\"ax-day-item\">11</div>\r\n <div class=\"ax-day-item ax-state-event ax-state-event-info\">12</div>\r\n <div class=\"ax-day-item\">13</div>\r\n <div class=\"ax-day-item\">14</div>\r\n <div class=\"ax-day-item\">15</div>\r\n <div class=\"ax-day-item\">16</div>\r\n <div class=\"ax-day-item ax-state-holiday\">17</div>\r\n <div class=\"ax-day-item\">18</div>\r\n <div class=\"ax-day-item\">19</div>\r\n <div class=\"ax-day-item\">20</div>\r\n <div class=\"ax-day-item\">21</div>\r\n <div class=\"ax-day-item\">22</div>\r\n <div class=\"ax-day-item\">23</div>\r\n <div class=\"ax-day-item ax-state-holiday\">24</div>\r\n <div class=\"ax-day-item\">25</div>\r\n <div class=\"ax-day-item\">26</div>\r\n <div class=\"ax-day-item\">27</div>\r\n <div class=\"ax-day-item ax-state-today\">28</div>\r\n <div class=\"ax-day-item\">29</div>\r\n <div class=\"ax-day-item\">30</div>\r\n <div class=\"ax-day-item ax-state-holiday\">31</div>\r\n <div class=\"ax-day-item\">01</div>\r\n <div class=\"ax-day-item\">02</div>\r\n <div class=\"ax-day-item\">03</div>\r\n <div class=\"ax-day-item\">04</div>\r\n <div class=\"ax-day-item ax-state-selected\">05</div>\r\n <div class=\"ax-day-item\">06</div>\r\n <div class=\"ax-day-item ax-state-holiday\">07</div>\r\n </div>\r\n\r\n </div>\r\n <div class=\"ax-calendar-footer\">\r\n <ax-button text=\"Today\" color=\"dark\" size=\"sm\"></ax-button>\r\n </div>\r\n</div>", components: [{ type: AXButtonComponent, selector: "ax-button", inputs: ["disabled", "tabIndex", "size", "text", "submitBehavior", "cancelBehavior", "color", "look", "toggleable", "selected"], outputs: ["onBlur", "onFocus", "onClick", "selectedChange", "toggleableChange"] }, { type: AXDecoratorPrefixComponent, selector: "ax-prefix" }, { type: AXIconComponent, selector: "ax-icon", inputs: ["icon"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
2058
+ AXCalendarComponent.ɵcmp = i0.ɵɵ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, template: "<div class=\"ax-calendar-header\">\r\n <ax-button class=\"ax-nav-button\" [text]=\"_navText\" color=\"light\" look=\"blank\" (onClick)=\"_handleNavClick($event)\" [disabled]=\"disabled\">\r\n </ax-button>\r\n <ax-button class=\"ax-prev-button\" color=\"light\" look=\"blank\" (onClick)=\"_handlePrevClick($event)\" [disabled]=\"disabled\">\r\n <ax-prefix>\r\n <ax-icon icon=\"ax-ic ax-ic-chevron ax-transform ax-rotate-90\"></ax-icon>\r\n </ax-prefix>\r\n </ax-button>\r\n <ax-button class=\"ax-next-button\" color=\"light\" look=\"blank\" (onClick)=\"_handleNextClick($event)\" [disabled]=\"disabled\">\r\n <ax-prefix>\r\n <ax-icon icon=\"ax-ic ax-ic-chevron ax-transform ax--rotate-90\"></ax-icon>\r\n </ax-prefix>\r\n </ax-button>\r\n</div>\r\n<div class=\"ax-calendar-body\">\r\n <div [ngSwitch]=\"activeView\">\r\n <ng-container *ngSwitchCase=\"'years'\">\r\n <div class=\"ax-calendar-slots ax-calendar-slots-year\">\r\n <div tabindex=\"0\" *ngFor=\"let slot of _slots\" [ngClass]=\"slot.cssClass\" \r\n (click)=\"_handleSlotClick(slot)\">{{slot.text}}</div>\r\n </div>\r\n </ng-container>\r\n <ng-container *ngSwitchCase=\"'months'\">\r\n <div class=\"ax-calendar-slots ax-calendar-slots-month\">\r\n <div tabindex=\"0\" *ngFor=\"let slot of _slots\" [title]=\"slot.tooltip\" [ngClass]=\"slot.cssClass\" \r\n (click)=\"_handleSlotClick(slot)\">{{slot.text}}</div>\r\n </div>\r\n </ng-container>\r\n <ng-container *ngSwitchDefault>\r\n <div class=\"ax-calendar-week\">\r\n <div>SU</div>\r\n <div>MO</div>\r\n <div>TU</div>\r\n <div>WE</div>\r\n <div>TH</div>\r\n <div>FR</div>\r\n <div>SA</div>\r\n </div>\r\n <div class=\"ax-calendar-slots ax-calendar-slots-day\">\r\n <div tabindex=\"0\" *ngFor=\"let slot of _slots\" [title]=\"slot.tooltip\" [ngClass]=\"slot.cssClass\"\r\n (click)=\"_handleSlotClick(slot)\">{{slot.text}}</div>\r\n </div>\r\n </ng-container>\r\n </div>\r\n\r\n</div>\r\n<div class=\"ax-calendar-footer\">\r\n <ax-button [text]=\"_todayText\" color=\"dark\" look=\"blank\" size=\"sm\" (onClick)=\"_handleGoToday()\" [disabled]=\"disabled\"></ax-button>\r\n</div>", components: [{ type: AXButtonComponent, selector: "ax-button", inputs: ["disabled", "tabIndex", "size", "text", "submitBehavior", "cancelBehavior", "color", "look", "toggleable", "selected"], outputs: ["onBlur", "onFocus", "onClick", "selectedChange", "toggleableChange"] }, { type: AXDecoratorPrefixComponent, selector: "ax-prefix" }, { type: AXIconComponent, selector: "ax-icon", inputs: ["icon"] }], directives: [{ type: i1.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { type: i1.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i1.NgSwitchDefault, selector: "[ngSwitchDefault]" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
1779
2059
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXCalendarComponent, decorators: [{
1780
2060
  type: Component,
1781
2061
  args: [{
1782
2062
  selector: 'ax-calendar',
1783
2063
  templateUrl: './calendar.component.html',
1784
2064
  changeDetection: ChangeDetectionStrategy.OnPush,
1785
- inputs: ['disabled', 'tabIndex', 'size', 'cssClass', 'cssStyle'],
2065
+ inputs: [...VALUE_INPUTS, ...INTERACTIVE_INPUTS],
2066
+ outputs: [...VALUE_OUTPUT, ...INTERACTIVE_OUTPUT],
1786
2067
  encapsulation: ViewEncapsulation.None,
1787
2068
  }]
1788
- }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { days: [{
1789
- type: ViewChild,
1790
- args: ['days']
1791
- }], actionBar: [{
2069
+ }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { activeView: [{
2070
+ type: Input
2071
+ }], depthChange: [{
2072
+ type: Output
2073
+ }], depth: [{
2074
+ type: Input
2075
+ }], min: [{
2076
+ type: Input
2077
+ }], max: [{
2078
+ type: Input
2079
+ }], disabledDates: [{
1792
2080
  type: Input
1793
- }], showTime: [{
2081
+ }], holidayDates: [{
1794
2082
  type: Input
2083
+ }], __hostClass: [{
2084
+ type: HostBinding,
2085
+ args: ['class']
1795
2086
  }] } });
1796
2087
 
1797
- const COMPONENT$g = [AXCalendarComponent];
1798
- const MODULES$g = [CommonModule, AXButtonModule, AXEditorDecoratorModule, AXIconModule];
2088
+ const COMPONENT$i = [AXCalendarComponent];
2089
+ const MODULES$i = [CommonModule, AXButtonModule, AXIconModule, AXEditorDecoratorModule, AXDateTimeModule];
1799
2090
  class AXCalendarModule {
1800
2091
  }
1801
2092
  AXCalendarModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXCalendarModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
1802
- AXCalendarModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXCalendarModule, declarations: [AXCalendarComponent], imports: [CommonModule, AXButtonModule, AXEditorDecoratorModule, AXIconModule], exports: [AXCalendarComponent] });
1803
- AXCalendarModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXCalendarModule, providers: [], imports: [[...MODULES$g]] });
2093
+ AXCalendarModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXCalendarModule, declarations: [AXCalendarComponent], imports: [CommonModule, AXButtonModule, AXIconModule, AXEditorDecoratorModule, AXDateTimeModule], exports: [AXCalendarComponent] });
2094
+ AXCalendarModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXCalendarModule, providers: [], imports: [[...MODULES$i]] });
1804
2095
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXCalendarModule, decorators: [{
1805
2096
  type: NgModule,
1806
2097
  args: [{
1807
- declarations: [...COMPONENT$g],
1808
- imports: [...MODULES$g],
1809
- exports: [...COMPONENT$g],
2098
+ declarations: [...COMPONENT$i],
2099
+ imports: [...MODULES$i],
2100
+ exports: [...COMPONENT$i],
1810
2101
  providers: [],
1811
2102
  }]
1812
2103
  }] });
@@ -2276,100 +2567,246 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImpor
2276
2567
  }]
2277
2568
  }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: AXCarouselComponent }]; } });
2278
2569
 
2279
- const COMPONENT$f = [AXCarouselComponent, AXCarouselItemComponent, AXCarouselArrowsComponent, AXCarouselPagerComponent];
2280
- const MODULES$f = [CommonModule];
2570
+ const COMPONENT$h = [AXCarouselComponent, AXCarouselItemComponent, AXCarouselArrowsComponent, AXCarouselPagerComponent];
2571
+ const MODULES$h = [CommonModule];
2281
2572
  class AXCarouselModule {
2282
2573
  }
2283
2574
  AXCarouselModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXCarouselModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
2284
2575
  AXCarouselModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXCarouselModule, declarations: [AXCarouselComponent, AXCarouselItemComponent, AXCarouselArrowsComponent, AXCarouselPagerComponent], imports: [CommonModule], exports: [AXCarouselComponent, AXCarouselItemComponent, AXCarouselArrowsComponent, AXCarouselPagerComponent] });
2285
- AXCarouselModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXCarouselModule, providers: [], imports: [[...MODULES$f]] });
2576
+ AXCarouselModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXCarouselModule, providers: [], imports: [[...MODULES$h]] });
2286
2577
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXCarouselModule, decorators: [{
2287
2578
  type: NgModule,
2288
2579
  args: [{
2289
- declarations: [...COMPONENT$f],
2290
- imports: [...MODULES$f],
2291
- exports: [...COMPONENT$f],
2580
+ declarations: [...COMPONENT$h],
2581
+ imports: [...MODULES$h],
2582
+ exports: [...COMPONENT$h],
2292
2583
  providers: [],
2293
2584
  }]
2294
2585
  }] });
2295
2586
 
2296
- class AXCheckBoxComponent extends AXBaseValueComponentMixin {
2587
+ class AXFormFieldComponent extends AXBaseComponentMixin {
2297
2588
  constructor(elementRef, cdr) {
2298
2589
  super(elementRef, cdr);
2299
- //TODO: apply it
2300
- this.indeterminate = false;
2301
- this._id = `ax-checkbox-${Math.floor(Math.random() * 1000)}`;
2302
- }
2303
- onInit() {
2304
- super.onInit();
2305
- if (!this.indeterminate && this.value == null) {
2306
- this.value = false;
2307
- }
2308
- }
2309
- _handleOnClickEvent(e) {
2310
- if (this.readonly || this.disabled) {
2311
- e.preventDefault();
2312
- e.stopPropagation();
2313
- }
2314
2590
  }
2315
2591
  }
2316
- AXCheckBoxComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXCheckBoxComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
2317
- AXCheckBoxComponent.ɵcmp = i0.ɵɵ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, 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.CheckboxControlValueAccessor, selector: "input[type=checkbox][formControlName],input[type=checkbox][formControl],input[type=checkbox][ngModel]" }, { type: i3.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i3.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
2318
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXCheckBoxComponent, decorators: [{
2592
+ AXFormFieldComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXFormFieldComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
2593
+ AXFormFieldComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: AXFormFieldComponent, selector: "ax-form-field", usesInheritance: true, ngImport: i0, template: '<div class="ax-form-field"><ng-content></ng-content></div>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
2594
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXFormFieldComponent, decorators: [{
2319
2595
  type: Component,
2320
2596
  args: [{
2321
- selector: 'ax-check-box',
2322
- templateUrl: './checkbox.component.html',
2323
- inputs: ['disabled', 'readonly', 'tabIndex', 'size', 'value'],
2324
- outputs: ['valueChange', 'onValueChanged', 'onBlur', 'onFocus'],
2597
+ selector: 'ax-form-field',
2598
+ template: '<div class="ax-form-field"><ng-content></ng-content></div>',
2325
2599
  encapsulation: ViewEncapsulation.None,
2326
2600
  changeDetection: ChangeDetectionStrategy.OnPush,
2327
2601
  }]
2328
- }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { indeterminate: [{
2329
- type: Input
2330
- }] } });
2602
+ }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; } });
2331
2603
 
2332
- class AXCheckBoxModule {
2604
+ class AXFormHintComponent extends AXBaseComponentMixin {
2605
+ constructor(elementRef, cdr) {
2606
+ super(elementRef, cdr);
2607
+ }
2333
2608
  }
2334
- AXCheckBoxModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXCheckBoxModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
2335
- AXCheckBoxModulemod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXCheckBoxModule, declarations: [AXCheckBoxComponent], imports: [CommonModule, FormsModule], exports: [AXCheckBoxComponent] });
2336
- AXCheckBoxModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXCheckBoxModule, providers: [], imports: [[CommonModule, FormsModule]] });
2337
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXCheckBoxModule, decorators: [{
2338
- type: NgModule,
2609
+ AXFormHintComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXFormHintComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
2610
+ AXFormHintComponentcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: AXFormHintComponent, selector: "ax-form-hint", usesInheritance: true, ngImport: i0, template: ' <p class="ax-text-gray-400 ax-text-xs ax-py-1"><ng-content></ng-content></p>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
2611
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXFormHintComponent, decorators: [{
2612
+ type: Component,
2339
2613
  args: [{
2340
- declarations: [AXCheckBoxComponent],
2341
- imports: [CommonModule, FormsModule],
2342
- exports: [AXCheckBoxComponent],
2343
- providers: [],
2614
+ selector: 'ax-form-hint',
2615
+ template: ' <p class="ax-text-gray-400 ax-text-xs ax-py-1"><ng-content></ng-content></p>',
2616
+ encapsulation: ViewEncapsulation.None,
2617
+ changeDetection: ChangeDetectionStrategy.OnPush,
2344
2618
  }]
2345
- }] });
2619
+ }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; } });
2346
2620
 
2347
- class AXDataListComponent extends AXBaseSelectionValueMixin {
2621
+ class AXFormComponent extends AXBaseComponentMixin {
2348
2622
  constructor(elementRef, cdr) {
2349
2623
  super(elementRef, cdr);
2624
+ this.cdr = cdr;
2350
2625
  }
2351
- get itemTemplate() {
2352
- return this._itemTemplate ? this._itemTemplate : this._contentItemTemplate;
2353
- }
2354
- set itemTemplate(v) {
2355
- this._itemTemplate = v;
2356
- }
2357
- get emptyTemplate() {
2358
- return this._emptyTemplate ? this._emptyTemplate : this._contentEmptyTemplate;
2359
- }
2360
- set emptyTemplate(v) {
2361
- this._emptyTemplate = v;
2362
- }
2363
- get loadingTemplate() {
2364
- return this._loadingTemplate ? this._loadingTemplate : this._contentloadingTemplate;
2365
- }
2366
- set loadingTemplate(v) {
2367
- this._loadingTemplate = v;
2368
- }
2369
- _handleOnItemClick(e, item) {
2370
- this.selectItems(item);
2626
+ _getComponenets() {
2627
+ return Array.from(this._getHostElement().querySelectorAll('[ax-form-input="true"]'));
2371
2628
  }
2372
- _handleListScroll(e) {
2629
+ validate() {
2630
+ const widgets = this._getComponenets();
2631
+ //
2632
+ return new Promise((resolve, reject) => {
2633
+ if (widgets.length === 0) {
2634
+ return Promise.resolve({ result: true });
2635
+ }
2636
+ Promise.all(widgets.map((c) => c.__axContext__.validate())).then((rules) => {
2637
+ const failed = rules.filter((c) => !c.result);
2638
+ if (failed.length) {
2639
+ reject({
2640
+ result: false,
2641
+ items: failed
2642
+ });
2643
+ }
2644
+ else {
2645
+ resolve({ result: true });
2646
+ }
2647
+ });
2648
+ });
2649
+ }
2650
+ clear() {
2651
+ const widgets = this._getComponenets();
2652
+ widgets.forEach(w => {
2653
+ w.__axContext__.clear();
2654
+ });
2655
+ }
2656
+ }
2657
+ AXFormComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXFormComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
2658
+ AXFormComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: AXFormComponent, selector: "ax-form", usesInheritance: true, ngImport: i0, template: '<div class="ax-form"><ng-content></ng-content></div>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
2659
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXFormComponent, decorators: [{
2660
+ type: Component,
2661
+ args: [{
2662
+ selector: 'ax-form',
2663
+ template: '<div class="ax-form"><ng-content></ng-content></div>',
2664
+ encapsulation: ViewEncapsulation.None,
2665
+ changeDetection: ChangeDetectionStrategy.OnPush,
2666
+ }]
2667
+ }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; } });
2668
+
2669
+ class AXFormModule {
2670
+ }
2671
+ AXFormModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXFormModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
2672
+ AXFormModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXFormModule, declarations: [AXFormFieldComponent, AXFormComponent, AXFormHintComponent], imports: [CommonModule], exports: [AXFormFieldComponent, AXFormComponent, AXFormHintComponent] });
2673
+ AXFormModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXFormModule, providers: [], imports: [[CommonModule]] });
2674
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXFormModule, decorators: [{
2675
+ type: NgModule,
2676
+ args: [{
2677
+ imports: [CommonModule],
2678
+ exports: [AXFormFieldComponent, AXFormComponent, AXFormHintComponent],
2679
+ declarations: [AXFormFieldComponent, AXFormComponent, AXFormHintComponent],
2680
+ providers: [],
2681
+ }]
2682
+ }] });
2683
+
2684
+ class AXLabelComponent extends AXBaseComponentMixin {
2685
+ constructor(elementRef, cdr) {
2686
+ super(elementRef, cdr);
2687
+ }
2688
+ }
2689
+ AXLabelComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXLabelComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
2690
+ AXLabelComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: AXLabelComponent, selector: "ax-label", usesInheritance: true, ngImport: i0, template: "<label>\r\n <ng-content></ng-content>\r\n</label>", changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
2691
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXLabelComponent, decorators: [{
2692
+ type: Component,
2693
+ args: [{
2694
+ selector: 'ax-label',
2695
+ templateUrl: './label.component.html',
2696
+ changeDetection: ChangeDetectionStrategy.OnPush,
2697
+ encapsulation: ViewEncapsulation.None
2698
+ }]
2699
+ }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; } });
2700
+
2701
+ const COMPONENT$g = [AXLabelComponent];
2702
+ const MODULES$g = [CommonModule];
2703
+ class AXLabelModule {
2704
+ }
2705
+ AXLabelModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXLabelModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
2706
+ AXLabelModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXLabelModule, declarations: [AXLabelComponent], imports: [CommonModule], exports: [AXLabelComponent] });
2707
+ AXLabelModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXLabelModule, providers: [], imports: [[...MODULES$g]] });
2708
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXLabelModule, decorators: [{
2709
+ type: NgModule,
2710
+ args: [{
2711
+ declarations: [...COMPONENT$g],
2712
+ imports: [...MODULES$g],
2713
+ exports: [...COMPONENT$g],
2714
+ providers: [],
2715
+ }]
2716
+ }] });
2717
+
2718
+ class AXCheckBoxComponent extends AXBaseValueComponentMixin {
2719
+ constructor(elementRef, cdr) {
2720
+ super(elementRef, cdr);
2721
+ }
2722
+ onInit() {
2723
+ super.onInit();
2724
+ debugger;
2725
+ if (!this.allowNull && this.value == null) {
2726
+ this.value = false;
2727
+ }
2728
+ }
2729
+ _onValueChanging(value) {
2730
+ debugger;
2731
+ if (this.allowNull && value == null) {
2732
+ this._stateIndeterminate = true;
2733
+ }
2734
+ else {
2735
+ this._stateIndeterminate = false;
2736
+ value = value == true ? true : false;
2737
+ }
2738
+ return value;
2739
+ }
2740
+ _handleOnClickEvent(e) {
2741
+ debugger;
2742
+ if (this.readonly || this.disabled) {
2743
+ e.preventDefault();
2744
+ e.stopPropagation();
2745
+ return false;
2746
+ }
2747
+ }
2748
+ }
2749
+ AXCheckBoxComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXCheckBoxComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
2750
+ AXCheckBoxComponent.ɵcmp = i0.ɵɵ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, 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.CheckboxControlValueAccessor, selector: "input[type=checkbox][formControlName],input[type=checkbox][formControl],input[type=checkbox][ngModel]" }, { type: i3.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i3.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
2751
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXCheckBoxComponent, decorators: [{
2752
+ type: Component,
2753
+ args: [{
2754
+ selector: 'ax-check-box',
2755
+ templateUrl: './checkbox.component.html',
2756
+ inputs: [...INTERACTIVE_INPUTS, ...VALUE_INPUTS],
2757
+ outputs: [...INTERACTIVE_OUTPUT, ...VALUE_OUTPUT],
2758
+ encapsulation: ViewEncapsulation.None,
2759
+ changeDetection: ChangeDetectionStrategy.OnPush,
2760
+ }]
2761
+ }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { _hint: [{
2762
+ type: ContentChildren,
2763
+ args: [AXFormHintComponent]
2764
+ }], _label: [{
2765
+ type: ContentChildren,
2766
+ args: [AXLabelComponent]
2767
+ }] } });
2768
+
2769
+ class AXCheckBoxModule {
2770
+ }
2771
+ AXCheckBoxModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXCheckBoxModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
2772
+ AXCheckBoxModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXCheckBoxModule, declarations: [AXCheckBoxComponent], imports: [CommonModule, FormsModule], exports: [AXCheckBoxComponent] });
2773
+ AXCheckBoxModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXCheckBoxModule, providers: [], imports: [[CommonModule, FormsModule]] });
2774
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXCheckBoxModule, decorators: [{
2775
+ type: NgModule,
2776
+ args: [{
2777
+ declarations: [AXCheckBoxComponent],
2778
+ imports: [CommonModule, FormsModule],
2779
+ exports: [AXCheckBoxComponent],
2780
+ providers: [],
2781
+ }]
2782
+ }] });
2783
+
2784
+ class AXDataListComponent extends AXBaseSelectionValueMixin {
2785
+ constructor(elementRef, cdr) {
2786
+ super(elementRef, cdr);
2787
+ }
2788
+ get itemTemplate() {
2789
+ return this._itemTemplate ? this._itemTemplate : this._contentItemTemplate;
2790
+ }
2791
+ set itemTemplate(v) {
2792
+ this._itemTemplate = v;
2793
+ }
2794
+ get emptyTemplate() {
2795
+ return this._emptyTemplate ? this._emptyTemplate : this._contentEmptyTemplate;
2796
+ }
2797
+ set emptyTemplate(v) {
2798
+ this._emptyTemplate = v;
2799
+ }
2800
+ get loadingTemplate() {
2801
+ return this._loadingTemplate ? this._loadingTemplate : this._contentloadingTemplate;
2802
+ }
2803
+ set loadingTemplate(v) {
2804
+ this._loadingTemplate = v;
2805
+ }
2806
+ _handleOnItemClick(e, item) {
2807
+ this.selectItems(item);
2808
+ }
2809
+ _handleListScroll(e) {
2373
2810
  const list = e.target;
2374
2811
  if ((list.scrollTop < list.scrollHeight - list.clientHeight)) {
2375
2812
  return;
@@ -2421,19 +2858,19 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImpor
2421
2858
  type: Input
2422
2859
  }] } });
2423
2860
 
2424
- const COMPONENT$e = [AXDataListComponent];
2425
- const MODULES$e = [CommonModule, AXButtonModule];
2861
+ const COMPONENT$f = [AXDataListComponent];
2862
+ const MODULES$f = [CommonModule, AXButtonModule];
2426
2863
  class AXDataListModule {
2427
2864
  }
2428
2865
  AXDataListModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXDataListModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
2429
2866
  AXDataListModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXDataListModule, declarations: [AXDataListComponent], imports: [CommonModule, AXButtonModule], exports: [AXDataListComponent] });
2430
- AXDataListModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXDataListModule, providers: [], imports: [[...MODULES$e]] });
2867
+ AXDataListModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXDataListModule, providers: [], imports: [[...MODULES$f]] });
2431
2868
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXDataListModule, decorators: [{
2432
2869
  type: NgModule,
2433
2870
  args: [{
2434
- declarations: [...COMPONENT$e],
2435
- imports: [...MODULES$e],
2436
- exports: [...COMPONENT$e],
2871
+ declarations: [...COMPONENT$f],
2872
+ imports: [...MODULES$f],
2873
+ exports: [...COMPONENT$f],
2437
2874
  providers: [],
2438
2875
  }]
2439
2876
  }] });
@@ -2478,7 +2915,6 @@ class AXPopoverComponent extends AXBaseComponent {
2478
2915
  return this._target;
2479
2916
  }
2480
2917
  set target(v) {
2481
- debugger;
2482
2918
  if (v instanceof HTMLElement)
2483
2919
  this._target = v;
2484
2920
  else if (v instanceof ElementRef)
@@ -2830,7 +3266,7 @@ class AXDatepickerComponent extends AXBaseTextBoxMixin {
2830
3266
  }
2831
3267
  }
2832
3268
  AXDatepickerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXDatepickerComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
2833
- AXDatepickerComponent.ɵcmp = i0.ɵɵ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, template: "<ax-drop-down [fitParent]=\"false\" [disabled]=\"disabled\">\r\n <ng-container input>\r\n <ng-content select=\"ax-prefix\">\r\n </ng-content>\r\n <ng-content select=\"ax-suffix\">\r\n </ng-content>\r\n </ng-container>\r\n <div class=\"ax-datepicker-body\" panel>\r\n <ax-calendar [showTime]=\"true\" [actionBar]=\"true\"></ax-calendar>\r\n </div>\r\n</ax-drop-down>", components: [{ type: AXDropdownComponent, selector: "ax-drop-down", inputs: ["disabled", "tabIndex", "size", "fitParent"] }, { type: AXCalendarComponent, selector: "ax-calendar", inputs: ["disabled", "tabIndex", "size", "cssClass", "cssStyle", "actionBar", "showTime"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
3269
+ AXDatepickerComponent.ɵcmp = i0.ɵɵ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, 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.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
2834
3270
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXDatepickerComponent, decorators: [{
2835
3271
  type: Component,
2836
3272
  args: [{
@@ -2944,19 +3380,19 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImpor
2944
3380
  }]
2945
3381
  }] });
2946
3382
 
2947
- const COMPONENT$d = [AXDatepickerComponent];
2948
- const MODULES$d = [CommonModule, AXCalendarModule, AXDropdownModule];
3383
+ const COMPONENT$e = [AXDatepickerComponent];
3384
+ const MODULES$e = [CommonModule, AXCalendarModule, AXDropdownModule];
2949
3385
  class AXDatepickerModule {
2950
3386
  }
2951
3387
  AXDatepickerModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXDatepickerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
2952
3388
  AXDatepickerModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXDatepickerModule, declarations: [AXDatepickerComponent], imports: [CommonModule, AXCalendarModule, AXDropdownModule], exports: [AXDatepickerComponent] });
2953
- AXDatepickerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXDatepickerModule, providers: [], imports: [[...MODULES$d]] });
3389
+ AXDatepickerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXDatepickerModule, providers: [], imports: [[...MODULES$e]] });
2954
3390
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXDatepickerModule, decorators: [{
2955
3391
  type: NgModule,
2956
3392
  args: [{
2957
- declarations: [...COMPONENT$d],
2958
- imports: [...MODULES$d],
2959
- exports: [...COMPONENT$d],
3393
+ declarations: [...COMPONENT$e],
3394
+ imports: [...MODULES$e],
3395
+ exports: [...COMPONENT$e],
2960
3396
  providers: [],
2961
3397
  }]
2962
3398
  }] });
@@ -2988,7 +3424,7 @@ class AXDialogComponent extends AXBaseComponentMixin {
2988
3424
  }
2989
3425
  }
2990
3426
  AXDialogComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXDialogComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
2991
- AXDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: AXDialogComponent, selector: "ax-dialog", usesInheritance: true, ngImport: i0, 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$1.CdkTrapFocus, selector: "[cdkTrapFocus]", inputs: ["cdkTrapFocus", "cdkTrapFocusAutoCapture"], exportAs: ["cdkTrapFocus"] }, { type: i3$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$1.CdkDragHandle, selector: "[cdkDragHandle]", inputs: ["cdkDragHandleDisabled"] }, { type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
3427
+ AXDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: AXDialogComponent, selector: "ax-dialog", usesInheritance: true, ngImport: i0, 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$1.CdkTrapFocus, selector: "[cdkTrapFocus]", inputs: ["cdkTrapFocus", "cdkTrapFocusAutoCapture"], exportAs: ["cdkTrapFocus"] }, { type: i3$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$1.CdkDragHandle, selector: "[cdkDragHandle]", inputs: ["cdkDragHandleDisabled"] }, { type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
2992
3428
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXDialogComponent, decorators: [{
2993
3429
  type: Component,
2994
3430
  args: [{
@@ -3281,8 +3717,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImpor
3281
3717
  args: ['axIsLoading']
3282
3718
  }] } });
3283
3719
 
3284
- const COMPONENT$c = [AXLoadingComponent, AXLoadingDirective, AXLoadingSpinnerComponent];
3285
- const MODULES$c = [CommonModule, OverlayModule, PortalModule];
3720
+ const COMPONENT$d = [AXLoadingComponent, AXLoadingDirective, AXLoadingSpinnerComponent];
3721
+ const MODULES$d = [CommonModule, OverlayModule, PortalModule];
3286
3722
  class AXLoadingModule {
3287
3723
  constructor() {
3288
3724
  AXConfig.set({
@@ -3296,13 +3732,13 @@ class AXLoadingModule {
3296
3732
  }
3297
3733
  AXLoadingModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXLoadingModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
3298
3734
  AXLoadingModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXLoadingModule, declarations: [AXLoadingComponent, AXLoadingDirective, AXLoadingSpinnerComponent], imports: [CommonModule, OverlayModule, PortalModule], exports: [AXLoadingComponent, AXLoadingDirective, AXLoadingSpinnerComponent] });
3299
- AXLoadingModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXLoadingModule, providers: [], imports: [[...MODULES$c]] });
3735
+ AXLoadingModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXLoadingModule, providers: [], imports: [[...MODULES$d]] });
3300
3736
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXLoadingModule, decorators: [{
3301
3737
  type: NgModule,
3302
3738
  args: [{
3303
- declarations: [...COMPONENT$c],
3304
- imports: [...MODULES$c],
3305
- exports: [...COMPONENT$c],
3739
+ declarations: [...COMPONENT$d],
3740
+ imports: [...MODULES$d],
3741
+ exports: [...COMPONENT$d],
3306
3742
  providers: [],
3307
3743
  }]
3308
3744
  }], ctorParameters: function () { return []; } });
@@ -3614,24 +4050,20 @@ class AXPageFooterComponent {
3614
4050
  }
3615
4051
  AXPageFooterComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXPageFooterComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
3616
4052
  AXPageFooterComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: AXPageFooterComponent, selector: "ax-page-footer", viewQueries: [{ propertyName: "template", first: true, predicate: TemplateRef, descendants: true, static: true }], ngImport: i0, template: `
3617
- <ng-template>
3618
- <ng-content select="ax-prefix">
4053
+ <ng-content select="ax-prefix">
3619
4054
  </ng-content>
3620
4055
  <ng-content select="ax-suffix">
3621
4056
  </ng-content>
3622
- </ng-template>
3623
4057
  `, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
3624
4058
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXPageFooterComponent, decorators: [{
3625
4059
  type: Component,
3626
4060
  args: [{
3627
4061
  selector: 'ax-page-footer',
3628
4062
  template: `
3629
- <ng-template>
3630
- <ng-content select="ax-prefix">
4063
+ <ng-content select="ax-prefix">
3631
4064
  </ng-content>
3632
4065
  <ng-content select="ax-suffix">
3633
4066
  </ng-content>
3634
- </ng-template>
3635
4067
  `,
3636
4068
  changeDetection: ChangeDetectionStrategy.OnPush
3637
4069
  }]
@@ -3672,6 +4104,7 @@ class AXBasePageComponent {
3672
4104
  return this._isLoading;
3673
4105
  }
3674
4106
  set isLoading(v) {
4107
+ debugger;
3675
4108
  this._isLoading = v;
3676
4109
  if (this.pageContainer) {
3677
4110
  this.pageContainer.isLoading = this.isLoading;
@@ -3716,19 +4149,19 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImpor
3716
4149
  }]
3717
4150
  }] });
3718
4151
 
3719
- const COMPONENT$b = [AXDialogComponent];
3720
- const MODULES$b = [CommonModule, DragDropModule, A11yModule, AXButtonModule, AXPageModule, AXEditorDecoratorModule];
4152
+ const COMPONENT$c = [AXDialogComponent];
4153
+ const MODULES$c = [CommonModule, DragDropModule, A11yModule, AXButtonModule, AXPageModule, AXEditorDecoratorModule];
3721
4154
  class AXDialogModule {
3722
4155
  }
3723
4156
  AXDialogModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXDialogModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
3724
4157
  AXDialogModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXDialogModule, declarations: [AXDialogComponent], imports: [CommonModule, DragDropModule, A11yModule, AXButtonModule, AXPageModule, AXEditorDecoratorModule], exports: [AXDialogComponent] });
3725
- AXDialogModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXDialogModule, providers: [], imports: [[...MODULES$b]] });
4158
+ AXDialogModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXDialogModule, providers: [], imports: [[...MODULES$c]] });
3726
4159
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXDialogModule, decorators: [{
3727
4160
  type: NgModule,
3728
4161
  args: [{
3729
- declarations: [...COMPONENT$b],
3730
- imports: [...MODULES$b],
3731
- exports: [...COMPONENT$b],
4162
+ declarations: [...COMPONENT$c],
4163
+ imports: [...MODULES$c],
4164
+ exports: [...COMPONENT$c],
3732
4165
  providers: [],
3733
4166
  }]
3734
4167
  }] });
@@ -3968,207 +4401,76 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImpor
3968
4401
  }]
3969
4402
  }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; } });
3970
4403
 
3971
- const COMPONENT$a = [AXDrawerComponent, AXDrawerContainerComponent, AXDrawerContentComponent];
3972
- const MODULES$a = [CommonModule];
4404
+ const COMPONENT$b = [AXDrawerComponent, AXDrawerContainerComponent, AXDrawerContentComponent];
4405
+ const MODULES$b = [CommonModule];
3973
4406
  class AXDrawerModule {
3974
4407
  }
3975
4408
  AXDrawerModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXDrawerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
3976
4409
  AXDrawerModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXDrawerModule, declarations: [AXDrawerComponent, AXDrawerContainerComponent, AXDrawerContentComponent], imports: [CommonModule], exports: [AXDrawerComponent, AXDrawerContainerComponent, AXDrawerContentComponent] });
3977
- AXDrawerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXDrawerModule, providers: [], imports: [[...MODULES$a]] });
4410
+ AXDrawerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXDrawerModule, providers: [], imports: [[...MODULES$b]] });
3978
4411
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXDrawerModule, decorators: [{
3979
4412
  type: NgModule,
3980
4413
  args: [{
3981
- declarations: [...COMPONENT$a],
3982
- imports: [...MODULES$a],
3983
- exports: [...COMPONENT$a],
4414
+ declarations: [...COMPONENT$b],
4415
+ imports: [...MODULES$b],
4416
+ exports: [...COMPONENT$b],
3984
4417
  providers: [],
3985
4418
  }]
3986
4419
  }] });
3987
4420
 
3988
- class AXFormFieldComponent extends AXBaseComponentMixin {
3989
- constructor(elementRef, cdr) {
3990
- super(elementRef, cdr);
4421
+ class AXInputMaskComponent {
4422
+ constructor() {
4423
+ this.showMaskTyped = false;
4424
+ this.clearIfNotMatch = false;
4425
+ }
4426
+ get prefix() {
4427
+ return this._prefix || '';
4428
+ }
4429
+ set prefix(v) {
4430
+ this._prefix = v;
4431
+ }
4432
+ get suffix() {
4433
+ return this._suffix || '';
4434
+ }
4435
+ set suffix(v) {
4436
+ this._suffix = v;
3991
4437
  }
3992
4438
  }
3993
- AXFormFieldComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXFormFieldComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
3994
- AXFormFieldComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: AXFormFieldComponent, selector: "ax-form-field", usesInheritance: true, ngImport: i0, template: '<div class="ax-form-field"><ng-content></ng-content></div>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
3995
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXFormFieldComponent, decorators: [{
4439
+ AXInputMaskComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXInputMaskComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
4440
+ AXInputMaskComponent.ɵcmp = i0.ɵɵ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, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
4441
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXInputMaskComponent, decorators: [{
3996
4442
  type: Component,
3997
4443
  args: [{
3998
- selector: 'ax-form-field',
3999
- template: '<div class="ax-form-field"><ng-content></ng-content></div>',
4000
- encapsulation: ViewEncapsulation.None,
4444
+ selector: 'ax-input-mask',
4445
+ template: '',
4001
4446
  changeDetection: ChangeDetectionStrategy.OnPush,
4447
+ encapsulation: ViewEncapsulation.None,
4002
4448
  }]
4003
- }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; } });
4449
+ }], propDecorators: { prefix: [{
4450
+ type: Input
4451
+ }], suffix: [{
4452
+ type: Input
4453
+ }], showMaskTyped: [{
4454
+ type: Input
4455
+ }], clearIfNotMatch: [{
4456
+ type: Input
4457
+ }], mask: [{
4458
+ type: Input
4459
+ }] } });
4004
4460
 
4005
- class AXFormHintComponent extends AXBaseComponentMixin {
4006
- constructor(elementRef, cdr) {
4007
- super(elementRef, cdr);
4008
- }
4461
+ const COMPONENT$a = [AXInputMaskComponent];
4462
+ const MODULES$a = [CommonModule, NgxMaskModule.forRoot()];
4463
+ class AXInputMaskModule {
4009
4464
  }
4010
- AXFormHintComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXFormHintComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
4011
- AXFormHintComponentcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: AXFormHintComponent, selector: "ax-form-hint", usesInheritance: true, ngImport: i0, template: ' <p class="ax-text-gray-400 ax-text-xs ax-py-1"><ng-content></ng-content></p>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
4012
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXFormHintComponent, decorators: [{
4013
- type: Component,
4465
+ AXInputMaskModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXInputMaskModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
4466
+ AXInputMaskModulemod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXInputMaskModule, declarations: [AXInputMaskComponent], imports: [CommonModule, i1$3.NgxMaskModule], exports: [AXInputMaskComponent] });
4467
+ AXInputMaskModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXInputMaskModule, providers: [], imports: [[...MODULES$a]] });
4468
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXInputMaskModule, decorators: [{
4469
+ type: NgModule,
4014
4470
  args: [{
4015
- selector: 'ax-form-hint',
4016
- template: ' <p class="ax-text-gray-400 ax-text-xs ax-py-1"><ng-content></ng-content></p>',
4017
- encapsulation: ViewEncapsulation.None,
4018
- changeDetection: ChangeDetectionStrategy.OnPush,
4019
- }]
4020
- }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; } });
4021
-
4022
- class AXFormComponent extends AXBaseComponentMixin {
4023
- constructor(elementRef, cdr) {
4024
- super(elementRef, cdr);
4025
- this.cdr = cdr;
4026
- }
4027
- _getComponenets() {
4028
- return Array.from(this._getHostElement().querySelectorAll('[ax-form-input="true"]'));
4029
- }
4030
- validate() {
4031
- const widgets = this._getComponenets();
4032
- //
4033
- return new Promise((resolve, reject) => {
4034
- if (widgets.length === 0) {
4035
- return Promise.resolve({ result: true });
4036
- }
4037
- Promise.all(widgets.map((c) => c.__axContext__.validate())).then((rules) => {
4038
- const failed = rules.filter((c) => !c.result);
4039
- if (failed.length) {
4040
- reject({
4041
- result: false,
4042
- items: failed
4043
- });
4044
- }
4045
- else {
4046
- resolve({ result: true });
4047
- }
4048
- });
4049
- });
4050
- }
4051
- clear() {
4052
- const widgets = this._getComponenets();
4053
- widgets.forEach(w => {
4054
- w.__axContext__.clear();
4055
- });
4056
- }
4057
- }
4058
- AXFormComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXFormComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
4059
- AXFormComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: AXFormComponent, selector: "ax-form", usesInheritance: true, ngImport: i0, template: '<div class="ax-form"><ng-content></ng-content></div>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
4060
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXFormComponent, decorators: [{
4061
- type: Component,
4062
- args: [{
4063
- selector: 'ax-form',
4064
- template: '<div class="ax-form"><ng-content></ng-content></div>',
4065
- encapsulation: ViewEncapsulation.None,
4066
- changeDetection: ChangeDetectionStrategy.OnPush,
4067
- }]
4068
- }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; } });
4069
-
4070
- class AXFormModule {
4071
- }
4072
- AXFormModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXFormModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
4073
- AXFormModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXFormModule, declarations: [AXFormFieldComponent, AXFormComponent, AXFormHintComponent], imports: [CommonModule], exports: [AXFormFieldComponent, AXFormComponent, AXFormHintComponent] });
4074
- AXFormModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXFormModule, providers: [], imports: [[CommonModule]] });
4075
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXFormModule, decorators: [{
4076
- type: NgModule,
4077
- args: [{
4078
- imports: [CommonModule],
4079
- exports: [AXFormFieldComponent, AXFormComponent, AXFormHintComponent],
4080
- declarations: [AXFormFieldComponent, AXFormComponent, AXFormHintComponent],
4081
- providers: [],
4082
- }]
4083
- }] });
4084
-
4085
- class AXInputMaskComponent {
4086
- constructor() {
4087
- this.showMaskTyped = false;
4088
- this.clearIfNotMatch = false;
4089
- }
4090
- get prefix() {
4091
- return this._prefix || '';
4092
- }
4093
- set prefix(v) {
4094
- this._prefix = v;
4095
- }
4096
- get suffix() {
4097
- return this._suffix || '';
4098
- }
4099
- set suffix(v) {
4100
- this._suffix = v;
4101
- }
4102
- }
4103
- AXInputMaskComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXInputMaskComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
4104
- AXInputMaskComponent.ɵcmp = i0.ɵɵ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, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
4105
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXInputMaskComponent, decorators: [{
4106
- type: Component,
4107
- args: [{
4108
- selector: 'ax-input-mask',
4109
- template: '',
4110
- changeDetection: ChangeDetectionStrategy.OnPush,
4111
- encapsulation: ViewEncapsulation.None,
4112
- }]
4113
- }], propDecorators: { prefix: [{
4114
- type: Input
4115
- }], suffix: [{
4116
- type: Input
4117
- }], showMaskTyped: [{
4118
- type: Input
4119
- }], clearIfNotMatch: [{
4120
- type: Input
4121
- }], mask: [{
4122
- type: Input
4123
- }] } });
4124
-
4125
- const COMPONENT$9 = [AXInputMaskComponent];
4126
- const MODULES$9 = [CommonModule, NgxMaskModule.forRoot()];
4127
- class AXInputMaskModule {
4128
- }
4129
- AXInputMaskModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXInputMaskModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
4130
- AXInputMaskModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXInputMaskModule, declarations: [AXInputMaskComponent], imports: [CommonModule, i1$3.NgxMaskModule], exports: [AXInputMaskComponent] });
4131
- AXInputMaskModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXInputMaskModule, providers: [], imports: [[...MODULES$9]] });
4132
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXInputMaskModule, decorators: [{
4133
- type: NgModule,
4134
- args: [{
4135
- declarations: [...COMPONENT$9],
4136
- imports: [...MODULES$9],
4137
- exports: [...COMPONENT$9],
4138
- providers: [],
4139
- }]
4140
- }] });
4141
-
4142
- class AXLabelComponent extends AXSizableComponentMixin {
4143
- constructor(elementRef, cdr) {
4144
- super(elementRef, cdr);
4145
- }
4146
- }
4147
- AXLabelComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXLabelComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
4148
- AXLabelComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: AXLabelComponent, selector: "ax-label", usesInheritance: true, ngImport: i0, template: "<label class=\"ax-label {{size}}\">\r\n <ng-content></ng-content>\r\n</label>", changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
4149
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXLabelComponent, decorators: [{
4150
- type: Component,
4151
- args: [{
4152
- selector: 'ax-label',
4153
- templateUrl: './label.component.html',
4154
- changeDetection: ChangeDetectionStrategy.OnPush,
4155
- encapsulation: ViewEncapsulation.None
4156
- }]
4157
- }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; } });
4158
-
4159
- const COMPONENT$8 = [AXLabelComponent];
4160
- const MODULES$8 = [CommonModule];
4161
- class AXLabelModule {
4162
- }
4163
- AXLabelModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXLabelModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
4164
- AXLabelModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXLabelModule, declarations: [AXLabelComponent], imports: [CommonModule], exports: [AXLabelComponent] });
4165
- AXLabelModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXLabelModule, providers: [], imports: [[...MODULES$8]] });
4166
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXLabelModule, decorators: [{
4167
- type: NgModule,
4168
- args: [{
4169
- declarations: [...COMPONENT$8],
4170
- imports: [...MODULES$8],
4171
- exports: [...COMPONENT$8],
4471
+ declarations: [...COMPONENT$a],
4472
+ imports: [...MODULES$a],
4473
+ exports: [...COMPONENT$a],
4172
4474
  providers: [],
4173
4475
  }]
4174
4476
  }] });
@@ -4454,8 +4756,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImpor
4454
4756
  type: Input
4455
4757
  }] } });
4456
4758
 
4457
- const COMPONENT$7 = [AXNumberBoxComponent];
4458
- const MODULES$7 = [
4759
+ const COMPONENT$9 = [AXNumberBoxComponent];
4760
+ const MODULES$9 = [
4459
4761
  CommonModule,
4460
4762
  FormsModule,
4461
4763
  AXButtonModule,
@@ -4467,56 +4769,113 @@ AXNumberBoxModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", versio
4467
4769
  AXNumberBoxModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXNumberBoxModule, declarations: [AXNumberBoxComponent], imports: [CommonModule,
4468
4770
  FormsModule,
4469
4771
  AXButtonModule, i1$3.NgxMaskModule], exports: [AXNumberBoxComponent] });
4470
- AXNumberBoxModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXNumberBoxModule, providers: [], imports: [[...MODULES$7]] });
4772
+ AXNumberBoxModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXNumberBoxModule, providers: [], imports: [[...MODULES$9]] });
4471
4773
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXNumberBoxModule, decorators: [{
4472
4774
  type: NgModule,
4473
4775
  args: [{
4474
- declarations: [...COMPONENT$7],
4475
- imports: [...MODULES$7],
4476
- exports: [...COMPONENT$7],
4776
+ declarations: [...COMPONENT$9],
4777
+ imports: [...MODULES$9],
4778
+ exports: [...COMPONENT$9],
4477
4779
  providers: [],
4478
4780
  }]
4479
4781
  }] });
4480
4782
 
4481
- class AXRangeSliderComponent extends AXBaseComponentMixin {
4783
+ /**
4784
+ * The Textbox is a component which detects user interaction and triggers a corresponding event
4785
+ *
4786
+ * @category Components
4787
+ */
4788
+ class AXPasswordBoxComponent extends AXBaseTextBoxMixin {
4789
+ /**
4790
+ * @ignore
4791
+ */
4482
4792
  constructor(elementRef, cdr) {
4483
4793
  super(elementRef, cdr);
4484
- //TODO: ax-range-slider
4794
+ this._type = 'password';
4795
+ this._icon = 'ax-ic-eye';
4796
+ /**
4797
+ * A flag for showing or hiding password button.
4798
+ */
4799
+ this.showToggleButton = true;
4800
+ }
4801
+ get hostClass() {
4802
+ return `${this.cssClass} ax-${this.size}`;
4803
+ }
4804
+ toggleType() {
4805
+ if (this._type === 'password') {
4806
+ this._type = 'text';
4807
+ this._icon = 'ax-ic-eye-off';
4808
+ }
4809
+ else {
4810
+ this._type = 'password';
4811
+ this._icon = 'ax-ic-eye';
4812
+ }
4485
4813
  }
4486
4814
  }
4487
- AXRangeSliderComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXRangeSliderComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
4488
- AXRangeSliderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: AXRangeSliderComponent, selector: "ax-range-slider", host: { classAttribute: "ax-range-slider" }, usesInheritance: true, ngImport: i0, template: "<input type=\"range\" min=\"1\" max=\"100\" value=\"50\" class=\"ax-range-slider-input\">", changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
4489
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXRangeSliderComponent, decorators: [{
4815
+ AXPasswordBoxComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXPasswordBoxComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
4816
+ AXPasswordBoxComponent.ɵcmp = i0.ɵɵ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, 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.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.MaxLengthValidator, selector: "[maxlength][formControlName],[maxlength][formControl],[maxlength][ngModel]", inputs: ["maxlength"] }, { type: i3.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i3.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
4817
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXPasswordBoxComponent, decorators: [{
4490
4818
  type: Component,
4491
4819
  args: [{
4492
- selector: 'ax-range-slider',
4493
- templateUrl: './range-slider.component.html',
4494
- changeDetection: ChangeDetectionStrategy.OnPush,
4820
+ selector: 'ax-password-box',
4821
+ templateUrl: 'password-box.component.html',
4822
+ inputs: [
4823
+ 'disabled',
4824
+ 'readonly',
4825
+ 'tabIndex',
4826
+ 'cssClass',
4827
+ 'size',
4828
+ ...TEXTBOX_INPUTS,
4829
+ ],
4830
+ outputs: [
4831
+ 'valueChange',
4832
+ 'onValueChanged',
4833
+ 'onBlur',
4834
+ 'onFocus',
4835
+ ...TEXTBOX_OUTPUT,
4836
+ ],
4495
4837
  encapsulation: ViewEncapsulation.None,
4496
- host: { class: 'ax-range-slider' }
4838
+ changeDetection: ChangeDetectionStrategy.OnPush,
4839
+ host: { class: 'ax-password-box ax-editor-container' },
4497
4840
  }]
4498
- }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; } });
4841
+ }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { hostClass: [{
4842
+ type: HostBinding,
4843
+ args: ['class']
4844
+ }], showToggleButton: [{
4845
+ type: Input
4846
+ }] } });
4499
4847
 
4500
- const COMPONENT$6 = [AXRangeSliderComponent];
4501
- const MODULES$6 = [CommonModule];
4502
- class AXRangeSliderModule {
4848
+ const COMPONENT$8 = [AXPasswordBoxComponent];
4849
+ const MODULES$8 = [
4850
+ CommonModule,
4851
+ FormsModule,
4852
+ AXButtonModule,
4853
+ AXEditorDecoratorModule,
4854
+ AXIconModule
4855
+ ];
4856
+ class AXPasswordBoxModule {
4503
4857
  }
4504
- AXRangeSliderModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXRangeSliderModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
4505
- AXRangeSliderModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXRangeSliderModule, declarations: [AXRangeSliderComponent], imports: [CommonModule], exports: [AXRangeSliderComponent] });
4506
- AXRangeSliderModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXRangeSliderModule, providers: [], imports: [[...MODULES$6]] });
4507
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXRangeSliderModule, decorators: [{
4858
+ AXPasswordBoxModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXPasswordBoxModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
4859
+ AXPasswordBoxModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXPasswordBoxModule, declarations: [AXPasswordBoxComponent], imports: [CommonModule,
4860
+ FormsModule,
4861
+ AXButtonModule,
4862
+ AXEditorDecoratorModule,
4863
+ AXIconModule], exports: [AXPasswordBoxComponent] });
4864
+ AXPasswordBoxModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXPasswordBoxModule, providers: [], imports: [[...MODULES$8]] });
4865
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXPasswordBoxModule, decorators: [{
4508
4866
  type: NgModule,
4509
4867
  args: [{
4510
- declarations: [...COMPONENT$6],
4511
- imports: [...MODULES$6],
4512
- exports: [...COMPONENT$6],
4868
+ declarations: [...COMPONENT$8],
4869
+ imports: [...MODULES$8],
4870
+ exports: [...COMPONENT$8],
4513
4871
  providers: [],
4514
4872
  }]
4515
4873
  }] });
4516
4874
 
4517
4875
  class AXPopupComponent extends AXBaseComponentMixin {
4518
- constructor(elementRef, cdr, _viewContainerRef, loadingService) {
4876
+ constructor(elementRef, cdr, _zone, _viewContainerRef, loadingService) {
4519
4877
  super(elementRef, cdr);
4878
+ this._zone = _zone;
4520
4879
  this._viewContainerRef = _viewContainerRef;
4521
4880
  this.loadingService = loadingService;
4522
4881
  this.isLoading = true;
@@ -4556,9 +4915,16 @@ class AXPopupComponent extends AXBaseComponentMixin {
4556
4915
  });
4557
4916
  }
4558
4917
  }
4559
- if (ref.instance.footer) {
4560
- this._footerPortal = new TemplatePortal(ref.instance.footer.template, this._viewContainerRef, { $implicit: this.data, ref: this });
4561
- }
4918
+ this._zone.runOutsideAngular(() => {
4919
+ const main = this._getHostElement().querySelector('main');
4920
+ const footer = main.querySelector('ax-page-footer');
4921
+ if (footer) {
4922
+ const newFooter = document.createElement('footer');
4923
+ newFooter.append(...Array.from(footer.childNodes));
4924
+ main.after(newFooter);
4925
+ footer.parentNode.removeChild(footer);
4926
+ }
4927
+ });
4562
4928
  this.loadingService.hide(this._loadingId);
4563
4929
  this.focus();
4564
4930
  this._cdr.markForCheck();
@@ -4586,8 +4952,8 @@ class AXPopupComponent extends AXBaseComponentMixin {
4586
4952
  }
4587
4953
  onFullScreen() { }
4588
4954
  }
4589
- AXPopupComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXPopupComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: i0.ViewContainerRef }, { token: AXLoadingService }], target: i0.ɵɵFactoryTarget.Component });
4590
- AXPopupComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: AXPopupComponent, selector: "ax-popup", host: { listeners: { "keydown.escape": "onKeydownHandler($event)" } }, usesInheritance: true, ngImport: i0, template: "<div class=\"ax-popup-wrapper\" aria-modal=\"true\" cdkTrapFocus>\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$1.CdkTrapFocus, selector: "[cdkTrapFocus]", inputs: ["cdkTrapFocus", "cdkTrapFocusAutoCapture"], exportAs: ["cdkTrapFocus"] }, { type: i3$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.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i3$1.CdkDragHandle, selector: "[cdkDragHandle]", inputs: ["cdkDragHandleDisabled"] }, { type: i1$2.CdkPortalOutlet, selector: "[cdkPortalOutlet]", inputs: ["cdkPortalOutlet"], outputs: ["attached"], exportAs: ["cdkPortalOutlet"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
4955
+ AXPopupComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXPopupComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: i0.NgZone }, { token: i0.ViewContainerRef }, { token: AXLoadingService }], target: i0.ɵɵFactoryTarget.Component });
4956
+ AXPopupComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: AXPopupComponent, selector: "ax-popup", host: { listeners: { "keydown.escape": "onKeydownHandler($event)" } }, usesInheritance: true, ngImport: i0, template: "<div class=\"ax-popup-wrapper\" aria-modal=\"true\" cdkTrapFocus>\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$1.CdkTrapFocus, selector: "[cdkTrapFocus]", inputs: ["cdkTrapFocus", "cdkTrapFocusAutoCapture"], exportAs: ["cdkTrapFocus"] }, { type: i3$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.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i3$1.CdkDragHandle, selector: "[cdkDragHandle]", inputs: ["cdkDragHandleDisabled"] }, { type: i1$2.CdkPortalOutlet, selector: "[cdkPortalOutlet]", inputs: ["cdkPortalOutlet"], outputs: ["attached"], exportAs: ["cdkPortalOutlet"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
4591
4957
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXPopupComponent, decorators: [{
4592
4958
  type: Component,
4593
4959
  args: [{
@@ -4596,7 +4962,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImpor
4596
4962
  changeDetection: ChangeDetectionStrategy.OnPush,
4597
4963
  encapsulation: ViewEncapsulation.None,
4598
4964
  }]
4599
- }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: i0.ViewContainerRef }, { type: AXLoadingService }]; }, propDecorators: { onKeydownHandler: [{
4965
+ }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: i0.NgZone }, { type: i0.ViewContainerRef }, { type: AXLoadingService }]; }, propDecorators: { onKeydownHandler: [{
4600
4966
  type: HostListener,
4601
4967
  args: ['keydown.escape', ['$event']]
4602
4968
  }] } });
@@ -4690,20 +5056,92 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImpor
4690
5056
  type: Injectable
4691
5057
  }], ctorParameters: function () { return [{ type: AXOverlayService }]; } });
4692
5058
 
4693
- const COMPONENT$5 = [AXPopupComponent];
4694
- const MODULES$5 = [CommonModule, DragDropModule, A11yModule, AXButtonModule, PortalModule];
5059
+ const COMPONENT$7 = [AXPopupComponent];
5060
+ const MODULES$7 = [CommonModule, DragDropModule, A11yModule, AXButtonModule, PortalModule];
4695
5061
  class AXPopupModule {
4696
5062
  }
4697
5063
  AXPopupModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXPopupModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
4698
5064
  AXPopupModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXPopupModule, declarations: [AXPopupComponent], imports: [CommonModule, DragDropModule, A11yModule, AXButtonModule, PortalModule], exports: [AXPopupComponent] });
4699
- AXPopupModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXPopupModule, providers: [AXPopupService], imports: [[...MODULES$5]] });
5065
+ AXPopupModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXPopupModule, providers: [AXPopupService], imports: [[...MODULES$7]] });
4700
5066
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXPopupModule, decorators: [{
5067
+ type: NgModule,
5068
+ args: [{
5069
+ declarations: [...COMPONENT$7],
5070
+ imports: [...MODULES$7],
5071
+ exports: [...COMPONENT$7],
5072
+ providers: [AXPopupService],
5073
+ }]
5074
+ }] });
5075
+
5076
+ class AXRadioComponent extends AXBaseComponentMixin {
5077
+ constructor(elementRef, cdr) {
5078
+ super(elementRef, cdr);
5079
+ //TODO: ax-radio
5080
+ }
5081
+ }
5082
+ AXRadioComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXRadioComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
5083
+ AXRadioComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: AXRadioComponent, selector: "ax-radio", host: { classAttribute: "ax-radio" }, usesInheritance: true, ngImport: i0, 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.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
5084
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXRadioComponent, decorators: [{
5085
+ type: Component,
5086
+ args: [{
5087
+ selector: 'ax-radio',
5088
+ templateUrl: './radio.component.html',
5089
+ changeDetection: ChangeDetectionStrategy.OnPush,
5090
+ encapsulation: ViewEncapsulation.None,
5091
+ host: { class: 'ax-radio' }
5092
+ }]
5093
+ }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; } });
5094
+
5095
+ const COMPONENT$6 = [AXRadioComponent];
5096
+ const MODULES$6 = [CommonModule];
5097
+ class AXRadioModule {
5098
+ }
5099
+ AXRadioModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXRadioModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
5100
+ AXRadioModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXRadioModule, declarations: [AXRadioComponent], imports: [CommonModule], exports: [AXRadioComponent] });
5101
+ AXRadioModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXRadioModule, providers: [], imports: [[...MODULES$6]] });
5102
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXRadioModule, decorators: [{
5103
+ type: NgModule,
5104
+ args: [{
5105
+ declarations: [...COMPONENT$6],
5106
+ imports: [...MODULES$6],
5107
+ exports: [...COMPONENT$6],
5108
+ providers: [],
5109
+ }]
5110
+ }] });
5111
+
5112
+ class AXRangeSliderComponent extends AXBaseComponentMixin {
5113
+ constructor(elementRef, cdr) {
5114
+ super(elementRef, cdr);
5115
+ //TODO: ax-range-slider
5116
+ }
5117
+ }
5118
+ AXRangeSliderComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXRangeSliderComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
5119
+ AXRangeSliderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: AXRangeSliderComponent, selector: "ax-range-slider", host: { classAttribute: "ax-range-slider" }, usesInheritance: true, ngImport: i0, template: "<input type=\"range\" min=\"1\" max=\"100\" value=\"50\" class=\"ax-range-slider-input\">", changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
5120
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXRangeSliderComponent, decorators: [{
5121
+ type: Component,
5122
+ args: [{
5123
+ selector: 'ax-range-slider',
5124
+ templateUrl: './range-slider.component.html',
5125
+ changeDetection: ChangeDetectionStrategy.OnPush,
5126
+ encapsulation: ViewEncapsulation.None,
5127
+ host: { class: 'ax-range-slider' }
5128
+ }]
5129
+ }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; } });
5130
+
5131
+ const COMPONENT$5 = [AXRangeSliderComponent];
5132
+ const MODULES$5 = [CommonModule];
5133
+ class AXRangeSliderModule {
5134
+ }
5135
+ AXRangeSliderModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXRangeSliderModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
5136
+ AXRangeSliderModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXRangeSliderModule, declarations: [AXRangeSliderComponent], imports: [CommonModule], exports: [AXRangeSliderComponent] });
5137
+ AXRangeSliderModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXRangeSliderModule, providers: [], imports: [[...MODULES$5]] });
5138
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXRangeSliderModule, decorators: [{
4701
5139
  type: NgModule,
4702
5140
  args: [{
4703
5141
  declarations: [...COMPONENT$5],
4704
5142
  imports: [...MODULES$5],
4705
5143
  exports: [...COMPONENT$5],
4706
- providers: [AXPopupService],
5144
+ providers: [],
4707
5145
  }]
4708
5146
  }] });
4709
5147
 
@@ -4756,6 +5194,10 @@ class AXSelectBoxComponent extends AXBaseSelectionDropdownMixin {
4756
5194
  this.unselectItems(item);
4757
5195
  e.stopPropagation();
4758
5196
  }
5197
+ _handleBadgeRemove(e, item) {
5198
+ this.unselectItems(item);
5199
+ e.stopPropagation();
5200
+ }
4759
5201
  _handleKeydown(e) {
4760
5202
  if (!(this._getHostElement() == document.activeElement ||
4761
5203
  this._getHostElement().contains(document.activeElement) ||
@@ -4871,7 +5313,7 @@ class AXSelectBoxComponent extends AXBaseSelectionDropdownMixin {
4871
5313
  }
4872
5314
  }
4873
5315
  AXSelectBoxComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXSelectBoxComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
4874
- AXSelectBoxComponent.ɵcmp = i0.ɵɵ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, template: "<ax-drop-down (onOpened)=\"_emitOnOpenedEvent()\" (onClosed)=\"_emitOnClosedEvent()\">\r\n <ng-container input>\r\n <ng-content select=\"ax-prefix\">\r\n </ng-content>\r\n <div class=\"ax-select-box-selection\" [tabindex]=\"tabIndex\" (focus)=\"_emitOnFocusEvent($event)\"\r\n (blur)=\"_emitOnBlurEvent($event)\">\r\n <div class=\"ax-dropdown-chips\">\r\n <div *ngFor=\"let item of selectedItems\"\r\n [ngClass]=\"{'ax-badge ax-primary ax-m-1': multiple,'ax-badge':!multiple}\"\r\n [title]=\"_getItemDisplayTextTemplte(item)\">\r\n <span> {{ _getItemDisplayTextTemplte(item) }}</span>\r\n <i class=\"ax-ic ax-ic-close ax-text-base\" (click)=\"_handleOnRemoveItemClick($event,item)\"\r\n *ngIf=\" (readonly!=true) && multiple && disabled!=true && (allowNull==true || (selectedItems.length> 1))\">\r\n </i>\r\n\r\n </div>\r\n </div>\r\n <!-- <div class=\"ax-selectbox-input\">\r\n <input type=\"text\" [tabindex]=\"tabIndex\" (focus)=\"_emitOnFocusEvent($event)\" (blur)=\"_emitOnBlurEvent($event)\" (keydown)=\"_handleKeydown($event)\">\r\n </div> -->\r\n <ng-content select=\"ax-suffix\">\r\n </ng-content>\r\n </div>\r\n </ng-container>\r\n <div class=\"ax-list ax-list-container\" panel>\r\n <div class=\"ax-list-items-container ax-vertical ax-default\" (scroll)=\"_handleListScroll($event)\" #listContainer>\r\n <ng-container *ngFor=\"let item of displayItems;let i = index;trackBy : _trackByFunction\">\r\n <ng-container *ngIf=\"itemTemplate; else elseTemplate\">\r\n <div class=\"ax-list-item\" (click)=\"_handleOnItemClick($event,item)\">\r\n <ng-container *ngTemplateOutlet=\"itemTemplate; context: { $implicit: item,direction:direction}\">\r\n </ng-container>\r\n </div>\r\n </ng-container>\r\n <ng-template #elseTemplate>\r\n <div class=\"ax-list-item\" [class.ax-state-selected]=\"isItemSelected(item)\" [attr.tabindex]=\"i\"\r\n (click)=\"_handleOnItemClick($event,item)\">\r\n {{ _getItemDisplayTextTemplte(item) }}\r\n </div>\r\n </ng-template>\r\n </ng-container>\r\n <ng-container *ngIf=\"(displayItems==null || displayItems.length==0) && !isLoading\">\r\n <ng-container *ngIf=\"emptyTemplate; else elseEmptyTemplate\">\r\n <ng-container *ngTemplateOutlet=\"elseEmptyTemplate\">\r\n </ng-container>\r\n </ng-container>\r\n <ng-template #elseTemplate>\r\n Empty!\r\n </ng-template>\r\n </ng-container>\r\n <ng-container *ngIf=\"isLoading\">\r\n <ng-container *ngIf=\"loadingTemplate; else elseLoadingTemplate\">\r\n <ng-container *ngTemplateOutlet=\"loadingTemplate\">\r\n </ng-container>\r\n </ng-container>\r\n <ng-template #elseLoadingTemplate>\r\n <div class=\"ax-list-loading-container\">\r\n <div><i class=\"fas fa-spinner ax-animate-spin\"></i> Loading ...</div>\r\n </div>\r\n </ng-template>\r\n </ng-container>\r\n </div>\r\n </div>\r\n</ax-drop-down>", components: [{ type: AXDropdownComponent, selector: "ax-drop-down", inputs: ["disabled", "tabIndex", "size", "fitParent"] }], directives: [{ type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
5316
+ AXSelectBoxComponent.ɵcmp = i0.ɵɵ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, template: "<ax-drop-down (onOpened)=\"_emitOnOpenedEvent()\" (onClosed)=\"_emitOnClosedEvent()\">\r\n <ng-container input>\r\n <ng-content select=\"ax-prefix\">\r\n </ng-content>\r\n <div class=\"ax-select-box-selection\" [tabindex]=\"tabIndex\" (focus)=\"_emitOnFocusEvent($event)\" (blur)=\"_emitOnBlurEvent($event)\">\r\n <ng-container *ngIf=\"!multiple; then singleSelectedTemplate; else multipleSelectedTemplate\"></ng-container>\r\n <ng-template #singleSelectedTemplate>\r\n <ng-container *ngFor=\"let item of selectedItems\">\r\n <span class=\"ax-mx-2\"> {{ _getItemDisplayTextTemplte(item) }}</span>\r\n </ng-container>\r\n </ng-template>\r\n <ng-template #multipleSelectedTemplate>\r\n <div class=\"ax-flex ax-mx-2\">\r\n <ng-container *ngFor=\"let item of selectedItems\">\r\n <ax-badge [text]=\"_getItemDisplayTextTemplte(item)\" color=\"light\" class=\"ax-me-2\">\r\n <ax-suffix>\r\n <ax-icon icon=\"ax-ic ax-ic-close\" (click)=\"_handleBadgeRemove($event,item)\"></ax-icon>\r\n </ax-suffix>\r\n </ax-badge>\r\n </ng-container>\r\n </div>\r\n </ng-template>\r\n <!-- <div class=\"ax-selectbox-input\">\r\n <input type=\"text\" [tabindex]=\"tabIndex\" (focus)=\"_emitOnFocusEvent($event)\" (blur)=\"_emitOnBlurEvent($event)\" (keydown)=\"_handleKeydown($event)\">\r\n </div> -->\r\n <ng-content select=\"ax-suffix\">\r\n </ng-content>\r\n </div>\r\n </ng-container>\r\n <div class=\"ax-list ax-list-container\" panel>\r\n <div class=\"ax-list-items-container ax-vertical ax-default\" (scroll)=\"_handleListScroll($event)\" #listContainer>\r\n <ng-container *ngFor=\"let item of displayItems;let i = index;trackBy : _trackByFunction\">\r\n <ng-container *ngIf=\"itemTemplate; else defualtTemplate\">\r\n <div class=\"ax-list-item\" (click)=\"_handleOnItemClick($event,item)\">\r\n <ng-container *ngTemplateOutlet=\"itemTemplate; context: { $implicit: item,direction:direction}\">\r\n </ng-container>\r\n </div>\r\n </ng-container>\r\n <ng-template #defualtTemplate>\r\n <ng-container *ngIf=\"!multiple; then singleTemplate; else multipleTemplate\"></ng-container>\r\n <ng-template #singleTemplate>\r\n <div class=\"ax-list-item\" [class.ax-state-selected]=\"isItemSelected(item)\" [attr.tabindex]=\"i\" (click)=\"_handleOnItemClick($event,item)\">\r\n {{ _getItemDisplayTextTemplte(item) }}\r\n </div>\r\n </ng-template>\r\n <ng-template #multipleTemplate>\r\n <div class=\"ax-list-item\" [class.ax-state-selected]=\"isItemSelected(item)\" [attr.tabindex]=\"i\" (click)=\"_handleOnItemClick($event,item)\">\r\n <ax-check-box [value]=\"isItemSelected(item)\">\r\n </ax-check-box>\r\n {{ _getItemDisplayTextTemplte(item) }}\r\n\r\n </div>\r\n </ng-template>\r\n </ng-template>\r\n </ng-container>\r\n <ng-container *ngIf=\"(displayItems==null || displayItems.length==0) && !isLoading\">\r\n <ng-container *ngIf=\"emptyTemplate; else elseEmptyTemplate\">\r\n <ng-container *ngTemplateOutlet=\"elseEmptyTemplate\">\r\n </ng-container>\r\n </ng-container>\r\n <ng-template #elseTemplate>\r\n Empty!\r\n </ng-template>\r\n </ng-container>\r\n <ng-container *ngIf=\"isLoading\">\r\n <ng-container *ngIf=\"loadingTemplate; else elseLoadingTemplate\">\r\n <ng-container *ngTemplateOutlet=\"loadingTemplate\">\r\n </ng-container>\r\n </ng-container>\r\n <ng-template #elseLoadingTemplate>\r\n <div class=\"ax-list-loading-container\">\r\n <div><i class=\"fas fa-spinner ax-animate-spin\"></i> Loading ...</div>\r\n </div>\r\n </ng-template>\r\n </ng-container>\r\n </div>\r\n </div>\r\n</ax-drop-down>", components: [{ type: AXDropdownComponent, selector: "ax-drop-down", inputs: ["disabled", "tabIndex", "size", "fitParent"] }, { type: AXBadgeComponent, selector: "ax-badge", inputs: ["text", "color"] }, { type: AXDecoratorSuffixComponent, selector: "ax-suffix" }, { type: AXIconComponent, selector: "ax-icon", inputs: ["icon"] }, { type: AXCheckBoxComponent, selector: "ax-check-box", inputs: ["disabled", "tabIndex", "readonly", "allowNull", "value", "debounceTime", "name"], outputs: ["onBlur", "onFocus", "valueChange", "onValueChanged"] }], directives: [{ type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
4875
5317
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXSelectBoxComponent, decorators: [{
4876
5318
  type: Component,
4877
5319
  args: [{
@@ -4897,12 +5339,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImpor
4897
5339
  class AXSelectBoxModule {
4898
5340
  }
4899
5341
  AXSelectBoxModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXSelectBoxModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
4900
- AXSelectBoxModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXSelectBoxModule, declarations: [AXSelectBoxComponent], imports: [CommonModule, AXDropdownModule, FormsModule], exports: [AXSelectBoxComponent] });
4901
- AXSelectBoxModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXSelectBoxModule, providers: [], imports: [[CommonModule, AXDropdownModule, FormsModule]] });
5342
+ AXSelectBoxModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXSelectBoxModule, declarations: [AXSelectBoxComponent], imports: [CommonModule, AXDropdownModule, FormsModule, AXCheckBoxModule, AXBadgeModule, AXEditorDecoratorModule, AXIconModule], exports: [AXSelectBoxComponent] });
5343
+ AXSelectBoxModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXSelectBoxModule, providers: [], imports: [[CommonModule, AXDropdownModule, FormsModule, AXCheckBoxModule, AXBadgeModule, AXEditorDecoratorModule, AXIconModule]] });
4902
5344
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXSelectBoxModule, decorators: [{
4903
5345
  type: NgModule,
4904
5346
  args: [{
4905
- imports: [CommonModule, AXDropdownModule, FormsModule],
5347
+ imports: [CommonModule, AXDropdownModule, FormsModule, AXCheckBoxModule, AXBadgeModule, AXEditorDecoratorModule, AXIconModule],
4906
5348
  exports: [AXSelectBoxComponent],
4907
5349
  declarations: [AXSelectBoxComponent],
4908
5350
  providers: [],
@@ -4925,7 +5367,7 @@ class AXSelectionListComponent extends AXBaseSelectionValueMixin {
4925
5367
  }
4926
5368
  }
4927
5369
  AXSelectionListComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXSelectionListComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
4928
- AXSelectionListComponent.ɵcmp = i0.ɵɵ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, template: "<div class=\"ax-selection-list ax-{{direction}}\">\r\n <ng-container *ngIf=\"multiple; then checkboxList; else radioButtonList\"></ng-container>\r\n <ng-template #checkboxList>\r\n <ng-container *ngFor=\"let item of displayItems;let i = index\">\r\n <div class=\"ax-flex ax-items-start ax-checkbox-container ax-mb-2\">\r\n <div class=\"ax-flex ax-items-center ax-h-5\">\r\n <input [id]=\"'ax-checkbox'+i\" class=\"ax-checkbox\" type=\"checkbox\" (change)=\"_handleOnItemValueChange(item, $event)\" [checked]=\"isItemSelected(item)\" [disabled]=\"disabled || item.disabled\" [readonly]=\"readonly || item.readonly\">\r\n </div>\r\n <div class=\"ax-ms-3 ax-text-sm\">\r\n <label [for]=\"'ax-checkbox'+i\" class=\"ax-font-medium ax-text-light-700\"> {{item[textField]}}</label>\r\n <p class=\"ax-text-light-500\"> {{item.hint}}</p>\r\n </div>\r\n </div>\r\n </ng-container>\r\n </ng-template>\r\n <ng-template #radioButtonList>\r\n <ng-container *ngFor=\"let item of displayItems;let i = index\">\r\n <div class=\"ax-flex ax-items-start ax-radio-container ax-mb-2\">\r\n <div class=\"ax-flex ax-items-center ax-h-5\">\r\n <input [id]=\"'ax-radio-'+i\" class=\"ax-radio\" type=\"radio\" [attr.name]=\"'g'+id\" (change)=\"_handleOnItemValueChange(item, $event)\" [checked]=\"isItemSelected(item)\" [disabled]=\"disabled || item.disabled\" [readonly]=\"readonly || item.readonly\">\r\n </div>\r\n <div class=\"ax-ms-3 ax-text-sm\">\r\n <label [for]=\"'ax-radio-'+i\" class=\"ax-font-medium ax-text-light-700\"> {{item[textField]}}</label>\r\n <p class=\"ax-text-light-500\"> {{item.hint}}</p>\r\n </div>\r\n </div>\r\n </ng-container>\r\n </ng-template>\r\n <ng-content select=\"ax-validation-rule\">\r\n </ng-content>\r\n</div>", directives: [{ type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
5370
+ AXSelectionListComponent.ɵcmp = i0.ɵɵ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, template: "<div class=\"ax-selection-list ax-{{direction}}\">\r\n <ng-container *ngIf=\"multiple; then checkboxList; else radioButtonList\"></ng-container>\r\n <ng-template #checkboxList>\r\n <ng-container *ngFor=\"let item of displayItems;let i = index\">\r\n <div class=\"ax-flex ax-items-start ax-checkbox-container ax-mb-2\">\r\n <div class=\"ax-flex ax-items-center ax-h-5\">\r\n <input [id]=\"id+'-'+i\" class=\"ax-checkbox\" type=\"checkbox\" (change)=\"_handleOnItemValueChange(item, $event)\" [checked]=\"isItemSelected(item)\" [disabled]=\"disabled || item.disabled\" [readonly]=\"readonly || item.readonly\">\r\n </div>\r\n <div class=\"ax-ms-3 ax-text-sm\">\r\n <label [for]=\"id+'-'+i\" class=\"ax-font-medium ax-text-light-700\"> {{item[textField]}}</label>\r\n <p class=\"ax-text-light-500\"> {{item.hint ? item.hint : item[hintField]}}</p>\r\n </div>\r\n </div>\r\n </ng-container>\r\n </ng-template>\r\n <ng-template #radioButtonList>\r\n <ng-container *ngFor=\"let item of displayItems;let i = index\">\r\n <div class=\"ax-flex ax-items-start ax-radio-container ax-mb-2\">\r\n <div class=\"ax-flex ax-items-center ax-h-5\">\r\n <input [id]=\"id+'-'+i\" class=\"ax-radio\" type=\"radio\" [attr.name]=\"id\" (change)=\"_handleOnItemValueChange(item, $event)\" [checked]=\"isItemSelected(item)\" [disabled]=\"disabled || item.disabled\" [readonly]=\"readonly || item.readonly\">\r\n </div>\r\n <div class=\"ax-ms-3 ax-text-sm\">\r\n <label [for]=\"id+'-'+i\" class=\"ax-font-medium ax-text-light-700\"> {{item[textField]}}</label>\r\n <p class=\"ax-text-light-500\"> {{item.hint ? item.hint : item[hintField]}}</p>\r\n </div>\r\n </div>\r\n </ng-container>\r\n </ng-template>\r\n <ng-content select=\"ax-validation-rule\">\r\n </ng-content>\r\n</div>", directives: [{ type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
4929
5371
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXSelectionListComponent, decorators: [{
4930
5372
  type: Component,
4931
5373
  args: [{
@@ -5048,7 +5490,7 @@ class AXTabStripComponent extends AXSizableComponentMixin {
5048
5490
  super(elementRef, cdr);
5049
5491
  this.mode = 'default';
5050
5492
  this.direction = "horizontal";
5051
- this.fullWidth = false;
5493
+ this.fitParent = false;
5052
5494
  this.minWidth = false;
5053
5495
  this.onSelectionChanged = new EventEmitter();
5054
5496
  }
@@ -5076,9 +5518,12 @@ class AXTabStripComponent extends AXSizableComponentMixin {
5076
5518
  htmlElement: this._getHostElement(),
5077
5519
  });
5078
5520
  }
5521
+ get __hostClass() {
5522
+ return [`ax-tabs`, `ax-tabs-${this.mode ? this.mode : 'default'}`, `ax-tabs-${this.direction}`, `${this.fitParent ? 'ax-tabs-fit' : ''}`].join(' ');
5523
+ }
5079
5524
  }
5080
5525
  AXTabStripComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXTabStripComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
5081
- AXTabStripComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: AXTabStripComponent, selector: "ax-tab-strip", inputs: { size: "size", cssClass: "cssClass", items: "items", mode: "mode", direction: "direction", fullWidth: "fullWidth", minWidth: "minWidth" }, outputs: { onSelectionChanged: "onSelectionChanged" }, host: { classAttribute: "ax-tab-strip" }, usesInheritance: true, ngImport: i0, template: "<div class=\"ax-tabs ax-tabs-{{mode}} ax-tabs-{{direction}} {{cssClass}}\" [class.ax-tabs-full]=\"fullWidth\" [class.ax-tabs-min-width]=\"minWidth\">\r\n <div class=\"ax-tab-item-container\">\r\n <ng-container *ngFor=\"let item of items;let i = index\">\r\n <div class=\"ax-tab-item\" [class.ax-state-active]=\"item.active\" [class.ax-state-disabled]=\"item.disabled\" *ngIf=\"item.visible!=false\" (click)=\"_handleClick(item,i)\">\r\n <span *ngIf=\"item.iconClassBefore || item.iconClass\"><i\r\n class=\"ax-icon {{item.iconClassBefore || item.iconClass}}\"></i>\r\n <ng-container *ngIf=\"item.text\">&nbsp;&nbsp;</ng-container>\r\n </span>\r\n <span *ngIf=\"item.text\">{{item.text}}</span>\r\n <span *ngIf=\"item.iconClassAfter\">\r\n <ng-container *ngIf=\"item.text\">&nbsp;&nbsp;</ng-container><i\r\n class=\"ax-icon {{item.iconClassAfter}}\"></i>\r\n </span>\r\n <!-- <span *ngIf=\"badge\" class=\"ax-badge\">\r\n <ng-container *ngIf=\"text\">&nbsp;&nbsp;</ng-container>{{badge}}\r\n </span> -->\r\n </div>\r\n </ng-container>\r\n </div>\r\n</div>", directives: [{ type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
5526
+ AXTabStripComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: AXTabStripComponent, selector: "ax-tab-strip", inputs: { size: "size", items: "items", mode: "mode", direction: "direction", fitParent: "fitParent", minWidth: "minWidth" }, outputs: { onSelectionChanged: "onSelectionChanged" }, host: { properties: { "class": "this.__hostClass" }, classAttribute: "ax-tab-strip" }, usesInheritance: true, ngImport: i0, template: "<ng-container *ngFor=\"let item of items;let i = index\">\r\n <div class=\"ax-tab-item\" [class.ax-state-active]=\"item.active\" [class.ax-state-disabled]=\"item.disabled\" *ngIf=\"item.visible!=false\" (click)=\"_handleClick(item,i)\">\r\n <ng-content select=\"ax-prefix\"></ng-content>\r\n <span *ngIf=\"item.text\">{{item.text}}</span>\r\n <ng-content select=\"ax-suffix\"></ng-content>\r\n </div>\r\n</ng-container>", changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
5082
5527
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXTabStripComponent, decorators: [{
5083
5528
  type: Component,
5084
5529
  args: [{
@@ -5086,7 +5531,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImpor
5086
5531
  templateUrl: './tab-strip.component.html',
5087
5532
  changeDetection: ChangeDetectionStrategy.OnPush,
5088
5533
  encapsulation: ViewEncapsulation.None,
5089
- inputs: ['size', 'cssClass'],
5534
+ inputs: ['size'],
5090
5535
  host: { class: 'ax-tab-strip' },
5091
5536
  }]
5092
5537
  }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { items: [{
@@ -5095,12 +5540,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImpor
5095
5540
  type: Input
5096
5541
  }], direction: [{
5097
5542
  type: Input
5098
- }], fullWidth: [{
5543
+ }], fitParent: [{
5099
5544
  type: Input
5100
5545
  }], minWidth: [{
5101
5546
  type: Input
5102
5547
  }], onSelectionChanged: [{
5103
5548
  type: Output
5549
+ }], __hostClass: [{
5550
+ type: HostBinding,
5551
+ args: ['class']
5104
5552
  }] } });
5105
5553
 
5106
5554
  class AXTabComponent extends AXBaseComponentMixin {
@@ -5127,7 +5575,7 @@ AXTabComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version
5127
5575
  <ng-content>
5128
5576
  </ng-content>
5129
5577
  </div>
5130
- `, isInline: true, directives: [{ type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
5578
+ `, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
5131
5579
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXTabComponent, decorators: [{
5132
5580
  type: Component,
5133
5581
  args: [{
@@ -5158,7 +5606,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImpor
5158
5606
  type: Input
5159
5607
  }] } });
5160
5608
 
5161
- class AXTabViewComponent extends AXTabStripComponent {
5609
+ class AXTabViewComponent extends AXBaseComponent {
5162
5610
  constructor(elementRef, cdr) {
5163
5611
  super(elementRef, cdr);
5164
5612
  this._tabs = [];
@@ -5183,7 +5631,7 @@ class AXTabViewComponent extends AXTabStripComponent {
5183
5631
  }
5184
5632
  }
5185
5633
  AXTabViewComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXTabViewComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
5186
- AXTabViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: AXTabViewComponent, selector: "ax-tab-view", inputs: { size: "size" }, host: { classAttribute: "ax-tab-view" }, queries: [{ propertyName: "_contentTabs", predicate: AXTabComponent }], usesInheritance: true, ngImport: i0, template: "<ax-tab-strip [items]=\"_tabs\" [fullWidth]=\"fullWidth\" [mode]=\"mode\" [minWidth]=\"minWidth\" [size]=\"size\"\r\n (onSelectionChanged)=\"_handleSelectionChanged($event)\">\r\n\r\n</ax-tab-strip>\r\n<div class=\"ax-tab-view-container\">\r\n <ng-content select=\"ax-tab\">\r\n </ng-content>\r\n</div>", components: [{ type: AXTabStripComponent, selector: "ax-tab-strip", inputs: ["size", "cssClass", "items", "mode", "direction", "fullWidth", "minWidth"], outputs: ["onSelectionChanged"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
5634
+ AXTabViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: AXTabViewComponent, selector: "ax-tab-view", inputs: { size: "size" }, host: { classAttribute: "ax-tab-view" }, queries: [{ propertyName: "_contentTabs", predicate: AXTabComponent }], usesInheritance: true, ngImport: i0, template: "<!-- <ax-tab-strip [items]=\"_tabs\" (onSelectionChanged)=\"_handleSelectionChanged($event)\">\r\n\r\n</ax-tab-strip> -->\r\n<div class=\"ax-tab-view-container\">\r\n <ng-content select=\"ax-tab\">\r\n </ng-content>\r\n</div>", changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
5187
5635
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXTabViewComponent, decorators: [{
5188
5636
  type: Component,
5189
5637
  args: [{
@@ -5199,15 +5647,192 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImpor
5199
5647
  args: [AXTabComponent]
5200
5648
  }] } });
5201
5649
 
5650
+ class AXTabItemComponent extends AXBaseClickableMixin {
5651
+ constructor(elementRef, cdr) {
5652
+ super(elementRef, cdr);
5653
+ this.width = false;
5654
+ this.activeChange = new EventEmitter();
5655
+ this._active = false;
5656
+ }
5657
+ get active() {
5658
+ return this._active;
5659
+ }
5660
+ set active(v) {
5661
+ this._active = v;
5662
+ this.activeChange.emit(v);
5663
+ v ? this._getHostElement().classList.add('ax-state-active') : this._getHostElement().classList.remove('ax-state-active');
5664
+ this._cdr.detectChanges();
5665
+ }
5666
+ // @HostBinding('class')
5667
+ // private get __hostClass(): string {
5668
+ // debugger;
5669
+ // const classes: any = {
5670
+ // 'ax-state-active': this.active
5671
+ // }
5672
+ // return Object.entries(classes).filter(c => c[1]).map(c => c[0]).join(' ');
5673
+ // }
5674
+ __hostClick(e) {
5675
+ this.onClick.emit({
5676
+ component: this,
5677
+ htmlElement: this._getHostElement(),
5678
+ nativeEvent: e
5679
+ });
5680
+ }
5681
+ }
5682
+ AXTabItemComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXTabItemComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
5683
+ AXTabItemComponent.ɵcmp = i0.ɵɵ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: TemplateRef, descendants: true, static: true }], viewQueries: [{ propertyName: "template", first: true, predicate: ["content"], descendants: true }], usesInheritance: true, ngImport: i0, template: `
5684
+ <ng-container *ngIf="headerTemplate;else header">
5685
+ <ng-container [ngTemplateOutlet]="headerTemplate" [ngTemplateOutletContext]="{ $implicit: {text,active} }"></ng-container>
5686
+ </ng-container>
5687
+ <ng-template #header>
5688
+ <ng-content select="ax-prefix"></ng-content>
5689
+ <span>{{text}}</span>
5690
+ <ng-content select="ax-suffix"></ng-content>
5691
+ </ng-template>
5692
+ <ng-template #content>
5693
+ <ng-content select="ax-content">
5694
+ </ng-content>
5695
+ </ng-template>
5696
+ `, isInline: true, directives: [{ type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
5697
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXTabItemComponent, decorators: [{
5698
+ type: Component,
5699
+ args: [{
5700
+ selector: 'ax-tab-item',
5701
+ template: `
5702
+ <ng-container *ngIf="headerTemplate;else header">
5703
+ <ng-container [ngTemplateOutlet]="headerTemplate" [ngTemplateOutletContext]="{ $implicit: {text,active} }"></ng-container>
5704
+ </ng-container>
5705
+ <ng-template #header>
5706
+ <ng-content select="ax-prefix"></ng-content>
5707
+ <span>{{text}}</span>
5708
+ <ng-content select="ax-suffix"></ng-content>
5709
+ </ng-template>
5710
+ <ng-template #content>
5711
+ <ng-content select="ax-content">
5712
+ </ng-content>
5713
+ </ng-template>
5714
+ `,
5715
+ changeDetection: ChangeDetectionStrategy.OnPush,
5716
+ encapsulation: ViewEncapsulation.None,
5717
+ }]
5718
+ }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { text: [{
5719
+ type: Input
5720
+ }], width: [{
5721
+ type: Input
5722
+ }], template: [{
5723
+ type: ViewChild,
5724
+ args: ['content']
5725
+ }], headerTemplate: [{
5726
+ type: ContentChild,
5727
+ args: [TemplateRef, { static: true }]
5728
+ }], activeChange: [{
5729
+ type: Output
5730
+ }], active: [{
5731
+ type: Input
5732
+ }], __hostClick: [{
5733
+ type: HostListener,
5734
+ args: ['click', ['$event']]
5735
+ }] } });
5736
+
5737
+ class AXTabsComponent extends AXBaseComponent {
5738
+ constructor(elementRef, cdr) {
5739
+ super(elementRef, cdr);
5740
+ this.fitParent = false;
5741
+ this.minWidth = false;
5742
+ }
5743
+ onRenderCssClass() {
5744
+ const classList = Array.from(this._getHostElement().classList);
5745
+ if (!classList.some(c => ['ax-vertical', 'ax-horizontal'].includes(c))) {
5746
+ this._getHostElement().classList.add('ax-horizontal');
5747
+ }
5748
+ if (!classList.some(c => c.startsWith('ax-look-'))) {
5749
+ this._getHostElement().classList.add('ax-look-default');
5750
+ }
5751
+ }
5752
+ onViewInit() {
5753
+ this._handleSelectionChanged(this._contentTabs.get(0));
5754
+ this._contentTabs.forEach(c => {
5755
+ c.onClick.subscribe(t => {
5756
+ this._handleSelectionChanged(c);
5757
+ });
5758
+ });
5759
+ }
5760
+ _handleSelectionChanged(e) {
5761
+ this._contentTabs.filter(c => c != e).forEach(c => { c.active = false; });
5762
+ e.active = true;
5763
+ if (this.content) {
5764
+ this.content.portal = e.template;
5765
+ }
5766
+ this._cdr.markForCheck();
5767
+ }
5768
+ }
5769
+ AXTabsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXTabsComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
5770
+ AXTabsComponent.ɵcmp = i0.ɵɵ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, template: `
5771
+ <div class="ax-items-wrapper">
5772
+ <ng-content select="ax-tab-item">
5773
+ </ng-content>
5774
+ </div>
5775
+ `, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
5776
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXTabsComponent, decorators: [{
5777
+ type: Component,
5778
+ args: [{
5779
+ selector: 'ax-tabs',
5780
+ template: `
5781
+ <div class="ax-items-wrapper">
5782
+ <ng-content select="ax-tab-item">
5783
+ </ng-content>
5784
+ </div>
5785
+ `,
5786
+ changeDetection: ChangeDetectionStrategy.OnPush,
5787
+ encapsulation: ViewEncapsulation.None,
5788
+ }]
5789
+ }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { _contentTabs: [{
5790
+ type: ContentChildren,
5791
+ args: [AXTabItemComponent]
5792
+ }], fitParent: [{
5793
+ type: Input
5794
+ }], minWidth: [{
5795
+ type: Input
5796
+ }], content: [{
5797
+ type: Input
5798
+ }] } });
5799
+
5202
5800
  class AXTabStripChangedEvent extends AXEvent {
5203
5801
  }
5204
5802
 
5205
- const COMPONENT$3 = [AXTabViewComponent, AXTabStripComponent, AXTabComponent];
5206
- const MODULES$3 = [CommonModule];
5803
+ class AXTabContentDirective {
5804
+ constructor(_viewContainerRef) {
5805
+ this._viewContainerRef = _viewContainerRef;
5806
+ }
5807
+ get portal() {
5808
+ return this._portal;
5809
+ }
5810
+ set portal(v) {
5811
+ //debugger;
5812
+ if (v) {
5813
+ this._portal = v;
5814
+ this._viewContainerRef.clear();
5815
+ const viewRef = this._viewContainerRef.createEmbeddedView(v, null, 0);
5816
+ }
5817
+ }
5818
+ }
5819
+ AXTabContentDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXTabContentDirective, deps: [{ token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive });
5820
+ AXTabContentDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.6", type: AXTabContentDirective, selector: "[axTabContent]", inputs: { portal: ["axTabContent", "portal"] }, exportAs: ["axTabContent"], ngImport: i0 });
5821
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXTabContentDirective, decorators: [{
5822
+ type: Directive,
5823
+ args: [{
5824
+ selector: '[axTabContent]',
5825
+ exportAs: 'axTabContent',
5826
+ inputs: ['portal: axTabContent'],
5827
+ }]
5828
+ }], ctorParameters: function () { return [{ type: i0.ViewContainerRef }]; } });
5829
+
5830
+ const COMPONENT$3 = [AXTabsComponent, AXTabItemComponent, AXTabContentDirective];
5831
+ const MODULES$3 = [CommonModule, PortalModule, AXEditorDecoratorModule];
5207
5832
  class AXTabsModule {
5208
5833
  }
5209
5834
  AXTabsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXTabsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
5210
- AXTabsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXTabsModule, declarations: [AXTabViewComponent, AXTabStripComponent, AXTabComponent], imports: [CommonModule], exports: [AXTabViewComponent, AXTabStripComponent, AXTabComponent] });
5835
+ AXTabsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXTabsModule, declarations: [AXTabsComponent, AXTabItemComponent, AXTabContentDirective], imports: [CommonModule, PortalModule, AXEditorDecoratorModule], exports: [AXTabsComponent, AXTabItemComponent, AXTabContentDirective] });
5211
5836
  AXTabsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXTabsModule, providers: [], imports: [[...MODULES$3]] });
5212
5837
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXTabsModule, decorators: [{
5213
5838
  type: NgModule,
@@ -5908,5 +6533,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImpor
5908
6533
  * Generated bundle index. Do not edit.
5909
6534
  */
5910
6535
 
5911
- export { AXAlertButtonComponent, AXAlertComponent, AXAlertContentComponent, AXAlertFooterComponent, AXAlertModule, AXAlertSuffixComponent, AXAlertTitleComponent, AXAvatarComponent, AXAvatarModule, AXBaseButtonMixin, AXBaseClickableMixin, AXBaseComponent, AXBaseComponentMixin, AXBaseItemButtonMixin, AXBasePageComponent, AXBaseSelectionDropdownMixin, AXBaseSelectionValueMixin, AXBaseTextBoxMixin, AXBaseValueComponentMixin, AXBaseValueDropdownMixin, AXButtonClickEvent, AXButtonComponent, AXButtonGroupComponent, AXButtonItemComponent, AXButtonModule, AXCalendarComponent, AXCalendarMixin, AXCalendarModule, AXCarouselArrowsComponent, AXCarouselComponent, AXCarouselCore, AXCarouselItemComponent, AXCarouselModule, AXCarouselPagerComponent, AXCheckBoxComponent, AXCheckBoxModule, AXClickEvent, AXCommonModule, AXDataListComponent, AXDataListModule, AXDatepickerComponent, AXDatepickerModule, AXDecoratorPrefixComponent, AXDecoratorSuffixComponent, AXDialogComponent, AXDialogModule, AXDialogService, AXDrawerComponent, AXDrawerContainerComponent, AXDrawerContentComponent, AXDrawerModule, AXDropdownComponent, AXDropdownModule, AXDropdownPanelComponent, AXEditorDecoratorModule, AXEvent, AXFocusEvent, AXFormComponent, AXFormFieldComponent, AXFormHintComponent, AXFormModule, AXHtmlEvent, AXIconComponent, AXIconModule, AXInputMaskComponent, AXInputMaskModule, AXInteractiveComponenetMixin, AXItemClickEvent, AXLabelComponent, AXLabelModule, AXLoadingComponent, AXLoadingDirective, AXLoadingModule, AXLoadingService, AXLoadingSpinnerComponent, AXNumberBoxComponent, AXNumberBoxModule, AXPageCloseEvent, AXPageClosedPromise, AXPageClosing, AXPageComponent, AXPageFooterComponent, AXPageModule, AXPageResult, AXPopoverComponent, AXPopoverModule, AXPopupComponent, AXPopupModule, AXPopupService, AXRangeSliderComponent, AXRangeSliderModule, AXResponsiveDirective, AXSelectBoxComponent, AXSelectBoxModule, AXSelectionListComponent, AXSelectionListModule, AXSelectionValueChangedEvent, AXSideMenuComponent, AXSideMenuModule, AXSizableComponentMixin, AXSwitchComponent, AXSwitchModule, AXTabComponent, AXTabStripChangedEvent, AXTabStripComponent, AXTabViewComponent, AXTabsModule, AXTextBoxComponent, AXTextBoxModule, AXTimeBoxComponent, AXTimeBoxModule, AXToastComponent, AXToastModule, AXToastService, AXTooltipComponent, AXTooltipDirective, AXTooltipModule, AXValidationModule, AXValidationRuleComponent, AXValidationRules, AXValueChangedEvent, AX_DIRECTIONS, AX_LOCATIONS, AX_STYLE_TYPES, BASE_INPUTS, BASE_OUTPUT, TAB_META_KEY, _BaseComponenetMixin };
6536
+ export { AXAlertButtonComponent, AXAlertComponent, AXAlertContentComponent, AXAlertFooterComponent, AXAlertModule, AXAlertSuffixComponent, AXAlertTitleComponent, AXAvatarComponent, AXAvatarModule, AXBadgeComponent, AXBadgeModule, AXBaseButtonMixin, AXBaseClickableMixin, AXBaseComponent, AXBaseComponentMixin, AXBaseItemButtonMixin, AXBasePageComponent, AXBaseSelectionDropdownMixin, AXBaseSelectionValueMixin, AXBaseTextBoxMixin, AXBaseValueComponentMixin, AXBaseValueDropdownMixin, AXButtonClickEvent, AXButtonComponent, AXButtonGroupComponent, AXButtonItemComponent, AXButtonModule, AXCalendarComponent, AXCalendarComponentMixin, AXCalendarModule, AXCarouselArrowsComponent, AXCarouselComponent, AXCarouselCore, AXCarouselItemComponent, AXCarouselModule, AXCarouselPagerComponent, AXCheckBoxComponent, AXCheckBoxModule, AXClickEvent, AXCommonModule, AXDataListComponent, AXDataListModule, AXDatepickerComponent, AXDatepickerModule, AXDecoratorContentComponent, AXDecoratorPrefixComponent, AXDecoratorSuffixComponent, AXDialogComponent, AXDialogModule, AXDialogService, AXDrawerComponent, AXDrawerContainerComponent, AXDrawerContentComponent, AXDrawerModule, AXDropdownComponent, AXDropdownModule, AXDropdownPanelComponent, AXEditorDecoratorModule, AXEvent, AXFocusEvent, AXFormComponent, AXFormFieldComponent, AXFormHintComponent, AXFormModule, AXHtmlEvent, AXIconComponent, AXIconModule, AXInputMaskComponent, AXInputMaskModule, AXInteractiveComponenetMixin, AXItemClickEvent, AXLabelComponent, AXLabelModule, AXLoadingComponent, AXLoadingDirective, AXLoadingModule, AXLoadingService, AXLoadingSpinnerComponent, AXNumberBoxComponent, AXNumberBoxModule, AXPageCloseEvent, AXPageClosedPromise, AXPageClosing, AXPageComponent, AXPageFooterComponent, AXPageModule, AXPageResult, AXPasswordBoxComponent, AXPasswordBoxModule, AXPopoverComponent, AXPopoverModule, AXPopupComponent, AXPopupModule, AXPopupService, AXRadioComponent, AXRadioModule, AXRangeSliderComponent, AXRangeSliderModule, AXResponsiveDirective, AXSelectBoxComponent, AXSelectBoxModule, AXSelectionListComponent, AXSelectionListModule, AXSelectionValueChangedEvent, AXSideMenuComponent, AXSideMenuModule, AXSizableComponentMixin, AXSwitchComponent, AXSwitchModule, AXTabContentDirective, AXTabItemComponent, AXTabStripChangedEvent, AXTabStripComponent, AXTabViewComponent, AXTabsComponent, AXTabsModule, AXTextBoxComponent, AXTextBoxModule, AXTimeBoxComponent, AXTimeBoxModule, AXToastComponent, AXToastModule, AXToastService, AXTooltipComponent, AXTooltipDirective, AXTooltipModule, AXValidationModule, AXValidationRuleComponent, AXValidationRules, AXValueChangedEvent, AX_DIRECTIONS, AX_LOCATIONS, AX_STYLE_TYPES, BASE_INPUTS, BASE_OUTPUT, TAB_META_KEY, _BaseComponenetMixin };
5912
6537
  //# sourceMappingURL=acorex-components.js.map