@acorex/components 6.5.37 → 6.5.38
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/property-editor-renderer.directive.mjs +4 -1
- package/esm2020/lib/property-editor/property-editor.class.mjs +2 -1
- package/esm2020/lib/search-bar/search-bar.component.mjs +4 -1
- package/fesm2015/acorex-components.mjs +7 -0
- package/fesm2015/acorex-components.mjs.map +1 -1
- package/fesm2020/acorex-components.mjs +7 -0
- package/fesm2020/acorex-components.mjs.map +1 -1
- package/lib/property-editor/property-editor-renderer.directive.d.ts +1 -0
- package/lib/property-editor/property-editor.class.d.ts +1 -0
- package/lib/search-bar/search-bar.component.d.ts +1 -0
- package/package.json +1 -1
@@ -10191,6 +10191,9 @@ class AXPropertyEditorRendererDirective {
|
|
10191
10191
|
this.instance.value = null;
|
10192
10192
|
}
|
10193
10193
|
}
|
10194
|
+
disabeld(disableValue) {
|
10195
|
+
this.instance.disabled = disableValue;
|
10196
|
+
}
|
10194
10197
|
ngOnInit() {
|
10195
10198
|
this.createComponent();
|
10196
10199
|
}
|
@@ -10360,6 +10363,9 @@ class AXSearchBarComponent {
|
|
10360
10363
|
.map((value, key) => ({ row: key, items: value }))
|
10361
10364
|
.value();
|
10362
10365
|
}
|
10366
|
+
disableItem(name, disableValue) {
|
10367
|
+
this._editors.find((x) => x.property.property.name === name).disabeld(disableValue);
|
10368
|
+
}
|
10363
10369
|
clearItem(name) {
|
10364
10370
|
this._editors.find((x) => x.property.property.name === name).clear();
|
10365
10371
|
}
|
@@ -10593,6 +10599,7 @@ class AXProperyEditorComponent {
|
|
10593
10599
|
constructor(cdr) {
|
10594
10600
|
this.cdr = cdr;
|
10595
10601
|
this.readonly = false;
|
10602
|
+
this.disabled = false;
|
10596
10603
|
this._initiated = false;
|
10597
10604
|
this._valueBound = false;
|
10598
10605
|
this.validatableComponentRegistered = new Subject();
|