openxiangda 1.0.265 → 1.0.266
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -0
- package/lib/application-environments.js +15 -1
- package/lib/cli.js +57 -8
- package/openxiangda-skills/SKILL.md +1 -1
- package/openxiangda-skills/skills/openxiangda-core/SKILL.md +1 -1
- package/package.json +1 -1
- package/packages/sdk/dist/{ProcessPreview-DSUIJi5V.d.mts → ProcessPreview-Cyk6uv-w.d.mts} +3 -2
- package/packages/sdk/dist/{ProcessPreview-DSUIJi5V.d.ts → ProcessPreview-Cyk6uv-w.d.ts} +3 -2
- package/packages/sdk/dist/components/index.d.mts +42 -41
- package/packages/sdk/dist/components/index.d.ts +42 -41
- package/packages/sdk/dist/{dataManagementApi-p_HOhQnA.d.mts → dataManagementApi-4fSaCA5t.d.mts} +2 -2
- package/packages/sdk/dist/{dataManagementApi-Ro9itwm8.d.ts → dataManagementApi-CE8Zyj3a.d.ts} +2 -2
- package/packages/sdk/dist/runtime/index.d.mts +4 -3
- package/packages/sdk/dist/runtime/index.d.ts +4 -3
- package/packages/sdk/dist/runtime/react.d.mts +5 -5
- package/packages/sdk/dist/runtime/react.d.ts +5 -5
- package/templates/openxiangda-react-spa/AGENTS.md +2 -0
- package/templates/sy-lowcode-app-workspace/AGENTS.md +1 -1
package/README.md
CHANGED
|
@@ -107,6 +107,10 @@ openxiangda resource plan function --only customer_get,customer_save --profile d
|
|
|
107
107
|
openxiangda sdd bundle mainline-release --changes add-customer-page,fix-customer-api
|
|
108
108
|
# verify, wait for the lease, stage exact children, atomically finalize, and release
|
|
109
109
|
openxiangda release publish --change mainline-release --profile dev
|
|
110
|
+
# 仅限平台已核验的旧式多历史 lineage、精确非删除恢复
|
|
111
|
+
openxiangda release publish --change mainline-release --profile dev \
|
|
112
|
+
--adopt-online-baseline \
|
|
113
|
+
--adoption-reason "已合入主线的目标来自多次历史发布,无法对应单一 Git 基线"
|
|
110
114
|
openxiangda release status --change mainline-release --watch
|
|
111
115
|
openxiangda release explain --change mainline-release --profile dev
|
|
112
116
|
# 环境托管应用一次性登记(已有应用通常作为 preproduction)
|
|
@@ -1025,7 +1025,7 @@ function releaseExecutionPath(changeId, deploymentId, cwd = process.cwd()) {
|
|
|
1025
1025
|
}
|
|
1026
1026
|
|
|
1027
1027
|
function withManagedReleaseForwardedFlags(stepId, args = [], flags = {}) {
|
|
1028
|
-
|
|
1028
|
+
let forwarded = [...args];
|
|
1029
1029
|
if (stepId === 'runtime-stage' && flags['allow-runtime-rollback']) {
|
|
1030
1030
|
forwarded.push('--allow-runtime-rollback');
|
|
1031
1031
|
const rollbackReason = String(flags.reason || '').trim();
|
|
@@ -1058,6 +1058,19 @@ function withManagedReleaseForwardedFlags(stepId, args = [], flags = {}) {
|
|
|
1058
1058
|
forwarded.push('--reason', replacementReason);
|
|
1059
1059
|
}
|
|
1060
1060
|
}
|
|
1061
|
+
forwarded = withOnlineBaselineAdoptionFlags(forwarded, flags);
|
|
1062
|
+
return forwarded;
|
|
1063
|
+
}
|
|
1064
|
+
|
|
1065
|
+
function withOnlineBaselineAdoptionFlags(args = [], flags = {}) {
|
|
1066
|
+
const forwarded = [...args];
|
|
1067
|
+
const isExactResourcePublish =
|
|
1068
|
+
forwarded[0] === 'resource' &&
|
|
1069
|
+
forwarded[1] === 'publish' &&
|
|
1070
|
+
(forwarded.includes('--only') || forwarded.includes('--code'));
|
|
1071
|
+
if (!isExactResourcePublish) {
|
|
1072
|
+
return forwarded;
|
|
1073
|
+
}
|
|
1061
1074
|
if (flags['adopt-online-baseline']) {
|
|
1062
1075
|
forwarded.push('--adopt-online-baseline');
|
|
1063
1076
|
const adoptionReason = String(
|
|
@@ -1129,6 +1142,7 @@ module.exports = {
|
|
|
1129
1142
|
saveCandidate,
|
|
1130
1143
|
sha256Canonical,
|
|
1131
1144
|
withManagedReleaseForwardedFlags,
|
|
1145
|
+
withOnlineBaselineAdoptionFlags,
|
|
1132
1146
|
withReleaseClientSessionArgs,
|
|
1133
1147
|
writePrivateJsonAtomic,
|
|
1134
1148
|
};
|
package/lib/cli.js
CHANGED
|
@@ -163,6 +163,7 @@ const {
|
|
|
163
163
|
saveCandidate,
|
|
164
164
|
sha256Canonical,
|
|
165
165
|
withManagedReleaseForwardedFlags,
|
|
166
|
+
withOnlineBaselineAdoptionFlags,
|
|
166
167
|
withReleaseClientSessionArgs,
|
|
167
168
|
} = require('./application-environments');
|
|
168
169
|
const { startDeveloperCenter } = require('./developer-center');
|
|
@@ -336,7 +337,7 @@ Usage:
|
|
|
336
337
|
openxiangda status <runId> [--environment preproduction|production] [--json]
|
|
337
338
|
openxiangda retry <runId> [--environment preproduction|production] [--json]
|
|
338
339
|
openxiangda rollback <preproduction|production> --to <appReleaseId> [--json]
|
|
339
|
-
openxiangda release publish|begin|status|integration-status|renew|end [--change id] [--profile name] [--watch] [--json]
|
|
340
|
+
openxiangda release publish|begin|status|integration-status|renew|end [--change id] [--profile name] [--adopt-online-baseline --adoption-reason text] [--watch] [--json]
|
|
340
341
|
openxiangda release ship|candidate|deploy|reconcile|test|fail|promote|rollback [--candidate id] [--deployment id] [--environment target] [--replace-manifest] [--allow-runtime-rollback --reason text] [--adopt-online-baseline --adoption-reason text] [--confirm-production] [--json]
|
|
341
342
|
openxiangda task status --change <id> [--profile name] [--watch] [--json]
|
|
342
343
|
openxiangda release backend-head|backend-list|backend-detail|backend-diff|backend-rollback|backend-abort|backend-retry [releaseId] [--profile name] [--json]
|
|
@@ -2075,14 +2076,18 @@ async function endReleaseWithoutLocalLease(
|
|
|
2075
2076
|
}
|
|
2076
2077
|
|
|
2077
2078
|
function decorateEnvironmentReleaseSteps(steps, target, flags = {}) {
|
|
2078
|
-
|
|
2079
|
+
const managedEnvironment = Boolean(
|
|
2080
|
+
target.environmentId && target.targetName
|
|
2081
|
+
);
|
|
2079
2082
|
const deploymentId = readStringFlag(flags, 'deployment-id');
|
|
2080
2083
|
for (const step of steps) {
|
|
2081
|
-
step.args =
|
|
2082
|
-
step.id,
|
|
2083
|
-
step.args,
|
|
2084
|
-
|
|
2085
|
-
|
|
2084
|
+
step.args = managedEnvironment
|
|
2085
|
+
? withManagedReleaseForwardedFlags(step.id, step.args, flags)
|
|
2086
|
+
: withOnlineBaselineAdoptionFlags(step.args, flags);
|
|
2087
|
+
if (!managedEnvironment) {
|
|
2088
|
+
step.command = commandFromArgs(step.args);
|
|
2089
|
+
continue;
|
|
2090
|
+
}
|
|
2086
2091
|
step.args.push('--environment', target.targetName);
|
|
2087
2092
|
if (deploymentId) step.args.push('--deployment-id', deploymentId);
|
|
2088
2093
|
if (step.id === 'runtime-stage' && flags.__verifiedCandidate) {
|
|
@@ -2132,6 +2137,43 @@ function decorateEnvironmentReleaseSteps(steps, target, flags = {}) {
|
|
|
2132
2137
|
return steps;
|
|
2133
2138
|
}
|
|
2134
2139
|
|
|
2140
|
+
function assertReleasePublishAdoptionFlags(flags = {}) {
|
|
2141
|
+
const adoptionRequested = Boolean(flags['adopt-online-baseline']);
|
|
2142
|
+
const adoptionReasonSupplied = Object.prototype.hasOwnProperty.call(
|
|
2143
|
+
flags,
|
|
2144
|
+
'adoption-reason'
|
|
2145
|
+
);
|
|
2146
|
+
const adoptionReason = String(flags['adoption-reason'] || '').trim();
|
|
2147
|
+
if (!adoptionRequested && adoptionReasonSupplied) {
|
|
2148
|
+
const error = new Error(
|
|
2149
|
+
'RELEASE_PUBLISH_ADOPTION_FLAG_REQUIRED: --adoption-reason 必须与 --adopt-online-baseline 一起使用;命令已在任何发布租约或资源写入前终止'
|
|
2150
|
+
);
|
|
2151
|
+
error.code = 'RELEASE_PUBLISH_ADOPTION_FLAG_REQUIRED';
|
|
2152
|
+
throw error;
|
|
2153
|
+
}
|
|
2154
|
+
if (adoptionRequested && adoptionReason.length < 8) {
|
|
2155
|
+
const error = new Error(
|
|
2156
|
+
'RELEASE_PUBLISH_ADOPTION_REASON_REQUIRED: --adopt-online-baseline 必须提供至少 8 个字符的 --adoption-reason;命令已在任何发布租约或资源写入前终止'
|
|
2157
|
+
);
|
|
2158
|
+
error.code = 'RELEASE_PUBLISH_ADOPTION_REASON_REQUIRED';
|
|
2159
|
+
throw error;
|
|
2160
|
+
}
|
|
2161
|
+
}
|
|
2162
|
+
|
|
2163
|
+
function assertReleasePublishAdoptionScope(steps = [], flags = {}) {
|
|
2164
|
+
if (!flags['adopt-online-baseline']) return;
|
|
2165
|
+
const adoptionSteps = steps.filter(step =>
|
|
2166
|
+
step.args?.includes('--adopt-online-baseline')
|
|
2167
|
+
);
|
|
2168
|
+
if (adoptionSteps.length === 0) {
|
|
2169
|
+
const error = new Error(
|
|
2170
|
+
'RELEASE_PUBLISH_ADOPTION_SCOPE_REQUIRED: 当前发布计划没有可精确采纳线上基线的 resource publish --only/--code 阶段;命令已在任何发布租约或资源写入前终止'
|
|
2171
|
+
);
|
|
2172
|
+
error.code = 'RELEASE_PUBLISH_ADOPTION_SCOPE_REQUIRED';
|
|
2173
|
+
throw error;
|
|
2174
|
+
}
|
|
2175
|
+
}
|
|
2176
|
+
|
|
2135
2177
|
function changeIdFromStep(step) {
|
|
2136
2178
|
const index = step.args.indexOf('--change');
|
|
2137
2179
|
return index >= 0 ? step.args[index + 1] : 'change';
|
|
@@ -2145,6 +2187,7 @@ async function publishWorkspaceRelease(config, target, flags = {}) {
|
|
|
2145
2187
|
if (!changeId) {
|
|
2146
2188
|
fail('用法: openxiangda release publish --change <id> --profile <name>');
|
|
2147
2189
|
}
|
|
2190
|
+
assertReleasePublishAdoptionFlags(flags);
|
|
2148
2191
|
assertManagedRuntimeRollbackFlags(flags);
|
|
2149
2192
|
const releaseCandidate = flags.__verifiedCandidate
|
|
2150
2193
|
? assertLocalCandidate(flags.__verifiedCandidate)
|
|
@@ -2171,6 +2214,7 @@ async function publishWorkspaceRelease(config, target, flags = {}) {
|
|
|
2171
2214
|
changeId
|
|
2172
2215
|
);
|
|
2173
2216
|
decorateEnvironmentReleaseSteps(steps, target, flags);
|
|
2217
|
+
assertReleasePublishAdoptionScope(steps, flags);
|
|
2174
2218
|
const releaseScope = getSddChangeScope({
|
|
2175
2219
|
cwd: process.cwd(),
|
|
2176
2220
|
configText: readWorkspaceConfigText(),
|
|
@@ -5308,7 +5352,7 @@ async function release(args) {
|
|
|
5308
5352
|
const { flags, positional } = parseArgs(rest);
|
|
5309
5353
|
if (wantsSubcommandHelp(subcommand, flags)) {
|
|
5310
5354
|
print([
|
|
5311
|
-
'用法: openxiangda release publish|begin|status|explain|integration-status|renew|end [--change id] [--profile name] [--json]',
|
|
5355
|
+
'用法: openxiangda release publish|begin|status|explain|integration-status|renew|end [--change id] [--profile name] [--adopt-online-baseline --adoption-reason text] [--json]',
|
|
5312
5356
|
' openxiangda release ship|candidate|deploy|reconcile|test|fail|promote|rollback [--candidate id] [--deployment id] [--environment target] [--replace-manifest] [--allow-runtime-rollback --reason text] [--adopt-online-baseline --adoption-reason text] [--confirm-production] [--json]',
|
|
5313
5357
|
' openxiangda release backend-head|backend-list|backend-detail|backend-diff|backend-rollback|backend-abort|backend-retry [releaseId] [--profile name] [--json]',
|
|
5314
5358
|
' openxiangda release app-capture|app-head|app-list|app-detail|app-diff|app-post-commit|app-retry|app-prepare|app-verify|app-activate|app-finalize|app-rollback|app-abort [releaseId] [--staged-resources-json <JSON|file>] [--activate-staged-children] [--break-glass-adopt-verified-root --reason text] [--force-activate-without-validation] [--profile name] [--json]',
|
|
@@ -5321,6 +5365,7 @@ async function release(args) {
|
|
|
5321
5365
|
' openxiangda release ship --change <id> --profile <name> --confirm-production',
|
|
5322
5366
|
' openxiangda release fail --deployment <id> --message "UAT 未通过" --code UAT_FAILED --details-json <JSON|file> --environment preproduction --profile <name>',
|
|
5323
5367
|
' openxiangda release publish --change <id> --profile <name>',
|
|
5368
|
+
' openxiangda release publish --change <id> --profile <name> --adopt-online-baseline --adoption-reason "已审计目标来自多次历史发布"',
|
|
5324
5369
|
' openxiangda release begin --change <id> --profile <name>',
|
|
5325
5370
|
' openxiangda resource publish function --only <code> --change <id> --profile <name>',
|
|
5326
5371
|
' openxiangda runtime deploy --change <id> --profile <name>',
|
|
@@ -5339,6 +5384,7 @@ async function release(args) {
|
|
|
5339
5384
|
' - release fail 只允许显式选择 preproduction target,并会先核对 deployment 的 targetEnvironmentId;message 必填,code/details 会一并写入平台审计。',
|
|
5340
5385
|
' - ship 当前不支持 --dry-run;任何未声明参数都会在 candidate/deployment 写入前 fail-closed。需要只读检查时使用 environment status/diff 与 release status。',
|
|
5341
5386
|
' - publish 默认等待租约并按私有执行日志恢复;上次写结果不确定时必须只读核对后显式 --resume-after-review。',
|
|
5387
|
+
' - 旧式非环境托管 publish 也会把线上基线采纳意图仅透传给精确的 resource publish --only/--code 阶段;无精确资源阶段、原因不足或单独提供 reason 均在获取租约前 fail-closed。',
|
|
5342
5388
|
' - app-head 默认只输出紧凑 head 摘要;需要完整 manifest 时显式追加 --full。',
|
|
5343
5389
|
' - begin 获取应用级单写者 promotion lease;不同工作区仍可并行开发和验证。',
|
|
5344
5390
|
' - 带 --change 的 resource/runtime 写命令在没有本地 lease 时会自动 begin,并在后续命令复用。',
|
|
@@ -31065,6 +31111,8 @@ function buildWorkspacePublishEnv(
|
|
|
31065
31111
|
}
|
|
31066
31112
|
|
|
31067
31113
|
module.exports = {
|
|
31114
|
+
assertReleasePublishAdoptionFlags,
|
|
31115
|
+
assertReleasePublishAdoptionScope,
|
|
31068
31116
|
assertRuntimeReleaseReusable,
|
|
31069
31117
|
buildOpenXiangdaUpdateInstallPlan,
|
|
31070
31118
|
buildResourceManifestSddTargets,
|
|
@@ -31081,4 +31129,5 @@ module.exports = {
|
|
|
31081
31129
|
resolveDataViewSourceFormCodes,
|
|
31082
31130
|
satisfiedFormCodesFromContext,
|
|
31083
31131
|
stagedDataViewFormReleaseDependencies,
|
|
31132
|
+
decorateEnvironmentReleaseSteps,
|
|
31084
31133
|
};
|
|
@@ -161,7 +161,7 @@ When the sealed Runtime source intentionally does not descend from the active Ru
|
|
|
161
161
|
|
|
162
162
|
`resource plan` and publish dry-runs are strictly GET/HEAD-only. `READ_ONLY_AUTH_REQUIRED` means the access token expired; run `openxiangda auth refresh --profile <name>` or log in again before retrying. Never add an automatic refresh POST inside a plan.
|
|
163
163
|
|
|
164
|
-
`release publish` is the default promotion entrypoint only for legacy unmanaged workspaces. It verifies without rewriting reviewed `change.json`/`release.json`, waits for the app lease, freezes the App capture after ownership is acquired, executes deterministic exact staged steps, resumes from `.openxiangda/releases/<change>/execution.json`, atomically finalizes, verifies mainline integration, and releases the lease. Environment-managed applications use the two-phase `release ship`; candidate/deploy/test/fail/promote, `release begin`, and child commands remain recovery/diagnostic primitives.
|
|
164
|
+
`release publish` is the default promotion entrypoint only for legacy unmanaged workspaces. It verifies without rewriting reviewed `change.json`/`release.json`, waits for the app lease, freezes the App capture after ownership is acquired, executes deterministic exact staged steps, resumes from `.openxiangda/releases/<change>/execution.json`, atomically finalizes, verifies mainline integration, and releases the lease. When the same audited historical-lineage condition applies, legacy `release publish` accepts `--adopt-online-baseline --adoption-reason "..."` and forwards the pair only to exact `resource publish --only/--code` stages; missing reasons or plans without an exact resource stage fail before lease acquisition. Environment-managed applications use the two-phase `release ship`; candidate/deploy/test/fail/promote, `release begin`, and child commands remain recovery/diagnostic primitives.
|
|
165
165
|
|
|
166
166
|
Reviewed bundle commands may retain `<profile>` as a template. The explicit real `release publish --profile <name>` value is bound to actual child argv without rewriting tracked SDD. React SPA page codes are logical coverage targets and activate through one Runtime child; they do not require PageRelease. `release app-head` and `runtime releases` are compact by default; use `--full` only when the complete manifest is required.
|
|
167
167
|
|
|
@@ -157,7 +157,7 @@ An environment-managed release may intentionally replace complete Function/Autom
|
|
|
157
157
|
|
|
158
158
|
For an audited Runtime source rollback, managed `release ship`, recovery `release deploy`, and `release promote` accept `--allow-runtime-rollback --reason "..."` with a reason of at least 8 characters. This pair is scoped only to `runtime-stage` and never reaches resource stages or `app-finalize`. Ship freezes it in `ship.json`; production confirmation inherits it automatically. The default remains fail closed.
|
|
159
159
|
|
|
160
|
-
`release publish` is the normal whole-app entrypoint for legacy unmanaged workspaces: it verifies SDD without mutating reviewed files, waits for the promotion lease, freezes one App capture, stages the exact Form/Backend/Runtime children, resumes from a private execution journal, finalizes once, and releases the lease. Managed applications use two-phase `release ship` and its deployment-scoped journal. Individual candidate/deploy/test/fail/promote commands are recovery/diagnostic primitives. `release fail --deployment <id> --message <text> [--code <code>] [--details-json <JSON|file>] --environment preproduction` records an audited UAT failure only after verifying the deployment belongs to the selected preproduction environment; production targets and mismatched deployment identities fail before the write.
|
|
160
|
+
`release publish` is the normal whole-app entrypoint for legacy unmanaged workspaces: it verifies SDD without mutating reviewed files, waits for the promotion lease, freezes one App capture, stages the exact Form/Backend/Runtime children, resumes from a private execution journal, finalizes once, and releases the lease. For an approved historical-lineage catch-up, add `--adopt-online-baseline --adoption-reason "..."`; the pair reaches only exact `resource publish --only/--code` stages, never Form ensure, Runtime, or App finalize, and invalid or empty scopes fail before lease acquisition. Managed applications use two-phase `release ship` and its deployment-scoped journal. Individual candidate/deploy/test/fail/promote commands are recovery/diagnostic primitives. `release fail --deployment <id> --message <text> [--code <code>] [--details-json <JSON|file>] --environment preproduction` records an audited UAT failure only after verifying the deployment belongs to the selected preproduction environment; production targets and mismatched deployment identities fail before the write.
|
|
161
161
|
|
|
162
162
|
Reviewed bundle commands may retain `<profile>` as a template. The explicit real `release publish --profile <name>` value is bound to actual child argv without rewriting tracked SDD. React SPA page codes remain logical coverage targets and activate through the single Runtime child; they do not require PageRelease. If local lease state disappears, `release end --change <id>` reconciles a self-owned remote lease from the private execution journal and never reports inactive while a remote lease is active.
|
|
163
163
|
|
package/package.json
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import React__default, { ReactNode } 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):
|
|
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';
|
|
@@ -1289,4 +1290,4 @@ interface ProcessPreviewProps {
|
|
|
1289
1290
|
}
|
|
1290
1291
|
declare const ProcessPreview: React__default.FC<ProcessPreviewProps>;
|
|
1291
1292
|
|
|
1292
|
-
export { type
|
|
1293
|
+
export { type FormDataDeleteParams 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 FilePreviewCapability as S, type FilePreviewCapabilityBatch as T, type FilePreviewMetadata as U, type FilePreviewProvider as V, type FilePreviewRenderMode as W, type FilePreviewRequest as X, type FilePreviewSurface as Y, type FilePreviewType as Z, type FormAppearanceConfig as _, type AddressValue as a, type RuntimeAuthHeadersProvider as a$, type FormDataQueryParams as a0, type FormEffect as a1, type FormEffectAction as a2, type FormEffectCondition as a3, type FormEffectConditionOperator as a4, type FormEngineConfig as a5, type FormEngineMode as a6, type FormInstanceData as a7, type FormLayoutNode as a8, type FormRuntimeApi as a9, type LowcodePageNodeType as aA, type LowcodePageSchema as aB, type MultiSelectFieldProps as aC, type NumberFieldProps as aD, type OptionItem as aE, type OptionSourceConfig as aF, type OptionSourceType as aG, type PeopleShortcutConfig as aH, type PeopleShortcutType as aI, type PreparedFilePreview as aJ, type PreviewImageItem as aK, type PreviewParams as aL, type ProcessAction as aM, type ProcessBasicInfo as aN, type ProcessDefinition as aO, type ProcessNodeType as aP, ProcessPreview as aQ, type ProcessPreviewProps as aR, type ProcessRoute as aS, type ProcessStatus as aT, type ProcessTask as aU, type RadioFieldProps as aV, type ResubmitParams as aW, type ReturnParams as aX, type ReturnPolicy as aY, type ReturnableNode as aZ, type ReturnableNodeResult as a_, type FormRuntimeApiConfig as aa, type FormRuntimeConfig as ab, type FormSchema as ac, FormSection as ad, type FormSectionProps as ae, type FormSubmitBehavior as af, type FormTemplateConfig as ag, type GridLayoutCell as ah, type GridLayoutNode as ai, type ImageCompressionConfig as aj, type ImageCompressionVariantConfig as ak, type ImageFieldProps as al, type ImageVariant as am, type InitiatorSelectCandidate as an, type InitiatorSelectRequirement as ao, type InitiatorSelectScope as ap, type InitiatorSelectedApprovers as aq, type JSONFieldEditorContext as ar, type JSONFieldProps as as, type JSONFieldRendererContext as at, type LayoutVisibleWhen as au, type LinkedFormOptionConfig as av, type LocationFieldProps as aw, type LocationValue as ax, type LowcodePageMeta as ay, type LowcodePageNode as az, type ApprovalActionType as b, type RuntimeDataQueryParams as b0, type RuntimeDataQueryResult as b1, type RuntimeRequestConfig as b2, type RuntimeResponse as b3, type RuntimeUploadOptions as b4, type RuntimeUploadProvider as b5, type SaveTaskParams as b6, type SectionLayoutNode as b7, type SelectFieldProps as b8, type SerialNumberFieldProps as b9, type SignaturePoint as ba, type StandardFormPageMode as bb, type StatusMeta as bc, type StepLayoutItem as bd, type StepsLayoutNode as be, type SubFormColumn as bf, type SubFormFieldProps as bg, type TabLayoutItem as bh, type TabsLayoutNode as bi, type TaskStatus as bj, type TextAreaFieldProps as bk, type TextFieldProps as bl, type TextShortcutConfig as bm, type TextShortcutType as bn, type TransferParams as bo, type UserDisplayFormat as bp, type UserItem as bq, type UserSelectFieldProps as br, type ValidationPreset as bs, type ValidationRule as bt, type ViewPermissionQueryParams as bu, type ViewPermissionSummary as bv, type WithdrawParams as bw, 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, { ReactNode } 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):
|
|
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';
|
|
@@ -1289,4 +1290,4 @@ interface ProcessPreviewProps {
|
|
|
1289
1290
|
}
|
|
1290
1291
|
declare const ProcessPreview: React__default.FC<ProcessPreviewProps>;
|
|
1291
1292
|
|
|
1292
|
-
export { type
|
|
1293
|
+
export { type FormDataDeleteParams 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 FilePreviewCapability as S, type FilePreviewCapabilityBatch as T, type FilePreviewMetadata as U, type FilePreviewProvider as V, type FilePreviewRenderMode as W, type FilePreviewRequest as X, type FilePreviewSurface as Y, type FilePreviewType as Z, type FormAppearanceConfig as _, type AddressValue as a, type RuntimeAuthHeadersProvider as a$, type FormDataQueryParams as a0, type FormEffect as a1, type FormEffectAction as a2, type FormEffectCondition as a3, type FormEffectConditionOperator as a4, type FormEngineConfig as a5, type FormEngineMode as a6, type FormInstanceData as a7, type FormLayoutNode as a8, type FormRuntimeApi as a9, type LowcodePageNodeType as aA, type LowcodePageSchema as aB, type MultiSelectFieldProps as aC, type NumberFieldProps as aD, type OptionItem as aE, type OptionSourceConfig as aF, type OptionSourceType as aG, type PeopleShortcutConfig as aH, type PeopleShortcutType as aI, type PreparedFilePreview as aJ, type PreviewImageItem as aK, type PreviewParams as aL, type ProcessAction as aM, type ProcessBasicInfo as aN, type ProcessDefinition as aO, type ProcessNodeType as aP, ProcessPreview as aQ, type ProcessPreviewProps as aR, type ProcessRoute as aS, type ProcessStatus as aT, type ProcessTask as aU, type RadioFieldProps as aV, type ResubmitParams as aW, type ReturnParams as aX, type ReturnPolicy as aY, type ReturnableNode as aZ, type ReturnableNodeResult as a_, type FormRuntimeApiConfig as aa, type FormRuntimeConfig as ab, type FormSchema as ac, FormSection as ad, type FormSectionProps as ae, type FormSubmitBehavior as af, type FormTemplateConfig as ag, type GridLayoutCell as ah, type GridLayoutNode as ai, type ImageCompressionConfig as aj, type ImageCompressionVariantConfig as ak, type ImageFieldProps as al, type ImageVariant as am, type InitiatorSelectCandidate as an, type InitiatorSelectRequirement as ao, type InitiatorSelectScope as ap, type InitiatorSelectedApprovers as aq, type JSONFieldEditorContext as ar, type JSONFieldProps as as, type JSONFieldRendererContext as at, type LayoutVisibleWhen as au, type LinkedFormOptionConfig as av, type LocationFieldProps as aw, type LocationValue as ax, type LowcodePageMeta as ay, type LowcodePageNode as az, type ApprovalActionType as b, type RuntimeDataQueryParams as b0, type RuntimeDataQueryResult as b1, type RuntimeRequestConfig as b2, type RuntimeResponse as b3, type RuntimeUploadOptions as b4, type RuntimeUploadProvider as b5, type SaveTaskParams as b6, type SectionLayoutNode as b7, type SelectFieldProps as b8, type SerialNumberFieldProps as b9, type SignaturePoint as ba, type StandardFormPageMode as bb, type StatusMeta as bc, type StepLayoutItem as bd, type StepsLayoutNode as be, type SubFormColumn as bf, type SubFormFieldProps as bg, type TabLayoutItem as bh, type TabsLayoutNode as bi, type TaskStatus as bj, type TextAreaFieldProps as bk, type TextFieldProps as bl, type TextShortcutConfig as bm, type TextShortcutType as bn, type TransferParams as bo, type UserDisplayFormat as bp, type UserItem as bq, type UserSelectFieldProps as br, type ValidationPreset as bs, type ValidationRule as bt, type ViewPermissionQueryParams as bu, type ViewPermissionSummary as bv, type WithdrawParams as bw, 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,9 +1,10 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export {
|
|
1
|
+
import { a5 as FormEngineConfig, ac as FormSchema, O as FieldBehavior, aE as OptionItem, a9 as FormRuntimeApi, ab as FormRuntimeConfig, _ as FormAppearanceConfig, bs as ValidationPreset, bt as ValidationRule, a1 as FormEffect, aa as FormRuntimeApiConfig, aF as OptionSourceConfig, aT as ProcessStatus, bc as StatusMeta, bj as TaskStatus, c as ApprovalPermission, $ as FormDataDeleteParams, q as ChangeRecordQueryParams, p as ChangeRecordListResponse, a0 as FormDataQueryParams, a7 as FormInstanceData, an as InitiatorSelectCandidate, ao as InitiatorSelectRequirement, aN as ProcessBasicInfo, aO as ProcessDefinition, aU as ProcessTask, a_ as ReturnableNodeResult, aZ as ReturnableNode, bu as ViewPermissionQueryParams, bv as ViewPermissionSummary, f as ApproveParams, aL as PreviewParams, aS as ProcessRoute, aW as ResubmitParams, aX as ReturnParams, b6 as SaveTaskParams, bo as TransferParams, bw as WithdrawParams, bl as TextFieldProps, aD as NumberFieldProps, bk as TextAreaFieldProps, b8 as SelectFieldProps, aC as MultiSelectFieldProps, aV as RadioFieldProps, r as CheckboxFieldProps, u as DateFieldProps, C as CascadeDateFieldProps, j as AttachmentFieldProps, al as ImageFieldProps, bg as SubFormFieldProps, br as UserSelectFieldProps, H as DepartmentSelectFieldProps, n as CascadeSelectFieldProps, A as AddressFieldProps, h as AssociationFormFieldProps, M as EditorFieldProps, L as EditorChoiceOption, b9 as SerialNumberFieldProps, aw as LocationFieldProps, J as DigitalSignatureFieldProps, as as JSONFieldProps, l as AttachmentItem, aJ as PreparedFilePreview, S as FilePreviewCapability, U as FilePreviewMetadata, X as FilePreviewRequest, aM as ProcessAction, aq as InitiatorSelectedApprovers, aY as ReturnPolicy, o as ChangeRecord, bb as StandardFormPageMode, aB as LowcodePageSchema } from '../ProcessPreview-Cyk6uv-w.mjs';
|
|
2
|
+
export { a as AddressValue, b as ApprovalActionType, d as ApprovalTimeline, e as ApprovalTimelineProps, g as AssociationFormConfig, i as AssociationValue, k as AttachmentImageVariants, B as BaseFieldProps, m as BaseLayoutNode, D as DataFilter, s as DataLinkageCondition, t as DataLinkageConfig, v as DateRangeRestriction, w as DateRestrictionConfig, x as DateShortcutConfig, y as DateShortcutType, z as DefaultValueLinkageConfig, E as DepartmentSearchParams, F as DepartmentSearchResult, G as DepartmentSearchScope, I as DepartmentTreeNode, K as DigitalSignatureValue, N as EditorToolbarAction, P as FieldDefinition, Q as FieldLayoutNode, R as FieldValueSyncConfig, T as FilePreviewCapabilityBatch, V as FilePreviewProvider, W as FilePreviewRenderMode, Y as FilePreviewSurface, Z as FilePreviewType, a2 as FormEffectAction, a3 as FormEffectCondition, a4 as FormEffectConditionOperator, a6 as FormEngineMode, a8 as FormLayoutNode, ad as FormSection, ae as FormSectionProps, af as FormSubmitBehavior, ag as FormTemplateConfig, ah as GridLayoutCell, ai as GridLayoutNode, aj as ImageCompressionConfig, ak as ImageCompressionVariantConfig, am as ImageVariant, ap as InitiatorSelectScope, ar as JSONFieldEditorContext, at as JSONFieldRendererContext, au as LayoutVisibleWhen, av as LinkedFormOptionConfig, ax as LocationValue, ay as LowcodePageMeta, az as LowcodePageNode, aA as LowcodePageNodeType, aG as OptionSourceType, aH as PeopleShortcutConfig, aI as PeopleShortcutType, aK as PreviewImageItem, aP as ProcessNodeType, aQ as ProcessPreview, aR as ProcessPreviewProps, a$ as RuntimeAuthHeadersProvider, b0 as RuntimeDataQueryParams, b1 as RuntimeDataQueryResult, b2 as RuntimeRequestConfig, b3 as RuntimeResponse, b4 as RuntimeUploadOptions, b5 as RuntimeUploadProvider, b7 as SectionLayoutNode, ba as SignaturePoint, bd as StepLayoutItem, be as StepsLayoutNode, bf as SubFormColumn, bh as TabLayoutItem, bi as TabsLayoutNode, bm as TextShortcutConfig, bn as TextShortcutType, bp as UserDisplayFormat, bq as UserItem } from '../ProcessPreview-Cyk6uv-w.mjs';
|
|
3
3
|
import * as React from 'react';
|
|
4
4
|
import React__default from 'react';
|
|
5
|
-
import
|
|
6
|
-
|
|
5
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
6
|
+
import { a as DataManagementConfigScope, D as DataManagementConfig, F as FormActionPermission } from '../dataManagementApi-4fSaCA5t.mjs';
|
|
7
|
+
export { b as DataManagementDensity, c as DataManagementField, d as DataManagementFilterGroup, e as DataManagementFilterRule, f as DataManagementListResult, g as DataManagementQuery, h as DataManagementSort, i as advancedSearchDataManagement, j as batchApproveDataManagementRows, k as buildFilterPayload, l as deleteDataManagementRows, m as downloadDataManagementImportTemplate, n as exportDataManagementRows, p as getDataManagementConfig, q as getDataManagementSchema, r as getDataManagementTransferRecords, s as getSystemFieldsForFormType, t as importDataManagementRows, u as importPreviewDataManagementRows, v as normalizeColumnConfig, w as normalizeDataManagementFields, x as normalizeDataManagementList, y as saveDataManagementConfig } from '../dataManagementApi-4fSaCA5t.mjs';
|
|
7
8
|
|
|
8
9
|
interface FormContextValue {
|
|
9
10
|
mode: FormEngineConfig['mode'];
|
|
@@ -58,14 +59,14 @@ interface FormRendererProps {
|
|
|
58
59
|
columns?: 1 | 2 | 3 | 4;
|
|
59
60
|
size?: 'compact' | 'default' | 'large';
|
|
60
61
|
}
|
|
61
|
-
declare function FormRenderer({ className, fieldClassName, columns, size, }: FormRendererProps):
|
|
62
|
+
declare function FormRenderer({ className, fieldClassName, columns, size, }: FormRendererProps): react_jsx_runtime.JSX.Element;
|
|
62
63
|
|
|
63
64
|
interface FormShellProps {
|
|
64
65
|
children: React__default.ReactNode;
|
|
65
66
|
appearance?: FormAppearanceConfig;
|
|
66
67
|
className?: string;
|
|
67
68
|
}
|
|
68
|
-
declare function FormShell({ children, appearance, className }: FormShellProps):
|
|
69
|
+
declare function FormShell({ children, appearance, className }: FormShellProps): react_jsx_runtime.JSX.Element;
|
|
69
70
|
|
|
70
71
|
interface FormActionsProps {
|
|
71
72
|
className?: string;
|
|
@@ -75,7 +76,7 @@ interface FormActionsProps {
|
|
|
75
76
|
onSubmit?: (values: Record<string, any>) => Promise<void>;
|
|
76
77
|
submitSuccessMode?: 'stay' | 'callback';
|
|
77
78
|
}
|
|
78
|
-
declare function FormActions({ className, submitText, resetText, showReset, onSubmit, }: FormActionsProps):
|
|
79
|
+
declare function FormActions({ className, submitText, resetText, showReset, onSubmit, }: FormActionsProps): react_jsx_runtime.JSX.Element | null;
|
|
79
80
|
|
|
80
81
|
declare const defaultComponentRegistry: Record<string, React__default.ComponentType<any>>;
|
|
81
82
|
|
|
@@ -115,7 +116,7 @@ interface FieldWrapperProps {
|
|
|
115
116
|
tipsClassName?: string;
|
|
116
117
|
children: React__default.ReactNode;
|
|
117
118
|
}
|
|
118
|
-
declare function FieldWrapper({ fieldId, label, required, tips, className, labelClassName, tipsClassName, children, }: FieldWrapperProps):
|
|
119
|
+
declare function FieldWrapper({ fieldId, label, required, tips, className, labelClassName, tipsClassName, children, }: FieldWrapperProps): react_jsx_runtime.JSX.Element;
|
|
119
120
|
|
|
120
121
|
interface FormContainerProps {
|
|
121
122
|
title?: string;
|
|
@@ -124,7 +125,7 @@ interface FormContainerProps {
|
|
|
124
125
|
maxWidth?: 'sm' | 'md' | 'lg' | 'xl' | 'full';
|
|
125
126
|
className?: string;
|
|
126
127
|
}
|
|
127
|
-
declare function FormContainer({ title, description, children, maxWidth, className, }: FormContainerProps):
|
|
128
|
+
declare function FormContainer({ title, description, children, maxWidth, className, }: FormContainerProps): react_jsx_runtime.JSX.Element;
|
|
128
129
|
|
|
129
130
|
declare function createFormRuntimeApi(config?: FormRuntimeApiConfig): FormRuntimeApi;
|
|
130
131
|
|
|
@@ -213,39 +214,39 @@ declare function getChangeRecords(request: FormRuntimeApi['request'], params: Ch
|
|
|
213
214
|
/** 获取视图权限摘要 */
|
|
214
215
|
declare function getViewPermission(request: FormRuntimeApi['request'], params: ViewPermissionQueryParams): Promise<ViewPermissionSummary>;
|
|
215
216
|
|
|
216
|
-
declare function TextField(props: TextFieldProps):
|
|
217
|
+
declare function TextField(props: TextFieldProps): react_jsx_runtime.JSX.Element | null;
|
|
217
218
|
|
|
218
|
-
declare function NumberField(props: NumberFieldProps):
|
|
219
|
+
declare function NumberField(props: NumberFieldProps): react_jsx_runtime.JSX.Element | null;
|
|
219
220
|
|
|
220
|
-
declare function TextAreaField(props: TextAreaFieldProps):
|
|
221
|
+
declare function TextAreaField(props: TextAreaFieldProps): react_jsx_runtime.JSX.Element | null;
|
|
221
222
|
|
|
222
|
-
declare function SelectField(props: SelectFieldProps):
|
|
223
|
+
declare function SelectField(props: SelectFieldProps): react_jsx_runtime.JSX.Element | null;
|
|
223
224
|
|
|
224
|
-
declare function MultiSelectField(props: MultiSelectFieldProps):
|
|
225
|
+
declare function MultiSelectField(props: MultiSelectFieldProps): react_jsx_runtime.JSX.Element | null;
|
|
225
226
|
|
|
226
|
-
declare function RadioField(props: RadioFieldProps):
|
|
227
|
+
declare function RadioField(props: RadioFieldProps): react_jsx_runtime.JSX.Element | null;
|
|
227
228
|
|
|
228
|
-
declare function CheckboxField(props: CheckboxFieldProps):
|
|
229
|
+
declare function CheckboxField(props: CheckboxFieldProps): react_jsx_runtime.JSX.Element | null;
|
|
229
230
|
|
|
230
|
-
declare function DateField(props: DateFieldProps):
|
|
231
|
+
declare function DateField(props: DateFieldProps): react_jsx_runtime.JSX.Element | null;
|
|
231
232
|
|
|
232
|
-
declare function CascadeDateField(props: CascadeDateFieldProps):
|
|
233
|
+
declare function CascadeDateField(props: CascadeDateFieldProps): react_jsx_runtime.JSX.Element | null;
|
|
233
234
|
|
|
234
|
-
declare function AttachmentField(props: AttachmentFieldProps):
|
|
235
|
+
declare function AttachmentField(props: AttachmentFieldProps): react_jsx_runtime.JSX.Element | null;
|
|
235
236
|
|
|
236
|
-
declare function ImageField(props: ImageFieldProps):
|
|
237
|
+
declare function ImageField(props: ImageFieldProps): react_jsx_runtime.JSX.Element | null;
|
|
237
238
|
|
|
238
|
-
declare function SubFormField(props: SubFormFieldProps):
|
|
239
|
+
declare function SubFormField(props: SubFormFieldProps): react_jsx_runtime.JSX.Element | null;
|
|
239
240
|
|
|
240
|
-
declare function UserSelectField(props: UserSelectFieldProps):
|
|
241
|
+
declare function UserSelectField(props: UserSelectFieldProps): react_jsx_runtime.JSX.Element | null;
|
|
241
242
|
|
|
242
|
-
declare function DepartmentSelectField(props: DepartmentSelectFieldProps):
|
|
243
|
+
declare function DepartmentSelectField(props: DepartmentSelectFieldProps): react_jsx_runtime.JSX.Element | null;
|
|
243
244
|
|
|
244
|
-
declare function CascadeSelectField(props: CascadeSelectFieldProps):
|
|
245
|
+
declare function CascadeSelectField(props: CascadeSelectFieldProps): react_jsx_runtime.JSX.Element | null;
|
|
245
246
|
|
|
246
|
-
declare function AddressField(props: AddressFieldProps):
|
|
247
|
+
declare function AddressField(props: AddressFieldProps): react_jsx_runtime.JSX.Element | null;
|
|
247
248
|
|
|
248
|
-
declare function AssociationFormField(props: AssociationFormFieldProps):
|
|
249
|
+
declare function AssociationFormField(props: AssociationFormFieldProps): react_jsx_runtime.JSX.Element | null;
|
|
249
250
|
|
|
250
251
|
interface RichTextEditorCoreProps {
|
|
251
252
|
value?: string;
|
|
@@ -267,16 +268,16 @@ interface RichTextEditorCoreProps {
|
|
|
267
268
|
fieldId?: string;
|
|
268
269
|
mobile?: boolean;
|
|
269
270
|
}
|
|
270
|
-
declare function RichTextEditorCore({ value, onChange, disabled, inputClassName, placeholder, rows, maxLength, height, toolbarConfig, uploadBucketName, maxImageSize, allowedImageTypes, fontFamilies, fontSizes, colorPresets, api, fieldId, mobile, }: RichTextEditorCoreProps):
|
|
271
|
-
declare function EditorField(props: EditorFieldProps):
|
|
271
|
+
declare function RichTextEditorCore({ value, onChange, disabled, inputClassName, placeholder, rows, maxLength, height, toolbarConfig, uploadBucketName, maxImageSize, allowedImageTypes, fontFamilies, fontSizes, colorPresets, api, fieldId, mobile, }: RichTextEditorCoreProps): react_jsx_runtime.JSX.Element;
|
|
272
|
+
declare function EditorField(props: EditorFieldProps): react_jsx_runtime.JSX.Element | null;
|
|
272
273
|
|
|
273
|
-
declare function SerialNumberField(props: SerialNumberFieldProps):
|
|
274
|
+
declare function SerialNumberField(props: SerialNumberFieldProps): react_jsx_runtime.JSX.Element | null;
|
|
274
275
|
|
|
275
|
-
declare function LocationField(props: LocationFieldProps):
|
|
276
|
+
declare function LocationField(props: LocationFieldProps): react_jsx_runtime.JSX.Element | null;
|
|
276
277
|
|
|
277
|
-
declare function DigitalSignatureField(props: DigitalSignatureFieldProps):
|
|
278
|
+
declare function DigitalSignatureField(props: DigitalSignatureFieldProps): react_jsx_runtime.JSX.Element | null;
|
|
278
279
|
|
|
279
|
-
declare function JSONField(props: JSONFieldProps):
|
|
280
|
+
declare function JSONField(props: JSONFieldProps): react_jsx_runtime.JSX.Element | null;
|
|
280
281
|
|
|
281
282
|
interface FormGridProps {
|
|
282
283
|
columns?: 1 | 2 | 3 | 4;
|
|
@@ -287,7 +288,7 @@ interface FormGridProps {
|
|
|
287
288
|
className?: string;
|
|
288
289
|
children: React__default.ReactNode;
|
|
289
290
|
}
|
|
290
|
-
declare function FormGrid({ columns, gap, columnGap, rowGap, columnRatios, className, children, }: FormGridProps):
|
|
291
|
+
declare function FormGrid({ columns, gap, columnGap, rowGap, columnRatios, className, children, }: FormGridProps): react_jsx_runtime.JSX.Element;
|
|
291
292
|
|
|
292
293
|
interface FormTabItem {
|
|
293
294
|
key: string;
|
|
@@ -300,7 +301,7 @@ interface FormTabsProps {
|
|
|
300
301
|
className?: string;
|
|
301
302
|
tabClassName?: string;
|
|
302
303
|
}
|
|
303
|
-
declare function FormTabs({ items, defaultActiveKey, className, tabClassName }: FormTabsProps):
|
|
304
|
+
declare function FormTabs({ items, defaultActiveKey, className, tabClassName }: FormTabsProps): react_jsx_runtime.JSX.Element;
|
|
304
305
|
|
|
305
306
|
interface FormStepItem {
|
|
306
307
|
key: string;
|
|
@@ -313,7 +314,7 @@ interface FormStepsProps {
|
|
|
313
314
|
className?: string;
|
|
314
315
|
onStepChange?: (step: number) => void;
|
|
315
316
|
}
|
|
316
|
-
declare function FormSteps({ items, className, onStepChange }: FormStepsProps):
|
|
317
|
+
declare function FormSteps({ items, className, onStepChange }: FormStepsProps): react_jsx_runtime.JSX.Element;
|
|
317
318
|
|
|
318
319
|
interface FormSummaryProps {
|
|
319
320
|
className?: string;
|
|
@@ -322,7 +323,7 @@ interface FormSummaryProps {
|
|
|
322
323
|
columns?: 1 | 2 | 3;
|
|
323
324
|
fields?: string[];
|
|
324
325
|
}
|
|
325
|
-
declare function FormSummary({ className, labelClassName, valueClassName, columns, fields, }: FormSummaryProps):
|
|
326
|
+
declare function FormSummary({ className, labelClassName, valueClassName, columns, fields, }: FormSummaryProps): react_jsx_runtime.JSX.Element;
|
|
326
327
|
|
|
327
328
|
declare const unwrapFilePreviewPayload: (payload: any) => any;
|
|
328
329
|
declare const normalizePreviewBlobResponse: (response: unknown) => Blob;
|
|
@@ -348,14 +349,14 @@ interface FilePreviewContentProps {
|
|
|
348
349
|
servicePrefix?: string;
|
|
349
350
|
onDownload?: () => void;
|
|
350
351
|
}
|
|
351
|
-
declare const FilePreviewContent: ({ metadata, request, servicePrefix, onDownload, }: FilePreviewContentProps) =>
|
|
352
|
+
declare const FilePreviewContent: ({ metadata, request, servicePrefix, onDownload, }: FilePreviewContentProps) => react_jsx_runtime.JSX.Element;
|
|
352
353
|
|
|
353
354
|
interface FilePreviewPageProps {
|
|
354
355
|
ticket: string;
|
|
355
356
|
request: FilePreviewRequest;
|
|
356
357
|
servicePrefix?: string;
|
|
357
358
|
}
|
|
358
|
-
declare const FilePreviewPage: ({ ticket, request, servicePrefix, }: FilePreviewPageProps) =>
|
|
359
|
+
declare const FilePreviewPage: ({ ticket, request, servicePrefix, }: FilePreviewPageProps) => react_jsx_runtime.JSX.Element;
|
|
359
360
|
|
|
360
361
|
interface UseFilePreviewOptions {
|
|
361
362
|
items: AttachmentItem[];
|
|
@@ -372,11 +373,11 @@ declare const useFilePreviewController: ({ items, api, appType, bucketName, enab
|
|
|
372
373
|
openingKey: string;
|
|
373
374
|
isOpening: (item: AttachmentItem) => boolean;
|
|
374
375
|
downloadItem: (item: AttachmentItem, prepared?: PreparedFilePreview | null) => Promise<void>;
|
|
375
|
-
previewHost:
|
|
376
|
+
previewHost: react_jsx_runtime.JSX.Element | null;
|
|
376
377
|
};
|
|
377
378
|
declare const FilePreviewCapabilityError: ({ message }: {
|
|
378
379
|
message: string;
|
|
379
|
-
}) =>
|
|
380
|
+
}) => react_jsx_runtime.JSX.Element;
|
|
380
381
|
|
|
381
382
|
interface UseFormEngineReturn {
|
|
382
383
|
formData: Record<string, any>;
|
|
@@ -960,7 +961,7 @@ interface LowcodePageRendererProps {
|
|
|
960
961
|
schema: LowcodePageSchema;
|
|
961
962
|
context?: LowcodePageRuntimeContext;
|
|
962
963
|
}
|
|
963
|
-
declare function LowcodePageRenderer({ schema, context }: LowcodePageRendererProps):
|
|
964
|
+
declare function LowcodePageRenderer({ schema, context }: LowcodePageRendererProps): react_jsx_runtime.JSX.Element;
|
|
964
965
|
|
|
965
966
|
interface PageSkeletonProps {
|
|
966
967
|
type: 'submit' | 'detail' | 'process';
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export {
|
|
1
|
+
import { a5 as FormEngineConfig, ac as FormSchema, O as FieldBehavior, aE as OptionItem, a9 as FormRuntimeApi, ab as FormRuntimeConfig, _ as FormAppearanceConfig, bs as ValidationPreset, bt as ValidationRule, a1 as FormEffect, aa as FormRuntimeApiConfig, aF as OptionSourceConfig, aT as ProcessStatus, bc as StatusMeta, bj as TaskStatus, c as ApprovalPermission, $ as FormDataDeleteParams, q as ChangeRecordQueryParams, p as ChangeRecordListResponse, a0 as FormDataQueryParams, a7 as FormInstanceData, an as InitiatorSelectCandidate, ao as InitiatorSelectRequirement, aN as ProcessBasicInfo, aO as ProcessDefinition, aU as ProcessTask, a_ as ReturnableNodeResult, aZ as ReturnableNode, bu as ViewPermissionQueryParams, bv as ViewPermissionSummary, f as ApproveParams, aL as PreviewParams, aS as ProcessRoute, aW as ResubmitParams, aX as ReturnParams, b6 as SaveTaskParams, bo as TransferParams, bw as WithdrawParams, bl as TextFieldProps, aD as NumberFieldProps, bk as TextAreaFieldProps, b8 as SelectFieldProps, aC as MultiSelectFieldProps, aV as RadioFieldProps, r as CheckboxFieldProps, u as DateFieldProps, C as CascadeDateFieldProps, j as AttachmentFieldProps, al as ImageFieldProps, bg as SubFormFieldProps, br as UserSelectFieldProps, H as DepartmentSelectFieldProps, n as CascadeSelectFieldProps, A as AddressFieldProps, h as AssociationFormFieldProps, M as EditorFieldProps, L as EditorChoiceOption, b9 as SerialNumberFieldProps, aw as LocationFieldProps, J as DigitalSignatureFieldProps, as as JSONFieldProps, l as AttachmentItem, aJ as PreparedFilePreview, S as FilePreviewCapability, U as FilePreviewMetadata, X as FilePreviewRequest, aM as ProcessAction, aq as InitiatorSelectedApprovers, aY as ReturnPolicy, o as ChangeRecord, bb as StandardFormPageMode, aB as LowcodePageSchema } from '../ProcessPreview-Cyk6uv-w.js';
|
|
2
|
+
export { a as AddressValue, b as ApprovalActionType, d as ApprovalTimeline, e as ApprovalTimelineProps, g as AssociationFormConfig, i as AssociationValue, k as AttachmentImageVariants, B as BaseFieldProps, m as BaseLayoutNode, D as DataFilter, s as DataLinkageCondition, t as DataLinkageConfig, v as DateRangeRestriction, w as DateRestrictionConfig, x as DateShortcutConfig, y as DateShortcutType, z as DefaultValueLinkageConfig, E as DepartmentSearchParams, F as DepartmentSearchResult, G as DepartmentSearchScope, I as DepartmentTreeNode, K as DigitalSignatureValue, N as EditorToolbarAction, P as FieldDefinition, Q as FieldLayoutNode, R as FieldValueSyncConfig, T as FilePreviewCapabilityBatch, V as FilePreviewProvider, W as FilePreviewRenderMode, Y as FilePreviewSurface, Z as FilePreviewType, a2 as FormEffectAction, a3 as FormEffectCondition, a4 as FormEffectConditionOperator, a6 as FormEngineMode, a8 as FormLayoutNode, ad as FormSection, ae as FormSectionProps, af as FormSubmitBehavior, ag as FormTemplateConfig, ah as GridLayoutCell, ai as GridLayoutNode, aj as ImageCompressionConfig, ak as ImageCompressionVariantConfig, am as ImageVariant, ap as InitiatorSelectScope, ar as JSONFieldEditorContext, at as JSONFieldRendererContext, au as LayoutVisibleWhen, av as LinkedFormOptionConfig, ax as LocationValue, ay as LowcodePageMeta, az as LowcodePageNode, aA as LowcodePageNodeType, aG as OptionSourceType, aH as PeopleShortcutConfig, aI as PeopleShortcutType, aK as PreviewImageItem, aP as ProcessNodeType, aQ as ProcessPreview, aR as ProcessPreviewProps, a$ as RuntimeAuthHeadersProvider, b0 as RuntimeDataQueryParams, b1 as RuntimeDataQueryResult, b2 as RuntimeRequestConfig, b3 as RuntimeResponse, b4 as RuntimeUploadOptions, b5 as RuntimeUploadProvider, b7 as SectionLayoutNode, ba as SignaturePoint, bd as StepLayoutItem, be as StepsLayoutNode, bf as SubFormColumn, bh as TabLayoutItem, bi as TabsLayoutNode, bm as TextShortcutConfig, bn as TextShortcutType, bp as UserDisplayFormat, bq as UserItem } from '../ProcessPreview-Cyk6uv-w.js';
|
|
3
3
|
import * as React from 'react';
|
|
4
4
|
import React__default from 'react';
|
|
5
|
-
import
|
|
6
|
-
|
|
5
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
6
|
+
import { a as DataManagementConfigScope, D as DataManagementConfig, F as FormActionPermission } from '../dataManagementApi-CE8Zyj3a.js';
|
|
7
|
+
export { b as DataManagementDensity, c as DataManagementField, d as DataManagementFilterGroup, e as DataManagementFilterRule, f as DataManagementListResult, g as DataManagementQuery, h as DataManagementSort, i as advancedSearchDataManagement, j as batchApproveDataManagementRows, k as buildFilterPayload, l as deleteDataManagementRows, m as downloadDataManagementImportTemplate, n as exportDataManagementRows, p as getDataManagementConfig, q as getDataManagementSchema, r as getDataManagementTransferRecords, s as getSystemFieldsForFormType, t as importDataManagementRows, u as importPreviewDataManagementRows, v as normalizeColumnConfig, w as normalizeDataManagementFields, x as normalizeDataManagementList, y as saveDataManagementConfig } from '../dataManagementApi-CE8Zyj3a.js';
|
|
7
8
|
|
|
8
9
|
interface FormContextValue {
|
|
9
10
|
mode: FormEngineConfig['mode'];
|
|
@@ -58,14 +59,14 @@ interface FormRendererProps {
|
|
|
58
59
|
columns?: 1 | 2 | 3 | 4;
|
|
59
60
|
size?: 'compact' | 'default' | 'large';
|
|
60
61
|
}
|
|
61
|
-
declare function FormRenderer({ className, fieldClassName, columns, size, }: FormRendererProps):
|
|
62
|
+
declare function FormRenderer({ className, fieldClassName, columns, size, }: FormRendererProps): react_jsx_runtime.JSX.Element;
|
|
62
63
|
|
|
63
64
|
interface FormShellProps {
|
|
64
65
|
children: React__default.ReactNode;
|
|
65
66
|
appearance?: FormAppearanceConfig;
|
|
66
67
|
className?: string;
|
|
67
68
|
}
|
|
68
|
-
declare function FormShell({ children, appearance, className }: FormShellProps):
|
|
69
|
+
declare function FormShell({ children, appearance, className }: FormShellProps): react_jsx_runtime.JSX.Element;
|
|
69
70
|
|
|
70
71
|
interface FormActionsProps {
|
|
71
72
|
className?: string;
|
|
@@ -75,7 +76,7 @@ interface FormActionsProps {
|
|
|
75
76
|
onSubmit?: (values: Record<string, any>) => Promise<void>;
|
|
76
77
|
submitSuccessMode?: 'stay' | 'callback';
|
|
77
78
|
}
|
|
78
|
-
declare function FormActions({ className, submitText, resetText, showReset, onSubmit, }: FormActionsProps):
|
|
79
|
+
declare function FormActions({ className, submitText, resetText, showReset, onSubmit, }: FormActionsProps): react_jsx_runtime.JSX.Element | null;
|
|
79
80
|
|
|
80
81
|
declare const defaultComponentRegistry: Record<string, React__default.ComponentType<any>>;
|
|
81
82
|
|
|
@@ -115,7 +116,7 @@ interface FieldWrapperProps {
|
|
|
115
116
|
tipsClassName?: string;
|
|
116
117
|
children: React__default.ReactNode;
|
|
117
118
|
}
|
|
118
|
-
declare function FieldWrapper({ fieldId, label, required, tips, className, labelClassName, tipsClassName, children, }: FieldWrapperProps):
|
|
119
|
+
declare function FieldWrapper({ fieldId, label, required, tips, className, labelClassName, tipsClassName, children, }: FieldWrapperProps): react_jsx_runtime.JSX.Element;
|
|
119
120
|
|
|
120
121
|
interface FormContainerProps {
|
|
121
122
|
title?: string;
|
|
@@ -124,7 +125,7 @@ interface FormContainerProps {
|
|
|
124
125
|
maxWidth?: 'sm' | 'md' | 'lg' | 'xl' | 'full';
|
|
125
126
|
className?: string;
|
|
126
127
|
}
|
|
127
|
-
declare function FormContainer({ title, description, children, maxWidth, className, }: FormContainerProps):
|
|
128
|
+
declare function FormContainer({ title, description, children, maxWidth, className, }: FormContainerProps): react_jsx_runtime.JSX.Element;
|
|
128
129
|
|
|
129
130
|
declare function createFormRuntimeApi(config?: FormRuntimeApiConfig): FormRuntimeApi;
|
|
130
131
|
|
|
@@ -213,39 +214,39 @@ declare function getChangeRecords(request: FormRuntimeApi['request'], params: Ch
|
|
|
213
214
|
/** 获取视图权限摘要 */
|
|
214
215
|
declare function getViewPermission(request: FormRuntimeApi['request'], params: ViewPermissionQueryParams): Promise<ViewPermissionSummary>;
|
|
215
216
|
|
|
216
|
-
declare function TextField(props: TextFieldProps):
|
|
217
|
+
declare function TextField(props: TextFieldProps): react_jsx_runtime.JSX.Element | null;
|
|
217
218
|
|
|
218
|
-
declare function NumberField(props: NumberFieldProps):
|
|
219
|
+
declare function NumberField(props: NumberFieldProps): react_jsx_runtime.JSX.Element | null;
|
|
219
220
|
|
|
220
|
-
declare function TextAreaField(props: TextAreaFieldProps):
|
|
221
|
+
declare function TextAreaField(props: TextAreaFieldProps): react_jsx_runtime.JSX.Element | null;
|
|
221
222
|
|
|
222
|
-
declare function SelectField(props: SelectFieldProps):
|
|
223
|
+
declare function SelectField(props: SelectFieldProps): react_jsx_runtime.JSX.Element | null;
|
|
223
224
|
|
|
224
|
-
declare function MultiSelectField(props: MultiSelectFieldProps):
|
|
225
|
+
declare function MultiSelectField(props: MultiSelectFieldProps): react_jsx_runtime.JSX.Element | null;
|
|
225
226
|
|
|
226
|
-
declare function RadioField(props: RadioFieldProps):
|
|
227
|
+
declare function RadioField(props: RadioFieldProps): react_jsx_runtime.JSX.Element | null;
|
|
227
228
|
|
|
228
|
-
declare function CheckboxField(props: CheckboxFieldProps):
|
|
229
|
+
declare function CheckboxField(props: CheckboxFieldProps): react_jsx_runtime.JSX.Element | null;
|
|
229
230
|
|
|
230
|
-
declare function DateField(props: DateFieldProps):
|
|
231
|
+
declare function DateField(props: DateFieldProps): react_jsx_runtime.JSX.Element | null;
|
|
231
232
|
|
|
232
|
-
declare function CascadeDateField(props: CascadeDateFieldProps):
|
|
233
|
+
declare function CascadeDateField(props: CascadeDateFieldProps): react_jsx_runtime.JSX.Element | null;
|
|
233
234
|
|
|
234
|
-
declare function AttachmentField(props: AttachmentFieldProps):
|
|
235
|
+
declare function AttachmentField(props: AttachmentFieldProps): react_jsx_runtime.JSX.Element | null;
|
|
235
236
|
|
|
236
|
-
declare function ImageField(props: ImageFieldProps):
|
|
237
|
+
declare function ImageField(props: ImageFieldProps): react_jsx_runtime.JSX.Element | null;
|
|
237
238
|
|
|
238
|
-
declare function SubFormField(props: SubFormFieldProps):
|
|
239
|
+
declare function SubFormField(props: SubFormFieldProps): react_jsx_runtime.JSX.Element | null;
|
|
239
240
|
|
|
240
|
-
declare function UserSelectField(props: UserSelectFieldProps):
|
|
241
|
+
declare function UserSelectField(props: UserSelectFieldProps): react_jsx_runtime.JSX.Element | null;
|
|
241
242
|
|
|
242
|
-
declare function DepartmentSelectField(props: DepartmentSelectFieldProps):
|
|
243
|
+
declare function DepartmentSelectField(props: DepartmentSelectFieldProps): react_jsx_runtime.JSX.Element | null;
|
|
243
244
|
|
|
244
|
-
declare function CascadeSelectField(props: CascadeSelectFieldProps):
|
|
245
|
+
declare function CascadeSelectField(props: CascadeSelectFieldProps): react_jsx_runtime.JSX.Element | null;
|
|
245
246
|
|
|
246
|
-
declare function AddressField(props: AddressFieldProps):
|
|
247
|
+
declare function AddressField(props: AddressFieldProps): react_jsx_runtime.JSX.Element | null;
|
|
247
248
|
|
|
248
|
-
declare function AssociationFormField(props: AssociationFormFieldProps):
|
|
249
|
+
declare function AssociationFormField(props: AssociationFormFieldProps): react_jsx_runtime.JSX.Element | null;
|
|
249
250
|
|
|
250
251
|
interface RichTextEditorCoreProps {
|
|
251
252
|
value?: string;
|
|
@@ -267,16 +268,16 @@ interface RichTextEditorCoreProps {
|
|
|
267
268
|
fieldId?: string;
|
|
268
269
|
mobile?: boolean;
|
|
269
270
|
}
|
|
270
|
-
declare function RichTextEditorCore({ value, onChange, disabled, inputClassName, placeholder, rows, maxLength, height, toolbarConfig, uploadBucketName, maxImageSize, allowedImageTypes, fontFamilies, fontSizes, colorPresets, api, fieldId, mobile, }: RichTextEditorCoreProps):
|
|
271
|
-
declare function EditorField(props: EditorFieldProps):
|
|
271
|
+
declare function RichTextEditorCore({ value, onChange, disabled, inputClassName, placeholder, rows, maxLength, height, toolbarConfig, uploadBucketName, maxImageSize, allowedImageTypes, fontFamilies, fontSizes, colorPresets, api, fieldId, mobile, }: RichTextEditorCoreProps): react_jsx_runtime.JSX.Element;
|
|
272
|
+
declare function EditorField(props: EditorFieldProps): react_jsx_runtime.JSX.Element | null;
|
|
272
273
|
|
|
273
|
-
declare function SerialNumberField(props: SerialNumberFieldProps):
|
|
274
|
+
declare function SerialNumberField(props: SerialNumberFieldProps): react_jsx_runtime.JSX.Element | null;
|
|
274
275
|
|
|
275
|
-
declare function LocationField(props: LocationFieldProps):
|
|
276
|
+
declare function LocationField(props: LocationFieldProps): react_jsx_runtime.JSX.Element | null;
|
|
276
277
|
|
|
277
|
-
declare function DigitalSignatureField(props: DigitalSignatureFieldProps):
|
|
278
|
+
declare function DigitalSignatureField(props: DigitalSignatureFieldProps): react_jsx_runtime.JSX.Element | null;
|
|
278
279
|
|
|
279
|
-
declare function JSONField(props: JSONFieldProps):
|
|
280
|
+
declare function JSONField(props: JSONFieldProps): react_jsx_runtime.JSX.Element | null;
|
|
280
281
|
|
|
281
282
|
interface FormGridProps {
|
|
282
283
|
columns?: 1 | 2 | 3 | 4;
|
|
@@ -287,7 +288,7 @@ interface FormGridProps {
|
|
|
287
288
|
className?: string;
|
|
288
289
|
children: React__default.ReactNode;
|
|
289
290
|
}
|
|
290
|
-
declare function FormGrid({ columns, gap, columnGap, rowGap, columnRatios, className, children, }: FormGridProps):
|
|
291
|
+
declare function FormGrid({ columns, gap, columnGap, rowGap, columnRatios, className, children, }: FormGridProps): react_jsx_runtime.JSX.Element;
|
|
291
292
|
|
|
292
293
|
interface FormTabItem {
|
|
293
294
|
key: string;
|
|
@@ -300,7 +301,7 @@ interface FormTabsProps {
|
|
|
300
301
|
className?: string;
|
|
301
302
|
tabClassName?: string;
|
|
302
303
|
}
|
|
303
|
-
declare function FormTabs({ items, defaultActiveKey, className, tabClassName }: FormTabsProps):
|
|
304
|
+
declare function FormTabs({ items, defaultActiveKey, className, tabClassName }: FormTabsProps): react_jsx_runtime.JSX.Element;
|
|
304
305
|
|
|
305
306
|
interface FormStepItem {
|
|
306
307
|
key: string;
|
|
@@ -313,7 +314,7 @@ interface FormStepsProps {
|
|
|
313
314
|
className?: string;
|
|
314
315
|
onStepChange?: (step: number) => void;
|
|
315
316
|
}
|
|
316
|
-
declare function FormSteps({ items, className, onStepChange }: FormStepsProps):
|
|
317
|
+
declare function FormSteps({ items, className, onStepChange }: FormStepsProps): react_jsx_runtime.JSX.Element;
|
|
317
318
|
|
|
318
319
|
interface FormSummaryProps {
|
|
319
320
|
className?: string;
|
|
@@ -322,7 +323,7 @@ interface FormSummaryProps {
|
|
|
322
323
|
columns?: 1 | 2 | 3;
|
|
323
324
|
fields?: string[];
|
|
324
325
|
}
|
|
325
|
-
declare function FormSummary({ className, labelClassName, valueClassName, columns, fields, }: FormSummaryProps):
|
|
326
|
+
declare function FormSummary({ className, labelClassName, valueClassName, columns, fields, }: FormSummaryProps): react_jsx_runtime.JSX.Element;
|
|
326
327
|
|
|
327
328
|
declare const unwrapFilePreviewPayload: (payload: any) => any;
|
|
328
329
|
declare const normalizePreviewBlobResponse: (response: unknown) => Blob;
|
|
@@ -348,14 +349,14 @@ interface FilePreviewContentProps {
|
|
|
348
349
|
servicePrefix?: string;
|
|
349
350
|
onDownload?: () => void;
|
|
350
351
|
}
|
|
351
|
-
declare const FilePreviewContent: ({ metadata, request, servicePrefix, onDownload, }: FilePreviewContentProps) =>
|
|
352
|
+
declare const FilePreviewContent: ({ metadata, request, servicePrefix, onDownload, }: FilePreviewContentProps) => react_jsx_runtime.JSX.Element;
|
|
352
353
|
|
|
353
354
|
interface FilePreviewPageProps {
|
|
354
355
|
ticket: string;
|
|
355
356
|
request: FilePreviewRequest;
|
|
356
357
|
servicePrefix?: string;
|
|
357
358
|
}
|
|
358
|
-
declare const FilePreviewPage: ({ ticket, request, servicePrefix, }: FilePreviewPageProps) =>
|
|
359
|
+
declare const FilePreviewPage: ({ ticket, request, servicePrefix, }: FilePreviewPageProps) => react_jsx_runtime.JSX.Element;
|
|
359
360
|
|
|
360
361
|
interface UseFilePreviewOptions {
|
|
361
362
|
items: AttachmentItem[];
|
|
@@ -372,11 +373,11 @@ declare const useFilePreviewController: ({ items, api, appType, bucketName, enab
|
|
|
372
373
|
openingKey: string;
|
|
373
374
|
isOpening: (item: AttachmentItem) => boolean;
|
|
374
375
|
downloadItem: (item: AttachmentItem, prepared?: PreparedFilePreview | null) => Promise<void>;
|
|
375
|
-
previewHost:
|
|
376
|
+
previewHost: react_jsx_runtime.JSX.Element | null;
|
|
376
377
|
};
|
|
377
378
|
declare const FilePreviewCapabilityError: ({ message }: {
|
|
378
379
|
message: string;
|
|
379
|
-
}) =>
|
|
380
|
+
}) => react_jsx_runtime.JSX.Element;
|
|
380
381
|
|
|
381
382
|
interface UseFormEngineReturn {
|
|
382
383
|
formData: Record<string, any>;
|
|
@@ -960,7 +961,7 @@ interface LowcodePageRendererProps {
|
|
|
960
961
|
schema: LowcodePageSchema;
|
|
961
962
|
context?: LowcodePageRuntimeContext;
|
|
962
963
|
}
|
|
963
|
-
declare function LowcodePageRenderer({ schema, context }: LowcodePageRendererProps):
|
|
964
|
+
declare function LowcodePageRenderer({ schema, context }: LowcodePageRendererProps): react_jsx_runtime.JSX.Element;
|
|
964
965
|
|
|
965
966
|
interface PageSkeletonProps {
|
|
966
967
|
type: 'submit' | 'detail' | 'process';
|
package/packages/sdk/dist/{dataManagementApi-p_HOhQnA.d.mts → dataManagementApi-4fSaCA5t.d.mts}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { P as FieldDefinition, a9 as FormRuntimeApi, b3 as RuntimeResponse, ac as FormSchema } from './ProcessPreview-Cyk6uv-w.mjs';
|
|
2
2
|
|
|
3
3
|
type DataManagementConfigScope = 'global' | 'personal';
|
|
4
4
|
type DataManagementDensity = 'compact' | 'middle' | 'loose';
|
|
@@ -139,4 +139,4 @@ declare function getDataManagementTransferRecords(request: FormRuntimeApi['reque
|
|
|
139
139
|
pageSize?: number;
|
|
140
140
|
}): Promise<DataManagementListResult>;
|
|
141
141
|
|
|
142
|
-
export { type
|
|
142
|
+
export { type DataManagementConfig as D, type FormActionPermission as F, type DataManagementConfigScope as a, type DataManagementDensity as b, type DataManagementField as c, type DataManagementFilterGroup as d, type DataManagementFilterRule as e, type DataManagementListResult as f, type DataManagementQuery as g, type DataManagementSort as h, advancedSearchDataManagement as i, batchApproveDataManagementRows as j, buildFilterPayload as k, deleteDataManagementRows as l, downloadDataManagementImportTemplate as m, exportDataManagementRows as n, extractFieldsFromComponentsTree as o, getDataManagementConfig as p, getDataManagementSchema as q, getDataManagementTransferRecords as r, getSystemFieldsForFormType as s, importDataManagementRows as t, importPreviewDataManagementRows as u, normalizeColumnConfig as v, normalizeDataManagementFields as w, normalizeDataManagementList as x, saveDataManagementConfig as y };
|
package/packages/sdk/dist/{dataManagementApi-Ro9itwm8.d.ts → dataManagementApi-CE8Zyj3a.d.ts}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { P as FieldDefinition, a9 as FormRuntimeApi, b3 as RuntimeResponse, ac as FormSchema } from './ProcessPreview-Cyk6uv-w.js';
|
|
2
2
|
|
|
3
3
|
type DataManagementConfigScope = 'global' | 'personal';
|
|
4
4
|
type DataManagementDensity = 'compact' | 'middle' | 'loose';
|
|
@@ -139,4 +139,4 @@ declare function getDataManagementTransferRecords(request: FormRuntimeApi['reque
|
|
|
139
139
|
pageSize?: number;
|
|
140
140
|
}): Promise<DataManagementListResult>;
|
|
141
141
|
|
|
142
|
-
export { type
|
|
142
|
+
export { type DataManagementConfig as D, type FormActionPermission as F, type DataManagementConfigScope as a, type DataManagementDensity as b, type DataManagementField as c, type DataManagementFilterGroup as d, type DataManagementFilterRule as e, type DataManagementListResult as f, type DataManagementQuery as g, type DataManagementSort as h, advancedSearchDataManagement as i, batchApproveDataManagementRows as j, buildFilterPayload as k, deleteDataManagementRows as l, downloadDataManagementImportTemplate as m, exportDataManagementRows as n, extractFieldsFromComponentsTree as o, getDataManagementConfig as p, getDataManagementSchema as q, getDataManagementTransferRecords as r, getSystemFieldsForFormType as s, importDataManagementRows as t, importPreviewDataManagementRows as u, normalizeColumnConfig as v, normalizeDataManagementFields as w, normalizeDataManagementList as x, saveDataManagementConfig as y };
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { PageContext, PageInfo, PageBridgeApi } from './react.mjs';
|
|
2
2
|
export { AdminList, AdminListBatchAction, AdminListColumn, AdminListColumnPreference, AdminListDataSource, AdminListDataSourceOptions, AdminListDataViewSourceOptions, AdminListDensity, AdminListExportDownloadOptions, AdminListExportInput, AdminListExportScope, AdminListExportTask, AdminListExportTaskStatus, AdminListFormSourceOptions, AdminListFunctionSourceOptions, AdminListLockedPreference, AdminListOption, AdminListPreference, AdminListPreferenceStore, AdminListProps, AdminListQuery, AdminListResult, AdminListRowAction, AdminListSearchField, AdminListSearchFieldType, AdminListSearchPreference, AdminListSelectionChange, AdminListSort, AdminListSortDirection, ApiEnvelope, ApiPermissionListParams, AppAuthClient, AppFunctionAttachmentReference, AppFunctionBase64File, AppFunctionConnectorApi, AppFunctionContext, AppFunctionContextV2, AppFunctionDataViewApi, AppFunctionFileReadInput, AppFunctionFileReadOptions, AppFunctionFilesApi, AppFunctionFormApi, AppFunctionFormDeleteResult, AppFunctionFormFileReadOptions, AppFunctionFormGetByIdParams, AppFunctionFormQueryParams, AppFunctionFormWriteParams, AppFunctionHttpApi, AppFunctionHttpRequest, AppFunctionHttpResponse, AppFunctionManifestV2, AppFunctionNotificationApi, AppFunctionOperatorInfo, AppFunctionOrganizationApi, AppFunctionPermissionContext, AppFunctionPlatformApi, AppFunctionPlatformApiRequest, AppFunctionPlatformApiResponse, AppFunctionPlatformHttpApi, AppFunctionPlatformRolesApi, AppFunctionProcessApi, AppFunctionProcessStartResult, AppFunctionProcessTaskResult, AppFunctionProcessWithdrawResult, AppFunctionRoleBatchAddResult, AppFunctionRoleListParams, AppFunctionRoleMemberMutationResult, AppFunctionRoleUsersParams, AppFunctionRuntimeContext, AppFunctionSecretRef, AppFunctionSecrets, AppFunctionUtils, ApproveTaskParams, AssignPermissionsParams, AssignRolesParams, AttachmentPreviewList, AttachmentPreviewListProps, AuthChallengePayload, AuthClientError, AuthClientErrorOptions, AuthClientOptions, AuthErrorExtra, AuthLogoutRedirectOptions, AuthMethod, AuthMethodType, AuthTokenData, AuthUser, BatchAddUsersToRoleParams, BatchSendNotificationByTypeParams, ChangeOrganizationAccountPasswordParams, ChangeUserRoleParams, ConnectorCallParams, ConnectorInvokeParams, ConnectorInvokeResult, ConnectorRequestBodyType, ConnectorResponseType, CreateApiPermissionParams, CreateFileAccessTicketOptions, CreateFormPermissionGroupDto, CreateOrganizationAccountParams, CreateOrganizationDepartmentParams, CreatePagePermissionGroupDto, CreateRoleParams, CreateUiPermissionParams, CreateUserParams, CurrentUserDepartmentParents, CustomPageEntryConfig, CustomPageEntryMode, DINGTALK_OAUTH_BROWSER_CONTEXT_CHANGED, DataManagementConfigParams, DataManagementFilterState, DataPermissionConditionDto, DataPermissionDto, DataPermissionRuleDto, DataViewQueryParams, DataViewQueryResult, DataViewStatsParams, DingTalkBrowserContext, DingTalkClient, DingTalkExternalBrowserGuide, DingTalkExternalBrowserGuideProps, DingTalkLoginEnvironment, DingTalkLoginFlow, DingTalkLoginInput, DingTalkNotificationCapabilities, DingTalkNotificationCardConfig, DingTalkNotificationCardField, DingTalkNotificationCardMode, DingTalkNotificationCardPreview, DingTalkNotificationChannelConfig, DingTalkNotificationDeliveryMode, DingTalkNotificationPreviewResult, DingTalkOAuthStartInput, DingTalkOAuthStartResult, ExecuteProcessOperationInput, FieldAccessLevel, FieldAccessPolicyDto, FieldAccessPolicyItemDto, FieldOptionValue, FieldPermissionDto, FileAccessTicketAction, FileAccessTicketPurpose, FileAccessTicketResult, FilePreviewController, FilePreviewItem, FindNotificationConfigParams, FormAdvancedSearchParams, FormChangeRecordParams, FormCreateParams, FormCreateResult, FormDetailResult, FormExportParams, FormFieldValue, FormGetDetailParams, FormImportParams, FormInstanceIdentifierResult, FormPermissionGroup, FormRemoveParams, FormSearchParams, FormUpdateParams, FormUpdateResult, FunctionInvokeParams, FunctionInvokeResult, GetParentDepartmentsOptions, GetProcessInstanceParams, GetUserRolesParams, GuestLoginInput, ImagePreviewGrid, ImagePreviewGridProps, ImportExportRecordDownloadParams, ImportExportRecordQuery, InitiatorApproverSelector, InstanceStatus, ListNotificationInboxParams, ListWorkCenterItemsParams, LoadDingTalkClientOptions, LoginLogGetParams, LoginLogListParams, LoginLogRecord, LoginLogStats, LoginLogStatsParams, LoginLogStatus, LoginMethodsResult, LoginPage, LoginPageProps, MarkAllNotificationReadResult, NotificationChannel, NotificationChannelConfig, NotificationChannelsConfig, NotificationConfigLevel, NotificationInboxListResult, NotificationInboxMessage, NotificationInboxReadStatus, NotificationMessageRecord, NotificationTemplate, NotificationTemplatePreview, NotificationTypeConfig, NotificationUnreadCountResult, OpenXiangdaPageProvider, OpenXiangdaPageProviderProps, OpenXiangdaProvider, OpenXiangdaProviderProps, OrganizationAccountListParams, OrganizationCapabilities, OrganizationListResult, PageApiPermissionRecord, PageApiResponse, PageAppInfo, PageBinaryResponse, PageDataManagementConfig, PageDataSourceDescriptor, PageDepartmentInfo, PageDepartmentRecord, PageHttpMethod, PageListResult, PageMessageApi, PageModalApi, PageNavigationApi, PageOffsetListResult, PagePermissionGroup, PagePermissionInfo, PageProvider, PageQueryValue, PageRequestCache, PageRequestOptions, PageRoleRecord, PageRouteInfo, PageScope, PageSdk, PageSdkError, PageSdkMeta, PageTransportDownloadPayload, PageTransportRequestPayload, PageUiPermissionRecord, PageUiPermissionType, PageUserInfo, PageUserRecord, PageUserType, PasswordLoginInput, PermissionBoundary, PermissionBoundaryFallback, PermissionBoundaryFallbackState, PermissionBoundaryProps, PhoneCodeInput, PhoneCodeLoginInput, PhoneCodeRegisterInput, PhoneCodeSendResult, PreviewDingTalkNotificationParams, PreviewNotificationTemplateParams, ProcessActionBar, ProcessActionBarProps, ProcessApproveAction, ProcessCapabilities, ProcessCapabilityOperation, ProcessInstanceLookupParams, ProcessPreviewPanel, ProcessPreviewPanelProps, ProcessTimeline, ProcessTimelineProps, PublicAccessClaim, PublicAccessClient, PublicAccessClientError, PublicAccessClientOptions, PublicAccessGate, PublicAccessGateProps, PublicAccessSessionData, PublicAccessSessionInput, PublicFormGrant, PublicStorageAction, PublicStorageGrant, QueryFormPermissionGroupDto, QueryPagePermissionGroupDto, RefreshInput, RequestDingTalkAuthCodeOptions, ResetOrganizationAccountPasswordParams, ResolveLoginUrlInput, ResolveProcessCapabilitiesParams, RoleListParams, RoleUsersParams, RouteAccessResult, RuntimeAuthGuard, RuntimeAuthGuardProps, RuntimeAuthState, RuntimeAuthStatus, RuntimeBootstrap, RuntimeErrorSnapshot, RuntimeErrorType, RuntimeLogoutOptions, RuntimeMenuItem, RuntimePagePermissions, RuntimeRedirectLoginOptions, RuntimeRequestError, RuntimeRequestState, RuntimeResolveLoginOptions, SaveDataManagementConfigParams, SchoolContactClass, SchoolContactPerson, SchoolContactRelationListParams, SchoolContactRelationListResult, SchoolContactRelationRecord, SchoolContactSyncState, SchoolContactTeacher, SchoolContactTeacherListParams, SchoolContactTeacherListResult, SchoolContactTeacherMembershipRecord, SearchComponentName, SearchExpression, SearchFieldKey, SearchGroup, SearchLogic, SearchOperator, SearchRule, SearchSortItem, SearchSystemField, SendNotificationByTypeParams, SendNotificationResult, SsoLoginUrlInput, SsoLoginUrlResult, StructuredExportCellStyle, StructuredExportColumnDefinition, StructuredExportCreateParams, StructuredExportFormatDefinition, StructuredExportFormatType, StructuredExportGetParams, StructuredExportScope, StructuredExportSheetDefinition, StructuredExportSourceDefinition, StructuredExportStyleRule, StructuredExportTask, StructuredExportTaskStatus, StructuredExportValueDefinition, StructuredExportWorkbookDefinition, SubFormRule, SwitchAppRoleParams, SwitchPlatformRoleParams, TerminateProcessInstanceParams, TriggerCallbackTaskParams, TrustedNodeV2Context, UiPermissionListParams, UpdateApiPermissionParams, UpdateDingTalkCardParams, UpdateDingTalkCardResult, UpdateFormPermissionGroupDto, UpdateOrganizationAccountParams, UpdateOrganizationDepartmentParams, UpdatePagePermissionGroupDto, UpdateRoleParams, UpdateUiPermissionParams, UpdateUserParams, UseAuthOptions, UseCanAccessRouteInput, UseFilePreviewOptions, UseLoginMethodsState, UseProcessActionsOptions, UseProcessActionsReturn, UseProcessCapabilitiesOptions, UseProcessCapabilitiesReturn, UsePublicAccessOptions, UsePublicAccessState, UserListParams, UserMenuPermissionsResponse, ValidateUserParams, ViewFieldPermissionValue, ViewOperationPermission, ViewPermissionSummary, WorkCenterBoxType, WorkCenterGroupedStat, WorkCenterItem, WorkCenterListResult, WorkCenterStats, WorkCenterStatsParams, WorkflowApproveParams, WorkflowCapabilityActionKey, WorkflowDefinitionByFormParams, WorkflowInitiatorSelectCandidatesParams, WorkflowInitiatorSelectRequirementsParams, WorkflowPreviewParams, WorkflowResubmitInitiatorSelectRequirementsParams, WorkflowResubmitParams, WorkflowReturnParams, WorkflowSaveTaskParams, WorkflowStartFromExistingInstanceParams, WorkflowTaskParams, WorkflowTransferParams, WorkflowWithdrawParams, createAdminListPreferenceStore, createAuthClient, createDataViewAdminListSource, createFormAdminListSource, createFunctionAdminListSource, createPageFormRuntimeApi, createPageSdk, createPublicAccessClient, createReactPage, detectDingTalkLoginEnvironment, getAuthErrorExtra, getAuthErrorReason, getDingTalkClient, getDingTalkOAuthRecoveryMessage, isAuthChallengeRequired, isAuthClientError, isDingTalkContainer, isDingTalkJsApiReady, isWeChatBrowser, loadDingTalkClient, mergeAdminListPreference, requestDingTalkAuthCode, useAppMenus, useAuth, useCanAccessRoute, useCurrentUser, useDataSource, useFilePreview, useFormViewPermissions, useLoginMethods, useMessage, useModal, useNavigation, useOpenXiangda, usePageContext, usePageFormRuntimeApi, usePageProps, usePageRoute, usePageSdk, usePermission, useProcessActions, useProcessCapabilities, usePublicAccess, useRuntimeAuth, useRuntimeBootstrap } from './react.mjs';
|
|
3
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
3
4
|
import React__default from 'react';
|
|
4
|
-
import {
|
|
5
|
-
export {
|
|
5
|
+
import { ac as FormSchema, a9 as FormRuntimeApi, aa as FormRuntimeApiConfig } from '../ProcessPreview-Cyk6uv-w.mjs';
|
|
6
|
+
export { o as extractFieldsFromComponentsTree } from '../dataManagementApi-4fSaCA5t.mjs';
|
|
6
7
|
|
|
7
8
|
type RuntimeCssIsolation = "none" | "namespace" | "shadow";
|
|
8
9
|
interface RuntimeHostBootstrap {
|
|
@@ -160,7 +161,7 @@ interface BuiltinRouteRendererProps {
|
|
|
160
161
|
style?: React__default.CSSProperties;
|
|
161
162
|
}
|
|
162
163
|
declare const createBuiltinRouteRequest: (servicePrefix?: string, fetchImpl?: typeof fetch) => FormRuntimeApi["request"];
|
|
163
|
-
declare function BuiltinRouteRenderer({ route, appType: appTypeProp, className, config, fetchImpl, overrides, requestOverride, servicePrefix, style, }: BuiltinRouteRendererProps):
|
|
164
|
+
declare function BuiltinRouteRenderer({ route, appType: appTypeProp, className, config, fetchImpl, overrides, requestOverride, servicePrefix, style, }: BuiltinRouteRendererProps): react_jsx_runtime.JSX.Element | null;
|
|
164
165
|
|
|
165
166
|
interface NormalizeRuntimeFormSchemaOptions {
|
|
166
167
|
appType: string;
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { PageContext, PageInfo, PageBridgeApi } from './react.js';
|
|
2
2
|
export { AdminList, AdminListBatchAction, AdminListColumn, AdminListColumnPreference, AdminListDataSource, AdminListDataSourceOptions, AdminListDataViewSourceOptions, AdminListDensity, AdminListExportDownloadOptions, AdminListExportInput, AdminListExportScope, AdminListExportTask, AdminListExportTaskStatus, AdminListFormSourceOptions, AdminListFunctionSourceOptions, AdminListLockedPreference, AdminListOption, AdminListPreference, AdminListPreferenceStore, AdminListProps, AdminListQuery, AdminListResult, AdminListRowAction, AdminListSearchField, AdminListSearchFieldType, AdminListSearchPreference, AdminListSelectionChange, AdminListSort, AdminListSortDirection, ApiEnvelope, ApiPermissionListParams, AppAuthClient, AppFunctionAttachmentReference, AppFunctionBase64File, AppFunctionConnectorApi, AppFunctionContext, AppFunctionContextV2, AppFunctionDataViewApi, AppFunctionFileReadInput, AppFunctionFileReadOptions, AppFunctionFilesApi, AppFunctionFormApi, AppFunctionFormDeleteResult, AppFunctionFormFileReadOptions, AppFunctionFormGetByIdParams, AppFunctionFormQueryParams, AppFunctionFormWriteParams, AppFunctionHttpApi, AppFunctionHttpRequest, AppFunctionHttpResponse, AppFunctionManifestV2, AppFunctionNotificationApi, AppFunctionOperatorInfo, AppFunctionOrganizationApi, AppFunctionPermissionContext, AppFunctionPlatformApi, AppFunctionPlatformApiRequest, AppFunctionPlatformApiResponse, AppFunctionPlatformHttpApi, AppFunctionPlatformRolesApi, AppFunctionProcessApi, AppFunctionProcessStartResult, AppFunctionProcessTaskResult, AppFunctionProcessWithdrawResult, AppFunctionRoleBatchAddResult, AppFunctionRoleListParams, AppFunctionRoleMemberMutationResult, AppFunctionRoleUsersParams, AppFunctionRuntimeContext, AppFunctionSecretRef, AppFunctionSecrets, AppFunctionUtils, ApproveTaskParams, AssignPermissionsParams, AssignRolesParams, AttachmentPreviewList, AttachmentPreviewListProps, AuthChallengePayload, AuthClientError, AuthClientErrorOptions, AuthClientOptions, AuthErrorExtra, AuthLogoutRedirectOptions, AuthMethod, AuthMethodType, AuthTokenData, AuthUser, BatchAddUsersToRoleParams, BatchSendNotificationByTypeParams, ChangeOrganizationAccountPasswordParams, ChangeUserRoleParams, ConnectorCallParams, ConnectorInvokeParams, ConnectorInvokeResult, ConnectorRequestBodyType, ConnectorResponseType, CreateApiPermissionParams, CreateFileAccessTicketOptions, CreateFormPermissionGroupDto, CreateOrganizationAccountParams, CreateOrganizationDepartmentParams, CreatePagePermissionGroupDto, CreateRoleParams, CreateUiPermissionParams, CreateUserParams, CurrentUserDepartmentParents, CustomPageEntryConfig, CustomPageEntryMode, DINGTALK_OAUTH_BROWSER_CONTEXT_CHANGED, DataManagementConfigParams, DataManagementFilterState, DataPermissionConditionDto, DataPermissionDto, DataPermissionRuleDto, DataViewQueryParams, DataViewQueryResult, DataViewStatsParams, DingTalkBrowserContext, DingTalkClient, DingTalkExternalBrowserGuide, DingTalkExternalBrowserGuideProps, DingTalkLoginEnvironment, DingTalkLoginFlow, DingTalkLoginInput, DingTalkNotificationCapabilities, DingTalkNotificationCardConfig, DingTalkNotificationCardField, DingTalkNotificationCardMode, DingTalkNotificationCardPreview, DingTalkNotificationChannelConfig, DingTalkNotificationDeliveryMode, DingTalkNotificationPreviewResult, DingTalkOAuthStartInput, DingTalkOAuthStartResult, ExecuteProcessOperationInput, FieldAccessLevel, FieldAccessPolicyDto, FieldAccessPolicyItemDto, FieldOptionValue, FieldPermissionDto, FileAccessTicketAction, FileAccessTicketPurpose, FileAccessTicketResult, FilePreviewController, FilePreviewItem, FindNotificationConfigParams, FormAdvancedSearchParams, FormChangeRecordParams, FormCreateParams, FormCreateResult, FormDetailResult, FormExportParams, FormFieldValue, FormGetDetailParams, FormImportParams, FormInstanceIdentifierResult, FormPermissionGroup, FormRemoveParams, FormSearchParams, FormUpdateParams, FormUpdateResult, FunctionInvokeParams, FunctionInvokeResult, GetParentDepartmentsOptions, GetProcessInstanceParams, GetUserRolesParams, GuestLoginInput, ImagePreviewGrid, ImagePreviewGridProps, ImportExportRecordDownloadParams, ImportExportRecordQuery, InitiatorApproverSelector, InstanceStatus, ListNotificationInboxParams, ListWorkCenterItemsParams, LoadDingTalkClientOptions, LoginLogGetParams, LoginLogListParams, LoginLogRecord, LoginLogStats, LoginLogStatsParams, LoginLogStatus, LoginMethodsResult, LoginPage, LoginPageProps, MarkAllNotificationReadResult, NotificationChannel, NotificationChannelConfig, NotificationChannelsConfig, NotificationConfigLevel, NotificationInboxListResult, NotificationInboxMessage, NotificationInboxReadStatus, NotificationMessageRecord, NotificationTemplate, NotificationTemplatePreview, NotificationTypeConfig, NotificationUnreadCountResult, OpenXiangdaPageProvider, OpenXiangdaPageProviderProps, OpenXiangdaProvider, OpenXiangdaProviderProps, OrganizationAccountListParams, OrganizationCapabilities, OrganizationListResult, PageApiPermissionRecord, PageApiResponse, PageAppInfo, PageBinaryResponse, PageDataManagementConfig, PageDataSourceDescriptor, PageDepartmentInfo, PageDepartmentRecord, PageHttpMethod, PageListResult, PageMessageApi, PageModalApi, PageNavigationApi, PageOffsetListResult, PagePermissionGroup, PagePermissionInfo, PageProvider, PageQueryValue, PageRequestCache, PageRequestOptions, PageRoleRecord, PageRouteInfo, PageScope, PageSdk, PageSdkError, PageSdkMeta, PageTransportDownloadPayload, PageTransportRequestPayload, PageUiPermissionRecord, PageUiPermissionType, PageUserInfo, PageUserRecord, PageUserType, PasswordLoginInput, PermissionBoundary, PermissionBoundaryFallback, PermissionBoundaryFallbackState, PermissionBoundaryProps, PhoneCodeInput, PhoneCodeLoginInput, PhoneCodeRegisterInput, PhoneCodeSendResult, PreviewDingTalkNotificationParams, PreviewNotificationTemplateParams, ProcessActionBar, ProcessActionBarProps, ProcessApproveAction, ProcessCapabilities, ProcessCapabilityOperation, ProcessInstanceLookupParams, ProcessPreviewPanel, ProcessPreviewPanelProps, ProcessTimeline, ProcessTimelineProps, PublicAccessClaim, PublicAccessClient, PublicAccessClientError, PublicAccessClientOptions, PublicAccessGate, PublicAccessGateProps, PublicAccessSessionData, PublicAccessSessionInput, PublicFormGrant, PublicStorageAction, PublicStorageGrant, QueryFormPermissionGroupDto, QueryPagePermissionGroupDto, RefreshInput, RequestDingTalkAuthCodeOptions, ResetOrganizationAccountPasswordParams, ResolveLoginUrlInput, ResolveProcessCapabilitiesParams, RoleListParams, RoleUsersParams, RouteAccessResult, RuntimeAuthGuard, RuntimeAuthGuardProps, RuntimeAuthState, RuntimeAuthStatus, RuntimeBootstrap, RuntimeErrorSnapshot, RuntimeErrorType, RuntimeLogoutOptions, RuntimeMenuItem, RuntimePagePermissions, RuntimeRedirectLoginOptions, RuntimeRequestError, RuntimeRequestState, RuntimeResolveLoginOptions, SaveDataManagementConfigParams, SchoolContactClass, SchoolContactPerson, SchoolContactRelationListParams, SchoolContactRelationListResult, SchoolContactRelationRecord, SchoolContactSyncState, SchoolContactTeacher, SchoolContactTeacherListParams, SchoolContactTeacherListResult, SchoolContactTeacherMembershipRecord, SearchComponentName, SearchExpression, SearchFieldKey, SearchGroup, SearchLogic, SearchOperator, SearchRule, SearchSortItem, SearchSystemField, SendNotificationByTypeParams, SendNotificationResult, SsoLoginUrlInput, SsoLoginUrlResult, StructuredExportCellStyle, StructuredExportColumnDefinition, StructuredExportCreateParams, StructuredExportFormatDefinition, StructuredExportFormatType, StructuredExportGetParams, StructuredExportScope, StructuredExportSheetDefinition, StructuredExportSourceDefinition, StructuredExportStyleRule, StructuredExportTask, StructuredExportTaskStatus, StructuredExportValueDefinition, StructuredExportWorkbookDefinition, SubFormRule, SwitchAppRoleParams, SwitchPlatformRoleParams, TerminateProcessInstanceParams, TriggerCallbackTaskParams, TrustedNodeV2Context, UiPermissionListParams, UpdateApiPermissionParams, UpdateDingTalkCardParams, UpdateDingTalkCardResult, UpdateFormPermissionGroupDto, UpdateOrganizationAccountParams, UpdateOrganizationDepartmentParams, UpdatePagePermissionGroupDto, UpdateRoleParams, UpdateUiPermissionParams, UpdateUserParams, UseAuthOptions, UseCanAccessRouteInput, UseFilePreviewOptions, UseLoginMethodsState, UseProcessActionsOptions, UseProcessActionsReturn, UseProcessCapabilitiesOptions, UseProcessCapabilitiesReturn, UsePublicAccessOptions, UsePublicAccessState, UserListParams, UserMenuPermissionsResponse, ValidateUserParams, ViewFieldPermissionValue, ViewOperationPermission, ViewPermissionSummary, WorkCenterBoxType, WorkCenterGroupedStat, WorkCenterItem, WorkCenterListResult, WorkCenterStats, WorkCenterStatsParams, WorkflowApproveParams, WorkflowCapabilityActionKey, WorkflowDefinitionByFormParams, WorkflowInitiatorSelectCandidatesParams, WorkflowInitiatorSelectRequirementsParams, WorkflowPreviewParams, WorkflowResubmitInitiatorSelectRequirementsParams, WorkflowResubmitParams, WorkflowReturnParams, WorkflowSaveTaskParams, WorkflowStartFromExistingInstanceParams, WorkflowTaskParams, WorkflowTransferParams, WorkflowWithdrawParams, createAdminListPreferenceStore, createAuthClient, createDataViewAdminListSource, createFormAdminListSource, createFunctionAdminListSource, createPageFormRuntimeApi, createPageSdk, createPublicAccessClient, createReactPage, detectDingTalkLoginEnvironment, getAuthErrorExtra, getAuthErrorReason, getDingTalkClient, getDingTalkOAuthRecoveryMessage, isAuthChallengeRequired, isAuthClientError, isDingTalkContainer, isDingTalkJsApiReady, isWeChatBrowser, loadDingTalkClient, mergeAdminListPreference, requestDingTalkAuthCode, useAppMenus, useAuth, useCanAccessRoute, useCurrentUser, useDataSource, useFilePreview, useFormViewPermissions, useLoginMethods, useMessage, useModal, useNavigation, useOpenXiangda, usePageContext, usePageFormRuntimeApi, usePageProps, usePageRoute, usePageSdk, usePermission, useProcessActions, useProcessCapabilities, usePublicAccess, useRuntimeAuth, useRuntimeBootstrap } from './react.js';
|
|
3
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
3
4
|
import React__default from 'react';
|
|
4
|
-
import {
|
|
5
|
-
export {
|
|
5
|
+
import { ac as FormSchema, a9 as FormRuntimeApi, aa as FormRuntimeApiConfig } from '../ProcessPreview-Cyk6uv-w.js';
|
|
6
|
+
export { o as extractFieldsFromComponentsTree } from '../dataManagementApi-CE8Zyj3a.js';
|
|
6
7
|
|
|
7
8
|
type RuntimeCssIsolation = "none" | "namespace" | "shadow";
|
|
8
9
|
interface RuntimeHostBootstrap {
|
|
@@ -160,7 +161,7 @@ interface BuiltinRouteRendererProps {
|
|
|
160
161
|
style?: React__default.CSSProperties;
|
|
161
162
|
}
|
|
162
163
|
declare const createBuiltinRouteRequest: (servicePrefix?: string, fetchImpl?: typeof fetch) => FormRuntimeApi["request"];
|
|
163
|
-
declare function BuiltinRouteRenderer({ route, appType: appTypeProp, className, config, fetchImpl, overrides, requestOverride, servicePrefix, style, }: BuiltinRouteRendererProps):
|
|
164
|
+
declare function BuiltinRouteRenderer({ route, appType: appTypeProp, className, config, fetchImpl, overrides, requestOverride, servicePrefix, style, }: BuiltinRouteRendererProps): react_jsx_runtime.JSX.Element | null;
|
|
164
165
|
|
|
165
166
|
interface NormalizeRuntimeFormSchemaOptions {
|
|
166
167
|
appType: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
1
|
import React__default, { Dispatch, SetStateAction, CSSProperties, Key, ReactNode, HTMLAttributes } from 'react';
|
|
3
|
-
import {
|
|
2
|
+
import { a$ as RuntimeAuthHeadersProvider, a9 as FormRuntimeApi, l as AttachmentItem, S as FilePreviewCapability, aJ as PreparedFilePreview, ao as InitiatorSelectRequirement, an as InitiatorSelectCandidate, aR as ProcessPreviewProps, e as ApprovalTimelineProps } from '../ProcessPreview-Cyk6uv-w.mjs';
|
|
3
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
4
4
|
|
|
5
5
|
type PageQueryValue = string | string[];
|
|
6
6
|
type PageHttpMethod = "get" | "post" | "put" | "delete" | "patch";
|
|
@@ -2576,7 +2576,7 @@ interface AttachmentPreviewListProps {
|
|
|
2576
2576
|
className?: string;
|
|
2577
2577
|
}
|
|
2578
2578
|
/** Read-only attachment list with capability-aware preview and download actions. */
|
|
2579
|
-
declare const AttachmentPreviewList: ({ items, appType, bucketName, showPreview, showDownload, showFileSize, showFileTypeBadge, emptyText, className, }: AttachmentPreviewListProps) =>
|
|
2579
|
+
declare const AttachmentPreviewList: ({ items, appType, bucketName, showPreview, showDownload, showFileSize, showFileTypeBadge, emptyText, className, }: AttachmentPreviewListProps) => react_jsx_runtime.JSX.Element;
|
|
2580
2580
|
interface ImagePreviewGridProps {
|
|
2581
2581
|
items?: AttachmentItem[];
|
|
2582
2582
|
appType?: string;
|
|
@@ -2588,7 +2588,7 @@ interface ImagePreviewGridProps {
|
|
|
2588
2588
|
className?: string;
|
|
2589
2589
|
}
|
|
2590
2590
|
/** Read-only image grid that opens the current item in the shared preview gallery. */
|
|
2591
|
-
declare const ImagePreviewGrid: ({ items, appType, bucketName, showPreview, showDownload, showFileName, emptyText, className, }: ImagePreviewGridProps) =>
|
|
2591
|
+
declare const ImagePreviewGrid: ({ items, appType, bucketName, showPreview, showDownload, showFileName, emptyText, className, }: ImagePreviewGridProps) => react_jsx_runtime.JSX.Element;
|
|
2592
2592
|
type FilePreviewItem = AttachmentItem;
|
|
2593
2593
|
|
|
2594
2594
|
type SelectedApproverMap = Record<string, InitiatorSelectCandidate[]>;
|
|
@@ -3129,7 +3129,7 @@ interface AdminListProps<Row> {
|
|
|
3129
3129
|
onRow?: (row: Row) => HTMLAttributes<HTMLTableRowElement>;
|
|
3130
3130
|
}
|
|
3131
3131
|
|
|
3132
|
-
declare function AdminList<Row>(props: AdminListProps<Row>):
|
|
3132
|
+
declare function AdminList<Row>(props: AdminListProps<Row>): react_jsx_runtime.JSX.Element;
|
|
3133
3133
|
|
|
3134
3134
|
declare function createFormAdminListSource<Row>(options: AdminListFormSourceOptions): AdminListDataSource<Row>;
|
|
3135
3135
|
declare function createDataViewAdminListSource<Row>(options: AdminListDataViewSourceOptions): AdminListDataSource<Row>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
1
|
import React__default, { Dispatch, SetStateAction, CSSProperties, Key, ReactNode, HTMLAttributes } from 'react';
|
|
3
|
-
import {
|
|
2
|
+
import { a$ as RuntimeAuthHeadersProvider, a9 as FormRuntimeApi, l as AttachmentItem, S as FilePreviewCapability, aJ as PreparedFilePreview, ao as InitiatorSelectRequirement, an as InitiatorSelectCandidate, aR as ProcessPreviewProps, e as ApprovalTimelineProps } from '../ProcessPreview-Cyk6uv-w.js';
|
|
3
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
4
4
|
|
|
5
5
|
type PageQueryValue = string | string[];
|
|
6
6
|
type PageHttpMethod = "get" | "post" | "put" | "delete" | "patch";
|
|
@@ -2576,7 +2576,7 @@ interface AttachmentPreviewListProps {
|
|
|
2576
2576
|
className?: string;
|
|
2577
2577
|
}
|
|
2578
2578
|
/** Read-only attachment list with capability-aware preview and download actions. */
|
|
2579
|
-
declare const AttachmentPreviewList: ({ items, appType, bucketName, showPreview, showDownload, showFileSize, showFileTypeBadge, emptyText, className, }: AttachmentPreviewListProps) =>
|
|
2579
|
+
declare const AttachmentPreviewList: ({ items, appType, bucketName, showPreview, showDownload, showFileSize, showFileTypeBadge, emptyText, className, }: AttachmentPreviewListProps) => react_jsx_runtime.JSX.Element;
|
|
2580
2580
|
interface ImagePreviewGridProps {
|
|
2581
2581
|
items?: AttachmentItem[];
|
|
2582
2582
|
appType?: string;
|
|
@@ -2588,7 +2588,7 @@ interface ImagePreviewGridProps {
|
|
|
2588
2588
|
className?: string;
|
|
2589
2589
|
}
|
|
2590
2590
|
/** Read-only image grid that opens the current item in the shared preview gallery. */
|
|
2591
|
-
declare const ImagePreviewGrid: ({ items, appType, bucketName, showPreview, showDownload, showFileName, emptyText, className, }: ImagePreviewGridProps) =>
|
|
2591
|
+
declare const ImagePreviewGrid: ({ items, appType, bucketName, showPreview, showDownload, showFileName, emptyText, className, }: ImagePreviewGridProps) => react_jsx_runtime.JSX.Element;
|
|
2592
2592
|
type FilePreviewItem = AttachmentItem;
|
|
2593
2593
|
|
|
2594
2594
|
type SelectedApproverMap = Record<string, InitiatorSelectCandidate[]>;
|
|
@@ -3129,7 +3129,7 @@ interface AdminListProps<Row> {
|
|
|
3129
3129
|
onRow?: (row: Row) => HTMLAttributes<HTMLTableRowElement>;
|
|
3130
3130
|
}
|
|
3131
3131
|
|
|
3132
|
-
declare function AdminList<Row>(props: AdminListProps<Row>):
|
|
3132
|
+
declare function AdminList<Row>(props: AdminListProps<Row>): react_jsx_runtime.JSX.Element;
|
|
3133
3133
|
|
|
3134
3134
|
declare function createFormAdminListSource<Row>(options: AdminListFormSourceOptions): AdminListDataSource<Row>;
|
|
3135
3135
|
declare function createDataViewAdminListSource<Row>(options: AdminListDataViewSourceOptions): AdminListDataSource<Row>;
|
|
@@ -59,6 +59,8 @@ openxiangda studio
|
|
|
59
59
|
openxiangda commands --json
|
|
60
60
|
```
|
|
61
61
|
|
|
62
|
+
未登记环境的旧工作区只有在平台已核验“精确非删除目标来自多次历史发布、无法对应单一 Git 基线”时,才可在同一条 `release publish` 上增加 `--adopt-online-baseline --adoption-reason "..."`。CLI 只把该意图传给精确 `resource publish --only/--code` 阶段;表单 ensure、Runtime 与 App finalize 不接收,原因不足或没有精确资源阶段会在获取租约前失败关闭。
|
|
63
|
+
|
|
62
64
|
模板已停用无范围的 `pnpm deploy` 聚合入口。日常变更必须使用 `resource plan|publish <type> --only <codes>`(单资源可用 `--code <code>`)。Form bundle、Backend Release 和 Runtime 都先暂存;CLI 会按 `--change` 自动聚合 `.openxiangda/releases/<change>/staged-resources.json`,最后只由一次 Root App finalize 原子激活。Form Release 一旦 abort 绝不能作为幂等结果复用;重新执行相同精确表单发布时,CLI 会淘汰旧 staged 索引,平台会创建新的不可变 attempt,再由 Root App 一次事务重试。相同 change 的既有 staged FormRelease 只有在 CLI 重新核验服务端不可变状态、identity/hash、冻结 schema/formType、finalized 资源、parent/base revision 和当前 Form Head 后,才可重挂接到新的 baseline/session;`schemaSyncedAt` 只是本地缓存元数据。禁止伪造它、提前激活 Form 或用顺序激活多张表单绕过失败。不要使用 `workspace publish --form`、单独 `runtime activate`、`pnpm publish:all`、`pnpm openxiangda:publish` 或 `lowcode-workspace publish-all`。
|
|
63
65
|
|
|
64
66
|
同一发布同时包含 Form 设置和表单权限组时,必须由一条 `resource publish form-setting,form-permission-group` 命令暂存,并在 `--only` 中分别使用 `form-setting:<code>`、`form-permission-group:<code>`。SDD bundle 与 prepublish 校验使用同一精确契约;缺失、夹带、拆成两个 FormRelease 或提前激活都应失败关闭。
|
|
@@ -65,7 +65,7 @@ Delivery V2 自动从期望状态按资源指纹计算精确范围,使用 CLI
|
|
|
65
65
|
- ✅ Function/Automation 使用 Backend Release v2;正式多资源发布用精确 `--only/--code` 加 `--stage-only` 暂存,同一 child 可混合源码 create、无 `sourceFile` 的完整 v3 声明式 Automation manifest create、source-only update 和显式 manifest replacement,再由 Root App finalize 原子激活。声明式 create 自动选路;替换已有资源的整包 manifest 才需要另加 `--replace-manifest --reason "..."`。clone primary 与冻结仓库 ID 不同时,只有冻结 ID 已存在于 `repoAliases` 才会统一用于 Backend/Workflow/Root App Release;无交集继续失败关闭。
|
|
66
66
|
- ✅ 相同 change 已有 staged FormRelease 时,不要直发 schema、伪造 `schemaSyncedAt` 或提前激活 Form。CLI 只在重新核验服务端不可变状态、identity/hash、冻结 schema/formType、finalized 资源、parent/base revision 与当前 Form Head 后,才将 child 重挂接到新的 baseline/session;冲突继续失败关闭。
|
|
67
67
|
- ✅ 同一发布同时包含 Form 设置和表单权限组时,必须使用一条 `resource publish form-setting,form-permission-group`,并以 `form-setting:<code>`、`form-permission-group:<code>` 精确限定 `--only`;SDD bundle 与 prepublish 校验共享该契约,禁止缺失、夹带、拆分发布或提前激活。
|
|
68
|
-
- ✅ 未登记环境的旧工作区,正式 promotion 先聚合 mainline bundle 并 commit/push,再运行 `release publish --change <id> --profile <name
|
|
68
|
+
- ✅ 未登记环境的旧工作区,正式 promotion 先聚合 mainline bundle 并 commit/push,再运行 `release publish --change <id> --profile <name>`。平台核验精确非删除目标来自多次历史 lineage 后,可成对增加 `--adopt-online-baseline --adoption-reason "..."`;参数只进入精确 `resource publish --only/--code` 阶段,不进入 ensure、Runtime 或 App finalize,无精确资源范围时在获取租约前失败关闭。
|
|
69
69
|
- ✅ 旧工作区已有 Root、且操作者明确授权无条件恢复时,可执行 `release app-activate <releaseId> --force-activate-without-validation --profile <name>`。该命令不读取 detail/capture,不要求 change、租约、baseline、源码 lineage、状态、parent、hash、resource head 或环境发布门禁;服务端直接在目标 tenant/appType 内以单事务切换 Root 与可识别的 staged children。
|
|
70
70
|
- ✅ 已通过 `environment init` 或 `environment attach` 接入的工作区使用 `release ship`,始终按 candidate → preproduction → production 执行。日常首条命令在预发停止,后续 `--confirm-production` 晋级;用户明确授权紧急发布时,首条命令可携带 `--confirm-production` 在一个命令内顺序完成两阶段,但不跳过预发、证据、CAS 或确认。candidate 封存源码、public、构建配置/脚本、稳定环境/资源绑定和两目标 Runtime 哈希产物;部署不现场重建,Backend/Runtime/Root 子发布始终使用 candidate sourceRevision,并将两条服务端 deployment 闭环为 `succeeded`。两套环境身份仍完全隔离,人工验收建议和 swap/policy/权限门禁保持不变。
|
|
71
71
|
- ✅ DataView `status` 仅是平台生命周期观察值;同一托管部署导致的 `active → draft → active` 不应让候选失效。`dataViewId`、`materializedViewName`、`storageMode`、其他资源状态、哈希、环境身份、CAS、租约和来源主线仍严格校验。
|