vft 0.0.23 → 0.0.25
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/component.mjs +47 -47
- package/es/component.mjs.map +1 -1
- package/es/components/avatar/style/index.mjs +2 -2
- package/es/components/back-top/back-top.vue2.mjs +1 -1
- package/es/components/back-top/style/index.mjs +2 -2
- package/es/components/base/style/index.mjs +1 -1
- package/es/components/clamp/style/index.mjs +2 -2
- package/es/components/clamp-toggle/style/index.mjs +2 -2
- package/es/components/collapse-transition/style/index.mjs +2 -2
- package/es/components/config-provider/style/index.mjs +2 -2
- package/es/components/context-menu/context-menu.vue2.mjs +1 -1
- package/es/components/descriptions/style/index.mjs +2 -2
- package/es/components/descriptions-item/style/index.mjs +2 -2
- package/es/components/divider/style/index.mjs +2 -2
- package/es/components/empty/empty.vue2.mjs +38 -43
- package/es/components/empty/empty.vue2.mjs.map +1 -1
- package/es/components/empty/style/index.mjs +2 -2
- package/es/components/exception/exception.vue2.mjs +5 -6
- package/es/components/exception/exception.vue2.mjs.map +1 -1
- package/es/components/exception/style/index.mjs +1 -1
- package/es/components/footer-layout/style/index.mjs +2 -2
- package/es/components/full-screen/style/index.mjs +2 -2
- package/es/components/header-layout/style/index.mjs +3 -3
- package/es/components/icon/style/index.mjs +2 -2
- package/es/components/icon-text/style/index.mjs +2 -2
- package/es/components/iframe-layout/style/index.mjs +2 -2
- package/es/components/image/style/index.mjs +2 -2
- package/es/components/index.d.ts +1 -1
- package/es/components/index.mjs +68 -68
- package/es/components/input/style/index.mjs +2 -2
- package/es/components/link/style/index.mjs +2 -2
- package/es/components/loading/style/index.mjs +2 -2
- package/es/components/logo/style/index.mjs +2 -2
- package/es/components/menu/menu-item.vue2.mjs +1 -1
- package/es/components/menu/style/index.mjs +2 -2
- package/es/components/menu/sub-menu.vue2.mjs +1 -1
- package/es/components/menu-item/style/index.mjs +2 -2
- package/es/components/menu-item-group/style/index.mjs +2 -2
- package/es/components/message/style/index.mjs +2 -2
- package/es/components/multiple-tabs/multiple-tabs.vue2.mjs +1 -1
- package/es/components/multiple-tabs/style/index.mjs +3 -3
- package/es/components/multiple-tabs/tab-content.vue2.mjs +1 -1
- package/es/components/overlay/style/index.mjs +2 -2
- package/es/components/page-wrapper/style/index.mjs +2 -2
- package/es/components/pagination/style/index.mjs +2 -2
- package/es/components/popover/style/index.mjs +3 -3
- package/es/components/popper/style/index.mjs +2 -2
- package/es/components/qrcode/style/index.mjs +2 -2
- package/es/components/result/result.vue2.mjs +1 -1
- package/es/components/result/style/index.mjs +2 -2
- package/es/components/side-menu/side-menu.vue2.mjs +1 -1
- package/es/components/side-menu/style/index.mjs +2 -2
- package/es/components/sub-menu/style/index.mjs +2 -2
- package/es/components/tab-pane/style/index.mjs +2 -2
- package/es/components/tabs/style/index.mjs +2 -2
- package/es/components/tabs/tab-nav.vue2.mjs +1 -1
- package/es/components/tag/style/index.mjs +2 -2
- package/es/components/tooltip/style/index.mjs +3 -3
- package/es/index.mjs +68 -68
- package/es/package.json.mjs +1 -1
- package/lib/component.js +1 -1
- package/lib/component.js.map +1 -1
- package/lib/components/avatar/style/index.js +1 -1
- package/lib/components/back-top/back-top.vue2.js +1 -1
- package/lib/components/back-top/style/index.js +1 -1
- package/lib/components/base/style/index.js +1 -1
- package/lib/components/clamp/style/index.js +1 -1
- package/lib/components/clamp-toggle/style/index.js +1 -1
- package/lib/components/collapse-transition/style/index.js +1 -1
- package/lib/components/config-provider/style/index.js +1 -1
- package/lib/components/context-menu/context-menu.vue2.js +1 -1
- package/lib/components/descriptions/style/index.js +1 -1
- package/lib/components/descriptions-item/style/index.js +1 -1
- package/lib/components/divider/style/index.js +1 -1
- package/lib/components/empty/empty.vue2.js +1 -1
- package/lib/components/empty/empty.vue2.js.map +1 -1
- package/lib/components/empty/style/index.js +1 -1
- package/lib/components/exception/exception.vue2.js +1 -1
- package/lib/components/exception/exception.vue2.js.map +1 -1
- package/lib/components/exception/style/index.js +1 -1
- package/lib/components/footer-layout/style/index.js +1 -1
- package/lib/components/full-screen/style/index.js +1 -1
- package/lib/components/header-layout/style/index.js +1 -1
- package/lib/components/icon/style/index.js +1 -1
- package/lib/components/icon-text/style/index.js +1 -1
- package/lib/components/iframe-layout/style/index.js +1 -1
- package/lib/components/image/style/index.js +1 -1
- package/lib/components/index.d.ts +1 -1
- package/lib/components/index.js +1 -1
- package/lib/components/input/style/index.js +1 -1
- package/lib/components/link/style/index.js +1 -1
- package/lib/components/loading/style/index.js +1 -1
- package/lib/components/logo/style/index.js +1 -1
- package/lib/components/menu/menu-item.vue2.js +1 -1
- package/lib/components/menu/style/index.js +1 -1
- package/lib/components/menu/sub-menu.vue2.js +1 -1
- package/lib/components/menu-item/style/index.js +1 -1
- package/lib/components/menu-item-group/style/index.js +1 -1
- package/lib/components/message/style/index.js +1 -1
- package/lib/components/multiple-tabs/multiple-tabs.vue2.js +1 -1
- package/lib/components/multiple-tabs/style/index.js +1 -1
- package/lib/components/multiple-tabs/tab-content.vue2.js +1 -1
- package/lib/components/overlay/style/index.js +1 -1
- package/lib/components/page-wrapper/style/index.js +1 -1
- package/lib/components/pagination/style/index.js +1 -1
- package/lib/components/popover/style/index.js +1 -1
- package/lib/components/popper/style/index.js +1 -1
- package/lib/components/qrcode/style/index.js +1 -1
- package/lib/components/result/result.vue2.js +1 -1
- package/lib/components/result/style/index.js +1 -1
- package/lib/components/side-menu/side-menu.vue2.js +1 -1
- package/lib/components/side-menu/style/index.js +1 -1
- package/lib/components/sub-menu/style/index.js +1 -1
- package/lib/components/tab-pane/style/index.js +1 -1
- package/lib/components/tabs/style/index.js +1 -1
- package/lib/components/tabs/tab-nav.vue2.js +1 -1
- package/lib/components/tag/style/index.js +1 -1
- package/lib/components/tooltip/style/index.js +1 -1
- package/lib/index.js +1 -1
- package/lib/package.json.js +1 -1
- package/package.json +1 -1
- package/theme-style/src/common/var.scss +6 -6
- package/theme-style/src/exception.scss +0 -0
- package/theme-style/src/footer-layout.scss +1 -1
- package/theme-style/src/header-layout.scss +1 -1
- package/theme-style/src/index.scss +1 -0
- package/theme-style/vft-exception.css +0 -0
- package/es/components/empty/assets/no-collect.png.mjs +0 -5
- package/es/components/empty/assets/no-collect.png.mjs.map +0 -1
- package/es/components/empty/assets/no-data.png.mjs +0 -5
- package/es/components/empty/assets/no-data.png.mjs.map +0 -1
- package/es/components/empty/assets/no-filter.png.mjs +0 -5
- package/es/components/empty/assets/no-filter.png.mjs.map +0 -1
- package/es/components/empty/assets/no-page-data.png.mjs +0 -5
- package/es/components/empty/assets/no-page-data.png.mjs.map +0 -1
- package/es/components/empty/assets/no-search.png.mjs +0 -5
- package/es/components/empty/assets/no-search.png.mjs.map +0 -1
- package/es/components/exception/exception.png.mjs +0 -5
- package/es/components/exception/exception.png.mjs.map +0 -1
- package/es/style.css +0 -1
- package/es/theme-style/src/avatar.scss.mjs +0 -5
- package/es/theme-style/src/avatar.scss.mjs.map +0 -1
- package/es/theme-style/src/back-top.scss.mjs +0 -5
- package/es/theme-style/src/back-top.scss.mjs.map +0 -1
- package/es/theme-style/src/base.scss.mjs +0 -5
- package/es/theme-style/src/base.scss.mjs.map +0 -1
- package/es/theme-style/src/clamp-toggle.scss.mjs +0 -5
- package/es/theme-style/src/clamp-toggle.scss.mjs.map +0 -1
- package/es/theme-style/src/clamp.scss.mjs +0 -5
- package/es/theme-style/src/clamp.scss.mjs.map +0 -1
- package/es/theme-style/src/collapse-transition.scss.mjs +0 -5
- package/es/theme-style/src/collapse-transition.scss.mjs.map +0 -1
- package/es/theme-style/src/config-provider.scss.mjs +0 -5
- package/es/theme-style/src/config-provider.scss.mjs.map +0 -1
- package/es/theme-style/src/descriptions-item.scss.mjs +0 -5
- package/es/theme-style/src/descriptions-item.scss.mjs.map +0 -1
- package/es/theme-style/src/descriptions.scss.mjs +0 -5
- package/es/theme-style/src/descriptions.scss.mjs.map +0 -1
- package/es/theme-style/src/divider.scss.mjs +0 -5
- package/es/theme-style/src/divider.scss.mjs.map +0 -1
- package/es/theme-style/src/empty.scss.mjs +0 -5
- package/es/theme-style/src/empty.scss.mjs.map +0 -1
- package/es/theme-style/src/footer-layout.scss.mjs +0 -5
- package/es/theme-style/src/footer-layout.scss.mjs.map +0 -1
- package/es/theme-style/src/full-screen.scss.mjs +0 -5
- package/es/theme-style/src/full-screen.scss.mjs.map +0 -1
- package/es/theme-style/src/header-layout.scss.mjs +0 -5
- package/es/theme-style/src/header-layout.scss.mjs.map +0 -1
- package/es/theme-style/src/icon-text.scss.mjs +0 -5
- package/es/theme-style/src/icon-text.scss.mjs.map +0 -1
- package/es/theme-style/src/icon.scss.mjs +0 -5
- package/es/theme-style/src/icon.scss.mjs.map +0 -1
- package/es/theme-style/src/iframe-layout.scss.mjs +0 -5
- package/es/theme-style/src/iframe-layout.scss.mjs.map +0 -1
- package/es/theme-style/src/image.scss.mjs +0 -5
- package/es/theme-style/src/image.scss.mjs.map +0 -1
- package/es/theme-style/src/input.scss.mjs +0 -5
- package/es/theme-style/src/input.scss.mjs.map +0 -1
- package/es/theme-style/src/link.scss.mjs +0 -5
- package/es/theme-style/src/link.scss.mjs.map +0 -1
- package/es/theme-style/src/loading.scss.mjs +0 -5
- package/es/theme-style/src/loading.scss.mjs.map +0 -1
- package/es/theme-style/src/logo.scss.mjs +0 -5
- package/es/theme-style/src/logo.scss.mjs.map +0 -1
- package/es/theme-style/src/menu-item-group.scss.mjs +0 -5
- package/es/theme-style/src/menu-item-group.scss.mjs.map +0 -1
- package/es/theme-style/src/menu-item.scss.mjs +0 -5
- package/es/theme-style/src/menu-item.scss.mjs.map +0 -1
- package/es/theme-style/src/menu.scss.mjs +0 -5
- package/es/theme-style/src/menu.scss.mjs.map +0 -1
- package/es/theme-style/src/message.scss.mjs +0 -5
- package/es/theme-style/src/message.scss.mjs.map +0 -1
- package/es/theme-style/src/multiple-tabs.scss.mjs +0 -5
- package/es/theme-style/src/multiple-tabs.scss.mjs.map +0 -1
- package/es/theme-style/src/overlay.scss.mjs +0 -5
- package/es/theme-style/src/overlay.scss.mjs.map +0 -1
- package/es/theme-style/src/page-wrapper.scss.mjs +0 -5
- package/es/theme-style/src/page-wrapper.scss.mjs.map +0 -1
- package/es/theme-style/src/pagination.scss.mjs +0 -5
- package/es/theme-style/src/pagination.scss.mjs.map +0 -1
- package/es/theme-style/src/popover.scss.mjs +0 -5
- package/es/theme-style/src/popover.scss.mjs.map +0 -1
- package/es/theme-style/src/popper.scss.mjs +0 -5
- package/es/theme-style/src/popper.scss.mjs.map +0 -1
- package/es/theme-style/src/qrcode.scss.mjs +0 -5
- package/es/theme-style/src/qrcode.scss.mjs.map +0 -1
- package/es/theme-style/src/result.scss.mjs +0 -5
- package/es/theme-style/src/result.scss.mjs.map +0 -1
- package/es/theme-style/src/side-menu.scss.mjs +0 -5
- package/es/theme-style/src/side-menu.scss.mjs.map +0 -1
- package/es/theme-style/src/sub-menu.scss.mjs +0 -5
- package/es/theme-style/src/sub-menu.scss.mjs.map +0 -1
- package/es/theme-style/src/tab-pane.scss.mjs +0 -5
- package/es/theme-style/src/tab-pane.scss.mjs.map +0 -1
- package/es/theme-style/src/tabs.scss.mjs +0 -5
- package/es/theme-style/src/tabs.scss.mjs.map +0 -1
- package/es/theme-style/src/tag.scss.mjs +0 -5
- package/es/theme-style/src/tag.scss.mjs.map +0 -1
- package/es/theme-style/src/tooltip.scss.mjs +0 -5
- package/es/theme-style/src/tooltip.scss.mjs.map +0 -1
- package/lib/components/empty/assets/no-collect.png.js +0 -2
- package/lib/components/empty/assets/no-collect.png.js.map +0 -1
- package/lib/components/empty/assets/no-data.png.js +0 -2
- package/lib/components/empty/assets/no-data.png.js.map +0 -1
- package/lib/components/empty/assets/no-filter.png.js +0 -2
- package/lib/components/empty/assets/no-filter.png.js.map +0 -1
- package/lib/components/empty/assets/no-page-data.png.js +0 -2
- package/lib/components/empty/assets/no-page-data.png.js.map +0 -1
- package/lib/components/empty/assets/no-search.png.js +0 -2
- package/lib/components/empty/assets/no-search.png.js.map +0 -1
- package/lib/components/exception/exception.png.js +0 -2
- package/lib/components/exception/exception.png.js.map +0 -1
- package/lib/theme-style/src/avatar.scss.js +0 -2
- package/lib/theme-style/src/avatar.scss.js.map +0 -1
- package/lib/theme-style/src/back-top.scss.js +0 -2
- package/lib/theme-style/src/back-top.scss.js.map +0 -1
- package/lib/theme-style/src/base.scss.js +0 -2
- package/lib/theme-style/src/base.scss.js.map +0 -1
- package/lib/theme-style/src/clamp-toggle.scss.js +0 -2
- package/lib/theme-style/src/clamp-toggle.scss.js.map +0 -1
- package/lib/theme-style/src/clamp.scss.js +0 -2
- package/lib/theme-style/src/clamp.scss.js.map +0 -1
- package/lib/theme-style/src/collapse-transition.scss.js +0 -2
- package/lib/theme-style/src/collapse-transition.scss.js.map +0 -1
- package/lib/theme-style/src/config-provider.scss.js +0 -2
- package/lib/theme-style/src/config-provider.scss.js.map +0 -1
- package/lib/theme-style/src/descriptions-item.scss.js +0 -2
- package/lib/theme-style/src/descriptions-item.scss.js.map +0 -1
- package/lib/theme-style/src/descriptions.scss.js +0 -2
- package/lib/theme-style/src/descriptions.scss.js.map +0 -1
- package/lib/theme-style/src/divider.scss.js +0 -2
- package/lib/theme-style/src/divider.scss.js.map +0 -1
- package/lib/theme-style/src/empty.scss.js +0 -2
- package/lib/theme-style/src/empty.scss.js.map +0 -1
- package/lib/theme-style/src/footer-layout.scss.js +0 -2
- package/lib/theme-style/src/footer-layout.scss.js.map +0 -1
- package/lib/theme-style/src/full-screen.scss.js +0 -2
- package/lib/theme-style/src/full-screen.scss.js.map +0 -1
- package/lib/theme-style/src/header-layout.scss.js +0 -2
- package/lib/theme-style/src/header-layout.scss.js.map +0 -1
- package/lib/theme-style/src/icon-text.scss.js +0 -2
- package/lib/theme-style/src/icon-text.scss.js.map +0 -1
- package/lib/theme-style/src/icon.scss.js +0 -2
- package/lib/theme-style/src/icon.scss.js.map +0 -1
- package/lib/theme-style/src/iframe-layout.scss.js +0 -2
- package/lib/theme-style/src/iframe-layout.scss.js.map +0 -1
- package/lib/theme-style/src/image.scss.js +0 -2
- package/lib/theme-style/src/image.scss.js.map +0 -1
- package/lib/theme-style/src/input.scss.js +0 -2
- package/lib/theme-style/src/input.scss.js.map +0 -1
- package/lib/theme-style/src/link.scss.js +0 -2
- package/lib/theme-style/src/link.scss.js.map +0 -1
- package/lib/theme-style/src/loading.scss.js +0 -2
- package/lib/theme-style/src/loading.scss.js.map +0 -1
- package/lib/theme-style/src/logo.scss.js +0 -2
- package/lib/theme-style/src/logo.scss.js.map +0 -1
- package/lib/theme-style/src/menu-item-group.scss.js +0 -2
- package/lib/theme-style/src/menu-item-group.scss.js.map +0 -1
- package/lib/theme-style/src/menu-item.scss.js +0 -2
- package/lib/theme-style/src/menu-item.scss.js.map +0 -1
- package/lib/theme-style/src/menu.scss.js +0 -2
- package/lib/theme-style/src/menu.scss.js.map +0 -1
- package/lib/theme-style/src/message.scss.js +0 -2
- package/lib/theme-style/src/message.scss.js.map +0 -1
- package/lib/theme-style/src/multiple-tabs.scss.js +0 -2
- package/lib/theme-style/src/multiple-tabs.scss.js.map +0 -1
- package/lib/theme-style/src/overlay.scss.js +0 -2
- package/lib/theme-style/src/overlay.scss.js.map +0 -1
- package/lib/theme-style/src/page-wrapper.scss.js +0 -2
- package/lib/theme-style/src/page-wrapper.scss.js.map +0 -1
- package/lib/theme-style/src/pagination.scss.js +0 -2
- package/lib/theme-style/src/pagination.scss.js.map +0 -1
- package/lib/theme-style/src/popover.scss.js +0 -2
- package/lib/theme-style/src/popover.scss.js.map +0 -1
- package/lib/theme-style/src/popper.scss.js +0 -2
- package/lib/theme-style/src/popper.scss.js.map +0 -1
- package/lib/theme-style/src/qrcode.scss.js +0 -2
- package/lib/theme-style/src/qrcode.scss.js.map +0 -1
- package/lib/theme-style/src/result.scss.js +0 -2
- package/lib/theme-style/src/result.scss.js.map +0 -1
- package/lib/theme-style/src/side-menu.scss.js +0 -2
- package/lib/theme-style/src/side-menu.scss.js.map +0 -1
- package/lib/theme-style/src/sub-menu.scss.js +0 -2
- package/lib/theme-style/src/sub-menu.scss.js.map +0 -1
- package/lib/theme-style/src/tab-pane.scss.js +0 -2
- package/lib/theme-style/src/tab-pane.scss.js.map +0 -1
- package/lib/theme-style/src/tabs.scss.js +0 -2
- package/lib/theme-style/src/tabs.scss.js.map +0 -1
- package/lib/theme-style/src/tag.scss.js +0 -2
- package/lib/theme-style/src/tag.scss.js.map +0 -1
- package/lib/theme-style/src/tooltip.scss.js +0 -2
- package/lib/theme-style/src/tooltip.scss.js.map +0 -1
- package/theme-style/vft-virtual-list.css +0 -1
package/es/component.mjs
CHANGED
|
@@ -4,74 +4,74 @@ import { VftIcon as r } from "./components/icon/index.mjs";
|
|
|
4
4
|
import { VftAvatar as m } from "./components/avatar/index.mjs";
|
|
5
5
|
import { VftEmpty as f } from "./components/empty/index.mjs";
|
|
6
6
|
import { VftResult as p } from "./components/result/index.mjs";
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
19
|
-
import {
|
|
20
|
-
import {
|
|
21
|
-
import {
|
|
22
|
-
import {
|
|
23
|
-
import {
|
|
24
|
-
import {
|
|
25
|
-
import {
|
|
26
|
-
import {
|
|
27
|
-
import {
|
|
28
|
-
import {
|
|
29
|
-
import {
|
|
30
|
-
import {
|
|
31
|
-
import {
|
|
32
|
-
import {
|
|
33
|
-
import {
|
|
34
|
-
import {
|
|
7
|
+
import { VftTooltip as i } from "./components/tooltip/index.mjs";
|
|
8
|
+
import { VftBackTop as V } from "./components/back-top/index.mjs";
|
|
9
|
+
import { VftPopover as e } from "./components/popover/index.mjs";
|
|
10
|
+
import { VftPopper as a } from "./components/popper/index.mjs";
|
|
11
|
+
import { VftLogo as n } from "./components/logo/index.mjs";
|
|
12
|
+
import { VftIconText as u } from "./components/icon-text/index.mjs";
|
|
13
|
+
import { VftImage as l } from "./components/image/index.mjs";
|
|
14
|
+
import { VftFullScreen as s } from "./components/full-screen/index.mjs";
|
|
15
|
+
import { VftInput as c } from "./components/input/index.mjs";
|
|
16
|
+
import { VftLink as T } from "./components/link/index.mjs";
|
|
17
|
+
import { VftTag as g } from "./components/tag/index.mjs";
|
|
18
|
+
import { VftQrcode as I } from "./components/qrcode/index.mjs";
|
|
19
|
+
import { VftOverlay as d } from "./components/overlay/index.mjs";
|
|
20
|
+
import { VftSideMenu as C } from "./components/side-menu/index.mjs";
|
|
21
|
+
import { VftClamp as M } from "./components/clamp/index.mjs";
|
|
22
|
+
import { VftPageWrapper as P } from "./components/page-wrapper/index.mjs";
|
|
23
|
+
import { VftClampToggle as v } from "./components/clamp-toggle/index.mjs";
|
|
24
|
+
import { VftRouterViewContent as y } from "./components/router-view-content/index.mjs";
|
|
25
|
+
import { VftIframeLayout as L } from "./components/iframe-layout/index.mjs";
|
|
26
|
+
import { VftFooterLayout as b } from "./components/footer-layout/index.mjs";
|
|
27
|
+
import { VftHeaderLayout as x } from "./components/header-layout/index.mjs";
|
|
28
|
+
import { VftPagination as D } from "./components/pagination/index.mjs";
|
|
29
|
+
import { VftTabs as S, VftTabPane as k } from "./components/tabs/index.mjs";
|
|
30
|
+
import { VftDescriptions as E, VftDescriptionsItem as F } from "./components/descriptions/index.mjs";
|
|
31
|
+
import { VftMultipleTabs as R } from "./components/multiple-tabs/index.mjs";
|
|
32
|
+
import { VftCollapseTransition as w } from "./components/collapse-transition/index.mjs";
|
|
33
|
+
import { VftMenu as A, VftMenuItem as B, VftMenuItemGroup as G, VftSubMenu as H } from "./components/menu/index.mjs";
|
|
34
|
+
import { VftException as O } from "./components/exception/index.mjs";
|
|
35
35
|
const Mo = [
|
|
36
|
-
v,
|
|
37
36
|
P,
|
|
38
|
-
y,
|
|
39
|
-
d,
|
|
40
|
-
C,
|
|
41
|
-
I,
|
|
42
37
|
M,
|
|
43
|
-
|
|
38
|
+
v,
|
|
39
|
+
I,
|
|
40
|
+
d,
|
|
44
41
|
g,
|
|
42
|
+
C,
|
|
43
|
+
D,
|
|
45
44
|
T,
|
|
46
|
-
s,
|
|
47
|
-
l,
|
|
48
45
|
c,
|
|
46
|
+
l,
|
|
47
|
+
u,
|
|
48
|
+
s,
|
|
49
|
+
E,
|
|
49
50
|
F,
|
|
50
|
-
R,
|
|
51
51
|
t,
|
|
52
|
-
|
|
52
|
+
V,
|
|
53
|
+
y,
|
|
53
54
|
L,
|
|
54
55
|
b,
|
|
55
56
|
x,
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
57
|
+
n,
|
|
58
|
+
R,
|
|
59
|
+
A,
|
|
59
60
|
B,
|
|
60
61
|
G,
|
|
61
62
|
H,
|
|
62
|
-
|
|
63
|
-
A,
|
|
63
|
+
w,
|
|
64
64
|
o,
|
|
65
65
|
r,
|
|
66
66
|
m,
|
|
67
67
|
f,
|
|
68
68
|
p,
|
|
69
|
-
|
|
69
|
+
S,
|
|
70
70
|
k,
|
|
71
|
-
|
|
72
|
-
|
|
71
|
+
i,
|
|
72
|
+
e,
|
|
73
73
|
a,
|
|
74
|
-
|
|
74
|
+
O
|
|
75
75
|
];
|
|
76
76
|
export {
|
|
77
77
|
Mo as default
|
package/es/component.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"component.mjs","sources":["../../../packages/vft/component.ts"],"sourcesContent":["import { VftDivider } from '@vft-ui/components/divider';\nimport { VftConfigProvider } from '@vft-ui/components/config-provider';\nimport { VftIcon } from '@vft-ui/components/icon';\nimport { VftAvatar } from '@vft-ui/components/avatar';\nimport { VftEmpty } from '@vft-ui/components/empty';\nimport { VftResult } from '@vft-ui/components/result';\nimport {
|
|
1
|
+
{"version":3,"file":"component.mjs","sources":["../../../packages/vft/component.ts"],"sourcesContent":["import { VftDivider } from '@vft-ui/components/divider';\nimport { VftConfigProvider } from '@vft-ui/components/config-provider';\nimport { VftIcon } from '@vft-ui/components/icon';\nimport { VftAvatar } from '@vft-ui/components/avatar';\nimport { VftEmpty } from '@vft-ui/components/empty';\nimport { VftResult } from '@vft-ui/components/result';\nimport { VftTooltip } from '@vft-ui/components/tooltip';\nimport { VftBackTop } from '@vft-ui/components/back-top';\nimport { VftPopover } from '@vft-ui/components/popover';\nimport { VftPopper } from '@vft-ui/components/popper';\nimport { VftLogo } from '@vft-ui/components/logo';\nimport { VftIconText } from '@vft-ui/components/icon-text';\nimport { VftImage } from '@vft-ui/components/image';\nimport { VftFullScreen } from '@vft-ui/components/full-screen';\nimport { VftInput } from '@vft-ui/components/input';\nimport { VftLink } from '@vft-ui/components/link';\nimport { VftTag} from '@vft-ui/components/tag';\nimport { VftQrcode } from '@vft-ui/components/qrcode';\nimport { VftOverlay } from '@vft-ui/components/overlay';\nimport { VftSideMenu} from '@vft-ui/components/side-menu';\nimport { VftClamp} from '@vft-ui/components/clamp';\nimport { VftPageWrapper } from '@vft-ui/components/page-wrapper';\nimport { VftClampToggle } from '@vft-ui/components/clamp-toggle';\nimport { VftRouterViewContent } from '@vft-ui/components/router-view-content';\nimport { VftIframeLayout } from '@vft-ui/components/iframe-layout';\nimport { VftFooterLayout } from '@vft-ui/components/footer-layout';\nimport { VftHeaderLayout } from '@vft-ui/components/header-layout';\nimport { VftPagination } from '@vft-ui/components/pagination';\nimport { VftTabs, VftTabPane } from '@vft-ui/components/tabs';\nimport { VftDescriptions, VftDescriptionsItem } from '@vft-ui/components/descriptions';\nimport { VftMultipleTabs } from '@vft-ui/components/multiple-tabs';\nimport { VftCollapseTransition } from '@vft-ui/components/collapse-transition';\nimport {\n\tVftMenu,\n\tVftMenuItem,\n\tVftMenuItemGroup,\n\tVftSubMenu,\n} from '@vft-ui/components/menu';\nimport { VftException } from '@vft-ui/components/exception';\n\nimport type { Plugin } from 'vue';\n\nexport default [\n\tVftPageWrapper,\n\tVftClamp,\n\tVftClampToggle,\n\tVftQrcode,\n\tVftOverlay,\n\tVftTag,\n\tVftSideMenu,\n\tVftPagination,\n\tVftLink,\n\tVftInput,\n\tVftImage,\n\tVftIconText,\n\tVftFullScreen,\n\tVftDescriptions,\n\tVftDescriptionsItem,\n\tVftConfigProvider,\n\tVftBackTop,\n\tVftRouterViewContent,\n\tVftIframeLayout,\n\tVftFooterLayout,\n\tVftHeaderLayout,\n\tVftLogo,\n\tVftMultipleTabs,\n\tVftMenu,\n\tVftMenuItem,\n\tVftMenuItemGroup,\n\tVftSubMenu,\n\tVftCollapseTransition,\n\tVftDivider,\n\tVftIcon,\n\tVftAvatar,\n\tVftEmpty,\n\tVftResult,\n\tVftTabs,\n\tVftTabPane,\n\tVftTooltip,\n\tVftPopover,\n\tVftPopper,\n\tVftException,\n] as Plugin[];\n"],"names":["Components","VftPageWrapper","VftClamp","VftClampToggle","VftQrcode","VftOverlay","VftTag","VftSideMenu","VftPagination","VftLink","VftInput","VftImage","VftIconText","VftFullScreen","VftDescriptions","VftDescriptionsItem","VftConfigProvider","VftBackTop","VftRouterViewContent","VftIframeLayout","VftFooterLayout","VftHeaderLayout","VftLogo","VftMultipleTabs","VftMenu","VftMenuItem","VftMenuItemGroup","VftSubMenu","VftCollapseTransition","VftDivider","VftIcon","VftAvatar","VftEmpty","VftResult","VftTabs","VftTabPane","VftTooltip","VftPopover","VftPopper","VftException"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA0CA,MAAeA,KAAA;AAAA,EACdC;AAAA,EACAC;AAAA,EACAC;AAAA,EACAC;AAAA,EACAC;AAAA,EACAC;AAAA,EACAC;AAAA,EACAC;AAAA,EACAC;AAAA,EACAC;AAAA,EACAC;AAAA,EACAC;AAAA,EACAC;AAAA,EACAC;AAAA,EACAC;AAAA,EACAC;AAAA,EACAC;AAAA,EACAC;AAAA,EACAC;AAAA,EACAC;AAAA,EACAC;AAAA,EACAC;AAAA,EACAC;AAAA,EACAC;AAAA,EACAC;AAAA,EACAC;AAAA,EACAC;AAAA,EACAC;AAAA,EACAC;AAAA,EACAC;AAAA,EACAC;AAAA,EACAC;AAAA,EACAC;AAAA,EACAC;AAAA,EACAC;AAAA,EACAC;AAAA,EACAC;AAAA,EACAC;AAAA,EACAC;AACD;"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import "
|
|
2
|
-
import "
|
|
1
|
+
import "vft/theme-style/src/base.scss";
|
|
2
|
+
import "vft/theme-style/src/avatar.scss";
|
|
3
3
|
//# sourceMappingURL=index.mjs.map
|
|
@@ -5,7 +5,6 @@ import { VftIcon as _ } from "../icon/index.mjs";
|
|
|
5
5
|
import "../avatar/index.mjs";
|
|
6
6
|
import "../empty/index.mjs";
|
|
7
7
|
import "../result/index.mjs";
|
|
8
|
-
import "../exception/index.mjs";
|
|
9
8
|
import "../tabs/index.mjs";
|
|
10
9
|
import "../popper/index.mjs";
|
|
11
10
|
import "../collapse-transition/index.mjs";
|
|
@@ -35,6 +34,7 @@ import "../overlay/index.mjs";
|
|
|
35
34
|
import "../clamp/index.mjs";
|
|
36
35
|
import "../clamp-toggle/index.mjs";
|
|
37
36
|
import "../page-wrapper/index.mjs";
|
|
37
|
+
import "../exception/index.mjs";
|
|
38
38
|
import "../message/index.mjs";
|
|
39
39
|
import { useNamespace as w } from "../../hooks/use-namespace/index.mjs";
|
|
40
40
|
import "@popperjs/core";
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import "
|
|
2
|
-
import "
|
|
1
|
+
import "vft/theme-style/src/base.scss";
|
|
2
|
+
import "vft/theme-style/src/back-top.scss";
|
|
3
3
|
//# sourceMappingURL=index.mjs.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import "
|
|
1
|
+
import "vft/theme-style/src/base.scss";
|
|
2
2
|
//# sourceMappingURL=index.mjs.map
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import "
|
|
2
|
-
import "
|
|
1
|
+
import "vft/theme-style/src/base.scss";
|
|
2
|
+
import "vft/theme-style/src/clamp.scss";
|
|
3
3
|
//# sourceMappingURL=index.mjs.map
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import "
|
|
2
|
-
import "
|
|
1
|
+
import "vft/theme-style/src/base.scss";
|
|
2
|
+
import "vft/theme-style/src/clamp-toggle.scss";
|
|
3
3
|
//# sourceMappingURL=index.mjs.map
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import "
|
|
2
|
-
import "
|
|
1
|
+
import "vft/theme-style/src/base.scss";
|
|
2
|
+
import "vft/theme-style/src/collapse-transition.scss";
|
|
3
3
|
//# sourceMappingURL=index.mjs.map
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import "
|
|
2
|
-
import "
|
|
1
|
+
import "vft/theme-style/src/base.scss";
|
|
2
|
+
import "vft/theme-style/src/config-provider.scss";
|
|
3
3
|
//# sourceMappingURL=index.mjs.map
|
|
@@ -5,7 +5,6 @@ import "../icon/index.mjs";
|
|
|
5
5
|
import "../avatar/index.mjs";
|
|
6
6
|
import "../empty/index.mjs";
|
|
7
7
|
import "../result/index.mjs";
|
|
8
|
-
import "../exception/index.mjs";
|
|
9
8
|
import "../tabs/index.mjs";
|
|
10
9
|
import "../popper/index.mjs";
|
|
11
10
|
import "../collapse-transition/index.mjs";
|
|
@@ -35,6 +34,7 @@ import "../overlay/index.mjs";
|
|
|
35
34
|
import "../clamp/index.mjs";
|
|
36
35
|
import "../clamp-toggle/index.mjs";
|
|
37
36
|
import "../page-wrapper/index.mjs";
|
|
37
|
+
import "../exception/index.mjs";
|
|
38
38
|
import "../message/index.mjs";
|
|
39
39
|
import "@popperjs/core";
|
|
40
40
|
import "lodash";
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import "
|
|
2
|
-
import "
|
|
1
|
+
import "vft/theme-style/src/base.scss";
|
|
2
|
+
import "vft/theme-style/src/descriptions.scss";
|
|
3
3
|
//# sourceMappingURL=index.mjs.map
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import "
|
|
2
|
-
import "
|
|
1
|
+
import "vft/theme-style/src/base.scss";
|
|
2
|
+
import "vft/theme-style/src/descriptions-item.scss";
|
|
3
3
|
//# sourceMappingURL=index.mjs.map
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import "
|
|
2
|
-
import "
|
|
1
|
+
import "vft/theme-style/src/base.scss";
|
|
2
|
+
import "vft/theme-style/src/divider.scss";
|
|
3
3
|
//# sourceMappingURL=index.mjs.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as
|
|
1
|
+
import { defineComponent as N, getCurrentInstance as z, computed as p, openBlock as l, createElementBlock as r, normalizeClass as i, unref as e, createElementVNode as T, normalizeStyle as C, renderSlot as u, createVNode as A, createCommentVNode as y } from "vue";
|
|
2
2
|
import { renderTNode as E, setSize as _, VNode as O } from "@vft/utils";
|
|
3
3
|
import { useNamespace as k } from "../../hooks/use-namespace/index.mjs";
|
|
4
4
|
import "@popperjs/core";
|
|
@@ -8,95 +8,90 @@ import "@vueuse/core";
|
|
|
8
8
|
import "@vue/shared";
|
|
9
9
|
import { getSizeType as S } from "../../utils/helper.mjs";
|
|
10
10
|
import { EmptyEnum as o } from "./constants.mjs";
|
|
11
|
-
|
|
12
|
-
import x from "./assets/no-data.png.mjs";
|
|
13
|
-
import V from "./assets/no-filter.png.mjs";
|
|
14
|
-
import $ from "./assets/no-page-data.png.mjs";
|
|
15
|
-
import b from "./assets/no-search.png.mjs";
|
|
16
|
-
const h = ["src"], m = (
|
|
11
|
+
const x = ["src"], s = (
|
|
17
12
|
/* hoist-static*/
|
|
18
13
|
k("empty")
|
|
19
|
-
),
|
|
20
|
-
name:
|
|
21
|
-
}),
|
|
22
|
-
...
|
|
14
|
+
), V = N({
|
|
15
|
+
name: s.b()
|
|
16
|
+
}), H = /* @__PURE__ */ N({
|
|
17
|
+
...V,
|
|
23
18
|
props: {
|
|
24
19
|
img: null,
|
|
25
20
|
type: { default: o.NO_DATA },
|
|
26
21
|
size: null,
|
|
27
22
|
desc: null
|
|
28
23
|
},
|
|
29
|
-
setup(
|
|
30
|
-
const
|
|
24
|
+
setup(n) {
|
|
25
|
+
const f = z(), t = (/* @__PURE__ */ new Map([
|
|
31
26
|
[
|
|
32
27
|
o.NO_COLLECT,
|
|
33
28
|
{
|
|
34
|
-
text: "暂无收藏记录"
|
|
35
|
-
img:
|
|
29
|
+
text: "暂无收藏记录"
|
|
30
|
+
// img: NoCollect
|
|
36
31
|
}
|
|
37
32
|
],
|
|
38
33
|
[
|
|
39
34
|
o.NO_PAGE_DATA,
|
|
40
35
|
{
|
|
41
36
|
text: "没有找到相关信息",
|
|
42
|
-
size: 300
|
|
43
|
-
img:
|
|
37
|
+
size: 300
|
|
38
|
+
// img: NoPageData
|
|
44
39
|
}
|
|
45
40
|
],
|
|
46
41
|
[
|
|
47
42
|
o.NO_DATA,
|
|
48
43
|
{
|
|
49
|
-
text: "暂无数据"
|
|
50
|
-
img:
|
|
44
|
+
text: "暂无数据"
|
|
45
|
+
// img: NoData
|
|
51
46
|
}
|
|
52
47
|
],
|
|
53
48
|
[
|
|
54
49
|
o.NO_FILTER,
|
|
55
50
|
{
|
|
56
|
-
text: "此筛选条件下无结果"
|
|
57
|
-
img:
|
|
51
|
+
text: "此筛选条件下无结果"
|
|
52
|
+
// img: NoFilter
|
|
58
53
|
}
|
|
59
54
|
],
|
|
60
55
|
[
|
|
61
56
|
o.NO_SEARCH,
|
|
62
57
|
{
|
|
63
|
-
text: "没有搜索结果"
|
|
64
|
-
img:
|
|
58
|
+
text: "没有搜索结果"
|
|
59
|
+
// img: NoSearch
|
|
65
60
|
}
|
|
66
61
|
]
|
|
67
|
-
])).get(
|
|
68
|
-
return (
|
|
69
|
-
var
|
|
70
|
-
return
|
|
71
|
-
class:
|
|
62
|
+
])).get(n.type), g = p(() => n.img || (t == null ? void 0 : t.img)), a = p(() => E(f, "desc", { defaultNode: t == null ? void 0 : t.text })), c = S(n.size);
|
|
63
|
+
return (m, b) => {
|
|
64
|
+
var d;
|
|
65
|
+
return l(), r("div", {
|
|
66
|
+
class: i([e(s).b(), e(c) ? e(s).m(e(c)) : ""])
|
|
72
67
|
}, [
|
|
73
|
-
|
|
74
|
-
class:
|
|
75
|
-
style:
|
|
68
|
+
T("div", {
|
|
69
|
+
class: i(e(s).e("image")),
|
|
70
|
+
style: C(e(c) ? {} : e(_)(((d = e(t)) == null ? void 0 : d.size) || n.size))
|
|
76
71
|
}, [
|
|
77
|
-
|
|
72
|
+
m.$slots.img ? u(m.$slots, "img", { key: 0 }) : (l(), r("img", {
|
|
78
73
|
key: 1,
|
|
79
|
-
src: e(
|
|
74
|
+
src: e(g),
|
|
80
75
|
alt: ""
|
|
81
|
-
}, null, 8,
|
|
76
|
+
}, null, 8, x))
|
|
82
77
|
], 6),
|
|
83
|
-
e(
|
|
78
|
+
e(a) ? (l(), r("span", {
|
|
84
79
|
key: 0,
|
|
85
|
-
class:
|
|
80
|
+
class: i(e(s).e("desc"))
|
|
86
81
|
}, [
|
|
87
|
-
A(e(O), { content: e(
|
|
88
|
-
], 2)) :
|
|
89
|
-
|
|
82
|
+
A(e(O), { content: e(a) }, null, 8, ["content"])
|
|
83
|
+
], 2)) : y("", !0),
|
|
84
|
+
m.$slots.default ? (l(), r("div", {
|
|
90
85
|
key: 1,
|
|
91
|
-
class:
|
|
86
|
+
class: i(e(s).e("bottom"))
|
|
92
87
|
}, [
|
|
93
|
-
u(
|
|
94
|
-
], 2)) :
|
|
88
|
+
u(m.$slots, "default")
|
|
89
|
+
], 2)) : y("", !0)
|
|
95
90
|
], 2);
|
|
96
91
|
};
|
|
97
92
|
}
|
|
98
93
|
});
|
|
99
94
|
export {
|
|
100
|
-
|
|
95
|
+
H as default
|
|
101
96
|
};
|
|
102
97
|
//# sourceMappingURL=empty.vue2.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"empty.vue2.mjs","sources":["../../../../../packages/components/empty/empty.vue"],"sourcesContent":["<script lang=\"ts\">\nconst ns = /* hoist-static*/ useNamespace('empty')\n\nimport { defineComponent as DO_defineComponent } from 'vue';\nexport default /*#__PURE__*/ DO_defineComponent({\n name: ns.b()\n});</script>\n<script setup lang=\"ts\">\nimport { renderTNode, setSize, VNode } from '@vft/utils';\nimport { useNamespace } from '@vft-ui/hooks';\nimport { getCurrentInstance, computed } from 'vue';\nimport type { ComponentSize } from '../types';\nimport { getSizeType } from '@vft-ui/utils';\nimport { EmptyEnum } from './constants';\n\
|
|
1
|
+
{"version":3,"file":"empty.vue2.mjs","sources":["../../../../../packages/components/empty/empty.vue"],"sourcesContent":["<script lang=\"ts\">\nconst ns = /* hoist-static*/ useNamespace('empty')\n\nimport { defineComponent as DO_defineComponent } from 'vue';\nexport default /*#__PURE__*/ DO_defineComponent({\n name: ns.b()\n});</script>\n<script setup lang=\"ts\">\nimport { renderTNode, setSize, VNode } from '@vft/utils';\nimport { useNamespace } from '@vft-ui/hooks';\nimport { getCurrentInstance, computed } from 'vue';\nimport type { ComponentSize } from '../types';\nimport { getSizeType } from '@vft-ui/utils';\nimport { EmptyEnum } from './constants';\n\n// import NoCollect from './assets/no-collect.png';\n// import NoData from './assets/no-data.png';\n// import NoFilter from './assets/no-filter.png';\n// import NoPageData from './assets/no-page-data.png';\n// import NoSearch from './assets/no-search.png';\n\ninterface EmptyProps {\n /** 图片类型或字符串 支持自定义 slot */\n img?: string;\n type?: EmptyEnum;\n /** 图片大小 */\n size?: ComponentSize | string | number[];\n /** 图片底部描述 支持自定义 slot */\n desc?: string;\n}\n\ndefineProps({\n \"img\": null,\n \"type\": { default: EmptyEnum.NO_DATA },\n \"size\": null,\n \"desc\": null\n})\n\n\n\n;\n\nconst instance = getCurrentInstance();\n\nconst imgTypeMap = new Map<EmptyEnum, {text: string; img: string; size?: EmptyProps['size']; descStyle?: Record<string, Numberish>}>([\n [\n\t\tEmptyEnum.NO_COLLECT,\n {\n text: '暂无收藏记录',\n // img: NoCollect\n }\n ],\n [\n\t\tEmptyEnum.NO_PAGE_DATA,\n {\n text: '没有找到相关信息',\n size: 300,\n // img: NoPageData\n }\n ],\n [\n\t\tEmptyEnum.NO_DATA,\n {\n text: '暂无数据',\n // img: NoData\n }\n ],\n [\n\t\tEmptyEnum.NO_FILTER,\n {\n text: '此筛选条件下无结果',\n // img: NoFilter\n }\n ],\n [\n\t\tEmptyEnum.NO_SEARCH,\n {\n text: '没有搜索结果',\n // img: NoSearch\n }\n ]\n]);\n\nconst imgInfos = imgTypeMap.get(__props.type);\n\nconst imgContent = computed(() => __props.img || imgInfos?.img);\n\nconst descContent = computed(() => renderTNode(instance, 'desc', { defaultNode: imgInfos?.text }));\n\nconst _sizeType = getSizeType(__props.size as string);\n</script>\n\n<template>\n <div :class=\"[ns.b(), _sizeType ? ns.m(_sizeType) : '']\">\n <div :class=\"ns.e('image')\" :style=\"_sizeType ? {} : setSize(imgInfos?.size || size)\">\n <slot v-if=\"$slots.img\" name=\"img\" />\n <img v-else :src=\"imgContent\" alt=\"\" />\n </div>\n <span :class=\"ns.e('desc')\" v-if=\"descContent\">\n <v-node :content=\"descContent\" />\n </span>\n <div v-if=\"$slots.default\" :class=\"ns.e('bottom')\">\n <slot />\n </div>\n </div>\n</template>\n"],"names":["ns","useNamespace","__default__","DO_defineComponent","instance","getCurrentInstance","imgInfos","EmptyEnum","__props","imgContent","computed","descContent","renderTNode","_sizeType","getSizeType"],"mappings":";;;;;;;;;;mBACMA;AAAA;AAAA,EAAuBC,EAAa,OAAO;AAAA,GAGjDC,IAA6BC,EAAmB;AAAA,EAC9C,MAAMH,EAAG,EAAE;AACb,CAAC;;;;;;;;;AAoCD,UAAMI,IAAWC,KAyCXC,yBAvCiB,IAA8G;AAAA,MACnI;AAAA,QACAC,EAAU;AAAA,QACR;AAAA,UACE,MAAM;AAAA;AAAA,QAER;AAAA,MACF;AAAA,MACA;AAAA,QACAA,EAAU;AAAA,QACR;AAAA,UACE,MAAM;AAAA,UACN,MAAM;AAAA;AAAA,QAER;AAAA,MACF;AAAA,MACA;AAAA,QACAA,EAAU;AAAA,QACR;AAAA,UACE,MAAM;AAAA;AAAA,QAER;AAAA,MACF;AAAA,MACA;AAAA,QACAA,EAAU;AAAA,QACR;AAAA,UACE,MAAM;AAAA;AAAA,QAER;AAAA,MACF;AAAA,MACA;AAAA,QACAA,EAAU;AAAA,QACR;AAAA,UACE,MAAM;AAAA;AAAA,QAER;AAAA,MACF;AAAA,IAAA,CACD,GAE2B,IAAIC,EAAQ,IAAI,GAEtCC,IAAaC,EAAS,MAAMF,EAAQ,QAAOF,KAAA,gBAAAA,EAAU,IAAG,GAExDK,IAAcD,EAAS,MAAME,EAAYR,GAAU,QAAQ,EAAE,aAAaE,KAAA,gBAAAA,EAAU,KAAK,CAAC,CAAC,GAE3FO,IAAYC,EAAYN,EAAQ,IAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import "
|
|
2
|
-
import "
|
|
1
|
+
import "vft/theme-style/src/base.scss";
|
|
2
|
+
import "vft/theme-style/src/empty.scss";
|
|
3
3
|
//# sourceMappingURL=index.mjs.map
|
|
@@ -4,8 +4,7 @@ import { useRouter as k } from "vue-router";
|
|
|
4
4
|
import { useRouterHelper as x } from "@vft/router";
|
|
5
5
|
import { useTabs as C } from "@vft/store";
|
|
6
6
|
import { VftResult as R } from "../result/index.mjs";
|
|
7
|
-
|
|
8
|
-
const E = /* @__PURE__ */ f({
|
|
7
|
+
const V = /* @__PURE__ */ f({
|
|
9
8
|
__name: "exception",
|
|
10
9
|
props: {
|
|
11
10
|
title: { default: "页面打不开?刷新下试试" },
|
|
@@ -18,9 +17,9 @@ const E = /* @__PURE__ */ f({
|
|
|
18
17
|
"title-font-size": "16px"
|
|
19
18
|
}, "result")
|
|
20
19
|
};
|
|
21
|
-
return (
|
|
20
|
+
return (d, t) => (n(), a(e(R), {
|
|
22
21
|
title: o.title,
|
|
23
|
-
icon: { icon:
|
|
22
|
+
icon: { icon: "ExceptionSrc", size: 350 },
|
|
24
23
|
style: p
|
|
25
24
|
}, {
|
|
26
25
|
extra: c(() => [
|
|
@@ -38,10 +37,10 @@ const E = /* @__PURE__ */ f({
|
|
|
38
37
|
}, "刷新页面")) : l("", !0)
|
|
39
38
|
]),
|
|
40
39
|
_: 1
|
|
41
|
-
}, 8, ["title"
|
|
40
|
+
}, 8, ["title"]));
|
|
42
41
|
}
|
|
43
42
|
});
|
|
44
43
|
export {
|
|
45
|
-
|
|
44
|
+
V as default
|
|
46
45
|
};
|
|
47
46
|
//# sourceMappingURL=exception.vue2.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"exception.vue2.mjs","sources":["../../../../../packages/components/exception/exception.vue"],"sourcesContent":["<script setup lang=\"ts\">\nimport { generateCssVars } from '@vft/utils';\nimport { useRouter } from 'vue-router';\nimport { useRouterHelper } from '@vft/router';\nimport { useTabs } from '@vft/store';\nimport
|
|
1
|
+
{"version":3,"file":"exception.vue2.mjs","sources":["../../../../../packages/components/exception/exception.vue"],"sourcesContent":["<script setup lang=\"ts\">\nimport { generateCssVars } from '@vft/utils';\nimport { useRouter } from 'vue-router';\nimport { useRouterHelper } from '@vft/router';\nimport { useTabs } from '@vft/store';\nimport { VftResult } from '@vft-ui/components/result';\n// import ExceptionSrc from './exception.png';\n\ninterface Props {\n title?: string;\n showRefresh?: boolean\n showHome?: boolean\n}\n\ndefineProps({\n \"title\": { default: '页面打不开?刷新下试试' },\n \"showRefresh\": { type: Boolean, default: true },\n \"showHome\": { type: Boolean, }\n})\n\nconst router = useRouter();\n\nconst { goRoot } = useRouterHelper(router);\nconst { refreshPage } = useTabs();\n\nconst initStyle = {\n ...generateCssVars({\n 'title-font-size': '16px'\n }, 'result')\n};\n</script>\n\n<template>\n <vft-result :title=\"title\" :icon=\"{icon: 'ExceptionSrc', size: 350}\" :style=\"initStyle\">\n <template #extra>\n <button v-if=\"showHome\" type=\"primary\" @click=\"goRoot\">返回主页</button>\n <button v-if=\"showRefresh\" type=\"primary\" @click=\"refreshPage\">刷新页面</button>\n </template>\n </vft-result>\n</template>\n"],"names":["router","useRouter","goRoot","useRouterHelper","refreshPage","useTabs","initStyle","generateCssVars"],"mappings":";;;;;;;;;;;;;;AAoBA,UAAMA,IAASC,KAET,EAAE,QAAAC,EAAA,IAAWC,EAAgBH,CAAM,GACnC,EAAE,aAAAI,MAAgBC,KAElBC,IAAY;AAAA,MAChB,GAAGC,EAAgB;AAAA,QACjB,mBAAmB;AAAA,SAClB,QAAQ;AAAA,IAAA;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import "
|
|
2
|
-
import "
|
|
1
|
+
import "vft/theme-style/src/base.scss";
|
|
2
|
+
import "vft/theme-style/src/footer-layout.scss";
|
|
3
3
|
//# sourceMappingURL=index.mjs.map
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import "
|
|
2
|
-
import "
|
|
1
|
+
import "vft/theme-style/src/base.scss";
|
|
2
|
+
import "vft/theme-style/src/full-screen.scss";
|
|
3
3
|
//# sourceMappingURL=index.mjs.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "
|
|
2
|
-
import "
|
|
3
|
-
import "
|
|
1
|
+
import "vft/theme-style/src/base.scss";
|
|
2
|
+
import "vft/theme-style/src/header-layout.scss";
|
|
3
|
+
import "vft/theme-style/src/logo.scss";
|
|
4
4
|
//# sourceMappingURL=index.mjs.map
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import "
|
|
2
|
-
import "
|
|
1
|
+
import "vft/theme-style/src/base.scss";
|
|
2
|
+
import "vft/theme-style/src/icon.scss";
|
|
3
3
|
//# sourceMappingURL=index.mjs.map
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import "
|
|
2
|
-
import "
|
|
1
|
+
import "vft/theme-style/src/base.scss";
|
|
2
|
+
import "vft/theme-style/src/icon-text.scss";
|
|
3
3
|
//# sourceMappingURL=index.mjs.map
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import "
|
|
2
|
-
import "
|
|
1
|
+
import "vft/theme-style/src/base.scss";
|
|
2
|
+
import "vft/theme-style/src/iframe-layout.scss";
|
|
3
3
|
//# sourceMappingURL=index.mjs.map
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import "
|
|
2
|
-
import "
|
|
1
|
+
import "vft/theme-style/src/base.scss";
|
|
2
|
+
import "vft/theme-style/src/image.scss";
|
|
3
3
|
//# sourceMappingURL=index.mjs.map
|
package/es/components/index.d.ts
CHANGED
|
@@ -3,7 +3,6 @@ export * from './icon';
|
|
|
3
3
|
export * from './avatar';
|
|
4
4
|
export * from './empty';
|
|
5
5
|
export * from './result';
|
|
6
|
-
export * from './exception';
|
|
7
6
|
export * from './tabs';
|
|
8
7
|
export * from './popper';
|
|
9
8
|
export * from './collapse-transition';
|
|
@@ -33,5 +32,6 @@ export * from './overlay';
|
|
|
33
32
|
export * from './clamp';
|
|
34
33
|
export * from './clamp-toggle';
|
|
35
34
|
export * from './page-wrapper';
|
|
35
|
+
export * from './exception';
|
|
36
36
|
export * from './message';
|
|
37
37
|
export * from './loading';
|