@acorex/components 4.1.7 → 4.1.8
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/base-page.class.mjs +3 -1
- package/esm2020/lib/checkbox/checkbox.component.mjs +3 -3
- package/esm2020/lib/property-editor/editors/selectbox-editor/selectbox.editor.mjs +12 -5
- package/esm2020/lib/property-editor/editors/selection-editor/selection-editor.mjs +3 -3
- package/esm2020/lib/property-editor/property-editor.class.mjs +7 -6
- package/esm2020/lib/property-editor/property-editor.module.mjs +41 -17
- package/esm2020/lib/selection-list/selection-list.component.mjs +3 -3
- package/esm2020/lib/tab-page/tab-page-Renderer.component.mjs +3 -1
- package/esm2020/lib/tab-page/tab-page-host.component.mjs +8 -1
- package/fesm2015/acorex-components.mjs +658 -468
- package/fesm2015/acorex-components.mjs.map +1 -1
- package/fesm2020/acorex-components.mjs +647 -458
- package/fesm2020/acorex-components.mjs.map +1 -1
- package/lib/base/base-page.class.d.ts +1 -0
- package/lib/checkbox/checkbox.component.d.ts +2 -2
- package/lib/property-editor/editors/selectbox-editor/selectbox.editor.d.ts +2 -1
- package/lib/property-editor/property-editor.class.d.ts +23 -0
- package/lib/property-editor/property-editor.module.d.ts +4 -2
- package/lib/selection-list/selection-list.component.d.ts +2 -2
- package/lib/tab-page/tab-page-host.component.d.ts +1 -2
- package/package.json +1 -1
- package/esm2020/lib/search-bar/search-bar.component.mjs +0 -132
- package/esm2020/lib/search-bar/search-bar.module.mjs +0 -27
- package/lib/search-bar/search-bar.component.d.ts +0 -37
- package/lib/search-bar/search-bar.module.d.ts +0 -16
|
@@ -781,6 +781,8 @@ class AXBasePageComponent {
|
|
|
781
781
|
}
|
|
782
782
|
onClosing(e) {
|
|
783
783
|
}
|
|
784
|
+
onActivated() {
|
|
785
|
+
}
|
|
784
786
|
ngOnDestroy() {
|
|
785
787
|
this.onClosed.unsubscribe();
|
|
786
788
|
}
|
|
@@ -3075,7 +3077,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
3075
3077
|
|
|
3076
3078
|
class AXCheckBoxItemClick extends AXHtmlEvent {
|
|
3077
3079
|
}
|
|
3078
|
-
class AXCheckBoxComponent extends
|
|
3080
|
+
class AXCheckBoxComponent extends AXValidatableComponent {
|
|
3079
3081
|
constructor(cdr, ref) {
|
|
3080
3082
|
super();
|
|
3081
3083
|
this.cdr = cdr;
|
|
@@ -3431,7 +3433,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
3431
3433
|
type: Input
|
|
3432
3434
|
}] } });
|
|
3433
3435
|
|
|
3434
|
-
class AXSelectionListComponent extends
|
|
3436
|
+
class AXSelectionListComponent extends AXValidatableComponent {
|
|
3435
3437
|
constructor(cdr) {
|
|
3436
3438
|
super();
|
|
3437
3439
|
this.cdr = cdr;
|
|
@@ -10318,6 +10320,13 @@ class AXTabPageHostComponent {
|
|
|
10318
10320
|
ngOnInit() {
|
|
10319
10321
|
this.isLoading = true;
|
|
10320
10322
|
}
|
|
10323
|
+
active() {
|
|
10324
|
+
const func = this.componentRef?.instance?.onActivated;
|
|
10325
|
+
if (func) {
|
|
10326
|
+
const f = func.bind(this.componentRef.instance);
|
|
10327
|
+
f();
|
|
10328
|
+
}
|
|
10329
|
+
}
|
|
10321
10330
|
async ngAfterViewInit() {
|
|
10322
10331
|
this._loadingId = this.loadingService.show(this.ref.nativeElement.querySelector('.ax-tab-page-host-container'));
|
|
10323
10332
|
//
|
|
@@ -10422,6 +10431,7 @@ class AXTabPageRendererComponent {
|
|
|
10422
10431
|
if (v) {
|
|
10423
10432
|
v.location.nativeElement.hidden = false;
|
|
10424
10433
|
v.changeDetectorRef.reattach();
|
|
10434
|
+
v.instance.active();
|
|
10425
10435
|
}
|
|
10426
10436
|
else {
|
|
10427
10437
|
try {
|
|
@@ -10433,6 +10443,7 @@ class AXTabPageRendererComponent {
|
|
|
10433
10443
|
this.childs.push(componentRef);
|
|
10434
10444
|
setTimeout(() => {
|
|
10435
10445
|
componentRef.changeDetectorRef.detectChanges();
|
|
10446
|
+
//host.active();
|
|
10436
10447
|
}, 10);
|
|
10437
10448
|
}
|
|
10438
10449
|
catch (error) {
|
|
@@ -13335,6 +13346,7 @@ class AXProperyEditorComponent {
|
|
|
13335
13346
|
return this._value;
|
|
13336
13347
|
}
|
|
13337
13348
|
set value(v) {
|
|
13349
|
+
console.log('value set');
|
|
13338
13350
|
if (v !== this._value) {
|
|
13339
13351
|
this._value = v;
|
|
13340
13352
|
this.valueChange.emit(v);
|
|
@@ -13370,7 +13382,7 @@ class AXPropertyDecorator {
|
|
|
13370
13382
|
// @dynamic
|
|
13371
13383
|
class AXPropertyDecorators {
|
|
13372
13384
|
static register(cls, property, options) {
|
|
13373
|
-
const item = AXPropertyDecorators.REGISTRY.find(c => c.cls === cls && c.property === property);
|
|
13385
|
+
const item = AXPropertyDecorators.REGISTRY.find((c) => c.cls === cls && c.property === property);
|
|
13374
13386
|
if (item) {
|
|
13375
13387
|
item.options = options;
|
|
13376
13388
|
}
|
|
@@ -13379,14 +13391,14 @@ class AXPropertyDecorators {
|
|
|
13379
13391
|
}
|
|
13380
13392
|
}
|
|
13381
13393
|
static has(cls, property) {
|
|
13382
|
-
return AXPropertyDecorators.REGISTRY.some(c => c.cls === cls && c.property === property);
|
|
13394
|
+
return AXPropertyDecorators.REGISTRY.some((c) => c.cls === cls && c.property === property);
|
|
13383
13395
|
}
|
|
13384
13396
|
static get(cls, property) {
|
|
13385
|
-
return AXPropertyDecorators.REGISTRY.find(c => c.cls === cls && c.property === property);
|
|
13397
|
+
return AXPropertyDecorators.REGISTRY.find((c) => c.cls === cls && c.property === property);
|
|
13386
13398
|
}
|
|
13387
13399
|
static isValid(property) {
|
|
13388
13400
|
if (property) {
|
|
13389
|
-
return AXPropertyDecorators.REGISTRY.some(c => c.property === property);
|
|
13401
|
+
return AXPropertyDecorators.REGISTRY.some((c) => c.property === property);
|
|
13390
13402
|
}
|
|
13391
13403
|
return false;
|
|
13392
13404
|
}
|
|
@@ -13398,7 +13410,7 @@ class AXPropertyDecorators {
|
|
|
13398
13410
|
p.push(superClass.constructor);
|
|
13399
13411
|
superClass = Object.getPrototypeOf(superClass);
|
|
13400
13412
|
}
|
|
13401
|
-
list.push(...AXPropertyDecorators.REGISTRY.filter(c => p.includes(c.cls.constructor)));
|
|
13413
|
+
list.push(...AXPropertyDecorators.REGISTRY.filter((c) => p.includes(c.cls.constructor)));
|
|
13402
13414
|
return list;
|
|
13403
13415
|
}
|
|
13404
13416
|
}
|
|
@@ -13557,198 +13569,75 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
13557
13569
|
type: Output
|
|
13558
13570
|
}] } });
|
|
13559
13571
|
|
|
13560
|
-
class
|
|
13561
|
-
constructor(cdr) {
|
|
13562
|
-
super(cdr);
|
|
13563
|
-
this.cdr = cdr;
|
|
13564
|
-
this.clearButton = false;
|
|
13565
|
-
}
|
|
13566
|
-
handleValueChange(e) {
|
|
13567
|
-
super.handleValueChange(e.value);
|
|
13568
|
-
}
|
|
13569
|
-
ngAfterViewInit() {
|
|
13570
|
-
this.registerForValidationForm(this.textBox);
|
|
13571
|
-
this.onRenderCompleted.emit();
|
|
13572
|
-
}
|
|
13573
|
-
}
|
|
13574
|
-
AXTextPropertyEditorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXTextPropertyEditorComponent, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
13575
|
-
AXTextPropertyEditorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: AXTextPropertyEditorComponent, selector: "ng-component", viewQueries: [{ propertyName: "textBox", first: true, predicate: AXTextBoxComponent, descendants: true }], usesInheritance: true, ngImport: i0, template: "<ax-text-box (onValueChanged)=\"handleValueChange($event)\" [value]=\"value\" [readonly]=\"readonly\" [allowClear]=\"clearButton\">\r\n <ax-validation [rules]=\"validation?.rules\">\r\n </ax-validation>\r\n</ax-text-box>", components: [{ type: AXTextBoxComponent, selector: "ax-text-box", inputs: ["mask", "type", "showMask", "maxLength", "maskGuid", "maskPlaceholder", "maskKeepCharPositions"] }, { type: AXValidationComponent, selector: "ax-validation", inputs: ["rules", "validateOn"], outputs: ["rulesChange", "showMessage"] }] });
|
|
13576
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXTextPropertyEditorComponent, decorators: [{
|
|
13577
|
-
type: Component,
|
|
13578
|
-
args: [{ template: "<ax-text-box (onValueChanged)=\"handleValueChange($event)\" [value]=\"value\" [readonly]=\"readonly\" [allowClear]=\"clearButton\">\r\n <ax-validation [rules]=\"validation?.rules\">\r\n </ax-validation>\r\n</ax-text-box>" }]
|
|
13579
|
-
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }]; }, propDecorators: { textBox: [{
|
|
13580
|
-
type: ViewChild,
|
|
13581
|
-
args: [AXTextBoxComponent]
|
|
13582
|
-
}] } });
|
|
13583
|
-
|
|
13584
|
-
class AXTextPropertyEditorModule {
|
|
13585
|
-
constructor() {
|
|
13586
|
-
}
|
|
13587
|
-
}
|
|
13588
|
-
AXTextPropertyEditorModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXTextPropertyEditorModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
13589
|
-
AXTextPropertyEditorModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXTextPropertyEditorModule, declarations: [AXTextPropertyEditorComponent], imports: [CommonModule, FormsModule, AXTextBoxModule, AXValidationModule], exports: [AXTextPropertyEditorComponent] });
|
|
13590
|
-
AXTextPropertyEditorModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXTextPropertyEditorModule, providers: [], imports: [[CommonModule, FormsModule, AXTextBoxModule, AXValidationModule]] });
|
|
13591
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXTextPropertyEditorModule, decorators: [{
|
|
13592
|
-
type: NgModule,
|
|
13593
|
-
args: [{
|
|
13594
|
-
declarations: [AXTextPropertyEditorComponent],
|
|
13595
|
-
imports: [CommonModule, FormsModule, AXTextBoxModule, AXValidationModule],
|
|
13596
|
-
exports: [AXTextPropertyEditorComponent],
|
|
13597
|
-
providers: []
|
|
13598
|
-
}]
|
|
13599
|
-
}], ctorParameters: function () { return []; } });
|
|
13600
|
-
|
|
13601
|
-
class AXNumberBoxPropertyEditorComponent extends AXProperyEditorComponent {
|
|
13572
|
+
class AXCheckBoxPropertyEditorComponent extends AXProperyEditorComponent {
|
|
13602
13573
|
constructor(cdr) {
|
|
13603
13574
|
super(cdr);
|
|
13604
13575
|
this.cdr = cdr;
|
|
13605
|
-
this.
|
|
13606
|
-
this.
|
|
13607
|
-
this.
|
|
13608
|
-
this.
|
|
13609
|
-
this.clearButton = false;
|
|
13576
|
+
this.disabled = false;
|
|
13577
|
+
this.indeterminate = false;
|
|
13578
|
+
this.readonly = false;
|
|
13579
|
+
this.size = 'md';
|
|
13610
13580
|
}
|
|
13611
13581
|
handleValueChange(e) {
|
|
13612
13582
|
super.handleValueChange(e.value);
|
|
13613
13583
|
}
|
|
13614
13584
|
ngAfterViewInit() {
|
|
13615
|
-
this.registerForValidationForm(this.
|
|
13585
|
+
this.registerForValidationForm(this.checkBox);
|
|
13616
13586
|
this.onRenderCompleted.emit();
|
|
13617
13587
|
}
|
|
13618
13588
|
}
|
|
13619
|
-
|
|
13620
|
-
|
|
13621
|
-
|
|
13622
|
-
|
|
13623
|
-
|
|
13624
|
-
|
|
13625
|
-
|
|
13626
|
-
|
|
13627
|
-
|
|
13628
|
-
|
|
13629
|
-
|
|
13630
|
-
|
|
13631
|
-
</ax-
|
|
13632
|
-
|
|
13633
|
-
|
|
13589
|
+
AXCheckBoxPropertyEditorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXCheckBoxPropertyEditorComponent, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
13590
|
+
AXCheckBoxPropertyEditorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: AXCheckBoxPropertyEditorComponent, selector: "ng-component", viewQueries: [{ propertyName: "checkBox", first: true, predicate: AXCheckBoxComponent, descendants: true, static: true }], usesInheritance: true, ngImport: i0, template: `
|
|
13591
|
+
<ax-check-box
|
|
13592
|
+
[disabled]="disabled"
|
|
13593
|
+
[label]="label"
|
|
13594
|
+
[size]="size"
|
|
13595
|
+
[indeterminate]="indeterminate"
|
|
13596
|
+
[readonly]="readonly"
|
|
13597
|
+
[value]="value"
|
|
13598
|
+
(onValueChanged)="handleValueChange($event)"
|
|
13599
|
+
>
|
|
13600
|
+
<ax-validation [rules]="validation?.rules">
|
|
13601
|
+
</ax-validation>
|
|
13602
|
+
</ax-check-box>
|
|
13603
|
+
`, isInline: true, components: [{ type: AXCheckBoxComponent, selector: "ax-check-box", inputs: ["readonly", "disabled", "size", "label", "tabIndex", "indeterminate", "value"], outputs: ["onValueChanged", "valueChange", "onClick"] }, { type: AXValidationComponent, selector: "ax-validation", inputs: ["rules", "validateOn"], outputs: ["rulesChange", "showMessage"] }] });
|
|
13604
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXCheckBoxPropertyEditorComponent, decorators: [{
|
|
13634
13605
|
type: Component,
|
|
13635
13606
|
args: [{
|
|
13636
13607
|
template: `
|
|
13637
|
-
|
|
13638
|
-
|
|
13639
|
-
|
|
13640
|
-
|
|
13641
|
-
|
|
13642
|
-
|
|
13643
|
-
|
|
13644
|
-
|
|
13645
|
-
|
|
13646
|
-
|
|
13647
|
-
</ax-
|
|
13608
|
+
<ax-check-box
|
|
13609
|
+
[disabled]="disabled"
|
|
13610
|
+
[label]="label"
|
|
13611
|
+
[size]="size"
|
|
13612
|
+
[indeterminate]="indeterminate"
|
|
13613
|
+
[readonly]="readonly"
|
|
13614
|
+
[value]="value"
|
|
13615
|
+
(onValueChanged)="handleValueChange($event)"
|
|
13616
|
+
>
|
|
13617
|
+
<ax-validation [rules]="validation?.rules">
|
|
13618
|
+
</ax-validation>
|
|
13619
|
+
</ax-check-box>
|
|
13648
13620
|
`,
|
|
13649
13621
|
}]
|
|
13650
|
-
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }]; }, propDecorators: {
|
|
13651
|
-
type: ViewChild,
|
|
13652
|
-
args: [AXNumberBoxComponent]
|
|
13653
|
-
}] } });
|
|
13654
|
-
|
|
13655
|
-
class AXNumberBoxPropertyEditorModule {
|
|
13656
|
-
constructor() {
|
|
13657
|
-
}
|
|
13658
|
-
}
|
|
13659
|
-
AXNumberBoxPropertyEditorModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXNumberBoxPropertyEditorModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
13660
|
-
AXNumberBoxPropertyEditorModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXNumberBoxPropertyEditorModule, declarations: [AXNumberBoxPropertyEditorComponent], imports: [CommonModule, FormsModule, AXNumberBoxModule, AXValidationModule], exports: [AXNumberBoxPropertyEditorComponent] });
|
|
13661
|
-
AXNumberBoxPropertyEditorModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXNumberBoxPropertyEditorModule, providers: [], imports: [[CommonModule, FormsModule, AXNumberBoxModule, AXValidationModule]] });
|
|
13662
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXNumberBoxPropertyEditorModule, decorators: [{
|
|
13663
|
-
type: NgModule,
|
|
13664
|
-
args: [{
|
|
13665
|
-
declarations: [AXNumberBoxPropertyEditorComponent],
|
|
13666
|
-
imports: [CommonModule, FormsModule, AXNumberBoxModule, AXValidationModule],
|
|
13667
|
-
exports: [AXNumberBoxPropertyEditorComponent],
|
|
13668
|
-
providers: []
|
|
13669
|
-
}]
|
|
13670
|
-
}], ctorParameters: function () { return []; } });
|
|
13671
|
-
|
|
13672
|
-
class AXSelectBoxPropertyEditorComponent extends AXProperyEditorComponent {
|
|
13673
|
-
constructor(cdr) {
|
|
13674
|
-
super(cdr);
|
|
13675
|
-
this.cdr = cdr;
|
|
13676
|
-
this.valueField = 'id';
|
|
13677
|
-
this.textField = 'text';
|
|
13678
|
-
this.selectionMode = 'single';
|
|
13679
|
-
this.selectionDataMode = 'value';
|
|
13680
|
-
this.allowSearch = true;
|
|
13681
|
-
this.allowNull = false;
|
|
13682
|
-
this.disabled = false;
|
|
13683
|
-
this.items = [];
|
|
13684
|
-
this.remoteOperation = false;
|
|
13685
|
-
this.provideData = (e) => {
|
|
13686
|
-
return new Promise((resolve) => {
|
|
13687
|
-
const func = () => {
|
|
13688
|
-
if (Array.isArray(this.items)) {
|
|
13689
|
-
resolve(this.items.slice());
|
|
13690
|
-
}
|
|
13691
|
-
else if (typeof this.items === 'function') {
|
|
13692
|
-
const a = Object.assign(e, { sender: this });
|
|
13693
|
-
resolve(this.items(a));
|
|
13694
|
-
}
|
|
13695
|
-
else {
|
|
13696
|
-
resolve([]);
|
|
13697
|
-
}
|
|
13698
|
-
};
|
|
13699
|
-
const intVal = setInterval(() => {
|
|
13700
|
-
if (this.initiated) {
|
|
13701
|
-
func();
|
|
13702
|
-
clearInterval(intVal);
|
|
13703
|
-
}
|
|
13704
|
-
}, 50);
|
|
13705
|
-
});
|
|
13706
|
-
};
|
|
13707
|
-
}
|
|
13708
|
-
get filter() {
|
|
13709
|
-
return this._filter;
|
|
13710
|
-
}
|
|
13711
|
-
set filter(v) {
|
|
13712
|
-
this._filter = v;
|
|
13713
|
-
if (this.value && this.initiated) {
|
|
13714
|
-
this.value = null;
|
|
13715
|
-
this.selectBox?.refresh();
|
|
13716
|
-
}
|
|
13717
|
-
}
|
|
13718
|
-
handleValueChange(e) {
|
|
13719
|
-
super.handleValueChange(e.selectedValues);
|
|
13720
|
-
}
|
|
13721
|
-
ngAfterViewInit() {
|
|
13722
|
-
this.registerForValidationForm(this.selectBox);
|
|
13723
|
-
this.onRenderCompleted.emit();
|
|
13724
|
-
}
|
|
13725
|
-
}
|
|
13726
|
-
AXSelectBoxPropertyEditorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXSelectBoxPropertyEditorComponent, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
13727
|
-
AXSelectBoxPropertyEditorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: AXSelectBoxPropertyEditorComponent, selector: "ng-component", viewQueries: [{ propertyName: "selectBox", first: true, predicate: AXSelectBoxComponent, descendants: true, static: true }], usesInheritance: true, ngImport: i0, template: "<ax-select-box [mode]=\"selectionMode\"\r\n [textField]=\"textField\" \r\n [valueField]=\"valueField\" \r\n [selectedValues]=\"value\" \r\n [remoteOperation]=\"remoteOperation\"\r\n [allowSearch]=\"allowSearch\" \r\n [allowNull]=\"allowNull\"\r\n [readonly]=\"readonly\"\r\n [disabled]=\"disabled\"\r\n (selectionChanged)=\"handleValueChange($event)\">\r\n <ax-data-source [provideData]=\"provideData\">\r\n </ax-data-source>\r\n <ax-validation [rules]=\"validation?.rules\">\r\n </ax-validation>\r\n</ax-select-box>", components: [{ type: AXSelectBoxComponent, selector: "ax-select-box", inputs: ["showDropDownButton", "rowInputTemplate", "showCheckBox", "readonly", "rtl", "disabled", "placeholder", "size", "allowNull", "textAlign", "bufferSize", "remoteOperation", "dataSource", "validation", "disabledCallback", "allowSearch", "textField", "valueField", "disabledField", "mode", "items", "selectedItems", "selectedValues"], outputs: ["dropdownToggle", "itemsChange", "onBlur", "onFocus", "selectionChanged", "selectedItemsChange", "selectedValuesChange"] }, { type: AXDataSourceComponent, selector: "ax-data-source", inputs: ["provideData", "params"] }, { type: AXValidationComponent, selector: "ax-validation", inputs: ["rules", "validateOn"], outputs: ["rulesChange", "showMessage"] }] });
|
|
13728
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXSelectBoxPropertyEditorComponent, decorators: [{
|
|
13729
|
-
type: Component,
|
|
13730
|
-
args: [{ template: "<ax-select-box [mode]=\"selectionMode\"\r\n [textField]=\"textField\" \r\n [valueField]=\"valueField\" \r\n [selectedValues]=\"value\" \r\n [remoteOperation]=\"remoteOperation\"\r\n [allowSearch]=\"allowSearch\" \r\n [allowNull]=\"allowNull\"\r\n [readonly]=\"readonly\"\r\n [disabled]=\"disabled\"\r\n (selectionChanged)=\"handleValueChange($event)\">\r\n <ax-data-source [provideData]=\"provideData\">\r\n </ax-data-source>\r\n <ax-validation [rules]=\"validation?.rules\">\r\n </ax-validation>\r\n</ax-select-box>" }]
|
|
13731
|
-
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }]; }, propDecorators: { selectBox: [{
|
|
13622
|
+
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }]; }, propDecorators: { checkBox: [{
|
|
13732
13623
|
type: ViewChild,
|
|
13733
|
-
args: [
|
|
13624
|
+
args: [AXCheckBoxComponent, { static: true }]
|
|
13734
13625
|
}] } });
|
|
13735
13626
|
|
|
13736
|
-
class
|
|
13737
|
-
constructor() {
|
|
13738
|
-
}
|
|
13627
|
+
class AXCheckPropertyEditorModule {
|
|
13739
13628
|
}
|
|
13740
|
-
|
|
13741
|
-
|
|
13742
|
-
|
|
13743
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type:
|
|
13629
|
+
AXCheckPropertyEditorModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXCheckPropertyEditorModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
13630
|
+
AXCheckPropertyEditorModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXCheckPropertyEditorModule, declarations: [AXCheckBoxPropertyEditorComponent], imports: [CommonModule, AXCheckBoxModule, FormsModule, AXValidationModule], exports: [AXCheckBoxPropertyEditorComponent] });
|
|
13631
|
+
AXCheckPropertyEditorModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXCheckPropertyEditorModule, providers: [], imports: [[CommonModule, AXCheckBoxModule, FormsModule, AXValidationModule]] });
|
|
13632
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXCheckPropertyEditorModule, decorators: [{
|
|
13744
13633
|
type: NgModule,
|
|
13745
13634
|
args: [{
|
|
13746
|
-
declarations: [
|
|
13747
|
-
imports: [CommonModule,
|
|
13748
|
-
exports: [
|
|
13749
|
-
providers: []
|
|
13635
|
+
declarations: [AXCheckBoxPropertyEditorComponent],
|
|
13636
|
+
imports: [CommonModule, AXCheckBoxModule, FormsModule, AXValidationModule],
|
|
13637
|
+
exports: [AXCheckBoxPropertyEditorComponent],
|
|
13638
|
+
providers: [],
|
|
13750
13639
|
}]
|
|
13751
|
-
}]
|
|
13640
|
+
}] });
|
|
13752
13641
|
|
|
13753
13642
|
class AXColorBoxComponent extends AXValidatableComponent {
|
|
13754
13643
|
constructor() {
|
|
@@ -14238,225 +14127,55 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
14238
14127
|
type: Input
|
|
14239
14128
|
}] } });
|
|
14240
14129
|
|
|
14241
|
-
class
|
|
14242
|
-
constructor(cdr
|
|
14130
|
+
class AXColorPropertyEditorComponent extends AXProperyEditorComponent {
|
|
14131
|
+
constructor(cdr) {
|
|
14243
14132
|
super(cdr);
|
|
14244
14133
|
this.cdr = cdr;
|
|
14245
|
-
this.popupService = popupService;
|
|
14246
|
-
this.ranges = [];
|
|
14247
|
-
this.showSeparator = true;
|
|
14248
|
-
this.decimalNumber = 2;
|
|
14249
|
-
}
|
|
14250
|
-
ngOnInit() {
|
|
14251
|
-
this.ranges = this.value ? JSON.parse(JSON.stringify(this.value)) : [];
|
|
14252
|
-
this.cdr.detectChanges();
|
|
14253
14134
|
}
|
|
14254
14135
|
ngAfterViewInit() {
|
|
14136
|
+
this.registerForValidationForm(this.textBox);
|
|
14255
14137
|
this.onRenderCompleted.emit();
|
|
14256
14138
|
}
|
|
14257
|
-
|
|
14258
|
-
|
|
14259
|
-
|
|
14260
|
-
|
|
14261
|
-
|
|
14262
|
-
|
|
14263
|
-
|
|
14264
|
-
|
|
14265
|
-
|
|
14266
|
-
|
|
14267
|
-
|
|
14268
|
-
|
|
14269
|
-
|
|
14270
|
-
|
|
14271
|
-
|
|
14272
|
-
|
|
14273
|
-
|
|
14274
|
-
|
|
14275
|
-
|
|
14276
|
-
|
|
14277
|
-
|
|
14278
|
-
|
|
14279
|
-
|
|
14280
|
-
|
|
14281
|
-
|
|
14282
|
-
|
|
14283
|
-
|
|
14284
|
-
|
|
14285
|
-
|
|
14286
|
-
|
|
14287
|
-
|
|
14288
|
-
|
|
14289
|
-
|
|
14290
|
-
|
|
14291
|
-
|
|
14292
|
-
|
|
14293
|
-
|
|
14294
|
-
|
|
14295
|
-
|
|
14296
|
-
|
|
14297
|
-
}
|
|
14298
|
-
],
|
|
14299
|
-
title: AXTranslator.get('common.edit')
|
|
14300
|
-
});
|
|
14301
|
-
}
|
|
14302
|
-
handleAddClick() {
|
|
14303
|
-
const min = this.ranges?.length ? Math.max(...this.ranges.map(c => c.maxValue)) : 0;
|
|
14304
|
-
this.editRow = {
|
|
14305
|
-
title: '',
|
|
14306
|
-
minValue: min,
|
|
14307
|
-
maxValue: min + 1,
|
|
14308
|
-
color: null
|
|
14309
|
-
};
|
|
14310
|
-
const popup = this.popupService.open(this.tplEdit, {
|
|
14311
|
-
title: AXTranslator.get('common.add-item'),
|
|
14312
|
-
size: 'sm',
|
|
14313
|
-
footerButtons: [
|
|
14314
|
-
{
|
|
14315
|
-
name: 'confirm',
|
|
14316
|
-
text: AXTranslator.get('common.confirm'),
|
|
14317
|
-
style: 'success',
|
|
14318
|
-
submitBehavior: true,
|
|
14319
|
-
cancelBehavior: false,
|
|
14320
|
-
onClick: () => {
|
|
14321
|
-
this.form.validate().then(c => {
|
|
14322
|
-
if (c.result) {
|
|
14323
|
-
super.handleValueChange(this.ranges);
|
|
14324
|
-
this.ranges.push(this.editRow);
|
|
14325
|
-
popup.close();
|
|
14326
|
-
this.editRow = null;
|
|
14327
|
-
this.cdr.detectChanges();
|
|
14328
|
-
}
|
|
14329
|
-
});
|
|
14330
|
-
}
|
|
14331
|
-
},
|
|
14332
|
-
{
|
|
14333
|
-
name: 'cancel',
|
|
14334
|
-
text: AXTranslator.get('common.cancel'),
|
|
14335
|
-
style: 'danger blank',
|
|
14336
|
-
submitBehavior: false,
|
|
14337
|
-
cancelBehavior: true,
|
|
14338
|
-
onClick: () => {
|
|
14339
|
-
popup.close();
|
|
14340
|
-
this.editRow = null;
|
|
14341
|
-
this.cdr.detectChanges();
|
|
14342
|
-
}
|
|
14343
|
-
}
|
|
14344
|
-
],
|
|
14345
|
-
});
|
|
14346
|
-
this.cdr.detectChanges();
|
|
14347
|
-
}
|
|
14348
|
-
handleRemoveClick(item) {
|
|
14349
|
-
this.ranges = this.ranges.filter(c => c.minValue !== item.minValue);
|
|
14350
|
-
super.handleValueChange(this.ranges);
|
|
14351
|
-
}
|
|
14352
|
-
}
|
|
14353
|
-
AXRangePropertyEditorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXRangePropertyEditorComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: AXPopupService }], target: i0.ɵɵFactoryTarget.Component });
|
|
14354
|
-
AXRangePropertyEditorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: AXRangePropertyEditorComponent, selector: "ng-component", viewQueries: [{ propertyName: "tplEdit", first: true, predicate: ["tplEdit"], descendants: true }], usesInheritance: true, ngImport: i0, template: "<div *ngFor=\"let r of ranges\" [style.border-color]=\"r.color\" class=\"range-item\" (click)=\"handleEditClick(r)\">\r\n <div>\r\n <div [style.background-color]=\"r.color\"></div>\r\n <div>{{r.title}}</div>\r\n </div>\r\n <div>\r\n <div class=\"min\" title=\"minimum {{r.minValue}}\">{{r.minValue}}</div>\r\n <div>\r\n <i class=\"far fa-long-arrow-left\"></i>\r\n </div>\r\n <div class=\"max\" title=\"maxmimum {{r.maxValue}}\">{{r.maxValue}}</div>\r\n <div class=\"remove-button\" (click)=\"handleRemoveClick(r)\"><i class=\"far fa-trash-alt\"></i></div>\r\n </div>\r\n</div>\r\n<ax-button icon=\"far fa-plus\" type=\"success outline\" (click)=\"handleAddClick()\">{{ 'common.add-item' | trans }}\r\n</ax-button>\r\n<ng-template #tplEdit>\r\n <ax-page>\r\n <ax-page-content>\r\n <div class=\"container\">\r\n <ax-validation-form (onInit)=\"onFormInit($event)\">\r\n <div class=\"row\">\r\n <div class=\"col-12\">\r\n <ax-label>{{ 'common.title' | trans }}</ax-label>\r\n <ax-text-box [(value)]=\"editRow.title\">\r\n <ax-validation>\r\n <ax-validation-rule type=\"required\"></ax-validation-rule>\r\n </ax-validation>\r\n </ax-text-box>\r\n </div>\r\n </div>\r\n <div class=\"row\">\r\n <div class=\"col-6\">\r\n <ax-label>{{ 'common.min-value' | trans }}</ax-label>\r\n <ax-number-box [(value)]=\"editRow.minValue\" [showSeparator]=\"showSeparator\"\r\n [decimalNumber]=\"decimalNumber\">\r\n <ax-validation>\r\n <ax-validation-rule type=\"required\"></ax-validation-rule>\r\n </ax-validation>\r\n </ax-number-box>\r\n </div>\r\n <div class=\"col-6\">\r\n <ax-label>{{ 'common.max-value' | trans }}</ax-label>\r\n <ax-number-box [(value)]=\"editRow.maxValue\" [showSeparator]=\"showSeparator\"\r\n [decimalNumber]=\"decimalNumber\">\r\n <ax-validation>\r\n <ax-validation-rule type=\"required\"></ax-validation-rule>\r\n </ax-validation>\r\n </ax-number-box>\r\n </div>\r\n </div>\r\n <div class=\"row\">\r\n <div class=\"col-12\">\r\n <ax-label>{{ 'common.color' | trans }}</ax-label>\r\n <ax-color-picker [(value)]=\"editRow.color\">\r\n <ax-validation>\r\n <ax-validation-rule type=\"required\"></ax-validation-rule>\r\n </ax-validation>\r\n </ax-color-picker>\r\n </div>\r\n </div>\r\n </ax-validation-form>\r\n </div>\r\n <div class=\"ax-mrg-md\"></div>\r\n </ax-page-content>\r\n </ax-page>\r\n</ng-template>", styles: [".range-item{border:1px solid var(--ax-gray-color);margin-bottom:5px;display:flex;padding:5px;border-radius:5px;justify-content:space-between;align-items:center;cursor:pointer}.range-item .remove-button{color:var(--ax-danger-color);padding:var(--ax-size-sm);display:flex;justify-content:center;cursor:pointer}.range-item .remove-button:hover{background-color:var(--ax-danger-trans-light-color)}.range-item div:first-child{display:flex;align-items:center}.range-item div:first-child div:first-child{width:25px;height:25px;border-radius:3px}.range-item div:first-child div:last-child{-webkit-margin-start:10px;margin-inline-start:10px}.range-item div:last-child{display:flex;align-items:center}.range-item div:last-child button{background-color:transparent;border:none;cursor:pointer}.range-item div:last-child button i{color:var(--ax-danger-color)}.range-item div:last-child div{min-width:40px}.range-item div:last-child div.min{color:var(--ax-danger-color)}.range-item div:last-child div.max{color:var(--ax-success-color)}\n"], components: [{ type: AXButtonComponent, selector: "ax-button", inputs: ["type", "icon", "submitBehavior", "cancelBehavior", "block", "loading", "selected"] }, { type: AXPageComponent, selector: "ax-page" }, { type: AXPageContentComponent, selector: "ax-page-content" }, { type: AXValidationFormComponent, selector: "ax-validation-form", inputs: ["validateOn"], outputs: ["onInit"] }, { type: AXLabelComponent, selector: "ax-label", inputs: ["size"] }, { type: AXTextBoxComponent, selector: "ax-text-box", inputs: ["mask", "type", "showMask", "maxLength", "maskGuid", "maskPlaceholder", "maskKeepCharPositions"] }, { type: AXValidationComponent, selector: "ax-validation", inputs: ["rules", "validateOn"], outputs: ["rulesChange", "showMessage"] }, { type: AXValidationRuleComponent, selector: "ax-validation-rule", inputs: ["type", "message", "value", "enabled"] }, { type: AXNumberBoxComponent, selector: "ax-number-box", inputs: ["min", "max", "showSeparator", "showCurrency", "showCounter", "scrollWeel", "showDoubleCounter", "maxLength", "intStep", "decimalNumber", "customStep"] }, { type: AXColorPickerComponent, selector: "ax-color-picker", inputs: ["placeholder", "showClear", "label", "readonly", "disabled", "size", "rtl", "validation"] }], directives: [{ type: i1$1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }], pipes: { "trans": i1$2.AXTranslatorPipe }, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
14355
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXRangePropertyEditorComponent, decorators: [{
|
|
14356
|
-
type: Component,
|
|
14357
|
-
args: [{ changeDetection: ChangeDetectionStrategy.OnPush, template: "<div *ngFor=\"let r of ranges\" [style.border-color]=\"r.color\" class=\"range-item\" (click)=\"handleEditClick(r)\">\r\n <div>\r\n <div [style.background-color]=\"r.color\"></div>\r\n <div>{{r.title}}</div>\r\n </div>\r\n <div>\r\n <div class=\"min\" title=\"minimum {{r.minValue}}\">{{r.minValue}}</div>\r\n <div>\r\n <i class=\"far fa-long-arrow-left\"></i>\r\n </div>\r\n <div class=\"max\" title=\"maxmimum {{r.maxValue}}\">{{r.maxValue}}</div>\r\n <div class=\"remove-button\" (click)=\"handleRemoveClick(r)\"><i class=\"far fa-trash-alt\"></i></div>\r\n </div>\r\n</div>\r\n<ax-button icon=\"far fa-plus\" type=\"success outline\" (click)=\"handleAddClick()\">{{ 'common.add-item' | trans }}\r\n</ax-button>\r\n<ng-template #tplEdit>\r\n <ax-page>\r\n <ax-page-content>\r\n <div class=\"container\">\r\n <ax-validation-form (onInit)=\"onFormInit($event)\">\r\n <div class=\"row\">\r\n <div class=\"col-12\">\r\n <ax-label>{{ 'common.title' | trans }}</ax-label>\r\n <ax-text-box [(value)]=\"editRow.title\">\r\n <ax-validation>\r\n <ax-validation-rule type=\"required\"></ax-validation-rule>\r\n </ax-validation>\r\n </ax-text-box>\r\n </div>\r\n </div>\r\n <div class=\"row\">\r\n <div class=\"col-6\">\r\n <ax-label>{{ 'common.min-value' | trans }}</ax-label>\r\n <ax-number-box [(value)]=\"editRow.minValue\" [showSeparator]=\"showSeparator\"\r\n [decimalNumber]=\"decimalNumber\">\r\n <ax-validation>\r\n <ax-validation-rule type=\"required\"></ax-validation-rule>\r\n </ax-validation>\r\n </ax-number-box>\r\n </div>\r\n <div class=\"col-6\">\r\n <ax-label>{{ 'common.max-value' | trans }}</ax-label>\r\n <ax-number-box [(value)]=\"editRow.maxValue\" [showSeparator]=\"showSeparator\"\r\n [decimalNumber]=\"decimalNumber\">\r\n <ax-validation>\r\n <ax-validation-rule type=\"required\"></ax-validation-rule>\r\n </ax-validation>\r\n </ax-number-box>\r\n </div>\r\n </div>\r\n <div class=\"row\">\r\n <div class=\"col-12\">\r\n <ax-label>{{ 'common.color' | trans }}</ax-label>\r\n <ax-color-picker [(value)]=\"editRow.color\">\r\n <ax-validation>\r\n <ax-validation-rule type=\"required\"></ax-validation-rule>\r\n </ax-validation>\r\n </ax-color-picker>\r\n </div>\r\n </div>\r\n </ax-validation-form>\r\n </div>\r\n <div class=\"ax-mrg-md\"></div>\r\n </ax-page-content>\r\n </ax-page>\r\n</ng-template>", styles: [".range-item{border:1px solid var(--ax-gray-color);margin-bottom:5px;display:flex;padding:5px;border-radius:5px;justify-content:space-between;align-items:center;cursor:pointer}.range-item .remove-button{color:var(--ax-danger-color);padding:var(--ax-size-sm);display:flex;justify-content:center;cursor:pointer}.range-item .remove-button:hover{background-color:var(--ax-danger-trans-light-color)}.range-item div:first-child{display:flex;align-items:center}.range-item div:first-child div:first-child{width:25px;height:25px;border-radius:3px}.range-item div:first-child div:last-child{-webkit-margin-start:10px;margin-inline-start:10px}.range-item div:last-child{display:flex;align-items:center}.range-item div:last-child button{background-color:transparent;border:none;cursor:pointer}.range-item div:last-child button i{color:var(--ax-danger-color)}.range-item div:last-child div{min-width:40px}.range-item div:last-child div.min{color:var(--ax-danger-color)}.range-item div:last-child div.max{color:var(--ax-success-color)}\n"] }]
|
|
14358
|
-
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: AXPopupService }]; }, propDecorators: { tplEdit: [{
|
|
14359
|
-
type: ViewChild,
|
|
14360
|
-
args: ['tplEdit']
|
|
14361
|
-
}] } });
|
|
14362
|
-
|
|
14363
|
-
class AXColorPickerModule {
|
|
14364
|
-
}
|
|
14365
|
-
AXColorPickerModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXColorPickerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
14366
|
-
AXColorPickerModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXColorPickerModule, declarations: [AXColorPickerComponent, AXColorBoxComponent], imports: [CommonModule, FormsModule, AXDropdownModule, AXValidationModule, AXTextBoxModule], exports: [AXColorPickerComponent, AXColorBoxComponent] });
|
|
14367
|
-
AXColorPickerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXColorPickerModule, providers: [], imports: [[CommonModule, FormsModule, AXDropdownModule, AXValidationModule, AXTextBoxModule]] });
|
|
14368
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXColorPickerModule, decorators: [{
|
|
14369
|
-
type: NgModule,
|
|
14370
|
-
args: [{
|
|
14371
|
-
declarations: [AXColorPickerComponent, AXColorBoxComponent],
|
|
14372
|
-
imports: [CommonModule, FormsModule, AXDropdownModule, AXValidationModule, AXTextBoxModule],
|
|
14373
|
-
exports: [AXColorPickerComponent, AXColorBoxComponent],
|
|
14374
|
-
providers: []
|
|
14375
|
-
}]
|
|
14376
|
-
}] });
|
|
14377
|
-
|
|
14378
|
-
class AXRangePropertyEditorModule {
|
|
14379
|
-
constructor() {
|
|
14380
|
-
}
|
|
14381
|
-
}
|
|
14382
|
-
AXRangePropertyEditorModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXRangePropertyEditorModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
14383
|
-
AXRangePropertyEditorModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXRangePropertyEditorModule, declarations: [AXRangePropertyEditorComponent], imports: [CommonModule,
|
|
14384
|
-
FormsModule,
|
|
14385
|
-
AXTranslatorModule,
|
|
14386
|
-
AXTextBoxModule,
|
|
14387
|
-
AXNumberBoxModule,
|
|
14388
|
-
AXColorPickerModule,
|
|
14389
|
-
AXLabelModule,
|
|
14390
|
-
AXPageModule,
|
|
14391
|
-
AXValidationModule,
|
|
14392
|
-
AXButtonModule], exports: [AXRangePropertyEditorComponent] });
|
|
14393
|
-
AXRangePropertyEditorModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXRangePropertyEditorModule, providers: [], imports: [[
|
|
14394
|
-
CommonModule,
|
|
14395
|
-
FormsModule,
|
|
14396
|
-
AXTranslatorModule,
|
|
14397
|
-
AXTextBoxModule,
|
|
14398
|
-
AXNumberBoxModule,
|
|
14399
|
-
AXColorPickerModule,
|
|
14400
|
-
AXLabelModule,
|
|
14401
|
-
AXPageModule,
|
|
14402
|
-
AXValidationModule,
|
|
14403
|
-
AXButtonModule
|
|
14404
|
-
]] });
|
|
14405
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXRangePropertyEditorModule, decorators: [{
|
|
14406
|
-
type: NgModule,
|
|
14407
|
-
args: [{
|
|
14408
|
-
declarations: [AXRangePropertyEditorComponent],
|
|
14409
|
-
imports: [
|
|
14410
|
-
CommonModule,
|
|
14411
|
-
FormsModule,
|
|
14412
|
-
AXTranslatorModule,
|
|
14413
|
-
AXTextBoxModule,
|
|
14414
|
-
AXNumberBoxModule,
|
|
14415
|
-
AXColorPickerModule,
|
|
14416
|
-
AXLabelModule,
|
|
14417
|
-
AXPageModule,
|
|
14418
|
-
AXValidationModule,
|
|
14419
|
-
AXButtonModule
|
|
14420
|
-
],
|
|
14421
|
-
exports: [AXRangePropertyEditorComponent],
|
|
14422
|
-
providers: []
|
|
14423
|
-
}]
|
|
14424
|
-
}], ctorParameters: function () { return []; } });
|
|
14425
|
-
|
|
14426
|
-
class AXColorPropertyEditorComponent extends AXProperyEditorComponent {
|
|
14427
|
-
constructor(cdr) {
|
|
14428
|
-
super(cdr);
|
|
14429
|
-
this.cdr = cdr;
|
|
14430
|
-
}
|
|
14431
|
-
ngAfterViewInit() {
|
|
14432
|
-
this.registerForValidationForm(this.textBox);
|
|
14433
|
-
this.onRenderCompleted.emit();
|
|
14434
|
-
}
|
|
14435
|
-
}
|
|
14436
|
-
AXColorPropertyEditorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXColorPropertyEditorComponent, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
14437
|
-
AXColorPropertyEditorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: AXColorPropertyEditorComponent, selector: "ng-component", viewQueries: [{ propertyName: "textBox", first: true, predicate: AXColorPickerComponent, descendants: true }], usesInheritance: true, ngImport: i0, template: `
|
|
14438
|
-
<ax-color-picker [(value)]="value">
|
|
14439
|
-
<ax-validation [rules]="validation?.rules">
|
|
14440
|
-
</ax-validation>
|
|
14441
|
-
</ax-color-picker>
|
|
14442
|
-
`, isInline: true, components: [{ type: AXColorPickerComponent, selector: "ax-color-picker", inputs: ["placeholder", "showClear", "label", "readonly", "disabled", "size", "rtl", "validation"] }, { type: AXValidationComponent, selector: "ax-validation", inputs: ["rules", "validateOn"], outputs: ["rulesChange", "showMessage"] }] });
|
|
14443
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXColorPropertyEditorComponent, decorators: [{
|
|
14444
|
-
type: Component,
|
|
14445
|
-
args: [{
|
|
14446
|
-
template: `
|
|
14447
|
-
<ax-color-picker [(value)]="value">
|
|
14448
|
-
<ax-validation [rules]="validation?.rules">
|
|
14449
|
-
</ax-validation>
|
|
14450
|
-
</ax-color-picker>
|
|
14451
|
-
`,
|
|
14452
|
-
}]
|
|
14453
|
-
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }]; }, propDecorators: { textBox: [{
|
|
14454
|
-
type: ViewChild,
|
|
14455
|
-
args: [AXColorPickerComponent]
|
|
14456
|
-
}] } });
|
|
14457
|
-
|
|
14458
|
-
class AXColorPropertyEditorModule {
|
|
14459
|
-
constructor() {
|
|
14139
|
+
}
|
|
14140
|
+
AXColorPropertyEditorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXColorPropertyEditorComponent, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
14141
|
+
AXColorPropertyEditorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: AXColorPropertyEditorComponent, selector: "ng-component", viewQueries: [{ propertyName: "textBox", first: true, predicate: AXColorPickerComponent, descendants: true }], usesInheritance: true, ngImport: i0, template: `
|
|
14142
|
+
<ax-color-picker [(value)]="value">
|
|
14143
|
+
<ax-validation [rules]="validation?.rules">
|
|
14144
|
+
</ax-validation>
|
|
14145
|
+
</ax-color-picker>
|
|
14146
|
+
`, isInline: true, components: [{ type: AXColorPickerComponent, selector: "ax-color-picker", inputs: ["placeholder", "showClear", "label", "readonly", "disabled", "size", "rtl", "validation"] }, { type: AXValidationComponent, selector: "ax-validation", inputs: ["rules", "validateOn"], outputs: ["rulesChange", "showMessage"] }] });
|
|
14147
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXColorPropertyEditorComponent, decorators: [{
|
|
14148
|
+
type: Component,
|
|
14149
|
+
args: [{
|
|
14150
|
+
template: `
|
|
14151
|
+
<ax-color-picker [(value)]="value">
|
|
14152
|
+
<ax-validation [rules]="validation?.rules">
|
|
14153
|
+
</ax-validation>
|
|
14154
|
+
</ax-color-picker>
|
|
14155
|
+
`,
|
|
14156
|
+
}]
|
|
14157
|
+
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }]; }, propDecorators: { textBox: [{
|
|
14158
|
+
type: ViewChild,
|
|
14159
|
+
args: [AXColorPickerComponent]
|
|
14160
|
+
}] } });
|
|
14161
|
+
|
|
14162
|
+
class AXColorPickerModule {
|
|
14163
|
+
}
|
|
14164
|
+
AXColorPickerModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXColorPickerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
14165
|
+
AXColorPickerModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXColorPickerModule, declarations: [AXColorPickerComponent, AXColorBoxComponent], imports: [CommonModule, FormsModule, AXDropdownModule, AXValidationModule, AXTextBoxModule], exports: [AXColorPickerComponent, AXColorBoxComponent] });
|
|
14166
|
+
AXColorPickerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXColorPickerModule, providers: [], imports: [[CommonModule, FormsModule, AXDropdownModule, AXValidationModule, AXTextBoxModule]] });
|
|
14167
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXColorPickerModule, decorators: [{
|
|
14168
|
+
type: NgModule,
|
|
14169
|
+
args: [{
|
|
14170
|
+
declarations: [AXColorPickerComponent, AXColorBoxComponent],
|
|
14171
|
+
imports: [CommonModule, FormsModule, AXDropdownModule, AXValidationModule, AXTextBoxModule],
|
|
14172
|
+
exports: [AXColorPickerComponent, AXColorBoxComponent],
|
|
14173
|
+
providers: []
|
|
14174
|
+
}]
|
|
14175
|
+
}] });
|
|
14176
|
+
|
|
14177
|
+
class AXColorPropertyEditorModule {
|
|
14178
|
+
constructor() {
|
|
14460
14179
|
}
|
|
14461
14180
|
}
|
|
14462
14181
|
AXColorPropertyEditorModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXColorPropertyEditorModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
@@ -14844,48 +14563,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
14844
14563
|
}]
|
|
14845
14564
|
}], ctorParameters: function () { return []; } });
|
|
14846
14565
|
|
|
14847
|
-
class AXSwitchPropertyEditorComponent extends AXProperyEditorComponent {
|
|
14848
|
-
constructor(cdr) {
|
|
14849
|
-
super(cdr);
|
|
14850
|
-
this.cdr = cdr;
|
|
14851
|
-
}
|
|
14852
|
-
handleValueChange(e) {
|
|
14853
|
-
super.handleValueChange(e.value);
|
|
14854
|
-
}
|
|
14855
|
-
ngAfterViewInit() {
|
|
14856
|
-
this.onRenderCompleted.emit();
|
|
14857
|
-
}
|
|
14858
|
-
}
|
|
14859
|
-
AXSwitchPropertyEditorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXSwitchPropertyEditorComponent, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
14860
|
-
AXSwitchPropertyEditorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: AXSwitchPropertyEditorComponent, selector: "ng-component", usesInheritance: true, ngImport: i0, template: `
|
|
14861
|
-
<ax-switch (onValueChanged)="handleValueChange($event)" [value]="value"></ax-switch>
|
|
14862
|
-
`, isInline: true, components: [{ type: AXSwitchComponent, selector: "ax-switch", inputs: ["tabIndex", "value", "readonly", "disabled", "size"], outputs: ["onValueChanged", "valueChange"] }] });
|
|
14863
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXSwitchPropertyEditorComponent, decorators: [{
|
|
14864
|
-
type: Component,
|
|
14865
|
-
args: [{
|
|
14866
|
-
template: `
|
|
14867
|
-
<ax-switch (onValueChanged)="handleValueChange($event)" [value]="value"></ax-switch>
|
|
14868
|
-
`,
|
|
14869
|
-
}]
|
|
14870
|
-
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }]; } });
|
|
14871
|
-
|
|
14872
|
-
class AXSwitchPropertyEditorModule {
|
|
14873
|
-
constructor() {
|
|
14874
|
-
}
|
|
14875
|
-
}
|
|
14876
|
-
AXSwitchPropertyEditorModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXSwitchPropertyEditorModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
14877
|
-
AXSwitchPropertyEditorModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXSwitchPropertyEditorModule, declarations: [AXSwitchPropertyEditorComponent], imports: [CommonModule, FormsModule, AXNumberBoxModule, AXValidationModule, AXSwitchModule], exports: [AXSwitchPropertyEditorComponent] });
|
|
14878
|
-
AXSwitchPropertyEditorModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXSwitchPropertyEditorModule, providers: [], imports: [[CommonModule, FormsModule, AXNumberBoxModule, AXValidationModule, AXSwitchModule]] });
|
|
14879
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXSwitchPropertyEditorModule, decorators: [{
|
|
14880
|
-
type: NgModule,
|
|
14881
|
-
args: [{
|
|
14882
|
-
declarations: [AXSwitchPropertyEditorComponent],
|
|
14883
|
-
imports: [CommonModule, FormsModule, AXNumberBoxModule, AXValidationModule, AXSwitchModule],
|
|
14884
|
-
exports: [AXSwitchPropertyEditorComponent],
|
|
14885
|
-
providers: []
|
|
14886
|
-
}]
|
|
14887
|
-
}], ctorParameters: function () { return []; } });
|
|
14888
|
-
|
|
14889
14566
|
class AXDatePropertyEditorComponent extends AXProperyEditorComponent {
|
|
14890
14567
|
constructor(cdr) {
|
|
14891
14568
|
super(cdr);
|
|
@@ -14948,56 +14625,494 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
14948
14625
|
}]
|
|
14949
14626
|
}], ctorParameters: function () { return []; } });
|
|
14950
14627
|
|
|
14951
|
-
class
|
|
14628
|
+
class AXNumberBoxPropertyEditorComponent extends AXProperyEditorComponent {
|
|
14952
14629
|
constructor(cdr) {
|
|
14953
14630
|
super(cdr);
|
|
14954
14631
|
this.cdr = cdr;
|
|
14955
|
-
this.
|
|
14632
|
+
this.showSeparator = true;
|
|
14633
|
+
this.decimalNumber = 2;
|
|
14634
|
+
this.minValue = null;
|
|
14635
|
+
this.maxValue = null;
|
|
14956
14636
|
this.clearButton = false;
|
|
14957
14637
|
}
|
|
14958
14638
|
handleValueChange(e) {
|
|
14959
|
-
super.handleValueChange(e.value
|
|
14639
|
+
super.handleValueChange(e.value);
|
|
14960
14640
|
}
|
|
14961
14641
|
ngAfterViewInit() {
|
|
14962
|
-
this.registerForValidationForm(this.
|
|
14642
|
+
this.registerForValidationForm(this.textBox);
|
|
14963
14643
|
this.onRenderCompleted.emit();
|
|
14964
14644
|
}
|
|
14965
14645
|
}
|
|
14966
|
-
|
|
14967
|
-
|
|
14968
|
-
|
|
14969
|
-
|
|
14970
|
-
|
|
14971
|
-
|
|
14972
|
-
|
|
14973
|
-
|
|
14646
|
+
AXNumberBoxPropertyEditorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXNumberBoxPropertyEditorComponent, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
14647
|
+
AXNumberBoxPropertyEditorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: AXNumberBoxPropertyEditorComponent, selector: "ng-component", viewQueries: [{ propertyName: "textBox", first: true, predicate: AXNumberBoxComponent, descendants: true }], usesInheritance: true, ngImport: i0, template: `
|
|
14648
|
+
<ax-number-box (onValueChanged)="handleValueChange($event)"
|
|
14649
|
+
[value]="value"
|
|
14650
|
+
[showSeparator]="showSeparator"
|
|
14651
|
+
[decimalNumber]="decimalNumber"
|
|
14652
|
+
[min]="minValue"
|
|
14653
|
+
[max]="maxValue"
|
|
14654
|
+
[allowClear]="clearButton"
|
|
14655
|
+
>
|
|
14656
|
+
<ax-validation [rules]="validation?.rules">
|
|
14657
|
+
</ax-validation>
|
|
14658
|
+
</ax-number-box>
|
|
14659
|
+
`, isInline: true, components: [{ type: AXNumberBoxComponent, selector: "ax-number-box", inputs: ["min", "max", "showSeparator", "showCurrency", "showCounter", "scrollWeel", "showDoubleCounter", "maxLength", "intStep", "decimalNumber", "customStep"] }, { type: AXValidationComponent, selector: "ax-validation", inputs: ["rules", "validateOn"], outputs: ["rulesChange", "showMessage"] }] });
|
|
14660
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXNumberBoxPropertyEditorComponent, decorators: [{
|
|
14974
14661
|
type: Component,
|
|
14975
14662
|
args: [{
|
|
14976
14663
|
template: `
|
|
14977
|
-
|
|
14664
|
+
<ax-number-box (onValueChanged)="handleValueChange($event)"
|
|
14665
|
+
[value]="value"
|
|
14666
|
+
[showSeparator]="showSeparator"
|
|
14667
|
+
[decimalNumber]="decimalNumber"
|
|
14668
|
+
[min]="minValue"
|
|
14669
|
+
[max]="maxValue"
|
|
14670
|
+
[allowClear]="clearButton"
|
|
14671
|
+
>
|
|
14672
|
+
<ax-validation [rules]="validation?.rules">
|
|
14673
|
+
</ax-validation>
|
|
14674
|
+
</ax-number-box>
|
|
14675
|
+
`,
|
|
14676
|
+
}]
|
|
14677
|
+
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }]; }, propDecorators: { textBox: [{
|
|
14678
|
+
type: ViewChild,
|
|
14679
|
+
args: [AXNumberBoxComponent]
|
|
14680
|
+
}] } });
|
|
14681
|
+
|
|
14682
|
+
class AXNumberBoxPropertyEditorModule {
|
|
14683
|
+
constructor() {
|
|
14684
|
+
}
|
|
14685
|
+
}
|
|
14686
|
+
AXNumberBoxPropertyEditorModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXNumberBoxPropertyEditorModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
14687
|
+
AXNumberBoxPropertyEditorModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXNumberBoxPropertyEditorModule, declarations: [AXNumberBoxPropertyEditorComponent], imports: [CommonModule, FormsModule, AXNumberBoxModule, AXValidationModule], exports: [AXNumberBoxPropertyEditorComponent] });
|
|
14688
|
+
AXNumberBoxPropertyEditorModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXNumberBoxPropertyEditorModule, providers: [], imports: [[CommonModule, FormsModule, AXNumberBoxModule, AXValidationModule]] });
|
|
14689
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXNumberBoxPropertyEditorModule, decorators: [{
|
|
14690
|
+
type: NgModule,
|
|
14691
|
+
args: [{
|
|
14692
|
+
declarations: [AXNumberBoxPropertyEditorComponent],
|
|
14693
|
+
imports: [CommonModule, FormsModule, AXNumberBoxModule, AXValidationModule],
|
|
14694
|
+
exports: [AXNumberBoxPropertyEditorComponent],
|
|
14695
|
+
providers: []
|
|
14696
|
+
}]
|
|
14697
|
+
}], ctorParameters: function () { return []; } });
|
|
14698
|
+
|
|
14699
|
+
class AXRangePropertyEditorComponent extends AXProperyEditorComponent {
|
|
14700
|
+
constructor(cdr, popupService) {
|
|
14701
|
+
super(cdr);
|
|
14702
|
+
this.cdr = cdr;
|
|
14703
|
+
this.popupService = popupService;
|
|
14704
|
+
this.ranges = [];
|
|
14705
|
+
this.showSeparator = true;
|
|
14706
|
+
this.decimalNumber = 2;
|
|
14707
|
+
}
|
|
14708
|
+
ngOnInit() {
|
|
14709
|
+
this.ranges = this.value ? JSON.parse(JSON.stringify(this.value)) : [];
|
|
14710
|
+
this.cdr.detectChanges();
|
|
14711
|
+
}
|
|
14712
|
+
ngAfterViewInit() {
|
|
14713
|
+
this.onRenderCompleted.emit();
|
|
14714
|
+
}
|
|
14715
|
+
// getRanges() {
|
|
14716
|
+
// return this.ranges.sort((a, b) => a.minValue - b.minValue);
|
|
14717
|
+
// }
|
|
14718
|
+
onFormInit(e) {
|
|
14719
|
+
this.form = e.component;
|
|
14720
|
+
}
|
|
14721
|
+
handleEditClick(item) {
|
|
14722
|
+
this.editRow = Object.assign({}, item);
|
|
14723
|
+
const popup = this.popupService.open(this.tplEdit, {
|
|
14724
|
+
size: 'sm',
|
|
14725
|
+
footerButtons: [
|
|
14726
|
+
{
|
|
14727
|
+
name: 'confirm',
|
|
14728
|
+
text: AXTranslator.get('common.confirm'),
|
|
14729
|
+
style: 'success',
|
|
14730
|
+
submitBehavior: true,
|
|
14731
|
+
cancelBehavior: false,
|
|
14732
|
+
onClick: () => {
|
|
14733
|
+
this.form.validate().then(c => {
|
|
14734
|
+
if (c.result) {
|
|
14735
|
+
super.handleValueChange(this.ranges);
|
|
14736
|
+
Object.assign(item, this.editRow);
|
|
14737
|
+
popup.close();
|
|
14738
|
+
this.editRow = null;
|
|
14739
|
+
this.cdr.detectChanges();
|
|
14740
|
+
}
|
|
14741
|
+
});
|
|
14742
|
+
}
|
|
14743
|
+
},
|
|
14744
|
+
{
|
|
14745
|
+
name: 'cancel',
|
|
14746
|
+
text: AXTranslator.get('common.cancel'),
|
|
14747
|
+
style: 'danger blank',
|
|
14748
|
+
submitBehavior: false,
|
|
14749
|
+
cancelBehavior: true,
|
|
14750
|
+
onClick: () => {
|
|
14751
|
+
popup.close();
|
|
14752
|
+
this.editRow = null;
|
|
14753
|
+
this.cdr.detectChanges();
|
|
14754
|
+
}
|
|
14755
|
+
}
|
|
14756
|
+
],
|
|
14757
|
+
title: AXTranslator.get('common.edit')
|
|
14758
|
+
});
|
|
14759
|
+
}
|
|
14760
|
+
handleAddClick() {
|
|
14761
|
+
const min = this.ranges?.length ? Math.max(...this.ranges.map(c => c.maxValue)) : 0;
|
|
14762
|
+
this.editRow = {
|
|
14763
|
+
title: '',
|
|
14764
|
+
minValue: min,
|
|
14765
|
+
maxValue: min + 1,
|
|
14766
|
+
color: null
|
|
14767
|
+
};
|
|
14768
|
+
const popup = this.popupService.open(this.tplEdit, {
|
|
14769
|
+
title: AXTranslator.get('common.add-item'),
|
|
14770
|
+
size: 'sm',
|
|
14771
|
+
footerButtons: [
|
|
14772
|
+
{
|
|
14773
|
+
name: 'confirm',
|
|
14774
|
+
text: AXTranslator.get('common.confirm'),
|
|
14775
|
+
style: 'success',
|
|
14776
|
+
submitBehavior: true,
|
|
14777
|
+
cancelBehavior: false,
|
|
14778
|
+
onClick: () => {
|
|
14779
|
+
this.form.validate().then(c => {
|
|
14780
|
+
if (c.result) {
|
|
14781
|
+
super.handleValueChange(this.ranges);
|
|
14782
|
+
this.ranges.push(this.editRow);
|
|
14783
|
+
popup.close();
|
|
14784
|
+
this.editRow = null;
|
|
14785
|
+
this.cdr.detectChanges();
|
|
14786
|
+
}
|
|
14787
|
+
});
|
|
14788
|
+
}
|
|
14789
|
+
},
|
|
14790
|
+
{
|
|
14791
|
+
name: 'cancel',
|
|
14792
|
+
text: AXTranslator.get('common.cancel'),
|
|
14793
|
+
style: 'danger blank',
|
|
14794
|
+
submitBehavior: false,
|
|
14795
|
+
cancelBehavior: true,
|
|
14796
|
+
onClick: () => {
|
|
14797
|
+
popup.close();
|
|
14798
|
+
this.editRow = null;
|
|
14799
|
+
this.cdr.detectChanges();
|
|
14800
|
+
}
|
|
14801
|
+
}
|
|
14802
|
+
],
|
|
14803
|
+
});
|
|
14804
|
+
this.cdr.detectChanges();
|
|
14805
|
+
}
|
|
14806
|
+
handleRemoveClick(item) {
|
|
14807
|
+
this.ranges = this.ranges.filter(c => c.minValue !== item.minValue);
|
|
14808
|
+
super.handleValueChange(this.ranges);
|
|
14809
|
+
}
|
|
14810
|
+
}
|
|
14811
|
+
AXRangePropertyEditorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXRangePropertyEditorComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: AXPopupService }], target: i0.ɵɵFactoryTarget.Component });
|
|
14812
|
+
AXRangePropertyEditorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: AXRangePropertyEditorComponent, selector: "ng-component", viewQueries: [{ propertyName: "tplEdit", first: true, predicate: ["tplEdit"], descendants: true }], usesInheritance: true, ngImport: i0, template: "<div *ngFor=\"let r of ranges\" [style.border-color]=\"r.color\" class=\"range-item\" (click)=\"handleEditClick(r)\">\r\n <div>\r\n <div [style.background-color]=\"r.color\"></div>\r\n <div>{{r.title}}</div>\r\n </div>\r\n <div>\r\n <div class=\"min\" title=\"minimum {{r.minValue}}\">{{r.minValue}}</div>\r\n <div>\r\n <i class=\"far fa-long-arrow-left\"></i>\r\n </div>\r\n <div class=\"max\" title=\"maxmimum {{r.maxValue}}\">{{r.maxValue}}</div>\r\n <div class=\"remove-button\" (click)=\"handleRemoveClick(r)\"><i class=\"far fa-trash-alt\"></i></div>\r\n </div>\r\n</div>\r\n<ax-button icon=\"far fa-plus\" type=\"success outline\" (click)=\"handleAddClick()\">{{ 'common.add-item' | trans }}\r\n</ax-button>\r\n<ng-template #tplEdit>\r\n <ax-page>\r\n <ax-page-content>\r\n <div class=\"container\">\r\n <ax-validation-form (onInit)=\"onFormInit($event)\">\r\n <div class=\"row\">\r\n <div class=\"col-12\">\r\n <ax-label>{{ 'common.title' | trans }}</ax-label>\r\n <ax-text-box [(value)]=\"editRow.title\">\r\n <ax-validation>\r\n <ax-validation-rule type=\"required\"></ax-validation-rule>\r\n </ax-validation>\r\n </ax-text-box>\r\n </div>\r\n </div>\r\n <div class=\"row\">\r\n <div class=\"col-6\">\r\n <ax-label>{{ 'common.min-value' | trans }}</ax-label>\r\n <ax-number-box [(value)]=\"editRow.minValue\" [showSeparator]=\"showSeparator\"\r\n [decimalNumber]=\"decimalNumber\">\r\n <ax-validation>\r\n <ax-validation-rule type=\"required\"></ax-validation-rule>\r\n </ax-validation>\r\n </ax-number-box>\r\n </div>\r\n <div class=\"col-6\">\r\n <ax-label>{{ 'common.max-value' | trans }}</ax-label>\r\n <ax-number-box [(value)]=\"editRow.maxValue\" [showSeparator]=\"showSeparator\"\r\n [decimalNumber]=\"decimalNumber\">\r\n <ax-validation>\r\n <ax-validation-rule type=\"required\"></ax-validation-rule>\r\n </ax-validation>\r\n </ax-number-box>\r\n </div>\r\n </div>\r\n <div class=\"row\">\r\n <div class=\"col-12\">\r\n <ax-label>{{ 'common.color' | trans }}</ax-label>\r\n <ax-color-picker [(value)]=\"editRow.color\">\r\n <ax-validation>\r\n <ax-validation-rule type=\"required\"></ax-validation-rule>\r\n </ax-validation>\r\n </ax-color-picker>\r\n </div>\r\n </div>\r\n </ax-validation-form>\r\n </div>\r\n <div class=\"ax-mrg-md\"></div>\r\n </ax-page-content>\r\n </ax-page>\r\n</ng-template>", styles: [".range-item{border:1px solid var(--ax-gray-color);margin-bottom:5px;display:flex;padding:5px;border-radius:5px;justify-content:space-between;align-items:center;cursor:pointer}.range-item .remove-button{color:var(--ax-danger-color);padding:var(--ax-size-sm);display:flex;justify-content:center;cursor:pointer}.range-item .remove-button:hover{background-color:var(--ax-danger-trans-light-color)}.range-item div:first-child{display:flex;align-items:center}.range-item div:first-child div:first-child{width:25px;height:25px;border-radius:3px}.range-item div:first-child div:last-child{-webkit-margin-start:10px;margin-inline-start:10px}.range-item div:last-child{display:flex;align-items:center}.range-item div:last-child button{background-color:transparent;border:none;cursor:pointer}.range-item div:last-child button i{color:var(--ax-danger-color)}.range-item div:last-child div{min-width:40px}.range-item div:last-child div.min{color:var(--ax-danger-color)}.range-item div:last-child div.max{color:var(--ax-success-color)}\n"], components: [{ type: AXButtonComponent, selector: "ax-button", inputs: ["type", "icon", "submitBehavior", "cancelBehavior", "block", "loading", "selected"] }, { type: AXPageComponent, selector: "ax-page" }, { type: AXPageContentComponent, selector: "ax-page-content" }, { type: AXValidationFormComponent, selector: "ax-validation-form", inputs: ["validateOn"], outputs: ["onInit"] }, { type: AXLabelComponent, selector: "ax-label", inputs: ["size"] }, { type: AXTextBoxComponent, selector: "ax-text-box", inputs: ["mask", "type", "showMask", "maxLength", "maskGuid", "maskPlaceholder", "maskKeepCharPositions"] }, { type: AXValidationComponent, selector: "ax-validation", inputs: ["rules", "validateOn"], outputs: ["rulesChange", "showMessage"] }, { type: AXValidationRuleComponent, selector: "ax-validation-rule", inputs: ["type", "message", "value", "enabled"] }, { type: AXNumberBoxComponent, selector: "ax-number-box", inputs: ["min", "max", "showSeparator", "showCurrency", "showCounter", "scrollWeel", "showDoubleCounter", "maxLength", "intStep", "decimalNumber", "customStep"] }, { type: AXColorPickerComponent, selector: "ax-color-picker", inputs: ["placeholder", "showClear", "label", "readonly", "disabled", "size", "rtl", "validation"] }], directives: [{ type: i1$1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }], pipes: { "trans": i1$2.AXTranslatorPipe }, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
14813
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXRangePropertyEditorComponent, decorators: [{
|
|
14814
|
+
type: Component,
|
|
14815
|
+
args: [{ changeDetection: ChangeDetectionStrategy.OnPush, template: "<div *ngFor=\"let r of ranges\" [style.border-color]=\"r.color\" class=\"range-item\" (click)=\"handleEditClick(r)\">\r\n <div>\r\n <div [style.background-color]=\"r.color\"></div>\r\n <div>{{r.title}}</div>\r\n </div>\r\n <div>\r\n <div class=\"min\" title=\"minimum {{r.minValue}}\">{{r.minValue}}</div>\r\n <div>\r\n <i class=\"far fa-long-arrow-left\"></i>\r\n </div>\r\n <div class=\"max\" title=\"maxmimum {{r.maxValue}}\">{{r.maxValue}}</div>\r\n <div class=\"remove-button\" (click)=\"handleRemoveClick(r)\"><i class=\"far fa-trash-alt\"></i></div>\r\n </div>\r\n</div>\r\n<ax-button icon=\"far fa-plus\" type=\"success outline\" (click)=\"handleAddClick()\">{{ 'common.add-item' | trans }}\r\n</ax-button>\r\n<ng-template #tplEdit>\r\n <ax-page>\r\n <ax-page-content>\r\n <div class=\"container\">\r\n <ax-validation-form (onInit)=\"onFormInit($event)\">\r\n <div class=\"row\">\r\n <div class=\"col-12\">\r\n <ax-label>{{ 'common.title' | trans }}</ax-label>\r\n <ax-text-box [(value)]=\"editRow.title\">\r\n <ax-validation>\r\n <ax-validation-rule type=\"required\"></ax-validation-rule>\r\n </ax-validation>\r\n </ax-text-box>\r\n </div>\r\n </div>\r\n <div class=\"row\">\r\n <div class=\"col-6\">\r\n <ax-label>{{ 'common.min-value' | trans }}</ax-label>\r\n <ax-number-box [(value)]=\"editRow.minValue\" [showSeparator]=\"showSeparator\"\r\n [decimalNumber]=\"decimalNumber\">\r\n <ax-validation>\r\n <ax-validation-rule type=\"required\"></ax-validation-rule>\r\n </ax-validation>\r\n </ax-number-box>\r\n </div>\r\n <div class=\"col-6\">\r\n <ax-label>{{ 'common.max-value' | trans }}</ax-label>\r\n <ax-number-box [(value)]=\"editRow.maxValue\" [showSeparator]=\"showSeparator\"\r\n [decimalNumber]=\"decimalNumber\">\r\n <ax-validation>\r\n <ax-validation-rule type=\"required\"></ax-validation-rule>\r\n </ax-validation>\r\n </ax-number-box>\r\n </div>\r\n </div>\r\n <div class=\"row\">\r\n <div class=\"col-12\">\r\n <ax-label>{{ 'common.color' | trans }}</ax-label>\r\n <ax-color-picker [(value)]=\"editRow.color\">\r\n <ax-validation>\r\n <ax-validation-rule type=\"required\"></ax-validation-rule>\r\n </ax-validation>\r\n </ax-color-picker>\r\n </div>\r\n </div>\r\n </ax-validation-form>\r\n </div>\r\n <div class=\"ax-mrg-md\"></div>\r\n </ax-page-content>\r\n </ax-page>\r\n</ng-template>", styles: [".range-item{border:1px solid var(--ax-gray-color);margin-bottom:5px;display:flex;padding:5px;border-radius:5px;justify-content:space-between;align-items:center;cursor:pointer}.range-item .remove-button{color:var(--ax-danger-color);padding:var(--ax-size-sm);display:flex;justify-content:center;cursor:pointer}.range-item .remove-button:hover{background-color:var(--ax-danger-trans-light-color)}.range-item div:first-child{display:flex;align-items:center}.range-item div:first-child div:first-child{width:25px;height:25px;border-radius:3px}.range-item div:first-child div:last-child{-webkit-margin-start:10px;margin-inline-start:10px}.range-item div:last-child{display:flex;align-items:center}.range-item div:last-child button{background-color:transparent;border:none;cursor:pointer}.range-item div:last-child button i{color:var(--ax-danger-color)}.range-item div:last-child div{min-width:40px}.range-item div:last-child div.min{color:var(--ax-danger-color)}.range-item div:last-child div.max{color:var(--ax-success-color)}\n"] }]
|
|
14816
|
+
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: AXPopupService }]; }, propDecorators: { tplEdit: [{
|
|
14817
|
+
type: ViewChild,
|
|
14818
|
+
args: ['tplEdit']
|
|
14819
|
+
}] } });
|
|
14820
|
+
|
|
14821
|
+
class AXRangePropertyEditorModule {
|
|
14822
|
+
constructor() {
|
|
14823
|
+
}
|
|
14824
|
+
}
|
|
14825
|
+
AXRangePropertyEditorModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXRangePropertyEditorModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
14826
|
+
AXRangePropertyEditorModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXRangePropertyEditorModule, declarations: [AXRangePropertyEditorComponent], imports: [CommonModule,
|
|
14827
|
+
FormsModule,
|
|
14828
|
+
AXTranslatorModule,
|
|
14829
|
+
AXTextBoxModule,
|
|
14830
|
+
AXNumberBoxModule,
|
|
14831
|
+
AXColorPickerModule,
|
|
14832
|
+
AXLabelModule,
|
|
14833
|
+
AXPageModule,
|
|
14834
|
+
AXValidationModule,
|
|
14835
|
+
AXButtonModule], exports: [AXRangePropertyEditorComponent] });
|
|
14836
|
+
AXRangePropertyEditorModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXRangePropertyEditorModule, providers: [], imports: [[
|
|
14837
|
+
CommonModule,
|
|
14838
|
+
FormsModule,
|
|
14839
|
+
AXTranslatorModule,
|
|
14840
|
+
AXTextBoxModule,
|
|
14841
|
+
AXNumberBoxModule,
|
|
14842
|
+
AXColorPickerModule,
|
|
14843
|
+
AXLabelModule,
|
|
14844
|
+
AXPageModule,
|
|
14845
|
+
AXValidationModule,
|
|
14846
|
+
AXButtonModule
|
|
14847
|
+
]] });
|
|
14848
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXRangePropertyEditorModule, decorators: [{
|
|
14849
|
+
type: NgModule,
|
|
14850
|
+
args: [{
|
|
14851
|
+
declarations: [AXRangePropertyEditorComponent],
|
|
14852
|
+
imports: [
|
|
14853
|
+
CommonModule,
|
|
14854
|
+
FormsModule,
|
|
14855
|
+
AXTranslatorModule,
|
|
14856
|
+
AXTextBoxModule,
|
|
14857
|
+
AXNumberBoxModule,
|
|
14858
|
+
AXColorPickerModule,
|
|
14859
|
+
AXLabelModule,
|
|
14860
|
+
AXPageModule,
|
|
14861
|
+
AXValidationModule,
|
|
14862
|
+
AXButtonModule
|
|
14863
|
+
],
|
|
14864
|
+
exports: [AXRangePropertyEditorComponent],
|
|
14865
|
+
providers: []
|
|
14866
|
+
}]
|
|
14867
|
+
}], ctorParameters: function () { return []; } });
|
|
14868
|
+
|
|
14869
|
+
class AXSelectBoxPropertyEditorComponent extends AXProperyEditorComponent {
|
|
14870
|
+
constructor(cdr) {
|
|
14871
|
+
super(cdr);
|
|
14872
|
+
this.cdr = cdr;
|
|
14873
|
+
this.valueField = 'id';
|
|
14874
|
+
this.textField = 'text';
|
|
14875
|
+
this.mode = 'single';
|
|
14876
|
+
this.selectionDataMode = 'value';
|
|
14877
|
+
this.allowSearch = true;
|
|
14878
|
+
this.allowNull = false;
|
|
14879
|
+
this.disabled = false;
|
|
14880
|
+
this.items = [];
|
|
14881
|
+
this.remoteOperation = false;
|
|
14882
|
+
this.returnAllData = false;
|
|
14883
|
+
this.provideData = (e) => {
|
|
14884
|
+
return new Promise((resolve) => {
|
|
14885
|
+
const func = () => {
|
|
14886
|
+
if (Array.isArray(this.items)) {
|
|
14887
|
+
resolve(this.items.slice());
|
|
14888
|
+
}
|
|
14889
|
+
else if (typeof this.items === 'function') {
|
|
14890
|
+
const a = Object.assign(e, { sender: this });
|
|
14891
|
+
resolve(this.items(a));
|
|
14892
|
+
}
|
|
14893
|
+
else {
|
|
14894
|
+
resolve([]);
|
|
14895
|
+
}
|
|
14896
|
+
};
|
|
14897
|
+
const intVal = setInterval(() => {
|
|
14898
|
+
if (this.initiated) {
|
|
14899
|
+
func();
|
|
14900
|
+
clearInterval(intVal);
|
|
14901
|
+
}
|
|
14902
|
+
}, 50);
|
|
14903
|
+
});
|
|
14904
|
+
};
|
|
14905
|
+
}
|
|
14906
|
+
get filter() {
|
|
14907
|
+
return this._filter;
|
|
14908
|
+
}
|
|
14909
|
+
set filter(v) {
|
|
14910
|
+
this._filter = v;
|
|
14911
|
+
if (this.value && this.initiated) {
|
|
14912
|
+
this.value = null;
|
|
14913
|
+
this.selectBox?.refresh();
|
|
14914
|
+
}
|
|
14915
|
+
}
|
|
14916
|
+
handleValueChange(e) {
|
|
14917
|
+
if (this.returnAllData) {
|
|
14918
|
+
super.handleValueChange(e.selectedItems);
|
|
14919
|
+
}
|
|
14920
|
+
else {
|
|
14921
|
+
super.handleValueChange(e.selectedValues);
|
|
14922
|
+
}
|
|
14923
|
+
}
|
|
14924
|
+
ngAfterViewInit() {
|
|
14925
|
+
this.registerForValidationForm(this.selectBox);
|
|
14926
|
+
this.onRenderCompleted.emit();
|
|
14927
|
+
}
|
|
14928
|
+
}
|
|
14929
|
+
AXSelectBoxPropertyEditorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXSelectBoxPropertyEditorComponent, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
14930
|
+
AXSelectBoxPropertyEditorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: AXSelectBoxPropertyEditorComponent, selector: "ng-component", viewQueries: [{ propertyName: "selectBox", first: true, predicate: AXSelectBoxComponent, descendants: true, static: true }], usesInheritance: true, ngImport: i0, template: "<ng-container *ngIf=\"returnAllData; then thenTemplate; else elseTemplate\"></ng-container>\r\n<ng-template #thenTemplate>\r\n <ax-select-box [mode]=\"mode\"\r\n [textField]=\"textField\" \r\n [valueField]=\"valueField\" \r\n [remoteOperation]=\"remoteOperation\"\r\n [selectedItems]=\"value\" \r\n [allowSearch]=\"allowSearch\" \r\n [allowNull]=\"allowNull\"\r\n [readonly]=\"readonly\"\r\n [disabled]=\"disabled\"\r\n (selectionChanged)=\"handleValueChange($event)\"\r\n >\r\n <ax-data-source [provideData]=\"provideData\">\r\n </ax-data-source>\r\n <ax-validation [rules]=\"validation?.rules\">\r\n </ax-validation>\r\n </ax-select-box>\r\n</ng-template>\r\n<ng-template #elseTemplate>\r\n <ax-select-box [mode]=\"mode\"\r\n [textField]=\"textField\" \r\n [valueField]=\"valueField\" \r\n [remoteOperation]=\"remoteOperation\"\r\n [selectedValues]=\"value\" \r\n [allowSearch]=\"allowSearch\" \r\n [allowNull]=\"allowNull\"\r\n [readonly]=\"readonly\"\r\n [disabled]=\"disabled\"\r\n (selectionChanged)=\"handleValueChange($event)\"\r\n >\r\n <ax-data-source [provideData]=\"provideData\">\r\n </ax-data-source>\r\n <ax-validation [rules]=\"validation?.rules\">\r\n </ax-validation>\r\n </ax-select-box>\r\n</ng-template>\r\n\r\n", components: [{ type: AXSelectBoxComponent, selector: "ax-select-box", inputs: ["showDropDownButton", "rowInputTemplate", "showCheckBox", "readonly", "rtl", "disabled", "placeholder", "size", "allowNull", "textAlign", "bufferSize", "remoteOperation", "dataSource", "validation", "disabledCallback", "allowSearch", "textField", "valueField", "disabledField", "mode", "items", "selectedItems", "selectedValues"], outputs: ["dropdownToggle", "itemsChange", "onBlur", "onFocus", "selectionChanged", "selectedItemsChange", "selectedValuesChange"] }, { type: AXDataSourceComponent, selector: "ax-data-source", inputs: ["provideData", "params"] }, { type: AXValidationComponent, selector: "ax-validation", inputs: ["rules", "validateOn"], outputs: ["rulesChange", "showMessage"] }], directives: [{ type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
14931
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXSelectBoxPropertyEditorComponent, decorators: [{
|
|
14932
|
+
type: Component,
|
|
14933
|
+
args: [{ template: "<ng-container *ngIf=\"returnAllData; then thenTemplate; else elseTemplate\"></ng-container>\r\n<ng-template #thenTemplate>\r\n <ax-select-box [mode]=\"mode\"\r\n [textField]=\"textField\" \r\n [valueField]=\"valueField\" \r\n [remoteOperation]=\"remoteOperation\"\r\n [selectedItems]=\"value\" \r\n [allowSearch]=\"allowSearch\" \r\n [allowNull]=\"allowNull\"\r\n [readonly]=\"readonly\"\r\n [disabled]=\"disabled\"\r\n (selectionChanged)=\"handleValueChange($event)\"\r\n >\r\n <ax-data-source [provideData]=\"provideData\">\r\n </ax-data-source>\r\n <ax-validation [rules]=\"validation?.rules\">\r\n </ax-validation>\r\n </ax-select-box>\r\n</ng-template>\r\n<ng-template #elseTemplate>\r\n <ax-select-box [mode]=\"mode\"\r\n [textField]=\"textField\" \r\n [valueField]=\"valueField\" \r\n [remoteOperation]=\"remoteOperation\"\r\n [selectedValues]=\"value\" \r\n [allowSearch]=\"allowSearch\" \r\n [allowNull]=\"allowNull\"\r\n [readonly]=\"readonly\"\r\n [disabled]=\"disabled\"\r\n (selectionChanged)=\"handleValueChange($event)\"\r\n >\r\n <ax-data-source [provideData]=\"provideData\">\r\n </ax-data-source>\r\n <ax-validation [rules]=\"validation?.rules\">\r\n </ax-validation>\r\n </ax-select-box>\r\n</ng-template>\r\n\r\n" }]
|
|
14934
|
+
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }]; }, propDecorators: { selectBox: [{
|
|
14935
|
+
type: ViewChild,
|
|
14936
|
+
args: [AXSelectBoxComponent, { static: true }]
|
|
14937
|
+
}] } });
|
|
14938
|
+
|
|
14939
|
+
class AXSelectBoxPropertyEditorModule {
|
|
14940
|
+
constructor() {
|
|
14941
|
+
}
|
|
14942
|
+
}
|
|
14943
|
+
AXSelectBoxPropertyEditorModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXSelectBoxPropertyEditorModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
14944
|
+
AXSelectBoxPropertyEditorModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXSelectBoxPropertyEditorModule, declarations: [AXSelectBoxPropertyEditorComponent], imports: [CommonModule, FormsModule, AXSelectBoxModule, AXDataSourceModule, AXValidationModule], exports: [AXSelectBoxPropertyEditorComponent] });
|
|
14945
|
+
AXSelectBoxPropertyEditorModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXSelectBoxPropertyEditorModule, providers: [], imports: [[CommonModule, FormsModule, AXSelectBoxModule, AXDataSourceModule, AXValidationModule]] });
|
|
14946
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXSelectBoxPropertyEditorModule, decorators: [{
|
|
14947
|
+
type: NgModule,
|
|
14948
|
+
args: [{
|
|
14949
|
+
declarations: [AXSelectBoxPropertyEditorComponent],
|
|
14950
|
+
imports: [CommonModule, FormsModule, AXSelectBoxModule, AXDataSourceModule, AXValidationModule],
|
|
14951
|
+
exports: [AXSelectBoxPropertyEditorComponent],
|
|
14952
|
+
providers: []
|
|
14953
|
+
}]
|
|
14954
|
+
}], ctorParameters: function () { return []; } });
|
|
14955
|
+
|
|
14956
|
+
class AXSelectionListPropertyEditorComponent extends AXProperyEditorComponent {
|
|
14957
|
+
constructor(cdr) {
|
|
14958
|
+
super(cdr);
|
|
14959
|
+
this.cdr = cdr;
|
|
14960
|
+
this.disabled = false;
|
|
14961
|
+
this.indeterminate = false;
|
|
14962
|
+
this.readonly = false;
|
|
14963
|
+
this.size = 'md';
|
|
14964
|
+
this.items = [];
|
|
14965
|
+
this.mode = 'single';
|
|
14966
|
+
this.direction = 'horizontal';
|
|
14967
|
+
this.textField = null;
|
|
14968
|
+
this.valueField = null;
|
|
14969
|
+
}
|
|
14970
|
+
handleValueChange(e) {
|
|
14971
|
+
super.handleValueChange(e);
|
|
14972
|
+
}
|
|
14973
|
+
ngAfterViewInit() {
|
|
14974
|
+
this.registerForValidationForm(this.selectionList);
|
|
14975
|
+
this.onRenderCompleted.emit();
|
|
14976
|
+
}
|
|
14977
|
+
}
|
|
14978
|
+
AXSelectionListPropertyEditorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXSelectionListPropertyEditorComponent, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
14979
|
+
AXSelectionListPropertyEditorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: AXSelectionListPropertyEditorComponent, selector: "ng-component", viewQueries: [{ propertyName: "selectionList", first: true, predicate: AXSelectionListComponent, descendants: true, static: true }], usesInheritance: true, ngImport: i0, template: `
|
|
14980
|
+
<ax-selection-list
|
|
14981
|
+
[disabled]="disabled"
|
|
14982
|
+
[size]="size"
|
|
14983
|
+
[readonly]="readonly"
|
|
14984
|
+
[value]="value"
|
|
14985
|
+
[items]="items"
|
|
14986
|
+
[mode]="mode"
|
|
14987
|
+
(selectedItemsChange)="handleValueChange($event)"
|
|
14988
|
+
[textField]="textField"
|
|
14989
|
+
[valueField]="valueField"
|
|
14990
|
+
[direction]="direction"
|
|
14991
|
+
>
|
|
14978
14992
|
<ax-validation [rules]="validation?.rules">
|
|
14979
14993
|
</ax-validation>
|
|
14980
|
-
</ax-
|
|
14981
|
-
|
|
14994
|
+
</ax-selection-list>
|
|
14995
|
+
`, isInline: true, components: [{ type: AXSelectionListComponent, selector: "ax-selection-list", inputs: ["readonly", "value", "disabled", "size", "direction", "items", "mode", "textField", "valueField", "selectedItems", "selectedValues"], outputs: ["selectedItemsChange", "selectedValuesChange"] }, { type: AXValidationComponent, selector: "ax-validation", inputs: ["rules", "validateOn"], outputs: ["rulesChange", "showMessage"] }] });
|
|
14996
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXSelectionListPropertyEditorComponent, decorators: [{
|
|
14997
|
+
type: Component,
|
|
14998
|
+
args: [{
|
|
14999
|
+
template: `
|
|
15000
|
+
<ax-selection-list
|
|
15001
|
+
[disabled]="disabled"
|
|
15002
|
+
[size]="size"
|
|
15003
|
+
[readonly]="readonly"
|
|
15004
|
+
[value]="value"
|
|
15005
|
+
[items]="items"
|
|
15006
|
+
[mode]="mode"
|
|
15007
|
+
(selectedItemsChange)="handleValueChange($event)"
|
|
15008
|
+
[textField]="textField"
|
|
15009
|
+
[valueField]="valueField"
|
|
15010
|
+
[direction]="direction"
|
|
15011
|
+
>
|
|
15012
|
+
<ax-validation [rules]="validation?.rules">
|
|
15013
|
+
</ax-validation>
|
|
15014
|
+
</ax-selection-list>
|
|
15015
|
+
`,
|
|
14982
15016
|
}]
|
|
14983
|
-
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }]; }, propDecorators: {
|
|
15017
|
+
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }]; }, propDecorators: { selectionList: [{
|
|
14984
15018
|
type: ViewChild,
|
|
14985
|
-
args: [
|
|
15019
|
+
args: [AXSelectionListComponent, { static: true }]
|
|
14986
15020
|
}] } });
|
|
14987
15021
|
|
|
14988
|
-
class
|
|
15022
|
+
class AXSelectionPropertyEditorModule {
|
|
15023
|
+
}
|
|
15024
|
+
AXSelectionPropertyEditorModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXSelectionPropertyEditorModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
15025
|
+
AXSelectionPropertyEditorModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXSelectionPropertyEditorModule, declarations: [AXSelectionListPropertyEditorComponent], imports: [CommonModule, AXSelectionListModule, FormsModule, AXValidationModule], exports: [AXSelectionListPropertyEditorComponent] });
|
|
15026
|
+
AXSelectionPropertyEditorModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXSelectionPropertyEditorModule, providers: [], imports: [[CommonModule, AXSelectionListModule, FormsModule, AXValidationModule]] });
|
|
15027
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXSelectionPropertyEditorModule, decorators: [{
|
|
15028
|
+
type: NgModule,
|
|
15029
|
+
args: [{
|
|
15030
|
+
declarations: [AXSelectionListPropertyEditorComponent],
|
|
15031
|
+
imports: [CommonModule, AXSelectionListModule, FormsModule, AXValidationModule],
|
|
15032
|
+
exports: [AXSelectionListPropertyEditorComponent],
|
|
15033
|
+
providers: [],
|
|
15034
|
+
}]
|
|
15035
|
+
}] });
|
|
15036
|
+
|
|
15037
|
+
class AXSwitchPropertyEditorComponent extends AXProperyEditorComponent {
|
|
15038
|
+
constructor(cdr) {
|
|
15039
|
+
super(cdr);
|
|
15040
|
+
this.cdr = cdr;
|
|
15041
|
+
}
|
|
15042
|
+
handleValueChange(e) {
|
|
15043
|
+
super.handleValueChange(e.value);
|
|
15044
|
+
}
|
|
15045
|
+
ngAfterViewInit() {
|
|
15046
|
+
this.onRenderCompleted.emit();
|
|
15047
|
+
}
|
|
15048
|
+
}
|
|
15049
|
+
AXSwitchPropertyEditorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXSwitchPropertyEditorComponent, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
15050
|
+
AXSwitchPropertyEditorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: AXSwitchPropertyEditorComponent, selector: "ng-component", usesInheritance: true, ngImport: i0, template: `
|
|
15051
|
+
<ax-switch (onValueChanged)="handleValueChange($event)" [value]="value"></ax-switch>
|
|
15052
|
+
`, isInline: true, components: [{ type: AXSwitchComponent, selector: "ax-switch", inputs: ["tabIndex", "value", "readonly", "disabled", "size"], outputs: ["onValueChanged", "valueChange"] }] });
|
|
15053
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXSwitchPropertyEditorComponent, decorators: [{
|
|
15054
|
+
type: Component,
|
|
15055
|
+
args: [{
|
|
15056
|
+
template: `
|
|
15057
|
+
<ax-switch (onValueChanged)="handleValueChange($event)" [value]="value"></ax-switch>
|
|
15058
|
+
`,
|
|
15059
|
+
}]
|
|
15060
|
+
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }]; } });
|
|
15061
|
+
|
|
15062
|
+
class AXSwitchPropertyEditorModule {
|
|
14989
15063
|
constructor() {
|
|
14990
15064
|
}
|
|
14991
15065
|
}
|
|
14992
|
-
|
|
14993
|
-
|
|
14994
|
-
|
|
14995
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type:
|
|
15066
|
+
AXSwitchPropertyEditorModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXSwitchPropertyEditorModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
15067
|
+
AXSwitchPropertyEditorModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXSwitchPropertyEditorModule, declarations: [AXSwitchPropertyEditorComponent], imports: [CommonModule, FormsModule, AXNumberBoxModule, AXValidationModule, AXSwitchModule], exports: [AXSwitchPropertyEditorComponent] });
|
|
15068
|
+
AXSwitchPropertyEditorModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXSwitchPropertyEditorModule, providers: [], imports: [[CommonModule, FormsModule, AXNumberBoxModule, AXValidationModule, AXSwitchModule]] });
|
|
15069
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXSwitchPropertyEditorModule, decorators: [{
|
|
14996
15070
|
type: NgModule,
|
|
14997
15071
|
args: [{
|
|
14998
|
-
declarations: [
|
|
14999
|
-
imports: [CommonModule, FormsModule,
|
|
15000
|
-
exports: [
|
|
15072
|
+
declarations: [AXSwitchPropertyEditorComponent],
|
|
15073
|
+
imports: [CommonModule, FormsModule, AXNumberBoxModule, AXValidationModule, AXSwitchModule],
|
|
15074
|
+
exports: [AXSwitchPropertyEditorComponent],
|
|
15075
|
+
providers: []
|
|
15076
|
+
}]
|
|
15077
|
+
}], ctorParameters: function () { return []; } });
|
|
15078
|
+
|
|
15079
|
+
class AXTextPropertyEditorComponent extends AXProperyEditorComponent {
|
|
15080
|
+
constructor(cdr) {
|
|
15081
|
+
super(cdr);
|
|
15082
|
+
this.cdr = cdr;
|
|
15083
|
+
this.clearButton = false;
|
|
15084
|
+
}
|
|
15085
|
+
handleValueChange(e) {
|
|
15086
|
+
super.handleValueChange(e.value);
|
|
15087
|
+
}
|
|
15088
|
+
ngAfterViewInit() {
|
|
15089
|
+
this.registerForValidationForm(this.textBox);
|
|
15090
|
+
this.onRenderCompleted.emit();
|
|
15091
|
+
}
|
|
15092
|
+
}
|
|
15093
|
+
AXTextPropertyEditorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXTextPropertyEditorComponent, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
15094
|
+
AXTextPropertyEditorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: AXTextPropertyEditorComponent, selector: "ng-component", viewQueries: [{ propertyName: "textBox", first: true, predicate: AXTextBoxComponent, descendants: true }], usesInheritance: true, ngImport: i0, template: "<ax-text-box (onValueChanged)=\"handleValueChange($event)\" [value]=\"value\" [readonly]=\"readonly\" [allowClear]=\"clearButton\">\r\n <ax-validation [rules]=\"validation?.rules\">\r\n </ax-validation>\r\n</ax-text-box>", components: [{ type: AXTextBoxComponent, selector: "ax-text-box", inputs: ["mask", "type", "showMask", "maxLength", "maskGuid", "maskPlaceholder", "maskKeepCharPositions"] }, { type: AXValidationComponent, selector: "ax-validation", inputs: ["rules", "validateOn"], outputs: ["rulesChange", "showMessage"] }] });
|
|
15095
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXTextPropertyEditorComponent, decorators: [{
|
|
15096
|
+
type: Component,
|
|
15097
|
+
args: [{ template: "<ax-text-box (onValueChanged)=\"handleValueChange($event)\" [value]=\"value\" [readonly]=\"readonly\" [allowClear]=\"clearButton\">\r\n <ax-validation [rules]=\"validation?.rules\">\r\n </ax-validation>\r\n</ax-text-box>" }]
|
|
15098
|
+
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }]; }, propDecorators: { textBox: [{
|
|
15099
|
+
type: ViewChild,
|
|
15100
|
+
args: [AXTextBoxComponent]
|
|
15101
|
+
}] } });
|
|
15102
|
+
|
|
15103
|
+
class AXTextPropertyEditorModule {
|
|
15104
|
+
constructor() {
|
|
15105
|
+
}
|
|
15106
|
+
}
|
|
15107
|
+
AXTextPropertyEditorModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXTextPropertyEditorModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
15108
|
+
AXTextPropertyEditorModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXTextPropertyEditorModule, declarations: [AXTextPropertyEditorComponent], imports: [CommonModule, FormsModule, AXTextBoxModule, AXValidationModule], exports: [AXTextPropertyEditorComponent] });
|
|
15109
|
+
AXTextPropertyEditorModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXTextPropertyEditorModule, providers: [], imports: [[CommonModule, FormsModule, AXTextBoxModule, AXValidationModule]] });
|
|
15110
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXTextPropertyEditorModule, decorators: [{
|
|
15111
|
+
type: NgModule,
|
|
15112
|
+
args: [{
|
|
15113
|
+
declarations: [AXTextPropertyEditorComponent],
|
|
15114
|
+
imports: [CommonModule, FormsModule, AXTextBoxModule, AXValidationModule],
|
|
15115
|
+
exports: [AXTextPropertyEditorComponent],
|
|
15001
15116
|
providers: []
|
|
15002
15117
|
}]
|
|
15003
15118
|
}], ctorParameters: function () { return []; } });
|
|
@@ -15045,6 +15160,60 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
15045
15160
|
}]
|
|
15046
15161
|
}], ctorParameters: function () { return []; } });
|
|
15047
15162
|
|
|
15163
|
+
class AXTimePropertyEditorComponent extends AXProperyEditorComponent {
|
|
15164
|
+
constructor(cdr) {
|
|
15165
|
+
super(cdr);
|
|
15166
|
+
this.cdr = cdr;
|
|
15167
|
+
this.showCurentTime = false;
|
|
15168
|
+
this.clearButton = false;
|
|
15169
|
+
}
|
|
15170
|
+
handleValueChange(e) {
|
|
15171
|
+
super.handleValueChange(e.value?.time);
|
|
15172
|
+
}
|
|
15173
|
+
ngAfterViewInit() {
|
|
15174
|
+
this.registerForValidationForm(this.time);
|
|
15175
|
+
this.onRenderCompleted.emit();
|
|
15176
|
+
}
|
|
15177
|
+
}
|
|
15178
|
+
AXTimePropertyEditorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXTimePropertyEditorComponent, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
15179
|
+
AXTimePropertyEditorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: AXTimePropertyEditorComponent, selector: "ng-component", viewQueries: [{ propertyName: "time", first: true, predicate: AXDatePickerComponent, descendants: true }], usesInheritance: true, ngImport: i0, template: `
|
|
15180
|
+
<ax-time-picker [showCurentTime]="showCurentTime" [timeType]="timeType" [allowClear]="clearButton" (onValueChanged)="handleValueChange($event)">
|
|
15181
|
+
<ax-validation [rules]="validation?.rules">
|
|
15182
|
+
</ax-validation>
|
|
15183
|
+
</ax-time-picker>
|
|
15184
|
+
`, isInline: true, components: [{ type: AXTimePickerComponent, selector: "ax-time-picker", inputs: ["timeType", "showCurentTime"], outputs: ["onValueChanged"] }, { type: AXValidationComponent, selector: "ax-validation", inputs: ["rules", "validateOn"], outputs: ["rulesChange", "showMessage"] }] });
|
|
15185
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXTimePropertyEditorComponent, decorators: [{
|
|
15186
|
+
type: Component,
|
|
15187
|
+
args: [{
|
|
15188
|
+
template: `
|
|
15189
|
+
<ax-time-picker [showCurentTime]="showCurentTime" [timeType]="timeType" [allowClear]="clearButton" (onValueChanged)="handleValueChange($event)">
|
|
15190
|
+
<ax-validation [rules]="validation?.rules">
|
|
15191
|
+
</ax-validation>
|
|
15192
|
+
</ax-time-picker>
|
|
15193
|
+
`,
|
|
15194
|
+
}]
|
|
15195
|
+
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }]; }, propDecorators: { time: [{
|
|
15196
|
+
type: ViewChild,
|
|
15197
|
+
args: [AXDatePickerComponent]
|
|
15198
|
+
}] } });
|
|
15199
|
+
|
|
15200
|
+
class AXTimePropertyEditorModule {
|
|
15201
|
+
constructor() {
|
|
15202
|
+
}
|
|
15203
|
+
}
|
|
15204
|
+
AXTimePropertyEditorModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXTimePropertyEditorModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
15205
|
+
AXTimePropertyEditorModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXTimePropertyEditorModule, declarations: [AXTimePropertyEditorComponent], imports: [CommonModule, FormsModule, AXTimePickerModule, AXValidationModule], exports: [AXTimePropertyEditorComponent] });
|
|
15206
|
+
AXTimePropertyEditorModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXTimePropertyEditorModule, providers: [], imports: [[CommonModule, FormsModule, AXTimePickerModule, AXValidationModule]] });
|
|
15207
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXTimePropertyEditorModule, decorators: [{
|
|
15208
|
+
type: NgModule,
|
|
15209
|
+
args: [{
|
|
15210
|
+
declarations: [AXTimePropertyEditorComponent],
|
|
15211
|
+
imports: [CommonModule, FormsModule, AXTimePickerModule, AXValidationModule],
|
|
15212
|
+
exports: [AXTimePropertyEditorComponent],
|
|
15213
|
+
providers: []
|
|
15214
|
+
}]
|
|
15215
|
+
}], ctorParameters: function () { return []; } });
|
|
15216
|
+
|
|
15048
15217
|
const WDIGET_MODULES = [
|
|
15049
15218
|
AXNumberBoxPropertyEditorModule,
|
|
15050
15219
|
AXTextPropertyEditorModule,
|
|
@@ -15057,7 +15226,9 @@ const WDIGET_MODULES = [
|
|
|
15057
15226
|
AXDatePropertyEditorModule,
|
|
15058
15227
|
AXTimePropertyEditorModule,
|
|
15059
15228
|
AXTimePropertyEditorModule,
|
|
15060
|
-
AXTextareaPropertyEditorModule
|
|
15229
|
+
AXTextareaPropertyEditorModule,
|
|
15230
|
+
AXCheckPropertyEditorModule,
|
|
15231
|
+
AXSelectionPropertyEditorModule
|
|
15061
15232
|
];
|
|
15062
15233
|
class AXProppertyEditorModule {
|
|
15063
15234
|
}
|
|
@@ -15073,10 +15244,20 @@ AXProppertyEditorModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0",
|
|
|
15073
15244
|
AXDatePropertyEditorModule,
|
|
15074
15245
|
AXTimePropertyEditorModule,
|
|
15075
15246
|
AXTimePropertyEditorModule,
|
|
15076
|
-
AXTextareaPropertyEditorModule,
|
|
15247
|
+
AXTextareaPropertyEditorModule,
|
|
15248
|
+
AXCheckPropertyEditorModule,
|
|
15249
|
+
AXSelectionPropertyEditorModule, i1$4.RouterModule], exports: [AXPropertyEditorRendererDirective] });
|
|
15077
15250
|
AXProppertyEditorModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXProppertyEditorModule, providers: [], imports: [[
|
|
15078
15251
|
WDIGET_MODULES,
|
|
15079
15252
|
RouterModule.forChild([
|
|
15253
|
+
{
|
|
15254
|
+
path: 'ax/editors/selection',
|
|
15255
|
+
component: AXSelectionListPropertyEditorComponent
|
|
15256
|
+
},
|
|
15257
|
+
{
|
|
15258
|
+
component: AXCheckBoxPropertyEditorComponent,
|
|
15259
|
+
path: 'ax/editors/check'
|
|
15260
|
+
},
|
|
15080
15261
|
{
|
|
15081
15262
|
component: AXTextPropertyEditorComponent,
|
|
15082
15263
|
path: 'ax/editors/text'
|
|
@@ -15128,6 +15309,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
15128
15309
|
imports: [
|
|
15129
15310
|
WDIGET_MODULES,
|
|
15130
15311
|
RouterModule.forChild([
|
|
15312
|
+
{
|
|
15313
|
+
path: 'ax/editors/selection',
|
|
15314
|
+
component: AXSelectionListPropertyEditorComponent
|
|
15315
|
+
},
|
|
15316
|
+
{
|
|
15317
|
+
component: AXCheckBoxPropertyEditorComponent,
|
|
15318
|
+
path: 'ax/editors/check'
|
|
15319
|
+
},
|
|
15131
15320
|
{
|
|
15132
15321
|
component: AXTextPropertyEditorComponent,
|
|
15133
15322
|
path: 'ax/editors/text'
|