@acorex/components 4.2.40 → 4.2.42
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/drawer/drawer.component.mjs +1 -2
- package/esm2020/lib/property-editor/editors/selectbox-editor/selectbox.editor.mjs +3 -3
- package/esm2020/lib/property-editor/property-editor-renderer.directive.mjs +1 -2
- package/esm2020/lib/property-editor/property-editor.class.mjs +1 -2
- package/esm2020/lib/validation/validation-form.component.mjs +5 -3
- package/fesm2015/acorex-components.mjs +6 -7
- package/fesm2015/acorex-components.mjs.map +1 -1
- package/fesm2020/acorex-components.mjs +6 -7
- package/fesm2020/acorex-components.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -5592,10 +5592,11 @@ class AXValidationFormComponent {
|
|
|
5592
5592
|
});
|
|
5593
5593
|
}
|
|
5594
5594
|
validate() {
|
|
5595
|
+
debugger;
|
|
5595
5596
|
this.widgets.push(...this.widgetsQuery.toArray().filter(c => !this.widgets.includes(c)));
|
|
5596
5597
|
//
|
|
5597
5598
|
this.widgets.forEach(w => {
|
|
5598
|
-
if (w
|
|
5599
|
+
if (w?.validation.validateOn == null) {
|
|
5599
5600
|
w.validation.validateOn = this.validateOn;
|
|
5600
5601
|
}
|
|
5601
5602
|
});
|
|
@@ -5618,7 +5619,8 @@ class AXValidationFormComponent {
|
|
|
5618
5619
|
});
|
|
5619
5620
|
}
|
|
5620
5621
|
addWidget(widget) {
|
|
5621
|
-
|
|
5622
|
+
if (widget)
|
|
5623
|
+
this.widgets.push(widget);
|
|
5622
5624
|
}
|
|
5623
5625
|
}
|
|
5624
5626
|
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 });
|
|
@@ -6483,7 +6485,6 @@ class AXDrawerComponent {
|
|
|
6483
6485
|
this.collapsed = true;
|
|
6484
6486
|
}
|
|
6485
6487
|
open() {
|
|
6486
|
-
debugger;
|
|
6487
6488
|
this.collapsed = false;
|
|
6488
6489
|
}
|
|
6489
6490
|
get __hostClass() {
|
|
@@ -10120,7 +10121,6 @@ class AXPropertyEditorRendererDirective {
|
|
|
10120
10121
|
}
|
|
10121
10122
|
createComponent() {
|
|
10122
10123
|
this.renderService.findLoadedComponentByRoute(this.property.property.editorClass).then(c => {
|
|
10123
|
-
debugger;
|
|
10124
10124
|
if (c) {
|
|
10125
10125
|
const factory = this.componentFactoryResolver.resolveComponentFactory(c.component);
|
|
10126
10126
|
const cmpRef = this.target.createComponent(factory);
|
|
@@ -10430,7 +10430,6 @@ class AXProperyEditorComponent {
|
|
|
10430
10430
|
return this._value;
|
|
10431
10431
|
}
|
|
10432
10432
|
set value(v) {
|
|
10433
|
-
console.log('value set');
|
|
10434
10433
|
if (v !== this._value) {
|
|
10435
10434
|
this._value = v;
|
|
10436
10435
|
this.valueChange.emit(v);
|
|
@@ -11864,13 +11863,13 @@ class AXSelectBoxPropertyEditorComponent extends AXProperyEditorComponent {
|
|
|
11864
11863
|
}
|
|
11865
11864
|
}
|
|
11866
11865
|
AXSelectBoxPropertyEditorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXSelectBoxPropertyEditorComponent, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
11867
|
-
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
|
|
11866
|
+
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 }], 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"] }] });
|
|
11868
11867
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXSelectBoxPropertyEditorComponent, decorators: [{
|
|
11869
11868
|
type: Component,
|
|
11870
11869
|
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" }]
|
|
11871
11870
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }]; }, propDecorators: { selectBox: [{
|
|
11872
11871
|
type: ViewChild,
|
|
11873
|
-
args: [AXSelectBoxComponent, { static:
|
|
11872
|
+
args: [AXSelectBoxComponent, { static: false }]
|
|
11874
11873
|
}] } });
|
|
11875
11874
|
|
|
11876
11875
|
class AXSelectBoxPropertyEditorModule {
|