@a2simcode/ui 0.0.127 → 0.0.129
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/index.d.ts +2 -1
- package/dist/components/input-decorated-title/index.d.ts +54 -0
- package/dist/components/input-decorated-title/src/input-decorated-title.vue.d.ts +43 -0
- package/dist/simcode-ui.es.js +1482 -1403
- package/dist/simcode-ui.umd.js +2 -2
- package/dist/stats.html +1 -1
- package/dist/ui.css +1 -1
- package/docs/components/form.md +16 -1
- package/docs/components/input-decorated-title.md +24 -0
- package/docs/components/meta/form-item.ts +50 -50
- package/docs/components/meta/input-decorated-title.ts +38 -0
- package/docs/examples/form/basic.vue +37 -0
- package/docs/examples/form/init.vue +76 -0
- package/docs/examples/input-decorated-title/basic.vue +23 -0
- package/package.json +1 -1
|
@@ -36,6 +36,7 @@ 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
38
|
import { default as JDecoratedTitle } from './decorated-title';
|
|
39
|
+
import { default as JInputDecoratedTitle } from './input-decorated-title';
|
|
39
40
|
import { default as JCodeMirror } from './code-mirror';
|
|
40
41
|
import { default as JSliderCaptcha } from './slider-captcha';
|
|
41
42
|
import { default as JMenu } from './menu';
|
|
@@ -58,7 +59,7 @@ import { default as JCollapse } from './collapse';
|
|
|
58
59
|
import { default as JEditor } from './editor';
|
|
59
60
|
import { default as JWorkflowViewer, JWorkflow } from './workflow-viewer';
|
|
60
61
|
import { default as JInputCards } from './input-cards';
|
|
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, };
|
|
62
|
+
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, JInputDecoratedTitle, JButtonSelect, JTree, JTreeSelect, JComp, JForm, JFormItem, JPage, JSliderCaptcha, JMenu, JTablePanel, JInputRows, JInputLayer, JLayerForm, JSwitch, JTabs, JCollapse, JEditor, JWorkflowViewer, JWorkflow, JPanel, JInputCards, };
|
|
62
63
|
export * from '../core';
|
|
63
64
|
export type { ButtonProps } from './button/src/button.vue';
|
|
64
65
|
export type { DateProps } from './date/src/date.vue';
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
declare const JInputDecoratedTitle: {
|
|
2
|
+
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./src/input-decorated-title.vue').InputDecoratedTitleProps> & Readonly<{
|
|
3
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
4
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
5
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
6
|
+
"update:modelValue": (...args: any[]) => void;
|
|
7
|
+
change: (...args: any[]) => void;
|
|
8
|
+
}, import('vue').PublicProps, {
|
|
9
|
+
color: string;
|
|
10
|
+
modelValue: string;
|
|
11
|
+
align: string;
|
|
12
|
+
weight: string | number;
|
|
13
|
+
contentColor: string;
|
|
14
|
+
backgroundColor: string;
|
|
15
|
+
}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
|
|
16
|
+
popoverRef: unknown;
|
|
17
|
+
}, HTMLDivElement, import('vue').ComponentProvideOptions, {
|
|
18
|
+
P: {};
|
|
19
|
+
B: {};
|
|
20
|
+
D: {};
|
|
21
|
+
C: {};
|
|
22
|
+
M: {};
|
|
23
|
+
Defaults: {};
|
|
24
|
+
}, Readonly<import('./src/input-decorated-title.vue').InputDecoratedTitleProps> & Readonly<{
|
|
25
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
26
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
27
|
+
}>, {}, {}, {}, {}, {
|
|
28
|
+
color: string;
|
|
29
|
+
modelValue: string;
|
|
30
|
+
align: string;
|
|
31
|
+
weight: string | number;
|
|
32
|
+
contentColor: string;
|
|
33
|
+
backgroundColor: string;
|
|
34
|
+
}>;
|
|
35
|
+
__isFragment?: never;
|
|
36
|
+
__isTeleport?: never;
|
|
37
|
+
__isSuspense?: never;
|
|
38
|
+
} & import('vue').ComponentOptionsBase<Readonly<import('./src/input-decorated-title.vue').InputDecoratedTitleProps> & Readonly<{
|
|
39
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
40
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
41
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
42
|
+
"update:modelValue": (...args: any[]) => void;
|
|
43
|
+
change: (...args: any[]) => void;
|
|
44
|
+
}, string, {
|
|
45
|
+
color: string;
|
|
46
|
+
modelValue: string;
|
|
47
|
+
align: string;
|
|
48
|
+
weight: string | number;
|
|
49
|
+
contentColor: string;
|
|
50
|
+
backgroundColor: string;
|
|
51
|
+
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & {
|
|
52
|
+
install: (app: import('vue').App) => void;
|
|
53
|
+
};
|
|
54
|
+
export default JInputDecoratedTitle;
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
export interface InputDecoratedTitleProps {
|
|
2
|
+
/**
|
|
3
|
+
* 绑定的标题类型,对应 JDecoratedTitle 的 titleType
|
|
4
|
+
*/
|
|
5
|
+
modelValue?: string;
|
|
6
|
+
/**
|
|
7
|
+
* 背景颜色,对应 JDecoratedTitle 的 backgroundColor
|
|
8
|
+
*/
|
|
9
|
+
backgroundColor?: string;
|
|
10
|
+
/**
|
|
11
|
+
* 标题颜色,对应 JDecoratedTitle 的 color
|
|
12
|
+
*/
|
|
13
|
+
color?: string;
|
|
14
|
+
/**
|
|
15
|
+
* 字体粗细,对应 JDecoratedTitle 的 weight
|
|
16
|
+
*/
|
|
17
|
+
weight?: string | number;
|
|
18
|
+
/**
|
|
19
|
+
* 描述颜色,对应 JDecoratedTitle 的 contentColor
|
|
20
|
+
*/
|
|
21
|
+
contentColor?: string;
|
|
22
|
+
/**
|
|
23
|
+
* 文本对齐方式,对应 JDecoratedTitle 的 align
|
|
24
|
+
*/
|
|
25
|
+
align?: string;
|
|
26
|
+
}
|
|
27
|
+
declare const _default: import('vue').DefineComponent<InputDecoratedTitleProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
28
|
+
"update:modelValue": (...args: any[]) => void;
|
|
29
|
+
change: (...args: any[]) => void;
|
|
30
|
+
}, string, import('vue').PublicProps, Readonly<InputDecoratedTitleProps> & Readonly<{
|
|
31
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
32
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
33
|
+
}>, {
|
|
34
|
+
color: string;
|
|
35
|
+
modelValue: string;
|
|
36
|
+
align: string;
|
|
37
|
+
weight: string | number;
|
|
38
|
+
contentColor: string;
|
|
39
|
+
backgroundColor: string;
|
|
40
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
41
|
+
popoverRef: unknown;
|
|
42
|
+
}, HTMLDivElement>;
|
|
43
|
+
export default _default;
|