@qqt-product/ui 0.0.20 → 0.0.22

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 (95) hide show
  1. package/dist/index.es.js +21621 -20583
  2. package/dist/index.umd.js +98 -98
  3. package/dist/lib/components/audit-modal/src/component/addNodeHistoryModal.vue.d.ts +2 -1
  4. package/dist/lib/components/card-list-layout/index.d.ts +2 -1
  5. package/dist/lib/components/card-list-layout/src/index.vue.d.ts +2 -1
  6. package/dist/lib/components/card-list-layout/src/sidebar.vue.d.ts +2 -1
  7. package/dist/lib/components/checkbox/index.d.ts +3 -3
  8. package/dist/lib/components/checkbox/src/checkbox-types.d.ts +1 -1
  9. package/dist/lib/components/checkbox/src/checkbox.vue.d.ts +3 -3
  10. package/dist/lib/components/currency/index.d.ts +3 -3
  11. package/dist/lib/components/currency/src/currency-type.d.ts +1 -1
  12. package/dist/lib/components/currency/src/currency.vue.d.ts +3 -3
  13. package/dist/lib/components/detail-form/index.d.ts +3 -3
  14. package/dist/lib/components/detail-form/src/detail-form.vue.d.ts +3 -3
  15. package/dist/lib/components/detail-grid/index.d.ts +3 -1
  16. package/dist/lib/components/detail-grid/src/detail-grid.vue.d.ts +3 -1
  17. package/dist/lib/components/detail-page-layout/index.d.ts +9 -0
  18. package/dist/lib/components/detail-page-layout/src/detail-page-layout.vue.d.ts +9 -0
  19. package/dist/lib/components/edit-form/index.d.ts +3 -3
  20. package/dist/lib/components/edit-form/src/edit-form-types.d.ts +1 -1
  21. package/dist/lib/components/edit-form/src/edit-form.vue.d.ts +3 -3
  22. package/dist/lib/components/edit-grid/index.d.ts +3 -1
  23. package/dist/lib/components/edit-grid/src/edit-grid.vue.d.ts +3 -1
  24. package/dist/lib/components/edit-page-layout/index.d.ts +9 -0
  25. package/dist/lib/components/edit-page-layout/src/edit-page-layout-types.d.ts +7 -1
  26. package/dist/lib/components/edit-page-layout/src/edit-page-layout.vue.d.ts +9 -0
  27. package/dist/lib/components/editor/index.d.ts +2 -1
  28. package/dist/lib/components/editor/src/index.vue.d.ts +2 -1
  29. package/dist/lib/components/import-modal/index.d.ts +2 -0
  30. package/dist/lib/components/import-modal/src/import-modal.vue.d.ts +2 -0
  31. package/dist/lib/components/item-wrap/index.d.ts +4 -4
  32. package/dist/lib/components/item-wrap/src/item-wrap-types.d.ts +1 -1
  33. package/dist/lib/components/item-wrap/src/item-wrap.vue.d.ts +4 -4
  34. package/dist/lib/components/ladder-price/index.d.ts +11 -0
  35. package/dist/lib/components/ladder-price/src/ladder-price-types.d.ts +4 -0
  36. package/dist/lib/components/ladder-price/src/ladder-price.vue.d.ts +11 -0
  37. package/dist/lib/components/layout/src/header/index.vue.d.ts +6 -5
  38. package/dist/lib/components/layout/src/header/navRight/customMessage.vue.d.ts +2 -1
  39. package/dist/lib/components/layout/src/header/navRight/customPerson.vue.d.ts +2 -1
  40. package/dist/lib/components/layout/src/header/navRight/index.vue.d.ts +5 -4
  41. package/dist/lib/components/layout/src/header/navRight/rightTool.vue.d.ts +3 -2
  42. package/dist/lib/components/layout/src/header/navRight/settingDrawer.vue.d.ts +2 -1
  43. package/dist/lib/components/layout/src/sider/index.vue.d.ts +2 -1
  44. package/dist/lib/components/layout/src/sider/search.vue.d.ts +2 -1
  45. package/dist/lib/components/layout-buttons/index.d.ts +2 -1
  46. package/dist/lib/components/layout-buttons/src/layout-buttons.vue.d.ts +2 -1
  47. package/dist/lib/components/layout-pattern/index.d.ts +169 -2
  48. package/dist/lib/components/layout-pattern/src/components/master.vue.d.ts +31 -0
  49. package/dist/lib/components/layout-pattern/src/components/masterDetail.vue.d.ts +31 -0
  50. package/dist/lib/components/layout-pattern/src/components/tab.vue.d.ts +26 -0
  51. package/dist/lib/components/layout-pattern/src/components/tabDetail.vue.d.ts +26 -0
  52. package/dist/lib/components/layout-pattern/src/components/vertical.vue.d.ts +1 -162
  53. package/dist/lib/components/layout-pattern/src/components/verticalDetail.vue.d.ts +30 -0
  54. package/dist/lib/components/layout-pattern/src/hook/use-audit-button-hook.d.ts +3 -3
  55. package/dist/lib/components/layout-pattern/src/layout-pattern.vue.d.ts +168 -2
  56. package/dist/lib/components/layout-pattern/src/use-layout-pattern.d.ts +3 -3
  57. package/dist/lib/components/list-page-layout/index.d.ts +3 -2
  58. package/dist/lib/components/list-page-layout/src/components/common/columnSetting/columnSetting.vue.d.ts +2 -0
  59. package/dist/lib/components/list-page-layout/src/components/common/columnSetting/use-grid-slot-hook.d.ts +2 -2
  60. package/dist/lib/components/list-page-layout/src/components/common/import-modal/import-modal.vue.d.ts +2 -0
  61. package/dist/lib/components/list-page-layout/src/components/common/record-modal/mock.d.ts +48 -44
  62. package/dist/lib/components/list-page-layout/src/components/common/record-modal/record-modal.vue.d.ts +2 -1
  63. package/dist/lib/components/list-page-layout/src/components/list-content/list-content.vue.d.ts +2 -0
  64. package/dist/lib/components/list-page-layout/src/components/list-content-buttons/events-helper.d.ts +2 -2
  65. package/dist/lib/components/list-page-layout/src/components/list-content-buttons/list-content-buttons.vue.d.ts +2 -0
  66. package/dist/lib/components/list-page-layout/src/components/list-header/module/query/index.vue.d.ts +2 -0
  67. package/dist/lib/components/list-page-layout/src/components/list-header/module/quick-nav/index.vue.d.ts +2 -0
  68. package/dist/lib/components/list-page-layout/src/components/list-header/module/searchExtend/index.vue.d.ts +2 -0
  69. package/dist/lib/components/list-page-layout/src/components/list-header/module/tabs/index.vue.d.ts +2 -0
  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/hooks/use-button-function-hook.d.ts +1 -1
  72. package/dist/lib/components/list-page-layout/src/layout.vue.d.ts +3 -2
  73. package/dist/lib/components/list-page-layout/src/list-page-layout-types.d.ts +2 -0
  74. package/dist/lib/components/radio/index.d.ts +3 -3
  75. package/dist/lib/components/radio/src/radio-types.d.ts +1 -1
  76. package/dist/lib/components/radio/src/radio.vue.d.ts +3 -3
  77. package/dist/lib/components/rich-editor-model/index.d.ts +2 -1
  78. package/dist/lib/components/rich-editor-model/src/rich-editor-model.vue.d.ts +2 -1
  79. package/dist/lib/components/sale-template/index.d.ts +2 -1
  80. package/dist/lib/components/sale-template/src/sale-template.vue.d.ts +2 -1
  81. package/dist/lib/components/switch/index.d.ts +5 -5
  82. package/dist/lib/components/switch/src/switch-types.d.ts +1 -1
  83. package/dist/lib/components/switch/src/switch.vue.d.ts +5 -5
  84. package/dist/lib/components/upload-file/index.d.ts +30 -1
  85. package/dist/lib/components/upload-file/src/upload-file-types.d.ts +12 -0
  86. package/dist/lib/components/upload-file/src/upload-file.vue.d.ts +30 -1
  87. package/dist/lib/components/upload-file-vxe/index.d.ts +2 -0
  88. package/dist/lib/components/upload-file-vxe/src/upload-file-vxe.vue.d.ts +2 -0
  89. package/dist/lib/components/upload-image/index.d.ts +3 -1
  90. package/dist/lib/components/upload-image/src/upload-image.vue.d.ts +3 -1
  91. package/dist/lib/index.d.ts +1 -0
  92. package/dist/lib/utils/token.d.ts +8 -0
  93. package/dist/lib/utils/type.d.ts +2 -0
  94. package/dist/style.css +1 -1
  95. package/package.json +8 -8
@@ -1,6 +1,5 @@
1
- import type { ObjectMap } from '../../../list-page-layout';
2
1
  import type { DefineComponent, PropType, Ref, ComputedRef, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
3
- import type { LayoutConfig, GroupItem, CurrentRow, Role, PageButtonArgsFunctionType, ExposeWithPageButtons, PageButtonPayload, RecordString, PageButton, ComputedFormFieldsItem } from '../../../edit-page-layout';
2
+ import type { PageButton, LayoutConfig, GroupItem, CurrentRow, ComputedFormFieldsItem } from '../../../edit-page-layout';
4
3
  declare const _sfc_main: DefineComponent<{
5
4
  title: {
6
5
  type: PropType<string>;
@@ -12,174 +11,14 @@ declare const _sfc_main: DefineComponent<{
12
11
  computedGroups: ComputedRef<GroupItem[]>;
13
12
  showPageHeader: boolean;
14
13
  showLayoutAnchor: boolean;
15
- fileVisible: Ref<boolean>;
16
- auditModalVisble: Ref<boolean>;
17
- approvalModalVisble: Ref<boolean>;
18
- nodeHistroyModalVisble: Ref<boolean>;
19
14
  currentRow: CurrentRow;
20
- fileProps: Ref<{
21
- readonly data?: {
22
- [x: string]: unknown;
23
- businessType: string;
24
- headId: string;
25
- } | undefined;
26
- readonly 'onUpdate:visible'?: ((value: boolean) => void) | ((value: boolean) => void)[] | undefined;
27
- readonly visible?: boolean | undefined;
28
- readonly currentRow?: {
29
- [x: string]: unknown;
30
- templateNumber: string;
31
- templateVersion: number;
32
- templateAccount: string;
33
- busAccount: string;
34
- elsAccount: string;
35
- } | undefined;
36
- readonly action?: string | undefined;
37
- readonly accept?: string | undefined;
38
- readonly dictCode?: string | undefined;
39
- readonly property?: string | undefined;
40
- readonly role?: Role | undefined;
41
- readonly userInfo?: {
42
- [x: string]: unknown;
43
- elsAccount: string;
44
- subAccount: string;
45
- serivceUrl: string;
46
- } | undefined;
47
- readonly attrCheck?: string | undefined;
48
- readonly limitSize?: number | undefined;
49
- readonly acceptDictCode?: string | undefined;
50
- readonly maxCount?: number | undefined;
51
- readonly isOss?: boolean | undefined;
52
- readonly isGridUpload?: boolean | undefined;
53
- readonly itemNumberKey?: string | undefined;
54
- readonly itemNumberLabel?: string | undefined;
55
- readonly itemNumbeValueProp?: string | undefined;
56
- readonly itemNumberDefaultValue?: string | undefined;
57
- readonly itemNumberSelectIndex?: boolean | undefined;
58
- readonly disabledItemNumber?: boolean | undefined;
59
- readonly itemInfo?: RecordString[] | undefined;
60
- readonly fileTypeList?: {
61
- [x: string]: unknown;
62
- title: string;
63
- value: string;
64
- }[] | undefined;
65
- }>;
66
- handleChangeFiles: (fileResult: RecordString[]) => void;
67
- auditModalConfirm: Ref<any>;
68
- auditModalCancel: Ref<any>;
69
15
  showBackIcon: boolean;
70
16
  handleAnchorClick: (link: {
71
17
  title: string;
72
18
  href: string;
73
19
  }) => void;
74
- importVisible: Ref<boolean>;
75
- importProps: Ref<{
76
- button: {
77
- title: string;
78
- key: string | symbol;
79
- args: PageButtonArgsFunctionType | {
80
- [x: string]: unknown;
81
- url: string;
82
- };
83
- authorityCode?: string | undefined;
84
- attrs?: RecordString | undefined;
85
- icon?: {
86
- type: string;
87
- size: number;
88
- color?: string | undefined;
89
- } | undefined;
90
- emit?: boolean | undefined;
91
- emitKey?: string | undefined;
92
- showMessage?: boolean | undefined;
93
- checkBefore?: boolean | undefined;
94
- confirm?: {
95
- title: string;
96
- content: string;
97
- } | undefined;
98
- dropdown?: boolean | undefined;
99
- isExistFrozenSource?: boolean | undefined;
100
- isExistFrozenSourceUrl?: string | undefined;
101
- isExistFrozenSourceParams?: ((pageData: RecordString) => RecordString) | undefined;
102
- disabled?: ((pageData: RecordString) => boolean) | undefined;
103
- handleBefore?: ((args: ExposeWithPageButtons) => Promise<ExposeWithPageButtons>) | undefined;
104
- handleAfter?: ((args: ExposeWithPageButtons) => Promise<ExposeWithPageButtons>) | undefined;
105
- callback?: ((payload: PageButtonPayload) => void) | undefined;
106
- };
107
- isEditPage: boolean;
108
- token: string;
109
- }>;
110
- flowVisible: Ref<boolean>;
111
- flowProps: Ref<{
112
- button?: {
113
- title: string;
114
- key: string | symbol;
115
- args: PageButtonArgsFunctionType | {
116
- [x: string]: unknown;
117
- url: string;
118
- };
119
- authorityCode?: string | undefined;
120
- attrs?: RecordString | undefined;
121
- icon?: {
122
- type: string;
123
- size: number;
124
- color?: string | undefined;
125
- } | undefined;
126
- emit?: boolean | undefined;
127
- emitKey?: string | undefined;
128
- showMessage?: boolean | undefined;
129
- checkBefore?: boolean | undefined;
130
- confirm?: {
131
- title: string;
132
- content: string;
133
- } | undefined;
134
- dropdown?: boolean | undefined;
135
- isExistFrozenSource?: boolean | undefined;
136
- isExistFrozenSourceUrl?: string | undefined;
137
- isExistFrozenSourceParams?: ((pageData: RecordString) => RecordString) | undefined;
138
- disabled?: ((pageData: RecordString) => boolean) | undefined;
139
- handleBefore?: ((args: ExposeWithPageButtons) => Promise<ExposeWithPageButtons>) | undefined;
140
- handleAfter?: ((args: ExposeWithPageButtons) => Promise<ExposeWithPageButtons>) | undefined;
141
- callback?: ((payload: PageButtonPayload) => void) | undefined;
142
- } | undefined;
143
- title?: string | undefined;
144
- onChange?: ((args: any) => void) | ((args: any) => void)[] | undefined;
145
- 'onUpdate:visible'?: ((value: string) => void) | ((value: string) => void)[] | undefined;
146
- visible?: boolean | undefined;
147
- currentRow?: any;
148
- token?: string | undefined;
149
- width?: string | undefined;
150
- flowId?: string | undefined;
151
- isDesign?: boolean | undefined;
152
- workFlowType?: string | undefined;
153
- }>;
154
- auditModalProps: Ref<{
155
- title?: string | undefined;
156
- form?: {
157
- [x: string]: unknown;
158
- type: string;
159
- label: string;
160
- fieldName: string;
161
- required?: string | undefined;
162
- attrs?: ObjectMap | undefined;
163
- extends?: ObjectMap | undefined;
164
- dictCode?: string | undefined;
165
- options?: any[] | undefined;
166
- click?: ((args: object, formState?: ObjectMap | undefined) => void) | undefined;
167
- }[] | undefined;
168
- 'onUpdate:visible'?: ((value: string) => void) | ((value: string) => void)[] | undefined;
169
- visible?: boolean | undefined;
170
- currentRow?: any;
171
- businessType?: string | undefined;
172
- token?: string | undefined;
173
- busAccount?: string | undefined;
174
- width?: string | undefined;
175
- taskAction?: string | undefined;
176
- needFlow?: string | undefined;
177
- flowIframeUrl?: string | undefined;
178
- customParams?: Record<string, any> | undefined;
179
- }>;
180
20
  computedCustomSlotFields: ComputedRef<ComputedFormFieldsItem[]>;
181
21
  pageTitleName: ComputedRef<string>;
182
- isDetail: boolean;
183
22
  }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
184
23
  title: {
185
24
  type: PropType<string>;
@@ -0,0 +1,30 @@
1
+ import type { DefineComponent, PropType, Ref, ComputedRef, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
2
+ import type { PageButton, LayoutConfig, GroupItem, CurrentRow, ComputedFormFieldsItem } from '../../../edit-page-layout';
3
+ declare const _sfc_main: DefineComponent<{
4
+ title: {
5
+ type: PropType<string>;
6
+ default: string;
7
+ };
8
+ }, {
9
+ pageButtons: PageButton[];
10
+ layoutConfig: Ref<LayoutConfig>;
11
+ computedGroups: ComputedRef<GroupItem[]>;
12
+ showPageHeader: boolean;
13
+ showLayoutAnchor: boolean;
14
+ currentRow: CurrentRow;
15
+ showBackIcon: boolean;
16
+ handleAnchorClick: (link: {
17
+ title: string;
18
+ href: string;
19
+ }) => void;
20
+ computedCustomSlotFields: ComputedRef<ComputedFormFieldsItem[]>;
21
+ pageTitleName: ComputedRef<string>;
22
+ }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
23
+ title: {
24
+ type: PropType<string>;
25
+ default: string;
26
+ };
27
+ }>>, {
28
+ title: string;
29
+ }, {}>;
30
+ export default _sfc_main;
@@ -37,9 +37,9 @@ export default function useAuditButtonHook({ currentRow, businessType, layoutExt
37
37
  flowIframeUrl?: string | undefined;
38
38
  customParams?: Record<string, any> | undefined;
39
39
  }>;
40
- auditModalVisble: Ref<boolean>;
41
- approvalModalVisble: Ref<boolean>;
42
- nodeHistroyModalVisble: Ref<boolean>;
40
+ auditModalVisible: Ref<boolean>;
41
+ approvalModalVisible: Ref<boolean>;
42
+ nodeHistoryModalVisible: Ref<boolean>;
43
43
  initAuditForm: (btn: PageButton) => void;
44
44
  handleAuditInvalid: (btn: PageButton) => void;
45
45
  handleAuditRevocation: (btn: PageButton) => void;
@@ -1,5 +1,6 @@
1
+ import type { ObjectMap } from '../../list-page-layout';
1
2
  import type { DefineComponent, PropType, ComputedRef, Ref, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
2
- import type { Pattern, LayoutConfig, ComputedFormFieldsItem } from '../../edit-page-layout';
3
+ import type { LayoutConfig, CurrentRow, Role, PageButtonArgsFunctionType, ExposeWithPageButtons, PageButtonPayload, RecordString, ComputedFormFieldsItem, Pattern } from '../../edit-page-layout';
3
4
  declare const _sfc_main: DefineComponent<{
4
5
  title: {
5
6
  type: PropType<string>;
@@ -10,7 +11,7 @@ declare const _sfc_main: DefineComponent<{
10
11
  [key: string]: string | boolean;
11
12
  }>;
12
13
  pattern: Pattern;
13
- componentName: ComputedRef<Pattern>;
14
+ componentName: ComputedRef<string>;
14
15
  layoutConfig: Ref<LayoutConfig>;
15
16
  patternNamedSlots: ComputedRef<{
16
17
  prepend: string;
@@ -21,6 +22,171 @@ declare const _sfc_main: DefineComponent<{
21
22
  patternAppend: string;
22
23
  }[]>;
23
24
  computedCustomSlotFields: ComputedRef<ComputedFormFieldsItem[]>;
25
+ currentRow: CurrentRow;
26
+ fileVisible: Ref<boolean>;
27
+ fileProps: Ref<{
28
+ readonly data?: {
29
+ [x: string]: unknown;
30
+ businessType: string;
31
+ headId: string;
32
+ } | undefined;
33
+ readonly 'onUpdate:visible'?: ((value: boolean) => void) | ((value: boolean) => void)[] | undefined;
34
+ readonly visible?: boolean | undefined;
35
+ readonly currentRow?: {
36
+ [x: string]: unknown;
37
+ templateNumber: string;
38
+ templateVersion: number;
39
+ templateAccount: string;
40
+ busAccount: string;
41
+ elsAccount: string;
42
+ } | undefined;
43
+ readonly action?: string | undefined;
44
+ readonly accept?: string | undefined;
45
+ readonly dictCode?: string | undefined;
46
+ readonly role?: Role | undefined;
47
+ readonly userInfo?: {
48
+ [x: string]: unknown;
49
+ elsAccount: string;
50
+ subAccount: string;
51
+ serivceUrl: string;
52
+ } | undefined;
53
+ readonly property?: string | undefined;
54
+ readonly requiredFileType?: boolean | undefined;
55
+ readonly attrCheck?: string | undefined;
56
+ readonly limitSize?: number | undefined;
57
+ readonly acceptDictCode?: string | undefined;
58
+ readonly maxCount?: number | undefined;
59
+ readonly isOss?: boolean | undefined;
60
+ readonly isGridUpload?: boolean | undefined;
61
+ readonly itemNumberKey?: string | undefined;
62
+ readonly itemNumberLabel?: string | undefined;
63
+ readonly itemNumbeValueProp?: string | undefined;
64
+ readonly itemNumberDefaultValue?: string | undefined;
65
+ readonly itemNumberSelectIndex?: boolean | undefined;
66
+ readonly disabledItemNumber?: boolean | undefined;
67
+ readonly itemInfo?: RecordString[] | undefined;
68
+ readonly fileTypeList?: {
69
+ [x: string]: unknown;
70
+ title: string;
71
+ value: string;
72
+ }[] | undefined;
73
+ readonly actionRoutePath?: string | undefined;
74
+ readonly sourceNumberType?: string | undefined;
75
+ }>;
76
+ handleChangeFiles: (fileResult: RecordString[]) => void;
77
+ importVisible: Ref<boolean>;
78
+ importProps: Ref<{
79
+ button: {
80
+ title: string;
81
+ i18nKey?: string | undefined;
82
+ key: string | symbol;
83
+ args: PageButtonArgsFunctionType | {
84
+ [x: string]: unknown;
85
+ url: string;
86
+ };
87
+ authorityCode?: string | undefined;
88
+ attrs?: RecordString | undefined;
89
+ icon?: {
90
+ type: string;
91
+ size: number;
92
+ color?: string | undefined;
93
+ } | undefined;
94
+ emit?: boolean | undefined;
95
+ emitKey?: string | undefined;
96
+ showMessage?: boolean | undefined;
97
+ checkBefore?: boolean | undefined;
98
+ confirm?: {
99
+ title: string;
100
+ content: string;
101
+ } | undefined;
102
+ dropdown?: boolean | undefined;
103
+ isExistFrozenSource?: boolean | undefined;
104
+ isExistFrozenSourceUrl?: string | undefined;
105
+ isExistFrozenSourceParams?: ((pageData: RecordString) => RecordString) | undefined;
106
+ disabled?: ((pageData: RecordString) => boolean) | undefined;
107
+ handleBefore?: ((args: ExposeWithPageButtons) => Promise<ExposeWithPageButtons>) | undefined;
108
+ handleAfter?: ((args: ExposeWithPageButtons) => Promise<ExposeWithPageButtons>) | undefined;
109
+ callback?: ((payload: PageButtonPayload) => void) | undefined;
110
+ };
111
+ isEditPage: boolean;
112
+ token: string;
113
+ }>;
114
+ auditModalVisible: Ref<boolean>;
115
+ approvalModalVisible: Ref<boolean>;
116
+ nodeHistoryModalVisible: Ref<boolean>;
117
+ auditModalProps: Ref<{
118
+ title?: string | undefined;
119
+ form?: {
120
+ [x: string]: unknown;
121
+ type: string;
122
+ label: string;
123
+ fieldName: string;
124
+ required?: string | undefined;
125
+ attrs?: ObjectMap | undefined;
126
+ extends?: ObjectMap | undefined;
127
+ dictCode?: string | undefined;
128
+ options?: any[] | undefined;
129
+ click?: ((args: object, formState?: ObjectMap | undefined) => void) | undefined;
130
+ }[] | undefined;
131
+ 'onUpdate:visible'?: ((value: string) => void) | ((value: string) => void)[] | undefined;
132
+ visible?: boolean | undefined;
133
+ currentRow?: any;
134
+ businessType?: string | undefined;
135
+ token?: string | undefined;
136
+ busAccount?: string | undefined;
137
+ width?: string | undefined;
138
+ taskAction?: string | undefined;
139
+ needFlow?: string | undefined;
140
+ flowIframeUrl?: string | undefined;
141
+ customParams?: Record<string, any> | undefined;
142
+ }>;
143
+ auditModalConfirm: Ref<any>;
144
+ auditModalCancel: Ref<any>;
145
+ flowVisible: Ref<boolean>;
146
+ flowProps: Ref<{
147
+ button?: {
148
+ title: string;
149
+ i18nKey?: string | undefined;
150
+ key: string | symbol;
151
+ args: PageButtonArgsFunctionType | {
152
+ [x: string]: unknown;
153
+ url: string;
154
+ };
155
+ authorityCode?: string | undefined;
156
+ attrs?: RecordString | undefined;
157
+ icon?: {
158
+ type: string;
159
+ size: number;
160
+ color?: string | undefined;
161
+ } | undefined;
162
+ emit?: boolean | undefined;
163
+ emitKey?: string | undefined;
164
+ showMessage?: boolean | undefined;
165
+ checkBefore?: boolean | undefined;
166
+ confirm?: {
167
+ title: string;
168
+ content: string;
169
+ } | undefined;
170
+ dropdown?: boolean | undefined;
171
+ isExistFrozenSource?: boolean | undefined;
172
+ isExistFrozenSourceUrl?: string | undefined;
173
+ isExistFrozenSourceParams?: ((pageData: RecordString) => RecordString) | undefined;
174
+ disabled?: ((pageData: RecordString) => boolean) | undefined;
175
+ handleBefore?: ((args: ExposeWithPageButtons) => Promise<ExposeWithPageButtons>) | undefined;
176
+ handleAfter?: ((args: ExposeWithPageButtons) => Promise<ExposeWithPageButtons>) | undefined;
177
+ callback?: ((payload: PageButtonPayload) => void) | undefined;
178
+ } | undefined;
179
+ title?: string | undefined;
180
+ onChange?: ((args: any) => void) | ((args: any) => void)[] | undefined;
181
+ 'onUpdate:visible'?: ((value: string) => void) | ((value: string) => void)[] | undefined;
182
+ visible?: boolean | undefined;
183
+ currentRow?: any;
184
+ token?: string | undefined;
185
+ width?: string | undefined;
186
+ flowId?: string | undefined;
187
+ isDesign?: boolean | undefined;
188
+ workFlowType?: string | undefined;
189
+ }>;
24
190
  }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
25
191
  title: {
26
192
  type: PropType<string>;
@@ -1,3 +1,3 @@
1
- import type { LayoutPatternProps, LayoutPatternReturnType } from './layout-pattern-types';
2
- import { Pattern } from '../../edit-page-layout';
3
- export default function useLayoutPattern(props: LayoutPatternProps, pattern: Pattern): LayoutPatternReturnType;
1
+ import type { ComputedRef } from 'vue';
2
+ import type { LayoutPatternReturnType } from './layout-pattern-types';
3
+ export default function useLayoutPattern(componentName: ComputedRef<string>): LayoutPatternReturnType;
@@ -94,7 +94,7 @@ declare const _default: SFCWithInstall<DefineComponent<{
94
94
  pageData: {
95
95
  [x: string]: any;
96
96
  onlyShowNav?: boolean | undefined;
97
- isAggregate?: "1" | "0" | undefined;
97
+ isAggregate?: "0" | "1" | undefined;
98
98
  isUseLocalColumns?: boolean | undefined;
99
99
  localColumns?: {
100
100
  [x: string]: any;
@@ -271,7 +271,7 @@ declare const _default: SFCWithInstall<DefineComponent<{
271
271
  recordModalRef: Ref<any>;
272
272
  editNavModalRef: Ref<any>;
273
273
  importModalRef: Ref<any>;
274
- }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("tagCheckChange" | "add-button-click" | "getGridInstance" | "cell-click" | "sort-change" | "filter-change" | "resizable-change")[], "tagCheckChange" | "add-button-click" | "getGridInstance" | "cell-click" | "sort-change" | "filter-change" | "resizable-change", VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
274
+ }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("tagCheckChange" | "link-click" | "add-button-click" | "getGridInstance" | "cell-click" | "sort-change" | "filter-change" | "resizable-change")[], "tagCheckChange" | "link-click" | "add-button-click" | "getGridInstance" | "cell-click" | "sort-change" | "filter-change" | "resizable-change", VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
275
275
  loading: {
276
276
  type: BooleanConstructor;
277
277
  default: boolean;
@@ -299,6 +299,7 @@ declare const _default: SFCWithInstall<DefineComponent<{
299
299
  };
300
300
  }>> & {
301
301
  onTagCheckChange?: ((...args: any[]) => any) | undefined;
302
+ "onLink-click"?: ((...args: any[]) => any) | undefined;
302
303
  "onAdd-button-click"?: ((...args: any[]) => any) | undefined;
303
304
  onGetGridInstance?: ((...args: any[]) => any) | undefined;
304
305
  "onCell-click"?: ((...args: any[]) => any) | undefined;
@@ -1,8 +1,10 @@
1
+ import type { SrmI18n } from '../../../../../../utils/type';
1
2
  import type { DefineComponent, Ref, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
2
3
  import type { VxeColumnSlotTypes, VxeTableDataRow, SlotVNodeType, VxeColumnPropTypes, VxeTablePropTypes, VxeTooltipPropTypes, VxeTableDefines } from 'vxe-table';
3
4
  import { GridColumn } from '../../../list-page-layout-types';
4
5
  declare const _sfc_main: DefineComponent<{}, {
5
6
  columnGrid: Ref<any>;
7
+ srmI18n: SrmI18n;
6
8
  busAccount: Ref<string>;
7
9
  open: (columnCode: string) => void;
8
10
  close: () => void;
@@ -1,5 +1,5 @@
1
- import { ObjectMap } from '../../../list-page-layout-types';
2
- export default function useGridSlots(): {
1
+ import { ObjectMap, SrmI18n } from '../../../list-page-layout-types';
2
+ export default function useGridSlots(srmI18n: SrmI18n): {
3
3
  dragSlots: () => {
4
4
  default: () => JSX.Element[];
5
5
  header: () => JSX.Element[];
@@ -1,7 +1,9 @@
1
+ import type { SrmI18n } from '../../../../../../utils/type';
1
2
  import type { DefineComponent, Ref, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
2
3
  import { ButtonItem } from '../../../list-page-layout-types';
3
4
  declare const _sfc_main: DefineComponent<{}, {
4
5
  importUrl: () => string;
6
+ srmI18n: SrmI18n;
5
7
  open: (button: ButtonItem) => void;
6
8
  stepChange: (current: never) => void;
7
9
  beforeUpload: (file: any) => false | undefined;
@@ -1,48 +1,52 @@
1
+ type SrmI18n = (i18nKey: string, defaultValue: string, account?: string | number) => string;
1
2
  export declare const tabs: string[];
2
3
  export declare const operaUrl = "/log/queryOptHisList";
3
4
  export declare const auditUrl = "/elsUflo/audit/auditHislist";
4
- export declare const operaPagerConfig: {
5
- total: number;
6
- currentPage: number;
7
- pageSize: number;
8
- align: string;
9
- pageSizes: number[];
10
- layouts: string[];
11
- perfect: boolean;
5
+ export declare function useMock(srmI18n: SrmI18n): {
6
+ operaPagerConfig: {
7
+ total: number;
8
+ currentPage: number;
9
+ pageSize: number;
10
+ align: string;
11
+ pageSizes: number[];
12
+ layouts: string[];
13
+ perfect: boolean;
14
+ };
15
+ auditPagerConfig: {
16
+ total: number;
17
+ currentPage: number;
18
+ pageSize: number;
19
+ align: string;
20
+ pageSizes: number[];
21
+ layouts: string[];
22
+ perfect: boolean;
23
+ };
24
+ operaColumns: ({
25
+ type: string;
26
+ width: number;
27
+ title: string;
28
+ field?: undefined;
29
+ } | {
30
+ title: string;
31
+ field: string;
32
+ width: number;
33
+ type?: undefined;
34
+ } | {
35
+ title: string;
36
+ field: string;
37
+ type?: undefined;
38
+ width?: undefined;
39
+ })[];
40
+ auditColumns: ({
41
+ type: string;
42
+ width: number;
43
+ title: string;
44
+ field?: undefined;
45
+ } | {
46
+ field: string;
47
+ title: string;
48
+ width: number;
49
+ type?: undefined;
50
+ })[];
12
51
  };
13
- export declare const auditPagerConfig: {
14
- total: number;
15
- currentPage: number;
16
- pageSize: number;
17
- align: string;
18
- pageSizes: number[];
19
- layouts: string[];
20
- perfect: boolean;
21
- };
22
- export declare const operaColumns: ({
23
- type: string;
24
- width: number;
25
- title: string;
26
- field?: undefined;
27
- } | {
28
- title: string;
29
- field: string;
30
- width: number;
31
- type?: undefined;
32
- } | {
33
- title: string;
34
- field: string;
35
- type?: undefined;
36
- width?: undefined;
37
- })[];
38
- export declare const auditColumns: ({
39
- type: string;
40
- width: number;
41
- title: string;
42
- field?: undefined;
43
- } | {
44
- field: string;
45
- title: string;
46
- width: number;
47
- type?: undefined;
48
- })[];
52
+ export {};
@@ -1,8 +1,10 @@
1
+ import type { SrmI18n } from '../../../../../../utils/type';
1
2
  import type { DefineComponent, VNode, RendererNode, RendererElement, Ref, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
2
3
  import type { SizeType, VxeTableDataRow, VxeTablePropTypes, VxeColumnPropTypes, VxeTooltipPropTypes, VxeColumnSlotTypes, VxeTableDefines, SlotVNodeType, VxeTableConstructor, VxeTablePrivateMethods, VxeGridConstructor, VxeTableProDefines, VxePagerPropTypes, VxeGridPropTypes, VxeButtonPropTypes, VxeToolbarPropTypes, VxeFormPropTypes, VxeFormItemPropTypes, VxeFormItemProps, FormItemTitleRenderParams, FormItemContentRenderParams, VxePagerEvents } from 'vxe-table';
3
4
  import { ObjectMap } from '../../../list-page-layout-types';
4
5
  declare const _sfc_main: DefineComponent<{}, {
5
6
  open: (row: ObjectMap) => void;
7
+ srmI18n: SrmI18n;
6
8
  handleOperaPageChange: VxePagerEvents.PageChange;
7
9
  handleAuditPageChange: VxePagerEvents.PageChange;
8
10
  auditOptions: {
@@ -5170,7 +5172,6 @@ declare const _sfc_main: DefineComponent<{}, {
5170
5172
  title: Ref<string>;
5171
5173
  operaUrl: Ref<string>;
5172
5174
  auditUrl: Ref<string>;
5173
- tabs: Ref<string[]>;
5174
5175
  operaTableData: Ref<never[]>;
5175
5176
  auditTableData: Ref<never[]>;
5176
5177
  currentRow: Ref<{}>;
@@ -1,3 +1,4 @@
1
+ import type { SrmI18n } from '../../../../../utils/type';
1
2
  import type { DefineComponent, PropType, Ref, ShallowRef, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes, ComputedRef } from 'vue';
2
3
  import type { PageData, TabsData, ApiUrls, GridColumn, ObjectMap, OptColumnListItem, OptionsButtonsCallBack } from '../../list-page-layout-types';
3
4
  import type { VxeTableDataRow, VxeGridListeners, VxeGridProps } from 'vxe-table';
@@ -50,6 +51,7 @@ declare const _sfc_main: DefineComponent<{
50
51
  cssVarBlock: (object: Record<string, string>) => Record<string, string>;
51
52
  cssVarBlockName: (name: string) => string;
52
53
  };
54
+ srmI18n: SrmI18n;
53
55
  pageData: PageData;
54
56
  gridConfig: ComputedRef<VxeGridProps<VxeTableDataRow>>;
55
57
  computedColumns: ComputedRef<VxeGridPropTypes.Columns<VxeTableDataRow>>;
@@ -1,6 +1,6 @@
1
- import { ButtonItem } from '../../list-page-layout-types';
1
+ import { ButtonItem, SrmI18n } from '../../list-page-layout-types';
2
2
  export declare const handleButtonShow: (btn: any) => void;
3
3
  export declare const getAuthCodeBtns: (list: any) => any;
4
- export declare const useEvents: (props: any) => {
4
+ export declare const useEvents: (props: any, srmI18n: SrmI18n) => {
5
5
  handleClick: (btn: ButtonItem) => void;
6
6
  };
@@ -1,3 +1,4 @@
1
+ import type { SrmI18n } from '../../../../../utils/type';
1
2
  import type { DefineComponent, ComputedRef, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes, PropType } from 'vue';
2
3
  import { ButtonConfig, ButtonItem, ToolsConfig, ToolsButtonItem } from '../../list-page-layout-types';
3
4
  declare const _sfc_main: DefineComponent<{
@@ -17,6 +18,7 @@ declare const _sfc_main: DefineComponent<{
17
18
  toolsButList: ComputedRef<ToolsButtonItem[]>;
18
19
  foldBtnList: ComputedRef<ButtonItem[]>;
19
20
  isObject: (value?: any) => value is object;
21
+ srmI18n: SrmI18n;
20
22
  }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
21
23
  buttonConfig: {
22
24
  type: PropType<ButtonConfig>;
@@ -1,8 +1,10 @@
1
1
  import type { UseNamespace } from '../../../../../../shared/hooks/use-namespace';
2
+ import type { SrmI18n } from '../../../../../../../utils/type';
2
3
  import type { DefineComponent, Ref, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
3
4
  import type { PageData, QueryFormItem, ObjectMap, QueryFormItemSelect, ISelectArgs } from '../../../../list-page-layout-types';
4
5
  declare const _sfc_main: DefineComponent<{}, {
5
6
  pageData: PageData;
7
+ srmI18n: SrmI18n;
6
8
  form: QueryFormItem[];
7
9
  formState: ObjectMap;
8
10
  isExpand: Ref<boolean>;
@@ -1,7 +1,9 @@
1
+ import type { SrmI18n } from '../../../../../../../utils/type';
1
2
  import type { UseNamespace } from '../../../../../../shared/hooks/use-namespace';
2
3
  import type { DefineComponent, Ref, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
3
4
  declare const _sfc_main: DefineComponent<{}, {
4
5
  ns: UseNamespace;
6
+ srmI18n: SrmI18n;
5
7
  appList: Ref<any>;
6
8
  showNumber: Ref<number>;
7
9
  setNav: () => void;