@ximatai/muyun-web-app 0.26.17 → 0.26.19
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/dist/{BusinessActivityLogView-9RrW-RKb.js → BusinessActivityLogView-DudCmeKP.js} +2 -2
- package/dist/{BusinessLogListDrawer-DYVx9tiQ.js → BusinessLogListDrawer-CVUvUG48.js} +193 -193
- package/dist/CodeConfigurationView-ZjVgaZkD.js +1667 -0
- package/dist/{ConfigurationTranslationView-Bh_ekuMP.js → ConfigurationTranslationView-Dl757QMl.js} +38 -38
- package/dist/{LoginAuditLogView-DG6iBXEn.js → LoginAuditLogView-Cj3PMvN5.js} +2 -2
- package/dist/ModuleActionManagementView-BuhQrVA3.js +755 -0
- package/dist/{ModuleGovernanceView-C53RnUzc.js → ModuleGovernanceView-C3RxdgQN.js} +3736 -3880
- package/dist/{RequestErrorLogView-Ba5p0hLE.js → RequestErrorLogView-tmjMOeLE.js} +2 -2
- package/dist/RoleDetailWorkspaceView-OhpBChaT.js +1435 -0
- package/dist/{RuntimeLogView-BFEABm8G.js → RuntimeLogView-BkkgHcF0.js} +69 -69
- package/dist/WorkflowAdministrationView-DOhA_5-M.js +650 -0
- package/dist/WorkflowConfigurationView-Bnjdrkdx.js +980 -0
- package/dist/{WorkflowWorkbenchView-DGpNDt5V.js → WorkflowWorkbenchView-Cf6yiofx.js} +263 -263
- package/dist/codeConfiguration-DERwCY-U.js +208 -0
- package/dist/index.css +1 -1
- package/dist/index.js +472 -471
- package/dist/moduleMenuWorkspace-DPmYGkS_.js +626 -0
- package/dist/platform-components-wRXbnwMr.js +30434 -0
- package/dist/{platform-workbench-C1hmkOUD.js → platform-workbench-Cm_0kmTT.js} +5570 -5592
- package/dist/types/app/DevelopmentTopbarActions.vue.d.ts +9 -0
- package/dist/types/app/executeBusinessNotificationRecordAction.d.ts +7 -0
- package/dist/types/consumer/AppWorkbenchShell.vue.d.ts +5 -1
- package/dist/types/consumer/index.d.ts +2 -1
- package/dist/types/dynamic-page-runtime/ModulePageHostRuntime.vue.d.ts +6 -0
- package/dist/types/dynamic-page-runtime/composables/useModulePageDetailExtensionRuntime.d.ts +1 -0
- package/dist/types/dynamic-page-runtime/modulePageEnhancementState.d.ts +5 -0
- package/dist/types/dynamic-page-runtime/modulePageEnhancements.d.ts +6 -2
- package/dist/types/platform-admin-runtime/ModuleCodeConfigurationStatus.vue.d.ts +7 -0
- package/dist/types/platform-admin-runtime/moduleCodeConfiguration.d.ts +15 -0
- package/dist/types/platform-admin-runtime/workflow/ModuleWorkflowDrawer.vue.d.ts +7 -0
- package/dist/types/platform-components/BusinessNotificationPanel.vue.d.ts +5 -3
- package/dist/types/platform-components/FormulaExpressionEditor.vue.d.ts +5 -0
- package/dist/types/platform-components/RecordAdaptiveDetailPanel.vue.d.ts +28 -0
- package/dist/types/platform-components/RecordFormFields.vue.d.ts +4 -2
- package/dist/types/platform-components/RecordQueryListSurface.vue.d.ts +4 -0
- package/dist/types/platform-components/RecordRelationActionButton.vue.d.ts +16 -0
- package/dist/types/{dynamic-page-runtime → platform-components}/TenantScopeExplorer.vue.d.ts +1 -1
- package/dist/types/platform-components/WorkflowBusinessTaskEditor.vue.d.ts +2 -0
- package/dist/types/platform-components/WorkflowDesignProperties.vue.d.ts +2 -6
- package/dist/types/platform-components/WorkflowDiagram.vue.d.ts +32 -1
- package/dist/types/platform-components/formulaExpressionTokens.d.ts +2 -0
- package/dist/types/platform-components/formulaExpressionTools.d.ts +6 -0
- package/dist/types/platform-components/index.d.ts +5 -0
- package/dist/types/platform-components/managementWorkspaceLayout.d.ts +10 -0
- package/dist/types/platform-components/recordFormFieldModel.d.ts +4 -0
- package/dist/types/platform-components/useBusinessCodeForm.d.ts +36 -0
- package/dist/types/platform-components/useWorkflowDesignHistory.d.ts +14 -0
- package/dist/types/platform-components/useWorkspaceDetailSurface.d.ts +3 -0
- package/dist/types/platform-components/workflowDesignClipboard.d.ts +7 -0
- package/dist/types/platform-components/workflowPresentation.d.ts +4 -0
- package/dist/types/platform-workbench/Workbench.vue.d.ts +6 -2
- package/dist/types/platform-workbench/WorkbenchGlobalTools.vue.d.ts +13 -1
- package/dist/types/views/CodeConfigurationView.vue.d.ts +8 -0
- package/dist/types/views/CodeRuleFormatEditor.vue.d.ts +17 -0
- package/dist/types/views/WorkflowConfigurationView.vue.d.ts +1 -0
- package/dist/types/views/WorkflowDefinitionSettings.vue.d.ts +35 -0
- package/dist/types/views/WorkflowSelectionFields.vue.d.ts +2 -4
- package/dist/types/views/codeConfiguration.d.ts +127 -0
- package/dist/types/views/codeConfigurationWorkspaceView.d.ts +5 -0
- package/dist/types/views/moduleGovernanceWorkspaceView.d.ts +1 -1
- package/dist/types/views/useWorkflowConfigurationContext.d.ts +49 -0
- package/dist/types/views/workflowConfigurationWorkspaceView.d.ts +2 -0
- package/dist/types/vue-ui-antdv/components/UiDatePicker.vue.d.ts +33 -0
- package/dist/types/vue-ui-antdv/components/UiHelp.vue.d.ts +16 -0
- package/dist/types/vue-ui-antdv/components/UiIcon.vue.d.ts +1 -1
- package/dist/types/vue-ui-antdv/components/UiPopover.vue.d.ts +12 -4
- package/dist/types/vue-ui-antdv/components/UiRadioGroup.vue.d.ts +4 -0
- package/dist/types/vue-ui-antdv/components/UiSidePanel.vue.d.ts +5 -0
- package/dist/types/vue-ui-antdv/datePickerCalendar.d.ts +472 -0
- package/dist/types/vue-ui-antdv/datePickerValue.d.ts +6 -0
- package/dist/types/vue-ui-antdv/index.d.ts +4 -0
- package/dist/types/vue-ui-antdv/languageLocales.d.ts +2 -0
- package/dist/types/vue-ui-antdv/overlayLayers.d.ts +5 -0
- package/dist/types/vue-ui-antdv/types.d.ts +2 -0
- package/dist/types/web-contracts/index.d.ts +18 -0
- package/dist/types/web-contracts/workflow.d.ts +16 -8
- package/dist/types/web-core/businessNotifications.d.ts +3 -1
- package/dist/types/web-core/workflow.d.ts +13 -1
- package/dist/useWorkflowConfigurationContext-BE_UjKgk.js +66 -0
- package/dist/{workspaceViews-BpH71LKQ.js → workspaceViews-D37OpJ7g.js} +1608 -884
- package/package.json +4 -1
- package/dist/ModuleActionManagementView-DgHqhoMN.js +0 -755
- package/dist/RoleDetailWorkspaceView-C3TBqksY.js +0 -1435
- package/dist/WorkflowAdministrationView-BOHG2e-I.js +0 -650
- package/dist/WorkflowConfigurationView-A0m5tBX9.js +0 -1097
- package/dist/moduleGovernanceWorkspaceView-DNKzYX0x.js +0 -667
- package/dist/platform-components-BBfyINHa.js +0 -29912
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
moduleAlias?: string;
|
|
3
|
+
moduleTitle?: string;
|
|
4
|
+
embedded?: boolean;
|
|
5
|
+
};
|
|
6
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
7
|
+
declare const _default: typeof __VLS_export;
|
|
8
|
+
export default _default;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { type CodeRule, type CodeSource, type CodeTrigger } from './codeConfiguration';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
sources: CodeSource[];
|
|
4
|
+
editable: boolean;
|
|
5
|
+
trigger?: CodeTrigger;
|
|
6
|
+
};
|
|
7
|
+
type __VLS_ModelProps = {
|
|
8
|
+
'rule': CodeRule;
|
|
9
|
+
};
|
|
10
|
+
type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
|
|
11
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
12
|
+
"update:rule": (value: CodeRule) => any;
|
|
13
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
14
|
+
"onUpdate:rule"?: ((value: CodeRule) => any) | undefined;
|
|
15
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
16
|
+
declare const _default: typeof __VLS_export;
|
|
17
|
+
export default _default;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
type __VLS_Props = {
|
|
2
2
|
moduleAlias: string;
|
|
3
3
|
moduleTitle?: string;
|
|
4
|
+
definitionId: string;
|
|
4
5
|
};
|
|
5
6
|
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
6
7
|
declare const _default: typeof __VLS_export;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import type { useWorkflowConfigurationContext } from './useWorkflowConfigurationContext';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
configuration: ReturnType<typeof useWorkflowConfigurationContext>;
|
|
4
|
+
creating: boolean;
|
|
5
|
+
busy: boolean;
|
|
6
|
+
actionCodeLocked?: boolean;
|
|
7
|
+
};
|
|
8
|
+
type __VLS_ModelProps = {
|
|
9
|
+
'title': string;
|
|
10
|
+
'approvalEnabled': boolean;
|
|
11
|
+
'actionCode': string;
|
|
12
|
+
'organizationId': string;
|
|
13
|
+
'matchExpression': string;
|
|
14
|
+
'fallback': boolean;
|
|
15
|
+
};
|
|
16
|
+
type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
|
|
17
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
18
|
+
submit: () => any;
|
|
19
|
+
"update:organizationId": (value: string) => any;
|
|
20
|
+
"update:matchExpression": (value: string) => any;
|
|
21
|
+
"update:fallback": (value: boolean) => any;
|
|
22
|
+
"update:title": (value: string) => any;
|
|
23
|
+
"update:approvalEnabled": (value: boolean) => any;
|
|
24
|
+
"update:actionCode": (value: string) => any;
|
|
25
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
26
|
+
onSubmit?: (() => any) | undefined;
|
|
27
|
+
"onUpdate:organizationId"?: ((value: string) => any) | undefined;
|
|
28
|
+
"onUpdate:matchExpression"?: ((value: string) => any) | undefined;
|
|
29
|
+
"onUpdate:fallback"?: ((value: boolean) => any) | undefined;
|
|
30
|
+
"onUpdate:title"?: ((value: string) => any) | undefined;
|
|
31
|
+
"onUpdate:approvalEnabled"?: ((value: boolean) => any) | undefined;
|
|
32
|
+
"onUpdate:actionCode"?: ((value: string) => any) | undefined;
|
|
33
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
34
|
+
declare const _default: typeof __VLS_export;
|
|
35
|
+
export default _default;
|
|
@@ -1,27 +1,25 @@
|
|
|
1
1
|
import { type ModuleContext } from '../web-core/index';
|
|
2
|
+
import type { FormulaExpressionTools } from '../platform-components/formulaExpressionTools';
|
|
2
3
|
import type { FormulaExpressionField } from '../platform-components/formulaExpressionTokens';
|
|
3
4
|
type __VLS_Props = {
|
|
4
5
|
organizationContext?: ModuleContext<Record<string, unknown>>;
|
|
5
6
|
fields: readonly FormulaExpressionField[];
|
|
6
7
|
disabled: boolean;
|
|
7
|
-
|
|
8
|
+
conditionTools?: FormulaExpressionTools;
|
|
8
9
|
};
|
|
9
10
|
type __VLS_ModelProps = {
|
|
10
11
|
'organizationId': string;
|
|
11
12
|
'matchExpression': string;
|
|
12
|
-
'matchPriority': string;
|
|
13
13
|
'fallback': boolean;
|
|
14
14
|
};
|
|
15
15
|
type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
|
|
16
16
|
declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
17
17
|
"update:organizationId": (value: string) => any;
|
|
18
18
|
"update:matchExpression": (value: string) => any;
|
|
19
|
-
"update:matchPriority": (value: string) => any;
|
|
20
19
|
"update:fallback": (value: boolean) => any;
|
|
21
20
|
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
22
21
|
"onUpdate:organizationId"?: ((value: string) => any) | undefined;
|
|
23
22
|
"onUpdate:matchExpression"?: ((value: string) => any) | undefined;
|
|
24
|
-
"onUpdate:matchPriority"?: ((value: string) => any) | undefined;
|
|
25
23
|
"onUpdate:fallback"?: ((value: boolean) => any) | undefined;
|
|
26
24
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
27
25
|
declare const _default: typeof __VLS_export;
|
|
@@ -0,0 +1,127 @@
|
|
|
1
|
+
import { type LanguageContext, type HttpClient } from '../web-core/index';
|
|
2
|
+
import type { TextPresentation } from '../web-contracts/index';
|
|
3
|
+
export type CodeMode = 'AUTO' | 'MANUAL' | 'AUTO_WITH_MANUAL_EDIT';
|
|
4
|
+
export type CodeRole = 'PRIMARY' | 'NORMAL';
|
|
5
|
+
export type CodeTrigger = 'SAVE' | 'EXPLICIT';
|
|
6
|
+
export declare const codeSegmentTypes: readonly ["CONSTANT", "FIELD_VALUE", "CONTEXT_VAR", "SYSTEM_TIME", "SEQUENCE", "VALUE_MAPPING", "FORMULA"];
|
|
7
|
+
export type CodeSegmentType = (typeof codeSegmentTypes)[number];
|
|
8
|
+
export interface CodeSource {
|
|
9
|
+
fieldName: string;
|
|
10
|
+
title: string;
|
|
11
|
+
titleText?: TextPresentation;
|
|
12
|
+
ownerTitle?: string | null;
|
|
13
|
+
type: string;
|
|
14
|
+
length?: number | null;
|
|
15
|
+
}
|
|
16
|
+
export declare function codeSourceTitle(source: CodeSource, language?: LanguageContext): string;
|
|
17
|
+
export interface CodeField {
|
|
18
|
+
fieldName: string;
|
|
19
|
+
title: string;
|
|
20
|
+
length?: number | null;
|
|
21
|
+
metadataFieldId?: string | null;
|
|
22
|
+
bindingId?: string | null;
|
|
23
|
+
bindingVersion?: number | null;
|
|
24
|
+
role?: CodeRole | null;
|
|
25
|
+
trigger?: CodeTrigger | null;
|
|
26
|
+
}
|
|
27
|
+
export interface CodeTarget {
|
|
28
|
+
moduleAlias: string;
|
|
29
|
+
moduleTitle?: string;
|
|
30
|
+
moduleTitleText?: TextPresentation;
|
|
31
|
+
entityAlias: string;
|
|
32
|
+
title: string;
|
|
33
|
+
source: 'STATIC' | 'DYNAMIC';
|
|
34
|
+
relationId?: string | null;
|
|
35
|
+
fields: CodeField[];
|
|
36
|
+
sources: CodeSource[];
|
|
37
|
+
}
|
|
38
|
+
export interface CodeConfigurationAvailability {
|
|
39
|
+
configurable: boolean;
|
|
40
|
+
reason?: 'no-model' | 'no-fields' | 'not-declared' | 'unavailable' | null;
|
|
41
|
+
}
|
|
42
|
+
export declare function readCodeConfigurationAvailability(http: HttpClient, moduleAlias: string): Promise<CodeConfigurationAvailability>;
|
|
43
|
+
export interface CodeMapping {
|
|
44
|
+
id?: string;
|
|
45
|
+
version?: number;
|
|
46
|
+
sourceValue: string;
|
|
47
|
+
targetValue: string;
|
|
48
|
+
defaultMapping: boolean;
|
|
49
|
+
enabled: boolean;
|
|
50
|
+
}
|
|
51
|
+
export interface CodeSegment {
|
|
52
|
+
id?: string;
|
|
53
|
+
version?: number;
|
|
54
|
+
segmentType: CodeSegmentType;
|
|
55
|
+
sourceRef?: string | null;
|
|
56
|
+
fixedValue?: string | null;
|
|
57
|
+
formulaExpr?: string | null;
|
|
58
|
+
dateFormat?: string | null;
|
|
59
|
+
length?: number | null;
|
|
60
|
+
padMode?: string;
|
|
61
|
+
padChar?: string | null;
|
|
62
|
+
separator?: string | null;
|
|
63
|
+
sequenceBasis?: boolean;
|
|
64
|
+
nullPolicy?: string;
|
|
65
|
+
truncatePolicy?: string;
|
|
66
|
+
sortOrder: number;
|
|
67
|
+
mappings: CodeMapping[];
|
|
68
|
+
}
|
|
69
|
+
export interface CodeSequencePolicy {
|
|
70
|
+
id?: string;
|
|
71
|
+
version?: number;
|
|
72
|
+
startValue: number | null;
|
|
73
|
+
stepValue: number | null;
|
|
74
|
+
sequenceLength: number | null;
|
|
75
|
+
maxValue?: number | null;
|
|
76
|
+
resetPolicy: string;
|
|
77
|
+
overflowPolicy: string;
|
|
78
|
+
}
|
|
79
|
+
export interface CodeRule {
|
|
80
|
+
id?: string;
|
|
81
|
+
version?: number;
|
|
82
|
+
title: string;
|
|
83
|
+
moduleAlias: string;
|
|
84
|
+
entityAlias: string;
|
|
85
|
+
fieldName: string;
|
|
86
|
+
moduleMetadataFieldId?: string | null;
|
|
87
|
+
metadataFieldId?: string | null;
|
|
88
|
+
fieldRole?: CodeRole;
|
|
89
|
+
fieldTrigger?: CodeTrigger;
|
|
90
|
+
mode: CodeMode;
|
|
91
|
+
enabled: boolean;
|
|
92
|
+
linkedUpdate: boolean;
|
|
93
|
+
allowRecycle: boolean;
|
|
94
|
+
orgScopeType: 'GLOBAL' | 'ORG';
|
|
95
|
+
orgScopeId?: string | null;
|
|
96
|
+
globalDefault: boolean;
|
|
97
|
+
effectiveFrom?: string | null;
|
|
98
|
+
effectiveTo?: string | null;
|
|
99
|
+
segments: CodeSegment[];
|
|
100
|
+
sequencePolicy: CodeSequencePolicy | null;
|
|
101
|
+
}
|
|
102
|
+
export interface CodePreview {
|
|
103
|
+
value: string;
|
|
104
|
+
segments: Array<{
|
|
105
|
+
value: string;
|
|
106
|
+
segmentType: CodeSegmentType;
|
|
107
|
+
}>;
|
|
108
|
+
}
|
|
109
|
+
export declare function newCodeSegment(type?: CodeSegmentType): CodeSegment;
|
|
110
|
+
export declare function newCodeSequence(): CodeSequencePolicy;
|
|
111
|
+
export declare function newCodeRule(target: CodeTarget, field: CodeField): CodeRule;
|
|
112
|
+
/** Match the rule's supported dependency kinds without parsing formula expressions in the browser. */
|
|
113
|
+
export declare function codeRuleSupportsRenumbering(rule: CodeRule): boolean;
|
|
114
|
+
export declare function prepareCodeRule(rule: CodeRule, language?: LanguageContext): CodeRule;
|
|
115
|
+
/** Direct inputs only; formula samples can be added from the source catalog without parsing formulas in the browser. */
|
|
116
|
+
export declare function codeTrialSources(target: CodeTarget, rule?: CodeRule): CodeSource[];
|
|
117
|
+
/** Source types are shared by static Java declarations and dynamic column metadata. */
|
|
118
|
+
export declare function codeTrialSourceKind(source: CodeSource): 'boolean' | 'number' | 'date' | 'datetime' | 'text';
|
|
119
|
+
/** No formula evaluation in the browser; only coerce explicitly entered trial values. */
|
|
120
|
+
export declare function codeTrialContext(sources: readonly CodeSource[], values: Record<string, string>, language?: LanguageContext): Record<string, unknown>;
|
|
121
|
+
export declare function createCodeConfigurationClient(http: HttpClient, language?: LanguageContext): {
|
|
122
|
+
targets: (moduleAlias?: string) => Promise<CodeTarget[]>;
|
|
123
|
+
rules: (target: CodeTarget) => Promise<CodeRule[]>;
|
|
124
|
+
bind(target: CodeTarget, field: CodeField, role: CodeRole | null, trigger: CodeTrigger): Promise<CodeTarget>;
|
|
125
|
+
save(rule: CodeRule): Promise<CodeRule>;
|
|
126
|
+
preview(rule: CodeRule, context: Record<string, unknown>, sequenceValue: number, signal?: AbortSignal): Promise<CodePreview>;
|
|
127
|
+
};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export interface CodeConfigurationWorkspaceInput {
|
|
2
|
+
moduleAlias?: string;
|
|
3
|
+
moduleTitle?: string;
|
|
4
|
+
}
|
|
5
|
+
export declare const codeConfigurationWorkspaceView: import("../platform-workbench/workspaceViewContract.ts").WorkspaceViewDefinition<CodeConfigurationWorkspaceInput>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const moduleGovernanceTabs: readonly ["overview", "metadata", "actions", "rules", "ui", "menu", "preview"];
|
|
1
|
+
export declare const moduleGovernanceTabs: readonly ["overview", "metadata", "actions", "rules", "codes", "ui", "menu", "preview"];
|
|
2
2
|
export type ModuleGovernanceTab = (typeof moduleGovernanceTabs)[number];
|
|
3
3
|
export interface ModuleGovernanceWorkspaceViewInput {
|
|
4
4
|
moduleAlias: string;
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
/** Shared module facts and formula assistance for definition management and design. */
|
|
2
|
+
export declare function useWorkflowConfigurationContext(moduleAlias: string): {
|
|
3
|
+
context: import("../web-core/index").ModuleContext<unknown>;
|
|
4
|
+
client: {
|
|
5
|
+
formulaFunctions: () => Promise<{
|
|
6
|
+
name: string;
|
|
7
|
+
title: string;
|
|
8
|
+
description: string;
|
|
9
|
+
example: string;
|
|
10
|
+
parameters: {
|
|
11
|
+
name: string;
|
|
12
|
+
description: string;
|
|
13
|
+
}[];
|
|
14
|
+
}[]>;
|
|
15
|
+
validateCondition: (expression: string) => Promise<void>;
|
|
16
|
+
sort: (id: string, targetId: string, position: -1 | 1) => Promise<unknown>;
|
|
17
|
+
catalog: (id: string) => Promise<import("../web-contracts").WorkflowConfigurationCatalog>;
|
|
18
|
+
query: () => Promise<import("../web-contracts").WorkflowDefinition[]>;
|
|
19
|
+
versions: (id: string) => Promise<import("../web-contracts").WorkflowVersion[]>;
|
|
20
|
+
create: (payload: import("../web-contracts").WorkflowDefinitionCreate) => Promise<import("../web-contracts").WorkflowDefinition>;
|
|
21
|
+
view: (id: string) => Promise<import("../web-contracts").WorkflowDefinition>;
|
|
22
|
+
upgrade: (id: string) => Promise<import("../web-contracts").WorkflowVersion>;
|
|
23
|
+
saveSelection: (id: string, payload: import("../web-contracts").WorkflowDefinitionSelection) => Promise<import("../web-contracts").WorkflowDefinition>;
|
|
24
|
+
design: (id: string, versionId: string) => Promise<import("../web-contracts").WorkflowDesign>;
|
|
25
|
+
saveDesign: (id: string, versionId: string, expectedVersion: number, design: import("../web-contracts").WorkflowDesign) => Promise<import("../web-contracts").WorkflowVersion>;
|
|
26
|
+
validate: (id: string, versionId: string) => Promise<unknown>;
|
|
27
|
+
publish: (id: string, versionId: string, definitionVersion: number, expectedVersion: number) => Promise<import("../web-contracts").WorkflowVersion>;
|
|
28
|
+
changeStatus: (id: string, action: "enable" | "disable" | "archive", expectedVersion: number) => Promise<import("../web-contracts").WorkflowDefinition>;
|
|
29
|
+
};
|
|
30
|
+
language: import("../web-core/index").LanguageContext;
|
|
31
|
+
businessRuntime: import("vue").ComputedRef<import("../web-core/index").ModuleRuntimeContext | undefined>;
|
|
32
|
+
fields: import("vue").ComputedRef<{
|
|
33
|
+
name: string;
|
|
34
|
+
label: string;
|
|
35
|
+
valueType: import("../web-contracts").ViewFieldValueType | undefined;
|
|
36
|
+
referenceModule: string | undefined;
|
|
37
|
+
}[]>;
|
|
38
|
+
organizationContext: import("vue").ComputedRef<import("../web-core/index").ModuleContext<Record<string, unknown>> | undefined>;
|
|
39
|
+
conditionTools: {
|
|
40
|
+
loadFunctions: () => Promise<{
|
|
41
|
+
name: string;
|
|
42
|
+
title: string;
|
|
43
|
+
description: string;
|
|
44
|
+
example: string;
|
|
45
|
+
signature: string;
|
|
46
|
+
}[]>;
|
|
47
|
+
validate: (expression: string) => Promise<void>;
|
|
48
|
+
};
|
|
49
|
+
};
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
export interface WorkflowConfigurationInput {
|
|
2
2
|
moduleAlias: string;
|
|
3
3
|
moduleTitle?: string;
|
|
4
|
+
definitionId: string;
|
|
5
|
+
definitionTitle?: string;
|
|
4
6
|
}
|
|
5
7
|
export declare const workflowConfigurationWorkspaceView: import("../platform-workbench/workspaceViewContract.ts").WorkspaceViewDefinition<WorkflowConfigurationInput>;
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { type UiDatePickerMode, type UiDatePickerPrecision } from '../datePickerValue';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
value?: string | null;
|
|
4
|
+
mode?: UiDatePickerMode;
|
|
5
|
+
precision?: UiDatePickerPrecision;
|
|
6
|
+
placeholder?: string;
|
|
7
|
+
disabled?: boolean;
|
|
8
|
+
invalid?: boolean;
|
|
9
|
+
allowClear?: boolean;
|
|
10
|
+
autofocus?: boolean;
|
|
11
|
+
required?: boolean;
|
|
12
|
+
id?: string;
|
|
13
|
+
ariaLabel?: string;
|
|
14
|
+
};
|
|
15
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
16
|
+
focus: (event: FocusEvent) => any;
|
|
17
|
+
"update:value": (value: string) => any;
|
|
18
|
+
blur: (event: FocusEvent) => any;
|
|
19
|
+
keydown: (event: KeyboardEvent) => any;
|
|
20
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
21
|
+
onFocus?: ((event: FocusEvent) => any) | undefined;
|
|
22
|
+
"onUpdate:value"?: ((value: string) => any) | undefined;
|
|
23
|
+
onBlur?: ((event: FocusEvent) => any) | undefined;
|
|
24
|
+
onKeydown?: ((event: KeyboardEvent) => any) | undefined;
|
|
25
|
+
}>, {
|
|
26
|
+
disabled: boolean;
|
|
27
|
+
mode: UiDatePickerMode;
|
|
28
|
+
allowClear: boolean;
|
|
29
|
+
invalid: boolean;
|
|
30
|
+
precision: UiDatePickerPrecision;
|
|
31
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
32
|
+
declare const _default: typeof __VLS_export;
|
|
33
|
+
export default _default;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
label: string;
|
|
3
|
+
};
|
|
4
|
+
declare var __VLS_17: {};
|
|
5
|
+
type __VLS_Slots = {} & {
|
|
6
|
+
default?: (props: typeof __VLS_17) => any;
|
|
7
|
+
};
|
|
8
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
9
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
10
|
+
declare const _default: typeof __VLS_export;
|
|
11
|
+
export default _default;
|
|
12
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
13
|
+
new (): {
|
|
14
|
+
$slots: S;
|
|
15
|
+
};
|
|
16
|
+
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export type UiIconName = 'app' | 'language' | 'assistant' | 'check' | 'close' | 'delete' | 'download' | 'down' | 'edit' | 'export' | 'eye' | 'eye-off' | 'filter' | 'help' | 'left' | 'lock' | 'menu-collapse' | 'menu-expand' | 'minus' | 'notification' | 'open-in-new' | 'plus' | 'pin-off' | 'pin' | 'power' | 'reload' | 'right' | 'save' | 'search' | 'skin' | 'settings' | 'swap' | 'swap-vertical' | 'user';
|
|
1
|
+
export type UiIconName = 'app' | 'fit-screen' | 'locate-start' | 'locate-end' | 'zoom-in' | 'zoom-out' | 'locate' | 'layout' | 'fullscreen' | 'fullscreen-exit' | 'language' | 'assistant' | 'check' | 'close' | 'delete' | 'download' | 'down' | 'up' | 'edit' | 'export' | 'eye' | 'eye-off' | 'filter' | 'help' | 'left' | 'lock' | 'menu-collapse' | 'menu-expand' | 'minus' | 'notification' | 'open-in-new' | 'plus' | 'pin-off' | 'pin' | 'power' | 'reload' | 'right' | 'save' | 'search' | 'skin' | 'settings' | 'swap' | 'swap-vertical' | 'user';
|
|
2
2
|
type __VLS_Props = {
|
|
3
3
|
name: UiIconName;
|
|
4
4
|
};
|
|
@@ -2,13 +2,21 @@ type __VLS_Props = {
|
|
|
2
2
|
trigger?: 'click' | 'hover' | 'focus';
|
|
3
3
|
placement?: 'top' | 'topLeft' | 'topRight' | 'right' | 'rightTop' | 'rightBottom' | 'bottom' | 'bottomLeft' | 'bottomRight' | 'left' | 'leftTop' | 'leftBottom';
|
|
4
4
|
};
|
|
5
|
-
|
|
5
|
+
type __VLS_ModelProps = {
|
|
6
|
+
'open'?: boolean;
|
|
7
|
+
};
|
|
8
|
+
type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
|
|
9
|
+
declare var __VLS_10: {}, __VLS_13: {};
|
|
6
10
|
type __VLS_Slots = {} & {
|
|
7
|
-
default?: (props: typeof
|
|
11
|
+
default?: (props: typeof __VLS_10) => any;
|
|
8
12
|
} & {
|
|
9
|
-
content?: (props: typeof
|
|
13
|
+
content?: (props: typeof __VLS_13) => any;
|
|
10
14
|
};
|
|
11
|
-
declare const __VLS_base: import("vue").DefineComponent<
|
|
15
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
16
|
+
"update:open": (value: boolean | undefined) => any;
|
|
17
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
18
|
+
"onUpdate:open"?: ((value: boolean | undefined) => any) | undefined;
|
|
19
|
+
}>, {
|
|
12
20
|
trigger: "click" | "hover" | "focus";
|
|
13
21
|
placement: "top" | "topLeft" | "topRight" | "right" | "rightTop" | "rightBottom" | "bottom" | "bottomLeft" | "bottomRight" | "left" | "leftTop" | "leftBottom";
|
|
14
22
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
@@ -2,12 +2,16 @@ export interface UiRadioOption {
|
|
|
2
2
|
value: string;
|
|
3
3
|
label: string;
|
|
4
4
|
disabled?: boolean;
|
|
5
|
+
description?: string;
|
|
6
|
+
/** Optional categorical accent for card borders; accepts a CSS color or theme variable. */
|
|
7
|
+
color?: string;
|
|
5
8
|
}
|
|
6
9
|
type __VLS_Props = {
|
|
7
10
|
value?: string;
|
|
8
11
|
options: readonly UiRadioOption[];
|
|
9
12
|
disabled?: boolean;
|
|
10
13
|
size?: 'small' | 'default' | 'large';
|
|
14
|
+
appearance?: 'buttons' | 'cards';
|
|
11
15
|
};
|
|
12
16
|
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
13
17
|
"update:value": (value: string) => any;
|
|
@@ -3,6 +3,9 @@ import { type UiDrawerCloseGuard, type UiDrawerDismissal } from '../drawerDismis
|
|
|
3
3
|
import { type UiSidePanelScope } from './sidePanelHost';
|
|
4
4
|
type __VLS_Props = {
|
|
5
5
|
open: boolean;
|
|
6
|
+
/** Keep a transfer target mounted when an adaptive detail surface is docked. */
|
|
7
|
+
forceRender?: boolean;
|
|
8
|
+
autofocus?: boolean;
|
|
6
9
|
/** Inline surfaces stay in their owning workspace. */
|
|
7
10
|
renderMode?: 'inline' | 'portal';
|
|
8
11
|
width?: UiDrawerWidth;
|
|
@@ -25,6 +28,8 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {},
|
|
|
25
28
|
}>, {
|
|
26
29
|
scope: UiSidePanelScope;
|
|
27
30
|
width: UiDrawerWidth;
|
|
31
|
+
autofocus: boolean;
|
|
32
|
+
forceRender: boolean;
|
|
28
33
|
renderMode: "inline" | "portal";
|
|
29
34
|
dismissal: UiDrawerDismissal;
|
|
30
35
|
closeOnOutside: boolean;
|