@ecan-bi/indicator-library 0.1.0 → 0.3.0
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/assets/editor.worker-02df2e61.js +6 -0
- package/dist/assets/editor.worker-02df2e61.js.map +1 -0
- package/dist/assets/json.worker-867823a6.js +37 -0
- package/dist/assets/json.worker-867823a6.js.map +1 -0
- package/dist/assets/ts.worker-7254b425.js +35322 -0
- package/dist/assets/ts.worker-7254b425.js.map +1 -0
- package/dist/index.es.js +6788 -1566
- package/dist/index.es.js.map +1 -0
- package/dist/index.umd.js +9 -5
- package/dist/index.umd.js.map +1 -0
- package/dist/style.css +2 -2
- package/package.json +4 -2
- package/types/directives/focus.d.ts +4 -0
- package/types/env.d.ts +6 -2
- package/types/hooks/useIndicatorData.d.ts +4 -0
- package/types/hooks/useTransformChartDataByAttrKey.d.ts +25 -0
- package/types/hooks/useTransformChartDataByAttrValue.d.ts +23 -0
- package/types/hooks/useValueFormatter.d.ts +2 -0
- package/types/hooks/useVariablesInText.d.ts +12 -0
- package/types/indicator/chart-graph/ChartGraph.vue.d.ts +26 -0
- package/types/indicator/chart-graph/index.d.ts +26 -0
- package/types/indicator/chart-graph/transformProps.d.ts +1 -0
- package/types/indicator/editor/Editor.vue.d.ts +75 -0
- package/types/indicator/editor/index.d.ts +2 -0
- package/types/indicator/index.d.ts +1 -0
- package/types/indicator/indicator-library/IndicatorLibrary.vue.d.ts +38 -7
- package/types/indicator/{data-config → indicator-library/data-config}/DataConfig.vue.d.ts +2 -0
- package/types/indicator/{data-config → indicator-library/data-config}/data-config-group/data-config-card/DataConfigCard.vue.d.ts +1 -1
- package/types/indicator/{data-config → indicator-library/data-config}/data-config-group/data-config-card/calculation-modal/FormulaCalculation.vue.d.ts +2 -2
- package/types/indicator/indicator-library/data-config/style-config-group/StyleConfigGroup.vue.d.ts +16 -0
- package/types/indicator/indicator-library/data-config/style-config-group/chart-props/bar/index.d.ts +1 -0
- package/types/indicator/indicator-library/data-config/style-config-group/chart-props/bar/props.d.ts +67 -0
- package/types/indicator/indicator-library/data-config/style-config-group/chart-props/combo-graph/index.d.ts +1 -0
- package/types/indicator/indicator-library/data-config/style-config-group/chart-props/combo-graph/props.d.ts +64 -0
- package/types/indicator/indicator-library/data-config/style-config-group/chart-props/custom-graph/index.d.ts +1 -0
- package/types/indicator/indicator-library/data-config/style-config-group/chart-props/custom-graph/props.d.ts +11 -0
- package/types/indicator/indicator-library/data-config/style-config-group/chart-props/index.d.ts +61 -0
- package/types/indicator/indicator-library/data-config/style-config-group/chart-props/line/index.d.ts +1 -0
- package/types/indicator/indicator-library/data-config/style-config-group/chart-props/line/props.d.ts +110 -0
- package/types/indicator/indicator-library/data-config/style-config-group/chart-props/pie/index.d.ts +1 -0
- package/types/indicator/indicator-library/data-config/style-config-group/chart-props/pie/props.d.ts +52 -0
- package/types/indicator/indicator-library/data-config/style-config-group/data.d.ts +20 -0
- package/types/indicator/indicator-library/data-config/style-config-group/index.d.ts +2 -0
- package/types/indicator/indicator-library/data-config/style-config-group/props-to-form/PropsToForm.vue.d.ts +27 -0
- package/types/indicator/indicator-library/data-config/style-config-group/props-to-form/color-group-pick/ColorGroupPick.vue.d.ts +21 -0
- package/types/indicator/indicator-library/data-config/style-config-group/props-to-form/color-group-pick/index.d.ts +2 -0
- package/types/indicator/indicator-library/data-config/style-config-group/props-to-form/color-pick/ColorPick.vue.d.ts +17 -0
- package/types/indicator/indicator-library/data-config/style-config-group/props-to-form/color-pick/index.d.ts +2 -0
- package/types/indicator/indicator-library/data-config/style-config-group/props-to-form/data.d.ts +28 -0
- package/types/indicator/indicator-library/data-config/style-config-group/props-to-form/form-group/FormGroup.vue.d.ts +58 -0
- package/types/indicator/indicator-library/data-config/style-config-group/props-to-form/form-group/index.d.ts +2 -0
- package/types/indicator/indicator-library/data-config/style-config-group/props-to-form/index.d.ts +2 -0
- package/types/indicator/indicator-library/data-config/style-config-group/props-to-form/input/Input.vue.d.ts +27 -0
- package/types/indicator/indicator-library/data-config/style-config-group/props-to-form/input/index.d.ts +2 -0
- package/types/indicator/indicator-library/data-config/style-config-group/props-to-form/input-number/InputNumber.vue.d.ts +107 -0
- package/types/indicator/indicator-library/data-config/style-config-group/props-to-form/input-number/index.d.ts +2 -0
- package/types/indicator/indicator-library/data-config/style-config-group/props-to-form/radio-group/RadioGroup.vue.d.ts +45 -0
- package/types/indicator/indicator-library/data-config/style-config-group/props-to-form/radio-group/index.d.ts +2 -0
- package/types/indicator/indicator-library/data-config/style-config-group/props-to-form/select/Select.vue.d.ts +28 -0
- package/types/indicator/indicator-library/data-config/style-config-group/props-to-form/select/index.d.ts +2 -0
- package/types/indicator/indicator-library/data-config/style-config-group/props-to-form/switch/Switch.vue.d.ts +34 -0
- package/types/indicator/indicator-library/data-config/style-config-group/props-to-form/switch/index.d.ts +2 -0
- package/types/indicator/indicator-library/data-config/style-config-group/props-to-form/textarea/Textarea.vue.d.ts +27 -0
- package/types/indicator/indicator-library/data-config/style-config-group/props-to-form/textarea/index.d.ts +2 -0
- package/types/indicator/{data-list → indicator-library/data-list}/DataSourceList.vue.d.ts +1 -0
- package/types/indicator/{data-list → indicator-library/data-list}/DataViewList.vue.d.ts +8 -6
- package/types/indicator/indicator-library/index.d.ts +38 -7
- package/types/utils/constant.d.ts +6 -0
- package/types/utils/runCode.d.ts +4 -0
- package/types/utils/util.d.ts +8 -0
- package/types/indicator/data-config/data-config-group/data-config-card/filter-modal/constant.d.ts +0 -1
- /package/types/indicator/{data-config → indicator-library/data-config}/data-config-group/DataConfigGroup.vue.d.ts +0 -0
- /package/types/indicator/{data-config → indicator-library/data-config}/data-config-group/data-config-card/CustomGroupModal.vue.d.ts +0 -0
- /package/types/indicator/{data-config → indicator-library/data-config}/data-config-group/data-config-card/CustomSortModal.vue.d.ts +0 -0
- /package/types/indicator/{data-config → indicator-library/data-config}/data-config-group/data-config-card/calculation-modal/CalculationModal.vue.d.ts +0 -0
- /package/types/indicator/{data-config → indicator-library/data-config}/data-config-group/data-config-card/calculation-modal/index.d.ts +0 -0
- /package/types/indicator/{data-config → indicator-library/data-config}/data-config-group/data-config-card/filter-modal/Condition.vue.d.ts +0 -0
- /package/types/indicator/{data-config → indicator-library/data-config}/data-config-group/data-config-card/filter-modal/ConditionList.vue.d.ts +0 -0
- /package/types/indicator/{data-config → indicator-library/data-config}/data-config-group/data-config-card/filter-modal/FilterModal.vue.d.ts +0 -0
- /package/types/indicator/{data-config → indicator-library/data-config}/data-config-group/data-config-card/filter-modal/index.d.ts +0 -0
- /package/types/indicator/{data-config → indicator-library/data-config}/data-config-group/data-config-card/index.d.ts +0 -0
- /package/types/indicator/{data-config → indicator-library/data-config}/data-config-group/data.d.ts +0 -0
- /package/types/indicator/{data-config → indicator-library/data-config}/data-config-group/index.d.ts +0 -0
- /package/types/indicator/{data-config → indicator-library/data-config}/index.d.ts +0 -0
- /package/types/indicator/{data-list → indicator-library/data-list}/DataList.vue.d.ts +0 -0
- /package/types/indicator/{data-list → indicator-library/data-list}/index.d.ts +0 -0
package/types/indicator/indicator-library/data-config/style-config-group/chart-props/line/props.d.ts
ADDED
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
export interface LineProps {
|
|
2
|
+
name: String;
|
|
3
|
+
type: String;
|
|
4
|
+
width: string;
|
|
5
|
+
height: string;
|
|
6
|
+
colors: string[];
|
|
7
|
+
titleText: string;
|
|
8
|
+
titleSubtext: string;
|
|
9
|
+
legendShow: boolean;
|
|
10
|
+
legendLeft: 'left' | 'center' | 'right';
|
|
11
|
+
legendTop: 'top' | 'middle' | 'bottom';
|
|
12
|
+
legendOrient: 'vertical' | 'horizontal';
|
|
13
|
+
symbolSize: number;
|
|
14
|
+
lineStyleWidth: number;
|
|
15
|
+
smooth: boolean;
|
|
16
|
+
xAxisLabelInterval: number;
|
|
17
|
+
xAxisSplitLineShow: boolean;
|
|
18
|
+
xAxisLabelColor: string;
|
|
19
|
+
xAxisLineStyleColor: string;
|
|
20
|
+
xAxisSplitLineStyleColor: string;
|
|
21
|
+
xAxisTickShow: boolean;
|
|
22
|
+
xAxisLabelFormatter: string;
|
|
23
|
+
xAxisInverse: boolean;
|
|
24
|
+
xAxisMinInterval: number;
|
|
25
|
+
xAxisLabelWidth: number | undefined;
|
|
26
|
+
xAxisLabelOverflow: 'none' | 'truncate' | 'break' | 'breakAll';
|
|
27
|
+
xAxisLabelRotate: number;
|
|
28
|
+
yAxisMinInterval: number;
|
|
29
|
+
yAxisInverse: boolean;
|
|
30
|
+
yAxisSplitLineShow: boolean;
|
|
31
|
+
yAxisSplitLineStyleColor: string;
|
|
32
|
+
yAxisLabelColor: string;
|
|
33
|
+
yAxisLineStyleColor: string;
|
|
34
|
+
yAxisLineAlwaysDisplay: boolean;
|
|
35
|
+
yAxisLabelFormatter: string;
|
|
36
|
+
gridContainLabel: boolean;
|
|
37
|
+
gridTop: string;
|
|
38
|
+
gridBottom: string;
|
|
39
|
+
gridLeft: string;
|
|
40
|
+
gridRight: string;
|
|
41
|
+
tooltipFormatter: string;
|
|
42
|
+
tooltipShow: boolean;
|
|
43
|
+
toolboxShow: boolean;
|
|
44
|
+
toolboxDownloadShow: boolean;
|
|
45
|
+
toolboxDataZoomShow: boolean;
|
|
46
|
+
toolboxInfoShow: boolean;
|
|
47
|
+
toolboxOrient: 'horizontal' | 'vertical';
|
|
48
|
+
toolboxItemSize: number;
|
|
49
|
+
toolboxItemGap: number;
|
|
50
|
+
toolboxLeft: 'left' | 'center' | 'right';
|
|
51
|
+
toolboxTop: 'top' | 'middle' | 'bottom';
|
|
52
|
+
toolboxIconStyleBorderColor: string;
|
|
53
|
+
toolboxDownloadUrl: string;
|
|
54
|
+
toolboxInfoText: string;
|
|
55
|
+
areaStyleOpacity: number;
|
|
56
|
+
}
|
|
57
|
+
export declare const lineProps: {
|
|
58
|
+
name: string;
|
|
59
|
+
type: string;
|
|
60
|
+
width: string;
|
|
61
|
+
height: string;
|
|
62
|
+
legendShow: boolean;
|
|
63
|
+
legendOrient: string;
|
|
64
|
+
legendTop: string;
|
|
65
|
+
legendLeft: string;
|
|
66
|
+
titleText: string;
|
|
67
|
+
titleSubtext: string;
|
|
68
|
+
colors: string[];
|
|
69
|
+
symbolSize: number;
|
|
70
|
+
lineStyleWidth: number;
|
|
71
|
+
smooth: boolean;
|
|
72
|
+
xAxisLabelWidth: any;
|
|
73
|
+
xAxisLabelRotate: number;
|
|
74
|
+
xAxisLabelOverflow: string;
|
|
75
|
+
xAxisLabelInterval: number;
|
|
76
|
+
xAxisSplitLineShow: boolean;
|
|
77
|
+
xAxisSplitLineStyleColor: string;
|
|
78
|
+
xAxisLabelColor: string;
|
|
79
|
+
xAxisLineStyleColor: string;
|
|
80
|
+
xAxisTickShow: boolean;
|
|
81
|
+
xAxisLabelFormatter: string;
|
|
82
|
+
xAxisMinInterval: number;
|
|
83
|
+
yAxisMinInterval: number;
|
|
84
|
+
yAxisSplitLineShow: boolean;
|
|
85
|
+
yAxisSplitLineStyleColor: string;
|
|
86
|
+
yAxisLabelColor: string;
|
|
87
|
+
yAxisLineStyleColor: string;
|
|
88
|
+
yAxisLineAlwaysDisplay: boolean;
|
|
89
|
+
yAxisLabelFormatter: string;
|
|
90
|
+
gridContainLabel: boolean;
|
|
91
|
+
gridTop: string;
|
|
92
|
+
gridBottom: string;
|
|
93
|
+
gridLeft: string;
|
|
94
|
+
gridRight: string;
|
|
95
|
+
tooltipShow: boolean;
|
|
96
|
+
tooltipFormatter: string;
|
|
97
|
+
toolboxShow: boolean;
|
|
98
|
+
toolboxDownloadShow: boolean;
|
|
99
|
+
toolboxDataZoomShow: boolean;
|
|
100
|
+
toolboxInfoShow: boolean;
|
|
101
|
+
toolboxOrient: string;
|
|
102
|
+
toolboxItemSize: number;
|
|
103
|
+
toolboxItemGap: number;
|
|
104
|
+
toolboxLeft: string;
|
|
105
|
+
toolboxTop: string;
|
|
106
|
+
toolboxIconStyleBorderColor: string;
|
|
107
|
+
toolboxDownloadUrl: string;
|
|
108
|
+
toolboxInfoText: string;
|
|
109
|
+
areaStyleOpacity: number;
|
|
110
|
+
};
|
package/types/indicator/indicator-library/data-config/style-config-group/chart-props/pie/index.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './props';
|
package/types/indicator/indicator-library/data-config/style-config-group/chart-props/pie/props.d.ts
ADDED
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
export interface PieProps {
|
|
2
|
+
name: String;
|
|
3
|
+
type: String;
|
|
4
|
+
width: string;
|
|
5
|
+
height: string;
|
|
6
|
+
colors: string[];
|
|
7
|
+
titleText: string;
|
|
8
|
+
titleSubtext: string;
|
|
9
|
+
backgroundColor: string;
|
|
10
|
+
tooltipShow: boolean;
|
|
11
|
+
toolboxDownloadShow: boolean;
|
|
12
|
+
toolboxDataZoomShow: boolean;
|
|
13
|
+
toolboxInfoShow: boolean;
|
|
14
|
+
tooltipTrigger: 'item' | 'axis' | 'none';
|
|
15
|
+
tooltipTextStyleColor: string;
|
|
16
|
+
tooltipFormatter: string;
|
|
17
|
+
legendShow: boolean;
|
|
18
|
+
legendLeft: 'left' | 'center' | 'right';
|
|
19
|
+
legendTop: 'top' | 'middle' | 'bottom';
|
|
20
|
+
legendOrient: 'vertical' | 'horizontal';
|
|
21
|
+
legendTextStyleColor: string;
|
|
22
|
+
innerRadius: string;
|
|
23
|
+
outerRadius: string;
|
|
24
|
+
centerLeft: string;
|
|
25
|
+
centerTop: string;
|
|
26
|
+
minAngle: number;
|
|
27
|
+
labelShow: boolean;
|
|
28
|
+
labelFormatter: string;
|
|
29
|
+
labelFontSize: number;
|
|
30
|
+
labelPosition: 'outside' | 'inside' | 'center';
|
|
31
|
+
labelLineShow: boolean;
|
|
32
|
+
labelColor: string;
|
|
33
|
+
isUseLabelColors: boolean;
|
|
34
|
+
labelLineLength: number;
|
|
35
|
+
labelLineLength2: number;
|
|
36
|
+
roseType: '' | 'radius' | 'area';
|
|
37
|
+
gridContainLabel: boolean;
|
|
38
|
+
gridTop: string;
|
|
39
|
+
gridBottom: string;
|
|
40
|
+
gridLeft: string;
|
|
41
|
+
gridRight: string;
|
|
42
|
+
toolboxShow: boolean;
|
|
43
|
+
toolboxOrient: 'horizontal' | 'vertical';
|
|
44
|
+
toolboxItemSize: number;
|
|
45
|
+
toolboxItemGap: number;
|
|
46
|
+
toolboxLeft: 'left' | 'center' | 'right';
|
|
47
|
+
toolboxTop: 'top' | 'middle' | 'bottom';
|
|
48
|
+
toolboxIconStyleBorderColor: string;
|
|
49
|
+
toolboxDownloadUrl: string;
|
|
50
|
+
toolboxInfoText: string;
|
|
51
|
+
}
|
|
52
|
+
export declare const pieProps: PieProps;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
export interface PropsGroup {
|
|
2
|
+
title?: string;
|
|
3
|
+
enableProps?: string;
|
|
4
|
+
onlyType?: string | string[];
|
|
5
|
+
excludeType?: string | string[];
|
|
6
|
+
props: string[];
|
|
7
|
+
}
|
|
8
|
+
export declare type PropsGroups = PropsGroup[];
|
|
9
|
+
export interface DetailPropsGroup {
|
|
10
|
+
title?: string;
|
|
11
|
+
enableProps?: boolean;
|
|
12
|
+
onlyType?: string | string[];
|
|
13
|
+
excludeType?: string | string[];
|
|
14
|
+
enablePropsName?: string;
|
|
15
|
+
props: {
|
|
16
|
+
[key: string]: any;
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
export declare type DetailPropsGroups = DetailPropsGroup[];
|
|
20
|
+
export declare const propsGroups: PropsGroups;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
declare const _sfc_main: import("vue").DefineComponent<{
|
|
2
|
+
props: {
|
|
3
|
+
type: ObjectConstructor;
|
|
4
|
+
require: boolean;
|
|
5
|
+
};
|
|
6
|
+
disabled: {
|
|
7
|
+
type: BooleanConstructor;
|
|
8
|
+
default: boolean;
|
|
9
|
+
};
|
|
10
|
+
}, {
|
|
11
|
+
formProps: import("vue").ComputedRef<{
|
|
12
|
+
[key: string]: any;
|
|
13
|
+
}>;
|
|
14
|
+
lowerCaseIncludes: (v1: any, v2: any) => boolean;
|
|
15
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
16
|
+
props: {
|
|
17
|
+
type: ObjectConstructor;
|
|
18
|
+
require: boolean;
|
|
19
|
+
};
|
|
20
|
+
disabled: {
|
|
21
|
+
type: BooleanConstructor;
|
|
22
|
+
default: boolean;
|
|
23
|
+
};
|
|
24
|
+
}>>, {
|
|
25
|
+
disabled: boolean;
|
|
26
|
+
}, {}>;
|
|
27
|
+
export default _sfc_main;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
declare const _sfc_main: import("vue").DefineComponent<{
|
|
3
|
+
value: {
|
|
4
|
+
type: PropType<string[]>;
|
|
5
|
+
default: () => any[];
|
|
6
|
+
};
|
|
7
|
+
}, {
|
|
8
|
+
onColorsChange: (value: string[]) => void;
|
|
9
|
+
max: import("vue").Ref<number>;
|
|
10
|
+
onOverflowMax: () => void;
|
|
11
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "change"[], "change", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
12
|
+
value: {
|
|
13
|
+
type: PropType<string[]>;
|
|
14
|
+
default: () => any[];
|
|
15
|
+
};
|
|
16
|
+
}>> & {
|
|
17
|
+
onChange?: (...args: any[]) => any;
|
|
18
|
+
}, {
|
|
19
|
+
value: string[];
|
|
20
|
+
}, {}>;
|
|
21
|
+
export default _sfc_main;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
declare const _sfc_main: import("vue").DefineComponent<{
|
|
2
|
+
value: {
|
|
3
|
+
type: StringConstructor;
|
|
4
|
+
require: boolean;
|
|
5
|
+
};
|
|
6
|
+
}, {
|
|
7
|
+
colorValue: import("vue").WritableComputedRef<string>;
|
|
8
|
+
onChangColor: (e: any) => void;
|
|
9
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "change"[], "change", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
10
|
+
value: {
|
|
11
|
+
type: StringConstructor;
|
|
12
|
+
require: boolean;
|
|
13
|
+
};
|
|
14
|
+
}>> & {
|
|
15
|
+
onChange?: (...args: any[]) => any;
|
|
16
|
+
}, {}, {}>;
|
|
17
|
+
export default _sfc_main;
|
package/types/indicator/indicator-library/data-config/style-config-group/props-to-form/data.d.ts
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
export interface PropToAttributeConfig {
|
|
2
|
+
label: string;
|
|
3
|
+
component: string;
|
|
4
|
+
style?: string;
|
|
5
|
+
valueProp?: any;
|
|
6
|
+
value?: string;
|
|
7
|
+
changeValueEventName?: string;
|
|
8
|
+
options?: {
|
|
9
|
+
value: any;
|
|
10
|
+
label?: any;
|
|
11
|
+
}[];
|
|
12
|
+
updateMode?: 'page' | 'component';
|
|
13
|
+
props?: {
|
|
14
|
+
[key: string]: any;
|
|
15
|
+
};
|
|
16
|
+
events?: {
|
|
17
|
+
[key: string]: (e: any) => void;
|
|
18
|
+
};
|
|
19
|
+
onlyType?: string | string[];
|
|
20
|
+
excludeType?: string | string[];
|
|
21
|
+
layout?: 'horizontal' | 'vertical';
|
|
22
|
+
}
|
|
23
|
+
declare type PropToAttributeConfigList = PropToAttributeConfig[];
|
|
24
|
+
export declare type PropsToAttributeConfig = {
|
|
25
|
+
[key: string]: PropToAttributeConfig | PropToAttributeConfigList;
|
|
26
|
+
};
|
|
27
|
+
export declare const mapAttributeProps: PropsToAttributeConfig;
|
|
28
|
+
export {};
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
declare const _sfc_main: import("vue").DefineComponent<{
|
|
3
|
+
value: {
|
|
4
|
+
type: ArrayConstructor;
|
|
5
|
+
default: () => any[];
|
|
6
|
+
};
|
|
7
|
+
format: {
|
|
8
|
+
type: PropType<{
|
|
9
|
+
[key: string]: any;
|
|
10
|
+
}[]>;
|
|
11
|
+
default: () => any[];
|
|
12
|
+
};
|
|
13
|
+
useLabelIndex: {
|
|
14
|
+
type: BooleanConstructor;
|
|
15
|
+
default: boolean;
|
|
16
|
+
};
|
|
17
|
+
max: {
|
|
18
|
+
type: NumberConstructor;
|
|
19
|
+
default: number;
|
|
20
|
+
};
|
|
21
|
+
}, {
|
|
22
|
+
myValue: import("vue").WritableComputedRef<unknown[]>;
|
|
23
|
+
onAdd: () => void;
|
|
24
|
+
useComponentType: (type: 'input' | 'select' | 'color' | 'switch') => string;
|
|
25
|
+
onValueChange: (e: Event, index: number, key: string) => void;
|
|
26
|
+
onDelete: (index: number) => void;
|
|
27
|
+
theme: string;
|
|
28
|
+
formatTypeValue: (v: string) => string;
|
|
29
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "change"[], "change", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
30
|
+
value: {
|
|
31
|
+
type: ArrayConstructor;
|
|
32
|
+
default: () => any[];
|
|
33
|
+
};
|
|
34
|
+
format: {
|
|
35
|
+
type: PropType<{
|
|
36
|
+
[key: string]: any;
|
|
37
|
+
}[]>;
|
|
38
|
+
default: () => any[];
|
|
39
|
+
};
|
|
40
|
+
useLabelIndex: {
|
|
41
|
+
type: BooleanConstructor;
|
|
42
|
+
default: boolean;
|
|
43
|
+
};
|
|
44
|
+
max: {
|
|
45
|
+
type: NumberConstructor;
|
|
46
|
+
default: number;
|
|
47
|
+
};
|
|
48
|
+
}>> & {
|
|
49
|
+
onChange?: (...args: any[]) => any;
|
|
50
|
+
}, {
|
|
51
|
+
value: unknown[];
|
|
52
|
+
max: number;
|
|
53
|
+
format: {
|
|
54
|
+
[key: string]: any;
|
|
55
|
+
}[];
|
|
56
|
+
useLabelIndex: boolean;
|
|
57
|
+
}, {}>;
|
|
58
|
+
export default _sfc_main;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
declare const _sfc_main: import("vue").DefineComponent<{
|
|
2
|
+
value: {
|
|
3
|
+
type: StringConstructor;
|
|
4
|
+
default: string;
|
|
5
|
+
};
|
|
6
|
+
disabled: {
|
|
7
|
+
type: BooleanConstructor;
|
|
8
|
+
default: boolean;
|
|
9
|
+
};
|
|
10
|
+
}, {
|
|
11
|
+
onInputChange: (e: any) => void;
|
|
12
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "change"[], "change", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
13
|
+
value: {
|
|
14
|
+
type: StringConstructor;
|
|
15
|
+
default: string;
|
|
16
|
+
};
|
|
17
|
+
disabled: {
|
|
18
|
+
type: BooleanConstructor;
|
|
19
|
+
default: boolean;
|
|
20
|
+
};
|
|
21
|
+
}>> & {
|
|
22
|
+
onChange?: (...args: any[]) => any;
|
|
23
|
+
}, {
|
|
24
|
+
value: string;
|
|
25
|
+
disabled: boolean;
|
|
26
|
+
}, {}>;
|
|
27
|
+
export default _sfc_main;
|
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
declare const _sfc_main: import("vue").DefineComponent<{
|
|
3
|
+
value: {
|
|
4
|
+
type: (ObjectConstructor | StringConstructor | NumberConstructor)[];
|
|
5
|
+
default: string;
|
|
6
|
+
};
|
|
7
|
+
valueKey: {
|
|
8
|
+
type: StringConstructor;
|
|
9
|
+
default: string;
|
|
10
|
+
};
|
|
11
|
+
prefixValueKey: {
|
|
12
|
+
type: StringConstructor;
|
|
13
|
+
default: string;
|
|
14
|
+
};
|
|
15
|
+
prefix: {
|
|
16
|
+
type: PropType<any>;
|
|
17
|
+
default: string;
|
|
18
|
+
};
|
|
19
|
+
suffixValueKey: {
|
|
20
|
+
type: StringConstructor;
|
|
21
|
+
default: string;
|
|
22
|
+
};
|
|
23
|
+
suffix: {
|
|
24
|
+
type: PropType<any>;
|
|
25
|
+
default: string;
|
|
26
|
+
};
|
|
27
|
+
min: {
|
|
28
|
+
type: NumberConstructor;
|
|
29
|
+
default: number;
|
|
30
|
+
};
|
|
31
|
+
max: {
|
|
32
|
+
type: NumberConstructor;
|
|
33
|
+
default: number;
|
|
34
|
+
};
|
|
35
|
+
step: {
|
|
36
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
37
|
+
default: number;
|
|
38
|
+
};
|
|
39
|
+
useBlurEvent: {
|
|
40
|
+
type: BooleanConstructor;
|
|
41
|
+
default: boolean;
|
|
42
|
+
};
|
|
43
|
+
}, {
|
|
44
|
+
inputValue: import("vue").ComputedRef<any>;
|
|
45
|
+
onInputChange: (value: string) => void;
|
|
46
|
+
parser: (value: string) => string;
|
|
47
|
+
onInputBlur: () => void;
|
|
48
|
+
prefixValue: import("vue").Ref<any>;
|
|
49
|
+
suffixValue: import("vue").Ref<any>;
|
|
50
|
+
onPrefixChange: () => void;
|
|
51
|
+
onSuffixChange: () => void;
|
|
52
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "change"[], "change", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
53
|
+
value: {
|
|
54
|
+
type: (ObjectConstructor | StringConstructor | NumberConstructor)[];
|
|
55
|
+
default: string;
|
|
56
|
+
};
|
|
57
|
+
valueKey: {
|
|
58
|
+
type: StringConstructor;
|
|
59
|
+
default: string;
|
|
60
|
+
};
|
|
61
|
+
prefixValueKey: {
|
|
62
|
+
type: StringConstructor;
|
|
63
|
+
default: string;
|
|
64
|
+
};
|
|
65
|
+
prefix: {
|
|
66
|
+
type: PropType<any>;
|
|
67
|
+
default: string;
|
|
68
|
+
};
|
|
69
|
+
suffixValueKey: {
|
|
70
|
+
type: StringConstructor;
|
|
71
|
+
default: string;
|
|
72
|
+
};
|
|
73
|
+
suffix: {
|
|
74
|
+
type: PropType<any>;
|
|
75
|
+
default: string;
|
|
76
|
+
};
|
|
77
|
+
min: {
|
|
78
|
+
type: NumberConstructor;
|
|
79
|
+
default: number;
|
|
80
|
+
};
|
|
81
|
+
max: {
|
|
82
|
+
type: NumberConstructor;
|
|
83
|
+
default: number;
|
|
84
|
+
};
|
|
85
|
+
step: {
|
|
86
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
87
|
+
default: number;
|
|
88
|
+
};
|
|
89
|
+
useBlurEvent: {
|
|
90
|
+
type: BooleanConstructor;
|
|
91
|
+
default: boolean;
|
|
92
|
+
};
|
|
93
|
+
}>> & {
|
|
94
|
+
onChange?: (...args: any[]) => any;
|
|
95
|
+
}, {
|
|
96
|
+
value: string | number | Record<string, any>;
|
|
97
|
+
prefix: any;
|
|
98
|
+
suffix: any;
|
|
99
|
+
max: number;
|
|
100
|
+
min: number;
|
|
101
|
+
step: string | number;
|
|
102
|
+
valueKey: string;
|
|
103
|
+
prefixValueKey: string;
|
|
104
|
+
suffixValueKey: string;
|
|
105
|
+
useBlurEvent: boolean;
|
|
106
|
+
}, {}>;
|
|
107
|
+
export default _sfc_main;
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
export default _sfc_main;
|
|
2
|
+
declare const _sfc_main: import("vue").DefineComponent<{
|
|
3
|
+
value: {
|
|
4
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
5
|
+
default: string;
|
|
6
|
+
};
|
|
7
|
+
options: {
|
|
8
|
+
type: ArrayConstructor;
|
|
9
|
+
default: () => any[];
|
|
10
|
+
};
|
|
11
|
+
optionType: {
|
|
12
|
+
type: StringConstructor;
|
|
13
|
+
default: string;
|
|
14
|
+
};
|
|
15
|
+
size: {
|
|
16
|
+
type: StringConstructor;
|
|
17
|
+
default: string;
|
|
18
|
+
};
|
|
19
|
+
}, {
|
|
20
|
+
onRadioChange: (e: any) => void;
|
|
21
|
+
}, any, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "change"[], "change", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
22
|
+
value: {
|
|
23
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
24
|
+
default: string;
|
|
25
|
+
};
|
|
26
|
+
options: {
|
|
27
|
+
type: ArrayConstructor;
|
|
28
|
+
default: () => any[];
|
|
29
|
+
};
|
|
30
|
+
optionType: {
|
|
31
|
+
type: StringConstructor;
|
|
32
|
+
default: string;
|
|
33
|
+
};
|
|
34
|
+
size: {
|
|
35
|
+
type: StringConstructor;
|
|
36
|
+
default: string;
|
|
37
|
+
};
|
|
38
|
+
}>> & {
|
|
39
|
+
onChange?: (...args: any[]) => any;
|
|
40
|
+
}, {
|
|
41
|
+
value: string | number;
|
|
42
|
+
size: string;
|
|
43
|
+
options: unknown[];
|
|
44
|
+
optionType: string;
|
|
45
|
+
}, {}>;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
declare const _sfc_main: import("vue").DefineComponent<{
|
|
3
|
+
value: {
|
|
4
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
5
|
+
default: string;
|
|
6
|
+
};
|
|
7
|
+
options: {
|
|
8
|
+
type: PropType<any>;
|
|
9
|
+
default: () => any[];
|
|
10
|
+
};
|
|
11
|
+
}, {
|
|
12
|
+
onSelectChange: (value: string | number) => void;
|
|
13
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "change"[], "change", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
14
|
+
value: {
|
|
15
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
16
|
+
default: string;
|
|
17
|
+
};
|
|
18
|
+
options: {
|
|
19
|
+
type: PropType<any>;
|
|
20
|
+
default: () => any[];
|
|
21
|
+
};
|
|
22
|
+
}>> & {
|
|
23
|
+
onChange?: (...args: any[]) => any;
|
|
24
|
+
}, {
|
|
25
|
+
value: string | number;
|
|
26
|
+
options: any;
|
|
27
|
+
}, {}>;
|
|
28
|
+
export default _sfc_main;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
export default _sfc_main;
|
|
2
|
+
declare const _sfc_main: import("vue").DefineComponent<{
|
|
3
|
+
value: {
|
|
4
|
+
type: BooleanConstructor;
|
|
5
|
+
default: boolean;
|
|
6
|
+
};
|
|
7
|
+
width: {
|
|
8
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
9
|
+
default: number;
|
|
10
|
+
};
|
|
11
|
+
disabled: {
|
|
12
|
+
type: BooleanConstructor;
|
|
13
|
+
default: boolean;
|
|
14
|
+
};
|
|
15
|
+
}, {
|
|
16
|
+
onSwitchChange: (value: any) => void;
|
|
17
|
+
}, any, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
18
|
+
value: {
|
|
19
|
+
type: BooleanConstructor;
|
|
20
|
+
default: boolean;
|
|
21
|
+
};
|
|
22
|
+
width: {
|
|
23
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
24
|
+
default: number;
|
|
25
|
+
};
|
|
26
|
+
disabled: {
|
|
27
|
+
type: BooleanConstructor;
|
|
28
|
+
default: boolean;
|
|
29
|
+
};
|
|
30
|
+
}>>, {
|
|
31
|
+
value: boolean;
|
|
32
|
+
width: string | number;
|
|
33
|
+
disabled: boolean;
|
|
34
|
+
}, {}>;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
declare const _sfc_main: import("vue").DefineComponent<{
|
|
2
|
+
value: {
|
|
3
|
+
type: StringConstructor;
|
|
4
|
+
default: string;
|
|
5
|
+
};
|
|
6
|
+
disabled: {
|
|
7
|
+
type: BooleanConstructor;
|
|
8
|
+
default: boolean;
|
|
9
|
+
};
|
|
10
|
+
}, {
|
|
11
|
+
onTextareaChange: (e: any) => void;
|
|
12
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "change"[], "change", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
13
|
+
value: {
|
|
14
|
+
type: StringConstructor;
|
|
15
|
+
default: string;
|
|
16
|
+
};
|
|
17
|
+
disabled: {
|
|
18
|
+
type: BooleanConstructor;
|
|
19
|
+
default: boolean;
|
|
20
|
+
};
|
|
21
|
+
}>> & {
|
|
22
|
+
onChange?: (...args: any[]) => any;
|
|
23
|
+
}, {
|
|
24
|
+
value: string;
|
|
25
|
+
disabled: boolean;
|
|
26
|
+
}, {}>;
|
|
27
|
+
export default _sfc_main;
|