vft 0.0.89 → 0.0.91

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 (240) hide show
  1. package/attributes.json +1 -1
  2. package/es/comp-resolver.js +20 -29
  3. package/es/components/affix/affix.vue2.js +34 -34
  4. package/es/components/alert/alert.vue2.js +44 -44
  5. package/es/components/avatar/avatar.vue2.js +28 -28
  6. package/es/components/backtop/backtop.vue2.js +11 -11
  7. package/es/components/button/button-group.vue2.js +8 -8
  8. package/es/components/button/button.vue2.js +39 -39
  9. package/es/components/card/card.vue2.js +20 -20
  10. package/es/components/check-tag/check-tag.vue2.js +14 -14
  11. package/es/components/checkbox/checkbox-button.vue2.js +61 -61
  12. package/es/components/checkbox/checkbox-group.vue2.js +27 -27
  13. package/es/components/checkbox/checkbox.vue2.js +81 -81
  14. package/es/components/clamp/clamp.vue2.js +59 -59
  15. package/es/components/clamp-toggle/clamp-toggle.vue2.js +25 -25
  16. package/es/components/col/col.vue2.js +33 -33
  17. package/es/components/color-picker/color-picker.vue2.js +126 -126
  18. package/es/components/color-picker/components/alpha-slider.vue2.js +12 -12
  19. package/es/components/config-provider/config-provider.vue2.js +29 -29
  20. package/es/components/container/aside.vue2.js +9 -9
  21. package/es/components/container/container.vue2.js +11 -11
  22. package/es/components/container/footer.vue2.js +8 -8
  23. package/es/components/container/header.vue2.js +9 -9
  24. package/es/components/context-menu/context-menu.vue2.js +29 -29
  25. package/es/components/date-picker/date-picker-com/basic-date-table.vue2.js +53 -53
  26. package/es/components/date-picker/date-picker-com/basic-month-table.vue2.js +19 -19
  27. package/es/components/date-picker/date-picker-com/basic-year-table.vue2.js +32 -32
  28. package/es/components/date-picker/date-picker-com/panel-date-pick.vue2.js +168 -168
  29. package/es/components/date-picker/date-picker-com/panel-date-range.vue2.js +89 -89
  30. package/es/components/date-picker/date-picker-com/panel-month-range.vue2.js +38 -38
  31. package/es/components/descriptions/description-item.vue2.js +16 -16
  32. package/es/components/descriptions/description.vue2.js +54 -54
  33. package/es/components/descriptions/descriptions-row.vue2.js +24 -24
  34. package/es/components/dialog/dialog-content.vue2.js +30 -30
  35. package/es/components/dialog/dialog.vue2.js +64 -64
  36. package/es/components/divider/divider.vue2.js +20 -20
  37. package/es/components/dropdown/dropdown.vue.js +2 -127
  38. package/es/components/dropdown/dropdown.vue2.js +234 -181
  39. package/es/components/dropdown/index.js +10 -17
  40. package/es/components/dropdown/style/css.js +5 -0
  41. package/es/components/dropdown/style/index.js +5 -0
  42. package/es/components/dropdown/tokens.js +1 -1
  43. package/es/components/empty/empty.vue2.js +27 -27
  44. package/es/components/exception/exception.vue2.js +19 -19
  45. package/es/components/footer-layout/footer-layout.vue2.js +1 -1
  46. package/es/components/form/form-item.vue2.js +77 -77
  47. package/es/components/form/form.vue2.js +37 -37
  48. package/es/components/full-screen/full-screen.vue2.js +26 -15
  49. package/es/components/header-layout/header-layout.vue2.js +27 -27
  50. package/es/components/horizontal-menu/horizontal-menu.vue2.js +43 -43
  51. package/es/components/icon/icon.vue2.js +24 -24
  52. package/es/components/icon-text/icon-text.vue2.js +27 -27
  53. package/es/components/iframe-layout/iframe-layout.vue2.js +18 -18
  54. package/es/components/iframe-layout/iframe-page.vue2.js +11 -11
  55. package/es/components/image/image.vue2.js +73 -73
  56. package/es/components/image-viewer/image-viewer.vue2.js +109 -109
  57. package/es/components/index.js +145 -150
  58. package/es/components/input/input.vue2.js +175 -175
  59. package/es/components/link/link.vue2.js +27 -27
  60. package/es/components/list-cell/list-cell.vue2.js +8 -8
  61. package/es/components/logo/logo.vue2.js +27 -27
  62. package/es/components/md-container/md-container.vue2.js +1 -1
  63. package/es/components/md-vue-playground/md-vue-playground.vue2.js +16 -16
  64. package/es/components/menu/menu-item-group.vue2.js +15 -15
  65. package/es/components/menu/menu-item.vue2.js +56 -56
  66. package/es/components/menu/menu.vue2.js +20 -20
  67. package/es/components/menu/sub-menu.vue2.js +16 -16
  68. package/es/components/message/message.vue2.js +81 -81
  69. package/es/components/multiple-tabs/multiple-tabs.vue2.js +12 -12
  70. package/es/components/multiple-tabs/tab-content.vue2.js +16 -16
  71. package/es/components/overlay/overlay.vue2.js +14 -14
  72. package/es/components/page-wrapper/page-wrapper.vue2.js +12 -12
  73. package/es/components/pagination/components/jumper.vue2.js +22 -22
  74. package/es/components/pagination/components/next.vue2.js +12 -12
  75. package/es/components/pagination/components/pager.vue2.js +75 -75
  76. package/es/components/pagination/components/prev.vue2.js +13 -13
  77. package/es/components/pagination/components/sizes.vue2.js +11 -11
  78. package/es/components/pagination/components/total.vue2.js +8 -8
  79. package/es/components/pagination/pagination.vue2.js +28 -28
  80. package/es/components/popconfirm/popconfirm.vue2.js +50 -50
  81. package/es/components/popover/popover.vue2.js +44 -44
  82. package/es/components/popper/arrow.vue2.js +2 -2
  83. package/es/components/popper/content.vue2.js +34 -34
  84. package/es/components/popper/popper.vue2.js +5 -5
  85. package/es/components/popper/trigger.vue2.js +48 -48
  86. package/es/components/qrcode/qrcode.vue2.js +35 -35
  87. package/es/components/radio/radio-button.vue2.js +28 -28
  88. package/es/components/radio/radio-group.vue2.js +26 -26
  89. package/es/components/radio/radio.vue2.js +44 -44
  90. package/es/components/result/result.vue2.js +10 -10
  91. package/es/components/router-view-content/router-view-content.vue2.js +20 -20
  92. package/es/components/row/row.vue2.js +19 -19
  93. package/es/components/scrollbar/bar.vue2.js +19 -19
  94. package/es/components/scrollbar/scrollbar.vue2.js +67 -67
  95. package/es/components/scrollbar/thumb.vue2.js +41 -41
  96. package/es/components/search/search.vue2.js +65 -65
  97. package/es/components/side-menu/side-menu.vue2.js +36 -36
  98. package/es/components/skeleton/skeleton-item.vue2.js +13 -13
  99. package/es/components/skeleton/skeleton.vue2.js +19 -19
  100. package/es/components/switch/switch.vue2.js +128 -128
  101. package/es/components/table/index.js +5 -3
  102. package/es/components/table/table.vue2.js +70 -70
  103. package/es/components/tabs/tab-bar.vue2.js +15 -15
  104. package/es/components/tabs/tab-nav.vue2.js +33 -33
  105. package/es/components/tabs/tab-pane.vue2.js +21 -21
  106. package/es/components/tabs/tabs.vue2.js +64 -66
  107. package/es/components/tag/tag.vue2.js +7 -7
  108. package/es/components/time-picker/common/picker.vue2.js +14 -14
  109. package/es/components/time-picker/time-picker-com/basic-time-spinner.vue2.js +60 -60
  110. package/es/components/time-picker/time-picker-com/panel-time-pick.vue2.js +30 -30
  111. package/es/components/time-picker/time-picker-com/panel-time-range.vue2.js +57 -57
  112. package/es/components/time-select/time-select.vue2.js +29 -29
  113. package/es/components/tooltip/constants.js +1 -1
  114. package/es/components/tooltip/content.vue2.js +73 -73
  115. package/es/components/tooltip/tooltip.vue2.js +91 -91
  116. package/es/components/tooltip/trigger.vue2.js +33 -33
  117. package/es/components/verify-code/verify-code.vue2.js +25 -25
  118. package/es/index.js +208 -213
  119. package/es/package.json.js +1 -1
  120. package/lib/comp-resolver.cjs +1 -1
  121. package/lib/components/affix/affix.vue2.cjs +1 -1
  122. package/lib/components/alert/alert.vue2.cjs +1 -1
  123. package/lib/components/avatar/avatar.vue2.cjs +1 -1
  124. package/lib/components/backtop/backtop.vue2.cjs +1 -1
  125. package/lib/components/button/button-group.vue2.cjs +1 -1
  126. package/lib/components/button/button.vue2.cjs +1 -1
  127. package/lib/components/card/card.vue2.cjs +1 -1
  128. package/lib/components/check-tag/check-tag.vue2.cjs +1 -1
  129. package/lib/components/checkbox/checkbox-button.vue2.cjs +1 -1
  130. package/lib/components/checkbox/checkbox-group.vue2.cjs +1 -1
  131. package/lib/components/checkbox/checkbox.vue2.cjs +1 -1
  132. package/lib/components/clamp/clamp.vue2.cjs +1 -1
  133. package/lib/components/clamp-toggle/clamp-toggle.vue2.cjs +1 -1
  134. package/lib/components/col/col.vue2.cjs +1 -1
  135. package/lib/components/color-picker/color-picker.vue2.cjs +1 -1
  136. package/lib/components/color-picker/components/alpha-slider.vue2.cjs +1 -1
  137. package/lib/components/config-provider/config-provider.vue2.cjs +1 -1
  138. package/lib/components/container/aside.vue2.cjs +1 -1
  139. package/lib/components/container/container.vue2.cjs +1 -1
  140. package/lib/components/container/footer.vue2.cjs +1 -1
  141. package/lib/components/container/header.vue2.cjs +1 -1
  142. package/lib/components/context-menu/context-menu.vue2.cjs +1 -1
  143. package/lib/components/date-picker/date-picker-com/basic-date-table.vue2.cjs +1 -1
  144. package/lib/components/date-picker/date-picker-com/basic-month-table.vue2.cjs +1 -1
  145. package/lib/components/date-picker/date-picker-com/basic-year-table.vue2.cjs +1 -1
  146. package/lib/components/date-picker/date-picker-com/panel-date-pick.vue2.cjs +1 -1
  147. package/lib/components/date-picker/date-picker-com/panel-date-range.vue2.cjs +1 -1
  148. package/lib/components/date-picker/date-picker-com/panel-month-range.vue2.cjs +1 -1
  149. package/lib/components/descriptions/description-item.vue2.cjs +1 -1
  150. package/lib/components/descriptions/description.vue2.cjs +1 -1
  151. package/lib/components/descriptions/descriptions-row.vue2.cjs +1 -1
  152. package/lib/components/dialog/dialog-content.vue2.cjs +1 -1
  153. package/lib/components/dialog/dialog.vue2.cjs +1 -1
  154. package/lib/components/divider/divider.vue2.cjs +1 -1
  155. package/lib/components/dropdown/dropdown.vue.cjs +1 -1
  156. package/lib/components/dropdown/dropdown.vue2.cjs +1 -1
  157. package/lib/components/dropdown/index.cjs +1 -1
  158. package/lib/components/dropdown/style/css.cjs +1 -1
  159. package/lib/components/dropdown/style/index.cjs +1 -1
  160. package/lib/components/dropdown/tokens.cjs +1 -1
  161. package/lib/components/empty/empty.vue2.cjs +1 -1
  162. package/lib/components/exception/exception.vue2.cjs +1 -1
  163. package/lib/components/footer-layout/footer-layout.vue2.cjs +1 -1
  164. package/lib/components/form/form-item.vue2.cjs +1 -1
  165. package/lib/components/form/form.vue2.cjs +1 -1
  166. package/lib/components/full-screen/full-screen.vue2.cjs +1 -1
  167. package/lib/components/header-layout/header-layout.vue2.cjs +1 -1
  168. package/lib/components/horizontal-menu/horizontal-menu.vue2.cjs +1 -1
  169. package/lib/components/icon/icon.vue2.cjs +1 -1
  170. package/lib/components/icon-text/icon-text.vue2.cjs +1 -1
  171. package/lib/components/iframe-layout/iframe-layout.vue2.cjs +1 -1
  172. package/lib/components/iframe-layout/iframe-page.vue2.cjs +1 -1
  173. package/lib/components/image/image.vue2.cjs +1 -1
  174. package/lib/components/image-viewer/image-viewer.vue2.cjs +1 -1
  175. package/lib/components/index.cjs +1 -1
  176. package/lib/components/input/input.vue2.cjs +1 -1
  177. package/lib/components/link/link.vue2.cjs +1 -1
  178. package/lib/components/list-cell/list-cell.vue2.cjs +1 -1
  179. package/lib/components/logo/logo.vue2.cjs +1 -1
  180. package/lib/components/md-container/md-container.vue2.cjs +1 -1
  181. package/lib/components/md-vue-playground/md-vue-playground.vue2.cjs +1 -1
  182. package/lib/components/menu/menu-item-group.vue2.cjs +1 -1
  183. package/lib/components/menu/menu-item.vue2.cjs +1 -1
  184. package/lib/components/menu/menu.vue2.cjs +1 -1
  185. package/lib/components/menu/sub-menu.vue2.cjs +1 -1
  186. package/lib/components/message/message.vue2.cjs +1 -1
  187. package/lib/components/multiple-tabs/multiple-tabs.vue2.cjs +1 -1
  188. package/lib/components/multiple-tabs/tab-content.vue2.cjs +1 -1
  189. package/lib/components/overlay/overlay.vue2.cjs +1 -1
  190. package/lib/components/page-wrapper/page-wrapper.vue2.cjs +1 -1
  191. package/lib/components/pagination/components/jumper.vue2.cjs +1 -1
  192. package/lib/components/pagination/components/next.vue2.cjs +1 -1
  193. package/lib/components/pagination/components/pager.vue2.cjs +1 -1
  194. package/lib/components/pagination/components/prev.vue2.cjs +1 -1
  195. package/lib/components/pagination/components/sizes.vue2.cjs +1 -1
  196. package/lib/components/pagination/components/total.vue2.cjs +1 -1
  197. package/lib/components/pagination/pagination.vue2.cjs +1 -1
  198. package/lib/components/popconfirm/popconfirm.vue2.cjs +1 -1
  199. package/lib/components/popover/popover.vue2.cjs +1 -1
  200. package/lib/components/popper/arrow.vue2.cjs +1 -1
  201. package/lib/components/popper/content.vue2.cjs +1 -1
  202. package/lib/components/popper/trigger.vue2.cjs +1 -1
  203. package/lib/components/qrcode/qrcode.vue2.cjs +1 -1
  204. package/lib/components/radio/radio-button.vue2.cjs +1 -1
  205. package/lib/components/radio/radio-group.vue2.cjs +1 -1
  206. package/lib/components/radio/radio.vue2.cjs +1 -1
  207. package/lib/components/result/result.vue2.cjs +1 -1
  208. package/lib/components/router-view-content/router-view-content.vue2.cjs +1 -1
  209. package/lib/components/row/row.vue2.cjs +1 -1
  210. package/lib/components/scrollbar/bar.vue2.cjs +1 -1
  211. package/lib/components/scrollbar/scrollbar.vue2.cjs +1 -1
  212. package/lib/components/scrollbar/thumb.vue2.cjs +1 -1
  213. package/lib/components/search/search.vue2.cjs +1 -1
  214. package/lib/components/side-menu/side-menu.vue2.cjs +1 -1
  215. package/lib/components/skeleton/skeleton-item.vue2.cjs +1 -1
  216. package/lib/components/skeleton/skeleton.vue2.cjs +1 -1
  217. package/lib/components/switch/switch.vue2.cjs +1 -1
  218. package/lib/components/table/index.cjs +1 -1
  219. package/lib/components/table/table.vue2.cjs +1 -1
  220. package/lib/components/tabs/tab-bar.vue2.cjs +1 -1
  221. package/lib/components/tabs/tab-nav.vue2.cjs +1 -1
  222. package/lib/components/tabs/tab-pane.vue2.cjs +1 -1
  223. package/lib/components/tabs/tabs.vue2.cjs +1 -1
  224. package/lib/components/tag/tag.vue2.cjs +1 -1
  225. package/lib/components/time-picker/common/picker.vue2.cjs +1 -1
  226. package/lib/components/time-picker/time-picker-com/basic-time-spinner.vue2.cjs +1 -1
  227. package/lib/components/time-picker/time-picker-com/panel-time-pick.vue2.cjs +1 -1
  228. package/lib/components/time-picker/time-picker-com/panel-time-range.vue2.cjs +1 -1
  229. package/lib/components/time-select/time-select.vue2.cjs +1 -1
  230. package/lib/components/tooltip/constants.cjs +1 -1
  231. package/lib/components/tooltip/content.vue2.cjs +1 -1
  232. package/lib/components/tooltip/tooltip.vue2.cjs +1 -1
  233. package/lib/components/tooltip/trigger.vue2.cjs +1 -1
  234. package/lib/components/verify-code/verify-code.vue2.cjs +1 -1
  235. package/lib/index.cjs +1 -1
  236. package/lib/package.json.cjs +1 -1
  237. package/package.json +5 -5
  238. package/tags.json +1 -1
  239. package/web-types.json +1 -1
  240. package/theme-style/vft-back-top.css +0 -1
@@ -1,4 +1,4 @@
1
- import { defineComponent as _e, inject as qe, toRef as ie, ref as V, computed as c, openBlock as p, createElementBlock as h, normalizeClass as u, unref as e, createElementVNode as v, renderSlot as Ge, Fragment as He, renderList as Je, toDisplayString as _, createCommentVNode as C, createVNode as d, withDirectives as de, createBlock as Qe, withCtx as ce, createTextVNode as ve } from "vue";
1
+ import { defineComponent as _e, inject as qe, toRef as ie, ref as V, computed as v, openBlock as p, createElementBlock as h, normalizeClass as s, unref as e, createElementVNode as c, renderSlot as Ge, Fragment as He, renderList as Je, toDisplayString as _, createCommentVNode as C, createVNode as d, withDirectives as de, createBlock as Qe, withCtx as ve, createTextVNode as ce } from "vue";
2
2
  import T from "dayjs";
3
3
  import { ClickOutside as me } from "@vft/directives";
4
4
  import { isArray as fe } from "@vft/utils";
@@ -19,7 +19,7 @@ const aa = ["onClick"], la = ["disabled"], ta = ["disabled"], na = ["disabled"],
19
19
  setup(ke, { emit: w }) {
20
20
  const f = ke, U = qe("EP_PICKER_BASE"), { disabledDate: B, cellClassName: q, format: M, defaultTime: L, arrowControl: G, clearable: ye } = U.props, H = ie(U.props, "shortcuts"), J = ie(U.props, "defaultValue"), g = V("zh-cn"), n = V(T().locale(g.value)), o = V(T().locale(g.value).add(1, A)), {
21
21
  minDate: r,
22
- maxDate: s,
22
+ maxDate: u,
23
23
  rangeState: P,
24
24
  ppNs: i,
25
25
  drpNs: m,
@@ -39,7 +39,7 @@ const aa = ["onClick"], la = ["disabled"], ta = ["disabled"], na = ["disabled"],
39
39
  }), k = V({
40
40
  min: null,
41
41
  max: null
42
- }), we = c(() => `${n.value.year()} 年 ${n.value.month() + 1}月`), Pe = c(() => `${o.value.year()} 年 ${o.value.month() + 1}月`), Z = c(() => n.value.year()), O = c(() => n.value.month()), j = c(() => o.value.year()), ee = c(() => o.value.month()), ae = c(() => !!H.value.length), xe = c(() => D.value.min !== null ? D.value.min : r.value ? r.value.format(K.value) : ""), Ve = c(() => D.value.max !== null ? D.value.max : s.value || r.value ? (s.value || r.value).format(K.value) : ""), Te = c(() => k.value.min !== null ? k.value.min : r.value ? r.value.format($.value) : ""), Me = c(() => k.value.max !== null ? k.value.max : s.value || r.value ? (s.value || r.value).format($.value) : ""), $ = c(() => je(M)), K = c(() => ea(M)), De = () => {
42
+ }), we = v(() => `${n.value.year()} 年 ${n.value.month() + 1}月`), Pe = v(() => `${o.value.year()} 年 ${o.value.month() + 1}月`), Z = v(() => n.value.year()), O = v(() => n.value.month()), j = v(() => o.value.year()), ee = v(() => o.value.month()), ae = v(() => !!H.value.length), xe = v(() => D.value.min !== null ? D.value.min : r.value ? r.value.format(K.value) : ""), Ve = v(() => D.value.max !== null ? D.value.max : u.value || r.value ? (u.value || r.value).format(K.value) : ""), Te = v(() => k.value.min !== null ? k.value.min : r.value ? r.value.format($.value) : ""), Me = v(() => k.value.max !== null ? k.value.max : u.value || r.value ? (u.value || r.value).format($.value) : ""), $ = v(() => je(M)), K = v(() => ea(M)), De = () => {
43
43
  n.value = n.value.subtract(1, "year"), f.unlinkPanels || (o.value = n.value.add(1, "month")), y("year");
44
44
  }, Ie = () => {
45
45
  n.value = n.value.subtract(1, "month"), f.unlinkPanels || (o.value = n.value.add(1, "month")), y("month");
@@ -57,15 +57,15 @@ const aa = ["onClick"], la = ["disabled"], ta = ["disabled"], na = ["disabled"],
57
57
  o.value = o.value.subtract(1, "month"), y("month");
58
58
  }, y = (l) => {
59
59
  w("panel-change", [n.value.toDate(), o.value.toDate()], l);
60
- }, Y = c(() => {
60
+ }, Y = v(() => {
61
61
  const l = (O.value + 1) % 12, a = O.value + 1 >= 12 ? 1 : 0;
62
62
  return f.unlinkPanels && new Date(Z.value + a, l) < new Date(j.value, ee.value);
63
- }), z = c(() => f.unlinkPanels && j.value * 12 + ee.value - (Z.value * 12 + O.value + 1) >= 12), Re = c(() => !(r.value && s.value && !P.value.selecting && he([r.value, s.value]))), R = c(() => f.type === "datetime" || f.type === "datetimerange"), le = (l, a) => {
63
+ }), z = v(() => f.unlinkPanels && j.value * 12 + ee.value - (Z.value * 12 + O.value + 1) >= 12), Re = v(() => !(r.value && u.value && !P.value.selecting && he([r.value, u.value]))), R = v(() => f.type === "datetime" || f.type === "datetimerange"), le = (l, a) => {
64
64
  if (l)
65
65
  return L ? T(L[a] || L).locale(g.value).year(l.year()).month(l.month()).date(l.date()) : l;
66
66
  }, te = (l, a = !0) => {
67
67
  const t = l.minDate, x = l.maxDate, N = le(t, 0), F = le(x, 1);
68
- s.value === F && r.value === N || (w("calendar-change", [t.toDate(), x && x.toDate()]), s.value = F, r.value = N, !(!a || R.value) && W());
68
+ u.value === F && r.value === N || (w("calendar-change", [t.toDate(), x && x.toDate()]), u.value = F, r.value = N, !(!a || R.value) && W());
69
69
  }, I = V(!1), S = V(!1), Fe = () => {
70
70
  I.value = !1;
71
71
  }, Ee = () => {
@@ -76,21 +76,21 @@ const aa = ["onClick"], la = ["disabled"], ta = ["disabled"], na = ["disabled"],
76
76
  if (t.isValid()) {
77
77
  if (B && B(t.toDate()))
78
78
  return;
79
- a === "min" ? (n.value = t, r.value = (r.value || n.value).year(t.year()).month(t.month()).date(t.date()), f.unlinkPanels || (o.value = t.add(1, "month"), s.value = r.value.add(1, "month"))) : (o.value = t, s.value = (s.value || o.value).year(t.year()).month(t.month()).date(t.date()), f.unlinkPanels || (n.value = t.subtract(1, "month"), r.value = s.value.subtract(1, "month")));
79
+ a === "min" ? (n.value = t, r.value = (r.value || n.value).year(t.year()).month(t.month()).date(t.date()), f.unlinkPanels || (o.value = t.add(1, "month"), u.value = r.value.add(1, "month"))) : (o.value = t, u.value = (u.value || o.value).year(t.year()).month(t.month()).date(t.date()), f.unlinkPanels || (n.value = t.subtract(1, "month"), r.value = u.value.subtract(1, "month")));
80
80
  }
81
81
  }, oe = (l, a) => {
82
82
  D.value[a] = null;
83
83
  }, re = (l, a) => {
84
84
  k.value[a] = l;
85
85
  const t = T(l, $.value).locale(g.value);
86
- t.isValid() && (a === "min" ? (I.value = !0, r.value = (r.value || n.value).hour(t.hour()).minute(t.minute()).second(t.second()), (!s.value || s.value.isBefore(r.value)) && (s.value = r.value)) : (S.value = !0, s.value = (s.value || o.value).hour(t.hour()).minute(t.minute()).second(t.second()), o.value = s.value, s.value && s.value.isBefore(r.value) && (r.value = s.value)));
87
- }, se = (l, a) => {
88
- k.value[a] = null, a === "min" ? (n.value = r.value, I.value = !1) : (o.value = s.value, S.value = !1);
86
+ t.isValid() && (a === "min" ? (I.value = !0, r.value = (r.value || n.value).hour(t.hour()).minute(t.minute()).second(t.second()), (!u.value || u.value.isBefore(r.value)) && (u.value = r.value)) : (S.value = !0, u.value = (u.value || o.value).hour(t.hour()).minute(t.minute()).second(t.second()), o.value = u.value, u.value && u.value.isBefore(r.value) && (r.value = u.value)));
87
+ }, ue = (l, a) => {
88
+ k.value[a] = null, a === "min" ? (n.value = r.value, I.value = !1) : (o.value = u.value, S.value = !1);
89
89
  }, Ae = (l, a, t) => {
90
- k.value.min || (l && (n.value = l, r.value = (r.value || n.value).hour(l.hour()).minute(l.minute()).second(l.second())), t || (I.value = a), (!s.value || s.value.isBefore(r.value)) && (s.value = r.value, o.value = l));
90
+ k.value.min || (l && (n.value = l, r.value = (r.value || n.value).hour(l.hour()).minute(l.minute()).second(l.second())), t || (I.value = a), (!u.value || u.value.isBefore(r.value)) && (u.value = r.value, o.value = l));
91
91
  }, Ue = (l, a, t) => {
92
- k.value.max || (l && (o.value = l, s.value = (s.value || o.value).hour(l.hour()).minute(l.minute()).second(l.second())), t || (S.value = a), s.value && s.value.isBefore(r.value) && (r.value = s.value));
93
- }, ue = () => {
92
+ k.value.max || (l && (o.value = l, u.value = (u.value || o.value).hour(l.hour()).minute(l.minute()).second(l.second())), t || (S.value = a), u.value && u.value.isBefore(r.value) && (r.value = u.value));
93
+ }, se = () => {
94
94
  n.value = Ze(e(J), {
95
95
  lang: e(g),
96
96
  unit: "month",
@@ -104,74 +104,74 @@ const aa = ["onClick"], la = ["disabled"], ta = ["disabled"], na = ["disabled"],
104
104
  } else
105
105
  o.value = n.value.add(1, A), a && (o.value = o.value.hour(a.hour()).minute(a.minute()).second(a.second()));
106
106
  }
107
- return w("set-picker-option", ["isValidValue", he]), w("set-picker-option", ["parseUserInput", Oe]), w("set-picker-option", ["formatToString", Le]), w("set-picker-option", ["handleClear", ue]), (l, a) => (p(), h("div", {
108
- class: u([
107
+ return w("set-picker-option", ["isValidValue", he]), w("set-picker-option", ["parseUserInput", Oe]), w("set-picker-option", ["formatToString", Le]), w("set-picker-option", ["handleClear", se]), (l, a) => (p(), h("div", {
108
+ class: s([
109
109
  e(i).b(),
110
110
  e(m).b(),
111
111
  {
112
- "has-sidebar": l.$slots.sidebar || e(ae),
113
- "has-time": e(R)
112
+ "has-sidebar": l.$slots.sidebar || ae.value,
113
+ "has-time": R.value
114
114
  }
115
115
  ])
116
116
  }, [
117
- v("div", {
118
- class: u(e(i).e("body-wrapper"))
117
+ c("div", {
118
+ class: s(e(i).e("body-wrapper"))
119
119
  }, [
120
120
  Ge(l.$slots, "sidebar", {
121
- class: u(e(i).e("sidebar"))
121
+ class: s(e(i).e("sidebar"))
122
122
  }),
123
- e(ae) ? (p(), h("div", {
123
+ ae.value ? (p(), h("div", {
124
124
  key: 0,
125
- class: u(e(i).e("sidebar"))
125
+ class: s(e(i).e("sidebar"))
126
126
  }, [
127
- (p(!0), h(He, null, Je(e(H), (t, x) => (p(), h("button", {
127
+ (p(!0), h(He, null, Je(H.value, (t, x) => (p(), h("button", {
128
128
  key: x,
129
129
  type: "button",
130
- class: u(e(i).e("shortcut")),
130
+ class: s(e(i).e("shortcut")),
131
131
  onClick: (N) => e(Ce)(t)
132
132
  }, _(t.text), 11, aa))), 128))
133
133
  ], 2)) : C("", !0),
134
- v("div", {
135
- class: u(e(i).e("body"))
134
+ c("div", {
135
+ class: s(e(i).e("body"))
136
136
  }, [
137
- e(R) ? (p(), h("div", {
137
+ R.value ? (p(), h("div", {
138
138
  key: 0,
139
- class: u(e(m).e("time-header"))
139
+ class: s(e(m).e("time-header"))
140
140
  }, [
141
- v("span", {
142
- class: u(e(m).e("editors-wrap"))
141
+ c("span", {
142
+ class: s(e(m).e("editors-wrap"))
143
143
  }, [
144
- v("span", {
145
- class: u(e(m).e("time-picker-wrap"))
144
+ c("span", {
145
+ class: s(e(m).e("time-picker-wrap"))
146
146
  }, [
147
147
  d(e(E), {
148
148
  size: "small",
149
149
  disabled: e(P).selecting,
150
150
  placeholder: "开始日期",
151
- class: u(e(m).e("editor")),
152
- "model-value": e(xe),
151
+ class: s(e(m).e("editor")),
152
+ "model-value": xe.value,
153
153
  "validate-event": !1,
154
154
  onInput: a[0] || (a[0] = (t) => ne(t, "min")),
155
155
  onChange: a[1] || (a[1] = (t) => oe(t, "min"))
156
156
  }, null, 8, ["disabled", "class", "model-value"])
157
157
  ], 2),
158
158
  de((p(), h("span", {
159
- class: u(e(m).e("time-picker-wrap"))
159
+ class: s(e(m).e("time-picker-wrap"))
160
160
  }, [
161
161
  d(e(E), {
162
162
  size: "small",
163
- class: u(e(m).e("editor")),
163
+ class: s(e(m).e("editor")),
164
164
  disabled: e(P).selecting,
165
165
  placeholder: "开始时间",
166
- "model-value": e(Te),
166
+ "model-value": Te.value,
167
167
  "validate-event": !1,
168
168
  onFocus: a[2] || (a[2] = (t) => I.value = !0),
169
169
  onInput: a[3] || (a[3] = (t) => re(t, "min")),
170
- onChange: a[4] || (a[4] = (t) => se(t, "min"))
170
+ onChange: a[4] || (a[4] = (t) => ue(t, "min"))
171
171
  }, null, 8, ["class", "disabled", "model-value"]),
172
172
  d(e(ge), {
173
173
  visible: I.value,
174
- format: e($),
174
+ format: $.value,
175
175
  "datetime-role": "start",
176
176
  "time-arrow-control": e(G),
177
177
  "parsed-value": n.value,
@@ -181,21 +181,21 @@ const aa = ["onClick"], la = ["disabled"], ta = ["disabled"], na = ["disabled"],
181
181
  [e(me), Fe]
182
182
  ])
183
183
  ], 2),
184
- v("span", null, [
184
+ c("span", null, [
185
185
  d(e(b), { icon: "ico-ep:arrow-right" })
186
186
  ]),
187
- v("span", {
188
- class: u([e(m).e("editors-wrap"), "is-right"])
187
+ c("span", {
188
+ class: s([e(m).e("editors-wrap"), "is-right"])
189
189
  }, [
190
- v("span", {
191
- class: u(e(m).e("time-picker-wrap"))
190
+ c("span", {
191
+ class: s(e(m).e("time-picker-wrap"))
192
192
  }, [
193
193
  d(e(E), {
194
194
  size: "small",
195
- class: u(e(m).e("editor")),
195
+ class: s(e(m).e("editor")),
196
196
  disabled: e(P).selecting,
197
197
  placeholder: "结束日期",
198
- "model-value": e(Ve),
198
+ "model-value": Ve.value,
199
199
  readonly: !e(r),
200
200
  "validate-event": !1,
201
201
  onInput: a[5] || (a[5] = (t) => ne(t, "max")),
@@ -203,24 +203,24 @@ const aa = ["onClick"], la = ["disabled"], ta = ["disabled"], na = ["disabled"],
203
203
  }, null, 8, ["class", "disabled", "model-value", "readonly"])
204
204
  ], 2),
205
205
  de((p(), h("span", {
206
- class: u(e(m).e("time-picker-wrap"))
206
+ class: s(e(m).e("time-picker-wrap"))
207
207
  }, [
208
208
  d(e(E), {
209
209
  size: "small",
210
- class: u(e(m).e("editor")),
210
+ class: s(e(m).e("editor")),
211
211
  disabled: e(P).selecting,
212
212
  placeholder: "结束时间",
213
- "model-value": e(Me),
213
+ "model-value": Me.value,
214
214
  readonly: !e(r),
215
215
  "validate-event": !1,
216
216
  onFocus: a[7] || (a[7] = (t) => e(r) && (S.value = !0)),
217
217
  onInput: a[8] || (a[8] = (t) => re(t, "max")),
218
- onChange: a[9] || (a[9] = (t) => se(t, "max"))
218
+ onChange: a[9] || (a[9] = (t) => ue(t, "max"))
219
219
  }, null, 8, ["class", "disabled", "model-value", "readonly"]),
220
220
  d(e(ge), {
221
221
  "datetime-role": "end",
222
222
  visible: S.value,
223
- format: e($),
223
+ format: $.value,
224
224
  "time-arrow-control": e(G),
225
225
  "parsed-value": o.value,
226
226
  onPick: Ue
@@ -230,22 +230,22 @@ const aa = ["onClick"], la = ["disabled"], ta = ["disabled"], na = ["disabled"],
230
230
  ])
231
231
  ], 2)
232
232
  ], 2)) : C("", !0),
233
- v("div", {
234
- class: u([[e(i).e("content"), e(m).e("content")], "is-left"])
233
+ c("div", {
234
+ class: s([[e(i).e("content"), e(m).e("content")], "is-left"])
235
235
  }, [
236
- v("div", {
237
- class: u(e(m).e("header"))
236
+ c("div", {
237
+ class: s(e(m).e("header"))
238
238
  }, [
239
- v("button", {
239
+ c("button", {
240
240
  type: "button",
241
- class: u([e(i).e("icon-btn"), "d-arrow-left"]),
241
+ class: s([e(i).e("icon-btn"), "d-arrow-left"]),
242
242
  onClick: De
243
243
  }, [
244
244
  d(e(b), { icon: "ico-ep:d-arrow-left" })
245
245
  ], 2),
246
- v("button", {
246
+ c("button", {
247
247
  type: "button",
248
- class: u([e(i).e("icon-btn"), "arrow-left"]),
248
+ class: s([e(i).e("icon-btn"), "arrow-left"]),
249
249
  onClick: Ie
250
250
  }, [
251
251
  d(e(b), { icon: "ico-ep:arrow-left" })
@@ -253,8 +253,8 @@ const aa = ["onClick"], la = ["disabled"], ta = ["disabled"], na = ["disabled"],
253
253
  l.unlinkPanels ? (p(), h("button", {
254
254
  key: 0,
255
255
  type: "button",
256
- disabled: !e(z),
257
- class: u([[e(i).e("icon-btn"), { "is-disabled": !e(z) }], "d-arrow-right"]),
256
+ disabled: !z.value,
257
+ class: s([[e(i).e("icon-btn"), { "is-disabled": !z.value }], "d-arrow-right"]),
258
258
  onClick: Ne
259
259
  }, [
260
260
  d(e(b), { icon: "ico-ep:d-arrow-right" })
@@ -262,19 +262,19 @@ const aa = ["onClick"], la = ["disabled"], ta = ["disabled"], na = ["disabled"],
262
262
  l.unlinkPanels ? (p(), h("button", {
263
263
  key: 1,
264
264
  type: "button",
265
- disabled: !e(Y),
266
- class: u([[e(i).e("icon-btn"), { "is-disabled": !e(Y) }], "arrow-right"]),
265
+ disabled: !Y.value,
266
+ class: s([[e(i).e("icon-btn"), { "is-disabled": !Y.value }], "arrow-right"]),
267
267
  onClick: Be
268
268
  }, [
269
269
  d(e(b), { icon: "ico-ep:arrow-right" })
270
270
  ], 10, ta)) : C("", !0),
271
- v("div", null, _(e(we)), 1)
271
+ c("div", null, _(we.value), 1)
272
272
  ], 2),
273
273
  d(be, {
274
274
  "selection-mode": "range",
275
275
  date: n.value,
276
276
  "min-date": e(r),
277
- "max-date": e(s),
277
+ "max-date": e(u),
278
278
  "range-state": e(P),
279
279
  "disabled-date": e(B),
280
280
  "cell-class-name": e(q),
@@ -283,17 +283,17 @@ const aa = ["onClick"], la = ["disabled"], ta = ["disabled"], na = ["disabled"],
283
283
  onSelect: e(X)
284
284
  }, null, 8, ["date", "min-date", "max-date", "range-state", "disabled-date", "cell-class-name", "onChangerange", "onSelect"])
285
285
  ], 2),
286
- v("div", {
287
- class: u([[e(i).e("content"), e(m).e("content")], "is-right"])
286
+ c("div", {
287
+ class: s([[e(i).e("content"), e(m).e("content")], "is-right"])
288
288
  }, [
289
- v("div", {
290
- class: u(e(m).e("header"))
289
+ c("div", {
290
+ class: s(e(m).e("header"))
291
291
  }, [
292
292
  l.unlinkPanels ? (p(), h("button", {
293
293
  key: 0,
294
294
  type: "button",
295
- disabled: !e(z),
296
- class: u([[e(i).e("icon-btn"), { "is-disabled": !e(z) }], "d-arrow-left"]),
295
+ disabled: !z.value,
296
+ class: s([[e(i).e("icon-btn"), { "is-disabled": !z.value }], "d-arrow-left"]),
297
297
  onClick: Ye
298
298
  }, [
299
299
  d(e(b), { icon: "ico-ep:d-arrow-left" })
@@ -301,33 +301,33 @@ const aa = ["onClick"], la = ["disabled"], ta = ["disabled"], na = ["disabled"],
301
301
  l.unlinkPanels ? (p(), h("button", {
302
302
  key: 1,
303
303
  type: "button",
304
- disabled: !e(Y),
305
- class: u([[e(i).e("icon-btn"), { "is-disabled": !e(Y) }], "arrow-left"]),
304
+ disabled: !Y.value,
305
+ class: s([[e(i).e("icon-btn"), { "is-disabled": !Y.value }], "arrow-left"]),
306
306
  onClick: ze
307
307
  }, [
308
308
  d(e(b), { icon: "ico-ep:arrow-left" })
309
309
  ], 10, oa)) : C("", !0),
310
- v("button", {
310
+ c("button", {
311
311
  type: "button",
312
- class: u([e(i).e("icon-btn"), "d-arrow-right"]),
312
+ class: s([e(i).e("icon-btn"), "d-arrow-right"]),
313
313
  onClick: Se
314
314
  }, [
315
315
  d(e(b), { icon: "ico-ep:d-arrow-right" })
316
316
  ], 2),
317
- v("button", {
317
+ c("button", {
318
318
  type: "button",
319
- class: u([e(i).e("icon-btn"), "arrow-right"]),
319
+ class: s([e(i).e("icon-btn"), "arrow-right"]),
320
320
  onClick: $e
321
321
  }, [
322
322
  d(e(b), { icon: "ico-ep:arrow-right" })
323
323
  ], 2),
324
- v("div", null, _(e(Pe)), 1)
324
+ c("div", null, _(Pe.value), 1)
325
325
  ], 2),
326
326
  d(be, {
327
327
  "selection-mode": "range",
328
328
  date: o.value,
329
329
  "min-date": e(r),
330
- "max-date": e(s),
330
+ "max-date": e(u),
331
331
  "range-state": e(P),
332
332
  "disabled-date": e(B),
333
333
  "cell-class-name": e(q),
@@ -338,31 +338,31 @@ const aa = ["onClick"], la = ["disabled"], ta = ["disabled"], na = ["disabled"],
338
338
  ], 2)
339
339
  ], 2)
340
340
  ], 2),
341
- e(R) ? (p(), h("div", {
341
+ R.value ? (p(), h("div", {
342
342
  key: 0,
343
- class: u(e(i).e("footer"))
343
+ class: s(e(i).e("footer"))
344
344
  }, [
345
345
  e(ye) ? (p(), Qe(e(pe), {
346
346
  key: 0,
347
347
  text: "",
348
348
  size: "small",
349
- class: u(e(i).e("link-btn")),
350
- onClick: ue
349
+ class: s(e(i).e("link-btn")),
350
+ onClick: se
351
351
  }, {
352
- default: ce(() => [
353
- ve("清除")
352
+ default: ve(() => [
353
+ ce("清除")
354
354
  ]),
355
355
  _: 1
356
356
  }, 8, ["class"])) : C("", !0),
357
357
  d(e(pe), {
358
358
  plain: "",
359
359
  size: "small",
360
- class: u(e(i).e("link-btn")),
361
- disabled: e(Re),
360
+ class: s(e(i).e("link-btn")),
361
+ disabled: Re.value,
362
362
  onClick: a[10] || (a[10] = (t) => e(W)(!1))
363
363
  }, {
364
- default: ce(() => [
365
- ve("确认")
364
+ default: ve(() => [
365
+ ce("确认")
366
366
  ]),
367
367
  _: 1
368
368
  }, 8, ["class", "disabled"])
@@ -1,18 +1,18 @@
1
- import { defineComponent as I, ref as C, inject as Z, toRef as L, computed as j, openBlock as i, createElementBlock as d, normalizeClass as a, unref as e, createElementVNode as s, renderSlot as ee, Fragment as te, renderList as ne, toDisplayString as P, createCommentVNode as y, createVNode as c } from "vue";
1
+ import { defineComponent as I, ref as C, inject as Z, toRef as L, computed as j, openBlock as i, createElementBlock as d, normalizeClass as a, unref as e, createElementVNode as l, renderSlot as ee, Fragment as te, renderList as ne, toDisplayString as P, createCommentVNode as y, createVNode as c } from "vue";
2
2
  import z from "dayjs";
3
- import { VftIcon as k } from "../../icon/index.js";
3
+ import { VftIcon as h } from "../../icon/index.js";
4
4
  import { panelMonthRangeProps as ae, panelMonthRangeEmits as oe } from "../props/panel-month-range.js";
5
5
  import { useMonthRangeHeader as re } from "../composables/use-month-range-header.js";
6
- import { useRangePicker as se } from "../composables/use-range-picker.js";
6
+ import { useRangePicker as le } from "../composables/use-range-picker.js";
7
7
  import A from "./basic-month-table.vue2.js";
8
- const le = ["onClick"], ie = ["disabled"], de = ["disabled"], v = "year", ce = I({
8
+ const se = ["onClick"], ie = ["disabled"], de = ["disabled"], k = "year", ce = I({
9
9
  name: "DatePickerMonthRange"
10
- }), ve = /* @__PURE__ */ I({
10
+ }), ke = /* @__PURE__ */ I({
11
11
  ...ce,
12
12
  props: ae,
13
13
  emits: oe,
14
14
  setup(T, { emit: F }) {
15
- const p = T, S = C("zh-cn"), w = Z("EP_PICKER_BASE"), { shortcuts: R, disabledDate: Y, format: H } = w.props, K = L(w.props, "defaultValue"), g = C(z().locale(S.value)), u = C(z().locale(S.value).add(1, v)), {
15
+ const p = T, S = C("zh-cn"), w = Z("EP_PICKER_BASE"), { shortcuts: R, disabledDate: Y, format: H } = w.props, K = L(w.props, "defaultValue"), g = C(z().locale(S.value)), u = C(z().locale(S.value).add(1, k)), {
16
16
  minDate: b,
17
17
  maxDate: f,
18
18
  rangeState: _,
@@ -22,11 +22,11 @@ const le = ["onClick"], ie = ["disabled"], de = ["disabled"], v = "year", ce = I
22
22
  handleRangeConfirm: q,
23
23
  handleShortcutClick: G,
24
24
  onSelect: V
25
- } = se(p, {
25
+ } = le(p, {
26
26
  defaultValue: K,
27
27
  leftDate: g,
28
28
  rightDate: u,
29
- unit: v,
29
+ unit: k,
30
30
  onParsedValueChanged: X
31
31
  }), x = j(() => !!R.length), {
32
32
  leftPrevYear: D,
@@ -41,74 +41,74 @@ const le = ["onClick"], ie = ["disabled"], de = ["disabled"], v = "year", ce = I
41
41
  unlinkPanels: L(p, "unlinkPanels"),
42
42
  leftDate: g,
43
43
  rightDate: u
44
- }), h = j(() => p.unlinkPanels && U.value > Q.value + 1), $ = (r, t = !0) => {
45
- const n = r.minDate, l = r.maxDate;
46
- f.value === l && b.value === n || (f.value = l, b.value = n, t && q());
44
+ }), v = j(() => p.unlinkPanels && U.value > Q.value + 1), $ = (r, t = !0) => {
45
+ const n = r.minDate, s = r.maxDate;
46
+ f.value === s && b.value === n || (f.value = s, b.value = n, t && q());
47
47
  }, W = (r) => r.map((t) => t.format(H));
48
48
  function X(r, t) {
49
49
  if (p.unlinkPanels && t) {
50
- const n = (r == null ? void 0 : r.year()) || 0, l = t.year();
51
- u.value = n === l ? t.add(1, v) : t;
50
+ const n = (r == null ? void 0 : r.year()) || 0, s = t.year();
51
+ u.value = n === s ? t.add(1, k) : t;
52
52
  } else
53
- u.value = g.value.add(1, v);
53
+ u.value = g.value.add(1, k);
54
54
  }
55
55
  return F("set-picker-option", ["formatToString", W]), (r, t) => (i(), d("div", {
56
56
  class: a([
57
57
  e(o).b(),
58
58
  e(m).b(),
59
59
  {
60
- "has-sidebar": !!r.$slots.sidebar || e(x)
60
+ "has-sidebar": !!r.$slots.sidebar || x.value
61
61
  }
62
62
  ])
63
63
  }, [
64
- s("div", {
64
+ l("div", {
65
65
  class: a(e(o).e("body-wrapper"))
66
66
  }, [
67
67
  ee(r.$slots, "sidebar", {
68
68
  class: a(e(o).e("sidebar"))
69
69
  }),
70
- e(x) ? (i(), d("div", {
70
+ x.value ? (i(), d("div", {
71
71
  key: 0,
72
72
  class: a(e(o).e("sidebar"))
73
73
  }, [
74
- (i(!0), d(te, null, ne(e(R), (n, l) => (i(), d("button", {
75
- key: l,
74
+ (i(!0), d(te, null, ne(e(R), (n, s) => (i(), d("button", {
75
+ key: s,
76
76
  type: "button",
77
77
  class: a(e(o).e("shortcut")),
78
78
  onClick: (ue) => e(G)(n)
79
- }, P(n.text), 11, le))), 128))
79
+ }, P(n.text), 11, se))), 128))
80
80
  ], 2)) : y("", !0),
81
- s("div", {
81
+ l("div", {
82
82
  class: a(e(o).e("body"))
83
83
  }, [
84
- s("div", {
84
+ l("div", {
85
85
  class: a([[e(o).e("content"), e(m).e("content")], "is-left"])
86
86
  }, [
87
- s("div", {
87
+ l("div", {
88
88
  class: a(e(m).e("header"))
89
89
  }, [
90
- s("button", {
90
+ l("button", {
91
91
  type: "button",
92
92
  class: a([e(o).e("icon-btn"), "d-arrow-left"]),
93
93
  onClick: t[0] || (t[0] = //@ts-ignore
94
94
  (...n) => e(D) && e(D)(...n))
95
95
  }, [
96
- c(e(k), { icon: "ico-ep:d-arrow-left" })
96
+ c(e(h), { icon: "ico-ep:d-arrow-left" })
97
97
  ], 2),
98
98
  r.unlinkPanels ? (i(), d("button", {
99
99
  key: 0,
100
100
  type: "button",
101
- disabled: !e(h),
101
+ disabled: !v.value,
102
102
  class: a([[
103
103
  e(o).e("icon-btn"),
104
- { [e(o).is("disabled")]: !e(h) }
104
+ { [e(o).is("disabled")]: !v.value }
105
105
  ], "d-arrow-right"]),
106
106
  onClick: t[1] || (t[1] = //@ts-ignore
107
107
  (...n) => e(B) && e(B)(...n))
108
108
  }, [
109
- c(e(k), { icon: "ico-ep:d-arrow-right" })
109
+ c(e(h), { icon: "ico-ep:d-arrow-right" })
110
110
  ], 10, ie)) : y("", !0),
111
- s("div", null, P(e(J)), 1)
111
+ l("div", null, P(e(J)), 1)
112
112
  ], 2),
113
113
  c(A, {
114
114
  "selection-mode": "range",
@@ -122,31 +122,31 @@ const le = ["onClick"], ie = ["disabled"], de = ["disabled"], v = "year", ce = I
122
122
  onSelect: e(V)
123
123
  }, null, 8, ["date", "min-date", "max-date", "range-state", "disabled-date", "onChangerange", "onSelect"])
124
124
  ], 2),
125
- s("div", {
125
+ l("div", {
126
126
  class: a([[e(o).e("content"), e(m).e("content")], "is-right"])
127
127
  }, [
128
- s("div", {
128
+ l("div", {
129
129
  class: a(e(m).e("header"))
130
130
  }, [
131
131
  r.unlinkPanels ? (i(), d("button", {
132
132
  key: 0,
133
133
  type: "button",
134
- disabled: !e(h),
135
- class: a([[e(o).e("icon-btn"), { "is-disabled": !e(h) }], "d-arrow-left"]),
134
+ disabled: !v.value,
135
+ class: a([[e(o).e("icon-btn"), { "is-disabled": !v.value }], "d-arrow-left"]),
136
136
  onClick: t[2] || (t[2] = //@ts-ignore
137
137
  (...n) => e(M) && e(M)(...n))
138
138
  }, [
139
- c(e(k), { icon: "ico-ep:d-arrow-left" })
139
+ c(e(h), { icon: "ico-ep:d-arrow-left" })
140
140
  ], 10, de)) : y("", !0),
141
- s("button", {
141
+ l("button", {
142
142
  type: "button",
143
143
  class: a([e(o).e("icon-btn"), "d-arrow-right"]),
144
144
  onClick: t[3] || (t[3] = //@ts-ignore
145
145
  (...n) => e(E) && e(E)(...n))
146
146
  }, [
147
- c(e(k), { icon: "ico-ep:d-arrow-right" })
147
+ c(e(h), { icon: "ico-ep:d-arrow-right" })
148
148
  ], 2),
149
- s("div", null, P(e(O)), 1)
149
+ l("div", null, P(e(O)), 1)
150
150
  ], 2),
151
151
  c(A, {
152
152
  "selection-mode": "range",
@@ -166,5 +166,5 @@ const le = ["onClick"], ie = ["disabled"], de = ["disabled"], v = "year", ce = I
166
166
  }
167
167
  });
168
168
  export {
169
- ve as default
169
+ ke as default
170
170
  };
@@ -1,30 +1,30 @@
1
- import { defineComponent as l, renderSlot as e } from "vue";
2
- import { useNamespace as n } from "../../hooks/use-namespace/index.js";
1
+ import { defineComponent as t, renderSlot as o } from "vue";
2
+ import { useNamespace as a } from "../../hooks/use-namespace/index.js";
3
3
  import "@popperjs/core";
4
4
  import "lodash";
5
5
  import "../../hooks/use-z-index/index.js";
6
6
  import "@vueuse/core";
7
7
  import "@vft/utils";
8
8
  import "../../utils/ns-cover.js";
9
- const o = (
9
+ const r = (
10
10
  /* hoist-static*/
11
- n("descriptions-item")
12
- ), a = l({
13
- name: o.b()
14
- }), b = /* @__PURE__ */ l({
15
- ...a,
11
+ a("descriptions-item")
12
+ ), s = t({
13
+ name: r.b()
14
+ }), b = /* @__PURE__ */ t({
15
+ ...s,
16
16
  props: {
17
- label: null,
17
+ label: {},
18
18
  span: { default: 1 },
19
- width: null,
20
- minWidth: null,
19
+ width: {},
20
+ minWidth: {},
21
21
  align: { default: "left" },
22
- labelAlign: null,
23
- className: null,
24
- labelClassName: null
22
+ labelAlign: {},
23
+ className: {},
24
+ labelClassName: {}
25
25
  },
26
- setup(r) {
27
- return (t, s) => e(t.$slots, "default");
26
+ setup(i) {
27
+ return (e, l) => o(e.$slots, "default");
28
28
  }
29
29
  });
30
30
  export {