@qqt-product/ui 0.0.21 → 0.0.23

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 +22166 -21219
  2. package/dist/index.umd.js +95 -95
  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 -163
  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 +1 -1
  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 +1 -1
  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 +21 -1
  85. package/dist/lib/components/upload-file/src/upload-file-types.d.ts +8 -0
  86. package/dist/lib/components/upload-file/src/upload-file.vue.d.ts +21 -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,3 +1,4 @@
1
+ import type { SrmI18n } from '../../../../../../../utils/type';
1
2
  import type { UseNamespace } from '../../../../../../shared/hooks/use-namespace';
2
3
  import type { DefineComponent, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes, PropType, Ref } from 'vue';
3
4
  import type { PageData, TabListItem } from '../../../../list-page-layout-types';
@@ -21,6 +22,7 @@ declare const _sfc_main: DefineComponent<{
21
22
  }, {
22
23
  ns: UseNamespace;
23
24
  tagCheckChange: (value: number | string | unknown, otabsData: TabListItem[]) => void;
25
+ srmI18n: SrmI18n;
24
26
  showMoreBtn: () => void;
25
27
  otabsData: Ref<TabListItem[]>;
26
28
  statusData: Ref<TabListItem[]>;
@@ -1,6 +1,6 @@
1
- import { ListPageLayoutProps } from '../list-page-layout-types';
1
+ import { ListPageLayoutProps, ObjectMap } from '../list-page-layout-types';
2
2
  import type { Ref, SetupContext } from 'vue';
3
- export default function getColumnsHook(props: ListPageLayoutProps, ctx: SetupContext): {
3
+ export default function getColumnsHook(props: ListPageLayoutProps, ctx: SetupContext, config: ObjectMap): {
4
4
  tableColumns: Ref<any>;
5
5
  groupColumns: Ref<any>;
6
6
  };
@@ -1,5 +1,5 @@
1
1
  import { ExposeByListButtons, ButtonItem, CurrentRow, OptColumnListItem } from '../list-page-layout-types';
2
- export default function useButtonFunctionHook({ loading, updateListData, listGridRef, Request }: ExposeByListButtons): {
2
+ export default function useButtonFunctionHook({ loading, updateListData, listGridRef, Request, srmI18n }: ExposeByListButtons): {
3
3
  getDataByERP: (option: ButtonItem, cb?: ((res: unknown) => void) | undefined) => void;
4
4
  custom: ({ row, option }: {
5
5
  row: CurrentRow;
@@ -87,7 +87,7 @@ declare const _sfc_main: DefineComponent<{
87
87
  pageData: {
88
88
  [x: string]: any;
89
89
  onlyShowNav?: boolean | undefined;
90
- isAggregate?: "1" | "0" | undefined;
90
+ isAggregate?: "0" | "1" | undefined;
91
91
  isUseLocalColumns?: boolean | undefined;
92
92
  localColumns?: {
93
93
  [x: string]: any;
@@ -395,11 +395,13 @@ export interface GridColors {
395
395
  filterColor?: string;
396
396
  [key: string]: unknown;
397
397
  }
398
+ export type SrmI18n = (i18nKey: string, defaultValue: string, account?: string | number) => string;
398
399
  export interface ExposeByListButtons {
399
400
  updateListData: (params?: FetchDataOptions, customRequest?: qqtApi.Request) => void;
400
401
  loading: Ref<boolean>;
401
402
  listGridRef: Ref<VxeTableInstance>;
402
403
  Request: qqtApi.Request;
404
+ srmI18n: SrmI18n;
403
405
  }
404
406
  export interface CreateGruopChatParams {
405
407
  [key: string]: unknown;
@@ -6,7 +6,7 @@ export * from './src/radio-types';
6
6
  export { QRadio };
7
7
  declare const _default: SFCWithInstall<DefineComponent<{
8
8
  readonly required: {
9
- readonly type: PropType<"1" | "0">;
9
+ readonly type: PropType<"0" | "1">;
10
10
  readonly default: 1;
11
11
  };
12
12
  readonly options: {
@@ -52,7 +52,7 @@ declare const _default: SFCWithInstall<DefineComponent<{
52
52
  onChange: (e: Event) => void;
53
53
  }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("update:value" | "change")[], "update:value" | "change", VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
54
54
  readonly required: {
55
- readonly type: PropType<"1" | "0">;
55
+ readonly type: PropType<"0" | "1">;
56
56
  readonly default: 1;
57
57
  };
58
58
  readonly options: {
@@ -96,7 +96,7 @@ declare const _default: SFCWithInstall<DefineComponent<{
96
96
  readonly value: string;
97
97
  readonly options: Option[];
98
98
  readonly 'onUpdate:value': ((value: string) => void) | ((value: string) => void)[];
99
- readonly required: "1" | "0";
99
+ readonly required: "0" | "1";
100
100
  readonly dictCode: string;
101
101
  readonly isLayout: boolean;
102
102
  readonly colSpan: string;
@@ -9,7 +9,7 @@ export interface Option {
9
9
  export type realOptions = Option;
10
10
  export declare const rabioProps: {
11
11
  readonly required: {
12
- readonly type: PropType<"1" | "0">;
12
+ readonly type: PropType<"0" | "1">;
13
13
  readonly default: 1;
14
14
  };
15
15
  readonly options: {
@@ -2,7 +2,7 @@ import type { DefineComponent, PropType, ComputedRef, Ref, ComponentOptionsMixin
2
2
  import { Option } from './radio-types';
3
3
  declare const _sfc_main: DefineComponent<{
4
4
  readonly required: {
5
- readonly type: PropType<"1" | "0">;
5
+ readonly type: PropType<"0" | "1">;
6
6
  readonly default: 1;
7
7
  };
8
8
  readonly options: {
@@ -48,7 +48,7 @@ declare const _sfc_main: DefineComponent<{
48
48
  onChange: (e: Event) => void;
49
49
  }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("update:value" | "change")[], "update:value" | "change", VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
50
50
  readonly required: {
51
- readonly type: PropType<"1" | "0">;
51
+ readonly type: PropType<"0" | "1">;
52
52
  readonly default: 1;
53
53
  };
54
54
  readonly options: {
@@ -92,7 +92,7 @@ declare const _sfc_main: DefineComponent<{
92
92
  readonly value: string;
93
93
  readonly options: Option[];
94
94
  readonly 'onUpdate:value': ((value: string) => void) | ((value: string) => void)[];
95
- readonly required: "1" | "0";
95
+ readonly required: "0" | "1";
96
96
  readonly dictCode: string;
97
97
  readonly isLayout: boolean;
98
98
  readonly colSpan: string;
@@ -1,4 +1,5 @@
1
1
  import type { EditOutlinedIconType } from '@ant-design/icons-vue/lib/icons/EditOutlined';
2
+ import type { SrmI18n } from '../../utils/type';
2
3
  import type { DefineComponent, Ref, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
3
4
  import type { SFCWithInstall } from '@qqt-product/utils/dist/modules/withInstall';
4
5
  import QRichEditorModel from './src/rich-editor-model.vue';
@@ -17,7 +18,7 @@ declare const _default: SFCWithInstall<DefineComponent<{
17
18
  default: boolean;
18
19
  };
19
20
  }, {
20
- srmI18n: (i18nKey: string, defaultValue: string, account?: string | number | undefined) => string;
21
+ srmI18n: SrmI18n;
21
22
  props: any;
22
23
  emits: (event: "update:value" | "handleSureClick" | "handleSureClose" | "update:editorModalFlag", ...args: any[]) => void;
23
24
  value: Ref<string>;
@@ -1,4 +1,5 @@
1
1
  import type { EditOutlinedIconType } from '@ant-design/icons-vue/lib/icons/EditOutlined';
2
+ import type { SrmI18n } from '../../../utils/type';
2
3
  import type { DefineComponent, Ref, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
3
4
  declare const _sfc_main: DefineComponent<{
4
5
  editorModalFlag: {
@@ -14,7 +15,7 @@ declare const _sfc_main: DefineComponent<{
14
15
  default: boolean;
15
16
  };
16
17
  }, {
17
- srmI18n: (i18nKey: string, defaultValue: string, account?: string | number) => string;
18
+ srmI18n: SrmI18n;
18
19
  props: any;
19
20
  emits: (event: "update:value" | "handleSureClick" | "handleSureClose" | "update:editorModalFlag", ...args: any[]) => void;
20
21
  value: Ref<string>;
@@ -1,3 +1,4 @@
1
+ import type { SrmI18n } from '../../utils/type';
1
2
  import type { CurrentRow } from '../edit-page-layout';
2
3
  import type { RuleObject, FormInstance } from 'ant-design-vue/es/form';
3
4
  import type { Payload } from './src/sale-template-types';
@@ -50,7 +51,7 @@ declare const _default: SFCWithInstall<DefineComponent<{
50
51
  options: Ref<CurrentRow[]>;
51
52
  tempOptions: Ref<CurrentRow[]>;
52
53
  formRef: Ref<FormInstance | undefined>;
53
- srmI18n: (i18nKey: string, defaultValue: string, account?: string | number | undefined) => string;
54
+ srmI18n: SrmI18n;
54
55
  handleAccountChange: (value: string) => void;
55
56
  handleCancel: () => void;
56
57
  handleOk: () => void;
@@ -1,3 +1,4 @@
1
+ import type { SrmI18n } from '../../../utils/type';
1
2
  import type { Payload } from './sale-template-types';
2
3
  import type { DefineComponent, PropType, ComputedRef, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes, Ref } from 'vue';
3
4
  import type { RuleObject, FormInstance } from 'ant-design-vue/es/form';
@@ -46,7 +47,7 @@ declare const _sfc_main: DefineComponent<{
46
47
  options: Ref<CurrentRow[]>;
47
48
  tempOptions: Ref<CurrentRow[]>;
48
49
  formRef: Ref<FormInstance | undefined>;
49
- srmI18n: (i18nKey: string, defaultValue: string, account?: string | number) => string;
50
+ srmI18n: SrmI18n;
50
51
  handleAccountChange: (value: string) => void;
51
52
  handleCancel: () => void;
52
53
  handleOk: () => void;
@@ -5,7 +5,7 @@ export * from './src/switch-types';
5
5
  export { QSwitch };
6
6
  declare const _default: SFCWithInstall<DefineComponent<{
7
7
  readonly checked: {
8
- readonly type: PropType<"1" | "0">;
8
+ readonly type: PropType<"0" | "1">;
9
9
  readonly default: "0";
10
10
  };
11
11
  readonly 'onUpdate:checked': {
@@ -17,12 +17,12 @@ declare const _default: SFCWithInstall<DefineComponent<{
17
17
  default: unknown;
18
18
  };
19
19
  }, {
20
- checked: Ref<"1" | "0">;
21
- realChecked: Ref<"1" | "0">;
20
+ checked: Ref<"0" | "1">;
21
+ realChecked: Ref<"0" | "1">;
22
22
  onChange: (value: string) => void;
23
23
  }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("change" | "update:checked")[], "change" | "update:checked", VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
24
24
  readonly checked: {
25
- readonly type: PropType<"1" | "0">;
25
+ readonly type: PropType<"0" | "1">;
26
26
  readonly default: "0";
27
27
  };
28
28
  readonly 'onUpdate:checked': {
@@ -38,7 +38,7 @@ declare const _default: SFCWithInstall<DefineComponent<{
38
38
  "onUpdate:checked"?: ((...args: any[]) => any) | undefined;
39
39
  }, {
40
40
  readonly onChange: ((value: unknown) => void) | ((value: unknown) => void)[];
41
- readonly checked: "1" | "0";
41
+ readonly checked: "0" | "1";
42
42
  readonly 'onUpdate:checked': ((value: string) => void) | ((value: string) => void)[];
43
43
  }, {}>>;
44
44
  export default _default;
@@ -1,7 +1,7 @@
1
1
  import type { PropType, ExtractPropTypes } from 'vue';
2
2
  export declare const switchProps: {
3
3
  readonly checked: {
4
- readonly type: PropType<"1" | "0">;
4
+ readonly type: PropType<"0" | "1">;
5
5
  readonly default: "0";
6
6
  };
7
7
  readonly 'onUpdate:checked': {
@@ -1,7 +1,7 @@
1
1
  import type { DefineComponent, PropType, Ref, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
2
2
  declare const _sfc_main: DefineComponent<{
3
3
  readonly checked: {
4
- readonly type: PropType<"1" | "0">;
4
+ readonly type: PropType<"0" | "1">;
5
5
  readonly default: "0";
6
6
  };
7
7
  readonly 'onUpdate:checked': {
@@ -13,12 +13,12 @@ declare const _sfc_main: DefineComponent<{
13
13
  default: unknown;
14
14
  };
15
15
  }, {
16
- checked: Ref<"1" | "0">;
17
- realChecked: Ref<"1" | "0">;
16
+ checked: Ref<"0" | "1">;
17
+ realChecked: Ref<"0" | "1">;
18
18
  onChange: (value: string) => void;
19
19
  }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("change" | "update:checked")[], "change" | "update:checked", VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
20
20
  readonly checked: {
21
- readonly type: PropType<"1" | "0">;
21
+ readonly type: PropType<"0" | "1">;
22
22
  readonly default: "0";
23
23
  };
24
24
  readonly 'onUpdate:checked': {
@@ -34,7 +34,7 @@ declare const _sfc_main: DefineComponent<{
34
34
  "onUpdate:checked"?: ((...args: any[]) => any) | undefined;
35
35
  }, {
36
36
  readonly onChange: ((value: unknown) => void) | ((value: unknown) => void)[];
37
- readonly checked: "1" | "0";
37
+ readonly checked: "0" | "1";
38
38
  readonly 'onUpdate:checked': ((value: string) => void) | ((value: string) => void)[];
39
39
  }, {}>;
40
40
  export default _sfc_main;
@@ -1,3 +1,4 @@
1
+ import type { SrmI18n } from '../../utils/type';
1
2
  import type { UploadFile } from 'ant-design-vue';
2
3
  import type { FileType } from 'ant-design-vue/lib/upload/interface';
3
4
  import type { validateInfos } from 'ant-design-vue/lib/form/useForm';
@@ -109,6 +110,14 @@ declare const _default: SFCWithInstall<DefineComponent<{
109
110
  readonly type: PropType<FileTypeList[]>;
110
111
  readonly default: () => never[];
111
112
  };
113
+ readonly actionRoutePath: {
114
+ readonly type: StringConstructor;
115
+ readonly default: "";
116
+ };
117
+ readonly sourceNumberType: {
118
+ readonly type: StringConstructor;
119
+ readonly default: "";
120
+ };
112
121
  readonly 'onUpdate:visible': {
113
122
  type: PropType<((value: boolean) => void) | ((value: boolean) => void)[]>;
114
123
  default: unknown;
@@ -132,6 +141,7 @@ declare const _default: SFCWithInstall<DefineComponent<{
132
141
  isGridUpload: Ref<boolean>;
133
142
  beforeUpload: (file: FileType, FileList: FileType[]) => (string | boolean | void | Blob | FileType) | Promise<string | boolean | void | Blob | FileType>;
134
143
  handleRemove: (file: UploadFile<unknown>) => boolean | void | Promise<boolean | void>;
144
+ srmI18n: SrmI18n;
135
145
  labelCol: Ref<{
136
146
  span: number;
137
147
  }>;
@@ -237,6 +247,14 @@ declare const _default: SFCWithInstall<DefineComponent<{
237
247
  readonly type: PropType<FileTypeList[]>;
238
248
  readonly default: () => never[];
239
249
  };
250
+ readonly actionRoutePath: {
251
+ readonly type: StringConstructor;
252
+ readonly default: "";
253
+ };
254
+ readonly sourceNumberType: {
255
+ readonly type: StringConstructor;
256
+ readonly default: "";
257
+ };
240
258
  readonly 'onUpdate:visible': {
241
259
  type: PropType<((value: boolean) => void) | ((value: boolean) => void)[]>;
242
260
  default: unknown;
@@ -252,9 +270,9 @@ declare const _default: SFCWithInstall<DefineComponent<{
252
270
  readonly action: string;
253
271
  readonly accept: string;
254
272
  readonly dictCode: string;
255
- readonly property: string;
256
273
  readonly role: Role;
257
274
  readonly userInfo: UserInfo;
275
+ readonly property: string;
258
276
  readonly requiredFileType: boolean;
259
277
  readonly attrCheck: string;
260
278
  readonly limitSize: number;
@@ -270,5 +288,7 @@ declare const _default: SFCWithInstall<DefineComponent<{
270
288
  readonly disabledItemNumber: boolean;
271
289
  readonly itemInfo: RecordString[];
272
290
  readonly fileTypeList: FileTypeList[];
291
+ readonly actionRoutePath: string;
292
+ readonly sourceNumberType: string;
273
293
  }, {}>>;
274
294
  export default _default;
@@ -142,6 +142,14 @@ export declare const uploadFilesProps: {
142
142
  readonly type: PropType<FileTypeList[]>;
143
143
  readonly default: () => never[];
144
144
  };
145
+ readonly actionRoutePath: {
146
+ readonly type: StringConstructor;
147
+ readonly default: "";
148
+ };
149
+ readonly sourceNumberType: {
150
+ readonly type: StringConstructor;
151
+ readonly default: "";
152
+ };
145
153
  readonly 'onUpdate:visible': {
146
154
  type: PropType<((value: boolean) => void) | ((value: boolean) => void)[]>;
147
155
  default: unknown;
@@ -1,3 +1,4 @@
1
+ import type { SrmI18n } from '../../../utils/type';
1
2
  import type { UploadFile } from 'ant-design-vue';
2
3
  import type { FileType } from 'ant-design-vue/lib/upload/interface';
3
4
  import type { validateInfos } from 'ant-design-vue/lib/form/useForm';
@@ -101,6 +102,14 @@ declare const _sfc_main: DefineComponent<{
101
102
  readonly type: PropType<FileTypeList[]>;
102
103
  readonly default: () => never[];
103
104
  };
105
+ readonly actionRoutePath: {
106
+ readonly type: StringConstructor;
107
+ readonly default: "";
108
+ };
109
+ readonly sourceNumberType: {
110
+ readonly type: StringConstructor;
111
+ readonly default: "";
112
+ };
104
113
  readonly 'onUpdate:visible': {
105
114
  type: PropType<((value: boolean) => void) | ((value: boolean) => void)[]>;
106
115
  default: unknown;
@@ -124,6 +133,7 @@ declare const _sfc_main: DefineComponent<{
124
133
  isGridUpload: Ref<boolean>;
125
134
  beforeUpload: (file: FileType, FileList: FileType[]) => (string | boolean | void | Blob | FileType) | Promise<string | boolean | void | Blob | FileType>;
126
135
  handleRemove: (file: UploadFile<unknown>) => boolean | void | Promise<boolean | void>;
136
+ srmI18n: SrmI18n;
127
137
  labelCol: Ref<{
128
138
  span: number;
129
139
  }>;
@@ -229,6 +239,14 @@ declare const _sfc_main: DefineComponent<{
229
239
  readonly type: PropType<FileTypeList[]>;
230
240
  readonly default: () => never[];
231
241
  };
242
+ readonly actionRoutePath: {
243
+ readonly type: StringConstructor;
244
+ readonly default: "";
245
+ };
246
+ readonly sourceNumberType: {
247
+ readonly type: StringConstructor;
248
+ readonly default: "";
249
+ };
232
250
  readonly 'onUpdate:visible': {
233
251
  type: PropType<((value: boolean) => void) | ((value: boolean) => void)[]>;
234
252
  default: unknown;
@@ -244,9 +262,9 @@ declare const _sfc_main: DefineComponent<{
244
262
  readonly action: string;
245
263
  readonly accept: string;
246
264
  readonly dictCode: string;
247
- readonly property: string;
248
265
  readonly role: Role;
249
266
  readonly userInfo: UserInfo;
267
+ readonly property: string;
250
268
  readonly requiredFileType: boolean;
251
269
  readonly attrCheck: string;
252
270
  readonly limitSize: number;
@@ -262,5 +280,7 @@ declare const _sfc_main: DefineComponent<{
262
280
  readonly disabledItemNumber: boolean;
263
281
  readonly itemInfo: RecordString[];
264
282
  readonly fileTypeList: FileTypeList[];
283
+ readonly actionRoutePath: string;
284
+ readonly sourceNumberType: string;
265
285
  }, {}>;
266
286
  export default _sfc_main;
@@ -1,3 +1,4 @@
1
+ import type { SrmI18n } from '../../utils/type';
1
2
  import type { ButtonConfig } from '../upload-file/src/hook/use-operation-column-button-hook';
2
3
  import type { FileDataTypes } from './src/upload-file-vxe-types';
3
4
  import type { ColumnItemWithExtend } from '../upload-file';
@@ -44,6 +45,7 @@ declare const _default: SFCWithInstall<DefineComponent<{
44
45
  handleSpan: ComputedRef<number>;
45
46
  handleRightSpan: ComputedRef<number>;
46
47
  styleWidth: ComputedRef<string>;
48
+ srmI18n: SrmI18n;
47
49
  }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
48
50
  readonly row: {
49
51
  readonly type: PropType<RecordString>;
@@ -1,3 +1,4 @@
1
+ import type { SrmI18n } from '../../../utils/type';
1
2
  import type { ButtonConfig } from '../../upload-file/src/hook/use-operation-column-button-hook';
2
3
  import type { ColumnItemWithExtend } from '../../upload-file';
3
4
  import type { RecordString } from '../../edit-page-layout';
@@ -41,6 +42,7 @@ declare const _sfc_main: DefineComponent<{
41
42
  handleSpan: ComputedRef<number>;
42
43
  handleRightSpan: ComputedRef<number>;
43
44
  styleWidth: ComputedRef<string>;
45
+ srmI18n: SrmI18n;
44
46
  }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
45
47
  readonly row: {
46
48
  readonly type: PropType<RecordString>;
@@ -1,3 +1,4 @@
1
+ import type { SrmI18n } from '../../utils/type';
1
2
  import type { UploadFiles } from './src/upload-image-type';
2
3
  import type { UploadFile } from 'ant-design-vue';
3
4
  import type { UploadFileStatus, FileType } from 'ant-design-vue/lib/upload/interface';
@@ -142,6 +143,7 @@ declare const _default: SFCWithInstall<DefineComponent<{
142
143
  handleCancel: () => void;
143
144
  handlePreview: (file: UploadFiles) => Promise<void>;
144
145
  isImageUrlFun: (file: UploadFile<any>) => boolean;
146
+ srmI18n: SrmI18n;
145
147
  }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("update:value" | "change")[], "update:value" | "change", VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
146
148
  readonly value: {
147
149
  readonly type: StringConstructor;
@@ -193,9 +195,9 @@ declare const _default: SFCWithInstall<DefineComponent<{
193
195
  readonly multiple: boolean;
194
196
  readonly value: string;
195
197
  readonly 'onUpdate:value': ((value: string) => void) | ((value: string) => void)[];
198
+ readonly actionRoutePath: string;
196
199
  readonly canRemove: boolean;
197
200
  readonly limit: number;
198
201
  readonly uploadImageData: Record<string, any>;
199
- readonly actionRoutePath: string;
200
202
  }, {}>>;
201
203
  export default _default;
@@ -1,3 +1,4 @@
1
+ import type { SrmI18n } from '../../../utils/type';
1
2
  import type { UploadFileStatus, FileType } from 'ant-design-vue/lib/upload/interface';
2
3
  import type { DefineComponent, PropType, Ref, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
3
4
  import { UploadFiles } from './upload-image-type';
@@ -138,6 +139,7 @@ declare const _sfc_main: DefineComponent<{
138
139
  handleCancel: () => void;
139
140
  handlePreview: (file: UploadFiles) => Promise<void>;
140
141
  isImageUrlFun: (file: UploadFile) => boolean;
142
+ srmI18n: SrmI18n;
141
143
  }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("update:value" | "change")[], "update:value" | "change", VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
142
144
  readonly value: {
143
145
  readonly type: StringConstructor;
@@ -189,9 +191,9 @@ declare const _sfc_main: DefineComponent<{
189
191
  readonly multiple: boolean;
190
192
  readonly value: string;
191
193
  readonly 'onUpdate:value': ((value: string) => void) | ((value: string) => void)[];
194
+ readonly actionRoutePath: string;
192
195
  readonly canRemove: boolean;
193
196
  readonly limit: number;
194
197
  readonly uploadImageData: Record<string, any>;
195
- readonly actionRoutePath: string;
196
198
  }, {}>;
197
199
  export default _sfc_main;
@@ -22,6 +22,7 @@ export { viewVxeTableConfig, editVxeTableConfig } from './setting/vxe-table/conf
22
22
  import useFileColumnHook from './components/upload-file/src/hook/use-file-column-hook';
23
23
  import useOperationColumnButtonHook from './components/upload-file/src/hook/use-operation-column-button-hook';
24
24
  export { useFileColumnHook, useOperationColumnButtonHook };
25
+ export * from './utils/token';
25
26
  export declare const qqtUI: () => {
26
27
  install: (app: App) => void;
27
28
  };
@@ -0,0 +1,8 @@
1
+ import type { InjectionKey } from 'vue';
2
+ import type { SrmI18n, HasOptAuth } from './type';
3
+ export declare const srmI18nDefault: SrmI18n;
4
+ export declare const hasOptAuthDefault: HasOptAuth;
5
+ export declare const Q_SRM_I18N: InjectionKey<SrmI18n>;
6
+ export declare const Q_SRM_I18N_DEFAULT_VALUE: SrmI18n;
7
+ export declare const Q_SRM_AUTH: InjectionKey<HasOptAuth>;
8
+ export declare const Q_SRM_AUTH_DEFAULT_VALUE: HasOptAuth;
@@ -0,0 +1,2 @@
1
+ export type SrmI18n = (i18nKey: string, defaultValue: string, account?: string | number) => string;
2
+ export type HasOptAuth = (authorityCode: string) => boolean;