@aplus-frontend/ui 0.4.7 → 0.4.8
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/es/src/ap-field/number/index.vue.d.ts +1 -1
- package/es/src/ap-field/slider/index.vue.d.ts +1 -1
- package/es/src/ap-form/items/number/index.vue.d.ts +8 -8
- package/es/src/ap-table/constants.d.ts +7 -7
- package/es/src/ap-table/utils.d.ts +4 -4
- package/es/src/business/ap-ladder/ApLadder.vue.d.ts +13 -4
- package/es/src/business/ap-ladder/ApLadder.vue2.mjs +220 -108
- package/es/src/business/ap-ladder/HelpMessageIcon.vue.d.ts +14 -0
- package/es/src/business/ap-ladder/HelpMessageIcon.vue.mjs +4 -0
- package/es/src/business/ap-ladder/HelpMessageIcon.vue2.mjs +35 -0
- package/es/src/business/ap-ladder/index.d.ts +31 -4
- package/es/src/business/ap-ladder/interface.d.ts +124 -4
- package/es/src/business/ap-size-input/ApSizeInput.d.ts +1 -1
- package/es/src/business/ap-size-input/index.d.ts +3 -3
- package/es/src/business/ap-table-modal/table-layout/index.vue2.mjs +33 -25
- package/lib/src/ap-field/number/index.vue.d.ts +1 -1
- package/lib/src/ap-field/slider/index.vue.d.ts +1 -1
- package/lib/src/ap-form/items/number/index.vue.d.ts +8 -8
- package/lib/src/ap-table/constants.d.ts +7 -7
- package/lib/src/ap-table/utils.d.ts +4 -4
- package/lib/src/business/ap-ladder/ApLadder.vue.d.ts +13 -4
- package/lib/src/business/ap-ladder/ApLadder.vue2.js +1 -1
- package/lib/src/business/ap-ladder/HelpMessageIcon.vue.d.ts +14 -0
- package/lib/src/business/ap-ladder/HelpMessageIcon.vue.js +1 -0
- package/lib/src/business/ap-ladder/HelpMessageIcon.vue2.js +1 -0
- package/lib/src/business/ap-ladder/index.d.ts +31 -4
- package/lib/src/business/ap-ladder/interface.d.ts +124 -4
- package/lib/src/business/ap-size-input/ApSizeInput.d.ts +1 -1
- package/lib/src/business/ap-size-input/index.d.ts +3 -3
- package/lib/src/business/ap-table-modal/table-layout/index.vue2.js +1 -1
- package/package.json +3 -3
- package/theme/ap-ladder/ap-ladder.css +10 -1
- package/theme/ap-ladder/ap-ladder.less +10 -1
- package/theme/index.css +10 -1
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { TooltipProps } from '@aplus-frontend/antdv/es/tooltip/Tooltip';
|
|
2
|
-
import { VNode } from 'vue';
|
|
2
|
+
import { StyleValue, VNode, VNodeChild } from 'vue';
|
|
3
3
|
/**
|
|
4
4
|
* Tooltip 需要的属性
|
|
5
5
|
*/
|
|
6
|
-
export type TooltipNeedProps =
|
|
6
|
+
export type TooltipNeedProps = Partial<Pick<TooltipProps, 'title' | 'align' | 'arrowPointAtCenter' | 'arrow' | 'autoAdjustOverflow' | 'color' | 'destroyTooltipOnHide' | 'getPopupContainer' | 'mouseEnterDelay' | 'mouseLeaveDelay' | 'overlayClassName' | 'overlayStyle' | 'overlayInnerStyle' | 'placement' | 'trigger'>>;
|
|
7
7
|
/**
|
|
8
8
|
* 健值对
|
|
9
9
|
*/
|
|
@@ -11,11 +11,11 @@ export interface ApLadderLabelValue {
|
|
|
11
11
|
/**
|
|
12
12
|
* 健名称
|
|
13
13
|
*/
|
|
14
|
-
label
|
|
14
|
+
label?: string;
|
|
15
15
|
/**
|
|
16
16
|
* 值
|
|
17
17
|
*/
|
|
18
|
-
value
|
|
18
|
+
value?: string | number | VNodeChild | VNode | null | (() => VNodeChild | VNode);
|
|
19
19
|
/**
|
|
20
20
|
* 是否采用原始值
|
|
21
21
|
*/
|
|
@@ -64,6 +64,70 @@ export interface ApLadderLabelValue {
|
|
|
64
64
|
* 自定义链接颜色
|
|
65
65
|
*/
|
|
66
66
|
linkColor?: string;
|
|
67
|
+
/**
|
|
68
|
+
* 跳转第三方链接 - 回调
|
|
69
|
+
*/
|
|
70
|
+
handleClickLink?: () => void;
|
|
71
|
+
/**
|
|
72
|
+
* label 标签的文本对齐方式 仅支持健值对(labelValues)类型
|
|
73
|
+
* @default `right`
|
|
74
|
+
* @since v0.4.7 新增
|
|
75
|
+
*/
|
|
76
|
+
labelAlign?: 'left' | 'right';
|
|
77
|
+
/**
|
|
78
|
+
* 健值对 - label样式
|
|
79
|
+
* @description `ApLadderLabelValue` 里面自定义样式会覆盖
|
|
80
|
+
* @since v0.4.7 新增
|
|
81
|
+
*/
|
|
82
|
+
labelStyles?: StyleValue;
|
|
83
|
+
/**
|
|
84
|
+
* 健值对 - value样式
|
|
85
|
+
* @description `ApLadderLabelValue` 里面自定义样式会覆盖
|
|
86
|
+
* @since v0.4.7 新增
|
|
87
|
+
*/
|
|
88
|
+
valueStyles?: StyleValue;
|
|
89
|
+
/**
|
|
90
|
+
* 健值对 - link样式
|
|
91
|
+
* @description `ApLadderLabelValue` 里面自定义样式会覆盖
|
|
92
|
+
* @since v0.4.7 新增
|
|
93
|
+
*/
|
|
94
|
+
linkStyles?: StyleValue;
|
|
95
|
+
/**
|
|
96
|
+
* 健值对 - unit样式
|
|
97
|
+
* @description `ApLadderLabelValue` 里面自定义样式会覆盖
|
|
98
|
+
* @since v0.4.7 新增
|
|
99
|
+
*/
|
|
100
|
+
unitStyles?: StyleValue;
|
|
101
|
+
/**
|
|
102
|
+
* Tooltip - Label style
|
|
103
|
+
* @description `ApLadderLabelValue` 里面自定义样式会覆盖
|
|
104
|
+
* @since v0.4.7 新增
|
|
105
|
+
*/
|
|
106
|
+
tooltipLabelStyles?: StyleValue;
|
|
107
|
+
/**
|
|
108
|
+
* Tooltip - Value style
|
|
109
|
+
* @description `ApLadderLabelValue` 里面自定义样式会覆盖
|
|
110
|
+
* @since v0.4.7 新增
|
|
111
|
+
*/
|
|
112
|
+
tooltipValueStyles?: StyleValue;
|
|
113
|
+
/**
|
|
114
|
+
* 帮助气泡
|
|
115
|
+
*/
|
|
116
|
+
helpMessage?: string | number | VNodeChild | VNode | null | (() => VNodeChild | VNode);
|
|
117
|
+
/**
|
|
118
|
+
* 帮助气泡 - 图标
|
|
119
|
+
* @description 'question' | 'warning' 自定义
|
|
120
|
+
* @default `question`
|
|
121
|
+
*/
|
|
122
|
+
helpMessageIcon?: 'question' | 'warning' | VNodeChild | VNode | (() => VNodeChild | VNode);
|
|
123
|
+
/**
|
|
124
|
+
* 帮助气泡 - 图标 - 样式
|
|
125
|
+
*/
|
|
126
|
+
helpMessageIconStyles?: StyleValue;
|
|
127
|
+
/**
|
|
128
|
+
* 帮助气泡 - 扩展tooltip props
|
|
129
|
+
*/
|
|
130
|
+
helpMessageTooltipProps?: TooltipProps;
|
|
67
131
|
}
|
|
68
132
|
/**
|
|
69
133
|
* ApLadder Props 属性类型声明
|
|
@@ -81,12 +145,26 @@ export interface ApLadderProps {
|
|
|
81
145
|
minor?: string;
|
|
82
146
|
/**
|
|
83
147
|
* 自定义重要信息颜色
|
|
148
|
+
* @deprecated 注意:v0.4.7版本之后就别用这个属性了 后面将不再支持
|
|
149
|
+
* @description 请使用`majorStyles`代替
|
|
84
150
|
*/
|
|
85
151
|
majorColor?: string;
|
|
152
|
+
/**
|
|
153
|
+
* 自定义重要信息 style
|
|
154
|
+
* @since v0.4.7 新增
|
|
155
|
+
*/
|
|
156
|
+
majorStyles?: StyleValue;
|
|
86
157
|
/**
|
|
87
158
|
* 自定义次要信息颜色
|
|
159
|
+
* @deprecated 注意:v0.4.7版本之后就别用这个属性了 后面将不再支持
|
|
160
|
+
* @description 请使用`minorStyles`代替
|
|
88
161
|
*/
|
|
89
162
|
minorColor?: string;
|
|
163
|
+
/**
|
|
164
|
+
* 自定义次要信息 style
|
|
165
|
+
* @since v0.4.7 新增
|
|
166
|
+
*/
|
|
167
|
+
minorStyles?: StyleValue;
|
|
90
168
|
/**
|
|
91
169
|
* 布局方式
|
|
92
170
|
* - `vertical` 垂直布局
|
|
@@ -103,10 +181,52 @@ export interface ApLadderProps {
|
|
|
103
181
|
* 健值对 - 数组展示
|
|
104
182
|
*/
|
|
105
183
|
labelValues?: Array<ApLadderLabelValue>;
|
|
184
|
+
/**
|
|
185
|
+
* label 标签的文本对齐方式 仅支持健值对(labelValues)类型
|
|
186
|
+
* @default `right`
|
|
187
|
+
* @since v0.4.7 新增
|
|
188
|
+
*/
|
|
189
|
+
labelAlign?: 'left' | 'right';
|
|
190
|
+
/**
|
|
191
|
+
* 健值对 - label样式
|
|
192
|
+
* @description `ApLadderLabelValue` 里面自定义样式会覆盖
|
|
193
|
+
* @since v0.4.7 新增
|
|
194
|
+
*/
|
|
195
|
+
labelStyles?: StyleValue;
|
|
196
|
+
/**
|
|
197
|
+
* 健值对 - value样式
|
|
198
|
+
* @description `ApLadderLabelValue` 里面自定义样式会覆盖
|
|
199
|
+
* @since v0.4.7 新增
|
|
200
|
+
*/
|
|
201
|
+
valueStyles?: StyleValue;
|
|
202
|
+
/**
|
|
203
|
+
* 健值对 - link样式
|
|
204
|
+
* @description `ApLadderLabelValue` 里面自定义样式会覆盖
|
|
205
|
+
* @since v0.4.7 新增
|
|
206
|
+
*/
|
|
207
|
+
linkStyles?: StyleValue;
|
|
208
|
+
/**
|
|
209
|
+
* 健值对 - unit样式
|
|
210
|
+
* @description `ApLadderLabelValue` 里面自定义样式会覆盖
|
|
211
|
+
* @since v0.4.7 新增
|
|
212
|
+
*/
|
|
213
|
+
unitStyles?: StyleValue;
|
|
106
214
|
/**
|
|
107
215
|
* 扩展 Tooltip
|
|
108
216
|
*/
|
|
109
217
|
tooltipProps?: TooltipNeedProps;
|
|
218
|
+
/**
|
|
219
|
+
* Tooltip - Label style
|
|
220
|
+
* @description `ApLadderLabelValue` 里面自定义样式会覆盖
|
|
221
|
+
* @since v0.4.7 新增
|
|
222
|
+
*/
|
|
223
|
+
tooltipLabelStyles?: StyleValue;
|
|
224
|
+
/**
|
|
225
|
+
* Tooltip - Value style
|
|
226
|
+
* @description `ApLadderLabelValue` 里面自定义样式会覆盖
|
|
227
|
+
* @since v0.4.7 新增
|
|
228
|
+
*/
|
|
229
|
+
tooltipValueStyles?: StyleValue;
|
|
110
230
|
}
|
|
111
231
|
/**
|
|
112
232
|
* ApLadder Slots 类型声明
|
|
@@ -72,12 +72,12 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
72
72
|
default: number;
|
|
73
73
|
};
|
|
74
74
|
}>> & Readonly<{}>, {
|
|
75
|
+
step: number;
|
|
75
76
|
value: (string | number)[];
|
|
76
77
|
placeholder: string[];
|
|
77
78
|
max: number;
|
|
78
79
|
min: number;
|
|
79
80
|
editable: boolean;
|
|
80
|
-
step: number;
|
|
81
81
|
precision: number;
|
|
82
82
|
perfix: string;
|
|
83
83
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
@@ -38,12 +38,12 @@ declare const ApSizeInput: {
|
|
|
38
38
|
default: number;
|
|
39
39
|
};
|
|
40
40
|
}>> & Readonly<{}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, PublicProps, {
|
|
41
|
+
step: number;
|
|
41
42
|
value: (string | number)[];
|
|
42
43
|
placeholder: string[];
|
|
43
44
|
max: number;
|
|
44
45
|
min: number;
|
|
45
46
|
editable: boolean;
|
|
46
|
-
step: number;
|
|
47
47
|
precision: number;
|
|
48
48
|
perfix: string;
|
|
49
49
|
}, true, {}, {}, GlobalComponents, GlobalDirectives, string, {}, any, ComponentProvideOptions, {
|
|
@@ -90,12 +90,12 @@ declare const ApSizeInput: {
|
|
|
90
90
|
default: number;
|
|
91
91
|
};
|
|
92
92
|
}>> & Readonly<{}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, {
|
|
93
|
+
step: number;
|
|
93
94
|
value: (string | number)[];
|
|
94
95
|
placeholder: string[];
|
|
95
96
|
max: number;
|
|
96
97
|
min: number;
|
|
97
98
|
editable: boolean;
|
|
98
|
-
step: number;
|
|
99
99
|
precision: number;
|
|
100
100
|
perfix: string;
|
|
101
101
|
}>;
|
|
@@ -139,12 +139,12 @@ declare const ApSizeInput: {
|
|
|
139
139
|
default: number;
|
|
140
140
|
};
|
|
141
141
|
}>> & Readonly<{}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {
|
|
142
|
+
step: number;
|
|
142
143
|
value: (string | number)[];
|
|
143
144
|
placeholder: string[];
|
|
144
145
|
max: number;
|
|
145
146
|
min: number;
|
|
146
147
|
editable: boolean;
|
|
147
|
-
step: number;
|
|
148
148
|
precision: number;
|
|
149
149
|
perfix: string;
|
|
150
150
|
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & VNodeProps & AllowedComponentProps & ComponentCustomProps & ( Plugin & (new (...args: any[]) => {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { defineComponent as
|
|
1
|
+
import { defineComponent as S, openBlock as a, createElementBlock as n, normalizeClass as o, unref as t, Fragment as c, createElementVNode as r, createVNode as s, renderSlot as u, withCtx as f, createTextVNode as E, toDisplayString as C, renderList as L, createBlock as y, resolveDynamicComponent as T, createCommentVNode as v } from "vue";
|
|
2
2
|
import "../../../config-provider/index.mjs";
|
|
3
3
|
import "../../index.mjs";
|
|
4
|
-
import { Button as
|
|
4
|
+
import { Button as N, Empty as g } from "@aplus-frontend/antdv";
|
|
5
5
|
import { useLocale as B } from "../../../config-provider/hooks/use-locale.mjs";
|
|
6
|
-
import { useNamespace as
|
|
7
|
-
import { ApTitle as
|
|
8
|
-
const
|
|
6
|
+
import { useNamespace as M } from "../../../config-provider/hooks/use-namespace.mjs";
|
|
7
|
+
import { ApTitle as b } from "../../ap-title/index.mjs";
|
|
8
|
+
const R = /* @__PURE__ */ S({
|
|
9
9
|
__name: "index",
|
|
10
10
|
props: {
|
|
11
11
|
leftTitle: { default: "" },
|
|
@@ -13,43 +13,46 @@ const j = /* @__PURE__ */ k({
|
|
|
13
13
|
selectedList: { default: () => [] }
|
|
14
14
|
},
|
|
15
15
|
emits: ["clear", "deleteItem"],
|
|
16
|
-
setup(
|
|
17
|
-
const { t: i } = B(), d =
|
|
16
|
+
setup(V, { emit: h }) {
|
|
17
|
+
const { t: i } = B(), d = h, I = () => {
|
|
18
18
|
d("clear");
|
|
19
|
-
},
|
|
19
|
+
}, k = (e) => {
|
|
20
20
|
d("deleteItem", e);
|
|
21
|
-
}, { m: l } =
|
|
22
|
-
return (e,
|
|
23
|
-
class:
|
|
21
|
+
}, { m: l } = M("ap-table-modal");
|
|
22
|
+
return (e, $) => (a(), n("div", {
|
|
23
|
+
class: o([
|
|
24
|
+
e.renderSelectedItem ? t(l)("table-layout") : "",
|
|
25
|
+
{ "complex-layout": !!e.renderSelectedItem }
|
|
26
|
+
])
|
|
24
27
|
}, [
|
|
25
|
-
e.renderSelectedItem ? (
|
|
28
|
+
e.renderSelectedItem ? (a(), n(c, { key: 0 }, [
|
|
26
29
|
r("div", {
|
|
27
|
-
class:
|
|
30
|
+
class: o(t(l)("table-layout-left"))
|
|
28
31
|
}, [
|
|
29
|
-
|
|
32
|
+
s(t(b), {
|
|
30
33
|
style: { "margin-bottom": "16px" },
|
|
31
34
|
title: e.leftTitle
|
|
32
35
|
}, null, 8, ["title"]),
|
|
33
36
|
r("div", {
|
|
34
|
-
class:
|
|
37
|
+
class: o(t(l)("table-layout-left-content"))
|
|
35
38
|
}, [
|
|
36
39
|
u(e.$slots, "default")
|
|
37
40
|
], 2)
|
|
38
41
|
], 2),
|
|
39
42
|
r("div", {
|
|
40
|
-
class:
|
|
43
|
+
class: o(t(l)("table-layout-right"))
|
|
41
44
|
}, [
|
|
42
|
-
|
|
45
|
+
s(t(b), {
|
|
43
46
|
title: `${t(i)("ap.apTableModal.selected")} (${e.selectedList.length})`
|
|
44
47
|
}, {
|
|
45
48
|
suffix: f(() => [
|
|
46
|
-
|
|
49
|
+
s(t(N), {
|
|
47
50
|
type: "link",
|
|
48
51
|
style: { padding: "0px", height: "22px", "border-width": "0px" },
|
|
49
|
-
onClick:
|
|
52
|
+
onClick: I
|
|
50
53
|
}, {
|
|
51
54
|
default: f(() => [
|
|
52
|
-
|
|
55
|
+
E(C(t(i)("ap.apTableModal.clear")), 1)
|
|
53
56
|
]),
|
|
54
57
|
_: 1
|
|
55
58
|
})
|
|
@@ -57,12 +60,17 @@ const j = /* @__PURE__ */ k({
|
|
|
57
60
|
_: 1
|
|
58
61
|
}, 8, ["title"]),
|
|
59
62
|
r("div", {
|
|
60
|
-
class:
|
|
63
|
+
class: o(t(l)("table-layout-right-content"))
|
|
61
64
|
}, [
|
|
62
|
-
(
|
|
65
|
+
(a(!0), n(c, null, L(e.selectedList, (m) => {
|
|
63
66
|
var p;
|
|
64
|
-
return
|
|
65
|
-
}), 128))
|
|
67
|
+
return a(), y(T((p = e.renderSelectedItem) == null ? void 0 : p.call(e, m, { deleteItem: k })), { key: m });
|
|
68
|
+
}), 128)),
|
|
69
|
+
e.selectedList.length === 0 ? (a(), y(t(g), {
|
|
70
|
+
key: 0,
|
|
71
|
+
image: t(g).PRESENTED_IMAGE_SIMPLE,
|
|
72
|
+
style: { "margin-top": "100px" }
|
|
73
|
+
}, null, 8, ["image"])) : v("", !0)
|
|
66
74
|
], 2)
|
|
67
75
|
], 2)
|
|
68
76
|
], 64)) : u(e.$slots, "default", { key: 1 })
|
|
@@ -70,5 +78,5 @@ const j = /* @__PURE__ */ k({
|
|
|
70
78
|
}
|
|
71
79
|
});
|
|
72
80
|
export {
|
|
73
|
-
|
|
81
|
+
R as default
|
|
74
82
|
};
|
|
@@ -351,12 +351,12 @@ declare const __VLS_component: DefineComponent<ApFieldNumberProps, {
|
|
|
351
351
|
}, string, PublicProps, Readonly<ApFieldNumberProps> & Readonly<{
|
|
352
352
|
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
353
353
|
}>, {
|
|
354
|
+
step: ValueType;
|
|
354
355
|
disabled: boolean;
|
|
355
356
|
bordered: boolean;
|
|
356
357
|
keyboard: boolean;
|
|
357
358
|
max: ValueType;
|
|
358
359
|
min: ValueType;
|
|
359
|
-
step: ValueType;
|
|
360
360
|
controls: boolean;
|
|
361
361
|
emptyText: string;
|
|
362
362
|
thousands: boolean;
|
|
@@ -284,10 +284,10 @@ declare const __VLS_component: DefineComponent<ApFieldSliderProps, {
|
|
|
284
284
|
}, string, PublicProps, Readonly<ApFieldSliderProps> & Readonly<{
|
|
285
285
|
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
286
286
|
}>, {
|
|
287
|
+
step: number;
|
|
287
288
|
disabled: boolean;
|
|
288
289
|
max: number;
|
|
289
290
|
min: number;
|
|
290
|
-
step: number;
|
|
291
291
|
included: boolean;
|
|
292
292
|
tooltipOpen: boolean;
|
|
293
293
|
tooltipVisible: boolean;
|
|
@@ -34,6 +34,7 @@ declare function __VLS_template(): {
|
|
|
34
34
|
readonly class?: unknown;
|
|
35
35
|
readonly style?: unknown;
|
|
36
36
|
readonly size?: ButtonSize;
|
|
37
|
+
readonly step?: ValueType | undefined;
|
|
37
38
|
readonly onBlur?: ((e: FocusEvent) => void) | undefined;
|
|
38
39
|
readonly onChange?: ((value: ValueType) => void) | undefined;
|
|
39
40
|
readonly onFocus?: ((e: FocusEvent) => void) | undefined;
|
|
@@ -52,7 +53,6 @@ declare function __VLS_template(): {
|
|
|
52
53
|
readonly onPressEnter?: KeyboardEventHandler | undefined;
|
|
53
54
|
readonly readonly?: boolean | undefined;
|
|
54
55
|
readonly stringMode?: boolean | undefined;
|
|
55
|
-
readonly step?: ValueType | undefined;
|
|
56
56
|
readonly controls?: boolean | undefined;
|
|
57
57
|
readonly parser?: ((displayValue: string) => ValueType) | undefined;
|
|
58
58
|
readonly formatter?: ((value: ValueType, info: {
|
|
@@ -422,12 +422,12 @@ declare function __VLS_template(): {
|
|
|
422
422
|
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
423
423
|
"update:value": (...args: any[]) => void;
|
|
424
424
|
}, string, {
|
|
425
|
+
step: ValueType;
|
|
425
426
|
disabled: boolean;
|
|
426
427
|
bordered: boolean;
|
|
427
428
|
keyboard: boolean;
|
|
428
429
|
max: ValueType;
|
|
429
430
|
min: ValueType;
|
|
430
|
-
step: ValueType;
|
|
431
431
|
controls: boolean;
|
|
432
432
|
emptyText: string;
|
|
433
433
|
thousands: boolean;
|
|
@@ -452,18 +452,18 @@ declare function __VLS_template(): {
|
|
|
452
452
|
$nextTick: nextTick;
|
|
453
453
|
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, OnCleanup]) => any : (...args: [any, any, OnCleanup]) => any, options?: WatchOptions): WatchStopHandle;
|
|
454
454
|
} & Readonly<{
|
|
455
|
+
step: ValueType;
|
|
455
456
|
disabled: boolean;
|
|
456
457
|
bordered: boolean;
|
|
457
458
|
keyboard: boolean;
|
|
458
459
|
max: ValueType;
|
|
459
460
|
min: ValueType;
|
|
460
|
-
step: ValueType;
|
|
461
461
|
controls: boolean;
|
|
462
462
|
emptyText: string;
|
|
463
463
|
thousands: boolean;
|
|
464
464
|
}> & Omit<Readonly< ApFieldNumberProps> & Readonly<{
|
|
465
465
|
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
466
|
-
}>, "blur" | "focus" | ("disabled" | "bordered" | "keyboard" | "max" | "min" | "
|
|
466
|
+
}>, "blur" | "focus" | ("step" | "disabled" | "bordered" | "keyboard" | "max" | "min" | "controls" | "emptyText" | "thousands")> & ShallowUnwrapRef<{
|
|
467
467
|
focus: () => void;
|
|
468
468
|
blur: () => void;
|
|
469
469
|
}> & {} & ComponentCustomProperties & {} & {
|
|
@@ -507,6 +507,7 @@ declare const __VLS_component: DefineComponent<ApFormItemNumberProps, {
|
|
|
507
507
|
readonly class?: unknown;
|
|
508
508
|
readonly style?: unknown;
|
|
509
509
|
readonly size?: ButtonSize;
|
|
510
|
+
readonly step?: ValueType | undefined;
|
|
510
511
|
readonly onBlur?: ((e: FocusEvent) => void) | undefined;
|
|
511
512
|
readonly onChange?: ((value: ValueType) => void) | undefined;
|
|
512
513
|
readonly onFocus?: ((e: FocusEvent) => void) | undefined;
|
|
@@ -525,7 +526,6 @@ declare const __VLS_component: DefineComponent<ApFormItemNumberProps, {
|
|
|
525
526
|
readonly onPressEnter?: KeyboardEventHandler | undefined;
|
|
526
527
|
readonly readonly?: boolean | undefined;
|
|
527
528
|
readonly stringMode?: boolean | undefined;
|
|
528
|
-
readonly step?: ValueType | undefined;
|
|
529
529
|
readonly controls?: boolean | undefined;
|
|
530
530
|
readonly parser?: ((displayValue: string) => ValueType) | undefined;
|
|
531
531
|
readonly formatter?: ((value: ValueType, info: {
|
|
@@ -895,12 +895,12 @@ declare const __VLS_component: DefineComponent<ApFormItemNumberProps, {
|
|
|
895
895
|
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
896
896
|
"update:value": (...args: any[]) => void;
|
|
897
897
|
}, string, {
|
|
898
|
+
step: ValueType;
|
|
898
899
|
disabled: boolean;
|
|
899
900
|
bordered: boolean;
|
|
900
901
|
keyboard: boolean;
|
|
901
902
|
max: ValueType;
|
|
902
903
|
min: ValueType;
|
|
903
|
-
step: ValueType;
|
|
904
904
|
controls: boolean;
|
|
905
905
|
emptyText: string;
|
|
906
906
|
thousands: boolean;
|
|
@@ -925,18 +925,18 @@ declare const __VLS_component: DefineComponent<ApFormItemNumberProps, {
|
|
|
925
925
|
$nextTick: nextTick;
|
|
926
926
|
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, OnCleanup]) => any : (...args: [any, any, OnCleanup]) => any, options?: WatchOptions): WatchStopHandle;
|
|
927
927
|
} & Readonly<{
|
|
928
|
+
step: ValueType;
|
|
928
929
|
disabled: boolean;
|
|
929
930
|
bordered: boolean;
|
|
930
931
|
keyboard: boolean;
|
|
931
932
|
max: ValueType;
|
|
932
933
|
min: ValueType;
|
|
933
|
-
step: ValueType;
|
|
934
934
|
controls: boolean;
|
|
935
935
|
emptyText: string;
|
|
936
936
|
thousands: boolean;
|
|
937
937
|
}> & Omit<Readonly< ApFieldNumberProps> & Readonly<{
|
|
938
938
|
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
939
|
-
}>, "blur" | "focus" | ("disabled" | "bordered" | "keyboard" | "max" | "min" | "
|
|
939
|
+
}>, "blur" | "focus" | ("step" | "disabled" | "bordered" | "keyboard" | "max" | "min" | "controls" | "emptyText" | "thousands")> & ShallowUnwrapRef<{
|
|
940
940
|
focus: () => void;
|
|
941
941
|
blur: () => void;
|
|
942
942
|
}> & {} & ComponentCustomProperties & {} & {
|
|
@@ -175,6 +175,7 @@ export declare const apTableFormItemMap: {
|
|
|
175
175
|
readonly class?: unknown;
|
|
176
176
|
readonly style?: unknown;
|
|
177
177
|
readonly size?: ButtonSize;
|
|
178
|
+
readonly step?: ValueType | undefined;
|
|
178
179
|
readonly onBlur?: ((e: FocusEvent) => void) | undefined;
|
|
179
180
|
readonly onChange?: ((value: ValueType) => void) | undefined;
|
|
180
181
|
readonly onFocus?: ((e: FocusEvent) => void) | undefined;
|
|
@@ -193,7 +194,6 @@ export declare const apTableFormItemMap: {
|
|
|
193
194
|
readonly onPressEnter?: KeyboardEventHandler | undefined;
|
|
194
195
|
readonly readonly?: boolean | undefined;
|
|
195
196
|
readonly stringMode?: boolean | undefined;
|
|
196
|
-
readonly step?: ValueType | undefined;
|
|
197
197
|
readonly controls?: boolean | undefined;
|
|
198
198
|
readonly parser?: ((displayValue: string) => ValueType) | undefined;
|
|
199
199
|
readonly formatter?: ((value: ValueType, info: {
|
|
@@ -563,12 +563,12 @@ export declare const apTableFormItemMap: {
|
|
|
563
563
|
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
564
564
|
"update:value": (...args: any[]) => void;
|
|
565
565
|
}, string, {
|
|
566
|
+
step: ValueType;
|
|
566
567
|
disabled: boolean;
|
|
567
568
|
bordered: boolean;
|
|
568
569
|
keyboard: boolean;
|
|
569
570
|
max: ValueType;
|
|
570
571
|
min: ValueType;
|
|
571
|
-
step: ValueType;
|
|
572
572
|
controls: boolean;
|
|
573
573
|
emptyText: string;
|
|
574
574
|
thousands: boolean;
|
|
@@ -593,18 +593,18 @@ export declare const apTableFormItemMap: {
|
|
|
593
593
|
$nextTick: nextTick;
|
|
594
594
|
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, OnCleanup]) => any : (...args: [any, any, OnCleanup]) => any, options?: WatchOptions): WatchStopHandle;
|
|
595
595
|
} & Readonly<{
|
|
596
|
+
step: ValueType;
|
|
596
597
|
disabled: boolean;
|
|
597
598
|
bordered: boolean;
|
|
598
599
|
keyboard: boolean;
|
|
599
600
|
max: ValueType;
|
|
600
601
|
min: ValueType;
|
|
601
|
-
step: ValueType;
|
|
602
602
|
controls: boolean;
|
|
603
603
|
emptyText: string;
|
|
604
604
|
thousands: boolean;
|
|
605
605
|
}> & Omit<Readonly< ApFieldNumberProps> & Readonly<{
|
|
606
606
|
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
607
|
-
}>, "blur" | "focus" | ("disabled" | "bordered" | "keyboard" | "max" | "min" | "
|
|
607
|
+
}>, "blur" | "focus" | ("step" | "disabled" | "bordered" | "keyboard" | "max" | "min" | "controls" | "emptyText" | "thousands")> & ShallowUnwrapRef<{
|
|
608
608
|
focus: () => void;
|
|
609
609
|
blur: () => void;
|
|
610
610
|
}> & {} & ComponentCustomProperties & {} & {
|
|
@@ -2093,12 +2093,12 @@ export declare const apTableRenderItemMap: {
|
|
|
2093
2093
|
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
2094
2094
|
"update:value": (...args: any[]) => void;
|
|
2095
2095
|
}, PublicProps, {
|
|
2096
|
+
step: ValueType;
|
|
2096
2097
|
disabled: boolean;
|
|
2097
2098
|
bordered: boolean;
|
|
2098
2099
|
keyboard: boolean;
|
|
2099
2100
|
max: ValueType;
|
|
2100
2101
|
min: ValueType;
|
|
2101
|
-
step: ValueType;
|
|
2102
2102
|
controls: boolean;
|
|
2103
2103
|
emptyText: string;
|
|
2104
2104
|
thousands: boolean;
|
|
@@ -2436,12 +2436,12 @@ export declare const apTableRenderItemMap: {
|
|
|
2436
2436
|
focus: () => void;
|
|
2437
2437
|
blur: () => void;
|
|
2438
2438
|
}, {}, {}, {}, {
|
|
2439
|
+
step: ValueType;
|
|
2439
2440
|
disabled: boolean;
|
|
2440
2441
|
bordered: boolean;
|
|
2441
2442
|
keyboard: boolean;
|
|
2442
2443
|
max: ValueType;
|
|
2443
2444
|
min: ValueType;
|
|
2444
|
-
step: ValueType;
|
|
2445
2445
|
controls: boolean;
|
|
2446
2446
|
emptyText: string;
|
|
2447
2447
|
thousands: boolean;
|
|
@@ -2457,12 +2457,12 @@ export declare const apTableRenderItemMap: {
|
|
|
2457
2457
|
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
2458
2458
|
"update:value": (...args: any[]) => void;
|
|
2459
2459
|
}, string, {
|
|
2460
|
+
step: ValueType;
|
|
2460
2461
|
disabled: boolean;
|
|
2461
2462
|
bordered: boolean;
|
|
2462
2463
|
keyboard: boolean;
|
|
2463
2464
|
max: ValueType;
|
|
2464
2465
|
min: ValueType;
|
|
2465
|
-
step: ValueType;
|
|
2466
2466
|
controls: boolean;
|
|
2467
2467
|
emptyText: string;
|
|
2468
2468
|
thousands: boolean;
|
|
@@ -882,6 +882,7 @@ export declare function getSearchFormItemRenderNode(item: any, extraRenderMap?:
|
|
|
882
882
|
readonly class?: unknown;
|
|
883
883
|
readonly style?: unknown;
|
|
884
884
|
readonly size?: ButtonSize;
|
|
885
|
+
readonly step?: ValueType | undefined;
|
|
885
886
|
readonly onBlur?: ((e: FocusEvent) => void) | undefined;
|
|
886
887
|
readonly onChange?: ((value: ValueType) => void) | undefined;
|
|
887
888
|
readonly onFocus?: ((e: FocusEvent) => void) | undefined;
|
|
@@ -900,7 +901,6 @@ export declare function getSearchFormItemRenderNode(item: any, extraRenderMap?:
|
|
|
900
901
|
readonly onPressEnter?: KeyboardEventHandler | undefined;
|
|
901
902
|
readonly readonly?: boolean | undefined;
|
|
902
903
|
readonly stringMode?: boolean | undefined;
|
|
903
|
-
readonly step?: ValueType | undefined;
|
|
904
904
|
readonly controls?: boolean | undefined;
|
|
905
905
|
readonly parser?: ((displayValue: string) => ValueType) | undefined;
|
|
906
906
|
readonly formatter?: ((value: ValueType, info: {
|
|
@@ -1270,12 +1270,12 @@ export declare function getSearchFormItemRenderNode(item: any, extraRenderMap?:
|
|
|
1270
1270
|
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
1271
1271
|
"update:value": (...args: any[]) => void;
|
|
1272
1272
|
}, string, {
|
|
1273
|
+
step: ValueType;
|
|
1273
1274
|
disabled: boolean;
|
|
1274
1275
|
bordered: boolean;
|
|
1275
1276
|
keyboard: boolean;
|
|
1276
1277
|
max: ValueType;
|
|
1277
1278
|
min: ValueType;
|
|
1278
|
-
step: ValueType;
|
|
1279
1279
|
controls: boolean;
|
|
1280
1280
|
emptyText: string;
|
|
1281
1281
|
thousands: boolean;
|
|
@@ -1300,18 +1300,18 @@ export declare function getSearchFormItemRenderNode(item: any, extraRenderMap?:
|
|
|
1300
1300
|
$nextTick: nextTick;
|
|
1301
1301
|
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, OnCleanup]) => any : (...args: [any, any, OnCleanup]) => any, options?: WatchOptions): WatchStopHandle;
|
|
1302
1302
|
} & Readonly<{
|
|
1303
|
+
step: ValueType;
|
|
1303
1304
|
disabled: boolean;
|
|
1304
1305
|
bordered: boolean;
|
|
1305
1306
|
keyboard: boolean;
|
|
1306
1307
|
max: ValueType;
|
|
1307
1308
|
min: ValueType;
|
|
1308
|
-
step: ValueType;
|
|
1309
1309
|
controls: boolean;
|
|
1310
1310
|
emptyText: string;
|
|
1311
1311
|
thousands: boolean;
|
|
1312
1312
|
}> & Omit<Readonly< ApFieldNumberProps> & Readonly<{
|
|
1313
1313
|
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
1314
|
-
}>, "blur" | "focus" | ("disabled" | "bordered" | "keyboard" | "max" | "min" | "
|
|
1314
|
+
}>, "blur" | "focus" | ("step" | "disabled" | "bordered" | "keyboard" | "max" | "min" | "controls" | "emptyText" | "thousands")> & ShallowUnwrapRef<{
|
|
1315
1315
|
focus: () => void;
|
|
1316
1316
|
blur: () => void;
|
|
1317
1317
|
}> & {} & ComponentCustomProperties & {} & {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ApLadderProps, ApLadderSlots
|
|
2
|
-
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType, CSSProperties, ComponentProvideOptions } from 'vue';
|
|
1
|
+
import { ApLadderLabelValue, ApLadderProps, ApLadderSlots } from './interface';
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType, CSSProperties, StyleValue, ComponentProvideOptions } from 'vue';
|
|
3
3
|
import { VueTypeValidableDef } from '../../../node_modules/vue-types';
|
|
4
4
|
import { TriggerType } from '@aplus-frontend/antdv/es/tooltip/abstractTooltipProps';
|
|
5
5
|
import { TooltipPlacement, AdjustOverflow } from '@aplus-frontend/antdv/es/tooltip';
|
|
@@ -16,7 +16,8 @@ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
|
16
16
|
declare const __VLS_component: DefineComponent<ApLadderProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ApLadderProps> & Readonly<{}>, {
|
|
17
17
|
layout: "vertical" | "horizontal";
|
|
18
18
|
tooltip: boolean;
|
|
19
|
-
|
|
19
|
+
labelAlign: "left" | "right";
|
|
20
|
+
tooltipProps: Partial<Pick<Partial< ExtractPropTypes<{
|
|
20
21
|
title: VueTypeValidableDef<any>;
|
|
21
22
|
trigger: PropType< TriggerType | TriggerType[]>;
|
|
22
23
|
open: {
|
|
@@ -81,8 +82,16 @@ declare const __VLS_component: DefineComponent<ApLadderProps, {}, {}, {}, {}, Co
|
|
|
81
82
|
major: string;
|
|
82
83
|
minor: string;
|
|
83
84
|
majorColor: string;
|
|
85
|
+
majorStyles: string | false | CSSProperties | StyleValue[] | null;
|
|
84
86
|
minorColor: string;
|
|
85
|
-
|
|
87
|
+
minorStyles: string | false | CSSProperties | StyleValue[] | null;
|
|
88
|
+
labelValues: Array<ApLadderLabelValue>;
|
|
89
|
+
labelStyles: string | false | CSSProperties | StyleValue[] | null;
|
|
90
|
+
valueStyles: string | false | CSSProperties | StyleValue[] | null;
|
|
91
|
+
linkStyles: string | false | CSSProperties | StyleValue[] | null;
|
|
92
|
+
unitStyles: string | false | CSSProperties | StyleValue[] | null;
|
|
93
|
+
tooltipLabelStyles: string | false | CSSProperties | StyleValue[] | null;
|
|
94
|
+
tooltipValueStyles: string | false | CSSProperties | StyleValue[] | null;
|
|
86
95
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
87
96
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
88
97
|
export default _default;
|