vft 0.0.523 → 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/es/components/affix/affix.vue2.js +2 -2
- package/es/components/alert/alert.vue2.js +1 -1
- package/es/components/autocomplete/autocomplete.vue2.js +1 -1
- 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/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/logo.vue2.js +10 -10
- 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/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/option-item.vue.js +2 -2
- package/es/components/select/select.vue.js +1 -1
- 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/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/popover/popover.vue2.cjs +1 -1
- package/lib/components/search/search.vue2.cjs +1 -1
- 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/web-types.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as $, shallowRef as m, ref as v, computed as E, watch as W, onMounted as H, watchEffect as I,
|
|
1
|
+
import { defineComponent as $, shallowRef as m, ref as v, computed as E, watch as W, onMounted as H, watchEffect as I, createElementBlock as N, openBlock as q, normalizeStyle as S, normalizeClass as _, unref as b, createElementVNode as L, renderSlot as M } from "vue";
|
|
2
2
|
import { useWindowSize as P, useElementBounding as y, useEventListener as U } from "@vueuse/core";
|
|
3
3
|
import { getScrollContainer as V } from "../../utils/dom/scroll.js";
|
|
4
4
|
import { throwError as Y } from "../../utils/error.js";
|
|
@@ -64,7 +64,7 @@ const G = $({
|
|
|
64
64
|
update: w,
|
|
65
65
|
/** @description update rootRect info */
|
|
66
66
|
updateRoot: c
|
|
67
|
-
}), (t, J) => (
|
|
67
|
+
}), (t, J) => (q(), N("div", {
|
|
68
68
|
ref_key: "root",
|
|
69
69
|
ref: f,
|
|
70
70
|
class: _(b(i).b()),
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as C, useSlots as N, ref as S, computed as a,
|
|
1
|
+
import { defineComponent as C, useSlots as N, ref as S, computed as a, createBlock as r, openBlock as l, Transition as V, unref as o, withCtx as $, withDirectives as x, createElementVNode as v, normalizeClass as n, createCommentVNode as s, createElementBlock as c, renderSlot as k, createTextVNode as p, toDisplayString as u, Fragment as E, vShow as I } from "vue";
|
|
2
2
|
import { VftIcon as b } from "../icon/index.js";
|
|
3
3
|
import "@vueuse/core";
|
|
4
4
|
import "@vft/utils";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as Q, useAttrs as ve, ref as c, computed as b, onMounted as me,
|
|
1
|
+
import { defineComponent as Q, useAttrs as ve, ref as c, computed as b, onMounted as me, createBlock as pe, openBlock as E, unref as s, withCtx as v, createElementVNode as q, normalizeStyle as z, normalizeClass as k, createVNode as G, mergeProps as ge, withKeys as y, withModifiers as j, createSlots as he, renderSlot as $, createElementBlock as F, Fragment as be, renderList as ye, createTextVNode as $e, toDisplayString as we, nextTick as Ee } from "vue";
|
|
2
2
|
import { isObject as ke, isString as N, isArray as D } from "@vft/utils";
|
|
3
3
|
import "../form/index.js";
|
|
4
4
|
import { VftInput as Ae } from "../input/index.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as v, ref as z, computed as i, watch as h,
|
|
1
|
+
import { defineComponent as v, ref as z, computed as i, watch as h, createElementBlock as k, openBlock as o, normalizeStyle as y, normalizeClass as g, createBlock as n, renderSlot as B, unref as c, normalizeProps as E, mergeProps as S } from "vue";
|
|
2
2
|
import { isString as b, isNumber as C, singleAttrToObj as V } from "@vft/utils";
|
|
3
3
|
import { VftIcon as I } from "../icon/index.js";
|
|
4
4
|
import { VftImage as L } from "../image/index.js";
|
|
@@ -45,7 +45,7 @@ const H = /* @__PURE__ */ v({
|
|
|
45
45
|
alt: e.alt,
|
|
46
46
|
fit: e.fit,
|
|
47
47
|
onError: d
|
|
48
|
-
}, null, 8, ["src", "alt", "fit"])) : s.value?.icon ? (o(), n(c(I),
|
|
48
|
+
}, null, 8, ["src", "alt", "fit"])) : s.value?.icon ? (o(), n(c(I), E(S({ key: 1 }, s.value)), null, 16)) : B(t.$slots, "default", { key: 2 })
|
|
49
49
|
], 6));
|
|
50
50
|
}
|
|
51
51
|
});
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as f, computed as r,
|
|
1
|
+
import { defineComponent as f, computed as r, createElementBlock as n, openBlock as s, normalizeStyle as c, normalizeClass as o, unref as t, createCommentVNode as y, Fragment as g, renderList as k, createVNode as d, withCtx as b, createTextVNode as p, toDisplayString as V } from "vue";
|
|
2
2
|
import { VftAvatar as v } from "../avatar/index.js";
|
|
3
3
|
import "@vueuse/core";
|
|
4
4
|
import { addUnit as i } from "@vft/utils";
|
|
@@ -32,11 +32,11 @@ const B = f({
|
|
|
32
32
|
},
|
|
33
33
|
"avatar-stack"
|
|
34
34
|
));
|
|
35
|
-
return (M, S) => (
|
|
35
|
+
return (M, S) => (s(), n("div", {
|
|
36
36
|
class: o(t(a).b()),
|
|
37
37
|
style: c(h.value)
|
|
38
38
|
}, [
|
|
39
|
-
(
|
|
39
|
+
(s(!0), n(g, null, k(l.value, (x, u) => (s(), n("div", {
|
|
40
40
|
key: u,
|
|
41
41
|
class: o(t(a).e("item")),
|
|
42
42
|
style: c({ zIndex: l.value.length - u })
|
|
@@ -47,7 +47,7 @@ const B = f({
|
|
|
47
47
|
class: o(t(a).e("stacked-avatar"))
|
|
48
48
|
}, null, 8, ["src", "size", "class"])
|
|
49
49
|
], 6))), 128)),
|
|
50
|
-
e.showRemainCount && m.value > 0 ? (
|
|
50
|
+
e.showRemainCount && m.value > 0 ? (s(), n("div", {
|
|
51
51
|
key: 0,
|
|
52
52
|
class: o([t(a).e("item"), t(a).e("remaining-count")]),
|
|
53
53
|
style: { zIndex: 0 }
|
|
@@ -56,12 +56,12 @@ const B = f({
|
|
|
56
56
|
size: e.size,
|
|
57
57
|
class: o(t(a).e("remaining-avatar"))
|
|
58
58
|
}, {
|
|
59
|
-
default:
|
|
60
|
-
|
|
59
|
+
default: b(() => [
|
|
60
|
+
p(" +" + V(m.value), 1)
|
|
61
61
|
]),
|
|
62
62
|
_: 1
|
|
63
63
|
}, 8, ["size", "class"])
|
|
64
|
-
], 2)) :
|
|
64
|
+
], 2)) : y("", !0)
|
|
65
65
|
], 6));
|
|
66
66
|
}
|
|
67
67
|
});
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as s, getCurrentInstance as v, computed as m,
|
|
1
|
+
import { defineComponent as s, getCurrentInstance as v, computed as m, createBlock as l, openBlock as i, Transition as y, unref as t, withCtx as C, createElementBlock as h, createCommentVNode as c, withModifiers as T, normalizeClass as x, normalizeStyle as z, renderSlot as B, normalizeProps as $, mergeProps as S } from "vue";
|
|
2
2
|
import { singleAttrToObj as _ } from "@vft/utils";
|
|
3
3
|
import { VftIcon as w } from "../icon/index.js";
|
|
4
4
|
import "@vueuse/core";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as l, getCurrentInstance as d, inject as k, ref as b,
|
|
1
|
+
import { defineComponent as l, getCurrentInstance as d, inject as k, ref as b, createElementBlock as p, openBlock as a, normalizeClass as s, unref as e, createElementVNode as y, createBlock as C, renderSlot as _, mergeProps as g, toDisplayString as B } from "vue";
|
|
2
2
|
import { VftIcon as I } from "../icon/index.js";
|
|
3
3
|
import "@vueuse/core";
|
|
4
4
|
import "@vft/utils";
|
|
@@ -32,9 +32,9 @@ const h = l({
|
|
|
32
32
|
role: "link",
|
|
33
33
|
onClick: u
|
|
34
34
|
}, [
|
|
35
|
-
|
|
35
|
+
_(f.$slots, "default")
|
|
36
36
|
], 2),
|
|
37
|
-
e(o)?.separatorIcon ? (a(),
|
|
37
|
+
e(o)?.separatorIcon ? (a(), C(e(I), g({ key: 0 }, e(o).separatorIcon, {
|
|
38
38
|
class: e(r).e("separator")
|
|
39
39
|
}), null, 16, ["class"])) : (a(), p("span", {
|
|
40
40
|
key: 1,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as o, ref as n, provide as p, onMounted as s,
|
|
1
|
+
import { defineComponent as o, ref as n, provide as p, onMounted as s, createElementBlock as i, openBlock as c, normalizeClass as l, unref as u, renderSlot as f } from "vue";
|
|
2
2
|
import "@vueuse/core";
|
|
3
3
|
import "@vft/utils";
|
|
4
4
|
import "../config-provider/hooks/use-global-config.js";
|
|
@@ -22,7 +22,7 @@ const _ = o({
|
|
|
22
22
|
return p(b, m), s(() => {
|
|
23
23
|
const e = t.value.querySelectorAll(`.${r.e("item")}`);
|
|
24
24
|
e.length && e[e.length - 1].setAttribute("aria-current", "page");
|
|
25
|
-
}), (e, g) => (
|
|
25
|
+
}), (e, g) => (c(), i("div", {
|
|
26
26
|
ref_key: "breadcrumb",
|
|
27
27
|
ref: t,
|
|
28
28
|
class: l(u(r).b()),
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as e, provide as s, reactive as i, toRef as o,
|
|
1
|
+
import { defineComponent as e, provide as s, reactive as i, toRef as o, createElementBlock as m, openBlock as a, normalizeClass as u, unref as c, renderSlot as f } from "vue";
|
|
2
2
|
import "@vueuse/core";
|
|
3
3
|
import "@vft/utils";
|
|
4
4
|
import "../config-provider/hooks/use-global-config.js";
|
|
@@ -25,7 +25,7 @@ const _ = e({
|
|
|
25
25
|
size: o(t, "size"),
|
|
26
26
|
type: o(t, "type")
|
|
27
27
|
})
|
|
28
|
-
), (n, b) => (
|
|
28
|
+
), (n, b) => (a(), m("div", {
|
|
29
29
|
class: u(`${c(p).b("group")}`)
|
|
30
30
|
}, [
|
|
31
31
|
f(n.$slots, "default")
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as g, computed as T,
|
|
1
|
+
import { defineComponent as g, computed as T, createBlock as i, openBlock as l, resolveDynamicComponent as $, mergeProps as p, unref as e, withCtx as I, createElementBlock as y, createCommentVNode as f, Fragment as A, renderSlot as k, normalizeClass as B, normalizeProps as N } from "vue";
|
|
2
2
|
import { VftIcon as b } from "../icon/index.js";
|
|
3
3
|
import "@vueuse/core";
|
|
4
4
|
import { singleAttrToObj as P } from "@vft/utils";
|
|
@@ -70,19 +70,19 @@ const D = g({
|
|
|
70
70
|
}), {
|
|
71
71
|
default: I(() => [
|
|
72
72
|
o.loading ? (l(), y(A, { key: 0 }, [
|
|
73
|
-
n.$slots.loading ?
|
|
73
|
+
n.$slots.loading ? k(n.$slots, "loading", { key: 0 }) : (l(), i(e(b), {
|
|
74
74
|
key: 1,
|
|
75
75
|
rotate: "",
|
|
76
|
-
class:
|
|
76
|
+
class: B(e(t).is("loading")),
|
|
77
77
|
icon: "icon-loading"
|
|
78
78
|
}, null, 8, ["class"]))
|
|
79
|
-
], 64)) : d.value?.icon ? (l(), i(e(b), N(p({ key: 1 }, d.value)), null, 16)) :
|
|
79
|
+
], 64)) : d.value?.icon ? (l(), i(e(b), N(p({ key: 1 }, d.value)), null, 16)) : f("", !0),
|
|
80
80
|
n.$slots.default ? (l(), y("span", {
|
|
81
81
|
key: 2,
|
|
82
|
-
class:
|
|
82
|
+
class: B({ [e(t).em("text", "expand")]: e(u) })
|
|
83
83
|
}, [
|
|
84
|
-
|
|
85
|
-
], 2)) :
|
|
84
|
+
k(n.$slots, "default")
|
|
85
|
+
], 2)) : f("", !0)
|
|
86
86
|
]),
|
|
87
87
|
_: 3
|
|
88
88
|
}, 16, ["class", "style", "onClick"]));
|
|
@@ -3,11 +3,11 @@ import "../form/index.js";
|
|
|
3
3
|
import { useThrottleFn as C } from "@vueuse/core";
|
|
4
4
|
import { inject as S, computed as o, ref as v, useSlots as F, Text as T } from "vue";
|
|
5
5
|
import { buttonGroupContextKey as _ } from "./constants.js";
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
6
|
+
import { useFormItem as k } from "../form/hooks/use-form-item.js";
|
|
7
|
+
import { useGlobalConfig as x } from "../config-provider/hooks/use-global-config.js";
|
|
8
8
|
import { useFormSize as I, useFormDisabled as z } from "../form/hooks/use-form-common-props.js";
|
|
9
9
|
const w = (t, r) => {
|
|
10
|
-
const s = S(_, void 0), u =
|
|
10
|
+
const s = S(_, void 0), u = x("button"), { form: c } = k(), a = I(o(() => s?.size)), n = z(), f = v(), m = F(), d = o(() => t.type || s?.type || ""), b = o(
|
|
11
11
|
() => t.autoInsertSpace ?? u.value?.autoInsertSpace ?? !1
|
|
12
12
|
), h = o(() => {
|
|
13
13
|
const e = m.default?.();
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as m,
|
|
1
|
+
import { defineComponent as m, createElementBlock as d, openBlock as s, normalizeClass as r, unref as a, createCommentVNode as i, createElementVNode as n, renderSlot as l, createTextVNode as c, toDisplayString as f, normalizeStyle as p } from "vue";
|
|
2
2
|
import "@vueuse/core";
|
|
3
3
|
import "@vft/utils";
|
|
4
4
|
import "../config-provider/hooks/use-global-config.js";
|
|
@@ -19,18 +19,18 @@ const h = m({
|
|
|
19
19
|
},
|
|
20
20
|
setup(e) {
|
|
21
21
|
const t = u("card");
|
|
22
|
-
return (o, y) => (
|
|
22
|
+
return (o, y) => (s(), d("div", {
|
|
23
23
|
class: r([a(t).b(), a(t).is(`${e.shadow}-shadow`)])
|
|
24
24
|
}, [
|
|
25
|
-
o.$slots.header || e.header ? (
|
|
25
|
+
o.$slots.header || e.header ? (s(), d("div", {
|
|
26
26
|
key: 0,
|
|
27
27
|
class: r(a(t).e("header"))
|
|
28
28
|
}, [
|
|
29
29
|
l(o.$slots, "header", {}, () => [
|
|
30
|
-
|
|
30
|
+
c(f(e.header), 1)
|
|
31
31
|
])
|
|
32
|
-
], 2)) :
|
|
33
|
-
|
|
32
|
+
], 2)) : i("", !0),
|
|
33
|
+
n("div", {
|
|
34
34
|
class: r(a(t).e("body")),
|
|
35
35
|
style: p(e.bodyStyle)
|
|
36
36
|
}, [
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as d, computed as m, unref as e, withDirectives as c,
|
|
1
|
+
import { defineComponent as d, computed as m, unref as e, withDirectives as c, createElementBlock as u, openBlock as p, normalizeStyle as w, normalizeClass as v, createCommentVNode as x, renderSlot as z, vShow as f } from "vue";
|
|
2
2
|
import "@vueuse/core";
|
|
3
3
|
import "@vft/utils";
|
|
4
4
|
import "../config-provider/hooks/use-global-config.js";
|
|
@@ -46,7 +46,7 @@ const R = d({
|
|
|
46
46
|
transform: [a, s].join(" ")
|
|
47
47
|
};
|
|
48
48
|
});
|
|
49
|
-
return (i, a) => c((
|
|
49
|
+
return (i, a) => c((p(), u("div", {
|
|
50
50
|
ref_key: "carouselItemRef",
|
|
51
51
|
ref: _,
|
|
52
52
|
class: v(T.value),
|
|
@@ -54,7 +54,7 @@ const R = d({
|
|
|
54
54
|
onClick: a[0] || (a[0] = //@ts-ignore
|
|
55
55
|
(...s) => e(n) && e(n)(...s))
|
|
56
56
|
}, [
|
|
57
|
-
e(r) ? c((
|
|
57
|
+
e(r) ? c((p(), u("div", {
|
|
58
58
|
key: 0,
|
|
59
59
|
class: v(e(t).e("mask"))
|
|
60
60
|
}, null, 2)), [
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as E, getCurrentInstance as _, computed as T, unref as e,
|
|
1
|
+
import { defineComponent as E, getCurrentInstance as _, computed as T, unref as e, createElementBlock as d, openBlock as s, withModifiers as m, normalizeClass as l, createBlock as L, createCommentVNode as f, createElementVNode as a, createVNode as p, Transition as V, withCtx as y, withDirectives as g, vShow as h, normalizeStyle as ee, renderSlot as te, Fragment as oe, renderList as ne, toDisplayString as re } from "vue";
|
|
2
2
|
import { VftIcon as D } from "../icon/index.js";
|
|
3
3
|
import "@vueuse/core";
|
|
4
4
|
import "@vft/utils";
|
|
@@ -11,7 +11,7 @@ import "../../hooks/use-model-toggle/index.js";
|
|
|
11
11
|
import { useOrderedChildren as ge } from "../../hooks/use-ordered-children/index.js";
|
|
12
12
|
import "@popperjs/core";
|
|
13
13
|
import "../../hooks/use-z-index/index.js";
|
|
14
|
-
import {
|
|
14
|
+
import { carouselContextKey as Se, CAROUSEL_ITEM_NAME as H } from "./constants.js";
|
|
15
15
|
const L = 300, ze = (t, O, M) => {
|
|
16
16
|
const {
|
|
17
17
|
children: o,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as Se, useAttrs as Ye, ref as c, computed as i, unref as s, watch as x, nextTick as N, onMounted as Ze,
|
|
1
|
+
import { defineComponent as Se, useAttrs as Ye, ref as c, computed as i, unref as s, watch as x, nextTick as N, onMounted as Ze, createBlock as E, openBlock as r, withCtx as v, createElementBlock as m, createCommentVNode as P, withDirectives as q, withModifiers as F, normalizeClass as d, renderSlot as V, createVNode as te, vShow as Te, Fragment as le, renderList as se, createElementVNode as z, toDisplayString as U, normalizeStyle as _e, createSlots as et, withKeys as tt, vModelText as lt } from "vue";
|
|
2
2
|
import { cloneDeep as st, debounce as ot } from "lodash-es";
|
|
3
3
|
import { useResizeObserver as at, useCssVar as nt } from "@vueuse/core";
|
|
4
4
|
import { focusNode as rt, getSibling as it } from "../../utils/dom/aria.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as Y, useSlots as ae, ref as E, computed as z, provide as ne, reactive as F, watch as b, onBeforeUpdate as le, onMounted as se,
|
|
1
|
+
import { defineComponent as Y, useSlots as ae, ref as E, computed as z, provide as ne, reactive as F, watch as b, onBeforeUpdate as le, onMounted as se, createElementBlock as I, openBlock as D, normalizeClass as re, unref as K, Fragment as ce, renderList as ue, createBlock as ie, withCtx as de, renderSlot as pe, nextTick as fe } from "vue";
|
|
2
2
|
import { isEqual as $, flattenDeep as me, cloneDeep as ve } from "lodash-es";
|
|
3
3
|
import { focusNode as M, getSibling as he } from "../../utils/dom/aria.js";
|
|
4
4
|
import "@vueuse/core";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as N, getCurrentInstance as I, inject as Z, ref as b, computed as p,
|
|
1
|
+
import { defineComponent as N, getCurrentInstance as I, inject as Z, ref as b, computed as p, createBlock as k, openBlock as r, unref as e, normalizeClass as l, withCtx as A, createElementBlock as m, createCommentVNode as B, Fragment as z, renderList as S, createVNode as q, createTextVNode as x, renderSlot as R } from "vue";
|
|
2
2
|
import { VftScrollbar as X } from "../scrollbar/index.js";
|
|
3
3
|
import "@vueuse/core";
|
|
4
4
|
import "@vft/utils";
|
|
@@ -58,7 +58,7 @@ const O = N({
|
|
|
58
58
|
onMouseleave: $
|
|
59
59
|
}, {
|
|
60
60
|
default: A(() => [
|
|
61
|
-
(r(!0), m(
|
|
61
|
+
(r(!0), m(z, null, S(f.nodes, (u) => (r(), k(J, {
|
|
62
62
|
key: u.uid,
|
|
63
63
|
node: u,
|
|
64
64
|
"menu-id": g.value,
|
|
@@ -68,7 +68,7 @@ const O = N({
|
|
|
68
68
|
key: 0,
|
|
69
69
|
class: l(e(t).e("empty-text"))
|
|
70
70
|
}, [
|
|
71
|
-
|
|
71
|
+
q(e(F), {
|
|
72
72
|
icon: "icon-loadding",
|
|
73
73
|
size: "14",
|
|
74
74
|
class: l(e(t).is("loading"))
|
|
@@ -78,7 +78,7 @@ const O = N({
|
|
|
78
78
|
key: 1,
|
|
79
79
|
class: l(e(t).e("empty-text"))
|
|
80
80
|
}, [
|
|
81
|
-
|
|
81
|
+
R(n.$slots, "empty", {}, () => [
|
|
82
82
|
o[1] || (o[1] = x("暂无数据", -1))
|
|
83
83
|
])
|
|
84
84
|
], 2)) : e(c)?.isHoverMenu ? (r(), m("svg", {
|
|
@@ -86,7 +86,7 @@ const O = N({
|
|
|
86
86
|
ref_key: "hoverZone",
|
|
87
87
|
ref: a,
|
|
88
88
|
class: l(e(t).e("hover-zone"))
|
|
89
|
-
}, null, 2)) :
|
|
89
|
+
}, null, 2)) : B("", !0)
|
|
90
90
|
]),
|
|
91
91
|
_: 3
|
|
92
92
|
}, 8, ["class", "wrap-class", "view-class"]));
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as H, inject as F, computed as d,
|
|
1
|
+
import { defineComponent as H, inject as F, computed as d, createElementBlock as P, openBlock as u, normalizeClass as f, unref as n, createBlock as m, createCommentVNode as S, createVNode as O, withModifiers as L, withCtx as R, createElementVNode as U, Fragment as $ } from "vue";
|
|
2
2
|
import { VftCheckbox as q } from "../checkbox/index.js";
|
|
3
3
|
import { VftRadio as J } from "../radio/index.js";
|
|
4
4
|
import { VftIcon as x } from "../icon/index.js";
|
|
@@ -78,7 +78,7 @@ const G = ["id", "aria-haspopup", "aria-owns", "aria-expanded", "tabindex"], Q =
|
|
|
78
78
|
"model-value": o.node.checked,
|
|
79
79
|
indeterminate: o.node.indeterminate,
|
|
80
80
|
disabled: r.value,
|
|
81
|
-
onClick: a[0] || (a[0] =
|
|
81
|
+
onClick: a[0] || (a[0] = L(() => {
|
|
82
82
|
}, ["stop"])),
|
|
83
83
|
"onUpdate:modelValue": k
|
|
84
84
|
}, null, 8, ["model-value", "indeterminate", "disabled"])) : s.value && N.value ? (u(), m(n(J), {
|
|
@@ -87,24 +87,24 @@ const G = ["id", "aria-haspopup", "aria-owns", "aria-expanded", "tabindex"], Q =
|
|
|
87
87
|
label: o.node.uid,
|
|
88
88
|
disabled: r.value,
|
|
89
89
|
"onUpdate:modelValue": k,
|
|
90
|
-
onClick: a[1] || (a[1] =
|
|
90
|
+
onClick: a[1] || (a[1] = L(() => {
|
|
91
91
|
}, ["stop"]))
|
|
92
92
|
}, {
|
|
93
|
-
default:
|
|
94
|
-
|
|
93
|
+
default: R(() => [...a[2] || (a[2] = [
|
|
94
|
+
U("span", null, null, -1)
|
|
95
95
|
])]),
|
|
96
96
|
_: 1
|
|
97
97
|
}, 8, ["model-value", "label", "disabled"])) : i.value && o.node.checked ? (u(), m(n(x), {
|
|
98
98
|
key: 2,
|
|
99
99
|
icon: "icon-check",
|
|
100
100
|
class: f(n(c).e("prefix"))
|
|
101
|
-
}, null, 8, ["class"])) :
|
|
102
|
-
|
|
101
|
+
}, null, 8, ["class"])) : S("", !0),
|
|
102
|
+
O(n(T), {
|
|
103
103
|
node: o.node,
|
|
104
104
|
disabled: r.value,
|
|
105
105
|
onHandleSelectCheck: k
|
|
106
106
|
}, null, 8, ["node", "disabled"]),
|
|
107
|
-
i.value ?
|
|
107
|
+
i.value ? S("", !0) : (u(), P($, { key: 3 }, [
|
|
108
108
|
o.node.loading ? (u(), m(n(x), {
|
|
109
109
|
key: 0,
|
|
110
110
|
icon: "icon-loading",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as o, computed as s,
|
|
1
|
+
import { defineComponent as o, computed as s, createElementBlock as i, openBlock as p, normalizeClass as l, renderSlot as d } from "vue";
|
|
2
2
|
import { CHANGE_EVENT as h } from "../../constants/event.js";
|
|
3
3
|
import "@vueuse/core";
|
|
4
4
|
import "@vft/utils";
|
|
@@ -21,7 +21,7 @@ const u = o({
|
|
|
21
21
|
const t = a, c = k("check-tag"), n = s(() => [c.b(), c.is("checked", e.checked)]), m = () => {
|
|
22
22
|
t(h, !e.checked), t("update:checked", !e.checked);
|
|
23
23
|
};
|
|
24
|
-
return (r, f) => (
|
|
24
|
+
return (r, f) => (p(), i("span", {
|
|
25
25
|
class: l(n.value),
|
|
26
26
|
onClick: m
|
|
27
27
|
}, [
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as B, useSlots as z, inject as D, computed as f,
|
|
1
|
+
import { defineComponent as B, useSlots as z, inject as D, computed as f, createElementBlock as d, openBlock as r, normalizeClass as b, withDirectives as x, createCommentVNode as k, unref as t, isRef as y, vModelCheckbox as C, normalizeStyle as F, createTextVNode as V, renderSlot as j, toDisplayString as p } from "vue";
|
|
2
2
|
import "@vueuse/core";
|
|
3
3
|
import "@vft/utils";
|
|
4
4
|
import "../config-provider/hooks/use-global-config.js";
|
|
@@ -55,12 +55,12 @@ const K = ["name", "tabindex", "disabled", "true-value", "false-value"], U = ["n
|
|
|
55
55
|
a.is("checked", v.value),
|
|
56
56
|
a.is("focus", i.value)
|
|
57
57
|
]);
|
|
58
|
-
return (n, e) => (
|
|
58
|
+
return (n, e) => (r(), d("label", {
|
|
59
59
|
class: b(N.value)
|
|
60
60
|
}, [
|
|
61
|
-
l.trueValue || l.falseValue ? x((
|
|
61
|
+
l.trueValue || l.falseValue ? x((r(), d("input", {
|
|
62
62
|
key: 0,
|
|
63
|
-
"onUpdate:modelValue": e[0] || (e[0] = (o) =>
|
|
63
|
+
"onUpdate:modelValue": e[0] || (e[0] = (o) => y(u) ? u.value = o : null),
|
|
64
64
|
class: b(t(a).be("button", "original")),
|
|
65
65
|
type: "checkbox",
|
|
66
66
|
name: l.name,
|
|
@@ -73,10 +73,10 @@ const K = ["name", "tabindex", "disabled", "true-value", "false-value"], U = ["n
|
|
|
73
73
|
onFocus: e[2] || (e[2] = (o) => i.value = !0),
|
|
74
74
|
onBlur: e[3] || (e[3] = (o) => i.value = !1)
|
|
75
75
|
}, null, 42, K)), [
|
|
76
|
-
[
|
|
77
|
-
]) : x((
|
|
76
|
+
[C, t(u)]
|
|
77
|
+
]) : x((r(), d("input", {
|
|
78
78
|
key: 1,
|
|
79
|
-
"onUpdate:modelValue": e[4] || (e[4] = (o) =>
|
|
79
|
+
"onUpdate:modelValue": e[4] || (e[4] = (o) => y(u) ? u.value = o : null),
|
|
80
80
|
class: b(t(a).be("button", "original")),
|
|
81
81
|
type: "checkbox",
|
|
82
82
|
name: l.name,
|
|
@@ -88,18 +88,18 @@ const K = ["name", "tabindex", "disabled", "true-value", "false-value"], U = ["n
|
|
|
88
88
|
onFocus: e[6] || (e[6] = (o) => i.value = !0),
|
|
89
89
|
onBlur: e[7] || (e[7] = (o) => i.value = !1)
|
|
90
90
|
}, null, 42, U)), [
|
|
91
|
-
[
|
|
91
|
+
[C, t(u)]
|
|
92
92
|
]),
|
|
93
|
-
n.$slots.default || l.value || l.label ? (
|
|
93
|
+
n.$slots.default || l.value || l.label ? (r(), d("span", {
|
|
94
94
|
key: 2,
|
|
95
95
|
class: b(t(a).be("button", "inner")),
|
|
96
96
|
style: F(t(v) ? h.value : void 0)
|
|
97
97
|
}, [
|
|
98
|
-
|
|
99
|
-
l.label ?
|
|
100
|
-
|
|
98
|
+
V(p(l.label) + " ", 1),
|
|
99
|
+
l.label ? k("", !0) : j(n.$slots, "default", { key: 0 }, () => [
|
|
100
|
+
V(p(l.value), 1)
|
|
101
101
|
])
|
|
102
|
-
], 6)) :
|
|
102
|
+
], 6)) : k("", !0)
|
|
103
103
|
], 2));
|
|
104
104
|
}
|
|
105
105
|
});
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as c, computed as x, provide as h, toRefs as k, watch as g,
|
|
1
|
+
import { defineComponent as c, computed as x, provide as h, toRefs as k, watch as g, createBlock as m, openBlock as n, resolveDynamicComponent as u, unref as l, normalizeClass as y, withCtx as E, createElementBlock as I, renderSlot as B, Fragment as C, renderList as V, nextTick as z } from "vue";
|
|
2
2
|
import "../form/index.js";
|
|
3
3
|
import { UPDATE_MODEL_EVENT as F } from "../../constants/event.js";
|
|
4
4
|
import "@vueuse/core";
|
|
@@ -71,7 +71,7 @@ const A = c({
|
|
|
71
71
|
"aria-labelledby": l(d) ? l(r)?.labelId : void 0
|
|
72
72
|
}, {
|
|
73
73
|
default: E(() => [
|
|
74
|
-
a.options ? (n(!0), I(
|
|
74
|
+
a.options ? (n(!0), I(C, { key: 0 }, V(a.options, (e) => (n(), m(u(a.useButton ? T : L), {
|
|
75
75
|
value: e.value,
|
|
76
76
|
label: e.label,
|
|
77
77
|
indeterminate: e.indeterminate,
|
|
@@ -87,7 +87,7 @@ const A = c({
|
|
|
87
87
|
tabindex: e.tabindex,
|
|
88
88
|
"validate-event": e.validateEvent,
|
|
89
89
|
key: e.value
|
|
90
|
-
}, null, 8, ["value", "label", "indeterminate", "disabled", "checked", "name", "true-value", "false-value", "id", "controls", "border", "size", "tabindex", "validate-event"]))), 128)) :
|
|
90
|
+
}, null, 8, ["value", "label", "indeterminate", "disabled", "checked", "name", "true-value", "false-value", "id", "controls", "border", "size", "tabindex", "validate-event"]))), 128)) : B(t.$slots, "default", { key: 1 })
|
|
91
91
|
]),
|
|
92
92
|
_: 3
|
|
93
93
|
}, 8, ["id", "class", "aria-label", "aria-labelledby"]));
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as S, useSlots as I, computed as y,
|
|
1
|
+
import { defineComponent as S, useSlots as I, computed as y, createBlock as K, openBlock as o, resolveDynamicComponent as L, unref as a, normalizeClass as d, withCtx as O, createElementVNode as h, createElementBlock as s, createCommentVNode as c, withDirectives as C, isRef as B, vModelCheckbox as V, createTextVNode as g, toDisplayString as p, Fragment as N, renderSlot as R } from "vue";
|
|
2
2
|
import "@vueuse/core";
|
|
3
3
|
import "@vft/utils";
|
|
4
4
|
import "../config-provider/hooks/use-global-config.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as M, ref as v, reactive as N, computed as u, watch as s, nextTick as E, onUnmounted as V, onMounted as q,
|
|
1
|
+
import { defineComponent as M, ref as v, reactive as N, computed as u, watch as s, nextTick as E, onUnmounted as V, onMounted as q, createElementBlock as D, openBlock as G, normalizeStyle as I, createElementVNode as w, renderSlot as B } from "vue";
|
|
2
2
|
import "@vueuse/core";
|
|
3
3
|
import { addListener as J, removeListener as K } from "@vft/utils";
|
|
4
4
|
import { addUnit as P } from "../../utils/helper.js";
|
|
@@ -116,7 +116,7 @@ const Q = ["title", "aria-label"], W = M({
|
|
|
116
116
|
k();
|
|
117
117
|
}), T({
|
|
118
118
|
isClamped: n
|
|
119
|
-
}), (t, i) => (
|
|
119
|
+
}), (t, i) => (G(), D("div", {
|
|
120
120
|
ref_key: "textClampRef",
|
|
121
121
|
ref: a,
|
|
122
122
|
class: "text-clamp",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as n, computed as t,
|
|
1
|
+
import { defineComponent as n, computed as t, createBlock as u, openBlock as a, unref as i, normalizeStyle as x, withCtx as d, createElementBlock as f, createCommentVNode as p, normalizeClass as z, toDisplayString as C } from "vue";
|
|
2
2
|
import { VftClamp as h } from "../clamp/index.js";
|
|
3
3
|
import "@vueuse/core";
|
|
4
4
|
import "@vft/utils";
|
|
@@ -49,9 +49,9 @@ const T = ["onClick"], v = n({
|
|
|
49
49
|
after: d(({ toggle: c, expanded: l, clamped: g }) => [
|
|
50
50
|
l || g ? (a(), f("span", {
|
|
51
51
|
key: 0,
|
|
52
|
-
class:
|
|
52
|
+
class: z(["cursor-pointer", [i(m).e("more")]]),
|
|
53
53
|
onClick: c
|
|
54
|
-
},
|
|
54
|
+
}, C(l ? o.value[1] : o.value[0]), 11, T)) : p("", !0)
|
|
55
55
|
]),
|
|
56
56
|
_: 1
|
|
57
57
|
}, 8, ["style", "text", "max-height", "max-lines", "expanded", "location", "ellipsis", "auto-resize"]));
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as c, ref as s,
|
|
1
|
+
import { defineComponent as c, ref as s, createElementBlock as u, openBlock as o, Fragment as d, createVNode as l, createBlock as p, unref as e, withCtx as m, mergeProps as r } from "vue";
|
|
2
2
|
import { createReusableTemplate as x } from "@vueuse/core";
|
|
3
3
|
import { VftClamp as k } from "../clamp/index.js";
|
|
4
4
|
import { VftTooltip as y } from "../tooltip/index.js";
|
|
@@ -19,24 +19,24 @@ const R = /* @__PURE__ */ c({
|
|
|
19
19
|
const a = s(), [i, n] = x();
|
|
20
20
|
return (f, B) => (o(), u(d, null, [
|
|
21
21
|
l(e(i), null, {
|
|
22
|
-
default:
|
|
23
|
-
l(e(k),
|
|
22
|
+
default: m(() => [
|
|
23
|
+
l(e(k), r({
|
|
24
24
|
ref_key: "clampRef",
|
|
25
25
|
ref: a
|
|
26
26
|
}, f.$props), null, 16)
|
|
27
27
|
]),
|
|
28
28
|
_: 1
|
|
29
29
|
}),
|
|
30
|
-
t.showTooltip ? (o(),
|
|
30
|
+
t.showTooltip ? (o(), p(e(y), r({
|
|
31
31
|
key: 0,
|
|
32
32
|
disabled: !a.value?.isClamped,
|
|
33
33
|
content: t.text
|
|
34
34
|
}, t.tooltipCfg), {
|
|
35
|
-
default:
|
|
35
|
+
default: m(() => [
|
|
36
36
|
l(e(n))
|
|
37
37
|
]),
|
|
38
38
|
_: 1
|
|
39
|
-
}, 16, ["disabled", "content"])) : (o(),
|
|
39
|
+
}, 16, ["disabled", "content"])) : (o(), p(e(n), { key: 1 }))
|
|
40
40
|
], 64));
|
|
41
41
|
}
|
|
42
42
|
});
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as f, inject as d, computed as n,
|
|
1
|
+
import { defineComponent as f, inject as d, computed as n, createBlock as h, openBlock as $, resolveDynamicComponent as g, normalizeStyle as b, normalizeClass as v, withCtx as x, renderSlot as y } from "vue";
|
|
2
2
|
import "../row/index.js";
|
|
3
3
|
import "@vueuse/core";
|
|
4
4
|
import { isNumber as r, isObject as _ } from "@vft/utils";
|
|
@@ -46,7 +46,7 @@ const j = f({
|
|
|
46
46
|
);
|
|
47
47
|
}), a.value && t.push(o.is("guttered")), e.className && t.push(e.className), [o.b(), t];
|
|
48
48
|
});
|
|
49
|
-
return (t, p) => (
|
|
49
|
+
return (t, p) => ($(), h(g(c.tag), {
|
|
50
50
|
class: v(i.value),
|
|
51
51
|
style: b(m.value)
|
|
52
52
|
}, {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as C,
|
|
1
|
+
import { defineComponent as C, createElementBlock as g, openBlock as x, normalizeClass as l, unref as e, createElementVNode as a, createVNode as b, withKeys as A, withModifiers as B, renderSlot as r, createTextVNode as D, toDisplayString as E, withCtx as N, withDirectives as S, vShow as T } from "vue";
|
|
2
2
|
import { VftCollapseTransition as F } from "../collapse-transition/index.js";
|
|
3
3
|
import { VftIcon as H } from "../icon/index.js";
|
|
4
4
|
import { collapseItemProps as M } from "./collapse-item.js";
|
|
@@ -29,7 +29,7 @@ const P = ["id", "aria-expanded", "aria-controls", "aria-describedby", "tabindex
|
|
|
29
29
|
return K({
|
|
30
30
|
/** @description current collapse-item whether active */
|
|
31
31
|
isActive: s
|
|
32
|
-
}), (t, o) => (
|
|
32
|
+
}), (t, o) => (x(), g("div", {
|
|
33
33
|
class: l(e(h))
|
|
34
34
|
}, [
|
|
35
35
|
a("div", {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as o,
|
|
1
|
+
import { defineComponent as o, createElementBlock as m, openBlock as i, normalizeClass as f, unref as u, renderSlot as _ } from "vue";
|
|
2
2
|
import { collapseEmits as d, collapseProps as C } from "./collapse.js";
|
|
3
3
|
import { useCollapse as v, useCollapseDOM as k } from "./use-collapse.js";
|
|
4
4
|
const x = o({
|
|
@@ -14,7 +14,7 @@ const x = o({
|
|
|
14
14
|
activeNames: a,
|
|
15
15
|
/** @description set active names */
|
|
16
16
|
setActiveNames: n
|
|
17
|
-
}), (c, B) => (
|
|
17
|
+
}), (c, B) => (i(), m("div", {
|
|
18
18
|
class: f(u(p))
|
|
19
19
|
}, [
|
|
20
20
|
_(c.$slots, "default")
|