@tachybase/plugin-workflow-approval 0.23.17 → 0.23.20

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.
Files changed (98) hide show
  1. package/dist/client/h5/ApprovalBlockInitializer.d.ts +1 -2
  2. package/dist/client/h5/collection/UserJobs.collection.d.ts +1 -1
  3. package/dist/client/h5/component/ApprovalProcess.view.d.ts +1 -2
  4. package/dist/client/h5/constants.d.ts +1 -1
  5. package/dist/client/h5/context/FormBlock.d.ts +1 -2
  6. package/dist/client/h5/context/SchemaComponent.d.ts +1 -2
  7. package/dist/client/h5/initiations/component/ViewActionInitiationsContent.d.ts +2 -3
  8. package/dist/client/h5/initiations/component/ViewActionUserInitiationsContent.d.ts +1 -2
  9. package/dist/client/h5/initiations/config/LauncherActionConfigComponent.d.ts +1 -2
  10. package/dist/client/h5/initiations/provider/ApplyActionStatus.d.ts +1 -2
  11. package/dist/client/h5/initiations/provider/Resubmit.provider.d.ts +1 -2
  12. package/dist/client/h5/todos/component/ViewTodosDetailsContent.d.ts +1 -2
  13. package/dist/client/h5/todos/provider/ActionBarProvider.d.ts +1 -2
  14. package/dist/client/h5/todos/provider/ApplyActionStatus.d.ts +1 -2
  15. package/dist/client/h5/todos/provider/ApprovalAction.d.ts +1 -2
  16. package/dist/client/h5/todos/provider/ApprovalFormBlock.d.ts +1 -2
  17. package/dist/client/h5/todos/provider/FormBlockProvider.d.ts +1 -2
  18. package/dist/client/h5/todos/provider/ManualActionStatusProvider.d.ts +1 -1
  19. package/dist/client/pc/common/FormBlock.provider.d.ts +1 -2
  20. package/dist/client/pc/configuration/Approval.setting.d.ts +1 -1
  21. package/dist/client/pc/configuration/ApprovalPane.component.d.ts +1 -2
  22. package/dist/client/pc/configuration/instruction-approval/Approval.node.d.ts +8 -8
  23. package/dist/client/pc/configuration/instruction-approval/ApprovalNode.component.d.ts +1 -2
  24. package/dist/client/pc/configuration/instruction-approval/approval-config/SkipApproval.view.d.ts +1 -2
  25. package/dist/client/pc/configuration/instruction-approval/approval-config/VC.AssigneesAddition.d.ts +1 -2
  26. package/dist/client/pc/configuration/instruction-approval/approval-config/VC.AssigneesSelect.d.ts +1 -2
  27. package/dist/client/pc/configuration/instruction-approval/approval-config/VC.ContentTooltip.d.ts +1 -2
  28. package/dist/client/pc/configuration/instruction-approval/approval-config/VC.NegotiationConfig.d.ts +1 -2
  29. package/dist/client/pc/configuration/instruction-approval/approval-config/VC.SchemaConfigButtonApprover.d.ts +1 -2
  30. package/dist/client/pc/configuration/instruction-approval/approver-interface/ApproverBlock.view.d.ts +1 -2
  31. package/dist/client/pc/configuration/instruction-approval/approver-interface/ApproverInterface.schema.d.ts +1 -2
  32. package/dist/client/pc/configuration/instruction-approval/approver-interface/VC.ApprovalActionConfig.d.ts +1 -2
  33. package/dist/client/pc/configuration/instruction-approval/approver-interface/VC.ApprovalFormBlockProvider.d.ts +1 -2
  34. package/dist/client/pc/configuration/instruction-approval/approver-interface/VC.ApproverAddBlock.d.ts +1 -2
  35. package/dist/client/pc/configuration/instruction-approval/approver-interface/VC.ApproverAddBlockKit.d.ts +1 -2
  36. package/dist/client/pc/configuration/instruction-approval/forms/FormBlock.factory.d.ts +1 -2
  37. package/dist/client/pc/configuration/instruction-carbon-copy/ApprovalCarbonCopy.instruction.d.ts +4 -4
  38. package/dist/client/pc/configuration/instruction-carbon-copy/config-items/AddNotifiedPerson.view.d.ts +1 -2
  39. package/dist/client/pc/configuration/instruction-carbon-copy/config-items/ConfigButtonNotice.view.d.ts +1 -2
  40. package/dist/client/pc/configuration/instruction-carbon-copy/config-items/SelectNotifiedPerson.view.d.ts +1 -2
  41. package/dist/client/pc/configuration/instruction-carbon-copy/show-interface/CarbonCopyDetail.block.d.ts +1 -2
  42. package/dist/client/pc/configuration/instruction-carbon-copy/show-interface/CarbonCopyDetail.schema.d.ts +1 -2
  43. package/dist/client/pc/configuration/instruction-carbon-copy/show-interface/CarbonCopyDetailContainer.schema.d.ts +1 -2
  44. package/dist/client/pc/configuration/trigger/Approval.trigger.d.ts +2 -2
  45. package/dist/client/pc/configuration/trigger/ConfigButton.view.d.ts +1 -2
  46. package/dist/client/pc/configuration/trigger/launcher-interface/LauncherActionConfig.component.d.ts +3 -4
  47. package/dist/client/pc/configuration/trigger/launcher-interface/LauncherBlockButton.component.d.ts +1 -2
  48. package/dist/client/pc/configuration/trigger/launcher-interface/LauncherInterface.schema.d.ts +1 -2
  49. package/dist/client/pc/configuration/trigger/launcher-interface/SchemaAddBlock.component.d.ts +1 -2
  50. package/dist/client/pc/usage/block/BlockInitItem.provider.d.ts +1 -2
  51. package/dist/client/pc/usage/block/BlockInitItem.view.d.ts +1 -2
  52. package/dist/client/pc/usage/block/FeatureCard.component.d.ts +1 -2
  53. package/dist/client/pc/usage/block/FeatureList.component.d.ts +1 -2
  54. package/dist/client/pc/usage/block/FeatureModal.view.d.ts +1 -2
  55. package/dist/client/pc/usage/block/InitiateApplication.component.d.ts +1 -2
  56. package/dist/client/pc/usage/block/carbon-copy/CarbonCopyBlock.provider.d.ts +1 -2
  57. package/dist/client/pc/usage/block/carbon-copy/CarbonCopyCenter.schema.d.ts +1 -2
  58. package/dist/client/pc/usage/block/common/FlowContext.provider.d.ts +1 -2
  59. package/dist/client/pc/usage/block/common/FuzzySearch.component.d.ts +1 -2
  60. package/dist/client/pc/usage/block/common/SchemaComponent.provider.d.ts +1 -2
  61. package/dist/client/pc/usage/block/initiations/CheckContent.component.d.ts +1 -2
  62. package/dist/client/pc/usage/block/initiations/CheckContent.provider.d.ts +1 -2
  63. package/dist/client/pc/usage/block/initiations/CheckContent.view.d.ts +1 -2
  64. package/dist/client/pc/usage/block/initiations/CheckLink.view.d.ts +1 -2
  65. package/dist/client/pc/usage/block/initiations/TableInitiated.d.ts +1 -2
  66. package/dist/client/pc/usage/block/initiations/apply-button/ActionStatus.provider.d.ts +1 -2
  67. package/dist/client/pc/usage/block/initiations/apply-button/ApplyButton.component.d.ts +1 -2
  68. package/dist/client/pc/usage/block/initiations/apply-button/ApplyButton.provider.d.ts +1 -2
  69. package/dist/client/pc/usage/block/initiations/apply-button/ApplyButton.view.d.ts +1 -2
  70. package/dist/client/pc/usage/block/initiations/providers/ApplyActionStatus.provider.d.ts +1 -2
  71. package/dist/client/pc/usage/block/initiations/providers/Record.provider.d.ts +1 -2
  72. package/dist/client/pc/usage/block/todos/CheckContent.component.d.ts +1 -2
  73. package/dist/client/pc/usage/block/todos/CheckContent.provider.d.ts +1 -2
  74. package/dist/client/pc/usage/block/todos/CheckContent.view.d.ts +1 -2
  75. package/dist/client/pc/usage/block/todos/CheckLink.view.d.ts +1 -2
  76. package/dist/client/pc/usage/block/todos/TableTodos.d.ts +1 -2
  77. package/dist/client/pc/usage/block/todos/providers/ActionBar.provider.d.ts +1 -2
  78. package/dist/client/pc/usage/block/todos/providers/ApprovalAction.provider.d.ts +1 -2
  79. package/dist/client/pc/usage/block/todos/providers/ApprovalFormBlock.provider.d.ts +1 -2
  80. package/dist/client/pc/usage/common/ApprovalData.provider.d.ts +1 -1
  81. package/dist/client/pc/usage/common/ApprovalProcess.view.d.ts +1 -2
  82. package/dist/client/pc/usage/common/Resubmit.provider.d.ts +1 -2
  83. package/dist/client/pc/usage/common/approval-columns/approvalStatus.column.d.ts +1 -1
  84. package/dist/client/pc/usage/common/approval-columns/lastNode.column.d.ts +1 -2
  85. package/dist/client/pc/usage/common/approval-columns/status.column.d.ts +1 -1
  86. package/dist/client/pc/usage/common/approval-columns/summary.column.d.ts +1 -2
  87. package/dist/client/pc/usage/common/notice-columns/column.action.d.ts +1 -2
  88. package/dist/client/pc/usage/common/notice-columns/column.status.d.ts +1 -1
  89. package/dist/client/pc/usage/common/notice-show-detail/NoticeDetail.provider.d.ts +1 -2
  90. package/dist/client/pc/usage/common/notice-show-detail/NoticeDetail.schema.d.ts +1 -2
  91. package/dist/client/pc/usage/common/process-columns/renderDetail.d.ts +1 -2
  92. package/dist/client/pc/usage/common/process-columns/renderStatus.d.ts +1 -2
  93. package/dist/client/pc/usage/common/process-columns/renderTaskNode.d.ts +1 -2
  94. package/dist/client/pc/usage/record-block/RecordApprovals.decorator.d.ts +1 -2
  95. package/dist/client/pc/usage/record-block/RecordApprovals.initializer.d.ts +1 -2
  96. package/dist/client/pc/usage/record-block/RecordApprovals.view.d.ts +1 -2
  97. package/dist/externalVersion.js +10 -10
  98. package/package.json +11 -11
@@ -1,5 +1,4 @@
1
- import React from 'react';
2
- export declare const ApprovalBlockInitializer: () => React.JSX.Element;
1
+ export declare const ApprovalBlockInitializer: () => import("react/jsx-runtime").JSX.Element;
3
2
  export declare const ApprovalInitializerItem: {
4
3
  type: string;
5
4
  name: string;
@@ -112,7 +112,7 @@ export declare const todoCollection: {
112
112
  value: import("@tachybase/module-workflow/client").JOB_STATUS;
113
113
  label: string;
114
114
  color: string;
115
- icon: React.JSX.Element;
115
+ icon: import("react/jsx-runtime").JSX.Element;
116
116
  }[];
117
117
  'x-component-props'?: undefined;
118
118
  };
@@ -1,2 +1 @@
1
- import React from 'react';
2
- export declare const ApprovalProcess: (props: any) => React.JSX.Element;
1
+ export declare const ApprovalProcess: (props: any) => import("react/jsx-runtime").JSX.Element;
@@ -148,7 +148,7 @@ export declare const ExecutionStatusOptions: {
148
148
  value: any;
149
149
  label: string;
150
150
  color: string;
151
- icon: React.JSX.Element;
151
+ icon: import("react/jsx-runtime").JSX.Element;
152
152
  description: string;
153
153
  }[];
154
154
  export declare const ApprovalNoticeStatusOptions: {
@@ -1,2 +1 @@
1
- import React from 'react';
2
- export declare const FormBlockProvider: (props: any) => React.JSX.Element;
1
+ export declare const FormBlockProvider: (props: any) => import("react/jsx-runtime").JSX.Element;
@@ -1,5 +1,4 @@
1
- import React from 'react';
2
1
  export declare function SchemaComponentContextProvider({ designable, children }: {
3
2
  designable: any;
4
3
  children: any;
5
- }): React.JSX.Element;
4
+ }): import("react/jsx-runtime").JSX.Element;
@@ -1,10 +1,9 @@
1
- import React from 'react';
2
1
  import '../../style/style.css';
3
- export declare const ViewActionInitiationsContent: () => React.JSX.Element;
2
+ export declare const ViewActionInitiationsContent: () => import("react/jsx-runtime").JSX.Element;
4
3
  export declare function WithdrawActionProvider(): any;
5
4
  export declare function useWithdrawAction(): {
6
5
  run(): void;
7
6
  };
8
7
  export declare function ActionBarProvider(props: any): any;
9
8
  export declare function useContextApprovalStatus(): number;
10
- export declare function ContextInitiationsApprovalStatusProvider(props: any): React.JSX.Element;
9
+ export declare function ContextInitiationsApprovalStatusProvider(props: any): import("react/jsx-runtime").JSX.Element;
@@ -1,3 +1,2 @@
1
- import React from 'react';
2
1
  import '../../style/style.css';
3
- export declare const ViewActionUserInitiationsContent: () => React.JSX.Element;
2
+ export declare const ViewActionUserInitiationsContent: () => import("react/jsx-runtime").JSX.Element;
@@ -1,2 +1 @@
1
- import React from 'react';
2
- export declare const LauncherActionConfigComponent: () => React.JSX.Element;
1
+ export declare const LauncherActionConfigComponent: () => import("react/jsx-runtime").JSX.Element;
@@ -1,3 +1,2 @@
1
- import React from 'react';
2
1
  export declare function useContextApprovalStatus(): number;
3
- export declare function ApplyActionStatusProvider(props: any): React.JSX.Element;
2
+ export declare function ApplyActionStatusProvider(props: any): import("react/jsx-runtime").JSX.Element;
@@ -1,10 +1,9 @@
1
- import React from 'react';
2
1
  interface ResubmitProps {
3
2
  isResubmit?: boolean;
4
3
  setResubmit?: any;
5
4
  }
6
5
  export declare const ResubmitProvider: ({ children }: {
7
6
  children: any;
8
- }) => React.JSX.Element;
7
+ }) => import("react/jsx-runtime").JSX.Element;
9
8
  export declare const useResubmit: () => ResubmitProps;
10
9
  export {};
@@ -1,2 +1 @@
1
- import React from 'react';
2
- export declare const ViewTodosDetailsContent: () => React.JSX.Element;
1
+ export declare const ViewTodosDetailsContent: () => import("react/jsx-runtime").JSX.Element;
@@ -1,3 +1,2 @@
1
- import React from 'react';
2
- export declare function ActionBarProvider(props: any): React.JSX.Element;
1
+ export declare function ActionBarProvider(props: any): import("react/jsx-runtime").JSX.Element;
3
2
  export declare function ActionBarUserJobsProvider(props: any): any;
@@ -1,3 +1,2 @@
1
- import React from 'react';
2
1
  export declare function useContextApprovalStatus(): number;
3
- export declare function ApplyActionStatusProvider(props: any): React.JSX.Element;
2
+ export declare function ApplyActionStatusProvider(props: any): import("react/jsx-runtime").JSX.Element;
@@ -1,4 +1,3 @@
1
- import React from 'react';
2
1
  export interface ApprovalAction {
3
2
  status: number | null;
4
3
  }
@@ -6,4 +5,4 @@ export declare function useContextApprovalAction(): Partial<ApprovalAction>;
6
5
  export declare function ApprovalActionProvider({ children, ...props }: {
7
6
  [x: string]: any;
8
7
  children: any;
9
- }): React.JSX.Element;
8
+ }): import("react/jsx-runtime").JSX.Element;
@@ -1,2 +1 @@
1
- import React from 'react';
2
- export declare function ApprovalFormBlockDecorator(props: any): React.JSX.Element;
1
+ export declare function ApprovalFormBlockDecorator(props: any): import("react/jsx-runtime").JSX.Element;
@@ -1,2 +1 @@
1
- import React from 'react';
2
- export declare function FormBlockProvider(props: any): React.JSX.Element;
1
+ export declare function FormBlockProvider(props: any): import("react/jsx-runtime").JSX.Element;
@@ -3,4 +3,4 @@ export declare const ManualActionStatusContext: React.Context<number>;
3
3
  export declare function ManualActionStatusProvider({ value, children }: {
4
4
  value: any;
5
5
  children: any;
6
- }): React.JSX.Element;
6
+ }): import("react/jsx-runtime").JSX.Element;
@@ -1,2 +1 @@
1
- import React from 'react';
2
- export declare const FormBlockProvider: (props: any) => React.JSX.Element;
1
+ export declare const FormBlockProvider: (props: any) => import("react/jsx-runtime").JSX.Element;
@@ -2,7 +2,7 @@ export declare const systemSettingName = "system-approval";
2
2
  export declare const settingApproval: {
3
3
  title: string;
4
4
  icon: string;
5
- Component: () => import("react").JSX.Element;
5
+ Component: () => import("react/jsx-runtime").JSX.Element;
6
6
  aclSnippet: string;
7
7
  sort: number;
8
8
  };
@@ -1,2 +1 @@
1
- import React from 'react';
2
- export declare const ApprovalPane: () => React.JSX.Element;
1
+ export declare const ApprovalPane: () => import("react/jsx-runtime").JSX.Element;
@@ -26,7 +26,7 @@ export declare class ApprovalInstruction extends Instruction {
26
26
  };
27
27
  enum: {
28
28
  value: boolean;
29
- label: React.JSX.Element;
29
+ label: import("react/jsx-runtime").JSX.Element;
30
30
  }[];
31
31
  default: boolean;
32
32
  };
@@ -126,23 +126,23 @@ export declare class ApprovalInstruction extends Instruction {
126
126
  };
127
127
  Component: ({ data }: {
128
128
  data: any;
129
- }) => React.JSX.Element;
129
+ }) => import("react/jsx-runtime").JSX.Element;
130
130
  components: {
131
131
  ArrayItems: import("packages/schema/lib").ReactFC<React.HTMLAttributes<HTMLDivElement>> & import("@tachybase/components").ArrayBaseMixins & {
132
132
  Item: import("packages/schema/lib").ReactFC<React.HTMLAttributes<HTMLDivElement> & {
133
133
  type?: "card" | "divide";
134
134
  }>;
135
135
  };
136
- SchemaConfigButtonApprover: (props: any) => React.JSX.Element;
137
- SchemaConfig: () => React.JSX.Element;
138
- AssigneesSelect: (props: any) => React.JSX.Element;
136
+ SchemaConfigButtonApprover: (props: any) => import("react/jsx-runtime").JSX.Element;
137
+ SchemaConfig: () => import("react/jsx-runtime").JSX.Element;
138
+ AssigneesSelect: (props: any) => import("react/jsx-runtime").JSX.Element;
139
139
  NegotiationConfig: ({ value, onChange }: {
140
140
  value: any;
141
141
  onChange: any;
142
- }) => React.JSX.Element;
142
+ }) => import("react/jsx-runtime").JSX.Element;
143
143
  RadioWithTooltip: typeof RadioWithTooltip;
144
- AssigneesAddition: () => React.JSX.Element;
145
- ViewSkipApproval: () => React.JSX.Element;
144
+ AssigneesAddition: () => import("react/jsx-runtime").JSX.Element;
145
+ ViewSkipApproval: () => import("react/jsx-runtime").JSX.Element;
146
146
  };
147
147
  isAvailable({ workflow, upstream, branchIndex }: {
148
148
  workflow: any;
@@ -1,4 +1,3 @@
1
- import React from 'react';
2
1
  export declare const ApprovalInstructionNode: ({ data }: {
3
2
  data: any;
4
- }) => React.JSX.Element;
3
+ }) => import("react/jsx-runtime").JSX.Element;
@@ -1,2 +1 @@
1
- import { default as React } from 'react';
2
- export declare const ViewSkipApproval: () => React.JSX.Element;
1
+ export declare const ViewSkipApproval: () => import("react/jsx-runtime").JSX.Element;
@@ -1,2 +1 @@
1
- import React from 'react';
2
- export declare const AssigneesAddition: () => React.JSX.Element;
1
+ export declare const AssigneesAddition: () => import("react/jsx-runtime").JSX.Element;
@@ -1,2 +1 @@
1
- import { default as React } from 'react';
2
- export declare const AssigneesSelect: (props: any) => React.JSX.Element;
1
+ export declare const AssigneesSelect: (props: any) => import("react/jsx-runtime").JSX.Element;
@@ -1,5 +1,4 @@
1
- import React from 'react';
2
1
  export declare const ContentTooltip: ({ content, tooltip }: {
3
2
  content: any;
4
3
  tooltip: any;
5
- }) => React.JSX.Element;
4
+ }) => import("react/jsx-runtime").JSX.Element;
@@ -1,5 +1,4 @@
1
- import React from 'react';
2
1
  export declare const NegotiationConfig: ({ value, onChange }: {
3
2
  value: any;
4
3
  onChange: any;
5
- }) => React.JSX.Element;
4
+ }) => import("react/jsx-runtime").JSX.Element;
@@ -1,2 +1 @@
1
- import React from 'react';
2
- export declare const SchemaConfigButtonApprover: (props: any) => React.JSX.Element;
1
+ export declare const SchemaConfigButtonApprover: (props: any) => import("react/jsx-runtime").JSX.Element;
@@ -1,5 +1,4 @@
1
- import { default as React } from 'react';
2
1
  export declare const ApproverBlock: ({ value: srcID, onChange }: {
3
2
  value: any;
4
3
  onChange: any;
5
- }) => React.JSX.Element;
4
+ }) => import("react/jsx-runtime").JSX.Element;
@@ -1,2 +1 @@
1
- import React from 'react';
2
- export declare const ApproverInterfaceComponent: () => React.JSX.Element;
1
+ export declare const ApproverInterfaceComponent: () => import("react/jsx-runtime").JSX.Element;
@@ -1,2 +1 @@
1
- import React from 'react';
2
- export declare const ApprovalActionConfigComponent: () => React.JSX.Element;
1
+ export declare const ApprovalActionConfigComponent: () => import("react/jsx-runtime").JSX.Element;
@@ -1,2 +1 @@
1
- import React from 'react';
2
- export declare const ApprovalFormBlockProvider: (props: any) => React.JSX.Element;
1
+ export declare const ApprovalFormBlockProvider: (props: any) => import("react/jsx-runtime").JSX.Element;
@@ -1,2 +1 @@
1
- import React from 'react';
2
- export declare const ApproverAddBlockComponent: () => React.JSX.Element;
1
+ export declare const ApproverAddBlockComponent: () => import("react/jsx-runtime").JSX.Element;
@@ -1,2 +1 @@
1
- import React from 'react';
2
- export declare const ApproverAddBlockKit: () => React.JSX.Element;
1
+ export declare const ApproverAddBlockKit: () => import("react/jsx-runtime").JSX.Element;
@@ -1,6 +1,5 @@
1
- import React from 'react';
2
1
  import { Plugin } from '@tachybase/client';
3
2
  export declare class KitApprovalAddActionButton extends Plugin {
4
3
  load(): Promise<void>;
5
4
  }
6
- export declare const FormBlockFactory: () => React.JSX.Element;
5
+ export declare const FormBlockFactory: () => import("react/jsx-runtime").JSX.Element;
@@ -12,10 +12,10 @@ export declare class ApprovalCarbonCopyInstruction extends Instruction {
12
12
  type?: "card" | "divide";
13
13
  }>;
14
14
  };
15
- SelectNotifiedPerson: (props: any) => import("react").JSX.Element;
16
- AdditionNotifiedPerson: () => import("react").JSX.Element;
17
- ConfigButtonNotice: (props: any) => import("react").JSX.Element;
18
- CarbonCopyDetail: () => import("react").JSX.Element;
15
+ SelectNotifiedPerson: (props: any) => import("react/jsx-runtime").JSX.Element;
16
+ AdditionNotifiedPerson: () => import("react/jsx-runtime").JSX.Element;
17
+ ConfigButtonNotice: (props: any) => import("react/jsx-runtime").JSX.Element;
18
+ CarbonCopyDetail: () => import("react/jsx-runtime").JSX.Element;
19
19
  };
20
20
  fieldset: {
21
21
  carbonCopyPerson: {
@@ -1,2 +1 @@
1
- import React from 'react';
2
- export declare const AdditionNotifiedPerson: () => React.JSX.Element;
1
+ export declare const AdditionNotifiedPerson: () => import("react/jsx-runtime").JSX.Element;
@@ -1,2 +1 @@
1
- import React from 'react';
2
- export declare const ConfigButtonNotice: (props: any) => React.JSX.Element;
1
+ export declare const ConfigButtonNotice: (props: any) => import("react/jsx-runtime").JSX.Element;
@@ -1,2 +1 @@
1
- import React from 'react';
2
- export declare const SelectNotifiedPerson: (props: any) => React.JSX.Element;
1
+ export declare const SelectNotifiedPerson: (props: any) => import("react/jsx-runtime").JSX.Element;
@@ -1,2 +1 @@
1
- import React from 'react';
2
- export declare const CarbonCopyDetailAddBlock: () => React.JSX.Element;
1
+ export declare const CarbonCopyDetailAddBlock: () => import("react/jsx-runtime").JSX.Element;
@@ -1,6 +1,5 @@
1
- import React from 'react';
2
1
  import { Plugin } from '@tachybase/client';
3
2
  export declare class SCCarbonCopyDetail extends Plugin {
4
3
  load(): Promise<void>;
5
4
  }
6
- export declare const CarbonCopyDetail: (props: any) => React.JSX.Element;
5
+ export declare const CarbonCopyDetail: (props: any) => import("react/jsx-runtime").JSX.Element;
@@ -1,2 +1 @@
1
- import React from 'react';
2
- export declare const CarbonCopyDetailContainer: () => React.JSX.Element;
1
+ export declare const CarbonCopyDetailContainer: () => import("react/jsx-runtime").JSX.Element;
@@ -8,8 +8,8 @@ export declare class ApprovalTrigger extends Trigger {
8
8
  useWorkflowAnyExecuted: typeof useWorkflowAnyExecuted;
9
9
  };
10
10
  components: {
11
- ConfigButtonView: (props: any) => import("react").JSX.Element;
12
- LauncherInterface: () => import("react").JSX.Element;
11
+ ConfigButtonView: (props: any) => import("react/jsx-runtime").JSX.Element;
12
+ LauncherInterface: () => import("react/jsx-runtime").JSX.Element;
13
13
  RadioWithTooltip: typeof RadioWithTooltip;
14
14
  };
15
15
  fieldset: {
@@ -1,2 +1 @@
1
- import React from 'react';
2
- export declare const ConfigButtonView: (props: any) => React.JSX.Element;
1
+ export declare const ConfigButtonView: (props: any) => import("react/jsx-runtime").JSX.Element;
@@ -1,4 +1,3 @@
1
- import React from 'react';
2
- export declare const LauncherActionConfigComponent: () => React.JSX.Element;
3
- export declare const LauncherActionConfigReSubmit: () => React.JSX.Element;
4
- export declare const LauncherActionConfigReminder: () => React.JSX.Element;
1
+ export declare const LauncherActionConfigComponent: () => import("react/jsx-runtime").JSX.Element;
2
+ export declare const LauncherActionConfigReSubmit: () => import("react/jsx-runtime").JSX.Element;
3
+ export declare const LauncherActionConfigReminder: () => import("react/jsx-runtime").JSX.Element;
@@ -1,2 +1 @@
1
- import React from 'react';
2
- export declare const LauncherAddBlockButtonComponent: () => React.JSX.Element;
1
+ export declare const LauncherAddBlockButtonComponent: () => import("react/jsx-runtime").JSX.Element;
@@ -1,2 +1 @@
1
- import React from 'react';
2
- export declare const LauncherInterface: () => React.JSX.Element;
1
+ export declare const LauncherInterface: () => import("react/jsx-runtime").JSX.Element;
@@ -1,5 +1,4 @@
1
- import React from 'react';
2
1
  export declare const SchemaAddBlock: ({ value, onChange }: {
3
2
  value: any;
4
3
  onChange: any;
5
- }) => React.JSX.Element;
4
+ }) => import("react/jsx-runtime").JSX.Element;
@@ -1,5 +1,4 @@
1
- import React from 'react';
2
1
  export declare const ProviderBlockInitItem: ({ children, ...props }: {
3
2
  [x: string]: any;
4
3
  children: any;
5
- }) => React.JSX.Element;
4
+ }) => import("react/jsx-runtime").JSX.Element;
@@ -1,2 +1 @@
1
- import React from 'react';
2
- export declare const ViewBlockInitItem: () => React.JSX.Element;
1
+ export declare const ViewBlockInitItem: () => import("react/jsx-runtime").JSX.Element;
@@ -1,2 +1 @@
1
- import React from 'react';
2
- export declare const FeatureCard: (props: any) => React.JSX.Element;
1
+ export declare const FeatureCard: (props: any) => import("react/jsx-runtime").JSX.Element;
@@ -1,2 +1 @@
1
- import React from 'react';
2
- export declare const FeatureList: () => React.JSX.Element;
1
+ export declare const FeatureList: () => import("react/jsx-runtime").JSX.Element;
@@ -1,2 +1 @@
1
- import React from 'react';
2
- export declare const ViewFeatureModal: (props: any) => React.JSX.Element;
1
+ export declare const ViewFeatureModal: (props: any) => import("react/jsx-runtime").JSX.Element;
@@ -1,6 +1,5 @@
1
- import React from 'react';
2
1
  /**
3
2
  * DOC:
4
3
  * 区块初始化组件: 审批: 发起申请
5
4
  */
6
- export declare const InitiateApplication: () => React.JSX.Element;
5
+ export declare const InitiateApplication: () => import("react/jsx-runtime").JSX.Element;
@@ -1,5 +1,4 @@
1
- import React from 'react';
2
1
  export declare const CarbonCopyBlockProvider: ({ children, ...props }: {
3
2
  [x: string]: any;
4
3
  children: any;
5
- }) => React.JSX.Element;
4
+ }) => import("react/jsx-runtime").JSX.Element;
@@ -1,2 +1 @@
1
- import React from 'react';
2
- export declare const CarbonCopyCenter: () => React.JSX.Element;
1
+ export declare const CarbonCopyCenter: () => import("react/jsx-runtime").JSX.Element;
@@ -1,6 +1,5 @@
1
- import React from 'react';
2
1
  export declare function FlowContextProvider({ workflow, children, value }: {
3
2
  workflow?: any;
4
3
  children: any;
5
4
  value: any;
6
- }): React.JSX.Element;
5
+ }): import("react/jsx-runtime").JSX.Element;
@@ -1,2 +1 @@
1
- import React from 'react';
2
- export declare const FuzzySearch: (props: any) => React.JSX.Element;
1
+ export declare const FuzzySearch: (props: any) => import("react/jsx-runtime").JSX.Element;
@@ -1,5 +1,4 @@
1
- import React from 'react';
2
1
  export declare function SchemaComponentContextProvider({ designable, children }: {
3
2
  designable: any;
4
3
  children: any;
5
- }): React.JSX.Element;
4
+ }): import("react/jsx-runtime").JSX.Element;
@@ -1,2 +1 @@
1
- import React from 'react';
2
- export declare const CheckContent: () => React.JSX.Element;
1
+ export declare const CheckContent: () => import("react/jsx-runtime").JSX.Element;
@@ -1,2 +1 @@
1
- import React from 'react';
2
- export declare const ProviderCheckContent: (props: any) => React.JSX.Element;
1
+ export declare const ProviderCheckContent: (props: any) => import("react/jsx-runtime").JSX.Element;
@@ -1,2 +1 @@
1
- import React from 'react';
2
- export declare const ViewCheckContent: (props: any) => React.JSX.Element;
1
+ export declare const ViewCheckContent: (props: any) => import("react/jsx-runtime").JSX.Element;
@@ -1,2 +1 @@
1
- import React from 'react';
2
- export declare const ViewCheckLink: (props: any) => React.JSX.Element;
1
+ export declare const ViewCheckLink: (props: any) => import("react/jsx-runtime").JSX.Element;
@@ -1,6 +1,5 @@
1
- import React from 'react';
2
1
  /**
3
2
  * DOC:
4
3
  * 区块初始化组件: 审批: 我的发起
5
4
  */
6
- export declare const ViewTableInitiated: () => React.JSX.Element;
5
+ export declare const ViewTableInitiated: () => import("react/jsx-runtime").JSX.Element;
@@ -1,3 +1,2 @@
1
- import React from 'react';
2
1
  export declare function useContextApprovalStatus(): number;
3
- export declare function ApplyActionStatusProvider(props: any): React.JSX.Element;
2
+ export declare function ApplyActionStatusProvider(props: any): import("react/jsx-runtime").JSX.Element;
@@ -1,2 +1 @@
1
- import React from 'react';
2
- export declare const ApplyButton: () => React.JSX.Element;
1
+ export declare const ApplyButton: () => import("react/jsx-runtime").JSX.Element;
@@ -1,2 +1 @@
1
- import React from 'react';
2
- export declare const ProviderApplyButton: (props: any) => React.JSX.Element;
1
+ export declare const ProviderApplyButton: (props: any) => import("react/jsx-runtime").JSX.Element;
@@ -1,2 +1 @@
1
- import React from 'react';
2
- export declare const ViewApplyButton: (props: any) => React.JSX.Element;
1
+ export declare const ViewApplyButton: (props: any) => import("react/jsx-runtime").JSX.Element;
@@ -1,2 +1 @@
1
- import React from 'react';
2
- export declare const ProviderApplyActionStatus: (props: any) => React.JSX.Element;
1
+ export declare const ProviderApplyActionStatus: (props: any) => import("react/jsx-runtime").JSX.Element;
@@ -1,2 +1 @@
1
- import React from 'react';
2
- export declare const ProviderRecord: (props: any) => React.JSX.Element;
1
+ export declare const ProviderRecord: (props: any) => import("react/jsx-runtime").JSX.Element;
@@ -1,2 +1 @@
1
- import React from 'react';
2
- export declare const CheckContent: () => React.JSX.Element;
1
+ export declare const CheckContent: () => import("react/jsx-runtime").JSX.Element;
@@ -1,2 +1 @@
1
- import React from 'react';
2
- export declare const ProviderCheckContent: (props: any) => React.JSX.Element;
1
+ export declare const ProviderCheckContent: (props: any) => import("react/jsx-runtime").JSX.Element;
@@ -1,2 +1 @@
1
- import React from 'react';
2
- export declare const ViewCheckContent: (props: any) => React.JSX.Element;
1
+ export declare const ViewCheckContent: (props: any) => import("react/jsx-runtime").JSX.Element;
@@ -1,2 +1 @@
1
- import React from 'react';
2
- export declare const ViewCheckLink: (props: any) => React.JSX.Element;
1
+ export declare const ViewCheckLink: (props: any) => import("react/jsx-runtime").JSX.Element;
@@ -1,6 +1,5 @@
1
- import React from 'react';
2
1
  /**
3
2
  * DOC:
4
3
  * 区块初始化组件: 审批: 我的待办
5
4
  */
6
- export declare const ViewTableTodos: () => React.JSX.Element;
5
+ export declare const ViewTableTodos: () => import("react/jsx-runtime").JSX.Element;
@@ -1,2 +1 @@
1
- import React from 'react';
2
- export declare const ActionBarProvider: (props: any) => React.JSX.Element;
1
+ export declare const ActionBarProvider: (props: any) => import("react/jsx-runtime").JSX.Element;
@@ -1,10 +1,9 @@
1
- import React from 'react';
2
1
  interface ApprovalAction {
3
2
  status: number | null;
4
3
  }
5
4
  export declare function ApprovalActionProvider({ children, ...props }: {
6
5
  [x: string]: any;
7
6
  children: any;
8
- }): React.JSX.Element;
7
+ }): import("react/jsx-runtime").JSX.Element;
9
8
  export declare function useContextApprovalAction(): Partial<ApprovalAction>;
10
9
  export {};
@@ -1,2 +1 @@
1
- import React from 'react';
2
- export declare const ApprovalFormBlockProvider: (props: any) => React.JSX.Element;
1
+ export declare const ApprovalFormBlockProvider: (props: any) => import("react/jsx-runtime").JSX.Element;
@@ -2,4 +2,4 @@ import React from 'react';
2
2
  import { Approval } from '../block/todos/providers/ApprovalExecutions.provider';
3
3
  export declare const ApprovalContext: React.Context<Partial<Approval>>;
4
4
  export declare function useApproval(): Partial<Approval>;
5
- export declare function ApprovalDataProvider(props: any): React.JSX.Element;
5
+ export declare function ApprovalDataProvider(props: any): import("react/jsx-runtime").JSX.Element;
@@ -1,2 +1 @@
1
- import React from 'react';
2
- export declare const ApprovalProcess: (props: any) => React.JSX.Element;
1
+ export declare const ApprovalProcess: (props: any) => import("react/jsx-runtime").JSX.Element;
@@ -1,10 +1,9 @@
1
- import React from 'react';
2
1
  interface ResubmitProps {
3
2
  isResubmit?: boolean;
4
3
  setResubmit?: any;
5
4
  }
6
5
  export declare const ResubmitProvider: ({ children }: {
7
6
  children: any;
8
- }) => React.JSX.Element;
7
+ }) => import("react/jsx-runtime").JSX.Element;
9
8
  export declare const useResubmit: () => ResubmitProps;
10
9
  export {};
@@ -1,3 +1,3 @@
1
1
  import React from 'react';
2
2
  export declare const ColumnApprovalStatus: React.MemoExoticComponent<import("@tachybase/schema").ReactFC<unknown>>;
3
- export declare const ColumnStatusComponent: (props: any) => React.JSX.Element;
3
+ export declare const ColumnStatusComponent: (props: any) => import("react/jsx-runtime").JSX.Element;
@@ -1,2 +1 @@
1
- import React from 'react';
2
- export declare const ApprovalLastNodeColumn: () => React.JSX.Element;
1
+ export declare const ApprovalLastNodeColumn: () => import("react/jsx-runtime").JSX.Element;
@@ -1,3 +1,3 @@
1
1
  import React from 'react';
2
2
  export declare const ApprovalRecordStatusColumn: React.MemoExoticComponent<import("@tachybase/schema").ReactFC<unknown>>;
3
- export declare const ColumnStatusComponent: (props: any) => React.JSX.Element;
3
+ export declare const ColumnStatusComponent: (props: any) => import("react/jsx-runtime").JSX.Element;
@@ -1,2 +1 @@
1
- import React from 'react';
2
- export declare const ApprovalsSummary: (props: any) => React.JSX.Element;
1
+ export declare const ApprovalsSummary: (props: any) => import("react/jsx-runtime").JSX.Element;
@@ -1,2 +1 @@
1
- import React from 'react';
2
- export declare const ColumnAction: () => React.JSX.Element;
1
+ export declare const ColumnAction: () => import("react/jsx-runtime").JSX.Element;
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  export declare const ColumnStatus: React.MemoExoticComponent<import("@tachybase/schema").ReactFC<unknown>>;
3
- export declare const ColumnStatusComponent: (props: any) => React.JSX.Element;
3
+ export declare const ColumnStatusComponent: (props: any) => import("react/jsx-runtime").JSX.Element;
4
4
  export declare const approvalStatusOptions: {
5
5
  value: any;
6
6
  label: string;
@@ -1,5 +1,4 @@
1
- import React from 'react';
2
1
  export declare const NoticeDetailProvider: ({ children, ...props }: {
3
2
  [x: string]: any;
4
3
  children: any;
5
- }) => React.JSX.Element;
4
+ }) => import("react/jsx-runtime").JSX.Element;
@@ -1,2 +1 @@
1
- import React from 'react';
2
- export declare const NoticeDetailContent: () => React.JSX.Element;
1
+ export declare const NoticeDetailContent: () => import("react/jsx-runtime").JSX.Element;
@@ -1,2 +1 @@
1
- import React from 'react';
2
- export declare function renderDetail(text: any, record: any, index: any): React.JSX.Element;
1
+ export declare function renderDetail(text: any, record: any, index: any): import("react/jsx-runtime").JSX.Element;
@@ -1,2 +1 @@
1
- import React from 'react';
2
- export declare function renderStatus(value: any, record: any, index: any): React.JSX.Element;
1
+ export declare function renderStatus(value: any, record: any, index: any): import("react/jsx-runtime").JSX.Element;
@@ -1,2 +1 @@
1
- import React from 'react';
2
- export declare function renderTaskNode(text: any, record: any, index: any): React.JSX.Element;
1
+ export declare function renderTaskNode(text: any, record: any, index: any): import("react/jsx-runtime").JSX.Element;
@@ -1,5 +1,4 @@
1
- import React from 'react';
2
1
  export declare function RecordApprovalsDecorator({ params, children }: {
3
2
  params: any;
4
3
  children: any;
5
- }): React.JSX.Element;
4
+ }): import("react/jsx-runtime").JSX.Element;
@@ -1,2 +1 @@
1
- import React from 'react';
2
- export declare function RecordApprovalsInitializer(): React.JSX.Element;
1
+ export declare function RecordApprovalsInitializer(): import("react/jsx-runtime").JSX.Element;
@@ -1,2 +1 @@
1
- import React from 'react';
2
- export declare const RecordApprovals: () => React.JSX.Element;
1
+ export declare const RecordApprovals: () => import("react/jsx-runtime").JSX.Element;
@@ -1,19 +1,19 @@
1
1
  module.exports = {
2
- "@tachybase/client": "0.23.17",
3
- "@tachybase/module-workflow": "0.23.17",
4
- "@tachybase/server": "0.23.17",
2
+ "@tachybase/client": "0.23.20",
3
+ "@tachybase/module-workflow": "0.23.20",
4
+ "@tachybase/server": "0.23.20",
5
5
  "lodash": "4.17.21",
6
6
  "react": "18.3.1",
7
- "@tachybase/schema": "0.23.17",
7
+ "@tachybase/schema": "0.23.20",
8
8
  "@ant-design/icons": "5.3.7",
9
- "@tachybase/actions": "0.23.17",
10
- "@tachybase/database": "0.23.17",
11
- "@tachybase/data-source": "0.23.17",
12
- "@tachybase/module-ui-schema": "0.23.17",
13
- "@tachybase/utils": "0.23.17",
9
+ "@tachybase/actions": "0.23.20",
10
+ "@tachybase/database": "0.23.20",
11
+ "@tachybase/data-source": "0.23.20",
12
+ "@tachybase/module-ui-schema": "0.23.20",
13
+ "@tachybase/utils": "0.23.20",
14
14
  "sequelize": "6.37.5",
15
15
  "antd": "5.22.5",
16
16
  "ahooks": "3.8.4",
17
17
  "react-router-dom": "6.28.1",
18
- "@tachybase/components": "0.23.17"
18
+ "@tachybase/components": "0.23.20"
19
19
  };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@tachybase/plugin-workflow-approval",
3
3
  "displayName": "Approval",
4
- "version": "0.23.17",
4
+ "version": "0.23.20",
5
5
  "description": "Approval base in Workflow",
6
6
  "keywords": [
7
7
  "Approval",
@@ -25,16 +25,16 @@
25
25
  "sequelize": "^6.37.5"
26
26
  },
27
27
  "peerDependencies": {
28
- "@tachybase/client": "0.23.17",
29
- "@tachybase/actions": "0.23.17",
30
- "@tachybase/components": "0.23.17",
31
- "@tachybase/database": "0.23.17",
32
- "@tachybase/data-source": "0.23.17",
33
- "@tachybase/schema": "0.23.17",
34
- "@tachybase/module-workflow": "0.23.17",
35
- "@tachybase/server": "0.23.17",
36
- "@tachybase/test": "0.23.17",
37
- "@tachybase/utils": "0.23.17"
28
+ "@tachybase/client": "0.23.20",
29
+ "@tachybase/actions": "0.23.20",
30
+ "@tachybase/components": "0.23.20",
31
+ "@tachybase/data-source": "0.23.20",
32
+ "@tachybase/database": "0.23.20",
33
+ "@tachybase/schema": "0.23.20",
34
+ "@tachybase/module-workflow": "0.23.20",
35
+ "@tachybase/server": "0.23.20",
36
+ "@tachybase/test": "0.23.20",
37
+ "@tachybase/utils": "0.23.20"
38
38
  },
39
39
  "description.zh-CN": "审批系统是一个强大的BPM工具,为业务流程自动化提供基础支持,同时具备高度灵活性和可扩展性,确保审批流程的效率和合规性,助力企业释放创新潜力。",
40
40
  "displayName.zh-CN": "审批",