@acorex/components 4.2.41 → 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/property-editor/editors/selectbox-editor/selectbox.editor.mjs +3 -3
- 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 -5
- package/fesm2015/acorex-components.mjs.map +1 -1
- package/fesm2020/acorex-components.mjs +6 -5
- 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 });
|
|
@@ -10428,7 +10430,6 @@ class AXProperyEditorComponent {
|
|
|
10428
10430
|
return this._value;
|
|
10429
10431
|
}
|
|
10430
10432
|
set value(v) {
|
|
10431
|
-
console.log('value set');
|
|
10432
10433
|
if (v !== this._value) {
|
|
10433
10434
|
this._value = v;
|
|
10434
10435
|
this.valueChange.emit(v);
|
|
@@ -11862,13 +11863,13 @@ class AXSelectBoxPropertyEditorComponent extends AXProperyEditorComponent {
|
|
|
11862
11863
|
}
|
|
11863
11864
|
}
|
|
11864
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 });
|
|
11865
|
-
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"] }] });
|
|
11866
11867
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXSelectBoxPropertyEditorComponent, decorators: [{
|
|
11867
11868
|
type: Component,
|
|
11868
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" }]
|
|
11869
11870
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }]; }, propDecorators: { selectBox: [{
|
|
11870
11871
|
type: ViewChild,
|
|
11871
|
-
args: [AXSelectBoxComponent, { static:
|
|
11872
|
+
args: [AXSelectBoxComponent, { static: false }]
|
|
11872
11873
|
}] } });
|
|
11873
11874
|
|
|
11874
11875
|
class AXSelectBoxPropertyEditorModule {
|