@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 } 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 {
|
|
@@ -194,14 +194,17 @@ function _BaseMenuComponentMixin(Base) {
|
|
|
194
194
|
});
|
|
195
195
|
}
|
|
196
196
|
}
|
|
197
|
-
_fetchData(parentId) {
|
|
197
|
+
_fetchData(parentId, searchText) {
|
|
198
198
|
return new Promise((resolve) => {
|
|
199
199
|
if (__classPrivateFieldGet(this, _isLoading, "f")) {
|
|
200
200
|
return;
|
|
201
201
|
}
|
|
202
202
|
if (__classPrivateFieldGet(this, _items, "f")) {
|
|
203
203
|
__classPrivateFieldSet(this, _isLoading, true, "f");
|
|
204
|
-
__classPrivateFieldGet(this, _items, "f").call(this, {
|
|
204
|
+
__classPrivateFieldGet(this, _items, "f").call(this, {
|
|
205
|
+
parentId: parentId,
|
|
206
|
+
searchQuery: searchText,
|
|
207
|
+
})
|
|
205
208
|
.then((c) => {
|
|
206
209
|
if (Array.isArray(c)) {
|
|
207
210
|
if (parentId) {
|
|
@@ -1205,6 +1208,13 @@ AXSearchableComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", ve
|
|
|
1205
1208
|
AXSearchableComponent.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXSearchableComponent });
|
|
1206
1209
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXSearchableComponent, decorators: [{
|
|
1207
1210
|
type: Injectable
|
|
1211
|
+
}] });
|
|
1212
|
+
class AXValuableComponent {
|
|
1213
|
+
}
|
|
1214
|
+
AXValuableComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXValuableComponent, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1215
|
+
AXValuableComponent.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXValuableComponent });
|
|
1216
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXValuableComponent, decorators: [{
|
|
1217
|
+
type: Injectable
|
|
1208
1218
|
}] });
|
|
1209
1219
|
|
|
1210
1220
|
/**
|
|
@@ -1854,17 +1864,17 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.9", ngImpor
|
|
|
1854
1864
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: i0.NgZone }]; } });
|
|
1855
1865
|
|
|
1856
1866
|
const COMPONENT$o = [AXDrawerComponent, AXDrawerContainerComponent];
|
|
1857
|
-
const MODULES$
|
|
1867
|
+
const MODULES$p = [CommonModule];
|
|
1858
1868
|
class AXDrawerModule {
|
|
1859
1869
|
}
|
|
1860
1870
|
AXDrawerModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXDrawerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1861
1871
|
AXDrawerModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXDrawerModule, declarations: [AXDrawerComponent, AXDrawerContainerComponent], imports: [CommonModule], exports: [AXDrawerComponent, AXDrawerContainerComponent] });
|
|
1862
|
-
AXDrawerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXDrawerModule, providers: [], imports: [[...MODULES$
|
|
1872
|
+
AXDrawerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXDrawerModule, providers: [], imports: [[...MODULES$p]] });
|
|
1863
1873
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXDrawerModule, decorators: [{
|
|
1864
1874
|
type: NgModule,
|
|
1865
1875
|
args: [{
|
|
1866
1876
|
declarations: [...COMPONENT$o],
|
|
1867
|
-
imports: [...MODULES$
|
|
1877
|
+
imports: [...MODULES$p],
|
|
1868
1878
|
exports: [...COMPONENT$o],
|
|
1869
1879
|
providers: [],
|
|
1870
1880
|
}]
|
|
@@ -2283,7 +2293,7 @@ const COMPONENT$n = [
|
|
|
2283
2293
|
AXDecoratorTitleComponent,
|
|
2284
2294
|
AXDecoratorCloseButtonComponent
|
|
2285
2295
|
];
|
|
2286
|
-
const MODULES$
|
|
2296
|
+
const MODULES$o = [CommonModule];
|
|
2287
2297
|
class AXDecoratorModule {
|
|
2288
2298
|
}
|
|
2289
2299
|
AXDecoratorModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXDecoratorModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
@@ -2304,12 +2314,12 @@ AXDecoratorModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", versi
|
|
|
2304
2314
|
AXDecoratorIconComponent,
|
|
2305
2315
|
AXDecoratorTitleComponent,
|
|
2306
2316
|
AXDecoratorCloseButtonComponent] });
|
|
2307
|
-
AXDecoratorModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXDecoratorModule, providers: [], imports: [[...MODULES$
|
|
2317
|
+
AXDecoratorModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXDecoratorModule, providers: [], imports: [[...MODULES$o]] });
|
|
2308
2318
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXDecoratorModule, decorators: [{
|
|
2309
2319
|
type: NgModule,
|
|
2310
2320
|
args: [{
|
|
2311
2321
|
declarations: [...COMPONENT$n],
|
|
2312
|
-
imports: [...MODULES$
|
|
2322
|
+
imports: [...MODULES$o],
|
|
2313
2323
|
exports: [...COMPONENT$n],
|
|
2314
2324
|
providers: [],
|
|
2315
2325
|
}]
|
|
@@ -2320,7 +2330,7 @@ const COMPONENT$m = [
|
|
|
2320
2330
|
AXButtonItemComponent,
|
|
2321
2331
|
AXButtonGroupComponent,
|
|
2322
2332
|
];
|
|
2323
|
-
const MODULES$
|
|
2333
|
+
const MODULES$n = [CommonModule, AXDecoratorModule];
|
|
2324
2334
|
class AXButtonModule {
|
|
2325
2335
|
}
|
|
2326
2336
|
AXButtonModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXButtonModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
@@ -2329,11 +2339,11 @@ AXButtonModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version:
|
|
|
2329
2339
|
AXButtonGroupComponent], imports: [CommonModule, AXDecoratorModule], exports: [AXButtonComponent,
|
|
2330
2340
|
AXButtonItemComponent,
|
|
2331
2341
|
AXButtonGroupComponent] });
|
|
2332
|
-
AXButtonModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXButtonModule, providers: [], imports: [[MODULES$
|
|
2342
|
+
AXButtonModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXButtonModule, providers: [], imports: [[MODULES$n]] });
|
|
2333
2343
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXButtonModule, decorators: [{
|
|
2334
2344
|
type: NgModule,
|
|
2335
2345
|
args: [{
|
|
2336
|
-
imports: [MODULES$
|
|
2346
|
+
imports: [MODULES$n],
|
|
2337
2347
|
exports: [COMPONENT$m],
|
|
2338
2348
|
declarations: [COMPONENT$m],
|
|
2339
2349
|
providers: [],
|
|
@@ -2531,19 +2541,19 @@ const COMPONENT$l = [
|
|
|
2531
2541
|
AXAlertComponent,
|
|
2532
2542
|
AXAlertButtonComponent
|
|
2533
2543
|
];
|
|
2534
|
-
const MODULES$
|
|
2544
|
+
const MODULES$m = [CommonModule, AXDecoratorModule];
|
|
2535
2545
|
class AXAlertModule {
|
|
2536
2546
|
}
|
|
2537
2547
|
AXAlertModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXAlertModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
2538
2548
|
AXAlertModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXAlertModule, declarations: [AXAlertComponent,
|
|
2539
2549
|
AXAlertButtonComponent], imports: [CommonModule, AXDecoratorModule], exports: [AXAlertComponent,
|
|
2540
2550
|
AXAlertButtonComponent] });
|
|
2541
|
-
AXAlertModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXAlertModule, providers: [], imports: [[...MODULES$
|
|
2551
|
+
AXAlertModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXAlertModule, providers: [], imports: [[...MODULES$m]] });
|
|
2542
2552
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXAlertModule, decorators: [{
|
|
2543
2553
|
type: NgModule,
|
|
2544
2554
|
args: [{
|
|
2545
2555
|
declarations: [...COMPONENT$l],
|
|
2546
|
-
imports: [...MODULES$
|
|
2556
|
+
imports: [...MODULES$m],
|
|
2547
2557
|
exports: [...COMPONENT$l],
|
|
2548
2558
|
providers: [],
|
|
2549
2559
|
}]
|
|
@@ -2602,17 +2612,17 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.9", ngImpor
|
|
|
2602
2612
|
}] } });
|
|
2603
2613
|
|
|
2604
2614
|
const COMPONENT$k = [AXAvatarComponent, AXAvatarGroup];
|
|
2605
|
-
const MODULES$
|
|
2615
|
+
const MODULES$l = [CommonModule];
|
|
2606
2616
|
class AXAvatarModule {
|
|
2607
2617
|
}
|
|
2608
2618
|
AXAvatarModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXAvatarModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
2609
2619
|
AXAvatarModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXAvatarModule, declarations: [AXAvatarComponent, AXAvatarGroup], imports: [CommonModule], exports: [AXAvatarComponent, AXAvatarGroup] });
|
|
2610
|
-
AXAvatarModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXAvatarModule, providers: [], imports: [[...MODULES$
|
|
2620
|
+
AXAvatarModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXAvatarModule, providers: [], imports: [[...MODULES$l]] });
|
|
2611
2621
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXAvatarModule, decorators: [{
|
|
2612
2622
|
type: NgModule,
|
|
2613
2623
|
args: [{
|
|
2614
2624
|
declarations: [...COMPONENT$k],
|
|
2615
|
-
imports: [...MODULES$
|
|
2625
|
+
imports: [...MODULES$l],
|
|
2616
2626
|
exports: [...COMPONENT$k],
|
|
2617
2627
|
providers: [],
|
|
2618
2628
|
}]
|
|
@@ -2643,17 +2653,17 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.9", ngImpor
|
|
|
2643
2653
|
}] } });
|
|
2644
2654
|
|
|
2645
2655
|
const COMPONENT$j = [AXBadgeComponent];
|
|
2646
|
-
const MODULES$
|
|
2656
|
+
const MODULES$k = [CommonModule];
|
|
2647
2657
|
class AXBadgeModule {
|
|
2648
2658
|
}
|
|
2649
2659
|
AXBadgeModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXBadgeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
2650
2660
|
AXBadgeModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXBadgeModule, declarations: [AXBadgeComponent], imports: [CommonModule], exports: [AXBadgeComponent] });
|
|
2651
|
-
AXBadgeModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXBadgeModule, providers: [], imports: [[...MODULES$
|
|
2661
|
+
AXBadgeModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXBadgeModule, providers: [], imports: [[...MODULES$k]] });
|
|
2652
2662
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXBadgeModule, decorators: [{
|
|
2653
2663
|
type: NgModule,
|
|
2654
2664
|
args: [{
|
|
2655
2665
|
declarations: [...COMPONENT$j],
|
|
2656
|
-
imports: [...MODULES$
|
|
2666
|
+
imports: [...MODULES$k],
|
|
2657
2667
|
exports: [...COMPONENT$j],
|
|
2658
2668
|
providers: [],
|
|
2659
2669
|
}]
|
|
@@ -4094,17 +4104,17 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.9", ngImpor
|
|
|
4094
4104
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: AXCarouselComponent }]; } });
|
|
4095
4105
|
|
|
4096
4106
|
const COMPONENT$i = [AXCarouselComponent, AXCarouselItemComponent, AXCarouselArrowsComponent, AXCarouselPagerComponent];
|
|
4097
|
-
const MODULES$
|
|
4107
|
+
const MODULES$j = [CommonModule];
|
|
4098
4108
|
class AXCarouselModule {
|
|
4099
4109
|
}
|
|
4100
4110
|
AXCarouselModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXCarouselModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
4101
4111
|
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] });
|
|
4102
|
-
AXCarouselModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXCarouselModule, providers: [], imports: [[...MODULES$
|
|
4112
|
+
AXCarouselModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXCarouselModule, providers: [], imports: [[...MODULES$j]] });
|
|
4103
4113
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXCarouselModule, decorators: [{
|
|
4104
4114
|
type: NgModule,
|
|
4105
4115
|
args: [{
|
|
4106
4116
|
declarations: [...COMPONENT$i],
|
|
4107
|
-
imports: [...MODULES$
|
|
4117
|
+
imports: [...MODULES$j],
|
|
4108
4118
|
exports: [...COMPONENT$i],
|
|
4109
4119
|
providers: [],
|
|
4110
4120
|
}]
|
|
@@ -4126,17 +4136,17 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.9", ngImpor
|
|
|
4126
4136
|
}] });
|
|
4127
4137
|
|
|
4128
4138
|
const COMPONENT$h = [AXCalendarComponent];
|
|
4129
|
-
const MODULES$
|
|
4139
|
+
const MODULES$i = [CommonModule, AXButtonModule, AXDecoratorModule, AXDateTimeModule, AXPickerModule];
|
|
4130
4140
|
class AXCalendarModule {
|
|
4131
4141
|
}
|
|
4132
4142
|
AXCalendarModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXCalendarModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
4133
4143
|
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] });
|
|
4134
|
-
AXCalendarModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXCalendarModule, providers: [], imports: [[...MODULES$
|
|
4144
|
+
AXCalendarModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXCalendarModule, providers: [], imports: [[...MODULES$i]] });
|
|
4135
4145
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXCalendarModule, decorators: [{
|
|
4136
4146
|
type: NgModule,
|
|
4137
4147
|
args: [{
|
|
4138
4148
|
declarations: [...COMPONENT$h],
|
|
4139
|
-
imports: [...MODULES$
|
|
4149
|
+
imports: [...MODULES$i],
|
|
4140
4150
|
exports: [...COMPONENT$h],
|
|
4141
4151
|
providers: [],
|
|
4142
4152
|
}]
|
|
@@ -4192,164 +4202,926 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.9", ngImpor
|
|
|
4192
4202
|
}]
|
|
4193
4203
|
}] });
|
|
4194
4204
|
|
|
4195
|
-
class
|
|
4196
|
-
|
|
4197
|
-
|
|
4198
|
-
|
|
4199
|
-
|
|
4200
|
-
|
|
4201
|
-
|
|
4202
|
-
|
|
4203
|
-
|
|
4204
|
-
|
|
4205
|
-
|
|
4206
|
-
|
|
4207
|
-
|
|
4208
|
-
this.
|
|
4209
|
-
this.
|
|
4210
|
-
|
|
4211
|
-
|
|
4212
|
-
|
|
4213
|
-
|
|
4214
|
-
this.isCollapsed = !this.isCollapsed;
|
|
4205
|
+
class AXColorComponent {
|
|
4206
|
+
}
|
|
4207
|
+
AXColorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXColorComponent, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4208
|
+
AXColorComponent.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXColorComponent });
|
|
4209
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXColorComponent, decorators: [{
|
|
4210
|
+
type: Injectable
|
|
4211
|
+
}] });
|
|
4212
|
+
|
|
4213
|
+
class AXColorPalettePreviewComponent extends AXBaseComponent {
|
|
4214
|
+
constructor(_elementRef, _cdr, _parent) {
|
|
4215
|
+
super(_elementRef, _cdr);
|
|
4216
|
+
this._parent = _parent;
|
|
4217
|
+
_parent?._onInternalColorChanged$.subscribe(e => {
|
|
4218
|
+
this._colorCode = AXColorUtil.to(e.color, e.mode);
|
|
4219
|
+
this._getHostElement().style.backgroundColor = e.color;
|
|
4220
|
+
const color = AXColorUtil.toHex(e.color);
|
|
4221
|
+
const ratio = AXColorUtil.contrastToWhite(color);
|
|
4222
|
+
this._getHostElement().style.color = !(ratio > 2.0) ? '#000' : '#fff';
|
|
4223
|
+
});
|
|
4215
4224
|
}
|
|
4225
|
+
ngOnInit() { }
|
|
4216
4226
|
}
|
|
4217
|
-
|
|
4218
|
-
|
|
4219
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type:
|
|
4227
|
+
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 });
|
|
4228
|
+
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 });
|
|
4229
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXColorPalettePreviewComponent, decorators: [{
|
|
4220
4230
|
type: Component,
|
|
4221
|
-
args: [{
|
|
4222
|
-
|
|
4223
|
-
|
|
4224
|
-
|
|
4225
|
-
|
|
4226
|
-
|
|
4227
|
-
|
|
4228
|
-
|
|
4229
|
-
|
|
4230
|
-
|
|
4231
|
-
|
|
4231
|
+
args: [{
|
|
4232
|
+
selector: 'ax-color-palette-preview',
|
|
4233
|
+
template: `{{_colorCode}}`,
|
|
4234
|
+
encapsulation: ViewEncapsulation.None
|
|
4235
|
+
}]
|
|
4236
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: AXColorComponent, decorators: [{
|
|
4237
|
+
type: Optional
|
|
4238
|
+
}, {
|
|
4239
|
+
type: Inject,
|
|
4240
|
+
args: [AXColorComponent]
|
|
4241
|
+
}] }]; } });
|
|
4232
4242
|
|
|
4233
|
-
class
|
|
4234
|
-
constructor(
|
|
4235
|
-
super(
|
|
4236
|
-
this.
|
|
4237
|
-
this.
|
|
4238
|
-
this.
|
|
4239
|
-
|
|
4240
|
-
|
|
4241
|
-
|
|
4242
|
-
|
|
4243
|
-
|
|
4244
|
-
|
|
4245
|
-
|
|
4246
|
-
|
|
4247
|
-
|
|
4248
|
-
|
|
4249
|
-
|
|
4250
|
-
|
|
4251
|
-
}
|
|
4243
|
+
class AXColorPaletteSwatchesComponent extends AXBaseComponent {
|
|
4244
|
+
constructor(_elementRef, _cdr, _parent) {
|
|
4245
|
+
super(_elementRef, _cdr);
|
|
4246
|
+
this._parent = _parent;
|
|
4247
|
+
this.colors = [];
|
|
4248
|
+
this._defaultPalette = [
|
|
4249
|
+
{ code: '#000000' },
|
|
4250
|
+
{ code: '#ffffff' },
|
|
4251
|
+
// Amber
|
|
4252
|
+
{ code: '#fff8e1' },
|
|
4253
|
+
{ code: '#ffecb3' },
|
|
4254
|
+
{ code: '#ffe082' },
|
|
4255
|
+
{ code: '#ffd54f' },
|
|
4256
|
+
{ code: '#ffca28' },
|
|
4257
|
+
{ code: '#ffc107' },
|
|
4258
|
+
{ code: '#ffb300' },
|
|
4259
|
+
{ code: '#ffa000' },
|
|
4260
|
+
{ code: '#ff8f00' },
|
|
4261
|
+
{ code: '#ff6f00' },
|
|
4262
|
+
// Blue Grey
|
|
4263
|
+
{ code: '#ECEFF1' },
|
|
4264
|
+
{ code: '#CFD8DC' },
|
|
4265
|
+
{ code: '#B0BEC5' },
|
|
4266
|
+
{ code: '#90A4AE' },
|
|
4267
|
+
{ code: '#78909C' },
|
|
4268
|
+
{ code: '#607D8B' },
|
|
4269
|
+
{ code: '#546E7A' },
|
|
4270
|
+
{ code: '#455A64' },
|
|
4271
|
+
{ code: '#37474F' },
|
|
4272
|
+
{ code: '#263238' },
|
|
4273
|
+
// Blue
|
|
4274
|
+
{ code: '#E3F2FD' },
|
|
4275
|
+
{ code: '#BBDEFB' },
|
|
4276
|
+
{ code: '#90CAF9' },
|
|
4277
|
+
{ code: '#64B5F6' },
|
|
4278
|
+
{ code: '#42A5F5' },
|
|
4279
|
+
{ code: '#2196F3' },
|
|
4280
|
+
{ code: '#1E88E5' },
|
|
4281
|
+
{ code: '#1976D2' },
|
|
4282
|
+
{ code: '#1565C0' },
|
|
4283
|
+
{ code: '#0D47A1' },
|
|
4284
|
+
// Brown
|
|
4285
|
+
{ code: '#EFEBE9' },
|
|
4286
|
+
{ code: '#D7CCC8' },
|
|
4287
|
+
{ code: '#BCAAA4' },
|
|
4288
|
+
{ code: '#A1887F' },
|
|
4289
|
+
{ code: '#8D6E63' },
|
|
4290
|
+
{ code: '#795548' },
|
|
4291
|
+
{ code: '#6D4C41' },
|
|
4292
|
+
{ code: '#5D4037' },
|
|
4293
|
+
{ code: '#4E342E' },
|
|
4294
|
+
{ code: '#3E2723' },
|
|
4295
|
+
// Cyan
|
|
4296
|
+
{ code: '#E0F7FA' },
|
|
4297
|
+
{ code: '#B2EBF2' },
|
|
4298
|
+
{ code: '#80DEEA' },
|
|
4299
|
+
{ code: '#4DD0E1' },
|
|
4300
|
+
{ code: '#26C6DA' },
|
|
4301
|
+
{ code: '#00BCD4' },
|
|
4302
|
+
{ code: '#00ACC1' },
|
|
4303
|
+
{ code: '#0097A7' },
|
|
4304
|
+
{ code: '#00838F' },
|
|
4305
|
+
{ code: '#006064' },
|
|
4306
|
+
// Deep Orange
|
|
4307
|
+
{ code: '#FBE9E7' },
|
|
4308
|
+
{ code: '#FFCCBC' },
|
|
4309
|
+
{ code: '#FFAB91' },
|
|
4310
|
+
{ code: '#FF8A65' },
|
|
4311
|
+
{ code: '#FF7043' },
|
|
4312
|
+
{ code: '#FF5722' },
|
|
4313
|
+
{ code: '#F4511E' },
|
|
4314
|
+
{ code: '#E64A19' },
|
|
4315
|
+
{ code: '#D84315' },
|
|
4316
|
+
{ code: '#BF360C' },
|
|
4317
|
+
// Deep Purple
|
|
4318
|
+
{ code: '#EDE7F6' },
|
|
4319
|
+
{ code: '#D1C4E9' },
|
|
4320
|
+
{ code: '#B39DDB' },
|
|
4321
|
+
{ code: '#9575CD' },
|
|
4322
|
+
{ code: '#7E57C2' },
|
|
4323
|
+
{ code: '#673AB7' },
|
|
4324
|
+
{ code: '#5E35B1' },
|
|
4325
|
+
{ code: '#512DA8' },
|
|
4326
|
+
{ code: '#4527A0' },
|
|
4327
|
+
{ code: '#311B92' },
|
|
4328
|
+
// Green
|
|
4329
|
+
{ code: '#E8F5E9' },
|
|
4330
|
+
{ code: '#C8E6C9' },
|
|
4331
|
+
{ code: '#A5D6A7' },
|
|
4332
|
+
{ code: '#81C784' },
|
|
4333
|
+
{ code: '#66BB6A' },
|
|
4334
|
+
{ code: '#4CAF50' },
|
|
4335
|
+
{ code: '#43A047' },
|
|
4336
|
+
{ code: '#388E3C' },
|
|
4337
|
+
{ code: '#2E7D32' },
|
|
4338
|
+
{ code: '#1B5E20' },
|
|
4339
|
+
// Grey
|
|
4340
|
+
{ code: '#FAFAFA' },
|
|
4341
|
+
{ code: '#F5F5F5' },
|
|
4342
|
+
{ code: '#EEEEEE' },
|
|
4343
|
+
{ code: '#E0E0E0' },
|
|
4344
|
+
{ code: '#BDBDBD' },
|
|
4345
|
+
{ code: '#9E9E9E' },
|
|
4346
|
+
{ code: '#757575' },
|
|
4347
|
+
{ code: '#616161' },
|
|
4348
|
+
{ code: '#424242' },
|
|
4349
|
+
{ code: '#212121' },
|
|
4350
|
+
// Indigo
|
|
4351
|
+
{ code: '#E8EAF6' },
|
|
4352
|
+
{ code: '#C5CAE9' },
|
|
4353
|
+
{ code: '#9FA8DA' },
|
|
4354
|
+
{ code: '#7986CB' },
|
|
4355
|
+
{ code: '#5C6BC0' },
|
|
4356
|
+
{ code: '#3F51B5' },
|
|
4357
|
+
{ code: '#3949AB' },
|
|
4358
|
+
{ code: '#303F9F' },
|
|
4359
|
+
{ code: '#283593' },
|
|
4360
|
+
{ code: '#1A237E' },
|
|
4361
|
+
// Light Blue
|
|
4362
|
+
{ code: '#E1F5FE' },
|
|
4363
|
+
{ code: '#B3E5FC' },
|
|
4364
|
+
{ code: '#81D4FA' },
|
|
4365
|
+
{ code: '#4FC3F7' },
|
|
4366
|
+
{ code: '#29B6F6' },
|
|
4367
|
+
{ code: '#03A9F4' },
|
|
4368
|
+
{ code: '#039BE5' },
|
|
4369
|
+
{ code: '#0288D1' },
|
|
4370
|
+
{ code: '#0277BD' },
|
|
4371
|
+
{ code: '#01579B' },
|
|
4372
|
+
// Light Green
|
|
4373
|
+
{ code: '#F1F8E9' },
|
|
4374
|
+
{ code: '#DCEDC8' },
|
|
4375
|
+
{ code: '#C5E1A5' },
|
|
4376
|
+
{ code: '#AED581' },
|
|
4377
|
+
{ code: '#9CCC65' },
|
|
4378
|
+
{ code: '#8BC34A' },
|
|
4379
|
+
{ code: '#7CB342' },
|
|
4380
|
+
{ code: '#689F38' },
|
|
4381
|
+
{ code: '#558B2F' },
|
|
4382
|
+
{ code: '#33691E' },
|
|
4383
|
+
// Lime
|
|
4384
|
+
{ code: '#F9FBE7' },
|
|
4385
|
+
{ code: '#F0F4C3' },
|
|
4386
|
+
{ code: '#E6EE9C' },
|
|
4387
|
+
{ code: '#DCE775' },
|
|
4388
|
+
{ code: '#D4E157' },
|
|
4389
|
+
{ code: '#CDDC39' },
|
|
4390
|
+
{ code: '#C0CA33' },
|
|
4391
|
+
{ code: '#AFB42B' },
|
|
4392
|
+
{ code: '#9E9D24' },
|
|
4393
|
+
{ code: '#827717' },
|
|
4394
|
+
// Orange
|
|
4395
|
+
{ code: '#FFF3E0' },
|
|
4396
|
+
{ code: '#FFE0B2' },
|
|
4397
|
+
{ code: '#FFCC80' },
|
|
4398
|
+
{ code: '#FFB74D' },
|
|
4399
|
+
{ code: '#FFA726' },
|
|
4400
|
+
{ code: '#FF9800' },
|
|
4401
|
+
{ code: '#FB8C00' },
|
|
4402
|
+
{ code: '#F57C00' },
|
|
4403
|
+
{ code: '#EF6C00' },
|
|
4404
|
+
{ code: '#E65100' },
|
|
4405
|
+
// Pink
|
|
4406
|
+
{ code: '#FCE4EC' },
|
|
4407
|
+
{ code: '#F8BBD0' },
|
|
4408
|
+
{ code: '#F48FB1' },
|
|
4409
|
+
{ code: '#F06292' },
|
|
4410
|
+
{ code: '#EC407A' },
|
|
4411
|
+
{ code: '#E91E63' },
|
|
4412
|
+
{ code: '#D81B60' },
|
|
4413
|
+
{ code: '#C2185B' },
|
|
4414
|
+
{ code: '#AD1457' },
|
|
4415
|
+
{ code: '#880E4F' },
|
|
4416
|
+
// Purple
|
|
4417
|
+
{ code: '#F3E5F5' },
|
|
4418
|
+
{ code: '#E1BEE7' },
|
|
4419
|
+
{ code: '#CE93D8' },
|
|
4420
|
+
{ code: '#BA68C8' },
|
|
4421
|
+
{ code: '#AB47BC' },
|
|
4422
|
+
{ code: '#9C27B0' },
|
|
4423
|
+
{ code: '#8E24AA' },
|
|
4424
|
+
{ code: '#7B1FA2' },
|
|
4425
|
+
{ code: '#6A1B9A' },
|
|
4426
|
+
{ code: '#4A148C' },
|
|
4427
|
+
// Red
|
|
4428
|
+
{ code: '#FFEBEE' },
|
|
4429
|
+
{ code: '#FFCDD2' },
|
|
4430
|
+
{ code: '#EF9A9A' },
|
|
4431
|
+
{ code: '#E57373' },
|
|
4432
|
+
{ code: '#EF5350' },
|
|
4433
|
+
{ code: '#F44336' },
|
|
4434
|
+
{ code: '#E53935' },
|
|
4435
|
+
{ code: '#D32F2F' },
|
|
4436
|
+
{ code: '#C62828' },
|
|
4437
|
+
{ code: '#B71C1C' },
|
|
4438
|
+
// Teal
|
|
4439
|
+
{ code: '#E0F2F1' },
|
|
4440
|
+
{ code: '#B2DFDB' },
|
|
4441
|
+
{ code: '#80CBC4' },
|
|
4442
|
+
{ code: '#4DB6AC' },
|
|
4443
|
+
{ code: '#26A69A' },
|
|
4444
|
+
{ code: '#009688' },
|
|
4445
|
+
{ code: '#00897B' },
|
|
4446
|
+
{ code: '#00796B' },
|
|
4447
|
+
{ code: '#00695C' },
|
|
4448
|
+
{ code: '#004D40' },
|
|
4449
|
+
// Yellow
|
|
4450
|
+
{ code: '#FFFDE7' },
|
|
4451
|
+
{ code: '#FFF9C4' },
|
|
4452
|
+
{ code: '#FFF59D' },
|
|
4453
|
+
{ code: '#FFF176' },
|
|
4454
|
+
{ code: '#FFEE58' },
|
|
4455
|
+
{ code: '#FFEB3B' },
|
|
4456
|
+
{ code: '#FDD835' },
|
|
4457
|
+
{ code: '#FBC02D' },
|
|
4458
|
+
{ code: '#F9A825' },
|
|
4459
|
+
{ code: '#F57F17' },
|
|
4460
|
+
];
|
|
4461
|
+
_parent?._onInternalColorChanged$.subscribe(e => {
|
|
4462
|
+
this._selected = AXColorUtil.toHex(e.color);
|
|
4463
|
+
});
|
|
4464
|
+
if (this._getHostElement().tagName.toLocaleLowerCase() != 'ax-color-palette-favorite') {
|
|
4465
|
+
this.colors = this._defaultPalette;
|
|
4252
4466
|
}
|
|
4253
4467
|
}
|
|
4254
|
-
|
|
4255
|
-
this.
|
|
4256
|
-
this.
|
|
4468
|
+
_handleClick(e, color) {
|
|
4469
|
+
this._selected = color.code;
|
|
4470
|
+
this._parent._onInternalColorChanged$.next({ color: color.code, mode: this._parent.mode });
|
|
4257
4471
|
}
|
|
4258
4472
|
}
|
|
4259
|
-
|
|
4260
|
-
|
|
4261
|
-
|
|
4473
|
+
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 });
|
|
4474
|
+
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">
|
|
4475
|
+
<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)" >
|
|
4476
|
+
</div>
|
|
4477
|
+
</div>`, isInline: true, directives: [{ type: i1$1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }], encapsulation: i0.ViewEncapsulation.None });
|
|
4478
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXColorPaletteSwatchesComponent, decorators: [{
|
|
4262
4479
|
type: Component,
|
|
4263
4480
|
args: [{
|
|
4264
|
-
selector: 'ax-
|
|
4265
|
-
template: `<
|
|
4266
|
-
|
|
4267
|
-
|
|
4268
|
-
|
|
4481
|
+
selector: 'ax-color-palette-swatches, ax-color-palette-favorite',
|
|
4482
|
+
template: `<div class="palette-items">
|
|
4483
|
+
<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)" >
|
|
4484
|
+
</div>
|
|
4485
|
+
</div>`,
|
|
4486
|
+
encapsulation: ViewEncapsulation.None
|
|
4269
4487
|
}]
|
|
4270
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }
|
|
4271
|
-
|
|
4272
|
-
|
|
4488
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: AXColorComponent, decorators: [{
|
|
4489
|
+
type: Optional
|
|
4490
|
+
}, {
|
|
4491
|
+
type: Inject,
|
|
4492
|
+
args: [AXColorComponent]
|
|
4493
|
+
}] }]; }, propDecorators: { colors: [{
|
|
4273
4494
|
type: Input
|
|
4274
|
-
}], _items: [{
|
|
4275
|
-
type: ContentChildren,
|
|
4276
|
-
args: [AXCollapseComponent]
|
|
4277
4495
|
}] } });
|
|
4278
4496
|
|
|
4279
|
-
|
|
4497
|
+
/**
|
|
4498
|
+
* The Textbox is a component which detects user interaction and triggers a corresponding event
|
|
4499
|
+
*
|
|
4500
|
+
* @category Components
|
|
4501
|
+
*/
|
|
4502
|
+
class AXTextBoxComponent extends AXBaseTextBoxMixin {
|
|
4503
|
+
/**
|
|
4504
|
+
* @ignore
|
|
4505
|
+
*/
|
|
4506
|
+
constructor(elementRef, cdr) {
|
|
4507
|
+
super(elementRef, cdr);
|
|
4508
|
+
}
|
|
4280
4509
|
}
|
|
4281
|
-
|
|
4282
|
-
|
|
4283
|
-
|
|
4284
|
-
|
|
4285
|
-
|
|
4286
|
-
|
|
4287
|
-
declarations: [AXCollapseComponent, AXCollapseGroupComponent],
|
|
4288
|
-
imports: [CommonModule],
|
|
4289
|
-
exports: [AXCollapseComponent, AXCollapseGroupComponent],
|
|
4290
|
-
providers: [],
|
|
4291
|
-
}]
|
|
4292
|
-
}] });
|
|
4510
|
+
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 });
|
|
4511
|
+
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 });
|
|
4512
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXTextBoxComponent, decorators: [{
|
|
4513
|
+
type: Component,
|
|
4514
|
+
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>" }]
|
|
4515
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; } });
|
|
4293
4516
|
|
|
4294
|
-
|
|
4295
|
-
|
|
4296
|
-
|
|
4297
|
-
|
|
4298
|
-
|
|
4299
|
-
|
|
4300
|
-
|
|
4301
|
-
|
|
4302
|
-
|
|
4303
|
-
|
|
4304
|
-
|
|
4305
|
-
|
|
4306
|
-
|
|
4307
|
-
|
|
4308
|
-
|
|
4309
|
-
|
|
4310
|
-
|
|
4311
|
-
|
|
4312
|
-
|
|
4313
|
-
|
|
4314
|
-
|
|
4315
|
-
|
|
4316
|
-
|
|
4317
|
-
|
|
4318
|
-
|
|
4319
|
-
this.
|
|
4320
|
-
|
|
4321
|
-
this.
|
|
4322
|
-
//
|
|
4323
|
-
this.hasBackdrop = false;
|
|
4324
|
-
this.adaptivityEnabled = false;
|
|
4325
|
-
//
|
|
4326
|
-
this._mousePos = { x: 0, y: 0 };
|
|
4327
|
-
this._isScrollAttached = false;
|
|
4328
|
-
//
|
|
4329
|
-
this.onOpened = new EventEmitter();
|
|
4330
|
-
this.onClosed = new EventEmitter();
|
|
4331
|
-
}
|
|
4332
|
-
get target() {
|
|
4333
|
-
return this._target;
|
|
4517
|
+
/**
|
|
4518
|
+
* The NumberBox is a component which detects user interaction and triggers a corresponding event
|
|
4519
|
+
*
|
|
4520
|
+
* @category Components
|
|
4521
|
+
*/
|
|
4522
|
+
class AXNumberBoxComponent extends AXBaseTextBoxMixin {
|
|
4523
|
+
/**
|
|
4524
|
+
* @ignore
|
|
4525
|
+
*/
|
|
4526
|
+
constructor(elementRef, cdr) {
|
|
4527
|
+
super(elementRef, cdr);
|
|
4528
|
+
this.cdr = cdr;
|
|
4529
|
+
this._padDecimalZeros = false;
|
|
4530
|
+
/**
|
|
4531
|
+
* Specifies the value that is used to increment or decrement the **Integer** part of number
|
|
4532
|
+
*/
|
|
4533
|
+
this.step = 1;
|
|
4534
|
+
this._decimals = 0;
|
|
4535
|
+
/**
|
|
4536
|
+
* Specifies the value that is used to increment or decrement the **Deciaml** part of number
|
|
4537
|
+
*/
|
|
4538
|
+
this.decimalStep = 'auto';
|
|
4539
|
+
/**
|
|
4540
|
+
* Specifies whether the Up and Down spin buttons will be rendered or not
|
|
4541
|
+
*/
|
|
4542
|
+
this.showSpinButtons = true;
|
|
4543
|
+
this._minValue = Number.MIN_SAFE_INTEGER;
|
|
4544
|
+
this._maxValue = Number.MAX_SAFE_INTEGER;
|
|
4334
4545
|
}
|
|
4335
|
-
|
|
4336
|
-
|
|
4337
|
-
|
|
4338
|
-
|
|
4339
|
-
|
|
4340
|
-
else if (v instanceof AXBaseComponent)
|
|
4341
|
-
this._target = v._getInnerElement();
|
|
4546
|
+
/**
|
|
4547
|
+
* A character value that specifies the separator character.
|
|
4548
|
+
*/
|
|
4549
|
+
get thousandsSeparator() {
|
|
4550
|
+
return this._thousandsSeparator;
|
|
4342
4551
|
}
|
|
4343
|
-
|
|
4344
|
-
this.
|
|
4345
|
-
|
|
4346
|
-
|
|
4552
|
+
set thousandsSeparator(v) {
|
|
4553
|
+
this._setOption({
|
|
4554
|
+
name: "thousandsSeparator",
|
|
4555
|
+
value: v ?? '',
|
|
4347
4556
|
});
|
|
4348
4557
|
}
|
|
4349
|
-
|
|
4350
|
-
|
|
4351
|
-
|
|
4352
|
-
|
|
4558
|
+
/**
|
|
4559
|
+
* A character value that specifies the separator character.
|
|
4560
|
+
*/
|
|
4561
|
+
get padDecimalZeros() {
|
|
4562
|
+
return this._padDecimalZeros;
|
|
4563
|
+
}
|
|
4564
|
+
set padDecimalZeros(v) {
|
|
4565
|
+
this._setOption({
|
|
4566
|
+
name: "padDecimalZeros",
|
|
4567
|
+
value: v,
|
|
4568
|
+
});
|
|
4569
|
+
}
|
|
4570
|
+
/**
|
|
4571
|
+
* Specifies the number of decimals that the user can enter
|
|
4572
|
+
*/
|
|
4573
|
+
get decimals() {
|
|
4574
|
+
return this._decimals;
|
|
4575
|
+
}
|
|
4576
|
+
set decimals(v) {
|
|
4577
|
+
this._setOption({
|
|
4578
|
+
name: "decimals",
|
|
4579
|
+
value: v ?? 0,
|
|
4580
|
+
});
|
|
4581
|
+
}
|
|
4582
|
+
/**
|
|
4583
|
+
* Specifies the smallest value that is valid
|
|
4584
|
+
*/
|
|
4585
|
+
get minValue() {
|
|
4586
|
+
return this._minValue;
|
|
4587
|
+
}
|
|
4588
|
+
set minValue(v) {
|
|
4589
|
+
this._setOption({
|
|
4590
|
+
name: "minValue",
|
|
4591
|
+
value: v != null ? Number(v) : Number.MIN_SAFE_INTEGER,
|
|
4592
|
+
});
|
|
4593
|
+
}
|
|
4594
|
+
/**
|
|
4595
|
+
* Specifies the greatest value that is valid
|
|
4596
|
+
*/
|
|
4597
|
+
get maxValue() {
|
|
4598
|
+
return this._maxValue;
|
|
4599
|
+
}
|
|
4600
|
+
set maxValue(v) {
|
|
4601
|
+
this._setOption({
|
|
4602
|
+
name: "maxValue",
|
|
4603
|
+
value: v != null ? Number(v) : Number.MAX_SAFE_INTEGER,
|
|
4604
|
+
});
|
|
4605
|
+
}
|
|
4606
|
+
onViewInit() {
|
|
4607
|
+
super.onViewInit();
|
|
4608
|
+
this._updateMask();
|
|
4609
|
+
}
|
|
4610
|
+
_onOptionChanged(option) {
|
|
4611
|
+
super._onOptionChanged(option);
|
|
4612
|
+
this._updateMask();
|
|
4613
|
+
}
|
|
4614
|
+
_updateMask() {
|
|
4615
|
+
if (!this._maskObj) {
|
|
4616
|
+
this._maskObj = IMask.createMask({
|
|
4617
|
+
mask: Number,
|
|
4618
|
+
min: this.minValue,
|
|
4619
|
+
max: this.maxValue,
|
|
4620
|
+
thousandsSeparator: this.thousandsSeparator || '',
|
|
4621
|
+
scale: this.decimals,
|
|
4622
|
+
radix: '.',
|
|
4623
|
+
padFractionalZeros: this.decimals > 0 && this.padDecimalZeros
|
|
4624
|
+
});
|
|
4625
|
+
}
|
|
4626
|
+
else {
|
|
4627
|
+
this._maskObj.updateOptions({
|
|
4628
|
+
min: this.minValue,
|
|
4629
|
+
max: this.maxValue,
|
|
4630
|
+
thousandsSeparator: this.thousandsSeparator || '',
|
|
4631
|
+
scale: this.decimals,
|
|
4632
|
+
radix: '.',
|
|
4633
|
+
padFractionalZeros: this.decimals > 0 && this.padDecimalZeros
|
|
4634
|
+
});
|
|
4635
|
+
}
|
|
4636
|
+
this._maskDirective?.maskRef?.updateValue();
|
|
4637
|
+
this._maskDirective?.maskRef?.updateControl();
|
|
4638
|
+
}
|
|
4639
|
+
_handleOnKeydownEvent(e) {
|
|
4640
|
+
const ignore = () => {
|
|
4641
|
+
e.preventDefault();
|
|
4642
|
+
e.stopPropagation();
|
|
4643
|
+
};
|
|
4644
|
+
const input = e.target;
|
|
4645
|
+
const valStr = input.value;
|
|
4646
|
+
const decimalPointIndex = valStr.indexOf('.');
|
|
4647
|
+
const _cursorPos = input.selectionStart;
|
|
4648
|
+
if (e.key === 'ArrowUp' || e.key === 'ArrowDown') {
|
|
4649
|
+
if (decimalPointIndex > 0 && _cursorPos > decimalPointIndex && this.decimals > 0) {
|
|
4650
|
+
e.key === 'ArrowDown' ? this.decimalStepDown() : this.decimalStepUp();
|
|
4651
|
+
}
|
|
4652
|
+
else {
|
|
4653
|
+
e.key === 'ArrowDown' ? this.stepDown() : this.stepUp();
|
|
4654
|
+
}
|
|
4655
|
+
ignore();
|
|
4656
|
+
setTimeout(() => {
|
|
4657
|
+
input.setSelectionRange(_cursorPos, _cursorPos);
|
|
4658
|
+
}, 5);
|
|
4659
|
+
}
|
|
4660
|
+
super._emitOnKeydownEvent(e);
|
|
4661
|
+
}
|
|
4662
|
+
_handleUpDownClick(e, v) {
|
|
4663
|
+
v == 1 ? this.stepUp() : this.stepDown();
|
|
4664
|
+
}
|
|
4665
|
+
_onValueChanging(value) {
|
|
4666
|
+
const v = _.toNumber(value);
|
|
4667
|
+
if (v < this.minValue)
|
|
4668
|
+
return this.minValue;
|
|
4669
|
+
if (v > this.maxValue)
|
|
4670
|
+
return this.maxValue;
|
|
4671
|
+
return v;
|
|
4672
|
+
}
|
|
4673
|
+
stepUp() {
|
|
4674
|
+
this.value += _.toNumber(this.step);
|
|
4675
|
+
}
|
|
4676
|
+
stepDown() {
|
|
4677
|
+
this.value -= _.toNumber(this.step);
|
|
4678
|
+
}
|
|
4679
|
+
decimalStepUp() {
|
|
4680
|
+
this.value += _.toNumber(this.decimalStep == 'auto' ? (1 / Math.pow(10, this.decimals)) : this.decimalStep);
|
|
4681
|
+
}
|
|
4682
|
+
decimalStepDown() {
|
|
4683
|
+
this.value -= _.toNumber(this.decimalStep == 'auto' ? (1 / Math.pow(10, this.decimals)) : this.decimalStep);
|
|
4684
|
+
}
|
|
4685
|
+
}
|
|
4686
|
+
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 });
|
|
4687
|
+
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 });
|
|
4688
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXNumberBoxComponent, decorators: [{
|
|
4689
|
+
type: Component,
|
|
4690
|
+
args: [{ selector: 'ax-number-box', inputs: [
|
|
4691
|
+
'disabled',
|
|
4692
|
+
'readonly',
|
|
4693
|
+
'tabIndex',
|
|
4694
|
+
'size',
|
|
4695
|
+
'value',
|
|
4696
|
+
...TEXTBOX_INPUTS,
|
|
4697
|
+
], outputs: [
|
|
4698
|
+
'valueChange',
|
|
4699
|
+
'onValueChanged',
|
|
4700
|
+
'onBlur',
|
|
4701
|
+
'onFocus',
|
|
4702
|
+
...TEXTBOX_OUTPUT,
|
|
4703
|
+
], 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>" }]
|
|
4704
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { thousandsSeparator: [{
|
|
4705
|
+
type: Input
|
|
4706
|
+
}], padDecimalZeros: [{
|
|
4707
|
+
type: Input
|
|
4708
|
+
}], step: [{
|
|
4709
|
+
type: Input
|
|
4710
|
+
}], decimals: [{
|
|
4711
|
+
type: Input
|
|
4712
|
+
}], decimalStep: [{
|
|
4713
|
+
type: Input
|
|
4714
|
+
}], showSpinButtons: [{
|
|
4715
|
+
type: Input
|
|
4716
|
+
}], minValue: [{
|
|
4717
|
+
type: Input
|
|
4718
|
+
}], maxValue: [{
|
|
4719
|
+
type: Input
|
|
4720
|
+
}], _maskDirective: [{
|
|
4721
|
+
type: ViewChild,
|
|
4722
|
+
args: [IMaskDirective]
|
|
4723
|
+
}] } });
|
|
4724
|
+
|
|
4725
|
+
class AXColorPaletteInputComponent extends AXBaseComponent {
|
|
4726
|
+
constructor(_elementRef, _cdr, _parent) {
|
|
4727
|
+
super(_elementRef, _cdr);
|
|
4728
|
+
this._parent = _parent;
|
|
4729
|
+
this._rgba = {
|
|
4730
|
+
r: 255,
|
|
4731
|
+
g: 255,
|
|
4732
|
+
b: 255,
|
|
4733
|
+
a: 0
|
|
4734
|
+
};
|
|
4735
|
+
this._hex = "#000000";
|
|
4736
|
+
_parent?._onInternalColorChanged$.subscribe(e => {
|
|
4737
|
+
if (this._hex != AXColorUtil.toHex(e.color)) {
|
|
4738
|
+
this._hex = AXColorUtil.toHex(e.color);
|
|
4739
|
+
Object.assign(this._rgba, AXColorUtil.toRGB(e.color));
|
|
4740
|
+
}
|
|
4741
|
+
});
|
|
4742
|
+
}
|
|
4743
|
+
_handleChangeInputMode(e) {
|
|
4744
|
+
// switch (this.inputMode) {
|
|
4745
|
+
// case 'rgba':
|
|
4746
|
+
// this.inputMode = 'hsla'
|
|
4747
|
+
// break;
|
|
4748
|
+
// case 'hsla':
|
|
4749
|
+
// this.inputMode = 'hwba'
|
|
4750
|
+
// break;
|
|
4751
|
+
// case 'hwba':
|
|
4752
|
+
// this.inputMode = 'hex'
|
|
4753
|
+
// break;
|
|
4754
|
+
// case 'hex':
|
|
4755
|
+
// this.inputMode = 'rgba'
|
|
4756
|
+
// break;
|
|
4757
|
+
// }
|
|
4758
|
+
this._parent.mode = (this._parent.mode == 'rgba' ? 'hex' : 'rgba');
|
|
4759
|
+
}
|
|
4760
|
+
_handleRGBAValueChanged(e) {
|
|
4761
|
+
const { r, g, b, a } = this._rgba;
|
|
4762
|
+
const _color = `rgba(${r},${g},${b},${a})`;
|
|
4763
|
+
this._parent._onInternalColorChanged$.next({ color: AXColorUtil.toRGB(_color), mode: 'rgba' });
|
|
4764
|
+
}
|
|
4765
|
+
_handleHEXAValueChanged(e) {
|
|
4766
|
+
this._parent._onInternalColorChanged$.next({ color: AXColorUtil.toHex(e.value), mode: 'hex' });
|
|
4767
|
+
}
|
|
4768
|
+
}
|
|
4769
|
+
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 });
|
|
4770
|
+
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 });
|
|
4771
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXColorPaletteInputComponent, decorators: [{
|
|
4772
|
+
type: Component,
|
|
4773
|
+
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>" }]
|
|
4774
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: AXColorComponent, decorators: [{
|
|
4775
|
+
type: Optional
|
|
4776
|
+
}, {
|
|
4777
|
+
type: Inject,
|
|
4778
|
+
args: [AXColorComponent]
|
|
4779
|
+
}] }]; } });
|
|
4780
|
+
|
|
4781
|
+
class AXColorPalleteComponent extends AXBaseValueComponentMixin {
|
|
4782
|
+
constructor(elementRef, cdr) {
|
|
4783
|
+
super(elementRef, cdr);
|
|
4784
|
+
this._onInternalColorChanged$ = new Subject();
|
|
4785
|
+
this.modeChange = new EventEmitter();
|
|
4786
|
+
this._mode = 'hex';
|
|
4787
|
+
//
|
|
4788
|
+
this._onInternalColorChanged$.subscribe(e => {
|
|
4789
|
+
this.value = e.color;
|
|
4790
|
+
});
|
|
4791
|
+
}
|
|
4792
|
+
/**
|
|
4793
|
+
* A character value that specifies the separator character.
|
|
4794
|
+
*/
|
|
4795
|
+
get mode() {
|
|
4796
|
+
return this._mode;
|
|
4797
|
+
}
|
|
4798
|
+
set mode(v) {
|
|
4799
|
+
this._setOption({
|
|
4800
|
+
name: "mode",
|
|
4801
|
+
value: v,
|
|
4802
|
+
});
|
|
4803
|
+
}
|
|
4804
|
+
}
|
|
4805
|
+
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 });
|
|
4806
|
+
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 });
|
|
4807
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXColorPalleteComponent, decorators: [{
|
|
4808
|
+
type: Component,
|
|
4809
|
+
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>" }]
|
|
4810
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { modeChange: [{
|
|
4811
|
+
type: Output
|
|
4812
|
+
}], mode: [{
|
|
4813
|
+
type: Input
|
|
4814
|
+
}] } });
|
|
4815
|
+
|
|
4816
|
+
class AXColorPalettePickerComponent {
|
|
4817
|
+
constructor() { }
|
|
4818
|
+
ngOnInit() { }
|
|
4819
|
+
}
|
|
4820
|
+
AXColorPalettePickerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXColorPalettePickerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
4821
|
+
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 });
|
|
4822
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXColorPalettePickerComponent, decorators: [{
|
|
4823
|
+
type: Component,
|
|
4824
|
+
args: [{
|
|
4825
|
+
selector: 'ax-color-palette-picker',
|
|
4826
|
+
template: ``,
|
|
4827
|
+
encapsulation: ViewEncapsulation.None
|
|
4828
|
+
}]
|
|
4829
|
+
}], ctorParameters: function () { return []; } });
|
|
4830
|
+
|
|
4831
|
+
class AXTextBoxModule {
|
|
4832
|
+
}
|
|
4833
|
+
AXTextBoxModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXTextBoxModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
4834
|
+
AXTextBoxModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXTextBoxModule, declarations: [AXTextBoxComponent], imports: [CommonModule,
|
|
4835
|
+
FormsModule,
|
|
4836
|
+
AXButtonModule,
|
|
4837
|
+
AXDecoratorModule, i1$3.NgxMaskModule], exports: [AXTextBoxComponent] });
|
|
4838
|
+
AXTextBoxModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXTextBoxModule, providers: [], imports: [[
|
|
4839
|
+
CommonModule,
|
|
4840
|
+
FormsModule,
|
|
4841
|
+
AXButtonModule,
|
|
4842
|
+
AXDecoratorModule,
|
|
4843
|
+
NgxMaskModule.forChild()
|
|
4844
|
+
]] });
|
|
4845
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXTextBoxModule, decorators: [{
|
|
4846
|
+
type: NgModule,
|
|
4847
|
+
args: [{
|
|
4848
|
+
imports: [
|
|
4849
|
+
CommonModule,
|
|
4850
|
+
FormsModule,
|
|
4851
|
+
AXButtonModule,
|
|
4852
|
+
AXDecoratorModule,
|
|
4853
|
+
NgxMaskModule.forChild()
|
|
4854
|
+
],
|
|
4855
|
+
exports: [AXTextBoxComponent],
|
|
4856
|
+
declarations: [AXTextBoxComponent],
|
|
4857
|
+
providers: [],
|
|
4858
|
+
}]
|
|
4859
|
+
}] });
|
|
4860
|
+
|
|
4861
|
+
class AXLabelComponent extends AXBaseComponentMixin {
|
|
4862
|
+
constructor(elementRef, cdr) {
|
|
4863
|
+
super(elementRef, cdr);
|
|
4864
|
+
}
|
|
4865
|
+
get target() {
|
|
4866
|
+
return this._target;
|
|
4867
|
+
}
|
|
4868
|
+
set target(v) {
|
|
4869
|
+
this._target = v;
|
|
4870
|
+
this._cdr.markForCheck();
|
|
4871
|
+
}
|
|
4872
|
+
}
|
|
4873
|
+
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 });
|
|
4874
|
+
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 });
|
|
4875
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXLabelComponent, decorators: [{
|
|
4876
|
+
type: Component,
|
|
4877
|
+
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>" }]
|
|
4878
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { class: [{
|
|
4879
|
+
type: Input
|
|
4880
|
+
}] } });
|
|
4881
|
+
|
|
4882
|
+
const COMPONENT$g = [AXLabelComponent];
|
|
4883
|
+
const MODULES$h = [CommonModule];
|
|
4884
|
+
class AXLabelModule {
|
|
4885
|
+
}
|
|
4886
|
+
AXLabelModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXLabelModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
4887
|
+
AXLabelModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXLabelModule, declarations: [AXLabelComponent], imports: [CommonModule], exports: [AXLabelComponent] });
|
|
4888
|
+
AXLabelModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXLabelModule, providers: [], imports: [[...MODULES$h]] });
|
|
4889
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXLabelModule, decorators: [{
|
|
4890
|
+
type: NgModule,
|
|
4891
|
+
args: [{
|
|
4892
|
+
declarations: [...COMPONENT$g],
|
|
4893
|
+
imports: [...MODULES$h],
|
|
4894
|
+
exports: [...COMPONENT$g],
|
|
4895
|
+
providers: [],
|
|
4896
|
+
}]
|
|
4897
|
+
}] });
|
|
4898
|
+
|
|
4899
|
+
const COMPONENT$f = [AXNumberBoxComponent];
|
|
4900
|
+
const MODULES$g = [
|
|
4901
|
+
CommonModule,
|
|
4902
|
+
FormsModule,
|
|
4903
|
+
AXButtonModule,
|
|
4904
|
+
AXDecoratorModule,
|
|
4905
|
+
IMaskModule
|
|
4906
|
+
];
|
|
4907
|
+
class AXNumberBoxModule {
|
|
4908
|
+
}
|
|
4909
|
+
AXNumberBoxModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXNumberBoxModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
4910
|
+
AXNumberBoxModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXNumberBoxModule, declarations: [AXNumberBoxComponent], imports: [CommonModule,
|
|
4911
|
+
FormsModule,
|
|
4912
|
+
AXButtonModule,
|
|
4913
|
+
AXDecoratorModule,
|
|
4914
|
+
IMaskModule], exports: [AXNumberBoxComponent] });
|
|
4915
|
+
AXNumberBoxModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXNumberBoxModule, providers: [], imports: [[...MODULES$g]] });
|
|
4916
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXNumberBoxModule, decorators: [{
|
|
4917
|
+
type: NgModule,
|
|
4918
|
+
args: [{
|
|
4919
|
+
declarations: [...COMPONENT$f],
|
|
4920
|
+
imports: [...MODULES$g],
|
|
4921
|
+
exports: [...COMPONENT$f],
|
|
4922
|
+
providers: [],
|
|
4923
|
+
}]
|
|
4924
|
+
}] });
|
|
4925
|
+
|
|
4926
|
+
const MODULES$f = [
|
|
4927
|
+
AXTextBoxModule,
|
|
4928
|
+
AXLabelModule,
|
|
4929
|
+
AXButtonModule,
|
|
4930
|
+
AXDecoratorModule,
|
|
4931
|
+
AXNumberBoxModule
|
|
4932
|
+
];
|
|
4933
|
+
const CONPONENTS = [
|
|
4934
|
+
AXColorPalleteComponent,
|
|
4935
|
+
AXColorPalettePreviewComponent,
|
|
4936
|
+
AXColorPaletteSwatchesComponent,
|
|
4937
|
+
AXColorPaletteInputComponent,
|
|
4938
|
+
AXColorPalettePickerComponent
|
|
4939
|
+
];
|
|
4940
|
+
class AXColorPaletteModule {
|
|
4941
|
+
}
|
|
4942
|
+
AXColorPaletteModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXColorPaletteModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
4943
|
+
AXColorPaletteModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXColorPaletteModule, declarations: [AXColorPalleteComponent,
|
|
4944
|
+
AXColorPalettePreviewComponent,
|
|
4945
|
+
AXColorPaletteSwatchesComponent,
|
|
4946
|
+
AXColorPaletteInputComponent,
|
|
4947
|
+
AXColorPalettePickerComponent], imports: [CommonModule, AXTextBoxModule,
|
|
4948
|
+
AXLabelModule,
|
|
4949
|
+
AXButtonModule,
|
|
4950
|
+
AXDecoratorModule,
|
|
4951
|
+
AXNumberBoxModule], exports: [AXColorPalleteComponent,
|
|
4952
|
+
AXColorPalettePreviewComponent,
|
|
4953
|
+
AXColorPaletteSwatchesComponent,
|
|
4954
|
+
AXColorPaletteInputComponent,
|
|
4955
|
+
AXColorPalettePickerComponent] });
|
|
4956
|
+
AXColorPaletteModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXColorPaletteModule, providers: [], imports: [[CommonModule, ...MODULES$f]] });
|
|
4957
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXColorPaletteModule, decorators: [{
|
|
4958
|
+
type: NgModule,
|
|
4959
|
+
args: [{
|
|
4960
|
+
declarations: [...CONPONENTS],
|
|
4961
|
+
imports: [CommonModule, ...MODULES$f],
|
|
4962
|
+
exports: [...CONPONENTS],
|
|
4963
|
+
providers: [],
|
|
4964
|
+
}]
|
|
4965
|
+
}] });
|
|
4966
|
+
|
|
4967
|
+
class AXCollapseComponent extends AXBaseComponent {
|
|
4968
|
+
constructor(elementRef, cdr) {
|
|
4969
|
+
super(elementRef, cdr);
|
|
4970
|
+
this.cdr = cdr;
|
|
4971
|
+
this.isCollapsedChange = new EventEmitter();
|
|
4972
|
+
this._isCollapsed = false;
|
|
4973
|
+
this.caption = null;
|
|
4974
|
+
}
|
|
4975
|
+
get isCollapsed() {
|
|
4976
|
+
return this._isCollapsed;
|
|
4977
|
+
}
|
|
4978
|
+
set isCollapsed(v) {
|
|
4979
|
+
if (v != this._isCollapsed) {
|
|
4980
|
+
this._isCollapsed = v;
|
|
4981
|
+
this.isCollapsedChange.emit(v);
|
|
4982
|
+
this._cdr.detectChanges();
|
|
4983
|
+
}
|
|
4984
|
+
}
|
|
4985
|
+
handleHeaderClick() {
|
|
4986
|
+
this.isCollapsed = !this.isCollapsed;
|
|
4987
|
+
}
|
|
4988
|
+
}
|
|
4989
|
+
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 });
|
|
4990
|
+
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 });
|
|
4991
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXCollapseComponent, decorators: [{
|
|
4992
|
+
type: Component,
|
|
4993
|
+
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>" }]
|
|
4994
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { isCollapsedChange: [{
|
|
4995
|
+
type: Output
|
|
4996
|
+
}], isCollapsed: [{
|
|
4997
|
+
type: Input
|
|
4998
|
+
}], caption: [{
|
|
4999
|
+
type: Input
|
|
5000
|
+
}], headerTemplate: [{
|
|
5001
|
+
type: ContentChild,
|
|
5002
|
+
args: ['header', { static: true }]
|
|
5003
|
+
}] } });
|
|
5004
|
+
|
|
5005
|
+
class AXCollapseGroupComponent extends AXBaseComponent {
|
|
5006
|
+
constructor(elementRef, cdr) {
|
|
5007
|
+
super(elementRef, cdr);
|
|
5008
|
+
this.cdr = cdr;
|
|
5009
|
+
this.accordion = false;
|
|
5010
|
+
this.nonCollapsedIndex = 0;
|
|
5011
|
+
this._subs = [];
|
|
5012
|
+
}
|
|
5013
|
+
onViewInit() {
|
|
5014
|
+
if (this.accordion) {
|
|
5015
|
+
this._items.forEach(c => c.isCollapsed = true);
|
|
5016
|
+
this._items.get(this.nonCollapsedIndex).isCollapsed = false;
|
|
5017
|
+
console.log(this._items[this.nonCollapsedIndex]);
|
|
5018
|
+
this._items.forEach((c1) => {
|
|
5019
|
+
this._subs.push(c1.isCollapsedChange.subscribe(e => {
|
|
5020
|
+
if (!e)
|
|
5021
|
+
this._items.toArray().filter(c2 => c2 != c1).forEach(c => c.isCollapsed = true);
|
|
5022
|
+
}));
|
|
5023
|
+
});
|
|
5024
|
+
}
|
|
5025
|
+
}
|
|
5026
|
+
onDestroy() {
|
|
5027
|
+
this._subs.forEach(s => s.unsubscribe());
|
|
5028
|
+
this._subs = [];
|
|
5029
|
+
}
|
|
5030
|
+
}
|
|
5031
|
+
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 });
|
|
5032
|
+
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 });
|
|
5033
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXCollapseGroupComponent, decorators: [{
|
|
5034
|
+
type: Component,
|
|
5035
|
+
args: [{
|
|
5036
|
+
selector: 'ax-collapse-group',
|
|
5037
|
+
template: `<ng-content select="ax-collapse"></ng-content>`,
|
|
5038
|
+
host: { class: 'ax-collapse-group' },
|
|
5039
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
5040
|
+
encapsulation: ViewEncapsulation.None,
|
|
5041
|
+
}]
|
|
5042
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { accordion: [{
|
|
5043
|
+
type: Input
|
|
5044
|
+
}], nonCollapsedIndex: [{
|
|
5045
|
+
type: Input
|
|
5046
|
+
}], _items: [{
|
|
5047
|
+
type: ContentChildren,
|
|
5048
|
+
args: [AXCollapseComponent]
|
|
5049
|
+
}] } });
|
|
5050
|
+
|
|
5051
|
+
class AXCollapseModule {
|
|
5052
|
+
}
|
|
5053
|
+
AXCollapseModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXCollapseModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
5054
|
+
AXCollapseModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXCollapseModule, declarations: [AXCollapseComponent, AXCollapseGroupComponent], imports: [CommonModule], exports: [AXCollapseComponent, AXCollapseGroupComponent] });
|
|
5055
|
+
AXCollapseModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXCollapseModule, providers: [], imports: [[CommonModule]] });
|
|
5056
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXCollapseModule, decorators: [{
|
|
5057
|
+
type: NgModule,
|
|
5058
|
+
args: [{
|
|
5059
|
+
declarations: [AXCollapseComponent, AXCollapseGroupComponent],
|
|
5060
|
+
imports: [CommonModule],
|
|
5061
|
+
exports: [AXCollapseComponent, AXCollapseGroupComponent],
|
|
5062
|
+
providers: [],
|
|
5063
|
+
}]
|
|
5064
|
+
}] });
|
|
5065
|
+
|
|
5066
|
+
class AXPopoverComponent extends AXInteractiveComponenetMixin {
|
|
5067
|
+
constructor(_elementRef, _cdr, _zone, _overlay, _platform, _viewContainerRef) {
|
|
5068
|
+
super(_elementRef, _cdr);
|
|
5069
|
+
this._elementRef = _elementRef;
|
|
5070
|
+
this._cdr = _cdr;
|
|
5071
|
+
this._zone = _zone;
|
|
5072
|
+
this._overlay = _overlay;
|
|
5073
|
+
this._platform = _platform;
|
|
5074
|
+
this._viewContainerRef = _viewContainerRef;
|
|
5075
|
+
this.position = [
|
|
5076
|
+
{
|
|
5077
|
+
originX: 'start',
|
|
5078
|
+
originY: 'bottom',
|
|
5079
|
+
overlayX: 'start',
|
|
5080
|
+
overlayY: 'top',
|
|
5081
|
+
},
|
|
5082
|
+
{
|
|
5083
|
+
originX: 'start',
|
|
5084
|
+
originY: 'top',
|
|
5085
|
+
overlayX: 'start',
|
|
5086
|
+
overlayY: 'bottom'
|
|
5087
|
+
}
|
|
5088
|
+
];
|
|
5089
|
+
this._subs = [];
|
|
5090
|
+
//
|
|
5091
|
+
this.openTrigger = 'toggle';
|
|
5092
|
+
//
|
|
5093
|
+
this.closeTrigger = 'clickout';
|
|
5094
|
+
//
|
|
5095
|
+
this.hasBackdrop = false;
|
|
5096
|
+
this.adaptivityEnabled = false;
|
|
5097
|
+
//
|
|
5098
|
+
this._mousePos = { x: 0, y: 0 };
|
|
5099
|
+
this._isScrollAttached = false;
|
|
5100
|
+
//
|
|
5101
|
+
this.onOpened = new EventEmitter();
|
|
5102
|
+
this.onClosed = new EventEmitter();
|
|
5103
|
+
}
|
|
5104
|
+
get target() {
|
|
5105
|
+
return this._target;
|
|
5106
|
+
}
|
|
5107
|
+
set target(v) {
|
|
5108
|
+
if (v instanceof HTMLElement)
|
|
5109
|
+
this._target = v;
|
|
5110
|
+
else if (v instanceof ElementRef)
|
|
5111
|
+
this._target = v.nativeElement;
|
|
5112
|
+
else if (v instanceof AXBaseComponent)
|
|
5113
|
+
this._target = v._getInnerElement();
|
|
5114
|
+
}
|
|
5115
|
+
_emitOnOpenedEvent() {
|
|
5116
|
+
this.onOpened.emit({
|
|
5117
|
+
component: this,
|
|
5118
|
+
htmlElement: this._getHostElement()
|
|
5119
|
+
});
|
|
5120
|
+
}
|
|
5121
|
+
_emitOnClosedEvent() {
|
|
5122
|
+
this.onClosed.emit({
|
|
5123
|
+
component: this,
|
|
5124
|
+
htmlElement: this._getHostElement()
|
|
4353
5125
|
});
|
|
4354
5126
|
}
|
|
4355
5127
|
//
|
|
@@ -4503,12 +5275,12 @@ class AXPopoverComponent extends AXInteractiveComponenetMixin {
|
|
|
4503
5275
|
this.focus();
|
|
4504
5276
|
}
|
|
4505
5277
|
}
|
|
4506
|
-
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$
|
|
5278
|
+
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 });
|
|
4507
5279
|
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 });
|
|
4508
5280
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXPopoverComponent, decorators: [{
|
|
4509
5281
|
type: Component,
|
|
4510
5282
|
args: [{ selector: 'ax-popover', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, template: "<ng-template #baseTemplate>\r\n <ng-content></ng-content>\r\n</ng-template>" }]
|
|
4511
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: i0.NgZone }, { type: i1.Overlay }, { type: i1$
|
|
5283
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: i0.NgZone }, { type: i1.Overlay }, { type: i1$4.AXPlatform }, { type: i0.ViewContainerRef }]; }, propDecorators: { target: [{
|
|
4512
5284
|
type: Input
|
|
4513
5285
|
}], position: [{
|
|
4514
5286
|
type: Input
|
|
@@ -4549,417 +5321,126 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.9", ngImpor
|
|
|
4549
5321
|
}]
|
|
4550
5322
|
}] });
|
|
4551
5323
|
|
|
4552
|
-
|
|
4553
|
-
/**
|
|
4554
|
-
* @ignore
|
|
4555
|
-
*/
|
|
4556
|
-
constructor(elementRef, cdr) {
|
|
4557
|
-
super(elementRef, cdr);
|
|
4558
|
-
this.visibleChange = new EventEmitter();
|
|
4559
|
-
this.type = 'spinner';
|
|
4560
|
-
}
|
|
4561
|
-
get visible() {
|
|
4562
|
-
return this._visible;
|
|
4563
|
-
}
|
|
4564
|
-
set visible(v) {
|
|
4565
|
-
if (v != this._visible) {
|
|
4566
|
-
this._visible = v;
|
|
4567
|
-
v ? this._getHostElement().classList.remove('ax-hide') : this._getHostElement().classList.add('ax-hide');
|
|
4568
|
-
this.visibleChange.emit(v);
|
|
4569
|
-
}
|
|
4570
|
-
}
|
|
4571
|
-
onInit() {
|
|
4572
|
-
const loading = AXConfig.get(`layout.loading.${this.type}`);
|
|
4573
|
-
this._selectedPortal = new ComponentPortal(loading);
|
|
4574
|
-
this._cdr.markForCheck();
|
|
4575
|
-
}
|
|
4576
|
-
_handleAttched(ref) {
|
|
4577
|
-
ref = ref;
|
|
4578
|
-
if (ref.instance) {
|
|
4579
|
-
ref.instance.text = this.text;
|
|
4580
|
-
}
|
|
4581
|
-
}
|
|
4582
|
-
}
|
|
4583
|
-
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 });
|
|
4584
|
-
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: `
|
|
4585
|
-
<ng-template [cdkPortalOutlet]="_selectedPortal" (attached)="_handleAttched($event)"></ng-template>
|
|
4586
|
-
`, isInline: true, directives: [{ type: i1$4.CdkPortalOutlet, selector: "[cdkPortalOutlet]", inputs: ["cdkPortalOutlet"], outputs: ["attached"], exportAs: ["cdkPortalOutlet"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
4587
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXLoadingComponent, decorators: [{
|
|
4588
|
-
type: Component,
|
|
4589
|
-
args: [{
|
|
4590
|
-
selector: 'ax-loading',
|
|
4591
|
-
template: `
|
|
4592
|
-
<ng-template [cdkPortalOutlet]="_selectedPortal" (attached)="_handleAttched($event)"></ng-template>
|
|
4593
|
-
`,
|
|
4594
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
4595
|
-
encapsulation: ViewEncapsulation.None,
|
|
4596
|
-
host: { class: 'ax-loading' }
|
|
4597
|
-
}]
|
|
4598
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { visibleChange: [{
|
|
4599
|
-
type: Output
|
|
4600
|
-
}], visible: [{
|
|
4601
|
-
type: Input
|
|
4602
|
-
}], type: [{
|
|
4603
|
-
type: Input
|
|
4604
|
-
}], text: [{
|
|
4605
|
-
type: Input
|
|
4606
|
-
}] } });
|
|
4607
|
-
|
|
5324
|
+
const AXBaseColorPickerMixin = _InteractiveComponenetMixin(_DropdownComponenetMixin(_ValueComponenetMixin(_TextboxComponenetMixin(AXBaseComponent))));
|
|
4608
5325
|
/**
|
|
4609
5326
|
* The Button is a component which detects user interaction and triggers a corresponding event
|
|
4610
5327
|
*
|
|
4611
5328
|
* @category Components
|
|
4612
5329
|
*/
|
|
4613
|
-
class AXColorPickerComponent extends
|
|
5330
|
+
class AXColorPickerComponent extends AXBaseColorPickerMixin {
|
|
4614
5331
|
/**
|
|
4615
5332
|
* @ignore
|
|
4616
5333
|
*/
|
|
4617
5334
|
constructor(_elementRef, _cdr, _zone, _platform) {
|
|
4618
5335
|
super(_elementRef, _cdr);
|
|
4619
5336
|
this._elementRef = _elementRef;
|
|
4620
|
-
this._cdr = _cdr;
|
|
4621
5337
|
this._zone = _zone;
|
|
4622
5338
|
this._platform = _platform;
|
|
4623
|
-
|
|
4624
|
-
* Defines the clearButton.
|
|
4625
|
-
*/
|
|
4626
|
-
this.clearButton = false;
|
|
4627
|
-
/**
|
|
4628
|
-
* Defines the checkbox.
|
|
4629
|
-
*/
|
|
4630
|
-
this.checkbox = false;
|
|
5339
|
+
this._mode = 'hex';
|
|
4631
5340
|
this._isMobile = false;
|
|
4632
|
-
this._forceFocus = false;
|
|
4633
5341
|
this._isMobile = this._platform.is('Mobile');
|
|
4634
5342
|
this._platform.resize.subscribe(() => {
|
|
4635
5343
|
this._isMobile = this._platform.is('Mobile');
|
|
4636
5344
|
this.popover.dispose();
|
|
4637
5345
|
this._popoverWidth = this._isMobile ? null : this._target.offsetWidth;
|
|
4638
|
-
});
|
|
4639
|
-
}
|
|
4640
|
-
get emptyTemplate() {
|
|
4641
|
-
return this._contentEmptyTemplate;
|
|
4642
|
-
}
|
|
4643
|
-
_handleArrowClickEvent(e) {
|
|
4644
|
-
e.nativeEvent.stopPropagation();
|
|
4645
|
-
this.toggle();
|
|
4646
|
-
}
|
|
4647
|
-
_handleInputClickEvent(e) {
|
|
4648
|
-
e.stopPropagation();
|
|
4649
|
-
this.toggle();
|
|
4650
|
-
}
|
|
4651
|
-
onInit() {
|
|
4652
|
-
super.onInit();
|
|
4653
|
-
this._target = this._elementRef.nativeElement;
|
|
4654
|
-
this._popoverTitle = this.placeholder || AXTranslator.get('selectbox.popover.title');
|
|
4655
|
-
}
|
|
4656
|
-
onViewInit() {
|
|
4657
|
-
super.onViewInit();
|
|
4658
|
-
this._popoverWidth = this._isMobile ? null : this._target.offsetWidth;
|
|
4659
|
-
}
|
|
4660
|
-
refresh() {
|
|
4661
|
-
this.value = null;
|
|
4662
|
-
super.refresh();
|
|
4663
|
-
}
|
|
4664
|
-
_handleOnItemClick(e, item) {
|
|
4665
|
-
if (this.isItemDisabled(item)) {
|
|
4666
|
-
return;
|
|
4667
|
-
}
|
|
4668
|
-
if (!this.multiple)
|
|
4669
|
-
this.close();
|
|
4670
|
-
this.toggleSelect(item);
|
|
4671
|
-
this._cdr.detectChanges();
|
|
4672
|
-
}
|
|
4673
|
-
_handleListScroll(e) {
|
|
4674
|
-
const list = e.target;
|
|
4675
|
-
if ((list.scrollTop < list.scrollHeight - list.clientHeight)) {
|
|
4676
|
-
return;
|
|
4677
|
-
}
|
|
4678
|
-
this._fetchData();
|
|
4679
|
-
}
|
|
4680
|
-
_checkForLoadData() {
|
|
4681
|
-
const list = this.listContainer.nativeElement;
|
|
4682
|
-
if (this.loadedCount < this.totalCount && list.scrollHeight < ((list.parentElement.clientHeight) * 1.5)) {
|
|
4683
|
-
this._fetchData();
|
|
4684
|
-
}
|
|
4685
|
-
}
|
|
4686
|
-
_onDataLoaded() {
|
|
4687
|
-
if (this.popover.isOpen) {
|
|
4688
|
-
setTimeout(() => {
|
|
4689
|
-
this._checkForLoadData();
|
|
4690
|
-
this.popover.updatePosition();
|
|
4691
|
-
if (this._forceFocus) {
|
|
4692
|
-
this._focusSelectedItem();
|
|
4693
|
-
this._forceFocus = false;
|
|
4694
|
-
}
|
|
4695
|
-
}, 100);
|
|
4696
|
-
}
|
|
4697
|
-
}
|
|
4698
|
-
_onValueChanged(oldValue, newValue) {
|
|
4699
|
-
super._onValueChanged(oldValue, newValue);
|
|
4700
|
-
}
|
|
4701
|
-
_handleOnRemoveItemClick(e, item) {
|
|
4702
|
-
this.unselectItems(item);
|
|
4703
|
-
e.stopPropagation();
|
|
4704
|
-
}
|
|
4705
|
-
_handleBadgeRemove(e, item) {
|
|
4706
|
-
this.unselectItems(item);
|
|
4707
|
-
e.stopPropagation();
|
|
4708
|
-
this.close();
|
|
4709
|
-
}
|
|
4710
|
-
_handleKeydown(e) {
|
|
4711
|
-
const isLetter = new RegExp(/[a-zA-Z0-9\-]/).test(String.fromCharCode(e.keyCode));
|
|
4712
|
-
if (e.code === 'Backspace' && e.type === 'keydown' &&
|
|
4713
|
-
((this.allowNull === true && this.selectedItems.length > 0) ||
|
|
4714
|
-
(this.allowNull !== true && this.selectedItems.length > 1))) {
|
|
4715
|
-
this.isUserInput = true;
|
|
4716
|
-
this.unselectItems(this.selectedItems.pop());
|
|
4717
|
-
e.preventDefault();
|
|
4718
|
-
return;
|
|
4719
|
-
}
|
|
4720
|
-
else if ((e.code === 'ArrowDown' || e.code === 'ArrowUp' || e.code === 'Space') && !this.popover.isOpen && e.type === 'keydown') {
|
|
4721
|
-
if (this.multiple) {
|
|
4722
|
-
this.open();
|
|
4723
|
-
}
|
|
4724
|
-
else {
|
|
4725
|
-
this.isUserInput = true;
|
|
4726
|
-
if (e.ctrlKey || e.code === 'Space') {
|
|
4727
|
-
this.open();
|
|
4728
|
-
}
|
|
4729
|
-
else {
|
|
4730
|
-
this._selectedItemByNav((e.key === 'ArrowDown' ? 1 : -1));
|
|
4731
|
-
}
|
|
4732
|
-
}
|
|
4733
|
-
e.preventDefault();
|
|
4734
|
-
return;
|
|
4735
|
-
}
|
|
4736
|
-
else if (isLetter) {
|
|
4737
|
-
this.text = e.key;
|
|
4738
|
-
this.open();
|
|
4739
|
-
e.preventDefault();
|
|
4740
|
-
return;
|
|
4741
|
-
}
|
|
4742
|
-
}
|
|
4743
|
-
_handlePopoverKeydown(e) {
|
|
4744
|
-
if (e.target.tagName == "INPUT" && ['Space', 'Backspace'].includes(e.code))
|
|
4745
|
-
return;
|
|
4746
|
-
if ((e.key === 'ArrowDown' || e.key === 'ArrowUp') && this.displayItems.length > 0) {
|
|
4747
|
-
this.isUserInput = true;
|
|
4748
|
-
this._focusItemByNav((e.key === 'ArrowDown' ? 1 : -1));
|
|
4749
|
-
e.preventDefault();
|
|
4750
|
-
}
|
|
4751
|
-
else if (e.code === 'Backspace' &&
|
|
4752
|
-
((this.allowNull === true && this.selectedItems.length > 0) ||
|
|
4753
|
-
(this.allowNull !== true && this.selectedItems.length > 1))) {
|
|
4754
|
-
this.isUserInput = true;
|
|
4755
|
-
this.unselectItems(this.selectedItems.pop());
|
|
4756
|
-
e.preventDefault();
|
|
4757
|
-
}
|
|
4758
|
-
else if ((e.code === 'Space' || e.code === 'Enter')) {
|
|
4759
|
-
debugger;
|
|
4760
|
-
e.preventDefault();
|
|
4761
|
-
const focusedItemId = this.listContainer.nativeElement.querySelector('.ax-state-focus')?.dataset?.id;
|
|
4762
|
-
const focusedItem = _.findLast(this.flatItems, [this.valueField, focusedItemId]);
|
|
4763
|
-
if (focusedItem) {
|
|
4764
|
-
if (this.isItemDisabled(focusedItem)) {
|
|
4765
|
-
return;
|
|
4766
|
-
}
|
|
4767
|
-
if (this.multiple) {
|
|
4768
|
-
this.isUserInput = true;
|
|
4769
|
-
this.toggleSelect(focusedItem);
|
|
4770
|
-
}
|
|
4771
|
-
else {
|
|
4772
|
-
this.isUserInput = true;
|
|
4773
|
-
this.selectItems(focusedItem);
|
|
4774
|
-
this.close();
|
|
4775
|
-
}
|
|
4776
|
-
}
|
|
4777
|
-
}
|
|
4778
|
-
else if (e.code === "Tab") {
|
|
4779
|
-
this.close();
|
|
4780
|
-
e.preventDefault();
|
|
4781
|
-
e.stopPropagation();
|
|
4782
|
-
}
|
|
4783
|
-
else if (e.key === 'Escape') {
|
|
4784
|
-
this.close();
|
|
4785
|
-
e.preventDefault();
|
|
4786
|
-
e.stopPropagation();
|
|
4787
|
-
}
|
|
4788
|
-
}
|
|
4789
|
-
async _handlePopupOnOpened(e) {
|
|
4790
|
-
this.popover.focus();
|
|
4791
|
-
if (this.displayItems.length == 0) {
|
|
4792
|
-
this._forceFocus = true;
|
|
4793
|
-
this._fetchData();
|
|
4794
|
-
}
|
|
4795
|
-
else {
|
|
4796
|
-
this._focusSelectedItem();
|
|
4797
|
-
}
|
|
4798
|
-
debugger;
|
|
4799
|
-
if (this._searchBox && !this._isMobile) {
|
|
4800
|
-
this._searchBox.focus();
|
|
4801
|
-
}
|
|
4802
|
-
}
|
|
4803
|
-
_handlePopupOnClosed(e) {
|
|
4804
|
-
this.focus();
|
|
5346
|
+
});
|
|
4805
5347
|
}
|
|
4806
|
-
|
|
4807
|
-
|
|
4808
|
-
|
|
4809
|
-
const itemDiv = fn(`.ax-list-item.ax-state-focus`) || fn(`.ax-list-item.ax-state-selected`) || fn(`.ax-list-item`);
|
|
4810
|
-
let next = (sign == 1 ? itemDiv.nextElementSibling : itemDiv.previousElementSibling);
|
|
4811
|
-
if (next) {
|
|
4812
|
-
this._focusItemElement(next);
|
|
4813
|
-
}
|
|
4814
|
-
else {
|
|
4815
|
-
const parent = itemDiv.closest('.ax-list-item-group');
|
|
4816
|
-
if (parent) {
|
|
4817
|
-
const lis = (sign == 1 ? parent.nextElementSibling : parent.previousElementSibling)?.querySelectorAll('li');
|
|
4818
|
-
const a = sign == 1 ? _.first(lis) : _.last(lis);
|
|
4819
|
-
if (a) {
|
|
4820
|
-
this._focusItemElement(a);
|
|
4821
|
-
}
|
|
4822
|
-
}
|
|
4823
|
-
}
|
|
5348
|
+
_handleArrowClickEvent(e) {
|
|
5349
|
+
e.nativeEvent.stopPropagation();
|
|
5350
|
+
this.toggle();
|
|
4824
5351
|
}
|
|
4825
|
-
|
|
4826
|
-
|
|
4827
|
-
|
|
4828
|
-
const fn = (s) => list.querySelector(s);
|
|
4829
|
-
const itemDiv = fn(`.ax-list-item.ax-state-selected`) || fn(`.ax-list-item`);
|
|
4830
|
-
if (itemDiv) {
|
|
4831
|
-
this._focusItemElement(itemDiv);
|
|
4832
|
-
}
|
|
4833
|
-
});
|
|
5352
|
+
_handleInputClickEvent(e) {
|
|
5353
|
+
e.stopPropagation();
|
|
5354
|
+
this.toggle();
|
|
4834
5355
|
}
|
|
4835
|
-
|
|
4836
|
-
|
|
4837
|
-
|
|
4838
|
-
|
|
4839
|
-
if (c == el) {
|
|
4840
|
-
c.classList.add('ax-state-focus');
|
|
4841
|
-
el.scrollIntoView({ behavior: 'auto' });
|
|
4842
|
-
}
|
|
4843
|
-
else {
|
|
4844
|
-
c.classList.remove('ax-state-focus');
|
|
4845
|
-
}
|
|
4846
|
-
});
|
|
4847
|
-
if (!this._isMobile && this._searchBox)
|
|
4848
|
-
this._searchBox.focus();
|
|
4849
|
-
else
|
|
4850
|
-
el.focus();
|
|
4851
|
-
});
|
|
5356
|
+
onInit() {
|
|
5357
|
+
super.onInit();
|
|
5358
|
+
this._target = this._elementRef.nativeElement;
|
|
5359
|
+
this._popoverTitle = this.placeholder || AXTranslator.get('selectbox.popover.title');
|
|
4852
5360
|
}
|
|
4853
|
-
|
|
4854
|
-
|
|
4855
|
-
|
|
4856
|
-
if (last) {
|
|
4857
|
-
i = _.findLastIndex(this.flatItems, [this.valueField, last[this.valueField]]);
|
|
4858
|
-
}
|
|
4859
|
-
i += sign;
|
|
4860
|
-
let next = _.nth(this.flatItems, i);
|
|
4861
|
-
while (next?.children && next?.children.length) {
|
|
4862
|
-
i += sign;
|
|
4863
|
-
next = _.nth(this.flatItems, i);
|
|
4864
|
-
}
|
|
4865
|
-
if (next) {
|
|
4866
|
-
this.selectItems(next);
|
|
4867
|
-
}
|
|
4868
|
-
else if (next == null && sign == 1) {
|
|
4869
|
-
this._fetchData();
|
|
4870
|
-
}
|
|
5361
|
+
onViewInit() {
|
|
5362
|
+
super.onViewInit();
|
|
5363
|
+
this._popoverWidth = this._isMobile ? null : this._target.offsetWidth;
|
|
4871
5364
|
}
|
|
4872
|
-
|
|
4873
|
-
|
|
4874
|
-
this.
|
|
4875
|
-
this._fetchData();
|
|
5365
|
+
_onValueChanged(oldValue, newValue) {
|
|
5366
|
+
super._onValueChanged(oldValue, newValue);
|
|
5367
|
+
this._colorCode = AXColorUtil.to(newValue, this._mode);
|
|
4876
5368
|
}
|
|
4877
|
-
|
|
4878
|
-
debugger;
|
|
4879
|
-
this.empty();
|
|
4880
|
-
this._forceFocus = true;
|
|
4881
|
-
this._fetchData();
|
|
5369
|
+
async _handlePopupOnOpened(e) {
|
|
4882
5370
|
}
|
|
4883
|
-
|
|
4884
|
-
|
|
5371
|
+
_handlePopupOnClosed(e) {
|
|
5372
|
+
this.focus();
|
|
4885
5373
|
}
|
|
4886
5374
|
}
|
|
4887
|
-
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$
|
|
4888
|
-
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"
|
|
5375
|
+
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 });
|
|
5376
|
+
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: [
|
|
4889
5377
|
{ provide: AXClosbaleComponent, useExisting: AXColorPickerComponent }
|
|
4890
|
-
],
|
|
5378
|
+
], 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 });
|
|
4891
5379
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXColorPickerComponent, decorators: [{
|
|
4892
5380
|
type: Component,
|
|
4893
5381
|
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: [
|
|
4894
5382
|
{ provide: AXClosbaleComponent, useExisting: AXColorPickerComponent }
|
|
4895
|
-
], 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\"
|
|
4896
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: i0.NgZone }, { type: i1$
|
|
5383
|
+
], 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>" }]
|
|
5384
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: i0.NgZone }, { type: i1$4.AXPlatform }]; }, propDecorators: { popover: [{
|
|
4897
5385
|
type: ViewChild,
|
|
4898
5386
|
args: [AXPopoverComponent, { static: true }]
|
|
4899
|
-
}], clearButton: [{
|
|
4900
|
-
type: Input
|
|
4901
|
-
}], checkbox: [{
|
|
4902
|
-
type: Input
|
|
4903
|
-
}], listContainer: [{
|
|
4904
|
-
type: ViewChild,
|
|
4905
|
-
args: ['listContainer', { static: true }]
|
|
4906
|
-
}], _contentEmptyTemplate: [{
|
|
4907
|
-
type: ContentChild,
|
|
4908
|
-
args: ['emptyTemplate']
|
|
4909
|
-
}], _handleKeydown: [{
|
|
4910
|
-
type: HostListener,
|
|
4911
|
-
args: ['keydown', ['$event']]
|
|
4912
5387
|
}] } });
|
|
4913
5388
|
|
|
4914
|
-
|
|
4915
|
-
* The Textbox is a component which detects user interaction and triggers a corresponding event
|
|
4916
|
-
*
|
|
4917
|
-
* @category Components
|
|
4918
|
-
*/
|
|
4919
|
-
class AXTextBoxComponent extends AXBaseTextBoxMixin {
|
|
5389
|
+
class AXLoadingComponent extends AXBaseComponentMixin {
|
|
4920
5390
|
/**
|
|
4921
|
-
|
|
4922
|
-
|
|
5391
|
+
* @ignore
|
|
5392
|
+
*/
|
|
4923
5393
|
constructor(elementRef, cdr) {
|
|
4924
5394
|
super(elementRef, cdr);
|
|
5395
|
+
this.visibleChange = new EventEmitter();
|
|
5396
|
+
this.type = 'spinner';
|
|
5397
|
+
}
|
|
5398
|
+
get visible() {
|
|
5399
|
+
return this._visible;
|
|
5400
|
+
}
|
|
5401
|
+
set visible(v) {
|
|
5402
|
+
if (v != this._visible) {
|
|
5403
|
+
this._visible = v;
|
|
5404
|
+
v ? this._getHostElement().classList.remove('ax-hide') : this._getHostElement().classList.add('ax-hide');
|
|
5405
|
+
this.visibleChange.emit(v);
|
|
5406
|
+
}
|
|
5407
|
+
}
|
|
5408
|
+
onInit() {
|
|
5409
|
+
const loading = AXConfig.get(`layout.loading.${this.type}`);
|
|
5410
|
+
this._selectedPortal = new ComponentPortal(loading);
|
|
5411
|
+
this._cdr.markForCheck();
|
|
5412
|
+
}
|
|
5413
|
+
_handleAttched(ref) {
|
|
5414
|
+
ref = ref;
|
|
5415
|
+
if (ref.instance) {
|
|
5416
|
+
ref.instance.text = this.text;
|
|
5417
|
+
}
|
|
4925
5418
|
}
|
|
4926
5419
|
}
|
|
4927
|
-
|
|
4928
|
-
|
|
4929
|
-
|
|
5420
|
+
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 });
|
|
5421
|
+
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: `
|
|
5422
|
+
<ng-template [cdkPortalOutlet]="_selectedPortal" (attached)="_handleAttched($event)"></ng-template>
|
|
5423
|
+
`, isInline: true, directives: [{ type: i1$5.CdkPortalOutlet, selector: "[cdkPortalOutlet]", inputs: ["cdkPortalOutlet"], outputs: ["attached"], exportAs: ["cdkPortalOutlet"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
5424
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXLoadingComponent, decorators: [{
|
|
4930
5425
|
type: Component,
|
|
4931
|
-
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>" }]
|
|
4932
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; } });
|
|
4933
|
-
|
|
4934
|
-
class AXTextBoxModule {
|
|
4935
|
-
}
|
|
4936
|
-
AXTextBoxModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXTextBoxModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
4937
|
-
AXTextBoxModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXTextBoxModule, declarations: [AXTextBoxComponent], imports: [CommonModule,
|
|
4938
|
-
FormsModule,
|
|
4939
|
-
AXButtonModule,
|
|
4940
|
-
AXDecoratorModule, i1$5.NgxMaskModule], exports: [AXTextBoxComponent] });
|
|
4941
|
-
AXTextBoxModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXTextBoxModule, providers: [], imports: [[
|
|
4942
|
-
CommonModule,
|
|
4943
|
-
FormsModule,
|
|
4944
|
-
AXButtonModule,
|
|
4945
|
-
AXDecoratorModule,
|
|
4946
|
-
NgxMaskModule.forChild()
|
|
4947
|
-
]] });
|
|
4948
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXTextBoxModule, decorators: [{
|
|
4949
|
-
type: NgModule,
|
|
4950
5426
|
args: [{
|
|
4951
|
-
|
|
4952
|
-
|
|
4953
|
-
|
|
4954
|
-
|
|
4955
|
-
|
|
4956
|
-
|
|
4957
|
-
|
|
4958
|
-
exports: [AXTextBoxComponent],
|
|
4959
|
-
declarations: [AXTextBoxComponent],
|
|
4960
|
-
providers: [],
|
|
5427
|
+
selector: 'ax-loading',
|
|
5428
|
+
template: `
|
|
5429
|
+
<ng-template [cdkPortalOutlet]="_selectedPortal" (attached)="_handleAttched($event)"></ng-template>
|
|
5430
|
+
`,
|
|
5431
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
5432
|
+
encapsulation: ViewEncapsulation.None,
|
|
5433
|
+
host: { class: 'ax-loading' }
|
|
4961
5434
|
}]
|
|
4962
|
-
}] }
|
|
5435
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { visibleChange: [{
|
|
5436
|
+
type: Output
|
|
5437
|
+
}], visible: [{
|
|
5438
|
+
type: Input
|
|
5439
|
+
}], type: [{
|
|
5440
|
+
type: Input
|
|
5441
|
+
}], text: [{
|
|
5442
|
+
type: Input
|
|
5443
|
+
}] } });
|
|
4963
5444
|
|
|
4964
5445
|
class AXLoadingSpinnerComponent {
|
|
4965
5446
|
}
|
|
@@ -5057,8 +5538,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.9", ngImpor
|
|
|
5057
5538
|
args: ['axIsLoading']
|
|
5058
5539
|
}] } });
|
|
5059
5540
|
|
|
5060
|
-
const COMPONENT$
|
|
5061
|
-
const MODULES$
|
|
5541
|
+
const COMPONENT$e = [AXLoadingComponent, AXLoadingDirective, AXLoadingSpinnerComponent];
|
|
5542
|
+
const MODULES$e = [CommonModule, OverlayModule, PortalModule];
|
|
5062
5543
|
class AXLoadingModule {
|
|
5063
5544
|
constructor() {
|
|
5064
5545
|
AXConfig.set({
|
|
@@ -5072,13 +5553,13 @@ class AXLoadingModule {
|
|
|
5072
5553
|
}
|
|
5073
5554
|
AXLoadingModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXLoadingModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
5074
5555
|
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] });
|
|
5075
|
-
AXLoadingModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXLoadingModule, providers: [], imports: [[...MODULES$
|
|
5556
|
+
AXLoadingModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXLoadingModule, providers: [], imports: [[...MODULES$e]] });
|
|
5076
5557
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXLoadingModule, decorators: [{
|
|
5077
5558
|
type: NgModule,
|
|
5078
5559
|
args: [{
|
|
5079
|
-
declarations: [...COMPONENT$
|
|
5080
|
-
imports: [...MODULES$
|
|
5081
|
-
exports: [...COMPONENT$
|
|
5560
|
+
declarations: [...COMPONENT$e],
|
|
5561
|
+
imports: [...MODULES$e],
|
|
5562
|
+
exports: [...COMPONENT$e],
|
|
5082
5563
|
providers: [],
|
|
5083
5564
|
}]
|
|
5084
5565
|
}], ctorParameters: function () { return []; } });
|
|
@@ -5243,8 +5724,10 @@ AXColorPickerModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", ver
|
|
|
5243
5724
|
A11yModule,
|
|
5244
5725
|
AXLoadingModule,
|
|
5245
5726
|
AXTranslationModule,
|
|
5246
|
-
AXTextBoxModule
|
|
5247
|
-
|
|
5727
|
+
AXTextBoxModule,
|
|
5728
|
+
AXColorPaletteModule], exports: [AXColorPickerComponent] });
|
|
5729
|
+
AXColorPickerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXColorPickerModule, providers: [], imports: [[
|
|
5730
|
+
CommonModule,
|
|
5248
5731
|
AXCommonModule,
|
|
5249
5732
|
FormsModule,
|
|
5250
5733
|
AXDecoratorModule,
|
|
@@ -5253,12 +5736,14 @@ AXColorPickerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", ver
|
|
|
5253
5736
|
A11yModule,
|
|
5254
5737
|
AXLoadingModule,
|
|
5255
5738
|
AXTranslationModule,
|
|
5256
|
-
AXTextBoxModule
|
|
5739
|
+
AXTextBoxModule,
|
|
5740
|
+
AXColorPaletteModule
|
|
5257
5741
|
]] });
|
|
5258
5742
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXColorPickerModule, decorators: [{
|
|
5259
5743
|
type: NgModule,
|
|
5260
5744
|
args: [{
|
|
5261
|
-
imports: [
|
|
5745
|
+
imports: [
|
|
5746
|
+
CommonModule,
|
|
5262
5747
|
AXCommonModule,
|
|
5263
5748
|
FormsModule,
|
|
5264
5749
|
AXDecoratorModule,
|
|
@@ -5267,7 +5752,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.9", ngImpor
|
|
|
5267
5752
|
A11yModule,
|
|
5268
5753
|
AXLoadingModule,
|
|
5269
5754
|
AXTranslationModule,
|
|
5270
|
-
AXTextBoxModule
|
|
5755
|
+
AXTextBoxModule,
|
|
5756
|
+
AXColorPaletteModule
|
|
5271
5757
|
],
|
|
5272
5758
|
exports: [AXColorPickerComponent],
|
|
5273
5759
|
declarations: [AXColorPickerComponent],
|
|
@@ -5320,7 +5806,7 @@ class AXDataListComponent extends AXBaseSelectionValueMixin {
|
|
|
5320
5806
|
}
|
|
5321
5807
|
}
|
|
5322
5808
|
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 });
|
|
5323
|
-
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$
|
|
5809
|
+
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 });
|
|
5324
5810
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXDataListComponent, decorators: [{
|
|
5325
5811
|
type: Component,
|
|
5326
5812
|
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>" }]
|
|
@@ -5344,19 +5830,19 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.9", ngImpor
|
|
|
5344
5830
|
type: Input
|
|
5345
5831
|
}] } });
|
|
5346
5832
|
|
|
5347
|
-
const COMPONENT$
|
|
5348
|
-
const MODULES$
|
|
5833
|
+
const COMPONENT$d = [AXDataListComponent];
|
|
5834
|
+
const MODULES$d = [CommonModule, AXButtonModule, AXLoadingModule, AXTranslationModule];
|
|
5349
5835
|
class AXDataListModule {
|
|
5350
5836
|
}
|
|
5351
5837
|
AXDataListModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXDataListModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
5352
5838
|
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] });
|
|
5353
|
-
AXDataListModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXDataListModule, providers: [], imports: [[...MODULES$
|
|
5839
|
+
AXDataListModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXDataListModule, providers: [], imports: [[...MODULES$d]] });
|
|
5354
5840
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXDataListModule, decorators: [{
|
|
5355
5841
|
type: NgModule,
|
|
5356
5842
|
args: [{
|
|
5357
|
-
declarations: [...COMPONENT$
|
|
5358
|
-
imports: [...MODULES$
|
|
5359
|
-
exports: [...COMPONENT$
|
|
5843
|
+
declarations: [...COMPONENT$d],
|
|
5844
|
+
imports: [...MODULES$d],
|
|
5845
|
+
exports: [...COMPONENT$d],
|
|
5360
5846
|
providers: [],
|
|
5361
5847
|
}]
|
|
5362
5848
|
}] });
|
|
@@ -5508,12 +5994,12 @@ class AXDatePickerComponent extends AXBaseDatePickerMixin {
|
|
|
5508
5994
|
input.setSelectionRange(start, end);
|
|
5509
5995
|
}
|
|
5510
5996
|
}
|
|
5511
|
-
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$
|
|
5997
|
+
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 });
|
|
5512
5998
|
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 });
|
|
5513
5999
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXDatePickerComponent, decorators: [{
|
|
5514
6000
|
type: Component,
|
|
5515
6001
|
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>" }]
|
|
5516
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: i1$
|
|
6002
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: i1$4.AXPlatform }]; }, propDecorators: { popover: [{
|
|
5517
6003
|
type: ViewChild,
|
|
5518
6004
|
args: [AXPopoverComponent, { static: true }]
|
|
5519
6005
|
}], _calendar: [{
|
|
@@ -5529,8 +6015,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.9", ngImpor
|
|
|
5529
6015
|
type: Input
|
|
5530
6016
|
}] } });
|
|
5531
6017
|
|
|
5532
|
-
const COMPONENT$
|
|
5533
|
-
const MODULES$
|
|
6018
|
+
const COMPONENT$c = [AXDatePickerComponent];
|
|
6019
|
+
const MODULES$c = [
|
|
5534
6020
|
CommonModule,
|
|
5535
6021
|
AXCalendarModule,
|
|
5536
6022
|
AXTextBoxModule,
|
|
@@ -5551,13 +6037,13 @@ AXDatepickerModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", vers
|
|
|
5551
6037
|
AXDecoratorModule,
|
|
5552
6038
|
AXDateTimeModule,
|
|
5553
6039
|
FormsModule], exports: [AXDatePickerComponent] });
|
|
5554
|
-
AXDatepickerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXDatepickerModule, providers: [], imports: [[...MODULES$
|
|
6040
|
+
AXDatepickerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXDatepickerModule, providers: [], imports: [[...MODULES$c]] });
|
|
5555
6041
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXDatepickerModule, decorators: [{
|
|
5556
6042
|
type: NgModule,
|
|
5557
6043
|
args: [{
|
|
5558
|
-
declarations: [...COMPONENT$
|
|
5559
|
-
imports: [...MODULES$
|
|
5560
|
-
exports: [...COMPONENT$
|
|
6044
|
+
declarations: [...COMPONENT$c],
|
|
6045
|
+
imports: [...MODULES$c],
|
|
6046
|
+
exports: [...COMPONENT$c],
|
|
5561
6047
|
providers: [],
|
|
5562
6048
|
}]
|
|
5563
6049
|
}] });
|
|
@@ -5589,7 +6075,7 @@ class AXDialogComponent extends AXBaseComponentMixin {
|
|
|
5589
6075
|
}
|
|
5590
6076
|
}
|
|
5591
6077
|
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 });
|
|
5592
|
-
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:
|
|
6078
|
+
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 });
|
|
5593
6079
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXDialogComponent, decorators: [{
|
|
5594
6080
|
type: Component,
|
|
5595
6081
|
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>" }]
|
|
@@ -5882,19 +6368,19 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.9", ngImpor
|
|
|
5882
6368
|
}]
|
|
5883
6369
|
}] });
|
|
5884
6370
|
|
|
5885
|
-
const COMPONENT$
|
|
5886
|
-
const MODULES$
|
|
6371
|
+
const COMPONENT$b = [AXDialogComponent];
|
|
6372
|
+
const MODULES$b = [CommonModule, DragDropModule, A11yModule, AXButtonModule, AXPageModule, AXDecoratorModule];
|
|
5887
6373
|
class AXDialogModule {
|
|
5888
6374
|
}
|
|
5889
6375
|
AXDialogModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXDialogModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
5890
6376
|
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] });
|
|
5891
|
-
AXDialogModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXDialogModule, providers: [], imports: [[...MODULES$
|
|
6377
|
+
AXDialogModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXDialogModule, providers: [], imports: [[...MODULES$b]] });
|
|
5892
6378
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXDialogModule, decorators: [{
|
|
5893
6379
|
type: NgModule,
|
|
5894
6380
|
args: [{
|
|
5895
|
-
declarations: [...COMPONENT$
|
|
5896
|
-
imports: [...MODULES$
|
|
5897
|
-
exports: [...COMPONENT$
|
|
6381
|
+
declarations: [...COMPONENT$b],
|
|
6382
|
+
imports: [...MODULES$b],
|
|
6383
|
+
exports: [...COMPONENT$b],
|
|
5898
6384
|
providers: [],
|
|
5899
6385
|
}]
|
|
5900
6386
|
}] });
|
|
@@ -6138,57 +6624,74 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.9", ngImpor
|
|
|
6138
6624
|
type: Input
|
|
6139
6625
|
}] } });
|
|
6140
6626
|
|
|
6141
|
-
const COMPONENT$
|
|
6142
|
-
const MODULES$
|
|
6627
|
+
const COMPONENT$a = [AXInputMaskComponent];
|
|
6628
|
+
const MODULES$a = [CommonModule, NgxMaskModule.forRoot(), IMaskModule];
|
|
6143
6629
|
class AXInputMaskModule {
|
|
6144
6630
|
}
|
|
6145
6631
|
AXInputMaskModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXInputMaskModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
6146
|
-
AXInputMaskModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXInputMaskModule, declarations: [AXInputMaskComponent], imports: [CommonModule, i1$
|
|
6147
|
-
AXInputMaskModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXInputMaskModule, providers: [], imports: [[...MODULES$
|
|
6632
|
+
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] });
|
|
6633
|
+
AXInputMaskModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXInputMaskModule, providers: [], imports: [[...MODULES$a]] });
|
|
6148
6634
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXInputMaskModule, decorators: [{
|
|
6149
6635
|
type: NgModule,
|
|
6150
6636
|
args: [{
|
|
6151
|
-
declarations: [...COMPONENT$
|
|
6152
|
-
imports: [...MODULES$
|
|
6153
|
-
exports: [...COMPONENT$
|
|
6637
|
+
declarations: [...COMPONENT$a],
|
|
6638
|
+
imports: [...MODULES$a],
|
|
6639
|
+
exports: [...COMPONENT$a],
|
|
6154
6640
|
providers: [],
|
|
6155
6641
|
}]
|
|
6156
6642
|
}] });
|
|
6157
6643
|
|
|
6158
|
-
class
|
|
6159
|
-
constructor(
|
|
6160
|
-
super(
|
|
6644
|
+
class AXSearchBoxComponent extends AXBaseComponentMixin {
|
|
6645
|
+
constructor(_elementRef, _cdr, _parent) {
|
|
6646
|
+
super(_elementRef, _cdr);
|
|
6647
|
+
this._parent = _parent;
|
|
6648
|
+
this.placeholder = 'common.search';
|
|
6649
|
+
this.debounceTime = 300;
|
|
6650
|
+
this.searchExp = null;
|
|
6161
6651
|
}
|
|
6162
|
-
|
|
6163
|
-
|
|
6652
|
+
_onSearchExprChanged(e) {
|
|
6653
|
+
if (this._parent && this._parent.search) {
|
|
6654
|
+
this._parent.search(e.value);
|
|
6655
|
+
}
|
|
6164
6656
|
}
|
|
6165
|
-
|
|
6166
|
-
this.
|
|
6167
|
-
this._cdr.markForCheck();
|
|
6657
|
+
focus() {
|
|
6658
|
+
this._textbox?.focus();
|
|
6168
6659
|
}
|
|
6169
6660
|
}
|
|
6170
|
-
|
|
6171
|
-
|
|
6172
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type:
|
|
6661
|
+
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 });
|
|
6662
|
+
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 });
|
|
6663
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXSearchBoxComponent, decorators: [{
|
|
6173
6664
|
type: Component,
|
|
6174
|
-
args: [{ selector: 'ax-
|
|
6175
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }
|
|
6665
|
+
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>" }]
|
|
6666
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: AXSearchableComponent, decorators: [{
|
|
6667
|
+
type: Optional
|
|
6668
|
+
}, {
|
|
6669
|
+
type: Inject,
|
|
6670
|
+
args: [AXSearchableComponent]
|
|
6671
|
+
}] }]; }, propDecorators: { _textbox: [{
|
|
6672
|
+
type: ViewChild,
|
|
6673
|
+
args: [AXTextBoxComponent]
|
|
6674
|
+
}], placeholder: [{
|
|
6675
|
+
type: Input
|
|
6676
|
+
}], debounceTime: [{
|
|
6677
|
+
type: Input
|
|
6678
|
+
}], searchExp: [{
|
|
6176
6679
|
type: Input
|
|
6177
6680
|
}] } });
|
|
6178
6681
|
|
|
6179
|
-
const COMPONENT$
|
|
6180
|
-
const MODULES$
|
|
6181
|
-
class
|
|
6682
|
+
const COMPONENT$9 = [AXSearchBoxComponent];
|
|
6683
|
+
const MODULES$9 = [CommonModule, AXTranslationModule, AXDecoratorModule, AXTextBoxModule];
|
|
6684
|
+
class AXSearchBoxModule {
|
|
6182
6685
|
}
|
|
6183
|
-
|
|
6184
|
-
|
|
6185
|
-
|
|
6186
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type:
|
|
6686
|
+
AXSearchBoxModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXSearchBoxModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
6687
|
+
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] });
|
|
6688
|
+
AXSearchBoxModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXSearchBoxModule, providers: [], imports: [[...MODULES$9]] });
|
|
6689
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXSearchBoxModule, decorators: [{
|
|
6187
6690
|
type: NgModule,
|
|
6188
6691
|
args: [{
|
|
6189
|
-
declarations: [...COMPONENT$
|
|
6190
|
-
imports: [...MODULES$
|
|
6191
|
-
exports: [...COMPONENT$
|
|
6692
|
+
declarations: [...COMPONENT$9],
|
|
6693
|
+
imports: [...MODULES$9],
|
|
6694
|
+
exports: [...COMPONENT$9],
|
|
6192
6695
|
providers: [],
|
|
6193
6696
|
}]
|
|
6194
6697
|
}] });
|
|
@@ -6203,6 +6706,19 @@ class AXMenuComponent extends AXBaseMenuMixin {
|
|
|
6203
6706
|
super(elementRef, cdr);
|
|
6204
6707
|
this.elementRef = elementRef;
|
|
6205
6708
|
this.cdr = cdr;
|
|
6709
|
+
this._forceFocus = false;
|
|
6710
|
+
window.addEventListener('click', (e) => {
|
|
6711
|
+
if (this.displayItems.length > 0) {
|
|
6712
|
+
const target = document.querySelector('UL');
|
|
6713
|
+
if (e.target != target) {
|
|
6714
|
+
this.displayItems.forEach((element) => {
|
|
6715
|
+
element.isActive = false;
|
|
6716
|
+
element.isOpen = false;
|
|
6717
|
+
});
|
|
6718
|
+
cdr.detectChanges();
|
|
6719
|
+
}
|
|
6720
|
+
}
|
|
6721
|
+
});
|
|
6206
6722
|
}
|
|
6207
6723
|
get emptyTemplate() {
|
|
6208
6724
|
return this._contentEmptyTemplate;
|
|
@@ -6250,350 +6766,126 @@ class AXMenuComponent extends AXBaseMenuMixin {
|
|
|
6250
6766
|
});
|
|
6251
6767
|
if (item.isOpen && item[this.hasChildField] && !item.children) {
|
|
6252
6768
|
item.isLoading = true;
|
|
6253
|
-
this._fetchData(item[this.valueField]).then(() => {
|
|
6254
|
-
item.isLoading = false;
|
|
6255
|
-
});
|
|
6256
|
-
}
|
|
6257
|
-
}
|
|
6258
|
-
e.stopPropagation();
|
|
6259
|
-
e.preventDefault();
|
|
6260
|
-
}
|
|
6261
|
-
_onMouseEnter(e, item) {
|
|
6262
|
-
if (this.isLoading) {
|
|
6263
|
-
return;
|
|
6264
|
-
}
|
|
6265
|
-
if (!item[this.disableField] && this.openMode === 'hover') {
|
|
6266
|
-
if (item.children?.length > 0 || item[this.hasChildField]) {
|
|
6267
|
-
if (item.children?.length > 0) {
|
|
6268
|
-
this._closeChild(item.children);
|
|
6269
|
-
}
|
|
6270
|
-
item.isOpen = true;
|
|
6271
|
-
}
|
|
6272
|
-
this.onMenuItemClick.emit({
|
|
6273
|
-
component: this,
|
|
6274
|
-
item: item,
|
|
6275
|
-
nativeEvent: e,
|
|
6276
|
-
});
|
|
6277
|
-
if (item.isOpen && item[this.hasChildField] && !item.children) {
|
|
6278
|
-
item.isLoading = true;
|
|
6279
|
-
this._fetchData(item[this.valueField]).then(() => {
|
|
6280
|
-
item.isLoading = false;
|
|
6281
|
-
});
|
|
6282
|
-
}
|
|
6283
|
-
}
|
|
6284
|
-
e.stopPropagation();
|
|
6285
|
-
e.preventDefault();
|
|
6286
|
-
}
|
|
6287
|
-
_onMouseLeave(item) {
|
|
6288
|
-
if (!item[this.disableField] && this.openMode === 'hover') {
|
|
6289
|
-
if (item.children?.length > 0 || item[this.hasChildField]) {
|
|
6290
|
-
if (item.children?.length > 0) {
|
|
6291
|
-
this._closeChild(item.children);
|
|
6292
|
-
}
|
|
6293
|
-
item.isOpen = false;
|
|
6294
|
-
}
|
|
6295
|
-
}
|
|
6296
|
-
}
|
|
6297
|
-
_notActive(items) {
|
|
6298
|
-
items.forEach((element) => {
|
|
6299
|
-
element.isActive = false;
|
|
6300
|
-
if (element.children?.length > 0) {
|
|
6301
|
-
this._notActive(element.children);
|
|
6302
|
-
}
|
|
6303
|
-
});
|
|
6304
|
-
}
|
|
6305
|
-
_closeChild(items) {
|
|
6306
|
-
items.forEach((element) => {
|
|
6307
|
-
element.isOpen = false;
|
|
6308
|
-
if (element.children?.length > 0) {
|
|
6309
|
-
this._closeChild(element.children);
|
|
6310
|
-
}
|
|
6311
|
-
});
|
|
6312
|
-
}
|
|
6313
|
-
_setParentNode(item, parentId) {
|
|
6314
|
-
item.forEach((element) => {
|
|
6315
|
-
element.parentId = parentId;
|
|
6316
|
-
});
|
|
6317
|
-
}
|
|
6318
|
-
_getDirection() {
|
|
6319
|
-
if (this.direction === 'horizontal') {
|
|
6320
|
-
return 'horizontal-mode';
|
|
6321
|
-
}
|
|
6322
|
-
else {
|
|
6323
|
-
return 'vertical-mode';
|
|
6324
|
-
}
|
|
6325
|
-
}
|
|
6326
|
-
}
|
|
6327
|
-
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 });
|
|
6328
|
-
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 });
|
|
6329
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXMenuComponent, decorators: [{
|
|
6330
|
-
type: Component,
|
|
6331
|
-
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>" }]
|
|
6332
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { _contentEmptyTemplate: [{
|
|
6333
|
-
type: ContentChild,
|
|
6334
|
-
args: ['emptyTemplate']
|
|
6335
|
-
}] } });
|
|
6336
|
-
|
|
6337
|
-
const COMPONENT$a = [AXMenuComponent];
|
|
6338
|
-
const MODULES$a = [CommonModule, AXDecoratorModule];
|
|
6339
|
-
class AXMenuModule {
|
|
6340
|
-
}
|
|
6341
|
-
AXMenuModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXMenuModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
6342
|
-
AXMenuModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXMenuModule, declarations: [AXMenuComponent], imports: [CommonModule, AXDecoratorModule, AXLoadingModule,
|
|
6343
|
-
AXTranslationModule,
|
|
6344
|
-
AXPopoverModule], exports: [AXMenuComponent] });
|
|
6345
|
-
AXMenuModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXMenuModule, providers: [], imports: [[
|
|
6346
|
-
...MODULES$a,
|
|
6347
|
-
AXLoadingModule,
|
|
6348
|
-
AXTranslationModule,
|
|
6349
|
-
AXPopoverModule,
|
|
6350
|
-
]] });
|
|
6351
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXMenuModule, decorators: [{
|
|
6352
|
-
type: NgModule,
|
|
6353
|
-
args: [{
|
|
6354
|
-
declarations: [...COMPONENT$a],
|
|
6355
|
-
imports: [
|
|
6356
|
-
...MODULES$a,
|
|
6357
|
-
AXLoadingModule,
|
|
6358
|
-
AXTranslationModule,
|
|
6359
|
-
AXPopoverModule,
|
|
6360
|
-
],
|
|
6361
|
-
exports: [...COMPONENT$a],
|
|
6362
|
-
providers: [],
|
|
6363
|
-
}]
|
|
6364
|
-
}] });
|
|
6365
|
-
|
|
6366
|
-
/**
|
|
6367
|
-
* The NumberBox is a component which detects user interaction and triggers a corresponding event
|
|
6368
|
-
*
|
|
6369
|
-
* @category Components
|
|
6370
|
-
*/
|
|
6371
|
-
class AXNumberBoxComponent extends AXBaseTextBoxMixin {
|
|
6372
|
-
/**
|
|
6373
|
-
* @ignore
|
|
6374
|
-
*/
|
|
6375
|
-
constructor(elementRef, cdr) {
|
|
6376
|
-
super(elementRef, cdr);
|
|
6377
|
-
this.cdr = cdr;
|
|
6378
|
-
this._padDecimalZeros = false;
|
|
6379
|
-
/**
|
|
6380
|
-
* Specifies the value that is used to increment or decrement the **Integer** part of number
|
|
6381
|
-
*/
|
|
6382
|
-
this.step = 1;
|
|
6383
|
-
this._decimals = 0;
|
|
6384
|
-
/**
|
|
6385
|
-
* Specifies the value that is used to increment or decrement the **Deciaml** part of number
|
|
6386
|
-
*/
|
|
6387
|
-
this.decimalStep = 'auto';
|
|
6388
|
-
/**
|
|
6389
|
-
* Specifies whether the Up and Down spin buttons will be rendered or not
|
|
6390
|
-
*/
|
|
6391
|
-
this.showSpinButtons = true;
|
|
6392
|
-
this._minValue = Number.MIN_SAFE_INTEGER;
|
|
6393
|
-
this._maxValue = Number.MAX_SAFE_INTEGER;
|
|
6394
|
-
}
|
|
6395
|
-
/**
|
|
6396
|
-
* A character value that specifies the separator character.
|
|
6397
|
-
*/
|
|
6398
|
-
get thousandsSeparator() {
|
|
6399
|
-
return this._thousandsSeparator;
|
|
6400
|
-
}
|
|
6401
|
-
set thousandsSeparator(v) {
|
|
6402
|
-
this._setOption({
|
|
6403
|
-
name: "thousandsSeparator",
|
|
6404
|
-
value: v ?? '',
|
|
6405
|
-
});
|
|
6406
|
-
}
|
|
6407
|
-
/**
|
|
6408
|
-
* A character value that specifies the separator character.
|
|
6409
|
-
*/
|
|
6410
|
-
get padDecimalZeros() {
|
|
6411
|
-
return this._padDecimalZeros;
|
|
6412
|
-
}
|
|
6413
|
-
set padDecimalZeros(v) {
|
|
6414
|
-
this._setOption({
|
|
6415
|
-
name: "padDecimalZeros",
|
|
6416
|
-
value: v,
|
|
6417
|
-
});
|
|
6418
|
-
}
|
|
6419
|
-
/**
|
|
6420
|
-
* Specifies the number of decimals that the user can enter
|
|
6421
|
-
*/
|
|
6422
|
-
get decimals() {
|
|
6423
|
-
return this._decimals;
|
|
6424
|
-
}
|
|
6425
|
-
set decimals(v) {
|
|
6426
|
-
this._setOption({
|
|
6427
|
-
name: "decimals",
|
|
6428
|
-
value: v ?? 0,
|
|
6429
|
-
});
|
|
6430
|
-
}
|
|
6431
|
-
/**
|
|
6432
|
-
* Specifies the smallest value that is valid
|
|
6433
|
-
*/
|
|
6434
|
-
get minValue() {
|
|
6435
|
-
return this._minValue;
|
|
6436
|
-
}
|
|
6437
|
-
set minValue(v) {
|
|
6438
|
-
this._setOption({
|
|
6439
|
-
name: "minValue",
|
|
6440
|
-
value: v != null ? Number(v) : Number.MIN_SAFE_INTEGER,
|
|
6441
|
-
});
|
|
6442
|
-
}
|
|
6443
|
-
/**
|
|
6444
|
-
* Specifies the greatest value that is valid
|
|
6445
|
-
*/
|
|
6446
|
-
get maxValue() {
|
|
6447
|
-
return this._maxValue;
|
|
6448
|
-
}
|
|
6449
|
-
set maxValue(v) {
|
|
6450
|
-
this._setOption({
|
|
6451
|
-
name: "maxValue",
|
|
6452
|
-
value: v != null ? Number(v) : Number.MAX_SAFE_INTEGER,
|
|
6453
|
-
});
|
|
6454
|
-
}
|
|
6455
|
-
onViewInit() {
|
|
6456
|
-
super.onViewInit();
|
|
6457
|
-
this._updateMask();
|
|
6458
|
-
}
|
|
6459
|
-
_onOptionChanged(option) {
|
|
6460
|
-
super._onOptionChanged(option);
|
|
6461
|
-
this._updateMask();
|
|
6462
|
-
}
|
|
6463
|
-
_updateMask() {
|
|
6464
|
-
if (!this._maskObj) {
|
|
6465
|
-
this._maskObj = IMask.createMask({
|
|
6466
|
-
mask: Number,
|
|
6467
|
-
min: this.minValue,
|
|
6468
|
-
max: this.maxValue,
|
|
6469
|
-
thousandsSeparator: this.thousandsSeparator || '',
|
|
6470
|
-
scale: this.decimals,
|
|
6471
|
-
radix: '.',
|
|
6472
|
-
padFractionalZeros: this.decimals > 0 && this.padDecimalZeros
|
|
6473
|
-
});
|
|
6474
|
-
}
|
|
6475
|
-
else {
|
|
6476
|
-
this._maskObj.updateOptions({
|
|
6477
|
-
min: this.minValue,
|
|
6478
|
-
max: this.maxValue,
|
|
6479
|
-
thousandsSeparator: this.thousandsSeparator || '',
|
|
6480
|
-
scale: this.decimals,
|
|
6481
|
-
radix: '.',
|
|
6482
|
-
padFractionalZeros: this.decimals > 0 && this.padDecimalZeros
|
|
6483
|
-
});
|
|
6769
|
+
this._fetchData(item[this.valueField]).then(() => {
|
|
6770
|
+
item.isLoading = false;
|
|
6771
|
+
});
|
|
6772
|
+
}
|
|
6484
6773
|
}
|
|
6485
|
-
|
|
6486
|
-
|
|
6774
|
+
e.stopPropagation();
|
|
6775
|
+
e.preventDefault();
|
|
6487
6776
|
}
|
|
6488
|
-
|
|
6489
|
-
|
|
6490
|
-
|
|
6491
|
-
|
|
6492
|
-
|
|
6493
|
-
|
|
6494
|
-
|
|
6495
|
-
|
|
6496
|
-
|
|
6497
|
-
|
|
6498
|
-
if (decimalPointIndex > 0 && _cursorPos > decimalPointIndex && this.decimals > 0) {
|
|
6499
|
-
e.key === 'ArrowDown' ? this.decimalStepDown() : this.decimalStepUp();
|
|
6777
|
+
_onMouseEnter(e, item) {
|
|
6778
|
+
if (this.isLoading) {
|
|
6779
|
+
return;
|
|
6780
|
+
}
|
|
6781
|
+
if (!item[this.disableField] && this.openMode === 'hover') {
|
|
6782
|
+
if (item.children?.length > 0 || item[this.hasChildField]) {
|
|
6783
|
+
if (item.children?.length > 0) {
|
|
6784
|
+
this._closeChild(item.children);
|
|
6785
|
+
}
|
|
6786
|
+
item.isOpen = true;
|
|
6500
6787
|
}
|
|
6501
|
-
|
|
6502
|
-
|
|
6788
|
+
this.onMenuItemClick.emit({
|
|
6789
|
+
component: this,
|
|
6790
|
+
item: item,
|
|
6791
|
+
nativeEvent: e,
|
|
6792
|
+
});
|
|
6793
|
+
if (item.isOpen && item[this.hasChildField] && !item.children) {
|
|
6794
|
+
item.isLoading = true;
|
|
6795
|
+
this._fetchData(item[this.valueField]).then(() => {
|
|
6796
|
+
item.isLoading = false;
|
|
6797
|
+
});
|
|
6503
6798
|
}
|
|
6504
|
-
ignore();
|
|
6505
|
-
setTimeout(() => {
|
|
6506
|
-
input.setSelectionRange(_cursorPos, _cursorPos);
|
|
6507
|
-
}, 5);
|
|
6508
6799
|
}
|
|
6509
|
-
|
|
6800
|
+
e.stopPropagation();
|
|
6801
|
+
e.preventDefault();
|
|
6510
6802
|
}
|
|
6511
|
-
|
|
6512
|
-
|
|
6803
|
+
_onMouseLeave(item) {
|
|
6804
|
+
if (!item[this.disableField] && this.openMode === 'hover') {
|
|
6805
|
+
if (item.children?.length > 0 || item[this.hasChildField]) {
|
|
6806
|
+
if (item.children?.length > 0) {
|
|
6807
|
+
this._closeChild(item.children);
|
|
6808
|
+
}
|
|
6809
|
+
item.isOpen = false;
|
|
6810
|
+
}
|
|
6811
|
+
}
|
|
6513
6812
|
}
|
|
6514
|
-
|
|
6515
|
-
|
|
6516
|
-
|
|
6517
|
-
|
|
6518
|
-
|
|
6519
|
-
|
|
6520
|
-
|
|
6813
|
+
_notActive(items) {
|
|
6814
|
+
items.forEach((element) => {
|
|
6815
|
+
element.isActive = false;
|
|
6816
|
+
if (element.children?.length > 0) {
|
|
6817
|
+
this._notActive(element.children);
|
|
6818
|
+
}
|
|
6819
|
+
});
|
|
6521
6820
|
}
|
|
6522
|
-
|
|
6523
|
-
|
|
6821
|
+
_closeChild(items) {
|
|
6822
|
+
items.forEach((element) => {
|
|
6823
|
+
element.isOpen = false;
|
|
6824
|
+
if (element.children?.length > 0) {
|
|
6825
|
+
this._closeChild(element.children);
|
|
6826
|
+
}
|
|
6827
|
+
});
|
|
6524
6828
|
}
|
|
6525
|
-
|
|
6526
|
-
|
|
6829
|
+
_setParentNode(item, parentId) {
|
|
6830
|
+
item.forEach((element) => {
|
|
6831
|
+
element.parentId = parentId;
|
|
6832
|
+
});
|
|
6527
6833
|
}
|
|
6528
|
-
|
|
6529
|
-
|
|
6834
|
+
_onSearchExprChanged(e) {
|
|
6835
|
+
// this.empty();
|
|
6836
|
+
this._forceFocus = true;
|
|
6837
|
+
this._fetchData(null, this._searchBox?.searchExp);
|
|
6530
6838
|
}
|
|
6531
|
-
|
|
6532
|
-
|
|
6839
|
+
_getDirection() {
|
|
6840
|
+
if (this.direction === 'horizontal') {
|
|
6841
|
+
return 'horizontal-mode';
|
|
6842
|
+
}
|
|
6843
|
+
else {
|
|
6844
|
+
return 'vertical-mode';
|
|
6845
|
+
}
|
|
6533
6846
|
}
|
|
6534
6847
|
}
|
|
6535
|
-
|
|
6536
|
-
|
|
6537
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type:
|
|
6848
|
+
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 });
|
|
6849
|
+
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 });
|
|
6850
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXMenuComponent, decorators: [{
|
|
6538
6851
|
type: Component,
|
|
6539
|
-
args: [{ selector: 'ax-
|
|
6540
|
-
|
|
6541
|
-
'readonly',
|
|
6542
|
-
'tabIndex',
|
|
6543
|
-
'size',
|
|
6544
|
-
'value',
|
|
6545
|
-
...TEXTBOX_INPUTS,
|
|
6546
|
-
], outputs: [
|
|
6547
|
-
'valueChange',
|
|
6548
|
-
'onValueChanged',
|
|
6549
|
-
'onBlur',
|
|
6550
|
-
'onFocus',
|
|
6551
|
-
...TEXTBOX_OUTPUT,
|
|
6552
|
-
], 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>" }]
|
|
6553
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { thousandsSeparator: [{
|
|
6554
|
-
type: Input
|
|
6555
|
-
}], padDecimalZeros: [{
|
|
6556
|
-
type: Input
|
|
6557
|
-
}], step: [{
|
|
6558
|
-
type: Input
|
|
6559
|
-
}], decimals: [{
|
|
6560
|
-
type: Input
|
|
6561
|
-
}], decimalStep: [{
|
|
6562
|
-
type: Input
|
|
6563
|
-
}], showSpinButtons: [{
|
|
6564
|
-
type: Input
|
|
6565
|
-
}], minValue: [{
|
|
6566
|
-
type: Input
|
|
6567
|
-
}], maxValue: [{
|
|
6568
|
-
type: Input
|
|
6569
|
-
}], _maskDirective: [{
|
|
6852
|
+
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>" }]
|
|
6853
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { popover: [{
|
|
6570
6854
|
type: ViewChild,
|
|
6571
|
-
args: [
|
|
6855
|
+
args: [AXPopoverComponent, { static: true }]
|
|
6856
|
+
}], _contentEmptyTemplate: [{
|
|
6857
|
+
type: ContentChild,
|
|
6858
|
+
args: ['emptyTemplate']
|
|
6859
|
+
}], _searchBox: [{
|
|
6860
|
+
type: ContentChild,
|
|
6861
|
+
args: [AXSearchBoxComponent, { static: true }]
|
|
6572
6862
|
}] } });
|
|
6573
6863
|
|
|
6574
|
-
const COMPONENT$
|
|
6575
|
-
const MODULES$
|
|
6576
|
-
|
|
6577
|
-
FormsModule,
|
|
6578
|
-
AXButtonModule,
|
|
6579
|
-
AXDecoratorModule,
|
|
6580
|
-
IMaskModule
|
|
6581
|
-
];
|
|
6582
|
-
class AXNumberBoxModule {
|
|
6864
|
+
const COMPONENT$8 = [AXMenuComponent];
|
|
6865
|
+
const MODULES$8 = [CommonModule, AXDecoratorModule];
|
|
6866
|
+
class AXMenuModule {
|
|
6583
6867
|
}
|
|
6584
|
-
|
|
6585
|
-
|
|
6586
|
-
|
|
6587
|
-
|
|
6588
|
-
|
|
6589
|
-
|
|
6590
|
-
|
|
6591
|
-
|
|
6868
|
+
AXMenuModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXMenuModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
6869
|
+
AXMenuModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXMenuModule, declarations: [AXMenuComponent], imports: [CommonModule, AXDecoratorModule, AXLoadingModule,
|
|
6870
|
+
AXTranslationModule,
|
|
6871
|
+
AXPopoverModule], exports: [AXMenuComponent] });
|
|
6872
|
+
AXMenuModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXMenuModule, providers: [], imports: [[
|
|
6873
|
+
...MODULES$8,
|
|
6874
|
+
AXLoadingModule,
|
|
6875
|
+
AXTranslationModule,
|
|
6876
|
+
AXPopoverModule,
|
|
6877
|
+
]] });
|
|
6878
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXMenuModule, decorators: [{
|
|
6592
6879
|
type: NgModule,
|
|
6593
6880
|
args: [{
|
|
6594
|
-
declarations: [...COMPONENT$
|
|
6595
|
-
imports: [
|
|
6596
|
-
|
|
6881
|
+
declarations: [...COMPONENT$8],
|
|
6882
|
+
imports: [
|
|
6883
|
+
...MODULES$8,
|
|
6884
|
+
AXLoadingModule,
|
|
6885
|
+
AXTranslationModule,
|
|
6886
|
+
AXPopoverModule,
|
|
6887
|
+
],
|
|
6888
|
+
exports: [...COMPONENT$8],
|
|
6597
6889
|
providers: [],
|
|
6598
6890
|
}]
|
|
6599
6891
|
}] });
|
|
@@ -6649,8 +6941,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.9", ngImpor
|
|
|
6649
6941
|
type: Input
|
|
6650
6942
|
}] } });
|
|
6651
6943
|
|
|
6652
|
-
const COMPONENT$
|
|
6653
|
-
const MODULES$
|
|
6944
|
+
const COMPONENT$7 = [AXPasswordBoxComponent];
|
|
6945
|
+
const MODULES$7 = [
|
|
6654
6946
|
CommonModule,
|
|
6655
6947
|
FormsModule,
|
|
6656
6948
|
AXButtonModule,
|
|
@@ -6663,13 +6955,13 @@ AXPasswordBoxModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", ver
|
|
|
6663
6955
|
FormsModule,
|
|
6664
6956
|
AXButtonModule,
|
|
6665
6957
|
AXDecoratorModule], exports: [AXPasswordBoxComponent] });
|
|
6666
|
-
AXPasswordBoxModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXPasswordBoxModule, providers: [], imports: [[...MODULES$
|
|
6958
|
+
AXPasswordBoxModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXPasswordBoxModule, providers: [], imports: [[...MODULES$7]] });
|
|
6667
6959
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXPasswordBoxModule, decorators: [{
|
|
6668
6960
|
type: NgModule,
|
|
6669
6961
|
args: [{
|
|
6670
|
-
declarations: [...COMPONENT$
|
|
6671
|
-
imports: [...MODULES$
|
|
6672
|
-
exports: [...COMPONENT$
|
|
6962
|
+
declarations: [...COMPONENT$7],
|
|
6963
|
+
imports: [...MODULES$7],
|
|
6964
|
+
exports: [...COMPONENT$7],
|
|
6673
6965
|
providers: [],
|
|
6674
6966
|
}]
|
|
6675
6967
|
}] });
|
|
@@ -6775,12 +7067,12 @@ class AXPopupComponent extends AXBaseComponentMixin {
|
|
|
6775
7067
|
}
|
|
6776
7068
|
onFullScreen() { }
|
|
6777
7069
|
}
|
|
6778
|
-
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$
|
|
6779
|
-
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:
|
|
7070
|
+
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 });
|
|
7071
|
+
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 });
|
|
6780
7072
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXPopupComponent, decorators: [{
|
|
6781
7073
|
type: Component,
|
|
6782
7074
|
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>" }]
|
|
6783
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: i0.NgZone }, { type: i0.ViewContainerRef }, { type: AXLoadingService }, { type: i1$
|
|
7075
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: i0.NgZone }, { type: i0.ViewContainerRef }, { type: AXLoadingService }, { type: i1$4.AXPlatform }]; }, propDecorators: { onKeydownHandler: [{
|
|
6784
7076
|
type: HostListener,
|
|
6785
7077
|
args: ['keydown.escape', ['$event']]
|
|
6786
7078
|
}] } });
|
|
@@ -6875,19 +7167,19 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.9", ngImpor
|
|
|
6875
7167
|
args: [{ providedIn: 'root' }]
|
|
6876
7168
|
}], ctorParameters: function () { return [{ type: AXOverlayService }]; } });
|
|
6877
7169
|
|
|
6878
|
-
const COMPONENT$
|
|
6879
|
-
const MODULES$
|
|
7170
|
+
const COMPONENT$6 = [AXPopupComponent];
|
|
7171
|
+
const MODULES$6 = [CommonModule, DragDropModule, A11yModule, AXButtonModule, PortalModule, AXDecoratorModule];
|
|
6880
7172
|
class AXPopupModule {
|
|
6881
7173
|
}
|
|
6882
7174
|
AXPopupModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXPopupModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
6883
7175
|
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] });
|
|
6884
|
-
AXPopupModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXPopupModule, providers: [], imports: [[...MODULES$
|
|
7176
|
+
AXPopupModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXPopupModule, providers: [], imports: [[...MODULES$6]] });
|
|
6885
7177
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXPopupModule, decorators: [{
|
|
6886
7178
|
type: NgModule,
|
|
6887
7179
|
args: [{
|
|
6888
|
-
declarations: [...COMPONENT$
|
|
6889
|
-
imports: [...MODULES$
|
|
6890
|
-
exports: [...COMPONENT$
|
|
7180
|
+
declarations: [...COMPONENT$6],
|
|
7181
|
+
imports: [...MODULES$6],
|
|
7182
|
+
exports: [...COMPONENT$6],
|
|
6891
7183
|
providers: [],
|
|
6892
7184
|
}]
|
|
6893
7185
|
}] });
|
|
@@ -6965,19 +7257,19 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.9", ngImpor
|
|
|
6965
7257
|
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>" }]
|
|
6966
7258
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; } });
|
|
6967
7259
|
|
|
6968
|
-
const COMPONENT$
|
|
6969
|
-
const MODULES$
|
|
7260
|
+
const COMPONENT$5 = [AXRadioComponent];
|
|
7261
|
+
const MODULES$5 = [CommonModule, FormsModule];
|
|
6970
7262
|
class AXRadioModule {
|
|
6971
7263
|
}
|
|
6972
7264
|
AXRadioModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXRadioModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
6973
7265
|
AXRadioModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXRadioModule, declarations: [AXRadioComponent], imports: [CommonModule, FormsModule], exports: [AXRadioComponent] });
|
|
6974
|
-
AXRadioModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXRadioModule, providers: [], imports: [[...MODULES$
|
|
7266
|
+
AXRadioModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXRadioModule, providers: [], imports: [[...MODULES$5]] });
|
|
6975
7267
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXRadioModule, decorators: [{
|
|
6976
7268
|
type: NgModule,
|
|
6977
7269
|
args: [{
|
|
6978
|
-
declarations: [...COMPONENT$
|
|
6979
|
-
imports: [...MODULES$
|
|
6980
|
-
exports: [...COMPONENT$
|
|
7270
|
+
declarations: [...COMPONENT$5],
|
|
7271
|
+
imports: [...MODULES$5],
|
|
7272
|
+
exports: [...COMPONENT$5],
|
|
6981
7273
|
providers: [],
|
|
6982
7274
|
}]
|
|
6983
7275
|
}] });
|
|
@@ -6995,19 +7287,19 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.9", ngImpor
|
|
|
6995
7287
|
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\">" }]
|
|
6996
7288
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; } });
|
|
6997
7289
|
|
|
6998
|
-
const COMPONENT$
|
|
6999
|
-
const MODULES$
|
|
7290
|
+
const COMPONENT$4 = [AXRangeSliderComponent];
|
|
7291
|
+
const MODULES$4 = [CommonModule];
|
|
7000
7292
|
class AXRangeSliderModule {
|
|
7001
7293
|
}
|
|
7002
7294
|
AXRangeSliderModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXRangeSliderModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
7003
7295
|
AXRangeSliderModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXRangeSliderModule, declarations: [AXRangeSliderComponent], imports: [CommonModule], exports: [AXRangeSliderComponent] });
|
|
7004
|
-
AXRangeSliderModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXRangeSliderModule, providers: [], imports: [[...MODULES$
|
|
7296
|
+
AXRangeSliderModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXRangeSliderModule, providers: [], imports: [[...MODULES$4]] });
|
|
7005
7297
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXRangeSliderModule, decorators: [{
|
|
7006
7298
|
type: NgModule,
|
|
7007
7299
|
args: [{
|
|
7008
|
-
declarations: [...COMPONENT$
|
|
7009
|
-
imports: [...MODULES$
|
|
7010
|
-
exports: [...COMPONENT$
|
|
7300
|
+
declarations: [...COMPONENT$4],
|
|
7301
|
+
imports: [...MODULES$4],
|
|
7302
|
+
exports: [...COMPONENT$4],
|
|
7011
7303
|
providers: [],
|
|
7012
7304
|
}]
|
|
7013
7305
|
}] });
|
|
@@ -7099,61 +7391,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.9", ngImpor
|
|
|
7099
7391
|
}]
|
|
7100
7392
|
}] });
|
|
7101
7393
|
|
|
7102
|
-
class AXSearchBoxComponent extends AXBaseComponentMixin {
|
|
7103
|
-
constructor(_elementRef, _cdr, _parent) {
|
|
7104
|
-
super(_elementRef, _cdr);
|
|
7105
|
-
this._parent = _parent;
|
|
7106
|
-
this.placeholder = 'common.search';
|
|
7107
|
-
this.debounceTime = 300;
|
|
7108
|
-
this.searchExp = null;
|
|
7109
|
-
}
|
|
7110
|
-
_onSearchExprChanged(e) {
|
|
7111
|
-
if (this._parent && this._parent.search) {
|
|
7112
|
-
this._parent.search(e.value);
|
|
7113
|
-
}
|
|
7114
|
-
}
|
|
7115
|
-
focus() {
|
|
7116
|
-
this._textbox?.focus();
|
|
7117
|
-
}
|
|
7118
|
-
}
|
|
7119
|
-
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 });
|
|
7120
|
-
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 });
|
|
7121
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXSearchBoxComponent, decorators: [{
|
|
7122
|
-
type: Component,
|
|
7123
|
-
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>" }]
|
|
7124
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: AXSearchableComponent, decorators: [{
|
|
7125
|
-
type: Optional
|
|
7126
|
-
}, {
|
|
7127
|
-
type: Inject,
|
|
7128
|
-
args: [AXSearchableComponent]
|
|
7129
|
-
}] }]; }, propDecorators: { _textbox: [{
|
|
7130
|
-
type: ViewChild,
|
|
7131
|
-
args: [AXTextBoxComponent]
|
|
7132
|
-
}], placeholder: [{
|
|
7133
|
-
type: Input
|
|
7134
|
-
}], debounceTime: [{
|
|
7135
|
-
type: Input
|
|
7136
|
-
}], searchExp: [{
|
|
7137
|
-
type: Input
|
|
7138
|
-
}] } });
|
|
7139
|
-
|
|
7140
|
-
const COMPONENT$4 = [AXSearchBoxComponent];
|
|
7141
|
-
const MODULES$4 = [CommonModule, AXTranslationModule, AXDecoratorModule, AXTextBoxModule];
|
|
7142
|
-
class AXSearchBoxModule {
|
|
7143
|
-
}
|
|
7144
|
-
AXSearchBoxModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXSearchBoxModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
7145
|
-
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] });
|
|
7146
|
-
AXSearchBoxModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXSearchBoxModule, providers: [], imports: [[...MODULES$4]] });
|
|
7147
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXSearchBoxModule, decorators: [{
|
|
7148
|
-
type: NgModule,
|
|
7149
|
-
args: [{
|
|
7150
|
-
declarations: [...COMPONENT$4],
|
|
7151
|
-
imports: [...MODULES$4],
|
|
7152
|
-
exports: [...COMPONENT$4],
|
|
7153
|
-
providers: [],
|
|
7154
|
-
}]
|
|
7155
|
-
}] });
|
|
7156
|
-
|
|
7157
7394
|
/**
|
|
7158
7395
|
* The Button is a component which detects user interaction and triggers a corresponding event
|
|
7159
7396
|
*
|
|
@@ -7419,6 +7656,7 @@ class AXSelectBoxComponent extends AXBaseSelectionDropdownMixin {
|
|
|
7419
7656
|
}
|
|
7420
7657
|
}
|
|
7421
7658
|
_onSearchExprChanged(e) {
|
|
7659
|
+
debugger;
|
|
7422
7660
|
this.empty();
|
|
7423
7661
|
this._forceFocus = true;
|
|
7424
7662
|
this._fetchData();
|
|
@@ -7433,18 +7671,18 @@ class AXSelectBoxComponent extends AXBaseSelectionDropdownMixin {
|
|
|
7433
7671
|
super._fetchData({ searchQuery: this._searchBox?.searchExp });
|
|
7434
7672
|
}
|
|
7435
7673
|
}
|
|
7436
|
-
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$
|
|
7674
|
+
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 });
|
|
7437
7675
|
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: [
|
|
7438
7676
|
{ provide: AXClosbaleComponent, useExisting: AXSelectBoxComponent },
|
|
7439
7677
|
{ provide: AXSearchableComponent, useExisting: AXSelectBoxComponent }
|
|
7440
|
-
], 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 });
|
|
7678
|
+
], 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 });
|
|
7441
7679
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXSelectBoxComponent, decorators: [{
|
|
7442
7680
|
type: Component,
|
|
7443
7681
|
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: [
|
|
7444
7682
|
{ provide: AXClosbaleComponent, useExisting: AXSelectBoxComponent },
|
|
7445
7683
|
{ provide: AXSearchableComponent, useExisting: AXSelectBoxComponent }
|
|
7446
7684
|
], 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>" }]
|
|
7447
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: i0.NgZone }, { type: i1$
|
|
7685
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: i0.NgZone }, { type: i1$4.AXPlatform }]; }, propDecorators: { popover: [{
|
|
7448
7686
|
type: ViewChild,
|
|
7449
7687
|
args: [AXPopoverComponent, { static: true }]
|
|
7450
7688
|
}], _searchBox: [{
|
|
@@ -8782,5 +9020,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.9", ngImpor
|
|
|
8782
9020
|
* Generated bundle index. Do not edit.
|
|
8783
9021
|
*/
|
|
8784
9022
|
|
|
8785
|
-
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 };
|
|
9023
|
+
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 };
|
|
8786
9024
|
//# sourceMappingURL=acorex-components.mjs.map
|