@acorex/platform 19.3.0-next.4 → 19.3.0-next.5
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.
|
@@ -2218,6 +2218,7 @@ class AXPLookupWidgetEditComponent extends AXPValueWidgetComponent {
|
|
|
2218
2218
|
this.translateService = inject(AXTranslationService);
|
|
2219
2219
|
this.expose = computed(() => this.options()['expose']);
|
|
2220
2220
|
this.entity = computed(() => this.options()['entity']);
|
|
2221
|
+
this.disabled = computed(() => this.options()['disabled']);
|
|
2221
2222
|
this.customFilter = computed(() => this.options()['filter']);
|
|
2222
2223
|
this.multiple = computed(() => (this.options()['multiple'] ?? false));
|
|
2223
2224
|
this.textField = computed(() => {
|
|
@@ -2375,10 +2376,11 @@ class AXPLookupWidgetEditComponent extends AXPValueWidgetComponent {
|
|
|
2375
2376
|
[ngModel]="selectedItems()"
|
|
2376
2377
|
[textField]="textField()"
|
|
2377
2378
|
[valueField]="valueField()"
|
|
2378
|
-
(onValueChanged)="handleValueChange($event)"
|
|
2379
|
+
(onValueChanged)="handleValueChange($event)"
|
|
2379
2380
|
[placeholder]="placeholder() | translate | async"
|
|
2380
2381
|
[addOnEnter]="false"
|
|
2381
2382
|
[addOnComma]="false"
|
|
2383
|
+
[disabled]="disabled()"
|
|
2382
2384
|
(onKeyUp)="handleKeyUp($event)"
|
|
2383
2385
|
(onBlur)="handleOnBlur($event)"
|
|
2384
2386
|
>
|
|
@@ -2393,7 +2395,7 @@ class AXPLookupWidgetEditComponent extends AXPValueWidgetComponent {
|
|
|
2393
2395
|
}
|
|
2394
2396
|
|
|
2395
2397
|
<ax-suffix>
|
|
2396
|
-
<ax-button color="ghost" look="blank" [disabled]="isLoading()" (onClick)="handleOnClick($event)">
|
|
2398
|
+
<ax-button color="ghost" look="blank" [disabled]="isLoading() || disabled()" (onClick)="handleOnClick($event)">
|
|
2397
2399
|
@if(isLoading()) {
|
|
2398
2400
|
<ax-loading></ax-loading>
|
|
2399
2401
|
} @else {
|
|
@@ -2415,10 +2417,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImpor
|
|
|
2415
2417
|
[ngModel]="selectedItems()"
|
|
2416
2418
|
[textField]="textField()"
|
|
2417
2419
|
[valueField]="valueField()"
|
|
2418
|
-
(onValueChanged)="handleValueChange($event)"
|
|
2420
|
+
(onValueChanged)="handleValueChange($event)"
|
|
2419
2421
|
[placeholder]="placeholder() | translate | async"
|
|
2420
2422
|
[addOnEnter]="false"
|
|
2421
2423
|
[addOnComma]="false"
|
|
2424
|
+
[disabled]="disabled()"
|
|
2422
2425
|
(onKeyUp)="handleKeyUp($event)"
|
|
2423
2426
|
(onBlur)="handleOnBlur($event)"
|
|
2424
2427
|
>
|
|
@@ -2433,7 +2436,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImpor
|
|
|
2433
2436
|
}
|
|
2434
2437
|
|
|
2435
2438
|
<ax-suffix>
|
|
2436
|
-
<ax-button color="ghost" look="blank" [disabled]="isLoading()" (onClick)="handleOnClick($event)">
|
|
2439
|
+
<ax-button color="ghost" look="blank" [disabled]="isLoading() || disabled()" (onClick)="handleOnClick($event)">
|
|
2437
2440
|
@if(isLoading()) {
|
|
2438
2441
|
<ax-loading></ax-loading>
|
|
2439
2442
|
} @else {
|