@qqt-product/ui 0.0.13 → 0.0.15

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 (193) hide show
  1. package/dist/index.es.js +123349 -77525
  2. package/dist/index.umd.js +254 -15296
  3. package/dist/lib/components/audit-modal/index.d.ts +324 -0
  4. package/dist/lib/components/audit-modal/src/audit-modal-type.d.ts +65 -0
  5. package/dist/lib/components/audit-modal/src/audit-modal.vue.d.ts +320 -0
  6. package/dist/lib/components/audit-modal/src/component/addNodeHistoryModal.vue.d.ts +675 -0
  7. package/dist/lib/components/audit-modal/src/component/approvalOpinionModal.vue.d.ts +406 -0
  8. package/dist/lib/components/audit-modal/src/component/field-select-modal-types.d.ts +93 -0
  9. package/dist/lib/components/audit-modal/src/component/field-select-modal.vue.d.ts +163 -0
  10. package/dist/lib/components/audit-modal/src/component/use-field-select-modal.d.ts +6 -0
  11. package/dist/lib/components/audit-modal/src/hook/list-slot-hook.d.ts +16 -0
  12. package/dist/lib/components/audit-modal/src/hook/use-audit-config-hook.d.ts +6 -0
  13. package/dist/lib/components/audit-modal/src/hook/use-field-select-modal-hook.d.ts +9 -0
  14. package/dist/lib/components/breadcrumb/index.d.ts +1 -1
  15. package/dist/lib/components/breadcrumb/src/breadcrumb.vue.d.ts +1 -1
  16. package/dist/lib/components/card-list-layout/index.d.ts +8 -18
  17. package/dist/lib/components/card-list-layout/src/card-content.vue.d.ts +3 -3
  18. package/dist/lib/components/card-list-layout/src/cardItem.vue.d.ts +5 -5
  19. package/dist/lib/components/card-list-layout/src/index.vue.d.ts +8 -18
  20. package/dist/lib/components/card-list-layout/src/sidebar.vue.d.ts +1 -1
  21. package/dist/lib/components/cascader/index.d.ts +12 -10
  22. package/dist/lib/components/cascader/src/cascader.vue.d.ts +12 -10
  23. package/dist/lib/components/checkbox/index.d.ts +6 -6
  24. package/dist/lib/components/checkbox/src/checkbox.vue.d.ts +6 -6
  25. package/dist/lib/components/code-editor-model/src/code-editor-model.vue.d.ts +121 -0
  26. package/dist/lib/components/collapse-transition/index.d.ts +1 -1
  27. package/dist/lib/components/collapse-transition/src/collapse-transition.vue.d.ts +1 -1
  28. package/dist/lib/components/countdown/index.d.ts +122 -0
  29. package/dist/lib/components/countdown/src/countdown-types.d.ts +87 -0
  30. package/dist/lib/components/countdown/src/countdown.d.ts +118 -0
  31. package/dist/lib/components/countdown/src/use-countdown.d.ts +2 -0
  32. package/dist/lib/components/coutdown/index.d.ts +4 -14
  33. package/dist/lib/components/coutdown/src/coutdown.d.ts +0 -8
  34. package/dist/lib/components/coutdown/src/coutdown.vue.d.ts +4 -22
  35. package/dist/lib/components/currency/index.d.ts +2 -2
  36. package/dist/lib/components/currency/src/currency.vue.d.ts +2 -2
  37. package/dist/lib/components/detail-form/index.d.ts +27 -6
  38. package/dist/lib/components/detail-form/src/detail-form.vue.d.ts +27 -7
  39. package/dist/lib/components/detail-grid/index.d.ts +337 -288
  40. package/dist/lib/components/detail-grid/src/detail-grid.vue.d.ts +336 -288
  41. package/dist/lib/components/detail-grid/src/hook/use-grid-config-hook.d.ts +2 -2
  42. package/dist/lib/components/detail-page-layout/index.d.ts +21 -4
  43. package/dist/lib/components/detail-page-layout/src/detail-page-layout.vue.d.ts +20 -4
  44. package/dist/lib/components/edit-form/index.d.ts +31 -6
  45. package/dist/lib/components/edit-form/src/edit-form-types.d.ts +4 -0
  46. package/dist/lib/components/edit-form/src/edit-form.vue.d.ts +30 -6
  47. package/dist/lib/components/edit-form/src/hook/use-callback-hook.d.ts +7 -1
  48. package/dist/lib/components/edit-grid/index.d.ts +338 -289
  49. package/dist/lib/components/edit-grid/src/edit-grid-types.d.ts +2 -2
  50. package/dist/lib/components/edit-grid/src/edit-grid.vue.d.ts +337 -289
  51. package/dist/lib/components/edit-grid/src/hook/use-grid-config-hook.d.ts +4 -4
  52. package/dist/lib/components/edit-page-layout/index.d.ts +20 -4
  53. package/dist/lib/components/edit-page-layout/src/edit-page-layout-types.d.ts +151 -26
  54. package/dist/lib/components/edit-page-layout/src/edit-page-layout.vue.d.ts +20 -4
  55. package/dist/lib/components/edit-page-layout/src/types.d.ts +1 -1
  56. package/dist/lib/components/editor/index.d.ts +23 -9
  57. package/dist/lib/components/editor/src/index.vue.d.ts +23 -9
  58. package/dist/lib/components/field-select-modal/index.d.ts +29 -13
  59. package/dist/lib/components/field-select-modal/src/field-select-modal-types.d.ts +11 -4
  60. package/dist/lib/components/field-select-modal/src/field-select-modal.vue.d.ts +29 -13
  61. package/dist/lib/components/flow-view/index.d.ts +121 -0
  62. package/dist/lib/components/flow-view/src/flow-view-modal-types.d.ts +60 -0
  63. package/dist/lib/components/flow-view/src/flow-view.d.ts +118 -0
  64. package/dist/lib/components/flow-view/src/use-flow-view-modal.d.ts +2 -0
  65. package/dist/lib/components/import-modal/index.d.ts +90 -0
  66. package/dist/lib/components/import-modal/src/import-modal-types.d.ts +28 -0
  67. package/dist/lib/components/import-modal/src/import-modal.vue.d.ts +86 -0
  68. package/dist/lib/components/index.d.ts +11 -2
  69. package/dist/lib/components/item-wrap/index.d.ts +4 -4
  70. package/dist/lib/components/item-wrap/src/item-wrap.vue.d.ts +4 -4
  71. package/dist/lib/components/ladder-price/index.d.ts +58 -0
  72. package/dist/lib/components/ladder-price/src/LadderNotPriceModal.vue.d.ts +35 -0
  73. package/dist/lib/components/ladder-price/src/LadderPriceModal.vue.d.ts +38 -0
  74. package/dist/lib/components/ladder-price/src/ladder-not-price-modal-types.d.ts +16 -0
  75. package/dist/lib/components/ladder-price/src/ladder-price-modal-types.d.ts +15 -0
  76. package/dist/lib/components/ladder-price/src/ladder-price-types.d.ts +35 -0
  77. package/dist/lib/components/ladder-price/src/ladder-price.vue.d.ts +55 -0
  78. package/dist/lib/components/ladder-price/src/use-ladder-not-price-modal.d.ts +6 -0
  79. package/dist/lib/components/ladder-price/src/use-ladder-price.d.ts +6 -0
  80. package/dist/lib/components/layout/index.d.ts +2 -2
  81. package/dist/lib/components/layout/src/header/index.vue.d.ts +11 -11
  82. package/dist/lib/components/layout/src/header/navRight/customMessage.vue.d.ts +2 -2
  83. package/dist/lib/components/layout/src/header/navRight/customPerson.vue.d.ts +1 -1
  84. package/dist/lib/components/layout/src/header/navRight/index.vue.d.ts +9 -9
  85. package/dist/lib/components/layout/src/header/navRight/langSwitch.vue.d.ts +1 -1
  86. package/dist/lib/components/layout/src/header/navRight/rightTool.vue.d.ts +4 -4
  87. package/dist/lib/components/layout/src/header/navRight/settingDrawer.vue.d.ts +2 -2
  88. package/dist/lib/components/layout/src/index.vue.d.ts +2 -2
  89. package/dist/lib/components/layout/src/menu/deepCycleSubMenu.vue.d.ts +1 -1
  90. package/dist/lib/components/layout/src/menu/menu.vue.d.ts +2 -2
  91. package/dist/lib/components/layout/src/menu/secondLevelMenu.vue.d.ts +2 -2
  92. package/dist/lib/components/layout/src/menu/subSecondMenu.vue.d.ts +1 -1
  93. package/dist/lib/components/layout/src/sider/index.vue.d.ts +1 -1
  94. package/dist/lib/components/layout/src/sider/logo.vue.d.ts +2 -2
  95. package/dist/lib/components/layout/src/sider/search.vue.d.ts +1 -1
  96. package/dist/lib/components/layout/src/types.d.ts +1 -0
  97. package/dist/lib/components/layout-anchor/index.d.ts +3 -2
  98. package/dist/lib/components/layout-anchor/src/layout-auchor.vue.d.ts +3 -2
  99. package/dist/lib/components/layout-buttons/index.d.ts +5 -4
  100. package/dist/lib/components/layout-buttons/src/layout-buttons.vue.d.ts +3 -3
  101. package/dist/lib/components/layout-pattern/index.d.ts +13 -3
  102. package/dist/lib/components/layout-pattern/src/components/vertical.vue.d.ts +156 -7
  103. package/dist/lib/components/layout-pattern/src/hook/use-audit-button-hook.d.ts +46 -0
  104. package/dist/lib/components/layout-pattern/src/layout-pattern.vue.d.ts +13 -3
  105. package/dist/lib/components/list-page-layout/index.d.ts +80 -18
  106. package/dist/lib/components/list-page-layout/src/components/common/columnSetting/columnSetting.vue.d.ts +25 -24
  107. package/dist/lib/components/list-page-layout/src/components/common/edit-nav-modal/edit-nav-modal.vue.d.ts +1 -1
  108. package/dist/lib/components/list-page-layout/src/components/common/help-text-modal/help-text-modal.vue.d.ts +1 -1
  109. package/dist/lib/components/list-page-layout/src/components/common/import-modal/import-modal.vue.d.ts +3 -1
  110. package/dist/lib/components/list-page-layout/src/components/common/record-modal/record-modal.vue.d.ts +646 -556
  111. package/dist/lib/components/list-page-layout/src/components/list-content/events-helper.d.ts +1 -3
  112. package/dist/lib/components/list-page-layout/src/components/list-content/list-content.vue.d.ts +14 -12
  113. package/dist/lib/components/list-page-layout/src/components/list-content-buttons/list-content-buttons.vue.d.ts +1 -1
  114. package/dist/lib/components/list-page-layout/src/components/list-header/hooks/use-callback-hook.d.ts +3 -0
  115. package/dist/lib/components/list-page-layout/src/components/list-header/list-header.vue.d.ts +5 -3
  116. package/dist/lib/components/list-page-layout/src/components/list-header/module/query/index.vue.d.ts +9 -3
  117. package/dist/lib/components/list-page-layout/src/components/list-header/module/quick-nav/index.vue.d.ts +2 -1
  118. package/dist/lib/components/list-page-layout/src/components/list-header/module/searchExtend/index.vue.d.ts +14 -6
  119. package/dist/lib/components/list-page-layout/src/components/list-header/module/tabs/index.vue.d.ts +1 -1
  120. package/dist/lib/components/list-page-layout/src/hooks/auth-button.d.ts +4 -0
  121. package/dist/lib/components/list-page-layout/src/hooks/get-columns-hook.d.ts +1 -1
  122. package/dist/lib/components/list-page-layout/src/hooks/list-slot-hook.d.ts +10 -4
  123. package/dist/lib/components/list-page-layout/src/hooks/use-button-function-hook.d.ts +8 -0
  124. package/dist/lib/components/list-page-layout/src/layout.vue.d.ts +78 -17
  125. package/dist/lib/components/list-page-layout/src/list-page-layout-types.d.ts +62 -10
  126. package/dist/lib/components/list-page-layout/src/tokens.d.ts +2 -2
  127. package/dist/lib/components/list-page-layout/src/utils/gridConfig.d.ts +6 -21
  128. package/dist/lib/components/list-page-layout/src/utils/index.d.ts +2 -0
  129. package/dist/lib/components/page-layout/index.d.ts +3 -2
  130. package/dist/lib/components/page-layout/src/constant/buttons.d.ts +28 -2
  131. package/dist/lib/components/page-layout/src/constant/symbol.d.ts +35 -0
  132. package/dist/lib/components/page-layout/src/hook/use-merge-defaultValues-hook.d.ts +1 -1
  133. package/dist/lib/components/page-layout/src/hook/use-promise-step.d.ts +19 -9
  134. package/dist/lib/components/page-layout/src/page-layout.vue.d.ts +1 -1
  135. package/dist/lib/components/radio/index.d.ts +6 -6
  136. package/dist/lib/components/radio/src/radio.vue.d.ts +6 -6
  137. package/dist/lib/components/relation-graph/src/relation-graph-types.d.ts +23 -0
  138. package/dist/lib/components/remote-select/index.d.ts +31 -72
  139. package/dist/lib/components/remote-select/src/remote-select-types.d.ts +44 -28
  140. package/dist/lib/components/remote-select/src/remote-select.vue.d.ts +32 -73
  141. package/dist/lib/components/sale-template/index.d.ts +99 -0
  142. package/dist/lib/components/sale-template/src/sale-template-types.d.ts +41 -0
  143. package/dist/lib/components/sale-template/src/sale-template.vue.d.ts +95 -0
  144. package/dist/lib/components/sale-template/src/use-sale-template.d.ts +2 -0
  145. package/dist/lib/components/select/index.d.ts +9 -9
  146. package/dist/lib/components/select/src/select-types.d.ts +5 -1
  147. package/dist/lib/components/select/src/select.vue.d.ts +9 -9
  148. package/dist/lib/components/select-modal/index.d.ts +118 -76
  149. package/dist/lib/components/select-modal/src/select-modal-types.d.ts +24 -4
  150. package/dist/lib/components/select-modal/src/select-modal.vue.d.ts +118 -76
  151. package/dist/lib/components/select-template/index.d.ts +92 -0
  152. package/dist/lib/components/select-template/src/select-template-type.d.ts +32 -0
  153. package/dist/lib/components/select-template/src/select-template.vue.d.ts +88 -0
  154. package/dist/lib/components/switch/index.d.ts +2 -2
  155. package/dist/lib/components/switch/src/switch.vue.d.ts +2 -2
  156. package/dist/lib/components/tree-select/index.d.ts +10 -9
  157. package/dist/lib/components/tree-select/src/tree-select-types.d.ts +7 -1
  158. package/dist/lib/components/tree-select/src/tree-select.vue.d.ts +10 -9
  159. package/dist/lib/components/upload-file/index.d.ts +30 -31
  160. package/dist/lib/components/upload-file/src/hook/use-file-column-hook.d.ts +29 -16
  161. package/dist/lib/components/upload-file/src/hook/use-operation-column-button-hook.d.ts +1 -1
  162. package/dist/lib/components/upload-file/src/upload-file-types.d.ts +19 -28
  163. package/dist/lib/components/upload-file/src/upload-file.vue.d.ts +28 -29
  164. package/dist/lib/components/upload-file-vxe/index.d.ts +78 -0
  165. package/dist/lib/components/upload-file-vxe/src/upload-file-vxe-types.d.ts +38 -0
  166. package/dist/lib/components/upload-file-vxe/src/upload-file-vxe.vue.d.ts +75 -0
  167. package/dist/lib/components/upload-image/index.d.ts +3 -3
  168. package/dist/lib/components/upload-image/src/upload-image.vue.d.ts +3 -3
  169. package/dist/lib/components/useChart/index.d.ts +11 -0
  170. package/dist/lib/components/useChart/lib.d.ts +2 -0
  171. package/dist/lib/components/useChart/types.d.ts +21 -0
  172. package/dist/lib/components/vxe-select/index.d.ts +24 -6
  173. package/dist/lib/components/vxe-select/src/vxe-select-types.d.ts +7 -1
  174. package/dist/lib/components/vxe-select/src/vxe-select.vue.d.ts +24 -6
  175. package/dist/lib/index.d.ts +5 -3
  176. package/dist/lib/utils/event.d.ts +35 -2
  177. package/dist/style.css +1 -6
  178. package/package.json +35 -29
  179. package/dist/components/ComponentsDemo.vue.d.ts +0 -13
  180. package/dist/components/EditPage.vue.d.ts +0 -6011
  181. package/dist/components/PreviewList.vue.d.ts +0 -218
  182. package/dist/components/hook/use-field-select-modal-hook.d.ts +0 -288
  183. package/dist/components/login.vue.d.ts +0 -19
  184. package/dist/components/mock.d.ts +0 -260
  185. package/dist/components/mockList.d.ts +0 -44
  186. package/dist/lib/components/codeEditorModel/index.d.ts +0 -187
  187. package/dist/lib/components/codeEditorModel/src/codeEditorModel.vue.d.ts +0 -184
  188. package/dist/lib/components/list-page-layout/src/components/common/add-modal/add-modal.vue.d.ts +0 -21
  189. package/dist/lib/components/upload-file/src/hook/use-operation-column-hook.d.ts +0 -15
  190. package/dist/router/index.d.ts +0 -4
  191. package/dist/stores/user.d.ts +0 -25
  192. package/dist/utils/qApiPlugin.d.ts +0 -6
  193. package/dist/views/dashboard/workspace.vue.d.ts +0 -6972
@@ -46,29 +46,14 @@ export declare const ListConfig: {
46
46
  isFNR: boolean;
47
47
  enterToTab: boolean;
48
48
  };
49
+ printConfig: {
50
+ beforePrintMethod: ({ content }: {
51
+ content: string;
52
+ }) => string;
53
+ };
49
54
  menuConfig: {
50
55
  body: {
51
- options: ({
52
- code: string;
53
- name: string;
54
- prefixIcon: string;
55
- }[] | {
56
- name: string;
57
- prefixIcon: string;
58
- children: ({
59
- code: string;
60
- name: string;
61
- prefixIcon: string;
62
- params?: undefined;
63
- } | {
64
- code: string;
65
- name: string;
66
- prefixIcon: string;
67
- params: {
68
- category: string;
69
- };
70
- })[];
71
- }[])[];
56
+ options: never[];
72
57
  };
73
58
  };
74
59
  };
@@ -0,0 +1,2 @@
1
+ import { RequestInfo } from '../list-page-layout-types';
2
+ export declare function handleMethodAndParams(requestMethod?: string): RequestInfo;
@@ -1,4 +1,5 @@
1
- import type { RecordStringNumber, LayoutConfig } from '../edit-page-layout';
1
+ import type { LayoutConfig } from '../edit-page-layout';
2
+ import type { RecordStringNumber } from '../select-modal';
2
3
  import type { DefineComponent, ComponentPropsOptions, ComputedRef, Ref, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes, ComponentObjectPropsOptions } from 'vue';
3
4
  import type { SFCWithInstall } from '@qqt-product/utils/dist/modules/withInstall';
4
5
  import QPageLayout from './src/page-layout.vue';
@@ -26,5 +27,5 @@ declare const _default: SFCWithInstall<DefineComponent<Readonly<ComponentPropsOp
26
27
  [x: string]: unknown;
27
28
  }>>>>, {
28
29
  [x: number]: string;
29
- } | {}>>;
30
+ } | {}, {}>>;
30
31
  export default _default;
@@ -1,10 +1,36 @@
1
- import type { PageButton, PageUploadButton } from '../../../edit-page-layout';
1
+ import type { PageButton } from '../../../edit-page-layout';
2
2
  export declare const BUTTON_DELETE_ROW: PageButton;
3
3
  export declare const BUTTON_ADD_ONE_ROW: PageButton;
4
4
  export declare const BUTTON_SAVE: PageButton;
5
+ export declare const BUTTON_CANCELAUDIT: PageButton;
5
6
  export declare const BUTTON_PUBLISH: PageButton;
6
7
  export declare const BUTTON_SUBMIT: PageButton;
8
+ export declare const BUTTON_UPLOAD: PageButton;
9
+ export declare const BUTTON_DOWNLOAD_ALL: PageButton;
10
+ export declare const BUTTON_REMOVE_ALL: PageButton;
11
+ export declare const BUTTON_IMPORT_ROW: PageButton;
12
+ export declare const BUTTON_FLOW_VIEW: PageButton;
13
+ export declare const BUTTON_CONFIRM: PageButton;
14
+ export declare const BUTTON_REJECT: PageButton;
7
15
  export declare const BUTTON_CUSTOM: PageButton;
8
16
  export declare const BUTTON_CUSTOM_PRIMARY: PageButton;
9
17
  export declare const BUTTON_CUSTOM_DANGER: PageButton;
10
- export declare const BUTTON_UPLOAD: PageUploadButton;
18
+ /**************************************审批按钮组 start************************************/
19
+ export declare const BUTTON_AUDIT_AGREE: PageButton;
20
+ export declare const BUTTON_AUDIT_REFUSE: PageButton;
21
+ export declare const BUTTON_AUDIT_INFORMED: PageButton;
22
+ export declare const BUTTON_AUDIT_TRANSFER: PageButton;
23
+ export declare const BUTTON_AUDIT_BACK: PageButton;
24
+ export declare const BUTTON_AUDIT_TRANSACTION: PageButton;
25
+ export declare const BUTTON_AUDIT_INVALID: PageButton;
26
+ export declare const BUTTON_AUDIT_REVOCATION: PageButton;
27
+ export declare const BUTTON_AUDIT_REVOCATION_PRE_SIGN: PageButton;
28
+ export declare const BUTTON_AUDIT_FLOW_IMAGE: PageButton;
29
+ export declare const BUTTON_AUDIT_APPROVAL_COMMENT: PageButton;
30
+ export declare const BUTTON_AUDIT_SIGN_NODE: PageButton;
31
+ export declare const BUTTON_AUDIT_PRE_SIGN: PageButton;
32
+ export declare const BUTTON_AUDIT_AFTER_SIGN: PageButton;
33
+ export declare const BUTTON_AUDIT_PRINT: PageButton;
34
+ export declare const BUTTON_AUDIT_ADD_NODE_HISTORY: PageButton;
35
+ export declare const BUTTON_AUDIT_CHAT: PageButton;
36
+ /**************************************审批按钮组 end************************************/
@@ -3,13 +3,48 @@ export declare const SYMBOL_DELETE_ROWS: unique symbol;
3
3
  export declare const SYMBOL_SAVE: unique symbol;
4
4
  export declare const SYMBOL_PUBLISH: unique symbol;
5
5
  export declare const SYMBOL_SUBMIT: unique symbol;
6
+ export declare const SYMBOL_CONFIRM: unique symbol;
7
+ export declare const SYMBOL_REJECT: unique symbol;
8
+ export declare const SYMBOL_CACHE_BUTTON: unique symbol;
9
+ export declare const SYMBOL_CACHE_PAGEDATA: unique symbol;
10
+ export declare const SYMBOL_CACHE_REFRESH: unique symbol;
11
+ export declare const SYMBOL_CACHE_SHOW_MESSAGE: unique symbol;
6
12
  export declare const SYMBOL_VALIDATE: unique symbol;
7
13
  export declare const SYMBOL_VALIDATE_RESULT: unique symbol;
8
14
  export declare const SYMBOL_VALIDATE_SUCCESS: unique symbol;
9
15
  export declare const SYMBOL_REFRESH: unique symbol;
10
16
  export declare const SYMBOL_BACK: unique symbol;
11
17
  export declare const SYMBOL_BINDFUNCTION: unique symbol;
18
+ export declare const SYMBOL_CUSTOM_BINDFUNCTION: unique symbol;
12
19
  export declare const SYMBOL_VXE_BINDFUNCTION: unique symbol;
20
+ export declare const SYMBOL_CUSTOM_VXE_BINDFUNCTION: unique symbol;
13
21
  export declare const SYMBOL_CUSTOM_CLICK: unique symbol;
22
+ export declare const SYMBOL_FIELD_OR_COLUMN_CUSTOM_CLICK: unique symbol;
14
23
  export declare const SYMBOL_UPLOAD: unique symbol;
15
24
  export declare const SYMBOL_UPLOAD_GRID: unique symbol;
25
+ export declare const SYMBOL_CANCELAUDIT: unique symbol;
26
+ export declare const SYMBOL_DOWNLOAD_ALL: unique symbol;
27
+ export declare const SYMBOL_REMOVE_ALL: unique symbol;
28
+ export declare const SYMBOL_CHECKBOX_CHANGE: unique symbol;
29
+ export declare const SYMBOL_CHECKBOX_ALL: unique symbol;
30
+ export declare const SYMBOL_IMPORT_ROWS: unique symbol;
31
+ export declare const SYMBOL_FLOW_VIEW: unique symbol;
32
+ /**************************************审批按钮组 start************************************/
33
+ export declare const SYMBOL_AUDIT_AGREE: unique symbol;
34
+ export declare const SYMBOL_AUDIT_REFUSE: unique symbol;
35
+ export declare const SYMBOL_AUDIT_INFORMED: unique symbol;
36
+ export declare const SYMBOL_AUDIT_TRANSFER: unique symbol;
37
+ export declare const SYMBOL_AUDIT_BACK: unique symbol;
38
+ export declare const SYMBOL_AUDIT_TRANSACTION: unique symbol;
39
+ export declare const SYMBOL_AUDIT_INVALID: unique symbol;
40
+ export declare const SYMBOL_AUDIT_REVOCATION: unique symbol;
41
+ export declare const SYMBOL_AUDIT_REVOCATION_PRE_SIGN: unique symbol;
42
+ export declare const SYMBOL_AUDIT_FLOW_IMAGE: unique symbol;
43
+ export declare const SYMBOL_AUDIT_APPROVAL_COMMENT: unique symbol;
44
+ export declare const SYMBOL_AUDIT_SIGN_NODE: unique symbol;
45
+ export declare const SYMBOL_AUDIT_PRE_SIGN: unique symbol;
46
+ export declare const SYMBOL_AUDIT_AFTER_SIGN: unique symbol;
47
+ export declare const SYMBOL_AUDIT_PRINT: unique symbol;
48
+ export declare const SYMBOL_AUDIT_ADD_NODE_HISTORY: unique symbol;
49
+ export declare const SYMBOL_AUDIT_CHAT: unique symbol;
50
+ /**************************************审批按钮组 end************************************/
@@ -1,6 +1,6 @@
1
1
  import type { Ref } from 'vue';
2
2
  import type { RecordStringNumber, LayoutConfig } from '../../../edit-page-layout';
3
- export default function usePageData(rawPageData: Ref<RecordStringNumber>, defaultValues: Ref<RecordStringNumber>, layoutConfig: Ref<LayoutConfig>): {
3
+ export default function useMergeDefaultValues(rawPageData: Ref<RecordStringNumber>, defaultValues: Ref<RecordStringNumber>, layoutConfig: Ref<LayoutConfig>): {
4
4
  pageData: Ref<RecordStringNumber>;
5
5
  isFinishData: Ref<boolean>;
6
6
  };
@@ -1,13 +1,17 @@
1
1
  import type { Ref } from 'vue';
2
- import type { ExposeWithPageButtons, PageButton, ValidateResult } from '../../../edit-page-layout';
3
- export default function usePromiseStep<T extends ExposeWithPageButtons>(payload: T): {
2
+ import type { UsePromiseStepPayload, ExposeWithPageButtons, RecordStringNumber, PageButton, ValidateResult } from '../../../edit-page-layout';
3
+ export default function usePromiseStep<T extends UsePromiseStepPayload>(payload: T): {
4
4
  customLoading: Ref<boolean>;
5
5
  normalizeStepPromiseMethod: <T_1 extends ExposeWithPageButtons>(key: string | symbol) => ((args: T_1) => Promise<ExposeWithPageButtons>)[];
6
6
  handleResetValidateStatus: (btn: PageButton) => void;
7
7
  handleValidateResult: ({ result, button }: ValidateResult) => void;
8
8
  stepSave: (args: ExposeWithPageButtons) => Promise<ExposeWithPageButtons>;
9
9
  stepAdd: (args: ExposeWithPageButtons) => Promise<ExposeWithPageButtons>;
10
- stepTriggerValidate: (symbolKey?: symbol | string) => void;
10
+ handleSetCacheButton: (btn: PageButton) => void;
11
+ handleSetCachePageData: (data: RecordStringNumber) => void;
12
+ handleSetCacheRefresh: (refresh: boolean) => void;
13
+ handleSetCacheShowMessage: (show: boolean) => void;
14
+ stepTriggerValidate: () => void;
11
15
  stepHideMessage: (args: ExposeWithPageButtons) => Promise<ExposeWithPageButtons>;
12
16
  stepShowMessage: (args: ExposeWithPageButtons) => Promise<ExposeWithPageButtons>;
13
17
  stepCheckBeforePublish: (args: ExposeWithPageButtons) => Promise<ExposeWithPageButtons>;
@@ -17,10 +21,16 @@ export default function usePromiseStep<T extends ExposeWithPageButtons>(payload:
17
21
  stepConfirmSubmit: (args: ExposeWithPageButtons) => Promise<ExposeWithPageButtons>;
18
22
  stepPublish: (args: ExposeWithPageButtons) => Promise<ExposeWithPageButtons>;
19
23
  stepSubmit: (args: ExposeWithPageButtons) => Promise<ExposeWithPageButtons>;
20
- promiseSaveSteps: (showMessage?: boolean) => Promise<ExposeWithPageButtons>;
21
- composeSave: (symbolKey?: symbol | string) => void;
22
- composePublish: (symbolKey?: symbol | string) => void;
23
- restOfPublish: (button: PageButton) => void;
24
- composeSubmit: (symbolKey?: symbol | string) => void;
25
- restOfSubmit: (button: PageButton) => void;
24
+ promiseSaveSteps: () => Promise<ExposeWithPageButtons>;
25
+ composeSave: () => void;
26
+ composePublish: () => void;
27
+ restOfPublish: () => void;
28
+ composeSubmit: () => void;
29
+ restOfSubmit: () => void;
30
+ composeConfirm: (refresh?: boolean) => void;
31
+ restOfConfirm: () => void;
32
+ composeReject: () => void;
33
+ composeCancelAudit: () => void;
34
+ stepCancelAuditModal: (args: ExposeWithPageButtons) => Promise<ExposeWithPageButtons>;
35
+ stepCancelAudit: (args: ExposeWithPageButtons) => Promise<ExposeWithPageButtons>;
26
36
  };
@@ -16,5 +16,5 @@ declare const _sfc_main: DefineComponent<Readonly<ComponentPropsOptions<{
16
16
  [x: string]: unknown;
17
17
  }>>>>, {
18
18
  [x: number]: string;
19
- } | {}>;
19
+ } | {}, {}>;
20
20
  export default _sfc_main;
@@ -91,14 +91,14 @@ declare const _default: SFCWithInstall<DefineComponent<{
91
91
  onChange?: ((...args: any[]) => any) | undefined;
92
92
  "onUpdate:value"?: ((...args: any[]) => any) | undefined;
93
93
  }, {
94
- readonly dictCode: string;
95
94
  readonly busAccount: string;
96
- readonly required: "0" | "1";
97
- readonly options: Option[];
98
- readonly colSpan: string;
99
- readonly value: string;
100
95
  readonly onChange: ((value: string) => void) | ((value: string) => void)[];
96
+ readonly value: string;
97
+ readonly options: Option[];
101
98
  readonly 'onUpdate:value': ((value: string) => void) | ((value: string) => void)[];
99
+ readonly required: "0" | "1";
100
+ readonly dictCode: string;
102
101
  readonly isLayout: boolean;
103
- }>>;
102
+ readonly colSpan: string;
103
+ }, {}>>;
104
104
  export default _default;
@@ -87,14 +87,14 @@ declare const _sfc_main: DefineComponent<{
87
87
  onChange?: ((...args: any[]) => any) | undefined;
88
88
  "onUpdate:value"?: ((...args: any[]) => any) | undefined;
89
89
  }, {
90
- readonly dictCode: string;
91
90
  readonly busAccount: string;
92
- readonly required: "0" | "1";
93
- readonly options: Option[];
94
- readonly colSpan: string;
95
- readonly value: string;
96
91
  readonly onChange: ((value: string) => void) | ((value: string) => void)[];
92
+ readonly value: string;
93
+ readonly options: Option[];
97
94
  readonly 'onUpdate:value': ((value: string) => void) | ((value: string) => void)[];
95
+ readonly required: "0" | "1";
96
+ readonly dictCode: string;
98
97
  readonly isLayout: boolean;
99
- }>;
98
+ readonly colSpan: string;
99
+ }, {}>;
100
100
  export default _sfc_main;
@@ -0,0 +1,23 @@
1
+ import type { PropType, ExtractPropTypes } from 'vue';
2
+ import type { RecordStringNumber } from './../../edit-page-layout';
3
+ export declare const relationGraphProps: {
4
+ readonly visible: {
5
+ readonly type: BooleanConstructor;
6
+ readonly default: false;
7
+ };
8
+ readonly documentId: {
9
+ readonly require: true;
10
+ readonly type: StringConstructor;
11
+ readonly default: "";
12
+ };
13
+ readonly id: {
14
+ readonly require: true;
15
+ readonly type: StringConstructor;
16
+ readonly default: "";
17
+ };
18
+ readonly onChange: {
19
+ type: PropType<((value: RecordStringNumber[]) => void) | ((value: RecordStringNumber[]) => void)[]>;
20
+ default: unknown;
21
+ };
22
+ };
23
+ export type RelationGraphProps = ExtractPropTypes<typeof relationGraphProps>;
@@ -1,4 +1,5 @@
1
- import type { RequestMethod } from './src/remote-select-types';
1
+ import type { MessageType } from 'ant-design-vue/lib/message';
2
+ import type { Config, RecordStringNumber } from './src/remote-select-types';
2
3
  import type { DefineComponent, PropType, ComputedRef, Ref, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
3
4
  import type { SFCWithInstall } from '@qqt-product/utils/dist/modules/withInstall';
4
5
  import QRemoteSelect from './src/remote-select.vue';
@@ -10,37 +11,19 @@ declare const _default: SFCWithInstall<DefineComponent<{
10
11
  default: string;
11
12
  };
12
13
  config: {
13
- type: ObjectConstructor;
14
- default(): {
15
- bindFunction: () => void;
16
- };
14
+ type: PropType<Config>;
15
+ default: () => {};
17
16
  };
18
- placeholder: {
19
- type: StringConstructor;
20
- default: string;
17
+ row: {
18
+ type: PropType<Record<string | number, unknown>>;
19
+ default: () => {};
21
20
  };
22
- disabled: {
23
- type: BooleanConstructor;
24
- default: boolean;
25
- };
26
- apiUrls: {
27
- type: StringConstructor;
28
- default: string;
29
- };
30
- requestMethod: {
31
- type: PropType<RequestMethod>;
32
- default: string;
33
- };
34
- 'onUpdate:value': {
35
- type: PropType<((value: string) => void) | ((value: string) => void)[]>;
36
- default: unknown;
21
+ idx: {
22
+ type: NumberConstructor;
23
+ default: number;
37
24
  };
38
25
  onChange: {
39
- type: PropType<((value: string) => void) | ((value: string) => void)[]>;
40
- default: unknown;
41
- };
42
- clear: {
43
- type: PropType<((value: string) => void) | ((value: string) => void)[]>;
26
+ type: PropType<((value: RecordStringNumber[]) => void) | ((value: RecordStringNumber[]) => void)[]>;
44
27
  default: unknown;
45
28
  };
46
29
  }, {
@@ -48,7 +31,8 @@ declare const _default: SFCWithInstall<DefineComponent<{
48
31
  [x: string]: boolean;
49
32
  }>;
50
33
  value: Ref<string>;
51
- config: Ref<Record<string, any>>;
34
+ valueKey: Ref<any>;
35
+ config: Ref<Config>;
52
36
  data: {
53
37
  modalLoading: boolean;
54
38
  url: string;
@@ -58,65 +42,40 @@ declare const _default: SFCWithInstall<DefineComponent<{
58
42
  keyWord: string;
59
43
  };
60
44
  dataSource: {
45
+ [x: string]: string;
61
46
  id: string;
62
47
  }[];
63
48
  };
64
- placeholder: Ref<string>;
65
- disabled: Ref<boolean>;
66
- requestMethod: Ref<RequestMethod>;
67
- formatTitle: (item: Record<string, unknown>) => any;
68
- handleSearch: (val?: string) => void;
49
+ formatTitle: (item: Record<string, unknown>) => string;
69
50
  handleFocus: () => void;
70
- handleChange: (changeValue: string) => void;
71
- clearInputValue: () => void;
51
+ handleSearch: (val?: string) => void;
52
+ handleChange: (changeValue: string) => void | MessageType;
72
53
  }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
73
54
  value: {
74
55
  type: StringConstructor;
75
56
  default: string;
76
57
  };
77
58
  config: {
78
- type: ObjectConstructor;
79
- default(): {
80
- bindFunction: () => void;
81
- };
59
+ type: PropType<Config>;
60
+ default: () => {};
82
61
  };
83
- placeholder: {
84
- type: StringConstructor;
85
- default: string;
62
+ row: {
63
+ type: PropType<Record<string | number, unknown>>;
64
+ default: () => {};
86
65
  };
87
- disabled: {
88
- type: BooleanConstructor;
89
- default: boolean;
90
- };
91
- apiUrls: {
92
- type: StringConstructor;
93
- default: string;
94
- };
95
- requestMethod: {
96
- type: PropType<RequestMethod>;
97
- default: string;
98
- };
99
- 'onUpdate:value': {
100
- type: PropType<((value: string) => void) | ((value: string) => void)[]>;
101
- default: unknown;
66
+ idx: {
67
+ type: NumberConstructor;
68
+ default: number;
102
69
  };
103
70
  onChange: {
104
- type: PropType<((value: string) => void) | ((value: string) => void)[]>;
105
- default: unknown;
106
- };
107
- clear: {
108
- type: PropType<((value: string) => void) | ((value: string) => void)[]>;
71
+ type: PropType<((value: RecordStringNumber[]) => void) | ((value: RecordStringNumber[]) => void)[]>;
109
72
  default: unknown;
110
73
  };
111
74
  }>>, {
112
- disabled: boolean;
113
- apiUrls: string;
114
- requestMethod: RequestMethod;
115
- placeholder: string;
75
+ row: Record<string | number, unknown>;
76
+ onChange: ((value: RecordStringNumber[]) => void) | ((value: RecordStringNumber[]) => void)[];
116
77
  value: string;
117
- onChange: ((value: string) => void) | ((value: string) => void)[];
118
- 'onUpdate:value': ((value: string) => void) | ((value: string) => void)[];
119
- config: Record<string, any>;
120
- clear: ((value: string) => void) | ((value: string) => void)[];
121
- }>>;
78
+ config: Config;
79
+ idx: number;
80
+ }, {}>>;
122
81
  export default _default;
@@ -1,49 +1,65 @@
1
1
  import type { ComputedRef, ExtractPropTypes, PropType } from 'vue';
2
+ import type { FormFieldsItem, RecordStringNumber } from './../../edit-page-layout';
2
3
  import type { VxeTableProps } from 'vxe-table';
4
+ export { RecordStringNumber };
3
5
  export type TableConfig = VxeTableProps;
4
6
  export type RequestMethod = 'get' | 'post';
7
+ export interface Columns {
8
+ type?: string;
9
+ field: string;
10
+ title?: string;
11
+ align?: string;
12
+ fieldLabelI18nKey?: string;
13
+ width?: number;
14
+ }
15
+ export interface ExtendFunImport {
16
+ pageData: RecordStringNumber;
17
+ userInfo: RecordStringNumber;
18
+ row?: RecordStringNumber;
19
+ idx?: number;
20
+ }
21
+ export type HandleBefore = (value?: ExtendFunImport) => Promise<string | boolean | void>;
22
+ export type HandleAfter = (value?: ExtendFunImport) => void;
23
+ export type ModalParams = Record<number | string, unknown> | ((value?: ExtendFunImport) => Record<number | string, unknown>);
24
+ export interface Extend {
25
+ valueKey?: string;
26
+ current?: number;
27
+ modalColumns: Columns[];
28
+ modalUrl: string;
29
+ modalConfigs?: unknown[];
30
+ modalParams?: ModalParams;
31
+ params?: ModalParams;
32
+ requestMethod: RequestMethod;
33
+ handleBefore?: HandleBefore;
34
+ handleAfter?: HandleAfter;
35
+ }
36
+ export interface Config extends FormFieldsItem {
37
+ extend: Extend;
38
+ }
5
39
  export declare const remoteSelectProps: {
6
40
  value: {
7
41
  type: StringConstructor;
8
42
  default: string;
9
43
  };
10
44
  config: {
11
- type: ObjectConstructor;
12
- default(): {
13
- bindFunction: () => void;
14
- };
45
+ type: PropType<Config>;
46
+ default: () => {};
15
47
  };
16
- placeholder: {
17
- type: StringConstructor;
18
- default: string;
48
+ row: {
49
+ type: PropType<Record<string | number, unknown>>;
50
+ default: () => {};
19
51
  };
20
- disabled: {
21
- type: BooleanConstructor;
22
- default: boolean;
23
- };
24
- apiUrls: {
25
- type: StringConstructor;
26
- default: string;
27
- };
28
- requestMethod: {
29
- type: PropType<RequestMethod>;
30
- default: string;
31
- };
32
- 'onUpdate:value': {
33
- type: PropType<((value: string) => void) | ((value: string) => void)[]>;
34
- default: unknown;
52
+ idx: {
53
+ type: NumberConstructor;
54
+ default: number;
35
55
  };
36
56
  onChange: {
37
- type: PropType<((value: string) => void) | ((value: string) => void)[]>;
38
- default: unknown;
39
- };
40
- clear: {
41
- type: PropType<((value: string) => void) | ((value: string) => void)[]>;
57
+ type: PropType<((value: RecordStringNumber[]) => void) | ((value: RecordStringNumber[]) => void)[]>;
42
58
  default: unknown;
43
59
  };
44
60
  };
45
61
  export type RemoteSelectProps = ExtractPropTypes<typeof remoteSelectProps>;
46
- export interface UseSelectModalType {
62
+ export interface UseRemoteSelectType {
47
63
  classes: ComputedRef<{
48
64
  [key: string]: string | boolean;
49
65
  }>;
@@ -1,42 +1,25 @@
1
- import type { RequestMethod } from './remote-select-types';
2
- import type { DefineComponent, PropType, ComputedRef, Ref, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
1
+ import type { MessageType } from 'ant-design-vue/lib/message';
2
+ import type { Config, RecordStringNumber } from './remote-select-types';
3
+ import type { DefineComponent, PropType, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes, Ref, ComputedRef } from 'vue';
3
4
  declare const _sfc_main: DefineComponent<{
4
5
  value: {
5
6
  type: StringConstructor;
6
7
  default: string;
7
8
  };
8
9
  config: {
9
- type: ObjectConstructor;
10
- default(): {
11
- bindFunction: () => void;
12
- };
10
+ type: PropType<Config>;
11
+ default: () => {};
13
12
  };
14
- placeholder: {
15
- type: StringConstructor;
16
- default: string;
13
+ row: {
14
+ type: PropType<Record<string | number, unknown>>;
15
+ default: () => {};
17
16
  };
18
- disabled: {
19
- type: BooleanConstructor;
20
- default: boolean;
21
- };
22
- apiUrls: {
23
- type: StringConstructor;
24
- default: string;
25
- };
26
- requestMethod: {
27
- type: PropType<RequestMethod>;
28
- default: string;
29
- };
30
- 'onUpdate:value': {
31
- type: PropType<((value: string) => void) | ((value: string) => void)[]>;
32
- default: unknown;
17
+ idx: {
18
+ type: NumberConstructor;
19
+ default: number;
33
20
  };
34
21
  onChange: {
35
- type: PropType<((value: string) => void) | ((value: string) => void)[]>;
36
- default: unknown;
37
- };
38
- clear: {
39
- type: PropType<((value: string) => void) | ((value: string) => void)[]>;
22
+ type: PropType<((value: RecordStringNumber[]) => void) | ((value: RecordStringNumber[]) => void)[]>;
40
23
  default: unknown;
41
24
  };
42
25
  }, {
@@ -44,7 +27,8 @@ declare const _sfc_main: DefineComponent<{
44
27
  [x: string]: boolean;
45
28
  }>;
46
29
  value: Ref<string>;
47
- config: Ref<Record<string, any>>;
30
+ valueKey: Ref<any>;
31
+ config: Ref<Config>;
48
32
  data: {
49
33
  modalLoading: boolean;
50
34
  url: string;
@@ -54,65 +38,40 @@ declare const _sfc_main: DefineComponent<{
54
38
  keyWord: string;
55
39
  };
56
40
  dataSource: {
41
+ [x: string]: string;
57
42
  id: string;
58
43
  }[];
59
44
  };
60
- placeholder: Ref<string>;
61
- disabled: Ref<boolean>;
62
- requestMethod: Ref<RequestMethod>;
63
- formatTitle: (item: Record<string, unknown>) => any;
64
- handleSearch: (val?: string) => void;
45
+ formatTitle: (item: Record<string, unknown>) => string;
65
46
  handleFocus: () => void;
66
- handleChange: (changeValue: string) => void;
67
- clearInputValue: () => void;
47
+ handleSearch: (val?: string) => void;
48
+ handleChange: (changeValue: string) => void | MessageType;
68
49
  }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
69
50
  value: {
70
51
  type: StringConstructor;
71
52
  default: string;
72
53
  };
73
54
  config: {
74
- type: ObjectConstructor;
75
- default(): {
76
- bindFunction: () => void;
77
- };
55
+ type: PropType<Config>;
56
+ default: () => {};
78
57
  };
79
- placeholder: {
80
- type: StringConstructor;
81
- default: string;
58
+ row: {
59
+ type: PropType<Record<string | number, unknown>>;
60
+ default: () => {};
82
61
  };
83
- disabled: {
84
- type: BooleanConstructor;
85
- default: boolean;
86
- };
87
- apiUrls: {
88
- type: StringConstructor;
89
- default: string;
90
- };
91
- requestMethod: {
92
- type: PropType<RequestMethod>;
93
- default: string;
94
- };
95
- 'onUpdate:value': {
96
- type: PropType<((value: string) => void) | ((value: string) => void)[]>;
97
- default: unknown;
62
+ idx: {
63
+ type: NumberConstructor;
64
+ default: number;
98
65
  };
99
66
  onChange: {
100
- type: PropType<((value: string) => void) | ((value: string) => void)[]>;
101
- default: unknown;
102
- };
103
- clear: {
104
- type: PropType<((value: string) => void) | ((value: string) => void)[]>;
67
+ type: PropType<((value: RecordStringNumber[]) => void) | ((value: RecordStringNumber[]) => void)[]>;
105
68
  default: unknown;
106
69
  };
107
70
  }>>, {
108
- disabled: boolean;
109
- apiUrls: string;
110
- requestMethod: RequestMethod;
111
- placeholder: string;
71
+ row: Record<string | number, unknown>;
72
+ onChange: ((value: RecordStringNumber[]) => void) | ((value: RecordStringNumber[]) => void)[];
112
73
  value: string;
113
- onChange: ((value: string) => void) | ((value: string) => void)[];
114
- 'onUpdate:value': ((value: string) => void) | ((value: string) => void)[];
115
- config: Record<string, any>;
116
- clear: ((value: string) => void) | ((value: string) => void)[];
117
- }>;
74
+ config: Config;
75
+ idx: number;
76
+ }, {}>;
118
77
  export default _sfc_main;