@acorex/platform 20.2.4-next.1 → 20.2.4-next.3
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/common/index.d.ts +9 -1
- package/fesm2022/acorex-platform-common.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-builder.mjs +1 -0
- package/fesm2022/acorex-platform-layout-builder.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-components.mjs +26 -36
- package/fesm2022/acorex-platform-layout-components.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-entity.mjs +509 -230
- package/fesm2022/acorex-platform-layout-entity.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-views.mjs +106 -24
- package/fesm2022/acorex-platform-layout-views.mjs.map +1 -1
- package/fesm2022/{acorex-platform-themes-default-entity-master-list-view.component-DXGLsVis.mjs → acorex-platform-themes-default-entity-master-list-view.component-e3Lxk5ZT.mjs} +3 -3
- package/fesm2022/acorex-platform-themes-default-entity-master-list-view.component-e3Lxk5ZT.mjs.map +1 -0
- package/fesm2022/acorex-platform-themes-default.mjs +3 -3
- package/fesm2022/acorex-platform-themes-default.mjs.map +1 -1
- package/fesm2022/{acorex-platform-widgets-file-list-popup.component-B601gPsW.mjs → acorex-platform-widgets-file-list-popup.component-BafU5Lfl.mjs} +4 -2
- package/fesm2022/acorex-platform-widgets-file-list-popup.component-BafU5Lfl.mjs.map +1 -0
- package/fesm2022/acorex-platform-widgets.mjs +84 -14
- package/fesm2022/acorex-platform-widgets.mjs.map +1 -1
- package/layout/builder/index.d.ts +1 -0
- package/layout/components/index.d.ts +1 -5
- package/layout/entity/index.d.ts +2 -2
- package/layout/views/index.d.ts +34 -0
- package/package.json +5 -5
- package/widgets/index.d.ts +8 -0
- package/fesm2022/acorex-platform-themes-default-entity-master-list-view.component-DXGLsVis.mjs.map +0 -1
- package/fesm2022/acorex-platform-widgets-file-list-popup.component-B601gPsW.mjs.map +0 -1
|
@@ -436,10 +436,6 @@ declare class AXPDynamicFormComponent implements OnInit {
|
|
|
436
436
|
* Computed layout configuration
|
|
437
437
|
*/
|
|
438
438
|
protected computedLayout: _angular_core.Signal<AXPDynamicFormLayoutConfig>;
|
|
439
|
-
/**
|
|
440
|
-
* Computed form definition
|
|
441
|
-
*/
|
|
442
|
-
protected computedFormDefinition: _angular_core.Signal<AXPDynamicFormDefinition>;
|
|
443
439
|
/**
|
|
444
440
|
* Host classes based on layout style
|
|
445
441
|
*/
|
|
@@ -581,7 +577,7 @@ declare class AXPExtraPropertiesValuesComponent {
|
|
|
581
577
|
values: _angular_core.InputSignal<Record<string, any>>;
|
|
582
578
|
mode: _angular_core.InputSignal<"edit" | "view">;
|
|
583
579
|
valuesChange: _angular_core.OutputEmitterRef<Record<string, any>>;
|
|
584
|
-
|
|
580
|
+
isRequired: (item: AXPExtraPropertySchemaItem) => any;
|
|
585
581
|
protected internalContext: _angular_core.WritableSignal<Record<string, any>>;
|
|
586
582
|
private nodeCache;
|
|
587
583
|
private lastTypeByKey;
|
package/layout/entity/index.d.ts
CHANGED
|
@@ -41,8 +41,8 @@ declare class AXPEntityCommandTriggerViewModel {
|
|
|
41
41
|
constructor(entity: AXPEntity, action: AXPEntityAction);
|
|
42
42
|
}
|
|
43
43
|
declare class AXPEntityListViewColumnViewModel {
|
|
44
|
-
|
|
45
|
-
|
|
44
|
+
readonly property: AXPEntityProperty;
|
|
45
|
+
readonly column: AXPEntityTableColumn;
|
|
46
46
|
constructor(property: AXPEntityProperty, column: AXPEntityTableColumn);
|
|
47
47
|
name: string;
|
|
48
48
|
title: string;
|
package/layout/views/index.d.ts
CHANGED
|
@@ -433,6 +433,7 @@ interface AXPLayoutDetailsViewPage {
|
|
|
433
433
|
content?: AXPWidgetNode[];
|
|
434
434
|
tabs?: AXPLayoutDetailsViewTabItem[];
|
|
435
435
|
actions?: AXPLayoutDetailsViewAction[];
|
|
436
|
+
isPrimary?: boolean;
|
|
436
437
|
settings?: {
|
|
437
438
|
commands?: {
|
|
438
439
|
accept?: {
|
|
@@ -454,6 +455,7 @@ interface AXPLayoutDetailsViewPage {
|
|
|
454
455
|
}
|
|
455
456
|
interface AXPLayoutDetailsViewAdapter {
|
|
456
457
|
title?: string;
|
|
458
|
+
label?: string;
|
|
457
459
|
description?: string;
|
|
458
460
|
icon?: string;
|
|
459
461
|
actions?: AXPLayoutDetailsViewAction[];
|
|
@@ -473,6 +475,10 @@ declare const AXPLayoutDetailsViewViewModel: _angular_core.Type<{
|
|
|
473
475
|
currentPage: _angular_core.Signal<AXPLayoutDetailsViewPage | null>;
|
|
474
476
|
currentTab: _angular_core.Signal<AXPLayoutDetailsViewTabItem | null>;
|
|
475
477
|
pageSelectedRows: _angular_core.Signal<any[]>;
|
|
478
|
+
renderedTabsCache: _angular_core.Signal<Record<string, {
|
|
479
|
+
tabId: string;
|
|
480
|
+
tab: AXPLayoutDetailsViewTabItem;
|
|
481
|
+
}[]>>;
|
|
476
482
|
icon: _angular_core.Signal<string | null>;
|
|
477
483
|
content: _angular_core.Signal<_acorex_platform_layout_builder.AXPWidgetNode[]>;
|
|
478
484
|
showPages: _angular_core.Signal<boolean>;
|
|
@@ -483,6 +489,10 @@ declare const AXPLayoutDetailsViewViewModel: _angular_core.Type<{
|
|
|
483
489
|
changesCount: _angular_core.Signal<number>;
|
|
484
490
|
isLoaded: _angular_core.Signal<boolean>;
|
|
485
491
|
currentPageSelectedRows: _angular_core.Signal<any[]>;
|
|
492
|
+
currentPageRenderedTabs: _angular_core.Signal<{
|
|
493
|
+
tabId: string;
|
|
494
|
+
tab: AXPLayoutDetailsViewTabItem;
|
|
495
|
+
}[]>;
|
|
486
496
|
loadAdapter: (adapter: AXPLayoutDetailsViewAdapter) => Promise<void>;
|
|
487
497
|
loadPage: (pageId?: string) => Promise<void>;
|
|
488
498
|
load: (adapter: AXPLayoutDetailsViewAdapter) => Promise<void>;
|
|
@@ -497,7 +507,10 @@ declare const AXPLayoutDetailsViewViewModel: _angular_core.Type<{
|
|
|
497
507
|
setCurrentPage: (page: AXPLayoutDetailsViewPage | null) => void;
|
|
498
508
|
setCurrentTab: (tab: AXPLayoutDetailsViewTabItem) => void;
|
|
499
509
|
getCurrentTabContent: () => _acorex_platform_layout_builder.AXPWidgetNode[];
|
|
510
|
+
getRenderedTabContent: (tabId: string) => _acorex_platform_layout_builder.AXPWidgetNode[];
|
|
511
|
+
clearPageTabCache: (pageId: string) => void;
|
|
500
512
|
title: () => string | null;
|
|
513
|
+
backButtonTitle: () => string | null;
|
|
501
514
|
description: () => string | null;
|
|
502
515
|
primaryActions: () => Promise<any>;
|
|
503
516
|
secondaryActions: () => Promise<any>;
|
|
@@ -509,6 +522,7 @@ declare const AXPLayoutDetailsViewViewModel: _angular_core.Type<{
|
|
|
509
522
|
}[]>;
|
|
510
523
|
discard: () => Promise<void>;
|
|
511
524
|
save: (command: AXPExecuteCommand, form: AXFormComponent) => Promise<void>;
|
|
525
|
+
goToListPage: () => void;
|
|
512
526
|
} & _ngrx_signals.StateSource<{
|
|
513
527
|
adapter: AXPLayoutDetailsViewAdapter | null;
|
|
514
528
|
rootContext: Record<string, any>;
|
|
@@ -519,6 +533,10 @@ declare const AXPLayoutDetailsViewViewModel: _angular_core.Type<{
|
|
|
519
533
|
currentPage: AXPLayoutDetailsViewPage | null;
|
|
520
534
|
currentTab: AXPLayoutDetailsViewTabItem | null;
|
|
521
535
|
pageSelectedRows: any[];
|
|
536
|
+
renderedTabsCache: Record<string, Array<{
|
|
537
|
+
tabId: string;
|
|
538
|
+
tab: AXPLayoutDetailsViewTabItem;
|
|
539
|
+
}>>;
|
|
522
540
|
}>>;
|
|
523
541
|
|
|
524
542
|
declare class AXPLayoutDetailsViewComponent extends AXPPageLayoutBaseComponent implements OnInit, OnDestroy {
|
|
@@ -534,6 +552,10 @@ declare class AXPLayoutDetailsViewComponent extends AXPPageLayoutBaseComponent i
|
|
|
534
552
|
currentPage: _angular_core.Signal<AXPLayoutDetailsViewPage | null>;
|
|
535
553
|
currentTab: _angular_core.Signal<_acorex_platform_layout_views.AXPLayoutDetailsViewTabItem | null>;
|
|
536
554
|
pageSelectedRows: _angular_core.Signal<any[]>;
|
|
555
|
+
renderedTabsCache: _angular_core.Signal<Record<string, {
|
|
556
|
+
tabId: string;
|
|
557
|
+
tab: _acorex_platform_layout_views.AXPLayoutDetailsViewTabItem;
|
|
558
|
+
}[]>>;
|
|
537
559
|
icon: _angular_core.Signal<string | null>;
|
|
538
560
|
content: _angular_core.Signal<_acorex_platform_layout_builder.AXPWidgetNode[]>;
|
|
539
561
|
showPages: _angular_core.Signal<boolean>;
|
|
@@ -544,6 +566,10 @@ declare class AXPLayoutDetailsViewComponent extends AXPPageLayoutBaseComponent i
|
|
|
544
566
|
changesCount: _angular_core.Signal<number>;
|
|
545
567
|
isLoaded: _angular_core.Signal<boolean>;
|
|
546
568
|
currentPageSelectedRows: _angular_core.Signal<any[]>;
|
|
569
|
+
currentPageRenderedTabs: _angular_core.Signal<{
|
|
570
|
+
tabId: string;
|
|
571
|
+
tab: _acorex_platform_layout_views.AXPLayoutDetailsViewTabItem;
|
|
572
|
+
}[]>;
|
|
547
573
|
loadAdapter: (adapter: AXPLayoutDetailsViewAdapter) => Promise<void>;
|
|
548
574
|
loadPage: (pageId?: string) => Promise<void>;
|
|
549
575
|
load: (adapter: AXPLayoutDetailsViewAdapter) => Promise<void>;
|
|
@@ -558,7 +584,10 @@ declare class AXPLayoutDetailsViewComponent extends AXPPageLayoutBaseComponent i
|
|
|
558
584
|
setCurrentPage: (page: AXPLayoutDetailsViewPage | null) => void;
|
|
559
585
|
setCurrentTab: (tab: _acorex_platform_layout_views.AXPLayoutDetailsViewTabItem) => void;
|
|
560
586
|
getCurrentTabContent: () => _acorex_platform_layout_builder.AXPWidgetNode[];
|
|
587
|
+
getRenderedTabContent: (tabId: string) => _acorex_platform_layout_builder.AXPWidgetNode[];
|
|
588
|
+
clearPageTabCache: (pageId: string) => void;
|
|
561
589
|
title: () => string | null;
|
|
590
|
+
backButtonTitle: () => string | null;
|
|
562
591
|
description: () => string | null;
|
|
563
592
|
primaryActions: () => Promise<any>;
|
|
564
593
|
secondaryActions: () => Promise<any>;
|
|
@@ -570,6 +599,7 @@ declare class AXPLayoutDetailsViewComponent extends AXPPageLayoutBaseComponent i
|
|
|
570
599
|
}[]>;
|
|
571
600
|
discard: () => Promise<void>;
|
|
572
601
|
save: (command: AXPExecuteCommand, form: AXFormComponent) => Promise<void>;
|
|
602
|
+
goToListPage: () => void;
|
|
573
603
|
} & _ngrx_signals.StateSource<{
|
|
574
604
|
adapter: AXPLayoutDetailsViewAdapter | null;
|
|
575
605
|
rootContext: Record<string, any>;
|
|
@@ -580,6 +610,10 @@ declare class AXPLayoutDetailsViewComponent extends AXPPageLayoutBaseComponent i
|
|
|
580
610
|
currentPage: AXPLayoutDetailsViewPage | null;
|
|
581
611
|
currentTab: _acorex_platform_layout_views.AXPLayoutDetailsViewTabItem | null;
|
|
582
612
|
pageSelectedRows: any[];
|
|
613
|
+
renderedTabsCache: Record<string, Array<{
|
|
614
|
+
tabId: string;
|
|
615
|
+
tab: _acorex_platform_layout_views.AXPLayoutDetailsViewTabItem;
|
|
616
|
+
}>>;
|
|
583
617
|
}>;
|
|
584
618
|
private onSelectionChangeSubscription?;
|
|
585
619
|
protected form: _angular_core.Signal<AXFormComponent | undefined>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@acorex/platform",
|
|
3
|
-
"version": "20.2.4-next.
|
|
3
|
+
"version": "20.2.4-next.3",
|
|
4
4
|
"peerDependencies": {
|
|
5
5
|
"@angular/common": ">=19.0.0",
|
|
6
6
|
"@angular/core": ">=19.0.0",
|
|
@@ -56,10 +56,6 @@
|
|
|
56
56
|
"types": "./domain/index.d.ts",
|
|
57
57
|
"default": "./fesm2022/acorex-platform-domain.mjs"
|
|
58
58
|
},
|
|
59
|
-
"./native": {
|
|
60
|
-
"types": "./native/index.d.ts",
|
|
61
|
-
"default": "./fesm2022/acorex-platform-native.mjs"
|
|
62
|
-
},
|
|
63
59
|
"./runtime": {
|
|
64
60
|
"types": "./runtime/index.d.ts",
|
|
65
61
|
"default": "./fesm2022/acorex-platform-runtime.mjs"
|
|
@@ -72,6 +68,10 @@
|
|
|
72
68
|
"types": "./workflow/index.d.ts",
|
|
73
69
|
"default": "./fesm2022/acorex-platform-workflow.mjs"
|
|
74
70
|
},
|
|
71
|
+
"./native": {
|
|
72
|
+
"types": "./native/index.d.ts",
|
|
73
|
+
"default": "./fesm2022/acorex-platform-native.mjs"
|
|
74
|
+
},
|
|
75
75
|
"./layout/builder": {
|
|
76
76
|
"types": "./layout/builder/index.d.ts",
|
|
77
77
|
"default": "./fesm2022/acorex-platform-layout-builder.mjs"
|
package/widgets/index.d.ts
CHANGED
|
@@ -9,6 +9,7 @@ import { AXPClipBoardService, AXPLanguage } from '@acorex/platform/common';
|
|
|
9
9
|
import { AXValidationService } from '@acorex/core/validation';
|
|
10
10
|
import { AXTranslationService } from '@acorex/core/translation';
|
|
11
11
|
import { AXNumberFormatterOptions } from '@acorex/core/format';
|
|
12
|
+
import { AXSelectionListLook } from '@acorex/components/selection-list';
|
|
12
13
|
import { AXFileService } from '@acorex/core/file';
|
|
13
14
|
import { AXMediaViewerData } from '@acorex/components/media-viewer';
|
|
14
15
|
import { AXBasePageComponent } from '@acorex/components/page';
|
|
@@ -841,6 +842,9 @@ declare class AXPSelectionListWidgetEditComponent extends AXPDataListWidgetCompo
|
|
|
841
842
|
protected direction: _angular_core.Signal<AXDirection>;
|
|
842
843
|
protected disabled: _angular_core.Signal<boolean>;
|
|
843
844
|
protected readonly: _angular_core.Signal<boolean>;
|
|
845
|
+
protected look: _angular_core.Signal<AXSelectionListLook>;
|
|
846
|
+
protected showControl: _angular_core.Signal<boolean>;
|
|
847
|
+
protected imageMode: _angular_core.Signal<boolean>;
|
|
844
848
|
protected displayItems: _angular_core.WritableSignal<any[]>;
|
|
845
849
|
private ef;
|
|
846
850
|
protected handleValueChange(e: AXValueChangedEvent): void;
|
|
@@ -1120,7 +1124,10 @@ declare class AXPFileUploaderWidgetEditComponent extends AXPValueWidgetComponent
|
|
|
1120
1124
|
protected readonly fileService: AXFileService;
|
|
1121
1125
|
protected multiple: _angular_core.Signal<boolean>;
|
|
1122
1126
|
protected accept: _angular_core.Signal<string>;
|
|
1127
|
+
protected plugins: _angular_core.Signal<string[]>;
|
|
1123
1128
|
protected fileEditable: _angular_core.Signal<boolean>;
|
|
1129
|
+
protected readonly: _angular_core.Signal<boolean>;
|
|
1130
|
+
protected maxFileSize: _angular_core.Signal<number>;
|
|
1124
1131
|
protected uploadFromComputer(): Promise<void>;
|
|
1125
1132
|
protected files: _angular_core.Signal<AXPFileListItem[]>;
|
|
1126
1133
|
handleFileRemove(file: AXPFileListItem): void;
|
|
@@ -1170,6 +1177,7 @@ declare class AXPFileUploaderWidgetService {
|
|
|
1170
1177
|
multiple?: boolean;
|
|
1171
1178
|
accept?: string;
|
|
1172
1179
|
fileEditable?: boolean;
|
|
1180
|
+
maxFileSize?: number;
|
|
1173
1181
|
}): Promise<AXPFileListItem[] | undefined>;
|
|
1174
1182
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXPFileUploaderWidgetService, never>;
|
|
1175
1183
|
static ɵprov: _angular_core.ɵɵInjectableDeclaration<AXPFileUploaderWidgetService>;
|