@acorex/components 5.0.6 → 5.0.7
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/bundles/acorex-components.umd.js +888 -302
- package/bundles/acorex-components.umd.js.map +1 -1
- package/esm2015/lib/badge/badge.component.js +34 -0
- package/esm2015/lib/badge/badge.module.js +21 -0
- package/esm2015/lib/badge/index.js +3 -0
- package/esm2015/lib/base/mixin/base-components.class.js +6 -6
- package/esm2015/lib/base/mixin/button-mixin.class.js +2 -2
- package/esm2015/lib/base/mixin/interactive-mixin.class.js +6 -1
- package/esm2015/lib/base/mixin/mixin.class.js +2 -2
- package/esm2015/lib/button/button.component.js +3 -9
- package/esm2015/lib/calendar/calendar.component.js +266 -38
- package/esm2015/lib/calendar/calendar.module.js +4 -3
- package/esm2015/lib/datepicker/datepicker.component.js +2 -2
- package/esm2015/lib/decorators/prefix.component.js +3 -3
- package/esm2015/lib/decorators/suffix.component.js +3 -7
- package/esm2015/lib/password-box/index.js +3 -0
- package/esm2015/lib/password-box/password-box.component.js +74 -0
- package/esm2015/lib/password-box/password-box.module.js +35 -0
- package/esm2015/lib/popover/popover.component.js +1 -2
- package/esm2015/lib/selectbox/selectbox.component.js +11 -3
- package/esm2015/lib/selectbox/selectbox.module.js +8 -4
- package/esm2015/lib/selection-list/selection-list.component.js +2 -2
- package/esm2015/lib/tabs/index.js +4 -2
- package/esm2015/lib/tabs/tab-content.directive.js +27 -0
- package/esm2015/lib/tabs/tab-item.component.js +76 -0
- package/esm2015/lib/tabs/tab-strip.component.js +12 -7
- package/esm2015/lib/tabs/tab-view.component.js +4 -5
- package/esm2015/lib/tabs/tab.component.js +2 -3
- package/esm2015/lib/tabs/tabs.component.js +74 -0
- package/esm2015/lib/tabs/tabs.module.js +9 -7
- package/esm2015/public-api.js +4 -2
- package/fesm2015/acorex-components.js +766 -230
- package/fesm2015/acorex-components.js.map +1 -1
- package/lib/badge/badge.component.d.ts +11 -0
- package/lib/badge/badge.module.d.ts +8 -0
- package/lib/badge/index.d.ts +2 -0
- package/lib/base/mixin/button-mixin.class.d.ts +3 -1
- package/lib/base/mixin/interactive-mixin.class.d.ts +2 -3
- package/lib/base/mixin/loading-mixin.class.d.ts +1 -3
- package/lib/base/mixin/mixin.class.d.ts +1 -117
- package/lib/base/mixin/textbox-mixin.class.d.ts +4 -7
- package/lib/base/mixin/value-mixin.class.d.ts +4 -5
- package/lib/button/button.component.d.ts +0 -1
- package/lib/calendar/calendar.component.d.ts +52 -12
- package/lib/calendar/calendar.module.d.ts +4 -3
- package/lib/decorators/prefix.component.d.ts +1 -1
- package/lib/decorators/suffix.component.d.ts +1 -1
- package/lib/password-box/index.d.ts +2 -0
- package/lib/password-box/password-box.component.d.ts +24 -0
- package/lib/password-box/password-box.module.d.ts +12 -0
- package/lib/selectbox/selectbox.component.d.ts +1 -0
- package/lib/selectbox/selectbox.module.d.ts +5 -1
- package/lib/tabs/index.d.ts +3 -1
- package/lib/tabs/tab-content.directive.d.ts +11 -0
- package/lib/tabs/tab-item.component.d.ts +16 -0
- package/lib/tabs/tab-strip.component.d.ts +4 -3
- package/lib/tabs/tab-view.component.d.ts +2 -2
- package/lib/tabs/tabs.component.d.ts +19 -0
- package/lib/tabs/tabs.module.d.ts +6 -4
- package/package.json +18 -18
- package/public-api.d.ts +3 -1
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import { __classPrivateFieldSet, __classPrivateFieldGet } from 'tslib';
|
|
2
2
|
import * as i0 from '@angular/core';
|
|
3
|
-
import { Injectable, Inject, EventEmitter, Directive, NgModule, Component, ChangeDetectionStrategy, ViewEncapsulation, Input, Output, HostBinding, HostListener, ContentChildren,
|
|
3
|
+
import { Injectable, Inject, EventEmitter, Directive, NgModule, Component, ChangeDetectionStrategy, ViewEncapsulation, Input, Output, HostBinding, HostListener, ContentChildren, Optional, ViewChild, ContentChild, ElementRef, ViewChildren, TemplateRef } from '@angular/core';
|
|
4
4
|
import { coerceBooleanProperty, coerceNumberProperty } from '@angular/cdk/coercion';
|
|
5
5
|
import * as i2 from '@acorex/core';
|
|
6
|
-
import { AXObjectUtil, AXDrawingUtil, AXTranslator, AXConfig
|
|
6
|
+
import { AXObjectUtil, AXDateTime, AXDateTimeRange, AXDateTimeModule, AXDrawingUtil, AXTranslator, AXConfig } from '@acorex/core';
|
|
7
7
|
import { Subscription, Subject, fromEvent, merge, asyncScheduler, BehaviorSubject } from 'rxjs';
|
|
8
8
|
import { debounceTime, distinctUntilChanged, throttleTime, observeOn, finalize } from 'rxjs/operators';
|
|
9
|
-
import * as
|
|
9
|
+
import * as i4 from '@angular/common';
|
|
10
10
|
import { CommonModule, DOCUMENT } from '@angular/common';
|
|
11
11
|
import * as i3 from '@angular/forms';
|
|
12
12
|
import { FormsModule } from '@angular/forms';
|
|
13
|
-
import * as i1$
|
|
13
|
+
import * as i1$1 from '@angular/cdk/portal';
|
|
14
14
|
import { TemplatePortal, ComponentPortal, PortalModule } from '@angular/cdk/portal';
|
|
15
15
|
import _ from 'lodash';
|
|
16
|
-
import * as i1
|
|
16
|
+
import * as i1 from '@angular/cdk/overlay';
|
|
17
17
|
import { OverlayModule, OverlayContainer, Overlay } from '@angular/cdk/overlay';
|
|
18
18
|
import * as i2$1 from '@angular/cdk/a11y';
|
|
19
19
|
import { A11yModule } from '@angular/cdk/a11y';
|
|
20
20
|
import * as i3$1 from '@angular/cdk/drag-drop';
|
|
21
21
|
import { DragDropModule } from '@angular/cdk/drag-drop';
|
|
22
22
|
import * as i2$2 from '@angular/cdk/bidi';
|
|
23
|
-
import * as i1$
|
|
23
|
+
import * as i1$2 from 'ngx-mask';
|
|
24
24
|
import { NgxMaskModule } from 'ngx-mask';
|
|
25
25
|
import { trigger, transition, style, animate } from '@angular/animations';
|
|
26
26
|
|
|
@@ -30,7 +30,7 @@ class AXBaseComponent {
|
|
|
30
30
|
* @ignore
|
|
31
31
|
*/
|
|
32
32
|
constructor(...args) {
|
|
33
|
-
this.id = `
|
|
33
|
+
this.id = `AX${Math.round(Math.random() * Math.pow(10, 10))}`;
|
|
34
34
|
_elementRef.set(this, void 0);
|
|
35
35
|
__classPrivateFieldSet(this, _elementRef, args[0]);
|
|
36
36
|
this._cdr = args[1];
|
|
@@ -53,14 +53,14 @@ class AXBaseComponent {
|
|
|
53
53
|
return this._getHostElement().firstElementChild;
|
|
54
54
|
}
|
|
55
55
|
_onInternalInit() {
|
|
56
|
-
var _a;
|
|
57
56
|
this._getHostElement().__axContext__ = this;
|
|
58
|
-
this._getHostElement().setAttribute('data-id', this.id);
|
|
59
57
|
if (this.rtl == null) {
|
|
60
58
|
this.rtl = window.getComputedStyle(this._getHostElement(), null).getPropertyValue('direction') === 'rtl';
|
|
61
59
|
}
|
|
62
|
-
|
|
63
|
-
|
|
60
|
+
//TODO: Apply
|
|
61
|
+
// this._getHostElement().classList.add(this.rtl ? 'ax-rtl' : 'ax-ltr');
|
|
62
|
+
// this._getInnerElement()?.classList.add(this.rtl ? 'ax-rtl' : 'ax-ltr');
|
|
63
|
+
// this._getHostElement().setAttribute('data-id', this.id);
|
|
64
64
|
this.onInit();
|
|
65
65
|
}
|
|
66
66
|
_onInternalViewInit() {
|
|
@@ -208,7 +208,7 @@ function _ButtonComponentMixin(Base) {
|
|
|
208
208
|
const cssClasses = {
|
|
209
209
|
'ax-button-icon': !this.text,
|
|
210
210
|
'ax-state-disabled': this["disabled"],
|
|
211
|
-
'ax-state-selected': this.selected
|
|
211
|
+
'ax-state-selected': this.selected
|
|
212
212
|
};
|
|
213
213
|
cssClasses[`ax-${this.color || 'primary'}${this.look ? '-' + this.look : ''}`] = true;
|
|
214
214
|
return cssClasses;
|
|
@@ -450,7 +450,12 @@ function _InteractiveComponenetMixin(Base) {
|
|
|
450
450
|
}
|
|
451
451
|
_disabled = new WeakMap(), _tabIndex = new WeakMap();
|
|
452
452
|
return Mixin;
|
|
453
|
-
}
|
|
453
|
+
}
|
|
454
|
+
const INTERACTIVE_INPUTS = [
|
|
455
|
+
'disabled',
|
|
456
|
+
'tabIndex',
|
|
457
|
+
];
|
|
458
|
+
const INTERACTIVE_OUTPUT = ['onBlur', 'onFocus'];
|
|
454
459
|
|
|
455
460
|
function _SelectionComponenetMixin(Base) {
|
|
456
461
|
return class extends Base {
|
|
@@ -857,7 +862,7 @@ const AXBaseTextBoxMixin = _SizableComponenetMixin(_InteractiveComponenetMixin(_
|
|
|
857
862
|
const AXBaseSelectionValueMixin = _SizableComponenetMixin(_InteractiveComponenetMixin(_DatalistComponenetMixin(_SelectionComponenetMixin(_ValueComponenetMixin(AXBaseComponent)))));
|
|
858
863
|
const AXBaseValueDropdownMixin = _SizableComponenetMixin(_InteractiveComponenetMixin(_DropdownComponenetMixin(_DatalistComponenetMixin(_ValueComponenetMixin(AXBaseComponent)))));
|
|
859
864
|
const AXBaseSelectionDropdownMixin = _SizableComponenetMixin(_InteractiveComponenetMixin(_DropdownComponenetMixin(_DatalistComponenetMixin(_SelectionComponenetMixin(_ValueComponenetMixin(AXBaseComponent))))));
|
|
860
|
-
const
|
|
865
|
+
const AXCalendarComponentMixin = _ClickableComponenetMixin(_InteractiveComponenetMixin(_ValueComponenetMixin(AXBaseComponent)));
|
|
861
866
|
|
|
862
867
|
/**
|
|
863
868
|
* Contains native event
|
|
@@ -1065,7 +1070,7 @@ class AXAlertComponent extends AXBaseComponentMixin {
|
|
|
1065
1070
|
}
|
|
1066
1071
|
_visible = new WeakMap();
|
|
1067
1072
|
AXAlertComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXAlertComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
1068
|
-
AXAlertComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: AXAlertComponent, selector: "ax-alert", inputs: { icon: "icon", color: "color", timeOut: "timeOut", visible: "visible" }, outputs: { typeChange: "typeChange" }, host: { properties: { "class": "this.hostClass" }, classAttribute: "ax-alert ax-none" }, usesInheritance: true, ngImport: i0, template: "<div class=\"ax-alert-icon\" *ngIf=\"icon\">\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:
|
|
1073
|
+
AXAlertComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: AXAlertComponent, selector: "ax-alert", inputs: { icon: "icon", color: "color", timeOut: "timeOut", visible: "visible" }, outputs: { typeChange: "typeChange" }, host: { properties: { "class": "this.hostClass" }, classAttribute: "ax-alert ax-none" }, usesInheritance: true, ngImport: i0, template: "<div class=\"ax-alert-icon\" *ngIf=\"icon\">\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: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
1069
1074
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXAlertComponent, decorators: [{
|
|
1070
1075
|
type: Component,
|
|
1071
1076
|
args: [{
|
|
@@ -1129,7 +1134,7 @@ AXAlertButtonComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", v
|
|
|
1129
1134
|
AXAlertButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: AXAlertButtonComponent, selector: "ax-alert-button", inputs: { title: "title", 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: `
|
|
1130
1135
|
{{title}}
|
|
1131
1136
|
<i *ngIf="icon" class="{{icon}}"></i>
|
|
1132
|
-
`, isInline: true, directives: [{ type:
|
|
1137
|
+
`, isInline: true, directives: [{ type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
1133
1138
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXAlertButtonComponent, decorators: [{
|
|
1134
1139
|
type: Component,
|
|
1135
1140
|
args: [{
|
|
@@ -1227,7 +1232,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImpor
|
|
|
1227
1232
|
}]
|
|
1228
1233
|
}] });
|
|
1229
1234
|
|
|
1230
|
-
const COMPONENT$
|
|
1235
|
+
const COMPONENT$n = [
|
|
1231
1236
|
AXAlertComponent,
|
|
1232
1237
|
AXAlertContentComponent,
|
|
1233
1238
|
AXAlertTitleComponent,
|
|
@@ -1235,7 +1240,7 @@ const COMPONENT$l = [
|
|
|
1235
1240
|
AXAlertFooterComponent,
|
|
1236
1241
|
AXAlertSuffixComponent
|
|
1237
1242
|
];
|
|
1238
|
-
const MODULES$
|
|
1243
|
+
const MODULES$n = [CommonModule];
|
|
1239
1244
|
class AXAlertModule {
|
|
1240
1245
|
}
|
|
1241
1246
|
AXAlertModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXAlertModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
@@ -1250,13 +1255,13 @@ AXAlertModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version:
|
|
|
1250
1255
|
AXAlertButtonComponent,
|
|
1251
1256
|
AXAlertFooterComponent,
|
|
1252
1257
|
AXAlertSuffixComponent] });
|
|
1253
|
-
AXAlertModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXAlertModule, providers: [], imports: [[...MODULES$
|
|
1258
|
+
AXAlertModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXAlertModule, providers: [], imports: [[...MODULES$n]] });
|
|
1254
1259
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXAlertModule, decorators: [{
|
|
1255
1260
|
type: NgModule,
|
|
1256
1261
|
args: [{
|
|
1257
|
-
declarations: [...COMPONENT$
|
|
1258
|
-
imports: [...MODULES$
|
|
1259
|
-
exports: [...COMPONENT$
|
|
1262
|
+
declarations: [...COMPONENT$n],
|
|
1263
|
+
imports: [...MODULES$n],
|
|
1264
|
+
exports: [...COMPONENT$n],
|
|
1260
1265
|
providers: [],
|
|
1261
1266
|
}]
|
|
1262
1267
|
}] });
|
|
@@ -1312,19 +1317,67 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImpor
|
|
|
1312
1317
|
type: Input
|
|
1313
1318
|
}] } });
|
|
1314
1319
|
|
|
1315
|
-
const COMPONENT$
|
|
1316
|
-
const MODULES$
|
|
1320
|
+
const COMPONENT$m = [AXAvatarComponent];
|
|
1321
|
+
const MODULES$m = [CommonModule];
|
|
1317
1322
|
class AXAvatarModule {
|
|
1318
1323
|
}
|
|
1319
1324
|
AXAvatarModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXAvatarModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1320
1325
|
AXAvatarModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXAvatarModule, declarations: [AXAvatarComponent], imports: [CommonModule], exports: [AXAvatarComponent] });
|
|
1321
|
-
AXAvatarModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXAvatarModule, providers: [], imports: [[...MODULES$
|
|
1326
|
+
AXAvatarModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXAvatarModule, providers: [], imports: [[...MODULES$m]] });
|
|
1322
1327
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXAvatarModule, decorators: [{
|
|
1323
1328
|
type: NgModule,
|
|
1324
1329
|
args: [{
|
|
1325
|
-
declarations: [...COMPONENT$
|
|
1326
|
-
imports: [...MODULES$
|
|
1327
|
-
exports: [...COMPONENT$
|
|
1330
|
+
declarations: [...COMPONENT$m],
|
|
1331
|
+
imports: [...MODULES$m],
|
|
1332
|
+
exports: [...COMPONENT$m],
|
|
1333
|
+
providers: [],
|
|
1334
|
+
}]
|
|
1335
|
+
}] });
|
|
1336
|
+
|
|
1337
|
+
class AXBadgeComponent extends AXBaseComponentMixin {
|
|
1338
|
+
constructor(elementRef, cdr) {
|
|
1339
|
+
super(elementRef, cdr);
|
|
1340
|
+
this.text = '';
|
|
1341
|
+
this.color = 'light';
|
|
1342
|
+
//TODO: ax-badge
|
|
1343
|
+
}
|
|
1344
|
+
get __hostClass() {
|
|
1345
|
+
return [`ax-bg-${this.color}-100`, `ax-text-${this.color}-600`].join(' ');
|
|
1346
|
+
}
|
|
1347
|
+
}
|
|
1348
|
+
AXBadgeComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXBadgeComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
1349
|
+
AXBadgeComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: AXBadgeComponent, selector: "ax-badge", inputs: { text: "text", color: "color" }, host: { properties: { "class": "this.__hostClass" }, classAttribute: "ax-badge" }, usesInheritance: true, ngImport: i0, template: "<ng-content select=\"ax-prefix\"></ng-content>\r\n<span class=\"ax-font-medium\">{{text}}</span>\r\n<ng-content select=\"ax-suffix\"></ng-content>", changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
1350
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXBadgeComponent, decorators: [{
|
|
1351
|
+
type: Component,
|
|
1352
|
+
args: [{
|
|
1353
|
+
selector: 'ax-badge',
|
|
1354
|
+
templateUrl: './badge.component.html',
|
|
1355
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1356
|
+
encapsulation: ViewEncapsulation.None,
|
|
1357
|
+
host: { class: 'ax-badge' }
|
|
1358
|
+
}]
|
|
1359
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { text: [{
|
|
1360
|
+
type: Input
|
|
1361
|
+
}], color: [{
|
|
1362
|
+
type: Input
|
|
1363
|
+
}], __hostClass: [{
|
|
1364
|
+
type: HostBinding,
|
|
1365
|
+
args: ['class']
|
|
1366
|
+
}] } });
|
|
1367
|
+
|
|
1368
|
+
const COMPONENT$l = [AXBadgeComponent];
|
|
1369
|
+
const MODULES$l = [CommonModule];
|
|
1370
|
+
class AXBadgeModule {
|
|
1371
|
+
}
|
|
1372
|
+
AXBadgeModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXBadgeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1373
|
+
AXBadgeModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXBadgeModule, declarations: [AXBadgeComponent], imports: [CommonModule], exports: [AXBadgeComponent] });
|
|
1374
|
+
AXBadgeModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXBadgeModule, providers: [], imports: [[...MODULES$l]] });
|
|
1375
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXBadgeModule, decorators: [{
|
|
1376
|
+
type: NgModule,
|
|
1377
|
+
args: [{
|
|
1378
|
+
declarations: [...COMPONENT$l],
|
|
1379
|
+
imports: [...MODULES$l],
|
|
1380
|
+
exports: [...COMPONENT$l],
|
|
1328
1381
|
providers: [],
|
|
1329
1382
|
}]
|
|
1330
1383
|
}] });
|
|
@@ -1364,14 +1417,11 @@ class AXButtonComponent extends AXBaseButtonMixin {
|
|
|
1364
1417
|
super._emitOnBlurEvent(e);
|
|
1365
1418
|
}
|
|
1366
1419
|
get __hostClass() {
|
|
1367
|
-
return Object.entries(this._classes).filter(c => c[1]).map(c => c[0]).join(' ');
|
|
1368
|
-
}
|
|
1369
|
-
get __tabindex() {
|
|
1370
|
-
return this.tabIndex;
|
|
1420
|
+
return Object.entries(this._classes).filter(c => c[1]).map(c => c[0]).concat(...[`ax-${this.size}`]).join(' ');
|
|
1371
1421
|
}
|
|
1372
1422
|
}
|
|
1373
1423
|
AXButtonComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXButtonComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
1374
|
-
AXButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: AXButtonComponent, selector: "ax-button", inputs: { disabled: "disabled", tabIndex: "tabIndex", size: "size", text: "text", submitBehavior: "submitBehavior", cancelBehavior: "cancelBehavior", color: "color", look: "look", toggleable: "toggleable", selected: "selected" }, outputs: { onBlur: "onBlur", onFocus: "onFocus", onClick: "onClick", selectedChange: "selectedChange", toggleableChange: "toggleableChange" }, host: { attributes: { "role": "button" }, listeners: { "document:keydown.escape": "onKeydownHandler($event)", "click": "_emitOnClickEvent($event)", "focus": "_emitOnFocusEvent($event)", "blur": "_emitOnBlurEvent($event)" }, properties: { "class": "this.__hostClass"
|
|
1424
|
+
AXButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: AXButtonComponent, selector: "ax-button", inputs: { disabled: "disabled", tabIndex: "tabIndex", size: "size", text: "text", submitBehavior: "submitBehavior", cancelBehavior: "cancelBehavior", color: "color", look: "look", toggleable: "toggleable", selected: "selected" }, outputs: { onBlur: "onBlur", onFocus: "onFocus", onClick: "onClick", selectedChange: "selectedChange", toggleableChange: "toggleableChange" }, host: { attributes: { "role": "button" }, listeners: { "document:keydown.escape": "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: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
1375
1425
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXButtonComponent, decorators: [{
|
|
1376
1426
|
type: Component,
|
|
1377
1427
|
args: [{
|
|
@@ -1398,9 +1448,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImpor
|
|
|
1398
1448
|
}], __hostClass: [{
|
|
1399
1449
|
type: HostBinding,
|
|
1400
1450
|
args: ['class']
|
|
1401
|
-
}], __tabindex: [{
|
|
1402
|
-
type: HostBinding,
|
|
1403
|
-
args: ['tabindex']
|
|
1404
1451
|
}] } });
|
|
1405
1452
|
|
|
1406
1453
|
class AXButtonGroupComponent extends AXInteractiveComponenetMixin {
|
|
@@ -1565,7 +1612,7 @@ AXButtonItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0",
|
|
|
1565
1612
|
<span *ngIf="text">{{text}}</span>
|
|
1566
1613
|
<ng-content select="ax-suffix">
|
|
1567
1614
|
</ng-content>
|
|
1568
|
-
`, isInline: true, directives: [{ type:
|
|
1615
|
+
`, isInline: true, directives: [{ type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
1569
1616
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXButtonItemComponent, decorators: [{
|
|
1570
1617
|
type: Component,
|
|
1571
1618
|
args: [{
|
|
@@ -1612,7 +1659,7 @@ class AXDecoratorPrefixComponent extends AXBaseComponentMixin {
|
|
|
1612
1659
|
}
|
|
1613
1660
|
AXDecoratorPrefixComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXDecoratorPrefixComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
1614
1661
|
AXDecoratorPrefixComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: AXDecoratorPrefixComponent, selector: "ax-prefix", host: { classAttribute: "ax-prefix" }, usesInheritance: true, ngImport: i0, template: `
|
|
1615
|
-
<ng-content select="ax-button,ax-loading,ax-icon">
|
|
1662
|
+
<ng-content select="ax-button,ax-loading,ax-icon,ax-badge">
|
|
1616
1663
|
</ng-content>
|
|
1617
1664
|
`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
1618
1665
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXDecoratorPrefixComponent, decorators: [{
|
|
@@ -1620,7 +1667,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImpor
|
|
|
1620
1667
|
args: [{
|
|
1621
1668
|
selector: 'ax-prefix',
|
|
1622
1669
|
template: `
|
|
1623
|
-
<ng-content select="ax-button,ax-loading,ax-icon">
|
|
1670
|
+
<ng-content select="ax-button,ax-loading,ax-icon,ax-badge">
|
|
1624
1671
|
</ng-content>
|
|
1625
1672
|
`,
|
|
1626
1673
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
@@ -1636,9 +1683,7 @@ class AXDecoratorSuffixComponent extends AXBaseComponentMixin {
|
|
|
1636
1683
|
}
|
|
1637
1684
|
AXDecoratorSuffixComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXDecoratorSuffixComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
1638
1685
|
AXDecoratorSuffixComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: AXDecoratorSuffixComponent, selector: "ax-suffix", host: { classAttribute: "ax-suffix" }, usesInheritance: true, ngImport: i0, template: `
|
|
1639
|
-
<ng-content select="ax-button">
|
|
1640
|
-
</ng-content>
|
|
1641
|
-
<ng-content select="ax-icon">
|
|
1686
|
+
<ng-content select="ax-button,ax-icon,ax-badge">
|
|
1642
1687
|
</ng-content>
|
|
1643
1688
|
`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
1644
1689
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXDecoratorSuffixComponent, decorators: [{
|
|
@@ -1646,9 +1691,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImpor
|
|
|
1646
1691
|
args: [{
|
|
1647
1692
|
selector: 'ax-suffix',
|
|
1648
1693
|
template: `
|
|
1649
|
-
<ng-content select="ax-button">
|
|
1650
|
-
</ng-content>
|
|
1651
|
-
<ng-content select="ax-icon">
|
|
1694
|
+
<ng-content select="ax-button,ax-icon,ax-badge">
|
|
1652
1695
|
</ng-content>
|
|
1653
1696
|
`,
|
|
1654
1697
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
@@ -1657,19 +1700,19 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImpor
|
|
|
1657
1700
|
}]
|
|
1658
1701
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; } });
|
|
1659
1702
|
|
|
1660
|
-
const COMPONENT$
|
|
1661
|
-
const MODULES$
|
|
1703
|
+
const COMPONENT$k = [AXDecoratorPrefixComponent, AXDecoratorSuffixComponent];
|
|
1704
|
+
const MODULES$k = [CommonModule];
|
|
1662
1705
|
class AXEditorDecoratorModule {
|
|
1663
1706
|
}
|
|
1664
1707
|
AXEditorDecoratorModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXEditorDecoratorModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1665
1708
|
AXEditorDecoratorModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXEditorDecoratorModule, declarations: [AXDecoratorPrefixComponent, AXDecoratorSuffixComponent], imports: [CommonModule], exports: [AXDecoratorPrefixComponent, AXDecoratorSuffixComponent] });
|
|
1666
|
-
AXEditorDecoratorModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXEditorDecoratorModule, providers: [], imports: [[...MODULES$
|
|
1709
|
+
AXEditorDecoratorModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXEditorDecoratorModule, providers: [], imports: [[...MODULES$k]] });
|
|
1667
1710
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXEditorDecoratorModule, decorators: [{
|
|
1668
1711
|
type: NgModule,
|
|
1669
1712
|
args: [{
|
|
1670
|
-
declarations: [...COMPONENT$
|
|
1671
|
-
imports: [...MODULES$
|
|
1672
|
-
exports: [...COMPONENT$
|
|
1713
|
+
declarations: [...COMPONENT$k],
|
|
1714
|
+
imports: [...MODULES$k],
|
|
1715
|
+
exports: [...COMPONENT$k],
|
|
1673
1716
|
providers: [],
|
|
1674
1717
|
}]
|
|
1675
1718
|
}] });
|
|
@@ -1699,29 +1742,29 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImpor
|
|
|
1699
1742
|
args: ['class']
|
|
1700
1743
|
}] } });
|
|
1701
1744
|
|
|
1702
|
-
const COMPONENT$
|
|
1703
|
-
const MODULES$
|
|
1745
|
+
const COMPONENT$j = [AXIconComponent];
|
|
1746
|
+
const MODULES$j = [CommonModule];
|
|
1704
1747
|
class AXIconModule {
|
|
1705
1748
|
}
|
|
1706
1749
|
AXIconModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXIconModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1707
1750
|
AXIconModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXIconModule, declarations: [AXIconComponent], imports: [CommonModule], exports: [AXIconComponent] });
|
|
1708
|
-
AXIconModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXIconModule, providers: [], imports: [[...MODULES$
|
|
1751
|
+
AXIconModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXIconModule, providers: [], imports: [[...MODULES$j]] });
|
|
1709
1752
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXIconModule, decorators: [{
|
|
1710
1753
|
type: NgModule,
|
|
1711
1754
|
args: [{
|
|
1712
|
-
declarations: [...COMPONENT$
|
|
1713
|
-
imports: [...MODULES$
|
|
1714
|
-
exports: [...COMPONENT$
|
|
1755
|
+
declarations: [...COMPONENT$j],
|
|
1756
|
+
imports: [...MODULES$j],
|
|
1757
|
+
exports: [...COMPONENT$j],
|
|
1715
1758
|
providers: [],
|
|
1716
1759
|
}]
|
|
1717
1760
|
}] });
|
|
1718
1761
|
|
|
1719
|
-
const COMPONENT$
|
|
1762
|
+
const COMPONENT$i = [
|
|
1720
1763
|
AXButtonComponent,
|
|
1721
1764
|
AXButtonItemComponent,
|
|
1722
1765
|
AXButtonGroupComponent,
|
|
1723
1766
|
];
|
|
1724
|
-
const MODULES$
|
|
1767
|
+
const MODULES$i = [CommonModule, AXIconModule, AXEditorDecoratorModule];
|
|
1725
1768
|
class AXButtonModule {
|
|
1726
1769
|
}
|
|
1727
1770
|
AXButtonModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXButtonModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
@@ -1730,83 +1773,307 @@ AXButtonModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version:
|
|
|
1730
1773
|
AXButtonGroupComponent], imports: [CommonModule, AXIconModule, AXEditorDecoratorModule], exports: [AXButtonComponent,
|
|
1731
1774
|
AXButtonItemComponent,
|
|
1732
1775
|
AXButtonGroupComponent] });
|
|
1733
|
-
AXButtonModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXButtonModule, providers: [], imports: [[MODULES$
|
|
1776
|
+
AXButtonModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXButtonModule, providers: [], imports: [[MODULES$i]] });
|
|
1734
1777
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXButtonModule, decorators: [{
|
|
1735
1778
|
type: NgModule,
|
|
1736
1779
|
args: [{
|
|
1737
|
-
imports: [MODULES$
|
|
1738
|
-
exports: [COMPONENT$
|
|
1739
|
-
declarations: [COMPONENT$
|
|
1780
|
+
imports: [MODULES$i],
|
|
1781
|
+
exports: [COMPONENT$i],
|
|
1782
|
+
declarations: [COMPONENT$i],
|
|
1740
1783
|
providers: [],
|
|
1741
1784
|
}]
|
|
1742
1785
|
}] });
|
|
1743
1786
|
|
|
1744
|
-
class AXCalendarComponent extends
|
|
1787
|
+
class AXCalendarComponent extends AXCalendarComponentMixin {
|
|
1745
1788
|
constructor(elementRef, cdr) {
|
|
1746
1789
|
super(elementRef, cdr);
|
|
1747
|
-
this.
|
|
1748
|
-
this.
|
|
1749
|
-
this.
|
|
1750
|
-
this.
|
|
1751
|
-
this.
|
|
1752
|
-
|
|
1753
|
-
|
|
1754
|
-
|
|
1755
|
-
|
|
1756
|
-
|
|
1757
|
-
|
|
1758
|
-
|
|
1759
|
-
'
|
|
1760
|
-
|
|
1761
|
-
|
|
1762
|
-
|
|
1763
|
-
|
|
1764
|
-
|
|
1765
|
-
|
|
1790
|
+
this.cdr = cdr;
|
|
1791
|
+
this._today = new AXDateTime(new Date());
|
|
1792
|
+
this._navText = '';
|
|
1793
|
+
this._todayText = '';
|
|
1794
|
+
this._slots = [];
|
|
1795
|
+
this._activeView = 'days';
|
|
1796
|
+
this.depthChange = new EventEmitter();
|
|
1797
|
+
this._depth = 'days';
|
|
1798
|
+
}
|
|
1799
|
+
get _viewRange() {
|
|
1800
|
+
const current = this._viewStartDate || this._today;
|
|
1801
|
+
switch (this.activeView) {
|
|
1802
|
+
case 'years':
|
|
1803
|
+
let y = current.startOf('year').year;
|
|
1804
|
+
let min = y - (y % 10) - 1;
|
|
1805
|
+
let max = min + 11;
|
|
1806
|
+
return new AXDateTimeRange(AXDateTime.convert(new Date(min, 0), this._today.calendar.name()), AXDateTime.convert(new Date(max, 0), this._today.calendar.name()));
|
|
1807
|
+
case 'months':
|
|
1808
|
+
//TODO: check add month function
|
|
1809
|
+
return new AXDateTimeRange(current.startOf('year'), current.endOf('year').add('month', 4).add('day', -1));
|
|
1810
|
+
default:
|
|
1811
|
+
//return new AXDateTimeRange(current.startOf('month').startOf('week'), current.endOf('month').endOf('week'));
|
|
1812
|
+
return new AXDateTimeRange(current.startOf('month'), current.endOf('month'));
|
|
1813
|
+
}
|
|
1766
1814
|
}
|
|
1767
|
-
|
|
1815
|
+
get activeView() {
|
|
1816
|
+
return this._activeView;
|
|
1768
1817
|
}
|
|
1769
|
-
|
|
1770
|
-
|
|
1771
|
-
|
|
1772
|
-
|
|
1773
|
-
|
|
1818
|
+
set activeView(v) {
|
|
1819
|
+
this._activeView = v;
|
|
1820
|
+
this._genearteSlots();
|
|
1821
|
+
}
|
|
1822
|
+
get depth() {
|
|
1823
|
+
return this._depth;
|
|
1824
|
+
}
|
|
1825
|
+
set depth(v) {
|
|
1826
|
+
this._depth = v;
|
|
1827
|
+
this._activeView = v;
|
|
1828
|
+
this.depthChange.emit(v);
|
|
1829
|
+
this._genearteSlots();
|
|
1830
|
+
}
|
|
1831
|
+
get min() {
|
|
1832
|
+
return this._min;
|
|
1833
|
+
}
|
|
1834
|
+
set min(v) {
|
|
1835
|
+
this._min = v;
|
|
1836
|
+
}
|
|
1837
|
+
get max() {
|
|
1838
|
+
return this._max;
|
|
1839
|
+
}
|
|
1840
|
+
set max(v) {
|
|
1841
|
+
this._max = v;
|
|
1842
|
+
}
|
|
1843
|
+
get disabledDates() {
|
|
1844
|
+
return this._disabledDates;
|
|
1845
|
+
}
|
|
1846
|
+
set disabledDates(v) {
|
|
1847
|
+
this._disabledDates = v;
|
|
1848
|
+
}
|
|
1849
|
+
get holidayDates() {
|
|
1850
|
+
return this._holidayDates;
|
|
1851
|
+
}
|
|
1852
|
+
set holidayDates(v) {
|
|
1853
|
+
this._holidayDates = v;
|
|
1854
|
+
}
|
|
1855
|
+
onInit() {
|
|
1856
|
+
this.goToday();
|
|
1857
|
+
}
|
|
1858
|
+
_genearteSlots() {
|
|
1859
|
+
if (!this._viewStartDate)
|
|
1860
|
+
return;
|
|
1861
|
+
const vr = this._viewRange;
|
|
1862
|
+
// year view
|
|
1863
|
+
if (this.activeView == 'years') {
|
|
1864
|
+
const a = vr.enumurate('year');
|
|
1865
|
+
this._slots = a.map((d, i) => {
|
|
1866
|
+
const r = {};
|
|
1867
|
+
r.date = d.date;
|
|
1868
|
+
r.text = d.format('YYYY');
|
|
1869
|
+
r.disabled = (this.min && d.compare(this.min, 'year') == -1) || (this.max && d.compare(this.max, 'year') == 1);
|
|
1870
|
+
if (r.disabled) {
|
|
1871
|
+
r.cssClass = {
|
|
1872
|
+
'ax-state-disabled': r.disabled,
|
|
1873
|
+
};
|
|
1874
|
+
}
|
|
1875
|
+
else {
|
|
1876
|
+
r.cssClass = {
|
|
1877
|
+
'ax-state-today': d.equal(this._today, 'year'),
|
|
1878
|
+
'ax-state-selected': this.value && this.depth == 'years' && d.equal(this.value, 'year'),
|
|
1879
|
+
};
|
|
1880
|
+
}
|
|
1881
|
+
return r;
|
|
1882
|
+
});
|
|
1883
|
+
this._navText = `${vr.startTime.year} - ${vr.endTime.year}`;
|
|
1884
|
+
this._todayText = this._today.format('YYYY');
|
|
1885
|
+
}
|
|
1886
|
+
// month view
|
|
1887
|
+
else if (this.activeView == 'months') {
|
|
1888
|
+
const a = vr.enumurate('month');
|
|
1889
|
+
this._slots = a.map((d, i) => {
|
|
1890
|
+
const r = {};
|
|
1891
|
+
r.date = d.date;
|
|
1892
|
+
r.text = d.format('MMM');
|
|
1893
|
+
r.tooltip = d.format('MMMM YYYY');
|
|
1894
|
+
r.disabled = (this.min && d.compare(this.min, 'month') == -1) || (this.max && d.compare(this.max, 'month') == 1);
|
|
1895
|
+
if (r.disabled) {
|
|
1896
|
+
r.cssClass = {
|
|
1897
|
+
'ax-state-disabled': r.disabled,
|
|
1898
|
+
};
|
|
1899
|
+
}
|
|
1900
|
+
else {
|
|
1901
|
+
r.cssClass = {
|
|
1902
|
+
'ax-state-today': d.equal(this._today, 'month'),
|
|
1903
|
+
'ax-state-selected': this.value && this.depth == 'months' && d.equal(this.value, 'month'),
|
|
1904
|
+
'ax-state-other': d.year != this._viewStartDate.year
|
|
1905
|
+
};
|
|
1906
|
+
}
|
|
1907
|
+
return r;
|
|
1908
|
+
});
|
|
1909
|
+
this._navText = this._viewStartDate.format('YYYY');
|
|
1910
|
+
this._todayText = this._today.format('MMMM YYYY');
|
|
1911
|
+
}
|
|
1912
|
+
// day view
|
|
1913
|
+
else {
|
|
1914
|
+
const a = vr.enumurate('day');
|
|
1915
|
+
this._slots = a.map((d, i) => {
|
|
1916
|
+
const r = {};
|
|
1917
|
+
r.date = d.date;
|
|
1918
|
+
r.text = d.dayOfMonth;
|
|
1919
|
+
r.tooltip = d.format();
|
|
1920
|
+
r.disabled = (this.min && d.compare(this.min, 'day') == -1) || (this.max && d.compare(this.max, 'day') == 1);
|
|
1921
|
+
if (r.disabled || this.isDisabled(d)) {
|
|
1922
|
+
r.cssClass = {
|
|
1923
|
+
'ax-state-disabled': true,
|
|
1924
|
+
};
|
|
1925
|
+
}
|
|
1926
|
+
else {
|
|
1927
|
+
r.cssClass = {
|
|
1928
|
+
'ax-state-today': d.equal(this._today, 'day'),
|
|
1929
|
+
'ax-state-selected': this.value && d.equal(this.value, 'day'),
|
|
1930
|
+
'ax-state-holiday': this.isHoliday(d) || this.isWeekend(d),
|
|
1931
|
+
// 'ax-state-event-info': d.dayOfMonth == 12,
|
|
1932
|
+
// 'ax-state-event': d.dayOfMonth == 12,
|
|
1933
|
+
};
|
|
1934
|
+
}
|
|
1935
|
+
r.cssClass[`ax-col-start-${vr.startTime.dayOfWeek}`] = i == 0;
|
|
1936
|
+
return r;
|
|
1937
|
+
});
|
|
1938
|
+
this._navText = this._viewStartDate.format('MMMM YYYY');
|
|
1939
|
+
this._todayText = this._today.format('DDDD, MMMM dd, YYYY');
|
|
1940
|
+
}
|
|
1941
|
+
}
|
|
1942
|
+
_handlePrevClick(e) {
|
|
1943
|
+
this.prev();
|
|
1944
|
+
}
|
|
1945
|
+
_handleNextClick(e) {
|
|
1946
|
+
this.next();
|
|
1947
|
+
}
|
|
1948
|
+
_handleSlotClick(slot) {
|
|
1949
|
+
if (slot.disabled || this.disabled)
|
|
1950
|
+
return;
|
|
1951
|
+
if (this.activeView == 'days') {
|
|
1952
|
+
this.value = slot.date;
|
|
1953
|
+
}
|
|
1954
|
+
else if (this.activeView == 'months' && this.depth == 'days') {
|
|
1955
|
+
this.activeView = 'days';
|
|
1956
|
+
this.navTo(slot.date);
|
|
1957
|
+
}
|
|
1958
|
+
else if (this.activeView == 'months' && this.depth == 'months') {
|
|
1959
|
+
this.value = slot.date;
|
|
1960
|
+
}
|
|
1961
|
+
else if (this.activeView == 'years' && (this.depth == 'days' || this.depth == 'months')) {
|
|
1962
|
+
this.activeView = 'months';
|
|
1963
|
+
this.navTo(slot.date);
|
|
1964
|
+
}
|
|
1965
|
+
else if (this.activeView == 'years' && this.depth == 'years') {
|
|
1966
|
+
this.value = slot.date;
|
|
1774
1967
|
}
|
|
1775
1968
|
}
|
|
1969
|
+
_handleNavClick(e) {
|
|
1970
|
+
if (this.activeView == 'days')
|
|
1971
|
+
this.activeView = 'months';
|
|
1972
|
+
else if (this.activeView == 'months')
|
|
1973
|
+
this.activeView = 'years';
|
|
1974
|
+
}
|
|
1975
|
+
_onValueChanged(oldValue, newValue) {
|
|
1976
|
+
this._genearteSlots();
|
|
1977
|
+
}
|
|
1978
|
+
_handleGoToday() {
|
|
1979
|
+
this.value = this._today.date;
|
|
1980
|
+
this.goToday();
|
|
1981
|
+
}
|
|
1982
|
+
next() {
|
|
1983
|
+
this._navNextPrev(false);
|
|
1984
|
+
}
|
|
1985
|
+
prev() {
|
|
1986
|
+
this._navNextPrev(true);
|
|
1987
|
+
}
|
|
1988
|
+
_navNextPrev(prev) {
|
|
1989
|
+
const sign = (prev ? -1 : 1);
|
|
1990
|
+
if (this.activeView == 'days')
|
|
1991
|
+
this.navTo(this._viewStartDate.add('month', sign * 1));
|
|
1992
|
+
else if (this.activeView == 'months')
|
|
1993
|
+
this.navTo(this._viewStartDate.add('year', sign * 1));
|
|
1994
|
+
else
|
|
1995
|
+
this.navTo(this._viewStartDate.add('year', sign * 12));
|
|
1996
|
+
}
|
|
1997
|
+
goToday() {
|
|
1998
|
+
this.navTo(this._today.startOf());
|
|
1999
|
+
}
|
|
2000
|
+
navTo(date) {
|
|
2001
|
+
this._viewStartDate = AXDateTime.convert(date, this._today.calendar.name());
|
|
2002
|
+
this._genearteSlots();
|
|
2003
|
+
}
|
|
2004
|
+
get __hostClass() {
|
|
2005
|
+
const _classes = {
|
|
2006
|
+
'ax-state-disabled': this.disabled
|
|
2007
|
+
};
|
|
2008
|
+
return Object.entries(_classes).filter(c => c[1]).map(c => c[0]).join(' ');
|
|
2009
|
+
}
|
|
2010
|
+
isDisabled(date) {
|
|
2011
|
+
if (Array.isArray(this.disabledDates) && this.disabledDates.length != 0) {
|
|
2012
|
+
debugger;
|
|
2013
|
+
return this.disabledDates.some(d => date.equal(d, 'day'));
|
|
2014
|
+
}
|
|
2015
|
+
else if (typeof this.disabledDates == 'function') {
|
|
2016
|
+
return this.disabledDates(date.date);
|
|
2017
|
+
}
|
|
2018
|
+
return false;
|
|
2019
|
+
}
|
|
2020
|
+
isHoliday(date) {
|
|
2021
|
+
if (Array.isArray(this.holidayDates) && this.holidayDates.length != 0) {
|
|
2022
|
+
return this.holidayDates.some(d => date.equal(d, 'day'));
|
|
2023
|
+
}
|
|
2024
|
+
else if (typeof this.holidayDates == 'function') {
|
|
2025
|
+
return this.holidayDates(date.date);
|
|
2026
|
+
}
|
|
2027
|
+
return false;
|
|
2028
|
+
}
|
|
2029
|
+
isWeekend(date) {
|
|
2030
|
+
return date.dayOfWeek == 7 || date.dayOfWeek == 1;
|
|
2031
|
+
}
|
|
1776
2032
|
}
|
|
1777
2033
|
AXCalendarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXCalendarComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
1778
|
-
AXCalendarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: AXCalendarComponent, selector: "ax-calendar", inputs: { disabled: "disabled", tabIndex: "tabIndex",
|
|
2034
|
+
AXCalendarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: AXCalendarComponent, selector: "ax-calendar", inputs: { readonly: "readonly", allowNull: "allowNull", value: "value", debounceTime: "debounceTime", name: "name", disabled: "disabled", tabIndex: "tabIndex", activeView: "activeView", depth: "depth", min: "min", max: "max", disabledDates: "disabledDates", holidayDates: "holidayDates" }, outputs: { valueChange: "valueChange", onValueChanged: "onValueChanged", onBlur: "onBlur", onFocus: "onFocus", depthChange: "depthChange" }, host: { properties: { "class": "this.__hostClass" } }, usesInheritance: true, ngImport: i0, template: "<div class=\"ax-calendar-header\">\r\n <ax-button class=\"ax-nav-button\" [text]=\"_navText\" color=\"light\" look=\"blank\" (onClick)=\"_handleNavClick($event)\" [disabled]=\"disabled\">\r\n </ax-button>\r\n <ax-button class=\"ax-prev-button\" color=\"light\" look=\"blank\" (onClick)=\"_handlePrevClick($event)\" [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)\" [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</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(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(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>SU</div>\r\n <div>MO</div>\r\n <div>TU</div>\r\n <div>WE</div>\r\n <div>TH</div>\r\n <div>FR</div>\r\n <div>SA</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(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 [text]=\"_todayText\" color=\"dark\" look=\"blank\" size=\"sm\" (onClick)=\"_handleGoToday()\" [disabled]=\"disabled\"></ax-button>\r\n</div>", components: [{ type: AXButtonComponent, selector: "ax-button", inputs: ["disabled", "tabIndex", "size", "text", "submitBehavior", "cancelBehavior", "color", "look", "toggleable", "selected"], outputs: ["onBlur", "onFocus", "onClick", "selectedChange", "toggleableChange"] }, { type: AXDecoratorPrefixComponent, selector: "ax-prefix" }, { type: AXIconComponent, selector: "ax-icon", inputs: ["icon"] }], directives: [{ type: i4.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { type: i4.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i4.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i4.NgSwitchDefault, selector: "[ngSwitchDefault]" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
1779
2035
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXCalendarComponent, decorators: [{
|
|
1780
2036
|
type: Component,
|
|
1781
2037
|
args: [{
|
|
1782
2038
|
selector: 'ax-calendar',
|
|
1783
2039
|
templateUrl: './calendar.component.html',
|
|
1784
2040
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1785
|
-
inputs: [
|
|
2041
|
+
inputs: [...VALUE_INPUTS, ...INTERACTIVE_INPUTS],
|
|
2042
|
+
outputs: [...VALUE_OUTPUT, ...INTERACTIVE_OUTPUT],
|
|
1786
2043
|
encapsulation: ViewEncapsulation.None,
|
|
1787
2044
|
}]
|
|
1788
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: {
|
|
1789
|
-
type:
|
|
1790
|
-
|
|
1791
|
-
|
|
2045
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { activeView: [{
|
|
2046
|
+
type: Input
|
|
2047
|
+
}], depthChange: [{
|
|
2048
|
+
type: Output
|
|
2049
|
+
}], depth: [{
|
|
2050
|
+
type: Input
|
|
2051
|
+
}], min: [{
|
|
1792
2052
|
type: Input
|
|
1793
|
-
}],
|
|
2053
|
+
}], max: [{
|
|
1794
2054
|
type: Input
|
|
2055
|
+
}], disabledDates: [{
|
|
2056
|
+
type: Input
|
|
2057
|
+
}], holidayDates: [{
|
|
2058
|
+
type: Input
|
|
2059
|
+
}], __hostClass: [{
|
|
2060
|
+
type: HostBinding,
|
|
2061
|
+
args: ['class']
|
|
1795
2062
|
}] } });
|
|
1796
2063
|
|
|
1797
|
-
const COMPONENT$
|
|
1798
|
-
const MODULES$
|
|
2064
|
+
const COMPONENT$h = [AXCalendarComponent];
|
|
2065
|
+
const MODULES$h = [CommonModule, AXButtonModule, AXIconModule, AXEditorDecoratorModule, AXDateTimeModule];
|
|
1799
2066
|
class AXCalendarModule {
|
|
1800
2067
|
}
|
|
1801
2068
|
AXCalendarModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXCalendarModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1802
|
-
AXCalendarModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXCalendarModule, declarations: [AXCalendarComponent], imports: [CommonModule, AXButtonModule, AXEditorDecoratorModule,
|
|
1803
|
-
AXCalendarModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXCalendarModule, providers: [], imports: [[...MODULES$
|
|
2069
|
+
AXCalendarModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXCalendarModule, declarations: [AXCalendarComponent], imports: [CommonModule, AXButtonModule, AXIconModule, AXEditorDecoratorModule, AXDateTimeModule], exports: [AXCalendarComponent] });
|
|
2070
|
+
AXCalendarModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXCalendarModule, providers: [], imports: [[...MODULES$h]] });
|
|
1804
2071
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXCalendarModule, decorators: [{
|
|
1805
2072
|
type: NgModule,
|
|
1806
2073
|
args: [{
|
|
1807
|
-
declarations: [...COMPONENT$
|
|
1808
|
-
imports: [...MODULES$
|
|
1809
|
-
exports: [...COMPONENT$
|
|
2074
|
+
declarations: [...COMPONENT$h],
|
|
2075
|
+
imports: [...MODULES$h],
|
|
2076
|
+
exports: [...COMPONENT$h],
|
|
1810
2077
|
providers: [],
|
|
1811
2078
|
}]
|
|
1812
2079
|
}] });
|
|
@@ -2261,7 +2528,7 @@ AXCarouselPagerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0",
|
|
|
2261
2528
|
AXCarouselPagerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: AXCarouselPagerComponent, selector: "ax-carousel-pager", host: { classAttribute: "ax-carousel-pager" }, usesInheritance: true, ngImport: i0, template: `
|
|
2262
2529
|
<button *ngFor="let d of _dots;let i=index" [class.ax-state-active]="i==_pageIndex" (click)="_handleClick($event,i)">
|
|
2263
2530
|
</button>
|
|
2264
|
-
`, isInline: true, directives: [{ type:
|
|
2531
|
+
`, isInline: true, directives: [{ type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
2265
2532
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXCarouselPagerComponent, decorators: [{
|
|
2266
2533
|
type: Component,
|
|
2267
2534
|
args: [{
|
|
@@ -2276,19 +2543,19 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImpor
|
|
|
2276
2543
|
}]
|
|
2277
2544
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: AXCarouselComponent }]; } });
|
|
2278
2545
|
|
|
2279
|
-
const COMPONENT$
|
|
2280
|
-
const MODULES$
|
|
2546
|
+
const COMPONENT$g = [AXCarouselComponent, AXCarouselItemComponent, AXCarouselArrowsComponent, AXCarouselPagerComponent];
|
|
2547
|
+
const MODULES$g = [CommonModule];
|
|
2281
2548
|
class AXCarouselModule {
|
|
2282
2549
|
}
|
|
2283
2550
|
AXCarouselModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXCarouselModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
2284
2551
|
AXCarouselModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXCarouselModule, declarations: [AXCarouselComponent, AXCarouselItemComponent, AXCarouselArrowsComponent, AXCarouselPagerComponent], imports: [CommonModule], exports: [AXCarouselComponent, AXCarouselItemComponent, AXCarouselArrowsComponent, AXCarouselPagerComponent] });
|
|
2285
|
-
AXCarouselModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXCarouselModule, providers: [], imports: [[...MODULES$
|
|
2552
|
+
AXCarouselModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXCarouselModule, providers: [], imports: [[...MODULES$g]] });
|
|
2286
2553
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXCarouselModule, decorators: [{
|
|
2287
2554
|
type: NgModule,
|
|
2288
2555
|
args: [{
|
|
2289
|
-
declarations: [...COMPONENT$
|
|
2290
|
-
imports: [...MODULES$
|
|
2291
|
-
exports: [...COMPONENT$
|
|
2556
|
+
declarations: [...COMPONENT$g],
|
|
2557
|
+
imports: [...MODULES$g],
|
|
2558
|
+
exports: [...COMPONENT$g],
|
|
2292
2559
|
providers: [],
|
|
2293
2560
|
}]
|
|
2294
2561
|
}] });
|
|
@@ -2389,7 +2656,7 @@ class AXDataListComponent extends AXBaseSelectionValueMixin {
|
|
|
2389
2656
|
}
|
|
2390
2657
|
}
|
|
2391
2658
|
AXDataListComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXDataListComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
2392
|
-
AXDataListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: AXDataListComponent, selector: "ax-datalist", inputs: { disabled: "disabled", readonly: "readonly", tabIndex: "tabIndex", size: "size", value: "value", items: "items", pageSize: "pageSize", itemTemplate: "itemTemplate", emptyTemplate: "emptyTemplate", loadingTemplate: "loadingTemplate" }, outputs: { valueChange: "valueChange", onValueChanged: "onValueChanged", onBlur: "onBlur", onFocus: "onFocus" }, host: { classAttribute: "ax-list ax-list-container" }, queries: [{ propertyName: "_contentItemTemplate", first: true, predicate: ["itemTemplate"], descendants: true, static: true }, { propertyName: "_contentEmptyTemplate", first: true, predicate: ["emptyTemplate"], descendants: true, static: true }, { propertyName: "_contentloadingTemplate", first: true, predicate: ["loadingTemplate"], descendants: true, static: true }], viewQueries: [{ propertyName: "_container", first: true, predicate: ["container"], descendants: true }], usesInheritance: true, ngImport: i0, template: "<div class=\"ax-list-items-container ax-default ax-vertical\" (scroll)=\"_handleListScroll($event)\" #container>\r\n <ng-container *ngFor=\"let item of displayItems;trackBy : _trackByFunction\">\r\n <ng-container *ngIf=\"itemTemplate; else elseTemplate\">\r\n <div class=\"ax-list-item\" (click)=\"_handleOnItemClick($event,item)\">\r\n <ng-container *ngTemplateOutlet=\"itemTemplate; context: { $implicit: item,direction:direction}\">\r\n </ng-container>\r\n </div>\r\n </ng-container>\r\n <ng-template #elseTemplate>\r\n <div class=\"ax-list-item\" (click)=\"_handleOnItemClick($event,item)\">\r\n {{ item ? _getItemDisplayTextTemplte(item) : 'Loading...'}}\r\n </div>\r\n </ng-template>\r\n </ng-container>\r\n <ng-container *ngIf=\"(displayItems==null || displayItems.length==0) && !isLoading\">\r\n <ng-container *ngIf=\"emptyTemplate; else elseEmptyTemplate\">\r\n <ng-container *ngTemplateOutlet=\"elseEmptyTemplate\">\r\n </ng-container>\r\n </ng-container>\r\n <ng-template #elseTemplate>\r\n Empty!\r\n </ng-template>\r\n </ng-container>\r\n <ng-container *ngIf=\"isLoading\">\r\n <ng-container *ngIf=\"loadingTemplate; else elseLoadingTemplate\">\r\n <ng-container *ngTemplateOutlet=\"loadingTemplate\">\r\n </ng-container>\r\n </ng-container>\r\n <ng-template #elseLoadingTemplate>\r\n <div class=\"ax-list-loading-container\">\r\n <div><i class=\"fas fa-spinner ax-animate-spin\"></i> Loading ...</div>\r\n </div>\r\n </ng-template>\r\n </ng-container>\r\n</div>", directives: [{ type:
|
|
2659
|
+
AXDataListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: AXDataListComponent, selector: "ax-datalist", inputs: { disabled: "disabled", readonly: "readonly", tabIndex: "tabIndex", size: "size", value: "value", items: "items", pageSize: "pageSize", itemTemplate: "itemTemplate", emptyTemplate: "emptyTemplate", loadingTemplate: "loadingTemplate" }, outputs: { valueChange: "valueChange", onValueChanged: "onValueChanged", onBlur: "onBlur", onFocus: "onFocus" }, host: { classAttribute: "ax-list ax-list-container" }, queries: [{ propertyName: "_contentItemTemplate", first: true, predicate: ["itemTemplate"], descendants: true, static: true }, { propertyName: "_contentEmptyTemplate", first: true, predicate: ["emptyTemplate"], descendants: true, static: true }, { propertyName: "_contentloadingTemplate", first: true, predicate: ["loadingTemplate"], descendants: true, static: true }], viewQueries: [{ propertyName: "_container", first: true, predicate: ["container"], descendants: true }], usesInheritance: true, ngImport: i0, template: "<div class=\"ax-list-items-container ax-default ax-vertical\" (scroll)=\"_handleListScroll($event)\" #container>\r\n <ng-container *ngFor=\"let item of displayItems;trackBy : _trackByFunction\">\r\n <ng-container *ngIf=\"itemTemplate; else elseTemplate\">\r\n <div class=\"ax-list-item\" (click)=\"_handleOnItemClick($event,item)\">\r\n <ng-container *ngTemplateOutlet=\"itemTemplate; context: { $implicit: item,direction:direction}\">\r\n </ng-container>\r\n </div>\r\n </ng-container>\r\n <ng-template #elseTemplate>\r\n <div class=\"ax-list-item\" (click)=\"_handleOnItemClick($event,item)\">\r\n {{ item ? _getItemDisplayTextTemplte(item) : 'Loading...'}}\r\n </div>\r\n </ng-template>\r\n </ng-container>\r\n <ng-container *ngIf=\"(displayItems==null || displayItems.length==0) && !isLoading\">\r\n <ng-container *ngIf=\"emptyTemplate; else elseEmptyTemplate\">\r\n <ng-container *ngTemplateOutlet=\"elseEmptyTemplate\">\r\n </ng-container>\r\n </ng-container>\r\n <ng-template #elseTemplate>\r\n Empty!\r\n </ng-template>\r\n </ng-container>\r\n <ng-container *ngIf=\"isLoading\">\r\n <ng-container *ngIf=\"loadingTemplate; else elseLoadingTemplate\">\r\n <ng-container *ngTemplateOutlet=\"loadingTemplate\">\r\n </ng-container>\r\n </ng-container>\r\n <ng-template #elseLoadingTemplate>\r\n <div class=\"ax-list-loading-container\">\r\n <div><i class=\"fas fa-spinner ax-animate-spin\"></i> Loading ...</div>\r\n </div>\r\n </ng-template>\r\n </ng-container>\r\n</div>", directives: [{ type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i4.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
2393
2660
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXDataListComponent, decorators: [{
|
|
2394
2661
|
type: Component,
|
|
2395
2662
|
args: [{
|
|
@@ -2421,19 +2688,19 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImpor
|
|
|
2421
2688
|
type: Input
|
|
2422
2689
|
}] } });
|
|
2423
2690
|
|
|
2424
|
-
const COMPONENT$
|
|
2425
|
-
const MODULES$
|
|
2691
|
+
const COMPONENT$f = [AXDataListComponent];
|
|
2692
|
+
const MODULES$f = [CommonModule, AXButtonModule];
|
|
2426
2693
|
class AXDataListModule {
|
|
2427
2694
|
}
|
|
2428
2695
|
AXDataListModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXDataListModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
2429
2696
|
AXDataListModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXDataListModule, declarations: [AXDataListComponent], imports: [CommonModule, AXButtonModule], exports: [AXDataListComponent] });
|
|
2430
|
-
AXDataListModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXDataListModule, providers: [], imports: [[...MODULES$
|
|
2697
|
+
AXDataListModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXDataListModule, providers: [], imports: [[...MODULES$f]] });
|
|
2431
2698
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXDataListModule, decorators: [{
|
|
2432
2699
|
type: NgModule,
|
|
2433
2700
|
args: [{
|
|
2434
|
-
declarations: [...COMPONENT$
|
|
2435
|
-
imports: [...MODULES$
|
|
2436
|
-
exports: [...COMPONENT$
|
|
2701
|
+
declarations: [...COMPONENT$f],
|
|
2702
|
+
imports: [...MODULES$f],
|
|
2703
|
+
exports: [...COMPONENT$f],
|
|
2437
2704
|
providers: [],
|
|
2438
2705
|
}]
|
|
2439
2706
|
}] });
|
|
@@ -2478,7 +2745,6 @@ class AXPopoverComponent extends AXBaseComponent {
|
|
|
2478
2745
|
return this._target;
|
|
2479
2746
|
}
|
|
2480
2747
|
set target(v) {
|
|
2481
|
-
debugger;
|
|
2482
2748
|
if (v instanceof HTMLElement)
|
|
2483
2749
|
this._target = v;
|
|
2484
2750
|
else if (v instanceof ElementRef)
|
|
@@ -2619,7 +2885,7 @@ class AXPopoverComponent extends AXBaseComponent {
|
|
|
2619
2885
|
this._subs.push(sub);
|
|
2620
2886
|
}
|
|
2621
2887
|
}
|
|
2622
|
-
AXPopoverComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXPopoverComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: i0.NgZone }, { token: i1
|
|
2888
|
+
AXPopoverComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXPopoverComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: i0.NgZone }, { token: i1.Overlay }, { token: i2.AXPlatform }, { token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
2623
2889
|
AXPopoverComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: AXPopoverComponent, selector: "ax-popover", inputs: { target: "target", position: "position", openTrigger: "openTrigger", closeTrigger: "closeTrigger", hasBackdrop: "hasBackdrop", backdropClass: "backdropClass" }, host: { listeners: { "document:keydown": "_handleKeydownHandler($event)" } }, viewQueries: [{ propertyName: "_baseTemplate", first: true, predicate: ["baseTemplate"], descendants: true }], usesInheritance: true, ngImport: i0, template: "<ng-template #baseTemplate>\r\n <ng-content></ng-content>\r\n</ng-template>", changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
2624
2890
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXPopoverComponent, decorators: [{
|
|
2625
2891
|
type: Component,
|
|
@@ -2629,7 +2895,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImpor
|
|
|
2629
2895
|
encapsulation: ViewEncapsulation.None,
|
|
2630
2896
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
2631
2897
|
}]
|
|
2632
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: i0.NgZone }, { type: i1
|
|
2898
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: i0.NgZone }, { type: i1.Overlay }, { type: i2.AXPlatform }, { type: i0.ViewContainerRef }]; }, propDecorators: { target: [{
|
|
2633
2899
|
type: Input
|
|
2634
2900
|
}], position: [{
|
|
2635
2901
|
type: Input
|
|
@@ -2830,7 +3096,7 @@ class AXDatepickerComponent extends AXBaseTextBoxMixin {
|
|
|
2830
3096
|
}
|
|
2831
3097
|
}
|
|
2832
3098
|
AXDatepickerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXDatepickerComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
2833
|
-
AXDatepickerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: AXDatepickerComponent, selector: "ax-date-picker", inputs: { disabled: "disabled", readonly: "readonly", tabIndex: "tabIndex", cssClass: "cssClass", size: "size", placeholder: "placeholder", maxLength: "maxLength", allowNull: "allowNull", debounceTime: "debounceTime", value: "value", name: "name" }, outputs: { valueChange: "valueChange", onValueChanged: "onValueChanged", onBlur: "onBlur", onFocus: "onFocus" }, usesInheritance: true, ngImport: i0, template: "<ax-drop-down [fitParent]=\"false\" [disabled]=\"disabled\">\r\n <ng-container input>\r\n <ng-content select=\"ax-prefix\">\r\n </ng-content>\r\n <ng-content select=\"ax-suffix\">\r\n </ng-content>\r\n </ng-container>\r\n <div class=\"ax-datepicker-body\" panel>\r\n <ax-calendar [showTime]=\"true\" [actionBar]=\"true\"
|
|
3099
|
+
AXDatepickerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: AXDatepickerComponent, selector: "ax-date-picker", inputs: { disabled: "disabled", readonly: "readonly", tabIndex: "tabIndex", cssClass: "cssClass", size: "size", placeholder: "placeholder", maxLength: "maxLength", allowNull: "allowNull", debounceTime: "debounceTime", value: "value", name: "name" }, outputs: { valueChange: "valueChange", onValueChanged: "onValueChanged", onBlur: "onBlur", onFocus: "onFocus" }, usesInheritance: true, ngImport: i0, template: "<ax-drop-down [fitParent]=\"false\" [disabled]=\"disabled\">\r\n <ng-container input>\r\n <ng-content select=\"ax-prefix\">\r\n </ng-content>\r\n <ng-content select=\"ax-suffix\">\r\n </ng-content>\r\n </ng-container>\r\n <div class=\"ax-datepicker-body\" panel>\r\n <ax-calendar></ax-calendar>\r\n <!-- [showTime]=\"true\" [actionBar]=\"true\" -->\r\n </div>\r\n</ax-drop-down>", components: [{ type: AXDropdownComponent, selector: "ax-drop-down", inputs: ["disabled", "tabIndex", "size", "fitParent"] }, { type: AXCalendarComponent, selector: "ax-calendar", inputs: ["readonly", "allowNull", "value", "debounceTime", "name", "disabled", "tabIndex", "activeView", "depth", "min", "max", "disabledDates", "holidayDates"], outputs: ["valueChange", "onValueChanged", "onBlur", "onFocus", "depthChange"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
2834
3100
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXDatepickerComponent, decorators: [{
|
|
2835
3101
|
type: Component,
|
|
2836
3102
|
args: [{
|
|
@@ -2903,7 +3169,7 @@ class AXDropdownPanelComponent extends AXBaseDropDownComponent {
|
|
|
2903
3169
|
}
|
|
2904
3170
|
}
|
|
2905
3171
|
AXDropdownPanelComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXDropdownPanelComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: AXButtonComponent, optional: true }], target: i0.ɵɵFactoryTarget.Component });
|
|
2906
|
-
AXDropdownPanelComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: AXDropdownPanelComponent, selector: "ax-dropdown-panel", inputs: { items: "items" }, outputs: { onItemClick: "onItemClick" }, queries: [{ propertyName: "_contentButtons", predicate: AXButtonItemComponent }], viewQueries: [{ propertyName: "popover", first: true, predicate: AXPopoverComponent, descendants: true }, { propertyName: "_viewButtons", predicate: AXButtonItemComponent, descendants: true }], usesInheritance: true, ngImport: i0, template: "<ax-popover [target]=\"_target\" [position]=\"position\" [openTrigger]=\"'toggle'\" [closeTrigger]=\"'clickout'\">\r\n <div class=\"ax-overlay-pane\" [class.ax-dropdown-list]=\"_needBorder\" >\r\n <ng-container *ngIf=\"items && items.length;else panelTpl\">\r\n <ax-button-item [text]=\"item.text\" [color]=\"item.color\" *ngFor=\"let item of items\">\r\n <ax-prefix *ngIf=\"item.iconClass\">\r\n <ax-icon [icon]=\"item.iconClass\"></ax-icon>\r\n </ax-prefix>\r\n </ax-button-item>\r\n </ng-container>\r\n <ng-template #panelTpl>\r\n <ng-content select=\"[panel],ax-button-item\">\r\n </ng-content>\r\n </ng-template>\r\n </div>\r\n</ax-popover>", components: [{ type: AXPopoverComponent, selector: "ax-popover", inputs: ["target", "position", "openTrigger", "closeTrigger", "hasBackdrop", "backdropClass"] }, { type: AXButtonItemComponent, selector: "ax-button-item", inputs: ["text", "tooltip", "selected", "seperated", "name", "data", "color"] }, { type: AXDecoratorPrefixComponent, selector: "ax-prefix" }, { type: AXIconComponent, selector: "ax-icon", inputs: ["icon"] }], directives: [{ type:
|
|
3172
|
+
AXDropdownPanelComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: AXDropdownPanelComponent, selector: "ax-dropdown-panel", inputs: { items: "items" }, outputs: { onItemClick: "onItemClick" }, queries: [{ propertyName: "_contentButtons", predicate: AXButtonItemComponent }], viewQueries: [{ propertyName: "popover", first: true, predicate: AXPopoverComponent, descendants: true }, { propertyName: "_viewButtons", predicate: AXButtonItemComponent, descendants: true }], usesInheritance: true, ngImport: i0, template: "<ax-popover [target]=\"_target\" [position]=\"position\" [openTrigger]=\"'toggle'\" [closeTrigger]=\"'clickout'\">\r\n <div class=\"ax-overlay-pane\" [class.ax-dropdown-list]=\"_needBorder\" >\r\n <ng-container *ngIf=\"items && items.length;else panelTpl\">\r\n <ax-button-item [text]=\"item.text\" [color]=\"item.color\" *ngFor=\"let item of items\">\r\n <ax-prefix *ngIf=\"item.iconClass\">\r\n <ax-icon [icon]=\"item.iconClass\"></ax-icon>\r\n </ax-prefix>\r\n </ax-button-item>\r\n </ng-container>\r\n <ng-template #panelTpl>\r\n <ng-content select=\"[panel],ax-button-item\">\r\n </ng-content>\r\n </ng-template>\r\n </div>\r\n</ax-popover>", components: [{ type: AXPopoverComponent, selector: "ax-popover", inputs: ["target", "position", "openTrigger", "closeTrigger", "hasBackdrop", "backdropClass"] }, { type: AXButtonItemComponent, selector: "ax-button-item", inputs: ["text", "tooltip", "selected", "seperated", "name", "data", "color"] }, { type: AXDecoratorPrefixComponent, selector: "ax-prefix" }, { type: AXIconComponent, selector: "ax-icon", inputs: ["icon"] }], directives: [{ type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
2907
3173
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXDropdownPanelComponent, decorators: [{
|
|
2908
3174
|
type: Component,
|
|
2909
3175
|
args: [{
|
|
@@ -2944,19 +3210,19 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImpor
|
|
|
2944
3210
|
}]
|
|
2945
3211
|
}] });
|
|
2946
3212
|
|
|
2947
|
-
const COMPONENT$
|
|
2948
|
-
const MODULES$
|
|
3213
|
+
const COMPONENT$e = [AXDatepickerComponent];
|
|
3214
|
+
const MODULES$e = [CommonModule, AXCalendarModule, AXDropdownModule];
|
|
2949
3215
|
class AXDatepickerModule {
|
|
2950
3216
|
}
|
|
2951
3217
|
AXDatepickerModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXDatepickerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
2952
3218
|
AXDatepickerModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXDatepickerModule, declarations: [AXDatepickerComponent], imports: [CommonModule, AXCalendarModule, AXDropdownModule], exports: [AXDatepickerComponent] });
|
|
2953
|
-
AXDatepickerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXDatepickerModule, providers: [], imports: [[...MODULES$
|
|
3219
|
+
AXDatepickerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXDatepickerModule, providers: [], imports: [[...MODULES$e]] });
|
|
2954
3220
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXDatepickerModule, decorators: [{
|
|
2955
3221
|
type: NgModule,
|
|
2956
3222
|
args: [{
|
|
2957
|
-
declarations: [...COMPONENT$
|
|
2958
|
-
imports: [...MODULES$
|
|
2959
|
-
exports: [...COMPONENT$
|
|
3223
|
+
declarations: [...COMPONENT$e],
|
|
3224
|
+
imports: [...MODULES$e],
|
|
3225
|
+
exports: [...COMPONENT$e],
|
|
2960
3226
|
providers: [],
|
|
2961
3227
|
}]
|
|
2962
3228
|
}] });
|
|
@@ -2988,7 +3254,7 @@ class AXDialogComponent extends AXBaseComponentMixin {
|
|
|
2988
3254
|
}
|
|
2989
3255
|
}
|
|
2990
3256
|
AXDialogComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXDialogComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
2991
|
-
AXDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: AXDialogComponent, selector: "ax-dialog", usesInheritance: true, ngImport: i0, template: "<div class=\"ax-popup-wrapper\" aria-modal=\"true\" cdkTrapFocus>\r\n <div class=\"ax-dialog ax-{{options.type}}\" tabindex=\"0\" cdkDrag role=\"alert\" cdkDragHandle>\r\n <div class=\"ax-dialog-icon-side\">\r\n <i class=\"ax-dialog-icon {{_icon}}\"></i>\r\n </div>\r\n <div class=\"ax-dialog-content-side\">\r\n <div class=\"ax-dialog-title\">{{options.title}}</div>\r\n <div class=\"ax-dialog-content\">{{options.content}}</div>\r\n </div>\r\n <div class=\"ax-dialog-dismiss-icon\">\r\n <i class=\"ax-ic ax-ic-close\" *ngIf=\"options.dismissible\" (click)=\"close()\"></i>\r\n </div>\r\n\r\n <footer class=\"ax-dialog-footer\">\r\n <ng-container *ngFor=\"let button of options.buttons\">\r\n <ax-button [text]=\"button.text\" [submitBehavior]=\"button.submitBehavior\" [cancelBehavior]=\"button.cancelBehavior\" (onClick)=\"_handleButtonClick(button)\" [class]=\"button.cssClass\" [look]=\"button.look\" [color]=\"button.color\"></ax-button>\r\n <div class=\"ax-ml-2\"></div>\r\n </ng-container>\r\n </footer>\r\n </div>\r\n\r\n</div>", components: [{ type: AXButtonComponent, selector: "ax-button", inputs: ["disabled", "tabIndex", "size", "text", "submitBehavior", "cancelBehavior", "color", "look", "toggleable", "selected"], outputs: ["onBlur", "onFocus", "onClick", "selectedChange", "toggleableChange"] }], directives: [{ type: i2$1.CdkTrapFocus, selector: "[cdkTrapFocus]", inputs: ["cdkTrapFocus", "cdkTrapFocusAutoCapture"], exportAs: ["cdkTrapFocus"] }, { type: i3$1.CdkDrag, selector: "[cdkDrag]", inputs: ["cdkDragDisabled", "cdkDragStartDelay", "cdkDragLockAxis", "cdkDragConstrainPosition", "cdkDragPreviewClass", "cdkDragBoundary", "cdkDragRootElement", "cdkDragPreviewContainer", "cdkDragData", "cdkDragFreeDragPosition"], outputs: ["cdkDragStarted", "cdkDragReleased", "cdkDragEnded", "cdkDragEntered", "cdkDragExited", "cdkDragDropped", "cdkDragMoved"], exportAs: ["cdkDrag"] }, { type: i3$1.CdkDragHandle, selector: "[cdkDragHandle]", inputs: ["cdkDragHandleDisabled"] }, { type:
|
|
3257
|
+
AXDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: AXDialogComponent, selector: "ax-dialog", usesInheritance: true, ngImport: i0, template: "<div class=\"ax-popup-wrapper\" aria-modal=\"true\" cdkTrapFocus>\r\n <div class=\"ax-dialog ax-{{options.type}}\" tabindex=\"0\" cdkDrag role=\"alert\" cdkDragHandle>\r\n <div class=\"ax-dialog-icon-side\">\r\n <i class=\"ax-dialog-icon {{_icon}}\"></i>\r\n </div>\r\n <div class=\"ax-dialog-content-side\">\r\n <div class=\"ax-dialog-title\">{{options.title}}</div>\r\n <div class=\"ax-dialog-content\">{{options.content}}</div>\r\n </div>\r\n <div class=\"ax-dialog-dismiss-icon\">\r\n <i class=\"ax-ic ax-ic-close\" *ngIf=\"options.dismissible\" (click)=\"close()\"></i>\r\n </div>\r\n\r\n <footer class=\"ax-dialog-footer\">\r\n <ng-container *ngFor=\"let button of options.buttons\">\r\n <ax-button [text]=\"button.text\" [submitBehavior]=\"button.submitBehavior\" [cancelBehavior]=\"button.cancelBehavior\" (onClick)=\"_handleButtonClick(button)\" [class]=\"button.cssClass\" [look]=\"button.look\" [color]=\"button.color\"></ax-button>\r\n <div class=\"ax-ml-2\"></div>\r\n </ng-container>\r\n </footer>\r\n </div>\r\n\r\n</div>", components: [{ type: AXButtonComponent, selector: "ax-button", inputs: ["disabled", "tabIndex", "size", "text", "submitBehavior", "cancelBehavior", "color", "look", "toggleable", "selected"], outputs: ["onBlur", "onFocus", "onClick", "selectedChange", "toggleableChange"] }], directives: [{ type: i2$1.CdkTrapFocus, selector: "[cdkTrapFocus]", inputs: ["cdkTrapFocus", "cdkTrapFocusAutoCapture"], exportAs: ["cdkTrapFocus"] }, { type: i3$1.CdkDrag, selector: "[cdkDrag]", inputs: ["cdkDragDisabled", "cdkDragStartDelay", "cdkDragLockAxis", "cdkDragConstrainPosition", "cdkDragPreviewClass", "cdkDragBoundary", "cdkDragRootElement", "cdkDragPreviewContainer", "cdkDragData", "cdkDragFreeDragPosition"], outputs: ["cdkDragStarted", "cdkDragReleased", "cdkDragEnded", "cdkDragEntered", "cdkDragExited", "cdkDragDropped", "cdkDragMoved"], exportAs: ["cdkDrag"] }, { type: i3$1.CdkDragHandle, selector: "[cdkDragHandle]", inputs: ["cdkDragHandleDisabled"] }, { type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
2992
3258
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXDialogComponent, decorators: [{
|
|
2993
3259
|
type: Component,
|
|
2994
3260
|
args: [{
|
|
@@ -3132,12 +3398,12 @@ class AXDialogService {
|
|
|
3132
3398
|
};
|
|
3133
3399
|
}
|
|
3134
3400
|
}
|
|
3135
|
-
AXDialogService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXDialogService, deps: [{ token: i1
|
|
3401
|
+
AXDialogService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXDialogService, deps: [{ token: i1.Overlay }, { token: i0.Injector }, { token: i1.ScrollStrategyOptions }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3136
3402
|
AXDialogService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXDialogService, providedIn: 'root' });
|
|
3137
3403
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXDialogService, decorators: [{
|
|
3138
3404
|
type: Injectable,
|
|
3139
3405
|
args: [{ providedIn: 'root' }]
|
|
3140
|
-
}], ctorParameters: function () { return [{ type: i1
|
|
3406
|
+
}], ctorParameters: function () { return [{ type: i1.Overlay }, { type: i0.Injector }, { type: i1.ScrollStrategyOptions }]; } });
|
|
3141
3407
|
|
|
3142
3408
|
class AXLoadingComponent extends AXBaseComponentMixin {
|
|
3143
3409
|
/**
|
|
@@ -3167,7 +3433,7 @@ class AXLoadingComponent extends AXBaseComponentMixin {
|
|
|
3167
3433
|
AXLoadingComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXLoadingComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
3168
3434
|
AXLoadingComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: AXLoadingComponent, selector: "ax-loading", inputs: { visible: "visible", type: "type" }, outputs: { visibleChange: "visibleChange" }, host: { classAttribute: "ax-loading" }, usesInheritance: true, ngImport: i0, template: `
|
|
3169
3435
|
<ng-template [cdkPortalOutlet]="_selectedPortal" ></ng-template>
|
|
3170
|
-
`, isInline: true, directives: [{ type: i1$
|
|
3436
|
+
`, isInline: true, directives: [{ type: i1$1.CdkPortalOutlet, selector: "[cdkPortalOutlet]", inputs: ["cdkPortalOutlet"], outputs: ["attached"], exportAs: ["cdkPortalOutlet"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
3171
3437
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXLoadingComponent, decorators: [{
|
|
3172
3438
|
type: Component,
|
|
3173
3439
|
args: [{
|
|
@@ -3281,8 +3547,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImpor
|
|
|
3281
3547
|
args: ['axIsLoading']
|
|
3282
3548
|
}] } });
|
|
3283
3549
|
|
|
3284
|
-
const COMPONENT$
|
|
3285
|
-
const MODULES$
|
|
3550
|
+
const COMPONENT$d = [AXLoadingComponent, AXLoadingDirective, AXLoadingSpinnerComponent];
|
|
3551
|
+
const MODULES$d = [CommonModule, OverlayModule, PortalModule];
|
|
3286
3552
|
class AXLoadingModule {
|
|
3287
3553
|
constructor() {
|
|
3288
3554
|
AXConfig.set({
|
|
@@ -3296,13 +3562,13 @@ class AXLoadingModule {
|
|
|
3296
3562
|
}
|
|
3297
3563
|
AXLoadingModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXLoadingModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
3298
3564
|
AXLoadingModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXLoadingModule, declarations: [AXLoadingComponent, AXLoadingDirective, AXLoadingSpinnerComponent], imports: [CommonModule, OverlayModule, PortalModule], exports: [AXLoadingComponent, AXLoadingDirective, AXLoadingSpinnerComponent] });
|
|
3299
|
-
AXLoadingModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXLoadingModule, providers: [], imports: [[...MODULES$
|
|
3565
|
+
AXLoadingModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXLoadingModule, providers: [], imports: [[...MODULES$d]] });
|
|
3300
3566
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXLoadingModule, decorators: [{
|
|
3301
3567
|
type: NgModule,
|
|
3302
3568
|
args: [{
|
|
3303
|
-
declarations: [...COMPONENT$
|
|
3304
|
-
imports: [...MODULES$
|
|
3305
|
-
exports: [...COMPONENT$
|
|
3569
|
+
declarations: [...COMPONENT$d],
|
|
3570
|
+
imports: [...MODULES$d],
|
|
3571
|
+
exports: [...COMPONENT$d],
|
|
3306
3572
|
providers: [],
|
|
3307
3573
|
}]
|
|
3308
3574
|
}], ctorParameters: function () { return []; } });
|
|
@@ -3335,17 +3601,17 @@ class DynamicOverlay extends Overlay {
|
|
|
3335
3601
|
return super.create(config);
|
|
3336
3602
|
}
|
|
3337
3603
|
}
|
|
3338
|
-
DynamicOverlay.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: DynamicOverlay, deps: [{ token: i1
|
|
3604
|
+
DynamicOverlay.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: DynamicOverlay, deps: [{ token: i1.ScrollStrategyOptions }, { token: DynamicOverlayContainer }, { token: i0.ComponentFactoryResolver }, { token: i1.OverlayPositionBuilder }, { token: i1.OverlayKeyboardDispatcher }, { token: i0.Injector }, { token: i0.NgZone }, { token: DOCUMENT }, { token: i2$2.Directionality }, { token: i0.RendererFactory2 }, { token: i4.Location }, { token: i1.OverlayOutsideClickDispatcher }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3339
3605
|
DynamicOverlay.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: DynamicOverlay, providedIn: 'root' });
|
|
3340
3606
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: DynamicOverlay, decorators: [{
|
|
3341
3607
|
type: Injectable,
|
|
3342
3608
|
args: [{
|
|
3343
3609
|
providedIn: 'root'
|
|
3344
3610
|
}]
|
|
3345
|
-
}], ctorParameters: function () { return [{ type: i1
|
|
3611
|
+
}], ctorParameters: function () { return [{ type: i1.ScrollStrategyOptions }, { type: DynamicOverlayContainer }, { type: i0.ComponentFactoryResolver }, { type: i1.OverlayPositionBuilder }, { type: i1.OverlayKeyboardDispatcher }, { type: i0.Injector }, { type: i0.NgZone }, { type: undefined, decorators: [{
|
|
3346
3612
|
type: Inject,
|
|
3347
3613
|
args: [DOCUMENT]
|
|
3348
|
-
}] }, { type: i2$2.Directionality }, { type: i0.RendererFactory2 }, { type:
|
|
3614
|
+
}] }, { type: i2$2.Directionality }, { type: i0.RendererFactory2 }, { type: i4.Location }, { type: i1.OverlayOutsideClickDispatcher }]; } });
|
|
3349
3615
|
|
|
3350
3616
|
class AXOverlayService {
|
|
3351
3617
|
constructor(overlayService, overlayService2, appRef) {
|
|
@@ -3425,12 +3691,12 @@ class AXOverlayService {
|
|
|
3425
3691
|
};
|
|
3426
3692
|
}
|
|
3427
3693
|
}
|
|
3428
|
-
AXOverlayService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXOverlayService, deps: [{ token: DynamicOverlay }, { token: i1
|
|
3694
|
+
AXOverlayService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXOverlayService, deps: [{ token: DynamicOverlay }, { token: i1.Overlay }, { token: i0.ApplicationRef }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3429
3695
|
AXOverlayService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXOverlayService, providedIn: 'root' });
|
|
3430
3696
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXOverlayService, decorators: [{
|
|
3431
3697
|
type: Injectable,
|
|
3432
3698
|
args: [{ providedIn: 'root' }]
|
|
3433
|
-
}], ctorParameters: function () { return [{ type: DynamicOverlay }, { type: i1
|
|
3699
|
+
}], ctorParameters: function () { return [{ type: DynamicOverlay }, { type: i1.Overlay }, { type: i0.ApplicationRef }]; } });
|
|
3434
3700
|
|
|
3435
3701
|
const DEFAULT_LOADER_ID = '_DEFAULT';
|
|
3436
3702
|
/**
|
|
@@ -3716,19 +3982,19 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImpor
|
|
|
3716
3982
|
}]
|
|
3717
3983
|
}] });
|
|
3718
3984
|
|
|
3719
|
-
const COMPONENT$
|
|
3720
|
-
const MODULES$
|
|
3985
|
+
const COMPONENT$c = [AXDialogComponent];
|
|
3986
|
+
const MODULES$c = [CommonModule, DragDropModule, A11yModule, AXButtonModule, AXPageModule, AXEditorDecoratorModule];
|
|
3721
3987
|
class AXDialogModule {
|
|
3722
3988
|
}
|
|
3723
3989
|
AXDialogModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXDialogModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
3724
3990
|
AXDialogModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXDialogModule, declarations: [AXDialogComponent], imports: [CommonModule, DragDropModule, A11yModule, AXButtonModule, AXPageModule, AXEditorDecoratorModule], exports: [AXDialogComponent] });
|
|
3725
|
-
AXDialogModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXDialogModule, providers: [], imports: [[...MODULES$
|
|
3991
|
+
AXDialogModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXDialogModule, providers: [], imports: [[...MODULES$c]] });
|
|
3726
3992
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXDialogModule, decorators: [{
|
|
3727
3993
|
type: NgModule,
|
|
3728
3994
|
args: [{
|
|
3729
|
-
declarations: [...COMPONENT$
|
|
3730
|
-
imports: [...MODULES$
|
|
3731
|
-
exports: [...COMPONENT$
|
|
3995
|
+
declarations: [...COMPONENT$c],
|
|
3996
|
+
imports: [...MODULES$c],
|
|
3997
|
+
exports: [...COMPONENT$c],
|
|
3732
3998
|
providers: [],
|
|
3733
3999
|
}]
|
|
3734
4000
|
}] });
|
|
@@ -3968,19 +4234,19 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImpor
|
|
|
3968
4234
|
}]
|
|
3969
4235
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; } });
|
|
3970
4236
|
|
|
3971
|
-
const COMPONENT$
|
|
3972
|
-
const MODULES$
|
|
4237
|
+
const COMPONENT$b = [AXDrawerComponent, AXDrawerContainerComponent, AXDrawerContentComponent];
|
|
4238
|
+
const MODULES$b = [CommonModule];
|
|
3973
4239
|
class AXDrawerModule {
|
|
3974
4240
|
}
|
|
3975
4241
|
AXDrawerModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXDrawerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
3976
4242
|
AXDrawerModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXDrawerModule, declarations: [AXDrawerComponent, AXDrawerContainerComponent, AXDrawerContentComponent], imports: [CommonModule], exports: [AXDrawerComponent, AXDrawerContainerComponent, AXDrawerContentComponent] });
|
|
3977
|
-
AXDrawerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXDrawerModule, providers: [], imports: [[...MODULES$
|
|
4243
|
+
AXDrawerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXDrawerModule, providers: [], imports: [[...MODULES$b]] });
|
|
3978
4244
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXDrawerModule, decorators: [{
|
|
3979
4245
|
type: NgModule,
|
|
3980
4246
|
args: [{
|
|
3981
|
-
declarations: [...COMPONENT$
|
|
3982
|
-
imports: [...MODULES$
|
|
3983
|
-
exports: [...COMPONENT$
|
|
4247
|
+
declarations: [...COMPONENT$b],
|
|
4248
|
+
imports: [...MODULES$b],
|
|
4249
|
+
exports: [...COMPONENT$b],
|
|
3984
4250
|
providers: [],
|
|
3985
4251
|
}]
|
|
3986
4252
|
}] });
|
|
@@ -4122,19 +4388,19 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImpor
|
|
|
4122
4388
|
type: Input
|
|
4123
4389
|
}] } });
|
|
4124
4390
|
|
|
4125
|
-
const COMPONENT$
|
|
4126
|
-
const MODULES$
|
|
4391
|
+
const COMPONENT$a = [AXInputMaskComponent];
|
|
4392
|
+
const MODULES$a = [CommonModule, NgxMaskModule.forRoot()];
|
|
4127
4393
|
class AXInputMaskModule {
|
|
4128
4394
|
}
|
|
4129
4395
|
AXInputMaskModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXInputMaskModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
4130
|
-
AXInputMaskModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXInputMaskModule, declarations: [AXInputMaskComponent], imports: [CommonModule, i1$
|
|
4131
|
-
AXInputMaskModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXInputMaskModule, providers: [], imports: [[...MODULES$
|
|
4396
|
+
AXInputMaskModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXInputMaskModule, declarations: [AXInputMaskComponent], imports: [CommonModule, i1$2.NgxMaskModule], exports: [AXInputMaskComponent] });
|
|
4397
|
+
AXInputMaskModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXInputMaskModule, providers: [], imports: [[...MODULES$a]] });
|
|
4132
4398
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXInputMaskModule, decorators: [{
|
|
4133
4399
|
type: NgModule,
|
|
4134
4400
|
args: [{
|
|
4135
|
-
declarations: [...COMPONENT$
|
|
4136
|
-
imports: [...MODULES$
|
|
4137
|
-
exports: [...COMPONENT$
|
|
4401
|
+
declarations: [...COMPONENT$a],
|
|
4402
|
+
imports: [...MODULES$a],
|
|
4403
|
+
exports: [...COMPONENT$a],
|
|
4138
4404
|
providers: [],
|
|
4139
4405
|
}]
|
|
4140
4406
|
}] });
|
|
@@ -4156,19 +4422,19 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImpor
|
|
|
4156
4422
|
}]
|
|
4157
4423
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; } });
|
|
4158
4424
|
|
|
4159
|
-
const COMPONENT$
|
|
4160
|
-
const MODULES$
|
|
4425
|
+
const COMPONENT$9 = [AXLabelComponent];
|
|
4426
|
+
const MODULES$9 = [CommonModule];
|
|
4161
4427
|
class AXLabelModule {
|
|
4162
4428
|
}
|
|
4163
4429
|
AXLabelModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXLabelModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
4164
4430
|
AXLabelModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXLabelModule, declarations: [AXLabelComponent], imports: [CommonModule], exports: [AXLabelComponent] });
|
|
4165
|
-
AXLabelModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXLabelModule, providers: [], imports: [[...MODULES$
|
|
4431
|
+
AXLabelModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXLabelModule, providers: [], imports: [[...MODULES$9]] });
|
|
4166
4432
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXLabelModule, decorators: [{
|
|
4167
4433
|
type: NgModule,
|
|
4168
4434
|
args: [{
|
|
4169
|
-
declarations: [...COMPONENT$
|
|
4170
|
-
imports: [...MODULES$
|
|
4171
|
-
exports: [...COMPONENT$
|
|
4435
|
+
declarations: [...COMPONENT$9],
|
|
4436
|
+
imports: [...MODULES$9],
|
|
4437
|
+
exports: [...COMPONENT$9],
|
|
4172
4438
|
providers: [],
|
|
4173
4439
|
}]
|
|
4174
4440
|
}] });
|
|
@@ -4403,8 +4669,8 @@ class AXNumberBoxComponent extends AXBaseTextBoxMixin {
|
|
|
4403
4669
|
this._emitOnFocusEvent(e);
|
|
4404
4670
|
}
|
|
4405
4671
|
}
|
|
4406
|
-
AXNumberBoxComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXNumberBoxComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: i1$
|
|
4407
|
-
AXNumberBoxComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: AXNumberBoxComponent, selector: "ax-number-box", inputs: { disabled: "disabled", readonly: "readonly", tabIndex: "tabIndex", size: "size", value: "value", placeholder: "placeholder", maxLength: "maxLength", allowNull: "allowNull", debounceTime: "debounceTime", name: "name", separator: "separator", thousandSeparator: "thousandSeparator", step: "step", scale: "scale", decimalStep: "decimalStep", showSpinButtons: "showSpinButtons", minValue: "minValue", maxValue: "maxValue", displayText: "displayText" }, outputs: { valueChange: "valueChange", onValueChanged: "onValueChanged", onBlur: "onBlur", onFocus: "onFocus", displayTextChange: "displayTextChange" }, host: { properties: { "class": "this.__hostClass" }, classAttribute: "ax-number-box ax-editor-container" }, usesInheritance: true, ngImport: i0, template: "<ng-content select=\"ax-prefix\">\r\n</ng-content>\r\n<input class=\"ax-input\" type=\"text\" [attr.pattern]=\"'[\\d\\.]*'\" [attr.placeholder]=\"placeholder\" [attr.min]=\"minValue\"\r\n [attr.max]=\"maxValue\" [class.ax-state-disabled]=\"disabled\" [class.ax-state-readonly]=\"readonly\"\r\n [disabled]=\"disabled\" [readonly]=\"readonly\" [tabindex]=\"tabIndex\" [ngModel]=\"displayText\"\r\n (focus)=\"_emitOnFocusEvent($event)\" (blur)=\"_handleOnBlurEvent($event)\" (keydown)=\"_handleOnKeydownEvent($event)\"\r\n autocomplete=\"off\">\r\n<ax-button color=\"light\" look=\"blank\" (onClick)=\"clear()\" [tabIndex]=\"-1\"\r\n *ngIf=\"value && allowNull && !(disabled || readonly)\">\r\n <i class=\"ax-icon-x icon\"></i>\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>", components: [{ type: AXButtonComponent, selector: "ax-button", inputs: ["disabled", "tabIndex", "size", "text", "submitBehavior", "cancelBehavior", "color", "look", "toggleable", "selected"], outputs: ["onBlur", "onFocus", "onClick", "selectedChange", "toggleableChange"] }], directives: [{ type: i3.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: i3.PatternValidator, selector: "[pattern][formControlName],[pattern][formControl],[pattern][ngModel]", inputs: ["pattern"] }, { type: i3.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i3.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { type:
|
|
4672
|
+
AXNumberBoxComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXNumberBoxComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: i1$2.MaskApplierService }], target: i0.ɵɵFactoryTarget.Component });
|
|
4673
|
+
AXNumberBoxComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: AXNumberBoxComponent, selector: "ax-number-box", inputs: { disabled: "disabled", readonly: "readonly", tabIndex: "tabIndex", size: "size", value: "value", placeholder: "placeholder", maxLength: "maxLength", allowNull: "allowNull", debounceTime: "debounceTime", name: "name", separator: "separator", thousandSeparator: "thousandSeparator", step: "step", scale: "scale", decimalStep: "decimalStep", showSpinButtons: "showSpinButtons", minValue: "minValue", maxValue: "maxValue", displayText: "displayText" }, outputs: { valueChange: "valueChange", onValueChanged: "onValueChanged", onBlur: "onBlur", onFocus: "onFocus", displayTextChange: "displayTextChange" }, host: { properties: { "class": "this.__hostClass" }, classAttribute: "ax-number-box ax-editor-container" }, usesInheritance: true, ngImport: i0, template: "<ng-content select=\"ax-prefix\">\r\n</ng-content>\r\n<input class=\"ax-input\" type=\"text\" [attr.pattern]=\"'[\\d\\.]*'\" [attr.placeholder]=\"placeholder\" [attr.min]=\"minValue\"\r\n [attr.max]=\"maxValue\" [class.ax-state-disabled]=\"disabled\" [class.ax-state-readonly]=\"readonly\"\r\n [disabled]=\"disabled\" [readonly]=\"readonly\" [tabindex]=\"tabIndex\" [ngModel]=\"displayText\"\r\n (focus)=\"_emitOnFocusEvent($event)\" (blur)=\"_handleOnBlurEvent($event)\" (keydown)=\"_handleOnKeydownEvent($event)\"\r\n autocomplete=\"off\">\r\n<ax-button color=\"light\" look=\"blank\" (onClick)=\"clear()\" [tabIndex]=\"-1\"\r\n *ngIf=\"value && allowNull && !(disabled || readonly)\">\r\n <i class=\"ax-icon-x icon\"></i>\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>", components: [{ type: AXButtonComponent, selector: "ax-button", inputs: ["disabled", "tabIndex", "size", "text", "submitBehavior", "cancelBehavior", "color", "look", "toggleable", "selected"], outputs: ["onBlur", "onFocus", "onClick", "selectedChange", "toggleableChange"] }], directives: [{ type: i3.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: i3.PatternValidator, selector: "[pattern][formControlName],[pattern][formControl],[pattern][ngModel]", inputs: ["pattern"] }, { type: i3.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i3.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
4408
4674
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXNumberBoxComponent, decorators: [{
|
|
4409
4675
|
type: Component,
|
|
4410
4676
|
args: [{
|
|
@@ -4429,7 +4695,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImpor
|
|
|
4429
4695
|
encapsulation: ViewEncapsulation.None,
|
|
4430
4696
|
host: { class: 'ax-number-box ax-editor-container' },
|
|
4431
4697
|
}]
|
|
4432
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: i1$
|
|
4698
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: i1$2.MaskApplierService }]; }, propDecorators: { __hostClass: [{
|
|
4433
4699
|
type: HostBinding,
|
|
4434
4700
|
args: ['class']
|
|
4435
4701
|
}], separator: [{
|
|
@@ -4454,8 +4720,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImpor
|
|
|
4454
4720
|
type: Input
|
|
4455
4721
|
}] } });
|
|
4456
4722
|
|
|
4457
|
-
const COMPONENT$
|
|
4458
|
-
const MODULES$
|
|
4723
|
+
const COMPONENT$8 = [AXNumberBoxComponent];
|
|
4724
|
+
const MODULES$8 = [
|
|
4459
4725
|
CommonModule,
|
|
4460
4726
|
FormsModule,
|
|
4461
4727
|
AXButtonModule,
|
|
@@ -4466,50 +4732,106 @@ class AXNumberBoxModule {
|
|
|
4466
4732
|
AXNumberBoxModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXNumberBoxModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
4467
4733
|
AXNumberBoxModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXNumberBoxModule, declarations: [AXNumberBoxComponent], imports: [CommonModule,
|
|
4468
4734
|
FormsModule,
|
|
4469
|
-
AXButtonModule, i1$
|
|
4470
|
-
AXNumberBoxModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXNumberBoxModule, providers: [], imports: [[...MODULES$
|
|
4735
|
+
AXButtonModule, i1$2.NgxMaskModule], exports: [AXNumberBoxComponent] });
|
|
4736
|
+
AXNumberBoxModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXNumberBoxModule, providers: [], imports: [[...MODULES$8]] });
|
|
4471
4737
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXNumberBoxModule, decorators: [{
|
|
4472
4738
|
type: NgModule,
|
|
4473
4739
|
args: [{
|
|
4474
|
-
declarations: [...COMPONENT$
|
|
4475
|
-
imports: [...MODULES$
|
|
4476
|
-
exports: [...COMPONENT$
|
|
4740
|
+
declarations: [...COMPONENT$8],
|
|
4741
|
+
imports: [...MODULES$8],
|
|
4742
|
+
exports: [...COMPONENT$8],
|
|
4477
4743
|
providers: [],
|
|
4478
4744
|
}]
|
|
4479
4745
|
}] });
|
|
4480
4746
|
|
|
4481
|
-
|
|
4747
|
+
/**
|
|
4748
|
+
* The Textbox is a component which detects user interaction and triggers a corresponding event
|
|
4749
|
+
*
|
|
4750
|
+
* @category Components
|
|
4751
|
+
*/
|
|
4752
|
+
class AXPasswordBoxComponent extends AXBaseTextBoxMixin {
|
|
4753
|
+
/**
|
|
4754
|
+
* @ignore
|
|
4755
|
+
*/
|
|
4482
4756
|
constructor(elementRef, cdr) {
|
|
4483
4757
|
super(elementRef, cdr);
|
|
4484
|
-
|
|
4758
|
+
this._type = 'password';
|
|
4759
|
+
this._icon = 'ax-ic-eye';
|
|
4760
|
+
/**
|
|
4761
|
+
* A flag for showing or hiding password button.
|
|
4762
|
+
*/
|
|
4763
|
+
this.showToggleButton = true;
|
|
4764
|
+
}
|
|
4765
|
+
get hostClass() {
|
|
4766
|
+
return `${this.cssClass} ax-${this.size}`;
|
|
4767
|
+
}
|
|
4768
|
+
toggleType() {
|
|
4769
|
+
if (this._type === 'password') {
|
|
4770
|
+
this._type = 'text';
|
|
4771
|
+
this._icon = 'ax-ic-eye-off';
|
|
4772
|
+
}
|
|
4773
|
+
else {
|
|
4774
|
+
this._type = 'password';
|
|
4775
|
+
this._icon = 'ax-ic-eye';
|
|
4776
|
+
}
|
|
4485
4777
|
}
|
|
4486
4778
|
}
|
|
4487
|
-
|
|
4488
|
-
|
|
4489
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type:
|
|
4779
|
+
AXPasswordBoxComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXPasswordBoxComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
4780
|
+
AXPasswordBoxComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: AXPasswordBoxComponent, selector: "ax-password-box", inputs: { disabled: "disabled", readonly: "readonly", tabIndex: "tabIndex", cssClass: "cssClass", size: "size", placeholder: "placeholder", maxLength: "maxLength", allowNull: "allowNull", debounceTime: "debounceTime", value: "value", name: "name", showToggleButton: "showToggleButton" }, outputs: { valueChange: "valueChange", onValueChanged: "onValueChanged", onBlur: "onBlur", onFocus: "onFocus" }, host: { properties: { "class": "this.hostClass" }, classAttribute: "ax-password-box ax-editor-container" }, usesInheritance: true, ngImport: i0, template: "<ng-content select=\"ax-prefix\">\r\n</ng-content>\r\n<input class=\"ax-input\" [attr.name]=\"name\" [type]=\"_type\" [attr.placeholder]=\"placeholder\" [attr.maxlength]=\"maxLength\" [class.ax-state-disabled]=\"disabled\" [class.ax-state-readonly]=\"readonly\" [disabled]=\"disabled\" [readonly]=\"readonly\" [tabindex]=\"tabIndex\"\r\n [(ngModel)]=\"value\" (focus)=\"_emitOnFocusEvent($event)\" (blur)=\"_emitOnBlurEvent($event)\" [attr.autocomplete]=\"autoComplete ? 'on': 'off'\">\r\n<ax-button color=\"light\" look=\"blank\" [size]=\"size\" (onClick)=\"clear()\" [tabIndex]=\"-1\" *ngIf=\"value && allowNull && !(disabled || readonly)\">\r\n <ax-prefix>\r\n <ax-icon icon=\"ax-ic ax-ic-close\"></ax-icon>\r\n </ax-prefix>\r\n</ax-button>\r\n<ng-content select=\"ax-suffix\">\r\n\r\n</ng-content>\r\n<ng-content select=\"ax-validation-rule\">\r\n</ng-content>\r\n<ng-content select=\"ax-input-mask\">\r\n</ng-content>\r\n<ax-button color=\"light\" look=\"blank\" [size]=\"size\" (onClick)=\"toggleType()\" [tabIndex]=\"-1\" *ngIf=\"showToggleButton\">\r\n <ax-icon [icon]=\"_icon\"></ax-icon>\r\n</ax-button>", components: [{ type: AXButtonComponent, selector: "ax-button", inputs: ["disabled", "tabIndex", "size", "text", "submitBehavior", "cancelBehavior", "color", "look", "toggleable", "selected"], outputs: ["onBlur", "onFocus", "onClick", "selectedChange", "toggleableChange"] }, { type: AXDecoratorPrefixComponent, selector: "ax-prefix" }, { type: AXIconComponent, selector: "ax-icon", inputs: ["icon"] }], directives: [{ type: i3.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: i3.MaxLengthValidator, selector: "[maxlength][formControlName],[maxlength][formControl],[maxlength][ngModel]", inputs: ["maxlength"] }, { type: i3.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i3.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
4781
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXPasswordBoxComponent, decorators: [{
|
|
4490
4782
|
type: Component,
|
|
4491
4783
|
args: [{
|
|
4492
|
-
selector: 'ax-
|
|
4493
|
-
templateUrl: '
|
|
4494
|
-
|
|
4784
|
+
selector: 'ax-password-box',
|
|
4785
|
+
templateUrl: 'password-box.component.html',
|
|
4786
|
+
inputs: [
|
|
4787
|
+
'disabled',
|
|
4788
|
+
'readonly',
|
|
4789
|
+
'tabIndex',
|
|
4790
|
+
'cssClass',
|
|
4791
|
+
'size',
|
|
4792
|
+
...TEXTBOX_INPUTS,
|
|
4793
|
+
],
|
|
4794
|
+
outputs: [
|
|
4795
|
+
'valueChange',
|
|
4796
|
+
'onValueChanged',
|
|
4797
|
+
'onBlur',
|
|
4798
|
+
'onFocus',
|
|
4799
|
+
...TEXTBOX_OUTPUT,
|
|
4800
|
+
],
|
|
4495
4801
|
encapsulation: ViewEncapsulation.None,
|
|
4496
|
-
|
|
4802
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
4803
|
+
host: { class: 'ax-password-box ax-editor-container' },
|
|
4497
4804
|
}]
|
|
4498
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }
|
|
4805
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { hostClass: [{
|
|
4806
|
+
type: HostBinding,
|
|
4807
|
+
args: ['class']
|
|
4808
|
+
}], showToggleButton: [{
|
|
4809
|
+
type: Input
|
|
4810
|
+
}] } });
|
|
4499
4811
|
|
|
4500
|
-
const COMPONENT$
|
|
4501
|
-
const MODULES$
|
|
4502
|
-
|
|
4812
|
+
const COMPONENT$7 = [AXPasswordBoxComponent];
|
|
4813
|
+
const MODULES$7 = [
|
|
4814
|
+
CommonModule,
|
|
4815
|
+
FormsModule,
|
|
4816
|
+
AXButtonModule,
|
|
4817
|
+
AXEditorDecoratorModule,
|
|
4818
|
+
AXIconModule
|
|
4819
|
+
];
|
|
4820
|
+
class AXPasswordBoxModule {
|
|
4503
4821
|
}
|
|
4504
|
-
|
|
4505
|
-
|
|
4506
|
-
|
|
4507
|
-
|
|
4822
|
+
AXPasswordBoxModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXPasswordBoxModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
4823
|
+
AXPasswordBoxModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXPasswordBoxModule, declarations: [AXPasswordBoxComponent], imports: [CommonModule,
|
|
4824
|
+
FormsModule,
|
|
4825
|
+
AXButtonModule,
|
|
4826
|
+
AXEditorDecoratorModule,
|
|
4827
|
+
AXIconModule], exports: [AXPasswordBoxComponent] });
|
|
4828
|
+
AXPasswordBoxModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXPasswordBoxModule, providers: [], imports: [[...MODULES$7]] });
|
|
4829
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXPasswordBoxModule, decorators: [{
|
|
4508
4830
|
type: NgModule,
|
|
4509
4831
|
args: [{
|
|
4510
|
-
declarations: [...COMPONENT$
|
|
4511
|
-
imports: [...MODULES$
|
|
4512
|
-
exports: [...COMPONENT$
|
|
4832
|
+
declarations: [...COMPONENT$7],
|
|
4833
|
+
imports: [...MODULES$7],
|
|
4834
|
+
exports: [...COMPONENT$7],
|
|
4513
4835
|
providers: [],
|
|
4514
4836
|
}]
|
|
4515
4837
|
}] });
|
|
@@ -4587,7 +4909,7 @@ class AXPopupComponent extends AXBaseComponentMixin {
|
|
|
4587
4909
|
onFullScreen() { }
|
|
4588
4910
|
}
|
|
4589
4911
|
AXPopupComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXPopupComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: i0.ViewContainerRef }, { token: AXLoadingService }], target: i0.ɵɵFactoryTarget.Component });
|
|
4590
|
-
AXPopupComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: AXPopupComponent, selector: "ax-popup", host: { listeners: { "keydown.escape": "onKeydownHandler($event)" } }, usesInheritance: true, ngImport: i0, template: "<div class=\"ax-popup-wrapper\" aria-modal=\"true\" cdkTrapFocus>\r\n <div class=\"ax-popup ax-{{size}}\" tabindex=\"0\" cdkDrag>\r\n <ng-container *ngIf=\"showHeader\">\r\n <header cdkDragHandle class=\"ax-cursor-move\">\r\n <div>\r\n <div class=\"ax-text-lg ax-font-medium\">\r\n <span>\r\n {{title}}\r\n </span>\r\n </div>\r\n </div>\r\n <div *ngIf=\"showCloseButton\">\r\n <i class=\"ax-ic ax-ic-close ax-text-gray ax-cursor-pointer\" (click)=\"_handleCloseClick()\"\r\n tabindex=\"1\"></i>\r\n </div>\r\n </header>\r\n </ng-container>\r\n <main>\r\n <ng-template [cdkPortalOutlet]=\"_selectedPortal\" (attached)=\"_handleAttched($event)\"></ng-template>\r\n </main>\r\n <footer *ngIf=\"_footerPortal\">\r\n <ng-template [cdkPortalOutlet]=\"_footerPortal\"></ng-template>\r\n </footer>\r\n </div>\r\n</div>", directives: [{ type: i2$1.CdkTrapFocus, selector: "[cdkTrapFocus]", inputs: ["cdkTrapFocus", "cdkTrapFocusAutoCapture"], exportAs: ["cdkTrapFocus"] }, { type: i3$1.CdkDrag, selector: "[cdkDrag]", inputs: ["cdkDragDisabled", "cdkDragStartDelay", "cdkDragLockAxis", "cdkDragConstrainPosition", "cdkDragPreviewClass", "cdkDragBoundary", "cdkDragRootElement", "cdkDragPreviewContainer", "cdkDragData", "cdkDragFreeDragPosition"], outputs: ["cdkDragStarted", "cdkDragReleased", "cdkDragEnded", "cdkDragEntered", "cdkDragExited", "cdkDragDropped", "cdkDragMoved"], exportAs: ["cdkDrag"] }, { type:
|
|
4912
|
+
AXPopupComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: AXPopupComponent, selector: "ax-popup", host: { listeners: { "keydown.escape": "onKeydownHandler($event)" } }, usesInheritance: true, ngImport: i0, template: "<div class=\"ax-popup-wrapper\" aria-modal=\"true\" cdkTrapFocus>\r\n <div class=\"ax-popup ax-{{size}}\" tabindex=\"0\" cdkDrag>\r\n <ng-container *ngIf=\"showHeader\">\r\n <header cdkDragHandle class=\"ax-cursor-move\">\r\n <div>\r\n <div class=\"ax-text-lg ax-font-medium\">\r\n <span>\r\n {{title}}\r\n </span>\r\n </div>\r\n </div>\r\n <div *ngIf=\"showCloseButton\">\r\n <i class=\"ax-ic ax-ic-close ax-text-gray ax-cursor-pointer\" (click)=\"_handleCloseClick()\"\r\n tabindex=\"1\"></i>\r\n </div>\r\n </header>\r\n </ng-container>\r\n <main>\r\n <ng-template [cdkPortalOutlet]=\"_selectedPortal\" (attached)=\"_handleAttched($event)\"></ng-template>\r\n </main>\r\n <footer *ngIf=\"_footerPortal\">\r\n <ng-template [cdkPortalOutlet]=\"_footerPortal\"></ng-template>\r\n </footer>\r\n </div>\r\n</div>", directives: [{ type: i2$1.CdkTrapFocus, selector: "[cdkTrapFocus]", inputs: ["cdkTrapFocus", "cdkTrapFocusAutoCapture"], exportAs: ["cdkTrapFocus"] }, { type: i3$1.CdkDrag, selector: "[cdkDrag]", inputs: ["cdkDragDisabled", "cdkDragStartDelay", "cdkDragLockAxis", "cdkDragConstrainPosition", "cdkDragPreviewClass", "cdkDragBoundary", "cdkDragRootElement", "cdkDragPreviewContainer", "cdkDragData", "cdkDragFreeDragPosition"], outputs: ["cdkDragStarted", "cdkDragReleased", "cdkDragEnded", "cdkDragEntered", "cdkDragExited", "cdkDragDropped", "cdkDragMoved"], exportAs: ["cdkDrag"] }, { type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i3$1.CdkDragHandle, selector: "[cdkDragHandle]", inputs: ["cdkDragHandleDisabled"] }, { type: i1$1.CdkPortalOutlet, selector: "[cdkPortalOutlet]", inputs: ["cdkPortalOutlet"], outputs: ["attached"], exportAs: ["cdkPortalOutlet"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
4591
4913
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXPopupComponent, decorators: [{
|
|
4592
4914
|
type: Component,
|
|
4593
4915
|
args: [{
|
|
@@ -4690,20 +5012,56 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImpor
|
|
|
4690
5012
|
type: Injectable
|
|
4691
5013
|
}], ctorParameters: function () { return [{ type: AXOverlayService }]; } });
|
|
4692
5014
|
|
|
4693
|
-
const COMPONENT$
|
|
4694
|
-
const MODULES$
|
|
5015
|
+
const COMPONENT$6 = [AXPopupComponent];
|
|
5016
|
+
const MODULES$6 = [CommonModule, DragDropModule, A11yModule, AXButtonModule, PortalModule];
|
|
4695
5017
|
class AXPopupModule {
|
|
4696
5018
|
}
|
|
4697
5019
|
AXPopupModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXPopupModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
4698
5020
|
AXPopupModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXPopupModule, declarations: [AXPopupComponent], imports: [CommonModule, DragDropModule, A11yModule, AXButtonModule, PortalModule], exports: [AXPopupComponent] });
|
|
4699
|
-
AXPopupModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXPopupModule, providers: [AXPopupService], imports: [[...MODULES$
|
|
5021
|
+
AXPopupModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXPopupModule, providers: [AXPopupService], imports: [[...MODULES$6]] });
|
|
4700
5022
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXPopupModule, decorators: [{
|
|
5023
|
+
type: NgModule,
|
|
5024
|
+
args: [{
|
|
5025
|
+
declarations: [...COMPONENT$6],
|
|
5026
|
+
imports: [...MODULES$6],
|
|
5027
|
+
exports: [...COMPONENT$6],
|
|
5028
|
+
providers: [AXPopupService],
|
|
5029
|
+
}]
|
|
5030
|
+
}] });
|
|
5031
|
+
|
|
5032
|
+
class AXRangeSliderComponent extends AXBaseComponentMixin {
|
|
5033
|
+
constructor(elementRef, cdr) {
|
|
5034
|
+
super(elementRef, cdr);
|
|
5035
|
+
//TODO: ax-range-slider
|
|
5036
|
+
}
|
|
5037
|
+
}
|
|
5038
|
+
AXRangeSliderComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXRangeSliderComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
5039
|
+
AXRangeSliderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: AXRangeSliderComponent, selector: "ax-range-slider", host: { classAttribute: "ax-range-slider" }, usesInheritance: true, ngImport: i0, template: "<input type=\"range\" min=\"1\" max=\"100\" value=\"50\" class=\"ax-range-slider-input\">", changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
5040
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXRangeSliderComponent, decorators: [{
|
|
5041
|
+
type: Component,
|
|
5042
|
+
args: [{
|
|
5043
|
+
selector: 'ax-range-slider',
|
|
5044
|
+
templateUrl: './range-slider.component.html',
|
|
5045
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
5046
|
+
encapsulation: ViewEncapsulation.None,
|
|
5047
|
+
host: { class: 'ax-range-slider' }
|
|
5048
|
+
}]
|
|
5049
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; } });
|
|
5050
|
+
|
|
5051
|
+
const COMPONENT$5 = [AXRangeSliderComponent];
|
|
5052
|
+
const MODULES$5 = [CommonModule];
|
|
5053
|
+
class AXRangeSliderModule {
|
|
5054
|
+
}
|
|
5055
|
+
AXRangeSliderModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXRangeSliderModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
5056
|
+
AXRangeSliderModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXRangeSliderModule, declarations: [AXRangeSliderComponent], imports: [CommonModule], exports: [AXRangeSliderComponent] });
|
|
5057
|
+
AXRangeSliderModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXRangeSliderModule, providers: [], imports: [[...MODULES$5]] });
|
|
5058
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXRangeSliderModule, decorators: [{
|
|
4701
5059
|
type: NgModule,
|
|
4702
5060
|
args: [{
|
|
4703
5061
|
declarations: [...COMPONENT$5],
|
|
4704
5062
|
imports: [...MODULES$5],
|
|
4705
5063
|
exports: [...COMPONENT$5],
|
|
4706
|
-
providers: [
|
|
5064
|
+
providers: [],
|
|
4707
5065
|
}]
|
|
4708
5066
|
}] });
|
|
4709
5067
|
|
|
@@ -4756,6 +5114,10 @@ class AXSelectBoxComponent extends AXBaseSelectionDropdownMixin {
|
|
|
4756
5114
|
this.unselectItems(item);
|
|
4757
5115
|
e.stopPropagation();
|
|
4758
5116
|
}
|
|
5117
|
+
_handleBadgeRemove(e, item) {
|
|
5118
|
+
this.unselectItems(item);
|
|
5119
|
+
e.stopPropagation();
|
|
5120
|
+
}
|
|
4759
5121
|
_handleKeydown(e) {
|
|
4760
5122
|
if (!(this._getHostElement() == document.activeElement ||
|
|
4761
5123
|
this._getHostElement().contains(document.activeElement) ||
|
|
@@ -4871,7 +5233,7 @@ class AXSelectBoxComponent extends AXBaseSelectionDropdownMixin {
|
|
|
4871
5233
|
}
|
|
4872
5234
|
}
|
|
4873
5235
|
AXSelectBoxComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXSelectBoxComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
4874
|
-
AXSelectBoxComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: AXSelectBoxComponent, selector: "ax-select-box", inputs: { disabled: "disabled", readonly: "readonly", tabIndex: "tabIndex", size: "size", fitParent: "fitParent", value: "value", items: "items", multiple: "multiple", allowNull: "allowNull", valueField: "valueField", textField: "textField" }, outputs: { onOpened: "onOpened", onClosed: "onClosed", valueChange: "valueChange", onValueChanged: "onValueChanged", onBlur: "onBlur", onFocus: "onFocus" }, host: { listeners: { "document:keydown": "_handleKeydown($event)" }, classAttribute: "ax-select-box" }, viewQueries: [{ propertyName: "dropdown", first: true, predicate: AXDropdownComponent, descendants: true }, { propertyName: "listContainer", first: true, predicate: ["listContainer"], descendants: true, static: true }], usesInheritance: true, ngImport: i0, template: "<ax-drop-down (onOpened)=\"_emitOnOpenedEvent()\" (onClosed)=\"_emitOnClosedEvent()\">\r\n <ng-container input>\r\n <ng-content select=\"ax-prefix\">\r\n </ng-content>\r\n <div class=\"ax-select-box-selection\" [tabindex]=\"tabIndex\" (focus)=\"_emitOnFocusEvent($event)\"
|
|
5236
|
+
AXSelectBoxComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: AXSelectBoxComponent, selector: "ax-select-box", inputs: { disabled: "disabled", readonly: "readonly", tabIndex: "tabIndex", size: "size", fitParent: "fitParent", value: "value", items: "items", multiple: "multiple", allowNull: "allowNull", valueField: "valueField", textField: "textField" }, outputs: { onOpened: "onOpened", onClosed: "onClosed", valueChange: "valueChange", onValueChanged: "onValueChanged", onBlur: "onBlur", onFocus: "onFocus" }, host: { listeners: { "document:keydown": "_handleKeydown($event)" }, classAttribute: "ax-select-box" }, viewQueries: [{ propertyName: "dropdown", first: true, predicate: AXDropdownComponent, descendants: true }, { propertyName: "listContainer", first: true, predicate: ["listContainer"], descendants: true, static: true }], usesInheritance: true, ngImport: i0, template: "<ax-drop-down (onOpened)=\"_emitOnOpenedEvent()\" (onClosed)=\"_emitOnClosedEvent()\">\r\n <ng-container input>\r\n <ng-content select=\"ax-prefix\">\r\n </ng-content>\r\n <div class=\"ax-select-box-selection\" [tabindex]=\"tabIndex\" (focus)=\"_emitOnFocusEvent($event)\" (blur)=\"_emitOnBlurEvent($event)\">\r\n <ng-container *ngIf=\"!multiple; then singleSelectedTemplate; else multipleSelectedTemplate\"></ng-container>\r\n <ng-template #singleSelectedTemplate>\r\n <ng-container *ngFor=\"let item of selectedItems\">\r\n <span class=\"ax-mx-2\"> {{ _getItemDisplayTextTemplte(item) }}</span>\r\n </ng-container>\r\n </ng-template>\r\n <ng-template #multipleSelectedTemplate>\r\n <div class=\"ax-flex ax-mx-2\">\r\n <ng-container *ngFor=\"let item of selectedItems\">\r\n <ax-badge [text]=\"_getItemDisplayTextTemplte(item)\" color=\"light\" class=\"ax-me-2\">\r\n <ax-suffix>\r\n <ax-icon icon=\"ax-ic ax-ic-close\" (click)=\"_handleBadgeRemove($event,item)\"></ax-icon>\r\n </ax-suffix>\r\n </ax-badge>\r\n </ng-container>\r\n </div>\r\n </ng-template>\r\n <!-- <div class=\"ax-selectbox-input\">\r\n <input type=\"text\" [tabindex]=\"tabIndex\" (focus)=\"_emitOnFocusEvent($event)\" (blur)=\"_emitOnBlurEvent($event)\" (keydown)=\"_handleKeydown($event)\">\r\n </div> -->\r\n <ng-content select=\"ax-suffix\">\r\n </ng-content>\r\n </div>\r\n </ng-container>\r\n <div class=\"ax-list ax-list-container\" panel>\r\n <div class=\"ax-list-items-container ax-vertical ax-default\" (scroll)=\"_handleListScroll($event)\" #listContainer>\r\n <ng-container *ngFor=\"let item of displayItems;let i = index;trackBy : _trackByFunction\">\r\n <ng-container *ngIf=\"itemTemplate; else defualtTemplate\">\r\n <div class=\"ax-list-item\" (click)=\"_handleOnItemClick($event,item)\">\r\n <ng-container *ngTemplateOutlet=\"itemTemplate; context: { $implicit: item,direction:direction}\">\r\n </ng-container>\r\n </div>\r\n </ng-container>\r\n <ng-template #defualtTemplate>\r\n <ng-container *ngIf=\"!multiple; then singleTemplate; else multipleTemplate\"></ng-container>\r\n <ng-template #singleTemplate>\r\n <div class=\"ax-list-item\" [class.ax-state-selected]=\"isItemSelected(item)\" [attr.tabindex]=\"i\" (click)=\"_handleOnItemClick($event,item)\">\r\n {{ _getItemDisplayTextTemplte(item) }}\r\n </div>\r\n </ng-template>\r\n <ng-template #multipleTemplate>\r\n <div class=\"ax-list-item\" [class.ax-state-selected]=\"isItemSelected(item)\" [attr.tabindex]=\"i\" (click)=\"_handleOnItemClick($event,item)\">\r\n <ax-check-box [value]=\"isItemSelected(item)\">\r\n </ax-check-box>\r\n {{ _getItemDisplayTextTemplte(item) }}\r\n\r\n </div>\r\n </ng-template>\r\n </ng-template>\r\n </ng-container>\r\n <ng-container *ngIf=\"(displayItems==null || displayItems.length==0) && !isLoading\">\r\n <ng-container *ngIf=\"emptyTemplate; else elseEmptyTemplate\">\r\n <ng-container *ngTemplateOutlet=\"elseEmptyTemplate\">\r\n </ng-container>\r\n </ng-container>\r\n <ng-template #elseTemplate>\r\n Empty!\r\n </ng-template>\r\n </ng-container>\r\n <ng-container *ngIf=\"isLoading\">\r\n <ng-container *ngIf=\"loadingTemplate; else elseLoadingTemplate\">\r\n <ng-container *ngTemplateOutlet=\"loadingTemplate\">\r\n </ng-container>\r\n </ng-container>\r\n <ng-template #elseLoadingTemplate>\r\n <div class=\"ax-list-loading-container\">\r\n <div><i class=\"fas fa-spinner ax-animate-spin\"></i> Loading ...</div>\r\n </div>\r\n </ng-template>\r\n </ng-container>\r\n </div>\r\n </div>\r\n</ax-drop-down>", components: [{ type: AXDropdownComponent, selector: "ax-drop-down", inputs: ["disabled", "tabIndex", "size", "fitParent"] }, { type: AXBadgeComponent, selector: "ax-badge", inputs: ["text", "color"] }, { type: AXDecoratorSuffixComponent, selector: "ax-suffix" }, { type: AXIconComponent, selector: "ax-icon", inputs: ["icon"] }, { type: AXCheckBoxComponent, selector: "ax-check-box", inputs: ["disabled", "readonly", "tabIndex", "size", "value", "indeterminate"], outputs: ["valueChange", "onValueChanged", "onBlur", "onFocus"] }], directives: [{ type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i4.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
4875
5237
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXSelectBoxComponent, decorators: [{
|
|
4876
5238
|
type: Component,
|
|
4877
5239
|
args: [{
|
|
@@ -4897,12 +5259,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImpor
|
|
|
4897
5259
|
class AXSelectBoxModule {
|
|
4898
5260
|
}
|
|
4899
5261
|
AXSelectBoxModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXSelectBoxModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
4900
|
-
AXSelectBoxModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXSelectBoxModule, declarations: [AXSelectBoxComponent], imports: [CommonModule, AXDropdownModule, FormsModule], exports: [AXSelectBoxComponent] });
|
|
4901
|
-
AXSelectBoxModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXSelectBoxModule, providers: [], imports: [[CommonModule, AXDropdownModule, FormsModule]] });
|
|
5262
|
+
AXSelectBoxModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXSelectBoxModule, declarations: [AXSelectBoxComponent], imports: [CommonModule, AXDropdownModule, FormsModule, AXCheckBoxModule, AXBadgeModule, AXEditorDecoratorModule, AXIconModule], exports: [AXSelectBoxComponent] });
|
|
5263
|
+
AXSelectBoxModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXSelectBoxModule, providers: [], imports: [[CommonModule, AXDropdownModule, FormsModule, AXCheckBoxModule, AXBadgeModule, AXEditorDecoratorModule, AXIconModule]] });
|
|
4902
5264
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXSelectBoxModule, decorators: [{
|
|
4903
5265
|
type: NgModule,
|
|
4904
5266
|
args: [{
|
|
4905
|
-
imports: [CommonModule, AXDropdownModule, FormsModule],
|
|
5267
|
+
imports: [CommonModule, AXDropdownModule, FormsModule, AXCheckBoxModule, AXBadgeModule, AXEditorDecoratorModule, AXIconModule],
|
|
4906
5268
|
exports: [AXSelectBoxComponent],
|
|
4907
5269
|
declarations: [AXSelectBoxComponent],
|
|
4908
5270
|
providers: [],
|
|
@@ -4925,7 +5287,7 @@ class AXSelectionListComponent extends AXBaseSelectionValueMixin {
|
|
|
4925
5287
|
}
|
|
4926
5288
|
}
|
|
4927
5289
|
AXSelectionListComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXSelectionListComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
4928
|
-
AXSelectionListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: AXSelectionListComponent, selector: "ax-selection-list", inputs: { disabled: "disabled", readonly: "readonly", tabIndex: "tabIndex", size: "size", value: "value", valueField: "valueField", textField: "textField", multiple: "multiple", items: "items", selectionMode: "selectionMode", cssClass: "cssClass", direction: "direction" }, outputs: { valueChange: "valueChange", onValueChanged: "onValueChanged", onBlur: "onBlur", onFocus: "onFocus" }, usesInheritance: true, ngImport: i0, template: "<div class=\"ax-selection-list ax-{{direction}}\">\r\n <ng-container *ngIf=\"multiple; then checkboxList; else radioButtonList\"></ng-container>\r\n <ng-template #checkboxList>\r\n <ng-container *ngFor=\"let item of displayItems;let i = index\">\r\n <div class=\"ax-flex ax-items-start ax-checkbox-container ax-mb-2\">\r\n <div class=\"ax-flex ax-items-center ax-h-5\">\r\n <input [id]=\"'
|
|
5290
|
+
AXSelectionListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: AXSelectionListComponent, selector: "ax-selection-list", inputs: { disabled: "disabled", readonly: "readonly", tabIndex: "tabIndex", size: "size", value: "value", valueField: "valueField", textField: "textField", multiple: "multiple", items: "items", selectionMode: "selectionMode", cssClass: "cssClass", direction: "direction" }, outputs: { valueChange: "valueChange", onValueChanged: "onValueChanged", onBlur: "onBlur", onFocus: "onFocus" }, usesInheritance: true, ngImport: i0, template: "<div class=\"ax-selection-list ax-{{direction}}\">\r\n <ng-container *ngIf=\"multiple; then checkboxList; else radioButtonList\"></ng-container>\r\n <ng-template #checkboxList>\r\n <ng-container *ngFor=\"let item of displayItems;let i = index\">\r\n <div class=\"ax-flex ax-items-start ax-checkbox-container ax-mb-2\">\r\n <div class=\"ax-flex ax-items-center ax-h-5\">\r\n <input [id]=\"id+'-'+i\" class=\"ax-checkbox\" type=\"checkbox\" (change)=\"_handleOnItemValueChange(item, $event)\" [checked]=\"isItemSelected(item)\" [disabled]=\"disabled || item.disabled\" [readonly]=\"readonly || item.readonly\">\r\n </div>\r\n <div class=\"ax-ms-3 ax-text-sm\">\r\n <label [for]=\"id+'-'+i\" class=\"ax-font-medium ax-text-light-700\"> {{item[textField]}}</label>\r\n <p class=\"ax-text-light-500\"> {{item.hint ? item.hint : item[hintField]}}</p>\r\n </div>\r\n </div>\r\n </ng-container>\r\n </ng-template>\r\n <ng-template #radioButtonList>\r\n <ng-container *ngFor=\"let item of displayItems;let i = index\">\r\n <div class=\"ax-flex ax-items-start ax-radio-container ax-mb-2\">\r\n <div class=\"ax-flex ax-items-center ax-h-5\">\r\n <input [id]=\"id+'-'+i\" class=\"ax-radio\" type=\"radio\" [attr.name]=\"id\" (change)=\"_handleOnItemValueChange(item, $event)\" [checked]=\"isItemSelected(item)\" [disabled]=\"disabled || item.disabled\" [readonly]=\"readonly || item.readonly\">\r\n </div>\r\n <div class=\"ax-ms-3 ax-text-sm\">\r\n <label [for]=\"id+'-'+i\" class=\"ax-font-medium ax-text-light-700\"> {{item[textField]}}</label>\r\n <p class=\"ax-text-light-500\"> {{item.hint ? item.hint : item[hintField]}}</p>\r\n </div>\r\n </div>\r\n </ng-container>\r\n </ng-template>\r\n <ng-content select=\"ax-validation-rule\">\r\n </ng-content>\r\n</div>", directives: [{ type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
4929
5291
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXSelectionListComponent, decorators: [{
|
|
4930
5292
|
type: Component,
|
|
4931
5293
|
args: [{
|
|
@@ -5048,7 +5410,7 @@ class AXTabStripComponent extends AXSizableComponentMixin {
|
|
|
5048
5410
|
super(elementRef, cdr);
|
|
5049
5411
|
this.mode = 'default';
|
|
5050
5412
|
this.direction = "horizontal";
|
|
5051
|
-
this.
|
|
5413
|
+
this.fitParent = false;
|
|
5052
5414
|
this.minWidth = false;
|
|
5053
5415
|
this.onSelectionChanged = new EventEmitter();
|
|
5054
5416
|
}
|
|
@@ -5076,9 +5438,12 @@ class AXTabStripComponent extends AXSizableComponentMixin {
|
|
|
5076
5438
|
htmlElement: this._getHostElement(),
|
|
5077
5439
|
});
|
|
5078
5440
|
}
|
|
5441
|
+
get __hostClass() {
|
|
5442
|
+
return [`ax-tabs`, `ax-tabs-${this.mode ? this.mode : 'default'}`, `ax-tabs-${this.direction}`, `${this.fitParent ? 'ax-tabs-fit' : ''}`].join(' ');
|
|
5443
|
+
}
|
|
5079
5444
|
}
|
|
5080
5445
|
AXTabStripComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXTabStripComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
5081
|
-
AXTabStripComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: AXTabStripComponent, selector: "ax-tab-strip", inputs: { size: "size",
|
|
5446
|
+
AXTabStripComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: AXTabStripComponent, selector: "ax-tab-strip", inputs: { size: "size", items: "items", mode: "mode", direction: "direction", fitParent: "fitParent", minWidth: "minWidth" }, outputs: { onSelectionChanged: "onSelectionChanged" }, host: { properties: { "class": "this.__hostClass" }, classAttribute: "ax-tab-strip" }, usesInheritance: true, ngImport: i0, template: "<ng-container *ngFor=\"let item of items;let i = index\">\r\n <div class=\"ax-tab-item\" [class.ax-state-active]=\"item.active\" [class.ax-state-disabled]=\"item.disabled\" *ngIf=\"item.visible!=false\" (click)=\"_handleClick(item,i)\">\r\n <ng-content select=\"ax-prefix\"></ng-content>\r\n <span *ngIf=\"item.text\">{{item.text}}</span>\r\n <ng-content select=\"ax-suffix\"></ng-content>\r\n </div>\r\n</ng-container>", changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
5082
5447
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXTabStripComponent, decorators: [{
|
|
5083
5448
|
type: Component,
|
|
5084
5449
|
args: [{
|
|
@@ -5086,7 +5451,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImpor
|
|
|
5086
5451
|
templateUrl: './tab-strip.component.html',
|
|
5087
5452
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
5088
5453
|
encapsulation: ViewEncapsulation.None,
|
|
5089
|
-
inputs: ['size'
|
|
5454
|
+
inputs: ['size'],
|
|
5090
5455
|
host: { class: 'ax-tab-strip' },
|
|
5091
5456
|
}]
|
|
5092
5457
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { items: [{
|
|
@@ -5095,12 +5460,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImpor
|
|
|
5095
5460
|
type: Input
|
|
5096
5461
|
}], direction: [{
|
|
5097
5462
|
type: Input
|
|
5098
|
-
}],
|
|
5463
|
+
}], fitParent: [{
|
|
5099
5464
|
type: Input
|
|
5100
5465
|
}], minWidth: [{
|
|
5101
5466
|
type: Input
|
|
5102
5467
|
}], onSelectionChanged: [{
|
|
5103
5468
|
type: Output
|
|
5469
|
+
}], __hostClass: [{
|
|
5470
|
+
type: HostBinding,
|
|
5471
|
+
args: ['class']
|
|
5104
5472
|
}] } });
|
|
5105
5473
|
|
|
5106
5474
|
class AXTabComponent extends AXBaseComponentMixin {
|
|
@@ -5127,7 +5495,7 @@ AXTabComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version
|
|
|
5127
5495
|
<ng-content>
|
|
5128
5496
|
</ng-content>
|
|
5129
5497
|
</div>
|
|
5130
|
-
`, isInline: true,
|
|
5498
|
+
`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
5131
5499
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXTabComponent, decorators: [{
|
|
5132
5500
|
type: Component,
|
|
5133
5501
|
args: [{
|
|
@@ -5158,7 +5526,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImpor
|
|
|
5158
5526
|
type: Input
|
|
5159
5527
|
}] } });
|
|
5160
5528
|
|
|
5161
|
-
class AXTabViewComponent extends
|
|
5529
|
+
class AXTabViewComponent extends AXBaseComponent {
|
|
5162
5530
|
constructor(elementRef, cdr) {
|
|
5163
5531
|
super(elementRef, cdr);
|
|
5164
5532
|
this._tabs = [];
|
|
@@ -5183,7 +5551,7 @@ class AXTabViewComponent extends AXTabStripComponent {
|
|
|
5183
5551
|
}
|
|
5184
5552
|
}
|
|
5185
5553
|
AXTabViewComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXTabViewComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
5186
|
-
AXTabViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: AXTabViewComponent, selector: "ax-tab-view", inputs: { size: "size" }, host: { classAttribute: "ax-tab-view" }, queries: [{ propertyName: "_contentTabs", predicate: AXTabComponent }], usesInheritance: true, ngImport: i0, template: "<ax-tab-strip [items]=\"_tabs\"
|
|
5554
|
+
AXTabViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: AXTabViewComponent, selector: "ax-tab-view", inputs: { size: "size" }, host: { classAttribute: "ax-tab-view" }, queries: [{ propertyName: "_contentTabs", predicate: AXTabComponent }], usesInheritance: true, ngImport: i0, template: "<!-- <ax-tab-strip [items]=\"_tabs\" (onSelectionChanged)=\"_handleSelectionChanged($event)\">\r\n\r\n</ax-tab-strip> -->\r\n<div class=\"ax-tab-view-container\">\r\n <ng-content select=\"ax-tab\">\r\n </ng-content>\r\n</div>", changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
5187
5555
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXTabViewComponent, decorators: [{
|
|
5188
5556
|
type: Component,
|
|
5189
5557
|
args: [{
|
|
@@ -5199,15 +5567,183 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImpor
|
|
|
5199
5567
|
args: [AXTabComponent]
|
|
5200
5568
|
}] } });
|
|
5201
5569
|
|
|
5570
|
+
class AXTabItemComponent extends AXBaseClickableMixin {
|
|
5571
|
+
constructor(elementRef, cdr) {
|
|
5572
|
+
super(elementRef, cdr);
|
|
5573
|
+
this.width = false;
|
|
5574
|
+
this.activeChange = new EventEmitter();
|
|
5575
|
+
this._active = false;
|
|
5576
|
+
}
|
|
5577
|
+
get active() {
|
|
5578
|
+
return this._active;
|
|
5579
|
+
}
|
|
5580
|
+
set active(v) {
|
|
5581
|
+
this._active = v;
|
|
5582
|
+
this.activeChange.emit(v);
|
|
5583
|
+
v ? this._getHostElement().classList.add('ax-state-active') : this._getHostElement().classList.remove('ax-state-active');
|
|
5584
|
+
}
|
|
5585
|
+
// @HostBinding('class')
|
|
5586
|
+
// private get __hostClass(): string {
|
|
5587
|
+
// debugger;
|
|
5588
|
+
// const classes: any = {
|
|
5589
|
+
// 'ax-state-active': this.active
|
|
5590
|
+
// }
|
|
5591
|
+
// return Object.entries(classes).filter(c => c[1]).map(c => c[0]).join(' ');
|
|
5592
|
+
// }
|
|
5593
|
+
__hostClick(e) {
|
|
5594
|
+
this.onClick.emit({
|
|
5595
|
+
component: this,
|
|
5596
|
+
htmlElement: this._getHostElement(),
|
|
5597
|
+
nativeEvent: e
|
|
5598
|
+
});
|
|
5599
|
+
}
|
|
5600
|
+
}
|
|
5601
|
+
AXTabItemComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXTabItemComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
5602
|
+
AXTabItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: AXTabItemComponent, selector: "ax-tab-item", inputs: { text: "text", width: "width", active: "active" }, outputs: { activeChange: "activeChange" }, host: { listeners: { "click": "__hostClick($event)" } }, viewQueries: [{ propertyName: "template", first: true, predicate: TemplateRef, descendants: true }], usesInheritance: true, ngImport: i0, template: `
|
|
5603
|
+
<ng-content select="ax-prefix"></ng-content>
|
|
5604
|
+
<span>{{text}}</span>
|
|
5605
|
+
<ng-content select="ax-suffix"></ng-content>
|
|
5606
|
+
<ng-template>
|
|
5607
|
+
<ng-content>
|
|
5608
|
+
</ng-content>
|
|
5609
|
+
</ng-template>
|
|
5610
|
+
`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
5611
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXTabItemComponent, decorators: [{
|
|
5612
|
+
type: Component,
|
|
5613
|
+
args: [{
|
|
5614
|
+
selector: 'ax-tab-item',
|
|
5615
|
+
template: `
|
|
5616
|
+
<ng-content select="ax-prefix"></ng-content>
|
|
5617
|
+
<span>{{text}}</span>
|
|
5618
|
+
<ng-content select="ax-suffix"></ng-content>
|
|
5619
|
+
<ng-template>
|
|
5620
|
+
<ng-content>
|
|
5621
|
+
</ng-content>
|
|
5622
|
+
</ng-template>
|
|
5623
|
+
`,
|
|
5624
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
5625
|
+
encapsulation: ViewEncapsulation.None,
|
|
5626
|
+
}]
|
|
5627
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { text: [{
|
|
5628
|
+
type: Input
|
|
5629
|
+
}], width: [{
|
|
5630
|
+
type: Input
|
|
5631
|
+
}], template: [{
|
|
5632
|
+
type: ViewChild,
|
|
5633
|
+
args: [TemplateRef]
|
|
5634
|
+
}], activeChange: [{
|
|
5635
|
+
type: Output
|
|
5636
|
+
}], active: [{
|
|
5637
|
+
type: Input
|
|
5638
|
+
}], __hostClick: [{
|
|
5639
|
+
type: HostListener,
|
|
5640
|
+
args: ['click', ['$event']]
|
|
5641
|
+
}] } });
|
|
5642
|
+
|
|
5643
|
+
class AXTabsComponent extends AXBaseComponent {
|
|
5644
|
+
constructor(elementRef, cdr) {
|
|
5645
|
+
super(elementRef, cdr);
|
|
5646
|
+
this.mode = 'default';
|
|
5647
|
+
this.direction = "horizontal";
|
|
5648
|
+
this.fitParent = false;
|
|
5649
|
+
this.minWidth = false;
|
|
5650
|
+
}
|
|
5651
|
+
onViewInit() {
|
|
5652
|
+
this._handleSelectionChanged(this._contentTabs.get(0));
|
|
5653
|
+
this._contentTabs.forEach(c => {
|
|
5654
|
+
c.onClick.subscribe(t => {
|
|
5655
|
+
this._handleSelectionChanged(c);
|
|
5656
|
+
});
|
|
5657
|
+
});
|
|
5658
|
+
}
|
|
5659
|
+
_handleSelectionChanged(e) {
|
|
5660
|
+
this._contentTabs.filter(c => c != e).forEach(c => { c.active = false; });
|
|
5661
|
+
e.active = true;
|
|
5662
|
+
this.content.portal = e.template;
|
|
5663
|
+
this._cdr.markForCheck();
|
|
5664
|
+
}
|
|
5665
|
+
get __hostClass() {
|
|
5666
|
+
return [`ax-tabs-${this.mode ? this.mode : 'default'}`, `ax-tabs-${this.direction}`, `${this.fitParent ? 'ax-tabs-fit' : ''}`].join(' ');
|
|
5667
|
+
}
|
|
5668
|
+
}
|
|
5669
|
+
AXTabsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXTabsComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
5670
|
+
AXTabsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: AXTabsComponent, selector: "ax-tabs", inputs: { mode: "mode", direction: "direction", fitParent: "fitParent", minWidth: "minWidth", content: "content" }, host: { properties: { "class": "this.__hostClass" } }, queries: [{ propertyName: "_contentTabs", predicate: AXTabItemComponent }], usesInheritance: true, ngImport: i0, template: `
|
|
5671
|
+
<div class="ax-items-wrapper">
|
|
5672
|
+
<ng-content select="ax-tab-item">
|
|
5673
|
+
</ng-content>
|
|
5674
|
+
</div>
|
|
5675
|
+
<!-- <div [axTabOutlet]="_activeTabView">
|
|
5676
|
+
|
|
5677
|
+
</div> -->
|
|
5678
|
+
`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
5679
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXTabsComponent, decorators: [{
|
|
5680
|
+
type: Component,
|
|
5681
|
+
args: [{
|
|
5682
|
+
selector: 'ax-tabs',
|
|
5683
|
+
template: `
|
|
5684
|
+
<div class="ax-items-wrapper">
|
|
5685
|
+
<ng-content select="ax-tab-item">
|
|
5686
|
+
</ng-content>
|
|
5687
|
+
</div>
|
|
5688
|
+
<!-- <div [axTabOutlet]="_activeTabView">
|
|
5689
|
+
|
|
5690
|
+
</div> -->
|
|
5691
|
+
`,
|
|
5692
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
5693
|
+
encapsulation: ViewEncapsulation.None,
|
|
5694
|
+
}]
|
|
5695
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { _contentTabs: [{
|
|
5696
|
+
type: ContentChildren,
|
|
5697
|
+
args: [AXTabItemComponent]
|
|
5698
|
+
}], mode: [{
|
|
5699
|
+
type: Input
|
|
5700
|
+
}], direction: [{
|
|
5701
|
+
type: Input
|
|
5702
|
+
}], fitParent: [{
|
|
5703
|
+
type: Input
|
|
5704
|
+
}], minWidth: [{
|
|
5705
|
+
type: Input
|
|
5706
|
+
}], content: [{
|
|
5707
|
+
type: Input
|
|
5708
|
+
}], __hostClass: [{
|
|
5709
|
+
type: HostBinding,
|
|
5710
|
+
args: ['class']
|
|
5711
|
+
}] } });
|
|
5712
|
+
|
|
5202
5713
|
class AXTabStripChangedEvent extends AXEvent {
|
|
5203
5714
|
}
|
|
5204
5715
|
|
|
5205
|
-
|
|
5206
|
-
|
|
5716
|
+
class AXTabContentDirective {
|
|
5717
|
+
constructor(_viewContainerRef) {
|
|
5718
|
+
this._viewContainerRef = _viewContainerRef;
|
|
5719
|
+
}
|
|
5720
|
+
get portal() {
|
|
5721
|
+
return this._portal;
|
|
5722
|
+
}
|
|
5723
|
+
set portal(v) {
|
|
5724
|
+
//debugger;
|
|
5725
|
+
this._portal = v;
|
|
5726
|
+
this._viewContainerRef.clear();
|
|
5727
|
+
const viewRef = this._viewContainerRef.createEmbeddedView(v, null, 0);
|
|
5728
|
+
}
|
|
5729
|
+
}
|
|
5730
|
+
AXTabContentDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXTabContentDirective, deps: [{ token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
5731
|
+
AXTabContentDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.6", type: AXTabContentDirective, selector: "[axTabContent]", inputs: { portal: ["axTabContent", "portal"] }, exportAs: ["axTabContent"], ngImport: i0 });
|
|
5732
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXTabContentDirective, decorators: [{
|
|
5733
|
+
type: Directive,
|
|
5734
|
+
args: [{
|
|
5735
|
+
selector: '[axTabContent]',
|
|
5736
|
+
exportAs: 'axTabContent',
|
|
5737
|
+
inputs: ['portal: axTabContent'],
|
|
5738
|
+
}]
|
|
5739
|
+
}], ctorParameters: function () { return [{ type: i0.ViewContainerRef }]; } });
|
|
5740
|
+
|
|
5741
|
+
const COMPONENT$3 = [AXTabsComponent, AXTabItemComponent, AXTabContentDirective];
|
|
5742
|
+
const MODULES$3 = [CommonModule, PortalModule, AXEditorDecoratorModule];
|
|
5207
5743
|
class AXTabsModule {
|
|
5208
5744
|
}
|
|
5209
5745
|
AXTabsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXTabsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
5210
|
-
AXTabsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXTabsModule, declarations: [
|
|
5746
|
+
AXTabsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXTabsModule, declarations: [AXTabsComponent, AXTabItemComponent, AXTabContentDirective], imports: [CommonModule, PortalModule, AXEditorDecoratorModule], exports: [AXTabsComponent, AXTabItemComponent, AXTabContentDirective] });
|
|
5211
5747
|
AXTabsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXTabsModule, providers: [], imports: [[...MODULES$3]] });
|
|
5212
5748
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXTabsModule, decorators: [{
|
|
5213
5749
|
type: NgModule,
|
|
@@ -5316,8 +5852,8 @@ class AXTimeBoxComponent extends AXBaseTextBoxMixin {
|
|
|
5316
5852
|
this._emitOnFocusEvent(e);
|
|
5317
5853
|
}
|
|
5318
5854
|
}
|
|
5319
|
-
AXTimeBoxComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXTimeBoxComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: i1$
|
|
5320
|
-
AXTimeBoxComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: AXTimeBoxComponent, selector: "ax-time-box", inputs: { disabled: "disabled", readonly: "readonly", tabIndex: "tabIndex", size: "size", value: "value", placeholder: "placeholder", maxLength: "maxLength", allowNull: "allowNull", debounceTime: "debounceTime", name: "name", minValue: "minValue", maxValue: "maxValue", format: "format", displayText: "displayText" }, outputs: { valueChange: "valueChange", onValueChanged: "onValueChanged", onBlur: "onBlur", onFocus: "onFocus", displayTextChange: "displayTextChange" }, host: { properties: { "class": "this.hostClass" }, classAttribute: "ax-time-box ax-editor-container" }, usesInheritance: true, ngImport: i0, template: "<ng-content select=\"ax-prefix\">\r\n</ng-content>\r\n<input class=\"ax-input\" type=\"text\" [attr.pattern]=\"'[\\d\\.]*'\" [attr.placeholder]=\"placeholder\"\r\n [class.ax-state-disabled]=\"disabled\" [class.ax-state-readonly]=\"readonly\" [disabled]=\"disabled\"\r\n [readonly]=\"readonly\" [tabindex]=\"tabIndex\" [ngModel]=\"displayText\" (focus)=\"_emitOnFocusEvent($event)\"\r\n (blur)=\"_emitOnBlurEvent($event)\" (keydown)=\"_handleOnKeydownEvent($event)\">\r\n<ax-button color=\"light\" look=\"blank\" (onClick)=\"clear()\" [tabIndex]=\"-1\"\r\n *ngIf=\"value && allowNull && !(disabled || readonly)\">\r\n <i class=\"ax-icon-x icon\"></i>\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>", components: [{ type: AXButtonComponent, selector: "ax-button", inputs: ["disabled", "tabIndex", "size", "text", "submitBehavior", "cancelBehavior", "color", "look", "toggleable", "selected"], outputs: ["onBlur", "onFocus", "onClick", "selectedChange", "toggleableChange"] }], directives: [{ type: i3.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: i3.PatternValidator, selector: "[pattern][formControlName],[pattern][formControl],[pattern][ngModel]", inputs: ["pattern"] }, { type: i3.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i3.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { type:
|
|
5855
|
+
AXTimeBoxComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXTimeBoxComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: i1$2.MaskApplierService }], target: i0.ɵɵFactoryTarget.Component });
|
|
5856
|
+
AXTimeBoxComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: AXTimeBoxComponent, selector: "ax-time-box", inputs: { disabled: "disabled", readonly: "readonly", tabIndex: "tabIndex", size: "size", value: "value", placeholder: "placeholder", maxLength: "maxLength", allowNull: "allowNull", debounceTime: "debounceTime", name: "name", minValue: "minValue", maxValue: "maxValue", format: "format", displayText: "displayText" }, outputs: { valueChange: "valueChange", onValueChanged: "onValueChanged", onBlur: "onBlur", onFocus: "onFocus", displayTextChange: "displayTextChange" }, host: { properties: { "class": "this.hostClass" }, classAttribute: "ax-time-box ax-editor-container" }, usesInheritance: true, ngImport: i0, template: "<ng-content select=\"ax-prefix\">\r\n</ng-content>\r\n<input class=\"ax-input\" type=\"text\" [attr.pattern]=\"'[\\d\\.]*'\" [attr.placeholder]=\"placeholder\"\r\n [class.ax-state-disabled]=\"disabled\" [class.ax-state-readonly]=\"readonly\" [disabled]=\"disabled\"\r\n [readonly]=\"readonly\" [tabindex]=\"tabIndex\" [ngModel]=\"displayText\" (focus)=\"_emitOnFocusEvent($event)\"\r\n (blur)=\"_emitOnBlurEvent($event)\" (keydown)=\"_handleOnKeydownEvent($event)\">\r\n<ax-button color=\"light\" look=\"blank\" (onClick)=\"clear()\" [tabIndex]=\"-1\"\r\n *ngIf=\"value && allowNull && !(disabled || readonly)\">\r\n <i class=\"ax-icon-x icon\"></i>\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>", components: [{ type: AXButtonComponent, selector: "ax-button", inputs: ["disabled", "tabIndex", "size", "text", "submitBehavior", "cancelBehavior", "color", "look", "toggleable", "selected"], outputs: ["onBlur", "onFocus", "onClick", "selectedChange", "toggleableChange"] }], directives: [{ type: i3.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: i3.PatternValidator, selector: "[pattern][formControlName],[pattern][formControl],[pattern][ngModel]", inputs: ["pattern"] }, { type: i3.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i3.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
5321
5857
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXTimeBoxComponent, decorators: [{
|
|
5322
5858
|
type: Component,
|
|
5323
5859
|
args: [{
|
|
@@ -5329,7 +5865,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImpor
|
|
|
5329
5865
|
encapsulation: ViewEncapsulation.None,
|
|
5330
5866
|
host: { class: 'ax-time-box ax-editor-container' },
|
|
5331
5867
|
}]
|
|
5332
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: i1$
|
|
5868
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: i1$2.MaskApplierService }]; }, propDecorators: { hostClass: [{
|
|
5333
5869
|
type: HostBinding,
|
|
5334
5870
|
args: ['class']
|
|
5335
5871
|
}], minValue: [{
|
|
@@ -5356,7 +5892,7 @@ class AXTimeBoxModule {
|
|
|
5356
5892
|
AXTimeBoxModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXTimeBoxModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
5357
5893
|
AXTimeBoxModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXTimeBoxModule, declarations: [AXTimeBoxComponent], imports: [CommonModule,
|
|
5358
5894
|
FormsModule,
|
|
5359
|
-
AXButtonModule, i1$
|
|
5895
|
+
AXButtonModule, i1$2.NgxMaskModule], exports: [AXTimeBoxComponent] });
|
|
5360
5896
|
AXTimeBoxModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXTimeBoxModule, providers: [], imports: [[...MODULES$2]] });
|
|
5361
5897
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXTimeBoxModule, decorators: [{
|
|
5362
5898
|
type: NgModule,
|
|
@@ -5402,7 +5938,7 @@ class AXToastComponent extends AXBaseComponentMixin {
|
|
|
5402
5938
|
}
|
|
5403
5939
|
}
|
|
5404
5940
|
AXToastComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXToastComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
5405
|
-
AXToastComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: AXToastComponent, selector: "ax-toast", host: { classAttribute: "ax-toast" }, usesInheritance: true, ngImport: i0, template: "<div class=\"ax-toast-icon-side\">\r\n <i class=\"ax-toast-icon {{_icon}}\"></i>\r\n</div>\r\n<div class=\"ax-toast-content-side\">\r\n <div class=\"ax-toast-title\">{{options.title}}</div>\r\n <div class=\"ax-toast-content\" *ngIf=\"options.content\">{{options.content}}</div>\r\n</div>\r\n<div class=\"ax-toast-dismiss-icon\">\r\n <i class=\"ax-ic ax-ic-close\" *ngIf=\"options.closeable\" (click)=\"close()\"></i>\r\n</div>\r\n<div class=\"ax-toast-progress ax-{{options.type}}\" [style.animation-duration.ms]=\"options.timeOut\" *ngIf=\"options.timeOut\">\r\n</div>", directives: [{ type:
|
|
5941
|
+
AXToastComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: AXToastComponent, selector: "ax-toast", host: { classAttribute: "ax-toast" }, usesInheritance: true, ngImport: i0, template: "<div class=\"ax-toast-icon-side\">\r\n <i class=\"ax-toast-icon {{_icon}}\"></i>\r\n</div>\r\n<div class=\"ax-toast-content-side\">\r\n <div class=\"ax-toast-title\">{{options.title}}</div>\r\n <div class=\"ax-toast-content\" *ngIf=\"options.content\">{{options.content}}</div>\r\n</div>\r\n<div class=\"ax-toast-dismiss-icon\">\r\n <i class=\"ax-ic ax-ic-close\" *ngIf=\"options.closeable\" (click)=\"close()\"></i>\r\n</div>\r\n<div class=\"ax-toast-progress ax-{{options.type}}\" [style.animation-duration.ms]=\"options.timeOut\" *ngIf=\"options.timeOut\">\r\n</div>", directives: [{ type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
5406
5942
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXToastComponent, decorators: [{
|
|
5407
5943
|
type: Component,
|
|
5408
5944
|
args: [{
|
|
@@ -5533,12 +6069,12 @@ class AXToastService {
|
|
|
5533
6069
|
}
|
|
5534
6070
|
}
|
|
5535
6071
|
}
|
|
5536
|
-
AXToastService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXToastService, deps: [{ token: i1
|
|
6072
|
+
AXToastService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXToastService, deps: [{ token: i1.Overlay }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
5537
6073
|
AXToastService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXToastService, providedIn: 'root' });
|
|
5538
6074
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXToastService, decorators: [{
|
|
5539
6075
|
type: Injectable,
|
|
5540
6076
|
args: [{ providedIn: 'root' }]
|
|
5541
|
-
}], ctorParameters: function () { return [{ type: i1
|
|
6077
|
+
}], ctorParameters: function () { return [{ type: i1.Overlay }, { type: i0.Injector }]; } });
|
|
5542
6078
|
|
|
5543
6079
|
class AXTooltipComponent extends AXBaseComponentMixin {
|
|
5544
6080
|
constructor(elementRef, cdr) {
|
|
@@ -5643,12 +6179,12 @@ class AXTooltipDirective {
|
|
|
5643
6179
|
this.overlayRef.detach();
|
|
5644
6180
|
}
|
|
5645
6181
|
}
|
|
5646
|
-
AXTooltipDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXTooltipDirective, deps: [{ token: i1
|
|
6182
|
+
AXTooltipDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXTooltipDirective, deps: [{ token: i1.Overlay }, { token: i1.OverlayPositionBuilder }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
5647
6183
|
AXTooltipDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.6", type: AXTooltipDirective, selector: "[axTooltip]", inputs: { text: ["axTooltip", "text"], position: ["axTooltipPositon", "position"] }, host: { listeners: { "mouseenter": "show()", "mouseout": "hide()" } }, ngImport: i0 });
|
|
5648
6184
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXTooltipDirective, decorators: [{
|
|
5649
6185
|
type: Directive,
|
|
5650
6186
|
args: [{ selector: '[axTooltip]' }]
|
|
5651
|
-
}], ctorParameters: function () { return [{ type: i1
|
|
6187
|
+
}], ctorParameters: function () { return [{ type: i1.Overlay }, { type: i1.OverlayPositionBuilder }, { type: i0.ElementRef }]; }, propDecorators: { text: [{
|
|
5652
6188
|
type: Input,
|
|
5653
6189
|
args: ['axTooltip']
|
|
5654
6190
|
}], position: [{
|
|
@@ -5697,7 +6233,7 @@ class AXTextBoxComponent extends AXBaseTextBoxMixin {
|
|
|
5697
6233
|
}
|
|
5698
6234
|
}
|
|
5699
6235
|
AXTextBoxComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXTextBoxComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
5700
|
-
AXTextBoxComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: AXTextBoxComponent, selector: "ax-text-box", inputs: { disabled: "disabled", readonly: "readonly", tabIndex: "tabIndex", cssClass: "cssClass", size: "size", placeholder: "placeholder", maxLength: "maxLength", allowNull: "allowNull", debounceTime: "debounceTime", value: "value", name: "name" }, outputs: { valueChange: "valueChange", onValueChanged: "onValueChanged", onBlur: "onBlur", onFocus: "onFocus" }, host: { properties: { "class": "this.hostClass" }, classAttribute: "ax-text-box ax-editor-container" }, queries: [{ propertyName: "_contentMask", first: true, predicate: AXInputMaskComponent, descendants: true }], usesInheritance: true, ngImport: i0, template: "<ng-content select=\"ax-prefix\">\r\n</ng-content>\r\n<input class=\"ax-input\" [attr.name]=\"name\" type=\"text\" [mask]=\"_contentMask?.mask\" [prefix]=\"_contentMask?.prefix\"\r\n [suffix]=\"_contentMask?.suffix\" [showMaskTyped]=\"_contentMask?.showMaskTyped\" [attr.placeholder]=\"placeholder\"\r\n [attr.maxlength]=\"maxLength\" [class.ax-state-disabled]=\"disabled\" [class.ax-state-readonly]=\"readonly\"\r\n [disabled]=\"disabled\" [readonly]=\"readonly\" [tabindex]=\"tabIndex\" [(ngModel)]=\"value\"\r\n (focus)=\"_emitOnFocusEvent($event)\" (blur)=\"_emitOnBlurEvent($event)\"\r\n [attr.autocomplete]=\"autoComplete ? 'on': 'off'\">\r\n<ax-button color=\"light\" look=\"blank\" [size]=\"size\" (onClick)=\"clear()\" [tabIndex]=\"-1\"\r\n *ngIf=\"value && allowNull && !(disabled || readonly)\">\r\n <ax-prefix>\r\n <ax-icon icon=\"ax-ic ax-ic-close\"></ax-icon>\r\n </ax-prefix>\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<ng-content select=\"ax-input-mask\">\r\n</ng-content>", components: [{ type: AXButtonComponent, selector: "ax-button", inputs: ["disabled", "tabIndex", "size", "text", "submitBehavior", "cancelBehavior", "color", "look", "toggleable", "selected"], outputs: ["onBlur", "onFocus", "onClick", "selectedChange", "toggleableChange"] }, { type: AXDecoratorPrefixComponent, selector: "ax-prefix" }, { type: AXIconComponent, selector: "ax-icon", inputs: ["icon"] }], directives: [{ type: i1$
|
|
6236
|
+
AXTextBoxComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: AXTextBoxComponent, selector: "ax-text-box", inputs: { disabled: "disabled", readonly: "readonly", tabIndex: "tabIndex", cssClass: "cssClass", size: "size", placeholder: "placeholder", maxLength: "maxLength", allowNull: "allowNull", debounceTime: "debounceTime", value: "value", name: "name" }, outputs: { valueChange: "valueChange", onValueChanged: "onValueChanged", onBlur: "onBlur", onFocus: "onFocus" }, host: { properties: { "class": "this.hostClass" }, classAttribute: "ax-text-box ax-editor-container" }, queries: [{ propertyName: "_contentMask", first: true, predicate: AXInputMaskComponent, descendants: true }], usesInheritance: true, ngImport: i0, template: "<ng-content select=\"ax-prefix\">\r\n</ng-content>\r\n<input class=\"ax-input\" [attr.name]=\"name\" type=\"text\" [mask]=\"_contentMask?.mask\" [prefix]=\"_contentMask?.prefix\"\r\n [suffix]=\"_contentMask?.suffix\" [showMaskTyped]=\"_contentMask?.showMaskTyped\" [attr.placeholder]=\"placeholder\"\r\n [attr.maxlength]=\"maxLength\" [class.ax-state-disabled]=\"disabled\" [class.ax-state-readonly]=\"readonly\"\r\n [disabled]=\"disabled\" [readonly]=\"readonly\" [tabindex]=\"tabIndex\" [(ngModel)]=\"value\"\r\n (focus)=\"_emitOnFocusEvent($event)\" (blur)=\"_emitOnBlurEvent($event)\"\r\n [attr.autocomplete]=\"autoComplete ? 'on': 'off'\">\r\n<ax-button color=\"light\" look=\"blank\" [size]=\"size\" (onClick)=\"clear()\" [tabIndex]=\"-1\"\r\n *ngIf=\"value && allowNull && !(disabled || readonly)\">\r\n <ax-prefix>\r\n <ax-icon icon=\"ax-ic ax-ic-close\"></ax-icon>\r\n </ax-prefix>\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<ng-content select=\"ax-input-mask\">\r\n</ng-content>", components: [{ type: AXButtonComponent, selector: "ax-button", inputs: ["disabled", "tabIndex", "size", "text", "submitBehavior", "cancelBehavior", "color", "look", "toggleable", "selected"], outputs: ["onBlur", "onFocus", "onClick", "selectedChange", "toggleableChange"] }, { type: AXDecoratorPrefixComponent, selector: "ax-prefix" }, { type: AXIconComponent, selector: "ax-icon", inputs: ["icon"] }], directives: [{ type: i1$2.MaskDirective, selector: "input[mask], textarea[mask]", inputs: ["mask", "specialCharacters", "patterns", "prefix", "suffix", "thousandSeparator", "decimalMarker", "dropSpecialCharacters", "hiddenInput", "showMaskTyped", "placeHolderCharacter", "shownMaskExpression", "showTemplate", "clearIfNotMatch", "validation", "separatorLimit", "allowNegativeNumbers", "leadZeroDateTime"] }, { type: i3.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: i3.MaxLengthValidator, selector: "[maxlength][formControlName],[maxlength][formControl],[maxlength][ngModel]", inputs: ["maxlength"] }, { type: i3.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i3.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
5701
6237
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXTextBoxComponent, decorators: [{
|
|
5702
6238
|
type: Component,
|
|
5703
6239
|
args: [{
|
|
@@ -5737,7 +6273,7 @@ AXTextBoxModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version
|
|
|
5737
6273
|
FormsModule,
|
|
5738
6274
|
AXButtonModule,
|
|
5739
6275
|
AXEditorDecoratorModule,
|
|
5740
|
-
AXIconModule, i1$
|
|
6276
|
+
AXIconModule, i1$2.NgxMaskModule], exports: [AXTextBoxComponent] });
|
|
5741
6277
|
AXTextBoxModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXTextBoxModule, providers: [], imports: [[
|
|
5742
6278
|
CommonModule,
|
|
5743
6279
|
FormsModule,
|
|
@@ -5908,5 +6444,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImpor
|
|
|
5908
6444
|
* Generated bundle index. Do not edit.
|
|
5909
6445
|
*/
|
|
5910
6446
|
|
|
5911
|
-
export { AXAlertButtonComponent, AXAlertComponent, AXAlertContentComponent, AXAlertFooterComponent, AXAlertModule, AXAlertSuffixComponent, AXAlertTitleComponent, AXAvatarComponent, AXAvatarModule, AXBaseButtonMixin, AXBaseClickableMixin, AXBaseComponent, AXBaseComponentMixin, AXBaseItemButtonMixin, AXBasePageComponent, AXBaseSelectionDropdownMixin, AXBaseSelectionValueMixin, AXBaseTextBoxMixin, AXBaseValueComponentMixin, AXBaseValueDropdownMixin, AXButtonClickEvent, AXButtonComponent, AXButtonGroupComponent, AXButtonItemComponent, AXButtonModule, AXCalendarComponent,
|
|
6447
|
+
export { AXAlertButtonComponent, AXAlertComponent, AXAlertContentComponent, AXAlertFooterComponent, AXAlertModule, AXAlertSuffixComponent, AXAlertTitleComponent, AXAvatarComponent, AXAvatarModule, AXBadgeComponent, AXBadgeModule, AXBaseButtonMixin, AXBaseClickableMixin, AXBaseComponent, AXBaseComponentMixin, AXBaseItemButtonMixin, AXBasePageComponent, AXBaseSelectionDropdownMixin, AXBaseSelectionValueMixin, AXBaseTextBoxMixin, AXBaseValueComponentMixin, AXBaseValueDropdownMixin, AXButtonClickEvent, AXButtonComponent, AXButtonGroupComponent, AXButtonItemComponent, AXButtonModule, AXCalendarComponent, AXCalendarComponentMixin, AXCalendarModule, AXCarouselArrowsComponent, AXCarouselComponent, AXCarouselCore, AXCarouselItemComponent, AXCarouselModule, AXCarouselPagerComponent, AXCheckBoxComponent, AXCheckBoxModule, AXClickEvent, AXCommonModule, AXDataListComponent, AXDataListModule, AXDatepickerComponent, AXDatepickerModule, AXDecoratorPrefixComponent, AXDecoratorSuffixComponent, AXDialogComponent, AXDialogModule, AXDialogService, AXDrawerComponent, AXDrawerContainerComponent, AXDrawerContentComponent, AXDrawerModule, AXDropdownComponent, AXDropdownModule, AXDropdownPanelComponent, AXEditorDecoratorModule, AXEvent, AXFocusEvent, AXFormComponent, AXFormFieldComponent, AXFormHintComponent, AXFormModule, AXHtmlEvent, AXIconComponent, AXIconModule, AXInputMaskComponent, AXInputMaskModule, AXInteractiveComponenetMixin, AXItemClickEvent, AXLabelComponent, AXLabelModule, AXLoadingComponent, AXLoadingDirective, AXLoadingModule, AXLoadingService, AXLoadingSpinnerComponent, AXNumberBoxComponent, AXNumberBoxModule, AXPageCloseEvent, AXPageClosedPromise, AXPageClosing, AXPageComponent, AXPageFooterComponent, AXPageModule, AXPageResult, AXPasswordBoxComponent, AXPasswordBoxModule, AXPopoverComponent, AXPopoverModule, AXPopupComponent, AXPopupModule, AXPopupService, AXRangeSliderComponent, AXRangeSliderModule, AXResponsiveDirective, AXSelectBoxComponent, AXSelectBoxModule, AXSelectionListComponent, AXSelectionListModule, AXSelectionValueChangedEvent, AXSideMenuComponent, AXSideMenuModule, AXSizableComponentMixin, AXSwitchComponent, AXSwitchModule, AXTabContentDirective, AXTabItemComponent, AXTabStripChangedEvent, AXTabStripComponent, AXTabViewComponent, AXTabsComponent, AXTabsModule, AXTextBoxComponent, AXTextBoxModule, AXTimeBoxComponent, AXTimeBoxModule, AXToastComponent, AXToastModule, AXToastService, AXTooltipComponent, AXTooltipDirective, AXTooltipModule, AXValidationModule, AXValidationRuleComponent, AXValidationRules, AXValueChangedEvent, AX_DIRECTIONS, AX_LOCATIONS, AX_STYLE_TYPES, BASE_INPUTS, BASE_OUTPUT, TAB_META_KEY, _BaseComponenetMixin };
|
|
5912
6448
|
//# sourceMappingURL=acorex-components.js.map
|