vft 0.0.522 → 0.0.524
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/dist/index.css +1 -1
- package/es/components/affix/affix.vue2.js +2 -2
- package/es/components/alert/alert.vue2.js +1 -1
- package/es/components/autocomplete/autocomplete.vue.d.ts +2 -2
- package/es/components/autocomplete/autocomplete.vue2.js +1 -1
- package/es/components/autocomplete/index.d.ts +6 -6
- package/es/components/avatar/avatar.vue2.js +2 -2
- package/es/components/avatar-stack/avatar-stack.vue2.js +7 -7
- package/es/components/backtop/backtop.vue2.js +1 -1
- package/es/components/breadcrumb/breadcrumb-item.vue2.js +3 -3
- package/es/components/breadcrumb/breadcrumb.vue2.js +2 -2
- package/es/components/button/button-group.vue2.js +2 -2
- package/es/components/button/button.vue2.js +7 -7
- package/es/components/button/index.d.ts +9 -9
- package/es/components/button/use-button.js +3 -3
- package/es/components/card/card.vue2.js +6 -6
- package/es/components/carousel/carousel-item.vue2.js +3 -3
- package/es/components/carousel/carousel.vue2.js +1 -1
- package/es/components/carousel/use-carousel.js +1 -1
- package/es/components/cascader/cascader.vue2.js +1 -1
- package/es/components/cascader-panel/index.vue2.js +1 -1
- package/es/components/cascader-panel/menu.vue2.js +5 -5
- package/es/components/cascader-panel/node.vue2.js +8 -8
- package/es/components/check-tag/check-tag.vue2.js +2 -2
- package/es/components/checkbox/checkbox-button.vue2.js +13 -13
- package/es/components/checkbox/checkbox-group.vue2.js +3 -3
- package/es/components/checkbox/checkbox.vue2.js +1 -1
- package/es/components/clamp/clamp.vue2.js +2 -2
- package/es/components/clamp-toggle/clamp-toggle.vue2.js +3 -3
- package/es/components/clamp-tooltip/clamp-tooltip.vue2.js +6 -6
- package/es/components/col/col.vue2.js +2 -2
- package/es/components/collapse/collapse-item.vue2.js +2 -2
- package/es/components/collapse/collapse.vue2.js +2 -2
- package/es/components/collapse-transition/collapse-transition.vue2.js +2 -2
- package/es/components/color-picker/color-picker.vue2.js +1 -1
- package/es/components/color-picker/components/alpha-slider.vue2.js +2 -2
- package/es/components/color-picker/components/hue-slider.vue.js +2 -2
- package/es/components/color-picker/components/predefine.vue.js +3 -3
- package/es/components/color-picker/components/sv-panel.vue.js +2 -2
- package/es/components/config-provider/config-provider.vue2.js +2 -2
- package/es/components/config-provider/hooks/use-global-config.js +4 -4
- package/es/components/container/aside.vue2.js +2 -2
- package/es/components/container/container.vue2.js +2 -2
- package/es/components/container/footer.vue2.js +2 -2
- package/es/components/container/header.vue2.js +2 -2
- package/es/components/container/main.vue2.js +2 -2
- package/es/components/context-menu/context-menu.vue2.js +1 -1
- package/es/components/countdown/countdown.vue2.js +2 -2
- package/es/components/date-picker/date-picker-com/basic-date-table.vue2.js +6 -6
- package/es/components/date-picker/date-picker-com/basic-month-table.vue2.js +4 -4
- package/es/components/date-picker/date-picker-com/basic-year-table.vue2.js +4 -4
- package/es/components/date-picker/date-picker-com/panel-date-pick.vue2.js +1 -1
- package/es/components/date-picker/date-picker-com/panel-date-range.vue2.js +2 -2
- package/es/components/date-picker/date-picker-com/panel-month-range.vue2.js +12 -12
- package/es/components/date-picker/date-picker-com/panel-year-range.vue2.js +12 -12
- package/es/components/date-picker/props/basic-date-table.js +3 -3
- package/es/components/date-picker/props/basic-month-table.js +3 -3
- package/es/components/date-picker/props/basic-year-table.js +3 -3
- package/es/components/descriptions/description.vue2.js +1 -1
- package/es/components/descriptions/descriptions-row.vue2.js +10 -10
- package/es/components/dialog/dialog-content.vue2.js +3 -3
- package/es/components/dialog/dialog.vue2.js +5 -5
- package/es/components/divider/divider.vue2.js +5 -5
- package/es/components/drawer/drawer.vue2.js +4 -4
- package/es/components/dropdown/dropdown-item-impl.vue2.js +3 -3
- package/es/components/dropdown/dropdown-item.vue2.js +2 -2
- package/es/components/dropdown/dropdown-menu.vue2.js +2 -2
- package/es/components/dropdown/dropdown.vue2.js +4 -4
- package/es/components/empty/empty.vue2.js +5 -5
- package/es/components/footer-layout/footer-layout.vue2.js +2 -2
- package/es/components/form/form-item.vue2.js +16 -16
- package/es/components/form/form.vue2.js +2 -2
- package/es/components/full-screen/full-screen.vue2.js +2 -2
- package/es/components/header-layout/header-layout.vue2.js +1 -1
- package/es/components/horizontal-menu/horizontal-menu.vue2.js +3 -3
- package/es/components/icon/icon.vue2.js +3 -3
- package/es/components/icon-text/icon-text.vue2.js +1 -1
- package/es/components/iframe-layout/iframe-layout.vue2.js +4 -4
- package/es/components/iframe-layout/iframe-page.vue2.js +2 -2
- package/es/components/image/image.vue2.js +1 -1
- package/es/components/image-viewer/image-viewer.vue2.js +6 -6
- package/es/components/index.js +181 -181
- package/es/components/input/input.vue2.js +2 -2
- package/es/components/input-number/input-number.vue2.js +4 -4
- package/es/components/input-tag/composables/use-input-tag.js +1 -1
- package/es/components/input-tag/input-tag.vue2.js +7 -7
- package/es/components/link/link.vue2.js +1 -1
- package/es/components/list-cell/list-cell.vue2.js +1 -1
- package/es/components/logo/index.d.ts +6 -0
- package/es/components/logo/logo.vue2.js +23 -22
- package/es/components/logo/types.d.ts +2 -0
- package/es/components/md-container/md-container.vue2.js +5 -5
- package/es/components/menu/menu-collapse-transition.vue.js +2 -2
- package/es/components/menu/menu-item-group.vue2.js +7 -7
- package/es/components/menu/menu-item.vue2.js +1 -1
- package/es/components/message/message.vue2.js +3 -3
- package/es/components/message-box/message-box.vue2.js +1 -1
- package/es/components/modal/modal-footer-action.vue2.js +10 -10
- package/es/components/modal/modal.vue2.js +3 -3
- package/es/components/multiple-tabs/multiple-tabs.vue2.js +1 -1
- package/es/components/multiple-tabs/tab-content.vue2.js +2 -2
- package/es/components/notification/notification.vue2.js +1 -1
- package/es/components/overlay/overlay.vue2.js +1 -1
- package/es/components/page-wrapper/page-wrapper.vue2.js +2 -2
- package/es/components/pagination/components/jumper.vue2.js +2 -2
- package/es/components/pagination/components/next.vue2.js +4 -4
- package/es/components/pagination/components/pager.vue2.js +1 -1
- package/es/components/pagination/components/prev.vue2.js +4 -4
- package/es/components/pagination/components/sizes.vue2.js +2 -2
- package/es/components/pagination/components/total.vue2.js +2 -2
- package/es/components/popconfirm/index.d.ts +15 -15
- package/es/components/popconfirm/popconfirm.vue.d.ts +1 -1
- package/es/components/popconfirm/popconfirm.vue2.js +3 -3
- package/es/components/popover/popover.vue2.js +9 -9
- package/es/components/popper/arrow.vue2.js +2 -2
- package/es/components/popper/content.vue2.js +2 -2
- package/es/components/popper/trigger.vue2.js +4 -4
- package/es/components/progress/progress.vue2.js +1 -1
- package/es/components/progress-i/progress-i.vue2.js +2 -2
- package/es/components/qrcode/qrcode.vue2.js +1 -1
- package/es/components/radio/radio-button.vue2.js +2 -2
- package/es/components/radio/radio-group.vue2.js +3 -3
- package/es/components/radio/radio.vue2.js +2 -2
- package/es/components/rate/rate.vue2.js +6 -6
- package/es/components/router-view-content/router-view-content.vue2.js +7 -7
- package/es/components/roving-focus-group/roving-focus-group.vue2.js +2 -2
- package/es/components/roving-focus-group/roving-focus-item.vue2.js +2 -2
- package/es/components/row/row.vue2.js +2 -2
- package/es/components/scrollbar/bar.vue2.js +2 -2
- package/es/components/scrollbar/scrollbar.vue2.js +7 -7
- package/es/components/scrollbar/thumb.vue2.js +2 -2
- package/es/components/search/search.vue2.js +48 -44
- package/es/components/segmented/segmented.vue2.js +7 -7
- package/es/components/select/group-item.vue.js +2 -2
- package/es/components/select/index.d.ts +4 -4
- package/es/components/select/option-item.vue.js +2 -2
- package/es/components/select/select.vue.d.ts +4 -4
- package/es/components/select/select.vue.js +1 -1
- package/es/components/select/useSelect.d.ts +4 -4
- package/es/components/skeleton/skeleton-item.vue2.js +2 -2
- package/es/components/skeleton/skeleton.vue2.js +8 -8
- package/es/components/slider/button.vue2.js +2 -2
- package/es/components/slider/slider.vue2.js +1 -1
- package/es/components/space/space.js +1 -1
- package/es/components/statistic/statistic.vue2.js +17 -17
- package/es/components/steps/item.vue2.js +11 -11
- package/es/components/steps/steps.vue2.js +2 -2
- package/es/components/super-form/super-form-action.vue2.js +11 -11
- package/es/components/super-form/super-form.vue2.js +7 -7
- package/es/components/switch/switch.vue2.js +1 -1
- package/es/components/table/table.vue2.js +4 -4
- package/es/components/tabs/tab-bar.vue2.js +2 -2
- package/es/components/tabs/tab-pane.vue2.js +6 -6
- package/es/components/teleport/teleport.vue2.js +2 -2
- package/es/components/time-picker/common/picker-range-trigger.vue2.js +2 -2
- package/es/components/time-picker/common/picker.vue2.js +8 -8
- package/es/components/time-picker/time-picker-com/basic-time-spinner.vue2.js +1 -1
- package/es/components/time-picker/time-picker-com/panel-time-pick.vue2.js +3 -3
- package/es/components/time-picker/time-picker-com/panel-time-range.vue2.js +3 -3
- package/es/components/time-select/time-select.vue2.js +3 -3
- package/es/components/timeline/timeline-item.vue2.js +1 -1
- package/es/components/tooltip/content.vue2.js +6 -6
- package/es/components/tooltip/tooltip.vue2.js +1 -1
- package/es/components/tooltip/trigger.vue2.js +2 -2
- package/es/components/transfer/transfer-panel.vue2.js +7 -7
- package/es/components/transfer/transfer.vue2.js +4 -4
- package/es/components/tree/tree-node.vue.js +1 -1
- package/es/components/tree/tree.vue2.js +6 -6
- package/es/components/upload/index.d.ts +2 -2
- package/es/components/upload/upload-content.vue2.js +7 -7
- package/es/components/upload/upload-dragger.vue2.js +2 -2
- package/es/components/upload/upload-list.vue2.js +1 -1
- package/es/components/upload/upload.vue.d.ts +2 -2
- package/es/components/upload/upload.vue2.js +22 -22
- package/es/components/verify-code/verify-code.vue2.js +2 -2
- package/es/components/watermark/watermark.vue2.js +2 -2
- package/es/hooks/use-id/index.js +2 -2
- package/es/hooks/use-z-index/index.js +3 -3
- package/es/index.js +39 -39
- package/es/package.json.d.ts +1 -1
- package/es/package.json.js +1 -1
- package/es/plugin.js +7 -7
- package/es/utils/helper.js +2 -2
- package/es/utils/ns-cover.js +1 -1
- package/es/utils/vue/vnode.js +4 -4
- package/lib/components/autocomplete/autocomplete.vue.d.ts +2 -2
- package/lib/components/autocomplete/index.d.ts +6 -6
- package/lib/components/button/index.d.ts +9 -9
- package/lib/components/button/use-button.cjs +1 -1
- package/lib/components/date-picker/date-picker-com/panel-date-range.vue2.cjs +1 -1
- package/lib/components/index.cjs +1 -1
- package/lib/components/logo/index.d.ts +6 -0
- package/lib/components/logo/logo.vue2.cjs +1 -1
- package/lib/components/logo/types.d.ts +2 -0
- package/lib/components/popconfirm/index.d.ts +15 -15
- package/lib/components/popconfirm/popconfirm.vue.d.ts +1 -1
- package/lib/components/popover/popover.vue2.cjs +1 -1
- package/lib/components/search/search.vue2.cjs +1 -1
- package/lib/components/select/index.d.ts +4 -4
- package/lib/components/select/select.vue.d.ts +4 -4
- package/lib/components/select/useSelect.d.ts +4 -4
- package/lib/components/upload/index.d.ts +2 -2
- package/lib/components/upload/upload.vue.d.ts +2 -2
- package/lib/components/upload/upload.vue2.cjs +1 -1
- package/lib/index.cjs +1 -1
- package/lib/package.json.cjs +1 -1
- package/lib/package.json.d.ts +1 -1
- package/lib/plugin.cjs +1 -1
- package/package.json +4 -4
- package/theme-style/index.css +1 -1
- package/theme-style/src/md/table.scss +1 -4
- package/theme-style/vft-md-container.css +1 -1
- package/web-types.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as S, inject as $, ref as f, watch as T, nextTick as k, onBeforeUnmount as C, computed as D, onMounted as E,
|
|
1
|
+
import { defineComponent as S, inject as $, ref as f, watch as T, nextTick as k, onBeforeUnmount as C, computed as D, onMounted as E, createElementBlock as O, openBlock as F, normalizeStyle as L, normalizeClass as P, unref as y } from "vue";
|
|
2
2
|
import { useResizeObserver as R } from "@vueuse/core";
|
|
3
3
|
import { capitalize as l } from "@vft/utils";
|
|
4
4
|
import "../config-provider/hooks/use-global-config.js";
|
|
@@ -59,7 +59,7 @@ const Y = /* @__PURE__ */ S({
|
|
|
59
59
|
}), x({
|
|
60
60
|
ref: i,
|
|
61
61
|
update: a
|
|
62
|
-
}), (e, s) => (
|
|
62
|
+
}), (e, s) => (F(), O("div", {
|
|
63
63
|
ref_key: "barRef",
|
|
64
64
|
ref: i,
|
|
65
65
|
class: P([y(u).e("active-bar"), y(u).is(B.value), { "is-load": d.value }]),
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as b, getCurrentInstance as C, useSlots as g, inject as R, ref as i, computed as f, watch as k, reactive as w, onBeforeUnmount as N, onBeforeUpdate as _,
|
|
1
|
+
import { defineComponent as b, getCurrentInstance as C, useSlots as g, inject as R, ref as i, computed as f, watch as k, reactive as w, onBeforeUnmount as N, onBeforeUpdate as _, withDirectives as $, createCommentVNode as x, unref as n, createElementBlock as z, openBlock as E, normalizeClass as P, renderSlot as S, vShow as I } from "vue";
|
|
2
2
|
import { eagerComputed as v } from "@vueuse/core";
|
|
3
3
|
import "@vft/utils";
|
|
4
4
|
import { throwError as U } from "../../utils/error.js";
|
|
@@ -48,20 +48,20 @@ const D = ["id", "aria-hidden", "aria-labelledby"], F = b({
|
|
|
48
48
|
e.unregisterPane(p);
|
|
49
49
|
}), _(() => {
|
|
50
50
|
u.label && e.nav$.value?.scheduleRender();
|
|
51
|
-
}), (l, K) => n(y) ? $((
|
|
51
|
+
}), (l, K) => n(y) ? $((E(), z("div", {
|
|
52
52
|
key: 0,
|
|
53
53
|
id: `pane-${s.value}`,
|
|
54
54
|
ref_key: "paneRef",
|
|
55
55
|
ref: m,
|
|
56
|
-
class:
|
|
56
|
+
class: P(n(c).b()),
|
|
57
57
|
role: "tabpanel",
|
|
58
58
|
"aria-hidden": !n(t),
|
|
59
59
|
"aria-labelledby": `tab-${s.value}`
|
|
60
60
|
}, [
|
|
61
|
-
|
|
61
|
+
S(l.$slots, "default")
|
|
62
62
|
], 10, D)), [
|
|
63
|
-
[
|
|
64
|
-
]) :
|
|
63
|
+
[I, n(t)]
|
|
64
|
+
]) : x("", !0);
|
|
65
65
|
}
|
|
66
66
|
});
|
|
67
67
|
export {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as l, renderSlot as o,
|
|
1
|
+
import { defineComponent as l, renderSlot as o, createBlock as a, openBlock as r, Teleport as n } from "vue";
|
|
2
2
|
const f = /* @__PURE__ */ l({
|
|
3
3
|
__name: "teleport",
|
|
4
4
|
props: {
|
|
@@ -6,7 +6,7 @@ const f = /* @__PURE__ */ l({
|
|
|
6
6
|
to: {}
|
|
7
7
|
},
|
|
8
8
|
setup(e) {
|
|
9
|
-
return (t, s) => e.disabled ? o(t.$slots, "default", { key: 0 }) : (
|
|
9
|
+
return (t, s) => e.disabled ? o(t.$slots, "default", { key: 0 }) : (r(), a(n, {
|
|
10
10
|
key: 1,
|
|
11
11
|
to: e.to
|
|
12
12
|
}, [
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as m, ref as u, computed as $,
|
|
1
|
+
import { defineComponent as m, ref as u, computed as $, createElementBlock as M, openBlock as T, normalizeStyle as w, normalizeClass as z, unref as o, renderSlot as t, createElementVNode as d, mergeProps as i } from "vue";
|
|
2
2
|
import { useAttrs as A } from "../../../hooks/use-attrs/index.js";
|
|
3
3
|
import "@vueuse/core";
|
|
4
4
|
import "@vft/utils";
|
|
@@ -56,7 +56,7 @@ const N = ["id", "name", "placeholder", "value", "disabled"], D = ["id", "name",
|
|
|
56
56
|
blur: () => {
|
|
57
57
|
s.value?.blur(), l.value?.blur();
|
|
58
58
|
}
|
|
59
|
-
}), (e, G) => (
|
|
59
|
+
}), (e, G) => (T(), M("div", {
|
|
60
60
|
ref_key: "wrapperRef",
|
|
61
61
|
ref: v,
|
|
62
62
|
class: z([o(b).is("active", o(C)), e.$attrs.class]),
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as ge, ref as f, useAttrs as Ge, inject as Qe, computed as s, watch as Xe, nextTick as H, unref as n, onBeforeUnmount as Ze, provide as _e,
|
|
1
|
+
import { defineComponent as ge, ref as f, useAttrs as Ge, inject as Qe, computed as s, watch as Xe, nextTick as H, unref as n, onBeforeUnmount as Ze, provide as _e, createBlock as h, openBlock as g, mergeProps as xe, withCtx as y, renderSlot as se, withModifiers as T, normalizeStyle as ie, normalizeClass as b, createCommentVNode as B, createElementVNode as ea, toDisplayString as aa } from "vue";
|
|
2
2
|
import { isEqual as la } from "lodash-es";
|
|
3
3
|
import { onClickOutside as oa, unrefElement as na } from "@vueuse/core";
|
|
4
4
|
import { isArray as V, noop as ce } from "@vft/utils";
|
|
@@ -244,7 +244,7 @@ const ma = ge({
|
|
|
244
244
|
* @description pick item manually
|
|
245
245
|
*/
|
|
246
246
|
onPick: x
|
|
247
|
-
}), (e, a) => (
|
|
247
|
+
}), (e, a) => (g(), h(n(sa), xe({
|
|
248
248
|
ref_key: "refPopper",
|
|
249
249
|
ref: A,
|
|
250
250
|
visible: r.value,
|
|
@@ -268,7 +268,7 @@ const ma = ge({
|
|
|
268
268
|
onHide: ee
|
|
269
269
|
}), {
|
|
270
270
|
default: y(() => [
|
|
271
|
-
Be.value ? (
|
|
271
|
+
Be.value ? (g(), h(fa, {
|
|
272
272
|
key: 1,
|
|
273
273
|
id: e.id,
|
|
274
274
|
ref_key: "inputRef",
|
|
@@ -299,7 +299,7 @@ const ma = ge({
|
|
|
299
299
|
onKeydown: ue
|
|
300
300
|
}, {
|
|
301
301
|
prefix: y(() => [
|
|
302
|
-
N.value ? (
|
|
302
|
+
N.value ? (g(), h(n(K), {
|
|
303
303
|
key: 0,
|
|
304
304
|
icon: N.value,
|
|
305
305
|
class: b([n(w).e("icon"), n(k).e("icon")])
|
|
@@ -313,7 +313,7 @@ const ma = ge({
|
|
|
313
313
|
])
|
|
314
314
|
]),
|
|
315
315
|
suffix: y(() => [
|
|
316
|
-
e.clearIcon ? (
|
|
316
|
+
e.clearIcon ? (g(), h(n(K), {
|
|
317
317
|
key: 0,
|
|
318
318
|
icon: e.clearIcon,
|
|
319
319
|
class: b(we.value),
|
|
@@ -322,7 +322,7 @@ const ma = ge({
|
|
|
322
322
|
}, null, 8, ["icon", "class", "onMousedown"])) : B("", !0)
|
|
323
323
|
]),
|
|
324
324
|
_: 3
|
|
325
|
-
}, 8, ["id", "model-value", "name", "disabled", "readonly", "start-placeholder", "end-placeholder", "class", "style", "aria-label", "tabindex", "onFocus", "onBlur"])) : (
|
|
325
|
+
}, 8, ["id", "model-value", "name", "disabled", "readonly", "start-placeholder", "end-placeholder", "class", "style", "aria-label", "tabindex", "onFocus", "onBlur"])) : (g(), h(n(ua), {
|
|
326
326
|
key: 0,
|
|
327
327
|
id: e.id,
|
|
328
328
|
ref_key: "inputRef",
|
|
@@ -352,7 +352,7 @@ const ma = ge({
|
|
|
352
352
|
}, ["stop"]))
|
|
353
353
|
}, {
|
|
354
354
|
prefix: y(() => [
|
|
355
|
-
N.value ? (
|
|
355
|
+
N.value ? (g(), h(n(K), {
|
|
356
356
|
key: 0,
|
|
357
357
|
icon: N.value,
|
|
358
358
|
class: b(n(w).e("icon")),
|
|
@@ -361,7 +361,7 @@ const ma = ge({
|
|
|
361
361
|
}, null, 8, ["icon", "class"])) : B("", !0)
|
|
362
362
|
]),
|
|
363
363
|
suffix: y(() => [
|
|
364
|
-
P.value && e.clearIcon ? (
|
|
364
|
+
P.value && e.clearIcon ? (g(), h(n(K), {
|
|
365
365
|
key: 0,
|
|
366
366
|
icon: e.clearIcon,
|
|
367
367
|
class: b(`${n(w).e("icon")} clear-icon`),
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as de, inject as pe, ref as C, computed as k, unref as r, onMounted as he, nextTick as x, watch as fe,
|
|
1
|
+
import { defineComponent as de, inject as pe, ref as C, computed as k, unref as r, onMounted as he, nextTick as x, watch as fe, createElementBlock as a, openBlock as l, normalizeClass as m, createCommentVNode as I, Fragment as u, renderList as $, createBlock as be, withCtx as we, createTextVNode as _, toDisplayString as f, withDirectives as j, createElementVNode as ve, createVNode as U } from "vue";
|
|
2
2
|
import { debounce as Se } from "lodash-es";
|
|
3
3
|
import { vRepeatClick as q } from "@vft/directives";
|
|
4
4
|
import { VftScrollbar as ge } from "../../scrollbar/index.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as F, inject as L, ref as C, computed as d,
|
|
1
|
+
import { defineComponent as F, inject as L, ref as C, computed as d, createBlock as Q, openBlock as w, Transition as W, withCtx as X, createElementBlock as Z, createCommentVNode as ee, normalizeClass as r, unref as s, createElementVNode as p, createVNode as te } from "vue";
|
|
2
2
|
import f from "dayjs";
|
|
3
3
|
import { EVENT_CODE as ne } from "../../../constants/aria.js";
|
|
4
4
|
import "@vueuse/core";
|
|
@@ -69,7 +69,7 @@ const _e = /* @__PURE__ */ F({
|
|
|
69
69
|
p("div", {
|
|
70
70
|
class: r([s(i).be("panel", "content"), { "has-seconds": l.value }])
|
|
71
71
|
}, [
|
|
72
|
-
|
|
72
|
+
te(pe, {
|
|
73
73
|
ref: "spinner",
|
|
74
74
|
role: e.datetimeRole || "start",
|
|
75
75
|
"arrow-control": s(E),
|
|
@@ -98,7 +98,7 @@ const _e = /* @__PURE__ */ F({
|
|
|
98
98
|
onClick: t[0] || (t[0] = (a) => x())
|
|
99
99
|
}, " 确认 ", 2)
|
|
100
100
|
], 2)
|
|
101
|
-
], 2)) :
|
|
101
|
+
], 2)) : ee("", !0)
|
|
102
102
|
]),
|
|
103
103
|
_: 1
|
|
104
104
|
}, 8, ["name"]));
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as ve, ref as j, inject as be, computed as d,
|
|
1
|
+
import { defineComponent as ve, ref as j, inject as be, computed as d, createElementBlock as ge, createCommentVNode as he, openBlock as ke, normalizeClass as u, unref as s, createElementVNode as m, createVNode as z } from "vue";
|
|
2
2
|
import S from "dayjs";
|
|
3
3
|
import { union as A } from "lodash-es";
|
|
4
4
|
import "@vueuse/core";
|
|
@@ -111,7 +111,7 @@ const Re = ["disabled"], Ge = /* @__PURE__ */ ve({
|
|
|
111
111
|
const e = S(w).locale(k.value);
|
|
112
112
|
return [e, e.add(60, "m")];
|
|
113
113
|
};
|
|
114
|
-
return c("set-picker-option", ["formatToString", me]), c("set-picker-option", ["parseUserInput", pe]), c("set-picker-option", ["isValidValue", ne]), c("set-picker-option", ["handleKeydownInput", le]), c("set-picker-option", ["getDefaultValue", de]), c("set-picker-option", ["getRangeAvailableTime", P]), (e, t) => e.actualVisible ? (
|
|
114
|
+
return c("set-picker-option", ["formatToString", me]), c("set-picker-option", ["parseUserInput", pe]), c("set-picker-option", ["isValidValue", ne]), c("set-picker-option", ["handleKeydownInput", le]), c("set-picker-option", ["getDefaultValue", de]), c("set-picker-option", ["getRangeAvailableTime", P]), (e, t) => e.actualVisible ? (ke(), ge("div", {
|
|
115
115
|
key: 0,
|
|
116
116
|
class: u([s(a).b("range-picker"), s(q).b("panel")])
|
|
117
117
|
}, [
|
|
@@ -184,7 +184,7 @@ const Re = ["disabled"], Ge = /* @__PURE__ */ ve({
|
|
|
184
184
|
onClick: t[1] || (t[1] = (n) => Z())
|
|
185
185
|
}, " 确认 ", 10, Re)
|
|
186
186
|
], 2)
|
|
187
|
-
], 2)) :
|
|
187
|
+
], 2)) : he("", !0);
|
|
188
188
|
}
|
|
189
189
|
});
|
|
190
190
|
export {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as v, ref as S, computed as r,
|
|
1
|
+
import { defineComponent as v, ref as S, computed as r, createBlock as u, openBlock as s, unref as n, withCtx as f, createElementBlock as h, Fragment as w, renderList as E, createCommentVNode as H, normalizeClass as N } from "vue";
|
|
2
2
|
import d from "dayjs";
|
|
3
3
|
import O from "dayjs/plugin/customParseFormat";
|
|
4
4
|
import b from "../select/index.js";
|
|
@@ -79,8 +79,8 @@ const q = v({
|
|
|
79
79
|
e.prefixIcon ? (s(), u(n(P), {
|
|
80
80
|
key: 0,
|
|
81
81
|
icon: e.prefixIcon,
|
|
82
|
-
class:
|
|
83
|
-
}, null, 8, ["icon", "class"])) :
|
|
82
|
+
class: N(n(C).e("prefix-icon"))
|
|
83
|
+
}, null, 8, ["icon", "class"])) : H("", !0)
|
|
84
84
|
]),
|
|
85
85
|
default: f(() => [
|
|
86
86
|
(s(!0), h(w, null, E($.value, (l) => (s(), u(n(k), {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as d, computed as f,
|
|
1
|
+
import { defineComponent as d, computed as f, createElementBlock as m, openBlock as a, normalizeClass as l, unref as o, createElementVNode as n, createCommentVNode as i, normalizeStyle as p, createBlock as y, mergeProps as k, renderSlot as c, toDisplayString as r } from "vue";
|
|
2
2
|
import { VftIcon as v } from "../icon/index.js";
|
|
3
3
|
import "@vueuse/core";
|
|
4
4
|
import "@vft/utils";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as B, ref as v, computed as o, inject as J, onBeforeUnmount as K, unref as t, watch as y,
|
|
1
|
+
import { defineComponent as B, ref as v, computed as o, inject as J, onBeforeUnmount as K, unref as t, watch as y, createBlock as b, openBlock as C, withCtx as p, createVNode as Y, Transition as q, withDirectives as G, createCommentVNode as Q, mergeProps as X, renderSlot as Z, vShow as _ } from "vue";
|
|
2
2
|
import "../focus-trap/focus-trap.vue2.js";
|
|
3
3
|
import { tryFocus as ee } from "../focus-trap/utils.js";
|
|
4
4
|
import { isClient as te, onClickOutside as oe } from "@vueuse/core";
|
|
@@ -116,7 +116,7 @@ const se = B({
|
|
|
116
116
|
*/
|
|
117
117
|
contentRef: n,
|
|
118
118
|
isFocusInsideContent: g
|
|
119
|
-
}), (r, u) => (
|
|
119
|
+
}), (r, u) => (C(), b(t(ae), {
|
|
120
120
|
disabled: !e.teleported,
|
|
121
121
|
to: H.value
|
|
122
122
|
}, {
|
|
@@ -129,7 +129,7 @@ const se = B({
|
|
|
129
129
|
onBeforeLeave: D
|
|
130
130
|
}, {
|
|
131
131
|
default: p(() => [
|
|
132
|
-
x.value ? G((
|
|
132
|
+
x.value ? G((C(), b(t(ie), X({
|
|
133
133
|
key: 0,
|
|
134
134
|
id: t(O),
|
|
135
135
|
ref_key: "contentRef",
|
|
@@ -160,12 +160,12 @@ const se = B({
|
|
|
160
160
|
onClose: t(a)
|
|
161
161
|
}), {
|
|
162
162
|
default: p(() => [
|
|
163
|
-
|
|
163
|
+
Z(r.$slots, "default")
|
|
164
164
|
]),
|
|
165
165
|
_: 3
|
|
166
166
|
}, 16, ["id", "aria-label", "aria-hidden", "boundaries-padding", "fallback-placements", "gpu-acceleration", "offset", "placement", "popper-options", "arrow-offset", "strategy", "effect", "enterable", "pure", "popper-class", "popper-style", "reference-el", "trigger-target-el", "visible", "z-index", "onMouseenter", "onMouseleave", "onClose"])), [
|
|
167
|
-
[
|
|
168
|
-
]) :
|
|
167
|
+
[_, d.value]
|
|
168
|
+
]) : Q("", !0)
|
|
169
169
|
]),
|
|
170
170
|
_: 3
|
|
171
171
|
}, 8, ["name"])
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as T, ref as l, getCurrentInstance as M, toRef as i, computed as h, provide as $,
|
|
1
|
+
import { defineComponent as T, ref as l, getCurrentInstance as M, toRef as i, computed as h, provide as $, readonly as H, unref as f, watch as L, onDeactivated as V, createBlock as w, openBlock as s, withCtx as m, createVNode as v, renderSlot as B, createCommentVNode as C, createElementBlock as k, toDisplayString as z } from "vue";
|
|
2
2
|
import { VftPopper as D } from "../popper/index.js";
|
|
3
3
|
import "@vueuse/core";
|
|
4
4
|
import { isBoolean as K } from "@vft/utils";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as a, inject as E, ref as K,
|
|
1
|
+
import { defineComponent as a, inject as E, ref as K, createBlock as O, openBlock as w, unref as e, normalizeClass as b, withCtx as D, renderSlot as N } from "vue";
|
|
2
2
|
import { EVENT_CODE as g } from "@vft/constants";
|
|
3
3
|
import "../popper/index.js";
|
|
4
4
|
import "@vueuse/core";
|
|
@@ -66,7 +66,7 @@ const V = a({
|
|
|
66
66
|
* @description trigger element
|
|
67
67
|
*/
|
|
68
68
|
triggerRef: C
|
|
69
|
-
}), (o, c) => (
|
|
69
|
+
}), (o, c) => (w(), O(e(R), {
|
|
70
70
|
id: e(p),
|
|
71
71
|
"virtual-ref": t.virtualRef,
|
|
72
72
|
open: e(v),
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as A, useSlots as M, reactive as O, computed as N, toRefs as j,
|
|
1
|
+
import { defineComponent as A, useSlots as M, reactive as O, computed as N, toRefs as j, createElementBlock as v, openBlock as r, normalizeClass as o, unref as e, createElementVNode as d, createCommentVNode as S, createVNode as h, isRef as b, withCtx as k, createTextVNode as P, toDisplayString as V, createBlock as w, withDirectives as B, Fragment as H, renderList as J, vShow as E, renderSlot as U } from "vue";
|
|
2
2
|
import { isEmpty as n } from "@vft/utils";
|
|
3
3
|
import "@vueuse/core";
|
|
4
4
|
import "../config-provider/hooks/use-global-config.js";
|
|
@@ -51,7 +51,7 @@ const _ = A({
|
|
|
51
51
|
onChange: e(L)
|
|
52
52
|
}, {
|
|
53
53
|
default: k(() => [
|
|
54
|
-
|
|
54
|
+
P(V(l.title) + " ", 1),
|
|
55
55
|
d("span", null, V(e($)), 1)
|
|
56
56
|
]),
|
|
57
57
|
_: 1
|
|
@@ -60,7 +60,7 @@ const _ = A({
|
|
|
60
60
|
d("div", {
|
|
61
61
|
class: o([e(a).be("panel", "body"), e(a).is("with-footer", g.value)])
|
|
62
62
|
}, [
|
|
63
|
-
l.filterable ? (r(),
|
|
63
|
+
l.filterable ? (r(), w(e(W), {
|
|
64
64
|
key: 0,
|
|
65
65
|
modelValue: e(i),
|
|
66
66
|
"onUpdate:modelValue": s[1] || (s[1] = (t) => b(i) ? i.value = t : null),
|
|
@@ -70,7 +70,7 @@ const _ = A({
|
|
|
70
70
|
"prefix-icon": "ico-ep:search",
|
|
71
71
|
clearable: "",
|
|
72
72
|
"validate-event": !1
|
|
73
|
-
}, null, 8, ["modelValue", "class", "placeholder"])) :
|
|
73
|
+
}, null, 8, ["modelValue", "class", "placeholder"])) : S("", !0),
|
|
74
74
|
B(h(e(Q), {
|
|
75
75
|
modelValue: e(c),
|
|
76
76
|
"onUpdate:modelValue": s[2] || (s[2] = (t) => b(c) ? c.value = t : null),
|
|
@@ -78,7 +78,7 @@ const _ = A({
|
|
|
78
78
|
class: o([e(a).is("filterable", l.filterable), e(a).be("panel", "list")])
|
|
79
79
|
}, {
|
|
80
80
|
default: k(() => [
|
|
81
|
-
(r(!0), v(H, null, J(e(C), (t) => (r(),
|
|
81
|
+
(r(!0), v(H, null, J(e(C), (t) => (r(), w(e(q), {
|
|
82
82
|
key: t[e(u).key],
|
|
83
83
|
class: o(e(a).be("panel", "item")),
|
|
84
84
|
value: t[e(u).key],
|
|
@@ -101,7 +101,7 @@ const _ = A({
|
|
|
101
101
|
class: o(e(a).be("panel", "empty"))
|
|
102
102
|
}, [
|
|
103
103
|
U(l.$slots, "empty", {}, () => [
|
|
104
|
-
|
|
104
|
+
P(V(m.value ? "无匹配数据" : "无数据"), 1)
|
|
105
105
|
])
|
|
106
106
|
], 2), [
|
|
107
107
|
[E, m.value || e(n)(l.data)]
|
|
@@ -112,7 +112,7 @@ const _ = A({
|
|
|
112
112
|
class: o(e(a).be("panel", "footer"))
|
|
113
113
|
}, [
|
|
114
114
|
U(l.$slots, "default")
|
|
115
|
-
], 2)) :
|
|
115
|
+
], 2)) : S("", !0)
|
|
116
116
|
], 2));
|
|
117
117
|
}
|
|
118
118
|
});
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as N, useSlots as G, reactive as H, ref as v, computed as s, watch as J, h as y, Comment as K,
|
|
1
|
+
import { defineComponent as N, useSlots as G, reactive as H, ref as v, computed as s, watch as J, h as y, Comment as K, createElementBlock as p, openBlock as h, normalizeClass as i, unref as t, createVNode as a, createElementVNode as O, withCtx as l, renderSlot as d, createCommentVNode as T, toDisplayString as P } from "vue";
|
|
2
2
|
import "@vueuse/core";
|
|
3
3
|
import { isEmpty as V, isUndefined as w } from "@vft/utils";
|
|
4
4
|
import { debugWarn as X } from "../../utils/error.js";
|
|
@@ -67,7 +67,7 @@ const le = { key: 0 }, se = { key: 0 }, ne = N({
|
|
|
67
67
|
leftPanel: f,
|
|
68
68
|
/** @description right panel ref */
|
|
69
69
|
rightPanel: c
|
|
70
|
-
}), (e, m) => (
|
|
70
|
+
}), (e, m) => (h(), p("div", {
|
|
71
71
|
class: i(t(r).b())
|
|
72
72
|
}, [
|
|
73
73
|
a(E, {
|
|
@@ -103,7 +103,7 @@ const le = { key: 0 }, se = { key: 0 }, ne = N({
|
|
|
103
103
|
}, {
|
|
104
104
|
default: l(() => [
|
|
105
105
|
a(t(S), { icon: "icon-arrow-left" }),
|
|
106
|
-
t(w)(e.buttonTexts[0]) ?
|
|
106
|
+
t(w)(e.buttonTexts[0]) ? T("", !0) : (h(), p("span", le, P(e.buttonTexts[0]), 1))
|
|
107
107
|
]),
|
|
108
108
|
_: 1
|
|
109
109
|
}, 8, ["class", "disabled", "onClick"]),
|
|
@@ -114,7 +114,7 @@ const le = { key: 0 }, se = { key: 0 }, ne = N({
|
|
|
114
114
|
onClick: t(L)
|
|
115
115
|
}, {
|
|
116
116
|
default: l(() => [
|
|
117
|
-
t(w)(e.buttonTexts[1]) ?
|
|
117
|
+
t(w)(e.buttonTexts[1]) ? T("", !0) : (h(), p("span", se, P(e.buttonTexts[1]), 1)),
|
|
118
118
|
a(t(S), { icon: "icon-arrow-right" })
|
|
119
119
|
]),
|
|
120
120
|
_: 1
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import f from "./tree-node.vue2.js";
|
|
2
|
-
import { resolveComponent as a, withDirectives as g,
|
|
2
|
+
import { resolveComponent as a, withDirectives as g, createElementBlock as i, openBlock as r, withModifiers as d, normalizeClass as s, createElementVNode as v, createVNode as l, normalizeStyle as D, createBlock as p, createCommentVNode as t, withCtx as N, Fragment as y, renderList as E, vShow as k } from "vue";
|
|
3
3
|
import w from "../../_virtual/_plugin-vue_export-helper.js";
|
|
4
4
|
const $ = ["aria-expanded", "aria-disabled", "aria-checked", "draggable", "data-key"], L = ["aria-expanded"];
|
|
5
5
|
function S(e, n, c, B, M, V) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as Y, getCurrentInstance as x, ref as s, computed as Z, watch as i, provide as w,
|
|
1
|
+
import { defineComponent as Y, getCurrentInstance as x, ref as s, computed as Z, watch as i, provide as w, createElementBlock as m, openBlock as y, normalizeClass as h, unref as n, createCommentVNode as _, withDirectives as ee, Fragment as te, renderList as re, createBlock as oe, renderSlot as ne, createElementVNode as E, toDisplayString as de, vShow as ae } from "vue";
|
|
2
2
|
import "../form/index.js";
|
|
3
3
|
import "../icon/index.js";
|
|
4
4
|
import "@vueuse/core";
|
|
@@ -218,7 +218,7 @@ const $e = /* @__PURE__ */ Y({
|
|
|
218
218
|
]),
|
|
219
219
|
role: "tree"
|
|
220
220
|
}, [
|
|
221
|
-
(y(!0), m(
|
|
221
|
+
(y(!0), m(te, null, re(u.value.childNodes, (d) => (y(), oe(ye, {
|
|
222
222
|
key: N(d),
|
|
223
223
|
node: d,
|
|
224
224
|
props: t,
|
|
@@ -232,13 +232,13 @@ const $e = /* @__PURE__ */ Y({
|
|
|
232
232
|
key: 0,
|
|
233
233
|
class: h(n(a).e("empty-block"))
|
|
234
234
|
}, [
|
|
235
|
-
|
|
235
|
+
ne(e.$slots, "empty", {}, () => [
|
|
236
236
|
E("span", {
|
|
237
237
|
class: h(n(a).e("empty-text"))
|
|
238
|
-
},
|
|
238
|
+
}, de(l.emptyText ?? "暂无数据"), 3)
|
|
239
239
|
])
|
|
240
|
-
], 2)) :
|
|
241
|
-
|
|
240
|
+
], 2)) : _("", !0),
|
|
241
|
+
ee(E("div", {
|
|
242
242
|
ref_key: "dropIndicator$",
|
|
243
243
|
ref: g,
|
|
244
244
|
class: h(n(a).e("drop-indicator"))
|
|
@@ -580,8 +580,8 @@ export declare const VftUpload: import("vft/es/utils").SFCWithInstall<{
|
|
|
580
580
|
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
581
581
|
$slots: {
|
|
582
582
|
file?(_: {
|
|
583
|
-
file:
|
|
584
|
-
index:
|
|
583
|
+
file: import("./types").UploadFile;
|
|
584
|
+
index: number;
|
|
585
585
|
}): any;
|
|
586
586
|
trigger?(_: {}): any;
|
|
587
587
|
default?(_: {}): any;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as D, shallowRef as I, computed as $,
|
|
1
|
+
import { defineComponent as D, shallowRef as I, computed as $, createElementBlock as A, openBlock as q, withKeys as N, normalizeClass as T, withModifiers as w, unref as g, createBlock as X, renderSlot as L, createElementVNode as G, withCtx as J, nextTick as Q } from "vue";
|
|
2
2
|
import "../form/index.js";
|
|
3
3
|
import "@vueuse/core";
|
|
4
4
|
import { isObject as O, entriesOf as Y } from "@vft/utils";
|
|
@@ -189,31 +189,31 @@ const re = ["onKeydown"], de = ["name", "multiple", "accept"], fe = D({
|
|
|
189
189
|
},
|
|
190
190
|
upload: C
|
|
191
191
|
}), (e, o) => (q(), A("div", {
|
|
192
|
-
class:
|
|
192
|
+
class: T([g(v).b(), g(v).m(r.listType), g(v).is("drag", r.drag)]),
|
|
193
193
|
tabindex: "0",
|
|
194
194
|
onClick: U,
|
|
195
|
-
onKeydown: N(
|
|
195
|
+
onKeydown: N(w(j, ["self"]), ["enter", "space"])
|
|
196
196
|
}, [
|
|
197
197
|
r.drag ? (q(), X(ae, {
|
|
198
198
|
key: 0,
|
|
199
199
|
disabled: g(k),
|
|
200
200
|
onFile: o[0] || (o[0] = (a) => B(a.file))
|
|
201
201
|
}, {
|
|
202
|
-
default:
|
|
202
|
+
default: J(() => [
|
|
203
203
|
L(e.$slots, "default")
|
|
204
204
|
]),
|
|
205
205
|
_: 3
|
|
206
206
|
}, 8, ["disabled"])) : L(e.$slots, "default", { key: 1 }),
|
|
207
|
-
|
|
207
|
+
G("input", {
|
|
208
208
|
ref_key: "inputRef",
|
|
209
209
|
ref: b,
|
|
210
|
-
class:
|
|
210
|
+
class: T(g(v).e("input")),
|
|
211
211
|
name: r.name,
|
|
212
212
|
multiple: r.multiple,
|
|
213
213
|
accept: r.accept,
|
|
214
214
|
type: "file",
|
|
215
215
|
onChange: V,
|
|
216
|
-
onClick: o[1] || (o[1] =
|
|
216
|
+
onClick: o[1] || (o[1] = w(() => {
|
|
217
217
|
}, ["stop"]))
|
|
218
218
|
}, null, 42, de)
|
|
219
219
|
], 42, re));
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as d, inject as x, ref as E,
|
|
1
|
+
import { defineComponent as d, inject as x, ref as E, createElementBlock as N, openBlock as B, withModifiers as n, normalizeClass as M, unref as u, renderSlot as h } from "vue";
|
|
2
2
|
import "../form/index.js";
|
|
3
3
|
import "@vueuse/core";
|
|
4
4
|
import "@vft/utils";
|
|
@@ -41,7 +41,7 @@ const v = "VftUploadDrag", O = d({
|
|
|
41
41
|
}, _ = () => {
|
|
42
42
|
f.value || (t.value = !0);
|
|
43
43
|
};
|
|
44
|
-
return (o, r) => (
|
|
44
|
+
return (o, r) => (B(), N("div", {
|
|
45
45
|
class: M([u(l).b("dragger"), u(l).is("dragover", t.value)]),
|
|
46
46
|
onDrop: n(g, ["prevent"]),
|
|
47
47
|
onDragover: n(_, ["prevent"]),
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as C, ref as B,
|
|
1
|
+
import { defineComponent as C, ref as B, createBlock as p, openBlock as n, TransitionGroup as F, unref as e, normalizeClass as t, withCtx as N, createElementBlock as m, renderSlot as h, Fragment as z, renderList as I, withKeys as P, createCommentVNode as a, createElementVNode as b, withModifiers as K, createVNode as f, toDisplayString as L, normalizeStyle as S, nextTick as D } from "vue";
|
|
2
2
|
import "../form/index.js";
|
|
3
3
|
import { VftIcon as u } from "../icon/index.js";
|
|
4
4
|
import { VftProgress as E } from "../progress/index.js";
|