@acorex/components 4.1.7 → 4.1.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm2020/lib/base/base-page.class.mjs +3 -1
- package/esm2020/lib/checkbox/checkbox.component.mjs +3 -3
- package/esm2020/lib/property-editor/editors/selectbox-editor/selectbox.editor.mjs +12 -5
- package/esm2020/lib/property-editor/editors/selection-editor/selection-editor.mjs +3 -3
- package/esm2020/lib/property-editor/property-editor.class.mjs +7 -6
- package/esm2020/lib/property-editor/property-editor.module.mjs +41 -17
- package/esm2020/lib/selection-list/selection-list.component.mjs +3 -3
- package/esm2020/lib/tab-page/tab-page-Renderer.component.mjs +3 -1
- package/esm2020/lib/tab-page/tab-page-host.component.mjs +8 -1
- package/esm2020/lib/validation/validation-form.component.mjs +3 -2
- package/fesm2015/acorex-components.mjs +660 -469
- package/fesm2015/acorex-components.mjs.map +1 -1
- package/fesm2020/acorex-components.mjs +649 -459
- package/fesm2020/acorex-components.mjs.map +1 -1
- package/lib/base/base-page.class.d.ts +1 -0
- package/lib/checkbox/checkbox.component.d.ts +2 -2
- package/lib/property-editor/editors/selectbox-editor/selectbox.editor.d.ts +2 -1
- package/lib/property-editor/property-editor.class.d.ts +23 -0
- package/lib/property-editor/property-editor.module.d.ts +4 -2
- package/lib/selection-list/selection-list.component.d.ts +2 -2
- package/lib/tab-page/tab-page-host.component.d.ts +1 -2
- package/package.json +1 -1
- package/esm2020/lib/search-bar/search-bar.component.mjs +0 -132
- package/esm2020/lib/search-bar/search-bar.module.mjs +0 -27
- package/lib/search-bar/search-bar.component.d.ts +0 -37
- package/lib/search-bar/search-bar.module.d.ts +0 -16
|
@@ -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;
|
|
@@ -5636,7 +5638,8 @@ class AXValidationFormComponent {
|
|
|
5636
5638
|
});
|
|
5637
5639
|
}
|
|
5638
5640
|
addWidget(widget) {
|
|
5639
|
-
|
|
5641
|
+
if (widget)
|
|
5642
|
+
this.widgets.push(widget);
|
|
5640
5643
|
}
|
|
5641
5644
|
}
|
|
5642
5645
|
AXValidationFormComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXValidationFormComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
@@ -10361,6 +10364,14 @@ class AXTabPageHostComponent {
|
|
|
10361
10364
|
ngOnInit() {
|
|
10362
10365
|
this.isLoading = true;
|
|
10363
10366
|
}
|
|
10367
|
+
active() {
|
|
10368
|
+
var _a, _b;
|
|
10369
|
+
const func = (_b = (_a = this.componentRef) === null || _a === void 0 ? void 0 : _a.instance) === null || _b === void 0 ? void 0 : _b.onActivated;
|
|
10370
|
+
if (func) {
|
|
10371
|
+
const f = func.bind(this.componentRef.instance);
|
|
10372
|
+
f();
|
|
10373
|
+
}
|
|
10374
|
+
}
|
|
10364
10375
|
ngAfterViewInit() {
|
|
10365
10376
|
return __awaiter(this, void 0, void 0, function* () {
|
|
10366
10377
|
this._loadingId = this.loadingService.show(this.ref.nativeElement.querySelector('.ax-tab-page-host-container'));
|
|
@@ -10467,6 +10478,7 @@ class AXTabPageRendererComponent {
|
|
|
10467
10478
|
if (v) {
|
|
10468
10479
|
v.location.nativeElement.hidden = false;
|
|
10469
10480
|
v.changeDetectorRef.reattach();
|
|
10481
|
+
v.instance.active();
|
|
10470
10482
|
}
|
|
10471
10483
|
else {
|
|
10472
10484
|
try {
|
|
@@ -10478,6 +10490,7 @@ class AXTabPageRendererComponent {
|
|
|
10478
10490
|
this.childs.push(componentRef);
|
|
10479
10491
|
setTimeout(() => {
|
|
10480
10492
|
componentRef.changeDetectorRef.detectChanges();
|
|
10493
|
+
//host.active();
|
|
10481
10494
|
}, 10);
|
|
10482
10495
|
}
|
|
10483
10496
|
catch (error) {
|
|
@@ -13384,6 +13397,7 @@ class AXProperyEditorComponent {
|
|
|
13384
13397
|
return this._value;
|
|
13385
13398
|
}
|
|
13386
13399
|
set value(v) {
|
|
13400
|
+
console.log('value set');
|
|
13387
13401
|
if (v !== this._value) {
|
|
13388
13402
|
this._value = v;
|
|
13389
13403
|
this.valueChange.emit(v);
|
|
@@ -13419,7 +13433,7 @@ class AXPropertyDecorator {
|
|
|
13419
13433
|
// @dynamic
|
|
13420
13434
|
class AXPropertyDecorators {
|
|
13421
13435
|
static register(cls, property, options) {
|
|
13422
|
-
const item = AXPropertyDecorators.REGISTRY.find(c => c.cls === cls && c.property === property);
|
|
13436
|
+
const item = AXPropertyDecorators.REGISTRY.find((c) => c.cls === cls && c.property === property);
|
|
13423
13437
|
if (item) {
|
|
13424
13438
|
item.options = options;
|
|
13425
13439
|
}
|
|
@@ -13428,14 +13442,14 @@ class AXPropertyDecorators {
|
|
|
13428
13442
|
}
|
|
13429
13443
|
}
|
|
13430
13444
|
static has(cls, property) {
|
|
13431
|
-
return AXPropertyDecorators.REGISTRY.some(c => c.cls === cls && c.property === property);
|
|
13445
|
+
return AXPropertyDecorators.REGISTRY.some((c) => c.cls === cls && c.property === property);
|
|
13432
13446
|
}
|
|
13433
13447
|
static get(cls, property) {
|
|
13434
|
-
return AXPropertyDecorators.REGISTRY.find(c => c.cls === cls && c.property === property);
|
|
13448
|
+
return AXPropertyDecorators.REGISTRY.find((c) => c.cls === cls && c.property === property);
|
|
13435
13449
|
}
|
|
13436
13450
|
static isValid(property) {
|
|
13437
13451
|
if (property) {
|
|
13438
|
-
return AXPropertyDecorators.REGISTRY.some(c => c.property === property);
|
|
13452
|
+
return AXPropertyDecorators.REGISTRY.some((c) => c.property === property);
|
|
13439
13453
|
}
|
|
13440
13454
|
return false;
|
|
13441
13455
|
}
|
|
@@ -13447,7 +13461,7 @@ class AXPropertyDecorators {
|
|
|
13447
13461
|
p.push(superClass.constructor);
|
|
13448
13462
|
superClass = Object.getPrototypeOf(superClass);
|
|
13449
13463
|
}
|
|
13450
|
-
list.push(...AXPropertyDecorators.REGISTRY.filter(c => p.includes(c.cls.constructor)));
|
|
13464
|
+
list.push(...AXPropertyDecorators.REGISTRY.filter((c) => p.includes(c.cls.constructor)));
|
|
13451
13465
|
return list;
|
|
13452
13466
|
}
|
|
13453
13467
|
}
|
|
@@ -13609,199 +13623,75 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
13609
13623
|
type: Output
|
|
13610
13624
|
}] } });
|
|
13611
13625
|
|
|
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 {
|
|
13626
|
+
class AXCheckBoxPropertyEditorComponent extends AXProperyEditorComponent {
|
|
13654
13627
|
constructor(cdr) {
|
|
13655
13628
|
super(cdr);
|
|
13656
13629
|
this.cdr = cdr;
|
|
13657
|
-
this.
|
|
13658
|
-
this.
|
|
13659
|
-
this.
|
|
13660
|
-
this.
|
|
13661
|
-
this.clearButton = false;
|
|
13630
|
+
this.disabled = false;
|
|
13631
|
+
this.indeterminate = false;
|
|
13632
|
+
this.readonly = false;
|
|
13633
|
+
this.size = 'md';
|
|
13662
13634
|
}
|
|
13663
13635
|
handleValueChange(e) {
|
|
13664
13636
|
super.handleValueChange(e.value);
|
|
13665
13637
|
}
|
|
13666
13638
|
ngAfterViewInit() {
|
|
13667
|
-
this.registerForValidationForm(this.
|
|
13639
|
+
this.registerForValidationForm(this.checkBox);
|
|
13668
13640
|
this.onRenderCompleted.emit();
|
|
13669
13641
|
}
|
|
13670
13642
|
}
|
|
13671
|
-
|
|
13672
|
-
|
|
13673
|
-
|
|
13674
|
-
|
|
13675
|
-
|
|
13676
|
-
|
|
13677
|
-
|
|
13678
|
-
|
|
13679
|
-
|
|
13680
|
-
|
|
13681
|
-
|
|
13682
|
-
|
|
13683
|
-
</ax-
|
|
13684
|
-
|
|
13685
|
-
|
|
13643
|
+
AXCheckBoxPropertyEditorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXCheckBoxPropertyEditorComponent, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
13644
|
+
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: `
|
|
13645
|
+
<ax-check-box
|
|
13646
|
+
[disabled]="disabled"
|
|
13647
|
+
[label]="label"
|
|
13648
|
+
[size]="size"
|
|
13649
|
+
[indeterminate]="indeterminate"
|
|
13650
|
+
[readonly]="readonly"
|
|
13651
|
+
[value]="value"
|
|
13652
|
+
(onValueChanged)="handleValueChange($event)"
|
|
13653
|
+
>
|
|
13654
|
+
<ax-validation [rules]="validation?.rules">
|
|
13655
|
+
</ax-validation>
|
|
13656
|
+
</ax-check-box>
|
|
13657
|
+
`, 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"] }] });
|
|
13658
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXCheckBoxPropertyEditorComponent, decorators: [{
|
|
13686
13659
|
type: Component,
|
|
13687
13660
|
args: [{
|
|
13688
13661
|
template: `
|
|
13689
|
-
|
|
13690
|
-
|
|
13691
|
-
|
|
13692
|
-
|
|
13693
|
-
|
|
13694
|
-
|
|
13695
|
-
|
|
13696
|
-
|
|
13697
|
-
|
|
13698
|
-
|
|
13699
|
-
</ax-
|
|
13662
|
+
<ax-check-box
|
|
13663
|
+
[disabled]="disabled"
|
|
13664
|
+
[label]="label"
|
|
13665
|
+
[size]="size"
|
|
13666
|
+
[indeterminate]="indeterminate"
|
|
13667
|
+
[readonly]="readonly"
|
|
13668
|
+
[value]="value"
|
|
13669
|
+
(onValueChanged)="handleValueChange($event)"
|
|
13670
|
+
>
|
|
13671
|
+
<ax-validation [rules]="validation?.rules">
|
|
13672
|
+
</ax-validation>
|
|
13673
|
+
</ax-check-box>
|
|
13700
13674
|
`,
|
|
13701
13675
|
}]
|
|
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: [{
|
|
13676
|
+
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }]; }, propDecorators: { checkBox: [{
|
|
13785
13677
|
type: ViewChild,
|
|
13786
|
-
args: [
|
|
13678
|
+
args: [AXCheckBoxComponent, { static: true }]
|
|
13787
13679
|
}] } });
|
|
13788
13680
|
|
|
13789
|
-
class
|
|
13790
|
-
constructor() {
|
|
13791
|
-
}
|
|
13681
|
+
class AXCheckPropertyEditorModule {
|
|
13792
13682
|
}
|
|
13793
|
-
|
|
13794
|
-
|
|
13795
|
-
|
|
13796
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type:
|
|
13683
|
+
AXCheckPropertyEditorModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXCheckPropertyEditorModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
13684
|
+
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] });
|
|
13685
|
+
AXCheckPropertyEditorModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXCheckPropertyEditorModule, providers: [], imports: [[CommonModule, AXCheckBoxModule, FormsModule, AXValidationModule]] });
|
|
13686
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXCheckPropertyEditorModule, decorators: [{
|
|
13797
13687
|
type: NgModule,
|
|
13798
13688
|
args: [{
|
|
13799
|
-
declarations: [
|
|
13800
|
-
imports: [CommonModule,
|
|
13801
|
-
exports: [
|
|
13802
|
-
providers: []
|
|
13689
|
+
declarations: [AXCheckBoxPropertyEditorComponent],
|
|
13690
|
+
imports: [CommonModule, AXCheckBoxModule, FormsModule, AXValidationModule],
|
|
13691
|
+
exports: [AXCheckBoxPropertyEditorComponent],
|
|
13692
|
+
providers: [],
|
|
13803
13693
|
}]
|
|
13804
|
-
}]
|
|
13694
|
+
}] });
|
|
13805
13695
|
|
|
13806
13696
|
class AXColorBoxComponent extends AXValidatableComponent {
|
|
13807
13697
|
constructor() {
|
|
@@ -14291,226 +14181,55 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
14291
14181
|
type: Input
|
|
14292
14182
|
}] } });
|
|
14293
14183
|
|
|
14294
|
-
class
|
|
14295
|
-
constructor(cdr
|
|
14184
|
+
class AXColorPropertyEditorComponent extends AXProperyEditorComponent {
|
|
14185
|
+
constructor(cdr) {
|
|
14296
14186
|
super(cdr);
|
|
14297
14187
|
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
14188
|
}
|
|
14307
14189
|
ngAfterViewInit() {
|
|
14190
|
+
this.registerForValidationForm(this.textBox);
|
|
14308
14191
|
this.onRenderCompleted.emit();
|
|
14309
14192
|
}
|
|
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() {
|
|
14193
|
+
}
|
|
14194
|
+
AXColorPropertyEditorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXColorPropertyEditorComponent, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
14195
|
+
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: `
|
|
14196
|
+
<ax-color-picker [(value)]="value">
|
|
14197
|
+
<ax-validation [rules]="validation?.rules">
|
|
14198
|
+
</ax-validation>
|
|
14199
|
+
</ax-color-picker>
|
|
14200
|
+
`, 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"] }] });
|
|
14201
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXColorPropertyEditorComponent, decorators: [{
|
|
14202
|
+
type: Component,
|
|
14203
|
+
args: [{
|
|
14204
|
+
template: `
|
|
14205
|
+
<ax-color-picker [(value)]="value">
|
|
14206
|
+
<ax-validation [rules]="validation?.rules">
|
|
14207
|
+
</ax-validation>
|
|
14208
|
+
</ax-color-picker>
|
|
14209
|
+
`,
|
|
14210
|
+
}]
|
|
14211
|
+
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }]; }, propDecorators: { textBox: [{
|
|
14212
|
+
type: ViewChild,
|
|
14213
|
+
args: [AXColorPickerComponent]
|
|
14214
|
+
}] } });
|
|
14215
|
+
|
|
14216
|
+
class AXColorPickerModule {
|
|
14217
|
+
}
|
|
14218
|
+
AXColorPickerModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXColorPickerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
14219
|
+
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] });
|
|
14220
|
+
AXColorPickerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXColorPickerModule, providers: [], imports: [[CommonModule, FormsModule, AXDropdownModule, AXValidationModule, AXTextBoxModule]] });
|
|
14221
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXColorPickerModule, decorators: [{
|
|
14222
|
+
type: NgModule,
|
|
14223
|
+
args: [{
|
|
14224
|
+
declarations: [AXColorPickerComponent, AXColorBoxComponent],
|
|
14225
|
+
imports: [CommonModule, FormsModule, AXDropdownModule, AXValidationModule, AXTextBoxModule],
|
|
14226
|
+
exports: [AXColorPickerComponent, AXColorBoxComponent],
|
|
14227
|
+
providers: []
|
|
14228
|
+
}]
|
|
14229
|
+
}] });
|
|
14230
|
+
|
|
14231
|
+
class AXColorPropertyEditorModule {
|
|
14232
|
+
constructor() {
|
|
14514
14233
|
}
|
|
14515
14234
|
}
|
|
14516
14235
|
AXColorPropertyEditorModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXColorPropertyEditorModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
@@ -14898,48 +14617,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
14898
14617
|
}]
|
|
14899
14618
|
}], ctorParameters: function () { return []; } });
|
|
14900
14619
|
|
|
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
14620
|
class AXDatePropertyEditorComponent extends AXProperyEditorComponent {
|
|
14944
14621
|
constructor(cdr) {
|
|
14945
14622
|
super(cdr);
|
|
@@ -15002,57 +14679,496 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
15002
14679
|
}]
|
|
15003
14680
|
}], ctorParameters: function () { return []; } });
|
|
15004
14681
|
|
|
15005
|
-
class
|
|
14682
|
+
class AXNumberBoxPropertyEditorComponent extends AXProperyEditorComponent {
|
|
15006
14683
|
constructor(cdr) {
|
|
15007
14684
|
super(cdr);
|
|
15008
14685
|
this.cdr = cdr;
|
|
15009
|
-
this.
|
|
14686
|
+
this.showSeparator = true;
|
|
14687
|
+
this.decimalNumber = 2;
|
|
14688
|
+
this.minValue = null;
|
|
14689
|
+
this.maxValue = null;
|
|
15010
14690
|
this.clearButton = false;
|
|
15011
14691
|
}
|
|
15012
14692
|
handleValueChange(e) {
|
|
15013
|
-
|
|
15014
|
-
super.handleValueChange((_a = e.value) === null || _a === void 0 ? void 0 : _a.time);
|
|
14693
|
+
super.handleValueChange(e.value);
|
|
15015
14694
|
}
|
|
15016
14695
|
ngAfterViewInit() {
|
|
15017
|
-
this.registerForValidationForm(this.
|
|
14696
|
+
this.registerForValidationForm(this.textBox);
|
|
15018
14697
|
this.onRenderCompleted.emit();
|
|
15019
14698
|
}
|
|
15020
14699
|
}
|
|
15021
|
-
|
|
15022
|
-
|
|
15023
|
-
|
|
15024
|
-
|
|
15025
|
-
|
|
15026
|
-
|
|
15027
|
-
|
|
15028
|
-
|
|
15029
|
-
|
|
15030
|
-
|
|
15031
|
-
|
|
15032
|
-
|
|
15033
|
-
|
|
15034
|
-
|
|
15035
|
-
|
|
15036
|
-
|
|
15037
|
-
|
|
15038
|
-
|
|
15039
|
-
|
|
15040
|
-
|
|
14700
|
+
AXNumberBoxPropertyEditorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXNumberBoxPropertyEditorComponent, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
14701
|
+
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: `
|
|
14702
|
+
<ax-number-box (onValueChanged)="handleValueChange($event)"
|
|
14703
|
+
[value]="value"
|
|
14704
|
+
[showSeparator]="showSeparator"
|
|
14705
|
+
[decimalNumber]="decimalNumber"
|
|
14706
|
+
[min]="minValue"
|
|
14707
|
+
[max]="maxValue"
|
|
14708
|
+
[allowClear]="clearButton"
|
|
14709
|
+
>
|
|
14710
|
+
<ax-validation [rules]="validation?.rules">
|
|
14711
|
+
</ax-validation>
|
|
14712
|
+
</ax-number-box>
|
|
14713
|
+
`, 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"] }] });
|
|
14714
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXNumberBoxPropertyEditorComponent, decorators: [{
|
|
14715
|
+
type: Component,
|
|
14716
|
+
args: [{
|
|
14717
|
+
template: `
|
|
14718
|
+
<ax-number-box (onValueChanged)="handleValueChange($event)"
|
|
14719
|
+
[value]="value"
|
|
14720
|
+
[showSeparator]="showSeparator"
|
|
14721
|
+
[decimalNumber]="decimalNumber"
|
|
14722
|
+
[min]="minValue"
|
|
14723
|
+
[max]="maxValue"
|
|
14724
|
+
[allowClear]="clearButton"
|
|
14725
|
+
>
|
|
14726
|
+
<ax-validation [rules]="validation?.rules">
|
|
14727
|
+
</ax-validation>
|
|
14728
|
+
</ax-number-box>
|
|
14729
|
+
`,
|
|
14730
|
+
}]
|
|
14731
|
+
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }]; }, propDecorators: { textBox: [{
|
|
14732
|
+
type: ViewChild,
|
|
14733
|
+
args: [AXNumberBoxComponent]
|
|
15041
14734
|
}] } });
|
|
15042
14735
|
|
|
15043
|
-
class
|
|
14736
|
+
class AXNumberBoxPropertyEditorModule {
|
|
15044
14737
|
constructor() {
|
|
15045
14738
|
}
|
|
15046
14739
|
}
|
|
15047
|
-
|
|
15048
|
-
|
|
15049
|
-
|
|
15050
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type:
|
|
14740
|
+
AXNumberBoxPropertyEditorModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXNumberBoxPropertyEditorModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
14741
|
+
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] });
|
|
14742
|
+
AXNumberBoxPropertyEditorModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXNumberBoxPropertyEditorModule, providers: [], imports: [[CommonModule, FormsModule, AXNumberBoxModule, AXValidationModule]] });
|
|
14743
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXNumberBoxPropertyEditorModule, decorators: [{
|
|
15051
14744
|
type: NgModule,
|
|
15052
14745
|
args: [{
|
|
15053
|
-
declarations: [
|
|
15054
|
-
imports: [CommonModule, FormsModule,
|
|
15055
|
-
exports: [
|
|
14746
|
+
declarations: [AXNumberBoxPropertyEditorComponent],
|
|
14747
|
+
imports: [CommonModule, FormsModule, AXNumberBoxModule, AXValidationModule],
|
|
14748
|
+
exports: [AXNumberBoxPropertyEditorComponent],
|
|
14749
|
+
providers: []
|
|
14750
|
+
}]
|
|
14751
|
+
}], ctorParameters: function () { return []; } });
|
|
14752
|
+
|
|
14753
|
+
class AXRangePropertyEditorComponent extends AXProperyEditorComponent {
|
|
14754
|
+
constructor(cdr, popupService) {
|
|
14755
|
+
super(cdr);
|
|
14756
|
+
this.cdr = cdr;
|
|
14757
|
+
this.popupService = popupService;
|
|
14758
|
+
this.ranges = [];
|
|
14759
|
+
this.showSeparator = true;
|
|
14760
|
+
this.decimalNumber = 2;
|
|
14761
|
+
}
|
|
14762
|
+
ngOnInit() {
|
|
14763
|
+
this.ranges = this.value ? JSON.parse(JSON.stringify(this.value)) : [];
|
|
14764
|
+
this.cdr.detectChanges();
|
|
14765
|
+
}
|
|
14766
|
+
ngAfterViewInit() {
|
|
14767
|
+
this.onRenderCompleted.emit();
|
|
14768
|
+
}
|
|
14769
|
+
// getRanges() {
|
|
14770
|
+
// return this.ranges.sort((a, b) => a.minValue - b.minValue);
|
|
14771
|
+
// }
|
|
14772
|
+
onFormInit(e) {
|
|
14773
|
+
this.form = e.component;
|
|
14774
|
+
}
|
|
14775
|
+
handleEditClick(item) {
|
|
14776
|
+
this.editRow = Object.assign({}, item);
|
|
14777
|
+
const popup = this.popupService.open(this.tplEdit, {
|
|
14778
|
+
size: 'sm',
|
|
14779
|
+
footerButtons: [
|
|
14780
|
+
{
|
|
14781
|
+
name: 'confirm',
|
|
14782
|
+
text: AXTranslator.get('common.confirm'),
|
|
14783
|
+
style: 'success',
|
|
14784
|
+
submitBehavior: true,
|
|
14785
|
+
cancelBehavior: false,
|
|
14786
|
+
onClick: () => {
|
|
14787
|
+
this.form.validate().then(c => {
|
|
14788
|
+
if (c.result) {
|
|
14789
|
+
super.handleValueChange(this.ranges);
|
|
14790
|
+
Object.assign(item, this.editRow);
|
|
14791
|
+
popup.close();
|
|
14792
|
+
this.editRow = null;
|
|
14793
|
+
this.cdr.detectChanges();
|
|
14794
|
+
}
|
|
14795
|
+
});
|
|
14796
|
+
}
|
|
14797
|
+
},
|
|
14798
|
+
{
|
|
14799
|
+
name: 'cancel',
|
|
14800
|
+
text: AXTranslator.get('common.cancel'),
|
|
14801
|
+
style: 'danger blank',
|
|
14802
|
+
submitBehavior: false,
|
|
14803
|
+
cancelBehavior: true,
|
|
14804
|
+
onClick: () => {
|
|
14805
|
+
popup.close();
|
|
14806
|
+
this.editRow = null;
|
|
14807
|
+
this.cdr.detectChanges();
|
|
14808
|
+
}
|
|
14809
|
+
}
|
|
14810
|
+
],
|
|
14811
|
+
title: AXTranslator.get('common.edit')
|
|
14812
|
+
});
|
|
14813
|
+
}
|
|
14814
|
+
handleAddClick() {
|
|
14815
|
+
var _a;
|
|
14816
|
+
const min = ((_a = this.ranges) === null || _a === void 0 ? void 0 : _a.length) ? Math.max(...this.ranges.map(c => c.maxValue)) : 0;
|
|
14817
|
+
this.editRow = {
|
|
14818
|
+
title: '',
|
|
14819
|
+
minValue: min,
|
|
14820
|
+
maxValue: min + 1,
|
|
14821
|
+
color: null
|
|
14822
|
+
};
|
|
14823
|
+
const popup = this.popupService.open(this.tplEdit, {
|
|
14824
|
+
title: AXTranslator.get('common.add-item'),
|
|
14825
|
+
size: 'sm',
|
|
14826
|
+
footerButtons: [
|
|
14827
|
+
{
|
|
14828
|
+
name: 'confirm',
|
|
14829
|
+
text: AXTranslator.get('common.confirm'),
|
|
14830
|
+
style: 'success',
|
|
14831
|
+
submitBehavior: true,
|
|
14832
|
+
cancelBehavior: false,
|
|
14833
|
+
onClick: () => {
|
|
14834
|
+
this.form.validate().then(c => {
|
|
14835
|
+
if (c.result) {
|
|
14836
|
+
super.handleValueChange(this.ranges);
|
|
14837
|
+
this.ranges.push(this.editRow);
|
|
14838
|
+
popup.close();
|
|
14839
|
+
this.editRow = null;
|
|
14840
|
+
this.cdr.detectChanges();
|
|
14841
|
+
}
|
|
14842
|
+
});
|
|
14843
|
+
}
|
|
14844
|
+
},
|
|
14845
|
+
{
|
|
14846
|
+
name: 'cancel',
|
|
14847
|
+
text: AXTranslator.get('common.cancel'),
|
|
14848
|
+
style: 'danger blank',
|
|
14849
|
+
submitBehavior: false,
|
|
14850
|
+
cancelBehavior: true,
|
|
14851
|
+
onClick: () => {
|
|
14852
|
+
popup.close();
|
|
14853
|
+
this.editRow = null;
|
|
14854
|
+
this.cdr.detectChanges();
|
|
14855
|
+
}
|
|
14856
|
+
}
|
|
14857
|
+
],
|
|
14858
|
+
});
|
|
14859
|
+
this.cdr.detectChanges();
|
|
14860
|
+
}
|
|
14861
|
+
handleRemoveClick(item) {
|
|
14862
|
+
this.ranges = this.ranges.filter(c => c.minValue !== item.minValue);
|
|
14863
|
+
super.handleValueChange(this.ranges);
|
|
14864
|
+
}
|
|
14865
|
+
}
|
|
14866
|
+
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 });
|
|
14867
|
+
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 });
|
|
14868
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXRangePropertyEditorComponent, decorators: [{
|
|
14869
|
+
type: Component,
|
|
14870
|
+
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"] }]
|
|
14871
|
+
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: AXPopupService }]; }, propDecorators: { tplEdit: [{
|
|
14872
|
+
type: ViewChild,
|
|
14873
|
+
args: ['tplEdit']
|
|
14874
|
+
}] } });
|
|
14875
|
+
|
|
14876
|
+
class AXRangePropertyEditorModule {
|
|
14877
|
+
constructor() {
|
|
14878
|
+
}
|
|
14879
|
+
}
|
|
14880
|
+
AXRangePropertyEditorModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXRangePropertyEditorModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
14881
|
+
AXRangePropertyEditorModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXRangePropertyEditorModule, declarations: [AXRangePropertyEditorComponent], imports: [CommonModule,
|
|
14882
|
+
FormsModule,
|
|
14883
|
+
AXTranslatorModule,
|
|
14884
|
+
AXTextBoxModule,
|
|
14885
|
+
AXNumberBoxModule,
|
|
14886
|
+
AXColorPickerModule,
|
|
14887
|
+
AXLabelModule,
|
|
14888
|
+
AXPageModule,
|
|
14889
|
+
AXValidationModule,
|
|
14890
|
+
AXButtonModule], exports: [AXRangePropertyEditorComponent] });
|
|
14891
|
+
AXRangePropertyEditorModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXRangePropertyEditorModule, providers: [], imports: [[
|
|
14892
|
+
CommonModule,
|
|
14893
|
+
FormsModule,
|
|
14894
|
+
AXTranslatorModule,
|
|
14895
|
+
AXTextBoxModule,
|
|
14896
|
+
AXNumberBoxModule,
|
|
14897
|
+
AXColorPickerModule,
|
|
14898
|
+
AXLabelModule,
|
|
14899
|
+
AXPageModule,
|
|
14900
|
+
AXValidationModule,
|
|
14901
|
+
AXButtonModule
|
|
14902
|
+
]] });
|
|
14903
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXRangePropertyEditorModule, decorators: [{
|
|
14904
|
+
type: NgModule,
|
|
14905
|
+
args: [{
|
|
14906
|
+
declarations: [AXRangePropertyEditorComponent],
|
|
14907
|
+
imports: [
|
|
14908
|
+
CommonModule,
|
|
14909
|
+
FormsModule,
|
|
14910
|
+
AXTranslatorModule,
|
|
14911
|
+
AXTextBoxModule,
|
|
14912
|
+
AXNumberBoxModule,
|
|
14913
|
+
AXColorPickerModule,
|
|
14914
|
+
AXLabelModule,
|
|
14915
|
+
AXPageModule,
|
|
14916
|
+
AXValidationModule,
|
|
14917
|
+
AXButtonModule
|
|
14918
|
+
],
|
|
14919
|
+
exports: [AXRangePropertyEditorComponent],
|
|
14920
|
+
providers: []
|
|
14921
|
+
}]
|
|
14922
|
+
}], ctorParameters: function () { return []; } });
|
|
14923
|
+
|
|
14924
|
+
class AXSelectBoxPropertyEditorComponent extends AXProperyEditorComponent {
|
|
14925
|
+
constructor(cdr) {
|
|
14926
|
+
super(cdr);
|
|
14927
|
+
this.cdr = cdr;
|
|
14928
|
+
this.valueField = 'id';
|
|
14929
|
+
this.textField = 'text';
|
|
14930
|
+
this.mode = 'single';
|
|
14931
|
+
this.selectionDataMode = 'value';
|
|
14932
|
+
this.allowSearch = true;
|
|
14933
|
+
this.allowNull = false;
|
|
14934
|
+
this.disabled = false;
|
|
14935
|
+
this.items = [];
|
|
14936
|
+
this.remoteOperation = false;
|
|
14937
|
+
this.returnAllData = false;
|
|
14938
|
+
this.provideData = (e) => {
|
|
14939
|
+
return new Promise((resolve) => {
|
|
14940
|
+
const func = () => {
|
|
14941
|
+
if (Array.isArray(this.items)) {
|
|
14942
|
+
resolve(this.items.slice());
|
|
14943
|
+
}
|
|
14944
|
+
else if (typeof this.items === 'function') {
|
|
14945
|
+
const a = Object.assign(e, { sender: this });
|
|
14946
|
+
resolve(this.items(a));
|
|
14947
|
+
}
|
|
14948
|
+
else {
|
|
14949
|
+
resolve([]);
|
|
14950
|
+
}
|
|
14951
|
+
};
|
|
14952
|
+
const intVal = setInterval(() => {
|
|
14953
|
+
if (this.initiated) {
|
|
14954
|
+
func();
|
|
14955
|
+
clearInterval(intVal);
|
|
14956
|
+
}
|
|
14957
|
+
}, 50);
|
|
14958
|
+
});
|
|
14959
|
+
};
|
|
14960
|
+
}
|
|
14961
|
+
get filter() {
|
|
14962
|
+
return this._filter;
|
|
14963
|
+
}
|
|
14964
|
+
set filter(v) {
|
|
14965
|
+
var _a;
|
|
14966
|
+
this._filter = v;
|
|
14967
|
+
if (this.value && this.initiated) {
|
|
14968
|
+
this.value = null;
|
|
14969
|
+
(_a = this.selectBox) === null || _a === void 0 ? void 0 : _a.refresh();
|
|
14970
|
+
}
|
|
14971
|
+
}
|
|
14972
|
+
handleValueChange(e) {
|
|
14973
|
+
if (this.returnAllData) {
|
|
14974
|
+
super.handleValueChange(e.selectedItems);
|
|
14975
|
+
}
|
|
14976
|
+
else {
|
|
14977
|
+
super.handleValueChange(e.selectedValues);
|
|
14978
|
+
}
|
|
14979
|
+
}
|
|
14980
|
+
ngAfterViewInit() {
|
|
14981
|
+
this.registerForValidationForm(this.selectBox);
|
|
14982
|
+
this.onRenderCompleted.emit();
|
|
14983
|
+
}
|
|
14984
|
+
}
|
|
14985
|
+
AXSelectBoxPropertyEditorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXSelectBoxPropertyEditorComponent, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
14986
|
+
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"] }] });
|
|
14987
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXSelectBoxPropertyEditorComponent, decorators: [{
|
|
14988
|
+
type: Component,
|
|
14989
|
+
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" }]
|
|
14990
|
+
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }]; }, propDecorators: { selectBox: [{
|
|
14991
|
+
type: ViewChild,
|
|
14992
|
+
args: [AXSelectBoxComponent, { static: true }]
|
|
14993
|
+
}] } });
|
|
14994
|
+
|
|
14995
|
+
class AXSelectBoxPropertyEditorModule {
|
|
14996
|
+
constructor() {
|
|
14997
|
+
}
|
|
14998
|
+
}
|
|
14999
|
+
AXSelectBoxPropertyEditorModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXSelectBoxPropertyEditorModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
15000
|
+
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] });
|
|
15001
|
+
AXSelectBoxPropertyEditorModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXSelectBoxPropertyEditorModule, providers: [], imports: [[CommonModule, FormsModule, AXSelectBoxModule, AXDataSourceModule, AXValidationModule]] });
|
|
15002
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXSelectBoxPropertyEditorModule, decorators: [{
|
|
15003
|
+
type: NgModule,
|
|
15004
|
+
args: [{
|
|
15005
|
+
declarations: [AXSelectBoxPropertyEditorComponent],
|
|
15006
|
+
imports: [CommonModule, FormsModule, AXSelectBoxModule, AXDataSourceModule, AXValidationModule],
|
|
15007
|
+
exports: [AXSelectBoxPropertyEditorComponent],
|
|
15008
|
+
providers: []
|
|
15009
|
+
}]
|
|
15010
|
+
}], ctorParameters: function () { return []; } });
|
|
15011
|
+
|
|
15012
|
+
class AXSelectionListPropertyEditorComponent extends AXProperyEditorComponent {
|
|
15013
|
+
constructor(cdr) {
|
|
15014
|
+
super(cdr);
|
|
15015
|
+
this.cdr = cdr;
|
|
15016
|
+
this.disabled = false;
|
|
15017
|
+
this.indeterminate = false;
|
|
15018
|
+
this.readonly = false;
|
|
15019
|
+
this.size = 'md';
|
|
15020
|
+
this.items = [];
|
|
15021
|
+
this.mode = 'single';
|
|
15022
|
+
this.direction = 'horizontal';
|
|
15023
|
+
this.textField = null;
|
|
15024
|
+
this.valueField = null;
|
|
15025
|
+
}
|
|
15026
|
+
handleValueChange(e) {
|
|
15027
|
+
super.handleValueChange(e);
|
|
15028
|
+
}
|
|
15029
|
+
ngAfterViewInit() {
|
|
15030
|
+
this.registerForValidationForm(this.selectionList);
|
|
15031
|
+
this.onRenderCompleted.emit();
|
|
15032
|
+
}
|
|
15033
|
+
}
|
|
15034
|
+
AXSelectionListPropertyEditorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXSelectionListPropertyEditorComponent, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
15035
|
+
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: `
|
|
15036
|
+
<ax-selection-list
|
|
15037
|
+
[disabled]="disabled"
|
|
15038
|
+
[size]="size"
|
|
15039
|
+
[readonly]="readonly"
|
|
15040
|
+
[value]="value"
|
|
15041
|
+
[items]="items"
|
|
15042
|
+
[mode]="mode"
|
|
15043
|
+
(selectedItemsChange)="handleValueChange($event)"
|
|
15044
|
+
[textField]="textField"
|
|
15045
|
+
[valueField]="valueField"
|
|
15046
|
+
[direction]="direction"
|
|
15047
|
+
>
|
|
15048
|
+
<ax-validation [rules]="validation?.rules">
|
|
15049
|
+
</ax-validation>
|
|
15050
|
+
</ax-selection-list>
|
|
15051
|
+
`, 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"] }] });
|
|
15052
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXSelectionListPropertyEditorComponent, decorators: [{
|
|
15053
|
+
type: Component,
|
|
15054
|
+
args: [{
|
|
15055
|
+
template: `
|
|
15056
|
+
<ax-selection-list
|
|
15057
|
+
[disabled]="disabled"
|
|
15058
|
+
[size]="size"
|
|
15059
|
+
[readonly]="readonly"
|
|
15060
|
+
[value]="value"
|
|
15061
|
+
[items]="items"
|
|
15062
|
+
[mode]="mode"
|
|
15063
|
+
(selectedItemsChange)="handleValueChange($event)"
|
|
15064
|
+
[textField]="textField"
|
|
15065
|
+
[valueField]="valueField"
|
|
15066
|
+
[direction]="direction"
|
|
15067
|
+
>
|
|
15068
|
+
<ax-validation [rules]="validation?.rules">
|
|
15069
|
+
</ax-validation>
|
|
15070
|
+
</ax-selection-list>
|
|
15071
|
+
`,
|
|
15072
|
+
}]
|
|
15073
|
+
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }]; }, propDecorators: { selectionList: [{
|
|
15074
|
+
type: ViewChild,
|
|
15075
|
+
args: [AXSelectionListComponent, { static: true }]
|
|
15076
|
+
}] } });
|
|
15077
|
+
|
|
15078
|
+
class AXSelectionPropertyEditorModule {
|
|
15079
|
+
}
|
|
15080
|
+
AXSelectionPropertyEditorModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXSelectionPropertyEditorModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
15081
|
+
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] });
|
|
15082
|
+
AXSelectionPropertyEditorModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXSelectionPropertyEditorModule, providers: [], imports: [[CommonModule, AXSelectionListModule, FormsModule, AXValidationModule]] });
|
|
15083
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXSelectionPropertyEditorModule, decorators: [{
|
|
15084
|
+
type: NgModule,
|
|
15085
|
+
args: [{
|
|
15086
|
+
declarations: [AXSelectionListPropertyEditorComponent],
|
|
15087
|
+
imports: [CommonModule, AXSelectionListModule, FormsModule, AXValidationModule],
|
|
15088
|
+
exports: [AXSelectionListPropertyEditorComponent],
|
|
15089
|
+
providers: [],
|
|
15090
|
+
}]
|
|
15091
|
+
}] });
|
|
15092
|
+
|
|
15093
|
+
class AXSwitchPropertyEditorComponent extends AXProperyEditorComponent {
|
|
15094
|
+
constructor(cdr) {
|
|
15095
|
+
super(cdr);
|
|
15096
|
+
this.cdr = cdr;
|
|
15097
|
+
}
|
|
15098
|
+
handleValueChange(e) {
|
|
15099
|
+
super.handleValueChange(e.value);
|
|
15100
|
+
}
|
|
15101
|
+
ngAfterViewInit() {
|
|
15102
|
+
this.onRenderCompleted.emit();
|
|
15103
|
+
}
|
|
15104
|
+
}
|
|
15105
|
+
AXSwitchPropertyEditorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXSwitchPropertyEditorComponent, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
15106
|
+
AXSwitchPropertyEditorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: AXSwitchPropertyEditorComponent, selector: "ng-component", usesInheritance: true, ngImport: i0, template: `
|
|
15107
|
+
<ax-switch (onValueChanged)="handleValueChange($event)" [value]="value"></ax-switch>
|
|
15108
|
+
`, isInline: true, components: [{ type: AXSwitchComponent, selector: "ax-switch", inputs: ["tabIndex", "value", "readonly", "disabled", "size"], outputs: ["onValueChanged", "valueChange"] }] });
|
|
15109
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXSwitchPropertyEditorComponent, decorators: [{
|
|
15110
|
+
type: Component,
|
|
15111
|
+
args: [{
|
|
15112
|
+
template: `
|
|
15113
|
+
<ax-switch (onValueChanged)="handleValueChange($event)" [value]="value"></ax-switch>
|
|
15114
|
+
`,
|
|
15115
|
+
}]
|
|
15116
|
+
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }]; } });
|
|
15117
|
+
|
|
15118
|
+
class AXSwitchPropertyEditorModule {
|
|
15119
|
+
constructor() {
|
|
15120
|
+
}
|
|
15121
|
+
}
|
|
15122
|
+
AXSwitchPropertyEditorModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXSwitchPropertyEditorModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
15123
|
+
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] });
|
|
15124
|
+
AXSwitchPropertyEditorModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXSwitchPropertyEditorModule, providers: [], imports: [[CommonModule, FormsModule, AXNumberBoxModule, AXValidationModule, AXSwitchModule]] });
|
|
15125
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXSwitchPropertyEditorModule, decorators: [{
|
|
15126
|
+
type: NgModule,
|
|
15127
|
+
args: [{
|
|
15128
|
+
declarations: [AXSwitchPropertyEditorComponent],
|
|
15129
|
+
imports: [CommonModule, FormsModule, AXNumberBoxModule, AXValidationModule, AXSwitchModule],
|
|
15130
|
+
exports: [AXSwitchPropertyEditorComponent],
|
|
15131
|
+
providers: []
|
|
15132
|
+
}]
|
|
15133
|
+
}], ctorParameters: function () { return []; } });
|
|
15134
|
+
|
|
15135
|
+
class AXTextPropertyEditorComponent extends AXProperyEditorComponent {
|
|
15136
|
+
constructor(cdr) {
|
|
15137
|
+
super(cdr);
|
|
15138
|
+
this.cdr = cdr;
|
|
15139
|
+
this.clearButton = false;
|
|
15140
|
+
}
|
|
15141
|
+
handleValueChange(e) {
|
|
15142
|
+
super.handleValueChange(e.value);
|
|
15143
|
+
}
|
|
15144
|
+
ngAfterViewInit() {
|
|
15145
|
+
this.registerForValidationForm(this.textBox);
|
|
15146
|
+
this.onRenderCompleted.emit();
|
|
15147
|
+
}
|
|
15148
|
+
}
|
|
15149
|
+
AXTextPropertyEditorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXTextPropertyEditorComponent, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
15150
|
+
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"] }] });
|
|
15151
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXTextPropertyEditorComponent, decorators: [{
|
|
15152
|
+
type: Component,
|
|
15153
|
+
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>" }]
|
|
15154
|
+
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }]; }, propDecorators: { textBox: [{
|
|
15155
|
+
type: ViewChild,
|
|
15156
|
+
args: [AXTextBoxComponent]
|
|
15157
|
+
}] } });
|
|
15158
|
+
|
|
15159
|
+
class AXTextPropertyEditorModule {
|
|
15160
|
+
constructor() {
|
|
15161
|
+
}
|
|
15162
|
+
}
|
|
15163
|
+
AXTextPropertyEditorModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXTextPropertyEditorModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
15164
|
+
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] });
|
|
15165
|
+
AXTextPropertyEditorModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXTextPropertyEditorModule, providers: [], imports: [[CommonModule, FormsModule, AXTextBoxModule, AXValidationModule]] });
|
|
15166
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXTextPropertyEditorModule, decorators: [{
|
|
15167
|
+
type: NgModule,
|
|
15168
|
+
args: [{
|
|
15169
|
+
declarations: [AXTextPropertyEditorComponent],
|
|
15170
|
+
imports: [CommonModule, FormsModule, AXTextBoxModule, AXValidationModule],
|
|
15171
|
+
exports: [AXTextPropertyEditorComponent],
|
|
15056
15172
|
providers: []
|
|
15057
15173
|
}]
|
|
15058
15174
|
}], ctorParameters: function () { return []; } });
|
|
@@ -15100,6 +15216,61 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
15100
15216
|
}]
|
|
15101
15217
|
}], ctorParameters: function () { return []; } });
|
|
15102
15218
|
|
|
15219
|
+
class AXTimePropertyEditorComponent extends AXProperyEditorComponent {
|
|
15220
|
+
constructor(cdr) {
|
|
15221
|
+
super(cdr);
|
|
15222
|
+
this.cdr = cdr;
|
|
15223
|
+
this.showCurentTime = false;
|
|
15224
|
+
this.clearButton = false;
|
|
15225
|
+
}
|
|
15226
|
+
handleValueChange(e) {
|
|
15227
|
+
var _a;
|
|
15228
|
+
super.handleValueChange((_a = e.value) === null || _a === void 0 ? void 0 : _a.time);
|
|
15229
|
+
}
|
|
15230
|
+
ngAfterViewInit() {
|
|
15231
|
+
this.registerForValidationForm(this.time);
|
|
15232
|
+
this.onRenderCompleted.emit();
|
|
15233
|
+
}
|
|
15234
|
+
}
|
|
15235
|
+
AXTimePropertyEditorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXTimePropertyEditorComponent, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
15236
|
+
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: `
|
|
15237
|
+
<ax-time-picker [showCurentTime]="showCurentTime" [timeType]="timeType" [allowClear]="clearButton" (onValueChanged)="handleValueChange($event)">
|
|
15238
|
+
<ax-validation [rules]="validation?.rules">
|
|
15239
|
+
</ax-validation>
|
|
15240
|
+
</ax-time-picker>
|
|
15241
|
+
`, 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"] }] });
|
|
15242
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXTimePropertyEditorComponent, decorators: [{
|
|
15243
|
+
type: Component,
|
|
15244
|
+
args: [{
|
|
15245
|
+
template: `
|
|
15246
|
+
<ax-time-picker [showCurentTime]="showCurentTime" [timeType]="timeType" [allowClear]="clearButton" (onValueChanged)="handleValueChange($event)">
|
|
15247
|
+
<ax-validation [rules]="validation?.rules">
|
|
15248
|
+
</ax-validation>
|
|
15249
|
+
</ax-time-picker>
|
|
15250
|
+
`,
|
|
15251
|
+
}]
|
|
15252
|
+
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }]; }, propDecorators: { time: [{
|
|
15253
|
+
type: ViewChild,
|
|
15254
|
+
args: [AXDatePickerComponent]
|
|
15255
|
+
}] } });
|
|
15256
|
+
|
|
15257
|
+
class AXTimePropertyEditorModule {
|
|
15258
|
+
constructor() {
|
|
15259
|
+
}
|
|
15260
|
+
}
|
|
15261
|
+
AXTimePropertyEditorModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXTimePropertyEditorModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
15262
|
+
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] });
|
|
15263
|
+
AXTimePropertyEditorModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXTimePropertyEditorModule, providers: [], imports: [[CommonModule, FormsModule, AXTimePickerModule, AXValidationModule]] });
|
|
15264
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXTimePropertyEditorModule, decorators: [{
|
|
15265
|
+
type: NgModule,
|
|
15266
|
+
args: [{
|
|
15267
|
+
declarations: [AXTimePropertyEditorComponent],
|
|
15268
|
+
imports: [CommonModule, FormsModule, AXTimePickerModule, AXValidationModule],
|
|
15269
|
+
exports: [AXTimePropertyEditorComponent],
|
|
15270
|
+
providers: []
|
|
15271
|
+
}]
|
|
15272
|
+
}], ctorParameters: function () { return []; } });
|
|
15273
|
+
|
|
15103
15274
|
const WDIGET_MODULES = [
|
|
15104
15275
|
AXNumberBoxPropertyEditorModule,
|
|
15105
15276
|
AXTextPropertyEditorModule,
|
|
@@ -15112,7 +15283,9 @@ const WDIGET_MODULES = [
|
|
|
15112
15283
|
AXDatePropertyEditorModule,
|
|
15113
15284
|
AXTimePropertyEditorModule,
|
|
15114
15285
|
AXTimePropertyEditorModule,
|
|
15115
|
-
AXTextareaPropertyEditorModule
|
|
15286
|
+
AXTextareaPropertyEditorModule,
|
|
15287
|
+
AXCheckPropertyEditorModule,
|
|
15288
|
+
AXSelectionPropertyEditorModule
|
|
15116
15289
|
];
|
|
15117
15290
|
class AXProppertyEditorModule {
|
|
15118
15291
|
}
|
|
@@ -15128,10 +15301,20 @@ AXProppertyEditorModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0",
|
|
|
15128
15301
|
AXDatePropertyEditorModule,
|
|
15129
15302
|
AXTimePropertyEditorModule,
|
|
15130
15303
|
AXTimePropertyEditorModule,
|
|
15131
|
-
AXTextareaPropertyEditorModule,
|
|
15304
|
+
AXTextareaPropertyEditorModule,
|
|
15305
|
+
AXCheckPropertyEditorModule,
|
|
15306
|
+
AXSelectionPropertyEditorModule, i1$4.RouterModule], exports: [AXPropertyEditorRendererDirective] });
|
|
15132
15307
|
AXProppertyEditorModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXProppertyEditorModule, providers: [], imports: [[
|
|
15133
15308
|
WDIGET_MODULES,
|
|
15134
15309
|
RouterModule.forChild([
|
|
15310
|
+
{
|
|
15311
|
+
path: 'ax/editors/selection',
|
|
15312
|
+
component: AXSelectionListPropertyEditorComponent
|
|
15313
|
+
},
|
|
15314
|
+
{
|
|
15315
|
+
component: AXCheckBoxPropertyEditorComponent,
|
|
15316
|
+
path: 'ax/editors/check'
|
|
15317
|
+
},
|
|
15135
15318
|
{
|
|
15136
15319
|
component: AXTextPropertyEditorComponent,
|
|
15137
15320
|
path: 'ax/editors/text'
|
|
@@ -15183,6 +15366,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
15183
15366
|
imports: [
|
|
15184
15367
|
WDIGET_MODULES,
|
|
15185
15368
|
RouterModule.forChild([
|
|
15369
|
+
{
|
|
15370
|
+
path: 'ax/editors/selection',
|
|
15371
|
+
component: AXSelectionListPropertyEditorComponent
|
|
15372
|
+
},
|
|
15373
|
+
{
|
|
15374
|
+
component: AXCheckBoxPropertyEditorComponent,
|
|
15375
|
+
path: 'ax/editors/check'
|
|
15376
|
+
},
|
|
15186
15377
|
{
|
|
15187
15378
|
component: AXTextPropertyEditorComponent,
|
|
15188
15379
|
path: 'ax/editors/text'
|