@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 {
@@ -1220,327 +1221,781 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
1220
1221
  }]
1221
1222
  }] });
1222
1223
 
1223
- var _AXAlertComponent_visible;
1224
- const AXBaseAlertMixin = _ColorLookComponentMixin(AXBaseComponent);
1224
+ class AXActionSheetComponent extends AXBaseComponent {
1225
+ /**
1226
+ * @ignore
1227
+ */
1228
+ constructor(_elementRef, _cdr) {
1229
+ super(_elementRef, _cdr);
1230
+ this.caption = '';
1231
+ this.closeOnBackdrop = true;
1232
+ this.isOpen = false;
1233
+ }
1234
+ _handleBackdropClick() {
1235
+ if (!this.closeOnBackdrop)
1236
+ return;
1237
+ this.close();
1238
+ }
1239
+ ngAfterViewInit() {
1240
+ }
1241
+ open() {
1242
+ this.isOpen = true;
1243
+ }
1244
+ close() {
1245
+ this.isOpen = false;
1246
+ }
1247
+ toggle() {
1248
+ debugger;
1249
+ this.isOpen = !this.isOpen;
1250
+ }
1251
+ }
1252
+ 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 });
1253
+ 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: [
1254
+ trigger('backdrop', [
1255
+ state('show', style({
1256
+ opacity: 1,
1257
+ visibility: 'visible'
1258
+ })),
1259
+ state('hide', style({
1260
+ visibility: 'hidden',
1261
+ opacity: 0
1262
+ })),
1263
+ transition('show <=> hide', [animate('0.2s')]),
1264
+ ]),
1265
+ trigger('openClose', [
1266
+ state('open', style({
1267
+ bottom: '0',
1268
+ opacity: 1
1269
+ })),
1270
+ state('closed', style({
1271
+ bottom: '-100%',
1272
+ opacity: 0.5
1273
+ })),
1274
+ transition('open <=> closed', [animate('0.2s')])
1275
+ ]),
1276
+ ] });
1277
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXActionSheetComponent, decorators: [{
1278
+ type: Component,
1279
+ args: [{ selector: 'ax-action-sheet', animations: [
1280
+ trigger('backdrop', [
1281
+ state('show', style({
1282
+ opacity: 1,
1283
+ visibility: 'visible'
1284
+ })),
1285
+ state('hide', style({
1286
+ visibility: 'hidden',
1287
+ opacity: 0
1288
+ })),
1289
+ transition('show <=> hide', [animate('0.2s')]),
1290
+ ]),
1291
+ trigger('openClose', [
1292
+ state('open', style({
1293
+ bottom: '0',
1294
+ opacity: 1
1295
+ })),
1296
+ state('closed', style({
1297
+ bottom: '-100%',
1298
+ opacity: 0.5
1299
+ })),
1300
+ transition('open <=> closed', [animate('0.2s')])
1301
+ ]),
1302
+ ], 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>" }]
1303
+ }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { caption: [{
1304
+ type: Input
1305
+ }], closeOnBackdrop: [{
1306
+ type: Input
1307
+ }] } });
1308
+
1225
1309
  /**
1226
- * Regular description
1310
+ * The Button is a component which detects user interaction and triggers a corresponding event
1227
1311
  *
1228
1312
  * @category Components
1229
1313
  */
1230
- class AXAlertComponent extends AXBaseAlertMixin {
1314
+ class AXButtonComponent extends AXBaseButtonMixin {
1231
1315
  /**
1232
1316
  * @ignore
1233
1317
  */
1234
1318
  constructor(elementRef, cdr) {
1235
1319
  super(elementRef, cdr);
1236
- this.showIcon = true;
1237
- _AXAlertComponent_visible.set(this, void 0);
1238
- }
1239
- _onOptionChanged(option) {
1240
- if (option.name == 'color') {
1241
- switch (this.color) {
1242
- case 'success':
1243
- this.icon = 'ax-ic ax-ic-check-filled';
1244
- break;
1245
- case 'warning':
1246
- this.icon = 'ax-ic-warning-filled';
1247
- break;
1248
- case 'danger':
1249
- this.icon = 'ax-ic-error-filled';
1250
- break;
1251
- default:
1252
- this.icon = 'ax-ic ax-ic-info-filled';
1253
- break;
1254
- }
1255
- }
1256
- }
1257
- /**
1258
- * @ignore
1259
- */
1260
- get __hostClass() {
1261
- // return ` ax-alert ax-none ax-${this.color}-default ax-${this.look}-default`;
1262
- const _class = this.look ? `ax-${this.color}-${this.look}` : `ax-${this.color}-default`;
1263
- return `ax-alert ax-none ${_class}`;
1264
- }
1265
- /**
1266
- * set the visibility of the Alert
1267
- */
1268
- get visible() {
1269
- return __classPrivateFieldGet(this, _AXAlertComponent_visible, "f");
1270
- }
1271
- set visible(v) {
1272
- if (__classPrivateFieldGet(this, _AXAlertComponent_visible, "f") != v) {
1273
- __classPrivateFieldSet(this, _AXAlertComponent_visible, v, "f");
1274
- const host = this._getHostElement();
1275
- if (v) {
1276
- host.classList.remove('ax-state-hidden');
1277
- host.classList.add('ax-state-visible');
1278
- }
1279
- else {
1280
- host.classList.add('ax-state-hidden');
1281
- host.classList.toggle('ax-state-visible');
1282
- }
1283
- }
1284
1320
  }
1285
- onInit() {
1286
- if (this.timeOut) {
1287
- setTimeout(() => {
1288
- this.dismiss();
1289
- }, this.timeOut);
1321
+ onKeydownHandler(e) {
1322
+ if (e.code === 'Enter') {
1323
+ this._getHostElement().click();
1290
1324
  }
1291
1325
  }
1292
- onViewInit() {
1293
- if (this.visible == undefined) {
1294
- this.visible = true;
1326
+ _emitOnClickEvent(e) {
1327
+ if (this.disabled)
1328
+ return;
1329
+ if (this.toggleable) {
1330
+ this.selected = !this.selected;
1295
1331
  }
1332
+ super._emitOnClickEvent(e);
1296
1333
  }
1297
- /**
1298
- * Remove the alert from the container
1299
- */
1300
- dismiss() {
1301
- const host = this._getHostElement();
1302
- this.visible = false;
1303
- const func = () => {
1304
- host.parentElement.removeChild(host);
1305
- };
1306
- host.addEventListener('transitionend', func);
1334
+ _emitOnFocusEvent(e) {
1335
+ super._emitOnFocusEvent(e);
1307
1336
  }
1308
- /**
1309
- * Hide the alert
1310
- */
1311
- hide() {
1312
- this.visible = false;
1337
+ _emitOnBlurEvent(e) {
1338
+ super._emitOnBlurEvent(e);
1313
1339
  }
1314
- /**
1315
- * Show the alert
1316
- */
1317
- show() {
1318
- this.visible = true;
1340
+ get __hostClass() {
1341
+ return Object.entries(this._classes).filter(c => c[1]).map(c => c[0]).join(' ');
1319
1342
  }
1320
1343
  }
1321
- _AXAlertComponent_visible = new WeakMap();
1322
- 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 });
1323
- 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 });
1324
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXAlertComponent, decorators: [{
1344
+ 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 });
1345
+ 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 });
1346
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXButtonComponent, decorators: [{
1325
1347
  type: Component,
1326
- 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>" }]
1327
- }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { icon: [{
1328
- type: Input
1329
- }], showIcon: [{
1330
- type: Input
1348
+ 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> -->" }]
1349
+ }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { onKeydownHandler: [{
1350
+ type: HostListener,
1351
+ args: ['keyup', ['$event']]
1352
+ }], _emitOnClickEvent: [{
1353
+ type: HostListener,
1354
+ args: ['click', ['$event']]
1355
+ }], _emitOnFocusEvent: [{
1356
+ type: HostListener,
1357
+ args: ['focus', ['$event']]
1358
+ }], _emitOnBlurEvent: [{
1359
+ type: HostListener,
1360
+ args: ['blur', ['$event']]
1331
1361
  }], __hostClass: [{
1332
1362
  type: HostBinding,
1333
1363
  args: ['class']
1334
- }], timeOut: [{
1335
- type: Input
1336
- }], visible: [{
1337
- type: Input
1338
1364
  }] } });
1339
1365
 
1340
- class AXAlertTitleComponent {
1341
- }
1342
- AXAlertTitleComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXAlertTitleComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
1343
- 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: `
1344
- <ng-content>
1345
- </ng-content>
1346
- `, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
1347
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXAlertTitleComponent, decorators: [{
1348
- type: Component,
1349
- args: [{
1350
- selector: 'ax-alert-title',
1351
- template: `
1352
- <ng-content>
1353
- </ng-content>
1354
- `,
1355
- changeDetection: ChangeDetectionStrategy.OnPush,
1356
- encapsulation: ViewEncapsulation.None,
1357
- host: { class: 'ax-alert-title' }
1358
- }]
1359
- }] });
1360
-
1361
- class AXAlertButtonComponent extends AXBaseClickableMixin {
1362
- constructor(elementRef, cdr) {
1363
- super(elementRef, cdr);
1364
- }
1365
- _handleOnClick(e) {
1366
- this._emitOnClickEvent(e);
1367
- }
1368
- _handleOnFocus(e) {
1369
- this._emitOnFocusEvent(e);
1366
+ class AXActionSheetItemComponent extends AXBaseComponent {
1367
+ /**
1368
+ * @ignore
1369
+ */
1370
+ constructor(_elementRef, _cdr) {
1371
+ super(_elementRef, _cdr);
1372
+ this.color = 'light';
1373
+ this.onClick = new EventEmitter();
1370
1374
  }
1371
- _handleOnBlur(e) {
1372
- this._emitOnBlurEvent(e);
1375
+ handleOnClick(e) {
1376
+ this.onClick.emit(e);
1373
1377
  }
1374
1378
  }
1375
- 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 });
1376
- 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: `
1377
- {{text}}
1378
- <ng-content select="ax-icon"></ng-content>
1379
- `, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
1380
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXAlertButtonComponent, decorators: [{
1379
+ 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 });
1380
+ 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: `
1381
+ <ax-button [color]="color" look="blank" [text]="text" (onClick)="handleOnClick($event)"></ax-button>
1382
+ `, 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"] }] });
1383
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXActionSheetItemComponent, decorators: [{
1381
1384
  type: Component,
1382
1385
  args: [{
1383
- selector: 'ax-alert-button',
1386
+ selector: 'ax-action-sheet-item',
1384
1387
  template: `
1385
- {{text}}
1386
- <ng-content select="ax-icon"></ng-content>
1387
- `,
1388
- changeDetection: ChangeDetectionStrategy.OnPush,
1389
- encapsulation: ViewEncapsulation.None,
1390
- outputs: [...BUTTON_OUTPUT],
1391
- host: { class: 'ax-alert-button' }
1388
+ <ax-button [color]="color" look="blank" [text]="text" (onClick)="handleOnClick($event)"></ax-button>
1389
+ `
1392
1390
  }]
1393
1391
  }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { text: [{
1394
1392
  type: Input
1395
- }], icon: [{
1393
+ }], color: [{
1396
1394
  type: Input
1397
- }], _handleOnClick: [{
1398
- type: HostListener,
1399
- args: ['click', ['$event']]
1400
- }], _handleOnFocus: [{
1401
- type: HostListener,
1402
- args: ['focus', ['$event']]
1403
- }], _handleOnBlur: [{
1404
- type: HostListener,
1405
- args: ['blur', ['$event']]
1395
+ }], onClick: [{
1396
+ type: Output
1406
1397
  }] } });
1407
1398
 
1408
- class AXAlertContentComponent {
1409
- }
1410
- AXAlertContentComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXAlertContentComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
1411
- 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>
1412
- </ng-content>
1413
- `, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
1414
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXAlertContentComponent, decorators: [{
1415
- type: Component,
1416
- args: [{
1417
- selector: 'ax-alert-content',
1418
- template: `<ng-content>
1419
- </ng-content>
1420
- `,
1421
- changeDetection: ChangeDetectionStrategy.OnPush,
1422
- encapsulation: ViewEncapsulation.None,
1423
- host: { class: 'ax-alert-content' }
1424
- }]
1425
- }] });
1426
-
1427
- class AXAlertSuffixComponent {
1428
- }
1429
- AXAlertSuffixComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXAlertSuffixComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
1430
- 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: `
1431
- <div class="ax-alert-buttons">
1432
- <ng-content select="ax-alert-button">
1433
- </ng-content>
1434
- </div>
1435
- `, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
1436
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXAlertSuffixComponent, decorators: [{
1437
- type: Component,
1438
- args: [{
1439
- selector: 'ax-alert-suffix',
1440
- template: `
1441
- <div class="ax-alert-buttons">
1442
- <ng-content select="ax-alert-button">
1443
- </ng-content>
1444
- </div>
1445
- `,
1446
- changeDetection: ChangeDetectionStrategy.OnPush,
1447
- encapsulation: ViewEncapsulation.None,
1448
- host: { class: 'ax-alert-suffix' }
1399
+ class AXDrawerComponent extends AXBaseComponentMixin {
1400
+ constructor(elementRef, cdr, zone) {
1401
+ super(elementRef, cdr);
1402
+ this.elementRef = elementRef;
1403
+ this.zone = zone;
1404
+ this.onChanged = new EventEmitter();
1405
+ this.mode = 'push';
1406
+ this.location = 'start';
1407
+ this._collapsed = false;
1408
+ }
1409
+ get collapsed() {
1410
+ return this._collapsed;
1411
+ }
1412
+ set collapsed(v) {
1413
+ if (v != this._collapsed) {
1414
+ this._collapsed = v;
1415
+ this._updateClass();
1416
+ this._emitChange();
1417
+ }
1418
+ }
1419
+ onInit() {
1420
+ // this._getHostElement().classList.add(this.location == 'start' ? 'ax-drawer-start' : 'ax-drawer-end');
1421
+ this._setLocation();
1422
+ this._currentMode = this.mode;
1423
+ }
1424
+ _setLocation() {
1425
+ const hostElementClassList = this._getHostElement().classList;
1426
+ switch (this.location) {
1427
+ case 'start':
1428
+ hostElementClassList.add('ax-drawer-start');
1429
+ break;
1430
+ case 'end':
1431
+ hostElementClassList.add('ax-drawer-end');
1432
+ break;
1433
+ case 'top':
1434
+ hostElementClassList.add('ax-drawer-top');
1435
+ break;
1436
+ case 'bottom':
1437
+ hostElementClassList.add('ax-drawer-bottom');
1438
+ break;
1439
+ default:
1440
+ hostElementClassList.add('ax-drawer-start');
1441
+ break;
1442
+ }
1443
+ }
1444
+ _updateClass() {
1445
+ this.zone.runOutsideAngular(() => {
1446
+ const elm = this._getHostElement();
1447
+ //
1448
+ this._currentMode == 'overlay' ? this._setOverlayMode() : this._setPushMode();
1449
+ //
1450
+ if (this.collapsed) {
1451
+ elm.classList.remove('ax-expanded');
1452
+ elm.classList.add('ax-collapsed');
1453
+ if (this._currentMode == 'overlay') {
1454
+ this._removeBackdrop();
1455
+ }
1456
+ }
1457
+ else {
1458
+ elm.classList.add('ax-expanded');
1459
+ elm.classList.remove('ax-collapsed');
1460
+ if (this._currentMode == 'overlay') {
1461
+ this._addBackdrop();
1462
+ }
1463
+ }
1464
+ });
1465
+ }
1466
+ onViewInit() {
1467
+ this._detectSize();
1468
+ }
1469
+ toggle() {
1470
+ this.collapsed = !this.collapsed;
1471
+ }
1472
+ close() {
1473
+ this.collapsed = true;
1474
+ }
1475
+ open() {
1476
+ this.collapsed = false;
1477
+ }
1478
+ _handleWindowsResize(e) {
1479
+ this._detectSize();
1480
+ }
1481
+ _detectSize() {
1482
+ //TODO detect break size
1483
+ const bound = this._getHostElement().parentElement.getBoundingClientRect();
1484
+ if (bound.width == 0) {
1485
+ console.log('Drawer invalid size', bound);
1486
+ setTimeout(() => {
1487
+ this._detectSize();
1488
+ }, 1);
1489
+ return;
1490
+ }
1491
+ if (bound.width < 400) {
1492
+ this._currentMode = 'overlay';
1493
+ this.collapsed = true;
1494
+ }
1495
+ else {
1496
+ this._currentMode = this.mode;
1497
+ }
1498
+ this._updateClass();
1499
+ this._emitChange();
1500
+ }
1501
+ _emitChange() {
1502
+ this.onChanged.emit({
1503
+ component: this,
1504
+ htmlElement: this.elementRef.nativeElement
1505
+ });
1506
+ }
1507
+ _setOverlayMode() {
1508
+ this._currentMode = 'overlay';
1509
+ this._getHostElement().classList.remove('ax-drawer-push');
1510
+ this._getHostElement().classList.add('ax-drawer-overlay');
1511
+ }
1512
+ _setPushMode() {
1513
+ this._currentMode = 'push';
1514
+ this._getHostElement().classList.remove('ax-drawer-overlay');
1515
+ this._getHostElement().classList.add('ax-drawer-push');
1516
+ this._removeBackdrop();
1517
+ }
1518
+ _addBackdrop() {
1519
+ if (!this._backdrop) {
1520
+ this._backdrop = document.createElement('div');
1521
+ this._backdrop.classList.add('ax-drawer-backdrop');
1522
+ this._getHostElement().parentElement.prepend(this._backdrop);
1523
+ this._backdrop.addEventListener('click', this._handleBackfropClick.bind(this));
1524
+ }
1525
+ }
1526
+ _removeBackdrop() {
1527
+ if (this._backdrop) {
1528
+ this._backdrop.removeEventListener('click', this._handleBackfropClick.bind(this));
1529
+ this._getHostElement().parentElement.removeChild(this._backdrop);
1530
+ this._backdrop = null;
1531
+ }
1532
+ }
1533
+ _handleBackfropClick(e) {
1534
+ this._removeBackdrop();
1535
+ this.collapsed = true;
1536
+ }
1537
+ }
1538
+ 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 });
1539
+ 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: `
1540
+ <ng-content>
1541
+ </ng-content>
1542
+ `, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
1543
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXDrawerComponent, decorators: [{
1544
+ type: Component,
1545
+ args: [{
1546
+ selector: 'ax-drawer',
1547
+ template: `
1548
+ <ng-content>
1549
+ </ng-content>
1550
+ `,
1551
+ changeDetection: ChangeDetectionStrategy.OnPush,
1552
+ encapsulation: ViewEncapsulation.None,
1553
+ host: { class: 'ax-drawer ax-transition-all' }
1554
+ }]
1555
+ }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: i0.NgZone }]; }, propDecorators: { onChanged: [{
1556
+ type: Output
1557
+ }], mode: [{
1558
+ type: Input
1559
+ }], location: [{
1560
+ type: Input
1561
+ }], collapsed: [{
1562
+ type: Input
1563
+ }], _handleWindowsResize: [{
1564
+ type: HostListener,
1565
+ args: ['window:resize', ['$event']]
1566
+ }] } });
1567
+
1568
+ class AXDrawerContainerComponent extends AXBaseComponentMixin {
1569
+ constructor(elementRef, cdr, zone) {
1570
+ super(elementRef, cdr);
1571
+ this.zone = zone;
1572
+ }
1573
+ onViewInit() {
1574
+ this._updateWidth();
1575
+ // add animation
1576
+ // setTimeout(() => {
1577
+ // this._getHostElement().querySelectorAll('ax-drawer').forEach(c => {
1578
+ // c.classList.add('ax-animated');
1579
+ // });
1580
+ // }, 100);
1581
+ this.drawers.forEach(c => {
1582
+ c.onChanged.subscribe(c => {
1583
+ this._updateWidth();
1584
+ });
1585
+ });
1586
+ }
1587
+ _updateWidth() {
1588
+ this.zone.runOutsideAngular(() => {
1589
+ const container = this._getHostElement().closest('ax-drawer-container');
1590
+ const parentWidth = this._getHostElement().getBoundingClientRect().width;
1591
+ let w = 0;
1592
+ this._getHostElement().querySelectorAll('ax-drawer').forEach(c => {
1593
+ const elm = c;
1594
+ const width = elm.getBoundingClientRect().width;
1595
+ const height = elm.getBoundingClientRect().height;
1596
+ const overflow = parentWidth < width;
1597
+ const diff = width - parentWidth;
1598
+ w += ['ax-expanded', 'ax-drawer-push'].every(c => elm.classList.contains(c)) ? width : 0;
1599
+ elm.style.setProperty('--attr-width', `${width}px`);
1600
+ elm.style.setProperty('--attr-height', `${height}px`);
1601
+ //TODO check overflow
1602
+ elm.style.setProperty('--attr-diff', `${overflow ? diff : 0}px`);
1603
+ });
1604
+ container.style.setProperty('--attr-content-width', `${parentWidth - w}px`);
1605
+ });
1606
+ }
1607
+ }
1608
+ 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 });
1609
+ 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: `
1610
+ <ng-content select="ax-drawer[location='top']">
1611
+ </ng-content>
1612
+ <ng-content select="ax-drawer[location='start']">
1613
+ </ng-content>
1614
+ <ng-content select="ax-drawer-content">
1615
+ </ng-content>
1616
+ <ng-content select="ax-drawer[location='end']">
1617
+ </ng-content>
1618
+ <ng-content select="ax-drawer[location='bottom']">
1619
+ </ng-content>
1620
+ `, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
1621
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXDrawerContainerComponent, decorators: [{
1622
+ type: Component,
1623
+ args: [{
1624
+ selector: 'ax-drawer-container',
1625
+ template: `
1626
+ <ng-content select="ax-drawer[location='top']">
1627
+ </ng-content>
1628
+ <ng-content select="ax-drawer[location='start']">
1629
+ </ng-content>
1630
+ <ng-content select="ax-drawer-content">
1631
+ </ng-content>
1632
+ <ng-content select="ax-drawer[location='end']">
1633
+ </ng-content>
1634
+ <ng-content select="ax-drawer[location='bottom']">
1635
+ </ng-content>
1636
+ `,
1637
+ inputs: ['rtl'],
1638
+ changeDetection: ChangeDetectionStrategy.OnPush,
1639
+ encapsulation: ViewEncapsulation.None,
1640
+ host: { class: 'ax-drawer-container' }
1641
+ }]
1642
+ }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: i0.NgZone }]; }, propDecorators: { drawers: [{
1643
+ type: ContentChildren,
1644
+ args: [AXDrawerComponent]
1645
+ }] } });
1646
+
1647
+ class AXDrawerContentComponent extends AXBaseComponentMixin {
1648
+ constructor(elementRef, cdr) {
1649
+ super(elementRef, cdr);
1650
+ }
1651
+ }
1652
+ 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 });
1653
+ 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: `
1654
+ <ng-content>
1655
+ </ng-content>
1656
+ `, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
1657
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXDrawerContentComponent, decorators: [{
1658
+ type: Component,
1659
+ args: [{
1660
+ selector: 'ax-drawer-content',
1661
+ template: `
1662
+ <ng-content>
1663
+ </ng-content>
1664
+ `,
1665
+ changeDetection: ChangeDetectionStrategy.OnPush,
1666
+ encapsulation: ViewEncapsulation.None,
1667
+ host: { class: 'ax-drawer-content' }
1668
+ }]
1669
+ }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; } });
1670
+
1671
+ const COMPONENT$o = [AXDrawerComponent, AXDrawerContainerComponent, AXDrawerContentComponent];
1672
+ const MODULES$o = [CommonModule];
1673
+ class AXDrawerModule {
1674
+ }
1675
+ AXDrawerModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXDrawerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
1676
+ 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] });
1677
+ AXDrawerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXDrawerModule, providers: [], imports: [[...MODULES$o]] });
1678
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXDrawerModule, decorators: [{
1679
+ type: NgModule,
1680
+ args: [{
1681
+ declarations: [...COMPONENT$o],
1682
+ imports: [...MODULES$o],
1683
+ exports: [...COMPONENT$o],
1684
+ providers: [],
1685
+ }]
1686
+ }] });
1687
+
1688
+ class AXButtonGroupComponent extends AXInteractiveComponenetMixin {
1689
+ constructor(elementRef, zone, cdr) {
1690
+ super(elementRef, cdr);
1691
+ this.zone = zone;
1692
+ this.selectionChange = new EventEmitter();
1693
+ this.colorChange = new EventEmitter();
1694
+ this._color = 'primary';
1695
+ this.lookChange = new EventEmitter();
1696
+ this._look = null;
1697
+ this.onItemClick = new EventEmitter();
1698
+ this.onValueChanged = new EventEmitter();
1699
+ }
1700
+ get selection() {
1701
+ return this._selection;
1702
+ }
1703
+ set selection(value) {
1704
+ value = this._onOptionChanging({ name: 'selection', value: value });
1705
+ const oldValue = this.selection;
1706
+ if (value != oldValue) {
1707
+ this._selection = value;
1708
+ this.selectionChange.emit(value);
1709
+ this.onOptionChanged({ name: 'selection', oldValue, newValue: value });
1710
+ }
1711
+ }
1712
+ /**
1713
+ * Predefined color schemes
1714
+ */
1715
+ get color() {
1716
+ return this._color;
1717
+ }
1718
+ set color(value) {
1719
+ value = this._onOptionChanging({ name: 'color', value: value });
1720
+ const oldValue = this.color;
1721
+ if (value != oldValue) {
1722
+ this._color = value;
1723
+ this.colorChange.emit(value);
1724
+ this.onOptionChanged({ name: 'value', oldValue, newValue: value });
1725
+ }
1726
+ }
1727
+ /**
1728
+ * Predefined look schemes
1729
+ */
1730
+ get look() {
1731
+ return this._look;
1732
+ }
1733
+ set look(value) {
1734
+ value = this._onOptionChanging({ name: 'look', value: value });
1735
+ const oldValue = this.look;
1736
+ if (value != oldValue) {
1737
+ this._look = value;
1738
+ this.lookChange.emit(value);
1739
+ this.onOptionChanged({ name: 'look', oldValue, newValue: value });
1740
+ }
1741
+ }
1742
+ ngAfterContentInit() {
1743
+ this._bindEvents();
1744
+ this._bindProps();
1745
+ }
1746
+ _bindEvents() {
1747
+ (this._contentButtons || []).forEach(b => {
1748
+ b.onClick.subscribe(c => {
1749
+ this._handleClickEvent(c, b);
1750
+ });
1751
+ });
1752
+ }
1753
+ _bindProps() {
1754
+ (this._contentButtons || []).forEach(b => {
1755
+ b.look = this.look;
1756
+ b.color = this.color;
1757
+ b.disabled = this.disabled;
1758
+ b.toggleable = false;
1759
+ });
1760
+ }
1761
+ onOptionChanged(options) {
1762
+ this._bindProps();
1763
+ }
1764
+ _handleClickEvent(e, button) {
1765
+ if (this.selection == 'multiple') {
1766
+ button.selected = !button.selected;
1767
+ }
1768
+ else if (this.selection == 'single') {
1769
+ this._contentButtons.forEach(c => {
1770
+ c.selected = false;
1771
+ });
1772
+ button.selected = true;
1773
+ }
1774
+ else {
1775
+ button.selected = false;
1776
+ }
1777
+ this.onItemClick.emit({
1778
+ component: this,
1779
+ htmlElement: e.htmlElement,
1780
+ item: button
1781
+ });
1782
+ }
1783
+ }
1784
+ 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 });
1785
+ 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 });
1786
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXButtonGroupComponent, decorators: [{
1787
+ type: Component,
1788
+ 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>" }]
1789
+ }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.NgZone }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { selectionChange: [{
1790
+ type: Output
1791
+ }], selection: [{
1792
+ type: Input
1793
+ }], colorChange: [{
1794
+ type: Output
1795
+ }], color: [{
1796
+ type: Input
1797
+ }], lookChange: [{
1798
+ type: Output
1799
+ }], look: [{
1800
+ type: Input
1801
+ }], onItemClick: [{
1802
+ type: Output
1803
+ }], _contentButtons: [{
1804
+ type: ContentChildren,
1805
+ args: [AXButtonComponent, { descendants: true }]
1806
+ }] } });
1807
+
1808
+ const AXBaseItemButtonMixin = _InteractiveComponenetMixin(_ClickableComponenetMixin(AXBaseComponent));
1809
+ class AXButtonItemComponent extends AXBaseItemButtonMixin {
1810
+ /**
1811
+ * @ignore
1812
+ */
1813
+ constructor(elementRef, cdr) {
1814
+ super(elementRef, cdr);
1815
+ this.text = null;
1816
+ this.tooltip = null;
1817
+ this.selected = false;
1818
+ this.seperated = false;
1819
+ this.color = 'light';
1820
+ }
1821
+ __hostClick(e) {
1822
+ this._emitOnClickEvent(e);
1823
+ }
1824
+ get __hostClass() {
1825
+ const cssClasses = {
1826
+ 'ax-button-icon': !this.text,
1827
+ 'ax-state-disabled': this.disabled,
1828
+ 'ax-state-selected': this.selected,
1829
+ };
1830
+ cssClasses[`ax-${this.color || 'primary'}-default`] = true;
1831
+ return Object.entries(cssClasses).filter(c => c[1]).map(c => c[0]).join(' ');
1832
+ }
1833
+ }
1834
+ 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 });
1835
+ 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: `
1836
+ <ng-content select="ax-prefix">
1837
+ </ng-content>
1838
+ <ng-content select="ax-icon">
1839
+ </ng-content>
1840
+ <span *ngIf="text">{{text}}</span>
1841
+ <ng-content select="ax-suffix">
1842
+ </ng-content>
1843
+ `, isInline: true, directives: [{ type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
1844
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXButtonItemComponent, decorators: [{
1845
+ type: Component,
1846
+ args: [{
1847
+ selector: 'ax-button-item',
1848
+ template: `
1849
+ <ng-content select="ax-prefix">
1850
+ </ng-content>
1851
+ <ng-content select="ax-icon">
1852
+ </ng-content>
1853
+ <span *ngIf="text">{{text}}</span>
1854
+ <ng-content select="ax-suffix">
1855
+ </ng-content>
1856
+ `,
1857
+ encapsulation: ViewEncapsulation.None,
1858
+ changeDetection: ChangeDetectionStrategy.OnPush,
1449
1859
  }]
1450
- }] });
1860
+ }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { text: [{
1861
+ type: Input
1862
+ }], tooltip: [{
1863
+ type: Input
1864
+ }], selected: [{
1865
+ type: Input
1866
+ }], seperated: [{
1867
+ type: Input
1868
+ }], name: [{
1869
+ type: Input
1870
+ }], data: [{
1871
+ type: Input
1872
+ }], color: [{
1873
+ type: Input
1874
+ }], __hostClick: [{
1875
+ type: HostListener,
1876
+ args: ['click', ['$event']]
1877
+ }], __hostClass: [{
1878
+ type: HostBinding,
1879
+ args: ['class']
1880
+ }] } });
1451
1881
 
1452
- class AXAlertFooterComponent {
1882
+ class AXDecoratorContentComponent extends AXBaseComponentMixin {
1883
+ constructor(elementRef, cdr) {
1884
+ super(elementRef, cdr);
1885
+ }
1453
1886
  }
1454
- AXAlertFooterComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXAlertFooterComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
1455
- 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: `
1456
- <div class="ax-alert-buttons">
1457
- <ng-content select="ax-alert-button">
1458
- </ng-content>
1459
- </div>
1887
+ 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 });
1888
+ AXDecoratorContentComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: AXDecoratorContentComponent, selector: "ax-content", usesInheritance: true, ngImport: i0, template: `
1889
+ <ng-content>
1890
+ </ng-content>
1460
1891
  `, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
1461
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXAlertFooterComponent, decorators: [{
1892
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXDecoratorContentComponent, decorators: [{
1462
1893
  type: Component,
1463
1894
  args: [{
1464
- selector: 'ax-alert-footer',
1895
+ selector: 'ax-content',
1465
1896
  template: `
1466
- <div class="ax-alert-buttons">
1467
- <ng-content select="ax-alert-button">
1468
- </ng-content>
1469
- </div>
1897
+ <ng-content>
1898
+ </ng-content>
1470
1899
  `,
1471
1900
  changeDetection: ChangeDetectionStrategy.OnPush,
1472
1901
  encapsulation: ViewEncapsulation.None,
1473
- host: { class: 'ax-alert-footer' }
1474
1902
  }]
1475
- }] });
1903
+ }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; } });
1476
1904
 
1477
- class AXIconComponent extends AXSizableComponentMixin {
1905
+ class AXDecoratorAddOnComponent extends AXBaseComponentMixin {
1906
+ constructor(_elementRef, _cdr) {
1907
+ super(_elementRef, _cdr);
1908
+ }
1909
+ }
1910
+ 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 });
1911
+ AXDecoratorAddOnComponent.ɵcmp = 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 });
1912
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXDecoratorAddOnComponent, decorators: [{
1913
+ type: Component,
1914
+ args: [{
1915
+ selector: 'ax-addon',
1916
+ template: `<ng-content></ng-content>`,
1917
+ changeDetection: ChangeDetectionStrategy.OnPush,
1918
+ encapsulation: ViewEncapsulation.None
1919
+ }]
1920
+ }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; } });
1921
+
1922
+ class AXDecoratorHeaderComponent extends AXBaseComponentMixin {
1478
1923
  constructor(elementRef, cdr) {
1479
1924
  super(elementRef, cdr);
1480
1925
  }
1481
- get __iconClass() {
1482
- return `ax-ic ${this.icon}`;
1483
- }
1484
1926
  }
1485
- 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 });
1486
- 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 });
1487
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXIconComponent, decorators: [{
1927
+ 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 });
1928
+ AXDecoratorHeaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: AXDecoratorHeaderComponent, selector: "ax-header", usesInheritance: true, ngImport: i0, template: `
1929
+ <ng-content>
1930
+ </ng-content>
1931
+ `, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
1932
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXDecoratorHeaderComponent, decorators: [{
1488
1933
  type: Component,
1489
1934
  args: [{
1490
- selector: 'ax-icon',
1491
- template: '<ng-content select="i,svg,img"></ng-content>',
1935
+ selector: 'ax-header',
1936
+ template: `
1937
+ <ng-content>
1938
+ </ng-content>
1939
+ `,
1492
1940
  changeDetection: ChangeDetectionStrategy.OnPush,
1493
1941
  encapsulation: ViewEncapsulation.None,
1494
1942
  }]
1495
- }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { icon: [{
1496
- type: Input
1497
- }], __iconClass: [{
1498
- type: HostBinding,
1499
- args: ['class']
1500
- }] } });
1943
+ }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; } });
1501
1944
 
1502
- const COMPONENT$o = [AXIconComponent];
1503
- const MODULES$o = [CommonModule];
1504
- class AXIconModule {
1945
+ class AXDecoratorPrefixComponent extends AXBaseComponentMixin {
1946
+ constructor(elementRef, cdr) {
1947
+ super(elementRef, cdr);
1948
+ }
1505
1949
  }
1506
- AXIconModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXIconModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
1507
- AXIconModulemod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXIconModule, declarations: [AXIconComponent], imports: [CommonModule], exports: [AXIconComponent] });
1508
- AXIconModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXIconModule, providers: [], imports: [[...MODULES$o]] });
1509
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXIconModule, decorators: [{
1510
- type: NgModule,
1950
+ 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 });
1951
+ AXDecoratorPrefixComponentcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: AXDecoratorPrefixComponent, selector: "ax-prefix", usesInheritance: true, ngImport: i0, template: `
1952
+ <ng-content select="ax-button,ax-loading,ax-icon,ax-content,ax-badge,ax-addon">
1953
+ </ng-content>
1954
+ `, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
1955
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXDecoratorPrefixComponent, decorators: [{
1956
+ type: Component,
1511
1957
  args: [{
1512
- declarations: [...COMPONENT$o],
1513
- imports: [...MODULES$o],
1514
- exports: [...COMPONENT$o],
1515
- providers: [],
1958
+ selector: 'ax-prefix',
1959
+ template: `
1960
+ <ng-content select="ax-button,ax-loading,ax-icon,ax-content,ax-badge,ax-addon">
1961
+ </ng-content>
1962
+ `,
1963
+ changeDetection: ChangeDetectionStrategy.OnPush,
1964
+ encapsulation: ViewEncapsulation.None
1516
1965
  }]
1517
- }] });
1966
+ }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; } });
1518
1967
 
1519
- const COMPONENT$n = [
1520
- AXAlertComponent,
1521
- AXAlertContentComponent,
1522
- AXAlertTitleComponent,
1523
- AXAlertButtonComponent,
1524
- AXAlertFooterComponent,
1525
- AXAlertSuffixComponent
1526
- ];
1527
- const MODULES$n = [CommonModule, AXIconModule];
1528
- class AXAlertModule {
1968
+ class AXDecoratorSuffixComponent extends AXBaseComponentMixin {
1969
+ constructor(elementRef, cdr) {
1970
+ super(elementRef, cdr);
1971
+ }
1529
1972
  }
1530
- AXAlertModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXAlertModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
1531
- AXAlertModulemod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXAlertModule, declarations: [AXAlertComponent,
1532
- AXAlertContentComponent,
1533
- AXAlertTitleComponent,
1534
- AXAlertButtonComponent,
1535
- AXAlertFooterComponent,
1536
- AXAlertSuffixComponent], imports: [CommonModule, AXIconModule], exports: [AXAlertComponent,
1537
- AXAlertContentComponent,
1538
- AXAlertTitleComponent,
1539
- AXAlertButtonComponent,
1540
- AXAlertFooterComponent,
1541
- AXAlertSuffixComponent] });
1542
- AXAlertModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXAlertModule, providers: [], imports: [[...MODULES$n]] });
1543
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXAlertModule, decorators: [{
1973
+ 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 });
1974
+ AXDecoratorSuffixComponentcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: AXDecoratorSuffixComponent, selector: "ax-suffix", usesInheritance: true, ngImport: i0, template: `
1975
+ <ng-content select="ax-button,ax-loading,ax-icon,ax-content,ax-badge,ax-addon">
1976
+ </ng-content>
1977
+ `, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
1978
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXDecoratorSuffixComponent, decorators: [{
1979
+ type: Component,
1980
+ args: [{
1981
+ selector: 'ax-suffix',
1982
+ template: `
1983
+ <ng-content select="ax-button,ax-loading,ax-icon,ax-content,ax-badge,ax-addon">
1984
+ </ng-content>
1985
+ `,
1986
+ changeDetection: ChangeDetectionStrategy.OnPush,
1987
+ encapsulation: ViewEncapsulation.None
1988
+ }]
1989
+ }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; } });
1990
+
1991
+ const COMPONENT$n = [AXDecoratorPrefixComponent, AXDecoratorSuffixComponent, AXDecoratorContentComponent, AXDecoratorHeaderComponent, AXDecoratorAddOnComponent];
1992
+ const MODULES$n = [CommonModule];
1993
+ class AXEditorDecoratorModule {
1994
+ }
1995
+ AXEditorDecoratorModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXEditorDecoratorModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
1996
+ 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] });
1997
+ AXEditorDecoratorModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXEditorDecoratorModule, providers: [], imports: [[...MODULES$n]] });
1998
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXEditorDecoratorModule, decorators: [{
1544
1999
  type: NgModule,
1545
2000
  args: [{
1546
2001
  declarations: [...COMPONENT$n],
@@ -1550,66 +2005,39 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
1550
2005
  }]
1551
2006
  }] });
1552
2007
 
1553
- class AXAvatarGroup {
1554
- constructor() { }
1555
- ngOnInit() { }
1556
- }
1557
- AXAvatarGroup.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXAvatarGroup, deps: [], target: i0.ɵɵFactoryTarget.Component });
1558
- 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 });
1559
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXAvatarGroup, decorators: [{
1560
- type: Component,
1561
- args: [{
1562
- selector: 'ax-avatar-group',
1563
- template: `<ng-content select='ax-avatar'></ng-content>`,
1564
- host: { class: 'ax-avatar-group' }
1565
- }]
1566
- }], ctorParameters: function () { return []; } });
1567
-
1568
- /**
1569
- * The Button is a component which detects user interaction and triggers a corresponding event
1570
- *
1571
- * @category Components
1572
- */
1573
- class AXAvatarComponent extends AXAvatarMixin {
1574
- /**
1575
- * @ignore
1576
- */
2008
+ class AXIconComponent extends AXSizableComponentMixin {
1577
2009
  constructor(elementRef, cdr) {
1578
2010
  super(elementRef, cdr);
1579
- this.type = 'default';
1580
2011
  }
1581
- get __hostClass() {
1582
- return `ax-${this.color}-default`;
2012
+ get __iconClass() {
2013
+ return `ax-ic ${this.icon}`;
1583
2014
  }
1584
2015
  }
1585
- 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 });
1586
- 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 });
1587
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXAvatarComponent, decorators: [{
2016
+ 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 });
2017
+ 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 });
2018
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXIconComponent, decorators: [{
1588
2019
  type: Component,
1589
- 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>" }]
1590
- }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { text: [{
1591
- type: Input
1592
- }], icon: [{
1593
- type: Input
1594
- }], src: [{
1595
- type: Input
1596
- }], class: [{
1597
- type: Input
1598
- }], type: [{
2020
+ args: [{
2021
+ selector: 'ax-icon',
2022
+ template: '<ng-content select="i,svg,img"></ng-content>',
2023
+ changeDetection: ChangeDetectionStrategy.OnPush,
2024
+ encapsulation: ViewEncapsulation.None,
2025
+ }]
2026
+ }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { icon: [{
1599
2027
  type: Input
1600
- }], __hostClass: [{
2028
+ }], __iconClass: [{
1601
2029
  type: HostBinding,
1602
2030
  args: ['class']
1603
2031
  }] } });
1604
2032
 
1605
- const COMPONENT$m = [AXAvatarComponent, AXAvatarGroup];
2033
+ const COMPONENT$m = [AXIconComponent];
1606
2034
  const MODULES$m = [CommonModule];
1607
- class AXAvatarModule {
2035
+ class AXIconModule {
1608
2036
  }
1609
- AXAvatarModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXAvatarModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
1610
- AXAvatarModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXAvatarModule, declarations: [AXAvatarComponent, AXAvatarGroup], imports: [CommonModule], exports: [AXAvatarComponent, AXAvatarGroup] });
1611
- AXAvatarModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXAvatarModule, providers: [], imports: [[...MODULES$m]] });
1612
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXAvatarModule, decorators: [{
2037
+ AXIconModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXIconModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
2038
+ AXIconModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXIconModule, declarations: [AXIconComponent], imports: [CommonModule], exports: [AXIconComponent] });
2039
+ AXIconModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXIconModule, providers: [], imports: [[...MODULES$m]] });
2040
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXIconModule, decorators: [{
1613
2041
  type: NgModule,
1614
2042
  args: [{
1615
2043
  declarations: [...COMPONENT$m],
@@ -1619,486 +2047,481 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
1619
2047
  }]
1620
2048
  }] });
1621
2049
 
1622
- const AXBaseBadgeMixin = _ColorLookComponentMixin(AXBaseComponent);
1623
- class AXBadgeComponent extends AXBaseBadgeMixin {
1624
- constructor(elementRef, cdr) {
1625
- super(elementRef, cdr);
1626
- this.text = '';
1627
- //TODO: ax-badge
1628
- }
1629
- get __hostClass() {
1630
- const _class = this.look ? `ax-${this.color}-${this.look}` : `ax-${this.color}-default`;
1631
- return ['ax-badge', _class, !this.text ? 'ax-badge-icon' : ''].join(' ');
1632
- }
1633
- }
1634
- 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 });
1635
- 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 });
1636
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXBadgeComponent, decorators: [{
1637
- type: Component,
1638
- 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>" }]
1639
- }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { text: [{
1640
- type: Input
1641
- }], __hostClass: [{
1642
- type: HostBinding,
1643
- args: ['class']
1644
- }] } });
1645
-
1646
- const COMPONENT$l = [AXBadgeComponent];
1647
- const MODULES$l = [CommonModule];
1648
- class AXBadgeModule {
2050
+ const COMPONENT$l = [
2051
+ AXButtonComponent,
2052
+ AXButtonItemComponent,
2053
+ AXButtonGroupComponent,
2054
+ ];
2055
+ const MODULES$l = [CommonModule, AXIconModule, AXEditorDecoratorModule];
2056
+ class AXButtonModule {
1649
2057
  }
1650
- AXBadgeModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXBadgeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
1651
- AXBadgeModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXBadgeModule, declarations: [AXBadgeComponent], imports: [CommonModule], exports: [AXBadgeComponent] });
1652
- AXBadgeModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXBadgeModule, providers: [], imports: [[...MODULES$l]] });
1653
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXBadgeModule, decorators: [{
2058
+ AXButtonModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXButtonModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
2059
+ AXButtonModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXButtonModule, declarations: [AXButtonComponent,
2060
+ AXButtonItemComponent,
2061
+ AXButtonGroupComponent], imports: [CommonModule, AXIconModule, AXEditorDecoratorModule], exports: [AXButtonComponent,
2062
+ AXButtonItemComponent,
2063
+ AXButtonGroupComponent] });
2064
+ AXButtonModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXButtonModule, providers: [], imports: [[MODULES$l]] });
2065
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXButtonModule, decorators: [{
1654
2066
  type: NgModule,
1655
2067
  args: [{
1656
- declarations: [...COMPONENT$l],
1657
- imports: [...MODULES$l],
1658
- exports: [...COMPONENT$l],
2068
+ imports: [MODULES$l],
2069
+ exports: [COMPONENT$l],
2070
+ declarations: [COMPONENT$l],
1659
2071
  providers: [],
1660
2072
  }]
1661
2073
  }] });
1662
2074
 
1663
- class AXBreadCrumbsComponent extends AXBaseComponent {
1664
- constructor() {
1665
- super();
1666
- }
1667
- }
1668
- AXBreadCrumbsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXBreadCrumbsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
1669
- 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>" });
1670
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXBreadCrumbsComponent, decorators: [{
1671
- type: Component,
1672
- args: [{ selector: 'ax-breadcrumbs', host: { class: 'ax-breadcrumbs' }, template: "<ng-content select=\"ax-breadcrumbs-item\"></ng-content>" }]
1673
- }], ctorParameters: function () { return []; } });
1674
-
1675
- class AXBreadCrumbsItemComponent extends AXBaseComponent {
1676
- constructor() {
1677
- super();
1678
- }
1679
- }
1680
- AXBreadCrumbsItemComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXBreadCrumbsItemComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
1681
- AXBreadCrumbsItemComponent.ɵcmp = 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>" });
1682
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXBreadCrumbsItemComponent, decorators: [{
1683
- type: Component,
1684
- 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>" }]
1685
- }], ctorParameters: function () { return []; }, propDecorators: { text: [{
1686
- type: Input
1687
- }] } });
1688
-
1689
- class AXBreadcrumbsModule {
2075
+ class AXActionSheetModule {
1690
2076
  }
1691
- AXBreadcrumbsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXBreadcrumbsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
1692
- AXBreadcrumbsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXBreadcrumbsModule, declarations: [AXBreadCrumbsComponent, AXBreadCrumbsItemComponent], imports: [CommonModule], exports: [AXBreadCrumbsComponent, AXBreadCrumbsItemComponent] });
1693
- AXBreadcrumbsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXBreadcrumbsModule, providers: [], imports: [[CommonModule]] });
1694
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXBreadcrumbsModule, decorators: [{
2077
+ AXActionSheetModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXActionSheetModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
2078
+ 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] });
2079
+ AXActionSheetModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXActionSheetModule, providers: [], imports: [[CommonModule, AXDrawerModule, AXButtonModule, BrowserAnimationsModule]] });
2080
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXActionSheetModule, decorators: [{
1695
2081
  type: NgModule,
1696
2082
  args: [{
1697
- declarations: [AXBreadCrumbsComponent, AXBreadCrumbsItemComponent],
1698
- imports: [CommonModule],
1699
- exports: [AXBreadCrumbsComponent, AXBreadCrumbsItemComponent],
2083
+ declarations: [AXActionSheetComponent, AXActionSheetItemComponent],
2084
+ imports: [CommonModule, AXDrawerModule, AXButtonModule, BrowserAnimationsModule],
2085
+ exports: [AXActionSheetComponent, AXActionSheetItemComponent],
1700
2086
  providers: [],
1701
2087
  }]
1702
2088
  }] });
1703
2089
 
2090
+ var _AXAlertComponent_visible;
2091
+ const AXBaseAlertMixin = _ColorLookComponentMixin(AXBaseComponent);
1704
2092
  /**
1705
- * The Button is a component which detects user interaction and triggers a corresponding event
2093
+ * Regular description
1706
2094
  *
1707
2095
  * @category Components
1708
2096
  */
1709
- class AXButtonComponent extends AXBaseButtonMixin {
2097
+ class AXAlertComponent extends AXBaseAlertMixin {
1710
2098
  /**
1711
2099
  * @ignore
1712
2100
  */
1713
2101
  constructor(elementRef, cdr) {
1714
2102
  super(elementRef, cdr);
2103
+ this.showIcon = true;
2104
+ _AXAlertComponent_visible.set(this, void 0);
1715
2105
  }
1716
- onKeydownHandler(e) {
1717
- if (e.code === 'Enter') {
1718
- this._getHostElement().click();
1719
- }
1720
- }
1721
- _emitOnClickEvent(e) {
1722
- if (this.disabled)
1723
- return;
1724
- if (this.toggleable) {
1725
- this.selected = !this.selected;
2106
+ _onOptionChanged(option) {
2107
+ if (option.name == 'color') {
2108
+ switch (this.color) {
2109
+ case 'success':
2110
+ this.icon = 'ax-ic ax-ic-check-filled';
2111
+ break;
2112
+ case 'warning':
2113
+ this.icon = 'ax-ic-warning-filled';
2114
+ break;
2115
+ case 'danger':
2116
+ this.icon = 'ax-ic-error-filled';
2117
+ break;
2118
+ default:
2119
+ this.icon = 'ax-ic ax-ic-info-filled';
2120
+ break;
2121
+ }
1726
2122
  }
1727
- super._emitOnClickEvent(e);
1728
- }
1729
- _emitOnFocusEvent(e) {
1730
- super._emitOnFocusEvent(e);
1731
- }
1732
- _emitOnBlurEvent(e) {
1733
- super._emitOnBlurEvent(e);
1734
2123
  }
2124
+ /**
2125
+ * @ignore
2126
+ */
1735
2127
  get __hostClass() {
1736
- return Object.entries(this._classes).filter(c => c[1]).map(c => c[0]).join(' ');
1737
- }
1738
- }
1739
- 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 });
1740
- 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 });
1741
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXButtonComponent, decorators: [{
1742
- type: Component,
1743
- 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> -->" }]
1744
- }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { onKeydownHandler: [{
1745
- type: HostListener,
1746
- args: ['keyup', ['$event']]
1747
- }], _emitOnClickEvent: [{
1748
- type: HostListener,
1749
- args: ['click', ['$event']]
1750
- }], _emitOnFocusEvent: [{
1751
- type: HostListener,
1752
- args: ['focus', ['$event']]
1753
- }], _emitOnBlurEvent: [{
1754
- type: HostListener,
1755
- args: ['blur', ['$event']]
1756
- }], __hostClass: [{
1757
- type: HostBinding,
1758
- args: ['class']
1759
- }] } });
1760
-
1761
- class AXButtonGroupComponent extends AXInteractiveComponenetMixin {
1762
- constructor(elementRef, zone, cdr) {
1763
- super(elementRef, cdr);
1764
- this.zone = zone;
1765
- this.selectionChange = new EventEmitter();
1766
- this.colorChange = new EventEmitter();
1767
- this._color = 'primary';
1768
- this.lookChange = new EventEmitter();
1769
- this._look = null;
1770
- this.onItemClick = new EventEmitter();
1771
- this.onValueChanged = new EventEmitter();
1772
- }
1773
- get selection() {
1774
- return this._selection;
1775
- }
1776
- set selection(value) {
1777
- value = this._onOptionChanging({ name: 'selection', value: value });
1778
- const oldValue = this.selection;
1779
- if (value != oldValue) {
1780
- this._selection = value;
1781
- this.selectionChange.emit(value);
1782
- this.onOptionChanged({ name: 'selection', oldValue, newValue: value });
1783
- }
2128
+ // return ` ax-alert ax-none ax-${this.color}-default ax-${this.look}-default`;
2129
+ const _class = this.look ? `ax-${this.color}-${this.look}` : `ax-${this.color}-default`;
2130
+ return `ax-alert ax-none ${_class}`;
1784
2131
  }
1785
2132
  /**
1786
- * Predefined color schemes
2133
+ * set the visibility of the Alert
1787
2134
  */
1788
- get color() {
1789
- return this._color;
2135
+ get visible() {
2136
+ return __classPrivateFieldGet(this, _AXAlertComponent_visible, "f");
1790
2137
  }
1791
- set color(value) {
1792
- value = this._onOptionChanging({ name: 'color', value: value });
1793
- const oldValue = this.color;
1794
- if (value != oldValue) {
1795
- this._color = value;
1796
- this.colorChange.emit(value);
1797
- this.onOptionChanged({ name: 'value', oldValue, newValue: value });
2138
+ set visible(v) {
2139
+ if (__classPrivateFieldGet(this, _AXAlertComponent_visible, "f") != v) {
2140
+ __classPrivateFieldSet(this, _AXAlertComponent_visible, v, "f");
2141
+ const host = this._getHostElement();
2142
+ if (v) {
2143
+ host.classList.remove('ax-state-hidden');
2144
+ host.classList.add('ax-state-visible');
2145
+ }
2146
+ else {
2147
+ host.classList.add('ax-state-hidden');
2148
+ host.classList.toggle('ax-state-visible');
2149
+ }
1798
2150
  }
1799
2151
  }
1800
- /**
1801
- * Predefined look schemes
1802
- */
1803
- get look() {
1804
- return this._look;
1805
- }
1806
- set look(value) {
1807
- value = this._onOptionChanging({ name: 'look', value: value });
1808
- const oldValue = this.look;
1809
- if (value != oldValue) {
1810
- this._look = value;
1811
- this.lookChange.emit(value);
1812
- this.onOptionChanged({ name: 'look', oldValue, newValue: value });
2152
+ onInit() {
2153
+ if (this.timeOut) {
2154
+ setTimeout(() => {
2155
+ this.dismiss();
2156
+ }, this.timeOut);
1813
2157
  }
1814
2158
  }
1815
- ngAfterContentInit() {
1816
- this._bindEvents();
1817
- this._bindProps();
1818
- }
1819
- _bindEvents() {
1820
- (this._contentButtons || []).forEach(b => {
1821
- b.onClick.subscribe(c => {
1822
- this._handleClickEvent(c, b);
1823
- });
1824
- });
2159
+ onViewInit() {
2160
+ if (this.visible == undefined) {
2161
+ this.visible = true;
2162
+ }
1825
2163
  }
1826
- _bindProps() {
1827
- (this._contentButtons || []).forEach(b => {
1828
- b.look = this.look;
1829
- b.color = this.color;
1830
- b.disabled = this.disabled;
1831
- b.toggleable = false;
1832
- });
2164
+ /**
2165
+ * Remove the alert from the container
2166
+ */
2167
+ dismiss() {
2168
+ const host = this._getHostElement();
2169
+ this.visible = false;
2170
+ const func = () => {
2171
+ host.parentElement.removeChild(host);
2172
+ };
2173
+ host.addEventListener('transitionend', func);
1833
2174
  }
1834
- onOptionChanged(options) {
1835
- this._bindProps();
2175
+ /**
2176
+ * Hide the alert
2177
+ */
2178
+ hide() {
2179
+ this.visible = false;
1836
2180
  }
1837
- _handleClickEvent(e, button) {
1838
- if (this.selection == 'multiple') {
1839
- button.selected = !button.selected;
1840
- }
1841
- else if (this.selection == 'single') {
1842
- this._contentButtons.forEach(c => {
1843
- c.selected = false;
1844
- });
1845
- button.selected = true;
1846
- }
1847
- else {
1848
- button.selected = false;
1849
- }
1850
- this.onItemClick.emit({
1851
- component: this,
1852
- htmlElement: e.htmlElement,
1853
- item: button
1854
- });
2181
+ /**
2182
+ * Show the alert
2183
+ */
2184
+ show() {
2185
+ this.visible = true;
1855
2186
  }
1856
2187
  }
1857
- 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 });
1858
- 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 });
1859
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXButtonGroupComponent, decorators: [{
2188
+ _AXAlertComponent_visible = new WeakMap();
2189
+ 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 });
2190
+ 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 });
2191
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXAlertComponent, decorators: [{
1860
2192
  type: Component,
1861
- 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>" }]
1862
- }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.NgZone }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { selectionChange: [{
1863
- type: Output
1864
- }], selection: [{
2193
+ 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>" }]
2194
+ }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { icon: [{
1865
2195
  type: Input
1866
- }], colorChange: [{
1867
- type: Output
1868
- }], color: [{
2196
+ }], showIcon: [{
1869
2197
  type: Input
1870
- }], lookChange: [{
1871
- type: Output
1872
- }], look: [{
2198
+ }], __hostClass: [{
2199
+ type: HostBinding,
2200
+ args: ['class']
2201
+ }], timeOut: [{
2202
+ type: Input
2203
+ }], visible: [{
1873
2204
  type: Input
1874
- }], onItemClick: [{
1875
- type: Output
1876
- }], _contentButtons: [{
1877
- type: ContentChildren,
1878
- args: [AXButtonComponent, { descendants: true }]
1879
2205
  }] } });
1880
2206
 
1881
- const AXBaseItemButtonMixin = _InteractiveComponenetMixin(_ClickableComponenetMixin(AXBaseComponent));
1882
- class AXButtonItemComponent extends AXBaseItemButtonMixin {
1883
- /**
1884
- * @ignore
1885
- */
2207
+ class AXAlertTitleComponent {
2208
+ }
2209
+ AXAlertTitleComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXAlertTitleComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
2210
+ 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: `
2211
+ <ng-content>
2212
+ </ng-content>
2213
+ `, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
2214
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXAlertTitleComponent, decorators: [{
2215
+ type: Component,
2216
+ args: [{
2217
+ selector: 'ax-alert-title',
2218
+ template: `
2219
+ <ng-content>
2220
+ </ng-content>
2221
+ `,
2222
+ changeDetection: ChangeDetectionStrategy.OnPush,
2223
+ encapsulation: ViewEncapsulation.None,
2224
+ host: { class: 'ax-alert-title' }
2225
+ }]
2226
+ }] });
2227
+
2228
+ class AXAlertButtonComponent extends AXBaseClickableMixin {
1886
2229
  constructor(elementRef, cdr) {
1887
2230
  super(elementRef, cdr);
1888
- this.text = null;
1889
- this.tooltip = null;
1890
- this.selected = false;
1891
- this.seperated = false;
1892
- this.color = 'light';
1893
2231
  }
1894
- __hostClick(e) {
2232
+ _handleOnClick(e) {
1895
2233
  this._emitOnClickEvent(e);
1896
2234
  }
1897
- get __hostClass() {
1898
- const cssClasses = {
1899
- 'ax-button-icon': !this.text,
1900
- 'ax-state-disabled': this.disabled,
1901
- 'ax-state-selected': this.selected,
1902
- };
1903
- cssClasses[`ax-${this.color || 'primary'}-default`] = true;
1904
- return Object.entries(cssClasses).filter(c => c[1]).map(c => c[0]).join(' ');
2235
+ _handleOnFocus(e) {
2236
+ this._emitOnFocusEvent(e);
2237
+ }
2238
+ _handleOnBlur(e) {
2239
+ this._emitOnBlurEvent(e);
1905
2240
  }
1906
2241
  }
1907
- 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 });
1908
- 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: `
1909
- <ng-content select="ax-prefix">
1910
- </ng-content>
1911
- <ng-content select="ax-icon">
1912
- </ng-content>
1913
- <span *ngIf="text">{{text}}</span>
1914
- <ng-content select="ax-suffix">
1915
- </ng-content>
1916
- `, isInline: true, directives: [{ type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
1917
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXButtonItemComponent, decorators: [{
2242
+ 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 });
2243
+ 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: `
2244
+ {{text}}
2245
+ <ng-content select="ax-icon"></ng-content>
2246
+ `, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
2247
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXAlertButtonComponent, decorators: [{
1918
2248
  type: Component,
1919
2249
  args: [{
1920
- selector: 'ax-button-item',
2250
+ selector: 'ax-alert-button',
1921
2251
  template: `
1922
- <ng-content select="ax-prefix">
1923
- </ng-content>
1924
- <ng-content select="ax-icon">
1925
- </ng-content>
1926
- <span *ngIf="text">{{text}}</span>
1927
- <ng-content select="ax-suffix">
1928
- </ng-content>
2252
+ {{text}}
2253
+ <ng-content select="ax-icon"></ng-content>
1929
2254
  `,
1930
- encapsulation: ViewEncapsulation.None,
1931
2255
  changeDetection: ChangeDetectionStrategy.OnPush,
2256
+ encapsulation: ViewEncapsulation.None,
2257
+ outputs: [...BUTTON_OUTPUT],
2258
+ host: { class: 'ax-alert-button' }
1932
2259
  }]
1933
2260
  }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { text: [{
1934
2261
  type: Input
1935
- }], tooltip: [{
1936
- type: Input
1937
- }], selected: [{
1938
- type: Input
1939
- }], seperated: [{
1940
- type: Input
1941
- }], name: [{
1942
- type: Input
1943
- }], data: [{
1944
- type: Input
1945
- }], color: [{
2262
+ }], icon: [{
1946
2263
  type: Input
1947
- }], __hostClick: [{
2264
+ }], _handleOnClick: [{
1948
2265
  type: HostListener,
1949
2266
  args: ['click', ['$event']]
1950
- }], __hostClass: [{
1951
- type: HostBinding,
1952
- args: ['class']
2267
+ }], _handleOnFocus: [{
2268
+ type: HostListener,
2269
+ args: ['focus', ['$event']]
2270
+ }], _handleOnBlur: [{
2271
+ type: HostListener,
2272
+ args: ['blur', ['$event']]
1953
2273
  }] } });
1954
2274
 
1955
- class AXDecoratorContentComponent extends AXBaseComponentMixin {
1956
- constructor(elementRef, cdr) {
1957
- super(elementRef, cdr);
1958
- }
2275
+ class AXAlertContentComponent {
1959
2276
  }
1960
- 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 });
1961
- AXDecoratorContentComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: AXDecoratorContentComponent, selector: "ax-content", usesInheritance: true, ngImport: i0, template: `
1962
- <ng-content>
2277
+ AXAlertContentComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXAlertContentComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
2278
+ 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>
1963
2279
  </ng-content>
1964
2280
  `, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
1965
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXDecoratorContentComponent, decorators: [{
2281
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXAlertContentComponent, decorators: [{
2282
+ type: Component,
2283
+ args: [{
2284
+ selector: 'ax-alert-content',
2285
+ template: `<ng-content>
2286
+ </ng-content>
2287
+ `,
2288
+ changeDetection: ChangeDetectionStrategy.OnPush,
2289
+ encapsulation: ViewEncapsulation.None,
2290
+ host: { class: 'ax-alert-content' }
2291
+ }]
2292
+ }] });
2293
+
2294
+ class AXAlertSuffixComponent {
2295
+ }
2296
+ AXAlertSuffixComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXAlertSuffixComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
2297
+ 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: `
2298
+ <div class="ax-alert-buttons">
2299
+ <ng-content select="ax-alert-button">
2300
+ </ng-content>
2301
+ </div>
2302
+ `, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
2303
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXAlertSuffixComponent, decorators: [{
2304
+ type: Component,
2305
+ args: [{
2306
+ selector: 'ax-alert-suffix',
2307
+ template: `
2308
+ <div class="ax-alert-buttons">
2309
+ <ng-content select="ax-alert-button">
2310
+ </ng-content>
2311
+ </div>
2312
+ `,
2313
+ changeDetection: ChangeDetectionStrategy.OnPush,
2314
+ encapsulation: ViewEncapsulation.None,
2315
+ host: { class: 'ax-alert-suffix' }
2316
+ }]
2317
+ }] });
2318
+
2319
+ class AXAlertFooterComponent {
2320
+ }
2321
+ AXAlertFooterComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXAlertFooterComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
2322
+ 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: `
2323
+ <div class="ax-alert-buttons">
2324
+ <ng-content select="ax-alert-button">
2325
+ </ng-content>
2326
+ </div>
2327
+ `, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
2328
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXAlertFooterComponent, decorators: [{
1966
2329
  type: Component,
1967
2330
  args: [{
1968
- selector: 'ax-content',
1969
- template: `
1970
- <ng-content>
1971
- </ng-content>
1972
- `,
1973
- changeDetection: ChangeDetectionStrategy.OnPush,
1974
- encapsulation: ViewEncapsulation.None,
2331
+ selector: 'ax-alert-footer',
2332
+ template: `
2333
+ <div class="ax-alert-buttons">
2334
+ <ng-content select="ax-alert-button">
2335
+ </ng-content>
2336
+ </div>
2337
+ `,
2338
+ changeDetection: ChangeDetectionStrategy.OnPush,
2339
+ encapsulation: ViewEncapsulation.None,
2340
+ host: { class: 'ax-alert-footer' }
2341
+ }]
2342
+ }] });
2343
+
2344
+ const COMPONENT$k = [
2345
+ AXAlertComponent,
2346
+ AXAlertContentComponent,
2347
+ AXAlertTitleComponent,
2348
+ AXAlertButtonComponent,
2349
+ AXAlertFooterComponent,
2350
+ AXAlertSuffixComponent
2351
+ ];
2352
+ const MODULES$k = [CommonModule, AXIconModule];
2353
+ class AXAlertModule {
2354
+ }
2355
+ AXAlertModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXAlertModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
2356
+ AXAlertModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXAlertModule, declarations: [AXAlertComponent,
2357
+ AXAlertContentComponent,
2358
+ AXAlertTitleComponent,
2359
+ AXAlertButtonComponent,
2360
+ AXAlertFooterComponent,
2361
+ AXAlertSuffixComponent], imports: [CommonModule, AXIconModule], exports: [AXAlertComponent,
2362
+ AXAlertContentComponent,
2363
+ AXAlertTitleComponent,
2364
+ AXAlertButtonComponent,
2365
+ AXAlertFooterComponent,
2366
+ AXAlertSuffixComponent] });
2367
+ AXAlertModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXAlertModule, providers: [], imports: [[...MODULES$k]] });
2368
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXAlertModule, decorators: [{
2369
+ type: NgModule,
2370
+ args: [{
2371
+ declarations: [...COMPONENT$k],
2372
+ imports: [...MODULES$k],
2373
+ exports: [...COMPONENT$k],
2374
+ providers: [],
1975
2375
  }]
1976
- }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; } });
2376
+ }] });
1977
2377
 
1978
- class AXDecoratorAddOnComponent extends AXBaseComponentMixin {
1979
- constructor(_elementRef, _cdr) {
1980
- super(_elementRef, _cdr);
1981
- }
2378
+ class AXAvatarGroup {
2379
+ constructor() { }
2380
+ ngOnInit() { }
1982
2381
  }
1983
- 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 });
1984
- AXDecoratorAddOnComponent.ɵcmp = 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 });
1985
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXDecoratorAddOnComponent, decorators: [{
2382
+ AXAvatarGroup.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXAvatarGroup, deps: [], target: i0.ɵɵFactoryTarget.Component });
2383
+ 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 });
2384
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXAvatarGroup, decorators: [{
1986
2385
  type: Component,
1987
2386
  args: [{
1988
- selector: 'ax-addon',
1989
- template: `<ng-content></ng-content>`,
1990
- changeDetection: ChangeDetectionStrategy.OnPush,
1991
- encapsulation: ViewEncapsulation.None
2387
+ selector: 'ax-avatar-group',
2388
+ template: `<ng-content select='ax-avatar'></ng-content>`,
2389
+ host: { class: 'ax-avatar-group' }
1992
2390
  }]
1993
- }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; } });
2391
+ }], ctorParameters: function () { return []; } });
1994
2392
 
1995
- class AXDecoratorHeaderComponent extends AXBaseComponentMixin {
2393
+ /**
2394
+ * The Button is a component which detects user interaction and triggers a corresponding event
2395
+ *
2396
+ * @category Components
2397
+ */
2398
+ class AXAvatarComponent extends AXAvatarMixin {
2399
+ /**
2400
+ * @ignore
2401
+ */
1996
2402
  constructor(elementRef, cdr) {
1997
2403
  super(elementRef, cdr);
2404
+ this.type = 'default';
2405
+ }
2406
+ get __hostClass() {
2407
+ return `ax-${this.color}-default`;
1998
2408
  }
1999
2409
  }
2000
- 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 });
2001
- AXDecoratorHeaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: AXDecoratorHeaderComponent, selector: "ax-header", usesInheritance: true, ngImport: i0, template: `
2002
- <ng-content>
2003
- </ng-content>
2004
- `, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
2005
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXDecoratorHeaderComponent, decorators: [{
2410
+ 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 });
2411
+ 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 });
2412
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXAvatarComponent, decorators: [{
2006
2413
  type: Component,
2007
- args: [{
2008
- selector: 'ax-header',
2009
- template: `
2010
- <ng-content>
2011
- </ng-content>
2012
- `,
2013
- changeDetection: ChangeDetectionStrategy.OnPush,
2014
- encapsulation: ViewEncapsulation.None,
2015
- }]
2016
- }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; } });
2414
+ 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>" }]
2415
+ }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { text: [{
2416
+ type: Input
2417
+ }], icon: [{
2418
+ type: Input
2419
+ }], src: [{
2420
+ type: Input
2421
+ }], class: [{
2422
+ type: Input
2423
+ }], type: [{
2424
+ type: Input
2425
+ }], __hostClass: [{
2426
+ type: HostBinding,
2427
+ args: ['class']
2428
+ }] } });
2017
2429
 
2018
- class AXDecoratorPrefixComponent extends AXBaseComponentMixin {
2019
- constructor(elementRef, cdr) {
2020
- super(elementRef, cdr);
2021
- }
2430
+ const COMPONENT$j = [AXAvatarComponent, AXAvatarGroup];
2431
+ const MODULES$j = [CommonModule];
2432
+ class AXAvatarModule {
2022
2433
  }
2023
- 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 });
2024
- AXDecoratorPrefixComponentcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: AXDecoratorPrefixComponent, selector: "ax-prefix", usesInheritance: true, ngImport: i0, template: `
2025
- <ng-content select="ax-button,ax-loading,ax-icon,ax-content,ax-badge,ax-addon">
2026
- </ng-content>
2027
- `, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
2028
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXDecoratorPrefixComponent, decorators: [{
2029
- type: Component,
2434
+ AXAvatarModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXAvatarModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
2435
+ AXAvatarModulemod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXAvatarModule, declarations: [AXAvatarComponent, AXAvatarGroup], imports: [CommonModule], exports: [AXAvatarComponent, AXAvatarGroup] });
2436
+ AXAvatarModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXAvatarModule, providers: [], imports: [[...MODULES$j]] });
2437
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXAvatarModule, decorators: [{
2438
+ type: NgModule,
2030
2439
  args: [{
2031
- selector: 'ax-prefix',
2032
- template: `
2033
- <ng-content select="ax-button,ax-loading,ax-icon,ax-content,ax-badge,ax-addon">
2034
- </ng-content>
2035
- `,
2036
- changeDetection: ChangeDetectionStrategy.OnPush,
2037
- encapsulation: ViewEncapsulation.None
2440
+ declarations: [...COMPONENT$j],
2441
+ imports: [...MODULES$j],
2442
+ exports: [...COMPONENT$j],
2443
+ providers: [],
2038
2444
  }]
2039
- }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; } });
2445
+ }] });
2040
2446
 
2041
- class AXDecoratorSuffixComponent extends AXBaseComponentMixin {
2447
+ const AXBaseBadgeMixin = _ColorLookComponentMixin(AXBaseComponent);
2448
+ class AXBadgeComponent extends AXBaseBadgeMixin {
2042
2449
  constructor(elementRef, cdr) {
2043
2450
  super(elementRef, cdr);
2451
+ this.text = '';
2452
+ //TODO: ax-badge
2453
+ }
2454
+ get __hostClass() {
2455
+ const _class = this.look ? `ax-${this.color}-${this.look}` : `ax-${this.color}-default`;
2456
+ return ['ax-badge', _class, !this.text ? 'ax-badge-icon' : ''].join(' ');
2044
2457
  }
2045
2458
  }
2046
- 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 });
2047
- AXDecoratorSuffixComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: AXDecoratorSuffixComponent, selector: "ax-suffix", usesInheritance: true, ngImport: i0, template: `
2048
- <ng-content select="ax-button,ax-loading,ax-icon,ax-content,ax-badge,ax-addon">
2049
- </ng-content>
2050
- `, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
2051
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXDecoratorSuffixComponent, decorators: [{
2459
+ 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 });
2460
+ 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 });
2461
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXBadgeComponent, decorators: [{
2052
2462
  type: Component,
2053
- args: [{
2054
- selector: 'ax-suffix',
2055
- template: `
2056
- <ng-content select="ax-button,ax-loading,ax-icon,ax-content,ax-badge,ax-addon">
2057
- </ng-content>
2058
- `,
2059
- changeDetection: ChangeDetectionStrategy.OnPush,
2060
- encapsulation: ViewEncapsulation.None
2061
- }]
2062
- }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; } });
2463
+ 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>" }]
2464
+ }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { text: [{
2465
+ type: Input
2466
+ }], __hostClass: [{
2467
+ type: HostBinding,
2468
+ args: ['class']
2469
+ }] } });
2063
2470
 
2064
- const COMPONENT$k = [AXDecoratorPrefixComponent, AXDecoratorSuffixComponent, AXDecoratorContentComponent, AXDecoratorHeaderComponent, AXDecoratorAddOnComponent];
2065
- const MODULES$k = [CommonModule];
2066
- class AXEditorDecoratorModule {
2471
+ const COMPONENT$i = [AXBadgeComponent];
2472
+ const MODULES$i = [CommonModule];
2473
+ class AXBadgeModule {
2067
2474
  }
2068
- AXEditorDecoratorModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXEditorDecoratorModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
2069
- 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] });
2070
- AXEditorDecoratorModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXEditorDecoratorModule, providers: [], imports: [[...MODULES$k]] });
2071
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXEditorDecoratorModule, decorators: [{
2475
+ AXBadgeModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXBadgeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
2476
+ AXBadgeModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXBadgeModule, declarations: [AXBadgeComponent], imports: [CommonModule], exports: [AXBadgeComponent] });
2477
+ AXBadgeModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXBadgeModule, providers: [], imports: [[...MODULES$i]] });
2478
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXBadgeModule, decorators: [{
2072
2479
  type: NgModule,
2073
2480
  args: [{
2074
- declarations: [...COMPONENT$k],
2075
- imports: [...MODULES$k],
2076
- exports: [...COMPONENT$k],
2481
+ declarations: [...COMPONENT$i],
2482
+ imports: [...MODULES$i],
2483
+ exports: [...COMPONENT$i],
2077
2484
  providers: [],
2078
2485
  }]
2079
2486
  }] });
2080
2487
 
2081
- const COMPONENT$j = [
2082
- AXButtonComponent,
2083
- AXButtonItemComponent,
2084
- AXButtonGroupComponent,
2085
- ];
2086
- const MODULES$j = [CommonModule, AXIconModule, AXEditorDecoratorModule];
2087
- class AXButtonModule {
2488
+ class AXBreadCrumbsComponent extends AXBaseComponent {
2489
+ constructor() {
2490
+ super();
2491
+ }
2088
2492
  }
2089
- AXButtonModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXButtonModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
2090
- AXButtonModulemod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXButtonModule, declarations: [AXButtonComponent,
2091
- AXButtonItemComponent,
2092
- AXButtonGroupComponent], imports: [CommonModule, AXIconModule, AXEditorDecoratorModule], exports: [AXButtonComponent,
2093
- AXButtonItemComponent,
2094
- AXButtonGroupComponent] });
2095
- AXButtonModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXButtonModule, providers: [], imports: [[MODULES$j]] });
2096
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXButtonModule, decorators: [{
2493
+ AXBreadCrumbsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXBreadCrumbsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
2494
+ AXBreadCrumbsComponentcmp = 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>" });
2495
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXBreadCrumbsComponent, decorators: [{
2496
+ type: Component,
2497
+ args: [{ selector: 'ax-breadcrumbs', host: { class: 'ax-breadcrumbs' }, template: "<ng-content select=\"ax-breadcrumbs-item\"></ng-content>" }]
2498
+ }], ctorParameters: function () { return []; } });
2499
+
2500
+ class AXBreadCrumbsItemComponent extends AXBaseComponent {
2501
+ constructor() {
2502
+ super();
2503
+ }
2504
+ }
2505
+ AXBreadCrumbsItemComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXBreadCrumbsItemComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
2506
+ AXBreadCrumbsItemComponent.ɵcmp = 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>" });
2507
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXBreadCrumbsItemComponent, decorators: [{
2508
+ type: Component,
2509
+ 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>" }]
2510
+ }], ctorParameters: function () { return []; }, propDecorators: { text: [{
2511
+ type: Input
2512
+ }] } });
2513
+
2514
+ class AXBreadcrumbsModule {
2515
+ }
2516
+ AXBreadcrumbsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXBreadcrumbsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
2517
+ AXBreadcrumbsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXBreadcrumbsModule, declarations: [AXBreadCrumbsComponent, AXBreadCrumbsItemComponent], imports: [CommonModule], exports: [AXBreadCrumbsComponent, AXBreadCrumbsItemComponent] });
2518
+ AXBreadcrumbsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXBreadcrumbsModule, providers: [], imports: [[CommonModule]] });
2519
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXBreadcrumbsModule, decorators: [{
2097
2520
  type: NgModule,
2098
2521
  args: [{
2099
- imports: [MODULES$j],
2100
- exports: [COMPONENT$j],
2101
- declarations: [COMPONENT$j],
2522
+ declarations: [AXBreadCrumbsComponent, AXBreadCrumbsItemComponent],
2523
+ imports: [CommonModule],
2524
+ exports: [AXBreadCrumbsComponent, AXBreadCrumbsItemComponent],
2102
2525
  providers: [],
2103
2526
  }]
2104
2527
  }] });
@@ -2462,19 +2885,19 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
2462
2885
  args: ['class']
2463
2886
  }] } });
2464
2887
 
2465
- const COMPONENT$i = [AXCalendarComponent];
2466
- const MODULES$i = [CommonModule, AXButtonModule, AXIconModule, AXEditorDecoratorModule, AXDateTimeModule];
2888
+ const COMPONENT$h = [AXCalendarComponent];
2889
+ const MODULES$h = [CommonModule, AXButtonModule, AXIconModule, AXEditorDecoratorModule, AXDateTimeModule];
2467
2890
  class AXCalendarModule {
2468
2891
  }
2469
2892
  AXCalendarModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXCalendarModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
2470
2893
  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] });
2471
- AXCalendarModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXCalendarModule, providers: [], imports: [[...MODULES$i]] });
2894
+ AXCalendarModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXCalendarModule, providers: [], imports: [[...MODULES$h]] });
2472
2895
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXCalendarModule, decorators: [{
2473
2896
  type: NgModule,
2474
2897
  args: [{
2475
- declarations: [...COMPONENT$i],
2476
- imports: [...MODULES$i],
2477
- exports: [...COMPONENT$i],
2898
+ declarations: [...COMPONENT$h],
2899
+ imports: [...MODULES$h],
2900
+ exports: [...COMPONENT$h],
2478
2901
  providers: [],
2479
2902
  }]
2480
2903
  }] });
@@ -2936,19 +3359,19 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
2936
3359
  }]
2937
3360
  }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: AXCarouselComponent }]; } });
2938
3361
 
2939
- const COMPONENT$h = [AXCarouselComponent, AXCarouselItemComponent, AXCarouselArrowsComponent, AXCarouselPagerComponent];
2940
- const MODULES$h = [CommonModule];
3362
+ const COMPONENT$g = [AXCarouselComponent, AXCarouselItemComponent, AXCarouselArrowsComponent, AXCarouselPagerComponent];
3363
+ const MODULES$g = [CommonModule];
2941
3364
  class AXCarouselModule {
2942
3365
  }
2943
3366
  AXCarouselModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXCarouselModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
2944
3367
  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] });
2945
- AXCarouselModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXCarouselModule, providers: [], imports: [[...MODULES$h]] });
3368
+ AXCarouselModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXCarouselModule, providers: [], imports: [[...MODULES$g]] });
2946
3369
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXCarouselModule, decorators: [{
2947
3370
  type: NgModule,
2948
3371
  args: [{
2949
- declarations: [...COMPONENT$h],
2950
- imports: [...MODULES$h],
2951
- exports: [...COMPONENT$h],
3372
+ declarations: [...COMPONENT$g],
3373
+ imports: [...MODULES$g],
3374
+ exports: [...COMPONENT$g],
2952
3375
  providers: [],
2953
3376
  }]
2954
3377
  }] });
@@ -3325,8 +3748,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
3325
3748
  args: ['axIsLoading']
3326
3749
  }] } });
3327
3750
 
3328
- const COMPONENT$g = [AXLoadingComponent, AXLoadingDirective, AXLoadingSpinnerComponent];
3329
- const MODULES$g = [CommonModule, OverlayModule, PortalModule];
3751
+ const COMPONENT$f = [AXLoadingComponent, AXLoadingDirective, AXLoadingSpinnerComponent];
3752
+ const MODULES$f = [CommonModule, OverlayModule, PortalModule];
3330
3753
  class AXLoadingModule {
3331
3754
  constructor() {
3332
3755
  AXConfig.set({
@@ -3340,13 +3763,13 @@ class AXLoadingModule {
3340
3763
  }
3341
3764
  AXLoadingModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXLoadingModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
3342
3765
  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] });
3343
- AXLoadingModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXLoadingModule, providers: [], imports: [[...MODULES$g]] });
3766
+ AXLoadingModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXLoadingModule, providers: [], imports: [[...MODULES$f]] });
3344
3767
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXLoadingModule, decorators: [{
3345
3768
  type: NgModule,
3346
3769
  args: [{
3347
- declarations: [...COMPONENT$g],
3348
- imports: [...MODULES$g],
3349
- exports: [...COMPONENT$g],
3770
+ declarations: [...COMPONENT$f],
3771
+ imports: [...MODULES$f],
3772
+ exports: [...COMPONENT$f],
3350
3773
  providers: [],
3351
3774
  }]
3352
3775
  }], ctorParameters: function () { return []; } });
@@ -3624,19 +4047,19 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
3624
4047
  }]
3625
4048
  }], ctorParameters: function () { return [{ type: i0.NgZone }, { type: AXOverlayService }]; } });
3626
4049
 
3627
- const COMPONENT$f = [AXDataListComponent];
3628
- const MODULES$f = [CommonModule, AXButtonModule, AXLoadingModule, AXTranslationModule];
4050
+ const COMPONENT$e = [AXDataListComponent];
4051
+ const MODULES$e = [CommonModule, AXButtonModule, AXLoadingModule, AXTranslationModule];
3629
4052
  class AXDataListModule {
3630
4053
  }
3631
4054
  AXDataListModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXDataListModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
3632
4055
  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] });
3633
- AXDataListModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXDataListModule, providers: [], imports: [[...MODULES$f]] });
4056
+ AXDataListModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXDataListModule, providers: [], imports: [[...MODULES$e]] });
3634
4057
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXDataListModule, decorators: [{
3635
4058
  type: NgModule,
3636
4059
  args: [{
3637
- declarations: [...COMPONENT$f],
3638
- imports: [...MODULES$f],
3639
- exports: [...COMPONENT$f],
4060
+ declarations: [...COMPONENT$e],
4061
+ imports: [...MODULES$e],
4062
+ exports: [...COMPONENT$e],
3640
4063
  providers: [],
3641
4064
  }]
3642
4065
  }] });
@@ -4080,8 +4503,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
4080
4503
  }]
4081
4504
  }] });
4082
4505
 
4083
- const COMPONENT$e = [AXDatePickerComponent];
4084
- const MODULES$e = [
4506
+ const COMPONENT$d = [AXDatePickerComponent];
4507
+ const MODULES$d = [
4085
4508
  CommonModule,
4086
4509
  AXCalendarModule,
4087
4510
  AXTextBoxModule,
@@ -4104,13 +4527,13 @@ AXDatepickerModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", vers
4104
4527
  AXIconModule,
4105
4528
  AXDateTimeModule,
4106
4529
  FormsModule], exports: [AXDatePickerComponent] });
4107
- AXDatepickerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXDatepickerModule, providers: [], imports: [[...MODULES$e]] });
4530
+ AXDatepickerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXDatepickerModule, providers: [], imports: [[...MODULES$d]] });
4108
4531
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXDatepickerModule, decorators: [{
4109
4532
  type: NgModule,
4110
4533
  args: [{
4111
- declarations: [...COMPONENT$e],
4112
- imports: [...MODULES$e],
4113
- exports: [...COMPONENT$e],
4534
+ declarations: [...COMPONENT$d],
4535
+ imports: [...MODULES$d],
4536
+ exports: [...COMPONENT$d],
4114
4537
  providers: [],
4115
4538
  }]
4116
4539
  }] });
@@ -4290,20 +4713,41 @@ class AXPageComponent extends AXBaseComponentMixin {
4290
4713
  constructor(elementRef, cdr, _loadingService) {
4291
4714
  super(elementRef, cdr);
4292
4715
  this._loadingService = _loadingService;
4716
+ // private _isLoading: boolean = false;
4717
+ // public get isLoading(): boolean {
4718
+ // return this._isLoading;
4719
+ // }
4720
+ // public set isLoading(v: boolean) {
4721
+ // this._isLoading = v;
4722
+ // if (this._loadingId && !v) {
4723
+ // this._loadingService.hide(this._loadingId);
4724
+ // this._loadingId = null;
4725
+ // }
4726
+ // if (v) {
4727
+ // this._loadingId = this._loadingService.show(this._getHostElement());
4728
+ // }
4729
+ // }
4730
+ this.isLoadingChange = new EventEmitter();
4293
4731
  this._isLoading = false;
4294
4732
  }
4295
4733
  get isLoading() {
4296
4734
  return this._isLoading;
4297
4735
  }
4298
4736
  set isLoading(v) {
4299
- this._isLoading = v;
4300
- if (this._loadingId && !v) {
4301
- this._loadingService.hide(this._loadingId);
4302
- this._loadingId = null;
4303
- }
4304
- if (v) {
4305
- this._loadingId = this._loadingService.show(this._getHostElement());
4306
- }
4737
+ this._setOption({
4738
+ name: 'isLoading',
4739
+ value: v,
4740
+ afterCallback: () => {
4741
+ if (this._loadingId && !v) {
4742
+ this._loadingService.hide(this._loadingId);
4743
+ this._loadingId = null;
4744
+ }
4745
+ if (v) {
4746
+ this._loadingId = this._loadingService.show(this._getHostElement());
4747
+ }
4748
+ this._cdr.markForCheck();
4749
+ }
4750
+ });
4307
4751
  }
4308
4752
  }
4309
4753
  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 });
@@ -4313,7 +4757,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
4313
4757
  }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: undefined, decorators: [{
4314
4758
  type: Inject,
4315
4759
  args: [AXLoadingService]
4316
- }] }]; } });
4760
+ }] }]; }, propDecorators: { isLoadingChange: [{
4761
+ type: Output
4762
+ }], isLoading: [{
4763
+ type: Input
4764
+ }] } });
4317
4765
 
4318
4766
  class AXPageFooterComponent {
4319
4767
  }
@@ -4364,8 +4812,13 @@ class AXPageClosedPromise extends Promise {
4364
4812
  }
4365
4813
  }
4366
4814
  }
4367
- class AXBasePageComponent {
4368
- constructor() {
4815
+ class AXBasePageComponent extends AXBaseComponentMixin {
4816
+ /**
4817
+ * @ignore
4818
+ */
4819
+ constructor(elementRef, cdr) {
4820
+ super(elementRef, cdr);
4821
+ this.isLoadingChange = new EventEmitter();
4369
4822
  this._isLoading = false;
4370
4823
  this._isPopup = false;
4371
4824
  this.onClosed = new EventEmitter();
@@ -4374,11 +4827,16 @@ class AXBasePageComponent {
4374
4827
  return this._isLoading;
4375
4828
  }
4376
4829
  set isLoading(v) {
4377
- ;
4378
- this._isLoading = v;
4379
- if (this.pageContainer) {
4380
- this.pageContainer.isLoading = this.isLoading;
4381
- }
4830
+ this._setOption({
4831
+ name: 'isLoading',
4832
+ value: v,
4833
+ afterCallback: () => {
4834
+ if (this.pageContainer) {
4835
+ this.pageContainer.isLoading = this.isLoading;
4836
+ }
4837
+ this._cdr.markForCheck();
4838
+ }
4839
+ });
4382
4840
  }
4383
4841
  get isPopup() {
4384
4842
  return this._isPopup;
@@ -4395,16 +4853,20 @@ class AXBasePageComponent {
4395
4853
  this.onClosed.unsubscribe();
4396
4854
  }
4397
4855
  }
4398
- AXBasePageComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXBasePageComponent, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
4856
+ 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 });
4399
4857
  AXBasePageComponent.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXBasePageComponent });
4400
4858
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXBasePageComponent, decorators: [{
4401
4859
  type: Injectable
4402
- }], propDecorators: { pageContainer: [{
4860
+ }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { pageContainer: [{
4403
4861
  type: ViewChild,
4404
4862
  args: [AXPageComponent, { static: true }]
4405
4863
  }], footer: [{
4406
4864
  type: ViewChild,
4407
4865
  args: [AXPageFooterComponent, { static: true }]
4866
+ }], isLoadingChange: [{
4867
+ type: Output
4868
+ }], isLoading: [{
4869
+ type: Input
4408
4870
  }] } });
4409
4871
 
4410
4872
  class AXPageHeaderComponent {
@@ -4448,272 +4910,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
4448
4910
  }]
4449
4911
  }] });
4450
4912
 
4451
- const COMPONENT$d = [AXDialogComponent];
4452
- const MODULES$d = [CommonModule, DragDropModule, A11yModule, AXButtonModule, AXPageModule, AXEditorDecoratorModule];
4913
+ const COMPONENT$c = [AXDialogComponent];
4914
+ const MODULES$c = [CommonModule, DragDropModule, A11yModule, AXButtonModule, AXPageModule, AXEditorDecoratorModule];
4453
4915
  class AXDialogModule {
4454
4916
  }
4455
4917
  AXDialogModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXDialogModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
4456
4918
  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] });
4457
- AXDialogModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXDialogModule, providers: [], imports: [[...MODULES$d]] });
4919
+ AXDialogModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXDialogModule, providers: [], imports: [[...MODULES$c]] });
4458
4920
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXDialogModule, decorators: [{
4459
- type: NgModule,
4460
- args: [{
4461
- declarations: [...COMPONENT$d],
4462
- imports: [...MODULES$d],
4463
- exports: [...COMPONENT$d],
4464
- providers: [],
4465
- }]
4466
- }] });
4467
-
4468
- class AXDrawerComponent extends AXBaseComponentMixin {
4469
- constructor(elementRef, cdr, zone) {
4470
- super(elementRef, cdr);
4471
- this.elementRef = elementRef;
4472
- this.zone = zone;
4473
- this.onChanged = new EventEmitter();
4474
- this.mode = 'push';
4475
- this.location = 'start';
4476
- this._collapsed = false;
4477
- }
4478
- get collapsed() {
4479
- return this._collapsed;
4480
- }
4481
- set collapsed(v) {
4482
- if (v != this._collapsed) {
4483
- this._collapsed = v;
4484
- this._updateClass();
4485
- this._emitChange();
4486
- }
4487
- }
4488
- onInit() {
4489
- this._getHostElement().classList.add(this.location == 'start' ? 'ax-drawer-start' : 'ax-drawer-end');
4490
- this._currentMode = this.mode;
4491
- }
4492
- _updateClass() {
4493
- this.zone.runOutsideAngular(() => {
4494
- const elm = this._getHostElement();
4495
- //
4496
- this._currentMode == 'overlay' ? this._setOverlayMode() : this._setPushMode();
4497
- //
4498
- if (this.collapsed) {
4499
- elm.classList.remove('ax-expanded');
4500
- elm.classList.add('ax-collapsed');
4501
- if (this._currentMode == 'overlay') {
4502
- this._removeBackdrop();
4503
- }
4504
- }
4505
- else {
4506
- elm.classList.add('ax-expanded');
4507
- elm.classList.remove('ax-collapsed');
4508
- if (this._currentMode == 'overlay') {
4509
- this._addBackdrop();
4510
- }
4511
- }
4512
- });
4513
- }
4514
- onViewInit() {
4515
- this._detectSize();
4516
- }
4517
- toggle() {
4518
- this.collapsed = !this.collapsed;
4519
- }
4520
- close() {
4521
- this.collapsed = true;
4522
- }
4523
- open() {
4524
- this.collapsed = false;
4525
- }
4526
- _handleWindowsResize(e) {
4527
- this._detectSize();
4528
- }
4529
- _detectSize() {
4530
- //TODO detect break size
4531
- const bound = this._getHostElement().parentElement.getBoundingClientRect();
4532
- if (bound.width == 0) {
4533
- console.log('Drawe invalid size', bound);
4534
- setTimeout(() => {
4535
- this._detectSize();
4536
- }, 1);
4537
- return;
4538
- }
4539
- if (bound.width < 400) {
4540
- this._currentMode = 'overlay';
4541
- this.collapsed = true;
4542
- }
4543
- else {
4544
- this._currentMode = this.mode;
4545
- }
4546
- this._updateClass();
4547
- this._emitChange();
4548
- }
4549
- _emitChange() {
4550
- this.onChanged.emit({
4551
- component: this,
4552
- htmlElement: this.elementRef.nativeElement
4553
- });
4554
- }
4555
- _setOverlayMode() {
4556
- this._currentMode = 'overlay';
4557
- this._getHostElement().classList.remove('ax-drawer-push');
4558
- this._getHostElement().classList.add('ax-drawer-overlay');
4559
- }
4560
- _setPushMode() {
4561
- this._currentMode = 'push';
4562
- this._getHostElement().classList.remove('ax-drawer-overlay');
4563
- this._getHostElement().classList.add('ax-drawer-push');
4564
- this._removeBackdrop();
4565
- }
4566
- _addBackdrop() {
4567
- if (!this._backdrop) {
4568
- this._backdrop = document.createElement('div');
4569
- this._backdrop.classList.add('ax-drawer-backdrop');
4570
- this._getHostElement().parentElement.prepend(this._backdrop);
4571
- this._backdrop.addEventListener('click', this._handleBackfropClick.bind(this));
4572
- }
4573
- }
4574
- _removeBackdrop() {
4575
- if (this._backdrop) {
4576
- this._backdrop.removeEventListener('click', this._handleBackfropClick.bind(this));
4577
- this._getHostElement().parentElement.removeChild(this._backdrop);
4578
- this._backdrop = null;
4579
- }
4580
- }
4581
- _handleBackfropClick(e) {
4582
- this._removeBackdrop();
4583
- this.collapsed = true;
4584
- }
4585
- }
4586
- 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 });
4587
- 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: `
4588
- <ng-content>
4589
- </ng-content>
4590
- `, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
4591
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXDrawerComponent, decorators: [{
4592
- type: Component,
4593
- args: [{
4594
- selector: 'ax-drawer',
4595
- template: `
4596
- <ng-content>
4597
- </ng-content>
4598
- `,
4599
- changeDetection: ChangeDetectionStrategy.OnPush,
4600
- encapsulation: ViewEncapsulation.None,
4601
- host: { class: 'ax-drawer' }
4602
- }]
4603
- }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: i0.NgZone }]; }, propDecorators: { onChanged: [{
4604
- type: Output
4605
- }], mode: [{
4606
- type: Input
4607
- }], location: [{
4608
- type: Input
4609
- }], collapsed: [{
4610
- type: Input
4611
- }], _handleWindowsResize: [{
4612
- type: HostListener,
4613
- args: ['window:resize', ['$event']]
4614
- }] } });
4615
-
4616
- class AXDrawerContainerComponent extends AXBaseComponentMixin {
4617
- constructor(elementRef, cdr, zone) {
4618
- super(elementRef, cdr);
4619
- this.zone = zone;
4620
- }
4621
- onViewInit() {
4622
- this._updateWidth();
4623
- // add animation
4624
- setTimeout(() => {
4625
- this._getHostElement().querySelectorAll('ax-drawer').forEach(c => {
4626
- c.classList.add('ax-animated');
4627
- });
4628
- }, 100);
4629
- this.drawers.forEach(c => {
4630
- c.onChanged.subscribe(c => {
4631
- this._updateWidth();
4632
- });
4633
- });
4634
- }
4635
- _updateWidth() {
4636
- this.zone.runOutsideAngular(() => {
4637
- const container = this._getHostElement().closest('ax-drawer-container');
4638
- const parentWidth = this._getHostElement().getBoundingClientRect().width;
4639
- let w = 0;
4640
- this._getHostElement().querySelectorAll('ax-drawer').forEach(c => {
4641
- const elm = c;
4642
- const width = elm.getBoundingClientRect().width;
4643
- const overflow = parentWidth < width;
4644
- const diff = width - parentWidth;
4645
- w += ['ax-expanded', 'ax-drawer-push'].every(c => elm.classList.contains(c)) ? width : 0;
4646
- elm.style.setProperty('--attr-width', `${width}px`);
4647
- //TODO check overflow
4648
- elm.style.setProperty('--attr-diff', `${overflow ? diff : 0}px`);
4649
- });
4650
- container.style.setProperty('--attr-content-width', `${parentWidth - w}px`);
4651
- });
4652
- }
4653
- }
4654
- 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 });
4655
- 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: `
4656
- <ng-content select="ax-drawer[location='start']">
4657
- </ng-content>
4658
- <ng-content select="ax-drawer-content">
4659
- </ng-content>
4660
- <ng-content select="ax-drawer[location='end']">
4661
- </ng-content>
4662
- `, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
4663
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXDrawerContainerComponent, decorators: [{
4664
- type: Component,
4665
- args: [{
4666
- selector: 'ax-drawer-container',
4667
- template: `
4668
- <ng-content select="ax-drawer[location='start']">
4669
- </ng-content>
4670
- <ng-content select="ax-drawer-content">
4671
- </ng-content>
4672
- <ng-content select="ax-drawer[location='end']">
4673
- </ng-content>
4674
- `,
4675
- inputs: ['rtl'],
4676
- changeDetection: ChangeDetectionStrategy.OnPush,
4677
- encapsulation: ViewEncapsulation.None,
4678
- host: { class: 'ax-drawer-container' }
4679
- }]
4680
- }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: i0.NgZone }]; }, propDecorators: { drawers: [{
4681
- type: ContentChildren,
4682
- args: [AXDrawerComponent]
4683
- }] } });
4684
-
4685
- class AXDrawerContentComponent extends AXBaseComponentMixin {
4686
- constructor(elementRef, cdr) {
4687
- super(elementRef, cdr);
4688
- }
4689
- }
4690
- 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 });
4691
- 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: `
4692
- <ng-content>
4693
- </ng-content>
4694
- `, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
4695
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXDrawerContentComponent, decorators: [{
4696
- type: Component,
4697
- args: [{
4698
- selector: 'ax-drawer-content',
4699
- template: `
4700
- <ng-content>
4701
- </ng-content>
4702
- `,
4703
- changeDetection: ChangeDetectionStrategy.OnPush,
4704
- encapsulation: ViewEncapsulation.None,
4705
- host: { class: 'ax-drawer-content' }
4706
- }]
4707
- }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; } });
4708
-
4709
- const COMPONENT$c = [AXDrawerComponent, AXDrawerContainerComponent, AXDrawerContentComponent];
4710
- const MODULES$c = [CommonModule];
4711
- class AXDrawerModule {
4712
- }
4713
- AXDrawerModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXDrawerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
4714
- 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] });
4715
- AXDrawerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXDrawerModule, providers: [], imports: [[...MODULES$c]] });
4716
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXDrawerModule, decorators: [{
4717
4921
  type: NgModule,
4718
4922
  args: [{
4719
4923
  declarations: [...COMPONENT$c],
@@ -6212,7 +6416,7 @@ class AXSelectionListComponent extends AXBaseSelectionValueMixin {
6212
6416
  }
6213
6417
  }
6214
6418
  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 });
6215
- 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 });
6419
+ 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 });
6216
6420
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXSelectionListComponent, decorators: [{
6217
6421
  type: Component,
6218
6422
  args: [{ selector: 'ax-selection-list', inputs: [
@@ -6226,7 +6430,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
6226
6430
  'multiple',
6227
6431
  'items',
6228
6432
  'selectionMode',
6229
- ], 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> -->" }]
6433
+ ], 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> -->" }]
6230
6434
  }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { direction: [{
6231
6435
  type: Input
6232
6436
  }] } });
@@ -7425,5 +7629,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
7425
7629
  * Generated bundle index. Do not edit.
7426
7630
  */
7427
7631
 
7428
- 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 };
7632
+ 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 };
7429
7633
  //# sourceMappingURL=acorex-components.mjs.map