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 F, getCurrentInstance as q, ref as m, computed as x,
|
|
1
|
+
import { defineComponent as F, getCurrentInstance as q, ref as m, computed as x, openBlock as a, createBlock as A, unref as e, withCtx as n, createVNode as y, Transition as H, withDirectives as j, createElementVNode as b, mergeProps as R, withModifiers as U, normalizeClass as s, createElementBlock as d, renderSlot as i, toDisplayString as G, createCommentVNode as r, normalizeStyle as J, vShow as K } from "vue";
|
|
2
2
|
import "../dialog/index.js";
|
|
3
3
|
import Q from "../focus-trap/focus-trap.vue.js";
|
|
4
4
|
import "../focus-trap/utils.js";
|
|
@@ -7,7 +7,7 @@ import { VftOverlay as X } from "../overlay/index.js";
|
|
|
7
7
|
import { VftTeleport as Y } from "../teleport/index.js";
|
|
8
8
|
import { UPDATE_MODEL_EVENT as Z } from "../../constants/event.js";
|
|
9
9
|
import "@vueuse/core";
|
|
10
|
-
import {
|
|
10
|
+
import { singleAttrToObj as _, isBoolean as ee } from "@vft/utils";
|
|
11
11
|
import "../config-provider/hooks/use-global-config.js";
|
|
12
12
|
import "lodash-es";
|
|
13
13
|
import "../form/index.js";
|
|
@@ -60,7 +60,7 @@ const ae = ["aria-label", "aria-labelledby", "aria-describedby"], se = ["id"], r
|
|
|
60
60
|
footerClass: {}
|
|
61
61
|
},
|
|
62
62
|
emits: {
|
|
63
|
-
[Z]: (o) =>
|
|
63
|
+
[Z]: (o) => ee(o),
|
|
64
64
|
open: () => !0,
|
|
65
65
|
opened: () => !0,
|
|
66
66
|
close: () => !0,
|
|
@@ -88,7 +88,7 @@ const ae = ["aria-label", "aria-labelledby", "aria-describedby"], se = ["id"], r
|
|
|
88
88
|
isHorizontal: S,
|
|
89
89
|
size: $,
|
|
90
90
|
isResizing: N
|
|
91
|
-
} = te(C.props, B), M = x(() =>
|
|
91
|
+
} = te(C.props, B), M = x(() => _(o.closeIcon, "icon", {
|
|
92
92
|
icon: "icon-close",
|
|
93
93
|
pointer: !0
|
|
94
94
|
}));
|
|
@@ -32,8 +32,8 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
32
32
|
onClickimpl?: ((event: MouseEvent) => any) | undefined;
|
|
33
33
|
}>, {
|
|
34
34
|
disabled: boolean;
|
|
35
|
-
icon: string;
|
|
36
35
|
command: object | string | number;
|
|
36
|
+
icon: string;
|
|
37
37
|
divided: boolean;
|
|
38
38
|
textValue: string;
|
|
39
39
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as O, computed as l, inject as r,
|
|
1
|
+
import { defineComponent as O, computed as l, inject as r, openBlock as d, createElementBlock as I, Fragment as y, mergeProps as s, unref as o, createCommentVNode as c, createElementVNode as P, withModifiers as g, createBlock as D, normalizeProps as F, renderSlot as V } from "vue";
|
|
2
2
|
import { COLLECTION_ITEM_SIGN as $ } from "../collection/collection.js";
|
|
3
3
|
import { VftIcon as J } from "../icon/index.js";
|
|
4
4
|
import "../roving-focus-group/roving-focus-group.vue2.js";
|
|
@@ -80,8 +80,8 @@ const A = ["aria-disabled", "tabindex", "role"], H = O({
|
|
|
80
80
|
onPointermove: e[4] || (e[4] = (n) => t.$emit("pointermove", n)),
|
|
81
81
|
onPointerleave: e[5] || (e[5] = (n) => t.$emit("pointerleave", n))
|
|
82
82
|
}), [
|
|
83
|
-
i.icon ? (d(), D(o(J),
|
|
84
|
-
|
|
83
|
+
i.icon ? (d(), D(o(J), F(s({ key: 0 }, T.value)), null, 16)) : c("", !0),
|
|
84
|
+
V(t.$slots, "default")
|
|
85
85
|
], 16, A)
|
|
86
86
|
], 64));
|
|
87
87
|
}
|
|
@@ -30,8 +30,8 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
30
30
|
onPointermove?: ((event: PointerEvent) => any) | undefined;
|
|
31
31
|
}>, {
|
|
32
32
|
disabled: boolean;
|
|
33
|
-
icon: string;
|
|
34
33
|
command: object | string | number;
|
|
34
|
+
icon: string;
|
|
35
35
|
divided: boolean;
|
|
36
36
|
textValue: string;
|
|
37
37
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as f, useAttrs as w, getCurrentInstance as E, ref as g, computed as c, unref as t, inject as D,
|
|
1
|
+
import { defineComponent as f, useAttrs as w, getCurrentInstance as E, ref as g, computed as c, unref as t, inject as D, openBlock as V, createBlock as y, withCtx as l, createVNode as s, mergeProps as A, renderSlot as B } from "vue";
|
|
2
2
|
import "../roving-focus-group/roving-focus-group.vue2.js";
|
|
3
3
|
import "../roving-focus-group/roving-focus-group-impl.vue2.js";
|
|
4
4
|
import N from "../roving-focus-group/roving-focus-item.vue2.js";
|
|
@@ -55,7 +55,7 @@ const M = f({
|
|
|
55
55
|
a?.hideOnClick?.value && a.handleClick?.(), a.commandHandler?.(o.command, P, e);
|
|
56
56
|
}
|
|
57
57
|
), I = c(() => ({ ...o, ...v }));
|
|
58
|
-
return (e, r) => (
|
|
58
|
+
return (e, r) => (V(), y(t(H), {
|
|
59
59
|
disabled: n.disabled,
|
|
60
60
|
"text-value": n.textValue ?? _.value
|
|
61
61
|
}, {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as a, inject as n, computed as D, unref as o,
|
|
1
|
+
import { defineComponent as a, inject as n, computed as D, unref as o, openBlock as Y, createElementBlock as J, withModifiers as u, normalizeStyle as G, normalizeClass as P, renderSlot as z } from "vue";
|
|
2
2
|
import "../focus-trap/focus-trap.vue2.js";
|
|
3
3
|
import { FOCUS_TRAP_INJECTION_KEY as B } from "../focus-trap/tokens.js";
|
|
4
4
|
import "../focus-trap/utils.js";
|
|
@@ -71,7 +71,7 @@ const X = ["role", "aria-labelledby"], Z = a({
|
|
|
71
71
|
), g = (e) => {
|
|
72
72
|
b(e), C(e);
|
|
73
73
|
};
|
|
74
|
-
return (e, r) => (
|
|
74
|
+
return (e, r) => (Y(), J("ul", {
|
|
75
75
|
ref: o(L),
|
|
76
76
|
class: P(F.value),
|
|
77
77
|
style: G(o(y)),
|
|
@@ -43,8 +43,8 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
43
43
|
teleported: boolean;
|
|
44
44
|
}>>> & Readonly<{
|
|
45
45
|
onClick?: ((val: MouseEvent) => any) | undefined;
|
|
46
|
-
"onVisible-change"?: ((val: boolean) => any) | undefined;
|
|
47
46
|
onCommand?: ((val: string) => any) | undefined;
|
|
47
|
+
"onVisible-change"?: ((val: boolean) => any) | undefined;
|
|
48
48
|
}>, {
|
|
49
49
|
disabled: boolean;
|
|
50
50
|
maxHeight: number | string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as S, getCurrentInstance as Z, ref as a, computed as b, watch as _, toRef as h, onBeforeUnmount as ee, provide as T,
|
|
1
|
+
import { defineComponent as S, getCurrentInstance as Z, ref as a, computed as b, watch as _, toRef as h, onBeforeUnmount as ee, provide as T, openBlock as $, createElementBlock as te, normalizeClass as x, unref as o, createVNode as r, createSlots as oe, withCtx as n, renderSlot as y, createBlock as ne, mergeProps as I, createCommentVNode as re } from "vue";
|
|
2
2
|
import { VftButtonGroup as le, VftButton as O } from "../button/index.js";
|
|
3
3
|
import "../form/index.js";
|
|
4
4
|
import { VftIcon as ie } from "../icon/index.js";
|
|
@@ -19,7 +19,7 @@ import { useNamespace as pe } from "../../hooks/use-namespace/index.js";
|
|
|
19
19
|
import "../../hooks/use-model-toggle/index.js";
|
|
20
20
|
import "@popperjs/core";
|
|
21
21
|
import "../../hooks/use-z-index/index.js";
|
|
22
|
-
import
|
|
22
|
+
import ve from "../../locale/use-locale.js";
|
|
23
23
|
import { DROPDOWN_INJECTION_KEY as ge } from "./tokens.js";
|
|
24
24
|
import { VftCollection as be } from "./types.js";
|
|
25
25
|
import { useFormSize as he } from "../form/hooks/use-form-common-props.js";
|
|
@@ -169,7 +169,7 @@ const ye = S({
|
|
|
169
169
|
onBeforeShow: W,
|
|
170
170
|
onShow: Y,
|
|
171
171
|
onBeforeHide: j
|
|
172
|
-
},
|
|
172
|
+
}, oe({
|
|
173
173
|
content: n(() => [
|
|
174
174
|
r(o(de), {
|
|
175
175
|
ref_key: "scrollbar",
|
|
@@ -221,7 +221,7 @@ const ye = S({
|
|
|
221
221
|
key: "0"
|
|
222
222
|
}
|
|
223
223
|
]), 1032, ["role", "effect", "popper-options", "hide-after", "placement", "popper-class", "reference-element", "trigger", "trigger-target-el", "show-after", "virtual-ref", "virtual-triggering", "disabled", "transition", "teleported"]),
|
|
224
|
-
e.splitButton ? ($(),
|
|
224
|
+
e.splitButton ? ($(), ne(o(le), { key: 0 }, {
|
|
225
225
|
default: n(() => [
|
|
226
226
|
r(o(O), I({
|
|
227
227
|
ref_key: "referenceElementRef",
|
|
@@ -261,7 +261,7 @@ const ye = S({
|
|
|
261
261
|
}, 16, ["id", "size", "type", "class", "disabled", "tabindex", "aria-label"])
|
|
262
262
|
]),
|
|
263
263
|
_: 3
|
|
264
|
-
})) :
|
|
264
|
+
})) : re("", !0)
|
|
265
265
|
], 2));
|
|
266
266
|
}
|
|
267
267
|
});
|
|
@@ -70,8 +70,8 @@ export declare const VftDropdown: import("vft/es/utils").SFCWithInstall<{
|
|
|
70
70
|
buttonProps: ButtonProps;
|
|
71
71
|
}>> & Readonly<{
|
|
72
72
|
onClick?: ((val: MouseEvent) => any) | undefined;
|
|
73
|
-
"onVisible-change"?: ((val: boolean) => any) | undefined;
|
|
74
73
|
onCommand?: ((val: string) => any) | undefined;
|
|
74
|
+
"onVisible-change"?: ((val: boolean) => any) | undefined;
|
|
75
75
|
}>, {
|
|
76
76
|
handleClose: () => void;
|
|
77
77
|
handleOpen: () => void;
|
|
@@ -172,8 +172,8 @@ export declare const VftDropdown: import("vft/es/utils").SFCWithInstall<{
|
|
|
172
172
|
buttonProps: ButtonProps;
|
|
173
173
|
}>> & Readonly<{
|
|
174
174
|
onClick?: ((val: MouseEvent) => any) | undefined;
|
|
175
|
-
"onVisible-change"?: ((val: boolean) => any) | undefined;
|
|
176
175
|
onCommand?: ((val: string) => any) | undefined;
|
|
176
|
+
"onVisible-change"?: ((val: boolean) => any) | undefined;
|
|
177
177
|
}>, {
|
|
178
178
|
handleClose: () => void;
|
|
179
179
|
handleOpen: () => void;
|
|
@@ -267,8 +267,8 @@ export declare const VftDropdown: import("vft/es/utils").SFCWithInstall<{
|
|
|
267
267
|
buttonProps: ButtonProps;
|
|
268
268
|
}>> & Readonly<{
|
|
269
269
|
onClick?: ((val: MouseEvent) => any) | undefined;
|
|
270
|
-
"onVisible-change"?: ((val: boolean) => any) | undefined;
|
|
271
270
|
onCommand?: ((val: string) => any) | undefined;
|
|
271
|
+
"onVisible-change"?: ((val: boolean) => any) | undefined;
|
|
272
272
|
}>, {
|
|
273
273
|
handleClose: () => void;
|
|
274
274
|
handleOpen: () => void;
|
|
@@ -303,14 +303,14 @@ export declare const VftDropdown: import("vft/es/utils").SFCWithInstall<{
|
|
|
303
303
|
type: import("vue").PropType<boolean>;
|
|
304
304
|
default: boolean;
|
|
305
305
|
};
|
|
306
|
-
icon: {
|
|
307
|
-
type: import("vue").PropType<string>;
|
|
308
|
-
default: string;
|
|
309
|
-
};
|
|
310
306
|
command: {
|
|
311
307
|
type: import("vue").PropType<string | number | object>;
|
|
312
308
|
default: () => {};
|
|
313
309
|
};
|
|
310
|
+
icon: {
|
|
311
|
+
type: import("vue").PropType<string>;
|
|
312
|
+
default: string;
|
|
313
|
+
};
|
|
314
314
|
divided: {
|
|
315
315
|
type: import("vue").PropType<boolean>;
|
|
316
316
|
default: boolean;
|
|
@@ -329,8 +329,8 @@ export declare const VftDropdown: import("vft/es/utils").SFCWithInstall<{
|
|
|
329
329
|
click: (event: PointerEvent) => void;
|
|
330
330
|
}, import("vue").PublicProps, {
|
|
331
331
|
disabled: boolean;
|
|
332
|
-
icon: string;
|
|
333
332
|
command: object | string | number;
|
|
333
|
+
icon: string;
|
|
334
334
|
divided: boolean;
|
|
335
335
|
textValue: string;
|
|
336
336
|
}, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
@@ -345,14 +345,14 @@ export declare const VftDropdown: import("vft/es/utils").SFCWithInstall<{
|
|
|
345
345
|
type: import("vue").PropType<boolean>;
|
|
346
346
|
default: boolean;
|
|
347
347
|
};
|
|
348
|
-
icon: {
|
|
349
|
-
type: import("vue").PropType<string>;
|
|
350
|
-
default: string;
|
|
351
|
-
};
|
|
352
348
|
command: {
|
|
353
349
|
type: import("vue").PropType<string | number | object>;
|
|
354
350
|
default: () => {};
|
|
355
351
|
};
|
|
352
|
+
icon: {
|
|
353
|
+
type: import("vue").PropType<string>;
|
|
354
|
+
default: string;
|
|
355
|
+
};
|
|
356
356
|
divided: {
|
|
357
357
|
type: import("vue").PropType<boolean>;
|
|
358
358
|
default: boolean;
|
|
@@ -367,8 +367,8 @@ export declare const VftDropdown: import("vft/es/utils").SFCWithInstall<{
|
|
|
367
367
|
onPointermove?: ((event: PointerEvent) => any) | undefined;
|
|
368
368
|
}>, {}, {}, {}, {}, {
|
|
369
369
|
disabled: boolean;
|
|
370
|
-
icon: string;
|
|
371
370
|
command: object | string | number;
|
|
371
|
+
icon: string;
|
|
372
372
|
divided: boolean;
|
|
373
373
|
textValue: string;
|
|
374
374
|
}>;
|
|
@@ -380,14 +380,14 @@ export declare const VftDropdown: import("vft/es/utils").SFCWithInstall<{
|
|
|
380
380
|
type: import("vue").PropType<boolean>;
|
|
381
381
|
default: boolean;
|
|
382
382
|
};
|
|
383
|
-
icon: {
|
|
384
|
-
type: import("vue").PropType<string>;
|
|
385
|
-
default: string;
|
|
386
|
-
};
|
|
387
383
|
command: {
|
|
388
384
|
type: import("vue").PropType<string | number | object>;
|
|
389
385
|
default: () => {};
|
|
390
386
|
};
|
|
387
|
+
icon: {
|
|
388
|
+
type: import("vue").PropType<string>;
|
|
389
|
+
default: string;
|
|
390
|
+
};
|
|
391
391
|
divided: {
|
|
392
392
|
type: import("vue").PropType<boolean>;
|
|
393
393
|
default: boolean;
|
|
@@ -406,8 +406,8 @@ export declare const VftDropdown: import("vft/es/utils").SFCWithInstall<{
|
|
|
406
406
|
click: (event: PointerEvent) => void;
|
|
407
407
|
}, string, {
|
|
408
408
|
disabled: boolean;
|
|
409
|
-
icon: string;
|
|
410
409
|
command: object | string | number;
|
|
410
|
+
icon: string;
|
|
411
411
|
divided: boolean;
|
|
412
412
|
textValue: string;
|
|
413
413
|
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
@@ -451,14 +451,14 @@ export declare const VftDropdownItem: import("vft/es/utils").SFCWithInstall<{
|
|
|
451
451
|
type: import("vue").PropType<boolean>;
|
|
452
452
|
default: boolean;
|
|
453
453
|
};
|
|
454
|
-
icon: {
|
|
455
|
-
type: import("vue").PropType<string>;
|
|
456
|
-
default: string;
|
|
457
|
-
};
|
|
458
454
|
command: {
|
|
459
455
|
type: import("vue").PropType<string | number | object>;
|
|
460
456
|
default: () => {};
|
|
461
457
|
};
|
|
458
|
+
icon: {
|
|
459
|
+
type: import("vue").PropType<string>;
|
|
460
|
+
default: string;
|
|
461
|
+
};
|
|
462
462
|
divided: {
|
|
463
463
|
type: import("vue").PropType<boolean>;
|
|
464
464
|
default: boolean;
|
|
@@ -477,8 +477,8 @@ export declare const VftDropdownItem: import("vft/es/utils").SFCWithInstall<{
|
|
|
477
477
|
click: (event: PointerEvent) => void;
|
|
478
478
|
}, import("vue").PublicProps, {
|
|
479
479
|
disabled: boolean;
|
|
480
|
-
icon: string;
|
|
481
480
|
command: object | string | number;
|
|
481
|
+
icon: string;
|
|
482
482
|
divided: boolean;
|
|
483
483
|
textValue: string;
|
|
484
484
|
}, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
@@ -493,14 +493,14 @@ export declare const VftDropdownItem: import("vft/es/utils").SFCWithInstall<{
|
|
|
493
493
|
type: import("vue").PropType<boolean>;
|
|
494
494
|
default: boolean;
|
|
495
495
|
};
|
|
496
|
-
icon: {
|
|
497
|
-
type: import("vue").PropType<string>;
|
|
498
|
-
default: string;
|
|
499
|
-
};
|
|
500
496
|
command: {
|
|
501
497
|
type: import("vue").PropType<string | number | object>;
|
|
502
498
|
default: () => {};
|
|
503
499
|
};
|
|
500
|
+
icon: {
|
|
501
|
+
type: import("vue").PropType<string>;
|
|
502
|
+
default: string;
|
|
503
|
+
};
|
|
504
504
|
divided: {
|
|
505
505
|
type: import("vue").PropType<boolean>;
|
|
506
506
|
default: boolean;
|
|
@@ -515,8 +515,8 @@ export declare const VftDropdownItem: import("vft/es/utils").SFCWithInstall<{
|
|
|
515
515
|
onPointermove?: ((event: PointerEvent) => any) | undefined;
|
|
516
516
|
}>, {}, {}, {}, {}, {
|
|
517
517
|
disabled: boolean;
|
|
518
|
-
icon: string;
|
|
519
518
|
command: object | string | number;
|
|
519
|
+
icon: string;
|
|
520
520
|
divided: boolean;
|
|
521
521
|
textValue: string;
|
|
522
522
|
}>;
|
|
@@ -528,14 +528,14 @@ export declare const VftDropdownItem: import("vft/es/utils").SFCWithInstall<{
|
|
|
528
528
|
type: import("vue").PropType<boolean>;
|
|
529
529
|
default: boolean;
|
|
530
530
|
};
|
|
531
|
-
icon: {
|
|
532
|
-
type: import("vue").PropType<string>;
|
|
533
|
-
default: string;
|
|
534
|
-
};
|
|
535
531
|
command: {
|
|
536
532
|
type: import("vue").PropType<string | number | object>;
|
|
537
533
|
default: () => {};
|
|
538
534
|
};
|
|
535
|
+
icon: {
|
|
536
|
+
type: import("vue").PropType<string>;
|
|
537
|
+
default: string;
|
|
538
|
+
};
|
|
539
539
|
divided: {
|
|
540
540
|
type: import("vue").PropType<boolean>;
|
|
541
541
|
default: boolean;
|
|
@@ -554,8 +554,8 @@ export declare const VftDropdownItem: import("vft/es/utils").SFCWithInstall<{
|
|
|
554
554
|
click: (event: PointerEvent) => void;
|
|
555
555
|
}, string, {
|
|
556
556
|
disabled: boolean;
|
|
557
|
-
icon: string;
|
|
558
557
|
command: object | string | number;
|
|
558
|
+
icon: string;
|
|
559
559
|
divided: boolean;
|
|
560
560
|
textValue: string;
|
|
561
561
|
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as p, getCurrentInstance as k, computed as s,
|
|
1
|
+
import { defineComponent as p, getCurrentInstance as k, computed as s, openBlock as m, createElementBlock as l, normalizeClass as c, unref as o, createElementVNode as z, renderSlot as u, createBlock as x, normalizeProps as D, mergeProps as E, createVNode as C, createCommentVNode as d } from "vue";
|
|
2
2
|
import { VftIcon as V } from "../icon/index.js";
|
|
3
3
|
import "@vueuse/core";
|
|
4
4
|
import { singleAttrToObj as h, renderTNode as w, VNode as F } from "@vft/utils";
|
|
@@ -9,7 +9,7 @@ import { useNamespace as b } from "../../hooks/use-namespace/index.js";
|
|
|
9
9
|
import "../../hooks/use-model-toggle/index.js";
|
|
10
10
|
import "@popperjs/core";
|
|
11
11
|
import "../../hooks/use-z-index/index.js";
|
|
12
|
-
import
|
|
12
|
+
import B from "../../locale/use-locale.js";
|
|
13
13
|
import { EmptyEnum as e } from "./constants.js";
|
|
14
14
|
const I = p({
|
|
15
15
|
name: "vft-empty"
|
|
@@ -88,20 +88,20 @@ const I = p({
|
|
|
88
88
|
z("div", {
|
|
89
89
|
class: c(o(r).e("image"))
|
|
90
90
|
}, [
|
|
91
|
-
a.$slots.img ?
|
|
91
|
+
a.$slots.img ? u(a.$slots, "img", { key: 0 }) : (m(), x(o(V), D(E({ key: 1 }, g.value)), null, 16))
|
|
92
92
|
], 2),
|
|
93
93
|
i.value ? (m(), l("span", {
|
|
94
94
|
key: 0,
|
|
95
95
|
class: c(o(r).e("desc"))
|
|
96
96
|
}, [
|
|
97
97
|
C(o(F), { content: i.value }, null, 8, ["content"])
|
|
98
|
-
], 2)) :
|
|
98
|
+
], 2)) : d("", !0),
|
|
99
99
|
a.$slots.default ? (m(), l("div", {
|
|
100
100
|
key: 1,
|
|
101
101
|
class: c(o(r).e("bottom"))
|
|
102
102
|
}, [
|
|
103
|
-
|
|
104
|
-
], 2)) :
|
|
103
|
+
u(a.$slots, "default")
|
|
104
|
+
], 2)) : d("", !0)
|
|
105
105
|
], 2));
|
|
106
106
|
}
|
|
107
107
|
});
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as a,
|
|
1
|
+
import { defineComponent as a, openBlock as i, createBlock as m, unref as t, normalizeClass as o, withCtx as p, createElementVNode as s, renderSlot as l } from "vue";
|
|
2
2
|
import { VftFooter as n } from "../container/index.js";
|
|
3
3
|
import "@vueuse/core";
|
|
4
4
|
import "@vft/utils";
|
|
@@ -15,7 +15,7 @@ const c = a({
|
|
|
15
15
|
...c,
|
|
16
16
|
setup(u) {
|
|
17
17
|
const e = f("footer-layout");
|
|
18
|
-
return (r, d) => (
|
|
18
|
+
return (r, d) => (i(), m(t(n), {
|
|
19
19
|
class: o(t(e).b())
|
|
20
20
|
}, {
|
|
21
21
|
default: p(() => [
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as Z, useSlots as ye, inject as E, ref as b, computed as a, watch as T, reactive as Se, toRefs as ke, provide as qe, onMounted as Ie, onBeforeUnmount as Ve,
|
|
1
|
+
import { defineComponent as Z, useSlots as ye, inject as E, ref as b, computed as a, watch as T, reactive as Se, toRefs as ke, provide as qe, onMounted as Ie, onBeforeUnmount as Ve, openBlock as R, createElementBlock as we, unref as f, normalizeClass as g, createBlock as G, withCtx as _, resolveDynamicComponent as Ce, normalizeStyle as K, renderSlot as B, createTextVNode as Fe, toDisplayString as U, createCommentVNode as M, createElementVNode as O, createVNode as Re, TransitionGroup as _e, nextTick as Be } from "vue";
|
|
2
2
|
import { refDebounced as Me } from "@vueuse/core";
|
|
3
3
|
import { isBoolean as We, getProp as W, isFunction as xe } from "@vft/utils";
|
|
4
4
|
import { addUnit as H, castArray as J } from "../../utils/helper.js";
|
|
@@ -185,46 +185,46 @@ const je = ["role", "aria-labelledby"], De = Z({
|
|
|
185
185
|
role: I.value ? "group" : void 0,
|
|
186
186
|
"aria-labelledby": I.value ? f(S) : void 0
|
|
187
187
|
}, [
|
|
188
|
-
x.hideLabel ?
|
|
188
|
+
x.hideLabel ? M("", !0) : (R(), G(f(Ne), {
|
|
189
189
|
key: 0,
|
|
190
190
|
"is-auto-width": A.value.width === "auto",
|
|
191
191
|
"update-all": f(o)?.labelWidth === "auto"
|
|
192
192
|
}, {
|
|
193
|
-
default:
|
|
193
|
+
default: _(() => [
|
|
194
194
|
k.value ? (R(), G(Ce(q.value ? "label" : "div"), {
|
|
195
195
|
key: 0,
|
|
196
196
|
id: f(S),
|
|
197
197
|
for: q.value,
|
|
198
198
|
class: g(f(s).e("label")),
|
|
199
|
-
style:
|
|
199
|
+
style: K(A.value)
|
|
200
200
|
}, {
|
|
201
|
-
default:
|
|
202
|
-
|
|
203
|
-
Fe(
|
|
201
|
+
default: _(() => [
|
|
202
|
+
B(e.$slots, "label", { label: L.value }, () => [
|
|
203
|
+
Fe(U(L.value), 1)
|
|
204
204
|
])
|
|
205
205
|
]),
|
|
206
206
|
_: 3
|
|
207
|
-
}, 8, ["id", "for", "class", "style"])) :
|
|
207
|
+
}, 8, ["id", "for", "class", "style"])) : M("", !0)
|
|
208
208
|
]),
|
|
209
209
|
_: 3
|
|
210
210
|
}, 8, ["is-auto-width", "update-all"])),
|
|
211
|
-
|
|
211
|
+
O("div", {
|
|
212
212
|
class: g(f(s).e("content")),
|
|
213
|
-
style:
|
|
213
|
+
style: K(ae.value)
|
|
214
214
|
}, [
|
|
215
|
-
|
|
215
|
+
B(e.$slots, "default"),
|
|
216
216
|
Re(_e, {
|
|
217
217
|
name: `${f(s).namespace.value}-zoom-in-top`
|
|
218
218
|
}, {
|
|
219
|
-
default:
|
|
220
|
-
me.value ?
|
|
219
|
+
default: _(() => [
|
|
220
|
+
me.value ? B(e.$slots, "error", {
|
|
221
221
|
key: 0,
|
|
222
222
|
error: n.value
|
|
223
223
|
}, () => [
|
|
224
|
-
|
|
224
|
+
O("div", {
|
|
225
225
|
class: g(ne.value)
|
|
226
|
-
},
|
|
227
|
-
]) :
|
|
226
|
+
}, U(n.value), 3)
|
|
227
|
+
]) : M("", !0)
|
|
228
228
|
]),
|
|
229
229
|
_: 3
|
|
230
230
|
}, 8, ["name"])
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as b, getCurrentInstance as q, ref as x, reactive as y, computed as F, watch as z, provide as T, toRefs as $,
|
|
1
|
+
import { defineComponent as b, getCurrentInstance as q, ref as x, reactive as y, computed as F, watch as z, provide as T, toRefs as $, openBlock as j, createElementBlock as M, normalizeClass as W, renderSlot as A } from "vue";
|
|
2
2
|
import "@vueuse/core";
|
|
3
3
|
import { isFunction as K } from "@vft/utils";
|
|
4
4
|
import { debugWarn as n } from "../../utils/error.js";
|
|
@@ -133,7 +133,7 @@ const H = b({
|
|
|
133
133
|
* @description Scroll to the specified fields.
|
|
134
134
|
*/
|
|
135
135
|
scrollToField: S
|
|
136
|
-
}), (e, t) => (
|
|
136
|
+
}), (e, t) => (j(), M("form", {
|
|
137
137
|
ref_key: "formRef",
|
|
138
138
|
ref: d,
|
|
139
139
|
class: W(C.value)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as r,
|
|
1
|
+
import { defineComponent as r, openBlock as p, createBlock as m, unref as o, mergeProps as a } from "vue";
|
|
2
2
|
import { useFullscreen as u } from "@vft/use";
|
|
3
3
|
import { delObjAttrNotExist as f } from "@vft/utils";
|
|
4
4
|
import { VftIconText as x } from "../icon-text/index.js";
|
|
@@ -11,7 +11,7 @@ import { useNamespace as _ } 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
|
-
import
|
|
14
|
+
import v from "../../locale/use-locale.js";
|
|
15
15
|
const y = r({
|
|
16
16
|
name: "full-screen"
|
|
17
17
|
}), A = /* @__PURE__ */ r({
|
|
@@ -35,7 +35,7 @@ const y = r({
|
|
|
35
35
|
},
|
|
36
36
|
setup(n) {
|
|
37
37
|
const l = n, c = _("full-screen"), { t: e } = v(), { toggle: i, isFullscreen: t } = u(), s = d().value;
|
|
38
|
-
return (B, C) => (
|
|
38
|
+
return (B, C) => (p(), m(o(x), a({
|
|
39
39
|
class: o(c).b(),
|
|
40
40
|
distance: 2,
|
|
41
41
|
"hover-color": o(s),
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as d,
|
|
1
|
+
import { defineComponent as d, openBlock as e, createBlock as n, unref as t, normalizeClass as m, withCtx as r, createVNode as f, createElementVNode as u, createElementBlock as c, normalizeProps as p, mergeProps as g, createCommentVNode as l, renderSlot as i } from "vue";
|
|
2
2
|
import { VftHeader as h, VftContainer as C, VftMain as V, VftFooter as k } from "../container/index.js";
|
|
3
3
|
import { VftLogo as _ } from "../logo/index.js";
|
|
4
4
|
import "@vueuse/core";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as V, computed as S, getCurrentInstance as Y, useSlots as q, ref as F, createVNode as c, mergeProps as w, isVNode as K } from "vue";
|
|
2
2
|
import { useRouterHelper as Q } from "@vft/router";
|
|
3
3
|
import { isUrl as X } from "@vft/utils";
|
|
4
|
-
import { VftMenu as Z, VftSubMenu as _,
|
|
4
|
+
import { VftMenu as Z, VftSubMenu as _, VftMenuItemGroup as ee, VftMenuItem as te } from "../menu/index.js";
|
|
5
5
|
import "@vueuse/core";
|
|
6
6
|
import "../config-provider/hooks/use-global-config.js";
|
|
7
7
|
import "lodash-es";
|
|
@@ -71,7 +71,7 @@ const ue = V({
|
|
|
71
71
|
...t.attrMapping
|
|
72
72
|
})), B = Y(), h = q(), O = F(), T = B.appContext.config.globalProperties.$router, v = (e, o, a) => {
|
|
73
73
|
const i = e[l.value.path], r = e[l.value.title], n = e?.[l.value.index], M = e?.[l.value.icon], m = !!e?.[l.value.disabled], d = t.disabledJudgeTurnOver ? !m : m, g = n || i || o + r;
|
|
74
|
-
return c(
|
|
74
|
+
return c(te, w(e, {
|
|
75
75
|
key: g,
|
|
76
76
|
index: String(g),
|
|
77
77
|
icon: M,
|
|
@@ -92,7 +92,7 @@ const ue = V({
|
|
|
92
92
|
p("close", e);
|
|
93
93
|
}, z = (e) => {
|
|
94
94
|
p("sub-menu-click", e);
|
|
95
|
-
}, H = (e, o) => !t.enableScroll || !e ? e : o > t.scrollThreshold ? c(
|
|
95
|
+
}, H = (e, o) => !t.enableScroll || !e ? e : o > t.scrollThreshold ? c(ee, {
|
|
96
96
|
style: {
|
|
97
97
|
maxHeight: t.scrollMaxHeight,
|
|
98
98
|
overflowY: "auto"
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as f, computed as t,
|
|
1
|
+
import { defineComponent as f, computed as t, openBlock as c, createElementBlock as s, normalizeStyle as l, normalizeClass as m, unref as i } from "vue";
|
|
2
2
|
import { isString as y } from "@vft/utils";
|
|
3
3
|
import "../config-provider/index.js";
|
|
4
4
|
import "@vueuse/core";
|
|
@@ -37,13 +37,13 @@ const z = ["src"], I = f({
|
|
|
37
37
|
"icon"
|
|
38
38
|
)
|
|
39
39
|
), u = (a) => a?.includes("/"), v = t(() => u(o.icon)), d = t(() => e.value?.iconifyPrefixClass && o.icon && y(o.icon) ? o.icon.startsWith(e.value?.iconifyPrefixClass) : !1).value ? "" : e.value?.iconfontClass || "";
|
|
40
|
-
return (a, x) => v.value ? (
|
|
40
|
+
return (a, x) => v.value ? (c(), s("img", {
|
|
41
41
|
key: 0,
|
|
42
42
|
class: m(i(n).e("image")),
|
|
43
43
|
src: o.icon,
|
|
44
44
|
alt: "",
|
|
45
45
|
style: l(r.value)
|
|
46
|
-
}, null, 14, z)) : (
|
|
46
|
+
}, null, 14, z)) : (c(), s("i", {
|
|
47
47
|
key: 1,
|
|
48
48
|
class: m([i(n).b(), o.icon, i(d)]),
|
|
49
49
|
style: l(r.value)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as C, computed as o,
|
|
1
|
+
import { defineComponent as C, computed as o, openBlock as l, createElementBlock as f, normalizeStyle as k, normalizeClass as S, unref as r, createBlock as c, mergeProps as s, createCommentVNode as y, normalizeProps as b, toDisplayString as I } from "vue";
|
|
2
2
|
import { VftClampTooltip as w } from "../clamp-tooltip/index.js";
|
|
3
3
|
import { VftIcon as h } from "../icon/index.js";
|
|
4
4
|
import "@vueuse/core";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as c, ref as p, computed as P,
|
|
1
|
+
import { defineComponent as c, ref as p, computed as P, openBlock as t, createElementBlock as n, Fragment as m, renderList as _, withDirectives as g, createBlock as k, vShow as v, createCommentVNode as L } from "vue";
|
|
2
2
|
import y from "./iframe-page.vue2.js";
|
|
3
3
|
const B = c({
|
|
4
4
|
name: "vft-iframe-layout"
|
|
@@ -19,7 +19,7 @@ const B = c({
|
|
|
19
19
|
}), (a, f) => (t(!0), n(m, null, _(o.iframePages, (e, h) => (t(), n(m, {
|
|
20
20
|
key: e.query ? e.fullPath : e.path
|
|
21
21
|
}, [
|
|
22
|
-
e.meta.frameSrc && e.meta.loaded ? g((t(),
|
|
22
|
+
e.meta.frameSrc && e.meta.loaded ? g((t(), k(y, {
|
|
23
23
|
key: 0,
|
|
24
24
|
ref_for: !0,
|
|
25
25
|
ref_key: "iframePageRef",
|
|
@@ -27,8 +27,8 @@ const B = c({
|
|
|
27
27
|
onLoaded: (S) => s(e, h),
|
|
28
28
|
"frame-src": e.meta.frameSrc
|
|
29
29
|
}, null, 8, ["onLoaded", "frame-src"])), [
|
|
30
|
-
[
|
|
31
|
-
]) :
|
|
30
|
+
[v, e.fullPath === (o.currentPath || a.$route.fullPath)]
|
|
31
|
+
]) : L("", !0)
|
|
32
32
|
], 64))), 128));
|
|
33
33
|
}
|
|
34
34
|
});
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as n, ref as a, onMounted as u, nextTick as t,
|
|
1
|
+
import { defineComponent as n, ref as a, onMounted as u, nextTick as t, openBlock as w, createElementBlock as _, normalizeClass as v, unref as g } 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 h = ["src"], k = n({
|
|
|
35
35
|
});
|
|
36
36
|
}), s({
|
|
37
37
|
isLoading: o
|
|
38
|
-
}), (d, x) => (
|
|
38
|
+
}), (d, x) => (w(), _("iframe", {
|
|
39
39
|
ref_key: "iframeRef",
|
|
40
40
|
ref: e,
|
|
41
41
|
sandbox: "allow-scripts allow-storage-access-by-user-activation allow-presentation allow-pointer-lock allow-popups allow-popups-to-escape-sandbox allow-same-origin allow-downloads allow-top-navigation allow-modals allow-forms allow-top-navigation-by-user-activation",
|