@element-plus/nightly 0.0.20240513 → 0.0.20240515

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 (302) hide show
  1. package/dist/index.full.js +2 -26
  2. package/dist/index.full.min.js +9 -9
  3. package/dist/index.full.min.js.map +1 -1
  4. package/dist/index.full.min.mjs +10 -10
  5. package/dist/index.full.min.mjs.map +1 -1
  6. package/dist/index.full.mjs +2 -26
  7. package/dist/locale/af.js +1 -1
  8. package/dist/locale/af.min.js +1 -1
  9. package/dist/locale/af.min.mjs +1 -1
  10. package/dist/locale/af.mjs +1 -1
  11. package/dist/locale/ar-eg.js +1 -1
  12. package/dist/locale/ar-eg.min.js +1 -1
  13. package/dist/locale/ar-eg.min.mjs +1 -1
  14. package/dist/locale/ar-eg.mjs +1 -1
  15. package/dist/locale/ar.js +1 -1
  16. package/dist/locale/ar.min.js +1 -1
  17. package/dist/locale/ar.min.mjs +1 -1
  18. package/dist/locale/ar.mjs +1 -1
  19. package/dist/locale/az.js +1 -1
  20. package/dist/locale/az.min.js +1 -1
  21. package/dist/locale/az.min.mjs +1 -1
  22. package/dist/locale/az.mjs +1 -1
  23. package/dist/locale/bg.js +1 -1
  24. package/dist/locale/bg.min.js +1 -1
  25. package/dist/locale/bg.min.mjs +1 -1
  26. package/dist/locale/bg.mjs +1 -1
  27. package/dist/locale/bn.js +1 -1
  28. package/dist/locale/bn.min.js +1 -1
  29. package/dist/locale/bn.min.mjs +1 -1
  30. package/dist/locale/bn.mjs +1 -1
  31. package/dist/locale/ca.js +1 -1
  32. package/dist/locale/ca.min.js +1 -1
  33. package/dist/locale/ca.min.mjs +1 -1
  34. package/dist/locale/ca.mjs +1 -1
  35. package/dist/locale/ckb.js +1 -1
  36. package/dist/locale/ckb.min.js +1 -1
  37. package/dist/locale/ckb.min.mjs +1 -1
  38. package/dist/locale/ckb.mjs +1 -1
  39. package/dist/locale/cs.js +1 -1
  40. package/dist/locale/cs.min.js +1 -1
  41. package/dist/locale/cs.min.mjs +1 -1
  42. package/dist/locale/cs.mjs +1 -1
  43. package/dist/locale/da.js +1 -1
  44. package/dist/locale/da.min.js +1 -1
  45. package/dist/locale/da.min.mjs +1 -1
  46. package/dist/locale/da.mjs +1 -1
  47. package/dist/locale/de.js +1 -1
  48. package/dist/locale/de.min.js +1 -1
  49. package/dist/locale/de.min.mjs +1 -1
  50. package/dist/locale/de.mjs +1 -1
  51. package/dist/locale/el.js +1 -1
  52. package/dist/locale/el.min.js +1 -1
  53. package/dist/locale/el.min.mjs +1 -1
  54. package/dist/locale/el.mjs +1 -1
  55. package/dist/locale/en.js +1 -1
  56. package/dist/locale/en.min.js +1 -1
  57. package/dist/locale/en.min.mjs +1 -1
  58. package/dist/locale/en.mjs +1 -1
  59. package/dist/locale/eo.js +1 -1
  60. package/dist/locale/eo.min.js +1 -1
  61. package/dist/locale/eo.min.mjs +1 -1
  62. package/dist/locale/eo.mjs +1 -1
  63. package/dist/locale/es.js +1 -1
  64. package/dist/locale/es.min.js +1 -1
  65. package/dist/locale/es.min.mjs +1 -1
  66. package/dist/locale/es.mjs +1 -1
  67. package/dist/locale/et.js +1 -1
  68. package/dist/locale/et.min.js +1 -1
  69. package/dist/locale/et.min.mjs +1 -1
  70. package/dist/locale/et.mjs +1 -1
  71. package/dist/locale/eu.js +1 -1
  72. package/dist/locale/eu.min.js +1 -1
  73. package/dist/locale/eu.min.mjs +1 -1
  74. package/dist/locale/eu.mjs +1 -1
  75. package/dist/locale/fa.js +1 -1
  76. package/dist/locale/fa.min.js +1 -1
  77. package/dist/locale/fa.min.mjs +1 -1
  78. package/dist/locale/fa.mjs +1 -1
  79. package/dist/locale/fi.js +1 -1
  80. package/dist/locale/fi.min.js +1 -1
  81. package/dist/locale/fi.min.mjs +1 -1
  82. package/dist/locale/fi.mjs +1 -1
  83. package/dist/locale/fr.js +1 -1
  84. package/dist/locale/fr.min.js +1 -1
  85. package/dist/locale/fr.min.mjs +1 -1
  86. package/dist/locale/fr.mjs +1 -1
  87. package/dist/locale/he.js +1 -1
  88. package/dist/locale/he.min.js +1 -1
  89. package/dist/locale/he.min.mjs +1 -1
  90. package/dist/locale/he.mjs +1 -1
  91. package/dist/locale/hr.js +1 -1
  92. package/dist/locale/hr.min.js +1 -1
  93. package/dist/locale/hr.min.mjs +1 -1
  94. package/dist/locale/hr.mjs +1 -1
  95. package/dist/locale/hu.js +1 -1
  96. package/dist/locale/hu.min.js +1 -1
  97. package/dist/locale/hu.min.mjs +1 -1
  98. package/dist/locale/hu.mjs +1 -1
  99. package/dist/locale/hy-am.js +1 -1
  100. package/dist/locale/hy-am.min.js +1 -1
  101. package/dist/locale/hy-am.min.mjs +1 -1
  102. package/dist/locale/hy-am.mjs +1 -1
  103. package/dist/locale/id.js +1 -1
  104. package/dist/locale/id.min.js +1 -1
  105. package/dist/locale/id.min.mjs +1 -1
  106. package/dist/locale/id.mjs +1 -1
  107. package/dist/locale/it.js +1 -1
  108. package/dist/locale/it.min.js +1 -1
  109. package/dist/locale/it.min.mjs +1 -1
  110. package/dist/locale/it.mjs +1 -1
  111. package/dist/locale/ja.js +1 -1
  112. package/dist/locale/ja.min.js +1 -1
  113. package/dist/locale/ja.min.mjs +1 -1
  114. package/dist/locale/ja.mjs +1 -1
  115. package/dist/locale/kk.js +1 -1
  116. package/dist/locale/kk.min.js +1 -1
  117. package/dist/locale/kk.min.mjs +1 -1
  118. package/dist/locale/kk.mjs +1 -1
  119. package/dist/locale/km.js +1 -1
  120. package/dist/locale/km.min.js +1 -1
  121. package/dist/locale/km.min.mjs +1 -1
  122. package/dist/locale/km.mjs +1 -1
  123. package/dist/locale/ko.js +1 -1
  124. package/dist/locale/ko.min.js +1 -1
  125. package/dist/locale/ko.min.mjs +1 -1
  126. package/dist/locale/ko.mjs +1 -1
  127. package/dist/locale/ku.js +1 -1
  128. package/dist/locale/ku.min.js +1 -1
  129. package/dist/locale/ku.min.mjs +1 -1
  130. package/dist/locale/ku.mjs +1 -1
  131. package/dist/locale/ky.js +1 -1
  132. package/dist/locale/ky.min.js +1 -1
  133. package/dist/locale/ky.min.mjs +1 -1
  134. package/dist/locale/ky.mjs +1 -1
  135. package/dist/locale/lt.js +1 -1
  136. package/dist/locale/lt.min.js +1 -1
  137. package/dist/locale/lt.min.mjs +1 -1
  138. package/dist/locale/lt.mjs +1 -1
  139. package/dist/locale/lv.js +1 -1
  140. package/dist/locale/lv.min.js +1 -1
  141. package/dist/locale/lv.min.mjs +1 -1
  142. package/dist/locale/lv.mjs +1 -1
  143. package/dist/locale/mg.js +1 -1
  144. package/dist/locale/mg.min.js +1 -1
  145. package/dist/locale/mg.min.mjs +1 -1
  146. package/dist/locale/mg.mjs +1 -1
  147. package/dist/locale/mn.js +1 -1
  148. package/dist/locale/mn.min.js +1 -1
  149. package/dist/locale/mn.min.mjs +1 -1
  150. package/dist/locale/mn.mjs +1 -1
  151. package/dist/locale/nb-no.js +1 -1
  152. package/dist/locale/nb-no.min.js +1 -1
  153. package/dist/locale/nb-no.min.mjs +1 -1
  154. package/dist/locale/nb-no.mjs +1 -1
  155. package/dist/locale/nl.js +1 -1
  156. package/dist/locale/nl.min.js +1 -1
  157. package/dist/locale/nl.min.mjs +1 -1
  158. package/dist/locale/nl.mjs +1 -1
  159. package/dist/locale/pa.js +1 -1
  160. package/dist/locale/pa.min.js +1 -1
  161. package/dist/locale/pa.min.mjs +1 -1
  162. package/dist/locale/pa.mjs +1 -1
  163. package/dist/locale/pl.js +1 -1
  164. package/dist/locale/pl.min.js +1 -1
  165. package/dist/locale/pl.min.mjs +1 -1
  166. package/dist/locale/pl.mjs +1 -1
  167. package/dist/locale/pt-br.js +1 -1
  168. package/dist/locale/pt-br.min.js +1 -1
  169. package/dist/locale/pt-br.min.mjs +1 -1
  170. package/dist/locale/pt-br.mjs +1 -1
  171. package/dist/locale/pt.js +1 -1
  172. package/dist/locale/pt.min.js +1 -1
  173. package/dist/locale/pt.min.mjs +1 -1
  174. package/dist/locale/pt.mjs +1 -1
  175. package/dist/locale/ro.js +1 -1
  176. package/dist/locale/ro.min.js +1 -1
  177. package/dist/locale/ro.min.mjs +1 -1
  178. package/dist/locale/ro.mjs +1 -1
  179. package/dist/locale/ru.js +1 -1
  180. package/dist/locale/ru.min.js +1 -1
  181. package/dist/locale/ru.min.mjs +1 -1
  182. package/dist/locale/ru.mjs +1 -1
  183. package/dist/locale/sk.js +1 -1
  184. package/dist/locale/sk.min.js +1 -1
  185. package/dist/locale/sk.min.mjs +1 -1
  186. package/dist/locale/sk.mjs +1 -1
  187. package/dist/locale/sl.js +1 -1
  188. package/dist/locale/sl.min.js +1 -1
  189. package/dist/locale/sl.min.mjs +1 -1
  190. package/dist/locale/sl.mjs +1 -1
  191. package/dist/locale/sr.js +1 -1
  192. package/dist/locale/sr.min.js +1 -1
  193. package/dist/locale/sr.min.mjs +1 -1
  194. package/dist/locale/sr.mjs +1 -1
  195. package/dist/locale/sv.js +1 -1
  196. package/dist/locale/sv.min.js +1 -1
  197. package/dist/locale/sv.min.mjs +1 -1
  198. package/dist/locale/sv.mjs +1 -1
  199. package/dist/locale/sw.js +1 -1
  200. package/dist/locale/sw.min.js +1 -1
  201. package/dist/locale/sw.min.mjs +1 -1
  202. package/dist/locale/sw.mjs +1 -1
  203. package/dist/locale/ta.js +1 -1
  204. package/dist/locale/ta.min.js +1 -1
  205. package/dist/locale/ta.min.mjs +1 -1
  206. package/dist/locale/ta.mjs +1 -1
  207. package/dist/locale/th.js +1 -1
  208. package/dist/locale/th.min.js +1 -1
  209. package/dist/locale/th.min.mjs +1 -1
  210. package/dist/locale/th.mjs +1 -1
  211. package/dist/locale/tk.js +1 -1
  212. package/dist/locale/tk.min.js +1 -1
  213. package/dist/locale/tk.min.mjs +1 -1
  214. package/dist/locale/tk.mjs +1 -1
  215. package/dist/locale/tr.js +1 -1
  216. package/dist/locale/tr.min.js +1 -1
  217. package/dist/locale/tr.min.mjs +1 -1
  218. package/dist/locale/tr.mjs +1 -1
  219. package/dist/locale/ug-cn.js +1 -1
  220. package/dist/locale/ug-cn.min.js +1 -1
  221. package/dist/locale/ug-cn.min.mjs +1 -1
  222. package/dist/locale/ug-cn.mjs +1 -1
  223. package/dist/locale/uk.js +1 -1
  224. package/dist/locale/uk.min.js +1 -1
  225. package/dist/locale/uk.min.mjs +1 -1
  226. package/dist/locale/uk.mjs +1 -1
  227. package/dist/locale/uz-uz.js +1 -1
  228. package/dist/locale/uz-uz.min.js +1 -1
  229. package/dist/locale/uz-uz.min.mjs +1 -1
  230. package/dist/locale/uz-uz.mjs +1 -1
  231. package/dist/locale/vi.js +1 -1
  232. package/dist/locale/vi.min.js +1 -1
  233. package/dist/locale/vi.min.mjs +1 -1
  234. package/dist/locale/vi.mjs +1 -1
  235. package/dist/locale/zh-cn.js +1 -1
  236. package/dist/locale/zh-cn.min.js +1 -1
  237. package/dist/locale/zh-cn.min.mjs +1 -1
  238. package/dist/locale/zh-cn.mjs +1 -1
  239. package/dist/locale/zh-tw.js +1 -1
  240. package/dist/locale/zh-tw.min.js +1 -1
  241. package/dist/locale/zh-tw.min.mjs +1 -1
  242. package/dist/locale/zh-tw.mjs +1 -1
  243. package/es/components/cascader/index.mjs.map +1 -1
  244. package/es/components/cascader-panel/index.mjs.map +1 -1
  245. package/es/components/collapse-transition/index.mjs.map +1 -1
  246. package/es/components/date-picker/index.mjs.map +1 -1
  247. package/es/components/dropdown/src/dropdown-item-impl.mjs +1 -1
  248. package/es/components/dropdown/src/dropdown-menu.mjs +1 -1
  249. package/es/components/dropdown/src/dropdown2.mjs +1 -1
  250. package/es/components/index.mjs +1 -1
  251. package/es/components/radio/index.mjs +2 -2
  252. package/es/components/radio/src/radio-button.mjs +6 -67
  253. package/es/components/radio/src/radio-button.mjs.map +1 -1
  254. package/es/components/radio/src/radio-button2.mjs +67 -6
  255. package/es/components/radio/src/radio-button2.mjs.map +1 -1
  256. package/es/components/roving-focus-group/index.mjs +3 -3
  257. package/es/components/roving-focus-group/src/roving-focus-group-impl.mjs +1 -1
  258. package/es/components/roving-focus-group/src/roving-focus-group.mjs +27 -29
  259. package/es/components/roving-focus-group/src/roving-focus-group.mjs.map +1 -1
  260. package/es/components/roving-focus-group/src/roving-focus-group2.mjs +29 -27
  261. package/es/components/roving-focus-group/src/roving-focus-group2.mjs.map +1 -1
  262. package/es/components/roving-focus-group/src/roving-focus-item.mjs +1 -1
  263. package/es/components/select-v2/index.mjs.map +1 -1
  264. package/es/components/time-picker/index.mjs.map +1 -1
  265. package/es/components/time-select/index.mjs.map +1 -1
  266. package/es/components/tree/index.mjs.map +1 -1
  267. package/es/components/tree-select/index.mjs.map +1 -1
  268. package/es/index.mjs +1 -1
  269. package/es/version.d.ts +1 -1
  270. package/es/version.mjs +1 -1
  271. package/es/version.mjs.map +1 -1
  272. package/lib/components/cascader/index.js.map +1 -1
  273. package/lib/components/cascader-panel/index.js.map +1 -1
  274. package/lib/components/collapse-transition/index.js.map +1 -1
  275. package/lib/components/date-picker/index.js.map +1 -1
  276. package/lib/components/dropdown/src/dropdown-item-impl.js +1 -1
  277. package/lib/components/dropdown/src/dropdown-menu.js +1 -1
  278. package/lib/components/dropdown/src/dropdown2.js +1 -1
  279. package/lib/components/index.js +1 -1
  280. package/lib/components/radio/index.js +2 -2
  281. package/lib/components/radio/src/radio-button.js +6 -67
  282. package/lib/components/radio/src/radio-button.js.map +1 -1
  283. package/lib/components/radio/src/radio-button2.js +67 -6
  284. package/lib/components/radio/src/radio-button2.js.map +1 -1
  285. package/lib/components/roving-focus-group/index.js +2 -2
  286. package/lib/components/roving-focus-group/src/roving-focus-group-impl.js +1 -1
  287. package/lib/components/roving-focus-group/src/roving-focus-group.js +27 -33
  288. package/lib/components/roving-focus-group/src/roving-focus-group.js.map +1 -1
  289. package/lib/components/roving-focus-group/src/roving-focus-group2.js +33 -27
  290. package/lib/components/roving-focus-group/src/roving-focus-group2.js.map +1 -1
  291. package/lib/components/roving-focus-group/src/roving-focus-item.js +1 -1
  292. package/lib/components/select-v2/index.js.map +1 -1
  293. package/lib/components/time-picker/index.js.map +1 -1
  294. package/lib/components/time-select/index.js.map +1 -1
  295. package/lib/components/tree/index.js.map +1 -1
  296. package/lib/components/tree-select/index.js.map +1 -1
  297. package/lib/index.js +1 -1
  298. package/lib/version.d.ts +1 -1
  299. package/lib/version.js +1 -1
  300. package/lib/version.js.map +1 -1
  301. package/package.json +2 -2
  302. package/web-types.json +1 -1
@@ -13,7 +13,7 @@ import '../../../hooks/index.mjs';
13
13
  import { ElCollection, dropdownProps } from './dropdown.mjs';
14
14
  import { DROPDOWN_INJECTION_KEY } from './tokens.mjs';
15
15
  import _export_sfc from '../../../_virtual/plugin-vue_export-helper.mjs';
16
- import ElRovingFocusGroup from '../../roving-focus-group/src/roving-focus-group2.mjs';
16
+ import ElRovingFocusGroup from '../../roving-focus-group/src/roving-focus-group.mjs';
17
17
  import { OnlyChild } from '../../slot/src/only-child.mjs';
18
18
  import { useNamespace } from '../../../hooks/use-namespace/index.mjs';
19
19
  import { useLocale } from '../../../hooks/use-locale/index.mjs';
@@ -155,7 +155,7 @@ export { default as ElPopperContent } from './popper/src/content2.mjs';
155
155
  export { progressProps } from './progress/src/progress.mjs';
156
156
  export { radioEmits, radioProps, radioPropsBase } from './radio/src/radio.mjs';
157
157
  export { radioGroupEmits, radioGroupProps } from './radio/src/radio-group.mjs';
158
- export { radioButtonProps } from './radio/src/radio-button2.mjs';
158
+ export { radioButtonProps } from './radio/src/radio-button.mjs';
159
159
  export { radioGroupKey } from './radio/src/constants.mjs';
160
160
  export { rateEmits, rateProps } from './rate/src/rate.mjs';
161
161
  export { IconComponentMap, IconMap, resultProps } from './result/src/result.mjs';
@@ -1,10 +1,10 @@
1
1
  import '../../utils/index.mjs';
2
2
  import Radio from './src/radio2.mjs';
3
- import RadioButton from './src/radio-button.mjs';
3
+ import RadioButton from './src/radio-button2.mjs';
4
4
  import RadioGroup from './src/radio-group2.mjs';
5
5
  export { radioEmits, radioProps, radioPropsBase } from './src/radio.mjs';
6
6
  export { radioGroupEmits, radioGroupProps } from './src/radio-group.mjs';
7
- export { radioButtonProps } from './src/radio-button2.mjs';
7
+ export { radioButtonProps } from './src/radio-button.mjs';
8
8
  export { radioGroupKey } from './src/constants.mjs';
9
9
  import { withInstall, withNoopInstall } from '../../utils/vue/install.mjs';
10
10
 
@@ -1,71 +1,10 @@
1
- import { defineComponent, computed, openBlock, createElementBlock, normalizeClass, unref, withDirectives, createElementVNode, isRef, withModifiers, vModelRadio, normalizeStyle, renderSlot, createTextVNode, toDisplayString } from 'vue';
2
- import '../../../hooks/index.mjs';
3
- import { useRadio } from './use-radio.mjs';
4
- import { radioButtonProps } from './radio-button2.mjs';
5
- import _export_sfc from '../../../_virtual/plugin-vue_export-helper.mjs';
6
- import { useNamespace } from '../../../hooks/use-namespace/index.mjs';
1
+ import '../../../utils/index.mjs';
2
+ import { radioPropsBase } from './radio.mjs';
3
+ import { buildProps } from '../../../utils/vue/props/runtime.mjs';
7
4
 
8
- const _hoisted_1 = ["value", "name", "disabled"];
9
- const __default__ = defineComponent({
10
- name: "ElRadioButton"
5
+ const radioButtonProps = buildProps({
6
+ ...radioPropsBase
11
7
  });
12
- const _sfc_main = /* @__PURE__ */ defineComponent({
13
- ...__default__,
14
- props: radioButtonProps,
15
- setup(__props) {
16
- const props = __props;
17
- const ns = useNamespace("radio");
18
- const { radioRef, focus, size, disabled, modelValue, radioGroup, actualValue } = useRadio(props);
19
- const activeStyle = computed(() => {
20
- return {
21
- backgroundColor: (radioGroup == null ? void 0 : radioGroup.fill) || "",
22
- borderColor: (radioGroup == null ? void 0 : radioGroup.fill) || "",
23
- boxShadow: (radioGroup == null ? void 0 : radioGroup.fill) ? `-1px 0 0 0 ${radioGroup.fill}` : "",
24
- color: (radioGroup == null ? void 0 : radioGroup.textColor) || ""
25
- };
26
- });
27
- return (_ctx, _cache) => {
28
- var _a;
29
- return openBlock(), createElementBlock("label", {
30
- class: normalizeClass([
31
- unref(ns).b("button"),
32
- unref(ns).is("active", unref(modelValue) === unref(actualValue)),
33
- unref(ns).is("disabled", unref(disabled)),
34
- unref(ns).is("focus", unref(focus)),
35
- unref(ns).bm("button", unref(size))
36
- ])
37
- }, [
38
- withDirectives(createElementVNode("input", {
39
- ref_key: "radioRef",
40
- ref: radioRef,
41
- "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => isRef(modelValue) ? modelValue.value = $event : null),
42
- class: normalizeClass(unref(ns).be("button", "original-radio")),
43
- value: unref(actualValue),
44
- type: "radio",
45
- name: _ctx.name || ((_a = unref(radioGroup)) == null ? void 0 : _a.name),
46
- disabled: unref(disabled),
47
- onFocus: _cache[1] || (_cache[1] = ($event) => focus.value = true),
48
- onBlur: _cache[2] || (_cache[2] = ($event) => focus.value = false),
49
- onClick: _cache[3] || (_cache[3] = withModifiers(() => {
50
- }, ["stop"]))
51
- }, null, 42, _hoisted_1), [
52
- [vModelRadio, unref(modelValue)]
53
- ]),
54
- createElementVNode("span", {
55
- class: normalizeClass(unref(ns).be("button", "inner")),
56
- style: normalizeStyle(unref(modelValue) === unref(actualValue) ? unref(activeStyle) : {}),
57
- onKeydown: _cache[4] || (_cache[4] = withModifiers(() => {
58
- }, ["stop"]))
59
- }, [
60
- renderSlot(_ctx.$slots, "default", {}, () => [
61
- createTextVNode(toDisplayString(_ctx.label), 1)
62
- ])
63
- ], 38)
64
- ], 2);
65
- };
66
- }
67
- });
68
- var RadioButton = /* @__PURE__ */ _export_sfc(_sfc_main, [["__file", "radio-button.vue"]]);
69
8
 
70
- export { RadioButton as default };
9
+ export { radioButtonProps };
71
10
  //# sourceMappingURL=radio-button.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"radio-button.mjs","sources":["../../../../../../packages/components/radio/src/radio-button.vue"],"sourcesContent":["<template>\n <label\n :class=\"[\n ns.b('button'),\n ns.is('active', modelValue === actualValue),\n ns.is('disabled', disabled),\n ns.is('focus', focus),\n ns.bm('button', size),\n ]\"\n >\n <input\n ref=\"radioRef\"\n v-model=\"modelValue\"\n :class=\"ns.be('button', 'original-radio')\"\n :value=\"actualValue\"\n type=\"radio\"\n :name=\"name || radioGroup?.name\"\n :disabled=\"disabled\"\n @focus=\"focus = true\"\n @blur=\"focus = false\"\n @click.stop\n />\n <span\n :class=\"ns.be('button', 'inner')\"\n :style=\"modelValue === actualValue ? activeStyle : {}\"\n @keydown.stop\n >\n <slot>\n {{ label }}\n </slot>\n </span>\n </label>\n</template>\n\n<script lang=\"ts\" setup>\nimport { computed } from 'vue'\nimport { useNamespace } from '@element-plus/hooks'\nimport { useRadio } from './use-radio'\nimport { radioButtonProps } from './radio-button'\nimport type { CSSProperties } from 'vue'\n\ndefineOptions({\n name: 'ElRadioButton',\n})\n\nconst props = defineProps(radioButtonProps)\n\nconst ns = useNamespace('radio')\nconst { radioRef, focus, size, disabled, modelValue, radioGroup, actualValue } =\n useRadio(props)\n\nconst activeStyle = computed<CSSProperties>(() => {\n return {\n backgroundColor: radioGroup?.fill || '',\n borderColor: radioGroup?.fill || '',\n boxShadow: radioGroup?.fill ? `-1px 0 0 0 ${radioGroup.fill}` : '',\n color: radioGroup?.textColor || '',\n }\n})\n</script>\n"],"names":[],"mappings":";;;;;;;;mCAyCc,CAAA;AAAA,EACZ,IAAM,EAAA,eAAA;AACR,CAAA,CAAA,CAAA;;;;;;AAIA,IAAM,MAAA,EAAA,GAAK,aAAa,OAAO,CAAA,CAAA;AAC/B,IAAM,MAAA,EAAE,UAAU,KAAO,EAAA,IAAA,EAAM,UAAU,UAAY,EAAA,UAAA,EAAY,WAC/D,EAAA,GAAA,QAAA,CAAS,KAAK,CAAA,CAAA;AAEhB,IAAM,MAAA,WAAA,GAAc,SAAwB,MAAM;AAChD,MAAO,OAAA;AAAA,QACL,eAAA,EAAiB,eAAoB,IAAA,GAAA,KAAA,CAAA,GAAA,UAAA,CAAA,IAAA,KAAA,EAAA;AAAA,QACrC,WAAA,EAAa,eAAoB,IAAA,GAAA,KAAA,CAAA,GAAA,UAAA,CAAA,IAAA,KAAA,EAAA;AAAA,QACjC,SAAW,EAAA,CAAA,UAAA,IAAmB,IAAA,GAAA,KAAA,CAAA,GAAA,eAAkC,IAAA,CAAA,WAAA,EAAA,UAAA,CAAA,IAAA,CAAA,CAAA,GAAA,EAAA;AAAA,QAChE,KAAA,EAAO,eAAyB,IAAA,GAAA,KAAA,CAAA,GAAA,UAAA,CAAA,SAAA,KAAA,EAAA;AAAA,OAClC,CAAA;AAAA,KACD,CAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"radio-button.mjs","sources":["../../../../../../packages/components/radio/src/radio-button.ts"],"sourcesContent":["import { buildProps } from '@element-plus/utils'\nimport { radioPropsBase } from './radio'\nimport type { ExtractPropTypes } from 'vue'\nimport type RadioButton from './radio-button.vue'\n\nexport const radioButtonProps = buildProps({\n ...radioPropsBase,\n} as const)\n\nexport type RadioButtonProps = ExtractPropTypes<typeof radioButtonProps>\nexport type RadioButtonInstance = InstanceType<typeof RadioButton>\n"],"names":[],"mappings":";;;;AAEY,MAAC,gBAAgB,GAAG,UAAU,CAAC;AAC3C,EAAE,GAAG,cAAc;AACnB,CAAC;;;;"}
@@ -1,10 +1,71 @@
1
- import '../../../utils/index.mjs';
2
- import { radioPropsBase } from './radio.mjs';
3
- import { buildProps } from '../../../utils/vue/props/runtime.mjs';
1
+ import { defineComponent, computed, openBlock, createElementBlock, normalizeClass, unref, withDirectives, createElementVNode, isRef, withModifiers, vModelRadio, normalizeStyle, renderSlot, createTextVNode, toDisplayString } from 'vue';
2
+ import '../../../hooks/index.mjs';
3
+ import { useRadio } from './use-radio.mjs';
4
+ import { radioButtonProps } from './radio-button.mjs';
5
+ import _export_sfc from '../../../_virtual/plugin-vue_export-helper.mjs';
6
+ import { useNamespace } from '../../../hooks/use-namespace/index.mjs';
4
7
 
5
- const radioButtonProps = buildProps({
6
- ...radioPropsBase
8
+ const _hoisted_1 = ["value", "name", "disabled"];
9
+ const __default__ = defineComponent({
10
+ name: "ElRadioButton"
7
11
  });
12
+ const _sfc_main = /* @__PURE__ */ defineComponent({
13
+ ...__default__,
14
+ props: radioButtonProps,
15
+ setup(__props) {
16
+ const props = __props;
17
+ const ns = useNamespace("radio");
18
+ const { radioRef, focus, size, disabled, modelValue, radioGroup, actualValue } = useRadio(props);
19
+ const activeStyle = computed(() => {
20
+ return {
21
+ backgroundColor: (radioGroup == null ? void 0 : radioGroup.fill) || "",
22
+ borderColor: (radioGroup == null ? void 0 : radioGroup.fill) || "",
23
+ boxShadow: (radioGroup == null ? void 0 : radioGroup.fill) ? `-1px 0 0 0 ${radioGroup.fill}` : "",
24
+ color: (radioGroup == null ? void 0 : radioGroup.textColor) || ""
25
+ };
26
+ });
27
+ return (_ctx, _cache) => {
28
+ var _a;
29
+ return openBlock(), createElementBlock("label", {
30
+ class: normalizeClass([
31
+ unref(ns).b("button"),
32
+ unref(ns).is("active", unref(modelValue) === unref(actualValue)),
33
+ unref(ns).is("disabled", unref(disabled)),
34
+ unref(ns).is("focus", unref(focus)),
35
+ unref(ns).bm("button", unref(size))
36
+ ])
37
+ }, [
38
+ withDirectives(createElementVNode("input", {
39
+ ref_key: "radioRef",
40
+ ref: radioRef,
41
+ "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => isRef(modelValue) ? modelValue.value = $event : null),
42
+ class: normalizeClass(unref(ns).be("button", "original-radio")),
43
+ value: unref(actualValue),
44
+ type: "radio",
45
+ name: _ctx.name || ((_a = unref(radioGroup)) == null ? void 0 : _a.name),
46
+ disabled: unref(disabled),
47
+ onFocus: _cache[1] || (_cache[1] = ($event) => focus.value = true),
48
+ onBlur: _cache[2] || (_cache[2] = ($event) => focus.value = false),
49
+ onClick: _cache[3] || (_cache[3] = withModifiers(() => {
50
+ }, ["stop"]))
51
+ }, null, 42, _hoisted_1), [
52
+ [vModelRadio, unref(modelValue)]
53
+ ]),
54
+ createElementVNode("span", {
55
+ class: normalizeClass(unref(ns).be("button", "inner")),
56
+ style: normalizeStyle(unref(modelValue) === unref(actualValue) ? unref(activeStyle) : {}),
57
+ onKeydown: _cache[4] || (_cache[4] = withModifiers(() => {
58
+ }, ["stop"]))
59
+ }, [
60
+ renderSlot(_ctx.$slots, "default", {}, () => [
61
+ createTextVNode(toDisplayString(_ctx.label), 1)
62
+ ])
63
+ ], 38)
64
+ ], 2);
65
+ };
66
+ }
67
+ });
68
+ var RadioButton = /* @__PURE__ */ _export_sfc(_sfc_main, [["__file", "radio-button.vue"]]);
8
69
 
9
- export { radioButtonProps };
70
+ export { RadioButton as default };
10
71
  //# sourceMappingURL=radio-button2.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"radio-button2.mjs","sources":["../../../../../../packages/components/radio/src/radio-button.ts"],"sourcesContent":["import { buildProps } from '@element-plus/utils'\nimport { radioPropsBase } from './radio'\nimport type { ExtractPropTypes } from 'vue'\nimport type RadioButton from './radio-button.vue'\n\nexport const radioButtonProps = buildProps({\n ...radioPropsBase,\n} as const)\n\nexport type RadioButtonProps = ExtractPropTypes<typeof radioButtonProps>\nexport type RadioButtonInstance = InstanceType<typeof RadioButton>\n"],"names":[],"mappings":";;;;AAEY,MAAC,gBAAgB,GAAG,UAAU,CAAC;AAC3C,EAAE,GAAG,cAAc;AACnB,CAAC;;;;"}
1
+ {"version":3,"file":"radio-button2.mjs","sources":["../../../../../../packages/components/radio/src/radio-button.vue"],"sourcesContent":["<template>\n <label\n :class=\"[\n ns.b('button'),\n ns.is('active', modelValue === actualValue),\n ns.is('disabled', disabled),\n ns.is('focus', focus),\n ns.bm('button', size),\n ]\"\n >\n <input\n ref=\"radioRef\"\n v-model=\"modelValue\"\n :class=\"ns.be('button', 'original-radio')\"\n :value=\"actualValue\"\n type=\"radio\"\n :name=\"name || radioGroup?.name\"\n :disabled=\"disabled\"\n @focus=\"focus = true\"\n @blur=\"focus = false\"\n @click.stop\n />\n <span\n :class=\"ns.be('button', 'inner')\"\n :style=\"modelValue === actualValue ? activeStyle : {}\"\n @keydown.stop\n >\n <slot>\n {{ label }}\n </slot>\n </span>\n </label>\n</template>\n\n<script lang=\"ts\" setup>\nimport { computed } from 'vue'\nimport { useNamespace } from '@element-plus/hooks'\nimport { useRadio } from './use-radio'\nimport { radioButtonProps } from './radio-button'\nimport type { CSSProperties } from 'vue'\n\ndefineOptions({\n name: 'ElRadioButton',\n})\n\nconst props = defineProps(radioButtonProps)\n\nconst ns = useNamespace('radio')\nconst { radioRef, focus, size, disabled, modelValue, radioGroup, actualValue } =\n useRadio(props)\n\nconst activeStyle = computed<CSSProperties>(() => {\n return {\n backgroundColor: radioGroup?.fill || '',\n borderColor: radioGroup?.fill || '',\n boxShadow: radioGroup?.fill ? `-1px 0 0 0 ${radioGroup.fill}` : '',\n color: radioGroup?.textColor || '',\n }\n})\n</script>\n"],"names":[],"mappings":";;;;;;;;mCAyCc,CAAA;AAAA,EACZ,IAAM,EAAA,eAAA;AACR,CAAA,CAAA,CAAA;;;;;;AAIA,IAAM,MAAA,EAAA,GAAK,aAAa,OAAO,CAAA,CAAA;AAC/B,IAAM,MAAA,EAAE,UAAU,KAAO,EAAA,IAAA,EAAM,UAAU,UAAY,EAAA,UAAA,EAAY,WAC/D,EAAA,GAAA,QAAA,CAAS,KAAK,CAAA,CAAA;AAEhB,IAAM,MAAA,WAAA,GAAc,SAAwB,MAAM;AAChD,MAAO,OAAA;AAAA,QACL,eAAA,EAAiB,eAAoB,IAAA,GAAA,KAAA,CAAA,GAAA,UAAA,CAAA,IAAA,KAAA,EAAA;AAAA,QACrC,WAAA,EAAa,eAAoB,IAAA,GAAA,KAAA,CAAA,GAAA,UAAA,CAAA,IAAA,KAAA,EAAA;AAAA,QACjC,SAAW,EAAA,CAAA,UAAA,IAAmB,IAAA,GAAA,KAAA,CAAA,GAAA,eAAkC,IAAA,CAAA,WAAA,EAAA,UAAA,CAAA,IAAA,CAAA,CAAA,GAAA,EAAA;AAAA,QAChE,KAAA,EAAO,eAAyB,IAAA,GAAA,KAAA,CAAA,GAAA,UAAA,CAAA,SAAA,KAAA,EAAA;AAAA,OAClC,CAAA;AAAA,KACD,CAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -1,7 +1,7 @@
1
- import ElRovingFocusGroup from './src/roving-focus-group2.mjs';
2
- export { default as ElRovingFocusGroup, default } from './src/roving-focus-group2.mjs';
1
+ import ElRovingFocusGroup from './src/roving-focus-group.mjs';
2
+ export { default as ElRovingFocusGroup, default } from './src/roving-focus-group.mjs';
3
3
  export { default as ElRovingFocusItem } from './src/roving-focus-item.mjs';
4
4
  export { ROVING_FOCUS_GROUP_INJECTION_KEY, ROVING_FOCUS_GROUP_ITEM_INJECTION_KEY } from './src/tokens.mjs';
5
5
  export { focusFirst, getFocusIntent, reorderArray } from './src/utils.mjs';
6
- export { ROVING_FOCUS_COLLECTION_INJECTION_KEY, ROVING_FOCUS_ITEM_COLLECTION_INJECTION_KEY } from './src/roving-focus-group.mjs';
6
+ export { ROVING_FOCUS_COLLECTION_INJECTION_KEY, ROVING_FOCUS_ITEM_COLLECTION_INJECTION_KEY } from './src/roving-focus-group2.mjs';
7
7
  //# sourceMappingURL=index.mjs.map
@@ -1,7 +1,7 @@
1
1
  import { defineComponent, ref, inject, computed, unref, provide, readonly, toRef, watch, renderSlot } from 'vue';
2
2
  import { useEventListener } from '@vueuse/core';
3
3
  import '../../../utils/index.mjs';
4
- import { rovingFocusGroupProps, ROVING_FOCUS_COLLECTION_INJECTION_KEY as COLLECTION_INJECTION_KEY } from './roving-focus-group.mjs';
4
+ import { rovingFocusGroupProps, ROVING_FOCUS_COLLECTION_INJECTION_KEY as COLLECTION_INJECTION_KEY } from './roving-focus-group2.mjs';
5
5
  import { ROVING_FOCUS_GROUP_INJECTION_KEY } from './tokens.mjs';
6
6
  import { focusFirst } from './utils.mjs';
7
7
  import _export_sfc from '../../../_virtual/plugin-vue_export-helper.mjs';
@@ -1,33 +1,31 @@
1
- import '../../../utils/index.mjs';
2
- import '../../collection/index.mjs';
3
- import { buildProps, definePropType } from '../../../utils/vue/props/runtime.mjs';
4
- import { createCollectionWithScope } from '../../collection/src/collection.mjs';
1
+ import { defineComponent, resolveComponent, openBlock, createBlock, withCtx, createVNode, normalizeProps, guardReactiveProps, renderSlot } from 'vue';
2
+ import ElRovingFocusGroupImpl from './roving-focus-group-impl.mjs';
3
+ import { ElCollection } from './roving-focus-group2.mjs';
4
+ import _export_sfc from '../../../_virtual/plugin-vue_export-helper.mjs';
5
5
 
6
- const rovingFocusGroupProps = buildProps({
7
- style: { type: definePropType([String, Array, Object]) },
8
- currentTabId: {
9
- type: definePropType(String)
10
- },
11
- defaultCurrentTabId: String,
12
- loop: Boolean,
13
- dir: {
14
- type: String,
15
- values: ["ltr", "rtl"],
16
- default: "ltr"
17
- },
18
- orientation: {
19
- type: definePropType(String)
20
- },
21
- onBlur: Function,
22
- onFocus: Function,
23
- onMousedown: Function
6
+ const _sfc_main = defineComponent({
7
+ name: "ElRovingFocusGroup",
8
+ components: {
9
+ ElFocusGroupCollection: ElCollection,
10
+ ElRovingFocusGroupImpl
11
+ }
24
12
  });
25
- const {
26
- ElCollection,
27
- ElCollectionItem,
28
- COLLECTION_INJECTION_KEY,
29
- COLLECTION_ITEM_INJECTION_KEY
30
- } = createCollectionWithScope("RovingFocusGroup");
13
+ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
14
+ const _component_el_roving_focus_group_impl = resolveComponent("el-roving-focus-group-impl");
15
+ const _component_el_focus_group_collection = resolveComponent("el-focus-group-collection");
16
+ return openBlock(), createBlock(_component_el_focus_group_collection, null, {
17
+ default: withCtx(() => [
18
+ createVNode(_component_el_roving_focus_group_impl, normalizeProps(guardReactiveProps(_ctx.$attrs)), {
19
+ default: withCtx(() => [
20
+ renderSlot(_ctx.$slots, "default")
21
+ ]),
22
+ _: 3
23
+ }, 16)
24
+ ]),
25
+ _: 3
26
+ });
27
+ }
28
+ var ElRovingFocusGroup = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "roving-focus-group.vue"]]);
31
29
 
32
- export { ElCollection, ElCollectionItem, COLLECTION_INJECTION_KEY as ROVING_FOCUS_COLLECTION_INJECTION_KEY, COLLECTION_ITEM_INJECTION_KEY as ROVING_FOCUS_ITEM_COLLECTION_INJECTION_KEY, rovingFocusGroupProps };
30
+ export { ElRovingFocusGroup as default };
33
31
  //# sourceMappingURL=roving-focus-group.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"roving-focus-group.mjs","sources":["../../../../../../packages/components/roving-focus-group/src/roving-focus-group.ts"],"sourcesContent":["import { buildProps, definePropType } from '@element-plus/utils'\nimport { createCollectionWithScope } from '@element-plus/components/collection'\nimport type { ExtractPropTypes, HTMLAttributes, StyleValue } from 'vue'\n\nexport const rovingFocusGroupProps = buildProps({\n style: { type: definePropType<StyleValue>([String, Array, Object]) },\n currentTabId: {\n type: definePropType<string | null>(String),\n },\n defaultCurrentTabId: String,\n loop: Boolean,\n dir: {\n type: String, // left for direction support\n values: ['ltr', 'rtl'],\n default: 'ltr',\n },\n orientation: {\n // left for orientation support\n type: definePropType<HTMLAttributes['aria-orientation']>(String),\n },\n\n onBlur: Function,\n onFocus: Function,\n onMousedown: Function,\n})\n\nexport type ElRovingFocusGroupProps = ExtractPropTypes<\n typeof rovingFocusGroupProps\n>\n\nconst {\n ElCollection,\n ElCollectionItem,\n COLLECTION_INJECTION_KEY,\n COLLECTION_ITEM_INJECTION_KEY,\n} = createCollectionWithScope('RovingFocusGroup')\n\nexport {\n ElCollection,\n ElCollectionItem,\n COLLECTION_INJECTION_KEY as ROVING_FOCUS_COLLECTION_INJECTION_KEY,\n COLLECTION_ITEM_INJECTION_KEY as ROVING_FOCUS_ITEM_COLLECTION_INJECTION_KEY,\n}\n"],"names":[],"mappings":";;;;;AAEY,MAAC,qBAAqB,GAAG,UAAU,CAAC;AAChD,EAAE,KAAK,EAAE,EAAE,IAAI,EAAE,cAAc,CAAC,CAAC,MAAM,EAAE,KAAK,EAAE,MAAM,CAAC,CAAC,EAAE;AAC1D,EAAE,YAAY,EAAE;AAChB,IAAI,IAAI,EAAE,cAAc,CAAC,MAAM,CAAC;AAChC,GAAG;AACH,EAAE,mBAAmB,EAAE,MAAM;AAC7B,EAAE,IAAI,EAAE,OAAO;AACf,EAAE,GAAG,EAAE;AACP,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,MAAM,EAAE,CAAC,KAAK,EAAE,KAAK,CAAC;AAC1B,IAAI,OAAO,EAAE,KAAK;AAClB,GAAG;AACH,EAAE,WAAW,EAAE;AACf,IAAI,IAAI,EAAE,cAAc,CAAC,MAAM,CAAC;AAChC,GAAG;AACH,EAAE,MAAM,EAAE,QAAQ;AAClB,EAAE,OAAO,EAAE,QAAQ;AACnB,EAAE,WAAW,EAAE,QAAQ;AACvB,CAAC,EAAE;AACE,MAAC;AACN,EAAE,YAAY;AACd,EAAE,gBAAgB;AAClB,EAAE,wBAAwB;AAC1B,EAAE,6BAA6B;AAC/B,CAAC,GAAG,yBAAyB,CAAC,kBAAkB;;;;"}
1
+ {"version":3,"file":"roving-focus-group.mjs","sources":["../../../../../../packages/components/roving-focus-group/src/roving-focus-group.vue"],"sourcesContent":["<template>\n <el-focus-group-collection>\n <el-roving-focus-group-impl v-bind=\"$attrs\">\n <slot />\n </el-roving-focus-group-impl>\n </el-focus-group-collection>\n</template>\n\n<script lang=\"ts\">\nimport { defineComponent } from 'vue'\nimport ElRovingFocusGroupImpl from './roving-focus-group-impl.vue'\nimport { ElCollection as ElFocusGroupCollection } from './roving-focus-group'\n\nexport default defineComponent({\n name: 'ElRovingFocusGroup',\n components: {\n ElFocusGroupCollection,\n ElRovingFocusGroupImpl,\n },\n})\n</script>\n"],"names":["ElFocusGroupCollection","_createBlock","_withCtx","_createVNode","_renderSlot"],"mappings":";;;;;AAaA,MAAK,YAAa,eAAa,CAAA;AAAA,EAC7B,IAAM,EAAA,oBAAA;AAAA,EACN,UAAY,EAAA;AAAA,4BACVA,YAAA;AAAA,IACA,sBAAA;AAAA,GACF;AACF,CAAC,CAAA,CAAA;;;;sBAlBCC,WAI4B,CAAA,oCAAA,EAAA,IAAA,EAAA;AAAA,IAAA,OAAA,EAAAC,OAAA,CAH1B,MAE6B;AAAA,MAF7BC,WAAA,CAE6B,yEAFO,IAAM,CAAA,MAAA,CAAA,CAAA,EAAA;AAAA,QAAA,OAAA,EAAAD,OAAA,CACxC,MAAQ;AAAA,UAARE,UAAQ,CAAA,IAAA,CAAA,MAAA,EAAA,SAAA,CAAA;AAAA,SAAA,CAAA;;;;;;;;;;;"}
@@ -1,31 +1,33 @@
1
- import { defineComponent, resolveComponent, openBlock, createBlock, withCtx, createVNode, normalizeProps, guardReactiveProps, renderSlot } from 'vue';
2
- import ElRovingFocusGroupImpl from './roving-focus-group-impl.mjs';
3
- import { ElCollection } from './roving-focus-group.mjs';
4
- import _export_sfc from '../../../_virtual/plugin-vue_export-helper.mjs';
1
+ import '../../../utils/index.mjs';
2
+ import '../../collection/index.mjs';
3
+ import { buildProps, definePropType } from '../../../utils/vue/props/runtime.mjs';
4
+ import { createCollectionWithScope } from '../../collection/src/collection.mjs';
5
5
 
6
- const _sfc_main = defineComponent({
7
- name: "ElRovingFocusGroup",
8
- components: {
9
- ElFocusGroupCollection: ElCollection,
10
- ElRovingFocusGroupImpl
11
- }
6
+ const rovingFocusGroupProps = buildProps({
7
+ style: { type: definePropType([String, Array, Object]) },
8
+ currentTabId: {
9
+ type: definePropType(String)
10
+ },
11
+ defaultCurrentTabId: String,
12
+ loop: Boolean,
13
+ dir: {
14
+ type: String,
15
+ values: ["ltr", "rtl"],
16
+ default: "ltr"
17
+ },
18
+ orientation: {
19
+ type: definePropType(String)
20
+ },
21
+ onBlur: Function,
22
+ onFocus: Function,
23
+ onMousedown: Function
12
24
  });
13
- function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
14
- const _component_el_roving_focus_group_impl = resolveComponent("el-roving-focus-group-impl");
15
- const _component_el_focus_group_collection = resolveComponent("el-focus-group-collection");
16
- return openBlock(), createBlock(_component_el_focus_group_collection, null, {
17
- default: withCtx(() => [
18
- createVNode(_component_el_roving_focus_group_impl, normalizeProps(guardReactiveProps(_ctx.$attrs)), {
19
- default: withCtx(() => [
20
- renderSlot(_ctx.$slots, "default")
21
- ]),
22
- _: 3
23
- }, 16)
24
- ]),
25
- _: 3
26
- });
27
- }
28
- var ElRovingFocusGroup = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "roving-focus-group.vue"]]);
25
+ const {
26
+ ElCollection,
27
+ ElCollectionItem,
28
+ COLLECTION_INJECTION_KEY,
29
+ COLLECTION_ITEM_INJECTION_KEY
30
+ } = createCollectionWithScope("RovingFocusGroup");
29
31
 
30
- export { ElRovingFocusGroup as default };
32
+ export { ElCollection, ElCollectionItem, COLLECTION_INJECTION_KEY as ROVING_FOCUS_COLLECTION_INJECTION_KEY, COLLECTION_ITEM_INJECTION_KEY as ROVING_FOCUS_ITEM_COLLECTION_INJECTION_KEY, rovingFocusGroupProps };
31
33
  //# sourceMappingURL=roving-focus-group2.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"roving-focus-group2.mjs","sources":["../../../../../../packages/components/roving-focus-group/src/roving-focus-group.vue"],"sourcesContent":["<template>\n <el-focus-group-collection>\n <el-roving-focus-group-impl v-bind=\"$attrs\">\n <slot />\n </el-roving-focus-group-impl>\n </el-focus-group-collection>\n</template>\n\n<script lang=\"ts\">\nimport { defineComponent } from 'vue'\nimport ElRovingFocusGroupImpl from './roving-focus-group-impl.vue'\nimport { ElCollection as ElFocusGroupCollection } from './roving-focus-group'\n\nexport default defineComponent({\n name: 'ElRovingFocusGroup',\n components: {\n ElFocusGroupCollection,\n ElRovingFocusGroupImpl,\n },\n})\n</script>\n"],"names":["ElFocusGroupCollection","_createBlock","_withCtx","_createVNode","_renderSlot"],"mappings":";;;;;AAaA,MAAK,YAAa,eAAa,CAAA;AAAA,EAC7B,IAAM,EAAA,oBAAA;AAAA,EACN,UAAY,EAAA;AAAA,4BACVA,YAAA;AAAA,IACA,sBAAA;AAAA,GACF;AACF,CAAC,CAAA,CAAA;;;;sBAlBCC,WAI4B,CAAA,oCAAA,EAAA,IAAA,EAAA;AAAA,IAAA,OAAA,EAAAC,OAAA,CAH1B,MAE6B;AAAA,MAF7BC,WAAA,CAE6B,yEAFO,IAAM,CAAA,MAAA,CAAA,CAAA,EAAA;AAAA,QAAA,OAAA,EAAAD,OAAA,CACxC,MAAQ;AAAA,UAARE,UAAQ,CAAA,IAAA,CAAA,MAAA,EAAA,SAAA,CAAA;AAAA,SAAA,CAAA;;;;;;;;;;;"}
1
+ {"version":3,"file":"roving-focus-group2.mjs","sources":["../../../../../../packages/components/roving-focus-group/src/roving-focus-group.ts"],"sourcesContent":["import { buildProps, definePropType } from '@element-plus/utils'\nimport { createCollectionWithScope } from '@element-plus/components/collection'\nimport type { ExtractPropTypes, HTMLAttributes, StyleValue } from 'vue'\n\nexport const rovingFocusGroupProps = buildProps({\n style: { type: definePropType<StyleValue>([String, Array, Object]) },\n currentTabId: {\n type: definePropType<string | null>(String),\n },\n defaultCurrentTabId: String,\n loop: Boolean,\n dir: {\n type: String, // left for direction support\n values: ['ltr', 'rtl'],\n default: 'ltr',\n },\n orientation: {\n // left for orientation support\n type: definePropType<HTMLAttributes['aria-orientation']>(String),\n },\n\n onBlur: Function,\n onFocus: Function,\n onMousedown: Function,\n})\n\nexport type ElRovingFocusGroupProps = ExtractPropTypes<\n typeof rovingFocusGroupProps\n>\n\nconst {\n ElCollection,\n ElCollectionItem,\n COLLECTION_INJECTION_KEY,\n COLLECTION_ITEM_INJECTION_KEY,\n} = createCollectionWithScope('RovingFocusGroup')\n\nexport {\n ElCollection,\n ElCollectionItem,\n COLLECTION_INJECTION_KEY as ROVING_FOCUS_COLLECTION_INJECTION_KEY,\n COLLECTION_ITEM_INJECTION_KEY as ROVING_FOCUS_ITEM_COLLECTION_INJECTION_KEY,\n}\n"],"names":[],"mappings":";;;;;AAEY,MAAC,qBAAqB,GAAG,UAAU,CAAC;AAChD,EAAE,KAAK,EAAE,EAAE,IAAI,EAAE,cAAc,CAAC,CAAC,MAAM,EAAE,KAAK,EAAE,MAAM,CAAC,CAAC,EAAE;AAC1D,EAAE,YAAY,EAAE;AAChB,IAAI,IAAI,EAAE,cAAc,CAAC,MAAM,CAAC;AAChC,GAAG;AACH,EAAE,mBAAmB,EAAE,MAAM;AAC7B,EAAE,IAAI,EAAE,OAAO;AACf,EAAE,GAAG,EAAE;AACP,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,MAAM,EAAE,CAAC,KAAK,EAAE,KAAK,CAAC;AAC1B,IAAI,OAAO,EAAE,KAAK;AAClB,GAAG;AACH,EAAE,WAAW,EAAE;AACf,IAAI,IAAI,EAAE,cAAc,CAAC,MAAM,CAAC;AAChC,GAAG;AACH,EAAE,MAAM,EAAE,QAAQ;AAClB,EAAE,OAAO,EAAE,QAAQ;AACnB,EAAE,WAAW,EAAE,QAAQ;AACvB,CAAC,EAAE;AACE,MAAC;AACN,EAAE,YAAY;AACd,EAAE,gBAAgB;AAClB,EAAE,wBAAwB;AAC1B,EAAE,6BAA6B;AAC/B,CAAC,GAAG,yBAAyB,CAAC,kBAAkB;;;;"}
@@ -2,7 +2,7 @@ import { defineComponent, inject, ref, unref, nextTick, computed, provide, resol
2
2
  import '../../../hooks/index.mjs';
3
3
  import '../../../utils/index.mjs';
4
4
  import '../../../constants/index.mjs';
5
- import { ElCollectionItem, ROVING_FOCUS_COLLECTION_INJECTION_KEY as COLLECTION_INJECTION_KEY } from './roving-focus-group.mjs';
5
+ import { ElCollectionItem, ROVING_FOCUS_COLLECTION_INJECTION_KEY as COLLECTION_INJECTION_KEY } from './roving-focus-group2.mjs';
6
6
  import { ROVING_FOCUS_GROUP_INJECTION_KEY, ROVING_FOCUS_GROUP_ITEM_INJECTION_KEY } from './tokens.mjs';
7
7
  import { getFocusIntent, reorderArray, focusFirst } from './utils.mjs';
8
8
  import _export_sfc from '../../../_virtual/plugin-vue_export-helper.mjs';
@@ -1 +1 @@
1
- {"version":3,"file":"index.mjs","sources":["../../../../../packages/components/select-v2/index.ts"],"sourcesContent":["import Select from './src/select.vue'\n\nimport type { App } from 'vue'\nimport type { SFCWithInstall } from '@element-plus/utils'\n\nSelect.install = (app: App): void => {\n app.component(Select.name, Select)\n}\n\nconst _Select = Select as SFCWithInstall<typeof Select>\n\nexport default _Select\nexport const ElSelectV2 = _Select\n\nexport * from './src/token'\n"],"names":[],"mappings":";;;AACA,MAAM,CAAC,OAAO,GAAG,CAAC,GAAG,KAAK;AAC1B,EAAE,GAAG,CAAC,SAAS,CAAC,MAAM,CAAC,IAAI,EAAE,MAAM,CAAC,CAAC;AACrC,CAAC,CAAC;AACG,MAAC,OAAO,GAAG,OAAO;AAEX,MAAC,UAAU,GAAG;;;;"}
1
+ {"version":3,"file":"index.mjs","sources":["../../../../../packages/components/select-v2/index.ts"],"sourcesContent":["import Select from './src/select.vue'\n\nimport type { App } from 'vue'\nimport type { SFCWithInstall } from '@element-plus/utils'\n\nSelect.install = (app: App): void => {\n app.component(Select.name!, Select)\n}\n\nconst _Select = Select as SFCWithInstall<typeof Select>\n\nexport default _Select\nexport const ElSelectV2 = _Select\n\nexport * from './src/token'\n"],"names":[],"mappings":";;;AACA,MAAM,CAAC,OAAO,GAAG,CAAC,GAAG,KAAK;AAC1B,EAAE,GAAG,CAAC,SAAS,CAAC,MAAM,CAAC,IAAI,EAAE,MAAM,CAAC,CAAC;AACrC,CAAC,CAAC;AACG,MAAC,OAAO,GAAG,OAAO;AAEX,MAAC,UAAU,GAAG;;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.mjs","sources":["../../../../../packages/components/time-picker/index.ts"],"sourcesContent":["import TimePicker from './src/time-picker'\nimport CommonPicker from './src/common/picker.vue'\nimport TimePickPanel from './src/time-picker-com/panel-time-pick.vue'\n\nimport type { App } from 'vue'\nimport type { SFCWithInstall } from '@element-plus/utils'\n\nexport * from './src/utils'\nexport * from './src/constants'\nexport * from './src/common/props'\n\nconst _TimePicker = TimePicker as SFCWithInstall<typeof TimePicker>\n\n_TimePicker.install = (app: App) => {\n app.component(_TimePicker.name, _TimePicker)\n}\n\nexport { CommonPicker, TimePickPanel }\nexport default _TimePicker\nexport const ElTimePicker = _TimePicker\n"],"names":[],"mappings":";;;;;;;AAMK,MAAC,WAAW,GAAG,WAAW;AAC/B,WAAW,CAAC,OAAO,GAAG,CAAC,GAAG,KAAK;AAC/B,EAAE,GAAG,CAAC,SAAS,CAAC,WAAW,CAAC,IAAI,EAAE,WAAW,CAAC,CAAC;AAC/C,CAAC,CAAC;AAGU,MAAC,YAAY,GAAG;;;;"}
1
+ {"version":3,"file":"index.mjs","sources":["../../../../../packages/components/time-picker/index.ts"],"sourcesContent":["import TimePicker from './src/time-picker'\nimport CommonPicker from './src/common/picker.vue'\nimport TimePickPanel from './src/time-picker-com/panel-time-pick.vue'\n\nimport type { App } from 'vue'\nimport type { SFCWithInstall } from '@element-plus/utils'\n\nexport * from './src/utils'\nexport * from './src/constants'\nexport * from './src/common/props'\n\nconst _TimePicker = TimePicker as SFCWithInstall<typeof TimePicker>\n\n_TimePicker.install = (app: App) => {\n app.component(_TimePicker.name!, _TimePicker)\n}\n\nexport { CommonPicker, TimePickPanel }\nexport default _TimePicker\nexport const ElTimePicker = _TimePicker\n"],"names":[],"mappings":";;;;;;;AAMK,MAAC,WAAW,GAAG,WAAW;AAC/B,WAAW,CAAC,OAAO,GAAG,CAAC,GAAG,KAAK;AAC/B,EAAE,GAAG,CAAC,SAAS,CAAC,WAAW,CAAC,IAAI,EAAE,WAAW,CAAC,CAAC;AAC/C,CAAC,CAAC;AAGU,MAAC,YAAY,GAAG;;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.mjs","sources":["../../../../../packages/components/time-select/index.ts"],"sourcesContent":["import TimeSelect from './src/time-select.vue'\n\nimport type { App } from 'vue'\nimport type { SFCWithInstall } from '@element-plus/utils'\n\nTimeSelect.install = (app: App): void => {\n app.component(TimeSelect.name, TimeSelect)\n}\n\nconst _TimeSelect = TimeSelect as SFCWithInstall<typeof TimeSelect>\n\nexport default _TimeSelect\nexport const ElTimeSelect = _TimeSelect\n"],"names":[],"mappings":";;AACA,UAAU,CAAC,OAAO,GAAG,CAAC,GAAG,KAAK;AAC9B,EAAE,GAAG,CAAC,SAAS,CAAC,UAAU,CAAC,IAAI,EAAE,UAAU,CAAC,CAAC;AAC7C,CAAC,CAAC;AACG,MAAC,WAAW,GAAG,WAAW;AAEnB,MAAC,YAAY,GAAG;;;;"}
1
+ {"version":3,"file":"index.mjs","sources":["../../../../../packages/components/time-select/index.ts"],"sourcesContent":["import TimeSelect from './src/time-select.vue'\n\nimport type { App } from 'vue'\nimport type { SFCWithInstall } from '@element-plus/utils'\n\nTimeSelect.install = (app: App): void => {\n app.component(TimeSelect.name!, TimeSelect)\n}\n\nconst _TimeSelect = TimeSelect as SFCWithInstall<typeof TimeSelect>\n\nexport default _TimeSelect\nexport const ElTimeSelect = _TimeSelect\n"],"names":[],"mappings":";;AACA,UAAU,CAAC,OAAO,GAAG,CAAC,GAAG,KAAK;AAC9B,EAAE,GAAG,CAAC,SAAS,CAAC,UAAU,CAAC,IAAI,EAAE,UAAU,CAAC,CAAC;AAC7C,CAAC,CAAC;AACG,MAAC,WAAW,GAAG,WAAW;AAEnB,MAAC,YAAY,GAAG;;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.mjs","sources":["../../../../../packages/components/tree/index.ts"],"sourcesContent":["import Tree from './src/tree.vue'\n\nimport type { App } from 'vue'\nimport type { SFCWithInstall } from '@element-plus/utils'\n\nTree.install = (app: App): void => {\n app.component(Tree.name, Tree)\n}\n\nconst _Tree = Tree as SFCWithInstall<typeof Tree>\n\nexport default _Tree\nexport const ElTree = _Tree\nexport type { TreeInstance } from './src/instance'\n"],"names":[],"mappings":";;AACA,IAAI,CAAC,OAAO,GAAG,CAAC,GAAG,KAAK;AACxB,EAAE,GAAG,CAAC,SAAS,CAAC,IAAI,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC;AACjC,CAAC,CAAC;AACG,MAAC,KAAK,GAAG,KAAK;AAEP,MAAC,MAAM,GAAG;;;;"}
1
+ {"version":3,"file":"index.mjs","sources":["../../../../../packages/components/tree/index.ts"],"sourcesContent":["import Tree from './src/tree.vue'\n\nimport type { App } from 'vue'\nimport type { SFCWithInstall } from '@element-plus/utils'\n\nTree.install = (app: App): void => {\n app.component(Tree.name!, Tree)\n}\n\nconst _Tree = Tree as SFCWithInstall<typeof Tree>\n\nexport default _Tree\nexport const ElTree = _Tree\nexport type { TreeInstance } from './src/instance'\n"],"names":[],"mappings":";;AACA,IAAI,CAAC,OAAO,GAAG,CAAC,GAAG,KAAK;AACxB,EAAE,GAAG,CAAC,SAAS,CAAC,IAAI,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC;AACjC,CAAC,CAAC;AACG,MAAC,KAAK,GAAG,KAAK;AAEP,MAAC,MAAM,GAAG;;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.mjs","sources":["../../../../../packages/components/tree-select/index.ts"],"sourcesContent":["import TreeSelect from './src/tree-select.vue'\n\nimport type { App } from 'vue'\nimport type { SFCWithInstall } from '@element-plus/utils'\n\nTreeSelect.install = (app: App): void => {\n app.component(TreeSelect.name, TreeSelect)\n}\n\nconst _TreeSelect = TreeSelect as SFCWithInstall<typeof TreeSelect>\n\nexport default _TreeSelect\nexport const ElTreeSelect = _TreeSelect\n"],"names":[],"mappings":";;AACA,UAAU,CAAC,OAAO,GAAG,CAAC,GAAG,KAAK;AAC9B,EAAE,GAAG,CAAC,SAAS,CAAC,UAAU,CAAC,IAAI,EAAE,UAAU,CAAC,CAAC;AAC7C,CAAC,CAAC;AACG,MAAC,WAAW,GAAG,WAAW;AAEnB,MAAC,YAAY,GAAG;;;;"}
1
+ {"version":3,"file":"index.mjs","sources":["../../../../../packages/components/tree-select/index.ts"],"sourcesContent":["import TreeSelect from './src/tree-select.vue'\n\nimport type { App } from 'vue'\nimport type { SFCWithInstall } from '@element-plus/utils'\n\nTreeSelect.install = (app: App): void => {\n app.component(TreeSelect.name!, TreeSelect)\n}\n\nconst _TreeSelect = TreeSelect as SFCWithInstall<typeof TreeSelect>\n\nexport default _TreeSelect\nexport const ElTreeSelect = _TreeSelect\n"],"names":[],"mappings":";;AACA,UAAU,CAAC,OAAO,GAAG,CAAC,GAAG,KAAK;AAC9B,EAAE,GAAG,CAAC,SAAS,CAAC,UAAU,CAAC,IAAI,EAAE,UAAU,CAAC,CAAC;AAC7C,CAAC,CAAC;AACG,MAAC,WAAW,GAAG,WAAW;AAEnB,MAAC,YAAY,GAAG;;;;"}
package/es/index.mjs CHANGED
@@ -125,7 +125,7 @@ export { progressProps } from './components/progress/src/progress.mjs';
125
125
  export { ElProgress } from './components/progress/index.mjs';
126
126
  export { radioEmits, radioProps, radioPropsBase } from './components/radio/src/radio.mjs';
127
127
  export { radioGroupEmits, radioGroupProps } from './components/radio/src/radio-group.mjs';
128
- export { radioButtonProps } from './components/radio/src/radio-button2.mjs';
128
+ export { radioButtonProps } from './components/radio/src/radio-button.mjs';
129
129
  export { radioGroupKey } from './components/radio/src/constants.mjs';
130
130
  export { ElRadio, ElRadioButton, ElRadioGroup } from './components/radio/index.mjs';
131
131
  export { rateEmits, rateProps } from './components/rate/src/rate.mjs';
package/es/version.d.ts CHANGED
@@ -1 +1 @@
1
- export declare const version = "0.0.20240513";
1
+ export declare const version = "0.0.20240515";
package/es/version.mjs CHANGED
@@ -1,4 +1,4 @@
1
- const version = "0.0.20240513";
1
+ const version = "0.0.20240515";
2
2
 
3
3
  export { version };
4
4
  //# sourceMappingURL=version.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"version.mjs","sources":["../../../packages/element-plus/version.ts"],"sourcesContent":["export const version = '0.0.20240513'\n"],"names":[],"mappings":"AAAY,MAAC,OAAO,GAAG;;;;"}
1
+ {"version":3,"file":"version.mjs","sources":["../../../packages/element-plus/version.ts"],"sourcesContent":["export const version = '0.0.20240515'\n"],"names":[],"mappings":"AAAY,MAAC,OAAO,GAAG;;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":["../../../../../packages/components/cascader/index.ts"],"sourcesContent":["import Cascader from './src/cascader.vue'\nimport type { App } from 'vue'\nimport type { SFCWithInstall } from '@element-plus/utils'\n\nCascader.install = (app: App): void => {\n app.component(Cascader.name, Cascader)\n}\n\nconst _Cascader = Cascader as SFCWithInstall<typeof Cascader>\n\nexport default _Cascader\nexport const ElCascader = _Cascader\n\nexport * from './src/cascader'\nexport * from './src/instances'\n"],"names":["Cascader"],"mappings":";;;;;;;;AACAA,qBAAQ,CAAC,OAAO,GAAG,CAAC,GAAG,KAAK;AAC5B,EAAE,GAAG,CAAC,SAAS,CAACA,qBAAQ,CAAC,IAAI,EAAEA,qBAAQ,CAAC,CAAC;AACzC,CAAC,CAAC;AACG,MAAC,SAAS,GAAGA,sBAAS;AAEf,MAAC,UAAU,GAAG;;;;;;;"}
1
+ {"version":3,"file":"index.js","sources":["../../../../../packages/components/cascader/index.ts"],"sourcesContent":["import Cascader from './src/cascader.vue'\nimport type { App } from 'vue'\nimport type { SFCWithInstall } from '@element-plus/utils'\n\nCascader.install = (app: App): void => {\n app.component(Cascader.name!, Cascader)\n}\n\nconst _Cascader = Cascader as SFCWithInstall<typeof Cascader>\n\nexport default _Cascader\nexport const ElCascader = _Cascader\n\nexport * from './src/cascader'\nexport * from './src/instances'\n"],"names":["Cascader"],"mappings":";;;;;;;;AACAA,qBAAQ,CAAC,OAAO,GAAG,CAAC,GAAG,KAAK;AAC5B,EAAE,GAAG,CAAC,SAAS,CAACA,qBAAQ,CAAC,IAAI,EAAEA,qBAAQ,CAAC,CAAC;AACzC,CAAC,CAAC;AACG,MAAC,SAAS,GAAGA,sBAAS;AAEf,MAAC,UAAU,GAAG;;;;;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":["../../../../../packages/components/cascader-panel/index.ts"],"sourcesContent":["import CascaderPanel from './src/index.vue'\nimport type { App } from 'vue'\nimport type { SFCWithInstall } from '@element-plus/utils'\n\nCascaderPanel.install = (app: App): void => {\n app.component(CascaderPanel.name, CascaderPanel)\n}\n\nconst _CascaderPanel = CascaderPanel as SFCWithInstall<typeof CascaderPanel>\n\nexport default _CascaderPanel\nexport const ElCascaderPanel = _CascaderPanel\nexport * from './src/types'\nexport * from './src/config'\nexport * from './src/instance'\n"],"names":["CascaderPanel"],"mappings":";;;;;;;;;AACAA,gBAAa,CAAC,OAAO,GAAG,CAAC,GAAG,KAAK;AACjC,EAAE,GAAG,CAAC,SAAS,CAACA,gBAAa,CAAC,IAAI,EAAEA,gBAAa,CAAC,CAAC;AACnD,CAAC,CAAC;AACG,MAAC,cAAc,GAAGA,iBAAc;AAEzB,MAAC,eAAe,GAAG;;;;;;;;;"}
1
+ {"version":3,"file":"index.js","sources":["../../../../../packages/components/cascader-panel/index.ts"],"sourcesContent":["import CascaderPanel from './src/index.vue'\nimport type { App } from 'vue'\nimport type { SFCWithInstall } from '@element-plus/utils'\n\nCascaderPanel.install = (app: App): void => {\n app.component(CascaderPanel.name!, CascaderPanel)\n}\n\nconst _CascaderPanel = CascaderPanel as SFCWithInstall<typeof CascaderPanel>\n\nexport default _CascaderPanel\nexport const ElCascaderPanel = _CascaderPanel\nexport * from './src/types'\nexport * from './src/config'\nexport * from './src/instance'\n"],"names":["CascaderPanel"],"mappings":";;;;;;;;;AACAA,gBAAa,CAAC,OAAO,GAAG,CAAC,GAAG,KAAK;AACjC,EAAE,GAAG,CAAC,SAAS,CAACA,gBAAa,CAAC,IAAI,EAAEA,gBAAa,CAAC,CAAC;AACnD,CAAC,CAAC;AACG,MAAC,cAAc,GAAGA,iBAAc;AAEzB,MAAC,eAAe,GAAG;;;;;;;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":["../../../../../packages/components/collapse-transition/index.ts"],"sourcesContent":["import CollapseTransition from './src/collapse-transition.vue'\nimport type { App } from 'vue'\nimport type { SFCWithInstall } from '@element-plus/utils'\n\nCollapseTransition.install = (app: App): void => {\n app.component(CollapseTransition.name, CollapseTransition)\n}\n\nconst _CollapseTransition = CollapseTransition as SFCWithInstall<\n typeof CollapseTransition\n>\n\nexport default _CollapseTransition\nexport const ElCollapseTransition = _CollapseTransition\n"],"names":["CollapseTransition"],"mappings":";;;;;;AACAA,6BAAkB,CAAC,OAAO,GAAG,CAAC,GAAG,KAAK;AACtC,EAAE,GAAG,CAAC,SAAS,CAACA,6BAAkB,CAAC,IAAI,EAAEA,6BAAkB,CAAC,CAAC;AAC7D,CAAC,CAAC;AACG,MAAC,mBAAmB,GAAGA,8BAAmB;AAEnC,MAAC,oBAAoB,GAAG;;;;;"}
1
+ {"version":3,"file":"index.js","sources":["../../../../../packages/components/collapse-transition/index.ts"],"sourcesContent":["import CollapseTransition from './src/collapse-transition.vue'\nimport type { App } from 'vue'\nimport type { SFCWithInstall } from '@element-plus/utils'\n\nCollapseTransition.install = (app: App): void => {\n app.component(CollapseTransition.name!, CollapseTransition)\n}\n\nconst _CollapseTransition = CollapseTransition as SFCWithInstall<\n typeof CollapseTransition\n>\n\nexport default _CollapseTransition\nexport const ElCollapseTransition = _CollapseTransition\n"],"names":["CollapseTransition"],"mappings":";;;;;;AACAA,6BAAkB,CAAC,OAAO,GAAG,CAAC,GAAG,KAAK;AACtC,EAAE,GAAG,CAAC,SAAS,CAACA,6BAAkB,CAAC,IAAI,EAAEA,6BAAkB,CAAC,CAAC;AAC7D,CAAC,CAAC;AACG,MAAC,mBAAmB,GAAGA,8BAAmB;AAEnC,MAAC,oBAAoB,GAAG;;;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":["../../../../../packages/components/date-picker/index.ts"],"sourcesContent":["import DatePicker from './src/date-picker'\n\nimport type { App } from 'vue'\nimport type { SFCWithInstall } from '@element-plus/utils'\n\nconst _DatePicker = DatePicker as SFCWithInstall<typeof DatePicker>\n\n_DatePicker.install = (app: App) => {\n app.component(_DatePicker.name, _DatePicker)\n}\n\nexport default _DatePicker\nexport const ElDatePicker = _DatePicker\nexport * from './src/constants'\nexport * from './src/props/date-picker'\nexport type { DatePickerInstance } from './src/instance'\n"],"names":["DatePicker"],"mappings":";;;;;;;;AACK,MAAC,WAAW,GAAGA,wBAAW;AAC/B,WAAW,CAAC,OAAO,GAAG,CAAC,GAAG,KAAK;AAC/B,EAAE,GAAG,CAAC,SAAS,CAAC,WAAW,CAAC,IAAI,EAAE,WAAW,CAAC,CAAC;AAC/C,CAAC,CAAC;AAEU,MAAC,YAAY,GAAG;;;;;;;"}
1
+ {"version":3,"file":"index.js","sources":["../../../../../packages/components/date-picker/index.ts"],"sourcesContent":["import DatePicker from './src/date-picker'\n\nimport type { App } from 'vue'\nimport type { SFCWithInstall } from '@element-plus/utils'\n\nconst _DatePicker = DatePicker as SFCWithInstall<typeof DatePicker>\n\n_DatePicker.install = (app: App) => {\n app.component(_DatePicker.name!, _DatePicker)\n}\n\nexport default _DatePicker\nexport const ElDatePicker = _DatePicker\nexport * from './src/constants'\nexport * from './src/props/date-picker'\nexport type { DatePickerInstance } from './src/instance'\n"],"names":["DatePicker"],"mappings":";;;;;;;;AACK,MAAC,WAAW,GAAGA,wBAAW;AAC/B,WAAW,CAAC,OAAO,GAAG,CAAC,GAAG,KAAK;AAC/B,EAAE,GAAG,CAAC,SAAS,CAAC,WAAW,CAAC,IAAI,EAAE,WAAW,CAAC,CAAC;AAC/C,CAAC,CAAC;AAEU,MAAC,YAAY,GAAG;;;;;;;"}
@@ -13,7 +13,7 @@ var dropdown = require('./dropdown.js');
13
13
  var tokens = require('./tokens.js');
14
14
  var pluginVue_exportHelper = require('../../../_virtual/plugin-vue_export-helper.js');
15
15
  var index$1 = require('../../../hooks/use-namespace/index.js');
16
- var rovingFocusGroup = require('../../roving-focus-group/src/roving-focus-group.js');
16
+ var rovingFocusGroup = require('../../roving-focus-group/src/roving-focus-group2.js');
17
17
  var tokens$1 = require('../../roving-focus-group/src/tokens.js');
18
18
  var refs = require('../../../utils/vue/refs.js');
19
19
  var event = require('../../../utils/dom/event.js');
@@ -15,7 +15,7 @@ var pluginVue_exportHelper = require('../../../_virtual/plugin-vue_export-helper
15
15
  var index = require('../../../hooks/use-namespace/index.js');
16
16
  var tokens = require('../../focus-trap/src/tokens.js');
17
17
  var tokens$2 = require('../../roving-focus-group/src/tokens.js');
18
- var rovingFocusGroup = require('../../roving-focus-group/src/roving-focus-group.js');
18
+ var rovingFocusGroup = require('../../roving-focus-group/src/roving-focus-group2.js');
19
19
  var refs = require('../../../utils/vue/refs.js');
20
20
  var event = require('../../../utils/dom/event.js');
21
21
  var aria = require('../../../constants/aria.js');
@@ -17,7 +17,7 @@ require('../../../hooks/index.js');
17
17
  var dropdown = require('./dropdown.js');
18
18
  var tokens = require('./tokens.js');
19
19
  var pluginVue_exportHelper = require('../../../_virtual/plugin-vue_export-helper.js');
20
- var rovingFocusGroup = require('../../roving-focus-group/src/roving-focus-group2.js');
20
+ var rovingFocusGroup = require('../../roving-focus-group/src/roving-focus-group.js');
21
21
  var onlyChild = require('../../slot/src/only-child.js');
22
22
  var index$4 = require('../../../hooks/use-namespace/index.js');
23
23
  var index$5 = require('../../../hooks/use-locale/index.js');
@@ -159,7 +159,7 @@ var content = require('./popper/src/content2.js');
159
159
  var progress = require('./progress/src/progress.js');
160
160
  var radio = require('./radio/src/radio.js');
161
161
  var radioGroup = require('./radio/src/radio-group.js');
162
- var radioButton = require('./radio/src/radio-button2.js');
162
+ var radioButton = require('./radio/src/radio-button.js');
163
163
  var constants$b = require('./radio/src/constants.js');
164
164
  var rate = require('./rate/src/rate.js');
165
165
  var result = require('./result/src/result.js');
@@ -4,11 +4,11 @@ Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  require('../../utils/index.js');
6
6
  var radio$1 = require('./src/radio2.js');
7
- var radioButton$1 = require('./src/radio-button.js');
7
+ var radioButton$1 = require('./src/radio-button2.js');
8
8
  var radioGroup$1 = require('./src/radio-group2.js');
9
9
  var radio = require('./src/radio.js');
10
10
  var radioGroup = require('./src/radio-group.js');
11
- var radioButton = require('./src/radio-button2.js');
11
+ var radioButton = require('./src/radio-button.js');
12
12
  var constants = require('./src/constants.js');
13
13
  var install = require('../../utils/vue/install.js');
14
14