x-next 1.3.1 → 1.4.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 (159) hide show
  1. package/AI_USAGE.md +2 -2
  2. package/CHANGELOG.md +36 -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/form-input-tag/index.d.ts +26 -25
  12. package/dist/components/form-input-tag/interface.d.ts +8 -0
  13. package/dist/components/link/Link.vue.d.ts +4 -4
  14. package/dist/components/link/index.d.ts +6 -6
  15. package/dist/components/message/index.d.ts +3 -3
  16. package/dist/components/message/message.vue.d.ts +1 -1
  17. package/dist/components/notification/Notification.d.ts +1 -1
  18. package/dist/components/notification/index.d.ts +3 -3
  19. package/dist/components/popconfirm/src/types.d.ts +1 -1
  20. package/dist/components/progress/Progress.vue.d.ts +3 -3
  21. package/dist/components/progress/index.d.ts +3 -3
  22. package/dist/components/tag/Tag.vue.d.ts +14 -0
  23. package/dist/components/tag/index.d.ts +9 -0
  24. package/dist/components/tag/interface.d.ts +5 -0
  25. package/dist/components/trend-chart/components/TrendChart.d.ts +127 -17
  26. package/dist/components/trend-chart/components/trend-chart-curve.d.ts +27 -7
  27. package/dist/components/trend-chart/components/trend-chart-labels.d.ts +4 -0
  28. package/dist/components/trend-chart/helpers/getPadding.d.ts +3 -2
  29. package/dist/components/trend-chart/index.d.ts +223 -28
  30. package/dist/components/trend-chart/props.d.ts +63 -5
  31. package/dist/es/_styles/palette-aliases.js +182 -127
  32. package/dist/es/_utils/palette.js +49 -43
  33. package/dist/es/components/_components/picker/input-range.vue2.js +10 -10
  34. package/dist/es/components/_components/picker/input.vue2.js +20 -20
  35. package/dist/es/components/_components/select-view/select-view.js +2 -2
  36. package/dist/es/components/alert/Alert.vue.js +2 -2
  37. package/dist/es/components/alert/Alert.vue2.js +21 -20
  38. package/dist/es/components/button/Button.js +17 -17
  39. package/dist/es/components/button/ButtonGroup.vue2.js +11 -9
  40. package/dist/es/components/date-picker/DatePanel.vue.js +71 -62
  41. package/dist/es/components/date-picker/DatePanel.vue2.js +50 -40
  42. package/dist/es/components/date-picker/DatePicker.vue2.js +1 -1
  43. package/dist/es/components/form/form-item-label.vue.js +25 -22
  44. package/dist/es/components/form/form-item-label.vue2.js +1 -1
  45. package/dist/es/components/form-checkbox/icon-check.js +12 -43
  46. package/dist/es/components/form-input/InputPassword.vue2.js +2 -2
  47. package/dist/es/components/form-input/InputSearch.js +1 -1
  48. package/dist/es/components/form-input-number/InputNumber.js +4 -4
  49. package/dist/es/components/form-input-tag/InputTag.js +168 -147
  50. package/dist/es/components/form-input-tag/utils.js +21 -19
  51. package/dist/es/components/form-textarea/Textarea.vue2.js +1 -1
  52. package/dist/es/components/link/Link.vue2.js +1 -1
  53. package/dist/es/components/popconfirm/src/popup.vue.js +1 -1
  54. package/dist/es/components/progress/Progress.vue2.js +1 -1
  55. package/dist/es/components/table/Table.js +1 -1
  56. package/dist/es/components/table/table-th.js +2 -2
  57. package/dist/es/components/tabs/tabs-button.js +2 -2
  58. package/dist/es/components/tabs/tabs-nav.js +1 -1
  59. package/dist/es/components/tag/Tag.vue.js +20 -20
  60. package/dist/es/components/tag/Tag.vue2.js +35 -28
  61. package/dist/es/components/time-picker/TimePanel.vue.js +30 -29
  62. package/dist/es/components/time-picker/TimePicker.vue2.js +1 -1
  63. package/dist/es/components/time-picker/TimeRangePanel.js +26 -23
  64. package/dist/es/components/trend-chart/components/TrendChart.js +208 -142
  65. package/dist/es/components/trend-chart/components/trend-chart-curve.js +124 -59
  66. package/dist/es/components/trend-chart/components/trend-chart-labels.js +43 -41
  67. package/dist/es/components/trend-chart/helpers/getPadding.js +3 -3
  68. package/dist/es/components/trend-chart/props.js +101 -33
  69. package/dist/es/components/trend-chart/themes.js +15 -15
  70. package/dist/es/components/watermark/controller.js +40 -40
  71. package/dist/es/icons/default/calendar.js +15 -0
  72. package/dist/es/icons/default/clock-circle.js +15 -0
  73. package/dist/es/icons/default/double-left.js +15 -0
  74. package/dist/es/icons/default/double-right.js +15 -0
  75. package/dist/es/icons/default/down.js +16 -0
  76. package/dist/es/icons/default/eye-invisible.js +20 -0
  77. package/dist/es/icons/default/eye.js +18 -0
  78. package/dist/es/icons/default/left.js +15 -0
  79. package/dist/es/icons/default/minus.js +16 -0
  80. package/dist/es/icons/default/plus.js +16 -0
  81. package/dist/es/icons/default/question-circle.js +18 -0
  82. package/dist/es/icons/default/right.js +15 -0
  83. package/dist/es/icons/default/search.js +16 -0
  84. package/dist/es/icons/default/up.js +16 -0
  85. package/dist/es/icons/icon.js +26 -25
  86. package/dist/es/icons/public/boxicons/basic.js +1893 -0
  87. package/dist/es/icons/public/boxicons/brands.js +304 -0
  88. package/dist/es/icons/public/boxicons/filled.js +1893 -0
  89. package/dist/es/icons/public/boxicons/index.js +24 -0
  90. package/dist/es/icons/public/boxicons/names.js +4082 -0
  91. package/dist/es/icons/registry.js +15 -15
  92. package/dist/es/style.css +1 -1
  93. package/dist/icons/default/calendar.d.ts +93 -0
  94. package/dist/icons/default/clock-circle.d.ts +93 -0
  95. package/dist/icons/{_self/down.d.ts → default/double-left.d.ts} +6 -0
  96. package/dist/icons/{_self/eye-invisible.d.ts → default/double-right.d.ts} +6 -0
  97. package/dist/icons/default/down.d.ts +93 -0
  98. package/dist/icons/default/eye-invisible.d.ts +93 -0
  99. package/dist/icons/default/eye.d.ts +93 -0
  100. package/dist/icons/{_self/eye.d.ts → default/left.d.ts} +7 -0
  101. package/dist/icons/default/minus.d.ts +93 -0
  102. package/dist/icons/{_self → default}/plus.d.ts +7 -0
  103. package/dist/icons/default/question-circle.d.ts +93 -0
  104. package/dist/icons/{_self/minus.d.ts → default/right.d.ts} +7 -0
  105. package/dist/icons/{_self → default}/search.d.ts +7 -0
  106. package/dist/icons/{_self → default}/up.d.ts +7 -0
  107. package/dist/icons/public/boxicons/basic.cjs +1 -0
  108. package/dist/icons/public/boxicons/basic.d.ts +2 -0
  109. package/dist/icons/public/boxicons/brands.cjs +1 -0
  110. package/dist/icons/public/boxicons/brands.d.ts +2 -0
  111. package/dist/icons/public/boxicons/filled.cjs +1 -0
  112. package/dist/icons/public/boxicons/filled.d.ts +2 -0
  113. package/dist/icons/public/boxicons/index.cjs +1 -0
  114. package/dist/icons/public/boxicons/index.d.ts +10 -0
  115. package/dist/icons/public/boxicons/names.d.ts +10 -0
  116. package/dist/icons/registry.d.ts +5 -0
  117. package/dist/index.cjs +4 -4
  118. package/dist/index.umd.js +4 -4
  119. package/dist/style/alert.css +1 -1
  120. package/dist/style/base.css +1 -1
  121. package/dist/style/button.css +1 -1
  122. package/dist/style/date-picker.css +1 -1
  123. package/dist/style/dialog.css +1 -1
  124. package/dist/style/drawer.css +1 -1
  125. package/dist/style/dropdown.css +1 -1
  126. package/dist/style/form-input-number.css +1 -1
  127. package/dist/style/form-input-tag.css +1 -1
  128. package/dist/style/form-input.css +1 -1
  129. package/dist/style/form-radio.css +1 -1
  130. package/dist/style/form-select.css +1 -1
  131. package/dist/style/form-textarea.css +1 -1
  132. package/dist/style/form.css +1 -1
  133. package/dist/style/link.css +1 -1
  134. package/dist/style/menu.css +1 -1
  135. package/dist/style/message-box.css +1 -1
  136. package/dist/style/network.css +1 -1
  137. package/dist/style/popconfirm.css +1 -1
  138. package/dist/style/popover.css +1 -1
  139. package/dist/style/popup.css +1 -1
  140. package/dist/style/progress.css +1 -1
  141. package/dist/style/rate.css +1 -1
  142. package/dist/style/spin.css +1 -1
  143. package/dist/style/steps.css +1 -1
  144. package/dist/style/table.css +1 -1
  145. package/dist/style/tag.css +1 -1
  146. package/dist/style/time-picker.css +1 -1
  147. package/dist/style/time-range-selector.css +1 -1
  148. package/dist/style.css +1 -1
  149. package/package.json +30 -4
  150. package/dist/es/icons/_self/down.js +0 -16
  151. package/dist/es/icons/_self/eye-invisible.js +0 -13
  152. package/dist/es/icons/_self/eye.js +0 -13
  153. package/dist/es/icons/_self/minus.js +0 -13
  154. package/dist/es/icons/_self/plus.js +0 -12
  155. package/dist/es/icons/_self/question-message.js +0 -12
  156. package/dist/es/icons/_self/search.js +0 -13
  157. package/dist/es/icons/_self/up.js +0 -16
  158. package/dist/es/icons/_ui/calendar.js +0 -13
  159. package/dist/es/icons/_ui/time.js +0 -12
@@ -1,10 +1,20 @@
1
- import { defineComponent as K, ref as L, watch as B, computed as i, nextTick as F } from "vue";
1
+ import { defineComponent as K, ref as L, watch as R, computed as i, nextTick as F } from "vue";
2
2
  import { getClassNameMixin as Q } from "../../_utils/config.js";
3
3
  import { useLocale as Y } from "../../locale/index.js";
4
- import { getWeekdayLabels as G, getHeaderLabel as J, createDateCells as X, moveViewDate as M, normalizePanelValue as g } from "./utils.js";
5
- import { dayjs as R } from "../../_utils/date.js";
6
- const ne = K({
4
+ import { getWeekdayLabels as G, getHeaderLabel as J, createDateCells as X, moveViewDate as B, normalizePanelValue as g } from "./utils.js";
5
+ import { dayjs as I } from "../../_utils/date.js";
6
+ import Z from "../../icons/default/left.js";
7
+ import $ from "../../icons/default/right.js";
8
+ import p from "../../icons/default/double-left.js";
9
+ import ee from "../../icons/default/double-right.js";
10
+ const se = K({
7
11
  name: "DatePanel",
12
+ components: {
13
+ IconLeft: Z,
14
+ IconRight: $,
15
+ IconDoubleLeft: p,
16
+ IconDoubleRight: ee
17
+ },
8
18
  props: {
9
19
  mode: {
10
20
  type: String,
@@ -70,26 +80,26 @@ const ne = K({
70
80
  cancel: () => !0
71
81
  },
72
82
  setup(e, { emit: s }) {
73
- const x = Q("date-picker"), { t: o, locale: P } = Y(), d = L(e.viewDate || e.value || e.rangeValue[0] || R()), W = L(), v = L("");
74
- B(
83
+ const M = Q("date-picker"), { t: d, locale: P } = Y(), u = L(e.viewDate || e.value || e.rangeValue[0] || I()), W = L(), v = L("");
84
+ R(
75
85
  () => e.viewDate,
76
86
  (t) => {
77
- t && (d.value = t);
87
+ t && (u.value = t);
78
88
  }
79
- ), B(
89
+ ), R(
80
90
  () => [e.value, e.rangeValue[0], e.rangeValue[1], e.mode],
81
91
  () => {
82
92
  if (e.viewDate) return;
83
93
  const t = e.value || e.rangeValue[0] || e.rangeValue[1];
84
- t && (d.value = t);
94
+ t && (u.value = t);
85
95
  }
86
96
  );
87
- const H = i(
97
+ const x = i(
88
98
  () => G(e.dayStartOfWeek, P.value.datePicker)
89
- ), _ = i(() => J(d.value, e.mode)), N = i(() => e.mode === "month" ? o("datePicker.thisMonth") : e.mode === "year" ? o("datePicker.thisYear") : e.mode === "quarter" ? o("datePicker.thisQuarter") : e.mode === "week" ? o("datePicker.thisWeek") : o("datePicker.today")), r = i(
99
+ ), H = i(() => J(u.value, e.mode)), _ = i(() => e.mode === "month" ? d("datePicker.thisMonth") : e.mode === "year" ? d("datePicker.thisYear") : e.mode === "quarter" ? d("datePicker.thisQuarter") : e.mode === "week" ? d("datePicker.thisWeek") : d("datePicker.today")), r = i(
90
100
  () => X({
91
101
  mode: e.mode,
92
- viewDate: d.value,
102
+ viewDate: u.value,
93
103
  selectedValue: e.value,
94
104
  rangeValue: e.rangeValue,
95
105
  previewRangeValue: e.previewRangeValue,
@@ -101,25 +111,25 @@ const ne = K({
101
111
  })
102
112
  ), c = i(
103
113
  () => e.mode === "date" || e.mode === "week" ? 7 : e.mode === "quarter" ? 2 : 3
104
- ), T = i(() => {
114
+ ), N = i(() => {
105
115
  const t = e.mode === "week" ? 8 : c.value;
106
116
  return Array.from(
107
117
  { length: Math.ceil(r.value.length / t) },
108
118
  (a, l) => r.value.slice(l * t, (l + 1) * t)
109
119
  );
110
- }), k = (t) => !t.isWeekLabel && !t.disabled && t.inView, U = i(() => {
120
+ }), k = (t) => !t.isWeekLabel && !t.disabled && t.inView, T = i(() => {
111
121
  const t = r.value.filter(k);
112
122
  return t.find((a) => a.title === v.value) ?? t.find((a) => a.selected || a.rangeStart || a.rangeEnd) ?? t.find((a) => a.today && !a.outView) ?? t.find((a) => !a.outView) ?? t[0];
113
- }), j = () => {
123
+ }), U = () => {
114
124
  F(() => {
115
125
  var t, a;
116
126
  (a = (t = W.value) == null ? void 0 : t.querySelector('[role="gridcell"][tabindex="0"]')) == null || a.focus();
117
127
  });
118
128
  }, y = (t) => {
119
- d.value = t, s("view-date-change", t);
120
- }, q = (t, a = !1) => {
121
- y(M(d.value, e.mode, t, a)), v.value = "";
122
- }, E = (t, a) => {
129
+ u.value = t, s("view-date-change", t);
130
+ }, j = (t, a = !1) => {
131
+ y(B(u.value, e.mode, t, a)), v.value = "";
132
+ }, q = (t, a) => {
123
133
  var C;
124
134
  if (!k(a)) return;
125
135
  const l = t.key;
@@ -138,52 +148,52 @@ const ne = K({
138
148
  const m = e.mode === "date" || e.mode === "week" ? "day" : e.mode === "year" ? "year" : "month", S = e.mode === "quarter" ? 3 : 1;
139
149
  let f = l === "ArrowLeft" ? -1 : l === "ArrowRight" ? 1 : l === "ArrowUp" ? -c.value : c.value, n = a.value, w;
140
150
  if (l === "Home" || l === "End") {
141
- const u = r.value.filter((D) => !D.isWeekLabel), b = u.findIndex((D) => D.title === a.title), V = Math.floor(b / c.value) * c.value, O = Math.min(V + c.value - 1, u.length - 1);
142
- n = u[l === "Home" ? V : O].value, w = u[l === "Home" ? O : V].value, f = l === "Home" ? 1 : -1;
143
- } else l === "PageUp" || l === "PageDown" ? (f = l === "PageUp" ? -1 : 1, n = M(a.value, e.mode, f, t.shiftKey)) : n = n.add(f * S, m);
144
- for (let u = 0; u < 366; u++) {
151
+ const o = r.value.filter((D) => !D.isWeekLabel), b = o.findIndex((D) => D.title === a.title), V = Math.floor(b / c.value) * c.value, O = Math.min(V + c.value - 1, o.length - 1);
152
+ n = o[l === "Home" ? V : O].value, w = o[l === "Home" ? O : V].value, f = l === "Home" ? 1 : -1;
153
+ } else l === "PageUp" || l === "PageDown" ? (f = l === "PageUp" ? -1 : 1, n = B(a.value, e.mode, f, t.shiftKey)) : n = n.add(f * S, m);
154
+ for (let o = 0; o < 366; o++) {
145
155
  const b = g(n, e.mode);
146
156
  if (!((C = e.disabledDate) != null && C.call(e, b.toDate()))) break;
147
- if (n = n.add(f * S, m), w && (f > 0 ? n.isAfter(w, m) : n.isBefore(w, m)) || u === 365) return;
157
+ if (n = n.add(f * S, m), w && (f > 0 ? n.isAfter(w, m) : n.isBefore(w, m)) || o === 365) return;
148
158
  }
149
159
  y(n);
150
160
  const h = r.value.find(
151
- (u) => !u.isWeekLabel && u.value.isSame(n, m)
161
+ (o) => !o.isWeekLabel && o.value.isSame(n, m)
152
162
  );
153
- h && k(h) && (v.value = h.title, A(h), j());
154
- }, I = () => {
155
- e.mode === "date" && y(d.value.startOf("year"));
163
+ h && k(h) && (v.value = h.title, A(h), U());
164
+ }, E = () => {
165
+ e.mode === "date" && y(u.value.startOf("year"));
156
166
  }, z = (t) => {
157
167
  t.isWeekLabel || t.disabled || !t.inView || s("select", g(t.value, e.mode, e.dayStartOfWeek));
158
168
  }, A = (t) => {
159
169
  t.isWeekLabel || t.disabled || !t.inView || s("cell-mouse-enter", g(t.value, e.mode, e.dayStartOfWeek));
160
170
  };
161
171
  return {
162
- t: o,
163
- className: x,
172
+ t: d,
173
+ className: M,
164
174
  cells: r,
165
- cellRows: T,
175
+ cellRows: N,
166
176
  panelRef: W,
167
177
  activeTitle: v,
168
- activeCell: U,
169
- handleCellKeydown: E,
170
- headerLabel: _,
171
- todayLabel: N,
172
- weekdayLabels: H,
173
- movePanel: q,
174
- zoomHeader: I,
178
+ activeCell: T,
179
+ handleCellKeydown: q,
180
+ headerLabel: H,
181
+ todayLabel: _,
182
+ weekdayLabels: x,
183
+ movePanel: j,
184
+ zoomHeader: E,
175
185
  handleSelect: z,
176
186
  handleCellMouseEnter: A,
177
187
  handleCellMouseLeave: () => {
178
188
  s("cell-mouse-leave");
179
189
  },
180
190
  selectToday: () => {
181
- const t = R();
191
+ const t = I();
182
192
  s("select", g(t, e.mode, e.dayStartOfWeek)), y(t);
183
193
  }
184
194
  };
185
195
  }
186
196
  });
187
197
  export {
188
- ne as default
198
+ se as default
189
199
  };
@@ -4,7 +4,7 @@ import { Trigger as ia } from "../trigger/index.js";
4
4
  import ca from "../_components/picker/input.vue.js";
5
5
  import da from "../_components/picker/input-range.vue.js";
6
6
  import sa from "../time-picker/TimePanel.vue.js";
7
- import va from "../../icons/_ui/calendar.js";
7
+ import va from "../../icons/default/calendar.js";
8
8
  import { getClassNameMixin as fa } from "../../_utils/config.js";
9
9
  import { omit as ma } from "../../_utils/omit.js";
10
10
  import { isArray as i } from "../../_utils/is.js";
@@ -1,54 +1,57 @@
1
1
  import u from "./form-item-label.vue2.js";
2
- import { resolveComponent as s, openBlock as o, createBlock as r, withCtx as a, resolveDynamicComponent as f, mergeProps as h, createElementBlock as m, normalizeClass as n, createElementVNode as t, createCommentVNode as i, renderSlot as v, createVNode as k, createTextVNode as g, toDisplayString as z } from "vue";
3
- import C from "../../_virtual/_plugin-vue_export-helper.js";
4
- function N(e, l, b, y, L, q) {
5
- const c = s("icon-question-circle"), d = s("Tooltip"), p = s("ResizeObserver");
6
- return o(), r(p, { onResize: e.handleResize }, {
2
+ import { resolveComponent as t, openBlock as o, createBlock as s, withCtx as a, resolveDynamicComponent as f, mergeProps as h, createElementBlock as m, normalizeClass as i, createElementVNode as r, createCommentVNode as n, renderSlot as v, createVNode as b, createTextVNode as g, toDisplayString as k } from "vue";
3
+ import z from "../../_virtual/_plugin-vue_export-helper.js";
4
+ function C(e, l, N, y, L, q) {
5
+ const c = t("icon-question-circle"), d = t("Tooltip"), p = t("ResizeObserver");
6
+ return o(), s(p, { onResize: e.handleResize }, {
7
7
  default: a(() => [
8
- (o(), r(f(e.component), h({
8
+ (o(), s(f(e.component), h({
9
9
  ref: "labelRef",
10
10
  class: e.className.block
11
11
  }, e.attrs), {
12
12
  default: a(() => [
13
13
  e.required && e.asteriskPosition === "start" ? (o(), m("strong", {
14
14
  key: 0,
15
- class: n(e.className.modifier("required-symbol"))
15
+ class: i(e.className.modifier("required-symbol"))
16
16
  }, [...l[0] || (l[0] = [
17
- t("svg", {
17
+ r("svg", {
18
18
  fill: "currentColor",
19
19
  viewBox: "0 0 1024 1024",
20
20
  width: "1em",
21
21
  height: "1em"
22
22
  }, [
23
- t("path", { d: "M583.338667 17.066667c18.773333 0 34.133333 15.36 34.133333 34.133333v349.013333l313.344-101.888a34.133333 34.133333 0 0 1 43.008 22.016l42.154667 129.706667a34.133333 34.133333 0 0 1-21.845334 43.178667l-315.733333 102.4 208.896 287.744a34.133333 34.133333 0 0 1-7.509333 47.786666l-110.421334 80.213334a34.133333 34.133333 0 0 1-47.786666-7.509334L505.685333 706.218667 288.426667 1005.226667a34.133333 34.133333 0 0 1-47.786667 7.509333l-110.421333-80.213333a34.133333 34.133333 0 0 1-7.509334-47.786667l214.186667-295.253333L29.013333 489.813333a34.133333 34.133333 0 0 1-22.016-43.008l42.154667-129.877333a34.133333 34.133333 0 0 1 43.008-22.016l320.512 104.106667L412.672 51.2c0-18.773333 15.36-34.133333 34.133333-34.133333h136.533334z" })
23
+ r("path", { d: "M583.338667 17.066667c18.773333 0 34.133333 15.36 34.133333 34.133333v349.013333l313.344-101.888a34.133333 34.133333 0 0 1 43.008 22.016l42.154667 129.706667a34.133333 34.133333 0 0 1-21.845334 43.178667l-315.733333 102.4 208.896 287.744a34.133333 34.133333 0 0 1-7.509333 47.786666l-110.421334 80.213334a34.133333 34.133333 0 0 1-47.786666-7.509334L505.685333 706.218667 288.426667 1005.226667a34.133333 34.133333 0 0 1-47.786667 7.509333l-110.421333-80.213333a34.133333 34.133333 0 0 1-7.509334-47.786667l214.186667-295.253333L29.013333 489.813333a34.133333 34.133333 0 0 1-22.016-43.008l42.154667-129.877333a34.133333 34.133333 0 0 1 43.008-22.016l320.512 104.106667L412.672 51.2c0-18.773333 15.36-34.133333 34.133333-34.133333h136.533334z" })
24
24
  ], -1)
25
- ])], 2)) : i("", !0),
25
+ ])], 2)) : n("", !0),
26
26
  v(e.$slots, "default"),
27
- e.tooltip ? (o(), r(d, {
27
+ e.tooltip ? (o(), s(d, {
28
28
  key: 1,
29
- content: e.tooltip
29
+ content: e.tooltip,
30
+ trigger: ["hover", "focus"]
30
31
  }, {
31
32
  default: a(() => [
32
- k(c, {
33
- class: n(e.className.element("tooltip"))
34
- }, null, 8, ["class"])
33
+ b(c, {
34
+ class: i(e.className.element("tooltip")),
35
+ "aria-label": e.tooltip,
36
+ tabindex: "0"
37
+ }, null, 8, ["class", "aria-label"])
35
38
  ]),
36
39
  _: 1
37
- }, 8, ["content"])) : i("", !0),
40
+ }, 8, ["content"])) : n("", !0),
38
41
  e.required && e.asteriskPosition === "end" ? (o(), m("strong", {
39
42
  key: 2,
40
- class: n(e.className.modifier("required-symbol"))
43
+ class: i(e.className.modifier("required-symbol"))
41
44
  }, [...l[1] || (l[1] = [
42
- t("svg", {
45
+ r("svg", {
43
46
  fill: "currentColor",
44
47
  viewBox: "0 0 1024 1024",
45
48
  width: "1em",
46
49
  height: "1em"
47
50
  }, [
48
- t("path", { d: "M583.338667 17.066667c18.773333 0 34.133333 15.36 34.133333 34.133333v349.013333l313.344-101.888a34.133333 34.133333 0 0 1 43.008 22.016l42.154667 129.706667a34.133333 34.133333 0 0 1-21.845334 43.178667l-315.733333 102.4 208.896 287.744a34.133333 34.133333 0 0 1-7.509333 47.786666l-110.421334 80.213334a34.133333 34.133333 0 0 1-47.786666-7.509334L505.685333 706.218667 288.426667 1005.226667a34.133333 34.133333 0 0 1-47.786667 7.509333l-110.421333-80.213333a34.133333 34.133333 0 0 1-7.509334-47.786667l214.186667-295.253333L29.013333 489.813333a34.133333 34.133333 0 0 1-22.016-43.008l42.154667-129.877333a34.133333 34.133333 0 0 1 43.008-22.016l320.512 104.106667L412.672 51.2c0-18.773333 15.36-34.133333 34.133333-34.133333h136.533334z" })
51
+ r("path", { d: "M583.338667 17.066667c18.773333 0 34.133333 15.36 34.133333 34.133333v349.013333l313.344-101.888a34.133333 34.133333 0 0 1 43.008 22.016l42.154667 129.706667a34.133333 34.133333 0 0 1-21.845334 43.178667l-315.733333 102.4 208.896 287.744a34.133333 34.133333 0 0 1-7.509333 47.786666l-110.421334 80.213334a34.133333 34.133333 0 0 1-47.786666-7.509334L505.685333 706.218667 288.426667 1005.226667a34.133333 34.133333 0 0 1-47.786667 7.509333l-110.421333-80.213333a34.133333 34.133333 0 0 1-7.509334-47.786667l214.186667-295.253333L29.013333 489.813333a34.133333 34.133333 0 0 1-22.016-43.008l42.154667-129.877333a34.133333 34.133333 0 0 1 43.008-22.016l320.512 104.106667L412.672 51.2c0-18.773333 15.36-34.133333 34.133333-34.133333h136.533334z" })
49
52
  ], -1)
50
- ])], 2)) : i("", !0),
51
- g(" " + z(e.showColon ? ":" : ""), 1)
53
+ ])], 2)) : n("", !0),
54
+ g(" " + k(e.showColon ? ":" : ""), 1)
52
55
  ]),
53
56
  _: 3
54
57
  }, 16, ["class"]))
@@ -56,7 +59,7 @@ function N(e, l, b, y, L, q) {
56
59
  _: 3
57
60
  }, 8, ["onResize"]);
58
61
  }
59
- const $ = /* @__PURE__ */ C(u, [["render", N]]);
62
+ const $ = /* @__PURE__ */ z(u, [["render", C]]);
60
63
  export {
61
64
  $ as default
62
65
  };
@@ -3,7 +3,7 @@ import p from "../../_container/resize-observer-v2.js";
3
3
  import { formInjectionKey as d } from "./context.js";
4
4
  import { isNumber as i } from "../../_utils/is.js";
5
5
  import { Tooltip as c } from "../tooltip/index.js";
6
- import b from "../../icons/_self/question-message.js";
6
+ import b from "../../icons/default/question-circle.js";
7
7
  import { getClassNameMixin as h } from "../../_utils/config.js";
8
8
  const B = s({
9
9
  name: "FormItemLabel",
@@ -2,49 +2,18 @@ import { defineComponent as t, createVNode as e } from "vue";
2
2
  const r = /* @__PURE__ */ t({
3
3
  name: "IconCheck",
4
4
  render() {
5
- return (
6
- // <svg
7
- // aria-hidden="true"
8
- // focusable="false"
9
- // viewBox="0 0 1024 1024"
10
- // width="200"
11
- // height="200"
12
- // fill="currentColor"
13
- // >
14
- // <path
15
- // d="M877.44815445 206.10060629a64.72691371 64.72691371 0 0 0-95.14856334 4.01306852L380.73381888 685.46812814 235.22771741 533.48933518a64.72691371 64.72691371 0 0 0-92.43003222-1.03563036l-45.82665557 45.82665443a64.72691371 64.72691371 0 0 0-0.90617629 90.61767965l239.61903446 250.10479331a64.72691371 64.72691371 0 0 0 71.19960405 15.14609778 64.33855261 64.33855261 0 0 0 35.08198741-21.23042702l36.24707186-42.71976334 40.5190474-40.77795556-3.36579926-3.49525333 411.40426297-486.74638962a64.72691371 64.72691371 0 0 0-3.88361443-87.64024149l-45.3088404-45.43829334z"
16
- // p-id="840"
17
- // ></path>
18
- // </svg>
19
- // <svg
20
- // t="1743062401095"
21
- // class="icon"
22
- // viewBox="0 0 1024 1024"
23
- // version="1.1"
24
- // xmlns="http://www.w3.org/2000/svg"
25
- // p-id="7329"
26
- // width="1024"
27
- // height="1024"
28
- // >
29
- // <path
30
- // d="M863.576287 208.933543 426.318572 673.529907 128.084167 464.780559 64.132646 496.746598 447.865307 848.494801 959.52557 208.933543Z"
31
- // fill="currentColor"
32
- // p-id="7330"
33
- // ></path>
34
- // </svg>
35
- e("svg", {
36
- "aria-hidden": "true",
37
- focusable: "false",
38
- viewBox: "0 0 1024 1024",
39
- version: "1.1",
40
- xmlns: "http://www.w3.org/2000/svg",
41
- width: "1024",
42
- height: "1024"
43
- }, [e("path", {
44
- d: "M954.848 323.424q0 22.848-16 38.848l-491.424 491.424q-16 16-38.848 16t-38.848-16l-284.576-284.576q-16-16-16-38.848t16-38.848l77.728-77.728q16-16 38.848-16t38.848 16l168 168.576 374.848-375.424q16-16 38.848-16t38.848 16l77.728 77.728q16 16 16 38.848z",
45
- fill: "currentColor"
46
- }, null)])
47
- );
5
+ return e("svg", {
6
+ "aria-hidden": "true",
7
+ focusable: "false",
8
+ viewBox: "0 0 1024 1024",
9
+ version: "1.1",
10
+ xmlns: "http://www.w3.org/2000/svg",
11
+ width: "1024",
12
+ height: "1024"
13
+ }, [e("path", {
14
+ d: "M954.848 323.424q0 22.848-16 38.848l-491.424 491.424q-16 16-38.848 16t-38.848-16l-284.576-284.576q-16-16-16-38.848t16-38.848l77.728-77.728q16-16 38.848-16t38.848 16l168 168.576 374.848-375.424q16-16 38.848-16t38.848 16l77.728 77.728q16 16 16 38.848z",
15
+ fill: "currentColor"
16
+ }, null)]);
48
17
  }
49
18
  });
50
19
  export {
@@ -1,7 +1,7 @@
1
1
  import { defineComponent as d, toRefs as c, ref as v, reactive as b } from "vue";
2
2
  import y from "../_components/icon-hover/index.vue.js";
3
- import I from "../../icons/_self/eye.js";
4
- import h from "../../icons/_self/eye-invisible.js";
3
+ import I from "../../icons/default/eye.js";
4
+ import h from "../../icons/default/eye-invisible.js";
5
5
  import g from "../../_hooks/use-merge-state.js";
6
6
  import { useLocale as B } from "../../locale/index.js";
7
7
  import R from "./Input.js";
@@ -1,7 +1,7 @@
1
1
  import { defineComponent as x, toRefs as S, ref as y, createVNode as r, mergeProps as z, Fragment as B } from "vue";
2
2
  import { useLocale as I } from "../../locale/index.js";
3
3
  import R from "../_components/icon-hover/index.vue.js";
4
- import m from "../../icons/_self/search.js";
4
+ import m from "../../icons/default/search.js";
5
5
  import C from "../../icons/animation/animation-loading.js";
6
6
  import { Button as P } from "../button/index.js";
7
7
  import k from "./Input.js";
@@ -1,10 +1,10 @@
1
1
  import { defineComponent as G, toRefs as J, ref as V, computed as D, watch as p, onUnmounted as Q, createVNode as o, Fragment as Z } from "vue";
2
2
  import O from "../../node_modules/.pnpm/number-precision@1.6.0/node_modules/number-precision/build/index.es.js";
3
3
  import { isNumber as s, isUndefined as ee } from "../../_utils/is.js";
4
- import ne from "../../icons/_self/up.js";
5
- import ue from "../../icons/_self/down.js";
6
- import te from "../../icons/_self/plus.js";
7
- import ae from "../../icons/_self/minus.js";
4
+ import ne from "../../icons/default/up.js";
5
+ import ue from "../../icons/default/down.js";
6
+ import te from "../../icons/default/plus.js";
7
+ import ae from "../../icons/default/minus.js";
8
8
  import E from "../button/Button.js";
9
9
  import { Input as le } from "../form-input/index.js";
10
10
  import { useFormItem as ie } from "../../_hooks/use-form-item.js";