ll-plus 2.0.19 → 2.1.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/component.mjs +4 -0
- package/es/component.mjs.map +1 -1
- package/es/components/advanced-filtering/index.d.ts +57 -0
- package/es/components/advanced-filtering/src/advanced-filtering.vue.d.ts +57 -0
- package/es/components/button/index.d.ts +57 -0
- package/es/components/button/src/button.vue.d.ts +61 -4
- package/es/components/button/src/button.vue2.mjs +6 -5
- package/es/components/button/src/button.vue2.mjs.map +1 -1
- package/es/components/drawer/index.d.ts +0 -4
- package/es/components/drawer/src/components/second-confirmation/index.d.ts +57 -0
- package/es/components/drawer/src/components/second-confirmation/src/second-confirmation.vue.d.ts +57 -0
- package/es/components/drawer/src/drawer.d.ts +0 -1
- package/es/components/drawer/src/drawer.mjs +1 -5
- package/es/components/drawer/src/drawer.mjs.map +1 -1
- package/es/components/drawer/src/drawer.vue.d.ts +0 -4
- package/es/components/drawer/src/drawer.vue2.mjs +2 -1
- package/es/components/drawer/src/drawer.vue2.mjs.map +1 -1
- package/es/components/index.d.ts +1 -0
- package/es/components/index.mjs +1 -0
- package/es/components/index.mjs.map +1 -1
- package/es/components/modal/index.d.ts +57 -0
- package/es/components/modal/src/modal.vue.d.ts +57 -0
- package/es/components/radio/index.d.ts +637 -0
- package/es/components/radio/index.mjs +14 -0
- package/es/components/radio/index.mjs.map +1 -0
- package/es/components/radio/src/radio-button.vue.d.ts +118 -0
- package/es/components/radio/src/radio-button.vue.mjs +8 -0
- package/es/components/radio/src/radio-button.vue.mjs.map +1 -0
- package/es/components/radio/src/radio-button.vue2.mjs +34 -0
- package/es/components/radio/src/radio-button.vue2.mjs.map +1 -0
- package/es/components/radio/src/radio-group.vue.d.ts +91 -0
- package/es/components/radio/src/radio-group.vue.mjs +8 -0
- package/es/components/radio/src/radio-group.vue.mjs.map +1 -0
- package/es/components/radio/src/radio-group.vue2.mjs +34 -0
- package/es/components/radio/src/radio-group.vue2.mjs.map +1 -0
- package/es/components/radio/src/radio.d.ts +10 -0
- package/es/components/radio/src/radio.mjs +2 -0
- package/es/components/radio/src/radio.mjs.map +1 -0
- package/es/components/radio/src/radio.vue.d.ts +420 -0
- package/es/components/radio/src/radio.vue.mjs +8 -0
- package/es/components/radio/src/radio.vue.mjs.map +1 -0
- package/es/components/radio/src/radio.vue2.mjs +34 -0
- package/es/components/radio/src/radio.vue2.mjs.map +1 -0
- package/es/components/tree-search/index.d.ts +0 -3
- package/es/components/tree-search/src/config/tree-search.d.ts +0 -1
- package/es/components/tree-search/src/tree-search.vue.d.ts +0 -3
- package/es/index.mjs +1 -0
- package/es/index.mjs.map +1 -1
- package/index.full.js +147 -57
- package/index.full.min.js +18 -18
- package/index.full.min.js.map +1 -1
- package/index.full.min.mjs +16 -16
- package/index.full.min.mjs.map +1 -1
- package/index.full.mjs +146 -59
- package/lib/component.js +40 -36
- package/lib/component.js.map +1 -1
- package/lib/components/advanced-filtering/index.d.ts +57 -0
- package/lib/components/advanced-filtering/src/advanced-filtering.vue.d.ts +57 -0
- package/lib/components/button/index.d.ts +57 -0
- package/lib/components/button/src/button.vue.d.ts +61 -4
- package/lib/components/button/src/button.vue2.js +5 -4
- package/lib/components/button/src/button.vue2.js.map +1 -1
- package/lib/components/drawer/index.d.ts +0 -4
- package/lib/components/drawer/src/components/second-confirmation/index.d.ts +57 -0
- package/lib/components/drawer/src/components/second-confirmation/src/second-confirmation.vue.d.ts +57 -0
- package/lib/components/drawer/src/drawer.d.ts +0 -1
- package/lib/components/drawer/src/drawer.js +1 -5
- package/lib/components/drawer/src/drawer.js.map +1 -1
- package/lib/components/drawer/src/drawer.vue.d.ts +0 -4
- package/lib/components/drawer/src/drawer.vue2.js +2 -1
- package/lib/components/drawer/src/drawer.vue2.js.map +1 -1
- package/lib/components/index.d.ts +1 -0
- package/lib/components/index.js +39 -35
- package/lib/components/index.js.map +1 -1
- package/lib/components/modal/index.d.ts +57 -0
- package/lib/components/modal/src/modal.vue.d.ts +57 -0
- package/lib/components/radio/index.d.ts +637 -0
- package/lib/components/radio/index.js +18 -0
- package/lib/components/radio/index.js.map +1 -0
- package/lib/components/radio/src/radio-button.vue.d.ts +118 -0
- package/lib/components/radio/src/radio-button.vue.js +12 -0
- package/lib/components/radio/src/radio-button.vue.js.map +1 -0
- package/lib/components/radio/src/radio-button.vue2.js +38 -0
- package/lib/components/radio/src/radio-button.vue2.js.map +1 -0
- package/lib/components/radio/src/radio-group.vue.d.ts +91 -0
- package/lib/components/radio/src/radio-group.vue.js +12 -0
- package/lib/components/radio/src/radio-group.vue.js.map +1 -0
- package/lib/components/radio/src/radio-group.vue2.js +38 -0
- package/lib/components/radio/src/radio-group.vue2.js.map +1 -0
- package/lib/components/radio/src/radio.d.ts +10 -0
- package/lib/components/radio/src/radio.js +4 -0
- package/lib/components/radio/src/radio.js.map +1 -0
- package/lib/components/radio/src/radio.vue.d.ts +420 -0
- package/lib/components/radio/src/radio.vue.js +12 -0
- package/lib/components/radio/src/radio.vue.js.map +1 -0
- package/lib/components/radio/src/radio.vue2.js +38 -0
- package/lib/components/radio/src/radio.vue2.js.map +1 -0
- package/lib/components/tree-search/index.d.ts +0 -3
- package/lib/components/tree-search/src/config/tree-search.d.ts +0 -1
- package/lib/components/tree-search/src/tree-search.vue.d.ts +0 -3
- package/lib/index.js +39 -35
- package/lib/index.js.map +1 -1
- package/package.json +1 -1
- package/theme-chalk/css/button.css +1 -1
- package/theme-chalk/css/index.css +1 -1
- package/types/packages/components/advanced-filtering/index.d.ts +57 -0
- package/types/packages/components/advanced-filtering/src/advanced-filtering.vue.d.ts +57 -0
- package/types/packages/components/button/index.d.ts +57 -0
- package/types/packages/components/button/src/button.vue.d.ts +61 -4
- package/types/packages/components/drawer/index.d.ts +0 -4
- package/types/packages/components/drawer/src/components/second-confirmation/index.d.ts +57 -0
- package/types/packages/components/drawer/src/components/second-confirmation/src/second-confirmation.vue.d.ts +57 -0
- package/types/packages/components/drawer/src/drawer.d.ts +0 -1
- package/types/packages/components/drawer/src/drawer.vue.d.ts +0 -4
- package/types/packages/components/index.d.ts +1 -0
- package/types/packages/components/modal/index.d.ts +57 -0
- package/types/packages/components/modal/src/modal.vue.d.ts +57 -0
- package/types/packages/components/radio/index.d.ts +637 -0
- package/types/packages/components/radio/src/radio-button.vue.d.ts +118 -0
- package/types/packages/components/radio/src/radio-group.vue.d.ts +91 -0
- package/types/packages/components/radio/src/radio.d.ts +10 -0
- package/types/packages/components/radio/src/radio.vue.d.ts +420 -0
- package/types/packages/components/tree-search/index.d.ts +0 -3
- package/types/packages/components/tree-search/src/config/tree-search.d.ts +0 -1
- package/types/packages/components/tree-search/src/tree-search.vue.d.ts +0 -3
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {
|
|
2
|
+
attrs: {
|
|
3
|
+
[x: string]: unknown;
|
|
4
|
+
};
|
|
5
|
+
bem: {
|
|
6
|
+
b: (blockSuffix?: string) => string;
|
|
7
|
+
e: (element?: string) => string;
|
|
8
|
+
m: (modifier?: string) => string;
|
|
9
|
+
be: (blockSuffix?: string, element?: string) => string;
|
|
10
|
+
em: (element: string, modifier: string) => string;
|
|
11
|
+
bm: (blockSuffix: string, modifier: string) => string;
|
|
12
|
+
bem: (blockSuffix: string, element: string, modifier: string) => string;
|
|
13
|
+
is: (name?: string) => string;
|
|
14
|
+
};
|
|
15
|
+
readonly RadioButton: import("vue").DefineComponent<{
|
|
16
|
+
prefixCls: StringConstructor;
|
|
17
|
+
checked: {
|
|
18
|
+
type: BooleanConstructor;
|
|
19
|
+
default: boolean;
|
|
20
|
+
};
|
|
21
|
+
disabled: {
|
|
22
|
+
type: BooleanConstructor;
|
|
23
|
+
default: boolean;
|
|
24
|
+
};
|
|
25
|
+
isGroup: {
|
|
26
|
+
type: BooleanConstructor;
|
|
27
|
+
default: boolean;
|
|
28
|
+
};
|
|
29
|
+
value: import("vue-types").VueTypeValidableDef<any>;
|
|
30
|
+
name: StringConstructor;
|
|
31
|
+
id: StringConstructor;
|
|
32
|
+
autofocus: {
|
|
33
|
+
type: BooleanConstructor;
|
|
34
|
+
default: boolean;
|
|
35
|
+
};
|
|
36
|
+
onChange: {
|
|
37
|
+
type: import("vue").PropType<(event: import("ant-design-vue").RadioChangeEvent) => void>;
|
|
38
|
+
default: (event: import("ant-design-vue").RadioChangeEvent) => void;
|
|
39
|
+
};
|
|
40
|
+
onFocus: {
|
|
41
|
+
type: import("vue").PropType<import("ant-design-vue/es/_util/EventInterface").FocusEventHandler>;
|
|
42
|
+
default: import("ant-design-vue/es/_util/EventInterface").FocusEventHandler;
|
|
43
|
+
};
|
|
44
|
+
onBlur: {
|
|
45
|
+
type: import("vue").PropType<import("ant-design-vue/es/_util/EventInterface").FocusEventHandler>;
|
|
46
|
+
default: import("ant-design-vue/es/_util/EventInterface").FocusEventHandler;
|
|
47
|
+
};
|
|
48
|
+
onClick: {
|
|
49
|
+
type: import("vue").PropType<import("ant-design-vue/es/_util/EventInterface").MouseEventHandler>;
|
|
50
|
+
default: import("ant-design-vue/es/_util/EventInterface").MouseEventHandler;
|
|
51
|
+
};
|
|
52
|
+
'onUpdate:checked': {
|
|
53
|
+
type: import("vue").PropType<(checked: boolean) => void>;
|
|
54
|
+
default: (checked: boolean) => void;
|
|
55
|
+
};
|
|
56
|
+
'onUpdate:value': {
|
|
57
|
+
type: import("vue").PropType<(checked: boolean) => void>;
|
|
58
|
+
default: (checked: boolean) => void;
|
|
59
|
+
};
|
|
60
|
+
}, () => import("vue/jsx-runtime").JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
61
|
+
prefixCls: StringConstructor;
|
|
62
|
+
checked: {
|
|
63
|
+
type: BooleanConstructor;
|
|
64
|
+
default: boolean;
|
|
65
|
+
};
|
|
66
|
+
disabled: {
|
|
67
|
+
type: BooleanConstructor;
|
|
68
|
+
default: boolean;
|
|
69
|
+
};
|
|
70
|
+
isGroup: {
|
|
71
|
+
type: BooleanConstructor;
|
|
72
|
+
default: boolean;
|
|
73
|
+
};
|
|
74
|
+
value: import("vue-types").VueTypeValidableDef<any>;
|
|
75
|
+
name: StringConstructor;
|
|
76
|
+
id: StringConstructor;
|
|
77
|
+
autofocus: {
|
|
78
|
+
type: BooleanConstructor;
|
|
79
|
+
default: boolean;
|
|
80
|
+
};
|
|
81
|
+
onChange: {
|
|
82
|
+
type: import("vue").PropType<(event: import("ant-design-vue").RadioChangeEvent) => void>;
|
|
83
|
+
default: (event: import("ant-design-vue").RadioChangeEvent) => void;
|
|
84
|
+
};
|
|
85
|
+
onFocus: {
|
|
86
|
+
type: import("vue").PropType<import("ant-design-vue/es/_util/EventInterface").FocusEventHandler>;
|
|
87
|
+
default: import("ant-design-vue/es/_util/EventInterface").FocusEventHandler;
|
|
88
|
+
};
|
|
89
|
+
onBlur: {
|
|
90
|
+
type: import("vue").PropType<import("ant-design-vue/es/_util/EventInterface").FocusEventHandler>;
|
|
91
|
+
default: import("ant-design-vue/es/_util/EventInterface").FocusEventHandler;
|
|
92
|
+
};
|
|
93
|
+
onClick: {
|
|
94
|
+
type: import("vue").PropType<import("ant-design-vue/es/_util/EventInterface").MouseEventHandler>;
|
|
95
|
+
default: import("ant-design-vue/es/_util/EventInterface").MouseEventHandler;
|
|
96
|
+
};
|
|
97
|
+
'onUpdate:checked': {
|
|
98
|
+
type: import("vue").PropType<(checked: boolean) => void>;
|
|
99
|
+
default: (checked: boolean) => void;
|
|
100
|
+
};
|
|
101
|
+
'onUpdate:value': {
|
|
102
|
+
type: import("vue").PropType<(checked: boolean) => void>;
|
|
103
|
+
default: (checked: boolean) => void;
|
|
104
|
+
};
|
|
105
|
+
}>>, {
|
|
106
|
+
onClick: import("ant-design-vue/es/_util/EventInterface").MouseEventHandler;
|
|
107
|
+
onFocus: import("ant-design-vue/es/_util/EventInterface").FocusEventHandler;
|
|
108
|
+
onBlur: import("ant-design-vue/es/_util/EventInterface").FocusEventHandler;
|
|
109
|
+
onChange: (event: import("ant-design-vue").RadioChangeEvent) => void;
|
|
110
|
+
disabled: boolean;
|
|
111
|
+
autofocus: boolean;
|
|
112
|
+
checked: boolean;
|
|
113
|
+
isGroup: boolean;
|
|
114
|
+
'onUpdate:checked': (checked: boolean) => void;
|
|
115
|
+
'onUpdate:value': (checked: boolean) => void;
|
|
116
|
+
}, {}>;
|
|
117
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
|
|
118
|
+
export default _default;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import _sfc_main from './radio-button.vue2.mjs';
|
|
2
|
+
import _export_sfc from '../../../_virtual/_plugin-vue_export-helper.mjs';
|
|
3
|
+
|
|
4
|
+
"use strict";
|
|
5
|
+
var RadioButton = /* @__PURE__ */ _export_sfc(_sfc_main, [["__file", "radio-button.vue"]]);
|
|
6
|
+
|
|
7
|
+
export { RadioButton as default };
|
|
8
|
+
//# sourceMappingURL=radio-button.vue.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"radio-button.vue.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { defineComponent, useAttrs, openBlock, createBlock, unref, mergeProps, createSlots, renderList, withCtx, renderSlot, normalizeProps, guardReactiveProps } from 'vue';
|
|
2
|
+
import { RadioButton } from 'ant-design-vue';
|
|
3
|
+
import '../../../utils/index.mjs';
|
|
4
|
+
import { createNamespace } from '../../../utils/create-namespace.mjs';
|
|
5
|
+
|
|
6
|
+
"use strict";
|
|
7
|
+
var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
8
|
+
...{ name: "LlRadioButton" },
|
|
9
|
+
__name: "radio-button",
|
|
10
|
+
setup(__props) {
|
|
11
|
+
const attrs = useAttrs();
|
|
12
|
+
const bem = createNamespace("radio-button");
|
|
13
|
+
return (_ctx, _cache) => {
|
|
14
|
+
return openBlock(), createBlock(unref(RadioButton), mergeProps({
|
|
15
|
+
class: unref(bem).b()
|
|
16
|
+
}, unref(attrs)), createSlots({
|
|
17
|
+
_: 2
|
|
18
|
+
/* DYNAMIC */
|
|
19
|
+
}, [
|
|
20
|
+
renderList(Object.keys(_ctx.$slots), (item) => {
|
|
21
|
+
return {
|
|
22
|
+
name: item,
|
|
23
|
+
fn: withCtx((data) => [
|
|
24
|
+
renderSlot(_ctx.$slots, item, normalizeProps(guardReactiveProps(data || {})))
|
|
25
|
+
])
|
|
26
|
+
};
|
|
27
|
+
})
|
|
28
|
+
]), 1040, ["class"]);
|
|
29
|
+
};
|
|
30
|
+
}
|
|
31
|
+
});
|
|
32
|
+
|
|
33
|
+
export { _sfc_main as default };
|
|
34
|
+
//# sourceMappingURL=radio-button.vue2.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"radio-button.vue2.mjs","sources":["../../../../../packages/components/radio/src/radio-button.vue"],"sourcesContent":["<template>\n <RadioButton :class=\"bem.b()\" v-bind=\"attrs\">\n <template v-for=\"item in Object.keys($slots)\" :key=\"item\" #[item]=\"data\">\n <slot :name=\"item\" v-bind=\"data || {}\"></slot>\n </template>\n </RadioButton>\n</template>\n\n<script setup lang=\"ts\">\nimport { useAttrs } from 'vue'\nimport { RadioButton } from 'ant-design-vue'\nimport { createNamespace } from '@ll-plus/utils'\ndefineOptions({ name: 'LlRadioButton' })\nconst attrs = useAttrs()\nconst bem = createNamespace('radio-button')\n</script>\n"],"names":[],"mappings":";;;;;;;;;;AAaA,IAAA,MAAM,QAAQ,QAAS,EAAA,CAAA;AACvB,IAAM,MAAA,GAAA,GAAM,gBAAgB,cAAc,CAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {
|
|
2
|
+
attrs: {
|
|
3
|
+
[x: string]: unknown;
|
|
4
|
+
};
|
|
5
|
+
bem: {
|
|
6
|
+
b: (blockSuffix?: string) => string;
|
|
7
|
+
e: (element?: string) => string;
|
|
8
|
+
m: (modifier?: string) => string;
|
|
9
|
+
be: (blockSuffix?: string, element?: string) => string;
|
|
10
|
+
em: (element: string, modifier: string) => string;
|
|
11
|
+
bm: (blockSuffix: string, modifier: string) => string;
|
|
12
|
+
bem: (blockSuffix: string, element: string, modifier: string) => string;
|
|
13
|
+
is: (name?: string) => string;
|
|
14
|
+
};
|
|
15
|
+
readonly RadioGroup: import("vue").DefineComponent<{
|
|
16
|
+
prefixCls: StringConstructor;
|
|
17
|
+
value: import("vue-types").VueTypeValidableDef<any>;
|
|
18
|
+
size: {
|
|
19
|
+
type: import("vue").PropType<"default" | "small" | "large">;
|
|
20
|
+
default: "default" | "small" | "large";
|
|
21
|
+
};
|
|
22
|
+
options: {
|
|
23
|
+
type: import("vue").PropType<(string | number | import("ant-design-vue/es/radio/Group").RadioGroupChildOption)[]>;
|
|
24
|
+
default: (string | number | import("ant-design-vue/es/radio/Group").RadioGroupChildOption)[];
|
|
25
|
+
};
|
|
26
|
+
disabled: {
|
|
27
|
+
type: BooleanConstructor;
|
|
28
|
+
default: boolean;
|
|
29
|
+
};
|
|
30
|
+
name: StringConstructor;
|
|
31
|
+
buttonStyle: {
|
|
32
|
+
type: import("vue").PropType<import("ant-design-vue/es/radio/interface").RadioGroupButtonStyle>;
|
|
33
|
+
default: import("ant-design-vue/es/radio/interface").RadioGroupButtonStyle;
|
|
34
|
+
};
|
|
35
|
+
id: StringConstructor;
|
|
36
|
+
optionType: {
|
|
37
|
+
type: import("vue").PropType<import("ant-design-vue/es/radio/interface").RadioGroupOptionType>;
|
|
38
|
+
default: import("ant-design-vue/es/radio/interface").RadioGroupOptionType;
|
|
39
|
+
};
|
|
40
|
+
onChange: {
|
|
41
|
+
type: import("vue").PropType<(e: import("ant-design-vue").RadioChangeEvent) => void>;
|
|
42
|
+
default: (e: import("ant-design-vue").RadioChangeEvent) => void;
|
|
43
|
+
};
|
|
44
|
+
'onUpdate:value': {
|
|
45
|
+
type: import("vue").PropType<(val: any) => void>;
|
|
46
|
+
default: (val: any) => void;
|
|
47
|
+
};
|
|
48
|
+
}, () => import("ant-design-vue/es/_util/type").VueNode, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
49
|
+
prefixCls: StringConstructor;
|
|
50
|
+
value: import("vue-types").VueTypeValidableDef<any>;
|
|
51
|
+
size: {
|
|
52
|
+
type: import("vue").PropType<"default" | "small" | "large">;
|
|
53
|
+
default: "default" | "small" | "large";
|
|
54
|
+
};
|
|
55
|
+
options: {
|
|
56
|
+
type: import("vue").PropType<(string | number | import("ant-design-vue/es/radio/Group").RadioGroupChildOption)[]>;
|
|
57
|
+
default: (string | number | import("ant-design-vue/es/radio/Group").RadioGroupChildOption)[];
|
|
58
|
+
};
|
|
59
|
+
disabled: {
|
|
60
|
+
type: BooleanConstructor;
|
|
61
|
+
default: boolean;
|
|
62
|
+
};
|
|
63
|
+
name: StringConstructor;
|
|
64
|
+
buttonStyle: {
|
|
65
|
+
type: import("vue").PropType<import("ant-design-vue/es/radio/interface").RadioGroupButtonStyle>;
|
|
66
|
+
default: import("ant-design-vue/es/radio/interface").RadioGroupButtonStyle;
|
|
67
|
+
};
|
|
68
|
+
id: StringConstructor;
|
|
69
|
+
optionType: {
|
|
70
|
+
type: import("vue").PropType<import("ant-design-vue/es/radio/interface").RadioGroupOptionType>;
|
|
71
|
+
default: import("ant-design-vue/es/radio/interface").RadioGroupOptionType;
|
|
72
|
+
};
|
|
73
|
+
onChange: {
|
|
74
|
+
type: import("vue").PropType<(e: import("ant-design-vue").RadioChangeEvent) => void>;
|
|
75
|
+
default: (e: import("ant-design-vue").RadioChangeEvent) => void;
|
|
76
|
+
};
|
|
77
|
+
'onUpdate:value': {
|
|
78
|
+
type: import("vue").PropType<(val: any) => void>;
|
|
79
|
+
default: (val: any) => void;
|
|
80
|
+
};
|
|
81
|
+
}>>, {
|
|
82
|
+
size: "default" | "small" | "large";
|
|
83
|
+
onChange: (e: import("ant-design-vue").RadioChangeEvent) => void;
|
|
84
|
+
disabled: boolean;
|
|
85
|
+
'onUpdate:value': (val: any) => void;
|
|
86
|
+
options: (string | number | import("ant-design-vue/es/radio/Group").RadioGroupChildOption)[];
|
|
87
|
+
buttonStyle: import("ant-design-vue/es/radio/interface").RadioGroupButtonStyle;
|
|
88
|
+
optionType: import("ant-design-vue/es/radio/interface").RadioGroupOptionType;
|
|
89
|
+
}, {}>;
|
|
90
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
|
|
91
|
+
export default _default;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import _sfc_main from './radio-group.vue2.mjs';
|
|
2
|
+
import _export_sfc from '../../../_virtual/_plugin-vue_export-helper.mjs';
|
|
3
|
+
|
|
4
|
+
"use strict";
|
|
5
|
+
var RadioGroup = /* @__PURE__ */ _export_sfc(_sfc_main, [["__file", "radio-group.vue"]]);
|
|
6
|
+
|
|
7
|
+
export { RadioGroup as default };
|
|
8
|
+
//# sourceMappingURL=radio-group.vue.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"radio-group.vue.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { defineComponent, useAttrs, openBlock, createBlock, unref, mergeProps, createSlots, renderList, withCtx, renderSlot, normalizeProps, guardReactiveProps } from 'vue';
|
|
2
|
+
import { RadioGroup } from 'ant-design-vue';
|
|
3
|
+
import '../../../utils/index.mjs';
|
|
4
|
+
import { createNamespace } from '../../../utils/create-namespace.mjs';
|
|
5
|
+
|
|
6
|
+
"use strict";
|
|
7
|
+
var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
8
|
+
...{ name: "LlRadioGroup" },
|
|
9
|
+
__name: "radio-group",
|
|
10
|
+
setup(__props) {
|
|
11
|
+
const attrs = useAttrs();
|
|
12
|
+
const bem = createNamespace("radio-group");
|
|
13
|
+
return (_ctx, _cache) => {
|
|
14
|
+
return openBlock(), createBlock(unref(RadioGroup), mergeProps({
|
|
15
|
+
class: unref(bem).b()
|
|
16
|
+
}, unref(attrs)), createSlots({
|
|
17
|
+
_: 2
|
|
18
|
+
/* DYNAMIC */
|
|
19
|
+
}, [
|
|
20
|
+
renderList(Object.keys(_ctx.$slots), (item) => {
|
|
21
|
+
return {
|
|
22
|
+
name: item,
|
|
23
|
+
fn: withCtx((data) => [
|
|
24
|
+
renderSlot(_ctx.$slots, item, normalizeProps(guardReactiveProps(data || {})))
|
|
25
|
+
])
|
|
26
|
+
};
|
|
27
|
+
})
|
|
28
|
+
]), 1040, ["class"]);
|
|
29
|
+
};
|
|
30
|
+
}
|
|
31
|
+
});
|
|
32
|
+
|
|
33
|
+
export { _sfc_main as default };
|
|
34
|
+
//# sourceMappingURL=radio-group.vue2.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"radio-group.vue2.mjs","sources":["../../../../../packages/components/radio/src/radio-group.vue"],"sourcesContent":["<template>\n <RadioGroup :class=\"bem.b()\" v-bind=\"attrs\">\n <template v-for=\"item in Object.keys($slots)\" :key=\"item\" #[item]=\"data\">\n <slot :name=\"item\" v-bind=\"data || {}\"></slot>\n </template>\n </RadioGroup>\n</template>\n\n<script setup lang=\"ts\">\nimport { useAttrs } from 'vue'\nimport { RadioGroup } from 'ant-design-vue'\nimport { createNamespace } from '@ll-plus/utils'\ndefineOptions({ name: 'LlRadioGroup' })\nconst attrs = useAttrs()\nconst bem = createNamespace('radio-group')\n</script>\n"],"names":[],"mappings":";;;;;;;;;;AAaA,IAAA,MAAM,QAAQ,QAAS,EAAA,CAAA;AACvB,IAAM,MAAA,GAAA,GAAM,gBAAgB,aAAa,CAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { RadioProps as AntRadioProps, RadioGroupProps as AntRadioGroupProps } from 'ant-design-vue';
|
|
2
|
+
import type Radio from './radio.vue';
|
|
3
|
+
import type RadioButton from './radio-group.vue';
|
|
4
|
+
import type RadioGroup from './radio-button.vue';
|
|
5
|
+
export type RadioProps = AntRadioProps;
|
|
6
|
+
export type RadioButtonProps = AntRadioProps;
|
|
7
|
+
export type RadioGroupProps = AntRadioGroupProps;
|
|
8
|
+
export type RadioInstance = InstanceType<typeof Radio>;
|
|
9
|
+
export type RadioButtonInstance = InstanceType<typeof RadioButton>;
|
|
10
|
+
export type RadioGroupInstance = InstanceType<typeof RadioGroup>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"radio.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|