@tachybase/plugin-workflow-approval 0.23.8
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/.turbo/turbo-build.log +14 -0
- package/LICENSE +201 -0
- package/README.md +1 -0
- package/client.d.ts +2 -0
- package/client.js +1 -0
- package/dist/client/h5/ApprovalBlockInitializer.d.ts +8 -0
- package/dist/client/h5/ApprovalSettings.d.ts +2 -0
- package/dist/client/h5/collection/ApprovalTodos.d.ts +105 -0
- package/dist/client/h5/collection/Approvals.collection.d.ts +85 -0
- package/dist/client/h5/collection/FlowNodes.collection.d.ts +38 -0
- package/dist/client/h5/collection/UserJobs.collection.d.ts +141 -0
- package/dist/client/h5/collection/Workflows.collection.d.ts +30 -0
- package/dist/client/h5/collection/approvalCarbonCopy.collection.d.ts +156 -0
- package/dist/client/h5/collection/notice.collection.d.ts +131 -0
- package/dist/client/h5/component/ApprovalProcess.view.d.ts +2 -0
- package/dist/client/h5/component/ApprovalReachDataType.d.ts +2 -0
- package/dist/client/h5/component/ApprovalTemplateType.d.ts +2 -0
- package/dist/client/h5/constants.d.ts +159 -0
- package/dist/client/h5/context/ApprovalExecution.d.ts +3 -0
- package/dist/client/h5/context/FormBlock.d.ts +2 -0
- package/dist/client/h5/context/SchemaComponent.d.ts +5 -0
- package/dist/client/h5/context/WithActionEnabled.d.ts +3 -0
- package/dist/client/h5/index.d.ts +6 -0
- package/dist/client/h5/initiations/InitiationsBlock.d.ts +5 -0
- package/dist/client/h5/initiations/component/ApprovalItem.d.ts +2 -0
- package/dist/client/h5/initiations/component/ApprovalStatus.d.ts +2 -0
- package/dist/client/h5/initiations/component/InitiationsItem.d.ts +3 -0
- package/dist/client/h5/initiations/component/UserInitiationsItem.d.ts +3 -0
- package/dist/client/h5/initiations/component/ViewActionInitiationsContent.d.ts +10 -0
- package/dist/client/h5/initiations/component/ViewActionUserInitiationsContent.d.ts +3 -0
- package/dist/client/h5/initiations/config/LauncherActionConfig.d.ts +2 -0
- package/dist/client/h5/initiations/config/LauncherActionConfigComponent.d.ts +2 -0
- package/dist/client/h5/initiations/hook/useActionResubmit.d.ts +3 -0
- package/dist/client/h5/initiations/hook/useCreateSubmit.d.ts +3 -0
- package/dist/client/h5/initiations/hook/useDestroyAction.d.ts +3 -0
- package/dist/client/h5/initiations/hook/useFormBlockProps.d.ts +3 -0
- package/dist/client/h5/initiations/hook/useUpadteSubmit.d.ts +3 -0
- package/dist/client/h5/initiations/hook/useWithdrawAction.d.ts +3 -0
- package/dist/client/h5/initiations/provider/ActionBar.d.ts +1 -0
- package/dist/client/h5/initiations/provider/ActionResubmit.provider.d.ts +1 -0
- package/dist/client/h5/initiations/provider/ApplyActionStatus.d.ts +3 -0
- package/dist/client/h5/initiations/provider/Resubmit.provider.d.ts +10 -0
- package/dist/client/h5/initiations/provider/WithdrawAction.d.ts +3 -0
- package/dist/client/h5/locale.d.ts +7 -0
- package/dist/client/h5/todos/TodosBlock.d.ts +3 -0
- package/dist/client/h5/todos/component/TabApplicantType.d.ts +2 -0
- package/dist/client/h5/todos/component/TabApprovalItem.d.ts +3 -0
- package/dist/client/h5/todos/component/TabApprovalType.d.ts +2 -0
- package/dist/client/h5/todos/component/TabDuplicateItem.d.ts +3 -0
- package/dist/client/h5/todos/component/TabExecutedItem.d.ts +3 -0
- package/dist/client/h5/todos/component/TabPendingItem.d.ts +3 -0
- package/dist/client/h5/todos/component/TabProcessedItem.d.ts +3 -0
- package/dist/client/h5/todos/component/ViewActionTodosContent.d.ts +3 -0
- package/dist/client/h5/todos/component/ViewTodosDetailsContent.d.ts +2 -0
- package/dist/client/h5/todos/component/ViewTodosUserJobsContent.d.ts +6 -0
- package/dist/client/h5/todos/component/ViewTodosWorkflowNoticeContent.d.ts +3 -0
- package/dist/client/h5/todos/componentSchema.d.ts +32 -0
- package/dist/client/h5/todos/hook/useApprovalDetailBlockProps.d.ts +3 -0
- package/dist/client/h5/todos/hook/useApprovalFormBlockProps.d.ts +3 -0
- package/dist/client/h5/todos/hook/useDestroyAction.d.ts +3 -0
- package/dist/client/h5/todos/hook/useFormBlockProps.d.ts +9 -0
- package/dist/client/h5/todos/hook/usePropsNoticeDetail.d.ts +3 -0
- package/dist/client/h5/todos/hook/useSubmit.d.ts +6 -0
- package/dist/client/h5/todos/interface/interface.d.ts +139 -0
- package/dist/client/h5/todos/provider/ActionBarProvider.d.ts +3 -0
- package/dist/client/h5/todos/provider/ApplyActionStatus.d.ts +3 -0
- package/dist/client/h5/todos/provider/ApprovalAction.d.ts +9 -0
- package/dist/client/h5/todos/provider/ApprovalFormBlock.d.ts +2 -0
- package/dist/client/h5/todos/provider/FormBlockProvider.d.ts +2 -0
- package/dist/client/h5/todos/provider/ManualActionStatusProvider.d.ts +6 -0
- package/dist/client/h5/todos/provider/WithdrawAction.d.ts +3 -0
- package/dist/client/h5/todos/provider/todosContext.d.ts +2 -0
- package/dist/client/index.d.ts +7 -0
- package/dist/client/index.js +183 -0
- package/dist/client/pc/collections/approvalCarbonCopy.d.ts +156 -0
- package/dist/client/pc/collections/approvalRecords.d.ts +131 -0
- package/dist/client/pc/collections/approvals.d.ts +109 -0
- package/dist/client/pc/collections/flowNodes.d.ts +38 -0
- package/dist/client/pc/collections/workflows.d.ts +41 -0
- package/dist/client/pc/common/FormBlock.provider.d.ts +2 -0
- package/dist/client/pc/configuration/Approval.setting.d.ts +8 -0
- package/dist/client/pc/configuration/ApprovalPane.component.d.ts +2 -0
- package/dist/client/pc/configuration/ApprovalPane.schema.d.ts +651 -0
- package/dist/client/pc/configuration/instruction-approval/Approval.node.d.ts +152 -0
- package/dist/client/pc/configuration/instruction-approval/ApprovalNode.component.d.ts +4 -0
- package/dist/client/pc/configuration/instruction-approval/ApproverConfig.context.d.ts +1 -0
- package/dist/client/pc/configuration/instruction-approval/approval-config/SkipApproval.schema.d.ts +14 -0
- package/dist/client/pc/configuration/instruction-approval/approval-config/SkipApproval.view.d.ts +2 -0
- package/dist/client/pc/configuration/instruction-approval/approval-config/VC.AssigneesAddition.d.ts +2 -0
- package/dist/client/pc/configuration/instruction-approval/approval-config/VC.AssigneesSelect.d.ts +2 -0
- package/dist/client/pc/configuration/instruction-approval/approval-config/VC.ContentTooltip.d.ts +5 -0
- package/dist/client/pc/configuration/instruction-approval/approval-config/VC.NegotiationConfig.d.ts +5 -0
- package/dist/client/pc/configuration/instruction-approval/approval-config/VC.SchemaConfigButtonApprover.d.ts +2 -0
- package/dist/client/pc/configuration/instruction-approval/approver-interface/ApprovalUpdateForm.provider.d.ts +1 -0
- package/dist/client/pc/configuration/instruction-approval/approver-interface/ApproverAddBlock.initializer.d.ts +2 -0
- package/dist/client/pc/configuration/instruction-approval/approver-interface/ApproverBlock.view.d.ts +5 -0
- package/dist/client/pc/configuration/instruction-approval/approver-interface/ApproverInterface.schema.d.ts +2 -0
- package/dist/client/pc/configuration/instruction-approval/approver-interface/Iz.ApproverActionConfig.d.ts +2 -0
- package/dist/client/pc/configuration/instruction-approval/approver-interface/Pd.ActionBarProvider.d.ts +1 -0
- package/dist/client/pc/configuration/instruction-approval/approver-interface/Pd.ApprovalActionProvider.d.ts +1 -0
- package/dist/client/pc/configuration/instruction-approval/approver-interface/Pd.SchemaConfigButtonContext.d.ts +1 -0
- package/dist/client/pc/configuration/instruction-approval/approver-interface/VC.ApprovalActionConfig.d.ts +2 -0
- package/dist/client/pc/configuration/instruction-approval/approver-interface/VC.ApprovalFormBlockProvider.d.ts +2 -0
- package/dist/client/pc/configuration/instruction-approval/approver-interface/VC.ApproverAddBlock.d.ts +2 -0
- package/dist/client/pc/configuration/instruction-approval/approver-interface/VC.ApproverAddBlockKit.d.ts +2 -0
- package/dist/client/pc/configuration/instruction-approval/approver-interface/useApprovalFormBlockProps.d.ts +3 -0
- package/dist/client/pc/configuration/instruction-approval/forms/AddActionButton.setting.d.ts +2 -0
- package/dist/client/pc/configuration/instruction-approval/forms/Approval.options.d.ts +42 -0
- package/dist/client/pc/configuration/instruction-approval/forms/FormBlock.factory.d.ts +6 -0
- package/dist/client/pc/configuration/instruction-approval/forms/update.d.ts +28 -0
- package/dist/client/pc/configuration/instruction-approval/kit.d.ts +5 -0
- package/dist/client/pc/configuration/instruction-approval/utils.d.ts +1 -0
- package/dist/client/pc/configuration/instruction-carbon-copy/ApprovalCarbonCopy.instruction.d.ts +76 -0
- package/dist/client/pc/configuration/instruction-carbon-copy/config-items/AddNotifiedPerson.view.d.ts +2 -0
- package/dist/client/pc/configuration/instruction-carbon-copy/config-items/ConfigButtonNotice.view.d.ts +2 -0
- package/dist/client/pc/configuration/instruction-carbon-copy/config-items/SelectNotifiedPerson.view.d.ts +2 -0
- package/dist/client/pc/configuration/instruction-carbon-copy/kit.d.ts +5 -0
- package/dist/client/pc/configuration/instruction-carbon-copy/show-interface/CarbonCopyDetail.block.d.ts +2 -0
- package/dist/client/pc/configuration/instruction-carbon-copy/show-interface/CarbonCopyDetail.initializer.d.ts +2 -0
- package/dist/client/pc/configuration/instruction-carbon-copy/show-interface/CarbonCopyDetail.schema.d.ts +6 -0
- package/dist/client/pc/configuration/instruction-carbon-copy/show-interface/CarbonCopyDetailContainer.schema.d.ts +2 -0
- package/dist/client/pc/configuration/instruction-carbon-copy/show-interface/style.d.ts +3 -0
- package/dist/client/pc/configuration/instruction-carbon-copy/style.d.ts +5 -0
- package/dist/client/pc/configuration/plugin.d.ts +5 -0
- package/dist/client/pc/configuration/trigger/Approval.trigger.d.ts +121 -0
- package/dist/client/pc/configuration/trigger/ConfigButton.view.d.ts +2 -0
- package/dist/client/pc/configuration/trigger/launcher-interface/LauncherActionConfig.component.d.ts +3 -0
- package/dist/client/pc/configuration/trigger/launcher-interface/LauncherActionConfig.initializer.d.ts +2 -0
- package/dist/client/pc/configuration/trigger/launcher-interface/LauncherAddBlockButton.initializer.d.ts +2 -0
- package/dist/client/pc/configuration/trigger/launcher-interface/LauncherBlockButton.component.d.ts +2 -0
- package/dist/client/pc/configuration/trigger/launcher-interface/LauncherInterface.schema.d.ts +2 -0
- package/dist/client/pc/configuration/trigger/launcher-interface/SchemaAddBlock.component.d.ts +5 -0
- package/dist/client/pc/configuration/trigger/plugin.d.ts +6 -0
- package/dist/client/pc/constants.d.ts +91 -0
- package/dist/client/pc/index.d.ts +5 -0
- package/dist/client/pc/locale.d.ts +7 -0
- package/dist/client/pc/usage/block/ApprovalBlock.initializer.d.ts +70 -0
- package/dist/client/pc/usage/block/BlockInitItem.provider.d.ts +5 -0
- package/dist/client/pc/usage/block/BlockInitItem.schema.d.ts +21 -0
- package/dist/client/pc/usage/block/BlockInitItem.view.d.ts +2 -0
- package/dist/client/pc/usage/block/InitiateApplication.component.d.ts +6 -0
- package/dist/client/pc/usage/block/carbon-copy/CarbonCopyBlock.provider.d.ts +5 -0
- package/dist/client/pc/usage/block/carbon-copy/CarbonCopyCenter.schema.d.ts +2 -0
- package/dist/client/pc/usage/block/common/ApprovalExecution.provider.d.ts +6 -0
- package/dist/client/pc/usage/block/common/FlowContext.provider.d.ts +6 -0
- package/dist/client/pc/usage/block/common/FuzzySearch.component.d.ts +2 -0
- package/dist/client/pc/usage/block/common/SchemaComponent.provider.d.ts +5 -0
- package/dist/client/pc/usage/block/common/useHandleRefresh.d.ts +3 -0
- package/dist/client/pc/usage/block/initiations/ApprovalStatus.context.d.ts +2 -0
- package/dist/client/pc/usage/block/initiations/CheckContent.component.d.ts +2 -0
- package/dist/client/pc/usage/block/initiations/CheckContent.provider.d.ts +2 -0
- package/dist/client/pc/usage/block/initiations/CheckContent.schema.d.ts +45 -0
- package/dist/client/pc/usage/block/initiations/CheckContent.view.d.ts +2 -0
- package/dist/client/pc/usage/block/initiations/CheckLink.schema.d.ts +24 -0
- package/dist/client/pc/usage/block/initiations/CheckLink.view.d.ts +2 -0
- package/dist/client/pc/usage/block/initiations/TableInitiated.d.ts +6 -0
- package/dist/client/pc/usage/block/initiations/TableInitiated.schema.d.ts +182 -0
- package/dist/client/pc/usage/block/initiations/WithdrawAction.provider.d.ts +3 -0
- package/dist/client/pc/usage/block/initiations/apply-button/ActionBar.provider.d.ts +1 -0
- package/dist/client/pc/usage/block/initiations/apply-button/ActionStatus.provider.d.ts +3 -0
- package/dist/client/pc/usage/block/initiations/apply-button/ActionWithdraw.provider.d.ts +1 -0
- package/dist/client/pc/usage/block/initiations/apply-button/ApplyButton.component.d.ts +2 -0
- package/dist/client/pc/usage/block/initiations/apply-button/ApplyButton.provider.d.ts +2 -0
- package/dist/client/pc/usage/block/initiations/apply-button/ApplyButton.view.d.ts +2 -0
- package/dist/client/pc/usage/block/initiations/apply-button/hooks/useActionResubmit.d.ts +3 -0
- package/dist/client/pc/usage/block/initiations/apply-button/hooks/useSubmitCreate.d.ts +3 -0
- package/dist/client/pc/usage/block/initiations/apply-button/hooks/useWithdrawAction.d.ts +3 -0
- package/dist/client/pc/usage/block/initiations/hooks/useActionResubmit.d.ts +3 -0
- package/dist/client/pc/usage/block/initiations/hooks/useDestroyAction.d.ts +3 -0
- package/dist/client/pc/usage/block/initiations/hooks/useFormBlockProps.d.ts +3 -0
- package/dist/client/pc/usage/block/initiations/hooks/useSubmitUpdate.d.ts +3 -0
- package/dist/client/pc/usage/block/initiations/hooks/useWithdrawAction.d.ts +3 -0
- package/dist/client/pc/usage/block/initiations/providers/ActionBar.provider.d.ts +1 -0
- package/dist/client/pc/usage/block/initiations/providers/ActionResubmit.provider.d.ts +1 -0
- package/dist/client/pc/usage/block/initiations/providers/ApplyActionStatus.provider.d.ts +2 -0
- package/dist/client/pc/usage/block/initiations/providers/Record.provider.d.ts +2 -0
- package/dist/client/pc/usage/block/plugin.d.ts +5 -0
- package/dist/client/pc/usage/block/todos/CheckContent.component.d.ts +2 -0
- package/dist/client/pc/usage/block/todos/CheckContent.provider.d.ts +2 -0
- package/dist/client/pc/usage/block/todos/CheckContent.schema.d.ts +40 -0
- package/dist/client/pc/usage/block/todos/CheckContent.view.d.ts +2 -0
- package/dist/client/pc/usage/block/todos/CheckLink.schema.d.ts +19 -0
- package/dist/client/pc/usage/block/todos/CheckLink.view.d.ts +2 -0
- package/dist/client/pc/usage/block/todos/TableTodos.d.ts +6 -0
- package/dist/client/pc/usage/block/todos/TableTodos.schema.d.ts +195 -0
- package/dist/client/pc/usage/block/todos/hooks/useApprovalDetailBlockProps.d.ts +3 -0
- package/dist/client/pc/usage/block/todos/hooks/useApprovalFormBlockProps.d.ts +3 -0
- package/dist/client/pc/usage/block/todos/hooks/useSubmit.d.ts +3 -0
- package/dist/client/pc/usage/block/todos/providers/ActionBar.provider.d.ts +2 -0
- package/dist/client/pc/usage/block/todos/providers/ApprovalAction.provider.d.ts +10 -0
- package/dist/client/pc/usage/block/todos/providers/ApprovalExecutions.provider.d.ts +28 -0
- package/dist/client/pc/usage/block/todos/providers/ApprovalFormBlock.provider.d.ts +2 -0
- package/dist/client/pc/usage/block/todos/providers/ApprovalUpdateForm.provider.d.ts +1 -0
- package/dist/client/pc/usage/common/ApprovalData.provider.d.ts +5 -0
- package/dist/client/pc/usage/common/ApprovalProcess.view.d.ts +2 -0
- package/dist/client/pc/usage/common/Resubmit.provider.d.ts +10 -0
- package/dist/client/pc/usage/common/WithActionEnabled.provider.d.ts +3 -0
- package/dist/client/pc/usage/common/approval-columns/approvalStatus.column.d.ts +3 -0
- package/dist/client/pc/usage/common/approval-columns/lastNode.column.d.ts +2 -0
- package/dist/client/pc/usage/common/approval-columns/node.column.d.ts +1 -0
- package/dist/client/pc/usage/common/approval-columns/status.column.d.ts +3 -0
- package/dist/client/pc/usage/common/approval-columns/summary.column.d.ts +2 -0
- package/dist/client/pc/usage/common/approval-columns/user.column.d.ts +1 -0
- package/dist/client/pc/usage/common/approval-columns/workflow.column.d.ts +2 -0
- package/dist/client/pc/usage/common/notice-columns/column.action.d.ts +2 -0
- package/dist/client/pc/usage/common/notice-columns/column.node.d.ts +1 -0
- package/dist/client/pc/usage/common/notice-columns/column.status.d.ts +8 -0
- package/dist/client/pc/usage/common/notice-columns/column.user.d.ts +1 -0
- package/dist/client/pc/usage/common/notice-columns/column.workflow.d.ts +2 -0
- package/dist/client/pc/usage/common/notice-show-detail/NoticeDetail.provider.d.ts +5 -0
- package/dist/client/pc/usage/common/notice-show-detail/NoticeDetail.schema.d.ts +2 -0
- package/dist/client/pc/usage/common/notice-show-detail/contexts/MyComponent.context.d.ts +9 -0
- package/dist/client/pc/usage/common/notice-show-detail/contexts/WorkflowNotice.context.d.ts +4 -0
- package/dist/client/pc/usage/common/notice-show-detail/hooks/usePropsNoticeDetail.d.ts +3 -0
- package/dist/client/pc/usage/common/plugin.d.ts +4 -0
- package/dist/client/pc/usage/common/process-columns/index.d.ts +44 -0
- package/dist/client/pc/usage/common/process-columns/renderDetail.d.ts +2 -0
- package/dist/client/pc/usage/common/process-columns/renderStatus.d.ts +2 -0
- package/dist/client/pc/usage/common/process-columns/renderTaskNode.d.ts +2 -0
- package/dist/client/pc/usage/common/style.d.ts +4 -0
- package/dist/client/pc/usage/common/tools.d.ts +1 -0
- package/dist/client/pc/usage/plugin.d.ts +5 -0
- package/dist/client/pc/usage/record-block/RecordApprovals.decorator.d.ts +5 -0
- package/dist/client/pc/usage/record-block/RecordApprovals.initializer.d.ts +2 -0
- package/dist/client/pc/usage/record-block/RecordApprovals.schema.d.ts +110 -0
- package/dist/client/pc/usage/record-block/RecordApprovals.view.d.ts +2 -0
- package/dist/client/pc/usage/record-block/plugin.d.ts +6 -0
- package/dist/common/collection-name.d.ts +4 -0
- package/dist/common/collection-name.js +36 -0
- package/dist/externalVersion.js +19 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +39 -0
- package/dist/locale/en-US.json +311 -0
- package/dist/locale/zh-CN.json +388 -0
- package/dist/server/actions/approvalCarbonCopy.d.ts +3 -0
- package/dist/server/actions/approvalCarbonCopy.js +71 -0
- package/dist/server/actions/approvalRecords.d.ts +4 -0
- package/dist/server/actions/approvalRecords.js +111 -0
- package/dist/server/actions/approvals.d.ts +8 -0
- package/dist/server/actions/approvals.js +275 -0
- package/dist/server/actions/index.d.ts +3 -0
- package/dist/server/actions/index.js +48 -0
- package/dist/server/actions/workflows.d.ts +3 -0
- package/dist/server/actions/workflows.js +49 -0
- package/dist/server/collections/approvalCarbonCopy.d.ts +2 -0
- package/dist/server/collections/approvalCarbonCopy.js +87 -0
- package/dist/server/collections/approvalExecutions.d.ts +2 -0
- package/dist/server/collections/approvalExecutions.js +70 -0
- package/dist/server/collections/approvalRecords.d.ts +2 -0
- package/dist/server/collections/approvalRecords.js +88 -0
- package/dist/server/collections/approvals.d.ts +2 -0
- package/dist/server/collections/approvals.js +96 -0
- package/dist/server/constants/error-code.d.ts +22 -0
- package/dist/server/constants/error-code.js +48 -0
- package/dist/server/constants/status.d.ts +20 -0
- package/dist/server/constants/status.js +46 -0
- package/dist/server/index.d.ts +1 -0
- package/dist/server/index.js +33 -0
- package/dist/server/instructions/Approval.d.ts +9 -0
- package/dist/server/instructions/Approval.js +220 -0
- package/dist/server/instructions/ApprovalCarbonCopy.d.ts +8 -0
- package/dist/server/instructions/ApprovalCarbonCopy.js +99 -0
- package/dist/server/instructions/tools.d.ts +11 -0
- package/dist/server/instructions/tools.js +139 -0
- package/dist/server/plugin.d.ts +12 -0
- package/dist/server/plugin.js +89 -0
- package/dist/server/tools.d.ts +11 -0
- package/dist/server/tools.js +70 -0
- package/dist/server/triggers/Approval.d.ts +23 -0
- package/dist/server/triggers/Approval.js +313 -0
- package/dist/server/triggers/tools.d.ts +12 -0
- package/dist/server/triggers/tools.js +44 -0
- package/dist/server/utils.d.ts +1 -0
- package/dist/server/utils.js +39 -0
- package/package.json +45 -0
- package/server.d.ts +2 -0
- package/server.js +1 -0
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
export declare const getSchemaActionTodosContent: (params: any) => {
|
|
2
|
+
name: string;
|
|
3
|
+
type: string;
|
|
4
|
+
'x-component': string;
|
|
5
|
+
properties: {
|
|
6
|
+
detail: {
|
|
7
|
+
type: string;
|
|
8
|
+
title: string;
|
|
9
|
+
'x-component': string;
|
|
10
|
+
properties: {
|
|
11
|
+
detail: {
|
|
12
|
+
type: string;
|
|
13
|
+
'x-decorator': string;
|
|
14
|
+
'x-decorator-props': {
|
|
15
|
+
designable: boolean;
|
|
16
|
+
};
|
|
17
|
+
'x-component': string;
|
|
18
|
+
'x-component-props': {
|
|
19
|
+
uid: any;
|
|
20
|
+
noForm: boolean;
|
|
21
|
+
};
|
|
22
|
+
};
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
} & ({
|
|
26
|
+
history?: undefined;
|
|
27
|
+
} | {
|
|
28
|
+
history: {
|
|
29
|
+
type: string;
|
|
30
|
+
title: string;
|
|
31
|
+
'x-component': string;
|
|
32
|
+
properties: {
|
|
33
|
+
history: {
|
|
34
|
+
type: string;
|
|
35
|
+
'x-component': string;
|
|
36
|
+
};
|
|
37
|
+
};
|
|
38
|
+
};
|
|
39
|
+
});
|
|
40
|
+
};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export declare const getSchemaActionTodos: (params: any) => {
|
|
2
|
+
name: string;
|
|
3
|
+
type: string;
|
|
4
|
+
'x-component': string;
|
|
5
|
+
title: string;
|
|
6
|
+
properties: {
|
|
7
|
+
drawer: {
|
|
8
|
+
type: string;
|
|
9
|
+
'x-component': any;
|
|
10
|
+
'x-component-props': any;
|
|
11
|
+
properties: {
|
|
12
|
+
content: {
|
|
13
|
+
type: string;
|
|
14
|
+
'x-component': string;
|
|
15
|
+
};
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
};
|
|
19
|
+
};
|
|
@@ -0,0 +1,195 @@
|
|
|
1
|
+
export declare const schemaTableTodos: {
|
|
2
|
+
type: string;
|
|
3
|
+
name: string;
|
|
4
|
+
properties: {
|
|
5
|
+
actions: {
|
|
6
|
+
type: string;
|
|
7
|
+
'x-component': string;
|
|
8
|
+
'x-component-props': {
|
|
9
|
+
style: {
|
|
10
|
+
marginBottom: number;
|
|
11
|
+
};
|
|
12
|
+
};
|
|
13
|
+
properties: {
|
|
14
|
+
filter: {
|
|
15
|
+
type: string;
|
|
16
|
+
title: string;
|
|
17
|
+
'x-action': string;
|
|
18
|
+
'x-designer': string;
|
|
19
|
+
'x-component': string;
|
|
20
|
+
'x-use-component-props': string;
|
|
21
|
+
'x-component-props': {
|
|
22
|
+
icon: string;
|
|
23
|
+
};
|
|
24
|
+
'x-align': string;
|
|
25
|
+
};
|
|
26
|
+
filterSummary: {
|
|
27
|
+
type: string;
|
|
28
|
+
'x-component': string;
|
|
29
|
+
'x-align': string;
|
|
30
|
+
};
|
|
31
|
+
refresher: {
|
|
32
|
+
type: string;
|
|
33
|
+
title: string;
|
|
34
|
+
'x-action': string;
|
|
35
|
+
'x-component': string;
|
|
36
|
+
'x-use-component-props': string;
|
|
37
|
+
'x-designer': string;
|
|
38
|
+
'x-component-props': {
|
|
39
|
+
icon: string;
|
|
40
|
+
};
|
|
41
|
+
'x-align': string;
|
|
42
|
+
};
|
|
43
|
+
};
|
|
44
|
+
};
|
|
45
|
+
table: {
|
|
46
|
+
type: string;
|
|
47
|
+
'x-component': string;
|
|
48
|
+
'x-use-component-props': string;
|
|
49
|
+
'x-component-props': {
|
|
50
|
+
rowKey: string;
|
|
51
|
+
tableLayout: string;
|
|
52
|
+
className: string;
|
|
53
|
+
};
|
|
54
|
+
properties: {
|
|
55
|
+
action: {
|
|
56
|
+
type: string;
|
|
57
|
+
'x-decorator': string;
|
|
58
|
+
'x-component': string;
|
|
59
|
+
'x-component-props': {
|
|
60
|
+
width: number;
|
|
61
|
+
};
|
|
62
|
+
title: string;
|
|
63
|
+
properties: {
|
|
64
|
+
action: {
|
|
65
|
+
'x-component': string;
|
|
66
|
+
};
|
|
67
|
+
};
|
|
68
|
+
};
|
|
69
|
+
approvalId: {
|
|
70
|
+
type: string;
|
|
71
|
+
'x-decorator': string;
|
|
72
|
+
'x-component': string;
|
|
73
|
+
'x-component-props': {
|
|
74
|
+
width: number;
|
|
75
|
+
};
|
|
76
|
+
title: string;
|
|
77
|
+
properties: {
|
|
78
|
+
approvalId: {
|
|
79
|
+
type: string;
|
|
80
|
+
'x-component': string;
|
|
81
|
+
'x-read-pretty': boolean;
|
|
82
|
+
};
|
|
83
|
+
};
|
|
84
|
+
};
|
|
85
|
+
createdAt: {
|
|
86
|
+
type: string;
|
|
87
|
+
'x-decorator': string;
|
|
88
|
+
'x-component': string;
|
|
89
|
+
'x-component-props': {
|
|
90
|
+
width: number;
|
|
91
|
+
};
|
|
92
|
+
properties: {
|
|
93
|
+
createdAt: {
|
|
94
|
+
type: string;
|
|
95
|
+
'x-component': string;
|
|
96
|
+
'x-read-pretty': boolean;
|
|
97
|
+
};
|
|
98
|
+
};
|
|
99
|
+
};
|
|
100
|
+
summary: {
|
|
101
|
+
type: string;
|
|
102
|
+
'x-decorator': string;
|
|
103
|
+
'x-component': string;
|
|
104
|
+
'x-component-props': {
|
|
105
|
+
width: number;
|
|
106
|
+
};
|
|
107
|
+
title: string;
|
|
108
|
+
properties: {
|
|
109
|
+
summary: {
|
|
110
|
+
type: string;
|
|
111
|
+
'x-component': string;
|
|
112
|
+
'x-read-pretty': boolean;
|
|
113
|
+
};
|
|
114
|
+
};
|
|
115
|
+
};
|
|
116
|
+
createdBy: {
|
|
117
|
+
type: string;
|
|
118
|
+
title: string;
|
|
119
|
+
'x-decorator': string;
|
|
120
|
+
'x-component': string;
|
|
121
|
+
'x-component-props': {
|
|
122
|
+
width: number;
|
|
123
|
+
};
|
|
124
|
+
properties: {
|
|
125
|
+
createdBy: {
|
|
126
|
+
type: string;
|
|
127
|
+
'x-component': string;
|
|
128
|
+
'x-read-pretty': boolean;
|
|
129
|
+
};
|
|
130
|
+
};
|
|
131
|
+
};
|
|
132
|
+
user: {
|
|
133
|
+
type: string;
|
|
134
|
+
'x-decorator': string;
|
|
135
|
+
'x-component': string;
|
|
136
|
+
'x-component-props': {
|
|
137
|
+
width: number;
|
|
138
|
+
};
|
|
139
|
+
title: string;
|
|
140
|
+
properties: {
|
|
141
|
+
user: {
|
|
142
|
+
'x-component': string;
|
|
143
|
+
'x-read-pretty': boolean;
|
|
144
|
+
};
|
|
145
|
+
};
|
|
146
|
+
};
|
|
147
|
+
status: {
|
|
148
|
+
type: string;
|
|
149
|
+
'x-decorator': string;
|
|
150
|
+
'x-component': string;
|
|
151
|
+
'x-component-props': {
|
|
152
|
+
width: number;
|
|
153
|
+
};
|
|
154
|
+
title: string;
|
|
155
|
+
properties: {
|
|
156
|
+
status: {
|
|
157
|
+
'x-component': string;
|
|
158
|
+
'x-read-pretty': boolean;
|
|
159
|
+
};
|
|
160
|
+
};
|
|
161
|
+
};
|
|
162
|
+
workflow: {
|
|
163
|
+
type: string;
|
|
164
|
+
'x-decorator': string;
|
|
165
|
+
'x-component': string;
|
|
166
|
+
'x-component-props': {
|
|
167
|
+
width: any;
|
|
168
|
+
};
|
|
169
|
+
title: string;
|
|
170
|
+
properties: {
|
|
171
|
+
workflow: {
|
|
172
|
+
'x-component': string;
|
|
173
|
+
'x-read-pretty': boolean;
|
|
174
|
+
};
|
|
175
|
+
};
|
|
176
|
+
};
|
|
177
|
+
node: {
|
|
178
|
+
type: string;
|
|
179
|
+
'x-decorator': string;
|
|
180
|
+
'x-component': string;
|
|
181
|
+
'x-component-props': {
|
|
182
|
+
width: any;
|
|
183
|
+
};
|
|
184
|
+
title: string;
|
|
185
|
+
properties: {
|
|
186
|
+
node: {
|
|
187
|
+
'x-component': string;
|
|
188
|
+
'x-read-pretty': boolean;
|
|
189
|
+
};
|
|
190
|
+
};
|
|
191
|
+
};
|
|
192
|
+
};
|
|
193
|
+
};
|
|
194
|
+
};
|
|
195
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
interface ApprovalAction {
|
|
3
|
+
status: number | null;
|
|
4
|
+
}
|
|
5
|
+
export declare function ApprovalActionProvider({ children, ...props }: {
|
|
6
|
+
[x: string]: any;
|
|
7
|
+
children: any;
|
|
8
|
+
}): React.JSX.Element;
|
|
9
|
+
export declare function useContextApprovalAction(): Partial<ApprovalAction>;
|
|
10
|
+
export {};
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
export interface Approval {
|
|
2
|
+
id: number;
|
|
3
|
+
collectionName: string;
|
|
4
|
+
dataKey: string;
|
|
5
|
+
workflow: any;
|
|
6
|
+
executions: any[];
|
|
7
|
+
approvalExecutions: any[];
|
|
8
|
+
latestApprovalExecution: any;
|
|
9
|
+
records: any[];
|
|
10
|
+
createdById: number;
|
|
11
|
+
status: number;
|
|
12
|
+
data: any;
|
|
13
|
+
applicantRole: any;
|
|
14
|
+
latestExecutionId?: any;
|
|
15
|
+
}
|
|
16
|
+
interface ApprovalExecutions {
|
|
17
|
+
id: number;
|
|
18
|
+
approval: Approval;
|
|
19
|
+
execution: any;
|
|
20
|
+
status: number;
|
|
21
|
+
snapshot: any;
|
|
22
|
+
records: any[];
|
|
23
|
+
job?: any;
|
|
24
|
+
userId?: any;
|
|
25
|
+
}
|
|
26
|
+
export declare const ContextApprovalRecords: import("react").Context<Partial<ApprovalExecutions>>;
|
|
27
|
+
export declare function useContextApprovalRecords(): Partial<ApprovalExecutions>;
|
|
28
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const ProviderApprovalUpdateForm: (props: any) => any;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Approval } from '../block/todos/providers/ApprovalExecutions.provider';
|
|
3
|
+
export declare const ApprovalContext: React.Context<Partial<Approval>>;
|
|
4
|
+
export declare function useApproval(): Partial<Approval>;
|
|
5
|
+
export declare function ApprovalDataProvider(props: any): React.JSX.Element;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
interface ResubmitProps {
|
|
3
|
+
isResubmit?: boolean;
|
|
4
|
+
setResubmit?: any;
|
|
5
|
+
}
|
|
6
|
+
export declare const ResubmitProvider: ({ children }: {
|
|
7
|
+
children: any;
|
|
8
|
+
}) => React.JSX.Element;
|
|
9
|
+
export declare const useResubmit: () => ResubmitProps;
|
|
10
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const NodeColumn: import("react").MemoExoticComponent<import("@tachybase/schema").ReactFC<unknown>>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const UserColumn: import("react").MemoExoticComponent<import("@tachybase/schema").ReactFC<unknown>>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const ColumnNode: import("react").MemoExoticComponent<import("@tachybase/schema").ReactFC<unknown>>;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export declare const ColumnStatus: React.MemoExoticComponent<import("@tachybase/schema").ReactFC<unknown>>;
|
|
3
|
+
export declare const ColumnStatusComponent: (props: any) => React.JSX.Element;
|
|
4
|
+
export declare const approvalStatusOptions: {
|
|
5
|
+
value: any;
|
|
6
|
+
label: string;
|
|
7
|
+
color: string;
|
|
8
|
+
}[];
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const ColumnUser: import("react").MemoExoticComponent<import("@tachybase/schema").ReactFC<unknown>>;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
interface ContextMyComponentProps {
|
|
3
|
+
id?: string;
|
|
4
|
+
schemaId?: string;
|
|
5
|
+
}
|
|
6
|
+
export declare const ContextMyComponent: React.Context<ContextMyComponentProps>;
|
|
7
|
+
export declare const ProviderContextMyComponent: React.Provider<ContextMyComponentProps>;
|
|
8
|
+
export declare function useContextMyComponent(): ContextMyComponentProps;
|
|
9
|
+
export {};
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { renderDetail } from './renderDetail';
|
|
2
|
+
import { renderStatus } from './renderStatus';
|
|
3
|
+
import { renderTaskNode } from './renderTaskNode';
|
|
4
|
+
export declare const getAntdTableColumns: ({ t, styles }: {
|
|
5
|
+
t: any;
|
|
6
|
+
styles: any;
|
|
7
|
+
}) => ({
|
|
8
|
+
title: any;
|
|
9
|
+
dataIndex: string;
|
|
10
|
+
width: number;
|
|
11
|
+
onCell?: undefined;
|
|
12
|
+
render?: undefined;
|
|
13
|
+
className?: undefined;
|
|
14
|
+
} | {
|
|
15
|
+
title: any;
|
|
16
|
+
dataIndex: string[];
|
|
17
|
+
width: number;
|
|
18
|
+
onCell(taskNode: any): {
|
|
19
|
+
rowSpan: any;
|
|
20
|
+
};
|
|
21
|
+
render: typeof renderTaskNode;
|
|
22
|
+
className?: undefined;
|
|
23
|
+
} | {
|
|
24
|
+
title: any;
|
|
25
|
+
dataIndex: string[];
|
|
26
|
+
width: number;
|
|
27
|
+
onCell?: undefined;
|
|
28
|
+
render?: undefined;
|
|
29
|
+
className?: undefined;
|
|
30
|
+
} | {
|
|
31
|
+
title: any;
|
|
32
|
+
dataIndex: string;
|
|
33
|
+
width: number;
|
|
34
|
+
render: typeof renderStatus;
|
|
35
|
+
onCell?: undefined;
|
|
36
|
+
className?: undefined;
|
|
37
|
+
} | {
|
|
38
|
+
title: any;
|
|
39
|
+
dataIndex: string;
|
|
40
|
+
width: number;
|
|
41
|
+
className: any;
|
|
42
|
+
render: typeof renderDetail;
|
|
43
|
+
onCell?: undefined;
|
|
44
|
+
})[];
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function getResults(params: any): any;
|
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
export declare const SchemaRecordApprovals: {
|
|
2
|
+
type: string;
|
|
3
|
+
name: string;
|
|
4
|
+
properties: {
|
|
5
|
+
actions: {
|
|
6
|
+
type: string;
|
|
7
|
+
'x-component': string;
|
|
8
|
+
'x-component-props': {
|
|
9
|
+
style: {
|
|
10
|
+
marginBottom: number;
|
|
11
|
+
};
|
|
12
|
+
};
|
|
13
|
+
properties: {
|
|
14
|
+
refresher: {
|
|
15
|
+
type: string;
|
|
16
|
+
title: string;
|
|
17
|
+
'x-action': string;
|
|
18
|
+
'x-component': string;
|
|
19
|
+
'x-use-component-props': string;
|
|
20
|
+
'x-designer': string;
|
|
21
|
+
'x-component-props': {
|
|
22
|
+
icon: string;
|
|
23
|
+
};
|
|
24
|
+
'x-align': string;
|
|
25
|
+
};
|
|
26
|
+
};
|
|
27
|
+
};
|
|
28
|
+
list: {
|
|
29
|
+
type: string;
|
|
30
|
+
'x-component': string;
|
|
31
|
+
'x-component-props': {
|
|
32
|
+
locale: {
|
|
33
|
+
emptyText: string;
|
|
34
|
+
};
|
|
35
|
+
};
|
|
36
|
+
properties: {
|
|
37
|
+
item: {
|
|
38
|
+
type: string;
|
|
39
|
+
'x-component': string;
|
|
40
|
+
'x-use-component-props': string;
|
|
41
|
+
'x-read-pretty': boolean;
|
|
42
|
+
properties: {
|
|
43
|
+
grid: {
|
|
44
|
+
type: string;
|
|
45
|
+
'x-component': string;
|
|
46
|
+
'x-component-props': {
|
|
47
|
+
direction: string;
|
|
48
|
+
};
|
|
49
|
+
properties: {
|
|
50
|
+
row: {
|
|
51
|
+
type: string;
|
|
52
|
+
'x-component': string;
|
|
53
|
+
'x-component-props': {
|
|
54
|
+
size: string;
|
|
55
|
+
wrap: boolean;
|
|
56
|
+
};
|
|
57
|
+
properties: {
|
|
58
|
+
id: {
|
|
59
|
+
type: string;
|
|
60
|
+
title: string;
|
|
61
|
+
'x-decorator': string;
|
|
62
|
+
'x-component': string;
|
|
63
|
+
'x-read-pretty': boolean;
|
|
64
|
+
};
|
|
65
|
+
workflow: {
|
|
66
|
+
type: string;
|
|
67
|
+
title: string;
|
|
68
|
+
'x-decorator': string;
|
|
69
|
+
'x-component': string;
|
|
70
|
+
'x-read-pretty': boolean;
|
|
71
|
+
};
|
|
72
|
+
status: {
|
|
73
|
+
type: string;
|
|
74
|
+
title: string;
|
|
75
|
+
'x-decorator': string;
|
|
76
|
+
'x-component': string;
|
|
77
|
+
'x-read-pretty': boolean;
|
|
78
|
+
};
|
|
79
|
+
createdBy: {
|
|
80
|
+
type: string;
|
|
81
|
+
title: string;
|
|
82
|
+
'x-decorator': string;
|
|
83
|
+
'x-component': string;
|
|
84
|
+
'x-read-pretty': boolean;
|
|
85
|
+
};
|
|
86
|
+
createdAt: {
|
|
87
|
+
type: string;
|
|
88
|
+
title: string;
|
|
89
|
+
'x-decorator': string;
|
|
90
|
+
'x-component': string;
|
|
91
|
+
'x-read-pretty': boolean;
|
|
92
|
+
};
|
|
93
|
+
};
|
|
94
|
+
};
|
|
95
|
+
processRow: {
|
|
96
|
+
type: string;
|
|
97
|
+
'x-decorator': string;
|
|
98
|
+
'x-component': string;
|
|
99
|
+
'x-component-props': {
|
|
100
|
+
actionEnabled: boolean;
|
|
101
|
+
};
|
|
102
|
+
};
|
|
103
|
+
};
|
|
104
|
+
};
|
|
105
|
+
};
|
|
106
|
+
};
|
|
107
|
+
};
|
|
108
|
+
};
|
|
109
|
+
};
|
|
110
|
+
};
|