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.
- package/AI_USAGE.md +2 -2
- package/CHANGELOG.md +36 -0
- package/dist/_utils/constant.d.ts +1 -1
- package/dist/_utils/palette.d.ts +6 -14
- package/dist/components/alert/Alert.vue.d.ts +9 -9
- package/dist/components/alert/index.d.ts +6 -6
- package/dist/components/button/ButtonGroup.vue.d.ts +22 -18
- package/dist/components/date-picker/DatePanel.vue.d.ts +342 -1
- package/dist/components/date-picker/DatePicker.vue.d.ts +343 -2
- package/dist/components/date-picker/index.d.ts +1765 -1083
- package/dist/components/form-input-tag/index.d.ts +26 -25
- package/dist/components/form-input-tag/interface.d.ts +8 -0
- package/dist/components/link/Link.vue.d.ts +4 -4
- package/dist/components/link/index.d.ts +6 -6
- package/dist/components/message/index.d.ts +3 -3
- package/dist/components/message/message.vue.d.ts +1 -1
- package/dist/components/notification/Notification.d.ts +1 -1
- package/dist/components/notification/index.d.ts +3 -3
- package/dist/components/popconfirm/src/types.d.ts +1 -1
- package/dist/components/progress/Progress.vue.d.ts +3 -3
- package/dist/components/progress/index.d.ts +3 -3
- package/dist/components/tag/Tag.vue.d.ts +14 -0
- package/dist/components/tag/index.d.ts +9 -0
- package/dist/components/tag/interface.d.ts +5 -0
- package/dist/components/trend-chart/components/TrendChart.d.ts +127 -17
- package/dist/components/trend-chart/components/trend-chart-curve.d.ts +27 -7
- package/dist/components/trend-chart/components/trend-chart-labels.d.ts +4 -0
- package/dist/components/trend-chart/helpers/getPadding.d.ts +3 -2
- package/dist/components/trend-chart/index.d.ts +223 -28
- package/dist/components/trend-chart/props.d.ts +63 -5
- package/dist/es/_styles/palette-aliases.js +182 -127
- package/dist/es/_utils/palette.js +49 -43
- package/dist/es/components/_components/picker/input-range.vue2.js +10 -10
- package/dist/es/components/_components/picker/input.vue2.js +20 -20
- package/dist/es/components/_components/select-view/select-view.js +2 -2
- package/dist/es/components/alert/Alert.vue.js +2 -2
- package/dist/es/components/alert/Alert.vue2.js +21 -20
- package/dist/es/components/button/Button.js +17 -17
- package/dist/es/components/button/ButtonGroup.vue2.js +11 -9
- package/dist/es/components/date-picker/DatePanel.vue.js +71 -62
- package/dist/es/components/date-picker/DatePanel.vue2.js +50 -40
- package/dist/es/components/date-picker/DatePicker.vue2.js +1 -1
- package/dist/es/components/form/form-item-label.vue.js +25 -22
- package/dist/es/components/form/form-item-label.vue2.js +1 -1
- package/dist/es/components/form-checkbox/icon-check.js +12 -43
- package/dist/es/components/form-input/InputPassword.vue2.js +2 -2
- package/dist/es/components/form-input/InputSearch.js +1 -1
- package/dist/es/components/form-input-number/InputNumber.js +4 -4
- package/dist/es/components/form-input-tag/InputTag.js +168 -147
- package/dist/es/components/form-input-tag/utils.js +21 -19
- package/dist/es/components/form-textarea/Textarea.vue2.js +1 -1
- package/dist/es/components/link/Link.vue2.js +1 -1
- package/dist/es/components/popconfirm/src/popup.vue.js +1 -1
- package/dist/es/components/progress/Progress.vue2.js +1 -1
- package/dist/es/components/table/Table.js +1 -1
- package/dist/es/components/table/table-th.js +2 -2
- package/dist/es/components/tabs/tabs-button.js +2 -2
- package/dist/es/components/tabs/tabs-nav.js +1 -1
- package/dist/es/components/tag/Tag.vue.js +20 -20
- package/dist/es/components/tag/Tag.vue2.js +35 -28
- package/dist/es/components/time-picker/TimePanel.vue.js +30 -29
- package/dist/es/components/time-picker/TimePicker.vue2.js +1 -1
- package/dist/es/components/time-picker/TimeRangePanel.js +26 -23
- package/dist/es/components/trend-chart/components/TrendChart.js +208 -142
- package/dist/es/components/trend-chart/components/trend-chart-curve.js +124 -59
- package/dist/es/components/trend-chart/components/trend-chart-labels.js +43 -41
- package/dist/es/components/trend-chart/helpers/getPadding.js +3 -3
- package/dist/es/components/trend-chart/props.js +101 -33
- package/dist/es/components/trend-chart/themes.js +15 -15
- package/dist/es/components/watermark/controller.js +40 -40
- package/dist/es/icons/default/calendar.js +15 -0
- package/dist/es/icons/default/clock-circle.js +15 -0
- package/dist/es/icons/default/double-left.js +15 -0
- package/dist/es/icons/default/double-right.js +15 -0
- package/dist/es/icons/default/down.js +16 -0
- package/dist/es/icons/default/eye-invisible.js +20 -0
- package/dist/es/icons/default/eye.js +18 -0
- package/dist/es/icons/default/left.js +15 -0
- package/dist/es/icons/default/minus.js +16 -0
- package/dist/es/icons/default/plus.js +16 -0
- package/dist/es/icons/default/question-circle.js +18 -0
- package/dist/es/icons/default/right.js +15 -0
- package/dist/es/icons/default/search.js +16 -0
- package/dist/es/icons/default/up.js +16 -0
- package/dist/es/icons/icon.js +26 -25
- package/dist/es/icons/public/boxicons/basic.js +1893 -0
- package/dist/es/icons/public/boxicons/brands.js +304 -0
- package/dist/es/icons/public/boxicons/filled.js +1893 -0
- package/dist/es/icons/public/boxicons/index.js +24 -0
- package/dist/es/icons/public/boxicons/names.js +4082 -0
- package/dist/es/icons/registry.js +15 -15
- package/dist/es/style.css +1 -1
- package/dist/icons/default/calendar.d.ts +93 -0
- package/dist/icons/default/clock-circle.d.ts +93 -0
- package/dist/icons/{_self/down.d.ts → default/double-left.d.ts} +6 -0
- package/dist/icons/{_self/eye-invisible.d.ts → default/double-right.d.ts} +6 -0
- package/dist/icons/default/down.d.ts +93 -0
- package/dist/icons/default/eye-invisible.d.ts +93 -0
- package/dist/icons/default/eye.d.ts +93 -0
- package/dist/icons/{_self/eye.d.ts → default/left.d.ts} +7 -0
- package/dist/icons/default/minus.d.ts +93 -0
- package/dist/icons/{_self → default}/plus.d.ts +7 -0
- package/dist/icons/default/question-circle.d.ts +93 -0
- package/dist/icons/{_self/minus.d.ts → default/right.d.ts} +7 -0
- package/dist/icons/{_self → default}/search.d.ts +7 -0
- package/dist/icons/{_self → default}/up.d.ts +7 -0
- package/dist/icons/public/boxicons/basic.cjs +1 -0
- package/dist/icons/public/boxicons/basic.d.ts +2 -0
- package/dist/icons/public/boxicons/brands.cjs +1 -0
- package/dist/icons/public/boxicons/brands.d.ts +2 -0
- package/dist/icons/public/boxicons/filled.cjs +1 -0
- package/dist/icons/public/boxicons/filled.d.ts +2 -0
- package/dist/icons/public/boxicons/index.cjs +1 -0
- package/dist/icons/public/boxicons/index.d.ts +10 -0
- package/dist/icons/public/boxicons/names.d.ts +10 -0
- package/dist/icons/registry.d.ts +5 -0
- package/dist/index.cjs +4 -4
- package/dist/index.umd.js +4 -4
- package/dist/style/alert.css +1 -1
- package/dist/style/base.css +1 -1
- package/dist/style/button.css +1 -1
- package/dist/style/date-picker.css +1 -1
- package/dist/style/dialog.css +1 -1
- package/dist/style/drawer.css +1 -1
- package/dist/style/dropdown.css +1 -1
- package/dist/style/form-input-number.css +1 -1
- package/dist/style/form-input-tag.css +1 -1
- package/dist/style/form-input.css +1 -1
- package/dist/style/form-radio.css +1 -1
- package/dist/style/form-select.css +1 -1
- package/dist/style/form-textarea.css +1 -1
- package/dist/style/form.css +1 -1
- package/dist/style/link.css +1 -1
- package/dist/style/menu.css +1 -1
- package/dist/style/message-box.css +1 -1
- package/dist/style/network.css +1 -1
- package/dist/style/popconfirm.css +1 -1
- package/dist/style/popover.css +1 -1
- package/dist/style/popup.css +1 -1
- package/dist/style/progress.css +1 -1
- package/dist/style/rate.css +1 -1
- package/dist/style/spin.css +1 -1
- package/dist/style/steps.css +1 -1
- package/dist/style/table.css +1 -1
- package/dist/style/tag.css +1 -1
- package/dist/style/time-picker.css +1 -1
- package/dist/style/time-range-selector.css +1 -1
- package/dist/style.css +1 -1
- package/package.json +30 -4
- package/dist/es/icons/_self/down.js +0 -16
- package/dist/es/icons/_self/eye-invisible.js +0 -13
- package/dist/es/icons/_self/eye.js +0 -13
- package/dist/es/icons/_self/minus.js +0 -13
- package/dist/es/icons/_self/plus.js +0 -12
- package/dist/es/icons/_self/question-message.js +0 -12
- package/dist/es/icons/_self/search.js +0 -13
- package/dist/es/icons/_self/up.js +0 -16
- package/dist/es/icons/_ui/calendar.js +0 -13
- package/dist/es/icons/_ui/time.js +0 -12
|
@@ -1,10 +1,20 @@
|
|
|
1
|
-
import { defineComponent as K, ref as L, watch as
|
|
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
|
|
5
|
-
import { dayjs as
|
|
6
|
-
|
|
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
|
|
74
|
-
|
|
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 && (
|
|
87
|
+
t && (u.value = t);
|
|
78
88
|
}
|
|
79
|
-
),
|
|
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 && (
|
|
94
|
+
t && (u.value = t);
|
|
85
95
|
}
|
|
86
96
|
);
|
|
87
|
-
const
|
|
97
|
+
const x = i(
|
|
88
98
|
() => G(e.dayStartOfWeek, P.value.datePicker)
|
|
89
|
-
),
|
|
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:
|
|
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
|
-
),
|
|
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,
|
|
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
|
-
}),
|
|
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
|
-
|
|
120
|
-
},
|
|
121
|
-
y(
|
|
122
|
-
},
|
|
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
|
|
142
|
-
n =
|
|
143
|
-
} else l === "PageUp" || l === "PageDown" ? (f = l === "PageUp" ? -1 : 1, n =
|
|
144
|
-
for (let
|
|
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)) ||
|
|
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
|
-
(
|
|
161
|
+
(o) => !o.isWeekLabel && o.value.isSame(n, m)
|
|
152
162
|
);
|
|
153
|
-
h && k(h) && (v.value = h.title, A(h),
|
|
154
|
-
},
|
|
155
|
-
e.mode === "date" && y(
|
|
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:
|
|
163
|
-
className:
|
|
172
|
+
t: d,
|
|
173
|
+
className: M,
|
|
164
174
|
cells: r,
|
|
165
|
-
cellRows:
|
|
175
|
+
cellRows: N,
|
|
166
176
|
panelRef: W,
|
|
167
177
|
activeTitle: v,
|
|
168
|
-
activeCell:
|
|
169
|
-
handleCellKeydown:
|
|
170
|
-
headerLabel:
|
|
171
|
-
todayLabel:
|
|
172
|
-
weekdayLabels:
|
|
173
|
-
movePanel:
|
|
174
|
-
zoomHeader:
|
|
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 =
|
|
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
|
-
|
|
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/
|
|
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
|
|
3
|
-
import
|
|
4
|
-
function
|
|
5
|
-
const c =
|
|
6
|
-
return o(),
|
|
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(),
|
|
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:
|
|
15
|
+
class: i(e.className.modifier("required-symbol"))
|
|
16
16
|
}, [...l[0] || (l[0] = [
|
|
17
|
-
|
|
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
|
-
|
|
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)) :
|
|
25
|
+
])], 2)) : n("", !0),
|
|
26
26
|
v(e.$slots, "default"),
|
|
27
|
-
e.tooltip ? (o(),
|
|
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
|
-
|
|
33
|
-
class:
|
|
34
|
-
|
|
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"])) :
|
|
40
|
+
}, 8, ["content"])) : n("", !0),
|
|
38
41
|
e.required && e.asteriskPosition === "end" ? (o(), m("strong", {
|
|
39
42
|
key: 2,
|
|
40
|
-
class:
|
|
43
|
+
class: i(e.className.modifier("required-symbol"))
|
|
41
44
|
}, [...l[1] || (l[1] = [
|
|
42
|
-
|
|
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
|
-
|
|
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)) :
|
|
51
|
-
g(" " +
|
|
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__ */
|
|
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/
|
|
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
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
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/
|
|
4
|
-
import h from "../../icons/
|
|
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/
|
|
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/
|
|
5
|
-
import ue from "../../icons/
|
|
6
|
-
import te from "../../icons/
|
|
7
|
-
import ae from "../../icons/
|
|
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";
|