vft 0.0.509 → 0.0.511
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.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/cascader/cascader.vue2.js +2 -2
- package/es/components/cascader-panel/index.vue2.js +1 -1
- package/es/components/cascader-panel/menu.vue2.js +6 -6
- 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 +4 -4
- 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 +2 -2
- 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 +3 -3
- 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/composables/use-basic-date-table.d.ts +1 -1
- package/es/components/date-picker/composables/use-basic-date-table.js +115 -115
- package/es/components/date-picker/composables/use-month-range-header.js +1 -1
- package/es/components/date-picker/composables/use-panel-date-range.js +1 -1
- 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 +5 -5
- package/es/components/date-picker/date-picker-com/basic-year-table.vue2.js +5 -5
- package/es/components/date-picker/date-picker-com/panel-date-pick.vue2.js +12 -12
- package/es/components/date-picker/date-picker-com/panel-date-range.vue2.js +3 -3
- 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/date-time-select/date-time-select.vue2.js +1 -1
- 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.vue.d.ts +1 -1
- package/es/components/dropdown/dropdown-item-impl.vue2.js +3 -3
- package/es/components/dropdown/dropdown-item.vue.d.ts +1 -1
- 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.vue.d.ts +1 -1
- package/es/components/dropdown/dropdown.vue2.js +5 -5
- package/es/components/dropdown/index.d.ts +33 -33
- package/es/components/empty/empty.vue2.js +6 -6
- 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 +3 -3
- 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 +2 -2
- package/es/components/image-viewer/image-viewer.vue2.js +7 -7
- package/es/components/index.d.ts +1 -0
- package/es/components/index.js +206 -203
- package/es/components/input/input.vue2.js +6 -6
- package/es/components/input-number/input-number.vue2.js +4 -4
- 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-comment/md-comment.vue2.js +2 -2
- package/es/components/md-container/md-container.vue2.js +2 -2
- package/es/components/md-container/toc.js +1 -1
- 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/index.d.ts +4 -0
- package/es/components/message-box/index.js +14 -0
- package/es/components/message-box/message-box.vue.d.ts +103 -0
- package/es/components/message-box/message-box.vue.js +4 -0
- package/es/components/message-box/message-box.vue2.js +358 -0
- package/es/components/message-box/method.d.ts +3 -0
- package/es/components/message-box/method.js +101 -0
- package/es/components/message-box/style/css.d.ts +2 -0
- package/es/components/message-box/style/css.js +3 -0
- package/es/components/message-box/style/index.d.ts +2 -0
- package/es/components/message-box/style/index.js +3 -0
- package/es/components/message-box/types.d.ts +202 -0
- package/es/components/message-box/types.js +1 -0
- package/es/components/modal/index.d.ts +1 -0
- package/es/components/modal/modal-footer-action.vue2.js +11 -11
- package/es/components/modal/modal.vue.d.ts +1 -0
- package/es/components/modal/modal.vue2.js +30 -28
- 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/multiple-tabs/use/use-tab-dropdown.js +1 -1
- 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 +28 -29
- 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 +20 -21
- package/es/components/pagination/components/total.vue2.js +10 -11
- package/es/components/popconfirm/popconfirm.vue2.js +4 -4
- package/es/components/popover/popover.vue2.js +1 -1
- 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 +8 -8
- 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/select/useSelect.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 +47 -48
- package/es/components/super-form/super-form-item.vue2.js +204 -206
- package/es/components/super-form/super-form.vue2.js +7 -7
- package/es/components/super-form/use/helper.d.ts +1 -1
- package/es/components/super-form/use/helper.js +63 -63
- package/es/components/super-form/use/use-form.js +8 -8
- package/es/components/switch/switch.vue2.js +1 -1
- package/es/components/table/field.js +111 -130
- package/es/components/table/table.vue2.js +128 -133
- package/es/components/table/use/use-columns.js +26 -29
- package/es/components/table/use/use-data-source.js +59 -60
- 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 +4 -4
- package/es/components/time-picker/time-picker-com/panel-time-range.vue2.js +4 -4
- 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 +8 -8
- package/es/components/transfer/transfer.vue2.js +5 -5
- package/es/components/tree/tree-node.vue.js +1 -1
- package/es/components/tree/tree.vue2.js +7 -7
- package/es/components/upload/upload-content.vue2.js +8 -8
- package/es/components/upload/upload-dragger.vue2.js +2 -2
- package/es/components/upload/upload-list.vue2.js +2 -2
- package/es/components/upload/upload.vue2.js +20 -20
- 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/index.js +40 -39
- package/es/locale/index.js +6 -6
- package/es/package.json.d.ts +1 -1
- package/es/package.json.js +1 -1
- package/es/plugin.js +5 -3
- package/es/utils/helper.js +2 -2
- package/es/utils/ns-cover.js +1 -1
- package/es/utils/vue/vnode.js +3 -3
- package/lib/components/button/use-button.cjs +1 -1
- package/lib/components/cascader/cascader.vue2.cjs +1 -1
- package/lib/components/cascader-panel/menu.vue2.cjs +2 -2
- package/lib/components/clamp-toggle/clamp-toggle.vue2.cjs +1 -1
- package/lib/components/color-picker/color-picker.vue2.cjs +1 -1
- package/lib/components/date-picker/composables/use-basic-date-table.cjs +1 -1
- package/lib/components/date-picker/composables/use-basic-date-table.d.ts +1 -1
- package/lib/components/date-picker/composables/use-month-range-header.cjs +1 -1
- package/lib/components/date-picker/composables/use-panel-date-range.cjs +1 -1
- package/lib/components/date-picker/date-picker-com/basic-month-table.vue2.cjs +1 -1
- package/lib/components/date-picker/date-picker-com/basic-year-table.vue2.cjs +1 -1
- package/lib/components/date-picker/date-picker-com/panel-date-pick.vue2.cjs +1 -1
- package/lib/components/date-picker/date-picker-com/panel-date-range.vue2.cjs +1 -1
- package/lib/components/date-time-select/date-time-select.vue2.cjs +1 -1
- package/lib/components/dropdown/dropdown-item-impl.vue.d.ts +1 -1
- package/lib/components/dropdown/dropdown-item.vue.d.ts +1 -1
- package/lib/components/dropdown/dropdown.vue.d.ts +1 -1
- package/lib/components/dropdown/dropdown.vue2.cjs +1 -1
- package/lib/components/dropdown/index.d.ts +33 -33
- package/lib/components/empty/empty.vue2.cjs +1 -1
- package/lib/components/full-screen/full-screen.vue2.cjs +1 -1
- package/lib/components/image/image.vue2.cjs +1 -1
- package/lib/components/image-viewer/image-viewer.vue2.cjs +1 -1
- package/lib/components/index.cjs +1 -1
- package/lib/components/index.d.ts +1 -0
- package/lib/components/input/input.vue2.cjs +1 -1
- package/lib/components/md-container/md-container.vue2.cjs +1 -1
- package/lib/components/md-container/toc.cjs +1 -1
- package/lib/components/message-box/index.cjs +1 -0
- package/lib/components/message-box/index.d.ts +4 -0
- package/lib/components/message-box/message-box.vue.cjs +1 -0
- package/lib/components/message-box/message-box.vue.d.ts +103 -0
- package/lib/components/message-box/message-box.vue2.cjs +1 -0
- package/lib/components/message-box/method.cjs +1 -0
- package/lib/components/message-box/method.d.ts +3 -0
- package/lib/components/message-box/style/css.cjs +1 -0
- package/lib/components/message-box/style/css.d.ts +2 -0
- package/lib/components/message-box/style/index.cjs +1 -0
- package/lib/components/message-box/style/index.d.ts +2 -0
- package/lib/components/message-box/types.cjs +1 -0
- package/lib/components/message-box/types.d.ts +202 -0
- package/lib/components/modal/index.d.ts +1 -0
- package/lib/components/modal/modal-footer-action.vue2.cjs +1 -1
- package/lib/components/modal/modal.vue.d.ts +1 -0
- package/lib/components/modal/modal.vue2.cjs +1 -1
- package/lib/components/multiple-tabs/use/use-tab-dropdown.cjs +1 -1
- package/lib/components/pagination/components/jumper.vue2.cjs +1 -1
- package/lib/components/pagination/components/sizes.vue2.cjs +1 -1
- package/lib/components/pagination/components/total.vue2.cjs +1 -1
- package/lib/components/popconfirm/popconfirm.vue2.cjs +1 -1
- package/lib/components/search/search.vue2.cjs +1 -1
- package/lib/components/select/useSelect.cjs +1 -1
- package/lib/components/super-form/super-form-action.vue2.cjs +1 -1
- package/lib/components/super-form/super-form-item.vue2.cjs +1 -1
- package/lib/components/super-form/use/helper.cjs +1 -1
- package/lib/components/super-form/use/helper.d.ts +1 -1
- package/lib/components/super-form/use/use-form.cjs +1 -1
- package/lib/components/table/field.cjs +1 -1
- package/lib/components/table/table.vue2.cjs +1 -1
- package/lib/components/table/use/use-columns.cjs +1 -1
- package/lib/components/table/use/use-data-source.cjs +1 -1
- package/lib/components/time-picker/time-picker-com/panel-time-pick.vue2.cjs +1 -1
- package/lib/components/time-picker/time-picker-com/panel-time-range.vue2.cjs +1 -1
- package/lib/components/transfer/transfer-panel.vue2.cjs +1 -1
- package/lib/components/transfer/transfer.vue2.cjs +1 -1
- package/lib/components/tree/tree.vue2.cjs +1 -1
- package/lib/components/upload/upload-content.vue2.cjs +1 -1
- package/lib/components/upload/upload-list.vue2.cjs +1 -1
- package/lib/components/upload/upload.vue2.cjs +1 -1
- package/lib/index.cjs +1 -1
- package/lib/locale/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 +2 -2
- package/theme-style/index.css +1 -1
- package/theme-style/src/table.scss +4 -0
- package/theme-style/vft-table.css +1 -1
- 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, openBlock as N, createElementBlock 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) => (N(), q("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, openBlock as l, createBlock as r, 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, openBlock as E, createBlock as pe, 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, openBlock as o, createElementBlock as k, normalizeStyle as y, normalizeClass as g, createBlock as n, unref as c, normalizeProps as B, mergeProps as E, renderSlot 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), E(
|
|
48
|
+
}, null, 8, ["src", "alt", "fit"])) : s.value?.icon ? (o(), n(c(I), B(E({ key: 1 }, s.value)), null, 16)) : S(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, openBlock as n, createElementBlock as s, normalizeStyle as c, normalizeClass as o, unref as t, Fragment as y, renderList as g, createVNode as d, withCtx as k, createTextVNode as b, toDisplayString as p, createCommentVNode 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) => (n(), s("div", {
|
|
36
36
|
class: o(t(a).b()),
|
|
37
37
|
style: c(h.value)
|
|
38
38
|
}, [
|
|
39
|
-
(
|
|
39
|
+
(n(!0), s(y, null, g(l.value, (x, u) => (n(), s("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 ? (n(), s("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: k(() => [
|
|
60
|
+
b(" +" + p(m.value), 1)
|
|
61
61
|
]),
|
|
62
62
|
_: 1
|
|
63
63
|
}, 8, ["size", "class"])
|
|
64
|
-
], 2)) :
|
|
64
|
+
], 2)) : V("", !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, openBlock as i, createBlock as l, Transition as y, unref as t, withCtx as C, createElementBlock as h, withModifiers as T, normalizeClass as x, normalizeStyle as z, renderSlot as B, normalizeProps as $, mergeProps as S, createCommentVNode as c } 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, openBlock as a, createElementBlock as p, normalizeClass as s, unref as e, createElementVNode as y, renderSlot as C, createBlock 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
|
+
C(f.$slots, "default")
|
|
36
36
|
], 2),
|
|
37
|
-
e(o)?.separatorIcon ? (a(),
|
|
37
|
+
e(o)?.separatorIcon ? (a(), _(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, openBlock as i, createElementBlock 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) => (i(), c("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, openBlock as m, createElementBlock 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) => (m(), a("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, openBlock as l, createBlock as i, resolveDynamicComponent as $, mergeProps as p, unref as e, withCtx as I, createElementBlock as y, Fragment as A, renderSlot as f, normalizeClass as k, normalizeProps as N, createCommentVNode as B } 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 ? f(n.$slots, "loading", { key: 0 }) : (l(), i(e(b), {
|
|
74
74
|
key: 1,
|
|
75
75
|
rotate: "",
|
|
76
|
-
class:
|
|
76
|
+
class: k(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)) : B("", !0),
|
|
80
80
|
n.$slots.default ? (l(), y("span", {
|
|
81
81
|
key: 2,
|
|
82
|
-
class:
|
|
82
|
+
class: k({ [e(t).em("text", "expand")]: e(u) })
|
|
83
83
|
}, [
|
|
84
|
-
|
|
85
|
-
], 2)) :
|
|
84
|
+
f(n.$slots, "default")
|
|
85
|
+
], 2)) : B("", !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 { useGlobalConfig as k } from "../config-provider/hooks/use-global-config.js";
|
|
7
|
+
import { useFormItem as x } from "../form/hooks/use-form-item.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 = k("button"), { form: c } = x(), 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, openBlock as d, createElementBlock as s, normalizeClass as r, unref as a, renderSlot as l, createTextVNode as i, toDisplayString as n, createCommentVNode as c, createElementVNode 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) => (d(), s("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 ? (d(), s("div", {
|
|
26
26
|
key: 0,
|
|
27
27
|
class: r(a(t).e("header"))
|
|
28
28
|
}, [
|
|
29
29
|
l(o.$slots, "header", {}, () => [
|
|
30
|
-
|
|
30
|
+
i(n(e.header), 1)
|
|
31
31
|
])
|
|
32
|
-
], 2)) :
|
|
33
|
-
|
|
32
|
+
], 2)) : c("", !0),
|
|
33
|
+
f("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, openBlock as u, createElementBlock as p, normalizeStyle as w, normalizeClass as v, vShow as f, createCommentVNode as x, renderSlot as z } 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((u(), p("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((u(), p("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, openBlock as s, createElementBlock as d, withModifiers as m, normalizeClass as l, createBlock as L, Transition as V, withCtx as y, withDirectives as g, createElementVNode as a, createVNode as p, vShow as h, createCommentVNode as f, 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";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as Ne, useAttrs as Ze, ref as c, computed as i, unref as l, watch as x, nextTick as N, onMounted as _e,
|
|
1
|
+
import { defineComponent as Ne, useAttrs as Ze, ref as c, computed as i, unref as l, watch as x, nextTick as N, onMounted as _e, openBlock as r, createBlock as E, withCtx as v, createElementBlock as m, withModifiers as F, normalizeClass as d, renderSlot as V, createCommentVNode as P, withDirectives as U, createVNode as te, vShow as Ee, Fragment as se, renderList as le, createElementVNode as z, toDisplayString as A, normalizeStyle as et, createSlots as tt, withKeys as st, vModelText as lt } from "vue";
|
|
2
2
|
import { cloneDeep as ot, debounce as at } from "lodash-es";
|
|
3
3
|
import { useResizeObserver as nt, useCssVar as rt } from "@vueuse/core";
|
|
4
4
|
import { focusNode as it, getSibling as ut } from "../../utils/dom/aria.js";
|
|
@@ -21,7 +21,7 @@ import "@popperjs/core";
|
|
|
21
21
|
import "../../hooks/use-z-index/index.js";
|
|
22
22
|
import { useComposition as kt } from "../../hooks/use-composition/index.js";
|
|
23
23
|
import { useEmptyValues as Ct } from "../../hooks/use-empty-values/index.js";
|
|
24
|
-
import
|
|
24
|
+
import yt from "../../locale/use-locale.js";
|
|
25
25
|
import { cascaderEmits as bt, cascaderProps as Tt } from "./cascader.js";
|
|
26
26
|
import { useFormItem as Et } from "../form/hooks/use-form-item.js";
|
|
27
27
|
import { useFormSize as wt } from "../form/hooks/use-form-common-props.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, openBlock as D, createElementBlock as I, 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 b, inject as A, ref as B, computed as p,
|
|
1
|
+
import { defineComponent as N, getCurrentInstance as b, inject as A, ref as B, computed as p, openBlock as n, createBlock as k, unref as e, normalizeClass as i, withCtx as S, createElementBlock as u, Fragment as z, renderList as D, createVNode as q, createTextVNode as x, toDisplayString as L, renderSlot as R, createCommentVNode as X } from "vue";
|
|
2
2
|
import { VftScrollbar as j } from "../scrollbar/index.js";
|
|
3
3
|
import "@vueuse/core";
|
|
4
4
|
import "@vft/utils";
|
|
@@ -10,7 +10,7 @@ import { useNamespace as J } from "../../hooks/use-namespace/index.js";
|
|
|
10
10
|
import "../../hooks/use-model-toggle/index.js";
|
|
11
11
|
import "@popperjs/core";
|
|
12
12
|
import "../../hooks/use-z-index/index.js";
|
|
13
|
-
import
|
|
13
|
+
import K from "../../locale/use-locale.js";
|
|
14
14
|
import { VftIcon as O } from "../icon/index.js";
|
|
15
15
|
import P from "./node.vue2.js";
|
|
16
16
|
import { CASCADER_PANEL_INJECTION_KEY as W } from "./types.js";
|
|
@@ -59,7 +59,7 @@ const Y = N({
|
|
|
59
59
|
onMouseleave: _
|
|
60
60
|
}, {
|
|
61
61
|
default: S(() => [
|
|
62
|
-
(n(!0), u(
|
|
62
|
+
(n(!0), u(z, null, D(f.nodes, (c) => (n(), k(P, {
|
|
63
63
|
key: c.uid,
|
|
64
64
|
node: c,
|
|
65
65
|
"menu-id": y.value,
|
|
@@ -69,7 +69,7 @@ const Y = N({
|
|
|
69
69
|
key: 0,
|
|
70
70
|
class: i(e(t).e("empty-text"))
|
|
71
71
|
}, [
|
|
72
|
-
|
|
72
|
+
q(e(O), {
|
|
73
73
|
icon: "icon-loadding",
|
|
74
74
|
size: "14",
|
|
75
75
|
class: i(e(t).is("loading"))
|
|
@@ -79,7 +79,7 @@ const Y = N({
|
|
|
79
79
|
key: 1,
|
|
80
80
|
class: i(e(t).e("empty-text"))
|
|
81
81
|
}, [
|
|
82
|
-
|
|
82
|
+
R(o.$slots, "empty", {}, () => [
|
|
83
83
|
x(L(e(g)("vft.noData")), 1)
|
|
84
84
|
])
|
|
85
85
|
], 2)) : e(l)?.isHoverMenu ? (n(), u("svg", {
|
|
@@ -87,7 +87,7 @@ const Y = N({
|
|
|
87
87
|
ref_key: "hoverZone",
|
|
88
88
|
ref: a,
|
|
89
89
|
class: i(e(t).e("hover-zone"))
|
|
90
|
-
}, null, 2)) :
|
|
90
|
+
}, null, 2)) : X("", !0)
|
|
91
91
|
]),
|
|
92
92
|
_: 3
|
|
93
93
|
}, 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, openBlock as u, createElementBlock as P, normalizeClass as f, unref as n, createBlock as m, withModifiers as S, withCtx as O, createElementVNode as R, createCommentVNode as L, createVNode 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] = S(() => {
|
|
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] = S(() => {
|
|
91
91
|
}, ["stop"]))
|
|
92
92
|
}, {
|
|
93
|
-
default:
|
|
94
|
-
|
|
93
|
+
default: O(() => [...a[2] || (a[2] = [
|
|
94
|
+
R("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"])) : L("", !0),
|
|
102
|
+
U(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 ? L("", !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, openBlock as i, createElementBlock 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) => (i(), p("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, openBlock as d, createElementBlock as r, normalizeClass as b, withDirectives as x, unref as t, isRef as k, vModelCheckbox as y, normalizeStyle as F, createTextVNode as C, toDisplayString as V, renderSlot as j, createCommentVNode 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) => (d(), r("label", {
|
|
59
59
|
class: b(N.value)
|
|
60
60
|
}, [
|
|
61
|
-
l.trueValue || l.falseValue ? x((
|
|
61
|
+
l.trueValue || l.falseValue ? x((d(), r("input", {
|
|
62
62
|
key: 0,
|
|
63
|
-
"onUpdate:modelValue": e[0] || (e[0] = (o) =>
|
|
63
|
+
"onUpdate:modelValue": e[0] || (e[0] = (o) => k(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
|
+
[y, t(u)]
|
|
77
|
+
]) : x((d(), r("input", {
|
|
78
78
|
key: 1,
|
|
79
|
-
"onUpdate:modelValue": e[4] || (e[4] = (o) =>
|
|
79
|
+
"onUpdate:modelValue": e[4] || (e[4] = (o) => k(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
|
+
[y, t(u)]
|
|
92
92
|
]),
|
|
93
|
-
n.$slots.default || l.value || l.label ? (
|
|
93
|
+
n.$slots.default || l.value || l.label ? (d(), r("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
|
-
V(
|
|
99
|
-
l.label ?
|
|
100
|
-
V(
|
|
98
|
+
C(V(l.label) + " ", 1),
|
|
99
|
+
l.label ? p("", !0) : j(n.$slots, "default", { key: 0 }, () => [
|
|
100
|
+
C(V(l.value), 1)
|
|
101
101
|
])
|
|
102
|
-
], 6)) :
|
|
102
|
+
], 6)) : p("", !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, openBlock as n, createBlock as m, resolveDynamicComponent as u, unref as l, normalizeClass as y, withCtx as E, createElementBlock as I, Fragment as B, renderList as C, renderSlot 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(B, { key: 0 }, C(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)) : V(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, openBlock as o, createBlock as K, resolveDynamicComponent as L, unref as a, normalizeClass as d, withCtx as O, createElementVNode as h, withDirectives as C, createElementBlock as s, isRef as B, vModelCheckbox as V, createTextVNode as g, toDisplayString as p, Fragment as N, renderSlot as R, createCommentVNode as c } 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, openBlock as D, createElementBlock 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) => (D(), G("div", {
|
|
120
120
|
ref_key: "textClampRef",
|
|
121
121
|
ref: a,
|
|
122
122
|
class: "text-clamp",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as m, computed as t,
|
|
1
|
+
import { defineComponent as m, computed as t, openBlock as i, createBlock as f, unref as n, normalizeStyle as x, withCtx as d, createElementBlock as p, normalizeClass as z, toDisplayString as C, createCommentVNode as h } from "vue";
|
|
2
2
|
import { VftClamp as y } from "../clamp/index.js";
|
|
3
3
|
import "@vueuse/core";
|
|
4
4
|
import "@vft/utils";
|
|
@@ -10,7 +10,7 @@ import { useNamespace as v } from "../../hooks/use-namespace/index.js";
|
|
|
10
10
|
import "../../hooks/use-model-toggle/index.js";
|
|
11
11
|
import "@popperjs/core";
|
|
12
12
|
import "../../hooks/use-z-index/index.js";
|
|
13
|
-
import
|
|
13
|
+
import k from "../../locale/use-locale.js";
|
|
14
14
|
const B = ["onClick"], S = m({
|
|
15
15
|
name: "vft-clamp-toggle"
|
|
16
16
|
}), J = /* @__PURE__ */ m({
|
|
@@ -50,9 +50,9 @@ const B = ["onClick"], S = m({
|
|
|
50
50
|
after: d(({ toggle: g, expanded: a, clamped: u }) => [
|
|
51
51
|
a || u ? (i(), p("span", {
|
|
52
52
|
key: 0,
|
|
53
|
-
class:
|
|
53
|
+
class: z(["cursor-pointer", [n(s).e("more")]]),
|
|
54
54
|
onClick: g
|
|
55
|
-
},
|
|
55
|
+
}, C(a ? l.value[1] : l.value[0]), 11, B)) : h("", !0)
|
|
56
56
|
]),
|
|
57
57
|
_: 1
|
|
58
58
|
}, 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, openBlock as o, createElementBlock as u, Fragment as d, createVNode as l, unref as e, withCtx as p, mergeProps as m, createBlock 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: p(() => [
|
|
23
|
+
l(e(k), m({
|
|
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(), r(e(y), m({
|
|
31
31
|
key: 0,
|
|
32
32
|
disabled: !a.value?.isClamped,
|
|
33
33
|
content: t.text
|
|
34
34
|
}, t.tooltipCfg), {
|
|
35
|
-
default:
|
|
35
|
+
default: p(() => [
|
|
36
36
|
l(e(n))
|
|
37
37
|
]),
|
|
38
38
|
_: 1
|
|
39
|
-
}, 16, ["disabled", "content"])) : (o(),
|
|
39
|
+
}, 16, ["disabled", "content"])) : (o(), r(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, openBlock as h, createBlock 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, openBlock as g, createElementBlock as x, normalizeClass as l, unref as e, createElementVNode as a, withKeys as A, withModifiers as B, renderSlot as r, createTextVNode as D, toDisplayString as E, createVNode as b, 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) => (g(), x("div", {
|
|
33
33
|
class: l(e(h))
|
|
34
34
|
}, [
|
|
35
35
|
a("div", {
|