x-next 1.18.0 → 1.18.1
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/catalog.md +1 -1
- package/AI_USAGE/components/alert-api.md +1 -1
- package/AI_USAGE/components/alert.md +1 -1
- package/AI_USAGE/components/bar-chart-api.md +1 -1
- package/AI_USAGE/components/bar-chart.md +1 -1
- package/AI_USAGE/components/boxicons.md +1 -1
- package/AI_USAGE/components/button-api.md +1 -1
- package/AI_USAGE/components/button.md +4 -4
- package/AI_USAGE/components/charts.md +1 -1
- package/AI_USAGE/components/checkbox-api.md +1 -1
- package/AI_USAGE/components/checkbox.md +1 -1
- package/AI_USAGE/components/color-picker-api.md +1 -1
- package/AI_USAGE/components/color-picker.md +1 -1
- package/AI_USAGE/components/config-provider-api.md +1 -1
- package/AI_USAGE/components/config-provider.md +1 -1
- package/AI_USAGE/components/date-picker-api.md +44 -26
- package/AI_USAGE/components/date-picker.md +78 -3
- package/AI_USAGE/components/dialog-api.md +2 -2
- package/AI_USAGE/components/dialog.md +5 -1
- package/AI_USAGE/components/draggable-api.md +1 -1
- package/AI_USAGE/components/draggable.md +1 -1
- package/AI_USAGE/components/drawer-api.md +1 -1
- package/AI_USAGE/components/drawer.md +1 -1
- package/AI_USAGE/components/dropdown-api.md +6 -1
- package/AI_USAGE/components/dropdown.md +2 -2
- package/AI_USAGE/components/empty-api.md +1 -1
- package/AI_USAGE/components/empty.md +1 -1
- package/AI_USAGE/components/finicon.md +1 -1
- package/AI_USAGE/components/form-api.md +1 -1
- package/AI_USAGE/components/form.md +1 -1
- package/AI_USAGE/components/grid-api.md +1 -1
- package/AI_USAGE/components/grid.md +1 -1
- package/AI_USAGE/components/heatmap-api.md +1 -1
- package/AI_USAGE/components/heatmap.md +1 -1
- package/AI_USAGE/components/icon-api.md +1 -1
- package/AI_USAGE/components/icon.md +1 -1
- package/AI_USAGE/components/image-api.md +1 -1
- package/AI_USAGE/components/image.md +1 -1
- package/AI_USAGE/components/input-api.md +1 -1
- package/AI_USAGE/components/input-number-api.md +1 -1
- package/AI_USAGE/components/input-number.md +1 -1
- package/AI_USAGE/components/input-tag-api.md +1 -1
- package/AI_USAGE/components/input-tag.md +1 -1
- package/AI_USAGE/components/input.md +1 -1
- package/AI_USAGE/components/layout-api.md +1 -1
- package/AI_USAGE/components/layout.md +1 -1
- package/AI_USAGE/components/line-chart-api.md +1 -1
- package/AI_USAGE/components/line-chart.md +1 -1
- package/AI_USAGE/components/link-api.md +1 -1
- package/AI_USAGE/components/link.md +1 -1
- package/AI_USAGE/components/menu-api.md +1 -1
- package/AI_USAGE/components/menu.md +1 -1
- package/AI_USAGE/components/message-api.md +1 -1
- package/AI_USAGE/components/message-box-api.md +1 -1
- package/AI_USAGE/components/message-box.md +1 -1
- package/AI_USAGE/components/message.md +1 -1
- package/AI_USAGE/components/network-api.md +1 -1
- package/AI_USAGE/components/network.md +1 -1
- package/AI_USAGE/components/notification-api.md +1 -1
- package/AI_USAGE/components/notification.md +1 -1
- package/AI_USAGE/components/pagination-api.md +1 -1
- package/AI_USAGE/components/pagination.md +1 -1
- package/AI_USAGE/components/pie-chart-api.md +1 -1
- package/AI_USAGE/components/pie-chart.md +1 -1
- package/AI_USAGE/components/popconfirm-api.md +1 -1
- package/AI_USAGE/components/popconfirm.md +1 -1
- package/AI_USAGE/components/popover-api.md +1 -1
- package/AI_USAGE/components/popover.md +3 -1
- package/AI_USAGE/components/popup-api.md +1 -1
- package/AI_USAGE/components/popup.md +1 -1
- package/AI_USAGE/components/progress-api.md +1 -1
- package/AI_USAGE/components/progress.md +1 -1
- package/AI_USAGE/components/radio-api.md +1 -1
- package/AI_USAGE/components/radio.md +1 -1
- package/AI_USAGE/components/rate-api.md +1 -1
- package/AI_USAGE/components/rate.md +1 -1
- package/AI_USAGE/components/resize-box-api.md +1 -1
- package/AI_USAGE/components/resize-box.md +1 -1
- package/AI_USAGE/components/scrollbar-api.md +1 -1
- package/AI_USAGE/components/scrollbar.md +1 -1
- package/AI_USAGE/components/select-api.md +1 -1
- package/AI_USAGE/components/select.md +1 -1
- package/AI_USAGE/components/skeleton-api.md +1 -1
- package/AI_USAGE/components/skeleton.md +1 -1
- package/AI_USAGE/components/slider-api.md +1 -1
- package/AI_USAGE/components/slider.md +1 -1
- package/AI_USAGE/components/space-api.md +1 -1
- package/AI_USAGE/components/space.md +1 -1
- package/AI_USAGE/components/spin-api.md +1 -1
- package/AI_USAGE/components/spin.md +1 -1
- package/AI_USAGE/components/steps-api.md +1 -1
- package/AI_USAGE/components/steps.md +1 -1
- package/AI_USAGE/components/switch-api.md +1 -1
- package/AI_USAGE/components/switch.md +1 -1
- package/AI_USAGE/components/table-api.md +1 -1
- package/AI_USAGE/components/table.md +1 -1
- package/AI_USAGE/components/tabs-api.md +1 -1
- package/AI_USAGE/components/tabs.md +1 -1
- package/AI_USAGE/components/tag-api.md +1 -1
- package/AI_USAGE/components/tag.md +1 -1
- package/AI_USAGE/components/textarea-api.md +1 -1
- package/AI_USAGE/components/textarea.md +1 -1
- package/AI_USAGE/components/time-picker-api.md +1 -1
- package/AI_USAGE/components/time-picker.md +1 -1
- package/AI_USAGE/components/time-range-selector-api.md +1 -1
- package/AI_USAGE/components/time-range-selector.md +1 -1
- package/AI_USAGE/components/timeline-api.md +1 -1
- package/AI_USAGE/components/timeline.md +1 -1
- package/AI_USAGE/components/tooltip-api.md +1 -1
- package/AI_USAGE/components/tooltip.md +1 -1
- package/AI_USAGE/components/transfer-api.md +1 -1
- package/AI_USAGE/components/transfer.md +1 -1
- package/AI_USAGE/components/tree-select-api.md +1 -1
- package/AI_USAGE/components/tree-select.md +1 -1
- package/AI_USAGE/components/trend-chart-api.md +1 -1
- package/AI_USAGE/components/trend-chart.md +1 -1
- package/AI_USAGE/components/trigger-api.md +1 -1
- package/AI_USAGE/components/trigger.md +1 -1
- package/AI_USAGE/components/upload-api.md +1 -1
- package/AI_USAGE/components/upload.md +1 -1
- package/AI_USAGE/components/watermark-api.md +1 -1
- package/AI_USAGE/components/watermark.md +1 -1
- package/AI_USAGE/core.md +1 -1
- package/AI_USAGE/index.md +1 -1
- package/AI_USAGE/recipes/form-on-demand.md +1 -1
- package/AI_USAGE.md +138 -34
- package/CHANGELOG.md +16 -0
- package/dist/_container/render-function.d.ts +2 -2
- package/dist/components/_components/picker/input-range.vue.d.ts +1 -1
- package/dist/components/date-picker/DatePanel.vue.d.ts +10 -1
- package/dist/components/date-picker/DatePicker.vue.d.ts +22 -10
- package/dist/components/date-picker/index.d.ts +156 -54
- package/dist/components/date-picker/utils.d.ts +4 -4
- package/dist/components/dropdown/Dropdown.vue.d.ts +1 -0
- package/dist/components/dropdown/DropdownButton.vue.d.ts +1 -0
- package/dist/components/dropdown/DropdownSubmenu.vue.d.ts +1 -0
- package/dist/components/dropdown/context.d.ts +1 -0
- package/dist/components/dropdown/index.d.ts +8 -0
- package/dist/components/dropdown/use-keyboard.d.ts +1 -0
- package/dist/components/menu/MenuItem.d.ts +2 -2
- package/dist/components/menu/context.d.ts +3 -3
- package/dist/components/menu/index.d.ts +6 -6
- package/dist/components/menu/sub-menu-pop.vue.d.ts +2 -2
- package/dist/components/time-picker/TimePicker.vue.d.ts +1 -1
- package/dist/components/time-picker/index.d.ts +2 -2
- package/dist/es/components/_components/picker/input-range.vue.js +12 -12
- package/dist/es/components/_components/picker/input-range.vue2.js +45 -45
- package/dist/es/components/_components/picker/input.vue2.js +24 -24
- package/dist/es/components/date-picker/DatePanel.vue.js +47 -47
- package/dist/es/components/date-picker/DatePanel.vue2.js +68 -59
- package/dist/es/components/date-picker/DatePicker.vue.js +65 -59
- package/dist/es/components/date-picker/DatePicker.vue2.js +387 -284
- package/dist/es/components/date-picker/index.js +57 -36
- package/dist/es/components/date-picker/utils.js +132 -122
- package/dist/es/components/dialog/Dialog.js +43 -40
- package/dist/es/components/dialog/props.js +1 -1
- package/dist/es/components/dropdown/Dropdown.vue2.js +66 -50
- package/dist/es/components/dropdown/dropdown-panel.vue2.js +48 -43
- package/dist/es/components/dropdown/use-keyboard.js +36 -28
- package/dist/es/components/popover/Popover.js +72 -32
- package/dist/es/style.css +1 -1
- package/dist/index.cjs +3 -3
- package/dist/index.umd.js +3 -3
- 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/message-box.css +1 -1
- package/dist/style.css +1 -1
- package/package.json +2 -1
|
@@ -1,28 +1,28 @@
|
|
|
1
|
-
import { dayjs as
|
|
2
|
-
import { defineComponent as
|
|
3
|
-
import { Trigger as
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import { getClassNameMixin as
|
|
9
|
-
import { omit as
|
|
10
|
-
import { isArray as
|
|
11
|
-
import { useFormItem as
|
|
12
|
-
import { usePickerFocus as
|
|
13
|
-
import { useSize as
|
|
14
|
-
import { useLocale as
|
|
15
|
-
import
|
|
16
|
-
import { isRangeType as
|
|
17
|
-
const
|
|
1
|
+
import { dayjs as N } from "../../_utils/date.js";
|
|
2
|
+
import { defineComponent as fa, useAttrs as ma, toRefs as ga, computed as o, ref as b, watch as H, nextTick as Ve } from "vue";
|
|
3
|
+
import { Trigger as ya } from "../trigger/index.js";
|
|
4
|
+
import ha from "../_components/picker/input.vue.js";
|
|
5
|
+
import Va from "../_components/picker/input-range.vue.js";
|
|
6
|
+
import ba from "../time-picker/TimePanel.vue.js";
|
|
7
|
+
import ka from "../../icons/default/calendar.js";
|
|
8
|
+
import { getClassNameMixin as Pa } from "../../_utils/config.js";
|
|
9
|
+
import { omit as Sa } from "../../_utils/omit.js";
|
|
10
|
+
import { isArray as d } from "../../_utils/is.js";
|
|
11
|
+
import { useFormItem as Da } from "../../_hooks/use-form-item.js";
|
|
12
|
+
import { usePickerFocus as Fa } from "../../_hooks/use-picker-focus.js";
|
|
13
|
+
import { useSize as _a } from "../../_hooks/use-size.js";
|
|
14
|
+
import { useLocale as wa } from "../../locale/index.js";
|
|
15
|
+
import Ba from "./DatePanel.vue.js";
|
|
16
|
+
import { isRangeType as Oa, getDatePickerMode as Ca, getDefaultFormat as Ia, parseDateModelValue as j, getSortedRange as E, getRangeViewDate as be, normalizePanelValue as _, formatPanelValue as w, isSameDateValue as ke, getShortcutValue as Ta, parseInputValue as Pe, getDateValueFromPanel as te } from "./utils.js";
|
|
17
|
+
const Qa = fa({
|
|
18
18
|
name: "DatePicker",
|
|
19
19
|
components: {
|
|
20
|
-
Trigger:
|
|
21
|
-
DateInput:
|
|
22
|
-
DateRangeInput:
|
|
23
|
-
DatePanel:
|
|
24
|
-
TimePanel:
|
|
25
|
-
IconCalendar:
|
|
20
|
+
Trigger: ya,
|
|
21
|
+
DateInput: ha,
|
|
22
|
+
DateRangeInput: Va,
|
|
23
|
+
DatePanel: Ba,
|
|
24
|
+
TimePanel: ba,
|
|
25
|
+
IconCalendar: ka
|
|
26
26
|
},
|
|
27
27
|
inheritAttrs: !1,
|
|
28
28
|
props: {
|
|
@@ -154,270 +154,370 @@ const Ya = na({
|
|
|
154
154
|
"update:modelValue": (t) => !0,
|
|
155
155
|
"update:popupVisible": (t) => !0,
|
|
156
156
|
"update:pickerValue": (t) => !0,
|
|
157
|
-
change: (t, c,
|
|
158
|
-
select: (t, c,
|
|
159
|
-
"calendar-change": (t, c,
|
|
157
|
+
change: (t, c, I) => !0,
|
|
158
|
+
select: (t, c, I) => !0,
|
|
159
|
+
"calendar-change": (t, c, I, $) => !0,
|
|
160
160
|
clear: (t) => !0,
|
|
161
|
-
ok: (t, c,
|
|
161
|
+
ok: (t, c, I) => !0,
|
|
162
162
|
"popup-visible-change": (t) => !0,
|
|
163
|
-
"picker-value-change": (t, c,
|
|
163
|
+
"picker-value-change": (t, c, I) => !0,
|
|
164
164
|
"select-shortcut": (t) => !0,
|
|
165
165
|
focus: (t) => !0,
|
|
166
166
|
blur: (t) => !0
|
|
167
167
|
},
|
|
168
|
-
setup(t, { emit: c }) {
|
|
169
|
-
const
|
|
170
|
-
() => t.format ||
|
|
171
|
-
),
|
|
172
|
-
() => t.valueFormat && t.valueFormat !== "timestamp" && t.valueFormat !== "Date" ? t.valueFormat :
|
|
173
|
-
),
|
|
174
|
-
() =>
|
|
168
|
+
setup(t, { emit: c, expose: I }) {
|
|
169
|
+
const $ = ma(), le = ga(t), Se = Pa("date-picker"), { t: k } = wa(), i = o(() => Oa(t.type)), v = o(() => Ca(t.type)), h = o(() => v.value === "date" && t.showTime), T = o(() => t.timePickerProps || {}), G = o(() => T.value.format || "HH:mm:ss"), Y = o(() => t.showConfirmBtn || h.value), g = o(
|
|
170
|
+
() => t.format || Ia(v.value, h.value)
|
|
171
|
+
), p = o(
|
|
172
|
+
() => t.valueFormat && t.valueFormat !== "timestamp" && t.valueFormat !== "Date" ? t.valueFormat : g.value
|
|
173
|
+
), De = o(
|
|
174
|
+
() => d(t.disabled) ? t.disabled.every(Boolean) : t.disabled
|
|
175
175
|
), {
|
|
176
|
-
mergedSize:
|
|
177
|
-
mergedDisabled:
|
|
178
|
-
mergedError:
|
|
179
|
-
eventHandlers:
|
|
180
|
-
} =
|
|
181
|
-
size:
|
|
182
|
-
disabled:
|
|
183
|
-
error:
|
|
184
|
-
}), { mergedSize:
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
),
|
|
176
|
+
mergedSize: Fe,
|
|
177
|
+
mergedDisabled: _e,
|
|
178
|
+
mergedError: we,
|
|
179
|
+
eventHandlers: W
|
|
180
|
+
} = Da({
|
|
181
|
+
size: le.size,
|
|
182
|
+
disabled: De,
|
|
183
|
+
error: le.error
|
|
184
|
+
}), { mergedSize: Be } = _a(Fe), ue = b(
|
|
185
|
+
j(
|
|
186
|
+
t.defaultValue,
|
|
187
|
+
p.value,
|
|
188
|
+
i.value,
|
|
189
|
+
t.dayStartOfWeek
|
|
190
|
+
)
|
|
191
|
+
), y = o(() => {
|
|
192
|
+
const e = t.modelValue !== void 0 ? j(
|
|
193
|
+
t.modelValue,
|
|
194
|
+
p.value,
|
|
195
|
+
i.value,
|
|
196
|
+
t.dayStartOfWeek
|
|
197
|
+
) : ue.value;
|
|
198
|
+
return i.value && !d(e) ? [void 0, void 0] : e;
|
|
199
|
+
}), ne = b(
|
|
200
|
+
j(
|
|
201
|
+
t.defaultPickerValue,
|
|
202
|
+
p.value,
|
|
203
|
+
i.value,
|
|
204
|
+
t.dayStartOfWeek
|
|
205
|
+
)
|
|
206
|
+
), J = o(() => t.pickerValue !== void 0 ? j(
|
|
207
|
+
t.pickerValue,
|
|
208
|
+
p.value,
|
|
209
|
+
i.value,
|
|
210
|
+
t.dayStartOfWeek
|
|
211
|
+
) : ne.value), x = b(), X = b(!1), s = b(0), oe = b(t.defaultPopupVisible), r = b(y.value), V = b(), f = b(), B = b(), C = b("date"), M = o(() => t.popupVisible ?? oe.value), D = o(() => !!_e.value), Oe = o(
|
|
192
212
|
() => t.readonly || t.disabledInput || t.inputReadOnly
|
|
193
|
-
),
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
if (!
|
|
203
|
-
const e
|
|
213
|
+
), F = o(() => D.value ? [!0, !0] : d(t.disabled) ? t.disabled : [!!t.disabled, !!t.disabled]), A = o(() => i.value && F.value.some(Boolean));
|
|
214
|
+
H(F, (e) => {
|
|
215
|
+
i.value && e[s.value] && (s.value = e[0] ? 1 : 0);
|
|
216
|
+
}, { immediate: !0 });
|
|
217
|
+
const Z = o(
|
|
218
|
+
() => d(r.value) ? void 0 : r.value
|
|
219
|
+
), P = o(
|
|
220
|
+
() => d(r.value) ? r.value : [void 0, void 0]
|
|
221
|
+
), Ce = o(() => {
|
|
222
|
+
if (!i.value || !V.value) return [];
|
|
223
|
+
const [e, a] = P.value;
|
|
224
|
+
return e && !a ? E([e, V.value]) : [];
|
|
225
|
+
}), Ie = o(() => {
|
|
226
|
+
if (!i.value) return [B.value, void 0];
|
|
227
|
+
const e = B.value || P.value[0] || P.value[1], a = be(e, v.value);
|
|
204
228
|
return [e, a];
|
|
205
|
-
}),
|
|
206
|
-
() =>
|
|
207
|
-
),
|
|
208
|
-
() =>
|
|
209
|
-
),
|
|
210
|
-
() => typeof
|
|
211
|
-
),
|
|
212
|
-
() =>
|
|
213
|
-
),
|
|
214
|
-
if (
|
|
215
|
-
const e = t.placeholder ??
|
|
229
|
+
}), Te = o(
|
|
230
|
+
() => d(y.value) ? void 0 : y.value
|
|
231
|
+
), re = o(
|
|
232
|
+
() => d(y.value) ? y.value : []
|
|
233
|
+
), xe = o(
|
|
234
|
+
() => typeof f.value == "string" ? f.value : void 0
|
|
235
|
+
), Ae = o(
|
|
236
|
+
() => d(f.value) ? f.value : void 0
|
|
237
|
+
), Re = (e) => k(e === "month" ? "datePicker.placeholderMonth" : e === "year" ? "datePicker.placeholderYear" : e === "quarter" ? "datePicker.placeholderQuarter" : e === "week" ? "datePicker.placeholderWeek" : "datePicker.placeholderDate"), We = o(() => d(t.placeholder) ? t.placeholder[0] : t.placeholder ?? Re(v.value)), Me = o(() => {
|
|
238
|
+
if (d(t.placeholder)) return t.placeholder;
|
|
239
|
+
const e = t.placeholder ?? k("datePicker.dateLabel");
|
|
216
240
|
return [
|
|
217
|
-
|
|
218
|
-
|
|
241
|
+
k("datePicker.rangeStart", { type: e }),
|
|
242
|
+
k("datePicker.rangeEnd", { type: e })
|
|
219
243
|
];
|
|
220
|
-
}),
|
|
221
|
-
if (t.disabledDate)
|
|
244
|
+
}), ze = o(() => Sa($, ["class", "style"])), Ne = o(() => {
|
|
245
|
+
if (!(!t.disabledDate && !A.value))
|
|
222
246
|
return (e) => {
|
|
223
247
|
var l;
|
|
224
|
-
|
|
248
|
+
if (A.value) {
|
|
249
|
+
const u = _(N(e), v.value, t.dayStartOfWeek), [n, m] = P.value;
|
|
250
|
+
if (F.value[0] && n && u.isBefore(_(n, v.value, t.dayStartOfWeek)) || F.value[1] && m && u.isAfter(_(m, v.value, t.dayStartOfWeek))) return !0;
|
|
251
|
+
}
|
|
252
|
+
const a = i.value ? s.value === 0 ? "start" : "end" : void 0;
|
|
225
253
|
return ((l = t.disabledDate) == null ? void 0 : l.call(t, e, a, {
|
|
226
|
-
value:
|
|
254
|
+
value: w(
|
|
227
255
|
r.value,
|
|
228
|
-
|
|
256
|
+
g.value,
|
|
229
257
|
t.valueFormat
|
|
230
258
|
),
|
|
231
259
|
selecting: a
|
|
232
260
|
})) ?? !1;
|
|
233
261
|
};
|
|
234
|
-
}),
|
|
235
|
-
const a =
|
|
236
|
-
return
|
|
237
|
-
},
|
|
238
|
-
const u =
|
|
239
|
-
return
|
|
240
|
-
},
|
|
262
|
+
}), He = (e = 0) => {
|
|
263
|
+
const a = T.value.defaultValue, l = d(a) ? a[e] : a, u = j(l, G.value, !1);
|
|
264
|
+
return d(u) ? void 0 : u;
|
|
265
|
+
}, L = (e, a, l = 0) => {
|
|
266
|
+
const u = d(r.value) ? r.value[l] : r.value, n = a || u || He(l);
|
|
267
|
+
return n ? e.hour(n.hour()).minute(n.minute()).second(n.second()).millisecond(0) : e.millisecond(0);
|
|
268
|
+
}, de = (e, a) => {
|
|
241
269
|
var l;
|
|
242
|
-
return
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
270
|
+
return a && F.value[a === "start" ? 0 : 1] ? {
|
|
271
|
+
disabledHours: () => Array.from({ length: 24 }, (u, n) => n),
|
|
272
|
+
disabledMinutes: () => Array.from({ length: 60 }, (u, n) => n),
|
|
273
|
+
disabledSeconds: () => Array.from({ length: 60 }, (u, n) => n)
|
|
274
|
+
} : {
|
|
275
|
+
disabledHours: T.value.disabledHours,
|
|
276
|
+
disabledMinutes: T.value.disabledMinutes,
|
|
277
|
+
disabledSeconds: T.value.disabledSeconds,
|
|
278
|
+
...(l = t.disabledTime) == null ? void 0 : l.call(t, e == null ? void 0 : e.toDate(), a)
|
|
279
|
+
};
|
|
280
|
+
}, q = (e, a, l = r.value) => {
|
|
281
|
+
var u;
|
|
282
|
+
return !((u = t.disabledDate) != null && u.call(
|
|
283
|
+
t,
|
|
284
|
+
_(e, v.value, t.dayStartOfWeek).toDate(),
|
|
285
|
+
a,
|
|
286
|
+
{
|
|
287
|
+
value: w(
|
|
288
|
+
l,
|
|
289
|
+
g.value,
|
|
290
|
+
t.valueFormat
|
|
291
|
+
),
|
|
292
|
+
selecting: a
|
|
293
|
+
}
|
|
294
|
+
));
|
|
295
|
+
}, ie = (e, a) => {
|
|
296
|
+
var u, n, m;
|
|
297
|
+
if (!h.value) return !0;
|
|
298
|
+
const l = de(e, a);
|
|
299
|
+
return !((u = l.disabledHours) != null && u.call(l).includes(e.hour()) || (n = l.disabledMinutes) != null && n.call(l, e.hour()).includes(e.minute()) || (m = l.disabledSeconds) != null && m.call(l, e.hour(), e.minute()).includes(e.second()));
|
|
300
|
+
}, R = (e) => D.value || t.readonly ? !1 : d(e) ? e.every((a, l) => {
|
|
301
|
+
if (F.value[l])
|
|
302
|
+
return ke(a, re.value[l], v.value, h.value);
|
|
303
|
+
const u = l === 0 ? "start" : "end";
|
|
304
|
+
return !a || q(a, u, e) && ie(a, u);
|
|
305
|
+
}) : !e || q(e, void 0, e) && ie(e), je = o(() => R(r.value)), Ee = o(() => !q(N())), Ye = (e) => (e == null ? void 0 : e.format("YYYY-MM-DD")) ?? k("datePicker.placeholderDate"), pe = (e) => (e == null ? void 0 : e.format(G.value)) ?? "--:--:--", ce = (e) => {
|
|
306
|
+
t.modelValue === void 0 && (ue.value = d(e) ? [...e] : e);
|
|
307
|
+
}, ee = (e) => {
|
|
308
|
+
t.pickerValue === void 0 && (ne.value = d(e) ? [...e] : e);
|
|
309
|
+
}, z = (e) => {
|
|
248
310
|
var l;
|
|
249
|
-
(
|
|
250
|
-
const a = !e && ((l =
|
|
251
|
-
|
|
252
|
-
var u,
|
|
253
|
-
|
|
311
|
+
(D.value || t.readonly) && (e = !1);
|
|
312
|
+
const a = !e && ((l = me.value) == null ? void 0 : l.contains(document.activeElement));
|
|
313
|
+
oe.value = e, a && Ve(() => {
|
|
314
|
+
var u, n;
|
|
315
|
+
M.value || (n = (u = x.value) == null ? void 0 : u.focus) == null || n.call(u, i.value ? s.value : void 0);
|
|
254
316
|
}), c("update:popupVisible", e), c("popup-visible-change", e);
|
|
255
|
-
},
|
|
256
|
-
r.value =
|
|
257
|
-
},
|
|
258
|
-
const l =
|
|
317
|
+
}, U = (e) => d(e) ? e[0] || e[1] : e, se = () => {
|
|
318
|
+
r.value = d(y.value) ? [...y.value] : y.value, B.value = U(J.value) || U(r.value);
|
|
319
|
+
}, S = (e, a) => {
|
|
320
|
+
const l = w(
|
|
259
321
|
a,
|
|
260
|
-
|
|
322
|
+
g.value,
|
|
261
323
|
t.valueFormat
|
|
262
|
-
), u =
|
|
263
|
-
c(e === "change" ? "change" : e === "select" ? "select" : e === "ok" ? "ok" : "picker-value-change", l, u,
|
|
264
|
-
},
|
|
265
|
-
const l =
|
|
324
|
+
), u = te(a), n = w(a, g.value);
|
|
325
|
+
c(e === "change" ? "change" : e === "select" ? "select" : e === "ok" ? "ok" : "picker-value-change", l, u, n);
|
|
326
|
+
}, K = (e, a) => {
|
|
327
|
+
const l = w(
|
|
266
328
|
e,
|
|
267
|
-
|
|
329
|
+
g.value,
|
|
268
330
|
t.valueFormat
|
|
269
|
-
), u =
|
|
270
|
-
c("calendar-change", l, u,
|
|
271
|
-
},
|
|
272
|
-
const a =
|
|
331
|
+
), u = te(e), n = w(e, g.value);
|
|
332
|
+
c("calendar-change", l, u, n, { range: a });
|
|
333
|
+
}, ve = (e) => {
|
|
334
|
+
const a = w(
|
|
273
335
|
e,
|
|
274
|
-
|
|
336
|
+
g.value,
|
|
275
337
|
t.valueFormat
|
|
276
|
-
), l =
|
|
338
|
+
), l = te(e), u = w(e, g.value);
|
|
277
339
|
c("update:pickerValue", a), c("picker-value-change", a, l, u);
|
|
278
|
-
},
|
|
279
|
-
if (!
|
|
280
|
-
const a =
|
|
340
|
+
}, fe = (e) => {
|
|
341
|
+
if (!i.value) return e;
|
|
342
|
+
const a = J.value, l = d(a) ? [...a] : [void 0, void 0];
|
|
281
343
|
return l[s.value] = e, l;
|
|
282
|
-
},
|
|
283
|
-
var u,
|
|
284
|
-
const l =
|
|
285
|
-
|
|
344
|
+
}, O = (e, a = !0) => {
|
|
345
|
+
var u, n;
|
|
346
|
+
const l = d(e) ? E(e) : e;
|
|
347
|
+
return R(l) ? (ke(l, y.value, v.value, h.value) || (ce(l), c(
|
|
286
348
|
"update:modelValue",
|
|
287
|
-
|
|
349
|
+
w(
|
|
288
350
|
l,
|
|
289
|
-
|
|
351
|
+
g.value,
|
|
290
352
|
t.valueFormat
|
|
291
353
|
)
|
|
292
|
-
),
|
|
293
|
-
},
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
354
|
+
), S("change", l), (n = (u = W.value) == null ? void 0 : u.onChange) == null || n.call(u)), a && z(!1), !0) : !1;
|
|
355
|
+
}, Le = (e) => {
|
|
356
|
+
if (D.value || t.readonly) return;
|
|
357
|
+
const a = A.value ? F.value[0] ? 1 : 0 : s.value, l = h.value ? L(
|
|
358
|
+
_(e, v.value, t.dayStartOfWeek),
|
|
359
|
+
void 0,
|
|
360
|
+
a
|
|
361
|
+
) : _(e, v.value, t.dayStartOfWeek);
|
|
362
|
+
if (i.value) {
|
|
363
|
+
const u = [...P.value];
|
|
364
|
+
if (A.value) {
|
|
365
|
+
if (u[a] = l, !R(E(u))) return;
|
|
366
|
+
s.value = a, V.value = void 0, r.value = u, S("select", u), K(u, a === 0 ? "start" : "end"), Y.value || O(u);
|
|
367
|
+
return;
|
|
368
|
+
}
|
|
369
|
+
if (!u[0] || u[1] || s.value === 0) {
|
|
370
|
+
u[0] = l, u[1] = void 0, s.value = 1, V.value = void 0, r.value = u, C.value = "date", S("select", u), K(u, "start");
|
|
299
371
|
return;
|
|
300
372
|
} else {
|
|
301
|
-
|
|
302
|
-
const
|
|
303
|
-
|
|
373
|
+
u[1] = l;
|
|
374
|
+
const n = E(u);
|
|
375
|
+
V.value = void 0, r.value = n, C.value = "date", S("select", n), K(n, "end"), Y.value || O(n);
|
|
304
376
|
return;
|
|
305
377
|
}
|
|
306
378
|
}
|
|
307
|
-
r.value =
|
|
308
|
-
},
|
|
309
|
-
if (
|
|
310
|
-
|
|
311
|
-
|
|
379
|
+
r.value = l, S("select", l), Y.value || O(l);
|
|
380
|
+
}, qe = (e, a) => {
|
|
381
|
+
if (D.value || t.readonly) return;
|
|
382
|
+
if (i.value) {
|
|
383
|
+
const n = a ?? s.value;
|
|
384
|
+
if (F.value[n]) return;
|
|
385
|
+
const m = [...P.value], Q = m[n] || N();
|
|
386
|
+
m[n] = L(Q, e, n), r.value = m, s.value = n, S("select", m), K(m, n === 0 ? "start" : "end");
|
|
312
387
|
return;
|
|
313
388
|
}
|
|
314
|
-
const l =
|
|
315
|
-
r.value = u,
|
|
316
|
-
},
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
},
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
389
|
+
const l = Z.value || N(), u = L(l, e);
|
|
390
|
+
r.value = u, S("select", u);
|
|
391
|
+
}, Ue = () => {
|
|
392
|
+
if (D.value || t.readonly) return;
|
|
393
|
+
const e = _(N(), v.value, t.dayStartOfWeek);
|
|
394
|
+
if (!q(e)) return;
|
|
395
|
+
const a = h.value ? L(e, Z.value) : e;
|
|
396
|
+
r.value = a, B.value = e, ee(e), S("select", a), h.value || O(a);
|
|
397
|
+
}, Ke = (e) => {
|
|
398
|
+
s.value = e, C.value = "time";
|
|
399
|
+
}, Qe = (e) => {
|
|
400
|
+
s.value = e, C.value = "date";
|
|
401
|
+
}, $e = (e) => {
|
|
402
|
+
if (!i.value) return;
|
|
403
|
+
const [a, l] = P.value;
|
|
404
|
+
a && !l && (V.value = e);
|
|
405
|
+
}, Ge = () => {
|
|
406
|
+
V.value = void 0;
|
|
407
|
+
}, Je = (e) => {
|
|
408
|
+
const a = Ta(
|
|
409
|
+
e,
|
|
410
|
+
g.value,
|
|
411
|
+
i.value,
|
|
412
|
+
t.dayStartOfWeek
|
|
413
|
+
);
|
|
414
|
+
R(a) && (r.value = a, c("select-shortcut", e), S("select", a), !h.value && O(a));
|
|
415
|
+
}, Xe = () => {
|
|
416
|
+
O(r.value) && S("ok", r.value);
|
|
417
|
+
}, Ze = (e) => {
|
|
418
|
+
B.value = e;
|
|
419
|
+
const a = fe(e);
|
|
420
|
+
ee(a), ve(a);
|
|
421
|
+
}, ea = (e, a) => {
|
|
422
|
+
const l = a === 0 ? e : be(e, v.value, -1);
|
|
423
|
+
B.value = l;
|
|
424
|
+
const u = fe(l);
|
|
425
|
+
ee(u), ve(u);
|
|
426
|
+
}, aa = (e) => {
|
|
427
|
+
z(e);
|
|
345
428
|
}, {
|
|
346
|
-
popupRef:
|
|
347
|
-
panelId:
|
|
348
|
-
openPanel:
|
|
349
|
-
handlePanelKeydown:
|
|
350
|
-
isInternalFocus:
|
|
351
|
-
handlePanelFocusout:
|
|
352
|
-
} =
|
|
353
|
-
visible:
|
|
354
|
-
canOpen: () => !
|
|
355
|
-
setVisible:
|
|
429
|
+
popupRef: me,
|
|
430
|
+
panelId: ta,
|
|
431
|
+
openPanel: la,
|
|
432
|
+
handlePanelKeydown: ua,
|
|
433
|
+
isInternalFocus: na,
|
|
434
|
+
handlePanelFocusout: oa
|
|
435
|
+
} = Fa({
|
|
436
|
+
visible: M,
|
|
437
|
+
canOpen: () => !D.value && !t.readonly,
|
|
438
|
+
setVisible: z,
|
|
356
439
|
focusInput: () => {
|
|
357
440
|
var e, a;
|
|
358
|
-
return (a = (e =
|
|
441
|
+
return (a = (e = x.value) == null ? void 0 : e.focus) == null ? void 0 : a.call(e, i.value ? s.value : void 0);
|
|
359
442
|
},
|
|
360
443
|
inputContains: (e) => {
|
|
361
444
|
var a, l;
|
|
362
|
-
return !!(e && ((l = (a =
|
|
445
|
+
return !!(e && ((l = (a = x.value) == null ? void 0 : a.$el) != null && l.contains(e)));
|
|
363
446
|
},
|
|
364
447
|
selector: '[role="gridcell"][tabindex="0"], [role="listbox"][tabindex="0"]'
|
|
365
|
-
}),
|
|
366
|
-
|
|
367
|
-
},
|
|
448
|
+
}), ra = (e) => {
|
|
449
|
+
oa(e, ye);
|
|
450
|
+
}, da = (e) => {
|
|
368
451
|
var a, l, u;
|
|
369
|
-
(a = e == null ? void 0 : e.stopPropagation) == null || a.call(e),
|
|
370
|
-
},
|
|
452
|
+
(a = e == null ? void 0 : e.stopPropagation) == null || a.call(e), !(D.value || t.readonly || A.value) && (f.value = void 0, r.value = i.value ? [void 0, void 0] : void 0, ce(r.value), V.value = void 0, c("update:modelValue", void 0), c("change", void 0, void 0, void 0), c("clear", e), (u = (l = W.value) == null ? void 0 : l.onChange) == null || u.call(l), z(!1));
|
|
453
|
+
}, ia = (e) => {
|
|
371
454
|
var l, u;
|
|
372
455
|
const a = e.target;
|
|
373
|
-
if (
|
|
374
|
-
const
|
|
375
|
-
|
|
456
|
+
if (i.value) {
|
|
457
|
+
const n = d(f.value) ? [...f.value] : [0, 1].map((m) => {
|
|
458
|
+
var Q;
|
|
459
|
+
return ((Q = P.value[m]) == null ? void 0 : Q.format(g.value)) ?? "";
|
|
460
|
+
});
|
|
461
|
+
n[s.value] = a.value, f.value = n;
|
|
376
462
|
} else
|
|
377
|
-
|
|
378
|
-
(u = (l =
|
|
379
|
-
},
|
|
380
|
-
if (
|
|
381
|
-
const e =
|
|
382
|
-
l
|
|
383
|
-
|
|
384
|
-
|
|
463
|
+
f.value = a.value;
|
|
464
|
+
(u = (l = W.value) == null ? void 0 : l.onInput) == null || u.call(l);
|
|
465
|
+
}, ge = () => {
|
|
466
|
+
if (i.value) {
|
|
467
|
+
const e = d(f.value) ? f.value : [], a = [...P.value];
|
|
468
|
+
let l = e.length > 0;
|
|
469
|
+
for (let u = 0; u < e.length; u++) {
|
|
470
|
+
const n = e[u];
|
|
471
|
+
if (!n && !a[u]) continue;
|
|
472
|
+
const m = Pe(n, g.value, t.dayStartOfWeek);
|
|
473
|
+
if (!m) {
|
|
474
|
+
l = !1;
|
|
475
|
+
break;
|
|
476
|
+
}
|
|
477
|
+
a[u] = h.value ? m.millisecond(0) : _(m, v.value, t.dayStartOfWeek);
|
|
478
|
+
}
|
|
479
|
+
if (l) {
|
|
480
|
+
const u = E(a);
|
|
481
|
+
R(u) && (r.value = u, u[0] && u[1] && O(u));
|
|
482
|
+
}
|
|
483
|
+
} else if (typeof f.value == "string") {
|
|
484
|
+
const e = Pe(f.value, g.value, t.dayStartOfWeek);
|
|
385
485
|
if (e) {
|
|
386
|
-
const a =
|
|
387
|
-
r.value = a,
|
|
486
|
+
const a = h.value ? e.millisecond(0) : _(e, v.value, t.dayStartOfWeek);
|
|
487
|
+
R(a) && (r.value = a, O(a));
|
|
388
488
|
}
|
|
389
489
|
}
|
|
390
|
-
|
|
391
|
-
},
|
|
490
|
+
f.value = void 0, V.value = void 0;
|
|
491
|
+
}, ca = (e) => {
|
|
392
492
|
var a, l;
|
|
393
|
-
|
|
394
|
-
},
|
|
493
|
+
X.value = !0, c("focus", e), (l = (a = W.value) == null ? void 0 : a.onFocus) == null || l.call(a, e);
|
|
494
|
+
}, ye = (e) => {
|
|
395
495
|
var a, l;
|
|
396
|
-
|
|
397
|
-
},
|
|
398
|
-
|
|
399
|
-
},
|
|
496
|
+
na(e.relatedTarget) || (X.value = !1, ge(), c("blur", e), (l = (a = W.value) == null ? void 0 : a.onBlur) == null || l.call(a, e));
|
|
497
|
+
}, sa = () => {
|
|
498
|
+
f.value = void 0, z(!1), ae();
|
|
499
|
+
}, va = (e) => {
|
|
400
500
|
s.value = e;
|
|
401
|
-
},
|
|
402
|
-
|
|
501
|
+
}, ae = () => {
|
|
502
|
+
Ve(() => {
|
|
403
503
|
var e, a;
|
|
404
|
-
(a = (e =
|
|
504
|
+
(a = (e = x.value) == null ? void 0 : e.focus) == null || a.call(e, i.value ? s.value : void 0);
|
|
405
505
|
});
|
|
406
|
-
},
|
|
506
|
+
}, he = () => {
|
|
407
507
|
var e, a;
|
|
408
|
-
(a = (e =
|
|
508
|
+
(a = (e = x.value) == null ? void 0 : e.blur) == null || a.call(e);
|
|
409
509
|
};
|
|
410
|
-
return
|
|
411
|
-
() =>
|
|
510
|
+
return I({ focus: ae, blur: he }), H(
|
|
511
|
+
() => M.value,
|
|
412
512
|
(e) => {
|
|
413
|
-
e && (
|
|
513
|
+
e && (se(), f.value = void 0, V.value = void 0, C.value = "date");
|
|
414
514
|
}
|
|
415
|
-
),
|
|
515
|
+
), H(
|
|
416
516
|
() => [t.modelValue, t.type, t.format, t.valueFormat],
|
|
417
517
|
() => {
|
|
418
|
-
r.value =
|
|
518
|
+
r.value = d(y.value) ? [...y.value] : y.value, f.value = void 0, V.value = void 0, C.value = "date";
|
|
419
519
|
}
|
|
420
|
-
),
|
|
520
|
+
), H(
|
|
421
521
|
() => [
|
|
422
522
|
t.pickerValue,
|
|
423
523
|
t.defaultPickerValue,
|
|
@@ -426,79 +526,82 @@ const Ya = na({
|
|
|
426
526
|
t.valueFormat
|
|
427
527
|
],
|
|
428
528
|
() => {
|
|
429
|
-
|
|
529
|
+
B.value = U(J.value) || U(r.value);
|
|
430
530
|
}
|
|
431
|
-
),
|
|
432
|
-
() =>
|
|
531
|
+
), H(
|
|
532
|
+
() => y.value,
|
|
433
533
|
() => {
|
|
434
|
-
|
|
534
|
+
M.value || se();
|
|
435
535
|
}
|
|
436
536
|
), {
|
|
437
|
-
t:
|
|
438
|
-
attrs:
|
|
439
|
-
className:
|
|
440
|
-
inputRef:
|
|
441
|
-
inputAttrs:
|
|
442
|
-
isRange:
|
|
443
|
-
mode:
|
|
444
|
-
isDateTime:
|
|
445
|
-
needConfirm:
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
537
|
+
t: k,
|
|
538
|
+
attrs: $,
|
|
539
|
+
className: Se,
|
|
540
|
+
inputRef: x,
|
|
541
|
+
inputAttrs: ze,
|
|
542
|
+
isRange: i,
|
|
543
|
+
mode: v,
|
|
544
|
+
isDateTime: h,
|
|
545
|
+
needConfirm: Y,
|
|
546
|
+
canConfirm: je,
|
|
547
|
+
todayDisabled: Ee,
|
|
548
|
+
timeFormat: G,
|
|
549
|
+
timePickerProps: T,
|
|
550
|
+
focused: X,
|
|
449
551
|
focusedIndex: s,
|
|
450
|
-
mergedSize:
|
|
451
|
-
mergedError:
|
|
452
|
-
allDisabled:
|
|
453
|
-
rangeDisabled:
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
552
|
+
mergedSize: Be,
|
|
553
|
+
mergedError: we,
|
|
554
|
+
allDisabled: D,
|
|
555
|
+
rangeDisabled: F,
|
|
556
|
+
hasDisabledRange: A,
|
|
557
|
+
mergedInputReadonly: Oe,
|
|
558
|
+
mergedPopupVisible: M,
|
|
559
|
+
computedFormat: g,
|
|
560
|
+
singleInputValue: Te,
|
|
561
|
+
rangeInputValue: re,
|
|
562
|
+
singleInputText: xe,
|
|
563
|
+
rangeInputText: Ae,
|
|
564
|
+
singlePlaceholder: We,
|
|
565
|
+
rangePlaceholder: Me,
|
|
566
|
+
singlePanelValue: Z,
|
|
567
|
+
rangePanelValue: P,
|
|
568
|
+
previewRangeValue: Ce,
|
|
569
|
+
rangeViewDates: Ie,
|
|
570
|
+
rangePanelMode: C,
|
|
571
|
+
viewDate: B,
|
|
572
|
+
mergedDisabledDate: Ne,
|
|
573
|
+
getDisabledTimeProps: de,
|
|
574
|
+
formatTimeDate: Ye,
|
|
575
|
+
formatTimeValue: pe,
|
|
576
|
+
handlePanelSelect: Le,
|
|
577
|
+
handleTimeSelect: qe,
|
|
578
|
+
openRangeTimePanel: Ke,
|
|
579
|
+
openRangeDatePanel: Qe,
|
|
580
|
+
handlePanelCellMouseEnter: $e,
|
|
581
|
+
handlePanelCellMouseLeave: Ge,
|
|
582
|
+
handleShortcut: Je,
|
|
583
|
+
handleToday: Ue,
|
|
584
|
+
handleConfirm: Xe,
|
|
585
|
+
handleViewDateChange: Ze,
|
|
586
|
+
handleRangeViewDateChange: ea,
|
|
587
|
+
handlePopupVisibleChange: aa,
|
|
588
|
+
handleClear: da,
|
|
589
|
+
handleInputChange: ia,
|
|
590
|
+
handleInputSubmit: ge,
|
|
591
|
+
handleFocus: ca,
|
|
592
|
+
handleBlur: ye,
|
|
593
|
+
handleEsc: sa,
|
|
594
|
+
handleFocusedIndexChange: va,
|
|
595
|
+
openPanel: la,
|
|
596
|
+
popupRef: me,
|
|
597
|
+
panelId: ta,
|
|
598
|
+
handlePanelKeydown: ua,
|
|
599
|
+
handlePopupFocusout: ra,
|
|
600
|
+
focus: ae,
|
|
601
|
+
blur: he
|
|
499
602
|
};
|
|
500
603
|
}
|
|
501
604
|
});
|
|
502
605
|
export {
|
|
503
|
-
|
|
606
|
+
Qa as default
|
|
504
607
|
};
|