@acorex/components 4.1.7 → 4.1.9
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/esm2020/lib/validation/validation-form.component.mjs +3 -2
- package/fesm2015/acorex-components.mjs +660 -469
- package/fesm2015/acorex-components.mjs.map +1 -1
- package/fesm2020/acorex-components.mjs +649 -459
- 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;
|
|
@@ -5614,7 +5616,8 @@ class AXValidationFormComponent {
|
|
|
5614
5616
|
});
|
|
5615
5617
|
}
|
|
5616
5618
|
addWidget(widget) {
|
|
5617
|
-
|
|
5619
|
+
if (widget)
|
|
5620
|
+
this.widgets.push(widget);
|
|
5618
5621
|
}
|
|
5619
5622
|
}
|
|
5620
5623
|
AXValidationFormComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXValidationFormComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
@@ -10318,6 +10321,13 @@ class AXTabPageHostComponent {
|
|
|
10318
10321
|
ngOnInit() {
|
|
10319
10322
|
this.isLoading = true;
|
|
10320
10323
|
}
|
|
10324
|
+
active() {
|
|
10325
|
+
const func = this.componentRef?.instance?.onActivated;
|
|
10326
|
+
if (func) {
|
|
10327
|
+
const f = func.bind(this.componentRef.instance);
|
|
10328
|
+
f();
|
|
10329
|
+
}
|
|
10330
|
+
}
|
|
10321
10331
|
async ngAfterViewInit() {
|
|
10322
10332
|
this._loadingId = this.loadingService.show(this.ref.nativeElement.querySelector('.ax-tab-page-host-container'));
|
|
10323
10333
|
//
|
|
@@ -10422,6 +10432,7 @@ class AXTabPageRendererComponent {
|
|
|
10422
10432
|
if (v) {
|
|
10423
10433
|
v.location.nativeElement.hidden = false;
|
|
10424
10434
|
v.changeDetectorRef.reattach();
|
|
10435
|
+
v.instance.active();
|
|
10425
10436
|
}
|
|
10426
10437
|
else {
|
|
10427
10438
|
try {
|
|
@@ -10433,6 +10444,7 @@ class AXTabPageRendererComponent {
|
|
|
10433
10444
|
this.childs.push(componentRef);
|
|
10434
10445
|
setTimeout(() => {
|
|
10435
10446
|
componentRef.changeDetectorRef.detectChanges();
|
|
10447
|
+
//host.active();
|
|
10436
10448
|
}, 10);
|
|
10437
10449
|
}
|
|
10438
10450
|
catch (error) {
|
|
@@ -13335,6 +13347,7 @@ class AXProperyEditorComponent {
|
|
|
13335
13347
|
return this._value;
|
|
13336
13348
|
}
|
|
13337
13349
|
set value(v) {
|
|
13350
|
+
console.log('value set');
|
|
13338
13351
|
if (v !== this._value) {
|
|
13339
13352
|
this._value = v;
|
|
13340
13353
|
this.valueChange.emit(v);
|
|
@@ -13370,7 +13383,7 @@ class AXPropertyDecorator {
|
|
|
13370
13383
|
// @dynamic
|
|
13371
13384
|
class AXPropertyDecorators {
|
|
13372
13385
|
static register(cls, property, options) {
|
|
13373
|
-
const item = AXPropertyDecorators.REGISTRY.find(c => c.cls === cls && c.property === property);
|
|
13386
|
+
const item = AXPropertyDecorators.REGISTRY.find((c) => c.cls === cls && c.property === property);
|
|
13374
13387
|
if (item) {
|
|
13375
13388
|
item.options = options;
|
|
13376
13389
|
}
|
|
@@ -13379,14 +13392,14 @@ class AXPropertyDecorators {
|
|
|
13379
13392
|
}
|
|
13380
13393
|
}
|
|
13381
13394
|
static has(cls, property) {
|
|
13382
|
-
return AXPropertyDecorators.REGISTRY.some(c => c.cls === cls && c.property === property);
|
|
13395
|
+
return AXPropertyDecorators.REGISTRY.some((c) => c.cls === cls && c.property === property);
|
|
13383
13396
|
}
|
|
13384
13397
|
static get(cls, property) {
|
|
13385
|
-
return AXPropertyDecorators.REGISTRY.find(c => c.cls === cls && c.property === property);
|
|
13398
|
+
return AXPropertyDecorators.REGISTRY.find((c) => c.cls === cls && c.property === property);
|
|
13386
13399
|
}
|
|
13387
13400
|
static isValid(property) {
|
|
13388
13401
|
if (property) {
|
|
13389
|
-
return AXPropertyDecorators.REGISTRY.some(c => c.property === property);
|
|
13402
|
+
return AXPropertyDecorators.REGISTRY.some((c) => c.property === property);
|
|
13390
13403
|
}
|
|
13391
13404
|
return false;
|
|
13392
13405
|
}
|
|
@@ -13398,7 +13411,7 @@ class AXPropertyDecorators {
|
|
|
13398
13411
|
p.push(superClass.constructor);
|
|
13399
13412
|
superClass = Object.getPrototypeOf(superClass);
|
|
13400
13413
|
}
|
|
13401
|
-
list.push(...AXPropertyDecorators.REGISTRY.filter(c => p.includes(c.cls.constructor)));
|
|
13414
|
+
list.push(...AXPropertyDecorators.REGISTRY.filter((c) => p.includes(c.cls.constructor)));
|
|
13402
13415
|
return list;
|
|
13403
13416
|
}
|
|
13404
13417
|
}
|
|
@@ -13557,198 +13570,75 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
13557
13570
|
type: Output
|
|
13558
13571
|
}] } });
|
|
13559
13572
|
|
|
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 {
|
|
13573
|
+
class AXCheckBoxPropertyEditorComponent extends AXProperyEditorComponent {
|
|
13602
13574
|
constructor(cdr) {
|
|
13603
13575
|
super(cdr);
|
|
13604
13576
|
this.cdr = cdr;
|
|
13605
|
-
this.
|
|
13606
|
-
this.
|
|
13607
|
-
this.
|
|
13608
|
-
this.
|
|
13609
|
-
this.clearButton = false;
|
|
13577
|
+
this.disabled = false;
|
|
13578
|
+
this.indeterminate = false;
|
|
13579
|
+
this.readonly = false;
|
|
13580
|
+
this.size = 'md';
|
|
13610
13581
|
}
|
|
13611
13582
|
handleValueChange(e) {
|
|
13612
13583
|
super.handleValueChange(e.value);
|
|
13613
13584
|
}
|
|
13614
13585
|
ngAfterViewInit() {
|
|
13615
|
-
this.registerForValidationForm(this.
|
|
13586
|
+
this.registerForValidationForm(this.checkBox);
|
|
13616
13587
|
this.onRenderCompleted.emit();
|
|
13617
13588
|
}
|
|
13618
13589
|
}
|
|
13619
|
-
|
|
13620
|
-
|
|
13621
|
-
|
|
13622
|
-
|
|
13623
|
-
|
|
13624
|
-
|
|
13625
|
-
|
|
13626
|
-
|
|
13627
|
-
|
|
13628
|
-
|
|
13629
|
-
|
|
13630
|
-
|
|
13631
|
-
</ax-
|
|
13632
|
-
|
|
13633
|
-
|
|
13590
|
+
AXCheckBoxPropertyEditorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXCheckBoxPropertyEditorComponent, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
13591
|
+
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: `
|
|
13592
|
+
<ax-check-box
|
|
13593
|
+
[disabled]="disabled"
|
|
13594
|
+
[label]="label"
|
|
13595
|
+
[size]="size"
|
|
13596
|
+
[indeterminate]="indeterminate"
|
|
13597
|
+
[readonly]="readonly"
|
|
13598
|
+
[value]="value"
|
|
13599
|
+
(onValueChanged)="handleValueChange($event)"
|
|
13600
|
+
>
|
|
13601
|
+
<ax-validation [rules]="validation?.rules">
|
|
13602
|
+
</ax-validation>
|
|
13603
|
+
</ax-check-box>
|
|
13604
|
+
`, 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"] }] });
|
|
13605
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXCheckBoxPropertyEditorComponent, decorators: [{
|
|
13634
13606
|
type: Component,
|
|
13635
13607
|
args: [{
|
|
13636
13608
|
template: `
|
|
13637
|
-
|
|
13638
|
-
|
|
13639
|
-
|
|
13640
|
-
|
|
13641
|
-
|
|
13642
|
-
|
|
13643
|
-
|
|
13644
|
-
|
|
13645
|
-
|
|
13646
|
-
|
|
13647
|
-
</ax-
|
|
13609
|
+
<ax-check-box
|
|
13610
|
+
[disabled]="disabled"
|
|
13611
|
+
[label]="label"
|
|
13612
|
+
[size]="size"
|
|
13613
|
+
[indeterminate]="indeterminate"
|
|
13614
|
+
[readonly]="readonly"
|
|
13615
|
+
[value]="value"
|
|
13616
|
+
(onValueChanged)="handleValueChange($event)"
|
|
13617
|
+
>
|
|
13618
|
+
<ax-validation [rules]="validation?.rules">
|
|
13619
|
+
</ax-validation>
|
|
13620
|
+
</ax-check-box>
|
|
13648
13621
|
`,
|
|
13649
13622
|
}]
|
|
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: [{
|
|
13623
|
+
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }]; }, propDecorators: { checkBox: [{
|
|
13732
13624
|
type: ViewChild,
|
|
13733
|
-
args: [
|
|
13625
|
+
args: [AXCheckBoxComponent, { static: true }]
|
|
13734
13626
|
}] } });
|
|
13735
13627
|
|
|
13736
|
-
class
|
|
13737
|
-
constructor() {
|
|
13738
|
-
}
|
|
13628
|
+
class AXCheckPropertyEditorModule {
|
|
13739
13629
|
}
|
|
13740
|
-
|
|
13741
|
-
|
|
13742
|
-
|
|
13743
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type:
|
|
13630
|
+
AXCheckPropertyEditorModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXCheckPropertyEditorModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
13631
|
+
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] });
|
|
13632
|
+
AXCheckPropertyEditorModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXCheckPropertyEditorModule, providers: [], imports: [[CommonModule, AXCheckBoxModule, FormsModule, AXValidationModule]] });
|
|
13633
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXCheckPropertyEditorModule, decorators: [{
|
|
13744
13634
|
type: NgModule,
|
|
13745
13635
|
args: [{
|
|
13746
|
-
declarations: [
|
|
13747
|
-
imports: [CommonModule,
|
|
13748
|
-
exports: [
|
|
13749
|
-
providers: []
|
|
13636
|
+
declarations: [AXCheckBoxPropertyEditorComponent],
|
|
13637
|
+
imports: [CommonModule, AXCheckBoxModule, FormsModule, AXValidationModule],
|
|
13638
|
+
exports: [AXCheckBoxPropertyEditorComponent],
|
|
13639
|
+
providers: [],
|
|
13750
13640
|
}]
|
|
13751
|
-
}]
|
|
13641
|
+
}] });
|
|
13752
13642
|
|
|
13753
13643
|
class AXColorBoxComponent extends AXValidatableComponent {
|
|
13754
13644
|
constructor() {
|
|
@@ -14238,225 +14128,55 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
14238
14128
|
type: Input
|
|
14239
14129
|
}] } });
|
|
14240
14130
|
|
|
14241
|
-
class
|
|
14242
|
-
constructor(cdr
|
|
14131
|
+
class AXColorPropertyEditorComponent extends AXProperyEditorComponent {
|
|
14132
|
+
constructor(cdr) {
|
|
14243
14133
|
super(cdr);
|
|
14244
14134
|
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
14135
|
}
|
|
14254
14136
|
ngAfterViewInit() {
|
|
14137
|
+
this.registerForValidationForm(this.textBox);
|
|
14255
14138
|
this.onRenderCompleted.emit();
|
|
14256
14139
|
}
|
|
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() {
|
|
14140
|
+
}
|
|
14141
|
+
AXColorPropertyEditorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXColorPropertyEditorComponent, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
14142
|
+
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: `
|
|
14143
|
+
<ax-color-picker [(value)]="value">
|
|
14144
|
+
<ax-validation [rules]="validation?.rules">
|
|
14145
|
+
</ax-validation>
|
|
14146
|
+
</ax-color-picker>
|
|
14147
|
+
`, 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"] }] });
|
|
14148
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXColorPropertyEditorComponent, decorators: [{
|
|
14149
|
+
type: Component,
|
|
14150
|
+
args: [{
|
|
14151
|
+
template: `
|
|
14152
|
+
<ax-color-picker [(value)]="value">
|
|
14153
|
+
<ax-validation [rules]="validation?.rules">
|
|
14154
|
+
</ax-validation>
|
|
14155
|
+
</ax-color-picker>
|
|
14156
|
+
`,
|
|
14157
|
+
}]
|
|
14158
|
+
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }]; }, propDecorators: { textBox: [{
|
|
14159
|
+
type: ViewChild,
|
|
14160
|
+
args: [AXColorPickerComponent]
|
|
14161
|
+
}] } });
|
|
14162
|
+
|
|
14163
|
+
class AXColorPickerModule {
|
|
14164
|
+
}
|
|
14165
|
+
AXColorPickerModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXColorPickerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
14166
|
+
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] });
|
|
14167
|
+
AXColorPickerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXColorPickerModule, providers: [], imports: [[CommonModule, FormsModule, AXDropdownModule, AXValidationModule, AXTextBoxModule]] });
|
|
14168
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXColorPickerModule, decorators: [{
|
|
14169
|
+
type: NgModule,
|
|
14170
|
+
args: [{
|
|
14171
|
+
declarations: [AXColorPickerComponent, AXColorBoxComponent],
|
|
14172
|
+
imports: [CommonModule, FormsModule, AXDropdownModule, AXValidationModule, AXTextBoxModule],
|
|
14173
|
+
exports: [AXColorPickerComponent, AXColorBoxComponent],
|
|
14174
|
+
providers: []
|
|
14175
|
+
}]
|
|
14176
|
+
}] });
|
|
14177
|
+
|
|
14178
|
+
class AXColorPropertyEditorModule {
|
|
14179
|
+
constructor() {
|
|
14460
14180
|
}
|
|
14461
14181
|
}
|
|
14462
14182
|
AXColorPropertyEditorModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXColorPropertyEditorModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
@@ -14844,48 +14564,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
14844
14564
|
}]
|
|
14845
14565
|
}], ctorParameters: function () { return []; } });
|
|
14846
14566
|
|
|
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
14567
|
class AXDatePropertyEditorComponent extends AXProperyEditorComponent {
|
|
14890
14568
|
constructor(cdr) {
|
|
14891
14569
|
super(cdr);
|
|
@@ -14948,56 +14626,494 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
14948
14626
|
}]
|
|
14949
14627
|
}], ctorParameters: function () { return []; } });
|
|
14950
14628
|
|
|
14951
|
-
class
|
|
14629
|
+
class AXNumberBoxPropertyEditorComponent extends AXProperyEditorComponent {
|
|
14952
14630
|
constructor(cdr) {
|
|
14953
14631
|
super(cdr);
|
|
14954
14632
|
this.cdr = cdr;
|
|
14955
|
-
this.
|
|
14633
|
+
this.showSeparator = true;
|
|
14634
|
+
this.decimalNumber = 2;
|
|
14635
|
+
this.minValue = null;
|
|
14636
|
+
this.maxValue = null;
|
|
14956
14637
|
this.clearButton = false;
|
|
14957
14638
|
}
|
|
14958
14639
|
handleValueChange(e) {
|
|
14959
|
-
super.handleValueChange(e.value
|
|
14640
|
+
super.handleValueChange(e.value);
|
|
14960
14641
|
}
|
|
14961
14642
|
ngAfterViewInit() {
|
|
14962
|
-
this.registerForValidationForm(this.
|
|
14643
|
+
this.registerForValidationForm(this.textBox);
|
|
14963
14644
|
this.onRenderCompleted.emit();
|
|
14964
14645
|
}
|
|
14965
14646
|
}
|
|
14966
|
-
|
|
14967
|
-
|
|
14968
|
-
|
|
14969
|
-
|
|
14970
|
-
|
|
14971
|
-
|
|
14972
|
-
|
|
14973
|
-
|
|
14647
|
+
AXNumberBoxPropertyEditorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXNumberBoxPropertyEditorComponent, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
14648
|
+
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: `
|
|
14649
|
+
<ax-number-box (onValueChanged)="handleValueChange($event)"
|
|
14650
|
+
[value]="value"
|
|
14651
|
+
[showSeparator]="showSeparator"
|
|
14652
|
+
[decimalNumber]="decimalNumber"
|
|
14653
|
+
[min]="minValue"
|
|
14654
|
+
[max]="maxValue"
|
|
14655
|
+
[allowClear]="clearButton"
|
|
14656
|
+
>
|
|
14657
|
+
<ax-validation [rules]="validation?.rules">
|
|
14658
|
+
</ax-validation>
|
|
14659
|
+
</ax-number-box>
|
|
14660
|
+
`, 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"] }] });
|
|
14661
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXNumberBoxPropertyEditorComponent, decorators: [{
|
|
14974
14662
|
type: Component,
|
|
14975
14663
|
args: [{
|
|
14976
14664
|
template: `
|
|
14977
|
-
|
|
14665
|
+
<ax-number-box (onValueChanged)="handleValueChange($event)"
|
|
14666
|
+
[value]="value"
|
|
14667
|
+
[showSeparator]="showSeparator"
|
|
14668
|
+
[decimalNumber]="decimalNumber"
|
|
14669
|
+
[min]="minValue"
|
|
14670
|
+
[max]="maxValue"
|
|
14671
|
+
[allowClear]="clearButton"
|
|
14672
|
+
>
|
|
14673
|
+
<ax-validation [rules]="validation?.rules">
|
|
14674
|
+
</ax-validation>
|
|
14675
|
+
</ax-number-box>
|
|
14676
|
+
`,
|
|
14677
|
+
}]
|
|
14678
|
+
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }]; }, propDecorators: { textBox: [{
|
|
14679
|
+
type: ViewChild,
|
|
14680
|
+
args: [AXNumberBoxComponent]
|
|
14681
|
+
}] } });
|
|
14682
|
+
|
|
14683
|
+
class AXNumberBoxPropertyEditorModule {
|
|
14684
|
+
constructor() {
|
|
14685
|
+
}
|
|
14686
|
+
}
|
|
14687
|
+
AXNumberBoxPropertyEditorModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXNumberBoxPropertyEditorModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
14688
|
+
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] });
|
|
14689
|
+
AXNumberBoxPropertyEditorModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXNumberBoxPropertyEditorModule, providers: [], imports: [[CommonModule, FormsModule, AXNumberBoxModule, AXValidationModule]] });
|
|
14690
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXNumberBoxPropertyEditorModule, decorators: [{
|
|
14691
|
+
type: NgModule,
|
|
14692
|
+
args: [{
|
|
14693
|
+
declarations: [AXNumberBoxPropertyEditorComponent],
|
|
14694
|
+
imports: [CommonModule, FormsModule, AXNumberBoxModule, AXValidationModule],
|
|
14695
|
+
exports: [AXNumberBoxPropertyEditorComponent],
|
|
14696
|
+
providers: []
|
|
14697
|
+
}]
|
|
14698
|
+
}], ctorParameters: function () { return []; } });
|
|
14699
|
+
|
|
14700
|
+
class AXRangePropertyEditorComponent extends AXProperyEditorComponent {
|
|
14701
|
+
constructor(cdr, popupService) {
|
|
14702
|
+
super(cdr);
|
|
14703
|
+
this.cdr = cdr;
|
|
14704
|
+
this.popupService = popupService;
|
|
14705
|
+
this.ranges = [];
|
|
14706
|
+
this.showSeparator = true;
|
|
14707
|
+
this.decimalNumber = 2;
|
|
14708
|
+
}
|
|
14709
|
+
ngOnInit() {
|
|
14710
|
+
this.ranges = this.value ? JSON.parse(JSON.stringify(this.value)) : [];
|
|
14711
|
+
this.cdr.detectChanges();
|
|
14712
|
+
}
|
|
14713
|
+
ngAfterViewInit() {
|
|
14714
|
+
this.onRenderCompleted.emit();
|
|
14715
|
+
}
|
|
14716
|
+
// getRanges() {
|
|
14717
|
+
// return this.ranges.sort((a, b) => a.minValue - b.minValue);
|
|
14718
|
+
// }
|
|
14719
|
+
onFormInit(e) {
|
|
14720
|
+
this.form = e.component;
|
|
14721
|
+
}
|
|
14722
|
+
handleEditClick(item) {
|
|
14723
|
+
this.editRow = Object.assign({}, item);
|
|
14724
|
+
const popup = this.popupService.open(this.tplEdit, {
|
|
14725
|
+
size: 'sm',
|
|
14726
|
+
footerButtons: [
|
|
14727
|
+
{
|
|
14728
|
+
name: 'confirm',
|
|
14729
|
+
text: AXTranslator.get('common.confirm'),
|
|
14730
|
+
style: 'success',
|
|
14731
|
+
submitBehavior: true,
|
|
14732
|
+
cancelBehavior: false,
|
|
14733
|
+
onClick: () => {
|
|
14734
|
+
this.form.validate().then(c => {
|
|
14735
|
+
if (c.result) {
|
|
14736
|
+
super.handleValueChange(this.ranges);
|
|
14737
|
+
Object.assign(item, this.editRow);
|
|
14738
|
+
popup.close();
|
|
14739
|
+
this.editRow = null;
|
|
14740
|
+
this.cdr.detectChanges();
|
|
14741
|
+
}
|
|
14742
|
+
});
|
|
14743
|
+
}
|
|
14744
|
+
},
|
|
14745
|
+
{
|
|
14746
|
+
name: 'cancel',
|
|
14747
|
+
text: AXTranslator.get('common.cancel'),
|
|
14748
|
+
style: 'danger blank',
|
|
14749
|
+
submitBehavior: false,
|
|
14750
|
+
cancelBehavior: true,
|
|
14751
|
+
onClick: () => {
|
|
14752
|
+
popup.close();
|
|
14753
|
+
this.editRow = null;
|
|
14754
|
+
this.cdr.detectChanges();
|
|
14755
|
+
}
|
|
14756
|
+
}
|
|
14757
|
+
],
|
|
14758
|
+
title: AXTranslator.get('common.edit')
|
|
14759
|
+
});
|
|
14760
|
+
}
|
|
14761
|
+
handleAddClick() {
|
|
14762
|
+
const min = this.ranges?.length ? Math.max(...this.ranges.map(c => c.maxValue)) : 0;
|
|
14763
|
+
this.editRow = {
|
|
14764
|
+
title: '',
|
|
14765
|
+
minValue: min,
|
|
14766
|
+
maxValue: min + 1,
|
|
14767
|
+
color: null
|
|
14768
|
+
};
|
|
14769
|
+
const popup = this.popupService.open(this.tplEdit, {
|
|
14770
|
+
title: AXTranslator.get('common.add-item'),
|
|
14771
|
+
size: 'sm',
|
|
14772
|
+
footerButtons: [
|
|
14773
|
+
{
|
|
14774
|
+
name: 'confirm',
|
|
14775
|
+
text: AXTranslator.get('common.confirm'),
|
|
14776
|
+
style: 'success',
|
|
14777
|
+
submitBehavior: true,
|
|
14778
|
+
cancelBehavior: false,
|
|
14779
|
+
onClick: () => {
|
|
14780
|
+
this.form.validate().then(c => {
|
|
14781
|
+
if (c.result) {
|
|
14782
|
+
super.handleValueChange(this.ranges);
|
|
14783
|
+
this.ranges.push(this.editRow);
|
|
14784
|
+
popup.close();
|
|
14785
|
+
this.editRow = null;
|
|
14786
|
+
this.cdr.detectChanges();
|
|
14787
|
+
}
|
|
14788
|
+
});
|
|
14789
|
+
}
|
|
14790
|
+
},
|
|
14791
|
+
{
|
|
14792
|
+
name: 'cancel',
|
|
14793
|
+
text: AXTranslator.get('common.cancel'),
|
|
14794
|
+
style: 'danger blank',
|
|
14795
|
+
submitBehavior: false,
|
|
14796
|
+
cancelBehavior: true,
|
|
14797
|
+
onClick: () => {
|
|
14798
|
+
popup.close();
|
|
14799
|
+
this.editRow = null;
|
|
14800
|
+
this.cdr.detectChanges();
|
|
14801
|
+
}
|
|
14802
|
+
}
|
|
14803
|
+
],
|
|
14804
|
+
});
|
|
14805
|
+
this.cdr.detectChanges();
|
|
14806
|
+
}
|
|
14807
|
+
handleRemoveClick(item) {
|
|
14808
|
+
this.ranges = this.ranges.filter(c => c.minValue !== item.minValue);
|
|
14809
|
+
super.handleValueChange(this.ranges);
|
|
14810
|
+
}
|
|
14811
|
+
}
|
|
14812
|
+
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 });
|
|
14813
|
+
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 });
|
|
14814
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXRangePropertyEditorComponent, decorators: [{
|
|
14815
|
+
type: Component,
|
|
14816
|
+
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"] }]
|
|
14817
|
+
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: AXPopupService }]; }, propDecorators: { tplEdit: [{
|
|
14818
|
+
type: ViewChild,
|
|
14819
|
+
args: ['tplEdit']
|
|
14820
|
+
}] } });
|
|
14821
|
+
|
|
14822
|
+
class AXRangePropertyEditorModule {
|
|
14823
|
+
constructor() {
|
|
14824
|
+
}
|
|
14825
|
+
}
|
|
14826
|
+
AXRangePropertyEditorModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXRangePropertyEditorModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
14827
|
+
AXRangePropertyEditorModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXRangePropertyEditorModule, declarations: [AXRangePropertyEditorComponent], imports: [CommonModule,
|
|
14828
|
+
FormsModule,
|
|
14829
|
+
AXTranslatorModule,
|
|
14830
|
+
AXTextBoxModule,
|
|
14831
|
+
AXNumberBoxModule,
|
|
14832
|
+
AXColorPickerModule,
|
|
14833
|
+
AXLabelModule,
|
|
14834
|
+
AXPageModule,
|
|
14835
|
+
AXValidationModule,
|
|
14836
|
+
AXButtonModule], exports: [AXRangePropertyEditorComponent] });
|
|
14837
|
+
AXRangePropertyEditorModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXRangePropertyEditorModule, providers: [], imports: [[
|
|
14838
|
+
CommonModule,
|
|
14839
|
+
FormsModule,
|
|
14840
|
+
AXTranslatorModule,
|
|
14841
|
+
AXTextBoxModule,
|
|
14842
|
+
AXNumberBoxModule,
|
|
14843
|
+
AXColorPickerModule,
|
|
14844
|
+
AXLabelModule,
|
|
14845
|
+
AXPageModule,
|
|
14846
|
+
AXValidationModule,
|
|
14847
|
+
AXButtonModule
|
|
14848
|
+
]] });
|
|
14849
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXRangePropertyEditorModule, decorators: [{
|
|
14850
|
+
type: NgModule,
|
|
14851
|
+
args: [{
|
|
14852
|
+
declarations: [AXRangePropertyEditorComponent],
|
|
14853
|
+
imports: [
|
|
14854
|
+
CommonModule,
|
|
14855
|
+
FormsModule,
|
|
14856
|
+
AXTranslatorModule,
|
|
14857
|
+
AXTextBoxModule,
|
|
14858
|
+
AXNumberBoxModule,
|
|
14859
|
+
AXColorPickerModule,
|
|
14860
|
+
AXLabelModule,
|
|
14861
|
+
AXPageModule,
|
|
14862
|
+
AXValidationModule,
|
|
14863
|
+
AXButtonModule
|
|
14864
|
+
],
|
|
14865
|
+
exports: [AXRangePropertyEditorComponent],
|
|
14866
|
+
providers: []
|
|
14867
|
+
}]
|
|
14868
|
+
}], ctorParameters: function () { return []; } });
|
|
14869
|
+
|
|
14870
|
+
class AXSelectBoxPropertyEditorComponent extends AXProperyEditorComponent {
|
|
14871
|
+
constructor(cdr) {
|
|
14872
|
+
super(cdr);
|
|
14873
|
+
this.cdr = cdr;
|
|
14874
|
+
this.valueField = 'id';
|
|
14875
|
+
this.textField = 'text';
|
|
14876
|
+
this.mode = 'single';
|
|
14877
|
+
this.selectionDataMode = 'value';
|
|
14878
|
+
this.allowSearch = true;
|
|
14879
|
+
this.allowNull = false;
|
|
14880
|
+
this.disabled = false;
|
|
14881
|
+
this.items = [];
|
|
14882
|
+
this.remoteOperation = false;
|
|
14883
|
+
this.returnAllData = false;
|
|
14884
|
+
this.provideData = (e) => {
|
|
14885
|
+
return new Promise((resolve) => {
|
|
14886
|
+
const func = () => {
|
|
14887
|
+
if (Array.isArray(this.items)) {
|
|
14888
|
+
resolve(this.items.slice());
|
|
14889
|
+
}
|
|
14890
|
+
else if (typeof this.items === 'function') {
|
|
14891
|
+
const a = Object.assign(e, { sender: this });
|
|
14892
|
+
resolve(this.items(a));
|
|
14893
|
+
}
|
|
14894
|
+
else {
|
|
14895
|
+
resolve([]);
|
|
14896
|
+
}
|
|
14897
|
+
};
|
|
14898
|
+
const intVal = setInterval(() => {
|
|
14899
|
+
if (this.initiated) {
|
|
14900
|
+
func();
|
|
14901
|
+
clearInterval(intVal);
|
|
14902
|
+
}
|
|
14903
|
+
}, 50);
|
|
14904
|
+
});
|
|
14905
|
+
};
|
|
14906
|
+
}
|
|
14907
|
+
get filter() {
|
|
14908
|
+
return this._filter;
|
|
14909
|
+
}
|
|
14910
|
+
set filter(v) {
|
|
14911
|
+
this._filter = v;
|
|
14912
|
+
if (this.value && this.initiated) {
|
|
14913
|
+
this.value = null;
|
|
14914
|
+
this.selectBox?.refresh();
|
|
14915
|
+
}
|
|
14916
|
+
}
|
|
14917
|
+
handleValueChange(e) {
|
|
14918
|
+
if (this.returnAllData) {
|
|
14919
|
+
super.handleValueChange(e.selectedItems);
|
|
14920
|
+
}
|
|
14921
|
+
else {
|
|
14922
|
+
super.handleValueChange(e.selectedValues);
|
|
14923
|
+
}
|
|
14924
|
+
}
|
|
14925
|
+
ngAfterViewInit() {
|
|
14926
|
+
this.registerForValidationForm(this.selectBox);
|
|
14927
|
+
this.onRenderCompleted.emit();
|
|
14928
|
+
}
|
|
14929
|
+
}
|
|
14930
|
+
AXSelectBoxPropertyEditorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXSelectBoxPropertyEditorComponent, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
14931
|
+
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"] }] });
|
|
14932
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXSelectBoxPropertyEditorComponent, decorators: [{
|
|
14933
|
+
type: Component,
|
|
14934
|
+
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" }]
|
|
14935
|
+
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }]; }, propDecorators: { selectBox: [{
|
|
14936
|
+
type: ViewChild,
|
|
14937
|
+
args: [AXSelectBoxComponent, { static: true }]
|
|
14938
|
+
}] } });
|
|
14939
|
+
|
|
14940
|
+
class AXSelectBoxPropertyEditorModule {
|
|
14941
|
+
constructor() {
|
|
14942
|
+
}
|
|
14943
|
+
}
|
|
14944
|
+
AXSelectBoxPropertyEditorModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXSelectBoxPropertyEditorModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
14945
|
+
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] });
|
|
14946
|
+
AXSelectBoxPropertyEditorModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXSelectBoxPropertyEditorModule, providers: [], imports: [[CommonModule, FormsModule, AXSelectBoxModule, AXDataSourceModule, AXValidationModule]] });
|
|
14947
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXSelectBoxPropertyEditorModule, decorators: [{
|
|
14948
|
+
type: NgModule,
|
|
14949
|
+
args: [{
|
|
14950
|
+
declarations: [AXSelectBoxPropertyEditorComponent],
|
|
14951
|
+
imports: [CommonModule, FormsModule, AXSelectBoxModule, AXDataSourceModule, AXValidationModule],
|
|
14952
|
+
exports: [AXSelectBoxPropertyEditorComponent],
|
|
14953
|
+
providers: []
|
|
14954
|
+
}]
|
|
14955
|
+
}], ctorParameters: function () { return []; } });
|
|
14956
|
+
|
|
14957
|
+
class AXSelectionListPropertyEditorComponent extends AXProperyEditorComponent {
|
|
14958
|
+
constructor(cdr) {
|
|
14959
|
+
super(cdr);
|
|
14960
|
+
this.cdr = cdr;
|
|
14961
|
+
this.disabled = false;
|
|
14962
|
+
this.indeterminate = false;
|
|
14963
|
+
this.readonly = false;
|
|
14964
|
+
this.size = 'md';
|
|
14965
|
+
this.items = [];
|
|
14966
|
+
this.mode = 'single';
|
|
14967
|
+
this.direction = 'horizontal';
|
|
14968
|
+
this.textField = null;
|
|
14969
|
+
this.valueField = null;
|
|
14970
|
+
}
|
|
14971
|
+
handleValueChange(e) {
|
|
14972
|
+
super.handleValueChange(e);
|
|
14973
|
+
}
|
|
14974
|
+
ngAfterViewInit() {
|
|
14975
|
+
this.registerForValidationForm(this.selectionList);
|
|
14976
|
+
this.onRenderCompleted.emit();
|
|
14977
|
+
}
|
|
14978
|
+
}
|
|
14979
|
+
AXSelectionListPropertyEditorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXSelectionListPropertyEditorComponent, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
14980
|
+
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: `
|
|
14981
|
+
<ax-selection-list
|
|
14982
|
+
[disabled]="disabled"
|
|
14983
|
+
[size]="size"
|
|
14984
|
+
[readonly]="readonly"
|
|
14985
|
+
[value]="value"
|
|
14986
|
+
[items]="items"
|
|
14987
|
+
[mode]="mode"
|
|
14988
|
+
(selectedItemsChange)="handleValueChange($event)"
|
|
14989
|
+
[textField]="textField"
|
|
14990
|
+
[valueField]="valueField"
|
|
14991
|
+
[direction]="direction"
|
|
14992
|
+
>
|
|
14978
14993
|
<ax-validation [rules]="validation?.rules">
|
|
14979
14994
|
</ax-validation>
|
|
14980
|
-
</ax-
|
|
14981
|
-
|
|
14995
|
+
</ax-selection-list>
|
|
14996
|
+
`, 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"] }] });
|
|
14997
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXSelectionListPropertyEditorComponent, decorators: [{
|
|
14998
|
+
type: Component,
|
|
14999
|
+
args: [{
|
|
15000
|
+
template: `
|
|
15001
|
+
<ax-selection-list
|
|
15002
|
+
[disabled]="disabled"
|
|
15003
|
+
[size]="size"
|
|
15004
|
+
[readonly]="readonly"
|
|
15005
|
+
[value]="value"
|
|
15006
|
+
[items]="items"
|
|
15007
|
+
[mode]="mode"
|
|
15008
|
+
(selectedItemsChange)="handleValueChange($event)"
|
|
15009
|
+
[textField]="textField"
|
|
15010
|
+
[valueField]="valueField"
|
|
15011
|
+
[direction]="direction"
|
|
15012
|
+
>
|
|
15013
|
+
<ax-validation [rules]="validation?.rules">
|
|
15014
|
+
</ax-validation>
|
|
15015
|
+
</ax-selection-list>
|
|
15016
|
+
`,
|
|
14982
15017
|
}]
|
|
14983
|
-
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }]; }, propDecorators: {
|
|
15018
|
+
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }]; }, propDecorators: { selectionList: [{
|
|
14984
15019
|
type: ViewChild,
|
|
14985
|
-
args: [
|
|
15020
|
+
args: [AXSelectionListComponent, { static: true }]
|
|
14986
15021
|
}] } });
|
|
14987
15022
|
|
|
14988
|
-
class
|
|
15023
|
+
class AXSelectionPropertyEditorModule {
|
|
15024
|
+
}
|
|
15025
|
+
AXSelectionPropertyEditorModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXSelectionPropertyEditorModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
15026
|
+
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] });
|
|
15027
|
+
AXSelectionPropertyEditorModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXSelectionPropertyEditorModule, providers: [], imports: [[CommonModule, AXSelectionListModule, FormsModule, AXValidationModule]] });
|
|
15028
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXSelectionPropertyEditorModule, decorators: [{
|
|
15029
|
+
type: NgModule,
|
|
15030
|
+
args: [{
|
|
15031
|
+
declarations: [AXSelectionListPropertyEditorComponent],
|
|
15032
|
+
imports: [CommonModule, AXSelectionListModule, FormsModule, AXValidationModule],
|
|
15033
|
+
exports: [AXSelectionListPropertyEditorComponent],
|
|
15034
|
+
providers: [],
|
|
15035
|
+
}]
|
|
15036
|
+
}] });
|
|
15037
|
+
|
|
15038
|
+
class AXSwitchPropertyEditorComponent extends AXProperyEditorComponent {
|
|
15039
|
+
constructor(cdr) {
|
|
15040
|
+
super(cdr);
|
|
15041
|
+
this.cdr = cdr;
|
|
15042
|
+
}
|
|
15043
|
+
handleValueChange(e) {
|
|
15044
|
+
super.handleValueChange(e.value);
|
|
15045
|
+
}
|
|
15046
|
+
ngAfterViewInit() {
|
|
15047
|
+
this.onRenderCompleted.emit();
|
|
15048
|
+
}
|
|
15049
|
+
}
|
|
15050
|
+
AXSwitchPropertyEditorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXSwitchPropertyEditorComponent, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
15051
|
+
AXSwitchPropertyEditorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: AXSwitchPropertyEditorComponent, selector: "ng-component", usesInheritance: true, ngImport: i0, template: `
|
|
15052
|
+
<ax-switch (onValueChanged)="handleValueChange($event)" [value]="value"></ax-switch>
|
|
15053
|
+
`, isInline: true, components: [{ type: AXSwitchComponent, selector: "ax-switch", inputs: ["tabIndex", "value", "readonly", "disabled", "size"], outputs: ["onValueChanged", "valueChange"] }] });
|
|
15054
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXSwitchPropertyEditorComponent, decorators: [{
|
|
15055
|
+
type: Component,
|
|
15056
|
+
args: [{
|
|
15057
|
+
template: `
|
|
15058
|
+
<ax-switch (onValueChanged)="handleValueChange($event)" [value]="value"></ax-switch>
|
|
15059
|
+
`,
|
|
15060
|
+
}]
|
|
15061
|
+
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }]; } });
|
|
15062
|
+
|
|
15063
|
+
class AXSwitchPropertyEditorModule {
|
|
14989
15064
|
constructor() {
|
|
14990
15065
|
}
|
|
14991
15066
|
}
|
|
14992
|
-
|
|
14993
|
-
|
|
14994
|
-
|
|
14995
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type:
|
|
15067
|
+
AXSwitchPropertyEditorModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXSwitchPropertyEditorModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
15068
|
+
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] });
|
|
15069
|
+
AXSwitchPropertyEditorModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXSwitchPropertyEditorModule, providers: [], imports: [[CommonModule, FormsModule, AXNumberBoxModule, AXValidationModule, AXSwitchModule]] });
|
|
15070
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXSwitchPropertyEditorModule, decorators: [{
|
|
14996
15071
|
type: NgModule,
|
|
14997
15072
|
args: [{
|
|
14998
|
-
declarations: [
|
|
14999
|
-
imports: [CommonModule, FormsModule,
|
|
15000
|
-
exports: [
|
|
15073
|
+
declarations: [AXSwitchPropertyEditorComponent],
|
|
15074
|
+
imports: [CommonModule, FormsModule, AXNumberBoxModule, AXValidationModule, AXSwitchModule],
|
|
15075
|
+
exports: [AXSwitchPropertyEditorComponent],
|
|
15076
|
+
providers: []
|
|
15077
|
+
}]
|
|
15078
|
+
}], ctorParameters: function () { return []; } });
|
|
15079
|
+
|
|
15080
|
+
class AXTextPropertyEditorComponent extends AXProperyEditorComponent {
|
|
15081
|
+
constructor(cdr) {
|
|
15082
|
+
super(cdr);
|
|
15083
|
+
this.cdr = cdr;
|
|
15084
|
+
this.clearButton = false;
|
|
15085
|
+
}
|
|
15086
|
+
handleValueChange(e) {
|
|
15087
|
+
super.handleValueChange(e.value);
|
|
15088
|
+
}
|
|
15089
|
+
ngAfterViewInit() {
|
|
15090
|
+
this.registerForValidationForm(this.textBox);
|
|
15091
|
+
this.onRenderCompleted.emit();
|
|
15092
|
+
}
|
|
15093
|
+
}
|
|
15094
|
+
AXTextPropertyEditorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXTextPropertyEditorComponent, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
15095
|
+
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"] }] });
|
|
15096
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXTextPropertyEditorComponent, decorators: [{
|
|
15097
|
+
type: Component,
|
|
15098
|
+
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>" }]
|
|
15099
|
+
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }]; }, propDecorators: { textBox: [{
|
|
15100
|
+
type: ViewChild,
|
|
15101
|
+
args: [AXTextBoxComponent]
|
|
15102
|
+
}] } });
|
|
15103
|
+
|
|
15104
|
+
class AXTextPropertyEditorModule {
|
|
15105
|
+
constructor() {
|
|
15106
|
+
}
|
|
15107
|
+
}
|
|
15108
|
+
AXTextPropertyEditorModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXTextPropertyEditorModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
15109
|
+
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] });
|
|
15110
|
+
AXTextPropertyEditorModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXTextPropertyEditorModule, providers: [], imports: [[CommonModule, FormsModule, AXTextBoxModule, AXValidationModule]] });
|
|
15111
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXTextPropertyEditorModule, decorators: [{
|
|
15112
|
+
type: NgModule,
|
|
15113
|
+
args: [{
|
|
15114
|
+
declarations: [AXTextPropertyEditorComponent],
|
|
15115
|
+
imports: [CommonModule, FormsModule, AXTextBoxModule, AXValidationModule],
|
|
15116
|
+
exports: [AXTextPropertyEditorComponent],
|
|
15001
15117
|
providers: []
|
|
15002
15118
|
}]
|
|
15003
15119
|
}], ctorParameters: function () { return []; } });
|
|
@@ -15045,6 +15161,60 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
15045
15161
|
}]
|
|
15046
15162
|
}], ctorParameters: function () { return []; } });
|
|
15047
15163
|
|
|
15164
|
+
class AXTimePropertyEditorComponent extends AXProperyEditorComponent {
|
|
15165
|
+
constructor(cdr) {
|
|
15166
|
+
super(cdr);
|
|
15167
|
+
this.cdr = cdr;
|
|
15168
|
+
this.showCurentTime = false;
|
|
15169
|
+
this.clearButton = false;
|
|
15170
|
+
}
|
|
15171
|
+
handleValueChange(e) {
|
|
15172
|
+
super.handleValueChange(e.value?.time);
|
|
15173
|
+
}
|
|
15174
|
+
ngAfterViewInit() {
|
|
15175
|
+
this.registerForValidationForm(this.time);
|
|
15176
|
+
this.onRenderCompleted.emit();
|
|
15177
|
+
}
|
|
15178
|
+
}
|
|
15179
|
+
AXTimePropertyEditorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXTimePropertyEditorComponent, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
15180
|
+
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: `
|
|
15181
|
+
<ax-time-picker [showCurentTime]="showCurentTime" [timeType]="timeType" [allowClear]="clearButton" (onValueChanged)="handleValueChange($event)">
|
|
15182
|
+
<ax-validation [rules]="validation?.rules">
|
|
15183
|
+
</ax-validation>
|
|
15184
|
+
</ax-time-picker>
|
|
15185
|
+
`, 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"] }] });
|
|
15186
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXTimePropertyEditorComponent, decorators: [{
|
|
15187
|
+
type: Component,
|
|
15188
|
+
args: [{
|
|
15189
|
+
template: `
|
|
15190
|
+
<ax-time-picker [showCurentTime]="showCurentTime" [timeType]="timeType" [allowClear]="clearButton" (onValueChanged)="handleValueChange($event)">
|
|
15191
|
+
<ax-validation [rules]="validation?.rules">
|
|
15192
|
+
</ax-validation>
|
|
15193
|
+
</ax-time-picker>
|
|
15194
|
+
`,
|
|
15195
|
+
}]
|
|
15196
|
+
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }]; }, propDecorators: { time: [{
|
|
15197
|
+
type: ViewChild,
|
|
15198
|
+
args: [AXDatePickerComponent]
|
|
15199
|
+
}] } });
|
|
15200
|
+
|
|
15201
|
+
class AXTimePropertyEditorModule {
|
|
15202
|
+
constructor() {
|
|
15203
|
+
}
|
|
15204
|
+
}
|
|
15205
|
+
AXTimePropertyEditorModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXTimePropertyEditorModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
15206
|
+
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] });
|
|
15207
|
+
AXTimePropertyEditorModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXTimePropertyEditorModule, providers: [], imports: [[CommonModule, FormsModule, AXTimePickerModule, AXValidationModule]] });
|
|
15208
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXTimePropertyEditorModule, decorators: [{
|
|
15209
|
+
type: NgModule,
|
|
15210
|
+
args: [{
|
|
15211
|
+
declarations: [AXTimePropertyEditorComponent],
|
|
15212
|
+
imports: [CommonModule, FormsModule, AXTimePickerModule, AXValidationModule],
|
|
15213
|
+
exports: [AXTimePropertyEditorComponent],
|
|
15214
|
+
providers: []
|
|
15215
|
+
}]
|
|
15216
|
+
}], ctorParameters: function () { return []; } });
|
|
15217
|
+
|
|
15048
15218
|
const WDIGET_MODULES = [
|
|
15049
15219
|
AXNumberBoxPropertyEditorModule,
|
|
15050
15220
|
AXTextPropertyEditorModule,
|
|
@@ -15057,7 +15227,9 @@ const WDIGET_MODULES = [
|
|
|
15057
15227
|
AXDatePropertyEditorModule,
|
|
15058
15228
|
AXTimePropertyEditorModule,
|
|
15059
15229
|
AXTimePropertyEditorModule,
|
|
15060
|
-
AXTextareaPropertyEditorModule
|
|
15230
|
+
AXTextareaPropertyEditorModule,
|
|
15231
|
+
AXCheckPropertyEditorModule,
|
|
15232
|
+
AXSelectionPropertyEditorModule
|
|
15061
15233
|
];
|
|
15062
15234
|
class AXProppertyEditorModule {
|
|
15063
15235
|
}
|
|
@@ -15073,10 +15245,20 @@ AXProppertyEditorModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0",
|
|
|
15073
15245
|
AXDatePropertyEditorModule,
|
|
15074
15246
|
AXTimePropertyEditorModule,
|
|
15075
15247
|
AXTimePropertyEditorModule,
|
|
15076
|
-
AXTextareaPropertyEditorModule,
|
|
15248
|
+
AXTextareaPropertyEditorModule,
|
|
15249
|
+
AXCheckPropertyEditorModule,
|
|
15250
|
+
AXSelectionPropertyEditorModule, i1$4.RouterModule], exports: [AXPropertyEditorRendererDirective] });
|
|
15077
15251
|
AXProppertyEditorModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXProppertyEditorModule, providers: [], imports: [[
|
|
15078
15252
|
WDIGET_MODULES,
|
|
15079
15253
|
RouterModule.forChild([
|
|
15254
|
+
{
|
|
15255
|
+
path: 'ax/editors/selection',
|
|
15256
|
+
component: AXSelectionListPropertyEditorComponent
|
|
15257
|
+
},
|
|
15258
|
+
{
|
|
15259
|
+
component: AXCheckBoxPropertyEditorComponent,
|
|
15260
|
+
path: 'ax/editors/check'
|
|
15261
|
+
},
|
|
15080
15262
|
{
|
|
15081
15263
|
component: AXTextPropertyEditorComponent,
|
|
15082
15264
|
path: 'ax/editors/text'
|
|
@@ -15128,6 +15310,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
15128
15310
|
imports: [
|
|
15129
15311
|
WDIGET_MODULES,
|
|
15130
15312
|
RouterModule.forChild([
|
|
15313
|
+
{
|
|
15314
|
+
path: 'ax/editors/selection',
|
|
15315
|
+
component: AXSelectionListPropertyEditorComponent
|
|
15316
|
+
},
|
|
15317
|
+
{
|
|
15318
|
+
component: AXCheckBoxPropertyEditorComponent,
|
|
15319
|
+
path: 'ax/editors/check'
|
|
15320
|
+
},
|
|
15131
15321
|
{
|
|
15132
15322
|
component: AXTextPropertyEditorComponent,
|
|
15133
15323
|
path: 'ax/editors/text'
|