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