lyflowchart 1.0.113 → 1.0.130

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 (198) hide show
  1. package/dist/ActionsConfig-BuvSvRbv.js +395 -0
  2. package/dist/ActionsConfig-BuvSvRbv.js.map +1 -0
  3. package/dist/ApprovalEditorModal-DZfXupU3.js +48 -0
  4. package/dist/ApprovalEditorModal-DZfXupU3.js.map +1 -0
  5. package/dist/CancelModal-BUi3ieI8.js +61 -0
  6. package/dist/CancelModal-BUi3ieI8.js.map +1 -0
  7. package/dist/Cell_click_approve-CBh0j--6.js +244 -0
  8. package/dist/Cell_click_approve-CBh0j--6.js.map +1 -0
  9. package/dist/JsonTags-BbWLqghI.js +66 -0
  10. package/dist/JsonTags-BbWLqghI.js.map +1 -0
  11. package/dist/MyProcess-FWGEwQcv.js +26434 -0
  12. package/dist/MyProcess-FWGEwQcv.js.map +1 -0
  13. package/dist/MyProcess.vue.d.ts +991 -0
  14. package/dist/approval-BW2WjPxY.js +167 -0
  15. package/dist/approval-BW2WjPxY.js.map +1 -0
  16. package/dist/approval-CuUNtG9u.js +18 -0
  17. package/dist/approval-CuUNtG9u.js.map +1 -0
  18. package/dist/approvalHistory-B2gpQbFC.js +868 -0
  19. package/dist/approvalHistory-B2gpQbFC.js.map +1 -0
  20. package/dist/approvalHistoryViewModal-DgLpv2ot.js +114 -0
  21. package/dist/approvalHistoryViewModal-DgLpv2ot.js.map +1 -0
  22. package/dist/approvalPageConfig-D0zPXOUf.js +2437 -0
  23. package/dist/approvalPageConfig-D0zPXOUf.js.map +1 -0
  24. package/dist/approveLeftConfig-BOU_UgHp.js +136 -0
  25. package/dist/approveLeftConfig-BOU_UgHp.js.map +1 -0
  26. package/dist/codeHistoryViewModal-BfSjIbEU.js +103 -0
  27. package/dist/codeHistoryViewModal-BfSjIbEU.js.map +1 -0
  28. package/dist/columnTables-DLwtgcC7.js +1272 -0
  29. package/dist/columnTables-DLwtgcC7.js.map +1 -0
  30. package/dist/components/Cell_click_approve.vue.d.ts +5 -0
  31. package/dist/components/Cell_click_data_source.vue.d.ts +6 -0
  32. package/dist/components/Process/common/bpmnUtils.d.ts +8 -0
  33. package/dist/components/Process/common/global.d.ts +16 -0
  34. package/dist/components/Process/common/index.d.ts +5 -0
  35. package/dist/components/Process/component/JsonTags2.vue.d.ts +60 -0
  36. package/dist/components/Process/component/ValueInput2.vue.d.ts +74 -0
  37. package/dist/components/Process/component/columnNameField2.vue.d.ts +51 -0
  38. package/dist/components/Process/component/data.d.ts +157 -0
  39. package/dist/components/Process/customPanel/CustomContextPad.d.ts +31 -0
  40. package/dist/components/Process/customPanel/CustomPalette.d.ts +89 -0
  41. package/dist/components/Process/customPanel/customTranslate.d.ts +1 -0
  42. package/dist/components/Process/customPanel/index.d.ts +8 -0
  43. package/dist/components/Process/designer.vue.d.ts +589 -0
  44. package/dist/components/Process/flowable/init.d.ts +1 -0
  45. package/dist/components/Process/index.vue.d.ts +812 -0
  46. package/dist/components/Process/lang/zh.d.ts +249 -0
  47. package/dist/components/Process/panel/ButtonsPanel.vue.d.ts +24 -0
  48. package/dist/components/Process/panel/PropertiesPanel.vue.d.ts +24 -0
  49. package/dist/components/Process/panel/commonPanel.vue.d.ts +40 -0
  50. package/dist/components/Process/panel/conditionPanel.vue.d.ts +271 -0
  51. package/dist/components/Process/panel/executionListener.vue.d.ts +66 -0
  52. package/dist/components/Process/panel/formPanel.vue.d.ts +7 -0
  53. package/dist/components/Process/panel/multiInstance.vue.d.ts +33 -0
  54. package/dist/components/Process/panel/otherPanel.vue.d.ts +17 -0
  55. package/dist/components/Process/panel/taskListener.vue.d.ts +64 -0
  56. package/dist/components/Process/panel/taskPanel.vue.d.ts +254 -0
  57. package/dist/components/Process/viewer/index.vue.d.ts +41 -0
  58. package/dist/components/approval/ApprovalEditorModal.vue.d.ts +26 -0
  59. package/dist/components/approval/CostCompanySelect.vue.d.ts +29 -0
  60. package/dist/components/approval/CostDepartmentSelect.vue.d.ts +35 -0
  61. package/dist/components/approval/CreateByCascader.vue.d.ts +27 -0
  62. package/dist/components/approval/CreateBySelect.vue.d.ts +35 -0
  63. package/dist/components/approval/PostionCascader.vue.d.ts +26 -0
  64. package/dist/components/approval/SystemTime.vue.d.ts +38 -0
  65. package/dist/components/approval/approvalViewId.d.ts +36 -0
  66. package/dist/components/approval/components/CancelModal.vue.d.ts +25 -0
  67. package/dist/components/approval/components/FormCodeInput.vue.d.ts +33 -0
  68. package/dist/components/approval/components/FormContextInput.vue.d.ts +33 -0
  69. package/dist/components/approval/components/FormFlowOrgInput.vue.d.ts +40 -0
  70. package/dist/components/approval/components/actionsBar.vue.d.ts +17 -0
  71. package/dist/components/approval/components/approvalHistory/approvalHistoryViewModal.vue.d.ts +41 -0
  72. package/dist/components/approval/components/approvalHistory/dataStoreSettingHistory.vue.d.ts +55 -0
  73. package/dist/components/approval/components/approvalHistory/dataStoreSettingHistoryViewModal.vue.d.ts +41 -0
  74. package/dist/components/approval/components/approvalHistory/flowHistoryViewModal.vue.d.ts +41 -0
  75. package/dist/components/approval/components/approvalHistory/flowSettingHistory.vue.d.ts +55 -0
  76. package/dist/components/approval/components/approvalHistory/index.vue.d.ts +212 -0
  77. package/dist/components/approval/components/approvalHistory/pageSettingHistory.vue.d.ts +55 -0
  78. package/dist/components/approval/components/approvalPageConfig/ActionsConfig.vue.d.ts +112 -0
  79. package/dist/components/approval/components/approvalPageConfig/BaseConditions.vue.d.ts +205 -0
  80. package/dist/components/approval/components/approvalPageConfig/CodeEditorWraper.vue.d.ts +51 -0
  81. package/dist/components/approval/components/approvalPageConfig/ColumnConfig.vue.d.ts +145 -0
  82. package/dist/components/approval/components/approvalPageConfig/ConditionFieldMulType.vue.d.ts +137 -0
  83. package/dist/components/approval/components/approvalPageConfig/JsonInput.vue.d.ts +38 -0
  84. package/dist/components/approval/components/approvalPageConfig/JsonTags.vue.d.ts +26 -0
  85. package/dist/components/approval/components/approvalPageConfig/JsonText.vue.d.ts +36 -0
  86. package/dist/components/approval/components/approvalPageConfig/approveLeftConfig.vue.d.ts +6 -0
  87. package/dist/components/approval/components/approvalPageConfig/baseConfig.vue.d.ts +10 -0
  88. package/dist/components/approval/components/approvalPageConfig/cellEdit.vue.d.ts +23 -0
  89. package/dist/components/approval/components/approvalPageConfig/configSync.vue.d.ts +76 -0
  90. package/dist/components/approval/components/approvalPageConfig/confirmInput.vue.d.ts +26 -0
  91. package/dist/components/approval/components/approvalPageConfig/defaultOperatorSelect.vue.d.ts +18 -0
  92. package/dist/components/approval/components/approvalPageConfig/index.vue.d.ts +11 -0
  93. package/dist/components/approval/components/approvalPageConfig/jsonConfig.vue.d.ts +16 -0
  94. package/dist/components/approval/components/approvalPageConfig/layoutSetting.vue.d.ts +9 -0
  95. package/dist/components/approval/components/approvalPageConfig/leftColumn.vue.d.ts +1184 -0
  96. package/dist/components/approval/components/approvalPageConfig/middleColumn.vue.d.ts +145 -0
  97. package/dist/components/approval/components/approvalPageConfig/operatorSelect.vue.d.ts +18 -0
  98. package/dist/components/approval/components/approvalPageConfig/searchConfig.vue.d.ts +166 -0
  99. package/dist/components/approval/components/approvalPageConfig/tableConfig.vue.d.ts +802 -0
  100. package/dist/components/approval/components/codeHistory/codeHistory.vue.d.ts +53 -0
  101. package/dist/components/approval/components/codeHistory/codeHistoryViewModal.vue.d.ts +32 -0
  102. package/dist/components/approval/components/columnDataList.vue.d.ts +454 -0
  103. package/dist/components/approval/components/columnForm.vue.d.ts +26 -0
  104. package/dist/components/approval/components/columnTables.vue.d.ts +502 -0
  105. package/dist/components/approval/components/columnUnknown.vue.d.ts +2 -0
  106. package/dist/components/approval/components/dataStoreConfig/ConditionConfig.vue.d.ts +199 -0
  107. package/dist/components/approval/components/dataStoreConfig/ValueInput.vue.d.ts +37 -0
  108. package/dist/components/approval/components/dataStoreConfig/dataSourceDetial.vue.d.ts +22 -0
  109. package/dist/components/approval/components/dataStoreConfig/dataStoreConfig.vue.d.ts +554 -0
  110. package/dist/components/approval/components/dataStoreConfig/dataStoreConfigItem.vue.d.ts +434 -0
  111. package/dist/components/approval/components/dataStoreConfig/dataStoreTest.vue.d.ts +39 -0
  112. package/dist/components/approval/components/dataStoreConfig/dataStoreTestsItem.vue.d.ts +17 -0
  113. package/dist/components/approval/components/dataStoreConfig/formField.vue.d.ts +28 -0
  114. package/dist/components/approval/components/dataStoreConfig/formFieldMulType.vue.d.ts +96 -0
  115. package/dist/components/approval/components/dataStoreConfig/selectExcelColumn.vue.d.ts +26 -0
  116. package/dist/components/approval/components/dataStoreConfig/selectExcelType.vue.d.ts +28 -0
  117. package/dist/components/approval/components/debugCode/debugCode.vue.d.ts +214 -0
  118. package/dist/components/approval/components/drawerDataList.vue.d.ts +504 -0
  119. package/dist/components/approval/components/drawerTablesList.vue.d.ts +551 -0
  120. package/dist/components/approval/components/flowConfig/flowConfig.vue.d.ts +1097 -0
  121. package/dist/components/approval/components/flowConfig/selectCcGroup.vue.d.ts +9 -0
  122. package/dist/components/approval/components/flowConfig/selectUsers.vue.d.ts +9 -0
  123. package/dist/components/approval/components/modelTablesList.vue.d.ts +551 -0
  124. package/dist/components/approval/components/pageConfigHistory.vue.d.ts +2 -0
  125. package/dist/components/approval/components/search.vue.d.ts +238 -0
  126. package/dist/components/approval/components/searchSummary.vue.d.ts +100 -0
  127. package/dist/components/approval/components/table.vue.d.ts +416 -0
  128. package/dist/components/approval/components/tableModal.vue.d.ts +84 -0
  129. package/dist/components/approval/configs/approval/default.d.ts +11 -0
  130. package/dist/components/approval/configs/approval/recordActions.d.ts +22 -0
  131. package/dist/components/approval/core.vue.d.ts +48 -0
  132. package/dist/components/approval/example_code/example_code.d.ts +11 -0
  133. package/dist/components/approval/index.d.ts +18 -0
  134. package/dist/components/approval/index.vue.d.ts +2 -0
  135. package/dist/components/approval/migrate/index.d.ts +1 -0
  136. package/dist/components/approval/migrate/v0001.d.ts +2 -0
  137. package/dist/components/approval/store/context.d.ts +48 -0
  138. package/dist/components/approval/store/debugCode.d.ts +7 -0
  139. package/dist/components/approval/store/settingsState.d.ts +15 -0
  140. package/dist/components/approval/typing.d.ts +210 -0
  141. package/dist/components/approval/useApprovalRecordActions.d.ts +83 -0
  142. package/dist/components/approval/utils.d.ts +164 -0
  143. package/dist/components/approval_for_details.vue.d.ts +9 -0
  144. package/dist/components/flow/ElInputTag/index.vue.d.ts +46 -0
  145. package/dist/components/flow/Expression/index.vue.d.ts +48 -0
  146. package/dist/components/flow/Role/index.vue.d.ts +68 -0
  147. package/dist/components/flow/User/index.vue.d.ts +76 -0
  148. package/dist/config/packed-config.d.ts +26 -0
  149. package/dist/constants.d.ts +1 -0
  150. package/dist/core-CctSle2c.js +1629 -0
  151. package/dist/core-CctSle2c.js.map +1 -0
  152. package/dist/dataStoreSettingHistoryViewModal-D_so-KLp.js +114 -0
  153. package/dist/dataStoreSettingHistoryViewModal-D_so-KLp.js.map +1 -0
  154. package/dist/debugCode-Cm9-WiUG.js +565 -0
  155. package/dist/debugCode-Cm9-WiUG.js.map +1 -0
  156. package/dist/debugCode-dD1YnQSD.js +11 -0
  157. package/dist/debugCode-dD1YnQSD.js.map +1 -0
  158. package/dist/default-VdDMlY4e.js +560 -0
  159. package/dist/default-VdDMlY4e.js.map +1 -0
  160. package/dist/example_code-C_xF8RRG.js +129 -0
  161. package/dist/example_code-C_xF8RRG.js.map +1 -0
  162. package/dist/flowHistoryViewModal-D8DJP7Te.js +109 -0
  163. package/dist/flowHistoryViewModal-D8DJP7Te.js.map +1 -0
  164. package/dist/index.d.ts +81 -0
  165. package/dist/index.js +507 -26691
  166. package/dist/index.js.map +1 -1
  167. package/dist/init-plugin-fQTSQzui.js +48 -0
  168. package/dist/init-plugin-fQTSQzui.js.map +1 -0
  169. package/dist/init-plugin.d.ts +57 -0
  170. package/dist/leftColumn-CsPjufue.js +209 -0
  171. package/dist/leftColumn-CsPjufue.js.map +1 -0
  172. package/dist/lyflowchart.css +1 -1
  173. package/dist/middleColumn-C7M6-eVo.js +107 -0
  174. package/dist/middleColumn-C7M6-eVo.js.map +1 -0
  175. package/dist/recordActions-BgFlNsGU.js +51 -0
  176. package/dist/recordActions-BgFlNsGU.js.map +1 -0
  177. package/dist/settingsState-CI81PG-i.js +19 -0
  178. package/dist/settingsState-CI81PG-i.js.map +1 -0
  179. package/dist/style.d.ts +3 -0
  180. package/dist/styles.d.ts +7 -0
  181. package/dist/tableConfig-uLXue-BS.js +2408 -0
  182. package/dist/tableConfig-uLXue-BS.js.map +1 -0
  183. package/dist/tableModal-BcYfVL02.js +124 -0
  184. package/dist/tableModal-BcYfVL02.js.map +1 -0
  185. package/dist/useApprovalRecordActions-BQ6MgV2L.js +843 -0
  186. package/dist/useApprovalRecordActions-BQ6MgV2L.js.map +1 -0
  187. package/dist/utils/StrUtil.d.ts +52 -0
  188. package/dist/utils/function.d.ts +8 -0
  189. package/dist/utils-CLet2gLV.js +420 -0
  190. package/dist/utils-CLet2gLV.js.map +1 -0
  191. package/dist/v0001-OaBeBCXI.js +4 -0
  192. package/dist/v0001-OaBeBCXI.js.map +1 -0
  193. package/dist/{Cell_click_data_source-CUVsbkcN.js → viewer-Dv3kQsMf.js} +1551 -2415
  194. package/dist/viewer-Dv3kQsMf.js.map +1 -0
  195. package/dist/vue-print-next-HRweUmNi.js +683 -0
  196. package/dist/vue-print-next-HRweUmNi.js.map +1 -0
  197. package/package.json +39 -8
  198. package/dist/Cell_click_data_source-CUVsbkcN.js.map +0 -1
@@ -0,0 +1,53 @@
1
+ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
2
+ action_code_id: {
3
+ type: StringConstructor;
4
+ required: true;
5
+ };
6
+ modelType: {
7
+ type: StringConstructor;
8
+ required: true;
9
+ };
10
+ }>, {
11
+ loading: import("vue").Ref<boolean, boolean>;
12
+ oldData: import("vue").Ref<string, string>;
13
+ newData: import("vue").Ref<string, string>;
14
+ tableData: import("vue").Ref<any[], any[]>;
15
+ columns: {
16
+ title: string;
17
+ dataIndex: string;
18
+ width: number;
19
+ }[];
20
+ rowSelection: {
21
+ type: string;
22
+ };
23
+ dateRange: import("vue").Ref<any[], any[]>;
24
+ handleCompareClick: () => void;
25
+ selectedRowKeys: import("vue").Ref<any[], any[]>;
26
+ current: import("vue").Ref<number, number>;
27
+ pageSize: import("vue").Ref<number, number>;
28
+ total: import("vue").Ref<number, number>;
29
+ pageSelectOptions: {
30
+ name: string;
31
+ value: string;
32
+ }[];
33
+ handlePageChange: (page: number, size: number) => void;
34
+ pageOptions: import("vue").ComputedRef<any[]>;
35
+ getHistoryList: () => void;
36
+ handleDateChange: () => void;
37
+ getDiffPercent: (diff_len: number) => number;
38
+ handleViewHistory: (ids: Array<string>) => void;
39
+ handleApplyHistory: (action_code_id: any) => void;
40
+ height: import("vue").Ref<number, number>;
41
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "apply"[], "apply", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
42
+ action_code_id: {
43
+ type: StringConstructor;
44
+ required: true;
45
+ };
46
+ modelType: {
47
+ type: StringConstructor;
48
+ required: true;
49
+ };
50
+ }>> & Readonly<{
51
+ onApply?: (...args: any[]) => any;
52
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
53
+ export default _default;
@@ -0,0 +1,32 @@
1
+ import { PropType } from 'vue';
2
+ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
3
+ height: {
4
+ type: NumberConstructor;
5
+ default: () => number;
6
+ };
7
+ history_ids: {
8
+ type: PropType<string[]>;
9
+ default: () => any[];
10
+ };
11
+ }>, {
12
+ handleCancel: () => void;
13
+ handleOk: () => void;
14
+ loading: import("vue").Ref<boolean, boolean>;
15
+ history_records: import("vue").Ref<any[], any[]>;
16
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("cancel" | "ok")[], "cancel" | "ok", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
17
+ height: {
18
+ type: NumberConstructor;
19
+ default: () => number;
20
+ };
21
+ history_ids: {
22
+ type: PropType<string[]>;
23
+ default: () => any[];
24
+ };
25
+ }>> & Readonly<{
26
+ onOk?: (...args: any[]) => any;
27
+ onCancel?: (...args: any[]) => any;
28
+ }>, {
29
+ height: number;
30
+ history_ids: string[];
31
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
32
+ export default _default;
@@ -0,0 +1,454 @@
1
+ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
2
+ columnConfig: {
3
+ type: ObjectConstructor;
4
+ required: true;
5
+ };
6
+ height: {
7
+ type: NumberConstructor;
8
+ required: true;
9
+ };
10
+ eventBus: {
11
+ type: ObjectConstructor;
12
+ required: true;
13
+ };
14
+ modelType: {
15
+ type: StringConstructor;
16
+ required: true;
17
+ };
18
+ }>, {
19
+ headerRef: import("vue").Ref<any, any>;
20
+ contentHeight: import("vue").ComputedRef<number>;
21
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
22
+ columnConfig: {
23
+ type: ObjectConstructor;
24
+ required: true;
25
+ };
26
+ height: {
27
+ type: NumberConstructor;
28
+ required: true;
29
+ };
30
+ eventBus: {
31
+ type: ObjectConstructor;
32
+ required: true;
33
+ };
34
+ modelType: {
35
+ type: StringConstructor;
36
+ required: true;
37
+ };
38
+ }>> & Readonly<{}>, {}, {}, {
39
+ ApprovalTable: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
40
+ config: {
41
+ type: () => import("../typing.js").Table;
42
+ required: true;
43
+ };
44
+ modelType: {
45
+ type: StringConstructor;
46
+ required: false;
47
+ };
48
+ eventBus: {
49
+ type: ObjectConstructor;
50
+ required: false;
51
+ };
52
+ approvalConfig: {
53
+ type: () => import("../typing.js").ApprovalSetting;
54
+ required: false;
55
+ };
56
+ rowSelectionType: {
57
+ type: StringConstructor;
58
+ required: false;
59
+ };
60
+ hideAllButtons: {
61
+ type: BooleanConstructor;
62
+ default: boolean;
63
+ };
64
+ }>, {
65
+ dataSource: import("vue").Ref<any[], any[]>;
66
+ selectedRowKeys: import("vue").Ref<any[], any[]>;
67
+ loading: import("vue").Ref<boolean, boolean>;
68
+ state: {
69
+ current: number;
70
+ pageSize: number;
71
+ total: number;
72
+ };
73
+ handlePageChange: (page: any, pageSize: any) => void;
74
+ handleRowAction: (action: any, record: any) => Promise<void>;
75
+ callRowActionByTitle: (title: any, record: any) => void;
76
+ pageSizeOptions: import("vue").Ref<string[], string[]>;
77
+ columns: import("vue").ComputedRef<({
78
+ minWidth: number;
79
+ width: any;
80
+ filteredValue: any;
81
+ sortOrder: any;
82
+ key: string;
83
+ title: string;
84
+ dataIndex: string;
85
+ ellipsis: boolean;
86
+ resizable: boolean;
87
+ fixed?: boolean;
88
+ autoHeight: boolean;
89
+ autoWidth: boolean;
90
+ cellComponent?: string;
91
+ approve_summary?: boolean;
92
+ cellSummaryComponent?: string;
93
+ colorMap?: Record<string, any>;
94
+ contentMap?: Record<string, any>;
95
+ filterMultiple?: boolean;
96
+ filters?: Array<{
97
+ text: string;
98
+ value: any;
99
+ }>;
100
+ sorter?: any;
101
+ defaultSortOrder?: "ascend" | "descend";
102
+ defaultSortIndex?: number;
103
+ } | {
104
+ width: number;
105
+ minWidth: any;
106
+ filteredValue: any;
107
+ sortOrder: any;
108
+ key: string;
109
+ title: string;
110
+ dataIndex: string;
111
+ ellipsis: boolean;
112
+ resizable: boolean;
113
+ fixed?: boolean;
114
+ autoHeight: boolean;
115
+ autoWidth: boolean;
116
+ cellComponent?: string;
117
+ approve_summary?: boolean;
118
+ cellSummaryComponent?: string;
119
+ colorMap?: Record<string, any>;
120
+ contentMap?: Record<string, any>;
121
+ filterMultiple?: boolean;
122
+ filters?: Array<{
123
+ text: string;
124
+ value: any;
125
+ }>;
126
+ sorter?: any;
127
+ defaultSortOrder?: "ascend" | "descend";
128
+ defaultSortIndex?: number;
129
+ } | {
130
+ title: string;
131
+ dataIndex: string;
132
+ width: number;
133
+ resizable: boolean;
134
+ fixed: string;
135
+ })[]>;
136
+ searchConditions: import("vue").Ref<any[], any[]>;
137
+ delayGetDate: import("lodash").DebouncedFunc<() => Promise<void>>;
138
+ selfEventBus: import("mitt").Emitter<Record<import("mitt").EventType, unknown>>;
139
+ row_selection: any;
140
+ handleAction: (action: any) => Promise<void>;
141
+ searchRef: import("vue").Ref<any, any>;
142
+ actionRef: import("vue").Ref<any, any>;
143
+ searchHeight: import("vue").Ref<any, any>;
144
+ actionHeight: import("vue").Ref<any, any>;
145
+ tableHeight: import("vue").ComputedRef<number>;
146
+ rowActionWidth: import("vue").Ref<number, number>;
147
+ context: import("pinia").Store<"approval_context", import("../store/context.js").ContextState, {}, {
148
+ init(model_type: string): import("../store/context.js").Context;
149
+ initTable(model_type: string, table_id: string): import("../store/context.js").TableContext;
150
+ SET_SEARCH_CONDITIONS(model_type: string, table_id: string, searchConditions: any[]): void;
151
+ SET_SELECTED_ROWKEYS(model_type: string, table_id: string, selectedRowKeys: any[], selectedRecord: any[]): void;
152
+ SET_DATASOURCE(model_type: string, table_id: string, datasource: any[]): void;
153
+ SET_FORM_MODEL(model_type: string, formModel: any): void;
154
+ SET_GLOBAL_DATA(model_type: string, globalData: any): void;
155
+ SET_RAW(model_type: string, data: any): void;
156
+ SET_CURRENT_HISTORY_ID(model_type: string, current_history_id: any): void;
157
+ SET_REQUST_HISTORY_ID(model_type: string, request_history_id: any): void;
158
+ SET_CURRENT_FLOW_HISTORY_ID(model_type: string, current_flow_history_id: any): void;
159
+ SET_REQUST_FLOW_HISTORY_ID(model_type: string, request_flow_history_id: any): void;
160
+ SET_EDIT(model_type: string, isEdit: boolean, editState: any): void;
161
+ CLEAR_CONTEXT(model_type: string): void;
162
+ }>;
163
+ summaryColumns: import("vue").ComputedRef<any[]>;
164
+ preserveRow: () => boolean;
165
+ handleChange: (pagination: import("ant-design-vue").TablePaginationConfig, filters: Record<string, import("ant-design-vue/es/table/interface.js").FilterValue | null>, sorter: import("ant-design-vue/es/table/interface.js").SorterResult<any> | import("ant-design-vue/es/table/interface.js").SorterResult<any>[], extra: import("ant-design-vue/es/table/interface.js").TableCurrentDataSource<any>) => void;
166
+ tableWraperHeight: import("vue").Ref<any, any>;
167
+ tableWraperRef: import("vue").Ref<any, any>;
168
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "selection-change"[], "selection-change", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
169
+ config: {
170
+ type: () => import("../typing.js").Table;
171
+ required: true;
172
+ };
173
+ modelType: {
174
+ type: StringConstructor;
175
+ required: false;
176
+ };
177
+ eventBus: {
178
+ type: ObjectConstructor;
179
+ required: false;
180
+ };
181
+ approvalConfig: {
182
+ type: () => import("../typing.js").ApprovalSetting;
183
+ required: false;
184
+ };
185
+ rowSelectionType: {
186
+ type: StringConstructor;
187
+ required: false;
188
+ };
189
+ hideAllButtons: {
190
+ type: BooleanConstructor;
191
+ default: boolean;
192
+ };
193
+ }>> & Readonly<{
194
+ "onSelection-change"?: (...args: any[]) => any;
195
+ }>, {
196
+ hideAllButtons: boolean;
197
+ }, {}, {
198
+ Search: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
199
+ searchConfig: {
200
+ type: {
201
+ (arrayLength: number): import("../typing.js").SearchConfig[];
202
+ (...items: import("../typing.js").SearchConfig[]): import("../typing.js").SearchConfig[];
203
+ new (arrayLength: number): import("../typing.js").SearchConfig[];
204
+ new (...items: import("../typing.js").SearchConfig[]): import("../typing.js").SearchConfig[];
205
+ isArray(arg: any): arg is any[];
206
+ readonly prototype: any[];
207
+ from<T>(arrayLike: ArrayLike<T>): T[];
208
+ from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
209
+ from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
210
+ from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
211
+ of<T>(...items: T[]): T[];
212
+ fromAsync<T>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T | PromiseLike<T>> | ArrayLike<T | PromiseLike<T>>): Promise<T[]>;
213
+ fromAsync<T, U>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T> | ArrayLike<T>, mapFn: (value: Awaited<T>, index: number) => U, thisArg?: any): Promise<Awaited<U>[]>;
214
+ readonly [Symbol.species]: ArrayConstructor;
215
+ };
216
+ required: true;
217
+ };
218
+ searchConditions: {
219
+ type: {
220
+ (arrayLength: number): import("../typing.js").Condition[];
221
+ (...items: import("../typing.js").Condition[]): import("../typing.js").Condition[];
222
+ new (arrayLength: number): import("../typing.js").Condition[];
223
+ new (...items: import("../typing.js").Condition[]): import("../typing.js").Condition[];
224
+ isArray(arg: any): arg is any[];
225
+ readonly prototype: any[];
226
+ from<T>(arrayLike: ArrayLike<T>): T[];
227
+ from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
228
+ from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
229
+ from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
230
+ of<T>(...items: T[]): T[];
231
+ fromAsync<T>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T | PromiseLike<T>> | ArrayLike<T | PromiseLike<T>>): Promise<T[]>;
232
+ fromAsync<T, U>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T> | ArrayLike<T>, mapFn: (value: Awaited<T>, index: number) => U, thisArg?: any): Promise<Awaited<U>[]>;
233
+ readonly [Symbol.species]: ArrayConstructor;
234
+ };
235
+ required: true;
236
+ };
237
+ eventBus: {
238
+ type: any;
239
+ required: false;
240
+ };
241
+ }>, {
242
+ isShowForm: import("vue").Ref<boolean, boolean>;
243
+ searchModel: import("vue").Ref<{}, {}>;
244
+ dataSource: import("vue").ComputedRef<{
245
+ value: any;
246
+ operator: any;
247
+ model: string;
248
+ type: string;
249
+ label: string;
250
+ format: string;
251
+ inputType?: string;
252
+ allowClear: boolean;
253
+ class_name: string;
254
+ field_name: string;
255
+ autocomplete: string;
256
+ operator_list: string[];
257
+ default_operator?: string;
258
+ dateFormat?: string;
259
+ options?: any[];
260
+ required_condition?: any;
261
+ showTime?: boolean;
262
+ size?: any;
263
+ valueFormat?: string;
264
+ mode?: string;
265
+ }[]>;
266
+ onChange: (field_name: string, type: "value" | "operator", newValue: any, array_index?: number | undefined) => void;
267
+ operator_type_map: Record<string, string>;
268
+ formModel: import("vue").Ref<{}, {}>;
269
+ is_or_not_blank_or_null_options: import("vue").Ref<{
270
+ value: string;
271
+ label: string;
272
+ }[], {
273
+ value: string;
274
+ label: string;
275
+ }[] | {
276
+ value: string;
277
+ label: string;
278
+ }[]>;
279
+ validateInfos: import("vue").Ref<{}, {}>;
280
+ options_for_date_eq: {
281
+ value: string;
282
+ label: string;
283
+ }[];
284
+ handleUpdateSearchConditions: (newConditions: import("../typing.js").Condition[]) => void;
285
+ handleRefresh: () => void;
286
+ getValue: (configItemAndValue: any) => any;
287
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:searchConditions"[], "update:searchConditions", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
288
+ searchConfig: {
289
+ type: {
290
+ (arrayLength: number): import("../typing.js").SearchConfig[];
291
+ (...items: import("../typing.js").SearchConfig[]): import("../typing.js").SearchConfig[];
292
+ new (arrayLength: number): import("../typing.js").SearchConfig[];
293
+ new (...items: import("../typing.js").SearchConfig[]): import("../typing.js").SearchConfig[];
294
+ isArray(arg: any): arg is any[];
295
+ readonly prototype: any[];
296
+ from<T>(arrayLike: ArrayLike<T>): T[];
297
+ from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
298
+ from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
299
+ from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
300
+ of<T>(...items: T[]): T[];
301
+ fromAsync<T>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T | PromiseLike<T>> | ArrayLike<T | PromiseLike<T>>): Promise<T[]>;
302
+ fromAsync<T, U>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T> | ArrayLike<T>, mapFn: (value: Awaited<T>, index: number) => U, thisArg?: any): Promise<Awaited<U>[]>;
303
+ readonly [Symbol.species]: ArrayConstructor;
304
+ };
305
+ required: true;
306
+ };
307
+ searchConditions: {
308
+ type: {
309
+ (arrayLength: number): import("../typing.js").Condition[];
310
+ (...items: import("../typing.js").Condition[]): import("../typing.js").Condition[];
311
+ new (arrayLength: number): import("../typing.js").Condition[];
312
+ new (...items: import("../typing.js").Condition[]): import("../typing.js").Condition[];
313
+ isArray(arg: any): arg is any[];
314
+ readonly prototype: any[];
315
+ from<T>(arrayLike: ArrayLike<T>): T[];
316
+ from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
317
+ from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
318
+ from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
319
+ of<T>(...items: T[]): T[];
320
+ fromAsync<T>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T | PromiseLike<T>> | ArrayLike<T | PromiseLike<T>>): Promise<T[]>;
321
+ fromAsync<T, U>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T> | ArrayLike<T>, mapFn: (value: Awaited<T>, index: number) => U, thisArg?: any): Promise<Awaited<U>[]>;
322
+ readonly [Symbol.species]: ArrayConstructor;
323
+ };
324
+ required: true;
325
+ };
326
+ eventBus: {
327
+ type: any;
328
+ required: false;
329
+ };
330
+ }>> & Readonly<{
331
+ "onUpdate:searchConditions"?: (...args: any[]) => any;
332
+ }>, {
333
+ eventBus: any;
334
+ }, {}, {
335
+ searchSummary: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
336
+ searchConfig: {
337
+ type: {
338
+ (arrayLength: number): import("../typing.js").SearchConfig[];
339
+ (...items: import("../typing.js").SearchConfig[]): import("../typing.js").SearchConfig[];
340
+ new (arrayLength: number): import("../typing.js").SearchConfig[];
341
+ new (...items: import("../typing.js").SearchConfig[]): import("../typing.js").SearchConfig[];
342
+ isArray(arg: any): arg is any[];
343
+ readonly prototype: any[];
344
+ from<T>(arrayLike: ArrayLike<T>): T[];
345
+ from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
346
+ from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
347
+ from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
348
+ of<T>(...items: T[]): T[];
349
+ fromAsync<T>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T | PromiseLike<T>> | ArrayLike<T | PromiseLike<T>>): Promise<T[]>;
350
+ fromAsync<T, U>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T> | ArrayLike<T>, mapFn: (value: Awaited<T>, index: number) => U, thisArg?: any): Promise<Awaited<U>[]>;
351
+ readonly [Symbol.species]: ArrayConstructor;
352
+ };
353
+ required: true;
354
+ };
355
+ searchConditions: {
356
+ type: {
357
+ (arrayLength: number): import("../typing.js").Condition[];
358
+ (...items: import("../typing.js").Condition[]): import("../typing.js").Condition[];
359
+ new (arrayLength: number): import("../typing.js").Condition[];
360
+ new (...items: import("../typing.js").Condition[]): import("../typing.js").Condition[];
361
+ isArray(arg: any): arg is any[];
362
+ readonly prototype: any[];
363
+ from<T>(arrayLike: ArrayLike<T>): T[];
364
+ from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
365
+ from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
366
+ from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
367
+ of<T>(...items: T[]): T[];
368
+ fromAsync<T>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T | PromiseLike<T>> | ArrayLike<T | PromiseLike<T>>): Promise<T[]>;
369
+ fromAsync<T, U>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T> | ArrayLike<T>, mapFn: (value: Awaited<T>, index: number) => U, thisArg?: any): Promise<Awaited<U>[]>;
370
+ readonly [Symbol.species]: ArrayConstructor;
371
+ };
372
+ required: true;
373
+ };
374
+ eventBus: {
375
+ type: any;
376
+ required: false;
377
+ };
378
+ }>, {
379
+ dataSource: import("vue").ComputedRef<{
380
+ field_name: string;
381
+ summary: any;
382
+ }[]>;
383
+ handleClose: (fieldName: string) => void;
384
+ handleRefresh: () => void;
385
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:searchConditions"[], "update:searchConditions", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
386
+ searchConfig: {
387
+ type: {
388
+ (arrayLength: number): import("../typing.js").SearchConfig[];
389
+ (...items: import("../typing.js").SearchConfig[]): import("../typing.js").SearchConfig[];
390
+ new (arrayLength: number): import("../typing.js").SearchConfig[];
391
+ new (...items: import("../typing.js").SearchConfig[]): import("../typing.js").SearchConfig[];
392
+ isArray(arg: any): arg is any[];
393
+ readonly prototype: any[];
394
+ from<T>(arrayLike: ArrayLike<T>): T[];
395
+ from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
396
+ from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
397
+ from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
398
+ of<T>(...items: T[]): T[];
399
+ fromAsync<T>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T | PromiseLike<T>> | ArrayLike<T | PromiseLike<T>>): Promise<T[]>;
400
+ fromAsync<T, U>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T> | ArrayLike<T>, mapFn: (value: Awaited<T>, index: number) => U, thisArg?: any): Promise<Awaited<U>[]>;
401
+ readonly [Symbol.species]: ArrayConstructor;
402
+ };
403
+ required: true;
404
+ };
405
+ searchConditions: {
406
+ type: {
407
+ (arrayLength: number): import("../typing.js").Condition[];
408
+ (...items: import("../typing.js").Condition[]): import("../typing.js").Condition[];
409
+ new (arrayLength: number): import("../typing.js").Condition[];
410
+ new (...items: import("../typing.js").Condition[]): import("../typing.js").Condition[];
411
+ isArray(arg: any): arg is any[];
412
+ readonly prototype: any[];
413
+ from<T>(arrayLike: ArrayLike<T>): T[];
414
+ from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
415
+ from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
416
+ from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
417
+ of<T>(...items: T[]): T[];
418
+ fromAsync<T>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T | PromiseLike<T>> | ArrayLike<T | PromiseLike<T>>): Promise<T[]>;
419
+ fromAsync<T, U>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T> | ArrayLike<T>, mapFn: (value: Awaited<T>, index: number) => U, thisArg?: any): Promise<Awaited<U>[]>;
420
+ readonly [Symbol.species]: ArrayConstructor;
421
+ };
422
+ required: true;
423
+ };
424
+ eventBus: {
425
+ type: any;
426
+ required: false;
427
+ };
428
+ }>> & Readonly<{
429
+ "onUpdate:searchConditions"?: (...args: any[]) => any;
430
+ }>, {
431
+ eventBus: any;
432
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
433
+ }, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
434
+ actionsBar: import("vue").DefineComponent<{
435
+ actions: import("../typing.js").Action[];
436
+ action_width?: number;
437
+ params?: any;
438
+ }, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
439
+ click: (action: any) => any;
440
+ "update:action_width": (width: number) => any;
441
+ }, string, import("vue").PublicProps, Readonly<{
442
+ actions: import("../typing.js").Action[];
443
+ action_width?: number;
444
+ params?: any;
445
+ }> & Readonly<{
446
+ onClick?: (action: any) => any;
447
+ "onUpdate:action_width"?: (width: number) => any;
448
+ }>, {
449
+ action_width: number;
450
+ params: any;
451
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
452
+ }, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
453
+ }, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
454
+ export default _default;
@@ -0,0 +1,26 @@
1
+ import { ApprovalSetting, FormSection } from '../typing';
2
+ interface ApprovalEventBus {
3
+ on(event: string, handler: (payload: any) => void): void;
4
+ off(event: string, handler: (payload: any) => void): void;
5
+ emit(event: string, payload?: any): void;
6
+ }
7
+ /**
8
+ * 必须放在普通 <script> 块里(<script setup> 不允许 ES 模块导出):
9
+ * 父组件 index.vue 的默认导出类型会引用本组件的 props 类型,类型不可命名时
10
+ * vue-tsc 既产不出本文件的 .d.ts,也会连锁让 index.vue 报 TS4082。
11
+ */
12
+ export interface ColumnFormProps {
13
+ columnConfig: FormSection;
14
+ height: number;
15
+ modelType: string;
16
+ eventBus: ApprovalEventBus;
17
+ globalData: Record<string, any>;
18
+ topFormRef: any;
19
+ approvalConfig: ApprovalSetting;
20
+ }
21
+ declare const _default: import("vue").DefineComponent<ColumnFormProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
22
+ globalDataChange: (update: any) => any;
23
+ }, string, import("vue").PublicProps, Readonly<ColumnFormProps> & Readonly<{
24
+ onGlobalDataChange?: (update: any) => any;
25
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
26
+ export default _default;