openxiangda 1.0.151 → 1.0.152

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 (28) hide show
  1. package/README.md +2 -0
  2. package/openxiangda-skills/SKILL.md +1 -0
  3. package/openxiangda-skills/references/component-guide.md +4 -0
  4. package/openxiangda-skills/references/pages/page-sdk.md +3 -2
  5. package/package.json +6 -2
  6. package/packages/sdk/dist/{ProcessPreview-BOCARAvP.d.mts → ProcessPreview-B_HqjU7v.d.mts} +4 -2
  7. package/packages/sdk/dist/{ProcessPreview-BOCARAvP.d.ts → ProcessPreview-B_HqjU7v.d.ts} +4 -2
  8. package/packages/sdk/dist/components/index.cjs +3488 -2270
  9. package/packages/sdk/dist/components/index.cjs.map +1 -1
  10. package/packages/sdk/dist/components/index.d.mts +145 -38
  11. package/packages/sdk/dist/components/index.d.ts +145 -38
  12. package/packages/sdk/dist/components/index.mjs +3240 -2017
  13. package/packages/sdk/dist/components/index.mjs.map +1 -1
  14. package/packages/sdk/dist/{dataManagementApi-CLMqf79O.d.mts → dataManagementApi-CEDsA3tT.d.ts} +2 -2
  15. package/packages/sdk/dist/{dataManagementApi-DhpRKmlp.d.ts → dataManagementApi-quq3Zhgo.d.mts} +2 -2
  16. package/packages/sdk/dist/runtime/index.cjs +3172 -2301
  17. package/packages/sdk/dist/runtime/index.cjs.map +1 -1
  18. package/packages/sdk/dist/runtime/index.d.mts +5 -4
  19. package/packages/sdk/dist/runtime/index.d.ts +5 -4
  20. package/packages/sdk/dist/runtime/index.mjs +3068 -2192
  21. package/packages/sdk/dist/runtime/index.mjs.map +1 -1
  22. package/packages/sdk/dist/runtime/react.cjs +2 -2
  23. package/packages/sdk/dist/runtime/react.cjs.map +1 -1
  24. package/packages/sdk/dist/runtime/react.d.mts +9 -4
  25. package/packages/sdk/dist/runtime/react.d.ts +9 -4
  26. package/packages/sdk/dist/runtime/react.mjs +2 -2
  27. package/packages/sdk/dist/runtime/react.mjs.map +1 -1
  28. package/templates/openxiangda-react-spa/AGENTS.md +2 -0
package/README.md CHANGED
@@ -299,6 +299,8 @@ const file = await api.uploadPublicFile(imageFile, "public-assets")
299
299
 
300
300
  图片字段和附件字段支持浏览器端压缩图。对用户上传的大图,可以在 `ImageField` 或 `AttachmentField` 上启用 `imageCompression`,运行时会保留原图 `url`,并额外上传缩略图和预览图,保存到 `thumbUrl`、`previewUrl` 和 `variants`。非图片、GIF、SVG、小于阈值的图片,以及浏览器不支持 canvas 压缩时会自动退回原上传流程。
301
301
 
302
+ 图片和附件预览由运行时统一处理:图片点击后进入同组弹窗画廊,视频、音频和文档在站内弹窗中打开;`AttachmentField` 只在平台 capability API 确认可预览时展示预览动作。默认覆盖 PDF、常见媒体、文本、DOCX 和 XLSX,更多 DOC/XLS/PPT、ODF 格式由部署侧 ONLYOFFICE 配置决定。自定义页需要可分享的预览链接时,通过 PageSdk `sdk.createFileAccessTicket(..., "preview", { appType })` 获取并打开 `previewPageUrl`,不要直接打开文件内容流 `previewUrl`。
303
+
302
304
  ```tsx
303
305
  import { ImageField } from "openxiangda"
304
306
 
@@ -58,6 +58,7 @@ OpenXiangda supports two workspace modes. Classic `sy-lowcode-app-workspace` pub
58
58
  - ✅ For form-entry UX, pick components in this order: OpenXiangda platform form components → `antd` / `antd-mobile` wrappers → custom component only when neither exists.
59
59
  - ✅ In React SPA apps, keep imports on public package entrypoints such as `openxiangda`, `openxiangda/runtime`, and `openxiangda/runtime/react`. The default template already groups large vendor chunks; if a bundle is too large, use route-level lazy loading and Vite `manualChunks`, not `openxiangda/packages/sdk/dist/...` internal paths.
60
60
  - ✅ For image thumbnails or lightweight previews, use `imageCompression` on `ImageField` or `AttachmentField`. Keep the original `url` for the source file and use `thumbUrl` / `previewUrl` / `variants` for smaller images.
61
+ - ✅ Let `ImageField` and `AttachmentField` own preview UX and capability checks. Images use an in-page gallery; media and documents use an in-page dialog; `AttachmentField` only shows preview after the platform returns `canPreview: true`. Do not maintain app-local extension allowlists.
61
62
  - ✅ For data delivery with files, use `openxiangda form export <formCode> --mode xlsx|xlsx-images|package --profile <name>`. `package` writes a zip with `data.xlsx`, `attachments/`, and `manifest.json`; do not hand-write export URLs or stream binary content to stdout.
62
63
  - ✅ List pages, linked options, remote selectors, and report drill-downs must use paginated server-side queries with explicit searchable fields. Do not fetch a large page and filter in local state.
63
64
  - ✅ Treat workflow forms as an exception. Ordinary ticket/order/task/asset lifecycles use status fields, state machines, action logs, permissions, and automations; workflows are for real approval tasks.
@@ -87,6 +87,10 @@ OSS 浏览器直传所需的 CORS 规则在 `src/resources/storage/<code>.json`
87
87
 
88
88
  `AttachmentField` 和 `ImageField` 都可设置 `imageCompression`。启用后只压缩图片文件,保存值会额外包含 `thumbUrl`、`previewUrl` 和 `variants`,用于列表缩略图、小图预览或详情页轻量展示;原图 `url` 仍保留用于下载和高清预览。
89
89
 
90
+ 预览能力也由组件统一接管:`ImageField` 点击图片后打开同组弹窗画廊;`AttachmentField` 先调用平台 capability API,只为 `canPreview: true` 的文件显示预览动作,并在站内弹窗中打开视频、音频、PDF、DOCX、XLSX、文本等内容。不要在应用代码中维护扩展名白名单,也不要把文件流 URL 当成页面入口。DOC/XLS/PPT、ODF 等格式是否可预览由部署侧 ONLYOFFICE 配置决定。
91
+
92
+ 声明式 OSS 文件需要 bucket CORS 允许应用域名读取对象,浏览器端 DOCX/XLSX/HEIC 解析才能工作;平台私有附件由 ticket 文件流处理,不直接暴露对象地址。
93
+
90
94
  业务应用只能从 `openxiangda`、`openxiangda/runtime`、`openxiangda/runtime/react` 等公开入口导入组件和 SDK。不要为了减小包体积去引用 `openxiangda/packages/sdk/dist/...` 内部文件;React SPA 模板已提供 vendor chunk 分组,SDK 会把 `antd-mobile`、`dayjs` 等大型 UI 依赖交给应用构建器按路由拆分。
91
95
 
92
96
  `DataManagementList` 默认 `permissionMode="auto"`,进入页面会读取表单 action
@@ -16,7 +16,7 @@ Guidelines:
16
16
  - Use `sdk.function.invoke(code, { input })` for reusable backend business logic declared under `src/resources/functions/` and `src/functions/`. Do not implement multi-form orchestration, connector fan-out, notification orchestration, or permission-sensitive backend rules directly in a page component.
17
17
  - Use `sdk.connector.invoke`, `sdk.connector.call("connector.api")`, or `sdk.connector.download` for external services. The SDK calls the platform runtime connector endpoint; it must not call third-party domains directly.
18
18
  - Use `sdk.notification.sendByType` and `batchSendByType` for reusable business messages. Custom notification types must be declared in `src/resources/notifications/` and published with `openxiangda resource publish`.
19
- - Use `sdk.createFileAccessTicket(bucketName, objectName, fileName, "preview")` when a custom React SPA page needs a user-openable attachment preview link. Open `response.result.previewPageUrl`; do not use `previewUrl` or `/service/file/preview-by-ticket/:ticket` as the page entry.
19
+ - Use `sdk.createFileAccessTicket(bucketName, objectName, fileName, "preview", { appType })` when a custom React SPA page needs a user-openable attachment preview link. `appType` defaults to the current page context. Open `response.result.previewPageUrl`; do not use `previewUrl` or `/service/file/preview-by-ticket/:ticket` as the page entry.
20
20
  - Use `sdk.organization.departments.*` and `sdk.organization.accounts.*` only for admin-style app pages that intentionally manage platform departments/accounts. The current user needs `app:organization:manage` on the app. Do not call legacy `/user` or `/department` write endpoints from pages.
21
21
  - Use `sdk.workCenter.listItems({ boxType })` and `sdk.workCenter.getStats()` for current-user work center lists and counts. `boxType` is one of `todo`, `done`, `cc`, or `initiated`. This is the end-user task/handled/cc/initiated surface; do not build todo pages by reading workflow operation logs, automation logs, or raw process-task tables.
22
22
  - `sdk.form.create` returns identifiers and generated serial number values only. Treat `formInstId` / `formInstanceId` as the required success contract; `serialNumber` / `serialNumbers` are present only when the form has `SerialNumberField`. Do not expect the save response to contain the full row, formula results, or other server-generated field values. Call `sdk.form.getDetail` explicitly after create when those values are needed.
@@ -109,6 +109,7 @@ const ticketResponse = await sdk.createFileAccessTicket(
109
109
  "attachments/contracts/demo.docx",
110
110
  "demo.docx",
111
111
  "preview",
112
+ { appType: sdk.context.app.appType },
112
113
  )
113
114
 
114
115
  const previewPageUrl = ticketResponse.result?.previewPageUrl
@@ -117,7 +118,7 @@ if (previewPageUrl) {
117
118
  }
118
119
  ```
119
120
 
120
- `previewPageUrl` is the final browser page URL, normally `/view/:appType/file-preview?ticket=...`. `previewUrl` is the file content stream for the preview renderer and should not be used as the user-facing page entry.
121
+ `previewPageUrl` is the final browser page URL, normally `/view/:appType/file-preview?ticket=...`. `previewUrl` is the file content stream for the preview renderer and should not be used as the user-facing page entry. The request contract calls this fourth argument `purpose`; supported values are `preview`, `download`, and `onlyoffice`.
121
122
 
122
123
  App Function invocation:
123
124
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "openxiangda",
3
- "version": "1.0.151",
3
+ "version": "1.0.152",
4
4
  "description": "OpenXiangda CLI, workspace build tools, runtime SDK, and form components.",
5
5
  "private": false,
6
6
  "bin": {
@@ -112,9 +112,11 @@
112
112
  "antd-mobile": "^5.37.0",
113
113
  "autoprefixer": "^10.4.21",
114
114
  "dayjs": "^1.11.20",
115
+ "docx-preview": "^0.3.7",
115
116
  "dotenv": "^16.6.1",
116
117
  "esbuild": "^0.25.0",
117
118
  "glob": "^10.4.5",
119
+ "heic2any": "^0.0.4",
118
120
  "lowlight": "3.3.0",
119
121
  "minimist": "^1.2.8",
120
122
  "p-limit": "^5.0.0",
@@ -122,13 +124,15 @@
122
124
  "tailwindcss": "^3.4.17",
123
125
  "tsx": "^4.20.0",
124
126
  "undici": "^6.27.0",
125
- "vite": "^6.0.0"
127
+ "vite": "^6.0.0",
128
+ "xlsx": "https://cdn.sheetjs.com/xlsx-0.20.3/xlsx-0.20.3.tgz"
126
129
  },
127
130
  "peerDependencies": {
128
131
  "react": ">=18 <20",
129
132
  "react-dom": ">=18 <20"
130
133
  },
131
134
  "devDependencies": {
135
+ "@testing-library/dom": "^10.4.1",
132
136
  "@testing-library/jest-dom": "^6.9.1",
133
137
  "@testing-library/react": "^16.3.2",
134
138
  "@types/node": "^22.0.0",
@@ -1,4 +1,5 @@
1
1
  import React__default from 'react';
2
+ import * as react_jsx_runtime from 'react/jsx-runtime';
2
3
 
3
4
  type FormSectionVariant = 'plain' | 'card';
4
5
  type FormSectionAccent = 'blue' | 'green';
@@ -17,7 +18,7 @@ interface FormSectionProps {
17
18
  contentClassName?: string;
18
19
  children: React__default.ReactNode;
19
20
  }
20
- declare function FormSection({ title, description, variant, accent, icon, iconKey, collapsible, defaultCollapsed, className, titleClassName, contentClassName, children, }: FormSectionProps): React__default.JSX.Element;
21
+ declare function FormSection({ title, description, variant, accent, icon, iconKey, collapsible, defaultCollapsed, className, titleClassName, contentClassName, children, }: FormSectionProps): react_jsx_runtime.JSX.Element;
21
22
 
22
23
  /** 字段行为状态 */
23
24
  type FieldBehavior = 'NORMAL' | 'READONLY' | 'DISABLED' | 'HIDDEN';
@@ -673,6 +674,7 @@ interface AttachmentFieldProps extends BaseFieldProps {
673
674
  showDownload?: boolean;
674
675
  showFileSize?: boolean;
675
676
  showFileTypeBadge?: boolean;
677
+ /** @deprecated Preview now opens in the runtime dialog; use ticket previewPageUrl for shareable links. */
676
678
  previewPagePath?: string;
677
679
  mobileDownloadMode?: 'auto' | 'direct' | 'ticketRelay';
678
680
  /** 图片附件的浏览器端压缩配置;非图片、GIF、SVG 会自动跳过。 */
@@ -1205,4 +1207,4 @@ interface ProcessPreviewProps {
1205
1207
  }
1206
1208
  declare const ProcessPreview: React__default.FC<ProcessPreviewProps>;
1207
1209
 
1208
- export { type DepartmentSelectFieldProps as $, type ApprovalPermission as A, type ReturnParams as B, type ChangeRecordQueryParams as C, type SaveTaskParams as D, type TransferParams as E, type FieldDefinition as F, type TextFieldProps as G, type TextAreaFieldProps as H, type InitiatorSelectCandidate as I, type SelectFieldProps as J, type RadioFieldProps as K, type CheckboxFieldProps as L, type MultiSelectFieldProps as M, type NumberFieldProps as N, type OptionItem as O, type ProcessStatus as P, type DateFieldProps as Q, type RuntimeResponse as R, type StatusMeta as S, type TaskStatus as T, type CascadeDateFieldProps as U, type ValidationPreset as V, type WithdrawParams as W, type AttachmentFieldProps as X, type ImageFieldProps as Y, type SubFormFieldProps as Z, type UserSelectFieldProps as _, type FormRuntimeApi as a, type PeopleShortcutConfig as a$, type CascadeSelectFieldProps as a0, type AddressFieldProps as a1, type AssociationFormFieldProps as a2, type EditorFieldProps as a3, type EditorChoiceOption as a4, type SerialNumberFieldProps as a5, type LocationFieldProps as a6, type DigitalSignatureFieldProps as a7, type JSONFieldProps as a8, type ProcessAction as a9, type DepartmentTreeNode as aA, type DigitalSignatureValue as aB, type EditorToolbarAction as aC, type FieldLayoutNode as aD, type FieldValueSyncConfig as aE, type FormEffectAction as aF, type FormEffectCondition as aG, type FormEffectConditionOperator as aH, type FormEngineMode as aI, type FormLayoutNode as aJ, FormSection as aK, type FormSectionProps as aL, type FormSubmitBehavior as aM, type FormTemplateConfig as aN, type GridLayoutCell as aO, type GridLayoutNode as aP, type ImageCompressionConfig as aQ, type ImageCompressionVariantConfig as aR, type ImageVariant as aS, type InitiatorSelectScope as aT, type LayoutVisibleWhen as aU, type LinkedFormOptionConfig as aV, type LocationValue as aW, type LowcodePageMeta as aX, type LowcodePageNode as aY, type LowcodePageNodeType as aZ, type OptionSourceType as a_, type InitiatorSelectedApprovers as aa, type ReturnPolicy as ab, type ChangeRecord as ac, type StandardFormPageMode as ad, type LowcodePageSchema as ae, type AddressValue as af, type ApprovalActionType as ag, ApprovalTimeline as ah, type ApprovalTimelineProps as ai, type AssociationFormConfig as aj, type AssociationValue as ak, type AttachmentImageVariants as al, type AttachmentItem as am, type BaseFieldProps as an, type BaseLayoutNode as ao, type DataFilter as ap, type DataLinkageCondition as aq, type DataLinkageConfig as ar, type DateRangeRestriction as as, type DateRestrictionConfig as at, type DateShortcutConfig as au, type DateShortcutType as av, type DefaultValueLinkageConfig as aw, type DepartmentSearchParams as ax, type DepartmentSearchResult as ay, type DepartmentSearchScope as az, type FormSchema as b, type PeopleShortcutType as b0, type ProcessNodeType as b1, ProcessPreview as b2, type ProcessPreviewProps as b3, type RuntimeAuthHeadersProvider as b4, type RuntimeDataQueryParams as b5, type RuntimeDataQueryResult as b6, type RuntimeRequestConfig as b7, type RuntimeUploadOptions as b8, type RuntimeUploadProvider as b9, type SectionLayoutNode as ba, type SignaturePoint as bb, type StepLayoutItem as bc, type StepsLayoutNode as bd, type SubFormColumn as be, type TabLayoutItem as bf, type TabsLayoutNode as bg, type TextShortcutConfig as bh, type TextShortcutType as bi, type UserDisplayFormat as bj, type UserItem as bk, type FormRuntimeApiConfig as c, type FormEngineConfig as d, type FieldBehavior as e, type FormRuntimeConfig as f, type FormAppearanceConfig as g, type ValidationRule as h, type FormEffect as i, type OptionSourceConfig as j, type FormDataDeleteParams as k, type ChangeRecordListResponse as l, type FormDataQueryParams as m, type FormInstanceData as n, type InitiatorSelectRequirement as o, type ProcessBasicInfo as p, type ProcessDefinition as q, type ProcessTask as r, type ReturnableNodeResult as s, type ReturnableNode as t, type ViewPermissionQueryParams as u, type ViewPermissionSummary as v, type ApproveParams as w, type PreviewParams as x, type ProcessRoute as y, type ResubmitParams as z };
1210
+ export { type FormInstanceData as $, type AddressFieldProps as A, type BaseFieldProps as B, type CascadeDateFieldProps as C, type DataFilter as D, type DepartmentSearchParams as E, type DepartmentSearchResult as F, type DepartmentSearchScope as G, type DepartmentSelectFieldProps as H, type DepartmentTreeNode as I, type DigitalSignatureFieldProps as J, type DigitalSignatureValue as K, type EditorChoiceOption as L, type EditorFieldProps as M, type EditorToolbarAction as N, type FieldBehavior as O, type FieldDefinition as P, type FieldLayoutNode as Q, type FieldValueSyncConfig as R, type FormAppearanceConfig as S, type FormDataDeleteParams as T, type FormDataQueryParams as U, type FormEffect as V, type FormEffectAction as W, type FormEffectCondition as X, type FormEffectConditionOperator as Y, type FormEngineConfig as Z, type FormEngineMode as _, type AddressValue as a, type StandardFormPageMode as a$, type FormLayoutNode as a0, type FormRuntimeApi as a1, type FormRuntimeApiConfig as a2, type FormRuntimeConfig as a3, type FormSchema as a4, FormSection as a5, type FormSectionProps as a6, type FormSubmitBehavior as a7, type FormTemplateConfig as a8, type GridLayoutCell as a9, type ProcessAction as aA, type ProcessBasicInfo as aB, type ProcessDefinition as aC, type ProcessNodeType as aD, ProcessPreview as aE, type ProcessPreviewProps as aF, type ProcessRoute as aG, type ProcessStatus as aH, type ProcessTask as aI, type RadioFieldProps as aJ, type ResubmitParams as aK, type ReturnParams as aL, type ReturnPolicy as aM, type ReturnableNode as aN, type ReturnableNodeResult as aO, type RuntimeAuthHeadersProvider as aP, type RuntimeDataQueryParams as aQ, type RuntimeDataQueryResult as aR, type RuntimeRequestConfig as aS, type RuntimeResponse as aT, type RuntimeUploadOptions as aU, type RuntimeUploadProvider as aV, type SaveTaskParams as aW, type SectionLayoutNode as aX, type SelectFieldProps as aY, type SerialNumberFieldProps as aZ, type SignaturePoint as a_, type GridLayoutNode as aa, type ImageCompressionConfig as ab, type ImageCompressionVariantConfig as ac, type ImageFieldProps as ad, type ImageVariant as ae, type InitiatorSelectCandidate as af, type InitiatorSelectRequirement as ag, type InitiatorSelectScope as ah, type InitiatorSelectedApprovers as ai, type JSONFieldProps as aj, type LayoutVisibleWhen as ak, type LinkedFormOptionConfig as al, type LocationFieldProps as am, type LocationValue as an, type LowcodePageMeta as ao, type LowcodePageNode as ap, type LowcodePageNodeType as aq, type LowcodePageSchema as ar, type MultiSelectFieldProps as as, type NumberFieldProps as at, type OptionItem as au, type OptionSourceConfig as av, type OptionSourceType as aw, type PeopleShortcutConfig as ax, type PeopleShortcutType as ay, type PreviewParams as az, type ApprovalActionType as b, type StatusMeta as b0, type StepLayoutItem as b1, type StepsLayoutNode as b2, type SubFormColumn as b3, type SubFormFieldProps as b4, type TabLayoutItem as b5, type TabsLayoutNode as b6, type TaskStatus as b7, type TextAreaFieldProps as b8, type TextFieldProps as b9, type TextShortcutConfig as ba, type TextShortcutType as bb, type TransferParams as bc, type UserDisplayFormat as bd, type UserItem as be, type UserSelectFieldProps as bf, type ValidationPreset as bg, type ValidationRule as bh, type ViewPermissionQueryParams as bi, type ViewPermissionSummary as bj, type WithdrawParams as bk, type ApprovalPermission as c, ApprovalTimeline as d, type ApprovalTimelineProps as e, type ApproveParams as f, type AssociationFormConfig as g, type AssociationFormFieldProps as h, type AssociationValue as i, type AttachmentFieldProps as j, type AttachmentImageVariants as k, type AttachmentItem as l, type BaseLayoutNode as m, type CascadeSelectFieldProps as n, type ChangeRecord as o, type ChangeRecordListResponse as p, type ChangeRecordQueryParams as q, type CheckboxFieldProps as r, type DataLinkageCondition as s, type DataLinkageConfig as t, type DateFieldProps as u, type DateRangeRestriction as v, type DateRestrictionConfig as w, type DateShortcutConfig as x, type DateShortcutType as y, type DefaultValueLinkageConfig as z };
@@ -1,4 +1,5 @@
1
1
  import React__default from 'react';
2
+ import * as react_jsx_runtime from 'react/jsx-runtime';
2
3
 
3
4
  type FormSectionVariant = 'plain' | 'card';
4
5
  type FormSectionAccent = 'blue' | 'green';
@@ -17,7 +18,7 @@ interface FormSectionProps {
17
18
  contentClassName?: string;
18
19
  children: React__default.ReactNode;
19
20
  }
20
- declare function FormSection({ title, description, variant, accent, icon, iconKey, collapsible, defaultCollapsed, className, titleClassName, contentClassName, children, }: FormSectionProps): React__default.JSX.Element;
21
+ declare function FormSection({ title, description, variant, accent, icon, iconKey, collapsible, defaultCollapsed, className, titleClassName, contentClassName, children, }: FormSectionProps): react_jsx_runtime.JSX.Element;
21
22
 
22
23
  /** 字段行为状态 */
23
24
  type FieldBehavior = 'NORMAL' | 'READONLY' | 'DISABLED' | 'HIDDEN';
@@ -673,6 +674,7 @@ interface AttachmentFieldProps extends BaseFieldProps {
673
674
  showDownload?: boolean;
674
675
  showFileSize?: boolean;
675
676
  showFileTypeBadge?: boolean;
677
+ /** @deprecated Preview now opens in the runtime dialog; use ticket previewPageUrl for shareable links. */
676
678
  previewPagePath?: string;
677
679
  mobileDownloadMode?: 'auto' | 'direct' | 'ticketRelay';
678
680
  /** 图片附件的浏览器端压缩配置;非图片、GIF、SVG 会自动跳过。 */
@@ -1205,4 +1207,4 @@ interface ProcessPreviewProps {
1205
1207
  }
1206
1208
  declare const ProcessPreview: React__default.FC<ProcessPreviewProps>;
1207
1209
 
1208
- export { type DepartmentSelectFieldProps as $, type ApprovalPermission as A, type ReturnParams as B, type ChangeRecordQueryParams as C, type SaveTaskParams as D, type TransferParams as E, type FieldDefinition as F, type TextFieldProps as G, type TextAreaFieldProps as H, type InitiatorSelectCandidate as I, type SelectFieldProps as J, type RadioFieldProps as K, type CheckboxFieldProps as L, type MultiSelectFieldProps as M, type NumberFieldProps as N, type OptionItem as O, type ProcessStatus as P, type DateFieldProps as Q, type RuntimeResponse as R, type StatusMeta as S, type TaskStatus as T, type CascadeDateFieldProps as U, type ValidationPreset as V, type WithdrawParams as W, type AttachmentFieldProps as X, type ImageFieldProps as Y, type SubFormFieldProps as Z, type UserSelectFieldProps as _, type FormRuntimeApi as a, type PeopleShortcutConfig as a$, type CascadeSelectFieldProps as a0, type AddressFieldProps as a1, type AssociationFormFieldProps as a2, type EditorFieldProps as a3, type EditorChoiceOption as a4, type SerialNumberFieldProps as a5, type LocationFieldProps as a6, type DigitalSignatureFieldProps as a7, type JSONFieldProps as a8, type ProcessAction as a9, type DepartmentTreeNode as aA, type DigitalSignatureValue as aB, type EditorToolbarAction as aC, type FieldLayoutNode as aD, type FieldValueSyncConfig as aE, type FormEffectAction as aF, type FormEffectCondition as aG, type FormEffectConditionOperator as aH, type FormEngineMode as aI, type FormLayoutNode as aJ, FormSection as aK, type FormSectionProps as aL, type FormSubmitBehavior as aM, type FormTemplateConfig as aN, type GridLayoutCell as aO, type GridLayoutNode as aP, type ImageCompressionConfig as aQ, type ImageCompressionVariantConfig as aR, type ImageVariant as aS, type InitiatorSelectScope as aT, type LayoutVisibleWhen as aU, type LinkedFormOptionConfig as aV, type LocationValue as aW, type LowcodePageMeta as aX, type LowcodePageNode as aY, type LowcodePageNodeType as aZ, type OptionSourceType as a_, type InitiatorSelectedApprovers as aa, type ReturnPolicy as ab, type ChangeRecord as ac, type StandardFormPageMode as ad, type LowcodePageSchema as ae, type AddressValue as af, type ApprovalActionType as ag, ApprovalTimeline as ah, type ApprovalTimelineProps as ai, type AssociationFormConfig as aj, type AssociationValue as ak, type AttachmentImageVariants as al, type AttachmentItem as am, type BaseFieldProps as an, type BaseLayoutNode as ao, type DataFilter as ap, type DataLinkageCondition as aq, type DataLinkageConfig as ar, type DateRangeRestriction as as, type DateRestrictionConfig as at, type DateShortcutConfig as au, type DateShortcutType as av, type DefaultValueLinkageConfig as aw, type DepartmentSearchParams as ax, type DepartmentSearchResult as ay, type DepartmentSearchScope as az, type FormSchema as b, type PeopleShortcutType as b0, type ProcessNodeType as b1, ProcessPreview as b2, type ProcessPreviewProps as b3, type RuntimeAuthHeadersProvider as b4, type RuntimeDataQueryParams as b5, type RuntimeDataQueryResult as b6, type RuntimeRequestConfig as b7, type RuntimeUploadOptions as b8, type RuntimeUploadProvider as b9, type SectionLayoutNode as ba, type SignaturePoint as bb, type StepLayoutItem as bc, type StepsLayoutNode as bd, type SubFormColumn as be, type TabLayoutItem as bf, type TabsLayoutNode as bg, type TextShortcutConfig as bh, type TextShortcutType as bi, type UserDisplayFormat as bj, type UserItem as bk, type FormRuntimeApiConfig as c, type FormEngineConfig as d, type FieldBehavior as e, type FormRuntimeConfig as f, type FormAppearanceConfig as g, type ValidationRule as h, type FormEffect as i, type OptionSourceConfig as j, type FormDataDeleteParams as k, type ChangeRecordListResponse as l, type FormDataQueryParams as m, type FormInstanceData as n, type InitiatorSelectRequirement as o, type ProcessBasicInfo as p, type ProcessDefinition as q, type ProcessTask as r, type ReturnableNodeResult as s, type ReturnableNode as t, type ViewPermissionQueryParams as u, type ViewPermissionSummary as v, type ApproveParams as w, type PreviewParams as x, type ProcessRoute as y, type ResubmitParams as z };
1210
+ export { type FormInstanceData as $, type AddressFieldProps as A, type BaseFieldProps as B, type CascadeDateFieldProps as C, type DataFilter as D, type DepartmentSearchParams as E, type DepartmentSearchResult as F, type DepartmentSearchScope as G, type DepartmentSelectFieldProps as H, type DepartmentTreeNode as I, type DigitalSignatureFieldProps as J, type DigitalSignatureValue as K, type EditorChoiceOption as L, type EditorFieldProps as M, type EditorToolbarAction as N, type FieldBehavior as O, type FieldDefinition as P, type FieldLayoutNode as Q, type FieldValueSyncConfig as R, type FormAppearanceConfig as S, type FormDataDeleteParams as T, type FormDataQueryParams as U, type FormEffect as V, type FormEffectAction as W, type FormEffectCondition as X, type FormEffectConditionOperator as Y, type FormEngineConfig as Z, type FormEngineMode as _, type AddressValue as a, type StandardFormPageMode as a$, type FormLayoutNode as a0, type FormRuntimeApi as a1, type FormRuntimeApiConfig as a2, type FormRuntimeConfig as a3, type FormSchema as a4, FormSection as a5, type FormSectionProps as a6, type FormSubmitBehavior as a7, type FormTemplateConfig as a8, type GridLayoutCell as a9, type ProcessAction as aA, type ProcessBasicInfo as aB, type ProcessDefinition as aC, type ProcessNodeType as aD, ProcessPreview as aE, type ProcessPreviewProps as aF, type ProcessRoute as aG, type ProcessStatus as aH, type ProcessTask as aI, type RadioFieldProps as aJ, type ResubmitParams as aK, type ReturnParams as aL, type ReturnPolicy as aM, type ReturnableNode as aN, type ReturnableNodeResult as aO, type RuntimeAuthHeadersProvider as aP, type RuntimeDataQueryParams as aQ, type RuntimeDataQueryResult as aR, type RuntimeRequestConfig as aS, type RuntimeResponse as aT, type RuntimeUploadOptions as aU, type RuntimeUploadProvider as aV, type SaveTaskParams as aW, type SectionLayoutNode as aX, type SelectFieldProps as aY, type SerialNumberFieldProps as aZ, type SignaturePoint as a_, type GridLayoutNode as aa, type ImageCompressionConfig as ab, type ImageCompressionVariantConfig as ac, type ImageFieldProps as ad, type ImageVariant as ae, type InitiatorSelectCandidate as af, type InitiatorSelectRequirement as ag, type InitiatorSelectScope as ah, type InitiatorSelectedApprovers as ai, type JSONFieldProps as aj, type LayoutVisibleWhen as ak, type LinkedFormOptionConfig as al, type LocationFieldProps as am, type LocationValue as an, type LowcodePageMeta as ao, type LowcodePageNode as ap, type LowcodePageNodeType as aq, type LowcodePageSchema as ar, type MultiSelectFieldProps as as, type NumberFieldProps as at, type OptionItem as au, type OptionSourceConfig as av, type OptionSourceType as aw, type PeopleShortcutConfig as ax, type PeopleShortcutType as ay, type PreviewParams as az, type ApprovalActionType as b, type StatusMeta as b0, type StepLayoutItem as b1, type StepsLayoutNode as b2, type SubFormColumn as b3, type SubFormFieldProps as b4, type TabLayoutItem as b5, type TabsLayoutNode as b6, type TaskStatus as b7, type TextAreaFieldProps as b8, type TextFieldProps as b9, type TextShortcutConfig as ba, type TextShortcutType as bb, type TransferParams as bc, type UserDisplayFormat as bd, type UserItem as be, type UserSelectFieldProps as bf, type ValidationPreset as bg, type ValidationRule as bh, type ViewPermissionQueryParams as bi, type ViewPermissionSummary as bj, type WithdrawParams as bk, type ApprovalPermission as c, ApprovalTimeline as d, type ApprovalTimelineProps as e, type ApproveParams as f, type AssociationFormConfig as g, type AssociationFormFieldProps as h, type AssociationValue as i, type AttachmentFieldProps as j, type AttachmentImageVariants as k, type AttachmentItem as l, type BaseLayoutNode as m, type CascadeSelectFieldProps as n, type ChangeRecord as o, type ChangeRecordListResponse as p, type ChangeRecordQueryParams as q, type CheckboxFieldProps as r, type DataLinkageCondition as s, type DataLinkageConfig as t, type DateFieldProps as u, type DateRangeRestriction as v, type DateRestrictionConfig as w, type DateShortcutConfig as x, type DateShortcutType as y, type DefaultValueLinkageConfig as z };