@vtj/ui 0.8.93 → 0.8.95
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.mjs +5142 -5117
- package/dist/index.umd.js +12 -12
- package/package.json +4 -4
- package/types/components/attachment/Attachment.d.ts +1 -0
- package/types/components/dialog-grid/DialogGrid.d.ts +18 -2
- package/types/components/query-form/QueryForm.d.ts +2 -1
- package/types/components/query-form/types.d.ts +2 -1
- package/types/components/tabs/Tabs.d.ts +19 -2
- package/types/components/tabs/types.d.ts +4 -0
- package/types/hooks/index.d.ts +1 -0
- package/types/hooks/useDefineSlots.d.ts +1 -0
- package/types/version.d.ts +2 -2
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vtj/ui",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "0.8.
|
|
4
|
+
"version": "0.8.95",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"engines": {
|
|
7
7
|
"node": ">=16.0.0"
|
|
@@ -12,8 +12,8 @@
|
|
|
12
12
|
"sortablejs": "~1.15.2",
|
|
13
13
|
"vxe-table": "~4.6.17",
|
|
14
14
|
"vxe-table-plugin-menus": "~4.0.3",
|
|
15
|
-
"@vtj/icons": "~0.8.
|
|
16
|
-
"@vtj/utils": "~0.8.
|
|
15
|
+
"@vtj/icons": "~0.8.95",
|
|
16
|
+
"@vtj/utils": "~0.8.95"
|
|
17
17
|
},
|
|
18
18
|
"devDependencies": {
|
|
19
19
|
"@types/qrcode": "^1.5.5",
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"qrcode": "~1.5.3",
|
|
22
22
|
"vue": "~3.4.15",
|
|
23
23
|
"vue-router": "~4.4.0",
|
|
24
|
-
"@vtj/cli": "~0.8.
|
|
24
|
+
"@vtj/cli": "~0.8.23"
|
|
25
25
|
},
|
|
26
26
|
"files": [
|
|
27
27
|
"dist",
|
|
@@ -1,7 +1,22 @@
|
|
|
1
|
+
import { VxeTableConstructor, VxeGridConstructor, VxeTableDataRow } from 'vxe-table';
|
|
1
2
|
import { DefineComponent, PropType, ComputedRef, Ref, ComponentOptionsMixin, PublicProps, ExtractPropTypes } from 'vue';
|
|
2
3
|
import { GridColumns } from '../grid';
|
|
3
|
-
|
|
4
|
-
|
|
4
|
+
declare function __VLS_template(): Partial<Record<string, (_: {
|
|
5
|
+
[x: string]: any;
|
|
6
|
+
$table: VxeTableConstructor<any>;
|
|
7
|
+
$grid: VxeGridConstructor<any> | null | undefined;
|
|
8
|
+
row: any;
|
|
9
|
+
rowIndex: number;
|
|
10
|
+
$rowIndex: number;
|
|
11
|
+
_rowIndex: number;
|
|
12
|
+
column: import("vxe-table/types/table").VxeTableDefines.ColumnInfo<any>;
|
|
13
|
+
columnIndex: number;
|
|
14
|
+
$columnIndex: number;
|
|
15
|
+
_columnIndex: number;
|
|
16
|
+
checked?: boolean;
|
|
17
|
+
indeterminate?: boolean;
|
|
18
|
+
items: any[];
|
|
19
|
+
}) => any>> & {
|
|
5
20
|
buttons?(_: {}): any;
|
|
6
21
|
top?(_: {}): any;
|
|
7
22
|
extra?(_: {}): any;
|
|
@@ -39,6 +54,7 @@ declare const __VLS_component: DefineComponent<{
|
|
|
39
54
|
};
|
|
40
55
|
}, {
|
|
41
56
|
$vtjEl: ComputedRef<any>;
|
|
57
|
+
$vtjDynamicSlots: () => any;
|
|
42
58
|
gridRef: Ref<any>;
|
|
43
59
|
dialogRef: Ref<any>;
|
|
44
60
|
addRow: () => void;
|
|
@@ -2,7 +2,7 @@ import { DefineComponent, PropType, Ref, ComponentInternalInstance, VNodeProps,
|
|
|
2
2
|
import { QueryFormItems } from './types';
|
|
3
3
|
import { ElTooltipProps } from 'element-plus';
|
|
4
4
|
import { FormModel } from '../';
|
|
5
|
-
declare function __VLS_template(): {
|
|
5
|
+
declare function __VLS_template(): Partial<Record<string, (_: {}) => any>> & {
|
|
6
6
|
default?(_: {}): any;
|
|
7
7
|
};
|
|
8
8
|
declare const __VLS_component: DefineComponent<{
|
|
@@ -209,6 +209,7 @@ declare const __VLS_component: DefineComponent<{
|
|
|
209
209
|
action?(_: {}): any;
|
|
210
210
|
};
|
|
211
211
|
}) | undefined>;
|
|
212
|
+
$vtjDynamicSlots: () => boolean[];
|
|
212
213
|
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
213
214
|
collapsed: (Collapsed: boolean) => void;
|
|
214
215
|
}, string, PublicProps, Readonly< ExtractPropTypes<{
|
|
@@ -2,7 +2,8 @@ import { ComponentPropsType } from '../shared';
|
|
|
2
2
|
import { queryFormProps } from './props';
|
|
3
3
|
import { FieldProps } from '../';
|
|
4
4
|
|
|
5
|
-
export type
|
|
5
|
+
export type QueryFormItem = string | FieldProps;
|
|
6
|
+
export type QueryFormItems = QueryFormItem[];
|
|
6
7
|
export type QueryFormProps = ComponentPropsType<typeof queryFormProps>;
|
|
7
8
|
export type QueryFormEmits = {
|
|
8
9
|
collapsed: [Collapsed: boolean];
|
|
@@ -6,7 +6,20 @@ import { EpPropFinalized, EpPropMergeType } from 'element-plus/es/utils/index.mj
|
|
|
6
6
|
import { Arrayable } from 'element-plus/es/utils/typescript.mjs';
|
|
7
7
|
import { BaseSize, BaseType } from '../shared';
|
|
8
8
|
|
|
9
|
-
declare function __VLS_template(): {
|
|
9
|
+
declare function __VLS_template(): Partial<Record<string, (_: {
|
|
10
|
+
label: string;
|
|
11
|
+
name?: string | number;
|
|
12
|
+
icon?: IconParam;
|
|
13
|
+
value?: string | number;
|
|
14
|
+
data?: any;
|
|
15
|
+
disabled?: boolean;
|
|
16
|
+
closable?: boolean;
|
|
17
|
+
lazy?: boolean;
|
|
18
|
+
actions?: ActionProps[];
|
|
19
|
+
component?: any;
|
|
20
|
+
props?: Record<string, any>;
|
|
21
|
+
slot?: string;
|
|
22
|
+
}) => any>> & {
|
|
10
23
|
label?(_: {
|
|
11
24
|
label: string;
|
|
12
25
|
name?: string | number;
|
|
@@ -19,6 +32,7 @@ declare function __VLS_template(): {
|
|
|
19
32
|
actions?: ActionProps[];
|
|
20
33
|
component?: any;
|
|
21
34
|
props?: Record<string, any>;
|
|
35
|
+
slot?: string;
|
|
22
36
|
}): any;
|
|
23
37
|
default?(_: {
|
|
24
38
|
label: string;
|
|
@@ -32,6 +46,7 @@ declare function __VLS_template(): {
|
|
|
32
46
|
actions?: ActionProps[];
|
|
33
47
|
component?: any;
|
|
34
48
|
props?: Record<string, any>;
|
|
49
|
+
slot?: string;
|
|
35
50
|
}): any;
|
|
36
51
|
};
|
|
37
52
|
declare const __VLS_component: DefineComponent<{
|
|
@@ -48,7 +63,9 @@ declare const __VLS_component: DefineComponent<{
|
|
|
48
63
|
align: {
|
|
49
64
|
type: PropType<"left" | "center" | "right">;
|
|
50
65
|
};
|
|
51
|
-
}, {
|
|
66
|
+
}, {
|
|
67
|
+
$vtjDynamicSlots: () => (string | undefined)[];
|
|
68
|
+
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
52
69
|
actionClick: (props: Readonly<Partial< ExtractPropTypes<{
|
|
53
70
|
name: {
|
|
54
71
|
type: StringConstructor;
|
package/types/hooks/index.d.ts
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function useDefineSlots(excludes?: string[]): string[];
|
package/types/version.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Copyright (c) 2024, VTJ.PRO All rights reserved.
|
|
3
3
|
* @name @vtj/ui
|
|
4
4
|
* @author CHC chenhuachun1549@dingtalk.com
|
|
5
|
-
* @version 0.8.
|
|
5
|
+
* @version 0.8.94
|
|
6
6
|
* @license <a href="https://vtj.pro/license.html">MIT License</a>
|
|
7
7
|
*/
|
|
8
|
-
export declare const version = "0.8.
|
|
8
|
+
export declare const version = "0.8.94";
|