@tachybase/plugin-workflow-approval 1.6.6 → 1.6.8-alpha.1
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/client/common/components/index.d.ts +1 -0
- package/dist/client/common/constants/index.d.ts +5 -0
- package/dist/client/{user-interface/pc/common → common/contexts}/ApprovalData.provider.d.ts +1 -1
- package/dist/client/common/contexts/approvalExecution.d.ts +9 -0
- package/dist/client/common/contexts/index.d.ts +13 -0
- package/dist/client/common/hook/index.d.ts +11 -0
- package/dist/client/common/index.d.ts +4 -0
- package/dist/client/index.js +29 -29
- package/dist/client/user-interface/h5/todos/hook/useFormBlockProps.d.ts +0 -3
- package/dist/externalVersion.js +6 -6
- package/package.json +17 -8
- package/dist/client/user-interface/h5/context/ApprovalExecution.d.ts +0 -3
- package/dist/client/user-interface/h5/context/FormBlock.d.ts +0 -1
- package/dist/client/user-interface/h5/context/SchemaComponent.d.ts +0 -4
- package/dist/client/user-interface/h5/context/WithActionEnabled.d.ts +0 -3
- package/dist/client/user-interface/h5/initiations/hook/useCreateSubmit.d.ts +0 -3
- package/dist/client/user-interface/h5/initiations/hook/useUpadteSubmit.d.ts +0 -3
- package/dist/client/user-interface/h5/initiations/provider/ActionBar.d.ts +0 -1
- package/dist/client/user-interface/h5/initiations/provider/ActionResubmit.provider.d.ts +0 -1
- package/dist/client/user-interface/h5/initiations/provider/ApplyActionStatus.d.ts +0 -2
- package/dist/client/user-interface/h5/initiations/provider/WithdrawAction.d.ts +0 -3
- package/dist/client/user-interface/h5/todos/hook/useDestroyAction.d.ts +0 -3
- package/dist/client/user-interface/h5/todos/provider/ApplyActionStatus.d.ts +0 -2
- package/dist/client/user-interface/h5/todos/provider/ApprovalAction.d.ts +0 -8
- package/dist/client/user-interface/h5/todos/provider/WithdrawAction.d.ts +0 -3
- package/dist/client/user-interface/pc/block/common/hooks/useActionReminder.d.ts +0 -3
- package/dist/client/user-interface/pc/block/common/hooks/useActionResubmit.d.ts +0 -3
- package/dist/client/user-interface/pc/block/common/hooks/useWithdrawAction.d.ts +0 -3
- package/dist/client/user-interface/pc/block/common/providers/ActionReminder.provider.d.ts +0 -1
- package/dist/client/user-interface/pc/block/table-initiations/hooks/useDestroyAction.d.ts +0 -3
- package/dist/client/user-interface/pc/block/table-initiations/hooks/useFormBlockProps.d.ts +0 -3
- package/dist/client/user-interface/pc/block/table-todos/hooks/useApprovalDetailBlockProps.d.ts +0 -3
- package/dist/client/user-interface/pc/block/table-todos/hooks/useApprovalFormBlockProps.d.ts +0 -3
- package/dist/client/user-interface/pc/block/table-todos/hooks/useSubmit.d.ts +0 -3
- package/dist/client/user-interface/pc/common/Resubmit.provider.d.ts +0 -9
- package/dist/client/user-interface/pc/common/notice-show-detail/hooks/usePropsNoticeDetail.d.ts +0 -3
- /package/dist/client/{user-interface/pc/block/common/providers → common/components}/SchemaComponentContextProvider.d.ts +0 -0
- /package/dist/client/{user-interface/pc/block/table-initiations/providers → common/contexts}/ActionBar.provider.d.ts +0 -0
- /package/dist/client/{user-interface/h5/initiations/provider → common/contexts}/ActionReminder.provider.d.ts +0 -0
- /package/dist/client/{user-interface/pc/block/table-initiations/providers → common/contexts}/ActionResubmit.provider.d.ts +0 -0
- /package/dist/client/{user-interface/pc/block/table-initiations/providers → common/contexts}/ApplyActionStatus.provider.d.ts +0 -0
- /package/dist/client/{user-interface/pc/block/table-todos/providers → common/contexts}/ApprovalAction.provider.d.ts +0 -0
- /package/dist/client/{user-interface/pc/block/table-todos/providers → common/contexts}/ApprovalExecutions.provider.d.ts +0 -0
- /package/dist/client/{user-interface/pc/block/table-initiations → common/contexts}/ApprovalStatus.context.d.ts +0 -0
- /package/dist/client/{user-interface/pc/block/table-todos/providers → common/contexts}/ApprovalUpdateForm.provider.d.ts +0 -0
- /package/dist/client/{user-interface/h5/initiations/provider → common/contexts}/Resubmit.provider.d.ts +0 -0
- /package/dist/client/{user-interface/pc/common → common/contexts}/WithActionEnabled.provider.d.ts +0 -0
- /package/dist/client/{user-interface/pc/block/common/providers → common/contexts}/WithdrawAction.provider.d.ts +0 -0
- /package/dist/client/{user-interface/h5/initiations → common}/hook/useActionReminder.d.ts +0 -0
- /package/dist/client/{user-interface/h5/initiations → common}/hook/useActionResubmit.d.ts +0 -0
- /package/dist/client/{user-interface/h5/todos → common}/hook/useApprovalDetailBlockProps.d.ts +0 -0
- /package/dist/client/{user-interface/h5/todos → common}/hook/useApprovalFormBlockProps.d.ts +0 -0
- /package/dist/client/{user-interface/h5/initiations → common}/hook/useDestroyAction.d.ts +0 -0
- /package/dist/client/{user-interface/h5/initiations → common}/hook/useFormBlockProps.d.ts +0 -0
- /package/dist/client/{user-interface/pc/block/common/hooks → common/hook}/useHandleRefresh.d.ts +0 -0
- /package/dist/client/{user-interface/h5/todos → common}/hook/usePropsNoticeDetail.d.ts +0 -0
- /package/dist/client/{user-interface/h5/todos → common}/hook/useSubmit.d.ts +0 -0
- /package/dist/client/{user-interface/pc/block/common/hooks → common/hook}/useSubmitCreate.d.ts +0 -0
- /package/dist/client/{user-interface/pc/block/table-initiations/hooks → common/hook}/useSubmitUpdate.d.ts +0 -0
- /package/dist/client/{user-interface/h5/initiations → common}/hook/useWithdrawAction.d.ts +0 -0
|
@@ -3,3 +3,4 @@ export { FormBlockProvider } from './FormBlock.provider';
|
|
|
3
3
|
export { SimpleTable } from './SimpleTable';
|
|
4
4
|
export type { SimpleTableColumn, SimpleTableProps } from './SimpleTable';
|
|
5
5
|
export { ApprovalsSummary } from './ApprovalsSummary';
|
|
6
|
+
export { SchemaComponentContextProvider } from './SchemaComponentContextProvider';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Approval } from '
|
|
1
|
+
import { Approval } from './ApprovalExecutions.provider';
|
|
2
2
|
export declare const ApprovalContext: import("react").Context<Partial<Approval>>;
|
|
3
3
|
export declare function useApproval(): Partial<Approval>;
|
|
4
4
|
export declare function ApprovalDataProvider(props: any): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
interface ApprovalExecution {
|
|
2
2
|
id: number;
|
|
3
|
+
approval?: any;
|
|
4
|
+
snapshot?: any;
|
|
5
|
+
approvalExecution?: any;
|
|
6
|
+
workflow?: any;
|
|
7
|
+
status?: number;
|
|
8
|
+
updatedAt?: string;
|
|
9
|
+
user?: any;
|
|
10
|
+
job?: any;
|
|
11
|
+
execution?: any;
|
|
3
12
|
}
|
|
4
13
|
export declare const ProviderContextApprovalExecution: import("react").Provider<Partial<ApprovalExecution>>;
|
|
5
14
|
export declare function useContextApprovalExecution(): Partial<ApprovalExecution>;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export * from './approvalExecution';
|
|
2
|
+
export * from './ActionBar.provider';
|
|
3
|
+
export * from './ApprovalData.provider';
|
|
4
|
+
export * from './ApprovalExecutions.provider';
|
|
5
|
+
export * from './Resubmit.provider';
|
|
6
|
+
export * from './ApprovalAction.provider';
|
|
7
|
+
export * from './ActionReminder.provider';
|
|
8
|
+
export * from './ActionResubmit.provider';
|
|
9
|
+
export * from './WithdrawAction.provider';
|
|
10
|
+
export * from './ApprovalUpdateForm.provider';
|
|
11
|
+
export * from './WithActionEnabled.provider';
|
|
12
|
+
export * from './ApprovalStatus.context';
|
|
13
|
+
export * from './ApplyActionStatus.provider';
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export * from './useActionReminder';
|
|
2
|
+
export * from './useApprovalFormBlockProps';
|
|
3
|
+
export * from './useApprovalDetailBlockProps';
|
|
4
|
+
export * from './useActionResubmit';
|
|
5
|
+
export * from './useFormBlockProps';
|
|
6
|
+
export * from './usePropsNoticeDetail';
|
|
7
|
+
export * from './useSubmitCreate';
|
|
8
|
+
export * from './useDestroyAction';
|
|
9
|
+
export * from './useSubmit';
|
|
10
|
+
export * from './useWithdrawAction';
|
|
11
|
+
export * from './useSubmitUpdate';
|