@qqt-product/ui 16.0.4 → 17.0.0

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 (74) hide show
  1. package/dist/index.es.js +23830 -24620
  2. package/dist/index.umd.js +109 -109
  3. package/dist/lib/components/audit-modal/src/hook/use-audit-config-hook.d.ts +1 -1
  4. package/dist/lib/components/businessI18n/index.d.ts +2607 -0
  5. package/dist/lib/components/businessI18n/src/business-i18n.vue.d.ts +2604 -0
  6. package/dist/lib/components/card-list-layout/index.d.ts +4 -4
  7. package/dist/lib/components/card-list-layout/src/card-content.vue.d.ts +2 -2
  8. package/dist/lib/components/card-list-layout/src/cardItem.vue.d.ts +2 -2
  9. package/dist/lib/components/card-list-layout/src/index.vue.d.ts +4 -4
  10. package/dist/lib/components/checkbox/index.d.ts +1 -1
  11. package/dist/lib/components/checkbox/src/checkbox-types.d.ts +1 -0
  12. package/dist/lib/components/checkbox/src/checkbox.vue.d.ts +1 -1
  13. package/dist/lib/components/code-editor-model/src/code-editor-model.vue.d.ts +1 -1
  14. package/dist/lib/components/countdown/index.d.ts +1 -1
  15. package/dist/lib/components/countdown/src/countdown.d.ts +1 -1
  16. package/dist/lib/components/currency/index.d.ts +2 -2
  17. package/dist/lib/components/currency/src/currency.vue.d.ts +2 -2
  18. package/dist/lib/components/detail-form/index.d.ts +2 -2
  19. package/dist/lib/components/detail-form/src/detail-form.vue.d.ts +2 -2
  20. package/dist/lib/components/detail-grid/index.d.ts +20 -2
  21. package/dist/lib/components/detail-grid/src/detail-grid.vue.d.ts +21 -3
  22. package/dist/lib/components/detail-page-layout/index.d.ts +1 -0
  23. package/dist/lib/components/detail-page-layout/src/detail-page-layout.vue.d.ts +1 -0
  24. package/dist/lib/components/edit-form/index.d.ts +1 -1
  25. package/dist/lib/components/edit-form/src/edit-form.vue.d.ts +1 -1
  26. package/dist/lib/components/edit-grid/index.d.ts +20 -2
  27. package/dist/lib/components/edit-grid/src/edit-grid-types.d.ts +9 -1
  28. package/dist/lib/components/edit-grid/src/edit-grid.vue.d.ts +20 -2
  29. package/dist/lib/components/edit-grid/src/hook/use-grid-config-hook.d.ts +1 -0
  30. package/dist/lib/components/edit-page-layout/index.d.ts +1 -0
  31. package/dist/lib/components/edit-page-layout/src/edit-page-layout-types.d.ts +30 -17
  32. package/dist/lib/components/edit-page-layout/src/edit-page-layout.vue.d.ts +1 -0
  33. package/dist/lib/components/edit-page-layout/src/types.d.ts +1 -1
  34. package/dist/lib/components/empty/index.d.ts +2 -2
  35. package/dist/lib/components/index.d.ts +4 -2
  36. package/dist/lib/components/layout/index.d.ts +0 -33
  37. package/dist/lib/components/layout/src/index.vue.d.ts +0 -33
  38. package/dist/lib/components/layout-pattern/index.d.ts +1 -0
  39. package/dist/lib/components/layout-pattern/src/components/tab.vue.d.ts +1 -0
  40. package/dist/lib/components/layout-pattern/src/components/tabDetail.vue.d.ts +1 -0
  41. package/dist/lib/components/layout-pattern/src/layout-pattern.vue.d.ts +1 -0
  42. package/dist/lib/components/menu/src/index.d.ts +1 -1
  43. package/dist/lib/components/multipane/index.d.ts +50 -0
  44. package/dist/lib/components/multipaneResizer/index.d.ts +42 -0
  45. package/dist/lib/components/page-layout/index.d.ts +5 -5
  46. package/dist/lib/components/page-layout/src/constant/symbol.d.ts +2 -0
  47. package/dist/lib/components/page-layout/src/hook/use-audit-button.d.ts +2 -2
  48. package/dist/lib/components/page-layout/src/hook/use-excel-import.d.ts +1 -1
  49. package/dist/lib/components/page-layout/src/hook/use-file-upload.d.ts +3 -3
  50. package/dist/lib/components/page-layout/src/hook/use-grid-events.d.ts +3 -1
  51. package/dist/lib/components/page-layout/src/hook/use-promise-step.d.ts +1 -1
  52. package/dist/lib/components/page-layout/src/page-layout.vue.d.ts +5 -5
  53. package/dist/lib/components/radio/index.d.ts +1 -1
  54. package/dist/lib/components/radio/src/radio.vue.d.ts +1 -1
  55. package/dist/lib/components/relation-graph/src/relation-graph.vue.d.ts +2 -34
  56. package/dist/lib/components/select/index.d.ts +1 -1
  57. package/dist/lib/components/select/src/select.vue.d.ts +1 -1
  58. package/dist/lib/components/upload-file/index.d.ts +1 -1
  59. package/dist/lib/components/upload-file/src/upload-file.vue.d.ts +1 -1
  60. package/dist/lib/components/upload-image/index.d.ts +38 -6
  61. package/dist/lib/components/upload-image/src/upload-image.vue.d.ts +36 -5
  62. package/dist/lib/utils/event.d.ts +4 -2
  63. package/dist/style.css +1 -1
  64. package/package.json +14 -14
  65. package/dist/lib/components/ladder-price/index.d.ts +0 -85
  66. package/dist/lib/components/ladder-price/src/LadderNotPriceModal.vue.d.ts +0 -41
  67. package/dist/lib/components/ladder-price/src/LadderPriceModal.vue.d.ts +0 -42
  68. package/dist/lib/components/ladder-price/src/hook/use-type-hook.d.ts +0 -9
  69. package/dist/lib/components/ladder-price/src/ladder-not-price-modal-types.d.ts +0 -16
  70. package/dist/lib/components/ladder-price/src/ladder-price-modal-types.d.ts +0 -15
  71. package/dist/lib/components/ladder-price/src/ladder-price-types.d.ts +0 -43
  72. package/dist/lib/components/ladder-price/src/ladder-price.vue.d.ts +0 -82
  73. package/dist/lib/components/ladder-price/src/use-ladder-not-price-modal.d.ts +0 -6
  74. package/dist/lib/components/ladder-price/src/use-ladder-price.d.ts +0 -6
@@ -1,6 +1,7 @@
1
1
  import type { AxiosRequestConfig } from '@qqt-product/api';
2
2
  import type { Ref, ComputedRef, PropType, ExtractPropTypes, SetupContext, ComponentInternalInstance } from 'vue';
3
- import type { VxeGridProps, VxeTablePropTypes, VxeTableDefines, VxeTableDataRow, VxeTableConstructor, VxeTablePrivateMethods, VxeGridConstructor, VxeGridDefines, VxeTableProDefines } from 'vxe-table';
3
+ import type { FormInstance } from 'ant-design-vue';
4
+ import type { VxeGridProps, VxeTablePropTypes, VxeTableDefines, VxeTableDataRow, VxeTableConstructor, VxeTablePrivateMethods, VxeGridConstructor, VxeGridDefines, VxeTableProDefines, VxeGridInstance } from 'vxe-table';
4
5
  import type { Decimal } from 'decimal.js';
5
6
  import { FlowViewModalProps } from '../../flow-view/src/flow-view-modal-types';
6
7
  import { Extend } from '../../select-modal';
@@ -18,7 +19,7 @@ export interface UserInfo {
18
19
  elsAccount: string;
19
20
  subAccount: string;
20
21
  serivceUrl: string;
21
- [key: string]: unknown;
22
+ [key: string]: any;
22
23
  }
23
24
  export interface CurrentRow {
24
25
  templateNumber: string;
@@ -26,16 +27,18 @@ export interface CurrentRow {
26
27
  templateAccount: string;
27
28
  busAccount: string;
28
29
  elsAccount: string;
29
- [key: string]: unknown;
30
+ [key: string]: any;
30
31
  }
31
32
  export interface DictCodeItem {
32
33
  title: string;
33
34
  value: string;
34
- [key: string]: unknown;
35
+ [key: string]: any;
35
36
  }
36
37
  export type Role = string;
37
38
  export declare function roleValidator(pattern: string): boolean;
38
39
  export type GroupType = 'head' | 'item';
40
+ export type ZeroOrOne = '0' | '1';
41
+ export type PrefixColumnType = 'checkbox' | 'radio';
39
42
  export type Pattern = 'vertical' | 'tab' | 'master';
40
43
  export declare function patternValidator(pattern: string): boolean;
41
44
  export interface Icon {
@@ -50,7 +53,7 @@ export interface PageButtonPayload {
50
53
  }
51
54
  export interface PageButtonArgs {
52
55
  url: string;
53
- [key: string]: unknown;
56
+ [key: string]: any;
54
57
  }
55
58
  export interface PageButtonArgsFunctionType {
56
59
  (pageData: RecordString): PageButtonArgs;
@@ -83,7 +86,7 @@ export interface PageButton {
83
86
  export interface PageUploadButton extends Omit<PageButton, 'args'> {
84
87
  args?: {
85
88
  url?: string;
86
- [key: string]: unknown;
89
+ [key: string]: any;
87
90
  };
88
91
  }
89
92
  export interface PageButtonWithGroupCode extends PageButton {
@@ -96,7 +99,7 @@ export interface PageButtonUploadType extends PageButton {
96
99
  onConfirmBeforeUpload?: (formData: FileDataType) => boolean;
97
100
  }
98
101
  export interface FormDataType extends FileDataType {
99
- [key: string]: unknown;
102
+ [key: string]: any;
100
103
  }
101
104
  export interface PageButtonDeleteRow extends PageButton {
102
105
  groupCode: string;
@@ -106,7 +109,7 @@ export interface PageDownLoadButton extends Omit<PageButton, 'args'> {
106
109
  args?: {
107
110
  url?: string;
108
111
  role?: string;
109
- [key: string]: unknown;
112
+ [key: string]: any;
110
113
  };
111
114
  }
112
115
  export interface PageButtonDownLoad extends PageDownLoadButton {
@@ -121,7 +124,7 @@ export interface PageDeleteFileRowButton extends Omit<PageButton, 'handleBefore'
121
124
  args?: {
122
125
  url?: string;
123
126
  role?: string;
124
- [key: string]: unknown;
127
+ [key: string]: any;
125
128
  };
126
129
  handleBefore?: (args: ExposeWithPageDeleteFileRows) => Promise<ExposeWithPageDeleteFileRows>;
127
130
  handleAfter?: (args: ExposeWithPageDeleteFileRows) => Promise<ExposeWithPageDeleteFileRows>;
@@ -130,7 +133,7 @@ export interface PageButtonDeleteFileRow extends Omit<PageButton, 'args'> {
130
133
  args?: {
131
134
  url?: string;
132
135
  role?: string;
133
- [key: string]: unknown;
136
+ [key: string]: any;
134
137
  };
135
138
  groupCode: string;
136
139
  ids: string[];
@@ -157,10 +160,18 @@ export declare function pageButtonPositionValidator(mode: string): boolean;
157
160
  export type RecordString = Record<string, any>;
158
161
  export type OmitEditConfigVxeGridProps = Omit<VxeGridProps, 'editConfig'>;
159
162
  export type OmitBeforeEditMethodEditConfig = Omit<VxeTablePropTypes.EditConfig, 'beforeEditMethod'>;
163
+ export interface InstanceParams {
164
+ groupCode: string;
165
+ formRef: FormInstance;
166
+ }
160
167
  /**
161
168
  * Vxe 表格事件类型
162
169
  * start
163
170
  */
171
+ export interface VxeInstanceParams {
172
+ groupCode: string;
173
+ $grid: VxeGridInstance;
174
+ }
164
175
  export interface KeydownEventParams extends VxeGridDefines.KeydownEventParams<VxeTableDataRow> {
165
176
  groupCode: string;
166
177
  }
@@ -267,7 +278,9 @@ export interface Group {
267
278
  master?: boolean;
268
279
  useAllConfig?: boolean;
269
280
  setMaxHeight?: boolean;
270
- enableTile?: '0' | '1';
281
+ setPrefixColumn?: boolean;
282
+ prefixColumnType?: PrefixColumnType;
283
+ enableTile?: ZeroOrOne;
271
284
  columns?: ColumnItem[];
272
285
  formFields?: FormFieldsItem[];
273
286
  }
@@ -303,7 +316,7 @@ export interface ExposeWithPageButtons {
303
316
  addResult?: CurrentRow;
304
317
  rows?: RecordString[];
305
318
  }
306
- export type CustomFormatItem = (groupCode: string, fieldName: string, fn: (item: FormFieldsItem | ColumnItem) => void, exclude?: string[]) => void;
319
+ export type CustomFormatItem = (groupCode: string, fieldName: string, fn: (item: FormFieldsItem | ColumnItem, group?: Group) => void, exclude?: string[]) => void;
307
320
  export type SetItemRequired = (groupCode: string, fieldName: string, flag: boolean, exclude?: string[]) => void;
308
321
  export type SetItemDisabled = (groupCode: string, fieldName: string, flag: boolean, exclude?: string[]) => void;
309
322
  export type SetItemRequiredOrDisabled = (groupCode: string, fieldName: string, flag: boolean, exclude?: string[]) => void;
@@ -349,7 +362,7 @@ export type VxePayload = {
349
362
  };
350
363
  export interface UploadExtend {
351
364
  businessType?: string;
352
- [key: string]: unknown;
365
+ [key: string]: any;
353
366
  }
354
367
  export interface LadderPriceExtend {
355
368
  current?: number;
@@ -362,12 +375,12 @@ export interface FormFieldsItem {
362
375
  fieldName: string;
363
376
  helpText?: string;
364
377
  disabled?: boolean;
365
- required?: '0' | '1';
378
+ required?: ZeroOrOne;
366
379
  regex?: RegExp;
367
380
  alertMsg?: string;
368
381
  options?: RecordString[];
369
382
  callback?: (ctx: ComponentInternalInstance | null, payload: Payload) => void;
370
- [key: string]: unknown;
383
+ [key: string]: any;
371
384
  }
372
385
  export interface ColumnItem {
373
386
  groupCode: string;
@@ -377,12 +390,12 @@ export interface ColumnItem {
377
390
  fieldType?: string;
378
391
  helpText?: string;
379
392
  disabled?: boolean;
380
- required?: '0' | '1';
393
+ required?: ZeroOrOne;
381
394
  regex?: string | RegExp;
382
395
  alertMsg?: string;
383
396
  options?: RecordString[];
384
397
  callback?: (ctx: SetupContext, payload: VxePayload) => void;
385
- [key: string]: unknown;
398
+ [key: string]: any;
386
399
  }
387
400
  export interface FormFieldsItemSelectModal extends FormFieldsItem {
388
401
  extend: Extend;
@@ -111,6 +111,7 @@ declare const _sfc_main: DefineComponent<{
111
111
  }[];
112
112
  computedCustomSlotFields: ComputedRef<ComputedFormFieldsItem[]>;
113
113
  handlePageBack: () => void;
114
+ passScopedSlots: string[];
114
115
  }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
115
116
  showPageHeader: {
116
117
  type: PropType<boolean>;
@@ -1 +1 @@
1
- export type { ResponseType, UserInfo, CurrentRow, DictCodeItem, Role, GroupType, Pattern, Icon, PageButtonPayload, PageButtonArgs, PageButtonArgsFunctionType, PageButton, PageUploadButton, PageButtonWithGroupCode, PageButtonDeleteRow, PageDownLoadButton, PageButtonDownLoad, ExposeWithPageDeleteFileRows, PageDeleteFileRowButton, PageButtonDeleteFileRow, ValidateStatus, ValidateResult, PageButtonPosition, RecordString, OmitEditConfigVxeGridProps, OmitBeforeEditMethodEditConfig, KeydownEventParams, HeaderCellClickEventParams, HeaderCellDblclickEventParams, HeaderCellMenuEventParams, CellClickEventParams, CellDblclickEventParams, CellMenuEventParams, FooterCellClickEventParams, FooterCellDblclickEventParams, FooterCellMenuEventParams, RadioChangeEventParams, CheckboxChangeEventParams, CheckboxAllEventParams, ScrollEventParams, ZoomEventParams, CustomEventParams, CellAreaCutParams, CellAreaCopyParams, CellAreaPasteParams, FlowApprovalCallbackPayload, BeforeEditMethodParams, MixBeforeEditMethod, MixEditConfig, MixVxeGridProps, GroupExtend, Group, HeadGroupType, ItemGroupType, GroupItem, StringOrNumber, Expose, ExposeWithPageButtons, CustomFormatItem, SetItemRequired, SetItemDisabled, SetItemRequiredOrDisabled, ValuePayload, UsePromiseStepPayload, Payload, VxePayload, UploadExtend, FormFieldsItem, ColumnItem, FormFieldsItemSelectModal, ColumnItemWithSelectModal, FormFieldsItemUpload, ColumnItemWithExtend, FormFieldsItemWithValue, ColumnItemWithValue, ImportPropsType, FlowPropsType, ComputedFormFieldsItem, BindFunctionEvent, VxeBindFunctionEvent, RemoteConfig, LayoutConfig, LocalConfig, DetailApiFunctionType, EditPageLayoutProps, Extend, LadderPriceExtend, FormDataType, } from './edit-page-layout-types';
1
+ export type { ResponseType, UserInfo, CurrentRow, DictCodeItem, Role, GroupType, Pattern, Icon, PageButtonPayload, PageButtonArgs, PageButtonArgsFunctionType, PageButton, PageUploadButton, PageButtonWithGroupCode, PageButtonDeleteRow, PageDownLoadButton, PageButtonDownLoad, ExposeWithPageDeleteFileRows, PageDeleteFileRowButton, PageButtonDeleteFileRow, ValidateStatus, ValidateResult, PageButtonPosition, RecordString, OmitEditConfigVxeGridProps, OmitBeforeEditMethodEditConfig, KeydownEventParams, HeaderCellClickEventParams, HeaderCellDblclickEventParams, HeaderCellMenuEventParams, CellClickEventParams, CellDblclickEventParams, CellMenuEventParams, FooterCellClickEventParams, FooterCellDblclickEventParams, FooterCellMenuEventParams, RadioChangeEventParams, CheckboxChangeEventParams, CheckboxAllEventParams, ScrollEventParams, ZoomEventParams, CustomEventParams, CellAreaCutParams, CellAreaCopyParams, CellAreaPasteParams, VxeInstanceParams, InstanceParams, FlowApprovalCallbackPayload, BeforeEditMethodParams, MixBeforeEditMethod, MixEditConfig, MixVxeGridProps, GroupExtend, Group, HeadGroupType, ItemGroupType, GroupItem, StringOrNumber, Expose, ExposeWithPageButtons, CustomFormatItem, SetItemRequired, SetItemDisabled, SetItemRequiredOrDisabled, ValuePayload, UsePromiseStepPayload, Payload, VxePayload, UploadExtend, FormFieldsItem, ColumnItem, FormFieldsItemSelectModal, ColumnItemWithSelectModal, FormFieldsItemUpload, ColumnItemWithExtend, FormFieldsItemWithValue, ColumnItemWithValue, ImportPropsType, FlowPropsType, ComputedFormFieldsItem, BindFunctionEvent, VxeBindFunctionEvent, RemoteConfig, LayoutConfig, LocalConfig, DetailApiFunctionType, EditPageLayoutProps, Extend, LadderPriceExtend, FormDataType, } from './edit-page-layout-types';
@@ -55,8 +55,8 @@ declare const Empty: DefineComponent<{
55
55
  };
56
56
  }>>, {
57
57
  readonly color: string;
58
- readonly mode: "vertical" | "horizontal";
59
58
  readonly size: string;
59
+ readonly mode: "vertical" | "horizontal";
60
60
  readonly noMsg: string;
61
61
  }, {}>;
62
62
  export { Empty };
@@ -96,8 +96,8 @@ declare const _default: SFCWithInstall<DefineComponent<{
96
96
  };
97
97
  }>>, {
98
98
  readonly color: string;
99
- readonly mode: "vertical" | "horizontal";
100
99
  readonly size: string;
100
+ readonly mode: "vertical" | "horizontal";
101
101
  readonly noMsg: string;
102
102
  }, {}>>;
103
103
  export default _default;
@@ -16,7 +16,6 @@ import * as QRemoteSelect from './remote-select';
16
16
  import * as QEditor from './editor';
17
17
  import * as QCustomRemoteSelect from './custom-remote-select';
18
18
  import * as QSaleTemplate from './sale-template';
19
- import * as QLadderPrice from './ladder-price';
20
19
  import * as FlowViewModal from './flow-view';
21
20
  import * as QEditPageLayout from './edit-page-layout';
22
21
  import * as QDetailPageLayout from './detail-page-layout';
@@ -47,4 +46,7 @@ import * as QBasicTitle from './basicTitle';
47
46
  import * as QScrollbar from './scrollbar';
48
47
  import * as QScrollContainer from './scrollContainer';
49
48
  import * as QBasicModal from './modal';
50
- export { QLayout, QSwitch, QSelect, QMenu, QTreeSelect, QVxeSelect, QCascader, QBreadcrumb, QCountdown, QEmpty, QLink, QCollapseTransition, QEditPageLayout, QDetailPageLayout, QPageLayout, QLayoutPattern, QLayoutButtons, QLayoutAnchor, QEditForm, QDetailForm, QEditGrid, QDetailGrid, QItemWrap, QListLayout, QRadio, QFieldSelectModal, QCodeEditorModel, QCheckBox, QCurrency, QSelectModal, QUploadImage, QRemoteSelect, QEditor, QSaleTemplate, QLadderPrice, FlowViewModal, QUploadFile, QCardListLayout, QUploadFileVxe, QSelectTemplate, QImportModal, QRelationGraph, QAuditModal, QRichEditorModel, QCustomRemoteSelect, QBasicTitle, QScrollbar, QScrollContainer, QBasicModal, };
49
+ import * as QMultipane from './multipane';
50
+ import * as QMultipaneResizer from './multipaneResizer';
51
+ import * as QBusinessI18n from './businessI18n';
52
+ export { QLayout, QSwitch, QSelect, QMenu, QTreeSelect, QVxeSelect, QCascader, QBreadcrumb, QCountdown, QEmpty, QLink, QCollapseTransition, QEditPageLayout, QDetailPageLayout, QPageLayout, QLayoutPattern, QLayoutButtons, QLayoutAnchor, QEditForm, QDetailForm, QEditGrid, QDetailGrid, QItemWrap, QListLayout, QRadio, QFieldSelectModal, QCodeEditorModel, QCheckBox, QCurrency, QSelectModal, QUploadImage, QRemoteSelect, QEditor, QSaleTemplate, FlowViewModal, QUploadFile, QCardListLayout, QUploadFileVxe, QSelectTemplate, QImportModal, QRelationGraph, QAuditModal, QRichEditorModel, QCustomRemoteSelect, QBasicTitle, QScrollbar, QScrollContainer, QBasicModal, QMultipane, QMultipaneResizer, QBusinessI18n, };
@@ -1215,39 +1215,6 @@ declare const _default: SFCWithInstall<DefineComponent<{
1215
1215
  }, {}, {}>;
1216
1216
  }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{}>>, {}, {}>;
1217
1217
  }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{}>>, {}, {}>;
1218
- readonly QIcon: DefineComponent<{
1219
- type: {
1220
- type: PropType<string>;
1221
- default: string;
1222
- };
1223
- size: {
1224
- type: (StringConstructor | NumberConstructor)[];
1225
- };
1226
- color: {
1227
- type: StringConstructor;
1228
- };
1229
- }, {
1230
- fontSize: ComputedRef<{
1231
- fontSize: string;
1232
- }>;
1233
- iconType: ComputedRef<string>;
1234
- iconColor: ComputedRef<{
1235
- color: string;
1236
- }>;
1237
- }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
1238
- type: {
1239
- type: PropType<string>;
1240
- default: string;
1241
- };
1242
- size: {
1243
- type: (StringConstructor | NumberConstructor)[];
1244
- };
1245
- color: {
1246
- type: StringConstructor;
1247
- };
1248
- }>>, {
1249
- type: string;
1250
- }, {}>;
1251
1218
  }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("menuSelect" | "schedule-click" | "services-click" | "chatAi-click")[], "menuSelect" | "schedule-click" | "services-click" | "chatAi-click", VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
1252
1219
  internalOrExternal: {
1253
1220
  type: BooleanConstructor;
@@ -1212,39 +1212,6 @@ declare const _sfc_main: DefineComponent<{
1212
1212
  }, {}, {}>;
1213
1213
  }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{}>>, {}, {}>;
1214
1214
  }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{}>>, {}, {}>;
1215
- readonly QIcon: DefineComponent<{
1216
- type: {
1217
- type: PropType<string>;
1218
- default: string;
1219
- };
1220
- size: {
1221
- type: (StringConstructor | NumberConstructor)[];
1222
- };
1223
- color: {
1224
- type: StringConstructor;
1225
- };
1226
- }, {
1227
- fontSize: ComputedRef<{
1228
- fontSize: string;
1229
- }>;
1230
- iconType: ComputedRef<string>;
1231
- iconColor: ComputedRef<{
1232
- color: string;
1233
- }>;
1234
- }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
1235
- type: {
1236
- type: PropType<string>;
1237
- default: string;
1238
- };
1239
- size: {
1240
- type: (StringConstructor | NumberConstructor)[];
1241
- };
1242
- color: {
1243
- type: StringConstructor;
1244
- };
1245
- }>>, {
1246
- type: string;
1247
- }, {}>;
1248
1215
  }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("menuSelect" | "schedule-click" | "services-click" | "chatAi-click")[], "menuSelect" | "schedule-click" | "services-click" | "chatAi-click", VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
1249
1216
  internalOrExternal: {
1250
1217
  type: BooleanConstructor;
@@ -25,6 +25,7 @@ declare const _default: SFCWithInstall<DefineComponent<{
25
25
  patternAppend: string;
26
26
  }[]>;
27
27
  computedCustomSlotFields: ComputedRef<ComputedFormFieldsItem[]>;
28
+ passScopedSlots: string[];
28
29
  }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
29
30
  title: {
30
31
  type: PropType<string>;
@@ -9,6 +9,7 @@ declare const _sfc_main: DefineComponent<{
9
9
  pageButtons: PageButton[];
10
10
  layoutConfig: Ref<LayoutConfig>;
11
11
  current: Ref<number>;
12
+ setCurrent: (idx: number) => void;
12
13
  computedGroups: ComputedRef<GroupItem[]>;
13
14
  showPageHeader: boolean;
14
15
  currentRow: CurrentRow;
@@ -9,6 +9,7 @@ declare const _sfc_main: DefineComponent<{
9
9
  pageButtons: PageButton[];
10
10
  layoutConfig: Ref<LayoutConfig>;
11
11
  activeKey: Ref<string>;
12
+ setActiveKey: (key: string) => void;
12
13
  computedGroups: ComputedRef<GroupItem[]>;
13
14
  showPageHeader: boolean;
14
15
  currentRow: CurrentRow;
@@ -21,6 +21,7 @@ declare const _sfc_main: DefineComponent<{
21
21
  patternAppend: string;
22
22
  }[]>;
23
23
  computedCustomSlotFields: ComputedRef<ComputedFormFieldsItem[]>;
24
+ passScopedSlots: string[];
24
25
  }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
25
26
  title: {
26
27
  type: PropType<string>;
@@ -69,8 +69,8 @@ declare const _default: DefineComponent<{
69
69
  default: unknown;
70
70
  };
71
71
  }>>, {
72
- readonly mode: MenuMode;
73
72
  readonly theme: MenuTheme;
73
+ readonly mode: MenuMode;
74
74
  readonly menus: MenuTreeNode[];
75
75
  readonly _route: RouteLocationNormalizedLoaded;
76
76
  readonly _query: LocationQuery;
@@ -0,0 +1,50 @@
1
+ import type { SFCWithInstall } from '@qqt-product/utils/dist/modules/withInstall';
2
+ import type { DefineComponent, VNode, RendererNode, RendererElement, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes, PropType } from 'vue';
3
+ export type Layout = 'horizontal' | 'vertical';
4
+ declare const multipaneProps: {
5
+ readonly layout: {
6
+ readonly type: PropType<Layout>;
7
+ readonly default: "vertical";
8
+ };
9
+ };
10
+ export type MultipaneProps = ExtractPropTypes<typeof multipaneProps>;
11
+ declare const Multipane: DefineComponent<{
12
+ readonly layout: {
13
+ readonly type: PropType<Layout>;
14
+ readonly default: "vertical";
15
+ };
16
+ }, () => VNode<RendererNode, RendererElement, {
17
+ [key: string]: any;
18
+ }>, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("paneResizeStart" | "paneResize" | "paneResizeStop")[], "paneResizeStart" | "paneResize" | "paneResizeStop", VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
19
+ readonly layout: {
20
+ readonly type: PropType<Layout>;
21
+ readonly default: "vertical";
22
+ };
23
+ }>> & {
24
+ onPaneResizeStart?: ((...args: any[]) => any) | undefined;
25
+ onPaneResize?: ((...args: any[]) => any) | undefined;
26
+ onPaneResizeStop?: ((...args: any[]) => any) | undefined;
27
+ }, {
28
+ readonly layout: Layout;
29
+ }, {}>;
30
+ export { Multipane };
31
+ declare const _default: SFCWithInstall<DefineComponent<{
32
+ readonly layout: {
33
+ readonly type: PropType<Layout>;
34
+ readonly default: "vertical";
35
+ };
36
+ }, () => VNode<RendererNode, RendererElement, {
37
+ [key: string]: any;
38
+ }>, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("paneResizeStart" | "paneResize" | "paneResizeStop")[], "paneResizeStart" | "paneResize" | "paneResizeStop", VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
39
+ readonly layout: {
40
+ readonly type: PropType<Layout>;
41
+ readonly default: "vertical";
42
+ };
43
+ }>> & {
44
+ onPaneResizeStart?: ((...args: any[]) => any) | undefined;
45
+ onPaneResize?: ((...args: any[]) => any) | undefined;
46
+ onPaneResizeStop?: ((...args: any[]) => any) | undefined;
47
+ }, {
48
+ readonly layout: Layout;
49
+ }, {}>>;
50
+ export default _default;
@@ -0,0 +1,42 @@
1
+ import type { SFCWithInstall } from '@qqt-product/utils/dist/modules/withInstall';
2
+ import type { DefineComponent, VNode, RendererNode, RendererElement, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes, PropType } from 'vue';
3
+ export type Layout = 'horizontal' | 'vertical';
4
+ declare const multipaneResizerProps: {
5
+ readonly layout: {
6
+ readonly type: PropType<Layout>;
7
+ readonly default: "vertical";
8
+ };
9
+ };
10
+ export type MultipaneResizerProps = ExtractPropTypes<typeof multipaneResizerProps>;
11
+ declare const MultipaneResizermpty: DefineComponent<{
12
+ readonly layout: {
13
+ readonly type: PropType<Layout>;
14
+ readonly default: "vertical";
15
+ };
16
+ }, () => VNode<RendererNode, RendererElement, {
17
+ [key: string]: any;
18
+ }>, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
19
+ readonly layout: {
20
+ readonly type: PropType<Layout>;
21
+ readonly default: "vertical";
22
+ };
23
+ }>>, {
24
+ readonly layout: Layout;
25
+ }, {}>;
26
+ export { MultipaneResizermpty };
27
+ declare const _default: SFCWithInstall<DefineComponent<{
28
+ readonly layout: {
29
+ readonly type: PropType<Layout>;
30
+ readonly default: "vertical";
31
+ };
32
+ }, () => VNode<RendererNode, RendererElement, {
33
+ [key: string]: any;
34
+ }>, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
35
+ readonly layout: {
36
+ readonly type: PropType<Layout>;
37
+ readonly default: "vertical";
38
+ };
39
+ }>>, {
40
+ readonly layout: Layout;
41
+ }, {}>>;
42
+ export default _default;
@@ -36,7 +36,7 @@ declare const _default: SFCWithInstall<DefineComponent<Readonly<ComponentPropsOp
36
36
  readonly 'onUpdate:visible'?: ((value: boolean) => void) | ((value: boolean) => void)[] | undefined;
37
37
  readonly visible?: boolean | undefined;
38
38
  readonly currentRow?: {
39
- [x: string]: unknown;
39
+ [x: string]: any;
40
40
  templateNumber: string;
41
41
  templateVersion: number;
42
42
  templateAccount: string;
@@ -45,15 +45,15 @@ declare const _default: SFCWithInstall<DefineComponent<Readonly<ComponentPropsOp
45
45
  } | undefined;
46
46
  readonly action?: string | undefined;
47
47
  readonly accept?: string | undefined;
48
+ readonly property?: string | undefined;
48
49
  readonly dictCode?: string | undefined;
49
50
  readonly userInfo?: {
50
- [x: string]: unknown;
51
+ [x: string]: any;
51
52
  elsAccount: string;
52
53
  subAccount: string;
53
54
  serivceUrl: string;
54
55
  } | undefined;
55
56
  readonly role?: string | undefined;
56
- readonly property?: string | undefined;
57
57
  readonly defaultFileType?: string | undefined;
58
58
  readonly requiredFileType?: boolean | undefined;
59
59
  readonly defaultFileBelong?: string | undefined;
@@ -86,7 +86,7 @@ declare const _default: SFCWithInstall<DefineComponent<Readonly<ComponentPropsOp
86
86
  i18nKey?: string | undefined;
87
87
  key: string | symbol;
88
88
  args: PageButtonArgsFunctionType | {
89
- [x: string]: unknown;
89
+ [x: string]: any;
90
90
  url: string;
91
91
  };
92
92
  authorityCode?: string | undefined;
@@ -154,7 +154,7 @@ declare const _default: SFCWithInstall<DefineComponent<Readonly<ComponentPropsOp
154
154
  i18nKey?: string | undefined;
155
155
  key: string | symbol;
156
156
  args: PageButtonArgsFunctionType | {
157
- [x: string]: unknown;
157
+ [x: string]: any;
158
158
  url: string;
159
159
  };
160
160
  authorityCode?: string | undefined;
@@ -53,10 +53,12 @@ export declare const SYMBOL_VXE_CUSTOM = "VXE_CUSTOM";
53
53
  export declare const SYMBOL_VXE_CELL_AREA_COPY = "VXE_CELL_AREA_COPY";
54
54
  export declare const SYMBOL_VXE_CELL_AREA_CUT = "VXE_CELL_AREA_CUT";
55
55
  export declare const SYMBOL_VXE_CELL_AREA_PASTE = "VXE_CELL_AREA_PASTE";
56
+ export declare const SYMBOL_VXE_INSTANCE = "VXE_INSTANCE";
56
57
  /**
57
58
  * vxe表格事件
58
59
  * end
59
60
  */
61
+ export declare const SYMBOL_INSTANCE = "INSTANCE";
60
62
  /**************************************审批按钮组 start************************************/
61
63
  export declare const SYMBOL_AUDIT_AGREE = "AUDIT_AGREE";
62
64
  export declare const SYMBOL_AUDIT_REFUSE = "AUDIT_REFUSE";
@@ -18,7 +18,7 @@ export default function useAuditButtonHook({ currentRow, businessType, layoutExt
18
18
  i18nKey?: string | undefined;
19
19
  key: string | symbol;
20
20
  args: PageButtonArgsFunctionType | {
21
- [x: string]: unknown;
21
+ [x: string]: any;
22
22
  url: string;
23
23
  };
24
24
  authorityCode?: string | undefined;
@@ -97,7 +97,7 @@ export default function useAuditButtonHook({ currentRow, businessType, layoutExt
97
97
  i18nKey?: string | undefined;
98
98
  key: string | symbol;
99
99
  args: PageButtonArgsFunctionType | {
100
- [x: string]: unknown;
100
+ [x: string]: any;
101
101
  url: string;
102
102
  };
103
103
  authorityCode?: string | undefined;
@@ -8,7 +8,7 @@ export default function useExcelImport(pageData: Ref<RecordString>, layoutConfig
8
8
  i18nKey?: string | undefined;
9
9
  key: string | symbol;
10
10
  args: PageButtonArgsFunctionType | {
11
- [x: string]: unknown;
11
+ [x: string]: any;
12
12
  url: string;
13
13
  };
14
14
  authorityCode?: string | undefined;
@@ -14,7 +14,7 @@ export default function useFileUpload(ctx: SetupContext, pageData: Ref<RecordStr
14
14
  readonly 'onUpdate:visible'?: ((value: boolean) => void) | ((value: boolean) => void)[] | undefined;
15
15
  readonly visible?: boolean | undefined;
16
16
  readonly currentRow?: {
17
- [x: string]: unknown;
17
+ [x: string]: any;
18
18
  templateNumber: string;
19
19
  templateVersion: number;
20
20
  templateAccount: string;
@@ -23,15 +23,15 @@ export default function useFileUpload(ctx: SetupContext, pageData: Ref<RecordStr
23
23
  } | undefined;
24
24
  readonly action?: string | undefined;
25
25
  readonly accept?: string | undefined;
26
+ readonly property?: string | undefined;
26
27
  readonly dictCode?: string | undefined;
27
28
  readonly userInfo?: {
28
- [x: string]: unknown;
29
+ [x: string]: any;
29
30
  elsAccount: string;
30
31
  subAccount: string;
31
32
  serivceUrl: string;
32
33
  } | undefined;
33
34
  readonly role?: string | undefined;
34
- readonly property?: string | undefined;
35
35
  readonly defaultFileType?: string | undefined;
36
36
  readonly requiredFileType?: boolean | undefined;
37
37
  readonly defaultFileBelong?: string | undefined;
@@ -1,5 +1,5 @@
1
1
  import type { Ref, SetupContext } from 'vue';
2
- import type { RecordString, KeydownEventParams, HeaderCellClickEventParams, HeaderCellDblclickEventParams, HeaderCellMenuEventParams, CellClickEventParams, CellDblclickEventParams, CellMenuEventParams, FooterCellClickEventParams, FooterCellDblclickEventParams, FooterCellMenuEventParams, RadioChangeEventParams, CheckboxChangeEventParams, CheckboxAllEventParams, ScrollEventParams, ZoomEventParams, CustomEventParams, CellAreaCutParams, CellAreaCopyParams, CellAreaPasteParams } from '../../../edit-page-layout';
2
+ import type { RecordString, KeydownEventParams, HeaderCellClickEventParams, HeaderCellDblclickEventParams, HeaderCellMenuEventParams, CellClickEventParams, CellDblclickEventParams, CellMenuEventParams, FooterCellClickEventParams, FooterCellDblclickEventParams, FooterCellMenuEventParams, RadioChangeEventParams, CheckboxChangeEventParams, CheckboxAllEventParams, ScrollEventParams, ZoomEventParams, CustomEventParams, CellAreaCutParams, CellAreaCopyParams, CellAreaPasteParams, VxeInstanceParams, InstanceParams } from '../../../edit-page-layout';
3
3
  export default function useGridEvents(ctx: SetupContext, pageData: Ref<RecordString>): {
4
4
  cacheRows: Ref<RecordString[]>;
5
5
  cacheGroupCode: Ref<string>;
@@ -23,4 +23,6 @@ export default function useGridEvents(ctx: SetupContext, pageData: Ref<RecordStr
23
23
  handleGridCellAreaCopy: (params: CellAreaCopyParams) => void;
24
24
  handleGridCellAreaCut: (params: CellAreaCutParams) => void;
25
25
  handleGridCellAreaPaste: (params: CellAreaPasteParams) => void;
26
+ handleGridInstance: (params: VxeInstanceParams) => void;
27
+ handleInstance: (params: InstanceParams) => void;
26
28
  };
@@ -7,7 +7,7 @@ export default function usePromiseStep<T extends UsePromiseStepPayload>(payload:
7
7
  i18nKey?: string | undefined;
8
8
  key: string | symbol;
9
9
  args: PageButtonArgsFunctionType | {
10
- [x: string]: unknown;
10
+ [x: string]: any;
11
11
  url: string;
12
12
  };
13
13
  authorityCode?: string | undefined;
@@ -25,7 +25,7 @@ declare const _sfc_main: DefineComponent<Readonly<ComponentPropsOptions<{
25
25
  readonly 'onUpdate:visible'?: ((value: boolean) => void) | ((value: boolean) => void)[] | undefined;
26
26
  readonly visible?: boolean | undefined;
27
27
  readonly currentRow?: {
28
- [x: string]: unknown;
28
+ [x: string]: any;
29
29
  templateNumber: string;
30
30
  templateVersion: number;
31
31
  templateAccount: string;
@@ -34,15 +34,15 @@ declare const _sfc_main: DefineComponent<Readonly<ComponentPropsOptions<{
34
34
  } | undefined;
35
35
  readonly action?: string | undefined;
36
36
  readonly accept?: string | undefined;
37
+ readonly property?: string | undefined;
37
38
  readonly dictCode?: string | undefined;
38
39
  readonly userInfo?: {
39
- [x: string]: unknown;
40
+ [x: string]: any;
40
41
  elsAccount: string;
41
42
  subAccount: string;
42
43
  serivceUrl: string;
43
44
  } | undefined;
44
45
  readonly role?: string | undefined;
45
- readonly property?: string | undefined;
46
46
  readonly defaultFileType?: string | undefined;
47
47
  readonly requiredFileType?: boolean | undefined;
48
48
  readonly defaultFileBelong?: string | undefined;
@@ -75,7 +75,7 @@ declare const _sfc_main: DefineComponent<Readonly<ComponentPropsOptions<{
75
75
  i18nKey?: string | undefined;
76
76
  key: string | symbol;
77
77
  args: PageButtonArgsFunctionType | {
78
- [x: string]: unknown;
78
+ [x: string]: any;
79
79
  url: string;
80
80
  };
81
81
  authorityCode?: string | undefined;
@@ -143,7 +143,7 @@ declare const _sfc_main: DefineComponent<Readonly<ComponentPropsOptions<{
143
143
  i18nKey?: string | undefined;
144
144
  key: string | symbol;
145
145
  args: PageButtonArgsFunctionType | {
146
- [x: string]: unknown;
146
+ [x: string]: any;
147
147
  url: string;
148
148
  };
149
149
  authorityCode?: string | undefined;
@@ -94,11 +94,11 @@ declare const _default: SFCWithInstall<DefineComponent<{
94
94
  readonly value: string;
95
95
  readonly onChange: ((value: string) => void) | ((value: string) => void)[];
96
96
  readonly busAccount: string;
97
+ readonly colSpan: string;
97
98
  readonly options: Option[];
98
99
  readonly 'onUpdate:value': ((value: string) => void) | ((value: string) => void)[];
99
100
  readonly dictCode: string;
100
101
  readonly required: "0" | "1";
101
102
  readonly isLayout: boolean;
102
- readonly colSpan: string;
103
103
  }, {}>>;
104
104
  export default _default;