x-next 1.3.1 → 1.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (182) hide show
  1. package/AI_USAGE.md +2 -2
  2. package/CHANGELOG.md +71 -0
  3. package/dist/_utils/constant.d.ts +1 -1
  4. package/dist/_utils/palette.d.ts +6 -14
  5. package/dist/components/alert/Alert.vue.d.ts +9 -9
  6. package/dist/components/alert/index.d.ts +6 -6
  7. package/dist/components/button/ButtonGroup.vue.d.ts +22 -18
  8. package/dist/components/date-picker/DatePanel.vue.d.ts +342 -1
  9. package/dist/components/date-picker/DatePicker.vue.d.ts +343 -2
  10. package/dist/components/date-picker/index.d.ts +1765 -1083
  11. package/dist/components/dropdown/DropdownButton.vue.d.ts +2 -1
  12. package/dist/components/dropdown/index.d.ts +3 -0
  13. package/dist/components/form-input-tag/index.d.ts +26 -25
  14. package/dist/components/form-input-tag/interface.d.ts +8 -0
  15. package/dist/components/link/Link.vue.d.ts +4 -4
  16. package/dist/components/link/index.d.ts +6 -6
  17. package/dist/components/message/index.d.ts +3 -3
  18. package/dist/components/message/message.vue.d.ts +1 -1
  19. package/dist/components/notification/Notification.d.ts +1 -1
  20. package/dist/components/notification/index.d.ts +3 -3
  21. package/dist/components/popconfirm/src/types.d.ts +1 -1
  22. package/dist/components/progress/Progress.vue.d.ts +3 -3
  23. package/dist/components/progress/index.d.ts +3 -3
  24. package/dist/components/steps/context.d.ts +9 -0
  25. package/dist/components/tabs/TabPane.vue.d.ts +2 -0
  26. package/dist/components/tabs/index.d.ts +6 -0
  27. package/dist/components/tabs/interface.d.ts +4 -0
  28. package/dist/components/tag/Tag.vue.d.ts +14 -0
  29. package/dist/components/tag/index.d.ts +9 -0
  30. package/dist/components/tag/interface.d.ts +5 -0
  31. package/dist/components/trend-chart/components/TrendChart.d.ts +127 -17
  32. package/dist/components/trend-chart/components/trend-chart-curve.d.ts +27 -7
  33. package/dist/components/trend-chart/components/trend-chart-labels.d.ts +4 -0
  34. package/dist/components/trend-chart/helpers/getPadding.d.ts +3 -2
  35. package/dist/components/trend-chart/index.d.ts +223 -28
  36. package/dist/components/trend-chart/props.d.ts +63 -5
  37. package/dist/es/_styles/palette-aliases.js +182 -127
  38. package/dist/es/_utils/palette.js +49 -43
  39. package/dist/es/components/_components/picker/input-range.vue2.js +10 -10
  40. package/dist/es/components/_components/picker/input.vue2.js +20 -20
  41. package/dist/es/components/_components/select-view/select-view.js +2 -2
  42. package/dist/es/components/alert/Alert.vue.js +2 -2
  43. package/dist/es/components/alert/Alert.vue2.js +21 -20
  44. package/dist/es/components/button/Button.js +17 -17
  45. package/dist/es/components/button/ButtonGroup.vue2.js +11 -9
  46. package/dist/es/components/date-picker/DatePanel.vue.js +71 -62
  47. package/dist/es/components/date-picker/DatePanel.vue2.js +50 -40
  48. package/dist/es/components/date-picker/DatePicker.vue2.js +1 -1
  49. package/dist/es/components/dropdown/Dropdown.vue2.js +11 -4
  50. package/dist/es/components/dropdown/DropdownButton.vue.js +8 -7
  51. package/dist/es/components/dropdown/DropdownButton.vue2.js +19 -17
  52. package/dist/es/components/dropdown/DropdownSubmenu.vue.js +18 -17
  53. package/dist/es/components/form/form-item-label.vue.js +25 -22
  54. package/dist/es/components/form/form-item-label.vue2.js +1 -1
  55. package/dist/es/components/form-checkbox/icon-check.js +12 -43
  56. package/dist/es/components/form-input/InputPassword.vue2.js +2 -2
  57. package/dist/es/components/form-input/InputSearch.js +1 -1
  58. package/dist/es/components/form-input-number/InputNumber.js +4 -4
  59. package/dist/es/components/form-input-tag/InputTag.js +168 -147
  60. package/dist/es/components/form-input-tag/utils.js +21 -19
  61. package/dist/es/components/form-textarea/Textarea.vue2.js +1 -1
  62. package/dist/es/components/link/Link.vue2.js +1 -1
  63. package/dist/es/components/menu/MenuSubMenu.js +50 -36
  64. package/dist/es/components/menu/sub-menu-pop.vue2.js +30 -30
  65. package/dist/es/components/pagination/Pagination.js +73 -70
  66. package/dist/es/components/popconfirm/src/popup.vue.js +1 -1
  67. package/dist/es/components/progress/Progress.vue2.js +1 -1
  68. package/dist/es/components/steps/Step.vue2.js +51 -47
  69. package/dist/es/components/steps/Steps.vue2.js +22 -19
  70. package/dist/es/components/table/Table.js +1 -1
  71. package/dist/es/components/table/table-th.js +2 -2
  72. package/dist/es/components/tabs/TabPane.vue.js +11 -9
  73. package/dist/es/components/tabs/TabPane.vue2.js +28 -24
  74. package/dist/es/components/tabs/tabs-button.js +2 -2
  75. package/dist/es/components/tabs/tabs-nav.js +21 -19
  76. package/dist/es/components/tabs/tabs-tab.vue.js +10 -8
  77. package/dist/es/components/tag/Tag.vue.js +20 -20
  78. package/dist/es/components/tag/Tag.vue2.js +35 -28
  79. package/dist/es/components/time-picker/TimePanel.vue.js +30 -29
  80. package/dist/es/components/time-picker/TimePicker.vue2.js +1 -1
  81. package/dist/es/components/time-picker/TimeRangePanel.js +26 -23
  82. package/dist/es/components/trend-chart/components/TrendChart.js +208 -142
  83. package/dist/es/components/trend-chart/components/trend-chart-curve.js +124 -59
  84. package/dist/es/components/trend-chart/components/trend-chart-labels.js +43 -41
  85. package/dist/es/components/trend-chart/helpers/getPadding.js +3 -3
  86. package/dist/es/components/trend-chart/props.js +101 -33
  87. package/dist/es/components/trend-chart/themes.js +15 -15
  88. package/dist/es/components/watermark/controller.js +40 -40
  89. package/dist/es/icons/default/calendar.js +15 -0
  90. package/dist/es/icons/default/clock-circle.js +15 -0
  91. package/dist/es/icons/default/double-left.js +15 -0
  92. package/dist/es/icons/default/double-right.js +15 -0
  93. package/dist/es/icons/default/down.js +16 -0
  94. package/dist/es/icons/default/eye-invisible.js +20 -0
  95. package/dist/es/icons/default/eye.js +18 -0
  96. package/dist/es/icons/default/left.js +15 -0
  97. package/dist/es/icons/default/minus.js +16 -0
  98. package/dist/es/icons/default/plus.js +16 -0
  99. package/dist/es/icons/default/question-circle.js +18 -0
  100. package/dist/es/icons/default/right.js +15 -0
  101. package/dist/es/icons/default/search.js +16 -0
  102. package/dist/es/icons/default/up.js +16 -0
  103. package/dist/es/icons/icon.js +26 -25
  104. package/dist/es/icons/public/boxicons/basic.js +1893 -0
  105. package/dist/es/icons/public/boxicons/brands.js +304 -0
  106. package/dist/es/icons/public/boxicons/filled.js +1893 -0
  107. package/dist/es/icons/public/boxicons/index.js +24 -0
  108. package/dist/es/icons/public/boxicons/names.js +4082 -0
  109. package/dist/es/icons/registry.js +15 -15
  110. package/dist/es/locale/en-US.js +2 -1
  111. package/dist/es/locale/zh-CN.js +2 -1
  112. package/dist/es/style.css +1 -1
  113. package/dist/icons/default/calendar.d.ts +93 -0
  114. package/dist/icons/default/clock-circle.d.ts +93 -0
  115. package/dist/icons/{_self/down.d.ts → default/double-left.d.ts} +6 -0
  116. package/dist/icons/{_self/eye-invisible.d.ts → default/double-right.d.ts} +6 -0
  117. package/dist/icons/default/down.d.ts +93 -0
  118. package/dist/icons/default/eye-invisible.d.ts +93 -0
  119. package/dist/icons/default/eye.d.ts +93 -0
  120. package/dist/icons/{_self/eye.d.ts → default/left.d.ts} +7 -0
  121. package/dist/icons/default/minus.d.ts +93 -0
  122. package/dist/icons/{_self → default}/plus.d.ts +7 -0
  123. package/dist/icons/default/question-circle.d.ts +93 -0
  124. package/dist/icons/{_self/minus.d.ts → default/right.d.ts} +7 -0
  125. package/dist/icons/{_self → default}/search.d.ts +7 -0
  126. package/dist/icons/{_self → default}/up.d.ts +7 -0
  127. package/dist/icons/public/boxicons/basic.cjs +1 -0
  128. package/dist/icons/public/boxicons/basic.d.ts +2 -0
  129. package/dist/icons/public/boxicons/brands.cjs +1 -0
  130. package/dist/icons/public/boxicons/brands.d.ts +2 -0
  131. package/dist/icons/public/boxicons/filled.cjs +1 -0
  132. package/dist/icons/public/boxicons/filled.d.ts +2 -0
  133. package/dist/icons/public/boxicons/index.cjs +1 -0
  134. package/dist/icons/public/boxicons/index.d.ts +10 -0
  135. package/dist/icons/public/boxicons/names.d.ts +10 -0
  136. package/dist/icons/registry.d.ts +5 -0
  137. package/dist/index.cjs +4 -4
  138. package/dist/index.umd.js +4 -4
  139. package/dist/locale/interface.d.ts +2 -0
  140. package/dist/style/alert.css +1 -1
  141. package/dist/style/base.css +1 -1
  142. package/dist/style/button.css +1 -1
  143. package/dist/style/date-picker.css +1 -1
  144. package/dist/style/dialog.css +1 -1
  145. package/dist/style/drawer.css +1 -1
  146. package/dist/style/dropdown.css +1 -1
  147. package/dist/style/form-input-number.css +1 -1
  148. package/dist/style/form-input-tag.css +1 -1
  149. package/dist/style/form-input.css +1 -1
  150. package/dist/style/form-radio.css +1 -1
  151. package/dist/style/form-select.css +1 -1
  152. package/dist/style/form-textarea.css +1 -1
  153. package/dist/style/form.css +1 -1
  154. package/dist/style/link.css +1 -1
  155. package/dist/style/menu.css +1 -1
  156. package/dist/style/message-box.css +1 -1
  157. package/dist/style/network.css +1 -1
  158. package/dist/style/pagination.css +1 -1
  159. package/dist/style/popconfirm.css +1 -1
  160. package/dist/style/popover.css +1 -1
  161. package/dist/style/popup.css +1 -1
  162. package/dist/style/progress.css +1 -1
  163. package/dist/style/rate.css +1 -1
  164. package/dist/style/spin.css +1 -1
  165. package/dist/style/steps.css +1 -1
  166. package/dist/style/table.css +1 -1
  167. package/dist/style/tabs.css +1 -1
  168. package/dist/style/tag.css +1 -1
  169. package/dist/style/time-picker.css +1 -1
  170. package/dist/style/time-range-selector.css +1 -1
  171. package/dist/style.css +1 -1
  172. package/package.json +31 -4
  173. package/dist/es/icons/_self/down.js +0 -16
  174. package/dist/es/icons/_self/eye-invisible.js +0 -13
  175. package/dist/es/icons/_self/eye.js +0 -13
  176. package/dist/es/icons/_self/minus.js +0 -13
  177. package/dist/es/icons/_self/plus.js +0 -12
  178. package/dist/es/icons/_self/question-message.js +0 -12
  179. package/dist/es/icons/_self/search.js +0 -13
  180. package/dist/es/icons/_self/up.js +0 -16
  181. package/dist/es/icons/_ui/calendar.js +0 -13
  182. package/dist/es/icons/_ui/time.js +0 -12
@@ -1,16 +1,16 @@
1
- import { defineComponent as g, toRefs as B, computed as l, ref as f } from "vue";
1
+ import { defineComponent as g, toRefs as B, computed as o, ref as r } from "vue";
2
2
  import _ from "../_components/icon-hover/index.vue.js";
3
- import z from "../../icons/animation/animation-loading.js";
4
- import I from "../../icons/default/close.js";
5
- import { TAG_COLORS as r } from "./interface.js";
6
- import { getClassNameMixin as L } from "../../_utils/config.js";
7
- import { useLocale as S } from "../../locale/index.js";
3
+ import L from "../../icons/animation/animation-loading.js";
4
+ import S from "../../icons/default/close.js";
5
+ import { TAG_COLORS as f } from "./interface.js";
6
+ import { getClassNameMixin as z } from "../../_utils/config.js";
7
+ import { useLocale as A } from "../../locale/index.js";
8
8
  const T = g({
9
9
  name: "Tag",
10
10
  components: {
11
11
  IconHover: _,
12
- Close: I,
13
- AnimationLoading: z
12
+ Close: S,
13
+ AnimationLoading: L
14
14
  },
15
15
  props: {
16
16
  /**
@@ -106,6 +106,13 @@ const T = g({
106
106
  nowrap: {
107
107
  type: Boolean,
108
108
  default: !1
109
+ },
110
+ /**
111
+ * @zh 关闭按钮的无障碍名称,默认“关闭标签”
112
+ * @en Accessible name of the close button, defaults to "关闭标签"
113
+ */
114
+ closeAriaLabel: {
115
+ type: String
109
116
  }
110
117
  },
111
118
  emits: {
@@ -136,39 +143,39 @@ const T = g({
136
143
  * @slot close-icon
137
144
  */
138
145
  setup(e, { emit: t }) {
139
- const { size: m } = B(e), o = L("tag"), { t: v } = S(), b = l(() => e.color && r.includes(e.color)), d = l(() => e.color && !r.includes(e.color)), n = f(e.defaultVisible), u = f(e.defaultChecked), s = l(() => e.visible ?? n.value), c = l(
146
+ const { size: m } = B(e), l = z("tag"), { t: v } = A(), b = o(() => e.color && f.includes(e.color)), d = o(() => e.color && !f.includes(e.color)), n = r(e.defaultVisible), u = r(e.defaultChecked), s = o(() => e.visible ?? n.value), a = o(
140
147
  () => e.selectable ? e.checked ?? u.value : !0
141
- ), h = (a) => {
142
- n.value = !1, t("update:visible", !1), t("close", a);
143
- }, k = (a) => {
148
+ ), h = (c) => {
149
+ n.value = !1, t("update:visible", !1), t("close", c);
150
+ }, k = (c) => {
144
151
  if (e.selectable) {
145
- const i = !c.value;
146
- u.value = i, t("update:checked", i), t("check", i, a);
152
+ const i = !a.value;
153
+ u.value = i, t("update:checked", i), t("check", i, c);
147
154
  }
148
- }, C = l(() => [
149
- o.block,
150
- o.modifier(`size-${m.value}`),
155
+ }, C = o(() => [
156
+ l.block,
157
+ l.modifier(`size-${m.value}`),
151
158
  {
152
- [o.modifier("loading")]: e.loading,
153
- [o.modifier("hide")]: !s.value,
154
- [o.modifier(`color-${e == null ? void 0 : e.color}`)]: b.value,
155
- [o.modifier("bordered")]: e.bordered,
156
- [o.modifier("selectable")]: e.selectable,
157
- [o.modifier("checked")]: c.value,
158
- [o.modifier("custom-color")]: d.value
159
+ [l.modifier("loading")]: e.loading,
160
+ [l.modifier("hide")]: !s.value,
161
+ [l.modifier(`color-${e == null ? void 0 : e.color}`)]: b.value,
162
+ [l.modifier("bordered")]: e.bordered,
163
+ [l.modifier("selectable")]: e.selectable,
164
+ [l.modifier("checked")]: a.value,
165
+ [l.modifier("custom-color")]: d.value
159
166
  }
160
- ]), y = l(() => {
161
- if (d.value)
167
+ ]), y = o(() => {
168
+ if (d.value && a.value)
162
169
  return {
163
170
  backgroundColor: e.color
164
171
  };
165
172
  });
166
173
  return {
167
- className: o,
174
+ className: l,
168
175
  cls: C,
169
176
  style: y,
170
177
  computedVisible: s,
171
- computedChecked: c,
178
+ computedChecked: a,
172
179
  handleClick: k,
173
180
  handleClose: h,
174
181
  t: v
@@ -1,69 +1,70 @@
1
1
  import k from "./TimePanel.vue2.js";
2
- import { resolveComponent as m, openBlock as o, createElementBlock as l, withModifiers as C, normalizeClass as t, createElementVNode as d, Fragment as N, renderList as y, createBlock as r, withCtx as c, createTextVNode as u, toDisplayString as p, createCommentVNode as n, renderSlot as w } from "vue";
3
- import h from "../../_virtual/_plugin-vue_export-helper.js";
4
- function v(e, a, $, B, S, F) {
2
+ import { resolveComponent as m, openBlock as o, createElementBlock as n, withModifiers as y, normalizeStyle as C, normalizeClass as l, createElementVNode as c, Fragment as N, renderList as h, createBlock as r, withCtx as d, createTextVNode as u, toDisplayString as p, createCommentVNode as s, renderSlot as w } from "vue";
3
+ import v from "../../_virtual/_plugin-vue_export-helper.js";
4
+ function $(e, a, S, B, z, F) {
5
5
  const f = m("TimeColumn"), i = m("Button");
6
- return o(), l("div", {
7
- class: t(e.className.element("panel")),
8
- onMousedown: a[0] || (a[0] = C(() => {
6
+ return o(), n("div", {
7
+ class: l(e.className.element("panel")),
8
+ style: C({ "--x-time-picker-column-count": e.columns.length }),
9
+ onMousedown: a[0] || (a[0] = y(() => {
9
10
  }, ["prevent"]))
10
11
  }, [
11
- d("div", {
12
- class: t(e.className.element("columns"))
12
+ c("div", {
13
+ class: l(e.className.element("columns"))
13
14
  }, [
14
- (o(!0), l(N, null, y(e.columns, (s) => (o(), r(f, {
15
- key: s,
16
- type: s,
17
- label: e.columnLabels[s],
18
- items: e.lists[s],
15
+ (o(!0), n(N, null, h(e.columns, (t) => (o(), r(f, {
16
+ key: t,
17
+ type: t,
18
+ label: e.columnLabels[t],
19
+ items: e.lists[t],
19
20
  onSelect: e.handleColumnSelect
20
21
  }, null, 8, ["type", "label", "items", "onSelect"]))), 128))
21
22
  ], 2),
22
- !e.hideFooter || e.$slots.extra ? (o(), l("div", {
23
+ !e.hideFooter || e.$slots.extra ? (o(), n("div", {
23
24
  key: 0,
24
- class: t(e.className.element("footer"))
25
+ class: l(e.className.element("footer"))
25
26
  }, [
26
- d("div", {
27
- class: t(e.className.element("footer-left"))
27
+ c("div", {
28
+ class: l(e.className.element("footer-left"))
28
29
  }, [
29
- e.hideFooter ? n("", !0) : (o(), r(i, {
30
+ e.hideFooter ? s("", !0) : (o(), r(i, {
30
31
  key: 0,
31
32
  type: "text",
32
33
  size: "mini",
33
34
  narrow: "",
34
- class: t(e.className.element("now")),
35
+ class: l(e.className.element("now")),
35
36
  onClick: e.handleNow
36
37
  }, {
37
- default: c(() => [
38
+ default: d(() => [
38
39
  u(p(e.t("timePicker.now")), 1)
39
40
  ]),
40
41
  _: 1
41
42
  }, 8, ["class", "onClick"])),
42
- e.$slots.extra ? (o(), l("div", {
43
+ e.$slots.extra ? (o(), n("div", {
43
44
  key: 1,
44
- class: t(e.className.element("extra"))
45
+ class: l(e.className.element("extra"))
45
46
  }, [
46
47
  w(e.$slots, "extra")
47
- ], 2)) : n("", !0)
48
+ ], 2)) : s("", !0)
48
49
  ], 2),
49
- e.hideFooter ? n("", !0) : (o(), r(i, {
50
+ e.hideFooter ? s("", !0) : (o(), r(i, {
50
51
  key: 0,
51
52
  type: "text",
52
53
  status: "info",
53
54
  size: "mini",
54
55
  narrow: "",
55
- class: t(e.className.element("confirm")),
56
+ class: l(e.className.element("confirm")),
56
57
  onClick: e.handleConfirm
57
58
  }, {
58
- default: c(() => [
59
+ default: d(() => [
59
60
  u(p(e.t("timePicker.ok")), 1)
60
61
  ]),
61
62
  _: 1
62
63
  }, 8, ["class", "onClick"]))
63
- ], 2)) : n("", !0)
64
- ], 34);
64
+ ], 2)) : s("", !0)
65
+ ], 38);
65
66
  }
66
- const P = /* @__PURE__ */ h(k, [["render", v]]);
67
+ const P = /* @__PURE__ */ v(k, [["render", $]]);
67
68
  export {
68
69
  P as default
69
70
  };
@@ -2,7 +2,7 @@ import { defineComponent as ge, useAttrs as Ve, toRefs as he, computed as r, ref
2
2
  import { Trigger as ye } from "../trigger/index.js";
3
3
  import be from "../_components/picker/input.vue.js";
4
4
  import Pe from "../_components/picker/input-range.vue.js";
5
- import H from "../../icons/_ui/time.js";
5
+ import H from "../../icons/default/clock-circle.js";
6
6
  import { getClassNameMixin as Se } from "../../_utils/config.js";
7
7
  import { omit as Ie } from "../../_utils/omit.js";
8
8
  import { isArray as s, isUndefined as Ce } from "../../_utils/is.js";
@@ -1,13 +1,13 @@
1
- import { defineComponent as h, ref as w, watch as S, createVNode as t, isVNode as k } from "vue";
2
- import { getClassNameMixin as x } from "../../_utils/config.js";
3
- import F from "./TimePanel.vue.js";
4
- import { getNowTime as p } from "./utils.js";
1
+ import { defineComponent as k, ref as w, computed as x, watch as S, createVNode as t, isVNode as F } from "vue";
2
+ import { getClassNameMixin as C } from "../../_utils/config.js";
3
+ import H from "./TimePanel.vue.js";
4
+ import { getVisibleColumns as N, getNowTime as O } from "./utils.js";
5
5
  import { Button as f } from "../button/index.js";
6
- import { useLocale as N } from "../../locale/index.js";
6
+ import { useLocale as P } from "../../locale/index.js";
7
7
  function b(e) {
8
- return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !k(e);
8
+ return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !F(e);
9
9
  }
10
- const B = /* @__PURE__ */ h({
10
+ const I = /* @__PURE__ */ k({
11
11
  name: "TimeRangePanel",
12
12
  props: {
13
13
  value: {
@@ -46,29 +46,32 @@ const B = /* @__PURE__ */ h({
46
46
  },
47
47
  slots: Object,
48
48
  emits: {
49
- select: (e, d) => !0,
49
+ select: (e, u) => !0,
50
50
  confirm: () => !0
51
51
  },
52
52
  setup(e, {
53
- emit: d,
54
- slots: u
53
+ emit: u,
54
+ slots: d
55
55
  }) {
56
- const n = x("time-picker"), {
56
+ const n = C("time-picker"), {
57
57
  t: r
58
- } = N(), i = w(e.focusedIndex);
58
+ } = P(), i = w(e.focusedIndex), v = x(() => N(e.format, e.use12Hours).length);
59
59
  S(() => e.focusedIndex, (o) => {
60
60
  i.value = o;
61
61
  });
62
62
  const c = (o, a) => {
63
63
  const l = [...e.value];
64
- l[a] = o, i.value = a, d("select", l, a);
65
- }, v = () => {
66
- c(p(), i.value);
64
+ l[a] = o, i.value = a, u("select", l, a);
65
+ }, g = () => {
66
+ c(O(), i.value);
67
67
  };
68
68
  return () => {
69
69
  let o, a;
70
70
  return t("div", {
71
71
  class: n.element("range-panel"),
72
+ style: {
73
+ "--x-time-picker-range-column-count": v.value
74
+ },
72
75
  onMousedown: (l) => l.preventDefault()
73
76
  }, [t("div", {
74
77
  class: n.element("range-body")
@@ -85,7 +88,7 @@ const B = /* @__PURE__ */ h({
85
88
  }
86
89
  }, [t("div", {
87
90
  class: n.element("range-header")
88
- }, [t("span", null, [y]), t("strong", null, [((m = e.value[s]) == null ? void 0 : m.format(e.format)) ?? "--:--:--"])]), t(F, {
91
+ }, [t("span", null, [y]), t("strong", null, [((m = e.value[s]) == null ? void 0 : m.format(e.format)) ?? "--:--:--"])]), t(H, {
89
92
  value: e.value[s],
90
93
  format: e.format,
91
94
  use12Hours: e.use12Hours,
@@ -95,9 +98,9 @@ const B = /* @__PURE__ */ h({
95
98
  disabledSeconds: e.disabledSeconds,
96
99
  hideDisabledOptions: e.hideDisabledOptions,
97
100
  hideFooter: !0,
98
- onSelect: (g) => c(g, s)
101
+ onSelect: (h) => c(h, s)
99
102
  }, null)]);
100
- })]), (!e.hideFooter || u.extra) && t("div", {
103
+ })]), (!e.hideFooter || d.extra) && t("div", {
101
104
  class: n.element("footer")
102
105
  }, [t("div", {
103
106
  class: n.element("footer-left")
@@ -106,18 +109,18 @@ const B = /* @__PURE__ */ h({
106
109
  size: "mini",
107
110
  narrow: !0,
108
111
  class: n.element("now"),
109
- onClick: v
112
+ onClick: g
110
113
  }, b(o = r("timePicker.now")) ? o : {
111
114
  default: () => [o]
112
- }), u.extra && t("div", {
115
+ }), d.extra && t("div", {
113
116
  class: n.element("extra")
114
- }, [u.extra()])]), !e.hideFooter && t(f, {
117
+ }, [d.extra()])]), !e.hideFooter && t(f, {
115
118
  type: "text",
116
119
  status: "info",
117
120
  size: "mini",
118
121
  narrow: !0,
119
122
  class: n.element("confirm"),
120
- onClick: () => d("confirm")
123
+ onClick: () => u("confirm")
121
124
  }, b(a = r("timePicker.ok")) ? a : {
122
125
  default: () => [a]
123
126
  })])]);
@@ -125,5 +128,5 @@ const B = /* @__PURE__ */ h({
125
128
  }
126
129
  });
127
130
  export {
128
- B as default
131
+ I as default
129
132
  };