vft 0.0.30 → 0.0.33
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/avatar/avatar.vue.d.ts +2 -2
- package/es/components/avatar/avatar.vue2.mjs +3 -2
- package/es/components/avatar/index.d.ts +2 -2
- package/es/components/avatar/index.mjs +4 -3
- package/es/components/back-top/back-top.vue.d.ts +2 -2
- package/es/components/back-top/back-top.vue2.mjs +3 -2
- package/es/components/back-top/index.d.ts +2 -2
- package/es/components/back-top/index.mjs +4 -3
- package/es/components/back-top/use-back-top.mjs +11 -10
- package/es/components/clamp/clamp.vue2.mjs +10 -9
- package/es/components/clamp/index.mjs +4 -3
- package/es/components/clamp-toggle/clamp-toggle.vue2.mjs +3 -2
- package/es/components/clamp-toggle/index.mjs +4 -3
- package/es/components/collapse-transition/src/collapse-transition.vue2.mjs +6 -5
- package/es/components/config-provider/config-provider.vue2.mjs +3 -2
- package/es/components/config-provider/hooks/use-global-config.d.ts +1 -1
- package/es/components/config-provider/hooks/use-global-config.mjs +5 -4
- package/es/components/config-provider/index.mjs +11 -10
- package/es/components/context-menu/context-menu.vue2.mjs +4 -2
- package/es/components/descriptions/description-item.vue2.mjs +6 -5
- package/es/components/descriptions/description.vue2.mjs +14 -13
- package/es/components/descriptions/descriptions-cell.mjs +12 -11
- package/es/components/descriptions/descriptions-row.vue2.mjs +12 -11
- package/es/components/descriptions/index.mjs +6 -5
- package/es/components/divider/divider.vue2.mjs +6 -5
- package/es/components/divider/index.mjs +4 -3
- package/es/components/empty/empty.vue2.mjs +3 -2
- package/es/components/empty/index.mjs +6 -5
- package/es/components/exception/index.mjs +4 -3
- package/es/components/focus-trap/focus-trap.vue2.mjs +1 -1
- package/es/components/footer-layout/footer-layout.vue2.mjs +10 -9
- package/es/components/footer-layout/index.mjs +4 -3
- package/es/components/full-screen/full-screen.vue2.mjs +7 -6
- package/es/components/full-screen/index.mjs +4 -3
- package/es/components/header-layout/header-layout.vue2.mjs +3 -2
- package/es/components/header-layout/index.mjs +4 -3
- package/es/components/icon/icon.vue2.mjs +7 -6
- package/es/components/icon/index.mjs +5 -4
- package/es/components/icon-text/icon-text.vue.d.ts +2 -2
- package/es/components/icon-text/icon-text.vue2.mjs +10 -9
- package/es/components/icon-text/index.d.ts +2 -2
- package/es/components/icon-text/index.mjs +4 -3
- package/es/components/iframe-layout/iframe-layout.vue2.mjs +3 -2
- package/es/components/iframe-layout/iframe-page.vue2.mjs +3 -2
- package/es/components/iframe-layout/index.mjs +4 -3
- package/es/components/image/image.vue2.mjs +8 -7
- package/es/components/image/index.mjs +4 -3
- package/es/components/input/index.d.ts +2 -2
- package/es/components/input/index.mjs +4 -3
- package/es/components/input/input.vue.d.ts +2 -2
- package/es/components/input/input.vue2.mjs +3 -2
- package/es/components/link/index.mjs +4 -3
- package/es/components/link/link.vue2.mjs +3 -2
- package/es/components/loading/loading.mjs +56 -50
- package/es/components/loading/service.mjs +20 -19
- package/es/components/logo/index.mjs +4 -3
- package/es/components/logo/logo.vue2.mjs +10 -9
- package/es/components/md-code-demo/index.mjs +4 -3
- package/es/components/md-code-demo/md-code-demo.mjs +4 -2
- package/es/components/md-code-tabs/index.mjs +4 -3
- package/es/components/md-comment/index.mjs +4 -3
- package/es/components/md-comment/md-comment.vue2.mjs +7 -6
- package/es/components/md-container/index.mjs +4 -3
- package/es/components/md-container/md-container.vue2.mjs +43 -42
- package/es/components/md-tabs/index.mjs +4 -3
- package/es/components/md-vue-playground/index.mjs +4 -3
- package/es/components/md-vue-playground/md-vue-playground.vue2.mjs +11 -10
- package/es/components/menu/index.d.ts +4 -4
- package/es/components/menu/index.mjs +9 -8
- package/es/components/menu/menu-collapse-transition.vue2.mjs +3 -2
- package/es/components/menu/menu-item-group.vue2.mjs +8 -7
- package/es/components/menu/menu-item.vue.d.ts +2 -2
- package/es/components/menu/menu-item.vue2.mjs +3 -2
- package/es/components/menu/menu.vue2.mjs +3 -2
- package/es/components/menu/sub-menu.vue2.mjs +3 -2
- package/es/components/menu/use-menu-css-var.mjs +3 -2
- package/es/components/message/index.mjs +8 -7
- package/es/components/message/message.vue2.mjs +5 -4
- package/es/components/message/method.mjs +17 -15
- package/es/components/multiple-tabs/multiple-tabs.vue2.mjs +3 -2
- package/es/components/multiple-tabs/tab-content.vue2.mjs +4 -2
- package/es/components/multiple-tabs/use/use-tab-dropdown.mjs +16 -16
- package/es/components/overlay/index.mjs +4 -3
- package/es/components/overlay/overlay.vue2.mjs +16 -15
- package/es/components/page-wrapper/index.mjs +4 -3
- package/es/components/page-wrapper/page-wrapper.vue2.mjs +6 -5
- package/es/components/pagination/components/jumper.vue2.mjs +15 -14
- package/es/components/pagination/components/pager.vue2.mjs +3 -2
- package/es/components/pagination/components/sizes.vue2.mjs +3 -2
- package/es/components/pagination/components/total.vue2.mjs +5 -4
- package/es/components/pagination/index.mjs +9 -8
- package/es/components/pagination/pagination.mjs +19 -18
- package/es/components/popover/index.d.ts +2 -2
- package/es/components/popover/index.mjs +4 -3
- package/es/components/popover/popover.vue.d.ts +2 -2
- package/es/components/popover/popover.vue2.mjs +3 -2
- package/es/components/popper/arrow.vue2.mjs +3 -2
- package/es/components/popper/composables/use-content-dom.mjs +3 -2
- package/es/components/popper/composables/use-content.mjs +4 -2
- package/es/components/popper/index.mjs +10 -9
- package/es/components/popper/trigger.vue2.mjs +11 -9
- package/es/components/qrcode/index.mjs +4 -3
- package/es/components/qrcode/qrcode.vue2.mjs +6 -5
- package/es/components/result/index.mjs +4 -3
- package/es/components/result/result.vue2.mjs +3 -2
- package/es/components/router-view-content/index.d.ts +6 -6
- package/es/components/router-view-content/index.mjs +4 -3
- package/es/components/router-view-content/router-view-content.vue.d.ts +6 -6
- package/es/components/router-view-content/router-view-content.vue2.mjs +17 -16
- package/es/components/search/index.mjs +4 -3
- package/es/components/search/search.vue2.mjs +3 -2
- package/es/components/side-menu/index.mjs +4 -3
- package/es/components/side-menu/side-menu.vue2.mjs +14 -12
- package/es/components/slot/only-child.mjs +3 -2
- package/es/components/tabs/index.mjs +9 -8
- package/es/components/tabs/tab-bar.vue2.mjs +3 -2
- package/es/components/tabs/tab-nav.vue2.mjs +3 -2
- package/es/components/tabs/tab-pane.vue2.mjs +3 -2
- package/es/components/tabs/tabs.vue2.mjs +3 -2
- package/es/components/tag/index.d.ts +2 -2
- package/es/components/tag/index.mjs +4 -3
- package/es/components/tag/tag.vue.d.ts +2 -2
- package/es/components/tag/tag.vue2.mjs +3 -2
- package/es/components/tooltip/content.vue2.mjs +12 -11
- package/es/components/tooltip/index.d.ts +2 -2
- package/es/components/tooltip/index.mjs +4 -3
- package/es/components/tooltip/tooltip.vue.d.ts +2 -2
- package/es/components/tooltip/tooltip.vue2.mjs +12 -10
- package/es/components/tooltip/trigger.vue2.mjs +7 -6
- package/es/components/tooltip/utils.mjs +6 -4
- package/es/hooks/use-cursor/index.mjs +4 -4
- package/es/hooks/use-id/index.mjs +6 -5
- package/es/hooks/use-namespace/index.d.ts +1 -1
- package/es/hooks/use-namespace/index.mjs +27 -26
- package/es/hooks/use-ordered-children/index.mjs +5 -4
- package/es/index.mjs +53 -51
- package/es/package.json.mjs +1 -1
- package/es/utils/index.d.ts +1 -0
- package/es/utils/index.mjs +19 -17
- package/es/utils/ns-cover.d.ts +1 -0
- package/es/utils/ns-cover.mjs +7 -0
- package/lib/components/avatar/avatar.vue.d.ts +2 -2
- package/lib/components/avatar/avatar.vue2.js +1 -1
- package/lib/components/avatar/index.d.ts +2 -2
- package/lib/components/avatar/index.js +1 -1
- package/lib/components/back-top/back-top.vue.d.ts +2 -2
- package/lib/components/back-top/back-top.vue2.js +1 -1
- package/lib/components/back-top/index.d.ts +2 -2
- package/lib/components/back-top/index.js +1 -1
- package/lib/components/back-top/use-back-top.js +1 -1
- package/lib/components/clamp/clamp.vue2.js +1 -1
- package/lib/components/clamp/index.js +1 -1
- package/lib/components/clamp-toggle/clamp-toggle.vue2.js +1 -1
- package/lib/components/clamp-toggle/index.js +1 -1
- package/lib/components/collapse-transition/src/collapse-transition.vue2.js +1 -1
- package/lib/components/config-provider/config-provider.vue2.js +1 -1
- package/lib/components/config-provider/hooks/use-global-config.d.ts +1 -1
- package/lib/components/config-provider/hooks/use-global-config.js +1 -1
- package/lib/components/config-provider/index.js +1 -1
- package/lib/components/context-menu/context-menu.vue2.js +1 -1
- package/lib/components/descriptions/description-item.vue2.js +1 -1
- package/lib/components/descriptions/description.vue2.js +1 -1
- package/lib/components/descriptions/descriptions-cell.js +1 -1
- package/lib/components/descriptions/descriptions-row.vue2.js +1 -1
- package/lib/components/descriptions/index.js +1 -1
- package/lib/components/divider/divider.vue2.js +1 -1
- package/lib/components/divider/index.js +1 -1
- package/lib/components/empty/empty.vue2.js +1 -1
- package/lib/components/empty/index.js +1 -1
- package/lib/components/exception/index.js +1 -1
- package/lib/components/focus-trap/focus-trap.vue2.js +1 -1
- package/lib/components/footer-layout/footer-layout.vue2.js +1 -1
- package/lib/components/footer-layout/index.js +1 -1
- package/lib/components/full-screen/full-screen.vue2.js +1 -1
- package/lib/components/full-screen/index.js +1 -1
- package/lib/components/header-layout/header-layout.vue2.js +1 -1
- package/lib/components/header-layout/index.js +1 -1
- package/lib/components/icon/icon.vue2.js +1 -1
- package/lib/components/icon/index.js +1 -1
- package/lib/components/icon-text/icon-text.vue.d.ts +2 -2
- package/lib/components/icon-text/icon-text.vue2.js +1 -1
- package/lib/components/icon-text/index.d.ts +2 -2
- package/lib/components/icon-text/index.js +1 -1
- package/lib/components/iframe-layout/iframe-layout.vue2.js +1 -1
- package/lib/components/iframe-layout/iframe-page.vue2.js +1 -1
- package/lib/components/iframe-layout/index.js +1 -1
- package/lib/components/image/image.vue2.js +1 -1
- package/lib/components/image/index.js +1 -1
- package/lib/components/input/index.d.ts +2 -2
- package/lib/components/input/index.js +1 -1
- package/lib/components/input/input.vue.d.ts +2 -2
- package/lib/components/input/input.vue2.js +1 -1
- package/lib/components/link/index.js +1 -1
- package/lib/components/link/link.vue2.js +1 -1
- package/lib/components/loading/loading.js +1 -1
- package/lib/components/loading/service.js +1 -1
- package/lib/components/logo/index.js +1 -1
- package/lib/components/logo/logo.vue2.js +1 -1
- package/lib/components/md-code-demo/index.js +1 -1
- package/lib/components/md-code-demo/md-code-demo.js +1 -1
- package/lib/components/md-code-tabs/index.js +1 -1
- package/lib/components/md-comment/index.js +1 -1
- package/lib/components/md-comment/md-comment.vue2.js +1 -1
- package/lib/components/md-container/index.js +1 -1
- package/lib/components/md-container/md-container.vue2.js +1 -1
- package/lib/components/md-tabs/index.js +1 -1
- package/lib/components/md-vue-playground/index.js +1 -1
- package/lib/components/md-vue-playground/md-vue-playground.vue2.js +1 -1
- package/lib/components/menu/index.d.ts +4 -4
- package/lib/components/menu/index.js +1 -1
- package/lib/components/menu/menu-collapse-transition.vue2.js +1 -1
- package/lib/components/menu/menu-item-group.vue2.js +1 -1
- package/lib/components/menu/menu-item.vue.d.ts +2 -2
- package/lib/components/menu/menu-item.vue2.js +1 -1
- package/lib/components/menu/menu.vue2.js +1 -1
- package/lib/components/menu/sub-menu.vue2.js +1 -1
- package/lib/components/menu/use-menu-css-var.js +1 -1
- package/lib/components/message/index.js +1 -1
- package/lib/components/message/message.vue2.js +1 -1
- package/lib/components/message/method.js +1 -1
- package/lib/components/multiple-tabs/multiple-tabs.vue2.js +1 -1
- package/lib/components/multiple-tabs/tab-content.vue2.js +1 -1
- package/lib/components/multiple-tabs/use/use-tab-dropdown.js +1 -1
- package/lib/components/overlay/index.js +1 -1
- package/lib/components/overlay/overlay.vue2.js +1 -1
- package/lib/components/page-wrapper/index.js +1 -1
- package/lib/components/page-wrapper/page-wrapper.vue2.js +1 -1
- package/lib/components/pagination/components/jumper.vue2.js +1 -1
- package/lib/components/pagination/components/pager.vue2.js +1 -1
- package/lib/components/pagination/components/sizes.vue2.js +1 -1
- package/lib/components/pagination/components/total.vue2.js +1 -1
- package/lib/components/pagination/index.js +1 -1
- package/lib/components/pagination/pagination.js +1 -1
- package/lib/components/popover/index.d.ts +2 -2
- package/lib/components/popover/index.js +1 -1
- package/lib/components/popover/popover.vue.d.ts +2 -2
- package/lib/components/popover/popover.vue2.js +1 -1
- package/lib/components/popper/arrow.vue2.js +1 -1
- package/lib/components/popper/composables/use-content-dom.js +1 -1
- package/lib/components/popper/composables/use-content.js +1 -1
- package/lib/components/popper/index.js +1 -1
- package/lib/components/popper/trigger.vue2.js +1 -1
- package/lib/components/qrcode/index.js +1 -1
- package/lib/components/qrcode/qrcode.vue2.js +1 -1
- package/lib/components/result/index.js +1 -1
- package/lib/components/result/result.vue2.js +1 -1
- package/lib/components/router-view-content/index.d.ts +6 -6
- package/lib/components/router-view-content/index.js +1 -1
- package/lib/components/router-view-content/router-view-content.vue.d.ts +6 -6
- package/lib/components/router-view-content/router-view-content.vue2.js +1 -1
- package/lib/components/search/index.js +1 -1
- package/lib/components/search/search.vue2.js +1 -1
- package/lib/components/side-menu/index.js +1 -1
- package/lib/components/side-menu/side-menu.vue2.js +1 -1
- package/lib/components/slot/only-child.js +1 -1
- package/lib/components/tabs/index.js +1 -1
- package/lib/components/tabs/tab-bar.vue2.js +1 -1
- package/lib/components/tabs/tab-nav.vue2.js +1 -1
- package/lib/components/tabs/tab-pane.vue2.js +1 -1
- package/lib/components/tabs/tabs.vue2.js +1 -1
- package/lib/components/tag/index.d.ts +2 -2
- package/lib/components/tag/index.js +1 -1
- package/lib/components/tag/tag.vue.d.ts +2 -2
- package/lib/components/tag/tag.vue2.js +1 -1
- package/lib/components/tooltip/content.vue2.js +1 -1
- package/lib/components/tooltip/index.d.ts +2 -2
- package/lib/components/tooltip/index.js +1 -1
- package/lib/components/tooltip/tooltip.vue.d.ts +2 -2
- package/lib/components/tooltip/tooltip.vue2.js +1 -1
- package/lib/components/tooltip/trigger.vue2.js +1 -1
- package/lib/components/tooltip/utils.js +1 -1
- package/lib/hooks/use-cursor/index.js +1 -1
- package/lib/hooks/use-id/index.js +1 -1
- package/lib/hooks/use-namespace/index.d.ts +1 -1
- package/lib/hooks/use-namespace/index.js +1 -1
- package/lib/hooks/use-ordered-children/index.js +1 -1
- package/lib/index.js +1 -1
- package/lib/package.json.js +1 -1
- package/lib/utils/index.d.ts +1 -0
- package/lib/utils/index.js +1 -1
- package/lib/utils/ns-cover.d.ts +1 -0
- package/lib/utils/ns-cover.js +1 -0
- package/package.json +1 -1
- package/theme-style/index.css +1 -1
- package/theme-style/src/side-menu.scss +1 -0
- package/theme-style/vft-side-menu.css +1 -1
|
@@ -1,17 +1,4 @@
|
|
|
1
|
-
import { defineComponent as C, getCurrentInstance as z, ref as P, onMounted as S, nextTick as b, unref as t, openBlock as i, createElementBlock as s, normalizeClass as p, createBlock as
|
|
2
|
-
import "photoswipe/dist/photoswipe.css";
|
|
3
|
-
import { usePhotoSwipe as A } from "@vft/use";
|
|
4
|
-
import { jumpElement as F, getCssVarValue as H, getRandomElementForArr as L, formatToDateTime as j, getDayTimestamp as J } from "@vft/utils";
|
|
5
|
-
import { useNamespace as O } from "../../hooks/use-namespace/index.mjs";
|
|
6
|
-
import "@popperjs/core";
|
|
7
|
-
import "lodash";
|
|
8
|
-
import "../../hooks/use-z-index/index.mjs";
|
|
9
|
-
import "@vueuse/core";
|
|
10
|
-
import "@vue/shared";
|
|
11
|
-
import Y from "./toc.mjs";
|
|
12
|
-
import { useCopyCode as q } from "./use/useCopyCode.mjs";
|
|
13
|
-
import { useActiveHeaderLinks as G } from "./use/useActiveHeaderLinks.mjs";
|
|
14
|
-
import { COMP_TYPE as K } from "./utils.mjs";
|
|
1
|
+
import { defineComponent as C, getCurrentInstance as z, ref as P, onMounted as S, nextTick as b, unref as t, openBlock as i, createElementBlock as s, normalizeClass as p, createBlock as g, createCommentVNode as v, createElementVNode as o, toDisplayString as x, createVNode as a, Fragment as B, renderList as I, withCtx as M, createTextVNode as R, renderSlot as $ } from "vue";
|
|
15
2
|
import "../divider/index.mjs";
|
|
16
3
|
import { VftIcon as y } from "../icon/index.mjs";
|
|
17
4
|
import "../avatar/index.mjs";
|
|
@@ -23,10 +10,12 @@ import "../collapse-transition/index.mjs";
|
|
|
23
10
|
import "../tooltip/index.mjs";
|
|
24
11
|
import "../popover/index.mjs";
|
|
25
12
|
import "../menu/index.mjs";
|
|
13
|
+
import { jumpElement as A, getRandomElementForArr as F, formatToDateTime as H, getDayTimestamp as L } from "@vft/utils";
|
|
14
|
+
import { usePhotoSwipe as j } from "@vft/use";
|
|
26
15
|
import "../multiple-tabs/multiple-tabs.vue2.mjs";
|
|
27
|
-
import { useRouterHelper as
|
|
16
|
+
import { useRouterHelper as J } from "@vft/router";
|
|
28
17
|
import "@vft/store";
|
|
29
|
-
import { useRoute as
|
|
18
|
+
import { useRoute as O } from "vue-router";
|
|
30
19
|
import "../header-layout/index.mjs";
|
|
31
20
|
import "../footer-layout/index.mjs";
|
|
32
21
|
import "../iframe-layout/index.mjs";
|
|
@@ -36,12 +25,12 @@ import "../back-top/index.mjs";
|
|
|
36
25
|
import "../config-provider/index.mjs";
|
|
37
26
|
import "../descriptions/index.mjs";
|
|
38
27
|
import "../full-screen/index.mjs";
|
|
39
|
-
import { VftIconText as
|
|
28
|
+
import { VftIconText as Y } from "../icon-text/index.mjs";
|
|
40
29
|
import "../image/index.mjs";
|
|
41
30
|
import "../input/index.mjs";
|
|
42
31
|
import "../link/index.mjs";
|
|
43
32
|
import "../pagination/index.mjs";
|
|
44
|
-
import { VftTag as
|
|
33
|
+
import { VftTag as q } from "../tag/index.mjs";
|
|
45
34
|
import "../side-menu/index.mjs";
|
|
46
35
|
import "../qrcode/index.mjs";
|
|
47
36
|
import "../overlay/index.mjs";
|
|
@@ -51,12 +40,24 @@ import "../page-wrapper/index.mjs";
|
|
|
51
40
|
import "../exception/index.mjs";
|
|
52
41
|
import "../search/index.mjs";
|
|
53
42
|
import "./index.mjs";
|
|
54
|
-
import { VftMdComment as
|
|
43
|
+
import { VftMdComment as G } from "../md-comment/index.mjs";
|
|
55
44
|
import "../md-tabs/index.mjs";
|
|
56
45
|
import "../md-vue-playground/index.mjs";
|
|
57
46
|
import "../md-code-demo/index.mjs";
|
|
58
47
|
import "../md-code-tabs/index.mjs";
|
|
59
48
|
import "../message/index.mjs";
|
|
49
|
+
import { useNamespace as K } from "../../hooks/use-namespace/index.mjs";
|
|
50
|
+
import "@popperjs/core";
|
|
51
|
+
import "lodash";
|
|
52
|
+
import "../../hooks/use-z-index/index.mjs";
|
|
53
|
+
import "@vueuse/core";
|
|
54
|
+
import "@vue/shared";
|
|
55
|
+
import { cssVarValue as Q } from "../../utils/ns-cover.mjs";
|
|
56
|
+
import "photoswipe/dist/photoswipe.css";
|
|
57
|
+
import U from "./toc.mjs";
|
|
58
|
+
import { useCopyCode as W } from "./use/useCopyCode.mjs";
|
|
59
|
+
import { useActiveHeaderLinks as X } from "./use/useActiveHeaderLinks.mjs";
|
|
60
|
+
import { COMP_TYPE as Z } from "./utils.mjs";
|
|
60
61
|
const tt = { class: "info-container" }, ot = {
|
|
61
62
|
key: 0,
|
|
62
63
|
class: "flex align-center"
|
|
@@ -65,34 +66,34 @@ const tt = { class: "info-container" }, ot = {
|
|
|
65
66
|
title: "阅读量"
|
|
66
67
|
}, it = ["data-path"], e = (
|
|
67
68
|
/* hoist-static*/
|
|
68
|
-
|
|
69
|
+
K("md-container")
|
|
69
70
|
), mt = C({
|
|
70
71
|
name: e.b()
|
|
71
|
-
}),
|
|
72
|
+
}), ho = /* @__PURE__ */ C({
|
|
72
73
|
...mt,
|
|
73
74
|
setup(pt, { expose: T }) {
|
|
74
|
-
const k = z(), { initPhotoSwipe: V } =
|
|
75
|
-
V(),
|
|
76
|
-
const m = P(), r =
|
|
75
|
+
const k = z(), { initPhotoSwipe: V } = j(`.${e.e("content")} img`);
|
|
76
|
+
V(), X({}), W();
|
|
77
|
+
const m = P(), r = O();
|
|
77
78
|
S(() => {
|
|
78
79
|
b(() => {
|
|
79
80
|
m.value = k.exposed.infos, setTimeout(() => {
|
|
80
|
-
|
|
81
|
+
A(r.hash.replace("#", ""));
|
|
81
82
|
});
|
|
82
83
|
});
|
|
83
84
|
}), T({
|
|
84
85
|
infos: t(m)
|
|
85
86
|
});
|
|
86
|
-
const w = location.pathname, { go: D } =
|
|
87
|
-
function E(
|
|
88
|
-
D("/?tag=" +
|
|
87
|
+
const w = location.pathname, { go: D } = J();
|
|
88
|
+
function E(n) {
|
|
89
|
+
D("/?tag=" + n);
|
|
89
90
|
}
|
|
90
|
-
return (
|
|
91
|
+
return (n, at) => {
|
|
91
92
|
var c, l, d, u, f, _;
|
|
92
93
|
return i(), s("div", {
|
|
93
94
|
class: p(t(e).b())
|
|
94
95
|
}, [
|
|
95
|
-
(c = m.value) != null && c.sideData ? (i(),
|
|
96
|
+
(c = m.value) != null && c.sideData ? (i(), g(t(U), {
|
|
96
97
|
key: 0,
|
|
97
98
|
items: m.value.sideData
|
|
98
99
|
}, null, 8, ["items"])) : v("", !0),
|
|
@@ -104,35 +105,35 @@ const tt = { class: "info-container" }, ot = {
|
|
|
104
105
|
}, x((l = t(r).meta) == null ? void 0 : l.title), 3),
|
|
105
106
|
o("div", tt, [
|
|
106
107
|
(u = (d = t(r).meta) == null ? void 0 : d.category) != null && u.length ? (i(), s("div", ot, [
|
|
107
|
-
|
|
108
|
-
color: t(
|
|
108
|
+
a(t(y), {
|
|
109
|
+
color: t(Q)("primary-color").value,
|
|
109
110
|
icon: "i-bx:category",
|
|
110
111
|
class: "mr-8px"
|
|
111
112
|
}, null, 8, ["color"]),
|
|
112
|
-
(i(!0), s(B, null, I((f = t(r).meta) == null ? void 0 : f.category, (
|
|
113
|
+
(i(!0), s(B, null, I((f = t(r).meta) == null ? void 0 : f.category, (h, N) => (i(), g(t(q), {
|
|
113
114
|
size: "small",
|
|
114
115
|
class: "mr-5px cursor-pointer",
|
|
115
|
-
type: t(
|
|
116
|
+
type: t(F)(t(Z), 1)[0],
|
|
116
117
|
key: N,
|
|
117
|
-
onClick: (
|
|
118
|
+
onClick: (nt) => E(h)
|
|
118
119
|
}, {
|
|
119
120
|
default: M(() => [
|
|
120
|
-
R(x(
|
|
121
|
+
R(x(h), 1)
|
|
121
122
|
]),
|
|
122
123
|
_: 2
|
|
123
124
|
}, 1032, ["type", "onClick"]))), 128))
|
|
124
125
|
])) : v("", !0),
|
|
125
126
|
o("div", et, [
|
|
126
|
-
|
|
127
|
+
a(t(Y), {
|
|
127
128
|
title: "发布时间",
|
|
128
129
|
icon: "i-uiw:date",
|
|
129
130
|
size: 14,
|
|
130
131
|
class: "mr-10px",
|
|
131
132
|
distance: 5,
|
|
132
|
-
text: t(
|
|
133
|
+
text: t(H)(new Date((_ = t(r).meta) == null ? void 0 : _.date).getTime() - t(L)())
|
|
133
134
|
}, null, 8, ["text"]),
|
|
134
135
|
o("div", rt, [
|
|
135
|
-
|
|
136
|
+
a(t(y), {
|
|
136
137
|
icon: "i-flat-color-icons:reading",
|
|
137
138
|
size: 14,
|
|
138
139
|
class: "mr-5px"
|
|
@@ -148,13 +149,13 @@ const tt = { class: "info-container" }, ot = {
|
|
|
148
149
|
o("div", {
|
|
149
150
|
class: p(t(e).e("content"))
|
|
150
151
|
}, [
|
|
151
|
-
$(
|
|
152
|
+
$(n.$slots, "default")
|
|
152
153
|
], 2),
|
|
153
|
-
|
|
154
|
+
a(t(G))
|
|
154
155
|
], 2);
|
|
155
156
|
};
|
|
156
157
|
}
|
|
157
158
|
});
|
|
158
159
|
export {
|
|
159
|
-
|
|
160
|
+
ho as default
|
|
160
161
|
};
|
|
@@ -2,9 +2,10 @@ import { withInstall as t } from "../../utils/vue/install.mjs";
|
|
|
2
2
|
import "vue";
|
|
3
3
|
import "@vue/shared";
|
|
4
4
|
import "@vft/utils";
|
|
5
|
+
import "../../utils/ns-cover.mjs";
|
|
5
6
|
import o from "./md-tabs.mjs";
|
|
6
|
-
const
|
|
7
|
+
const f = t(o);
|
|
7
8
|
export {
|
|
8
|
-
|
|
9
|
-
|
|
9
|
+
f as VftMdTabs,
|
|
10
|
+
f as default
|
|
10
11
|
};
|
|
@@ -2,9 +2,10 @@ import { withInstall as t } from "../../utils/vue/install.mjs";
|
|
|
2
2
|
import "vue";
|
|
3
3
|
import "@vue/shared";
|
|
4
4
|
import "@vft/utils";
|
|
5
|
+
import "../../utils/ns-cover.mjs";
|
|
5
6
|
import o from "./md-vue-playground.vue2.mjs";
|
|
6
|
-
const
|
|
7
|
+
const l = t(o);
|
|
7
8
|
export {
|
|
8
|
-
|
|
9
|
-
|
|
9
|
+
l as VftMdVuePlayground,
|
|
10
|
+
l as default
|
|
10
11
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as c, ref as n, shallowRef as f, computed as w, onMounted as g, createVNode as e, withDirectives as
|
|
1
|
+
import { defineComponent as c, ref as n, shallowRef as f, computed as w, onMounted as g, createVNode as e, withDirectives as r, resolveDirective as u, h } from "vue";
|
|
2
2
|
import { useNamespace as V } from "../../hooks/use-namespace/index.mjs";
|
|
3
3
|
import "@popperjs/core";
|
|
4
4
|
import "lodash";
|
|
@@ -6,6 +6,7 @@ import "../../hooks/use-z-index/index.mjs";
|
|
|
6
6
|
import "@vueuse/core";
|
|
7
7
|
import "@vue/shared";
|
|
8
8
|
import "@vft/utils";
|
|
9
|
+
import "../../utils/ns-cover.mjs";
|
|
9
10
|
import "@vue/repl/style.css";
|
|
10
11
|
import { getVuePlaygroundSettings as C } from "./playground.mjs";
|
|
11
12
|
import { VftIcon as R } from "../icon/index.mjs";
|
|
@@ -14,7 +15,7 @@ const p = (
|
|
|
14
15
|
V("md-vue-playground")
|
|
15
16
|
), y = c({
|
|
16
17
|
name: p.b()
|
|
17
|
-
}),
|
|
18
|
+
}), j = /* @__PURE__ */ c({
|
|
18
19
|
...y,
|
|
19
20
|
props: {
|
|
20
21
|
title: null,
|
|
@@ -24,10 +25,10 @@ const p = (
|
|
|
24
25
|
setup(t) {
|
|
25
26
|
const a = n(!0), i = f(), s = n(), o = w(() => C(t.settings)), l = n(o.value.showCode || !1), d = async () => {
|
|
26
27
|
const {
|
|
27
|
-
ReplStore:
|
|
28
|
-
Repl:
|
|
28
|
+
ReplStore: m,
|
|
29
|
+
Repl: v
|
|
29
30
|
} = await import("@vue/repl");
|
|
30
|
-
i.value =
|
|
31
|
+
i.value = v, s.value = new m({
|
|
31
32
|
serializedState: decodeURIComponent(t.files),
|
|
32
33
|
showOutput: !0
|
|
33
34
|
}), o.value.vueVersion && await s.value.setVueVersion(o.value.vueVersion);
|
|
@@ -38,23 +39,23 @@ const p = (
|
|
|
38
39
|
class: p.b()
|
|
39
40
|
}, [e("div", {
|
|
40
41
|
class: "title-wrapper"
|
|
41
|
-
}, [
|
|
42
|
+
}, [r(e("div", {
|
|
42
43
|
class: "title"
|
|
43
|
-
}, [decodeURIComponent(t.title)]), [[
|
|
44
|
+
}, [decodeURIComponent(t.title)]), [[u("if"), t.title]]), e(R, {
|
|
44
45
|
cursor: !0,
|
|
45
46
|
icon: l.value ? "i-bx:collapse-alt" : "i-bx:expand-alt",
|
|
46
47
|
size: 20,
|
|
47
48
|
onClick: () => {
|
|
48
49
|
l.value = !l.value;
|
|
49
50
|
}
|
|
50
|
-
}, null)]),
|
|
51
|
+
}, null)]), r(e("div", {
|
|
51
52
|
class: ["repl-container", l.value ? "show-code" : "hide-code"]
|
|
52
53
|
}, [i.value ? h(i.value, {
|
|
53
54
|
store: s.value,
|
|
54
55
|
...o.value
|
|
55
|
-
}) : null]), [[
|
|
56
|
+
}) : null]), [[u("spin"), a.value]])]);
|
|
56
57
|
}
|
|
57
58
|
});
|
|
58
59
|
export {
|
|
59
|
-
|
|
60
|
+
j as default
|
|
60
61
|
};
|
|
@@ -123,7 +123,7 @@ export declare const VftMenu: import("vft/es/utils").SFCWithInstall<import("vue"
|
|
|
123
123
|
required: false;
|
|
124
124
|
};
|
|
125
125
|
title: {
|
|
126
|
-
type: import("vue").PropType<string | undefined>;
|
|
126
|
+
type: import("vue").PropType<string | number | undefined>;
|
|
127
127
|
required: false;
|
|
128
128
|
};
|
|
129
129
|
isAloneUse: {
|
|
@@ -160,7 +160,7 @@ export declare const VftMenu: import("vft/es/utils").SFCWithInstall<import("vue"
|
|
|
160
160
|
required: false;
|
|
161
161
|
};
|
|
162
162
|
title: {
|
|
163
|
-
type: import("vue").PropType<string | undefined>;
|
|
163
|
+
type: import("vue").PropType<string | number | undefined>;
|
|
164
164
|
required: false;
|
|
165
165
|
};
|
|
166
166
|
isAloneUse: {
|
|
@@ -322,7 +322,7 @@ export declare const VftMenuItem: import("vft/es/utils").SFCWithInstall<import("
|
|
|
322
322
|
required: false;
|
|
323
323
|
};
|
|
324
324
|
title: {
|
|
325
|
-
type: import("vue").PropType<string | undefined>;
|
|
325
|
+
type: import("vue").PropType<string | number | undefined>;
|
|
326
326
|
required: false;
|
|
327
327
|
};
|
|
328
328
|
isAloneUse: {
|
|
@@ -359,7 +359,7 @@ export declare const VftMenuItem: import("vft/es/utils").SFCWithInstall<import("
|
|
|
359
359
|
required: false;
|
|
360
360
|
};
|
|
361
361
|
title: {
|
|
362
|
-
type: import("vue").PropType<string | undefined>;
|
|
362
|
+
type: import("vue").PropType<string | number | undefined>;
|
|
363
363
|
required: false;
|
|
364
364
|
};
|
|
365
365
|
isAloneUse: {
|
|
@@ -2,19 +2,20 @@ import { withInstall as r, withNoopInstall as t } from "../../utils/vue/install.
|
|
|
2
2
|
import "vue";
|
|
3
3
|
import "@vue/shared";
|
|
4
4
|
import "@vft/utils";
|
|
5
|
-
import
|
|
5
|
+
import "../../utils/ns-cover.mjs";
|
|
6
|
+
import i from "./menu.vue2.mjs";
|
|
6
7
|
import o from "./menu-item.vue2.mjs";
|
|
7
8
|
import m from "./menu-item-group.vue2.mjs";
|
|
8
9
|
import n from "./sub-menu.vue2.mjs";
|
|
9
|
-
const
|
|
10
|
+
const I = r(i, {
|
|
10
11
|
MenuItem: o,
|
|
11
12
|
MenuItemGroup: m,
|
|
12
13
|
SubMenu: n
|
|
13
|
-
}),
|
|
14
|
+
}), l = t(o), V = t(m), $ = t(n);
|
|
14
15
|
export {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
16
|
+
I as VftMenu,
|
|
17
|
+
l as VftMenuItem,
|
|
18
|
+
V as VftMenuItemGroup,
|
|
19
|
+
$ as VftSubMenu,
|
|
20
|
+
I as default
|
|
20
21
|
};
|
|
@@ -6,7 +6,8 @@ import "../../hooks/use-z-index/index.mjs";
|
|
|
6
6
|
import "@vueuse/core";
|
|
7
7
|
import "@vue/shared";
|
|
8
8
|
import { addClass as s, removeClass as a, hasClass as n } from "@vft/utils";
|
|
9
|
-
|
|
9
|
+
import "../../utils/ns-cover.mjs";
|
|
10
|
+
const w = i({
|
|
10
11
|
setup() {
|
|
11
12
|
const o = r("menu");
|
|
12
13
|
return {
|
|
@@ -29,5 +30,5 @@ const u = i({
|
|
|
29
30
|
}
|
|
30
31
|
});
|
|
31
32
|
export {
|
|
32
|
-
|
|
33
|
+
w as default
|
|
33
34
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as m, openBlock as o, createElementBlock as l, normalizeClass as r, unref as s, createElementVNode as
|
|
1
|
+
import { defineComponent as m, openBlock as o, createElementBlock as l, normalizeClass as r, unref as s, createElementVNode as i, Fragment as p, createTextVNode as u, toDisplayString as c, renderSlot as n } from "vue";
|
|
2
2
|
import { useNamespace as d } from "../../hooks/use-namespace/index.mjs";
|
|
3
3
|
import "@popperjs/core";
|
|
4
4
|
import "lodash";
|
|
@@ -6,12 +6,13 @@ import "../../hooks/use-z-index/index.mjs";
|
|
|
6
6
|
import "@vueuse/core";
|
|
7
7
|
import "@vue/shared";
|
|
8
8
|
import "@vft/utils";
|
|
9
|
+
import "../../utils/ns-cover.mjs";
|
|
9
10
|
const t = (
|
|
10
11
|
/* hoist-static*/
|
|
11
12
|
d("menu-item-group")
|
|
12
13
|
), f = m({
|
|
13
14
|
name: t.b()
|
|
14
|
-
}),
|
|
15
|
+
}), S = /* @__PURE__ */ m({
|
|
15
16
|
...f,
|
|
16
17
|
props: {
|
|
17
18
|
title: null
|
|
@@ -20,19 +21,19 @@ const t = (
|
|
|
20
21
|
return (e, _) => (o(), l("li", {
|
|
21
22
|
class: r(s(t).b())
|
|
22
23
|
}, [
|
|
23
|
-
|
|
24
|
+
i("div", {
|
|
24
25
|
class: r(s(t).e("title"))
|
|
25
26
|
}, [
|
|
26
|
-
e.$slots.title ?
|
|
27
|
+
e.$slots.title ? n(e.$slots, "title", { key: 1 }) : (o(), l(p, { key: 0 }, [
|
|
27
28
|
u(c(a.title), 1)
|
|
28
29
|
], 64))
|
|
29
30
|
], 2),
|
|
30
|
-
|
|
31
|
-
|
|
31
|
+
i("ul", null, [
|
|
32
|
+
n(e.$slots, "default")
|
|
32
33
|
])
|
|
33
34
|
], 2));
|
|
34
35
|
}
|
|
35
36
|
});
|
|
36
37
|
export {
|
|
37
|
-
|
|
38
|
+
S as default
|
|
38
39
|
};
|
|
@@ -19,7 +19,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
19
19
|
required: false;
|
|
20
20
|
};
|
|
21
21
|
title: {
|
|
22
|
-
type: __PropType<string | undefined>;
|
|
22
|
+
type: __PropType<string | number | undefined>;
|
|
23
23
|
required: false;
|
|
24
24
|
};
|
|
25
25
|
isAloneUse: {
|
|
@@ -56,7 +56,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
56
56
|
required: false;
|
|
57
57
|
};
|
|
58
58
|
title: {
|
|
59
|
-
type: __PropType<string | undefined>;
|
|
59
|
+
type: __PropType<string | number | undefined>;
|
|
60
60
|
required: false;
|
|
61
61
|
};
|
|
62
62
|
isAloneUse: {
|
|
@@ -2,6 +2,7 @@ import { defineComponent as S, getCurrentInstance as M, inject as V, computed as
|
|
|
2
2
|
import { singleAttrToObj as H, renderTNode as J, VNode as K } from "@vft/utils";
|
|
3
3
|
import "@vue/shared";
|
|
4
4
|
import { throwError as P } from "../../utils/error.mjs";
|
|
5
|
+
import "../../utils/ns-cover.mjs";
|
|
5
6
|
import { useNamespace as v } from "../../hooks/use-namespace/index.mjs";
|
|
6
7
|
import "@popperjs/core";
|
|
7
8
|
import "lodash";
|
|
@@ -59,7 +60,7 @@ const W = ["title"], k = (
|
|
|
59
60
|
v("menu-item")
|
|
60
61
|
), X = S({
|
|
61
62
|
name: k.b()
|
|
62
|
-
}),
|
|
63
|
+
}), it = /* @__PURE__ */ S({
|
|
63
64
|
...X,
|
|
64
65
|
props: {
|
|
65
66
|
index: null,
|
|
@@ -144,5 +145,5 @@ const W = ["title"], k = (
|
|
|
144
145
|
}
|
|
145
146
|
});
|
|
146
147
|
export {
|
|
147
|
-
|
|
148
|
+
it as default
|
|
148
149
|
};
|
|
@@ -3,6 +3,7 @@ import { useResizeObserver as _ } from "@vueuse/core";
|
|
|
3
3
|
import "@vue/shared";
|
|
4
4
|
import { flattedChildren as ee } from "../../utils/vue/vnode.mjs";
|
|
5
5
|
import "@vft/utils";
|
|
6
|
+
import "../../utils/ns-cover.mjs";
|
|
6
7
|
import { useNamespace as N } from "../../hooks/use-namespace/index.mjs";
|
|
7
8
|
import "@popperjs/core";
|
|
8
9
|
import "lodash";
|
|
@@ -17,7 +18,7 @@ const M = (
|
|
|
17
18
|
N("menu")
|
|
18
19
|
), ae = B({
|
|
19
20
|
name: M.b()
|
|
20
|
-
}),
|
|
21
|
+
}), ye = /* @__PURE__ */ B({
|
|
21
22
|
...ae,
|
|
22
23
|
props: {
|
|
23
24
|
mode: { default: "vertical" },
|
|
@@ -202,5 +203,5 @@ const M = (
|
|
|
202
203
|
}
|
|
203
204
|
});
|
|
204
205
|
export {
|
|
205
|
-
|
|
206
|
+
ye as default
|
|
206
207
|
};
|
|
@@ -53,6 +53,7 @@ import "../../hooks/use-z-index/index.mjs";
|
|
|
53
53
|
import { useTimeoutFn as L } from "@vueuse/core";
|
|
54
54
|
import "@vue/shared";
|
|
55
55
|
import { throwError as U } from "../../utils/error.mjs";
|
|
56
|
+
import "../../utils/ns-cover.mjs";
|
|
56
57
|
import me from "./use-menu.mjs";
|
|
57
58
|
import { useMenuCssVar as de } from "./use-menu-css-var.mjs";
|
|
58
59
|
const S = (
|
|
@@ -60,7 +61,7 @@ const S = (
|
|
|
60
61
|
I("sub-menu")
|
|
61
62
|
), ve = Z({
|
|
62
63
|
name: S.b()
|
|
63
|
-
}),
|
|
64
|
+
}), go = /* @__PURE__ */ Z({
|
|
64
65
|
...ve,
|
|
65
66
|
props: {
|
|
66
67
|
index: null,
|
|
@@ -261,5 +262,5 @@ const S = (
|
|
|
261
262
|
}
|
|
262
263
|
});
|
|
263
264
|
export {
|
|
264
|
-
|
|
265
|
+
go as default
|
|
265
266
|
};
|
|
@@ -6,12 +6,13 @@ import "../../hooks/use-z-index/index.mjs";
|
|
|
6
6
|
import "@vueuse/core";
|
|
7
7
|
import "@vue/shared";
|
|
8
8
|
import "@vft/utils";
|
|
9
|
-
|
|
9
|
+
import "../../utils/ns-cover.mjs";
|
|
10
|
+
const V = (p, r) => {
|
|
10
11
|
const o = m("menu");
|
|
11
12
|
return t(() => o.cssVarBlock({
|
|
12
13
|
level: `${r}`
|
|
13
14
|
}));
|
|
14
15
|
};
|
|
15
16
|
export {
|
|
16
|
-
|
|
17
|
+
V as useMenuCssVar
|
|
17
18
|
};
|
|
@@ -2,13 +2,14 @@ import { withInstallFunction as s } from "../../utils/vue/install.mjs";
|
|
|
2
2
|
import "vue";
|
|
3
3
|
import "@vue/shared";
|
|
4
4
|
import "@vft/utils";
|
|
5
|
+
import "../../utils/ns-cover.mjs";
|
|
5
6
|
import e from "./method.mjs";
|
|
6
|
-
import { messageDefaults as
|
|
7
|
-
const
|
|
7
|
+
import { messageDefaults as l, messageTypes as n } from "./types.mjs";
|
|
8
|
+
const i = s(e, "$message");
|
|
8
9
|
export {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
10
|
+
i as Message,
|
|
11
|
+
i as VftMessage,
|
|
12
|
+
i as default,
|
|
13
|
+
l as messageDefaults,
|
|
14
|
+
n as messageTypes
|
|
14
15
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as E, ref as
|
|
1
|
+
import { defineComponent as E, ref as p, computed as i, onMounted as x, watch as O, openBlock as l, createBlock as R, Transition as V, unref as e, withCtx as H, withDirectives as I, createElementVNode as $, normalizeClass as c, normalizeStyle as D, createElementBlock as m, createVNode as w, normalizeProps as F, guardReactiveProps as P, createCommentVNode as k, renderSlot as U, toDisplayString as j, withModifiers as A, vShow as q } from "vue";
|
|
2
2
|
import { EVENT_CODE as G } from "@vft/constants";
|
|
3
3
|
import { isObject as J } from "@vft/utils";
|
|
4
4
|
import { useResizeObserver as K, useTimeoutFn as Q } from "@vueuse/core";
|
|
@@ -8,6 +8,7 @@ import "@popperjs/core";
|
|
|
8
8
|
import "lodash";
|
|
9
9
|
import "../../hooks/use-z-index/index.mjs";
|
|
10
10
|
import "@vue/shared";
|
|
11
|
+
import "../../utils/ns-cover.mjs";
|
|
11
12
|
import { getLastOffset as Y } from "./instance.mjs";
|
|
12
13
|
import { VftIcon as B } from "../icon/index.mjs";
|
|
13
14
|
const Z = ["id"], _ = ["innerHTML"], ee = ["onClick"], ge = /* @__PURE__ */ E({
|
|
@@ -30,7 +31,7 @@ const Z = ["id"], _ = ["innerHTML"], ee = ["onClick"], ge = /* @__PURE__ */ E({
|
|
|
30
31
|
},
|
|
31
32
|
emits: ["destroy"],
|
|
32
33
|
setup(t, { expose: M }) {
|
|
33
|
-
const o = t, n = X("message"), f =
|
|
34
|
+
const o = t, n = X("message"), f = p(), r = p(!1), g = p(0);
|
|
34
35
|
let a;
|
|
35
36
|
const L = /* @__PURE__ */ new Map([
|
|
36
37
|
["success", { icon: "i-ep:success-filled" }],
|
|
@@ -39,7 +40,7 @@ const Z = ["id"], _ = ["innerHTML"], ee = ["onClick"], ge = /* @__PURE__ */ E({
|
|
|
39
40
|
]), y = i(() => (o.icon ? J(o.icon) ? o.icon : { icon: o.icon } : "") || L.get(o.type) || ""), b = i(() => {
|
|
40
41
|
const s = o.type;
|
|
41
42
|
return { [n.bm("icon", s)]: s };
|
|
42
|
-
}), S = i(() => Y(o.id)), v = i(() => o.offset + S.value), T = i(() =>
|
|
43
|
+
}), S = i(() => Y(o.id)), v = i(() => o.offset + S.value), T = i(() => g.value + v.value), z = i(() => ({
|
|
43
44
|
top: `${v.value}px`,
|
|
44
45
|
zIndex: o.zIndex
|
|
45
46
|
}));
|
|
@@ -65,7 +66,7 @@ const Z = ["id"], _ = ["innerHTML"], ee = ["onClick"], ge = /* @__PURE__ */ E({
|
|
|
65
66
|
C(), d();
|
|
66
67
|
}
|
|
67
68
|
), W(document, "keydown", N), K(f, () => {
|
|
68
|
-
|
|
69
|
+
g.value = f.value.getBoundingClientRect().height;
|
|
69
70
|
}), M({
|
|
70
71
|
visible: r,
|
|
71
72
|
bottom: T,
|