@acorex/platform 20.3.0-next.16 → 20.3.0-next.18
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/core/index.d.ts +1 -0
- package/fesm2022/acorex-platform-layout-components.mjs +7 -4
- package/fesm2022/acorex-platform-layout-components.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-entity.mjs +143 -299
- package/fesm2022/acorex-platform-layout-entity.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-widgets.mjs +1 -1
- package/fesm2022/acorex-platform-layout-widgets.mjs.map +1 -1
- package/layout/entity/index.d.ts +52 -76
- package/package.json +14 -14
package/layout/entity/index.d.ts
CHANGED
|
@@ -19,9 +19,9 @@ import { IActionBuilder, IFieldBuilder, AXPDialogRef, AXPWidgetPropertiesChanged
|
|
|
19
19
|
import { AXPListWidgetComponentOptions } from '@acorex/platform/layout/widgets';
|
|
20
20
|
import * as _ngrx_signals from '@ngrx/signals';
|
|
21
21
|
import * as _acorex_platform_themes_shared from '@acorex/platform/themes/shared';
|
|
22
|
-
import { AXTextBoxComponent } from '@acorex/components/text-box';
|
|
23
22
|
import { AXFormatService } from '@acorex/core/format';
|
|
24
23
|
import { AXTagBoxComponent } from '@acorex/components/tag-box';
|
|
24
|
+
import { AXTextBoxComponent } from '@acorex/components/text-box';
|
|
25
25
|
|
|
26
26
|
interface AXPOpenEntityDetailsCommandInput {
|
|
27
27
|
entity: string;
|
|
@@ -314,6 +314,7 @@ declare class AXPEntityMasterListViewModel {
|
|
|
314
314
|
private readonly widgetResolver;
|
|
315
315
|
private readonly expressionEvaluator;
|
|
316
316
|
private readonly commandService;
|
|
317
|
+
private readonly eventService;
|
|
317
318
|
private readonly filterOperatorMiddleware;
|
|
318
319
|
private settingEntityKey;
|
|
319
320
|
private readonly destroyed;
|
|
@@ -1289,6 +1290,56 @@ declare class AXPEntityReferenceWidgetDesignerComponent extends AXPLayoutBaseWid
|
|
|
1289
1290
|
|
|
1290
1291
|
declare const AXPEntityReferenceWidget: AXPWidgetConfig;
|
|
1291
1292
|
|
|
1293
|
+
declare class AXPLookupFilterWidgetEditComponent extends AXPValueWidgetComponent<any> {
|
|
1294
|
+
#private;
|
|
1295
|
+
protected editorPath: string;
|
|
1296
|
+
protected entity: _angular_core.Signal<string>;
|
|
1297
|
+
protected textField: _angular_core.Signal<string>;
|
|
1298
|
+
protected valueField: _angular_core.Signal<string>;
|
|
1299
|
+
protected customFilter: _angular_core.Signal<AXDataSourceFilterOption>;
|
|
1300
|
+
protected multiple: _angular_core.Signal<boolean>;
|
|
1301
|
+
protected lookupNode: _angular_core.WritableSignal<AXPWidgetNode>;
|
|
1302
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXPLookupFilterWidgetEditComponent, never>;
|
|
1303
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXPLookupFilterWidgetEditComponent, "ng-component", never, {}, {}, never, never, true, never>;
|
|
1304
|
+
}
|
|
1305
|
+
|
|
1306
|
+
declare const AXPLookupFilterWidget: AXPWidgetConfig;
|
|
1307
|
+
declare module '@acorex/platform/layout/widget-core' {
|
|
1308
|
+
interface AXPWidgetTypesMap {
|
|
1309
|
+
lookupFilter: 'lookup-filter';
|
|
1310
|
+
}
|
|
1311
|
+
}
|
|
1312
|
+
|
|
1313
|
+
declare class AXPLookupWidgetViewComponent extends AXPValueWidgetComponent<any> {
|
|
1314
|
+
protected readonly formatService: AXFormatService;
|
|
1315
|
+
protected readonly entityResolver: AXPEntityResolver;
|
|
1316
|
+
protected entity: _angular_core.Signal<string>;
|
|
1317
|
+
protected multiple: _angular_core.Signal<boolean>;
|
|
1318
|
+
protected valueField: _angular_core.Signal<string>;
|
|
1319
|
+
protected textField: _angular_core.Signal<string>;
|
|
1320
|
+
protected badgeClass: _angular_core.Signal<string>;
|
|
1321
|
+
protected displayField: _angular_core.Signal<string>;
|
|
1322
|
+
protected loading: _angular_core.WritableSignal<boolean>;
|
|
1323
|
+
private entityDef;
|
|
1324
|
+
protected displayItems: _angular_core.WritableSignal<any[]>;
|
|
1325
|
+
private efEntity;
|
|
1326
|
+
private efDisplay;
|
|
1327
|
+
private extractItem;
|
|
1328
|
+
private get __class();
|
|
1329
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXPLookupWidgetViewComponent, never>;
|
|
1330
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXPLookupWidgetViewComponent, "axp-lookup-widget-view", never, {}, {}, never, never, true, never>;
|
|
1331
|
+
}
|
|
1332
|
+
|
|
1333
|
+
type AXPLookupWidgetLookType = 'select' | 'lookup';
|
|
1334
|
+
interface AXPLookupWidgetOptions {
|
|
1335
|
+
disabled?: boolean | AXPExpression;
|
|
1336
|
+
readonly?: boolean | AXPExpression;
|
|
1337
|
+
placeholder?: string;
|
|
1338
|
+
expose?: string | string[];
|
|
1339
|
+
look?: AXPLookupWidgetLookType;
|
|
1340
|
+
allowClear?: boolean;
|
|
1341
|
+
}
|
|
1342
|
+
|
|
1292
1343
|
interface AXPEntityDataSelectorOptions {
|
|
1293
1344
|
entity: AXPEntity;
|
|
1294
1345
|
title: string;
|
|
@@ -1352,81 +1403,6 @@ declare class AXPEntityDataSelectorService {
|
|
|
1352
1403
|
static ɵprov: _angular_core.ɵɵInjectableDeclaration<AXPEntityDataSelectorService>;
|
|
1353
1404
|
}
|
|
1354
1405
|
|
|
1355
|
-
declare class AXPLookupFilterWidgetEditComponent extends AXPValueWidgetComponent<any> {
|
|
1356
|
-
protected readonly injector: Injector;
|
|
1357
|
-
protected readonly entityResolver: AXPEntityResolver;
|
|
1358
|
-
protected readonly formatService: AXFormatService;
|
|
1359
|
-
protected readonly popupService: AXPopupService;
|
|
1360
|
-
protected readonly entityDataSelectorService: AXPEntityDataSelectorService;
|
|
1361
|
-
private readonly destroyRef;
|
|
1362
|
-
private readonly translateService;
|
|
1363
|
-
protected expose: _angular_core.Signal<string | any[] | undefined>;
|
|
1364
|
-
protected entity: _angular_core.Signal<string>;
|
|
1365
|
-
protected textField: _angular_core.Signal<string>;
|
|
1366
|
-
protected conditions?: AXPQueryFilter[];
|
|
1367
|
-
protected filter: AXDataSourceFilterOption | null;
|
|
1368
|
-
private entityDef;
|
|
1369
|
-
protected searchTerm: _angular_core.WritableSignal<string | null>;
|
|
1370
|
-
protected displayText: _angular_core.WritableSignal<string>;
|
|
1371
|
-
protected selectedItem: _angular_core.WritableSignal<any>;
|
|
1372
|
-
textbox: AXTextBoxComponent;
|
|
1373
|
-
protected isLoading: _angular_core.WritableSignal<boolean>;
|
|
1374
|
-
protected isOpen: _angular_core.WritableSignal<boolean>;
|
|
1375
|
-
protected placeholder: _angular_core.Signal<string>;
|
|
1376
|
-
private efDisplay;
|
|
1377
|
-
private efEntity;
|
|
1378
|
-
ngOnInit(): void;
|
|
1379
|
-
private findByValue;
|
|
1380
|
-
protected handleOnClick(e: AXClickEvent): void;
|
|
1381
|
-
private showSelector;
|
|
1382
|
-
protected handleValueChange(e: AXValueChangedEvent): void;
|
|
1383
|
-
protected handleOnBlur(e: AXFocusEvent): void;
|
|
1384
|
-
protected handleKeyDown(e: AXHtmlEvent): Promise<void>;
|
|
1385
|
-
private setItems;
|
|
1386
|
-
protected handleClearClick(): void;
|
|
1387
|
-
private searchByValue;
|
|
1388
|
-
clear(): void;
|
|
1389
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXPLookupFilterWidgetEditComponent, never>;
|
|
1390
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXPLookupFilterWidgetEditComponent, "ng-component", never, {}, {}, never, never, true, never>;
|
|
1391
|
-
}
|
|
1392
|
-
|
|
1393
|
-
declare const AXPLookupFilterWidget: AXPWidgetConfig;
|
|
1394
|
-
declare module '@acorex/platform/layout/widget-core' {
|
|
1395
|
-
interface AXPWidgetTypesMap {
|
|
1396
|
-
lookupFilter: 'lookup-filter';
|
|
1397
|
-
}
|
|
1398
|
-
}
|
|
1399
|
-
|
|
1400
|
-
declare class AXPLookupWidgetViewComponent extends AXPValueWidgetComponent<any> {
|
|
1401
|
-
protected readonly formatService: AXFormatService;
|
|
1402
|
-
protected readonly entityResolver: AXPEntityResolver;
|
|
1403
|
-
protected entity: _angular_core.Signal<string>;
|
|
1404
|
-
protected multiple: _angular_core.Signal<boolean>;
|
|
1405
|
-
protected valueField: _angular_core.Signal<string>;
|
|
1406
|
-
protected textField: _angular_core.Signal<string>;
|
|
1407
|
-
protected badgeClass: _angular_core.Signal<string>;
|
|
1408
|
-
protected displayField: _angular_core.Signal<string>;
|
|
1409
|
-
protected loading: _angular_core.WritableSignal<boolean>;
|
|
1410
|
-
private entityDef;
|
|
1411
|
-
protected displayItems: _angular_core.WritableSignal<any[]>;
|
|
1412
|
-
private efEntity;
|
|
1413
|
-
private efDisplay;
|
|
1414
|
-
private extractItem;
|
|
1415
|
-
private get __class();
|
|
1416
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXPLookupWidgetViewComponent, never>;
|
|
1417
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXPLookupWidgetViewComponent, "axp-lookup-widget-view", never, {}, {}, never, never, true, never>;
|
|
1418
|
-
}
|
|
1419
|
-
|
|
1420
|
-
type AXPLookupWidgetLookType = 'select' | 'lookup';
|
|
1421
|
-
interface AXPLookupWidgetOptions {
|
|
1422
|
-
disabled?: boolean | AXPExpression;
|
|
1423
|
-
readonly?: boolean | AXPExpression;
|
|
1424
|
-
placeholder?: string;
|
|
1425
|
-
expose?: string | string[];
|
|
1426
|
-
look?: AXPLookupWidgetLookType;
|
|
1427
|
-
allowClear?: boolean;
|
|
1428
|
-
}
|
|
1429
|
-
|
|
1430
1406
|
declare class AXPLookupWidgetEditComponent extends AXPValueWidgetComponent<any> {
|
|
1431
1407
|
#private;
|
|
1432
1408
|
protected readonly injector: Injector;
|
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@acorex/platform",
|
|
3
|
-
"version": "20.3.0-next.
|
|
3
|
+
"version": "20.3.0-next.18",
|
|
4
4
|
"peerDependencies": {
|
|
5
|
-
"@acorex/cdk": "^19.0.0 || ^20.0.0 || ^
|
|
6
|
-
"@acorex/core": "^19.0.0 || ^20.0.0 || ^
|
|
7
|
-
"@acorex/charts": "^19.0.0 || ^20.0.0 || ^
|
|
8
|
-
"@acorex/styles": "^19.0.0 || ^20.0.0 || ^
|
|
9
|
-
"@acorex/components": "^19.0.0 || ^20.0.0 || ^
|
|
5
|
+
"@acorex/cdk": "^19.0.0 || ^20.0.0 || ^21.0.0-next.0",
|
|
6
|
+
"@acorex/core": "^19.0.0 || ^20.0.0 || ^21.0.0-next.0",
|
|
7
|
+
"@acorex/charts": "^19.0.0 || ^20.0.0 || ^21.0.0-next.0",
|
|
8
|
+
"@acorex/styles": "^19.0.0 || ^20.0.0 || ^21.0.0-next.0",
|
|
9
|
+
"@acorex/components": "^19.0.0 || ^20.0.0 || ^21.0.0-next.0",
|
|
10
10
|
"@angular/animations": "^20.0.0",
|
|
11
11
|
"@ngrx/signals": "^20.0.0",
|
|
12
12
|
"dom-to-image": "^2.6.0",
|
|
@@ -26,18 +26,22 @@
|
|
|
26
26
|
"types": "./index.d.ts",
|
|
27
27
|
"default": "./fesm2022/acorex-platform.mjs"
|
|
28
28
|
},
|
|
29
|
+
"./auth": {
|
|
30
|
+
"types": "./auth/index.d.ts",
|
|
31
|
+
"default": "./fesm2022/acorex-platform-auth.mjs"
|
|
32
|
+
},
|
|
29
33
|
"./common": {
|
|
30
34
|
"types": "./common/index.d.ts",
|
|
31
35
|
"default": "./fesm2022/acorex-platform-common.mjs"
|
|
32
36
|
},
|
|
33
|
-
"./core": {
|
|
34
|
-
"types": "./core/index.d.ts",
|
|
35
|
-
"default": "./fesm2022/acorex-platform-core.mjs"
|
|
36
|
-
},
|
|
37
37
|
"./domain": {
|
|
38
38
|
"types": "./domain/index.d.ts",
|
|
39
39
|
"default": "./fesm2022/acorex-platform-domain.mjs"
|
|
40
40
|
},
|
|
41
|
+
"./core": {
|
|
42
|
+
"types": "./core/index.d.ts",
|
|
43
|
+
"default": "./fesm2022/acorex-platform-core.mjs"
|
|
44
|
+
},
|
|
41
45
|
"./native": {
|
|
42
46
|
"types": "./native/index.d.ts",
|
|
43
47
|
"default": "./fesm2022/acorex-platform-native.mjs"
|
|
@@ -50,10 +54,6 @@
|
|
|
50
54
|
"types": "./workflow/index.d.ts",
|
|
51
55
|
"default": "./fesm2022/acorex-platform-workflow.mjs"
|
|
52
56
|
},
|
|
53
|
-
"./auth": {
|
|
54
|
-
"types": "./auth/index.d.ts",
|
|
55
|
-
"default": "./fesm2022/acorex-platform-auth.mjs"
|
|
56
|
-
},
|
|
57
57
|
"./layout/builder": {
|
|
58
58
|
"types": "./layout/builder/index.d.ts",
|
|
59
59
|
"default": "./fesm2022/acorex-platform-layout-builder.mjs"
|