openxiangda 1.0.133 → 1.0.134
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/lib/cli.js +29 -5
- package/package.json +1 -1
- package/packages/sdk/dist/{ProcessPreview-B2-umzSY.d.mts → ProcessPreview-Dfc4-wIq.d.mts} +2 -3
- package/packages/sdk/dist/{ProcessPreview-B2-umzSY.d.ts → ProcessPreview-Dfc4-wIq.d.ts} +2 -3
- package/packages/sdk/dist/components/index.d.mts +35 -36
- package/packages/sdk/dist/components/index.d.ts +35 -36
- package/packages/sdk/dist/runtime/index.d.mts +2 -3
- package/packages/sdk/dist/runtime/index.d.ts +2 -3
- package/packages/sdk/dist/runtime/react.d.mts +1 -2
- package/packages/sdk/dist/runtime/react.d.ts +1 -2
- package/packages/sdk/dist/workflow/index.cjs +70 -12
- package/packages/sdk/dist/workflow/index.cjs.map +1 -1
- package/packages/sdk/dist/workflow/index.mjs +70 -12
- package/packages/sdk/dist/workflow/index.mjs.map +1 -1
package/lib/cli.js
CHANGED
|
@@ -7887,13 +7887,13 @@ async function publishAutomationResources(config, target, automations, result, o
|
|
|
7887
7887
|
|
|
7888
7888
|
async function publishFunctionResources(config, target, functions, result, options = {}) {
|
|
7889
7889
|
for (const functionItem of functions) {
|
|
7890
|
-
const code = functionItem.code || functionItem.functionCode;
|
|
7890
|
+
const code = functionItem.code || functionItem.functionCode || functionItem.resourceCode;
|
|
7891
7891
|
if (shouldSkipNoopResource(options, 'function', code)) {
|
|
7892
7892
|
recordNoopResource(result, 'function', code, options);
|
|
7893
7893
|
continue;
|
|
7894
7894
|
}
|
|
7895
7895
|
const existing = await findExistingFunction(config, target, code);
|
|
7896
|
-
|
|
7896
|
+
let definitionJson = await resolveManifestJson(
|
|
7897
7897
|
config,
|
|
7898
7898
|
target.profileName,
|
|
7899
7899
|
functionItem,
|
|
@@ -7901,6 +7901,7 @@ async function publishFunctionResources(config, target, functions, result, optio
|
|
|
7901
7901
|
'definitionFile'
|
|
7902
7902
|
);
|
|
7903
7903
|
applyResourceBindingsToRuntimeDefinition(target.bound, functionItem, definitionJson);
|
|
7904
|
+
definitionJson = normalizeFunctionDefinitionJson(functionItem, definitionJson);
|
|
7904
7905
|
const body = stripUndefinedValues({
|
|
7905
7906
|
code,
|
|
7906
7907
|
name: functionItem.name || definitionJson.name || code,
|
|
@@ -10225,21 +10226,44 @@ function automationEquals(target, desired, existing) {
|
|
|
10225
10226
|
|
|
10226
10227
|
function functionEquals(target, desired, existing) {
|
|
10227
10228
|
if (!existing) return false;
|
|
10228
|
-
|
|
10229
|
+
let desiredDefinition = resolveManifestPlainJson(desired, 'definitionJson', 'definitionFile');
|
|
10229
10230
|
applyResourceBindingsToRuntimeDefinition(target.bound, desired, desiredDefinition);
|
|
10231
|
+
desiredDefinition = normalizeFunctionDefinitionJson(desired, desiredDefinition);
|
|
10230
10232
|
const desiredStatus = desired.status === undefined ? 'active' : String(desired.status || 'active');
|
|
10233
|
+
const existingResourceBindings =
|
|
10234
|
+
existing.resourceBindings ??
|
|
10235
|
+
existing.resourceBindingsJson ??
|
|
10236
|
+
existing.definitionJson?.resourceBindings ??
|
|
10237
|
+
{};
|
|
10231
10238
|
return (
|
|
10232
|
-
String(existing.code || existing.functionCode || existing.resourceCode || '') === String(desired.code || desired.functionCode || '') &&
|
|
10239
|
+
String(existing.code || existing.functionCode || existing.resourceCode || '') === String(desired.code || desired.functionCode || desired.resourceCode || '') &&
|
|
10233
10240
|
String(existing.name || '') === String(desired.name || desiredDefinition.name || desired.code || '') &&
|
|
10234
10241
|
String(existing.description || '') === String(
|
|
10235
10242
|
desired.description !== undefined ? desired.description : desiredDefinition.description || ''
|
|
10236
10243
|
) &&
|
|
10237
10244
|
jsonEqualsForPlan(existing.definitionJson, desiredDefinition, desired.__dir) &&
|
|
10238
|
-
jsonEqualsForPlan(
|
|
10245
|
+
jsonEqualsForPlan(existingResourceBindings, desiredDefinition.resourceBindings || {}, desired.__dir) &&
|
|
10239
10246
|
String(existing.status || 'active') === desiredStatus
|
|
10240
10247
|
);
|
|
10241
10248
|
}
|
|
10242
10249
|
|
|
10250
|
+
function normalizeFunctionDefinitionJson(functionItem, definitionJson) {
|
|
10251
|
+
const definition = clonePlainJson(definitionJson || {});
|
|
10252
|
+
const functionCode =
|
|
10253
|
+
definition.functionCode ||
|
|
10254
|
+
functionItem.functionCode ||
|
|
10255
|
+
functionItem.resourceCode ||
|
|
10256
|
+
functionItem.code;
|
|
10257
|
+
return stripUndefinedValues({
|
|
10258
|
+
...definition,
|
|
10259
|
+
kind: definition.kind || 'app_function',
|
|
10260
|
+
version: definition.version || 'function_v1',
|
|
10261
|
+
...(functionCode ? { functionCode: String(functionCode) } : {}),
|
|
10262
|
+
runtimeMode: definition.runtimeMode || 'trusted_node',
|
|
10263
|
+
sourceType: definition.sourceType || 'file_snapshot',
|
|
10264
|
+
});
|
|
10265
|
+
}
|
|
10266
|
+
|
|
10243
10267
|
function authConfigEquals(desired, existing) {
|
|
10244
10268
|
if (!existing) return false;
|
|
10245
10269
|
const expected = normalizeAuthConfigManifest(desired);
|
package/package.json
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import React__default from 'react';
|
|
2
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
3
2
|
|
|
4
3
|
type FormSectionVariant = 'plain' | 'card';
|
|
5
4
|
type FormSectionAccent = 'blue' | 'green';
|
|
@@ -18,7 +17,7 @@ interface FormSectionProps {
|
|
|
18
17
|
contentClassName?: string;
|
|
19
18
|
children: React__default.ReactNode;
|
|
20
19
|
}
|
|
21
|
-
declare function FormSection({ title, description, variant, accent, icon, iconKey, collapsible, defaultCollapsed, className, titleClassName, contentClassName, children, }: FormSectionProps):
|
|
20
|
+
declare function FormSection({ title, description, variant, accent, icon, iconKey, collapsible, defaultCollapsed, className, titleClassName, contentClassName, children, }: FormSectionProps): React__default.JSX.Element;
|
|
22
21
|
|
|
23
22
|
/** 字段行为状态 */
|
|
24
23
|
type FieldBehavior = 'NORMAL' | 'READONLY' | 'DISABLED' | 'HIDDEN';
|
|
@@ -1162,4 +1161,4 @@ interface ProcessPreviewProps {
|
|
|
1162
1161
|
}
|
|
1163
1162
|
declare const ProcessPreview: React__default.FC<ProcessPreviewProps>;
|
|
1164
1163
|
|
|
1165
|
-
export { type
|
|
1164
|
+
export { type DepartmentSelectFieldProps as $, type ApprovalPermission as A, type SaveTaskParams as B, type ChangeRecordQueryParams as C, type TransferParams as D, type RuntimeResponse as E, type FormSchema as F, type TextFieldProps as G, type TextAreaFieldProps as H, type InitiatorSelectCandidate as I, type SelectFieldProps as J, type RadioFieldProps as K, type CheckboxFieldProps as L, type MultiSelectFieldProps as M, type NumberFieldProps as N, type OptionItem as O, type ProcessStatus as P, type DateFieldProps as Q, type ReturnableNodeResult as R, type StatusMeta as S, type TaskStatus as T, type CascadeDateFieldProps as U, type ValidationPreset as V, type WithdrawParams as W, type AttachmentFieldProps as X, type ImageFieldProps as Y, type SubFormFieldProps as Z, type UserSelectFieldProps as _, type FormRuntimeApi as a, ProcessPreview as a$, type CascadeSelectFieldProps as a0, type AddressFieldProps as a1, type AssociationFormFieldProps as a2, type EditorFieldProps as a3, type EditorChoiceOption as a4, type SerialNumberFieldProps as a5, type LocationFieldProps as a6, type DigitalSignatureFieldProps as a7, type JSONFieldProps as a8, type ProcessAction as a9, type FieldLayoutNode as aA, type FieldValueSyncConfig as aB, type FormEffectAction as aC, type FormEffectCondition as aD, type FormEffectConditionOperator as aE, type FormEngineMode as aF, type FormLayoutNode as aG, FormSection as aH, type FormSectionProps as aI, type FormSubmitBehavior as aJ, type FormTemplateConfig as aK, type GridLayoutCell as aL, type GridLayoutNode as aM, type ImageCompressionConfig as aN, type ImageCompressionVariantConfig as aO, type ImageVariant as aP, type InitiatorSelectScope as aQ, type LayoutVisibleWhen as aR, type LinkedFormOptionConfig as aS, type LocationValue as aT, type LowcodePageMeta as aU, type LowcodePageNode as aV, type LowcodePageNodeType as aW, type OptionSourceType as aX, type PeopleShortcutConfig as aY, type PeopleShortcutType as aZ, type ProcessNodeType as a_, type InitiatorSelectedApprovers as aa, type ReturnPolicy as ab, type ChangeRecord as ac, type StandardFormPageMode as ad, type LowcodePageSchema as ae, type AddressValue as af, type ApprovalActionType as ag, ApprovalTimeline as ah, type ApprovalTimelineProps as ai, type AssociationFormConfig as aj, type AssociationValue as ak, type AttachmentImageVariants as al, type AttachmentItem as am, type BaseFieldProps as an, type BaseLayoutNode as ao, type DataFilter as ap, type DataLinkageCondition as aq, type DataLinkageConfig as ar, type DateRangeRestriction as as, type DateRestrictionConfig as at, type DateShortcutConfig as au, type DateShortcutType as av, type DefaultValueLinkageConfig as aw, type DepartmentTreeNode as ax, type DigitalSignatureValue as ay, type EditorToolbarAction as az, type FormRuntimeApiConfig as b, type ProcessPreviewProps as b0, type RuntimeDataQueryParams as b1, type RuntimeDataQueryResult as b2, type RuntimeRequestConfig as b3, type RuntimeUploadOptions as b4, type RuntimeUploadProvider as b5, type SectionLayoutNode as b6, type SignaturePoint as b7, type StepLayoutItem as b8, type StepsLayoutNode as b9, type SubFormColumn as ba, type TabLayoutItem as bb, type TabsLayoutNode as bc, type TextShortcutConfig as bd, type TextShortcutType as be, type UserDisplayFormat as bf, type UserItem as bg, type FieldDefinition as c, type FormEngineConfig as d, type FieldBehavior as e, type FormRuntimeConfig as f, type FormAppearanceConfig as g, type ValidationRule as h, type FormEffect as i, type OptionSourceConfig as j, type FormDataDeleteParams as k, type ChangeRecordListResponse as l, type FormDataQueryParams as m, type FormInstanceData as n, type InitiatorSelectRequirement as o, type ProcessBasicInfo as p, type ProcessDefinition as q, type ProcessTask as r, type ReturnableNode as s, type ViewPermissionQueryParams as t, type ViewPermissionSummary as u, type ApproveParams as v, type PreviewParams as w, type ProcessRoute as x, type ResubmitParams as y, type ReturnParams as z };
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import React__default from 'react';
|
|
2
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
3
2
|
|
|
4
3
|
type FormSectionVariant = 'plain' | 'card';
|
|
5
4
|
type FormSectionAccent = 'blue' | 'green';
|
|
@@ -18,7 +17,7 @@ interface FormSectionProps {
|
|
|
18
17
|
contentClassName?: string;
|
|
19
18
|
children: React__default.ReactNode;
|
|
20
19
|
}
|
|
21
|
-
declare function FormSection({ title, description, variant, accent, icon, iconKey, collapsible, defaultCollapsed, className, titleClassName, contentClassName, children, }: FormSectionProps):
|
|
20
|
+
declare function FormSection({ title, description, variant, accent, icon, iconKey, collapsible, defaultCollapsed, className, titleClassName, contentClassName, children, }: FormSectionProps): React__default.JSX.Element;
|
|
22
21
|
|
|
23
22
|
/** 字段行为状态 */
|
|
24
23
|
type FieldBehavior = 'NORMAL' | 'READONLY' | 'DISABLED' | 'HIDDEN';
|
|
@@ -1162,4 +1161,4 @@ interface ProcessPreviewProps {
|
|
|
1162
1161
|
}
|
|
1163
1162
|
declare const ProcessPreview: React__default.FC<ProcessPreviewProps>;
|
|
1164
1163
|
|
|
1165
|
-
export { type
|
|
1164
|
+
export { type DepartmentSelectFieldProps as $, type ApprovalPermission as A, type SaveTaskParams as B, type ChangeRecordQueryParams as C, type TransferParams as D, type RuntimeResponse as E, type FormSchema as F, type TextFieldProps as G, type TextAreaFieldProps as H, type InitiatorSelectCandidate as I, type SelectFieldProps as J, type RadioFieldProps as K, type CheckboxFieldProps as L, type MultiSelectFieldProps as M, type NumberFieldProps as N, type OptionItem as O, type ProcessStatus as P, type DateFieldProps as Q, type ReturnableNodeResult as R, type StatusMeta as S, type TaskStatus as T, type CascadeDateFieldProps as U, type ValidationPreset as V, type WithdrawParams as W, type AttachmentFieldProps as X, type ImageFieldProps as Y, type SubFormFieldProps as Z, type UserSelectFieldProps as _, type FormRuntimeApi as a, ProcessPreview as a$, type CascadeSelectFieldProps as a0, type AddressFieldProps as a1, type AssociationFormFieldProps as a2, type EditorFieldProps as a3, type EditorChoiceOption as a4, type SerialNumberFieldProps as a5, type LocationFieldProps as a6, type DigitalSignatureFieldProps as a7, type JSONFieldProps as a8, type ProcessAction as a9, type FieldLayoutNode as aA, type FieldValueSyncConfig as aB, type FormEffectAction as aC, type FormEffectCondition as aD, type FormEffectConditionOperator as aE, type FormEngineMode as aF, type FormLayoutNode as aG, FormSection as aH, type FormSectionProps as aI, type FormSubmitBehavior as aJ, type FormTemplateConfig as aK, type GridLayoutCell as aL, type GridLayoutNode as aM, type ImageCompressionConfig as aN, type ImageCompressionVariantConfig as aO, type ImageVariant as aP, type InitiatorSelectScope as aQ, type LayoutVisibleWhen as aR, type LinkedFormOptionConfig as aS, type LocationValue as aT, type LowcodePageMeta as aU, type LowcodePageNode as aV, type LowcodePageNodeType as aW, type OptionSourceType as aX, type PeopleShortcutConfig as aY, type PeopleShortcutType as aZ, type ProcessNodeType as a_, type InitiatorSelectedApprovers as aa, type ReturnPolicy as ab, type ChangeRecord as ac, type StandardFormPageMode as ad, type LowcodePageSchema as ae, type AddressValue as af, type ApprovalActionType as ag, ApprovalTimeline as ah, type ApprovalTimelineProps as ai, type AssociationFormConfig as aj, type AssociationValue as ak, type AttachmentImageVariants as al, type AttachmentItem as am, type BaseFieldProps as an, type BaseLayoutNode as ao, type DataFilter as ap, type DataLinkageCondition as aq, type DataLinkageConfig as ar, type DateRangeRestriction as as, type DateRestrictionConfig as at, type DateShortcutConfig as au, type DateShortcutType as av, type DefaultValueLinkageConfig as aw, type DepartmentTreeNode as ax, type DigitalSignatureValue as ay, type EditorToolbarAction as az, type FormRuntimeApiConfig as b, type ProcessPreviewProps as b0, type RuntimeDataQueryParams as b1, type RuntimeDataQueryResult as b2, type RuntimeRequestConfig as b3, type RuntimeUploadOptions as b4, type RuntimeUploadProvider as b5, type SectionLayoutNode as b6, type SignaturePoint as b7, type StepLayoutItem as b8, type StepsLayoutNode as b9, type SubFormColumn as ba, type TabLayoutItem as bb, type TabsLayoutNode as bc, type TextShortcutConfig as bd, type TextShortcutType as be, type UserDisplayFormat as bf, type UserItem as bg, type FieldDefinition as c, type FormEngineConfig as d, type FieldBehavior as e, type FormRuntimeConfig as f, type FormAppearanceConfig as g, type ValidationRule as h, type FormEffect as i, type OptionSourceConfig as j, type FormDataDeleteParams as k, type ChangeRecordListResponse as l, type FormDataQueryParams as m, type FormInstanceData as n, type InitiatorSelectRequirement as o, type ProcessBasicInfo as p, type ProcessDefinition as q, type ProcessTask as r, type ReturnableNode as s, type ViewPermissionQueryParams as t, type ViewPermissionSummary as u, type ApproveParams as v, type PreviewParams as w, type ProcessRoute as x, type ResubmitParams as y, type ReturnParams as z };
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export {
|
|
1
|
+
import { d as FormEngineConfig, F as FormSchema, e as FieldBehavior, O as OptionItem, a as FormRuntimeApi, f as FormRuntimeConfig, g as FormAppearanceConfig, V as ValidationPreset, h as ValidationRule, i as FormEffect, b as FormRuntimeApiConfig, j as OptionSourceConfig, P as ProcessStatus, S as StatusMeta, T as TaskStatus, A as ApprovalPermission, k as FormDataDeleteParams, C as ChangeRecordQueryParams, l as ChangeRecordListResponse, m as FormDataQueryParams, n as FormInstanceData, I as InitiatorSelectCandidate, o as InitiatorSelectRequirement, p as ProcessBasicInfo, q as ProcessDefinition, r as ProcessTask, R as ReturnableNodeResult, s as ReturnableNode, t as ViewPermissionQueryParams, u as ViewPermissionSummary, v as ApproveParams, w as PreviewParams, x as ProcessRoute, y as ResubmitParams, z as ReturnParams, B as SaveTaskParams, D as TransferParams, W as WithdrawParams, c as FieldDefinition, E as RuntimeResponse, G as TextFieldProps, N as NumberFieldProps, H as TextAreaFieldProps, J as SelectFieldProps, M as MultiSelectFieldProps, K as RadioFieldProps, L as CheckboxFieldProps, Q as DateFieldProps, U as CascadeDateFieldProps, X as AttachmentFieldProps, Y as ImageFieldProps, Z as SubFormFieldProps, _ as UserSelectFieldProps, $ as DepartmentSelectFieldProps, a0 as CascadeSelectFieldProps, a1 as AddressFieldProps, a2 as AssociationFormFieldProps, a3 as EditorFieldProps, a4 as EditorChoiceOption, a5 as SerialNumberFieldProps, a6 as LocationFieldProps, a7 as DigitalSignatureFieldProps, a8 as JSONFieldProps, a9 as ProcessAction, aa as InitiatorSelectedApprovers, ab as ReturnPolicy, ac as ChangeRecord, ad as StandardFormPageMode, ae as LowcodePageSchema } from '../ProcessPreview-Dfc4-wIq.mjs';
|
|
2
|
+
export { af as AddressValue, ag as ApprovalActionType, ah as ApprovalTimeline, ai as ApprovalTimelineProps, aj as AssociationFormConfig, ak as AssociationValue, al as AttachmentImageVariants, am as AttachmentItem, an as BaseFieldProps, ao as BaseLayoutNode, ap as DataFilter, aq as DataLinkageCondition, ar as DataLinkageConfig, as as DateRangeRestriction, at as DateRestrictionConfig, au as DateShortcutConfig, av as DateShortcutType, aw as DefaultValueLinkageConfig, ax as DepartmentTreeNode, ay as DigitalSignatureValue, az as EditorToolbarAction, aA as FieldLayoutNode, aB as FieldValueSyncConfig, aC as FormEffectAction, aD as FormEffectCondition, aE as FormEffectConditionOperator, aF as FormEngineMode, aG as FormLayoutNode, aH as FormSection, aI as FormSectionProps, aJ as FormSubmitBehavior, aK as FormTemplateConfig, aL as GridLayoutCell, aM as GridLayoutNode, aN as ImageCompressionConfig, aO as ImageCompressionVariantConfig, aP as ImageVariant, aQ as InitiatorSelectScope, aR as LayoutVisibleWhen, aS as LinkedFormOptionConfig, aT as LocationValue, aU as LowcodePageMeta, aV as LowcodePageNode, aW as LowcodePageNodeType, aX as OptionSourceType, aY as PeopleShortcutConfig, aZ as PeopleShortcutType, a_ as ProcessNodeType, a$ as ProcessPreview, b0 as ProcessPreviewProps, b1 as RuntimeDataQueryParams, b2 as RuntimeDataQueryResult, b3 as RuntimeRequestConfig, b4 as RuntimeUploadOptions, b5 as RuntimeUploadProvider, b6 as SectionLayoutNode, b7 as SignaturePoint, b8 as StepLayoutItem, b9 as StepsLayoutNode, ba as SubFormColumn, bb as TabLayoutItem, bc as TabsLayoutNode, bd as TextShortcutConfig, be as TextShortcutType, bf as UserDisplayFormat, bg as UserItem } from '../ProcessPreview-Dfc4-wIq.mjs';
|
|
3
3
|
import * as React from 'react';
|
|
4
4
|
import React__default from 'react';
|
|
5
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
6
5
|
|
|
7
6
|
interface FormContextValue {
|
|
8
7
|
mode: FormEngineConfig['mode'];
|
|
@@ -56,14 +55,14 @@ interface FormRendererProps {
|
|
|
56
55
|
columns?: 1 | 2 | 3 | 4;
|
|
57
56
|
size?: 'compact' | 'default' | 'large';
|
|
58
57
|
}
|
|
59
|
-
declare function FormRenderer({ className, fieldClassName, columns, size, }: FormRendererProps):
|
|
58
|
+
declare function FormRenderer({ className, fieldClassName, columns, size, }: FormRendererProps): React__default.JSX.Element;
|
|
60
59
|
|
|
61
60
|
interface FormShellProps {
|
|
62
61
|
children: React__default.ReactNode;
|
|
63
62
|
appearance?: FormAppearanceConfig;
|
|
64
63
|
className?: string;
|
|
65
64
|
}
|
|
66
|
-
declare function FormShell({ children, appearance, className }: FormShellProps):
|
|
65
|
+
declare function FormShell({ children, appearance, className }: FormShellProps): React__default.JSX.Element;
|
|
67
66
|
|
|
68
67
|
interface FormActionsProps {
|
|
69
68
|
className?: string;
|
|
@@ -73,7 +72,7 @@ interface FormActionsProps {
|
|
|
73
72
|
onSubmit?: (values: Record<string, any>) => Promise<void>;
|
|
74
73
|
submitSuccessMode?: 'stay' | 'callback';
|
|
75
74
|
}
|
|
76
|
-
declare function FormActions({ className, submitText, resetText, showReset, onSubmit, }: FormActionsProps):
|
|
75
|
+
declare function FormActions({ className, submitText, resetText, showReset, onSubmit, }: FormActionsProps): React__default.JSX.Element | null;
|
|
77
76
|
|
|
78
77
|
declare const defaultComponentRegistry: Record<string, React__default.ComponentType<any>>;
|
|
79
78
|
|
|
@@ -113,7 +112,7 @@ interface FieldWrapperProps {
|
|
|
113
112
|
tipsClassName?: string;
|
|
114
113
|
children: React__default.ReactNode;
|
|
115
114
|
}
|
|
116
|
-
declare function FieldWrapper({ fieldId, label, required, tips, className, labelClassName, tipsClassName, children, }: FieldWrapperProps):
|
|
115
|
+
declare function FieldWrapper({ fieldId, label, required, tips, className, labelClassName, tipsClassName, children, }: FieldWrapperProps): React__default.JSX.Element;
|
|
117
116
|
|
|
118
117
|
interface FormContainerProps {
|
|
119
118
|
title?: string;
|
|
@@ -122,7 +121,7 @@ interface FormContainerProps {
|
|
|
122
121
|
maxWidth?: 'sm' | 'md' | 'lg' | 'xl' | 'full';
|
|
123
122
|
className?: string;
|
|
124
123
|
}
|
|
125
|
-
declare function FormContainer({ title, description, children, maxWidth, className, }: FormContainerProps):
|
|
124
|
+
declare function FormContainer({ title, description, children, maxWidth, className, }: FormContainerProps): React__default.JSX.Element;
|
|
126
125
|
|
|
127
126
|
declare function createFormRuntimeApi(config?: FormRuntimeApiConfig): FormRuntimeApi;
|
|
128
127
|
|
|
@@ -343,39 +342,39 @@ declare function getDataManagementTransferRecords(request: FormRuntimeApi['reque
|
|
|
343
342
|
pageSize?: number;
|
|
344
343
|
}): Promise<DataManagementListResult>;
|
|
345
344
|
|
|
346
|
-
declare function TextField(props: TextFieldProps):
|
|
345
|
+
declare function TextField(props: TextFieldProps): React__default.JSX.Element | null;
|
|
347
346
|
|
|
348
|
-
declare function NumberField(props: NumberFieldProps):
|
|
347
|
+
declare function NumberField(props: NumberFieldProps): React__default.JSX.Element | null;
|
|
349
348
|
|
|
350
|
-
declare function TextAreaField(props: TextAreaFieldProps):
|
|
349
|
+
declare function TextAreaField(props: TextAreaFieldProps): React__default.JSX.Element | null;
|
|
351
350
|
|
|
352
|
-
declare function SelectField(props: SelectFieldProps):
|
|
351
|
+
declare function SelectField(props: SelectFieldProps): React__default.JSX.Element | null;
|
|
353
352
|
|
|
354
|
-
declare function MultiSelectField(props: MultiSelectFieldProps):
|
|
353
|
+
declare function MultiSelectField(props: MultiSelectFieldProps): React__default.JSX.Element | null;
|
|
355
354
|
|
|
356
|
-
declare function RadioField(props: RadioFieldProps):
|
|
355
|
+
declare function RadioField(props: RadioFieldProps): React__default.JSX.Element | null;
|
|
357
356
|
|
|
358
|
-
declare function CheckboxField(props: CheckboxFieldProps):
|
|
357
|
+
declare function CheckboxField(props: CheckboxFieldProps): React__default.JSX.Element | null;
|
|
359
358
|
|
|
360
|
-
declare function DateField(props: DateFieldProps):
|
|
359
|
+
declare function DateField(props: DateFieldProps): React__default.JSX.Element | null;
|
|
361
360
|
|
|
362
|
-
declare function CascadeDateField(props: CascadeDateFieldProps):
|
|
361
|
+
declare function CascadeDateField(props: CascadeDateFieldProps): React__default.JSX.Element | null;
|
|
363
362
|
|
|
364
|
-
declare function AttachmentField(props: AttachmentFieldProps):
|
|
363
|
+
declare function AttachmentField(props: AttachmentFieldProps): React__default.JSX.Element | null;
|
|
365
364
|
|
|
366
|
-
declare function ImageField(props: ImageFieldProps):
|
|
365
|
+
declare function ImageField(props: ImageFieldProps): React__default.JSX.Element | null;
|
|
367
366
|
|
|
368
|
-
declare function SubFormField(props: SubFormFieldProps):
|
|
367
|
+
declare function SubFormField(props: SubFormFieldProps): React__default.JSX.Element | null;
|
|
369
368
|
|
|
370
|
-
declare function UserSelectField(props: UserSelectFieldProps):
|
|
369
|
+
declare function UserSelectField(props: UserSelectFieldProps): React__default.JSX.Element | null;
|
|
371
370
|
|
|
372
|
-
declare function DepartmentSelectField(props: DepartmentSelectFieldProps):
|
|
371
|
+
declare function DepartmentSelectField(props: DepartmentSelectFieldProps): React__default.JSX.Element | null;
|
|
373
372
|
|
|
374
|
-
declare function CascadeSelectField(props: CascadeSelectFieldProps):
|
|
373
|
+
declare function CascadeSelectField(props: CascadeSelectFieldProps): React__default.JSX.Element | null;
|
|
375
374
|
|
|
376
|
-
declare function AddressField(props: AddressFieldProps):
|
|
375
|
+
declare function AddressField(props: AddressFieldProps): React__default.JSX.Element | null;
|
|
377
376
|
|
|
378
|
-
declare function AssociationFormField(props: AssociationFormFieldProps):
|
|
377
|
+
declare function AssociationFormField(props: AssociationFormFieldProps): React__default.JSX.Element | null;
|
|
379
378
|
|
|
380
379
|
interface RichTextEditorCoreProps {
|
|
381
380
|
value?: string;
|
|
@@ -397,16 +396,16 @@ interface RichTextEditorCoreProps {
|
|
|
397
396
|
fieldId?: string;
|
|
398
397
|
mobile?: boolean;
|
|
399
398
|
}
|
|
400
|
-
declare function RichTextEditorCore({ value, onChange, disabled, inputClassName, placeholder, rows, maxLength, height, toolbarConfig, uploadBucketName, maxImageSize, allowedImageTypes, fontFamilies, fontSizes, colorPresets, api, fieldId, mobile, }: RichTextEditorCoreProps):
|
|
401
|
-
declare function EditorField(props: EditorFieldProps):
|
|
399
|
+
declare function RichTextEditorCore({ value, onChange, disabled, inputClassName, placeholder, rows, maxLength, height, toolbarConfig, uploadBucketName, maxImageSize, allowedImageTypes, fontFamilies, fontSizes, colorPresets, api, fieldId, mobile, }: RichTextEditorCoreProps): React__default.JSX.Element;
|
|
400
|
+
declare function EditorField(props: EditorFieldProps): React__default.JSX.Element | null;
|
|
402
401
|
|
|
403
|
-
declare function SerialNumberField(props: SerialNumberFieldProps):
|
|
402
|
+
declare function SerialNumberField(props: SerialNumberFieldProps): React__default.JSX.Element | null;
|
|
404
403
|
|
|
405
|
-
declare function LocationField(props: LocationFieldProps):
|
|
404
|
+
declare function LocationField(props: LocationFieldProps): React__default.JSX.Element | null;
|
|
406
405
|
|
|
407
|
-
declare function DigitalSignatureField(props: DigitalSignatureFieldProps):
|
|
406
|
+
declare function DigitalSignatureField(props: DigitalSignatureFieldProps): React__default.JSX.Element | null;
|
|
408
407
|
|
|
409
|
-
declare function JSONField(props: JSONFieldProps):
|
|
408
|
+
declare function JSONField(props: JSONFieldProps): React__default.JSX.Element | null;
|
|
410
409
|
|
|
411
410
|
interface FormGridProps {
|
|
412
411
|
columns?: 1 | 2 | 3 | 4;
|
|
@@ -417,7 +416,7 @@ interface FormGridProps {
|
|
|
417
416
|
className?: string;
|
|
418
417
|
children: React__default.ReactNode;
|
|
419
418
|
}
|
|
420
|
-
declare function FormGrid({ columns, gap, columnGap, rowGap, columnRatios, className, children, }: FormGridProps):
|
|
419
|
+
declare function FormGrid({ columns, gap, columnGap, rowGap, columnRatios, className, children, }: FormGridProps): React__default.JSX.Element;
|
|
421
420
|
|
|
422
421
|
interface FormTabItem {
|
|
423
422
|
key: string;
|
|
@@ -430,7 +429,7 @@ interface FormTabsProps {
|
|
|
430
429
|
className?: string;
|
|
431
430
|
tabClassName?: string;
|
|
432
431
|
}
|
|
433
|
-
declare function FormTabs({ items, defaultActiveKey, className, tabClassName }: FormTabsProps):
|
|
432
|
+
declare function FormTabs({ items, defaultActiveKey, className, tabClassName }: FormTabsProps): React__default.JSX.Element;
|
|
434
433
|
|
|
435
434
|
interface FormStepItem {
|
|
436
435
|
key: string;
|
|
@@ -443,7 +442,7 @@ interface FormStepsProps {
|
|
|
443
442
|
className?: string;
|
|
444
443
|
onStepChange?: (step: number) => void;
|
|
445
444
|
}
|
|
446
|
-
declare function FormSteps({ items, className, onStepChange }: FormStepsProps):
|
|
445
|
+
declare function FormSteps({ items, className, onStepChange }: FormStepsProps): React__default.JSX.Element;
|
|
447
446
|
|
|
448
447
|
interface FormSummaryProps {
|
|
449
448
|
className?: string;
|
|
@@ -452,7 +451,7 @@ interface FormSummaryProps {
|
|
|
452
451
|
columns?: 1 | 2 | 3;
|
|
453
452
|
fields?: string[];
|
|
454
453
|
}
|
|
455
|
-
declare function FormSummary({ className, labelClassName, valueClassName, columns, fields, }: FormSummaryProps):
|
|
454
|
+
declare function FormSummary({ className, labelClassName, valueClassName, columns, fields, }: FormSummaryProps): React__default.JSX.Element;
|
|
456
455
|
|
|
457
456
|
interface UseFormEngineReturn {
|
|
458
457
|
formData: Record<string, any>;
|
|
@@ -1019,7 +1018,7 @@ interface LowcodePageRendererProps {
|
|
|
1019
1018
|
schema: LowcodePageSchema;
|
|
1020
1019
|
context?: LowcodePageRuntimeContext;
|
|
1021
1020
|
}
|
|
1022
|
-
declare function LowcodePageRenderer({ schema, context }: LowcodePageRendererProps):
|
|
1021
|
+
declare function LowcodePageRenderer({ schema, context }: LowcodePageRendererProps): React__default.JSX.Element;
|
|
1023
1022
|
|
|
1024
1023
|
interface PageSkeletonProps {
|
|
1025
1024
|
type: 'submit' | 'detail' | 'process';
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export {
|
|
1
|
+
import { d as FormEngineConfig, F as FormSchema, e as FieldBehavior, O as OptionItem, a as FormRuntimeApi, f as FormRuntimeConfig, g as FormAppearanceConfig, V as ValidationPreset, h as ValidationRule, i as FormEffect, b as FormRuntimeApiConfig, j as OptionSourceConfig, P as ProcessStatus, S as StatusMeta, T as TaskStatus, A as ApprovalPermission, k as FormDataDeleteParams, C as ChangeRecordQueryParams, l as ChangeRecordListResponse, m as FormDataQueryParams, n as FormInstanceData, I as InitiatorSelectCandidate, o as InitiatorSelectRequirement, p as ProcessBasicInfo, q as ProcessDefinition, r as ProcessTask, R as ReturnableNodeResult, s as ReturnableNode, t as ViewPermissionQueryParams, u as ViewPermissionSummary, v as ApproveParams, w as PreviewParams, x as ProcessRoute, y as ResubmitParams, z as ReturnParams, B as SaveTaskParams, D as TransferParams, W as WithdrawParams, c as FieldDefinition, E as RuntimeResponse, G as TextFieldProps, N as NumberFieldProps, H as TextAreaFieldProps, J as SelectFieldProps, M as MultiSelectFieldProps, K as RadioFieldProps, L as CheckboxFieldProps, Q as DateFieldProps, U as CascadeDateFieldProps, X as AttachmentFieldProps, Y as ImageFieldProps, Z as SubFormFieldProps, _ as UserSelectFieldProps, $ as DepartmentSelectFieldProps, a0 as CascadeSelectFieldProps, a1 as AddressFieldProps, a2 as AssociationFormFieldProps, a3 as EditorFieldProps, a4 as EditorChoiceOption, a5 as SerialNumberFieldProps, a6 as LocationFieldProps, a7 as DigitalSignatureFieldProps, a8 as JSONFieldProps, a9 as ProcessAction, aa as InitiatorSelectedApprovers, ab as ReturnPolicy, ac as ChangeRecord, ad as StandardFormPageMode, ae as LowcodePageSchema } from '../ProcessPreview-Dfc4-wIq.js';
|
|
2
|
+
export { af as AddressValue, ag as ApprovalActionType, ah as ApprovalTimeline, ai as ApprovalTimelineProps, aj as AssociationFormConfig, ak as AssociationValue, al as AttachmentImageVariants, am as AttachmentItem, an as BaseFieldProps, ao as BaseLayoutNode, ap as DataFilter, aq as DataLinkageCondition, ar as DataLinkageConfig, as as DateRangeRestriction, at as DateRestrictionConfig, au as DateShortcutConfig, av as DateShortcutType, aw as DefaultValueLinkageConfig, ax as DepartmentTreeNode, ay as DigitalSignatureValue, az as EditorToolbarAction, aA as FieldLayoutNode, aB as FieldValueSyncConfig, aC as FormEffectAction, aD as FormEffectCondition, aE as FormEffectConditionOperator, aF as FormEngineMode, aG as FormLayoutNode, aH as FormSection, aI as FormSectionProps, aJ as FormSubmitBehavior, aK as FormTemplateConfig, aL as GridLayoutCell, aM as GridLayoutNode, aN as ImageCompressionConfig, aO as ImageCompressionVariantConfig, aP as ImageVariant, aQ as InitiatorSelectScope, aR as LayoutVisibleWhen, aS as LinkedFormOptionConfig, aT as LocationValue, aU as LowcodePageMeta, aV as LowcodePageNode, aW as LowcodePageNodeType, aX as OptionSourceType, aY as PeopleShortcutConfig, aZ as PeopleShortcutType, a_ as ProcessNodeType, a$ as ProcessPreview, b0 as ProcessPreviewProps, b1 as RuntimeDataQueryParams, b2 as RuntimeDataQueryResult, b3 as RuntimeRequestConfig, b4 as RuntimeUploadOptions, b5 as RuntimeUploadProvider, b6 as SectionLayoutNode, b7 as SignaturePoint, b8 as StepLayoutItem, b9 as StepsLayoutNode, ba as SubFormColumn, bb as TabLayoutItem, bc as TabsLayoutNode, bd as TextShortcutConfig, be as TextShortcutType, bf as UserDisplayFormat, bg as UserItem } from '../ProcessPreview-Dfc4-wIq.js';
|
|
3
3
|
import * as React from 'react';
|
|
4
4
|
import React__default from 'react';
|
|
5
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
6
5
|
|
|
7
6
|
interface FormContextValue {
|
|
8
7
|
mode: FormEngineConfig['mode'];
|
|
@@ -56,14 +55,14 @@ interface FormRendererProps {
|
|
|
56
55
|
columns?: 1 | 2 | 3 | 4;
|
|
57
56
|
size?: 'compact' | 'default' | 'large';
|
|
58
57
|
}
|
|
59
|
-
declare function FormRenderer({ className, fieldClassName, columns, size, }: FormRendererProps):
|
|
58
|
+
declare function FormRenderer({ className, fieldClassName, columns, size, }: FormRendererProps): React__default.JSX.Element;
|
|
60
59
|
|
|
61
60
|
interface FormShellProps {
|
|
62
61
|
children: React__default.ReactNode;
|
|
63
62
|
appearance?: FormAppearanceConfig;
|
|
64
63
|
className?: string;
|
|
65
64
|
}
|
|
66
|
-
declare function FormShell({ children, appearance, className }: FormShellProps):
|
|
65
|
+
declare function FormShell({ children, appearance, className }: FormShellProps): React__default.JSX.Element;
|
|
67
66
|
|
|
68
67
|
interface FormActionsProps {
|
|
69
68
|
className?: string;
|
|
@@ -73,7 +72,7 @@ interface FormActionsProps {
|
|
|
73
72
|
onSubmit?: (values: Record<string, any>) => Promise<void>;
|
|
74
73
|
submitSuccessMode?: 'stay' | 'callback';
|
|
75
74
|
}
|
|
76
|
-
declare function FormActions({ className, submitText, resetText, showReset, onSubmit, }: FormActionsProps):
|
|
75
|
+
declare function FormActions({ className, submitText, resetText, showReset, onSubmit, }: FormActionsProps): React__default.JSX.Element | null;
|
|
77
76
|
|
|
78
77
|
declare const defaultComponentRegistry: Record<string, React__default.ComponentType<any>>;
|
|
79
78
|
|
|
@@ -113,7 +112,7 @@ interface FieldWrapperProps {
|
|
|
113
112
|
tipsClassName?: string;
|
|
114
113
|
children: React__default.ReactNode;
|
|
115
114
|
}
|
|
116
|
-
declare function FieldWrapper({ fieldId, label, required, tips, className, labelClassName, tipsClassName, children, }: FieldWrapperProps):
|
|
115
|
+
declare function FieldWrapper({ fieldId, label, required, tips, className, labelClassName, tipsClassName, children, }: FieldWrapperProps): React__default.JSX.Element;
|
|
117
116
|
|
|
118
117
|
interface FormContainerProps {
|
|
119
118
|
title?: string;
|
|
@@ -122,7 +121,7 @@ interface FormContainerProps {
|
|
|
122
121
|
maxWidth?: 'sm' | 'md' | 'lg' | 'xl' | 'full';
|
|
123
122
|
className?: string;
|
|
124
123
|
}
|
|
125
|
-
declare function FormContainer({ title, description, children, maxWidth, className, }: FormContainerProps):
|
|
124
|
+
declare function FormContainer({ title, description, children, maxWidth, className, }: FormContainerProps): React__default.JSX.Element;
|
|
126
125
|
|
|
127
126
|
declare function createFormRuntimeApi(config?: FormRuntimeApiConfig): FormRuntimeApi;
|
|
128
127
|
|
|
@@ -343,39 +342,39 @@ declare function getDataManagementTransferRecords(request: FormRuntimeApi['reque
|
|
|
343
342
|
pageSize?: number;
|
|
344
343
|
}): Promise<DataManagementListResult>;
|
|
345
344
|
|
|
346
|
-
declare function TextField(props: TextFieldProps):
|
|
345
|
+
declare function TextField(props: TextFieldProps): React__default.JSX.Element | null;
|
|
347
346
|
|
|
348
|
-
declare function NumberField(props: NumberFieldProps):
|
|
347
|
+
declare function NumberField(props: NumberFieldProps): React__default.JSX.Element | null;
|
|
349
348
|
|
|
350
|
-
declare function TextAreaField(props: TextAreaFieldProps):
|
|
349
|
+
declare function TextAreaField(props: TextAreaFieldProps): React__default.JSX.Element | null;
|
|
351
350
|
|
|
352
|
-
declare function SelectField(props: SelectFieldProps):
|
|
351
|
+
declare function SelectField(props: SelectFieldProps): React__default.JSX.Element | null;
|
|
353
352
|
|
|
354
|
-
declare function MultiSelectField(props: MultiSelectFieldProps):
|
|
353
|
+
declare function MultiSelectField(props: MultiSelectFieldProps): React__default.JSX.Element | null;
|
|
355
354
|
|
|
356
|
-
declare function RadioField(props: RadioFieldProps):
|
|
355
|
+
declare function RadioField(props: RadioFieldProps): React__default.JSX.Element | null;
|
|
357
356
|
|
|
358
|
-
declare function CheckboxField(props: CheckboxFieldProps):
|
|
357
|
+
declare function CheckboxField(props: CheckboxFieldProps): React__default.JSX.Element | null;
|
|
359
358
|
|
|
360
|
-
declare function DateField(props: DateFieldProps):
|
|
359
|
+
declare function DateField(props: DateFieldProps): React__default.JSX.Element | null;
|
|
361
360
|
|
|
362
|
-
declare function CascadeDateField(props: CascadeDateFieldProps):
|
|
361
|
+
declare function CascadeDateField(props: CascadeDateFieldProps): React__default.JSX.Element | null;
|
|
363
362
|
|
|
364
|
-
declare function AttachmentField(props: AttachmentFieldProps):
|
|
363
|
+
declare function AttachmentField(props: AttachmentFieldProps): React__default.JSX.Element | null;
|
|
365
364
|
|
|
366
|
-
declare function ImageField(props: ImageFieldProps):
|
|
365
|
+
declare function ImageField(props: ImageFieldProps): React__default.JSX.Element | null;
|
|
367
366
|
|
|
368
|
-
declare function SubFormField(props: SubFormFieldProps):
|
|
367
|
+
declare function SubFormField(props: SubFormFieldProps): React__default.JSX.Element | null;
|
|
369
368
|
|
|
370
|
-
declare function UserSelectField(props: UserSelectFieldProps):
|
|
369
|
+
declare function UserSelectField(props: UserSelectFieldProps): React__default.JSX.Element | null;
|
|
371
370
|
|
|
372
|
-
declare function DepartmentSelectField(props: DepartmentSelectFieldProps):
|
|
371
|
+
declare function DepartmentSelectField(props: DepartmentSelectFieldProps): React__default.JSX.Element | null;
|
|
373
372
|
|
|
374
|
-
declare function CascadeSelectField(props: CascadeSelectFieldProps):
|
|
373
|
+
declare function CascadeSelectField(props: CascadeSelectFieldProps): React__default.JSX.Element | null;
|
|
375
374
|
|
|
376
|
-
declare function AddressField(props: AddressFieldProps):
|
|
375
|
+
declare function AddressField(props: AddressFieldProps): React__default.JSX.Element | null;
|
|
377
376
|
|
|
378
|
-
declare function AssociationFormField(props: AssociationFormFieldProps):
|
|
377
|
+
declare function AssociationFormField(props: AssociationFormFieldProps): React__default.JSX.Element | null;
|
|
379
378
|
|
|
380
379
|
interface RichTextEditorCoreProps {
|
|
381
380
|
value?: string;
|
|
@@ -397,16 +396,16 @@ interface RichTextEditorCoreProps {
|
|
|
397
396
|
fieldId?: string;
|
|
398
397
|
mobile?: boolean;
|
|
399
398
|
}
|
|
400
|
-
declare function RichTextEditorCore({ value, onChange, disabled, inputClassName, placeholder, rows, maxLength, height, toolbarConfig, uploadBucketName, maxImageSize, allowedImageTypes, fontFamilies, fontSizes, colorPresets, api, fieldId, mobile, }: RichTextEditorCoreProps):
|
|
401
|
-
declare function EditorField(props: EditorFieldProps):
|
|
399
|
+
declare function RichTextEditorCore({ value, onChange, disabled, inputClassName, placeholder, rows, maxLength, height, toolbarConfig, uploadBucketName, maxImageSize, allowedImageTypes, fontFamilies, fontSizes, colorPresets, api, fieldId, mobile, }: RichTextEditorCoreProps): React__default.JSX.Element;
|
|
400
|
+
declare function EditorField(props: EditorFieldProps): React__default.JSX.Element | null;
|
|
402
401
|
|
|
403
|
-
declare function SerialNumberField(props: SerialNumberFieldProps):
|
|
402
|
+
declare function SerialNumberField(props: SerialNumberFieldProps): React__default.JSX.Element | null;
|
|
404
403
|
|
|
405
|
-
declare function LocationField(props: LocationFieldProps):
|
|
404
|
+
declare function LocationField(props: LocationFieldProps): React__default.JSX.Element | null;
|
|
406
405
|
|
|
407
|
-
declare function DigitalSignatureField(props: DigitalSignatureFieldProps):
|
|
406
|
+
declare function DigitalSignatureField(props: DigitalSignatureFieldProps): React__default.JSX.Element | null;
|
|
408
407
|
|
|
409
|
-
declare function JSONField(props: JSONFieldProps):
|
|
408
|
+
declare function JSONField(props: JSONFieldProps): React__default.JSX.Element | null;
|
|
410
409
|
|
|
411
410
|
interface FormGridProps {
|
|
412
411
|
columns?: 1 | 2 | 3 | 4;
|
|
@@ -417,7 +416,7 @@ interface FormGridProps {
|
|
|
417
416
|
className?: string;
|
|
418
417
|
children: React__default.ReactNode;
|
|
419
418
|
}
|
|
420
|
-
declare function FormGrid({ columns, gap, columnGap, rowGap, columnRatios, className, children, }: FormGridProps):
|
|
419
|
+
declare function FormGrid({ columns, gap, columnGap, rowGap, columnRatios, className, children, }: FormGridProps): React__default.JSX.Element;
|
|
421
420
|
|
|
422
421
|
interface FormTabItem {
|
|
423
422
|
key: string;
|
|
@@ -430,7 +429,7 @@ interface FormTabsProps {
|
|
|
430
429
|
className?: string;
|
|
431
430
|
tabClassName?: string;
|
|
432
431
|
}
|
|
433
|
-
declare function FormTabs({ items, defaultActiveKey, className, tabClassName }: FormTabsProps):
|
|
432
|
+
declare function FormTabs({ items, defaultActiveKey, className, tabClassName }: FormTabsProps): React__default.JSX.Element;
|
|
434
433
|
|
|
435
434
|
interface FormStepItem {
|
|
436
435
|
key: string;
|
|
@@ -443,7 +442,7 @@ interface FormStepsProps {
|
|
|
443
442
|
className?: string;
|
|
444
443
|
onStepChange?: (step: number) => void;
|
|
445
444
|
}
|
|
446
|
-
declare function FormSteps({ items, className, onStepChange }: FormStepsProps):
|
|
445
|
+
declare function FormSteps({ items, className, onStepChange }: FormStepsProps): React__default.JSX.Element;
|
|
447
446
|
|
|
448
447
|
interface FormSummaryProps {
|
|
449
448
|
className?: string;
|
|
@@ -452,7 +451,7 @@ interface FormSummaryProps {
|
|
|
452
451
|
columns?: 1 | 2 | 3;
|
|
453
452
|
fields?: string[];
|
|
454
453
|
}
|
|
455
|
-
declare function FormSummary({ className, labelClassName, valueClassName, columns, fields, }: FormSummaryProps):
|
|
454
|
+
declare function FormSummary({ className, labelClassName, valueClassName, columns, fields, }: FormSummaryProps): React__default.JSX.Element;
|
|
456
455
|
|
|
457
456
|
interface UseFormEngineReturn {
|
|
458
457
|
formData: Record<string, any>;
|
|
@@ -1019,7 +1018,7 @@ interface LowcodePageRendererProps {
|
|
|
1019
1018
|
schema: LowcodePageSchema;
|
|
1020
1019
|
context?: LowcodePageRuntimeContext;
|
|
1021
1020
|
}
|
|
1022
|
-
declare function LowcodePageRenderer({ schema, context }: LowcodePageRendererProps):
|
|
1021
|
+
declare function LowcodePageRenderer({ schema, context }: LowcodePageRendererProps): React__default.JSX.Element;
|
|
1023
1022
|
|
|
1024
1023
|
interface PageSkeletonProps {
|
|
1025
1024
|
type: 'submit' | 'detail' | 'process';
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { PageContext, PageInfo, PageBridgeApi } from './react.mjs';
|
|
2
2
|
export { ApiPermissionListParams, AppAuthClient, AppFunctionConnectorApi, AppFunctionContext, AppFunctionDataViewApi, AppFunctionFormApi, AppFunctionFormGetByIdParams, AppFunctionFormQueryParams, AppFunctionFormWriteParams, AppFunctionNotificationApi, AppFunctionOperatorInfo, AppFunctionOrganizationApi, AppFunctionPermissionContext, AppFunctionRuntimeContext, ApproveTaskParams, AssignPermissionsParams, AssignRolesParams, AuthChallengePayload, AuthClientError, AuthClientErrorOptions, AuthClientOptions, AuthErrorExtra, AuthLogoutRedirectOptions, AuthMethod, AuthMethodType, AuthTokenData, AuthUser, BatchAddUsersToRoleParams, BatchSendNotificationByTypeParams, ChangeOrganizationAccountPasswordParams, ChangeUserRoleParams, ConnectorCallParams, ConnectorInvokeParams, ConnectorInvokeResult, ConnectorRequestBodyType, ConnectorResponseType, CreateApiPermissionParams, CreateFormPermissionGroupDto, CreateOrganizationAccountParams, CreateOrganizationDepartmentParams, CreatePagePermissionGroupDto, CreateRoleParams, CreateUiPermissionParams, CreateUserParams, CurrentUserDepartmentParents, CustomPageEntryConfig, CustomPageEntryMode, DataManagementConfigParams, DataManagementFilterState, DataPermissionConditionDto, DataPermissionDto, DataPermissionRuleDto, DataViewQueryParams, DataViewQueryResult, DataViewStatsParams, DingTalkLoginInput, DingTalkNotificationCapabilities, DingTalkNotificationCardConfig, DingTalkNotificationCardField, DingTalkNotificationCardMode, DingTalkNotificationCardPreview, DingTalkNotificationChannelConfig, DingTalkNotificationDeliveryMode, DingTalkNotificationPreviewResult, ExecuteProcessOperationInput, FieldAccessLevel, FieldAccessPolicyDto, FieldAccessPolicyItemDto, FieldPermissionDto, FindNotificationConfigParams, FormAdvancedSearchParams, FormChangeRecordParams, FormCreateParams, FormExportParams, FormGetDetailParams, FormImportParams, FormPermissionGroup, FormRemoveParams, FormSearchParams, FormUpdateParams, FunctionInvokeParams, FunctionInvokeResult, GetParentDepartmentsOptions, GetProcessInstanceParams, GetUserRolesParams, GuestLoginInput, ImportExportRecordDownloadParams, ImportExportRecordQuery, InitiatorApproverSelector, InstanceStatus, ListNotificationInboxParams, ListWorkCenterItemsParams, 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, 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, QueryFormPermissionGroupDto, QueryPagePermissionGroupDto, RefreshInput, ResetOrganizationAccountPasswordParams, ResolveLoginUrlInput, ResolveProcessCapabilitiesParams, RoleListParams, RoleUsersParams, RouteAccessResult, RuntimeBootstrap, RuntimeErrorSnapshot, RuntimeErrorType, RuntimeLogoutOptions, RuntimeMenuItem, RuntimePagePermissions, RuntimeRedirectLoginOptions, RuntimeRequestError, RuntimeRequestState, RuntimeResolveLoginOptions, SaveDataManagementConfigParams, SearchComponentName, SearchExpression, SearchFieldKey, SearchGroup, SearchLogic, SearchOperator, SearchRule, SearchSortItem, SearchSystemField, SendNotificationByTypeParams, SendNotificationResult, SsoLoginUrlInput, SsoLoginUrlResult, SubFormRule, SwitchAppRoleParams, SwitchPlatformRoleParams, TerminateProcessInstanceParams, TriggerCallbackTaskParams, UiPermissionListParams, UpdateApiPermissionParams, UpdateFormPermissionGroupDto, UpdateOrganizationAccountParams, UpdateOrganizationDepartmentParams, UpdatePagePermissionGroupDto, UpdateRoleParams, UpdateUiPermissionParams, UpdateUserParams, UseAuthOptions, UseCanAccessRouteInput, 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, createAuthClient, createPageSdk, createPublicAccessClient, createReactPage, getAuthErrorExtra, getAuthErrorReason, isAuthChallengeRequired, isAuthClientError, useAppMenus, useAuth, useCanAccessRoute, useCurrentUser, useDataSource, useFormViewPermissions, useLoginMethods, useMessage, useModal, useNavigation, useOpenXiangda, usePageContext, usePageProps, usePageRoute, usePageSdk, usePermission, useProcessActions, useProcessCapabilities, usePublicAccess, useRuntimeAuth, useRuntimeBootstrap } from './react.mjs';
|
|
3
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
4
3
|
import React__default from 'react';
|
|
5
|
-
import {
|
|
4
|
+
import { F as FormSchema, a as FormRuntimeApi, b as FormRuntimeApiConfig, c as FieldDefinition } from '../ProcessPreview-Dfc4-wIq.mjs';
|
|
6
5
|
|
|
7
6
|
type RuntimeCssIsolation = "none" | "namespace" | "shadow";
|
|
8
7
|
interface RuntimeHostBootstrap {
|
|
@@ -160,7 +159,7 @@ interface BuiltinRouteRendererProps {
|
|
|
160
159
|
style?: React__default.CSSProperties;
|
|
161
160
|
}
|
|
162
161
|
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):
|
|
162
|
+
declare function BuiltinRouteRenderer({ route, appType: appTypeProp, className, config, fetchImpl, overrides, requestOverride, servicePrefix, style, }: BuiltinRouteRendererProps): React__default.JSX.Element | null;
|
|
164
163
|
|
|
165
164
|
interface NormalizeRuntimeFormSchemaOptions {
|
|
166
165
|
appType: string;
|