@qqt-product/ui 16.0.5 → 20.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 (81) hide show
  1. package/dist/index.es.js +27801 -28479
  2. package/dist/index.umd.js +111 -111
  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 +8 -8
  17. package/dist/lib/components/currency/src/currency.vue.d.ts +8 -8
  18. package/dist/lib/components/currency/src/use-methods.d.ts +6 -4
  19. package/dist/lib/components/detail-form/index.d.ts +2 -2
  20. package/dist/lib/components/detail-form/src/detail-form.vue.d.ts +2 -2
  21. package/dist/lib/components/detail-grid/index.d.ts +20 -2
  22. package/dist/lib/components/detail-grid/src/detail-grid.vue.d.ts +21 -3
  23. package/dist/lib/components/detail-page-layout/index.d.ts +1 -0
  24. package/dist/lib/components/detail-page-layout/src/detail-page-layout.vue.d.ts +1 -0
  25. package/dist/lib/components/edit-form/index.d.ts +1 -1
  26. package/dist/lib/components/edit-form/src/edit-form.vue.d.ts +1 -1
  27. package/dist/lib/components/edit-grid/index.d.ts +20 -2
  28. package/dist/lib/components/edit-grid/src/edit-grid-types.d.ts +9 -1
  29. package/dist/lib/components/edit-grid/src/edit-grid.vue.d.ts +20 -2
  30. package/dist/lib/components/edit-grid/src/hook/use-grid-config-hook.d.ts +1 -0
  31. package/dist/lib/components/edit-page-layout/index.d.ts +1 -0
  32. package/dist/lib/components/edit-page-layout/src/edit-page-layout-types.d.ts +30 -17
  33. package/dist/lib/components/edit-page-layout/src/edit-page-layout.vue.d.ts +1 -0
  34. package/dist/lib/components/edit-page-layout/src/types.d.ts +1 -1
  35. package/dist/lib/components/empty/index.d.ts +2 -2
  36. package/dist/lib/components/index.d.ts +4 -2
  37. package/dist/lib/components/layout/index.d.ts +2 -33
  38. package/dist/lib/components/layout/src/header/index.vue.d.ts +2 -0
  39. package/dist/lib/components/layout/src/header/navRight/customPerson.vue.d.ts +2 -0
  40. package/dist/lib/components/layout/src/header/navRight/index.vue.d.ts +2 -0
  41. package/dist/lib/components/layout/src/index.vue.d.ts +2 -33
  42. package/dist/lib/components/layout/src/types.d.ts +0 -1
  43. package/dist/lib/components/layout-pattern/index.d.ts +1 -0
  44. package/dist/lib/components/layout-pattern/src/components/tab.vue.d.ts +1 -0
  45. package/dist/lib/components/layout-pattern/src/components/tabDetail.vue.d.ts +1 -0
  46. package/dist/lib/components/layout-pattern/src/layout-pattern.vue.d.ts +1 -0
  47. package/dist/lib/components/list-page-layout/index.d.ts +1 -0
  48. package/dist/lib/components/list-page-layout/src/layout.vue.d.ts +1 -0
  49. package/dist/lib/components/menu/src/index.d.ts +1 -1
  50. package/dist/lib/components/multipane/index.d.ts +50 -0
  51. package/dist/lib/components/multipaneResizer/index.d.ts +42 -0
  52. package/dist/lib/components/page-layout/index.d.ts +5 -5
  53. package/dist/lib/components/page-layout/src/constant/symbol.d.ts +2 -0
  54. package/dist/lib/components/page-layout/src/hook/use-audit-button.d.ts +2 -2
  55. package/dist/lib/components/page-layout/src/hook/use-excel-import.d.ts +1 -1
  56. package/dist/lib/components/page-layout/src/hook/use-file-upload.d.ts +3 -3
  57. package/dist/lib/components/page-layout/src/hook/use-grid-events.d.ts +3 -1
  58. package/dist/lib/components/page-layout/src/hook/use-promise-step.d.ts +1 -1
  59. package/dist/lib/components/page-layout/src/page-layout.vue.d.ts +5 -5
  60. package/dist/lib/components/radio/index.d.ts +1 -1
  61. package/dist/lib/components/radio/src/radio.vue.d.ts +1 -1
  62. package/dist/lib/components/relation-graph/src/relation-graph.vue.d.ts +2 -34
  63. package/dist/lib/components/select/index.d.ts +1 -1
  64. package/dist/lib/components/select/src/select.vue.d.ts +1 -1
  65. package/dist/lib/components/upload-file/index.d.ts +1 -1
  66. package/dist/lib/components/upload-file/src/upload-file.vue.d.ts +1 -1
  67. package/dist/lib/components/upload-image/index.d.ts +44 -6
  68. package/dist/lib/components/upload-image/src/upload-image.vue.d.ts +42 -5
  69. package/dist/lib/utils/event.d.ts +4 -2
  70. package/dist/style.css +1 -1
  71. package/package.json +14 -14
  72. package/dist/lib/components/ladder-price/index.d.ts +0 -85
  73. package/dist/lib/components/ladder-price/src/LadderNotPriceModal.vue.d.ts +0 -41
  74. package/dist/lib/components/ladder-price/src/LadderPriceModal.vue.d.ts +0 -42
  75. package/dist/lib/components/ladder-price/src/hook/use-type-hook.d.ts +0 -9
  76. package/dist/lib/components/ladder-price/src/ladder-not-price-modal-types.d.ts +0 -16
  77. package/dist/lib/components/ladder-price/src/ladder-price-modal-types.d.ts +0 -15
  78. package/dist/lib/components/ladder-price/src/ladder-price-types.d.ts +0 -43
  79. package/dist/lib/components/ladder-price/src/ladder-price.vue.d.ts +0 -82
  80. package/dist/lib/components/ladder-price/src/use-ladder-not-price-modal.d.ts +0 -6
  81. 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, };
@@ -1163,6 +1163,7 @@ declare const _default: SFCWithInstall<DefineComponent<{
1163
1163
  changeLangHandle: () => void;
1164
1164
  }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{}>>, {}, {}>;
1165
1165
  customPerson: DefineComponent<{}, {
1166
+ token: string;
1166
1167
  srmI18n: SrmI18n;
1167
1168
  userInfo: {
1168
1169
  token: string;
@@ -1178,6 +1179,7 @@ declare const _default: SFCWithInstall<DefineComponent<{
1178
1179
  personalSetting: () => void;
1179
1180
  handleLogout: () => void;
1180
1181
  nickname: Ref<string>;
1182
+ imgUrlForToken: (imgUrl: string | undefined) => string | undefined;
1181
1183
  avatarUrl: ComputedRef<string>;
1182
1184
  handlePersonalSettings: () => void;
1183
1185
  readonly SettingOutlined: SettingOutlinedIconType;
@@ -1215,39 +1217,6 @@ declare const _default: SFCWithInstall<DefineComponent<{
1215
1217
  }, {}, {}>;
1216
1218
  }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{}>>, {}, {}>;
1217
1219
  }, {}, {}, {}, 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
1220
  }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("menuSelect" | "schedule-click" | "services-click" | "chatAi-click")[], "menuSelect" | "schedule-click" | "services-click" | "chatAi-click", VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
1252
1221
  internalOrExternal: {
1253
1222
  type: BooleanConstructor;
@@ -241,6 +241,7 @@ declare const _sfc_main: DefineComponent<{}, {
241
241
  changeLangHandle: () => void;
242
242
  }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{}>>, {}, {}>;
243
243
  customPerson: DefineComponent<{}, {
244
+ token: string;
244
245
  srmI18n: SrmI18n;
245
246
  userInfo: {
246
247
  token: string;
@@ -256,6 +257,7 @@ declare const _sfc_main: DefineComponent<{}, {
256
257
  personalSetting: () => void;
257
258
  handleLogout: () => void;
258
259
  nickname: Ref<string>;
260
+ imgUrlForToken: (imgUrl: string | undefined) => string | undefined;
259
261
  avatarUrl: ComputedRef<string>;
260
262
  handlePersonalSettings: () => void;
261
263
  readonly SettingOutlined: SettingOutlinedIconType;
@@ -3,6 +3,7 @@ import type { SettingOutlinedIconType } from '@ant-design/icons-vue/lib/icons/Se
3
3
  import type { SrmI18n } from '../../../../../utils/type';
4
4
  import type { DefineComponent, Ref, ComputedRef, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
5
5
  declare const _sfc_main: DefineComponent<{}, {
6
+ token: string;
6
7
  srmI18n: SrmI18n;
7
8
  userInfo: {
8
9
  token: string;
@@ -18,6 +19,7 @@ declare const _sfc_main: DefineComponent<{}, {
18
19
  personalSetting: () => void;
19
20
  handleLogout: () => void;
20
21
  nickname: Ref<string>;
22
+ imgUrlForToken: (imgUrl: string | undefined) => string | undefined;
21
23
  avatarUrl: ComputedRef<string>;
22
24
  handlePersonalSettings: () => void;
23
25
  readonly SettingOutlined: SettingOutlinedIconType;
@@ -182,6 +182,7 @@ declare const _sfc_main: DefineComponent<{}, {
182
182
  changeLangHandle: () => void;
183
183
  }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{}>>, {}, {}>;
184
184
  customPerson: DefineComponent<{}, {
185
+ token: string;
185
186
  srmI18n: SrmI18n;
186
187
  userInfo: {
187
188
  token: string;
@@ -197,6 +198,7 @@ declare const _sfc_main: DefineComponent<{}, {
197
198
  personalSetting: () => void;
198
199
  handleLogout: () => void;
199
200
  nickname: Ref<string>;
201
+ imgUrlForToken: (imgUrl: string | undefined) => string | undefined;
200
202
  avatarUrl: ComputedRef<string>;
201
203
  handlePersonalSettings: () => void;
202
204
  readonly SettingOutlined: SettingOutlinedIconType;
@@ -1160,6 +1160,7 @@ declare const _sfc_main: DefineComponent<{
1160
1160
  changeLangHandle: () => void;
1161
1161
  }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{}>>, {}, {}>;
1162
1162
  customPerson: DefineComponent<{}, {
1163
+ token: string;
1163
1164
  srmI18n: SrmI18n;
1164
1165
  userInfo: {
1165
1166
  token: string;
@@ -1175,6 +1176,7 @@ declare const _sfc_main: DefineComponent<{
1175
1176
  personalSetting: () => void;
1176
1177
  handleLogout: () => void;
1177
1178
  nickname: Ref<string>;
1179
+ imgUrlForToken: (imgUrl: string | undefined) => string | undefined;
1178
1180
  avatarUrl: ComputedRef<string>;
1179
1181
  handlePersonalSettings: () => void;
1180
1182
  readonly SettingOutlined: SettingOutlinedIconType;
@@ -1212,39 +1214,6 @@ declare const _sfc_main: DefineComponent<{
1212
1214
  }, {}, {}>;
1213
1215
  }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{}>>, {}, {}>;
1214
1216
  }, {}, {}, {}, 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
1217
  }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("menuSelect" | "schedule-click" | "services-click" | "chatAi-click")[], "menuSelect" | "schedule-click" | "services-click" | "chatAi-click", VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
1249
1218
  internalOrExternal: {
1250
1219
  type: BooleanConstructor;
@@ -79,7 +79,6 @@ export interface LayoutConfigType {
79
79
  showWebProcurement?: boolean;
80
80
  showI18n?: boolean;
81
81
  showChatBi?: boolean;
82
- showListChatBi?: boolean;
83
82
  showAiKnowledgeBase?: boolean;
84
83
  [propName: string]: any;
85
84
  }
@@ -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>;
@@ -317,6 +317,7 @@ declare const _default: SFCWithInstall<DefineComponent<{
317
317
  recordModalRef: Ref<any>;
318
318
  editNavModalRef: Ref<any>;
319
319
  importModalRef: Ref<any>;
320
+ selectTemplateKey: Ref<number>;
320
321
  }, 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<{
321
322
  loading: {
322
323
  type: BooleanConstructor;
@@ -310,6 +310,7 @@ declare const _sfc_main: DefineComponent<{
310
310
  recordModalRef: Ref<any>;
311
311
  editNavModalRef: Ref<any>;
312
312
  importModalRef: Ref<any>;
313
+ selectTemplateKey: Ref<number>;
313
314
  }, 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<{
314
315
  loading: {
315
316
  type: BooleanConstructor;
@@ -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;