@acorex/components 5.2.2 → 5.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm2020/lib/alert/alert-button.component.mjs +2 -3
- package/esm2020/lib/alert/alert.component.mjs +33 -23
- package/esm2020/lib/alert/alert.module.mjs +6 -22
- package/esm2020/lib/alert/index.mjs +1 -5
- package/esm2020/lib/base/components.class.mjs +17 -0
- package/esm2020/lib/base/events.class.mjs +1 -1
- package/esm2020/lib/base/index.mjs +2 -1
- package/esm2020/lib/base/mixin/base-components.class.mjs +5 -5
- package/esm2020/lib/base/mixin/base-menu-mixin.class.mjs +4 -3
- package/esm2020/lib/base/mixin/color-look-mixing.class.mjs +1 -1
- package/esm2020/lib/base/mixin/datalist-component.class.mjs +2 -1
- package/esm2020/lib/base/styles.class.mjs +1 -1
- package/esm2020/lib/button/button-group.component.mjs +1 -1
- package/esm2020/lib/button/button-item.class.mjs +1 -1
- package/esm2020/lib/button/button.module.mjs +4 -5
- package/esm2020/lib/calendar/calendar.component.mjs +4 -4
- package/esm2020/lib/calendar/calendar.module.mjs +4 -5
- package/esm2020/lib/checkbox/checkbox.module.mjs +5 -5
- package/esm2020/lib/datepicker/datepicker.component.mjs +11 -7
- package/esm2020/lib/datepicker/datepicker.module.mjs +4 -7
- package/esm2020/lib/decorators/close-button.component.mjs +40 -0
- package/esm2020/lib/decorators/decorators.module.mjs +37 -7
- package/esm2020/lib/decorators/footer.component.mjs +24 -0
- package/esm2020/lib/decorators/header.component.mjs +3 -5
- package/esm2020/lib/decorators/icon.component.mjs +28 -0
- package/esm2020/lib/decorators/index.mjs +5 -1
- package/esm2020/lib/decorators/prefix.component.mjs +3 -3
- package/esm2020/lib/decorators/suffix.component.mjs +3 -3
- package/esm2020/lib/decorators/title.component.mjs +24 -0
- package/esm2020/lib/dialog/dialog.module.mjs +4 -4
- package/esm2020/lib/drawer/drawer-container.component.mjs +17 -57
- package/esm2020/lib/drawer/drawer.component.mjs +97 -127
- package/esm2020/lib/drawer/drawer.module.mjs +3 -4
- package/esm2020/lib/drawer/index.mjs +1 -2
- package/esm2020/lib/dropdown/dropdown-panel.component.mjs +4 -4
- package/esm2020/lib/dropdown/dropdown.module.mjs +5 -6
- package/esm2020/lib/menu/menu.component.mjs +20 -7
- package/esm2020/lib/menu/menu.module.mjs +4 -7
- package/esm2020/lib/number-box/number-box.component.mjs +2 -2
- package/esm2020/lib/number-box/number-box.module.mjs +4 -7
- package/esm2020/lib/page/base-page.class.mjs +3 -3
- package/esm2020/lib/page/index.mjs +1 -3
- package/esm2020/lib/page/page.module.mjs +4 -6
- package/esm2020/lib/password-box/password-box.component.mjs +2 -2
- package/esm2020/lib/password-box/password-box.module.mjs +4 -7
- package/esm2020/lib/picker/picker.component.mjs +260 -25
- package/esm2020/lib/picker/picker.model.class.mjs +2 -0
- package/esm2020/lib/popover/popover.component.mjs +6 -3
- package/esm2020/lib/popup/popup.component.mjs +13 -10
- package/esm2020/lib/popup/popup.module.mjs +4 -3
- package/esm2020/lib/radio/index.mjs +1 -1
- package/esm2020/lib/radio/radio.component.mjs +3 -3
- package/esm2020/lib/radio/radio.module.mjs +1 -1
- package/esm2020/lib/searchbox/index.mjs +3 -0
- package/esm2020/lib/searchbox/searchbox.component.mjs +47 -0
- package/esm2020/lib/searchbox/searchbox.module.mjs +24 -0
- package/esm2020/lib/selectbox/selectbox.component.mjs +33 -26
- package/esm2020/lib/selectbox/selectbox.module.mjs +5 -9
- package/esm2020/lib/tabs/tabs.module.mjs +4 -4
- package/esm2020/lib/textbox/textbox.module.mjs +5 -9
- package/esm2020/lib/toast/toast.class.mjs +1 -1
- package/esm2020/lib/toast/toast.component.mjs +14 -12
- package/esm2020/lib/toast/toast.module.mjs +5 -3
- package/esm2020/lib/toast/toast.service.mjs +37 -9
- package/esm2020/public-api.mjs +2 -2
- package/fesm2015/acorex-components.mjs +849 -662
- package/fesm2015/acorex-components.mjs.map +1 -1
- package/fesm2020/acorex-components.mjs +840 -662
- package/fesm2020/acorex-components.mjs.map +1 -1
- package/lib/alert/alert.component.d.ts +7 -6
- package/lib/alert/alert.module.d.ts +4 -8
- package/lib/alert/index.d.ts +0 -4
- package/lib/badge/badge.component.d.ts +3 -3
- package/lib/base/components.class.d.ts +11 -0
- package/lib/base/index.d.ts +1 -0
- package/lib/base/mixin/base-components.class.d.ts +2 -2
- package/lib/base/mixin/button-mixin.class.d.ts +0 -3
- package/lib/base/mixin/color-look-mixing.class.d.ts +4 -4
- package/lib/base/mixin/mixin.class.d.ts +6 -6
- package/lib/base/mixin/selection-component.class.d.ts +3 -0
- package/lib/base/mixin/textbox-mixin.class.d.ts +3 -3
- package/lib/base/styles.class.d.ts +1 -1
- package/lib/button/button-group.component.d.ts +4 -4
- package/lib/button/button-item.class.d.ts +2 -2
- package/lib/button/button.module.d.ts +2 -3
- package/lib/calendar/calendar.module.d.ts +4 -5
- package/lib/checkbox/checkbox.module.d.ts +1 -1
- package/lib/datepicker/datepicker.module.d.ts +3 -4
- package/lib/decorators/close-button.component.d.ts +13 -0
- package/lib/decorators/decorators.module.d.ts +10 -6
- package/lib/decorators/footer.component.d.ts +8 -0
- package/lib/decorators/header.component.d.ts +1 -1
- package/lib/decorators/icon.component.d.ts +10 -0
- package/lib/decorators/index.d.ts +4 -0
- package/lib/decorators/prefix.component.d.ts +1 -1
- package/lib/decorators/suffix.component.d.ts +1 -1
- package/lib/decorators/title.component.d.ts +9 -0
- package/lib/dialog/dialog.module.d.ts +1 -1
- package/lib/drawer/drawer-container.component.d.ts +5 -8
- package/lib/drawer/drawer.component.d.ts +23 -19
- package/lib/drawer/drawer.module.d.ts +2 -3
- package/lib/drawer/index.d.ts +0 -1
- package/lib/dropdown/dropdown.module.d.ts +3 -4
- package/lib/menu/menu.component.d.ts +1 -0
- package/lib/menu/menu.module.d.ts +2 -2
- package/lib/number-box/number-box.module.d.ts +2 -3
- package/lib/page/base-page.class.d.ts +2 -2
- package/lib/page/index.d.ts +0 -2
- package/lib/page/page.module.d.ts +1 -3
- package/lib/password-box/password-box.module.d.ts +1 -2
- package/lib/picker/picker.component.d.ts +54 -13
- package/lib/picker/picker.model.class.d.ts +10 -0
- package/lib/popover/popover.component.d.ts +2 -1
- package/lib/popup/popup.module.d.ts +2 -1
- package/lib/searchbox/index.d.ts +2 -0
- package/lib/searchbox/searchbox.component.d.ts +16 -0
- package/lib/searchbox/searchbox.module.d.ts +11 -0
- package/lib/selectbox/selectbox.component.d.ts +4 -14
- package/lib/selectbox/selectbox.module.d.ts +6 -7
- package/lib/tabs/tabs.module.d.ts +1 -1
- package/lib/textbox/textbox.module.d.ts +2 -3
- package/lib/toast/toast.class.d.ts +4 -3
- package/lib/toast/toast.component.d.ts +0 -2
- package/lib/toast/toast.module.d.ts +3 -1
- package/lib/toast/toast.service.d.ts +4 -0
- package/package.json +1 -1
- package/public-api.d.ts +1 -1
- package/esm2020/lib/alert/alert-content.component.mjs +0 -21
- package/esm2020/lib/alert/alert-footer.component.mjs +0 -27
- package/esm2020/lib/alert/alert-suffix.component.mjs +0 -27
- package/esm2020/lib/alert/alert-title.component.mjs +0 -23
- package/esm2020/lib/drawer/drawer-content.component.mjs +0 -27
- package/esm2020/lib/icon/icon.component.mjs +0 -28
- package/esm2020/lib/icon/icon.module.mjs +0 -21
- package/esm2020/lib/icon/index.mjs +0 -3
- package/esm2020/lib/page/page-footer.component.mjs +0 -28
- package/esm2020/lib/page/page-header.component.mjs +0 -28
- package/lib/alert/alert-content.component.d.ts +0 -5
- package/lib/alert/alert-footer.component.d.ts +0 -5
- package/lib/alert/alert-suffix.component.d.ts +0 -5
- package/lib/alert/alert-title.component.d.ts +0 -5
- package/lib/drawer/drawer-content.component.d.ts +0 -8
- package/lib/icon/icon.component.d.ts +0 -10
- package/lib/icon/icon.module.d.ts +0 -8
- package/lib/icon/index.d.ts +0 -2
- package/lib/page/page-footer.component.d.ts +0 -7
- package/lib/page/page-header.component.d.ts +0 -7
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { trigger, state, style, transition, animate } from '@angular/animations';
|
|
2
2
|
import * as i0 from '@angular/core';
|
|
3
|
-
import { Injectable, Inject, EventEmitter, Directive, Input, TemplateRef, NgModule, Component, ChangeDetectionStrategy, ViewEncapsulation, HostListener, HostBinding, Output, ContentChildren,
|
|
3
|
+
import { Injectable, Inject, EventEmitter, Directive, Input, TemplateRef, NgModule, Component, ChangeDetectionStrategy, ViewEncapsulation, HostListener, HostBinding, Output, ContentChildren, Optional, ContentChild, ViewChildren, ViewChild, ElementRef } from '@angular/core';
|
|
4
4
|
import { __classPrivateFieldSet, __classPrivateFieldGet, __awaiter } from 'tslib';
|
|
5
5
|
import _ from 'lodash';
|
|
6
6
|
import { coerceBooleanProperty, coerceNumberProperty } from '@angular/cdk/coercion';
|
|
@@ -90,17 +90,17 @@ class AXBaseComponent {
|
|
|
90
90
|
const oldValue = this[option.name];
|
|
91
91
|
const newValue = this._onOptionChanging({ name: option.name, value: option.value });
|
|
92
92
|
//TODO : check real changes
|
|
93
|
+
if (option.beforeCallback)
|
|
94
|
+
option.beforeCallback(oldValue, newValue);
|
|
93
95
|
if (oldValue != newValue) {
|
|
94
|
-
if (option.beforeCallback)
|
|
95
|
-
option.beforeCallback();
|
|
96
96
|
this[`_${option.name}`] = option.value;
|
|
97
97
|
this._onOptionChanged({ name: option.name, newValue, oldValue });
|
|
98
98
|
const emitter = this[`${option.name}Change`];
|
|
99
99
|
if (emitter)
|
|
100
100
|
emitter.emit(newValue);
|
|
101
|
-
if (option.afterCallback)
|
|
102
|
-
option.afterCallback();
|
|
103
101
|
}
|
|
102
|
+
if (option.afterCallback)
|
|
103
|
+
option.afterCallback(oldValue, newValue);
|
|
104
104
|
}
|
|
105
105
|
}
|
|
106
106
|
_AXBaseComponent_elementRef = new WeakMap();
|
|
@@ -178,15 +178,16 @@ function _BaseMenuComponentMixin(Base) {
|
|
|
178
178
|
return o;
|
|
179
179
|
else {
|
|
180
180
|
const no = {};
|
|
181
|
+
no[this.valueField] = o;
|
|
181
182
|
no[Array.isArray(this.textField) ? this.textField[0] : this.textField] = o;
|
|
182
183
|
return no;
|
|
183
184
|
}
|
|
184
|
-
}));
|
|
185
|
+
}), this.valueField);
|
|
185
186
|
}
|
|
186
187
|
_findNode(parentId, _children, source) {
|
|
187
188
|
if (source.length > 0) {
|
|
188
189
|
source.forEach((element) => {
|
|
189
|
-
if (element.
|
|
190
|
+
if (element[this.valueField] == parentId) {
|
|
190
191
|
element.children = _children;
|
|
191
192
|
}
|
|
192
193
|
else {
|
|
@@ -541,6 +542,7 @@ function _DatalistComponenetMixin(Base) {
|
|
|
541
542
|
}
|
|
542
543
|
empty() {
|
|
543
544
|
__classPrivateFieldSet(this, _isLoading, false, "f");
|
|
545
|
+
__classPrivateFieldSet(this, _currentPage, 0, "f");
|
|
544
546
|
if (__classPrivateFieldGet(this, _loadedItems, "f")) {
|
|
545
547
|
__classPrivateFieldGet(this, _loadedItems, "f").length = 0;
|
|
546
548
|
}
|
|
@@ -1196,6 +1198,21 @@ const AXBaseDropdownMixin = _SizableComponenetMixin(_InteractiveComponenetMixin(
|
|
|
1196
1198
|
const AXBaseMenuMixin = _InteractiveComponenetMixin(_BaseMenuComponentMixin(AXBaseComponent));
|
|
1197
1199
|
const AXAvatarMixin = _ColorLookComponentMixin(AXBaseComponent);
|
|
1198
1200
|
|
|
1201
|
+
class AXClosbaleComponent {
|
|
1202
|
+
}
|
|
1203
|
+
AXClosbaleComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXClosbaleComponent, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1204
|
+
AXClosbaleComponent.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXClosbaleComponent });
|
|
1205
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXClosbaleComponent, decorators: [{
|
|
1206
|
+
type: Injectable
|
|
1207
|
+
}] });
|
|
1208
|
+
class AXSearchableComponent {
|
|
1209
|
+
}
|
|
1210
|
+
AXSearchableComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXSearchableComponent, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1211
|
+
AXSearchableComponent.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXSearchableComponent });
|
|
1212
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXSearchableComponent, decorators: [{
|
|
1213
|
+
type: Injectable
|
|
1214
|
+
}] });
|
|
1215
|
+
|
|
1199
1216
|
/**
|
|
1200
1217
|
* Contains native event
|
|
1201
1218
|
* @category Events
|
|
@@ -1664,74 +1681,72 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
|
|
|
1664
1681
|
}] } });
|
|
1665
1682
|
|
|
1666
1683
|
class AXDrawerComponent extends AXBaseComponentMixin {
|
|
1667
|
-
constructor(
|
|
1668
|
-
super(
|
|
1669
|
-
this.
|
|
1670
|
-
this.
|
|
1671
|
-
this.
|
|
1672
|
-
this.
|
|
1673
|
-
this.
|
|
1674
|
-
this.
|
|
1684
|
+
constructor(_elementRef, _cdr, _zone) {
|
|
1685
|
+
super(_elementRef, _cdr);
|
|
1686
|
+
this._elementRef = _elementRef;
|
|
1687
|
+
this._zone = _zone;
|
|
1688
|
+
this.locationChange = new EventEmitter();
|
|
1689
|
+
this.modeChange = new EventEmitter();
|
|
1690
|
+
this._mode = 'overlay';
|
|
1691
|
+
this.collapsedChange = new EventEmitter();
|
|
1692
|
+
this._collapsed = true;
|
|
1693
|
+
this._loaded = false;
|
|
1694
|
+
}
|
|
1695
|
+
get location() {
|
|
1696
|
+
return this._location;
|
|
1697
|
+
}
|
|
1698
|
+
set location(v) {
|
|
1699
|
+
this._setOption({
|
|
1700
|
+
name: 'location',
|
|
1701
|
+
value: v
|
|
1702
|
+
});
|
|
1703
|
+
}
|
|
1704
|
+
get mode() {
|
|
1705
|
+
return this._mode;
|
|
1706
|
+
}
|
|
1707
|
+
set mode(v) {
|
|
1708
|
+
this._setOption({
|
|
1709
|
+
name: 'mode',
|
|
1710
|
+
value: v
|
|
1711
|
+
});
|
|
1675
1712
|
}
|
|
1676
1713
|
get collapsed() {
|
|
1677
1714
|
return this._collapsed;
|
|
1678
1715
|
}
|
|
1679
1716
|
set collapsed(v) {
|
|
1680
|
-
|
|
1681
|
-
|
|
1682
|
-
|
|
1683
|
-
|
|
1684
|
-
}
|
|
1717
|
+
this._setOption({
|
|
1718
|
+
name: 'collapsed',
|
|
1719
|
+
value: v
|
|
1720
|
+
});
|
|
1685
1721
|
}
|
|
1686
|
-
|
|
1687
|
-
|
|
1688
|
-
|
|
1689
|
-
|
|
1690
|
-
|
|
1691
|
-
|
|
1692
|
-
const hostElementClassList = this._getHostElement().classList;
|
|
1693
|
-
switch (this.location) {
|
|
1694
|
-
case 'start':
|
|
1695
|
-
hostElementClassList.add('ax-drawer-start');
|
|
1696
|
-
break;
|
|
1697
|
-
case 'end':
|
|
1698
|
-
hostElementClassList.add('ax-drawer-end');
|
|
1699
|
-
break;
|
|
1700
|
-
case 'top':
|
|
1701
|
-
hostElementClassList.add('ax-drawer-top');
|
|
1702
|
-
break;
|
|
1703
|
-
case 'bottom':
|
|
1704
|
-
hostElementClassList.add('ax-drawer-bottom');
|
|
1705
|
-
break;
|
|
1706
|
-
default:
|
|
1707
|
-
hostElementClassList.add('ax-drawer-start');
|
|
1708
|
-
break;
|
|
1709
|
-
}
|
|
1722
|
+
onViewInit() {
|
|
1723
|
+
setTimeout(() => {
|
|
1724
|
+
this._loaded = true;
|
|
1725
|
+
this._checkProps();
|
|
1726
|
+
}, 1000);
|
|
1727
|
+
this._detectBoundingSize();
|
|
1710
1728
|
}
|
|
1711
|
-
|
|
1712
|
-
this.
|
|
1713
|
-
|
|
1714
|
-
|
|
1715
|
-
|
|
1716
|
-
|
|
1717
|
-
|
|
1718
|
-
|
|
1719
|
-
|
|
1720
|
-
|
|
1721
|
-
|
|
1722
|
-
}
|
|
1723
|
-
}
|
|
1724
|
-
else {
|
|
1725
|
-
elm.classList.add('ax-expanded');
|
|
1726
|
-
elm.classList.remove('ax-collapsed');
|
|
1727
|
-
if (this._currentMode == 'overlay') {
|
|
1728
|
-
this._addBackdrop();
|
|
1729
|
-
}
|
|
1730
|
-
}
|
|
1729
|
+
_onOptionChanged(option) {
|
|
1730
|
+
this._checkProps();
|
|
1731
|
+
}
|
|
1732
|
+
ngDoCheck() {
|
|
1733
|
+
this._detectBoundingSize();
|
|
1734
|
+
}
|
|
1735
|
+
_detectBoundingSize() {
|
|
1736
|
+
this._zone.runOutsideAngular(() => {
|
|
1737
|
+
const host = this._getHostElement();
|
|
1738
|
+
if (host.clientWidth)
|
|
1739
|
+
host.style.setProperty('--ax-el-width', `${host.clientWidth}px`);
|
|
1731
1740
|
});
|
|
1732
1741
|
}
|
|
1733
|
-
|
|
1734
|
-
this.
|
|
1742
|
+
_checkProps() {
|
|
1743
|
+
this._detectBoundingSize();
|
|
1744
|
+
this._removeBackdrop();
|
|
1745
|
+
if (this.mode == 'overlay') {
|
|
1746
|
+
if (!this.collapsed) {
|
|
1747
|
+
this._addBackdrop();
|
|
1748
|
+
}
|
|
1749
|
+
}
|
|
1735
1750
|
}
|
|
1736
1751
|
toggle() {
|
|
1737
1752
|
this.collapsed = !this.collapsed;
|
|
@@ -1742,69 +1757,37 @@ class AXDrawerComponent extends AXBaseComponentMixin {
|
|
|
1742
1757
|
open() {
|
|
1743
1758
|
this.collapsed = false;
|
|
1744
1759
|
}
|
|
1745
|
-
|
|
1746
|
-
this.
|
|
1747
|
-
}
|
|
1748
|
-
_detectSize() {
|
|
1749
|
-
//TODO detect break size
|
|
1750
|
-
const bound = this._getHostElement().parentElement.getBoundingClientRect();
|
|
1751
|
-
if (bound.width == 0) {
|
|
1752
|
-
console.log('Drawer invalid size', bound);
|
|
1753
|
-
setTimeout(() => {
|
|
1754
|
-
this._detectSize();
|
|
1755
|
-
}, 1);
|
|
1756
|
-
return;
|
|
1757
|
-
}
|
|
1758
|
-
if (bound.width < 400) {
|
|
1759
|
-
this._currentMode = 'overlay';
|
|
1760
|
-
this.collapsed = true;
|
|
1761
|
-
}
|
|
1762
|
-
else {
|
|
1763
|
-
this._currentMode = this.mode;
|
|
1764
|
-
}
|
|
1765
|
-
this._updateClass();
|
|
1766
|
-
this._emitChange();
|
|
1767
|
-
}
|
|
1768
|
-
_emitChange() {
|
|
1769
|
-
this.onChanged.emit({
|
|
1770
|
-
component: this,
|
|
1771
|
-
htmlElement: this.elementRef.nativeElement
|
|
1772
|
-
});
|
|
1773
|
-
}
|
|
1774
|
-
_setOverlayMode() {
|
|
1775
|
-
this._currentMode = 'overlay';
|
|
1776
|
-
this._getHostElement().classList.remove('ax-drawer-push');
|
|
1777
|
-
this._getHostElement().classList.add('ax-drawer-overlay');
|
|
1778
|
-
}
|
|
1779
|
-
_setPushMode() {
|
|
1780
|
-
this._currentMode = 'push';
|
|
1781
|
-
this._getHostElement().classList.remove('ax-drawer-overlay');
|
|
1782
|
-
this._getHostElement().classList.add('ax-drawer-push');
|
|
1783
|
-
this._removeBackdrop();
|
|
1760
|
+
get __hostClass() {
|
|
1761
|
+
return `ax-drawer-${this.mode} ax-drawer-${this.location} ${this.collapsed ? 'ax-collapsed' : 'ax-expanded'} ${!this._loaded ? 'ax-preload' : ''}`;
|
|
1784
1762
|
}
|
|
1785
1763
|
_addBackdrop() {
|
|
1786
|
-
|
|
1787
|
-
|
|
1788
|
-
this.
|
|
1789
|
-
this.
|
|
1790
|
-
this.
|
|
1791
|
-
|
|
1764
|
+
this._zone.runOutsideAngular(() => {
|
|
1765
|
+
var _a;
|
|
1766
|
+
this._backdropElement = document.createElement('div');
|
|
1767
|
+
this._backdropElement.classList.add('ax-backdrop');
|
|
1768
|
+
this._backdropElement.onclick = () => {
|
|
1769
|
+
this._zone.run(() => {
|
|
1770
|
+
this.close();
|
|
1771
|
+
});
|
|
1772
|
+
};
|
|
1773
|
+
(_a = this._getHostElement().parentElement) === null || _a === void 0 ? void 0 : _a.appendChild(this._backdropElement);
|
|
1774
|
+
});
|
|
1792
1775
|
}
|
|
1793
1776
|
_removeBackdrop() {
|
|
1794
|
-
|
|
1795
|
-
|
|
1796
|
-
|
|
1797
|
-
|
|
1798
|
-
|
|
1799
|
-
|
|
1800
|
-
|
|
1801
|
-
this._removeBackdrop();
|
|
1802
|
-
this.collapsed = true;
|
|
1777
|
+
this._zone.runOutsideAngular(() => {
|
|
1778
|
+
var _a;
|
|
1779
|
+
if (this._backdropElement) {
|
|
1780
|
+
(_a = this._getHostElement().parentElement) === null || _a === void 0 ? void 0 : _a.removeChild(this._backdropElement);
|
|
1781
|
+
this._backdropElement = null;
|
|
1782
|
+
}
|
|
1783
|
+
});
|
|
1803
1784
|
}
|
|
1804
1785
|
}
|
|
1805
1786
|
AXDrawerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXDrawerComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
1806
|
-
AXDrawerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: AXDrawerComponent, selector: "ax-drawer", inputs: {
|
|
1807
|
-
<ng-content>
|
|
1787
|
+
AXDrawerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: AXDrawerComponent, selector: "ax-drawer", inputs: { location: "location", mode: "mode", collapsed: "collapsed" }, outputs: { locationChange: "locationChange", modeChange: "modeChange", collapsedChange: "collapsedChange" }, host: { properties: { "class": "this.__hostClass" } }, providers: [{ provide: AXClosbaleComponent, useExisting: AXDrawerComponent }], usesInheritance: true, ngImport: i0, template: `
|
|
1788
|
+
<ng-content select='ax-header'>
|
|
1789
|
+
</ng-content>
|
|
1790
|
+
<ng-content select='ax-content'>
|
|
1808
1791
|
</ng-content>
|
|
1809
1792
|
`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
1810
1793
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXDrawerComponent, decorators: [{
|
|
@@ -1812,135 +1795,78 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
|
|
|
1812
1795
|
args: [{
|
|
1813
1796
|
selector: 'ax-drawer',
|
|
1814
1797
|
template: `
|
|
1815
|
-
<ng-content>
|
|
1798
|
+
<ng-content select='ax-header'>
|
|
1799
|
+
</ng-content>
|
|
1800
|
+
<ng-content select='ax-content'>
|
|
1816
1801
|
</ng-content>
|
|
1817
1802
|
`,
|
|
1818
1803
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1819
1804
|
encapsulation: ViewEncapsulation.None,
|
|
1820
|
-
|
|
1805
|
+
providers: [{ provide: AXClosbaleComponent, useExisting: AXDrawerComponent }]
|
|
1821
1806
|
}]
|
|
1822
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: i0.NgZone }]; }, propDecorators: {
|
|
1807
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: i0.NgZone }]; }, propDecorators: { locationChange: [{
|
|
1823
1808
|
type: Output
|
|
1824
|
-
}], mode: [{
|
|
1825
|
-
type: Input
|
|
1826
1809
|
}], location: [{
|
|
1827
1810
|
type: Input
|
|
1811
|
+
}], modeChange: [{
|
|
1812
|
+
type: Output
|
|
1813
|
+
}], mode: [{
|
|
1814
|
+
type: Input
|
|
1815
|
+
}], collapsedChange: [{
|
|
1816
|
+
type: Output
|
|
1828
1817
|
}], collapsed: [{
|
|
1829
1818
|
type: Input
|
|
1830
|
-
}],
|
|
1831
|
-
type:
|
|
1832
|
-
args: ['
|
|
1819
|
+
}], __hostClass: [{
|
|
1820
|
+
type: HostBinding,
|
|
1821
|
+
args: ['class']
|
|
1833
1822
|
}] } });
|
|
1834
1823
|
|
|
1835
1824
|
class AXDrawerContainerComponent extends AXBaseComponentMixin {
|
|
1836
|
-
constructor(elementRef, cdr,
|
|
1825
|
+
constructor(elementRef, cdr, _zone) {
|
|
1837
1826
|
super(elementRef, cdr);
|
|
1838
|
-
this.
|
|
1839
|
-
}
|
|
1840
|
-
onViewInit() {
|
|
1841
|
-
this._updateWidth();
|
|
1842
|
-
// add animation
|
|
1843
|
-
// setTimeout(() => {
|
|
1844
|
-
// this._getHostElement().querySelectorAll('ax-drawer').forEach(c => {
|
|
1845
|
-
// c.classList.add('ax-animated');
|
|
1846
|
-
// });
|
|
1847
|
-
// }, 100);
|
|
1848
|
-
this.drawers.forEach(c => {
|
|
1849
|
-
c.onChanged.subscribe(c => {
|
|
1850
|
-
this._updateWidth();
|
|
1851
|
-
});
|
|
1852
|
-
});
|
|
1827
|
+
this._zone = _zone;
|
|
1853
1828
|
}
|
|
1854
|
-
|
|
1855
|
-
this.
|
|
1856
|
-
|
|
1857
|
-
|
|
1858
|
-
|
|
1859
|
-
this._getHostElement().querySelectorAll('ax-drawer').forEach(c => {
|
|
1860
|
-
const elm = c;
|
|
1861
|
-
const width = elm.getBoundingClientRect().width;
|
|
1862
|
-
const height = elm.getBoundingClientRect().height;
|
|
1863
|
-
const overflow = parentWidth < width;
|
|
1864
|
-
const diff = width - parentWidth;
|
|
1865
|
-
w += ['ax-expanded', 'ax-drawer-push'].every(c => elm.classList.contains(c)) ? width : 0;
|
|
1866
|
-
elm.style.setProperty('--attr-width', `${width}px`);
|
|
1867
|
-
elm.style.setProperty('--attr-height', `${height}px`);
|
|
1868
|
-
//TODO check overflow
|
|
1869
|
-
elm.style.setProperty('--attr-diff', `${overflow ? diff : 0}px`);
|
|
1870
|
-
});
|
|
1871
|
-
container.style.setProperty('--attr-content-width', `${parentWidth - w}px`);
|
|
1872
|
-
});
|
|
1829
|
+
ngDoCheck() {
|
|
1830
|
+
const host = this._getHostElement();
|
|
1831
|
+
Array.from(host.querySelectorAll('ax-drawer'))
|
|
1832
|
+
.map(c => c['__axContext__'])
|
|
1833
|
+
.some(c => !(c === null || c === void 0 ? void 0 : c.collapsed)) ? host.classList.add('ax-visible') : host.classList.remove('ax-visible');
|
|
1873
1834
|
}
|
|
1874
1835
|
}
|
|
1875
1836
|
AXDrawerContainerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXDrawerContainerComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
1876
|
-
AXDrawerContainerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: AXDrawerContainerComponent, selector: "ax-drawer-container",
|
|
1877
|
-
<ng-content select="ax-drawer[location='
|
|
1878
|
-
</ng-content>
|
|
1879
|
-
<ng-content select="ax-drawer[location='start']">
|
|
1837
|
+
AXDrawerContainerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: AXDrawerContainerComponent, selector: "ax-drawer-container", usesInheritance: true, ngImport: i0, template: `
|
|
1838
|
+
<ng-content select="ax-drawer[location='start']" >
|
|
1880
1839
|
</ng-content>
|
|
1881
|
-
<ng-content select="ax-
|
|
1840
|
+
<ng-content select="ax-content">
|
|
1882
1841
|
</ng-content>
|
|
1883
1842
|
<ng-content select="ax-drawer[location='end']">
|
|
1884
1843
|
</ng-content>
|
|
1885
|
-
|
|
1886
|
-
</ng-content>
|
|
1844
|
+
|
|
1887
1845
|
`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
1888
1846
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXDrawerContainerComponent, decorators: [{
|
|
1889
1847
|
type: Component,
|
|
1890
1848
|
args: [{
|
|
1891
1849
|
selector: 'ax-drawer-container',
|
|
1892
1850
|
template: `
|
|
1893
|
-
<ng-content select="ax-drawer[location='
|
|
1894
|
-
</ng-content>
|
|
1895
|
-
<ng-content select="ax-drawer[location='start']">
|
|
1851
|
+
<ng-content select="ax-drawer[location='start']" >
|
|
1896
1852
|
</ng-content>
|
|
1897
|
-
<ng-content select="ax-
|
|
1853
|
+
<ng-content select="ax-content">
|
|
1898
1854
|
</ng-content>
|
|
1899
1855
|
<ng-content select="ax-drawer[location='end']">
|
|
1900
1856
|
</ng-content>
|
|
1901
|
-
|
|
1902
|
-
</ng-content>
|
|
1903
|
-
`,
|
|
1904
|
-
inputs: ['rtl'],
|
|
1905
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1906
|
-
encapsulation: ViewEncapsulation.None,
|
|
1907
|
-
host: { class: 'ax-drawer-container' }
|
|
1908
|
-
}]
|
|
1909
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: i0.NgZone }]; }, propDecorators: { drawers: [{
|
|
1910
|
-
type: ContentChildren,
|
|
1911
|
-
args: [AXDrawerComponent]
|
|
1912
|
-
}] } });
|
|
1913
|
-
|
|
1914
|
-
class AXDrawerContentComponent extends AXBaseComponentMixin {
|
|
1915
|
-
constructor(elementRef, cdr) {
|
|
1916
|
-
super(elementRef, cdr);
|
|
1917
|
-
}
|
|
1918
|
-
}
|
|
1919
|
-
AXDrawerContentComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXDrawerContentComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
1920
|
-
AXDrawerContentComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: AXDrawerContentComponent, selector: "ax-drawer-content", host: { classAttribute: "ax-drawer-content" }, usesInheritance: true, ngImport: i0, template: `
|
|
1921
|
-
<ng-content>
|
|
1922
|
-
</ng-content>
|
|
1923
|
-
`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
1924
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXDrawerContentComponent, decorators: [{
|
|
1925
|
-
type: Component,
|
|
1926
|
-
args: [{
|
|
1927
|
-
selector: 'ax-drawer-content',
|
|
1928
|
-
template: `
|
|
1929
|
-
<ng-content>
|
|
1930
|
-
</ng-content>
|
|
1857
|
+
|
|
1931
1858
|
`,
|
|
1932
1859
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1933
1860
|
encapsulation: ViewEncapsulation.None,
|
|
1934
|
-
host: { class: 'ax-drawer-content' }
|
|
1935
1861
|
}]
|
|
1936
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; } });
|
|
1862
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: i0.NgZone }]; } });
|
|
1937
1863
|
|
|
1938
|
-
const COMPONENT$o = [AXDrawerComponent, AXDrawerContainerComponent
|
|
1864
|
+
const COMPONENT$o = [AXDrawerComponent, AXDrawerContainerComponent];
|
|
1939
1865
|
const MODULES$o = [CommonModule];
|
|
1940
1866
|
class AXDrawerModule {
|
|
1941
1867
|
}
|
|
1942
1868
|
AXDrawerModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXDrawerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1943
|
-
AXDrawerModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXDrawerModule, declarations: [AXDrawerComponent, AXDrawerContainerComponent
|
|
1869
|
+
AXDrawerModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXDrawerModule, declarations: [AXDrawerComponent, AXDrawerContainerComponent], imports: [CommonModule], exports: [AXDrawerComponent, AXDrawerContainerComponent] });
|
|
1944
1870
|
AXDrawerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXDrawerModule, providers: [], imports: [[...MODULES$o]] });
|
|
1945
1871
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXDrawerModule, decorators: [{
|
|
1946
1872
|
type: NgModule,
|
|
@@ -2193,16 +2119,14 @@ class AXDecoratorHeaderComponent extends AXBaseComponentMixin {
|
|
|
2193
2119
|
}
|
|
2194
2120
|
AXDecoratorHeaderComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXDecoratorHeaderComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
2195
2121
|
AXDecoratorHeaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: AXDecoratorHeaderComponent, selector: "ax-header", usesInheritance: true, ngImport: i0, template: `
|
|
2196
|
-
<ng-content>
|
|
2197
|
-
</ng-content>
|
|
2122
|
+
<ng-content select="ax-suffix,ax-prefix,ax-button,ax-icon,ax-title,ax-close-button,ng-container,ng-content"></ng-content>
|
|
2198
2123
|
`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
2199
2124
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXDecoratorHeaderComponent, decorators: [{
|
|
2200
2125
|
type: Component,
|
|
2201
2126
|
args: [{
|
|
2202
2127
|
selector: 'ax-header',
|
|
2203
2128
|
template: `
|
|
2204
|
-
<ng-content>
|
|
2205
|
-
</ng-content>
|
|
2129
|
+
<ng-content select="ax-suffix,ax-prefix,ax-button,ax-icon,ax-title,ax-close-button,ng-container,ng-content"></ng-content>
|
|
2206
2130
|
`,
|
|
2207
2131
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
2208
2132
|
encapsulation: ViewEncapsulation.None,
|
|
@@ -2216,7 +2140,7 @@ class AXDecoratorPrefixComponent extends AXBaseComponentMixin {
|
|
|
2216
2140
|
}
|
|
2217
2141
|
AXDecoratorPrefixComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXDecoratorPrefixComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
2218
2142
|
AXDecoratorPrefixComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: AXDecoratorPrefixComponent, selector: "ax-prefix", usesInheritance: true, ngImport: i0, template: `
|
|
2219
|
-
<ng-content select="ax-button,ax-loading,ax-icon,ax-content,ax-badge,ax-addon">
|
|
2143
|
+
<ng-content select="ax-button,ax-loading,ax-icon,ax-content,ax-badge,ax-addon,ax-title,ng-container">
|
|
2220
2144
|
</ng-content>
|
|
2221
2145
|
`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
2222
2146
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXDecoratorPrefixComponent, decorators: [{
|
|
@@ -2224,7 +2148,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
|
|
|
2224
2148
|
args: [{
|
|
2225
2149
|
selector: 'ax-prefix',
|
|
2226
2150
|
template: `
|
|
2227
|
-
<ng-content select="ax-button,ax-loading,ax-icon,ax-content,ax-badge,ax-addon">
|
|
2151
|
+
<ng-content select="ax-button,ax-loading,ax-icon,ax-content,ax-badge,ax-addon,ax-title,ng-container">
|
|
2228
2152
|
</ng-content>
|
|
2229
2153
|
`,
|
|
2230
2154
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
@@ -2239,7 +2163,7 @@ class AXDecoratorSuffixComponent extends AXBaseComponentMixin {
|
|
|
2239
2163
|
}
|
|
2240
2164
|
AXDecoratorSuffixComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXDecoratorSuffixComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
2241
2165
|
AXDecoratorSuffixComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: AXDecoratorSuffixComponent, selector: "ax-suffix", usesInheritance: true, ngImport: i0, template: `
|
|
2242
|
-
<ng-content select="ax-button,ax-loading,ax-icon,ax-content,ax-badge,ax-addon">
|
|
2166
|
+
<ng-content select="ax-button,ax-loading,ax-icon,ax-content,ax-badge,ax-addon,ax-title,ax-alert-button,ng-container">
|
|
2243
2167
|
</ng-content>
|
|
2244
2168
|
`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
2245
2169
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXDecoratorSuffixComponent, decorators: [{
|
|
@@ -2247,7 +2171,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
|
|
|
2247
2171
|
args: [{
|
|
2248
2172
|
selector: 'ax-suffix',
|
|
2249
2173
|
template: `
|
|
2250
|
-
<ng-content select="ax-button,ax-loading,ax-icon,ax-content,ax-badge,ax-addon">
|
|
2174
|
+
<ng-content select="ax-button,ax-loading,ax-icon,ax-content,ax-badge,ax-addon,ax-title,ax-alert-button,ng-container">
|
|
2251
2175
|
</ng-content>
|
|
2252
2176
|
`,
|
|
2253
2177
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
@@ -2255,24 +2179,28 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
|
|
|
2255
2179
|
}]
|
|
2256
2180
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; } });
|
|
2257
2181
|
|
|
2258
|
-
|
|
2259
|
-
|
|
2260
|
-
|
|
2182
|
+
class AXDecoratorFooterComponent extends AXBaseComponentMixin {
|
|
2183
|
+
constructor(elementRef, cdr) {
|
|
2184
|
+
super(elementRef, cdr);
|
|
2185
|
+
}
|
|
2261
2186
|
}
|
|
2262
|
-
|
|
2263
|
-
|
|
2264
|
-
|
|
2265
|
-
|
|
2266
|
-
|
|
2187
|
+
AXDecoratorFooterComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXDecoratorFooterComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
2188
|
+
AXDecoratorFooterComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: AXDecoratorFooterComponent, selector: "ax-footer", usesInheritance: true, ngImport: i0, template: `
|
|
2189
|
+
<ng-content select="ax-suffix,ax-prefix,ax-button,ax-title,ax-close-button,ng-container"></ng-content>
|
|
2190
|
+
`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
2191
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXDecoratorFooterComponent, decorators: [{
|
|
2192
|
+
type: Component,
|
|
2267
2193
|
args: [{
|
|
2268
|
-
|
|
2269
|
-
|
|
2270
|
-
|
|
2271
|
-
|
|
2194
|
+
selector: 'ax-footer',
|
|
2195
|
+
template: `
|
|
2196
|
+
<ng-content select="ax-suffix,ax-prefix,ax-button,ax-title,ax-close-button,ng-container"></ng-content>
|
|
2197
|
+
`,
|
|
2198
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
2199
|
+
encapsulation: ViewEncapsulation.None,
|
|
2272
2200
|
}]
|
|
2273
|
-
}] });
|
|
2201
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; } });
|
|
2274
2202
|
|
|
2275
|
-
class
|
|
2203
|
+
class AXDecoratorIconComponent extends AXSizableComponentMixin {
|
|
2276
2204
|
constructor(elementRef, cdr) {
|
|
2277
2205
|
super(elementRef, cdr);
|
|
2278
2206
|
}
|
|
@@ -2280,9 +2208,9 @@ class AXIconComponent extends AXSizableComponentMixin {
|
|
|
2280
2208
|
return `ax-ic ${this.icon}`;
|
|
2281
2209
|
}
|
|
2282
2210
|
}
|
|
2283
|
-
|
|
2284
|
-
|
|
2285
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type:
|
|
2211
|
+
AXDecoratorIconComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXDecoratorIconComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
2212
|
+
AXDecoratorIconComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: AXDecoratorIconComponent, selector: "ax-icon", inputs: { icon: "icon" }, host: { properties: { "class": "this.__iconClass" } }, usesInheritance: true, ngImport: i0, template: '<ng-content select="i,svg,img"></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
2213
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXDecoratorIconComponent, decorators: [{
|
|
2286
2214
|
type: Component,
|
|
2287
2215
|
args: [{
|
|
2288
2216
|
selector: 'ax-icon',
|
|
@@ -2297,44 +2225,128 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
|
|
|
2297
2225
|
args: ['class']
|
|
2298
2226
|
}] } });
|
|
2299
2227
|
|
|
2300
|
-
|
|
2301
|
-
|
|
2302
|
-
|
|
2228
|
+
class AXDecoratorTitleComponent extends AXBaseComponentMixin {
|
|
2229
|
+
constructor(_elementRef, _cdr) {
|
|
2230
|
+
super(_elementRef, _cdr);
|
|
2231
|
+
this.text = null;
|
|
2232
|
+
}
|
|
2303
2233
|
}
|
|
2304
|
-
|
|
2305
|
-
|
|
2306
|
-
|
|
2307
|
-
|
|
2234
|
+
AXDecoratorTitleComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXDecoratorTitleComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
2235
|
+
AXDecoratorTitleComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: AXDecoratorTitleComponent, selector: "ax-title", inputs: { text: "text" }, usesInheritance: true, ngImport: i0, template: ` <h4 *ngIf="text">{{text}}</h4><ng-container><ng-content *ngIf="!text"></ng-content></ng-container>`, isInline: true, directives: [{ type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
2236
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXDecoratorTitleComponent, decorators: [{
|
|
2237
|
+
type: Component,
|
|
2238
|
+
args: [{
|
|
2239
|
+
selector: 'ax-title',
|
|
2240
|
+
template: ` <h4 *ngIf="text">{{text}}</h4><ng-container><ng-content *ngIf="!text"></ng-content></ng-container>`,
|
|
2241
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
2242
|
+
encapsulation: ViewEncapsulation.None
|
|
2243
|
+
}]
|
|
2244
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { text: [{
|
|
2245
|
+
type: Input
|
|
2246
|
+
}] } });
|
|
2247
|
+
|
|
2248
|
+
class AXDecoratorCloseButtonComponent extends AXBaseComponentMixin {
|
|
2249
|
+
constructor(_elementRef, _cdr, _parent) {
|
|
2250
|
+
super(_elementRef, _cdr);
|
|
2251
|
+
this._parent = _parent;
|
|
2252
|
+
this._icon = 'ax-ic-close';
|
|
2253
|
+
}
|
|
2254
|
+
get icon() {
|
|
2255
|
+
return this._icon || 'ax-ic-close';
|
|
2256
|
+
}
|
|
2257
|
+
set icon(v) {
|
|
2258
|
+
this._icon = v;
|
|
2259
|
+
}
|
|
2260
|
+
_handleOnClick(e) {
|
|
2261
|
+
var _a;
|
|
2262
|
+
(_a = this._parent) === null || _a === void 0 ? void 0 : _a.close();
|
|
2263
|
+
}
|
|
2264
|
+
}
|
|
2265
|
+
AXDecoratorCloseButtonComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXDecoratorCloseButtonComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: AXClosbaleComponent, optional: true }], target: i0.ɵɵFactoryTarget.Component });
|
|
2266
|
+
AXDecoratorCloseButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: AXDecoratorCloseButtonComponent, selector: "ax-close-button", inputs: { icon: "icon" }, usesInheritance: true, ngImport: i0, template: `<ax-icon [icon]="icon" (click)="_handleOnClick($event)" tabindex="1"></ax-icon>`, isInline: true, components: [{ type: AXDecoratorIconComponent, selector: "ax-icon", inputs: ["icon"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
2267
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXDecoratorCloseButtonComponent, decorators: [{
|
|
2268
|
+
type: Component,
|
|
2269
|
+
args: [{
|
|
2270
|
+
selector: 'ax-close-button',
|
|
2271
|
+
template: `<ax-icon [icon]="icon" (click)="_handleOnClick($event)" tabindex="1"></ax-icon>`,
|
|
2272
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
2273
|
+
encapsulation: ViewEncapsulation.None
|
|
2274
|
+
}]
|
|
2275
|
+
}], ctorParameters: function () {
|
|
2276
|
+
return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: AXClosbaleComponent, decorators: [{
|
|
2277
|
+
type: Optional
|
|
2278
|
+
}, {
|
|
2279
|
+
type: Inject,
|
|
2280
|
+
args: [AXClosbaleComponent]
|
|
2281
|
+
}] }];
|
|
2282
|
+
}, propDecorators: { icon: [{
|
|
2283
|
+
type: Input
|
|
2284
|
+
}] } });
|
|
2285
|
+
|
|
2286
|
+
const COMPONENT$n = [
|
|
2287
|
+
AXDecoratorPrefixComponent,
|
|
2288
|
+
AXDecoratorSuffixComponent,
|
|
2289
|
+
AXDecoratorContentComponent,
|
|
2290
|
+
AXDecoratorHeaderComponent,
|
|
2291
|
+
AXDecoratorFooterComponent,
|
|
2292
|
+
AXDecoratorAddOnComponent,
|
|
2293
|
+
AXDecoratorIconComponent,
|
|
2294
|
+
AXDecoratorTitleComponent,
|
|
2295
|
+
AXDecoratorCloseButtonComponent
|
|
2296
|
+
];
|
|
2297
|
+
const MODULES$n = [CommonModule];
|
|
2298
|
+
class AXDecoratorModule {
|
|
2299
|
+
}
|
|
2300
|
+
AXDecoratorModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXDecoratorModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
2301
|
+
AXDecoratorModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXDecoratorModule, declarations: [AXDecoratorPrefixComponent,
|
|
2302
|
+
AXDecoratorSuffixComponent,
|
|
2303
|
+
AXDecoratorContentComponent,
|
|
2304
|
+
AXDecoratorHeaderComponent,
|
|
2305
|
+
AXDecoratorFooterComponent,
|
|
2306
|
+
AXDecoratorAddOnComponent,
|
|
2307
|
+
AXDecoratorIconComponent,
|
|
2308
|
+
AXDecoratorTitleComponent,
|
|
2309
|
+
AXDecoratorCloseButtonComponent], imports: [CommonModule], exports: [AXDecoratorPrefixComponent,
|
|
2310
|
+
AXDecoratorSuffixComponent,
|
|
2311
|
+
AXDecoratorContentComponent,
|
|
2312
|
+
AXDecoratorHeaderComponent,
|
|
2313
|
+
AXDecoratorFooterComponent,
|
|
2314
|
+
AXDecoratorAddOnComponent,
|
|
2315
|
+
AXDecoratorIconComponent,
|
|
2316
|
+
AXDecoratorTitleComponent,
|
|
2317
|
+
AXDecoratorCloseButtonComponent] });
|
|
2318
|
+
AXDecoratorModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXDecoratorModule, providers: [], imports: [[...MODULES$n]] });
|
|
2319
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXDecoratorModule, decorators: [{
|
|
2308
2320
|
type: NgModule,
|
|
2309
2321
|
args: [{
|
|
2310
|
-
declarations: [...COMPONENT$
|
|
2311
|
-
imports: [...MODULES$
|
|
2312
|
-
exports: [...COMPONENT$
|
|
2322
|
+
declarations: [...COMPONENT$n],
|
|
2323
|
+
imports: [...MODULES$n],
|
|
2324
|
+
exports: [...COMPONENT$n],
|
|
2313
2325
|
providers: [],
|
|
2314
2326
|
}]
|
|
2315
2327
|
}] });
|
|
2316
2328
|
|
|
2317
|
-
const COMPONENT$
|
|
2329
|
+
const COMPONENT$m = [
|
|
2318
2330
|
AXButtonComponent,
|
|
2319
2331
|
AXButtonItemComponent,
|
|
2320
2332
|
AXButtonGroupComponent,
|
|
2321
2333
|
];
|
|
2322
|
-
const MODULES$
|
|
2334
|
+
const MODULES$m = [CommonModule, AXDecoratorModule];
|
|
2323
2335
|
class AXButtonModule {
|
|
2324
2336
|
}
|
|
2325
2337
|
AXButtonModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXButtonModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
2326
2338
|
AXButtonModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXButtonModule, declarations: [AXButtonComponent,
|
|
2327
2339
|
AXButtonItemComponent,
|
|
2328
|
-
AXButtonGroupComponent], imports: [CommonModule,
|
|
2340
|
+
AXButtonGroupComponent], imports: [CommonModule, AXDecoratorModule], exports: [AXButtonComponent,
|
|
2329
2341
|
AXButtonItemComponent,
|
|
2330
2342
|
AXButtonGroupComponent] });
|
|
2331
|
-
AXButtonModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXButtonModule, providers: [], imports: [[MODULES$
|
|
2343
|
+
AXButtonModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXButtonModule, providers: [], imports: [[MODULES$m]] });
|
|
2332
2344
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXButtonModule, decorators: [{
|
|
2333
2345
|
type: NgModule,
|
|
2334
2346
|
args: [{
|
|
2335
|
-
imports: [MODULES$
|
|
2336
|
-
exports: [COMPONENT$
|
|
2337
|
-
declarations: [COMPONENT$
|
|
2347
|
+
imports: [MODULES$m],
|
|
2348
|
+
exports: [COMPONENT$m],
|
|
2349
|
+
declarations: [COMPONENT$m],
|
|
2338
2350
|
providers: [],
|
|
2339
2351
|
}]
|
|
2340
2352
|
}] });
|
|
@@ -2367,25 +2379,32 @@ class AXAlertComponent extends AXBaseAlertMixin {
|
|
|
2367
2379
|
*/
|
|
2368
2380
|
constructor(elementRef, cdr) {
|
|
2369
2381
|
super(elementRef, cdr);
|
|
2370
|
-
this.showIcon = true;
|
|
2371
2382
|
_AXAlertComponent_visible.set(this, void 0);
|
|
2372
2383
|
}
|
|
2373
2384
|
_onOptionChanged(option) {
|
|
2374
2385
|
if (option.name == 'color') {
|
|
2375
|
-
|
|
2376
|
-
|
|
2377
|
-
|
|
2378
|
-
|
|
2379
|
-
|
|
2380
|
-
|
|
2381
|
-
|
|
2382
|
-
|
|
2383
|
-
|
|
2384
|
-
|
|
2385
|
-
|
|
2386
|
-
|
|
2387
|
-
|
|
2388
|
-
|
|
2386
|
+
this._setIcon();
|
|
2387
|
+
}
|
|
2388
|
+
}
|
|
2389
|
+
ngDoCheck() {
|
|
2390
|
+
this._setIcon();
|
|
2391
|
+
}
|
|
2392
|
+
_setIcon() {
|
|
2393
|
+
if (!this._icon || this._icon.icon)
|
|
2394
|
+
return;
|
|
2395
|
+
switch (this.color) {
|
|
2396
|
+
case 'success':
|
|
2397
|
+
this._icon.icon = 'ax-ic ax-ic-check-filled';
|
|
2398
|
+
break;
|
|
2399
|
+
case 'warning':
|
|
2400
|
+
this._icon.icon = 'ax-ic-warning-filled';
|
|
2401
|
+
break;
|
|
2402
|
+
case 'danger':
|
|
2403
|
+
this._icon.icon = 'ax-ic-error-filled';
|
|
2404
|
+
break;
|
|
2405
|
+
default:
|
|
2406
|
+
this._icon.icon = 'ax-ic ax-ic-info-filled';
|
|
2407
|
+
break;
|
|
2389
2408
|
}
|
|
2390
2409
|
}
|
|
2391
2410
|
/**
|
|
@@ -2427,6 +2446,9 @@ class AXAlertComponent extends AXBaseAlertMixin {
|
|
|
2427
2446
|
if (this.visible == undefined) {
|
|
2428
2447
|
this.visible = true;
|
|
2429
2448
|
}
|
|
2449
|
+
if (this._getHostElement().querySelector('ax-header')) {
|
|
2450
|
+
this._getHostElement().querySelector('.ax-alert-body').classList.add('ax-bg-black/10');
|
|
2451
|
+
}
|
|
2430
2452
|
}
|
|
2431
2453
|
/**
|
|
2432
2454
|
* Remove the alert from the container
|
|
@@ -2454,14 +2476,13 @@ class AXAlertComponent extends AXBaseAlertMixin {
|
|
|
2454
2476
|
}
|
|
2455
2477
|
_AXAlertComponent_visible = new WeakMap();
|
|
2456
2478
|
AXAlertComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXAlertComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
2457
|
-
AXAlertComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: AXAlertComponent, selector: "ax-alert", inputs: { color: "color", look: "look",
|
|
2479
|
+
AXAlertComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: AXAlertComponent, selector: "ax-alert", inputs: { color: "color", look: "look", timeOut: "timeOut", visible: "visible" }, host: { properties: { "class": "this.__hostClass" } }, queries: [{ propertyName: "_icon", first: true, predicate: AXDecoratorIconComponent, descendants: true }], usesInheritance: true, ngImport: i0, template: "<ng-content select=\"ax-header\">\r\n</ng-content>\r\n<div class=\"ax-alert-body\">\r\n <div class=\"ax-flex ax-items-center ax-justify-between\">\r\n <div class=\"ax-flex\">\r\n <ng-content select=\"ax-icon\">\r\n </ng-content>\r\n <div class=\"ax-flex ax-flex-col ax-justify-center\">\r\n <ng-content select=\"ax-content\">\r\n </ng-content>\r\n <ng-content select=\"ax-footer\">\r\n </ng-content>\r\n </div>\r\n </div>\r\n <ng-content select=\"ax-suffix\">\r\n </ng-content>\r\n </div>\r\n</div>\r\n\r\n<div class=\"ax-alert-progress\" [style.animation-duration.ms]=\"timeOut\" *ngIf=\"timeOut\">\r\n</div>", directives: [{ type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
2458
2480
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXAlertComponent, decorators: [{
|
|
2459
2481
|
type: Component,
|
|
2460
|
-
args: [{ selector: 'ax-alert', changeDetection: ChangeDetectionStrategy.OnPush, inputs: [...COLOR_LOOK_INPUTS], encapsulation: ViewEncapsulation.None, template: "<div class=\"ax-alert-
|
|
2461
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: {
|
|
2462
|
-
type:
|
|
2463
|
-
|
|
2464
|
-
type: Input
|
|
2482
|
+
args: [{ selector: 'ax-alert', changeDetection: ChangeDetectionStrategy.OnPush, inputs: [...COLOR_LOOK_INPUTS], encapsulation: ViewEncapsulation.None, template: "<ng-content select=\"ax-header\">\r\n</ng-content>\r\n<div class=\"ax-alert-body\">\r\n <div class=\"ax-flex ax-items-center ax-justify-between\">\r\n <div class=\"ax-flex\">\r\n <ng-content select=\"ax-icon\">\r\n </ng-content>\r\n <div class=\"ax-flex ax-flex-col ax-justify-center\">\r\n <ng-content select=\"ax-content\">\r\n </ng-content>\r\n <ng-content select=\"ax-footer\">\r\n </ng-content>\r\n </div>\r\n </div>\r\n <ng-content select=\"ax-suffix\">\r\n </ng-content>\r\n </div>\r\n</div>\r\n\r\n<div class=\"ax-alert-progress\" [style.animation-duration.ms]=\"timeOut\" *ngIf=\"timeOut\">\r\n</div>" }]
|
|
2483
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { _icon: [{
|
|
2484
|
+
type: ContentChild,
|
|
2485
|
+
args: [AXDecoratorIconComponent]
|
|
2465
2486
|
}], __hostClass: [{
|
|
2466
2487
|
type: HostBinding,
|
|
2467
2488
|
args: ['class']
|
|
@@ -2471,27 +2492,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
|
|
|
2471
2492
|
type: Input
|
|
2472
2493
|
}] } });
|
|
2473
2494
|
|
|
2474
|
-
class AXAlertTitleComponent {
|
|
2475
|
-
}
|
|
2476
|
-
AXAlertTitleComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXAlertTitleComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
2477
|
-
AXAlertTitleComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: AXAlertTitleComponent, selector: "ax-alert-title", host: { classAttribute: "ax-alert-title" }, ngImport: i0, template: `
|
|
2478
|
-
<ng-content>
|
|
2479
|
-
</ng-content>
|
|
2480
|
-
`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
2481
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXAlertTitleComponent, decorators: [{
|
|
2482
|
-
type: Component,
|
|
2483
|
-
args: [{
|
|
2484
|
-
selector: 'ax-alert-title',
|
|
2485
|
-
template: `
|
|
2486
|
-
<ng-content>
|
|
2487
|
-
</ng-content>
|
|
2488
|
-
`,
|
|
2489
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
2490
|
-
encapsulation: ViewEncapsulation.None,
|
|
2491
|
-
host: { class: 'ax-alert-title' }
|
|
2492
|
-
}]
|
|
2493
|
-
}] });
|
|
2494
|
-
|
|
2495
2495
|
class AXAlertButtonComponent extends AXBaseClickableMixin {
|
|
2496
2496
|
constructor(elementRef, cdr) {
|
|
2497
2497
|
super(elementRef, cdr);
|
|
@@ -2507,7 +2507,7 @@ class AXAlertButtonComponent extends AXBaseClickableMixin {
|
|
|
2507
2507
|
}
|
|
2508
2508
|
}
|
|
2509
2509
|
AXAlertButtonComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXAlertButtonComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
2510
|
-
AXAlertButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: AXAlertButtonComponent, selector: "ax-alert-button", inputs: { text: "text", icon: "icon" }, outputs: { onBlur: "onBlur", onFocus: "onFocus", onClick: "onClick", selectedChange: "selectedChange", toggleableChange: "toggleableChange" }, host: { listeners: { "click": "_handleOnClick($event)", "focus": "_handleOnFocus($event)", "blur": "_handleOnBlur($event)" }
|
|
2510
|
+
AXAlertButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: AXAlertButtonComponent, selector: "ax-alert-button", inputs: { text: "text", icon: "icon" }, outputs: { onBlur: "onBlur", onFocus: "onFocus", onClick: "onClick", selectedChange: "selectedChange", toggleableChange: "toggleableChange" }, host: { listeners: { "click": "_handleOnClick($event)", "focus": "_handleOnFocus($event)", "blur": "_handleOnBlur($event)" } }, usesInheritance: true, ngImport: i0, template: `
|
|
2511
2511
|
{{text}}
|
|
2512
2512
|
<ng-content select="ax-icon"></ng-content>
|
|
2513
2513
|
`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
@@ -2522,7 +2522,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
|
|
|
2522
2522
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
2523
2523
|
encapsulation: ViewEncapsulation.None,
|
|
2524
2524
|
outputs: [...BUTTON_OUTPUT],
|
|
2525
|
-
host: { class: 'ax-alert-button' }
|
|
2526
2525
|
}]
|
|
2527
2526
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { text: [{
|
|
2528
2527
|
type: Input
|
|
@@ -2539,105 +2538,24 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
|
|
|
2539
2538
|
args: ['blur', ['$event']]
|
|
2540
2539
|
}] } });
|
|
2541
2540
|
|
|
2542
|
-
|
|
2543
|
-
}
|
|
2544
|
-
AXAlertContentComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXAlertContentComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
2545
|
-
AXAlertContentComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: AXAlertContentComponent, selector: "ax-alert-content", host: { classAttribute: "ax-alert-content" }, ngImport: i0, template: `<ng-content>
|
|
2546
|
-
</ng-content>
|
|
2547
|
-
`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
2548
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXAlertContentComponent, decorators: [{
|
|
2549
|
-
type: Component,
|
|
2550
|
-
args: [{
|
|
2551
|
-
selector: 'ax-alert-content',
|
|
2552
|
-
template: `<ng-content>
|
|
2553
|
-
</ng-content>
|
|
2554
|
-
`,
|
|
2555
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
2556
|
-
encapsulation: ViewEncapsulation.None,
|
|
2557
|
-
host: { class: 'ax-alert-content' }
|
|
2558
|
-
}]
|
|
2559
|
-
}] });
|
|
2560
|
-
|
|
2561
|
-
class AXAlertSuffixComponent {
|
|
2562
|
-
}
|
|
2563
|
-
AXAlertSuffixComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXAlertSuffixComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
2564
|
-
AXAlertSuffixComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: AXAlertSuffixComponent, selector: "ax-alert-suffix", host: { classAttribute: "ax-alert-suffix" }, ngImport: i0, template: `
|
|
2565
|
-
<div class="ax-alert-buttons">
|
|
2566
|
-
<ng-content select="ax-alert-button">
|
|
2567
|
-
</ng-content>
|
|
2568
|
-
</div>
|
|
2569
|
-
`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
2570
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXAlertSuffixComponent, decorators: [{
|
|
2571
|
-
type: Component,
|
|
2572
|
-
args: [{
|
|
2573
|
-
selector: 'ax-alert-suffix',
|
|
2574
|
-
template: `
|
|
2575
|
-
<div class="ax-alert-buttons">
|
|
2576
|
-
<ng-content select="ax-alert-button">
|
|
2577
|
-
</ng-content>
|
|
2578
|
-
</div>
|
|
2579
|
-
`,
|
|
2580
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
2581
|
-
encapsulation: ViewEncapsulation.None,
|
|
2582
|
-
host: { class: 'ax-alert-suffix' }
|
|
2583
|
-
}]
|
|
2584
|
-
}] });
|
|
2585
|
-
|
|
2586
|
-
class AXAlertFooterComponent {
|
|
2587
|
-
}
|
|
2588
|
-
AXAlertFooterComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXAlertFooterComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
2589
|
-
AXAlertFooterComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: AXAlertFooterComponent, selector: "ax-alert-footer", host: { classAttribute: "ax-alert-footer" }, ngImport: i0, template: `
|
|
2590
|
-
<div class="ax-alert-buttons">
|
|
2591
|
-
<ng-content select="ax-alert-button">
|
|
2592
|
-
</ng-content>
|
|
2593
|
-
</div>
|
|
2594
|
-
`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
2595
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXAlertFooterComponent, decorators: [{
|
|
2596
|
-
type: Component,
|
|
2597
|
-
args: [{
|
|
2598
|
-
selector: 'ax-alert-footer',
|
|
2599
|
-
template: `
|
|
2600
|
-
<div class="ax-alert-buttons">
|
|
2601
|
-
<ng-content select="ax-alert-button">
|
|
2602
|
-
</ng-content>
|
|
2603
|
-
</div>
|
|
2604
|
-
`,
|
|
2605
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
2606
|
-
encapsulation: ViewEncapsulation.None,
|
|
2607
|
-
host: { class: 'ax-alert-footer' }
|
|
2608
|
-
}]
|
|
2609
|
-
}] });
|
|
2610
|
-
|
|
2611
|
-
const COMPONENT$k = [
|
|
2541
|
+
const COMPONENT$l = [
|
|
2612
2542
|
AXAlertComponent,
|
|
2613
|
-
|
|
2614
|
-
AXAlertTitleComponent,
|
|
2615
|
-
AXAlertButtonComponent,
|
|
2616
|
-
AXAlertFooterComponent,
|
|
2617
|
-
AXAlertSuffixComponent
|
|
2543
|
+
AXAlertButtonComponent
|
|
2618
2544
|
];
|
|
2619
|
-
const MODULES$
|
|
2545
|
+
const MODULES$l = [CommonModule, AXDecoratorModule];
|
|
2620
2546
|
class AXAlertModule {
|
|
2621
2547
|
}
|
|
2622
2548
|
AXAlertModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXAlertModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
2623
2549
|
AXAlertModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXAlertModule, declarations: [AXAlertComponent,
|
|
2624
|
-
|
|
2625
|
-
|
|
2626
|
-
|
|
2627
|
-
AXAlertFooterComponent,
|
|
2628
|
-
AXAlertSuffixComponent], imports: [CommonModule, AXIconModule], exports: [AXAlertComponent,
|
|
2629
|
-
AXAlertContentComponent,
|
|
2630
|
-
AXAlertTitleComponent,
|
|
2631
|
-
AXAlertButtonComponent,
|
|
2632
|
-
AXAlertFooterComponent,
|
|
2633
|
-
AXAlertSuffixComponent] });
|
|
2634
|
-
AXAlertModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXAlertModule, providers: [], imports: [[...MODULES$k]] });
|
|
2550
|
+
AXAlertButtonComponent], imports: [CommonModule, AXDecoratorModule], exports: [AXAlertComponent,
|
|
2551
|
+
AXAlertButtonComponent] });
|
|
2552
|
+
AXAlertModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXAlertModule, providers: [], imports: [[...MODULES$l]] });
|
|
2635
2553
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXAlertModule, decorators: [{
|
|
2636
2554
|
type: NgModule,
|
|
2637
2555
|
args: [{
|
|
2638
|
-
declarations: [...COMPONENT$
|
|
2639
|
-
imports: [...MODULES$
|
|
2640
|
-
exports: [...COMPONENT$
|
|
2556
|
+
declarations: [...COMPONENT$l],
|
|
2557
|
+
imports: [...MODULES$l],
|
|
2558
|
+
exports: [...COMPONENT$l],
|
|
2641
2559
|
providers: [],
|
|
2642
2560
|
}]
|
|
2643
2561
|
}] });
|
|
@@ -2694,19 +2612,19 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
|
|
|
2694
2612
|
args: ['class']
|
|
2695
2613
|
}] } });
|
|
2696
2614
|
|
|
2697
|
-
const COMPONENT$
|
|
2698
|
-
const MODULES$
|
|
2615
|
+
const COMPONENT$k = [AXAvatarComponent, AXAvatarGroup];
|
|
2616
|
+
const MODULES$k = [CommonModule];
|
|
2699
2617
|
class AXAvatarModule {
|
|
2700
2618
|
}
|
|
2701
2619
|
AXAvatarModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXAvatarModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
2702
2620
|
AXAvatarModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXAvatarModule, declarations: [AXAvatarComponent, AXAvatarGroup], imports: [CommonModule], exports: [AXAvatarComponent, AXAvatarGroup] });
|
|
2703
|
-
AXAvatarModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXAvatarModule, providers: [], imports: [[...MODULES$
|
|
2621
|
+
AXAvatarModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXAvatarModule, providers: [], imports: [[...MODULES$k]] });
|
|
2704
2622
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXAvatarModule, decorators: [{
|
|
2705
2623
|
type: NgModule,
|
|
2706
2624
|
args: [{
|
|
2707
|
-
declarations: [...COMPONENT$
|
|
2708
|
-
imports: [...MODULES$
|
|
2709
|
-
exports: [...COMPONENT$
|
|
2625
|
+
declarations: [...COMPONENT$k],
|
|
2626
|
+
imports: [...MODULES$k],
|
|
2627
|
+
exports: [...COMPONENT$k],
|
|
2710
2628
|
providers: [],
|
|
2711
2629
|
}]
|
|
2712
2630
|
}] });
|
|
@@ -2735,19 +2653,19 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
|
|
|
2735
2653
|
args: ['class']
|
|
2736
2654
|
}] } });
|
|
2737
2655
|
|
|
2738
|
-
const COMPONENT$
|
|
2739
|
-
const MODULES$
|
|
2656
|
+
const COMPONENT$j = [AXBadgeComponent];
|
|
2657
|
+
const MODULES$j = [CommonModule];
|
|
2740
2658
|
class AXBadgeModule {
|
|
2741
2659
|
}
|
|
2742
2660
|
AXBadgeModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXBadgeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
2743
2661
|
AXBadgeModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXBadgeModule, declarations: [AXBadgeComponent], imports: [CommonModule], exports: [AXBadgeComponent] });
|
|
2744
|
-
AXBadgeModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXBadgeModule, providers: [], imports: [[...MODULES$
|
|
2662
|
+
AXBadgeModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXBadgeModule, providers: [], imports: [[...MODULES$j]] });
|
|
2745
2663
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXBadgeModule, decorators: [{
|
|
2746
2664
|
type: NgModule,
|
|
2747
2665
|
args: [{
|
|
2748
|
-
declarations: [...COMPONENT$
|
|
2749
|
-
imports: [...MODULES$
|
|
2750
|
-
exports: [...COMPONENT$
|
|
2666
|
+
declarations: [...COMPONENT$j],
|
|
2667
|
+
imports: [...MODULES$j],
|
|
2668
|
+
exports: [...COMPONENT$j],
|
|
2751
2669
|
providers: [],
|
|
2752
2670
|
}]
|
|
2753
2671
|
}] });
|
|
@@ -2922,47 +2840,281 @@ const CALENDAR_INPUTS = [
|
|
|
2922
2840
|
const CALENDAR_OUTPUTS = ['depthChange', 'typeChange', 'disabledDatesChange', 'holidayDatesChange', 'onNavigate'];
|
|
2923
2841
|
|
|
2924
2842
|
class AXPickerComponent extends AXBaseValueComponentMixin {
|
|
2925
|
-
/**
|
|
2926
|
-
* @ignore
|
|
2927
|
-
*/
|
|
2928
2843
|
constructor(elementRef, cdr) {
|
|
2929
2844
|
super(elementRef, cdr);
|
|
2930
|
-
this.
|
|
2845
|
+
this.cdr = cdr;
|
|
2931
2846
|
this.items = [];
|
|
2932
|
-
|
|
2933
|
-
|
|
2934
|
-
|
|
2935
|
-
|
|
2847
|
+
this.OnChange = new EventEmitter();
|
|
2848
|
+
this.touchOrMouse = {
|
|
2849
|
+
isTouchable: 'ontouchstart' in window,
|
|
2850
|
+
isMouseDown: false
|
|
2851
|
+
};
|
|
2852
|
+
this.draggingInfo = {
|
|
2853
|
+
isDragging: false,
|
|
2854
|
+
groupIndex: null,
|
|
2855
|
+
startPageY: null
|
|
2856
|
+
};
|
|
2857
|
+
this.itemPerDegree = 23;
|
|
2858
|
+
this.safeDoTimeoutId = null;
|
|
2859
|
+
}
|
|
2860
|
+
ngOnInit() {
|
|
2861
|
+
this.currentIndexList = this.getInitialCurrentIndexList();
|
|
2862
|
+
this.lastCurrentIndexList = [].concat(this.currentIndexList);
|
|
2863
|
+
this.groupsRectList = new Array(this.items.length);
|
|
2864
|
+
this.eventsRegister();
|
|
2865
|
+
window.addEventListener('resize', this.safeGetRectsBindEvents.bind(this));
|
|
2866
|
+
}
|
|
2867
|
+
ngAfterViewInit() {
|
|
2868
|
+
this.getGroupsRectList();
|
|
2869
|
+
}
|
|
2870
|
+
ngOnDestroy() {
|
|
2871
|
+
window.removeEventListener('resize', this.safeGetRectsBindEvents.bind(this));
|
|
2872
|
+
}
|
|
2873
|
+
setGroupData(gIndex, groupData) {
|
|
2874
|
+
if (!this.currentIndexList) {
|
|
2875
|
+
this.currentIndexList = this.getInitialCurrentIndexList();
|
|
2876
|
+
}
|
|
2877
|
+
this.items[gIndex] = groupData;
|
|
2878
|
+
const iCI = groupData.currentIndex;
|
|
2879
|
+
let movedIndex = 0;
|
|
2880
|
+
if (typeof iCI === 'number' && iCI >= 0 && groupData.list && groupData.list.length && iCI <= groupData.list.length - 1) {
|
|
2881
|
+
movedIndex = Math.round(iCI);
|
|
2882
|
+
}
|
|
2883
|
+
this.currentIndexList[gIndex] = movedIndex;
|
|
2884
|
+
this.lastCurrentIndexList = [].concat(this.currentIndexList);
|
|
2885
|
+
}
|
|
2886
|
+
getInitialCurrentIndexList() {
|
|
2887
|
+
return this.items.map((item, index) => {
|
|
2888
|
+
const iCI = item.currentIndex;
|
|
2889
|
+
if (typeof iCI === 'number' && iCI >= 0 && item.list && item.list.length && iCI <= item.list.length - 1) {
|
|
2890
|
+
return Math.round(iCI);
|
|
2891
|
+
}
|
|
2892
|
+
return 0;
|
|
2893
|
+
});
|
|
2894
|
+
}
|
|
2895
|
+
safeGetRectsBindEvents() {
|
|
2896
|
+
if (this.safeDoTimeoutId) {
|
|
2897
|
+
clearTimeout(this.safeDoTimeoutId);
|
|
2898
|
+
}
|
|
2899
|
+
this.safeDoTimeoutId = setTimeout(() => {
|
|
2900
|
+
this.getGroupsRectList();
|
|
2901
|
+
}, 200);
|
|
2936
2902
|
}
|
|
2937
|
-
|
|
2903
|
+
getGroupsRectList() {
|
|
2904
|
+
if (this.pickerGroupLayer) {
|
|
2905
|
+
this.pickerGroupLayer.toArray().forEach((item, index) => {
|
|
2906
|
+
this.groupsRectList[index] = item.nativeElement.getBoundingClientRect();
|
|
2907
|
+
});
|
|
2908
|
+
}
|
|
2938
2909
|
}
|
|
2939
|
-
|
|
2940
|
-
|
|
2910
|
+
eventsRegister() {
|
|
2911
|
+
const handleEventLayer = this.pickerHandleLayer.nativeElement;
|
|
2912
|
+
if (handleEventLayer) {
|
|
2913
|
+
this.addEventsForElement(handleEventLayer);
|
|
2914
|
+
}
|
|
2941
2915
|
}
|
|
2942
|
-
|
|
2916
|
+
addEventsForElement(el) {
|
|
2917
|
+
const _ = this.touchOrMouse.isTouchable;
|
|
2918
|
+
const eventHandlerList = [
|
|
2919
|
+
{ name: _ ? 'touchstart' : 'mousedown', handler: this.handleStart },
|
|
2920
|
+
{ name: _ ? 'touchmove' : 'mousemove', handler: this.handleMove },
|
|
2921
|
+
{ name: _ ? 'touchend' : 'mouseup', handler: this.handleEnd },
|
|
2922
|
+
{ name: _ ? 'touchcancel' : 'mouseleave', handler: this.handleCancel }
|
|
2923
|
+
];
|
|
2924
|
+
eventHandlerList.forEach((item, index) => {
|
|
2925
|
+
el.removeEventListener(item.name, item.handler, false);
|
|
2926
|
+
el.addEventListener(item.name, item.handler.bind(this), false);
|
|
2927
|
+
});
|
|
2928
|
+
}
|
|
2929
|
+
triggerMiddleLayerGroupClick(gIndex) {
|
|
2930
|
+
const data = this.items;
|
|
2931
|
+
if (typeof gIndex === 'number' && typeof data[gIndex].onClick === 'function') {
|
|
2932
|
+
data[gIndex].onClick(gIndex, this.currentIndexList[gIndex]);
|
|
2933
|
+
}
|
|
2934
|
+
}
|
|
2935
|
+
triggerAboveLayerClick(ev, gIndex) {
|
|
2936
|
+
const movedIndex = this.currentIndexList[gIndex] + 1;
|
|
2937
|
+
this.currentIndexList[gIndex] = movedIndex;
|
|
2938
|
+
this.correctionCurrentIndex(ev, gIndex);
|
|
2939
|
+
}
|
|
2940
|
+
triggerMiddleLayerClick(ev, gIndex) {
|
|
2941
|
+
this.triggerMiddleLayerGroupClick(gIndex);
|
|
2942
|
+
}
|
|
2943
|
+
triggerBelowLayerClick(ev, gIndex) {
|
|
2944
|
+
const movedIndex = this.currentIndexList[gIndex] - 1;
|
|
2945
|
+
this.currentIndexList[gIndex] = movedIndex;
|
|
2946
|
+
this.correctionCurrentIndex(ev, gIndex);
|
|
2947
|
+
}
|
|
2948
|
+
getTouchInfo(ev) {
|
|
2949
|
+
return this.touchOrMouse.isTouchable ? ev.changedTouches[0] || ev.touches[0] : ev;
|
|
2950
|
+
}
|
|
2951
|
+
getGroupIndexBelongsEvent(ev) {
|
|
2952
|
+
const touchInfo = this.getTouchInfo(ev);
|
|
2953
|
+
for (let i = 0; i < this.groupsRectList.length; i++) {
|
|
2954
|
+
const item = this.groupsRectList[i];
|
|
2955
|
+
if (item.left < touchInfo.pageX && touchInfo.pageX < item.right) {
|
|
2956
|
+
return i;
|
|
2957
|
+
}
|
|
2958
|
+
}
|
|
2959
|
+
return null;
|
|
2960
|
+
}
|
|
2961
|
+
handleEventClick(ev) {
|
|
2962
|
+
const gIndex = this.getGroupIndexBelongsEvent(ev);
|
|
2963
|
+
switch (ev.target.dataset.type) {
|
|
2964
|
+
case 'top':
|
|
2965
|
+
this.triggerAboveLayerClick(ev, gIndex);
|
|
2966
|
+
break;
|
|
2967
|
+
case 'middle':
|
|
2968
|
+
this.triggerMiddleLayerClick(ev, gIndex);
|
|
2969
|
+
break;
|
|
2970
|
+
case 'bottom':
|
|
2971
|
+
this.triggerBelowLayerClick(ev, gIndex);
|
|
2972
|
+
break;
|
|
2973
|
+
default:
|
|
2974
|
+
}
|
|
2975
|
+
}
|
|
2976
|
+
handleStart(ev) {
|
|
2977
|
+
if (ev.cancelable) {
|
|
2978
|
+
ev.preventDefault();
|
|
2979
|
+
ev.stopPropagation();
|
|
2980
|
+
}
|
|
2981
|
+
const touchInfo = this.getTouchInfo(ev);
|
|
2982
|
+
this.draggingInfo.startPageY = touchInfo.pageY;
|
|
2983
|
+
if (!this.touchOrMouse.isTouchable) {
|
|
2984
|
+
this.touchOrMouse.isMouseDown = true;
|
|
2985
|
+
}
|
|
2986
|
+
}
|
|
2987
|
+
handleMove(ev) {
|
|
2988
|
+
ev.preventDefault();
|
|
2989
|
+
ev.stopPropagation();
|
|
2990
|
+
if (this.touchOrMouse.isTouchable || this.touchOrMouse.isMouseDown) {
|
|
2991
|
+
this.draggingInfo.isDragging = true;
|
|
2992
|
+
this.setCurrentIndexOnMove(ev);
|
|
2993
|
+
}
|
|
2994
|
+
}
|
|
2995
|
+
handleEnd(ev) {
|
|
2996
|
+
ev.preventDefault();
|
|
2997
|
+
ev.stopPropagation();
|
|
2998
|
+
if (!this.draggingInfo.isDragging) {
|
|
2999
|
+
this.handleEventClick(ev);
|
|
3000
|
+
}
|
|
3001
|
+
this.draggingInfo.isDragging = false;
|
|
3002
|
+
this.touchOrMouse.isMouseDown = false;
|
|
3003
|
+
this.correctionAfterDragging(ev);
|
|
3004
|
+
}
|
|
3005
|
+
handleCancel(ev) {
|
|
3006
|
+
ev.preventDefault();
|
|
3007
|
+
ev.stopPropagation();
|
|
3008
|
+
if (this.touchOrMouse.isTouchable || this.touchOrMouse.isMouseDown) {
|
|
3009
|
+
this.correctionAfterDragging(ev);
|
|
3010
|
+
this.touchOrMouse.isMouseDown = false;
|
|
3011
|
+
this.draggingInfo.isDragging = false;
|
|
3012
|
+
}
|
|
3013
|
+
}
|
|
3014
|
+
setCurrentIndexOnMove(ev) {
|
|
3015
|
+
const touchInfo = this.getTouchInfo(ev);
|
|
3016
|
+
if (this.draggingInfo.groupIndex === null) {
|
|
3017
|
+
this.draggingInfo.groupIndex = this.getGroupIndexBelongsEvent(ev);
|
|
3018
|
+
}
|
|
3019
|
+
const gIndex = this.draggingInfo.groupIndex;
|
|
3020
|
+
if (typeof gIndex === 'number' && (this.items[gIndex].divider || !this.items[gIndex].list)) {
|
|
3021
|
+
return;
|
|
3022
|
+
}
|
|
3023
|
+
const moveCount = (this.draggingInfo.startPageY - touchInfo.pageY) / 32;
|
|
3024
|
+
const movedIndex = this.currentIndexList[gIndex] + moveCount;
|
|
3025
|
+
this.currentIndexList[gIndex] = movedIndex;
|
|
3026
|
+
this.draggingInfo.startPageY = touchInfo.pageY;
|
|
3027
|
+
}
|
|
3028
|
+
correctionAfterDragging(ev) {
|
|
3029
|
+
const gIndex = this.draggingInfo.groupIndex;
|
|
3030
|
+
this.correctionCurrentIndex(ev, gIndex);
|
|
3031
|
+
this.draggingInfo.groupIndex = null;
|
|
3032
|
+
this.draggingInfo.startPageY = null;
|
|
3033
|
+
}
|
|
3034
|
+
correctionCurrentIndex(ev, gIndex) {
|
|
3035
|
+
setTimeout(() => {
|
|
3036
|
+
if (typeof gIndex === 'number' && this.items[gIndex].divider !== true && this.items[gIndex].list.length > 0) {
|
|
3037
|
+
const unsafeGroupIndex = this.currentIndexList[gIndex];
|
|
3038
|
+
let movedIndex = unsafeGroupIndex;
|
|
3039
|
+
if (unsafeGroupIndex > this.items[gIndex].list.length - 1) {
|
|
3040
|
+
movedIndex = this.items[gIndex].list.length - 1;
|
|
3041
|
+
}
|
|
3042
|
+
else if (unsafeGroupIndex < 0) {
|
|
3043
|
+
movedIndex = 0;
|
|
3044
|
+
}
|
|
3045
|
+
movedIndex = Math.round(movedIndex);
|
|
3046
|
+
this.currentIndexList[gIndex] = movedIndex;
|
|
3047
|
+
if (movedIndex !== this.lastCurrentIndexList[gIndex]) {
|
|
3048
|
+
this.OnChange.emit({ gIndex, iIndex: movedIndex });
|
|
3049
|
+
}
|
|
3050
|
+
this.lastCurrentIndexList = [].concat(this.currentIndexList);
|
|
3051
|
+
}
|
|
3052
|
+
}, 100);
|
|
3053
|
+
}
|
|
3054
|
+
isCurrentItem(gIndex, iIndex) {
|
|
3055
|
+
return this.currentIndexList[gIndex] === iIndex;
|
|
3056
|
+
}
|
|
3057
|
+
getCurrentIndexList() {
|
|
3058
|
+
return this.currentIndexList;
|
|
3059
|
+
}
|
|
3060
|
+
getGroupClass(gIndex) {
|
|
3061
|
+
const group = this.items[gIndex];
|
|
3062
|
+
const defaultWeightClass = 'weight-' + (group.weight || 1);
|
|
3063
|
+
const groupClass = [defaultWeightClass];
|
|
3064
|
+
if (group.className) {
|
|
3065
|
+
groupClass.push(group.className);
|
|
3066
|
+
}
|
|
3067
|
+
return groupClass;
|
|
3068
|
+
}
|
|
3069
|
+
getItemClass(gIndex, iIndex, isDivider = false) {
|
|
3070
|
+
const group = this.items[gIndex];
|
|
3071
|
+
const itemClass = [];
|
|
3072
|
+
if (!isDivider && this.isCurrentItem(gIndex, iIndex)) {
|
|
3073
|
+
itemClass.push('smooth-item-selected');
|
|
3074
|
+
}
|
|
3075
|
+
if (group.textAlign) {
|
|
3076
|
+
itemClass.push('text-' + group.textAlign);
|
|
3077
|
+
}
|
|
3078
|
+
return itemClass;
|
|
3079
|
+
}
|
|
3080
|
+
getItemStyle(gIndex, iIndex) {
|
|
3081
|
+
const gapCount = this.currentIndexList[gIndex] - iIndex;
|
|
3082
|
+
if (Math.abs(gapCount) < (90 / this.itemPerDegree)) {
|
|
3083
|
+
const rotateStyle = {
|
|
3084
|
+
transform: 'rotateX(' + gapCount * this.itemPerDegree + 'deg) translate3d(0, 0, 5.625em)',
|
|
3085
|
+
opacity: (1 - Math.abs(gapCount) / (90 / this.itemPerDegree)).toString()
|
|
3086
|
+
};
|
|
3087
|
+
if (!this.draggingInfo.isDragging) {
|
|
3088
|
+
rotateStyle['transition'] = 'transform 150ms ease-out';
|
|
3089
|
+
}
|
|
3090
|
+
return rotateStyle;
|
|
3091
|
+
}
|
|
3092
|
+
if (gapCount > 0) {
|
|
3093
|
+
return { transform: 'rotateX(90deg) translate3d(0, 0, 5.625em)' };
|
|
3094
|
+
}
|
|
3095
|
+
else {
|
|
3096
|
+
return { transform: 'rotateX(-90deg) translate3d(0, 0, 5.625em)' };
|
|
3097
|
+
}
|
|
2943
3098
|
}
|
|
2944
3099
|
}
|
|
2945
3100
|
AXPickerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXPickerComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
2946
|
-
AXPickerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: AXPickerComponent, selector: "ax-picker", inputs: { readonly: "readonly", allowNull: "allowNull", value: "value", debounceTime: "debounceTime", name: "name", checked: "checked",
|
|
3101
|
+
AXPickerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: AXPickerComponent, selector: "ax-picker", inputs: { readonly: "readonly", allowNull: "allowNull", value: "value", debounceTime: "debounceTime", name: "name", checked: "checked", items: "items" }, outputs: { valueChange: "valueChange", onValueChanged: "onValueChanged", OnChange: "OnChange" }, host: { classAttribute: "ax-picker" }, queries: [{ propertyName: "itemTemplate", first: true, predicate: TemplateRef, descendants: true }], viewQueries: [{ propertyName: "pickerHandleLayer", first: true, predicate: ["pickerHandleLayer"], descendants: true, static: true }, { propertyName: "pickerGroupLayer", predicate: ["pickerGroupLayer"], descendants: true }], usesInheritance: true, ngImport: i0, template: "<!-- <ax-carousel [width]=\"width\" [height]=\"height\" [fixedWidth]=\"width\" [fixedHeight]=\"itemHeight\" [centered]=\"true\" [vertical]=\"true\" [loop]=\"false\" [wheel]=\"true\" (onSlideChanged)=\"_handleMoveChange($event)\">\r\n <ax-carousel-item class=\"ax-picker-item\" *ngFor=\"let item of items\">\r\n <ng-container [ngTemplateOutlet]=\"itemTemplate\"\r\n [ngTemplateOutletContext]=\"{ $implicit: item }\"></ng-container>\r\n </ax-carousel-item>\r\n</ax-carousel> -->\r\n<div class=\"ng-data-picker flex-box\">\r\n\r\n <!-- picker-group-layer -->\r\n <div #pickerGroupLayer *ngFor=\"let group of items; let gI = index\" class=\"picker-group\" [ngClass]=\"getGroupClass(gI)\">\r\n\r\n <div class=\"picker-list\">\r\n <div *ngIf=\"group.divider else ngIfElse\" class=\"picker-item divider\" [ngClass]=\"getItemClass(gI, i, true)\">\r\n {{ group.text }}\r\n </div>\r\n\r\n <div #ngIfElse *ngFor=\"let item of group.list; let i = index\" class=\"picker-item\" [ngClass]=\"getItemClass(gI, i)\"\r\n [ngStyle]=\"getItemStyle(gI, i)\">\r\n {{ item.value || item }}\r\n </div>\r\n </div>\r\n\r\n </div>\r\n\r\n <div #pickerHandleLayer class=\"picker-handle-layer flex-box dir-column\">\r\n <div data-type=\"top\" class=\"picker-top weight-1\"></div>\r\n <div data-type=\"middle\" class=\"picker-middle\"></div>\r\n <div data-type=\"bottom\" class=\"picker-bottom weight-1\"></div>\r\n </div>\r\n\r\n</div>", directives: [{ type: i1$1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i1$1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1$1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }] });
|
|
2947
3102
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXPickerComponent, decorators: [{
|
|
2948
3103
|
type: Component,
|
|
2949
|
-
args: [{ selector: 'ax-picker', host: { class: 'ax-picker' }, inputs: [...VALUE_INPUTS], outputs: [...VALUE_OUTPUT], template: "<!-- <ax-carousel [width]=\"width\" [height]=\"height\" [fixedWidth]=\"width\" [fixedHeight]=\"itemHeight\" [centered]=\"true\" [vertical]=\"true\" [loop]=\"false\" [wheel]=\"true\" (onSlideChanged)=\"_handleMoveChange($event)\">\r\n <ax-carousel-item class=\"ax-picker-item\" *ngFor=\"let item of items\">\r\n <ng-container [ngTemplateOutlet]=\"itemTemplate\"\r\n [ngTemplateOutletContext]=\"{ $implicit: item }\"></ng-container>\r\n </ax-carousel-item>\r\n</ax-carousel> -->\r\n
|
|
2950
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: {
|
|
3104
|
+
args: [{ selector: 'ax-picker', host: { class: 'ax-picker' }, inputs: [...VALUE_INPUTS], outputs: [...VALUE_OUTPUT], template: "<!-- <ax-carousel [width]=\"width\" [height]=\"height\" [fixedWidth]=\"width\" [fixedHeight]=\"itemHeight\" [centered]=\"true\" [vertical]=\"true\" [loop]=\"false\" [wheel]=\"true\" (onSlideChanged)=\"_handleMoveChange($event)\">\r\n <ax-carousel-item class=\"ax-picker-item\" *ngFor=\"let item of items\">\r\n <ng-container [ngTemplateOutlet]=\"itemTemplate\"\r\n [ngTemplateOutletContext]=\"{ $implicit: item }\"></ng-container>\r\n </ax-carousel-item>\r\n</ax-carousel> -->\r\n<div class=\"ng-data-picker flex-box\">\r\n\r\n <!-- picker-group-layer -->\r\n <div #pickerGroupLayer *ngFor=\"let group of items; let gI = index\" class=\"picker-group\" [ngClass]=\"getGroupClass(gI)\">\r\n\r\n <div class=\"picker-list\">\r\n <div *ngIf=\"group.divider else ngIfElse\" class=\"picker-item divider\" [ngClass]=\"getItemClass(gI, i, true)\">\r\n {{ group.text }}\r\n </div>\r\n\r\n <div #ngIfElse *ngFor=\"let item of group.list; let i = index\" class=\"picker-item\" [ngClass]=\"getItemClass(gI, i)\"\r\n [ngStyle]=\"getItemStyle(gI, i)\">\r\n {{ item.value || item }}\r\n </div>\r\n </div>\r\n\r\n </div>\r\n\r\n <div #pickerHandleLayer class=\"picker-handle-layer flex-box dir-column\">\r\n <div data-type=\"top\" class=\"picker-top weight-1\"></div>\r\n <div data-type=\"middle\" class=\"picker-middle\"></div>\r\n <div data-type=\"bottom\" class=\"picker-bottom weight-1\"></div>\r\n </div>\r\n\r\n</div>" }]
|
|
3105
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { pickerGroupLayer: [{
|
|
3106
|
+
type: ViewChildren,
|
|
3107
|
+
args: ['pickerGroupLayer']
|
|
3108
|
+
}], pickerHandleLayer: [{
|
|
2951
3109
|
type: ViewChild,
|
|
2952
|
-
args: ['
|
|
3110
|
+
args: ['pickerHandleLayer', { static: true }]
|
|
2953
3111
|
}], itemTemplate: [{
|
|
2954
3112
|
type: ContentChild,
|
|
2955
3113
|
args: [TemplateRef]
|
|
2956
|
-
}], rows: [{
|
|
2957
|
-
type: Input
|
|
2958
|
-
}], width: [{
|
|
2959
|
-
type: Input
|
|
2960
|
-
}], height: [{
|
|
2961
|
-
type: Input
|
|
2962
|
-
}], itemHeight: [{
|
|
2963
|
-
type: Input
|
|
2964
3114
|
}], items: [{
|
|
2965
3115
|
type: Input
|
|
3116
|
+
}], OnChange: [{
|
|
3117
|
+
type: Output
|
|
2966
3118
|
}] } });
|
|
2967
3119
|
|
|
2968
3120
|
const AXCalendarComponentMixin = _ClickableComponenetMixin(_InteractiveComponenetMixin(_ValueComponenetMixin(AXCalendarBaseComponent)));
|
|
@@ -3274,10 +3426,10 @@ class AXCalendarComponent extends AXCalendarComponentMixin {
|
|
|
3274
3426
|
}
|
|
3275
3427
|
}
|
|
3276
3428
|
AXCalendarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXCalendarComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
3277
|
-
AXCalendarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: AXCalendarComponent, selector: "ax-calendar", inputs: { readonly: "readonly", allowNull: "allowNull", value: "value", debounceTime: "debounceTime", name: "name", checked: "checked", disabled: "disabled", tabIndex: "tabIndex", depth: "depth", activeView: "activeView", min: "min", max: "max", disabledDates: "disabledDates", type: "type", holidayDates: "holidayDates", interface: "interface" }, outputs: { valueChange: "valueChange", onValueChanged: "onValueChanged", onBlur: "onBlur", onFocus: "onFocus", depthChange: "depthChange", typeChange: "typeChange", disabledDatesChange: "disabledDatesChange", holidayDatesChange: "holidayDatesChange", onNavigate: "onNavigate" }, host: { properties: { "class": "this.__hostClass" } }, usesInheritance: true, ngImport: i0, template: "<ng-container *ngIf=\"interface === 'calendar'; else pickerTemplate\">\r\n <div class=\"ax-calendar-header\">\r\n <div>\r\n <ng-container *ngIf=\"activeView=='days'; else elseTemplate\">\r\n <ax-button class=\"ax-nav-button\" [text]=\"_navText.split(' ')[1]\" color=\"light\" look=\"blank\"\r\n (onClick)=\"_handleNavClick($event)\" [disabled]=\"disabled\">\r\n </ax-button>\r\n <ax-button class=\"ax-nav-button\" [text]=\"_navText.split(' ')[0]\" color=\"light\" look=\"blank\"\r\n (onClick)=\"_handleNavClick($event)\" [disabled]=\"disabled\">\r\n </ax-button>\r\n </ng-container>\r\n <ng-template #elseTemplate>\r\n <ax-button class=\"ax-nav-button\" [text]=\"_navText\" color=\"light\" look=\"blank\"\r\n (onClick)=\"_handleNavClick($event)\" [disabled]=\"disabled\">\r\n </ax-button>\r\n </ng-template>\r\n </div>\r\n <div class=\"ax-flex\">\r\n <ax-button class=\"ax-prev-button\" color=\"light\" look=\"blank\" (onClick)=\"_handlePrevClick($event)\"\r\n [disabled]=\"disabled\">\r\n <ax-prefix>\r\n <ax-icon icon=\"ax-ic ax-ic-chevron ax-transform ax--rotate-90\"></ax-icon>\r\n </ax-prefix>\r\n </ax-button>\r\n <ax-button class=\"ax-next-button\" color=\"light\" look=\"blank\" (onClick)=\"_handleNextClick($event)\"\r\n [disabled]=\"disabled\">\r\n <ax-prefix>\r\n <ax-icon icon=\"ax-ic ax-ic-chevron ax-transform ax-rotate-90\"></ax-icon>\r\n\r\n </ax-prefix>\r\n </ax-button>\r\n </div>\r\n\r\n </div>\r\n <div class=\"ax-calendar-body\">\r\n <div [ngSwitch]=\"activeView\">\r\n <ng-container *ngSwitchCase=\"'years'\">\r\n <div class=\"ax-calendar-slots ax-calendar-slots-year\">\r\n <div tabindex=\"0\" *ngFor=\"let slot of _slots\" [ngClass]=\"slot.cssClass\"\r\n (click)=\"_handleSlotClick($event,slot)\">{{slot.text}}</div>\r\n </div>\r\n </ng-container>\r\n <ng-container *ngSwitchCase=\"'months'\">\r\n <div class=\"ax-calendar-slots ax-calendar-slots-month\">\r\n <div tabindex=\"0\" *ngFor=\"let slot of _slots\" [title]=\"slot.tooltip\" [ngClass]=\"slot.cssClass\"\r\n (click)=\"_handleSlotClick($event,slot)\">{{slot.text}}</div>\r\n </div>\r\n </ng-container>\r\n <ng-container *ngSwitchDefault>\r\n <div class=\"ax-calendar-week\">\r\n <div *ngFor=\"let d of _dayNames\">{{d}}</div>\r\n </div>\r\n <div class=\"ax-calendar-slots ax-calendar-slots-day\">\r\n <div tabindex=\"0\" *ngFor=\"let slot of _slots\" [title]=\"slot.tooltip\" [ngClass]=\"slot.cssClass\"\r\n (click)=\"_handleSlotClick($event,slot)\">{{slot.text}}</div>\r\n </div>\r\n </ng-container>\r\n </div>\r\n\r\n </div>\r\n <div class=\"ax-calendar-footer\">\r\n <ax-button class=\"dark:ax-text-danger\" [text]=\"_todayText\" color=\"dark\" look=\"blank\" size=\"sm\"\r\n (onClick)=\"_handleGoToday()\" [disabled]=\"disabled\"></ax-button>\r\n </div>\r\n</ng-container>\r\n<ng-template #pickerTemplate>\r\n <div class=\"ax-calendar-picker\">\r\n <ax-picker width=\"100%%\" height=\"300px\" itemHeight=\"48px\" [items]=\"_pickerYears\"\r\n (onValueChanged)=\"_handlePickerChange($event,'year')\">\r\n <ng-template let-item>\r\n {{item}}\r\n </ng-template>\r\n </ax-picker>\r\n <ax-picker width=\"100%\" height=\"300px\" itemHeight=\"48px\" [items]=\"_pickerMonths\"\r\n (onValueChanged)=\"_handlePickerChange($event,'month')\">\r\n <ng-template let-item>\r\n {{item.text}}\r\n </ng-template>\r\n </ax-picker>\r\n <ax-picker width=\"100%\" height=\"300px\" itemHeight=\"48px\" [items]=\"_pickerDays\"\r\n (onValueChanged)=\"_handlePickerChange($event,'day')\">\r\n <ng-template let-item>\r\n {{item}}\r\n </ng-template
|
|
3429
|
+
AXCalendarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: AXCalendarComponent, selector: "ax-calendar", inputs: { readonly: "readonly", allowNull: "allowNull", value: "value", debounceTime: "debounceTime", name: "name", checked: "checked", disabled: "disabled", tabIndex: "tabIndex", depth: "depth", activeView: "activeView", min: "min", max: "max", disabledDates: "disabledDates", type: "type", holidayDates: "holidayDates", interface: "interface" }, outputs: { valueChange: "valueChange", onValueChanged: "onValueChanged", onBlur: "onBlur", onFocus: "onFocus", depthChange: "depthChange", typeChange: "typeChange", disabledDatesChange: "disabledDatesChange", holidayDatesChange: "holidayDatesChange", onNavigate: "onNavigate" }, host: { properties: { "class": "this.__hostClass" } }, usesInheritance: true, ngImport: i0, template: "<ng-container *ngIf=\"interface === 'calendar'; else pickerTemplate\">\r\n <div class=\"ax-calendar-header\">\r\n <div>\r\n <ng-container *ngIf=\"activeView=='days'; else elseTemplate\">\r\n <ax-button class=\"ax-nav-button\" [text]=\"_navText.split(' ')[1]\" color=\"light\" look=\"blank\"\r\n (onClick)=\"_handleNavClick($event)\" [disabled]=\"disabled\">\r\n </ax-button>\r\n <ax-button class=\"ax-nav-button\" [text]=\"_navText.split(' ')[0]\" color=\"light\" look=\"blank\"\r\n (onClick)=\"_handleNavClick($event)\" [disabled]=\"disabled\">\r\n </ax-button>\r\n </ng-container>\r\n <ng-template #elseTemplate>\r\n <ax-button class=\"ax-nav-button\" [text]=\"_navText\" color=\"light\" look=\"blank\"\r\n (onClick)=\"_handleNavClick($event)\" [disabled]=\"disabled\">\r\n </ax-button>\r\n </ng-template>\r\n </div>\r\n <div class=\"ax-flex\">\r\n <ax-button class=\"ax-prev-button\" color=\"light\" look=\"blank\" (onClick)=\"_handlePrevClick($event)\"\r\n [disabled]=\"disabled\">\r\n <ax-prefix>\r\n <ax-icon icon=\"ax-ic ax-ic-chevron ax-transform ax--rotate-90\"></ax-icon>\r\n </ax-prefix>\r\n </ax-button>\r\n <ax-button class=\"ax-next-button\" color=\"light\" look=\"blank\" (onClick)=\"_handleNextClick($event)\"\r\n [disabled]=\"disabled\">\r\n <ax-prefix>\r\n <ax-icon icon=\"ax-ic ax-ic-chevron ax-transform ax-rotate-90\"></ax-icon>\r\n\r\n </ax-prefix>\r\n </ax-button>\r\n </div>\r\n\r\n </div>\r\n <div class=\"ax-calendar-body\">\r\n <div [ngSwitch]=\"activeView\">\r\n <ng-container *ngSwitchCase=\"'years'\">\r\n <div class=\"ax-calendar-slots ax-calendar-slots-year\">\r\n <div tabindex=\"0\" *ngFor=\"let slot of _slots\" [ngClass]=\"slot.cssClass\"\r\n (click)=\"_handleSlotClick($event,slot)\">{{slot.text}}</div>\r\n </div>\r\n </ng-container>\r\n <ng-container *ngSwitchCase=\"'months'\">\r\n <div class=\"ax-calendar-slots ax-calendar-slots-month\">\r\n <div tabindex=\"0\" *ngFor=\"let slot of _slots\" [title]=\"slot.tooltip\" [ngClass]=\"slot.cssClass\"\r\n (click)=\"_handleSlotClick($event,slot)\">{{slot.text}}</div>\r\n </div>\r\n </ng-container>\r\n <ng-container *ngSwitchDefault>\r\n <div class=\"ax-calendar-week\">\r\n <div *ngFor=\"let d of _dayNames\">{{d}}</div>\r\n </div>\r\n <div class=\"ax-calendar-slots ax-calendar-slots-day\">\r\n <div tabindex=\"0\" *ngFor=\"let slot of _slots\" [title]=\"slot.tooltip\" [ngClass]=\"slot.cssClass\"\r\n (click)=\"_handleSlotClick($event,slot)\">{{slot.text}}</div>\r\n </div>\r\n </ng-container>\r\n </div>\r\n\r\n </div>\r\n <div class=\"ax-calendar-footer\">\r\n <ax-button class=\"dark:ax-text-danger\" [text]=\"_todayText\" color=\"dark\" look=\"blank\" size=\"sm\"\r\n (onClick)=\"_handleGoToday()\" [disabled]=\"disabled\"></ax-button>\r\n </div>\r\n</ng-container>\r\n<ng-template #pickerTemplate>\r\n <div class=\"ax-calendar-picker\">\r\n <ax-picker></ax-picker>\r\n <!-- <ax-picker width=\"100%%\" height=\"300px\" itemHeight=\"48px\" [items]=\"_pickerYears\"\r\n (onValueChanged)=\"_handlePickerChange($event,'year')\">\r\n <ng-template let-item>\r\n {{item}}\r\n </ng-template>\r\n </ax-picker>\r\n <ax-picker width=\"100%\" height=\"300px\" itemHeight=\"48px\" [items]=\"_pickerMonths\"\r\n (onValueChanged)=\"_handlePickerChange($event,'month')\">\r\n <ng-template let-item>\r\n {{item.text}}\r\n </ng-template>\r\n </ax-picker>\r\n <ax-picker width=\"100%\" height=\"300px\" itemHeight=\"48px\" [items]=\"_pickerDays\"\r\n (onValueChanged)=\"_handlePickerChange($event,'day')\">\r\n <ng-template let-item>\r\n {{item}}\r\n </ng-template> \r\n </ax-picker>-->\r\n </div>\r\n</ng-template>", components: [{ type: AXButtonComponent, selector: "ax-button", inputs: ["disabled", "tabIndex", "size", "color", "look", "text", "submitBehavior", "cancelBehavior", "toggleable", "selected"], outputs: ["onBlur", "onFocus", "onClick", "selectedChange", "toggleableChange"] }, { type: AXDecoratorPrefixComponent, selector: "ax-prefix" }, { type: AXDecoratorIconComponent, selector: "ax-icon", inputs: ["icon"] }, { type: AXPickerComponent, selector: "ax-picker", inputs: ["readonly", "allowNull", "value", "debounceTime", "name", "checked", "items"], outputs: ["valueChange", "onValueChanged", "OnChange"] }], directives: [{ type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1$1.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { type: i1$1.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { type: i1$1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i1$1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i1$1.NgSwitchDefault, selector: "[ngSwitchDefault]" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
3278
3430
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXCalendarComponent, decorators: [{
|
|
3279
3431
|
type: Component,
|
|
3280
|
-
args: [{ selector: 'ax-calendar', changeDetection: ChangeDetectionStrategy.OnPush, inputs: [...VALUE_INPUTS, ...INTERACTIVE_INPUTS, ...CALENDAR_INPUTS], outputs: [...VALUE_OUTPUT, ...INTERACTIVE_OUTPUT, ...CALENDAR_OUTPUTS], encapsulation: ViewEncapsulation.None, template: "<ng-container *ngIf=\"interface === 'calendar'; else pickerTemplate\">\r\n <div class=\"ax-calendar-header\">\r\n <div>\r\n <ng-container *ngIf=\"activeView=='days'; else elseTemplate\">\r\n <ax-button class=\"ax-nav-button\" [text]=\"_navText.split(' ')[1]\" color=\"light\" look=\"blank\"\r\n (onClick)=\"_handleNavClick($event)\" [disabled]=\"disabled\">\r\n </ax-button>\r\n <ax-button class=\"ax-nav-button\" [text]=\"_navText.split(' ')[0]\" color=\"light\" look=\"blank\"\r\n (onClick)=\"_handleNavClick($event)\" [disabled]=\"disabled\">\r\n </ax-button>\r\n </ng-container>\r\n <ng-template #elseTemplate>\r\n <ax-button class=\"ax-nav-button\" [text]=\"_navText\" color=\"light\" look=\"blank\"\r\n (onClick)=\"_handleNavClick($event)\" [disabled]=\"disabled\">\r\n </ax-button>\r\n </ng-template>\r\n </div>\r\n <div class=\"ax-flex\">\r\n <ax-button class=\"ax-prev-button\" color=\"light\" look=\"blank\" (onClick)=\"_handlePrevClick($event)\"\r\n [disabled]=\"disabled\">\r\n <ax-prefix>\r\n <ax-icon icon=\"ax-ic ax-ic-chevron ax-transform ax--rotate-90\"></ax-icon>\r\n </ax-prefix>\r\n </ax-button>\r\n <ax-button class=\"ax-next-button\" color=\"light\" look=\"blank\" (onClick)=\"_handleNextClick($event)\"\r\n [disabled]=\"disabled\">\r\n <ax-prefix>\r\n <ax-icon icon=\"ax-ic ax-ic-chevron ax-transform ax-rotate-90\"></ax-icon>\r\n\r\n </ax-prefix>\r\n </ax-button>\r\n </div>\r\n\r\n </div>\r\n <div class=\"ax-calendar-body\">\r\n <div [ngSwitch]=\"activeView\">\r\n <ng-container *ngSwitchCase=\"'years'\">\r\n <div class=\"ax-calendar-slots ax-calendar-slots-year\">\r\n <div tabindex=\"0\" *ngFor=\"let slot of _slots\" [ngClass]=\"slot.cssClass\"\r\n (click)=\"_handleSlotClick($event,slot)\">{{slot.text}}</div>\r\n </div>\r\n </ng-container>\r\n <ng-container *ngSwitchCase=\"'months'\">\r\n <div class=\"ax-calendar-slots ax-calendar-slots-month\">\r\n <div tabindex=\"0\" *ngFor=\"let slot of _slots\" [title]=\"slot.tooltip\" [ngClass]=\"slot.cssClass\"\r\n (click)=\"_handleSlotClick($event,slot)\">{{slot.text}}</div>\r\n </div>\r\n </ng-container>\r\n <ng-container *ngSwitchDefault>\r\n <div class=\"ax-calendar-week\">\r\n <div *ngFor=\"let d of _dayNames\">{{d}}</div>\r\n </div>\r\n <div class=\"ax-calendar-slots ax-calendar-slots-day\">\r\n <div tabindex=\"0\" *ngFor=\"let slot of _slots\" [title]=\"slot.tooltip\" [ngClass]=\"slot.cssClass\"\r\n (click)=\"_handleSlotClick($event,slot)\">{{slot.text}}</div>\r\n </div>\r\n </ng-container>\r\n </div>\r\n\r\n </div>\r\n <div class=\"ax-calendar-footer\">\r\n <ax-button class=\"dark:ax-text-danger\" [text]=\"_todayText\" color=\"dark\" look=\"blank\" size=\"sm\"\r\n (onClick)=\"_handleGoToday()\" [disabled]=\"disabled\"></ax-button>\r\n </div>\r\n</ng-container>\r\n<ng-template #pickerTemplate>\r\n <div class=\"ax-calendar-picker\">\r\n <ax-picker width=\"100%%\" height=\"300px\" itemHeight=\"48px\" [items]=\"_pickerYears\"\r\n (onValueChanged)=\"_handlePickerChange($event,'year')\">\r\n <ng-template let-item>\r\n {{item}}\r\n </ng-template>\r\n </ax-picker>\r\n <ax-picker width=\"100%\" height=\"300px\" itemHeight=\"48px\" [items]=\"_pickerMonths\"\r\n (onValueChanged)=\"_handlePickerChange($event,'month')\">\r\n <ng-template let-item>\r\n {{item.text}}\r\n </ng-template>\r\n </ax-picker>\r\n <ax-picker width=\"100%\" height=\"300px\" itemHeight=\"48px\" [items]=\"_pickerDays\"\r\n (onValueChanged)=\"_handlePickerChange($event,'day')\">\r\n <ng-template let-item>\r\n {{item}}\r\n </ng-template
|
|
3432
|
+
args: [{ selector: 'ax-calendar', changeDetection: ChangeDetectionStrategy.OnPush, inputs: [...VALUE_INPUTS, ...INTERACTIVE_INPUTS, ...CALENDAR_INPUTS], outputs: [...VALUE_OUTPUT, ...INTERACTIVE_OUTPUT, ...CALENDAR_OUTPUTS], encapsulation: ViewEncapsulation.None, template: "<ng-container *ngIf=\"interface === 'calendar'; else pickerTemplate\">\r\n <div class=\"ax-calendar-header\">\r\n <div>\r\n <ng-container *ngIf=\"activeView=='days'; else elseTemplate\">\r\n <ax-button class=\"ax-nav-button\" [text]=\"_navText.split(' ')[1]\" color=\"light\" look=\"blank\"\r\n (onClick)=\"_handleNavClick($event)\" [disabled]=\"disabled\">\r\n </ax-button>\r\n <ax-button class=\"ax-nav-button\" [text]=\"_navText.split(' ')[0]\" color=\"light\" look=\"blank\"\r\n (onClick)=\"_handleNavClick($event)\" [disabled]=\"disabled\">\r\n </ax-button>\r\n </ng-container>\r\n <ng-template #elseTemplate>\r\n <ax-button class=\"ax-nav-button\" [text]=\"_navText\" color=\"light\" look=\"blank\"\r\n (onClick)=\"_handleNavClick($event)\" [disabled]=\"disabled\">\r\n </ax-button>\r\n </ng-template>\r\n </div>\r\n <div class=\"ax-flex\">\r\n <ax-button class=\"ax-prev-button\" color=\"light\" look=\"blank\" (onClick)=\"_handlePrevClick($event)\"\r\n [disabled]=\"disabled\">\r\n <ax-prefix>\r\n <ax-icon icon=\"ax-ic ax-ic-chevron ax-transform ax--rotate-90\"></ax-icon>\r\n </ax-prefix>\r\n </ax-button>\r\n <ax-button class=\"ax-next-button\" color=\"light\" look=\"blank\" (onClick)=\"_handleNextClick($event)\"\r\n [disabled]=\"disabled\">\r\n <ax-prefix>\r\n <ax-icon icon=\"ax-ic ax-ic-chevron ax-transform ax-rotate-90\"></ax-icon>\r\n\r\n </ax-prefix>\r\n </ax-button>\r\n </div>\r\n\r\n </div>\r\n <div class=\"ax-calendar-body\">\r\n <div [ngSwitch]=\"activeView\">\r\n <ng-container *ngSwitchCase=\"'years'\">\r\n <div class=\"ax-calendar-slots ax-calendar-slots-year\">\r\n <div tabindex=\"0\" *ngFor=\"let slot of _slots\" [ngClass]=\"slot.cssClass\"\r\n (click)=\"_handleSlotClick($event,slot)\">{{slot.text}}</div>\r\n </div>\r\n </ng-container>\r\n <ng-container *ngSwitchCase=\"'months'\">\r\n <div class=\"ax-calendar-slots ax-calendar-slots-month\">\r\n <div tabindex=\"0\" *ngFor=\"let slot of _slots\" [title]=\"slot.tooltip\" [ngClass]=\"slot.cssClass\"\r\n (click)=\"_handleSlotClick($event,slot)\">{{slot.text}}</div>\r\n </div>\r\n </ng-container>\r\n <ng-container *ngSwitchDefault>\r\n <div class=\"ax-calendar-week\">\r\n <div *ngFor=\"let d of _dayNames\">{{d}}</div>\r\n </div>\r\n <div class=\"ax-calendar-slots ax-calendar-slots-day\">\r\n <div tabindex=\"0\" *ngFor=\"let slot of _slots\" [title]=\"slot.tooltip\" [ngClass]=\"slot.cssClass\"\r\n (click)=\"_handleSlotClick($event,slot)\">{{slot.text}}</div>\r\n </div>\r\n </ng-container>\r\n </div>\r\n\r\n </div>\r\n <div class=\"ax-calendar-footer\">\r\n <ax-button class=\"dark:ax-text-danger\" [text]=\"_todayText\" color=\"dark\" look=\"blank\" size=\"sm\"\r\n (onClick)=\"_handleGoToday()\" [disabled]=\"disabled\"></ax-button>\r\n </div>\r\n</ng-container>\r\n<ng-template #pickerTemplate>\r\n <div class=\"ax-calendar-picker\">\r\n <ax-picker></ax-picker>\r\n <!-- <ax-picker width=\"100%%\" height=\"300px\" itemHeight=\"48px\" [items]=\"_pickerYears\"\r\n (onValueChanged)=\"_handlePickerChange($event,'year')\">\r\n <ng-template let-item>\r\n {{item}}\r\n </ng-template>\r\n </ax-picker>\r\n <ax-picker width=\"100%\" height=\"300px\" itemHeight=\"48px\" [items]=\"_pickerMonths\"\r\n (onValueChanged)=\"_handlePickerChange($event,'month')\">\r\n <ng-template let-item>\r\n {{item.text}}\r\n </ng-template>\r\n </ax-picker>\r\n <ax-picker width=\"100%\" height=\"300px\" itemHeight=\"48px\" [items]=\"_pickerDays\"\r\n (onValueChanged)=\"_handlePickerChange($event,'day')\">\r\n <ng-template let-item>\r\n {{item}}\r\n </ng-template> \r\n </ax-picker>-->\r\n </div>\r\n</ng-template>" }]
|
|
3281
3433
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { interface: [{
|
|
3282
3434
|
type: Input
|
|
3283
3435
|
}], __hostClass: [{
|
|
@@ -3956,19 +4108,19 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
|
|
|
3956
4108
|
}]
|
|
3957
4109
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: AXCarouselComponent }]; } });
|
|
3958
4110
|
|
|
3959
|
-
const COMPONENT$
|
|
3960
|
-
const MODULES$
|
|
4111
|
+
const COMPONENT$i = [AXCarouselComponent, AXCarouselItemComponent, AXCarouselArrowsComponent, AXCarouselPagerComponent];
|
|
4112
|
+
const MODULES$i = [CommonModule];
|
|
3961
4113
|
class AXCarouselModule {
|
|
3962
4114
|
}
|
|
3963
4115
|
AXCarouselModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXCarouselModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
3964
4116
|
AXCarouselModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXCarouselModule, declarations: [AXCarouselComponent, AXCarouselItemComponent, AXCarouselArrowsComponent, AXCarouselPagerComponent], imports: [CommonModule], exports: [AXCarouselComponent, AXCarouselItemComponent, AXCarouselArrowsComponent, AXCarouselPagerComponent] });
|
|
3965
|
-
AXCarouselModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXCarouselModule, providers: [], imports: [[...MODULES$
|
|
4117
|
+
AXCarouselModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXCarouselModule, providers: [], imports: [[...MODULES$i]] });
|
|
3966
4118
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXCarouselModule, decorators: [{
|
|
3967
4119
|
type: NgModule,
|
|
3968
4120
|
args: [{
|
|
3969
|
-
declarations: [...COMPONENT$
|
|
3970
|
-
imports: [...MODULES$
|
|
3971
|
-
exports: [...COMPONENT$
|
|
4121
|
+
declarations: [...COMPONENT$i],
|
|
4122
|
+
imports: [...MODULES$i],
|
|
4123
|
+
exports: [...COMPONENT$i],
|
|
3972
4124
|
providers: [],
|
|
3973
4125
|
}]
|
|
3974
4126
|
}] });
|
|
@@ -3988,19 +4140,19 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
|
|
|
3988
4140
|
}]
|
|
3989
4141
|
}] });
|
|
3990
4142
|
|
|
3991
|
-
const COMPONENT$
|
|
3992
|
-
const MODULES$
|
|
4143
|
+
const COMPONENT$h = [AXCalendarComponent];
|
|
4144
|
+
const MODULES$h = [CommonModule, AXButtonModule, AXDecoratorModule, AXDateTimeModule, AXPickerModule];
|
|
3993
4145
|
class AXCalendarModule {
|
|
3994
4146
|
}
|
|
3995
4147
|
AXCalendarModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXCalendarModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
3996
|
-
AXCalendarModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXCalendarModule, declarations: [AXCalendarComponent], imports: [CommonModule, AXButtonModule,
|
|
3997
|
-
AXCalendarModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXCalendarModule, providers: [], imports: [[...MODULES$
|
|
4148
|
+
AXCalendarModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXCalendarModule, declarations: [AXCalendarComponent], imports: [CommonModule, AXButtonModule, AXDecoratorModule, AXDateTimeModule, AXPickerModule], exports: [AXCalendarComponent] });
|
|
4149
|
+
AXCalendarModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXCalendarModule, providers: [], imports: [[...MODULES$h]] });
|
|
3998
4150
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXCalendarModule, decorators: [{
|
|
3999
4151
|
type: NgModule,
|
|
4000
4152
|
args: [{
|
|
4001
|
-
declarations: [...COMPONENT$
|
|
4002
|
-
imports: [...MODULES$
|
|
4003
|
-
exports: [...COMPONENT$
|
|
4153
|
+
declarations: [...COMPONENT$h],
|
|
4154
|
+
imports: [...MODULES$h],
|
|
4155
|
+
exports: [...COMPONENT$h],
|
|
4004
4156
|
providers: [],
|
|
4005
4157
|
}]
|
|
4006
4158
|
}] });
|
|
@@ -4043,13 +4195,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
|
|
|
4043
4195
|
class AXCheckBoxModule {
|
|
4044
4196
|
}
|
|
4045
4197
|
AXCheckBoxModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXCheckBoxModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
4046
|
-
AXCheckBoxModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXCheckBoxModule, declarations: [AXCheckBoxComponent], imports: [CommonModule, FormsModule,
|
|
4047
|
-
AXCheckBoxModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXCheckBoxModule, providers: [], imports: [[CommonModule, FormsModule,
|
|
4198
|
+
AXCheckBoxModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXCheckBoxModule, declarations: [AXCheckBoxComponent], imports: [CommonModule, FormsModule, AXDecoratorModule], exports: [AXCheckBoxComponent] });
|
|
4199
|
+
AXCheckBoxModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXCheckBoxModule, providers: [], imports: [[CommonModule, FormsModule, AXDecoratorModule]] });
|
|
4048
4200
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXCheckBoxModule, decorators: [{
|
|
4049
4201
|
type: NgModule,
|
|
4050
4202
|
args: [{
|
|
4051
4203
|
declarations: [AXCheckBoxComponent],
|
|
4052
|
-
imports: [CommonModule, FormsModule,
|
|
4204
|
+
imports: [CommonModule, FormsModule, AXDecoratorModule],
|
|
4053
4205
|
exports: [AXCheckBoxComponent],
|
|
4054
4206
|
providers: [],
|
|
4055
4207
|
}]
|
|
@@ -4375,8 +4527,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
|
|
|
4375
4527
|
args: ['axIsLoading']
|
|
4376
4528
|
}] } });
|
|
4377
4529
|
|
|
4378
|
-
const COMPONENT$
|
|
4379
|
-
const MODULES$
|
|
4530
|
+
const COMPONENT$g = [AXLoadingComponent, AXLoadingDirective, AXLoadingSpinnerComponent];
|
|
4531
|
+
const MODULES$g = [CommonModule, OverlayModule, PortalModule];
|
|
4380
4532
|
class AXLoadingModule {
|
|
4381
4533
|
constructor() {
|
|
4382
4534
|
AXConfig.set({
|
|
@@ -4390,13 +4542,13 @@ class AXLoadingModule {
|
|
|
4390
4542
|
}
|
|
4391
4543
|
AXLoadingModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXLoadingModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
4392
4544
|
AXLoadingModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXLoadingModule, declarations: [AXLoadingComponent, AXLoadingDirective, AXLoadingSpinnerComponent], imports: [CommonModule, OverlayModule, PortalModule], exports: [AXLoadingComponent, AXLoadingDirective, AXLoadingSpinnerComponent] });
|
|
4393
|
-
AXLoadingModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXLoadingModule, providers: [], imports: [[...MODULES$
|
|
4545
|
+
AXLoadingModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXLoadingModule, providers: [], imports: [[...MODULES$g]] });
|
|
4394
4546
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXLoadingModule, decorators: [{
|
|
4395
4547
|
type: NgModule,
|
|
4396
4548
|
args: [{
|
|
4397
|
-
declarations: [...COMPONENT$
|
|
4398
|
-
imports: [...MODULES$
|
|
4399
|
-
exports: [...COMPONENT$
|
|
4549
|
+
declarations: [...COMPONENT$g],
|
|
4550
|
+
imports: [...MODULES$g],
|
|
4551
|
+
exports: [...COMPONENT$g],
|
|
4400
4552
|
providers: [],
|
|
4401
4553
|
}]
|
|
4402
4554
|
}], ctorParameters: function () { return []; } });
|
|
@@ -4550,19 +4702,19 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
|
|
|
4550
4702
|
}]
|
|
4551
4703
|
}], ctorParameters: function () { return [{ type: i0.NgZone }, { type: AXOverlayService }]; } });
|
|
4552
4704
|
|
|
4553
|
-
const COMPONENT$
|
|
4554
|
-
const MODULES$
|
|
4705
|
+
const COMPONENT$f = [AXDataListComponent];
|
|
4706
|
+
const MODULES$f = [CommonModule, AXButtonModule, AXLoadingModule, AXTranslationModule];
|
|
4555
4707
|
class AXDataListModule {
|
|
4556
4708
|
}
|
|
4557
4709
|
AXDataListModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXDataListModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
4558
4710
|
AXDataListModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXDataListModule, declarations: [AXDataListComponent], imports: [CommonModule, AXButtonModule, AXLoadingModule, AXTranslationModule], exports: [AXDataListComponent] });
|
|
4559
|
-
AXDataListModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXDataListModule, providers: [], imports: [[...MODULES$
|
|
4711
|
+
AXDataListModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXDataListModule, providers: [], imports: [[...MODULES$f]] });
|
|
4560
4712
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXDataListModule, decorators: [{
|
|
4561
4713
|
type: NgModule,
|
|
4562
4714
|
args: [{
|
|
4563
|
-
declarations: [...COMPONENT$
|
|
4564
|
-
imports: [...MODULES$
|
|
4565
|
-
exports: [...COMPONENT$
|
|
4715
|
+
declarations: [...COMPONENT$f],
|
|
4716
|
+
imports: [...MODULES$f],
|
|
4717
|
+
exports: [...COMPONENT$f],
|
|
4566
4718
|
providers: [],
|
|
4567
4719
|
}]
|
|
4568
4720
|
}] });
|
|
@@ -4597,6 +4749,7 @@ class AXPopoverComponent extends AXInteractiveComponenetMixin {
|
|
|
4597
4749
|
this.closeTrigger = 'clickout';
|
|
4598
4750
|
//
|
|
4599
4751
|
this.hasBackdrop = false;
|
|
4752
|
+
this.adaptivityEnabled = false;
|
|
4600
4753
|
//
|
|
4601
4754
|
this._mousePos = { x: 0, y: 0 };
|
|
4602
4755
|
this._isScrollAttached = false;
|
|
@@ -4712,7 +4865,7 @@ class AXPopoverComponent extends AXInteractiveComponenetMixin {
|
|
|
4712
4865
|
if (!targetRef)
|
|
4713
4866
|
return;
|
|
4714
4867
|
if (!this._overlayRef) {
|
|
4715
|
-
if (this._platform.is('Mobile')) {
|
|
4868
|
+
if (this._platform.is('Mobile') && this.adaptivityEnabled) {
|
|
4716
4869
|
this._openAsActionsheet();
|
|
4717
4870
|
}
|
|
4718
4871
|
else {
|
|
@@ -4783,7 +4936,7 @@ class AXPopoverComponent extends AXInteractiveComponenetMixin {
|
|
|
4783
4936
|
}
|
|
4784
4937
|
}
|
|
4785
4938
|
AXPopoverComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXPopoverComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: i0.NgZone }, { token: i1.Overlay }, { token: i1$4.AXPlatform }, { token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
4786
|
-
AXPopoverComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: AXPopoverComponent, selector: "ax-popover", inputs: { target: "target", position: "position", openTrigger: "openTrigger", closeTrigger: "closeTrigger", hasBackdrop: "hasBackdrop", backdropClass: "backdropClass" }, outputs: { onOpened: "onOpened", onClosed: "onClosed" }, host: { listeners: { "keydown": "_handleKeydownHandler($event)" } }, viewQueries: [{ propertyName: "_baseTemplate", first: true, predicate: ["baseTemplate"], descendants: true }], usesInheritance: true, ngImport: i0, template: "<ng-template #baseTemplate>\r\n <ng-content></ng-content>\r\n</ng-template>", changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
4939
|
+
AXPopoverComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: AXPopoverComponent, selector: "ax-popover", inputs: { target: "target", position: "position", openTrigger: "openTrigger", closeTrigger: "closeTrigger", hasBackdrop: "hasBackdrop", backdropClass: "backdropClass", adaptivityEnabled: "adaptivityEnabled" }, outputs: { onOpened: "onOpened", onClosed: "onClosed" }, host: { listeners: { "keydown": "_handleKeydownHandler($event)" } }, viewQueries: [{ propertyName: "_baseTemplate", first: true, predicate: ["baseTemplate"], descendants: true }], usesInheritance: true, ngImport: i0, template: "<ng-template #baseTemplate>\r\n <ng-content></ng-content>\r\n</ng-template>", changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
4787
4940
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXPopoverComponent, decorators: [{
|
|
4788
4941
|
type: Component,
|
|
4789
4942
|
args: [{ selector: 'ax-popover', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, template: "<ng-template #baseTemplate>\r\n <ng-content></ng-content>\r\n</ng-template>" }]
|
|
@@ -4802,6 +4955,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
|
|
|
4802
4955
|
type: Input
|
|
4803
4956
|
}], backdropClass: [{
|
|
4804
4957
|
type: Input
|
|
4958
|
+
}], adaptivityEnabled: [{
|
|
4959
|
+
type: Input
|
|
4805
4960
|
}], onOpened: [{
|
|
4806
4961
|
type: Output
|
|
4807
4962
|
}], onClosed: [{
|
|
@@ -4960,10 +5115,10 @@ class AXDatePickerComponent extends AXBaseDatePickerMixin {
|
|
|
4960
5115
|
}
|
|
4961
5116
|
}
|
|
4962
5117
|
AXDatePickerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXDatePickerComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: i1$4.AXPlatform }], target: i0.ɵɵFactoryTarget.Component });
|
|
4963
|
-
AXDatePickerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: AXDatePickerComponent, selector: "ax-date-picker", inputs: { isOpen: "isOpen", fitParent: "fitParent", dropdownWidth: "dropdownWidth", position: "position", disabled: "disabled", tabIndex: "tabIndex", readonly: "readonly", allowNull: "allowNull", value: "value", debounceTime: "debounceTime", name: "name", checked: "checked", placeholder: "placeholder", maxLength: "maxLength", type: "type", autoComplete: "autoComplete", depth: "depth", activeView: "activeView", min: "min", max: "max", disabledDates: "disabledDates", holidayDates: "holidayDates", format: "format", interface: "interface" }, outputs: { onOpened: "onOpened", onClosed: "onClosed", onBlur: "onBlur", onFocus: "onFocus", valueChange: "valueChange", onValueChanged: "onValueChanged", depthChange: "depthChange", typeChange: "typeChange", disabledDatesChange: "disabledDatesChange", holidayDatesChange: "holidayDatesChange", onNavigate: "onNavigate", formatChange: "formatChange" }, host: { classAttribute: "ax-editor-container ax-drop-down" }, viewQueries: [{ propertyName: "popover", first: true, predicate: AXPopoverComponent, descendants: true, static: true }, { propertyName: "_calendar", first: true, predicate: AXCalendarComponent, descendants: true, static: true }], usesInheritance: true, ngImport: i0, template: "<ng-content select=\"ax-prefix\">\r\n</ng-content>\r\n<div class=\"ax-dropdown-content\">\r\n <input class=\"ax-input\" type=\"text\" [attr.placeholder]=\"placeholder\" [class.ax-state-disabled]=\"disabled\"\r\n [class.ax-state-readonly]=\"readonly\" [disabled]=\"disabled\" [readonly]=\"readonly\"
|
|
5118
|
+
AXDatePickerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: AXDatePickerComponent, selector: "ax-date-picker", inputs: { isOpen: "isOpen", fitParent: "fitParent", dropdownWidth: "dropdownWidth", position: "position", disabled: "disabled", tabIndex: "tabIndex", readonly: "readonly", allowNull: "allowNull", value: "value", debounceTime: "debounceTime", name: "name", checked: "checked", placeholder: "placeholder", maxLength: "maxLength", type: "type", autoComplete: "autoComplete", depth: "depth", activeView: "activeView", min: "min", max: "max", disabledDates: "disabledDates", holidayDates: "holidayDates", format: "format", interface: "interface" }, outputs: { onOpened: "onOpened", onClosed: "onClosed", onBlur: "onBlur", onFocus: "onFocus", valueChange: "valueChange", onValueChanged: "onValueChanged", depthChange: "depthChange", typeChange: "typeChange", disabledDatesChange: "disabledDatesChange", holidayDatesChange: "holidayDatesChange", onNavigate: "onNavigate", formatChange: "formatChange" }, host: { classAttribute: "ax-editor-container ax-drop-down" }, providers: [{ provide: AXClosbaleComponent, useExisting: AXDatePickerComponent }], viewQueries: [{ propertyName: "popover", first: true, predicate: AXPopoverComponent, descendants: true, static: true }, { propertyName: "_calendar", first: true, predicate: AXCalendarComponent, descendants: true, static: true }], usesInheritance: true, ngImport: i0, template: "<ng-content select=\"ax-prefix\">\r\n</ng-content>\r\n<div class=\"ax-dropdown-content\">\r\n <input class=\"ax-input\" type=\"text\" [attr.placeholder]=\"placeholder\" [class.ax-state-disabled]=\"disabled\"\r\n [class.ax-state-readonly]=\"readonly\" [disabled]=\"disabled\" [readonly]=\"readonly\"\r\n [attr.tabindex]=\"_isMobile ? -1 : tabIndex\" [ngModel]=\"displayText\" (focus)=\"_emitOnFocusEvent($event)\"\r\n (mouseup)=\"_handleOnInputClickEvent($event)\" (blur)=\"_emitOnBlurEvent($event)\"\r\n (keydown)=\"_handleOnKeydownEvent($event)\">\r\n</div>\r\n<ax-button [disabled]=\"disabled\" [tabIndex]=\"-1\" color=\"light\" look=\"blank\" (onClick)=\"_handleArrowClickEvent($event)\">\r\n <ax-icon icon=\"ax-ic ax-ic-chevron ax-transform ax--rotate-90\"></ax-icon>\r\n</ax-button>\r\n<ng-content select=\"ax-suffix\">\r\n</ng-content>\r\n<ng-content select=\"ax-validation-rule\">\r\n</ng-content>\r\n<ng-content select=\"ax-calendar-options\">\r\n</ng-content>\r\n<ax-popover [target]=\"_target\" [position]=\"position\" [openTrigger]=\"'manual'\" [closeTrigger]=\"'clickout'\" [adaptivityEnabled]=\"true\"\r\n (onOpened)=\"_handlePopoverOpened($event)\">\r\n <div class=\"ax-overlay-pane\" [class.ax-w-full]=\"_isMobile\">\r\n <ax-header *ngIf=\"_isMobile\" >\r\n <ax-title text=\"{{placeholder || 'Choose a date'}}\"></ax-title>\r\n <ax-close-button></ax-close-button>\r\n </ax-header>\r\n <ng-container *ngIf=\"interface === 'calendar'; then calendarTemplate; else pickerTemplate\"></ng-container>\r\n <ng-template #calendarTemplate>\r\n <ax-calendar #calendar [disabled]=\"disabled\" [readonly]=\"readonly\" [(value)]=\"value\" [min]=\"min\" [max]=\"max\"\r\n [disabledDates]=\"disabledDates\" [holidayDates]=\"holidayDates\" [depth]=\"depth\"\r\n (onNavigate)=\"_handleOnNavigate($event)\" [type]=\"type\">\r\n </ax-calendar>\r\n </ng-template>\r\n <ng-template #pickerTemplate>\r\n </ng-template>\r\n\r\n </div>\r\n</ax-popover>", components: [{ type: AXButtonComponent, selector: "ax-button", inputs: ["disabled", "tabIndex", "size", "color", "look", "text", "submitBehavior", "cancelBehavior", "toggleable", "selected"], outputs: ["onBlur", "onFocus", "onClick", "selectedChange", "toggleableChange"] }, { type: AXDecoratorIconComponent, selector: "ax-icon", inputs: ["icon"] }, { type: AXPopoverComponent, selector: "ax-popover", inputs: ["target", "position", "openTrigger", "closeTrigger", "hasBackdrop", "backdropClass", "adaptivityEnabled"], outputs: ["onOpened", "onClosed"] }, { type: AXDecoratorHeaderComponent, selector: "ax-header" }, { type: AXDecoratorTitleComponent, selector: "ax-title", inputs: ["text"] }, { type: AXDecoratorCloseButtonComponent, selector: "ax-close-button", inputs: ["icon"] }, { type: AXCalendarComponent, selector: "ax-calendar", inputs: ["readonly", "allowNull", "value", "debounceTime", "name", "checked", "disabled", "tabIndex", "depth", "activeView", "min", "max", "disabledDates", "type", "holidayDates", "interface"], outputs: ["valueChange", "onValueChanged", "onBlur", "onFocus", "depthChange", "typeChange", "disabledDatesChange", "holidayDatesChange", "onNavigate"] }], directives: [{ type: i1$2.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { type: i1$2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i1$2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
4964
5119
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXDatePickerComponent, decorators: [{
|
|
4965
5120
|
type: Component,
|
|
4966
|
-
args: [{ selector: 'ax-date-picker', inputs: [...DROPDOWN_INPUTS, ...INTERACTIVE_INPUTS, ...VALUE_INPUTS, ...TEXTBOX_INPUTS, ...CALENDAR_INPUTS], outputs: [...DROPDOWN_OUTPUT, ...INTERACTIVE_OUTPUT, ...VALUE_OUTPUT, ...TEXTBOX_OUTPUT, ...CALENDAR_OUTPUTS], changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, host: { class: 'ax-editor-container ax-drop-down' }, template: "<ng-content select=\"ax-prefix\">\r\n</ng-content>\r\n<div class=\"ax-dropdown-content\">\r\n <input class=\"ax-input\" type=\"text\" [attr.placeholder]=\"placeholder\" [class.ax-state-disabled]=\"disabled\"\r\n [class.ax-state-readonly]=\"readonly\" [disabled]=\"disabled\" [readonly]=\"readonly\"
|
|
5121
|
+
args: [{ selector: 'ax-date-picker', inputs: [...DROPDOWN_INPUTS, ...INTERACTIVE_INPUTS, ...VALUE_INPUTS, ...TEXTBOX_INPUTS, ...CALENDAR_INPUTS], outputs: [...DROPDOWN_OUTPUT, ...INTERACTIVE_OUTPUT, ...VALUE_OUTPUT, ...TEXTBOX_OUTPUT, ...CALENDAR_OUTPUTS], changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, providers: [{ provide: AXClosbaleComponent, useExisting: AXDatePickerComponent }], host: { class: 'ax-editor-container ax-drop-down' }, template: "<ng-content select=\"ax-prefix\">\r\n</ng-content>\r\n<div class=\"ax-dropdown-content\">\r\n <input class=\"ax-input\" type=\"text\" [attr.placeholder]=\"placeholder\" [class.ax-state-disabled]=\"disabled\"\r\n [class.ax-state-readonly]=\"readonly\" [disabled]=\"disabled\" [readonly]=\"readonly\"\r\n [attr.tabindex]=\"_isMobile ? -1 : tabIndex\" [ngModel]=\"displayText\" (focus)=\"_emitOnFocusEvent($event)\"\r\n (mouseup)=\"_handleOnInputClickEvent($event)\" (blur)=\"_emitOnBlurEvent($event)\"\r\n (keydown)=\"_handleOnKeydownEvent($event)\">\r\n</div>\r\n<ax-button [disabled]=\"disabled\" [tabIndex]=\"-1\" color=\"light\" look=\"blank\" (onClick)=\"_handleArrowClickEvent($event)\">\r\n <ax-icon icon=\"ax-ic ax-ic-chevron ax-transform ax--rotate-90\"></ax-icon>\r\n</ax-button>\r\n<ng-content select=\"ax-suffix\">\r\n</ng-content>\r\n<ng-content select=\"ax-validation-rule\">\r\n</ng-content>\r\n<ng-content select=\"ax-calendar-options\">\r\n</ng-content>\r\n<ax-popover [target]=\"_target\" [position]=\"position\" [openTrigger]=\"'manual'\" [closeTrigger]=\"'clickout'\" [adaptivityEnabled]=\"true\"\r\n (onOpened)=\"_handlePopoverOpened($event)\">\r\n <div class=\"ax-overlay-pane\" [class.ax-w-full]=\"_isMobile\">\r\n <ax-header *ngIf=\"_isMobile\" >\r\n <ax-title text=\"{{placeholder || 'Choose a date'}}\"></ax-title>\r\n <ax-close-button></ax-close-button>\r\n </ax-header>\r\n <ng-container *ngIf=\"interface === 'calendar'; then calendarTemplate; else pickerTemplate\"></ng-container>\r\n <ng-template #calendarTemplate>\r\n <ax-calendar #calendar [disabled]=\"disabled\" [readonly]=\"readonly\" [(value)]=\"value\" [min]=\"min\" [max]=\"max\"\r\n [disabledDates]=\"disabledDates\" [holidayDates]=\"holidayDates\" [depth]=\"depth\"\r\n (onNavigate)=\"_handleOnNavigate($event)\" [type]=\"type\">\r\n </ax-calendar>\r\n </ng-template>\r\n <ng-template #pickerTemplate>\r\n </ng-template>\r\n\r\n </div>\r\n</ax-popover>" }]
|
|
4967
5122
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: i1$4.AXPlatform }]; }, propDecorators: { popover: [{
|
|
4968
5123
|
type: ViewChild,
|
|
4969
5124
|
args: [AXPopoverComponent, { static: true }]
|
|
@@ -5021,14 +5176,12 @@ AXTextBoxModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version:
|
|
|
5021
5176
|
AXTextBoxModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXTextBoxModule, declarations: [AXTextBoxComponent], imports: [CommonModule,
|
|
5022
5177
|
FormsModule,
|
|
5023
5178
|
AXButtonModule,
|
|
5024
|
-
|
|
5025
|
-
AXIconModule, i1$5.NgxMaskModule], exports: [AXTextBoxComponent] });
|
|
5179
|
+
AXDecoratorModule, i1$5.NgxMaskModule], exports: [AXTextBoxComponent] });
|
|
5026
5180
|
AXTextBoxModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXTextBoxModule, providers: [], imports: [[
|
|
5027
5181
|
CommonModule,
|
|
5028
5182
|
FormsModule,
|
|
5029
5183
|
AXButtonModule,
|
|
5030
|
-
|
|
5031
|
-
AXIconModule,
|
|
5184
|
+
AXDecoratorModule,
|
|
5032
5185
|
NgxMaskModule.forChild()
|
|
5033
5186
|
]] });
|
|
5034
5187
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXTextBoxModule, decorators: [{
|
|
@@ -5038,8 +5191,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
|
|
|
5038
5191
|
CommonModule,
|
|
5039
5192
|
FormsModule,
|
|
5040
5193
|
AXButtonModule,
|
|
5041
|
-
|
|
5042
|
-
AXIconModule,
|
|
5194
|
+
AXDecoratorModule,
|
|
5043
5195
|
NgxMaskModule.forChild()
|
|
5044
5196
|
],
|
|
5045
5197
|
exports: [AXTextBoxComponent],
|
|
@@ -5048,15 +5200,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
|
|
|
5048
5200
|
}]
|
|
5049
5201
|
}] });
|
|
5050
5202
|
|
|
5051
|
-
const COMPONENT$
|
|
5052
|
-
const MODULES$
|
|
5203
|
+
const COMPONENT$e = [AXDatePickerComponent];
|
|
5204
|
+
const MODULES$e = [
|
|
5053
5205
|
CommonModule,
|
|
5054
5206
|
AXCalendarModule,
|
|
5055
5207
|
AXTextBoxModule,
|
|
5056
5208
|
AXButtonModule,
|
|
5057
5209
|
AXPopoverModule,
|
|
5058
|
-
|
|
5059
|
-
AXIconModule,
|
|
5210
|
+
AXDecoratorModule,
|
|
5060
5211
|
AXDateTimeModule,
|
|
5061
5212
|
FormsModule
|
|
5062
5213
|
];
|
|
@@ -5068,17 +5219,16 @@ AXDatepickerModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", vers
|
|
|
5068
5219
|
AXTextBoxModule,
|
|
5069
5220
|
AXButtonModule,
|
|
5070
5221
|
AXPopoverModule,
|
|
5071
|
-
|
|
5072
|
-
AXIconModule,
|
|
5222
|
+
AXDecoratorModule,
|
|
5073
5223
|
AXDateTimeModule,
|
|
5074
5224
|
FormsModule], exports: [AXDatePickerComponent] });
|
|
5075
|
-
AXDatepickerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXDatepickerModule, providers: [], imports: [[...MODULES$
|
|
5225
|
+
AXDatepickerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXDatepickerModule, providers: [], imports: [[...MODULES$e]] });
|
|
5076
5226
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXDatepickerModule, decorators: [{
|
|
5077
5227
|
type: NgModule,
|
|
5078
5228
|
args: [{
|
|
5079
|
-
declarations: [...COMPONENT$
|
|
5080
|
-
imports: [...MODULES$
|
|
5081
|
-
exports: [...COMPONENT$
|
|
5229
|
+
declarations: [...COMPONENT$e],
|
|
5230
|
+
imports: [...MODULES$e],
|
|
5231
|
+
exports: [...COMPONENT$e],
|
|
5082
5232
|
providers: [],
|
|
5083
5233
|
}]
|
|
5084
5234
|
}] });
|
|
@@ -5311,32 +5461,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
|
|
|
5311
5461
|
type: Input
|
|
5312
5462
|
}] } });
|
|
5313
5463
|
|
|
5314
|
-
class AXPageFooterComponent {
|
|
5315
|
-
}
|
|
5316
|
-
AXPageFooterComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXPageFooterComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
5317
|
-
AXPageFooterComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: AXPageFooterComponent, selector: "ax-page-footer", viewQueries: [{ propertyName: "template", first: true, predicate: TemplateRef, descendants: true, static: true }], ngImport: i0, template: `
|
|
5318
|
-
<ng-content select="ax-prefix">
|
|
5319
|
-
</ng-content>
|
|
5320
|
-
<ng-content select="ax-suffix">
|
|
5321
|
-
</ng-content>
|
|
5322
|
-
`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
5323
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXPageFooterComponent, decorators: [{
|
|
5324
|
-
type: Component,
|
|
5325
|
-
args: [{
|
|
5326
|
-
selector: 'ax-page-footer',
|
|
5327
|
-
template: `
|
|
5328
|
-
<ng-content select="ax-prefix">
|
|
5329
|
-
</ng-content>
|
|
5330
|
-
<ng-content select="ax-suffix">
|
|
5331
|
-
</ng-content>
|
|
5332
|
-
`,
|
|
5333
|
-
changeDetection: ChangeDetectionStrategy.OnPush
|
|
5334
|
-
}]
|
|
5335
|
-
}], propDecorators: { template: [{
|
|
5336
|
-
type: ViewChild,
|
|
5337
|
-
args: [TemplateRef, { static: true }]
|
|
5338
|
-
}] } });
|
|
5339
|
-
|
|
5340
5464
|
const TAB_META_KEY = '__meta__';
|
|
5341
5465
|
class AXPageCloseEvent extends AXEvent {
|
|
5342
5466
|
}
|
|
@@ -5410,67 +5534,41 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
|
|
|
5410
5534
|
args: [AXPageComponent, { static: true }]
|
|
5411
5535
|
}], footer: [{
|
|
5412
5536
|
type: ViewChild,
|
|
5413
|
-
args: [
|
|
5537
|
+
args: [AXDecoratorFooterComponent, { static: true }]
|
|
5414
5538
|
}], isLoadingChange: [{
|
|
5415
5539
|
type: Output
|
|
5416
5540
|
}], isLoading: [{
|
|
5417
5541
|
type: Input
|
|
5418
5542
|
}] } });
|
|
5419
5543
|
|
|
5420
|
-
class AXPageHeaderComponent {
|
|
5421
|
-
}
|
|
5422
|
-
AXPageHeaderComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXPageHeaderComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
5423
|
-
AXPageHeaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: AXPageHeaderComponent, selector: "ax-page-header", viewQueries: [{ propertyName: "template", first: true, predicate: TemplateRef, descendants: true, static: true }], ngImport: i0, template: `
|
|
5424
|
-
<ng-content select="ax-prefix">
|
|
5425
|
-
</ng-content>
|
|
5426
|
-
<ng-content select="ax-suffix">
|
|
5427
|
-
</ng-content>
|
|
5428
|
-
`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
5429
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXPageHeaderComponent, decorators: [{
|
|
5430
|
-
type: Component,
|
|
5431
|
-
args: [{
|
|
5432
|
-
selector: 'ax-page-header',
|
|
5433
|
-
template: `
|
|
5434
|
-
<ng-content select="ax-prefix">
|
|
5435
|
-
</ng-content>
|
|
5436
|
-
<ng-content select="ax-suffix">
|
|
5437
|
-
</ng-content>
|
|
5438
|
-
`,
|
|
5439
|
-
changeDetection: ChangeDetectionStrategy.OnPush
|
|
5440
|
-
}]
|
|
5441
|
-
}], propDecorators: { template: [{
|
|
5442
|
-
type: ViewChild,
|
|
5443
|
-
args: [TemplateRef, { static: true }]
|
|
5444
|
-
}] } });
|
|
5445
|
-
|
|
5446
5544
|
class AXPageModule {
|
|
5447
5545
|
}
|
|
5448
5546
|
AXPageModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXPageModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
5449
|
-
AXPageModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXPageModule
|
|
5547
|
+
AXPageModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXPageModule });
|
|
5450
5548
|
AXPageModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXPageModule, providers: [], imports: [[]] });
|
|
5451
5549
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXPageModule, decorators: [{
|
|
5452
5550
|
type: NgModule,
|
|
5453
5551
|
args: [{
|
|
5454
5552
|
imports: [],
|
|
5455
|
-
exports: [
|
|
5456
|
-
declarations: [
|
|
5553
|
+
exports: [],
|
|
5554
|
+
declarations: [],
|
|
5457
5555
|
providers: [],
|
|
5458
5556
|
}]
|
|
5459
5557
|
}] });
|
|
5460
5558
|
|
|
5461
|
-
const COMPONENT$
|
|
5462
|
-
const MODULES$
|
|
5559
|
+
const COMPONENT$d = [AXDialogComponent];
|
|
5560
|
+
const MODULES$d = [CommonModule, DragDropModule, A11yModule, AXButtonModule, AXPageModule, AXDecoratorModule];
|
|
5463
5561
|
class AXDialogModule {
|
|
5464
5562
|
}
|
|
5465
5563
|
AXDialogModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXDialogModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
5466
|
-
AXDialogModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXDialogModule, declarations: [AXDialogComponent], imports: [CommonModule, DragDropModule, A11yModule, AXButtonModule, AXPageModule,
|
|
5467
|
-
AXDialogModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXDialogModule, providers: [], imports: [[...MODULES$
|
|
5564
|
+
AXDialogModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXDialogModule, declarations: [AXDialogComponent], imports: [CommonModule, DragDropModule, A11yModule, AXButtonModule, AXPageModule, AXDecoratorModule], exports: [AXDialogComponent] });
|
|
5565
|
+
AXDialogModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXDialogModule, providers: [], imports: [[...MODULES$d]] });
|
|
5468
5566
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXDialogModule, decorators: [{
|
|
5469
5567
|
type: NgModule,
|
|
5470
5568
|
args: [{
|
|
5471
|
-
declarations: [...COMPONENT$
|
|
5472
|
-
imports: [...MODULES$
|
|
5473
|
-
exports: [...COMPONENT$
|
|
5569
|
+
declarations: [...COMPONENT$d],
|
|
5570
|
+
imports: [...MODULES$d],
|
|
5571
|
+
exports: [...COMPONENT$d],
|
|
5474
5572
|
providers: [],
|
|
5475
5573
|
}]
|
|
5476
5574
|
}] });
|
|
@@ -5522,10 +5620,10 @@ class AXDropdownPanelComponent extends AXBaseDropdownMixin {
|
|
|
5522
5620
|
}
|
|
5523
5621
|
}
|
|
5524
5622
|
AXDropdownPanelComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXDropdownPanelComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: AXButtonComponent, optional: true }], target: i0.ɵɵFactoryTarget.Component });
|
|
5525
|
-
AXDropdownPanelComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: AXDropdownPanelComponent, selector: "ax-dropdown-panel", inputs: { isOpen: "isOpen", fitParent: "fitParent", dropdownWidth: "dropdownWidth", position: "position", items: "items" }, outputs: { onOpened: "onOpened", onClosed: "onClosed", onItemClick: "onItemClick" }, queries: [{ propertyName: "_contentButtons", predicate: AXButtonItemComponent }], viewQueries: [{ propertyName: "popover", first: true, predicate: AXPopoverComponent, descendants: true, static: true }, { propertyName: "_viewButtons", predicate: AXButtonItemComponent, descendants: true }], usesInheritance: true, ngImport: i0, template: "<ax-popover [target]=\"_target\" [position]=\"position\" [openTrigger]=\"'toggle'\" [closeTrigger]=\"'clickout'\">\r\n <div class=\"ax-overlay-pane\" [class.ax-dropdown-list]=\"_needBorder\" >\r\n <ng-container *ngIf=\"items && items.length;else panelTpl\">\r\n <ax-button-item [text]=\"item.text\" [color]=\"item.color\" *ngFor=\"let item of items\">\r\n <ax-prefix *ngIf=\"item.iconClass\">\r\n <ax-icon [icon]=\"item.iconClass\"></ax-icon>\r\n </ax-prefix>\r\n </ax-button-item>\r\n </ng-container>\r\n <ng-template #panelTpl>\r\n <ng-content select=\"[panel],ax-button-item\">\r\n </ng-content>\r\n </ng-template>\r\n </div>\r\n</ax-popover>", components: [{ type: AXPopoverComponent, selector: "ax-popover", inputs: ["target", "position", "openTrigger", "closeTrigger", "hasBackdrop", "backdropClass"], outputs: ["onOpened", "onClosed"] }, { type: AXButtonItemComponent, selector: "ax-button-item", inputs: ["text", "tooltip", "selected", "seperated", "name", "data", "color"] }, { type: AXDecoratorPrefixComponent, selector: "ax-prefix" }, { type:
|
|
5623
|
+
AXDropdownPanelComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: AXDropdownPanelComponent, selector: "ax-dropdown-panel", inputs: { isOpen: "isOpen", fitParent: "fitParent", dropdownWidth: "dropdownWidth", position: "position", items: "items" }, outputs: { onOpened: "onOpened", onClosed: "onClosed", onItemClick: "onItemClick" }, queries: [{ propertyName: "_contentButtons", predicate: AXButtonItemComponent }], viewQueries: [{ propertyName: "popover", first: true, predicate: AXPopoverComponent, descendants: true, static: true }, { propertyName: "_viewButtons", predicate: AXButtonItemComponent, descendants: true }], usesInheritance: true, ngImport: i0, template: "<ax-popover [target]=\"_target\" [position]=\"position\" [openTrigger]=\"'toggle'\" [closeTrigger]=\"'clickout'\" [adaptivityEnabled]=\"false\">\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", "adaptivityEnabled"], outputs: ["onOpened", "onClosed"] }, { type: AXButtonItemComponent, selector: "ax-button-item", inputs: ["text", "tooltip", "selected", "seperated", "name", "data", "color"] }, { type: AXDecoratorPrefixComponent, selector: "ax-prefix" }, { type: AXDecoratorIconComponent, selector: "ax-icon", inputs: ["icon"] }], directives: [{ type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1$1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
5526
5624
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXDropdownPanelComponent, decorators: [{
|
|
5527
5625
|
type: Component,
|
|
5528
|
-
args: [{ selector: 'ax-dropdown-panel', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, inputs: [...DROPDOWN_INPUTS], outputs: [...DROPDOWN_OUTPUT], 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>" }]
|
|
5626
|
+
args: [{ selector: 'ax-dropdown-panel', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, inputs: [...DROPDOWN_INPUTS], outputs: [...DROPDOWN_OUTPUT], template: "<ax-popover [target]=\"_target\" [position]=\"position\" [openTrigger]=\"'toggle'\" [closeTrigger]=\"'clickout'\" [adaptivityEnabled]=\"false\">\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>" }]
|
|
5529
5627
|
}], ctorParameters: function () {
|
|
5530
5628
|
return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: AXButtonComponent, decorators: [{
|
|
5531
5629
|
type: Optional
|
|
@@ -5548,12 +5646,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
|
|
|
5548
5646
|
class AXDropdownModule {
|
|
5549
5647
|
}
|
|
5550
5648
|
AXDropdownModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXDropdownModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
5551
|
-
AXDropdownModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXDropdownModule, declarations: [AXDropdownPanelComponent], imports: [CommonModule, AXButtonModule, OverlayModule,
|
|
5552
|
-
AXDropdownModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXDropdownModule, providers: [], imports: [[CommonModule, AXButtonModule, OverlayModule,
|
|
5649
|
+
AXDropdownModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXDropdownModule, declarations: [AXDropdownPanelComponent], imports: [CommonModule, AXButtonModule, OverlayModule, AXDecoratorModule, AXPopoverModule], exports: [AXDropdownPanelComponent] });
|
|
5650
|
+
AXDropdownModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXDropdownModule, providers: [], imports: [[CommonModule, AXButtonModule, OverlayModule, AXDecoratorModule, AXPopoverModule]] });
|
|
5553
5651
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXDropdownModule, decorators: [{
|
|
5554
5652
|
type: NgModule,
|
|
5555
5653
|
args: [{
|
|
5556
|
-
imports: [CommonModule, AXButtonModule, OverlayModule,
|
|
5654
|
+
imports: [CommonModule, AXButtonModule, OverlayModule, AXDecoratorModule, AXPopoverModule],
|
|
5557
5655
|
exports: [AXDropdownPanelComponent],
|
|
5558
5656
|
declarations: [AXDropdownPanelComponent],
|
|
5559
5657
|
providers: [],
|
|
@@ -5716,19 +5814,19 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
|
|
|
5716
5814
|
type: Input
|
|
5717
5815
|
}] } });
|
|
5718
5816
|
|
|
5719
|
-
const COMPONENT$
|
|
5720
|
-
const MODULES$
|
|
5817
|
+
const COMPONENT$c = [AXInputMaskComponent];
|
|
5818
|
+
const MODULES$c = [CommonModule, NgxMaskModule.forRoot(), IMaskModule];
|
|
5721
5819
|
class AXInputMaskModule {
|
|
5722
5820
|
}
|
|
5723
5821
|
AXInputMaskModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXInputMaskModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
5724
5822
|
AXInputMaskModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXInputMaskModule, declarations: [AXInputMaskComponent], imports: [CommonModule, i1$5.NgxMaskModule, IMaskModule], exports: [AXInputMaskComponent] });
|
|
5725
|
-
AXInputMaskModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXInputMaskModule, providers: [], imports: [[...MODULES$
|
|
5823
|
+
AXInputMaskModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXInputMaskModule, providers: [], imports: [[...MODULES$c]] });
|
|
5726
5824
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXInputMaskModule, decorators: [{
|
|
5727
5825
|
type: NgModule,
|
|
5728
5826
|
args: [{
|
|
5729
|
-
declarations: [...COMPONENT$
|
|
5730
|
-
imports: [...MODULES$
|
|
5731
|
-
exports: [...COMPONENT$
|
|
5827
|
+
declarations: [...COMPONENT$c],
|
|
5828
|
+
imports: [...MODULES$c],
|
|
5829
|
+
exports: [...COMPONENT$c],
|
|
5732
5830
|
providers: [],
|
|
5733
5831
|
}]
|
|
5734
5832
|
}] });
|
|
@@ -5754,19 +5852,19 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
|
|
|
5754
5852
|
type: Input
|
|
5755
5853
|
}] } });
|
|
5756
5854
|
|
|
5757
|
-
const COMPONENT$
|
|
5758
|
-
const MODULES$
|
|
5855
|
+
const COMPONENT$b = [AXLabelComponent];
|
|
5856
|
+
const MODULES$b = [CommonModule];
|
|
5759
5857
|
class AXLabelModule {
|
|
5760
5858
|
}
|
|
5761
5859
|
AXLabelModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXLabelModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
5762
5860
|
AXLabelModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXLabelModule, declarations: [AXLabelComponent], imports: [CommonModule], exports: [AXLabelComponent] });
|
|
5763
|
-
AXLabelModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXLabelModule, providers: [], imports: [[...MODULES$
|
|
5861
|
+
AXLabelModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXLabelModule, providers: [], imports: [[...MODULES$b]] });
|
|
5764
5862
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXLabelModule, decorators: [{
|
|
5765
5863
|
type: NgModule,
|
|
5766
5864
|
args: [{
|
|
5767
|
-
declarations: [...COMPONENT$
|
|
5768
|
-
imports: [...MODULES$
|
|
5769
|
-
exports: [...COMPONENT$
|
|
5865
|
+
declarations: [...COMPONENT$b],
|
|
5866
|
+
imports: [...MODULES$b],
|
|
5867
|
+
exports: [...COMPONENT$b],
|
|
5770
5868
|
providers: [],
|
|
5771
5869
|
}]
|
|
5772
5870
|
}] });
|
|
@@ -5797,12 +5895,23 @@ class AXMenuComponent extends AXBaseMenuMixin {
|
|
|
5797
5895
|
_onMenuClick(e, item) {
|
|
5798
5896
|
var _a, _b, _c;
|
|
5799
5897
|
if (!item[this.disableField] && this.openMode === 'click') {
|
|
5898
|
+
if (this.openMode === 'click' && this.direction === 'horizontal') {
|
|
5899
|
+
this.displayItems.forEach((element) => {
|
|
5900
|
+
if (element[this.valueField] != item[this.valueField] &&
|
|
5901
|
+
!item.parentId) {
|
|
5902
|
+
element.isOpen = false;
|
|
5903
|
+
}
|
|
5904
|
+
});
|
|
5905
|
+
}
|
|
5800
5906
|
this._notActive(this.displayItems);
|
|
5801
5907
|
if (((_a = item.children) === null || _a === void 0 ? void 0 : _a.length) > 0 || item[this.hasChildField]) {
|
|
5802
5908
|
if (((_b = item.children) === null || _b === void 0 ? void 0 : _b.length) > 0 && item[this.hasChildField]) {
|
|
5803
5909
|
item.children = [];
|
|
5804
5910
|
}
|
|
5805
5911
|
if (((_c = item.children) === null || _c === void 0 ? void 0 : _c.length) > 0) {
|
|
5912
|
+
if (this.openMode === 'click' && this.direction === 'horizontal') {
|
|
5913
|
+
this._setParentNode(item.children, item[this.valueField]);
|
|
5914
|
+
}
|
|
5806
5915
|
this._closeChild(item.children);
|
|
5807
5916
|
}
|
|
5808
5917
|
item.isOpen = !item.isOpen;
|
|
@@ -5814,7 +5923,7 @@ class AXMenuComponent extends AXBaseMenuMixin {
|
|
|
5814
5923
|
nativeEvent: e,
|
|
5815
5924
|
});
|
|
5816
5925
|
if (item.isOpen && item[this.hasChildField]) {
|
|
5817
|
-
this._fetchData(item.
|
|
5926
|
+
this._fetchData(item[this.valueField]);
|
|
5818
5927
|
}
|
|
5819
5928
|
}
|
|
5820
5929
|
e.stopPropagation();
|
|
@@ -5877,12 +5986,14 @@ class AXMenuComponent extends AXBaseMenuMixin {
|
|
|
5877
5986
|
}
|
|
5878
5987
|
item.isOpen = false;
|
|
5879
5988
|
}
|
|
5880
|
-
if (item.isOpen && item[this.hasChildField]) {
|
|
5881
|
-
this._fetchData(item.id);
|
|
5882
|
-
}
|
|
5883
5989
|
}
|
|
5884
5990
|
}
|
|
5885
5991
|
}
|
|
5992
|
+
_setParentNode(item, parentId) {
|
|
5993
|
+
item.forEach((element) => {
|
|
5994
|
+
element.parentId = parentId;
|
|
5995
|
+
});
|
|
5996
|
+
}
|
|
5886
5997
|
_getDirection() {
|
|
5887
5998
|
if (this.direction === 'horizontal') {
|
|
5888
5999
|
return 'horizontal-mode';
|
|
@@ -5893,7 +6004,7 @@ class AXMenuComponent extends AXBaseMenuMixin {
|
|
|
5893
6004
|
}
|
|
5894
6005
|
}
|
|
5895
6006
|
AXMenuComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXMenuComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
5896
|
-
AXMenuComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: AXMenuComponent, selector: "ax-menu", inputs: { disabled: "disabled", tabIndex: "tabIndex", textField: "textField", valueField: "valueField", items: "items", id: "id", parentId: "parentId", icon: "icon", tooltip: "tooltip", isOpen: "isOpen", isActive: "isActive", visibleField: "visibleField", disableField: "disableField", hasChildField: "hasChildField", openMode: "openMode", direction: "direction" }, outputs: { onBlur: "onBlur", onFocus: "onFocus" }, host: { classAttribute: "ax-menu" }, queries: [{ propertyName: "_contentEmptyTemplate", first: true, predicate: ["emptyTemplate"], descendants: true }], usesInheritance: true, ngImport: i0, template: "<ul [ngClass]=\"_getDirection()\">\r\n <ng-container *ngTemplateOutlet=\"recursiveListTmpl; context:{ list: displayItems }\"></ng-container>\r\n</ul>\r\n\r\n<ng-template #recursiveListTmpl let-list=\"list\">\r\n <ng-container *ngFor=\"let item of list; trackBy: _trackLoaded\">\r\n <li *ngIf=\"item[visibleField] !=false\" [class.ax-state-disabled]=\"item[disableField]\"\r\n (click)=\"_onMenuClick($event,item)\" (mouseenter)=\"_onMouseEnter($event,item)\"\r\n (mouseleave)=\"_onMouseLeave($event,item)\">\r\n <a [ngClass]=\"{'active': item.isActive}\">\r\n <div class=\"ax-menu-start-side\">\r\n <ax-icon [class]=\"item.icon || item[icon]\" *ngIf=\"item.icon || item[icon]\"></ax-icon>\r\n <span>{{_getItemDisplayTextTemplte(item)}}</span>\r\n </div>\r\n <div class=\"ax-menu-end-side\">\r\n <ax-icon [ngClass]=\"{'active-icon': item.isOpen}\"\r\n *ngIf=\"item?.children?.length > 0 && !isLoading || item[hasChildField] && !isLoading\" class=\"ax-ic-chevron\">\r\n </ax-icon>\r\n </div>\r\n <ax-loading *ngIf=\"isLoading && item.isActive && item.isOpen\">\r\n </ax-loading>\r\n </a>\r\n <ul [class.ax-state-disabled]=\"item[disableField]\" *ngIf=\"item?.children?.length > 0 && item.isOpen\">\r\n <ng-container *ngTemplateOutlet=\"recursiveListTmpl; context:{ list: item.children }\"></ng-container>\r\n </ul>\r\n </li>\r\n </ng-container>\r\n</ng-template>\r\n<ng-container *ngIf=\"isLoading\">\r\n <ng-template>\r\n <div class=\"ax-flex ax-items-center ax-justify-center ax-p-4\">\r\n <ax-loading text=\"{{ 'layout.loading.text' | trans }}\"></ax-loading>\r\n </div>\r\n </ng-template>\r\n</ng-container>\r\n<ng-template #tmpEmpty>\r\n <ng-container *ngIf=\"!isLoading\">\r\n <!--------------- check for custom template --------------->\r\n <ng-container *ngIf=\"emptyTemplate; else elseEmptyTemplate\">\r\n <ng-container *ngTemplateOutlet=\"emptyTemplate\">\r\n </ng-container>\r\n </ng-container>\r\n <ng-template #elseEmptyTemplate>\r\n <div class=\"ax-list-item\">\r\n {{ 'common.no-result-found' | trans }}\r\n </div>\r\n </ng-template>\r\n </ng-container>\r\n</ng-template>", components: [{ type:
|
|
6007
|
+
AXMenuComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: AXMenuComponent, selector: "ax-menu", inputs: { disabled: "disabled", tabIndex: "tabIndex", textField: "textField", valueField: "valueField", items: "items", id: "id", parentId: "parentId", icon: "icon", tooltip: "tooltip", isOpen: "isOpen", isActive: "isActive", visibleField: "visibleField", disableField: "disableField", hasChildField: "hasChildField", openMode: "openMode", direction: "direction" }, outputs: { onBlur: "onBlur", onFocus: "onFocus" }, host: { classAttribute: "ax-menu" }, queries: [{ propertyName: "_contentEmptyTemplate", first: true, predicate: ["emptyTemplate"], descendants: true }], usesInheritance: true, ngImport: i0, template: "<ul [ngClass]=\"_getDirection()\">\r\n <ng-container *ngTemplateOutlet=\"recursiveListTmpl; context:{ list: displayItems }\"></ng-container>\r\n</ul>\r\n\r\n<ng-template #recursiveListTmpl let-list=\"list\">\r\n <ng-container *ngFor=\"let item of list; trackBy: _trackLoaded\">\r\n <li *ngIf=\"item[visibleField] !=false\" [class.ax-state-disabled]=\"item[disableField]\"\r\n (click)=\"_onMenuClick($event,item)\" (mouseenter)=\"_onMouseEnter($event,item)\"\r\n (mouseleave)=\"_onMouseLeave($event,item)\">\r\n <a [ngClass]=\"{'active': item.isActive}\">\r\n <div class=\"ax-menu-start-side\">\r\n <ax-icon [class]=\"item.icon || item[icon]\" *ngIf=\"item.icon || item[icon]\"></ax-icon>\r\n <span>{{_getItemDisplayTextTemplte(item)}}</span>\r\n </div>\r\n <div class=\"ax-menu-end-side\">\r\n <ax-icon [ngClass]=\"{'active-icon': item.isOpen}\"\r\n *ngIf=\"item?.children?.length > 0 && !isLoading || item[hasChildField] && !isLoading\" class=\"ax-ic-chevron\">\r\n </ax-icon>\r\n </div>\r\n <ax-loading *ngIf=\"isLoading && item.isActive && item.isOpen\">\r\n </ax-loading>\r\n </a>\r\n <ul [class.ax-state-disabled]=\"item[disableField]\" *ngIf=\"item?.children?.length > 0 && item.isOpen\">\r\n <ng-container *ngTemplateOutlet=\"recursiveListTmpl; context:{ list: item.children }\"></ng-container>\r\n </ul>\r\n </li>\r\n </ng-container>\r\n</ng-template>\r\n<ng-container *ngIf=\"isLoading\">\r\n <ng-template>\r\n <div class=\"ax-flex ax-items-center ax-justify-center ax-p-4\">\r\n <ax-loading text=\"{{ 'layout.loading.text' | trans }}\"></ax-loading>\r\n </div>\r\n </ng-template>\r\n</ng-container>\r\n<ng-template #tmpEmpty>\r\n <ng-container *ngIf=\"!isLoading\">\r\n <!--------------- check for custom template --------------->\r\n <ng-container *ngIf=\"emptyTemplate; else elseEmptyTemplate\">\r\n <ng-container *ngTemplateOutlet=\"emptyTemplate\">\r\n </ng-container>\r\n </ng-container>\r\n <ng-template #elseEmptyTemplate>\r\n <div class=\"ax-list-item\">\r\n {{ 'common.no-result-found' | trans }}\r\n </div>\r\n </ng-template>\r\n </ng-container>\r\n</ng-template>", components: [{ type: AXDecoratorIconComponent, selector: "ax-icon", inputs: ["icon"] }, { type: AXLoadingComponent, selector: "ax-loading", inputs: ["visible", "type", "text"], outputs: ["visibleChange"] }], directives: [{ type: i1$1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i1$1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }, { type: i1$1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], pipes: { "trans": i1$4.AXTranslatorPipe }, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
5897
6008
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXMenuComponent, decorators: [{
|
|
5898
6009
|
type: Component,
|
|
5899
6010
|
args: [{ selector: 'ax-menu', inputs: [...INTERACTIVE_INPUTS, ...BASEMENU_INPUTS], outputs: [...INTERACTIVE_OUTPUT], changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, host: { class: 'ax-menu' }, template: "<ul [ngClass]=\"_getDirection()\">\r\n <ng-container *ngTemplateOutlet=\"recursiveListTmpl; context:{ list: displayItems }\"></ng-container>\r\n</ul>\r\n\r\n<ng-template #recursiveListTmpl let-list=\"list\">\r\n <ng-container *ngFor=\"let item of list; trackBy: _trackLoaded\">\r\n <li *ngIf=\"item[visibleField] !=false\" [class.ax-state-disabled]=\"item[disableField]\"\r\n (click)=\"_onMenuClick($event,item)\" (mouseenter)=\"_onMouseEnter($event,item)\"\r\n (mouseleave)=\"_onMouseLeave($event,item)\">\r\n <a [ngClass]=\"{'active': item.isActive}\">\r\n <div class=\"ax-menu-start-side\">\r\n <ax-icon [class]=\"item.icon || item[icon]\" *ngIf=\"item.icon || item[icon]\"></ax-icon>\r\n <span>{{_getItemDisplayTextTemplte(item)}}</span>\r\n </div>\r\n <div class=\"ax-menu-end-side\">\r\n <ax-icon [ngClass]=\"{'active-icon': item.isOpen}\"\r\n *ngIf=\"item?.children?.length > 0 && !isLoading || item[hasChildField] && !isLoading\" class=\"ax-ic-chevron\">\r\n </ax-icon>\r\n </div>\r\n <ax-loading *ngIf=\"isLoading && item.isActive && item.isOpen\">\r\n </ax-loading>\r\n </a>\r\n <ul [class.ax-state-disabled]=\"item[disableField]\" *ngIf=\"item?.children?.length > 0 && item.isOpen\">\r\n <ng-container *ngTemplateOutlet=\"recursiveListTmpl; context:{ list: item.children }\"></ng-container>\r\n </ul>\r\n </li>\r\n </ng-container>\r\n</ng-template>\r\n<ng-container *ngIf=\"isLoading\">\r\n <ng-template>\r\n <div class=\"ax-flex ax-items-center ax-justify-center ax-p-4\">\r\n <ax-loading text=\"{{ 'layout.loading.text' | trans }}\"></ax-loading>\r\n </div>\r\n </ng-template>\r\n</ng-container>\r\n<ng-template #tmpEmpty>\r\n <ng-container *ngIf=\"!isLoading\">\r\n <!--------------- check for custom template --------------->\r\n <ng-container *ngIf=\"emptyTemplate; else elseEmptyTemplate\">\r\n <ng-container *ngTemplateOutlet=\"emptyTemplate\">\r\n </ng-container>\r\n </ng-container>\r\n <ng-template #elseEmptyTemplate>\r\n <div class=\"ax-list-item\">\r\n {{ 'common.no-result-found' | trans }}\r\n </div>\r\n </ng-template>\r\n </ng-container>\r\n</ng-template>" }]
|
|
@@ -5902,18 +6013,16 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
|
|
|
5902
6013
|
args: ['emptyTemplate']
|
|
5903
6014
|
}] } });
|
|
5904
6015
|
|
|
5905
|
-
const COMPONENT$
|
|
5906
|
-
const MODULES$
|
|
6016
|
+
const COMPONENT$a = [AXMenuComponent];
|
|
6017
|
+
const MODULES$a = [CommonModule, AXDecoratorModule];
|
|
5907
6018
|
class AXMenuModule {
|
|
5908
6019
|
}
|
|
5909
6020
|
AXMenuModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXMenuModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
5910
|
-
AXMenuModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXMenuModule, declarations: [AXMenuComponent], imports: [CommonModule,
|
|
5911
|
-
AXLoadingModule,
|
|
6021
|
+
AXMenuModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXMenuModule, declarations: [AXMenuComponent], imports: [CommonModule, AXDecoratorModule, AXLoadingModule,
|
|
5912
6022
|
AXTranslationModule,
|
|
5913
6023
|
AXPopoverModule], exports: [AXMenuComponent] });
|
|
5914
6024
|
AXMenuModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXMenuModule, providers: [], imports: [[
|
|
5915
|
-
...MODULES$
|
|
5916
|
-
AXIconModule,
|
|
6025
|
+
...MODULES$a,
|
|
5917
6026
|
AXLoadingModule,
|
|
5918
6027
|
AXTranslationModule,
|
|
5919
6028
|
AXPopoverModule,
|
|
@@ -5921,15 +6030,14 @@ AXMenuModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
|
5921
6030
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXMenuModule, decorators: [{
|
|
5922
6031
|
type: NgModule,
|
|
5923
6032
|
args: [{
|
|
5924
|
-
declarations: [...COMPONENT$
|
|
6033
|
+
declarations: [...COMPONENT$a],
|
|
5925
6034
|
imports: [
|
|
5926
|
-
...MODULES$
|
|
5927
|
-
AXIconModule,
|
|
6035
|
+
...MODULES$a,
|
|
5928
6036
|
AXLoadingModule,
|
|
5929
6037
|
AXTranslationModule,
|
|
5930
6038
|
AXPopoverModule,
|
|
5931
6039
|
],
|
|
5932
|
-
exports: [...COMPONENT$
|
|
6040
|
+
exports: [...COMPONENT$a],
|
|
5933
6041
|
providers: [],
|
|
5934
6042
|
}]
|
|
5935
6043
|
}] });
|
|
@@ -6105,7 +6213,7 @@ class AXNumberBoxComponent extends AXBaseTextBoxMixin {
|
|
|
6105
6213
|
}
|
|
6106
6214
|
}
|
|
6107
6215
|
AXNumberBoxComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXNumberBoxComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
6108
|
-
AXNumberBoxComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", 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", type: "type", autoComplete: "autoComplete", name: "name", checked: "checked", thousandsSeparator: "thousandsSeparator", padDecimalZeros: "padDecimalZeros", step: "step", decimals: "decimals", decimalStep: "decimalStep", showSpinButtons: "showSpinButtons", minValue: "minValue", maxValue: "maxValue" }, outputs: { valueChange: "valueChange", onValueChanged: "onValueChanged", onBlur: "onBlur", onFocus: "onFocus" }, host: { classAttribute: "ax-editor-container" }, viewQueries: [{ propertyName: "_maskDirective", first: true, predicate: IMaskDirective, descendants: true }], usesInheritance: true, ngImport: i0, template: "<ng-content select=\"ax-prefix\">\r\n</ng-content>\r\n<input class=\"ax-input\" type=\"text\" \r\n [attr.placeholder]=\"placeholder\" \r\n [imask]=\"_maskObj\" \r\n [unmask]=\"'typed'\"\r\n [attr.min]=\"minValue\"\r\n [attr.max]=\"maxValue\" \r\n [class.ax-state-disabled]=\"disabled\" \r\n [class.ax-state-readonly]=\"readonly\"\r\n [disabled]=\"disabled\" \r\n [readonly]=\"readonly\" \r\n [tabindex]=\"tabIndex\" \r\n [(ngModel)]=\"value\"\r\n (focus)=\"_emitOnFocusEvent($event)\" \r\n (blur)=\"_emitOnFocusEvent($event)\" \r\n (keydown)=\"_handleOnKeydownEvent($event)\"\r\n [attr.autocomplete]=\"autoComplete\">\r\n\r\n<div class=\"ax-number-box-arrows\" *ngIf=\"showSpinButtons && !(disabled || readonly)\">\r\n <ax-button color=\"light\" look=\"blank\" (onClick)=\"_handleUpDownClick($event,1)\">\r\n <ax-prefix>\r\n <ax-icon class=\"ax-ic-arrow-fill ax-rotate-90\">\r\n </ax-icon>\r\n </ax-prefix>\r\n </ax-button>\r\n <ax-button color=\"light\" look=\"blank\" (onClick)=\"_handleUpDownClick($event,-1)\">\r\n <ax-prefix>\r\n <ax-icon class=\"ax-ic-arrow-fill ax--rotate-90\">\r\n </ax-icon>\r\n </ax-prefix>\r\n </ax-button>\r\n</div>\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", "color", "look", "text", "submitBehavior", "cancelBehavior", "toggleable", "selected"], outputs: ["onBlur", "onFocus", "onClick", "selectedChange", "toggleableChange"] }, { type: AXDecoratorPrefixComponent, selector: "ax-prefix" }, { type:
|
|
6216
|
+
AXNumberBoxComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", 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", type: "type", autoComplete: "autoComplete", name: "name", checked: "checked", thousandsSeparator: "thousandsSeparator", padDecimalZeros: "padDecimalZeros", step: "step", decimals: "decimals", decimalStep: "decimalStep", showSpinButtons: "showSpinButtons", minValue: "minValue", maxValue: "maxValue" }, outputs: { valueChange: "valueChange", onValueChanged: "onValueChanged", onBlur: "onBlur", onFocus: "onFocus" }, host: { classAttribute: "ax-editor-container" }, viewQueries: [{ propertyName: "_maskDirective", first: true, predicate: IMaskDirective, descendants: true }], usesInheritance: true, ngImport: i0, template: "<ng-content select=\"ax-prefix\">\r\n</ng-content>\r\n<input class=\"ax-input\" type=\"text\" \r\n [attr.placeholder]=\"placeholder\" \r\n [imask]=\"_maskObj\" \r\n [unmask]=\"'typed'\"\r\n [attr.min]=\"minValue\"\r\n [attr.max]=\"maxValue\" \r\n [class.ax-state-disabled]=\"disabled\" \r\n [class.ax-state-readonly]=\"readonly\"\r\n [disabled]=\"disabled\" \r\n [readonly]=\"readonly\" \r\n [tabindex]=\"tabIndex\" \r\n [(ngModel)]=\"value\"\r\n (focus)=\"_emitOnFocusEvent($event)\" \r\n (blur)=\"_emitOnFocusEvent($event)\" \r\n (keydown)=\"_handleOnKeydownEvent($event)\"\r\n [attr.autocomplete]=\"autoComplete\">\r\n\r\n<div class=\"ax-number-box-arrows\" *ngIf=\"showSpinButtons && !(disabled || readonly)\">\r\n <ax-button color=\"light\" look=\"blank\" (onClick)=\"_handleUpDownClick($event,1)\">\r\n <ax-prefix>\r\n <ax-icon class=\"ax-ic-arrow-fill ax-rotate-90\">\r\n </ax-icon>\r\n </ax-prefix>\r\n </ax-button>\r\n <ax-button color=\"light\" look=\"blank\" (onClick)=\"_handleUpDownClick($event,-1)\">\r\n <ax-prefix>\r\n <ax-icon class=\"ax-ic-arrow-fill ax--rotate-90\">\r\n </ax-icon>\r\n </ax-prefix>\r\n </ax-button>\r\n</div>\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", "color", "look", "text", "submitBehavior", "cancelBehavior", "toggleable", "selected"], outputs: ["onBlur", "onFocus", "onClick", "selectedChange", "toggleableChange"] }, { type: AXDecoratorPrefixComponent, selector: "ax-prefix" }, { type: AXDecoratorIconComponent, selector: "ax-icon", inputs: ["icon"] }], directives: [{ type: i1$2.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: i5.IMaskDirective, selector: "[imask]", inputs: ["imask", "unmask", "imaskElement"], outputs: ["accept", "complete"], exportAs: ["imask"] }, { type: i1$2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i1$2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
6109
6217
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXNumberBoxComponent, decorators: [{
|
|
6110
6218
|
type: Component,
|
|
6111
6219
|
args: [{ selector: 'ax-number-box', inputs: [
|
|
@@ -6143,13 +6251,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
|
|
|
6143
6251
|
args: [IMaskDirective]
|
|
6144
6252
|
}] } });
|
|
6145
6253
|
|
|
6146
|
-
const COMPONENT$
|
|
6147
|
-
const MODULES$
|
|
6254
|
+
const COMPONENT$9 = [AXNumberBoxComponent];
|
|
6255
|
+
const MODULES$9 = [
|
|
6148
6256
|
CommonModule,
|
|
6149
6257
|
FormsModule,
|
|
6150
6258
|
AXButtonModule,
|
|
6151
|
-
|
|
6152
|
-
AXIconModule,
|
|
6259
|
+
AXDecoratorModule,
|
|
6153
6260
|
IMaskModule
|
|
6154
6261
|
];
|
|
6155
6262
|
class AXNumberBoxModule {
|
|
@@ -6158,16 +6265,15 @@ AXNumberBoxModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", versio
|
|
|
6158
6265
|
AXNumberBoxModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXNumberBoxModule, declarations: [AXNumberBoxComponent], imports: [CommonModule,
|
|
6159
6266
|
FormsModule,
|
|
6160
6267
|
AXButtonModule,
|
|
6161
|
-
|
|
6162
|
-
AXIconModule,
|
|
6268
|
+
AXDecoratorModule,
|
|
6163
6269
|
IMaskModule], exports: [AXNumberBoxComponent] });
|
|
6164
|
-
AXNumberBoxModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXNumberBoxModule, providers: [], imports: [[...MODULES$
|
|
6270
|
+
AXNumberBoxModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXNumberBoxModule, providers: [], imports: [[...MODULES$9]] });
|
|
6165
6271
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXNumberBoxModule, decorators: [{
|
|
6166
6272
|
type: NgModule,
|
|
6167
6273
|
args: [{
|
|
6168
|
-
declarations: [...COMPONENT$
|
|
6169
|
-
imports: [...MODULES$
|
|
6170
|
-
exports: [...COMPONENT$
|
|
6274
|
+
declarations: [...COMPONENT$9],
|
|
6275
|
+
imports: [...MODULES$9],
|
|
6276
|
+
exports: [...COMPONENT$9],
|
|
6171
6277
|
providers: [],
|
|
6172
6278
|
}]
|
|
6173
6279
|
}] });
|
|
@@ -6202,7 +6308,7 @@ class AXPasswordBoxComponent extends AXBaseTextBoxMixin {
|
|
|
6202
6308
|
}
|
|
6203
6309
|
}
|
|
6204
6310
|
AXPasswordBoxComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXPasswordBoxComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
6205
|
-
AXPasswordBoxComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", 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", type: "type", autoComplete: "autoComplete", value: "value", name: "name", checked: "checked", showToggleButton: "showToggleButton" }, outputs: { valueChange: "valueChange", onValueChanged: "onValueChanged", onBlur: "onBlur", onFocus: "onFocus" }, host: { classAttribute: "ax-password-box ax-editor-container" }, usesInheritance: true, ngImport: i0, template: "<ng-content select=\"ax-prefix\">\r\n</ng-content>\r\n<input class=\"ax-input\" [attr.name]=\"name\" [type]=\"_type\" [attr.placeholder]=\"placeholder\" [attr.maxlength]=\"maxLength\" [class.ax-state-disabled]=\"disabled\" [class.ax-state-readonly]=\"readonly\" [disabled]=\"disabled\" [readonly]=\"readonly\" [tabindex]=\"tabIndex\"\r\n [(ngModel)]=\"value\" (focus)=\"_emitOnFocusEvent($event)\" (blur)=\"_emitOnBlurEvent($event)\" [attr.autocomplete]=\"autoComplete\">\r\n\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", "color", "look", "text", "submitBehavior", "cancelBehavior", "toggleable", "selected"], outputs: ["onBlur", "onFocus", "onClick", "selectedChange", "toggleableChange"] }, { type:
|
|
6311
|
+
AXPasswordBoxComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", 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", type: "type", autoComplete: "autoComplete", value: "value", name: "name", checked: "checked", showToggleButton: "showToggleButton" }, outputs: { valueChange: "valueChange", onValueChanged: "onValueChanged", onBlur: "onBlur", onFocus: "onFocus" }, host: { classAttribute: "ax-password-box ax-editor-container" }, usesInheritance: true, ngImport: i0, template: "<ng-content select=\"ax-prefix\">\r\n</ng-content>\r\n<input class=\"ax-input\" [attr.name]=\"name\" [type]=\"_type\" [attr.placeholder]=\"placeholder\" [attr.maxlength]=\"maxLength\" [class.ax-state-disabled]=\"disabled\" [class.ax-state-readonly]=\"readonly\" [disabled]=\"disabled\" [readonly]=\"readonly\" [tabindex]=\"tabIndex\"\r\n [(ngModel)]=\"value\" (focus)=\"_emitOnFocusEvent($event)\" (blur)=\"_emitOnBlurEvent($event)\" [attr.autocomplete]=\"autoComplete\">\r\n\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", "color", "look", "text", "submitBehavior", "cancelBehavior", "toggleable", "selected"], outputs: ["onBlur", "onFocus", "onClick", "selectedChange", "toggleableChange"] }, { type: AXDecoratorIconComponent, selector: "ax-icon", inputs: ["icon"] }], directives: [{ type: i1$2.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { type: i1$2.MaxLengthValidator, selector: "[maxlength][formControlName],[maxlength][formControl],[maxlength][ngModel]", inputs: ["maxlength"] }, { type: i1$2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i1$2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
6206
6312
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXPasswordBoxComponent, decorators: [{
|
|
6207
6313
|
type: Component,
|
|
6208
6314
|
args: [{ selector: 'ax-password-box', inputs: [
|
|
@@ -6223,13 +6329,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
|
|
|
6223
6329
|
type: Input
|
|
6224
6330
|
}] } });
|
|
6225
6331
|
|
|
6226
|
-
const COMPONENT$
|
|
6227
|
-
const MODULES$
|
|
6332
|
+
const COMPONENT$8 = [AXPasswordBoxComponent];
|
|
6333
|
+
const MODULES$8 = [
|
|
6228
6334
|
CommonModule,
|
|
6229
6335
|
FormsModule,
|
|
6230
6336
|
AXButtonModule,
|
|
6231
|
-
|
|
6232
|
-
AXIconModule
|
|
6337
|
+
AXDecoratorModule,
|
|
6233
6338
|
];
|
|
6234
6339
|
class AXPasswordBoxModule {
|
|
6235
6340
|
}
|
|
@@ -6237,15 +6342,14 @@ AXPasswordBoxModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", vers
|
|
|
6237
6342
|
AXPasswordBoxModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXPasswordBoxModule, declarations: [AXPasswordBoxComponent], imports: [CommonModule,
|
|
6238
6343
|
FormsModule,
|
|
6239
6344
|
AXButtonModule,
|
|
6240
|
-
|
|
6241
|
-
|
|
6242
|
-
AXPasswordBoxModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXPasswordBoxModule, providers: [], imports: [[...MODULES$7]] });
|
|
6345
|
+
AXDecoratorModule], exports: [AXPasswordBoxComponent] });
|
|
6346
|
+
AXPasswordBoxModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXPasswordBoxModule, providers: [], imports: [[...MODULES$8]] });
|
|
6243
6347
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXPasswordBoxModule, decorators: [{
|
|
6244
6348
|
type: NgModule,
|
|
6245
6349
|
args: [{
|
|
6246
|
-
declarations: [...COMPONENT$
|
|
6247
|
-
imports: [...MODULES$
|
|
6248
|
-
exports: [...COMPONENT$
|
|
6350
|
+
declarations: [...COMPONENT$8],
|
|
6351
|
+
imports: [...MODULES$8],
|
|
6352
|
+
exports: [...COMPONENT$8],
|
|
6249
6353
|
providers: [],
|
|
6250
6354
|
}]
|
|
6251
6355
|
}] });
|
|
@@ -6313,8 +6417,8 @@ class AXPopupComponent extends AXBaseComponentMixin {
|
|
|
6313
6417
|
const main = this._getHostElement().querySelector('.ax-popup-main-container');
|
|
6314
6418
|
const popHeader = this._getHostElement().querySelector('.ax-popup-header-container');
|
|
6315
6419
|
const popFooter = this._getHostElement().querySelector('.ax-popup-footer-container');
|
|
6316
|
-
const footer = main.querySelector('ax-
|
|
6317
|
-
const header = main.querySelector('ax-
|
|
6420
|
+
const footer = main.querySelector('ax-footer');
|
|
6421
|
+
const header = main.querySelector('ax-header');
|
|
6318
6422
|
if (footer) {
|
|
6319
6423
|
popFooter.append(footer);
|
|
6320
6424
|
}
|
|
@@ -6352,10 +6456,10 @@ class AXPopupComponent extends AXBaseComponentMixin {
|
|
|
6352
6456
|
onFullScreen() { }
|
|
6353
6457
|
}
|
|
6354
6458
|
AXPopupComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXPopupComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: i0.NgZone }, { token: i0.ViewContainerRef }, { token: AXLoadingService }, { token: i1$4.AXPlatform }], target: i0.ɵɵFactoryTarget.Component });
|
|
6355
|
-
AXPopupComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: AXPopupComponent, selector: "ax-popup", host: { listeners: { "keydown.escape": "onKeydownHandler($event)" } }, usesInheritance: true, ngImport: i0, template: "<div class=\"ax-popup-wrapper\" aria-modal=\"true\"
|
|
6459
|
+
AXPopupComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: AXPopupComponent, selector: "ax-popup", host: { listeners: { "keydown.escape": "onKeydownHandler($event)" } }, providers: [{ provide: AXClosbaleComponent, useExisting: AXPopupComponent }], usesInheritance: true, ngImport: i0, template: "<div class=\"ax-popup-wrapper\" aria-modal=\"true\" [cdkTrapFocus]=\"true\">\r\n <div class=\"ax-popup ax-popup-{{size}}\" tabindex=\"0\" cdkDrag [cdkDragDisabled]=\"!draggable\">\r\n <div cdkDragHandle class=\"ax-popup-header-container\">\r\n <ax-header *ngIf=\"showHeader\">\r\n <ax-title [text]=\"title\"></ax-title>\r\n <ax-close-button *ngIf=\"showCloseButton\"></ax-close-button>\r\n </ax-header>\r\n </div>\r\n <div class=\"ax-popup-main-container\">\r\n <ng-template [cdkPortalOutlet]=\"_selectedPortal\" (attached)=\"_handleAttched($event)\"></ng-template>\r\n </div>\r\n <div class=\"ax-popup-footer-container\"></div>\r\n </div>\r\n</div>", components: [{ type: AXDecoratorHeaderComponent, selector: "ax-header" }, { type: AXDecoratorTitleComponent, selector: "ax-title", inputs: ["text"] }, { type: AXDecoratorCloseButtonComponent, selector: "ax-close-button", inputs: ["icon"] }], directives: [{ type: i2$1.CdkTrapFocus, selector: "[cdkTrapFocus]", inputs: ["cdkTrapFocus", "cdkTrapFocusAutoCapture"], exportAs: ["cdkTrapFocus"] }, { type: i3.CdkDrag, selector: "[cdkDrag]", inputs: ["cdkDragData", "cdkDragLockAxis", "cdkDragRootElement", "cdkDragBoundary", "cdkDragStartDelay", "cdkDragFreeDragPosition", "cdkDragDisabled", "cdkDragConstrainPosition", "cdkDragPreviewClass", "cdkDragPreviewContainer"], outputs: ["cdkDragStarted", "cdkDragReleased", "cdkDragEnded", "cdkDragEntered", "cdkDragExited", "cdkDragDropped", "cdkDragMoved"], exportAs: ["cdkDrag"] }, { type: i3.CdkDragHandle, selector: "[cdkDragHandle]", inputs: ["cdkDragHandleDisabled"] }, { type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1$3.CdkPortalOutlet, selector: "[cdkPortalOutlet]", inputs: ["cdkPortalOutlet"], outputs: ["attached"], exportAs: ["cdkPortalOutlet"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
6356
6460
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXPopupComponent, decorators: [{
|
|
6357
6461
|
type: Component,
|
|
6358
|
-
args: [{ selector: 'ax-popup', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, template: "<div class=\"ax-popup-wrapper\" aria-modal=\"true\"
|
|
6462
|
+
args: [{ selector: 'ax-popup', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, providers: [{ provide: AXClosbaleComponent, useExisting: AXPopupComponent }], template: "<div class=\"ax-popup-wrapper\" aria-modal=\"true\" [cdkTrapFocus]=\"true\">\r\n <div class=\"ax-popup ax-popup-{{size}}\" tabindex=\"0\" cdkDrag [cdkDragDisabled]=\"!draggable\">\r\n <div cdkDragHandle class=\"ax-popup-header-container\">\r\n <ax-header *ngIf=\"showHeader\">\r\n <ax-title [text]=\"title\"></ax-title>\r\n <ax-close-button *ngIf=\"showCloseButton\"></ax-close-button>\r\n </ax-header>\r\n </div>\r\n <div class=\"ax-popup-main-container\">\r\n <ng-template [cdkPortalOutlet]=\"_selectedPortal\" (attached)=\"_handleAttched($event)\"></ng-template>\r\n </div>\r\n <div class=\"ax-popup-footer-container\"></div>\r\n </div>\r\n</div>" }]
|
|
6359
6463
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: i0.NgZone }, { type: i0.ViewContainerRef }, { type: AXLoadingService }, { type: i1$4.AXPlatform }]; }, propDecorators: { onKeydownHandler: [{
|
|
6360
6464
|
type: HostListener,
|
|
6361
6465
|
args: ['keydown.escape', ['$event']]
|
|
@@ -6452,19 +6556,19 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
|
|
|
6452
6556
|
args: [{ providedIn: 'root' }]
|
|
6453
6557
|
}], ctorParameters: function () { return [{ type: AXOverlayService }]; } });
|
|
6454
6558
|
|
|
6455
|
-
const COMPONENT$
|
|
6456
|
-
const MODULES$
|
|
6559
|
+
const COMPONENT$7 = [AXPopupComponent];
|
|
6560
|
+
const MODULES$7 = [CommonModule, DragDropModule, A11yModule, AXButtonModule, PortalModule, AXDecoratorModule];
|
|
6457
6561
|
class AXPopupModule {
|
|
6458
6562
|
}
|
|
6459
6563
|
AXPopupModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXPopupModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
6460
|
-
AXPopupModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXPopupModule, declarations: [AXPopupComponent], imports: [CommonModule, DragDropModule, A11yModule, AXButtonModule, PortalModule], exports: [AXPopupComponent] });
|
|
6461
|
-
AXPopupModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXPopupModule, providers: [], imports: [[...MODULES$
|
|
6564
|
+
AXPopupModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXPopupModule, declarations: [AXPopupComponent], imports: [CommonModule, DragDropModule, A11yModule, AXButtonModule, PortalModule, AXDecoratorModule], exports: [AXPopupComponent] });
|
|
6565
|
+
AXPopupModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXPopupModule, providers: [], imports: [[...MODULES$7]] });
|
|
6462
6566
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXPopupModule, decorators: [{
|
|
6463
6567
|
type: NgModule,
|
|
6464
6568
|
args: [{
|
|
6465
|
-
declarations: [...COMPONENT$
|
|
6466
|
-
imports: [...MODULES$
|
|
6467
|
-
exports: [...COMPONENT$
|
|
6569
|
+
declarations: [...COMPONENT$7],
|
|
6570
|
+
imports: [...MODULES$7],
|
|
6571
|
+
exports: [...COMPONENT$7],
|
|
6468
6572
|
providers: [],
|
|
6469
6573
|
}]
|
|
6470
6574
|
}] });
|
|
@@ -6536,25 +6640,25 @@ class AXRadioComponent extends AXBaseValueComponentMixin {
|
|
|
6536
6640
|
}
|
|
6537
6641
|
}
|
|
6538
6642
|
AXRadioComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXRadioComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
6539
|
-
AXRadioComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: AXRadioComponent, selector: "ax-radio", inputs: { disabled: "disabled", tabIndex: "tabIndex", readonly: "readonly", allowNull: "allowNull", value: "value", debounceTime: "debounceTime", name: "name", checked: "checked" }, outputs: { onBlur: "onBlur", onFocus: "onFocus", valueChange: "valueChange", onValueChanged: "onValueChanged" }, host: { classAttribute: "ax-radio" }, usesInheritance: true, ngImport: i0, template: "<div class=\"ax-flex ax-items-start\">\
|
|
6643
|
+
AXRadioComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: AXRadioComponent, selector: "ax-radio", inputs: { disabled: "disabled", tabIndex: "tabIndex", readonly: "readonly", allowNull: "allowNull", value: "value", debounceTime: "debounceTime", name: "name", checked: "checked" }, outputs: { onBlur: "onBlur", onFocus: "onFocus", valueChange: "valueChange", onValueChanged: "onValueChanged" }, host: { classAttribute: "ax-radio" }, usesInheritance: true, ngImport: i0, template: "<div class=\"ax-flex ax-items-start\">\n <div class=\"ax-flex ax-items-center ax-h-5\">\n <input [id]=\"id\" class=\"ax-radio\" type=\"radio\" [(ngModel)]=\"value\" [checked]=\"value\" [disabled]=\"disabled\" [readonly]=\"readonly\" [tabindex]=\"tabIndex\" (click)=\"_handleOnClickEvent($event)\" (focus)=\"_emitOnFocusEvent($event)\"\n (blur)=\"_emitOnBlurEvent($event)\">\n </div>\n <div class=\"ax-ms-3 ax-text-sm\">\n <ng-content select=\"ax-label\"></ng-content>\n <ng-content select=\"ax-form-hint\"></ng-content>\n </div>\n</div>\n<ng-content select=\"ax-validation-rule\"></ng-content>", directives: [{ type: i1$2.RadioControlValueAccessor, selector: "input[type=radio][formControlName],input[type=radio][formControl],input[type=radio][ngModel]", inputs: ["name", "formControlName", "value"] }, { type: i1$2.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { type: i1$2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i1$2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
6540
6644
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXRadioComponent, decorators: [{
|
|
6541
6645
|
type: Component,
|
|
6542
|
-
args: [{ selector: 'ax-radio', inputs: [...INTERACTIVE_INPUTS, ...VALUE_INPUTS], outputs: [...INTERACTIVE_OUTPUT, ...VALUE_OUTPUT], changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, host: { class: 'ax-radio' }, template: "<div class=\"ax-flex ax-items-start\">\
|
|
6646
|
+
args: [{ selector: 'ax-radio', inputs: [...INTERACTIVE_INPUTS, ...VALUE_INPUTS], outputs: [...INTERACTIVE_OUTPUT, ...VALUE_OUTPUT], changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, host: { class: 'ax-radio' }, template: "<div class=\"ax-flex ax-items-start\">\n <div class=\"ax-flex ax-items-center ax-h-5\">\n <input [id]=\"id\" class=\"ax-radio\" type=\"radio\" [(ngModel)]=\"value\" [checked]=\"value\" [disabled]=\"disabled\" [readonly]=\"readonly\" [tabindex]=\"tabIndex\" (click)=\"_handleOnClickEvent($event)\" (focus)=\"_emitOnFocusEvent($event)\"\n (blur)=\"_emitOnBlurEvent($event)\">\n </div>\n <div class=\"ax-ms-3 ax-text-sm\">\n <ng-content select=\"ax-label\"></ng-content>\n <ng-content select=\"ax-form-hint\"></ng-content>\n </div>\n</div>\n<ng-content select=\"ax-validation-rule\"></ng-content>" }]
|
|
6543
6647
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; } });
|
|
6544
6648
|
|
|
6545
|
-
const COMPONENT$
|
|
6546
|
-
const MODULES$
|
|
6649
|
+
const COMPONENT$6 = [AXRadioComponent];
|
|
6650
|
+
const MODULES$6 = [CommonModule, FormsModule];
|
|
6547
6651
|
class AXRadioModule {
|
|
6548
6652
|
}
|
|
6549
6653
|
AXRadioModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXRadioModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
6550
6654
|
AXRadioModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXRadioModule, declarations: [AXRadioComponent], imports: [CommonModule, FormsModule], exports: [AXRadioComponent] });
|
|
6551
|
-
AXRadioModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXRadioModule, providers: [], imports: [[...MODULES$
|
|
6655
|
+
AXRadioModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXRadioModule, providers: [], imports: [[...MODULES$6]] });
|
|
6552
6656
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXRadioModule, decorators: [{
|
|
6553
6657
|
type: NgModule,
|
|
6554
6658
|
args: [{
|
|
6555
|
-
declarations: [...COMPONENT$
|
|
6556
|
-
imports: [...MODULES$
|
|
6557
|
-
exports: [...COMPONENT$
|
|
6659
|
+
declarations: [...COMPONENT$6],
|
|
6660
|
+
imports: [...MODULES$6],
|
|
6661
|
+
exports: [...COMPONENT$6],
|
|
6558
6662
|
providers: [],
|
|
6559
6663
|
}]
|
|
6560
6664
|
}] });
|
|
@@ -6572,19 +6676,19 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
|
|
|
6572
6676
|
args: [{ selector: 'ax-range-slider', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, host: { class: 'ax-range-slider' }, template: "<input type=\"range\" min=\"1\" max=\"100\" value=\"50\" class=\"ax-range-slider-input\">" }]
|
|
6573
6677
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; } });
|
|
6574
6678
|
|
|
6575
|
-
const COMPONENT$
|
|
6576
|
-
const MODULES$
|
|
6679
|
+
const COMPONENT$5 = [AXRangeSliderComponent];
|
|
6680
|
+
const MODULES$5 = [CommonModule];
|
|
6577
6681
|
class AXRangeSliderModule {
|
|
6578
6682
|
}
|
|
6579
6683
|
AXRangeSliderModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXRangeSliderModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
6580
6684
|
AXRangeSliderModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXRangeSliderModule, declarations: [AXRangeSliderComponent], imports: [CommonModule], exports: [AXRangeSliderComponent] });
|
|
6581
|
-
AXRangeSliderModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXRangeSliderModule, providers: [], imports: [[...MODULES$
|
|
6685
|
+
AXRangeSliderModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXRangeSliderModule, providers: [], imports: [[...MODULES$5]] });
|
|
6582
6686
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXRangeSliderModule, decorators: [{
|
|
6583
6687
|
type: NgModule,
|
|
6584
6688
|
args: [{
|
|
6585
|
-
declarations: [...COMPONENT$
|
|
6586
|
-
imports: [...MODULES$
|
|
6587
|
-
exports: [...COMPONENT$
|
|
6689
|
+
declarations: [...COMPONENT$5],
|
|
6690
|
+
imports: [...MODULES$5],
|
|
6691
|
+
exports: [...COMPONENT$5],
|
|
6588
6692
|
providers: [],
|
|
6589
6693
|
}]
|
|
6590
6694
|
}] });
|
|
@@ -6676,6 +6780,64 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
|
|
|
6676
6780
|
}]
|
|
6677
6781
|
}] });
|
|
6678
6782
|
|
|
6783
|
+
class AXSearchBoxComponent extends AXBaseComponentMixin {
|
|
6784
|
+
constructor(_elementRef, _cdr, _parent) {
|
|
6785
|
+
super(_elementRef, _cdr);
|
|
6786
|
+
this._parent = _parent;
|
|
6787
|
+
this.placeholder = 'common.search';
|
|
6788
|
+
this.debounceTime = 300;
|
|
6789
|
+
this.searchExp = null;
|
|
6790
|
+
}
|
|
6791
|
+
_onSearchExprChanged(e) {
|
|
6792
|
+
if (this._parent && this._parent.search) {
|
|
6793
|
+
this._parent.search(e.value);
|
|
6794
|
+
}
|
|
6795
|
+
}
|
|
6796
|
+
focus() {
|
|
6797
|
+
var _a;
|
|
6798
|
+
(_a = this._textbox) === null || _a === void 0 ? void 0 : _a.focus();
|
|
6799
|
+
}
|
|
6800
|
+
}
|
|
6801
|
+
AXSearchBoxComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXSearchBoxComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: AXSearchableComponent, optional: true }], target: i0.ɵɵFactoryTarget.Component });
|
|
6802
|
+
AXSearchBoxComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: AXSearchBoxComponent, selector: "ax-search-box", inputs: { placeholder: "placeholder", debounceTime: "debounceTime", searchExp: "searchExp" }, viewQueries: [{ propertyName: "_textbox", first: true, predicate: AXTextBoxComponent, descendants: true }], usesInheritance: true, ngImport: i0, template: "<ax-text-box placeholder=\"{{ placeholder | trans }}\" [debounceTime]=\"debounceTime\" \r\n [(value)]=\"searchExp\" (onValueChanged)=\"_onSearchExprChanged($event)\">\r\n <ax-prefix>\r\n <ax-icon class=\"ax-ic ax-ic-magnify\">\r\n </ax-icon>\r\n </ax-prefix>\r\n</ax-text-box>", components: [{ type: AXTextBoxComponent, selector: "ax-text-box", inputs: ["disabled", "tabIndex", "readonly", "allowNull", "value", "debounceTime", "name", "checked", "placeholder", "maxLength", "type", "autoComplete"], outputs: ["onBlur", "onFocus", "valueChange", "onValueChanged"] }, { type: AXDecoratorPrefixComponent, selector: "ax-prefix" }, { type: AXDecoratorIconComponent, selector: "ax-icon", inputs: ["icon"] }], pipes: { "trans": i1$4.AXTranslatorPipe }, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
6803
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXSearchBoxComponent, decorators: [{
|
|
6804
|
+
type: Component,
|
|
6805
|
+
args: [{ selector: 'ax-search-box', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, template: "<ax-text-box placeholder=\"{{ placeholder | trans }}\" [debounceTime]=\"debounceTime\" \r\n [(value)]=\"searchExp\" (onValueChanged)=\"_onSearchExprChanged($event)\">\r\n <ax-prefix>\r\n <ax-icon class=\"ax-ic ax-ic-magnify\">\r\n </ax-icon>\r\n </ax-prefix>\r\n</ax-text-box>" }]
|
|
6806
|
+
}], ctorParameters: function () {
|
|
6807
|
+
return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: AXSearchableComponent, decorators: [{
|
|
6808
|
+
type: Optional
|
|
6809
|
+
}, {
|
|
6810
|
+
type: Inject,
|
|
6811
|
+
args: [AXSearchableComponent]
|
|
6812
|
+
}] }];
|
|
6813
|
+
}, propDecorators: { _textbox: [{
|
|
6814
|
+
type: ViewChild,
|
|
6815
|
+
args: [AXTextBoxComponent]
|
|
6816
|
+
}], placeholder: [{
|
|
6817
|
+
type: Input
|
|
6818
|
+
}], debounceTime: [{
|
|
6819
|
+
type: Input
|
|
6820
|
+
}], searchExp: [{
|
|
6821
|
+
type: Input
|
|
6822
|
+
}] } });
|
|
6823
|
+
|
|
6824
|
+
const COMPONENT$4 = [AXSearchBoxComponent];
|
|
6825
|
+
const MODULES$4 = [CommonModule, AXTranslationModule, AXDecoratorModule, AXTextBoxModule];
|
|
6826
|
+
class AXSearchBoxModule {
|
|
6827
|
+
}
|
|
6828
|
+
AXSearchBoxModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXSearchBoxModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
6829
|
+
AXSearchBoxModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXSearchBoxModule, declarations: [AXSearchBoxComponent], imports: [CommonModule, AXTranslationModule, AXDecoratorModule, AXTextBoxModule], exports: [AXSearchBoxComponent] });
|
|
6830
|
+
AXSearchBoxModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXSearchBoxModule, providers: [], imports: [[...MODULES$4]] });
|
|
6831
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXSearchBoxModule, decorators: [{
|
|
6832
|
+
type: NgModule,
|
|
6833
|
+
args: [{
|
|
6834
|
+
declarations: [...COMPONENT$4],
|
|
6835
|
+
imports: [...MODULES$4],
|
|
6836
|
+
exports: [...COMPONENT$4],
|
|
6837
|
+
providers: [],
|
|
6838
|
+
}]
|
|
6839
|
+
}] });
|
|
6840
|
+
|
|
6679
6841
|
/**
|
|
6680
6842
|
* The Button is a component which detects user interaction and triggers a corresponding event
|
|
6681
6843
|
*
|
|
@@ -6695,7 +6857,6 @@ class AXSelectBoxComponent extends AXBaseSelectionDropdownMixin {
|
|
|
6695
6857
|
* Defines the clearButton.
|
|
6696
6858
|
*/
|
|
6697
6859
|
this.clearButton = false;
|
|
6698
|
-
this._searchSettings = { enabled: false, expr: null };
|
|
6699
6860
|
/**
|
|
6700
6861
|
* Defines the checkbox.
|
|
6701
6862
|
*/
|
|
@@ -6709,15 +6870,6 @@ class AXSelectBoxComponent extends AXBaseSelectionDropdownMixin {
|
|
|
6709
6870
|
this._popoverWidth = this._isMobile ? null : this._target.offsetWidth;
|
|
6710
6871
|
});
|
|
6711
6872
|
}
|
|
6712
|
-
/**
|
|
6713
|
-
* Defines the search.
|
|
6714
|
-
*/
|
|
6715
|
-
get searchSettings() {
|
|
6716
|
-
return this._searchSettings;
|
|
6717
|
-
}
|
|
6718
|
-
set searchSettings(v) {
|
|
6719
|
-
this._searchSettings = v || { enabled: false, expr: null };
|
|
6720
|
-
}
|
|
6721
6873
|
get emptyTemplate() {
|
|
6722
6874
|
return this._contentEmptyTemplate;
|
|
6723
6875
|
}
|
|
@@ -6760,7 +6912,6 @@ class AXSelectBoxComponent extends AXBaseSelectionDropdownMixin {
|
|
|
6760
6912
|
}
|
|
6761
6913
|
_checkForLoadData() {
|
|
6762
6914
|
const list = this.listContainer.nativeElement;
|
|
6763
|
-
//const headerSize = Array.from(list.parentElement.querySelectorAll<HTMLDivElement>('.ax-header')).reduce((v, s) => v + s.offsetHeight, 0);
|
|
6764
6915
|
if (this.loadedCount < this.totalCount && list.scrollHeight < ((list.parentElement.clientHeight) * 1.5)) {
|
|
6765
6916
|
this._fetchData();
|
|
6766
6917
|
}
|
|
@@ -6823,6 +6974,9 @@ class AXSelectBoxComponent extends AXBaseSelectionDropdownMixin {
|
|
|
6823
6974
|
}
|
|
6824
6975
|
}
|
|
6825
6976
|
_handlePopoverKeydown(e) {
|
|
6977
|
+
var _a, _b;
|
|
6978
|
+
if (e.target.tagName == "INPUT" && ['Space', 'Backspace'].includes(e.code))
|
|
6979
|
+
return;
|
|
6826
6980
|
if ((e.key === 'ArrowDown' || e.key === 'ArrowUp') && this.displayItems.length > 0) {
|
|
6827
6981
|
this.isUserInput = true;
|
|
6828
6982
|
this._focusItemByNav((e.key === 'ArrowDown' ? 1 : -1));
|
|
@@ -6836,8 +6990,9 @@ class AXSelectBoxComponent extends AXBaseSelectionDropdownMixin {
|
|
|
6836
6990
|
e.preventDefault();
|
|
6837
6991
|
}
|
|
6838
6992
|
else if ((e.code === 'Space' || e.code === 'Enter')) {
|
|
6993
|
+
debugger;
|
|
6839
6994
|
e.preventDefault();
|
|
6840
|
-
const focusedItemId = this.listContainer.nativeElement.querySelector('.ax-state-focus').dataset.id;
|
|
6995
|
+
const focusedItemId = (_b = (_a = this.listContainer.nativeElement.querySelector('.ax-state-focus')) === null || _a === void 0 ? void 0 : _a.dataset) === null || _b === void 0 ? void 0 : _b.id;
|
|
6841
6996
|
const focusedItem = _.findLast(this.flatItems, [this.valueField, focusedItemId]);
|
|
6842
6997
|
if (focusedItem) {
|
|
6843
6998
|
if (this.isItemDisabled(focusedItem)) {
|
|
@@ -6875,6 +7030,7 @@ class AXSelectBoxComponent extends AXBaseSelectionDropdownMixin {
|
|
|
6875
7030
|
else {
|
|
6876
7031
|
this._focusSelectedItem();
|
|
6877
7032
|
}
|
|
7033
|
+
debugger;
|
|
6878
7034
|
if (this._searchBox && !this._isMobile) {
|
|
6879
7035
|
this._searchBox.focus();
|
|
6880
7036
|
}
|
|
@@ -6952,33 +7108,44 @@ class AXSelectBoxComponent extends AXBaseSelectionDropdownMixin {
|
|
|
6952
7108
|
}
|
|
6953
7109
|
_onSearchExprChanged(e) {
|
|
6954
7110
|
this.empty();
|
|
7111
|
+
this._forceFocus = true;
|
|
7112
|
+
this._fetchData();
|
|
7113
|
+
}
|
|
7114
|
+
search(exp) {
|
|
7115
|
+
debugger;
|
|
7116
|
+
this.empty();
|
|
7117
|
+
this._forceFocus = true;
|
|
6955
7118
|
this._fetchData();
|
|
6956
7119
|
}
|
|
6957
7120
|
_fetchData() {
|
|
6958
7121
|
var _a;
|
|
6959
|
-
super._fetchData({ searchQuery: (_a = this._searchBox) === null || _a === void 0 ? void 0 : _a.
|
|
7122
|
+
super._fetchData({ searchQuery: (_a = this._searchBox) === null || _a === void 0 ? void 0 : _a.searchExp });
|
|
6960
7123
|
}
|
|
6961
7124
|
}
|
|
6962
7125
|
AXSelectBoxComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXSelectBoxComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: i0.NgZone }, { token: i1$4.AXPlatform }], target: i0.ɵɵFactoryTarget.Component });
|
|
6963
|
-
AXSelectBoxComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: AXSelectBoxComponent, selector: "ax-select-box", inputs: { isOpen: "isOpen", fitParent: "fitParent", dropdownWidth: "dropdownWidth", position: "position", disabled: "disabled", tabIndex: "tabIndex", readonly: "readonly", allowNull: "allowNull", value: "value", debounceTime: "debounceTime", name: "name", checked: "checked", placeholder: "placeholder", maxLength: "maxLength", type: "type", autoComplete: "autoComplete", pageSize: "pageSize", valueField: "valueField", textField: "textField", items: "items", disabledField: "disabledField", disabledCallback: "disabledCallback", multiple: "multiple", selectionMode: "selectionMode", clearButton: "clearButton", searchSettings: "searchSettings", checkbox: "checkbox" }, outputs: { onOpened: "onOpened", onClosed: "onClosed", onBlur: "onBlur", onFocus: "onFocus", valueChange: "valueChange", onValueChanged: "onValueChanged", valueChanged: "valueChanged" }, host: { listeners: { "keydown": "_handleKeydown($event)" }, classAttribute: "ax-editor-container ax-drop-down" }, queries: [{ propertyName: "_contentEmptyTemplate", first: true, predicate: ["emptyTemplate"], descendants: true }], viewQueries: [{ propertyName: "popover", first: true, predicate: AXPopoverComponent, descendants: true, static: true }, { propertyName: "listContainer", first: true, predicate: ["listContainer"], descendants: true, static: true }, { propertyName: "_searchBox", first: true, predicate: ["searchBox"], descendants: true }], usesInheritance: true, ngImport: i0, template: "<ng-content select=\"ax-prefix\">\r\n</ng-content>\r\n<div class=\"ax-dropdown-content\" [class.ax-state-disabled]=\"disabled\" (click)=\"_handleInputClickEvent($event)\">\r\n <div class=\"ax-select-box-selection\" [tabindex]=\"tabIndex\" (focus)=\"_emitOnFocusEvent($event)\"\r\n (blur)=\"_emitOnBlurEvent($event)\">\r\n <ng-container *ngIf=\"selectedItems && selectedItems.length; else showPlaceholder\">\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 ax-cursor-pointer\"\r\n (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 </ng-container>\r\n <ng-template #showPlaceholder>\r\n <div class=\"ax-placeholder\" role=\"textbox\" area-readonly=\"true\"> {{placeholder}}</div>\r\n </ng-template>\r\n </div>\r\n</div>\r\n<ax-button color=\"light\" look=\"blank\" (onClick)=\"clear()\" [tabIndex]=\"-1\"\r\n *ngIf=\"value && clearButton && !(disabled || readonly)\">\r\n <ax-icon icon=\"ax-ic ax-ic-close\"></ax-icon>\r\n</ax-button>\r\n<ax-button [disabled]=\"disabled\" [tabIndex]=\"-1\" color=\"light\" look=\"blank\" (onClick)=\"_handleArrowClickEvent($event)\">\r\n <ax-prefix *ngIf=\"(isLoading && !this.popover.isOpen);else icon\">\r\n <ax-loading type=\"spinner\"></ax-loading>\r\n </ax-prefix>\r\n <ng-template #icon>\r\n <ax-icon #icon icon=\"ax-ic ax-ic-chevron ax-transform ax--rotate-90\"></ax-icon>\r\n </ng-template>\r\n</ax-button>\r\n<ng-content select=\"ax-validation-rule\">\r\n</ng-content>\r\n<ng-content select=\"ax-suffix\">\r\n</ng-content>\r\n<ax-popover [target]=\"_target\" [position]=\"position\" [openTrigger]=\"'manual'\" [closeTrigger]=\"'clickout'\"\r\n (onOpened)=\"_handlePopupOnOpened($event)\" (onClosed)=\"_handlePopupOnClosed($event)\">\r\n <div class=\"ax-overlay-pane \" (keydown)=\"_handlePopoverKeydown($event)\" tabindex=\"0\" aria-modal=\"true\" cdkTrapFocus\r\n [class.ax-overlay-actionsheet]=\"_isMobile\" [class.ax-full]=\"searchSettings.enabled || isLazy\"\r\n [style.min-width.px]=\"_popoverWidth\">\r\n <div class=\"ax-list\">\r\n <div *ngIf=\"_isMobile\" class=\"ax-header\">\r\n <span>{{_popoverTitle}}</span>\r\n <i class=\"ax-ic {{multiple?'ax-ic-check !ax-text-primary-500':'ax-ic-close'}}\" (click)=\"close()\"\r\n tabindex=\"1\"></i>\r\n </div>\r\n <div *ngIf=\"searchSettings.enabled\" class=\"ax-p-2\" [cdkTrapFocus]=\"true\" class=\"ax-header\">\r\n <ax-text-box #searchBox placeholder=\"{{ 'common.search' | trans }}\" [debounceTime]=\"500\" \r\n class=\"ax-w-full ax-sm\" [(value)]=\"searchSettings.expr\" (onValueChanged)=\"_onSearchExprChanged($event)\">\r\n <ax-prefix>\r\n <ax-icon class=\"ax-ic ax-ic-magnify\">\r\n </ax-icon>\r\n </ax-prefix>\r\n </ax-text-box>\r\n </div>\r\n <div class=\"ax-content ax-list-items-container ax-default\" (scroll)=\"_handleListScroll($event)\"\r\n #listContainer>\r\n <ng-container *ngIf=\"displayItems.length; else tmpEmpty\">\r\n <ul>\r\n <ng-container *ngTemplateOutlet=\"tmpTree; context:{ list: displayItems }\">\r\n </ng-container>\r\n <ng-template #tmpTree let-list=\"list\">\r\n <ng-container *ngFor=\"let item of list;let i = index;trackBy : _trackByFunction\">\r\n <ng-container *ngIf=\"itemTemplate; else defualtTemplate\">\r\n <li class=\"ax-list-item\" (click)=\"_handleOnItemClick($event,item)\"\r\n [attr.data-id]=\"item[this.valueField]\">\r\n <ng-container\r\n *ngTemplateOutlet=\"itemTemplate; context: { $implicit: item,direction:direction}\">\r\n </ng-container>\r\n </li>\r\n </ng-container>\r\n <ng-template #defualtTemplate>\r\n <ng-container *ngIf=\"item.children?.length > 0;else tmpItem\">\r\n <li class=\"ax-list-item-group\" [attr.data-id]=\"item[this.valueField]\">\r\n <span> {{ _getItemDisplayTextTemplte(item) }}</span>\r\n <ul *ngIf=\"item.children?.length > 0\">\r\n <ng-container\r\n *ngTemplateOutlet=\"tmpTree; context:{ list: item.children }\">\r\n </ng-container>\r\n </ul>\r\n </li>\r\n </ng-container>\r\n <ng-template #tmpItem>\r\n <ng-container *ngIf=\"!multiple; else multipleTemplate\">\r\n <li class=\"ax-list-item\" [class.ax-state-selected]=\"isItemSelected(item)\"\r\n [class.ax-state-disabled]=\"isItemDisabled(item)\" [attr.tabindex]=\"i\"\r\n (click)=\"_handleOnItemClick($event,item)\"\r\n [attr.data-id]=\"item[this.valueField]\">\r\n <span> {{ _getItemDisplayTextTemplte(item) }}</span>\r\n </li>\r\n </ng-container>\r\n <ng-template #multipleTemplate>\r\n <li class=\"ax-list-item\" [class.ax-state-selected]=\"isItemSelected(item)\"\r\n [class.ax-state-disabled]=\"isItemDisabled(item)\"\r\n [class.ax-check-box]=\"checkbox\" [attr.tabindex]=\"i\"\r\n (click)=\"_handleOnItemClick($event,item)\"\r\n [attr.data-id]=\"item[this.valueField]\">\r\n <input type=\"checkbox\" [class.ax-state-disabled]=\"isItemDisabled(item)\"\r\n *ngIf=\"checkbox\" [checked]=\"isItemSelected(item)\"\r\n [disabled]=\"isItemDisabled(item)\">\r\n <span class=\"ax-ms-2\"> {{ _getItemDisplayTextTemplte(item) }}</span>\r\n </li>\r\n </ng-template>\r\n </ng-template>\r\n </ng-template>\r\n </ng-container>\r\n </ng-template>\r\n </ul>\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-flex ax-items-center ax-justify-center ax-p-4\">\r\n <ax-loading text=\"{{ 'layout.loading.text' | trans }}\"></ax-loading>\r\n </div>\r\n </ng-template>\r\n </ng-container>\r\n <ng-template #tmpEmpty>\r\n <ng-container *ngIf=\"!isLoading\">\r\n <ng-container *ngIf=\"emptyTemplate; else elseEmptyTemplate\">\r\n <ng-container *ngTemplateOutlet=\"emptyTemplate\">\r\n </ng-container>\r\n </ng-container>\r\n <ng-template #elseEmptyTemplate>\r\n <div class=\"ax-list-item\">\r\n {{ 'common.no-result-found' | trans }}\r\n </div>\r\n </ng-template>\r\n </ng-container>\r\n </ng-template>\r\n\r\n </div>\r\n <!-- <div class=\"ax-list-items-container ax-vertical ax-default\" [class.ax-full]=\"_isMobile\"\r\n >\r\n \r\n </div> -->\r\n <!-- <div class=\"ax-footer\">footer</div> -->\r\n </div>\r\n </div>\r\n</ax-popover>", components: [{ type: AXBadgeComponent, selector: "ax-badge", inputs: ["color", "look", "text"] }, { type: AXDecoratorSuffixComponent, selector: "ax-suffix" }, { type: AXIconComponent, selector: "ax-icon", inputs: ["icon"] }, { type: AXButtonComponent, selector: "ax-button", inputs: ["disabled", "tabIndex", "size", "color", "look", "text", "submitBehavior", "cancelBehavior", "toggleable", "selected"], outputs: ["onBlur", "onFocus", "onClick", "selectedChange", "toggleableChange"] }, { type: AXDecoratorPrefixComponent, selector: "ax-prefix" }, { type: AXLoadingComponent, selector: "ax-loading", inputs: ["visible", "type", "text"], outputs: ["visibleChange"] }, { type: AXPopoverComponent, selector: "ax-popover", inputs: ["target", "position", "openTrigger", "closeTrigger", "hasBackdrop", "backdropClass"], outputs: ["onOpened", "onClosed"] }, { type: AXTextBoxComponent, selector: "ax-text-box", inputs: ["disabled", "tabIndex", "readonly", "allowNull", "value", "debounceTime", "name", "checked", "placeholder", "maxLength", "type", "autoComplete"], outputs: ["onBlur", "onFocus", "valueChange", "onValueChanged"] }], directives: [{ type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1$1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i2$1.CdkTrapFocus, selector: "[cdkTrapFocus]", inputs: ["cdkTrapFocus", "cdkTrapFocusAutoCapture"], exportAs: ["cdkTrapFocus"] }, { type: i1$1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }], pipes: { "trans": i1$4.AXTranslatorPipe }, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
7126
|
+
AXSelectBoxComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: AXSelectBoxComponent, selector: "ax-select-box", inputs: { isOpen: "isOpen", fitParent: "fitParent", dropdownWidth: "dropdownWidth", position: "position", disabled: "disabled", tabIndex: "tabIndex", readonly: "readonly", allowNull: "allowNull", value: "value", debounceTime: "debounceTime", name: "name", checked: "checked", placeholder: "placeholder", maxLength: "maxLength", type: "type", autoComplete: "autoComplete", pageSize: "pageSize", valueField: "valueField", textField: "textField", items: "items", disabledField: "disabledField", disabledCallback: "disabledCallback", multiple: "multiple", selectionMode: "selectionMode", clearButton: "clearButton", checkbox: "checkbox" }, outputs: { onOpened: "onOpened", onClosed: "onClosed", onBlur: "onBlur", onFocus: "onFocus", valueChange: "valueChange", onValueChanged: "onValueChanged", valueChanged: "valueChanged" }, host: { listeners: { "keydown": "_handleKeydown($event)" }, classAttribute: "ax-editor-container ax-drop-down" }, providers: [
|
|
7127
|
+
{ provide: AXClosbaleComponent, useExisting: AXSelectBoxComponent },
|
|
7128
|
+
{ provide: AXSearchableComponent, useExisting: AXSelectBoxComponent }
|
|
7129
|
+
], queries: [{ propertyName: "_searchBox", first: true, predicate: AXSearchBoxComponent, descendants: true, static: true }, { propertyName: "_contentEmptyTemplate", first: true, predicate: ["emptyTemplate"], descendants: true }], viewQueries: [{ propertyName: "popover", first: true, predicate: AXPopoverComponent, descendants: true, static: true }, { propertyName: "listContainer", first: true, predicate: ["listContainer"], descendants: true, static: true }], usesInheritance: true, ngImport: i0, template: "<ng-content select=\"ax-prefix\">\r\n</ng-content>\r\n<div class=\"ax-dropdown-content\" [class.ax-state-disabled]=\"disabled\" (click)=\"_handleInputClickEvent($event)\">\r\n <div class=\"ax-select-box-selection\" [tabindex]=\"tabIndex\" (focus)=\"_emitOnFocusEvent($event)\"\r\n (blur)=\"_emitOnBlurEvent($event)\">\r\n <ng-container *ngIf=\"selectedItems && selectedItems.length; else showPlaceholder\">\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 ax-cursor-pointer\"\r\n (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 </ng-container>\r\n <ng-template #showPlaceholder>\r\n <div class=\"ax-placeholder\" role=\"textbox\" area-readonly=\"true\"> {{placeholder}}</div>\r\n </ng-template>\r\n </div>\r\n</div>\r\n<ax-button color=\"light\" look=\"blank\" (onClick)=\"clear()\" [tabIndex]=\"-1\"\r\n *ngIf=\"value && clearButton && !(disabled || readonly)\">\r\n <ax-icon icon=\"ax-ic ax-ic-close\"></ax-icon>\r\n</ax-button>\r\n<ax-button [disabled]=\"disabled\" [tabIndex]=\"-1\" color=\"light\" look=\"blank\" (onClick)=\"_handleArrowClickEvent($event)\">\r\n <ax-prefix *ngIf=\"(isLoading && !this.popover.isOpen);else icon\">\r\n <ax-loading type=\"spinner\"></ax-loading>\r\n </ax-prefix>\r\n <ng-template #icon>\r\n <ax-icon #icon icon=\"ax-ic ax-ic-chevron ax-transform ax--rotate-90\"></ax-icon>\r\n </ng-template>\r\n</ax-button>\r\n<ng-content select=\"ax-validation-rule\">\r\n</ng-content>\r\n<ng-content select=\"ax-suffix\">\r\n</ng-content>\r\n<ax-popover [target]=\"_target\" [position]=\"position\" [openTrigger]=\"'manual'\" [closeTrigger]=\"'clickout'\" [adaptivityEnabled]=\"true\"\r\n (onOpened)=\"_handlePopupOnOpened($event)\" (onClosed)=\"_handlePopupOnClosed($event)\">\r\n <div class=\"ax-overlay-pane \" (keydown)=\"_handlePopoverKeydown($event)\" tabindex=\"0\" aria-modal=\"true\" cdkTrapFocus\r\n [class.ax-overlay-actionsheet]=\"_isMobile\" [class.ax-full]=\"_searchBox || isLazy\"\r\n [style.min-width.px]=\"_popoverWidth\">\r\n <div class=\"ax-list\" >\r\n <ax-header *ngIf=\"_isMobile\" >\r\n <ax-title [text]=\"_popoverTitle\"></ax-title>\r\n <ax-close-button [icon]=\"multiple?'ax-ic-check !ax-text-primary-500':'ax-ic-close'\"></ax-close-button>\r\n </ax-header>\r\n <div class=\"ax-p-2\" [class.ax-hidden]=\"!_searchBox\" [cdkTrapFocus]=\"_searchBox!=null\">\r\n <ng-content select=\"ax-search-box\" ></ng-content>\r\n </div>\r\n <div class=\"ax-content ax-list-items-container ax-default\" (scroll)=\"_handleListScroll($event)\"\r\n #listContainer>\r\n <ng-container *ngIf=\"displayItems.length; else tmpEmpty\">\r\n <ul>\r\n <ng-container *ngTemplateOutlet=\"tmpTree; context:{ list: displayItems }\">\r\n </ng-container>\r\n <ng-template #tmpTree let-list=\"list\">\r\n <ng-container *ngFor=\"let item of list;let i = index;trackBy : _trackByFunction\">\r\n <ng-container *ngIf=\"itemTemplate; else defualtTemplate\">\r\n <li class=\"ax-list-item\" (click)=\"_handleOnItemClick($event,item)\"\r\n [attr.data-id]=\"item[this.valueField]\">\r\n <ng-container\r\n *ngTemplateOutlet=\"itemTemplate; context: { $implicit: item,direction:direction}\">\r\n </ng-container>\r\n </li>\r\n </ng-container>\r\n <ng-template #defualtTemplate>\r\n <ng-container *ngIf=\"item.children?.length > 0;else tmpItem\">\r\n <li class=\"ax-list-item-group\" [attr.data-id]=\"item[this.valueField]\">\r\n <span> {{ _getItemDisplayTextTemplte(item) }}</span>\r\n <ul *ngIf=\"item.children?.length > 0\">\r\n <ng-container\r\n *ngTemplateOutlet=\"tmpTree; context:{ list: item.children }\">\r\n </ng-container>\r\n </ul>\r\n </li>\r\n </ng-container>\r\n <ng-template #tmpItem>\r\n <ng-container *ngIf=\"!multiple; else multipleTemplate\">\r\n <li class=\"ax-list-item\" [class.ax-state-selected]=\"isItemSelected(item)\"\r\n [class.ax-state-disabled]=\"isItemDisabled(item)\" [attr.tabindex]=\"i\"\r\n (click)=\"_handleOnItemClick($event,item)\"\r\n [attr.data-id]=\"item[this.valueField]\">\r\n <span> {{ _getItemDisplayTextTemplte(item) }}</span>\r\n </li>\r\n </ng-container>\r\n <ng-template #multipleTemplate>\r\n <li class=\"ax-list-item\" [class.ax-state-selected]=\"isItemSelected(item)\"\r\n [class.ax-state-disabled]=\"isItemDisabled(item)\"\r\n [class.ax-check-box]=\"checkbox\" [attr.tabindex]=\"i\"\r\n (click)=\"_handleOnItemClick($event,item)\"\r\n [attr.data-id]=\"item[this.valueField]\">\r\n <input type=\"checkbox\" [class.ax-state-disabled]=\"isItemDisabled(item)\"\r\n *ngIf=\"checkbox\" [checked]=\"isItemSelected(item)\"\r\n [disabled]=\"isItemDisabled(item)\">\r\n <span class=\"ax-ms-2\"> {{ _getItemDisplayTextTemplte(item) }}</span>\r\n </li>\r\n </ng-template>\r\n </ng-template>\r\n </ng-template>\r\n </ng-container>\r\n </ng-template>\r\n </ul>\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-flex ax-items-center ax-justify-center ax-p-4\">\r\n <ax-loading text=\"{{ 'layout.loading.text' | trans }}\"></ax-loading>\r\n </div>\r\n </ng-template>\r\n </ng-container>\r\n <ng-template #tmpEmpty>\r\n <ng-container *ngIf=\"!isLoading\">\r\n <ng-container *ngIf=\"emptyTemplate; else elseEmptyTemplate\">\r\n <ng-container *ngTemplateOutlet=\"emptyTemplate\">\r\n </ng-container>\r\n </ng-container>\r\n <ng-template #elseEmptyTemplate>\r\n <div class=\"ax-list-item\">\r\n {{ 'common.no-result-found' | trans }}\r\n </div>\r\n </ng-template>\r\n </ng-container>\r\n </ng-template>\r\n\r\n </div>\r\n <!-- <div class=\"ax-list-items-container ax-vertical ax-default\" [class.ax-full]=\"_isMobile\"\r\n >\r\n \r\n </div> -->\r\n <!-- <div class=\"ax-footer\">footer</div> -->\r\n </div>\r\n </div>\r\n</ax-popover>", components: [{ type: AXBadgeComponent, selector: "ax-badge", inputs: ["color", "look", "text"] }, { type: AXDecoratorSuffixComponent, selector: "ax-suffix" }, { type: AXDecoratorIconComponent, selector: "ax-icon", inputs: ["icon"] }, { type: AXButtonComponent, selector: "ax-button", inputs: ["disabled", "tabIndex", "size", "color", "look", "text", "submitBehavior", "cancelBehavior", "toggleable", "selected"], outputs: ["onBlur", "onFocus", "onClick", "selectedChange", "toggleableChange"] }, { type: AXDecoratorPrefixComponent, selector: "ax-prefix" }, { type: AXLoadingComponent, selector: "ax-loading", inputs: ["visible", "type", "text"], outputs: ["visibleChange"] }, { type: AXPopoverComponent, selector: "ax-popover", inputs: ["target", "position", "openTrigger", "closeTrigger", "hasBackdrop", "backdropClass", "adaptivityEnabled"], outputs: ["onOpened", "onClosed"] }, { type: AXDecoratorHeaderComponent, selector: "ax-header" }, { type: AXDecoratorTitleComponent, selector: "ax-title", inputs: ["text"] }, { type: AXDecoratorCloseButtonComponent, selector: "ax-close-button", inputs: ["icon"] }], directives: [{ type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1$1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i2$1.CdkTrapFocus, selector: "[cdkTrapFocus]", inputs: ["cdkTrapFocus", "cdkTrapFocusAutoCapture"], exportAs: ["cdkTrapFocus"] }, { type: i1$1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }], pipes: { "trans": i1$4.AXTranslatorPipe }, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
6964
7130
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXSelectBoxComponent, decorators: [{
|
|
6965
7131
|
type: Component,
|
|
6966
|
-
args: [{ selector: 'ax-select-box', inputs: [...DROPDOWN_INPUTS, ...INTERACTIVE_INPUTS, ...VALUE_INPUTS, ...TEXTBOX_INPUTS, ...DATALIST_INPUTS, ...SELECTION_INPUTS], outputs: [...DROPDOWN_OUTPUT, ...INTERACTIVE_OUTPUT, ...VALUE_OUTPUT, ...TEXTBOX_OUTPUT, ...SELECTION_OUTPUT], encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, host: { class: 'ax-editor-container ax-drop-down' }, template: "<ng-content select=\"ax-prefix\">\r\n</ng-content>\r\n<div class=\"ax-dropdown-content\" [class.ax-state-disabled]=\"disabled\" (click)=\"_handleInputClickEvent($event)\">\r\n <div class=\"ax-select-box-selection\" [tabindex]=\"tabIndex\" (focus)=\"_emitOnFocusEvent($event)\"\r\n (blur)=\"_emitOnBlurEvent($event)\">\r\n <ng-container *ngIf=\"selectedItems && selectedItems.length; else showPlaceholder\">\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 ax-cursor-pointer\"\r\n (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 </ng-container>\r\n <ng-template #showPlaceholder>\r\n <div class=\"ax-placeholder\" role=\"textbox\" area-readonly=\"true\"> {{placeholder}}</div>\r\n </ng-template>\r\n </div>\r\n</div>\r\n<ax-button color=\"light\" look=\"blank\" (onClick)=\"clear()\" [tabIndex]=\"-1\"\r\n *ngIf=\"value && clearButton && !(disabled || readonly)\">\r\n <ax-icon icon=\"ax-ic ax-ic-close\"></ax-icon>\r\n</ax-button>\r\n<ax-button [disabled]=\"disabled\" [tabIndex]=\"-1\" color=\"light\" look=\"blank\" (onClick)=\"_handleArrowClickEvent($event)\">\r\n <ax-prefix *ngIf=\"(isLoading && !this.popover.isOpen);else icon\">\r\n <ax-loading type=\"spinner\"></ax-loading>\r\n </ax-prefix>\r\n <ng-template #icon>\r\n <ax-icon #icon icon=\"ax-ic ax-ic-chevron ax-transform ax--rotate-90\"></ax-icon>\r\n </ng-template>\r\n</ax-button>\r\n<ng-content select=\"ax-validation-rule\">\r\n</ng-content>\r\n<ng-content select=\"ax-suffix\">\r\n</ng-content>\r\n<ax-popover [target]=\"_target\" [position]=\"position\" [openTrigger]=\"'manual'\" [closeTrigger]=\"'clickout'\"\r\n (onOpened)=\"_handlePopupOnOpened($event)\" (onClosed)=\"_handlePopupOnClosed($event)\">\r\n <div class=\"ax-overlay-pane \" (keydown)=\"_handlePopoverKeydown($event)\" tabindex=\"0\" aria-modal=\"true\" cdkTrapFocus\r\n [class.ax-overlay-actionsheet]=\"_isMobile\" [class.ax-full]=\"searchSettings.enabled || isLazy\"\r\n [style.min-width.px]=\"_popoverWidth\">\r\n <div class=\"ax-list\">\r\n <div *ngIf=\"_isMobile\" class=\"ax-header\">\r\n <span>{{_popoverTitle}}</span>\r\n <i class=\"ax-ic {{multiple?'ax-ic-check !ax-text-primary-500':'ax-ic-close'}}\" (click)=\"close()\"\r\n tabindex=\"1\"></i>\r\n </div>\r\n <div *ngIf=\"searchSettings.enabled\" class=\"ax-p-2\" [cdkTrapFocus]=\"true\" class=\"ax-header\">\r\n <ax-text-box #searchBox placeholder=\"{{ 'common.search' | trans }}\" [debounceTime]=\"500\" \r\n class=\"ax-w-full ax-sm\" [(value)]=\"searchSettings.expr\" (onValueChanged)=\"_onSearchExprChanged($event)\">\r\n <ax-prefix>\r\n <ax-icon class=\"ax-ic ax-ic-magnify\">\r\n </ax-icon>\r\n </ax-prefix>\r\n </ax-text-box>\r\n </div>\r\n <div class=\"ax-content ax-list-items-container ax-default\" (scroll)=\"_handleListScroll($event)\"\r\n #listContainer>\r\n <ng-container *ngIf=\"displayItems.length; else tmpEmpty\">\r\n <ul>\r\n <ng-container *ngTemplateOutlet=\"tmpTree; context:{ list: displayItems }\">\r\n </ng-container>\r\n <ng-template #tmpTree let-list=\"list\">\r\n <ng-container *ngFor=\"let item of list;let i = index;trackBy : _trackByFunction\">\r\n <ng-container *ngIf=\"itemTemplate; else defualtTemplate\">\r\n <li class=\"ax-list-item\" (click)=\"_handleOnItemClick($event,item)\"\r\n [attr.data-id]=\"item[this.valueField]\">\r\n <ng-container\r\n *ngTemplateOutlet=\"itemTemplate; context: { $implicit: item,direction:direction}\">\r\n </ng-container>\r\n </li>\r\n </ng-container>\r\n <ng-template #defualtTemplate>\r\n <ng-container *ngIf=\"item.children?.length > 0;else tmpItem\">\r\n <li class=\"ax-list-item-group\" [attr.data-id]=\"item[this.valueField]\">\r\n <span> {{ _getItemDisplayTextTemplte(item) }}</span>\r\n <ul *ngIf=\"item.children?.length > 0\">\r\n <ng-container\r\n *ngTemplateOutlet=\"tmpTree; context:{ list: item.children }\">\r\n </ng-container>\r\n </ul>\r\n </li>\r\n </ng-container>\r\n <ng-template #tmpItem>\r\n <ng-container *ngIf=\"!multiple; else multipleTemplate\">\r\n <li class=\"ax-list-item\" [class.ax-state-selected]=\"isItemSelected(item)\"\r\n [class.ax-state-disabled]=\"isItemDisabled(item)\" [attr.tabindex]=\"i\"\r\n (click)=\"_handleOnItemClick($event,item)\"\r\n [attr.data-id]=\"item[this.valueField]\">\r\n <span> {{ _getItemDisplayTextTemplte(item) }}</span>\r\n </li>\r\n </ng-container>\r\n <ng-template #multipleTemplate>\r\n <li class=\"ax-list-item\" [class.ax-state-selected]=\"isItemSelected(item)\"\r\n [class.ax-state-disabled]=\"isItemDisabled(item)\"\r\n [class.ax-check-box]=\"checkbox\" [attr.tabindex]=\"i\"\r\n (click)=\"_handleOnItemClick($event,item)\"\r\n [attr.data-id]=\"item[this.valueField]\">\r\n <input type=\"checkbox\" [class.ax-state-disabled]=\"isItemDisabled(item)\"\r\n *ngIf=\"checkbox\" [checked]=\"isItemSelected(item)\"\r\n [disabled]=\"isItemDisabled(item)\">\r\n <span class=\"ax-ms-2\"> {{ _getItemDisplayTextTemplte(item) }}</span>\r\n </li>\r\n </ng-template>\r\n </ng-template>\r\n </ng-template>\r\n </ng-container>\r\n </ng-template>\r\n </ul>\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-flex ax-items-center ax-justify-center ax-p-4\">\r\n <ax-loading text=\"{{ 'layout.loading.text' | trans }}\"></ax-loading>\r\n </div>\r\n </ng-template>\r\n </ng-container>\r\n <ng-template #tmpEmpty>\r\n <ng-container *ngIf=\"!isLoading\">\r\n <ng-container *ngIf=\"emptyTemplate; else elseEmptyTemplate\">\r\n <ng-container *ngTemplateOutlet=\"emptyTemplate\">\r\n </ng-container>\r\n </ng-container>\r\n <ng-template #elseEmptyTemplate>\r\n <div class=\"ax-list-item\">\r\n {{ 'common.no-result-found' | trans }}\r\n </div>\r\n </ng-template>\r\n </ng-container>\r\n </ng-template>\r\n\r\n </div>\r\n <!-- <div class=\"ax-list-items-container ax-vertical ax-default\" [class.ax-full]=\"_isMobile\"\r\n >\r\n \r\n </div> -->\r\n <!-- <div class=\"ax-footer\">footer</div> -->\r\n </div>\r\n </div>\r\n</ax-popover>" }]
|
|
7132
|
+
args: [{ selector: 'ax-select-box', inputs: [...DROPDOWN_INPUTS, ...INTERACTIVE_INPUTS, ...VALUE_INPUTS, ...TEXTBOX_INPUTS, ...DATALIST_INPUTS, ...SELECTION_INPUTS], outputs: [...DROPDOWN_OUTPUT, ...INTERACTIVE_OUTPUT, ...VALUE_OUTPUT, ...TEXTBOX_OUTPUT, ...SELECTION_OUTPUT], encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, providers: [
|
|
7133
|
+
{ provide: AXClosbaleComponent, useExisting: AXSelectBoxComponent },
|
|
7134
|
+
{ provide: AXSearchableComponent, useExisting: AXSelectBoxComponent }
|
|
7135
|
+
], host: { class: 'ax-editor-container ax-drop-down' }, template: "<ng-content select=\"ax-prefix\">\r\n</ng-content>\r\n<div class=\"ax-dropdown-content\" [class.ax-state-disabled]=\"disabled\" (click)=\"_handleInputClickEvent($event)\">\r\n <div class=\"ax-select-box-selection\" [tabindex]=\"tabIndex\" (focus)=\"_emitOnFocusEvent($event)\"\r\n (blur)=\"_emitOnBlurEvent($event)\">\r\n <ng-container *ngIf=\"selectedItems && selectedItems.length; else showPlaceholder\">\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 ax-cursor-pointer\"\r\n (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 </ng-container>\r\n <ng-template #showPlaceholder>\r\n <div class=\"ax-placeholder\" role=\"textbox\" area-readonly=\"true\"> {{placeholder}}</div>\r\n </ng-template>\r\n </div>\r\n</div>\r\n<ax-button color=\"light\" look=\"blank\" (onClick)=\"clear()\" [tabIndex]=\"-1\"\r\n *ngIf=\"value && clearButton && !(disabled || readonly)\">\r\n <ax-icon icon=\"ax-ic ax-ic-close\"></ax-icon>\r\n</ax-button>\r\n<ax-button [disabled]=\"disabled\" [tabIndex]=\"-1\" color=\"light\" look=\"blank\" (onClick)=\"_handleArrowClickEvent($event)\">\r\n <ax-prefix *ngIf=\"(isLoading && !this.popover.isOpen);else icon\">\r\n <ax-loading type=\"spinner\"></ax-loading>\r\n </ax-prefix>\r\n <ng-template #icon>\r\n <ax-icon #icon icon=\"ax-ic ax-ic-chevron ax-transform ax--rotate-90\"></ax-icon>\r\n </ng-template>\r\n</ax-button>\r\n<ng-content select=\"ax-validation-rule\">\r\n</ng-content>\r\n<ng-content select=\"ax-suffix\">\r\n</ng-content>\r\n<ax-popover [target]=\"_target\" [position]=\"position\" [openTrigger]=\"'manual'\" [closeTrigger]=\"'clickout'\" [adaptivityEnabled]=\"true\"\r\n (onOpened)=\"_handlePopupOnOpened($event)\" (onClosed)=\"_handlePopupOnClosed($event)\">\r\n <div class=\"ax-overlay-pane \" (keydown)=\"_handlePopoverKeydown($event)\" tabindex=\"0\" aria-modal=\"true\" cdkTrapFocus\r\n [class.ax-overlay-actionsheet]=\"_isMobile\" [class.ax-full]=\"_searchBox || isLazy\"\r\n [style.min-width.px]=\"_popoverWidth\">\r\n <div class=\"ax-list\" >\r\n <ax-header *ngIf=\"_isMobile\" >\r\n <ax-title [text]=\"_popoverTitle\"></ax-title>\r\n <ax-close-button [icon]=\"multiple?'ax-ic-check !ax-text-primary-500':'ax-ic-close'\"></ax-close-button>\r\n </ax-header>\r\n <div class=\"ax-p-2\" [class.ax-hidden]=\"!_searchBox\" [cdkTrapFocus]=\"_searchBox!=null\">\r\n <ng-content select=\"ax-search-box\" ></ng-content>\r\n </div>\r\n <div class=\"ax-content ax-list-items-container ax-default\" (scroll)=\"_handleListScroll($event)\"\r\n #listContainer>\r\n <ng-container *ngIf=\"displayItems.length; else tmpEmpty\">\r\n <ul>\r\n <ng-container *ngTemplateOutlet=\"tmpTree; context:{ list: displayItems }\">\r\n </ng-container>\r\n <ng-template #tmpTree let-list=\"list\">\r\n <ng-container *ngFor=\"let item of list;let i = index;trackBy : _trackByFunction\">\r\n <ng-container *ngIf=\"itemTemplate; else defualtTemplate\">\r\n <li class=\"ax-list-item\" (click)=\"_handleOnItemClick($event,item)\"\r\n [attr.data-id]=\"item[this.valueField]\">\r\n <ng-container\r\n *ngTemplateOutlet=\"itemTemplate; context: { $implicit: item,direction:direction}\">\r\n </ng-container>\r\n </li>\r\n </ng-container>\r\n <ng-template #defualtTemplate>\r\n <ng-container *ngIf=\"item.children?.length > 0;else tmpItem\">\r\n <li class=\"ax-list-item-group\" [attr.data-id]=\"item[this.valueField]\">\r\n <span> {{ _getItemDisplayTextTemplte(item) }}</span>\r\n <ul *ngIf=\"item.children?.length > 0\">\r\n <ng-container\r\n *ngTemplateOutlet=\"tmpTree; context:{ list: item.children }\">\r\n </ng-container>\r\n </ul>\r\n </li>\r\n </ng-container>\r\n <ng-template #tmpItem>\r\n <ng-container *ngIf=\"!multiple; else multipleTemplate\">\r\n <li class=\"ax-list-item\" [class.ax-state-selected]=\"isItemSelected(item)\"\r\n [class.ax-state-disabled]=\"isItemDisabled(item)\" [attr.tabindex]=\"i\"\r\n (click)=\"_handleOnItemClick($event,item)\"\r\n [attr.data-id]=\"item[this.valueField]\">\r\n <span> {{ _getItemDisplayTextTemplte(item) }}</span>\r\n </li>\r\n </ng-container>\r\n <ng-template #multipleTemplate>\r\n <li class=\"ax-list-item\" [class.ax-state-selected]=\"isItemSelected(item)\"\r\n [class.ax-state-disabled]=\"isItemDisabled(item)\"\r\n [class.ax-check-box]=\"checkbox\" [attr.tabindex]=\"i\"\r\n (click)=\"_handleOnItemClick($event,item)\"\r\n [attr.data-id]=\"item[this.valueField]\">\r\n <input type=\"checkbox\" [class.ax-state-disabled]=\"isItemDisabled(item)\"\r\n *ngIf=\"checkbox\" [checked]=\"isItemSelected(item)\"\r\n [disabled]=\"isItemDisabled(item)\">\r\n <span class=\"ax-ms-2\"> {{ _getItemDisplayTextTemplte(item) }}</span>\r\n </li>\r\n </ng-template>\r\n </ng-template>\r\n </ng-template>\r\n </ng-container>\r\n </ng-template>\r\n </ul>\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-flex ax-items-center ax-justify-center ax-p-4\">\r\n <ax-loading text=\"{{ 'layout.loading.text' | trans }}\"></ax-loading>\r\n </div>\r\n </ng-template>\r\n </ng-container>\r\n <ng-template #tmpEmpty>\r\n <ng-container *ngIf=\"!isLoading\">\r\n <ng-container *ngIf=\"emptyTemplate; else elseEmptyTemplate\">\r\n <ng-container *ngTemplateOutlet=\"emptyTemplate\">\r\n </ng-container>\r\n </ng-container>\r\n <ng-template #elseEmptyTemplate>\r\n <div class=\"ax-list-item\">\r\n {{ 'common.no-result-found' | trans }}\r\n </div>\r\n </ng-template>\r\n </ng-container>\r\n </ng-template>\r\n\r\n </div>\r\n <!-- <div class=\"ax-list-items-container ax-vertical ax-default\" [class.ax-full]=\"_isMobile\"\r\n >\r\n \r\n </div> -->\r\n <!-- <div class=\"ax-footer\">footer</div> -->\r\n </div>\r\n </div>\r\n</ax-popover>" }]
|
|
6967
7136
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: i0.NgZone }, { type: i1$4.AXPlatform }]; }, propDecorators: { popover: [{
|
|
6968
7137
|
type: ViewChild,
|
|
6969
7138
|
args: [AXPopoverComponent, { static: true }]
|
|
7139
|
+
}], _searchBox: [{
|
|
7140
|
+
type: ContentChild,
|
|
7141
|
+
args: [AXSearchBoxComponent, { static: true }]
|
|
6970
7142
|
}], clearButton: [{
|
|
6971
7143
|
type: Input
|
|
6972
|
-
}], searchSettings: [{
|
|
6973
|
-
type: Input
|
|
6974
7144
|
}], checkbox: [{
|
|
6975
7145
|
type: Input
|
|
6976
7146
|
}], listContainer: [{
|
|
6977
7147
|
type: ViewChild,
|
|
6978
7148
|
args: ['listContainer', { static: true }]
|
|
6979
|
-
}], _searchBox: [{
|
|
6980
|
-
type: ViewChild,
|
|
6981
|
-
args: ['searchBox']
|
|
6982
7149
|
}], _contentEmptyTemplate: [{
|
|
6983
7150
|
type: ContentChild,
|
|
6984
7151
|
args: ['emptyTemplate']
|
|
@@ -6995,9 +7162,8 @@ AXSelectBoxModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", versi
|
|
|
6995
7162
|
FormsModule,
|
|
6996
7163
|
AXCheckBoxModule,
|
|
6997
7164
|
AXBadgeModule,
|
|
6998
|
-
|
|
7165
|
+
AXDecoratorModule,
|
|
6999
7166
|
AXTranslationModule,
|
|
7000
|
-
AXIconModule,
|
|
7001
7167
|
AXPopoverModule,
|
|
7002
7168
|
AXButtonModule,
|
|
7003
7169
|
AXLoadingModule,
|
|
@@ -7008,9 +7174,8 @@ AXSelectBoxModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", versi
|
|
|
7008
7174
|
FormsModule,
|
|
7009
7175
|
AXCheckBoxModule,
|
|
7010
7176
|
AXBadgeModule,
|
|
7011
|
-
|
|
7177
|
+
AXDecoratorModule,
|
|
7012
7178
|
AXTranslationModule,
|
|
7013
|
-
AXIconModule,
|
|
7014
7179
|
AXPopoverModule,
|
|
7015
7180
|
AXButtonModule,
|
|
7016
7181
|
AXLoadingModule,
|
|
@@ -7025,9 +7190,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
|
|
|
7025
7190
|
FormsModule,
|
|
7026
7191
|
AXCheckBoxModule,
|
|
7027
7192
|
AXBadgeModule,
|
|
7028
|
-
|
|
7193
|
+
AXDecoratorModule,
|
|
7029
7194
|
AXTranslationModule,
|
|
7030
|
-
AXIconModule,
|
|
7031
7195
|
AXPopoverModule,
|
|
7032
7196
|
AXButtonModule,
|
|
7033
7197
|
AXLoadingModule,
|
|
@@ -7382,11 +7546,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
|
|
|
7382
7546
|
}], ctorParameters: function () { return [{ type: i0.ViewContainerRef }]; } });
|
|
7383
7547
|
|
|
7384
7548
|
const COMPONENT$3 = [AXTabsComponent, AXTabItemComponent, AXTabContentDirective];
|
|
7385
|
-
const MODULES$3 = [CommonModule, PortalModule,
|
|
7549
|
+
const MODULES$3 = [CommonModule, PortalModule, AXDecoratorModule];
|
|
7386
7550
|
class AXTabsModule {
|
|
7387
7551
|
}
|
|
7388
7552
|
AXTabsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXTabsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
7389
|
-
AXTabsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXTabsModule, declarations: [AXTabsComponent, AXTabItemComponent, AXTabContentDirective], imports: [CommonModule, PortalModule,
|
|
7553
|
+
AXTabsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXTabsModule, declarations: [AXTabsComponent, AXTabItemComponent, AXTabContentDirective], imports: [CommonModule, PortalModule, AXDecoratorModule], exports: [AXTabsComponent, AXTabItemComponent, AXTabContentDirective] });
|
|
7390
7554
|
AXTabsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXTabsModule, providers: [], imports: [[...MODULES$3]] });
|
|
7391
7555
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXTabsModule, decorators: [{
|
|
7392
7556
|
type: NgModule,
|
|
@@ -7733,13 +7897,13 @@ class AXToastComponent extends AXBaseComponentMixin {
|
|
|
7733
7897
|
this._toastWidth = 100;
|
|
7734
7898
|
}
|
|
7735
7899
|
onInit() {
|
|
7736
|
-
this._getHostElement().classList.add(`ax-${this.options.
|
|
7900
|
+
this._getHostElement().classList.add(`ax-${this.options.color}`);
|
|
7737
7901
|
if (this.options.timeOut) {
|
|
7738
7902
|
setTimeout(() => {
|
|
7739
7903
|
this.close();
|
|
7740
7904
|
}, this.options.timeOut);
|
|
7741
7905
|
}
|
|
7742
|
-
switch (this.options.
|
|
7906
|
+
switch (this.options.color) {
|
|
7743
7907
|
case 'success':
|
|
7744
7908
|
this._icon = 'ax-ic ax-ic-check-filled';
|
|
7745
7909
|
break;
|
|
@@ -7754,25 +7918,20 @@ class AXToastComponent extends AXBaseComponentMixin {
|
|
|
7754
7918
|
break;
|
|
7755
7919
|
}
|
|
7756
7920
|
}
|
|
7757
|
-
_handleButtonClick(button) {
|
|
7758
|
-
if (button.onClick) {
|
|
7759
|
-
button.onClick(this);
|
|
7760
|
-
}
|
|
7761
|
-
}
|
|
7762
7921
|
}
|
|
7763
7922
|
AXToastComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXToastComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
7764
|
-
AXToastComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: AXToastComponent, selector: "ax-toast",
|
|
7923
|
+
AXToastComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: AXToastComponent, selector: "ax-toast", providers: [{ provide: AXClosbaleComponent, useExisting: AXToastComponent }], usesInheritance: true, ngImport: i0, template: "<!-- <div class=\"ax-toast-header\">\r\n <div class=\"ax-toast-title\">\r\n <i class=\"ax-toast-icon {{_icon}}\"></i>\r\n <span>{{options.title}}</span>\r\n </div>\r\n <i class=\"ax-ic ax-ic-close ax-toast-dismiss-icon\" *ngIf=\"options.closeable\" (click)=\"close()\"></i>\r\n</div>\r\n<div class=\"ax-toast-content\" *ngIf=\"options.content\">{{options.content}}</div> -->\r\n\r\n<!-- <ax-header>\r\n <ax-prefix>\r\n <ax-icon *ngIf=\"_icon\" [icon]=\"_icon\"></ax-icon>\r\n <ax-title [text]=\"options.title\"></ax-title>\r\n </ax-prefix>\r\n <ax-close-button *ngIf=\"options.closeable\"></ax-close-button>\r\n</ax-header>\r\n<ax-content *ngIf=\"options.content\">\r\n {{options.content}}\r\n <ax-footer *ngIf=\"options?.buttons?.length\">\r\n <ng-container >\r\n <ax-button *ngFor=\"let button of options.buttons\" [text]=\"button.text\" [text]=\"button.text\"\r\n (onClick)=\"button.onClick\" [class]=\"button.cssClass\"></ax-button>\r\n </ng-container>\r\n </ax-footer>\r\n</ax-content>\r\n<div class=\"ax-toast-progress ax-{{options.type}}\" [style.animation-duration.ms]=\"options.timeOut\"\r\n *ngIf=\"options.timeOut\">\r\n</div> -->\r\n<ax-alert [color]=\"options.color\" [look]=\"options.look\" [timeOut]=\"options.timeOut\">\r\n <ax-header *ngIf=\"options.title\">\r\n <ax-icon *ngIf=\"_icon\" [icon]=\"_icon\"></ax-icon>\r\n <ax-title [text]=\"options.title\"></ax-title>\r\n </ax-header>\r\n <ax-content *ngIf=\"options.content\">\r\n <ax-icon *ngIf=\"_icon && !options.title\" [icon]=\"_icon\"></ax-icon>\r\n {{options.content}}\r\n </ax-content>\r\n <ax-footer *ngIf=\"options?.buttons?.length\">\r\n <ng-container>\r\n <ax-button *ngFor=\"let button of options.buttons\" [text]=\"button.text\" [text]=\"button.text\"\r\n (onClick)=\"button.onClick\" [class]=\"button.cssClass\"></ax-button>\r\n </ng-container>\r\n </ax-footer>\r\n</ax-alert>", components: [{ type: AXAlertComponent, selector: "ax-alert", inputs: ["color", "look", "timeOut", "visible"] }, { type: AXDecoratorHeaderComponent, selector: "ax-header" }, { type: AXDecoratorIconComponent, selector: "ax-icon", inputs: ["icon"] }, { type: AXDecoratorTitleComponent, selector: "ax-title", inputs: ["text"] }, { type: AXDecoratorContentComponent, selector: "ax-content" }, { type: AXDecoratorFooterComponent, selector: "ax-footer" }, { type: AXButtonComponent, selector: "ax-button", inputs: ["disabled", "tabIndex", "size", "color", "look", "text", "submitBehavior", "cancelBehavior", "toggleable", "selected"], outputs: ["onBlur", "onFocus", "onClick", "selectedChange", "toggleableChange"] }], directives: [{ type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1$1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
7765
7924
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXToastComponent, decorators: [{
|
|
7766
7925
|
type: Component,
|
|
7767
|
-
args: [{ selector: 'ax-toast', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None,
|
|
7926
|
+
args: [{ selector: 'ax-toast', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, providers: [{ provide: AXClosbaleComponent, useExisting: AXToastComponent }], template: "<!-- <div class=\"ax-toast-header\">\r\n <div class=\"ax-toast-title\">\r\n <i class=\"ax-toast-icon {{_icon}}\"></i>\r\n <span>{{options.title}}</span>\r\n </div>\r\n <i class=\"ax-ic ax-ic-close ax-toast-dismiss-icon\" *ngIf=\"options.closeable\" (click)=\"close()\"></i>\r\n</div>\r\n<div class=\"ax-toast-content\" *ngIf=\"options.content\">{{options.content}}</div> -->\r\n\r\n<!-- <ax-header>\r\n <ax-prefix>\r\n <ax-icon *ngIf=\"_icon\" [icon]=\"_icon\"></ax-icon>\r\n <ax-title [text]=\"options.title\"></ax-title>\r\n </ax-prefix>\r\n <ax-close-button *ngIf=\"options.closeable\"></ax-close-button>\r\n</ax-header>\r\n<ax-content *ngIf=\"options.content\">\r\n {{options.content}}\r\n <ax-footer *ngIf=\"options?.buttons?.length\">\r\n <ng-container >\r\n <ax-button *ngFor=\"let button of options.buttons\" [text]=\"button.text\" [text]=\"button.text\"\r\n (onClick)=\"button.onClick\" [class]=\"button.cssClass\"></ax-button>\r\n </ng-container>\r\n </ax-footer>\r\n</ax-content>\r\n<div class=\"ax-toast-progress ax-{{options.type}}\" [style.animation-duration.ms]=\"options.timeOut\"\r\n *ngIf=\"options.timeOut\">\r\n</div> -->\r\n<ax-alert [color]=\"options.color\" [look]=\"options.look\" [timeOut]=\"options.timeOut\">\r\n <ax-header *ngIf=\"options.title\">\r\n <ax-icon *ngIf=\"_icon\" [icon]=\"_icon\"></ax-icon>\r\n <ax-title [text]=\"options.title\"></ax-title>\r\n </ax-header>\r\n <ax-content *ngIf=\"options.content\">\r\n <ax-icon *ngIf=\"_icon && !options.title\" [icon]=\"_icon\"></ax-icon>\r\n {{options.content}}\r\n </ax-content>\r\n <ax-footer *ngIf=\"options?.buttons?.length\">\r\n <ng-container>\r\n <ax-button *ngFor=\"let button of options.buttons\" [text]=\"button.text\" [text]=\"button.text\"\r\n (onClick)=\"button.onClick\" [class]=\"button.cssClass\"></ax-button>\r\n </ng-container>\r\n </ax-footer>\r\n</ax-alert>" }]
|
|
7768
7927
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; } });
|
|
7769
7928
|
|
|
7770
7929
|
const COMPONENT$1 = [AXToastComponent];
|
|
7771
|
-
const MODULES$1 = [CommonModule, AXButtonModule];
|
|
7930
|
+
const MODULES$1 = [CommonModule, AXButtonModule, AXDecoratorModule, AXAlertModule];
|
|
7772
7931
|
class AXToastModule {
|
|
7773
7932
|
}
|
|
7774
7933
|
AXToastModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXToastModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
7775
|
-
AXToastModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXToastModule, declarations: [AXToastComponent], imports: [CommonModule, AXButtonModule], exports: [AXToastComponent] });
|
|
7934
|
+
AXToastModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXToastModule, declarations: [AXToastComponent], imports: [CommonModule, AXButtonModule, AXDecoratorModule, AXAlertModule], exports: [AXToastComponent] });
|
|
7776
7935
|
AXToastModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXToastModule, providers: [], imports: [[...MODULES$1]] });
|
|
7777
7936
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXToastModule, decorators: [{
|
|
7778
7937
|
type: NgModule,
|
|
@@ -7790,32 +7949,60 @@ class AXToastService {
|
|
|
7790
7949
|
this.parentInjector = parentInjector;
|
|
7791
7950
|
this._activeList = [];
|
|
7792
7951
|
}
|
|
7952
|
+
primary(content) {
|
|
7953
|
+
this.show({
|
|
7954
|
+
timeOut: 2500,
|
|
7955
|
+
color: 'primary',
|
|
7956
|
+
content: content
|
|
7957
|
+
});
|
|
7958
|
+
}
|
|
7959
|
+
secondary(content) {
|
|
7960
|
+
this.show({
|
|
7961
|
+
timeOut: 2500,
|
|
7962
|
+
color: 'secondary',
|
|
7963
|
+
content: content
|
|
7964
|
+
});
|
|
7965
|
+
}
|
|
7793
7966
|
info(content) {
|
|
7794
7967
|
this.show({
|
|
7795
7968
|
timeOut: 2500,
|
|
7796
|
-
|
|
7797
|
-
|
|
7969
|
+
color: 'info',
|
|
7970
|
+
content: content
|
|
7798
7971
|
});
|
|
7799
7972
|
}
|
|
7800
7973
|
success(content) {
|
|
7801
7974
|
this.show({
|
|
7802
7975
|
timeOut: 2500,
|
|
7803
|
-
|
|
7804
|
-
|
|
7976
|
+
color: 'success',
|
|
7977
|
+
content: content
|
|
7805
7978
|
});
|
|
7806
7979
|
}
|
|
7807
7980
|
warning(content) {
|
|
7808
7981
|
this.show({
|
|
7809
7982
|
timeOut: 2500,
|
|
7810
|
-
|
|
7811
|
-
|
|
7983
|
+
color: 'warning',
|
|
7984
|
+
content: content
|
|
7812
7985
|
});
|
|
7813
7986
|
}
|
|
7814
7987
|
danger(content) {
|
|
7815
7988
|
this.show({
|
|
7816
7989
|
timeOut: 2500,
|
|
7817
|
-
|
|
7818
|
-
|
|
7990
|
+
color: 'danger',
|
|
7991
|
+
content: content
|
|
7992
|
+
});
|
|
7993
|
+
}
|
|
7994
|
+
light(content) {
|
|
7995
|
+
this.show({
|
|
7996
|
+
timeOut: 2500,
|
|
7997
|
+
color: 'light',
|
|
7998
|
+
content: content
|
|
7999
|
+
});
|
|
8000
|
+
}
|
|
8001
|
+
dark(content) {
|
|
8002
|
+
this.show({
|
|
8003
|
+
timeOut: 2500,
|
|
8004
|
+
color: 'dark',
|
|
8005
|
+
content: content
|
|
7819
8006
|
});
|
|
7820
8007
|
}
|
|
7821
8008
|
show(options) {
|
|
@@ -8289,5 +8476,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
|
|
|
8289
8476
|
* Generated bundle index. Do not edit.
|
|
8290
8477
|
*/
|
|
8291
8478
|
|
|
8292
|
-
export { AXActionSheetComponent, AXActionSheetItemComponent, AXActionSheetModule, AXAlertButtonComponent, AXAlertComponent,
|
|
8479
|
+
export { AXActionSheetComponent, AXActionSheetItemComponent, AXActionSheetModule, AXAlertButtonComponent, AXAlertComponent, AXAlertModule, AXAvatarComponent, AXAvatarGroup, AXAvatarMixin, AXAvatarModule, AXBadgeComponent, AXBadgeModule, AXBaseAlertMixin, AXBaseBadgeMixin, AXBaseButtonMixin, AXBaseClickableMixin, AXBaseComponent, AXBaseComponentMixin, AXBaseDatePickerMixin, AXBaseDropdownMixin, AXBaseItemButtonMixin, AXBaseMenuMixin, AXBasePageComponent, AXBaseSelectionDropdownMixin, AXBaseSelectionValueMixin, AXBaseTabItemMixin, AXBaseTextBoxMixin, AXBaseValueComponentMixin, AXBaseValueDropdownMixin, AXBreadCrumbsComponent, AXBreadCrumbsItemComponent, AXBreadcrumbsModule, AXButtonClickEvent, AXButtonComponent, AXButtonGroupComponent, AXButtonItemComponent, AXButtonModule, AXCalendarComponent, AXCalendarComponentMixin, AXCalendarModule, AXCarouselArrowsComponent, AXCarouselComponent, AXCarouselCore, AXCarouselItemComponent, AXCarouselModule, AXCarouselPagerComponent, AXCheckBoxComponent, AXCheckBoxModule, AXClickEvent, AXClosbaleComponent, AXCollapseComponent, AXCollapseGroupComponent, AXCollapseModule, AXCommonModule, AXDataListComponent, AXDataListModule, AXDatePickerComponent, AXDatepickerModule, AXDecoratorAddOnComponent, AXDecoratorCloseButtonComponent, AXDecoratorContentComponent, AXDecoratorFooterComponent, AXDecoratorHeaderComponent, AXDecoratorIconComponent, AXDecoratorModule, AXDecoratorPrefixComponent, AXDecoratorSuffixComponent, AXDecoratorTitleComponent, AXDialogComponent, AXDialogModule, AXDialogService, AXDrawerComponent, AXDrawerContainerComponent, AXDrawerModule, AXDropdownModule, AXDropdownPanelComponent, AXEvent, AXFocusEvent, AXFormComponent, AXFormFieldComponent, AXFormHintComponent, AXFormModule, AXHtmlEvent, AXInfiniteScrollerDirective, AXInputMaskComponent, AXInputMaskModule, AXInteractiveComponenetMixin, AXItemClickEvent, AXLabelComponent, AXLabelModule, AXLoadingComponent, AXLoadingDirective, AXLoadingModule, AXLoadingService, AXLoadingSpinnerComponent, AXMenuComponent, AXMenuModule, AXNumberBoxComponent, AXNumberBoxModule, AXOverlayService, AXPageCloseEvent, AXPageClosedPromise, AXPageClosing, AXPageComponent, AXPageModule, AXPageResult, AXPasswordBoxComponent, AXPasswordBoxModule, AXPickerComponent, AXPickerModule, AXPopoverComponent, AXPopoverModule, AXPopupComponent, AXPopupModule, AXPopupService, AXProgressBarComponent, AXProgressBarModule, AXRadioComponent, AXRadioModule, AXRangeChangedEvent, AXRangeSliderComponent, AXRangeSliderModule, AXRatingComponent, AXRatingModule, AXResponsiveDirective, AXResultComponent, AXResultModule, AXSearchBoxComponent, AXSearchBoxModule, AXSearchableComponent, AXSelectBoxComponent, AXSelectBoxModule, AXSelectionListComponent, AXSelectionListModule, AXSelectionValueChangedEvent, AXSizableComponentMixin, AXSwitchComponent, AXSwitchModule, AXTabContentDirective, AXTabItemComponent, AXTabStripChangedEvent, AXTabsComponent, AXTabsModule, AXTextBoxComponent, AXTextBoxModule, AXTextareaComponent, AXTextareaModule, AXTimeBoxComponent, AXTimeBoxModule, AXToastComponent, AXToastModule, AXToastService, AXTooltipComponent, AXTooltipDirective, AXTooltipModule, AXTreeViewComponent, AXTreeViewModule, AXValidationModule, AXValidationRuleComponent, AXValidationRules, AXValueChangedEvent, AX_DIRECTIONS, AX_LOCATIONS, AX_STYLE_TYPES, BASE_INPUTS, BASE_OUTPUT, TAB_META_KEY, _BaseComponenetMixin };
|
|
8293
8480
|
//# sourceMappingURL=acorex-components.mjs.map
|