@a2simcode/ui 0.0.8 → 0.0.9
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/components/count/index.d.ts +73 -0
- package/dist/components/count/src/count.vue.d.ts +41 -0
- package/dist/components/count-up/index.d.ts +87 -0
- package/dist/components/count-up/src/count-up.vue.d.ts +43 -0
- package/dist/components/data-panel/index.d.ts +27 -0
- package/dist/components/data-panel/src/data-panel.vue.d.ts +24 -0
- package/dist/components/divider/index.d.ts +25 -0
- package/dist/components/divider/src/divider.vue.d.ts +29 -0
- package/dist/components/guid/index.d.ts +35 -0
- package/dist/components/guid/src/guid.vue.d.ts +28 -0
- package/dist/components/hpanel/index.d.ts +22 -0
- package/dist/components/hpanel/src/hpanel.vue.d.ts +19 -0
- package/dist/components/index.d.ts +18 -1
- package/dist/components/input/index.d.ts +3 -3
- package/dist/components/input/src/input.vue.d.ts +1 -1
- package/dist/components/input-button/index.d.ts +65 -0
- package/dist/components/input-button/src/input-button.vue.d.ts +65 -0
- package/dist/components/input-code/index.d.ts +52 -0
- package/dist/components/input-code/src/input-code.vue.d.ts +41 -0
- package/dist/components/title/index.d.ts +37 -0
- package/dist/components/title/src/title.vue.d.ts +35 -0
- package/dist/core/utils/common.d.ts +26 -0
- package/dist/core/utils/is.d.ts +2 -0
- package/dist/simcode-ui.es.js +2325 -1703
- package/dist/simcode-ui.umd.js +16 -1
- package/dist/stats.html +1 -1
- package/dist/ui.css +1 -1
- package/package.json +3 -1
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
declare const JCount: {
|
|
2
|
+
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('..').CountProps> & Readonly<{
|
|
3
|
+
"onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
|
|
4
|
+
onChange?: ((data: {
|
|
5
|
+
value: number | string;
|
|
6
|
+
data: string | number;
|
|
7
|
+
}) => any) | undefined;
|
|
8
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
9
|
+
"update:modelValue": (value: string | number) => any;
|
|
10
|
+
change: (data: {
|
|
11
|
+
value: number | string;
|
|
12
|
+
data: string | number;
|
|
13
|
+
}) => any;
|
|
14
|
+
}, import('vue').PublicProps, {
|
|
15
|
+
size: "large" | "default" | "small";
|
|
16
|
+
modelValue: number | string;
|
|
17
|
+
formatJson: string;
|
|
18
|
+
decimal: number;
|
|
19
|
+
thousandSeparator: boolean;
|
|
20
|
+
isChinese: boolean;
|
|
21
|
+
tableIndex: number;
|
|
22
|
+
getData: () => any;
|
|
23
|
+
}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
24
|
+
P: {};
|
|
25
|
+
B: {};
|
|
26
|
+
D: {};
|
|
27
|
+
C: {};
|
|
28
|
+
M: {};
|
|
29
|
+
Defaults: {};
|
|
30
|
+
}, Readonly<import('..').CountProps> & Readonly<{
|
|
31
|
+
"onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
|
|
32
|
+
onChange?: ((data: {
|
|
33
|
+
value: number | string;
|
|
34
|
+
data: string | number;
|
|
35
|
+
}) => any) | undefined;
|
|
36
|
+
}>, {}, {}, {}, {}, {
|
|
37
|
+
size: "large" | "default" | "small";
|
|
38
|
+
modelValue: number | string;
|
|
39
|
+
formatJson: string;
|
|
40
|
+
decimal: number;
|
|
41
|
+
thousandSeparator: boolean;
|
|
42
|
+
isChinese: boolean;
|
|
43
|
+
tableIndex: number;
|
|
44
|
+
getData: () => any;
|
|
45
|
+
}>;
|
|
46
|
+
__isFragment?: never;
|
|
47
|
+
__isTeleport?: never;
|
|
48
|
+
__isSuspense?: never;
|
|
49
|
+
} & import('vue').ComponentOptionsBase<Readonly<import('..').CountProps> & Readonly<{
|
|
50
|
+
"onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
|
|
51
|
+
onChange?: ((data: {
|
|
52
|
+
value: number | string;
|
|
53
|
+
data: string | number;
|
|
54
|
+
}) => any) | undefined;
|
|
55
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
56
|
+
"update:modelValue": (value: string | number) => any;
|
|
57
|
+
change: (data: {
|
|
58
|
+
value: number | string;
|
|
59
|
+
data: string | number;
|
|
60
|
+
}) => any;
|
|
61
|
+
}, string, {
|
|
62
|
+
size: "large" | "default" | "small";
|
|
63
|
+
modelValue: number | string;
|
|
64
|
+
formatJson: string;
|
|
65
|
+
decimal: number;
|
|
66
|
+
thousandSeparator: boolean;
|
|
67
|
+
isChinese: boolean;
|
|
68
|
+
tableIndex: number;
|
|
69
|
+
getData: () => any;
|
|
70
|
+
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & {
|
|
71
|
+
install: (app: import('vue').App) => void;
|
|
72
|
+
};
|
|
73
|
+
export default JCount;
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
export interface CountProps {
|
|
2
|
+
/** 计算的值 */
|
|
3
|
+
modelValue?: number | string;
|
|
4
|
+
/** 计算公式设置 */
|
|
5
|
+
formatJson?: string;
|
|
6
|
+
/** 保留小数位数 */
|
|
7
|
+
decimal?: number;
|
|
8
|
+
/** 是否千位分隔 */
|
|
9
|
+
thousandSeparator?: boolean;
|
|
10
|
+
/** 是否大写 */
|
|
11
|
+
isChinese?: boolean;
|
|
12
|
+
/** 子表的行下标 */
|
|
13
|
+
tableIndex?: number;
|
|
14
|
+
/** 组件数据 */
|
|
15
|
+
getData?: () => any;
|
|
16
|
+
/** 尺寸 */
|
|
17
|
+
size?: 'large' | 'default' | 'small';
|
|
18
|
+
}
|
|
19
|
+
declare const _default: import('vue').DefineComponent<CountProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
20
|
+
"update:modelValue": (value: string | number) => any;
|
|
21
|
+
change: (data: {
|
|
22
|
+
value: number | string;
|
|
23
|
+
data: string | number;
|
|
24
|
+
}) => any;
|
|
25
|
+
}, string, import('vue').PublicProps, Readonly<CountProps> & Readonly<{
|
|
26
|
+
"onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
|
|
27
|
+
onChange?: ((data: {
|
|
28
|
+
value: number | string;
|
|
29
|
+
data: string | number;
|
|
30
|
+
}) => any) | undefined;
|
|
31
|
+
}>, {
|
|
32
|
+
size: "large" | "default" | "small";
|
|
33
|
+
modelValue: number | string;
|
|
34
|
+
formatJson: string;
|
|
35
|
+
decimal: number;
|
|
36
|
+
thousandSeparator: boolean;
|
|
37
|
+
isChinese: boolean;
|
|
38
|
+
tableIndex: number;
|
|
39
|
+
getData: () => any;
|
|
40
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
41
|
+
export default _default;
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
declare const JCountUp: {
|
|
2
|
+
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('..').CountUpProps> & Readonly<{}>, {
|
|
3
|
+
myProps: import('vue').ComputedRef<{
|
|
4
|
+
endValue: string | number;
|
|
5
|
+
animation: boolean;
|
|
6
|
+
startValue: number;
|
|
7
|
+
decimals: number;
|
|
8
|
+
duration: number;
|
|
9
|
+
options: Record<string, any>;
|
|
10
|
+
callback: ((countUp: any) => void) | undefined;
|
|
11
|
+
}>;
|
|
12
|
+
el: import('vue').Ref<any, any>;
|
|
13
|
+
init: () => void;
|
|
14
|
+
start: (callback?: (arg0: any) => any) => void;
|
|
15
|
+
pauseResume: () => void;
|
|
16
|
+
reset: () => void;
|
|
17
|
+
update: (newEndVal: any) => void;
|
|
18
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
|
|
19
|
+
options: Record<string, any>;
|
|
20
|
+
animation: boolean;
|
|
21
|
+
startValue: number;
|
|
22
|
+
decimals: number;
|
|
23
|
+
duration: number;
|
|
24
|
+
callback: (countUp: any) => void;
|
|
25
|
+
}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
|
|
26
|
+
el: HTMLSpanElement;
|
|
27
|
+
}, HTMLSpanElement, import('vue').ComponentProvideOptions, {
|
|
28
|
+
P: {};
|
|
29
|
+
B: {};
|
|
30
|
+
D: {};
|
|
31
|
+
C: {};
|
|
32
|
+
M: {};
|
|
33
|
+
Defaults: {};
|
|
34
|
+
}, Readonly<import('..').CountUpProps> & Readonly<{}>, {
|
|
35
|
+
myProps: import('vue').ComputedRef<{
|
|
36
|
+
endValue: string | number;
|
|
37
|
+
animation: boolean;
|
|
38
|
+
startValue: number;
|
|
39
|
+
decimals: number;
|
|
40
|
+
duration: number;
|
|
41
|
+
options: Record<string, any>;
|
|
42
|
+
callback: ((countUp: any) => void) | undefined;
|
|
43
|
+
}>;
|
|
44
|
+
el: import('vue').Ref<any, any>;
|
|
45
|
+
init: () => void;
|
|
46
|
+
start: (callback?: (arg0: any) => any) => void;
|
|
47
|
+
pauseResume: () => void;
|
|
48
|
+
reset: () => void;
|
|
49
|
+
update: (newEndVal: any) => void;
|
|
50
|
+
}, {}, {}, {}, {
|
|
51
|
+
options: Record<string, any>;
|
|
52
|
+
animation: boolean;
|
|
53
|
+
startValue: number;
|
|
54
|
+
decimals: number;
|
|
55
|
+
duration: number;
|
|
56
|
+
callback: (countUp: any) => void;
|
|
57
|
+
}>;
|
|
58
|
+
__isFragment?: never;
|
|
59
|
+
__isTeleport?: never;
|
|
60
|
+
__isSuspense?: never;
|
|
61
|
+
} & import('vue').ComponentOptionsBase<Readonly<import('..').CountUpProps> & Readonly<{}>, {
|
|
62
|
+
myProps: import('vue').ComputedRef<{
|
|
63
|
+
endValue: string | number;
|
|
64
|
+
animation: boolean;
|
|
65
|
+
startValue: number;
|
|
66
|
+
decimals: number;
|
|
67
|
+
duration: number;
|
|
68
|
+
options: Record<string, any>;
|
|
69
|
+
callback: ((countUp: any) => void) | undefined;
|
|
70
|
+
}>;
|
|
71
|
+
el: import('vue').Ref<any, any>;
|
|
72
|
+
init: () => void;
|
|
73
|
+
start: (callback?: (arg0: any) => any) => void;
|
|
74
|
+
pauseResume: () => void;
|
|
75
|
+
reset: () => void;
|
|
76
|
+
update: (newEndVal: any) => void;
|
|
77
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
|
|
78
|
+
options: Record<string, any>;
|
|
79
|
+
animation: boolean;
|
|
80
|
+
startValue: number;
|
|
81
|
+
decimals: number;
|
|
82
|
+
duration: number;
|
|
83
|
+
callback: (countUp: any) => void;
|
|
84
|
+
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & {
|
|
85
|
+
install: (app: import('vue').App) => void;
|
|
86
|
+
};
|
|
87
|
+
export default JCountUp;
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
export interface CountUpProps {
|
|
2
|
+
/** 是否有动画渲染 */
|
|
3
|
+
animation?: boolean;
|
|
4
|
+
/** 开始显示值 */
|
|
5
|
+
startValue?: number;
|
|
6
|
+
/** 最终显示值,必填 */
|
|
7
|
+
endValue: string | number;
|
|
8
|
+
/** 小数点 */
|
|
9
|
+
decimals?: number;
|
|
10
|
+
/** 动画时间,秒 */
|
|
11
|
+
duration?: number;
|
|
12
|
+
/** 配置参数,参考countup.js */
|
|
13
|
+
options?: Record<string, any>;
|
|
14
|
+
/** 动画结束回调方法 */
|
|
15
|
+
callback?: (countUp: any) => void;
|
|
16
|
+
}
|
|
17
|
+
declare const _default: import('vue').DefineComponent<CountUpProps, {
|
|
18
|
+
myProps: import('vue').ComputedRef<{
|
|
19
|
+
endValue: string | number;
|
|
20
|
+
animation: boolean;
|
|
21
|
+
startValue: number;
|
|
22
|
+
decimals: number;
|
|
23
|
+
duration: number;
|
|
24
|
+
options: Record<string, any>;
|
|
25
|
+
callback: ((countUp: any) => void) | undefined;
|
|
26
|
+
}>;
|
|
27
|
+
el: import('vue').Ref<any, any>;
|
|
28
|
+
init: () => void;
|
|
29
|
+
start: (callback?: (arg0: any) => any) => void;
|
|
30
|
+
pauseResume: () => void;
|
|
31
|
+
reset: () => void;
|
|
32
|
+
update: (newEndVal: any) => void;
|
|
33
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<CountUpProps> & Readonly<{}>, {
|
|
34
|
+
options: Record<string, any>;
|
|
35
|
+
animation: boolean;
|
|
36
|
+
startValue: number;
|
|
37
|
+
decimals: number;
|
|
38
|
+
duration: number;
|
|
39
|
+
callback: (countUp: any) => void;
|
|
40
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
41
|
+
el: HTMLSpanElement;
|
|
42
|
+
}, HTMLSpanElement>;
|
|
43
|
+
export default _default;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
declare const JDataPanel: {
|
|
2
|
+
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('..').DataPanelProps> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
|
|
3
|
+
title: string;
|
|
4
|
+
}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, HTMLDivElement, import('vue').ComponentProvideOptions, {
|
|
5
|
+
P: {};
|
|
6
|
+
B: {};
|
|
7
|
+
D: {};
|
|
8
|
+
C: {};
|
|
9
|
+
M: {};
|
|
10
|
+
Defaults: {};
|
|
11
|
+
}, Readonly<import('..').DataPanelProps> & Readonly<{}>, {}, {}, {}, {}, {
|
|
12
|
+
title: string;
|
|
13
|
+
}>;
|
|
14
|
+
__isFragment?: never;
|
|
15
|
+
__isTeleport?: never;
|
|
16
|
+
__isSuspense?: never;
|
|
17
|
+
} & import('vue').ComponentOptionsBase<Readonly<import('..').DataPanelProps> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
|
|
18
|
+
title: string;
|
|
19
|
+
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
20
|
+
$slots: {
|
|
21
|
+
titleRight?(_: {}): any;
|
|
22
|
+
default?(_: {}): any;
|
|
23
|
+
};
|
|
24
|
+
}) & {
|
|
25
|
+
install: (app: import('vue').App) => void;
|
|
26
|
+
};
|
|
27
|
+
export default JDataPanel;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
export interface DataPanelProps {
|
|
2
|
+
/** 标题 */
|
|
3
|
+
title?: string;
|
|
4
|
+
}
|
|
5
|
+
declare function __VLS_template(): {
|
|
6
|
+
attrs: Partial<{}>;
|
|
7
|
+
slots: {
|
|
8
|
+
titleRight?(_: {}): any;
|
|
9
|
+
default?(_: {}): any;
|
|
10
|
+
};
|
|
11
|
+
refs: {};
|
|
12
|
+
rootEl: HTMLDivElement;
|
|
13
|
+
};
|
|
14
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
15
|
+
declare const __VLS_component: import('vue').DefineComponent<DataPanelProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<DataPanelProps> & Readonly<{}>, {
|
|
16
|
+
title: string;
|
|
17
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
18
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
19
|
+
export default _default;
|
|
20
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
21
|
+
new (): {
|
|
22
|
+
$slots: S;
|
|
23
|
+
};
|
|
24
|
+
};
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
declare const JDivider: {
|
|
2
|
+
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('..').DividerProps> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
|
|
3
|
+
borderStyle: string;
|
|
4
|
+
contentPosition: "left" | "center" | "right";
|
|
5
|
+
}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, HTMLDivElement, import('vue').ComponentProvideOptions, {
|
|
6
|
+
P: {};
|
|
7
|
+
B: {};
|
|
8
|
+
D: {};
|
|
9
|
+
C: {};
|
|
10
|
+
M: {};
|
|
11
|
+
Defaults: {};
|
|
12
|
+
}, Readonly<import('..').DividerProps> & Readonly<{}>, {}, {}, {}, {}, {
|
|
13
|
+
borderStyle: string;
|
|
14
|
+
contentPosition: "left" | "center" | "right";
|
|
15
|
+
}>;
|
|
16
|
+
__isFragment?: never;
|
|
17
|
+
__isTeleport?: never;
|
|
18
|
+
__isSuspense?: never;
|
|
19
|
+
} & import('vue').ComponentOptionsBase<Readonly<import('..').DividerProps> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
|
|
20
|
+
borderStyle: string;
|
|
21
|
+
contentPosition: "left" | "center" | "right";
|
|
22
|
+
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & {
|
|
23
|
+
install: (app: import('vue').App) => void;
|
|
24
|
+
};
|
|
25
|
+
export default JDivider;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
export interface DividerProps {
|
|
2
|
+
/**
|
|
3
|
+
* 文本内容
|
|
4
|
+
*/
|
|
5
|
+
content?: string;
|
|
6
|
+
/**
|
|
7
|
+
* 分隔符样式,支持 CSS border-style 值
|
|
8
|
+
* @default 'solid'
|
|
9
|
+
*/
|
|
10
|
+
borderStyle?: string;
|
|
11
|
+
/**
|
|
12
|
+
* 文本大小,支持数字(px)或字符串
|
|
13
|
+
*/
|
|
14
|
+
size?: number | string;
|
|
15
|
+
/**
|
|
16
|
+
* 文本颜色
|
|
17
|
+
*/
|
|
18
|
+
color?: string;
|
|
19
|
+
/**
|
|
20
|
+
* 内容对齐方式
|
|
21
|
+
* @default 'center'
|
|
22
|
+
*/
|
|
23
|
+
contentPosition?: 'left' | 'center' | 'right';
|
|
24
|
+
}
|
|
25
|
+
declare const _default: import('vue').DefineComponent<DividerProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<DividerProps> & Readonly<{}>, {
|
|
26
|
+
borderStyle: string;
|
|
27
|
+
contentPosition: "left" | "center" | "right";
|
|
28
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
29
|
+
export default _default;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
declare const JGuid: {
|
|
2
|
+
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('..').GuidProps> & Readonly<{
|
|
3
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
4
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
5
|
+
"update:modelValue": (value: string) => any;
|
|
6
|
+
}, import('vue').PublicProps, {
|
|
7
|
+
size: import('..').GuidSizeType;
|
|
8
|
+
modelValue: string;
|
|
9
|
+
}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
10
|
+
P: {};
|
|
11
|
+
B: {};
|
|
12
|
+
D: {};
|
|
13
|
+
C: {};
|
|
14
|
+
M: {};
|
|
15
|
+
Defaults: {};
|
|
16
|
+
}, Readonly<import('..').GuidProps> & Readonly<{
|
|
17
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
18
|
+
}>, {}, {}, {}, {}, {
|
|
19
|
+
size: import('..').GuidSizeType;
|
|
20
|
+
modelValue: string;
|
|
21
|
+
}>;
|
|
22
|
+
__isFragment?: never;
|
|
23
|
+
__isTeleport?: never;
|
|
24
|
+
__isSuspense?: never;
|
|
25
|
+
} & import('vue').ComponentOptionsBase<Readonly<import('..').GuidProps> & Readonly<{
|
|
26
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
27
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
28
|
+
"update:modelValue": (value: string) => any;
|
|
29
|
+
}, string, {
|
|
30
|
+
size: import('..').GuidSizeType;
|
|
31
|
+
modelValue: string;
|
|
32
|
+
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & {
|
|
33
|
+
install: (app: import('vue').App) => void;
|
|
34
|
+
};
|
|
35
|
+
export default JGuid;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* GUID (Globally Unique Identifier) 组件
|
|
3
|
+
* 用于生成和展示全局唯一标识符
|
|
4
|
+
*/
|
|
5
|
+
export type GuidSizeType = 'large' | 'default' | 'small';
|
|
6
|
+
export interface GuidProps {
|
|
7
|
+
/**
|
|
8
|
+
* @zh 绑定值,当为空时会自动生成UUID
|
|
9
|
+
* @en Bound value, auto-generates UUID when empty
|
|
10
|
+
* @vModel
|
|
11
|
+
*/
|
|
12
|
+
modelValue?: string;
|
|
13
|
+
/**
|
|
14
|
+
* @zh 输入框尺寸
|
|
15
|
+
* @en Input size
|
|
16
|
+
* @default 'default'
|
|
17
|
+
*/
|
|
18
|
+
size?: GuidSizeType;
|
|
19
|
+
}
|
|
20
|
+
declare const _default: import('vue').DefineComponent<GuidProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
21
|
+
"update:modelValue": (value: string) => any;
|
|
22
|
+
}, string, import('vue').PublicProps, Readonly<GuidProps> & Readonly<{
|
|
23
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
24
|
+
}>, {
|
|
25
|
+
size: GuidSizeType;
|
|
26
|
+
modelValue: string;
|
|
27
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
28
|
+
export default _default;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
declare const JHpanel: {
|
|
2
|
+
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, HTMLDivElement, import('vue').ComponentProvideOptions, {
|
|
3
|
+
P: {};
|
|
4
|
+
B: {};
|
|
5
|
+
D: {};
|
|
6
|
+
C: {};
|
|
7
|
+
M: {};
|
|
8
|
+
Defaults: {};
|
|
9
|
+
}, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, {}>;
|
|
10
|
+
__isFragment?: never;
|
|
11
|
+
__isTeleport?: never;
|
|
12
|
+
__isSuspense?: never;
|
|
13
|
+
} & import('vue').ComponentOptionsBase<Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
14
|
+
$slots: {
|
|
15
|
+
left?(_: {}): any;
|
|
16
|
+
default?(_: {}): any;
|
|
17
|
+
right?(_: {}): any;
|
|
18
|
+
};
|
|
19
|
+
}) & {
|
|
20
|
+
install: (app: import('vue').App) => void;
|
|
21
|
+
};
|
|
22
|
+
export default JHpanel;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
declare function __VLS_template(): {
|
|
2
|
+
attrs: Partial<{}>;
|
|
3
|
+
slots: {
|
|
4
|
+
left?(_: {}): any;
|
|
5
|
+
default?(_: {}): any;
|
|
6
|
+
right?(_: {}): any;
|
|
7
|
+
};
|
|
8
|
+
refs: {};
|
|
9
|
+
rootEl: HTMLDivElement;
|
|
10
|
+
};
|
|
11
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
12
|
+
declare const __VLS_component: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
13
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
14
|
+
export default _default;
|
|
15
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
16
|
+
new (): {
|
|
17
|
+
$slots: S;
|
|
18
|
+
};
|
|
19
|
+
};
|
|
@@ -22,12 +22,21 @@ import { default as JSlider } from './slider';
|
|
|
22
22
|
import { default as JUpload } from './upload';
|
|
23
23
|
import { default as JEcharts } from './echarts';
|
|
24
24
|
import { default as JBarcode } from './barcode';
|
|
25
|
+
import { default as JCount } from './count';
|
|
26
|
+
import { default as JCountUp } from './count-up';
|
|
27
|
+
import { default as JDataPanel } from './data-panel';
|
|
28
|
+
import { default as JDivider } from './divider';
|
|
29
|
+
import { default as JHpanel } from './hpanel';
|
|
30
|
+
import { default as JInputButton } from './input-button';
|
|
31
|
+
import { default as JInputCode } from './input-code';
|
|
32
|
+
import { default as JTitle } from './title';
|
|
25
33
|
import { default as JCodeMirror } from './code-mirror';
|
|
26
34
|
import { default as JComp } from './comp';
|
|
27
35
|
import { default as JForm } from './form';
|
|
28
36
|
import { default as JFormItem } from './form-item';
|
|
29
37
|
import { default as JPage } from './page';
|
|
30
|
-
|
|
38
|
+
import { default as JGuid } from './guid';
|
|
39
|
+
export { JButton, JButtons, JInput, JIcon, JRadio, JSelect, JCascaderSelect, JCheckbox, JNumber, JAutoComplete, JLayout, JTable, JDialog, JDialogFull, JDrawer, JLayer, JDynamicLayer, JInputTag, JRate, JSlider, JUpload, JEcharts, JBarcode, JCodeMirror, JCount, JCountUp, JDataPanel, JDivider, JHpanel, JGuid, JInputButton, JInputCode, JTitle, JComp, JForm, JFormItem, JPage };
|
|
31
40
|
export * from '../core';
|
|
32
41
|
export type { InputProps } from './input/src/input.vue';
|
|
33
42
|
export type { SelectOption, SelectProps } from './select/src/select.vue';
|
|
@@ -37,16 +46,24 @@ export type { Option as AutocompleteOption, AutocompleteProps } from './autocomp
|
|
|
37
46
|
export type { CascaderSelectOption, CascaderSelectProps } from './cascader-select/src/cascader-select.vue';
|
|
38
47
|
export type { CheckboxOption, CheckboxProps } from './checkbox/src/checkbox.vue';
|
|
39
48
|
export type { CodeMirrorProps } from './code-mirror/src/code-mirror.vue';
|
|
49
|
+
export type { DividerProps } from './divider/src/divider.vue';
|
|
40
50
|
export type { IconProps } from './icon/src/icon.vue';
|
|
41
51
|
export type { InputTagProps } from './input-tag/src/input-tag.vue';
|
|
42
52
|
export type { NumberProps } from './number/src/number.vue';
|
|
43
53
|
export type { RateProps } from './rate/src/rate.vue';
|
|
44
54
|
export type { SliderProps } from './slider/src/slider.vue';
|
|
55
|
+
export type { CountProps } from './count/src/count.vue';
|
|
56
|
+
export type { CountUpProps } from './count-up/src/count-up.vue';
|
|
57
|
+
export type { DataPanelProps } from './data-panel/src/data-panel.vue';
|
|
45
58
|
export type { SchemaRuntimeConfig } from './comp/src/comp.vue';
|
|
46
59
|
export type { buttonItem } from './buttons/src/interface';
|
|
47
60
|
export type { FormLayerParamType } from './dynamic-layer/src/interface';
|
|
48
61
|
export type { FormSchemaConfig, RuleType } from './form/src/interface';
|
|
49
62
|
export type { PageSchemaConfig } from './page/src/interface';
|
|
63
|
+
export type { GuidProps, GuidSizeType } from './guid/src/guid.vue';
|
|
64
|
+
export type { InputButtonProps } from './input-button/src/input-button.vue';
|
|
65
|
+
export type { InputCodeProps } from './input-code/src/input-code.vue';
|
|
66
|
+
export type { TitleProps } from './title/src/title.vue';
|
|
50
67
|
export type { FormLabelAlign, InternalNamePath, NamePath, StoreValue, Store, Meta, InternalFieldData, FieldData, RuleObject, Rule, ValidateErrorEntity, FieldError, RuleError, ValidateOptions, ValidateFields, ValidateMessages, } from './form/src/useForm/interface';
|
|
51
68
|
declare const _default: {
|
|
52
69
|
install: (app: App) => void;
|
|
@@ -17,6 +17,7 @@ declare const JInput: {
|
|
|
17
17
|
size: "large" | "default" | "small";
|
|
18
18
|
type: string;
|
|
19
19
|
disabled: boolean;
|
|
20
|
+
rows: number;
|
|
20
21
|
readonly: boolean;
|
|
21
22
|
modelValue: string | number;
|
|
22
23
|
showWordLimit: boolean;
|
|
@@ -24,7 +25,6 @@ declare const JInput: {
|
|
|
24
25
|
placeholder: string;
|
|
25
26
|
clearable: boolean;
|
|
26
27
|
showPassword: boolean;
|
|
27
|
-
rows: number;
|
|
28
28
|
autosize: boolean | {
|
|
29
29
|
minRows?: number;
|
|
30
30
|
maxRows?: number;
|
|
@@ -51,6 +51,7 @@ declare const JInput: {
|
|
|
51
51
|
size: "large" | "default" | "small";
|
|
52
52
|
type: string;
|
|
53
53
|
disabled: boolean;
|
|
54
|
+
rows: number;
|
|
54
55
|
readonly: boolean;
|
|
55
56
|
modelValue: string | number;
|
|
56
57
|
showWordLimit: boolean;
|
|
@@ -58,7 +59,6 @@ declare const JInput: {
|
|
|
58
59
|
placeholder: string;
|
|
59
60
|
clearable: boolean;
|
|
60
61
|
showPassword: boolean;
|
|
61
|
-
rows: number;
|
|
62
62
|
autosize: boolean | {
|
|
63
63
|
minRows?: number;
|
|
64
64
|
maxRows?: number;
|
|
@@ -89,6 +89,7 @@ declare const JInput: {
|
|
|
89
89
|
size: "large" | "default" | "small";
|
|
90
90
|
type: string;
|
|
91
91
|
disabled: boolean;
|
|
92
|
+
rows: number;
|
|
92
93
|
readonly: boolean;
|
|
93
94
|
modelValue: string | number;
|
|
94
95
|
showWordLimit: boolean;
|
|
@@ -96,7 +97,6 @@ declare const JInput: {
|
|
|
96
97
|
placeholder: string;
|
|
97
98
|
clearable: boolean;
|
|
98
99
|
showPassword: boolean;
|
|
99
|
-
rows: number;
|
|
100
100
|
autosize: boolean | {
|
|
101
101
|
minRows?: number;
|
|
102
102
|
maxRows?: number;
|
|
@@ -90,6 +90,7 @@ declare const _default: import('vue').DefineComponent<InputProps, {}, {}, {}, {}
|
|
|
90
90
|
size: "large" | "default" | "small";
|
|
91
91
|
type: string;
|
|
92
92
|
disabled: boolean;
|
|
93
|
+
rows: number;
|
|
93
94
|
readonly: boolean;
|
|
94
95
|
modelValue: string | number;
|
|
95
96
|
showWordLimit: boolean;
|
|
@@ -97,7 +98,6 @@ declare const _default: import('vue').DefineComponent<InputProps, {}, {}, {}, {}
|
|
|
97
98
|
placeholder: string;
|
|
98
99
|
clearable: boolean;
|
|
99
100
|
showPassword: boolean;
|
|
100
|
-
rows: number;
|
|
101
101
|
autosize: boolean | {
|
|
102
102
|
minRows?: number;
|
|
103
103
|
maxRows?: number;
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
declare const JInputButton: {
|
|
2
|
+
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('..').InputButtonProps> & Readonly<{
|
|
3
|
+
"onUpdate:modelValue"?: ((value: string | Record<string, any> | undefined) => any) | undefined;
|
|
4
|
+
onChange?: ((data: {
|
|
5
|
+
value: string | Record<string, any> | undefined;
|
|
6
|
+
}) => any) | undefined;
|
|
7
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
8
|
+
"update:modelValue": (value: string | Record<string, any> | undefined) => any;
|
|
9
|
+
change: (data: {
|
|
10
|
+
value: string | Record<string, any> | undefined;
|
|
11
|
+
}) => any;
|
|
12
|
+
}, import('vue').PublicProps, {
|
|
13
|
+
size: "large" | "default" | "small";
|
|
14
|
+
height: number;
|
|
15
|
+
width: string | number;
|
|
16
|
+
destroyOnClose: boolean;
|
|
17
|
+
btnText: string;
|
|
18
|
+
}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
|
|
19
|
+
layerRef: unknown;
|
|
20
|
+
}, any, import('vue').ComponentProvideOptions, {
|
|
21
|
+
P: {};
|
|
22
|
+
B: {};
|
|
23
|
+
D: {};
|
|
24
|
+
C: {};
|
|
25
|
+
M: {};
|
|
26
|
+
Defaults: {};
|
|
27
|
+
}, Readonly<import('..').InputButtonProps> & Readonly<{
|
|
28
|
+
"onUpdate:modelValue"?: ((value: string | Record<string, any> | undefined) => any) | undefined;
|
|
29
|
+
onChange?: ((data: {
|
|
30
|
+
value: string | Record<string, any> | undefined;
|
|
31
|
+
}) => any) | undefined;
|
|
32
|
+
}>, {}, {}, {}, {}, {
|
|
33
|
+
size: "large" | "default" | "small";
|
|
34
|
+
height: number;
|
|
35
|
+
width: string | number;
|
|
36
|
+
destroyOnClose: boolean;
|
|
37
|
+
btnText: string;
|
|
38
|
+
}>;
|
|
39
|
+
__isFragment?: never;
|
|
40
|
+
__isTeleport?: never;
|
|
41
|
+
__isSuspense?: never;
|
|
42
|
+
} & import('vue').ComponentOptionsBase<Readonly<import('..').InputButtonProps> & Readonly<{
|
|
43
|
+
"onUpdate:modelValue"?: ((value: string | Record<string, any> | undefined) => any) | undefined;
|
|
44
|
+
onChange?: ((data: {
|
|
45
|
+
value: string | Record<string, any> | undefined;
|
|
46
|
+
}) => any) | undefined;
|
|
47
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
48
|
+
"update:modelValue": (value: string | Record<string, any> | undefined) => any;
|
|
49
|
+
change: (data: {
|
|
50
|
+
value: string | Record<string, any> | undefined;
|
|
51
|
+
}) => any;
|
|
52
|
+
}, string, {
|
|
53
|
+
size: "large" | "default" | "small";
|
|
54
|
+
height: number;
|
|
55
|
+
width: string | number;
|
|
56
|
+
destroyOnClose: boolean;
|
|
57
|
+
btnText: string;
|
|
58
|
+
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
59
|
+
$slots: {
|
|
60
|
+
default?(_: {}): any;
|
|
61
|
+
};
|
|
62
|
+
}) & {
|
|
63
|
+
install: (app: import('vue').App) => void;
|
|
64
|
+
};
|
|
65
|
+
export default JInputButton;
|