@qqt-product/ui 16.0.0 → 16.0.2

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 (44) hide show
  1. package/dist/index.es.js +61101 -60684
  2. package/dist/index.umd.js +125 -125
  3. package/dist/lib/components/detail-page-layout/index.d.ts +10 -0
  4. package/dist/lib/components/detail-page-layout/src/detail-page-layout.vue.d.ts +11 -1
  5. package/dist/lib/components/edit-page-layout/src/edit-page-layout-types.d.ts +4 -0
  6. package/dist/lib/components/import-modal/index.d.ts +1 -1
  7. package/dist/lib/components/import-modal/src/import-modal.vue.d.ts +1 -1
  8. package/dist/lib/components/layout/index.d.ts +1 -0
  9. package/dist/lib/components/layout/src/index.vue.d.ts +1 -0
  10. package/dist/lib/components/layout/src/sider/index.vue.d.ts +1 -0
  11. package/dist/lib/components/layout/src/sider/logo.vue.d.ts +1 -0
  12. package/dist/lib/components/layout/src/types.d.ts +1 -0
  13. package/dist/lib/components/layout-pattern/index.d.ts +1 -175
  14. package/dist/lib/components/layout-pattern/src/layout-pattern.vue.d.ts +1 -174
  15. package/dist/lib/components/list-page-layout/index.d.ts +1 -1
  16. package/dist/lib/components/list-page-layout/src/components/common/columnSetting/columnSetting.vue.d.ts +1 -0
  17. package/dist/lib/components/list-page-layout/src/components/list-header/module/searchExtend/index.vue.d.ts +2 -0
  18. package/dist/lib/components/list-page-layout/src/layout.vue.d.ts +1 -1
  19. package/dist/lib/components/list-page-layout/src/list-page-layout-types.d.ts +1 -1
  20. package/dist/lib/components/page-layout/index.d.ts +176 -2
  21. package/dist/lib/components/{layout-pattern/src/hook/use-audit-button-hook.d.ts → page-layout/src/hook/use-audit-button.d.ts} +58 -2
  22. package/dist/lib/components/page-layout/src/hook/use-custom-format.d.ts +9 -0
  23. package/dist/lib/components/page-layout/src/hook/use-excel-import.d.ts +42 -0
  24. package/dist/lib/components/page-layout/src/hook/use-file-upload.d.ts +64 -0
  25. package/dist/lib/components/page-layout/src/hook/use-grid-events.d.ts +26 -0
  26. package/dist/lib/components/page-layout/src/hook/use-promise-step.d.ts +33 -1
  27. package/dist/lib/components/page-layout/src/page-layout.vue.d.ts +175 -1
  28. package/dist/lib/components/select/index.d.ts +2 -3
  29. package/dist/lib/components/select/src/select.vue.d.ts +2 -3
  30. package/dist/lib/components/upload-image/index.d.ts +2 -1
  31. package/dist/lib/components/upload-image/src/preview.vue.d.ts +16 -0
  32. package/dist/lib/components/upload-image/src/upload-image.vue.d.ts +2 -1
  33. package/dist/lib/components/vxe-select/index.d.ts +1 -2
  34. package/dist/lib/components/vxe-select/src/vxe-select.vue.d.ts +2 -3
  35. package/dist/lib/index.d.ts +1 -1
  36. package/dist/style.css +1 -1
  37. package/package.json +7 -7
  38. package/dist/lib/components/remote-select/index.d.ts +0 -83
  39. package/dist/lib/components/remote-select/src/remote-select.vue.d.ts +0 -79
  40. /package/dist/lib/components/page-layout/src/hook/{use-merge-defaultValues-hook.d.ts → use-merge-defaultValues.d.ts} +0 -0
  41. /package/dist/lib/components/page-layout/src/hook/{use-page-data-hook.d.ts → use-page-data.d.ts} +0 -0
  42. /package/dist/lib/components/page-layout/src/hook/{use-ref-instance-hook.d.ts → use-ref-instance.d.ts} +0 -0
  43. /package/dist/lib/components/page-layout/src/hook/{use-remote-config-hook.d.ts → use-remote-config.d.ts} +0 -0
  44. /package/dist/lib/components/page-layout/src/hook/{use-uid-hook.d.ts → use-uid.d.ts} +0 -0
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@qqt-product/ui",
3
3
  "private": false,
4
- "version": "16.0.0",
4
+ "version": "16.0.2",
5
5
  "main": "dist/index.umd.js",
6
6
  "module": "dist/index.es.js",
7
7
  "type": "module",
@@ -22,9 +22,9 @@
22
22
  "@codemirror/language": "6.10.1",
23
23
  "@codemirror/state": "6.4.1",
24
24
  "@codemirror/view": "6.24.1",
25
- "@qqt-product/api": "16.0.0",
26
- "@qqt-product/icons": "16.0.0",
27
- "@qqt-product/utils": "16.0.0",
25
+ "@qqt-product/api": "16.0.1",
26
+ "@qqt-product/icons": "16.0.1",
27
+ "@qqt-product/utils": "16.0.1",
28
28
  "@types/echarts": "^4.9.21",
29
29
  "@types/node": "^18.11.4",
30
30
  "@types/sortablejs": "^1.15.1",
@@ -75,9 +75,9 @@
75
75
  "@codemirror/language": "6.10.1",
76
76
  "@codemirror/state": "6.4.1",
77
77
  "@codemirror/view": "6.24.1",
78
- "@qqt-product/api": "16.0.0",
79
- "@qqt-product/icons": "16.0.0",
80
- "@qqt-product/utils": "16.0.0",
78
+ "@qqt-product/api": "16.0.1",
79
+ "@qqt-product/icons": "16.0.1",
80
+ "@qqt-product/utils": "16.0.1",
81
81
  "@types/echarts": "^4.9.21",
82
82
  "@types/sortablejs": "^1.15.1",
83
83
  "@types/tinymce": "^4.6.5",
@@ -1,83 +0,0 @@
1
- import type { MessageType } from 'ant-design-vue/es/message';
2
- import type { SrmI18n } from '../../utils/type';
3
- import type { Config, RecordString } from './src/remote-select-types';
4
- import type { DefineComponent, PropType, ComputedRef, Ref, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
5
- import type { SFCWithInstall } from '@qqt-product/utils/dist/modules/withInstall';
6
- import QRemoteSelect from './src/remote-select.vue';
7
- export * from './src/remote-select-types';
8
- export { QRemoteSelect };
9
- declare const _default: SFCWithInstall<DefineComponent<{
10
- value: {
11
- type: StringConstructor;
12
- default: string;
13
- };
14
- config: {
15
- type: PropType<Config>;
16
- default: () => {};
17
- };
18
- row: {
19
- type: PropType<Record<string | number, unknown>>;
20
- default: () => {};
21
- };
22
- idx: {
23
- type: NumberConstructor;
24
- default: number;
25
- };
26
- onChange: {
27
- type: PropType<((value: RecordString[]) => void) | ((value: RecordString[]) => void)[]>;
28
- default: unknown;
29
- };
30
- }, {
31
- srmI18n: SrmI18n;
32
- classes: ComputedRef<{
33
- [x: string]: boolean;
34
- }>;
35
- value: Ref<string>;
36
- valueKey: Ref<any>;
37
- config: Ref<Config>;
38
- data: {
39
- modalLoading: boolean;
40
- url: string;
41
- params: {
42
- pageNo: number;
43
- pageSize: number;
44
- keyWord: string;
45
- };
46
- dataSource: {
47
- [x: string]: string;
48
- id: string;
49
- }[];
50
- };
51
- formatTitle: (item: Record<string, unknown>) => string;
52
- handleFocus: () => void;
53
- handleSearch: (changeValue?: string | undefined) => void;
54
- handleChange: (changeValue: string) => void | MessageType;
55
- }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
56
- value: {
57
- type: StringConstructor;
58
- default: string;
59
- };
60
- config: {
61
- type: PropType<Config>;
62
- default: () => {};
63
- };
64
- row: {
65
- type: PropType<Record<string | number, unknown>>;
66
- default: () => {};
67
- };
68
- idx: {
69
- type: NumberConstructor;
70
- default: number;
71
- };
72
- onChange: {
73
- type: PropType<((value: RecordString[]) => void) | ((value: RecordString[]) => void)[]>;
74
- default: unknown;
75
- };
76
- }>>, {
77
- value: string;
78
- row: Record<string | number, unknown>;
79
- onChange: ((value: RecordString[]) => void) | ((value: RecordString[]) => void)[];
80
- config: Config;
81
- idx: number;
82
- }, {}>>;
83
- export default _default;
@@ -1,79 +0,0 @@
1
- import type { MessageType } from 'ant-design-vue/es/message';
2
- import type { SrmI18n } from '../../../utils/type';
3
- import type { Config, RecordString } from './remote-select-types';
4
- import type { DefineComponent, PropType, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes, Ref, ComputedRef } from 'vue';
5
- declare const _sfc_main: DefineComponent<{
6
- value: {
7
- type: StringConstructor;
8
- default: string;
9
- };
10
- config: {
11
- type: PropType<Config>;
12
- default: () => {};
13
- };
14
- row: {
15
- type: PropType<Record<string | number, unknown>>;
16
- default: () => {};
17
- };
18
- idx: {
19
- type: NumberConstructor;
20
- default: number;
21
- };
22
- onChange: {
23
- type: PropType<((value: RecordString[]) => void) | ((value: RecordString[]) => void)[]>;
24
- default: unknown;
25
- };
26
- }, {
27
- srmI18n: SrmI18n;
28
- classes: ComputedRef<{
29
- [x: string]: boolean;
30
- }>;
31
- value: Ref<string>;
32
- valueKey: Ref<any>;
33
- config: Ref<Config>;
34
- data: {
35
- modalLoading: boolean;
36
- url: string;
37
- params: {
38
- pageNo: number;
39
- pageSize: number;
40
- keyWord: string;
41
- };
42
- dataSource: {
43
- [x: string]: string;
44
- id: string;
45
- }[];
46
- };
47
- formatTitle: (item: Record<string, unknown>) => string;
48
- handleFocus: () => void;
49
- handleSearch: (changeValue?: string) => void;
50
- handleChange: (changeValue: string) => void | MessageType;
51
- }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
52
- value: {
53
- type: StringConstructor;
54
- default: string;
55
- };
56
- config: {
57
- type: PropType<Config>;
58
- default: () => {};
59
- };
60
- row: {
61
- type: PropType<Record<string | number, unknown>>;
62
- default: () => {};
63
- };
64
- idx: {
65
- type: NumberConstructor;
66
- default: number;
67
- };
68
- onChange: {
69
- type: PropType<((value: RecordString[]) => void) | ((value: RecordString[]) => void)[]>;
70
- default: unknown;
71
- };
72
- }>>, {
73
- value: string;
74
- row: Record<string | number, unknown>;
75
- onChange: ((value: RecordString[]) => void) | ((value: RecordString[]) => void)[];
76
- config: Config;
77
- idx: number;
78
- }, {}>;
79
- export default _sfc_main;