@aplus-frontend/ui 0.5.24 → 0.5.26

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.
Files changed (44) hide show
  1. package/es/src/ap-form/search-form/index.vue.mjs +1 -1
  2. package/es/src/ap-grid/editable/form-item.vue.mjs +14 -14
  3. package/es/src/ap-grid/editable/index.vue.mjs +10 -10
  4. package/es/src/business/ap-ladder/ApLadder.vue.d.ts +1 -83
  5. package/es/src/business/ap-ladder/ApLadder.vue2.mjs +34 -59
  6. package/es/src/business/ap-ladder/components/SimpleMode.vue.d.ts +3 -65
  7. package/es/src/business/ap-ladder/components/SimpleMode.vue2.mjs +34 -99
  8. package/es/src/business/ap-ladder/components/ValueGroupMode.vue.d.ts +3 -75
  9. package/es/src/business/ap-ladder/components/ValueGroupMode.vue2.mjs +68 -195
  10. package/es/src/business/ap-ladder/index.d.ts +1 -235
  11. package/es/src/business/ap-ladder/interface.d.ts +4 -114
  12. package/es/src/business/ap-ladder/utils.d.ts +5 -0
  13. package/es/src/business/ap-ladder/utils.mjs +38 -3
  14. package/es/src/business/ap-product-info/ApProductInfo.d.ts +46 -0
  15. package/es/src/business/ap-product-info/constans.d.ts +23 -0
  16. package/es/src/business/ap-product-info/index.d.ts +1 -0
  17. package/es/src/business/ap-product-info/interface.d.ts +11 -0
  18. package/es/src/editable-table/form-item.vue.mjs +83 -83
  19. package/es/src/editable-table/index.vue.mjs +84 -79
  20. package/lib/src/ap-form/search-form/index.vue.js +1 -1
  21. package/lib/src/ap-grid/editable/form-item.vue.js +1 -1
  22. package/lib/src/ap-grid/editable/index.vue.js +1 -1
  23. package/lib/src/business/ap-ladder/ApLadder.vue.d.ts +1 -83
  24. package/lib/src/business/ap-ladder/ApLadder.vue2.js +1 -1
  25. package/lib/src/business/ap-ladder/components/SimpleMode.vue.d.ts +3 -65
  26. package/lib/src/business/ap-ladder/components/SimpleMode.vue2.js +1 -1
  27. package/lib/src/business/ap-ladder/components/ValueGroupMode.vue.d.ts +3 -75
  28. package/lib/src/business/ap-ladder/components/ValueGroupMode.vue2.js +1 -1
  29. package/lib/src/business/ap-ladder/index.d.ts +1 -235
  30. package/lib/src/business/ap-ladder/interface.d.ts +4 -114
  31. package/lib/src/business/ap-ladder/utils.d.ts +5 -0
  32. package/lib/src/business/ap-ladder/utils.js +1 -1
  33. package/lib/src/business/ap-product-info/ApProductInfo.d.ts +46 -0
  34. package/lib/src/business/ap-product-info/constans.d.ts +23 -0
  35. package/lib/src/business/ap-product-info/index.d.ts +1 -0
  36. package/lib/src/business/ap-product-info/interface.d.ts +11 -0
  37. package/lib/src/editable-table/form-item.vue.js +1 -1
  38. package/lib/src/editable-table/index.vue.js +1 -1
  39. package/package.json +5 -5
  40. package/theme/ap-grid/index.css +4 -0
  41. package/theme/ap-grid/index.less +4 -0
  42. package/theme/ap-ladder/ap-ladder.css +14 -5
  43. package/theme/ap-ladder/ap-ladder.less +16 -7
  44. package/theme/index.css +18 -5
@@ -1,12 +1,12 @@
1
- import { CSSProperties, PropType, DefineComponent, ExtractPropTypes, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
2
1
  import { ApLadderLabelValue } from '../interface';
2
+ import { DefineComponent, ExtractPropTypes, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
3
3
  declare function __VLS_template(): {
4
4
  attrs: Partial<{}>;
5
5
  slots: {
6
6
  title?(_: {}): any;
7
7
  };
8
8
  refs: {};
9
- rootEl: any;
9
+ rootEl: HTMLDivElement;
10
10
  };
11
11
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
12
12
  declare const __VLS_component: DefineComponent<ExtractPropTypes<{
@@ -18,38 +18,6 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<{
18
18
  type: StringConstructor;
19
19
  default: string;
20
20
  };
21
- labelStyles: {
22
- type: PropType<CSSProperties>;
23
- default: () => {};
24
- };
25
- valueStyles: {
26
- type: PropType<CSSProperties>;
27
- default: () => {};
28
- };
29
- linkStyles: {
30
- type: PropType<CSSProperties>;
31
- default: () => {};
32
- };
33
- unitStyles: {
34
- type: PropType<CSSProperties>;
35
- default: () => {};
36
- };
37
- tooltipLabelStyles: {
38
- type: PropType<CSSProperties>;
39
- default: () => {};
40
- };
41
- tooltipValueStyles: {
42
- type: PropType<CSSProperties>;
43
- default: () => {};
44
- };
45
- tooltipProps: {
46
- type: ObjectConstructor;
47
- default: () => {};
48
- };
49
- tooltip: {
50
- type: BooleanConstructor;
51
- default: boolean;
52
- };
53
21
  }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
54
22
  handleClick: (...args: any[]) => void;
55
23
  "update:valueRefs": (...args: any[]) => void;
@@ -62,53 +30,13 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<{
62
30
  type: StringConstructor;
63
31
  default: string;
64
32
  };
65
- labelStyles: {
66
- type: PropType<CSSProperties>;
67
- default: () => {};
68
- };
69
- valueStyles: {
70
- type: PropType<CSSProperties>;
71
- default: () => {};
72
- };
73
- linkStyles: {
74
- type: PropType<CSSProperties>;
75
- default: () => {};
76
- };
77
- unitStyles: {
78
- type: PropType<CSSProperties>;
79
- default: () => {};
80
- };
81
- tooltipLabelStyles: {
82
- type: PropType<CSSProperties>;
83
- default: () => {};
84
- };
85
- tooltipValueStyles: {
86
- type: PropType<CSSProperties>;
87
- default: () => {};
88
- };
89
- tooltipProps: {
90
- type: ObjectConstructor;
91
- default: () => {};
92
- };
93
- tooltip: {
94
- type: BooleanConstructor;
95
- default: boolean;
96
- };
97
33
  }>> & Readonly<{
98
34
  onHandleClick?: ((...args: any[]) => any) | undefined;
99
35
  "onUpdate:valueRefs"?: ((...args: any[]) => any) | undefined;
100
36
  }>, {
101
- tooltip: boolean;
102
37
  labelAlign: string;
103
- tooltipProps: Record<string, any>;
104
38
  labelValues: ApLadderLabelValue[];
105
- labelStyles: CSSProperties;
106
- valueStyles: CSSProperties;
107
- linkStyles: CSSProperties;
108
- unitStyles: CSSProperties;
109
- tooltipLabelStyles: CSSProperties;
110
- tooltipValueStyles: CSSProperties;
111
- }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
39
+ }, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLDivElement>;
112
40
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
113
41
  export default _default;
114
42
  type __VLS_WithTemplateSlots<T, S> = T & {
@@ -1,9 +1,8 @@
1
- import { defineComponent as P, isVNode as g, h as C, ref as x, createBlock as h, openBlock as r, unref as n, normalizeProps as A, guardReactiveProps as B, createSlots as w, withCtx as v, createElementVNode as d, normalizeClass as s, createElementBlock as i, Fragment as f, renderList as j, createCommentVNode as p, normalizeStyle as u, createTextVNode as O, toDisplayString as a, withModifiers as z, renderSlot as M, createVNode as R } from "vue";
2
- import { Tooltip as Y } from "@aplus-frontend/antdv";
1
+ import { defineComponent as A, isVNode as v, h as k, createElementBlock as r, openBlock as i, normalizeClass as l, unref as e, Fragment as m, renderList as N, createCommentVNode as u, createElementVNode as p, renderSlot as $, normalizeStyle as c, toDisplayString as a, createBlock as B, withModifiers as L } from "vue";
3
2
  import "../../../config-provider/index.mjs";
4
- import { locales as E } from "../interface.mjs";
5
- import { useNamespace as G } from "../../../config-provider/hooks/use-namespace.mjs";
6
- const T = { key: 0 }, D = ["href", "onClick"], U = ["onClick"], b = { key: 0 }, q = { key: 0 }, W = /* @__PURE__ */ P({
3
+ import { convertValue as d } from "../utils.mjs";
4
+ import { useNamespace as M } from "../../../config-provider/hooks/use-namespace.mjs";
5
+ const z = ["title"], E = ["title"], F = ["href", "title", "onClick"], G = ["title", "onClick"], R = ["title"], x = /* @__PURE__ */ A({
7
6
  name: "ApLadderValueGroupMode",
8
7
  __name: "ValueGroupMode",
9
8
  props: {
@@ -14,203 +13,77 @@ const T = { key: 0 }, D = ["href", "onClick"], U = ["onClick"], b = { key: 0 },
14
13
  labelAlign: {
15
14
  type: String,
16
15
  default: ""
17
- },
18
- labelStyles: {
19
- type: Object,
20
- default: () => ({})
21
- },
22
- valueStyles: {
23
- type: Object,
24
- default: () => ({})
25
- },
26
- linkStyles: {
27
- type: Object,
28
- default: () => ({})
29
- },
30
- unitStyles: {
31
- type: Object,
32
- default: () => ({})
33
- },
34
- tooltipLabelStyles: {
35
- type: Object,
36
- default: () => ({})
37
- },
38
- tooltipValueStyles: {
39
- type: Object,
40
- default: () => ({})
41
- },
42
- tooltipProps: {
43
- type: Object,
44
- default: () => ({})
45
- },
46
- tooltip: {
47
- type: Boolean,
48
- default: !1
49
16
  }
50
17
  },
51
18
  emits: ["update:valueRefs", "handleClick"],
52
- setup(c, { emit: N }) {
53
- const $ = N, { e: l } = G("ap-ladder"), m = (e) => g(e) || typeof e == "function", S = (e) => {
54
- const { value: o, style: t } = e;
55
- return g(o) ? C(o, {
56
- style: t
57
- }) : typeof o == "function" ? C(o(), {
58
- ref: x,
59
- style: {
60
- ...t
61
- }
62
- }) : null;
63
- }, k = (e, o = {
64
- rawValue: !0,
65
- precision: 2,
66
- thousand: !0,
67
- thousandSeparator: ",",
68
- currency: "CNY",
69
- percent: !1
70
- }) => {
71
- if (Object.prototype.toString.call(e) === "[object Null]" || Object.prototype.toString.call(e) === "[object Undefined]" || Object.prototype.toString.call(e) === "[object Object]" || Object.prototype.toString.call(e) === "[object Function]")
72
- return "--";
73
- if (typeof e == "number") {
74
- if (o.percent)
75
- return `${e.toFixed(o.precision)}%`;
76
- if (o.currency)
77
- return e.toLocaleString(
78
- E[o.currency ? o.currency : "CNY"],
79
- {
80
- style: "currency",
81
- currency: o.currency ? o.currency : "CNY"
82
- }
83
- );
84
- if (o.thousand) {
85
- const [t, y] = e.toFixed(o.precision ? o.precision : 2).split(".");
86
- return `${t.replace(
87
- /(\d)(?=(\d{3})+(?!\d))/g,
88
- `$1${o.thousandSeparator ? o.thousandSeparator : ","}`
89
- )}.${y}`;
90
- }
91
- return e.toFixed(o.precision ? o.precision : 2);
92
- }
93
- return e;
94
- }, F = (e) => {
95
- $("handleClick", e);
19
+ setup(s, { emit: g }) {
20
+ const C = g, { e: o } = M("ap-ladder"), f = (n) => v(n) || typeof n == "function", y = (n) => v(n.value) ? k(n.value) : typeof n.value == "function" ? k(n.value()) : null, h = (n) => {
21
+ C("handleClick", n);
96
22
  };
97
- return (e, o) => (r(), h(n(Y), A(B(c.tooltipProps)), w({
98
- default: v(() => [
99
- d("div", {
100
- class: s(n(l)("value-group"))
23
+ return (n, w) => (i(), r("div", {
24
+ class: l(e(o)("value-group-mode"))
25
+ }, [
26
+ (i(!0), r(m, null, N(s.labelValues, (t, S) => (i(), r("div", {
27
+ key: S,
28
+ class: l([
29
+ e(o)("value-group-item"),
30
+ t.label === "" && e(o)("value-group-value-end")
31
+ ])
32
+ }, [
33
+ t.label ? (i(), r("span", {
34
+ key: 0,
35
+ class: l([
36
+ e(o)("value-group-label"),
37
+ s.labelAlign ? e(o)(`value-group-label-${s.labelAlign}`) : null
38
+ ]),
39
+ style: c(t.labelColor ? { color: t.labelColor } : null),
40
+ title: String(t.label)
41
+ }, a(t.label), 15, z)) : u("", !0),
42
+ t.label ? (i(), r("span", {
43
+ key: 1,
44
+ class: l(e(o)("value-group-label-semicolon"))
45
+ }, ":", 2)) : u("", !0),
46
+ p("span", {
47
+ class: l(e(o)("value-group-value")),
48
+ title: String(e(d)(t.value, { ...t }))
101
49
  }, [
102
- (r(!0), i(f, null, j(c.labelValues, (t, y) => (r(), i("div", {
103
- key: y,
104
- class: s([
105
- n(l)("value-group-item"),
106
- t.label === "" && n(l)("value-group-value-end")
107
- ])
108
- }, [
109
- t.label ? (r(), i("div", {
110
- key: 0,
111
- class: s([
112
- n(l)("value-group-label"),
113
- c.labelAlign && n(l)(`label-align-${c.labelAlign}`)
50
+ f(t.value) ? (i(), B(y, {
51
+ key: 0,
52
+ value: t.value
53
+ }, null, 8, ["value"])) : t.link ? (i(), r("a", {
54
+ key: 1,
55
+ href: t.link,
56
+ target: "_blank",
57
+ class: l(e(o)("value-group-link")),
58
+ title: String(t.value),
59
+ style: c(t.linkColor ? { color: t.linkColor } : null),
60
+ onClick: L((_) => h(t), ["prevent"])
61
+ }, a(e(d)(t.value, { ...t })), 15, F)) : (i(), r(m, { key: 2 }, [
62
+ p("span", {
63
+ class: l([
64
+ t.handleValueClick ? e(o)("value-group-link") : null
114
65
  ]),
115
- style: u(t.labelStyles)
116
- }, [
117
- O(a(t.label), 1),
118
- t.label ? (r(), i("span", T, ":")) : p("", !0)
119
- ], 6)) : p("", !0),
120
- d("div", {
121
- class: s(n(l)("value-group-value"))
122
- }, [
123
- m(t.value) ? (r(), h(S, {
124
- key: 0,
125
- value: t.value,
126
- style: u([t.labelColor, t.valueStyles])
127
- }, null, 8, ["value", "style"])) : (r(), i(f, { key: 1 }, [
128
- t.link ? (r(), i("a", {
129
- key: 0,
130
- href: t.link,
131
- target: "_blank",
132
- class: s(n(l)("value-group-link")),
133
- style: u([
134
- c.linkStyles,
135
- t.linkStyles,
136
- t.linkColor ? { color: t.linkColor } : void 0
137
- ]),
138
- onClick: z((L) => F(t), ["prevent"])
139
- }, a(k(t.value, { ...t })), 15, D)) : (r(), i(f, { key: 1 }, [
140
- d("span", {
141
- style: u([
142
- c.valueStyles,
143
- t.valueStyles,
144
- t.valueColor ? { color: t.valueColor } : void 0
145
- ]),
146
- class: s(
147
- t.handleValueClick ? n(l)("value-group-link") : void 0
148
- ),
149
- onClick: (L) => t.handleValueClick && t.handleValueClick(c.labelValues)
150
- }, a(k(t.value, { ...t })), 15, U),
151
- t.unit ? (r(), i("span", {
152
- key: 0,
153
- class: s(n(l)("value-group-unit")),
154
- style: u([
155
- c.unitStyles,
156
- t.unitStyles,
157
- t.unitColor ? { color: t.unitColor } : void 0
158
- ])
159
- }, a(t.unit), 7)) : p("", !0)
160
- ], 64))
161
- ], 64))
162
- ], 2)
163
- ], 2))), 128))
164
- ], 2)
165
- ]),
166
- _: 2
167
- }, [
168
- e.$slots.title ? {
169
- name: "title",
170
- fn: v(() => [
171
- M(e.$slots, "title")
172
- ]),
173
- key: "0"
174
- } : c.tooltip ? {
175
- name: "title",
176
- fn: v(() => [
177
- d("div", {
178
- class: s(n(l)("tooltip"))
179
- }, [
180
- (r(!0), i(f, null, j(c.labelValues, (t, y) => (r(), i("div", {
181
- key: y,
182
- class: s(n(l)("tooltip-item"))
183
- }, [
184
- d("span", {
185
- class: s(n(l)("tooltip-label")),
186
- style: u(c.tooltipLabelStyles)
187
- }, a(t.label ? t.label : "--") + ": ", 7),
188
- m(t.value) ? (r(), i("span", {
189
- key: 0,
190
- class: s(n(l)("tooltip-value")),
191
- style: u(c.tooltipValueStyles)
192
- }, [
193
- R(S, {
194
- value: t.value,
195
- style: u([t.tooltipValueStyles])
196
- }, null, 8, ["value", "style"]),
197
- t.unit ? (r(), i("span", b, a(t.unit), 1)) : p("", !0)
198
- ], 6)) : (r(), i("span", {
199
- key: 1,
200
- class: s(n(l)("tooltip-value")),
201
- style: u(c.tooltipValueStyles)
202
- }, [
203
- O(a(k(t.value, { ...t })) + " ", 1),
204
- t.unit ? (r(), i("span", q, a(t.unit), 1)) : p("", !0)
205
- ], 6))
206
- ], 2))), 128))
207
- ], 2)
208
- ]),
209
- key: "1"
210
- } : void 0
211
- ]), 1040));
66
+ title: String(t.value),
67
+ style: c(
68
+ t.valueColor ? { color: t.valueColor } : null
69
+ ),
70
+ onClick: (_) => t.handleValueClick && t.handleValueClick(s.labelValues)
71
+ }, a(e(d)(t.value, { ...t })), 15, G),
72
+ t.unit ? (i(), r("span", {
73
+ key: 0,
74
+ class: l(e(o)("value-group-unit")),
75
+ title: String(e(d)(t.value, { ...t })),
76
+ style: c(
77
+ t.unitColor ? { color: t.unitColor } : null
78
+ )
79
+ }, a(t.unit), 15, R)) : u("", !0)
80
+ ], 64))
81
+ ], 10, E),
82
+ n.$slots.title ? $(n.$slots, "title", { key: 2 }) : u("", !0)
83
+ ], 2))), 128))
84
+ ], 2));
212
85
  }
213
86
  });
214
87
  export {
215
- W as default
88
+ x as default
216
89
  };
@@ -1,92 +1,10 @@
1
- import { CreateComponentPublicInstanceWithMixins, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType, CSSProperties, GlobalComponents, GlobalDirectives, ComponentProvideOptions, ComponentOptionsBase, VNodeProps, AllowedComponentProps, ComponentCustomProps, Plugin } from 'vue';
1
+ import { CreateComponentPublicInstanceWithMixins, ComponentOptionsMixin, PublicProps, GlobalComponents, GlobalDirectives, ComponentProvideOptions, ComponentOptionsBase, VNodeProps, AllowedComponentProps, ComponentCustomProps, Plugin } from 'vue';
2
2
  import { ApLadderProps, ApLadderLabelValue, ApLadderSlots } from './interface';
3
- import { VueTypeValidableDef } from '../../../node_modules/vue-types';
4
- import { TriggerType } from '@aplus-frontend/antdv/es/tooltip/abstractTooltipProps';
5
- import { TooltipPlacement, AdjustOverflow } from '@aplus-frontend/antdv/es/tooltip';
6
- import { LiteralUnion } from '@aplus-frontend/antdv/es/_util/type';
7
- import { PresetColorType } from '@aplus-frontend/antdv/es/_util/colors';
8
- import { AlignType, BuildInPlacements } from '@aplus-frontend/antdv/es/vc-trigger/interface';
9
3
  export * from './interface';
10
4
  declare const ApLadder: {
11
5
  new (...args: any[]): CreateComponentPublicInstanceWithMixins<Readonly< ApLadderProps> & Readonly<{}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, PublicProps, {
12
6
  layout: "vertical" | "horizontal";
13
- tooltip: boolean;
14
7
  labelAlign: "left" | "right";
15
- tooltipProps: Partial<Pick<Partial< ExtractPropTypes<{
16
- title: VueTypeValidableDef<any>;
17
- trigger: PropType< TriggerType | TriggerType[]>;
18
- open: {
19
- type: BooleanConstructor;
20
- default: any;
21
- };
22
- visible: {
23
- type: BooleanConstructor;
24
- default: any;
25
- };
26
- placement: PropType<TooltipPlacement>;
27
- color: PropType<LiteralUnion<PresetColorType>>;
28
- transitionName: StringConstructor;
29
- overlayStyle: {
30
- type: PropType<CSSProperties>;
31
- default: CSSProperties;
32
- };
33
- overlayInnerStyle: {
34
- type: PropType<CSSProperties>;
35
- default: CSSProperties;
36
- };
37
- overlayClassName: StringConstructor;
38
- openClassName: StringConstructor;
39
- prefixCls: StringConstructor;
40
- mouseEnterDelay: NumberConstructor;
41
- mouseLeaveDelay: NumberConstructor;
42
- getPopupContainer: PropType<(triggerNode: HTMLElement) => HTMLElement>;
43
- arrowPointAtCenter: {
44
- type: BooleanConstructor;
45
- default: any;
46
- };
47
- arrow: {
48
- type: PropType<boolean | {
49
- pointAtCenter?: boolean;
50
- }>;
51
- default: boolean | {
52
- pointAtCenter?: boolean;
53
- };
54
- };
55
- autoAdjustOverflow: {
56
- type: PropType<boolean | AdjustOverflow>;
57
- default: boolean | AdjustOverflow;
58
- };
59
- destroyTooltipOnHide: {
60
- type: BooleanConstructor;
61
- default: any;
62
- };
63
- align: {
64
- type: PropType<AlignType>;
65
- default: AlignType;
66
- };
67
- builtinPlacements: {
68
- type: PropType<BuildInPlacements>;
69
- default: BuildInPlacements;
70
- };
71
- children: ArrayConstructor;
72
- onVisibleChange: PropType<(vis: boolean) => void>;
73
- 'onUpdate:visible': PropType<(vis: boolean) => void>;
74
- onOpenChange: PropType<(vis: boolean) => void>;
75
- 'onUpdate:open': PropType<(vis: boolean) => void>;
76
- mask: {
77
- type: BooleanConstructor;
78
- default: boolean;
79
- };
80
- maskStyle: {
81
- type: PropType<CSSProperties>;
82
- default: CSSProperties;
83
- };
84
- maskTransitionName: StringConstructor;
85
- maskClosable: {
86
- type: BooleanConstructor;
87
- default: boolean;
88
- };
89
- }>>, "title" | "placement" | "color" | "mouseEnterDelay" | "trigger" | "getPopupContainer" | "align" | "overlayStyle" | "overlayInnerStyle" | "overlayClassName" | "mouseLeaveDelay" | "arrowPointAtCenter" | "arrow" | "autoAdjustOverflow" | "destroyTooltipOnHide">>;
90
8
  labelValues: Array< ApLadderLabelValue>;
91
9
  majorColor: string;
92
10
  minorColor: string;
@@ -99,83 +17,7 @@ declare const ApLadder: {
99
17
  Defaults: {};
100
18
  }, Readonly< ApLadderProps> & Readonly<{}>, {}, {}, {}, {}, {
101
19
  layout: "vertical" | "horizontal";
102
- tooltip: boolean;
103
20
  labelAlign: "left" | "right";
104
- tooltipProps: Partial<Pick<Partial< ExtractPropTypes<{
105
- title: VueTypeValidableDef<any>;
106
- trigger: PropType< TriggerType | TriggerType[]>;
107
- open: {
108
- type: BooleanConstructor;
109
- default: any;
110
- };
111
- visible: {
112
- type: BooleanConstructor;
113
- default: any;
114
- };
115
- placement: PropType<TooltipPlacement>;
116
- color: PropType<LiteralUnion<PresetColorType>>;
117
- transitionName: StringConstructor;
118
- overlayStyle: {
119
- type: PropType<CSSProperties>;
120
- default: CSSProperties;
121
- };
122
- overlayInnerStyle: {
123
- type: PropType<CSSProperties>;
124
- default: CSSProperties;
125
- };
126
- overlayClassName: StringConstructor;
127
- openClassName: StringConstructor;
128
- prefixCls: StringConstructor;
129
- mouseEnterDelay: NumberConstructor;
130
- mouseLeaveDelay: NumberConstructor;
131
- getPopupContainer: PropType<(triggerNode: HTMLElement) => HTMLElement>;
132
- arrowPointAtCenter: {
133
- type: BooleanConstructor;
134
- default: any;
135
- };
136
- arrow: {
137
- type: PropType<boolean | {
138
- pointAtCenter?: boolean;
139
- }>;
140
- default: boolean | {
141
- pointAtCenter?: boolean;
142
- };
143
- };
144
- autoAdjustOverflow: {
145
- type: PropType<boolean | AdjustOverflow>;
146
- default: boolean | AdjustOverflow;
147
- };
148
- destroyTooltipOnHide: {
149
- type: BooleanConstructor;
150
- default: any;
151
- };
152
- align: {
153
- type: PropType<AlignType>;
154
- default: AlignType;
155
- };
156
- builtinPlacements: {
157
- type: PropType<BuildInPlacements>;
158
- default: BuildInPlacements;
159
- };
160
- children: ArrayConstructor;
161
- onVisibleChange: PropType<(vis: boolean) => void>;
162
- 'onUpdate:visible': PropType<(vis: boolean) => void>;
163
- onOpenChange: PropType<(vis: boolean) => void>;
164
- 'onUpdate:open': PropType<(vis: boolean) => void>;
165
- mask: {
166
- type: BooleanConstructor;
167
- default: boolean;
168
- };
169
- maskStyle: {
170
- type: PropType<CSSProperties>;
171
- default: CSSProperties;
172
- };
173
- maskTransitionName: StringConstructor;
174
- maskClosable: {
175
- type: BooleanConstructor;
176
- default: boolean;
177
- };
178
- }>>, "title" | "placement" | "color" | "mouseEnterDelay" | "trigger" | "getPopupContainer" | "align" | "overlayStyle" | "overlayInnerStyle" | "overlayClassName" | "mouseLeaveDelay" | "arrowPointAtCenter" | "arrow" | "autoAdjustOverflow" | "destroyTooltipOnHide">>;
179
21
  labelValues: Array< ApLadderLabelValue>;
180
22
  majorColor: string;
181
23
  minorColor: string;
@@ -185,83 +27,7 @@ declare const ApLadder: {
185
27
  __isSuspense?: never;
186
28
  } & ComponentOptionsBase<Readonly< ApLadderProps> & Readonly<{}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {
187
29
  layout: "vertical" | "horizontal";
188
- tooltip: boolean;
189
30
  labelAlign: "left" | "right";
190
- tooltipProps: Partial<Pick<Partial< ExtractPropTypes<{
191
- title: VueTypeValidableDef<any>;
192
- trigger: PropType< TriggerType | TriggerType[]>;
193
- open: {
194
- type: BooleanConstructor;
195
- default: any;
196
- };
197
- visible: {
198
- type: BooleanConstructor;
199
- default: any;
200
- };
201
- placement: PropType<TooltipPlacement>;
202
- color: PropType<LiteralUnion<PresetColorType>>;
203
- transitionName: StringConstructor;
204
- overlayStyle: {
205
- type: PropType<CSSProperties>;
206
- default: CSSProperties;
207
- };
208
- overlayInnerStyle: {
209
- type: PropType<CSSProperties>;
210
- default: CSSProperties;
211
- };
212
- overlayClassName: StringConstructor;
213
- openClassName: StringConstructor;
214
- prefixCls: StringConstructor;
215
- mouseEnterDelay: NumberConstructor;
216
- mouseLeaveDelay: NumberConstructor;
217
- getPopupContainer: PropType<(triggerNode: HTMLElement) => HTMLElement>;
218
- arrowPointAtCenter: {
219
- type: BooleanConstructor;
220
- default: any;
221
- };
222
- arrow: {
223
- type: PropType<boolean | {
224
- pointAtCenter?: boolean;
225
- }>;
226
- default: boolean | {
227
- pointAtCenter?: boolean;
228
- };
229
- };
230
- autoAdjustOverflow: {
231
- type: PropType<boolean | AdjustOverflow>;
232
- default: boolean | AdjustOverflow;
233
- };
234
- destroyTooltipOnHide: {
235
- type: BooleanConstructor;
236
- default: any;
237
- };
238
- align: {
239
- type: PropType<AlignType>;
240
- default: AlignType;
241
- };
242
- builtinPlacements: {
243
- type: PropType<BuildInPlacements>;
244
- default: BuildInPlacements;
245
- };
246
- children: ArrayConstructor;
247
- onVisibleChange: PropType<(vis: boolean) => void>;
248
- 'onUpdate:visible': PropType<(vis: boolean) => void>;
249
- onOpenChange: PropType<(vis: boolean) => void>;
250
- 'onUpdate:open': PropType<(vis: boolean) => void>;
251
- mask: {
252
- type: BooleanConstructor;
253
- default: boolean;
254
- };
255
- maskStyle: {
256
- type: PropType<CSSProperties>;
257
- default: CSSProperties;
258
- };
259
- maskTransitionName: StringConstructor;
260
- maskClosable: {
261
- type: BooleanConstructor;
262
- default: boolean;
263
- };
264
- }>>, "title" | "placement" | "color" | "mouseEnterDelay" | "trigger" | "getPopupContainer" | "align" | "overlayStyle" | "overlayInnerStyle" | "overlayClassName" | "mouseLeaveDelay" | "arrowPointAtCenter" | "arrow" | "autoAdjustOverflow" | "destroyTooltipOnHide">>;
265
31
  labelValues: Array< ApLadderLabelValue>;
266
32
  majorColor: string;
267
33
  minorColor: string;