@a2simcode/ui 0.0.132 → 0.0.134
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 +4 -1
- package/dist/components/input-map/index.d.ts +101 -0
- package/dist/components/input-map/src/input-map.vue.d.ts +86 -0
- package/dist/components/vpanel/index.d.ts +22 -0
- package/dist/components/vpanel/src/vpanel.vue.d.ts +19 -0
- package/dist/simcode-ui.es.js +3504 -3332
- package/dist/simcode-ui.umd.js +2 -2
- package/dist/stats.html +1 -1
- package/docs/components/form.md +15 -0
- package/docs/components/input-map.md +24 -0
- package/docs/components/meta/input-map.ts +32 -0
- package/docs/components/meta/vpanel.ts +20 -0
- package/docs/components/vpanel.md +25 -0
- package/docs/examples/form/master-detail.vue +203 -0
- package/docs/examples/input-map/basic.vue +18 -0
- package/docs/examples/vpanel/basic.vue +88 -0
- package/package.json +1 -1
|
@@ -31,6 +31,7 @@ import { default as JCountUp } from './count-up';
|
|
|
31
31
|
import { default as JDataPanel } from './data-panel';
|
|
32
32
|
import { default as JDivider } from './divider';
|
|
33
33
|
import { default as JHpanel } from './hpanel';
|
|
34
|
+
import { default as JVpanel } from './vpanel';
|
|
34
35
|
import { default as JInputButton } from './input-button';
|
|
35
36
|
import { default as JInputCode } from './input-code';
|
|
36
37
|
import { default as JInputColor } from './input-color';
|
|
@@ -57,9 +58,11 @@ import { default as JSwitch } from './switch';
|
|
|
57
58
|
import { default as JTabs } from './tabs';
|
|
58
59
|
import { default as JCollapse } from './collapse';
|
|
59
60
|
import { default as JEditor } from './editor';
|
|
61
|
+
import { default as JMap } from './map';
|
|
62
|
+
import { default as JInputMap } from './input-map';
|
|
60
63
|
import { default as JWorkflowViewer, JWorkflow } from './workflow-viewer';
|
|
61
64
|
import { default as JInputCards } from './input-cards';
|
|
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, };
|
|
65
|
+
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, JVpanel, 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, JMap, JInputMap, };
|
|
63
66
|
export * from '../core';
|
|
64
67
|
export type { ButtonProps } from './button/src/button.vue';
|
|
65
68
|
export type { DateProps } from './date/src/date.vue';
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
declare const JInputMap: {
|
|
2
|
+
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
|
|
3
|
+
modelValue: {
|
|
4
|
+
type: import('vue').PropType<string>;
|
|
5
|
+
default: null;
|
|
6
|
+
};
|
|
7
|
+
placeholder: {
|
|
8
|
+
type: import('vue').PropType<string>;
|
|
9
|
+
default: string;
|
|
10
|
+
};
|
|
11
|
+
readonly: BooleanConstructor;
|
|
12
|
+
size: {
|
|
13
|
+
type: import('vue').PropType<"small" | "large" | "middle">;
|
|
14
|
+
};
|
|
15
|
+
clearable: {
|
|
16
|
+
type: BooleanConstructor;
|
|
17
|
+
default: boolean;
|
|
18
|
+
};
|
|
19
|
+
}>> & Readonly<{
|
|
20
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
21
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
22
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
23
|
+
"update:modelValue": (...args: any[]) => void;
|
|
24
|
+
change: (...args: any[]) => void;
|
|
25
|
+
}, import('vue').PublicProps, {
|
|
26
|
+
modelValue: string;
|
|
27
|
+
placeholder: string;
|
|
28
|
+
clearable: boolean;
|
|
29
|
+
readonly: boolean;
|
|
30
|
+
}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
|
|
31
|
+
inputRef: unknown;
|
|
32
|
+
layerRef: unknown;
|
|
33
|
+
indexRef: unknown;
|
|
34
|
+
}, any, import('vue').ComponentProvideOptions, {
|
|
35
|
+
P: {};
|
|
36
|
+
B: {};
|
|
37
|
+
D: {};
|
|
38
|
+
C: {};
|
|
39
|
+
M: {};
|
|
40
|
+
Defaults: {};
|
|
41
|
+
}, Readonly<import('vue').ExtractPropTypes<{
|
|
42
|
+
modelValue: {
|
|
43
|
+
type: import('vue').PropType<string>;
|
|
44
|
+
default: null;
|
|
45
|
+
};
|
|
46
|
+
placeholder: {
|
|
47
|
+
type: import('vue').PropType<string>;
|
|
48
|
+
default: string;
|
|
49
|
+
};
|
|
50
|
+
readonly: BooleanConstructor;
|
|
51
|
+
size: {
|
|
52
|
+
type: import('vue').PropType<"small" | "large" | "middle">;
|
|
53
|
+
};
|
|
54
|
+
clearable: {
|
|
55
|
+
type: BooleanConstructor;
|
|
56
|
+
default: boolean;
|
|
57
|
+
};
|
|
58
|
+
}>> & Readonly<{
|
|
59
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
60
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
61
|
+
}>, {}, {}, {}, {}, {
|
|
62
|
+
modelValue: string;
|
|
63
|
+
placeholder: string;
|
|
64
|
+
clearable: boolean;
|
|
65
|
+
readonly: boolean;
|
|
66
|
+
}>;
|
|
67
|
+
__isFragment?: never;
|
|
68
|
+
__isTeleport?: never;
|
|
69
|
+
__isSuspense?: never;
|
|
70
|
+
} & import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
|
|
71
|
+
modelValue: {
|
|
72
|
+
type: import('vue').PropType<string>;
|
|
73
|
+
default: null;
|
|
74
|
+
};
|
|
75
|
+
placeholder: {
|
|
76
|
+
type: import('vue').PropType<string>;
|
|
77
|
+
default: string;
|
|
78
|
+
};
|
|
79
|
+
readonly: BooleanConstructor;
|
|
80
|
+
size: {
|
|
81
|
+
type: import('vue').PropType<"small" | "large" | "middle">;
|
|
82
|
+
};
|
|
83
|
+
clearable: {
|
|
84
|
+
type: BooleanConstructor;
|
|
85
|
+
default: boolean;
|
|
86
|
+
};
|
|
87
|
+
}>> & Readonly<{
|
|
88
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
89
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
90
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
91
|
+
"update:modelValue": (...args: any[]) => void;
|
|
92
|
+
change: (...args: any[]) => void;
|
|
93
|
+
}, string, {
|
|
94
|
+
modelValue: string;
|
|
95
|
+
placeholder: string;
|
|
96
|
+
clearable: boolean;
|
|
97
|
+
readonly: boolean;
|
|
98
|
+
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & {
|
|
99
|
+
install: (app: import('vue').App) => void;
|
|
100
|
+
};
|
|
101
|
+
export default JInputMap;
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
3
|
+
/**
|
|
4
|
+
* @zh 输入值
|
|
5
|
+
* @vModel
|
|
6
|
+
*/
|
|
7
|
+
modelValue: {
|
|
8
|
+
type: PropType<string>;
|
|
9
|
+
default: null;
|
|
10
|
+
};
|
|
11
|
+
/**
|
|
12
|
+
* @zh 占位符
|
|
13
|
+
*/
|
|
14
|
+
placeholder: {
|
|
15
|
+
type: PropType<string>;
|
|
16
|
+
default: string;
|
|
17
|
+
};
|
|
18
|
+
/**
|
|
19
|
+
* @zh 是否禁用。
|
|
20
|
+
*/
|
|
21
|
+
readonly: BooleanConstructor;
|
|
22
|
+
/**
|
|
23
|
+
* @zh 选框尺寸
|
|
24
|
+
*/
|
|
25
|
+
size: {
|
|
26
|
+
type: PropType<"small" | "large" | "middle">;
|
|
27
|
+
};
|
|
28
|
+
/**
|
|
29
|
+
* @zh 是否可以清除
|
|
30
|
+
* @defaultValue true
|
|
31
|
+
*/
|
|
32
|
+
clearable: {
|
|
33
|
+
type: BooleanConstructor;
|
|
34
|
+
default: boolean;
|
|
35
|
+
};
|
|
36
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
37
|
+
"update:modelValue": (...args: any[]) => void;
|
|
38
|
+
change: (...args: any[]) => void;
|
|
39
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
40
|
+
/**
|
|
41
|
+
* @zh 输入值
|
|
42
|
+
* @vModel
|
|
43
|
+
*/
|
|
44
|
+
modelValue: {
|
|
45
|
+
type: PropType<string>;
|
|
46
|
+
default: null;
|
|
47
|
+
};
|
|
48
|
+
/**
|
|
49
|
+
* @zh 占位符
|
|
50
|
+
*/
|
|
51
|
+
placeholder: {
|
|
52
|
+
type: PropType<string>;
|
|
53
|
+
default: string;
|
|
54
|
+
};
|
|
55
|
+
/**
|
|
56
|
+
* @zh 是否禁用。
|
|
57
|
+
*/
|
|
58
|
+
readonly: BooleanConstructor;
|
|
59
|
+
/**
|
|
60
|
+
* @zh 选框尺寸
|
|
61
|
+
*/
|
|
62
|
+
size: {
|
|
63
|
+
type: PropType<"small" | "large" | "middle">;
|
|
64
|
+
};
|
|
65
|
+
/**
|
|
66
|
+
* @zh 是否可以清除
|
|
67
|
+
* @defaultValue true
|
|
68
|
+
*/
|
|
69
|
+
clearable: {
|
|
70
|
+
type: BooleanConstructor;
|
|
71
|
+
default: boolean;
|
|
72
|
+
};
|
|
73
|
+
}>> & Readonly<{
|
|
74
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
75
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
76
|
+
}>, {
|
|
77
|
+
modelValue: string;
|
|
78
|
+
placeholder: string;
|
|
79
|
+
clearable: boolean;
|
|
80
|
+
readonly: boolean;
|
|
81
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
|
|
82
|
+
inputRef: unknown;
|
|
83
|
+
layerRef: unknown;
|
|
84
|
+
indexRef: unknown;
|
|
85
|
+
}, any>;
|
|
86
|
+
export default _default;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
declare const JVpanel: {
|
|
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
|
+
top?(_: {}): any;
|
|
16
|
+
default?(_: {}): any;
|
|
17
|
+
bottom?(_: {}): any;
|
|
18
|
+
};
|
|
19
|
+
}) & {
|
|
20
|
+
install: (app: import('vue').App) => void;
|
|
21
|
+
};
|
|
22
|
+
export default JVpanel;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
declare function __VLS_template(): {
|
|
2
|
+
attrs: Partial<{}>;
|
|
3
|
+
slots: {
|
|
4
|
+
top?(_: {}): any;
|
|
5
|
+
default?(_: {}): any;
|
|
6
|
+
bottom?(_: {}): 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
|
+
};
|