@nocobase/plugin-flow-engine 2.1.0-alpha.15 → 2.1.0-alpha.17

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.
Files changed (116) hide show
  1. package/dist/externalVersion.js +10 -10
  2. package/dist/node_modules/ses/package.json +1 -1
  3. package/dist/node_modules/zod/package.json +1 -1
  4. package/dist/server/flow-surfaces/{compiler.d.ts → apply/compiler.d.ts} +1 -10
  5. package/dist/server/flow-surfaces/{compiler.js → apply/compiler.js} +41 -280
  6. package/dist/server/flow-surfaces/apply/layout.d.ts +34 -0
  7. package/dist/server/flow-surfaces/apply/layout.js +175 -0
  8. package/dist/server/flow-surfaces/apply/matching.d.ts +16 -0
  9. package/dist/server/flow-surfaces/apply/matching.js +181 -0
  10. package/dist/server/flow-surfaces/association-title-field.d.ts +20 -0
  11. package/dist/server/flow-surfaces/association-title-field.js +158 -0
  12. package/dist/server/flow-surfaces/blueprint/compile-blocks.d.ts +14 -0
  13. package/dist/server/flow-surfaces/blueprint/compile-blocks.js +717 -0
  14. package/dist/server/flow-surfaces/blueprint/compile-plan.d.ts +13 -0
  15. package/dist/server/flow-surfaces/blueprint/compile-plan.js +308 -0
  16. package/dist/server/flow-surfaces/blueprint/compile-reaction.d.ts +11 -0
  17. package/dist/server/flow-surfaces/blueprint/compile-reaction.js +72 -0
  18. package/dist/server/flow-surfaces/blueprint/index.d.ts +12 -0
  19. package/dist/server/flow-surfaces/blueprint/index.js +44 -0
  20. package/dist/server/flow-surfaces/blueprint/normalize-document.d.ts +10 -0
  21. package/dist/server/flow-surfaces/blueprint/normalize-document.js +296 -0
  22. package/dist/server/flow-surfaces/blueprint/private-utils.d.ts +26 -0
  23. package/dist/server/flow-surfaces/blueprint/private-utils.js +182 -0
  24. package/dist/server/flow-surfaces/blueprint/public-types.d.ts +153 -0
  25. package/dist/server/flow-surfaces/blueprint/public-types.js +24 -0
  26. package/dist/server/flow-surfaces/catalog-smart.d.ts +18 -0
  27. package/dist/server/flow-surfaces/catalog-smart.js +239 -0
  28. package/dist/server/flow-surfaces/catalog-smart.projector.d.ts +15 -0
  29. package/dist/server/flow-surfaces/catalog-smart.projector.js +157 -0
  30. package/dist/server/flow-surfaces/catalog-smart.types.d.ts +99 -0
  31. package/dist/server/flow-surfaces/catalog-smart.types.js +24 -0
  32. package/dist/server/flow-surfaces/catalog.d.ts +3 -0
  33. package/dist/server/flow-surfaces/catalog.js +163 -34
  34. package/dist/server/flow-surfaces/compose-compiler.d.ts +104 -0
  35. package/dist/server/flow-surfaces/compose-compiler.js +162 -0
  36. package/dist/server/flow-surfaces/compose-runtime.d.ts +89 -0
  37. package/dist/server/flow-surfaces/compose-runtime.js +338 -0
  38. package/dist/server/flow-surfaces/configure-options.js +12 -3
  39. package/dist/server/flow-surfaces/constants.d.ts +3 -2
  40. package/dist/server/flow-surfaces/constants.js +36 -3
  41. package/dist/server/flow-surfaces/default-action-popup.d.ts +52 -0
  42. package/dist/server/flow-surfaces/default-action-popup.js +258 -0
  43. package/dist/server/flow-surfaces/executor.d.ts +10 -0
  44. package/dist/server/flow-surfaces/executor.js +59 -24
  45. package/dist/server/flow-surfaces/field-binding-registry.d.ts +23 -0
  46. package/dist/server/flow-surfaces/field-binding-registry.js +391 -0
  47. package/dist/server/flow-surfaces/field-semantics.d.ts +1 -1
  48. package/dist/server/flow-surfaces/index.js +75 -0
  49. package/dist/server/flow-surfaces/node-use-sets.d.ts +15 -0
  50. package/dist/server/flow-surfaces/node-use-sets.js +114 -0
  51. package/dist/server/flow-surfaces/payload-shape.d.ts +9 -0
  52. package/dist/server/flow-surfaces/payload-shape.js +61 -0
  53. package/dist/server/flow-surfaces/placement.js +2 -6
  54. package/dist/server/flow-surfaces/planning/action-specs.d.ts +179 -0
  55. package/dist/server/flow-surfaces/planning/action-specs.js +190 -0
  56. package/dist/server/flow-surfaces/planning/compiler.d.ts +37 -0
  57. package/dist/server/flow-surfaces/planning/compiler.js +376 -0
  58. package/dist/server/flow-surfaces/planning/context.d.ts +30 -0
  59. package/dist/server/flow-surfaces/planning/context.js +139 -0
  60. package/dist/server/flow-surfaces/planning/created-keys.d.ts +34 -0
  61. package/dist/server/flow-surfaces/planning/created-keys.js +375 -0
  62. package/dist/server/flow-surfaces/planning/key-kind.d.ts +11 -0
  63. package/dist/server/flow-surfaces/planning/key-kind.js +86 -0
  64. package/dist/server/flow-surfaces/planning/key-persistence.d.ts +34 -0
  65. package/dist/server/flow-surfaces/planning/key-persistence.js +148 -0
  66. package/dist/server/flow-surfaces/planning/key-registry.d.ts +40 -0
  67. package/dist/server/flow-surfaces/planning/key-registry.js +206 -0
  68. package/dist/server/flow-surfaces/planning/runtime.d.ts +37 -0
  69. package/dist/server/flow-surfaces/planning/runtime.js +259 -0
  70. package/dist/server/flow-surfaces/planning/step-link.d.ts +14 -0
  71. package/dist/server/flow-surfaces/planning/step-link.js +104 -0
  72. package/dist/server/flow-surfaces/planning/types.d.ts +55 -0
  73. package/dist/server/flow-surfaces/planning/types.js +24 -0
  74. package/dist/server/flow-surfaces/reaction/errors.d.ts +20 -0
  75. package/dist/server/flow-surfaces/reaction/errors.js +69 -0
  76. package/dist/server/flow-surfaces/reaction/field-value.d.ts +34 -0
  77. package/dist/server/flow-surfaces/reaction/field-value.js +181 -0
  78. package/dist/server/flow-surfaces/reaction/fingerprint.d.ts +16 -0
  79. package/dist/server/flow-surfaces/reaction/fingerprint.js +71 -0
  80. package/dist/server/flow-surfaces/reaction/linkage.d.ts +136 -0
  81. package/dist/server/flow-surfaces/reaction/linkage.js +882 -0
  82. package/dist/server/flow-surfaces/reaction/meta.d.ts +11 -0
  83. package/dist/server/flow-surfaces/reaction/meta.js +451 -0
  84. package/dist/server/flow-surfaces/reaction/registry.d.ts +136 -0
  85. package/dist/server/flow-surfaces/reaction/registry.js +186 -0
  86. package/dist/server/flow-surfaces/reaction/resolver.d.ts +22 -0
  87. package/dist/server/flow-surfaces/reaction/resolver.js +202 -0
  88. package/dist/server/flow-surfaces/reaction/types.d.ts +241 -0
  89. package/dist/server/flow-surfaces/reaction/types.js +24 -0
  90. package/dist/server/flow-surfaces/reaction/utils.d.ts +17 -0
  91. package/dist/server/flow-surfaces/reaction/utils.js +67 -0
  92. package/dist/server/flow-surfaces/reaction/value-expr.d.ts +15 -0
  93. package/dist/server/flow-surfaces/reaction/value-expr.js +209 -0
  94. package/dist/server/flow-surfaces/reference-guards.d.ts +19 -0
  95. package/dist/server/flow-surfaces/reference-guards.js +103 -0
  96. package/dist/server/flow-surfaces/service-helpers.d.ts +42 -0
  97. package/dist/server/flow-surfaces/service-helpers.js +377 -0
  98. package/dist/server/flow-surfaces/service-utils.d.ts +105 -0
  99. package/dist/server/flow-surfaces/service-utils.js +760 -0
  100. package/dist/server/flow-surfaces/service.d.ts +199 -104
  101. package/dist/server/flow-surfaces/service.js +4158 -1890
  102. package/dist/server/flow-surfaces/template-compatibility.d.ts +42 -0
  103. package/dist/server/flow-surfaces/template-compatibility.js +189 -0
  104. package/dist/server/flow-surfaces/template-service-utils.d.ts +62 -0
  105. package/dist/server/flow-surfaces/template-service-utils.js +281 -0
  106. package/dist/server/flow-surfaces/types.d.ts +129 -37
  107. package/dist/swagger/flow-surfaces.d.ts +3777 -1581
  108. package/dist/swagger/flow-surfaces.examples.d.ts +1246 -0
  109. package/dist/swagger/flow-surfaces.examples.js +1396 -0
  110. package/dist/swagger/flow-surfaces.js +2020 -1469
  111. package/dist/swagger/flow-surfaces.template-action-docs.d.ts +62 -0
  112. package/dist/swagger/flow-surfaces.template-action-docs.js +121 -0
  113. package/dist/swagger/flow-surfaces.template-schemas.d.ts +239 -0
  114. package/dist/swagger/flow-surfaces.template-schemas.js +255 -0
  115. package/dist/swagger/index.d.ts +3777 -1581
  116. package/package.json +2 -2
@@ -10,7 +10,9 @@ import type { Plugin } from '@nocobase/server';
10
10
  import _ from 'lodash';
11
11
  import FlowModelRepository from '../repository';
12
12
  import { SurfaceLocator } from './locator';
13
- import type { FlowSurfaceApplyValues, FlowSurfaceComposeMode, FlowSurfaceComposeValues, FlowSurfaceConfigureValues, FlowSurfaceContextValues, FlowSurfaceMutateValues, FlowSurfaceNodeDomain, FlowSurfaceResourceBindingOption, FlowSurfaceResolvedTarget, FlowSurfaceWriteTarget } from './types';
13
+ import type { FlowSurfaceActionLinkageRule, FlowSurfaceBlockLinkageRule, FlowSurfaceFieldLinkageRule, FlowSurfaceFieldValueRule, FlowSurfaceGetReactionMetaResult, FlowSurfaceGetReactionMetaValues, FlowSurfaceReactionWriteResult, FlowSurfaceReactionWriteValues } from './reaction/types';
14
+ import { type FlowSurfaceTemplateListValues, type FlowSurfaceTemplateRow } from './template-service-utils';
15
+ import type { FlowSurfaceApplyValues, FlowSurfaceCatalogResponse, FlowSurfaceCatalogValues, FlowSurfaceComposeValues, FlowSurfaceConfigureValues, FlowSurfaceContextValues, FlowSurfaceDescribeValues, FlowSurfaceMutateValues } from './types';
14
16
  type FlowSurfaceAddFieldResult = {
15
17
  uid?: string;
16
18
  parentUid?: string;
@@ -35,6 +37,10 @@ export declare class FlowSurfacesService {
35
37
  get repository(): FlowModelRepository;
36
38
  get locator(): SurfaceLocator;
37
39
  private get routeSync();
40
+ private getFlowTemplateRepository;
41
+ private getFlowTemplateUsageRepository;
42
+ private getFlowTemplateUsageModel;
43
+ private getFlowTemplateUsageRepositorySafe;
38
44
  private get contractGuard();
39
45
  private get surfaceContext();
40
46
  private loadEnabledPluginPackages;
@@ -43,6 +49,7 @@ export declare class FlowSurfacesService {
43
49
  private readRouteField;
44
50
  private readRouteOptions;
45
51
  private findMenuRouteById;
52
+ private findMenuGroupRoutesByTitle;
46
53
  private assertMenuParentIsGroup;
47
54
  private assertMenuRouteBindable;
48
55
  private assertMenuRouteUpdatable;
@@ -54,60 +61,13 @@ export declare class FlowSurfacesService {
54
61
  private loadRouteBackedPageStructure;
55
62
  private isBindableMenuRoutePendingInitialization;
56
63
  private isRouteBackedPageInitialized;
57
- catalog(input: {
58
- target?: FlowSurfaceWriteTarget;
59
- }, options?: {
64
+ catalog(input: FlowSurfaceCatalogValues, options?: {
60
65
  transaction?: any;
61
66
  enabledPackages?: ReadonlySet<string>;
62
- }): Promise<{
63
- target: FlowSurfaceResolvedTarget;
64
- blocks: any[];
65
- fields: {
66
- configureOptions: import("./types").FlowSurfaceConfigureOptions;
67
- }[];
68
- actions: {
69
- configureOptions: import("./types").FlowSurfaceConfigureOptions;
70
- key: string;
71
- label: string;
72
- use: string;
73
- kind: "block" | "page" | "tab" | "field" | "action";
74
- scope?: import("./types").FlowSurfaceActionScope;
75
- scene?: string;
76
- requiredInitParams?: string[];
77
- allowedContainerUses?: string[];
78
- editableDomains: FlowSurfaceNodeDomain[];
79
- settingsSchema: Record<string, any>;
80
- settingsContract?: Partial<Record<FlowSurfaceNodeDomain, import("./types").FlowSurfaceDomainContract>>;
81
- resourceBindings?: FlowSurfaceResourceBindingOption[];
82
- eventCapabilities?: import("./types").FlowSurfaceEventCapabilities;
83
- layoutCapabilities?: import("./types").FlowSurfaceLayoutCapabilities;
84
- createSupported?: boolean;
85
- }[];
86
- recordActions: {
87
- configureOptions: import("./types").FlowSurfaceConfigureOptions;
88
- key: string;
89
- label: string;
90
- use: string;
91
- kind: "block" | "page" | "tab" | "field" | "action";
92
- scope?: import("./types").FlowSurfaceActionScope;
93
- scene?: string;
94
- requiredInitParams?: string[];
95
- allowedContainerUses?: string[];
96
- editableDomains: FlowSurfaceNodeDomain[];
97
- settingsSchema: Record<string, any>;
98
- settingsContract?: Partial<Record<FlowSurfaceNodeDomain, import("./types").FlowSurfaceDomainContract>>;
99
- resourceBindings?: FlowSurfaceResourceBindingOption[];
100
- eventCapabilities?: import("./types").FlowSurfaceEventCapabilities;
101
- layoutCapabilities?: import("./types").FlowSurfaceLayoutCapabilities;
102
- createSupported?: boolean;
103
- }[];
104
- editableDomains: FlowSurfaceNodeDomain[];
105
- configureOptions: import("./types").FlowSurfaceConfigureOptions;
106
- settingsSchema: Record<string, any>;
107
- settingsContract: Partial<Record<FlowSurfaceNodeDomain, import("./types").FlowSurfaceDomainContract>>;
108
- eventCapabilities: import("./types").FlowSurfaceEventCapabilities;
109
- layoutCapabilities: import("./types").FlowSurfaceLayoutCapabilities;
110
- }>;
67
+ }): Promise<FlowSurfaceCatalogResponse>;
68
+ private analyzeCatalogTarget;
69
+ private projectCatalogNode;
70
+ private projectCatalogItem;
111
71
  private buildCatalogBlockItem;
112
72
  private isCollectionBlockUse;
113
73
  private isPopupFieldHostUse;
@@ -145,34 +105,139 @@ export declare class FlowSurfacesService {
145
105
  context(values: FlowSurfaceContextValues, options?: {
146
106
  transaction?: any;
147
107
  }): Promise<import("./types").FlowSurfaceContextResponse>;
108
+ private extractReactionCanonicalRules;
109
+ private buildReactionFieldPathMaps;
110
+ private requireReactionFieldUid;
111
+ private buildReactionRuleNormalizers;
112
+ private buildReactionFingerprintForSlot;
113
+ private assertReactionFingerprint;
114
+ private resolveReactionRequest;
115
+ private persistReactionSlot;
116
+ private buildLinkageWriteResult;
117
+ private getLiveLinkageCapability;
118
+ getReactionMeta(values: FlowSurfaceGetReactionMetaValues, options?: {
119
+ transaction?: any;
120
+ }): Promise<FlowSurfaceGetReactionMetaResult>;
121
+ setFieldValueRules(values: FlowSurfaceReactionWriteValues<FlowSurfaceFieldValueRule>, options?: {
122
+ transaction?: any;
123
+ }): Promise<import("./reaction/field-value").FlowSurfaceFieldValueCompileResult>;
124
+ setBlockLinkageRules(values: FlowSurfaceReactionWriteValues<FlowSurfaceBlockLinkageRule>, options?: {
125
+ transaction?: any;
126
+ }): Promise<FlowSurfaceReactionWriteResult<FlowSurfaceBlockLinkageRule>>;
127
+ setFieldLinkageRules(values: FlowSurfaceReactionWriteValues<FlowSurfaceFieldLinkageRule>, options?: {
128
+ transaction?: any;
129
+ }): Promise<FlowSurfaceReactionWriteResult<FlowSurfaceFieldLinkageRule>>;
130
+ setActionLinkageRules(values: FlowSurfaceReactionWriteValues<FlowSurfaceActionLinkageRule>, options?: {
131
+ transaction?: any;
132
+ }): Promise<FlowSurfaceReactionWriteResult<FlowSurfaceActionLinkageRule>>;
133
+ private buildStableFingerprintString;
134
+ private buildSurfaceFingerprint;
135
+ private getDeclaredKeyFromNode;
136
+ private stripInternalSurfaceMetaFromNodeTree;
137
+ private buildSurfaceReadPayload;
138
+ private buildSurfaceContextFingerprint;
148
139
  get(input: Record<string, any>, options?: {
149
140
  transaction?: any;
150
141
  }): Promise<Record<string, any>>;
151
- compose(values: FlowSurfaceComposeValues, options?: {
142
+ private getDeclaredKeyPersistenceDeps;
143
+ private patchDeclaredKeyModel;
144
+ private persistCreatedKeysForAction;
145
+ private buildPlanningRuntimeDeps;
146
+ describeSurface(values: FlowSurfaceDescribeValues, options?: {
147
+ transaction?: any;
148
+ }): Promise<any>;
149
+ private dispatchPlanOnlyAction;
150
+ private resolveApplyBlueprintReplaceTargetInfo;
151
+ private resolveApplyBlueprintCreateNavigationGroup;
152
+ private prepareApplyBlueprintRequest;
153
+ applyBlueprint(values: Record<string, any>, options?: {
152
154
  transaction?: any;
153
- enabledPackages?: ReadonlySet<string>;
154
155
  }): Promise<{
155
- layout?: any;
156
- target: {
157
- uid: any;
158
- };
159
- mode: FlowSurfaceComposeMode;
160
- keyToUid: {
161
- [k: string]: any;
162
- };
163
- blocks: {
164
- key: any;
165
- type: any;
166
- uid: any;
167
- gridUid: any;
168
- itemUid: any;
169
- itemGridUid: any;
170
- actionsColumnUid: any;
171
- fields: any;
172
- actions: any;
173
- recordActions: any;
174
- }[];
156
+ version: string;
157
+ mode: import("./blueprint").FlowSurfaceApplyBlueprintMode;
158
+ target: _.Dictionary<any>;
159
+ surface: Record<string, any>;
160
+ }>;
161
+ private resolveTemplateResourceInfo;
162
+ private resolveBlockTemplateExpectedResourceInfo;
163
+ private getTemplateResourceCompatibilityDisabledReason;
164
+ private getFieldsTemplateDisabledReason;
165
+ private assertFieldsTemplateCompatibility;
166
+ private loadTemplateListTargetContext;
167
+ private inferTemplateListCurrentRecordCapability;
168
+ private normalizeOptionalTemplateListActionType;
169
+ private normalizeOptionalTemplateListActionScope;
170
+ private assertTemplateListPopupActionScopeSupported;
171
+ private resolveTemplateListPopupActionItem;
172
+ private resolveTemplateListPopupActionContext;
173
+ private getBlockTemplateDisabledReason;
174
+ private assertBlockTemplateCompatibility;
175
+ private getPopupTemplateDisabledReason;
176
+ private getTemplateListDisabledReason;
177
+ private withTemplateAvailability;
178
+ private assertPopupTemplateCompatibility;
179
+ private normalizeOptionalFlowTemplateType;
180
+ private withFlowTemplateUsageCounts;
181
+ listTemplates(values?: FlowSurfaceTemplateListValues, options?: {
182
+ transaction?: any;
183
+ }): Promise<{
184
+ rows: FlowSurfaceTemplateRow[];
185
+ count: number;
186
+ page: number;
187
+ pageSize: number;
188
+ totalPage: number;
189
+ }>;
190
+ getTemplate(values: Record<string, any>, options?: {
191
+ transaction?: any;
192
+ }): Promise<FlowSurfaceTemplateRow>;
193
+ private inferSaveTemplateTarget;
194
+ private createFlowTemplateReferenceBlockModel;
195
+ private buildPopupTemplateReferenceOpenView;
196
+ private clearFlowTemplateUsagesByModelUids;
197
+ private clearFlowTemplateUsagesForNodeTree;
198
+ private syncFlowTemplateUsagesForNodeTree;
199
+ private clearFlowTemplateUsagesForRouteSchemaUid;
200
+ private syncTemplateMetaToReferencedModels;
201
+ private resolveFlowModelAttachPosition;
202
+ private repositionFlowModelInParent;
203
+ private convertBlockSourceToTemplateReference;
204
+ private convertPopupSourceToTemplateReference;
205
+ saveTemplate(values: Record<string, any>, options?: {
206
+ transaction?: any;
207
+ }): Promise<FlowSurfaceTemplateRow>;
208
+ updateTemplate(values: Record<string, any>, options?: {
209
+ transaction?: any;
210
+ }): Promise<FlowSurfaceTemplateRow>;
211
+ destroyTemplate(values: Record<string, any>, options?: {
212
+ transaction?: any;
213
+ }): Promise<{
214
+ uid: string;
175
215
  }>;
216
+ private resolveTemplateCopySource;
217
+ private duplicateDetachedFlowModelTree;
218
+ private cloneFlowModelTree;
219
+ convertTemplateToCopy(values: Record<string, any>, options?: {
220
+ transaction?: any;
221
+ }): Promise<{
222
+ uid: any;
223
+ type: string;
224
+ popupUid: string;
225
+ } | {
226
+ gridUid: string;
227
+ uid: string;
228
+ type: string;
229
+ popupUid?: undefined;
230
+ } | {
231
+ uid: any;
232
+ type: string;
233
+ popupUid?: undefined;
234
+ }>;
235
+ private buildPopupSurfaceSummaryFromHost;
236
+ private decorateTemplateReadbackTree;
237
+ compose(values: FlowSurfaceComposeValues, options?: {
238
+ transaction?: any;
239
+ enabledPackages?: ReadonlySet<string>;
240
+ }): Promise<import("./compose-runtime").FlowSurfaceComposeExecutionResult>;
176
241
  configure(values: FlowSurfaceConfigureValues, options?: {
177
242
  transaction?: any;
178
243
  }): Promise<{
@@ -199,16 +264,7 @@ export declare class FlowSurfacesService {
199
264
  private initializeFlowPageForRoute;
200
265
  createPage(values: Record<string, any>, options?: {
201
266
  transaction?: any;
202
- }): Promise<{
203
- routeId: any;
204
- parentMenuRouteId: any;
205
- pageSchemaUid: any;
206
- pageUid: string;
207
- tabSchemaUid: any;
208
- tabRouteId: any;
209
- tabSchemaName: any;
210
- gridUid: any;
211
- }>;
267
+ }): Promise<any>;
212
268
  destroyPage(values: Record<string, any>, options?: {
213
269
  transaction?: any;
214
270
  }): Promise<{
@@ -265,25 +321,19 @@ export declare class FlowSurfacesService {
265
321
  }): Promise<{
266
322
  uid: any;
267
323
  }>;
324
+ private buildFlowTemplateReferenceBlockTree;
325
+ private patchCopiedTemplateGridFromRoot;
326
+ private buildBlockCreateResult;
327
+ private appendAddedBlockLayout;
328
+ private applyTemplateFieldsToBlock;
329
+ private addBlockFromFieldsTemplate;
330
+ private addBlockFromTemplate;
331
+ private addFieldFromTemplate;
268
332
  addBlock(values: Record<string, any>, options?: {
269
333
  transaction?: any;
270
334
  deferAutoLayout?: boolean;
271
335
  enabledPackages?: ReadonlySet<string>;
272
- }): Promise<{
273
- pageUid?: any;
274
- tabUid?: any;
275
- popupPageUid?: any;
276
- popupTabUid?: any;
277
- popupGridUid?: any;
278
- actionsColumnUid?: any;
279
- itemGridUid?: string;
280
- itemUid?: string;
281
- blockGridUid?: string;
282
- gridUid?: any;
283
- uid: string;
284
- parentUid: any;
285
- subKey: any;
286
- }>;
336
+ }): any;
287
337
  addField(values: Record<string, any>, options?: {
288
338
  transaction?: any;
289
339
  enabledPackages?: ReadonlySet<string>;
@@ -291,6 +341,7 @@ export declare class FlowSurfacesService {
291
341
  addAction(values: Record<string, any>, options?: {
292
342
  transaction?: any;
293
343
  enabledPackages?: ReadonlySet<string>;
344
+ autoCompleteDefaultPopup?: boolean;
294
345
  }): Promise<{
295
346
  uid: string;
296
347
  parentUid: any;
@@ -300,6 +351,7 @@ export declare class FlowSurfacesService {
300
351
  addRecordAction(values: Record<string, any>, options?: {
301
352
  transaction?: any;
302
353
  enabledPackages?: ReadonlySet<string>;
354
+ autoCompleteDefaultPopup?: boolean;
303
355
  }): Promise<{
304
356
  uid: string;
305
357
  parentUid: any;
@@ -328,8 +380,18 @@ export declare class FlowSurfacesService {
328
380
  }>;
329
381
  private normalizeInlineSettings;
330
382
  private normalizeInlinePopup;
383
+ private buildInlinePopupTemplateOpenView;
331
384
  private peekInlineFieldSettingsOpenView;
332
385
  private assertOpenViewUidTarget;
386
+ private normalizeFlowTemplateMode;
387
+ private normalizeFlowTemplateUsage;
388
+ private normalizeFlowTemplateReference;
389
+ private getFlowTemplateOrThrow;
390
+ private buildPopupTemplateOpenView;
391
+ private resolveExternalPopupHostUid;
392
+ private resolveDetachedPopupCopyUid;
393
+ private cleanupLocalPopupSurfaceForHost;
394
+ private reconcilePopupOpenViewTransition;
333
395
  private normalizeOpenView;
334
396
  private isExternalPopupOpenView;
335
397
  private loadFieldHostNodes;
@@ -341,10 +403,29 @@ export declare class FlowSurfacesService {
341
403
  private applyInlineFieldPopup;
342
404
  private applyInlineFieldSettings;
343
405
  private applyInlineStandaloneFieldSettings;
406
+ private getActionButtonTitle;
407
+ private isSemanticallyEmptyInlinePopup;
408
+ private shouldAutoCompleteDefaultActionPopup;
409
+ private buildDefaultActionPopupFieldPaths;
410
+ private buildDefaultActionPopupNamespace;
411
+ private buildDefaultActionPopupKeyMap;
412
+ private remapDefaultActionPopupField;
413
+ private remapDefaultActionPopupBlocks;
414
+ private remapDefaultActionPopupLayout;
415
+ private buildDefaultActionPopupBlocks;
416
+ private buildDefaultActionPopupComposeValues;
417
+ private resolveDefaultActionPopupSurfaceState;
418
+ private shouldResetDefaultActionPopupFormLinkageRules;
419
+ private resetDefaultActionPopupFormLinkageRules;
420
+ private resolvePopupTabTitle;
421
+ private syncDefaultActionPopupTabTitle;
422
+ private applyDefaultActionPopupContent;
344
423
  private applyInlineActionPopup;
345
424
  updateSettings(values: Record<string, any>, options?: {
346
425
  transaction?: any;
347
426
  replaceChartCardSettings?: boolean;
427
+ openViewActionName?: string;
428
+ popupTemplateHostUid?: string;
348
429
  }): Promise<{
349
430
  uid: any;
350
431
  updated?: undefined;
@@ -435,10 +516,19 @@ export declare class FlowSurfacesService {
435
516
  private resolveAddRecordActionCatalogItem;
436
517
  private resolveComposeBlockActionCatalogItem;
437
518
  private resolveComposeRecordActionCatalogItem;
438
- private resolveRecordActionContainer;
519
+ private isAddChildCatalogItem;
520
+ private isTreeCollection;
521
+ private isTreeTableEnabled;
522
+ private resolveAddChildOwnerNode;
523
+ private resolveOwnerCollectionForAddChild;
524
+ private canUseAddChildOnOwnerNode;
525
+ private assertAddChildSupportedForOwnerNode;
526
+ private filterTargetRecordActions;
527
+ private inspectRecordActionContainer;
528
+ private materializeRecordActionContainer;
439
529
  private runBatchCreate;
440
530
  private normalizeComposeBlock;
441
- private resolveComposeTargetRef;
531
+ private normalizeComposeBlocks;
442
532
  private resolveComposeActionContainerUid;
443
533
  private resolveComposeFieldContainerUid;
444
534
  private resolveComposeRecordActionContainerUid;
@@ -449,8 +539,8 @@ export declare class FlowSurfacesService {
449
539
  private isGridLayoutValid;
450
540
  private hasMaterialGridLayout;
451
541
  private appendRowsToLayout;
452
- private collectComposeActionRefs;
453
- private collectPopupSurfaceRefs;
542
+ private collectComposeActionKeys;
543
+ private collectPopupSurfaceKeys;
454
544
  private removeNodeTreeWithBindings;
455
545
  private cleanupNodeBindings;
456
546
  private configurePage;
@@ -475,11 +565,13 @@ export declare class FlowSurfacesService {
475
565
  private configureActionNode;
476
566
  private buildFieldCatalog;
477
567
  private getFieldMenuCatalogMode;
568
+ private resolveRegisteredFieldBinding;
478
569
  private resolveAssociationLeafDisplaySemantics;
479
570
  private buildFieldMenuDirectCandidates;
480
571
  private collectFieldMenuAssociationLeafCandidates;
481
572
  private buildFieldMenuCandidates;
482
573
  private findFieldMenuCandidate;
574
+ private buildCatalogItemOptionalFields;
483
575
  private buildFieldCatalogEntriesForResource;
484
576
  private buildLegacyFieldCatalogEntriesForResource;
485
577
  private findOwningBlockGrid;
@@ -509,6 +601,9 @@ export declare class FlowSurfacesService {
509
601
  private getCollection;
510
602
  private resolveFieldDefinition;
511
603
  private getAssociationDefaultTitleFieldName;
604
+ private getAssociationTitleFieldTargetCollection;
605
+ private buildAssociationTitleFieldUnavailableMessage;
606
+ private resolveTitleFieldSyncDecision;
512
607
  private resolvePreferredFieldForCapability;
513
608
  private ensureGridChild;
514
609
  private ensureTableActionsColumn;