3h1-ui 3.0.0-next.220 → 3.0.0-next.221
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/es/index.js +7028 -656
- package/es/ui/src/Descriptions/index.d.ts +8 -7
- package/es/ui/src/Descriptions/src/ShyDescriptions.d.ts +4 -4
- package/es/ui/src/Descriptions/src/props.d.ts +2 -2
- package/es/ui/src/Descriptions/src/typing.d.ts +5 -16
- package/lib/index.js +6941 -569
- package/lib/ui/src/Descriptions/index.d.ts +8 -7
- package/lib/ui/src/Descriptions/src/ShyDescriptions.d.ts +4 -4
- package/lib/ui/src/Descriptions/src/props.d.ts +2 -2
- package/lib/ui/src/Descriptions/src/typing.d.ts +5 -16
- package/package.json +2 -2
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { useShyDescriptions } from './src/useShyDescriptions';
|
|
2
|
+
export * from './src/typing';
|
|
2
3
|
export declare const ShyDescriptions: {
|
|
3
4
|
new (...args: any[]): import("vue").CreateComponentPublicInstance<Readonly<import("vue").ExtractPropTypes<{
|
|
4
5
|
schemas: {
|
|
5
|
-
type: ((new (...args: any[]) => import("./src/typing").
|
|
6
|
+
type: ((new (...args: any[]) => import("./src/typing").DescriptionsItem[]) | (() => import("./src/typing").DescriptionsItem[])) | ((new (...args: any[]) => import("./src/typing").DescriptionsItem[]) | (() => import("./src/typing").DescriptionsItem[]))[];
|
|
6
7
|
default: () => any[];
|
|
7
8
|
};
|
|
8
9
|
summaryPrecision: {
|
|
@@ -51,7 +52,7 @@ export declare const ShyDescriptions: {
|
|
|
51
52
|
onRegister?: (...args: any[]) => any;
|
|
52
53
|
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "register"[], import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<import("vue").ExtractPropTypes<{
|
|
53
54
|
schemas: {
|
|
54
|
-
type: ((new (...args: any[]) => import("./src/typing").
|
|
55
|
+
type: ((new (...args: any[]) => import("./src/typing").DescriptionsItem[]) | (() => import("./src/typing").DescriptionsItem[])) | ((new (...args: any[]) => import("./src/typing").DescriptionsItem[]) | (() => import("./src/typing").DescriptionsItem[]))[];
|
|
55
56
|
default: () => any[];
|
|
56
57
|
};
|
|
57
58
|
summaryPrecision: {
|
|
@@ -101,7 +102,7 @@ export declare const ShyDescriptions: {
|
|
|
101
102
|
}, {
|
|
102
103
|
data: Record<string, any>;
|
|
103
104
|
render: Record<string, any>;
|
|
104
|
-
schemas: import("./src/typing").
|
|
105
|
+
schemas: import("./src/typing").DescriptionsItem[];
|
|
105
106
|
mode: "vertical| horizontal";
|
|
106
107
|
bordered: boolean;
|
|
107
108
|
summaryPrecision: number;
|
|
@@ -119,7 +120,7 @@ export declare const ShyDescriptions: {
|
|
|
119
120
|
Defaults: {};
|
|
120
121
|
}, Readonly<import("vue").ExtractPropTypes<{
|
|
121
122
|
schemas: {
|
|
122
|
-
type: ((new (...args: any[]) => import("./src/typing").
|
|
123
|
+
type: ((new (...args: any[]) => import("./src/typing").DescriptionsItem[]) | (() => import("./src/typing").DescriptionsItem[])) | ((new (...args: any[]) => import("./src/typing").DescriptionsItem[]) | (() => import("./src/typing").DescriptionsItem[]))[];
|
|
123
124
|
default: () => any[];
|
|
124
125
|
};
|
|
125
126
|
summaryPrecision: {
|
|
@@ -169,7 +170,7 @@ export declare const ShyDescriptions: {
|
|
|
169
170
|
}, () => JSX.Element, {}, {}, {}, {
|
|
170
171
|
data: Record<string, any>;
|
|
171
172
|
render: Record<string, any>;
|
|
172
|
-
schemas: import("./src/typing").
|
|
173
|
+
schemas: import("./src/typing").DescriptionsItem[];
|
|
173
174
|
mode: "vertical| horizontal";
|
|
174
175
|
bordered: boolean;
|
|
175
176
|
summaryPrecision: number;
|
|
@@ -184,7 +185,7 @@ export declare const ShyDescriptions: {
|
|
|
184
185
|
__isSuspense?: never;
|
|
185
186
|
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
186
187
|
schemas: {
|
|
187
|
-
type: ((new (...args: any[]) => import("./src/typing").
|
|
188
|
+
type: ((new (...args: any[]) => import("./src/typing").DescriptionsItem[]) | (() => import("./src/typing").DescriptionsItem[])) | ((new (...args: any[]) => import("./src/typing").DescriptionsItem[]) | (() => import("./src/typing").DescriptionsItem[]))[];
|
|
188
189
|
default: () => any[];
|
|
189
190
|
};
|
|
190
191
|
summaryPrecision: {
|
|
@@ -234,7 +235,7 @@ export declare const ShyDescriptions: {
|
|
|
234
235
|
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "register"[], "register", {
|
|
235
236
|
data: Record<string, any>;
|
|
236
237
|
render: Record<string, any>;
|
|
237
|
-
schemas: import("./src/typing").
|
|
238
|
+
schemas: import("./src/typing").DescriptionsItem[];
|
|
238
239
|
mode: "vertical| horizontal";
|
|
239
240
|
bordered: boolean;
|
|
240
241
|
summaryPrecision: number;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { DescriptionsItem } from './typing';
|
|
2
2
|
declare const _default: import("vue").DefineComponent<{
|
|
3
3
|
schemas: {
|
|
4
|
-
type: ((new (...args: any[]) =>
|
|
4
|
+
type: ((new (...args: any[]) => DescriptionsItem[]) | (() => DescriptionsItem[])) | ((new (...args: any[]) => DescriptionsItem[]) | (() => DescriptionsItem[]))[];
|
|
5
5
|
default: () => any[];
|
|
6
6
|
};
|
|
7
7
|
summaryPrecision: {
|
|
@@ -48,7 +48,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
48
48
|
};
|
|
49
49
|
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "register"[], "register", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
50
50
|
schemas: {
|
|
51
|
-
type: ((new (...args: any[]) =>
|
|
51
|
+
type: ((new (...args: any[]) => DescriptionsItem[]) | (() => DescriptionsItem[])) | ((new (...args: any[]) => DescriptionsItem[]) | (() => DescriptionsItem[]))[];
|
|
52
52
|
default: () => any[];
|
|
53
53
|
};
|
|
54
54
|
summaryPrecision: {
|
|
@@ -98,7 +98,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
98
98
|
}, {
|
|
99
99
|
data: Record<string, any>;
|
|
100
100
|
render: Record<string, any>;
|
|
101
|
-
schemas:
|
|
101
|
+
schemas: DescriptionsItem[];
|
|
102
102
|
mode: "vertical| horizontal";
|
|
103
103
|
bordered: boolean;
|
|
104
104
|
summaryPrecision: number;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { DescriptionsItem } from './typing';
|
|
2
2
|
export declare const basicColProps = 6;
|
|
3
3
|
export declare const basicRowProps = 24;
|
|
4
4
|
export declare const basicGap = 8;
|
|
5
5
|
export declare const basicProps: {
|
|
6
6
|
schemas: {
|
|
7
|
-
type: ((new (...args: any[]) =>
|
|
7
|
+
type: ((new (...args: any[]) => DescriptionsItem[]) | (() => DescriptionsItem[])) | ((new (...args: any[]) => DescriptionsItem[]) | (() => DescriptionsItem[]))[];
|
|
8
8
|
default: () => any[];
|
|
9
9
|
};
|
|
10
10
|
summaryPrecision: {
|
|
@@ -1,23 +1,12 @@
|
|
|
1
1
|
import type { CSSProperties } from 'vue';
|
|
2
|
-
import {
|
|
3
|
-
export interface
|
|
4
|
-
label: string;
|
|
5
|
-
field: string;
|
|
6
|
-
colProps?: {
|
|
7
|
-
span: number;
|
|
8
|
-
};
|
|
9
|
-
groupType?: 'Divider' | 'Group' | 'Custom' | 'Origin';
|
|
10
|
-
component?: ComponentType;
|
|
11
|
-
componentProps: Recordable;
|
|
2
|
+
import { FormSchema } from '../../ShyForm/src/types/form';
|
|
3
|
+
export interface DescriptionsItem extends FormSchema {
|
|
12
4
|
isCopy?: boolean;
|
|
13
5
|
labelStyle?: CSSProperties;
|
|
14
6
|
contentStyle?: CSSProperties;
|
|
15
|
-
helpMessage?: string;
|
|
16
|
-
ifShow?: Function | boolean;
|
|
17
|
-
show?: boolean | Function;
|
|
18
7
|
}
|
|
19
|
-
export interface
|
|
20
|
-
schemas:
|
|
8
|
+
export interface DescriptionsProps {
|
|
9
|
+
schemas: DescriptionsItem[];
|
|
21
10
|
data: {
|
|
22
11
|
[key: string]: any;
|
|
23
12
|
};
|
|
@@ -33,7 +22,7 @@ export interface DescriptionProps {
|
|
|
33
22
|
[key: string]: any;
|
|
34
23
|
}
|
|
35
24
|
export interface DescInstance {
|
|
36
|
-
setDescProps(descProps: Partial<
|
|
25
|
+
setDescProps(descProps: Partial<DescriptionsProps>): void;
|
|
37
26
|
}
|
|
38
27
|
export type Register = (descInstance: DescInstance) => void;
|
|
39
28
|
/**
|