@nocobase/plugin-flow-engine 2.1.0-alpha.20 → 2.1.0-alpha.21

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 (50) hide show
  1. package/dist/externalVersion.js +11 -10
  2. package/dist/node_modules/ses/dist/ses.cjs +1 -1
  3. package/dist/node_modules/ses/package.json +1 -1
  4. package/dist/node_modules/zod/index.cjs +1 -1
  5. package/dist/node_modules/zod/package.json +1 -1
  6. package/dist/server/flow-surfaces/action-scope.d.ts +1 -0
  7. package/dist/server/flow-surfaces/action-scope.js +4 -0
  8. package/dist/server/flow-surfaces/apply/compiler.js +1 -1
  9. package/dist/server/flow-surfaces/approval/builder.js +8 -8
  10. package/dist/server/flow-surfaces/blueprint/compile-blocks.js +192 -29
  11. package/dist/server/flow-surfaces/blueprint/defaults.d.ts +26 -0
  12. package/dist/server/flow-surfaces/blueprint/defaults.js +133 -0
  13. package/dist/server/flow-surfaces/blueprint/index.d.ts +1 -1
  14. package/dist/server/flow-surfaces/blueprint/normalize-document.js +121 -1
  15. package/dist/server/flow-surfaces/blueprint/public-types.d.ts +32 -0
  16. package/dist/server/flow-surfaces/builder.d.ts +2 -2
  17. package/dist/server/flow-surfaces/builder.js +148 -50
  18. package/dist/server/flow-surfaces/catalog.js +276 -34
  19. package/dist/server/flow-surfaces/compose-compiler.d.ts +2 -0
  20. package/dist/server/flow-surfaces/compose-compiler.js +5 -1
  21. package/dist/server/flow-surfaces/configure-options.js +88 -12
  22. package/dist/server/flow-surfaces/contract-guard.js +60 -69
  23. package/dist/server/flow-surfaces/default-action-popup.d.ts +11 -1
  24. package/dist/server/flow-surfaces/default-action-popup.js +72 -12
  25. package/dist/server/flow-surfaces/default-block-actions.js +8 -1
  26. package/dist/server/flow-surfaces/filter-group.d.ts +15 -0
  27. package/dist/server/flow-surfaces/filter-group.js +94 -0
  28. package/dist/server/flow-surfaces/index.js +70 -2
  29. package/dist/server/flow-surfaces/node-use-sets.js +6 -1
  30. package/dist/server/flow-surfaces/placement.js +3 -0
  31. package/dist/server/flow-surfaces/public-data-surface-default-filter.d.ts +20 -0
  32. package/dist/server/flow-surfaces/public-data-surface-default-filter.js +111 -0
  33. package/dist/server/flow-surfaces/reaction/registry.d.ts +7 -0
  34. package/dist/server/flow-surfaces/reaction/registry.js +7 -0
  35. package/dist/server/flow-surfaces/service-utils.d.ts +7 -0
  36. package/dist/server/flow-surfaces/service-utils.js +58 -9
  37. package/dist/server/flow-surfaces/service.d.ts +73 -3
  38. package/dist/server/flow-surfaces/service.js +1794 -162
  39. package/dist/server/flow-surfaces/support-matrix.d.ts +5 -2
  40. package/dist/server/flow-surfaces/support-matrix.js +16 -3
  41. package/dist/server/flow-surfaces/surface-context.js +2 -1
  42. package/dist/server/flow-surfaces/template-display.d.ts +20 -0
  43. package/dist/server/flow-surfaces/template-display.js +289 -0
  44. package/dist/server/flow-surfaces/types.d.ts +1 -0
  45. package/dist/swagger/flow-surfaces.d.ts +160 -0
  46. package/dist/swagger/flow-surfaces.examples.d.ts +117 -11
  47. package/dist/swagger/flow-surfaces.examples.js +152 -1
  48. package/dist/swagger/flow-surfaces.js +141 -21
  49. package/dist/swagger/index.d.ts +160 -0
  50. package/package.json +2 -2
@@ -43,6 +43,8 @@ const FILTER_GROUP_EXAMPLE = {
43
43
  logic: "$and",
44
44
  items: []
45
45
  };
46
+ const PUBLIC_DATA_SURFACE_BLOCK_DEFAULT_FILTER_DESCRIPTION = "Supported only on direct `table`, `list`, or `gridCard` blocks. Backfills the default `filter` action `settings.defaultFilter` when that action exists or is auto-created. If the filter action already provides `settings.defaultFilter`, the action-level value wins.";
47
+ const DIRECT_ADD_DEFAULT_FILTER_COMPAT_DESCRIPTION = "Public block-level `defaultFilter` is supported on direct `table` / `list` / `gridCard` creates. Legacy `defaultActionSettings.filter.defaultFilter` remains supported for compatibility and wins when both are provided.";
46
48
  const STRING_OR_INTEGER_SCHEMA = {
47
49
  oneOf: [{ type: "string" }, { type: "integer" }]
48
50
  };
@@ -137,8 +139,10 @@ const REACTION_FINGERPRINT_DESCRIPTION = "Optional optimistic-concurrency finger
137
139
  const REACTION_RULES_REPLACE_DESCRIPTION = "Full replacement payload for the resolved reaction slot. Pass `[]` to clear all rules from that slot.";
138
140
  const REACTION_LOCALIZED_FORM_TARGET_DESCRIPTION = "Reaction write target. Use the live block/action uid for localized edits. For form field-value and form field-linkage writes, keep passing the outer form block uid; the backend resolves the inner form-grid slot automatically.";
139
141
  const REACTION_OUTER_FORM_TARGET_NOTE = "Pass the outer form block uid, not the inner form-grid uid.";
140
- const REQUEST_POPUP_TRY_TEMPLATE_DESCRIPTION = "When true and no explicit popup.template is provided, the backend tries to auto-select one compatible popup template. Non-relation scenes only match non-relation templates. Relation scenes prefer same-relation templates first, then compatible non-relation templates. When no candidate matches, the request silently falls back to local/default popup behavior.";
141
- const REQUEST_POPUP_SAVE_AS_TEMPLATE_DESCRIPTION = "Immediately saves explicit local popup blocks as a popup template and converts the created popup to that template reference. Requires local `popup.blocks` and cannot be combined with `popup.template` or `popup.tryTemplate`. When `popup.saveAsTemplate.local` is provided, later `popup.template.local` references in the same compose/applyBlueprint call can reuse that saved popup template.";
142
+ const REQUEST_POPUP_TRY_TEMPLATE_DESCRIPTION = "When true and no explicit popup.template is provided, the backend tries to auto-select one compatible popup template. Non-relation scenes only match non-relation templates. Relation scenes prefer same-relation templates first, then compatible non-relation templates. When no candidate matches, the request falls back to local/default popup behavior. If popup.saveAsTemplate is also provided, a hit reuses the matched template directly, while a miss requires explicit local `popup.blocks` so the fallback popup can be saved as a template.";
143
+ const REQUEST_POPUP_SAVE_AS_TEMPLATE_DESCRIPTION = "Immediately saves explicit local popup blocks as a popup template and converts the created popup to that template reference. It cannot be combined with `popup.template`. When combined with `popup.tryTemplate`, a hit binds the matched template without creating a new one, and `popup.saveAsTemplate.local` resolves to that final bound template uid. When `popup.tryTemplate` misses, explicit local `popup.blocks` are required so the fallback popup can be saved. Later `popup.template.local` references in the same compose/applyBlueprint call reuse that final bound template uid.";
144
+ const APPLY_BLUEPRINT_POPUP_TRY_TEMPLATE_DESCRIPTION = "When true and no explicit popup.template is provided, applyBlueprint asks the backend to auto-select one compatible popup template. Non-relation scenes only match non-relation templates. Relation scenes prefer same-relation templates first, then compatible non-relation templates. When no candidate matches, inline popup blocks/layout still act as the fallback if present. If popup.saveAsTemplate is also provided, a hit reuses the matched template directly, while a miss requires explicit local `popup.blocks` so the fallback popup can be saved as a template.";
145
+ const APPLY_BLUEPRINT_POPUP_SAVE_AS_TEMPLATE_DESCRIPTION = "Immediately saves explicit local popup blocks as a popup template and converts the created popup to that template reference. It cannot be combined with `popup.template`. When combined with `popup.tryTemplate`, a hit binds the matched template without creating a new one, and `popup.saveAsTemplate.local` resolves to that final bound template uid. When `popup.tryTemplate` misses, explicit local `popup.blocks` are required so the fallback popup can be saved. Later `popup.template.local` references in the same blueprint reuse that final bound template uid.";
142
146
  function ref(name) {
143
147
  return {
144
148
  $ref: `#/components/schemas/${name}`
@@ -464,7 +468,7 @@ const actionDocs = {
464
468
  tags: [FLOW_SURFACES_TAG],
465
469
  summary: "Apply a page blueprint to create or replace one Modern page",
466
470
  description: valuesCompatibilityNote(
467
- 'Accepts one simplified JSON page blueprint and compiles it to internal flow-surface operations. The public blueprint describes page structure (`create` or `replace`, page metadata, ordered tabs, blocks, fields, actions, inline popups, optional reusable assets) and optional top-level `reaction.items[]` for whole-page interaction authoring. Each reaction item targets an explicit local key / bind key produced by the same blueprint run. Only explicitly listed reaction items are written. `rules: []` clears the targeted slot. Repeating the same `(type, target)` reaction slot in one blueprint is invalid. In `replace`, reaction targets always bind to the newly produced blueprint result, not historical nodes from the previous page version; if a slot must exist in the resulting surface, include it explicitly instead of relying on omission. Localized reaction edits on an existing surface should use `getReactionMeta` + `set*Rules` instead of applying a whole page blueprint again. The request body is that page-document JSON object itself and must not be JSON-stringified. Wrong: `{ "requestBody": "{\\"version\\":\\"1\\"}" }`. Internal planning details stay hidden. In `create`, `navigation.group.routeId` is the preferred way to target an existing menu group. It is exact-targeting only and cannot be mixed with existing-group metadata such as `icon`, `tooltip`, or `hideInMenu`; applyBlueprint create mode does not mutate existing group metadata, so callers should use `updateMenu` separately when that is required. When only `navigation.group.title` is provided, applyBlueprint reuses one existing same-title group when it is unique, creates a new group when none exists, and rejects ambiguous multi-match cases. Same-title reuse is title-only; if an existing group\'s metadata must change, use low-level `updateMenu` instead of applyBlueprint create. `replace` uses `target.pageSchemaUid`, updates only the explicit page-level fields provided in `page`, maps blueprint tabs to existing route-backed tab slots by index, rewrites each slot in order, removes trailing old tabs, and appends extra new tabs when needed. Tab and block keys are optional in the public blueprint; omit them unless custom layout or cross-block targeting needs a stable in-document identifier. `layout` is only allowed on tabs and inline popup documents; blocks themselves do not accept a `layout` property. Public applyBlueprint blocks do not support generic `form`; use `editForm` or `createForm`. Inline popup documents may set `popup.tryTemplate=true` to ask the backend for the best compatible popup template before falling back to local popup content. Inline popup documents may also set `popup.saveAsTemplate={ name, description, local? }` to convert the newly created local popup into a saved popup template immediately, and later inline popups in the same blueprint may reuse that freshly created template through `popup.template={ local, mode }`. Custom `edit` popups that provide `popup.blocks` must include exactly one `editForm` block; that `editForm` may omit `resource` and then inherits the opener\'s current-record context. When layout is omitted, applyBlueprint auto-generates a simple top-to-bottom layout. When a `replace` run expands a page to multiple tabs while the current page still has `enableTabs=false`, callers must set `page.enableTabs=true` explicitly. The response hides execution internals and returns only the resolved page target and final surface readback.'
471
+ 'Accepts one simplified JSON page blueprint and compiles it to internal flow-surface operations. The public blueprint describes page structure (`create` or `replace`, page metadata, ordered tabs, blocks, fields, actions, inline popups, optional reusable assets) and optional top-level `reaction.items[]` for whole-page interaction authoring. Each reaction item targets an explicit local key / bind key produced by the same blueprint run. Only explicitly listed reaction items are written. `rules: []` clears the targeted slot. Repeating the same `(type, target)` reaction slot in one blueprint is invalid. In `replace`, reaction targets always bind to the newly produced blueprint result, not historical nodes from the previous page version; if a slot must exist in the resulting surface, include it explicitly instead of relying on omission. Localized reaction edits on an existing surface should use `getReactionMeta` + `set*Rules` instead of applying a whole page blueprint again. The request body is that page-document JSON object itself and must not be JSON-stringified. Wrong: `{ "requestBody": "{\\"version\\":\\"1\\"}" }`. Internal planning details stay hidden. In `create`, `navigation.group.routeId` is the preferred way to target an existing menu group. It is exact-targeting only and cannot be mixed with existing-group metadata such as `icon`, `tooltip`, or `hideInMenu`; applyBlueprint create mode does not mutate existing group metadata, so callers should use `updateMenu` separately when that is required. When only `navigation.group.title` is provided, applyBlueprint reuses one existing same-title group when it is unique, creates a new group when none exists, and rejects ambiguous multi-match cases. Same-title reuse is title-only; if an existing group\'s metadata must change, use low-level `updateMenu` instead of applyBlueprint create. `replace` uses `target.pageSchemaUid`, updates only the explicit page-level fields provided in `page`, maps blueprint tabs to existing route-backed tab slots by index, rewrites each slot in order, removes trailing old tabs, and appends extra new tabs when needed. Tab and block keys are optional in the public blueprint; omit them unless custom layout or cross-block targeting needs a stable in-document identifier. `layout` is only allowed on tabs and inline popup documents; blocks themselves do not accept a `layout` property. Public applyBlueprint blocks do not support generic `form`; use `editForm` or `createForm`. Direct `table` / `list` / `gridCard` blocks may also provide block-level `defaultFilter`, which backfills the default `filter` action `settings.defaultFilter`; explicit filter-action `settings.defaultFilter` still wins. Inline popup documents may set `popup.tryTemplate=true` to ask the backend for the best compatible popup template before falling back to local popup content. Inline popup documents may also combine `popup.tryTemplate` with `popup.saveAsTemplate={ name, description, local? }`: a hit binds the matched template immediately and lets later inline popups in the same blueprint reuse that final bound template through `popup.template={ local, mode }`, while a miss requires explicit local `popup.blocks` so the fallback popup can be saved and reused. Custom `edit` popups that provide `popup.blocks` must include exactly one `editForm` block; that `editForm` may omit `resource` and then inherits the opener\'s current-record context. When layout is omitted, applyBlueprint auto-generates a simple top-to-bottom layout. When a `replace` run expands a page to multiple tabs while the current page still has `enableTabs=false`, callers must set `page.enableTabs=true` explicitly. The response hides execution internals and returns only the resolved page target and final surface readback.'
468
472
  ),
469
473
  requestBody: {
470
474
  required: true,
@@ -522,7 +526,7 @@ const actionDocs = {
522
526
  tags: [FLOW_SURFACES_TAG],
523
527
  summary: "Compose blocks, fields, actions and simple layout under an existing surface",
524
528
  description: valuesCompatibilityNote(
525
- 'Organizes content under an existing page/tab/grid/popup using the public block/action/field semantics as a low-level building primitive. The caller does not need to pass raw `use`, `fieldUse`, or `stepParams`. Blocks, fields, and actions can declare stable `key` values, and the compose result returns the same keys so later orchestration can reference nested popup or form nodes deterministically. Blocks may be created from `template`, and form templates can set `template.usage="fields"` to import only their grid fields. Popup-capable actions and fields may reuse `popup.template`, set `popup.tryTemplate=true` to ask the backend for one compatible popup template before falling back to local/default popup behavior, or set `popup.saveAsTemplate={ name, description, local? }` to immediately save newly created local popup content as a popup template reference. Later popup-capable fields and actions in the same compose call may reuse that freshly created template through `popup.template={ local, mode }`. For collection blocks under a popup, check `catalog.blocks[].resourceBindings` first. The `select / subForm / bulkEditForm` scene is currently recognized only, and popup collection block creation is not supported in that scene. For approval surfaces, use `applyApprovalBlueprint` first to bootstrap or replace the bound approval root; use `compose` only after that root already exists.'
529
+ 'Organizes content under an existing page/tab/grid/popup using the public block/action/field semantics as a low-level building primitive. The caller does not need to pass raw `use`, `fieldUse`, or `stepParams`. Blocks, fields, and actions can declare stable `key` values, and the compose result returns the same keys so later orchestration can reference nested popup or form nodes deterministically. Direct `table` / `list` / `gridCard` blocks may provide block-level `defaultFilter`, which backfills the default `filter` action `settings.defaultFilter`; explicit filter-action `settings.defaultFilter` still wins. Blocks may be created from `template`, and form templates can set `template.usage="fields"` to import only their grid fields. Popup-capable actions and fields may reuse `popup.template`, set `popup.tryTemplate=true` to ask the backend for one compatible popup template before falling back to local/default popup behavior, or combine `popup.tryTemplate` with `popup.saveAsTemplate={ name, description, local? }`: a hit binds the matched template immediately and lets later popup-capable fields/actions in the same compose call reuse that final bound template through `popup.template={ local, mode }`, while a miss requires explicit local `popup.blocks` so the fallback popup can be saved and reused. For collection blocks under a popup, check `catalog.blocks[].resourceBindings` first. The `select / subForm / bulkEditForm` scene is currently recognized only, and popup collection block creation is not supported in that scene. For approval surfaces, use `applyApprovalBlueprint` first to bootstrap or replace the bound approval root; use `compose` only after that root already exists.'
526
530
  ),
527
531
  requestBody: {
528
532
  required: true,
@@ -762,7 +766,7 @@ const actionDocs = {
762
766
  tags: [FLOW_SURFACES_TAG],
763
767
  summary: "Add a block under a surface or grid container",
764
768
  description: valuesCompatibilityNote(
765
- 'Creates a block by catalog key or an explicitly supported block use. It can also create from `template`, using `mode="reference"` or `mode="copy"`. Form templates may set `template.usage="fields"` to create a fresh host block and import only its grid fields. Popup-capable host nodes automatically receive the popup shell. For collection blocks under a popup, check `catalog.blocks[].resourceBindings` first, then pass the semantic `resource.binding`. The lower-level `resourceInit` is still accepted for compatibility, but the server validates it against popup semantics. `resource` and `resourceInit` are mutually exclusive. The `select / subForm / bulkEditForm` scene is currently recognized only, and popup collection block creation is not supported in that scene. Direct add does not accept raw `props` / `decoratorProps` / `stepParams` / `flowRegistry`. Use `settings` and reuse the public configuration semantics from `configure.changes` plus the catalog item/node `configureOptions`. Approval block keys are only exposed under approval grids and do not auto-create an approval root; bootstrap approval surfaces with `applyApprovalBlueprint` first.'
769
+ 'Creates a block by catalog key or an explicitly supported block use. It can also create from `template`, using `mode="reference"` or `mode="copy"`. Form templates may set `template.usage="fields"` to create a fresh host block and import only its grid fields. Popup-capable host nodes automatically receive the popup shell. For collection blocks under a popup, check `catalog.blocks[].resourceBindings` first, then pass the semantic `resource.binding`. The lower-level `resourceInit` is still accepted for compatibility, but the server validates it against popup semantics. `resource` and `resourceInit` are mutually exclusive. Direct `table` / `list` / `gridCard` creation may also provide block-level `defaultFilter`, which backfills the auto-created default filter action. Legacy `defaultActionSettings.filter.defaultFilter` is still supported for compatibility and wins when both are provided. The `select / subForm / bulkEditForm` scene is currently recognized only, and popup collection block creation is not supported in that scene. Direct add does not accept raw `props` / `decoratorProps` / `stepParams` / `flowRegistry`. Use `settings` and reuse the public configuration semantics from `configure.changes` plus the catalog item/node `configureOptions`. Approval block keys are only exposed under approval grids and do not auto-create an approval root; bootstrap approval surfaces with `applyApprovalBlueprint` first.'
766
770
  ),
767
771
  requestBody: {
768
772
  required: true,
@@ -785,6 +789,10 @@ const actionDocs = {
785
789
  jsBlock: {
786
790
  summary: "Create a JS block directly under a page/tab/grid container",
787
791
  value: import_flow_surfaces.flowSurfaceExamples.addJsBlock
792
+ },
793
+ tableDefaultFilters: {
794
+ summary: "Create a table and configure the auto-created default filter action",
795
+ value: import_flow_surfaces.flowSurfaceExamples.addTableBlockWithDefaultFilters
788
796
  }
789
797
  }
790
798
  }
@@ -796,7 +804,7 @@ const actionDocs = {
796
804
  tags: [FLOW_SURFACES_TAG],
797
805
  summary: "Add a field wrapper and inner field under a field container",
798
806
  description: valuesCompatibilityNote(
799
- "Automatically derives the wrapper/inner-field combination from the container use and the field interface. It can also import a form template through `template`, using `reference` or `copy` mode for the target form grid. `fieldUse` is only kept as a compatibility check and is no longer an arbitrary creation entry. Direct add does not accept raw `wrapperProps` / `fieldProps` / `props` / `decoratorProps` / `stepParams` / `flowRegistry`. Use `settings` and reuse the public configuration semantics from `configure.changes` plus the catalog item/node `configureOptions`. Popup-capable fields can also pass `popup` directly to append a local popup subtree or `popup.template` to reuse a saved popup template in `reference` / `copy` mode. `popup.tryTemplate=true` asks the backend to auto-select a compatible popup template first, preferring the same relation when one exists and otherwise falling back to a compatible non-relation template. `popup.saveAsTemplate={ name, description }` saves explicit local popup blocks as a popup template and converts the created popup to that reference immediately. When `popup.template` is present, `popup.title` still applies, while local `popup.mode` / `popup.blocks` / `popup.layout` are accepted but ignored. If local openView is enabled but no popup content is provided, the server fills in the popup page/tab/grid shell automatically. Under approval forms, direct field creation preserves the `PatternFormFieldModel` inner node semantics and does not allow standalone `jsItem`."
807
+ "Automatically derives the wrapper/inner-field combination from the container use and the field interface. It can also import a form template through `template`, using `reference` or `copy` mode for the target form grid. `fieldUse` is only kept as a compatibility check and is no longer an arbitrary creation entry. Direct add does not accept raw `wrapperProps` / `fieldProps` / `props` / `decoratorProps` / `stepParams` / `flowRegistry`. Use `settings` and reuse the public configuration semantics from `configure.changes` plus the catalog item/node `configureOptions`. Popup-capable fields can also pass `popup` directly to append a local popup subtree or `popup.template` to reuse a saved popup template in `reference` / `copy` mode. `popup.tryTemplate=true` asks the backend to auto-select a compatible popup template first, preferring the same relation when one exists and otherwise falling back to a compatible non-relation template. It may be combined with `popup.saveAsTemplate={ name, description }`: a hit reuses the matched template directly, while a miss requires explicit local `popup.blocks` so the fallback popup can be saved as a template reference. When `popup.template` is present, `popup.title` still applies, while local `popup.mode` / `popup.blocks` / `popup.layout` are accepted but ignored. If local openView is enabled but no popup content is provided, the server fills in the popup page/tab/grid shell automatically. Under approval forms, direct field creation preserves the `PatternFormFieldModel` inner node semantics and does not allow standalone `jsItem`."
800
808
  ),
801
809
  requestBody: {
802
810
  required: true,
@@ -846,7 +854,7 @@ const actionDocs = {
846
854
  tags: [FLOW_SURFACES_TAG],
847
855
  summary: "Add a non-record action under an allowed block/form/filter-form/action-panel container",
848
856
  description: valuesCompatibilityNote(
849
- "Only non-record actions that are public in the catalog and visible in the current container may be created. Typical cases include table block actions, form submit, filter-form reset, and action-panel actions. Use `addRecordAction` for record actions. Direct add does not accept raw `props` / `decoratorProps` / `stepParams` / `flowRegistry`. Use `settings` and reuse `configure.changes` plus the catalog item/node `configureOptions`. Popup-capable actions may also include `popup` directly to append a popup subtree or `popup.template` to reuse a saved popup template in `reference` / `copy` mode. `popup.tryTemplate=true` asks the backend to auto-select a compatible popup template first, preferring the same relation when one exists and otherwise falling back to a compatible non-relation template. `popup.saveAsTemplate={ name, description }` saves explicit local popup blocks as a popup template and converts the created popup to that reference immediately. When `popup.template` is present, `popup.title` still applies, while local `popup.mode` / `popup.blocks` / `popup.layout` are accepted but ignored. Approval action keys are singleton within one approval form or process form, and flowSurfaces reconciles the related workflow/node runtime config after successful writes."
857
+ "Only non-record actions that are public in the catalog and visible in the current container may be created. Typical cases include table block actions, form submit, filter-form reset, and action-panel actions. Use `addRecordAction` for record actions. Direct add does not accept raw `props` / `decoratorProps` / `stepParams` / `flowRegistry`. Use `settings` and reuse `configure.changes` plus the catalog item/node `configureOptions`. Popup-capable actions may also include `popup` directly to append a popup subtree or `popup.template` to reuse a saved popup template in `reference` / `copy` mode. `popup.tryTemplate=true` asks the backend to auto-select a compatible popup template first, preferring the same relation when one exists and otherwise falling back to a compatible non-relation template. It may be combined with `popup.saveAsTemplate={ name, description }`: a hit reuses the matched template directly, while a miss requires explicit local `popup.blocks` so the fallback popup can be saved as a template reference. When `popup.template` is present, `popup.title` still applies, while local `popup.mode` / `popup.blocks` / `popup.layout` are accepted but ignored. Approval action keys are singleton within one approval form or process form, and flowSurfaces reconciles the related workflow/node runtime config after successful writes."
850
858
  ),
851
859
  requestBody: {
852
860
  required: true,
@@ -888,7 +896,7 @@ const actionDocs = {
888
896
  tags: [FLOW_SURFACES_TAG],
889
897
  summary: "Add a record action under a record-capable owner target",
890
898
  description: valuesCompatibilityNote(
891
- `Only record actions that are public in the catalog and visible in the current container may be created. The public target must be a record-capable owner target such as table/details/list/gridCard. Do not pass internal container uids such as a table actions column or a list/gridCard item. ${ADD_CHILD_TREE_TABLE_NOTE} Direct add does not accept raw \`props\` / \`decoratorProps\` / \`stepParams\` / \`flowRegistry\`. Use \`settings\` and reuse \`configure.changes\` plus the catalog item/node \`configureOptions\`. Popup-capable actions may also include \`popup\` directly to append a popup subtree or \`popup.template\` to reuse a saved popup template in \`reference\` / \`copy\` mode. \`popup.tryTemplate=true\` asks the backend to auto-select a compatible popup template first, preferring the same relation when one exists and otherwise falling back to a compatible non-relation template. \`popup.saveAsTemplate={ name, description }\` saves explicit local popup blocks as a popup template and converts the created popup to that reference immediately. When \`popup.template\` is present, \`popup.title\` still applies, while local \`popup.mode\` / \`popup.blocks\` / \`popup.layout\` are accepted but ignored.`
899
+ `Only record actions that are public in the catalog and visible in the current container may be created. The public target must be a record-capable owner target such as table/details/list/gridCard. Do not pass internal container uids such as a table actions column or a list/gridCard item. ${ADD_CHILD_TREE_TABLE_NOTE} Direct add does not accept raw \`props\` / \`decoratorProps\` / \`stepParams\` / \`flowRegistry\`. Use \`settings\` and reuse \`configure.changes\` plus the catalog item/node \`configureOptions\`. Popup-capable actions may also include \`popup\` directly to append a popup subtree or \`popup.template\` to reuse a saved popup template in \`reference\` / \`copy\` mode. \`popup.tryTemplate=true\` asks the backend to auto-select a compatible popup template first, preferring the same relation when one exists and otherwise falling back to a compatible non-relation template. It may be combined with \`popup.saveAsTemplate={ name, description }\`: a hit reuses the matched template directly, while a miss requires explicit local \`popup.blocks\` so the fallback popup can be saved as a template reference. When \`popup.template\` is present, \`popup.title\` still applies, while local \`popup.mode\` / \`popup.blocks\` / \`popup.layout\` are accepted but ignored.`
892
900
  ),
893
901
  requestBody: {
894
902
  required: true,
@@ -926,7 +934,7 @@ const actionDocs = {
926
934
  tags: [FLOW_SURFACES_TAG],
927
935
  summary: "Add multiple blocks sequentially under the same target",
928
936
  description: valuesCompatibilityNote(
929
- "Creates multiple blocks sequentially under the same target. Each item may include `settings` or `template`, but raw `props` / `decoratorProps` / `stepParams` / `flowRegistry` are not accepted. Partial-success semantics apply: a failure in one item does not roll back the others. Results are returned in input order as `index/key/ok/result/error`, and each `error` always includes `message/type/code/status`."
937
+ "Creates multiple blocks sequentially under the same target. Each item may include `settings`, `defaultFilter`, `defaultActionSettings`, or `template`, but raw `props` / `decoratorProps` / `stepParams` / `flowRegistry` are not accepted. Direct `table` / `list` / `gridCard` items may use block-level `defaultFilter` to backfill the auto-created default filter action. Legacy `defaultActionSettings.filter.defaultFilter` is still supported for compatibility and wins when both are provided. Partial-success semantics apply: a failure in one item does not roll back the others. Results are returned in input order as `index/key/ok/result/error`, and each `error` always includes `message/type/code/status`."
930
938
  ),
931
939
  requestBody: requestBody("FlowSurfaceAddBlocksRequest", import_flow_surfaces.flowSurfaceExamples.addBlocks),
932
940
  responses: responses("FlowSurfaceAddBlocksResult")
@@ -935,7 +943,7 @@ const actionDocs = {
935
943
  tags: [FLOW_SURFACES_TAG],
936
944
  summary: "Add multiple fields sequentially under the same target",
937
945
  description: valuesCompatibilityNote(
938
- "Creates multiple fields sequentially under the same target. The request may either import one shared `template` or create explicit `fields[]`. Each item may include `settings`, and popup-capable fields may also include `popup` directly for local popup content or `popup.template` to reuse a saved popup template in `reference` / `copy` mode. `popup.tryTemplate=true` asks the backend to auto-select a compatible popup template first, preferring the same relation when one exists and otherwise falling back to a compatible non-relation template. `popup.saveAsTemplate={ name, description }` saves explicit local popup blocks as a popup template and converts the created popup to that reference immediately. When `popup.template` is present, `popup.title` still applies, while local `popup.mode` / `popup.blocks` / `popup.layout` are accepted but ignored. Raw `wrapperProps` / `fieldProps` / `props` / `decoratorProps` / `stepParams` / `flowRegistry` are not accepted. Partial-success semantics apply: a failure in one item does not roll back the others. Results are returned in input order as `index/key/ok/result/error`, and each `error` always includes `message/type/code/status`."
946
+ "Creates multiple fields sequentially under the same target. The request may either import one shared `template` or create explicit `fields[]`. Each item may include `settings`, and popup-capable fields may also include `popup` directly for local popup content or `popup.template` to reuse a saved popup template in `reference` / `copy` mode. `popup.tryTemplate=true` asks the backend to auto-select a compatible popup template first, preferring the same relation when one exists and otherwise falling back to a compatible non-relation template. It may be combined with `popup.saveAsTemplate={ name, description }`: a hit reuses the matched template directly, while a miss requires explicit local `popup.blocks` so the fallback popup can be saved as a template reference. When `popup.template` is present, `popup.title` still applies, while local `popup.mode` / `popup.blocks` / `popup.layout` are accepted but ignored. Raw `wrapperProps` / `fieldProps` / `props` / `decoratorProps` / `stepParams` / `flowRegistry` are not accepted. Partial-success semantics apply: a failure in one item does not roll back the others. Results are returned in input order as `index/key/ok/result/error`, and each `error` always includes `message/type/code/status`."
939
947
  ),
940
948
  requestBody: requestBody("FlowSurfaceAddFieldsRequest", import_flow_surfaces.flowSurfaceExamples.addFields),
941
949
  responses: responses("FlowSurfaceAddFieldsResult")
@@ -944,7 +952,7 @@ const actionDocs = {
944
952
  tags: [FLOW_SURFACES_TAG],
945
953
  summary: "Add multiple non-record actions sequentially under the same target",
946
954
  description: valuesCompatibilityNote(
947
- "Creates multiple non-record actions sequentially under the same target. Each item may include `settings`, and popup-capable actions may also include `popup` directly for local popup content or `popup.template` to reuse a saved popup template in `reference` / `copy` mode. `popup.tryTemplate=true` asks the backend to auto-select a compatible popup template first, preferring the same relation when one exists and otherwise falling back to a compatible non-relation template. `popup.saveAsTemplate={ name, description }` saves explicit local popup blocks as a popup template and converts the created popup to that reference immediately. When `popup.template` is present, `popup.title` still applies, while local `popup.mode` / `popup.blocks` / `popup.layout` are accepted but ignored. Raw `props` / `decoratorProps` / `stepParams` / `flowRegistry` are not accepted. Partial-success semantics apply. Record actions do not belong to this entry and should use `addRecordActions` instead. Each failed item always returns an `error` with `message/type/code/status`."
955
+ "Creates multiple non-record actions sequentially under the same target. Each item may include `settings`, and popup-capable actions may also include `popup` directly for local popup content or `popup.template` to reuse a saved popup template in `reference` / `copy` mode. `popup.tryTemplate=true` asks the backend to auto-select a compatible popup template first, preferring the same relation when one exists and otherwise falling back to a compatible non-relation template. It may be combined with `popup.saveAsTemplate={ name, description }`: a hit reuses the matched template directly, while a miss requires explicit local `popup.blocks` so the fallback popup can be saved as a template reference. When `popup.template` is present, `popup.title` still applies, while local `popup.mode` / `popup.blocks` / `popup.layout` are accepted but ignored. Raw `props` / `decoratorProps` / `stepParams` / `flowRegistry` are not accepted. Partial-success semantics apply. Record actions do not belong to this entry and should use `addRecordActions` instead. Each failed item always returns an `error` with `message/type/code/status`."
948
956
  ),
949
957
  requestBody: requestBody("FlowSurfaceAddActionsRequest", import_flow_surfaces.flowSurfaceExamples.addActions),
950
958
  responses: responses("FlowSurfaceAddActionsResult")
@@ -953,7 +961,7 @@ const actionDocs = {
953
961
  tags: [FLOW_SURFACES_TAG],
954
962
  summary: "Add multiple record actions sequentially under the same record-capable owner target",
955
963
  description: valuesCompatibilityNote(
956
- `Creates multiple record actions sequentially under the same target. The target must be a record-capable owner target, and the server resolves the canonical record-action container automatically. Do not pass internal container uids such as a table actions column or a list/gridCard item. ${ADD_CHILD_TREE_TABLE_NOTE} Each item may include \`settings\`, and popup-capable actions may also include \`popup\` directly for local popup content or \`popup.template\` to reuse a saved popup template in \`reference\` / \`copy\` mode. \`popup.tryTemplate=true\` asks the backend to auto-select a compatible popup template first, preferring the same relation when one exists and otherwise falling back to a compatible non-relation template. \`popup.saveAsTemplate={ name, description }\` saves explicit local popup blocks as a popup template and converts the created popup to that reference immediately. When \`popup.template\` is present, \`popup.title\` still applies, while local \`popup.mode\` / \`popup.blocks\` / \`popup.layout\` are accepted but ignored. Raw \`props\` / \`decoratorProps\` / \`stepParams\` / \`flowRegistry\` are not accepted. Partial-success semantics apply: a failure in one item does not roll back the others. Each failed item always returns an \`error\` with \`message/type/code/status\`.`
964
+ `Creates multiple record actions sequentially under the same target. The target must be a record-capable owner target, and the server resolves the canonical record-action container automatically. Do not pass internal container uids such as a table actions column or a list/gridCard item. ${ADD_CHILD_TREE_TABLE_NOTE} Each item may include \`settings\`, and popup-capable actions may also include \`popup\` directly for local popup content or \`popup.template\` to reuse a saved popup template in \`reference\` / \`copy\` mode. \`popup.tryTemplate=true\` asks the backend to auto-select a compatible popup template first, preferring the same relation when one exists and otherwise falling back to a compatible non-relation template. It may be combined with \`popup.saveAsTemplate={ name, description }\`: a hit reuses the matched template directly, while a miss requires explicit local \`popup.blocks\` so the fallback popup can be saved as a template reference. When \`popup.template\` is present, \`popup.title\` still applies, while local \`popup.mode\` / \`popup.blocks\` / \`popup.layout\` are accepted but ignored. Raw \`props\` / \`decoratorProps\` / \`stepParams\` / \`flowRegistry\` are not accepted. Partial-success semantics apply: a failure in one item does not roll back the others. Each failed item always returns an \`error\` with \`message/type/code/status\`.`
957
965
  ),
958
966
  requestBody: {
959
967
  required: true,
@@ -1318,6 +1326,27 @@ const schemas = {
1318
1326
  additionalProperties: false,
1319
1327
  example: FILTER_GROUP_EXAMPLE
1320
1328
  },
1329
+ FlowSurfaceDefaultFilterActionSettings: {
1330
+ type: "object",
1331
+ properties: {
1332
+ filterableFieldNames: {
1333
+ type: "array",
1334
+ items: {
1335
+ type: "string"
1336
+ }
1337
+ },
1338
+ defaultFilter: ref("FlowSurfaceFilterGroup")
1339
+ },
1340
+ additionalProperties: true
1341
+ },
1342
+ FlowSurfaceDefaultActionSettings: {
1343
+ type: "object",
1344
+ description: DIRECT_ADD_DEFAULT_FILTER_COMPAT_DESCRIPTION,
1345
+ properties: {
1346
+ filter: ref("FlowSurfaceDefaultFilterActionSettings")
1347
+ },
1348
+ additionalProperties: false
1349
+ },
1321
1350
  FlowSurfaceEventCapabilities: {
1322
1351
  type: "object",
1323
1352
  properties: {
@@ -2239,11 +2268,11 @@ const schemas = {
2239
2268
  template: ref("FlowSurfacePopupTemplateRef"),
2240
2269
  tryTemplate: {
2241
2270
  type: "boolean",
2242
- description: "When true and no explicit popup.template is provided, the backend tries to auto-select one compatible popup template. Non-relation scenes only match non-relation templates. Relation scenes prefer same-relation templates first, then compatible non-relation templates. When no candidate matches, the request silently falls back to local/default popup behavior."
2271
+ description: REQUEST_POPUP_TRY_TEMPLATE_DESCRIPTION
2243
2272
  },
2244
2273
  saveAsTemplate: {
2245
2274
  allOf: [ref("FlowSurfacePopupSaveAsTemplate")],
2246
- description: "Immediately saves explicit local popup blocks as a popup template and converts the created popup to that template reference. Requires local `popup.blocks` and cannot be combined with `popup.template` or `popup.tryTemplate`."
2275
+ description: REQUEST_POPUP_SAVE_AS_TEMPLATE_DESCRIPTION
2247
2276
  },
2248
2277
  mode: {
2249
2278
  type: "string",
@@ -2280,7 +2309,7 @@ const schemas = {
2280
2309
  template: ref("FlowSurfacePopupTemplateRef"),
2281
2310
  tryTemplate: {
2282
2311
  type: "boolean",
2283
- description: "When true and no explicit popup.template is provided, the backend tries to auto-select one compatible popup template. Non-relation scenes only match non-relation templates. Relation scenes prefer same-relation templates first, then compatible non-relation templates. When no candidate matches, the request silently falls back to local/default popup behavior."
2312
+ description: REQUEST_POPUP_TRY_TEMPLATE_DESCRIPTION
2284
2313
  },
2285
2314
  defaultType: {
2286
2315
  type: "string",
@@ -2289,7 +2318,7 @@ const schemas = {
2289
2318
  },
2290
2319
  saveAsTemplate: {
2291
2320
  allOf: [ref("FlowSurfacePopupSaveAsTemplate")],
2292
- description: "Immediately saves explicit local popup blocks as a popup template and converts the created popup to that template reference. Requires local `popup.blocks` and cannot be combined with `popup.template` or `popup.tryTemplate`."
2321
+ description: REQUEST_POPUP_SAVE_AS_TEMPLATE_DESCRIPTION
2293
2322
  },
2294
2323
  mode: {
2295
2324
  type: "string",
@@ -2388,6 +2417,10 @@ const schemas = {
2388
2417
  template: ref("FlowSurfaceBlockTemplateRef"),
2389
2418
  resource: ref("FlowSurfaceBlockResourceInput"),
2390
2419
  settings: ANY_OBJECT_SCHEMA,
2420
+ defaultFilter: {
2421
+ allOf: [ref("FlowSurfaceFilterGroup")],
2422
+ description: PUBLIC_DATA_SURFACE_BLOCK_DEFAULT_FILTER_DESCRIPTION
2423
+ },
2391
2424
  fields: {
2392
2425
  type: "array",
2393
2426
  items: ref("FlowSurfaceComposeFieldSpec")
@@ -3308,7 +3341,7 @@ const schemas = {
3308
3341
  template: ref("FlowSurfaceRequestPopupTemplateRef"),
3309
3342
  tryTemplate: {
3310
3343
  type: "boolean",
3311
- description: "When true and no explicit popup.template is provided, applyBlueprint asks the backend to auto-select one compatible popup template. Non-relation scenes only match non-relation templates. Relation scenes prefer same-relation templates first, then compatible non-relation templates. When no candidate matches, inline popup blocks/layout still act as the fallback if present."
3344
+ description: APPLY_BLUEPRINT_POPUP_TRY_TEMPLATE_DESCRIPTION
3312
3345
  },
3313
3346
  defaultType: {
3314
3347
  type: "string",
@@ -3317,7 +3350,7 @@ const schemas = {
3317
3350
  },
3318
3351
  saveAsTemplate: {
3319
3352
  allOf: [ref("FlowSurfaceRequestPopupSaveAsTemplate")],
3320
- description: "Immediately saves explicit local popup blocks as a popup template and converts the created popup to that template reference. Requires local `popup.blocks` and cannot be combined with `popup.template` or `popup.tryTemplate`. When `popup.saveAsTemplate.local` is provided, later `popup.template.local` references in the same blueprint can reuse that saved popup template."
3353
+ description: APPLY_BLUEPRINT_POPUP_SAVE_AS_TEMPLATE_DESCRIPTION
3321
3354
  },
3322
3355
  blocks: {
3323
3356
  type: "array",
@@ -3442,6 +3475,10 @@ const schemas = {
3442
3475
  resource: ref("FlowSurfaceBlockResourceInput"),
3443
3476
  template: ref("FlowSurfaceBlockTemplateRef"),
3444
3477
  settings: ANY_OBJECT_SCHEMA,
3478
+ defaultFilter: {
3479
+ allOf: [ref("FlowSurfaceFilterGroup")],
3480
+ description: PUBLIC_DATA_SURFACE_BLOCK_DEFAULT_FILTER_DESCRIPTION
3481
+ },
3445
3482
  fields: {
3446
3483
  type: "array",
3447
3484
  items: ref("FlowSurfaceApplyBlueprintFieldSpec")
@@ -3550,10 +3587,82 @@ const schemas = {
3550
3587
  },
3551
3588
  additionalProperties: false
3552
3589
  },
3590
+ FlowSurfaceApplyBlueprintDefaultFieldGroup: {
3591
+ type: "object",
3592
+ required: ["title", "fields"],
3593
+ description: "Collection-level candidate field group used only for backend-generated default popup content. Scenario-specific filtering may remove fields or whole groups.",
3594
+ properties: {
3595
+ key: { type: "string" },
3596
+ title: { type: "string" },
3597
+ fields: {
3598
+ type: "array",
3599
+ minItems: 1,
3600
+ items: { type: "string" }
3601
+ }
3602
+ },
3603
+ additionalProperties: false
3604
+ },
3605
+ FlowSurfaceApplyBlueprintDefaultPopupName: {
3606
+ type: "object",
3607
+ required: ["name", "description"],
3608
+ description: "Default popup metadata with required `name` and `description`. Do not place blocks, fields, fieldGroups, layout, or other content here.",
3609
+ properties: {
3610
+ name: { type: "string" },
3611
+ description: { type: "string" }
3612
+ },
3613
+ additionalProperties: false
3614
+ },
3615
+ FlowSurfaceApplyBlueprintDefaultPopupActionMap: {
3616
+ type: "object",
3617
+ properties: {
3618
+ view: ref("FlowSurfaceApplyBlueprintDefaultPopupName"),
3619
+ addNew: ref("FlowSurfaceApplyBlueprintDefaultPopupName"),
3620
+ edit: ref("FlowSurfaceApplyBlueprintDefaultPopupName")
3621
+ },
3622
+ additionalProperties: false
3623
+ },
3624
+ FlowSurfaceApplyBlueprintDefaultPopups: {
3625
+ type: "object",
3626
+ description: "Popup defaults with required `name` and `description` metadata. Use `associations`, not `relations`, for source-collection association field popup names.",
3627
+ properties: {
3628
+ view: ref("FlowSurfaceApplyBlueprintDefaultPopupName"),
3629
+ addNew: ref("FlowSurfaceApplyBlueprintDefaultPopupName"),
3630
+ edit: ref("FlowSurfaceApplyBlueprintDefaultPopupName"),
3631
+ associations: {
3632
+ type: "object",
3633
+ additionalProperties: ref("FlowSurfaceApplyBlueprintDefaultPopupActionMap")
3634
+ }
3635
+ },
3636
+ additionalProperties: false
3637
+ },
3638
+ FlowSurfaceApplyBlueprintDefaultCollection: {
3639
+ type: "object",
3640
+ description: "v1 collection-level defaults. Only `fieldGroups` and `popups` with required `name` and `description` metadata are supported; block-specific defaults are not supported.",
3641
+ properties: {
3642
+ fieldGroups: {
3643
+ type: "array",
3644
+ minItems: 1,
3645
+ items: ref("FlowSurfaceApplyBlueprintDefaultFieldGroup")
3646
+ },
3647
+ popups: ref("FlowSurfaceApplyBlueprintDefaultPopups")
3648
+ },
3649
+ additionalProperties: false
3650
+ },
3651
+ FlowSurfaceApplyBlueprintDefaults: {
3652
+ type: "object",
3653
+ description: "Optional v1 applyBlueprint defaults. Supports only `collections`; do not send `defaults.blocks`.",
3654
+ properties: {
3655
+ collections: {
3656
+ type: "object",
3657
+ additionalProperties: ref("FlowSurfaceApplyBlueprintDefaultCollection")
3658
+ }
3659
+ },
3660
+ additionalProperties: false
3661
+ },
3553
3662
  FlowSurfaceApplyBlueprintRequest: {
3554
3663
  type: "object",
3555
3664
  required: ["mode", "tabs"],
3556
- description: "Simplified page-structure request object for applyBlueprint. `version` may be omitted and defaults to '1'. Runtime validation enforces mode-specific rules: create does not accept target, while replace requires target.pageSchemaUid and does not use navigation.",
3665
+ description: "Simplified page-structure request object for applyBlueprint. `version` may be omitted and defaults to '1'. Runtime validation enforces mode-specific rules: create does not accept target, while replace requires target.pageSchemaUid and does not use navigation. `defaults.collections` may provide collection-level fieldGroups and popup metadata with required `name` and `description` for generated default popups; v1 does not support `defaults.blocks`.",
3557
3666
  properties: {
3558
3667
  version: {
3559
3668
  type: "string",
@@ -3566,6 +3675,7 @@ const schemas = {
3566
3675
  target: ref("FlowSurfaceApplyBlueprintTarget"),
3567
3676
  navigation: ref("FlowSurfaceApplyBlueprintNavigation"),
3568
3677
  page: ref("FlowSurfaceApplyBlueprintPage"),
3678
+ defaults: ref("FlowSurfaceApplyBlueprintDefaults"),
3569
3679
  tabs: {
3570
3680
  type: "array",
3571
3681
  minItems: 1,
@@ -4167,7 +4277,12 @@ const schemas = {
4167
4277
  template: ref("FlowSurfaceBlockTemplateRef"),
4168
4278
  resource: ref("FlowSurfaceBlockResourceInput"),
4169
4279
  resourceInit: ref("FlowSurfaceResourceInit"),
4170
- settings: ANY_OBJECT_SCHEMA
4280
+ settings: ANY_OBJECT_SCHEMA,
4281
+ defaultFilter: {
4282
+ allOf: [ref("FlowSurfaceFilterGroup")],
4283
+ description: PUBLIC_DATA_SURFACE_BLOCK_DEFAULT_FILTER_DESCRIPTION
4284
+ },
4285
+ defaultActionSettings: ref("FlowSurfaceDefaultActionSettings")
4171
4286
  },
4172
4287
  additionalProperties: false
4173
4288
  },
@@ -4431,7 +4546,12 @@ const schemas = {
4431
4546
  template: ref("FlowSurfaceBlockTemplateRef"),
4432
4547
  resource: ref("FlowSurfaceBlockResourceInput"),
4433
4548
  resourceInit: ref("FlowSurfaceResourceInit"),
4434
- settings: ANY_OBJECT_SCHEMA
4549
+ settings: ANY_OBJECT_SCHEMA,
4550
+ defaultFilter: {
4551
+ allOf: [ref("FlowSurfaceFilterGroup")],
4552
+ description: PUBLIC_DATA_SURFACE_BLOCK_DEFAULT_FILTER_DESCRIPTION
4553
+ },
4554
+ defaultActionSettings: ref("FlowSurfaceDefaultActionSettings")
4435
4555
  },
4436
4556
  additionalProperties: false
4437
4557
  },
@@ -563,6 +563,12 @@ declare const _default: {
563
563
  type: string;
564
564
  additionalProperties: boolean;
565
565
  };
566
+ defaultFilter: {
567
+ allOf: {
568
+ $ref: string;
569
+ }[];
570
+ description: string;
571
+ };
566
572
  fields: {
567
573
  type: string;
568
574
  items: {
@@ -2170,6 +2176,12 @@ declare const _default: {
2170
2176
  type: string;
2171
2177
  additionalProperties: boolean;
2172
2178
  };
2179
+ defaultFilter: {
2180
+ allOf: {
2181
+ $ref: string;
2182
+ }[];
2183
+ description: string;
2184
+ };
2173
2185
  fields: {
2174
2186
  type: string;
2175
2187
  items: {
@@ -2326,6 +2338,108 @@ declare const _default: {
2326
2338
  };
2327
2339
  additionalProperties: boolean;
2328
2340
  };
2341
+ FlowSurfaceApplyBlueprintDefaultFieldGroup: {
2342
+ type: string;
2343
+ required: string[];
2344
+ description: string;
2345
+ properties: {
2346
+ key: {
2347
+ type: string;
2348
+ };
2349
+ title: {
2350
+ type: string;
2351
+ };
2352
+ fields: {
2353
+ type: string;
2354
+ minItems: number;
2355
+ items: {
2356
+ type: string;
2357
+ };
2358
+ };
2359
+ };
2360
+ additionalProperties: boolean;
2361
+ };
2362
+ FlowSurfaceApplyBlueprintDefaultPopupName: {
2363
+ type: string;
2364
+ required: string[];
2365
+ description: string;
2366
+ properties: {
2367
+ name: {
2368
+ type: string;
2369
+ };
2370
+ description: {
2371
+ type: string;
2372
+ };
2373
+ };
2374
+ additionalProperties: boolean;
2375
+ };
2376
+ FlowSurfaceApplyBlueprintDefaultPopupActionMap: {
2377
+ type: string;
2378
+ properties: {
2379
+ view: {
2380
+ $ref: string;
2381
+ };
2382
+ addNew: {
2383
+ $ref: string;
2384
+ };
2385
+ edit: {
2386
+ $ref: string;
2387
+ };
2388
+ };
2389
+ additionalProperties: boolean;
2390
+ };
2391
+ FlowSurfaceApplyBlueprintDefaultPopups: {
2392
+ type: string;
2393
+ description: string;
2394
+ properties: {
2395
+ view: {
2396
+ $ref: string;
2397
+ };
2398
+ addNew: {
2399
+ $ref: string;
2400
+ };
2401
+ edit: {
2402
+ $ref: string;
2403
+ };
2404
+ associations: {
2405
+ type: string;
2406
+ additionalProperties: {
2407
+ $ref: string;
2408
+ };
2409
+ };
2410
+ };
2411
+ additionalProperties: boolean;
2412
+ };
2413
+ FlowSurfaceApplyBlueprintDefaultCollection: {
2414
+ type: string;
2415
+ description: string;
2416
+ properties: {
2417
+ fieldGroups: {
2418
+ type: string;
2419
+ minItems: number;
2420
+ items: {
2421
+ $ref: string;
2422
+ };
2423
+ };
2424
+ popups: {
2425
+ $ref: string;
2426
+ };
2427
+ };
2428
+ additionalProperties: boolean;
2429
+ };
2430
+ FlowSurfaceApplyBlueprintDefaults: {
2431
+ type: string;
2432
+ description: string;
2433
+ properties: {
2434
+ collections: {
2435
+ type: string;
2436
+ additionalProperties: {
2437
+ $ref: string;
2438
+ };
2439
+ };
2440
+ };
2441
+ additionalProperties: boolean;
2442
+ };
2329
2443
  FlowSurfaceApplyBlueprintRequest: {
2330
2444
  type: string;
2331
2445
  required: string[];
@@ -2348,6 +2462,9 @@ declare const _default: {
2348
2462
  page: {
2349
2463
  $ref: string;
2350
2464
  };
2465
+ defaults: {
2466
+ $ref: string;
2467
+ };
2351
2468
  tabs: {
2352
2469
  type: string;
2353
2470
  minItems: number;
@@ -3088,6 +3205,15 @@ declare const _default: {
3088
3205
  type: string;
3089
3206
  additionalProperties: boolean;
3090
3207
  };
3208
+ defaultFilter: {
3209
+ allOf: {
3210
+ $ref: string;
3211
+ }[];
3212
+ description: string;
3213
+ };
3214
+ defaultActionSettings: {
3215
+ $ref: string;
3216
+ };
3091
3217
  };
3092
3218
  additionalProperties: boolean;
3093
3219
  };
@@ -3391,6 +3517,15 @@ declare const _default: {
3391
3517
  type: string;
3392
3518
  additionalProperties: boolean;
3393
3519
  };
3520
+ defaultFilter: {
3521
+ allOf: {
3522
+ $ref: string;
3523
+ }[];
3524
+ description: string;
3525
+ };
3526
+ defaultActionSettings: {
3527
+ $ref: string;
3528
+ };
3394
3529
  };
3395
3530
  additionalProperties: boolean;
3396
3531
  };
@@ -4862,6 +4997,31 @@ declare const _default: {
4862
4997
  items: any[];
4863
4998
  };
4864
4999
  };
5000
+ FlowSurfaceDefaultFilterActionSettings: {
5001
+ type: string;
5002
+ properties: {
5003
+ filterableFieldNames: {
5004
+ type: string;
5005
+ items: {
5006
+ type: string;
5007
+ };
5008
+ };
5009
+ defaultFilter: {
5010
+ $ref: string;
5011
+ };
5012
+ };
5013
+ additionalProperties: boolean;
5014
+ };
5015
+ FlowSurfaceDefaultActionSettings: {
5016
+ type: string;
5017
+ description: string;
5018
+ properties: {
5019
+ filter: {
5020
+ $ref: string;
5021
+ };
5022
+ };
5023
+ additionalProperties: boolean;
5024
+ };
4865
5025
  FlowSurfaceEventCapabilities: {
4866
5026
  type: string;
4867
5027
  properties: {
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "displayName.zh-CN": "前端流引擎",
5
5
  "description": "",
6
6
  "description.zh-CN": "",
7
- "version": "2.1.0-alpha.20",
7
+ "version": "2.1.0-alpha.21",
8
8
  "main": "./dist/server/index.js",
9
9
  "license": "Apache-2.0",
10
10
  "devDependencies": {
@@ -24,5 +24,5 @@
24
24
  "@nocobase/test": "2.x",
25
25
  "@nocobase/utils": "2.x"
26
26
  },
27
- "gitHead": "3d1535db6bf93ca23257faf474afee0d565f54c6"
27
+ "gitHead": "b4c2b469f321ecaec7863a8ae371a02fe6a35aa2"
28
28
  }