vft 0.0.509 → 0.0.513
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/cascader/cascader.vue2.js +202 -203
- package/es/components/cascader-panel/index.vue2.js +1 -1
- package/es/components/cascader-panel/menu.vue2.js +49 -50
- 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 +18 -19
- 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 +133 -134
- 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.vue.d.ts +0 -2
- package/es/components/config-provider/config-provider.vue2.js +4 -5
- package/es/components/config-provider/constants.d.ts +0 -1
- package/es/components/config-provider/constants.js +2 -3
- package/es/components/config-provider/hooks/use-global-config.js +30 -33
- package/es/components/config-provider/index.d.ts +0 -9
- package/es/components/config-provider/index.js +5 -6
- 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 +123 -124
- package/es/components/date-picker/composables/use-month-range-header.js +14 -15
- package/es/components/date-picker/composables/use-panel-date-range.js +23 -24
- 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 +39 -40
- package/es/components/date-picker/date-picker-com/basic-year-table.vue2.js +40 -41
- package/es/components/date-picker/date-picker-com/panel-date-pick.vue2.js +178 -179
- package/es/components/date-picker/date-picker-com/panel-date-range.vue2.js +224 -225
- 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 +36 -39
- 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 +66 -67
- package/es/components/empty/empty.vue2.js +36 -37
- 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 +17 -18
- 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 +59 -60
- package/es/components/image-viewer/image-viewer.vue2.js +44 -45
- package/es/components/index.d.ts +1 -0
- package/es/components/index.js +213 -211
- 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 +74 -75
- package/es/components/md-container/toc.js +36 -37
- 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 +100 -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/modal/index.d.ts +1 -0
- package/es/components/modal/modal-footer-action.vue2.js +24 -25
- 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 +16 -17
- package/es/components/multiple-tabs/tab-content.vue2.js +2 -2
- package/es/components/multiple-tabs/use/use-tab-dropdown.js +53 -54
- 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/index.d.ts +15 -15
- package/es/components/popconfirm/popconfirm.vue.d.ts +1 -1
- package/es/components/popconfirm/popconfirm.vue2.js +39 -40
- 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 +50 -51
- 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/select/useSelect.js +231 -232
- 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 +65 -66
- package/es/components/time-picker/time-picker-com/panel-time-range.vue2.js +133 -134
- 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 +58 -59
- package/es/components/transfer/transfer.vue2.js +69 -70
- package/es/components/tree/tree-node.vue.js +1 -1
- package/es/components/tree/tree.vue2.js +59 -60
- package/es/components/upload/upload-content.vue2.js +47 -48
- package/es/components/upload/upload-dragger.vue2.js +2 -2
- package/es/components/upload/upload-list.vue2.js +45 -46
- package/es/components/upload/upload.vue2.js +98 -99
- 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.d.ts +0 -1
- package/es/index.js +39 -42
- 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/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/cascader/cascader.vue2.cjs +1 -1
- package/lib/components/cascader-panel/menu.vue2.cjs +4 -4
- 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/config-provider/config-provider.vue.d.ts +0 -2
- package/lib/components/config-provider/config-provider.vue2.cjs +1 -1
- package/lib/components/config-provider/constants.cjs +1 -1
- package/lib/components/config-provider/constants.d.ts +0 -1
- package/lib/components/config-provider/hooks/use-global-config.cjs +1 -1
- package/lib/components/config-provider/index.cjs +1 -1
- package/lib/components/config-provider/index.d.ts +0 -9
- 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.vue2.cjs +1 -1
- 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.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/multiple-tabs.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/index.d.ts +15 -15
- package/lib/components/popconfirm/popconfirm.vue.d.ts +1 -1
- package/lib/components/popconfirm/popconfirm.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.cjs +1 -1
- package/lib/components/select/useSelect.d.ts +4 -4
- 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/index.d.ts +0 -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 +3 -3
- package/theme-style/index.css +1 -1
- package/theme-style/src/message-box.scss +2 -2
- package/theme-style/src/table.scss +6 -0
- package/theme-style/vft-message-box.css +1 -1
- package/theme-style/vft-table.css +1 -1
- package/web-types.json +1 -1
- package/es/locale/index.d.ts +0 -26
- package/es/locale/index.js +0 -10
- package/es/locale/lang/en.d.ts +0 -183
- package/es/locale/lang/en.js +0 -241
- package/es/locale/lang/zh-cn.d.ts +0 -183
- package/es/locale/lang/zh-cn.js +0 -241
- package/es/locale/lang/zh-tw.d.ts +0 -183
- package/es/locale/lang/zh-tw.js +0 -241
- package/es/locale/use-locale.d.ts +0 -17
- package/es/locale/use-locale.js +0 -56
- package/lib/locale/index.cjs +0 -1
- package/lib/locale/index.d.ts +0 -26
- package/lib/locale/lang/en.cjs +0 -1
- package/lib/locale/lang/en.d.ts +0 -183
- package/lib/locale/lang/zh-cn.cjs +0 -1
- package/lib/locale/lang/zh-cn.d.ts +0 -183
- package/lib/locale/lang/zh-tw.cjs +0 -1
- package/lib/locale/lang/zh-tw.d.ts +0 -183
- package/lib/locale/use-locale.cjs +0 -1
- package/lib/locale/use-locale.d.ts +0 -17
- /package/es/{locale/index.d.js → components/message-box/types.js} +0 -0
- /package/lib/{locale/index.d.cjs → components/message-box/types.cjs} +0 -0
|
@@ -1,21 +1,20 @@
|
|
|
1
|
-
import { defineComponent as
|
|
1
|
+
import { defineComponent as h, ref as N, computed as r, openBlock as d, createBlock as y, unref as t, mergeProps as w, withCtx as l, renderSlot as $, createCommentVNode as B, createElementVNode as a, normalizeClass as c, normalizeStyle as b, createTextVNode as f, toDisplayString as s, createVNode as T } from "vue";
|
|
2
2
|
import "@vueuse/core";
|
|
3
3
|
import "@vft/utils";
|
|
4
|
-
import { addUnit as
|
|
4
|
+
import { addUnit as I } from "../../utils/helper.js";
|
|
5
5
|
import "lodash-es";
|
|
6
6
|
import "../form/index.js";
|
|
7
|
-
import { VftButton as
|
|
8
|
-
import { VftIcon as
|
|
9
|
-
import { VftTooltip as
|
|
10
|
-
import { useNamespace as
|
|
7
|
+
import { VftButton as x } from "../button/index.js";
|
|
8
|
+
import { VftIcon as P } from "../icon/index.js";
|
|
9
|
+
import { VftTooltip as S } from "../tooltip/index.js";
|
|
10
|
+
import { useNamespace as A } from "../../hooks/use-namespace/index.js";
|
|
11
11
|
import "../../hooks/use-model-toggle/index.js";
|
|
12
12
|
import "@popperjs/core";
|
|
13
13
|
import "../../hooks/use-z-index/index.js";
|
|
14
|
-
|
|
15
|
-
const D = v({
|
|
14
|
+
const R = h({
|
|
16
15
|
name: "VftPopconfirm"
|
|
17
|
-
}),
|
|
18
|
-
...
|
|
16
|
+
}), W = /* @__PURE__ */ h({
|
|
17
|
+
...R,
|
|
19
18
|
props: {
|
|
20
19
|
title: {},
|
|
21
20
|
confirmButtonText: {},
|
|
@@ -32,18 +31,18 @@ const D = v({
|
|
|
32
31
|
},
|
|
33
32
|
emits: ["confirm", "cancel"],
|
|
34
33
|
setup(e, { emit: C }) {
|
|
35
|
-
const i = e,
|
|
34
|
+
const i = e, m = C, n = A("popconfirm"), p = N(), u = () => {
|
|
36
35
|
p.value?.onClose?.();
|
|
37
36
|
}, k = r(() => ({
|
|
38
|
-
width:
|
|
39
|
-
})),
|
|
40
|
-
|
|
41
|
-
},
|
|
42
|
-
|
|
43
|
-
},
|
|
44
|
-
() => i.confirmButtonText ||
|
|
45
|
-
),
|
|
46
|
-
return (o,
|
|
37
|
+
width: I(i.width)
|
|
38
|
+
})), v = (o) => {
|
|
39
|
+
m("confirm", o), u();
|
|
40
|
+
}, V = (o) => {
|
|
41
|
+
m("cancel", o), u();
|
|
42
|
+
}, g = r(
|
|
43
|
+
() => i.confirmButtonText || "确认"
|
|
44
|
+
), z = r(() => i.cancelButtonText || "取消");
|
|
45
|
+
return (o, q) => (d(), y(t(S), w({
|
|
47
46
|
ref_key: "tooltipRef",
|
|
48
47
|
ref: p,
|
|
49
48
|
trigger: "click",
|
|
@@ -56,57 +55,57 @@ const D = v({
|
|
|
56
55
|
"hide-after": e.hideAfter,
|
|
57
56
|
persistent: e.persistent
|
|
58
57
|
}), {
|
|
59
|
-
content:
|
|
58
|
+
content: l(() => [
|
|
60
59
|
a("div", {
|
|
61
|
-
class:
|
|
60
|
+
class: c(t(n).b())
|
|
62
61
|
}, [
|
|
63
62
|
a("div", {
|
|
64
|
-
class:
|
|
63
|
+
class: c(t(n).e("main"))
|
|
65
64
|
}, [
|
|
66
|
-
!e.hideIcon && e.icon ? (
|
|
65
|
+
!e.hideIcon && e.icon ? (d(), y(t(P), {
|
|
67
66
|
key: 0,
|
|
68
67
|
icon: e.icon,
|
|
69
68
|
size: 20,
|
|
70
|
-
class:
|
|
71
|
-
style:
|
|
72
|
-
}, null, 8, ["icon", "class", "style"])) :
|
|
73
|
-
f(" " +
|
|
69
|
+
class: c(t(n).e("icon")),
|
|
70
|
+
style: b({ color: e.iconColor })
|
|
71
|
+
}, null, 8, ["icon", "class", "style"])) : B("", !0),
|
|
72
|
+
f(" " + s(e.title), 1)
|
|
74
73
|
], 2),
|
|
75
74
|
a("div", {
|
|
76
|
-
class:
|
|
75
|
+
class: c(t(n).e("action"))
|
|
77
76
|
}, [
|
|
78
|
-
|
|
77
|
+
T(t(x), {
|
|
79
78
|
size: "small",
|
|
80
79
|
type: e.cancelButtonType === "text" ? "" : e.cancelButtonType,
|
|
81
80
|
text: e.cancelButtonType === "text",
|
|
82
|
-
onClick:
|
|
81
|
+
onClick: V
|
|
83
82
|
}, {
|
|
84
|
-
default:
|
|
85
|
-
f(
|
|
83
|
+
default: l(() => [
|
|
84
|
+
f(s(z.value), 1)
|
|
86
85
|
]),
|
|
87
86
|
_: 1
|
|
88
87
|
}, 8, ["type", "text"]),
|
|
89
|
-
|
|
88
|
+
T(t(x), {
|
|
90
89
|
size: "small",
|
|
91
90
|
type: e.confirmButtonType === "text" ? "" : e.confirmButtonType,
|
|
92
91
|
text: e.confirmButtonType === "text",
|
|
93
|
-
onClick:
|
|
92
|
+
onClick: v
|
|
94
93
|
}, {
|
|
95
|
-
default:
|
|
96
|
-
f(
|
|
94
|
+
default: l(() => [
|
|
95
|
+
f(s(g.value), 1)
|
|
97
96
|
]),
|
|
98
97
|
_: 1
|
|
99
98
|
}, 8, ["type", "text"])
|
|
100
99
|
], 2)
|
|
101
100
|
], 2)
|
|
102
101
|
]),
|
|
103
|
-
default:
|
|
104
|
-
o.$slots.reference ?
|
|
102
|
+
default: l(() => [
|
|
103
|
+
o.$slots.reference ? $(o.$slots, "reference", { key: 0 }) : B("", !0)
|
|
105
104
|
]),
|
|
106
105
|
_: 3
|
|
107
106
|
}, 16, ["popper-class", "popper-style", "teleported", "hide-after", "persistent"]));
|
|
108
107
|
}
|
|
109
108
|
});
|
|
110
109
|
export {
|
|
111
|
-
|
|
110
|
+
W as default
|
|
112
111
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as u, computed as o, ref as S, unref as l,
|
|
1
|
+
import { defineComponent as u, computed as o, ref as S, unref as l, openBlock as f, createBlock as x, mergeProps as R, withCtx as s, renderSlot as d, createCommentVNode as p, createElementBlock as T, normalizeClass as U, toDisplayString as c, createTextVNode as V } from "vue";
|
|
2
2
|
import { VftTooltip as $ } from "../tooltip/index.js";
|
|
3
3
|
import { EVENT_CODE as i } from "../../constants/aria.js";
|
|
4
4
|
import "@vueuse/core";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as t, inject as m, watch as i, onBeforeUnmount as l,
|
|
1
|
+
import { defineComponent as t, inject as m, watch as i, onBeforeUnmount as l, openBlock as c, createElementBlock as _, normalizeStyle as u, unref as o, normalizeClass as w } from "vue";
|
|
2
2
|
import "@vueuse/core";
|
|
3
3
|
import "@vft/utils";
|
|
4
4
|
import "../config-provider/hooks/use-global-config.js";
|
|
@@ -35,7 +35,7 @@ const E = t({
|
|
|
35
35
|
* @description Arrow element
|
|
36
36
|
*/
|
|
37
37
|
arrowRef: r
|
|
38
|
-
}), (e, N) => (
|
|
38
|
+
}), (e, N) => (c(), _("span", {
|
|
39
39
|
ref_key: "arrowRef",
|
|
40
40
|
ref: r,
|
|
41
41
|
class: w(o(f).e("arrow")),
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as C, getCurrentInstance as D, inject as J, provide as y, onMounted as U, watch as f, unref as e, onBeforeUnmount as W,
|
|
1
|
+
import { defineComponent as C, getCurrentInstance as D, inject as J, provide as y, onMounted as U, watch as f, unref as e, onBeforeUnmount as W, openBlock as Y, createElementBlock as Z, mergeProps as G, createVNode as H, withCtx as Q, renderSlot as X } from "vue";
|
|
2
2
|
import _ from "../focus-trap/focus-trap.vue.js";
|
|
3
3
|
import "../focus-trap/utils.js";
|
|
4
4
|
import { noop as R, isElement as P } from "@vft/utils";
|
|
@@ -120,7 +120,7 @@ const ne = C({
|
|
|
120
120
|
* @description content style
|
|
121
121
|
*/
|
|
122
122
|
contentStyle: c
|
|
123
|
-
}), (r, a) => (
|
|
123
|
+
}), (r, a) => (Y(), Z("div", G({
|
|
124
124
|
ref_key: "contentRef",
|
|
125
125
|
ref: n
|
|
126
126
|
}, e($), {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as g, getCurrentInstance as C, inject as y, computed as s, onMounted as x, watch as l, onBeforeUnmount as E,
|
|
1
|
+
import { defineComponent as g, getCurrentInstance as C, inject as y, computed as s, onMounted as x, watch as l, onBeforeUnmount as E, openBlock as B, createBlock as w, unref as A, mergeProps as M, withCtx as P, renderSlot as R, createCommentVNode as T } from "vue";
|
|
2
2
|
import { isElement as v } from "@vft/utils";
|
|
3
3
|
import { OnlyChild as k } from "../slot/only-child.js";
|
|
4
4
|
import { unrefElement as L } from "@vueuse/core";
|
|
@@ -99,14 +99,14 @@ const O = g({
|
|
|
99
99
|
* @description trigger element
|
|
100
100
|
*/
|
|
101
101
|
triggerRef: n
|
|
102
|
-
}), (e, d) => o.virtualTriggering ?
|
|
102
|
+
}), (e, d) => o.virtualTriggering ? T("", !0) : (B(), w(A(k), M({ key: 0 }, e.$attrs, {
|
|
103
103
|
"aria-controls": p.value,
|
|
104
104
|
"aria-describedby": c.value,
|
|
105
105
|
"aria-expanded": m.value,
|
|
106
106
|
"aria-haspopup": u.value
|
|
107
107
|
}), {
|
|
108
|
-
default:
|
|
109
|
-
|
|
108
|
+
default: P(() => [
|
|
109
|
+
R(e.$slots, "default")
|
|
110
110
|
]),
|
|
111
111
|
_: 3
|
|
112
112
|
}, 16, ["aria-controls", "aria-describedby", "aria-expanded", "aria-haspopup"]));
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as T, computed as r,
|
|
1
|
+
import { defineComponent as T, computed as r, openBlock as o, createElementBlock as i, normalizeClass as l, unref as a, createElementVNode as f, normalizeStyle as c, renderSlot as C, toDisplayString as D, createCommentVNode as y, createBlock as A, normalizeProps as L, mergeProps as M } from "vue";
|
|
2
2
|
import { isFunction as E, isString as I } from "@vft/utils";
|
|
3
3
|
import { VftIcon as O } from "../icon/index.js";
|
|
4
4
|
import "@vueuse/core";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { defineComponent as e,
|
|
1
|
+
import { defineComponent as e, openBlock as o, createElementBlock as n } from "vue";
|
|
2
2
|
const p = /* @__PURE__ */ e({
|
|
3
3
|
__name: "progress-i",
|
|
4
4
|
setup(r) {
|
|
5
|
-
return console.log(1), (t, c) => (
|
|
5
|
+
return console.log(1), (t, c) => (o(), n("div", null, "1"));
|
|
6
6
|
}
|
|
7
7
|
});
|
|
8
8
|
export {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as f, ref as w, onMounted as g, getCurrentInstance as v, watch as h,
|
|
1
|
+
import { defineComponent as f, ref as w, onMounted as g, getCurrentInstance as v, watch as h, openBlock as l, createElementBlock as p, createBlock as C, resolveDynamicComponent as x, unref as c } from "vue";
|
|
2
2
|
import { downloadByUrl as y } from "@vft/utils";
|
|
3
3
|
import { toDataURL as E } from "qrcode";
|
|
4
4
|
import { toCanvas as L } from "./toCanvas.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as f, computed as C,
|
|
1
|
+
import { defineComponent as f, computed as C, openBlock as g, createElementBlock as N, normalizeClass as u, unref as e, withDirectives as V, createElementVNode as p, withModifiers as b, isRef as $, vModelRadio as R, normalizeStyle as w, renderSlot as x, createTextVNode as z, toDisplayString as D } from "vue";
|
|
2
2
|
import "@vueuse/core";
|
|
3
3
|
import "@vft/utils";
|
|
4
4
|
import "../config-provider/hooks/use-global-config.js";
|
|
@@ -30,7 +30,7 @@ const F = ["value", "name", "disabled"], G = f({
|
|
|
30
30
|
boxShadow: l?.fill ? `-1px 0 0 0 ${l.fill}` : "",
|
|
31
31
|
color: l?.textColor || ""
|
|
32
32
|
}));
|
|
33
|
-
return (m, o) => (
|
|
33
|
+
return (m, o) => (g(), N("label", {
|
|
34
34
|
class: u([
|
|
35
35
|
e(t).b("button"),
|
|
36
36
|
e(t).is("active", e(i) === e(s)),
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as p, ref as E, onMounted as B, computed as k, provide as _, reactive as h, toRefs as C, watch as x,
|
|
1
|
+
import { defineComponent as p, ref as E, onMounted as B, computed as k, provide as _, reactive as h, toRefs as C, watch as x, openBlock as i, createElementBlock as u, unref as a, normalizeClass as z, Fragment as N, renderList as A, createBlock as F, resolveDynamicComponent as G, renderSlot as L, nextTick as T } from "vue";
|
|
2
2
|
import "../form/index.js";
|
|
3
3
|
import { UPDATE_MODEL_EVENT as c, CHANGE_EVENT as V } from "../../constants/event.js";
|
|
4
4
|
import "@vueuse/core";
|
|
@@ -65,7 +65,7 @@ const K = ["id", "aria-label", "aria-labelledby"], O = p({
|
|
|
65
65
|
"aria-label": a(s) ? void 0 : r.label || "radio-group",
|
|
66
66
|
"aria-labelledby": a(s) ? a(l)?.labelId : void 0
|
|
67
67
|
}, [
|
|
68
|
-
r.options ? (i(!0), u(
|
|
68
|
+
r.options ? (i(!0), u(N, { key: 0 }, A(r.options, (o) => (i(), F(G(r.useButton ? q : M), {
|
|
69
69
|
size: o.size,
|
|
70
70
|
disabled: o.disabled,
|
|
71
71
|
label: o.label,
|
|
@@ -73,7 +73,7 @@ const K = ["id", "aria-label", "aria-labelledby"], O = p({
|
|
|
73
73
|
name: o.name,
|
|
74
74
|
border: o.border,
|
|
75
75
|
key: o.value
|
|
76
|
-
}, null, 8, ["size", "disabled", "label", "value", "name", "border"]))), 128)) :
|
|
76
|
+
}, null, 8, ["size", "disabled", "label", "value", "name", "border"]))), 128)) : L(e.$slots, "default", { key: 1 })
|
|
77
77
|
], 10, K));
|
|
78
78
|
}
|
|
79
79
|
});
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as f,
|
|
1
|
+
import { defineComponent as f, openBlock as R, createElementBlock as $, normalizeClass as n, unref as e, createElementVNode as r, withDirectives as y, withModifiers as u, isRef as w, vModelRadio as B, renderSlot as N, createTextVNode as z, toDisplayString as D, nextTick as E } from "vue";
|
|
2
2
|
import { radioProps as M } from "./radio.js";
|
|
3
3
|
import "@vueuse/core";
|
|
4
4
|
import "@vft/utils";
|
|
@@ -21,7 +21,7 @@ const h = ["value", "name", "disabled", "checked"], F = f({
|
|
|
21
21
|
function V() {
|
|
22
22
|
E(() => d("change", s.value));
|
|
23
23
|
}
|
|
24
|
-
return (l, i) => (
|
|
24
|
+
return (l, i) => (R(), $("label", {
|
|
25
25
|
class: n([
|
|
26
26
|
e(o).b(),
|
|
27
27
|
e(o).is("disabled", e(m)),
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as J, inject as j, ref as I, computed as s, markRaw as _, watch as de, resolveComponent as me,
|
|
1
|
+
import { defineComponent as J, inject as j, ref as I, computed as s, markRaw as _, watch as de, resolveComponent as me, openBlock as c, createElementBlock as v, normalizeStyle as E, unref as i, normalizeClass as f, Fragment as g, renderList as ve, createVNode as z, withCtx as P, withDirectives as W, createBlock as w, resolveDynamicComponent as x, vShow as R, createCommentVNode as D, toDisplayString as fe } from "vue";
|
|
2
2
|
import { EVENT_CODE as b } from "../../constants/aria.js";
|
|
3
3
|
import { UPDATE_MODEL_EVENT as M, CHANGE_EVENT as q } from "../../constants/event.js";
|
|
4
4
|
import { isArray as S, isObject as G, isString as U, hasClass as X } from "@vft/utils";
|
|
@@ -131,7 +131,7 @@ const ye = ["id", "aria-label", "aria-labelledby", "aria-valuenow", "aria-valuet
|
|
|
131
131
|
style: E(te.value),
|
|
132
132
|
onKeydown: ce
|
|
133
133
|
}, [
|
|
134
|
-
(c(!0), v(
|
|
134
|
+
(c(!0), v(g, null, ve(l.max, (u, h) => (c(), v("span", {
|
|
135
135
|
key: h,
|
|
136
136
|
class: f(i(r).e("item")),
|
|
137
137
|
onMousemove: (n) => O(u, n),
|
|
@@ -146,7 +146,7 @@ const ye = ["id", "aria-label", "aria-labelledby", "aria-valuenow", "aria-valuet
|
|
|
146
146
|
])
|
|
147
147
|
}, {
|
|
148
148
|
default: P(() => [
|
|
149
|
-
K(u) ?
|
|
149
|
+
K(u) ? D("", !0) : (c(), v(g, { key: 0 }, [
|
|
150
150
|
W((c(), w(x(ie.value), null, null, 512)), [
|
|
151
151
|
[R, u <= t.value]
|
|
152
152
|
]),
|
|
@@ -154,7 +154,7 @@ const ye = ["id", "aria-label", "aria-labelledby", "aria-valuenow", "aria-valuet
|
|
|
154
154
|
[R, !(u <= t.value)]
|
|
155
155
|
])
|
|
156
156
|
], 64)),
|
|
157
|
-
K(u) ? (c(), v(
|
|
157
|
+
K(u) ? (c(), v(g, { key: 1 }, [
|
|
158
158
|
(c(), w(x(F.value), {
|
|
159
159
|
class: f([i(r).em("decimal", "box")])
|
|
160
160
|
}, null, 8, ["class"])),
|
|
@@ -167,7 +167,7 @@ const ye = ["id", "aria-label", "aria-labelledby", "aria-valuenow", "aria-valuet
|
|
|
167
167
|
]),
|
|
168
168
|
_: 1
|
|
169
169
|
}, 8, ["style", "class"])
|
|
170
|
-
], 64)) :
|
|
170
|
+
], 64)) : D("", !0)
|
|
171
171
|
]),
|
|
172
172
|
_: 2
|
|
173
173
|
}, 1032, ["class"])
|
|
@@ -176,7 +176,7 @@ const ye = ["id", "aria-label", "aria-labelledby", "aria-valuenow", "aria-valuet
|
|
|
176
176
|
key: 0,
|
|
177
177
|
class: f(i(r).e("text")),
|
|
178
178
|
style: E({ color: l.textColor })
|
|
179
|
-
}, fe(k.value), 7)) :
|
|
179
|
+
}, fe(k.value), 7)) : D("", !0)
|
|
180
180
|
], 46, ye);
|
|
181
181
|
};
|
|
182
182
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as v, computed as d, resolveComponent as A,
|
|
1
|
+
import { defineComponent as v, computed as d, resolveComponent as A, openBlock as t, createBlock as n, withCtx as m, createVNode as s, unref as o, KeepAlive as k, resolveDynamicComponent as f, createCommentVNode as g, Transition as x, mergeProps as C } from "vue";
|
|
2
2
|
import { getRouterKeyPath as N } from "@vft/router";
|
|
3
3
|
import { createReusableTemplate as R } from "@vueuse/core";
|
|
4
4
|
const K = v({
|
|
@@ -20,25 +20,25 @@ const K = v({
|
|
|
20
20
|
}), [y, c] = R();
|
|
21
21
|
return (a, i) => {
|
|
22
22
|
const r = A("router-view");
|
|
23
|
-
return
|
|
23
|
+
return t(), n(r, { name: e.name }, {
|
|
24
24
|
default: m(({ Component: u, route: l }) => [
|
|
25
25
|
s(o(y), null, {
|
|
26
26
|
default: m(() => [
|
|
27
|
-
e.openKeepAlive ? (
|
|
27
|
+
e.openKeepAlive ? (t(), n(k, {
|
|
28
28
|
key: 0,
|
|
29
29
|
include: h.value,
|
|
30
30
|
exclude: p.value(l)
|
|
31
31
|
}, [
|
|
32
|
-
e.isReloadFlag ? (
|
|
32
|
+
e.isReloadFlag ? (t(), n(f(u), {
|
|
33
33
|
key: o(N)(l)
|
|
34
34
|
})) : g("", !0)
|
|
35
|
-
], 1032, ["include", "exclude"])) : (
|
|
35
|
+
], 1032, ["include", "exclude"])) : (t(), n(f(u), {
|
|
36
36
|
key: l.fullPath
|
|
37
37
|
}))
|
|
38
38
|
]),
|
|
39
39
|
_: 2
|
|
40
40
|
}, 1024),
|
|
41
|
-
e.transitionName ? (
|
|
41
|
+
e.transitionName ? (t(), n(x, C({
|
|
42
42
|
key: 0,
|
|
43
43
|
name: e.transitionName
|
|
44
44
|
}, e.transitionAttr), {
|
|
@@ -46,7 +46,7 @@ const K = v({
|
|
|
46
46
|
s(o(c))
|
|
47
47
|
]),
|
|
48
48
|
_: 1
|
|
49
|
-
}, 16, ["name"])) : (
|
|
49
|
+
}, 16, ["name"])) : (t(), n(o(c), { key: 1 }))
|
|
50
50
|
]),
|
|
51
51
|
_: 1
|
|
52
52
|
}, 8, ["name"]);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as t,
|
|
1
|
+
import { defineComponent as t, openBlock as c, createBlock as l, unref as u, withCtx as e, createVNode as a, normalizeProps as f, guardReactiveProps as p, renderSlot as s } from "vue";
|
|
2
2
|
import r from "./roving-focus-group-impl.vue2.js";
|
|
3
3
|
import { VftCollection as n } from "./types.js";
|
|
4
4
|
const i = t({
|
|
@@ -10,7 +10,7 @@ const i = t({
|
|
|
10
10
|
}), C = /* @__PURE__ */ t({
|
|
11
11
|
...i,
|
|
12
12
|
setup(m) {
|
|
13
|
-
return (o, _) => (
|
|
13
|
+
return (o, _) => (c(), l(u(n), null, {
|
|
14
14
|
default: e(() => [
|
|
15
15
|
a(r, f(p(o.$attrs)), {
|
|
16
16
|
default: e(() => [
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as p, inject as l, ref as g, unref as r, nextTick as x, computed as d, provide as R,
|
|
1
|
+
import { defineComponent as p, inject as l, ref as g, unref as r, nextTick as x, computed as d, provide as R, openBlock as G, createBlock as K, withCtx as V, renderSlot as S } from "vue";
|
|
2
2
|
import { EVENT_CODE as U } from "../../constants/aria.js";
|
|
3
3
|
import "@vueuse/core";
|
|
4
4
|
import "@vft/utils";
|
|
@@ -83,7 +83,7 @@ const j = p({
|
|
|
83
83
|
handleMousedown: T,
|
|
84
84
|
handleFocus: F,
|
|
85
85
|
handleKeydown: h
|
|
86
|
-
}), (e, m) => (
|
|
86
|
+
}), (e, m) => (G(), K(r(I), {
|
|
87
87
|
id: r(n),
|
|
88
88
|
focusable: s.focusable,
|
|
89
89
|
active: s.active
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as o, provide as s, computed as r,
|
|
1
|
+
import { defineComponent as o, provide as s, computed as r, openBlock as n, createBlock as m, resolveDynamicComponent as u, normalizeStyle as f, normalizeClass as c, withCtx as g, renderSlot as d } from "vue";
|
|
2
2
|
import "@vueuse/core";
|
|
3
3
|
import "@vft/utils";
|
|
4
4
|
import "../config-provider/hooks/use-global-config.js";
|
|
@@ -34,7 +34,7 @@ const v = o({
|
|
|
34
34
|
a.is(`align-${t.align}`, t.align !== "top"),
|
|
35
35
|
t.className
|
|
36
36
|
]);
|
|
37
|
-
return (e, w) => (
|
|
37
|
+
return (e, w) => (n(), m(u(t.tag), {
|
|
38
38
|
class: c(l.value),
|
|
39
39
|
style: f(i.value)
|
|
40
40
|
}, {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as m, ref as i,
|
|
1
|
+
import { defineComponent as m, ref as i, openBlock as u, createElementBlock as h, Fragment as d, createVNode as n } from "vue";
|
|
2
2
|
import r from "./thumb.vue2.js";
|
|
3
3
|
import { GAP as s } from "./util.js";
|
|
4
4
|
const z = /* @__PURE__ */ m({
|
|
@@ -19,7 +19,7 @@ const z = /* @__PURE__ */ m({
|
|
|
19
19
|
o.value = t.scrollTop * 100 / l * e.ratioY, a.value = t.scrollLeft * 100 / c * e.ratioX;
|
|
20
20
|
}
|
|
21
21
|
}
|
|
22
|
-
}), (t, l) => (
|
|
22
|
+
}), (t, l) => (u(), h(d, null, [
|
|
23
23
|
n(r, {
|
|
24
24
|
move: a.value,
|
|
25
25
|
ratio: e.ratioX,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as W, ref as o, computed as h, watch as k, nextTick as T, provide as D, reactive as G, onMounted as X, onUpdated as Y,
|
|
1
|
+
import { defineComponent as W, ref as o, computed as h, watch as k, nextTick as T, provide as D, reactive as G, onMounted as X, onUpdated as Y, openBlock as y, createElementBlock as q, normalizeClass as w, unref as F, createElementVNode as I, normalizeStyle as B, createBlock as E, resolveDynamicComponent as J, withCtx as Q, renderSlot as Z, createCommentVNode as _ } from "vue";
|
|
2
2
|
import { isNumber as i, isObject as ee } from "@vft/utils";
|
|
3
3
|
import { useResizeObserver as te, useEventListener as le } from "@vueuse/core";
|
|
4
4
|
import { debugWarn as N } from "../../utils/error.js";
|
|
@@ -116,22 +116,22 @@ const L = "ElScrollbar", ie = W({
|
|
|
116
116
|
ref_key: "wrapRef",
|
|
117
117
|
ref: l,
|
|
118
118
|
class: w(j.value),
|
|
119
|
-
style:
|
|
119
|
+
style: B($.value),
|
|
120
120
|
onScroll: H
|
|
121
121
|
}, [
|
|
122
|
-
(y(),
|
|
122
|
+
(y(), E(J(t.tag), {
|
|
123
123
|
ref_key: "resizeRef",
|
|
124
124
|
ref: x,
|
|
125
125
|
class: w(K.value),
|
|
126
|
-
style:
|
|
126
|
+
style: B(t.viewStyle)
|
|
127
127
|
}, {
|
|
128
|
-
default:
|
|
129
|
-
|
|
128
|
+
default: Q(() => [
|
|
129
|
+
Z(e.$slots, "default")
|
|
130
130
|
]),
|
|
131
131
|
_: 3
|
|
132
132
|
}, 8, ["class", "style"]))
|
|
133
133
|
], 38),
|
|
134
|
-
t.native ?
|
|
134
|
+
t.native ? _("", !0) : (y(), E(oe, {
|
|
135
135
|
key: 0,
|
|
136
136
|
ref_key: "barRef",
|
|
137
137
|
ref: m,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as T, inject as D, ref as i, computed as E, onBeforeUnmount as N, toRef as S,
|
|
1
|
+
import { defineComponent as T, inject as D, ref as i, computed as E, onBeforeUnmount as N, toRef as S, openBlock as A, createBlock as O, Transition as j, unref as m, withCtx as K, withDirectives as U, createElementVNode as z, normalizeClass as C, normalizeStyle as I, vShow as V } from "vue";
|
|
2
2
|
import { useEventListener as P, isClient as _ } from "@vueuse/core";
|
|
3
3
|
import "@vft/utils";
|
|
4
4
|
import { throwError as q } from "../../utils/error.js";
|
|
@@ -78,7 +78,7 @@ const W = "Thumb", ce = /* @__PURE__ */ T({
|
|
|
78
78
|
S(o, "scrollbarElement"),
|
|
79
79
|
"mouseleave",
|
|
80
80
|
H
|
|
81
|
-
), (t, n) => (
|
|
81
|
+
), (t, n) => (A(), O(j, {
|
|
82
82
|
name: m(s).b("fade")
|
|
83
83
|
}, {
|
|
84
84
|
default: K(() => [
|