@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,8 +1,8 @@
|
|
|
1
1
|
(function (global, factory) {
|
|
2
2
|
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@angular/cdk/coercion'), require('@acorex/core'), require('rxjs'), require('rxjs/operators'), require('@angular/common'), require('@angular/forms'), require('@angular/cdk/portal'), require('lodash'), require('@angular/cdk/overlay'), require('@angular/cdk/a11y'), require('@angular/cdk/drag-drop'), require('@angular/cdk/bidi'), require('ngx-mask'), require('@angular/animations')) :
|
|
3
3
|
typeof define === 'function' && define.amd ? define('@acorex/components', ['exports', '@angular/core', '@angular/cdk/coercion', '@acorex/core', 'rxjs', 'rxjs/operators', '@angular/common', '@angular/forms', '@angular/cdk/portal', 'lodash', '@angular/cdk/overlay', '@angular/cdk/a11y', '@angular/cdk/drag-drop', '@angular/cdk/bidi', 'ngx-mask', '@angular/animations'], factory) :
|
|
4
|
-
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global.acorex = global.acorex || {}, global.acorex.components = {}), global.ng.core, global.ng.cdk.coercion, global.i2, global.rxjs, global.rxjs.operators, global.ng.common, global.ng.forms, global.ng.cdk.portal, global._, global.ng.cdk.overlay, global.ng.cdk.a11y, global.ng.cdk.dragDrop, global.ng.cdk.bidi, global.i1$
|
|
5
|
-
}(this, (function (exports, i0, coercion, i2, rxjs, operators,
|
|
4
|
+
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global.acorex = global.acorex || {}, global.acorex.components = {}), global.ng.core, global.ng.cdk.coercion, global.i2, global.rxjs, global.rxjs.operators, global.ng.common, global.ng.forms, global.ng.cdk.portal, global._, global.ng.cdk.overlay, global.ng.cdk.a11y, global.ng.cdk.dragDrop, global.ng.cdk.bidi, global.i1$2, global.ng.animations));
|
|
5
|
+
}(this, (function (exports, i0, coercion, i2, rxjs, operators, i4, i3, i1, _, i1$1, i2$1, i3$1, i2$2, i1$2, animations) { 'use strict';
|
|
6
6
|
|
|
7
7
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
8
8
|
|
|
@@ -28,15 +28,15 @@
|
|
|
28
28
|
|
|
29
29
|
var i0__namespace = /*#__PURE__*/_interopNamespace(i0);
|
|
30
30
|
var i2__namespace = /*#__PURE__*/_interopNamespace(i2);
|
|
31
|
-
var
|
|
31
|
+
var i4__namespace = /*#__PURE__*/_interopNamespace(i4);
|
|
32
32
|
var i3__namespace = /*#__PURE__*/_interopNamespace(i3);
|
|
33
|
-
var i1__namespace$
|
|
33
|
+
var i1__namespace$1 = /*#__PURE__*/_interopNamespace(i1);
|
|
34
34
|
var ___default = /*#__PURE__*/_interopDefaultLegacy(_);
|
|
35
|
-
var i1__namespace
|
|
35
|
+
var i1__namespace = /*#__PURE__*/_interopNamespace(i1$1);
|
|
36
36
|
var i2__namespace$1 = /*#__PURE__*/_interopNamespace(i2$1);
|
|
37
37
|
var i3__namespace$1 = /*#__PURE__*/_interopNamespace(i3$1);
|
|
38
38
|
var i2__namespace$2 = /*#__PURE__*/_interopNamespace(i2$2);
|
|
39
|
-
var i1__namespace$
|
|
39
|
+
var i1__namespace$2 = /*#__PURE__*/_interopNamespace(i1$2);
|
|
40
40
|
|
|
41
41
|
/*! *****************************************************************************
|
|
42
42
|
Copyright (c) Microsoft Corporation.
|
|
@@ -366,7 +366,7 @@
|
|
|
366
366
|
for (var _i = 0; _i < arguments.length; _i++) {
|
|
367
367
|
args[_i] = arguments[_i];
|
|
368
368
|
}
|
|
369
|
-
this.id = "
|
|
369
|
+
this.id = "AX" + Math.round(Math.random() * Math.pow(10, 10));
|
|
370
370
|
_elementRef.set(this, void 0);
|
|
371
371
|
__classPrivateFieldSet(this, _elementRef, args[0]);
|
|
372
372
|
this._cdr = args[1];
|
|
@@ -389,14 +389,14 @@
|
|
|
389
389
|
return this._getHostElement().firstElementChild;
|
|
390
390
|
};
|
|
391
391
|
AXBaseComponent.prototype._onInternalInit = function () {
|
|
392
|
-
var _a;
|
|
393
392
|
this._getHostElement().__axContext__ = this;
|
|
394
|
-
this._getHostElement().setAttribute('data-id', this.id);
|
|
395
393
|
if (this.rtl == null) {
|
|
396
394
|
this.rtl = window.getComputedStyle(this._getHostElement(), null).getPropertyValue('direction') === 'rtl';
|
|
397
395
|
}
|
|
398
|
-
|
|
399
|
-
|
|
396
|
+
//TODO: Apply
|
|
397
|
+
// this._getHostElement().classList.add(this.rtl ? 'ax-rtl' : 'ax-ltr');
|
|
398
|
+
// this._getInnerElement()?.classList.add(this.rtl ? 'ax-rtl' : 'ax-ltr');
|
|
399
|
+
// this._getHostElement().setAttribute('data-id', this.id);
|
|
400
400
|
this.onInit();
|
|
401
401
|
};
|
|
402
402
|
AXBaseComponent.prototype._onInternalViewInit = function () {
|
|
@@ -577,7 +577,7 @@
|
|
|
577
577
|
var cssClasses = {
|
|
578
578
|
'ax-button-icon': !this.text,
|
|
579
579
|
'ax-state-disabled': this["disabled"],
|
|
580
|
-
'ax-state-selected': this.selected
|
|
580
|
+
'ax-state-selected': this.selected
|
|
581
581
|
};
|
|
582
582
|
cssClasses["ax-" + (this.color || 'primary') + (this.look ? '-' + this.look : '')] = true;
|
|
583
583
|
return cssClasses;
|
|
@@ -884,7 +884,12 @@
|
|
|
884
884
|
}(Base));
|
|
885
885
|
_disabled = new WeakMap(), _tabIndex = new WeakMap();
|
|
886
886
|
return Mixin;
|
|
887
|
-
}
|
|
887
|
+
}
|
|
888
|
+
var INTERACTIVE_INPUTS = [
|
|
889
|
+
'disabled',
|
|
890
|
+
'tabIndex',
|
|
891
|
+
];
|
|
892
|
+
var INTERACTIVE_OUTPUT = ['onBlur', 'onFocus'];
|
|
888
893
|
|
|
889
894
|
function _SelectionComponenetMixin(Base) {
|
|
890
895
|
return /** @class */ (function (_super) {
|
|
@@ -1378,7 +1383,7 @@
|
|
|
1378
1383
|
var AXBaseSelectionValueMixin = _SizableComponenetMixin(_InteractiveComponenetMixin(_DatalistComponenetMixin(_SelectionComponenetMixin(_ValueComponenetMixin(AXBaseComponent)))));
|
|
1379
1384
|
var AXBaseValueDropdownMixin = _SizableComponenetMixin(_InteractiveComponenetMixin(_DropdownComponenetMixin(_DatalistComponenetMixin(_ValueComponenetMixin(AXBaseComponent)))));
|
|
1380
1385
|
var AXBaseSelectionDropdownMixin = _SizableComponenetMixin(_InteractiveComponenetMixin(_DropdownComponenetMixin(_DatalistComponenetMixin(_SelectionComponenetMixin(_ValueComponenetMixin(AXBaseComponent))))));
|
|
1381
|
-
var
|
|
1386
|
+
var AXCalendarComponentMixin = _ClickableComponenetMixin(_InteractiveComponenetMixin(_ValueComponenetMixin(AXBaseComponent)));
|
|
1382
1387
|
|
|
1383
1388
|
/**
|
|
1384
1389
|
* Contains native event
|
|
@@ -1655,7 +1660,7 @@
|
|
|
1655
1660
|
}(AXBaseComponentMixin));
|
|
1656
1661
|
_visible = new WeakMap();
|
|
1657
1662
|
AXAlertComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXAlertComponent, deps: [{ token: i0__namespace.ElementRef }, { token: i0__namespace.ChangeDetectorRef }], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
1658
|
-
AXAlertComponent.ɵcmp = i0__namespace.ɵɵ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__namespace, 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:
|
|
1663
|
+
AXAlertComponent.ɵcmp = i0__namespace.ɵɵ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__namespace, 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__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush, encapsulation: i0__namespace.ViewEncapsulation.None });
|
|
1659
1664
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXAlertComponent, decorators: [{
|
|
1660
1665
|
type: i0.Component,
|
|
1661
1666
|
args: [{
|
|
@@ -1715,7 +1720,7 @@
|
|
|
1715
1720
|
return AXAlertButtonComponent;
|
|
1716
1721
|
}(AXBaseClickableMixin));
|
|
1717
1722
|
AXAlertButtonComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXAlertButtonComponent, deps: [{ token: i0__namespace.ElementRef }, { token: i0__namespace.ChangeDetectorRef }], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
1718
|
-
AXAlertButtonComponent.ɵcmp = i0__namespace.ɵɵ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__namespace, template: "\n {{title}}\n <i *ngIf=\"icon\" class=\"{{icon}}\"></i>\n ", isInline: true, directives: [{ type:
|
|
1723
|
+
AXAlertButtonComponent.ɵcmp = i0__namespace.ɵɵ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__namespace, template: "\n {{title}}\n <i *ngIf=\"icon\" class=\"{{icon}}\"></i>\n ", isInline: true, directives: [{ type: i4__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush, encapsulation: i0__namespace.ViewEncapsulation.None });
|
|
1719
1724
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXAlertButtonComponent, decorators: [{
|
|
1720
1725
|
type: i0.Component,
|
|
1721
1726
|
args: [{
|
|
@@ -1795,7 +1800,7 @@
|
|
|
1795
1800
|
}]
|
|
1796
1801
|
}] });
|
|
1797
1802
|
|
|
1798
|
-
var COMPONENT$
|
|
1803
|
+
var COMPONENT$n = [
|
|
1799
1804
|
AXAlertComponent,
|
|
1800
1805
|
AXAlertContentComponent,
|
|
1801
1806
|
AXAlertTitleComponent,
|
|
@@ -1803,7 +1808,7 @@
|
|
|
1803
1808
|
AXAlertFooterComponent,
|
|
1804
1809
|
AXAlertSuffixComponent
|
|
1805
1810
|
];
|
|
1806
|
-
var MODULES$
|
|
1811
|
+
var MODULES$n = [i4.CommonModule];
|
|
1807
1812
|
var AXAlertModule = /** @class */ (function () {
|
|
1808
1813
|
function AXAlertModule() {
|
|
1809
1814
|
}
|
|
@@ -1815,19 +1820,19 @@
|
|
|
1815
1820
|
AXAlertTitleComponent,
|
|
1816
1821
|
AXAlertButtonComponent,
|
|
1817
1822
|
AXAlertFooterComponent,
|
|
1818
|
-
AXAlertSuffixComponent], imports: [
|
|
1823
|
+
AXAlertSuffixComponent], imports: [i4.CommonModule], exports: [AXAlertComponent,
|
|
1819
1824
|
AXAlertContentComponent,
|
|
1820
1825
|
AXAlertTitleComponent,
|
|
1821
1826
|
AXAlertButtonComponent,
|
|
1822
1827
|
AXAlertFooterComponent,
|
|
1823
1828
|
AXAlertSuffixComponent] });
|
|
1824
|
-
AXAlertModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXAlertModule, providers: [], imports: [__spreadArray([], __read(MODULES$
|
|
1829
|
+
AXAlertModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXAlertModule, providers: [], imports: [__spreadArray([], __read(MODULES$n))] });
|
|
1825
1830
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXAlertModule, decorators: [{
|
|
1826
1831
|
type: i0.NgModule,
|
|
1827
1832
|
args: [{
|
|
1828
|
-
declarations: __spreadArray([], __read(COMPONENT$
|
|
1829
|
-
imports: __spreadArray([], __read(MODULES$
|
|
1830
|
-
exports: __spreadArray([], __read(COMPONENT$
|
|
1833
|
+
declarations: __spreadArray([], __read(COMPONENT$n)),
|
|
1834
|
+
imports: __spreadArray([], __read(MODULES$n)),
|
|
1835
|
+
exports: __spreadArray([], __read(COMPONENT$n)),
|
|
1831
1836
|
providers: [],
|
|
1832
1837
|
}]
|
|
1833
1838
|
}] });
|
|
@@ -1901,22 +1906,80 @@
|
|
|
1901
1906
|
type: i0.Input
|
|
1902
1907
|
}] } });
|
|
1903
1908
|
|
|
1904
|
-
var COMPONENT$
|
|
1905
|
-
var MODULES$
|
|
1909
|
+
var COMPONENT$m = [AXAvatarComponent];
|
|
1910
|
+
var MODULES$m = [i4.CommonModule];
|
|
1906
1911
|
var AXAvatarModule = /** @class */ (function () {
|
|
1907
1912
|
function AXAvatarModule() {
|
|
1908
1913
|
}
|
|
1909
1914
|
return AXAvatarModule;
|
|
1910
1915
|
}());
|
|
1911
1916
|
AXAvatarModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXAvatarModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
|
|
1912
|
-
AXAvatarModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXAvatarModule, declarations: [AXAvatarComponent], imports: [
|
|
1913
|
-
AXAvatarModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXAvatarModule, providers: [], imports: [__spreadArray([], __read(MODULES$
|
|
1917
|
+
AXAvatarModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXAvatarModule, declarations: [AXAvatarComponent], imports: [i4.CommonModule], exports: [AXAvatarComponent] });
|
|
1918
|
+
AXAvatarModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXAvatarModule, providers: [], imports: [__spreadArray([], __read(MODULES$m))] });
|
|
1914
1919
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXAvatarModule, decorators: [{
|
|
1915
1920
|
type: i0.NgModule,
|
|
1916
1921
|
args: [{
|
|
1917
|
-
declarations: __spreadArray([], __read(COMPONENT$
|
|
1918
|
-
imports: __spreadArray([], __read(MODULES$
|
|
1919
|
-
exports: __spreadArray([], __read(COMPONENT$
|
|
1922
|
+
declarations: __spreadArray([], __read(COMPONENT$m)),
|
|
1923
|
+
imports: __spreadArray([], __read(MODULES$m)),
|
|
1924
|
+
exports: __spreadArray([], __read(COMPONENT$m)),
|
|
1925
|
+
providers: [],
|
|
1926
|
+
}]
|
|
1927
|
+
}] });
|
|
1928
|
+
|
|
1929
|
+
var AXBadgeComponent = /** @class */ (function (_super) {
|
|
1930
|
+
__extends(AXBadgeComponent, _super);
|
|
1931
|
+
function AXBadgeComponent(elementRef, cdr) {
|
|
1932
|
+
var _this = _super.call(this, elementRef, cdr) || this;
|
|
1933
|
+
_this.text = '';
|
|
1934
|
+
_this.color = 'light';
|
|
1935
|
+
return _this;
|
|
1936
|
+
//TODO: ax-badge
|
|
1937
|
+
}
|
|
1938
|
+
Object.defineProperty(AXBadgeComponent.prototype, "__hostClass", {
|
|
1939
|
+
get: function () {
|
|
1940
|
+
return ["ax-bg-" + this.color + "-100", "ax-text-" + this.color + "-600"].join(' ');
|
|
1941
|
+
},
|
|
1942
|
+
enumerable: false,
|
|
1943
|
+
configurable: true
|
|
1944
|
+
});
|
|
1945
|
+
return AXBadgeComponent;
|
|
1946
|
+
}(AXBaseComponentMixin));
|
|
1947
|
+
AXBadgeComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXBadgeComponent, deps: [{ token: i0__namespace.ElementRef }, { token: i0__namespace.ChangeDetectorRef }], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
1948
|
+
AXBadgeComponent.ɵcmp = i0__namespace.ɵɵ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__namespace, 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__namespace.ChangeDetectionStrategy.OnPush, encapsulation: i0__namespace.ViewEncapsulation.None });
|
|
1949
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXBadgeComponent, decorators: [{
|
|
1950
|
+
type: i0.Component,
|
|
1951
|
+
args: [{
|
|
1952
|
+
selector: 'ax-badge',
|
|
1953
|
+
templateUrl: './badge.component.html',
|
|
1954
|
+
changeDetection: i0.ChangeDetectionStrategy.OnPush,
|
|
1955
|
+
encapsulation: i0.ViewEncapsulation.None,
|
|
1956
|
+
host: { class: 'ax-badge' }
|
|
1957
|
+
}]
|
|
1958
|
+
}], ctorParameters: function () { return [{ type: i0__namespace.ElementRef }, { type: i0__namespace.ChangeDetectorRef }]; }, propDecorators: { text: [{
|
|
1959
|
+
type: i0.Input
|
|
1960
|
+
}], color: [{
|
|
1961
|
+
type: i0.Input
|
|
1962
|
+
}], __hostClass: [{
|
|
1963
|
+
type: i0.HostBinding,
|
|
1964
|
+
args: ['class']
|
|
1965
|
+
}] } });
|
|
1966
|
+
|
|
1967
|
+
var COMPONENT$l = [AXBadgeComponent];
|
|
1968
|
+
var MODULES$l = [i4.CommonModule];
|
|
1969
|
+
var AXBadgeModule = /** @class */ (function () {
|
|
1970
|
+
function AXBadgeModule() {
|
|
1971
|
+
}
|
|
1972
|
+
return AXBadgeModule;
|
|
1973
|
+
}());
|
|
1974
|
+
AXBadgeModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXBadgeModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
|
|
1975
|
+
AXBadgeModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXBadgeModule, declarations: [AXBadgeComponent], imports: [i4.CommonModule], exports: [AXBadgeComponent] });
|
|
1976
|
+
AXBadgeModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXBadgeModule, providers: [], imports: [__spreadArray([], __read(MODULES$l))] });
|
|
1977
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXBadgeModule, decorators: [{
|
|
1978
|
+
type: i0.NgModule,
|
|
1979
|
+
args: [{
|
|
1980
|
+
declarations: __spreadArray([], __read(COMPONENT$l)),
|
|
1981
|
+
imports: __spreadArray([], __read(MODULES$l)),
|
|
1982
|
+
exports: __spreadArray([], __read(COMPONENT$l)),
|
|
1920
1983
|
providers: [],
|
|
1921
1984
|
}]
|
|
1922
1985
|
}] });
|
|
@@ -1958,14 +2021,8 @@
|
|
|
1958
2021
|
};
|
|
1959
2022
|
Object.defineProperty(AXButtonComponent.prototype, "__hostClass", {
|
|
1960
2023
|
get: function () {
|
|
1961
|
-
|
|
1962
|
-
|
|
1963
|
-
enumerable: false,
|
|
1964
|
-
configurable: true
|
|
1965
|
-
});
|
|
1966
|
-
Object.defineProperty(AXButtonComponent.prototype, "__tabindex", {
|
|
1967
|
-
get: function () {
|
|
1968
|
-
return this.tabIndex;
|
|
2024
|
+
var _a;
|
|
2025
|
+
return (_a = Object.entries(this._classes).filter(function (c) { return c[1]; }).map(function (c) { return c[0]; })).concat.apply(_a, ["ax-" + this.size]).join(' ');
|
|
1969
2026
|
},
|
|
1970
2027
|
enumerable: false,
|
|
1971
2028
|
configurable: true
|
|
@@ -1973,7 +2030,7 @@
|
|
|
1973
2030
|
return AXButtonComponent;
|
|
1974
2031
|
}(AXBaseButtonMixin));
|
|
1975
2032
|
AXButtonComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXButtonComponent, deps: [{ token: i0__namespace.ElementRef }, { token: i0__namespace.ChangeDetectorRef }], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
1976
|
-
AXButtonComponent.ɵcmp = i0__namespace.ɵɵ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"
|
|
2033
|
+
AXButtonComponent.ɵcmp = i0__namespace.ɵɵ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__namespace, 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__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush, encapsulation: i0__namespace.ViewEncapsulation.None });
|
|
1977
2034
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXButtonComponent, decorators: [{
|
|
1978
2035
|
type: i0.Component,
|
|
1979
2036
|
args: [{
|
|
@@ -2000,9 +2057,6 @@
|
|
|
2000
2057
|
}], __hostClass: [{
|
|
2001
2058
|
type: i0.HostBinding,
|
|
2002
2059
|
args: ['class']
|
|
2003
|
-
}], __tabindex: [{
|
|
2004
|
-
type: i0.HostBinding,
|
|
2005
|
-
args: ['tabindex']
|
|
2006
2060
|
}] } });
|
|
2007
2061
|
|
|
2008
2062
|
var AXButtonGroupComponent = /** @class */ (function (_super) {
|
|
@@ -2183,7 +2237,7 @@
|
|
|
2183
2237
|
return AXButtonItemComponent;
|
|
2184
2238
|
}(AXBaseItemButtonMixin));
|
|
2185
2239
|
AXButtonItemComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXButtonItemComponent, deps: [{ token: i0__namespace.ElementRef }, { token: i0__namespace.ChangeDetectorRef }], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
2186
|
-
AXButtonItemComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: AXButtonItemComponent, selector: "ax-button-item", inputs: { text: "text", tooltip: "tooltip", selected: "selected", seperated: "seperated", name: "name", data: "data", color: "color" }, host: { listeners: { "click": "__hostClick($event)" }, properties: { "class": "this.__hostClass" }, styleAttribute: "cssStyle" }, usesInheritance: true, ngImport: i0__namespace, template: "\n <ng-content select=\"ax-prefix\">\n </ng-content>\n <ng-content select=\"ax-icon\">\n </ng-content>\n <span *ngIf=\"text\">{{text}}</span>\n <ng-content select=\"ax-suffix\">\n </ng-content>\n ", isInline: true, directives: [{ type:
|
|
2240
|
+
AXButtonItemComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: AXButtonItemComponent, selector: "ax-button-item", inputs: { text: "text", tooltip: "tooltip", selected: "selected", seperated: "seperated", name: "name", data: "data", color: "color" }, host: { listeners: { "click": "__hostClick($event)" }, properties: { "class": "this.__hostClass" }, styleAttribute: "cssStyle" }, usesInheritance: true, ngImport: i0__namespace, template: "\n <ng-content select=\"ax-prefix\">\n </ng-content>\n <ng-content select=\"ax-icon\">\n </ng-content>\n <span *ngIf=\"text\">{{text}}</span>\n <ng-content select=\"ax-suffix\">\n </ng-content>\n ", isInline: true, directives: [{ type: i4__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush, encapsulation: i0__namespace.ViewEncapsulation.None });
|
|
2187
2241
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXButtonItemComponent, decorators: [{
|
|
2188
2242
|
type: i0.Component,
|
|
2189
2243
|
args: [{
|
|
@@ -2223,12 +2277,12 @@
|
|
|
2223
2277
|
return AXDecoratorPrefixComponent;
|
|
2224
2278
|
}(AXBaseComponentMixin));
|
|
2225
2279
|
AXDecoratorPrefixComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXDecoratorPrefixComponent, deps: [{ token: i0__namespace.ElementRef }, { token: i0__namespace.ChangeDetectorRef }], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
2226
|
-
AXDecoratorPrefixComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: AXDecoratorPrefixComponent, selector: "ax-prefix", host: { classAttribute: "ax-prefix" }, usesInheritance: true, ngImport: i0__namespace, template: "\n <ng-content select=\"ax-button,ax-loading,ax-icon\">\n </ng-content>\n ", isInline: true, changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush, encapsulation: i0__namespace.ViewEncapsulation.None });
|
|
2280
|
+
AXDecoratorPrefixComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: AXDecoratorPrefixComponent, selector: "ax-prefix", host: { classAttribute: "ax-prefix" }, usesInheritance: true, ngImport: i0__namespace, template: "\n <ng-content select=\"ax-button,ax-loading,ax-icon,ax-badge\">\n </ng-content>\n ", isInline: true, changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush, encapsulation: i0__namespace.ViewEncapsulation.None });
|
|
2227
2281
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXDecoratorPrefixComponent, decorators: [{
|
|
2228
2282
|
type: i0.Component,
|
|
2229
2283
|
args: [{
|
|
2230
2284
|
selector: 'ax-prefix',
|
|
2231
|
-
template: "\n <ng-content select=\"ax-button,ax-loading,ax-icon\">\n </ng-content>\n ",
|
|
2285
|
+
template: "\n <ng-content select=\"ax-button,ax-loading,ax-icon,ax-badge\">\n </ng-content>\n ",
|
|
2232
2286
|
changeDetection: i0.ChangeDetectionStrategy.OnPush,
|
|
2233
2287
|
encapsulation: i0.ViewEncapsulation.None,
|
|
2234
2288
|
host: { class: 'ax-prefix' }
|
|
@@ -2243,34 +2297,34 @@
|
|
|
2243
2297
|
return AXDecoratorSuffixComponent;
|
|
2244
2298
|
}(AXBaseComponentMixin));
|
|
2245
2299
|
AXDecoratorSuffixComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXDecoratorSuffixComponent, deps: [{ token: i0__namespace.ElementRef }, { token: i0__namespace.ChangeDetectorRef }], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
2246
|
-
AXDecoratorSuffixComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: AXDecoratorSuffixComponent, selector: "ax-suffix", host: { classAttribute: "ax-suffix" }, usesInheritance: true, ngImport: i0__namespace, template: "\n <ng-content select=\"ax-button
|
|
2300
|
+
AXDecoratorSuffixComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: AXDecoratorSuffixComponent, selector: "ax-suffix", host: { classAttribute: "ax-suffix" }, usesInheritance: true, ngImport: i0__namespace, template: "\n <ng-content select=\"ax-button,ax-icon,ax-badge\">\n </ng-content>\n ", isInline: true, changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush, encapsulation: i0__namespace.ViewEncapsulation.None });
|
|
2247
2301
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXDecoratorSuffixComponent, decorators: [{
|
|
2248
2302
|
type: i0.Component,
|
|
2249
2303
|
args: [{
|
|
2250
2304
|
selector: 'ax-suffix',
|
|
2251
|
-
template: "\n <ng-content select=\"ax-button
|
|
2305
|
+
template: "\n <ng-content select=\"ax-button,ax-icon,ax-badge\">\n </ng-content>\n ",
|
|
2252
2306
|
changeDetection: i0.ChangeDetectionStrategy.OnPush,
|
|
2253
2307
|
encapsulation: i0.ViewEncapsulation.None,
|
|
2254
2308
|
host: { class: 'ax-suffix' }
|
|
2255
2309
|
}]
|
|
2256
2310
|
}], ctorParameters: function () { return [{ type: i0__namespace.ElementRef }, { type: i0__namespace.ChangeDetectorRef }]; } });
|
|
2257
2311
|
|
|
2258
|
-
var COMPONENT$
|
|
2259
|
-
var MODULES$
|
|
2312
|
+
var COMPONENT$k = [AXDecoratorPrefixComponent, AXDecoratorSuffixComponent];
|
|
2313
|
+
var MODULES$k = [i4.CommonModule];
|
|
2260
2314
|
var AXEditorDecoratorModule = /** @class */ (function () {
|
|
2261
2315
|
function AXEditorDecoratorModule() {
|
|
2262
2316
|
}
|
|
2263
2317
|
return AXEditorDecoratorModule;
|
|
2264
2318
|
}());
|
|
2265
2319
|
AXEditorDecoratorModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXEditorDecoratorModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
|
|
2266
|
-
AXEditorDecoratorModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXEditorDecoratorModule, declarations: [AXDecoratorPrefixComponent, AXDecoratorSuffixComponent], imports: [
|
|
2267
|
-
AXEditorDecoratorModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXEditorDecoratorModule, providers: [], imports: [__spreadArray([], __read(MODULES$
|
|
2320
|
+
AXEditorDecoratorModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXEditorDecoratorModule, declarations: [AXDecoratorPrefixComponent, AXDecoratorSuffixComponent], imports: [i4.CommonModule], exports: [AXDecoratorPrefixComponent, AXDecoratorSuffixComponent] });
|
|
2321
|
+
AXEditorDecoratorModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXEditorDecoratorModule, providers: [], imports: [__spreadArray([], __read(MODULES$k))] });
|
|
2268
2322
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXEditorDecoratorModule, decorators: [{
|
|
2269
2323
|
type: i0.NgModule,
|
|
2270
2324
|
args: [{
|
|
2271
|
-
declarations: __spreadArray([], __read(COMPONENT$
|
|
2272
|
-
imports: __spreadArray([], __read(MODULES$
|
|
2273
|
-
exports: __spreadArray([], __read(COMPONENT$
|
|
2325
|
+
declarations: __spreadArray([], __read(COMPONENT$k)),
|
|
2326
|
+
imports: __spreadArray([], __read(MODULES$k)),
|
|
2327
|
+
exports: __spreadArray([], __read(COMPONENT$k)),
|
|
2274
2328
|
providers: [],
|
|
2275
2329
|
}]
|
|
2276
2330
|
}] });
|
|
@@ -2306,32 +2360,32 @@
|
|
|
2306
2360
|
args: ['class']
|
|
2307
2361
|
}] } });
|
|
2308
2362
|
|
|
2309
|
-
var COMPONENT$
|
|
2310
|
-
var MODULES$
|
|
2363
|
+
var COMPONENT$j = [AXIconComponent];
|
|
2364
|
+
var MODULES$j = [i4.CommonModule];
|
|
2311
2365
|
var AXIconModule = /** @class */ (function () {
|
|
2312
2366
|
function AXIconModule() {
|
|
2313
2367
|
}
|
|
2314
2368
|
return AXIconModule;
|
|
2315
2369
|
}());
|
|
2316
2370
|
AXIconModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXIconModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
|
|
2317
|
-
AXIconModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXIconModule, declarations: [AXIconComponent], imports: [
|
|
2318
|
-
AXIconModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXIconModule, providers: [], imports: [__spreadArray([], __read(MODULES$
|
|
2371
|
+
AXIconModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXIconModule, declarations: [AXIconComponent], imports: [i4.CommonModule], exports: [AXIconComponent] });
|
|
2372
|
+
AXIconModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXIconModule, providers: [], imports: [__spreadArray([], __read(MODULES$j))] });
|
|
2319
2373
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXIconModule, decorators: [{
|
|
2320
2374
|
type: i0.NgModule,
|
|
2321
2375
|
args: [{
|
|
2322
|
-
declarations: __spreadArray([], __read(COMPONENT$
|
|
2323
|
-
imports: __spreadArray([], __read(MODULES$
|
|
2324
|
-
exports: __spreadArray([], __read(COMPONENT$
|
|
2376
|
+
declarations: __spreadArray([], __read(COMPONENT$j)),
|
|
2377
|
+
imports: __spreadArray([], __read(MODULES$j)),
|
|
2378
|
+
exports: __spreadArray([], __read(COMPONENT$j)),
|
|
2325
2379
|
providers: [],
|
|
2326
2380
|
}]
|
|
2327
2381
|
}] });
|
|
2328
2382
|
|
|
2329
|
-
var COMPONENT$
|
|
2383
|
+
var COMPONENT$i = [
|
|
2330
2384
|
AXButtonComponent,
|
|
2331
2385
|
AXButtonItemComponent,
|
|
2332
2386
|
AXButtonGroupComponent,
|
|
2333
2387
|
];
|
|
2334
|
-
var MODULES$
|
|
2388
|
+
var MODULES$i = [i4.CommonModule, AXIconModule, AXEditorDecoratorModule];
|
|
2335
2389
|
var AXButtonModule = /** @class */ (function () {
|
|
2336
2390
|
function AXButtonModule() {
|
|
2337
2391
|
}
|
|
@@ -2340,16 +2394,16 @@
|
|
|
2340
2394
|
AXButtonModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXButtonModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
|
|
2341
2395
|
AXButtonModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXButtonModule, declarations: [AXButtonComponent,
|
|
2342
2396
|
AXButtonItemComponent,
|
|
2343
|
-
AXButtonGroupComponent], imports: [
|
|
2397
|
+
AXButtonGroupComponent], imports: [i4.CommonModule, AXIconModule, AXEditorDecoratorModule], exports: [AXButtonComponent,
|
|
2344
2398
|
AXButtonItemComponent,
|
|
2345
2399
|
AXButtonGroupComponent] });
|
|
2346
|
-
AXButtonModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXButtonModule, providers: [], imports: [[MODULES$
|
|
2400
|
+
AXButtonModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXButtonModule, providers: [], imports: [[MODULES$i]] });
|
|
2347
2401
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXButtonModule, decorators: [{
|
|
2348
2402
|
type: i0.NgModule,
|
|
2349
2403
|
args: [{
|
|
2350
|
-
imports: [MODULES$
|
|
2351
|
-
exports: [COMPONENT$
|
|
2352
|
-
declarations: [COMPONENT$
|
|
2404
|
+
imports: [MODULES$i],
|
|
2405
|
+
exports: [COMPONENT$i],
|
|
2406
|
+
declarations: [COMPONENT$i],
|
|
2353
2407
|
providers: [],
|
|
2354
2408
|
}]
|
|
2355
2409
|
}] });
|
|
@@ -2358,74 +2412,331 @@
|
|
|
2358
2412
|
__extends(AXCalendarComponent, _super);
|
|
2359
2413
|
function AXCalendarComponent(elementRef, cdr) {
|
|
2360
2414
|
var _this = _super.call(this, elementRef, cdr) || this;
|
|
2361
|
-
_this.
|
|
2362
|
-
_this.
|
|
2363
|
-
_this.
|
|
2364
|
-
_this.
|
|
2365
|
-
_this.
|
|
2366
|
-
|
|
2367
|
-
|
|
2368
|
-
|
|
2369
|
-
'April',
|
|
2370
|
-
'May',
|
|
2371
|
-
'June',
|
|
2372
|
-
'July',
|
|
2373
|
-
'August',
|
|
2374
|
-
'September',
|
|
2375
|
-
'October',
|
|
2376
|
-
'November',
|
|
2377
|
-
'December',
|
|
2378
|
-
];
|
|
2379
|
-
_this.createYears();
|
|
2415
|
+
_this.cdr = cdr;
|
|
2416
|
+
_this._today = new i2.AXDateTime(new Date());
|
|
2417
|
+
_this._navText = '';
|
|
2418
|
+
_this._todayText = '';
|
|
2419
|
+
_this._slots = [];
|
|
2420
|
+
_this._activeView = 'days';
|
|
2421
|
+
_this.depthChange = new i0.EventEmitter();
|
|
2422
|
+
_this._depth = 'days';
|
|
2380
2423
|
return _this;
|
|
2381
2424
|
}
|
|
2382
|
-
AXCalendarComponent.prototype
|
|
2425
|
+
Object.defineProperty(AXCalendarComponent.prototype, "_viewRange", {
|
|
2426
|
+
get: function () {
|
|
2427
|
+
var current = this._viewStartDate || this._today;
|
|
2428
|
+
switch (this.activeView) {
|
|
2429
|
+
case 'years':
|
|
2430
|
+
var y = current.startOf('year').year;
|
|
2431
|
+
var min = y - (y % 10) - 1;
|
|
2432
|
+
var max = min + 11;
|
|
2433
|
+
return new i2.AXDateTimeRange(i2.AXDateTime.convert(new Date(min, 0), this._today.calendar.name()), i2.AXDateTime.convert(new Date(max, 0), this._today.calendar.name()));
|
|
2434
|
+
case 'months':
|
|
2435
|
+
//TODO: check add month function
|
|
2436
|
+
return new i2.AXDateTimeRange(current.startOf('year'), current.endOf('year').add('month', 4).add('day', -1));
|
|
2437
|
+
default:
|
|
2438
|
+
//return new AXDateTimeRange(current.startOf('month').startOf('week'), current.endOf('month').endOf('week'));
|
|
2439
|
+
return new i2.AXDateTimeRange(current.startOf('month'), current.endOf('month'));
|
|
2440
|
+
}
|
|
2441
|
+
},
|
|
2442
|
+
enumerable: false,
|
|
2443
|
+
configurable: true
|
|
2444
|
+
});
|
|
2445
|
+
Object.defineProperty(AXCalendarComponent.prototype, "activeView", {
|
|
2446
|
+
get: function () {
|
|
2447
|
+
return this._activeView;
|
|
2448
|
+
},
|
|
2449
|
+
set: function (v) {
|
|
2450
|
+
this._activeView = v;
|
|
2451
|
+
this._genearteSlots();
|
|
2452
|
+
},
|
|
2453
|
+
enumerable: false,
|
|
2454
|
+
configurable: true
|
|
2455
|
+
});
|
|
2456
|
+
Object.defineProperty(AXCalendarComponent.prototype, "depth", {
|
|
2457
|
+
get: function () {
|
|
2458
|
+
return this._depth;
|
|
2459
|
+
},
|
|
2460
|
+
set: function (v) {
|
|
2461
|
+
this._depth = v;
|
|
2462
|
+
this._activeView = v;
|
|
2463
|
+
this.depthChange.emit(v);
|
|
2464
|
+
this._genearteSlots();
|
|
2465
|
+
},
|
|
2466
|
+
enumerable: false,
|
|
2467
|
+
configurable: true
|
|
2468
|
+
});
|
|
2469
|
+
Object.defineProperty(AXCalendarComponent.prototype, "min", {
|
|
2470
|
+
get: function () {
|
|
2471
|
+
return this._min;
|
|
2472
|
+
},
|
|
2473
|
+
set: function (v) {
|
|
2474
|
+
this._min = v;
|
|
2475
|
+
},
|
|
2476
|
+
enumerable: false,
|
|
2477
|
+
configurable: true
|
|
2478
|
+
});
|
|
2479
|
+
Object.defineProperty(AXCalendarComponent.prototype, "max", {
|
|
2480
|
+
get: function () {
|
|
2481
|
+
return this._max;
|
|
2482
|
+
},
|
|
2483
|
+
set: function (v) {
|
|
2484
|
+
this._max = v;
|
|
2485
|
+
},
|
|
2486
|
+
enumerable: false,
|
|
2487
|
+
configurable: true
|
|
2488
|
+
});
|
|
2489
|
+
Object.defineProperty(AXCalendarComponent.prototype, "disabledDates", {
|
|
2490
|
+
get: function () {
|
|
2491
|
+
return this._disabledDates;
|
|
2492
|
+
},
|
|
2493
|
+
set: function (v) {
|
|
2494
|
+
this._disabledDates = v;
|
|
2495
|
+
},
|
|
2496
|
+
enumerable: false,
|
|
2497
|
+
configurable: true
|
|
2498
|
+
});
|
|
2499
|
+
Object.defineProperty(AXCalendarComponent.prototype, "holidayDates", {
|
|
2500
|
+
get: function () {
|
|
2501
|
+
return this._holidayDates;
|
|
2502
|
+
},
|
|
2503
|
+
set: function (v) {
|
|
2504
|
+
this._holidayDates = v;
|
|
2505
|
+
},
|
|
2506
|
+
enumerable: false,
|
|
2507
|
+
configurable: true
|
|
2508
|
+
});
|
|
2509
|
+
AXCalendarComponent.prototype.onInit = function () {
|
|
2510
|
+
this.goToday();
|
|
2383
2511
|
};
|
|
2384
|
-
AXCalendarComponent.prototype.
|
|
2385
|
-
var
|
|
2386
|
-
|
|
2387
|
-
|
|
2388
|
-
|
|
2512
|
+
AXCalendarComponent.prototype._genearteSlots = function () {
|
|
2513
|
+
var _this = this;
|
|
2514
|
+
if (!this._viewStartDate)
|
|
2515
|
+
return;
|
|
2516
|
+
var vr = this._viewRange;
|
|
2517
|
+
// year view
|
|
2518
|
+
if (this.activeView == 'years') {
|
|
2519
|
+
var a = vr.enumurate('year');
|
|
2520
|
+
this._slots = a.map(function (d, i) {
|
|
2521
|
+
var r = {};
|
|
2522
|
+
r.date = d.date;
|
|
2523
|
+
r.text = d.format('YYYY');
|
|
2524
|
+
r.disabled = (_this.min && d.compare(_this.min, 'year') == -1) || (_this.max && d.compare(_this.max, 'year') == 1);
|
|
2525
|
+
if (r.disabled) {
|
|
2526
|
+
r.cssClass = {
|
|
2527
|
+
'ax-state-disabled': r.disabled,
|
|
2528
|
+
};
|
|
2529
|
+
}
|
|
2530
|
+
else {
|
|
2531
|
+
r.cssClass = {
|
|
2532
|
+
'ax-state-today': d.equal(_this._today, 'year'),
|
|
2533
|
+
'ax-state-selected': _this.value && _this.depth == 'years' && d.equal(_this.value, 'year'),
|
|
2534
|
+
};
|
|
2535
|
+
}
|
|
2536
|
+
return r;
|
|
2537
|
+
});
|
|
2538
|
+
this._navText = vr.startTime.year + " - " + vr.endTime.year;
|
|
2539
|
+
this._todayText = this._today.format('YYYY');
|
|
2540
|
+
}
|
|
2541
|
+
// month view
|
|
2542
|
+
else if (this.activeView == 'months') {
|
|
2543
|
+
var a = vr.enumurate('month');
|
|
2544
|
+
this._slots = a.map(function (d, i) {
|
|
2545
|
+
var r = {};
|
|
2546
|
+
r.date = d.date;
|
|
2547
|
+
r.text = d.format('MMM');
|
|
2548
|
+
r.tooltip = d.format('MMMM YYYY');
|
|
2549
|
+
r.disabled = (_this.min && d.compare(_this.min, 'month') == -1) || (_this.max && d.compare(_this.max, 'month') == 1);
|
|
2550
|
+
if (r.disabled) {
|
|
2551
|
+
r.cssClass = {
|
|
2552
|
+
'ax-state-disabled': r.disabled,
|
|
2553
|
+
};
|
|
2554
|
+
}
|
|
2555
|
+
else {
|
|
2556
|
+
r.cssClass = {
|
|
2557
|
+
'ax-state-today': d.equal(_this._today, 'month'),
|
|
2558
|
+
'ax-state-selected': _this.value && _this.depth == 'months' && d.equal(_this.value, 'month'),
|
|
2559
|
+
'ax-state-other': d.year != _this._viewStartDate.year
|
|
2560
|
+
};
|
|
2561
|
+
}
|
|
2562
|
+
return r;
|
|
2563
|
+
});
|
|
2564
|
+
this._navText = this._viewStartDate.format('YYYY');
|
|
2565
|
+
this._todayText = this._today.format('MMMM YYYY');
|
|
2389
2566
|
}
|
|
2567
|
+
// day view
|
|
2568
|
+
else {
|
|
2569
|
+
var a = vr.enumurate('day');
|
|
2570
|
+
this._slots = a.map(function (d, i) {
|
|
2571
|
+
var r = {};
|
|
2572
|
+
r.date = d.date;
|
|
2573
|
+
r.text = d.dayOfMonth;
|
|
2574
|
+
r.tooltip = d.format();
|
|
2575
|
+
r.disabled = (_this.min && d.compare(_this.min, 'day') == -1) || (_this.max && d.compare(_this.max, 'day') == 1);
|
|
2576
|
+
if (r.disabled || _this.isDisabled(d)) {
|
|
2577
|
+
r.cssClass = {
|
|
2578
|
+
'ax-state-disabled': true,
|
|
2579
|
+
};
|
|
2580
|
+
}
|
|
2581
|
+
else {
|
|
2582
|
+
r.cssClass = {
|
|
2583
|
+
'ax-state-today': d.equal(_this._today, 'day'),
|
|
2584
|
+
'ax-state-selected': _this.value && d.equal(_this.value, 'day'),
|
|
2585
|
+
'ax-state-holiday': _this.isHoliday(d) || _this.isWeekend(d),
|
|
2586
|
+
// 'ax-state-event-info': d.dayOfMonth == 12,
|
|
2587
|
+
// 'ax-state-event': d.dayOfMonth == 12,
|
|
2588
|
+
};
|
|
2589
|
+
}
|
|
2590
|
+
r.cssClass["ax-col-start-" + vr.startTime.dayOfWeek] = i == 0;
|
|
2591
|
+
return r;
|
|
2592
|
+
});
|
|
2593
|
+
this._navText = this._viewStartDate.format('MMMM YYYY');
|
|
2594
|
+
this._todayText = this._today.format('DDDD, MMMM dd, YYYY');
|
|
2595
|
+
}
|
|
2596
|
+
};
|
|
2597
|
+
AXCalendarComponent.prototype._handlePrevClick = function (e) {
|
|
2598
|
+
this.prev();
|
|
2599
|
+
};
|
|
2600
|
+
AXCalendarComponent.prototype._handleNextClick = function (e) {
|
|
2601
|
+
this.next();
|
|
2602
|
+
};
|
|
2603
|
+
AXCalendarComponent.prototype._handleSlotClick = function (slot) {
|
|
2604
|
+
if (slot.disabled || this.disabled)
|
|
2605
|
+
return;
|
|
2606
|
+
if (this.activeView == 'days') {
|
|
2607
|
+
this.value = slot.date;
|
|
2608
|
+
}
|
|
2609
|
+
else if (this.activeView == 'months' && this.depth == 'days') {
|
|
2610
|
+
this.activeView = 'days';
|
|
2611
|
+
this.navTo(slot.date);
|
|
2612
|
+
}
|
|
2613
|
+
else if (this.activeView == 'months' && this.depth == 'months') {
|
|
2614
|
+
this.value = slot.date;
|
|
2615
|
+
}
|
|
2616
|
+
else if (this.activeView == 'years' && (this.depth == 'days' || this.depth == 'months')) {
|
|
2617
|
+
this.activeView = 'months';
|
|
2618
|
+
this.navTo(slot.date);
|
|
2619
|
+
}
|
|
2620
|
+
else if (this.activeView == 'years' && this.depth == 'years') {
|
|
2621
|
+
this.value = slot.date;
|
|
2622
|
+
}
|
|
2623
|
+
};
|
|
2624
|
+
AXCalendarComponent.prototype._handleNavClick = function (e) {
|
|
2625
|
+
if (this.activeView == 'days')
|
|
2626
|
+
this.activeView = 'months';
|
|
2627
|
+
else if (this.activeView == 'months')
|
|
2628
|
+
this.activeView = 'years';
|
|
2629
|
+
};
|
|
2630
|
+
AXCalendarComponent.prototype._onValueChanged = function (oldValue, newValue) {
|
|
2631
|
+
this._genearteSlots();
|
|
2632
|
+
};
|
|
2633
|
+
AXCalendarComponent.prototype._handleGoToday = function () {
|
|
2634
|
+
this.value = this._today.date;
|
|
2635
|
+
this.goToday();
|
|
2636
|
+
};
|
|
2637
|
+
AXCalendarComponent.prototype.next = function () {
|
|
2638
|
+
this._navNextPrev(false);
|
|
2639
|
+
};
|
|
2640
|
+
AXCalendarComponent.prototype.prev = function () {
|
|
2641
|
+
this._navNextPrev(true);
|
|
2642
|
+
};
|
|
2643
|
+
AXCalendarComponent.prototype._navNextPrev = function (prev) {
|
|
2644
|
+
var sign = (prev ? -1 : 1);
|
|
2645
|
+
if (this.activeView == 'days')
|
|
2646
|
+
this.navTo(this._viewStartDate.add('month', sign * 1));
|
|
2647
|
+
else if (this.activeView == 'months')
|
|
2648
|
+
this.navTo(this._viewStartDate.add('year', sign * 1));
|
|
2649
|
+
else
|
|
2650
|
+
this.navTo(this._viewStartDate.add('year', sign * 12));
|
|
2651
|
+
};
|
|
2652
|
+
AXCalendarComponent.prototype.goToday = function () {
|
|
2653
|
+
this.navTo(this._today.startOf());
|
|
2654
|
+
};
|
|
2655
|
+
AXCalendarComponent.prototype.navTo = function (date) {
|
|
2656
|
+
this._viewStartDate = i2.AXDateTime.convert(date, this._today.calendar.name());
|
|
2657
|
+
this._genearteSlots();
|
|
2658
|
+
};
|
|
2659
|
+
Object.defineProperty(AXCalendarComponent.prototype, "__hostClass", {
|
|
2660
|
+
get: function () {
|
|
2661
|
+
var _classes = {
|
|
2662
|
+
'ax-state-disabled': this.disabled
|
|
2663
|
+
};
|
|
2664
|
+
return Object.entries(_classes).filter(function (c) { return c[1]; }).map(function (c) { return c[0]; }).join(' ');
|
|
2665
|
+
},
|
|
2666
|
+
enumerable: false,
|
|
2667
|
+
configurable: true
|
|
2668
|
+
});
|
|
2669
|
+
AXCalendarComponent.prototype.isDisabled = function (date) {
|
|
2670
|
+
if (Array.isArray(this.disabledDates) && this.disabledDates.length != 0) {
|
|
2671
|
+
debugger;
|
|
2672
|
+
return this.disabledDates.some(function (d) { return date.equal(d, 'day'); });
|
|
2673
|
+
}
|
|
2674
|
+
else if (typeof this.disabledDates == 'function') {
|
|
2675
|
+
return this.disabledDates(date.date);
|
|
2676
|
+
}
|
|
2677
|
+
return false;
|
|
2678
|
+
};
|
|
2679
|
+
AXCalendarComponent.prototype.isHoliday = function (date) {
|
|
2680
|
+
if (Array.isArray(this.holidayDates) && this.holidayDates.length != 0) {
|
|
2681
|
+
return this.holidayDates.some(function (d) { return date.equal(d, 'day'); });
|
|
2682
|
+
}
|
|
2683
|
+
else if (typeof this.holidayDates == 'function') {
|
|
2684
|
+
return this.holidayDates(date.date);
|
|
2685
|
+
}
|
|
2686
|
+
return false;
|
|
2687
|
+
};
|
|
2688
|
+
AXCalendarComponent.prototype.isWeekend = function (date) {
|
|
2689
|
+
return date.dayOfWeek == 7 || date.dayOfWeek == 1;
|
|
2390
2690
|
};
|
|
2391
2691
|
return AXCalendarComponent;
|
|
2392
|
-
}(
|
|
2692
|
+
}(AXCalendarComponentMixin));
|
|
2393
2693
|
AXCalendarComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXCalendarComponent, deps: [{ token: i0__namespace.ElementRef }, { token: i0__namespace.ChangeDetectorRef }], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
2394
|
-
AXCalendarComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: AXCalendarComponent, selector: "ax-calendar", inputs: { disabled: "disabled", tabIndex: "tabIndex",
|
|
2694
|
+
AXCalendarComponent.ɵcmp = i0__namespace.ɵɵ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__namespace, 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__namespace.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { type: i4__namespace.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { type: i4__namespace.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i4__namespace.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i4__namespace.NgSwitchDefault, selector: "[ngSwitchDefault]" }], changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush, encapsulation: i0__namespace.ViewEncapsulation.None });
|
|
2395
2695
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXCalendarComponent, decorators: [{
|
|
2396
2696
|
type: i0.Component,
|
|
2397
2697
|
args: [{
|
|
2398
2698
|
selector: 'ax-calendar',
|
|
2399
2699
|
templateUrl: './calendar.component.html',
|
|
2400
2700
|
changeDetection: i0.ChangeDetectionStrategy.OnPush,
|
|
2401
|
-
inputs: [
|
|
2701
|
+
inputs: __spreadArray(__spreadArray([], __read(VALUE_INPUTS)), __read(INTERACTIVE_INPUTS)),
|
|
2702
|
+
outputs: __spreadArray(__spreadArray([], __read(VALUE_OUTPUT)), __read(INTERACTIVE_OUTPUT)),
|
|
2402
2703
|
encapsulation: i0.ViewEncapsulation.None,
|
|
2403
2704
|
}]
|
|
2404
|
-
}], ctorParameters: function () { return [{ type: i0__namespace.ElementRef }, { type: i0__namespace.ChangeDetectorRef }]; }, propDecorators: {
|
|
2405
|
-
type: i0.
|
|
2406
|
-
|
|
2407
|
-
|
|
2705
|
+
}], ctorParameters: function () { return [{ type: i0__namespace.ElementRef }, { type: i0__namespace.ChangeDetectorRef }]; }, propDecorators: { activeView: [{
|
|
2706
|
+
type: i0.Input
|
|
2707
|
+
}], depthChange: [{
|
|
2708
|
+
type: i0.Output
|
|
2709
|
+
}], depth: [{
|
|
2710
|
+
type: i0.Input
|
|
2711
|
+
}], min: [{
|
|
2408
2712
|
type: i0.Input
|
|
2409
|
-
}],
|
|
2713
|
+
}], max: [{
|
|
2410
2714
|
type: i0.Input
|
|
2715
|
+
}], disabledDates: [{
|
|
2716
|
+
type: i0.Input
|
|
2717
|
+
}], holidayDates: [{
|
|
2718
|
+
type: i0.Input
|
|
2719
|
+
}], __hostClass: [{
|
|
2720
|
+
type: i0.HostBinding,
|
|
2721
|
+
args: ['class']
|
|
2411
2722
|
}] } });
|
|
2412
2723
|
|
|
2413
|
-
var COMPONENT$
|
|
2414
|
-
var MODULES$
|
|
2724
|
+
var COMPONENT$h = [AXCalendarComponent];
|
|
2725
|
+
var MODULES$h = [i4.CommonModule, AXButtonModule, AXIconModule, AXEditorDecoratorModule, i2.AXDateTimeModule];
|
|
2415
2726
|
var AXCalendarModule = /** @class */ (function () {
|
|
2416
2727
|
function AXCalendarModule() {
|
|
2417
2728
|
}
|
|
2418
2729
|
return AXCalendarModule;
|
|
2419
2730
|
}());
|
|
2420
2731
|
AXCalendarModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXCalendarModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
|
|
2421
|
-
AXCalendarModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXCalendarModule, declarations: [AXCalendarComponent], imports: [
|
|
2422
|
-
AXCalendarModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXCalendarModule, providers: [], imports: [__spreadArray([], __read(MODULES$
|
|
2732
|
+
AXCalendarModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXCalendarModule, declarations: [AXCalendarComponent], imports: [i4.CommonModule, AXButtonModule, AXIconModule, AXEditorDecoratorModule, i2.AXDateTimeModule], exports: [AXCalendarComponent] });
|
|
2733
|
+
AXCalendarModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXCalendarModule, providers: [], imports: [__spreadArray([], __read(MODULES$h))] });
|
|
2423
2734
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXCalendarModule, decorators: [{
|
|
2424
2735
|
type: i0.NgModule,
|
|
2425
2736
|
args: [{
|
|
2426
|
-
declarations: __spreadArray([], __read(COMPONENT$
|
|
2427
|
-
imports: __spreadArray([], __read(MODULES$
|
|
2428
|
-
exports: __spreadArray([], __read(COMPONENT$
|
|
2737
|
+
declarations: __spreadArray([], __read(COMPONENT$h)),
|
|
2738
|
+
imports: __spreadArray([], __read(MODULES$h)),
|
|
2739
|
+
exports: __spreadArray([], __read(COMPONENT$h)),
|
|
2429
2740
|
providers: [],
|
|
2430
2741
|
}]
|
|
2431
2742
|
}] });
|
|
@@ -2925,7 +3236,7 @@
|
|
|
2925
3236
|
return AXCarouselPagerComponent;
|
|
2926
3237
|
}(AXBaseComponentMixin));
|
|
2927
3238
|
AXCarouselPagerComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXCarouselPagerComponent, deps: [{ token: i0__namespace.ElementRef }, { token: i0__namespace.ChangeDetectorRef }, { token: AXCarouselComponent }], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
2928
|
-
AXCarouselPagerComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: AXCarouselPagerComponent, selector: "ax-carousel-pager", host: { classAttribute: "ax-carousel-pager" }, usesInheritance: true, ngImport: i0__namespace, template: "\n <button *ngFor=\"let d of _dots;let i=index\" [class.ax-state-active]=\"i==_pageIndex\" (click)=\"_handleClick($event,i)\">\n </button>\n ", isInline: true, directives: [{ type:
|
|
3239
|
+
AXCarouselPagerComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: AXCarouselPagerComponent, selector: "ax-carousel-pager", host: { classAttribute: "ax-carousel-pager" }, usesInheritance: true, ngImport: i0__namespace, template: "\n <button *ngFor=\"let d of _dots;let i=index\" [class.ax-state-active]=\"i==_pageIndex\" (click)=\"_handleClick($event,i)\">\n </button>\n ", isInline: true, directives: [{ type: i4__namespace.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }], changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush, encapsulation: i0__namespace.ViewEncapsulation.None });
|
|
2929
3240
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXCarouselPagerComponent, decorators: [{
|
|
2930
3241
|
type: i0.Component,
|
|
2931
3242
|
args: [{
|
|
@@ -2937,22 +3248,22 @@
|
|
|
2937
3248
|
}]
|
|
2938
3249
|
}], ctorParameters: function () { return [{ type: i0__namespace.ElementRef }, { type: i0__namespace.ChangeDetectorRef }, { type: AXCarouselComponent }]; } });
|
|
2939
3250
|
|
|
2940
|
-
var COMPONENT$
|
|
2941
|
-
var MODULES$
|
|
3251
|
+
var COMPONENT$g = [AXCarouselComponent, AXCarouselItemComponent, AXCarouselArrowsComponent, AXCarouselPagerComponent];
|
|
3252
|
+
var MODULES$g = [i4.CommonModule];
|
|
2942
3253
|
var AXCarouselModule = /** @class */ (function () {
|
|
2943
3254
|
function AXCarouselModule() {
|
|
2944
3255
|
}
|
|
2945
3256
|
return AXCarouselModule;
|
|
2946
3257
|
}());
|
|
2947
3258
|
AXCarouselModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXCarouselModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
|
|
2948
|
-
AXCarouselModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXCarouselModule, declarations: [AXCarouselComponent, AXCarouselItemComponent, AXCarouselArrowsComponent, AXCarouselPagerComponent], imports: [
|
|
2949
|
-
AXCarouselModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXCarouselModule, providers: [], imports: [__spreadArray([], __read(MODULES$
|
|
3259
|
+
AXCarouselModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXCarouselModule, declarations: [AXCarouselComponent, AXCarouselItemComponent, AXCarouselArrowsComponent, AXCarouselPagerComponent], imports: [i4.CommonModule], exports: [AXCarouselComponent, AXCarouselItemComponent, AXCarouselArrowsComponent, AXCarouselPagerComponent] });
|
|
3260
|
+
AXCarouselModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXCarouselModule, providers: [], imports: [__spreadArray([], __read(MODULES$g))] });
|
|
2950
3261
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXCarouselModule, decorators: [{
|
|
2951
3262
|
type: i0.NgModule,
|
|
2952
3263
|
args: [{
|
|
2953
|
-
declarations: __spreadArray([], __read(COMPONENT$
|
|
2954
|
-
imports: __spreadArray([], __read(MODULES$
|
|
2955
|
-
exports: __spreadArray([], __read(COMPONENT$
|
|
3264
|
+
declarations: __spreadArray([], __read(COMPONENT$g)),
|
|
3265
|
+
imports: __spreadArray([], __read(MODULES$g)),
|
|
3266
|
+
exports: __spreadArray([], __read(COMPONENT$g)),
|
|
2956
3267
|
providers: [],
|
|
2957
3268
|
}]
|
|
2958
3269
|
}] });
|
|
@@ -3002,13 +3313,13 @@
|
|
|
3002
3313
|
return AXCheckBoxModule;
|
|
3003
3314
|
}());
|
|
3004
3315
|
AXCheckBoxModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXCheckBoxModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
|
|
3005
|
-
AXCheckBoxModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXCheckBoxModule, declarations: [AXCheckBoxComponent], imports: [
|
|
3006
|
-
AXCheckBoxModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXCheckBoxModule, providers: [], imports: [[
|
|
3316
|
+
AXCheckBoxModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXCheckBoxModule, declarations: [AXCheckBoxComponent], imports: [i4.CommonModule, i3.FormsModule], exports: [AXCheckBoxComponent] });
|
|
3317
|
+
AXCheckBoxModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXCheckBoxModule, providers: [], imports: [[i4.CommonModule, i3.FormsModule]] });
|
|
3007
3318
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXCheckBoxModule, decorators: [{
|
|
3008
3319
|
type: i0.NgModule,
|
|
3009
3320
|
args: [{
|
|
3010
3321
|
declarations: [AXCheckBoxComponent],
|
|
3011
|
-
imports: [
|
|
3322
|
+
imports: [i4.CommonModule, i3.FormsModule],
|
|
3012
3323
|
exports: [AXCheckBoxComponent],
|
|
3013
3324
|
providers: [],
|
|
3014
3325
|
}]
|
|
@@ -3074,7 +3385,7 @@
|
|
|
3074
3385
|
return AXDataListComponent;
|
|
3075
3386
|
}(AXBaseSelectionValueMixin));
|
|
3076
3387
|
AXDataListComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXDataListComponent, deps: [{ token: i0__namespace.ElementRef }, { token: i0__namespace.ChangeDetectorRef }], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
3077
|
-
AXDataListComponent.ɵcmp = i0__namespace.ɵɵ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__namespace, 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:
|
|
3388
|
+
AXDataListComponent.ɵcmp = i0__namespace.ɵɵ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__namespace, 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__namespace.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i4__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i4__namespace.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }], changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush, encapsulation: i0__namespace.ViewEncapsulation.None });
|
|
3078
3389
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXDataListComponent, decorators: [{
|
|
3079
3390
|
type: i0.Component,
|
|
3080
3391
|
args: [{
|
|
@@ -3106,22 +3417,22 @@
|
|
|
3106
3417
|
type: i0.Input
|
|
3107
3418
|
}] } });
|
|
3108
3419
|
|
|
3109
|
-
var COMPONENT$
|
|
3110
|
-
var MODULES$
|
|
3420
|
+
var COMPONENT$f = [AXDataListComponent];
|
|
3421
|
+
var MODULES$f = [i4.CommonModule, AXButtonModule];
|
|
3111
3422
|
var AXDataListModule = /** @class */ (function () {
|
|
3112
3423
|
function AXDataListModule() {
|
|
3113
3424
|
}
|
|
3114
3425
|
return AXDataListModule;
|
|
3115
3426
|
}());
|
|
3116
3427
|
AXDataListModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXDataListModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
|
|
3117
|
-
AXDataListModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXDataListModule, declarations: [AXDataListComponent], imports: [
|
|
3118
|
-
AXDataListModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXDataListModule, providers: [], imports: [__spreadArray([], __read(MODULES$
|
|
3428
|
+
AXDataListModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXDataListModule, declarations: [AXDataListComponent], imports: [i4.CommonModule, AXButtonModule], exports: [AXDataListComponent] });
|
|
3429
|
+
AXDataListModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXDataListModule, providers: [], imports: [__spreadArray([], __read(MODULES$f))] });
|
|
3119
3430
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXDataListModule, decorators: [{
|
|
3120
3431
|
type: i0.NgModule,
|
|
3121
3432
|
args: [{
|
|
3122
|
-
declarations: __spreadArray([], __read(COMPONENT$
|
|
3123
|
-
imports: __spreadArray([], __read(MODULES$
|
|
3124
|
-
exports: __spreadArray([], __read(COMPONENT$
|
|
3433
|
+
declarations: __spreadArray([], __read(COMPONENT$f)),
|
|
3434
|
+
imports: __spreadArray([], __read(MODULES$f)),
|
|
3435
|
+
exports: __spreadArray([], __read(COMPONENT$f)),
|
|
3125
3436
|
providers: [],
|
|
3126
3437
|
}]
|
|
3127
3438
|
}] });
|
|
@@ -3169,7 +3480,6 @@
|
|
|
3169
3480
|
return this._target;
|
|
3170
3481
|
},
|
|
3171
3482
|
set: function (v) {
|
|
3172
|
-
debugger;
|
|
3173
3483
|
if (v instanceof HTMLElement)
|
|
3174
3484
|
this._target = v;
|
|
3175
3485
|
else if (v instanceof i0.ElementRef)
|
|
@@ -3305,7 +3615,7 @@
|
|
|
3305
3615
|
}));
|
|
3306
3616
|
}
|
|
3307
3617
|
if (!this._templatePortal) {
|
|
3308
|
-
this._templatePortal = new i1
|
|
3618
|
+
this._templatePortal = new i1.TemplatePortal(this._baseTemplate, this._viewContainerRef);
|
|
3309
3619
|
}
|
|
3310
3620
|
};
|
|
3311
3621
|
Object.defineProperty(AXPopoverComponent.prototype, "isOpen", {
|
|
@@ -3320,7 +3630,7 @@
|
|
|
3320
3630
|
};
|
|
3321
3631
|
return AXPopoverComponent;
|
|
3322
3632
|
}(AXBaseComponent));
|
|
3323
|
-
AXPopoverComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXPopoverComponent, deps: [{ token: i0__namespace.ElementRef }, { token: i0__namespace.ChangeDetectorRef }, { token: i0__namespace.NgZone }, { token: i1__namespace
|
|
3633
|
+
AXPopoverComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXPopoverComponent, deps: [{ token: i0__namespace.ElementRef }, { token: i0__namespace.ChangeDetectorRef }, { token: i0__namespace.NgZone }, { token: i1__namespace.Overlay }, { token: i2__namespace.AXPlatform }, { token: i0__namespace.ViewContainerRef }], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
3324
3634
|
AXPopoverComponent.ɵcmp = i0__namespace.ɵɵ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__namespace, template: "<ng-template #baseTemplate>\r\n <ng-content></ng-content>\r\n</ng-template>", changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush, encapsulation: i0__namespace.ViewEncapsulation.None });
|
|
3325
3635
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXPopoverComponent, decorators: [{
|
|
3326
3636
|
type: i0.Component,
|
|
@@ -3330,7 +3640,7 @@
|
|
|
3330
3640
|
encapsulation: i0.ViewEncapsulation.None,
|
|
3331
3641
|
changeDetection: i0.ChangeDetectionStrategy.OnPush,
|
|
3332
3642
|
}]
|
|
3333
|
-
}], ctorParameters: function () { return [{ type: i0__namespace.ElementRef }, { type: i0__namespace.ChangeDetectorRef }, { type: i0__namespace.NgZone }, { type: i1__namespace
|
|
3643
|
+
}], ctorParameters: function () { return [{ type: i0__namespace.ElementRef }, { type: i0__namespace.ChangeDetectorRef }, { type: i0__namespace.NgZone }, { type: i1__namespace.Overlay }, { type: i2__namespace.AXPlatform }, { type: i0__namespace.ViewContainerRef }]; }, propDecorators: { target: [{
|
|
3334
3644
|
type: i0.Input
|
|
3335
3645
|
}], position: [{
|
|
3336
3646
|
type: i0.Input
|
|
@@ -3356,13 +3666,13 @@
|
|
|
3356
3666
|
return AXPopoverModule;
|
|
3357
3667
|
}());
|
|
3358
3668
|
AXPopoverModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXPopoverModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
|
|
3359
|
-
AXPopoverModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXPopoverModule, declarations: [AXPopoverComponent], imports: [
|
|
3360
|
-
AXPopoverModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXPopoverModule, providers: [], imports: [[
|
|
3669
|
+
AXPopoverModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXPopoverModule, declarations: [AXPopoverComponent], imports: [i4.CommonModule], exports: [AXPopoverComponent] });
|
|
3670
|
+
AXPopoverModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXPopoverModule, providers: [], imports: [[i4.CommonModule]] });
|
|
3361
3671
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXPopoverModule, decorators: [{
|
|
3362
3672
|
type: i0.NgModule,
|
|
3363
3673
|
args: [{
|
|
3364
3674
|
declarations: [AXPopoverComponent],
|
|
3365
|
-
imports: [
|
|
3675
|
+
imports: [i4.CommonModule],
|
|
3366
3676
|
exports: [AXPopoverComponent],
|
|
3367
3677
|
providers: []
|
|
3368
3678
|
}]
|
|
@@ -3549,7 +3859,7 @@
|
|
|
3549
3859
|
return AXDatepickerComponent;
|
|
3550
3860
|
}(AXBaseTextBoxMixin));
|
|
3551
3861
|
AXDatepickerComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXDatepickerComponent, deps: [{ token: i0__namespace.ElementRef }, { token: i0__namespace.ChangeDetectorRef }], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
3552
|
-
AXDatepickerComponent.ɵcmp = i0__namespace.ɵɵ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__namespace, 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\"
|
|
3862
|
+
AXDatepickerComponent.ɵcmp = i0__namespace.ɵɵ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__namespace, 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__namespace.ChangeDetectionStrategy.OnPush, encapsulation: i0__namespace.ViewEncapsulation.None });
|
|
3553
3863
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXDatepickerComponent, decorators: [{
|
|
3554
3864
|
type: i0.Component,
|
|
3555
3865
|
args: [{
|
|
@@ -3628,7 +3938,7 @@
|
|
|
3628
3938
|
return AXDropdownPanelComponent;
|
|
3629
3939
|
}(AXBaseDropDownComponent));
|
|
3630
3940
|
AXDropdownPanelComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXDropdownPanelComponent, deps: [{ token: i0__namespace.ElementRef }, { token: i0__namespace.ChangeDetectorRef }, { token: AXButtonComponent, optional: true }], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
3631
|
-
AXDropdownPanelComponent.ɵcmp = i0__namespace.ɵɵ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__namespace, 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:
|
|
3941
|
+
AXDropdownPanelComponent.ɵcmp = i0__namespace.ɵɵ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__namespace, 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__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i4__namespace.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }], changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush, encapsulation: i0__namespace.ViewEncapsulation.None });
|
|
3632
3942
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXDropdownPanelComponent, decorators: [{
|
|
3633
3943
|
type: i0.Component,
|
|
3634
3944
|
args: [{
|
|
@@ -3662,34 +3972,34 @@
|
|
|
3662
3972
|
return AXDropdownModule;
|
|
3663
3973
|
}());
|
|
3664
3974
|
AXDropdownModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXDropdownModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
|
|
3665
|
-
AXDropdownModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXDropdownModule, declarations: [AXDropdownComponent, AXDropdownPanelComponent], imports: [
|
|
3666
|
-
AXDropdownModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXDropdownModule, providers: [], imports: [[
|
|
3975
|
+
AXDropdownModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXDropdownModule, declarations: [AXDropdownComponent, AXDropdownPanelComponent], imports: [i4.CommonModule, AXButtonModule, i1$1.OverlayModule, AXIconModule, AXEditorDecoratorModule, AXPopoverModule], exports: [AXDropdownComponent, AXDropdownPanelComponent] });
|
|
3976
|
+
AXDropdownModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXDropdownModule, providers: [], imports: [[i4.CommonModule, AXButtonModule, i1$1.OverlayModule, AXIconModule, AXEditorDecoratorModule, AXPopoverModule]] });
|
|
3667
3977
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXDropdownModule, decorators: [{
|
|
3668
3978
|
type: i0.NgModule,
|
|
3669
3979
|
args: [{
|
|
3670
|
-
imports: [
|
|
3980
|
+
imports: [i4.CommonModule, AXButtonModule, i1$1.OverlayModule, AXIconModule, AXEditorDecoratorModule, AXPopoverModule],
|
|
3671
3981
|
exports: [AXDropdownComponent, AXDropdownPanelComponent],
|
|
3672
3982
|
declarations: [AXDropdownComponent, AXDropdownPanelComponent],
|
|
3673
3983
|
providers: [],
|
|
3674
3984
|
}]
|
|
3675
3985
|
}] });
|
|
3676
3986
|
|
|
3677
|
-
var COMPONENT$
|
|
3678
|
-
var MODULES$
|
|
3987
|
+
var COMPONENT$e = [AXDatepickerComponent];
|
|
3988
|
+
var MODULES$e = [i4.CommonModule, AXCalendarModule, AXDropdownModule];
|
|
3679
3989
|
var AXDatepickerModule = /** @class */ (function () {
|
|
3680
3990
|
function AXDatepickerModule() {
|
|
3681
3991
|
}
|
|
3682
3992
|
return AXDatepickerModule;
|
|
3683
3993
|
}());
|
|
3684
3994
|
AXDatepickerModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXDatepickerModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
|
|
3685
|
-
AXDatepickerModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXDatepickerModule, declarations: [AXDatepickerComponent], imports: [
|
|
3686
|
-
AXDatepickerModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXDatepickerModule, providers: [], imports: [__spreadArray([], __read(MODULES$
|
|
3995
|
+
AXDatepickerModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXDatepickerModule, declarations: [AXDatepickerComponent], imports: [i4.CommonModule, AXCalendarModule, AXDropdownModule], exports: [AXDatepickerComponent] });
|
|
3996
|
+
AXDatepickerModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXDatepickerModule, providers: [], imports: [__spreadArray([], __read(MODULES$e))] });
|
|
3687
3997
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXDatepickerModule, decorators: [{
|
|
3688
3998
|
type: i0.NgModule,
|
|
3689
3999
|
args: [{
|
|
3690
|
-
declarations: __spreadArray([], __read(COMPONENT$
|
|
3691
|
-
imports: __spreadArray([], __read(MODULES$
|
|
3692
|
-
exports: __spreadArray([], __read(COMPONENT$
|
|
4000
|
+
declarations: __spreadArray([], __read(COMPONENT$e)),
|
|
4001
|
+
imports: __spreadArray([], __read(MODULES$e)),
|
|
4002
|
+
exports: __spreadArray([], __read(COMPONENT$e)),
|
|
3693
4003
|
providers: [],
|
|
3694
4004
|
}]
|
|
3695
4005
|
}] });
|
|
@@ -3723,7 +4033,7 @@
|
|
|
3723
4033
|
return AXDialogComponent;
|
|
3724
4034
|
}(AXBaseComponentMixin));
|
|
3725
4035
|
AXDialogComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXDialogComponent, deps: [{ token: i0__namespace.ElementRef }, { token: i0__namespace.ChangeDetectorRef }], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
3726
|
-
AXDialogComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: AXDialogComponent, selector: "ax-dialog", usesInheritance: true, ngImport: i0__namespace, 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__namespace$1.CdkTrapFocus, selector: "[cdkTrapFocus]", inputs: ["cdkTrapFocus", "cdkTrapFocusAutoCapture"], exportAs: ["cdkTrapFocus"] }, { type: i3__namespace$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__namespace$1.CdkDragHandle, selector: "[cdkDragHandle]", inputs: ["cdkDragHandleDisabled"] }, { type:
|
|
4036
|
+
AXDialogComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: AXDialogComponent, selector: "ax-dialog", usesInheritance: true, ngImport: i0__namespace, 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__namespace$1.CdkTrapFocus, selector: "[cdkTrapFocus]", inputs: ["cdkTrapFocus", "cdkTrapFocusAutoCapture"], exportAs: ["cdkTrapFocus"] }, { type: i3__namespace$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__namespace$1.CdkDragHandle, selector: "[cdkDragHandle]", inputs: ["cdkDragHandleDisabled"] }, { type: i4__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i4__namespace.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }], changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush, encapsulation: i0__namespace.ViewEncapsulation.None });
|
|
3727
4037
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXDialogComponent, decorators: [{
|
|
3728
4038
|
type: i0.Component,
|
|
3729
4039
|
args: [{
|
|
@@ -3852,7 +4162,7 @@
|
|
|
3852
4162
|
scrollStrategy: this.sso.block(),
|
|
3853
4163
|
panelClass: ['ax-animate-fadeIn', 'ax-animate-faster'],
|
|
3854
4164
|
});
|
|
3855
|
-
var dialogPortal = new i1
|
|
4165
|
+
var dialogPortal = new i1.ComponentPortal(AXDialogComponent, null, this.parentInjector);
|
|
3856
4166
|
var host = overlayRef.attach(dialogPortal);
|
|
3857
4167
|
if (host.instance) {
|
|
3858
4168
|
Object.assign(host.instance, {
|
|
@@ -3873,12 +4183,12 @@
|
|
|
3873
4183
|
};
|
|
3874
4184
|
return AXDialogService;
|
|
3875
4185
|
}());
|
|
3876
|
-
AXDialogService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXDialogService, deps: [{ token: i1__namespace
|
|
4186
|
+
AXDialogService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXDialogService, deps: [{ token: i1__namespace.Overlay }, { token: i0__namespace.Injector }, { token: i1__namespace.ScrollStrategyOptions }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
|
|
3877
4187
|
AXDialogService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXDialogService, providedIn: 'root' });
|
|
3878
4188
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXDialogService, decorators: [{
|
|
3879
4189
|
type: i0.Injectable,
|
|
3880
4190
|
args: [{ providedIn: 'root' }]
|
|
3881
|
-
}], ctorParameters: function () { return [{ type: i1__namespace
|
|
4191
|
+
}], ctorParameters: function () { return [{ type: i1__namespace.Overlay }, { type: i0__namespace.Injector }, { type: i1__namespace.ScrollStrategyOptions }]; } });
|
|
3882
4192
|
|
|
3883
4193
|
var AXLoadingComponent = /** @class */ (function (_super) {
|
|
3884
4194
|
__extends(AXLoadingComponent, _super);
|
|
@@ -3907,13 +4217,13 @@
|
|
|
3907
4217
|
});
|
|
3908
4218
|
AXLoadingComponent.prototype.onInit = function () {
|
|
3909
4219
|
var loading = i2.AXConfig.get("layout.loading." + this.type);
|
|
3910
|
-
this._selectedPortal = new i1
|
|
4220
|
+
this._selectedPortal = new i1.ComponentPortal(loading);
|
|
3911
4221
|
this._cdr.markForCheck();
|
|
3912
4222
|
};
|
|
3913
4223
|
return AXLoadingComponent;
|
|
3914
4224
|
}(AXBaseComponentMixin));
|
|
3915
4225
|
AXLoadingComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXLoadingComponent, deps: [{ token: i0__namespace.ElementRef }, { token: i0__namespace.ChangeDetectorRef }], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
3916
|
-
AXLoadingComponent.ɵcmp = i0__namespace.ɵɵ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__namespace, template: "\n <ng-template [cdkPortalOutlet]=\"_selectedPortal\" ></ng-template>\n ", isInline: true, directives: [{ type: i1__namespace$
|
|
4226
|
+
AXLoadingComponent.ɵcmp = i0__namespace.ɵɵ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__namespace, template: "\n <ng-template [cdkPortalOutlet]=\"_selectedPortal\" ></ng-template>\n ", isInline: true, directives: [{ type: i1__namespace$1.CdkPortalOutlet, selector: "[cdkPortalOutlet]", inputs: ["cdkPortalOutlet"], outputs: ["attached"], exportAs: ["cdkPortalOutlet"] }], changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush, encapsulation: i0__namespace.ViewEncapsulation.None });
|
|
3917
4227
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXLoadingComponent, decorators: [{
|
|
3918
4228
|
type: i0.Component,
|
|
3919
4229
|
args: [{
|
|
@@ -4011,8 +4321,8 @@
|
|
|
4011
4321
|
args: ['axIsLoading']
|
|
4012
4322
|
}] } });
|
|
4013
4323
|
|
|
4014
|
-
var COMPONENT$
|
|
4015
|
-
var MODULES$
|
|
4324
|
+
var COMPONENT$d = [AXLoadingComponent, AXLoadingDirective, AXLoadingSpinnerComponent];
|
|
4325
|
+
var MODULES$d = [i4.CommonModule, i1$1.OverlayModule, i1.PortalModule];
|
|
4016
4326
|
var AXLoadingModule = /** @class */ (function () {
|
|
4017
4327
|
function AXLoadingModule() {
|
|
4018
4328
|
i2.AXConfig.set({
|
|
@@ -4026,14 +4336,14 @@
|
|
|
4026
4336
|
return AXLoadingModule;
|
|
4027
4337
|
}());
|
|
4028
4338
|
AXLoadingModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXLoadingModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
|
|
4029
|
-
AXLoadingModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXLoadingModule, declarations: [AXLoadingComponent, AXLoadingDirective, AXLoadingSpinnerComponent], imports: [
|
|
4030
|
-
AXLoadingModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXLoadingModule, providers: [], imports: [__spreadArray([], __read(MODULES$
|
|
4339
|
+
AXLoadingModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXLoadingModule, declarations: [AXLoadingComponent, AXLoadingDirective, AXLoadingSpinnerComponent], imports: [i4.CommonModule, i1$1.OverlayModule, i1.PortalModule], exports: [AXLoadingComponent, AXLoadingDirective, AXLoadingSpinnerComponent] });
|
|
4340
|
+
AXLoadingModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXLoadingModule, providers: [], imports: [__spreadArray([], __read(MODULES$d))] });
|
|
4031
4341
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXLoadingModule, decorators: [{
|
|
4032
4342
|
type: i0.NgModule,
|
|
4033
4343
|
args: [{
|
|
4034
|
-
declarations: __spreadArray([], __read(COMPONENT$
|
|
4035
|
-
imports: __spreadArray([], __read(MODULES$
|
|
4036
|
-
exports: __spreadArray([], __read(COMPONENT$
|
|
4344
|
+
declarations: __spreadArray([], __read(COMPONENT$d)),
|
|
4345
|
+
imports: __spreadArray([], __read(MODULES$d)),
|
|
4346
|
+
exports: __spreadArray([], __read(COMPONENT$d)),
|
|
4037
4347
|
providers: [],
|
|
4038
4348
|
}]
|
|
4039
4349
|
}], ctorParameters: function () { return []; } });
|
|
@@ -4047,7 +4357,7 @@
|
|
|
4047
4357
|
this._containerElement = containerElement;
|
|
4048
4358
|
};
|
|
4049
4359
|
return DynamicOverlayContainer;
|
|
4050
|
-
}(i1$
|
|
4360
|
+
}(i1$1.OverlayContainer));
|
|
4051
4361
|
DynamicOverlayContainer.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: DynamicOverlayContainer, deps: null, target: i0__namespace.ɵɵFactoryTarget.Injectable });
|
|
4052
4362
|
DynamicOverlayContainer.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: DynamicOverlayContainer, providedIn: 'root' });
|
|
4053
4363
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: DynamicOverlayContainer, decorators: [{
|
|
@@ -4073,8 +4383,8 @@
|
|
|
4073
4383
|
return _super.prototype.create.call(this, config);
|
|
4074
4384
|
};
|
|
4075
4385
|
return DynamicOverlay;
|
|
4076
|
-
}(i1$
|
|
4077
|
-
DynamicOverlay.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: DynamicOverlay, deps: [{ token: i1__namespace
|
|
4386
|
+
}(i1$1.Overlay));
|
|
4387
|
+
DynamicOverlay.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: DynamicOverlay, deps: [{ token: i1__namespace.ScrollStrategyOptions }, { token: DynamicOverlayContainer }, { token: i0__namespace.ComponentFactoryResolver }, { token: i1__namespace.OverlayPositionBuilder }, { token: i1__namespace.OverlayKeyboardDispatcher }, { token: i0__namespace.Injector }, { token: i0__namespace.NgZone }, { token: i4.DOCUMENT }, { token: i2__namespace$2.Directionality }, { token: i0__namespace.RendererFactory2 }, { token: i4__namespace.Location }, { token: i1__namespace.OverlayOutsideClickDispatcher }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
|
|
4078
4388
|
DynamicOverlay.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: DynamicOverlay, providedIn: 'root' });
|
|
4079
4389
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: DynamicOverlay, decorators: [{
|
|
4080
4390
|
type: i0.Injectable,
|
|
@@ -4082,10 +4392,10 @@
|
|
|
4082
4392
|
providedIn: 'root'
|
|
4083
4393
|
}]
|
|
4084
4394
|
}], ctorParameters: function () {
|
|
4085
|
-
return [{ type: i1__namespace
|
|
4395
|
+
return [{ type: i1__namespace.ScrollStrategyOptions }, { type: DynamicOverlayContainer }, { type: i0__namespace.ComponentFactoryResolver }, { type: i1__namespace.OverlayPositionBuilder }, { type: i1__namespace.OverlayKeyboardDispatcher }, { type: i0__namespace.Injector }, { type: i0__namespace.NgZone }, { type: undefined, decorators: [{
|
|
4086
4396
|
type: i0.Inject,
|
|
4087
|
-
args: [
|
|
4088
|
-
}] }, { type: i2__namespace$2.Directionality }, { type: i0__namespace.RendererFactory2 }, { type:
|
|
4397
|
+
args: [i4.DOCUMENT]
|
|
4398
|
+
}] }, { type: i2__namespace$2.Directionality }, { type: i0__namespace.RendererFactory2 }, { type: i4__namespace.Location }, { type: i1__namespace.OverlayOutsideClickDispatcher }];
|
|
4089
4399
|
} });
|
|
4090
4400
|
|
|
4091
4401
|
var AXOverlayService = /** @class */ (function () {
|
|
@@ -4109,10 +4419,10 @@
|
|
|
4109
4419
|
}
|
|
4110
4420
|
// create portal from component
|
|
4111
4421
|
else if (content instanceof i0.TemplateRef) {
|
|
4112
|
-
portal = new i1
|
|
4422
|
+
portal = new i1.TemplatePortal(content, viewRef, context);
|
|
4113
4423
|
}
|
|
4114
4424
|
else if (typeof content === 'function') {
|
|
4115
|
-
portal = new i1
|
|
4425
|
+
portal = new i1.ComponentPortal(content, viewRef);
|
|
4116
4426
|
}
|
|
4117
4427
|
var positionStrategy;
|
|
4118
4428
|
if (configs.position && configs.targetElement) {
|
|
@@ -4167,12 +4477,12 @@
|
|
|
4167
4477
|
};
|
|
4168
4478
|
return AXOverlayService;
|
|
4169
4479
|
}());
|
|
4170
|
-
AXOverlayService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXOverlayService, deps: [{ token: DynamicOverlay }, { token: i1__namespace
|
|
4480
|
+
AXOverlayService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXOverlayService, deps: [{ token: DynamicOverlay }, { token: i1__namespace.Overlay }, { token: i0__namespace.ApplicationRef }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
|
|
4171
4481
|
AXOverlayService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXOverlayService, providedIn: 'root' });
|
|
4172
4482
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXOverlayService, decorators: [{
|
|
4173
4483
|
type: i0.Injectable,
|
|
4174
4484
|
args: [{ providedIn: 'root' }]
|
|
4175
|
-
}], ctorParameters: function () { return [{ type: DynamicOverlay }, { type: i1__namespace
|
|
4485
|
+
}], ctorParameters: function () { return [{ type: DynamicOverlay }, { type: i1__namespace.Overlay }, { type: i0__namespace.ApplicationRef }]; } });
|
|
4176
4486
|
|
|
4177
4487
|
var DEFAULT_LOADER_ID = '_DEFAULT';
|
|
4178
4488
|
/**
|
|
@@ -4477,22 +4787,22 @@
|
|
|
4477
4787
|
}]
|
|
4478
4788
|
}] });
|
|
4479
4789
|
|
|
4480
|
-
var COMPONENT$
|
|
4481
|
-
var MODULES$
|
|
4790
|
+
var COMPONENT$c = [AXDialogComponent];
|
|
4791
|
+
var MODULES$c = [i4.CommonModule, i3$1.DragDropModule, i2$1.A11yModule, AXButtonModule, AXPageModule, AXEditorDecoratorModule];
|
|
4482
4792
|
var AXDialogModule = /** @class */ (function () {
|
|
4483
4793
|
function AXDialogModule() {
|
|
4484
4794
|
}
|
|
4485
4795
|
return AXDialogModule;
|
|
4486
4796
|
}());
|
|
4487
4797
|
AXDialogModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXDialogModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
|
|
4488
|
-
AXDialogModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXDialogModule, declarations: [AXDialogComponent], imports: [
|
|
4489
|
-
AXDialogModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXDialogModule, providers: [], imports: [__spreadArray([], __read(MODULES$
|
|
4798
|
+
AXDialogModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXDialogModule, declarations: [AXDialogComponent], imports: [i4.CommonModule, i3$1.DragDropModule, i2$1.A11yModule, AXButtonModule, AXPageModule, AXEditorDecoratorModule], exports: [AXDialogComponent] });
|
|
4799
|
+
AXDialogModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXDialogModule, providers: [], imports: [__spreadArray([], __read(MODULES$c))] });
|
|
4490
4800
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXDialogModule, decorators: [{
|
|
4491
4801
|
type: i0.NgModule,
|
|
4492
4802
|
args: [{
|
|
4493
|
-
declarations: __spreadArray([], __read(COMPONENT$
|
|
4494
|
-
imports: __spreadArray([], __read(MODULES$
|
|
4495
|
-
exports: __spreadArray([], __read(COMPONENT$
|
|
4803
|
+
declarations: __spreadArray([], __read(COMPONENT$c)),
|
|
4804
|
+
imports: __spreadArray([], __read(MODULES$c)),
|
|
4805
|
+
exports: __spreadArray([], __read(COMPONENT$c)),
|
|
4496
4806
|
providers: [],
|
|
4497
4807
|
}]
|
|
4498
4808
|
}] });
|
|
@@ -4722,22 +5032,22 @@
|
|
|
4722
5032
|
}]
|
|
4723
5033
|
}], ctorParameters: function () { return [{ type: i0__namespace.ElementRef }, { type: i0__namespace.ChangeDetectorRef }]; } });
|
|
4724
5034
|
|
|
4725
|
-
var COMPONENT$
|
|
4726
|
-
var MODULES$
|
|
5035
|
+
var COMPONENT$b = [AXDrawerComponent, AXDrawerContainerComponent, AXDrawerContentComponent];
|
|
5036
|
+
var MODULES$b = [i4.CommonModule];
|
|
4727
5037
|
var AXDrawerModule = /** @class */ (function () {
|
|
4728
5038
|
function AXDrawerModule() {
|
|
4729
5039
|
}
|
|
4730
5040
|
return AXDrawerModule;
|
|
4731
5041
|
}());
|
|
4732
5042
|
AXDrawerModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXDrawerModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
|
|
4733
|
-
AXDrawerModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXDrawerModule, declarations: [AXDrawerComponent, AXDrawerContainerComponent, AXDrawerContentComponent], imports: [
|
|
4734
|
-
AXDrawerModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXDrawerModule, providers: [], imports: [__spreadArray([], __read(MODULES$
|
|
5043
|
+
AXDrawerModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXDrawerModule, declarations: [AXDrawerComponent, AXDrawerContainerComponent, AXDrawerContentComponent], imports: [i4.CommonModule], exports: [AXDrawerComponent, AXDrawerContainerComponent, AXDrawerContentComponent] });
|
|
5044
|
+
AXDrawerModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXDrawerModule, providers: [], imports: [__spreadArray([], __read(MODULES$b))] });
|
|
4735
5045
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXDrawerModule, decorators: [{
|
|
4736
5046
|
type: i0.NgModule,
|
|
4737
5047
|
args: [{
|
|
4738
|
-
declarations: __spreadArray([], __read(COMPONENT$
|
|
4739
|
-
imports: __spreadArray([], __read(MODULES$
|
|
4740
|
-
exports: __spreadArray([], __read(COMPONENT$
|
|
5048
|
+
declarations: __spreadArray([], __read(COMPONENT$b)),
|
|
5049
|
+
imports: __spreadArray([], __read(MODULES$b)),
|
|
5050
|
+
exports: __spreadArray([], __read(COMPONENT$b)),
|
|
4741
5051
|
providers: [],
|
|
4742
5052
|
}]
|
|
4743
5053
|
}] });
|
|
@@ -4837,12 +5147,12 @@
|
|
|
4837
5147
|
return AXFormModule;
|
|
4838
5148
|
}());
|
|
4839
5149
|
AXFormModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXFormModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
|
|
4840
|
-
AXFormModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXFormModule, declarations: [AXFormFieldComponent, AXFormComponent, AXFormHintComponent], imports: [
|
|
4841
|
-
AXFormModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXFormModule, providers: [], imports: [[
|
|
5150
|
+
AXFormModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXFormModule, declarations: [AXFormFieldComponent, AXFormComponent, AXFormHintComponent], imports: [i4.CommonModule], exports: [AXFormFieldComponent, AXFormComponent, AXFormHintComponent] });
|
|
5151
|
+
AXFormModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXFormModule, providers: [], imports: [[i4.CommonModule]] });
|
|
4842
5152
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXFormModule, decorators: [{
|
|
4843
5153
|
type: i0.NgModule,
|
|
4844
5154
|
args: [{
|
|
4845
|
-
imports: [
|
|
5155
|
+
imports: [i4.CommonModule],
|
|
4846
5156
|
exports: [AXFormFieldComponent, AXFormComponent, AXFormHintComponent],
|
|
4847
5157
|
declarations: [AXFormFieldComponent, AXFormComponent, AXFormHintComponent],
|
|
4848
5158
|
providers: [],
|
|
@@ -4898,22 +5208,22 @@
|
|
|
4898
5208
|
type: i0.Input
|
|
4899
5209
|
}] } });
|
|
4900
5210
|
|
|
4901
|
-
var COMPONENT$
|
|
4902
|
-
var MODULES$
|
|
5211
|
+
var COMPONENT$a = [AXInputMaskComponent];
|
|
5212
|
+
var MODULES$a = [i4.CommonModule, i1$2.NgxMaskModule.forRoot()];
|
|
4903
5213
|
var AXInputMaskModule = /** @class */ (function () {
|
|
4904
5214
|
function AXInputMaskModule() {
|
|
4905
5215
|
}
|
|
4906
5216
|
return AXInputMaskModule;
|
|
4907
5217
|
}());
|
|
4908
5218
|
AXInputMaskModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXInputMaskModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
|
|
4909
|
-
AXInputMaskModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXInputMaskModule, declarations: [AXInputMaskComponent], imports: [
|
|
4910
|
-
AXInputMaskModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXInputMaskModule, providers: [], imports: [__spreadArray([], __read(MODULES$
|
|
5219
|
+
AXInputMaskModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXInputMaskModule, declarations: [AXInputMaskComponent], imports: [i4.CommonModule, i1__namespace$2.NgxMaskModule], exports: [AXInputMaskComponent] });
|
|
5220
|
+
AXInputMaskModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXInputMaskModule, providers: [], imports: [__spreadArray([], __read(MODULES$a))] });
|
|
4911
5221
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXInputMaskModule, decorators: [{
|
|
4912
5222
|
type: i0.NgModule,
|
|
4913
5223
|
args: [{
|
|
4914
|
-
declarations: __spreadArray([], __read(COMPONENT$
|
|
4915
|
-
imports: __spreadArray([], __read(MODULES$
|
|
4916
|
-
exports: __spreadArray([], __read(COMPONENT$
|
|
5224
|
+
declarations: __spreadArray([], __read(COMPONENT$a)),
|
|
5225
|
+
imports: __spreadArray([], __read(MODULES$a)),
|
|
5226
|
+
exports: __spreadArray([], __read(COMPONENT$a)),
|
|
4917
5227
|
providers: [],
|
|
4918
5228
|
}]
|
|
4919
5229
|
}] });
|
|
@@ -4937,22 +5247,22 @@
|
|
|
4937
5247
|
}]
|
|
4938
5248
|
}], ctorParameters: function () { return [{ type: i0__namespace.ElementRef }, { type: i0__namespace.ChangeDetectorRef }]; } });
|
|
4939
5249
|
|
|
4940
|
-
var COMPONENT$
|
|
4941
|
-
var MODULES$
|
|
5250
|
+
var COMPONENT$9 = [AXLabelComponent];
|
|
5251
|
+
var MODULES$9 = [i4.CommonModule];
|
|
4942
5252
|
var AXLabelModule = /** @class */ (function () {
|
|
4943
5253
|
function AXLabelModule() {
|
|
4944
5254
|
}
|
|
4945
5255
|
return AXLabelModule;
|
|
4946
5256
|
}());
|
|
4947
5257
|
AXLabelModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXLabelModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
|
|
4948
|
-
AXLabelModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXLabelModule, declarations: [AXLabelComponent], imports: [
|
|
4949
|
-
AXLabelModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXLabelModule, providers: [], imports: [__spreadArray([], __read(MODULES$
|
|
5258
|
+
AXLabelModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXLabelModule, declarations: [AXLabelComponent], imports: [i4.CommonModule], exports: [AXLabelComponent] });
|
|
5259
|
+
AXLabelModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXLabelModule, providers: [], imports: [__spreadArray([], __read(MODULES$9))] });
|
|
4950
5260
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXLabelModule, decorators: [{
|
|
4951
5261
|
type: i0.NgModule,
|
|
4952
5262
|
args: [{
|
|
4953
|
-
declarations: __spreadArray([], __read(COMPONENT$
|
|
4954
|
-
imports: __spreadArray([], __read(MODULES$
|
|
4955
|
-
exports: __spreadArray([], __read(COMPONENT$
|
|
5263
|
+
declarations: __spreadArray([], __read(COMPONENT$9)),
|
|
5264
|
+
imports: __spreadArray([], __read(MODULES$9)),
|
|
5265
|
+
exports: __spreadArray([], __read(COMPONENT$9)),
|
|
4956
5266
|
providers: [],
|
|
4957
5267
|
}]
|
|
4958
5268
|
}] });
|
|
@@ -5206,8 +5516,8 @@
|
|
|
5206
5516
|
};
|
|
5207
5517
|
return AXNumberBoxComponent;
|
|
5208
5518
|
}(AXBaseTextBoxMixin));
|
|
5209
|
-
AXNumberBoxComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXNumberBoxComponent, deps: [{ token: i0__namespace.ElementRef }, { token: i0__namespace.ChangeDetectorRef }, { token: i1__namespace$
|
|
5210
|
-
AXNumberBoxComponent.ɵcmp = i0__namespace.ɵɵ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__namespace, 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__namespace.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__namespace.PatternValidator, selector: "[pattern][formControlName],[pattern][formControl],[pattern][ngModel]", inputs: ["pattern"] }, { type: i3__namespace.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i3__namespace.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { type:
|
|
5519
|
+
AXNumberBoxComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXNumberBoxComponent, deps: [{ token: i0__namespace.ElementRef }, { token: i0__namespace.ChangeDetectorRef }, { token: i1__namespace$2.MaskApplierService }], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
5520
|
+
AXNumberBoxComponent.ɵcmp = i0__namespace.ɵɵ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__namespace, 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__namespace.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__namespace.PatternValidator, selector: "[pattern][formControlName],[pattern][formControl],[pattern][ngModel]", inputs: ["pattern"] }, { type: i3__namespace.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i3__namespace.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { type: i4__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush, encapsulation: i0__namespace.ViewEncapsulation.None });
|
|
5211
5521
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXNumberBoxComponent, decorators: [{
|
|
5212
5522
|
type: i0.Component,
|
|
5213
5523
|
args: [{
|
|
@@ -5230,7 +5540,7 @@
|
|
|
5230
5540
|
encapsulation: i0.ViewEncapsulation.None,
|
|
5231
5541
|
host: { class: 'ax-number-box ax-editor-container' },
|
|
5232
5542
|
}]
|
|
5233
|
-
}], ctorParameters: function () { return [{ type: i0__namespace.ElementRef }, { type: i0__namespace.ChangeDetectorRef }, { type: i1__namespace$
|
|
5543
|
+
}], ctorParameters: function () { return [{ type: i0__namespace.ElementRef }, { type: i0__namespace.ChangeDetectorRef }, { type: i1__namespace$2.MaskApplierService }]; }, propDecorators: { __hostClass: [{
|
|
5234
5544
|
type: i0.HostBinding,
|
|
5235
5545
|
args: ['class']
|
|
5236
5546
|
}], separator: [{
|
|
@@ -5255,12 +5565,12 @@
|
|
|
5255
5565
|
type: i0.Input
|
|
5256
5566
|
}] } });
|
|
5257
5567
|
|
|
5258
|
-
var COMPONENT$
|
|
5259
|
-
var MODULES$
|
|
5260
|
-
|
|
5568
|
+
var COMPONENT$8 = [AXNumberBoxComponent];
|
|
5569
|
+
var MODULES$8 = [
|
|
5570
|
+
i4.CommonModule,
|
|
5261
5571
|
i3.FormsModule,
|
|
5262
5572
|
AXButtonModule,
|
|
5263
|
-
i1$
|
|
5573
|
+
i1$2.NgxMaskModule.forChild()
|
|
5264
5574
|
];
|
|
5265
5575
|
var AXNumberBoxModule = /** @class */ (function () {
|
|
5266
5576
|
function AXNumberBoxModule() {
|
|
@@ -5268,57 +5578,116 @@
|
|
|
5268
5578
|
return AXNumberBoxModule;
|
|
5269
5579
|
}());
|
|
5270
5580
|
AXNumberBoxModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXNumberBoxModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
|
|
5271
|
-
AXNumberBoxModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXNumberBoxModule, declarations: [AXNumberBoxComponent], imports: [
|
|
5581
|
+
AXNumberBoxModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXNumberBoxModule, declarations: [AXNumberBoxComponent], imports: [i4.CommonModule,
|
|
5272
5582
|
i3.FormsModule,
|
|
5273
|
-
AXButtonModule, i1__namespace$
|
|
5274
|
-
AXNumberBoxModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXNumberBoxModule, providers: [], imports: [__spreadArray([], __read(MODULES$
|
|
5583
|
+
AXButtonModule, i1__namespace$2.NgxMaskModule], exports: [AXNumberBoxComponent] });
|
|
5584
|
+
AXNumberBoxModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXNumberBoxModule, providers: [], imports: [__spreadArray([], __read(MODULES$8))] });
|
|
5275
5585
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXNumberBoxModule, decorators: [{
|
|
5276
5586
|
type: i0.NgModule,
|
|
5277
5587
|
args: [{
|
|
5278
|
-
declarations: __spreadArray([], __read(COMPONENT$
|
|
5279
|
-
imports: __spreadArray([], __read(MODULES$
|
|
5280
|
-
exports: __spreadArray([], __read(COMPONENT$
|
|
5588
|
+
declarations: __spreadArray([], __read(COMPONENT$8)),
|
|
5589
|
+
imports: __spreadArray([], __read(MODULES$8)),
|
|
5590
|
+
exports: __spreadArray([], __read(COMPONENT$8)),
|
|
5281
5591
|
providers: [],
|
|
5282
5592
|
}]
|
|
5283
5593
|
}] });
|
|
5284
5594
|
|
|
5285
|
-
|
|
5286
|
-
|
|
5287
|
-
|
|
5288
|
-
|
|
5289
|
-
|
|
5595
|
+
/**
|
|
5596
|
+
* The Textbox is a component which detects user interaction and triggers a corresponding event
|
|
5597
|
+
*
|
|
5598
|
+
* @category Components
|
|
5599
|
+
*/
|
|
5600
|
+
var AXPasswordBoxComponent = /** @class */ (function (_super) {
|
|
5601
|
+
__extends(AXPasswordBoxComponent, _super);
|
|
5602
|
+
/**
|
|
5603
|
+
* @ignore
|
|
5604
|
+
*/
|
|
5605
|
+
function AXPasswordBoxComponent(elementRef, cdr) {
|
|
5606
|
+
var _this = _super.call(this, elementRef, cdr) || this;
|
|
5607
|
+
_this._type = 'password';
|
|
5608
|
+
_this._icon = 'ax-ic-eye';
|
|
5609
|
+
/**
|
|
5610
|
+
* A flag for showing or hiding password button.
|
|
5611
|
+
*/
|
|
5612
|
+
_this.showToggleButton = true;
|
|
5613
|
+
return _this;
|
|
5290
5614
|
}
|
|
5291
|
-
|
|
5292
|
-
|
|
5293
|
-
|
|
5294
|
-
|
|
5295
|
-
|
|
5615
|
+
Object.defineProperty(AXPasswordBoxComponent.prototype, "hostClass", {
|
|
5616
|
+
get: function () {
|
|
5617
|
+
return this.cssClass + " ax-" + this.size;
|
|
5618
|
+
},
|
|
5619
|
+
enumerable: false,
|
|
5620
|
+
configurable: true
|
|
5621
|
+
});
|
|
5622
|
+
AXPasswordBoxComponent.prototype.toggleType = function () {
|
|
5623
|
+
if (this._type === 'password') {
|
|
5624
|
+
this._type = 'text';
|
|
5625
|
+
this._icon = 'ax-ic-eye-off';
|
|
5626
|
+
}
|
|
5627
|
+
else {
|
|
5628
|
+
this._type = 'password';
|
|
5629
|
+
this._icon = 'ax-ic-eye';
|
|
5630
|
+
}
|
|
5631
|
+
};
|
|
5632
|
+
return AXPasswordBoxComponent;
|
|
5633
|
+
}(AXBaseTextBoxMixin));
|
|
5634
|
+
AXPasswordBoxComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXPasswordBoxComponent, deps: [{ token: i0__namespace.ElementRef }, { token: i0__namespace.ChangeDetectorRef }], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
5635
|
+
AXPasswordBoxComponent.ɵcmp = i0__namespace.ɵɵ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__namespace, 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__namespace.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__namespace.MaxLengthValidator, selector: "[maxlength][formControlName],[maxlength][formControl],[maxlength][ngModel]", inputs: ["maxlength"] }, { type: i3__namespace.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i3__namespace.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { type: i4__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush, encapsulation: i0__namespace.ViewEncapsulation.None });
|
|
5636
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXPasswordBoxComponent, decorators: [{
|
|
5296
5637
|
type: i0.Component,
|
|
5297
5638
|
args: [{
|
|
5298
|
-
selector: 'ax-
|
|
5299
|
-
templateUrl: '
|
|
5300
|
-
|
|
5639
|
+
selector: 'ax-password-box',
|
|
5640
|
+
templateUrl: 'password-box.component.html',
|
|
5641
|
+
inputs: __spreadArray([
|
|
5642
|
+
'disabled',
|
|
5643
|
+
'readonly',
|
|
5644
|
+
'tabIndex',
|
|
5645
|
+
'cssClass',
|
|
5646
|
+
'size'
|
|
5647
|
+
], __read(TEXTBOX_INPUTS)),
|
|
5648
|
+
outputs: __spreadArray([
|
|
5649
|
+
'valueChange',
|
|
5650
|
+
'onValueChanged',
|
|
5651
|
+
'onBlur',
|
|
5652
|
+
'onFocus'
|
|
5653
|
+
], __read(TEXTBOX_OUTPUT)),
|
|
5301
5654
|
encapsulation: i0.ViewEncapsulation.None,
|
|
5302
|
-
|
|
5655
|
+
changeDetection: i0.ChangeDetectionStrategy.OnPush,
|
|
5656
|
+
host: { class: 'ax-password-box ax-editor-container' },
|
|
5303
5657
|
}]
|
|
5304
|
-
}], ctorParameters: function () { return [{ type: i0__namespace.ElementRef }, { type: i0__namespace.ChangeDetectorRef }]; }
|
|
5658
|
+
}], ctorParameters: function () { return [{ type: i0__namespace.ElementRef }, { type: i0__namespace.ChangeDetectorRef }]; }, propDecorators: { hostClass: [{
|
|
5659
|
+
type: i0.HostBinding,
|
|
5660
|
+
args: ['class']
|
|
5661
|
+
}], showToggleButton: [{
|
|
5662
|
+
type: i0.Input
|
|
5663
|
+
}] } });
|
|
5305
5664
|
|
|
5306
|
-
var COMPONENT$
|
|
5307
|
-
var MODULES$
|
|
5308
|
-
|
|
5309
|
-
|
|
5665
|
+
var COMPONENT$7 = [AXPasswordBoxComponent];
|
|
5666
|
+
var MODULES$7 = [
|
|
5667
|
+
i4.CommonModule,
|
|
5668
|
+
i3.FormsModule,
|
|
5669
|
+
AXButtonModule,
|
|
5670
|
+
AXEditorDecoratorModule,
|
|
5671
|
+
AXIconModule
|
|
5672
|
+
];
|
|
5673
|
+
var AXPasswordBoxModule = /** @class */ (function () {
|
|
5674
|
+
function AXPasswordBoxModule() {
|
|
5310
5675
|
}
|
|
5311
|
-
return
|
|
5676
|
+
return AXPasswordBoxModule;
|
|
5312
5677
|
}());
|
|
5313
|
-
|
|
5314
|
-
|
|
5315
|
-
|
|
5316
|
-
|
|
5678
|
+
AXPasswordBoxModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXPasswordBoxModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
|
|
5679
|
+
AXPasswordBoxModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXPasswordBoxModule, declarations: [AXPasswordBoxComponent], imports: [i4.CommonModule,
|
|
5680
|
+
i3.FormsModule,
|
|
5681
|
+
AXButtonModule,
|
|
5682
|
+
AXEditorDecoratorModule,
|
|
5683
|
+
AXIconModule], exports: [AXPasswordBoxComponent] });
|
|
5684
|
+
AXPasswordBoxModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXPasswordBoxModule, providers: [], imports: [__spreadArray([], __read(MODULES$7))] });
|
|
5685
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXPasswordBoxModule, decorators: [{
|
|
5317
5686
|
type: i0.NgModule,
|
|
5318
5687
|
args: [{
|
|
5319
|
-
declarations: __spreadArray([], __read(COMPONENT$
|
|
5320
|
-
imports: __spreadArray([], __read(MODULES$
|
|
5321
|
-
exports: __spreadArray([], __read(COMPONENT$
|
|
5688
|
+
declarations: __spreadArray([], __read(COMPONENT$7)),
|
|
5689
|
+
imports: __spreadArray([], __read(MODULES$7)),
|
|
5690
|
+
exports: __spreadArray([], __read(COMPONENT$7)),
|
|
5322
5691
|
providers: [],
|
|
5323
5692
|
}]
|
|
5324
5693
|
}] });
|
|
@@ -5348,11 +5717,11 @@
|
|
|
5348
5717
|
// });
|
|
5349
5718
|
}
|
|
5350
5719
|
else if (this.content instanceof i0.TemplateRef) {
|
|
5351
|
-
this._selectedPortal = new i1
|
|
5720
|
+
this._selectedPortal = new i1.TemplatePortal(this.content, this._viewContainerRef, { $implicit: this.data, ref: this });
|
|
5352
5721
|
this._cdr.markForCheck();
|
|
5353
5722
|
}
|
|
5354
5723
|
else if (typeof this.content === 'function') {
|
|
5355
|
-
this._selectedPortal = new i1
|
|
5724
|
+
this._selectedPortal = new i1.ComponentPortal(this.content);
|
|
5356
5725
|
this._cdr.markForCheck();
|
|
5357
5726
|
}
|
|
5358
5727
|
};
|
|
@@ -5369,7 +5738,7 @@
|
|
|
5369
5738
|
}
|
|
5370
5739
|
}
|
|
5371
5740
|
if (ref.instance.footer) {
|
|
5372
|
-
this._footerPortal = new i1
|
|
5741
|
+
this._footerPortal = new i1.TemplatePortal(ref.instance.footer.template, this._viewContainerRef, { $implicit: this.data, ref: this });
|
|
5373
5742
|
}
|
|
5374
5743
|
this.loadingService.hide(this._loadingId);
|
|
5375
5744
|
this.focus();
|
|
@@ -5401,7 +5770,7 @@
|
|
|
5401
5770
|
return AXPopupComponent;
|
|
5402
5771
|
}(AXBaseComponentMixin));
|
|
5403
5772
|
AXPopupComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXPopupComponent, deps: [{ token: i0__namespace.ElementRef }, { token: i0__namespace.ChangeDetectorRef }, { token: i0__namespace.ViewContainerRef }, { token: AXLoadingService }], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
5404
|
-
AXPopupComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: AXPopupComponent, selector: "ax-popup", host: { listeners: { "keydown.escape": "onKeydownHandler($event)" } }, usesInheritance: true, ngImport: i0__namespace, 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__namespace$1.CdkTrapFocus, selector: "[cdkTrapFocus]", inputs: ["cdkTrapFocus", "cdkTrapFocusAutoCapture"], exportAs: ["cdkTrapFocus"] }, { type: i3__namespace$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:
|
|
5773
|
+
AXPopupComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: AXPopupComponent, selector: "ax-popup", host: { listeners: { "keydown.escape": "onKeydownHandler($event)" } }, usesInheritance: true, ngImport: i0__namespace, 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__namespace$1.CdkTrapFocus, selector: "[cdkTrapFocus]", inputs: ["cdkTrapFocus", "cdkTrapFocusAutoCapture"], exportAs: ["cdkTrapFocus"] }, { type: i3__namespace$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__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i3__namespace$1.CdkDragHandle, selector: "[cdkDragHandle]", inputs: ["cdkDragHandleDisabled"] }, { type: i1__namespace$1.CdkPortalOutlet, selector: "[cdkPortalOutlet]", inputs: ["cdkPortalOutlet"], outputs: ["attached"], exportAs: ["cdkPortalOutlet"] }], changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush, encapsulation: i0__namespace.ViewEncapsulation.None });
|
|
5405
5774
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXPopupComponent, decorators: [{
|
|
5406
5775
|
type: i0.Component,
|
|
5407
5776
|
args: [{
|
|
@@ -5507,23 +5876,64 @@
|
|
|
5507
5876
|
type: i0.Injectable
|
|
5508
5877
|
}], ctorParameters: function () { return [{ type: AXOverlayService }]; } });
|
|
5509
5878
|
|
|
5510
|
-
var COMPONENT$
|
|
5511
|
-
var MODULES$
|
|
5879
|
+
var COMPONENT$6 = [AXPopupComponent];
|
|
5880
|
+
var MODULES$6 = [i4.CommonModule, i3$1.DragDropModule, i2$1.A11yModule, AXButtonModule, i1.PortalModule];
|
|
5512
5881
|
var AXPopupModule = /** @class */ (function () {
|
|
5513
5882
|
function AXPopupModule() {
|
|
5514
5883
|
}
|
|
5515
5884
|
return AXPopupModule;
|
|
5516
5885
|
}());
|
|
5517
5886
|
AXPopupModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXPopupModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
|
|
5518
|
-
AXPopupModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXPopupModule, declarations: [AXPopupComponent], imports: [
|
|
5519
|
-
AXPopupModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXPopupModule, providers: [AXPopupService], imports: [__spreadArray([], __read(MODULES$
|
|
5887
|
+
AXPopupModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXPopupModule, declarations: [AXPopupComponent], imports: [i4.CommonModule, i3$1.DragDropModule, i2$1.A11yModule, AXButtonModule, i1.PortalModule], exports: [AXPopupComponent] });
|
|
5888
|
+
AXPopupModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXPopupModule, providers: [AXPopupService], imports: [__spreadArray([], __read(MODULES$6))] });
|
|
5520
5889
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXPopupModule, decorators: [{
|
|
5890
|
+
type: i0.NgModule,
|
|
5891
|
+
args: [{
|
|
5892
|
+
declarations: __spreadArray([], __read(COMPONENT$6)),
|
|
5893
|
+
imports: __spreadArray([], __read(MODULES$6)),
|
|
5894
|
+
exports: __spreadArray([], __read(COMPONENT$6)),
|
|
5895
|
+
providers: [AXPopupService],
|
|
5896
|
+
}]
|
|
5897
|
+
}] });
|
|
5898
|
+
|
|
5899
|
+
var AXRangeSliderComponent = /** @class */ (function (_super) {
|
|
5900
|
+
__extends(AXRangeSliderComponent, _super);
|
|
5901
|
+
function AXRangeSliderComponent(elementRef, cdr) {
|
|
5902
|
+
return _super.call(this, elementRef, cdr) || this;
|
|
5903
|
+
//TODO: ax-range-slider
|
|
5904
|
+
}
|
|
5905
|
+
return AXRangeSliderComponent;
|
|
5906
|
+
}(AXBaseComponentMixin));
|
|
5907
|
+
AXRangeSliderComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXRangeSliderComponent, deps: [{ token: i0__namespace.ElementRef }, { token: i0__namespace.ChangeDetectorRef }], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
5908
|
+
AXRangeSliderComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: AXRangeSliderComponent, selector: "ax-range-slider", host: { classAttribute: "ax-range-slider" }, usesInheritance: true, ngImport: i0__namespace, template: "<input type=\"range\" min=\"1\" max=\"100\" value=\"50\" class=\"ax-range-slider-input\">", changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush, encapsulation: i0__namespace.ViewEncapsulation.None });
|
|
5909
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXRangeSliderComponent, decorators: [{
|
|
5910
|
+
type: i0.Component,
|
|
5911
|
+
args: [{
|
|
5912
|
+
selector: 'ax-range-slider',
|
|
5913
|
+
templateUrl: './range-slider.component.html',
|
|
5914
|
+
changeDetection: i0.ChangeDetectionStrategy.OnPush,
|
|
5915
|
+
encapsulation: i0.ViewEncapsulation.None,
|
|
5916
|
+
host: { class: 'ax-range-slider' }
|
|
5917
|
+
}]
|
|
5918
|
+
}], ctorParameters: function () { return [{ type: i0__namespace.ElementRef }, { type: i0__namespace.ChangeDetectorRef }]; } });
|
|
5919
|
+
|
|
5920
|
+
var COMPONENT$5 = [AXRangeSliderComponent];
|
|
5921
|
+
var MODULES$5 = [i4.CommonModule];
|
|
5922
|
+
var AXRangeSliderModule = /** @class */ (function () {
|
|
5923
|
+
function AXRangeSliderModule() {
|
|
5924
|
+
}
|
|
5925
|
+
return AXRangeSliderModule;
|
|
5926
|
+
}());
|
|
5927
|
+
AXRangeSliderModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXRangeSliderModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
|
|
5928
|
+
AXRangeSliderModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXRangeSliderModule, declarations: [AXRangeSliderComponent], imports: [i4.CommonModule], exports: [AXRangeSliderComponent] });
|
|
5929
|
+
AXRangeSliderModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXRangeSliderModule, providers: [], imports: [__spreadArray([], __read(MODULES$5))] });
|
|
5930
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXRangeSliderModule, decorators: [{
|
|
5521
5931
|
type: i0.NgModule,
|
|
5522
5932
|
args: [{
|
|
5523
5933
|
declarations: __spreadArray([], __read(COMPONENT$5)),
|
|
5524
5934
|
imports: __spreadArray([], __read(MODULES$5)),
|
|
5525
5935
|
exports: __spreadArray([], __read(COMPONENT$5)),
|
|
5526
|
-
providers: [
|
|
5936
|
+
providers: [],
|
|
5527
5937
|
}]
|
|
5528
5938
|
}] });
|
|
5529
5939
|
|
|
@@ -5584,6 +5994,10 @@
|
|
|
5584
5994
|
this.unselectItems(item);
|
|
5585
5995
|
e.stopPropagation();
|
|
5586
5996
|
};
|
|
5997
|
+
AXSelectBoxComponent.prototype._handleBadgeRemove = function (e, item) {
|
|
5998
|
+
this.unselectItems(item);
|
|
5999
|
+
e.stopPropagation();
|
|
6000
|
+
};
|
|
5587
6001
|
AXSelectBoxComponent.prototype._handleKeydown = function (e) {
|
|
5588
6002
|
if (!(this._getHostElement() == document.activeElement ||
|
|
5589
6003
|
this._getHostElement().contains(document.activeElement) ||
|
|
@@ -5704,7 +6118,7 @@
|
|
|
5704
6118
|
return AXSelectBoxComponent;
|
|
5705
6119
|
}(AXBaseSelectionDropdownMixin));
|
|
5706
6120
|
AXSelectBoxComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXSelectBoxComponent, deps: [{ token: i0__namespace.ElementRef }, { token: i0__namespace.ChangeDetectorRef }, { token: i0__namespace.NgZone }], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
5707
|
-
AXSelectBoxComponent.ɵcmp = i0__namespace.ɵɵ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__namespace, 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)\"
|
|
6121
|
+
AXSelectBoxComponent.ɵcmp = i0__namespace.ɵɵ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__namespace, 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__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i4__namespace.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i4__namespace.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }], changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush, encapsulation: i0__namespace.ViewEncapsulation.None });
|
|
5708
6122
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXSelectBoxComponent, decorators: [{
|
|
5709
6123
|
type: i0.Component,
|
|
5710
6124
|
args: [{
|
|
@@ -5733,12 +6147,12 @@
|
|
|
5733
6147
|
return AXSelectBoxModule;
|
|
5734
6148
|
}());
|
|
5735
6149
|
AXSelectBoxModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXSelectBoxModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
|
|
5736
|
-
AXSelectBoxModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXSelectBoxModule, declarations: [AXSelectBoxComponent], imports: [
|
|
5737
|
-
AXSelectBoxModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXSelectBoxModule, providers: [], imports: [[
|
|
6150
|
+
AXSelectBoxModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXSelectBoxModule, declarations: [AXSelectBoxComponent], imports: [i4.CommonModule, AXDropdownModule, i3.FormsModule, AXCheckBoxModule, AXBadgeModule, AXEditorDecoratorModule, AXIconModule], exports: [AXSelectBoxComponent] });
|
|
6151
|
+
AXSelectBoxModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXSelectBoxModule, providers: [], imports: [[i4.CommonModule, AXDropdownModule, i3.FormsModule, AXCheckBoxModule, AXBadgeModule, AXEditorDecoratorModule, AXIconModule]] });
|
|
5738
6152
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXSelectBoxModule, decorators: [{
|
|
5739
6153
|
type: i0.NgModule,
|
|
5740
6154
|
args: [{
|
|
5741
|
-
imports: [
|
|
6155
|
+
imports: [i4.CommonModule, AXDropdownModule, i3.FormsModule, AXCheckBoxModule, AXBadgeModule, AXEditorDecoratorModule, AXIconModule],
|
|
5742
6156
|
exports: [AXSelectBoxComponent],
|
|
5743
6157
|
declarations: [AXSelectBoxComponent],
|
|
5744
6158
|
providers: [],
|
|
@@ -5764,7 +6178,7 @@
|
|
|
5764
6178
|
return AXSelectionListComponent;
|
|
5765
6179
|
}(AXBaseSelectionValueMixin));
|
|
5766
6180
|
AXSelectionListComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXSelectionListComponent, deps: [{ token: i0__namespace.ElementRef }, { token: i0__namespace.ChangeDetectorRef }], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
5767
|
-
AXSelectionListComponent.ɵcmp = i0__namespace.ɵɵ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__namespace, 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]=\"'
|
|
6181
|
+
AXSelectionListComponent.ɵcmp = i0__namespace.ɵɵ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__namespace, 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__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i4__namespace.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }], changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush, encapsulation: i0__namespace.ViewEncapsulation.None });
|
|
5768
6182
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXSelectionListComponent, decorators: [{
|
|
5769
6183
|
type: i0.Component,
|
|
5770
6184
|
args: [{
|
|
@@ -5797,13 +6211,13 @@
|
|
|
5797
6211
|
return AXSelectionListModule;
|
|
5798
6212
|
}());
|
|
5799
6213
|
AXSelectionListModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXSelectionListModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
|
|
5800
|
-
AXSelectionListModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXSelectionListModule, declarations: [AXSelectionListComponent], imports: [
|
|
5801
|
-
AXSelectionListModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXSelectionListModule, providers: [], imports: [[
|
|
6214
|
+
AXSelectionListModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXSelectionListModule, declarations: [AXSelectionListComponent], imports: [i4.CommonModule, i3.FormsModule, AXCheckBoxModule], exports: [AXSelectionListComponent] });
|
|
6215
|
+
AXSelectionListModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXSelectionListModule, providers: [], imports: [[i4.CommonModule, i3.FormsModule, AXCheckBoxModule]] });
|
|
5802
6216
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXSelectionListModule, decorators: [{
|
|
5803
6217
|
type: i0.NgModule,
|
|
5804
6218
|
args: [{
|
|
5805
6219
|
declarations: [AXSelectionListComponent],
|
|
5806
|
-
imports: [
|
|
6220
|
+
imports: [i4.CommonModule, i3.FormsModule, AXCheckBoxModule],
|
|
5807
6221
|
exports: [AXSelectionListComponent],
|
|
5808
6222
|
providers: []
|
|
5809
6223
|
}]
|
|
@@ -5830,14 +6244,14 @@
|
|
|
5830
6244
|
}], ctorParameters: function () { return [{ type: i0__namespace.ElementRef }, { type: i0__namespace.ChangeDetectorRef }]; } });
|
|
5831
6245
|
|
|
5832
6246
|
var COMPONENT$4 = [AXSideMenuComponent];
|
|
5833
|
-
var MODULES$4 = [
|
|
6247
|
+
var MODULES$4 = [i4.CommonModule];
|
|
5834
6248
|
var AXSideMenuModule = /** @class */ (function () {
|
|
5835
6249
|
function AXSideMenuModule() {
|
|
5836
6250
|
}
|
|
5837
6251
|
return AXSideMenuModule;
|
|
5838
6252
|
}());
|
|
5839
6253
|
AXSideMenuModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXSideMenuModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
|
|
5840
|
-
AXSideMenuModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXSideMenuModule, declarations: [AXSideMenuComponent], imports: [
|
|
6254
|
+
AXSideMenuModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXSideMenuModule, declarations: [AXSideMenuComponent], imports: [i4.CommonModule], exports: [AXSideMenuComponent] });
|
|
5841
6255
|
AXSideMenuModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXSideMenuModule, providers: [], imports: [__spreadArray([], __read(MODULES$4))] });
|
|
5842
6256
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXSideMenuModule, decorators: [{
|
|
5843
6257
|
type: i0.NgModule,
|
|
@@ -5882,13 +6296,13 @@
|
|
|
5882
6296
|
return AXSwitchModule;
|
|
5883
6297
|
}());
|
|
5884
6298
|
AXSwitchModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXSwitchModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
|
|
5885
|
-
AXSwitchModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXSwitchModule, declarations: [AXSwitchComponent], imports: [
|
|
5886
|
-
AXSwitchModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXSwitchModule, providers: [], imports: [[
|
|
6299
|
+
AXSwitchModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXSwitchModule, declarations: [AXSwitchComponent], imports: [i4.CommonModule, i3.FormsModule], exports: [AXSwitchComponent] });
|
|
6300
|
+
AXSwitchModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXSwitchModule, providers: [], imports: [[i4.CommonModule, i3.FormsModule]] });
|
|
5887
6301
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXSwitchModule, decorators: [{
|
|
5888
6302
|
type: i0.NgModule,
|
|
5889
6303
|
args: [{
|
|
5890
6304
|
declarations: [AXSwitchComponent],
|
|
5891
|
-
imports: [
|
|
6305
|
+
imports: [i4.CommonModule, i3.FormsModule],
|
|
5892
6306
|
exports: [AXSwitchComponent],
|
|
5893
6307
|
entryComponents: [AXSwitchComponent],
|
|
5894
6308
|
providers: [],
|
|
@@ -5901,7 +6315,7 @@
|
|
|
5901
6315
|
var _this = _super.call(this, elementRef, cdr) || this;
|
|
5902
6316
|
_this.mode = 'default';
|
|
5903
6317
|
_this.direction = "horizontal";
|
|
5904
|
-
_this.
|
|
6318
|
+
_this.fitParent = false;
|
|
5905
6319
|
_this.minWidth = false;
|
|
5906
6320
|
_this.onSelectionChanged = new i0.EventEmitter();
|
|
5907
6321
|
return _this;
|
|
@@ -5934,10 +6348,17 @@
|
|
|
5934
6348
|
htmlElement: this._getHostElement(),
|
|
5935
6349
|
});
|
|
5936
6350
|
};
|
|
6351
|
+
Object.defineProperty(AXTabStripComponent.prototype, "__hostClass", {
|
|
6352
|
+
get: function () {
|
|
6353
|
+
return ["ax-tabs", "ax-tabs-" + (this.mode ? this.mode : 'default'), "ax-tabs-" + this.direction, "" + (this.fitParent ? 'ax-tabs-fit' : '')].join(' ');
|
|
6354
|
+
},
|
|
6355
|
+
enumerable: false,
|
|
6356
|
+
configurable: true
|
|
6357
|
+
});
|
|
5937
6358
|
return AXTabStripComponent;
|
|
5938
6359
|
}(AXSizableComponentMixin));
|
|
5939
6360
|
AXTabStripComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXTabStripComponent, deps: [{ token: i0__namespace.ElementRef }, { token: i0__namespace.ChangeDetectorRef }], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
5940
|
-
AXTabStripComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: AXTabStripComponent, selector: "ax-tab-strip", inputs: { size: "size",
|
|
6361
|
+
AXTabStripComponent.ɵcmp = i0__namespace.ɵɵ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__namespace, 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__namespace.ChangeDetectionStrategy.OnPush, encapsulation: i0__namespace.ViewEncapsulation.None });
|
|
5941
6362
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXTabStripComponent, decorators: [{
|
|
5942
6363
|
type: i0.Component,
|
|
5943
6364
|
args: [{
|
|
@@ -5945,7 +6366,7 @@
|
|
|
5945
6366
|
templateUrl: './tab-strip.component.html',
|
|
5946
6367
|
changeDetection: i0.ChangeDetectionStrategy.OnPush,
|
|
5947
6368
|
encapsulation: i0.ViewEncapsulation.None,
|
|
5948
|
-
inputs: ['size'
|
|
6369
|
+
inputs: ['size'],
|
|
5949
6370
|
host: { class: 'ax-tab-strip' },
|
|
5950
6371
|
}]
|
|
5951
6372
|
}], ctorParameters: function () { return [{ type: i0__namespace.ElementRef }, { type: i0__namespace.ChangeDetectorRef }]; }, propDecorators: { items: [{
|
|
@@ -5954,12 +6375,15 @@
|
|
|
5954
6375
|
type: i0.Input
|
|
5955
6376
|
}], direction: [{
|
|
5956
6377
|
type: i0.Input
|
|
5957
|
-
}],
|
|
6378
|
+
}], fitParent: [{
|
|
5958
6379
|
type: i0.Input
|
|
5959
6380
|
}], minWidth: [{
|
|
5960
6381
|
type: i0.Input
|
|
5961
6382
|
}], onSelectionChanged: [{
|
|
5962
6383
|
type: i0.Output
|
|
6384
|
+
}], __hostClass: [{
|
|
6385
|
+
type: i0.HostBinding,
|
|
6386
|
+
args: ['class']
|
|
5963
6387
|
}] } });
|
|
5964
6388
|
|
|
5965
6389
|
var AXTabComponent = /** @class */ (function (_super) {
|
|
@@ -5984,7 +6408,7 @@
|
|
|
5984
6408
|
return AXTabComponent;
|
|
5985
6409
|
}(AXBaseComponentMixin));
|
|
5986
6410
|
AXTabComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXTabComponent, deps: [{ token: i0__namespace.ElementRef }, { token: i0__namespace.ChangeDetectorRef }], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
5987
|
-
AXTabComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: AXTabComponent, selector: "ax-tab", inputs: { name: "name", caption: "caption", tooltip: "tooltip", icon: "icon", visible: "visible", disabled: "disabled", data: "data" }, host: { styleAttribute: "display:none", classAttribute: "ax-tab" }, usesInheritance: true, ngImport: i0__namespace, template: "\n <div *ngIf=\"_render\" >\n <ng-content>\n </ng-content>\n </div>\n ", isInline: true,
|
|
6411
|
+
AXTabComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: AXTabComponent, selector: "ax-tab", inputs: { name: "name", caption: "caption", tooltip: "tooltip", icon: "icon", visible: "visible", disabled: "disabled", data: "data" }, host: { styleAttribute: "display:none", classAttribute: "ax-tab" }, usesInheritance: true, ngImport: i0__namespace, template: "\n <div *ngIf=\"_render\" >\n <ng-content>\n </ng-content>\n </div>\n ", isInline: true, changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush, encapsulation: i0__namespace.ViewEncapsulation.None });
|
|
5988
6412
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXTabComponent, decorators: [{
|
|
5989
6413
|
type: i0.Component,
|
|
5990
6414
|
args: [{
|
|
@@ -6036,9 +6460,9 @@
|
|
|
6036
6460
|
tabs[e.selectedIndex].show();
|
|
6037
6461
|
};
|
|
6038
6462
|
return AXTabViewComponent;
|
|
6039
|
-
}(
|
|
6463
|
+
}(AXBaseComponent));
|
|
6040
6464
|
AXTabViewComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXTabViewComponent, deps: [{ token: i0__namespace.ElementRef }, { token: i0__namespace.ChangeDetectorRef }], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
6041
|
-
AXTabViewComponent.ɵcmp = i0__namespace.ɵɵ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__namespace, template: "<ax-tab-strip [items]=\"_tabs\"
|
|
6465
|
+
AXTabViewComponent.ɵcmp = i0__namespace.ɵɵ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__namespace, 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__namespace.ChangeDetectionStrategy.OnPush, encapsulation: i0__namespace.ViewEncapsulation.None });
|
|
6042
6466
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXTabViewComponent, decorators: [{
|
|
6043
6467
|
type: i0.Component,
|
|
6044
6468
|
args: [{
|
|
@@ -6054,6 +6478,132 @@
|
|
|
6054
6478
|
args: [AXTabComponent]
|
|
6055
6479
|
}] } });
|
|
6056
6480
|
|
|
6481
|
+
var AXTabItemComponent = /** @class */ (function (_super) {
|
|
6482
|
+
__extends(AXTabItemComponent, _super);
|
|
6483
|
+
function AXTabItemComponent(elementRef, cdr) {
|
|
6484
|
+
var _this = _super.call(this, elementRef, cdr) || this;
|
|
6485
|
+
_this.width = false;
|
|
6486
|
+
_this.activeChange = new i0.EventEmitter();
|
|
6487
|
+
_this._active = false;
|
|
6488
|
+
return _this;
|
|
6489
|
+
}
|
|
6490
|
+
Object.defineProperty(AXTabItemComponent.prototype, "active", {
|
|
6491
|
+
get: function () {
|
|
6492
|
+
return this._active;
|
|
6493
|
+
},
|
|
6494
|
+
set: function (v) {
|
|
6495
|
+
this._active = v;
|
|
6496
|
+
this.activeChange.emit(v);
|
|
6497
|
+
v ? this._getHostElement().classList.add('ax-state-active') : this._getHostElement().classList.remove('ax-state-active');
|
|
6498
|
+
},
|
|
6499
|
+
enumerable: false,
|
|
6500
|
+
configurable: true
|
|
6501
|
+
});
|
|
6502
|
+
// @HostBinding('class')
|
|
6503
|
+
// private get __hostClass(): string {
|
|
6504
|
+
// debugger;
|
|
6505
|
+
// const classes: any = {
|
|
6506
|
+
// 'ax-state-active': this.active
|
|
6507
|
+
// }
|
|
6508
|
+
// return Object.entries(classes).filter(c => c[1]).map(c => c[0]).join(' ');
|
|
6509
|
+
// }
|
|
6510
|
+
AXTabItemComponent.prototype.__hostClick = function (e) {
|
|
6511
|
+
this.onClick.emit({
|
|
6512
|
+
component: this,
|
|
6513
|
+
htmlElement: this._getHostElement(),
|
|
6514
|
+
nativeEvent: e
|
|
6515
|
+
});
|
|
6516
|
+
};
|
|
6517
|
+
return AXTabItemComponent;
|
|
6518
|
+
}(AXBaseClickableMixin));
|
|
6519
|
+
AXTabItemComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXTabItemComponent, deps: [{ token: i0__namespace.ElementRef }, { token: i0__namespace.ChangeDetectorRef }], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
6520
|
+
AXTabItemComponent.ɵcmp = i0__namespace.ɵɵ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: i0.TemplateRef, descendants: true }], usesInheritance: true, ngImport: i0__namespace, template: "\n <ng-content select=\"ax-prefix\"></ng-content>\n <span>{{text}}</span>\n <ng-content select=\"ax-suffix\"></ng-content>\n <ng-template>\n <ng-content>\n </ng-content>\n </ng-template>\n ", isInline: true, changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush, encapsulation: i0__namespace.ViewEncapsulation.None });
|
|
6521
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXTabItemComponent, decorators: [{
|
|
6522
|
+
type: i0.Component,
|
|
6523
|
+
args: [{
|
|
6524
|
+
selector: 'ax-tab-item',
|
|
6525
|
+
template: "\n <ng-content select=\"ax-prefix\"></ng-content>\n <span>{{text}}</span>\n <ng-content select=\"ax-suffix\"></ng-content>\n <ng-template>\n <ng-content>\n </ng-content>\n </ng-template>\n ",
|
|
6526
|
+
changeDetection: i0.ChangeDetectionStrategy.OnPush,
|
|
6527
|
+
encapsulation: i0.ViewEncapsulation.None,
|
|
6528
|
+
}]
|
|
6529
|
+
}], ctorParameters: function () { return [{ type: i0__namespace.ElementRef }, { type: i0__namespace.ChangeDetectorRef }]; }, propDecorators: { text: [{
|
|
6530
|
+
type: i0.Input
|
|
6531
|
+
}], width: [{
|
|
6532
|
+
type: i0.Input
|
|
6533
|
+
}], template: [{
|
|
6534
|
+
type: i0.ViewChild,
|
|
6535
|
+
args: [i0.TemplateRef]
|
|
6536
|
+
}], activeChange: [{
|
|
6537
|
+
type: i0.Output
|
|
6538
|
+
}], active: [{
|
|
6539
|
+
type: i0.Input
|
|
6540
|
+
}], __hostClick: [{
|
|
6541
|
+
type: i0.HostListener,
|
|
6542
|
+
args: ['click', ['$event']]
|
|
6543
|
+
}] } });
|
|
6544
|
+
|
|
6545
|
+
var AXTabsComponent = /** @class */ (function (_super) {
|
|
6546
|
+
__extends(AXTabsComponent, _super);
|
|
6547
|
+
function AXTabsComponent(elementRef, cdr) {
|
|
6548
|
+
var _this = _super.call(this, elementRef, cdr) || this;
|
|
6549
|
+
_this.mode = 'default';
|
|
6550
|
+
_this.direction = "horizontal";
|
|
6551
|
+
_this.fitParent = false;
|
|
6552
|
+
_this.minWidth = false;
|
|
6553
|
+
return _this;
|
|
6554
|
+
}
|
|
6555
|
+
AXTabsComponent.prototype.onViewInit = function () {
|
|
6556
|
+
var _this = this;
|
|
6557
|
+
this._handleSelectionChanged(this._contentTabs.get(0));
|
|
6558
|
+
this._contentTabs.forEach(function (c) {
|
|
6559
|
+
c.onClick.subscribe(function (t) {
|
|
6560
|
+
_this._handleSelectionChanged(c);
|
|
6561
|
+
});
|
|
6562
|
+
});
|
|
6563
|
+
};
|
|
6564
|
+
AXTabsComponent.prototype._handleSelectionChanged = function (e) {
|
|
6565
|
+
this._contentTabs.filter(function (c) { return c != e; }).forEach(function (c) { c.active = false; });
|
|
6566
|
+
e.active = true;
|
|
6567
|
+
this.content.portal = e.template;
|
|
6568
|
+
this._cdr.markForCheck();
|
|
6569
|
+
};
|
|
6570
|
+
Object.defineProperty(AXTabsComponent.prototype, "__hostClass", {
|
|
6571
|
+
get: function () {
|
|
6572
|
+
return ["ax-tabs-" + (this.mode ? this.mode : 'default'), "ax-tabs-" + this.direction, "" + (this.fitParent ? 'ax-tabs-fit' : '')].join(' ');
|
|
6573
|
+
},
|
|
6574
|
+
enumerable: false,
|
|
6575
|
+
configurable: true
|
|
6576
|
+
});
|
|
6577
|
+
return AXTabsComponent;
|
|
6578
|
+
}(AXBaseComponent));
|
|
6579
|
+
AXTabsComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXTabsComponent, deps: [{ token: i0__namespace.ElementRef }, { token: i0__namespace.ChangeDetectorRef }], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
6580
|
+
AXTabsComponent.ɵcmp = i0__namespace.ɵɵ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__namespace, template: "\n <div class=\"ax-items-wrapper\">\n <ng-content select=\"ax-tab-item\">\n </ng-content>\n </div>\n <!-- <div [axTabOutlet]=\"_activeTabView\">\n\n </div> -->\n ", isInline: true, changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush, encapsulation: i0__namespace.ViewEncapsulation.None });
|
|
6581
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXTabsComponent, decorators: [{
|
|
6582
|
+
type: i0.Component,
|
|
6583
|
+
args: [{
|
|
6584
|
+
selector: 'ax-tabs',
|
|
6585
|
+
template: "\n <div class=\"ax-items-wrapper\">\n <ng-content select=\"ax-tab-item\">\n </ng-content>\n </div>\n <!-- <div [axTabOutlet]=\"_activeTabView\">\n\n </div> -->\n ",
|
|
6586
|
+
changeDetection: i0.ChangeDetectionStrategy.OnPush,
|
|
6587
|
+
encapsulation: i0.ViewEncapsulation.None,
|
|
6588
|
+
}]
|
|
6589
|
+
}], ctorParameters: function () { return [{ type: i0__namespace.ElementRef }, { type: i0__namespace.ChangeDetectorRef }]; }, propDecorators: { _contentTabs: [{
|
|
6590
|
+
type: i0.ContentChildren,
|
|
6591
|
+
args: [AXTabItemComponent]
|
|
6592
|
+
}], mode: [{
|
|
6593
|
+
type: i0.Input
|
|
6594
|
+
}], direction: [{
|
|
6595
|
+
type: i0.Input
|
|
6596
|
+
}], fitParent: [{
|
|
6597
|
+
type: i0.Input
|
|
6598
|
+
}], minWidth: [{
|
|
6599
|
+
type: i0.Input
|
|
6600
|
+
}], content: [{
|
|
6601
|
+
type: i0.Input
|
|
6602
|
+
}], __hostClass: [{
|
|
6603
|
+
type: i0.HostBinding,
|
|
6604
|
+
args: ['class']
|
|
6605
|
+
}] } });
|
|
6606
|
+
|
|
6057
6607
|
var AXTabStripChangedEvent = /** @class */ (function (_super) {
|
|
6058
6608
|
__extends(AXTabStripChangedEvent, _super);
|
|
6059
6609
|
function AXTabStripChangedEvent() {
|
|
@@ -6062,15 +6612,45 @@
|
|
|
6062
6612
|
return AXTabStripChangedEvent;
|
|
6063
6613
|
}(AXEvent));
|
|
6064
6614
|
|
|
6065
|
-
var
|
|
6066
|
-
|
|
6615
|
+
var AXTabContentDirective = /** @class */ (function () {
|
|
6616
|
+
function AXTabContentDirective(_viewContainerRef) {
|
|
6617
|
+
this._viewContainerRef = _viewContainerRef;
|
|
6618
|
+
}
|
|
6619
|
+
Object.defineProperty(AXTabContentDirective.prototype, "portal", {
|
|
6620
|
+
get: function () {
|
|
6621
|
+
return this._portal;
|
|
6622
|
+
},
|
|
6623
|
+
set: function (v) {
|
|
6624
|
+
//debugger;
|
|
6625
|
+
this._portal = v;
|
|
6626
|
+
this._viewContainerRef.clear();
|
|
6627
|
+
var viewRef = this._viewContainerRef.createEmbeddedView(v, null, 0);
|
|
6628
|
+
},
|
|
6629
|
+
enumerable: false,
|
|
6630
|
+
configurable: true
|
|
6631
|
+
});
|
|
6632
|
+
return AXTabContentDirective;
|
|
6633
|
+
}());
|
|
6634
|
+
AXTabContentDirective.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXTabContentDirective, deps: [{ token: i0__namespace.ViewContainerRef }], target: i0__namespace.ɵɵFactoryTarget.Directive });
|
|
6635
|
+
AXTabContentDirective.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.6", type: AXTabContentDirective, selector: "[axTabContent]", inputs: { portal: ["axTabContent", "portal"] }, exportAs: ["axTabContent"], ngImport: i0__namespace });
|
|
6636
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXTabContentDirective, decorators: [{
|
|
6637
|
+
type: i0.Directive,
|
|
6638
|
+
args: [{
|
|
6639
|
+
selector: '[axTabContent]',
|
|
6640
|
+
exportAs: 'axTabContent',
|
|
6641
|
+
inputs: ['portal: axTabContent'],
|
|
6642
|
+
}]
|
|
6643
|
+
}], ctorParameters: function () { return [{ type: i0__namespace.ViewContainerRef }]; } });
|
|
6644
|
+
|
|
6645
|
+
var COMPONENT$3 = [AXTabsComponent, AXTabItemComponent, AXTabContentDirective];
|
|
6646
|
+
var MODULES$3 = [i4.CommonModule, i1.PortalModule, AXEditorDecoratorModule];
|
|
6067
6647
|
var AXTabsModule = /** @class */ (function () {
|
|
6068
6648
|
function AXTabsModule() {
|
|
6069
6649
|
}
|
|
6070
6650
|
return AXTabsModule;
|
|
6071
6651
|
}());
|
|
6072
6652
|
AXTabsModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXTabsModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
|
|
6073
|
-
AXTabsModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXTabsModule, declarations: [
|
|
6653
|
+
AXTabsModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXTabsModule, declarations: [AXTabsComponent, AXTabItemComponent, AXTabContentDirective], imports: [i4.CommonModule, i1.PortalModule, AXEditorDecoratorModule], exports: [AXTabsComponent, AXTabItemComponent, AXTabContentDirective] });
|
|
6074
6654
|
AXTabsModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXTabsModule, providers: [], imports: [__spreadArray([], __read(MODULES$3))] });
|
|
6075
6655
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXTabsModule, decorators: [{
|
|
6076
6656
|
type: i0.NgModule,
|
|
@@ -6198,8 +6778,8 @@
|
|
|
6198
6778
|
};
|
|
6199
6779
|
return AXTimeBoxComponent;
|
|
6200
6780
|
}(AXBaseTextBoxMixin));
|
|
6201
|
-
AXTimeBoxComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXTimeBoxComponent, deps: [{ token: i0__namespace.ElementRef }, { token: i0__namespace.ChangeDetectorRef }, { token: i1__namespace$
|
|
6202
|
-
AXTimeBoxComponent.ɵcmp = i0__namespace.ɵɵ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__namespace, 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__namespace.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__namespace.PatternValidator, selector: "[pattern][formControlName],[pattern][formControl],[pattern][ngModel]", inputs: ["pattern"] }, { type: i3__namespace.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i3__namespace.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { type:
|
|
6781
|
+
AXTimeBoxComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXTimeBoxComponent, deps: [{ token: i0__namespace.ElementRef }, { token: i0__namespace.ChangeDetectorRef }, { token: i1__namespace$2.MaskApplierService }], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
6782
|
+
AXTimeBoxComponent.ɵcmp = i0__namespace.ɵɵ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__namespace, 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__namespace.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__namespace.PatternValidator, selector: "[pattern][formControlName],[pattern][formControl],[pattern][ngModel]", inputs: ["pattern"] }, { type: i3__namespace.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i3__namespace.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { type: i4__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush, encapsulation: i0__namespace.ViewEncapsulation.None });
|
|
6203
6783
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXTimeBoxComponent, decorators: [{
|
|
6204
6784
|
type: i0.Component,
|
|
6205
6785
|
args: [{
|
|
@@ -6211,7 +6791,7 @@
|
|
|
6211
6791
|
encapsulation: i0.ViewEncapsulation.None,
|
|
6212
6792
|
host: { class: 'ax-time-box ax-editor-container' },
|
|
6213
6793
|
}]
|
|
6214
|
-
}], ctorParameters: function () { return [{ type: i0__namespace.ElementRef }, { type: i0__namespace.ChangeDetectorRef }, { type: i1__namespace$
|
|
6794
|
+
}], ctorParameters: function () { return [{ type: i0__namespace.ElementRef }, { type: i0__namespace.ChangeDetectorRef }, { type: i1__namespace$2.MaskApplierService }]; }, propDecorators: { hostClass: [{
|
|
6215
6795
|
type: i0.HostBinding,
|
|
6216
6796
|
args: ['class']
|
|
6217
6797
|
}], minValue: [{
|
|
@@ -6228,10 +6808,10 @@
|
|
|
6228
6808
|
|
|
6229
6809
|
var COMPONENT$2 = [AXTimeBoxComponent];
|
|
6230
6810
|
var MODULES$2 = [
|
|
6231
|
-
|
|
6811
|
+
i4.CommonModule,
|
|
6232
6812
|
i3.FormsModule,
|
|
6233
6813
|
AXButtonModule,
|
|
6234
|
-
i1$
|
|
6814
|
+
i1$2.NgxMaskModule.forChild()
|
|
6235
6815
|
];
|
|
6236
6816
|
var AXTimeBoxModule = /** @class */ (function () {
|
|
6237
6817
|
function AXTimeBoxModule() {
|
|
@@ -6239,9 +6819,9 @@
|
|
|
6239
6819
|
return AXTimeBoxModule;
|
|
6240
6820
|
}());
|
|
6241
6821
|
AXTimeBoxModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXTimeBoxModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
|
|
6242
|
-
AXTimeBoxModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXTimeBoxModule, declarations: [AXTimeBoxComponent], imports: [
|
|
6822
|
+
AXTimeBoxModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXTimeBoxModule, declarations: [AXTimeBoxComponent], imports: [i4.CommonModule,
|
|
6243
6823
|
i3.FormsModule,
|
|
6244
|
-
AXButtonModule, i1__namespace$
|
|
6824
|
+
AXButtonModule, i1__namespace$2.NgxMaskModule], exports: [AXTimeBoxComponent] });
|
|
6245
6825
|
AXTimeBoxModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXTimeBoxModule, providers: [], imports: [__spreadArray([], __read(MODULES$2))] });
|
|
6246
6826
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXTimeBoxModule, decorators: [{
|
|
6247
6827
|
type: i0.NgModule,
|
|
@@ -6291,7 +6871,7 @@
|
|
|
6291
6871
|
return AXToastComponent;
|
|
6292
6872
|
}(AXBaseComponentMixin));
|
|
6293
6873
|
AXToastComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXToastComponent, deps: [{ token: i0__namespace.ElementRef }, { token: i0__namespace.ChangeDetectorRef }], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
6294
|
-
AXToastComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: AXToastComponent, selector: "ax-toast", host: { classAttribute: "ax-toast" }, usesInheritance: true, ngImport: i0__namespace, 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:
|
|
6874
|
+
AXToastComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: AXToastComponent, selector: "ax-toast", host: { classAttribute: "ax-toast" }, usesInheritance: true, ngImport: i0__namespace, 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__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush, encapsulation: i0__namespace.ViewEncapsulation.None });
|
|
6295
6875
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXToastComponent, decorators: [{
|
|
6296
6876
|
type: i0.Component,
|
|
6297
6877
|
args: [{
|
|
@@ -6304,14 +6884,14 @@
|
|
|
6304
6884
|
}], ctorParameters: function () { return [{ type: i0__namespace.ElementRef }, { type: i0__namespace.ChangeDetectorRef }]; } });
|
|
6305
6885
|
|
|
6306
6886
|
var COMPONENT$1 = [AXToastComponent];
|
|
6307
|
-
var MODULES$1 = [
|
|
6887
|
+
var MODULES$1 = [i4.CommonModule, AXButtonModule];
|
|
6308
6888
|
var AXToastModule = /** @class */ (function () {
|
|
6309
6889
|
function AXToastModule() {
|
|
6310
6890
|
}
|
|
6311
6891
|
return AXToastModule;
|
|
6312
6892
|
}());
|
|
6313
6893
|
AXToastModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXToastModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
|
|
6314
|
-
AXToastModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXToastModule, declarations: [AXToastComponent], imports: [
|
|
6894
|
+
AXToastModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXToastModule, declarations: [AXToastComponent], imports: [i4.CommonModule, AXButtonModule], exports: [AXToastComponent] });
|
|
6315
6895
|
AXToastModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXToastModule, providers: [], imports: [__spreadArray([], __read(MODULES$1))] });
|
|
6316
6896
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXToastModule, decorators: [{
|
|
6317
6897
|
type: i0.NgModule,
|
|
@@ -6392,7 +6972,7 @@
|
|
|
6392
6972
|
positionStrategy: positionStrategy,
|
|
6393
6973
|
panelClass: ['animate__animated', 'animate__fadeIn', 'animate__faster'],
|
|
6394
6974
|
});
|
|
6395
|
-
var toastPortal = new i1
|
|
6975
|
+
var toastPortal = new i1.ComponentPortal(AXToastComponent, null, this.parentInjector);
|
|
6396
6976
|
var host = overlayRef.attach(toastPortal);
|
|
6397
6977
|
host.instance.visibleIndex = this._activeList.length;
|
|
6398
6978
|
this._activeList.push(host.instance);
|
|
@@ -6427,12 +7007,12 @@
|
|
|
6427
7007
|
};
|
|
6428
7008
|
return AXToastService;
|
|
6429
7009
|
}());
|
|
6430
|
-
AXToastService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXToastService, deps: [{ token: i1__namespace
|
|
7010
|
+
AXToastService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXToastService, deps: [{ token: i1__namespace.Overlay }, { token: i0__namespace.Injector }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
|
|
6431
7011
|
AXToastService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXToastService, providedIn: 'root' });
|
|
6432
7012
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXToastService, decorators: [{
|
|
6433
7013
|
type: i0.Injectable,
|
|
6434
7014
|
args: [{ providedIn: 'root' }]
|
|
6435
|
-
}], ctorParameters: function () { return [{ type: i1__namespace
|
|
7015
|
+
}], ctorParameters: function () { return [{ type: i1__namespace.Overlay }, { type: i0__namespace.Injector }]; } });
|
|
6436
7016
|
|
|
6437
7017
|
var AXTooltipComponent = /** @class */ (function (_super) {
|
|
6438
7018
|
__extends(AXTooltipComponent, _super);
|
|
@@ -6532,7 +7112,7 @@
|
|
|
6532
7112
|
this.overlayRef = this.overlay.create({ positionStrategy: positionStrategy });
|
|
6533
7113
|
};
|
|
6534
7114
|
AXTooltipDirective.prototype.show = function () {
|
|
6535
|
-
var tooltipRef = this.overlayRef.attach(new i1
|
|
7115
|
+
var tooltipRef = this.overlayRef.attach(new i1.ComponentPortal(AXTooltipComponent));
|
|
6536
7116
|
tooltipRef.instance.text = this.text;
|
|
6537
7117
|
tooltipRef.instance.position = this.position;
|
|
6538
7118
|
};
|
|
@@ -6541,12 +7121,12 @@
|
|
|
6541
7121
|
};
|
|
6542
7122
|
return AXTooltipDirective;
|
|
6543
7123
|
}());
|
|
6544
|
-
AXTooltipDirective.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXTooltipDirective, deps: [{ token: i1__namespace
|
|
7124
|
+
AXTooltipDirective.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXTooltipDirective, deps: [{ token: i1__namespace.Overlay }, { token: i1__namespace.OverlayPositionBuilder }, { token: i0__namespace.ElementRef }], target: i0__namespace.ɵɵFactoryTarget.Directive });
|
|
6545
7125
|
AXTooltipDirective.ɵdir = i0__namespace.ɵɵ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__namespace });
|
|
6546
7126
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXTooltipDirective, decorators: [{
|
|
6547
7127
|
type: i0.Directive,
|
|
6548
7128
|
args: [{ selector: '[axTooltip]' }]
|
|
6549
|
-
}], ctorParameters: function () { return [{ type: i1__namespace
|
|
7129
|
+
}], ctorParameters: function () { return [{ type: i1__namespace.Overlay }, { type: i1__namespace.OverlayPositionBuilder }, { type: i0__namespace.ElementRef }]; }, propDecorators: { text: [{
|
|
6550
7130
|
type: i0.Input,
|
|
6551
7131
|
args: ['axTooltip']
|
|
6552
7132
|
}], position: [{
|
|
@@ -6561,14 +7141,14 @@
|
|
|
6561
7141
|
}] } });
|
|
6562
7142
|
|
|
6563
7143
|
var COMPONENT = [AXTooltipComponent, AXTooltipDirective];
|
|
6564
|
-
var MODULES = [
|
|
7144
|
+
var MODULES = [i4.CommonModule, i1$1.OverlayModule];
|
|
6565
7145
|
var AXTooltipModule = /** @class */ (function () {
|
|
6566
7146
|
function AXTooltipModule() {
|
|
6567
7147
|
}
|
|
6568
7148
|
return AXTooltipModule;
|
|
6569
7149
|
}());
|
|
6570
7150
|
AXTooltipModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXTooltipModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
|
|
6571
|
-
AXTooltipModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXTooltipModule, declarations: [AXTooltipComponent, AXTooltipDirective], imports: [
|
|
7151
|
+
AXTooltipModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXTooltipModule, declarations: [AXTooltipComponent, AXTooltipDirective], imports: [i4.CommonModule, i1$1.OverlayModule], exports: [AXTooltipComponent, AXTooltipDirective] });
|
|
6572
7152
|
AXTooltipModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXTooltipModule, providers: [], imports: [__spreadArray([], __read(MODULES))] });
|
|
6573
7153
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXTooltipModule, decorators: [{
|
|
6574
7154
|
type: i0.NgModule,
|
|
@@ -6604,7 +7184,7 @@
|
|
|
6604
7184
|
return AXTextBoxComponent;
|
|
6605
7185
|
}(AXBaseTextBoxMixin));
|
|
6606
7186
|
AXTextBoxComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXTextBoxComponent, deps: [{ token: i0__namespace.ElementRef }, { token: i0__namespace.ChangeDetectorRef }], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
6607
|
-
AXTextBoxComponent.ɵcmp = i0__namespace.ɵɵ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__namespace, 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__namespace$
|
|
7187
|
+
AXTextBoxComponent.ɵcmp = i0__namespace.ɵɵ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__namespace, 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__namespace$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__namespace.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__namespace.MaxLengthValidator, selector: "[maxlength][formControlName],[maxlength][formControl],[maxlength][ngModel]", inputs: ["maxlength"] }, { type: i3__namespace.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i3__namespace.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { type: i4__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush, encapsulation: i0__namespace.ViewEncapsulation.None });
|
|
6608
7188
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXTextBoxComponent, decorators: [{
|
|
6609
7189
|
type: i0.Component,
|
|
6610
7190
|
args: [{
|
|
@@ -6641,29 +7221,29 @@
|
|
|
6641
7221
|
return AXTextBoxModule;
|
|
6642
7222
|
}());
|
|
6643
7223
|
AXTextBoxModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXTextBoxModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
|
|
6644
|
-
AXTextBoxModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXTextBoxModule, declarations: [AXTextBoxComponent], imports: [
|
|
7224
|
+
AXTextBoxModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXTextBoxModule, declarations: [AXTextBoxComponent], imports: [i4.CommonModule,
|
|
6645
7225
|
i3.FormsModule,
|
|
6646
7226
|
AXButtonModule,
|
|
6647
7227
|
AXEditorDecoratorModule,
|
|
6648
|
-
AXIconModule, i1__namespace$
|
|
7228
|
+
AXIconModule, i1__namespace$2.NgxMaskModule], exports: [AXTextBoxComponent] });
|
|
6649
7229
|
AXTextBoxModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXTextBoxModule, providers: [], imports: [[
|
|
6650
|
-
|
|
7230
|
+
i4.CommonModule,
|
|
6651
7231
|
i3.FormsModule,
|
|
6652
7232
|
AXButtonModule,
|
|
6653
7233
|
AXEditorDecoratorModule,
|
|
6654
7234
|
AXIconModule,
|
|
6655
|
-
i1$
|
|
7235
|
+
i1$2.NgxMaskModule.forChild()
|
|
6656
7236
|
]] });
|
|
6657
7237
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXTextBoxModule, decorators: [{
|
|
6658
7238
|
type: i0.NgModule,
|
|
6659
7239
|
args: [{
|
|
6660
7240
|
imports: [
|
|
6661
|
-
|
|
7241
|
+
i4.CommonModule,
|
|
6662
7242
|
i3.FormsModule,
|
|
6663
7243
|
AXButtonModule,
|
|
6664
7244
|
AXEditorDecoratorModule,
|
|
6665
7245
|
AXIconModule,
|
|
6666
|
-
i1$
|
|
7246
|
+
i1$2.NgxMaskModule.forChild()
|
|
6667
7247
|
],
|
|
6668
7248
|
exports: [AXTextBoxComponent],
|
|
6669
7249
|
declarations: [AXTextBoxComponent],
|
|
@@ -6803,13 +7383,13 @@
|
|
|
6803
7383
|
return AXValidationModule;
|
|
6804
7384
|
}());
|
|
6805
7385
|
AXValidationModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXValidationModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
|
|
6806
|
-
AXValidationModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXValidationModule, declarations: [AXValidationRuleComponent], imports: [
|
|
6807
|
-
AXValidationModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXValidationModule, providers: [], imports: [[
|
|
7386
|
+
AXValidationModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXValidationModule, declarations: [AXValidationRuleComponent], imports: [i4.CommonModule], exports: [AXValidationRuleComponent] });
|
|
7387
|
+
AXValidationModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXValidationModule, providers: [], imports: [[i4.CommonModule]] });
|
|
6808
7388
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: AXValidationModule, decorators: [{
|
|
6809
7389
|
type: i0.NgModule,
|
|
6810
7390
|
args: [{
|
|
6811
7391
|
declarations: [AXValidationRuleComponent],
|
|
6812
|
-
imports: [
|
|
7392
|
+
imports: [i4.CommonModule],
|
|
6813
7393
|
exports: [AXValidationRuleComponent],
|
|
6814
7394
|
providers: []
|
|
6815
7395
|
}]
|
|
@@ -6833,6 +7413,8 @@
|
|
|
6833
7413
|
exports.AXAlertTitleComponent = AXAlertTitleComponent;
|
|
6834
7414
|
exports.AXAvatarComponent = AXAvatarComponent;
|
|
6835
7415
|
exports.AXAvatarModule = AXAvatarModule;
|
|
7416
|
+
exports.AXBadgeComponent = AXBadgeComponent;
|
|
7417
|
+
exports.AXBadgeModule = AXBadgeModule;
|
|
6836
7418
|
exports.AXBaseButtonMixin = AXBaseButtonMixin;
|
|
6837
7419
|
exports.AXBaseClickableMixin = AXBaseClickableMixin;
|
|
6838
7420
|
exports.AXBaseComponent = AXBaseComponent;
|
|
@@ -6850,7 +7432,7 @@
|
|
|
6850
7432
|
exports.AXButtonItemComponent = AXButtonItemComponent;
|
|
6851
7433
|
exports.AXButtonModule = AXButtonModule;
|
|
6852
7434
|
exports.AXCalendarComponent = AXCalendarComponent;
|
|
6853
|
-
exports.
|
|
7435
|
+
exports.AXCalendarComponentMixin = AXCalendarComponentMixin;
|
|
6854
7436
|
exports.AXCalendarModule = AXCalendarModule;
|
|
6855
7437
|
exports.AXCarouselArrowsComponent = AXCarouselArrowsComponent;
|
|
6856
7438
|
exports.AXCarouselComponent = AXCarouselComponent;
|
|
@@ -6908,6 +7490,8 @@
|
|
|
6908
7490
|
exports.AXPageFooterComponent = AXPageFooterComponent;
|
|
6909
7491
|
exports.AXPageModule = AXPageModule;
|
|
6910
7492
|
exports.AXPageResult = AXPageResult;
|
|
7493
|
+
exports.AXPasswordBoxComponent = AXPasswordBoxComponent;
|
|
7494
|
+
exports.AXPasswordBoxModule = AXPasswordBoxModule;
|
|
6911
7495
|
exports.AXPopoverComponent = AXPopoverComponent;
|
|
6912
7496
|
exports.AXPopoverModule = AXPopoverModule;
|
|
6913
7497
|
exports.AXPopupComponent = AXPopupComponent;
|
|
@@ -6926,10 +7510,12 @@
|
|
|
6926
7510
|
exports.AXSizableComponentMixin = AXSizableComponentMixin;
|
|
6927
7511
|
exports.AXSwitchComponent = AXSwitchComponent;
|
|
6928
7512
|
exports.AXSwitchModule = AXSwitchModule;
|
|
6929
|
-
exports.
|
|
7513
|
+
exports.AXTabContentDirective = AXTabContentDirective;
|
|
7514
|
+
exports.AXTabItemComponent = AXTabItemComponent;
|
|
6930
7515
|
exports.AXTabStripChangedEvent = AXTabStripChangedEvent;
|
|
6931
7516
|
exports.AXTabStripComponent = AXTabStripComponent;
|
|
6932
7517
|
exports.AXTabViewComponent = AXTabViewComponent;
|
|
7518
|
+
exports.AXTabsComponent = AXTabsComponent;
|
|
6933
7519
|
exports.AXTabsModule = AXTabsModule;
|
|
6934
7520
|
exports.AXTextBoxComponent = AXTextBoxComponent;
|
|
6935
7521
|
exports.AXTextBoxModule = AXTextBoxModule;
|