@acorex/components 5.0.53 → 5.0.56

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.
@@ -1,6 +1,7 @@
1
- import { __classPrivateFieldSet, __classPrivateFieldGet } from 'tslib';
1
+ import { trigger, state, style, transition, animate } from '@angular/animations';
2
2
  import * as i0 from '@angular/core';
3
- import { Injectable, Inject, EventEmitter, Directive, Input, NgModule, Component, ChangeDetectionStrategy, ViewEncapsulation, HostBinding, HostListener, Output, ContentChildren, Optional, ContentChild, ViewChild, TemplateRef, ElementRef, ViewChildren } from '@angular/core';
3
+ import { Injectable, Inject, EventEmitter, Directive, Input, NgModule, Component, ChangeDetectionStrategy, ViewEncapsulation, HostListener, HostBinding, Output, ContentChildren, Optional, ContentChild, ViewChild, TemplateRef, ElementRef, ViewChildren } from '@angular/core';
4
+ import { __classPrivateFieldSet, __classPrivateFieldGet } from 'tslib';
4
5
  import _ from 'lodash';
5
6
  import { coerceBooleanProperty, coerceNumberProperty } from '@angular/cdk/coercion';
6
7
  import * as i1$3 from '@acorex/core';
@@ -9,6 +10,7 @@ import { Subscription, Subject, fromEvent, merge, asyncScheduler, BehaviorSubjec
9
10
  import { debounceTime, distinctUntilChanged, map, pairwise, filter, startWith, exhaustMap, observeOn, finalize, throttleTime } from 'rxjs/operators';
10
11
  import * as i1 from '@angular/common';
11
12
  import { CommonModule, DOCUMENT } from '@angular/common';
13
+ import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
12
14
  import * as i1$1 from '@angular/forms';
13
15
  import { FormsModule } from '@angular/forms';
14
16
  import * as i1$2 from '@angular/cdk/portal';
@@ -25,7 +27,6 @@ import { DragDropModule } from '@angular/cdk/drag-drop';
25
27
  import IMask from 'imask';
26
28
  import * as i5 from 'angular-imask';
27
29
  import { IMaskModule, IMaskDirective } from 'angular-imask';
28
- import { trigger, transition, style, animate } from '@angular/animations';
29
30
 
30
31
  var _AXBaseComponent_elementRef;
31
32
  class AXBaseComponent {
@@ -1223,885 +1224,1307 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
1223
1224
  }]
1224
1225
  }] });
1225
1226
 
1226
- var _AXAlertComponent_visible;
1227
- const AXBaseAlertMixin = _ColorLookComponentMixin(AXBaseComponent);
1227
+ class AXActionSheetComponent extends AXBaseComponent {
1228
+ /**
1229
+ * @ignore
1230
+ */
1231
+ constructor(_elementRef, _cdr) {
1232
+ super(_elementRef, _cdr);
1233
+ this.caption = '';
1234
+ this.closeOnBackdrop = true;
1235
+ this.isOpen = false;
1236
+ }
1237
+ _handleBackdropClick() {
1238
+ if (!this.closeOnBackdrop)
1239
+ return;
1240
+ this.close();
1241
+ }
1242
+ ngAfterViewInit() {
1243
+ }
1244
+ open() {
1245
+ this.isOpen = true;
1246
+ }
1247
+ close() {
1248
+ this.isOpen = false;
1249
+ }
1250
+ toggle() {
1251
+ debugger;
1252
+ this.isOpen = !this.isOpen;
1253
+ }
1254
+ }
1255
+ AXActionSheetComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXActionSheetComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
1256
+ AXActionSheetComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: AXActionSheetComponent, selector: "ax-action-sheet", inputs: { caption: "caption", closeOnBackdrop: "closeOnBackdrop" }, usesInheritance: true, ngImport: i0, template: "<div class=\"ax-action-sheet-backdrop\" [@backdrop]=\"isOpen ? 'show' : 'hide'\" (click)=\"_handleBackdropClick()\"></div>\r\n<div class=\"ax-action-sheet-container\" [@openClose]=\"isOpen ? 'open' : 'closed'\">\r\n <div class=\"ax-bg-white ax-h-full dark:ax-bg-dark-700\">\r\n <div class=\"ax-action-sheet-caption\" *ngIf=\"caption\">\r\n {{caption}}\r\n </div>\r\n <ng-content select=\"ax-content\"></ng-content>\r\n <div class=\"ax-action-sheet-items\">\r\n <ng-content select=\"ax-action-sheet-item\"></ng-content>\r\n </div>\r\n \r\n </div>\r\n</div>", directives: [{ type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], animations: [
1257
+ trigger('backdrop', [
1258
+ state('show', style({
1259
+ opacity: 1,
1260
+ visibility: 'visible'
1261
+ })),
1262
+ state('hide', style({
1263
+ visibility: 'hidden',
1264
+ opacity: 0
1265
+ })),
1266
+ transition('show <=> hide', [animate('0.2s')]),
1267
+ ]),
1268
+ trigger('openClose', [
1269
+ state('open', style({
1270
+ bottom: '0',
1271
+ opacity: 1
1272
+ })),
1273
+ state('closed', style({
1274
+ bottom: '-100%',
1275
+ opacity: 0.5
1276
+ })),
1277
+ transition('open <=> closed', [animate('0.2s')])
1278
+ ]),
1279
+ ] });
1280
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXActionSheetComponent, decorators: [{
1281
+ type: Component,
1282
+ args: [{ selector: 'ax-action-sheet', animations: [
1283
+ trigger('backdrop', [
1284
+ state('show', style({
1285
+ opacity: 1,
1286
+ visibility: 'visible'
1287
+ })),
1288
+ state('hide', style({
1289
+ visibility: 'hidden',
1290
+ opacity: 0
1291
+ })),
1292
+ transition('show <=> hide', [animate('0.2s')]),
1293
+ ]),
1294
+ trigger('openClose', [
1295
+ state('open', style({
1296
+ bottom: '0',
1297
+ opacity: 1
1298
+ })),
1299
+ state('closed', style({
1300
+ bottom: '-100%',
1301
+ opacity: 0.5
1302
+ })),
1303
+ transition('open <=> closed', [animate('0.2s')])
1304
+ ]),
1305
+ ], template: "<div class=\"ax-action-sheet-backdrop\" [@backdrop]=\"isOpen ? 'show' : 'hide'\" (click)=\"_handleBackdropClick()\"></div>\r\n<div class=\"ax-action-sheet-container\" [@openClose]=\"isOpen ? 'open' : 'closed'\">\r\n <div class=\"ax-bg-white ax-h-full dark:ax-bg-dark-700\">\r\n <div class=\"ax-action-sheet-caption\" *ngIf=\"caption\">\r\n {{caption}}\r\n </div>\r\n <ng-content select=\"ax-content\"></ng-content>\r\n <div class=\"ax-action-sheet-items\">\r\n <ng-content select=\"ax-action-sheet-item\"></ng-content>\r\n </div>\r\n \r\n </div>\r\n</div>" }]
1306
+ }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { caption: [{
1307
+ type: Input
1308
+ }], closeOnBackdrop: [{
1309
+ type: Input
1310
+ }] } });
1311
+
1228
1312
  /**
1229
- * Regular description
1313
+ * The Button is a component which detects user interaction and triggers a corresponding event
1230
1314
  *
1231
1315
  * @category Components
1232
1316
  */
1233
- class AXAlertComponent extends AXBaseAlertMixin {
1317
+ class AXButtonComponent extends AXBaseButtonMixin {
1234
1318
  /**
1235
1319
  * @ignore
1236
1320
  */
1237
1321
  constructor(elementRef, cdr) {
1238
1322
  super(elementRef, cdr);
1239
- this.showIcon = true;
1240
- _AXAlertComponent_visible.set(this, void 0);
1241
- }
1242
- _onOptionChanged(option) {
1243
- if (option.name == 'color') {
1244
- switch (this.color) {
1245
- case 'success':
1246
- this.icon = 'ax-ic ax-ic-check-filled';
1247
- break;
1248
- case 'warning':
1249
- this.icon = 'ax-ic-warning-filled';
1250
- break;
1251
- case 'danger':
1252
- this.icon = 'ax-ic-error-filled';
1253
- break;
1254
- default:
1255
- this.icon = 'ax-ic ax-ic-info-filled';
1256
- break;
1257
- }
1258
- }
1259
- }
1260
- /**
1261
- * @ignore
1262
- */
1263
- get __hostClass() {
1264
- // return ` ax-alert ax-none ax-${this.color}-default ax-${this.look}-default`;
1265
- const _class = this.look ? `ax-${this.color}-${this.look}` : `ax-${this.color}-default`;
1266
- return `ax-alert ax-none ${_class}`;
1267
- }
1268
- /**
1269
- * set the visibility of the Alert
1270
- */
1271
- get visible() {
1272
- return __classPrivateFieldGet(this, _AXAlertComponent_visible, "f");
1273
- }
1274
- set visible(v) {
1275
- if (__classPrivateFieldGet(this, _AXAlertComponent_visible, "f") != v) {
1276
- __classPrivateFieldSet(this, _AXAlertComponent_visible, v, "f");
1277
- const host = this._getHostElement();
1278
- if (v) {
1279
- host.classList.remove('ax-state-hidden');
1280
- host.classList.add('ax-state-visible');
1281
- }
1282
- else {
1283
- host.classList.add('ax-state-hidden');
1284
- host.classList.toggle('ax-state-visible');
1285
- }
1286
- }
1287
1323
  }
1288
- onInit() {
1289
- if (this.timeOut) {
1290
- setTimeout(() => {
1291
- this.dismiss();
1292
- }, this.timeOut);
1324
+ onKeydownHandler(e) {
1325
+ if (e.code === 'Enter') {
1326
+ this._getHostElement().click();
1293
1327
  }
1294
1328
  }
1295
- onViewInit() {
1296
- if (this.visible == undefined) {
1297
- this.visible = true;
1329
+ _emitOnClickEvent(e) {
1330
+ if (this.disabled)
1331
+ return;
1332
+ if (this.toggleable) {
1333
+ this.selected = !this.selected;
1298
1334
  }
1335
+ super._emitOnClickEvent(e);
1299
1336
  }
1300
- /**
1301
- * Remove the alert from the container
1302
- */
1303
- dismiss() {
1304
- const host = this._getHostElement();
1305
- this.visible = false;
1306
- const func = () => {
1307
- host.parentElement.removeChild(host);
1308
- };
1309
- host.addEventListener('transitionend', func);
1337
+ _emitOnFocusEvent(e) {
1338
+ super._emitOnFocusEvent(e);
1310
1339
  }
1311
- /**
1312
- * Hide the alert
1313
- */
1314
- hide() {
1315
- this.visible = false;
1340
+ _emitOnBlurEvent(e) {
1341
+ super._emitOnBlurEvent(e);
1316
1342
  }
1317
- /**
1318
- * Show the alert
1319
- */
1320
- show() {
1321
- this.visible = true;
1343
+ get __hostClass() {
1344
+ return Object.entries(this._classes).filter(c => c[1]).map(c => c[0]).join(' ');
1322
1345
  }
1323
1346
  }
1324
- _AXAlertComponent_visible = new WeakMap();
1325
- AXAlertComponentfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXAlertComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
1326
- AXAlertComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: AXAlertComponent, selector: "ax-alert", inputs: { color: "color", look: "look", icon: "icon", showIcon: "showIcon", timeOut: "timeOut", visible: "visible" }, host: { properties: { "class": "this.__hostClass" } }, usesInheritance: true, ngImport: i0, template: "<div class=\"ax-alert-icon\" *ngIf=\"icon && showIcon\">\r\n <i class=\"{{icon}} fa-lg\"></i>\r\n</div>\r\n<div class=\"ax-alert-body\">\r\n <ng-content select=\"ax-alert-title\">\r\n </ng-content>\r\n <ng-content select=\"ax-alert-content\">\r\n </ng-content>\r\n <ng-content select=\"ax-alert-footer\">\r\n </ng-content>\r\n</div>\r\n<ng-content select=\"ax-alert-suffix\">\r\n</ng-content>", directives: [{ type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
1327
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXAlertComponent, decorators: [{
1347
+ AXButtonComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXButtonComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
1348
+ AXButtonComponentcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: AXButtonComponent, selector: "ax-button", inputs: { disabled: "disabled", tabIndex: "tabIndex", size: "size", color: "color", look: "look", text: "text", submitBehavior: "submitBehavior", cancelBehavior: "cancelBehavior", toggleable: "toggleable", selected: "selected" }, outputs: { onBlur: "onBlur", onFocus: "onFocus", onClick: "onClick", selectedChange: "selectedChange", toggleableChange: "toggleableChange" }, host: { attributes: { "role": "button" }, listeners: { "keyup": "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 });
1349
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXButtonComponent, decorators: [{
1328
1350
  type: Component,
1329
- args: [{ selector: 'ax-alert', changeDetection: ChangeDetectionStrategy.OnPush, inputs: [...COLOR_LOOK_INPUTS], encapsulation: ViewEncapsulation.None, template: "<div class=\"ax-alert-icon\" *ngIf=\"icon && showIcon\">\r\n <i class=\"{{icon}} fa-lg\"></i>\r\n</div>\r\n<div class=\"ax-alert-body\">\r\n <ng-content select=\"ax-alert-title\">\r\n </ng-content>\r\n <ng-content select=\"ax-alert-content\">\r\n </ng-content>\r\n <ng-content select=\"ax-alert-footer\">\r\n </ng-content>\r\n</div>\r\n<ng-content select=\"ax-alert-suffix\">\r\n</ng-content>" }]
1330
- }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { icon: [{
1331
- type: Input
1332
- }], showIcon: [{
1333
- type: Input
1351
+ args: [{ selector: 'ax-button', inputs: ['disabled', 'tabIndex', 'size', ...COLOR_LOOK_INPUTS, ...BUTTON_INPUTS], outputs: [...BUTTON_OUTPUT], changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, host: { role: 'button' }, 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> -->" }]
1352
+ }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { onKeydownHandler: [{
1353
+ type: HostListener,
1354
+ args: ['keyup', ['$event']]
1355
+ }], _emitOnClickEvent: [{
1356
+ type: HostListener,
1357
+ args: ['click', ['$event']]
1358
+ }], _emitOnFocusEvent: [{
1359
+ type: HostListener,
1360
+ args: ['focus', ['$event']]
1361
+ }], _emitOnBlurEvent: [{
1362
+ type: HostListener,
1363
+ args: ['blur', ['$event']]
1334
1364
  }], __hostClass: [{
1335
1365
  type: HostBinding,
1336
1366
  args: ['class']
1337
- }], timeOut: [{
1338
- type: Input
1339
- }], visible: [{
1340
- type: Input
1341
1367
  }] } });
1342
1368
 
1343
- class AXAlertTitleComponent {
1344
- }
1345
- AXAlertTitleComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXAlertTitleComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
1346
- AXAlertTitleComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: AXAlertTitleComponent, selector: "ax-alert-title", host: { classAttribute: "ax-alert-title" }, ngImport: i0, template: `
1347
- <ng-content>
1348
- </ng-content>
1349
- `, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
1350
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXAlertTitleComponent, decorators: [{
1351
- type: Component,
1352
- args: [{
1353
- selector: 'ax-alert-title',
1354
- template: `
1355
- <ng-content>
1356
- </ng-content>
1357
- `,
1358
- changeDetection: ChangeDetectionStrategy.OnPush,
1359
- encapsulation: ViewEncapsulation.None,
1360
- host: { class: 'ax-alert-title' }
1361
- }]
1362
- }] });
1363
-
1364
- class AXAlertButtonComponent extends AXBaseClickableMixin {
1365
- constructor(elementRef, cdr) {
1366
- super(elementRef, cdr);
1367
- }
1368
- _handleOnClick(e) {
1369
- this._emitOnClickEvent(e);
1370
- }
1371
- _handleOnFocus(e) {
1372
- this._emitOnFocusEvent(e);
1369
+ class AXActionSheetItemComponent extends AXBaseComponent {
1370
+ /**
1371
+ * @ignore
1372
+ */
1373
+ constructor(_elementRef, _cdr) {
1374
+ super(_elementRef, _cdr);
1375
+ this.color = 'light';
1376
+ this.onClick = new EventEmitter();
1373
1377
  }
1374
- _handleOnBlur(e) {
1375
- this._emitOnBlurEvent(e);
1378
+ handleOnClick(e) {
1379
+ this.onClick.emit(e);
1376
1380
  }
1377
1381
  }
1378
- AXAlertButtonComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXAlertButtonComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
1379
- AXAlertButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: AXAlertButtonComponent, selector: "ax-alert-button", inputs: { text: "text", icon: "icon" }, outputs: { onBlur: "onBlur", onFocus: "onFocus", onClick: "onClick", selectedChange: "selectedChange", toggleableChange: "toggleableChange" }, host: { listeners: { "click": "_handleOnClick($event)", "focus": "_handleOnFocus($event)", "blur": "_handleOnBlur($event)" }, classAttribute: "ax-alert-button" }, usesInheritance: true, ngImport: i0, template: `
1380
- {{text}}
1381
- <ng-content select="ax-icon"></ng-content>
1382
- `, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
1383
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXAlertButtonComponent, decorators: [{
1382
+ AXActionSheetItemComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXActionSheetItemComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
1383
+ AXActionSheetItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: AXActionSheetItemComponent, selector: "ax-action-sheet-item", inputs: { text: "text", color: "color" }, outputs: { onClick: "onClick" }, usesInheritance: true, ngImport: i0, template: `
1384
+ <ax-button [color]="color" look="blank" [text]="text" (onClick)="handleOnClick($event)"></ax-button>
1385
+ `, isInline: true, components: [{ type: AXButtonComponent, selector: "ax-button", inputs: ["disabled", "tabIndex", "size", "color", "look", "text", "submitBehavior", "cancelBehavior", "toggleable", "selected"], outputs: ["onBlur", "onFocus", "onClick", "selectedChange", "toggleableChange"] }] });
1386
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXActionSheetItemComponent, decorators: [{
1384
1387
  type: Component,
1385
1388
  args: [{
1386
- selector: 'ax-alert-button',
1389
+ selector: 'ax-action-sheet-item',
1387
1390
  template: `
1388
- {{text}}
1389
- <ng-content select="ax-icon"></ng-content>
1390
- `,
1391
- changeDetection: ChangeDetectionStrategy.OnPush,
1392
- encapsulation: ViewEncapsulation.None,
1393
- outputs: [...BUTTON_OUTPUT],
1394
- host: { class: 'ax-alert-button' }
1391
+ <ax-button [color]="color" look="blank" [text]="text" (onClick)="handleOnClick($event)"></ax-button>
1392
+ `
1395
1393
  }]
1396
1394
  }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { text: [{
1397
1395
  type: Input
1398
- }], icon: [{
1396
+ }], color: [{
1399
1397
  type: Input
1400
- }], _handleOnClick: [{
1401
- type: HostListener,
1402
- args: ['click', ['$event']]
1403
- }], _handleOnFocus: [{
1404
- type: HostListener,
1405
- args: ['focus', ['$event']]
1406
- }], _handleOnBlur: [{
1407
- type: HostListener,
1408
- args: ['blur', ['$event']]
1398
+ }], onClick: [{
1399
+ type: Output
1409
1400
  }] } });
1410
1401
 
1411
- class AXAlertContentComponent {
1412
- }
1413
- AXAlertContentComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXAlertContentComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
1414
- AXAlertContentComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: AXAlertContentComponent, selector: "ax-alert-content", host: { classAttribute: "ax-alert-content" }, ngImport: i0, template: `<ng-content>
1415
- </ng-content>
1416
- `, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
1417
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXAlertContentComponent, decorators: [{
1418
- type: Component,
1419
- args: [{
1420
- selector: 'ax-alert-content',
1421
- template: `<ng-content>
1422
- </ng-content>
1423
- `,
1424
- changeDetection: ChangeDetectionStrategy.OnPush,
1425
- encapsulation: ViewEncapsulation.None,
1426
- host: { class: 'ax-alert-content' }
1427
- }]
1428
- }] });
1429
-
1430
- class AXAlertSuffixComponent {
1431
- }
1432
- AXAlertSuffixComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXAlertSuffixComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
1433
- AXAlertSuffixComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: AXAlertSuffixComponent, selector: "ax-alert-suffix", host: { classAttribute: "ax-alert-suffix" }, ngImport: i0, template: `
1434
- <div class="ax-alert-buttons">
1435
- <ng-content select="ax-alert-button">
1436
- </ng-content>
1437
- </div>
1438
- `, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
1439
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXAlertSuffixComponent, decorators: [{
1440
- type: Component,
1441
- args: [{
1442
- selector: 'ax-alert-suffix',
1443
- template: `
1444
- <div class="ax-alert-buttons">
1445
- <ng-content select="ax-alert-button">
1446
- </ng-content>
1447
- </div>
1448
- `,
1449
- changeDetection: ChangeDetectionStrategy.OnPush,
1450
- encapsulation: ViewEncapsulation.None,
1451
- host: { class: 'ax-alert-suffix' }
1402
+ class AXDrawerComponent extends AXBaseComponentMixin {
1403
+ constructor(elementRef, cdr, zone) {
1404
+ super(elementRef, cdr);
1405
+ this.elementRef = elementRef;
1406
+ this.zone = zone;
1407
+ this.onChanged = new EventEmitter();
1408
+ this.mode = 'push';
1409
+ this.location = 'start';
1410
+ this._collapsed = false;
1411
+ }
1412
+ get collapsed() {
1413
+ return this._collapsed;
1414
+ }
1415
+ set collapsed(v) {
1416
+ if (v != this._collapsed) {
1417
+ this._collapsed = v;
1418
+ this._updateClass();
1419
+ this._emitChange();
1420
+ }
1421
+ }
1422
+ onInit() {
1423
+ // this._getHostElement().classList.add(this.location == 'start' ? 'ax-drawer-start' : 'ax-drawer-end');
1424
+ this._setLocation();
1425
+ this._currentMode = this.mode;
1426
+ }
1427
+ _setLocation() {
1428
+ const hostElementClassList = this._getHostElement().classList;
1429
+ switch (this.location) {
1430
+ case 'start':
1431
+ hostElementClassList.add('ax-drawer-start');
1432
+ break;
1433
+ case 'end':
1434
+ hostElementClassList.add('ax-drawer-end');
1435
+ break;
1436
+ case 'top':
1437
+ hostElementClassList.add('ax-drawer-top');
1438
+ break;
1439
+ case 'bottom':
1440
+ hostElementClassList.add('ax-drawer-bottom');
1441
+ break;
1442
+ default:
1443
+ hostElementClassList.add('ax-drawer-start');
1444
+ break;
1445
+ }
1446
+ }
1447
+ _updateClass() {
1448
+ this.zone.runOutsideAngular(() => {
1449
+ const elm = this._getHostElement();
1450
+ //
1451
+ this._currentMode == 'overlay' ? this._setOverlayMode() : this._setPushMode();
1452
+ //
1453
+ if (this.collapsed) {
1454
+ elm.classList.remove('ax-expanded');
1455
+ elm.classList.add('ax-collapsed');
1456
+ if (this._currentMode == 'overlay') {
1457
+ this._removeBackdrop();
1458
+ }
1459
+ }
1460
+ else {
1461
+ elm.classList.add('ax-expanded');
1462
+ elm.classList.remove('ax-collapsed');
1463
+ if (this._currentMode == 'overlay') {
1464
+ this._addBackdrop();
1465
+ }
1466
+ }
1467
+ });
1468
+ }
1469
+ onViewInit() {
1470
+ this._detectSize();
1471
+ }
1472
+ toggle() {
1473
+ this.collapsed = !this.collapsed;
1474
+ }
1475
+ close() {
1476
+ this.collapsed = true;
1477
+ }
1478
+ open() {
1479
+ this.collapsed = false;
1480
+ }
1481
+ _handleWindowsResize(e) {
1482
+ this._detectSize();
1483
+ }
1484
+ _detectSize() {
1485
+ //TODO detect break size
1486
+ const bound = this._getHostElement().parentElement.getBoundingClientRect();
1487
+ if (bound.width == 0) {
1488
+ console.log('Drawer invalid size', bound);
1489
+ setTimeout(() => {
1490
+ this._detectSize();
1491
+ }, 1);
1492
+ return;
1493
+ }
1494
+ if (bound.width < 400) {
1495
+ this._currentMode = 'overlay';
1496
+ this.collapsed = true;
1497
+ }
1498
+ else {
1499
+ this._currentMode = this.mode;
1500
+ }
1501
+ this._updateClass();
1502
+ this._emitChange();
1503
+ }
1504
+ _emitChange() {
1505
+ this.onChanged.emit({
1506
+ component: this,
1507
+ htmlElement: this.elementRef.nativeElement
1508
+ });
1509
+ }
1510
+ _setOverlayMode() {
1511
+ this._currentMode = 'overlay';
1512
+ this._getHostElement().classList.remove('ax-drawer-push');
1513
+ this._getHostElement().classList.add('ax-drawer-overlay');
1514
+ }
1515
+ _setPushMode() {
1516
+ this._currentMode = 'push';
1517
+ this._getHostElement().classList.remove('ax-drawer-overlay');
1518
+ this._getHostElement().classList.add('ax-drawer-push');
1519
+ this._removeBackdrop();
1520
+ }
1521
+ _addBackdrop() {
1522
+ if (!this._backdrop) {
1523
+ this._backdrop = document.createElement('div');
1524
+ this._backdrop.classList.add('ax-drawer-backdrop');
1525
+ this._getHostElement().parentElement.prepend(this._backdrop);
1526
+ this._backdrop.addEventListener('click', this._handleBackfropClick.bind(this));
1527
+ }
1528
+ }
1529
+ _removeBackdrop() {
1530
+ if (this._backdrop) {
1531
+ this._backdrop.removeEventListener('click', this._handleBackfropClick.bind(this));
1532
+ this._getHostElement().parentElement.removeChild(this._backdrop);
1533
+ this._backdrop = null;
1534
+ }
1535
+ }
1536
+ _handleBackfropClick(e) {
1537
+ this._removeBackdrop();
1538
+ this.collapsed = true;
1539
+ }
1540
+ }
1541
+ AXDrawerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXDrawerComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
1542
+ AXDrawerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: AXDrawerComponent, selector: "ax-drawer", inputs: { mode: "mode", location: "location", collapsed: "collapsed" }, outputs: { onChanged: "onChanged" }, host: { listeners: { "window:resize": "_handleWindowsResize($event)" }, classAttribute: "ax-drawer ax-transition-all" }, usesInheritance: true, ngImport: i0, template: `
1543
+ <ng-content>
1544
+ </ng-content>
1545
+ `, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
1546
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXDrawerComponent, decorators: [{
1547
+ type: Component,
1548
+ args: [{
1549
+ selector: 'ax-drawer',
1550
+ template: `
1551
+ <ng-content>
1552
+ </ng-content>
1553
+ `,
1554
+ changeDetection: ChangeDetectionStrategy.OnPush,
1555
+ encapsulation: ViewEncapsulation.None,
1556
+ host: { class: 'ax-drawer ax-transition-all' }
1452
1557
  }]
1453
- }] });
1558
+ }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: i0.NgZone }]; }, propDecorators: { onChanged: [{
1559
+ type: Output
1560
+ }], mode: [{
1561
+ type: Input
1562
+ }], location: [{
1563
+ type: Input
1564
+ }], collapsed: [{
1565
+ type: Input
1566
+ }], _handleWindowsResize: [{
1567
+ type: HostListener,
1568
+ args: ['window:resize', ['$event']]
1569
+ }] } });
1454
1570
 
1455
- class AXAlertFooterComponent {
1571
+ class AXDrawerContainerComponent extends AXBaseComponentMixin {
1572
+ constructor(elementRef, cdr, zone) {
1573
+ super(elementRef, cdr);
1574
+ this.zone = zone;
1575
+ }
1576
+ onViewInit() {
1577
+ this._updateWidth();
1578
+ // add animation
1579
+ // setTimeout(() => {
1580
+ // this._getHostElement().querySelectorAll('ax-drawer').forEach(c => {
1581
+ // c.classList.add('ax-animated');
1582
+ // });
1583
+ // }, 100);
1584
+ this.drawers.forEach(c => {
1585
+ c.onChanged.subscribe(c => {
1586
+ this._updateWidth();
1587
+ });
1588
+ });
1589
+ }
1590
+ _updateWidth() {
1591
+ this.zone.runOutsideAngular(() => {
1592
+ const container = this._getHostElement().closest('ax-drawer-container');
1593
+ const parentWidth = this._getHostElement().getBoundingClientRect().width;
1594
+ let w = 0;
1595
+ this._getHostElement().querySelectorAll('ax-drawer').forEach(c => {
1596
+ const elm = c;
1597
+ const width = elm.getBoundingClientRect().width;
1598
+ const height = elm.getBoundingClientRect().height;
1599
+ const overflow = parentWidth < width;
1600
+ const diff = width - parentWidth;
1601
+ w += ['ax-expanded', 'ax-drawer-push'].every(c => elm.classList.contains(c)) ? width : 0;
1602
+ elm.style.setProperty('--attr-width', `${width}px`);
1603
+ elm.style.setProperty('--attr-height', `${height}px`);
1604
+ //TODO check overflow
1605
+ elm.style.setProperty('--attr-diff', `${overflow ? diff : 0}px`);
1606
+ });
1607
+ container.style.setProperty('--attr-content-width', `${parentWidth - w}px`);
1608
+ });
1609
+ }
1456
1610
  }
1457
- AXAlertFooterComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXAlertFooterComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
1458
- AXAlertFooterComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: AXAlertFooterComponent, selector: "ax-alert-footer", host: { classAttribute: "ax-alert-footer" }, ngImport: i0, template: `
1459
- <div class="ax-alert-buttons">
1460
- <ng-content select="ax-alert-button">
1461
- </ng-content>
1462
- </div>
1611
+ AXDrawerContainerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXDrawerContainerComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
1612
+ AXDrawerContainerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: AXDrawerContainerComponent, selector: "ax-drawer-container", inputs: { rtl: "rtl" }, host: { classAttribute: "ax-drawer-container" }, queries: [{ propertyName: "drawers", predicate: AXDrawerComponent }], usesInheritance: true, ngImport: i0, template: `
1613
+ <ng-content select="ax-drawer[location='top']">
1614
+ </ng-content>
1615
+ <ng-content select="ax-drawer[location='start']">
1616
+ </ng-content>
1617
+ <ng-content select="ax-drawer-content">
1618
+ </ng-content>
1619
+ <ng-content select="ax-drawer[location='end']">
1620
+ </ng-content>
1621
+ <ng-content select="ax-drawer[location='bottom']">
1622
+ </ng-content>
1463
1623
  `, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
1464
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXAlertFooterComponent, decorators: [{
1624
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXDrawerContainerComponent, decorators: [{
1625
+ type: Component,
1626
+ args: [{
1627
+ selector: 'ax-drawer-container',
1628
+ template: `
1629
+ <ng-content select="ax-drawer[location='top']">
1630
+ </ng-content>
1631
+ <ng-content select="ax-drawer[location='start']">
1632
+ </ng-content>
1633
+ <ng-content select="ax-drawer-content">
1634
+ </ng-content>
1635
+ <ng-content select="ax-drawer[location='end']">
1636
+ </ng-content>
1637
+ <ng-content select="ax-drawer[location='bottom']">
1638
+ </ng-content>
1639
+ `,
1640
+ inputs: ['rtl'],
1641
+ changeDetection: ChangeDetectionStrategy.OnPush,
1642
+ encapsulation: ViewEncapsulation.None,
1643
+ host: { class: 'ax-drawer-container' }
1644
+ }]
1645
+ }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: i0.NgZone }]; }, propDecorators: { drawers: [{
1646
+ type: ContentChildren,
1647
+ args: [AXDrawerComponent]
1648
+ }] } });
1649
+
1650
+ class AXDrawerContentComponent extends AXBaseComponentMixin {
1651
+ constructor(elementRef, cdr) {
1652
+ super(elementRef, cdr);
1653
+ }
1654
+ }
1655
+ AXDrawerContentComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXDrawerContentComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
1656
+ AXDrawerContentComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: AXDrawerContentComponent, selector: "ax-drawer-content", host: { classAttribute: "ax-drawer-content" }, usesInheritance: true, ngImport: i0, template: `
1657
+ <ng-content>
1658
+ </ng-content>
1659
+ `, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
1660
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXDrawerContentComponent, decorators: [{
1661
+ type: Component,
1662
+ args: [{
1663
+ selector: 'ax-drawer-content',
1664
+ template: `
1665
+ <ng-content>
1666
+ </ng-content>
1667
+ `,
1668
+ changeDetection: ChangeDetectionStrategy.OnPush,
1669
+ encapsulation: ViewEncapsulation.None,
1670
+ host: { class: 'ax-drawer-content' }
1671
+ }]
1672
+ }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; } });
1673
+
1674
+ const COMPONENT$o = [AXDrawerComponent, AXDrawerContainerComponent, AXDrawerContentComponent];
1675
+ const MODULES$o = [CommonModule];
1676
+ class AXDrawerModule {
1677
+ }
1678
+ AXDrawerModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXDrawerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
1679
+ AXDrawerModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXDrawerModule, declarations: [AXDrawerComponent, AXDrawerContainerComponent, AXDrawerContentComponent], imports: [CommonModule], exports: [AXDrawerComponent, AXDrawerContainerComponent, AXDrawerContentComponent] });
1680
+ AXDrawerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXDrawerModule, providers: [], imports: [[...MODULES$o]] });
1681
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXDrawerModule, decorators: [{
1682
+ type: NgModule,
1683
+ args: [{
1684
+ declarations: [...COMPONENT$o],
1685
+ imports: [...MODULES$o],
1686
+ exports: [...COMPONENT$o],
1687
+ providers: [],
1688
+ }]
1689
+ }] });
1690
+
1691
+ class AXButtonGroupComponent extends AXInteractiveComponenetMixin {
1692
+ constructor(elementRef, zone, cdr) {
1693
+ super(elementRef, cdr);
1694
+ this.zone = zone;
1695
+ this.selectionChange = new EventEmitter();
1696
+ this.colorChange = new EventEmitter();
1697
+ this._color = 'primary';
1698
+ this.lookChange = new EventEmitter();
1699
+ this._look = null;
1700
+ this.onItemClick = new EventEmitter();
1701
+ this.onValueChanged = new EventEmitter();
1702
+ }
1703
+ get selection() {
1704
+ return this._selection;
1705
+ }
1706
+ set selection(value) {
1707
+ value = this._onOptionChanging({ name: 'selection', value: value });
1708
+ const oldValue = this.selection;
1709
+ if (value != oldValue) {
1710
+ this._selection = value;
1711
+ this.selectionChange.emit(value);
1712
+ this.onOptionChanged({ name: 'selection', oldValue, newValue: value });
1713
+ }
1714
+ }
1715
+ /**
1716
+ * Predefined color schemes
1717
+ */
1718
+ get color() {
1719
+ return this._color;
1720
+ }
1721
+ set color(value) {
1722
+ value = this._onOptionChanging({ name: 'color', value: value });
1723
+ const oldValue = this.color;
1724
+ if (value != oldValue) {
1725
+ this._color = value;
1726
+ this.colorChange.emit(value);
1727
+ this.onOptionChanged({ name: 'value', oldValue, newValue: value });
1728
+ }
1729
+ }
1730
+ /**
1731
+ * Predefined look schemes
1732
+ */
1733
+ get look() {
1734
+ return this._look;
1735
+ }
1736
+ set look(value) {
1737
+ value = this._onOptionChanging({ name: 'look', value: value });
1738
+ const oldValue = this.look;
1739
+ if (value != oldValue) {
1740
+ this._look = value;
1741
+ this.lookChange.emit(value);
1742
+ this.onOptionChanged({ name: 'look', oldValue, newValue: value });
1743
+ }
1744
+ }
1745
+ ngAfterContentInit() {
1746
+ this._bindEvents();
1747
+ this._bindProps();
1748
+ }
1749
+ _bindEvents() {
1750
+ (this._contentButtons || []).forEach(b => {
1751
+ b.onClick.subscribe(c => {
1752
+ this._handleClickEvent(c, b);
1753
+ });
1754
+ });
1755
+ }
1756
+ _bindProps() {
1757
+ (this._contentButtons || []).forEach(b => {
1758
+ b.look = this.look;
1759
+ b.color = this.color;
1760
+ b.disabled = this.disabled;
1761
+ b.toggleable = false;
1762
+ });
1763
+ }
1764
+ onOptionChanged(options) {
1765
+ this._bindProps();
1766
+ }
1767
+ _handleClickEvent(e, button) {
1768
+ if (this.selection == 'multiple') {
1769
+ button.selected = !button.selected;
1770
+ }
1771
+ else if (this.selection == 'single') {
1772
+ this._contentButtons.forEach(c => {
1773
+ c.selected = false;
1774
+ });
1775
+ button.selected = true;
1776
+ }
1777
+ else {
1778
+ button.selected = false;
1779
+ }
1780
+ this.onItemClick.emit({
1781
+ component: this,
1782
+ htmlElement: e.htmlElement,
1783
+ item: button
1784
+ });
1785
+ }
1786
+ }
1787
+ AXButtonGroupComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXButtonGroupComponent, deps: [{ token: i0.ElementRef }, { token: i0.NgZone }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
1788
+ AXButtonGroupComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: AXButtonGroupComponent, selector: "ax-button-group", inputs: { cssClass: "cssClass", size: "size", cssStyle: "cssStyle", rtl: "rtl", disabled: "disabled", selection: "selection", color: "color", look: "look" }, outputs: { selectionChange: "selectionChange", colorChange: "colorChange", lookChange: "lookChange", onItemClick: "onItemClick" }, host: { attributes: { "role": "group" }, classAttribute: "ax-button-group" }, queries: [{ propertyName: "_contentButtons", predicate: AXButtonComponent, descendants: true }], usesInheritance: true, ngImport: i0, template: "<ng-content select=\"ax-button\">\r\n</ng-content>", changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
1789
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXButtonGroupComponent, decorators: [{
1790
+ type: Component,
1791
+ args: [{ selector: 'ax-button-group', inputs: ['cssClass', 'size', 'cssStyle', 'rtl', 'disabled'], encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, host: { class: 'ax-button-group', role: 'group' }, template: "<ng-content select=\"ax-button\">\r\n</ng-content>" }]
1792
+ }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.NgZone }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { selectionChange: [{
1793
+ type: Output
1794
+ }], selection: [{
1795
+ type: Input
1796
+ }], colorChange: [{
1797
+ type: Output
1798
+ }], color: [{
1799
+ type: Input
1800
+ }], lookChange: [{
1801
+ type: Output
1802
+ }], look: [{
1803
+ type: Input
1804
+ }], onItemClick: [{
1805
+ type: Output
1806
+ }], _contentButtons: [{
1807
+ type: ContentChildren,
1808
+ args: [AXButtonComponent, { descendants: true }]
1809
+ }] } });
1810
+
1811
+ const AXBaseItemButtonMixin = _InteractiveComponenetMixin(_ClickableComponenetMixin(AXBaseComponent));
1812
+ class AXButtonItemComponent extends AXBaseItemButtonMixin {
1813
+ /**
1814
+ * @ignore
1815
+ */
1816
+ constructor(elementRef, cdr) {
1817
+ super(elementRef, cdr);
1818
+ this.text = null;
1819
+ this.tooltip = null;
1820
+ this.selected = false;
1821
+ this.seperated = false;
1822
+ this.color = 'light';
1823
+ }
1824
+ __hostClick(e) {
1825
+ this._emitOnClickEvent(e);
1826
+ }
1827
+ get __hostClass() {
1828
+ const cssClasses = {
1829
+ 'ax-button-icon': !this.text,
1830
+ 'ax-state-disabled': this.disabled,
1831
+ 'ax-state-selected': this.selected,
1832
+ };
1833
+ cssClasses[`ax-${this.color || 'primary'}-default`] = true;
1834
+ return Object.entries(cssClasses).filter(c => c[1]).map(c => c[0]).join(' ');
1835
+ }
1836
+ }
1837
+ AXButtonItemComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXButtonItemComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
1838
+ AXButtonItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: AXButtonItemComponent, selector: "ax-button-item", inputs: { text: "text", tooltip: "tooltip", selected: "selected", seperated: "seperated", name: "name", data: "data", color: "color" }, host: { listeners: { "click": "__hostClick($event)" }, properties: { "class": "this.__hostClass" } }, usesInheritance: true, ngImport: i0, template: `
1839
+ <ng-content select="ax-prefix">
1840
+ </ng-content>
1841
+ <ng-content select="ax-icon">
1842
+ </ng-content>
1843
+ <span *ngIf="text">{{text}}</span>
1844
+ <ng-content select="ax-suffix">
1845
+ </ng-content>
1846
+ `, isInline: true, directives: [{ type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
1847
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXButtonItemComponent, decorators: [{
1465
1848
  type: Component,
1466
1849
  args: [{
1467
- selector: 'ax-alert-footer',
1850
+ selector: 'ax-button-item',
1468
1851
  template: `
1469
- <div class="ax-alert-buttons">
1470
- <ng-content select="ax-alert-button">
1471
- </ng-content>
1472
- </div>
1852
+ <ng-content select="ax-prefix">
1853
+ </ng-content>
1854
+ <ng-content select="ax-icon">
1855
+ </ng-content>
1856
+ <span *ngIf="text">{{text}}</span>
1857
+ <ng-content select="ax-suffix">
1858
+ </ng-content>
1473
1859
  `,
1474
- changeDetection: ChangeDetectionStrategy.OnPush,
1475
1860
  encapsulation: ViewEncapsulation.None,
1476
- host: { class: 'ax-alert-footer' }
1861
+ changeDetection: ChangeDetectionStrategy.OnPush,
1477
1862
  }]
1478
- }] });
1863
+ }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { text: [{
1864
+ type: Input
1865
+ }], tooltip: [{
1866
+ type: Input
1867
+ }], selected: [{
1868
+ type: Input
1869
+ }], seperated: [{
1870
+ type: Input
1871
+ }], name: [{
1872
+ type: Input
1873
+ }], data: [{
1874
+ type: Input
1875
+ }], color: [{
1876
+ type: Input
1877
+ }], __hostClick: [{
1878
+ type: HostListener,
1879
+ args: ['click', ['$event']]
1880
+ }], __hostClass: [{
1881
+ type: HostBinding,
1882
+ args: ['class']
1883
+ }] } });
1479
1884
 
1480
- class AXIconComponent extends AXSizableComponentMixin {
1885
+ class AXDecoratorContentComponent extends AXBaseComponentMixin {
1481
1886
  constructor(elementRef, cdr) {
1482
1887
  super(elementRef, cdr);
1483
1888
  }
1484
- get __iconClass() {
1485
- return `ax-ic ${this.icon}`;
1486
- }
1487
1889
  }
1488
- AXIconComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXIconComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
1489
- AXIconComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: AXIconComponent, selector: "ax-icon", inputs: { icon: "icon" }, host: { properties: { "class": "this.__iconClass" } }, usesInheritance: true, ngImport: i0, template: '<ng-content select="i,svg,img"></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
1490
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXIconComponent, decorators: [{
1890
+ AXDecoratorContentComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXDecoratorContentComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
1891
+ AXDecoratorContentComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: AXDecoratorContentComponent, selector: "ax-content", usesInheritance: true, ngImport: i0, template: `
1892
+ <ng-content>
1893
+ </ng-content>
1894
+ `, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
1895
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXDecoratorContentComponent, decorators: [{
1491
1896
  type: Component,
1492
1897
  args: [{
1493
- selector: 'ax-icon',
1494
- template: '<ng-content select="i,svg,img"></ng-content>',
1898
+ selector: 'ax-content',
1899
+ template: `
1900
+ <ng-content>
1901
+ </ng-content>
1902
+ `,
1495
1903
  changeDetection: ChangeDetectionStrategy.OnPush,
1496
1904
  encapsulation: ViewEncapsulation.None,
1497
1905
  }]
1498
- }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { icon: [{
1499
- type: Input
1500
- }], __iconClass: [{
1501
- type: HostBinding,
1502
- args: ['class']
1503
- }] } });
1906
+ }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; } });
1504
1907
 
1505
- const COMPONENT$o = [AXIconComponent];
1506
- const MODULES$o = [CommonModule];
1507
- class AXIconModule {
1908
+ class AXDecoratorAddOnComponent extends AXBaseComponentMixin {
1909
+ constructor(_elementRef, _cdr) {
1910
+ super(_elementRef, _cdr);
1911
+ }
1508
1912
  }
1509
- AXIconModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXIconModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
1510
- AXIconModulemod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXIconModule, declarations: [AXIconComponent], imports: [CommonModule], exports: [AXIconComponent] });
1511
- AXIconModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXIconModule, providers: [], imports: [[...MODULES$o]] });
1512
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXIconModule, decorators: [{
1513
- type: NgModule,
1913
+ AXDecoratorAddOnComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXDecoratorAddOnComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
1914
+ AXDecoratorAddOnComponentcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: AXDecoratorAddOnComponent, selector: "ax-addon", usesInheritance: true, ngImport: i0, template: `<ng-content></ng-content>`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
1915
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXDecoratorAddOnComponent, decorators: [{
1916
+ type: Component,
1514
1917
  args: [{
1515
- declarations: [...COMPONENT$o],
1516
- imports: [...MODULES$o],
1517
- exports: [...COMPONENT$o],
1518
- providers: [],
1918
+ selector: 'ax-addon',
1919
+ template: `<ng-content></ng-content>`,
1920
+ changeDetection: ChangeDetectionStrategy.OnPush,
1921
+ encapsulation: ViewEncapsulation.None
1519
1922
  }]
1520
- }] });
1923
+ }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; } });
1521
1924
 
1522
- const COMPONENT$n = [
1523
- AXAlertComponent,
1524
- AXAlertContentComponent,
1525
- AXAlertTitleComponent,
1526
- AXAlertButtonComponent,
1527
- AXAlertFooterComponent,
1528
- AXAlertSuffixComponent
1529
- ];
1530
- const MODULES$n = [CommonModule, AXIconModule];
1531
- class AXAlertModule {
1925
+ class AXDecoratorHeaderComponent extends AXBaseComponentMixin {
1926
+ constructor(elementRef, cdr) {
1927
+ super(elementRef, cdr);
1928
+ }
1532
1929
  }
1533
- AXAlertModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXAlertModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
1534
- AXAlertModulemod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXAlertModule, declarations: [AXAlertComponent,
1535
- AXAlertContentComponent,
1536
- AXAlertTitleComponent,
1537
- AXAlertButtonComponent,
1538
- AXAlertFooterComponent,
1539
- AXAlertSuffixComponent], imports: [CommonModule, AXIconModule], exports: [AXAlertComponent,
1540
- AXAlertContentComponent,
1541
- AXAlertTitleComponent,
1542
- AXAlertButtonComponent,
1543
- AXAlertFooterComponent,
1544
- AXAlertSuffixComponent] });
1545
- AXAlertModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXAlertModule, providers: [], imports: [[...MODULES$n]] });
1546
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXAlertModule, decorators: [{
1547
- type: NgModule,
1930
+ AXDecoratorHeaderComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXDecoratorHeaderComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
1931
+ AXDecoratorHeaderComponentcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: AXDecoratorHeaderComponent, selector: "ax-header", usesInheritance: true, ngImport: i0, template: `
1932
+ <ng-content>
1933
+ </ng-content>
1934
+ `, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
1935
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXDecoratorHeaderComponent, decorators: [{
1936
+ type: Component,
1548
1937
  args: [{
1549
- declarations: [...COMPONENT$n],
1550
- imports: [...MODULES$n],
1551
- exports: [...COMPONENT$n],
1552
- providers: [],
1938
+ selector: 'ax-header',
1939
+ template: `
1940
+ <ng-content>
1941
+ </ng-content>
1942
+ `,
1943
+ changeDetection: ChangeDetectionStrategy.OnPush,
1944
+ encapsulation: ViewEncapsulation.None,
1553
1945
  }]
1554
- }] });
1946
+ }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; } });
1555
1947
 
1556
- class AXAvatarGroup {
1557
- constructor() { }
1558
- ngOnInit() { }
1948
+ class AXDecoratorPrefixComponent extends AXBaseComponentMixin {
1949
+ constructor(elementRef, cdr) {
1950
+ super(elementRef, cdr);
1951
+ }
1559
1952
  }
1560
- AXAvatarGroup.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXAvatarGroup, deps: [], target: i0.ɵɵFactoryTarget.Component });
1561
- AXAvatarGroup.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: AXAvatarGroup, selector: "ax-avatar-group", host: { classAttribute: "ax-avatar-group" }, ngImport: i0, template: `<ng-content select='ax-avatar'></ng-content>`, isInline: true });
1562
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXAvatarGroup, decorators: [{
1953
+ AXDecoratorPrefixComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXDecoratorPrefixComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
1954
+ AXDecoratorPrefixComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: AXDecoratorPrefixComponent, selector: "ax-prefix", usesInheritance: true, ngImport: i0, template: `
1955
+ <ng-content select="ax-button,ax-loading,ax-icon,ax-content,ax-badge,ax-addon">
1956
+ </ng-content>
1957
+ `, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
1958
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXDecoratorPrefixComponent, decorators: [{
1563
1959
  type: Component,
1564
1960
  args: [{
1565
- selector: 'ax-avatar-group',
1566
- template: `<ng-content select='ax-avatar'></ng-content>`,
1567
- host: { class: 'ax-avatar-group' }
1961
+ selector: 'ax-prefix',
1962
+ template: `
1963
+ <ng-content select="ax-button,ax-loading,ax-icon,ax-content,ax-badge,ax-addon">
1964
+ </ng-content>
1965
+ `,
1966
+ changeDetection: ChangeDetectionStrategy.OnPush,
1967
+ encapsulation: ViewEncapsulation.None
1568
1968
  }]
1569
- }], ctorParameters: function () { return []; } });
1969
+ }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; } });
1570
1970
 
1571
- /**
1572
- * The Button is a component which detects user interaction and triggers a corresponding event
1573
- *
1574
- * @category Components
1575
- */
1576
- class AXAvatarComponent extends AXAvatarMixin {
1577
- /**
1578
- * @ignore
1579
- */
1971
+ class AXDecoratorSuffixComponent extends AXBaseComponentMixin {
1580
1972
  constructor(elementRef, cdr) {
1581
1973
  super(elementRef, cdr);
1582
- this.type = 'default';
1583
- }
1584
- get __hostClass() {
1585
- return `ax-${this.color}-default`;
1586
1974
  }
1587
1975
  }
1588
- AXAvatarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXAvatarComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
1589
- AXAvatarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: AXAvatarComponent, selector: "ax-avatar", inputs: { color: "color", look: "look", text: "text", icon: "icon", src: "src", class: "class", type: "type" }, host: { properties: { "class": "this.__hostClass" }, classAttribute: "ax-avatar" }, usesInheritance: true, ngImport: i0, template: "\r\n<div class=\"ax-avatar-container\" [ngSwitch]=\"type\">\r\n <ng-content select=\"ax-badge\"></ng-content>\r\n <div class=\"ax-text-avatar {{class}}\" *ngSwitchCase=\"'text'\">\r\n {{text}}\r\n </div>\r\n <div class=\"ax-icon-avatar {{class}}\" *ngSwitchCase=\"'icon'\">\r\n <ng-content select=\"ax-icon\"></ng-content>\r\n </div>\r\n <div class=\"ax-image-avatar {{class}}\" *ngSwitchCase=\"'image'\">\r\n <img [src]=\"src\" />\r\n </div>\r\n <div class=\"ax-default-avatar {{class}}\" *ngSwitchCase=\"'default'\">\r\n <svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" viewBox=\"0 0 512 512\">\r\n <g style=\"isolation:isolate\">\r\n <g id=\"Layer_2\" data-name=\"Layer 2\">\r\n <g id=\"Layer_1-2\" data-name=\"Layer 1\">\r\n <rect width=\"512\" height=\"512\" />\r\n <path\r\n d=\"M419.16,511.94s-2.85-154-142.28-176.19a139.93,139.93,0,0,0-22-1.67h0a55.8,55.8,0,0,0-5.93.29C99.25,350.35,96.26,511.94,96.26,511.94\"\r\n style=\"fill:#fff;opacity:0.7\" />\r\n <path\r\n d=\"M256,355.18c-17.29,0-32.22-4.63-46.38-12.41-3.86,1.31-8.15,2.93-11.75,4.46A96.48,96.48,0,0,0,256,366.62a100.29,100.29,0,0,0,60.07-20c-3.6-1.49-6.41-2.55-10.27-3.83C291.48,350.79,273.58,355.18,256,355.18Z\"\r\n style=\"opacity:0.05\" />\r\n <circle cx=\"257.71\" cy=\"255.94\" r=\"99.24\" style=\"fill:#fff\" />\r\n </g>\r\n </g>\r\n </g>\r\n </svg>\r\n </div>\r\n</div>", directives: [{ type: i1.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { type: i1.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
1590
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXAvatarComponent, decorators: [{
1976
+ AXDecoratorSuffixComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXDecoratorSuffixComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
1977
+ AXDecoratorSuffixComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: AXDecoratorSuffixComponent, selector: "ax-suffix", usesInheritance: true, ngImport: i0, template: `
1978
+ <ng-content select="ax-button,ax-loading,ax-icon,ax-content,ax-badge,ax-addon">
1979
+ </ng-content>
1980
+ `, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
1981
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXDecoratorSuffixComponent, decorators: [{
1591
1982
  type: Component,
1592
- args: [{ selector: 'ax-avatar', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, inputs: [...COLOR_LOOK_INPUTS], host: { class: 'ax-avatar' }, template: "\r\n<div class=\"ax-avatar-container\" [ngSwitch]=\"type\">\r\n <ng-content select=\"ax-badge\"></ng-content>\r\n <div class=\"ax-text-avatar {{class}}\" *ngSwitchCase=\"'text'\">\r\n {{text}}\r\n </div>\r\n <div class=\"ax-icon-avatar {{class}}\" *ngSwitchCase=\"'icon'\">\r\n <ng-content select=\"ax-icon\"></ng-content>\r\n </div>\r\n <div class=\"ax-image-avatar {{class}}\" *ngSwitchCase=\"'image'\">\r\n <img [src]=\"src\" />\r\n </div>\r\n <div class=\"ax-default-avatar {{class}}\" *ngSwitchCase=\"'default'\">\r\n <svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" viewBox=\"0 0 512 512\">\r\n <g style=\"isolation:isolate\">\r\n <g id=\"Layer_2\" data-name=\"Layer 2\">\r\n <g id=\"Layer_1-2\" data-name=\"Layer 1\">\r\n <rect width=\"512\" height=\"512\" />\r\n <path\r\n d=\"M419.16,511.94s-2.85-154-142.28-176.19a139.93,139.93,0,0,0-22-1.67h0a55.8,55.8,0,0,0-5.93.29C99.25,350.35,96.26,511.94,96.26,511.94\"\r\n style=\"fill:#fff;opacity:0.7\" />\r\n <path\r\n d=\"M256,355.18c-17.29,0-32.22-4.63-46.38-12.41-3.86,1.31-8.15,2.93-11.75,4.46A96.48,96.48,0,0,0,256,366.62a100.29,100.29,0,0,0,60.07-20c-3.6-1.49-6.41-2.55-10.27-3.83C291.48,350.79,273.58,355.18,256,355.18Z\"\r\n style=\"opacity:0.05\" />\r\n <circle cx=\"257.71\" cy=\"255.94\" r=\"99.24\" style=\"fill:#fff\" />\r\n </g>\r\n </g>\r\n </g>\r\n </svg>\r\n </div>\r\n</div>" }]
1593
- }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { text: [{
1594
- type: Input
1595
- }], icon: [{
1596
- type: Input
1597
- }], src: [{
1598
- type: Input
1599
- }], class: [{
1600
- type: Input
1601
- }], type: [{
1602
- type: Input
1603
- }], __hostClass: [{
1604
- type: HostBinding,
1605
- args: ['class']
1606
- }] } });
1983
+ args: [{
1984
+ selector: 'ax-suffix',
1985
+ template: `
1986
+ <ng-content select="ax-button,ax-loading,ax-icon,ax-content,ax-badge,ax-addon">
1987
+ </ng-content>
1988
+ `,
1989
+ changeDetection: ChangeDetectionStrategy.OnPush,
1990
+ encapsulation: ViewEncapsulation.None
1991
+ }]
1992
+ }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; } });
1607
1993
 
1608
- const COMPONENT$m = [AXAvatarComponent, AXAvatarGroup];
1609
- const MODULES$m = [CommonModule];
1610
- class AXAvatarModule {
1994
+ const COMPONENT$n = [AXDecoratorPrefixComponent, AXDecoratorSuffixComponent, AXDecoratorContentComponent, AXDecoratorHeaderComponent, AXDecoratorAddOnComponent];
1995
+ const MODULES$n = [CommonModule];
1996
+ class AXEditorDecoratorModule {
1611
1997
  }
1612
- AXAvatarModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXAvatarModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
1613
- AXAvatarModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXAvatarModule, declarations: [AXAvatarComponent, AXAvatarGroup], imports: [CommonModule], exports: [AXAvatarComponent, AXAvatarGroup] });
1614
- AXAvatarModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXAvatarModule, providers: [], imports: [[...MODULES$m]] });
1615
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXAvatarModule, decorators: [{
1998
+ AXEditorDecoratorModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXEditorDecoratorModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
1999
+ AXEditorDecoratorModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXEditorDecoratorModule, declarations: [AXDecoratorPrefixComponent, AXDecoratorSuffixComponent, AXDecoratorContentComponent, AXDecoratorHeaderComponent, AXDecoratorAddOnComponent], imports: [CommonModule], exports: [AXDecoratorPrefixComponent, AXDecoratorSuffixComponent, AXDecoratorContentComponent, AXDecoratorHeaderComponent, AXDecoratorAddOnComponent] });
2000
+ AXEditorDecoratorModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXEditorDecoratorModule, providers: [], imports: [[...MODULES$n]] });
2001
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXEditorDecoratorModule, decorators: [{
1616
2002
  type: NgModule,
1617
2003
  args: [{
1618
- declarations: [...COMPONENT$m],
1619
- imports: [...MODULES$m],
1620
- exports: [...COMPONENT$m],
2004
+ declarations: [...COMPONENT$n],
2005
+ imports: [...MODULES$n],
2006
+ exports: [...COMPONENT$n],
1621
2007
  providers: [],
1622
2008
  }]
1623
2009
  }] });
1624
2010
 
1625
- const AXBaseBadgeMixin = _ColorLookComponentMixin(AXBaseComponent);
1626
- class AXBadgeComponent extends AXBaseBadgeMixin {
2011
+ class AXIconComponent extends AXSizableComponentMixin {
1627
2012
  constructor(elementRef, cdr) {
1628
2013
  super(elementRef, cdr);
1629
- this.text = '';
1630
- //TODO: ax-badge
1631
2014
  }
1632
- get __hostClass() {
1633
- const _class = this.look ? `ax-${this.color}-${this.look}` : `ax-${this.color}-default`;
1634
- return ['ax-badge', _class, !this.text ? 'ax-badge-icon' : ''].join(' ');
2015
+ get __iconClass() {
2016
+ return `ax-ic ${this.icon}`;
1635
2017
  }
1636
2018
  }
1637
- AXBadgeComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXBadgeComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
1638
- AXBadgeComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: AXBadgeComponent, selector: "ax-badge", inputs: { color: "color", look: "look", text: "text" }, host: { properties: { "class": "this.__hostClass" } }, usesInheritance: true, ngImport: i0, template: "<ng-content select=\"ax-prefix\"></ng-content>\r\n<span class=\"ax-font-medium ax-truncate\">{{text}}</span>\r\n<ng-content select=\"ax-suffix\"></ng-content>", changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
1639
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXBadgeComponent, decorators: [{
2019
+ AXIconComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXIconComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
2020
+ AXIconComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: AXIconComponent, selector: "ax-icon", inputs: { icon: "icon" }, host: { properties: { "class": "this.__iconClass" } }, usesInheritance: true, ngImport: i0, template: '<ng-content select="i,svg,img"></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
2021
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXIconComponent, decorators: [{
1640
2022
  type: Component,
1641
- args: [{ selector: 'ax-badge', changeDetection: ChangeDetectionStrategy.OnPush, inputs: [...COLOR_LOOK_INPUTS], encapsulation: ViewEncapsulation.None, template: "<ng-content select=\"ax-prefix\"></ng-content>\r\n<span class=\"ax-font-medium ax-truncate\">{{text}}</span>\r\n<ng-content select=\"ax-suffix\"></ng-content>" }]
1642
- }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { text: [{
2023
+ args: [{
2024
+ selector: 'ax-icon',
2025
+ template: '<ng-content select="i,svg,img"></ng-content>',
2026
+ changeDetection: ChangeDetectionStrategy.OnPush,
2027
+ encapsulation: ViewEncapsulation.None,
2028
+ }]
2029
+ }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { icon: [{
1643
2030
  type: Input
1644
- }], __hostClass: [{
2031
+ }], __iconClass: [{
1645
2032
  type: HostBinding,
1646
2033
  args: ['class']
1647
2034
  }] } });
1648
2035
 
1649
- const COMPONENT$l = [AXBadgeComponent];
1650
- const MODULES$l = [CommonModule];
1651
- class AXBadgeModule {
2036
+ const COMPONENT$m = [AXIconComponent];
2037
+ const MODULES$m = [CommonModule];
2038
+ class AXIconModule {
1652
2039
  }
1653
- AXBadgeModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXBadgeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
1654
- AXBadgeModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXBadgeModule, declarations: [AXBadgeComponent], imports: [CommonModule], exports: [AXBadgeComponent] });
1655
- AXBadgeModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXBadgeModule, providers: [], imports: [[...MODULES$l]] });
1656
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXBadgeModule, decorators: [{
2040
+ AXIconModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXIconModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
2041
+ AXIconModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXIconModule, declarations: [AXIconComponent], imports: [CommonModule], exports: [AXIconComponent] });
2042
+ AXIconModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXIconModule, providers: [], imports: [[...MODULES$m]] });
2043
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXIconModule, decorators: [{
1657
2044
  type: NgModule,
1658
2045
  args: [{
1659
- declarations: [...COMPONENT$l],
1660
- imports: [...MODULES$l],
1661
- exports: [...COMPONENT$l],
2046
+ declarations: [...COMPONENT$m],
2047
+ imports: [...MODULES$m],
2048
+ exports: [...COMPONENT$m],
1662
2049
  providers: [],
1663
2050
  }]
1664
2051
  }] });
1665
2052
 
1666
- class AXBreadCrumbsComponent extends AXBaseComponent {
1667
- constructor() {
1668
- super();
1669
- }
1670
- }
1671
- AXBreadCrumbsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXBreadCrumbsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
1672
- AXBreadCrumbsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: AXBreadCrumbsComponent, selector: "ax-breadcrumbs", host: { classAttribute: "ax-breadcrumbs" }, usesInheritance: true, ngImport: i0, template: "<ng-content select=\"ax-breadcrumbs-item\"></ng-content>" });
1673
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXBreadCrumbsComponent, decorators: [{
1674
- type: Component,
1675
- args: [{ selector: 'ax-breadcrumbs', host: { class: 'ax-breadcrumbs' }, template: "<ng-content select=\"ax-breadcrumbs-item\"></ng-content>" }]
1676
- }], ctorParameters: function () { return []; } });
1677
-
1678
- class AXBreadCrumbsItemComponent extends AXBaseComponent {
1679
- constructor() {
1680
- super();
1681
- }
2053
+ const COMPONENT$l = [
2054
+ AXButtonComponent,
2055
+ AXButtonItemComponent,
2056
+ AXButtonGroupComponent,
2057
+ ];
2058
+ const MODULES$l = [CommonModule, AXIconModule, AXEditorDecoratorModule];
2059
+ class AXButtonModule {
1682
2060
  }
1683
- AXBreadCrumbsItemComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXBreadCrumbsItemComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
1684
- AXBreadCrumbsItemComponentcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: AXBreadCrumbsItemComponent, selector: "ax-breadcrumbs-item", inputs: { text: "text" }, host: { classAttribute: "ax-breadcrumbs-item" }, usesInheritance: true, ngImport: i0, template: "<ng-content select=\"ax-prefix,ax-loading,ax-icon\">\r\n</ng-content>\r\n<div>{{text}}</div>\r\n<ng-content select=\"ax-suffix,ax-loading,ax-icon\">\r\n</ng-content>" });
1685
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXBreadCrumbsItemComponent, decorators: [{
1686
- type: Component,
1687
- args: [{ selector: 'ax-breadcrumbs-item', host: { class: 'ax-breadcrumbs-item' }, template: "<ng-content select=\"ax-prefix,ax-loading,ax-icon\">\r\n</ng-content>\r\n<div>{{text}}</div>\r\n<ng-content select=\"ax-suffix,ax-loading,ax-icon\">\r\n</ng-content>" }]
1688
- }], ctorParameters: function () { return []; }, propDecorators: { text: [{
1689
- type: Input
1690
- }] } });
2061
+ AXButtonModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXButtonModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
2062
+ AXButtonModulemod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXButtonModule, declarations: [AXButtonComponent,
2063
+ AXButtonItemComponent,
2064
+ AXButtonGroupComponent], imports: [CommonModule, AXIconModule, AXEditorDecoratorModule], exports: [AXButtonComponent,
2065
+ AXButtonItemComponent,
2066
+ AXButtonGroupComponent] });
2067
+ AXButtonModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXButtonModule, providers: [], imports: [[MODULES$l]] });
2068
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXButtonModule, decorators: [{
2069
+ type: NgModule,
2070
+ args: [{
2071
+ imports: [MODULES$l],
2072
+ exports: [COMPONENT$l],
2073
+ declarations: [COMPONENT$l],
2074
+ providers: [],
2075
+ }]
2076
+ }] });
1691
2077
 
1692
- class AXBreadcrumbsModule {
2078
+ class AXActionSheetModule {
1693
2079
  }
1694
- AXBreadcrumbsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXBreadcrumbsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
1695
- AXBreadcrumbsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXBreadcrumbsModule, declarations: [AXBreadCrumbsComponent, AXBreadCrumbsItemComponent], imports: [CommonModule], exports: [AXBreadCrumbsComponent, AXBreadCrumbsItemComponent] });
1696
- AXBreadcrumbsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXBreadcrumbsModule, providers: [], imports: [[CommonModule]] });
1697
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXBreadcrumbsModule, decorators: [{
2080
+ AXActionSheetModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXActionSheetModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
2081
+ AXActionSheetModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXActionSheetModule, declarations: [AXActionSheetComponent, AXActionSheetItemComponent], imports: [CommonModule, AXDrawerModule, AXButtonModule, BrowserAnimationsModule], exports: [AXActionSheetComponent, AXActionSheetItemComponent] });
2082
+ AXActionSheetModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXActionSheetModule, providers: [], imports: [[CommonModule, AXDrawerModule, AXButtonModule, BrowserAnimationsModule]] });
2083
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXActionSheetModule, decorators: [{
1698
2084
  type: NgModule,
1699
2085
  args: [{
1700
- declarations: [AXBreadCrumbsComponent, AXBreadCrumbsItemComponent],
1701
- imports: [CommonModule],
1702
- exports: [AXBreadCrumbsComponent, AXBreadCrumbsItemComponent],
2086
+ declarations: [AXActionSheetComponent, AXActionSheetItemComponent],
2087
+ imports: [CommonModule, AXDrawerModule, AXButtonModule, BrowserAnimationsModule],
2088
+ exports: [AXActionSheetComponent, AXActionSheetItemComponent],
1703
2089
  providers: [],
1704
2090
  }]
1705
2091
  }] });
1706
2092
 
2093
+ var _AXAlertComponent_visible;
2094
+ const AXBaseAlertMixin = _ColorLookComponentMixin(AXBaseComponent);
1707
2095
  /**
1708
- * The Button is a component which detects user interaction and triggers a corresponding event
2096
+ * Regular description
1709
2097
  *
1710
2098
  * @category Components
1711
2099
  */
1712
- class AXButtonComponent extends AXBaseButtonMixin {
2100
+ class AXAlertComponent extends AXBaseAlertMixin {
1713
2101
  /**
1714
2102
  * @ignore
1715
2103
  */
1716
2104
  constructor(elementRef, cdr) {
1717
2105
  super(elementRef, cdr);
2106
+ this.showIcon = true;
2107
+ _AXAlertComponent_visible.set(this, void 0);
1718
2108
  }
1719
- onKeydownHandler(e) {
1720
- if (e.code === 'Enter') {
1721
- this._getHostElement().click();
1722
- }
1723
- }
1724
- _emitOnClickEvent(e) {
1725
- if (this.disabled)
1726
- return;
1727
- if (this.toggleable) {
1728
- this.selected = !this.selected;
2109
+ _onOptionChanged(option) {
2110
+ if (option.name == 'color') {
2111
+ switch (this.color) {
2112
+ case 'success':
2113
+ this.icon = 'ax-ic ax-ic-check-filled';
2114
+ break;
2115
+ case 'warning':
2116
+ this.icon = 'ax-ic-warning-filled';
2117
+ break;
2118
+ case 'danger':
2119
+ this.icon = 'ax-ic-error-filled';
2120
+ break;
2121
+ default:
2122
+ this.icon = 'ax-ic ax-ic-info-filled';
2123
+ break;
2124
+ }
1729
2125
  }
1730
- super._emitOnClickEvent(e);
1731
- }
1732
- _emitOnFocusEvent(e) {
1733
- super._emitOnFocusEvent(e);
1734
- }
1735
- _emitOnBlurEvent(e) {
1736
- super._emitOnBlurEvent(e);
1737
2126
  }
2127
+ /**
2128
+ * @ignore
2129
+ */
1738
2130
  get __hostClass() {
1739
- return Object.entries(this._classes).filter(c => c[1]).map(c => c[0]).join(' ');
1740
- }
1741
- }
1742
- AXButtonComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXButtonComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
1743
- AXButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: AXButtonComponent, selector: "ax-button", inputs: { disabled: "disabled", tabIndex: "tabIndex", size: "size", color: "color", look: "look", text: "text", submitBehavior: "submitBehavior", cancelBehavior: "cancelBehavior", toggleable: "toggleable", selected: "selected" }, outputs: { onBlur: "onBlur", onFocus: "onFocus", onClick: "onClick", selectedChange: "selectedChange", toggleableChange: "toggleableChange" }, host: { attributes: { "role": "button" }, listeners: { "keyup": "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 });
1744
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXButtonComponent, decorators: [{
1745
- type: Component,
1746
- args: [{ selector: 'ax-button', inputs: ['disabled', 'tabIndex', 'size', ...COLOR_LOOK_INPUTS, ...BUTTON_INPUTS], outputs: [...BUTTON_OUTPUT], changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, host: { role: 'button' }, 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> -->" }]
1747
- }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { onKeydownHandler: [{
1748
- type: HostListener,
1749
- args: ['keyup', ['$event']]
1750
- }], _emitOnClickEvent: [{
1751
- type: HostListener,
1752
- args: ['click', ['$event']]
1753
- }], _emitOnFocusEvent: [{
1754
- type: HostListener,
1755
- args: ['focus', ['$event']]
1756
- }], _emitOnBlurEvent: [{
1757
- type: HostListener,
1758
- args: ['blur', ['$event']]
1759
- }], __hostClass: [{
1760
- type: HostBinding,
1761
- args: ['class']
1762
- }] } });
1763
-
1764
- class AXButtonGroupComponent extends AXInteractiveComponenetMixin {
1765
- constructor(elementRef, zone, cdr) {
1766
- super(elementRef, cdr);
1767
- this.zone = zone;
1768
- this.selectionChange = new EventEmitter();
1769
- this.colorChange = new EventEmitter();
1770
- this._color = 'primary';
1771
- this.lookChange = new EventEmitter();
1772
- this._look = null;
1773
- this.onItemClick = new EventEmitter();
1774
- this.onValueChanged = new EventEmitter();
1775
- }
1776
- get selection() {
1777
- return this._selection;
1778
- }
1779
- set selection(value) {
1780
- value = this._onOptionChanging({ name: 'selection', value: value });
1781
- const oldValue = this.selection;
1782
- if (value != oldValue) {
1783
- this._selection = value;
1784
- this.selectionChange.emit(value);
1785
- this.onOptionChanged({ name: 'selection', oldValue, newValue: value });
1786
- }
2131
+ // return ` ax-alert ax-none ax-${this.color}-default ax-${this.look}-default`;
2132
+ const _class = this.look ? `ax-${this.color}-${this.look}` : `ax-${this.color}-default`;
2133
+ return `ax-alert ax-none ${_class}`;
1787
2134
  }
1788
2135
  /**
1789
- * Predefined color schemes
2136
+ * set the visibility of the Alert
1790
2137
  */
1791
- get color() {
1792
- return this._color;
2138
+ get visible() {
2139
+ return __classPrivateFieldGet(this, _AXAlertComponent_visible, "f");
1793
2140
  }
1794
- set color(value) {
1795
- value = this._onOptionChanging({ name: 'color', value: value });
1796
- const oldValue = this.color;
1797
- if (value != oldValue) {
1798
- this._color = value;
1799
- this.colorChange.emit(value);
1800
- this.onOptionChanged({ name: 'value', oldValue, newValue: value });
2141
+ set visible(v) {
2142
+ if (__classPrivateFieldGet(this, _AXAlertComponent_visible, "f") != v) {
2143
+ __classPrivateFieldSet(this, _AXAlertComponent_visible, v, "f");
2144
+ const host = this._getHostElement();
2145
+ if (v) {
2146
+ host.classList.remove('ax-state-hidden');
2147
+ host.classList.add('ax-state-visible');
2148
+ }
2149
+ else {
2150
+ host.classList.add('ax-state-hidden');
2151
+ host.classList.toggle('ax-state-visible');
2152
+ }
1801
2153
  }
1802
2154
  }
1803
- /**
1804
- * Predefined look schemes
1805
- */
1806
- get look() {
1807
- return this._look;
1808
- }
1809
- set look(value) {
1810
- value = this._onOptionChanging({ name: 'look', value: value });
1811
- const oldValue = this.look;
1812
- if (value != oldValue) {
1813
- this._look = value;
1814
- this.lookChange.emit(value);
1815
- this.onOptionChanged({ name: 'look', oldValue, newValue: value });
2155
+ onInit() {
2156
+ if (this.timeOut) {
2157
+ setTimeout(() => {
2158
+ this.dismiss();
2159
+ }, this.timeOut);
1816
2160
  }
1817
2161
  }
1818
- ngAfterContentInit() {
1819
- this._bindEvents();
1820
- this._bindProps();
1821
- }
1822
- _bindEvents() {
1823
- (this._contentButtons || []).forEach(b => {
1824
- b.onClick.subscribe(c => {
1825
- this._handleClickEvent(c, b);
1826
- });
1827
- });
1828
- }
1829
- _bindProps() {
1830
- (this._contentButtons || []).forEach(b => {
1831
- b.look = this.look;
1832
- b.color = this.color;
1833
- b.disabled = this.disabled;
1834
- b.toggleable = false;
1835
- });
2162
+ onViewInit() {
2163
+ if (this.visible == undefined) {
2164
+ this.visible = true;
2165
+ }
1836
2166
  }
1837
- onOptionChanged(options) {
1838
- this._bindProps();
2167
+ /**
2168
+ * Remove the alert from the container
2169
+ */
2170
+ dismiss() {
2171
+ const host = this._getHostElement();
2172
+ this.visible = false;
2173
+ const func = () => {
2174
+ host.parentElement.removeChild(host);
2175
+ };
2176
+ host.addEventListener('transitionend', func);
1839
2177
  }
1840
- _handleClickEvent(e, button) {
1841
- if (this.selection == 'multiple') {
1842
- button.selected = !button.selected;
1843
- }
1844
- else if (this.selection == 'single') {
1845
- this._contentButtons.forEach(c => {
1846
- c.selected = false;
1847
- });
1848
- button.selected = true;
1849
- }
1850
- else {
1851
- button.selected = false;
1852
- }
1853
- this.onItemClick.emit({
1854
- component: this,
1855
- htmlElement: e.htmlElement,
1856
- item: button
1857
- });
2178
+ /**
2179
+ * Hide the alert
2180
+ */
2181
+ hide() {
2182
+ this.visible = false;
2183
+ }
2184
+ /**
2185
+ * Show the alert
2186
+ */
2187
+ show() {
2188
+ this.visible = true;
1858
2189
  }
1859
2190
  }
1860
- AXButtonGroupComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXButtonGroupComponent, deps: [{ token: i0.ElementRef }, { token: i0.NgZone }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
1861
- AXButtonGroupComponentcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: AXButtonGroupComponent, selector: "ax-button-group", inputs: { cssClass: "cssClass", size: "size", cssStyle: "cssStyle", rtl: "rtl", disabled: "disabled", selection: "selection", color: "color", look: "look" }, outputs: { selectionChange: "selectionChange", colorChange: "colorChange", lookChange: "lookChange", onItemClick: "onItemClick" }, host: { attributes: { "role": "group" }, classAttribute: "ax-button-group" }, queries: [{ propertyName: "_contentButtons", predicate: AXButtonComponent, descendants: true }], usesInheritance: true, ngImport: i0, template: "<ng-content select=\"ax-button\">\r\n</ng-content>", changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
1862
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXButtonGroupComponent, decorators: [{
2191
+ _AXAlertComponent_visible = new WeakMap();
2192
+ AXAlertComponentfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXAlertComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
2193
+ AXAlertComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: AXAlertComponent, selector: "ax-alert", inputs: { color: "color", look: "look", icon: "icon", showIcon: "showIcon", timeOut: "timeOut", visible: "visible" }, host: { properties: { "class": "this.__hostClass" } }, usesInheritance: true, ngImport: i0, template: "<div class=\"ax-alert-icon\" *ngIf=\"icon && showIcon\">\r\n <i class=\"{{icon}} fa-lg\"></i>\r\n</div>\r\n<div class=\"ax-alert-body\">\r\n <ng-content select=\"ax-alert-title\">\r\n </ng-content>\r\n <ng-content select=\"ax-alert-content\">\r\n </ng-content>\r\n <ng-content select=\"ax-alert-footer\">\r\n </ng-content>\r\n</div>\r\n<ng-content select=\"ax-alert-suffix\">\r\n</ng-content>", directives: [{ type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
2194
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXAlertComponent, decorators: [{
1863
2195
  type: Component,
1864
- args: [{ selector: 'ax-button-group', inputs: ['cssClass', 'size', 'cssStyle', 'rtl', 'disabled'], encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, host: { class: 'ax-button-group', role: 'group' }, template: "<ng-content select=\"ax-button\">\r\n</ng-content>" }]
1865
- }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.NgZone }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { selectionChange: [{
1866
- type: Output
1867
- }], selection: [{
2196
+ args: [{ selector: 'ax-alert', changeDetection: ChangeDetectionStrategy.OnPush, inputs: [...COLOR_LOOK_INPUTS], encapsulation: ViewEncapsulation.None, template: "<div class=\"ax-alert-icon\" *ngIf=\"icon && showIcon\">\r\n <i class=\"{{icon}} fa-lg\"></i>\r\n</div>\r\n<div class=\"ax-alert-body\">\r\n <ng-content select=\"ax-alert-title\">\r\n </ng-content>\r\n <ng-content select=\"ax-alert-content\">\r\n </ng-content>\r\n <ng-content select=\"ax-alert-footer\">\r\n </ng-content>\r\n</div>\r\n<ng-content select=\"ax-alert-suffix\">\r\n</ng-content>" }]
2197
+ }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { icon: [{
1868
2198
  type: Input
1869
- }], colorChange: [{
1870
- type: Output
1871
- }], color: [{
2199
+ }], showIcon: [{
1872
2200
  type: Input
1873
- }], lookChange: [{
1874
- type: Output
1875
- }], look: [{
2201
+ }], __hostClass: [{
2202
+ type: HostBinding,
2203
+ args: ['class']
2204
+ }], timeOut: [{
2205
+ type: Input
2206
+ }], visible: [{
1876
2207
  type: Input
1877
- }], onItemClick: [{
1878
- type: Output
1879
- }], _contentButtons: [{
1880
- type: ContentChildren,
1881
- args: [AXButtonComponent, { descendants: true }]
1882
2208
  }] } });
1883
2209
 
1884
- const AXBaseItemButtonMixin = _InteractiveComponenetMixin(_ClickableComponenetMixin(AXBaseComponent));
1885
- class AXButtonItemComponent extends AXBaseItemButtonMixin {
1886
- /**
1887
- * @ignore
1888
- */
2210
+ class AXAlertTitleComponent {
2211
+ }
2212
+ AXAlertTitleComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXAlertTitleComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
2213
+ AXAlertTitleComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: AXAlertTitleComponent, selector: "ax-alert-title", host: { classAttribute: "ax-alert-title" }, ngImport: i0, template: `
2214
+ <ng-content>
2215
+ </ng-content>
2216
+ `, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
2217
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXAlertTitleComponent, decorators: [{
2218
+ type: Component,
2219
+ args: [{
2220
+ selector: 'ax-alert-title',
2221
+ template: `
2222
+ <ng-content>
2223
+ </ng-content>
2224
+ `,
2225
+ changeDetection: ChangeDetectionStrategy.OnPush,
2226
+ encapsulation: ViewEncapsulation.None,
2227
+ host: { class: 'ax-alert-title' }
2228
+ }]
2229
+ }] });
2230
+
2231
+ class AXAlertButtonComponent extends AXBaseClickableMixin {
1889
2232
  constructor(elementRef, cdr) {
1890
2233
  super(elementRef, cdr);
1891
- this.text = null;
1892
- this.tooltip = null;
1893
- this.selected = false;
1894
- this.seperated = false;
1895
- this.color = 'light';
1896
2234
  }
1897
- __hostClick(e) {
2235
+ _handleOnClick(e) {
1898
2236
  this._emitOnClickEvent(e);
1899
2237
  }
1900
- get __hostClass() {
1901
- const cssClasses = {
1902
- 'ax-button-icon': !this.text,
1903
- 'ax-state-disabled': this.disabled,
1904
- 'ax-state-selected': this.selected,
1905
- };
1906
- cssClasses[`ax-${this.color || 'primary'}-default`] = true;
1907
- return Object.entries(cssClasses).filter(c => c[1]).map(c => c[0]).join(' ');
2238
+ _handleOnFocus(e) {
2239
+ this._emitOnFocusEvent(e);
2240
+ }
2241
+ _handleOnBlur(e) {
2242
+ this._emitOnBlurEvent(e);
1908
2243
  }
1909
2244
  }
1910
- AXButtonItemComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXButtonItemComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
1911
- AXButtonItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: AXButtonItemComponent, selector: "ax-button-item", inputs: { text: "text", tooltip: "tooltip", selected: "selected", seperated: "seperated", name: "name", data: "data", color: "color" }, host: { listeners: { "click": "__hostClick($event)" }, properties: { "class": "this.__hostClass" } }, usesInheritance: true, ngImport: i0, template: `
1912
- <ng-content select="ax-prefix">
1913
- </ng-content>
1914
- <ng-content select="ax-icon">
1915
- </ng-content>
1916
- <span *ngIf="text">{{text}}</span>
1917
- <ng-content select="ax-suffix">
1918
- </ng-content>
1919
- `, isInline: true, directives: [{ type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
1920
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXButtonItemComponent, decorators: [{
2245
+ AXAlertButtonComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXAlertButtonComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
2246
+ AXAlertButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: AXAlertButtonComponent, selector: "ax-alert-button", inputs: { text: "text", icon: "icon" }, outputs: { onBlur: "onBlur", onFocus: "onFocus", onClick: "onClick", selectedChange: "selectedChange", toggleableChange: "toggleableChange" }, host: { listeners: { "click": "_handleOnClick($event)", "focus": "_handleOnFocus($event)", "blur": "_handleOnBlur($event)" }, classAttribute: "ax-alert-button" }, usesInheritance: true, ngImport: i0, template: `
2247
+ {{text}}
2248
+ <ng-content select="ax-icon"></ng-content>
2249
+ `, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
2250
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXAlertButtonComponent, decorators: [{
1921
2251
  type: Component,
1922
2252
  args: [{
1923
- selector: 'ax-button-item',
2253
+ selector: 'ax-alert-button',
1924
2254
  template: `
1925
- <ng-content select="ax-prefix">
1926
- </ng-content>
1927
- <ng-content select="ax-icon">
2255
+ {{text}}
2256
+ <ng-content select="ax-icon"></ng-content>
2257
+ `,
2258
+ changeDetection: ChangeDetectionStrategy.OnPush,
2259
+ encapsulation: ViewEncapsulation.None,
2260
+ outputs: [...BUTTON_OUTPUT],
2261
+ host: { class: 'ax-alert-button' }
2262
+ }]
2263
+ }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { text: [{
2264
+ type: Input
2265
+ }], icon: [{
2266
+ type: Input
2267
+ }], _handleOnClick: [{
2268
+ type: HostListener,
2269
+ args: ['click', ['$event']]
2270
+ }], _handleOnFocus: [{
2271
+ type: HostListener,
2272
+ args: ['focus', ['$event']]
2273
+ }], _handleOnBlur: [{
2274
+ type: HostListener,
2275
+ args: ['blur', ['$event']]
2276
+ }] } });
2277
+
2278
+ class AXAlertContentComponent {
2279
+ }
2280
+ AXAlertContentComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXAlertContentComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
2281
+ AXAlertContentComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: AXAlertContentComponent, selector: "ax-alert-content", host: { classAttribute: "ax-alert-content" }, ngImport: i0, template: `<ng-content>
1928
2282
  </ng-content>
1929
- <span *ngIf="text">{{text}}</span>
1930
- <ng-content select="ax-suffix">
2283
+ `, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
2284
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXAlertContentComponent, decorators: [{
2285
+ type: Component,
2286
+ args: [{
2287
+ selector: 'ax-alert-content',
2288
+ template: `<ng-content>
1931
2289
  </ng-content>
1932
2290
  `,
2291
+ changeDetection: ChangeDetectionStrategy.OnPush,
2292
+ encapsulation: ViewEncapsulation.None,
2293
+ host: { class: 'ax-alert-content' }
2294
+ }]
2295
+ }] });
2296
+
2297
+ class AXAlertSuffixComponent {
2298
+ }
2299
+ AXAlertSuffixComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXAlertSuffixComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
2300
+ AXAlertSuffixComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: AXAlertSuffixComponent, selector: "ax-alert-suffix", host: { classAttribute: "ax-alert-suffix" }, ngImport: i0, template: `
2301
+ <div class="ax-alert-buttons">
2302
+ <ng-content select="ax-alert-button">
2303
+ </ng-content>
2304
+ </div>
2305
+ `, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
2306
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXAlertSuffixComponent, decorators: [{
2307
+ type: Component,
2308
+ args: [{
2309
+ selector: 'ax-alert-suffix',
2310
+ template: `
2311
+ <div class="ax-alert-buttons">
2312
+ <ng-content select="ax-alert-button">
2313
+ </ng-content>
2314
+ </div>
2315
+ `,
2316
+ changeDetection: ChangeDetectionStrategy.OnPush,
1933
2317
  encapsulation: ViewEncapsulation.None,
2318
+ host: { class: 'ax-alert-suffix' }
2319
+ }]
2320
+ }] });
2321
+
2322
+ class AXAlertFooterComponent {
2323
+ }
2324
+ AXAlertFooterComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXAlertFooterComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
2325
+ AXAlertFooterComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: AXAlertFooterComponent, selector: "ax-alert-footer", host: { classAttribute: "ax-alert-footer" }, ngImport: i0, template: `
2326
+ <div class="ax-alert-buttons">
2327
+ <ng-content select="ax-alert-button">
2328
+ </ng-content>
2329
+ </div>
2330
+ `, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
2331
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXAlertFooterComponent, decorators: [{
2332
+ type: Component,
2333
+ args: [{
2334
+ selector: 'ax-alert-footer',
2335
+ template: `
2336
+ <div class="ax-alert-buttons">
2337
+ <ng-content select="ax-alert-button">
2338
+ </ng-content>
2339
+ </div>
2340
+ `,
1934
2341
  changeDetection: ChangeDetectionStrategy.OnPush,
2342
+ encapsulation: ViewEncapsulation.None,
2343
+ host: { class: 'ax-alert-footer' }
2344
+ }]
2345
+ }] });
2346
+
2347
+ const COMPONENT$k = [
2348
+ AXAlertComponent,
2349
+ AXAlertContentComponent,
2350
+ AXAlertTitleComponent,
2351
+ AXAlertButtonComponent,
2352
+ AXAlertFooterComponent,
2353
+ AXAlertSuffixComponent
2354
+ ];
2355
+ const MODULES$k = [CommonModule, AXIconModule];
2356
+ class AXAlertModule {
2357
+ }
2358
+ AXAlertModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXAlertModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
2359
+ AXAlertModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXAlertModule, declarations: [AXAlertComponent,
2360
+ AXAlertContentComponent,
2361
+ AXAlertTitleComponent,
2362
+ AXAlertButtonComponent,
2363
+ AXAlertFooterComponent,
2364
+ AXAlertSuffixComponent], imports: [CommonModule, AXIconModule], exports: [AXAlertComponent,
2365
+ AXAlertContentComponent,
2366
+ AXAlertTitleComponent,
2367
+ AXAlertButtonComponent,
2368
+ AXAlertFooterComponent,
2369
+ AXAlertSuffixComponent] });
2370
+ AXAlertModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXAlertModule, providers: [], imports: [[...MODULES$k]] });
2371
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXAlertModule, decorators: [{
2372
+ type: NgModule,
2373
+ args: [{
2374
+ declarations: [...COMPONENT$k],
2375
+ imports: [...MODULES$k],
2376
+ exports: [...COMPONENT$k],
2377
+ providers: [],
2378
+ }]
2379
+ }] });
2380
+
2381
+ class AXAvatarGroup {
2382
+ constructor() { }
2383
+ ngOnInit() { }
2384
+ }
2385
+ AXAvatarGroup.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXAvatarGroup, deps: [], target: i0.ɵɵFactoryTarget.Component });
2386
+ AXAvatarGroup.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: AXAvatarGroup, selector: "ax-avatar-group", host: { classAttribute: "ax-avatar-group" }, ngImport: i0, template: `<ng-content select='ax-avatar'></ng-content>`, isInline: true });
2387
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXAvatarGroup, decorators: [{
2388
+ type: Component,
2389
+ args: [{
2390
+ selector: 'ax-avatar-group',
2391
+ template: `<ng-content select='ax-avatar'></ng-content>`,
2392
+ host: { class: 'ax-avatar-group' }
1935
2393
  }]
2394
+ }], ctorParameters: function () { return []; } });
2395
+
2396
+ /**
2397
+ * The Button is a component which detects user interaction and triggers a corresponding event
2398
+ *
2399
+ * @category Components
2400
+ */
2401
+ class AXAvatarComponent extends AXAvatarMixin {
2402
+ /**
2403
+ * @ignore
2404
+ */
2405
+ constructor(elementRef, cdr) {
2406
+ super(elementRef, cdr);
2407
+ this.type = 'default';
2408
+ }
2409
+ get __hostClass() {
2410
+ return `ax-${this.color}-default`;
2411
+ }
2412
+ }
2413
+ AXAvatarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXAvatarComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
2414
+ AXAvatarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: AXAvatarComponent, selector: "ax-avatar", inputs: { color: "color", look: "look", text: "text", icon: "icon", src: "src", class: "class", type: "type" }, host: { properties: { "class": "this.__hostClass" }, classAttribute: "ax-avatar" }, usesInheritance: true, ngImport: i0, template: "\r\n<div class=\"ax-avatar-container\" [ngSwitch]=\"type\">\r\n <ng-content select=\"ax-badge\"></ng-content>\r\n <div class=\"ax-text-avatar {{class}}\" *ngSwitchCase=\"'text'\">\r\n {{text}}\r\n </div>\r\n <div class=\"ax-icon-avatar {{class}}\" *ngSwitchCase=\"'icon'\">\r\n <ng-content select=\"ax-icon\"></ng-content>\r\n </div>\r\n <div class=\"ax-image-avatar {{class}}\" *ngSwitchCase=\"'image'\">\r\n <ng-content select=\"img\"></ng-content>\r\n </div>\r\n <div class=\"ax-default-avatar {{class}}\" *ngSwitchCase=\"'default'\">\r\n <svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" viewBox=\"0 0 512 512\">\r\n <g style=\"isolation:isolate\">\r\n <g id=\"Layer_2\" data-name=\"Layer 2\">\r\n <g id=\"Layer_1-2\" data-name=\"Layer 1\">\r\n <rect width=\"512\" height=\"512\" />\r\n <path\r\n d=\"M419.16,511.94s-2.85-154-142.28-176.19a139.93,139.93,0,0,0-22-1.67h0a55.8,55.8,0,0,0-5.93.29C99.25,350.35,96.26,511.94,96.26,511.94\"\r\n style=\"fill:#fff;opacity:0.7\" />\r\n <path\r\n d=\"M256,355.18c-17.29,0-32.22-4.63-46.38-12.41-3.86,1.31-8.15,2.93-11.75,4.46A96.48,96.48,0,0,0,256,366.62a100.29,100.29,0,0,0,60.07-20c-3.6-1.49-6.41-2.55-10.27-3.83C291.48,350.79,273.58,355.18,256,355.18Z\"\r\n style=\"opacity:0.05\" />\r\n <circle cx=\"257.71\" cy=\"255.94\" r=\"99.24\" style=\"fill:#fff\" />\r\n </g>\r\n </g>\r\n </g>\r\n </svg>\r\n </div>\r\n</div>", directives: [{ type: i1.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { type: i1.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
2415
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXAvatarComponent, decorators: [{
2416
+ type: Component,
2417
+ args: [{ selector: 'ax-avatar', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, inputs: [...COLOR_LOOK_INPUTS], host: { class: 'ax-avatar' }, template: "\r\n<div class=\"ax-avatar-container\" [ngSwitch]=\"type\">\r\n <ng-content select=\"ax-badge\"></ng-content>\r\n <div class=\"ax-text-avatar {{class}}\" *ngSwitchCase=\"'text'\">\r\n {{text}}\r\n </div>\r\n <div class=\"ax-icon-avatar {{class}}\" *ngSwitchCase=\"'icon'\">\r\n <ng-content select=\"ax-icon\"></ng-content>\r\n </div>\r\n <div class=\"ax-image-avatar {{class}}\" *ngSwitchCase=\"'image'\">\r\n <ng-content select=\"img\"></ng-content>\r\n </div>\r\n <div class=\"ax-default-avatar {{class}}\" *ngSwitchCase=\"'default'\">\r\n <svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" viewBox=\"0 0 512 512\">\r\n <g style=\"isolation:isolate\">\r\n <g id=\"Layer_2\" data-name=\"Layer 2\">\r\n <g id=\"Layer_1-2\" data-name=\"Layer 1\">\r\n <rect width=\"512\" height=\"512\" />\r\n <path\r\n d=\"M419.16,511.94s-2.85-154-142.28-176.19a139.93,139.93,0,0,0-22-1.67h0a55.8,55.8,0,0,0-5.93.29C99.25,350.35,96.26,511.94,96.26,511.94\"\r\n style=\"fill:#fff;opacity:0.7\" />\r\n <path\r\n d=\"M256,355.18c-17.29,0-32.22-4.63-46.38-12.41-3.86,1.31-8.15,2.93-11.75,4.46A96.48,96.48,0,0,0,256,366.62a100.29,100.29,0,0,0,60.07-20c-3.6-1.49-6.41-2.55-10.27-3.83C291.48,350.79,273.58,355.18,256,355.18Z\"\r\n style=\"opacity:0.05\" />\r\n <circle cx=\"257.71\" cy=\"255.94\" r=\"99.24\" style=\"fill:#fff\" />\r\n </g>\r\n </g>\r\n </g>\r\n </svg>\r\n </div>\r\n</div>" }]
1936
2418
  }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { text: [{
1937
2419
  type: Input
1938
- }], tooltip: [{
1939
- type: Input
1940
- }], selected: [{
1941
- type: Input
1942
- }], seperated: [{
2420
+ }], icon: [{
1943
2421
  type: Input
1944
- }], name: [{
2422
+ }], src: [{
1945
2423
  type: Input
1946
- }], data: [{
2424
+ }], class: [{
1947
2425
  type: Input
1948
- }], color: [{
2426
+ }], type: [{
1949
2427
  type: Input
1950
- }], __hostClick: [{
1951
- type: HostListener,
1952
- args: ['click', ['$event']]
1953
2428
  }], __hostClass: [{
1954
2429
  type: HostBinding,
1955
2430
  args: ['class']
1956
2431
  }] } });
1957
2432
 
1958
- class AXDecoratorContentComponent extends AXBaseComponentMixin {
1959
- constructor(elementRef, cdr) {
1960
- super(elementRef, cdr);
1961
- }
1962
- }
1963
- AXDecoratorContentComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXDecoratorContentComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
1964
- AXDecoratorContentComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: AXDecoratorContentComponent, selector: "ax-content", usesInheritance: true, ngImport: i0, template: `
1965
- <ng-content>
1966
- </ng-content>
1967
- `, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
1968
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXDecoratorContentComponent, decorators: [{
1969
- type: Component,
1970
- args: [{
1971
- selector: 'ax-content',
1972
- template: `
1973
- <ng-content>
1974
- </ng-content>
1975
- `,
1976
- changeDetection: ChangeDetectionStrategy.OnPush,
1977
- encapsulation: ViewEncapsulation.None,
1978
- }]
1979
- }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; } });
1980
-
1981
- class AXDecoratorAddOnComponent extends AXBaseComponentMixin {
1982
- constructor(_elementRef, _cdr) {
1983
- super(_elementRef, _cdr);
1984
- }
2433
+ const COMPONENT$j = [AXAvatarComponent, AXAvatarGroup];
2434
+ const MODULES$j = [CommonModule];
2435
+ class AXAvatarModule {
1985
2436
  }
1986
- AXDecoratorAddOnComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXDecoratorAddOnComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
1987
- AXDecoratorAddOnComponentcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: AXDecoratorAddOnComponent, selector: "ax-addon", usesInheritance: true, ngImport: i0, template: `<ng-content></ng-content>`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
1988
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXDecoratorAddOnComponent, decorators: [{
1989
- type: Component,
2437
+ AXAvatarModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXAvatarModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
2438
+ AXAvatarModulemod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXAvatarModule, declarations: [AXAvatarComponent, AXAvatarGroup], imports: [CommonModule], exports: [AXAvatarComponent, AXAvatarGroup] });
2439
+ AXAvatarModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXAvatarModule, providers: [], imports: [[...MODULES$j]] });
2440
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXAvatarModule, decorators: [{
2441
+ type: NgModule,
1990
2442
  args: [{
1991
- selector: 'ax-addon',
1992
- template: `<ng-content></ng-content>`,
1993
- changeDetection: ChangeDetectionStrategy.OnPush,
1994
- encapsulation: ViewEncapsulation.None
2443
+ declarations: [...COMPONENT$j],
2444
+ imports: [...MODULES$j],
2445
+ exports: [...COMPONENT$j],
2446
+ providers: [],
1995
2447
  }]
1996
- }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; } });
2448
+ }] });
1997
2449
 
1998
- class AXDecoratorHeaderComponent extends AXBaseComponentMixin {
2450
+ const AXBaseBadgeMixin = _ColorLookComponentMixin(AXBaseComponent);
2451
+ class AXBadgeComponent extends AXBaseBadgeMixin {
1999
2452
  constructor(elementRef, cdr) {
2000
2453
  super(elementRef, cdr);
2454
+ this.text = '';
2455
+ //TODO: ax-badge
2456
+ }
2457
+ get __hostClass() {
2458
+ const _class = this.look ? `ax-${this.color}-${this.look}` : `ax-${this.color}-default`;
2459
+ return ['ax-badge', _class, !this.text ? 'ax-badge-icon' : ''].join(' ');
2001
2460
  }
2002
2461
  }
2003
- AXDecoratorHeaderComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXDecoratorHeaderComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
2004
- AXDecoratorHeaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: AXDecoratorHeaderComponent, selector: "ax-header", usesInheritance: true, ngImport: i0, template: `
2005
- <ng-content>
2006
- </ng-content>
2007
- `, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
2008
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXDecoratorHeaderComponent, decorators: [{
2462
+ AXBadgeComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXBadgeComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
2463
+ AXBadgeComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: AXBadgeComponent, selector: "ax-badge", inputs: { color: "color", look: "look", text: "text" }, host: { properties: { "class": "this.__hostClass" } }, usesInheritance: true, ngImport: i0, template: "<ng-content select=\"ax-prefix\"></ng-content>\r\n<span class=\"ax-font-medium ax-truncate\">{{text}}</span>\r\n<ng-content select=\"ax-suffix\"></ng-content>", changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
2464
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXBadgeComponent, decorators: [{
2009
2465
  type: Component,
2010
- args: [{
2011
- selector: 'ax-header',
2012
- template: `
2013
- <ng-content>
2014
- </ng-content>
2015
- `,
2016
- changeDetection: ChangeDetectionStrategy.OnPush,
2017
- encapsulation: ViewEncapsulation.None,
2018
- }]
2019
- }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; } });
2466
+ args: [{ selector: 'ax-badge', changeDetection: ChangeDetectionStrategy.OnPush, inputs: [...COLOR_LOOK_INPUTS], encapsulation: ViewEncapsulation.None, template: "<ng-content select=\"ax-prefix\"></ng-content>\r\n<span class=\"ax-font-medium ax-truncate\">{{text}}</span>\r\n<ng-content select=\"ax-suffix\"></ng-content>" }]
2467
+ }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { text: [{
2468
+ type: Input
2469
+ }], __hostClass: [{
2470
+ type: HostBinding,
2471
+ args: ['class']
2472
+ }] } });
2020
2473
 
2021
- class AXDecoratorPrefixComponent extends AXBaseComponentMixin {
2022
- constructor(elementRef, cdr) {
2023
- super(elementRef, cdr);
2024
- }
2474
+ const COMPONENT$i = [AXBadgeComponent];
2475
+ const MODULES$i = [CommonModule];
2476
+ class AXBadgeModule {
2025
2477
  }
2026
- AXDecoratorPrefixComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXDecoratorPrefixComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
2027
- AXDecoratorPrefixComponentcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: AXDecoratorPrefixComponent, selector: "ax-prefix", usesInheritance: true, ngImport: i0, template: `
2028
- <ng-content select="ax-button,ax-loading,ax-icon,ax-content,ax-badge,ax-addon">
2029
- </ng-content>
2030
- `, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
2031
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXDecoratorPrefixComponent, decorators: [{
2032
- type: Component,
2478
+ AXBadgeModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXBadgeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
2479
+ AXBadgeModulemod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXBadgeModule, declarations: [AXBadgeComponent], imports: [CommonModule], exports: [AXBadgeComponent] });
2480
+ AXBadgeModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXBadgeModule, providers: [], imports: [[...MODULES$i]] });
2481
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXBadgeModule, decorators: [{
2482
+ type: NgModule,
2033
2483
  args: [{
2034
- selector: 'ax-prefix',
2035
- template: `
2036
- <ng-content select="ax-button,ax-loading,ax-icon,ax-content,ax-badge,ax-addon">
2037
- </ng-content>
2038
- `,
2039
- changeDetection: ChangeDetectionStrategy.OnPush,
2040
- encapsulation: ViewEncapsulation.None
2484
+ declarations: [...COMPONENT$i],
2485
+ imports: [...MODULES$i],
2486
+ exports: [...COMPONENT$i],
2487
+ providers: [],
2041
2488
  }]
2042
- }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; } });
2489
+ }] });
2043
2490
 
2044
- class AXDecoratorSuffixComponent extends AXBaseComponentMixin {
2045
- constructor(elementRef, cdr) {
2046
- super(elementRef, cdr);
2491
+ class AXBreadCrumbsComponent extends AXBaseComponent {
2492
+ constructor() {
2493
+ super();
2047
2494
  }
2048
2495
  }
2049
- AXDecoratorSuffixComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXDecoratorSuffixComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
2050
- AXDecoratorSuffixComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: AXDecoratorSuffixComponent, selector: "ax-suffix", usesInheritance: true, ngImport: i0, template: `
2051
- <ng-content select="ax-button,ax-loading,ax-icon,ax-content,ax-badge,ax-addon">
2052
- </ng-content>
2053
- `, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
2054
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXDecoratorSuffixComponent, decorators: [{
2496
+ AXBreadCrumbsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXBreadCrumbsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
2497
+ AXBreadCrumbsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: AXBreadCrumbsComponent, selector: "ax-breadcrumbs", host: { classAttribute: "ax-breadcrumbs" }, usesInheritance: true, ngImport: i0, template: "<ng-content select=\"ax-breadcrumbs-item\"></ng-content>" });
2498
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXBreadCrumbsComponent, decorators: [{
2055
2499
  type: Component,
2056
- args: [{
2057
- selector: 'ax-suffix',
2058
- template: `
2059
- <ng-content select="ax-button,ax-loading,ax-icon,ax-content,ax-badge,ax-addon">
2060
- </ng-content>
2061
- `,
2062
- changeDetection: ChangeDetectionStrategy.OnPush,
2063
- encapsulation: ViewEncapsulation.None
2064
- }]
2065
- }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; } });
2500
+ args: [{ selector: 'ax-breadcrumbs', host: { class: 'ax-breadcrumbs' }, template: "<ng-content select=\"ax-breadcrumbs-item\"></ng-content>" }]
2501
+ }], ctorParameters: function () { return []; } });
2066
2502
 
2067
- const COMPONENT$k = [AXDecoratorPrefixComponent, AXDecoratorSuffixComponent, AXDecoratorContentComponent, AXDecoratorHeaderComponent, AXDecoratorAddOnComponent];
2068
- const MODULES$k = [CommonModule];
2069
- class AXEditorDecoratorModule {
2503
+ class AXBreadCrumbsItemComponent extends AXBaseComponent {
2504
+ constructor() {
2505
+ super();
2506
+ }
2070
2507
  }
2071
- AXEditorDecoratorModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXEditorDecoratorModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
2072
- AXEditorDecoratorModulemod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXEditorDecoratorModule, declarations: [AXDecoratorPrefixComponent, AXDecoratorSuffixComponent, AXDecoratorContentComponent, AXDecoratorHeaderComponent, AXDecoratorAddOnComponent], imports: [CommonModule], exports: [AXDecoratorPrefixComponent, AXDecoratorSuffixComponent, AXDecoratorContentComponent, AXDecoratorHeaderComponent, AXDecoratorAddOnComponent] });
2073
- AXEditorDecoratorModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXEditorDecoratorModule, providers: [], imports: [[...MODULES$k]] });
2074
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXEditorDecoratorModule, decorators: [{
2075
- type: NgModule,
2076
- args: [{
2077
- declarations: [...COMPONENT$k],
2078
- imports: [...MODULES$k],
2079
- exports: [...COMPONENT$k],
2080
- providers: [],
2081
- }]
2082
- }] });
2508
+ AXBreadCrumbsItemComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXBreadCrumbsItemComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
2509
+ AXBreadCrumbsItemComponentcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: AXBreadCrumbsItemComponent, selector: "ax-breadcrumbs-item", inputs: { text: "text" }, host: { classAttribute: "ax-breadcrumbs-item" }, usesInheritance: true, ngImport: i0, template: "<ng-content select=\"ax-prefix,ax-loading,ax-icon\">\r\n</ng-content>\r\n<div>{{text}}</div>\r\n<ng-content select=\"ax-suffix,ax-loading,ax-icon\">\r\n</ng-content>" });
2510
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXBreadCrumbsItemComponent, decorators: [{
2511
+ type: Component,
2512
+ args: [{ selector: 'ax-breadcrumbs-item', host: { class: 'ax-breadcrumbs-item' }, template: "<ng-content select=\"ax-prefix,ax-loading,ax-icon\">\r\n</ng-content>\r\n<div>{{text}}</div>\r\n<ng-content select=\"ax-suffix,ax-loading,ax-icon\">\r\n</ng-content>" }]
2513
+ }], ctorParameters: function () { return []; }, propDecorators: { text: [{
2514
+ type: Input
2515
+ }] } });
2083
2516
 
2084
- const COMPONENT$j = [
2085
- AXButtonComponent,
2086
- AXButtonItemComponent,
2087
- AXButtonGroupComponent,
2088
- ];
2089
- const MODULES$j = [CommonModule, AXIconModule, AXEditorDecoratorModule];
2090
- class AXButtonModule {
2517
+ class AXBreadcrumbsModule {
2091
2518
  }
2092
- AXButtonModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXButtonModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
2093
- AXButtonModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXButtonModule, declarations: [AXButtonComponent,
2094
- AXButtonItemComponent,
2095
- AXButtonGroupComponent], imports: [CommonModule, AXIconModule, AXEditorDecoratorModule], exports: [AXButtonComponent,
2096
- AXButtonItemComponent,
2097
- AXButtonGroupComponent] });
2098
- AXButtonModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXButtonModule, providers: [], imports: [[MODULES$j]] });
2099
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXButtonModule, decorators: [{
2519
+ AXBreadcrumbsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXBreadcrumbsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
2520
+ AXBreadcrumbsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXBreadcrumbsModule, declarations: [AXBreadCrumbsComponent, AXBreadCrumbsItemComponent], imports: [CommonModule], exports: [AXBreadCrumbsComponent, AXBreadCrumbsItemComponent] });
2521
+ AXBreadcrumbsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXBreadcrumbsModule, providers: [], imports: [[CommonModule]] });
2522
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXBreadcrumbsModule, decorators: [{
2100
2523
  type: NgModule,
2101
2524
  args: [{
2102
- imports: [MODULES$j],
2103
- exports: [COMPONENT$j],
2104
- declarations: [COMPONENT$j],
2525
+ declarations: [AXBreadCrumbsComponent, AXBreadCrumbsItemComponent],
2526
+ imports: [CommonModule],
2527
+ exports: [AXBreadCrumbsComponent, AXBreadCrumbsItemComponent],
2105
2528
  providers: [],
2106
2529
  }]
2107
2530
  }] });
@@ -2466,19 +2889,19 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
2466
2889
  args: ['class']
2467
2890
  }] } });
2468
2891
 
2469
- const COMPONENT$i = [AXCalendarComponent];
2470
- const MODULES$i = [CommonModule, AXButtonModule, AXIconModule, AXEditorDecoratorModule, AXDateTimeModule];
2892
+ const COMPONENT$h = [AXCalendarComponent];
2893
+ const MODULES$h = [CommonModule, AXButtonModule, AXIconModule, AXEditorDecoratorModule, AXDateTimeModule];
2471
2894
  class AXCalendarModule {
2472
2895
  }
2473
2896
  AXCalendarModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXCalendarModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
2474
2897
  AXCalendarModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXCalendarModule, declarations: [AXCalendarComponent], imports: [CommonModule, AXButtonModule, AXIconModule, AXEditorDecoratorModule, AXDateTimeModule], exports: [AXCalendarComponent] });
2475
- AXCalendarModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXCalendarModule, providers: [], imports: [[...MODULES$i]] });
2898
+ AXCalendarModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXCalendarModule, providers: [], imports: [[...MODULES$h]] });
2476
2899
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXCalendarModule, decorators: [{
2477
2900
  type: NgModule,
2478
2901
  args: [{
2479
- declarations: [...COMPONENT$i],
2480
- imports: [...MODULES$i],
2481
- exports: [...COMPONENT$i],
2902
+ declarations: [...COMPONENT$h],
2903
+ imports: [...MODULES$h],
2904
+ exports: [...COMPONENT$h],
2482
2905
  providers: [],
2483
2906
  }]
2484
2907
  }] });
@@ -2943,19 +3366,19 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
2943
3366
  }]
2944
3367
  }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: AXCarouselComponent }]; } });
2945
3368
 
2946
- const COMPONENT$h = [AXCarouselComponent, AXCarouselItemComponent, AXCarouselArrowsComponent, AXCarouselPagerComponent];
2947
- const MODULES$h = [CommonModule];
3369
+ const COMPONENT$g = [AXCarouselComponent, AXCarouselItemComponent, AXCarouselArrowsComponent, AXCarouselPagerComponent];
3370
+ const MODULES$g = [CommonModule];
2948
3371
  class AXCarouselModule {
2949
3372
  }
2950
3373
  AXCarouselModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXCarouselModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
2951
3374
  AXCarouselModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXCarouselModule, declarations: [AXCarouselComponent, AXCarouselItemComponent, AXCarouselArrowsComponent, AXCarouselPagerComponent], imports: [CommonModule], exports: [AXCarouselComponent, AXCarouselItemComponent, AXCarouselArrowsComponent, AXCarouselPagerComponent] });
2952
- AXCarouselModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXCarouselModule, providers: [], imports: [[...MODULES$h]] });
3375
+ AXCarouselModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXCarouselModule, providers: [], imports: [[...MODULES$g]] });
2953
3376
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXCarouselModule, decorators: [{
2954
3377
  type: NgModule,
2955
3378
  args: [{
2956
- declarations: [...COMPONENT$h],
2957
- imports: [...MODULES$h],
2958
- exports: [...COMPONENT$h],
3379
+ declarations: [...COMPONENT$g],
3380
+ imports: [...MODULES$g],
3381
+ exports: [...COMPONENT$g],
2959
3382
  providers: [],
2960
3383
  }]
2961
3384
  }] });
@@ -3332,8 +3755,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
3332
3755
  args: ['axIsLoading']
3333
3756
  }] } });
3334
3757
 
3335
- const COMPONENT$g = [AXLoadingComponent, AXLoadingDirective, AXLoadingSpinnerComponent];
3336
- const MODULES$g = [CommonModule, OverlayModule, PortalModule];
3758
+ const COMPONENT$f = [AXLoadingComponent, AXLoadingDirective, AXLoadingSpinnerComponent];
3759
+ const MODULES$f = [CommonModule, OverlayModule, PortalModule];
3337
3760
  class AXLoadingModule {
3338
3761
  constructor() {
3339
3762
  AXConfig.set({
@@ -3347,13 +3770,13 @@ class AXLoadingModule {
3347
3770
  }
3348
3771
  AXLoadingModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXLoadingModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
3349
3772
  AXLoadingModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXLoadingModule, declarations: [AXLoadingComponent, AXLoadingDirective, AXLoadingSpinnerComponent], imports: [CommonModule, OverlayModule, PortalModule], exports: [AXLoadingComponent, AXLoadingDirective, AXLoadingSpinnerComponent] });
3350
- AXLoadingModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXLoadingModule, providers: [], imports: [[...MODULES$g]] });
3773
+ AXLoadingModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXLoadingModule, providers: [], imports: [[...MODULES$f]] });
3351
3774
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXLoadingModule, decorators: [{
3352
3775
  type: NgModule,
3353
3776
  args: [{
3354
- declarations: [...COMPONENT$g],
3355
- imports: [...MODULES$g],
3356
- exports: [...COMPONENT$g],
3777
+ declarations: [...COMPONENT$f],
3778
+ imports: [...MODULES$f],
3779
+ exports: [...COMPONENT$f],
3357
3780
  providers: [],
3358
3781
  }]
3359
3782
  }], ctorParameters: function () { return []; } });
@@ -3634,19 +4057,19 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
3634
4057
  }]
3635
4058
  }], ctorParameters: function () { return [{ type: i0.NgZone }, { type: AXOverlayService }]; } });
3636
4059
 
3637
- const COMPONENT$f = [AXDataListComponent];
3638
- const MODULES$f = [CommonModule, AXButtonModule, AXLoadingModule, AXTranslationModule];
4060
+ const COMPONENT$e = [AXDataListComponent];
4061
+ const MODULES$e = [CommonModule, AXButtonModule, AXLoadingModule, AXTranslationModule];
3639
4062
  class AXDataListModule {
3640
4063
  }
3641
4064
  AXDataListModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXDataListModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
3642
4065
  AXDataListModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXDataListModule, declarations: [AXDataListComponent], imports: [CommonModule, AXButtonModule, AXLoadingModule, AXTranslationModule], exports: [AXDataListComponent] });
3643
- AXDataListModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXDataListModule, providers: [], imports: [[...MODULES$f]] });
4066
+ AXDataListModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXDataListModule, providers: [], imports: [[...MODULES$e]] });
3644
4067
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXDataListModule, decorators: [{
3645
4068
  type: NgModule,
3646
4069
  args: [{
3647
- declarations: [...COMPONENT$f],
3648
- imports: [...MODULES$f],
3649
- exports: [...COMPONENT$f],
4070
+ declarations: [...COMPONENT$e],
4071
+ imports: [...MODULES$e],
4072
+ exports: [...COMPONENT$e],
3650
4073
  providers: [],
3651
4074
  }]
3652
4075
  }] });
@@ -4094,8 +4517,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
4094
4517
  }]
4095
4518
  }] });
4096
4519
 
4097
- const COMPONENT$e = [AXDatePickerComponent];
4098
- const MODULES$e = [
4520
+ const COMPONENT$d = [AXDatePickerComponent];
4521
+ const MODULES$d = [
4099
4522
  CommonModule,
4100
4523
  AXCalendarModule,
4101
4524
  AXTextBoxModule,
@@ -4118,13 +4541,13 @@ AXDatepickerModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", vers
4118
4541
  AXIconModule,
4119
4542
  AXDateTimeModule,
4120
4543
  FormsModule], exports: [AXDatePickerComponent] });
4121
- AXDatepickerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXDatepickerModule, providers: [], imports: [[...MODULES$e]] });
4544
+ AXDatepickerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXDatepickerModule, providers: [], imports: [[...MODULES$d]] });
4122
4545
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXDatepickerModule, decorators: [{
4123
4546
  type: NgModule,
4124
4547
  args: [{
4125
- declarations: [...COMPONENT$e],
4126
- imports: [...MODULES$e],
4127
- exports: [...COMPONENT$e],
4548
+ declarations: [...COMPONENT$d],
4549
+ imports: [...MODULES$d],
4550
+ exports: [...COMPONENT$d],
4128
4551
  providers: [],
4129
4552
  }]
4130
4553
  }] });
@@ -4305,20 +4728,41 @@ class AXPageComponent extends AXBaseComponentMixin {
4305
4728
  constructor(elementRef, cdr, _loadingService) {
4306
4729
  super(elementRef, cdr);
4307
4730
  this._loadingService = _loadingService;
4731
+ // private _isLoading: boolean = false;
4732
+ // public get isLoading(): boolean {
4733
+ // return this._isLoading;
4734
+ // }
4735
+ // public set isLoading(v: boolean) {
4736
+ // this._isLoading = v;
4737
+ // if (this._loadingId && !v) {
4738
+ // this._loadingService.hide(this._loadingId);
4739
+ // this._loadingId = null;
4740
+ // }
4741
+ // if (v) {
4742
+ // this._loadingId = this._loadingService.show(this._getHostElement());
4743
+ // }
4744
+ // }
4745
+ this.isLoadingChange = new EventEmitter();
4308
4746
  this._isLoading = false;
4309
4747
  }
4310
4748
  get isLoading() {
4311
4749
  return this._isLoading;
4312
4750
  }
4313
4751
  set isLoading(v) {
4314
- this._isLoading = v;
4315
- if (this._loadingId && !v) {
4316
- this._loadingService.hide(this._loadingId);
4317
- this._loadingId = null;
4318
- }
4319
- if (v) {
4320
- this._loadingId = this._loadingService.show(this._getHostElement());
4321
- }
4752
+ this._setOption({
4753
+ name: 'isLoading',
4754
+ value: v,
4755
+ afterCallback: () => {
4756
+ if (this._loadingId && !v) {
4757
+ this._loadingService.hide(this._loadingId);
4758
+ this._loadingId = null;
4759
+ }
4760
+ if (v) {
4761
+ this._loadingId = this._loadingService.show(this._getHostElement());
4762
+ }
4763
+ this._cdr.markForCheck();
4764
+ }
4765
+ });
4322
4766
  }
4323
4767
  }
4324
4768
  AXPageComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXPageComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: AXLoadingService }], target: i0.ɵɵFactoryTarget.Injectable });
@@ -4330,7 +4774,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
4330
4774
  type: Inject,
4331
4775
  args: [AXLoadingService]
4332
4776
  }] }];
4333
- } });
4777
+ }, propDecorators: { isLoadingChange: [{
4778
+ type: Output
4779
+ }], isLoading: [{
4780
+ type: Input
4781
+ }] } });
4334
4782
 
4335
4783
  class AXPageFooterComponent {
4336
4784
  }
@@ -4381,8 +4829,13 @@ class AXPageClosedPromise extends Promise {
4381
4829
  }
4382
4830
  }
4383
4831
  }
4384
- class AXBasePageComponent {
4385
- constructor() {
4832
+ class AXBasePageComponent extends AXBaseComponentMixin {
4833
+ /**
4834
+ * @ignore
4835
+ */
4836
+ constructor(elementRef, cdr) {
4837
+ super(elementRef, cdr);
4838
+ this.isLoadingChange = new EventEmitter();
4386
4839
  this._isLoading = false;
4387
4840
  this._isPopup = false;
4388
4841
  this.onClosed = new EventEmitter();
@@ -4391,11 +4844,16 @@ class AXBasePageComponent {
4391
4844
  return this._isLoading;
4392
4845
  }
4393
4846
  set isLoading(v) {
4394
- ;
4395
- this._isLoading = v;
4396
- if (this.pageContainer) {
4397
- this.pageContainer.isLoading = this.isLoading;
4398
- }
4847
+ this._setOption({
4848
+ name: 'isLoading',
4849
+ value: v,
4850
+ afterCallback: () => {
4851
+ if (this.pageContainer) {
4852
+ this.pageContainer.isLoading = this.isLoading;
4853
+ }
4854
+ this._cdr.markForCheck();
4855
+ }
4856
+ });
4399
4857
  }
4400
4858
  get isPopup() {
4401
4859
  return this._isPopup;
@@ -4412,16 +4870,20 @@ class AXBasePageComponent {
4412
4870
  this.onClosed.unsubscribe();
4413
4871
  }
4414
4872
  }
4415
- AXBasePageComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXBasePageComponent, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
4873
+ AXBasePageComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXBasePageComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Injectable });
4416
4874
  AXBasePageComponent.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXBasePageComponent });
4417
4875
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXBasePageComponent, decorators: [{
4418
4876
  type: Injectable
4419
- }], propDecorators: { pageContainer: [{
4877
+ }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { pageContainer: [{
4420
4878
  type: ViewChild,
4421
4879
  args: [AXPageComponent, { static: true }]
4422
4880
  }], footer: [{
4423
4881
  type: ViewChild,
4424
4882
  args: [AXPageFooterComponent, { static: true }]
4883
+ }], isLoadingChange: [{
4884
+ type: Output
4885
+ }], isLoading: [{
4886
+ type: Input
4425
4887
  }] } });
4426
4888
 
4427
4889
  class AXPageHeaderComponent {
@@ -4465,272 +4927,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
4465
4927
  }]
4466
4928
  }] });
4467
4929
 
4468
- const COMPONENT$d = [AXDialogComponent];
4469
- const MODULES$d = [CommonModule, DragDropModule, A11yModule, AXButtonModule, AXPageModule, AXEditorDecoratorModule];
4930
+ const COMPONENT$c = [AXDialogComponent];
4931
+ const MODULES$c = [CommonModule, DragDropModule, A11yModule, AXButtonModule, AXPageModule, AXEditorDecoratorModule];
4470
4932
  class AXDialogModule {
4471
4933
  }
4472
4934
  AXDialogModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXDialogModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
4473
4935
  AXDialogModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXDialogModule, declarations: [AXDialogComponent], imports: [CommonModule, DragDropModule, A11yModule, AXButtonModule, AXPageModule, AXEditorDecoratorModule], exports: [AXDialogComponent] });
4474
- AXDialogModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXDialogModule, providers: [], imports: [[...MODULES$d]] });
4936
+ AXDialogModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXDialogModule, providers: [], imports: [[...MODULES$c]] });
4475
4937
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXDialogModule, decorators: [{
4476
- type: NgModule,
4477
- args: [{
4478
- declarations: [...COMPONENT$d],
4479
- imports: [...MODULES$d],
4480
- exports: [...COMPONENT$d],
4481
- providers: [],
4482
- }]
4483
- }] });
4484
-
4485
- class AXDrawerComponent extends AXBaseComponentMixin {
4486
- constructor(elementRef, cdr, zone) {
4487
- super(elementRef, cdr);
4488
- this.elementRef = elementRef;
4489
- this.zone = zone;
4490
- this.onChanged = new EventEmitter();
4491
- this.mode = 'push';
4492
- this.location = 'start';
4493
- this._collapsed = false;
4494
- }
4495
- get collapsed() {
4496
- return this._collapsed;
4497
- }
4498
- set collapsed(v) {
4499
- if (v != this._collapsed) {
4500
- this._collapsed = v;
4501
- this._updateClass();
4502
- this._emitChange();
4503
- }
4504
- }
4505
- onInit() {
4506
- this._getHostElement().classList.add(this.location == 'start' ? 'ax-drawer-start' : 'ax-drawer-end');
4507
- this._currentMode = this.mode;
4508
- }
4509
- _updateClass() {
4510
- this.zone.runOutsideAngular(() => {
4511
- const elm = this._getHostElement();
4512
- //
4513
- this._currentMode == 'overlay' ? this._setOverlayMode() : this._setPushMode();
4514
- //
4515
- if (this.collapsed) {
4516
- elm.classList.remove('ax-expanded');
4517
- elm.classList.add('ax-collapsed');
4518
- if (this._currentMode == 'overlay') {
4519
- this._removeBackdrop();
4520
- }
4521
- }
4522
- else {
4523
- elm.classList.add('ax-expanded');
4524
- elm.classList.remove('ax-collapsed');
4525
- if (this._currentMode == 'overlay') {
4526
- this._addBackdrop();
4527
- }
4528
- }
4529
- });
4530
- }
4531
- onViewInit() {
4532
- this._detectSize();
4533
- }
4534
- toggle() {
4535
- this.collapsed = !this.collapsed;
4536
- }
4537
- close() {
4538
- this.collapsed = true;
4539
- }
4540
- open() {
4541
- this.collapsed = false;
4542
- }
4543
- _handleWindowsResize(e) {
4544
- this._detectSize();
4545
- }
4546
- _detectSize() {
4547
- //TODO detect break size
4548
- const bound = this._getHostElement().parentElement.getBoundingClientRect();
4549
- if (bound.width == 0) {
4550
- console.log('Drawe invalid size', bound);
4551
- setTimeout(() => {
4552
- this._detectSize();
4553
- }, 1);
4554
- return;
4555
- }
4556
- if (bound.width < 400) {
4557
- this._currentMode = 'overlay';
4558
- this.collapsed = true;
4559
- }
4560
- else {
4561
- this._currentMode = this.mode;
4562
- }
4563
- this._updateClass();
4564
- this._emitChange();
4565
- }
4566
- _emitChange() {
4567
- this.onChanged.emit({
4568
- component: this,
4569
- htmlElement: this.elementRef.nativeElement
4570
- });
4571
- }
4572
- _setOverlayMode() {
4573
- this._currentMode = 'overlay';
4574
- this._getHostElement().classList.remove('ax-drawer-push');
4575
- this._getHostElement().classList.add('ax-drawer-overlay');
4576
- }
4577
- _setPushMode() {
4578
- this._currentMode = 'push';
4579
- this._getHostElement().classList.remove('ax-drawer-overlay');
4580
- this._getHostElement().classList.add('ax-drawer-push');
4581
- this._removeBackdrop();
4582
- }
4583
- _addBackdrop() {
4584
- if (!this._backdrop) {
4585
- this._backdrop = document.createElement('div');
4586
- this._backdrop.classList.add('ax-drawer-backdrop');
4587
- this._getHostElement().parentElement.prepend(this._backdrop);
4588
- this._backdrop.addEventListener('click', this._handleBackfropClick.bind(this));
4589
- }
4590
- }
4591
- _removeBackdrop() {
4592
- if (this._backdrop) {
4593
- this._backdrop.removeEventListener('click', this._handleBackfropClick.bind(this));
4594
- this._getHostElement().parentElement.removeChild(this._backdrop);
4595
- this._backdrop = null;
4596
- }
4597
- }
4598
- _handleBackfropClick(e) {
4599
- this._removeBackdrop();
4600
- this.collapsed = true;
4601
- }
4602
- }
4603
- AXDrawerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXDrawerComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
4604
- AXDrawerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: AXDrawerComponent, selector: "ax-drawer", inputs: { mode: "mode", location: "location", collapsed: "collapsed" }, outputs: { onChanged: "onChanged" }, host: { listeners: { "window:resize": "_handleWindowsResize($event)" }, classAttribute: "ax-drawer" }, usesInheritance: true, ngImport: i0, template: `
4605
- <ng-content>
4606
- </ng-content>
4607
- `, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
4608
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXDrawerComponent, decorators: [{
4609
- type: Component,
4610
- args: [{
4611
- selector: 'ax-drawer',
4612
- template: `
4613
- <ng-content>
4614
- </ng-content>
4615
- `,
4616
- changeDetection: ChangeDetectionStrategy.OnPush,
4617
- encapsulation: ViewEncapsulation.None,
4618
- host: { class: 'ax-drawer' }
4619
- }]
4620
- }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: i0.NgZone }]; }, propDecorators: { onChanged: [{
4621
- type: Output
4622
- }], mode: [{
4623
- type: Input
4624
- }], location: [{
4625
- type: Input
4626
- }], collapsed: [{
4627
- type: Input
4628
- }], _handleWindowsResize: [{
4629
- type: HostListener,
4630
- args: ['window:resize', ['$event']]
4631
- }] } });
4632
-
4633
- class AXDrawerContainerComponent extends AXBaseComponentMixin {
4634
- constructor(elementRef, cdr, zone) {
4635
- super(elementRef, cdr);
4636
- this.zone = zone;
4637
- }
4638
- onViewInit() {
4639
- this._updateWidth();
4640
- // add animation
4641
- setTimeout(() => {
4642
- this._getHostElement().querySelectorAll('ax-drawer').forEach(c => {
4643
- c.classList.add('ax-animated');
4644
- });
4645
- }, 100);
4646
- this.drawers.forEach(c => {
4647
- c.onChanged.subscribe(c => {
4648
- this._updateWidth();
4649
- });
4650
- });
4651
- }
4652
- _updateWidth() {
4653
- this.zone.runOutsideAngular(() => {
4654
- const container = this._getHostElement().closest('ax-drawer-container');
4655
- const parentWidth = this._getHostElement().getBoundingClientRect().width;
4656
- let w = 0;
4657
- this._getHostElement().querySelectorAll('ax-drawer').forEach(c => {
4658
- const elm = c;
4659
- const width = elm.getBoundingClientRect().width;
4660
- const overflow = parentWidth < width;
4661
- const diff = width - parentWidth;
4662
- w += ['ax-expanded', 'ax-drawer-push'].every(c => elm.classList.contains(c)) ? width : 0;
4663
- elm.style.setProperty('--attr-width', `${width}px`);
4664
- //TODO check overflow
4665
- elm.style.setProperty('--attr-diff', `${overflow ? diff : 0}px`);
4666
- });
4667
- container.style.setProperty('--attr-content-width', `${parentWidth - w}px`);
4668
- });
4669
- }
4670
- }
4671
- AXDrawerContainerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXDrawerContainerComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
4672
- AXDrawerContainerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: AXDrawerContainerComponent, selector: "ax-drawer-container", inputs: { rtl: "rtl" }, host: { classAttribute: "ax-drawer-container" }, queries: [{ propertyName: "drawers", predicate: AXDrawerComponent }], usesInheritance: true, ngImport: i0, template: `
4673
- <ng-content select="ax-drawer[location='start']">
4674
- </ng-content>
4675
- <ng-content select="ax-drawer-content">
4676
- </ng-content>
4677
- <ng-content select="ax-drawer[location='end']">
4678
- </ng-content>
4679
- `, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
4680
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXDrawerContainerComponent, decorators: [{
4681
- type: Component,
4682
- args: [{
4683
- selector: 'ax-drawer-container',
4684
- template: `
4685
- <ng-content select="ax-drawer[location='start']">
4686
- </ng-content>
4687
- <ng-content select="ax-drawer-content">
4688
- </ng-content>
4689
- <ng-content select="ax-drawer[location='end']">
4690
- </ng-content>
4691
- `,
4692
- inputs: ['rtl'],
4693
- changeDetection: ChangeDetectionStrategy.OnPush,
4694
- encapsulation: ViewEncapsulation.None,
4695
- host: { class: 'ax-drawer-container' }
4696
- }]
4697
- }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: i0.NgZone }]; }, propDecorators: { drawers: [{
4698
- type: ContentChildren,
4699
- args: [AXDrawerComponent]
4700
- }] } });
4701
-
4702
- class AXDrawerContentComponent extends AXBaseComponentMixin {
4703
- constructor(elementRef, cdr) {
4704
- super(elementRef, cdr);
4705
- }
4706
- }
4707
- AXDrawerContentComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXDrawerContentComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
4708
- AXDrawerContentComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: AXDrawerContentComponent, selector: "ax-drawer-content", host: { classAttribute: "ax-drawer-content" }, usesInheritance: true, ngImport: i0, template: `
4709
- <ng-content>
4710
- </ng-content>
4711
- `, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
4712
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXDrawerContentComponent, decorators: [{
4713
- type: Component,
4714
- args: [{
4715
- selector: 'ax-drawer-content',
4716
- template: `
4717
- <ng-content>
4718
- </ng-content>
4719
- `,
4720
- changeDetection: ChangeDetectionStrategy.OnPush,
4721
- encapsulation: ViewEncapsulation.None,
4722
- host: { class: 'ax-drawer-content' }
4723
- }]
4724
- }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; } });
4725
-
4726
- const COMPONENT$c = [AXDrawerComponent, AXDrawerContainerComponent, AXDrawerContentComponent];
4727
- const MODULES$c = [CommonModule];
4728
- class AXDrawerModule {
4729
- }
4730
- AXDrawerModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXDrawerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
4731
- AXDrawerModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXDrawerModule, declarations: [AXDrawerComponent, AXDrawerContainerComponent, AXDrawerContentComponent], imports: [CommonModule], exports: [AXDrawerComponent, AXDrawerContainerComponent, AXDrawerContentComponent] });
4732
- AXDrawerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXDrawerModule, providers: [], imports: [[...MODULES$c]] });
4733
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXDrawerModule, decorators: [{
4734
4938
  type: NgModule,
4735
4939
  args: [{
4736
4940
  declarations: [...COMPONENT$c],
@@ -6239,7 +6443,7 @@ class AXSelectionListComponent extends AXBaseSelectionValueMixin {
6239
6443
  }
6240
6444
  }
6241
6445
  AXSelectionListComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXSelectionListComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
6242
- AXSelectionListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: AXSelectionListComponent, selector: "ax-selection-list", inputs: { disabled: "disabled", readonly: "readonly", tabIndex: "tabIndex", size: "size", value: "value", valueField: "valueField", textField: "textField", multiple: "multiple", items: "items", selectionMode: "selectionMode", direction: "direction" }, outputs: { valueChange: "valueChange", onValueChanged: "onValueChanged", onBlur: "onBlur", onFocus: "onFocus" }, usesInheritance: true, ngImport: i0, 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\" [class.ax-state-selected]=\"isItemSelected(item)\">\r\n <div class=\"ax-flex ax-items-center ax-h-5 ax-check-box\">\r\n <input [id]=\"id+'-'+i\" class=\"ax-checkbox\" type=\"checkbox\" (change)=\"_handleOnItemValueChange(item, $event)\" [checked]=\"isItemSelected(item)\" [disabled]=\"disabled || item.disabled\" [readonly]=\"readonly || item.readonly\">\r\n </div>\r\n <div class=\"ax-ms-3 ax-text-sm\">\r\n <label [for]=\"id+'-'+i\" class=\"ax-font-medium ax-text-light-700 dark:ax-text-light-100\"> {{item[textField]}}</label>\r\n <p class=\"ax-text-light-500\"> {{item.hint ? item.hint : item[hintField]}}</p>\r\n </div>\r\n </div>\r\n </ng-container>\r\n </ng-template>\r\n <ng-template #radioButtonList>\r\n <ng-container *ngFor=\"let item of displayItems;let i = index\">\r\n <div class=\"ax-flex ax-items-start ax-radio-container\" [class.ax-state-selected]=\"isItemSelected(item)\">\r\n <div class=\"ax-flex ax-items-center ax-h-5 ax-radio\">\r\n <input [id]=\"id+'-'+i\" class=\"ax-radio\" type=\"radio\" [attr.name]=\"id\" (change)=\"_handleOnItemValueChange(item, $event)\" [checked]=\"isItemSelected(item)\" [disabled]=\"disabled || item.disabled\" [readonly]=\"readonly || item.readonly\">\r\n </div>\r\n <div class=\"ax-ms-3 ax-text-sm\">\r\n <label [for]=\"id+'-'+i\" class=\"ax-font-medium ax-text-light-700 dark:ax-text-light-100\"> {{item[textField]}}</label>\r\n <p class=\"ax-text-light-500\"> {{item.hint ? item.hint : item[hintField]}}</p>\r\n </div>\r\n </div>\r\n </ng-container>\r\n </ng-template>\r\n <ng-content select=\"ax-validation-rule\">\r\n </ng-content>\r\n</div>\r\n\r\n<!-- <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 <ax-check-box [checked]=\"isItemSelected(item)\" [disabled]=\"disabled || item.disabled\" [readonly]=\"readonly || item.readonly\">\r\n \r\n <ax-label> {{item[textField]}} | {{isItemSelected(item)}}</ax-label>\r\n <ax-form-hint *ngIf=\"item[hintField]\"> {{item[hintField]}} </ax-form-hint>\r\n </ax-check-box>\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 <ax-radio [id]=\"id+'-'+i\" [checked]=\"isItemSelected(item)\" [disabled]=\"disabled || item.disabled\" [readonly]=\"readonly || item.readonly\">\r\n <ax-label>{{item[textField]}} | {{isItemSelected(item)}}</ax-label>\r\n <ax-form-hint *ngIf=\"item[hintField]\"> {{item[hintField]}} </ax-form-hint>\r\n </ax-radio>\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 });
6446
+ AXSelectionListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: AXSelectionListComponent, selector: "ax-selection-list", inputs: { disabled: "disabled", readonly: "readonly", tabIndex: "tabIndex", size: "size", value: "value", valueField: "valueField", textField: "textField", multiple: "multiple", items: "items", selectionMode: "selectionMode", direction: "direction" }, outputs: { valueChange: "valueChange", onValueChanged: "onValueChanged", onBlur: "onBlur", onFocus: "onFocus" }, usesInheritance: true, ngImport: i0, 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\" [class.ax-state-selected]=\"isItemSelected(item)\" (click)=\"ic.click()\">\r\n <div class=\"ax-flex ax-items-center ax-h-5 ax-check-box\">\r\n <input #ic [id]=\"id+'-'+i\" class=\"ax-checkbox\" type=\"checkbox\" (change)=\"_handleOnItemValueChange(item, $event)\" [checked]=\"isItemSelected(item)\" [disabled]=\"disabled || item.disabled\" [readonly]=\"readonly || item.readonly\">\r\n </div>\r\n <div class=\"ax-ms-3 ax-text-sm\">\r\n <label [for]=\"id+'-'+i\" class=\"ax-font-medium ax-text-light-700 dark:ax-text-light-100\"> {{item[textField]}}</label>\r\n <p class=\"ax-text-light-500\"> {{item.hint ? item.hint : item[hintField]}}</p>\r\n </div>\r\n </div>\r\n </ng-container>\r\n </ng-template>\r\n <ng-template #radioButtonList>\r\n <ng-container *ngFor=\"let item of displayItems;let i = index\">\r\n <div class=\"ax-flex ax-items-start ax-radio-container\" [class.ax-state-selected]=\"isItemSelected(item)\" (click)=\"ir.click()\">\r\n <div class=\"ax-flex ax-items-center ax-h-5 ax-radio\">\r\n <input #ir [id]=\"id+'-'+i\" class=\"ax-radio\" type=\"radio\" [attr.name]=\"id\" (change)=\"_handleOnItemValueChange(item, $event)\" [checked]=\"isItemSelected(item)\" [disabled]=\"disabled || item.disabled\" [readonly]=\"readonly || item.readonly\">\r\n </div>\r\n <div class=\"ax-ms-3 ax-text-sm\">\r\n <label [for]=\"id+'-'+i\" class=\"ax-font-medium ax-text-light-700 dark:ax-text-light-100\"> {{item[textField]}}</label>\r\n <p class=\"ax-text-light-500\"> {{item.hint ? item.hint : item[hintField]}}</p>\r\n </div>\r\n </div>\r\n </ng-container>\r\n </ng-template>\r\n <ng-content select=\"ax-validation-rule\">\r\n </ng-content>\r\n</div>\r\n\r\n<!-- <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 <ax-check-box [checked]=\"isItemSelected(item)\" [disabled]=\"disabled || item.disabled\" [readonly]=\"readonly || item.readonly\">\r\n \r\n <ax-label> {{item[textField]}} | {{isItemSelected(item)}}</ax-label>\r\n <ax-form-hint *ngIf=\"item[hintField]\"> {{item[hintField]}} </ax-form-hint>\r\n </ax-check-box>\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 <ax-radio [id]=\"id+'-'+i\" [checked]=\"isItemSelected(item)\" [disabled]=\"disabled || item.disabled\" [readonly]=\"readonly || item.readonly\">\r\n <ax-label>{{item[textField]}} | {{isItemSelected(item)}}</ax-label>\r\n <ax-form-hint *ngIf=\"item[hintField]\"> {{item[hintField]}} </ax-form-hint>\r\n </ax-radio>\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 });
6243
6447
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXSelectionListComponent, decorators: [{
6244
6448
  type: Component,
6245
6449
  args: [{ selector: 'ax-selection-list', inputs: [
@@ -6253,7 +6457,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
6253
6457
  'multiple',
6254
6458
  'items',
6255
6459
  'selectionMode',
6256
- ], outputs: ['valueChange', 'onValueChanged', 'onBlur', 'onFocus'], encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, 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\" [class.ax-state-selected]=\"isItemSelected(item)\">\r\n <div class=\"ax-flex ax-items-center ax-h-5 ax-check-box\">\r\n <input [id]=\"id+'-'+i\" class=\"ax-checkbox\" type=\"checkbox\" (change)=\"_handleOnItemValueChange(item, $event)\" [checked]=\"isItemSelected(item)\" [disabled]=\"disabled || item.disabled\" [readonly]=\"readonly || item.readonly\">\r\n </div>\r\n <div class=\"ax-ms-3 ax-text-sm\">\r\n <label [for]=\"id+'-'+i\" class=\"ax-font-medium ax-text-light-700 dark:ax-text-light-100\"> {{item[textField]}}</label>\r\n <p class=\"ax-text-light-500\"> {{item.hint ? item.hint : item[hintField]}}</p>\r\n </div>\r\n </div>\r\n </ng-container>\r\n </ng-template>\r\n <ng-template #radioButtonList>\r\n <ng-container *ngFor=\"let item of displayItems;let i = index\">\r\n <div class=\"ax-flex ax-items-start ax-radio-container\" [class.ax-state-selected]=\"isItemSelected(item)\">\r\n <div class=\"ax-flex ax-items-center ax-h-5 ax-radio\">\r\n <input [id]=\"id+'-'+i\" class=\"ax-radio\" type=\"radio\" [attr.name]=\"id\" (change)=\"_handleOnItemValueChange(item, $event)\" [checked]=\"isItemSelected(item)\" [disabled]=\"disabled || item.disabled\" [readonly]=\"readonly || item.readonly\">\r\n </div>\r\n <div class=\"ax-ms-3 ax-text-sm\">\r\n <label [for]=\"id+'-'+i\" class=\"ax-font-medium ax-text-light-700 dark:ax-text-light-100\"> {{item[textField]}}</label>\r\n <p class=\"ax-text-light-500\"> {{item.hint ? item.hint : item[hintField]}}</p>\r\n </div>\r\n </div>\r\n </ng-container>\r\n </ng-template>\r\n <ng-content select=\"ax-validation-rule\">\r\n </ng-content>\r\n</div>\r\n\r\n<!-- <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 <ax-check-box [checked]=\"isItemSelected(item)\" [disabled]=\"disabled || item.disabled\" [readonly]=\"readonly || item.readonly\">\r\n \r\n <ax-label> {{item[textField]}} | {{isItemSelected(item)}}</ax-label>\r\n <ax-form-hint *ngIf=\"item[hintField]\"> {{item[hintField]}} </ax-form-hint>\r\n </ax-check-box>\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 <ax-radio [id]=\"id+'-'+i\" [checked]=\"isItemSelected(item)\" [disabled]=\"disabled || item.disabled\" [readonly]=\"readonly || item.readonly\">\r\n <ax-label>{{item[textField]}} | {{isItemSelected(item)}}</ax-label>\r\n <ax-form-hint *ngIf=\"item[hintField]\"> {{item[hintField]}} </ax-form-hint>\r\n </ax-radio>\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> -->" }]
6460
+ ], outputs: ['valueChange', 'onValueChanged', 'onBlur', 'onFocus'], encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, 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\" [class.ax-state-selected]=\"isItemSelected(item)\" (click)=\"ic.click()\">\r\n <div class=\"ax-flex ax-items-center ax-h-5 ax-check-box\">\r\n <input #ic [id]=\"id+'-'+i\" class=\"ax-checkbox\" type=\"checkbox\" (change)=\"_handleOnItemValueChange(item, $event)\" [checked]=\"isItemSelected(item)\" [disabled]=\"disabled || item.disabled\" [readonly]=\"readonly || item.readonly\">\r\n </div>\r\n <div class=\"ax-ms-3 ax-text-sm\">\r\n <label [for]=\"id+'-'+i\" class=\"ax-font-medium ax-text-light-700 dark:ax-text-light-100\"> {{item[textField]}}</label>\r\n <p class=\"ax-text-light-500\"> {{item.hint ? item.hint : item[hintField]}}</p>\r\n </div>\r\n </div>\r\n </ng-container>\r\n </ng-template>\r\n <ng-template #radioButtonList>\r\n <ng-container *ngFor=\"let item of displayItems;let i = index\">\r\n <div class=\"ax-flex ax-items-start ax-radio-container\" [class.ax-state-selected]=\"isItemSelected(item)\" (click)=\"ir.click()\">\r\n <div class=\"ax-flex ax-items-center ax-h-5 ax-radio\">\r\n <input #ir [id]=\"id+'-'+i\" class=\"ax-radio\" type=\"radio\" [attr.name]=\"id\" (change)=\"_handleOnItemValueChange(item, $event)\" [checked]=\"isItemSelected(item)\" [disabled]=\"disabled || item.disabled\" [readonly]=\"readonly || item.readonly\">\r\n </div>\r\n <div class=\"ax-ms-3 ax-text-sm\">\r\n <label [for]=\"id+'-'+i\" class=\"ax-font-medium ax-text-light-700 dark:ax-text-light-100\"> {{item[textField]}}</label>\r\n <p class=\"ax-text-light-500\"> {{item.hint ? item.hint : item[hintField]}}</p>\r\n </div>\r\n </div>\r\n </ng-container>\r\n </ng-template>\r\n <ng-content select=\"ax-validation-rule\">\r\n </ng-content>\r\n</div>\r\n\r\n<!-- <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 <ax-check-box [checked]=\"isItemSelected(item)\" [disabled]=\"disabled || item.disabled\" [readonly]=\"readonly || item.readonly\">\r\n \r\n <ax-label> {{item[textField]}} | {{isItemSelected(item)}}</ax-label>\r\n <ax-form-hint *ngIf=\"item[hintField]\"> {{item[hintField]}} </ax-form-hint>\r\n </ax-check-box>\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 <ax-radio [id]=\"id+'-'+i\" [checked]=\"isItemSelected(item)\" [disabled]=\"disabled || item.disabled\" [readonly]=\"readonly || item.readonly\">\r\n <ax-label>{{item[textField]}} | {{isItemSelected(item)}}</ax-label>\r\n <ax-form-hint *ngIf=\"item[hintField]\"> {{item[hintField]}} </ax-form-hint>\r\n </ax-radio>\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> -->" }]
6257
6461
  }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { direction: [{
6258
6462
  type: Input
6259
6463
  }] } });
@@ -7457,5 +7661,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
7457
7661
  * Generated bundle index. Do not edit.
7458
7662
  */
7459
7663
 
7460
- export { AXAlertButtonComponent, AXAlertComponent, AXAlertContentComponent, AXAlertFooterComponent, AXAlertModule, AXAlertSuffixComponent, AXAlertTitleComponent, AXAvatarComponent, AXAvatarGroup, AXAvatarMixin, AXAvatarModule, AXBadgeComponent, AXBadgeModule, AXBaseAlertMixin, AXBaseBadgeMixin, AXBaseButtonMixin, AXBaseClickableMixin, AXBaseComponent, AXBaseComponentMixin, AXBaseDatePickerMixin, AXBaseDropdownMixin, AXBaseItemButtonMixin, AXBasePageComponent, AXBaseProgressMixin, AXBaseSelectionDropdownMixin, AXBaseSelectionValueMixin, AXBaseTabItemMixin, AXBaseTextBoxMixin, AXBaseValueComponentMixin, AXBaseValueDropdownMixin, AXBreadCrumbsComponent, AXBreadCrumbsItemComponent, AXBreadcrumbsModule, AXButtonClickEvent, AXButtonComponent, AXButtonGroupComponent, AXButtonItemComponent, AXButtonModule, AXCalendarComponent, AXCalendarComponentMixin, AXCalendarModule, AXCarouselArrowsComponent, AXCarouselComponent, AXCarouselCore, AXCarouselItemComponent, AXCarouselModule, AXCarouselPagerComponent, AXCheckBoxComponent, AXCheckBoxModule, AXClickEvent, AXCollapseComponent, AXCollapseGroupComponent, AXCollapseModule, AXCommonModule, AXDataListComponent, AXDataListModule, AXDatePickerComponent, AXDatepickerModule, AXDecoratorAddOnComponent, AXDecoratorContentComponent, AXDecoratorHeaderComponent, AXDecoratorPrefixComponent, AXDecoratorSuffixComponent, AXDialogComponent, AXDialogModule, AXDialogService, AXDrawerComponent, AXDrawerContainerComponent, AXDrawerContentComponent, AXDrawerModule, AXDropdownModule, AXDropdownPanelComponent, AXEditorDecoratorModule, AXEvent, AXFocusEvent, AXFormComponent, AXFormFieldComponent, AXFormHintComponent, AXFormModule, AXHtmlEvent, AXIconComponent, AXIconModule, AXInfiniteScrollerDirective, AXInputMaskComponent, AXInputMaskModule, AXInteractiveComponenetMixin, AXItemClickEvent, AXLabelComponent, AXLabelModule, AXLoadingComponent, AXLoadingDirective, AXLoadingModule, AXLoadingService, AXLoadingSpinnerComponent, AXMenuComponent, AXMenuModule, AXNumberBoxComponent, AXNumberBoxModule, AXPageCloseEvent, AXPageClosedPromise, AXPageClosing, AXPageComponent, AXPageFooterComponent, AXPageHeaderComponent, AXPageModule, AXPageResult, AXPasswordBoxComponent, AXPasswordBoxModule, AXPopoverComponent, AXPopoverModule, AXPopupComponent, AXPopupModule, AXPopupService, AXProgressBarComponent, AXProgressBarModule, AXRadioComponent, AXRadioModule, AXRangeSliderComponent, AXRangeSliderModule, AXRatingComponent, AXRatingModule, AXResponsiveDirective, AXResultComponent, AXSelectBoxComponent, AXSelectBoxModule, AXSelectionListComponent, AXSelectionListModule, AXSelectionValueChangedEvent, AXSizableComponentMixin, AXSwitchComponent, AXSwitchModule, AXTabContentDirective, AXTabItemComponent, AXTabStripChangedEvent, AXTabsComponent, AXTabsModule, AXTextBoxComponent, AXTextBoxModule, AXTextareaComponent, AXTextareaModule, AXTimeBoxComponent, AXTimeBoxModule, AXToastComponent, AXToastModule, AXToastService, AXTooltipComponent, AXTooltipDirective, AXTooltipModule, AXTreeViewComponent, AXTreeViewModule, AXValidationModule, AXValidationRuleComponent, AXValidationRules, AXValueChangedEvent, AX_DIRECTIONS, AX_LOCATIONS, AX_STYLE_TYPES, BASE_INPUTS, BASE_OUTPUT, ResultModule, TAB_META_KEY, _BaseComponenetMixin };
7664
+ export { AXActionSheetComponent, AXActionSheetItemComponent, AXActionSheetModule, AXAlertButtonComponent, AXAlertComponent, AXAlertContentComponent, AXAlertFooterComponent, AXAlertModule, AXAlertSuffixComponent, AXAlertTitleComponent, AXAvatarComponent, AXAvatarGroup, AXAvatarMixin, AXAvatarModule, AXBadgeComponent, AXBadgeModule, AXBaseAlertMixin, AXBaseBadgeMixin, AXBaseButtonMixin, AXBaseClickableMixin, AXBaseComponent, AXBaseComponentMixin, AXBaseDatePickerMixin, AXBaseDropdownMixin, AXBaseItemButtonMixin, AXBasePageComponent, AXBaseProgressMixin, AXBaseSelectionDropdownMixin, AXBaseSelectionValueMixin, AXBaseTabItemMixin, AXBaseTextBoxMixin, AXBaseValueComponentMixin, AXBaseValueDropdownMixin, AXBreadCrumbsComponent, AXBreadCrumbsItemComponent, AXBreadcrumbsModule, AXButtonClickEvent, AXButtonComponent, AXButtonGroupComponent, AXButtonItemComponent, AXButtonModule, AXCalendarComponent, AXCalendarComponentMixin, AXCalendarModule, AXCarouselArrowsComponent, AXCarouselComponent, AXCarouselCore, AXCarouselItemComponent, AXCarouselModule, AXCarouselPagerComponent, AXCheckBoxComponent, AXCheckBoxModule, AXClickEvent, AXCollapseComponent, AXCollapseGroupComponent, AXCollapseModule, AXCommonModule, AXDataListComponent, AXDataListModule, AXDatePickerComponent, AXDatepickerModule, AXDecoratorAddOnComponent, AXDecoratorContentComponent, AXDecoratorHeaderComponent, AXDecoratorPrefixComponent, AXDecoratorSuffixComponent, AXDialogComponent, AXDialogModule, AXDialogService, AXDrawerComponent, AXDrawerContainerComponent, AXDrawerContentComponent, AXDrawerModule, AXDropdownModule, AXDropdownPanelComponent, AXEditorDecoratorModule, AXEvent, AXFocusEvent, AXFormComponent, AXFormFieldComponent, AXFormHintComponent, AXFormModule, AXHtmlEvent, AXIconComponent, AXIconModule, AXInfiniteScrollerDirective, AXInputMaskComponent, AXInputMaskModule, AXInteractiveComponenetMixin, AXItemClickEvent, AXLabelComponent, AXLabelModule, AXLoadingComponent, AXLoadingDirective, AXLoadingModule, AXLoadingService, AXLoadingSpinnerComponent, AXMenuComponent, AXMenuModule, AXNumberBoxComponent, AXNumberBoxModule, AXPageCloseEvent, AXPageClosedPromise, AXPageClosing, AXPageComponent, AXPageFooterComponent, AXPageHeaderComponent, AXPageModule, AXPageResult, AXPasswordBoxComponent, AXPasswordBoxModule, AXPopoverComponent, AXPopoverModule, AXPopupComponent, AXPopupModule, AXPopupService, AXProgressBarComponent, AXProgressBarModule, AXRadioComponent, AXRadioModule, AXRangeSliderComponent, AXRangeSliderModule, AXRatingComponent, AXRatingModule, AXResponsiveDirective, AXResultComponent, AXSelectBoxComponent, AXSelectBoxModule, AXSelectionListComponent, AXSelectionListModule, AXSelectionValueChangedEvent, AXSizableComponentMixin, AXSwitchComponent, AXSwitchModule, AXTabContentDirective, AXTabItemComponent, AXTabStripChangedEvent, AXTabsComponent, AXTabsModule, AXTextBoxComponent, AXTextBoxModule, AXTextareaComponent, AXTextareaModule, AXTimeBoxComponent, AXTimeBoxModule, AXToastComponent, AXToastModule, AXToastService, AXTooltipComponent, AXTooltipDirective, AXTooltipModule, AXTreeViewComponent, AXTreeViewModule, AXValidationModule, AXValidationRuleComponent, AXValidationRules, AXValueChangedEvent, AX_DIRECTIONS, AX_LOCATIONS, AX_STYLE_TYPES, BASE_INPUTS, BASE_OUTPUT, ResultModule, TAB_META_KEY, _BaseComponenetMixin };
7461
7665
  //# sourceMappingURL=acorex-components.mjs.map