@acorex/components 5.0.55 → 5.0.58
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 +87 -0
- package/esm2020/lib/action-sheet/action-sheet.module.mjs +22 -0
- package/esm2020/lib/action-sheet/index.mjs +4 -0
- package/esm2020/lib/calendar/calendar.class.mjs +2 -2
- package/esm2020/lib/calendar/calendar.component.mjs +4 -5
- package/esm2020/lib/calendar/calendar.module.mjs +1 -1
- package/esm2020/lib/datepicker/datepicker.component.mjs +3 -3
- package/esm2020/public-api.mjs +2 -1
- package/fesm2015/acorex-components.mjs +1215 -1086
- package/fesm2015/acorex-components.mjs.map +1 -1
- package/fesm2020/acorex-components.mjs +1214 -1085
- 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 +19 -0
- package/lib/action-sheet/action-sheet.module.d.ts +11 -0
- package/lib/action-sheet/index.d.ts +3 -0
- package/lib/calendar/calendar.component.d.ts +1 -1
- package/lib/datepicker/datepicker.component.d.ts +1 -1
- 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';
|
|
@@ -25,7 +26,6 @@ import { DragDropModule } from '@angular/cdk/drag-drop';
|
|
|
25
26
|
import IMask from 'imask';
|
|
26
27
|
import * as i5 from 'angular-imask';
|
|
27
28
|
import { IMaskModule, IMaskDirective } from 'angular-imask';
|
|
28
|
-
import { trigger, transition, style, animate } from '@angular/animations';
|
|
29
29
|
|
|
30
30
|
var _AXBaseComponent_elementRef;
|
|
31
31
|
class AXBaseComponent {
|
|
@@ -1223,544 +1223,467 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
|
|
|
1223
1223
|
}]
|
|
1224
1224
|
}] });
|
|
1225
1225
|
|
|
1226
|
-
|
|
1227
|
-
|
|
1226
|
+
class AXActionSheetComponent extends AXBaseComponent {
|
|
1227
|
+
/**
|
|
1228
|
+
* @ignore
|
|
1229
|
+
*/
|
|
1230
|
+
constructor(_elementRef, _cdr) {
|
|
1231
|
+
super(_elementRef, _cdr);
|
|
1232
|
+
this.caption = '';
|
|
1233
|
+
this.closeOnBackdrop = true;
|
|
1234
|
+
this.isOpen = false;
|
|
1235
|
+
}
|
|
1236
|
+
_handleBackdropClick() {
|
|
1237
|
+
if (!this.closeOnBackdrop)
|
|
1238
|
+
return;
|
|
1239
|
+
this.close();
|
|
1240
|
+
}
|
|
1241
|
+
open() {
|
|
1242
|
+
this.isOpen = true;
|
|
1243
|
+
}
|
|
1244
|
+
close() {
|
|
1245
|
+
this.isOpen = false;
|
|
1246
|
+
}
|
|
1247
|
+
toggle() {
|
|
1248
|
+
this.isOpen = !this.isOpen;
|
|
1249
|
+
}
|
|
1250
|
+
}
|
|
1251
|
+
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 });
|
|
1252
|
+
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: [
|
|
1253
|
+
trigger('backdrop', [
|
|
1254
|
+
state('show', style({
|
|
1255
|
+
opacity: 1,
|
|
1256
|
+
visibility: 'visible'
|
|
1257
|
+
})),
|
|
1258
|
+
state('hide', style({
|
|
1259
|
+
visibility: 'hidden',
|
|
1260
|
+
opacity: 0
|
|
1261
|
+
})),
|
|
1262
|
+
transition('show <=> hide', [animate('0.2s')]),
|
|
1263
|
+
]),
|
|
1264
|
+
trigger('openClose', [
|
|
1265
|
+
state('open', style({
|
|
1266
|
+
bottom: '0',
|
|
1267
|
+
opacity: 1
|
|
1268
|
+
})),
|
|
1269
|
+
state('closed', style({
|
|
1270
|
+
bottom: '-100%',
|
|
1271
|
+
opacity: 0.5
|
|
1272
|
+
})),
|
|
1273
|
+
transition('open <=> closed', [animate('0.2s')])
|
|
1274
|
+
]),
|
|
1275
|
+
] });
|
|
1276
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXActionSheetComponent, decorators: [{
|
|
1277
|
+
type: Component,
|
|
1278
|
+
args: [{ selector: 'ax-action-sheet', animations: [
|
|
1279
|
+
trigger('backdrop', [
|
|
1280
|
+
state('show', style({
|
|
1281
|
+
opacity: 1,
|
|
1282
|
+
visibility: 'visible'
|
|
1283
|
+
})),
|
|
1284
|
+
state('hide', style({
|
|
1285
|
+
visibility: 'hidden',
|
|
1286
|
+
opacity: 0
|
|
1287
|
+
})),
|
|
1288
|
+
transition('show <=> hide', [animate('0.2s')]),
|
|
1289
|
+
]),
|
|
1290
|
+
trigger('openClose', [
|
|
1291
|
+
state('open', style({
|
|
1292
|
+
bottom: '0',
|
|
1293
|
+
opacity: 1
|
|
1294
|
+
})),
|
|
1295
|
+
state('closed', style({
|
|
1296
|
+
bottom: '-100%',
|
|
1297
|
+
opacity: 0.5
|
|
1298
|
+
})),
|
|
1299
|
+
transition('open <=> closed', [animate('0.2s')])
|
|
1300
|
+
]),
|
|
1301
|
+
], 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>" }]
|
|
1302
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { caption: [{
|
|
1303
|
+
type: Input
|
|
1304
|
+
}], closeOnBackdrop: [{
|
|
1305
|
+
type: Input
|
|
1306
|
+
}] } });
|
|
1307
|
+
|
|
1228
1308
|
/**
|
|
1229
|
-
*
|
|
1309
|
+
* The Button is a component which detects user interaction and triggers a corresponding event
|
|
1230
1310
|
*
|
|
1231
1311
|
* @category Components
|
|
1232
1312
|
*/
|
|
1233
|
-
class
|
|
1313
|
+
class AXButtonComponent extends AXBaseButtonMixin {
|
|
1234
1314
|
/**
|
|
1235
1315
|
* @ignore
|
|
1236
1316
|
*/
|
|
1237
1317
|
constructor(elementRef, cdr) {
|
|
1238
1318
|
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
1319
|
}
|
|
1274
|
-
|
|
1275
|
-
if (
|
|
1276
|
-
|
|
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
|
-
}
|
|
1288
|
-
onInit() {
|
|
1289
|
-
if (this.timeOut) {
|
|
1290
|
-
setTimeout(() => {
|
|
1291
|
-
this.dismiss();
|
|
1292
|
-
}, this.timeOut);
|
|
1320
|
+
onKeydownHandler(e) {
|
|
1321
|
+
if (e.code === 'Enter') {
|
|
1322
|
+
this._getHostElement().click();
|
|
1293
1323
|
}
|
|
1294
1324
|
}
|
|
1295
|
-
|
|
1296
|
-
if (this.
|
|
1297
|
-
|
|
1325
|
+
_emitOnClickEvent(e) {
|
|
1326
|
+
if (this.disabled)
|
|
1327
|
+
return;
|
|
1328
|
+
if (this.toggleable) {
|
|
1329
|
+
this.selected = !this.selected;
|
|
1298
1330
|
}
|
|
1331
|
+
super._emitOnClickEvent(e);
|
|
1299
1332
|
}
|
|
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);
|
|
1333
|
+
_emitOnFocusEvent(e) {
|
|
1334
|
+
super._emitOnFocusEvent(e);
|
|
1310
1335
|
}
|
|
1311
|
-
|
|
1312
|
-
|
|
1313
|
-
*/
|
|
1314
|
-
hide() {
|
|
1315
|
-
this.visible = false;
|
|
1336
|
+
_emitOnBlurEvent(e) {
|
|
1337
|
+
super._emitOnBlurEvent(e);
|
|
1316
1338
|
}
|
|
1317
|
-
|
|
1318
|
-
|
|
1319
|
-
*/
|
|
1320
|
-
show() {
|
|
1321
|
-
this.visible = true;
|
|
1339
|
+
get __hostClass() {
|
|
1340
|
+
return Object.entries(this._classes).filter(c => c[1]).map(c => c[0]).join(' ');
|
|
1322
1341
|
}
|
|
1323
1342
|
}
|
|
1324
|
-
|
|
1325
|
-
|
|
1326
|
-
|
|
1327
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXAlertComponent, decorators: [{
|
|
1343
|
+
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 });
|
|
1344
|
+
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 });
|
|
1345
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXButtonComponent, decorators: [{
|
|
1328
1346
|
type: Component,
|
|
1329
|
-
args: [{ selector: 'ax-
|
|
1330
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: {
|
|
1331
|
-
type:
|
|
1332
|
-
|
|
1333
|
-
|
|
1347
|
+
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> -->" }]
|
|
1348
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { onKeydownHandler: [{
|
|
1349
|
+
type: HostListener,
|
|
1350
|
+
args: ['keyup', ['$event']]
|
|
1351
|
+
}], _emitOnClickEvent: [{
|
|
1352
|
+
type: HostListener,
|
|
1353
|
+
args: ['click', ['$event']]
|
|
1354
|
+
}], _emitOnFocusEvent: [{
|
|
1355
|
+
type: HostListener,
|
|
1356
|
+
args: ['focus', ['$event']]
|
|
1357
|
+
}], _emitOnBlurEvent: [{
|
|
1358
|
+
type: HostListener,
|
|
1359
|
+
args: ['blur', ['$event']]
|
|
1334
1360
|
}], __hostClass: [{
|
|
1335
1361
|
type: HostBinding,
|
|
1336
1362
|
args: ['class']
|
|
1337
|
-
}], timeOut: [{
|
|
1338
|
-
type: Input
|
|
1339
|
-
}], visible: [{
|
|
1340
|
-
type: Input
|
|
1341
1363
|
}] } });
|
|
1342
1364
|
|
|
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);
|
|
1365
|
+
class AXActionSheetItemComponent extends AXBaseComponent {
|
|
1366
|
+
/**
|
|
1367
|
+
* @ignore
|
|
1368
|
+
*/
|
|
1369
|
+
constructor(_elementRef, _cdr) {
|
|
1370
|
+
super(_elementRef, _cdr);
|
|
1371
|
+
this.color = 'light';
|
|
1372
|
+
this.onClick = new EventEmitter();
|
|
1367
1373
|
}
|
|
1368
1374
|
_handleOnClick(e) {
|
|
1369
|
-
this.
|
|
1370
|
-
}
|
|
1371
|
-
_handleOnFocus(e) {
|
|
1372
|
-
this._emitOnFocusEvent(e);
|
|
1373
|
-
}
|
|
1374
|
-
_handleOnBlur(e) {
|
|
1375
|
-
this._emitOnBlurEvent(e);
|
|
1375
|
+
this.onClick.emit(e);
|
|
1376
1376
|
}
|
|
1377
1377
|
}
|
|
1378
|
-
|
|
1379
|
-
|
|
1380
|
-
|
|
1381
|
-
|
|
1382
|
-
|
|
1383
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXAlertButtonComponent, decorators: [{
|
|
1378
|
+
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 });
|
|
1379
|
+
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: `
|
|
1380
|
+
<ax-button [color]="color" look="blank" [text]="text" (onClick)="_handleOnClick($event)"></ax-button>
|
|
1381
|
+
`, 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"] }] });
|
|
1382
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXActionSheetItemComponent, decorators: [{
|
|
1384
1383
|
type: Component,
|
|
1385
1384
|
args: [{
|
|
1386
|
-
selector: 'ax-
|
|
1385
|
+
selector: 'ax-action-sheet-item',
|
|
1387
1386
|
template: `
|
|
1388
|
-
|
|
1389
|
-
|
|
1390
|
-
`,
|
|
1391
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1392
|
-
encapsulation: ViewEncapsulation.None,
|
|
1393
|
-
outputs: [...BUTTON_OUTPUT],
|
|
1394
|
-
host: { class: 'ax-alert-button' }
|
|
1387
|
+
<ax-button [color]="color" look="blank" [text]="text" (onClick)="_handleOnClick($event)"></ax-button>
|
|
1388
|
+
`
|
|
1395
1389
|
}]
|
|
1396
1390
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { text: [{
|
|
1397
1391
|
type: Input
|
|
1398
|
-
}],
|
|
1392
|
+
}], color: [{
|
|
1399
1393
|
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']]
|
|
1394
|
+
}], onClick: [{
|
|
1395
|
+
type: Output
|
|
1409
1396
|
}] } });
|
|
1410
1397
|
|
|
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
|
-
|
|
1398
|
+
class AXDrawerComponent extends AXBaseComponentMixin {
|
|
1399
|
+
constructor(elementRef, cdr, zone) {
|
|
1400
|
+
super(elementRef, cdr);
|
|
1401
|
+
this.elementRef = elementRef;
|
|
1402
|
+
this.zone = zone;
|
|
1403
|
+
this.onChanged = new EventEmitter();
|
|
1404
|
+
this.mode = 'push';
|
|
1405
|
+
this.location = 'start';
|
|
1406
|
+
this._collapsed = false;
|
|
1407
|
+
}
|
|
1408
|
+
get collapsed() {
|
|
1409
|
+
return this._collapsed;
|
|
1410
|
+
}
|
|
1411
|
+
set collapsed(v) {
|
|
1412
|
+
if (v != this._collapsed) {
|
|
1413
|
+
this._collapsed = v;
|
|
1414
|
+
this._updateClass();
|
|
1415
|
+
this._emitChange();
|
|
1416
|
+
}
|
|
1417
|
+
}
|
|
1418
|
+
onInit() {
|
|
1419
|
+
// this._getHostElement().classList.add(this.location == 'start' ? 'ax-drawer-start' : 'ax-drawer-end');
|
|
1420
|
+
this._setLocation();
|
|
1421
|
+
this._currentMode = this.mode;
|
|
1422
|
+
}
|
|
1423
|
+
_setLocation() {
|
|
1424
|
+
const hostElementClassList = this._getHostElement().classList;
|
|
1425
|
+
switch (this.location) {
|
|
1426
|
+
case 'start':
|
|
1427
|
+
hostElementClassList.add('ax-drawer-start');
|
|
1428
|
+
break;
|
|
1429
|
+
case 'end':
|
|
1430
|
+
hostElementClassList.add('ax-drawer-end');
|
|
1431
|
+
break;
|
|
1432
|
+
case 'top':
|
|
1433
|
+
hostElementClassList.add('ax-drawer-top');
|
|
1434
|
+
break;
|
|
1435
|
+
case 'bottom':
|
|
1436
|
+
hostElementClassList.add('ax-drawer-bottom');
|
|
1437
|
+
break;
|
|
1438
|
+
default:
|
|
1439
|
+
hostElementClassList.add('ax-drawer-start');
|
|
1440
|
+
break;
|
|
1441
|
+
}
|
|
1442
|
+
}
|
|
1443
|
+
_updateClass() {
|
|
1444
|
+
this.zone.runOutsideAngular(() => {
|
|
1445
|
+
const elm = this._getHostElement();
|
|
1446
|
+
//
|
|
1447
|
+
this._currentMode == 'overlay' ? this._setOverlayMode() : this._setPushMode();
|
|
1448
|
+
//
|
|
1449
|
+
if (this.collapsed) {
|
|
1450
|
+
elm.classList.remove('ax-expanded');
|
|
1451
|
+
elm.classList.add('ax-collapsed');
|
|
1452
|
+
if (this._currentMode == 'overlay') {
|
|
1453
|
+
this._removeBackdrop();
|
|
1454
|
+
}
|
|
1455
|
+
}
|
|
1456
|
+
else {
|
|
1457
|
+
elm.classList.add('ax-expanded');
|
|
1458
|
+
elm.classList.remove('ax-collapsed');
|
|
1459
|
+
if (this._currentMode == 'overlay') {
|
|
1460
|
+
this._addBackdrop();
|
|
1461
|
+
}
|
|
1462
|
+
}
|
|
1463
|
+
});
|
|
1464
|
+
}
|
|
1465
|
+
onViewInit() {
|
|
1466
|
+
this._detectSize();
|
|
1467
|
+
}
|
|
1468
|
+
toggle() {
|
|
1469
|
+
this.collapsed = !this.collapsed;
|
|
1470
|
+
}
|
|
1471
|
+
close() {
|
|
1472
|
+
this.collapsed = true;
|
|
1473
|
+
}
|
|
1474
|
+
open() {
|
|
1475
|
+
this.collapsed = false;
|
|
1476
|
+
}
|
|
1477
|
+
_handleWindowsResize(e) {
|
|
1478
|
+
this._detectSize();
|
|
1479
|
+
}
|
|
1480
|
+
_detectSize() {
|
|
1481
|
+
//TODO detect break size
|
|
1482
|
+
const bound = this._getHostElement().parentElement.getBoundingClientRect();
|
|
1483
|
+
if (bound.width == 0) {
|
|
1484
|
+
console.log('Drawer invalid size', bound);
|
|
1485
|
+
setTimeout(() => {
|
|
1486
|
+
this._detectSize();
|
|
1487
|
+
}, 1);
|
|
1488
|
+
return;
|
|
1489
|
+
}
|
|
1490
|
+
if (bound.width < 400) {
|
|
1491
|
+
this._currentMode = 'overlay';
|
|
1492
|
+
this.collapsed = true;
|
|
1493
|
+
}
|
|
1494
|
+
else {
|
|
1495
|
+
this._currentMode = this.mode;
|
|
1496
|
+
}
|
|
1497
|
+
this._updateClass();
|
|
1498
|
+
this._emitChange();
|
|
1499
|
+
}
|
|
1500
|
+
_emitChange() {
|
|
1501
|
+
this.onChanged.emit({
|
|
1502
|
+
component: this,
|
|
1503
|
+
htmlElement: this.elementRef.nativeElement
|
|
1504
|
+
});
|
|
1505
|
+
}
|
|
1506
|
+
_setOverlayMode() {
|
|
1507
|
+
this._currentMode = 'overlay';
|
|
1508
|
+
this._getHostElement().classList.remove('ax-drawer-push');
|
|
1509
|
+
this._getHostElement().classList.add('ax-drawer-overlay');
|
|
1510
|
+
}
|
|
1511
|
+
_setPushMode() {
|
|
1512
|
+
this._currentMode = 'push';
|
|
1513
|
+
this._getHostElement().classList.remove('ax-drawer-overlay');
|
|
1514
|
+
this._getHostElement().classList.add('ax-drawer-push');
|
|
1515
|
+
this._removeBackdrop();
|
|
1516
|
+
}
|
|
1517
|
+
_addBackdrop() {
|
|
1518
|
+
if (!this._backdrop) {
|
|
1519
|
+
this._backdrop = document.createElement('div');
|
|
1520
|
+
this._backdrop.classList.add('ax-drawer-backdrop');
|
|
1521
|
+
this._getHostElement().parentElement.prepend(this._backdrop);
|
|
1522
|
+
this._backdrop.addEventListener('click', this._handleBackfropClick.bind(this));
|
|
1523
|
+
}
|
|
1524
|
+
}
|
|
1525
|
+
_removeBackdrop() {
|
|
1526
|
+
if (this._backdrop) {
|
|
1527
|
+
this._backdrop.removeEventListener('click', this._handleBackfropClick.bind(this));
|
|
1528
|
+
this._getHostElement().parentElement.removeChild(this._backdrop);
|
|
1529
|
+
this._backdrop = null;
|
|
1530
|
+
}
|
|
1531
|
+
}
|
|
1532
|
+
_handleBackfropClick(e) {
|
|
1533
|
+
this._removeBackdrop();
|
|
1534
|
+
this.collapsed = true;
|
|
1535
|
+
}
|
|
1456
1536
|
}
|
|
1457
|
-
|
|
1458
|
-
|
|
1459
|
-
<
|
|
1460
|
-
|
|
1461
|
-
</ng-content>
|
|
1462
|
-
</div>
|
|
1537
|
+
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 });
|
|
1538
|
+
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: `
|
|
1539
|
+
<ng-content>
|
|
1540
|
+
</ng-content>
|
|
1463
1541
|
`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
1464
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type:
|
|
1542
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXDrawerComponent, decorators: [{
|
|
1465
1543
|
type: Component,
|
|
1466
1544
|
args: [{
|
|
1467
|
-
selector: 'ax-
|
|
1545
|
+
selector: 'ax-drawer',
|
|
1468
1546
|
template: `
|
|
1469
|
-
<
|
|
1470
|
-
|
|
1471
|
-
</ng-content>
|
|
1472
|
-
</div>
|
|
1547
|
+
<ng-content>
|
|
1548
|
+
</ng-content>
|
|
1473
1549
|
`,
|
|
1474
1550
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1475
1551
|
encapsulation: ViewEncapsulation.None,
|
|
1476
|
-
host: { class: 'ax-
|
|
1552
|
+
host: { class: 'ax-drawer ax-transition-all' }
|
|
1477
1553
|
}]
|
|
1478
|
-
}] }
|
|
1554
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: i0.NgZone }]; }, propDecorators: { onChanged: [{
|
|
1555
|
+
type: Output
|
|
1556
|
+
}], mode: [{
|
|
1557
|
+
type: Input
|
|
1558
|
+
}], location: [{
|
|
1559
|
+
type: Input
|
|
1560
|
+
}], collapsed: [{
|
|
1561
|
+
type: Input
|
|
1562
|
+
}], _handleWindowsResize: [{
|
|
1563
|
+
type: HostListener,
|
|
1564
|
+
args: ['window:resize', ['$event']]
|
|
1565
|
+
}] } });
|
|
1479
1566
|
|
|
1480
|
-
class
|
|
1481
|
-
constructor(elementRef, cdr) {
|
|
1567
|
+
class AXDrawerContainerComponent extends AXBaseComponentMixin {
|
|
1568
|
+
constructor(elementRef, cdr, zone) {
|
|
1482
1569
|
super(elementRef, cdr);
|
|
1570
|
+
this.zone = zone;
|
|
1483
1571
|
}
|
|
1484
|
-
|
|
1485
|
-
|
|
1572
|
+
onViewInit() {
|
|
1573
|
+
this._updateWidth();
|
|
1574
|
+
// add animation
|
|
1575
|
+
// setTimeout(() => {
|
|
1576
|
+
// this._getHostElement().querySelectorAll('ax-drawer').forEach(c => {
|
|
1577
|
+
// c.classList.add('ax-animated');
|
|
1578
|
+
// });
|
|
1579
|
+
// }, 100);
|
|
1580
|
+
this.drawers.forEach(c => {
|
|
1581
|
+
c.onChanged.subscribe(c => {
|
|
1582
|
+
this._updateWidth();
|
|
1583
|
+
});
|
|
1584
|
+
});
|
|
1585
|
+
}
|
|
1586
|
+
_updateWidth() {
|
|
1587
|
+
this.zone.runOutsideAngular(() => {
|
|
1588
|
+
const container = this._getHostElement().closest('ax-drawer-container');
|
|
1589
|
+
const parentWidth = this._getHostElement().getBoundingClientRect().width;
|
|
1590
|
+
let w = 0;
|
|
1591
|
+
this._getHostElement().querySelectorAll('ax-drawer').forEach(c => {
|
|
1592
|
+
const elm = c;
|
|
1593
|
+
const width = elm.getBoundingClientRect().width;
|
|
1594
|
+
const height = elm.getBoundingClientRect().height;
|
|
1595
|
+
const overflow = parentWidth < width;
|
|
1596
|
+
const diff = width - parentWidth;
|
|
1597
|
+
w += ['ax-expanded', 'ax-drawer-push'].every(c => elm.classList.contains(c)) ? width : 0;
|
|
1598
|
+
elm.style.setProperty('--attr-width', `${width}px`);
|
|
1599
|
+
elm.style.setProperty('--attr-height', `${height}px`);
|
|
1600
|
+
//TODO check overflow
|
|
1601
|
+
elm.style.setProperty('--attr-diff', `${overflow ? diff : 0}px`);
|
|
1602
|
+
});
|
|
1603
|
+
container.style.setProperty('--attr-content-width', `${parentWidth - w}px`);
|
|
1604
|
+
});
|
|
1486
1605
|
}
|
|
1487
1606
|
}
|
|
1488
|
-
|
|
1489
|
-
|
|
1490
|
-
|
|
1607
|
+
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 });
|
|
1608
|
+
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: `
|
|
1609
|
+
<ng-content select="ax-drawer[location='top']">
|
|
1610
|
+
</ng-content>
|
|
1611
|
+
<ng-content select="ax-drawer[location='start']">
|
|
1612
|
+
</ng-content>
|
|
1613
|
+
<ng-content select="ax-drawer-content">
|
|
1614
|
+
</ng-content>
|
|
1615
|
+
<ng-content select="ax-drawer[location='end']">
|
|
1616
|
+
</ng-content>
|
|
1617
|
+
<ng-content select="ax-drawer[location='bottom']">
|
|
1618
|
+
</ng-content>
|
|
1619
|
+
`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
1620
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXDrawerContainerComponent, decorators: [{
|
|
1491
1621
|
type: Component,
|
|
1492
1622
|
args: [{
|
|
1493
|
-
selector: 'ax-
|
|
1494
|
-
template:
|
|
1623
|
+
selector: 'ax-drawer-container',
|
|
1624
|
+
template: `
|
|
1625
|
+
<ng-content select="ax-drawer[location='top']">
|
|
1626
|
+
</ng-content>
|
|
1627
|
+
<ng-content select="ax-drawer[location='start']">
|
|
1628
|
+
</ng-content>
|
|
1629
|
+
<ng-content select="ax-drawer-content">
|
|
1630
|
+
</ng-content>
|
|
1631
|
+
<ng-content select="ax-drawer[location='end']">
|
|
1632
|
+
</ng-content>
|
|
1633
|
+
<ng-content select="ax-drawer[location='bottom']">
|
|
1634
|
+
</ng-content>
|
|
1635
|
+
`,
|
|
1636
|
+
inputs: ['rtl'],
|
|
1495
1637
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1496
1638
|
encapsulation: ViewEncapsulation.None,
|
|
1639
|
+
host: { class: 'ax-drawer-container' }
|
|
1497
1640
|
}]
|
|
1498
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: {
|
|
1499
|
-
type:
|
|
1500
|
-
|
|
1501
|
-
type: HostBinding,
|
|
1502
|
-
args: ['class']
|
|
1641
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: i0.NgZone }]; }, propDecorators: { drawers: [{
|
|
1642
|
+
type: ContentChildren,
|
|
1643
|
+
args: [AXDrawerComponent]
|
|
1503
1644
|
}] } });
|
|
1504
1645
|
|
|
1505
|
-
|
|
1506
|
-
const MODULES$o = [CommonModule];
|
|
1507
|
-
class AXIconModule {
|
|
1508
|
-
}
|
|
1509
|
-
AXIconModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXIconModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1510
|
-
AXIconModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXIconModule, declarations: [AXIconComponent], imports: [CommonModule], exports: [AXIconComponent] });
|
|
1511
|
-
AXIconModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXIconModule, providers: [], imports: [[...MODULES$o]] });
|
|
1512
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXIconModule, decorators: [{
|
|
1513
|
-
type: NgModule,
|
|
1514
|
-
args: [{
|
|
1515
|
-
declarations: [...COMPONENT$o],
|
|
1516
|
-
imports: [...MODULES$o],
|
|
1517
|
-
exports: [...COMPONENT$o],
|
|
1518
|
-
providers: [],
|
|
1519
|
-
}]
|
|
1520
|
-
}] });
|
|
1521
|
-
|
|
1522
|
-
const COMPONENT$n = [
|
|
1523
|
-
AXAlertComponent,
|
|
1524
|
-
AXAlertContentComponent,
|
|
1525
|
-
AXAlertTitleComponent,
|
|
1526
|
-
AXAlertButtonComponent,
|
|
1527
|
-
AXAlertFooterComponent,
|
|
1528
|
-
AXAlertSuffixComponent
|
|
1529
|
-
];
|
|
1530
|
-
const MODULES$n = [CommonModule, AXIconModule];
|
|
1531
|
-
class AXAlertModule {
|
|
1532
|
-
}
|
|
1533
|
-
AXAlertModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXAlertModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1534
|
-
AXAlertModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXAlertModule, declarations: [AXAlertComponent,
|
|
1535
|
-
AXAlertContentComponent,
|
|
1536
|
-
AXAlertTitleComponent,
|
|
1537
|
-
AXAlertButtonComponent,
|
|
1538
|
-
AXAlertFooterComponent,
|
|
1539
|
-
AXAlertSuffixComponent], imports: [CommonModule, AXIconModule], exports: [AXAlertComponent,
|
|
1540
|
-
AXAlertContentComponent,
|
|
1541
|
-
AXAlertTitleComponent,
|
|
1542
|
-
AXAlertButtonComponent,
|
|
1543
|
-
AXAlertFooterComponent,
|
|
1544
|
-
AXAlertSuffixComponent] });
|
|
1545
|
-
AXAlertModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXAlertModule, providers: [], imports: [[...MODULES$n]] });
|
|
1546
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXAlertModule, decorators: [{
|
|
1547
|
-
type: NgModule,
|
|
1548
|
-
args: [{
|
|
1549
|
-
declarations: [...COMPONENT$n],
|
|
1550
|
-
imports: [...MODULES$n],
|
|
1551
|
-
exports: [...COMPONENT$n],
|
|
1552
|
-
providers: [],
|
|
1553
|
-
}]
|
|
1554
|
-
}] });
|
|
1555
|
-
|
|
1556
|
-
class AXAvatarGroup {
|
|
1557
|
-
constructor() { }
|
|
1558
|
-
ngOnInit() { }
|
|
1559
|
-
}
|
|
1560
|
-
AXAvatarGroup.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXAvatarGroup, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1561
|
-
AXAvatarGroup.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: AXAvatarGroup, selector: "ax-avatar-group", host: { classAttribute: "ax-avatar-group" }, ngImport: i0, template: `<ng-content select='ax-avatar'></ng-content>`, isInline: true });
|
|
1562
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXAvatarGroup, decorators: [{
|
|
1563
|
-
type: Component,
|
|
1564
|
-
args: [{
|
|
1565
|
-
selector: 'ax-avatar-group',
|
|
1566
|
-
template: `<ng-content select='ax-avatar'></ng-content>`,
|
|
1567
|
-
host: { class: 'ax-avatar-group' }
|
|
1568
|
-
}]
|
|
1569
|
-
}], ctorParameters: function () { return []; } });
|
|
1570
|
-
|
|
1571
|
-
/**
|
|
1572
|
-
* The Button is a component which detects user interaction and triggers a corresponding event
|
|
1573
|
-
*
|
|
1574
|
-
* @category Components
|
|
1575
|
-
*/
|
|
1576
|
-
class AXAvatarComponent extends AXAvatarMixin {
|
|
1577
|
-
/**
|
|
1578
|
-
* @ignore
|
|
1579
|
-
*/
|
|
1580
|
-
constructor(elementRef, cdr) {
|
|
1581
|
-
super(elementRef, cdr);
|
|
1582
|
-
this.type = 'default';
|
|
1583
|
-
}
|
|
1584
|
-
get __hostClass() {
|
|
1585
|
-
return `ax-${this.color}-default`;
|
|
1586
|
-
}
|
|
1587
|
-
}
|
|
1588
|
-
AXAvatarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXAvatarComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
1589
|
-
AXAvatarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: AXAvatarComponent, selector: "ax-avatar", inputs: { color: "color", look: "look", text: "text", icon: "icon", src: "src", class: "class", type: "type" }, host: { properties: { "class": "this.__hostClass" }, classAttribute: "ax-avatar" }, usesInheritance: true, ngImport: i0, template: "\r\n<div class=\"ax-avatar-container\" [ngSwitch]=\"type\">\r\n <ng-content select=\"ax-badge\"></ng-content>\r\n <div class=\"ax-text-avatar {{class}}\" *ngSwitchCase=\"'text'\">\r\n {{text}}\r\n </div>\r\n <div class=\"ax-icon-avatar {{class}}\" *ngSwitchCase=\"'icon'\">\r\n <ng-content select=\"ax-icon\"></ng-content>\r\n </div>\r\n <div class=\"ax-image-avatar {{class}}\" *ngSwitchCase=\"'image'\">\r\n <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 });
|
|
1590
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXAvatarComponent, decorators: [{
|
|
1591
|
-
type: Component,
|
|
1592
|
-
args: [{ selector: 'ax-avatar', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, inputs: [...COLOR_LOOK_INPUTS], host: { class: 'ax-avatar' }, template: "\r\n<div class=\"ax-avatar-container\" [ngSwitch]=\"type\">\r\n <ng-content select=\"ax-badge\"></ng-content>\r\n <div class=\"ax-text-avatar {{class}}\" *ngSwitchCase=\"'text'\">\r\n {{text}}\r\n </div>\r\n <div class=\"ax-icon-avatar {{class}}\" *ngSwitchCase=\"'icon'\">\r\n <ng-content select=\"ax-icon\"></ng-content>\r\n </div>\r\n <div class=\"ax-image-avatar {{class}}\" *ngSwitchCase=\"'image'\">\r\n <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>" }]
|
|
1593
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { text: [{
|
|
1594
|
-
type: Input
|
|
1595
|
-
}], icon: [{
|
|
1596
|
-
type: Input
|
|
1597
|
-
}], src: [{
|
|
1598
|
-
type: Input
|
|
1599
|
-
}], class: [{
|
|
1600
|
-
type: Input
|
|
1601
|
-
}], type: [{
|
|
1602
|
-
type: Input
|
|
1603
|
-
}], __hostClass: [{
|
|
1604
|
-
type: HostBinding,
|
|
1605
|
-
args: ['class']
|
|
1606
|
-
}] } });
|
|
1607
|
-
|
|
1608
|
-
const COMPONENT$m = [AXAvatarComponent, AXAvatarGroup];
|
|
1609
|
-
const MODULES$m = [CommonModule];
|
|
1610
|
-
class AXAvatarModule {
|
|
1611
|
-
}
|
|
1612
|
-
AXAvatarModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXAvatarModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1613
|
-
AXAvatarModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXAvatarModule, declarations: [AXAvatarComponent, AXAvatarGroup], imports: [CommonModule], exports: [AXAvatarComponent, AXAvatarGroup] });
|
|
1614
|
-
AXAvatarModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXAvatarModule, providers: [], imports: [[...MODULES$m]] });
|
|
1615
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXAvatarModule, decorators: [{
|
|
1616
|
-
type: NgModule,
|
|
1617
|
-
args: [{
|
|
1618
|
-
declarations: [...COMPONENT$m],
|
|
1619
|
-
imports: [...MODULES$m],
|
|
1620
|
-
exports: [...COMPONENT$m],
|
|
1621
|
-
providers: [],
|
|
1622
|
-
}]
|
|
1623
|
-
}] });
|
|
1624
|
-
|
|
1625
|
-
const AXBaseBadgeMixin = _ColorLookComponentMixin(AXBaseComponent);
|
|
1626
|
-
class AXBadgeComponent extends AXBaseBadgeMixin {
|
|
1646
|
+
class AXDrawerContentComponent extends AXBaseComponentMixin {
|
|
1627
1647
|
constructor(elementRef, cdr) {
|
|
1628
1648
|
super(elementRef, cdr);
|
|
1629
|
-
this.text = '';
|
|
1630
|
-
//TODO: ax-badge
|
|
1631
|
-
}
|
|
1632
|
-
get __hostClass() {
|
|
1633
|
-
const _class = this.look ? `ax-${this.color}-${this.look}` : `ax-${this.color}-default`;
|
|
1634
|
-
return ['ax-badge', _class, !this.text ? 'ax-badge-icon' : ''].join(' ');
|
|
1635
1649
|
}
|
|
1636
1650
|
}
|
|
1637
|
-
|
|
1638
|
-
|
|
1639
|
-
|
|
1651
|
+
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 });
|
|
1652
|
+
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: `
|
|
1653
|
+
<ng-content>
|
|
1654
|
+
</ng-content>
|
|
1655
|
+
`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
1656
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXDrawerContentComponent, decorators: [{
|
|
1640
1657
|
type: Component,
|
|
1641
|
-
args: [{ selector: 'ax-badge', changeDetection: ChangeDetectionStrategy.OnPush, inputs: [...COLOR_LOOK_INPUTS], encapsulation: ViewEncapsulation.None, template: "<ng-content select=\"ax-prefix\"></ng-content>\r\n<span class=\"ax-font-medium ax-truncate\">{{text}}</span>\r\n<ng-content select=\"ax-suffix\"></ng-content>" }]
|
|
1642
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { text: [{
|
|
1643
|
-
type: Input
|
|
1644
|
-
}], __hostClass: [{
|
|
1645
|
-
type: HostBinding,
|
|
1646
|
-
args: ['class']
|
|
1647
|
-
}] } });
|
|
1648
|
-
|
|
1649
|
-
const COMPONENT$l = [AXBadgeComponent];
|
|
1650
|
-
const MODULES$l = [CommonModule];
|
|
1651
|
-
class AXBadgeModule {
|
|
1652
|
-
}
|
|
1653
|
-
AXBadgeModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXBadgeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1654
|
-
AXBadgeModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXBadgeModule, declarations: [AXBadgeComponent], imports: [CommonModule], exports: [AXBadgeComponent] });
|
|
1655
|
-
AXBadgeModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXBadgeModule, providers: [], imports: [[...MODULES$l]] });
|
|
1656
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXBadgeModule, decorators: [{
|
|
1657
|
-
type: NgModule,
|
|
1658
1658
|
args: [{
|
|
1659
|
-
|
|
1660
|
-
|
|
1661
|
-
|
|
1662
|
-
|
|
1659
|
+
selector: 'ax-drawer-content',
|
|
1660
|
+
template: `
|
|
1661
|
+
<ng-content>
|
|
1662
|
+
</ng-content>
|
|
1663
|
+
`,
|
|
1664
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1665
|
+
encapsulation: ViewEncapsulation.None,
|
|
1666
|
+
host: { class: 'ax-drawer-content' }
|
|
1663
1667
|
}]
|
|
1664
|
-
}] });
|
|
1665
|
-
|
|
1666
|
-
class AXBreadCrumbsComponent extends AXBaseComponent {
|
|
1667
|
-
constructor() {
|
|
1668
|
-
super();
|
|
1669
|
-
}
|
|
1670
|
-
}
|
|
1671
|
-
AXBreadCrumbsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXBreadCrumbsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1672
|
-
AXBreadCrumbsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: AXBreadCrumbsComponent, selector: "ax-breadcrumbs", host: { classAttribute: "ax-breadcrumbs" }, usesInheritance: true, ngImport: i0, template: "<ng-content select=\"ax-breadcrumbs-item\"></ng-content>" });
|
|
1673
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXBreadCrumbsComponent, decorators: [{
|
|
1674
|
-
type: Component,
|
|
1675
|
-
args: [{ selector: 'ax-breadcrumbs', host: { class: 'ax-breadcrumbs' }, template: "<ng-content select=\"ax-breadcrumbs-item\"></ng-content>" }]
|
|
1676
|
-
}], ctorParameters: function () { return []; } });
|
|
1677
|
-
|
|
1678
|
-
class AXBreadCrumbsItemComponent extends AXBaseComponent {
|
|
1679
|
-
constructor() {
|
|
1680
|
-
super();
|
|
1681
|
-
}
|
|
1682
|
-
}
|
|
1683
|
-
AXBreadCrumbsItemComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXBreadCrumbsItemComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1684
|
-
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>" });
|
|
1685
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXBreadCrumbsItemComponent, decorators: [{
|
|
1686
|
-
type: Component,
|
|
1687
|
-
args: [{ selector: 'ax-breadcrumbs-item', host: { class: 'ax-breadcrumbs-item' }, template: "<ng-content select=\"ax-prefix,ax-loading,ax-icon\">\r\n</ng-content>\r\n<div>{{text}}</div>\r\n<ng-content select=\"ax-suffix,ax-loading,ax-icon\">\r\n</ng-content>" }]
|
|
1688
|
-
}], ctorParameters: function () { return []; }, propDecorators: { text: [{
|
|
1689
|
-
type: Input
|
|
1690
|
-
}] } });
|
|
1668
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; } });
|
|
1691
1669
|
|
|
1692
|
-
|
|
1670
|
+
const COMPONENT$o = [AXDrawerComponent, AXDrawerContainerComponent, AXDrawerContentComponent];
|
|
1671
|
+
const MODULES$o = [CommonModule];
|
|
1672
|
+
class AXDrawerModule {
|
|
1693
1673
|
}
|
|
1694
|
-
|
|
1695
|
-
|
|
1696
|
-
|
|
1697
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type:
|
|
1674
|
+
AXDrawerModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXDrawerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1675
|
+
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] });
|
|
1676
|
+
AXDrawerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXDrawerModule, providers: [], imports: [[...MODULES$o]] });
|
|
1677
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXDrawerModule, decorators: [{
|
|
1698
1678
|
type: NgModule,
|
|
1699
1679
|
args: [{
|
|
1700
|
-
declarations: [
|
|
1701
|
-
imports: [
|
|
1702
|
-
exports: [
|
|
1680
|
+
declarations: [...COMPONENT$o],
|
|
1681
|
+
imports: [...MODULES$o],
|
|
1682
|
+
exports: [...COMPONENT$o],
|
|
1703
1683
|
providers: [],
|
|
1704
1684
|
}]
|
|
1705
1685
|
}] });
|
|
1706
1686
|
|
|
1707
|
-
/**
|
|
1708
|
-
* The Button is a component which detects user interaction and triggers a corresponding event
|
|
1709
|
-
*
|
|
1710
|
-
* @category Components
|
|
1711
|
-
*/
|
|
1712
|
-
class AXButtonComponent extends AXBaseButtonMixin {
|
|
1713
|
-
/**
|
|
1714
|
-
* @ignore
|
|
1715
|
-
*/
|
|
1716
|
-
constructor(elementRef, cdr) {
|
|
1717
|
-
super(elementRef, cdr);
|
|
1718
|
-
}
|
|
1719
|
-
onKeydownHandler(e) {
|
|
1720
|
-
if (e.code === 'Enter') {
|
|
1721
|
-
this._getHostElement().click();
|
|
1722
|
-
}
|
|
1723
|
-
}
|
|
1724
|
-
_emitOnClickEvent(e) {
|
|
1725
|
-
if (this.disabled)
|
|
1726
|
-
return;
|
|
1727
|
-
if (this.toggleable) {
|
|
1728
|
-
this.selected = !this.selected;
|
|
1729
|
-
}
|
|
1730
|
-
super._emitOnClickEvent(e);
|
|
1731
|
-
}
|
|
1732
|
-
_emitOnFocusEvent(e) {
|
|
1733
|
-
super._emitOnFocusEvent(e);
|
|
1734
|
-
}
|
|
1735
|
-
_emitOnBlurEvent(e) {
|
|
1736
|
-
super._emitOnBlurEvent(e);
|
|
1737
|
-
}
|
|
1738
|
-
get __hostClass() {
|
|
1739
|
-
return Object.entries(this._classes).filter(c => c[1]).map(c => c[0]).join(' ');
|
|
1740
|
-
}
|
|
1741
|
-
}
|
|
1742
|
-
AXButtonComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXButtonComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
1743
|
-
AXButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: AXButtonComponent, selector: "ax-button", inputs: { disabled: "disabled", tabIndex: "tabIndex", size: "size", color: "color", look: "look", text: "text", submitBehavior: "submitBehavior", cancelBehavior: "cancelBehavior", toggleable: "toggleable", selected: "selected" }, outputs: { onBlur: "onBlur", onFocus: "onFocus", onClick: "onClick", selectedChange: "selectedChange", toggleableChange: "toggleableChange" }, host: { attributes: { "role": "button" }, listeners: { "keyup": "onKeydownHandler($event)", "click": "_emitOnClickEvent($event)", "focus": "_emitOnFocusEvent($event)", "blur": "_emitOnBlurEvent($event)" }, properties: { "class": "this.__hostClass" } }, usesInheritance: true, ngImport: i0, template: "<!-- <button [ngClass]=\"_classes\" class=\"{{cssClass}} ax-{{size}}\" [disabled]=\"disabled\" [tabindex]=\"tabIndex\" [attr.style]=\"cssStyle\" (click)=\"_emitOnClickEvent($event)\" (focus)=\"_emitOnFocusEvent($event)\" (blur)=\"_emitOnBlurEvent($event)\">\r\n <ng-content select=\"ax-prefix,ax-loading,ax-icon\">\r\n </ng-content>\r\n <span *ngIf=\"text\">{{text}}</span>\r\n <ng-content select=\"ax-suffix\">\r\n </ng-content>\r\n <ng-content select=\"ax-dropdown-panel\">\r\n </ng-content>\r\n</button> -->\r\n<!-- <button [ngClass]=\"_classes\" class=\"{{cssClass}} ax-{{size}}\" [disabled]=\"disabled\" [tabindex]=\"tabIndex\" [attr.style]=\"cssStyle\" (click)=\"_emitOnClickEvent($event)\" (focus)=\"_emitOnFocusEvent($event)\" (blur)=\"_emitOnBlurEvent($event)\"> -->\r\n<ng-content select=\"ax-prefix,ax-loading,ax-icon\">\r\n</ng-content>\r\n<span *ngIf=\"text\">{{text}}</span>\r\n<ng-content select=\"ax-suffix\">\r\n</ng-content>\r\n<ng-content select=\"ax-dropdown-panel\">\r\n</ng-content>\r\n<!-- </button> -->", directives: [{ type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
1744
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXButtonComponent, decorators: [{
|
|
1745
|
-
type: Component,
|
|
1746
|
-
args: [{ selector: 'ax-button', inputs: ['disabled', 'tabIndex', 'size', ...COLOR_LOOK_INPUTS, ...BUTTON_INPUTS], outputs: [...BUTTON_OUTPUT], changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, host: { role: 'button' }, template: "<!-- <button [ngClass]=\"_classes\" class=\"{{cssClass}} ax-{{size}}\" [disabled]=\"disabled\" [tabindex]=\"tabIndex\" [attr.style]=\"cssStyle\" (click)=\"_emitOnClickEvent($event)\" (focus)=\"_emitOnFocusEvent($event)\" (blur)=\"_emitOnBlurEvent($event)\">\r\n <ng-content select=\"ax-prefix,ax-loading,ax-icon\">\r\n </ng-content>\r\n <span *ngIf=\"text\">{{text}}</span>\r\n <ng-content select=\"ax-suffix\">\r\n </ng-content>\r\n <ng-content select=\"ax-dropdown-panel\">\r\n </ng-content>\r\n</button> -->\r\n<!-- <button [ngClass]=\"_classes\" class=\"{{cssClass}} ax-{{size}}\" [disabled]=\"disabled\" [tabindex]=\"tabIndex\" [attr.style]=\"cssStyle\" (click)=\"_emitOnClickEvent($event)\" (focus)=\"_emitOnFocusEvent($event)\" (blur)=\"_emitOnBlurEvent($event)\"> -->\r\n<ng-content select=\"ax-prefix,ax-loading,ax-icon\">\r\n</ng-content>\r\n<span *ngIf=\"text\">{{text}}</span>\r\n<ng-content select=\"ax-suffix\">\r\n</ng-content>\r\n<ng-content select=\"ax-dropdown-panel\">\r\n</ng-content>\r\n<!-- </button> -->" }]
|
|
1747
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { onKeydownHandler: [{
|
|
1748
|
-
type: HostListener,
|
|
1749
|
-
args: ['keyup', ['$event']]
|
|
1750
|
-
}], _emitOnClickEvent: [{
|
|
1751
|
-
type: HostListener,
|
|
1752
|
-
args: ['click', ['$event']]
|
|
1753
|
-
}], _emitOnFocusEvent: [{
|
|
1754
|
-
type: HostListener,
|
|
1755
|
-
args: ['focus', ['$event']]
|
|
1756
|
-
}], _emitOnBlurEvent: [{
|
|
1757
|
-
type: HostListener,
|
|
1758
|
-
args: ['blur', ['$event']]
|
|
1759
|
-
}], __hostClass: [{
|
|
1760
|
-
type: HostBinding,
|
|
1761
|
-
args: ['class']
|
|
1762
|
-
}] } });
|
|
1763
|
-
|
|
1764
1687
|
class AXButtonGroupComponent extends AXInteractiveComponenetMixin {
|
|
1765
1688
|
constructor(elementRef, zone, cdr) {
|
|
1766
1689
|
super(elementRef, cdr);
|
|
@@ -2064,29 +1987,71 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
|
|
|
2064
1987
|
}]
|
|
2065
1988
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; } });
|
|
2066
1989
|
|
|
2067
|
-
const COMPONENT$
|
|
2068
|
-
const MODULES$
|
|
1990
|
+
const COMPONENT$n = [AXDecoratorPrefixComponent, AXDecoratorSuffixComponent, AXDecoratorContentComponent, AXDecoratorHeaderComponent, AXDecoratorAddOnComponent];
|
|
1991
|
+
const MODULES$n = [CommonModule];
|
|
2069
1992
|
class AXEditorDecoratorModule {
|
|
2070
1993
|
}
|
|
2071
1994
|
AXEditorDecoratorModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXEditorDecoratorModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
2072
1995
|
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] });
|
|
2073
|
-
AXEditorDecoratorModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXEditorDecoratorModule, providers: [], imports: [[...MODULES$
|
|
1996
|
+
AXEditorDecoratorModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXEditorDecoratorModule, providers: [], imports: [[...MODULES$n]] });
|
|
2074
1997
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXEditorDecoratorModule, decorators: [{
|
|
2075
1998
|
type: NgModule,
|
|
2076
1999
|
args: [{
|
|
2077
|
-
declarations: [...COMPONENT$
|
|
2078
|
-
imports: [...MODULES$
|
|
2079
|
-
exports: [...COMPONENT$
|
|
2000
|
+
declarations: [...COMPONENT$n],
|
|
2001
|
+
imports: [...MODULES$n],
|
|
2002
|
+
exports: [...COMPONENT$n],
|
|
2003
|
+
providers: [],
|
|
2004
|
+
}]
|
|
2005
|
+
}] });
|
|
2006
|
+
|
|
2007
|
+
class AXIconComponent extends AXSizableComponentMixin {
|
|
2008
|
+
constructor(elementRef, cdr) {
|
|
2009
|
+
super(elementRef, cdr);
|
|
2010
|
+
}
|
|
2011
|
+
get __iconClass() {
|
|
2012
|
+
return `ax-ic ${this.icon}`;
|
|
2013
|
+
}
|
|
2014
|
+
}
|
|
2015
|
+
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 });
|
|
2016
|
+
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 });
|
|
2017
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXIconComponent, decorators: [{
|
|
2018
|
+
type: Component,
|
|
2019
|
+
args: [{
|
|
2020
|
+
selector: 'ax-icon',
|
|
2021
|
+
template: '<ng-content select="i,svg,img"></ng-content>',
|
|
2022
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
2023
|
+
encapsulation: ViewEncapsulation.None,
|
|
2024
|
+
}]
|
|
2025
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { icon: [{
|
|
2026
|
+
type: Input
|
|
2027
|
+
}], __iconClass: [{
|
|
2028
|
+
type: HostBinding,
|
|
2029
|
+
args: ['class']
|
|
2030
|
+
}] } });
|
|
2031
|
+
|
|
2032
|
+
const COMPONENT$m = [AXIconComponent];
|
|
2033
|
+
const MODULES$m = [CommonModule];
|
|
2034
|
+
class AXIconModule {
|
|
2035
|
+
}
|
|
2036
|
+
AXIconModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXIconModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
2037
|
+
AXIconModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXIconModule, declarations: [AXIconComponent], imports: [CommonModule], exports: [AXIconComponent] });
|
|
2038
|
+
AXIconModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXIconModule, providers: [], imports: [[...MODULES$m]] });
|
|
2039
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXIconModule, decorators: [{
|
|
2040
|
+
type: NgModule,
|
|
2041
|
+
args: [{
|
|
2042
|
+
declarations: [...COMPONENT$m],
|
|
2043
|
+
imports: [...MODULES$m],
|
|
2044
|
+
exports: [...COMPONENT$m],
|
|
2080
2045
|
providers: [],
|
|
2081
2046
|
}]
|
|
2082
2047
|
}] });
|
|
2083
2048
|
|
|
2084
|
-
const COMPONENT$
|
|
2049
|
+
const COMPONENT$l = [
|
|
2085
2050
|
AXButtonComponent,
|
|
2086
2051
|
AXButtonItemComponent,
|
|
2087
2052
|
AXButtonGroupComponent,
|
|
2088
2053
|
];
|
|
2089
|
-
const MODULES$
|
|
2054
|
+
const MODULES$l = [CommonModule, AXIconModule, AXEditorDecoratorModule];
|
|
2090
2055
|
class AXButtonModule {
|
|
2091
2056
|
}
|
|
2092
2057
|
AXButtonModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXButtonModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
@@ -2095,143 +2060,597 @@ AXButtonModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version:
|
|
|
2095
2060
|
AXButtonGroupComponent], imports: [CommonModule, AXIconModule, AXEditorDecoratorModule], exports: [AXButtonComponent,
|
|
2096
2061
|
AXButtonItemComponent,
|
|
2097
2062
|
AXButtonGroupComponent] });
|
|
2098
|
-
AXButtonModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXButtonModule, providers: [], imports: [[MODULES$
|
|
2063
|
+
AXButtonModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXButtonModule, providers: [], imports: [[MODULES$l]] });
|
|
2099
2064
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXButtonModule, decorators: [{
|
|
2100
2065
|
type: NgModule,
|
|
2101
2066
|
args: [{
|
|
2102
|
-
imports: [MODULES$
|
|
2103
|
-
exports: [COMPONENT$
|
|
2104
|
-
declarations: [COMPONENT$
|
|
2067
|
+
imports: [MODULES$l],
|
|
2068
|
+
exports: [COMPONENT$l],
|
|
2069
|
+
declarations: [COMPONENT$l],
|
|
2105
2070
|
providers: [],
|
|
2106
2071
|
}]
|
|
2107
2072
|
}] });
|
|
2108
2073
|
|
|
2109
|
-
class
|
|
2074
|
+
class AXActionSheetModule {
|
|
2075
|
+
}
|
|
2076
|
+
AXActionSheetModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXActionSheetModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
2077
|
+
AXActionSheetModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXActionSheetModule, declarations: [AXActionSheetComponent, AXActionSheetItemComponent], imports: [CommonModule, AXDrawerModule, AXButtonModule], exports: [AXActionSheetComponent, AXActionSheetItemComponent] });
|
|
2078
|
+
AXActionSheetModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXActionSheetModule, providers: [], imports: [[CommonModule, AXDrawerModule, AXButtonModule]] });
|
|
2079
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXActionSheetModule, decorators: [{
|
|
2080
|
+
type: NgModule,
|
|
2081
|
+
args: [{
|
|
2082
|
+
declarations: [AXActionSheetComponent, AXActionSheetItemComponent],
|
|
2083
|
+
imports: [CommonModule, AXDrawerModule, AXButtonModule],
|
|
2084
|
+
exports: [AXActionSheetComponent, AXActionSheetItemComponent],
|
|
2085
|
+
providers: [],
|
|
2086
|
+
}]
|
|
2087
|
+
}] });
|
|
2088
|
+
|
|
2089
|
+
var _AXAlertComponent_visible;
|
|
2090
|
+
const AXBaseAlertMixin = _ColorLookComponentMixin(AXBaseComponent);
|
|
2091
|
+
/**
|
|
2092
|
+
* Regular description
|
|
2093
|
+
*
|
|
2094
|
+
* @category Components
|
|
2095
|
+
*/
|
|
2096
|
+
class AXAlertComponent extends AXBaseAlertMixin {
|
|
2097
|
+
/**
|
|
2098
|
+
* @ignore
|
|
2099
|
+
*/
|
|
2110
2100
|
constructor(elementRef, cdr) {
|
|
2111
2101
|
super(elementRef, cdr);
|
|
2112
|
-
this.
|
|
2113
|
-
this
|
|
2114
|
-
this.typeChange = new EventEmitter();
|
|
2115
|
-
this._type = AXConfig.get(`dateTime.calendar`);
|
|
2116
|
-
this.depthChange = new EventEmitter();
|
|
2117
|
-
this._depth = 'days';
|
|
2118
|
-
this.minChange = new EventEmitter();
|
|
2119
|
-
this.maxChange = new EventEmitter();
|
|
2120
|
-
this.disabledDatesChange = new EventEmitter();
|
|
2121
|
-
this.holidayDatesChange = new EventEmitter();
|
|
2122
|
-
}
|
|
2123
|
-
get activeView() {
|
|
2124
|
-
return this._activeView;
|
|
2125
|
-
}
|
|
2126
|
-
set activeView(v) {
|
|
2127
|
-
this._setOption({ name: 'activeView', value: v });
|
|
2128
|
-
}
|
|
2129
|
-
get type() {
|
|
2130
|
-
return this._type || AXConfig.get(`dateTime.calendar`);
|
|
2131
|
-
}
|
|
2132
|
-
set type(v) {
|
|
2133
|
-
this._setOption({
|
|
2134
|
-
name: 'type',
|
|
2135
|
-
value: v
|
|
2136
|
-
});
|
|
2137
|
-
}
|
|
2138
|
-
get depth() {
|
|
2139
|
-
return this._depth;
|
|
2102
|
+
this.showIcon = true;
|
|
2103
|
+
_AXAlertComponent_visible.set(this, void 0);
|
|
2140
2104
|
}
|
|
2141
|
-
|
|
2142
|
-
|
|
2143
|
-
|
|
2144
|
-
|
|
2145
|
-
|
|
2146
|
-
|
|
2105
|
+
_onOptionChanged(option) {
|
|
2106
|
+
if (option.name == 'color') {
|
|
2107
|
+
switch (this.color) {
|
|
2108
|
+
case 'success':
|
|
2109
|
+
this.icon = 'ax-ic ax-ic-check-filled';
|
|
2110
|
+
break;
|
|
2111
|
+
case 'warning':
|
|
2112
|
+
this.icon = 'ax-ic-warning-filled';
|
|
2113
|
+
break;
|
|
2114
|
+
case 'danger':
|
|
2115
|
+
this.icon = 'ax-ic-error-filled';
|
|
2116
|
+
break;
|
|
2117
|
+
default:
|
|
2118
|
+
this.icon = 'ax-ic ax-ic-info-filled';
|
|
2119
|
+
break;
|
|
2147
2120
|
}
|
|
2148
|
-
}
|
|
2121
|
+
}
|
|
2149
2122
|
}
|
|
2150
|
-
|
|
2151
|
-
|
|
2123
|
+
/**
|
|
2124
|
+
* @ignore
|
|
2125
|
+
*/
|
|
2126
|
+
get __hostClass() {
|
|
2127
|
+
// return ` ax-alert ax-none ax-${this.color}-default ax-${this.look}-default`;
|
|
2128
|
+
const _class = this.look ? `ax-${this.color}-${this.look}` : `ax-${this.color}-default`;
|
|
2129
|
+
return `ax-alert ax-none ${_class}`;
|
|
2152
2130
|
}
|
|
2153
|
-
|
|
2154
|
-
|
|
2131
|
+
/**
|
|
2132
|
+
* set the visibility of the Alert
|
|
2133
|
+
*/
|
|
2134
|
+
get visible() {
|
|
2135
|
+
return __classPrivateFieldGet(this, _AXAlertComponent_visible, "f");
|
|
2155
2136
|
}
|
|
2156
|
-
|
|
2157
|
-
|
|
2137
|
+
set visible(v) {
|
|
2138
|
+
if (__classPrivateFieldGet(this, _AXAlertComponent_visible, "f") != v) {
|
|
2139
|
+
__classPrivateFieldSet(this, _AXAlertComponent_visible, v, "f");
|
|
2140
|
+
const host = this._getHostElement();
|
|
2141
|
+
if (v) {
|
|
2142
|
+
host.classList.remove('ax-state-hidden');
|
|
2143
|
+
host.classList.add('ax-state-visible');
|
|
2144
|
+
}
|
|
2145
|
+
else {
|
|
2146
|
+
host.classList.add('ax-state-hidden');
|
|
2147
|
+
host.classList.toggle('ax-state-visible');
|
|
2148
|
+
}
|
|
2149
|
+
}
|
|
2158
2150
|
}
|
|
2159
|
-
|
|
2160
|
-
this.
|
|
2151
|
+
onInit() {
|
|
2152
|
+
if (this.timeOut) {
|
|
2153
|
+
setTimeout(() => {
|
|
2154
|
+
this.dismiss();
|
|
2155
|
+
}, this.timeOut);
|
|
2156
|
+
}
|
|
2161
2157
|
}
|
|
2162
|
-
|
|
2163
|
-
|
|
2158
|
+
onViewInit() {
|
|
2159
|
+
if (this.visible == undefined) {
|
|
2160
|
+
this.visible = true;
|
|
2161
|
+
}
|
|
2164
2162
|
}
|
|
2165
|
-
|
|
2166
|
-
|
|
2163
|
+
/**
|
|
2164
|
+
* Remove the alert from the container
|
|
2165
|
+
*/
|
|
2166
|
+
dismiss() {
|
|
2167
|
+
const host = this._getHostElement();
|
|
2168
|
+
this.visible = false;
|
|
2169
|
+
const func = () => {
|
|
2170
|
+
host.parentElement.removeChild(host);
|
|
2171
|
+
};
|
|
2172
|
+
host.addEventListener('transitionend', func);
|
|
2167
2173
|
}
|
|
2168
|
-
|
|
2169
|
-
|
|
2174
|
+
/**
|
|
2175
|
+
* Hide the alert
|
|
2176
|
+
*/
|
|
2177
|
+
hide() {
|
|
2178
|
+
this.visible = false;
|
|
2170
2179
|
}
|
|
2171
|
-
|
|
2172
|
-
|
|
2180
|
+
/**
|
|
2181
|
+
* Show the alert
|
|
2182
|
+
*/
|
|
2183
|
+
show() {
|
|
2184
|
+
this.visible = true;
|
|
2173
2185
|
}
|
|
2174
2186
|
}
|
|
2175
|
-
|
|
2176
|
-
|
|
2177
|
-
i0.ɵɵ
|
|
2178
|
-
|
|
2179
|
-
|
|
2180
|
-
|
|
2181
|
-
|
|
2182
|
-
type: Input
|
|
2183
|
-
}], typeChange: [{
|
|
2184
|
-
type: Output
|
|
2185
|
-
}], type: [{
|
|
2186
|
-
type: Input
|
|
2187
|
-
}], depthChange: [{
|
|
2188
|
-
type: Output
|
|
2189
|
-
}], depth: [{
|
|
2190
|
-
type: Input
|
|
2191
|
-
}], minChange: [{
|
|
2192
|
-
type: Output
|
|
2193
|
-
}], min: [{
|
|
2187
|
+
_AXAlertComponent_visible = new WeakMap();
|
|
2188
|
+
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 });
|
|
2189
|
+
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 });
|
|
2190
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXAlertComponent, decorators: [{
|
|
2191
|
+
type: Component,
|
|
2192
|
+
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>" }]
|
|
2193
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { icon: [{
|
|
2194
2194
|
type: Input
|
|
2195
|
-
}],
|
|
2196
|
-
type: Output
|
|
2197
|
-
}], max: [{
|
|
2195
|
+
}], showIcon: [{
|
|
2198
2196
|
type: Input
|
|
2199
|
-
}],
|
|
2200
|
-
type:
|
|
2201
|
-
|
|
2197
|
+
}], __hostClass: [{
|
|
2198
|
+
type: HostBinding,
|
|
2199
|
+
args: ['class']
|
|
2200
|
+
}], timeOut: [{
|
|
2202
2201
|
type: Input
|
|
2203
|
-
}],
|
|
2204
|
-
type: Output
|
|
2205
|
-
}], holidayDates: [{
|
|
2202
|
+
}], visible: [{
|
|
2206
2203
|
type: Input
|
|
2207
|
-
}] } });
|
|
2208
|
-
const CALENDAR_INPUTS = [
|
|
2209
|
-
'depth',
|
|
2210
|
-
'activeView',
|
|
2211
|
-
'min',
|
|
2212
|
-
'max',
|
|
2213
|
-
'disabledDates',
|
|
2214
|
-
'type',
|
|
2215
|
-
'holidayDates',
|
|
2216
|
-
];
|
|
2217
|
-
const CALENDAR_OUTPUTS = ['depthChange', 'typeChange'];
|
|
2204
|
+
}] } });
|
|
2218
2205
|
|
|
2219
|
-
|
|
2220
|
-
|
|
2221
|
-
|
|
2222
|
-
|
|
2223
|
-
|
|
2224
|
-
|
|
2225
|
-
|
|
2226
|
-
|
|
2227
|
-
|
|
2228
|
-
|
|
2229
|
-
|
|
2230
|
-
|
|
2231
|
-
|
|
2232
|
-
|
|
2233
|
-
|
|
2234
|
-
|
|
2206
|
+
class AXAlertTitleComponent {
|
|
2207
|
+
}
|
|
2208
|
+
AXAlertTitleComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXAlertTitleComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
2209
|
+
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: `
|
|
2210
|
+
<ng-content>
|
|
2211
|
+
</ng-content>
|
|
2212
|
+
`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
2213
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXAlertTitleComponent, decorators: [{
|
|
2214
|
+
type: Component,
|
|
2215
|
+
args: [{
|
|
2216
|
+
selector: 'ax-alert-title',
|
|
2217
|
+
template: `
|
|
2218
|
+
<ng-content>
|
|
2219
|
+
</ng-content>
|
|
2220
|
+
`,
|
|
2221
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
2222
|
+
encapsulation: ViewEncapsulation.None,
|
|
2223
|
+
host: { class: 'ax-alert-title' }
|
|
2224
|
+
}]
|
|
2225
|
+
}] });
|
|
2226
|
+
|
|
2227
|
+
class AXAlertButtonComponent extends AXBaseClickableMixin {
|
|
2228
|
+
constructor(elementRef, cdr) {
|
|
2229
|
+
super(elementRef, cdr);
|
|
2230
|
+
}
|
|
2231
|
+
_handleOnClick(e) {
|
|
2232
|
+
this._emitOnClickEvent(e);
|
|
2233
|
+
}
|
|
2234
|
+
_handleOnFocus(e) {
|
|
2235
|
+
this._emitOnFocusEvent(e);
|
|
2236
|
+
}
|
|
2237
|
+
_handleOnBlur(e) {
|
|
2238
|
+
this._emitOnBlurEvent(e);
|
|
2239
|
+
}
|
|
2240
|
+
}
|
|
2241
|
+
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 });
|
|
2242
|
+
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: `
|
|
2243
|
+
{{text}}
|
|
2244
|
+
<ng-content select="ax-icon"></ng-content>
|
|
2245
|
+
`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
2246
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXAlertButtonComponent, decorators: [{
|
|
2247
|
+
type: Component,
|
|
2248
|
+
args: [{
|
|
2249
|
+
selector: 'ax-alert-button',
|
|
2250
|
+
template: `
|
|
2251
|
+
{{text}}
|
|
2252
|
+
<ng-content select="ax-icon"></ng-content>
|
|
2253
|
+
`,
|
|
2254
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
2255
|
+
encapsulation: ViewEncapsulation.None,
|
|
2256
|
+
outputs: [...BUTTON_OUTPUT],
|
|
2257
|
+
host: { class: 'ax-alert-button' }
|
|
2258
|
+
}]
|
|
2259
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { text: [{
|
|
2260
|
+
type: Input
|
|
2261
|
+
}], icon: [{
|
|
2262
|
+
type: Input
|
|
2263
|
+
}], _handleOnClick: [{
|
|
2264
|
+
type: HostListener,
|
|
2265
|
+
args: ['click', ['$event']]
|
|
2266
|
+
}], _handleOnFocus: [{
|
|
2267
|
+
type: HostListener,
|
|
2268
|
+
args: ['focus', ['$event']]
|
|
2269
|
+
}], _handleOnBlur: [{
|
|
2270
|
+
type: HostListener,
|
|
2271
|
+
args: ['blur', ['$event']]
|
|
2272
|
+
}] } });
|
|
2273
|
+
|
|
2274
|
+
class AXAlertContentComponent {
|
|
2275
|
+
}
|
|
2276
|
+
AXAlertContentComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXAlertContentComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
2277
|
+
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>
|
|
2278
|
+
</ng-content>
|
|
2279
|
+
`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
2280
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXAlertContentComponent, decorators: [{
|
|
2281
|
+
type: Component,
|
|
2282
|
+
args: [{
|
|
2283
|
+
selector: 'ax-alert-content',
|
|
2284
|
+
template: `<ng-content>
|
|
2285
|
+
</ng-content>
|
|
2286
|
+
`,
|
|
2287
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
2288
|
+
encapsulation: ViewEncapsulation.None,
|
|
2289
|
+
host: { class: 'ax-alert-content' }
|
|
2290
|
+
}]
|
|
2291
|
+
}] });
|
|
2292
|
+
|
|
2293
|
+
class AXAlertSuffixComponent {
|
|
2294
|
+
}
|
|
2295
|
+
AXAlertSuffixComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXAlertSuffixComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
2296
|
+
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: `
|
|
2297
|
+
<div class="ax-alert-buttons">
|
|
2298
|
+
<ng-content select="ax-alert-button">
|
|
2299
|
+
</ng-content>
|
|
2300
|
+
</div>
|
|
2301
|
+
`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
2302
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXAlertSuffixComponent, decorators: [{
|
|
2303
|
+
type: Component,
|
|
2304
|
+
args: [{
|
|
2305
|
+
selector: 'ax-alert-suffix',
|
|
2306
|
+
template: `
|
|
2307
|
+
<div class="ax-alert-buttons">
|
|
2308
|
+
<ng-content select="ax-alert-button">
|
|
2309
|
+
</ng-content>
|
|
2310
|
+
</div>
|
|
2311
|
+
`,
|
|
2312
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
2313
|
+
encapsulation: ViewEncapsulation.None,
|
|
2314
|
+
host: { class: 'ax-alert-suffix' }
|
|
2315
|
+
}]
|
|
2316
|
+
}] });
|
|
2317
|
+
|
|
2318
|
+
class AXAlertFooterComponent {
|
|
2319
|
+
}
|
|
2320
|
+
AXAlertFooterComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXAlertFooterComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
2321
|
+
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: `
|
|
2322
|
+
<div class="ax-alert-buttons">
|
|
2323
|
+
<ng-content select="ax-alert-button">
|
|
2324
|
+
</ng-content>
|
|
2325
|
+
</div>
|
|
2326
|
+
`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
2327
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXAlertFooterComponent, decorators: [{
|
|
2328
|
+
type: Component,
|
|
2329
|
+
args: [{
|
|
2330
|
+
selector: 'ax-alert-footer',
|
|
2331
|
+
template: `
|
|
2332
|
+
<div class="ax-alert-buttons">
|
|
2333
|
+
<ng-content select="ax-alert-button">
|
|
2334
|
+
</ng-content>
|
|
2335
|
+
</div>
|
|
2336
|
+
`,
|
|
2337
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
2338
|
+
encapsulation: ViewEncapsulation.None,
|
|
2339
|
+
host: { class: 'ax-alert-footer' }
|
|
2340
|
+
}]
|
|
2341
|
+
}] });
|
|
2342
|
+
|
|
2343
|
+
const COMPONENT$k = [
|
|
2344
|
+
AXAlertComponent,
|
|
2345
|
+
AXAlertContentComponent,
|
|
2346
|
+
AXAlertTitleComponent,
|
|
2347
|
+
AXAlertButtonComponent,
|
|
2348
|
+
AXAlertFooterComponent,
|
|
2349
|
+
AXAlertSuffixComponent
|
|
2350
|
+
];
|
|
2351
|
+
const MODULES$k = [CommonModule, AXIconModule];
|
|
2352
|
+
class AXAlertModule {
|
|
2353
|
+
}
|
|
2354
|
+
AXAlertModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXAlertModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
2355
|
+
AXAlertModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXAlertModule, declarations: [AXAlertComponent,
|
|
2356
|
+
AXAlertContentComponent,
|
|
2357
|
+
AXAlertTitleComponent,
|
|
2358
|
+
AXAlertButtonComponent,
|
|
2359
|
+
AXAlertFooterComponent,
|
|
2360
|
+
AXAlertSuffixComponent], imports: [CommonModule, AXIconModule], exports: [AXAlertComponent,
|
|
2361
|
+
AXAlertContentComponent,
|
|
2362
|
+
AXAlertTitleComponent,
|
|
2363
|
+
AXAlertButtonComponent,
|
|
2364
|
+
AXAlertFooterComponent,
|
|
2365
|
+
AXAlertSuffixComponent] });
|
|
2366
|
+
AXAlertModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXAlertModule, providers: [], imports: [[...MODULES$k]] });
|
|
2367
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXAlertModule, decorators: [{
|
|
2368
|
+
type: NgModule,
|
|
2369
|
+
args: [{
|
|
2370
|
+
declarations: [...COMPONENT$k],
|
|
2371
|
+
imports: [...MODULES$k],
|
|
2372
|
+
exports: [...COMPONENT$k],
|
|
2373
|
+
providers: [],
|
|
2374
|
+
}]
|
|
2375
|
+
}] });
|
|
2376
|
+
|
|
2377
|
+
class AXAvatarGroup {
|
|
2378
|
+
constructor() { }
|
|
2379
|
+
ngOnInit() { }
|
|
2380
|
+
}
|
|
2381
|
+
AXAvatarGroup.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXAvatarGroup, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
2382
|
+
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 });
|
|
2383
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXAvatarGroup, decorators: [{
|
|
2384
|
+
type: Component,
|
|
2385
|
+
args: [{
|
|
2386
|
+
selector: 'ax-avatar-group',
|
|
2387
|
+
template: `<ng-content select='ax-avatar'></ng-content>`,
|
|
2388
|
+
host: { class: 'ax-avatar-group' }
|
|
2389
|
+
}]
|
|
2390
|
+
}], ctorParameters: function () { return []; } });
|
|
2391
|
+
|
|
2392
|
+
/**
|
|
2393
|
+
* The Button is a component which detects user interaction and triggers a corresponding event
|
|
2394
|
+
*
|
|
2395
|
+
* @category Components
|
|
2396
|
+
*/
|
|
2397
|
+
class AXAvatarComponent extends AXAvatarMixin {
|
|
2398
|
+
/**
|
|
2399
|
+
* @ignore
|
|
2400
|
+
*/
|
|
2401
|
+
constructor(elementRef, cdr) {
|
|
2402
|
+
super(elementRef, cdr);
|
|
2403
|
+
this.type = 'default';
|
|
2404
|
+
}
|
|
2405
|
+
get __hostClass() {
|
|
2406
|
+
return `ax-${this.color}-default`;
|
|
2407
|
+
}
|
|
2408
|
+
}
|
|
2409
|
+
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 });
|
|
2410
|
+
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 });
|
|
2411
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXAvatarComponent, decorators: [{
|
|
2412
|
+
type: Component,
|
|
2413
|
+
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>" }]
|
|
2414
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { text: [{
|
|
2415
|
+
type: Input
|
|
2416
|
+
}], icon: [{
|
|
2417
|
+
type: Input
|
|
2418
|
+
}], src: [{
|
|
2419
|
+
type: Input
|
|
2420
|
+
}], class: [{
|
|
2421
|
+
type: Input
|
|
2422
|
+
}], type: [{
|
|
2423
|
+
type: Input
|
|
2424
|
+
}], __hostClass: [{
|
|
2425
|
+
type: HostBinding,
|
|
2426
|
+
args: ['class']
|
|
2427
|
+
}] } });
|
|
2428
|
+
|
|
2429
|
+
const COMPONENT$j = [AXAvatarComponent, AXAvatarGroup];
|
|
2430
|
+
const MODULES$j = [CommonModule];
|
|
2431
|
+
class AXAvatarModule {
|
|
2432
|
+
}
|
|
2433
|
+
AXAvatarModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXAvatarModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
2434
|
+
AXAvatarModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXAvatarModule, declarations: [AXAvatarComponent, AXAvatarGroup], imports: [CommonModule], exports: [AXAvatarComponent, AXAvatarGroup] });
|
|
2435
|
+
AXAvatarModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXAvatarModule, providers: [], imports: [[...MODULES$j]] });
|
|
2436
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXAvatarModule, decorators: [{
|
|
2437
|
+
type: NgModule,
|
|
2438
|
+
args: [{
|
|
2439
|
+
declarations: [...COMPONENT$j],
|
|
2440
|
+
imports: [...MODULES$j],
|
|
2441
|
+
exports: [...COMPONENT$j],
|
|
2442
|
+
providers: [],
|
|
2443
|
+
}]
|
|
2444
|
+
}] });
|
|
2445
|
+
|
|
2446
|
+
const AXBaseBadgeMixin = _ColorLookComponentMixin(AXBaseComponent);
|
|
2447
|
+
class AXBadgeComponent extends AXBaseBadgeMixin {
|
|
2448
|
+
constructor(elementRef, cdr) {
|
|
2449
|
+
super(elementRef, cdr);
|
|
2450
|
+
this.text = '';
|
|
2451
|
+
//TODO: ax-badge
|
|
2452
|
+
}
|
|
2453
|
+
get __hostClass() {
|
|
2454
|
+
const _class = this.look ? `ax-${this.color}-${this.look}` : `ax-${this.color}-default`;
|
|
2455
|
+
return ['ax-badge', _class, !this.text ? 'ax-badge-icon' : ''].join(' ');
|
|
2456
|
+
}
|
|
2457
|
+
}
|
|
2458
|
+
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 });
|
|
2459
|
+
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 });
|
|
2460
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXBadgeComponent, decorators: [{
|
|
2461
|
+
type: Component,
|
|
2462
|
+
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>" }]
|
|
2463
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { text: [{
|
|
2464
|
+
type: Input
|
|
2465
|
+
}], __hostClass: [{
|
|
2466
|
+
type: HostBinding,
|
|
2467
|
+
args: ['class']
|
|
2468
|
+
}] } });
|
|
2469
|
+
|
|
2470
|
+
const COMPONENT$i = [AXBadgeComponent];
|
|
2471
|
+
const MODULES$i = [CommonModule];
|
|
2472
|
+
class AXBadgeModule {
|
|
2473
|
+
}
|
|
2474
|
+
AXBadgeModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXBadgeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
2475
|
+
AXBadgeModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXBadgeModule, declarations: [AXBadgeComponent], imports: [CommonModule], exports: [AXBadgeComponent] });
|
|
2476
|
+
AXBadgeModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXBadgeModule, providers: [], imports: [[...MODULES$i]] });
|
|
2477
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXBadgeModule, decorators: [{
|
|
2478
|
+
type: NgModule,
|
|
2479
|
+
args: [{
|
|
2480
|
+
declarations: [...COMPONENT$i],
|
|
2481
|
+
imports: [...MODULES$i],
|
|
2482
|
+
exports: [...COMPONENT$i],
|
|
2483
|
+
providers: [],
|
|
2484
|
+
}]
|
|
2485
|
+
}] });
|
|
2486
|
+
|
|
2487
|
+
class AXBreadCrumbsComponent extends AXBaseComponent {
|
|
2488
|
+
constructor() {
|
|
2489
|
+
super();
|
|
2490
|
+
}
|
|
2491
|
+
}
|
|
2492
|
+
AXBreadCrumbsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXBreadCrumbsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
2493
|
+
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>" });
|
|
2494
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXBreadCrumbsComponent, decorators: [{
|
|
2495
|
+
type: Component,
|
|
2496
|
+
args: [{ selector: 'ax-breadcrumbs', host: { class: 'ax-breadcrumbs' }, template: "<ng-content select=\"ax-breadcrumbs-item\"></ng-content>" }]
|
|
2497
|
+
}], ctorParameters: function () { return []; } });
|
|
2498
|
+
|
|
2499
|
+
class AXBreadCrumbsItemComponent extends AXBaseComponent {
|
|
2500
|
+
constructor() {
|
|
2501
|
+
super();
|
|
2502
|
+
}
|
|
2503
|
+
}
|
|
2504
|
+
AXBreadCrumbsItemComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXBreadCrumbsItemComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
2505
|
+
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>" });
|
|
2506
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXBreadCrumbsItemComponent, decorators: [{
|
|
2507
|
+
type: Component,
|
|
2508
|
+
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>" }]
|
|
2509
|
+
}], ctorParameters: function () { return []; }, propDecorators: { text: [{
|
|
2510
|
+
type: Input
|
|
2511
|
+
}] } });
|
|
2512
|
+
|
|
2513
|
+
class AXBreadcrumbsModule {
|
|
2514
|
+
}
|
|
2515
|
+
AXBreadcrumbsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXBreadcrumbsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
2516
|
+
AXBreadcrumbsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXBreadcrumbsModule, declarations: [AXBreadCrumbsComponent, AXBreadCrumbsItemComponent], imports: [CommonModule], exports: [AXBreadCrumbsComponent, AXBreadCrumbsItemComponent] });
|
|
2517
|
+
AXBreadcrumbsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXBreadcrumbsModule, providers: [], imports: [[CommonModule]] });
|
|
2518
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXBreadcrumbsModule, decorators: [{
|
|
2519
|
+
type: NgModule,
|
|
2520
|
+
args: [{
|
|
2521
|
+
declarations: [AXBreadCrumbsComponent, AXBreadCrumbsItemComponent],
|
|
2522
|
+
imports: [CommonModule],
|
|
2523
|
+
exports: [AXBreadCrumbsComponent, AXBreadCrumbsItemComponent],
|
|
2524
|
+
providers: [],
|
|
2525
|
+
}]
|
|
2526
|
+
}] });
|
|
2527
|
+
|
|
2528
|
+
class AXCalendarBaseComponent extends AXBaseComponent {
|
|
2529
|
+
constructor(elementRef, cdr) {
|
|
2530
|
+
super(elementRef, cdr);
|
|
2531
|
+
this.activeViewChange = new EventEmitter();
|
|
2532
|
+
this._activeView = 'days';
|
|
2533
|
+
this.typeChange = new EventEmitter();
|
|
2534
|
+
this._type = AXConfig.get(`dateTime.calendar`);
|
|
2535
|
+
this.depthChange = new EventEmitter();
|
|
2536
|
+
this._depth = 'days';
|
|
2537
|
+
this.minChange = new EventEmitter();
|
|
2538
|
+
this.maxChange = new EventEmitter();
|
|
2539
|
+
this.disabledDatesChange = new EventEmitter();
|
|
2540
|
+
this.holidayDatesChange = new EventEmitter();
|
|
2541
|
+
}
|
|
2542
|
+
get activeView() {
|
|
2543
|
+
return this._activeView;
|
|
2544
|
+
}
|
|
2545
|
+
set activeView(v) {
|
|
2546
|
+
this._setOption({ name: 'activeView', value: v });
|
|
2547
|
+
}
|
|
2548
|
+
get type() {
|
|
2549
|
+
return this._type || AXConfig.get(`dateTime.calendar`);
|
|
2550
|
+
}
|
|
2551
|
+
set type(v) {
|
|
2552
|
+
this._setOption({
|
|
2553
|
+
name: 'type',
|
|
2554
|
+
value: v
|
|
2555
|
+
});
|
|
2556
|
+
}
|
|
2557
|
+
get depth() {
|
|
2558
|
+
return this._depth;
|
|
2559
|
+
}
|
|
2560
|
+
set depth(v) {
|
|
2561
|
+
this._setOption({
|
|
2562
|
+
name: 'depth',
|
|
2563
|
+
value: v,
|
|
2564
|
+
beforeCallback: () => {
|
|
2565
|
+
this._activeView = v;
|
|
2566
|
+
}
|
|
2567
|
+
});
|
|
2568
|
+
}
|
|
2569
|
+
get min() {
|
|
2570
|
+
return this._min;
|
|
2571
|
+
}
|
|
2572
|
+
set min(v) {
|
|
2573
|
+
this._setOption({ name: 'min', value: v });
|
|
2574
|
+
}
|
|
2575
|
+
get max() {
|
|
2576
|
+
return this._max;
|
|
2577
|
+
}
|
|
2578
|
+
set max(v) {
|
|
2579
|
+
this._setOption({ name: 'max', value: v });
|
|
2580
|
+
}
|
|
2581
|
+
get disabledDates() {
|
|
2582
|
+
return this._disabledDates;
|
|
2583
|
+
}
|
|
2584
|
+
set disabledDates(v) {
|
|
2585
|
+
this._setOption({ name: 'disabledDates', value: v });
|
|
2586
|
+
}
|
|
2587
|
+
get holidayDates() {
|
|
2588
|
+
return this._holidayDates;
|
|
2589
|
+
}
|
|
2590
|
+
set holidayDates(v) {
|
|
2591
|
+
this._setOption({ name: 'holidayDates', value: v });
|
|
2592
|
+
}
|
|
2593
|
+
}
|
|
2594
|
+
AXCalendarBaseComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXCalendarBaseComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2595
|
+
AXCalendarBaseComponent.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXCalendarBaseComponent });
|
|
2596
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXCalendarBaseComponent, decorators: [{
|
|
2597
|
+
type: Injectable
|
|
2598
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { activeViewChange: [{
|
|
2599
|
+
type: Output
|
|
2600
|
+
}], activeView: [{
|
|
2601
|
+
type: Input
|
|
2602
|
+
}], typeChange: [{
|
|
2603
|
+
type: Output
|
|
2604
|
+
}], type: [{
|
|
2605
|
+
type: Input
|
|
2606
|
+
}], depthChange: [{
|
|
2607
|
+
type: Output
|
|
2608
|
+
}], depth: [{
|
|
2609
|
+
type: Input
|
|
2610
|
+
}], minChange: [{
|
|
2611
|
+
type: Output
|
|
2612
|
+
}], min: [{
|
|
2613
|
+
type: Input
|
|
2614
|
+
}], maxChange: [{
|
|
2615
|
+
type: Output
|
|
2616
|
+
}], max: [{
|
|
2617
|
+
type: Input
|
|
2618
|
+
}], disabledDatesChange: [{
|
|
2619
|
+
type: Output
|
|
2620
|
+
}], disabledDates: [{
|
|
2621
|
+
type: Input
|
|
2622
|
+
}], holidayDatesChange: [{
|
|
2623
|
+
type: Output
|
|
2624
|
+
}], holidayDates: [{
|
|
2625
|
+
type: Input
|
|
2626
|
+
}] } });
|
|
2627
|
+
const CALENDAR_INPUTS = [
|
|
2628
|
+
'depth',
|
|
2629
|
+
'activeView',
|
|
2630
|
+
'min',
|
|
2631
|
+
'max',
|
|
2632
|
+
'disabledDates',
|
|
2633
|
+
'type',
|
|
2634
|
+
'holidayDates',
|
|
2635
|
+
];
|
|
2636
|
+
const CALENDAR_OUTPUTS = ['depthChange', 'typeChange', 'disabledDates', 'holidayDates'];
|
|
2637
|
+
|
|
2638
|
+
const AXCalendarComponentMixin = _ClickableComponenetMixin(_InteractiveComponenetMixin(_ValueComponenetMixin(AXCalendarBaseComponent)));
|
|
2639
|
+
class AXCalendarComponent extends AXCalendarComponentMixin {
|
|
2640
|
+
constructor(elementRef, cdr) {
|
|
2641
|
+
super(elementRef, cdr);
|
|
2642
|
+
this.cdr = cdr;
|
|
2643
|
+
this._today = new AXDateTime(new Date(), this.type);
|
|
2644
|
+
this._navText = '';
|
|
2645
|
+
this._todayText = '';
|
|
2646
|
+
this._slots = [];
|
|
2647
|
+
this._dayNames = [];
|
|
2648
|
+
this.onSlotClick = new EventEmitter();
|
|
2649
|
+
}
|
|
2650
|
+
get _viewRange() {
|
|
2651
|
+
const current = this._viewStartDate || this._today;
|
|
2652
|
+
switch (this.activeView) {
|
|
2653
|
+
case 'years':
|
|
2235
2654
|
let y = current.startOf('year').year;
|
|
2236
2655
|
let min = y - (y % 10) - 1;
|
|
2237
2656
|
let max = min + 11;
|
|
@@ -2381,7 +2800,7 @@ class AXCalendarComponent extends AXCalendarComponentMixin {
|
|
|
2381
2800
|
this.activeView = 'years';
|
|
2382
2801
|
}
|
|
2383
2802
|
_onOptionChanged(option) {
|
|
2384
|
-
if (option.name == 'depth' || option.name == 'activeView') {
|
|
2803
|
+
if (option.name == 'depth' || option.name == 'activeView' || option.name == 'disabledDates' || option.name == 'holidayDates') {
|
|
2385
2804
|
this._genearteSlots();
|
|
2386
2805
|
}
|
|
2387
2806
|
if (option.name == 'type') {
|
|
@@ -2433,7 +2852,6 @@ class AXCalendarComponent extends AXCalendarComponentMixin {
|
|
|
2433
2852
|
}
|
|
2434
2853
|
isDisabled(date) {
|
|
2435
2854
|
if (Array.isArray(this.disabledDates) && this.disabledDates.length != 0) {
|
|
2436
|
-
;
|
|
2437
2855
|
return this.disabledDates.some(d => date.equal(d, 'day'));
|
|
2438
2856
|
}
|
|
2439
2857
|
else if (typeof this.disabledDates == 'function') {
|
|
@@ -2455,10 +2873,10 @@ class AXCalendarComponent extends AXCalendarComponentMixin {
|
|
|
2455
2873
|
}
|
|
2456
2874
|
}
|
|
2457
2875
|
AXCalendarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXCalendarComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
2458
|
-
AXCalendarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: AXCalendarComponent, selector: "ax-calendar", inputs: { readonly: "readonly", allowNull: "allowNull", value: "value", debounceTime: "debounceTime", name: "name", checked: "checked", disabled: "disabled", tabIndex: "tabIndex", depth: "depth", activeView: "activeView", min: "min", max: "max", disabledDates: "disabledDates", type: "type", holidayDates: "holidayDates" }, outputs: { valueChange: "valueChange", onValueChanged: "onValueChanged", onBlur: "onBlur", onFocus: "onFocus", depthChange: "depthChange", typeChange: "typeChange", onSlotClick: "onSlotClick" }, host: { properties: { "class": "this.__hostClass" } }, usesInheritance: true, ngImport: i0, template: "<div class=\"ax-calendar-header\">\r\n <div>\r\n <ng-container *ngIf=\"activeView=='days'; else elseTemplate\">\r\n <ax-button class=\"ax-nav-button\"
|
|
2876
|
+
AXCalendarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: AXCalendarComponent, selector: "ax-calendar", inputs: { readonly: "readonly", allowNull: "allowNull", value: "value", debounceTime: "debounceTime", name: "name", checked: "checked", disabled: "disabled", tabIndex: "tabIndex", depth: "depth", activeView: "activeView", min: "min", max: "max", disabledDates: "disabledDates", type: "type", holidayDates: "holidayDates" }, outputs: { valueChange: "valueChange", onValueChanged: "onValueChanged", onBlur: "onBlur", onFocus: "onFocus", depthChange: "depthChange", typeChange: "typeChange", disabledDates: "disabledDates", holidayDates: "holidayDates", onSlotClick: "onSlotClick" }, host: { properties: { "class": "this.__hostClass" } }, usesInheritance: true, ngImport: i0, template: "<div class=\"ax-calendar-header\">\r\n <div>\r\n <ng-container *ngIf=\"activeView=='days'; else elseTemplate\">\r\n <ax-button class=\"ax-nav-button\" [text]=\"_navText.split(' ')[1]\" color=\"light\" look=\"blank\"\r\n (onClick)=\"_handleNavClick($event)\" [disabled]=\"disabled\">\r\n </ax-button>\r\n <ax-button class=\"ax-nav-button\" [text]=\"_navText.split(' ')[0]\" color=\"light\" look=\"blank\"\r\n (onClick)=\"_handleNavClick($event)\" [disabled]=\"disabled\">\r\n </ax-button>\r\n </ng-container>\r\n <ng-template #elseTemplate>\r\n <ax-button class=\"ax-nav-button\" [text]=\"_navText\" color=\"light\" look=\"blank\"\r\n (onClick)=\"_handleNavClick($event)\" [disabled]=\"disabled\">\r\n </ax-button>\r\n <div class=\"ax-w-28 ax-inline-block\">\r\n\r\n </div>\r\n </ng-template>\r\n </div>\r\n <div>\r\n <ax-button class=\"ax-prev-button\" color=\"light\" look=\"blank\" (onClick)=\"_handlePrevClick($event)\"\r\n [disabled]=\"disabled\">\r\n <ax-prefix>\r\n <ax-icon icon=\"ax-ic ax-ic-chevron ax-transform ax--rotate-90\"></ax-icon>\r\n </ax-prefix>\r\n </ax-button>\r\n <ax-button class=\"ax-next-button\" color=\"light\" look=\"blank\" (onClick)=\"_handleNextClick($event)\"\r\n [disabled]=\"disabled\">\r\n <ax-prefix>\r\n <ax-icon icon=\"ax-ic ax-ic-chevron ax-transform ax-rotate-90\"></ax-icon>\r\n \r\n </ax-prefix>\r\n </ax-button>\r\n </div>\r\n\r\n</div>\r\n<div class=\"ax-calendar-body\">\r\n <div [ngSwitch]=\"activeView\">\r\n <ng-container *ngSwitchCase=\"'years'\">\r\n <div class=\"ax-calendar-slots ax-calendar-slots-year\">\r\n <div tabindex=\"0\" *ngFor=\"let slot of _slots\" [ngClass]=\"slot.cssClass\"\r\n (click)=\"_handleSlotClick($event,slot)\">{{slot.text}}</div>\r\n </div>\r\n </ng-container>\r\n <ng-container *ngSwitchCase=\"'months'\">\r\n <div class=\"ax-calendar-slots ax-calendar-slots-month\">\r\n <div tabindex=\"0\" *ngFor=\"let slot of _slots\" [title]=\"slot.tooltip\" [ngClass]=\"slot.cssClass\"\r\n (click)=\"_handleSlotClick($event,slot)\">{{slot.text}}</div>\r\n </div>\r\n </ng-container>\r\n <ng-container *ngSwitchDefault>\r\n <div class=\"ax-calendar-week\">\r\n <div *ngFor=\"let d of _dayNames\">{{d}}</div>\r\n </div>\r\n <div class=\"ax-calendar-slots ax-calendar-slots-day\">\r\n <div tabindex=\"0\" *ngFor=\"let slot of _slots\" [title]=\"slot.tooltip\" [ngClass]=\"slot.cssClass\"\r\n (click)=\"_handleSlotClick($event,slot)\">{{slot.text}}</div>\r\n </div>\r\n </ng-container>\r\n </div>\r\n\r\n</div>\r\n<div class=\"ax-calendar-footer\">\r\n <ax-button class=\"dark:ax-text-danger\" [text]=\"_todayText\" color=\"dark\" look=\"blank\" size=\"sm\"\r\n (onClick)=\"_handleGoToday()\" [disabled]=\"disabled\"></ax-button>\r\n</div>", components: [{ type: AXButtonComponent, selector: "ax-button", inputs: ["disabled", "tabIndex", "size", "color", "look", "text", "submitBehavior", "cancelBehavior", "toggleable", "selected"], outputs: ["onBlur", "onFocus", "onClick", "selectedChange", "toggleableChange"] }, { type: AXDecoratorPrefixComponent, selector: "ax-prefix" }, { type: AXIconComponent, selector: "ax-icon", inputs: ["icon"] }], directives: [{ type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { type: i1.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i1.NgSwitchDefault, selector: "[ngSwitchDefault]" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
2459
2877
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXCalendarComponent, decorators: [{
|
|
2460
2878
|
type: Component,
|
|
2461
|
-
args: [{ selector: 'ax-calendar', changeDetection: ChangeDetectionStrategy.OnPush, inputs: [...VALUE_INPUTS, ...INTERACTIVE_INPUTS, ...CALENDAR_INPUTS], outputs: [...VALUE_OUTPUT, ...INTERACTIVE_OUTPUT, ...CALENDAR_OUTPUTS], encapsulation: ViewEncapsulation.None, template: "<div class=\"ax-calendar-header\">\r\n <div>\r\n <ng-container *ngIf=\"activeView=='days'; else elseTemplate\">\r\n <ax-button class=\"ax-nav-button\"
|
|
2879
|
+
args: [{ selector: 'ax-calendar', changeDetection: ChangeDetectionStrategy.OnPush, inputs: [...VALUE_INPUTS, ...INTERACTIVE_INPUTS, ...CALENDAR_INPUTS], outputs: [...VALUE_OUTPUT, ...INTERACTIVE_OUTPUT, ...CALENDAR_OUTPUTS], encapsulation: ViewEncapsulation.None, template: "<div class=\"ax-calendar-header\">\r\n <div>\r\n <ng-container *ngIf=\"activeView=='days'; else elseTemplate\">\r\n <ax-button class=\"ax-nav-button\" [text]=\"_navText.split(' ')[1]\" color=\"light\" look=\"blank\"\r\n (onClick)=\"_handleNavClick($event)\" [disabled]=\"disabled\">\r\n </ax-button>\r\n <ax-button class=\"ax-nav-button\" [text]=\"_navText.split(' ')[0]\" color=\"light\" look=\"blank\"\r\n (onClick)=\"_handleNavClick($event)\" [disabled]=\"disabled\">\r\n </ax-button>\r\n </ng-container>\r\n <ng-template #elseTemplate>\r\n <ax-button class=\"ax-nav-button\" [text]=\"_navText\" color=\"light\" look=\"blank\"\r\n (onClick)=\"_handleNavClick($event)\" [disabled]=\"disabled\">\r\n </ax-button>\r\n <div class=\"ax-w-28 ax-inline-block\">\r\n\r\n </div>\r\n </ng-template>\r\n </div>\r\n <div>\r\n <ax-button class=\"ax-prev-button\" color=\"light\" look=\"blank\" (onClick)=\"_handlePrevClick($event)\"\r\n [disabled]=\"disabled\">\r\n <ax-prefix>\r\n <ax-icon icon=\"ax-ic ax-ic-chevron ax-transform ax--rotate-90\"></ax-icon>\r\n </ax-prefix>\r\n </ax-button>\r\n <ax-button class=\"ax-next-button\" color=\"light\" look=\"blank\" (onClick)=\"_handleNextClick($event)\"\r\n [disabled]=\"disabled\">\r\n <ax-prefix>\r\n <ax-icon icon=\"ax-ic ax-ic-chevron ax-transform ax-rotate-90\"></ax-icon>\r\n \r\n </ax-prefix>\r\n </ax-button>\r\n </div>\r\n\r\n</div>\r\n<div class=\"ax-calendar-body\">\r\n <div [ngSwitch]=\"activeView\">\r\n <ng-container *ngSwitchCase=\"'years'\">\r\n <div class=\"ax-calendar-slots ax-calendar-slots-year\">\r\n <div tabindex=\"0\" *ngFor=\"let slot of _slots\" [ngClass]=\"slot.cssClass\"\r\n (click)=\"_handleSlotClick($event,slot)\">{{slot.text}}</div>\r\n </div>\r\n </ng-container>\r\n <ng-container *ngSwitchCase=\"'months'\">\r\n <div class=\"ax-calendar-slots ax-calendar-slots-month\">\r\n <div tabindex=\"0\" *ngFor=\"let slot of _slots\" [title]=\"slot.tooltip\" [ngClass]=\"slot.cssClass\"\r\n (click)=\"_handleSlotClick($event,slot)\">{{slot.text}}</div>\r\n </div>\r\n </ng-container>\r\n <ng-container *ngSwitchDefault>\r\n <div class=\"ax-calendar-week\">\r\n <div *ngFor=\"let d of _dayNames\">{{d}}</div>\r\n </div>\r\n <div class=\"ax-calendar-slots ax-calendar-slots-day\">\r\n <div tabindex=\"0\" *ngFor=\"let slot of _slots\" [title]=\"slot.tooltip\" [ngClass]=\"slot.cssClass\"\r\n (click)=\"_handleSlotClick($event,slot)\">{{slot.text}}</div>\r\n </div>\r\n </ng-container>\r\n </div>\r\n\r\n</div>\r\n<div class=\"ax-calendar-footer\">\r\n <ax-button class=\"dark:ax-text-danger\" [text]=\"_todayText\" color=\"dark\" look=\"blank\" size=\"sm\"\r\n (onClick)=\"_handleGoToday()\" [disabled]=\"disabled\"></ax-button>\r\n</div>" }]
|
|
2462
2880
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { onSlotClick: [{
|
|
2463
2881
|
type: Output
|
|
2464
2882
|
}], __hostClass: [{
|
|
@@ -2466,19 +2884,19 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
|
|
|
2466
2884
|
args: ['class']
|
|
2467
2885
|
}] } });
|
|
2468
2886
|
|
|
2469
|
-
const COMPONENT$
|
|
2470
|
-
const MODULES$
|
|
2887
|
+
const COMPONENT$h = [AXCalendarComponent];
|
|
2888
|
+
const MODULES$h = [CommonModule, AXButtonModule, AXIconModule, AXEditorDecoratorModule, AXDateTimeModule];
|
|
2471
2889
|
class AXCalendarModule {
|
|
2472
2890
|
}
|
|
2473
2891
|
AXCalendarModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXCalendarModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
2474
2892
|
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$
|
|
2893
|
+
AXCalendarModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXCalendarModule, providers: [], imports: [[...MODULES$h]] });
|
|
2476
2894
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXCalendarModule, decorators: [{
|
|
2477
2895
|
type: NgModule,
|
|
2478
2896
|
args: [{
|
|
2479
|
-
declarations: [...COMPONENT$
|
|
2480
|
-
imports: [...MODULES$
|
|
2481
|
-
exports: [...COMPONENT$
|
|
2897
|
+
declarations: [...COMPONENT$h],
|
|
2898
|
+
imports: [...MODULES$h],
|
|
2899
|
+
exports: [...COMPONENT$h],
|
|
2482
2900
|
providers: [],
|
|
2483
2901
|
}]
|
|
2484
2902
|
}] });
|
|
@@ -2943,19 +3361,19 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
|
|
|
2943
3361
|
}]
|
|
2944
3362
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: AXCarouselComponent }]; } });
|
|
2945
3363
|
|
|
2946
|
-
const COMPONENT$
|
|
2947
|
-
const MODULES$
|
|
3364
|
+
const COMPONENT$g = [AXCarouselComponent, AXCarouselItemComponent, AXCarouselArrowsComponent, AXCarouselPagerComponent];
|
|
3365
|
+
const MODULES$g = [CommonModule];
|
|
2948
3366
|
class AXCarouselModule {
|
|
2949
3367
|
}
|
|
2950
3368
|
AXCarouselModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXCarouselModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
2951
3369
|
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$
|
|
3370
|
+
AXCarouselModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXCarouselModule, providers: [], imports: [[...MODULES$g]] });
|
|
2953
3371
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXCarouselModule, decorators: [{
|
|
2954
3372
|
type: NgModule,
|
|
2955
3373
|
args: [{
|
|
2956
|
-
declarations: [...COMPONENT$
|
|
2957
|
-
imports: [...MODULES$
|
|
2958
|
-
exports: [...COMPONENT$
|
|
3374
|
+
declarations: [...COMPONENT$g],
|
|
3375
|
+
imports: [...MODULES$g],
|
|
3376
|
+
exports: [...COMPONENT$g],
|
|
2959
3377
|
providers: [],
|
|
2960
3378
|
}]
|
|
2961
3379
|
}] });
|
|
@@ -3332,8 +3750,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
|
|
|
3332
3750
|
args: ['axIsLoading']
|
|
3333
3751
|
}] } });
|
|
3334
3752
|
|
|
3335
|
-
const COMPONENT$
|
|
3336
|
-
const MODULES$
|
|
3753
|
+
const COMPONENT$f = [AXLoadingComponent, AXLoadingDirective, AXLoadingSpinnerComponent];
|
|
3754
|
+
const MODULES$f = [CommonModule, OverlayModule, PortalModule];
|
|
3337
3755
|
class AXLoadingModule {
|
|
3338
3756
|
constructor() {
|
|
3339
3757
|
AXConfig.set({
|
|
@@ -3347,13 +3765,13 @@ class AXLoadingModule {
|
|
|
3347
3765
|
}
|
|
3348
3766
|
AXLoadingModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXLoadingModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
3349
3767
|
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$
|
|
3768
|
+
AXLoadingModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXLoadingModule, providers: [], imports: [[...MODULES$f]] });
|
|
3351
3769
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXLoadingModule, decorators: [{
|
|
3352
3770
|
type: NgModule,
|
|
3353
3771
|
args: [{
|
|
3354
|
-
declarations: [...COMPONENT$
|
|
3355
|
-
imports: [...MODULES$
|
|
3356
|
-
exports: [...COMPONENT$
|
|
3772
|
+
declarations: [...COMPONENT$f],
|
|
3773
|
+
imports: [...MODULES$f],
|
|
3774
|
+
exports: [...COMPONENT$f],
|
|
3357
3775
|
providers: [],
|
|
3358
3776
|
}]
|
|
3359
3777
|
}], ctorParameters: function () { return []; } });
|
|
@@ -3634,19 +4052,19 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
|
|
|
3634
4052
|
}]
|
|
3635
4053
|
}], ctorParameters: function () { return [{ type: i0.NgZone }, { type: AXOverlayService }]; } });
|
|
3636
4054
|
|
|
3637
|
-
const COMPONENT$
|
|
3638
|
-
const MODULES$
|
|
4055
|
+
const COMPONENT$e = [AXDataListComponent];
|
|
4056
|
+
const MODULES$e = [CommonModule, AXButtonModule, AXLoadingModule, AXTranslationModule];
|
|
3639
4057
|
class AXDataListModule {
|
|
3640
4058
|
}
|
|
3641
4059
|
AXDataListModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXDataListModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
3642
4060
|
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$
|
|
4061
|
+
AXDataListModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXDataListModule, providers: [], imports: [[...MODULES$e]] });
|
|
3644
4062
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXDataListModule, decorators: [{
|
|
3645
4063
|
type: NgModule,
|
|
3646
4064
|
args: [{
|
|
3647
|
-
declarations: [...COMPONENT$
|
|
3648
|
-
imports: [...MODULES$
|
|
3649
|
-
exports: [...COMPONENT$
|
|
4065
|
+
declarations: [...COMPONENT$e],
|
|
4066
|
+
imports: [...MODULES$e],
|
|
4067
|
+
exports: [...COMPONENT$e],
|
|
3650
4068
|
providers: [],
|
|
3651
4069
|
}]
|
|
3652
4070
|
}] });
|
|
@@ -4008,10 +4426,10 @@ class AXDatePickerComponent extends AXBaseDatePickerMixin {
|
|
|
4008
4426
|
}
|
|
4009
4427
|
}
|
|
4010
4428
|
AXDatePickerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXDatePickerComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: i1$3.AXPlatform }], target: i0.ɵɵFactoryTarget.Component });
|
|
4011
|
-
AXDatePickerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: AXDatePickerComponent, selector: "ax-date-picker", inputs: { isOpen: "isOpen", fitParent: "fitParent", dropdownWidth: "dropdownWidth", position: "position", disabled: "disabled", tabIndex: "tabIndex", readonly: "readonly", allowNull: "allowNull", value: "value", debounceTime: "debounceTime", name: "name", checked: "checked", placeholder: "placeholder", maxLength: "maxLength", type: "type", depth: "depth", activeView: "activeView", min: "min", max: "max", disabledDates: "disabledDates", holidayDates: "holidayDates", format: "format" }, outputs: { onOpened: "onOpened", onClosed: "onClosed", onBlur: "onBlur", onFocus: "onFocus", valueChange: "valueChange", onValueChanged: "onValueChanged", depthChange: "depthChange", typeChange: "typeChange", formatChange: "formatChange" }, host: { classAttribute: "ax-editor-container ax-drop-down" }, viewQueries: [{ propertyName: "popover", first: true, predicate: AXPopoverComponent, descendants: true, static: true }, { propertyName: "_calendar", first: true, predicate: AXCalendarComponent, descendants: true, static: true }], usesInheritance: true, ngImport: i0, template: "<ng-content select=\"ax-prefix\">\r\n</ng-content>\r\n<div class=\"ax-dropdown-content\">\r\n <input class=\"ax-input\" type=\"text\" [attr.placeholder]=\"placeholder\" [class.ax-state-disabled]=\"disabled\"\r\n [class.ax-state-readonly]=\"readonly\" [disabled]=\"disabled\" [readonly]=\"readonly\" [tabindex]=\"tabIndex\"\r\n [ngModel]=\"displayText\" (focus)=\"_emitOnFocusEvent($event)\" (mouseup)=\"_handleOnInputClickEvent($event)\"\r\n (blur)=\"_emitOnBlurEvent($event)\" (keydown)=\"_handleOnKeydownEvent($event)\">\r\n</div>\r\n<ax-button [disabled]=\"disabled\" [tabIndex]=\"-1\" color=\"light\" look=\"blank\" (onClick)=\"_handleArrowClickEvent($event)\">\r\n <ax-icon icon=\"ax-ic ax-ic-chevron ax-transform ax--rotate-90\"></ax-icon>\r\n</ax-button>\r\n<ng-content select=\"ax-suffix\">\r\n</ng-content>\r\n<ng-content select=\"ax-validation-rule\">\r\n</ng-content>\r\n<ax-popover [target]=\"_target\" [position]=\"position\" [openTrigger]=\"'manual'\" [closeTrigger]=\"'clickout'\">\r\n <div class=\"ax-overlay-pane\"
|
|
4429
|
+
AXDatePickerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: AXDatePickerComponent, selector: "ax-date-picker", inputs: { isOpen: "isOpen", fitParent: "fitParent", dropdownWidth: "dropdownWidth", position: "position", disabled: "disabled", tabIndex: "tabIndex", readonly: "readonly", allowNull: "allowNull", value: "value", debounceTime: "debounceTime", name: "name", checked: "checked", placeholder: "placeholder", maxLength: "maxLength", type: "type", depth: "depth", activeView: "activeView", min: "min", max: "max", disabledDates: "disabledDates", holidayDates: "holidayDates", format: "format" }, outputs: { onOpened: "onOpened", onClosed: "onClosed", onBlur: "onBlur", onFocus: "onFocus", valueChange: "valueChange", onValueChanged: "onValueChanged", depthChange: "depthChange", typeChange: "typeChange", disabledDates: "disabledDates", holidayDates: "holidayDates", formatChange: "formatChange" }, host: { classAttribute: "ax-editor-container ax-drop-down" }, viewQueries: [{ propertyName: "popover", first: true, predicate: AXPopoverComponent, descendants: true, static: true }, { propertyName: "_calendar", first: true, predicate: AXCalendarComponent, descendants: true, static: true }], usesInheritance: true, ngImport: i0, template: "<ng-content select=\"ax-prefix\">\r\n</ng-content>\r\n<div class=\"ax-dropdown-content\">\r\n <input class=\"ax-input\" type=\"text\" [attr.placeholder]=\"placeholder\" [class.ax-state-disabled]=\"disabled\"\r\n [class.ax-state-readonly]=\"readonly\" [disabled]=\"disabled\" [readonly]=\"readonly\" [tabindex]=\"tabIndex\"\r\n [ngModel]=\"displayText\" (focus)=\"_emitOnFocusEvent($event)\" (mouseup)=\"_handleOnInputClickEvent($event)\"\r\n (blur)=\"_emitOnBlurEvent($event)\" (keydown)=\"_handleOnKeydownEvent($event)\">\r\n</div>\r\n<ax-button [disabled]=\"disabled\" [tabIndex]=\"-1\" color=\"light\" look=\"blank\" (onClick)=\"_handleArrowClickEvent($event)\">\r\n <ax-icon icon=\"ax-ic ax-ic-chevron ax-transform ax--rotate-90\"></ax-icon>\r\n</ax-button>\r\n<ng-content select=\"ax-suffix\">\r\n</ng-content>\r\n<ng-content select=\"ax-validation-rule\">\r\n</ng-content>\r\n<ax-popover [target]=\"_target\" [position]=\"position\" [openTrigger]=\"'manual'\" [closeTrigger]=\"'clickout'\">\r\n <div class=\"ax-overlay-pane ax-w-72\">\r\n <div *ngIf=\"_isMobile\" class=\"ax-overlay-pane-header\">\r\n <span >{{placeholder || 'Choose a date'}}</span>\r\n <i class=\"ax-ic ax-ic-close \"\r\n (click)=\"close()\" tabindex=\"1\"></i>\r\n </div>\r\n <ax-calendar #calendar [disabled]=\"disabled\" [readonly]=\"readonly\" [(value)]=\"value\" [min]=\"min\" [max]=\"max\"\r\n [disabledDates]=\"disabledDates\" [holidayDates]=\"holidayDates\" [depth]=\"depth\" [type]=\"type\">\r\n </ax-calendar>\r\n </div>\r\n</ax-popover>", components: [{ type: AXButtonComponent, selector: "ax-button", inputs: ["disabled", "tabIndex", "size", "color", "look", "text", "submitBehavior", "cancelBehavior", "toggleable", "selected"], outputs: ["onBlur", "onFocus", "onClick", "selectedChange", "toggleableChange"] }, { type: AXIconComponent, selector: "ax-icon", inputs: ["icon"] }, { type: AXPopoverComponent, selector: "ax-popover", inputs: ["target", "position", "openTrigger", "closeTrigger", "hasBackdrop", "backdropClass"], outputs: ["onOpened", "onClosed"] }, { type: AXCalendarComponent, selector: "ax-calendar", inputs: ["readonly", "allowNull", "value", "debounceTime", "name", "checked", "disabled", "tabIndex", "depth", "activeView", "min", "max", "disabledDates", "type", "holidayDates"], outputs: ["valueChange", "onValueChanged", "onBlur", "onFocus", "depthChange", "typeChange", "disabledDates", "holidayDates", "onSlotClick"] }], directives: [{ type: i1$1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { type: i1$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i1$1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
4012
4430
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXDatePickerComponent, decorators: [{
|
|
4013
4431
|
type: Component,
|
|
4014
|
-
args: [{ selector: 'ax-date-picker', inputs: [...DROPDOWN_INPUTS, ...INTERACTIVE_INPUTS, ...VALUE_INPUTS, ...TEXTBOX_INPUTS, ...CALENDAR_INPUTS], outputs: [...DROPDOWN_OUTPUT, ...INTERACTIVE_OUTPUT, ...VALUE_OUTPUT, ...TEXTBOX_OUTPUT, ...CALENDAR_OUTPUTS], changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, host: { class: 'ax-editor-container ax-drop-down' }, template: "<ng-content select=\"ax-prefix\">\r\n</ng-content>\r\n<div class=\"ax-dropdown-content\">\r\n <input class=\"ax-input\" type=\"text\" [attr.placeholder]=\"placeholder\" [class.ax-state-disabled]=\"disabled\"\r\n [class.ax-state-readonly]=\"readonly\" [disabled]=\"disabled\" [readonly]=\"readonly\" [tabindex]=\"tabIndex\"\r\n [ngModel]=\"displayText\" (focus)=\"_emitOnFocusEvent($event)\" (mouseup)=\"_handleOnInputClickEvent($event)\"\r\n (blur)=\"_emitOnBlurEvent($event)\" (keydown)=\"_handleOnKeydownEvent($event)\">\r\n</div>\r\n<ax-button [disabled]=\"disabled\" [tabIndex]=\"-1\" color=\"light\" look=\"blank\" (onClick)=\"_handleArrowClickEvent($event)\">\r\n <ax-icon icon=\"ax-ic ax-ic-chevron ax-transform ax--rotate-90\"></ax-icon>\r\n</ax-button>\r\n<ng-content select=\"ax-suffix\">\r\n</ng-content>\r\n<ng-content select=\"ax-validation-rule\">\r\n</ng-content>\r\n<ax-popover [target]=\"_target\" [position]=\"position\" [openTrigger]=\"'manual'\" [closeTrigger]=\"'clickout'\">\r\n <div class=\"ax-overlay-pane\"
|
|
4432
|
+
args: [{ selector: 'ax-date-picker', inputs: [...DROPDOWN_INPUTS, ...INTERACTIVE_INPUTS, ...VALUE_INPUTS, ...TEXTBOX_INPUTS, ...CALENDAR_INPUTS], outputs: [...DROPDOWN_OUTPUT, ...INTERACTIVE_OUTPUT, ...VALUE_OUTPUT, ...TEXTBOX_OUTPUT, ...CALENDAR_OUTPUTS], changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, host: { class: 'ax-editor-container ax-drop-down' }, template: "<ng-content select=\"ax-prefix\">\r\n</ng-content>\r\n<div class=\"ax-dropdown-content\">\r\n <input class=\"ax-input\" type=\"text\" [attr.placeholder]=\"placeholder\" [class.ax-state-disabled]=\"disabled\"\r\n [class.ax-state-readonly]=\"readonly\" [disabled]=\"disabled\" [readonly]=\"readonly\" [tabindex]=\"tabIndex\"\r\n [ngModel]=\"displayText\" (focus)=\"_emitOnFocusEvent($event)\" (mouseup)=\"_handleOnInputClickEvent($event)\"\r\n (blur)=\"_emitOnBlurEvent($event)\" (keydown)=\"_handleOnKeydownEvent($event)\">\r\n</div>\r\n<ax-button [disabled]=\"disabled\" [tabIndex]=\"-1\" color=\"light\" look=\"blank\" (onClick)=\"_handleArrowClickEvent($event)\">\r\n <ax-icon icon=\"ax-ic ax-ic-chevron ax-transform ax--rotate-90\"></ax-icon>\r\n</ax-button>\r\n<ng-content select=\"ax-suffix\">\r\n</ng-content>\r\n<ng-content select=\"ax-validation-rule\">\r\n</ng-content>\r\n<ax-popover [target]=\"_target\" [position]=\"position\" [openTrigger]=\"'manual'\" [closeTrigger]=\"'clickout'\">\r\n <div class=\"ax-overlay-pane ax-w-72\">\r\n <div *ngIf=\"_isMobile\" class=\"ax-overlay-pane-header\">\r\n <span >{{placeholder || 'Choose a date'}}</span>\r\n <i class=\"ax-ic ax-ic-close \"\r\n (click)=\"close()\" tabindex=\"1\"></i>\r\n </div>\r\n <ax-calendar #calendar [disabled]=\"disabled\" [readonly]=\"readonly\" [(value)]=\"value\" [min]=\"min\" [max]=\"max\"\r\n [disabledDates]=\"disabledDates\" [holidayDates]=\"holidayDates\" [depth]=\"depth\" [type]=\"type\">\r\n </ax-calendar>\r\n </div>\r\n</ax-popover>" }]
|
|
4015
4433
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: i1$3.AXPlatform }]; }, propDecorators: { popover: [{
|
|
4016
4434
|
type: ViewChild,
|
|
4017
4435
|
args: [AXPopoverComponent, { static: true }]
|
|
@@ -4094,8 +4512,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
|
|
|
4094
4512
|
}]
|
|
4095
4513
|
}] });
|
|
4096
4514
|
|
|
4097
|
-
const COMPONENT$
|
|
4098
|
-
const MODULES$
|
|
4515
|
+
const COMPONENT$d = [AXDatePickerComponent];
|
|
4516
|
+
const MODULES$d = [
|
|
4099
4517
|
CommonModule,
|
|
4100
4518
|
AXCalendarModule,
|
|
4101
4519
|
AXTextBoxModule,
|
|
@@ -4118,13 +4536,13 @@ AXDatepickerModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", vers
|
|
|
4118
4536
|
AXIconModule,
|
|
4119
4537
|
AXDateTimeModule,
|
|
4120
4538
|
FormsModule], exports: [AXDatePickerComponent] });
|
|
4121
|
-
AXDatepickerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXDatepickerModule, providers: [], imports: [[...MODULES$
|
|
4539
|
+
AXDatepickerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXDatepickerModule, providers: [], imports: [[...MODULES$d]] });
|
|
4122
4540
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXDatepickerModule, decorators: [{
|
|
4123
4541
|
type: NgModule,
|
|
4124
4542
|
args: [{
|
|
4125
|
-
declarations: [...COMPONENT$
|
|
4126
|
-
imports: [...MODULES$
|
|
4127
|
-
exports: [...COMPONENT$
|
|
4543
|
+
declarations: [...COMPONENT$d],
|
|
4544
|
+
imports: [...MODULES$d],
|
|
4545
|
+
exports: [...COMPONENT$d],
|
|
4128
4546
|
providers: [],
|
|
4129
4547
|
}]
|
|
4130
4548
|
}] });
|
|
@@ -4297,125 +4715,30 @@ class AXDialogService {
|
|
|
4297
4715
|
AXDialogService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXDialogService, deps: [{ token: i1$4.Overlay }, { token: i0.Injector }, { token: i1$4.ScrollStrategyOptions }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4298
4716
|
AXDialogService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXDialogService, providedIn: 'root' });
|
|
4299
4717
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXDialogService, decorators: [{
|
|
4300
|
-
type: Injectable,
|
|
4301
|
-
args: [{ providedIn: 'root' }]
|
|
4302
|
-
}], ctorParameters: function () { return [{ type: i1$4.Overlay }, { type: i0.Injector }, { type: i1$4.ScrollStrategyOptions }]; } });
|
|
4303
|
-
|
|
4304
|
-
class AXPageComponent extends AXBaseComponentMixin {
|
|
4305
|
-
constructor(elementRef, cdr, _loadingService) {
|
|
4306
|
-
super(elementRef, cdr);
|
|
4307
|
-
this._loadingService = _loadingService;
|
|
4308
|
-
// private _isLoading: boolean = false;
|
|
4309
|
-
// public get isLoading(): boolean {
|
|
4310
|
-
// return this._isLoading;
|
|
4311
|
-
// }
|
|
4312
|
-
// public set isLoading(v: boolean) {
|
|
4313
|
-
// this._isLoading = v;
|
|
4314
|
-
// if (this._loadingId && !v) {
|
|
4315
|
-
// this._loadingService.hide(this._loadingId);
|
|
4316
|
-
// this._loadingId = null;
|
|
4317
|
-
// }
|
|
4318
|
-
// if (v) {
|
|
4319
|
-
// this._loadingId = this._loadingService.show(this._getHostElement());
|
|
4320
|
-
// }
|
|
4321
|
-
// }
|
|
4322
|
-
this.isLoadingChange = new EventEmitter();
|
|
4323
|
-
this._isLoading = false;
|
|
4324
|
-
}
|
|
4325
|
-
get isLoading() {
|
|
4326
|
-
return this._isLoading;
|
|
4327
|
-
}
|
|
4328
|
-
set isLoading(v) {
|
|
4329
|
-
this._setOption({
|
|
4330
|
-
name: 'isLoading',
|
|
4331
|
-
value: v,
|
|
4332
|
-
afterCallback: () => {
|
|
4333
|
-
if (this._loadingId && !v) {
|
|
4334
|
-
this._loadingService.hide(this._loadingId);
|
|
4335
|
-
this._loadingId = null;
|
|
4336
|
-
}
|
|
4337
|
-
if (v) {
|
|
4338
|
-
this._loadingId = this._loadingService.show(this._getHostElement());
|
|
4339
|
-
}
|
|
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) {
|
|
4718
|
+
type: Injectable,
|
|
4719
|
+
args: [{ providedIn: 'root' }]
|
|
4720
|
+
}], ctorParameters: function () { return [{ type: i1$4.Overlay }, { type: i0.Injector }, { type: i1$4.ScrollStrategyOptions }]; } });
|
|
4721
|
+
|
|
4722
|
+
class AXPageComponent extends AXBaseComponentMixin {
|
|
4723
|
+
constructor(elementRef, cdr, _loadingService) {
|
|
4414
4724
|
super(elementRef, cdr);
|
|
4725
|
+
this._loadingService = _loadingService;
|
|
4726
|
+
// private _isLoading: boolean = false;
|
|
4727
|
+
// public get isLoading(): boolean {
|
|
4728
|
+
// return this._isLoading;
|
|
4729
|
+
// }
|
|
4730
|
+
// public set isLoading(v: boolean) {
|
|
4731
|
+
// this._isLoading = v;
|
|
4732
|
+
// if (this._loadingId && !v) {
|
|
4733
|
+
// this._loadingService.hide(this._loadingId);
|
|
4734
|
+
// this._loadingId = null;
|
|
4735
|
+
// }
|
|
4736
|
+
// if (v) {
|
|
4737
|
+
// this._loadingId = this._loadingService.show(this._getHostElement());
|
|
4738
|
+
// }
|
|
4739
|
+
// }
|
|
4415
4740
|
this.isLoadingChange = new EventEmitter();
|
|
4416
4741
|
this._isLoading = false;
|
|
4417
|
-
this._isPopup = false;
|
|
4418
|
-
this.onClosed = new EventEmitter();
|
|
4419
4742
|
}
|
|
4420
4743
|
get isLoading() {
|
|
4421
4744
|
return this._isLoading;
|
|
@@ -4425,382 +4748,188 @@ class AXBasePageComponent extends AXBaseComponentMixin {
|
|
|
4425
4748
|
name: 'isLoading',
|
|
4426
4749
|
value: v,
|
|
4427
4750
|
afterCallback: () => {
|
|
4428
|
-
if (this.
|
|
4429
|
-
this.
|
|
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();
|
|
4751
|
+
if (this._loadingId && !v) {
|
|
4752
|
+
this._loadingService.hide(this._loadingId);
|
|
4753
|
+
this._loadingId = null;
|
|
4580
4754
|
}
|
|
4581
|
-
|
|
4582
|
-
|
|
4583
|
-
elm.classList.add('ax-expanded');
|
|
4584
|
-
elm.classList.remove('ax-collapsed');
|
|
4585
|
-
if (this._currentMode == 'overlay') {
|
|
4586
|
-
this._addBackdrop();
|
|
4755
|
+
if (v) {
|
|
4756
|
+
this._loadingId = this._loadingService.show(this._getHostElement());
|
|
4587
4757
|
}
|
|
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;
|
|
4758
|
+
this._cdr.markForCheck();
|
|
4759
|
+
}
|
|
4760
|
+
});
|
|
4661
4761
|
}
|
|
4662
4762
|
}
|
|
4663
|
-
|
|
4664
|
-
|
|
4665
|
-
|
|
4666
|
-
|
|
4667
|
-
|
|
4668
|
-
|
|
4763
|
+
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 });
|
|
4764
|
+
AXPageComponent.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXPageComponent });
|
|
4765
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXPageComponent, decorators: [{
|
|
4766
|
+
type: Injectable
|
|
4767
|
+
}], ctorParameters: function () {
|
|
4768
|
+
return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: undefined, decorators: [{
|
|
4769
|
+
type: Inject,
|
|
4770
|
+
args: [AXLoadingService]
|
|
4771
|
+
}] }];
|
|
4772
|
+
}, propDecorators: { isLoadingChange: [{
|
|
4773
|
+
type: Output
|
|
4774
|
+
}], isLoading: [{
|
|
4775
|
+
type: Input
|
|
4776
|
+
}] } });
|
|
4777
|
+
|
|
4778
|
+
class AXPageFooterComponent {
|
|
4779
|
+
}
|
|
4780
|
+
AXPageFooterComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXPageFooterComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
4781
|
+
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: `
|
|
4782
|
+
<ng-content select="ax-prefix">
|
|
4783
|
+
</ng-content>
|
|
4784
|
+
<ng-content select="ax-suffix">
|
|
4785
|
+
</ng-content>
|
|
4786
|
+
`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
4787
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXPageFooterComponent, decorators: [{
|
|
4669
4788
|
type: Component,
|
|
4670
4789
|
args: [{
|
|
4671
|
-
selector: 'ax-
|
|
4790
|
+
selector: 'ax-page-footer',
|
|
4672
4791
|
template: `
|
|
4673
|
-
|
|
4674
|
-
|
|
4792
|
+
<ng-content select="ax-prefix">
|
|
4793
|
+
</ng-content>
|
|
4794
|
+
<ng-content select="ax-suffix">
|
|
4795
|
+
</ng-content>
|
|
4675
4796
|
`,
|
|
4676
|
-
changeDetection: ChangeDetectionStrategy.OnPush
|
|
4677
|
-
encapsulation: ViewEncapsulation.None,
|
|
4678
|
-
host: { class: 'ax-drawer ax-transition-all' }
|
|
4797
|
+
changeDetection: ChangeDetectionStrategy.OnPush
|
|
4679
4798
|
}]
|
|
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']]
|
|
4799
|
+
}], propDecorators: { template: [{
|
|
4800
|
+
type: ViewChild,
|
|
4801
|
+
args: [TemplateRef, { static: true }]
|
|
4691
4802
|
}] } });
|
|
4692
4803
|
|
|
4693
|
-
|
|
4694
|
-
|
|
4804
|
+
const TAB_META_KEY = '__meta__';
|
|
4805
|
+
class AXPageCloseEvent extends AXEvent {
|
|
4806
|
+
}
|
|
4807
|
+
class AXPageClosing {
|
|
4808
|
+
constructor() {
|
|
4809
|
+
this.cancel = false;
|
|
4810
|
+
}
|
|
4811
|
+
}
|
|
4812
|
+
class AXPageResult {
|
|
4813
|
+
}
|
|
4814
|
+
/**
|
|
4815
|
+
* 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.
|
|
4816
|
+
*/
|
|
4817
|
+
class AXPageClosedPromise extends Promise {
|
|
4818
|
+
constructor(executor) {
|
|
4819
|
+
super(executor);
|
|
4820
|
+
}
|
|
4821
|
+
close() {
|
|
4822
|
+
if (this.closeMethod) {
|
|
4823
|
+
this.closeMethod();
|
|
4824
|
+
}
|
|
4825
|
+
}
|
|
4826
|
+
}
|
|
4827
|
+
class AXBasePageComponent extends AXBaseComponentMixin {
|
|
4828
|
+
/**
|
|
4829
|
+
* @ignore
|
|
4830
|
+
*/
|
|
4831
|
+
constructor(elementRef, cdr) {
|
|
4695
4832
|
super(elementRef, cdr);
|
|
4696
|
-
this.
|
|
4833
|
+
this.isLoadingChange = new EventEmitter();
|
|
4834
|
+
this._isLoading = false;
|
|
4835
|
+
this._isPopup = false;
|
|
4836
|
+
this.onClosed = new EventEmitter();
|
|
4697
4837
|
}
|
|
4698
|
-
|
|
4699
|
-
this.
|
|
4700
|
-
|
|
4701
|
-
|
|
4702
|
-
|
|
4703
|
-
|
|
4704
|
-
|
|
4705
|
-
|
|
4706
|
-
|
|
4707
|
-
|
|
4708
|
-
|
|
4709
|
-
|
|
4838
|
+
get isLoading() {
|
|
4839
|
+
return this._isLoading;
|
|
4840
|
+
}
|
|
4841
|
+
set isLoading(v) {
|
|
4842
|
+
this._setOption({
|
|
4843
|
+
name: 'isLoading',
|
|
4844
|
+
value: v,
|
|
4845
|
+
afterCallback: () => {
|
|
4846
|
+
if (this.pageContainer) {
|
|
4847
|
+
this.pageContainer.isLoading = this.isLoading;
|
|
4848
|
+
}
|
|
4849
|
+
this._cdr.markForCheck();
|
|
4850
|
+
}
|
|
4710
4851
|
});
|
|
4711
4852
|
}
|
|
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`);
|
|
4853
|
+
get isPopup() {
|
|
4854
|
+
return this._isPopup;
|
|
4855
|
+
}
|
|
4856
|
+
close(data) {
|
|
4857
|
+
this.onClosed.emit({
|
|
4858
|
+
component: this,
|
|
4859
|
+
data: data
|
|
4730
4860
|
});
|
|
4731
4861
|
}
|
|
4862
|
+
onClosing(e) {
|
|
4863
|
+
}
|
|
4864
|
+
ngOnDestroy() {
|
|
4865
|
+
this.onClosed.unsubscribe();
|
|
4866
|
+
}
|
|
4732
4867
|
}
|
|
4733
|
-
|
|
4734
|
-
|
|
4735
|
-
|
|
4736
|
-
|
|
4737
|
-
|
|
4738
|
-
|
|
4739
|
-
|
|
4740
|
-
|
|
4741
|
-
|
|
4742
|
-
|
|
4743
|
-
|
|
4744
|
-
|
|
4745
|
-
|
|
4746
|
-
|
|
4868
|
+
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 });
|
|
4869
|
+
AXBasePageComponent.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXBasePageComponent });
|
|
4870
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXBasePageComponent, decorators: [{
|
|
4871
|
+
type: Injectable
|
|
4872
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { pageContainer: [{
|
|
4873
|
+
type: ViewChild,
|
|
4874
|
+
args: [AXPageComponent, { static: true }]
|
|
4875
|
+
}], footer: [{
|
|
4876
|
+
type: ViewChild,
|
|
4877
|
+
args: [AXPageFooterComponent, { static: true }]
|
|
4878
|
+
}], isLoadingChange: [{
|
|
4879
|
+
type: Output
|
|
4880
|
+
}], isLoading: [{
|
|
4881
|
+
type: Input
|
|
4882
|
+
}] } });
|
|
4883
|
+
|
|
4884
|
+
class AXPageHeaderComponent {
|
|
4885
|
+
}
|
|
4886
|
+
AXPageHeaderComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXPageHeaderComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
4887
|
+
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: `
|
|
4888
|
+
<ng-content select="ax-prefix">
|
|
4889
|
+
</ng-content>
|
|
4890
|
+
<ng-content select="ax-suffix">
|
|
4891
|
+
</ng-content>
|
|
4892
|
+
`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
4893
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXPageHeaderComponent, decorators: [{
|
|
4747
4894
|
type: Component,
|
|
4748
4895
|
args: [{
|
|
4749
|
-
selector: 'ax-
|
|
4896
|
+
selector: 'ax-page-header',
|
|
4750
4897
|
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>
|
|
4898
|
+
<ng-content select="ax-prefix">
|
|
4899
|
+
</ng-content>
|
|
4900
|
+
<ng-content select="ax-suffix">
|
|
4901
|
+
</ng-content>
|
|
4761
4902
|
`,
|
|
4762
|
-
|
|
4763
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
4764
|
-
encapsulation: ViewEncapsulation.None,
|
|
4765
|
-
host: { class: 'ax-drawer-container' }
|
|
4903
|
+
changeDetection: ChangeDetectionStrategy.OnPush
|
|
4766
4904
|
}]
|
|
4767
|
-
}],
|
|
4768
|
-
type:
|
|
4769
|
-
args: [
|
|
4905
|
+
}], propDecorators: { template: [{
|
|
4906
|
+
type: ViewChild,
|
|
4907
|
+
args: [TemplateRef, { static: true }]
|
|
4770
4908
|
}] } });
|
|
4771
4909
|
|
|
4772
|
-
class
|
|
4773
|
-
constructor(elementRef, cdr) {
|
|
4774
|
-
super(elementRef, cdr);
|
|
4775
|
-
}
|
|
4910
|
+
class AXPageModule {
|
|
4776
4911
|
}
|
|
4777
|
-
|
|
4778
|
-
|
|
4779
|
-
|
|
4780
|
-
|
|
4781
|
-
|
|
4782
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXDrawerContentComponent, decorators: [{
|
|
4783
|
-
type: Component,
|
|
4912
|
+
AXPageModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXPageModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
4913
|
+
AXPageModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXPageModule, declarations: [AXPageFooterComponent, AXPageHeaderComponent], exports: [AXPageFooterComponent, AXPageHeaderComponent] });
|
|
4914
|
+
AXPageModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXPageModule, providers: [], imports: [[]] });
|
|
4915
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXPageModule, decorators: [{
|
|
4916
|
+
type: NgModule,
|
|
4784
4917
|
args: [{
|
|
4785
|
-
|
|
4786
|
-
|
|
4787
|
-
|
|
4788
|
-
|
|
4789
|
-
`,
|
|
4790
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
4791
|
-
encapsulation: ViewEncapsulation.None,
|
|
4792
|
-
host: { class: 'ax-drawer-content' }
|
|
4918
|
+
imports: [],
|
|
4919
|
+
exports: [AXPageFooterComponent, AXPageHeaderComponent],
|
|
4920
|
+
declarations: [AXPageFooterComponent, AXPageHeaderComponent],
|
|
4921
|
+
providers: [],
|
|
4793
4922
|
}]
|
|
4794
|
-
}]
|
|
4923
|
+
}] });
|
|
4795
4924
|
|
|
4796
|
-
const COMPONENT$c = [
|
|
4797
|
-
const MODULES$c = [CommonModule];
|
|
4798
|
-
class
|
|
4925
|
+
const COMPONENT$c = [AXDialogComponent];
|
|
4926
|
+
const MODULES$c = [CommonModule, DragDropModule, A11yModule, AXButtonModule, AXPageModule, AXEditorDecoratorModule];
|
|
4927
|
+
class AXDialogModule {
|
|
4799
4928
|
}
|
|
4800
|
-
|
|
4801
|
-
|
|
4802
|
-
|
|
4803
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type:
|
|
4929
|
+
AXDialogModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXDialogModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
4930
|
+
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] });
|
|
4931
|
+
AXDialogModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXDialogModule, providers: [], imports: [[...MODULES$c]] });
|
|
4932
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXDialogModule, decorators: [{
|
|
4804
4933
|
type: NgModule,
|
|
4805
4934
|
args: [{
|
|
4806
4935
|
declarations: [...COMPONENT$c],
|
|
@@ -7527,5 +7656,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
|
|
|
7527
7656
|
* Generated bundle index. Do not edit.
|
|
7528
7657
|
*/
|
|
7529
7658
|
|
|
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 };
|
|
7659
|
+
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
7660
|
//# sourceMappingURL=acorex-components.mjs.map
|