@qqt-product/ui 0.0.16 → 0.0.18

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 (130) hide show
  1. package/dist/index.es.js +81533 -81528
  2. package/dist/index.umd.js +149 -209
  3. package/dist/lib/components/audit-modal/index.d.ts +14 -3
  4. package/dist/lib/components/audit-modal/src/audit-modal-type.d.ts +4 -0
  5. package/dist/lib/components/audit-modal/src/audit-modal.vue.d.ts +14 -3
  6. package/dist/lib/components/audit-modal/src/component/addNodeHistoryModal.vue.d.ts +10 -1
  7. package/dist/lib/components/audit-modal/src/component/approvalOpinionModal.vue.d.ts +11 -2
  8. package/dist/lib/components/audit-modal/src/hook/list-slot-hook.d.ts +1 -1
  9. package/dist/lib/components/audit-modal/src/hook/use-field-select-modal-hook.d.ts +2 -2
  10. package/dist/lib/components/cascader/index.d.ts +2 -2
  11. package/dist/lib/components/cascader/src/cascader.vue.d.ts +3 -2
  12. package/dist/lib/components/checkbox/index.d.ts +4 -4
  13. package/dist/lib/components/checkbox/src/checkbox-types.d.ts +1 -1
  14. package/dist/lib/components/checkbox/src/checkbox.vue.d.ts +4 -4
  15. package/dist/lib/components/code-editor-model/src/code-editor-model.vue.d.ts +73 -5
  16. package/dist/lib/components/code-editor-model/src/one-dark.d.ts +90 -0
  17. package/dist/lib/components/countdown/index.d.ts +4 -4
  18. package/dist/lib/components/countdown/src/countdown.d.ts +4 -4
  19. package/dist/lib/components/coutdown/index.d.ts +3 -3
  20. package/dist/lib/components/coutdown/src/coutdown.vue.d.ts +3 -3
  21. package/dist/lib/components/currency/index.d.ts +3 -3
  22. package/dist/lib/components/currency/src/currency-type.d.ts +1 -1
  23. package/dist/lib/components/currency/src/currency.vue.d.ts +3 -3
  24. package/dist/lib/components/detail-form/index.d.ts +11 -8
  25. package/dist/lib/components/detail-form/src/detail-form.vue.d.ts +12 -9
  26. package/dist/lib/components/detail-grid/index.d.ts +24 -15
  27. package/dist/lib/components/detail-grid/src/detail-grid.vue.d.ts +24 -15
  28. package/dist/lib/components/detail-page-layout/index.d.ts +34 -7
  29. package/dist/lib/components/detail-page-layout/src/detail-page-layout.vue.d.ts +33 -6
  30. package/dist/lib/components/edit-form/index.d.ts +13 -13
  31. package/dist/lib/components/edit-form/src/edit-form-types.d.ts +1 -1
  32. package/dist/lib/components/edit-form/src/edit-form.vue.d.ts +14 -14
  33. package/dist/lib/components/edit-form/src/hook/use-callback-hook.d.ts +7 -6
  34. package/dist/lib/components/edit-grid/index.d.ts +25 -15
  35. package/dist/lib/components/edit-grid/src/edit-grid-types.d.ts +4 -0
  36. package/dist/lib/components/edit-grid/src/edit-grid.vue.d.ts +25 -15
  37. package/dist/lib/components/edit-grid/src/hook/use-grid-height-hook.d.ts +2 -2
  38. package/dist/lib/components/edit-page-layout/index.d.ts +33 -6
  39. package/dist/lib/components/edit-page-layout/src/edit-page-layout-types.d.ts +58 -35
  40. package/dist/lib/components/edit-page-layout/src/edit-page-layout.vue.d.ts +33 -6
  41. package/dist/lib/components/edit-page-layout/src/types.d.ts +1 -1
  42. package/dist/lib/components/empty/index.d.ts +103 -0
  43. package/dist/lib/components/field-select-modal/index.d.ts +5 -0
  44. package/dist/lib/components/field-select-modal/src/field-select-modal.vue.d.ts +5 -0
  45. package/dist/lib/components/flow-view/index.d.ts +2 -2
  46. package/dist/lib/components/flow-view/src/flow-view.d.ts +2 -2
  47. package/dist/lib/components/import-modal/index.d.ts +1 -1
  48. package/dist/lib/components/import-modal/src/import-modal.vue.d.ts +1 -1
  49. package/dist/lib/components/index.d.ts +4 -1
  50. package/dist/lib/components/item-wrap/index.d.ts +6 -6
  51. package/dist/lib/components/item-wrap/src/item-wrap-types.d.ts +2 -2
  52. package/dist/lib/components/item-wrap/src/item-wrap.vue.d.ts +6 -6
  53. package/dist/lib/components/ladder-price/index.d.ts +6 -2
  54. package/dist/lib/components/ladder-price/src/LadderNotPriceModal.vue.d.ts +7 -3
  55. package/dist/lib/components/ladder-price/src/LadderPriceModal.vue.d.ts +3 -1
  56. package/dist/lib/components/ladder-price/src/hook/use-type-hook.d.ts +9 -0
  57. package/dist/lib/components/ladder-price/src/ladder-price-types.d.ts +2 -2
  58. package/dist/lib/components/ladder-price/src/ladder-price.vue.d.ts +6 -2
  59. package/dist/lib/components/layout-buttons/index.d.ts +4 -2
  60. package/dist/lib/components/layout-buttons/src/layout-buttons.vue.d.ts +4 -2
  61. package/dist/lib/components/layout-pattern/index.d.ts +2 -2
  62. package/dist/lib/components/layout-pattern/src/components/vertical.vue.d.ts +30 -25
  63. package/dist/lib/components/layout-pattern/src/hook/use-audit-button-hook.d.ts +9 -8
  64. package/dist/lib/components/layout-pattern/src/layout-pattern.vue.d.ts +2 -2
  65. package/dist/lib/components/list-page-layout/index.d.ts +10 -2
  66. package/dist/lib/components/list-page-layout/src/components/common/record-modal/record-modal.vue.d.ts +26 -26
  67. package/dist/lib/components/list-page-layout/src/components/list-content/list-content.vue.d.ts +15 -3
  68. package/dist/lib/components/list-page-layout/src/components/list-header/list-header.vue.d.ts +4 -2
  69. package/dist/lib/components/list-page-layout/src/components/list-header/module/tabs/index.vue.d.ts +2 -2
  70. package/dist/lib/components/list-page-layout/src/hooks/get-columns-hook.d.ts +2 -2
  71. package/dist/lib/components/list-page-layout/src/layout.vue.d.ts +10 -2
  72. package/dist/lib/components/list-page-layout/src/list-page-layout-types.d.ts +9 -2
  73. package/dist/lib/components/menu/index.d.ts +84 -0
  74. package/dist/lib/components/menu/src/index.d.ts +80 -0
  75. package/dist/lib/components/menu/src/menu-types.d.ts +47 -0
  76. package/dist/lib/components/menu/src/use-menu.d.ts +2 -0
  77. package/dist/lib/components/page-layout/index.d.ts +4 -4
  78. package/dist/lib/components/page-layout/src/constant/buttons.d.ts +6 -6
  79. package/dist/lib/components/page-layout/src/constant/symbol.d.ts +1 -0
  80. package/dist/lib/components/page-layout/src/hook/use-merge-defaultValues-hook.d.ts +3 -3
  81. package/dist/lib/components/page-layout/src/hook/use-page-data-hook.d.ts +2 -2
  82. package/dist/lib/components/page-layout/src/hook/use-promise-step.d.ts +5 -3
  83. package/dist/lib/components/page-layout/src/hook/use-ref-instance-hook.d.ts +3 -3
  84. package/dist/lib/components/page-layout/src/hook/use-remote-config-hook.d.ts +2 -2
  85. package/dist/lib/components/page-layout/src/page-layout.vue.d.ts +4 -4
  86. package/dist/lib/components/page-layout/src/token.d.ts +4 -4
  87. package/dist/lib/components/radio/index.d.ts +4 -4
  88. package/dist/lib/components/radio/src/radio-types.d.ts +1 -1
  89. package/dist/lib/components/radio/src/radio.vue.d.ts +4 -4
  90. package/dist/lib/components/relation-graph/src/relation-graph-types.d.ts +2 -2
  91. package/dist/lib/components/remote-select/index.d.ts +5 -5
  92. package/dist/lib/components/remote-select/src/remote-select-types.d.ts +6 -6
  93. package/dist/lib/components/remote-select/src/remote-select.vue.d.ts +5 -5
  94. package/dist/lib/components/rich-editor-model/index.d.ts +52 -0
  95. package/dist/lib/components/rich-editor-model/src/rich-editor-model-type.d.ts +14 -0
  96. package/dist/lib/components/rich-editor-model/src/rich-editor-model.vue.d.ts +49 -0
  97. package/dist/lib/components/sale-template/index.d.ts +6 -6
  98. package/dist/lib/components/sale-template/src/sale-template.vue.d.ts +6 -6
  99. package/dist/lib/components/select/index.d.ts +1 -1
  100. package/dist/lib/components/select/src/select.vue.d.ts +1 -1
  101. package/dist/lib/components/select-modal/index.d.ts +17 -8
  102. package/dist/lib/components/select-modal/src/select-modal-types.d.ts +6 -6
  103. package/dist/lib/components/select-modal/src/select-modal.vue.d.ts +17 -8
  104. package/dist/lib/components/select-template/index.d.ts +1 -1
  105. package/dist/lib/components/select-template/src/select-template.vue.d.ts +1 -1
  106. package/dist/lib/components/switch/index.d.ts +5 -5
  107. package/dist/lib/components/switch/src/switch-types.d.ts +1 -1
  108. package/dist/lib/components/switch/src/switch.vue.d.ts +5 -5
  109. package/dist/lib/components/tree-select/index.d.ts +5 -5
  110. package/dist/lib/components/tree-select/src/tree-select-types.d.ts +2 -2
  111. package/dist/lib/components/tree-select/src/tree-select.vue.d.ts +5 -5
  112. package/dist/lib/components/upload-file/index.d.ts +6 -6
  113. package/dist/lib/components/upload-file/src/hook/use-file-column-hook.d.ts +2 -32
  114. package/dist/lib/components/upload-file/src/hook/use-operation-column-button-hook.d.ts +2 -2
  115. package/dist/lib/components/upload-file/src/upload-file-types.d.ts +7 -6
  116. package/dist/lib/components/upload-file/src/upload-file.vue.d.ts +6 -6
  117. package/dist/lib/components/upload-file-vxe/index.d.ts +8 -6
  118. package/dist/lib/components/upload-file-vxe/src/upload-file-vxe-types.d.ts +2 -2
  119. package/dist/lib/components/upload-file-vxe/src/upload-file-vxe.vue.d.ts +8 -6
  120. package/dist/lib/components/upload-image/index.d.ts +11 -1
  121. package/dist/lib/components/upload-image/src/upload-image-type.d.ts +4 -0
  122. package/dist/lib/components/upload-image/src/upload-image.vue.d.ts +11 -1
  123. package/dist/lib/components/vxe-select/index.d.ts +4 -4
  124. package/dist/lib/components/vxe-select/src/vxe-select.vue.d.ts +4 -4
  125. package/dist/lib/utils/event.d.ts +4 -3
  126. package/dist/lib/utils/use-create-link-hook.d.ts +24 -0
  127. package/dist/style.css +1 -1
  128. package/package.json +21 -18
  129. package/dist/lib/components/edit-grid/src/components/empty/index.d.ts +0 -8
  130. package/dist/vite.svg +0 -1
@@ -1,7 +1,7 @@
1
1
  import type { DefineComponent, PropType, Ref, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
2
2
  declare const _sfc_main: DefineComponent<{
3
3
  readonly checked: {
4
- readonly type: PropType<"0" | "1">;
4
+ readonly type: PropType<"1" | "0">;
5
5
  readonly default: "0";
6
6
  };
7
7
  readonly 'onUpdate:checked': {
@@ -13,12 +13,12 @@ declare const _sfc_main: DefineComponent<{
13
13
  default: unknown;
14
14
  };
15
15
  }, {
16
- checked: Ref<"0" | "1">;
17
- realChecked: Ref<"0" | "1">;
16
+ checked: Ref<"1" | "0">;
17
+ realChecked: Ref<"1" | "0">;
18
18
  onChange: (value: string) => void;
19
19
  }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("change" | "update:checked")[], "change" | "update:checked", VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
20
20
  readonly checked: {
21
- readonly type: PropType<"0" | "1">;
21
+ readonly type: PropType<"1" | "0">;
22
22
  readonly default: "0";
23
23
  };
24
24
  readonly 'onUpdate:checked': {
@@ -34,7 +34,7 @@ declare const _sfc_main: DefineComponent<{
34
34
  "onUpdate:checked"?: ((...args: any[]) => any) | undefined;
35
35
  }, {
36
36
  readonly onChange: ((value: unknown) => void) | ((value: unknown) => void)[];
37
- readonly checked: "0" | "1";
37
+ readonly checked: "1" | "0";
38
38
  readonly 'onUpdate:checked': ((value: string) => void) | ((value: string) => void)[];
39
39
  }, {}>;
40
40
  export default _sfc_main;
@@ -1,5 +1,5 @@
1
1
  import type { FieldNames, TreeNode, TreeSelectPayload } from './src/tree-select-types';
2
- import type { RecordStringNumber } from '../select-modal';
2
+ import type { RecordString } from '../select-modal';
3
3
  import type { DefineComponent, PropType, ComputedRef, Ref, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
4
4
  import type { SFCWithInstall } from '@qqt-product/utils/dist/modules/withInstall';
5
5
  import QTreeSelect from './src/tree-select.vue';
@@ -19,7 +19,7 @@ declare const _default: SFCWithInstall<DefineComponent<{
19
19
  readonly default: "";
20
20
  };
21
21
  readonly params: {
22
- readonly type: PropType<RecordStringNumber>;
22
+ readonly type: PropType<RecordString>;
23
23
  readonly default: () => {};
24
24
  };
25
25
  readonly fieldNames: {
@@ -76,7 +76,7 @@ declare const _default: SFCWithInstall<DefineComponent<{
76
76
  readonly default: "";
77
77
  };
78
78
  readonly params: {
79
- readonly type: PropType<RecordStringNumber>;
79
+ readonly type: PropType<RecordString>;
80
80
  readonly default: () => {};
81
81
  };
82
82
  readonly fieldNames: {
@@ -103,9 +103,9 @@ declare const _default: SFCWithInstall<DefineComponent<{
103
103
  onChange?: ((...args: any[]) => any) | undefined;
104
104
  "onUpdate:value"?: ((...args: any[]) => any) | undefined;
105
105
  }, {
106
- readonly multiple: boolean;
107
- readonly params: RecordStringNumber;
106
+ readonly params: RecordString;
108
107
  readonly onChange: ((payload: TreeSelectPayload) => void) | ((payload: TreeSelectPayload) => void)[];
108
+ readonly multiple: boolean;
109
109
  readonly value: string;
110
110
  readonly options: TreeNode[];
111
111
  readonly 'onUpdate:value': ((value: string) => void) | ((value: string) => void)[];
@@ -1,5 +1,5 @@
1
1
  import type { ComputedRef, PropType, ExtractPropTypes } from 'vue';
2
- import type { RecordStringNumber } from '../../edit-page-layout';
2
+ import type { RecordString } from '../../edit-page-layout';
3
3
  export interface TreeNode {
4
4
  id: string;
5
5
  key: string;
@@ -34,7 +34,7 @@ export declare const treeSelectProps: {
34
34
  readonly default: "";
35
35
  };
36
36
  readonly params: {
37
- readonly type: PropType<RecordStringNumber>;
37
+ readonly type: PropType<RecordString>;
38
38
  readonly default: () => {};
39
39
  };
40
40
  readonly fieldNames: {
@@ -1,4 +1,4 @@
1
- import type { RecordStringNumber } from '../../select-modal';
1
+ import type { RecordString } from '../../select-modal';
2
2
  import type { DefineComponent, PropType, ComputedRef, Ref, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
3
3
  import type { FieldNames, TreeSelectPayload, TreeNode } from './tree-select-types';
4
4
  declare const _sfc_main: DefineComponent<{
@@ -15,7 +15,7 @@ declare const _sfc_main: DefineComponent<{
15
15
  readonly default: "";
16
16
  };
17
17
  readonly params: {
18
- readonly type: PropType<RecordStringNumber>;
18
+ readonly type: PropType<RecordString>;
19
19
  readonly default: () => {};
20
20
  };
21
21
  readonly fieldNames: {
@@ -72,7 +72,7 @@ declare const _sfc_main: DefineComponent<{
72
72
  readonly default: "";
73
73
  };
74
74
  readonly params: {
75
- readonly type: PropType<RecordStringNumber>;
75
+ readonly type: PropType<RecordString>;
76
76
  readonly default: () => {};
77
77
  };
78
78
  readonly fieldNames: {
@@ -99,9 +99,9 @@ declare const _sfc_main: DefineComponent<{
99
99
  onChange?: ((...args: any[]) => any) | undefined;
100
100
  "onUpdate:value"?: ((...args: any[]) => any) | undefined;
101
101
  }, {
102
- readonly multiple: boolean;
103
- readonly params: RecordStringNumber;
102
+ readonly params: RecordString;
104
103
  readonly onChange: ((payload: TreeSelectPayload) => void) | ((payload: TreeSelectPayload) => void)[];
104
+ readonly multiple: boolean;
105
105
  readonly value: string;
106
106
  readonly options: TreeNode[];
107
107
  readonly 'onUpdate:value': ((value: string) => void) | ((value: string) => void)[];
@@ -1,7 +1,7 @@
1
1
  import type { UploadFile } from 'ant-design-vue';
2
2
  import type { FileType } from 'ant-design-vue/lib/upload/interface';
3
3
  import type { validateInfos } from 'ant-design-vue/lib/form/useForm';
4
- import type { RecordStringNumber } from '../select-modal';
4
+ import type { RecordString } from '../select-modal';
5
5
  import type { Data, FileTypeList } from './src/upload-file-types';
6
6
  import type { UserInfo, Role, CurrentRow } from '../edit-page-layout';
7
7
  import type { DefineComponent, PropType, Ref, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
@@ -98,7 +98,7 @@ declare const _default: SFCWithInstall<DefineComponent<{
98
98
  readonly default: false;
99
99
  };
100
100
  readonly itemInfo: {
101
- readonly type: PropType<RecordStringNumber[]>;
101
+ readonly type: PropType<RecordString[]>;
102
102
  readonly default: () => never[];
103
103
  };
104
104
  readonly fileTypeList: {
@@ -119,7 +119,7 @@ declare const _default: SFCWithInstall<DefineComponent<{
119
119
  itemNumberLabel: Ref<string>;
120
120
  itemNumbeValueProp: Ref<string>;
121
121
  property: Ref<string>;
122
- itemInfo: Ref<RecordStringNumber[]>;
122
+ itemInfo: Ref<RecordString[]>;
123
123
  fileTypeList: Ref<{
124
124
  [x: string]: unknown;
125
125
  title: string;
@@ -222,7 +222,7 @@ declare const _default: SFCWithInstall<DefineComponent<{
222
222
  readonly default: false;
223
223
  };
224
224
  readonly itemInfo: {
225
- readonly type: PropType<RecordStringNumber[]>;
225
+ readonly type: PropType<RecordString[]>;
226
226
  readonly default: () => never[];
227
227
  };
228
228
  readonly fileTypeList: {
@@ -237,12 +237,12 @@ declare const _default: SFCWithInstall<DefineComponent<{
237
237
  "onUpdate:visible"?: ((...args: any[]) => any) | undefined;
238
238
  onChange_upload_files?: ((...args: any[]) => any) | undefined;
239
239
  }, {
240
+ readonly data: Data;
240
241
  readonly 'onUpdate:visible': ((value: boolean) => void) | ((value: boolean) => void)[];
241
242
  readonly visible: boolean;
242
243
  readonly currentRow: CurrentRow;
243
244
  readonly action: string;
244
245
  readonly accept: string;
245
- readonly data: Data;
246
246
  readonly dictCode: string;
247
247
  readonly property: string;
248
248
  readonly role: Role;
@@ -259,7 +259,7 @@ declare const _default: SFCWithInstall<DefineComponent<{
259
259
  readonly itemNumberDefaultValue: string;
260
260
  readonly itemNumberSelectIndex: boolean;
261
261
  readonly disabledItemNumber: boolean;
262
- readonly itemInfo: RecordStringNumber[];
262
+ readonly itemInfo: RecordString[];
263
263
  readonly fileTypeList: FileTypeList[];
264
264
  }, {}>>;
265
265
  export default _default;
@@ -1,33 +1,3 @@
1
- import type { VxePayload } from '../../../edit-page-layout';
2
- import type { Slot } from 'vue';
3
1
  import { InitializeConfig } from '../upload-file-types';
4
- export default function useFileColumn<T extends InitializeConfig>(payload: T): {
5
- field: string;
6
- title: string;
7
- fieldLabelI18nKey: string;
8
- groupCode: string;
9
- fieldType?: string | undefined;
10
- helpText?: string | undefined;
11
- required?: "0" | "1" | undefined;
12
- regex?: string | RegExp | undefined;
13
- alertMsg?: string | undefined;
14
- callback?: ((ctx: {
15
- attrs: {
16
- [x: string]: unknown;
17
- };
18
- slots: Readonly<{
19
- [name: string]: Slot<any> | undefined;
20
- }>;
21
- emit: (event: string, ...args: any[]) => void;
22
- expose: (exposed?: Record<string, any> | undefined) => void;
23
- } | {
24
- attrs: {
25
- [x: string]: unknown;
26
- };
27
- slots: Readonly<{
28
- [name: string]: Slot<any> | undefined;
29
- }>;
30
- emit: (event: string, ...args: any[]) => void;
31
- expose: (exposed?: Record<string, any> | undefined) => void;
32
- }, payload: VxePayload) => void) | undefined;
33
- }[];
2
+ import type { ColumnItem } from '../../../edit-page-layout';
3
+ export default function useFileColumn<T extends InitializeConfig>(payload: T): ColumnItem[];
@@ -1,7 +1,7 @@
1
- import type { RecordStringNumber } from '../../../edit-page-layout';
1
+ import type { RecordString } from '../../../edit-page-layout';
2
2
  import { InitializeConfig } from '../upload-file-types';
3
3
  export interface ButtonConfig extends InitializeConfig {
4
- row: RecordStringNumber;
4
+ row: RecordString;
5
5
  rowIndex: number;
6
6
  }
7
7
  export default function useOperationColumnButton(): {
@@ -1,12 +1,13 @@
1
1
  import { ExtractPropTypes, PropType, Ref } from 'vue';
2
- import type { Role, UserInfo, CurrentRow, ColumnItem, LayoutConfig, RecordStringNumber } from '../../edit-page-layout';
2
+ import type { Role, UserInfo, CurrentRow, ColumnItem, LayoutConfig, RecordString } from '../../edit-page-layout';
3
3
  export interface InitializeConfig {
4
4
  groupCode: string;
5
- pageData?: Ref<RecordStringNumber>;
5
+ pageData?: Ref<RecordString>;
6
6
  layoutConfig?: Ref<LayoutConfig>;
7
7
  role?: string;
8
8
  path?: string;
9
9
  operationButton?: string[];
10
+ userInfo?: UserInfo;
10
11
  [key: string]: unknown;
11
12
  }
12
13
  export interface Data {
@@ -25,8 +26,8 @@ export interface FileTypeList {
25
26
  [key: string]: unknown;
26
27
  }
27
28
  export interface PayloadType {
28
- pageData: RecordStringNumber;
29
- row: RecordStringNumber;
29
+ pageData: RecordString;
30
+ row: RecordString;
30
31
  rowIndex: number;
31
32
  }
32
33
  export interface ColumnItemExtend {
@@ -40,7 +41,7 @@ export interface ColumnItemExtend {
40
41
  }
41
42
  export interface ColumnItemWithExtend extends ColumnItem {
42
43
  extend?: ColumnItemExtend;
43
- row: RecordStringNumber;
44
+ row: RecordString;
44
45
  idx: number;
45
46
  }
46
47
  export type VxeItemFileUpload = ColumnItemWithExtend;
@@ -130,7 +131,7 @@ export declare const uploadFilesProps: {
130
131
  readonly default: false;
131
132
  };
132
133
  readonly itemInfo: {
133
- readonly type: PropType<RecordStringNumber[]>;
134
+ readonly type: PropType<RecordString[]>;
134
135
  readonly default: () => never[];
135
136
  };
136
137
  readonly fileTypeList: {
@@ -1,7 +1,7 @@
1
1
  import type { UploadFile } from 'ant-design-vue';
2
2
  import type { FileType } from 'ant-design-vue/lib/upload/interface';
3
3
  import type { validateInfos } from 'ant-design-vue/lib/form/useForm';
4
- import type { UserInfo, Role, CurrentRow, RecordStringNumber } from '../../edit-page-layout';
4
+ import type { UserInfo, Role, CurrentRow, RecordString } from '../../edit-page-layout';
5
5
  import type { DefineComponent, PropType, Ref, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
6
6
  import type { Data, FileTypeList } from './upload-file-types';
7
7
  declare const _sfc_main: DefineComponent<{
@@ -90,7 +90,7 @@ declare const _sfc_main: DefineComponent<{
90
90
  readonly default: false;
91
91
  };
92
92
  readonly itemInfo: {
93
- readonly type: PropType<RecordStringNumber[]>;
93
+ readonly type: PropType<RecordString[]>;
94
94
  readonly default: () => never[];
95
95
  };
96
96
  readonly fileTypeList: {
@@ -111,7 +111,7 @@ declare const _sfc_main: DefineComponent<{
111
111
  itemNumberLabel: Ref<string>;
112
112
  itemNumbeValueProp: Ref<string>;
113
113
  property: Ref<string>;
114
- itemInfo: Ref<RecordStringNumber[]>;
114
+ itemInfo: Ref<RecordString[]>;
115
115
  fileTypeList: Ref<{
116
116
  [x: string]: unknown;
117
117
  title: string;
@@ -214,7 +214,7 @@ declare const _sfc_main: DefineComponent<{
214
214
  readonly default: false;
215
215
  };
216
216
  readonly itemInfo: {
217
- readonly type: PropType<RecordStringNumber[]>;
217
+ readonly type: PropType<RecordString[]>;
218
218
  readonly default: () => never[];
219
219
  };
220
220
  readonly fileTypeList: {
@@ -229,12 +229,12 @@ declare const _sfc_main: DefineComponent<{
229
229
  "onUpdate:visible"?: ((...args: any[]) => any) | undefined;
230
230
  onChange_upload_files?: ((...args: any[]) => any) | undefined;
231
231
  }, {
232
+ readonly data: Data;
232
233
  readonly 'onUpdate:visible': ((value: boolean) => void) | ((value: boolean) => void)[];
233
234
  readonly visible: boolean;
234
235
  readonly currentRow: CurrentRow;
235
236
  readonly action: string;
236
237
  readonly accept: string;
237
- readonly data: Data;
238
238
  readonly dictCode: string;
239
239
  readonly property: string;
240
240
  readonly role: Role;
@@ -251,7 +251,7 @@ declare const _sfc_main: DefineComponent<{
251
251
  readonly itemNumberDefaultValue: string;
252
252
  readonly itemNumberSelectIndex: boolean;
253
253
  readonly disabledItemNumber: boolean;
254
- readonly itemInfo: RecordStringNumber[];
254
+ readonly itemInfo: RecordString[];
255
255
  readonly fileTypeList: FileTypeList[];
256
256
  }, {}>;
257
257
  export default _sfc_main;
@@ -1,14 +1,14 @@
1
1
  import type { ButtonConfig } from '../upload-file/src/hook/use-operation-column-button-hook';
2
2
  import type { FileDataTypes } from './src/upload-file-vxe-types';
3
3
  import type { ColumnItemWithExtend } from '../upload-file';
4
- import type { RecordStringNumber } from '../select-modal';
4
+ import type { RecordString } from '../select-modal';
5
5
  import type { DefineComponent, PropType, ComputedRef, Ref, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
6
6
  import type { SFCWithInstall } from '@qqt-product/utils/dist/modules/withInstall';
7
7
  import QuploadFileVxe from './src/upload-file-vxe.vue';
8
8
  export { QuploadFileVxe };
9
9
  declare const _default: SFCWithInstall<DefineComponent<{
10
10
  readonly row: {
11
- readonly type: PropType<RecordStringNumber>;
11
+ readonly type: PropType<RecordString>;
12
12
  readonly default: () => {};
13
13
  };
14
14
  readonly rowIndex: {
@@ -35,16 +35,18 @@ declare const _default: SFCWithInstall<DefineComponent<{
35
35
  rowData: ComputedRef<FileDataTypes[]>;
36
36
  rowIndex: ComputedRef<number>;
37
37
  groupType: Ref<string>;
38
- uploadBtnStatus: Ref<boolean>;
39
- operationBtn: Ref<unknown[]>;
38
+ uploadBtnStatus: ComputedRef<boolean>;
39
+ operationBtnS: ComputedRef<string[]>;
40
40
  handleOpenFileUpload: () => void;
41
41
  handleDownload: <T extends ButtonConfig>(payload: T) => void;
42
42
  handlePreview: <T_1 extends ButtonConfig>(payload: T_1) => void;
43
43
  handleDelete: (file: FileDataTypes) => void;
44
44
  handleSpan: ComputedRef<number>;
45
+ handleRightSpan: ComputedRef<number>;
46
+ styleWidth: ComputedRef<string>;
45
47
  }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
46
48
  readonly row: {
47
- readonly type: PropType<RecordStringNumber>;
49
+ readonly type: PropType<RecordString>;
48
50
  readonly default: () => {};
49
51
  };
50
52
  readonly rowIndex: {
@@ -68,7 +70,7 @@ declare const _default: SFCWithInstall<DefineComponent<{
68
70
  readonly default: () => string[];
69
71
  };
70
72
  }>>, {
71
- readonly row: RecordStringNumber;
73
+ readonly row: RecordString;
72
74
  readonly groupType: string;
73
75
  readonly operationBtn: unknown[];
74
76
  readonly rowIndex: number;
@@ -1,5 +1,5 @@
1
1
  import { ExtractPropTypes, PropType } from 'vue';
2
- import type { RecordStringNumber } from '../../edit-page-layout';
2
+ import type { RecordString } from '../../edit-page-layout';
3
3
  import { ColumnItemWithExtend } from '../../upload-file/src/upload-file-types';
4
4
  export interface FileDataTypes {
5
5
  fileName: string;
@@ -11,7 +11,7 @@ export interface FileDataTypes {
11
11
  }
12
12
  export declare const uploadFileProps: {
13
13
  readonly row: {
14
- readonly type: PropType<RecordStringNumber>;
14
+ readonly type: PropType<RecordString>;
15
15
  readonly default: () => {};
16
16
  };
17
17
  readonly rowIndex: {
@@ -1,11 +1,11 @@
1
1
  import type { ButtonConfig } from '../../upload-file/src/hook/use-operation-column-button-hook';
2
2
  import type { ColumnItemWithExtend } from '../../upload-file';
3
- import type { RecordStringNumber } from '../../edit-page-layout';
3
+ import type { RecordString } from '../../edit-page-layout';
4
4
  import type { DefineComponent, PropType, ComputedRef, Ref, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
5
5
  import { FileDataTypes } from './upload-file-vxe-types';
6
6
  declare const _sfc_main: DefineComponent<{
7
7
  readonly row: {
8
- readonly type: PropType<RecordStringNumber>;
8
+ readonly type: PropType<RecordString>;
9
9
  readonly default: () => {};
10
10
  };
11
11
  readonly rowIndex: {
@@ -32,16 +32,18 @@ declare const _sfc_main: DefineComponent<{
32
32
  rowData: ComputedRef<FileDataTypes[]>;
33
33
  rowIndex: ComputedRef<number>;
34
34
  groupType: Ref<string>;
35
- uploadBtnStatus: Ref<boolean>;
36
- operationBtn: Ref<unknown[]>;
35
+ uploadBtnStatus: ComputedRef<boolean>;
36
+ operationBtnS: ComputedRef<string[]>;
37
37
  handleOpenFileUpload: () => void;
38
38
  handleDownload: <T extends ButtonConfig>(payload: T) => void;
39
39
  handlePreview: <T_1 extends ButtonConfig>(payload: T_1) => void;
40
40
  handleDelete: (file: FileDataTypes) => void;
41
41
  handleSpan: ComputedRef<number>;
42
+ handleRightSpan: ComputedRef<number>;
43
+ styleWidth: ComputedRef<string>;
42
44
  }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
43
45
  readonly row: {
44
- readonly type: PropType<RecordStringNumber>;
46
+ readonly type: PropType<RecordString>;
45
47
  readonly default: () => {};
46
48
  };
47
49
  readonly rowIndex: {
@@ -65,7 +67,7 @@ declare const _sfc_main: DefineComponent<{
65
67
  readonly default: () => string[];
66
68
  };
67
69
  }>>, {
68
- readonly row: RecordStringNumber;
70
+ readonly row: RecordString;
69
71
  readonly groupType: string;
70
72
  readonly operationBtn: unknown[];
71
73
  readonly rowIndex: number;
@@ -31,6 +31,10 @@ declare const _default: SFCWithInstall<DefineComponent<{
31
31
  readonly type: ObjectConstructor;
32
32
  readonly default: () => {};
33
33
  };
34
+ readonly actionRoutePath: {
35
+ readonly type: StringConstructor;
36
+ readonly default: "";
37
+ };
34
38
  readonly accept: {
35
39
  readonly type: StringConstructor;
36
40
  readonly default: ".png, .jpg, .jpeg, .gif";
@@ -137,6 +141,7 @@ declare const _default: SFCWithInstall<DefineComponent<{
137
141
  handleRemove: (file: UploadFile<unknown>) => boolean | void | Promise<boolean | void>;
138
142
  handleCancel: () => void;
139
143
  handlePreview: (file: UploadFiles) => Promise<void>;
144
+ isImageUrlFun: (file: UploadFile<any>) => boolean;
140
145
  }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("update:value" | "change")[], "update:value" | "change", VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
141
146
  readonly value: {
142
147
  readonly type: StringConstructor;
@@ -162,6 +167,10 @@ declare const _default: SFCWithInstall<DefineComponent<{
162
167
  readonly type: ObjectConstructor;
163
168
  readonly default: () => {};
164
169
  };
170
+ readonly actionRoutePath: {
171
+ readonly type: StringConstructor;
172
+ readonly default: "";
173
+ };
165
174
  readonly accept: {
166
175
  readonly type: StringConstructor;
167
176
  readonly default: ".png, .jpg, .jpeg, .gif";
@@ -179,13 +188,14 @@ declare const _default: SFCWithInstall<DefineComponent<{
179
188
  "onUpdate:value"?: ((...args: any[]) => any) | undefined;
180
189
  }, {
181
190
  readonly disabled: boolean;
191
+ readonly onChange: ((value: string) => void) | ((value: string) => void)[];
182
192
  readonly accept: string;
183
193
  readonly multiple: boolean;
184
- readonly onChange: ((value: string) => void) | ((value: string) => void)[];
185
194
  readonly value: string;
186
195
  readonly 'onUpdate:value': ((value: string) => void) | ((value: string) => void)[];
187
196
  readonly canRemove: boolean;
188
197
  readonly limit: number;
189
198
  readonly uploadImageData: Record<string, any>;
199
+ readonly actionRoutePath: string;
190
200
  }, {}>>;
191
201
  export default _default;
@@ -25,6 +25,10 @@ export declare const uploadImageProps: {
25
25
  readonly type: ObjectConstructor;
26
26
  readonly default: () => {};
27
27
  };
28
+ readonly actionRoutePath: {
29
+ readonly type: StringConstructor;
30
+ readonly default: "";
31
+ };
28
32
  readonly accept: {
29
33
  readonly type: StringConstructor;
30
34
  readonly default: ".png, .jpg, .jpeg, .gif";
@@ -27,6 +27,10 @@ declare const _sfc_main: DefineComponent<{
27
27
  readonly type: ObjectConstructor;
28
28
  readonly default: () => {};
29
29
  };
30
+ readonly actionRoutePath: {
31
+ readonly type: StringConstructor;
32
+ readonly default: "";
33
+ };
30
34
  readonly accept: {
31
35
  readonly type: StringConstructor;
32
36
  readonly default: ".png, .jpg, .jpeg, .gif";
@@ -133,6 +137,7 @@ declare const _sfc_main: DefineComponent<{
133
137
  handleRemove: (file: UploadFile<unknown>) => boolean | void | Promise<boolean | void>;
134
138
  handleCancel: () => void;
135
139
  handlePreview: (file: UploadFiles) => Promise<void>;
140
+ isImageUrlFun: (file: UploadFile) => boolean;
136
141
  }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("update:value" | "change")[], "update:value" | "change", VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
137
142
  readonly value: {
138
143
  readonly type: StringConstructor;
@@ -158,6 +163,10 @@ declare const _sfc_main: DefineComponent<{
158
163
  readonly type: ObjectConstructor;
159
164
  readonly default: () => {};
160
165
  };
166
+ readonly actionRoutePath: {
167
+ readonly type: StringConstructor;
168
+ readonly default: "";
169
+ };
161
170
  readonly accept: {
162
171
  readonly type: StringConstructor;
163
172
  readonly default: ".png, .jpg, .jpeg, .gif";
@@ -175,13 +184,14 @@ declare const _sfc_main: DefineComponent<{
175
184
  "onUpdate:value"?: ((...args: any[]) => any) | undefined;
176
185
  }, {
177
186
  readonly disabled: boolean;
187
+ readonly onChange: ((value: string) => void) | ((value: string) => void)[];
178
188
  readonly accept: string;
179
189
  readonly multiple: boolean;
180
- readonly onChange: ((value: string) => void) | ((value: string) => void)[];
181
190
  readonly value: string;
182
191
  readonly 'onUpdate:value': ((value: string) => void) | ((value: string) => void)[];
183
192
  readonly canRemove: boolean;
184
193
  readonly limit: number;
185
194
  readonly uploadImageData: Record<string, any>;
195
+ readonly actionRoutePath: string;
186
196
  }, {}>;
187
197
  export default _sfc_main;
@@ -115,9 +115,6 @@ declare const _default: SFCWithInstall<DefineComponent<{
115
115
  onChange?: ((...args: any[]) => any) | undefined;
116
116
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
117
117
  }, {
118
- readonly busAccount: string;
119
- readonly multiple: boolean;
120
- readonly placeholder: string;
121
118
  readonly onChange: (({ value, label }: {
122
119
  value: string;
123
120
  label: string;
@@ -125,10 +122,13 @@ declare const _default: SFCWithInstall<DefineComponent<{
125
122
  value: string;
126
123
  label: string;
127
124
  }) => void)[];
125
+ readonly busAccount: string;
126
+ readonly multiple: boolean;
127
+ readonly placeholder: string;
128
128
  readonly options: SelectOption[];
129
129
  readonly maxTagCount: number;
130
130
  readonly dictCode: string;
131
- readonly 'onUpdate:modelValue': ((value: string) => void) | ((value: string) => void)[];
132
131
  readonly modelValue: string;
132
+ readonly 'onUpdate:modelValue': ((value: string) => void) | ((value: string) => void)[];
133
133
  }, {}>>;
134
134
  export default _default;
@@ -111,9 +111,6 @@ declare const _sfc_main: DefineComponent<{
111
111
  onChange?: ((...args: any[]) => any) | undefined;
112
112
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
113
113
  }, {
114
- readonly busAccount: string;
115
- readonly multiple: boolean;
116
- readonly placeholder: string;
117
114
  readonly onChange: (({ value, label }: {
118
115
  value: string;
119
116
  label: string;
@@ -121,10 +118,13 @@ declare const _sfc_main: DefineComponent<{
121
118
  value: string;
122
119
  label: string;
123
120
  }) => void)[];
121
+ readonly busAccount: string;
122
+ readonly multiple: boolean;
123
+ readonly placeholder: string;
124
124
  readonly options: SelectOption[];
125
125
  readonly maxTagCount: number;
126
126
  readonly dictCode: string;
127
- readonly 'onUpdate:modelValue': ((value: string) => void) | ((value: string) => void)[];
128
127
  readonly modelValue: string;
128
+ readonly 'onUpdate:modelValue': ((value: string) => void) | ((value: string) => void)[];
129
129
  }, {}>;
130
130
  export default _sfc_main;
@@ -1,7 +1,7 @@
1
1
  import type { Emitter } from '@qqt-product/utils';
2
2
  import { VxeTableInstance } from 'vxe-table';
3
- import { SYMBOL_BINDFUNCTION, SYMBOL_CUSTOM_BINDFUNCTION, SYMBOL_VXE_BINDFUNCTION, SYMBOL_CUSTOM_VXE_BINDFUNCTION, SYMBOL_ADD_ONE_ROW, SYMBOL_DELETE_ROWS, SYMBOL_CUSTOM_CLICK, SYMBOL_FIELD_OR_COLUMN_CUSTOM_CLICK, SYMBOL_CACHE_BUTTON, SYMBOL_CACHE_PAGEDATA, SYMBOL_CACHE_REFRESH, SYMBOL_CACHE_SHOW_MESSAGE, SYMBOL_VALIDATE, SYMBOL_VALIDATE_RESULT, SYMBOL_VALIDATE_SUCCESS, SYMBOL_REFRESH, SYMBOL_BACK, SYMBOL_SAVE, SYMBOL_PUBLISH, SYMBOL_SUBMIT, SYMBOL_CONFIRM, SYMBOL_REJECT, SYMBOL_UPLOAD, SYMBOL_UPLOAD_GRID, SYMBOL_CANCELAUDIT, SYMBOL_DOWNLOAD_ALL, SYMBOL_REMOVE_ALL, SYMBOL_CHECKBOX_CHANGE, SYMBOL_CHECKBOX_ALL, SYMBOL_IMPORT_ROWS, SYMBOL_FLOW_VIEW, SYMBOL_AUDIT_AGREE, SYMBOL_AUDIT_REFUSE, SYMBOL_AUDIT_INFORMED, SYMBOL_AUDIT_TRANSFER, SYMBOL_AUDIT_BACK, SYMBOL_AUDIT_TRANSACTION, SYMBOL_AUDIT_INVALID, SYMBOL_AUDIT_REVOCATION, SYMBOL_AUDIT_REVOCATION_PRE_SIGN, SYMBOL_AUDIT_FLOW_IMAGE, SYMBOL_AUDIT_APPROVAL_COMMENT, SYMBOL_AUDIT_SIGN_NODE, SYMBOL_AUDIT_PRE_SIGN, SYMBOL_AUDIT_AFTER_SIGN, SYMBOL_AUDIT_PRINT, SYMBOL_AUDIT_ADD_NODE_HISTORY, SYMBOL_AUDIT_CHAT } from '../../lib/components/page-layout';
4
- import type { RecordStringNumber, BindFunctionEvent, VxeBindFunctionEvent, PageButton, PageButtonWithGroupCode, PageButtonDeleteRow, PageButtonDownLoad, ValidateResult, FormFieldsItem, ColumnItem, PageButtonDeleteFileRow, GridCheckboxChangeParamsWithGroupCoe, GridCheckboxAllParamsWithGroupCoe } from '../../lib/components/edit-page-layout';
3
+ import { SYMBOL_BINDFUNCTION, SYMBOL_CUSTOM_BINDFUNCTION, SYMBOL_VXE_BINDFUNCTION, SYMBOL_CUSTOM_VXE_BINDFUNCTION, SYMBOL_ADD_ONE_ROW, SYMBOL_DELETE_ROWS, SYMBOL_CUSTOM_CLICK, SYMBOL_FIELD_OR_COLUMN_CUSTOM_CLICK, SYMBOL_CACHE_BUTTON, SYMBOL_CACHE_PAGEDATA, SYMBOL_CACHE_REFRESH, SYMBOL_CACHE_SHOW_MESSAGE, SYMBOL_VALIDATE, SYMBOL_VALIDATE_RESULT, SYMBOL_LINK_CLICK, SYMBOL_VALIDATE_SUCCESS, SYMBOL_REFRESH, SYMBOL_BACK, SYMBOL_SAVE, SYMBOL_PUBLISH, SYMBOL_SUBMIT, SYMBOL_CONFIRM, SYMBOL_REJECT, SYMBOL_UPLOAD, SYMBOL_UPLOAD_GRID, SYMBOL_CANCELAUDIT, SYMBOL_DOWNLOAD_ALL, SYMBOL_REMOVE_ALL, SYMBOL_CHECKBOX_CHANGE, SYMBOL_CHECKBOX_ALL, SYMBOL_IMPORT_ROWS, SYMBOL_FLOW_VIEW, SYMBOL_AUDIT_AGREE, SYMBOL_AUDIT_REFUSE, SYMBOL_AUDIT_INFORMED, SYMBOL_AUDIT_TRANSFER, SYMBOL_AUDIT_BACK, SYMBOL_AUDIT_TRANSACTION, SYMBOL_AUDIT_INVALID, SYMBOL_AUDIT_REVOCATION, SYMBOL_AUDIT_REVOCATION_PRE_SIGN, SYMBOL_AUDIT_FLOW_IMAGE, SYMBOL_AUDIT_APPROVAL_COMMENT, SYMBOL_AUDIT_SIGN_NODE, SYMBOL_AUDIT_PRE_SIGN, SYMBOL_AUDIT_AFTER_SIGN, SYMBOL_AUDIT_PRINT, SYMBOL_AUDIT_ADD_NODE_HISTORY, SYMBOL_AUDIT_CHAT } from '../../lib/components/page-layout';
4
+ import type { RecordString, BindFunctionEvent, VxeBindFunctionEvent, PageButton, PageButtonWithGroupCode, PageButtonDeleteRow, PageButtonDownLoad, ValidateResult, LinkClickCallbackParams, FormFieldsItem, ColumnItem, PageButtonDeleteFileRow, GridCheckboxChangeParamsWithGroupCoe, GridCheckboxAllParamsWithGroupCoe } from '../../lib/components/edit-page-layout';
5
5
  import type { ButtonItem, ObjectMap } from '../../lib/components/list-page-layout';
6
6
  import type { VxeItemFileUpload } from '../../lib/components/upload-file';
7
7
  import { SYMBOL_GRID_INSTANCE, SYMBOL_HANDLE_SETTING, SYMBOL_HANDLE_ADD, SYMBOL_HANDLE_EXPORT, SYMBOL_HANDLE_IMPORT, SYMBOL_HANDLE_QUICK_NAV, SYMBOL_HANDLE_RECORD, SYMBOL_HANDLE_HELP_TEXT, SYMBOL_HANDLE_ATTACHMENT_TEXT, SYMBOL_HANDLE_VIDEO_TEXT, SYMBOL_FETCH_NAV_DATA } from '../components/list-page-layout/src/symbol';
@@ -15,11 +15,12 @@ export type Events = {
15
15
  [SYMBOL_CUSTOM_CLICK]: PageButtonWithGroupCode;
16
16
  [SYMBOL_FIELD_OR_COLUMN_CUSTOM_CLICK]: FormFieldsItem | ColumnItem;
17
17
  [SYMBOL_CACHE_BUTTON]: PageButton;
18
- [SYMBOL_CACHE_PAGEDATA]: RecordStringNumber;
18
+ [SYMBOL_CACHE_PAGEDATA]: RecordString;
19
19
  [SYMBOL_CACHE_REFRESH]: boolean;
20
20
  [SYMBOL_CACHE_SHOW_MESSAGE]: boolean;
21
21
  [SYMBOL_VALIDATE]: PageButton;
22
22
  [SYMBOL_VALIDATE_RESULT]: ValidateResult;
23
+ [SYMBOL_LINK_CLICK]: LinkClickCallbackParams;
23
24
  [SYMBOL_VALIDATE_SUCCESS]: PageButton;
24
25
  [SYMBOL_REFRESH]: PageButton;
25
26
  [SYMBOL_BACK]: PageButton;
@@ -0,0 +1,24 @@
1
+ import { ObjectMap } from '../components/list-page-layout';
2
+ import { LinkClickCallbackParams } from '../components/edit-page-layout/src/edit-page-layout-types';
3
+ interface LinkParams {
4
+ title?: string;
5
+ exLink?: boolean;
6
+ listRequestApi?: string;
7
+ primaryKey: string;
8
+ bindKey: string;
9
+ actionPath: string;
10
+ otherQuery: {
11
+ [key: string]: unknown;
12
+ };
13
+ beforeJump?: <T>(args: T) => T;
14
+ }
15
+ type Type = 'grid' | 'form' | 'custom';
16
+ interface LinkClickParams {
17
+ callback: (args: LinkClickCallbackParams) => void;
18
+ [key: string]: any;
19
+ }
20
+ export default function (Request: ObjectMap): {
21
+ createLink: (fieldInfo: ObjectMap, type: Type, callback: (args: LinkClickCallbackParams) => void, customLinkConfig?: LinkParams) => void;
22
+ linkClick: ({ title, row, column, formData, linkConfig, fieldInfo, callback }: LinkClickParams, type: Type) => void;
23
+ };
24
+ export {};