@qqt-product/ui 7.0.0 → 8.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.
- package/dist/index.es.js +25041 -23858
- package/dist/index.umd.js +114 -112
- package/dist/lib/components/currency/index.d.ts +36 -48
- package/dist/lib/components/currency/src/currency-type.d.ts +15 -21
- package/dist/lib/components/currency/src/currency.vue.d.ts +37 -49
- package/dist/lib/components/currency/src/use-currency.d.ts +2 -2
- package/dist/lib/components/detail-form/index.d.ts +1 -2
- package/dist/lib/components/detail-form/src/detail-form.vue.d.ts +1 -2
- package/dist/lib/components/detail-grid/index.d.ts +3 -2
- package/dist/lib/components/detail-grid/src/detail-grid.vue.d.ts +3 -2
- package/dist/lib/components/detail-page-layout/index.d.ts +1 -1
- package/dist/lib/components/detail-page-layout/src/detail-page-layout.vue.d.ts +2 -2
- package/dist/lib/components/edit-form/index.d.ts +1 -1
- package/dist/lib/components/edit-form/src/edit-form.vue.d.ts +1 -1
- package/dist/lib/components/edit-grid/index.d.ts +1 -1
- package/dist/lib/components/edit-grid/src/edit-grid.vue.d.ts +1 -1
- package/dist/lib/components/edit-page-layout/index.d.ts +1 -1
- package/dist/lib/components/edit-page-layout/src/edit-page-layout-types.d.ts +14 -1
- package/dist/lib/components/edit-page-layout/src/edit-page-layout.vue.d.ts +2 -2
- package/dist/lib/components/edit-page-layout/src/types.d.ts +1 -1
- package/dist/lib/components/import-modal/src/import-modal-types.d.ts +4 -0
- package/dist/lib/components/index.d.ts +2 -2
- package/dist/lib/components/layout/index.d.ts +7 -1
- package/dist/lib/components/layout/src/header/index.vue.d.ts +8 -1
- package/dist/lib/components/layout/src/header/navRight/customPerson.vue.d.ts +2 -2
- package/dist/lib/components/layout/src/header/navRight/index.vue.d.ts +2 -1
- package/dist/lib/components/layout/src/header/navRight/rightTool.vue.d.ts +1 -0
- package/dist/lib/components/layout/src/index.vue.d.ts +7 -1
- package/dist/lib/components/layout/src/types.d.ts +7 -0
- package/dist/lib/components/layout-pattern/index.d.ts +2 -1
- package/dist/lib/components/layout-pattern/src/layout-pattern.vue.d.ts +2 -1
- package/dist/lib/components/link/index.d.ts +126 -0
- package/dist/lib/components/list-page-layout/src/components/common/columnSetting/columnSetting.vue.d.ts +2 -1
- package/dist/lib/components/page-layout/src/constant/symbol.d.ts +1 -1
- package/dist/lib/components/page-layout/src/hook/use-promise-step.d.ts +1 -1
- package/dist/lib/components/upload-file/index.d.ts +100 -4
- package/dist/lib/components/upload-file/src/hook/use-operation-column-button-hook.d.ts +3 -0
- package/dist/lib/components/upload-file/src/upload-file-types.d.ts +13 -0
- package/dist/lib/components/upload-file/src/upload-file.vue.d.ts +100 -4
- package/dist/lib/components/useChart/index.d.ts +1 -0
- package/dist/lib/utils/event.d.ts +4 -4
- package/dist/lib/utils/use-create-link-hook.d.ts +1 -1
- package/dist/style.css +1 -1
- package/package.json +12 -8
- package/dist/lib/components/coutdown/index.d.ts +0 -84
- package/dist/lib/components/coutdown/src/coutdown.d.ts +0 -48
- package/dist/lib/components/coutdown/src/coutdown.vue.d.ts +0 -81
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@qqt-product/ui",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "
|
|
4
|
+
"version": "8.0.0",
|
|
5
5
|
"main": "dist/index.umd.js",
|
|
6
6
|
"module": "dist/index.es.js",
|
|
7
7
|
"type": "module",
|
|
@@ -22,12 +22,13 @@
|
|
|
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": "
|
|
26
|
-
"@qqt-product/directive": "
|
|
27
|
-
"@qqt-product/icons": "
|
|
28
|
-
"@qqt-product/utils": "
|
|
25
|
+
"@qqt-product/api": "8.0.0",
|
|
26
|
+
"@qqt-product/directive": "8.0.0",
|
|
27
|
+
"@qqt-product/icons": "8.0.0",
|
|
28
|
+
"@qqt-product/utils": "8.0.0",
|
|
29
29
|
"@types/echarts": "^4.9.21",
|
|
30
30
|
"@types/node": "^18.11.4",
|
|
31
|
+
"@types/sortablejs": "^1.15.1",
|
|
31
32
|
"@types/tinymce": "^4.6.5",
|
|
32
33
|
"@typescript-eslint/eslint-plugin": "^5.40.0",
|
|
33
34
|
"@typescript-eslint/parser": "^5.40.0",
|
|
@@ -49,6 +50,7 @@
|
|
|
49
50
|
"prettier": "^2.7.1",
|
|
50
51
|
"relation-graph": "^2.0.27",
|
|
51
52
|
"sass": "1.63.6",
|
|
53
|
+
"sortablejs": "^1.15.0",
|
|
52
54
|
"tinymce": "^6.6.0",
|
|
53
55
|
"typescript": "^4.6.4",
|
|
54
56
|
"vite": "^3.1.0",
|
|
@@ -73,11 +75,12 @@
|
|
|
73
75
|
"@codemirror/language": "6.10.1",
|
|
74
76
|
"@codemirror/state": "6.4.1",
|
|
75
77
|
"@codemirror/view": "6.24.1",
|
|
76
|
-
"@qqt-product/api": "
|
|
78
|
+
"@qqt-product/api": "8.0.0",
|
|
77
79
|
"@qqt-product/directive": "^0.0.4",
|
|
78
|
-
"@qqt-product/icons": "
|
|
79
|
-
"@qqt-product/utils": "
|
|
80
|
+
"@qqt-product/icons": "8.0.0",
|
|
81
|
+
"@qqt-product/utils": "8.0.0",
|
|
80
82
|
"@types/echarts": "^4.9.21",
|
|
83
|
+
"@types/sortablejs": "^1.15.1",
|
|
81
84
|
"@types/tinymce": "^4.6.5",
|
|
82
85
|
"@vitejs/plugin-vue-jsx": "^3.0.1",
|
|
83
86
|
"ant-design-vue": "3.2.20",
|
|
@@ -91,6 +94,7 @@
|
|
|
91
94
|
"pinia-plugin-persistedstate": "^3.0.2",
|
|
92
95
|
"relation-graph": "^2.0.27",
|
|
93
96
|
"sass": "1.63.6",
|
|
97
|
+
"sortablejs": "^1.15.0",
|
|
94
98
|
"tinymce": "^6.6.0",
|
|
95
99
|
"vue": "3.3.4",
|
|
96
100
|
"vue-codemirror6": "1.2.5",
|
|
@@ -1,84 +0,0 @@
|
|
|
1
|
-
import type { DefineComponent, Ref, ComputedRef, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
|
|
2
|
-
import type { SFCWithInstall } from '@qqt-product/utils/dist/modules/withInstall';
|
|
3
|
-
import QCoutdown from './src/coutdown.vue';
|
|
4
|
-
declare const _default: SFCWithInstall<DefineComponent<{
|
|
5
|
-
readonly autoStart: {
|
|
6
|
-
readonly type: BooleanConstructor;
|
|
7
|
-
readonly default: true;
|
|
8
|
-
};
|
|
9
|
-
readonly emitEvents: {
|
|
10
|
-
readonly type: BooleanConstructor;
|
|
11
|
-
readonly default: true;
|
|
12
|
-
};
|
|
13
|
-
readonly interval: {
|
|
14
|
-
readonly type: NumberConstructor;
|
|
15
|
-
readonly default: 1000;
|
|
16
|
-
readonly validator: (value: number) => boolean;
|
|
17
|
-
};
|
|
18
|
-
readonly tag: {
|
|
19
|
-
readonly type: StringConstructor;
|
|
20
|
-
readonly default: "span";
|
|
21
|
-
};
|
|
22
|
-
readonly time: {
|
|
23
|
-
readonly type: NumberConstructor;
|
|
24
|
-
readonly default: 0;
|
|
25
|
-
readonly validator: (value: number) => boolean;
|
|
26
|
-
};
|
|
27
|
-
readonly transform: {
|
|
28
|
-
readonly type: FunctionConstructor;
|
|
29
|
-
readonly default: (props: unknown) => unknown;
|
|
30
|
-
};
|
|
31
|
-
}, {
|
|
32
|
-
counting: Ref<boolean>;
|
|
33
|
-
endTime: Ref<number>;
|
|
34
|
-
totalMilliseconds: Ref<number>;
|
|
35
|
-
days: ComputedRef<number>;
|
|
36
|
-
hours: ComputedRef<string | number>;
|
|
37
|
-
minutes: ComputedRef<string | number>;
|
|
38
|
-
seconds: ComputedRef<string | number>;
|
|
39
|
-
milliseconds: ComputedRef<number>;
|
|
40
|
-
totalDays: ComputedRef<ComputedRef<number>>;
|
|
41
|
-
totalHours: ComputedRef<number>;
|
|
42
|
-
totalSeconds: ComputedRef<number>;
|
|
43
|
-
totalMinutes: ComputedRef<number>;
|
|
44
|
-
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("progress" | "start" | "end")[], "progress" | "start" | "end", VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
|
|
45
|
-
readonly autoStart: {
|
|
46
|
-
readonly type: BooleanConstructor;
|
|
47
|
-
readonly default: true;
|
|
48
|
-
};
|
|
49
|
-
readonly emitEvents: {
|
|
50
|
-
readonly type: BooleanConstructor;
|
|
51
|
-
readonly default: true;
|
|
52
|
-
};
|
|
53
|
-
readonly interval: {
|
|
54
|
-
readonly type: NumberConstructor;
|
|
55
|
-
readonly default: 1000;
|
|
56
|
-
readonly validator: (value: number) => boolean;
|
|
57
|
-
};
|
|
58
|
-
readonly tag: {
|
|
59
|
-
readonly type: StringConstructor;
|
|
60
|
-
readonly default: "span";
|
|
61
|
-
};
|
|
62
|
-
readonly time: {
|
|
63
|
-
readonly type: NumberConstructor;
|
|
64
|
-
readonly default: 0;
|
|
65
|
-
readonly validator: (value: number) => boolean;
|
|
66
|
-
};
|
|
67
|
-
readonly transform: {
|
|
68
|
-
readonly type: FunctionConstructor;
|
|
69
|
-
readonly default: (props: unknown) => unknown;
|
|
70
|
-
};
|
|
71
|
-
}>> & {
|
|
72
|
-
onProgress?: ((...args: any[]) => any) | undefined;
|
|
73
|
-
onStart?: ((...args: any[]) => any) | undefined;
|
|
74
|
-
onEnd?: ((...args: any[]) => any) | undefined;
|
|
75
|
-
}, {
|
|
76
|
-
readonly time: number;
|
|
77
|
-
readonly autoStart: boolean;
|
|
78
|
-
readonly emitEvents: boolean;
|
|
79
|
-
readonly interval: number;
|
|
80
|
-
readonly tag: string;
|
|
81
|
-
readonly transform: Function;
|
|
82
|
-
}, {}>>;
|
|
83
|
-
export default _default;
|
|
84
|
-
export { QCoutdown };
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
import type { ExtractPropTypes } from 'vue';
|
|
2
|
-
export declare const coutdownProps: {
|
|
3
|
-
/**
|
|
4
|
-
* Starts the countdown automatically when initialized.
|
|
5
|
-
*/
|
|
6
|
-
readonly autoStart: {
|
|
7
|
-
readonly type: BooleanConstructor;
|
|
8
|
-
readonly default: true;
|
|
9
|
-
};
|
|
10
|
-
/**
|
|
11
|
-
* Emits the countdown events.
|
|
12
|
-
*/
|
|
13
|
-
readonly emitEvents: {
|
|
14
|
-
readonly type: BooleanConstructor;
|
|
15
|
-
readonly default: true;
|
|
16
|
-
};
|
|
17
|
-
/**
|
|
18
|
-
* The interval time (in milliseconds) of the countdown progress.
|
|
19
|
-
*/
|
|
20
|
-
readonly interval: {
|
|
21
|
-
readonly type: NumberConstructor;
|
|
22
|
-
readonly default: 1000;
|
|
23
|
-
readonly validator: (value: number) => boolean;
|
|
24
|
-
};
|
|
25
|
-
/**
|
|
26
|
-
* The tag name of the component's root element.
|
|
27
|
-
*/
|
|
28
|
-
readonly tag: {
|
|
29
|
-
readonly type: StringConstructor;
|
|
30
|
-
readonly default: "span";
|
|
31
|
-
};
|
|
32
|
-
/**
|
|
33
|
-
* The time (in milliseconds) to count down from.
|
|
34
|
-
*/
|
|
35
|
-
readonly time: {
|
|
36
|
-
readonly type: NumberConstructor;
|
|
37
|
-
readonly default: 0;
|
|
38
|
-
readonly validator: (value: number) => boolean;
|
|
39
|
-
};
|
|
40
|
-
/**
|
|
41
|
-
* Transforms the output props before render.
|
|
42
|
-
*/
|
|
43
|
-
readonly transform: {
|
|
44
|
-
readonly type: FunctionConstructor;
|
|
45
|
-
readonly default: (props: unknown) => unknown;
|
|
46
|
-
};
|
|
47
|
-
};
|
|
48
|
-
export type CoutdownProps = ExtractPropTypes<typeof coutdownProps>;
|
|
@@ -1,81 +0,0 @@
|
|
|
1
|
-
import type { DefineComponent, Ref, ComputedRef, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
|
|
2
|
-
declare const _sfc_main: DefineComponent<{
|
|
3
|
-
readonly autoStart: {
|
|
4
|
-
readonly type: BooleanConstructor;
|
|
5
|
-
readonly default: true;
|
|
6
|
-
};
|
|
7
|
-
readonly emitEvents: {
|
|
8
|
-
readonly type: BooleanConstructor;
|
|
9
|
-
readonly default: true;
|
|
10
|
-
};
|
|
11
|
-
readonly interval: {
|
|
12
|
-
readonly type: NumberConstructor;
|
|
13
|
-
readonly default: 1000;
|
|
14
|
-
readonly validator: (value: number) => boolean;
|
|
15
|
-
};
|
|
16
|
-
readonly tag: {
|
|
17
|
-
readonly type: StringConstructor;
|
|
18
|
-
readonly default: "span";
|
|
19
|
-
};
|
|
20
|
-
readonly time: {
|
|
21
|
-
readonly type: NumberConstructor;
|
|
22
|
-
readonly default: 0;
|
|
23
|
-
readonly validator: (value: number) => boolean;
|
|
24
|
-
};
|
|
25
|
-
readonly transform: {
|
|
26
|
-
readonly type: FunctionConstructor;
|
|
27
|
-
readonly default: (props: unknown) => unknown;
|
|
28
|
-
};
|
|
29
|
-
}, {
|
|
30
|
-
counting: Ref<boolean>;
|
|
31
|
-
endTime: Ref<number>;
|
|
32
|
-
totalMilliseconds: Ref<number>;
|
|
33
|
-
days: ComputedRef<number>;
|
|
34
|
-
hours: ComputedRef<string | number>;
|
|
35
|
-
minutes: ComputedRef<string | number>;
|
|
36
|
-
seconds: ComputedRef<string | number>;
|
|
37
|
-
milliseconds: ComputedRef<number>;
|
|
38
|
-
totalDays: ComputedRef<ComputedRef<number>>;
|
|
39
|
-
totalHours: ComputedRef<number>;
|
|
40
|
-
totalSeconds: ComputedRef<number>;
|
|
41
|
-
totalMinutes: ComputedRef<number>;
|
|
42
|
-
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("progress" | "start" | "end")[], "progress" | "start" | "end", VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
|
|
43
|
-
readonly autoStart: {
|
|
44
|
-
readonly type: BooleanConstructor;
|
|
45
|
-
readonly default: true;
|
|
46
|
-
};
|
|
47
|
-
readonly emitEvents: {
|
|
48
|
-
readonly type: BooleanConstructor;
|
|
49
|
-
readonly default: true;
|
|
50
|
-
};
|
|
51
|
-
readonly interval: {
|
|
52
|
-
readonly type: NumberConstructor;
|
|
53
|
-
readonly default: 1000;
|
|
54
|
-
readonly validator: (value: number) => boolean;
|
|
55
|
-
};
|
|
56
|
-
readonly tag: {
|
|
57
|
-
readonly type: StringConstructor;
|
|
58
|
-
readonly default: "span";
|
|
59
|
-
};
|
|
60
|
-
readonly time: {
|
|
61
|
-
readonly type: NumberConstructor;
|
|
62
|
-
readonly default: 0;
|
|
63
|
-
readonly validator: (value: number) => boolean;
|
|
64
|
-
};
|
|
65
|
-
readonly transform: {
|
|
66
|
-
readonly type: FunctionConstructor;
|
|
67
|
-
readonly default: (props: unknown) => unknown;
|
|
68
|
-
};
|
|
69
|
-
}>> & {
|
|
70
|
-
onProgress?: ((...args: any[]) => any) | undefined;
|
|
71
|
-
onStart?: ((...args: any[]) => any) | undefined;
|
|
72
|
-
onEnd?: ((...args: any[]) => any) | undefined;
|
|
73
|
-
}, {
|
|
74
|
-
readonly time: number;
|
|
75
|
-
readonly autoStart: boolean;
|
|
76
|
-
readonly emitEvents: boolean;
|
|
77
|
-
readonly interval: number;
|
|
78
|
-
readonly tag: string;
|
|
79
|
-
readonly transform: Function;
|
|
80
|
-
}, {}>;
|
|
81
|
-
export default _sfc_main;
|