@acorex/components 4.1.7 → 4.1.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm2020/lib/base/base-page.class.mjs +3 -1
- package/esm2020/lib/checkbox/checkbox.component.mjs +3 -3
- package/esm2020/lib/property-editor/editors/selectbox-editor/selectbox.editor.mjs +12 -5
- package/esm2020/lib/property-editor/editors/selection-editor/selection-editor.mjs +3 -3
- package/esm2020/lib/property-editor/property-editor.class.mjs +7 -6
- package/esm2020/lib/property-editor/property-editor.module.mjs +41 -17
- package/esm2020/lib/selection-list/selection-list.component.mjs +3 -3
- package/esm2020/lib/tab-page/tab-page-Renderer.component.mjs +3 -1
- package/esm2020/lib/tab-page/tab-page-host.component.mjs +8 -1
- package/fesm2015/acorex-components.mjs +658 -468
- package/fesm2015/acorex-components.mjs.map +1 -1
- package/fesm2020/acorex-components.mjs +647 -458
- package/fesm2020/acorex-components.mjs.map +1 -1
- package/lib/base/base-page.class.d.ts +1 -0
- package/lib/checkbox/checkbox.component.d.ts +2 -2
- package/lib/property-editor/editors/selectbox-editor/selectbox.editor.d.ts +2 -1
- package/lib/property-editor/property-editor.class.d.ts +23 -0
- package/lib/property-editor/property-editor.module.d.ts +4 -2
- package/lib/selection-list/selection-list.component.d.ts +2 -2
- package/lib/tab-page/tab-page-host.component.d.ts +1 -2
- package/package.json +1 -1
- package/esm2020/lib/search-bar/search-bar.component.mjs +0 -132
- package/esm2020/lib/search-bar/search-bar.module.mjs +0 -27
- package/lib/search-bar/search-bar.component.d.ts +0 -37
- package/lib/search-bar/search-bar.module.d.ts +0 -16
|
@@ -789,6 +789,8 @@ class AXBasePageComponent {
|
|
|
789
789
|
}
|
|
790
790
|
onClosing(e) {
|
|
791
791
|
}
|
|
792
|
+
onActivated() {
|
|
793
|
+
}
|
|
792
794
|
ngOnDestroy() {
|
|
793
795
|
this.onClosed.unsubscribe();
|
|
794
796
|
}
|
|
@@ -3089,7 +3091,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
3089
3091
|
|
|
3090
3092
|
class AXCheckBoxItemClick extends AXHtmlEvent {
|
|
3091
3093
|
}
|
|
3092
|
-
class AXCheckBoxComponent extends
|
|
3094
|
+
class AXCheckBoxComponent extends AXValidatableComponent {
|
|
3093
3095
|
constructor(cdr, ref) {
|
|
3094
3096
|
super();
|
|
3095
3097
|
this.cdr = cdr;
|
|
@@ -3446,7 +3448,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
3446
3448
|
type: Input
|
|
3447
3449
|
}] } });
|
|
3448
3450
|
|
|
3449
|
-
class AXSelectionListComponent extends
|
|
3451
|
+
class AXSelectionListComponent extends AXValidatableComponent {
|
|
3450
3452
|
constructor(cdr) {
|
|
3451
3453
|
super();
|
|
3452
3454
|
this.cdr = cdr;
|
|
@@ -10361,6 +10363,14 @@ class AXTabPageHostComponent {
|
|
|
10361
10363
|
ngOnInit() {
|
|
10362
10364
|
this.isLoading = true;
|
|
10363
10365
|
}
|
|
10366
|
+
active() {
|
|
10367
|
+
var _a, _b;
|
|
10368
|
+
const func = (_b = (_a = this.componentRef) === null || _a === void 0 ? void 0 : _a.instance) === null || _b === void 0 ? void 0 : _b.onActivated;
|
|
10369
|
+
if (func) {
|
|
10370
|
+
const f = func.bind(this.componentRef.instance);
|
|
10371
|
+
f();
|
|
10372
|
+
}
|
|
10373
|
+
}
|
|
10364
10374
|
ngAfterViewInit() {
|
|
10365
10375
|
return __awaiter(this, void 0, void 0, function* () {
|
|
10366
10376
|
this._loadingId = this.loadingService.show(this.ref.nativeElement.querySelector('.ax-tab-page-host-container'));
|
|
@@ -10467,6 +10477,7 @@ class AXTabPageRendererComponent {
|
|
|
10467
10477
|
if (v) {
|
|
10468
10478
|
v.location.nativeElement.hidden = false;
|
|
10469
10479
|
v.changeDetectorRef.reattach();
|
|
10480
|
+
v.instance.active();
|
|
10470
10481
|
}
|
|
10471
10482
|
else {
|
|
10472
10483
|
try {
|
|
@@ -10478,6 +10489,7 @@ class AXTabPageRendererComponent {
|
|
|
10478
10489
|
this.childs.push(componentRef);
|
|
10479
10490
|
setTimeout(() => {
|
|
10480
10491
|
componentRef.changeDetectorRef.detectChanges();
|
|
10492
|
+
//host.active();
|
|
10481
10493
|
}, 10);
|
|
10482
10494
|
}
|
|
10483
10495
|
catch (error) {
|
|
@@ -13384,6 +13396,7 @@ class AXProperyEditorComponent {
|
|
|
13384
13396
|
return this._value;
|
|
13385
13397
|
}
|
|
13386
13398
|
set value(v) {
|
|
13399
|
+
console.log('value set');
|
|
13387
13400
|
if (v !== this._value) {
|
|
13388
13401
|
this._value = v;
|
|
13389
13402
|
this.valueChange.emit(v);
|
|
@@ -13419,7 +13432,7 @@ class AXPropertyDecorator {
|
|
|
13419
13432
|
// @dynamic
|
|
13420
13433
|
class AXPropertyDecorators {
|
|
13421
13434
|
static register(cls, property, options) {
|
|
13422
|
-
const item = AXPropertyDecorators.REGISTRY.find(c => c.cls === cls && c.property === property);
|
|
13435
|
+
const item = AXPropertyDecorators.REGISTRY.find((c) => c.cls === cls && c.property === property);
|
|
13423
13436
|
if (item) {
|
|
13424
13437
|
item.options = options;
|
|
13425
13438
|
}
|
|
@@ -13428,14 +13441,14 @@ class AXPropertyDecorators {
|
|
|
13428
13441
|
}
|
|
13429
13442
|
}
|
|
13430
13443
|
static has(cls, property) {
|
|
13431
|
-
return AXPropertyDecorators.REGISTRY.some(c => c.cls === cls && c.property === property);
|
|
13444
|
+
return AXPropertyDecorators.REGISTRY.some((c) => c.cls === cls && c.property === property);
|
|
13432
13445
|
}
|
|
13433
13446
|
static get(cls, property) {
|
|
13434
|
-
return AXPropertyDecorators.REGISTRY.find(c => c.cls === cls && c.property === property);
|
|
13447
|
+
return AXPropertyDecorators.REGISTRY.find((c) => c.cls === cls && c.property === property);
|
|
13435
13448
|
}
|
|
13436
13449
|
static isValid(property) {
|
|
13437
13450
|
if (property) {
|
|
13438
|
-
return AXPropertyDecorators.REGISTRY.some(c => c.property === property);
|
|
13451
|
+
return AXPropertyDecorators.REGISTRY.some((c) => c.property === property);
|
|
13439
13452
|
}
|
|
13440
13453
|
return false;
|
|
13441
13454
|
}
|
|
@@ -13447,7 +13460,7 @@ class AXPropertyDecorators {
|
|
|
13447
13460
|
p.push(superClass.constructor);
|
|
13448
13461
|
superClass = Object.getPrototypeOf(superClass);
|
|
13449
13462
|
}
|
|
13450
|
-
list.push(...AXPropertyDecorators.REGISTRY.filter(c => p.includes(c.cls.constructor)));
|
|
13463
|
+
list.push(...AXPropertyDecorators.REGISTRY.filter((c) => p.includes(c.cls.constructor)));
|
|
13451
13464
|
return list;
|
|
13452
13465
|
}
|
|
13453
13466
|
}
|
|
@@ -13609,199 +13622,75 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
13609
13622
|
type: Output
|
|
13610
13623
|
}] } });
|
|
13611
13624
|
|
|
13612
|
-
class
|
|
13613
|
-
constructor(cdr) {
|
|
13614
|
-
super(cdr);
|
|
13615
|
-
this.cdr = cdr;
|
|
13616
|
-
this.clearButton = false;
|
|
13617
|
-
}
|
|
13618
|
-
handleValueChange(e) {
|
|
13619
|
-
super.handleValueChange(e.value);
|
|
13620
|
-
}
|
|
13621
|
-
ngAfterViewInit() {
|
|
13622
|
-
this.registerForValidationForm(this.textBox);
|
|
13623
|
-
this.onRenderCompleted.emit();
|
|
13624
|
-
}
|
|
13625
|
-
}
|
|
13626
|
-
AXTextPropertyEditorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXTextPropertyEditorComponent, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
13627
|
-
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"] }] });
|
|
13628
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXTextPropertyEditorComponent, decorators: [{
|
|
13629
|
-
type: Component,
|
|
13630
|
-
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>" }]
|
|
13631
|
-
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }]; }, propDecorators: { textBox: [{
|
|
13632
|
-
type: ViewChild,
|
|
13633
|
-
args: [AXTextBoxComponent]
|
|
13634
|
-
}] } });
|
|
13635
|
-
|
|
13636
|
-
class AXTextPropertyEditorModule {
|
|
13637
|
-
constructor() {
|
|
13638
|
-
}
|
|
13639
|
-
}
|
|
13640
|
-
AXTextPropertyEditorModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXTextPropertyEditorModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
13641
|
-
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] });
|
|
13642
|
-
AXTextPropertyEditorModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXTextPropertyEditorModule, providers: [], imports: [[CommonModule, FormsModule, AXTextBoxModule, AXValidationModule]] });
|
|
13643
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXTextPropertyEditorModule, decorators: [{
|
|
13644
|
-
type: NgModule,
|
|
13645
|
-
args: [{
|
|
13646
|
-
declarations: [AXTextPropertyEditorComponent],
|
|
13647
|
-
imports: [CommonModule, FormsModule, AXTextBoxModule, AXValidationModule],
|
|
13648
|
-
exports: [AXTextPropertyEditorComponent],
|
|
13649
|
-
providers: []
|
|
13650
|
-
}]
|
|
13651
|
-
}], ctorParameters: function () { return []; } });
|
|
13652
|
-
|
|
13653
|
-
class AXNumberBoxPropertyEditorComponent extends AXProperyEditorComponent {
|
|
13625
|
+
class AXCheckBoxPropertyEditorComponent extends AXProperyEditorComponent {
|
|
13654
13626
|
constructor(cdr) {
|
|
13655
13627
|
super(cdr);
|
|
13656
13628
|
this.cdr = cdr;
|
|
13657
|
-
this.
|
|
13658
|
-
this.
|
|
13659
|
-
this.
|
|
13660
|
-
this.
|
|
13661
|
-
this.clearButton = false;
|
|
13629
|
+
this.disabled = false;
|
|
13630
|
+
this.indeterminate = false;
|
|
13631
|
+
this.readonly = false;
|
|
13632
|
+
this.size = 'md';
|
|
13662
13633
|
}
|
|
13663
13634
|
handleValueChange(e) {
|
|
13664
13635
|
super.handleValueChange(e.value);
|
|
13665
13636
|
}
|
|
13666
13637
|
ngAfterViewInit() {
|
|
13667
|
-
this.registerForValidationForm(this.
|
|
13638
|
+
this.registerForValidationForm(this.checkBox);
|
|
13668
13639
|
this.onRenderCompleted.emit();
|
|
13669
13640
|
}
|
|
13670
13641
|
}
|
|
13671
|
-
|
|
13672
|
-
|
|
13673
|
-
|
|
13674
|
-
|
|
13675
|
-
|
|
13676
|
-
|
|
13677
|
-
|
|
13678
|
-
|
|
13679
|
-
|
|
13680
|
-
|
|
13681
|
-
|
|
13682
|
-
|
|
13683
|
-
</ax-
|
|
13684
|
-
|
|
13685
|
-
|
|
13642
|
+
AXCheckBoxPropertyEditorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXCheckBoxPropertyEditorComponent, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
13643
|
+
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: `
|
|
13644
|
+
<ax-check-box
|
|
13645
|
+
[disabled]="disabled"
|
|
13646
|
+
[label]="label"
|
|
13647
|
+
[size]="size"
|
|
13648
|
+
[indeterminate]="indeterminate"
|
|
13649
|
+
[readonly]="readonly"
|
|
13650
|
+
[value]="value"
|
|
13651
|
+
(onValueChanged)="handleValueChange($event)"
|
|
13652
|
+
>
|
|
13653
|
+
<ax-validation [rules]="validation?.rules">
|
|
13654
|
+
</ax-validation>
|
|
13655
|
+
</ax-check-box>
|
|
13656
|
+
`, 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"] }] });
|
|
13657
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXCheckBoxPropertyEditorComponent, decorators: [{
|
|
13686
13658
|
type: Component,
|
|
13687
13659
|
args: [{
|
|
13688
13660
|
template: `
|
|
13689
|
-
|
|
13690
|
-
|
|
13691
|
-
|
|
13692
|
-
|
|
13693
|
-
|
|
13694
|
-
|
|
13695
|
-
|
|
13696
|
-
|
|
13697
|
-
|
|
13698
|
-
|
|
13699
|
-
</ax-
|
|
13661
|
+
<ax-check-box
|
|
13662
|
+
[disabled]="disabled"
|
|
13663
|
+
[label]="label"
|
|
13664
|
+
[size]="size"
|
|
13665
|
+
[indeterminate]="indeterminate"
|
|
13666
|
+
[readonly]="readonly"
|
|
13667
|
+
[value]="value"
|
|
13668
|
+
(onValueChanged)="handleValueChange($event)"
|
|
13669
|
+
>
|
|
13670
|
+
<ax-validation [rules]="validation?.rules">
|
|
13671
|
+
</ax-validation>
|
|
13672
|
+
</ax-check-box>
|
|
13700
13673
|
`,
|
|
13701
13674
|
}]
|
|
13702
|
-
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }]; }, propDecorators: {
|
|
13703
|
-
type: ViewChild,
|
|
13704
|
-
args: [AXNumberBoxComponent]
|
|
13705
|
-
}] } });
|
|
13706
|
-
|
|
13707
|
-
class AXNumberBoxPropertyEditorModule {
|
|
13708
|
-
constructor() {
|
|
13709
|
-
}
|
|
13710
|
-
}
|
|
13711
|
-
AXNumberBoxPropertyEditorModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXNumberBoxPropertyEditorModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
13712
|
-
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] });
|
|
13713
|
-
AXNumberBoxPropertyEditorModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXNumberBoxPropertyEditorModule, providers: [], imports: [[CommonModule, FormsModule, AXNumberBoxModule, AXValidationModule]] });
|
|
13714
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXNumberBoxPropertyEditorModule, decorators: [{
|
|
13715
|
-
type: NgModule,
|
|
13716
|
-
args: [{
|
|
13717
|
-
declarations: [AXNumberBoxPropertyEditorComponent],
|
|
13718
|
-
imports: [CommonModule, FormsModule, AXNumberBoxModule, AXValidationModule],
|
|
13719
|
-
exports: [AXNumberBoxPropertyEditorComponent],
|
|
13720
|
-
providers: []
|
|
13721
|
-
}]
|
|
13722
|
-
}], ctorParameters: function () { return []; } });
|
|
13723
|
-
|
|
13724
|
-
class AXSelectBoxPropertyEditorComponent extends AXProperyEditorComponent {
|
|
13725
|
-
constructor(cdr) {
|
|
13726
|
-
super(cdr);
|
|
13727
|
-
this.cdr = cdr;
|
|
13728
|
-
this.valueField = 'id';
|
|
13729
|
-
this.textField = 'text';
|
|
13730
|
-
this.selectionMode = 'single';
|
|
13731
|
-
this.selectionDataMode = 'value';
|
|
13732
|
-
this.allowSearch = true;
|
|
13733
|
-
this.allowNull = false;
|
|
13734
|
-
this.disabled = false;
|
|
13735
|
-
this.items = [];
|
|
13736
|
-
this.remoteOperation = false;
|
|
13737
|
-
this.provideData = (e) => {
|
|
13738
|
-
return new Promise((resolve) => {
|
|
13739
|
-
const func = () => {
|
|
13740
|
-
if (Array.isArray(this.items)) {
|
|
13741
|
-
resolve(this.items.slice());
|
|
13742
|
-
}
|
|
13743
|
-
else if (typeof this.items === 'function') {
|
|
13744
|
-
const a = Object.assign(e, { sender: this });
|
|
13745
|
-
resolve(this.items(a));
|
|
13746
|
-
}
|
|
13747
|
-
else {
|
|
13748
|
-
resolve([]);
|
|
13749
|
-
}
|
|
13750
|
-
};
|
|
13751
|
-
const intVal = setInterval(() => {
|
|
13752
|
-
if (this.initiated) {
|
|
13753
|
-
func();
|
|
13754
|
-
clearInterval(intVal);
|
|
13755
|
-
}
|
|
13756
|
-
}, 50);
|
|
13757
|
-
});
|
|
13758
|
-
};
|
|
13759
|
-
}
|
|
13760
|
-
get filter() {
|
|
13761
|
-
return this._filter;
|
|
13762
|
-
}
|
|
13763
|
-
set filter(v) {
|
|
13764
|
-
var _a;
|
|
13765
|
-
this._filter = v;
|
|
13766
|
-
if (this.value && this.initiated) {
|
|
13767
|
-
this.value = null;
|
|
13768
|
-
(_a = this.selectBox) === null || _a === void 0 ? void 0 : _a.refresh();
|
|
13769
|
-
}
|
|
13770
|
-
}
|
|
13771
|
-
handleValueChange(e) {
|
|
13772
|
-
super.handleValueChange(e.selectedValues);
|
|
13773
|
-
}
|
|
13774
|
-
ngAfterViewInit() {
|
|
13775
|
-
this.registerForValidationForm(this.selectBox);
|
|
13776
|
-
this.onRenderCompleted.emit();
|
|
13777
|
-
}
|
|
13778
|
-
}
|
|
13779
|
-
AXSelectBoxPropertyEditorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXSelectBoxPropertyEditorComponent, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
13780
|
-
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"] }] });
|
|
13781
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXSelectBoxPropertyEditorComponent, decorators: [{
|
|
13782
|
-
type: Component,
|
|
13783
|
-
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>" }]
|
|
13784
|
-
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }]; }, propDecorators: { selectBox: [{
|
|
13675
|
+
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }]; }, propDecorators: { checkBox: [{
|
|
13785
13676
|
type: ViewChild,
|
|
13786
|
-
args: [
|
|
13677
|
+
args: [AXCheckBoxComponent, { static: true }]
|
|
13787
13678
|
}] } });
|
|
13788
13679
|
|
|
13789
|
-
class
|
|
13790
|
-
constructor() {
|
|
13791
|
-
}
|
|
13680
|
+
class AXCheckPropertyEditorModule {
|
|
13792
13681
|
}
|
|
13793
|
-
|
|
13794
|
-
|
|
13795
|
-
|
|
13796
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type:
|
|
13682
|
+
AXCheckPropertyEditorModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXCheckPropertyEditorModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
13683
|
+
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] });
|
|
13684
|
+
AXCheckPropertyEditorModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXCheckPropertyEditorModule, providers: [], imports: [[CommonModule, AXCheckBoxModule, FormsModule, AXValidationModule]] });
|
|
13685
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXCheckPropertyEditorModule, decorators: [{
|
|
13797
13686
|
type: NgModule,
|
|
13798
13687
|
args: [{
|
|
13799
|
-
declarations: [
|
|
13800
|
-
imports: [CommonModule,
|
|
13801
|
-
exports: [
|
|
13802
|
-
providers: []
|
|
13688
|
+
declarations: [AXCheckBoxPropertyEditorComponent],
|
|
13689
|
+
imports: [CommonModule, AXCheckBoxModule, FormsModule, AXValidationModule],
|
|
13690
|
+
exports: [AXCheckBoxPropertyEditorComponent],
|
|
13691
|
+
providers: [],
|
|
13803
13692
|
}]
|
|
13804
|
-
}]
|
|
13693
|
+
}] });
|
|
13805
13694
|
|
|
13806
13695
|
class AXColorBoxComponent extends AXValidatableComponent {
|
|
13807
13696
|
constructor() {
|
|
@@ -14291,226 +14180,55 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
14291
14180
|
type: Input
|
|
14292
14181
|
}] } });
|
|
14293
14182
|
|
|
14294
|
-
class
|
|
14295
|
-
constructor(cdr
|
|
14183
|
+
class AXColorPropertyEditorComponent extends AXProperyEditorComponent {
|
|
14184
|
+
constructor(cdr) {
|
|
14296
14185
|
super(cdr);
|
|
14297
14186
|
this.cdr = cdr;
|
|
14298
|
-
this.popupService = popupService;
|
|
14299
|
-
this.ranges = [];
|
|
14300
|
-
this.showSeparator = true;
|
|
14301
|
-
this.decimalNumber = 2;
|
|
14302
|
-
}
|
|
14303
|
-
ngOnInit() {
|
|
14304
|
-
this.ranges = this.value ? JSON.parse(JSON.stringify(this.value)) : [];
|
|
14305
|
-
this.cdr.detectChanges();
|
|
14306
14187
|
}
|
|
14307
14188
|
ngAfterViewInit() {
|
|
14189
|
+
this.registerForValidationForm(this.textBox);
|
|
14308
14190
|
this.onRenderCompleted.emit();
|
|
14309
14191
|
}
|
|
14310
|
-
|
|
14311
|
-
|
|
14312
|
-
|
|
14313
|
-
|
|
14314
|
-
|
|
14315
|
-
|
|
14316
|
-
|
|
14317
|
-
|
|
14318
|
-
|
|
14319
|
-
|
|
14320
|
-
|
|
14321
|
-
|
|
14322
|
-
|
|
14323
|
-
|
|
14324
|
-
|
|
14325
|
-
|
|
14326
|
-
|
|
14327
|
-
|
|
14328
|
-
|
|
14329
|
-
|
|
14330
|
-
|
|
14331
|
-
|
|
14332
|
-
|
|
14333
|
-
|
|
14334
|
-
|
|
14335
|
-
|
|
14336
|
-
|
|
14337
|
-
|
|
14338
|
-
|
|
14339
|
-
|
|
14340
|
-
|
|
14341
|
-
|
|
14342
|
-
|
|
14343
|
-
|
|
14344
|
-
|
|
14345
|
-
|
|
14346
|
-
|
|
14347
|
-
|
|
14348
|
-
|
|
14349
|
-
|
|
14350
|
-
}
|
|
14351
|
-
],
|
|
14352
|
-
title: AXTranslator.get('common.edit')
|
|
14353
|
-
});
|
|
14354
|
-
}
|
|
14355
|
-
handleAddClick() {
|
|
14356
|
-
var _a;
|
|
14357
|
-
const min = ((_a = this.ranges) === null || _a === void 0 ? void 0 : _a.length) ? Math.max(...this.ranges.map(c => c.maxValue)) : 0;
|
|
14358
|
-
this.editRow = {
|
|
14359
|
-
title: '',
|
|
14360
|
-
minValue: min,
|
|
14361
|
-
maxValue: min + 1,
|
|
14362
|
-
color: null
|
|
14363
|
-
};
|
|
14364
|
-
const popup = this.popupService.open(this.tplEdit, {
|
|
14365
|
-
title: AXTranslator.get('common.add-item'),
|
|
14366
|
-
size: 'sm',
|
|
14367
|
-
footerButtons: [
|
|
14368
|
-
{
|
|
14369
|
-
name: 'confirm',
|
|
14370
|
-
text: AXTranslator.get('common.confirm'),
|
|
14371
|
-
style: 'success',
|
|
14372
|
-
submitBehavior: true,
|
|
14373
|
-
cancelBehavior: false,
|
|
14374
|
-
onClick: () => {
|
|
14375
|
-
this.form.validate().then(c => {
|
|
14376
|
-
if (c.result) {
|
|
14377
|
-
super.handleValueChange(this.ranges);
|
|
14378
|
-
this.ranges.push(this.editRow);
|
|
14379
|
-
popup.close();
|
|
14380
|
-
this.editRow = null;
|
|
14381
|
-
this.cdr.detectChanges();
|
|
14382
|
-
}
|
|
14383
|
-
});
|
|
14384
|
-
}
|
|
14385
|
-
},
|
|
14386
|
-
{
|
|
14387
|
-
name: 'cancel',
|
|
14388
|
-
text: AXTranslator.get('common.cancel'),
|
|
14389
|
-
style: 'danger blank',
|
|
14390
|
-
submitBehavior: false,
|
|
14391
|
-
cancelBehavior: true,
|
|
14392
|
-
onClick: () => {
|
|
14393
|
-
popup.close();
|
|
14394
|
-
this.editRow = null;
|
|
14395
|
-
this.cdr.detectChanges();
|
|
14396
|
-
}
|
|
14397
|
-
}
|
|
14398
|
-
],
|
|
14399
|
-
});
|
|
14400
|
-
this.cdr.detectChanges();
|
|
14401
|
-
}
|
|
14402
|
-
handleRemoveClick(item) {
|
|
14403
|
-
this.ranges = this.ranges.filter(c => c.minValue !== item.minValue);
|
|
14404
|
-
super.handleValueChange(this.ranges);
|
|
14405
|
-
}
|
|
14406
|
-
}
|
|
14407
|
-
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 });
|
|
14408
|
-
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 });
|
|
14409
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXRangePropertyEditorComponent, decorators: [{
|
|
14410
|
-
type: Component,
|
|
14411
|
-
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"] }]
|
|
14412
|
-
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: AXPopupService }]; }, propDecorators: { tplEdit: [{
|
|
14413
|
-
type: ViewChild,
|
|
14414
|
-
args: ['tplEdit']
|
|
14415
|
-
}] } });
|
|
14416
|
-
|
|
14417
|
-
class AXColorPickerModule {
|
|
14418
|
-
}
|
|
14419
|
-
AXColorPickerModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXColorPickerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
14420
|
-
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] });
|
|
14421
|
-
AXColorPickerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXColorPickerModule, providers: [], imports: [[CommonModule, FormsModule, AXDropdownModule, AXValidationModule, AXTextBoxModule]] });
|
|
14422
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXColorPickerModule, decorators: [{
|
|
14423
|
-
type: NgModule,
|
|
14424
|
-
args: [{
|
|
14425
|
-
declarations: [AXColorPickerComponent, AXColorBoxComponent],
|
|
14426
|
-
imports: [CommonModule, FormsModule, AXDropdownModule, AXValidationModule, AXTextBoxModule],
|
|
14427
|
-
exports: [AXColorPickerComponent, AXColorBoxComponent],
|
|
14428
|
-
providers: []
|
|
14429
|
-
}]
|
|
14430
|
-
}] });
|
|
14431
|
-
|
|
14432
|
-
class AXRangePropertyEditorModule {
|
|
14433
|
-
constructor() {
|
|
14434
|
-
}
|
|
14435
|
-
}
|
|
14436
|
-
AXRangePropertyEditorModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXRangePropertyEditorModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
14437
|
-
AXRangePropertyEditorModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXRangePropertyEditorModule, declarations: [AXRangePropertyEditorComponent], imports: [CommonModule,
|
|
14438
|
-
FormsModule,
|
|
14439
|
-
AXTranslatorModule,
|
|
14440
|
-
AXTextBoxModule,
|
|
14441
|
-
AXNumberBoxModule,
|
|
14442
|
-
AXColorPickerModule,
|
|
14443
|
-
AXLabelModule,
|
|
14444
|
-
AXPageModule,
|
|
14445
|
-
AXValidationModule,
|
|
14446
|
-
AXButtonModule], exports: [AXRangePropertyEditorComponent] });
|
|
14447
|
-
AXRangePropertyEditorModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXRangePropertyEditorModule, providers: [], imports: [[
|
|
14448
|
-
CommonModule,
|
|
14449
|
-
FormsModule,
|
|
14450
|
-
AXTranslatorModule,
|
|
14451
|
-
AXTextBoxModule,
|
|
14452
|
-
AXNumberBoxModule,
|
|
14453
|
-
AXColorPickerModule,
|
|
14454
|
-
AXLabelModule,
|
|
14455
|
-
AXPageModule,
|
|
14456
|
-
AXValidationModule,
|
|
14457
|
-
AXButtonModule
|
|
14458
|
-
]] });
|
|
14459
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXRangePropertyEditorModule, decorators: [{
|
|
14460
|
-
type: NgModule,
|
|
14461
|
-
args: [{
|
|
14462
|
-
declarations: [AXRangePropertyEditorComponent],
|
|
14463
|
-
imports: [
|
|
14464
|
-
CommonModule,
|
|
14465
|
-
FormsModule,
|
|
14466
|
-
AXTranslatorModule,
|
|
14467
|
-
AXTextBoxModule,
|
|
14468
|
-
AXNumberBoxModule,
|
|
14469
|
-
AXColorPickerModule,
|
|
14470
|
-
AXLabelModule,
|
|
14471
|
-
AXPageModule,
|
|
14472
|
-
AXValidationModule,
|
|
14473
|
-
AXButtonModule
|
|
14474
|
-
],
|
|
14475
|
-
exports: [AXRangePropertyEditorComponent],
|
|
14476
|
-
providers: []
|
|
14477
|
-
}]
|
|
14478
|
-
}], ctorParameters: function () { return []; } });
|
|
14479
|
-
|
|
14480
|
-
class AXColorPropertyEditorComponent extends AXProperyEditorComponent {
|
|
14481
|
-
constructor(cdr) {
|
|
14482
|
-
super(cdr);
|
|
14483
|
-
this.cdr = cdr;
|
|
14484
|
-
}
|
|
14485
|
-
ngAfterViewInit() {
|
|
14486
|
-
this.registerForValidationForm(this.textBox);
|
|
14487
|
-
this.onRenderCompleted.emit();
|
|
14488
|
-
}
|
|
14489
|
-
}
|
|
14490
|
-
AXColorPropertyEditorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXColorPropertyEditorComponent, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
14491
|
-
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: `
|
|
14492
|
-
<ax-color-picker [(value)]="value">
|
|
14493
|
-
<ax-validation [rules]="validation?.rules">
|
|
14494
|
-
</ax-validation>
|
|
14495
|
-
</ax-color-picker>
|
|
14496
|
-
`, 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"] }] });
|
|
14497
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXColorPropertyEditorComponent, decorators: [{
|
|
14498
|
-
type: Component,
|
|
14499
|
-
args: [{
|
|
14500
|
-
template: `
|
|
14501
|
-
<ax-color-picker [(value)]="value">
|
|
14502
|
-
<ax-validation [rules]="validation?.rules">
|
|
14503
|
-
</ax-validation>
|
|
14504
|
-
</ax-color-picker>
|
|
14505
|
-
`,
|
|
14506
|
-
}]
|
|
14507
|
-
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }]; }, propDecorators: { textBox: [{
|
|
14508
|
-
type: ViewChild,
|
|
14509
|
-
args: [AXColorPickerComponent]
|
|
14510
|
-
}] } });
|
|
14511
|
-
|
|
14512
|
-
class AXColorPropertyEditorModule {
|
|
14513
|
-
constructor() {
|
|
14192
|
+
}
|
|
14193
|
+
AXColorPropertyEditorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXColorPropertyEditorComponent, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
14194
|
+
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: `
|
|
14195
|
+
<ax-color-picker [(value)]="value">
|
|
14196
|
+
<ax-validation [rules]="validation?.rules">
|
|
14197
|
+
</ax-validation>
|
|
14198
|
+
</ax-color-picker>
|
|
14199
|
+
`, 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"] }] });
|
|
14200
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXColorPropertyEditorComponent, decorators: [{
|
|
14201
|
+
type: Component,
|
|
14202
|
+
args: [{
|
|
14203
|
+
template: `
|
|
14204
|
+
<ax-color-picker [(value)]="value">
|
|
14205
|
+
<ax-validation [rules]="validation?.rules">
|
|
14206
|
+
</ax-validation>
|
|
14207
|
+
</ax-color-picker>
|
|
14208
|
+
`,
|
|
14209
|
+
}]
|
|
14210
|
+
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }]; }, propDecorators: { textBox: [{
|
|
14211
|
+
type: ViewChild,
|
|
14212
|
+
args: [AXColorPickerComponent]
|
|
14213
|
+
}] } });
|
|
14214
|
+
|
|
14215
|
+
class AXColorPickerModule {
|
|
14216
|
+
}
|
|
14217
|
+
AXColorPickerModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXColorPickerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
14218
|
+
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] });
|
|
14219
|
+
AXColorPickerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXColorPickerModule, providers: [], imports: [[CommonModule, FormsModule, AXDropdownModule, AXValidationModule, AXTextBoxModule]] });
|
|
14220
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXColorPickerModule, decorators: [{
|
|
14221
|
+
type: NgModule,
|
|
14222
|
+
args: [{
|
|
14223
|
+
declarations: [AXColorPickerComponent, AXColorBoxComponent],
|
|
14224
|
+
imports: [CommonModule, FormsModule, AXDropdownModule, AXValidationModule, AXTextBoxModule],
|
|
14225
|
+
exports: [AXColorPickerComponent, AXColorBoxComponent],
|
|
14226
|
+
providers: []
|
|
14227
|
+
}]
|
|
14228
|
+
}] });
|
|
14229
|
+
|
|
14230
|
+
class AXColorPropertyEditorModule {
|
|
14231
|
+
constructor() {
|
|
14514
14232
|
}
|
|
14515
14233
|
}
|
|
14516
14234
|
AXColorPropertyEditorModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXColorPropertyEditorModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
@@ -14898,48 +14616,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
14898
14616
|
}]
|
|
14899
14617
|
}], ctorParameters: function () { return []; } });
|
|
14900
14618
|
|
|
14901
|
-
class AXSwitchPropertyEditorComponent extends AXProperyEditorComponent {
|
|
14902
|
-
constructor(cdr) {
|
|
14903
|
-
super(cdr);
|
|
14904
|
-
this.cdr = cdr;
|
|
14905
|
-
}
|
|
14906
|
-
handleValueChange(e) {
|
|
14907
|
-
super.handleValueChange(e.value);
|
|
14908
|
-
}
|
|
14909
|
-
ngAfterViewInit() {
|
|
14910
|
-
this.onRenderCompleted.emit();
|
|
14911
|
-
}
|
|
14912
|
-
}
|
|
14913
|
-
AXSwitchPropertyEditorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXSwitchPropertyEditorComponent, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
14914
|
-
AXSwitchPropertyEditorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: AXSwitchPropertyEditorComponent, selector: "ng-component", usesInheritance: true, ngImport: i0, template: `
|
|
14915
|
-
<ax-switch (onValueChanged)="handleValueChange($event)" [value]="value"></ax-switch>
|
|
14916
|
-
`, isInline: true, components: [{ type: AXSwitchComponent, selector: "ax-switch", inputs: ["tabIndex", "value", "readonly", "disabled", "size"], outputs: ["onValueChanged", "valueChange"] }] });
|
|
14917
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXSwitchPropertyEditorComponent, decorators: [{
|
|
14918
|
-
type: Component,
|
|
14919
|
-
args: [{
|
|
14920
|
-
template: `
|
|
14921
|
-
<ax-switch (onValueChanged)="handleValueChange($event)" [value]="value"></ax-switch>
|
|
14922
|
-
`,
|
|
14923
|
-
}]
|
|
14924
|
-
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }]; } });
|
|
14925
|
-
|
|
14926
|
-
class AXSwitchPropertyEditorModule {
|
|
14927
|
-
constructor() {
|
|
14928
|
-
}
|
|
14929
|
-
}
|
|
14930
|
-
AXSwitchPropertyEditorModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXSwitchPropertyEditorModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
14931
|
-
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] });
|
|
14932
|
-
AXSwitchPropertyEditorModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXSwitchPropertyEditorModule, providers: [], imports: [[CommonModule, FormsModule, AXNumberBoxModule, AXValidationModule, AXSwitchModule]] });
|
|
14933
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXSwitchPropertyEditorModule, decorators: [{
|
|
14934
|
-
type: NgModule,
|
|
14935
|
-
args: [{
|
|
14936
|
-
declarations: [AXSwitchPropertyEditorComponent],
|
|
14937
|
-
imports: [CommonModule, FormsModule, AXNumberBoxModule, AXValidationModule, AXSwitchModule],
|
|
14938
|
-
exports: [AXSwitchPropertyEditorComponent],
|
|
14939
|
-
providers: []
|
|
14940
|
-
}]
|
|
14941
|
-
}], ctorParameters: function () { return []; } });
|
|
14942
|
-
|
|
14943
14619
|
class AXDatePropertyEditorComponent extends AXProperyEditorComponent {
|
|
14944
14620
|
constructor(cdr) {
|
|
14945
14621
|
super(cdr);
|
|
@@ -15002,57 +14678,496 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
15002
14678
|
}]
|
|
15003
14679
|
}], ctorParameters: function () { return []; } });
|
|
15004
14680
|
|
|
15005
|
-
class
|
|
14681
|
+
class AXNumberBoxPropertyEditorComponent extends AXProperyEditorComponent {
|
|
15006
14682
|
constructor(cdr) {
|
|
15007
14683
|
super(cdr);
|
|
15008
14684
|
this.cdr = cdr;
|
|
15009
|
-
this.
|
|
14685
|
+
this.showSeparator = true;
|
|
14686
|
+
this.decimalNumber = 2;
|
|
14687
|
+
this.minValue = null;
|
|
14688
|
+
this.maxValue = null;
|
|
15010
14689
|
this.clearButton = false;
|
|
15011
14690
|
}
|
|
15012
14691
|
handleValueChange(e) {
|
|
15013
|
-
|
|
15014
|
-
super.handleValueChange((_a = e.value) === null || _a === void 0 ? void 0 : _a.time);
|
|
14692
|
+
super.handleValueChange(e.value);
|
|
15015
14693
|
}
|
|
15016
14694
|
ngAfterViewInit() {
|
|
15017
|
-
this.registerForValidationForm(this.
|
|
14695
|
+
this.registerForValidationForm(this.textBox);
|
|
15018
14696
|
this.onRenderCompleted.emit();
|
|
15019
14697
|
}
|
|
15020
14698
|
}
|
|
15021
|
-
|
|
15022
|
-
|
|
15023
|
-
|
|
15024
|
-
|
|
15025
|
-
|
|
15026
|
-
|
|
15027
|
-
|
|
15028
|
-
|
|
15029
|
-
|
|
15030
|
-
|
|
15031
|
-
|
|
15032
|
-
|
|
15033
|
-
|
|
15034
|
-
|
|
15035
|
-
|
|
15036
|
-
|
|
15037
|
-
|
|
15038
|
-
|
|
15039
|
-
|
|
15040
|
-
|
|
14699
|
+
AXNumberBoxPropertyEditorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXNumberBoxPropertyEditorComponent, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
14700
|
+
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: `
|
|
14701
|
+
<ax-number-box (onValueChanged)="handleValueChange($event)"
|
|
14702
|
+
[value]="value"
|
|
14703
|
+
[showSeparator]="showSeparator"
|
|
14704
|
+
[decimalNumber]="decimalNumber"
|
|
14705
|
+
[min]="minValue"
|
|
14706
|
+
[max]="maxValue"
|
|
14707
|
+
[allowClear]="clearButton"
|
|
14708
|
+
>
|
|
14709
|
+
<ax-validation [rules]="validation?.rules">
|
|
14710
|
+
</ax-validation>
|
|
14711
|
+
</ax-number-box>
|
|
14712
|
+
`, 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"] }] });
|
|
14713
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXNumberBoxPropertyEditorComponent, decorators: [{
|
|
14714
|
+
type: Component,
|
|
14715
|
+
args: [{
|
|
14716
|
+
template: `
|
|
14717
|
+
<ax-number-box (onValueChanged)="handleValueChange($event)"
|
|
14718
|
+
[value]="value"
|
|
14719
|
+
[showSeparator]="showSeparator"
|
|
14720
|
+
[decimalNumber]="decimalNumber"
|
|
14721
|
+
[min]="minValue"
|
|
14722
|
+
[max]="maxValue"
|
|
14723
|
+
[allowClear]="clearButton"
|
|
14724
|
+
>
|
|
14725
|
+
<ax-validation [rules]="validation?.rules">
|
|
14726
|
+
</ax-validation>
|
|
14727
|
+
</ax-number-box>
|
|
14728
|
+
`,
|
|
14729
|
+
}]
|
|
14730
|
+
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }]; }, propDecorators: { textBox: [{
|
|
14731
|
+
type: ViewChild,
|
|
14732
|
+
args: [AXNumberBoxComponent]
|
|
15041
14733
|
}] } });
|
|
15042
14734
|
|
|
15043
|
-
class
|
|
14735
|
+
class AXNumberBoxPropertyEditorModule {
|
|
15044
14736
|
constructor() {
|
|
15045
14737
|
}
|
|
15046
14738
|
}
|
|
15047
|
-
|
|
15048
|
-
|
|
15049
|
-
|
|
15050
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type:
|
|
14739
|
+
AXNumberBoxPropertyEditorModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXNumberBoxPropertyEditorModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
14740
|
+
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] });
|
|
14741
|
+
AXNumberBoxPropertyEditorModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXNumberBoxPropertyEditorModule, providers: [], imports: [[CommonModule, FormsModule, AXNumberBoxModule, AXValidationModule]] });
|
|
14742
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXNumberBoxPropertyEditorModule, decorators: [{
|
|
15051
14743
|
type: NgModule,
|
|
15052
14744
|
args: [{
|
|
15053
|
-
declarations: [
|
|
15054
|
-
imports: [CommonModule, FormsModule,
|
|
15055
|
-
exports: [
|
|
14745
|
+
declarations: [AXNumberBoxPropertyEditorComponent],
|
|
14746
|
+
imports: [CommonModule, FormsModule, AXNumberBoxModule, AXValidationModule],
|
|
14747
|
+
exports: [AXNumberBoxPropertyEditorComponent],
|
|
14748
|
+
providers: []
|
|
14749
|
+
}]
|
|
14750
|
+
}], ctorParameters: function () { return []; } });
|
|
14751
|
+
|
|
14752
|
+
class AXRangePropertyEditorComponent extends AXProperyEditorComponent {
|
|
14753
|
+
constructor(cdr, popupService) {
|
|
14754
|
+
super(cdr);
|
|
14755
|
+
this.cdr = cdr;
|
|
14756
|
+
this.popupService = popupService;
|
|
14757
|
+
this.ranges = [];
|
|
14758
|
+
this.showSeparator = true;
|
|
14759
|
+
this.decimalNumber = 2;
|
|
14760
|
+
}
|
|
14761
|
+
ngOnInit() {
|
|
14762
|
+
this.ranges = this.value ? JSON.parse(JSON.stringify(this.value)) : [];
|
|
14763
|
+
this.cdr.detectChanges();
|
|
14764
|
+
}
|
|
14765
|
+
ngAfterViewInit() {
|
|
14766
|
+
this.onRenderCompleted.emit();
|
|
14767
|
+
}
|
|
14768
|
+
// getRanges() {
|
|
14769
|
+
// return this.ranges.sort((a, b) => a.minValue - b.minValue);
|
|
14770
|
+
// }
|
|
14771
|
+
onFormInit(e) {
|
|
14772
|
+
this.form = e.component;
|
|
14773
|
+
}
|
|
14774
|
+
handleEditClick(item) {
|
|
14775
|
+
this.editRow = Object.assign({}, item);
|
|
14776
|
+
const popup = this.popupService.open(this.tplEdit, {
|
|
14777
|
+
size: 'sm',
|
|
14778
|
+
footerButtons: [
|
|
14779
|
+
{
|
|
14780
|
+
name: 'confirm',
|
|
14781
|
+
text: AXTranslator.get('common.confirm'),
|
|
14782
|
+
style: 'success',
|
|
14783
|
+
submitBehavior: true,
|
|
14784
|
+
cancelBehavior: false,
|
|
14785
|
+
onClick: () => {
|
|
14786
|
+
this.form.validate().then(c => {
|
|
14787
|
+
if (c.result) {
|
|
14788
|
+
super.handleValueChange(this.ranges);
|
|
14789
|
+
Object.assign(item, this.editRow);
|
|
14790
|
+
popup.close();
|
|
14791
|
+
this.editRow = null;
|
|
14792
|
+
this.cdr.detectChanges();
|
|
14793
|
+
}
|
|
14794
|
+
});
|
|
14795
|
+
}
|
|
14796
|
+
},
|
|
14797
|
+
{
|
|
14798
|
+
name: 'cancel',
|
|
14799
|
+
text: AXTranslator.get('common.cancel'),
|
|
14800
|
+
style: 'danger blank',
|
|
14801
|
+
submitBehavior: false,
|
|
14802
|
+
cancelBehavior: true,
|
|
14803
|
+
onClick: () => {
|
|
14804
|
+
popup.close();
|
|
14805
|
+
this.editRow = null;
|
|
14806
|
+
this.cdr.detectChanges();
|
|
14807
|
+
}
|
|
14808
|
+
}
|
|
14809
|
+
],
|
|
14810
|
+
title: AXTranslator.get('common.edit')
|
|
14811
|
+
});
|
|
14812
|
+
}
|
|
14813
|
+
handleAddClick() {
|
|
14814
|
+
var _a;
|
|
14815
|
+
const min = ((_a = this.ranges) === null || _a === void 0 ? void 0 : _a.length) ? Math.max(...this.ranges.map(c => c.maxValue)) : 0;
|
|
14816
|
+
this.editRow = {
|
|
14817
|
+
title: '',
|
|
14818
|
+
minValue: min,
|
|
14819
|
+
maxValue: min + 1,
|
|
14820
|
+
color: null
|
|
14821
|
+
};
|
|
14822
|
+
const popup = this.popupService.open(this.tplEdit, {
|
|
14823
|
+
title: AXTranslator.get('common.add-item'),
|
|
14824
|
+
size: 'sm',
|
|
14825
|
+
footerButtons: [
|
|
14826
|
+
{
|
|
14827
|
+
name: 'confirm',
|
|
14828
|
+
text: AXTranslator.get('common.confirm'),
|
|
14829
|
+
style: 'success',
|
|
14830
|
+
submitBehavior: true,
|
|
14831
|
+
cancelBehavior: false,
|
|
14832
|
+
onClick: () => {
|
|
14833
|
+
this.form.validate().then(c => {
|
|
14834
|
+
if (c.result) {
|
|
14835
|
+
super.handleValueChange(this.ranges);
|
|
14836
|
+
this.ranges.push(this.editRow);
|
|
14837
|
+
popup.close();
|
|
14838
|
+
this.editRow = null;
|
|
14839
|
+
this.cdr.detectChanges();
|
|
14840
|
+
}
|
|
14841
|
+
});
|
|
14842
|
+
}
|
|
14843
|
+
},
|
|
14844
|
+
{
|
|
14845
|
+
name: 'cancel',
|
|
14846
|
+
text: AXTranslator.get('common.cancel'),
|
|
14847
|
+
style: 'danger blank',
|
|
14848
|
+
submitBehavior: false,
|
|
14849
|
+
cancelBehavior: true,
|
|
14850
|
+
onClick: () => {
|
|
14851
|
+
popup.close();
|
|
14852
|
+
this.editRow = null;
|
|
14853
|
+
this.cdr.detectChanges();
|
|
14854
|
+
}
|
|
14855
|
+
}
|
|
14856
|
+
],
|
|
14857
|
+
});
|
|
14858
|
+
this.cdr.detectChanges();
|
|
14859
|
+
}
|
|
14860
|
+
handleRemoveClick(item) {
|
|
14861
|
+
this.ranges = this.ranges.filter(c => c.minValue !== item.minValue);
|
|
14862
|
+
super.handleValueChange(this.ranges);
|
|
14863
|
+
}
|
|
14864
|
+
}
|
|
14865
|
+
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 });
|
|
14866
|
+
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 });
|
|
14867
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXRangePropertyEditorComponent, decorators: [{
|
|
14868
|
+
type: Component,
|
|
14869
|
+
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"] }]
|
|
14870
|
+
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: AXPopupService }]; }, propDecorators: { tplEdit: [{
|
|
14871
|
+
type: ViewChild,
|
|
14872
|
+
args: ['tplEdit']
|
|
14873
|
+
}] } });
|
|
14874
|
+
|
|
14875
|
+
class AXRangePropertyEditorModule {
|
|
14876
|
+
constructor() {
|
|
14877
|
+
}
|
|
14878
|
+
}
|
|
14879
|
+
AXRangePropertyEditorModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXRangePropertyEditorModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
14880
|
+
AXRangePropertyEditorModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXRangePropertyEditorModule, declarations: [AXRangePropertyEditorComponent], imports: [CommonModule,
|
|
14881
|
+
FormsModule,
|
|
14882
|
+
AXTranslatorModule,
|
|
14883
|
+
AXTextBoxModule,
|
|
14884
|
+
AXNumberBoxModule,
|
|
14885
|
+
AXColorPickerModule,
|
|
14886
|
+
AXLabelModule,
|
|
14887
|
+
AXPageModule,
|
|
14888
|
+
AXValidationModule,
|
|
14889
|
+
AXButtonModule], exports: [AXRangePropertyEditorComponent] });
|
|
14890
|
+
AXRangePropertyEditorModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXRangePropertyEditorModule, providers: [], imports: [[
|
|
14891
|
+
CommonModule,
|
|
14892
|
+
FormsModule,
|
|
14893
|
+
AXTranslatorModule,
|
|
14894
|
+
AXTextBoxModule,
|
|
14895
|
+
AXNumberBoxModule,
|
|
14896
|
+
AXColorPickerModule,
|
|
14897
|
+
AXLabelModule,
|
|
14898
|
+
AXPageModule,
|
|
14899
|
+
AXValidationModule,
|
|
14900
|
+
AXButtonModule
|
|
14901
|
+
]] });
|
|
14902
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXRangePropertyEditorModule, decorators: [{
|
|
14903
|
+
type: NgModule,
|
|
14904
|
+
args: [{
|
|
14905
|
+
declarations: [AXRangePropertyEditorComponent],
|
|
14906
|
+
imports: [
|
|
14907
|
+
CommonModule,
|
|
14908
|
+
FormsModule,
|
|
14909
|
+
AXTranslatorModule,
|
|
14910
|
+
AXTextBoxModule,
|
|
14911
|
+
AXNumberBoxModule,
|
|
14912
|
+
AXColorPickerModule,
|
|
14913
|
+
AXLabelModule,
|
|
14914
|
+
AXPageModule,
|
|
14915
|
+
AXValidationModule,
|
|
14916
|
+
AXButtonModule
|
|
14917
|
+
],
|
|
14918
|
+
exports: [AXRangePropertyEditorComponent],
|
|
14919
|
+
providers: []
|
|
14920
|
+
}]
|
|
14921
|
+
}], ctorParameters: function () { return []; } });
|
|
14922
|
+
|
|
14923
|
+
class AXSelectBoxPropertyEditorComponent extends AXProperyEditorComponent {
|
|
14924
|
+
constructor(cdr) {
|
|
14925
|
+
super(cdr);
|
|
14926
|
+
this.cdr = cdr;
|
|
14927
|
+
this.valueField = 'id';
|
|
14928
|
+
this.textField = 'text';
|
|
14929
|
+
this.mode = 'single';
|
|
14930
|
+
this.selectionDataMode = 'value';
|
|
14931
|
+
this.allowSearch = true;
|
|
14932
|
+
this.allowNull = false;
|
|
14933
|
+
this.disabled = false;
|
|
14934
|
+
this.items = [];
|
|
14935
|
+
this.remoteOperation = false;
|
|
14936
|
+
this.returnAllData = false;
|
|
14937
|
+
this.provideData = (e) => {
|
|
14938
|
+
return new Promise((resolve) => {
|
|
14939
|
+
const func = () => {
|
|
14940
|
+
if (Array.isArray(this.items)) {
|
|
14941
|
+
resolve(this.items.slice());
|
|
14942
|
+
}
|
|
14943
|
+
else if (typeof this.items === 'function') {
|
|
14944
|
+
const a = Object.assign(e, { sender: this });
|
|
14945
|
+
resolve(this.items(a));
|
|
14946
|
+
}
|
|
14947
|
+
else {
|
|
14948
|
+
resolve([]);
|
|
14949
|
+
}
|
|
14950
|
+
};
|
|
14951
|
+
const intVal = setInterval(() => {
|
|
14952
|
+
if (this.initiated) {
|
|
14953
|
+
func();
|
|
14954
|
+
clearInterval(intVal);
|
|
14955
|
+
}
|
|
14956
|
+
}, 50);
|
|
14957
|
+
});
|
|
14958
|
+
};
|
|
14959
|
+
}
|
|
14960
|
+
get filter() {
|
|
14961
|
+
return this._filter;
|
|
14962
|
+
}
|
|
14963
|
+
set filter(v) {
|
|
14964
|
+
var _a;
|
|
14965
|
+
this._filter = v;
|
|
14966
|
+
if (this.value && this.initiated) {
|
|
14967
|
+
this.value = null;
|
|
14968
|
+
(_a = this.selectBox) === null || _a === void 0 ? void 0 : _a.refresh();
|
|
14969
|
+
}
|
|
14970
|
+
}
|
|
14971
|
+
handleValueChange(e) {
|
|
14972
|
+
if (this.returnAllData) {
|
|
14973
|
+
super.handleValueChange(e.selectedItems);
|
|
14974
|
+
}
|
|
14975
|
+
else {
|
|
14976
|
+
super.handleValueChange(e.selectedValues);
|
|
14977
|
+
}
|
|
14978
|
+
}
|
|
14979
|
+
ngAfterViewInit() {
|
|
14980
|
+
this.registerForValidationForm(this.selectBox);
|
|
14981
|
+
this.onRenderCompleted.emit();
|
|
14982
|
+
}
|
|
14983
|
+
}
|
|
14984
|
+
AXSelectBoxPropertyEditorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXSelectBoxPropertyEditorComponent, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
14985
|
+
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"] }] });
|
|
14986
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXSelectBoxPropertyEditorComponent, decorators: [{
|
|
14987
|
+
type: Component,
|
|
14988
|
+
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" }]
|
|
14989
|
+
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }]; }, propDecorators: { selectBox: [{
|
|
14990
|
+
type: ViewChild,
|
|
14991
|
+
args: [AXSelectBoxComponent, { static: true }]
|
|
14992
|
+
}] } });
|
|
14993
|
+
|
|
14994
|
+
class AXSelectBoxPropertyEditorModule {
|
|
14995
|
+
constructor() {
|
|
14996
|
+
}
|
|
14997
|
+
}
|
|
14998
|
+
AXSelectBoxPropertyEditorModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXSelectBoxPropertyEditorModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
14999
|
+
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] });
|
|
15000
|
+
AXSelectBoxPropertyEditorModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXSelectBoxPropertyEditorModule, providers: [], imports: [[CommonModule, FormsModule, AXSelectBoxModule, AXDataSourceModule, AXValidationModule]] });
|
|
15001
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXSelectBoxPropertyEditorModule, decorators: [{
|
|
15002
|
+
type: NgModule,
|
|
15003
|
+
args: [{
|
|
15004
|
+
declarations: [AXSelectBoxPropertyEditorComponent],
|
|
15005
|
+
imports: [CommonModule, FormsModule, AXSelectBoxModule, AXDataSourceModule, AXValidationModule],
|
|
15006
|
+
exports: [AXSelectBoxPropertyEditorComponent],
|
|
15007
|
+
providers: []
|
|
15008
|
+
}]
|
|
15009
|
+
}], ctorParameters: function () { return []; } });
|
|
15010
|
+
|
|
15011
|
+
class AXSelectionListPropertyEditorComponent extends AXProperyEditorComponent {
|
|
15012
|
+
constructor(cdr) {
|
|
15013
|
+
super(cdr);
|
|
15014
|
+
this.cdr = cdr;
|
|
15015
|
+
this.disabled = false;
|
|
15016
|
+
this.indeterminate = false;
|
|
15017
|
+
this.readonly = false;
|
|
15018
|
+
this.size = 'md';
|
|
15019
|
+
this.items = [];
|
|
15020
|
+
this.mode = 'single';
|
|
15021
|
+
this.direction = 'horizontal';
|
|
15022
|
+
this.textField = null;
|
|
15023
|
+
this.valueField = null;
|
|
15024
|
+
}
|
|
15025
|
+
handleValueChange(e) {
|
|
15026
|
+
super.handleValueChange(e);
|
|
15027
|
+
}
|
|
15028
|
+
ngAfterViewInit() {
|
|
15029
|
+
this.registerForValidationForm(this.selectionList);
|
|
15030
|
+
this.onRenderCompleted.emit();
|
|
15031
|
+
}
|
|
15032
|
+
}
|
|
15033
|
+
AXSelectionListPropertyEditorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXSelectionListPropertyEditorComponent, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
15034
|
+
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: `
|
|
15035
|
+
<ax-selection-list
|
|
15036
|
+
[disabled]="disabled"
|
|
15037
|
+
[size]="size"
|
|
15038
|
+
[readonly]="readonly"
|
|
15039
|
+
[value]="value"
|
|
15040
|
+
[items]="items"
|
|
15041
|
+
[mode]="mode"
|
|
15042
|
+
(selectedItemsChange)="handleValueChange($event)"
|
|
15043
|
+
[textField]="textField"
|
|
15044
|
+
[valueField]="valueField"
|
|
15045
|
+
[direction]="direction"
|
|
15046
|
+
>
|
|
15047
|
+
<ax-validation [rules]="validation?.rules">
|
|
15048
|
+
</ax-validation>
|
|
15049
|
+
</ax-selection-list>
|
|
15050
|
+
`, 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"] }] });
|
|
15051
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXSelectionListPropertyEditorComponent, decorators: [{
|
|
15052
|
+
type: Component,
|
|
15053
|
+
args: [{
|
|
15054
|
+
template: `
|
|
15055
|
+
<ax-selection-list
|
|
15056
|
+
[disabled]="disabled"
|
|
15057
|
+
[size]="size"
|
|
15058
|
+
[readonly]="readonly"
|
|
15059
|
+
[value]="value"
|
|
15060
|
+
[items]="items"
|
|
15061
|
+
[mode]="mode"
|
|
15062
|
+
(selectedItemsChange)="handleValueChange($event)"
|
|
15063
|
+
[textField]="textField"
|
|
15064
|
+
[valueField]="valueField"
|
|
15065
|
+
[direction]="direction"
|
|
15066
|
+
>
|
|
15067
|
+
<ax-validation [rules]="validation?.rules">
|
|
15068
|
+
</ax-validation>
|
|
15069
|
+
</ax-selection-list>
|
|
15070
|
+
`,
|
|
15071
|
+
}]
|
|
15072
|
+
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }]; }, propDecorators: { selectionList: [{
|
|
15073
|
+
type: ViewChild,
|
|
15074
|
+
args: [AXSelectionListComponent, { static: true }]
|
|
15075
|
+
}] } });
|
|
15076
|
+
|
|
15077
|
+
class AXSelectionPropertyEditorModule {
|
|
15078
|
+
}
|
|
15079
|
+
AXSelectionPropertyEditorModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXSelectionPropertyEditorModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
15080
|
+
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] });
|
|
15081
|
+
AXSelectionPropertyEditorModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXSelectionPropertyEditorModule, providers: [], imports: [[CommonModule, AXSelectionListModule, FormsModule, AXValidationModule]] });
|
|
15082
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXSelectionPropertyEditorModule, decorators: [{
|
|
15083
|
+
type: NgModule,
|
|
15084
|
+
args: [{
|
|
15085
|
+
declarations: [AXSelectionListPropertyEditorComponent],
|
|
15086
|
+
imports: [CommonModule, AXSelectionListModule, FormsModule, AXValidationModule],
|
|
15087
|
+
exports: [AXSelectionListPropertyEditorComponent],
|
|
15088
|
+
providers: [],
|
|
15089
|
+
}]
|
|
15090
|
+
}] });
|
|
15091
|
+
|
|
15092
|
+
class AXSwitchPropertyEditorComponent extends AXProperyEditorComponent {
|
|
15093
|
+
constructor(cdr) {
|
|
15094
|
+
super(cdr);
|
|
15095
|
+
this.cdr = cdr;
|
|
15096
|
+
}
|
|
15097
|
+
handleValueChange(e) {
|
|
15098
|
+
super.handleValueChange(e.value);
|
|
15099
|
+
}
|
|
15100
|
+
ngAfterViewInit() {
|
|
15101
|
+
this.onRenderCompleted.emit();
|
|
15102
|
+
}
|
|
15103
|
+
}
|
|
15104
|
+
AXSwitchPropertyEditorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXSwitchPropertyEditorComponent, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
15105
|
+
AXSwitchPropertyEditorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: AXSwitchPropertyEditorComponent, selector: "ng-component", usesInheritance: true, ngImport: i0, template: `
|
|
15106
|
+
<ax-switch (onValueChanged)="handleValueChange($event)" [value]="value"></ax-switch>
|
|
15107
|
+
`, isInline: true, components: [{ type: AXSwitchComponent, selector: "ax-switch", inputs: ["tabIndex", "value", "readonly", "disabled", "size"], outputs: ["onValueChanged", "valueChange"] }] });
|
|
15108
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXSwitchPropertyEditorComponent, decorators: [{
|
|
15109
|
+
type: Component,
|
|
15110
|
+
args: [{
|
|
15111
|
+
template: `
|
|
15112
|
+
<ax-switch (onValueChanged)="handleValueChange($event)" [value]="value"></ax-switch>
|
|
15113
|
+
`,
|
|
15114
|
+
}]
|
|
15115
|
+
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }]; } });
|
|
15116
|
+
|
|
15117
|
+
class AXSwitchPropertyEditorModule {
|
|
15118
|
+
constructor() {
|
|
15119
|
+
}
|
|
15120
|
+
}
|
|
15121
|
+
AXSwitchPropertyEditorModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXSwitchPropertyEditorModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
15122
|
+
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] });
|
|
15123
|
+
AXSwitchPropertyEditorModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXSwitchPropertyEditorModule, providers: [], imports: [[CommonModule, FormsModule, AXNumberBoxModule, AXValidationModule, AXSwitchModule]] });
|
|
15124
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXSwitchPropertyEditorModule, decorators: [{
|
|
15125
|
+
type: NgModule,
|
|
15126
|
+
args: [{
|
|
15127
|
+
declarations: [AXSwitchPropertyEditorComponent],
|
|
15128
|
+
imports: [CommonModule, FormsModule, AXNumberBoxModule, AXValidationModule, AXSwitchModule],
|
|
15129
|
+
exports: [AXSwitchPropertyEditorComponent],
|
|
15130
|
+
providers: []
|
|
15131
|
+
}]
|
|
15132
|
+
}], ctorParameters: function () { return []; } });
|
|
15133
|
+
|
|
15134
|
+
class AXTextPropertyEditorComponent extends AXProperyEditorComponent {
|
|
15135
|
+
constructor(cdr) {
|
|
15136
|
+
super(cdr);
|
|
15137
|
+
this.cdr = cdr;
|
|
15138
|
+
this.clearButton = false;
|
|
15139
|
+
}
|
|
15140
|
+
handleValueChange(e) {
|
|
15141
|
+
super.handleValueChange(e.value);
|
|
15142
|
+
}
|
|
15143
|
+
ngAfterViewInit() {
|
|
15144
|
+
this.registerForValidationForm(this.textBox);
|
|
15145
|
+
this.onRenderCompleted.emit();
|
|
15146
|
+
}
|
|
15147
|
+
}
|
|
15148
|
+
AXTextPropertyEditorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXTextPropertyEditorComponent, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
15149
|
+
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"] }] });
|
|
15150
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXTextPropertyEditorComponent, decorators: [{
|
|
15151
|
+
type: Component,
|
|
15152
|
+
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>" }]
|
|
15153
|
+
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }]; }, propDecorators: { textBox: [{
|
|
15154
|
+
type: ViewChild,
|
|
15155
|
+
args: [AXTextBoxComponent]
|
|
15156
|
+
}] } });
|
|
15157
|
+
|
|
15158
|
+
class AXTextPropertyEditorModule {
|
|
15159
|
+
constructor() {
|
|
15160
|
+
}
|
|
15161
|
+
}
|
|
15162
|
+
AXTextPropertyEditorModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXTextPropertyEditorModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
15163
|
+
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] });
|
|
15164
|
+
AXTextPropertyEditorModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXTextPropertyEditorModule, providers: [], imports: [[CommonModule, FormsModule, AXTextBoxModule, AXValidationModule]] });
|
|
15165
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXTextPropertyEditorModule, decorators: [{
|
|
15166
|
+
type: NgModule,
|
|
15167
|
+
args: [{
|
|
15168
|
+
declarations: [AXTextPropertyEditorComponent],
|
|
15169
|
+
imports: [CommonModule, FormsModule, AXTextBoxModule, AXValidationModule],
|
|
15170
|
+
exports: [AXTextPropertyEditorComponent],
|
|
15056
15171
|
providers: []
|
|
15057
15172
|
}]
|
|
15058
15173
|
}], ctorParameters: function () { return []; } });
|
|
@@ -15100,6 +15215,61 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
15100
15215
|
}]
|
|
15101
15216
|
}], ctorParameters: function () { return []; } });
|
|
15102
15217
|
|
|
15218
|
+
class AXTimePropertyEditorComponent extends AXProperyEditorComponent {
|
|
15219
|
+
constructor(cdr) {
|
|
15220
|
+
super(cdr);
|
|
15221
|
+
this.cdr = cdr;
|
|
15222
|
+
this.showCurentTime = false;
|
|
15223
|
+
this.clearButton = false;
|
|
15224
|
+
}
|
|
15225
|
+
handleValueChange(e) {
|
|
15226
|
+
var _a;
|
|
15227
|
+
super.handleValueChange((_a = e.value) === null || _a === void 0 ? void 0 : _a.time);
|
|
15228
|
+
}
|
|
15229
|
+
ngAfterViewInit() {
|
|
15230
|
+
this.registerForValidationForm(this.time);
|
|
15231
|
+
this.onRenderCompleted.emit();
|
|
15232
|
+
}
|
|
15233
|
+
}
|
|
15234
|
+
AXTimePropertyEditorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXTimePropertyEditorComponent, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
15235
|
+
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: `
|
|
15236
|
+
<ax-time-picker [showCurentTime]="showCurentTime" [timeType]="timeType" [allowClear]="clearButton" (onValueChanged)="handleValueChange($event)">
|
|
15237
|
+
<ax-validation [rules]="validation?.rules">
|
|
15238
|
+
</ax-validation>
|
|
15239
|
+
</ax-time-picker>
|
|
15240
|
+
`, 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"] }] });
|
|
15241
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXTimePropertyEditorComponent, decorators: [{
|
|
15242
|
+
type: Component,
|
|
15243
|
+
args: [{
|
|
15244
|
+
template: `
|
|
15245
|
+
<ax-time-picker [showCurentTime]="showCurentTime" [timeType]="timeType" [allowClear]="clearButton" (onValueChanged)="handleValueChange($event)">
|
|
15246
|
+
<ax-validation [rules]="validation?.rules">
|
|
15247
|
+
</ax-validation>
|
|
15248
|
+
</ax-time-picker>
|
|
15249
|
+
`,
|
|
15250
|
+
}]
|
|
15251
|
+
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }]; }, propDecorators: { time: [{
|
|
15252
|
+
type: ViewChild,
|
|
15253
|
+
args: [AXDatePickerComponent]
|
|
15254
|
+
}] } });
|
|
15255
|
+
|
|
15256
|
+
class AXTimePropertyEditorModule {
|
|
15257
|
+
constructor() {
|
|
15258
|
+
}
|
|
15259
|
+
}
|
|
15260
|
+
AXTimePropertyEditorModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXTimePropertyEditorModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
15261
|
+
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] });
|
|
15262
|
+
AXTimePropertyEditorModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXTimePropertyEditorModule, providers: [], imports: [[CommonModule, FormsModule, AXTimePickerModule, AXValidationModule]] });
|
|
15263
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXTimePropertyEditorModule, decorators: [{
|
|
15264
|
+
type: NgModule,
|
|
15265
|
+
args: [{
|
|
15266
|
+
declarations: [AXTimePropertyEditorComponent],
|
|
15267
|
+
imports: [CommonModule, FormsModule, AXTimePickerModule, AXValidationModule],
|
|
15268
|
+
exports: [AXTimePropertyEditorComponent],
|
|
15269
|
+
providers: []
|
|
15270
|
+
}]
|
|
15271
|
+
}], ctorParameters: function () { return []; } });
|
|
15272
|
+
|
|
15103
15273
|
const WDIGET_MODULES = [
|
|
15104
15274
|
AXNumberBoxPropertyEditorModule,
|
|
15105
15275
|
AXTextPropertyEditorModule,
|
|
@@ -15112,7 +15282,9 @@ const WDIGET_MODULES = [
|
|
|
15112
15282
|
AXDatePropertyEditorModule,
|
|
15113
15283
|
AXTimePropertyEditorModule,
|
|
15114
15284
|
AXTimePropertyEditorModule,
|
|
15115
|
-
AXTextareaPropertyEditorModule
|
|
15285
|
+
AXTextareaPropertyEditorModule,
|
|
15286
|
+
AXCheckPropertyEditorModule,
|
|
15287
|
+
AXSelectionPropertyEditorModule
|
|
15116
15288
|
];
|
|
15117
15289
|
class AXProppertyEditorModule {
|
|
15118
15290
|
}
|
|
@@ -15128,10 +15300,20 @@ AXProppertyEditorModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0",
|
|
|
15128
15300
|
AXDatePropertyEditorModule,
|
|
15129
15301
|
AXTimePropertyEditorModule,
|
|
15130
15302
|
AXTimePropertyEditorModule,
|
|
15131
|
-
AXTextareaPropertyEditorModule,
|
|
15303
|
+
AXTextareaPropertyEditorModule,
|
|
15304
|
+
AXCheckPropertyEditorModule,
|
|
15305
|
+
AXSelectionPropertyEditorModule, i1$4.RouterModule], exports: [AXPropertyEditorRendererDirective] });
|
|
15132
15306
|
AXProppertyEditorModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXProppertyEditorModule, providers: [], imports: [[
|
|
15133
15307
|
WDIGET_MODULES,
|
|
15134
15308
|
RouterModule.forChild([
|
|
15309
|
+
{
|
|
15310
|
+
path: 'ax/editors/selection',
|
|
15311
|
+
component: AXSelectionListPropertyEditorComponent
|
|
15312
|
+
},
|
|
15313
|
+
{
|
|
15314
|
+
component: AXCheckBoxPropertyEditorComponent,
|
|
15315
|
+
path: 'ax/editors/check'
|
|
15316
|
+
},
|
|
15135
15317
|
{
|
|
15136
15318
|
component: AXTextPropertyEditorComponent,
|
|
15137
15319
|
path: 'ax/editors/text'
|
|
@@ -15183,6 +15365,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
15183
15365
|
imports: [
|
|
15184
15366
|
WDIGET_MODULES,
|
|
15185
15367
|
RouterModule.forChild([
|
|
15368
|
+
{
|
|
15369
|
+
path: 'ax/editors/selection',
|
|
15370
|
+
component: AXSelectionListPropertyEditorComponent
|
|
15371
|
+
},
|
|
15372
|
+
{
|
|
15373
|
+
component: AXCheckBoxPropertyEditorComponent,
|
|
15374
|
+
path: 'ax/editors/check'
|
|
15375
|
+
},
|
|
15186
15376
|
{
|
|
15187
15377
|
component: AXTextPropertyEditorComponent,
|
|
15188
15378
|
path: 'ax/editors/text'
|