@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 {
|
|
@@ -1220,544 +1220,467 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
|
|
|
1220
1220
|
}]
|
|
1221
1221
|
}] });
|
|
1222
1222
|
|
|
1223
|
-
|
|
1224
|
-
|
|
1223
|
+
class AXActionSheetComponent extends AXBaseComponent {
|
|
1224
|
+
/**
|
|
1225
|
+
* @ignore
|
|
1226
|
+
*/
|
|
1227
|
+
constructor(_elementRef, _cdr) {
|
|
1228
|
+
super(_elementRef, _cdr);
|
|
1229
|
+
this.caption = '';
|
|
1230
|
+
this.closeOnBackdrop = true;
|
|
1231
|
+
this.isOpen = false;
|
|
1232
|
+
}
|
|
1233
|
+
_handleBackdropClick() {
|
|
1234
|
+
if (!this.closeOnBackdrop)
|
|
1235
|
+
return;
|
|
1236
|
+
this.close();
|
|
1237
|
+
}
|
|
1238
|
+
open() {
|
|
1239
|
+
this.isOpen = true;
|
|
1240
|
+
}
|
|
1241
|
+
close() {
|
|
1242
|
+
this.isOpen = false;
|
|
1243
|
+
}
|
|
1244
|
+
toggle() {
|
|
1245
|
+
this.isOpen = !this.isOpen;
|
|
1246
|
+
}
|
|
1247
|
+
}
|
|
1248
|
+
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 });
|
|
1249
|
+
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: [
|
|
1250
|
+
trigger('backdrop', [
|
|
1251
|
+
state('show', style({
|
|
1252
|
+
opacity: 1,
|
|
1253
|
+
visibility: 'visible'
|
|
1254
|
+
})),
|
|
1255
|
+
state('hide', style({
|
|
1256
|
+
visibility: 'hidden',
|
|
1257
|
+
opacity: 0
|
|
1258
|
+
})),
|
|
1259
|
+
transition('show <=> hide', [animate('0.2s')]),
|
|
1260
|
+
]),
|
|
1261
|
+
trigger('openClose', [
|
|
1262
|
+
state('open', style({
|
|
1263
|
+
bottom: '0',
|
|
1264
|
+
opacity: 1
|
|
1265
|
+
})),
|
|
1266
|
+
state('closed', style({
|
|
1267
|
+
bottom: '-100%',
|
|
1268
|
+
opacity: 0.5
|
|
1269
|
+
})),
|
|
1270
|
+
transition('open <=> closed', [animate('0.2s')])
|
|
1271
|
+
]),
|
|
1272
|
+
] });
|
|
1273
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXActionSheetComponent, decorators: [{
|
|
1274
|
+
type: Component,
|
|
1275
|
+
args: [{ selector: 'ax-action-sheet', animations: [
|
|
1276
|
+
trigger('backdrop', [
|
|
1277
|
+
state('show', style({
|
|
1278
|
+
opacity: 1,
|
|
1279
|
+
visibility: 'visible'
|
|
1280
|
+
})),
|
|
1281
|
+
state('hide', style({
|
|
1282
|
+
visibility: 'hidden',
|
|
1283
|
+
opacity: 0
|
|
1284
|
+
})),
|
|
1285
|
+
transition('show <=> hide', [animate('0.2s')]),
|
|
1286
|
+
]),
|
|
1287
|
+
trigger('openClose', [
|
|
1288
|
+
state('open', style({
|
|
1289
|
+
bottom: '0',
|
|
1290
|
+
opacity: 1
|
|
1291
|
+
})),
|
|
1292
|
+
state('closed', style({
|
|
1293
|
+
bottom: '-100%',
|
|
1294
|
+
opacity: 0.5
|
|
1295
|
+
})),
|
|
1296
|
+
transition('open <=> closed', [animate('0.2s')])
|
|
1297
|
+
]),
|
|
1298
|
+
], 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>" }]
|
|
1299
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { caption: [{
|
|
1300
|
+
type: Input
|
|
1301
|
+
}], closeOnBackdrop: [{
|
|
1302
|
+
type: Input
|
|
1303
|
+
}] } });
|
|
1304
|
+
|
|
1225
1305
|
/**
|
|
1226
|
-
*
|
|
1306
|
+
* The Button is a component which detects user interaction and triggers a corresponding event
|
|
1227
1307
|
*
|
|
1228
1308
|
* @category Components
|
|
1229
1309
|
*/
|
|
1230
|
-
class
|
|
1310
|
+
class AXButtonComponent extends AXBaseButtonMixin {
|
|
1231
1311
|
/**
|
|
1232
1312
|
* @ignore
|
|
1233
1313
|
*/
|
|
1234
1314
|
constructor(elementRef, cdr) {
|
|
1235
1315
|
super(elementRef, cdr);
|
|
1236
|
-
this.showIcon = true;
|
|
1237
|
-
_AXAlertComponent_visible.set(this, void 0);
|
|
1238
|
-
}
|
|
1239
|
-
_onOptionChanged(option) {
|
|
1240
|
-
if (option.name == 'color') {
|
|
1241
|
-
switch (this.color) {
|
|
1242
|
-
case 'success':
|
|
1243
|
-
this.icon = 'ax-ic ax-ic-check-filled';
|
|
1244
|
-
break;
|
|
1245
|
-
case 'warning':
|
|
1246
|
-
this.icon = 'ax-ic-warning-filled';
|
|
1247
|
-
break;
|
|
1248
|
-
case 'danger':
|
|
1249
|
-
this.icon = 'ax-ic-error-filled';
|
|
1250
|
-
break;
|
|
1251
|
-
default:
|
|
1252
|
-
this.icon = 'ax-ic ax-ic-info-filled';
|
|
1253
|
-
break;
|
|
1254
|
-
}
|
|
1255
|
-
}
|
|
1256
|
-
}
|
|
1257
|
-
/**
|
|
1258
|
-
* @ignore
|
|
1259
|
-
*/
|
|
1260
|
-
get __hostClass() {
|
|
1261
|
-
// return ` ax-alert ax-none ax-${this.color}-default ax-${this.look}-default`;
|
|
1262
|
-
const _class = this.look ? `ax-${this.color}-${this.look}` : `ax-${this.color}-default`;
|
|
1263
|
-
return `ax-alert ax-none ${_class}`;
|
|
1264
|
-
}
|
|
1265
|
-
/**
|
|
1266
|
-
* set the visibility of the Alert
|
|
1267
|
-
*/
|
|
1268
|
-
get visible() {
|
|
1269
|
-
return __classPrivateFieldGet(this, _AXAlertComponent_visible, "f");
|
|
1270
1316
|
}
|
|
1271
|
-
|
|
1272
|
-
if (
|
|
1273
|
-
|
|
1274
|
-
const host = this._getHostElement();
|
|
1275
|
-
if (v) {
|
|
1276
|
-
host.classList.remove('ax-state-hidden');
|
|
1277
|
-
host.classList.add('ax-state-visible');
|
|
1278
|
-
}
|
|
1279
|
-
else {
|
|
1280
|
-
host.classList.add('ax-state-hidden');
|
|
1281
|
-
host.classList.toggle('ax-state-visible');
|
|
1282
|
-
}
|
|
1283
|
-
}
|
|
1284
|
-
}
|
|
1285
|
-
onInit() {
|
|
1286
|
-
if (this.timeOut) {
|
|
1287
|
-
setTimeout(() => {
|
|
1288
|
-
this.dismiss();
|
|
1289
|
-
}, this.timeOut);
|
|
1317
|
+
onKeydownHandler(e) {
|
|
1318
|
+
if (e.code === 'Enter') {
|
|
1319
|
+
this._getHostElement().click();
|
|
1290
1320
|
}
|
|
1291
1321
|
}
|
|
1292
|
-
|
|
1293
|
-
if (this.
|
|
1294
|
-
|
|
1322
|
+
_emitOnClickEvent(e) {
|
|
1323
|
+
if (this.disabled)
|
|
1324
|
+
return;
|
|
1325
|
+
if (this.toggleable) {
|
|
1326
|
+
this.selected = !this.selected;
|
|
1295
1327
|
}
|
|
1328
|
+
super._emitOnClickEvent(e);
|
|
1296
1329
|
}
|
|
1297
|
-
|
|
1298
|
-
|
|
1299
|
-
*/
|
|
1300
|
-
dismiss() {
|
|
1301
|
-
const host = this._getHostElement();
|
|
1302
|
-
this.visible = false;
|
|
1303
|
-
const func = () => {
|
|
1304
|
-
host.parentElement.removeChild(host);
|
|
1305
|
-
};
|
|
1306
|
-
host.addEventListener('transitionend', func);
|
|
1330
|
+
_emitOnFocusEvent(e) {
|
|
1331
|
+
super._emitOnFocusEvent(e);
|
|
1307
1332
|
}
|
|
1308
|
-
|
|
1309
|
-
|
|
1310
|
-
*/
|
|
1311
|
-
hide() {
|
|
1312
|
-
this.visible = false;
|
|
1333
|
+
_emitOnBlurEvent(e) {
|
|
1334
|
+
super._emitOnBlurEvent(e);
|
|
1313
1335
|
}
|
|
1314
|
-
|
|
1315
|
-
|
|
1316
|
-
*/
|
|
1317
|
-
show() {
|
|
1318
|
-
this.visible = true;
|
|
1336
|
+
get __hostClass() {
|
|
1337
|
+
return Object.entries(this._classes).filter(c => c[1]).map(c => c[0]).join(' ');
|
|
1319
1338
|
}
|
|
1320
1339
|
}
|
|
1321
|
-
|
|
1322
|
-
|
|
1323
|
-
|
|
1324
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXAlertComponent, decorators: [{
|
|
1340
|
+
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 });
|
|
1341
|
+
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 });
|
|
1342
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXButtonComponent, decorators: [{
|
|
1325
1343
|
type: Component,
|
|
1326
|
-
args: [{ selector: 'ax-
|
|
1327
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: {
|
|
1328
|
-
type:
|
|
1329
|
-
|
|
1330
|
-
|
|
1344
|
+
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> -->" }]
|
|
1345
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { onKeydownHandler: [{
|
|
1346
|
+
type: HostListener,
|
|
1347
|
+
args: ['keyup', ['$event']]
|
|
1348
|
+
}], _emitOnClickEvent: [{
|
|
1349
|
+
type: HostListener,
|
|
1350
|
+
args: ['click', ['$event']]
|
|
1351
|
+
}], _emitOnFocusEvent: [{
|
|
1352
|
+
type: HostListener,
|
|
1353
|
+
args: ['focus', ['$event']]
|
|
1354
|
+
}], _emitOnBlurEvent: [{
|
|
1355
|
+
type: HostListener,
|
|
1356
|
+
args: ['blur', ['$event']]
|
|
1331
1357
|
}], __hostClass: [{
|
|
1332
1358
|
type: HostBinding,
|
|
1333
1359
|
args: ['class']
|
|
1334
|
-
}], timeOut: [{
|
|
1335
|
-
type: Input
|
|
1336
|
-
}], visible: [{
|
|
1337
|
-
type: Input
|
|
1338
1360
|
}] } });
|
|
1339
1361
|
|
|
1340
|
-
class
|
|
1341
|
-
|
|
1342
|
-
|
|
1343
|
-
|
|
1344
|
-
|
|
1345
|
-
|
|
1346
|
-
|
|
1347
|
-
|
|
1348
|
-
type: Component,
|
|
1349
|
-
args: [{
|
|
1350
|
-
selector: 'ax-alert-title',
|
|
1351
|
-
template: `
|
|
1352
|
-
<ng-content>
|
|
1353
|
-
</ng-content>
|
|
1354
|
-
`,
|
|
1355
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1356
|
-
encapsulation: ViewEncapsulation.None,
|
|
1357
|
-
host: { class: 'ax-alert-title' }
|
|
1358
|
-
}]
|
|
1359
|
-
}] });
|
|
1360
|
-
|
|
1361
|
-
class AXAlertButtonComponent extends AXBaseClickableMixin {
|
|
1362
|
-
constructor(elementRef, cdr) {
|
|
1363
|
-
super(elementRef, cdr);
|
|
1362
|
+
class AXActionSheetItemComponent extends AXBaseComponent {
|
|
1363
|
+
/**
|
|
1364
|
+
* @ignore
|
|
1365
|
+
*/
|
|
1366
|
+
constructor(_elementRef, _cdr) {
|
|
1367
|
+
super(_elementRef, _cdr);
|
|
1368
|
+
this.color = 'light';
|
|
1369
|
+
this.onClick = new EventEmitter();
|
|
1364
1370
|
}
|
|
1365
1371
|
_handleOnClick(e) {
|
|
1366
|
-
this.
|
|
1367
|
-
}
|
|
1368
|
-
_handleOnFocus(e) {
|
|
1369
|
-
this._emitOnFocusEvent(e);
|
|
1370
|
-
}
|
|
1371
|
-
_handleOnBlur(e) {
|
|
1372
|
-
this._emitOnBlurEvent(e);
|
|
1372
|
+
this.onClick.emit(e);
|
|
1373
1373
|
}
|
|
1374
1374
|
}
|
|
1375
|
-
|
|
1376
|
-
|
|
1377
|
-
|
|
1378
|
-
|
|
1379
|
-
|
|
1380
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXAlertButtonComponent, decorators: [{
|
|
1375
|
+
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 });
|
|
1376
|
+
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: `
|
|
1377
|
+
<ax-button [color]="color" look="blank" [text]="text" (onClick)="_handleOnClick($event)"></ax-button>
|
|
1378
|
+
`, 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"] }] });
|
|
1379
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXActionSheetItemComponent, decorators: [{
|
|
1381
1380
|
type: Component,
|
|
1382
1381
|
args: [{
|
|
1383
|
-
selector: 'ax-
|
|
1382
|
+
selector: 'ax-action-sheet-item',
|
|
1384
1383
|
template: `
|
|
1385
|
-
|
|
1386
|
-
|
|
1387
|
-
`,
|
|
1388
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1389
|
-
encapsulation: ViewEncapsulation.None,
|
|
1390
|
-
outputs: [...BUTTON_OUTPUT],
|
|
1391
|
-
host: { class: 'ax-alert-button' }
|
|
1384
|
+
<ax-button [color]="color" look="blank" [text]="text" (onClick)="_handleOnClick($event)"></ax-button>
|
|
1385
|
+
`
|
|
1392
1386
|
}]
|
|
1393
1387
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { text: [{
|
|
1394
1388
|
type: Input
|
|
1395
|
-
}],
|
|
1389
|
+
}], color: [{
|
|
1396
1390
|
type: Input
|
|
1397
|
-
}],
|
|
1398
|
-
type:
|
|
1399
|
-
args: ['click', ['$event']]
|
|
1400
|
-
}], _handleOnFocus: [{
|
|
1401
|
-
type: HostListener,
|
|
1402
|
-
args: ['focus', ['$event']]
|
|
1403
|
-
}], _handleOnBlur: [{
|
|
1404
|
-
type: HostListener,
|
|
1405
|
-
args: ['blur', ['$event']]
|
|
1391
|
+
}], onClick: [{
|
|
1392
|
+
type: Output
|
|
1406
1393
|
}] } });
|
|
1407
1394
|
|
|
1408
|
-
class
|
|
1409
|
-
|
|
1410
|
-
|
|
1411
|
-
|
|
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
|
-
|
|
1395
|
+
class AXDrawerComponent extends AXBaseComponentMixin {
|
|
1396
|
+
constructor(elementRef, cdr, zone) {
|
|
1397
|
+
super(elementRef, cdr);
|
|
1398
|
+
this.elementRef = elementRef;
|
|
1399
|
+
this.zone = zone;
|
|
1400
|
+
this.onChanged = new EventEmitter();
|
|
1401
|
+
this.mode = 'push';
|
|
1402
|
+
this.location = 'start';
|
|
1403
|
+
this._collapsed = false;
|
|
1404
|
+
}
|
|
1405
|
+
get collapsed() {
|
|
1406
|
+
return this._collapsed;
|
|
1407
|
+
}
|
|
1408
|
+
set collapsed(v) {
|
|
1409
|
+
if (v != this._collapsed) {
|
|
1410
|
+
this._collapsed = v;
|
|
1411
|
+
this._updateClass();
|
|
1412
|
+
this._emitChange();
|
|
1413
|
+
}
|
|
1414
|
+
}
|
|
1415
|
+
onInit() {
|
|
1416
|
+
// this._getHostElement().classList.add(this.location == 'start' ? 'ax-drawer-start' : 'ax-drawer-end');
|
|
1417
|
+
this._setLocation();
|
|
1418
|
+
this._currentMode = this.mode;
|
|
1419
|
+
}
|
|
1420
|
+
_setLocation() {
|
|
1421
|
+
const hostElementClassList = this._getHostElement().classList;
|
|
1422
|
+
switch (this.location) {
|
|
1423
|
+
case 'start':
|
|
1424
|
+
hostElementClassList.add('ax-drawer-start');
|
|
1425
|
+
break;
|
|
1426
|
+
case 'end':
|
|
1427
|
+
hostElementClassList.add('ax-drawer-end');
|
|
1428
|
+
break;
|
|
1429
|
+
case 'top':
|
|
1430
|
+
hostElementClassList.add('ax-drawer-top');
|
|
1431
|
+
break;
|
|
1432
|
+
case 'bottom':
|
|
1433
|
+
hostElementClassList.add('ax-drawer-bottom');
|
|
1434
|
+
break;
|
|
1435
|
+
default:
|
|
1436
|
+
hostElementClassList.add('ax-drawer-start');
|
|
1437
|
+
break;
|
|
1438
|
+
}
|
|
1439
|
+
}
|
|
1440
|
+
_updateClass() {
|
|
1441
|
+
this.zone.runOutsideAngular(() => {
|
|
1442
|
+
const elm = this._getHostElement();
|
|
1443
|
+
//
|
|
1444
|
+
this._currentMode == 'overlay' ? this._setOverlayMode() : this._setPushMode();
|
|
1445
|
+
//
|
|
1446
|
+
if (this.collapsed) {
|
|
1447
|
+
elm.classList.remove('ax-expanded');
|
|
1448
|
+
elm.classList.add('ax-collapsed');
|
|
1449
|
+
if (this._currentMode == 'overlay') {
|
|
1450
|
+
this._removeBackdrop();
|
|
1451
|
+
}
|
|
1452
|
+
}
|
|
1453
|
+
else {
|
|
1454
|
+
elm.classList.add('ax-expanded');
|
|
1455
|
+
elm.classList.remove('ax-collapsed');
|
|
1456
|
+
if (this._currentMode == 'overlay') {
|
|
1457
|
+
this._addBackdrop();
|
|
1458
|
+
}
|
|
1459
|
+
}
|
|
1460
|
+
});
|
|
1461
|
+
}
|
|
1462
|
+
onViewInit() {
|
|
1463
|
+
this._detectSize();
|
|
1464
|
+
}
|
|
1465
|
+
toggle() {
|
|
1466
|
+
this.collapsed = !this.collapsed;
|
|
1467
|
+
}
|
|
1468
|
+
close() {
|
|
1469
|
+
this.collapsed = true;
|
|
1470
|
+
}
|
|
1471
|
+
open() {
|
|
1472
|
+
this.collapsed = false;
|
|
1473
|
+
}
|
|
1474
|
+
_handleWindowsResize(e) {
|
|
1475
|
+
this._detectSize();
|
|
1476
|
+
}
|
|
1477
|
+
_detectSize() {
|
|
1478
|
+
//TODO detect break size
|
|
1479
|
+
const bound = this._getHostElement().parentElement.getBoundingClientRect();
|
|
1480
|
+
if (bound.width == 0) {
|
|
1481
|
+
console.log('Drawer invalid size', bound);
|
|
1482
|
+
setTimeout(() => {
|
|
1483
|
+
this._detectSize();
|
|
1484
|
+
}, 1);
|
|
1485
|
+
return;
|
|
1486
|
+
}
|
|
1487
|
+
if (bound.width < 400) {
|
|
1488
|
+
this._currentMode = 'overlay';
|
|
1489
|
+
this.collapsed = true;
|
|
1490
|
+
}
|
|
1491
|
+
else {
|
|
1492
|
+
this._currentMode = this.mode;
|
|
1493
|
+
}
|
|
1494
|
+
this._updateClass();
|
|
1495
|
+
this._emitChange();
|
|
1496
|
+
}
|
|
1497
|
+
_emitChange() {
|
|
1498
|
+
this.onChanged.emit({
|
|
1499
|
+
component: this,
|
|
1500
|
+
htmlElement: this.elementRef.nativeElement
|
|
1501
|
+
});
|
|
1502
|
+
}
|
|
1503
|
+
_setOverlayMode() {
|
|
1504
|
+
this._currentMode = 'overlay';
|
|
1505
|
+
this._getHostElement().classList.remove('ax-drawer-push');
|
|
1506
|
+
this._getHostElement().classList.add('ax-drawer-overlay');
|
|
1507
|
+
}
|
|
1508
|
+
_setPushMode() {
|
|
1509
|
+
this._currentMode = 'push';
|
|
1510
|
+
this._getHostElement().classList.remove('ax-drawer-overlay');
|
|
1511
|
+
this._getHostElement().classList.add('ax-drawer-push');
|
|
1512
|
+
this._removeBackdrop();
|
|
1513
|
+
}
|
|
1514
|
+
_addBackdrop() {
|
|
1515
|
+
if (!this._backdrop) {
|
|
1516
|
+
this._backdrop = document.createElement('div');
|
|
1517
|
+
this._backdrop.classList.add('ax-drawer-backdrop');
|
|
1518
|
+
this._getHostElement().parentElement.prepend(this._backdrop);
|
|
1519
|
+
this._backdrop.addEventListener('click', this._handleBackfropClick.bind(this));
|
|
1520
|
+
}
|
|
1521
|
+
}
|
|
1522
|
+
_removeBackdrop() {
|
|
1523
|
+
if (this._backdrop) {
|
|
1524
|
+
this._backdrop.removeEventListener('click', this._handleBackfropClick.bind(this));
|
|
1525
|
+
this._getHostElement().parentElement.removeChild(this._backdrop);
|
|
1526
|
+
this._backdrop = null;
|
|
1527
|
+
}
|
|
1528
|
+
}
|
|
1529
|
+
_handleBackfropClick(e) {
|
|
1530
|
+
this._removeBackdrop();
|
|
1531
|
+
this.collapsed = true;
|
|
1532
|
+
}
|
|
1453
1533
|
}
|
|
1454
|
-
|
|
1455
|
-
|
|
1456
|
-
<
|
|
1457
|
-
|
|
1458
|
-
</ng-content>
|
|
1459
|
-
</div>
|
|
1534
|
+
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 });
|
|
1535
|
+
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: `
|
|
1536
|
+
<ng-content>
|
|
1537
|
+
</ng-content>
|
|
1460
1538
|
`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
1461
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type:
|
|
1539
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXDrawerComponent, decorators: [{
|
|
1462
1540
|
type: Component,
|
|
1463
1541
|
args: [{
|
|
1464
|
-
selector: 'ax-
|
|
1542
|
+
selector: 'ax-drawer',
|
|
1465
1543
|
template: `
|
|
1466
|
-
<
|
|
1467
|
-
|
|
1468
|
-
</ng-content>
|
|
1469
|
-
</div>
|
|
1544
|
+
<ng-content>
|
|
1545
|
+
</ng-content>
|
|
1470
1546
|
`,
|
|
1471
1547
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1472
1548
|
encapsulation: ViewEncapsulation.None,
|
|
1473
|
-
host: { class: 'ax-
|
|
1549
|
+
host: { class: 'ax-drawer ax-transition-all' }
|
|
1474
1550
|
}]
|
|
1475
|
-
}] }
|
|
1551
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: i0.NgZone }]; }, propDecorators: { onChanged: [{
|
|
1552
|
+
type: Output
|
|
1553
|
+
}], mode: [{
|
|
1554
|
+
type: Input
|
|
1555
|
+
}], location: [{
|
|
1556
|
+
type: Input
|
|
1557
|
+
}], collapsed: [{
|
|
1558
|
+
type: Input
|
|
1559
|
+
}], _handleWindowsResize: [{
|
|
1560
|
+
type: HostListener,
|
|
1561
|
+
args: ['window:resize', ['$event']]
|
|
1562
|
+
}] } });
|
|
1476
1563
|
|
|
1477
|
-
class
|
|
1478
|
-
constructor(elementRef, cdr) {
|
|
1564
|
+
class AXDrawerContainerComponent extends AXBaseComponentMixin {
|
|
1565
|
+
constructor(elementRef, cdr, zone) {
|
|
1479
1566
|
super(elementRef, cdr);
|
|
1567
|
+
this.zone = zone;
|
|
1480
1568
|
}
|
|
1481
|
-
|
|
1482
|
-
|
|
1569
|
+
onViewInit() {
|
|
1570
|
+
this._updateWidth();
|
|
1571
|
+
// add animation
|
|
1572
|
+
// setTimeout(() => {
|
|
1573
|
+
// this._getHostElement().querySelectorAll('ax-drawer').forEach(c => {
|
|
1574
|
+
// c.classList.add('ax-animated');
|
|
1575
|
+
// });
|
|
1576
|
+
// }, 100);
|
|
1577
|
+
this.drawers.forEach(c => {
|
|
1578
|
+
c.onChanged.subscribe(c => {
|
|
1579
|
+
this._updateWidth();
|
|
1580
|
+
});
|
|
1581
|
+
});
|
|
1582
|
+
}
|
|
1583
|
+
_updateWidth() {
|
|
1584
|
+
this.zone.runOutsideAngular(() => {
|
|
1585
|
+
const container = this._getHostElement().closest('ax-drawer-container');
|
|
1586
|
+
const parentWidth = this._getHostElement().getBoundingClientRect().width;
|
|
1587
|
+
let w = 0;
|
|
1588
|
+
this._getHostElement().querySelectorAll('ax-drawer').forEach(c => {
|
|
1589
|
+
const elm = c;
|
|
1590
|
+
const width = elm.getBoundingClientRect().width;
|
|
1591
|
+
const height = elm.getBoundingClientRect().height;
|
|
1592
|
+
const overflow = parentWidth < width;
|
|
1593
|
+
const diff = width - parentWidth;
|
|
1594
|
+
w += ['ax-expanded', 'ax-drawer-push'].every(c => elm.classList.contains(c)) ? width : 0;
|
|
1595
|
+
elm.style.setProperty('--attr-width', `${width}px`);
|
|
1596
|
+
elm.style.setProperty('--attr-height', `${height}px`);
|
|
1597
|
+
//TODO check overflow
|
|
1598
|
+
elm.style.setProperty('--attr-diff', `${overflow ? diff : 0}px`);
|
|
1599
|
+
});
|
|
1600
|
+
container.style.setProperty('--attr-content-width', `${parentWidth - w}px`);
|
|
1601
|
+
});
|
|
1483
1602
|
}
|
|
1484
1603
|
}
|
|
1485
|
-
|
|
1486
|
-
|
|
1487
|
-
|
|
1604
|
+
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 });
|
|
1605
|
+
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: `
|
|
1606
|
+
<ng-content select="ax-drawer[location='top']">
|
|
1607
|
+
</ng-content>
|
|
1608
|
+
<ng-content select="ax-drawer[location='start']">
|
|
1609
|
+
</ng-content>
|
|
1610
|
+
<ng-content select="ax-drawer-content">
|
|
1611
|
+
</ng-content>
|
|
1612
|
+
<ng-content select="ax-drawer[location='end']">
|
|
1613
|
+
</ng-content>
|
|
1614
|
+
<ng-content select="ax-drawer[location='bottom']">
|
|
1615
|
+
</ng-content>
|
|
1616
|
+
`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
1617
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXDrawerContainerComponent, decorators: [{
|
|
1488
1618
|
type: Component,
|
|
1489
1619
|
args: [{
|
|
1490
|
-
selector: 'ax-
|
|
1491
|
-
template:
|
|
1620
|
+
selector: 'ax-drawer-container',
|
|
1621
|
+
template: `
|
|
1622
|
+
<ng-content select="ax-drawer[location='top']">
|
|
1623
|
+
</ng-content>
|
|
1624
|
+
<ng-content select="ax-drawer[location='start']">
|
|
1625
|
+
</ng-content>
|
|
1626
|
+
<ng-content select="ax-drawer-content">
|
|
1627
|
+
</ng-content>
|
|
1628
|
+
<ng-content select="ax-drawer[location='end']">
|
|
1629
|
+
</ng-content>
|
|
1630
|
+
<ng-content select="ax-drawer[location='bottom']">
|
|
1631
|
+
</ng-content>
|
|
1632
|
+
`,
|
|
1633
|
+
inputs: ['rtl'],
|
|
1492
1634
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1493
1635
|
encapsulation: ViewEncapsulation.None,
|
|
1636
|
+
host: { class: 'ax-drawer-container' }
|
|
1494
1637
|
}]
|
|
1495
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: {
|
|
1496
|
-
type:
|
|
1497
|
-
|
|
1498
|
-
type: HostBinding,
|
|
1499
|
-
args: ['class']
|
|
1638
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: i0.NgZone }]; }, propDecorators: { drawers: [{
|
|
1639
|
+
type: ContentChildren,
|
|
1640
|
+
args: [AXDrawerComponent]
|
|
1500
1641
|
}] } });
|
|
1501
1642
|
|
|
1502
|
-
|
|
1503
|
-
const MODULES$o = [CommonModule];
|
|
1504
|
-
class AXIconModule {
|
|
1505
|
-
}
|
|
1506
|
-
AXIconModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXIconModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1507
|
-
AXIconModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXIconModule, declarations: [AXIconComponent], imports: [CommonModule], exports: [AXIconComponent] });
|
|
1508
|
-
AXIconModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXIconModule, providers: [], imports: [[...MODULES$o]] });
|
|
1509
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXIconModule, decorators: [{
|
|
1510
|
-
type: NgModule,
|
|
1511
|
-
args: [{
|
|
1512
|
-
declarations: [...COMPONENT$o],
|
|
1513
|
-
imports: [...MODULES$o],
|
|
1514
|
-
exports: [...COMPONENT$o],
|
|
1515
|
-
providers: [],
|
|
1516
|
-
}]
|
|
1517
|
-
}] });
|
|
1518
|
-
|
|
1519
|
-
const COMPONENT$n = [
|
|
1520
|
-
AXAlertComponent,
|
|
1521
|
-
AXAlertContentComponent,
|
|
1522
|
-
AXAlertTitleComponent,
|
|
1523
|
-
AXAlertButtonComponent,
|
|
1524
|
-
AXAlertFooterComponent,
|
|
1525
|
-
AXAlertSuffixComponent
|
|
1526
|
-
];
|
|
1527
|
-
const MODULES$n = [CommonModule, AXIconModule];
|
|
1528
|
-
class AXAlertModule {
|
|
1529
|
-
}
|
|
1530
|
-
AXAlertModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXAlertModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1531
|
-
AXAlertModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXAlertModule, declarations: [AXAlertComponent,
|
|
1532
|
-
AXAlertContentComponent,
|
|
1533
|
-
AXAlertTitleComponent,
|
|
1534
|
-
AXAlertButtonComponent,
|
|
1535
|
-
AXAlertFooterComponent,
|
|
1536
|
-
AXAlertSuffixComponent], imports: [CommonModule, AXIconModule], exports: [AXAlertComponent,
|
|
1537
|
-
AXAlertContentComponent,
|
|
1538
|
-
AXAlertTitleComponent,
|
|
1539
|
-
AXAlertButtonComponent,
|
|
1540
|
-
AXAlertFooterComponent,
|
|
1541
|
-
AXAlertSuffixComponent] });
|
|
1542
|
-
AXAlertModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXAlertModule, providers: [], imports: [[...MODULES$n]] });
|
|
1543
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXAlertModule, decorators: [{
|
|
1544
|
-
type: NgModule,
|
|
1545
|
-
args: [{
|
|
1546
|
-
declarations: [...COMPONENT$n],
|
|
1547
|
-
imports: [...MODULES$n],
|
|
1548
|
-
exports: [...COMPONENT$n],
|
|
1549
|
-
providers: [],
|
|
1550
|
-
}]
|
|
1551
|
-
}] });
|
|
1552
|
-
|
|
1553
|
-
class AXAvatarGroup {
|
|
1554
|
-
constructor() { }
|
|
1555
|
-
ngOnInit() { }
|
|
1556
|
-
}
|
|
1557
|
-
AXAvatarGroup.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXAvatarGroup, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1558
|
-
AXAvatarGroup.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: AXAvatarGroup, selector: "ax-avatar-group", host: { classAttribute: "ax-avatar-group" }, ngImport: i0, template: `<ng-content select='ax-avatar'></ng-content>`, isInline: true });
|
|
1559
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXAvatarGroup, decorators: [{
|
|
1560
|
-
type: Component,
|
|
1561
|
-
args: [{
|
|
1562
|
-
selector: 'ax-avatar-group',
|
|
1563
|
-
template: `<ng-content select='ax-avatar'></ng-content>`,
|
|
1564
|
-
host: { class: 'ax-avatar-group' }
|
|
1565
|
-
}]
|
|
1566
|
-
}], ctorParameters: function () { return []; } });
|
|
1567
|
-
|
|
1568
|
-
/**
|
|
1569
|
-
* The Button is a component which detects user interaction and triggers a corresponding event
|
|
1570
|
-
*
|
|
1571
|
-
* @category Components
|
|
1572
|
-
*/
|
|
1573
|
-
class AXAvatarComponent extends AXAvatarMixin {
|
|
1574
|
-
/**
|
|
1575
|
-
* @ignore
|
|
1576
|
-
*/
|
|
1577
|
-
constructor(elementRef, cdr) {
|
|
1578
|
-
super(elementRef, cdr);
|
|
1579
|
-
this.type = 'default';
|
|
1580
|
-
}
|
|
1581
|
-
get __hostClass() {
|
|
1582
|
-
return `ax-${this.color}-default`;
|
|
1583
|
-
}
|
|
1584
|
-
}
|
|
1585
|
-
AXAvatarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXAvatarComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
1586
|
-
AXAvatarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: AXAvatarComponent, selector: "ax-avatar", inputs: { color: "color", look: "look", text: "text", icon: "icon", src: "src", class: "class", type: "type" }, host: { properties: { "class": "this.__hostClass" }, classAttribute: "ax-avatar" }, usesInheritance: true, ngImport: i0, template: "\r\n<div class=\"ax-avatar-container\" [ngSwitch]=\"type\">\r\n <ng-content select=\"ax-badge\"></ng-content>\r\n <div class=\"ax-text-avatar {{class}}\" *ngSwitchCase=\"'text'\">\r\n {{text}}\r\n </div>\r\n <div class=\"ax-icon-avatar {{class}}\" *ngSwitchCase=\"'icon'\">\r\n <ng-content select=\"ax-icon\"></ng-content>\r\n </div>\r\n <div class=\"ax-image-avatar {{class}}\" *ngSwitchCase=\"'image'\">\r\n <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 });
|
|
1587
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXAvatarComponent, decorators: [{
|
|
1588
|
-
type: Component,
|
|
1589
|
-
args: [{ selector: 'ax-avatar', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, inputs: [...COLOR_LOOK_INPUTS], host: { class: 'ax-avatar' }, template: "\r\n<div class=\"ax-avatar-container\" [ngSwitch]=\"type\">\r\n <ng-content select=\"ax-badge\"></ng-content>\r\n <div class=\"ax-text-avatar {{class}}\" *ngSwitchCase=\"'text'\">\r\n {{text}}\r\n </div>\r\n <div class=\"ax-icon-avatar {{class}}\" *ngSwitchCase=\"'icon'\">\r\n <ng-content select=\"ax-icon\"></ng-content>\r\n </div>\r\n <div class=\"ax-image-avatar {{class}}\" *ngSwitchCase=\"'image'\">\r\n <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>" }]
|
|
1590
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { text: [{
|
|
1591
|
-
type: Input
|
|
1592
|
-
}], icon: [{
|
|
1593
|
-
type: Input
|
|
1594
|
-
}], src: [{
|
|
1595
|
-
type: Input
|
|
1596
|
-
}], class: [{
|
|
1597
|
-
type: Input
|
|
1598
|
-
}], type: [{
|
|
1599
|
-
type: Input
|
|
1600
|
-
}], __hostClass: [{
|
|
1601
|
-
type: HostBinding,
|
|
1602
|
-
args: ['class']
|
|
1603
|
-
}] } });
|
|
1604
|
-
|
|
1605
|
-
const COMPONENT$m = [AXAvatarComponent, AXAvatarGroup];
|
|
1606
|
-
const MODULES$m = [CommonModule];
|
|
1607
|
-
class AXAvatarModule {
|
|
1608
|
-
}
|
|
1609
|
-
AXAvatarModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXAvatarModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1610
|
-
AXAvatarModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXAvatarModule, declarations: [AXAvatarComponent, AXAvatarGroup], imports: [CommonModule], exports: [AXAvatarComponent, AXAvatarGroup] });
|
|
1611
|
-
AXAvatarModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXAvatarModule, providers: [], imports: [[...MODULES$m]] });
|
|
1612
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXAvatarModule, decorators: [{
|
|
1613
|
-
type: NgModule,
|
|
1614
|
-
args: [{
|
|
1615
|
-
declarations: [...COMPONENT$m],
|
|
1616
|
-
imports: [...MODULES$m],
|
|
1617
|
-
exports: [...COMPONENT$m],
|
|
1618
|
-
providers: [],
|
|
1619
|
-
}]
|
|
1620
|
-
}] });
|
|
1621
|
-
|
|
1622
|
-
const AXBaseBadgeMixin = _ColorLookComponentMixin(AXBaseComponent);
|
|
1623
|
-
class AXBadgeComponent extends AXBaseBadgeMixin {
|
|
1643
|
+
class AXDrawerContentComponent extends AXBaseComponentMixin {
|
|
1624
1644
|
constructor(elementRef, cdr) {
|
|
1625
1645
|
super(elementRef, cdr);
|
|
1626
|
-
this.text = '';
|
|
1627
|
-
//TODO: ax-badge
|
|
1628
|
-
}
|
|
1629
|
-
get __hostClass() {
|
|
1630
|
-
const _class = this.look ? `ax-${this.color}-${this.look}` : `ax-${this.color}-default`;
|
|
1631
|
-
return ['ax-badge', _class, !this.text ? 'ax-badge-icon' : ''].join(' ');
|
|
1632
1646
|
}
|
|
1633
1647
|
}
|
|
1634
|
-
|
|
1635
|
-
|
|
1636
|
-
|
|
1648
|
+
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 });
|
|
1649
|
+
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: `
|
|
1650
|
+
<ng-content>
|
|
1651
|
+
</ng-content>
|
|
1652
|
+
`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
1653
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXDrawerContentComponent, decorators: [{
|
|
1637
1654
|
type: Component,
|
|
1638
|
-
args: [{ selector: 'ax-badge', changeDetection: ChangeDetectionStrategy.OnPush, inputs: [...COLOR_LOOK_INPUTS], encapsulation: ViewEncapsulation.None, template: "<ng-content select=\"ax-prefix\"></ng-content>\r\n<span class=\"ax-font-medium ax-truncate\">{{text}}</span>\r\n<ng-content select=\"ax-suffix\"></ng-content>" }]
|
|
1639
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { text: [{
|
|
1640
|
-
type: Input
|
|
1641
|
-
}], __hostClass: [{
|
|
1642
|
-
type: HostBinding,
|
|
1643
|
-
args: ['class']
|
|
1644
|
-
}] } });
|
|
1645
|
-
|
|
1646
|
-
const COMPONENT$l = [AXBadgeComponent];
|
|
1647
|
-
const MODULES$l = [CommonModule];
|
|
1648
|
-
class AXBadgeModule {
|
|
1649
|
-
}
|
|
1650
|
-
AXBadgeModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXBadgeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1651
|
-
AXBadgeModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXBadgeModule, declarations: [AXBadgeComponent], imports: [CommonModule], exports: [AXBadgeComponent] });
|
|
1652
|
-
AXBadgeModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXBadgeModule, providers: [], imports: [[...MODULES$l]] });
|
|
1653
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXBadgeModule, decorators: [{
|
|
1654
|
-
type: NgModule,
|
|
1655
1655
|
args: [{
|
|
1656
|
-
|
|
1657
|
-
|
|
1658
|
-
|
|
1659
|
-
|
|
1656
|
+
selector: 'ax-drawer-content',
|
|
1657
|
+
template: `
|
|
1658
|
+
<ng-content>
|
|
1659
|
+
</ng-content>
|
|
1660
|
+
`,
|
|
1661
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1662
|
+
encapsulation: ViewEncapsulation.None,
|
|
1663
|
+
host: { class: 'ax-drawer-content' }
|
|
1660
1664
|
}]
|
|
1661
|
-
}] });
|
|
1662
|
-
|
|
1663
|
-
class AXBreadCrumbsComponent extends AXBaseComponent {
|
|
1664
|
-
constructor() {
|
|
1665
|
-
super();
|
|
1666
|
-
}
|
|
1667
|
-
}
|
|
1668
|
-
AXBreadCrumbsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXBreadCrumbsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1669
|
-
AXBreadCrumbsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: AXBreadCrumbsComponent, selector: "ax-breadcrumbs", host: { classAttribute: "ax-breadcrumbs" }, usesInheritance: true, ngImport: i0, template: "<ng-content select=\"ax-breadcrumbs-item\"></ng-content>" });
|
|
1670
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXBreadCrumbsComponent, decorators: [{
|
|
1671
|
-
type: Component,
|
|
1672
|
-
args: [{ selector: 'ax-breadcrumbs', host: { class: 'ax-breadcrumbs' }, template: "<ng-content select=\"ax-breadcrumbs-item\"></ng-content>" }]
|
|
1673
|
-
}], ctorParameters: function () { return []; } });
|
|
1674
|
-
|
|
1675
|
-
class AXBreadCrumbsItemComponent extends AXBaseComponent {
|
|
1676
|
-
constructor() {
|
|
1677
|
-
super();
|
|
1678
|
-
}
|
|
1679
|
-
}
|
|
1680
|
-
AXBreadCrumbsItemComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXBreadCrumbsItemComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1681
|
-
AXBreadCrumbsItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: AXBreadCrumbsItemComponent, selector: "ax-breadcrumbs-item", inputs: { text: "text" }, host: { classAttribute: "ax-breadcrumbs-item" }, usesInheritance: true, ngImport: i0, template: "<ng-content select=\"ax-prefix,ax-loading,ax-icon\">\r\n</ng-content>\r\n<div>{{text}}</div>\r\n<ng-content select=\"ax-suffix,ax-loading,ax-icon\">\r\n</ng-content>" });
|
|
1682
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXBreadCrumbsItemComponent, decorators: [{
|
|
1683
|
-
type: Component,
|
|
1684
|
-
args: [{ selector: 'ax-breadcrumbs-item', host: { class: 'ax-breadcrumbs-item' }, template: "<ng-content select=\"ax-prefix,ax-loading,ax-icon\">\r\n</ng-content>\r\n<div>{{text}}</div>\r\n<ng-content select=\"ax-suffix,ax-loading,ax-icon\">\r\n</ng-content>" }]
|
|
1685
|
-
}], ctorParameters: function () { return []; }, propDecorators: { text: [{
|
|
1686
|
-
type: Input
|
|
1687
|
-
}] } });
|
|
1665
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; } });
|
|
1688
1666
|
|
|
1689
|
-
|
|
1667
|
+
const COMPONENT$o = [AXDrawerComponent, AXDrawerContainerComponent, AXDrawerContentComponent];
|
|
1668
|
+
const MODULES$o = [CommonModule];
|
|
1669
|
+
class AXDrawerModule {
|
|
1690
1670
|
}
|
|
1691
|
-
|
|
1692
|
-
|
|
1693
|
-
|
|
1694
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type:
|
|
1671
|
+
AXDrawerModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXDrawerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1672
|
+
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] });
|
|
1673
|
+
AXDrawerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXDrawerModule, providers: [], imports: [[...MODULES$o]] });
|
|
1674
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXDrawerModule, decorators: [{
|
|
1695
1675
|
type: NgModule,
|
|
1696
1676
|
args: [{
|
|
1697
|
-
declarations: [
|
|
1698
|
-
imports: [
|
|
1699
|
-
exports: [
|
|
1677
|
+
declarations: [...COMPONENT$o],
|
|
1678
|
+
imports: [...MODULES$o],
|
|
1679
|
+
exports: [...COMPONENT$o],
|
|
1700
1680
|
providers: [],
|
|
1701
1681
|
}]
|
|
1702
1682
|
}] });
|
|
1703
1683
|
|
|
1704
|
-
/**
|
|
1705
|
-
* The Button is a component which detects user interaction and triggers a corresponding event
|
|
1706
|
-
*
|
|
1707
|
-
* @category Components
|
|
1708
|
-
*/
|
|
1709
|
-
class AXButtonComponent extends AXBaseButtonMixin {
|
|
1710
|
-
/**
|
|
1711
|
-
* @ignore
|
|
1712
|
-
*/
|
|
1713
|
-
constructor(elementRef, cdr) {
|
|
1714
|
-
super(elementRef, cdr);
|
|
1715
|
-
}
|
|
1716
|
-
onKeydownHandler(e) {
|
|
1717
|
-
if (e.code === 'Enter') {
|
|
1718
|
-
this._getHostElement().click();
|
|
1719
|
-
}
|
|
1720
|
-
}
|
|
1721
|
-
_emitOnClickEvent(e) {
|
|
1722
|
-
if (this.disabled)
|
|
1723
|
-
return;
|
|
1724
|
-
if (this.toggleable) {
|
|
1725
|
-
this.selected = !this.selected;
|
|
1726
|
-
}
|
|
1727
|
-
super._emitOnClickEvent(e);
|
|
1728
|
-
}
|
|
1729
|
-
_emitOnFocusEvent(e) {
|
|
1730
|
-
super._emitOnFocusEvent(e);
|
|
1731
|
-
}
|
|
1732
|
-
_emitOnBlurEvent(e) {
|
|
1733
|
-
super._emitOnBlurEvent(e);
|
|
1734
|
-
}
|
|
1735
|
-
get __hostClass() {
|
|
1736
|
-
return Object.entries(this._classes).filter(c => c[1]).map(c => c[0]).join(' ');
|
|
1737
|
-
}
|
|
1738
|
-
}
|
|
1739
|
-
AXButtonComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXButtonComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
1740
|
-
AXButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: AXButtonComponent, selector: "ax-button", inputs: { disabled: "disabled", tabIndex: "tabIndex", size: "size", color: "color", look: "look", text: "text", submitBehavior: "submitBehavior", cancelBehavior: "cancelBehavior", toggleable: "toggleable", selected: "selected" }, outputs: { onBlur: "onBlur", onFocus: "onFocus", onClick: "onClick", selectedChange: "selectedChange", toggleableChange: "toggleableChange" }, host: { attributes: { "role": "button" }, listeners: { "keyup": "onKeydownHandler($event)", "click": "_emitOnClickEvent($event)", "focus": "_emitOnFocusEvent($event)", "blur": "_emitOnBlurEvent($event)" }, properties: { "class": "this.__hostClass" } }, usesInheritance: true, ngImport: i0, template: "<!-- <button [ngClass]=\"_classes\" class=\"{{cssClass}} ax-{{size}}\" [disabled]=\"disabled\" [tabindex]=\"tabIndex\" [attr.style]=\"cssStyle\" (click)=\"_emitOnClickEvent($event)\" (focus)=\"_emitOnFocusEvent($event)\" (blur)=\"_emitOnBlurEvent($event)\">\r\n <ng-content select=\"ax-prefix,ax-loading,ax-icon\">\r\n </ng-content>\r\n <span *ngIf=\"text\">{{text}}</span>\r\n <ng-content select=\"ax-suffix\">\r\n </ng-content>\r\n <ng-content select=\"ax-dropdown-panel\">\r\n </ng-content>\r\n</button> -->\r\n<!-- <button [ngClass]=\"_classes\" class=\"{{cssClass}} ax-{{size}}\" [disabled]=\"disabled\" [tabindex]=\"tabIndex\" [attr.style]=\"cssStyle\" (click)=\"_emitOnClickEvent($event)\" (focus)=\"_emitOnFocusEvent($event)\" (blur)=\"_emitOnBlurEvent($event)\"> -->\r\n<ng-content select=\"ax-prefix,ax-loading,ax-icon\">\r\n</ng-content>\r\n<span *ngIf=\"text\">{{text}}</span>\r\n<ng-content select=\"ax-suffix\">\r\n</ng-content>\r\n<ng-content select=\"ax-dropdown-panel\">\r\n</ng-content>\r\n<!-- </button> -->", directives: [{ type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
1741
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXButtonComponent, decorators: [{
|
|
1742
|
-
type: Component,
|
|
1743
|
-
args: [{ selector: 'ax-button', inputs: ['disabled', 'tabIndex', 'size', ...COLOR_LOOK_INPUTS, ...BUTTON_INPUTS], outputs: [...BUTTON_OUTPUT], changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, host: { role: 'button' }, template: "<!-- <button [ngClass]=\"_classes\" class=\"{{cssClass}} ax-{{size}}\" [disabled]=\"disabled\" [tabindex]=\"tabIndex\" [attr.style]=\"cssStyle\" (click)=\"_emitOnClickEvent($event)\" (focus)=\"_emitOnFocusEvent($event)\" (blur)=\"_emitOnBlurEvent($event)\">\r\n <ng-content select=\"ax-prefix,ax-loading,ax-icon\">\r\n </ng-content>\r\n <span *ngIf=\"text\">{{text}}</span>\r\n <ng-content select=\"ax-suffix\">\r\n </ng-content>\r\n <ng-content select=\"ax-dropdown-panel\">\r\n </ng-content>\r\n</button> -->\r\n<!-- <button [ngClass]=\"_classes\" class=\"{{cssClass}} ax-{{size}}\" [disabled]=\"disabled\" [tabindex]=\"tabIndex\" [attr.style]=\"cssStyle\" (click)=\"_emitOnClickEvent($event)\" (focus)=\"_emitOnFocusEvent($event)\" (blur)=\"_emitOnBlurEvent($event)\"> -->\r\n<ng-content select=\"ax-prefix,ax-loading,ax-icon\">\r\n</ng-content>\r\n<span *ngIf=\"text\">{{text}}</span>\r\n<ng-content select=\"ax-suffix\">\r\n</ng-content>\r\n<ng-content select=\"ax-dropdown-panel\">\r\n</ng-content>\r\n<!-- </button> -->" }]
|
|
1744
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { onKeydownHandler: [{
|
|
1745
|
-
type: HostListener,
|
|
1746
|
-
args: ['keyup', ['$event']]
|
|
1747
|
-
}], _emitOnClickEvent: [{
|
|
1748
|
-
type: HostListener,
|
|
1749
|
-
args: ['click', ['$event']]
|
|
1750
|
-
}], _emitOnFocusEvent: [{
|
|
1751
|
-
type: HostListener,
|
|
1752
|
-
args: ['focus', ['$event']]
|
|
1753
|
-
}], _emitOnBlurEvent: [{
|
|
1754
|
-
type: HostListener,
|
|
1755
|
-
args: ['blur', ['$event']]
|
|
1756
|
-
}], __hostClass: [{
|
|
1757
|
-
type: HostBinding,
|
|
1758
|
-
args: ['class']
|
|
1759
|
-
}] } });
|
|
1760
|
-
|
|
1761
1684
|
class AXButtonGroupComponent extends AXInteractiveComponenetMixin {
|
|
1762
1685
|
constructor(elementRef, zone, cdr) {
|
|
1763
1686
|
super(elementRef, cdr);
|
|
@@ -2061,29 +1984,71 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
|
|
|
2061
1984
|
}]
|
|
2062
1985
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; } });
|
|
2063
1986
|
|
|
2064
|
-
const COMPONENT$
|
|
2065
|
-
const MODULES$
|
|
1987
|
+
const COMPONENT$n = [AXDecoratorPrefixComponent, AXDecoratorSuffixComponent, AXDecoratorContentComponent, AXDecoratorHeaderComponent, AXDecoratorAddOnComponent];
|
|
1988
|
+
const MODULES$n = [CommonModule];
|
|
2066
1989
|
class AXEditorDecoratorModule {
|
|
2067
1990
|
}
|
|
2068
1991
|
AXEditorDecoratorModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXEditorDecoratorModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
2069
1992
|
AXEditorDecoratorModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXEditorDecoratorModule, declarations: [AXDecoratorPrefixComponent, AXDecoratorSuffixComponent, AXDecoratorContentComponent, AXDecoratorHeaderComponent, AXDecoratorAddOnComponent], imports: [CommonModule], exports: [AXDecoratorPrefixComponent, AXDecoratorSuffixComponent, AXDecoratorContentComponent, AXDecoratorHeaderComponent, AXDecoratorAddOnComponent] });
|
|
2070
|
-
AXEditorDecoratorModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXEditorDecoratorModule, providers: [], imports: [[...MODULES$
|
|
1993
|
+
AXEditorDecoratorModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXEditorDecoratorModule, providers: [], imports: [[...MODULES$n]] });
|
|
2071
1994
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXEditorDecoratorModule, decorators: [{
|
|
2072
1995
|
type: NgModule,
|
|
2073
1996
|
args: [{
|
|
2074
|
-
declarations: [...COMPONENT$
|
|
2075
|
-
imports: [...MODULES$
|
|
2076
|
-
exports: [...COMPONENT$
|
|
1997
|
+
declarations: [...COMPONENT$n],
|
|
1998
|
+
imports: [...MODULES$n],
|
|
1999
|
+
exports: [...COMPONENT$n],
|
|
2000
|
+
providers: [],
|
|
2001
|
+
}]
|
|
2002
|
+
}] });
|
|
2003
|
+
|
|
2004
|
+
class AXIconComponent extends AXSizableComponentMixin {
|
|
2005
|
+
constructor(elementRef, cdr) {
|
|
2006
|
+
super(elementRef, cdr);
|
|
2007
|
+
}
|
|
2008
|
+
get __iconClass() {
|
|
2009
|
+
return `ax-ic ${this.icon}`;
|
|
2010
|
+
}
|
|
2011
|
+
}
|
|
2012
|
+
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 });
|
|
2013
|
+
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 });
|
|
2014
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXIconComponent, decorators: [{
|
|
2015
|
+
type: Component,
|
|
2016
|
+
args: [{
|
|
2017
|
+
selector: 'ax-icon',
|
|
2018
|
+
template: '<ng-content select="i,svg,img"></ng-content>',
|
|
2019
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
2020
|
+
encapsulation: ViewEncapsulation.None,
|
|
2021
|
+
}]
|
|
2022
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { icon: [{
|
|
2023
|
+
type: Input
|
|
2024
|
+
}], __iconClass: [{
|
|
2025
|
+
type: HostBinding,
|
|
2026
|
+
args: ['class']
|
|
2027
|
+
}] } });
|
|
2028
|
+
|
|
2029
|
+
const COMPONENT$m = [AXIconComponent];
|
|
2030
|
+
const MODULES$m = [CommonModule];
|
|
2031
|
+
class AXIconModule {
|
|
2032
|
+
}
|
|
2033
|
+
AXIconModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXIconModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
2034
|
+
AXIconModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXIconModule, declarations: [AXIconComponent], imports: [CommonModule], exports: [AXIconComponent] });
|
|
2035
|
+
AXIconModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXIconModule, providers: [], imports: [[...MODULES$m]] });
|
|
2036
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXIconModule, decorators: [{
|
|
2037
|
+
type: NgModule,
|
|
2038
|
+
args: [{
|
|
2039
|
+
declarations: [...COMPONENT$m],
|
|
2040
|
+
imports: [...MODULES$m],
|
|
2041
|
+
exports: [...COMPONENT$m],
|
|
2077
2042
|
providers: [],
|
|
2078
2043
|
}]
|
|
2079
2044
|
}] });
|
|
2080
2045
|
|
|
2081
|
-
const COMPONENT$
|
|
2046
|
+
const COMPONENT$l = [
|
|
2082
2047
|
AXButtonComponent,
|
|
2083
2048
|
AXButtonItemComponent,
|
|
2084
2049
|
AXButtonGroupComponent,
|
|
2085
2050
|
];
|
|
2086
|
-
const MODULES$
|
|
2051
|
+
const MODULES$l = [CommonModule, AXIconModule, AXEditorDecoratorModule];
|
|
2087
2052
|
class AXButtonModule {
|
|
2088
2053
|
}
|
|
2089
2054
|
AXButtonModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXButtonModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
@@ -2092,143 +2057,597 @@ AXButtonModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version:
|
|
|
2092
2057
|
AXButtonGroupComponent], imports: [CommonModule, AXIconModule, AXEditorDecoratorModule], exports: [AXButtonComponent,
|
|
2093
2058
|
AXButtonItemComponent,
|
|
2094
2059
|
AXButtonGroupComponent] });
|
|
2095
|
-
AXButtonModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXButtonModule, providers: [], imports: [[MODULES$
|
|
2060
|
+
AXButtonModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXButtonModule, providers: [], imports: [[MODULES$l]] });
|
|
2096
2061
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXButtonModule, decorators: [{
|
|
2097
2062
|
type: NgModule,
|
|
2098
2063
|
args: [{
|
|
2099
|
-
imports: [MODULES$
|
|
2100
|
-
exports: [COMPONENT$
|
|
2101
|
-
declarations: [COMPONENT$
|
|
2064
|
+
imports: [MODULES$l],
|
|
2065
|
+
exports: [COMPONENT$l],
|
|
2066
|
+
declarations: [COMPONENT$l],
|
|
2102
2067
|
providers: [],
|
|
2103
2068
|
}]
|
|
2104
2069
|
}] });
|
|
2105
2070
|
|
|
2106
|
-
class
|
|
2071
|
+
class AXActionSheetModule {
|
|
2072
|
+
}
|
|
2073
|
+
AXActionSheetModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXActionSheetModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
2074
|
+
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] });
|
|
2075
|
+
AXActionSheetModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXActionSheetModule, providers: [], imports: [[CommonModule, AXDrawerModule, AXButtonModule]] });
|
|
2076
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXActionSheetModule, decorators: [{
|
|
2077
|
+
type: NgModule,
|
|
2078
|
+
args: [{
|
|
2079
|
+
declarations: [AXActionSheetComponent, AXActionSheetItemComponent],
|
|
2080
|
+
imports: [CommonModule, AXDrawerModule, AXButtonModule],
|
|
2081
|
+
exports: [AXActionSheetComponent, AXActionSheetItemComponent],
|
|
2082
|
+
providers: [],
|
|
2083
|
+
}]
|
|
2084
|
+
}] });
|
|
2085
|
+
|
|
2086
|
+
var _AXAlertComponent_visible;
|
|
2087
|
+
const AXBaseAlertMixin = _ColorLookComponentMixin(AXBaseComponent);
|
|
2088
|
+
/**
|
|
2089
|
+
* Regular description
|
|
2090
|
+
*
|
|
2091
|
+
* @category Components
|
|
2092
|
+
*/
|
|
2093
|
+
class AXAlertComponent extends AXBaseAlertMixin {
|
|
2094
|
+
/**
|
|
2095
|
+
* @ignore
|
|
2096
|
+
*/
|
|
2107
2097
|
constructor(elementRef, cdr) {
|
|
2108
2098
|
super(elementRef, cdr);
|
|
2109
|
-
this.
|
|
2110
|
-
this
|
|
2111
|
-
this.typeChange = new EventEmitter();
|
|
2112
|
-
this._type = AXConfig.get(`dateTime.calendar`);
|
|
2113
|
-
this.depthChange = new EventEmitter();
|
|
2114
|
-
this._depth = 'days';
|
|
2115
|
-
this.minChange = new EventEmitter();
|
|
2116
|
-
this.maxChange = new EventEmitter();
|
|
2117
|
-
this.disabledDatesChange = new EventEmitter();
|
|
2118
|
-
this.holidayDatesChange = new EventEmitter();
|
|
2119
|
-
}
|
|
2120
|
-
get activeView() {
|
|
2121
|
-
return this._activeView;
|
|
2122
|
-
}
|
|
2123
|
-
set activeView(v) {
|
|
2124
|
-
this._setOption({ name: 'activeView', value: v });
|
|
2125
|
-
}
|
|
2126
|
-
get type() {
|
|
2127
|
-
return this._type || AXConfig.get(`dateTime.calendar`);
|
|
2128
|
-
}
|
|
2129
|
-
set type(v) {
|
|
2130
|
-
this._setOption({
|
|
2131
|
-
name: 'type',
|
|
2132
|
-
value: v
|
|
2133
|
-
});
|
|
2134
|
-
}
|
|
2135
|
-
get depth() {
|
|
2136
|
-
return this._depth;
|
|
2099
|
+
this.showIcon = true;
|
|
2100
|
+
_AXAlertComponent_visible.set(this, void 0);
|
|
2137
2101
|
}
|
|
2138
|
-
|
|
2139
|
-
|
|
2140
|
-
|
|
2141
|
-
|
|
2142
|
-
|
|
2143
|
-
|
|
2102
|
+
_onOptionChanged(option) {
|
|
2103
|
+
if (option.name == 'color') {
|
|
2104
|
+
switch (this.color) {
|
|
2105
|
+
case 'success':
|
|
2106
|
+
this.icon = 'ax-ic ax-ic-check-filled';
|
|
2107
|
+
break;
|
|
2108
|
+
case 'warning':
|
|
2109
|
+
this.icon = 'ax-ic-warning-filled';
|
|
2110
|
+
break;
|
|
2111
|
+
case 'danger':
|
|
2112
|
+
this.icon = 'ax-ic-error-filled';
|
|
2113
|
+
break;
|
|
2114
|
+
default:
|
|
2115
|
+
this.icon = 'ax-ic ax-ic-info-filled';
|
|
2116
|
+
break;
|
|
2144
2117
|
}
|
|
2145
|
-
}
|
|
2118
|
+
}
|
|
2146
2119
|
}
|
|
2147
|
-
|
|
2148
|
-
|
|
2120
|
+
/**
|
|
2121
|
+
* @ignore
|
|
2122
|
+
*/
|
|
2123
|
+
get __hostClass() {
|
|
2124
|
+
// return ` ax-alert ax-none ax-${this.color}-default ax-${this.look}-default`;
|
|
2125
|
+
const _class = this.look ? `ax-${this.color}-${this.look}` : `ax-${this.color}-default`;
|
|
2126
|
+
return `ax-alert ax-none ${_class}`;
|
|
2149
2127
|
}
|
|
2150
|
-
|
|
2151
|
-
|
|
2128
|
+
/**
|
|
2129
|
+
* set the visibility of the Alert
|
|
2130
|
+
*/
|
|
2131
|
+
get visible() {
|
|
2132
|
+
return __classPrivateFieldGet(this, _AXAlertComponent_visible, "f");
|
|
2152
2133
|
}
|
|
2153
|
-
|
|
2154
|
-
|
|
2134
|
+
set visible(v) {
|
|
2135
|
+
if (__classPrivateFieldGet(this, _AXAlertComponent_visible, "f") != v) {
|
|
2136
|
+
__classPrivateFieldSet(this, _AXAlertComponent_visible, v, "f");
|
|
2137
|
+
const host = this._getHostElement();
|
|
2138
|
+
if (v) {
|
|
2139
|
+
host.classList.remove('ax-state-hidden');
|
|
2140
|
+
host.classList.add('ax-state-visible');
|
|
2141
|
+
}
|
|
2142
|
+
else {
|
|
2143
|
+
host.classList.add('ax-state-hidden');
|
|
2144
|
+
host.classList.toggle('ax-state-visible');
|
|
2145
|
+
}
|
|
2146
|
+
}
|
|
2155
2147
|
}
|
|
2156
|
-
|
|
2157
|
-
this.
|
|
2148
|
+
onInit() {
|
|
2149
|
+
if (this.timeOut) {
|
|
2150
|
+
setTimeout(() => {
|
|
2151
|
+
this.dismiss();
|
|
2152
|
+
}, this.timeOut);
|
|
2153
|
+
}
|
|
2158
2154
|
}
|
|
2159
|
-
|
|
2160
|
-
|
|
2155
|
+
onViewInit() {
|
|
2156
|
+
if (this.visible == undefined) {
|
|
2157
|
+
this.visible = true;
|
|
2158
|
+
}
|
|
2161
2159
|
}
|
|
2162
|
-
|
|
2163
|
-
|
|
2160
|
+
/**
|
|
2161
|
+
* Remove the alert from the container
|
|
2162
|
+
*/
|
|
2163
|
+
dismiss() {
|
|
2164
|
+
const host = this._getHostElement();
|
|
2165
|
+
this.visible = false;
|
|
2166
|
+
const func = () => {
|
|
2167
|
+
host.parentElement.removeChild(host);
|
|
2168
|
+
};
|
|
2169
|
+
host.addEventListener('transitionend', func);
|
|
2164
2170
|
}
|
|
2165
|
-
|
|
2166
|
-
|
|
2171
|
+
/**
|
|
2172
|
+
* Hide the alert
|
|
2173
|
+
*/
|
|
2174
|
+
hide() {
|
|
2175
|
+
this.visible = false;
|
|
2167
2176
|
}
|
|
2168
|
-
|
|
2169
|
-
|
|
2177
|
+
/**
|
|
2178
|
+
* Show the alert
|
|
2179
|
+
*/
|
|
2180
|
+
show() {
|
|
2181
|
+
this.visible = true;
|
|
2170
2182
|
}
|
|
2171
2183
|
}
|
|
2172
|
-
|
|
2173
|
-
|
|
2174
|
-
i0.ɵɵ
|
|
2175
|
-
|
|
2176
|
-
|
|
2177
|
-
|
|
2178
|
-
|
|
2179
|
-
type: Input
|
|
2180
|
-
}], typeChange: [{
|
|
2181
|
-
type: Output
|
|
2182
|
-
}], type: [{
|
|
2183
|
-
type: Input
|
|
2184
|
-
}], depthChange: [{
|
|
2185
|
-
type: Output
|
|
2186
|
-
}], depth: [{
|
|
2187
|
-
type: Input
|
|
2188
|
-
}], minChange: [{
|
|
2189
|
-
type: Output
|
|
2190
|
-
}], min: [{
|
|
2184
|
+
_AXAlertComponent_visible = new WeakMap();
|
|
2185
|
+
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 });
|
|
2186
|
+
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 });
|
|
2187
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXAlertComponent, decorators: [{
|
|
2188
|
+
type: Component,
|
|
2189
|
+
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>" }]
|
|
2190
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { icon: [{
|
|
2191
2191
|
type: Input
|
|
2192
|
-
}],
|
|
2193
|
-
type: Output
|
|
2194
|
-
}], max: [{
|
|
2192
|
+
}], showIcon: [{
|
|
2195
2193
|
type: Input
|
|
2196
|
-
}],
|
|
2197
|
-
type:
|
|
2198
|
-
|
|
2194
|
+
}], __hostClass: [{
|
|
2195
|
+
type: HostBinding,
|
|
2196
|
+
args: ['class']
|
|
2197
|
+
}], timeOut: [{
|
|
2199
2198
|
type: Input
|
|
2200
|
-
}],
|
|
2201
|
-
type: Output
|
|
2202
|
-
}], holidayDates: [{
|
|
2199
|
+
}], visible: [{
|
|
2203
2200
|
type: Input
|
|
2204
|
-
}] } });
|
|
2205
|
-
const CALENDAR_INPUTS = [
|
|
2206
|
-
'depth',
|
|
2207
|
-
'activeView',
|
|
2208
|
-
'min',
|
|
2209
|
-
'max',
|
|
2210
|
-
'disabledDates',
|
|
2211
|
-
'type',
|
|
2212
|
-
'holidayDates',
|
|
2213
|
-
];
|
|
2214
|
-
const CALENDAR_OUTPUTS = ['depthChange', 'typeChange'];
|
|
2201
|
+
}] } });
|
|
2215
2202
|
|
|
2216
|
-
|
|
2217
|
-
|
|
2218
|
-
|
|
2219
|
-
|
|
2220
|
-
|
|
2221
|
-
|
|
2222
|
-
|
|
2223
|
-
|
|
2224
|
-
|
|
2225
|
-
|
|
2226
|
-
|
|
2227
|
-
|
|
2228
|
-
|
|
2229
|
-
|
|
2230
|
-
|
|
2231
|
-
|
|
2203
|
+
class AXAlertTitleComponent {
|
|
2204
|
+
}
|
|
2205
|
+
AXAlertTitleComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXAlertTitleComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
2206
|
+
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: `
|
|
2207
|
+
<ng-content>
|
|
2208
|
+
</ng-content>
|
|
2209
|
+
`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
2210
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXAlertTitleComponent, decorators: [{
|
|
2211
|
+
type: Component,
|
|
2212
|
+
args: [{
|
|
2213
|
+
selector: 'ax-alert-title',
|
|
2214
|
+
template: `
|
|
2215
|
+
<ng-content>
|
|
2216
|
+
</ng-content>
|
|
2217
|
+
`,
|
|
2218
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
2219
|
+
encapsulation: ViewEncapsulation.None,
|
|
2220
|
+
host: { class: 'ax-alert-title' }
|
|
2221
|
+
}]
|
|
2222
|
+
}] });
|
|
2223
|
+
|
|
2224
|
+
class AXAlertButtonComponent extends AXBaseClickableMixin {
|
|
2225
|
+
constructor(elementRef, cdr) {
|
|
2226
|
+
super(elementRef, cdr);
|
|
2227
|
+
}
|
|
2228
|
+
_handleOnClick(e) {
|
|
2229
|
+
this._emitOnClickEvent(e);
|
|
2230
|
+
}
|
|
2231
|
+
_handleOnFocus(e) {
|
|
2232
|
+
this._emitOnFocusEvent(e);
|
|
2233
|
+
}
|
|
2234
|
+
_handleOnBlur(e) {
|
|
2235
|
+
this._emitOnBlurEvent(e);
|
|
2236
|
+
}
|
|
2237
|
+
}
|
|
2238
|
+
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 });
|
|
2239
|
+
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: `
|
|
2240
|
+
{{text}}
|
|
2241
|
+
<ng-content select="ax-icon"></ng-content>
|
|
2242
|
+
`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
2243
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXAlertButtonComponent, decorators: [{
|
|
2244
|
+
type: Component,
|
|
2245
|
+
args: [{
|
|
2246
|
+
selector: 'ax-alert-button',
|
|
2247
|
+
template: `
|
|
2248
|
+
{{text}}
|
|
2249
|
+
<ng-content select="ax-icon"></ng-content>
|
|
2250
|
+
`,
|
|
2251
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
2252
|
+
encapsulation: ViewEncapsulation.None,
|
|
2253
|
+
outputs: [...BUTTON_OUTPUT],
|
|
2254
|
+
host: { class: 'ax-alert-button' }
|
|
2255
|
+
}]
|
|
2256
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { text: [{
|
|
2257
|
+
type: Input
|
|
2258
|
+
}], icon: [{
|
|
2259
|
+
type: Input
|
|
2260
|
+
}], _handleOnClick: [{
|
|
2261
|
+
type: HostListener,
|
|
2262
|
+
args: ['click', ['$event']]
|
|
2263
|
+
}], _handleOnFocus: [{
|
|
2264
|
+
type: HostListener,
|
|
2265
|
+
args: ['focus', ['$event']]
|
|
2266
|
+
}], _handleOnBlur: [{
|
|
2267
|
+
type: HostListener,
|
|
2268
|
+
args: ['blur', ['$event']]
|
|
2269
|
+
}] } });
|
|
2270
|
+
|
|
2271
|
+
class AXAlertContentComponent {
|
|
2272
|
+
}
|
|
2273
|
+
AXAlertContentComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXAlertContentComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
2274
|
+
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>
|
|
2275
|
+
</ng-content>
|
|
2276
|
+
`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
2277
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXAlertContentComponent, decorators: [{
|
|
2278
|
+
type: Component,
|
|
2279
|
+
args: [{
|
|
2280
|
+
selector: 'ax-alert-content',
|
|
2281
|
+
template: `<ng-content>
|
|
2282
|
+
</ng-content>
|
|
2283
|
+
`,
|
|
2284
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
2285
|
+
encapsulation: ViewEncapsulation.None,
|
|
2286
|
+
host: { class: 'ax-alert-content' }
|
|
2287
|
+
}]
|
|
2288
|
+
}] });
|
|
2289
|
+
|
|
2290
|
+
class AXAlertSuffixComponent {
|
|
2291
|
+
}
|
|
2292
|
+
AXAlertSuffixComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXAlertSuffixComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
2293
|
+
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: `
|
|
2294
|
+
<div class="ax-alert-buttons">
|
|
2295
|
+
<ng-content select="ax-alert-button">
|
|
2296
|
+
</ng-content>
|
|
2297
|
+
</div>
|
|
2298
|
+
`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
2299
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXAlertSuffixComponent, decorators: [{
|
|
2300
|
+
type: Component,
|
|
2301
|
+
args: [{
|
|
2302
|
+
selector: 'ax-alert-suffix',
|
|
2303
|
+
template: `
|
|
2304
|
+
<div class="ax-alert-buttons">
|
|
2305
|
+
<ng-content select="ax-alert-button">
|
|
2306
|
+
</ng-content>
|
|
2307
|
+
</div>
|
|
2308
|
+
`,
|
|
2309
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
2310
|
+
encapsulation: ViewEncapsulation.None,
|
|
2311
|
+
host: { class: 'ax-alert-suffix' }
|
|
2312
|
+
}]
|
|
2313
|
+
}] });
|
|
2314
|
+
|
|
2315
|
+
class AXAlertFooterComponent {
|
|
2316
|
+
}
|
|
2317
|
+
AXAlertFooterComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXAlertFooterComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
2318
|
+
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: `
|
|
2319
|
+
<div class="ax-alert-buttons">
|
|
2320
|
+
<ng-content select="ax-alert-button">
|
|
2321
|
+
</ng-content>
|
|
2322
|
+
</div>
|
|
2323
|
+
`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
2324
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXAlertFooterComponent, decorators: [{
|
|
2325
|
+
type: Component,
|
|
2326
|
+
args: [{
|
|
2327
|
+
selector: 'ax-alert-footer',
|
|
2328
|
+
template: `
|
|
2329
|
+
<div class="ax-alert-buttons">
|
|
2330
|
+
<ng-content select="ax-alert-button">
|
|
2331
|
+
</ng-content>
|
|
2332
|
+
</div>
|
|
2333
|
+
`,
|
|
2334
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
2335
|
+
encapsulation: ViewEncapsulation.None,
|
|
2336
|
+
host: { class: 'ax-alert-footer' }
|
|
2337
|
+
}]
|
|
2338
|
+
}] });
|
|
2339
|
+
|
|
2340
|
+
const COMPONENT$k = [
|
|
2341
|
+
AXAlertComponent,
|
|
2342
|
+
AXAlertContentComponent,
|
|
2343
|
+
AXAlertTitleComponent,
|
|
2344
|
+
AXAlertButtonComponent,
|
|
2345
|
+
AXAlertFooterComponent,
|
|
2346
|
+
AXAlertSuffixComponent
|
|
2347
|
+
];
|
|
2348
|
+
const MODULES$k = [CommonModule, AXIconModule];
|
|
2349
|
+
class AXAlertModule {
|
|
2350
|
+
}
|
|
2351
|
+
AXAlertModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXAlertModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
2352
|
+
AXAlertModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXAlertModule, declarations: [AXAlertComponent,
|
|
2353
|
+
AXAlertContentComponent,
|
|
2354
|
+
AXAlertTitleComponent,
|
|
2355
|
+
AXAlertButtonComponent,
|
|
2356
|
+
AXAlertFooterComponent,
|
|
2357
|
+
AXAlertSuffixComponent], imports: [CommonModule, AXIconModule], exports: [AXAlertComponent,
|
|
2358
|
+
AXAlertContentComponent,
|
|
2359
|
+
AXAlertTitleComponent,
|
|
2360
|
+
AXAlertButtonComponent,
|
|
2361
|
+
AXAlertFooterComponent,
|
|
2362
|
+
AXAlertSuffixComponent] });
|
|
2363
|
+
AXAlertModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXAlertModule, providers: [], imports: [[...MODULES$k]] });
|
|
2364
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXAlertModule, decorators: [{
|
|
2365
|
+
type: NgModule,
|
|
2366
|
+
args: [{
|
|
2367
|
+
declarations: [...COMPONENT$k],
|
|
2368
|
+
imports: [...MODULES$k],
|
|
2369
|
+
exports: [...COMPONENT$k],
|
|
2370
|
+
providers: [],
|
|
2371
|
+
}]
|
|
2372
|
+
}] });
|
|
2373
|
+
|
|
2374
|
+
class AXAvatarGroup {
|
|
2375
|
+
constructor() { }
|
|
2376
|
+
ngOnInit() { }
|
|
2377
|
+
}
|
|
2378
|
+
AXAvatarGroup.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXAvatarGroup, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
2379
|
+
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 });
|
|
2380
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXAvatarGroup, decorators: [{
|
|
2381
|
+
type: Component,
|
|
2382
|
+
args: [{
|
|
2383
|
+
selector: 'ax-avatar-group',
|
|
2384
|
+
template: `<ng-content select='ax-avatar'></ng-content>`,
|
|
2385
|
+
host: { class: 'ax-avatar-group' }
|
|
2386
|
+
}]
|
|
2387
|
+
}], ctorParameters: function () { return []; } });
|
|
2388
|
+
|
|
2389
|
+
/**
|
|
2390
|
+
* The Button is a component which detects user interaction and triggers a corresponding event
|
|
2391
|
+
*
|
|
2392
|
+
* @category Components
|
|
2393
|
+
*/
|
|
2394
|
+
class AXAvatarComponent extends AXAvatarMixin {
|
|
2395
|
+
/**
|
|
2396
|
+
* @ignore
|
|
2397
|
+
*/
|
|
2398
|
+
constructor(elementRef, cdr) {
|
|
2399
|
+
super(elementRef, cdr);
|
|
2400
|
+
this.type = 'default';
|
|
2401
|
+
}
|
|
2402
|
+
get __hostClass() {
|
|
2403
|
+
return `ax-${this.color}-default`;
|
|
2404
|
+
}
|
|
2405
|
+
}
|
|
2406
|
+
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 });
|
|
2407
|
+
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 });
|
|
2408
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXAvatarComponent, decorators: [{
|
|
2409
|
+
type: Component,
|
|
2410
|
+
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>" }]
|
|
2411
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { text: [{
|
|
2412
|
+
type: Input
|
|
2413
|
+
}], icon: [{
|
|
2414
|
+
type: Input
|
|
2415
|
+
}], src: [{
|
|
2416
|
+
type: Input
|
|
2417
|
+
}], class: [{
|
|
2418
|
+
type: Input
|
|
2419
|
+
}], type: [{
|
|
2420
|
+
type: Input
|
|
2421
|
+
}], __hostClass: [{
|
|
2422
|
+
type: HostBinding,
|
|
2423
|
+
args: ['class']
|
|
2424
|
+
}] } });
|
|
2425
|
+
|
|
2426
|
+
const COMPONENT$j = [AXAvatarComponent, AXAvatarGroup];
|
|
2427
|
+
const MODULES$j = [CommonModule];
|
|
2428
|
+
class AXAvatarModule {
|
|
2429
|
+
}
|
|
2430
|
+
AXAvatarModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXAvatarModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
2431
|
+
AXAvatarModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXAvatarModule, declarations: [AXAvatarComponent, AXAvatarGroup], imports: [CommonModule], exports: [AXAvatarComponent, AXAvatarGroup] });
|
|
2432
|
+
AXAvatarModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXAvatarModule, providers: [], imports: [[...MODULES$j]] });
|
|
2433
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXAvatarModule, decorators: [{
|
|
2434
|
+
type: NgModule,
|
|
2435
|
+
args: [{
|
|
2436
|
+
declarations: [...COMPONENT$j],
|
|
2437
|
+
imports: [...MODULES$j],
|
|
2438
|
+
exports: [...COMPONENT$j],
|
|
2439
|
+
providers: [],
|
|
2440
|
+
}]
|
|
2441
|
+
}] });
|
|
2442
|
+
|
|
2443
|
+
const AXBaseBadgeMixin = _ColorLookComponentMixin(AXBaseComponent);
|
|
2444
|
+
class AXBadgeComponent extends AXBaseBadgeMixin {
|
|
2445
|
+
constructor(elementRef, cdr) {
|
|
2446
|
+
super(elementRef, cdr);
|
|
2447
|
+
this.text = '';
|
|
2448
|
+
//TODO: ax-badge
|
|
2449
|
+
}
|
|
2450
|
+
get __hostClass() {
|
|
2451
|
+
const _class = this.look ? `ax-${this.color}-${this.look}` : `ax-${this.color}-default`;
|
|
2452
|
+
return ['ax-badge', _class, !this.text ? 'ax-badge-icon' : ''].join(' ');
|
|
2453
|
+
}
|
|
2454
|
+
}
|
|
2455
|
+
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 });
|
|
2456
|
+
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 });
|
|
2457
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXBadgeComponent, decorators: [{
|
|
2458
|
+
type: Component,
|
|
2459
|
+
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>" }]
|
|
2460
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { text: [{
|
|
2461
|
+
type: Input
|
|
2462
|
+
}], __hostClass: [{
|
|
2463
|
+
type: HostBinding,
|
|
2464
|
+
args: ['class']
|
|
2465
|
+
}] } });
|
|
2466
|
+
|
|
2467
|
+
const COMPONENT$i = [AXBadgeComponent];
|
|
2468
|
+
const MODULES$i = [CommonModule];
|
|
2469
|
+
class AXBadgeModule {
|
|
2470
|
+
}
|
|
2471
|
+
AXBadgeModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXBadgeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
2472
|
+
AXBadgeModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXBadgeModule, declarations: [AXBadgeComponent], imports: [CommonModule], exports: [AXBadgeComponent] });
|
|
2473
|
+
AXBadgeModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXBadgeModule, providers: [], imports: [[...MODULES$i]] });
|
|
2474
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXBadgeModule, decorators: [{
|
|
2475
|
+
type: NgModule,
|
|
2476
|
+
args: [{
|
|
2477
|
+
declarations: [...COMPONENT$i],
|
|
2478
|
+
imports: [...MODULES$i],
|
|
2479
|
+
exports: [...COMPONENT$i],
|
|
2480
|
+
providers: [],
|
|
2481
|
+
}]
|
|
2482
|
+
}] });
|
|
2483
|
+
|
|
2484
|
+
class AXBreadCrumbsComponent extends AXBaseComponent {
|
|
2485
|
+
constructor() {
|
|
2486
|
+
super();
|
|
2487
|
+
}
|
|
2488
|
+
}
|
|
2489
|
+
AXBreadCrumbsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXBreadCrumbsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
2490
|
+
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>" });
|
|
2491
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXBreadCrumbsComponent, decorators: [{
|
|
2492
|
+
type: Component,
|
|
2493
|
+
args: [{ selector: 'ax-breadcrumbs', host: { class: 'ax-breadcrumbs' }, template: "<ng-content select=\"ax-breadcrumbs-item\"></ng-content>" }]
|
|
2494
|
+
}], ctorParameters: function () { return []; } });
|
|
2495
|
+
|
|
2496
|
+
class AXBreadCrumbsItemComponent extends AXBaseComponent {
|
|
2497
|
+
constructor() {
|
|
2498
|
+
super();
|
|
2499
|
+
}
|
|
2500
|
+
}
|
|
2501
|
+
AXBreadCrumbsItemComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXBreadCrumbsItemComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
2502
|
+
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>" });
|
|
2503
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXBreadCrumbsItemComponent, decorators: [{
|
|
2504
|
+
type: Component,
|
|
2505
|
+
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>" }]
|
|
2506
|
+
}], ctorParameters: function () { return []; }, propDecorators: { text: [{
|
|
2507
|
+
type: Input
|
|
2508
|
+
}] } });
|
|
2509
|
+
|
|
2510
|
+
class AXBreadcrumbsModule {
|
|
2511
|
+
}
|
|
2512
|
+
AXBreadcrumbsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXBreadcrumbsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
2513
|
+
AXBreadcrumbsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXBreadcrumbsModule, declarations: [AXBreadCrumbsComponent, AXBreadCrumbsItemComponent], imports: [CommonModule], exports: [AXBreadCrumbsComponent, AXBreadCrumbsItemComponent] });
|
|
2514
|
+
AXBreadcrumbsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXBreadcrumbsModule, providers: [], imports: [[CommonModule]] });
|
|
2515
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXBreadcrumbsModule, decorators: [{
|
|
2516
|
+
type: NgModule,
|
|
2517
|
+
args: [{
|
|
2518
|
+
declarations: [AXBreadCrumbsComponent, AXBreadCrumbsItemComponent],
|
|
2519
|
+
imports: [CommonModule],
|
|
2520
|
+
exports: [AXBreadCrumbsComponent, AXBreadCrumbsItemComponent],
|
|
2521
|
+
providers: [],
|
|
2522
|
+
}]
|
|
2523
|
+
}] });
|
|
2524
|
+
|
|
2525
|
+
class AXCalendarBaseComponent extends AXBaseComponent {
|
|
2526
|
+
constructor(elementRef, cdr) {
|
|
2527
|
+
super(elementRef, cdr);
|
|
2528
|
+
this.activeViewChange = new EventEmitter();
|
|
2529
|
+
this._activeView = 'days';
|
|
2530
|
+
this.typeChange = new EventEmitter();
|
|
2531
|
+
this._type = AXConfig.get(`dateTime.calendar`);
|
|
2532
|
+
this.depthChange = new EventEmitter();
|
|
2533
|
+
this._depth = 'days';
|
|
2534
|
+
this.minChange = new EventEmitter();
|
|
2535
|
+
this.maxChange = new EventEmitter();
|
|
2536
|
+
this.disabledDatesChange = new EventEmitter();
|
|
2537
|
+
this.holidayDatesChange = new EventEmitter();
|
|
2538
|
+
}
|
|
2539
|
+
get activeView() {
|
|
2540
|
+
return this._activeView;
|
|
2541
|
+
}
|
|
2542
|
+
set activeView(v) {
|
|
2543
|
+
this._setOption({ name: 'activeView', value: v });
|
|
2544
|
+
}
|
|
2545
|
+
get type() {
|
|
2546
|
+
return this._type || AXConfig.get(`dateTime.calendar`);
|
|
2547
|
+
}
|
|
2548
|
+
set type(v) {
|
|
2549
|
+
this._setOption({
|
|
2550
|
+
name: 'type',
|
|
2551
|
+
value: v
|
|
2552
|
+
});
|
|
2553
|
+
}
|
|
2554
|
+
get depth() {
|
|
2555
|
+
return this._depth;
|
|
2556
|
+
}
|
|
2557
|
+
set depth(v) {
|
|
2558
|
+
this._setOption({
|
|
2559
|
+
name: 'depth',
|
|
2560
|
+
value: v,
|
|
2561
|
+
beforeCallback: () => {
|
|
2562
|
+
this._activeView = v;
|
|
2563
|
+
}
|
|
2564
|
+
});
|
|
2565
|
+
}
|
|
2566
|
+
get min() {
|
|
2567
|
+
return this._min;
|
|
2568
|
+
}
|
|
2569
|
+
set min(v) {
|
|
2570
|
+
this._setOption({ name: 'min', value: v });
|
|
2571
|
+
}
|
|
2572
|
+
get max() {
|
|
2573
|
+
return this._max;
|
|
2574
|
+
}
|
|
2575
|
+
set max(v) {
|
|
2576
|
+
this._setOption({ name: 'max', value: v });
|
|
2577
|
+
}
|
|
2578
|
+
get disabledDates() {
|
|
2579
|
+
return this._disabledDates;
|
|
2580
|
+
}
|
|
2581
|
+
set disabledDates(v) {
|
|
2582
|
+
this._setOption({ name: 'disabledDates', value: v });
|
|
2583
|
+
}
|
|
2584
|
+
get holidayDates() {
|
|
2585
|
+
return this._holidayDates;
|
|
2586
|
+
}
|
|
2587
|
+
set holidayDates(v) {
|
|
2588
|
+
this._setOption({ name: 'holidayDates', value: v });
|
|
2589
|
+
}
|
|
2590
|
+
}
|
|
2591
|
+
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 });
|
|
2592
|
+
AXCalendarBaseComponent.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXCalendarBaseComponent });
|
|
2593
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXCalendarBaseComponent, decorators: [{
|
|
2594
|
+
type: Injectable
|
|
2595
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { activeViewChange: [{
|
|
2596
|
+
type: Output
|
|
2597
|
+
}], activeView: [{
|
|
2598
|
+
type: Input
|
|
2599
|
+
}], typeChange: [{
|
|
2600
|
+
type: Output
|
|
2601
|
+
}], type: [{
|
|
2602
|
+
type: Input
|
|
2603
|
+
}], depthChange: [{
|
|
2604
|
+
type: Output
|
|
2605
|
+
}], depth: [{
|
|
2606
|
+
type: Input
|
|
2607
|
+
}], minChange: [{
|
|
2608
|
+
type: Output
|
|
2609
|
+
}], min: [{
|
|
2610
|
+
type: Input
|
|
2611
|
+
}], maxChange: [{
|
|
2612
|
+
type: Output
|
|
2613
|
+
}], max: [{
|
|
2614
|
+
type: Input
|
|
2615
|
+
}], disabledDatesChange: [{
|
|
2616
|
+
type: Output
|
|
2617
|
+
}], disabledDates: [{
|
|
2618
|
+
type: Input
|
|
2619
|
+
}], holidayDatesChange: [{
|
|
2620
|
+
type: Output
|
|
2621
|
+
}], holidayDates: [{
|
|
2622
|
+
type: Input
|
|
2623
|
+
}] } });
|
|
2624
|
+
const CALENDAR_INPUTS = [
|
|
2625
|
+
'depth',
|
|
2626
|
+
'activeView',
|
|
2627
|
+
'min',
|
|
2628
|
+
'max',
|
|
2629
|
+
'disabledDates',
|
|
2630
|
+
'type',
|
|
2631
|
+
'holidayDates',
|
|
2632
|
+
];
|
|
2633
|
+
const CALENDAR_OUTPUTS = ['depthChange', 'typeChange', 'disabledDates', 'holidayDates'];
|
|
2634
|
+
|
|
2635
|
+
const AXCalendarComponentMixin = _ClickableComponenetMixin(_InteractiveComponenetMixin(_ValueComponenetMixin(AXCalendarBaseComponent)));
|
|
2636
|
+
class AXCalendarComponent extends AXCalendarComponentMixin {
|
|
2637
|
+
constructor(elementRef, cdr) {
|
|
2638
|
+
super(elementRef, cdr);
|
|
2639
|
+
this.cdr = cdr;
|
|
2640
|
+
this._today = new AXDateTime(new Date(), this.type);
|
|
2641
|
+
this._navText = '';
|
|
2642
|
+
this._todayText = '';
|
|
2643
|
+
this._slots = [];
|
|
2644
|
+
this._dayNames = [];
|
|
2645
|
+
this.onSlotClick = new EventEmitter();
|
|
2646
|
+
}
|
|
2647
|
+
get _viewRange() {
|
|
2648
|
+
const current = this._viewStartDate || this._today;
|
|
2649
|
+
switch (this.activeView) {
|
|
2650
|
+
case 'years':
|
|
2232
2651
|
let y = current.startOf('year').year;
|
|
2233
2652
|
let min = y - (y % 10) - 1;
|
|
2234
2653
|
let max = min + 11;
|
|
@@ -2378,7 +2797,7 @@ class AXCalendarComponent extends AXCalendarComponentMixin {
|
|
|
2378
2797
|
this.activeView = 'years';
|
|
2379
2798
|
}
|
|
2380
2799
|
_onOptionChanged(option) {
|
|
2381
|
-
if (option.name == 'depth' || option.name == 'activeView') {
|
|
2800
|
+
if (option.name == 'depth' || option.name == 'activeView' || option.name == 'disabledDates' || option.name == 'holidayDates') {
|
|
2382
2801
|
this._genearteSlots();
|
|
2383
2802
|
}
|
|
2384
2803
|
if (option.name == 'type') {
|
|
@@ -2429,7 +2848,6 @@ class AXCalendarComponent extends AXCalendarComponentMixin {
|
|
|
2429
2848
|
}
|
|
2430
2849
|
isDisabled(date) {
|
|
2431
2850
|
if (Array.isArray(this.disabledDates) && this.disabledDates.length != 0) {
|
|
2432
|
-
;
|
|
2433
2851
|
return this.disabledDates.some(d => date.equal(d, 'day'));
|
|
2434
2852
|
}
|
|
2435
2853
|
else if (typeof this.disabledDates == 'function') {
|
|
@@ -2451,10 +2869,10 @@ class AXCalendarComponent extends AXCalendarComponentMixin {
|
|
|
2451
2869
|
}
|
|
2452
2870
|
}
|
|
2453
2871
|
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 });
|
|
2454
|
-
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\"
|
|
2872
|
+
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 });
|
|
2455
2873
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXCalendarComponent, decorators: [{
|
|
2456
2874
|
type: Component,
|
|
2457
|
-
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\"
|
|
2875
|
+
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>" }]
|
|
2458
2876
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { onSlotClick: [{
|
|
2459
2877
|
type: Output
|
|
2460
2878
|
}], __hostClass: [{
|
|
@@ -2462,19 +2880,19 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
|
|
|
2462
2880
|
args: ['class']
|
|
2463
2881
|
}] } });
|
|
2464
2882
|
|
|
2465
|
-
const COMPONENT$
|
|
2466
|
-
const MODULES$
|
|
2883
|
+
const COMPONENT$h = [AXCalendarComponent];
|
|
2884
|
+
const MODULES$h = [CommonModule, AXButtonModule, AXIconModule, AXEditorDecoratorModule, AXDateTimeModule];
|
|
2467
2885
|
class AXCalendarModule {
|
|
2468
2886
|
}
|
|
2469
2887
|
AXCalendarModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXCalendarModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
2470
2888
|
AXCalendarModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXCalendarModule, declarations: [AXCalendarComponent], imports: [CommonModule, AXButtonModule, AXIconModule, AXEditorDecoratorModule, AXDateTimeModule], exports: [AXCalendarComponent] });
|
|
2471
|
-
AXCalendarModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXCalendarModule, providers: [], imports: [[...MODULES$
|
|
2889
|
+
AXCalendarModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXCalendarModule, providers: [], imports: [[...MODULES$h]] });
|
|
2472
2890
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXCalendarModule, decorators: [{
|
|
2473
2891
|
type: NgModule,
|
|
2474
2892
|
args: [{
|
|
2475
|
-
declarations: [...COMPONENT$
|
|
2476
|
-
imports: [...MODULES$
|
|
2477
|
-
exports: [...COMPONENT$
|
|
2893
|
+
declarations: [...COMPONENT$h],
|
|
2894
|
+
imports: [...MODULES$h],
|
|
2895
|
+
exports: [...COMPONENT$h],
|
|
2478
2896
|
providers: [],
|
|
2479
2897
|
}]
|
|
2480
2898
|
}] });
|
|
@@ -2936,19 +3354,19 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
|
|
|
2936
3354
|
}]
|
|
2937
3355
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: AXCarouselComponent }]; } });
|
|
2938
3356
|
|
|
2939
|
-
const COMPONENT$
|
|
2940
|
-
const MODULES$
|
|
3357
|
+
const COMPONENT$g = [AXCarouselComponent, AXCarouselItemComponent, AXCarouselArrowsComponent, AXCarouselPagerComponent];
|
|
3358
|
+
const MODULES$g = [CommonModule];
|
|
2941
3359
|
class AXCarouselModule {
|
|
2942
3360
|
}
|
|
2943
3361
|
AXCarouselModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXCarouselModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
2944
3362
|
AXCarouselModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXCarouselModule, declarations: [AXCarouselComponent, AXCarouselItemComponent, AXCarouselArrowsComponent, AXCarouselPagerComponent], imports: [CommonModule], exports: [AXCarouselComponent, AXCarouselItemComponent, AXCarouselArrowsComponent, AXCarouselPagerComponent] });
|
|
2945
|
-
AXCarouselModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXCarouselModule, providers: [], imports: [[...MODULES$
|
|
3363
|
+
AXCarouselModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXCarouselModule, providers: [], imports: [[...MODULES$g]] });
|
|
2946
3364
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXCarouselModule, decorators: [{
|
|
2947
3365
|
type: NgModule,
|
|
2948
3366
|
args: [{
|
|
2949
|
-
declarations: [...COMPONENT$
|
|
2950
|
-
imports: [...MODULES$
|
|
2951
|
-
exports: [...COMPONENT$
|
|
3367
|
+
declarations: [...COMPONENT$g],
|
|
3368
|
+
imports: [...MODULES$g],
|
|
3369
|
+
exports: [...COMPONENT$g],
|
|
2952
3370
|
providers: [],
|
|
2953
3371
|
}]
|
|
2954
3372
|
}] });
|
|
@@ -3325,8 +3743,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
|
|
|
3325
3743
|
args: ['axIsLoading']
|
|
3326
3744
|
}] } });
|
|
3327
3745
|
|
|
3328
|
-
const COMPONENT$
|
|
3329
|
-
const MODULES$
|
|
3746
|
+
const COMPONENT$f = [AXLoadingComponent, AXLoadingDirective, AXLoadingSpinnerComponent];
|
|
3747
|
+
const MODULES$f = [CommonModule, OverlayModule, PortalModule];
|
|
3330
3748
|
class AXLoadingModule {
|
|
3331
3749
|
constructor() {
|
|
3332
3750
|
AXConfig.set({
|
|
@@ -3340,13 +3758,13 @@ class AXLoadingModule {
|
|
|
3340
3758
|
}
|
|
3341
3759
|
AXLoadingModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXLoadingModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
3342
3760
|
AXLoadingModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXLoadingModule, declarations: [AXLoadingComponent, AXLoadingDirective, AXLoadingSpinnerComponent], imports: [CommonModule, OverlayModule, PortalModule], exports: [AXLoadingComponent, AXLoadingDirective, AXLoadingSpinnerComponent] });
|
|
3343
|
-
AXLoadingModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXLoadingModule, providers: [], imports: [[...MODULES$
|
|
3761
|
+
AXLoadingModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXLoadingModule, providers: [], imports: [[...MODULES$f]] });
|
|
3344
3762
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXLoadingModule, decorators: [{
|
|
3345
3763
|
type: NgModule,
|
|
3346
3764
|
args: [{
|
|
3347
|
-
declarations: [...COMPONENT$
|
|
3348
|
-
imports: [...MODULES$
|
|
3349
|
-
exports: [...COMPONENT$
|
|
3765
|
+
declarations: [...COMPONENT$f],
|
|
3766
|
+
imports: [...MODULES$f],
|
|
3767
|
+
exports: [...COMPONENT$f],
|
|
3350
3768
|
providers: [],
|
|
3351
3769
|
}]
|
|
3352
3770
|
}], ctorParameters: function () { return []; } });
|
|
@@ -3624,19 +4042,19 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
|
|
|
3624
4042
|
}]
|
|
3625
4043
|
}], ctorParameters: function () { return [{ type: i0.NgZone }, { type: AXOverlayService }]; } });
|
|
3626
4044
|
|
|
3627
|
-
const COMPONENT$
|
|
3628
|
-
const MODULES$
|
|
4045
|
+
const COMPONENT$e = [AXDataListComponent];
|
|
4046
|
+
const MODULES$e = [CommonModule, AXButtonModule, AXLoadingModule, AXTranslationModule];
|
|
3629
4047
|
class AXDataListModule {
|
|
3630
4048
|
}
|
|
3631
4049
|
AXDataListModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXDataListModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
3632
4050
|
AXDataListModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXDataListModule, declarations: [AXDataListComponent], imports: [CommonModule, AXButtonModule, AXLoadingModule, AXTranslationModule], exports: [AXDataListComponent] });
|
|
3633
|
-
AXDataListModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXDataListModule, providers: [], imports: [[...MODULES$
|
|
4051
|
+
AXDataListModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXDataListModule, providers: [], imports: [[...MODULES$e]] });
|
|
3634
4052
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXDataListModule, decorators: [{
|
|
3635
4053
|
type: NgModule,
|
|
3636
4054
|
args: [{
|
|
3637
|
-
declarations: [...COMPONENT$
|
|
3638
|
-
imports: [...MODULES$
|
|
3639
|
-
exports: [...COMPONENT$
|
|
4055
|
+
declarations: [...COMPONENT$e],
|
|
4056
|
+
imports: [...MODULES$e],
|
|
4057
|
+
exports: [...COMPONENT$e],
|
|
3640
4058
|
providers: [],
|
|
3641
4059
|
}]
|
|
3642
4060
|
}] });
|
|
@@ -3994,10 +4412,10 @@ class AXDatePickerComponent extends AXBaseDatePickerMixin {
|
|
|
3994
4412
|
}
|
|
3995
4413
|
}
|
|
3996
4414
|
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 });
|
|
3997
|
-
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\"
|
|
4415
|
+
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 });
|
|
3998
4416
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXDatePickerComponent, decorators: [{
|
|
3999
4417
|
type: Component,
|
|
4000
|
-
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\"
|
|
4418
|
+
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>" }]
|
|
4001
4419
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: i1$3.AXPlatform }]; }, propDecorators: { popover: [{
|
|
4002
4420
|
type: ViewChild,
|
|
4003
4421
|
args: [AXPopoverComponent, { static: true }]
|
|
@@ -4080,8 +4498,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
|
|
|
4080
4498
|
}]
|
|
4081
4499
|
}] });
|
|
4082
4500
|
|
|
4083
|
-
const COMPONENT$
|
|
4084
|
-
const MODULES$
|
|
4501
|
+
const COMPONENT$d = [AXDatePickerComponent];
|
|
4502
|
+
const MODULES$d = [
|
|
4085
4503
|
CommonModule,
|
|
4086
4504
|
AXCalendarModule,
|
|
4087
4505
|
AXTextBoxModule,
|
|
@@ -4104,13 +4522,13 @@ AXDatepickerModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", vers
|
|
|
4104
4522
|
AXIconModule,
|
|
4105
4523
|
AXDateTimeModule,
|
|
4106
4524
|
FormsModule], exports: [AXDatePickerComponent] });
|
|
4107
|
-
AXDatepickerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXDatepickerModule, providers: [], imports: [[...MODULES$
|
|
4525
|
+
AXDatepickerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXDatepickerModule, providers: [], imports: [[...MODULES$d]] });
|
|
4108
4526
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXDatepickerModule, decorators: [{
|
|
4109
4527
|
type: NgModule,
|
|
4110
4528
|
args: [{
|
|
4111
|
-
declarations: [...COMPONENT$
|
|
4112
|
-
imports: [...MODULES$
|
|
4113
|
-
exports: [...COMPONENT$
|
|
4529
|
+
declarations: [...COMPONENT$d],
|
|
4530
|
+
imports: [...MODULES$d],
|
|
4531
|
+
exports: [...COMPONENT$d],
|
|
4114
4532
|
providers: [],
|
|
4115
4533
|
}]
|
|
4116
4534
|
}] });
|
|
@@ -4282,123 +4700,30 @@ class AXDialogService {
|
|
|
4282
4700
|
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 });
|
|
4283
4701
|
AXDialogService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXDialogService, providedIn: 'root' });
|
|
4284
4702
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXDialogService, decorators: [{
|
|
4285
|
-
type: Injectable,
|
|
4286
|
-
args: [{ providedIn: 'root' }]
|
|
4287
|
-
}], ctorParameters: function () { return [{ type: i1$4.Overlay }, { type: i0.Injector }, { type: i1$4.ScrollStrategyOptions }]; } });
|
|
4288
|
-
|
|
4289
|
-
class AXPageComponent extends AXBaseComponentMixin {
|
|
4290
|
-
constructor(elementRef, cdr, _loadingService) {
|
|
4291
|
-
super(elementRef, cdr);
|
|
4292
|
-
this._loadingService = _loadingService;
|
|
4293
|
-
// private _isLoading: boolean = false;
|
|
4294
|
-
// public get isLoading(): boolean {
|
|
4295
|
-
// return this._isLoading;
|
|
4296
|
-
// }
|
|
4297
|
-
// public set isLoading(v: boolean) {
|
|
4298
|
-
// this._isLoading = v;
|
|
4299
|
-
// if (this._loadingId && !v) {
|
|
4300
|
-
// this._loadingService.hide(this._loadingId);
|
|
4301
|
-
// this._loadingId = null;
|
|
4302
|
-
// }
|
|
4303
|
-
// if (v) {
|
|
4304
|
-
// this._loadingId = this._loadingService.show(this._getHostElement());
|
|
4305
|
-
// }
|
|
4306
|
-
// }
|
|
4307
|
-
this.isLoadingChange = new EventEmitter();
|
|
4308
|
-
this._isLoading = false;
|
|
4309
|
-
}
|
|
4310
|
-
get isLoading() {
|
|
4311
|
-
return this._isLoading;
|
|
4312
|
-
}
|
|
4313
|
-
set isLoading(v) {
|
|
4314
|
-
this._setOption({
|
|
4315
|
-
name: 'isLoading',
|
|
4316
|
-
value: v,
|
|
4317
|
-
afterCallback: () => {
|
|
4318
|
-
if (this._loadingId && !v) {
|
|
4319
|
-
this._loadingService.hide(this._loadingId);
|
|
4320
|
-
this._loadingId = null;
|
|
4321
|
-
}
|
|
4322
|
-
if (v) {
|
|
4323
|
-
this._loadingId = this._loadingService.show(this._getHostElement());
|
|
4324
|
-
}
|
|
4325
|
-
this._cdr.markForCheck();
|
|
4326
|
-
}
|
|
4327
|
-
});
|
|
4328
|
-
}
|
|
4329
|
-
}
|
|
4330
|
-
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 });
|
|
4331
|
-
AXPageComponent.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXPageComponent });
|
|
4332
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXPageComponent, decorators: [{
|
|
4333
|
-
type: Injectable
|
|
4334
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: undefined, decorators: [{
|
|
4335
|
-
type: Inject,
|
|
4336
|
-
args: [AXLoadingService]
|
|
4337
|
-
}] }]; }, propDecorators: { isLoadingChange: [{
|
|
4338
|
-
type: Output
|
|
4339
|
-
}], isLoading: [{
|
|
4340
|
-
type: Input
|
|
4341
|
-
}] } });
|
|
4342
|
-
|
|
4343
|
-
class AXPageFooterComponent {
|
|
4344
|
-
}
|
|
4345
|
-
AXPageFooterComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXPageFooterComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
4346
|
-
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: `
|
|
4347
|
-
<ng-content select="ax-prefix">
|
|
4348
|
-
</ng-content>
|
|
4349
|
-
<ng-content select="ax-suffix">
|
|
4350
|
-
</ng-content>
|
|
4351
|
-
`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
4352
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXPageFooterComponent, decorators: [{
|
|
4353
|
-
type: Component,
|
|
4354
|
-
args: [{
|
|
4355
|
-
selector: 'ax-page-footer',
|
|
4356
|
-
template: `
|
|
4357
|
-
<ng-content select="ax-prefix">
|
|
4358
|
-
</ng-content>
|
|
4359
|
-
<ng-content select="ax-suffix">
|
|
4360
|
-
</ng-content>
|
|
4361
|
-
`,
|
|
4362
|
-
changeDetection: ChangeDetectionStrategy.OnPush
|
|
4363
|
-
}]
|
|
4364
|
-
}], propDecorators: { template: [{
|
|
4365
|
-
type: ViewChild,
|
|
4366
|
-
args: [TemplateRef, { static: true }]
|
|
4367
|
-
}] } });
|
|
4368
|
-
|
|
4369
|
-
const TAB_META_KEY = '__meta__';
|
|
4370
|
-
class AXPageCloseEvent extends AXEvent {
|
|
4371
|
-
}
|
|
4372
|
-
class AXPageClosing {
|
|
4373
|
-
constructor() {
|
|
4374
|
-
this.cancel = false;
|
|
4375
|
-
}
|
|
4376
|
-
}
|
|
4377
|
-
class AXPageResult {
|
|
4378
|
-
}
|
|
4379
|
-
/**
|
|
4380
|
-
* 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.
|
|
4381
|
-
*/
|
|
4382
|
-
class AXPageClosedPromise extends Promise {
|
|
4383
|
-
constructor(executor) {
|
|
4384
|
-
super(executor);
|
|
4385
|
-
}
|
|
4386
|
-
close() {
|
|
4387
|
-
if (this.closeMethod) {
|
|
4388
|
-
this.closeMethod();
|
|
4389
|
-
}
|
|
4390
|
-
}
|
|
4391
|
-
}
|
|
4392
|
-
class AXBasePageComponent extends AXBaseComponentMixin {
|
|
4393
|
-
/**
|
|
4394
|
-
* @ignore
|
|
4395
|
-
*/
|
|
4396
|
-
constructor(elementRef, cdr) {
|
|
4703
|
+
type: Injectable,
|
|
4704
|
+
args: [{ providedIn: 'root' }]
|
|
4705
|
+
}], ctorParameters: function () { return [{ type: i1$4.Overlay }, { type: i0.Injector }, { type: i1$4.ScrollStrategyOptions }]; } });
|
|
4706
|
+
|
|
4707
|
+
class AXPageComponent extends AXBaseComponentMixin {
|
|
4708
|
+
constructor(elementRef, cdr, _loadingService) {
|
|
4397
4709
|
super(elementRef, cdr);
|
|
4710
|
+
this._loadingService = _loadingService;
|
|
4711
|
+
// private _isLoading: boolean = false;
|
|
4712
|
+
// public get isLoading(): boolean {
|
|
4713
|
+
// return this._isLoading;
|
|
4714
|
+
// }
|
|
4715
|
+
// public set isLoading(v: boolean) {
|
|
4716
|
+
// this._isLoading = v;
|
|
4717
|
+
// if (this._loadingId && !v) {
|
|
4718
|
+
// this._loadingService.hide(this._loadingId);
|
|
4719
|
+
// this._loadingId = null;
|
|
4720
|
+
// }
|
|
4721
|
+
// if (v) {
|
|
4722
|
+
// this._loadingId = this._loadingService.show(this._getHostElement());
|
|
4723
|
+
// }
|
|
4724
|
+
// }
|
|
4398
4725
|
this.isLoadingChange = new EventEmitter();
|
|
4399
4726
|
this._isLoading = false;
|
|
4400
|
-
this._isPopup = false;
|
|
4401
|
-
this.onClosed = new EventEmitter();
|
|
4402
4727
|
}
|
|
4403
4728
|
get isLoading() {
|
|
4404
4729
|
return this._isLoading;
|
|
@@ -4408,382 +4733,186 @@ class AXBasePageComponent extends AXBaseComponentMixin {
|
|
|
4408
4733
|
name: 'isLoading',
|
|
4409
4734
|
value: v,
|
|
4410
4735
|
afterCallback: () => {
|
|
4411
|
-
if (this.
|
|
4412
|
-
this.
|
|
4413
|
-
|
|
4414
|
-
this._cdr.markForCheck();
|
|
4415
|
-
}
|
|
4416
|
-
});
|
|
4417
|
-
}
|
|
4418
|
-
get isPopup() {
|
|
4419
|
-
return this._isPopup;
|
|
4420
|
-
}
|
|
4421
|
-
close(data) {
|
|
4422
|
-
this.onClosed.emit({
|
|
4423
|
-
component: this,
|
|
4424
|
-
data: data
|
|
4425
|
-
});
|
|
4426
|
-
}
|
|
4427
|
-
onClosing(e) {
|
|
4428
|
-
}
|
|
4429
|
-
ngOnDestroy() {
|
|
4430
|
-
this.onClosed.unsubscribe();
|
|
4431
|
-
}
|
|
4432
|
-
}
|
|
4433
|
-
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 });
|
|
4434
|
-
AXBasePageComponent.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXBasePageComponent });
|
|
4435
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXBasePageComponent, decorators: [{
|
|
4436
|
-
type: Injectable
|
|
4437
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { pageContainer: [{
|
|
4438
|
-
type: ViewChild,
|
|
4439
|
-
args: [AXPageComponent, { static: true }]
|
|
4440
|
-
}], footer: [{
|
|
4441
|
-
type: ViewChild,
|
|
4442
|
-
args: [AXPageFooterComponent, { static: true }]
|
|
4443
|
-
}], isLoadingChange: [{
|
|
4444
|
-
type: Output
|
|
4445
|
-
}], isLoading: [{
|
|
4446
|
-
type: Input
|
|
4447
|
-
}] } });
|
|
4448
|
-
|
|
4449
|
-
class AXPageHeaderComponent {
|
|
4450
|
-
}
|
|
4451
|
-
AXPageHeaderComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXPageHeaderComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
4452
|
-
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: `
|
|
4453
|
-
<ng-content select="ax-prefix">
|
|
4454
|
-
</ng-content>
|
|
4455
|
-
<ng-content select="ax-suffix">
|
|
4456
|
-
</ng-content>
|
|
4457
|
-
`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
4458
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXPageHeaderComponent, decorators: [{
|
|
4459
|
-
type: Component,
|
|
4460
|
-
args: [{
|
|
4461
|
-
selector: 'ax-page-header',
|
|
4462
|
-
template: `
|
|
4463
|
-
<ng-content select="ax-prefix">
|
|
4464
|
-
</ng-content>
|
|
4465
|
-
<ng-content select="ax-suffix">
|
|
4466
|
-
</ng-content>
|
|
4467
|
-
`,
|
|
4468
|
-
changeDetection: ChangeDetectionStrategy.OnPush
|
|
4469
|
-
}]
|
|
4470
|
-
}], propDecorators: { template: [{
|
|
4471
|
-
type: ViewChild,
|
|
4472
|
-
args: [TemplateRef, { static: true }]
|
|
4473
|
-
}] } });
|
|
4474
|
-
|
|
4475
|
-
class AXPageModule {
|
|
4476
|
-
}
|
|
4477
|
-
AXPageModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXPageModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
4478
|
-
AXPageModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXPageModule, declarations: [AXPageFooterComponent, AXPageHeaderComponent], exports: [AXPageFooterComponent, AXPageHeaderComponent] });
|
|
4479
|
-
AXPageModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXPageModule, providers: [], imports: [[]] });
|
|
4480
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXPageModule, decorators: [{
|
|
4481
|
-
type: NgModule,
|
|
4482
|
-
args: [{
|
|
4483
|
-
imports: [],
|
|
4484
|
-
exports: [AXPageFooterComponent, AXPageHeaderComponent],
|
|
4485
|
-
declarations: [AXPageFooterComponent, AXPageHeaderComponent],
|
|
4486
|
-
providers: [],
|
|
4487
|
-
}]
|
|
4488
|
-
}] });
|
|
4489
|
-
|
|
4490
|
-
const COMPONENT$d = [AXDialogComponent];
|
|
4491
|
-
const MODULES$d = [CommonModule, DragDropModule, A11yModule, AXButtonModule, AXPageModule, AXEditorDecoratorModule];
|
|
4492
|
-
class AXDialogModule {
|
|
4493
|
-
}
|
|
4494
|
-
AXDialogModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXDialogModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
4495
|
-
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] });
|
|
4496
|
-
AXDialogModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXDialogModule, providers: [], imports: [[...MODULES$d]] });
|
|
4497
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXDialogModule, decorators: [{
|
|
4498
|
-
type: NgModule,
|
|
4499
|
-
args: [{
|
|
4500
|
-
declarations: [...COMPONENT$d],
|
|
4501
|
-
imports: [...MODULES$d],
|
|
4502
|
-
exports: [...COMPONENT$d],
|
|
4503
|
-
providers: [],
|
|
4504
|
-
}]
|
|
4505
|
-
}] });
|
|
4506
|
-
|
|
4507
|
-
class AXDrawerComponent extends AXBaseComponentMixin {
|
|
4508
|
-
constructor(elementRef, cdr, zone) {
|
|
4509
|
-
super(elementRef, cdr);
|
|
4510
|
-
this.elementRef = elementRef;
|
|
4511
|
-
this.zone = zone;
|
|
4512
|
-
this.onChanged = new EventEmitter();
|
|
4513
|
-
this.mode = 'push';
|
|
4514
|
-
this.location = 'start';
|
|
4515
|
-
this._collapsed = false;
|
|
4516
|
-
}
|
|
4517
|
-
get collapsed() {
|
|
4518
|
-
return this._collapsed;
|
|
4519
|
-
}
|
|
4520
|
-
set collapsed(v) {
|
|
4521
|
-
if (v != this._collapsed) {
|
|
4522
|
-
this._collapsed = v;
|
|
4523
|
-
this._updateClass();
|
|
4524
|
-
this._emitChange();
|
|
4525
|
-
}
|
|
4526
|
-
}
|
|
4527
|
-
onInit() {
|
|
4528
|
-
// this._getHostElement().classList.add(this.location == 'start' ? 'ax-drawer-start' : 'ax-drawer-end');
|
|
4529
|
-
this._setLocation();
|
|
4530
|
-
this._currentMode = this.mode;
|
|
4531
|
-
}
|
|
4532
|
-
_setLocation() {
|
|
4533
|
-
const hostElementClassList = this._getHostElement().classList;
|
|
4534
|
-
switch (this.location) {
|
|
4535
|
-
case 'start':
|
|
4536
|
-
hostElementClassList.add('ax-drawer-start');
|
|
4537
|
-
break;
|
|
4538
|
-
case 'end':
|
|
4539
|
-
hostElementClassList.add('ax-drawer-end');
|
|
4540
|
-
break;
|
|
4541
|
-
case 'top':
|
|
4542
|
-
hostElementClassList.add('ax-drawer-top');
|
|
4543
|
-
break;
|
|
4544
|
-
case 'bottom':
|
|
4545
|
-
hostElementClassList.add('ax-drawer-bottom');
|
|
4546
|
-
break;
|
|
4547
|
-
default:
|
|
4548
|
-
hostElementClassList.add('ax-drawer-start');
|
|
4549
|
-
break;
|
|
4550
|
-
}
|
|
4551
|
-
}
|
|
4552
|
-
_updateClass() {
|
|
4553
|
-
this.zone.runOutsideAngular(() => {
|
|
4554
|
-
const elm = this._getHostElement();
|
|
4555
|
-
//
|
|
4556
|
-
this._currentMode == 'overlay' ? this._setOverlayMode() : this._setPushMode();
|
|
4557
|
-
//
|
|
4558
|
-
if (this.collapsed) {
|
|
4559
|
-
elm.classList.remove('ax-expanded');
|
|
4560
|
-
elm.classList.add('ax-collapsed');
|
|
4561
|
-
if (this._currentMode == 'overlay') {
|
|
4562
|
-
this._removeBackdrop();
|
|
4563
|
-
}
|
|
4564
|
-
}
|
|
4565
|
-
else {
|
|
4566
|
-
elm.classList.add('ax-expanded');
|
|
4567
|
-
elm.classList.remove('ax-collapsed');
|
|
4568
|
-
if (this._currentMode == 'overlay') {
|
|
4569
|
-
this._addBackdrop();
|
|
4736
|
+
if (this._loadingId && !v) {
|
|
4737
|
+
this._loadingService.hide(this._loadingId);
|
|
4738
|
+
this._loadingId = null;
|
|
4570
4739
|
}
|
|
4571
|
-
|
|
4572
|
-
|
|
4573
|
-
|
|
4574
|
-
|
|
4575
|
-
|
|
4576
|
-
|
|
4577
|
-
toggle() {
|
|
4578
|
-
this.collapsed = !this.collapsed;
|
|
4579
|
-
}
|
|
4580
|
-
close() {
|
|
4581
|
-
this.collapsed = true;
|
|
4582
|
-
}
|
|
4583
|
-
open() {
|
|
4584
|
-
this.collapsed = false;
|
|
4585
|
-
}
|
|
4586
|
-
_handleWindowsResize(e) {
|
|
4587
|
-
this._detectSize();
|
|
4588
|
-
}
|
|
4589
|
-
_detectSize() {
|
|
4590
|
-
//TODO detect break size
|
|
4591
|
-
const bound = this._getHostElement().parentElement.getBoundingClientRect();
|
|
4592
|
-
if (bound.width == 0) {
|
|
4593
|
-
console.log('Drawer invalid size', bound);
|
|
4594
|
-
setTimeout(() => {
|
|
4595
|
-
this._detectSize();
|
|
4596
|
-
}, 1);
|
|
4597
|
-
return;
|
|
4598
|
-
}
|
|
4599
|
-
if (bound.width < 400) {
|
|
4600
|
-
this._currentMode = 'overlay';
|
|
4601
|
-
this.collapsed = true;
|
|
4602
|
-
}
|
|
4603
|
-
else {
|
|
4604
|
-
this._currentMode = this.mode;
|
|
4605
|
-
}
|
|
4606
|
-
this._updateClass();
|
|
4607
|
-
this._emitChange();
|
|
4608
|
-
}
|
|
4609
|
-
_emitChange() {
|
|
4610
|
-
this.onChanged.emit({
|
|
4611
|
-
component: this,
|
|
4612
|
-
htmlElement: this.elementRef.nativeElement
|
|
4613
|
-
});
|
|
4614
|
-
}
|
|
4615
|
-
_setOverlayMode() {
|
|
4616
|
-
this._currentMode = 'overlay';
|
|
4617
|
-
this._getHostElement().classList.remove('ax-drawer-push');
|
|
4618
|
-
this._getHostElement().classList.add('ax-drawer-overlay');
|
|
4619
|
-
}
|
|
4620
|
-
_setPushMode() {
|
|
4621
|
-
this._currentMode = 'push';
|
|
4622
|
-
this._getHostElement().classList.remove('ax-drawer-overlay');
|
|
4623
|
-
this._getHostElement().classList.add('ax-drawer-push');
|
|
4624
|
-
this._removeBackdrop();
|
|
4625
|
-
}
|
|
4626
|
-
_addBackdrop() {
|
|
4627
|
-
if (!this._backdrop) {
|
|
4628
|
-
this._backdrop = document.createElement('div');
|
|
4629
|
-
this._backdrop.classList.add('ax-drawer-backdrop');
|
|
4630
|
-
this._getHostElement().parentElement.prepend(this._backdrop);
|
|
4631
|
-
this._backdrop.addEventListener('click', this._handleBackfropClick.bind(this));
|
|
4632
|
-
}
|
|
4633
|
-
}
|
|
4634
|
-
_removeBackdrop() {
|
|
4635
|
-
if (this._backdrop) {
|
|
4636
|
-
this._backdrop.removeEventListener('click', this._handleBackfropClick.bind(this));
|
|
4637
|
-
this._getHostElement().parentElement.removeChild(this._backdrop);
|
|
4638
|
-
this._backdrop = null;
|
|
4639
|
-
}
|
|
4640
|
-
}
|
|
4641
|
-
_handleBackfropClick(e) {
|
|
4642
|
-
this._removeBackdrop();
|
|
4643
|
-
this.collapsed = true;
|
|
4740
|
+
if (v) {
|
|
4741
|
+
this._loadingId = this._loadingService.show(this._getHostElement());
|
|
4742
|
+
}
|
|
4743
|
+
this._cdr.markForCheck();
|
|
4744
|
+
}
|
|
4745
|
+
});
|
|
4644
4746
|
}
|
|
4645
4747
|
}
|
|
4646
|
-
|
|
4647
|
-
|
|
4648
|
-
|
|
4649
|
-
|
|
4650
|
-
|
|
4651
|
-
|
|
4748
|
+
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 });
|
|
4749
|
+
AXPageComponent.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXPageComponent });
|
|
4750
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXPageComponent, decorators: [{
|
|
4751
|
+
type: Injectable
|
|
4752
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: undefined, decorators: [{
|
|
4753
|
+
type: Inject,
|
|
4754
|
+
args: [AXLoadingService]
|
|
4755
|
+
}] }]; }, propDecorators: { isLoadingChange: [{
|
|
4756
|
+
type: Output
|
|
4757
|
+
}], isLoading: [{
|
|
4758
|
+
type: Input
|
|
4759
|
+
}] } });
|
|
4760
|
+
|
|
4761
|
+
class AXPageFooterComponent {
|
|
4762
|
+
}
|
|
4763
|
+
AXPageFooterComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXPageFooterComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
4764
|
+
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: `
|
|
4765
|
+
<ng-content select="ax-prefix">
|
|
4766
|
+
</ng-content>
|
|
4767
|
+
<ng-content select="ax-suffix">
|
|
4768
|
+
</ng-content>
|
|
4769
|
+
`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
4770
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXPageFooterComponent, decorators: [{
|
|
4652
4771
|
type: Component,
|
|
4653
4772
|
args: [{
|
|
4654
|
-
selector: 'ax-
|
|
4773
|
+
selector: 'ax-page-footer',
|
|
4655
4774
|
template: `
|
|
4656
|
-
|
|
4657
|
-
|
|
4775
|
+
<ng-content select="ax-prefix">
|
|
4776
|
+
</ng-content>
|
|
4777
|
+
<ng-content select="ax-suffix">
|
|
4778
|
+
</ng-content>
|
|
4658
4779
|
`,
|
|
4659
|
-
changeDetection: ChangeDetectionStrategy.OnPush
|
|
4660
|
-
encapsulation: ViewEncapsulation.None,
|
|
4661
|
-
host: { class: 'ax-drawer ax-transition-all' }
|
|
4780
|
+
changeDetection: ChangeDetectionStrategy.OnPush
|
|
4662
4781
|
}]
|
|
4663
|
-
}],
|
|
4664
|
-
type:
|
|
4665
|
-
|
|
4666
|
-
type: Input
|
|
4667
|
-
}], location: [{
|
|
4668
|
-
type: Input
|
|
4669
|
-
}], collapsed: [{
|
|
4670
|
-
type: Input
|
|
4671
|
-
}], _handleWindowsResize: [{
|
|
4672
|
-
type: HostListener,
|
|
4673
|
-
args: ['window:resize', ['$event']]
|
|
4782
|
+
}], propDecorators: { template: [{
|
|
4783
|
+
type: ViewChild,
|
|
4784
|
+
args: [TemplateRef, { static: true }]
|
|
4674
4785
|
}] } });
|
|
4675
4786
|
|
|
4676
|
-
|
|
4677
|
-
|
|
4787
|
+
const TAB_META_KEY = '__meta__';
|
|
4788
|
+
class AXPageCloseEvent extends AXEvent {
|
|
4789
|
+
}
|
|
4790
|
+
class AXPageClosing {
|
|
4791
|
+
constructor() {
|
|
4792
|
+
this.cancel = false;
|
|
4793
|
+
}
|
|
4794
|
+
}
|
|
4795
|
+
class AXPageResult {
|
|
4796
|
+
}
|
|
4797
|
+
/**
|
|
4798
|
+
* 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.
|
|
4799
|
+
*/
|
|
4800
|
+
class AXPageClosedPromise extends Promise {
|
|
4801
|
+
constructor(executor) {
|
|
4802
|
+
super(executor);
|
|
4803
|
+
}
|
|
4804
|
+
close() {
|
|
4805
|
+
if (this.closeMethod) {
|
|
4806
|
+
this.closeMethod();
|
|
4807
|
+
}
|
|
4808
|
+
}
|
|
4809
|
+
}
|
|
4810
|
+
class AXBasePageComponent extends AXBaseComponentMixin {
|
|
4811
|
+
/**
|
|
4812
|
+
* @ignore
|
|
4813
|
+
*/
|
|
4814
|
+
constructor(elementRef, cdr) {
|
|
4678
4815
|
super(elementRef, cdr);
|
|
4679
|
-
this.
|
|
4816
|
+
this.isLoadingChange = new EventEmitter();
|
|
4817
|
+
this._isLoading = false;
|
|
4818
|
+
this._isPopup = false;
|
|
4819
|
+
this.onClosed = new EventEmitter();
|
|
4680
4820
|
}
|
|
4681
|
-
|
|
4682
|
-
this.
|
|
4683
|
-
|
|
4684
|
-
|
|
4685
|
-
|
|
4686
|
-
|
|
4687
|
-
|
|
4688
|
-
|
|
4689
|
-
|
|
4690
|
-
|
|
4691
|
-
|
|
4692
|
-
|
|
4821
|
+
get isLoading() {
|
|
4822
|
+
return this._isLoading;
|
|
4823
|
+
}
|
|
4824
|
+
set isLoading(v) {
|
|
4825
|
+
this._setOption({
|
|
4826
|
+
name: 'isLoading',
|
|
4827
|
+
value: v,
|
|
4828
|
+
afterCallback: () => {
|
|
4829
|
+
if (this.pageContainer) {
|
|
4830
|
+
this.pageContainer.isLoading = this.isLoading;
|
|
4831
|
+
}
|
|
4832
|
+
this._cdr.markForCheck();
|
|
4833
|
+
}
|
|
4693
4834
|
});
|
|
4694
4835
|
}
|
|
4695
|
-
|
|
4696
|
-
this.
|
|
4697
|
-
|
|
4698
|
-
|
|
4699
|
-
|
|
4700
|
-
this
|
|
4701
|
-
|
|
4702
|
-
const width = elm.getBoundingClientRect().width;
|
|
4703
|
-
const height = elm.getBoundingClientRect().height;
|
|
4704
|
-
const overflow = parentWidth < width;
|
|
4705
|
-
const diff = width - parentWidth;
|
|
4706
|
-
w += ['ax-expanded', 'ax-drawer-push'].every(c => elm.classList.contains(c)) ? width : 0;
|
|
4707
|
-
elm.style.setProperty('--attr-width', `${width}px`);
|
|
4708
|
-
elm.style.setProperty('--attr-height', `${height}px`);
|
|
4709
|
-
//TODO check overflow
|
|
4710
|
-
elm.style.setProperty('--attr-diff', `${overflow ? diff : 0}px`);
|
|
4711
|
-
});
|
|
4712
|
-
container.style.setProperty('--attr-content-width', `${parentWidth - w}px`);
|
|
4836
|
+
get isPopup() {
|
|
4837
|
+
return this._isPopup;
|
|
4838
|
+
}
|
|
4839
|
+
close(data) {
|
|
4840
|
+
this.onClosed.emit({
|
|
4841
|
+
component: this,
|
|
4842
|
+
data: data
|
|
4713
4843
|
});
|
|
4714
4844
|
}
|
|
4845
|
+
onClosing(e) {
|
|
4846
|
+
}
|
|
4847
|
+
ngOnDestroy() {
|
|
4848
|
+
this.onClosed.unsubscribe();
|
|
4849
|
+
}
|
|
4715
4850
|
}
|
|
4716
|
-
|
|
4717
|
-
|
|
4718
|
-
|
|
4719
|
-
|
|
4720
|
-
|
|
4721
|
-
|
|
4722
|
-
|
|
4723
|
-
|
|
4724
|
-
|
|
4725
|
-
|
|
4726
|
-
|
|
4727
|
-
|
|
4728
|
-
|
|
4729
|
-
|
|
4851
|
+
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 });
|
|
4852
|
+
AXBasePageComponent.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXBasePageComponent });
|
|
4853
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXBasePageComponent, decorators: [{
|
|
4854
|
+
type: Injectable
|
|
4855
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { pageContainer: [{
|
|
4856
|
+
type: ViewChild,
|
|
4857
|
+
args: [AXPageComponent, { static: true }]
|
|
4858
|
+
}], footer: [{
|
|
4859
|
+
type: ViewChild,
|
|
4860
|
+
args: [AXPageFooterComponent, { static: true }]
|
|
4861
|
+
}], isLoadingChange: [{
|
|
4862
|
+
type: Output
|
|
4863
|
+
}], isLoading: [{
|
|
4864
|
+
type: Input
|
|
4865
|
+
}] } });
|
|
4866
|
+
|
|
4867
|
+
class AXPageHeaderComponent {
|
|
4868
|
+
}
|
|
4869
|
+
AXPageHeaderComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXPageHeaderComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
4870
|
+
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: `
|
|
4871
|
+
<ng-content select="ax-prefix">
|
|
4872
|
+
</ng-content>
|
|
4873
|
+
<ng-content select="ax-suffix">
|
|
4874
|
+
</ng-content>
|
|
4875
|
+
`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
4876
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXPageHeaderComponent, decorators: [{
|
|
4730
4877
|
type: Component,
|
|
4731
4878
|
args: [{
|
|
4732
|
-
selector: 'ax-
|
|
4879
|
+
selector: 'ax-page-header',
|
|
4733
4880
|
template: `
|
|
4734
|
-
|
|
4735
|
-
|
|
4736
|
-
|
|
4737
|
-
|
|
4738
|
-
<ng-content select="ax-drawer-content">
|
|
4739
|
-
</ng-content>
|
|
4740
|
-
<ng-content select="ax-drawer[location='end']">
|
|
4741
|
-
</ng-content>
|
|
4742
|
-
<ng-content select="ax-drawer[location='bottom']">
|
|
4743
|
-
</ng-content>
|
|
4881
|
+
<ng-content select="ax-prefix">
|
|
4882
|
+
</ng-content>
|
|
4883
|
+
<ng-content select="ax-suffix">
|
|
4884
|
+
</ng-content>
|
|
4744
4885
|
`,
|
|
4745
|
-
|
|
4746
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
4747
|
-
encapsulation: ViewEncapsulation.None,
|
|
4748
|
-
host: { class: 'ax-drawer-container' }
|
|
4886
|
+
changeDetection: ChangeDetectionStrategy.OnPush
|
|
4749
4887
|
}]
|
|
4750
|
-
}],
|
|
4751
|
-
type:
|
|
4752
|
-
args: [
|
|
4888
|
+
}], propDecorators: { template: [{
|
|
4889
|
+
type: ViewChild,
|
|
4890
|
+
args: [TemplateRef, { static: true }]
|
|
4753
4891
|
}] } });
|
|
4754
4892
|
|
|
4755
|
-
class
|
|
4756
|
-
constructor(elementRef, cdr) {
|
|
4757
|
-
super(elementRef, cdr);
|
|
4758
|
-
}
|
|
4893
|
+
class AXPageModule {
|
|
4759
4894
|
}
|
|
4760
|
-
|
|
4761
|
-
|
|
4762
|
-
|
|
4763
|
-
|
|
4764
|
-
|
|
4765
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXDrawerContentComponent, decorators: [{
|
|
4766
|
-
type: Component,
|
|
4895
|
+
AXPageModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXPageModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
4896
|
+
AXPageModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXPageModule, declarations: [AXPageFooterComponent, AXPageHeaderComponent], exports: [AXPageFooterComponent, AXPageHeaderComponent] });
|
|
4897
|
+
AXPageModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXPageModule, providers: [], imports: [[]] });
|
|
4898
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXPageModule, decorators: [{
|
|
4899
|
+
type: NgModule,
|
|
4767
4900
|
args: [{
|
|
4768
|
-
|
|
4769
|
-
|
|
4770
|
-
|
|
4771
|
-
|
|
4772
|
-
`,
|
|
4773
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
4774
|
-
encapsulation: ViewEncapsulation.None,
|
|
4775
|
-
host: { class: 'ax-drawer-content' }
|
|
4901
|
+
imports: [],
|
|
4902
|
+
exports: [AXPageFooterComponent, AXPageHeaderComponent],
|
|
4903
|
+
declarations: [AXPageFooterComponent, AXPageHeaderComponent],
|
|
4904
|
+
providers: [],
|
|
4776
4905
|
}]
|
|
4777
|
-
}]
|
|
4906
|
+
}] });
|
|
4778
4907
|
|
|
4779
|
-
const COMPONENT$c = [
|
|
4780
|
-
const MODULES$c = [CommonModule];
|
|
4781
|
-
class
|
|
4908
|
+
const COMPONENT$c = [AXDialogComponent];
|
|
4909
|
+
const MODULES$c = [CommonModule, DragDropModule, A11yModule, AXButtonModule, AXPageModule, AXEditorDecoratorModule];
|
|
4910
|
+
class AXDialogModule {
|
|
4782
4911
|
}
|
|
4783
|
-
|
|
4784
|
-
|
|
4785
|
-
|
|
4786
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type:
|
|
4912
|
+
AXDialogModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXDialogModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
4913
|
+
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] });
|
|
4914
|
+
AXDialogModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXDialogModule, providers: [], imports: [[...MODULES$c]] });
|
|
4915
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXDialogModule, decorators: [{
|
|
4787
4916
|
type: NgModule,
|
|
4788
4917
|
args: [{
|
|
4789
4918
|
declarations: [...COMPONENT$c],
|
|
@@ -7495,5 +7624,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
|
|
|
7495
7624
|
* Generated bundle index. Do not edit.
|
|
7496
7625
|
*/
|
|
7497
7626
|
|
|
7498
|
-
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 };
|
|
7627
|
+
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 };
|
|
7499
7628
|
//# sourceMappingURL=acorex-components.mjs.map
|