@acorex/components 5.3.2 → 5.4.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/base/components.class.mjs +8 -1
- package/esm2020/lib/base/mixin/base-menu-mixin.class.mjs +6 -3
- package/esm2020/lib/color-palette/color-palette-input.component.mjs +67 -0
- package/esm2020/lib/color-palette/color-palette-picker.component.mjs +17 -0
- package/esm2020/lib/color-palette/color-palette-preview.component.mjs +36 -0
- package/esm2020/lib/color-palette/color-palette-swatches.component.mjs +261 -0
- package/esm2020/lib/color-palette/color-palette.class.mjs +10 -0
- package/esm2020/lib/color-palette/color-palette.component.mjs +46 -0
- package/esm2020/lib/color-palette/color-palette.module.mjs +54 -0
- package/esm2020/lib/color-palette/index.mjs +7 -0
- package/esm2020/lib/color-picker/color-picker.component.mjs +19 -262
- package/esm2020/lib/color-picker/color-picker.module.mjs +12 -6
- package/esm2020/lib/menu/menu.component.mjs +31 -5
- package/esm2020/lib/selectbox/selectbox.component.mjs +2 -1
- package/esm2020/public-api.mjs +2 -1
- package/fesm2015/acorex-components.mjs +1396 -1154
- package/fesm2015/acorex-components.mjs.map +1 -1
- package/fesm2020/acorex-components.mjs +1252 -1014
- package/fesm2020/acorex-components.mjs.map +1 -1
- package/lib/base/components.class.d.ts +8 -0
- package/lib/base/mixin/base-menu-mixin.class.d.ts +1 -1
- package/lib/base/mixin/mixin.class.d.ts +1 -1
- package/lib/color-palette/color-palette-input.component.d.ts +15 -0
- package/lib/color-palette/color-palette-picker.component.d.ts +8 -0
- package/lib/color-palette/color-palette-preview.component.d.ts +12 -0
- package/lib/color-palette/color-palette-swatches.component.d.ts +16 -0
- package/lib/color-palette/color-palette.class.d.ts +12 -0
- package/lib/color-palette/color-palette.component.d.ts +18 -0
- package/lib/color-palette/color-palette.module.d.ts +17 -0
- package/lib/color-palette/index.d.ts +6 -0
- package/lib/color-picker/color-picker.component.d.ts +159 -35
- package/lib/color-picker/color-picker.module.d.ts +2 -1
- package/lib/menu/menu.component.d.ts +8 -2
- package/package.json +4 -4
- package/public-api.d.ts +1 -0
|
@@ -4,11 +4,11 @@ import { Injectable, Inject, EventEmitter, Directive, Input, TemplateRef, NgModu
|
|
|
4
4
|
import { __classPrivateFieldSet, __classPrivateFieldGet, __awaiter } from 'tslib';
|
|
5
5
|
import _ from 'lodash';
|
|
6
6
|
import { coerceBooleanProperty, coerceNumberProperty } from '@angular/cdk/coercion';
|
|
7
|
-
import * as i1$
|
|
8
|
-
import { AXObjectUtil, AXConfig, AXDateTime, AXDateTimeRange, AXDateTimeModule, AXDrawingUtil, AXTranslator, AXTranslationModule, AXStringUtil } from '@acorex/core';
|
|
7
|
+
import * as i1$4 from '@acorex/core';
|
|
8
|
+
import { AXObjectUtil, AXConfig, AXDateTime, AXDateTimeRange, AXDateTimeModule, AXColorUtil, AXDrawingUtil, AXTranslator, AXTranslationModule, AXStringUtil } from '@acorex/core';
|
|
9
9
|
import { Subscription, Subject, fromEvent, merge, asyncScheduler, BehaviorSubject } from 'rxjs';
|
|
10
10
|
import { debounceTime, distinctUntilChanged, map, pairwise, filter, startWith, exhaustMap, throttleTime, observeOn, finalize } from 'rxjs/operators';
|
|
11
|
-
import * as i1$
|
|
11
|
+
import * as i1$5 from '@angular/cdk/portal';
|
|
12
12
|
import { TemplatePortal, ComponentPortal, PortalModule } from '@angular/cdk/portal';
|
|
13
13
|
import * as i1 from '@angular/cdk/overlay';
|
|
14
14
|
import { OverlayContainer, Overlay, OverlayModule } from '@angular/cdk/overlay';
|
|
@@ -17,15 +17,15 @@ import { DOCUMENT, CommonModule } from '@angular/common';
|
|
|
17
17
|
import * as i2 from '@angular/cdk/bidi';
|
|
18
18
|
import * as i1$2 from '@angular/forms';
|
|
19
19
|
import { FormsModule } from '@angular/forms';
|
|
20
|
-
import
|
|
21
|
-
import
|
|
22
|
-
import
|
|
20
|
+
import IMask from 'imask';
|
|
21
|
+
import * as i5 from 'angular-imask';
|
|
22
|
+
import { IMaskDirective, IMaskModule } from 'angular-imask';
|
|
23
|
+
import * as i1$3 from 'ngx-mask';
|
|
23
24
|
import { NgxMaskModule } from 'ngx-mask';
|
|
25
|
+
import * as i7 from '@angular/cdk/a11y';
|
|
26
|
+
import { A11yModule } from '@angular/cdk/a11y';
|
|
24
27
|
import * as i3 from '@angular/cdk/drag-drop';
|
|
25
28
|
import { DragDropModule } from '@angular/cdk/drag-drop';
|
|
26
|
-
import IMask from 'imask';
|
|
27
|
-
import * as i5 from 'angular-imask';
|
|
28
|
-
import { IMaskModule, IMaskDirective } from 'angular-imask';
|
|
29
29
|
|
|
30
30
|
var _AXBaseComponent_elementRef;
|
|
31
31
|
class AXBaseComponent {
|
|
@@ -197,14 +197,17 @@ function _BaseMenuComponentMixin(Base) {
|
|
|
197
197
|
});
|
|
198
198
|
}
|
|
199
199
|
}
|
|
200
|
-
_fetchData(parentId) {
|
|
200
|
+
_fetchData(parentId, searchText) {
|
|
201
201
|
return new Promise((resolve) => {
|
|
202
202
|
if (__classPrivateFieldGet(this, _isLoading, "f")) {
|
|
203
203
|
return;
|
|
204
204
|
}
|
|
205
205
|
if (__classPrivateFieldGet(this, _items, "f")) {
|
|
206
206
|
__classPrivateFieldSet(this, _isLoading, true, "f");
|
|
207
|
-
__classPrivateFieldGet(this, _items, "f").call(this, {
|
|
207
|
+
__classPrivateFieldGet(this, _items, "f").call(this, {
|
|
208
|
+
parentId: parentId,
|
|
209
|
+
searchQuery: searchText,
|
|
210
|
+
})
|
|
208
211
|
.then((c) => {
|
|
209
212
|
if (Array.isArray(c)) {
|
|
210
213
|
if (parentId) {
|
|
@@ -1211,6 +1214,13 @@ AXSearchableComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", ve
|
|
|
1211
1214
|
AXSearchableComponent.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXSearchableComponent });
|
|
1212
1215
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXSearchableComponent, decorators: [{
|
|
1213
1216
|
type: Injectable
|
|
1217
|
+
}] });
|
|
1218
|
+
class AXValuableComponent {
|
|
1219
|
+
}
|
|
1220
|
+
AXValuableComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXValuableComponent, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1221
|
+
AXValuableComponent.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXValuableComponent });
|
|
1222
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXValuableComponent, decorators: [{
|
|
1223
|
+
type: Injectable
|
|
1214
1224
|
}] });
|
|
1215
1225
|
|
|
1216
1226
|
/**
|
|
@@ -1862,17 +1872,17 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.9", ngImpor
|
|
|
1862
1872
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: i0.NgZone }]; } });
|
|
1863
1873
|
|
|
1864
1874
|
const COMPONENT$o = [AXDrawerComponent, AXDrawerContainerComponent];
|
|
1865
|
-
const MODULES$
|
|
1875
|
+
const MODULES$p = [CommonModule];
|
|
1866
1876
|
class AXDrawerModule {
|
|
1867
1877
|
}
|
|
1868
1878
|
AXDrawerModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXDrawerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1869
1879
|
AXDrawerModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXDrawerModule, declarations: [AXDrawerComponent, AXDrawerContainerComponent], imports: [CommonModule], exports: [AXDrawerComponent, AXDrawerContainerComponent] });
|
|
1870
|
-
AXDrawerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXDrawerModule, providers: [], imports: [[...MODULES$
|
|
1880
|
+
AXDrawerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXDrawerModule, providers: [], imports: [[...MODULES$p]] });
|
|
1871
1881
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXDrawerModule, decorators: [{
|
|
1872
1882
|
type: NgModule,
|
|
1873
1883
|
args: [{
|
|
1874
1884
|
declarations: [...COMPONENT$o],
|
|
1875
|
-
imports: [...MODULES$
|
|
1885
|
+
imports: [...MODULES$p],
|
|
1876
1886
|
exports: [...COMPONENT$o],
|
|
1877
1887
|
providers: [],
|
|
1878
1888
|
}]
|
|
@@ -2294,7 +2304,7 @@ const COMPONENT$n = [
|
|
|
2294
2304
|
AXDecoratorTitleComponent,
|
|
2295
2305
|
AXDecoratorCloseButtonComponent
|
|
2296
2306
|
];
|
|
2297
|
-
const MODULES$
|
|
2307
|
+
const MODULES$o = [CommonModule];
|
|
2298
2308
|
class AXDecoratorModule {
|
|
2299
2309
|
}
|
|
2300
2310
|
AXDecoratorModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXDecoratorModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
@@ -2315,12 +2325,12 @@ AXDecoratorModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", versi
|
|
|
2315
2325
|
AXDecoratorIconComponent,
|
|
2316
2326
|
AXDecoratorTitleComponent,
|
|
2317
2327
|
AXDecoratorCloseButtonComponent] });
|
|
2318
|
-
AXDecoratorModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXDecoratorModule, providers: [], imports: [[...MODULES$
|
|
2328
|
+
AXDecoratorModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXDecoratorModule, providers: [], imports: [[...MODULES$o]] });
|
|
2319
2329
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXDecoratorModule, decorators: [{
|
|
2320
2330
|
type: NgModule,
|
|
2321
2331
|
args: [{
|
|
2322
2332
|
declarations: [...COMPONENT$n],
|
|
2323
|
-
imports: [...MODULES$
|
|
2333
|
+
imports: [...MODULES$o],
|
|
2324
2334
|
exports: [...COMPONENT$n],
|
|
2325
2335
|
providers: [],
|
|
2326
2336
|
}]
|
|
@@ -2331,7 +2341,7 @@ const COMPONENT$m = [
|
|
|
2331
2341
|
AXButtonItemComponent,
|
|
2332
2342
|
AXButtonGroupComponent,
|
|
2333
2343
|
];
|
|
2334
|
-
const MODULES$
|
|
2344
|
+
const MODULES$n = [CommonModule, AXDecoratorModule];
|
|
2335
2345
|
class AXButtonModule {
|
|
2336
2346
|
}
|
|
2337
2347
|
AXButtonModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXButtonModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
@@ -2340,11 +2350,11 @@ AXButtonModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version:
|
|
|
2340
2350
|
AXButtonGroupComponent], imports: [CommonModule, AXDecoratorModule], exports: [AXButtonComponent,
|
|
2341
2351
|
AXButtonItemComponent,
|
|
2342
2352
|
AXButtonGroupComponent] });
|
|
2343
|
-
AXButtonModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXButtonModule, providers: [], imports: [[MODULES$
|
|
2353
|
+
AXButtonModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXButtonModule, providers: [], imports: [[MODULES$n]] });
|
|
2344
2354
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXButtonModule, decorators: [{
|
|
2345
2355
|
type: NgModule,
|
|
2346
2356
|
args: [{
|
|
2347
|
-
imports: [MODULES$
|
|
2357
|
+
imports: [MODULES$n],
|
|
2348
2358
|
exports: [COMPONENT$m],
|
|
2349
2359
|
declarations: [COMPONENT$m],
|
|
2350
2360
|
providers: [],
|
|
@@ -2542,19 +2552,19 @@ const COMPONENT$l = [
|
|
|
2542
2552
|
AXAlertComponent,
|
|
2543
2553
|
AXAlertButtonComponent
|
|
2544
2554
|
];
|
|
2545
|
-
const MODULES$
|
|
2555
|
+
const MODULES$m = [CommonModule, AXDecoratorModule];
|
|
2546
2556
|
class AXAlertModule {
|
|
2547
2557
|
}
|
|
2548
2558
|
AXAlertModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXAlertModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
2549
2559
|
AXAlertModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXAlertModule, declarations: [AXAlertComponent,
|
|
2550
2560
|
AXAlertButtonComponent], imports: [CommonModule, AXDecoratorModule], exports: [AXAlertComponent,
|
|
2551
2561
|
AXAlertButtonComponent] });
|
|
2552
|
-
AXAlertModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXAlertModule, providers: [], imports: [[...MODULES$
|
|
2562
|
+
AXAlertModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXAlertModule, providers: [], imports: [[...MODULES$m]] });
|
|
2553
2563
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXAlertModule, decorators: [{
|
|
2554
2564
|
type: NgModule,
|
|
2555
2565
|
args: [{
|
|
2556
2566
|
declarations: [...COMPONENT$l],
|
|
2557
|
-
imports: [...MODULES$
|
|
2567
|
+
imports: [...MODULES$m],
|
|
2558
2568
|
exports: [...COMPONENT$l],
|
|
2559
2569
|
providers: [],
|
|
2560
2570
|
}]
|
|
@@ -2613,17 +2623,17 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.9", ngImpor
|
|
|
2613
2623
|
}] } });
|
|
2614
2624
|
|
|
2615
2625
|
const COMPONENT$k = [AXAvatarComponent, AXAvatarGroup];
|
|
2616
|
-
const MODULES$
|
|
2626
|
+
const MODULES$l = [CommonModule];
|
|
2617
2627
|
class AXAvatarModule {
|
|
2618
2628
|
}
|
|
2619
2629
|
AXAvatarModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXAvatarModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
2620
2630
|
AXAvatarModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXAvatarModule, declarations: [AXAvatarComponent, AXAvatarGroup], imports: [CommonModule], exports: [AXAvatarComponent, AXAvatarGroup] });
|
|
2621
|
-
AXAvatarModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXAvatarModule, providers: [], imports: [[...MODULES$
|
|
2631
|
+
AXAvatarModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXAvatarModule, providers: [], imports: [[...MODULES$l]] });
|
|
2622
2632
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXAvatarModule, decorators: [{
|
|
2623
2633
|
type: NgModule,
|
|
2624
2634
|
args: [{
|
|
2625
2635
|
declarations: [...COMPONENT$k],
|
|
2626
|
-
imports: [...MODULES$
|
|
2636
|
+
imports: [...MODULES$l],
|
|
2627
2637
|
exports: [...COMPONENT$k],
|
|
2628
2638
|
providers: [],
|
|
2629
2639
|
}]
|
|
@@ -2654,17 +2664,17 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.9", ngImpor
|
|
|
2654
2664
|
}] } });
|
|
2655
2665
|
|
|
2656
2666
|
const COMPONENT$j = [AXBadgeComponent];
|
|
2657
|
-
const MODULES$
|
|
2667
|
+
const MODULES$k = [CommonModule];
|
|
2658
2668
|
class AXBadgeModule {
|
|
2659
2669
|
}
|
|
2660
2670
|
AXBadgeModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXBadgeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
2661
2671
|
AXBadgeModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXBadgeModule, declarations: [AXBadgeComponent], imports: [CommonModule], exports: [AXBadgeComponent] });
|
|
2662
|
-
AXBadgeModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXBadgeModule, providers: [], imports: [[...MODULES$
|
|
2672
|
+
AXBadgeModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXBadgeModule, providers: [], imports: [[...MODULES$k]] });
|
|
2663
2673
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXBadgeModule, decorators: [{
|
|
2664
2674
|
type: NgModule,
|
|
2665
2675
|
args: [{
|
|
2666
2676
|
declarations: [...COMPONENT$j],
|
|
2667
|
-
imports: [...MODULES$
|
|
2677
|
+
imports: [...MODULES$k],
|
|
2668
2678
|
exports: [...COMPONENT$j],
|
|
2669
2679
|
providers: [],
|
|
2670
2680
|
}]
|
|
@@ -4109,17 +4119,17 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.9", ngImpor
|
|
|
4109
4119
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: AXCarouselComponent }]; } });
|
|
4110
4120
|
|
|
4111
4121
|
const COMPONENT$i = [AXCarouselComponent, AXCarouselItemComponent, AXCarouselArrowsComponent, AXCarouselPagerComponent];
|
|
4112
|
-
const MODULES$
|
|
4122
|
+
const MODULES$j = [CommonModule];
|
|
4113
4123
|
class AXCarouselModule {
|
|
4114
4124
|
}
|
|
4115
4125
|
AXCarouselModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXCarouselModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
4116
4126
|
AXCarouselModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXCarouselModule, declarations: [AXCarouselComponent, AXCarouselItemComponent, AXCarouselArrowsComponent, AXCarouselPagerComponent], imports: [CommonModule], exports: [AXCarouselComponent, AXCarouselItemComponent, AXCarouselArrowsComponent, AXCarouselPagerComponent] });
|
|
4117
|
-
AXCarouselModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXCarouselModule, providers: [], imports: [[...MODULES$
|
|
4127
|
+
AXCarouselModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXCarouselModule, providers: [], imports: [[...MODULES$j]] });
|
|
4118
4128
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXCarouselModule, decorators: [{
|
|
4119
4129
|
type: NgModule,
|
|
4120
4130
|
args: [{
|
|
4121
4131
|
declarations: [...COMPONENT$i],
|
|
4122
|
-
imports: [...MODULES$
|
|
4132
|
+
imports: [...MODULES$j],
|
|
4123
4133
|
exports: [...COMPONENT$i],
|
|
4124
4134
|
providers: [],
|
|
4125
4135
|
}]
|
|
@@ -4141,17 +4151,17 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.9", ngImpor
|
|
|
4141
4151
|
}] });
|
|
4142
4152
|
|
|
4143
4153
|
const COMPONENT$h = [AXCalendarComponent];
|
|
4144
|
-
const MODULES$
|
|
4154
|
+
const MODULES$i = [CommonModule, AXButtonModule, AXDecoratorModule, AXDateTimeModule, AXPickerModule];
|
|
4145
4155
|
class AXCalendarModule {
|
|
4146
4156
|
}
|
|
4147
4157
|
AXCalendarModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXCalendarModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
4148
4158
|
AXCalendarModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.9", 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.9", ngImport: i0, type: AXCalendarModule, providers: [], imports: [[...MODULES$
|
|
4159
|
+
AXCalendarModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXCalendarModule, providers: [], imports: [[...MODULES$i]] });
|
|
4150
4160
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXCalendarModule, decorators: [{
|
|
4151
4161
|
type: NgModule,
|
|
4152
4162
|
args: [{
|
|
4153
4163
|
declarations: [...COMPONENT$h],
|
|
4154
|
-
imports: [...MODULES$
|
|
4164
|
+
imports: [...MODULES$i],
|
|
4155
4165
|
exports: [...COMPONENT$h],
|
|
4156
4166
|
providers: [],
|
|
4157
4167
|
}]
|
|
@@ -4207,783 +4217,1258 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.9", ngImpor
|
|
|
4207
4217
|
}]
|
|
4208
4218
|
}] });
|
|
4209
4219
|
|
|
4210
|
-
class
|
|
4211
|
-
|
|
4212
|
-
|
|
4213
|
-
|
|
4214
|
-
|
|
4215
|
-
|
|
4216
|
-
|
|
4217
|
-
|
|
4218
|
-
|
|
4219
|
-
|
|
4220
|
-
|
|
4221
|
-
|
|
4222
|
-
|
|
4223
|
-
this.
|
|
4224
|
-
this.
|
|
4225
|
-
|
|
4226
|
-
|
|
4227
|
-
|
|
4228
|
-
|
|
4229
|
-
this.isCollapsed = !this.isCollapsed;
|
|
4220
|
+
class AXColorComponent {
|
|
4221
|
+
}
|
|
4222
|
+
AXColorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXColorComponent, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4223
|
+
AXColorComponent.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXColorComponent });
|
|
4224
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXColorComponent, decorators: [{
|
|
4225
|
+
type: Injectable
|
|
4226
|
+
}] });
|
|
4227
|
+
|
|
4228
|
+
class AXColorPalettePreviewComponent extends AXBaseComponent {
|
|
4229
|
+
constructor(_elementRef, _cdr, _parent) {
|
|
4230
|
+
super(_elementRef, _cdr);
|
|
4231
|
+
this._parent = _parent;
|
|
4232
|
+
_parent === null || _parent === void 0 ? void 0 : _parent._onInternalColorChanged$.subscribe(e => {
|
|
4233
|
+
this._colorCode = AXColorUtil.to(e.color, e.mode);
|
|
4234
|
+
this._getHostElement().style.backgroundColor = e.color;
|
|
4235
|
+
const color = AXColorUtil.toHex(e.color);
|
|
4236
|
+
const ratio = AXColorUtil.contrastToWhite(color);
|
|
4237
|
+
this._getHostElement().style.color = !(ratio > 2.0) ? '#000' : '#fff';
|
|
4238
|
+
});
|
|
4230
4239
|
}
|
|
4240
|
+
ngOnInit() { }
|
|
4231
4241
|
}
|
|
4232
|
-
|
|
4233
|
-
|
|
4234
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type:
|
|
4242
|
+
AXColorPalettePreviewComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXColorPalettePreviewComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: AXColorComponent, optional: true }], target: i0.ɵɵFactoryTarget.Component });
|
|
4243
|
+
AXColorPalettePreviewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.9", type: AXColorPalettePreviewComponent, selector: "ax-color-palette-preview", usesInheritance: true, ngImport: i0, template: `{{_colorCode}}`, isInline: true, encapsulation: i0.ViewEncapsulation.None });
|
|
4244
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXColorPalettePreviewComponent, decorators: [{
|
|
4235
4245
|
type: Component,
|
|
4236
|
-
args: [{
|
|
4237
|
-
|
|
4238
|
-
|
|
4239
|
-
|
|
4240
|
-
|
|
4241
|
-
|
|
4242
|
-
|
|
4243
|
-
|
|
4244
|
-
|
|
4245
|
-
|
|
4246
|
-
|
|
4246
|
+
args: [{
|
|
4247
|
+
selector: 'ax-color-palette-preview',
|
|
4248
|
+
template: `{{_colorCode}}`,
|
|
4249
|
+
encapsulation: ViewEncapsulation.None
|
|
4250
|
+
}]
|
|
4251
|
+
}], ctorParameters: function () {
|
|
4252
|
+
return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: AXColorComponent, decorators: [{
|
|
4253
|
+
type: Optional
|
|
4254
|
+
}, {
|
|
4255
|
+
type: Inject,
|
|
4256
|
+
args: [AXColorComponent]
|
|
4257
|
+
}] }];
|
|
4258
|
+
} });
|
|
4247
4259
|
|
|
4248
|
-
class
|
|
4249
|
-
constructor(
|
|
4250
|
-
super(
|
|
4251
|
-
this.
|
|
4252
|
-
this.
|
|
4253
|
-
this.
|
|
4254
|
-
|
|
4255
|
-
|
|
4256
|
-
|
|
4257
|
-
|
|
4258
|
-
|
|
4259
|
-
|
|
4260
|
-
|
|
4261
|
-
|
|
4262
|
-
|
|
4263
|
-
|
|
4264
|
-
|
|
4265
|
-
|
|
4266
|
-
}
|
|
4260
|
+
class AXColorPaletteSwatchesComponent extends AXBaseComponent {
|
|
4261
|
+
constructor(_elementRef, _cdr, _parent) {
|
|
4262
|
+
super(_elementRef, _cdr);
|
|
4263
|
+
this._parent = _parent;
|
|
4264
|
+
this.colors = [];
|
|
4265
|
+
this._defaultPalette = [
|
|
4266
|
+
{ code: '#000000' },
|
|
4267
|
+
{ code: '#ffffff' },
|
|
4268
|
+
// Amber
|
|
4269
|
+
{ code: '#fff8e1' },
|
|
4270
|
+
{ code: '#ffecb3' },
|
|
4271
|
+
{ code: '#ffe082' },
|
|
4272
|
+
{ code: '#ffd54f' },
|
|
4273
|
+
{ code: '#ffca28' },
|
|
4274
|
+
{ code: '#ffc107' },
|
|
4275
|
+
{ code: '#ffb300' },
|
|
4276
|
+
{ code: '#ffa000' },
|
|
4277
|
+
{ code: '#ff8f00' },
|
|
4278
|
+
{ code: '#ff6f00' },
|
|
4279
|
+
// Blue Grey
|
|
4280
|
+
{ code: '#ECEFF1' },
|
|
4281
|
+
{ code: '#CFD8DC' },
|
|
4282
|
+
{ code: '#B0BEC5' },
|
|
4283
|
+
{ code: '#90A4AE' },
|
|
4284
|
+
{ code: '#78909C' },
|
|
4285
|
+
{ code: '#607D8B' },
|
|
4286
|
+
{ code: '#546E7A' },
|
|
4287
|
+
{ code: '#455A64' },
|
|
4288
|
+
{ code: '#37474F' },
|
|
4289
|
+
{ code: '#263238' },
|
|
4290
|
+
// Blue
|
|
4291
|
+
{ code: '#E3F2FD' },
|
|
4292
|
+
{ code: '#BBDEFB' },
|
|
4293
|
+
{ code: '#90CAF9' },
|
|
4294
|
+
{ code: '#64B5F6' },
|
|
4295
|
+
{ code: '#42A5F5' },
|
|
4296
|
+
{ code: '#2196F3' },
|
|
4297
|
+
{ code: '#1E88E5' },
|
|
4298
|
+
{ code: '#1976D2' },
|
|
4299
|
+
{ code: '#1565C0' },
|
|
4300
|
+
{ code: '#0D47A1' },
|
|
4301
|
+
// Brown
|
|
4302
|
+
{ code: '#EFEBE9' },
|
|
4303
|
+
{ code: '#D7CCC8' },
|
|
4304
|
+
{ code: '#BCAAA4' },
|
|
4305
|
+
{ code: '#A1887F' },
|
|
4306
|
+
{ code: '#8D6E63' },
|
|
4307
|
+
{ code: '#795548' },
|
|
4308
|
+
{ code: '#6D4C41' },
|
|
4309
|
+
{ code: '#5D4037' },
|
|
4310
|
+
{ code: '#4E342E' },
|
|
4311
|
+
{ code: '#3E2723' },
|
|
4312
|
+
// Cyan
|
|
4313
|
+
{ code: '#E0F7FA' },
|
|
4314
|
+
{ code: '#B2EBF2' },
|
|
4315
|
+
{ code: '#80DEEA' },
|
|
4316
|
+
{ code: '#4DD0E1' },
|
|
4317
|
+
{ code: '#26C6DA' },
|
|
4318
|
+
{ code: '#00BCD4' },
|
|
4319
|
+
{ code: '#00ACC1' },
|
|
4320
|
+
{ code: '#0097A7' },
|
|
4321
|
+
{ code: '#00838F' },
|
|
4322
|
+
{ code: '#006064' },
|
|
4323
|
+
// Deep Orange
|
|
4324
|
+
{ code: '#FBE9E7' },
|
|
4325
|
+
{ code: '#FFCCBC' },
|
|
4326
|
+
{ code: '#FFAB91' },
|
|
4327
|
+
{ code: '#FF8A65' },
|
|
4328
|
+
{ code: '#FF7043' },
|
|
4329
|
+
{ code: '#FF5722' },
|
|
4330
|
+
{ code: '#F4511E' },
|
|
4331
|
+
{ code: '#E64A19' },
|
|
4332
|
+
{ code: '#D84315' },
|
|
4333
|
+
{ code: '#BF360C' },
|
|
4334
|
+
// Deep Purple
|
|
4335
|
+
{ code: '#EDE7F6' },
|
|
4336
|
+
{ code: '#D1C4E9' },
|
|
4337
|
+
{ code: '#B39DDB' },
|
|
4338
|
+
{ code: '#9575CD' },
|
|
4339
|
+
{ code: '#7E57C2' },
|
|
4340
|
+
{ code: '#673AB7' },
|
|
4341
|
+
{ code: '#5E35B1' },
|
|
4342
|
+
{ code: '#512DA8' },
|
|
4343
|
+
{ code: '#4527A0' },
|
|
4344
|
+
{ code: '#311B92' },
|
|
4345
|
+
// Green
|
|
4346
|
+
{ code: '#E8F5E9' },
|
|
4347
|
+
{ code: '#C8E6C9' },
|
|
4348
|
+
{ code: '#A5D6A7' },
|
|
4349
|
+
{ code: '#81C784' },
|
|
4350
|
+
{ code: '#66BB6A' },
|
|
4351
|
+
{ code: '#4CAF50' },
|
|
4352
|
+
{ code: '#43A047' },
|
|
4353
|
+
{ code: '#388E3C' },
|
|
4354
|
+
{ code: '#2E7D32' },
|
|
4355
|
+
{ code: '#1B5E20' },
|
|
4356
|
+
// Grey
|
|
4357
|
+
{ code: '#FAFAFA' },
|
|
4358
|
+
{ code: '#F5F5F5' },
|
|
4359
|
+
{ code: '#EEEEEE' },
|
|
4360
|
+
{ code: '#E0E0E0' },
|
|
4361
|
+
{ code: '#BDBDBD' },
|
|
4362
|
+
{ code: '#9E9E9E' },
|
|
4363
|
+
{ code: '#757575' },
|
|
4364
|
+
{ code: '#616161' },
|
|
4365
|
+
{ code: '#424242' },
|
|
4366
|
+
{ code: '#212121' },
|
|
4367
|
+
// Indigo
|
|
4368
|
+
{ code: '#E8EAF6' },
|
|
4369
|
+
{ code: '#C5CAE9' },
|
|
4370
|
+
{ code: '#9FA8DA' },
|
|
4371
|
+
{ code: '#7986CB' },
|
|
4372
|
+
{ code: '#5C6BC0' },
|
|
4373
|
+
{ code: '#3F51B5' },
|
|
4374
|
+
{ code: '#3949AB' },
|
|
4375
|
+
{ code: '#303F9F' },
|
|
4376
|
+
{ code: '#283593' },
|
|
4377
|
+
{ code: '#1A237E' },
|
|
4378
|
+
// Light Blue
|
|
4379
|
+
{ code: '#E1F5FE' },
|
|
4380
|
+
{ code: '#B3E5FC' },
|
|
4381
|
+
{ code: '#81D4FA' },
|
|
4382
|
+
{ code: '#4FC3F7' },
|
|
4383
|
+
{ code: '#29B6F6' },
|
|
4384
|
+
{ code: '#03A9F4' },
|
|
4385
|
+
{ code: '#039BE5' },
|
|
4386
|
+
{ code: '#0288D1' },
|
|
4387
|
+
{ code: '#0277BD' },
|
|
4388
|
+
{ code: '#01579B' },
|
|
4389
|
+
// Light Green
|
|
4390
|
+
{ code: '#F1F8E9' },
|
|
4391
|
+
{ code: '#DCEDC8' },
|
|
4392
|
+
{ code: '#C5E1A5' },
|
|
4393
|
+
{ code: '#AED581' },
|
|
4394
|
+
{ code: '#9CCC65' },
|
|
4395
|
+
{ code: '#8BC34A' },
|
|
4396
|
+
{ code: '#7CB342' },
|
|
4397
|
+
{ code: '#689F38' },
|
|
4398
|
+
{ code: '#558B2F' },
|
|
4399
|
+
{ code: '#33691E' },
|
|
4400
|
+
// Lime
|
|
4401
|
+
{ code: '#F9FBE7' },
|
|
4402
|
+
{ code: '#F0F4C3' },
|
|
4403
|
+
{ code: '#E6EE9C' },
|
|
4404
|
+
{ code: '#DCE775' },
|
|
4405
|
+
{ code: '#D4E157' },
|
|
4406
|
+
{ code: '#CDDC39' },
|
|
4407
|
+
{ code: '#C0CA33' },
|
|
4408
|
+
{ code: '#AFB42B' },
|
|
4409
|
+
{ code: '#9E9D24' },
|
|
4410
|
+
{ code: '#827717' },
|
|
4411
|
+
// Orange
|
|
4412
|
+
{ code: '#FFF3E0' },
|
|
4413
|
+
{ code: '#FFE0B2' },
|
|
4414
|
+
{ code: '#FFCC80' },
|
|
4415
|
+
{ code: '#FFB74D' },
|
|
4416
|
+
{ code: '#FFA726' },
|
|
4417
|
+
{ code: '#FF9800' },
|
|
4418
|
+
{ code: '#FB8C00' },
|
|
4419
|
+
{ code: '#F57C00' },
|
|
4420
|
+
{ code: '#EF6C00' },
|
|
4421
|
+
{ code: '#E65100' },
|
|
4422
|
+
// Pink
|
|
4423
|
+
{ code: '#FCE4EC' },
|
|
4424
|
+
{ code: '#F8BBD0' },
|
|
4425
|
+
{ code: '#F48FB1' },
|
|
4426
|
+
{ code: '#F06292' },
|
|
4427
|
+
{ code: '#EC407A' },
|
|
4428
|
+
{ code: '#E91E63' },
|
|
4429
|
+
{ code: '#D81B60' },
|
|
4430
|
+
{ code: '#C2185B' },
|
|
4431
|
+
{ code: '#AD1457' },
|
|
4432
|
+
{ code: '#880E4F' },
|
|
4433
|
+
// Purple
|
|
4434
|
+
{ code: '#F3E5F5' },
|
|
4435
|
+
{ code: '#E1BEE7' },
|
|
4436
|
+
{ code: '#CE93D8' },
|
|
4437
|
+
{ code: '#BA68C8' },
|
|
4438
|
+
{ code: '#AB47BC' },
|
|
4439
|
+
{ code: '#9C27B0' },
|
|
4440
|
+
{ code: '#8E24AA' },
|
|
4441
|
+
{ code: '#7B1FA2' },
|
|
4442
|
+
{ code: '#6A1B9A' },
|
|
4443
|
+
{ code: '#4A148C' },
|
|
4444
|
+
// Red
|
|
4445
|
+
{ code: '#FFEBEE' },
|
|
4446
|
+
{ code: '#FFCDD2' },
|
|
4447
|
+
{ code: '#EF9A9A' },
|
|
4448
|
+
{ code: '#E57373' },
|
|
4449
|
+
{ code: '#EF5350' },
|
|
4450
|
+
{ code: '#F44336' },
|
|
4451
|
+
{ code: '#E53935' },
|
|
4452
|
+
{ code: '#D32F2F' },
|
|
4453
|
+
{ code: '#C62828' },
|
|
4454
|
+
{ code: '#B71C1C' },
|
|
4455
|
+
// Teal
|
|
4456
|
+
{ code: '#E0F2F1' },
|
|
4457
|
+
{ code: '#B2DFDB' },
|
|
4458
|
+
{ code: '#80CBC4' },
|
|
4459
|
+
{ code: '#4DB6AC' },
|
|
4460
|
+
{ code: '#26A69A' },
|
|
4461
|
+
{ code: '#009688' },
|
|
4462
|
+
{ code: '#00897B' },
|
|
4463
|
+
{ code: '#00796B' },
|
|
4464
|
+
{ code: '#00695C' },
|
|
4465
|
+
{ code: '#004D40' },
|
|
4466
|
+
// Yellow
|
|
4467
|
+
{ code: '#FFFDE7' },
|
|
4468
|
+
{ code: '#FFF9C4' },
|
|
4469
|
+
{ code: '#FFF59D' },
|
|
4470
|
+
{ code: '#FFF176' },
|
|
4471
|
+
{ code: '#FFEE58' },
|
|
4472
|
+
{ code: '#FFEB3B' },
|
|
4473
|
+
{ code: '#FDD835' },
|
|
4474
|
+
{ code: '#FBC02D' },
|
|
4475
|
+
{ code: '#F9A825' },
|
|
4476
|
+
{ code: '#F57F17' },
|
|
4477
|
+
];
|
|
4478
|
+
_parent === null || _parent === void 0 ? void 0 : _parent._onInternalColorChanged$.subscribe(e => {
|
|
4479
|
+
this._selected = AXColorUtil.toHex(e.color);
|
|
4480
|
+
});
|
|
4481
|
+
if (this._getHostElement().tagName.toLocaleLowerCase() != 'ax-color-palette-favorite') {
|
|
4482
|
+
this.colors = this._defaultPalette;
|
|
4267
4483
|
}
|
|
4268
4484
|
}
|
|
4269
|
-
|
|
4270
|
-
this.
|
|
4271
|
-
this.
|
|
4485
|
+
_handleClick(e, color) {
|
|
4486
|
+
this._selected = color.code;
|
|
4487
|
+
this._parent._onInternalColorChanged$.next({ color: color.code, mode: this._parent.mode });
|
|
4272
4488
|
}
|
|
4273
4489
|
}
|
|
4274
|
-
|
|
4275
|
-
|
|
4276
|
-
|
|
4490
|
+
AXColorPaletteSwatchesComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXColorPaletteSwatchesComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: AXColorComponent, optional: true }], target: i0.ɵɵFactoryTarget.Component });
|
|
4491
|
+
AXColorPaletteSwatchesComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.9", type: AXColorPaletteSwatchesComponent, selector: "ax-color-palette-swatches, ax-color-palette-favorite", inputs: { colors: "colors" }, usesInheritance: true, ngImport: i0, template: `<div class="palette-items">
|
|
4492
|
+
<div *ngFor="let color of colors" [style.background-color]="color.code" [attr.title]="color.code" [class.ax-state-selected]="color.code==_selected" (click)="_handleClick($event,color)" >
|
|
4493
|
+
</div>
|
|
4494
|
+
</div>`, isInline: true, directives: [{ type: i1$1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }], encapsulation: i0.ViewEncapsulation.None });
|
|
4495
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXColorPaletteSwatchesComponent, decorators: [{
|
|
4277
4496
|
type: Component,
|
|
4278
4497
|
args: [{
|
|
4279
|
-
selector: 'ax-
|
|
4280
|
-
template: `<
|
|
4281
|
-
|
|
4282
|
-
|
|
4283
|
-
|
|
4498
|
+
selector: 'ax-color-palette-swatches, ax-color-palette-favorite',
|
|
4499
|
+
template: `<div class="palette-items">
|
|
4500
|
+
<div *ngFor="let color of colors" [style.background-color]="color.code" [attr.title]="color.code" [class.ax-state-selected]="color.code==_selected" (click)="_handleClick($event,color)" >
|
|
4501
|
+
</div>
|
|
4502
|
+
</div>`,
|
|
4503
|
+
encapsulation: ViewEncapsulation.None
|
|
4284
4504
|
}]
|
|
4285
|
-
}], ctorParameters: function () {
|
|
4286
|
-
|
|
4287
|
-
|
|
4505
|
+
}], ctorParameters: function () {
|
|
4506
|
+
return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: AXColorComponent, decorators: [{
|
|
4507
|
+
type: Optional
|
|
4508
|
+
}, {
|
|
4509
|
+
type: Inject,
|
|
4510
|
+
args: [AXColorComponent]
|
|
4511
|
+
}] }];
|
|
4512
|
+
}, propDecorators: { colors: [{
|
|
4288
4513
|
type: Input
|
|
4289
|
-
}], _items: [{
|
|
4290
|
-
type: ContentChildren,
|
|
4291
|
-
args: [AXCollapseComponent]
|
|
4292
4514
|
}] } });
|
|
4293
4515
|
|
|
4294
|
-
|
|
4516
|
+
/**
|
|
4517
|
+
* The Textbox is a component which detects user interaction and triggers a corresponding event
|
|
4518
|
+
*
|
|
4519
|
+
* @category Components
|
|
4520
|
+
*/
|
|
4521
|
+
class AXTextBoxComponent extends AXBaseTextBoxMixin {
|
|
4522
|
+
/**
|
|
4523
|
+
* @ignore
|
|
4524
|
+
*/
|
|
4525
|
+
constructor(elementRef, cdr) {
|
|
4526
|
+
super(elementRef, cdr);
|
|
4527
|
+
}
|
|
4295
4528
|
}
|
|
4296
|
-
|
|
4297
|
-
|
|
4298
|
-
|
|
4299
|
-
|
|
4300
|
-
|
|
4301
|
-
|
|
4302
|
-
declarations: [AXCollapseComponent, AXCollapseGroupComponent],
|
|
4303
|
-
imports: [CommonModule],
|
|
4304
|
-
exports: [AXCollapseComponent, AXCollapseGroupComponent],
|
|
4305
|
-
providers: [],
|
|
4306
|
-
}]
|
|
4307
|
-
}] });
|
|
4529
|
+
AXTextBoxComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXTextBoxComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
4530
|
+
AXTextBoxComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.9", type: AXTextBoxComponent, selector: "ax-text-box", inputs: { disabled: "disabled", tabIndex: "tabIndex", readonly: "readonly", allowNull: "allowNull", value: "value", debounceTime: "debounceTime", name: "name", checked: "checked", placeholder: "placeholder", maxLength: "maxLength", type: "type", autoComplete: "autoComplete" }, outputs: { onBlur: "onBlur", onFocus: "onFocus", valueChange: "valueChange", onValueChanged: "onValueChanged" }, host: { classAttribute: "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\" [attr.autocomplete]=\"autoComplete\" [attr.type]=\"type\" [attr.placeholder]=\"placeholder\" [attr.maxlength]=\"maxLength\"\r\n [class.ax-state-disabled]=\"disabled\" [class.ax-state-readonly]=\"readonly\" [disabled]=\"disabled\"\r\n [readonly]=\"readonly\" [tabindex]=\"tabIndex\" [(ngModel)]=\"value\" (focus)=\"_emitOnFocusEvent($event)\"\r\n (blur)=\"_emitOnBlurEvent($event)\">\r\n<ng-content select=\"ax-suffix\">\r\n</ng-content>\r\n<ng-content select=\"ax-validation-rule\">\r\n</ng-content>\r\n<ng-content select=\"ax-input-mask\">\r\n</ng-content>", 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"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
4531
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXTextBoxComponent, decorators: [{
|
|
4532
|
+
type: Component,
|
|
4533
|
+
args: [{ selector: 'ax-text-box', inputs: [...INTERACTIVE_INPUTS, ...VALUE_INPUTS, ...TEXTBOX_INPUTS], outputs: [...INTERACTIVE_OUTPUT, ...VALUE_OUTPUT, ...TEXTBOX_OUTPUT], encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, host: { class: 'ax-editor-container' }, template: "<ng-content select=\"ax-prefix\">\r\n</ng-content>\r\n<input class=\"ax-input\" [attr.name]=\"name\" [attr.autocomplete]=\"autoComplete\" [attr.type]=\"type\" [attr.placeholder]=\"placeholder\" [attr.maxlength]=\"maxLength\"\r\n [class.ax-state-disabled]=\"disabled\" [class.ax-state-readonly]=\"readonly\" [disabled]=\"disabled\"\r\n [readonly]=\"readonly\" [tabindex]=\"tabIndex\" [(ngModel)]=\"value\" (focus)=\"_emitOnFocusEvent($event)\"\r\n (blur)=\"_emitOnBlurEvent($event)\">\r\n<ng-content select=\"ax-suffix\">\r\n</ng-content>\r\n<ng-content select=\"ax-validation-rule\">\r\n</ng-content>\r\n<ng-content select=\"ax-input-mask\">\r\n</ng-content>" }]
|
|
4534
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; } });
|
|
4308
4535
|
|
|
4309
|
-
|
|
4310
|
-
|
|
4311
|
-
|
|
4312
|
-
|
|
4313
|
-
|
|
4314
|
-
|
|
4315
|
-
|
|
4316
|
-
|
|
4317
|
-
|
|
4318
|
-
|
|
4319
|
-
|
|
4320
|
-
|
|
4321
|
-
|
|
4322
|
-
|
|
4323
|
-
|
|
4324
|
-
|
|
4325
|
-
|
|
4326
|
-
|
|
4327
|
-
|
|
4328
|
-
|
|
4329
|
-
|
|
4330
|
-
|
|
4331
|
-
|
|
4332
|
-
|
|
4333
|
-
|
|
4334
|
-
this.
|
|
4335
|
-
|
|
4336
|
-
this.
|
|
4337
|
-
//
|
|
4338
|
-
this.hasBackdrop = false;
|
|
4339
|
-
this.adaptivityEnabled = false;
|
|
4340
|
-
//
|
|
4341
|
-
this._mousePos = { x: 0, y: 0 };
|
|
4342
|
-
this._isScrollAttached = false;
|
|
4343
|
-
//
|
|
4344
|
-
this.onOpened = new EventEmitter();
|
|
4345
|
-
this.onClosed = new EventEmitter();
|
|
4346
|
-
}
|
|
4347
|
-
get target() {
|
|
4348
|
-
return this._target;
|
|
4349
|
-
}
|
|
4350
|
-
set target(v) {
|
|
4351
|
-
if (v instanceof HTMLElement)
|
|
4352
|
-
this._target = v;
|
|
4353
|
-
else if (v instanceof ElementRef)
|
|
4354
|
-
this._target = v.nativeElement;
|
|
4355
|
-
else if (v instanceof AXBaseComponent)
|
|
4356
|
-
this._target = v._getInnerElement();
|
|
4536
|
+
/**
|
|
4537
|
+
* The NumberBox is a component which detects user interaction and triggers a corresponding event
|
|
4538
|
+
*
|
|
4539
|
+
* @category Components
|
|
4540
|
+
*/
|
|
4541
|
+
class AXNumberBoxComponent extends AXBaseTextBoxMixin {
|
|
4542
|
+
/**
|
|
4543
|
+
* @ignore
|
|
4544
|
+
*/
|
|
4545
|
+
constructor(elementRef, cdr) {
|
|
4546
|
+
super(elementRef, cdr);
|
|
4547
|
+
this.cdr = cdr;
|
|
4548
|
+
this._padDecimalZeros = false;
|
|
4549
|
+
/**
|
|
4550
|
+
* Specifies the value that is used to increment or decrement the **Integer** part of number
|
|
4551
|
+
*/
|
|
4552
|
+
this.step = 1;
|
|
4553
|
+
this._decimals = 0;
|
|
4554
|
+
/**
|
|
4555
|
+
* Specifies the value that is used to increment or decrement the **Deciaml** part of number
|
|
4556
|
+
*/
|
|
4557
|
+
this.decimalStep = 'auto';
|
|
4558
|
+
/**
|
|
4559
|
+
* Specifies whether the Up and Down spin buttons will be rendered or not
|
|
4560
|
+
*/
|
|
4561
|
+
this.showSpinButtons = true;
|
|
4562
|
+
this._minValue = Number.MIN_SAFE_INTEGER;
|
|
4563
|
+
this._maxValue = Number.MAX_SAFE_INTEGER;
|
|
4357
4564
|
}
|
|
4358
|
-
|
|
4359
|
-
|
|
4360
|
-
|
|
4361
|
-
|
|
4362
|
-
|
|
4565
|
+
/**
|
|
4566
|
+
* A character value that specifies the separator character.
|
|
4567
|
+
*/
|
|
4568
|
+
get thousandsSeparator() {
|
|
4569
|
+
return this._thousandsSeparator;
|
|
4363
4570
|
}
|
|
4364
|
-
|
|
4365
|
-
this.
|
|
4366
|
-
|
|
4367
|
-
|
|
4571
|
+
set thousandsSeparator(v) {
|
|
4572
|
+
this._setOption({
|
|
4573
|
+
name: "thousandsSeparator",
|
|
4574
|
+
value: v !== null && v !== void 0 ? v : '',
|
|
4368
4575
|
});
|
|
4369
4576
|
}
|
|
4370
|
-
|
|
4371
|
-
|
|
4372
|
-
|
|
4373
|
-
|
|
4374
|
-
|
|
4375
|
-
this._addSub(mouseEnter$.subscribe(e => {
|
|
4376
|
-
const point = { x: e.clientX, y: e.clientY };
|
|
4377
|
-
if (AXDrawingUtil.isInElementBound(point, this._target))
|
|
4378
|
-
this.open();
|
|
4379
|
-
}));
|
|
4380
|
-
}
|
|
4381
|
-
if (this.closeTrigger === 'mouseout') {
|
|
4382
|
-
const mouseMove$ = fromEvent(document, 'mousemove');
|
|
4383
|
-
this._addSub(mouseMove$.pipe(throttleTime(50)).subscribe(e => {
|
|
4384
|
-
this._mousePos.x = e.clientX;
|
|
4385
|
-
this._mousePos.y = e.clientY;
|
|
4386
|
-
if (this.isOpen) {
|
|
4387
|
-
setTimeout(() => {
|
|
4388
|
-
if (!_.some([this._target, this._overlayRef.overlayElement], el => _.includes(document.elementsFromPoint(this._mousePos.x, this._mousePos.y), el)))
|
|
4389
|
-
this.close();
|
|
4390
|
-
}, 100);
|
|
4391
|
-
}
|
|
4392
|
-
}));
|
|
4393
|
-
}
|
|
4394
|
-
//
|
|
4395
|
-
if (this.openTrigger === 'click' || this.openTrigger === 'toggle') {
|
|
4396
|
-
const click$ = fromEvent(this._target, 'click');
|
|
4397
|
-
this._addSub(click$.subscribe(e => {
|
|
4398
|
-
this.openTrigger == 'toggle' ? this.toggle() : this.open();
|
|
4399
|
-
}));
|
|
4400
|
-
}
|
|
4401
|
-
}
|
|
4577
|
+
/**
|
|
4578
|
+
* A character value that specifies the separator character.
|
|
4579
|
+
*/
|
|
4580
|
+
get padDecimalZeros() {
|
|
4581
|
+
return this._padDecimalZeros;
|
|
4402
4582
|
}
|
|
4403
|
-
|
|
4404
|
-
|
|
4405
|
-
|
|
4406
|
-
|
|
4407
|
-
(_b = this._overlayRef) === null || _b === void 0 ? void 0 : _b.dispose();
|
|
4408
|
-
this._subs.forEach(s => {
|
|
4409
|
-
s === null || s === void 0 ? void 0 : s.unsubscribe();
|
|
4583
|
+
set padDecimalZeros(v) {
|
|
4584
|
+
this._setOption({
|
|
4585
|
+
name: "padDecimalZeros",
|
|
4586
|
+
value: v,
|
|
4410
4587
|
});
|
|
4411
4588
|
}
|
|
4412
|
-
|
|
4413
|
-
|
|
4414
|
-
|
|
4415
|
-
|
|
4416
|
-
|
|
4417
|
-
if (this.isOpen) {
|
|
4418
|
-
this.close();
|
|
4419
|
-
e.stopPropagation();
|
|
4420
|
-
}
|
|
4421
|
-
}
|
|
4589
|
+
/**
|
|
4590
|
+
* Specifies the number of decimals that the user can enter
|
|
4591
|
+
*/
|
|
4592
|
+
get decimals() {
|
|
4593
|
+
return this._decimals;
|
|
4422
4594
|
}
|
|
4423
|
-
|
|
4424
|
-
this.
|
|
4595
|
+
set decimals(v) {
|
|
4596
|
+
this._setOption({
|
|
4597
|
+
name: "decimals",
|
|
4598
|
+
value: v !== null && v !== void 0 ? v : 0,
|
|
4599
|
+
});
|
|
4425
4600
|
}
|
|
4426
|
-
|
|
4427
|
-
|
|
4428
|
-
|
|
4429
|
-
|
|
4430
|
-
|
|
4431
|
-
}
|
|
4432
|
-
(_a = this._overlayRef) === null || _a === void 0 ? void 0 : _a.detach();
|
|
4433
|
-
this._emitOnClosedEvent();
|
|
4601
|
+
/**
|
|
4602
|
+
* Specifies the smallest value that is valid
|
|
4603
|
+
*/
|
|
4604
|
+
get minValue() {
|
|
4605
|
+
return this._minValue;
|
|
4434
4606
|
}
|
|
4435
|
-
|
|
4436
|
-
|
|
4437
|
-
|
|
4438
|
-
|
|
4439
|
-
|
|
4607
|
+
set minValue(v) {
|
|
4608
|
+
this._setOption({
|
|
4609
|
+
name: "minValue",
|
|
4610
|
+
value: v != null ? Number(v) : Number.MIN_SAFE_INTEGER,
|
|
4611
|
+
});
|
|
4440
4612
|
}
|
|
4441
|
-
|
|
4442
|
-
|
|
4443
|
-
|
|
4444
|
-
|
|
4613
|
+
/**
|
|
4614
|
+
* Specifies the greatest value that is valid
|
|
4615
|
+
*/
|
|
4616
|
+
get maxValue() {
|
|
4617
|
+
return this._maxValue;
|
|
4618
|
+
}
|
|
4619
|
+
set maxValue(v) {
|
|
4620
|
+
this._setOption({
|
|
4621
|
+
name: "maxValue",
|
|
4622
|
+
value: v != null ? Number(v) : Number.MAX_SAFE_INTEGER,
|
|
4623
|
+
});
|
|
4624
|
+
}
|
|
4625
|
+
onViewInit() {
|
|
4626
|
+
super.onViewInit();
|
|
4627
|
+
this._updateMask();
|
|
4628
|
+
}
|
|
4629
|
+
_onOptionChanged(option) {
|
|
4630
|
+
super._onOptionChanged(option);
|
|
4631
|
+
this._updateMask();
|
|
4632
|
+
}
|
|
4633
|
+
_updateMask() {
|
|
4634
|
+
var _a, _b, _c, _d;
|
|
4635
|
+
if (!this._maskObj) {
|
|
4636
|
+
this._maskObj = IMask.createMask({
|
|
4637
|
+
mask: Number,
|
|
4638
|
+
min: this.minValue,
|
|
4639
|
+
max: this.maxValue,
|
|
4640
|
+
thousandsSeparator: this.thousandsSeparator || '',
|
|
4641
|
+
scale: this.decimals,
|
|
4642
|
+
radix: '.',
|
|
4643
|
+
padFractionalZeros: this.decimals > 0 && this.padDecimalZeros
|
|
4644
|
+
});
|
|
4445
4645
|
}
|
|
4446
|
-
|
|
4447
|
-
|
|
4448
|
-
|
|
4646
|
+
else {
|
|
4647
|
+
this._maskObj.updateOptions({
|
|
4648
|
+
min: this.minValue,
|
|
4649
|
+
max: this.maxValue,
|
|
4650
|
+
thousandsSeparator: this.thousandsSeparator || '',
|
|
4651
|
+
scale: this.decimals,
|
|
4652
|
+
radix: '.',
|
|
4653
|
+
padFractionalZeros: this.decimals > 0 && this.padDecimalZeros
|
|
4654
|
+
});
|
|
4655
|
+
}
|
|
4656
|
+
(_b = (_a = this._maskDirective) === null || _a === void 0 ? void 0 : _a.maskRef) === null || _b === void 0 ? void 0 : _b.updateValue();
|
|
4657
|
+
(_d = (_c = this._maskDirective) === null || _c === void 0 ? void 0 : _c.maskRef) === null || _d === void 0 ? void 0 : _d.updateControl();
|
|
4449
4658
|
}
|
|
4450
|
-
|
|
4451
|
-
const
|
|
4452
|
-
|
|
4453
|
-
|
|
4454
|
-
|
|
4455
|
-
|
|
4456
|
-
|
|
4659
|
+
_handleOnKeydownEvent(e) {
|
|
4660
|
+
const ignore = () => {
|
|
4661
|
+
e.preventDefault();
|
|
4662
|
+
e.stopPropagation();
|
|
4663
|
+
};
|
|
4664
|
+
const input = e.target;
|
|
4665
|
+
const valStr = input.value;
|
|
4666
|
+
const decimalPointIndex = valStr.indexOf('.');
|
|
4667
|
+
const _cursorPos = input.selectionStart;
|
|
4668
|
+
if (e.key === 'ArrowUp' || e.key === 'ArrowDown') {
|
|
4669
|
+
if (decimalPointIndex > 0 && _cursorPos > decimalPointIndex && this.decimals > 0) {
|
|
4670
|
+
e.key === 'ArrowDown' ? this.decimalStepDown() : this.decimalStepUp();
|
|
4457
4671
|
}
|
|
4458
4672
|
else {
|
|
4459
|
-
this.
|
|
4460
|
-
}
|
|
4461
|
-
if (this.closeTrigger == 'clickout') {
|
|
4462
|
-
this._addSub(this._overlayRef._outsidePointerEvents.subscribe(c => {
|
|
4463
|
-
const target = c.target;
|
|
4464
|
-
const comElem = targetRef;
|
|
4465
|
-
if (!(comElem.contains(target))) {
|
|
4466
|
-
this.close();
|
|
4467
|
-
}
|
|
4468
|
-
}));
|
|
4673
|
+
e.key === 'ArrowDown' ? this.stepDown() : this.stepUp();
|
|
4469
4674
|
}
|
|
4470
|
-
|
|
4471
|
-
|
|
4472
|
-
|
|
4473
|
-
|
|
4474
|
-
this.updatePosition();
|
|
4475
|
-
}));
|
|
4476
|
-
this._isScrollAttached = true;
|
|
4477
|
-
}
|
|
4478
|
-
}));
|
|
4479
|
-
}
|
|
4480
|
-
if (!this._templatePortal) {
|
|
4481
|
-
this._templatePortal = new TemplatePortal(this._baseTemplate, this._viewContainerRef);
|
|
4675
|
+
ignore();
|
|
4676
|
+
setTimeout(() => {
|
|
4677
|
+
input.setSelectionRange(_cursorPos, _cursorPos);
|
|
4678
|
+
}, 5);
|
|
4482
4679
|
}
|
|
4680
|
+
super._emitOnKeydownEvent(e);
|
|
4483
4681
|
}
|
|
4484
|
-
|
|
4485
|
-
this.
|
|
4486
|
-
positionStrategy: this._overlay.position()
|
|
4487
|
-
.flexibleConnectedTo(targetRef)
|
|
4488
|
-
.withPositions(Array.isArray(this.position) ? this.position : [this.position])
|
|
4489
|
-
.withPush(false),
|
|
4490
|
-
disposeOnNavigation: true,
|
|
4491
|
-
panelClass: ['ax-animate-fadeIn', 'ax-animate-faster'],
|
|
4492
|
-
maxHeight: 'unset',
|
|
4493
|
-
hasBackdrop: this.hasBackdrop,
|
|
4494
|
-
backdropClass: [this.backdropClass || 'cdk-overlay-transparent-backdrop']
|
|
4495
|
-
});
|
|
4682
|
+
_handleUpDownClick(e, v) {
|
|
4683
|
+
v == 1 ? this.stepUp() : this.stepDown();
|
|
4496
4684
|
}
|
|
4497
|
-
|
|
4498
|
-
|
|
4499
|
-
|
|
4500
|
-
|
|
4501
|
-
|
|
4502
|
-
|
|
4503
|
-
|
|
4504
|
-
overlayY: 'bottom'
|
|
4505
|
-
}
|
|
4506
|
-
]),
|
|
4507
|
-
disposeOnNavigation: true,
|
|
4508
|
-
panelClass: ['ax-animate-slideInUp', 'ax-animate-faster'],
|
|
4509
|
-
hasBackdrop: true,
|
|
4510
|
-
width: '100%'
|
|
4511
|
-
});
|
|
4685
|
+
_onValueChanging(value) {
|
|
4686
|
+
const v = _.toNumber(value);
|
|
4687
|
+
if (v < this.minValue)
|
|
4688
|
+
return this.minValue;
|
|
4689
|
+
if (v > this.maxValue)
|
|
4690
|
+
return this.maxValue;
|
|
4691
|
+
return v;
|
|
4512
4692
|
}
|
|
4513
|
-
|
|
4514
|
-
|
|
4693
|
+
stepUp() {
|
|
4694
|
+
this.value += _.toNumber(this.step);
|
|
4515
4695
|
}
|
|
4516
|
-
|
|
4517
|
-
this.
|
|
4696
|
+
stepDown() {
|
|
4697
|
+
this.value -= _.toNumber(this.step);
|
|
4518
4698
|
}
|
|
4519
|
-
|
|
4520
|
-
|
|
4521
|
-
|
|
4522
|
-
|
|
4699
|
+
decimalStepUp() {
|
|
4700
|
+
this.value += _.toNumber(this.decimalStep == 'auto' ? (1 / Math.pow(10, this.decimals)) : this.decimalStep);
|
|
4701
|
+
}
|
|
4702
|
+
decimalStepDown() {
|
|
4703
|
+
this.value -= _.toNumber(this.decimalStep == 'auto' ? (1 / Math.pow(10, this.decimals)) : this.decimalStep);
|
|
4523
4704
|
}
|
|
4524
4705
|
}
|
|
4525
|
-
|
|
4526
|
-
|
|
4527
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type:
|
|
4706
|
+
AXNumberBoxComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXNumberBoxComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
4707
|
+
AXNumberBoxComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.9", 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 });
|
|
4708
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXNumberBoxComponent, decorators: [{
|
|
4528
4709
|
type: Component,
|
|
4529
|
-
args: [{ selector: 'ax-
|
|
4530
|
-
|
|
4710
|
+
args: [{ selector: 'ax-number-box', inputs: [
|
|
4711
|
+
'disabled',
|
|
4712
|
+
'readonly',
|
|
4713
|
+
'tabIndex',
|
|
4714
|
+
'size',
|
|
4715
|
+
'value',
|
|
4716
|
+
...TEXTBOX_INPUTS,
|
|
4717
|
+
], outputs: [
|
|
4718
|
+
'valueChange',
|
|
4719
|
+
'onValueChanged',
|
|
4720
|
+
'onBlur',
|
|
4721
|
+
'onFocus',
|
|
4722
|
+
...TEXTBOX_OUTPUT,
|
|
4723
|
+
], changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, host: { class: 'ax-editor-container' }, 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>" }]
|
|
4724
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { thousandsSeparator: [{
|
|
4531
4725
|
type: Input
|
|
4532
|
-
}],
|
|
4726
|
+
}], padDecimalZeros: [{
|
|
4533
4727
|
type: Input
|
|
4534
|
-
}],
|
|
4535
|
-
type: ViewChild,
|
|
4536
|
-
args: ['baseTemplate']
|
|
4537
|
-
}], openTrigger: [{
|
|
4728
|
+
}], step: [{
|
|
4538
4729
|
type: Input
|
|
4539
|
-
}],
|
|
4730
|
+
}], decimals: [{
|
|
4540
4731
|
type: Input
|
|
4541
|
-
}],
|
|
4732
|
+
}], decimalStep: [{
|
|
4542
4733
|
type: Input
|
|
4543
|
-
}],
|
|
4734
|
+
}], showSpinButtons: [{
|
|
4544
4735
|
type: Input
|
|
4545
|
-
}],
|
|
4736
|
+
}], minValue: [{
|
|
4546
4737
|
type: Input
|
|
4547
|
-
}],
|
|
4548
|
-
type:
|
|
4549
|
-
}],
|
|
4738
|
+
}], maxValue: [{
|
|
4739
|
+
type: Input
|
|
4740
|
+
}], _maskDirective: [{
|
|
4741
|
+
type: ViewChild,
|
|
4742
|
+
args: [IMaskDirective]
|
|
4743
|
+
}] } });
|
|
4744
|
+
|
|
4745
|
+
class AXColorPaletteInputComponent extends AXBaseComponent {
|
|
4746
|
+
constructor(_elementRef, _cdr, _parent) {
|
|
4747
|
+
super(_elementRef, _cdr);
|
|
4748
|
+
this._parent = _parent;
|
|
4749
|
+
this._rgba = {
|
|
4750
|
+
r: 255,
|
|
4751
|
+
g: 255,
|
|
4752
|
+
b: 255,
|
|
4753
|
+
a: 0
|
|
4754
|
+
};
|
|
4755
|
+
this._hex = "#000000";
|
|
4756
|
+
_parent === null || _parent === void 0 ? void 0 : _parent._onInternalColorChanged$.subscribe(e => {
|
|
4757
|
+
if (this._hex != AXColorUtil.toHex(e.color)) {
|
|
4758
|
+
this._hex = AXColorUtil.toHex(e.color);
|
|
4759
|
+
Object.assign(this._rgba, AXColorUtil.toRGB(e.color));
|
|
4760
|
+
}
|
|
4761
|
+
});
|
|
4762
|
+
}
|
|
4763
|
+
_handleChangeInputMode(e) {
|
|
4764
|
+
// switch (this.inputMode) {
|
|
4765
|
+
// case 'rgba':
|
|
4766
|
+
// this.inputMode = 'hsla'
|
|
4767
|
+
// break;
|
|
4768
|
+
// case 'hsla':
|
|
4769
|
+
// this.inputMode = 'hwba'
|
|
4770
|
+
// break;
|
|
4771
|
+
// case 'hwba':
|
|
4772
|
+
// this.inputMode = 'hex'
|
|
4773
|
+
// break;
|
|
4774
|
+
// case 'hex':
|
|
4775
|
+
// this.inputMode = 'rgba'
|
|
4776
|
+
// break;
|
|
4777
|
+
// }
|
|
4778
|
+
this._parent.mode = (this._parent.mode == 'rgba' ? 'hex' : 'rgba');
|
|
4779
|
+
}
|
|
4780
|
+
_handleRGBAValueChanged(e) {
|
|
4781
|
+
const { r, g, b, a } = this._rgba;
|
|
4782
|
+
const _color = `rgba(${r},${g},${b},${a})`;
|
|
4783
|
+
this._parent._onInternalColorChanged$.next({ color: AXColorUtil.toRGB(_color), mode: 'rgba' });
|
|
4784
|
+
}
|
|
4785
|
+
_handleHEXAValueChanged(e) {
|
|
4786
|
+
this._parent._onInternalColorChanged$.next({ color: AXColorUtil.toHex(e.value), mode: 'hex' });
|
|
4787
|
+
}
|
|
4788
|
+
}
|
|
4789
|
+
AXColorPaletteInputComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXColorPaletteInputComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: AXColorComponent, optional: true }], target: i0.ɵɵFactoryTarget.Component });
|
|
4790
|
+
AXColorPaletteInputComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.9", type: AXColorPaletteInputComponent, selector: "ax-color-palette-input", usesInheritance: true, ngImport: i0, template: "<div class=\"palette-input-container\" [ngSwitch]=\"_parent.mode\">\r\n <div class=\"palette-inputs\">\r\n <ng-container *ngSwitchCase=\"'hex'\">\r\n <div>\r\n <ax-text-box class=\"ax-w-full\" [(value)]=\"_hex\" [debounceTime]=\"300\" (onValueChanged)=\"_handleHEXAValueChanged($event)\">\r\n </ax-text-box>\r\n <label>HEX</label>\r\n </div>\r\n </ng-container>\r\n <ng-container *ngSwitchCase=\"'rgba'\">\r\n <div>\r\n <ax-number-box [minValue]=\"0\" [maxValue]=\"255\" [(value)]=\"_rgba.r\" [showSpinButtons]=\"false\"\r\n (onValueChanged)=\"_handleRGBAValueChanged($event)\">\r\n </ax-number-box>\r\n <label>R</label>\r\n </div>\r\n <div>\r\n <ax-number-box [minValue]=\"0\" [maxValue]=\"255\" [(value)]=\"_rgba.g\" [showSpinButtons]=\"false\"\r\n (onValueChanged)=\"_handleRGBAValueChanged($event)\">\r\n </ax-number-box>\r\n <label>G</label>\r\n </div>\r\n <div>\r\n <ax-number-box [minValue]=\"0\" [maxValue]=\"255\" [(value)]=\"_rgba.b\" [showSpinButtons]=\"false\"\r\n (onValueChanged)=\"_handleRGBAValueChanged($event)\">\r\n </ax-number-box>\r\n <label>B</label>\r\n </div>\r\n <div>\r\n <ax-number-box [minValue]=\"0\" [maxValue]=\"1\" [(value)]=\"_rgba.a\" [decimals]=\"2\" [step]=\"0.1\"\r\n [showSpinButtons]=\"false\" (onValueChanged)=\"_handleRGBAValueChanged($event)\">\r\n </ax-number-box>\r\n <label>A</label>\r\n </div>\r\n </ng-container>\r\n <!-- <ng-container *ngSwitchCase=\"'hsla'\">\r\n <div>\r\n <ax-text-box [value]=\"'255'\">\r\n </ax-text-box>\r\n <label>H</label>\r\n </div>\r\n <div>\r\n <ax-text-box [value]=\"'255'\">\r\n </ax-text-box>\r\n <label>S</label>\r\n </div>\r\n <div>\r\n <ax-text-box [value]=\"'255'\">\r\n </ax-text-box>\r\n <label>L</label>\r\n </div>\r\n <div>\r\n <ax-text-box [value]=\"'255'\">\r\n </ax-text-box>\r\n <label>A</label>\r\n </div>\r\n </ng-container>\r\n <ng-container *ngSwitchCase=\"'hwba'\">\r\n <div>\r\n <ax-text-box [value]=\"'255'\">\r\n </ax-text-box>\r\n <label>H</label>\r\n </div>\r\n <div>\r\n <ax-text-box [value]=\"'255'\">\r\n </ax-text-box>\r\n <label>W</label>\r\n </div>\r\n <div>\r\n <ax-text-box [value]=\"'255'\">\r\n </ax-text-box>\r\n <label>B</label>\r\n </div>\r\n <div>\r\n <ax-text-box [value]=\"'255'\">\r\n </ax-text-box>\r\n <label>A</label>\r\n </div>\r\n </ng-container> -->\r\n </div>\r\n <ax-button color=\"light\" class=\"ax-w-base\" (onClick)=\"_handleChangeInputMode($event)\">\r\n <ax-icon class=\"ax-ic ax-ic-unfold\"></ax-icon>\r\n </ax-button>\r\n</div>", 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: AXNumberBoxComponent, selector: "ax-number-box", inputs: ["disabled", "readonly", "tabIndex", "size", "value", "placeholder", "maxLength", "allowNull", "debounceTime", "type", "autoComplete", "name", "checked", "thousandsSeparator", "padDecimalZeros", "step", "decimals", "decimalStep", "showSpinButtons", "minValue", "maxValue"], outputs: ["valueChange", "onValueChanged", "onBlur", "onFocus"] }, { 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$1.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { type: i1$1.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }], encapsulation: i0.ViewEncapsulation.None });
|
|
4791
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXColorPaletteInputComponent, decorators: [{
|
|
4792
|
+
type: Component,
|
|
4793
|
+
args: [{ selector: 'ax-color-palette-input', encapsulation: ViewEncapsulation.None, template: "<div class=\"palette-input-container\" [ngSwitch]=\"_parent.mode\">\r\n <div class=\"palette-inputs\">\r\n <ng-container *ngSwitchCase=\"'hex'\">\r\n <div>\r\n <ax-text-box class=\"ax-w-full\" [(value)]=\"_hex\" [debounceTime]=\"300\" (onValueChanged)=\"_handleHEXAValueChanged($event)\">\r\n </ax-text-box>\r\n <label>HEX</label>\r\n </div>\r\n </ng-container>\r\n <ng-container *ngSwitchCase=\"'rgba'\">\r\n <div>\r\n <ax-number-box [minValue]=\"0\" [maxValue]=\"255\" [(value)]=\"_rgba.r\" [showSpinButtons]=\"false\"\r\n (onValueChanged)=\"_handleRGBAValueChanged($event)\">\r\n </ax-number-box>\r\n <label>R</label>\r\n </div>\r\n <div>\r\n <ax-number-box [minValue]=\"0\" [maxValue]=\"255\" [(value)]=\"_rgba.g\" [showSpinButtons]=\"false\"\r\n (onValueChanged)=\"_handleRGBAValueChanged($event)\">\r\n </ax-number-box>\r\n <label>G</label>\r\n </div>\r\n <div>\r\n <ax-number-box [minValue]=\"0\" [maxValue]=\"255\" [(value)]=\"_rgba.b\" [showSpinButtons]=\"false\"\r\n (onValueChanged)=\"_handleRGBAValueChanged($event)\">\r\n </ax-number-box>\r\n <label>B</label>\r\n </div>\r\n <div>\r\n <ax-number-box [minValue]=\"0\" [maxValue]=\"1\" [(value)]=\"_rgba.a\" [decimals]=\"2\" [step]=\"0.1\"\r\n [showSpinButtons]=\"false\" (onValueChanged)=\"_handleRGBAValueChanged($event)\">\r\n </ax-number-box>\r\n <label>A</label>\r\n </div>\r\n </ng-container>\r\n <!-- <ng-container *ngSwitchCase=\"'hsla'\">\r\n <div>\r\n <ax-text-box [value]=\"'255'\">\r\n </ax-text-box>\r\n <label>H</label>\r\n </div>\r\n <div>\r\n <ax-text-box [value]=\"'255'\">\r\n </ax-text-box>\r\n <label>S</label>\r\n </div>\r\n <div>\r\n <ax-text-box [value]=\"'255'\">\r\n </ax-text-box>\r\n <label>L</label>\r\n </div>\r\n <div>\r\n <ax-text-box [value]=\"'255'\">\r\n </ax-text-box>\r\n <label>A</label>\r\n </div>\r\n </ng-container>\r\n <ng-container *ngSwitchCase=\"'hwba'\">\r\n <div>\r\n <ax-text-box [value]=\"'255'\">\r\n </ax-text-box>\r\n <label>H</label>\r\n </div>\r\n <div>\r\n <ax-text-box [value]=\"'255'\">\r\n </ax-text-box>\r\n <label>W</label>\r\n </div>\r\n <div>\r\n <ax-text-box [value]=\"'255'\">\r\n </ax-text-box>\r\n <label>B</label>\r\n </div>\r\n <div>\r\n <ax-text-box [value]=\"'255'\">\r\n </ax-text-box>\r\n <label>A</label>\r\n </div>\r\n </ng-container> -->\r\n </div>\r\n <ax-button color=\"light\" class=\"ax-w-base\" (onClick)=\"_handleChangeInputMode($event)\">\r\n <ax-icon class=\"ax-ic ax-ic-unfold\"></ax-icon>\r\n </ax-button>\r\n</div>" }]
|
|
4794
|
+
}], ctorParameters: function () {
|
|
4795
|
+
return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: AXColorComponent, decorators: [{
|
|
4796
|
+
type: Optional
|
|
4797
|
+
}, {
|
|
4798
|
+
type: Inject,
|
|
4799
|
+
args: [AXColorComponent]
|
|
4800
|
+
}] }];
|
|
4801
|
+
} });
|
|
4802
|
+
|
|
4803
|
+
class AXColorPalleteComponent extends AXBaseValueComponentMixin {
|
|
4804
|
+
constructor(elementRef, cdr) {
|
|
4805
|
+
super(elementRef, cdr);
|
|
4806
|
+
this._onInternalColorChanged$ = new Subject();
|
|
4807
|
+
this.modeChange = new EventEmitter();
|
|
4808
|
+
this._mode = 'hex';
|
|
4809
|
+
//
|
|
4810
|
+
this._onInternalColorChanged$.subscribe(e => {
|
|
4811
|
+
this.value = e.color;
|
|
4812
|
+
});
|
|
4813
|
+
}
|
|
4814
|
+
/**
|
|
4815
|
+
* A character value that specifies the separator character.
|
|
4816
|
+
*/
|
|
4817
|
+
get mode() {
|
|
4818
|
+
return this._mode;
|
|
4819
|
+
}
|
|
4820
|
+
set mode(v) {
|
|
4821
|
+
this._setOption({
|
|
4822
|
+
name: "mode",
|
|
4823
|
+
value: v,
|
|
4824
|
+
});
|
|
4825
|
+
}
|
|
4826
|
+
}
|
|
4827
|
+
AXColorPalleteComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXColorPalleteComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
4828
|
+
AXColorPalleteComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.9", type: AXColorPalleteComponent, selector: "ax-color-palette", inputs: { disabled: "disabled", tabIndex: "tabIndex", readonly: "readonly", allowNull: "allowNull", value: "value", debounceTime: "debounceTime", name: "name", checked: "checked", mode: "mode" }, outputs: { onBlur: "onBlur", onFocus: "onFocus", valueChange: "valueChange", onValueChanged: "onValueChanged", modeChange: "modeChange" }, providers: [{ provide: AXColorComponent, useExisting: AXColorPalleteComponent }], usesInheritance: true, ngImport: i0, template: "<ng-content select='ax-header'></ng-content>\r\n\r\n<ng-container [ngTemplateOutlet]=\"default\"></ng-container>\r\n\r\n<ng-template #default>\r\n <ax-color-palette-preview></ax-color-palette-preview>\r\n <ax-color-palette-swatches></ax-color-palette-swatches>\r\n <ng-content select=\"ax-color-palette-favorite\"></ng-content>\r\n <ax-color-palette-input></ax-color-palette-input>\r\n</ng-template>\r\n<ng-content select='ax-footer'></ng-content>", components: [{ type: AXColorPalettePreviewComponent, selector: "ax-color-palette-preview" }, { type: AXColorPaletteSwatchesComponent, selector: "ax-color-palette-swatches, ax-color-palette-favorite", inputs: ["colors"] }, { type: AXColorPaletteInputComponent, selector: "ax-color-palette-input" }], directives: [{ type: i1$1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
4829
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXColorPalleteComponent, decorators: [{
|
|
4830
|
+
type: Component,
|
|
4831
|
+
args: [{ selector: 'ax-color-palette', changeDetection: ChangeDetectionStrategy.OnPush, inputs: [...INTERACTIVE_INPUTS, ...VALUE_INPUTS], outputs: [...INTERACTIVE_OUTPUT, ...VALUE_OUTPUT], encapsulation: ViewEncapsulation.None, providers: [{ provide: AXColorComponent, useExisting: AXColorPalleteComponent }], template: "<ng-content select='ax-header'></ng-content>\r\n\r\n<ng-container [ngTemplateOutlet]=\"default\"></ng-container>\r\n\r\n<ng-template #default>\r\n <ax-color-palette-preview></ax-color-palette-preview>\r\n <ax-color-palette-swatches></ax-color-palette-swatches>\r\n <ng-content select=\"ax-color-palette-favorite\"></ng-content>\r\n <ax-color-palette-input></ax-color-palette-input>\r\n</ng-template>\r\n<ng-content select='ax-footer'></ng-content>" }]
|
|
4832
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { modeChange: [{
|
|
4550
4833
|
type: Output
|
|
4551
|
-
}],
|
|
4552
|
-
type:
|
|
4553
|
-
args: ['keydown', ['$event']]
|
|
4834
|
+
}], mode: [{
|
|
4835
|
+
type: Input
|
|
4554
4836
|
}] } });
|
|
4555
4837
|
|
|
4556
|
-
class
|
|
4838
|
+
class AXColorPalettePickerComponent {
|
|
4839
|
+
constructor() { }
|
|
4840
|
+
ngOnInit() { }
|
|
4557
4841
|
}
|
|
4558
|
-
|
|
4559
|
-
|
|
4560
|
-
|
|
4561
|
-
|
|
4842
|
+
AXColorPalettePickerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXColorPalettePickerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
4843
|
+
AXColorPalettePickerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.9", type: AXColorPalettePickerComponent, selector: "ax-color-palette-picker", ngImport: i0, template: ``, isInline: true, encapsulation: i0.ViewEncapsulation.None });
|
|
4844
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXColorPalettePickerComponent, decorators: [{
|
|
4845
|
+
type: Component,
|
|
4846
|
+
args: [{
|
|
4847
|
+
selector: 'ax-color-palette-picker',
|
|
4848
|
+
template: ``,
|
|
4849
|
+
encapsulation: ViewEncapsulation.None
|
|
4850
|
+
}]
|
|
4851
|
+
}], ctorParameters: function () { return []; } });
|
|
4852
|
+
|
|
4853
|
+
class AXTextBoxModule {
|
|
4854
|
+
}
|
|
4855
|
+
AXTextBoxModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXTextBoxModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
4856
|
+
AXTextBoxModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXTextBoxModule, declarations: [AXTextBoxComponent], imports: [CommonModule,
|
|
4857
|
+
FormsModule,
|
|
4858
|
+
AXButtonModule,
|
|
4859
|
+
AXDecoratorModule, i1$3.NgxMaskModule], exports: [AXTextBoxComponent] });
|
|
4860
|
+
AXTextBoxModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXTextBoxModule, providers: [], imports: [[
|
|
4861
|
+
CommonModule,
|
|
4862
|
+
FormsModule,
|
|
4863
|
+
AXButtonModule,
|
|
4864
|
+
AXDecoratorModule,
|
|
4865
|
+
NgxMaskModule.forChild()
|
|
4866
|
+
]] });
|
|
4867
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXTextBoxModule, decorators: [{
|
|
4562
4868
|
type: NgModule,
|
|
4563
4869
|
args: [{
|
|
4564
|
-
|
|
4565
|
-
|
|
4566
|
-
|
|
4567
|
-
|
|
4870
|
+
imports: [
|
|
4871
|
+
CommonModule,
|
|
4872
|
+
FormsModule,
|
|
4873
|
+
AXButtonModule,
|
|
4874
|
+
AXDecoratorModule,
|
|
4875
|
+
NgxMaskModule.forChild()
|
|
4876
|
+
],
|
|
4877
|
+
exports: [AXTextBoxComponent],
|
|
4878
|
+
declarations: [AXTextBoxComponent],
|
|
4879
|
+
providers: [],
|
|
4880
|
+
}]
|
|
4881
|
+
}] });
|
|
4882
|
+
|
|
4883
|
+
class AXLabelComponent extends AXBaseComponentMixin {
|
|
4884
|
+
constructor(elementRef, cdr) {
|
|
4885
|
+
super(elementRef, cdr);
|
|
4886
|
+
}
|
|
4887
|
+
get target() {
|
|
4888
|
+
return this._target;
|
|
4889
|
+
}
|
|
4890
|
+
set target(v) {
|
|
4891
|
+
this._target = v;
|
|
4892
|
+
this._cdr.markForCheck();
|
|
4893
|
+
}
|
|
4894
|
+
}
|
|
4895
|
+
AXLabelComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXLabelComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
4896
|
+
AXLabelComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.9", type: AXLabelComponent, selector: "ax-label", inputs: { class: "class" }, usesInheritance: true, ngImport: i0, template: "<label [attr.for]=\"target\" [ngClass]=\"class\">\r\n <ng-content></ng-content>\r\n</label>", directives: [{ type: i1$1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
4897
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXLabelComponent, decorators: [{
|
|
4898
|
+
type: Component,
|
|
4899
|
+
args: [{ selector: 'ax-label', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, template: "<label [attr.for]=\"target\" [ngClass]=\"class\">\r\n <ng-content></ng-content>\r\n</label>" }]
|
|
4900
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { class: [{
|
|
4901
|
+
type: Input
|
|
4902
|
+
}] } });
|
|
4903
|
+
|
|
4904
|
+
const COMPONENT$g = [AXLabelComponent];
|
|
4905
|
+
const MODULES$h = [CommonModule];
|
|
4906
|
+
class AXLabelModule {
|
|
4907
|
+
}
|
|
4908
|
+
AXLabelModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXLabelModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
4909
|
+
AXLabelModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXLabelModule, declarations: [AXLabelComponent], imports: [CommonModule], exports: [AXLabelComponent] });
|
|
4910
|
+
AXLabelModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXLabelModule, providers: [], imports: [[...MODULES$h]] });
|
|
4911
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXLabelModule, decorators: [{
|
|
4912
|
+
type: NgModule,
|
|
4913
|
+
args: [{
|
|
4914
|
+
declarations: [...COMPONENT$g],
|
|
4915
|
+
imports: [...MODULES$h],
|
|
4916
|
+
exports: [...COMPONENT$g],
|
|
4917
|
+
providers: [],
|
|
4918
|
+
}]
|
|
4919
|
+
}] });
|
|
4920
|
+
|
|
4921
|
+
const COMPONENT$f = [AXNumberBoxComponent];
|
|
4922
|
+
const MODULES$g = [
|
|
4923
|
+
CommonModule,
|
|
4924
|
+
FormsModule,
|
|
4925
|
+
AXButtonModule,
|
|
4926
|
+
AXDecoratorModule,
|
|
4927
|
+
IMaskModule
|
|
4928
|
+
];
|
|
4929
|
+
class AXNumberBoxModule {
|
|
4930
|
+
}
|
|
4931
|
+
AXNumberBoxModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXNumberBoxModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
4932
|
+
AXNumberBoxModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXNumberBoxModule, declarations: [AXNumberBoxComponent], imports: [CommonModule,
|
|
4933
|
+
FormsModule,
|
|
4934
|
+
AXButtonModule,
|
|
4935
|
+
AXDecoratorModule,
|
|
4936
|
+
IMaskModule], exports: [AXNumberBoxComponent] });
|
|
4937
|
+
AXNumberBoxModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXNumberBoxModule, providers: [], imports: [[...MODULES$g]] });
|
|
4938
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXNumberBoxModule, decorators: [{
|
|
4939
|
+
type: NgModule,
|
|
4940
|
+
args: [{
|
|
4941
|
+
declarations: [...COMPONENT$f],
|
|
4942
|
+
imports: [...MODULES$g],
|
|
4943
|
+
exports: [...COMPONENT$f],
|
|
4944
|
+
providers: [],
|
|
4568
4945
|
}]
|
|
4569
4946
|
}] });
|
|
4570
4947
|
|
|
4571
|
-
|
|
4572
|
-
|
|
4573
|
-
|
|
4574
|
-
|
|
4948
|
+
const MODULES$f = [
|
|
4949
|
+
AXTextBoxModule,
|
|
4950
|
+
AXLabelModule,
|
|
4951
|
+
AXButtonModule,
|
|
4952
|
+
AXDecoratorModule,
|
|
4953
|
+
AXNumberBoxModule
|
|
4954
|
+
];
|
|
4955
|
+
const CONPONENTS = [
|
|
4956
|
+
AXColorPalleteComponent,
|
|
4957
|
+
AXColorPalettePreviewComponent,
|
|
4958
|
+
AXColorPaletteSwatchesComponent,
|
|
4959
|
+
AXColorPaletteInputComponent,
|
|
4960
|
+
AXColorPalettePickerComponent
|
|
4961
|
+
];
|
|
4962
|
+
class AXColorPaletteModule {
|
|
4963
|
+
}
|
|
4964
|
+
AXColorPaletteModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXColorPaletteModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
4965
|
+
AXColorPaletteModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXColorPaletteModule, declarations: [AXColorPalleteComponent,
|
|
4966
|
+
AXColorPalettePreviewComponent,
|
|
4967
|
+
AXColorPaletteSwatchesComponent,
|
|
4968
|
+
AXColorPaletteInputComponent,
|
|
4969
|
+
AXColorPalettePickerComponent], imports: [CommonModule, AXTextBoxModule,
|
|
4970
|
+
AXLabelModule,
|
|
4971
|
+
AXButtonModule,
|
|
4972
|
+
AXDecoratorModule,
|
|
4973
|
+
AXNumberBoxModule], exports: [AXColorPalleteComponent,
|
|
4974
|
+
AXColorPalettePreviewComponent,
|
|
4975
|
+
AXColorPaletteSwatchesComponent,
|
|
4976
|
+
AXColorPaletteInputComponent,
|
|
4977
|
+
AXColorPalettePickerComponent] });
|
|
4978
|
+
AXColorPaletteModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXColorPaletteModule, providers: [], imports: [[CommonModule, ...MODULES$f]] });
|
|
4979
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXColorPaletteModule, decorators: [{
|
|
4980
|
+
type: NgModule,
|
|
4981
|
+
args: [{
|
|
4982
|
+
declarations: [...CONPONENTS],
|
|
4983
|
+
imports: [CommonModule, ...MODULES$f],
|
|
4984
|
+
exports: [...CONPONENTS],
|
|
4985
|
+
providers: [],
|
|
4986
|
+
}]
|
|
4987
|
+
}] });
|
|
4988
|
+
|
|
4989
|
+
class AXCollapseComponent extends AXBaseComponent {
|
|
4990
|
+
constructor(elementRef, cdr) {
|
|
4991
|
+
super(elementRef, cdr);
|
|
4992
|
+
this.cdr = cdr;
|
|
4993
|
+
this.isCollapsedChange = new EventEmitter();
|
|
4994
|
+
this._isCollapsed = false;
|
|
4995
|
+
this.caption = null;
|
|
4996
|
+
}
|
|
4997
|
+
get isCollapsed() {
|
|
4998
|
+
return this._isCollapsed;
|
|
4999
|
+
}
|
|
5000
|
+
set isCollapsed(v) {
|
|
5001
|
+
if (v != this._isCollapsed) {
|
|
5002
|
+
this._isCollapsed = v;
|
|
5003
|
+
this.isCollapsedChange.emit(v);
|
|
5004
|
+
this._cdr.detectChanges();
|
|
5005
|
+
}
|
|
5006
|
+
}
|
|
5007
|
+
handleHeaderClick() {
|
|
5008
|
+
this.isCollapsed = !this.isCollapsed;
|
|
5009
|
+
}
|
|
5010
|
+
}
|
|
5011
|
+
AXCollapseComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXCollapseComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
5012
|
+
AXCollapseComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.9", type: AXCollapseComponent, selector: "ax-collapse", inputs: { isCollapsed: "isCollapsed", caption: "caption" }, outputs: { isCollapsedChange: "isCollapsedChange" }, host: { classAttribute: "ax-collapse" }, queries: [{ propertyName: "headerTemplate", first: true, predicate: ["header"], descendants: true, static: true }], usesInheritance: true, ngImport: i0, template: "<div class=\"ax-collapse-header\" [class.ax-state-collapsed]=\"isCollapsed\">\r\n <ng-container *ngIf=\"headerTemplate;else header\">\r\n <div class=\"ax-collapse-custom-header-container\" (click)=\"handleHeaderClick()\">\r\n <ng-container [ngTemplateOutlet]=\"headerTemplate\"\r\n [ngTemplateOutletContext]=\"{ $implicit: {caption,isCollapsed} }\"></ng-container>\r\n </div>\r\n </ng-container>\r\n <ng-template #header>\r\n <div class=\"ax-collapse-header-container\" (click)=\"handleHeaderClick()\">\r\n <div>\r\n <span class=\"ax-ic ax-ic-chevron ax-collapse-arrow ax-transition-all\"\r\n [class.ax-rotate-90]=\"isCollapsed\"></span>\r\n <ng-content select=\"ax-prefix\"></ng-content>\r\n <span>{{caption}}</span>\r\n </div>\r\n <div>\r\n <ng-content select=\"ax-suffix\"></ng-content>\r\n </div>\r\n </div>\r\n </ng-template>\r\n</div>\r\n\r\n<div class=\"ax-collapse-body ax-transition-all\" *ngIf=\"!isCollapsed\">\r\n <ng-content></ng-content>\r\n</div>", directives: [{ type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1$1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
5013
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXCollapseComponent, decorators: [{
|
|
5014
|
+
type: Component,
|
|
5015
|
+
args: [{ selector: 'ax-collapse', host: { class: 'ax-collapse' }, changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, template: "<div class=\"ax-collapse-header\" [class.ax-state-collapsed]=\"isCollapsed\">\r\n <ng-container *ngIf=\"headerTemplate;else header\">\r\n <div class=\"ax-collapse-custom-header-container\" (click)=\"handleHeaderClick()\">\r\n <ng-container [ngTemplateOutlet]=\"headerTemplate\"\r\n [ngTemplateOutletContext]=\"{ $implicit: {caption,isCollapsed} }\"></ng-container>\r\n </div>\r\n </ng-container>\r\n <ng-template #header>\r\n <div class=\"ax-collapse-header-container\" (click)=\"handleHeaderClick()\">\r\n <div>\r\n <span class=\"ax-ic ax-ic-chevron ax-collapse-arrow ax-transition-all\"\r\n [class.ax-rotate-90]=\"isCollapsed\"></span>\r\n <ng-content select=\"ax-prefix\"></ng-content>\r\n <span>{{caption}}</span>\r\n </div>\r\n <div>\r\n <ng-content select=\"ax-suffix\"></ng-content>\r\n </div>\r\n </div>\r\n </ng-template>\r\n</div>\r\n\r\n<div class=\"ax-collapse-body ax-transition-all\" *ngIf=\"!isCollapsed\">\r\n <ng-content></ng-content>\r\n</div>" }]
|
|
5016
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { isCollapsedChange: [{
|
|
5017
|
+
type: Output
|
|
5018
|
+
}], isCollapsed: [{
|
|
5019
|
+
type: Input
|
|
5020
|
+
}], caption: [{
|
|
5021
|
+
type: Input
|
|
5022
|
+
}], headerTemplate: [{
|
|
5023
|
+
type: ContentChild,
|
|
5024
|
+
args: ['header', { static: true }]
|
|
5025
|
+
}] } });
|
|
5026
|
+
|
|
5027
|
+
class AXCollapseGroupComponent extends AXBaseComponent {
|
|
4575
5028
|
constructor(elementRef, cdr) {
|
|
4576
5029
|
super(elementRef, cdr);
|
|
4577
|
-
this.
|
|
4578
|
-
this.
|
|
4579
|
-
|
|
4580
|
-
|
|
4581
|
-
return this._visible;
|
|
5030
|
+
this.cdr = cdr;
|
|
5031
|
+
this.accordion = false;
|
|
5032
|
+
this.nonCollapsedIndex = 0;
|
|
5033
|
+
this._subs = [];
|
|
4582
5034
|
}
|
|
4583
|
-
|
|
4584
|
-
if (
|
|
4585
|
-
this.
|
|
4586
|
-
|
|
4587
|
-
this.
|
|
5035
|
+
onViewInit() {
|
|
5036
|
+
if (this.accordion) {
|
|
5037
|
+
this._items.forEach(c => c.isCollapsed = true);
|
|
5038
|
+
this._items.get(this.nonCollapsedIndex).isCollapsed = false;
|
|
5039
|
+
console.log(this._items[this.nonCollapsedIndex]);
|
|
5040
|
+
this._items.forEach((c1) => {
|
|
5041
|
+
this._subs.push(c1.isCollapsedChange.subscribe(e => {
|
|
5042
|
+
if (!e)
|
|
5043
|
+
this._items.toArray().filter(c2 => c2 != c1).forEach(c => c.isCollapsed = true);
|
|
5044
|
+
}));
|
|
5045
|
+
});
|
|
4588
5046
|
}
|
|
4589
5047
|
}
|
|
4590
|
-
|
|
4591
|
-
|
|
4592
|
-
this.
|
|
4593
|
-
this._cdr.markForCheck();
|
|
4594
|
-
}
|
|
4595
|
-
_handleAttched(ref) {
|
|
4596
|
-
ref = ref;
|
|
4597
|
-
if (ref.instance) {
|
|
4598
|
-
ref.instance.text = this.text;
|
|
4599
|
-
}
|
|
5048
|
+
onDestroy() {
|
|
5049
|
+
this._subs.forEach(s => s.unsubscribe());
|
|
5050
|
+
this._subs = [];
|
|
4600
5051
|
}
|
|
4601
5052
|
}
|
|
4602
|
-
|
|
4603
|
-
|
|
4604
|
-
|
|
4605
|
-
`, isInline: true, directives: [{ type: i1$4.CdkPortalOutlet, selector: "[cdkPortalOutlet]", inputs: ["cdkPortalOutlet"], outputs: ["attached"], exportAs: ["cdkPortalOutlet"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
4606
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXLoadingComponent, decorators: [{
|
|
5053
|
+
AXCollapseGroupComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXCollapseGroupComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
5054
|
+
AXCollapseGroupComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.9", type: AXCollapseGroupComponent, selector: "ax-collapse-group", inputs: { accordion: "accordion", nonCollapsedIndex: "nonCollapsedIndex" }, host: { classAttribute: "ax-collapse-group" }, queries: [{ propertyName: "_items", predicate: AXCollapseComponent }], usesInheritance: true, ngImport: i0, template: `<ng-content select="ax-collapse"></ng-content>`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
5055
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXCollapseGroupComponent, decorators: [{
|
|
4607
5056
|
type: Component,
|
|
4608
5057
|
args: [{
|
|
4609
|
-
selector: 'ax-
|
|
4610
|
-
template:
|
|
4611
|
-
|
|
4612
|
-
`,
|
|
5058
|
+
selector: 'ax-collapse-group',
|
|
5059
|
+
template: `<ng-content select="ax-collapse"></ng-content>`,
|
|
5060
|
+
host: { class: 'ax-collapse-group' },
|
|
4613
5061
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
4614
5062
|
encapsulation: ViewEncapsulation.None,
|
|
4615
|
-
host: { class: 'ax-loading' }
|
|
4616
5063
|
}]
|
|
4617
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: {
|
|
4618
|
-
type: Output
|
|
4619
|
-
}], visible: [{
|
|
4620
|
-
type: Input
|
|
4621
|
-
}], type: [{
|
|
5064
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { accordion: [{
|
|
4622
5065
|
type: Input
|
|
4623
|
-
}],
|
|
5066
|
+
}], nonCollapsedIndex: [{
|
|
4624
5067
|
type: Input
|
|
5068
|
+
}], _items: [{
|
|
5069
|
+
type: ContentChildren,
|
|
5070
|
+
args: [AXCollapseComponent]
|
|
4625
5071
|
}] } });
|
|
4626
5072
|
|
|
4627
|
-
|
|
4628
|
-
|
|
4629
|
-
|
|
4630
|
-
|
|
4631
|
-
|
|
4632
|
-
|
|
4633
|
-
|
|
4634
|
-
|
|
4635
|
-
|
|
4636
|
-
|
|
5073
|
+
class AXCollapseModule {
|
|
5074
|
+
}
|
|
5075
|
+
AXCollapseModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXCollapseModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
5076
|
+
AXCollapseModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXCollapseModule, declarations: [AXCollapseComponent, AXCollapseGroupComponent], imports: [CommonModule], exports: [AXCollapseComponent, AXCollapseGroupComponent] });
|
|
5077
|
+
AXCollapseModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXCollapseModule, providers: [], imports: [[CommonModule]] });
|
|
5078
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXCollapseModule, decorators: [{
|
|
5079
|
+
type: NgModule,
|
|
5080
|
+
args: [{
|
|
5081
|
+
declarations: [AXCollapseComponent, AXCollapseGroupComponent],
|
|
5082
|
+
imports: [CommonModule],
|
|
5083
|
+
exports: [AXCollapseComponent, AXCollapseGroupComponent],
|
|
5084
|
+
providers: [],
|
|
5085
|
+
}]
|
|
5086
|
+
}] });
|
|
5087
|
+
|
|
5088
|
+
class AXPopoverComponent extends AXInteractiveComponenetMixin {
|
|
5089
|
+
constructor(_elementRef, _cdr, _zone, _overlay, _platform, _viewContainerRef) {
|
|
4637
5090
|
super(_elementRef, _cdr);
|
|
4638
5091
|
this._elementRef = _elementRef;
|
|
4639
5092
|
this._cdr = _cdr;
|
|
4640
5093
|
this._zone = _zone;
|
|
5094
|
+
this._overlay = _overlay;
|
|
4641
5095
|
this._platform = _platform;
|
|
4642
|
-
|
|
4643
|
-
|
|
4644
|
-
|
|
4645
|
-
|
|
4646
|
-
|
|
4647
|
-
|
|
4648
|
-
|
|
4649
|
-
|
|
4650
|
-
|
|
4651
|
-
|
|
4652
|
-
|
|
4653
|
-
|
|
4654
|
-
|
|
4655
|
-
|
|
4656
|
-
|
|
4657
|
-
|
|
5096
|
+
this._viewContainerRef = _viewContainerRef;
|
|
5097
|
+
this.position = [
|
|
5098
|
+
{
|
|
5099
|
+
originX: 'start',
|
|
5100
|
+
originY: 'bottom',
|
|
5101
|
+
overlayX: 'start',
|
|
5102
|
+
overlayY: 'top',
|
|
5103
|
+
},
|
|
5104
|
+
{
|
|
5105
|
+
originX: 'start',
|
|
5106
|
+
originY: 'top',
|
|
5107
|
+
overlayX: 'start',
|
|
5108
|
+
overlayY: 'bottom'
|
|
5109
|
+
}
|
|
5110
|
+
];
|
|
5111
|
+
this._subs = [];
|
|
5112
|
+
//
|
|
5113
|
+
this.openTrigger = 'toggle';
|
|
5114
|
+
//
|
|
5115
|
+
this.closeTrigger = 'clickout';
|
|
5116
|
+
//
|
|
5117
|
+
this.hasBackdrop = false;
|
|
5118
|
+
this.adaptivityEnabled = false;
|
|
5119
|
+
//
|
|
5120
|
+
this._mousePos = { x: 0, y: 0 };
|
|
5121
|
+
this._isScrollAttached = false;
|
|
5122
|
+
//
|
|
5123
|
+
this.onOpened = new EventEmitter();
|
|
5124
|
+
this.onClosed = new EventEmitter();
|
|
4658
5125
|
}
|
|
4659
|
-
get
|
|
4660
|
-
return this.
|
|
5126
|
+
get target() {
|
|
5127
|
+
return this._target;
|
|
4661
5128
|
}
|
|
4662
|
-
|
|
4663
|
-
|
|
4664
|
-
|
|
5129
|
+
set target(v) {
|
|
5130
|
+
if (v instanceof HTMLElement)
|
|
5131
|
+
this._target = v;
|
|
5132
|
+
else if (v instanceof ElementRef)
|
|
5133
|
+
this._target = v.nativeElement;
|
|
5134
|
+
else if (v instanceof AXBaseComponent)
|
|
5135
|
+
this._target = v._getInnerElement();
|
|
4665
5136
|
}
|
|
4666
|
-
|
|
4667
|
-
|
|
4668
|
-
|
|
5137
|
+
_emitOnOpenedEvent() {
|
|
5138
|
+
this.onOpened.emit({
|
|
5139
|
+
component: this,
|
|
5140
|
+
htmlElement: this._getHostElement()
|
|
5141
|
+
});
|
|
4669
5142
|
}
|
|
4670
|
-
|
|
4671
|
-
|
|
4672
|
-
|
|
4673
|
-
|
|
5143
|
+
_emitOnClosedEvent() {
|
|
5144
|
+
this.onClosed.emit({
|
|
5145
|
+
component: this,
|
|
5146
|
+
htmlElement: this._getHostElement()
|
|
5147
|
+
});
|
|
4674
5148
|
}
|
|
5149
|
+
//
|
|
4675
5150
|
onViewInit() {
|
|
4676
|
-
|
|
4677
|
-
|
|
4678
|
-
|
|
4679
|
-
|
|
4680
|
-
|
|
4681
|
-
|
|
4682
|
-
|
|
4683
|
-
|
|
4684
|
-
if (this.isItemDisabled(item)) {
|
|
4685
|
-
return;
|
|
4686
|
-
}
|
|
4687
|
-
if (!this.multiple)
|
|
4688
|
-
this.close();
|
|
4689
|
-
this.toggleSelect(item);
|
|
4690
|
-
this._cdr.detectChanges();
|
|
4691
|
-
}
|
|
4692
|
-
_handleListScroll(e) {
|
|
4693
|
-
const list = e.target;
|
|
4694
|
-
if ((list.scrollTop < list.scrollHeight - list.clientHeight)) {
|
|
4695
|
-
return;
|
|
4696
|
-
}
|
|
4697
|
-
this._fetchData();
|
|
4698
|
-
}
|
|
4699
|
-
_checkForLoadData() {
|
|
4700
|
-
const list = this.listContainer.nativeElement;
|
|
4701
|
-
if (this.loadedCount < this.totalCount && list.scrollHeight < ((list.parentElement.clientHeight) * 1.5)) {
|
|
4702
|
-
this._fetchData();
|
|
4703
|
-
}
|
|
4704
|
-
}
|
|
4705
|
-
_onDataLoaded() {
|
|
4706
|
-
if (this.popover.isOpen) {
|
|
4707
|
-
setTimeout(() => {
|
|
4708
|
-
this._checkForLoadData();
|
|
4709
|
-
this.popover.updatePosition();
|
|
4710
|
-
if (this._forceFocus) {
|
|
4711
|
-
this._focusSelectedItem();
|
|
4712
|
-
this._forceFocus = false;
|
|
4713
|
-
}
|
|
4714
|
-
}, 100);
|
|
4715
|
-
}
|
|
4716
|
-
}
|
|
4717
|
-
_onValueChanged(oldValue, newValue) {
|
|
4718
|
-
super._onValueChanged(oldValue, newValue);
|
|
4719
|
-
}
|
|
4720
|
-
_handleOnRemoveItemClick(e, item) {
|
|
4721
|
-
this.unselectItems(item);
|
|
4722
|
-
e.stopPropagation();
|
|
4723
|
-
}
|
|
4724
|
-
_handleBadgeRemove(e, item) {
|
|
4725
|
-
this.unselectItems(item);
|
|
4726
|
-
e.stopPropagation();
|
|
4727
|
-
this.close();
|
|
4728
|
-
}
|
|
4729
|
-
_handleKeydown(e) {
|
|
4730
|
-
const isLetter = new RegExp(/[a-zA-Z0-9\-]/).test(String.fromCharCode(e.keyCode));
|
|
4731
|
-
if (e.code === 'Backspace' && e.type === 'keydown' &&
|
|
4732
|
-
((this.allowNull === true && this.selectedItems.length > 0) ||
|
|
4733
|
-
(this.allowNull !== true && this.selectedItems.length > 1))) {
|
|
4734
|
-
this.isUserInput = true;
|
|
4735
|
-
this.unselectItems(this.selectedItems.pop());
|
|
4736
|
-
e.preventDefault();
|
|
4737
|
-
return;
|
|
4738
|
-
}
|
|
4739
|
-
else if ((e.code === 'ArrowDown' || e.code === 'ArrowUp' || e.code === 'Space') && !this.popover.isOpen && e.type === 'keydown') {
|
|
4740
|
-
if (this.multiple) {
|
|
4741
|
-
this.open();
|
|
5151
|
+
if (this._target) {
|
|
5152
|
+
if (this.openTrigger === 'mouseover') {
|
|
5153
|
+
const mouseEnter$ = fromEvent(this._target, 'mouseover');
|
|
5154
|
+
this._addSub(mouseEnter$.subscribe(e => {
|
|
5155
|
+
const point = { x: e.clientX, y: e.clientY };
|
|
5156
|
+
if (AXDrawingUtil.isInElementBound(point, this._target))
|
|
5157
|
+
this.open();
|
|
5158
|
+
}));
|
|
4742
5159
|
}
|
|
4743
|
-
|
|
4744
|
-
|
|
4745
|
-
|
|
4746
|
-
this.
|
|
4747
|
-
|
|
4748
|
-
|
|
4749
|
-
|
|
4750
|
-
|
|
5160
|
+
if (this.closeTrigger === 'mouseout') {
|
|
5161
|
+
const mouseMove$ = fromEvent(document, 'mousemove');
|
|
5162
|
+
this._addSub(mouseMove$.pipe(throttleTime(50)).subscribe(e => {
|
|
5163
|
+
this._mousePos.x = e.clientX;
|
|
5164
|
+
this._mousePos.y = e.clientY;
|
|
5165
|
+
if (this.isOpen) {
|
|
5166
|
+
setTimeout(() => {
|
|
5167
|
+
if (!_.some([this._target, this._overlayRef.overlayElement], el => _.includes(document.elementsFromPoint(this._mousePos.x, this._mousePos.y), el)))
|
|
5168
|
+
this.close();
|
|
5169
|
+
}, 100);
|
|
5170
|
+
}
|
|
5171
|
+
}));
|
|
5172
|
+
}
|
|
5173
|
+
//
|
|
5174
|
+
if (this.openTrigger === 'click' || this.openTrigger === 'toggle') {
|
|
5175
|
+
const click$ = fromEvent(this._target, 'click');
|
|
5176
|
+
this._addSub(click$.subscribe(e => {
|
|
5177
|
+
this.openTrigger == 'toggle' ? this.toggle() : this.open();
|
|
5178
|
+
}));
|
|
4751
5179
|
}
|
|
4752
|
-
e.preventDefault();
|
|
4753
|
-
return;
|
|
4754
|
-
}
|
|
4755
|
-
else if (isLetter) {
|
|
4756
|
-
this.text = e.key;
|
|
4757
|
-
this.open();
|
|
4758
|
-
e.preventDefault();
|
|
4759
|
-
return;
|
|
4760
5180
|
}
|
|
4761
5181
|
}
|
|
4762
|
-
|
|
5182
|
+
//
|
|
5183
|
+
onDestroy() {
|
|
4763
5184
|
var _a, _b;
|
|
4764
|
-
|
|
4765
|
-
|
|
4766
|
-
|
|
4767
|
-
|
|
4768
|
-
|
|
4769
|
-
|
|
4770
|
-
|
|
4771
|
-
|
|
4772
|
-
|
|
4773
|
-
|
|
4774
|
-
|
|
4775
|
-
|
|
4776
|
-
|
|
4777
|
-
|
|
4778
|
-
else if ((e.code === 'Space' || e.code === 'Enter')) {
|
|
4779
|
-
debugger;
|
|
4780
|
-
e.preventDefault();
|
|
4781
|
-
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;
|
|
4782
|
-
const focusedItem = _.findLast(this.flatItems, [this.valueField, focusedItemId]);
|
|
4783
|
-
if (focusedItem) {
|
|
4784
|
-
if (this.isItemDisabled(focusedItem)) {
|
|
4785
|
-
return;
|
|
4786
|
-
}
|
|
4787
|
-
if (this.multiple) {
|
|
4788
|
-
this.isUserInput = true;
|
|
4789
|
-
this.toggleSelect(focusedItem);
|
|
4790
|
-
}
|
|
4791
|
-
else {
|
|
4792
|
-
this.isUserInput = true;
|
|
4793
|
-
this.selectItems(focusedItem);
|
|
4794
|
-
this.close();
|
|
4795
|
-
}
|
|
5185
|
+
(_a = this._overlayRef) === null || _a === void 0 ? void 0 : _a.detach();
|
|
5186
|
+
(_b = this._overlayRef) === null || _b === void 0 ? void 0 : _b.dispose();
|
|
5187
|
+
this._subs.forEach(s => {
|
|
5188
|
+
s === null || s === void 0 ? void 0 : s.unsubscribe();
|
|
5189
|
+
});
|
|
5190
|
+
}
|
|
5191
|
+
_handleKeydownHandler(e) {
|
|
5192
|
+
// if (e.key === 'Enter' && e.type === 'keydown') {
|
|
5193
|
+
// this.toggle();
|
|
5194
|
+
// }
|
|
5195
|
+
if (e.key === 'Escape') {
|
|
5196
|
+
if (this.isOpen) {
|
|
5197
|
+
this.close();
|
|
5198
|
+
e.stopPropagation();
|
|
4796
5199
|
}
|
|
4797
5200
|
}
|
|
4798
|
-
|
|
4799
|
-
|
|
4800
|
-
|
|
4801
|
-
|
|
5201
|
+
}
|
|
5202
|
+
toggle() {
|
|
5203
|
+
this.isOpen ? this.close() : this.open();
|
|
5204
|
+
}
|
|
5205
|
+
//
|
|
5206
|
+
close() {
|
|
5207
|
+
var _a;
|
|
5208
|
+
if (!this.isOpen) {
|
|
5209
|
+
return;
|
|
4802
5210
|
}
|
|
4803
|
-
|
|
4804
|
-
|
|
4805
|
-
|
|
4806
|
-
|
|
5211
|
+
(_a = this._overlayRef) === null || _a === void 0 ? void 0 : _a.detach();
|
|
5212
|
+
this._emitOnClosedEvent();
|
|
5213
|
+
}
|
|
5214
|
+
dispose() {
|
|
5215
|
+
var _a;
|
|
5216
|
+
this.close();
|
|
5217
|
+
(_a = this._overlayRef) === null || _a === void 0 ? void 0 : _a.dispose();
|
|
5218
|
+
this._overlayRef = null;
|
|
5219
|
+
}
|
|
5220
|
+
//
|
|
5221
|
+
open() {
|
|
5222
|
+
if (this.isOpen) {
|
|
5223
|
+
return;
|
|
4807
5224
|
}
|
|
5225
|
+
this._ensureOverlayCreated();
|
|
5226
|
+
this._overlayRef.attach(this._templatePortal);
|
|
5227
|
+
this._emitOnOpenedEvent();
|
|
4808
5228
|
}
|
|
4809
|
-
|
|
4810
|
-
|
|
4811
|
-
|
|
4812
|
-
|
|
4813
|
-
|
|
4814
|
-
|
|
5229
|
+
_ensureOverlayCreated() {
|
|
5230
|
+
const targetRef = this._target;
|
|
5231
|
+
if (!targetRef)
|
|
5232
|
+
return;
|
|
5233
|
+
if (!this._overlayRef) {
|
|
5234
|
+
if (this._platform.is('Mobile') && this.adaptivityEnabled) {
|
|
5235
|
+
this._openAsActionsheet();
|
|
4815
5236
|
}
|
|
4816
5237
|
else {
|
|
4817
|
-
this.
|
|
5238
|
+
this._openAsPopover(targetRef);
|
|
4818
5239
|
}
|
|
4819
|
-
|
|
4820
|
-
|
|
4821
|
-
|
|
5240
|
+
if (this.closeTrigger == 'clickout') {
|
|
5241
|
+
this._addSub(this._overlayRef._outsidePointerEvents.subscribe(c => {
|
|
5242
|
+
const target = c.target;
|
|
5243
|
+
const comElem = targetRef;
|
|
5244
|
+
if (!(comElem.contains(target))) {
|
|
5245
|
+
this.close();
|
|
5246
|
+
}
|
|
5247
|
+
}));
|
|
4822
5248
|
}
|
|
4823
|
-
|
|
4824
|
-
|
|
4825
|
-
|
|
4826
|
-
|
|
4827
|
-
|
|
4828
|
-
|
|
4829
|
-
|
|
4830
|
-
const list = this.listContainer.nativeElement;
|
|
4831
|
-
const fn = (s) => list.querySelector(s);
|
|
4832
|
-
const itemDiv = fn(`.ax-list-item.ax-state-focus`) || fn(`.ax-list-item.ax-state-selected`) || fn(`.ax-list-item`);
|
|
4833
|
-
let next = (sign == 1 ? itemDiv.nextElementSibling : itemDiv.previousElementSibling);
|
|
4834
|
-
if (next) {
|
|
4835
|
-
this._focusItemElement(next);
|
|
4836
|
-
}
|
|
4837
|
-
else {
|
|
4838
|
-
const parent = itemDiv.closest('.ax-list-item-group');
|
|
4839
|
-
if (parent) {
|
|
4840
|
-
const lis = (_a = (sign == 1 ? parent.nextElementSibling : parent.previousElementSibling)) === null || _a === void 0 ? void 0 : _a.querySelectorAll('li');
|
|
4841
|
-
const a = sign == 1 ? _.first(lis) : _.last(lis);
|
|
4842
|
-
if (a) {
|
|
4843
|
-
this._focusItemElement(a);
|
|
5249
|
+
this._addSub(this._overlayRef.attachments().subscribe(() => {
|
|
5250
|
+
if (!this._isScrollAttached) {
|
|
5251
|
+
this._addSub(this._platform.scroll.subscribe(c => {
|
|
5252
|
+
if (!c.nativeEvent.target.closest('.ax-overlay-pane'))
|
|
5253
|
+
this.updatePosition();
|
|
5254
|
+
}));
|
|
5255
|
+
this._isScrollAttached = true;
|
|
4844
5256
|
}
|
|
4845
|
-
}
|
|
5257
|
+
}));
|
|
5258
|
+
}
|
|
5259
|
+
if (!this._templatePortal) {
|
|
5260
|
+
this._templatePortal = new TemplatePortal(this._baseTemplate, this._viewContainerRef);
|
|
4846
5261
|
}
|
|
4847
5262
|
}
|
|
4848
|
-
|
|
4849
|
-
this.
|
|
4850
|
-
|
|
4851
|
-
|
|
4852
|
-
|
|
4853
|
-
|
|
4854
|
-
|
|
4855
|
-
|
|
5263
|
+
_openAsPopover(targetRef) {
|
|
5264
|
+
this._overlayRef = this._overlay.create({
|
|
5265
|
+
positionStrategy: this._overlay.position()
|
|
5266
|
+
.flexibleConnectedTo(targetRef)
|
|
5267
|
+
.withPositions(Array.isArray(this.position) ? this.position : [this.position])
|
|
5268
|
+
.withPush(false),
|
|
5269
|
+
disposeOnNavigation: true,
|
|
5270
|
+
panelClass: ['ax-animate-fadeIn', 'ax-animate-faster'],
|
|
5271
|
+
maxHeight: 'unset',
|
|
5272
|
+
hasBackdrop: this.hasBackdrop,
|
|
5273
|
+
backdropClass: [this.backdropClass || 'cdk-overlay-transparent-backdrop']
|
|
4856
5274
|
});
|
|
4857
5275
|
}
|
|
4858
|
-
|
|
4859
|
-
this.
|
|
4860
|
-
|
|
4861
|
-
|
|
4862
|
-
|
|
4863
|
-
|
|
4864
|
-
|
|
4865
|
-
|
|
4866
|
-
else {
|
|
4867
|
-
c.classList.remove('ax-state-focus');
|
|
5276
|
+
_openAsActionsheet() {
|
|
5277
|
+
this._overlayRef = this._overlay.create({
|
|
5278
|
+
positionStrategy: this._overlay.position().flexibleConnectedTo(document.body).withPositions([
|
|
5279
|
+
{
|
|
5280
|
+
originX: 'center',
|
|
5281
|
+
originY: 'bottom',
|
|
5282
|
+
overlayX: 'center',
|
|
5283
|
+
overlayY: 'bottom'
|
|
4868
5284
|
}
|
|
4869
|
-
|
|
4870
|
-
|
|
4871
|
-
|
|
4872
|
-
|
|
4873
|
-
|
|
5285
|
+
]),
|
|
5286
|
+
disposeOnNavigation: true,
|
|
5287
|
+
panelClass: ['ax-animate-slideInUp', 'ax-animate-faster'],
|
|
5288
|
+
hasBackdrop: true,
|
|
5289
|
+
width: '100%'
|
|
4874
5290
|
});
|
|
4875
5291
|
}
|
|
4876
|
-
|
|
4877
|
-
|
|
4878
|
-
let i = 0;
|
|
4879
|
-
if (last) {
|
|
4880
|
-
i = _.findLastIndex(this.flatItems, [this.valueField, last[this.valueField]]);
|
|
4881
|
-
}
|
|
4882
|
-
i += sign;
|
|
4883
|
-
let next = _.nth(this.flatItems, i);
|
|
4884
|
-
while ((next === null || next === void 0 ? void 0 : next.children) && (next === null || next === void 0 ? void 0 : next.children.length)) {
|
|
4885
|
-
i += sign;
|
|
4886
|
-
next = _.nth(this.flatItems, i);
|
|
4887
|
-
}
|
|
4888
|
-
if (next) {
|
|
4889
|
-
this.selectItems(next);
|
|
4890
|
-
}
|
|
4891
|
-
else if (next == null && sign == 1) {
|
|
4892
|
-
this._fetchData();
|
|
4893
|
-
}
|
|
4894
|
-
}
|
|
4895
|
-
_onSearchExprChanged(e) {
|
|
4896
|
-
this.empty();
|
|
4897
|
-
this._forceFocus = true;
|
|
4898
|
-
this._fetchData();
|
|
5292
|
+
get isOpen() {
|
|
5293
|
+
return this._overlayRef ? this._overlayRef.hasAttached() : false;
|
|
4899
5294
|
}
|
|
4900
|
-
|
|
4901
|
-
|
|
4902
|
-
this.empty();
|
|
4903
|
-
this._forceFocus = true;
|
|
4904
|
-
this._fetchData();
|
|
5295
|
+
_addSub(sub) {
|
|
5296
|
+
this._subs.push(sub);
|
|
4905
5297
|
}
|
|
4906
|
-
|
|
5298
|
+
updatePosition() {
|
|
4907
5299
|
var _a;
|
|
4908
|
-
|
|
5300
|
+
(_a = this._overlayRef) === null || _a === void 0 ? void 0 : _a.updatePosition();
|
|
5301
|
+
this.focus();
|
|
4909
5302
|
}
|
|
4910
5303
|
}
|
|
4911
|
-
|
|
4912
|
-
|
|
4913
|
-
|
|
4914
|
-
], 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 }], 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 \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 \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: 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"] }], directives: [{ type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i8.CdkTrapFocus, selector: "[cdkTrapFocus]", inputs: ["cdkTrapFocus", "cdkTrapFocusAutoCapture"], exportAs: ["cdkTrapFocus"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
4915
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXColorPickerComponent, decorators: [{
|
|
5304
|
+
AXPopoverComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.9", 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 });
|
|
5305
|
+
AXPopoverComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.9", 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 });
|
|
5306
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXPopoverComponent, decorators: [{
|
|
4916
5307
|
type: Component,
|
|
4917
|
-
args: [{ selector: 'ax-
|
|
4918
|
-
|
|
4919
|
-
], 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 \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 \r\n </div>\r\n</ax-popover> " }]
|
|
4920
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: i0.NgZone }, { type: i1$3.AXPlatform }]; }, propDecorators: { popover: [{
|
|
4921
|
-
type: ViewChild,
|
|
4922
|
-
args: [AXPopoverComponent, { static: true }]
|
|
4923
|
-
}], clearButton: [{
|
|
5308
|
+
args: [{ selector: 'ax-popover', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, template: "<ng-template #baseTemplate>\r\n <ng-content></ng-content>\r\n</ng-template>" }]
|
|
5309
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: i0.NgZone }, { type: i1.Overlay }, { type: i1$4.AXPlatform }, { type: i0.ViewContainerRef }]; }, propDecorators: { target: [{
|
|
4924
5310
|
type: Input
|
|
4925
|
-
}],
|
|
5311
|
+
}], position: [{
|
|
4926
5312
|
type: Input
|
|
4927
|
-
}],
|
|
5313
|
+
}], _baseTemplate: [{
|
|
4928
5314
|
type: ViewChild,
|
|
4929
|
-
args: ['
|
|
4930
|
-
}],
|
|
4931
|
-
type:
|
|
4932
|
-
|
|
4933
|
-
|
|
5315
|
+
args: ['baseTemplate']
|
|
5316
|
+
}], openTrigger: [{
|
|
5317
|
+
type: Input
|
|
5318
|
+
}], closeTrigger: [{
|
|
5319
|
+
type: Input
|
|
5320
|
+
}], hasBackdrop: [{
|
|
5321
|
+
type: Input
|
|
5322
|
+
}], backdropClass: [{
|
|
5323
|
+
type: Input
|
|
5324
|
+
}], adaptivityEnabled: [{
|
|
5325
|
+
type: Input
|
|
5326
|
+
}], onOpened: [{
|
|
5327
|
+
type: Output
|
|
5328
|
+
}], onClosed: [{
|
|
5329
|
+
type: Output
|
|
5330
|
+
}], _handleKeydownHandler: [{
|
|
4934
5331
|
type: HostListener,
|
|
4935
5332
|
args: ['keydown', ['$event']]
|
|
4936
5333
|
}] } });
|
|
4937
5334
|
|
|
5335
|
+
class AXPopoverModule {
|
|
5336
|
+
}
|
|
5337
|
+
AXPopoverModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXPopoverModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
5338
|
+
AXPopoverModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXPopoverModule, declarations: [AXPopoverComponent], imports: [CommonModule], exports: [AXPopoverComponent] });
|
|
5339
|
+
AXPopoverModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXPopoverModule, providers: [], imports: [[CommonModule]] });
|
|
5340
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXPopoverModule, decorators: [{
|
|
5341
|
+
type: NgModule,
|
|
5342
|
+
args: [{
|
|
5343
|
+
declarations: [AXPopoverComponent],
|
|
5344
|
+
imports: [CommonModule],
|
|
5345
|
+
exports: [AXPopoverComponent],
|
|
5346
|
+
providers: []
|
|
5347
|
+
}]
|
|
5348
|
+
}] });
|
|
5349
|
+
|
|
5350
|
+
const AXBaseColorPickerMixin = _InteractiveComponenetMixin(_DropdownComponenetMixin(_ValueComponenetMixin(_TextboxComponenetMixin(AXBaseComponent))));
|
|
4938
5351
|
/**
|
|
4939
|
-
* The
|
|
5352
|
+
* The Button is a component which detects user interaction and triggers a corresponding event
|
|
4940
5353
|
*
|
|
4941
5354
|
* @category Components
|
|
4942
5355
|
*/
|
|
4943
|
-
class
|
|
5356
|
+
class AXColorPickerComponent extends AXBaseColorPickerMixin {
|
|
4944
5357
|
/**
|
|
4945
5358
|
* @ignore
|
|
4946
5359
|
*/
|
|
4947
|
-
constructor(
|
|
4948
|
-
super(
|
|
5360
|
+
constructor(_elementRef, _cdr, _zone, _platform) {
|
|
5361
|
+
super(_elementRef, _cdr);
|
|
5362
|
+
this._elementRef = _elementRef;
|
|
5363
|
+
this._zone = _zone;
|
|
5364
|
+
this._platform = _platform;
|
|
5365
|
+
this._mode = 'hex';
|
|
5366
|
+
this._isMobile = false;
|
|
5367
|
+
this._isMobile = this._platform.is('Mobile');
|
|
5368
|
+
this._platform.resize.subscribe(() => {
|
|
5369
|
+
this._isMobile = this._platform.is('Mobile');
|
|
5370
|
+
this.popover.dispose();
|
|
5371
|
+
this._popoverWidth = this._isMobile ? null : this._target.offsetWidth;
|
|
5372
|
+
});
|
|
5373
|
+
}
|
|
5374
|
+
_handleArrowClickEvent(e) {
|
|
5375
|
+
e.nativeEvent.stopPropagation();
|
|
5376
|
+
this.toggle();
|
|
5377
|
+
}
|
|
5378
|
+
_handleInputClickEvent(e) {
|
|
5379
|
+
e.stopPropagation();
|
|
5380
|
+
this.toggle();
|
|
5381
|
+
}
|
|
5382
|
+
onInit() {
|
|
5383
|
+
super.onInit();
|
|
5384
|
+
this._target = this._elementRef.nativeElement;
|
|
5385
|
+
this._popoverTitle = this.placeholder || AXTranslator.get('selectbox.popover.title');
|
|
5386
|
+
}
|
|
5387
|
+
onViewInit() {
|
|
5388
|
+
super.onViewInit();
|
|
5389
|
+
this._popoverWidth = this._isMobile ? null : this._target.offsetWidth;
|
|
5390
|
+
}
|
|
5391
|
+
_onValueChanged(oldValue, newValue) {
|
|
5392
|
+
super._onValueChanged(oldValue, newValue);
|
|
5393
|
+
this._colorCode = AXColorUtil.to(newValue, this._mode);
|
|
5394
|
+
}
|
|
5395
|
+
_handlePopupOnOpened(e) {
|
|
5396
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
5397
|
+
});
|
|
5398
|
+
}
|
|
5399
|
+
_handlePopupOnClosed(e) {
|
|
5400
|
+
this.focus();
|
|
4949
5401
|
}
|
|
4950
5402
|
}
|
|
4951
|
-
|
|
4952
|
-
|
|
4953
|
-
|
|
5403
|
+
AXColorPickerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXColorPickerComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: i0.NgZone }, { token: i1$4.AXPlatform }], target: i0.ɵɵFactoryTarget.Component });
|
|
5404
|
+
AXColorPickerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.9", type: AXColorPickerComponent, selector: "ax-color-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" }, outputs: { onOpened: "onOpened", onClosed: "onClosed", onBlur: "onBlur", onFocus: "onFocus", valueChange: "valueChange", onValueChanged: "onValueChanged" }, host: { classAttribute: "ax-editor-container ax-drop-down" }, providers: [
|
|
5405
|
+
{ provide: AXClosbaleComponent, useExisting: AXColorPickerComponent }
|
|
5406
|
+
], viewQueries: [{ propertyName: "popover", first: true, predicate: AXPopoverComponent, 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 *ngIf=\"value\" class=\"color-badge\" [ngStyle]=\"{'background-color': value}\"></div>\r\n <div class=\"ax-uppercase\">{{_colorCode}}</div>\r\n</div>\r\n<ax-button color=\"light\" look=\"blank\" (onClick)=\"clear()\" [tabIndex]=\"-1\" *ngIf=\"value && !(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-icon #icon icon=\"ax-ic ax-ic-chevron ax-transform ax--rotate-90\"></ax-icon>\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 [adaptivityEnabled]=\"true\" (onOpened)=\"_handlePopupOnOpened($event)\" (onClosed)=\"_handlePopupOnClosed($event)\">\r\n <div class=\"ax-overlay-pane\" tabindex=\"0\" aria-modal=\"true\" cdkTrapFocus\r\n [class.ax-overlay-actionsheet]=\"_isMobile\">\r\n <ax-color-palette [(value)]=\"value\" [(mode)]=\"_mode\">\r\n </ax-color-palette>\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: AXColorPalleteComponent, selector: "ax-color-palette", inputs: ["disabled", "tabIndex", "readonly", "allowNull", "value", "debounceTime", "name", "checked", "mode"], outputs: ["onBlur", "onFocus", "valueChange", "onValueChanged", "modeChange"] }], directives: [{ type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1$1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { type: i7.CdkTrapFocus, selector: "[cdkTrapFocus]", inputs: ["cdkTrapFocus", "cdkTrapFocusAutoCapture"], exportAs: ["cdkTrapFocus"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
5407
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXColorPickerComponent, decorators: [{
|
|
4954
5408
|
type: Component,
|
|
4955
|
-
args: [{ selector: 'ax-
|
|
4956
|
-
|
|
5409
|
+
args: [{ selector: 'ax-color-picker', inputs: [...DROPDOWN_INPUTS, ...INTERACTIVE_INPUTS, ...VALUE_INPUTS, ...TEXTBOX_INPUTS], outputs: [...DROPDOWN_OUTPUT, ...INTERACTIVE_OUTPUT, ...VALUE_OUTPUT, ...TEXTBOX_OUTPUT], encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, providers: [
|
|
5410
|
+
{ provide: AXClosbaleComponent, useExisting: AXColorPickerComponent }
|
|
5411
|
+
], 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 *ngIf=\"value\" class=\"color-badge\" [ngStyle]=\"{'background-color': value}\"></div>\r\n <div class=\"ax-uppercase\">{{_colorCode}}</div>\r\n</div>\r\n<ax-button color=\"light\" look=\"blank\" (onClick)=\"clear()\" [tabIndex]=\"-1\" *ngIf=\"value && !(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-icon #icon icon=\"ax-ic ax-ic-chevron ax-transform ax--rotate-90\"></ax-icon>\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 [adaptivityEnabled]=\"true\" (onOpened)=\"_handlePopupOnOpened($event)\" (onClosed)=\"_handlePopupOnClosed($event)\">\r\n <div class=\"ax-overlay-pane\" tabindex=\"0\" aria-modal=\"true\" cdkTrapFocus\r\n [class.ax-overlay-actionsheet]=\"_isMobile\">\r\n <ax-color-palette [(value)]=\"value\" [(mode)]=\"_mode\">\r\n </ax-color-palette>\r\n </div>\r\n</ax-popover>" }]
|
|
5412
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: i0.NgZone }, { type: i1$4.AXPlatform }]; }, propDecorators: { popover: [{
|
|
5413
|
+
type: ViewChild,
|
|
5414
|
+
args: [AXPopoverComponent, { static: true }]
|
|
5415
|
+
}] } });
|
|
4957
5416
|
|
|
4958
|
-
class
|
|
5417
|
+
class AXLoadingComponent extends AXBaseComponentMixin {
|
|
5418
|
+
/**
|
|
5419
|
+
* @ignore
|
|
5420
|
+
*/
|
|
5421
|
+
constructor(elementRef, cdr) {
|
|
5422
|
+
super(elementRef, cdr);
|
|
5423
|
+
this.visibleChange = new EventEmitter();
|
|
5424
|
+
this.type = 'spinner';
|
|
5425
|
+
}
|
|
5426
|
+
get visible() {
|
|
5427
|
+
return this._visible;
|
|
5428
|
+
}
|
|
5429
|
+
set visible(v) {
|
|
5430
|
+
if (v != this._visible) {
|
|
5431
|
+
this._visible = v;
|
|
5432
|
+
v ? this._getHostElement().classList.remove('ax-hide') : this._getHostElement().classList.add('ax-hide');
|
|
5433
|
+
this.visibleChange.emit(v);
|
|
5434
|
+
}
|
|
5435
|
+
}
|
|
5436
|
+
onInit() {
|
|
5437
|
+
const loading = AXConfig.get(`layout.loading.${this.type}`);
|
|
5438
|
+
this._selectedPortal = new ComponentPortal(loading);
|
|
5439
|
+
this._cdr.markForCheck();
|
|
5440
|
+
}
|
|
5441
|
+
_handleAttched(ref) {
|
|
5442
|
+
ref = ref;
|
|
5443
|
+
if (ref.instance) {
|
|
5444
|
+
ref.instance.text = this.text;
|
|
5445
|
+
}
|
|
5446
|
+
}
|
|
4959
5447
|
}
|
|
4960
|
-
|
|
4961
|
-
|
|
4962
|
-
|
|
4963
|
-
|
|
4964
|
-
|
|
4965
|
-
|
|
4966
|
-
CommonModule,
|
|
4967
|
-
FormsModule,
|
|
4968
|
-
AXButtonModule,
|
|
4969
|
-
AXDecoratorModule,
|
|
4970
|
-
NgxMaskModule.forChild()
|
|
4971
|
-
]] });
|
|
4972
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXTextBoxModule, decorators: [{
|
|
4973
|
-
type: NgModule,
|
|
5448
|
+
AXLoadingComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXLoadingComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
5449
|
+
AXLoadingComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.9", type: AXLoadingComponent, selector: "ax-loading", inputs: { visible: "visible", type: "type", text: "text" }, outputs: { visibleChange: "visibleChange" }, host: { classAttribute: "ax-loading" }, usesInheritance: true, ngImport: i0, template: `
|
|
5450
|
+
<ng-template [cdkPortalOutlet]="_selectedPortal" (attached)="_handleAttched($event)"></ng-template>
|
|
5451
|
+
`, isInline: true, directives: [{ type: i1$5.CdkPortalOutlet, selector: "[cdkPortalOutlet]", inputs: ["cdkPortalOutlet"], outputs: ["attached"], exportAs: ["cdkPortalOutlet"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
5452
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXLoadingComponent, decorators: [{
|
|
5453
|
+
type: Component,
|
|
4974
5454
|
args: [{
|
|
4975
|
-
|
|
4976
|
-
|
|
4977
|
-
|
|
4978
|
-
|
|
4979
|
-
|
|
4980
|
-
|
|
4981
|
-
|
|
4982
|
-
exports: [AXTextBoxComponent],
|
|
4983
|
-
declarations: [AXTextBoxComponent],
|
|
4984
|
-
providers: [],
|
|
5455
|
+
selector: 'ax-loading',
|
|
5456
|
+
template: `
|
|
5457
|
+
<ng-template [cdkPortalOutlet]="_selectedPortal" (attached)="_handleAttched($event)"></ng-template>
|
|
5458
|
+
`,
|
|
5459
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
5460
|
+
encapsulation: ViewEncapsulation.None,
|
|
5461
|
+
host: { class: 'ax-loading' }
|
|
4985
5462
|
}]
|
|
4986
|
-
}] }
|
|
5463
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { visibleChange: [{
|
|
5464
|
+
type: Output
|
|
5465
|
+
}], visible: [{
|
|
5466
|
+
type: Input
|
|
5467
|
+
}], type: [{
|
|
5468
|
+
type: Input
|
|
5469
|
+
}], text: [{
|
|
5470
|
+
type: Input
|
|
5471
|
+
}] } });
|
|
4987
5472
|
|
|
4988
5473
|
class AXLoadingSpinnerComponent {
|
|
4989
5474
|
}
|
|
@@ -5081,8 +5566,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.9", ngImpor
|
|
|
5081
5566
|
args: ['axIsLoading']
|
|
5082
5567
|
}] } });
|
|
5083
5568
|
|
|
5084
|
-
const COMPONENT$
|
|
5085
|
-
const MODULES$
|
|
5569
|
+
const COMPONENT$e = [AXLoadingComponent, AXLoadingDirective, AXLoadingSpinnerComponent];
|
|
5570
|
+
const MODULES$e = [CommonModule, OverlayModule, PortalModule];
|
|
5086
5571
|
class AXLoadingModule {
|
|
5087
5572
|
constructor() {
|
|
5088
5573
|
AXConfig.set({
|
|
@@ -5096,13 +5581,13 @@ class AXLoadingModule {
|
|
|
5096
5581
|
}
|
|
5097
5582
|
AXLoadingModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXLoadingModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
5098
5583
|
AXLoadingModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXLoadingModule, declarations: [AXLoadingComponent, AXLoadingDirective, AXLoadingSpinnerComponent], imports: [CommonModule, OverlayModule, PortalModule], exports: [AXLoadingComponent, AXLoadingDirective, AXLoadingSpinnerComponent] });
|
|
5099
|
-
AXLoadingModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXLoadingModule, providers: [], imports: [[...MODULES$
|
|
5584
|
+
AXLoadingModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXLoadingModule, providers: [], imports: [[...MODULES$e]] });
|
|
5100
5585
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXLoadingModule, decorators: [{
|
|
5101
5586
|
type: NgModule,
|
|
5102
5587
|
args: [{
|
|
5103
|
-
declarations: [...COMPONENT$
|
|
5104
|
-
imports: [...MODULES$
|
|
5105
|
-
exports: [...COMPONENT$
|
|
5588
|
+
declarations: [...COMPONENT$e],
|
|
5589
|
+
imports: [...MODULES$e],
|
|
5590
|
+
exports: [...COMPONENT$e],
|
|
5106
5591
|
providers: [],
|
|
5107
5592
|
}]
|
|
5108
5593
|
}], ctorParameters: function () { return []; } });
|
|
@@ -5268,8 +5753,10 @@ AXColorPickerModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", ver
|
|
|
5268
5753
|
A11yModule,
|
|
5269
5754
|
AXLoadingModule,
|
|
5270
5755
|
AXTranslationModule,
|
|
5271
|
-
AXTextBoxModule
|
|
5272
|
-
|
|
5756
|
+
AXTextBoxModule,
|
|
5757
|
+
AXColorPaletteModule], exports: [AXColorPickerComponent] });
|
|
5758
|
+
AXColorPickerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXColorPickerModule, providers: [], imports: [[
|
|
5759
|
+
CommonModule,
|
|
5273
5760
|
AXCommonModule,
|
|
5274
5761
|
FormsModule,
|
|
5275
5762
|
AXDecoratorModule,
|
|
@@ -5278,12 +5765,14 @@ AXColorPickerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", ver
|
|
|
5278
5765
|
A11yModule,
|
|
5279
5766
|
AXLoadingModule,
|
|
5280
5767
|
AXTranslationModule,
|
|
5281
|
-
AXTextBoxModule
|
|
5768
|
+
AXTextBoxModule,
|
|
5769
|
+
AXColorPaletteModule
|
|
5282
5770
|
]] });
|
|
5283
5771
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXColorPickerModule, decorators: [{
|
|
5284
5772
|
type: NgModule,
|
|
5285
5773
|
args: [{
|
|
5286
|
-
imports: [
|
|
5774
|
+
imports: [
|
|
5775
|
+
CommonModule,
|
|
5287
5776
|
AXCommonModule,
|
|
5288
5777
|
FormsModule,
|
|
5289
5778
|
AXDecoratorModule,
|
|
@@ -5292,7 +5781,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.9", ngImpor
|
|
|
5292
5781
|
A11yModule,
|
|
5293
5782
|
AXLoadingModule,
|
|
5294
5783
|
AXTranslationModule,
|
|
5295
|
-
AXTextBoxModule
|
|
5784
|
+
AXTextBoxModule,
|
|
5785
|
+
AXColorPaletteModule
|
|
5296
5786
|
],
|
|
5297
5787
|
exports: [AXColorPickerComponent],
|
|
5298
5788
|
declarations: [AXColorPickerComponent],
|
|
@@ -5345,7 +5835,7 @@ class AXDataListComponent extends AXBaseSelectionValueMixin {
|
|
|
5345
5835
|
}
|
|
5346
5836
|
}
|
|
5347
5837
|
AXDataListComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXDataListComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
5348
|
-
AXDataListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.9", type: AXDataListComponent, selector: "ax-datalist", inputs: { disabled: "disabled", readonly: "readonly", tabIndex: "tabIndex", size: "size", value: "value", items: "items", pageSize: "pageSize", itemTemplate: "itemTemplate", emptyTemplate: "emptyTemplate", loadingTemplate: "loadingTemplate" }, outputs: { valueChange: "valueChange", onValueChanged: "onValueChanged", onBlur: "onBlur", onFocus: "onFocus" }, host: { classAttribute: "ax-list ax-list-container" }, queries: [{ propertyName: "_contentItemTemplate", first: true, predicate: ["itemTemplate"], descendants: true, static: true }, { propertyName: "_contentEmptyTemplate", first: true, predicate: ["emptyTemplate"], descendants: true, static: true }, { propertyName: "_contentloadingTemplate", first: true, predicate: ["loadingTemplate"], descendants: true, static: true }], viewQueries: [{ propertyName: "_container", first: true, predicate: ["container"], descendants: true }], usesInheritance: true, ngImport: i0, template: "<div class=\"ax-list-items-container ax-default ax-vertical\" (scroll)=\"_handleListScroll($event)\" #container>\r\n <ng-container *ngFor=\"let item of displayItems;trackBy : _trackByFunction\">\r\n <ng-container *ngIf=\"itemTemplate; else elseTemplate\">\r\n <div class=\"ax-list-item\" (click)=\"_handleOnItemClick($event,item)\">\r\n <ng-container *ngTemplateOutlet=\"itemTemplate; context: { $implicit: item,direction:direction}\">\r\n </ng-container>\r\n </div>\r\n </ng-container>\r\n <ng-template #elseTemplate>\r\n <div class=\"ax-list-item\" (click)=\"_handleOnItemClick($event,item)\">\r\n {{ item ? _getItemDisplayTextTemplte(item) : 'Loading...'}}\r\n </div>\r\n </ng-template>\r\n </ng-container>\r\n <ng-container *ngIf=\"(displayItems==null || displayItems.length==0) && !isLoading\">\r\n <ng-container *ngIf=\"emptyTemplate; else elseEmptyTemplate\">\r\n <ng-container *ngTemplateOutlet=\"elseEmptyTemplate\">\r\n </ng-container>\r\n </ng-container>\r\n <ng-template #elseTemplate>\r\n Empty!\r\n </ng-template>\r\n </ng-container>\r\n <ng-container *ngIf=\"isLoading\">\r\n <ng-container *ngIf=\"loadingTemplate; else elseLoadingTemplate\">\r\n <ng-container *ngTemplateOutlet=\"loadingTemplate\">\r\n </ng-container>\r\n </ng-container>\r\n <ng-template #elseLoadingTemplate>\r\n <div class=\"ax-list-loading-container\">\r\n <div 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 </div>\r\n </ng-template>\r\n </ng-container>\r\n</div>", components: [{ type: AXLoadingComponent, selector: "ax-loading", inputs: ["visible", "type", "text"], outputs: ["visibleChange"] }], directives: [{ type: i1$1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1$1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }], pipes: { "trans": i1$
|
|
5838
|
+
AXDataListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.9", type: AXDataListComponent, selector: "ax-datalist", inputs: { disabled: "disabled", readonly: "readonly", tabIndex: "tabIndex", size: "size", value: "value", items: "items", pageSize: "pageSize", itemTemplate: "itemTemplate", emptyTemplate: "emptyTemplate", loadingTemplate: "loadingTemplate" }, outputs: { valueChange: "valueChange", onValueChanged: "onValueChanged", onBlur: "onBlur", onFocus: "onFocus" }, host: { classAttribute: "ax-list ax-list-container" }, queries: [{ propertyName: "_contentItemTemplate", first: true, predicate: ["itemTemplate"], descendants: true, static: true }, { propertyName: "_contentEmptyTemplate", first: true, predicate: ["emptyTemplate"], descendants: true, static: true }, { propertyName: "_contentloadingTemplate", first: true, predicate: ["loadingTemplate"], descendants: true, static: true }], viewQueries: [{ propertyName: "_container", first: true, predicate: ["container"], descendants: true }], usesInheritance: true, ngImport: i0, template: "<div class=\"ax-list-items-container ax-default ax-vertical\" (scroll)=\"_handleListScroll($event)\" #container>\r\n <ng-container *ngFor=\"let item of displayItems;trackBy : _trackByFunction\">\r\n <ng-container *ngIf=\"itemTemplate; else elseTemplate\">\r\n <div class=\"ax-list-item\" (click)=\"_handleOnItemClick($event,item)\">\r\n <ng-container *ngTemplateOutlet=\"itemTemplate; context: { $implicit: item,direction:direction}\">\r\n </ng-container>\r\n </div>\r\n </ng-container>\r\n <ng-template #elseTemplate>\r\n <div class=\"ax-list-item\" (click)=\"_handleOnItemClick($event,item)\">\r\n {{ item ? _getItemDisplayTextTemplte(item) : 'Loading...'}}\r\n </div>\r\n </ng-template>\r\n </ng-container>\r\n <ng-container *ngIf=\"(displayItems==null || displayItems.length==0) && !isLoading\">\r\n <ng-container *ngIf=\"emptyTemplate; else elseEmptyTemplate\">\r\n <ng-container *ngTemplateOutlet=\"elseEmptyTemplate\">\r\n </ng-container>\r\n </ng-container>\r\n <ng-template #elseTemplate>\r\n Empty!\r\n </ng-template>\r\n </ng-container>\r\n <ng-container *ngIf=\"isLoading\">\r\n <ng-container *ngIf=\"loadingTemplate; else elseLoadingTemplate\">\r\n <ng-container *ngTemplateOutlet=\"loadingTemplate\">\r\n </ng-container>\r\n </ng-container>\r\n <ng-template #elseLoadingTemplate>\r\n <div class=\"ax-list-loading-container\">\r\n <div 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 </div>\r\n </ng-template>\r\n </ng-container>\r\n</div>", components: [{ type: AXLoadingComponent, selector: "ax-loading", inputs: ["visible", "type", "text"], outputs: ["visibleChange"] }], directives: [{ type: i1$1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1$1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }], pipes: { "trans": i1$4.AXTranslatorPipe }, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
5349
5839
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXDataListComponent, decorators: [{
|
|
5350
5840
|
type: Component,
|
|
5351
5841
|
args: [{ selector: 'ax-datalist', inputs: ['disabled', 'readonly', 'tabIndex', 'size', 'value', 'items', 'pageSize'], outputs: ['valueChange', 'onValueChanged', 'onBlur', 'onFocus'], changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, host: { class: 'ax-list ax-list-container' }, template: "<div class=\"ax-list-items-container ax-default ax-vertical\" (scroll)=\"_handleListScroll($event)\" #container>\r\n <ng-container *ngFor=\"let item of displayItems;trackBy : _trackByFunction\">\r\n <ng-container *ngIf=\"itemTemplate; else elseTemplate\">\r\n <div class=\"ax-list-item\" (click)=\"_handleOnItemClick($event,item)\">\r\n <ng-container *ngTemplateOutlet=\"itemTemplate; context: { $implicit: item,direction:direction}\">\r\n </ng-container>\r\n </div>\r\n </ng-container>\r\n <ng-template #elseTemplate>\r\n <div class=\"ax-list-item\" (click)=\"_handleOnItemClick($event,item)\">\r\n {{ item ? _getItemDisplayTextTemplte(item) : 'Loading...'}}\r\n </div>\r\n </ng-template>\r\n </ng-container>\r\n <ng-container *ngIf=\"(displayItems==null || displayItems.length==0) && !isLoading\">\r\n <ng-container *ngIf=\"emptyTemplate; else elseEmptyTemplate\">\r\n <ng-container *ngTemplateOutlet=\"elseEmptyTemplate\">\r\n </ng-container>\r\n </ng-container>\r\n <ng-template #elseTemplate>\r\n Empty!\r\n </ng-template>\r\n </ng-container>\r\n <ng-container *ngIf=\"isLoading\">\r\n <ng-container *ngIf=\"loadingTemplate; else elseLoadingTemplate\">\r\n <ng-container *ngTemplateOutlet=\"loadingTemplate\">\r\n </ng-container>\r\n </ng-container>\r\n <ng-template #elseLoadingTemplate>\r\n <div class=\"ax-list-loading-container\">\r\n <div 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 </div>\r\n </ng-template>\r\n </ng-container>\r\n</div>" }]
|
|
@@ -5369,19 +5859,19 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.9", ngImpor
|
|
|
5369
5859
|
type: Input
|
|
5370
5860
|
}] } });
|
|
5371
5861
|
|
|
5372
|
-
const COMPONENT$
|
|
5373
|
-
const MODULES$
|
|
5862
|
+
const COMPONENT$d = [AXDataListComponent];
|
|
5863
|
+
const MODULES$d = [CommonModule, AXButtonModule, AXLoadingModule, AXTranslationModule];
|
|
5374
5864
|
class AXDataListModule {
|
|
5375
5865
|
}
|
|
5376
5866
|
AXDataListModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXDataListModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
5377
5867
|
AXDataListModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXDataListModule, declarations: [AXDataListComponent], imports: [CommonModule, AXButtonModule, AXLoadingModule, AXTranslationModule], exports: [AXDataListComponent] });
|
|
5378
|
-
AXDataListModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXDataListModule, providers: [], imports: [[...MODULES$
|
|
5868
|
+
AXDataListModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXDataListModule, providers: [], imports: [[...MODULES$d]] });
|
|
5379
5869
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXDataListModule, decorators: [{
|
|
5380
5870
|
type: NgModule,
|
|
5381
5871
|
args: [{
|
|
5382
|
-
declarations: [...COMPONENT$
|
|
5383
|
-
imports: [...MODULES$
|
|
5384
|
-
exports: [...COMPONENT$
|
|
5872
|
+
declarations: [...COMPONENT$d],
|
|
5873
|
+
imports: [...MODULES$d],
|
|
5874
|
+
exports: [...COMPONENT$d],
|
|
5385
5875
|
providers: [],
|
|
5386
5876
|
}]
|
|
5387
5877
|
}] });
|
|
@@ -5534,12 +6024,12 @@ class AXDatePickerComponent extends AXBaseDatePickerMixin {
|
|
|
5534
6024
|
input.setSelectionRange(start, end);
|
|
5535
6025
|
}
|
|
5536
6026
|
}
|
|
5537
|
-
AXDatePickerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXDatePickerComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: i1$
|
|
6027
|
+
AXDatePickerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXDatePickerComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: i1$4.AXPlatform }], target: i0.ɵɵFactoryTarget.Component });
|
|
5538
6028
|
AXDatePickerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.9", 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 });
|
|
5539
6029
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXDatePickerComponent, decorators: [{
|
|
5540
6030
|
type: Component,
|
|
5541
6031
|
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>" }]
|
|
5542
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: i1$
|
|
6032
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: i1$4.AXPlatform }]; }, propDecorators: { popover: [{
|
|
5543
6033
|
type: ViewChild,
|
|
5544
6034
|
args: [AXPopoverComponent, { static: true }]
|
|
5545
6035
|
}], _calendar: [{
|
|
@@ -5555,8 +6045,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.9", ngImpor
|
|
|
5555
6045
|
type: Input
|
|
5556
6046
|
}] } });
|
|
5557
6047
|
|
|
5558
|
-
const COMPONENT$
|
|
5559
|
-
const MODULES$
|
|
6048
|
+
const COMPONENT$c = [AXDatePickerComponent];
|
|
6049
|
+
const MODULES$c = [
|
|
5560
6050
|
CommonModule,
|
|
5561
6051
|
AXCalendarModule,
|
|
5562
6052
|
AXTextBoxModule,
|
|
@@ -5577,13 +6067,13 @@ AXDatepickerModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", vers
|
|
|
5577
6067
|
AXDecoratorModule,
|
|
5578
6068
|
AXDateTimeModule,
|
|
5579
6069
|
FormsModule], exports: [AXDatePickerComponent] });
|
|
5580
|
-
AXDatepickerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXDatepickerModule, providers: [], imports: [[...MODULES$
|
|
6070
|
+
AXDatepickerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXDatepickerModule, providers: [], imports: [[...MODULES$c]] });
|
|
5581
6071
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXDatepickerModule, decorators: [{
|
|
5582
6072
|
type: NgModule,
|
|
5583
6073
|
args: [{
|
|
5584
|
-
declarations: [...COMPONENT$
|
|
5585
|
-
imports: [...MODULES$
|
|
5586
|
-
exports: [...COMPONENT$
|
|
6074
|
+
declarations: [...COMPONENT$c],
|
|
6075
|
+
imports: [...MODULES$c],
|
|
6076
|
+
exports: [...COMPONENT$c],
|
|
5587
6077
|
providers: [],
|
|
5588
6078
|
}]
|
|
5589
6079
|
}] });
|
|
@@ -5615,7 +6105,7 @@ class AXDialogComponent extends AXBaseComponentMixin {
|
|
|
5615
6105
|
}
|
|
5616
6106
|
}
|
|
5617
6107
|
AXDialogComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXDialogComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
5618
|
-
AXDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.9", type: AXDialogComponent, selector: "ax-dialog", usesInheritance: true, ngImport: i0, template: "<div class=\"ax-popup-wrapper\" aria-modal=\"true\" cdkTrapFocus>\r\n <div class=\"ax-dialog ax-{{options.type}}-default\" tabindex=\"0\" cdkDrag role=\"alert\" cdkDragHandle>\r\n <div class=\"ax-dialog-icon-side\">\r\n <i class=\"ax-dialog-icon {{_icon}}\"></i>\r\n </div>\r\n <div class=\"ax-dialog-content-side\">\r\n <div class=\"ax-dialog-title\">{{options.title}}</div>\r\n <div class=\"ax-dialog-content\">{{options.content}}</div>\r\n </div>\r\n <div class=\"ax-dialog-dismiss-icon\">\r\n <i class=\"ax-ic ax-ic-close\" *ngIf=\"options.dismissible\" (click)=\"close()\"></i>\r\n </div>\r\n <footer class=\"ax-dialog-footer\">\r\n <ng-container *ngFor=\"let button of options.buttons\">\r\n <ax-button [text]=\"button.text\" [submitBehavior]=\"button.submitBehavior\" [cancelBehavior]=\"button.cancelBehavior\" (onClick)=\"_handleButtonClick(button)\" [class]=\"button.cssClass\" [look]=\"button.look\" [color]=\"button.color\"></ax-button>\r\n <div class=\"ax-ml-2\"></div>\r\n </ng-container>\r\n </footer>\r\n </div>\r\n\r\n</div>", components: [{ type: AXButtonComponent, selector: "ax-button", inputs: ["disabled", "tabIndex", "size", "color", "look", "text", "submitBehavior", "cancelBehavior", "toggleable", "selected"], outputs: ["onBlur", "onFocus", "onClick", "selectedChange", "toggleableChange"] }], directives: [{ type:
|
|
6108
|
+
AXDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.9", type: AXDialogComponent, selector: "ax-dialog", usesInheritance: true, ngImport: i0, template: "<div class=\"ax-popup-wrapper\" aria-modal=\"true\" cdkTrapFocus>\r\n <div class=\"ax-dialog ax-{{options.type}}-default\" tabindex=\"0\" cdkDrag role=\"alert\" cdkDragHandle>\r\n <div class=\"ax-dialog-icon-side\">\r\n <i class=\"ax-dialog-icon {{_icon}}\"></i>\r\n </div>\r\n <div class=\"ax-dialog-content-side\">\r\n <div class=\"ax-dialog-title\">{{options.title}}</div>\r\n <div class=\"ax-dialog-content\">{{options.content}}</div>\r\n </div>\r\n <div class=\"ax-dialog-dismiss-icon\">\r\n <i class=\"ax-ic ax-ic-close\" *ngIf=\"options.dismissible\" (click)=\"close()\"></i>\r\n </div>\r\n <footer class=\"ax-dialog-footer\">\r\n <ng-container *ngFor=\"let button of options.buttons\">\r\n <ax-button [text]=\"button.text\" [submitBehavior]=\"button.submitBehavior\" [cancelBehavior]=\"button.cancelBehavior\" (onClick)=\"_handleButtonClick(button)\" [class]=\"button.cssClass\" [look]=\"button.look\" [color]=\"button.color\"></ax-button>\r\n <div class=\"ax-ml-2\"></div>\r\n </ng-container>\r\n </footer>\r\n </div>\r\n\r\n</div>", components: [{ type: AXButtonComponent, selector: "ax-button", inputs: ["disabled", "tabIndex", "size", "color", "look", "text", "submitBehavior", "cancelBehavior", "toggleable", "selected"], outputs: ["onBlur", "onFocus", "onClick", "selectedChange", "toggleableChange"] }], directives: [{ type: i7.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$1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
5619
6109
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXDialogComponent, decorators: [{
|
|
5620
6110
|
type: Component,
|
|
5621
6111
|
args: [{ selector: 'ax-dialog', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, template: "<div class=\"ax-popup-wrapper\" aria-modal=\"true\" cdkTrapFocus>\r\n <div class=\"ax-dialog ax-{{options.type}}-default\" tabindex=\"0\" cdkDrag role=\"alert\" cdkDragHandle>\r\n <div class=\"ax-dialog-icon-side\">\r\n <i class=\"ax-dialog-icon {{_icon}}\"></i>\r\n </div>\r\n <div class=\"ax-dialog-content-side\">\r\n <div class=\"ax-dialog-title\">{{options.title}}</div>\r\n <div class=\"ax-dialog-content\">{{options.content}}</div>\r\n </div>\r\n <div class=\"ax-dialog-dismiss-icon\">\r\n <i class=\"ax-ic ax-ic-close\" *ngIf=\"options.dismissible\" (click)=\"close()\"></i>\r\n </div>\r\n <footer class=\"ax-dialog-footer\">\r\n <ng-container *ngFor=\"let button of options.buttons\">\r\n <ax-button [text]=\"button.text\" [submitBehavior]=\"button.submitBehavior\" [cancelBehavior]=\"button.cancelBehavior\" (onClick)=\"_handleButtonClick(button)\" [class]=\"button.cssClass\" [look]=\"button.look\" [color]=\"button.color\"></ax-button>\r\n <div class=\"ax-ml-2\"></div>\r\n </ng-container>\r\n </footer>\r\n </div>\r\n\r\n</div>" }]
|
|
@@ -5911,19 +6401,19 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.9", ngImpor
|
|
|
5911
6401
|
}]
|
|
5912
6402
|
}] });
|
|
5913
6403
|
|
|
5914
|
-
const COMPONENT$
|
|
5915
|
-
const MODULES$
|
|
6404
|
+
const COMPONENT$b = [AXDialogComponent];
|
|
6405
|
+
const MODULES$b = [CommonModule, DragDropModule, A11yModule, AXButtonModule, AXPageModule, AXDecoratorModule];
|
|
5916
6406
|
class AXDialogModule {
|
|
5917
6407
|
}
|
|
5918
6408
|
AXDialogModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXDialogModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
5919
6409
|
AXDialogModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXDialogModule, declarations: [AXDialogComponent], imports: [CommonModule, DragDropModule, A11yModule, AXButtonModule, AXPageModule, AXDecoratorModule], exports: [AXDialogComponent] });
|
|
5920
|
-
AXDialogModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXDialogModule, providers: [], imports: [[...MODULES$
|
|
6410
|
+
AXDialogModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXDialogModule, providers: [], imports: [[...MODULES$b]] });
|
|
5921
6411
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXDialogModule, decorators: [{
|
|
5922
6412
|
type: NgModule,
|
|
5923
6413
|
args: [{
|
|
5924
|
-
declarations: [...COMPONENT$
|
|
5925
|
-
imports: [...MODULES$
|
|
5926
|
-
exports: [...COMPONENT$
|
|
6414
|
+
declarations: [...COMPONENT$b],
|
|
6415
|
+
imports: [...MODULES$b],
|
|
6416
|
+
exports: [...COMPONENT$b],
|
|
5927
6417
|
providers: [],
|
|
5928
6418
|
}]
|
|
5929
6419
|
}] });
|
|
@@ -6169,57 +6659,77 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.9", ngImpor
|
|
|
6169
6659
|
type: Input
|
|
6170
6660
|
}] } });
|
|
6171
6661
|
|
|
6172
|
-
const COMPONENT$
|
|
6173
|
-
const MODULES$
|
|
6662
|
+
const COMPONENT$a = [AXInputMaskComponent];
|
|
6663
|
+
const MODULES$a = [CommonModule, NgxMaskModule.forRoot(), IMaskModule];
|
|
6174
6664
|
class AXInputMaskModule {
|
|
6175
6665
|
}
|
|
6176
6666
|
AXInputMaskModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXInputMaskModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
6177
|
-
AXInputMaskModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXInputMaskModule, declarations: [AXInputMaskComponent], imports: [CommonModule, i1$
|
|
6178
|
-
AXInputMaskModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXInputMaskModule, providers: [], imports: [[...MODULES$
|
|
6667
|
+
AXInputMaskModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXInputMaskModule, declarations: [AXInputMaskComponent], imports: [CommonModule, i1$3.NgxMaskModule, IMaskModule], exports: [AXInputMaskComponent] });
|
|
6668
|
+
AXInputMaskModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXInputMaskModule, providers: [], imports: [[...MODULES$a]] });
|
|
6179
6669
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXInputMaskModule, decorators: [{
|
|
6180
6670
|
type: NgModule,
|
|
6181
6671
|
args: [{
|
|
6182
|
-
declarations: [...COMPONENT$
|
|
6183
|
-
imports: [...MODULES$
|
|
6184
|
-
exports: [...COMPONENT$
|
|
6672
|
+
declarations: [...COMPONENT$a],
|
|
6673
|
+
imports: [...MODULES$a],
|
|
6674
|
+
exports: [...COMPONENT$a],
|
|
6185
6675
|
providers: [],
|
|
6186
6676
|
}]
|
|
6187
6677
|
}] });
|
|
6188
6678
|
|
|
6189
|
-
class
|
|
6190
|
-
constructor(
|
|
6191
|
-
super(
|
|
6679
|
+
class AXSearchBoxComponent extends AXBaseComponentMixin {
|
|
6680
|
+
constructor(_elementRef, _cdr, _parent) {
|
|
6681
|
+
super(_elementRef, _cdr);
|
|
6682
|
+
this._parent = _parent;
|
|
6683
|
+
this.placeholder = 'common.search';
|
|
6684
|
+
this.debounceTime = 300;
|
|
6685
|
+
this.searchExp = null;
|
|
6192
6686
|
}
|
|
6193
|
-
|
|
6194
|
-
|
|
6687
|
+
_onSearchExprChanged(e) {
|
|
6688
|
+
if (this._parent && this._parent.search) {
|
|
6689
|
+
this._parent.search(e.value);
|
|
6690
|
+
}
|
|
6195
6691
|
}
|
|
6196
|
-
|
|
6197
|
-
|
|
6198
|
-
this.
|
|
6692
|
+
focus() {
|
|
6693
|
+
var _a;
|
|
6694
|
+
(_a = this._textbox) === null || _a === void 0 ? void 0 : _a.focus();
|
|
6199
6695
|
}
|
|
6200
6696
|
}
|
|
6201
|
-
|
|
6202
|
-
|
|
6203
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type:
|
|
6697
|
+
AXSearchBoxComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXSearchBoxComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: AXSearchableComponent, optional: true }], target: i0.ɵɵFactoryTarget.Component });
|
|
6698
|
+
AXSearchBoxComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.9", 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 });
|
|
6699
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXSearchBoxComponent, decorators: [{
|
|
6204
6700
|
type: Component,
|
|
6205
|
-
args: [{ selector: 'ax-
|
|
6206
|
-
}], ctorParameters: function () {
|
|
6701
|
+
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>" }]
|
|
6702
|
+
}], ctorParameters: function () {
|
|
6703
|
+
return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: AXSearchableComponent, decorators: [{
|
|
6704
|
+
type: Optional
|
|
6705
|
+
}, {
|
|
6706
|
+
type: Inject,
|
|
6707
|
+
args: [AXSearchableComponent]
|
|
6708
|
+
}] }];
|
|
6709
|
+
}, propDecorators: { _textbox: [{
|
|
6710
|
+
type: ViewChild,
|
|
6711
|
+
args: [AXTextBoxComponent]
|
|
6712
|
+
}], placeholder: [{
|
|
6713
|
+
type: Input
|
|
6714
|
+
}], debounceTime: [{
|
|
6715
|
+
type: Input
|
|
6716
|
+
}], searchExp: [{
|
|
6207
6717
|
type: Input
|
|
6208
6718
|
}] } });
|
|
6209
6719
|
|
|
6210
|
-
const COMPONENT$
|
|
6211
|
-
const MODULES$
|
|
6212
|
-
class
|
|
6720
|
+
const COMPONENT$9 = [AXSearchBoxComponent];
|
|
6721
|
+
const MODULES$9 = [CommonModule, AXTranslationModule, AXDecoratorModule, AXTextBoxModule];
|
|
6722
|
+
class AXSearchBoxModule {
|
|
6213
6723
|
}
|
|
6214
|
-
|
|
6215
|
-
|
|
6216
|
-
|
|
6217
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type:
|
|
6724
|
+
AXSearchBoxModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXSearchBoxModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
6725
|
+
AXSearchBoxModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXSearchBoxModule, declarations: [AXSearchBoxComponent], imports: [CommonModule, AXTranslationModule, AXDecoratorModule, AXTextBoxModule], exports: [AXSearchBoxComponent] });
|
|
6726
|
+
AXSearchBoxModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXSearchBoxModule, providers: [], imports: [[...MODULES$9]] });
|
|
6727
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXSearchBoxModule, decorators: [{
|
|
6218
6728
|
type: NgModule,
|
|
6219
6729
|
args: [{
|
|
6220
|
-
declarations: [...COMPONENT$
|
|
6221
|
-
imports: [...MODULES$
|
|
6222
|
-
exports: [...COMPONENT$
|
|
6730
|
+
declarations: [...COMPONENT$9],
|
|
6731
|
+
imports: [...MODULES$9],
|
|
6732
|
+
exports: [...COMPONENT$9],
|
|
6223
6733
|
providers: [],
|
|
6224
6734
|
}]
|
|
6225
6735
|
}] });
|
|
@@ -6234,6 +6744,19 @@ class AXMenuComponent extends AXBaseMenuMixin {
|
|
|
6234
6744
|
super(elementRef, cdr);
|
|
6235
6745
|
this.elementRef = elementRef;
|
|
6236
6746
|
this.cdr = cdr;
|
|
6747
|
+
this._forceFocus = false;
|
|
6748
|
+
window.addEventListener('click', (e) => {
|
|
6749
|
+
if (this.displayItems.length > 0) {
|
|
6750
|
+
const target = document.querySelector('UL');
|
|
6751
|
+
if (e.target != target) {
|
|
6752
|
+
this.displayItems.forEach((element) => {
|
|
6753
|
+
element.isActive = false;
|
|
6754
|
+
element.isOpen = false;
|
|
6755
|
+
});
|
|
6756
|
+
cdr.detectChanges();
|
|
6757
|
+
}
|
|
6758
|
+
}
|
|
6759
|
+
});
|
|
6237
6760
|
}
|
|
6238
6761
|
get emptyTemplate() {
|
|
6239
6762
|
return this._contentEmptyTemplate;
|
|
@@ -6290,347 +6813,123 @@ class AXMenuComponent extends AXBaseMenuMixin {
|
|
|
6290
6813
|
e.stopPropagation();
|
|
6291
6814
|
e.preventDefault();
|
|
6292
6815
|
}
|
|
6293
|
-
_onMouseEnter(e, item) {
|
|
6294
|
-
var _a, _b;
|
|
6295
|
-
if (this.isLoading) {
|
|
6296
|
-
return;
|
|
6297
|
-
}
|
|
6298
|
-
if (!item[this.disableField] && this.openMode === 'hover') {
|
|
6299
|
-
if (((_a = item.children) === null || _a === void 0 ? void 0 : _a.length) > 0 || item[this.hasChildField]) {
|
|
6300
|
-
if (((_b = item.children) === null || _b === void 0 ? void 0 : _b.length) > 0) {
|
|
6301
|
-
this._closeChild(item.children);
|
|
6302
|
-
}
|
|
6303
|
-
item.isOpen = true;
|
|
6304
|
-
}
|
|
6305
|
-
this.onMenuItemClick.emit({
|
|
6306
|
-
component: this,
|
|
6307
|
-
item: item,
|
|
6308
|
-
nativeEvent: e,
|
|
6309
|
-
});
|
|
6310
|
-
if (item.isOpen && item[this.hasChildField] && !item.children) {
|
|
6311
|
-
item.isLoading = true;
|
|
6312
|
-
this._fetchData(item[this.valueField]).then(() => {
|
|
6313
|
-
item.isLoading = false;
|
|
6314
|
-
});
|
|
6315
|
-
}
|
|
6316
|
-
}
|
|
6317
|
-
e.stopPropagation();
|
|
6318
|
-
e.preventDefault();
|
|
6319
|
-
}
|
|
6320
|
-
_onMouseLeave(item) {
|
|
6321
|
-
var _a, _b;
|
|
6322
|
-
if (!item[this.disableField] && this.openMode === 'hover') {
|
|
6323
|
-
if (((_a = item.children) === null || _a === void 0 ? void 0 : _a.length) > 0 || item[this.hasChildField]) {
|
|
6324
|
-
if (((_b = item.children) === null || _b === void 0 ? void 0 : _b.length) > 0) {
|
|
6325
|
-
this._closeChild(item.children);
|
|
6326
|
-
}
|
|
6327
|
-
item.isOpen = false;
|
|
6328
|
-
}
|
|
6329
|
-
}
|
|
6330
|
-
}
|
|
6331
|
-
_notActive(items) {
|
|
6332
|
-
items.forEach((element) => {
|
|
6333
|
-
var _a;
|
|
6334
|
-
element.isActive = false;
|
|
6335
|
-
if (((_a = element.children) === null || _a === void 0 ? void 0 : _a.length) > 0) {
|
|
6336
|
-
this._notActive(element.children);
|
|
6337
|
-
}
|
|
6338
|
-
});
|
|
6339
|
-
}
|
|
6340
|
-
_closeChild(items) {
|
|
6341
|
-
items.forEach((element) => {
|
|
6342
|
-
var _a;
|
|
6343
|
-
element.isOpen = false;
|
|
6344
|
-
if (((_a = element.children) === null || _a === void 0 ? void 0 : _a.length) > 0) {
|
|
6345
|
-
this._closeChild(element.children);
|
|
6346
|
-
}
|
|
6347
|
-
});
|
|
6348
|
-
}
|
|
6349
|
-
_setParentNode(item, parentId) {
|
|
6350
|
-
item.forEach((element) => {
|
|
6351
|
-
element.parentId = parentId;
|
|
6352
|
-
});
|
|
6353
|
-
}
|
|
6354
|
-
_getDirection() {
|
|
6355
|
-
if (this.direction === 'horizontal') {
|
|
6356
|
-
return 'horizontal-mode';
|
|
6357
|
-
}
|
|
6358
|
-
else {
|
|
6359
|
-
return 'vertical-mode';
|
|
6360
|
-
}
|
|
6361
|
-
}
|
|
6362
|
-
}
|
|
6363
|
-
AXMenuComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXMenuComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
6364
|
-
AXMenuComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.9", type: AXMenuComponent, selector: "ax-menu", inputs: { disabled: "disabled", tabIndex: "tabIndex", textField: "textField", valueField: "valueField", items: "items", id: "id", parentId: "parentId", iconField: "iconField", 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)\" (mouseleave)=\"_onMouseLeave(item)\">\r\n <a [ngClass]=\"{'active': item.isActive}\">\r\n <div class=\"ax-menu-start-side\">\r\n <ax-icon *ngIf=\"item[iconField]\" [class]=\"item[iconField]\"></ax-icon>\r\n <span>{{_getItemDisplayTextTemplte(item)}}</span>\r\n </div>\r\n <div *ngIf=\"item?.children?.length > 0 || item[hasChildField]\" class=\"ax-menu-end-side\">\r\n <ax-icon *ngIf=\"!item.isLoading\" [ngClass]=\"{'active-icon': item.isOpen}\" class=\"ax-ic-chevron\">\r\n </ax-icon>\r\n <ax-loading *ngIf=\"item.isLoading\">\r\n </ax-loading>\r\n </div>\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$3.AXTranslatorPipe }, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
6365
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXMenuComponent, decorators: [{
|
|
6366
|
-
type: Component,
|
|
6367
|
-
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)\" (mouseleave)=\"_onMouseLeave(item)\">\r\n <a [ngClass]=\"{'active': item.isActive}\">\r\n <div class=\"ax-menu-start-side\">\r\n <ax-icon *ngIf=\"item[iconField]\" [class]=\"item[iconField]\"></ax-icon>\r\n <span>{{_getItemDisplayTextTemplte(item)}}</span>\r\n </div>\r\n <div *ngIf=\"item?.children?.length > 0 || item[hasChildField]\" class=\"ax-menu-end-side\">\r\n <ax-icon *ngIf=\"!item.isLoading\" [ngClass]=\"{'active-icon': item.isOpen}\" class=\"ax-ic-chevron\">\r\n </ax-icon>\r\n <ax-loading *ngIf=\"item.isLoading\">\r\n </ax-loading>\r\n </div>\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>" }]
|
|
6368
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { _contentEmptyTemplate: [{
|
|
6369
|
-
type: ContentChild,
|
|
6370
|
-
args: ['emptyTemplate']
|
|
6371
|
-
}] } });
|
|
6372
|
-
|
|
6373
|
-
const COMPONENT$a = [AXMenuComponent];
|
|
6374
|
-
const MODULES$a = [CommonModule, AXDecoratorModule];
|
|
6375
|
-
class AXMenuModule {
|
|
6376
|
-
}
|
|
6377
|
-
AXMenuModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXMenuModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
6378
|
-
AXMenuModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXMenuModule, declarations: [AXMenuComponent], imports: [CommonModule, AXDecoratorModule, AXLoadingModule,
|
|
6379
|
-
AXTranslationModule,
|
|
6380
|
-
AXPopoverModule], exports: [AXMenuComponent] });
|
|
6381
|
-
AXMenuModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXMenuModule, providers: [], imports: [[
|
|
6382
|
-
...MODULES$a,
|
|
6383
|
-
AXLoadingModule,
|
|
6384
|
-
AXTranslationModule,
|
|
6385
|
-
AXPopoverModule,
|
|
6386
|
-
]] });
|
|
6387
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXMenuModule, decorators: [{
|
|
6388
|
-
type: NgModule,
|
|
6389
|
-
args: [{
|
|
6390
|
-
declarations: [...COMPONENT$a],
|
|
6391
|
-
imports: [
|
|
6392
|
-
...MODULES$a,
|
|
6393
|
-
AXLoadingModule,
|
|
6394
|
-
AXTranslationModule,
|
|
6395
|
-
AXPopoverModule,
|
|
6396
|
-
],
|
|
6397
|
-
exports: [...COMPONENT$a],
|
|
6398
|
-
providers: [],
|
|
6399
|
-
}]
|
|
6400
|
-
}] });
|
|
6401
|
-
|
|
6402
|
-
/**
|
|
6403
|
-
* The NumberBox is a component which detects user interaction and triggers a corresponding event
|
|
6404
|
-
*
|
|
6405
|
-
* @category Components
|
|
6406
|
-
*/
|
|
6407
|
-
class AXNumberBoxComponent extends AXBaseTextBoxMixin {
|
|
6408
|
-
/**
|
|
6409
|
-
* @ignore
|
|
6410
|
-
*/
|
|
6411
|
-
constructor(elementRef, cdr) {
|
|
6412
|
-
super(elementRef, cdr);
|
|
6413
|
-
this.cdr = cdr;
|
|
6414
|
-
this._padDecimalZeros = false;
|
|
6415
|
-
/**
|
|
6416
|
-
* Specifies the value that is used to increment or decrement the **Integer** part of number
|
|
6417
|
-
*/
|
|
6418
|
-
this.step = 1;
|
|
6419
|
-
this._decimals = 0;
|
|
6420
|
-
/**
|
|
6421
|
-
* Specifies the value that is used to increment or decrement the **Deciaml** part of number
|
|
6422
|
-
*/
|
|
6423
|
-
this.decimalStep = 'auto';
|
|
6424
|
-
/**
|
|
6425
|
-
* Specifies whether the Up and Down spin buttons will be rendered or not
|
|
6426
|
-
*/
|
|
6427
|
-
this.showSpinButtons = true;
|
|
6428
|
-
this._minValue = Number.MIN_SAFE_INTEGER;
|
|
6429
|
-
this._maxValue = Number.MAX_SAFE_INTEGER;
|
|
6430
|
-
}
|
|
6431
|
-
/**
|
|
6432
|
-
* A character value that specifies the separator character.
|
|
6433
|
-
*/
|
|
6434
|
-
get thousandsSeparator() {
|
|
6435
|
-
return this._thousandsSeparator;
|
|
6436
|
-
}
|
|
6437
|
-
set thousandsSeparator(v) {
|
|
6438
|
-
this._setOption({
|
|
6439
|
-
name: "thousandsSeparator",
|
|
6440
|
-
value: v !== null && v !== void 0 ? v : '',
|
|
6441
|
-
});
|
|
6442
|
-
}
|
|
6443
|
-
/**
|
|
6444
|
-
* A character value that specifies the separator character.
|
|
6445
|
-
*/
|
|
6446
|
-
get padDecimalZeros() {
|
|
6447
|
-
return this._padDecimalZeros;
|
|
6448
|
-
}
|
|
6449
|
-
set padDecimalZeros(v) {
|
|
6450
|
-
this._setOption({
|
|
6451
|
-
name: "padDecimalZeros",
|
|
6452
|
-
value: v,
|
|
6453
|
-
});
|
|
6454
|
-
}
|
|
6455
|
-
/**
|
|
6456
|
-
* Specifies the number of decimals that the user can enter
|
|
6457
|
-
*/
|
|
6458
|
-
get decimals() {
|
|
6459
|
-
return this._decimals;
|
|
6460
|
-
}
|
|
6461
|
-
set decimals(v) {
|
|
6462
|
-
this._setOption({
|
|
6463
|
-
name: "decimals",
|
|
6464
|
-
value: v !== null && v !== void 0 ? v : 0,
|
|
6465
|
-
});
|
|
6466
|
-
}
|
|
6467
|
-
/**
|
|
6468
|
-
* Specifies the smallest value that is valid
|
|
6469
|
-
*/
|
|
6470
|
-
get minValue() {
|
|
6471
|
-
return this._minValue;
|
|
6472
|
-
}
|
|
6473
|
-
set minValue(v) {
|
|
6474
|
-
this._setOption({
|
|
6475
|
-
name: "minValue",
|
|
6476
|
-
value: v != null ? Number(v) : Number.MIN_SAFE_INTEGER,
|
|
6477
|
-
});
|
|
6478
|
-
}
|
|
6479
|
-
/**
|
|
6480
|
-
* Specifies the greatest value that is valid
|
|
6481
|
-
*/
|
|
6482
|
-
get maxValue() {
|
|
6483
|
-
return this._maxValue;
|
|
6484
|
-
}
|
|
6485
|
-
set maxValue(v) {
|
|
6486
|
-
this._setOption({
|
|
6487
|
-
name: "maxValue",
|
|
6488
|
-
value: v != null ? Number(v) : Number.MAX_SAFE_INTEGER,
|
|
6489
|
-
});
|
|
6490
|
-
}
|
|
6491
|
-
onViewInit() {
|
|
6492
|
-
super.onViewInit();
|
|
6493
|
-
this._updateMask();
|
|
6494
|
-
}
|
|
6495
|
-
_onOptionChanged(option) {
|
|
6496
|
-
super._onOptionChanged(option);
|
|
6497
|
-
this._updateMask();
|
|
6498
|
-
}
|
|
6499
|
-
_updateMask() {
|
|
6500
|
-
var _a, _b, _c, _d;
|
|
6501
|
-
if (!this._maskObj) {
|
|
6502
|
-
this._maskObj = IMask.createMask({
|
|
6503
|
-
mask: Number,
|
|
6504
|
-
min: this.minValue,
|
|
6505
|
-
max: this.maxValue,
|
|
6506
|
-
thousandsSeparator: this.thousandsSeparator || '',
|
|
6507
|
-
scale: this.decimals,
|
|
6508
|
-
radix: '.',
|
|
6509
|
-
padFractionalZeros: this.decimals > 0 && this.padDecimalZeros
|
|
6510
|
-
});
|
|
6511
|
-
}
|
|
6512
|
-
else {
|
|
6513
|
-
this._maskObj.updateOptions({
|
|
6514
|
-
min: this.minValue,
|
|
6515
|
-
max: this.maxValue,
|
|
6516
|
-
thousandsSeparator: this.thousandsSeparator || '',
|
|
6517
|
-
scale: this.decimals,
|
|
6518
|
-
radix: '.',
|
|
6519
|
-
padFractionalZeros: this.decimals > 0 && this.padDecimalZeros
|
|
6520
|
-
});
|
|
6521
|
-
}
|
|
6522
|
-
(_b = (_a = this._maskDirective) === null || _a === void 0 ? void 0 : _a.maskRef) === null || _b === void 0 ? void 0 : _b.updateValue();
|
|
6523
|
-
(_d = (_c = this._maskDirective) === null || _c === void 0 ? void 0 : _c.maskRef) === null || _d === void 0 ? void 0 : _d.updateControl();
|
|
6524
|
-
}
|
|
6525
|
-
_handleOnKeydownEvent(e) {
|
|
6526
|
-
const ignore = () => {
|
|
6527
|
-
e.preventDefault();
|
|
6528
|
-
e.stopPropagation();
|
|
6529
|
-
};
|
|
6530
|
-
const input = e.target;
|
|
6531
|
-
const valStr = input.value;
|
|
6532
|
-
const decimalPointIndex = valStr.indexOf('.');
|
|
6533
|
-
const _cursorPos = input.selectionStart;
|
|
6534
|
-
if (e.key === 'ArrowUp' || e.key === 'ArrowDown') {
|
|
6535
|
-
if (decimalPointIndex > 0 && _cursorPos > decimalPointIndex && this.decimals > 0) {
|
|
6536
|
-
e.key === 'ArrowDown' ? this.decimalStepDown() : this.decimalStepUp();
|
|
6816
|
+
_onMouseEnter(e, item) {
|
|
6817
|
+
var _a, _b;
|
|
6818
|
+
if (this.isLoading) {
|
|
6819
|
+
return;
|
|
6820
|
+
}
|
|
6821
|
+
if (!item[this.disableField] && this.openMode === 'hover') {
|
|
6822
|
+
if (((_a = item.children) === null || _a === void 0 ? void 0 : _a.length) > 0 || item[this.hasChildField]) {
|
|
6823
|
+
if (((_b = item.children) === null || _b === void 0 ? void 0 : _b.length) > 0) {
|
|
6824
|
+
this._closeChild(item.children);
|
|
6825
|
+
}
|
|
6826
|
+
item.isOpen = true;
|
|
6537
6827
|
}
|
|
6538
|
-
|
|
6539
|
-
|
|
6828
|
+
this.onMenuItemClick.emit({
|
|
6829
|
+
component: this,
|
|
6830
|
+
item: item,
|
|
6831
|
+
nativeEvent: e,
|
|
6832
|
+
});
|
|
6833
|
+
if (item.isOpen && item[this.hasChildField] && !item.children) {
|
|
6834
|
+
item.isLoading = true;
|
|
6835
|
+
this._fetchData(item[this.valueField]).then(() => {
|
|
6836
|
+
item.isLoading = false;
|
|
6837
|
+
});
|
|
6540
6838
|
}
|
|
6541
|
-
ignore();
|
|
6542
|
-
setTimeout(() => {
|
|
6543
|
-
input.setSelectionRange(_cursorPos, _cursorPos);
|
|
6544
|
-
}, 5);
|
|
6545
6839
|
}
|
|
6546
|
-
|
|
6840
|
+
e.stopPropagation();
|
|
6841
|
+
e.preventDefault();
|
|
6547
6842
|
}
|
|
6548
|
-
|
|
6549
|
-
|
|
6843
|
+
_onMouseLeave(item) {
|
|
6844
|
+
var _a, _b;
|
|
6845
|
+
if (!item[this.disableField] && this.openMode === 'hover') {
|
|
6846
|
+
if (((_a = item.children) === null || _a === void 0 ? void 0 : _a.length) > 0 || item[this.hasChildField]) {
|
|
6847
|
+
if (((_b = item.children) === null || _b === void 0 ? void 0 : _b.length) > 0) {
|
|
6848
|
+
this._closeChild(item.children);
|
|
6849
|
+
}
|
|
6850
|
+
item.isOpen = false;
|
|
6851
|
+
}
|
|
6852
|
+
}
|
|
6550
6853
|
}
|
|
6551
|
-
|
|
6552
|
-
|
|
6553
|
-
|
|
6554
|
-
|
|
6555
|
-
|
|
6556
|
-
|
|
6557
|
-
|
|
6854
|
+
_notActive(items) {
|
|
6855
|
+
items.forEach((element) => {
|
|
6856
|
+
var _a;
|
|
6857
|
+
element.isActive = false;
|
|
6858
|
+
if (((_a = element.children) === null || _a === void 0 ? void 0 : _a.length) > 0) {
|
|
6859
|
+
this._notActive(element.children);
|
|
6860
|
+
}
|
|
6861
|
+
});
|
|
6558
6862
|
}
|
|
6559
|
-
|
|
6560
|
-
|
|
6863
|
+
_closeChild(items) {
|
|
6864
|
+
items.forEach((element) => {
|
|
6865
|
+
var _a;
|
|
6866
|
+
element.isOpen = false;
|
|
6867
|
+
if (((_a = element.children) === null || _a === void 0 ? void 0 : _a.length) > 0) {
|
|
6868
|
+
this._closeChild(element.children);
|
|
6869
|
+
}
|
|
6870
|
+
});
|
|
6561
6871
|
}
|
|
6562
|
-
|
|
6563
|
-
|
|
6872
|
+
_setParentNode(item, parentId) {
|
|
6873
|
+
item.forEach((element) => {
|
|
6874
|
+
element.parentId = parentId;
|
|
6875
|
+
});
|
|
6564
6876
|
}
|
|
6565
|
-
|
|
6566
|
-
|
|
6877
|
+
_onSearchExprChanged(e) {
|
|
6878
|
+
var _a;
|
|
6879
|
+
// this.empty();
|
|
6880
|
+
this._forceFocus = true;
|
|
6881
|
+
this._fetchData(null, (_a = this._searchBox) === null || _a === void 0 ? void 0 : _a.searchExp);
|
|
6567
6882
|
}
|
|
6568
|
-
|
|
6569
|
-
|
|
6883
|
+
_getDirection() {
|
|
6884
|
+
if (this.direction === 'horizontal') {
|
|
6885
|
+
return 'horizontal-mode';
|
|
6886
|
+
}
|
|
6887
|
+
else {
|
|
6888
|
+
return 'vertical-mode';
|
|
6889
|
+
}
|
|
6570
6890
|
}
|
|
6571
6891
|
}
|
|
6572
|
-
|
|
6573
|
-
|
|
6574
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type:
|
|
6892
|
+
AXMenuComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXMenuComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
6893
|
+
AXMenuComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.9", type: AXMenuComponent, selector: "ax-menu", inputs: { disabled: "disabled", tabIndex: "tabIndex", textField: "textField", valueField: "valueField", items: "items", id: "id", parentId: "parentId", iconField: "iconField", 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 }, { propertyName: "_searchBox", first: true, predicate: AXSearchBoxComponent, descendants: true, static: true }], viewQueries: [{ propertyName: "popover", first: true, predicate: AXPopoverComponent, descendants: true, static: true }], usesInheritance: true, ngImport: i0, template: "<div class=\"ax-p-2\">\r\n <ng-content [class.ax-hidden]=\"!_searchBox\" [cdkTrapFocus]=\"_searchBox!=null\" select=\"ax-search-box\"></ng-content>\r\n</div>\r\n<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)\" (mouseleave)=\"_onMouseLeave(item)\">\r\n <a [ngClass]=\"{'active': item.isActive}\">\r\n <div class=\"ax-menu-start-side\">\r\n <ax-icon *ngIf=\"item[iconField]\" [class]=\"item[iconField]\"></ax-icon>\r\n <span>{{_getItemDisplayTextTemplte(item)}}</span>\r\n </div>\r\n <div class=\"ax-menu-end-side\">\r\n <ax-icon *ngIf=\"!item.isLoading\"\r\n [ngClass]=\"{'ax-ic-chevron':item?.children?.length > 0 || item[hasChildField],'active-icon': item.isOpen}\">\r\n </ax-icon>\r\n <ax-loading *ngIf=\"item.isLoading\">\r\n </ax-loading>\r\n </div>\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 });
|
|
6894
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXMenuComponent, decorators: [{
|
|
6575
6895
|
type: Component,
|
|
6576
|
-
args: [{ selector: 'ax-
|
|
6577
|
-
|
|
6578
|
-
'readonly',
|
|
6579
|
-
'tabIndex',
|
|
6580
|
-
'size',
|
|
6581
|
-
'value',
|
|
6582
|
-
...TEXTBOX_INPUTS,
|
|
6583
|
-
], outputs: [
|
|
6584
|
-
'valueChange',
|
|
6585
|
-
'onValueChanged',
|
|
6586
|
-
'onBlur',
|
|
6587
|
-
'onFocus',
|
|
6588
|
-
...TEXTBOX_OUTPUT,
|
|
6589
|
-
], changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, host: { class: 'ax-editor-container' }, 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>" }]
|
|
6590
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { thousandsSeparator: [{
|
|
6591
|
-
type: Input
|
|
6592
|
-
}], padDecimalZeros: [{
|
|
6593
|
-
type: Input
|
|
6594
|
-
}], step: [{
|
|
6595
|
-
type: Input
|
|
6596
|
-
}], decimals: [{
|
|
6597
|
-
type: Input
|
|
6598
|
-
}], decimalStep: [{
|
|
6599
|
-
type: Input
|
|
6600
|
-
}], showSpinButtons: [{
|
|
6601
|
-
type: Input
|
|
6602
|
-
}], minValue: [{
|
|
6603
|
-
type: Input
|
|
6604
|
-
}], maxValue: [{
|
|
6605
|
-
type: Input
|
|
6606
|
-
}], _maskDirective: [{
|
|
6896
|
+
args: [{ selector: 'ax-menu', inputs: [...INTERACTIVE_INPUTS, ...BASEMENU_INPUTS], outputs: [...INTERACTIVE_OUTPUT], changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, host: { class: 'ax-menu' }, template: "<div class=\"ax-p-2\">\r\n <ng-content [class.ax-hidden]=\"!_searchBox\" [cdkTrapFocus]=\"_searchBox!=null\" select=\"ax-search-box\"></ng-content>\r\n</div>\r\n<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)\" (mouseleave)=\"_onMouseLeave(item)\">\r\n <a [ngClass]=\"{'active': item.isActive}\">\r\n <div class=\"ax-menu-start-side\">\r\n <ax-icon *ngIf=\"item[iconField]\" [class]=\"item[iconField]\"></ax-icon>\r\n <span>{{_getItemDisplayTextTemplte(item)}}</span>\r\n </div>\r\n <div class=\"ax-menu-end-side\">\r\n <ax-icon *ngIf=\"!item.isLoading\"\r\n [ngClass]=\"{'ax-ic-chevron':item?.children?.length > 0 || item[hasChildField],'active-icon': item.isOpen}\">\r\n </ax-icon>\r\n <ax-loading *ngIf=\"item.isLoading\">\r\n </ax-loading>\r\n </div>\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>" }]
|
|
6897
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { popover: [{
|
|
6607
6898
|
type: ViewChild,
|
|
6608
|
-
args: [
|
|
6899
|
+
args: [AXPopoverComponent, { static: true }]
|
|
6900
|
+
}], _contentEmptyTemplate: [{
|
|
6901
|
+
type: ContentChild,
|
|
6902
|
+
args: ['emptyTemplate']
|
|
6903
|
+
}], _searchBox: [{
|
|
6904
|
+
type: ContentChild,
|
|
6905
|
+
args: [AXSearchBoxComponent, { static: true }]
|
|
6609
6906
|
}] } });
|
|
6610
6907
|
|
|
6611
|
-
const COMPONENT$
|
|
6612
|
-
const MODULES$
|
|
6613
|
-
|
|
6614
|
-
FormsModule,
|
|
6615
|
-
AXButtonModule,
|
|
6616
|
-
AXDecoratorModule,
|
|
6617
|
-
IMaskModule
|
|
6618
|
-
];
|
|
6619
|
-
class AXNumberBoxModule {
|
|
6908
|
+
const COMPONENT$8 = [AXMenuComponent];
|
|
6909
|
+
const MODULES$8 = [CommonModule, AXDecoratorModule];
|
|
6910
|
+
class AXMenuModule {
|
|
6620
6911
|
}
|
|
6621
|
-
|
|
6622
|
-
|
|
6623
|
-
|
|
6624
|
-
|
|
6625
|
-
|
|
6626
|
-
|
|
6627
|
-
|
|
6628
|
-
|
|
6912
|
+
AXMenuModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXMenuModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
6913
|
+
AXMenuModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXMenuModule, declarations: [AXMenuComponent], imports: [CommonModule, AXDecoratorModule, AXLoadingModule,
|
|
6914
|
+
AXTranslationModule,
|
|
6915
|
+
AXPopoverModule], exports: [AXMenuComponent] });
|
|
6916
|
+
AXMenuModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXMenuModule, providers: [], imports: [[
|
|
6917
|
+
...MODULES$8,
|
|
6918
|
+
AXLoadingModule,
|
|
6919
|
+
AXTranslationModule,
|
|
6920
|
+
AXPopoverModule,
|
|
6921
|
+
]] });
|
|
6922
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXMenuModule, decorators: [{
|
|
6629
6923
|
type: NgModule,
|
|
6630
6924
|
args: [{
|
|
6631
|
-
declarations: [...COMPONENT$
|
|
6632
|
-
imports: [
|
|
6633
|
-
|
|
6925
|
+
declarations: [...COMPONENT$8],
|
|
6926
|
+
imports: [
|
|
6927
|
+
...MODULES$8,
|
|
6928
|
+
AXLoadingModule,
|
|
6929
|
+
AXTranslationModule,
|
|
6930
|
+
AXPopoverModule,
|
|
6931
|
+
],
|
|
6932
|
+
exports: [...COMPONENT$8],
|
|
6634
6933
|
providers: [],
|
|
6635
6934
|
}]
|
|
6636
6935
|
}] });
|
|
@@ -6686,8 +6985,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.9", ngImpor
|
|
|
6686
6985
|
type: Input
|
|
6687
6986
|
}] } });
|
|
6688
6987
|
|
|
6689
|
-
const COMPONENT$
|
|
6690
|
-
const MODULES$
|
|
6988
|
+
const COMPONENT$7 = [AXPasswordBoxComponent];
|
|
6989
|
+
const MODULES$7 = [
|
|
6691
6990
|
CommonModule,
|
|
6692
6991
|
FormsModule,
|
|
6693
6992
|
AXButtonModule,
|
|
@@ -6700,13 +6999,13 @@ AXPasswordBoxModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", ver
|
|
|
6700
6999
|
FormsModule,
|
|
6701
7000
|
AXButtonModule,
|
|
6702
7001
|
AXDecoratorModule], exports: [AXPasswordBoxComponent] });
|
|
6703
|
-
AXPasswordBoxModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXPasswordBoxModule, providers: [], imports: [[...MODULES$
|
|
7002
|
+
AXPasswordBoxModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXPasswordBoxModule, providers: [], imports: [[...MODULES$7]] });
|
|
6704
7003
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXPasswordBoxModule, decorators: [{
|
|
6705
7004
|
type: NgModule,
|
|
6706
7005
|
args: [{
|
|
6707
|
-
declarations: [...COMPONENT$
|
|
6708
|
-
imports: [...MODULES$
|
|
6709
|
-
exports: [...COMPONENT$
|
|
7006
|
+
declarations: [...COMPONENT$7],
|
|
7007
|
+
imports: [...MODULES$7],
|
|
7008
|
+
exports: [...COMPONENT$7],
|
|
6710
7009
|
providers: [],
|
|
6711
7010
|
}]
|
|
6712
7011
|
}] });
|
|
@@ -6812,12 +7111,12 @@ class AXPopupComponent extends AXBaseComponentMixin {
|
|
|
6812
7111
|
}
|
|
6813
7112
|
onFullScreen() { }
|
|
6814
7113
|
}
|
|
6815
|
-
AXPopupComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXPopupComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: i0.NgZone }, { token: i0.ViewContainerRef }, { token: AXLoadingService }, { token: i1$
|
|
6816
|
-
AXPopupComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.9", 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:
|
|
7114
|
+
AXPopupComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.9", 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 });
|
|
7115
|
+
AXPopupComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.9", 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: i7.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$5.CdkPortalOutlet, selector: "[cdkPortalOutlet]", inputs: ["cdkPortalOutlet"], outputs: ["attached"], exportAs: ["cdkPortalOutlet"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
6817
7116
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXPopupComponent, decorators: [{
|
|
6818
7117
|
type: Component,
|
|
6819
7118
|
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>" }]
|
|
6820
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: i0.NgZone }, { type: i0.ViewContainerRef }, { type: AXLoadingService }, { type: i1$
|
|
7119
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: i0.NgZone }, { type: i0.ViewContainerRef }, { type: AXLoadingService }, { type: i1$4.AXPlatform }]; }, propDecorators: { onKeydownHandler: [{
|
|
6821
7120
|
type: HostListener,
|
|
6822
7121
|
args: ['keydown.escape', ['$event']]
|
|
6823
7122
|
}] } });
|
|
@@ -6913,19 +7212,19 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.9", ngImpor
|
|
|
6913
7212
|
args: [{ providedIn: 'root' }]
|
|
6914
7213
|
}], ctorParameters: function () { return [{ type: AXOverlayService }]; } });
|
|
6915
7214
|
|
|
6916
|
-
const COMPONENT$
|
|
6917
|
-
const MODULES$
|
|
7215
|
+
const COMPONENT$6 = [AXPopupComponent];
|
|
7216
|
+
const MODULES$6 = [CommonModule, DragDropModule, A11yModule, AXButtonModule, PortalModule, AXDecoratorModule];
|
|
6918
7217
|
class AXPopupModule {
|
|
6919
7218
|
}
|
|
6920
7219
|
AXPopupModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXPopupModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
6921
7220
|
AXPopupModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXPopupModule, declarations: [AXPopupComponent], imports: [CommonModule, DragDropModule, A11yModule, AXButtonModule, PortalModule, AXDecoratorModule], exports: [AXPopupComponent] });
|
|
6922
|
-
AXPopupModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXPopupModule, providers: [], imports: [[...MODULES$
|
|
7221
|
+
AXPopupModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXPopupModule, providers: [], imports: [[...MODULES$6]] });
|
|
6923
7222
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXPopupModule, decorators: [{
|
|
6924
7223
|
type: NgModule,
|
|
6925
7224
|
args: [{
|
|
6926
|
-
declarations: [...COMPONENT$
|
|
6927
|
-
imports: [...MODULES$
|
|
6928
|
-
exports: [...COMPONENT$
|
|
7225
|
+
declarations: [...COMPONENT$6],
|
|
7226
|
+
imports: [...MODULES$6],
|
|
7227
|
+
exports: [...COMPONENT$6],
|
|
6929
7228
|
providers: [],
|
|
6930
7229
|
}]
|
|
6931
7230
|
}] });
|
|
@@ -7003,19 +7302,19 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.9", ngImpor
|
|
|
7003
7302
|
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\">\r\n <div class=\"ax-flex ax-items-center ax-h-5\">\r\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)\"\r\n (blur)=\"_emitOnBlurEvent($event)\">\r\n </div>\r\n <div class=\"ax-ms-3 ax-text-sm\">\r\n <ng-content select=\"ax-label\"></ng-content>\r\n <ng-content select=\"ax-form-hint\"></ng-content>\r\n </div>\r\n</div>\r\n<ng-content select=\"ax-validation-rule\"></ng-content>" }]
|
|
7004
7303
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; } });
|
|
7005
7304
|
|
|
7006
|
-
const COMPONENT$
|
|
7007
|
-
const MODULES$
|
|
7305
|
+
const COMPONENT$5 = [AXRadioComponent];
|
|
7306
|
+
const MODULES$5 = [CommonModule, FormsModule];
|
|
7008
7307
|
class AXRadioModule {
|
|
7009
7308
|
}
|
|
7010
7309
|
AXRadioModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXRadioModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
7011
7310
|
AXRadioModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXRadioModule, declarations: [AXRadioComponent], imports: [CommonModule, FormsModule], exports: [AXRadioComponent] });
|
|
7012
|
-
AXRadioModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXRadioModule, providers: [], imports: [[...MODULES$
|
|
7311
|
+
AXRadioModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXRadioModule, providers: [], imports: [[...MODULES$5]] });
|
|
7013
7312
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXRadioModule, decorators: [{
|
|
7014
7313
|
type: NgModule,
|
|
7015
7314
|
args: [{
|
|
7016
|
-
declarations: [...COMPONENT$
|
|
7017
|
-
imports: [...MODULES$
|
|
7018
|
-
exports: [...COMPONENT$
|
|
7315
|
+
declarations: [...COMPONENT$5],
|
|
7316
|
+
imports: [...MODULES$5],
|
|
7317
|
+
exports: [...COMPONENT$5],
|
|
7019
7318
|
providers: [],
|
|
7020
7319
|
}]
|
|
7021
7320
|
}] });
|
|
@@ -7033,19 +7332,19 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.9", ngImpor
|
|
|
7033
7332
|
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\">" }]
|
|
7034
7333
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; } });
|
|
7035
7334
|
|
|
7036
|
-
const COMPONENT$
|
|
7037
|
-
const MODULES$
|
|
7335
|
+
const COMPONENT$4 = [AXRangeSliderComponent];
|
|
7336
|
+
const MODULES$4 = [CommonModule];
|
|
7038
7337
|
class AXRangeSliderModule {
|
|
7039
7338
|
}
|
|
7040
7339
|
AXRangeSliderModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXRangeSliderModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
7041
7340
|
AXRangeSliderModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXRangeSliderModule, declarations: [AXRangeSliderComponent], imports: [CommonModule], exports: [AXRangeSliderComponent] });
|
|
7042
|
-
AXRangeSliderModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXRangeSliderModule, providers: [], imports: [[...MODULES$
|
|
7341
|
+
AXRangeSliderModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXRangeSliderModule, providers: [], imports: [[...MODULES$4]] });
|
|
7043
7342
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXRangeSliderModule, decorators: [{
|
|
7044
7343
|
type: NgModule,
|
|
7045
7344
|
args: [{
|
|
7046
|
-
declarations: [...COMPONENT$
|
|
7047
|
-
imports: [...MODULES$
|
|
7048
|
-
exports: [...COMPONENT$
|
|
7345
|
+
declarations: [...COMPONENT$4],
|
|
7346
|
+
imports: [...MODULES$4],
|
|
7347
|
+
exports: [...COMPONENT$4],
|
|
7049
7348
|
providers: [],
|
|
7050
7349
|
}]
|
|
7051
7350
|
}] });
|
|
@@ -7137,64 +7436,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.9", ngImpor
|
|
|
7137
7436
|
}]
|
|
7138
7437
|
}] });
|
|
7139
7438
|
|
|
7140
|
-
class AXSearchBoxComponent extends AXBaseComponentMixin {
|
|
7141
|
-
constructor(_elementRef, _cdr, _parent) {
|
|
7142
|
-
super(_elementRef, _cdr);
|
|
7143
|
-
this._parent = _parent;
|
|
7144
|
-
this.placeholder = 'common.search';
|
|
7145
|
-
this.debounceTime = 300;
|
|
7146
|
-
this.searchExp = null;
|
|
7147
|
-
}
|
|
7148
|
-
_onSearchExprChanged(e) {
|
|
7149
|
-
if (this._parent && this._parent.search) {
|
|
7150
|
-
this._parent.search(e.value);
|
|
7151
|
-
}
|
|
7152
|
-
}
|
|
7153
|
-
focus() {
|
|
7154
|
-
var _a;
|
|
7155
|
-
(_a = this._textbox) === null || _a === void 0 ? void 0 : _a.focus();
|
|
7156
|
-
}
|
|
7157
|
-
}
|
|
7158
|
-
AXSearchBoxComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXSearchBoxComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: AXSearchableComponent, optional: true }], target: i0.ɵɵFactoryTarget.Component });
|
|
7159
|
-
AXSearchBoxComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.9", 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$3.AXTranslatorPipe }, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
7160
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXSearchBoxComponent, decorators: [{
|
|
7161
|
-
type: Component,
|
|
7162
|
-
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>" }]
|
|
7163
|
-
}], ctorParameters: function () {
|
|
7164
|
-
return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: AXSearchableComponent, decorators: [{
|
|
7165
|
-
type: Optional
|
|
7166
|
-
}, {
|
|
7167
|
-
type: Inject,
|
|
7168
|
-
args: [AXSearchableComponent]
|
|
7169
|
-
}] }];
|
|
7170
|
-
}, propDecorators: { _textbox: [{
|
|
7171
|
-
type: ViewChild,
|
|
7172
|
-
args: [AXTextBoxComponent]
|
|
7173
|
-
}], placeholder: [{
|
|
7174
|
-
type: Input
|
|
7175
|
-
}], debounceTime: [{
|
|
7176
|
-
type: Input
|
|
7177
|
-
}], searchExp: [{
|
|
7178
|
-
type: Input
|
|
7179
|
-
}] } });
|
|
7180
|
-
|
|
7181
|
-
const COMPONENT$4 = [AXSearchBoxComponent];
|
|
7182
|
-
const MODULES$4 = [CommonModule, AXTranslationModule, AXDecoratorModule, AXTextBoxModule];
|
|
7183
|
-
class AXSearchBoxModule {
|
|
7184
|
-
}
|
|
7185
|
-
AXSearchBoxModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXSearchBoxModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
7186
|
-
AXSearchBoxModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXSearchBoxModule, declarations: [AXSearchBoxComponent], imports: [CommonModule, AXTranslationModule, AXDecoratorModule, AXTextBoxModule], exports: [AXSearchBoxComponent] });
|
|
7187
|
-
AXSearchBoxModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXSearchBoxModule, providers: [], imports: [[...MODULES$4]] });
|
|
7188
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXSearchBoxModule, decorators: [{
|
|
7189
|
-
type: NgModule,
|
|
7190
|
-
args: [{
|
|
7191
|
-
declarations: [...COMPONENT$4],
|
|
7192
|
-
imports: [...MODULES$4],
|
|
7193
|
-
exports: [...COMPONENT$4],
|
|
7194
|
-
providers: [],
|
|
7195
|
-
}]
|
|
7196
|
-
}] });
|
|
7197
|
-
|
|
7198
7439
|
/**
|
|
7199
7440
|
* The Button is a component which detects user interaction and triggers a corresponding event
|
|
7200
7441
|
*
|
|
@@ -7464,6 +7705,7 @@ class AXSelectBoxComponent extends AXBaseSelectionDropdownMixin {
|
|
|
7464
7705
|
}
|
|
7465
7706
|
}
|
|
7466
7707
|
_onSearchExprChanged(e) {
|
|
7708
|
+
debugger;
|
|
7467
7709
|
this.empty();
|
|
7468
7710
|
this._forceFocus = true;
|
|
7469
7711
|
this._fetchData();
|
|
@@ -7479,18 +7721,18 @@ class AXSelectBoxComponent extends AXBaseSelectionDropdownMixin {
|
|
|
7479
7721
|
super._fetchData({ searchQuery: (_a = this._searchBox) === null || _a === void 0 ? void 0 : _a.searchExp });
|
|
7480
7722
|
}
|
|
7481
7723
|
}
|
|
7482
|
-
AXSelectBoxComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXSelectBoxComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: i0.NgZone }, { token: i1$
|
|
7724
|
+
AXSelectBoxComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXSelectBoxComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: i0.NgZone }, { token: i1$4.AXPlatform }], target: i0.ɵɵFactoryTarget.Component });
|
|
7483
7725
|
AXSelectBoxComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.9", 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: [
|
|
7484
7726
|
{ provide: AXClosbaleComponent, useExisting: AXSelectBoxComponent },
|
|
7485
7727
|
{ provide: AXSearchableComponent, useExisting: AXSelectBoxComponent }
|
|
7486
|
-
], 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: i8.CdkTrapFocus, selector: "[cdkTrapFocus]", inputs: ["cdkTrapFocus", "cdkTrapFocusAutoCapture"], exportAs: ["cdkTrapFocus"] }, { type: i1$1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }], pipes: { "trans": i1$3.AXTranslatorPipe }, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
7728
|
+
], 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: i7.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 });
|
|
7487
7729
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXSelectBoxComponent, decorators: [{
|
|
7488
7730
|
type: Component,
|
|
7489
7731
|
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: [
|
|
7490
7732
|
{ provide: AXClosbaleComponent, useExisting: AXSelectBoxComponent },
|
|
7491
7733
|
{ provide: AXSearchableComponent, useExisting: AXSelectBoxComponent }
|
|
7492
7734
|
], 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>" }]
|
|
7493
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: i0.NgZone }, { type: i1$
|
|
7735
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: i0.NgZone }, { type: i1$4.AXPlatform }]; }, propDecorators: { popover: [{
|
|
7494
7736
|
type: ViewChild,
|
|
7495
7737
|
args: [AXPopoverComponent, { static: true }]
|
|
7496
7738
|
}], _searchBox: [{
|
|
@@ -8833,5 +9075,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.9", ngImpor
|
|
|
8833
9075
|
* Generated bundle index. Do not edit.
|
|
8834
9076
|
*/
|
|
8835
9077
|
|
|
8836
|
-
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, AXColorPickerComponent, AXColorPickerModule, 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 };
|
|
9078
|
+
export { AXActionSheetComponent, AXActionSheetItemComponent, AXActionSheetModule, AXAlertButtonComponent, AXAlertComponent, AXAlertModule, AXAvatarComponent, AXAvatarGroup, AXAvatarMixin, AXAvatarModule, AXBadgeComponent, AXBadgeModule, AXBaseAlertMixin, AXBaseBadgeMixin, AXBaseButtonMixin, AXBaseClickableMixin, AXBaseColorPickerMixin, 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, AXColorPaletteInputComponent, AXColorPaletteModule, AXColorPalettePickerComponent, AXColorPalettePreviewComponent, AXColorPaletteSwatchesComponent, AXColorPalleteComponent, AXColorPickerComponent, AXColorPickerModule, 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, AXValuableComponent, AXValueChangedEvent, AX_DIRECTIONS, AX_LOCATIONS, AX_STYLE_TYPES, BASE_INPUTS, BASE_OUTPUT, TAB_META_KEY, _BaseComponenetMixin };
|
|
8837
9079
|
//# sourceMappingURL=acorex-components.mjs.map
|