@nocobase/plugin-flow-engine 2.2.0-alpha.6 → 2.2.0-alpha.8
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/dist/externalVersion.js +9 -9
- package/dist/node_modules/@ant-design/icons-svg/package.json +1 -1
- package/dist/node_modules/acorn/package.json +1 -1
- package/dist/node_modules/acorn-jsx/package.json +1 -1
- package/dist/node_modules/acorn-walk/package.json +1 -1
- package/dist/node_modules/ses/package.json +1 -1
- package/dist/node_modules/zod/package.json +1 -1
- package/dist/server/flow-surfaces/authoring-validation.d.ts +2 -1
- package/dist/server/flow-surfaces/authoring-validation.js +167 -19
- package/dist/server/flow-surfaces/blueprint/compile-blocks.js +7 -3
- package/dist/server/flow-surfaces/blueprint/compile-plan.js +19 -15
- package/dist/server/flow-surfaces/blueprint/normalize-document.js +18 -2
- package/dist/server/flow-surfaces/blueprint/public-types.d.ts +1 -0
- package/dist/server/flow-surfaces/builder.js +3 -0
- package/dist/server/flow-surfaces/constants.d.ts +9 -2
- package/dist/server/flow-surfaces/constants.js +1 -0
- package/dist/server/flow-surfaces/contract-guard.js +20 -10
- package/dist/server/flow-surfaces/errors.d.ts +2 -2
- package/dist/server/flow-surfaces/errors.js +4 -4
- package/dist/server/flow-surfaces/navigation-targets.d.ts +73 -0
- package/dist/server/flow-surfaces/navigation-targets.js +439 -0
- package/dist/server/flow-surfaces/service.d.ts +14 -2
- package/dist/server/flow-surfaces/service.js +471 -115
- package/dist/server/variables/records.js +7 -2
- package/dist/swagger/flow-surfaces.d.ts +96 -0
- package/dist/swagger/flow-surfaces.js +88 -7
- package/dist/swagger/index.d.ts +96 -0
- package/package.json +2 -2
|
@@ -54,6 +54,7 @@ export declare class FlowSurfacesService {
|
|
|
54
54
|
get repository(): FlowModelRepository;
|
|
55
55
|
get locator(): SurfaceLocator;
|
|
56
56
|
private get routeSync();
|
|
57
|
+
private get navigationTargets();
|
|
57
58
|
private getFlowTemplateRepository;
|
|
58
59
|
private getFlowTemplateRepositorySafe;
|
|
59
60
|
private getFlowTemplateUsageRepository;
|
|
@@ -93,9 +94,13 @@ export declare class FlowSurfacesService {
|
|
|
93
94
|
private normalizeExplicitDesktopRouteLayoutUid;
|
|
94
95
|
private normalizeDesktopRouteLayoutUidFilter;
|
|
95
96
|
private resolveDesktopRouteLayoutUidFilter;
|
|
97
|
+
private assertNavigationTargetIsExclusive;
|
|
98
|
+
private readDesktopRouteScope;
|
|
99
|
+
private resolveRequestedDesktopRouteScope;
|
|
100
|
+
private resolveExistingDesktopRouteScope;
|
|
101
|
+
private attachDesktopRouteScopeToRouteAndChildren;
|
|
96
102
|
private assertEnabledDesktopRouteUiLayoutUid;
|
|
97
103
|
private assertDesktopRouteBelongsToUiLayout;
|
|
98
|
-
private resolveRequestedDesktopRouteUiLayoutUids;
|
|
99
104
|
private setDesktopRouteUiLayouts;
|
|
100
105
|
private attachDesktopRouteUiLayoutsToRouteAndChildren;
|
|
101
106
|
private ensureDesktopRouteUiLayouts;
|
|
@@ -223,7 +228,7 @@ export declare class FlowSurfacesService {
|
|
|
223
228
|
private resolveApplyBlueprintReplaceTargetInfo;
|
|
224
229
|
private resolveApplyBlueprintCreateNavigationGroup;
|
|
225
230
|
private normalizeApplyBlueprintCreateMobileNavigation;
|
|
226
|
-
private
|
|
231
|
+
private assertApplyBlueprintCreateNavigationTarget;
|
|
227
232
|
private resolveApplyBlueprintCreatePageIdentity;
|
|
228
233
|
private prepareApplyBlueprintRequest;
|
|
229
234
|
private prevalidateApplyBlueprintChartAssets;
|
|
@@ -391,8 +396,13 @@ export declare class FlowSurfacesService {
|
|
|
391
396
|
uid: any;
|
|
392
397
|
updated: string[];
|
|
393
398
|
}>;
|
|
399
|
+
listNavigationTargets(_values?: Record<string, any>, options?: {
|
|
400
|
+
transaction?: any;
|
|
401
|
+
currentRoles?: FlowSurfaceRequestRoles;
|
|
402
|
+
}): Promise<import("./navigation-targets").FlowSurfaceNavigationTargetsResult>;
|
|
394
403
|
createMenu(values: Record<string, any>, options?: {
|
|
395
404
|
transaction?: any;
|
|
405
|
+
currentRoles?: FlowSurfaceRequestRoles;
|
|
396
406
|
}): Promise<{
|
|
397
407
|
routeId: any;
|
|
398
408
|
type: any;
|
|
@@ -400,6 +410,7 @@ export declare class FlowSurfacesService {
|
|
|
400
410
|
}>;
|
|
401
411
|
updateMenu(values: Record<string, any>, options?: {
|
|
402
412
|
transaction?: any;
|
|
413
|
+
currentRoles?: FlowSurfaceRequestRoles;
|
|
403
414
|
}): Promise<{
|
|
404
415
|
routeId: any;
|
|
405
416
|
type: any;
|
|
@@ -408,6 +419,7 @@ export declare class FlowSurfacesService {
|
|
|
408
419
|
private initializeFlowPageForRoute;
|
|
409
420
|
createPage(values: Record<string, any>, options?: {
|
|
410
421
|
transaction?: any;
|
|
422
|
+
currentRoles?: FlowSurfaceRequestRoles;
|
|
411
423
|
}): Promise<any>;
|
|
412
424
|
destroyPage(values: Record<string, any>, options?: {
|
|
413
425
|
transaction?: any;
|