@a2simcode/ui 0.0.126 → 0.0.128
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/decorated-title/index.d.ts +46 -0
- package/dist/components/decorated-title/src/decorated-title.vue.d.ts +62 -0
- package/dist/components/index.d.ts +2 -1
- package/dist/components/slider-captcha/index.d.ts +5 -5
- package/dist/components/slider-captcha/src/slider-captcha-content.vue.d.ts +1 -1
- package/dist/components/slider-captcha/src/slider-captcha.vue.d.ts +3 -3
- package/dist/simcode-ui.es.js +3157 -2989
- package/dist/simcode-ui.umd.js +2 -2
- package/dist/stats.html +1 -1
- package/dist/ui.css +1 -1
- package/docs/components/decorated-title.md +24 -0
- package/docs/components/form.md +16 -1
- package/docs/components/meta/decorated-title.ts +74 -0
- package/docs/examples/decorated-title/basic.vue +31 -0
- package/docs/examples/form/basic.vue +37 -0
- package/docs/examples/form/init.vue +76 -0
- package/package.json +1 -1
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
declare const JDecoratedTitle: {
|
|
2
|
+
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./src/decorated-title.vue').TitleProps> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
|
|
3
|
+
size: number | string;
|
|
4
|
+
color: string;
|
|
5
|
+
style: Record<string, any>;
|
|
6
|
+
title: string;
|
|
7
|
+
class: string;
|
|
8
|
+
align: string;
|
|
9
|
+
weight: string | number;
|
|
10
|
+
contentSize: number;
|
|
11
|
+
titleType: string;
|
|
12
|
+
}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, HTMLDivElement, import('vue').ComponentProvideOptions, {
|
|
13
|
+
P: {};
|
|
14
|
+
B: {};
|
|
15
|
+
D: {};
|
|
16
|
+
C: {};
|
|
17
|
+
M: {};
|
|
18
|
+
Defaults: {};
|
|
19
|
+
}, Readonly<import('./src/decorated-title.vue').TitleProps> & Readonly<{}>, {}, {}, {}, {}, {
|
|
20
|
+
size: number | string;
|
|
21
|
+
color: string;
|
|
22
|
+
style: Record<string, any>;
|
|
23
|
+
title: string;
|
|
24
|
+
class: string;
|
|
25
|
+
align: string;
|
|
26
|
+
weight: string | number;
|
|
27
|
+
contentSize: number;
|
|
28
|
+
titleType: string;
|
|
29
|
+
}>;
|
|
30
|
+
__isFragment?: never;
|
|
31
|
+
__isTeleport?: never;
|
|
32
|
+
__isSuspense?: never;
|
|
33
|
+
} & import('vue').ComponentOptionsBase<Readonly<import('./src/decorated-title.vue').TitleProps> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
|
|
34
|
+
size: number | string;
|
|
35
|
+
color: string;
|
|
36
|
+
style: Record<string, any>;
|
|
37
|
+
title: string;
|
|
38
|
+
class: string;
|
|
39
|
+
align: string;
|
|
40
|
+
weight: string | number;
|
|
41
|
+
contentSize: number;
|
|
42
|
+
titleType: string;
|
|
43
|
+
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & {
|
|
44
|
+
install: (app: import('vue').App) => void;
|
|
45
|
+
};
|
|
46
|
+
export default JDecoratedTitle;
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
export interface TitleProps {
|
|
2
|
+
/**
|
|
3
|
+
* 标题
|
|
4
|
+
*/
|
|
5
|
+
title?: string;
|
|
6
|
+
/**
|
|
7
|
+
* 描述
|
|
8
|
+
*/
|
|
9
|
+
content?: string;
|
|
10
|
+
/**
|
|
11
|
+
* 自定义样式对象
|
|
12
|
+
*/
|
|
13
|
+
style?: Record<string, any>;
|
|
14
|
+
/**
|
|
15
|
+
* 自定义类名
|
|
16
|
+
*/
|
|
17
|
+
class?: string;
|
|
18
|
+
/**
|
|
19
|
+
* 标题颜色
|
|
20
|
+
*/
|
|
21
|
+
color?: string;
|
|
22
|
+
/**
|
|
23
|
+
* 描述颜色
|
|
24
|
+
*/
|
|
25
|
+
contentColor?: string;
|
|
26
|
+
/**
|
|
27
|
+
* 配色
|
|
28
|
+
*/
|
|
29
|
+
backgroundColor?: string;
|
|
30
|
+
/**
|
|
31
|
+
* 字体大小,支持数字(px)或字符串
|
|
32
|
+
*/
|
|
33
|
+
size?: number | string;
|
|
34
|
+
/**
|
|
35
|
+
* @zh 描述字体大小
|
|
36
|
+
*/
|
|
37
|
+
contentSize?: number;
|
|
38
|
+
/**
|
|
39
|
+
* 文本对齐方式 (left | center | right)
|
|
40
|
+
*/
|
|
41
|
+
align?: string;
|
|
42
|
+
/**
|
|
43
|
+
* 字体粗细 (normal | bold | bolder | lighter | 100-900)
|
|
44
|
+
*/
|
|
45
|
+
weight?: string | number;
|
|
46
|
+
/**
|
|
47
|
+
* 标题样式title1: 'title2', 'title3'...
|
|
48
|
+
*/
|
|
49
|
+
titleType?: string;
|
|
50
|
+
}
|
|
51
|
+
declare const _default: import('vue').DefineComponent<TitleProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<TitleProps> & Readonly<{}>, {
|
|
52
|
+
size: number | string;
|
|
53
|
+
color: string;
|
|
54
|
+
style: Record<string, any>;
|
|
55
|
+
title: string;
|
|
56
|
+
class: string;
|
|
57
|
+
align: string;
|
|
58
|
+
weight: string | number;
|
|
59
|
+
contentSize: number;
|
|
60
|
+
titleType: string;
|
|
61
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
62
|
+
export default _default;
|
|
@@ -35,6 +35,7 @@ import { default as JInputButton } from './input-button';
|
|
|
35
35
|
import { default as JInputCode } from './input-code';
|
|
36
36
|
import { default as JInputColor } from './input-color';
|
|
37
37
|
import { default as JTitle } from './title';
|
|
38
|
+
import { default as JDecoratedTitle } from './decorated-title';
|
|
38
39
|
import { default as JCodeMirror } from './code-mirror';
|
|
39
40
|
import { default as JSliderCaptcha } from './slider-captcha';
|
|
40
41
|
import { default as JMenu } from './menu';
|
|
@@ -57,7 +58,7 @@ import { default as JCollapse } from './collapse';
|
|
|
57
58
|
import { default as JEditor } from './editor';
|
|
58
59
|
import { default as JWorkflowViewer, JWorkflow } from './workflow-viewer';
|
|
59
60
|
import { default as JInputCards } from './input-cards';
|
|
60
|
-
export { JButton, JButtons, JInput, JDate, JTime, JNowTime, JIcon, JRadio, JSelect, JCascaderSelect, JCheckbox, JNumber, JAutoComplete, JLayout, JTable, JDialog, JDialogFull, JDrawer, JLayer, JDynamicLayer, JInputTag, JRate, JSlider, JUpload, JEcharts, JBarcode, JCodeMirror, JCount, JInputCount, JCountUp, JDataPanel, JDivider, JHpanel, JGuid, JInputButton, JInputCode, JInputColor, JTitle, JButtonSelect, JTree, JTreeSelect, JComp, JForm, JFormItem, JPage, JSliderCaptcha, JMenu, JTablePanel, JInputRows, JInputLayer, JLayerForm, JSwitch, JTabs, JCollapse, JEditor, JWorkflowViewer, JWorkflow, JPanel, JInputCards, };
|
|
61
|
+
export { JButton, JButtons, JInput, JDate, JTime, JNowTime, JIcon, JRadio, JSelect, JCascaderSelect, JCheckbox, JNumber, JAutoComplete, JLayout, JTable, JDialog, JDialogFull, JDrawer, JLayer, JDynamicLayer, JInputTag, JRate, JSlider, JUpload, JEcharts, JBarcode, JCodeMirror, JCount, JInputCount, JCountUp, JDataPanel, JDivider, JHpanel, JGuid, JInputButton, JInputCode, JInputColor, JTitle, JDecoratedTitle, JButtonSelect, JTree, JTreeSelect, JComp, JForm, JFormItem, JPage, JSliderCaptcha, JMenu, JTablePanel, JInputRows, JInputLayer, JLayerForm, JSwitch, JTabs, JCollapse, JEditor, JWorkflowViewer, JWorkflow, JPanel, JInputCards, };
|
|
61
62
|
export * from '../core';
|
|
62
63
|
export type { ButtonProps } from './button/src/button.vue';
|
|
63
64
|
export type { DateProps } from './date/src/date.vue';
|
|
@@ -15,9 +15,9 @@ export declare const JSliderCaptcha: {
|
|
|
15
15
|
end: (args_0: MouseEvent | TouchEvent) => any;
|
|
16
16
|
}, import('vue').PublicProps, {
|
|
17
17
|
text: string;
|
|
18
|
+
contentStyle: import('vue').CSSProperties;
|
|
18
19
|
actionStyle: import('vue').CSSProperties;
|
|
19
20
|
barStyle: import('vue').CSSProperties;
|
|
20
|
-
contentStyle: import('vue').CSSProperties;
|
|
21
21
|
wrapperStyle: import('vue').CSSProperties;
|
|
22
22
|
successText: string;
|
|
23
23
|
}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
|
|
@@ -64,10 +64,10 @@ export declare const JSliderCaptcha: {
|
|
|
64
64
|
}>> & Readonly<{}>, {
|
|
65
65
|
getEl: () => HTMLDivElement | null;
|
|
66
66
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
|
|
67
|
+
contentStyle: Record<string, any>;
|
|
67
68
|
isPassing: boolean;
|
|
68
69
|
animationDuration: string | number;
|
|
69
70
|
animationIterationCount: string | number;
|
|
70
|
-
contentStyle: Record<string, any>;
|
|
71
71
|
}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
|
|
72
72
|
contentRef: HTMLDivElement;
|
|
73
73
|
}, HTMLDivElement, import('vue').ComponentProvideOptions, {
|
|
@@ -97,10 +97,10 @@ export declare const JSliderCaptcha: {
|
|
|
97
97
|
}>> & Readonly<{}>, {
|
|
98
98
|
getEl: () => HTMLDivElement | null;
|
|
99
99
|
}, {}, {}, {}, {
|
|
100
|
+
contentStyle: Record<string, any>;
|
|
100
101
|
isPassing: boolean;
|
|
101
102
|
animationDuration: string | number;
|
|
102
103
|
animationIterationCount: string | number;
|
|
103
|
-
contentStyle: Record<string, any>;
|
|
104
104
|
}> | null;
|
|
105
105
|
actionRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
106
106
|
actionStyle: import('vue').CSSProperties;
|
|
@@ -145,9 +145,9 @@ export declare const JSliderCaptcha: {
|
|
|
145
145
|
onEnd?: ((args_0: MouseEvent | TouchEvent) => any) | undefined;
|
|
146
146
|
}>, {}, {}, {}, {}, {
|
|
147
147
|
text: string;
|
|
148
|
+
contentStyle: import('vue').CSSProperties;
|
|
148
149
|
actionStyle: import('vue').CSSProperties;
|
|
149
150
|
barStyle: import('vue').CSSProperties;
|
|
150
|
-
contentStyle: import('vue').CSSProperties;
|
|
151
151
|
wrapperStyle: import('vue').CSSProperties;
|
|
152
152
|
successText: string;
|
|
153
153
|
}>;
|
|
@@ -170,9 +170,9 @@ export declare const JSliderCaptcha: {
|
|
|
170
170
|
end: (args_0: MouseEvent | TouchEvent) => any;
|
|
171
171
|
}, string, {
|
|
172
172
|
text: string;
|
|
173
|
+
contentStyle: import('vue').CSSProperties;
|
|
173
174
|
actionStyle: import('vue').CSSProperties;
|
|
174
175
|
barStyle: import('vue').CSSProperties;
|
|
175
|
-
contentStyle: import('vue').CSSProperties;
|
|
176
176
|
wrapperStyle: import('vue').CSSProperties;
|
|
177
177
|
successText: string;
|
|
178
178
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & {
|
|
@@ -35,10 +35,10 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
35
35
|
default: string;
|
|
36
36
|
};
|
|
37
37
|
}>> & Readonly<{}>, {
|
|
38
|
+
contentStyle: Record<string, any>;
|
|
38
39
|
isPassing: boolean;
|
|
39
40
|
animationDuration: string | number;
|
|
40
41
|
animationIterationCount: string | number;
|
|
41
|
-
contentStyle: Record<string, any>;
|
|
42
42
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
|
|
43
43
|
contentRef: HTMLDivElement;
|
|
44
44
|
}, HTMLDivElement>;
|
|
@@ -17,9 +17,9 @@ declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {}, {},
|
|
|
17
17
|
onEnd?: ((args_0: MouseEvent | TouchEvent) => any) | undefined;
|
|
18
18
|
}>, {
|
|
19
19
|
text: string;
|
|
20
|
+
contentStyle: import('vue').CSSProperties;
|
|
20
21
|
actionStyle: import('vue').CSSProperties;
|
|
21
22
|
barStyle: import('vue').CSSProperties;
|
|
22
|
-
contentStyle: import('vue').CSSProperties;
|
|
23
23
|
wrapperStyle: import('vue').CSSProperties;
|
|
24
24
|
successText: string;
|
|
25
25
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
@@ -66,10 +66,10 @@ declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {}, {},
|
|
|
66
66
|
}>> & Readonly<{}>, {
|
|
67
67
|
getEl: () => HTMLDivElement | null;
|
|
68
68
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
|
|
69
|
+
contentStyle: Record<string, any>;
|
|
69
70
|
isPassing: boolean;
|
|
70
71
|
animationDuration: string | number;
|
|
71
72
|
animationIterationCount: string | number;
|
|
72
|
-
contentStyle: Record<string, any>;
|
|
73
73
|
}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
|
|
74
74
|
contentRef: HTMLDivElement;
|
|
75
75
|
}, HTMLDivElement, import('vue').ComponentProvideOptions, {
|
|
@@ -99,10 +99,10 @@ declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {}, {},
|
|
|
99
99
|
}>> & Readonly<{}>, {
|
|
100
100
|
getEl: () => HTMLDivElement | null;
|
|
101
101
|
}, {}, {}, {}, {
|
|
102
|
+
contentStyle: Record<string, any>;
|
|
102
103
|
isPassing: boolean;
|
|
103
104
|
animationDuration: string | number;
|
|
104
105
|
animationIterationCount: string | number;
|
|
105
|
-
contentStyle: Record<string, any>;
|
|
106
106
|
}> | null;
|
|
107
107
|
actionRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
108
108
|
actionStyle: import('vue').CSSProperties;
|