@aplus-frontend/ui 7.11.3 → 7.12.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/es/src/ap-action/group/index.vue.d.ts +2 -2
- package/es/src/ap-action/item-dropdown/index.vue.d.ts +1 -1
- package/es/src/ap-field/date/index.vue.d.ts +1 -1
- package/es/src/ap-field/date/read.vue.d.ts +1 -1
- package/es/src/ap-field/date-range/index.vue.d.ts +1 -1
- package/es/src/ap-field/date-range/read.vue.d.ts +1 -1
- package/es/src/ap-field/index.d.ts +2 -2
- package/es/src/ap-field/interface.d.ts +6 -2
- package/es/src/ap-field/number/index.vue.d.ts +21 -1
- package/es/src/ap-field/number/index.vue.mjs +18 -16
- package/es/src/ap-field/number/read.vue2.mjs +1 -0
- package/es/src/ap-field/radio/index.vue.d.ts +10 -0
- package/es/src/ap-field/radio/index.vue.mjs +2 -2
- package/es/src/ap-field/radio/read.vue2.mjs +2 -2
- package/es/src/ap-field/rate/index.vue.d.ts +326 -6
- package/es/src/ap-field/rate/index.vue.mjs +7 -6
- package/es/src/ap-field/second/index.vue.d.ts +1 -1
- package/es/src/ap-field/select/index.vue.d.ts +4 -0
- package/es/src/ap-field/select/index.vue.mjs +5 -4
- package/es/src/ap-field/select/read.vue2.mjs +1 -0
- package/es/src/ap-field/slider/index.vue.d.ts +1 -1
- package/es/src/ap-field/tree-select/index.vue.d.ts +1 -1
- package/es/src/ap-form/drawer-form/index.vue.d.ts +9 -7
- package/es/src/ap-form/items/number/index.vue.d.ts +52 -30
- package/es/src/ap-form/items/radio/index.vue.d.ts +20 -0
- package/es/src/ap-form/items/select/index.vue.d.ts +6 -0
- package/es/src/ap-form/items/tree-select/index.vue.d.ts +6 -6
- package/es/src/ap-form/modal-form/index.vue.d.ts +4 -3
- package/es/src/ap-table/constants.d.ts +45 -21
- package/es/src/business/ap-batch-action-group/index.d.ts +7 -1
- package/es/src/business/ap-table-modal/index.d.ts +7 -6
- package/es/src/business/ap-table-modal/table-modal.vue.d.ts +3 -2
- package/es/src/business/ap-table-modal/table-modal.vue2.mjs +7 -7
- package/es/src/business/ap-upload/components/MultipleFile.vue.d.ts +3 -3
- package/es/src/config-provider/config-provider-props.d.ts +17 -1
- package/es/src/config-provider/config-provider.d.ts +37 -1
- package/es/src/config-provider/hooks/use-global-config.d.ts +17 -1
- package/es/src/config-provider/index.d.ts +61 -1
- package/es/src/splitter/SplitBar.vue2.mjs +72 -72
- package/es/src/utils/config-provider-preset.d.ts +9 -1
- package/es/src/version.d.ts +1 -1
- package/es/src/version.mjs +1 -1
- package/lib/src/ap-action/group/index.vue.d.ts +2 -2
- package/lib/src/ap-action/item-dropdown/index.vue.d.ts +1 -1
- package/lib/src/ap-field/date/index.vue.d.ts +1 -1
- package/lib/src/ap-field/date/read.vue.d.ts +1 -1
- package/lib/src/ap-field/date-range/index.vue.d.ts +1 -1
- package/lib/src/ap-field/date-range/read.vue.d.ts +1 -1
- package/lib/src/ap-field/index.d.ts +2 -2
- package/lib/src/ap-field/interface.d.ts +6 -2
- package/lib/src/ap-field/number/index.vue.d.ts +21 -1
- package/lib/src/ap-field/number/index.vue.js +1 -1
- package/lib/src/ap-field/number/read.vue2.js +1 -1
- package/lib/src/ap-field/radio/index.vue.d.ts +10 -0
- package/lib/src/ap-field/radio/index.vue.js +1 -1
- package/lib/src/ap-field/radio/read.vue2.js +1 -1
- package/lib/src/ap-field/rate/index.vue.d.ts +326 -6
- package/lib/src/ap-field/rate/index.vue.js +1 -1
- package/lib/src/ap-field/second/index.vue.d.ts +1 -1
- package/lib/src/ap-field/select/index.vue.d.ts +4 -0
- package/lib/src/ap-field/select/index.vue.js +1 -1
- package/lib/src/ap-field/select/read.vue2.js +1 -1
- package/lib/src/ap-field/slider/index.vue.d.ts +1 -1
- package/lib/src/ap-field/tree-select/index.vue.d.ts +1 -1
- package/lib/src/ap-form/drawer-form/index.vue.d.ts +9 -7
- package/lib/src/ap-form/items/number/index.vue.d.ts +52 -30
- package/lib/src/ap-form/items/radio/index.vue.d.ts +20 -0
- package/lib/src/ap-form/items/select/index.vue.d.ts +6 -0
- package/lib/src/ap-form/items/tree-select/index.vue.d.ts +6 -6
- package/lib/src/ap-form/modal-form/index.vue.d.ts +4 -3
- package/lib/src/ap-table/constants.d.ts +45 -21
- package/lib/src/business/ap-batch-action-group/index.d.ts +7 -1
- package/lib/src/business/ap-table-modal/index.d.ts +7 -6
- package/lib/src/business/ap-table-modal/table-modal.vue.d.ts +3 -2
- package/lib/src/business/ap-table-modal/table-modal.vue2.js +1 -1
- package/lib/src/business/ap-upload/components/MultipleFile.vue.d.ts +3 -3
- package/lib/src/config-provider/config-provider-props.d.ts +17 -1
- package/lib/src/config-provider/config-provider.d.ts +37 -1
- package/lib/src/config-provider/hooks/use-global-config.d.ts +17 -1
- package/lib/src/config-provider/index.d.ts +61 -1
- package/lib/src/splitter/SplitBar.vue2.js +1 -1
- package/lib/src/utils/config-provider-preset.d.ts +9 -1
- package/lib/src/version.d.ts +1 -1
- package/lib/src/version.js +1 -1
- package/package.json +3 -3
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { ApActionGroupProps } from '../interface';
|
|
2
2
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
|
-
import { GroupActionTypes } from '..';
|
|
4
3
|
import { Trigger } from '@aplus-frontend/antdv/es/dropdown/props';
|
|
4
|
+
import { GroupActionTypes } from '..';
|
|
5
5
|
declare const _default: DefineComponent<ApActionGroupProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ApActionGroupProps> & Readonly<{}>, {
|
|
6
6
|
placement: "top" | "topLeft" | "bottom" | "bottomLeft" | "bottomRight" | "topRight" | "topCenter" | "bottomCenter";
|
|
7
|
-
actions: GroupActionTypes[];
|
|
8
7
|
trigger: Trigger | Trigger[];
|
|
8
|
+
actions: GroupActionTypes[];
|
|
9
9
|
count: number;
|
|
10
10
|
iconFirst: boolean;
|
|
11
11
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
@@ -17,8 +17,8 @@ declare const __VLS_component: DefineComponent<ApActionItemDropdownProps, {}, {}
|
|
|
17
17
|
color: ActionColor;
|
|
18
18
|
disabled: boolean;
|
|
19
19
|
loading: boolean;
|
|
20
|
-
actions: MixedActionTypes[];
|
|
21
20
|
trigger: Trigger | Trigger[];
|
|
21
|
+
actions: MixedActionTypes[];
|
|
22
22
|
showIcon: boolean;
|
|
23
23
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
24
24
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
@@ -51,11 +51,11 @@ declare const __VLS_component: DefineComponent<ApFieldDateProps, {}, {}, {}, {},
|
|
|
51
51
|
[key: string]: any;
|
|
52
52
|
}> | null;
|
|
53
53
|
defaultOpen: boolean;
|
|
54
|
+
emptyText: string;
|
|
54
55
|
inputReadOnly: boolean;
|
|
55
56
|
format: LiteralUnion<ApFormatPresetType, string>;
|
|
56
57
|
showToday: boolean;
|
|
57
58
|
showTime: boolean | SharedTimeProps<dayjs.Dayjs>;
|
|
58
|
-
emptyText: string;
|
|
59
59
|
formatBegins: boolean;
|
|
60
60
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
61
61
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
@@ -3,7 +3,7 @@ import { ApFormatPresetType } from './interface';
|
|
|
3
3
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
4
4
|
import { LiteralUnion } from '../../type';
|
|
5
5
|
declare const _default: DefineComponent<ApFieldDateProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ApFieldDateProps> & Readonly<{}>, {
|
|
6
|
-
format: LiteralUnion<ApFormatPresetType, string>;
|
|
7
6
|
emptyText: string;
|
|
7
|
+
format: LiteralUnion<ApFormatPresetType, string>;
|
|
8
8
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
9
9
|
export default _default;
|
|
@@ -59,9 +59,9 @@ declare const __VLS_component: DefineComponent<ApFieldDateRangeProps, {}, {}, {}
|
|
|
59
59
|
[key: string]: any;
|
|
60
60
|
}> | null;
|
|
61
61
|
defaultOpen: boolean;
|
|
62
|
+
emptyText: string;
|
|
62
63
|
inputReadOnly: boolean;
|
|
63
64
|
format: LiteralUnion<ApFormatPresetType, string>;
|
|
64
|
-
emptyText: string;
|
|
65
65
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
66
66
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
67
67
|
export default _default;
|
|
@@ -3,7 +3,7 @@ import { ApFieldDateRangeProps } from '../interface';
|
|
|
3
3
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
4
4
|
import { LiteralUnion } from '../../type';
|
|
5
5
|
declare const _default: DefineComponent<ApFieldDateRangeProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ApFieldDateRangeProps> & Readonly<{}>, {
|
|
6
|
-
format: LiteralUnion<ApFormatPresetType, string>;
|
|
7
6
|
emptyText: string;
|
|
7
|
+
format: LiteralUnion<ApFormatPresetType, string>;
|
|
8
8
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
9
9
|
export default _default;
|
|
@@ -83,12 +83,12 @@ export declare const ApFieldRead: {
|
|
|
83
83
|
};
|
|
84
84
|
});
|
|
85
85
|
readonly Date: DefineComponent<ApFieldDateProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ApFieldDateProps> & Readonly<{}>, {
|
|
86
|
-
format: LiteralUnion<ApFormatPresetType, string>;
|
|
87
86
|
emptyText: string;
|
|
87
|
+
format: LiteralUnion<ApFormatPresetType, string>;
|
|
88
88
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
89
89
|
readonly DateRange: DefineComponent<ApFieldDateRangeProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ApFieldDateRangeProps> & Readonly<{}>, {
|
|
90
|
-
format: LiteralUnion<ApFormatPresetType, string>;
|
|
91
90
|
emptyText: string;
|
|
91
|
+
format: LiteralUnion<ApFormatPresetType, string>;
|
|
92
92
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
93
93
|
readonly Radio: DefineComponent<ApFieldRadioProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ApFieldRadioProps> & Readonly<{}>, {
|
|
94
94
|
mode: FieldMode;
|
|
@@ -69,7 +69,11 @@ export type ApFieldDateProps = BasicApFieldProps<Omit<DatePickerProps, 'mode' |
|
|
|
69
69
|
}[];
|
|
70
70
|
disabledTime?: SharedTimeProps<Dayjs>['disabledTime'];
|
|
71
71
|
};
|
|
72
|
-
export type ApFieldNumberProps = BasicApFieldProps<InputNumberProps
|
|
72
|
+
export type ApFieldNumberProps = BasicApFieldProps<Omit<InputNumberProps, 'mode'>> & {
|
|
73
|
+
/**
|
|
74
|
+
* 输入框的显示模式(输入框/数字轮播)
|
|
75
|
+
*/
|
|
76
|
+
inputMode?: InputNumberProps['mode'];
|
|
73
77
|
emptyText?: string;
|
|
74
78
|
/**
|
|
75
79
|
* 是否展示千分位,只读模式可用
|
|
@@ -231,7 +235,7 @@ export type ApFieldRateExpose = {
|
|
|
231
235
|
focus: () => void;
|
|
232
236
|
blur: () => void;
|
|
233
237
|
};
|
|
234
|
-
export type ApFieldSecondProps = BasicApFieldProps<InputNumberProps
|
|
238
|
+
export type ApFieldSecondProps = BasicApFieldProps<Omit<InputNumberProps, 'mode'>> & {
|
|
235
239
|
placeholder?: string;
|
|
236
240
|
emptyText?: string;
|
|
237
241
|
};
|
|
@@ -150,9 +150,14 @@ declare function __VLS_template(): {
|
|
|
150
150
|
type: PropType<(e: FocusEvent) => void>;
|
|
151
151
|
default: (e: FocusEvent) => void;
|
|
152
152
|
};
|
|
153
|
+
mode: {
|
|
154
|
+
type: PropType<"input" | "spinner">;
|
|
155
|
+
default: "input" | "spinner";
|
|
156
|
+
};
|
|
153
157
|
}>> & Readonly<{}>, () => VueNode, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, PublicProps, {
|
|
154
158
|
size: ButtonSize;
|
|
155
159
|
value: ValueType;
|
|
160
|
+
mode: "input" | "spinner";
|
|
156
161
|
onFocus: (e: FocusEvent) => void;
|
|
157
162
|
onBlur: (e: FocusEvent) => void;
|
|
158
163
|
onChange: (value: ValueType) => void;
|
|
@@ -332,9 +337,14 @@ declare function __VLS_template(): {
|
|
|
332
337
|
type: PropType<(e: FocusEvent) => void>;
|
|
333
338
|
default: (e: FocusEvent) => void;
|
|
334
339
|
};
|
|
340
|
+
mode: {
|
|
341
|
+
type: PropType<"input" | "spinner">;
|
|
342
|
+
default: "input" | "spinner";
|
|
343
|
+
};
|
|
335
344
|
}>> & Readonly<{}>, () => VueNode, {}, {}, {}, {
|
|
336
345
|
size: ButtonSize;
|
|
337
346
|
value: ValueType;
|
|
347
|
+
mode: "input" | "spinner";
|
|
338
348
|
onFocus: (e: FocusEvent) => void;
|
|
339
349
|
onBlur: (e: FocusEvent) => void;
|
|
340
350
|
onChange: (value: ValueType) => void;
|
|
@@ -382,13 +392,13 @@ declare const __VLS_component: DefineComponent<ApFieldNumberProps, {
|
|
|
382
392
|
step: ValueType;
|
|
383
393
|
disabled: boolean;
|
|
384
394
|
bordered: boolean;
|
|
395
|
+
emptyText: string;
|
|
385
396
|
changeOnWheel: boolean;
|
|
386
397
|
changeOnBlur: boolean;
|
|
387
398
|
min: ValueType;
|
|
388
399
|
max: ValueType;
|
|
389
400
|
controls: boolean;
|
|
390
401
|
keyboard: boolean;
|
|
391
|
-
emptyText: string;
|
|
392
402
|
thousands: boolean;
|
|
393
403
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
394
404
|
inputRef: CreateComponentPublicInstanceWithMixins<Readonly< ExtractPropTypes<{
|
|
@@ -524,9 +534,14 @@ declare const __VLS_component: DefineComponent<ApFieldNumberProps, {
|
|
|
524
534
|
type: PropType<(e: FocusEvent) => void>;
|
|
525
535
|
default: (e: FocusEvent) => void;
|
|
526
536
|
};
|
|
537
|
+
mode: {
|
|
538
|
+
type: PropType<"input" | "spinner">;
|
|
539
|
+
default: "input" | "spinner";
|
|
540
|
+
};
|
|
527
541
|
}>> & Readonly<{}>, () => VueNode, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, PublicProps, {
|
|
528
542
|
size: ButtonSize;
|
|
529
543
|
value: ValueType;
|
|
544
|
+
mode: "input" | "spinner";
|
|
530
545
|
onFocus: (e: FocusEvent) => void;
|
|
531
546
|
onBlur: (e: FocusEvent) => void;
|
|
532
547
|
onChange: (value: ValueType) => void;
|
|
@@ -706,9 +721,14 @@ declare const __VLS_component: DefineComponent<ApFieldNumberProps, {
|
|
|
706
721
|
type: PropType<(e: FocusEvent) => void>;
|
|
707
722
|
default: (e: FocusEvent) => void;
|
|
708
723
|
};
|
|
724
|
+
mode: {
|
|
725
|
+
type: PropType<"input" | "spinner">;
|
|
726
|
+
default: "input" | "spinner";
|
|
727
|
+
};
|
|
709
728
|
}>> & Readonly<{}>, () => VueNode, {}, {}, {}, {
|
|
710
729
|
size: ButtonSize;
|
|
711
730
|
value: ValueType;
|
|
731
|
+
mode: "input" | "spinner";
|
|
712
732
|
onFocus: (e: FocusEvent) => void;
|
|
713
733
|
onBlur: (e: FocusEvent) => void;
|
|
714
734
|
onChange: (value: ValueType) => void;
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { InputNumber as
|
|
1
|
+
import { defineComponent as N, shallowRef as x, computed as D, unref as t, createElementBlock as s, createBlock as P, openBlock as l, normalizeClass as i, createCommentVNode as m, createElementVNode as R, renderSlot as u, toDisplayString as V, mergeProps as $, createSlots as I, renderList as M, withCtx as A, normalizeProps as U, guardReactiveProps as z } from "vue";
|
|
2
|
+
import { InputNumber as E } from "@aplus-frontend/antdv";
|
|
3
3
|
import { isNil as T, omit as w } from "lodash-unified";
|
|
4
4
|
import { roundWith as F, toDecimalMark as O } from "../../utils/format.mjs";
|
|
5
5
|
import "../../config-provider/index.mjs";
|
|
6
6
|
import "../../hooks/index.mjs";
|
|
7
7
|
import { useDefaultPlaceholder as W } from "../hooks/use-default-placeholder.mjs";
|
|
8
|
-
import
|
|
9
|
-
import { addZeroToDecimalPlaces as
|
|
10
|
-
import { useNamespace as
|
|
8
|
+
import L from "../style/index.mjs";
|
|
9
|
+
import { addZeroToDecimalPlaces as Z } from "./helper.mjs";
|
|
10
|
+
import { useNamespace as _ } from "../../config-provider/hooks/use-namespace.mjs";
|
|
11
11
|
import { useControllableValue as j } from "../../hooks/useControllableValue.mjs";
|
|
12
|
-
const le = /* @__PURE__ */
|
|
12
|
+
const le = /* @__PURE__ */ N({
|
|
13
13
|
name: "ApFieldNumber",
|
|
14
14
|
__name: "index",
|
|
15
15
|
props: {
|
|
@@ -55,13 +55,14 @@ const le = /* @__PURE__ */ C({
|
|
|
55
55
|
onStep: {},
|
|
56
56
|
onBlur: {},
|
|
57
57
|
onFocus: {},
|
|
58
|
+
inputMode: {},
|
|
58
59
|
emptyText: { default: "--" },
|
|
59
60
|
thousands: { type: Boolean, default: !1 },
|
|
60
61
|
limitDecimalsRetain: { type: Boolean }
|
|
61
62
|
},
|
|
62
63
|
emits: ["update:value"],
|
|
63
|
-
setup(
|
|
64
|
-
const v = y, { b: r } =
|
|
64
|
+
setup(f, { expose: c, emit: y }) {
|
|
65
|
+
const v = y, { b: r } = _("field-number"), h = L("field"), o = f, n = x(), { value: p, updateValue: B } = j(
|
|
65
66
|
o,
|
|
66
67
|
v
|
|
67
68
|
), b = W("Number", o), g = D(() => {
|
|
@@ -70,7 +71,7 @@ const le = /* @__PURE__ */ C({
|
|
|
70
71
|
return o.emptyText;
|
|
71
72
|
o.precision && (e = F(e, o.precision));
|
|
72
73
|
let a = o.thousands ? O(e) : String(e);
|
|
73
|
-
return o.precision && o.limitDecimalsRetain && (a =
|
|
74
|
+
return o.precision && o.limitDecimalsRetain && (a = Z(a, o.precision)), a;
|
|
74
75
|
});
|
|
75
76
|
function k() {
|
|
76
77
|
n.value?.focus();
|
|
@@ -87,28 +88,29 @@ const le = /* @__PURE__ */ C({
|
|
|
87
88
|
class: i(t(r)("label-left"))
|
|
88
89
|
}, [
|
|
89
90
|
u(e.$slots, "prefix")
|
|
90
|
-
], 2)) :
|
|
91
|
+
], 2)) : m("", !0),
|
|
91
92
|
R("span", null, V(g.value), 1),
|
|
92
93
|
e.$slots.addonAfter ? (l(), s("span", {
|
|
93
94
|
key: 1,
|
|
94
95
|
class: i(t(r)("label-right"))
|
|
95
96
|
}, [
|
|
96
97
|
u(e.$slots, "addonAfter")
|
|
97
|
-
], 2)) :
|
|
98
|
-
], 2)) : (l(), P(t(
|
|
98
|
+
], 2)) : m("", !0)
|
|
99
|
+
], 2)) : (l(), P(t(E), $({ key: 1 }, t(w)(o, ["value", "onUpdate:value", "mode"]), {
|
|
99
100
|
ref_key: "inputRef",
|
|
100
101
|
ref: n,
|
|
101
102
|
placeholder: t(b),
|
|
102
103
|
value: t(p),
|
|
104
|
+
mode: e.inputMode,
|
|
103
105
|
"onUpdate:value": t(B)
|
|
104
106
|
}), I({ _: 2 }, [
|
|
105
|
-
|
|
107
|
+
M(e.$slots, (q, d) => ({
|
|
106
108
|
name: d,
|
|
107
|
-
fn:
|
|
108
|
-
u(e.$slots, d, z(
|
|
109
|
+
fn: A((C) => [
|
|
110
|
+
u(e.$slots, d, U(z(C || {})))
|
|
109
111
|
])
|
|
110
112
|
}))
|
|
111
|
-
]), 1040, ["placeholder", "value", "onUpdate:value"]));
|
|
113
|
+
]), 1040, ["placeholder", "value", "mode", "onUpdate:value"]));
|
|
112
114
|
}
|
|
113
115
|
});
|
|
114
116
|
export {
|
|
@@ -53,8 +53,13 @@ declare const _default: DefineComponent<ApFieldRadioProps, {
|
|
|
53
53
|
type: PropType<(val: any) => void>;
|
|
54
54
|
default: (val: any) => void;
|
|
55
55
|
};
|
|
56
|
+
vertical: {
|
|
57
|
+
type: BooleanConstructor;
|
|
58
|
+
default: boolean;
|
|
59
|
+
};
|
|
56
60
|
}>> & Readonly<{}>, () => VueNode, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, PublicProps, {
|
|
57
61
|
size: "default" | "small" | "large";
|
|
62
|
+
vertical: boolean;
|
|
58
63
|
onChange: (e: RadioChangeEvent) => void;
|
|
59
64
|
block: boolean;
|
|
60
65
|
disabled: boolean;
|
|
@@ -103,8 +108,13 @@ declare const _default: DefineComponent<ApFieldRadioProps, {
|
|
|
103
108
|
type: PropType<(val: any) => void>;
|
|
104
109
|
default: (val: any) => void;
|
|
105
110
|
};
|
|
111
|
+
vertical: {
|
|
112
|
+
type: BooleanConstructor;
|
|
113
|
+
default: boolean;
|
|
114
|
+
};
|
|
106
115
|
}>> & Readonly<{}>, () => VueNode, {}, {}, {}, {
|
|
107
116
|
size: "default" | "small" | "large";
|
|
117
|
+
vertical: boolean;
|
|
108
118
|
onChange: (e: RadioChangeEvent) => void;
|
|
109
119
|
block: boolean;
|
|
110
120
|
disabled: boolean;
|
|
@@ -27,9 +27,9 @@ const $ = /* @__PURE__ */ V({
|
|
|
27
27
|
optionType: {},
|
|
28
28
|
onChange: {},
|
|
29
29
|
"onUpdate:value": {},
|
|
30
|
+
vertical: { type: Boolean, default: !1 },
|
|
30
31
|
emptyText: { default: "--" },
|
|
31
|
-
request: {}
|
|
32
|
-
vertical: { type: Boolean, default: !1 }
|
|
32
|
+
request: {}
|
|
33
33
|
},
|
|
34
34
|
emits: ["update:value"],
|
|
35
35
|
setup(d, { expose: f, emit: c }) {
|
|
@@ -20,9 +20,9 @@ const y = /* @__PURE__ */ p({
|
|
|
20
20
|
optionType: {},
|
|
21
21
|
onChange: {},
|
|
22
22
|
"onUpdate:value": {},
|
|
23
|
+
vertical: { type: Boolean, default: !1 },
|
|
23
24
|
emptyText: { default: "--" },
|
|
24
|
-
request: {}
|
|
25
|
-
vertical: { type: Boolean, default: !1 }
|
|
25
|
+
request: {}
|
|
26
26
|
},
|
|
27
27
|
setup(a) {
|
|
28
28
|
const e = a, n = i(() => {
|