@acorex/platform 20.2.4-next.8 → 20.3.0-next.0
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 +1 -1
- package/core/index.d.ts +3 -2
- package/fesm2022/acorex-platform-auth.mjs +1 -1
- package/fesm2022/acorex-platform-auth.mjs.map +1 -1
- package/fesm2022/acorex-platform-common.mjs +16 -2
- package/fesm2022/acorex-platform-common.mjs.map +1 -1
- package/fesm2022/acorex-platform-core.mjs +29 -6
- package/fesm2022/acorex-platform-core.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-components.mjs +372 -25
- package/fesm2022/acorex-platform-layout-components.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-entity.mjs +172 -63
- package/fesm2022/acorex-platform-layout-entity.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-views.mjs +47 -6
- package/fesm2022/acorex-platform-layout-views.mjs.map +1 -1
- package/fesm2022/acorex-platform-widgets.mjs +14 -4
- package/fesm2022/acorex-platform-widgets.mjs.map +1 -1
- package/fesm2022/acorex-platform-workflow.mjs.map +1 -1
- package/layout/builder/index.d.ts +12 -12
- package/layout/components/index.d.ts +161 -11
- package/layout/entity/index.d.ts +28 -2
- package/layout/views/index.d.ts +14 -4
- package/package.json +13 -27
- package/workflow/index.d.ts +1 -0
package/common/index.d.ts
CHANGED
|
@@ -461,7 +461,7 @@ interface AXPEntityQuery {
|
|
|
461
461
|
execute: string | Function;
|
|
462
462
|
type: AXPEntityQueryType;
|
|
463
463
|
}
|
|
464
|
-
type AXPCommandActionType = 'create' | 'update' | 'delete' | 'copy' | 'print' | 'confirm' | 'report' | 'info' | 'view' | 'archive' | 'design' | 'upload' | 'version-history' | 'sent' | 'review' | 'sign' | 'lock' | 'unlock' | 'compare' | 'comments';
|
|
464
|
+
type AXPCommandActionType = 'create' | 'update' | 'delete' | 'copy' | 'print' | 'confirm' | 'report' | 'info' | 'view' | 'archive' | 'design' | 'upload' | 'version-history' | 'sent' | 'review' | 'sign' | 'lock' | 'unlock' | 'compare' | 'comments' | 'assign' | 'setup' | 'send' | 'assign';
|
|
465
465
|
interface AXPCommandActionLook {
|
|
466
466
|
color: AXStyleColorType;
|
|
467
467
|
icon: string;
|
package/core/index.d.ts
CHANGED
|
@@ -19,8 +19,8 @@ declare class AXPContextChangeEvent {
|
|
|
19
19
|
declare const AXPContextStore: i0.Type<{
|
|
20
20
|
data: i0.Signal<AXPContextData>;
|
|
21
21
|
state: i0.Signal<AXPContextState>;
|
|
22
|
-
initialSnapshot:
|
|
23
|
-
previousSnapshot:
|
|
22
|
+
initialSnapshot: i0.Signal<{}>;
|
|
23
|
+
previousSnapshot: i0.Signal<{}>;
|
|
24
24
|
lastChange: _ngrx_signals.DeepSignal<AXPContextChangeEvent>;
|
|
25
25
|
isChanged: i0.Signal<boolean>;
|
|
26
26
|
isReset: i0.Signal<boolean>;
|
|
@@ -942,6 +942,7 @@ declare class AXPBroadcastEventService implements OnDestroy {
|
|
|
942
942
|
private eventSubjects;
|
|
943
943
|
private pendingRequests;
|
|
944
944
|
private multiTabEventHistory;
|
|
945
|
+
private readonly instanceId;
|
|
945
946
|
constructor();
|
|
946
947
|
/**
|
|
947
948
|
* Publish an event without expecting a response
|
|
@@ -547,7 +547,7 @@ class AXPSessionService {
|
|
|
547
547
|
localStorage.removeItem(AXPSessionService.SESSION_KEY);
|
|
548
548
|
}
|
|
549
549
|
authorize(...keys) {
|
|
550
|
-
return keys.every((k) => isEmpty(k) || this.permissions.indexOf(k) > -1);
|
|
550
|
+
return keys.every((k) => isEmpty(k) || this.permissions.indexOf(k) > -1 || this.user?.name == 'root');
|
|
551
551
|
}
|
|
552
552
|
isFeatureEnabled(...keys) {
|
|
553
553
|
return keys.every((k) => isEmpty(k) || this.features.some((c) => c.name == k && c.value == true));
|