vft 0.0.90 → 0.0.92
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/comp-resolver.js +20 -29
- package/es/components/affix/affix.vue2.js +34 -34
- package/es/components/alert/alert.vue2.js +44 -44
- package/es/components/avatar/avatar.vue2.js +28 -28
- package/es/components/backtop/backtop.vue2.js +11 -11
- package/es/components/button/button-group.vue2.js +8 -8
- package/es/components/button/button.vue2.js +39 -39
- package/es/components/card/card.vue2.js +20 -20
- package/es/components/check-tag/check-tag.vue2.js +14 -14
- package/es/components/checkbox/checkbox-button.vue2.js +61 -61
- package/es/components/checkbox/checkbox-group.vue2.js +27 -27
- package/es/components/checkbox/checkbox.vue2.js +81 -81
- package/es/components/clamp/clamp.vue2.js +59 -59
- package/es/components/clamp-toggle/clamp-toggle.vue2.js +25 -25
- package/es/components/col/col.vue2.js +33 -33
- package/es/components/color-picker/color-picker.vue2.js +126 -126
- package/es/components/color-picker/components/alpha-slider.vue2.js +12 -12
- package/es/components/config-provider/config-provider.vue2.js +29 -29
- package/es/components/container/aside.vue2.js +9 -9
- package/es/components/container/container.vue2.js +11 -11
- package/es/components/container/footer.vue2.js +8 -8
- package/es/components/container/header.vue2.js +9 -9
- package/es/components/context-menu/context-menu.vue2.js +29 -29
- package/es/components/date-picker/date-picker-com/basic-date-table.vue2.js +53 -53
- package/es/components/date-picker/date-picker-com/basic-month-table.vue2.js +19 -19
- package/es/components/date-picker/date-picker-com/basic-year-table.vue2.js +32 -32
- package/es/components/date-picker/date-picker-com/panel-date-pick.vue2.js +168 -168
- package/es/components/date-picker/date-picker-com/panel-date-range.vue2.js +89 -89
- package/es/components/date-picker/date-picker-com/panel-month-range.vue2.js +38 -38
- package/es/components/descriptions/description-item.vue2.js +16 -16
- package/es/components/descriptions/description.vue2.js +54 -54
- package/es/components/descriptions/descriptions-row.vue2.js +24 -24
- package/es/components/dialog/dialog-content.vue2.js +30 -30
- package/es/components/dialog/dialog.vue2.js +64 -64
- package/es/components/divider/divider.vue2.js +20 -20
- package/es/components/dropdown/dropdown.vue.js +2 -127
- package/es/components/dropdown/dropdown.vue2.js +234 -181
- package/es/components/dropdown/index.js +10 -17
- package/es/components/dropdown/tokens.js +1 -1
- package/es/components/empty/empty.vue2.js +27 -27
- package/es/components/exception/exception.vue2.js +19 -19
- package/es/components/footer-layout/footer-layout.vue2.js +1 -1
- package/es/components/form/form-item.vue2.js +77 -77
- package/es/components/form/form.vue2.js +37 -37
- package/es/components/full-screen/full-screen.vue2.js +26 -15
- package/es/components/header-layout/header-layout.vue2.js +27 -27
- package/es/components/horizontal-menu/horizontal-menu.vue2.js +43 -43
- package/es/components/icon/icon.vue2.js +24 -24
- package/es/components/icon-text/icon-text.vue2.js +27 -27
- package/es/components/iframe-layout/iframe-layout.vue2.js +18 -18
- package/es/components/iframe-layout/iframe-page.vue2.js +11 -11
- package/es/components/image/image.vue2.js +73 -73
- package/es/components/image-viewer/image-viewer.vue2.js +109 -109
- package/es/components/index.js +95 -102
- package/es/components/input/input.vue2.js +175 -175
- package/es/components/link/link.vue2.js +27 -27
- package/es/components/list-cell/list-cell.vue2.js +8 -8
- package/es/components/logo/logo.vue2.js +27 -27
- package/es/components/md-container/md-container.vue2.js +1 -1
- package/es/components/md-vue-playground/md-vue-playground.vue2.js +16 -16
- package/es/components/menu/menu-item-group.vue2.js +15 -15
- package/es/components/menu/menu-item.vue2.js +56 -56
- package/es/components/menu/menu.vue2.js +20 -20
- package/es/components/menu/sub-menu.vue2.js +16 -16
- package/es/components/message/message.vue2.js +81 -81
- package/es/components/multiple-tabs/multiple-tabs.vue2.js +12 -12
- package/es/components/multiple-tabs/tab-content.vue2.js +16 -16
- package/es/components/overlay/overlay.vue2.js +14 -14
- package/es/components/page-wrapper/page-wrapper.vue2.js +12 -12
- package/es/components/pagination/components/jumper.vue2.js +22 -22
- package/es/components/pagination/components/next.vue2.js +12 -12
- package/es/components/pagination/components/pager.vue2.js +75 -75
- package/es/components/pagination/components/prev.vue2.js +13 -13
- package/es/components/pagination/components/sizes.vue2.js +11 -11
- package/es/components/pagination/components/total.vue2.js +8 -8
- package/es/components/pagination/pagination.vue2.js +28 -28
- package/es/components/popconfirm/popconfirm.vue2.js +50 -50
- package/es/components/popover/popover.vue2.js +44 -44
- package/es/components/popper/arrow.vue2.js +2 -2
- package/es/components/popper/content.vue2.js +34 -34
- package/es/components/popper/popper.vue2.js +5 -5
- package/es/components/popper/trigger.vue2.js +48 -48
- package/es/components/qrcode/qrcode.vue2.js +35 -35
- package/es/components/radio/radio-button.vue2.js +28 -28
- package/es/components/radio/radio-group.vue2.js +26 -26
- package/es/components/radio/radio.vue2.js +44 -44
- package/es/components/result/result.vue2.js +10 -10
- package/es/components/router-view-content/router-view-content.vue2.js +20 -20
- package/es/components/row/row.vue2.js +19 -19
- package/es/components/scrollbar/bar.vue2.js +19 -19
- package/es/components/scrollbar/scrollbar.vue2.js +67 -67
- package/es/components/scrollbar/thumb.vue2.js +41 -41
- package/es/components/search/search.vue2.js +65 -65
- package/es/components/side-menu/side-menu.vue2.js +36 -36
- package/es/components/skeleton/skeleton-item.vue2.js +13 -13
- package/es/components/skeleton/skeleton.vue2.js +19 -19
- package/es/components/switch/switch.vue2.js +128 -128
- package/es/components/table/table.vue2.js +70 -70
- package/es/components/tabs/tab-bar.vue2.js +15 -15
- package/es/components/tabs/tab-nav.vue2.js +33 -33
- package/es/components/tabs/tab-pane.vue2.js +21 -21
- package/es/components/tabs/tabs.vue2.js +64 -66
- package/es/components/tag/tag.vue2.js +7 -7
- package/es/components/time-picker/common/picker.vue2.js +14 -14
- package/es/components/time-picker/time-picker-com/basic-time-spinner.vue2.js +60 -60
- package/es/components/time-picker/time-picker-com/panel-time-pick.vue2.js +30 -30
- package/es/components/time-picker/time-picker-com/panel-time-range.vue2.js +57 -57
- package/es/components/time-select/time-select.vue2.js +29 -29
- package/es/components/tooltip/constants.js +1 -1
- package/es/components/tooltip/content.vue2.js +73 -73
- package/es/components/tooltip/tooltip.vue2.js +91 -91
- package/es/components/tooltip/trigger.vue2.js +33 -33
- package/es/components/verify-code/verify-code.vue2.js +25 -25
- package/es/index.js +120 -127
- package/es/package.json.js +1 -1
- package/lib/comp-resolver.cjs +1 -1
- package/lib/components/affix/affix.vue2.cjs +1 -1
- package/lib/components/alert/alert.vue2.cjs +1 -1
- package/lib/components/avatar/avatar.vue2.cjs +1 -1
- package/lib/components/backtop/backtop.vue2.cjs +1 -1
- package/lib/components/button/button-group.vue2.cjs +1 -1
- package/lib/components/button/button.vue2.cjs +1 -1
- package/lib/components/card/card.vue2.cjs +1 -1
- package/lib/components/check-tag/check-tag.vue2.cjs +1 -1
- package/lib/components/checkbox/checkbox-button.vue2.cjs +1 -1
- package/lib/components/checkbox/checkbox-group.vue2.cjs +1 -1
- package/lib/components/checkbox/checkbox.vue2.cjs +1 -1
- package/lib/components/clamp/clamp.vue2.cjs +1 -1
- package/lib/components/clamp-toggle/clamp-toggle.vue2.cjs +1 -1
- package/lib/components/col/col.vue2.cjs +1 -1
- package/lib/components/color-picker/color-picker.vue2.cjs +1 -1
- package/lib/components/color-picker/components/alpha-slider.vue2.cjs +1 -1
- package/lib/components/config-provider/config-provider.vue2.cjs +1 -1
- package/lib/components/container/aside.vue2.cjs +1 -1
- package/lib/components/container/container.vue2.cjs +1 -1
- package/lib/components/container/footer.vue2.cjs +1 -1
- package/lib/components/container/header.vue2.cjs +1 -1
- package/lib/components/context-menu/context-menu.vue2.cjs +1 -1
- package/lib/components/date-picker/date-picker-com/basic-date-table.vue2.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-picker/date-picker-com/panel-month-range.vue2.cjs +1 -1
- package/lib/components/descriptions/description-item.vue2.cjs +1 -1
- package/lib/components/descriptions/description.vue2.cjs +1 -1
- package/lib/components/descriptions/descriptions-row.vue2.cjs +1 -1
- package/lib/components/dialog/dialog-content.vue2.cjs +1 -1
- package/lib/components/dialog/dialog.vue2.cjs +1 -1
- package/lib/components/divider/divider.vue2.cjs +1 -1
- package/lib/components/dropdown/dropdown.vue.cjs +1 -1
- package/lib/components/dropdown/dropdown.vue2.cjs +1 -1
- package/lib/components/dropdown/index.cjs +1 -1
- package/lib/components/dropdown/tokens.cjs +1 -1
- package/lib/components/empty/empty.vue2.cjs +1 -1
- package/lib/components/exception/exception.vue2.cjs +1 -1
- package/lib/components/footer-layout/footer-layout.vue2.cjs +1 -1
- package/lib/components/form/form-item.vue2.cjs +1 -1
- package/lib/components/form/form.vue2.cjs +1 -1
- package/lib/components/full-screen/full-screen.vue2.cjs +1 -1
- package/lib/components/header-layout/header-layout.vue2.cjs +1 -1
- package/lib/components/horizontal-menu/horizontal-menu.vue2.cjs +1 -1
- package/lib/components/icon/icon.vue2.cjs +1 -1
- package/lib/components/icon-text/icon-text.vue2.cjs +1 -1
- package/lib/components/iframe-layout/iframe-layout.vue2.cjs +1 -1
- package/lib/components/iframe-layout/iframe-page.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/input/input.vue2.cjs +1 -1
- package/lib/components/link/link.vue2.cjs +1 -1
- package/lib/components/list-cell/list-cell.vue2.cjs +1 -1
- package/lib/components/logo/logo.vue2.cjs +1 -1
- package/lib/components/md-container/md-container.vue2.cjs +1 -1
- package/lib/components/md-vue-playground/md-vue-playground.vue2.cjs +1 -1
- package/lib/components/menu/menu-item-group.vue2.cjs +1 -1
- package/lib/components/menu/menu-item.vue2.cjs +1 -1
- package/lib/components/menu/menu.vue2.cjs +1 -1
- package/lib/components/menu/sub-menu.vue2.cjs +1 -1
- package/lib/components/message/message.vue2.cjs +1 -1
- package/lib/components/multiple-tabs/multiple-tabs.vue2.cjs +1 -1
- package/lib/components/multiple-tabs/tab-content.vue2.cjs +1 -1
- package/lib/components/overlay/overlay.vue2.cjs +1 -1
- package/lib/components/page-wrapper/page-wrapper.vue2.cjs +1 -1
- package/lib/components/pagination/components/jumper.vue2.cjs +1 -1
- package/lib/components/pagination/components/next.vue2.cjs +1 -1
- package/lib/components/pagination/components/pager.vue2.cjs +1 -1
- package/lib/components/pagination/components/prev.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/pagination/pagination.vue2.cjs +1 -1
- package/lib/components/popconfirm/popconfirm.vue2.cjs +1 -1
- package/lib/components/popover/popover.vue2.cjs +1 -1
- package/lib/components/popper/arrow.vue2.cjs +1 -1
- package/lib/components/popper/content.vue2.cjs +1 -1
- package/lib/components/popper/trigger.vue2.cjs +1 -1
- package/lib/components/qrcode/qrcode.vue2.cjs +1 -1
- package/lib/components/radio/radio-button.vue2.cjs +1 -1
- package/lib/components/radio/radio-group.vue2.cjs +1 -1
- package/lib/components/radio/radio.vue2.cjs +1 -1
- package/lib/components/result/result.vue2.cjs +1 -1
- package/lib/components/router-view-content/router-view-content.vue2.cjs +1 -1
- package/lib/components/row/row.vue2.cjs +1 -1
- package/lib/components/scrollbar/bar.vue2.cjs +1 -1
- package/lib/components/scrollbar/scrollbar.vue2.cjs +1 -1
- package/lib/components/scrollbar/thumb.vue2.cjs +1 -1
- package/lib/components/search/search.vue2.cjs +1 -1
- package/lib/components/side-menu/side-menu.vue2.cjs +1 -1
- package/lib/components/skeleton/skeleton-item.vue2.cjs +1 -1
- package/lib/components/skeleton/skeleton.vue2.cjs +1 -1
- package/lib/components/switch/switch.vue2.cjs +1 -1
- package/lib/components/table/table.vue2.cjs +1 -1
- package/lib/components/tabs/tab-bar.vue2.cjs +1 -1
- package/lib/components/tabs/tab-nav.vue2.cjs +1 -1
- package/lib/components/tabs/tab-pane.vue2.cjs +1 -1
- package/lib/components/tabs/tabs.vue2.cjs +1 -1
- package/lib/components/tag/tag.vue2.cjs +1 -1
- package/lib/components/time-picker/common/picker.vue2.cjs +1 -1
- package/lib/components/time-picker/time-picker-com/basic-time-spinner.vue2.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/time-select/time-select.vue2.cjs +1 -1
- package/lib/components/tooltip/constants.cjs +1 -1
- package/lib/components/tooltip/content.vue2.cjs +1 -1
- package/lib/components/tooltip/tooltip.vue2.cjs +1 -1
- package/lib/components/tooltip/trigger.vue2.cjs +1 -1
- package/lib/components/verify-code/verify-code.vue2.cjs +1 -1
- package/lib/index.cjs +1 -1
- package/lib/package.json.cjs +1 -1
- package/package.json +8 -8
- package/web-types.json +1 -1
- package/theme-style/vft-back-top.css +0 -1
package/es/index.js
CHANGED
|
@@ -3,16 +3,16 @@ import { VftDivider as m } from "./components/divider/index.js";
|
|
|
3
3
|
import { VftIcon as x, VftIcon as i } from "./components/icon/index.js";
|
|
4
4
|
import { VftAvatar as n } from "./components/avatar/index.js";
|
|
5
5
|
import { VftEmpty as V } from "./components/empty/index.js";
|
|
6
|
-
import { VftResult as
|
|
7
|
-
import { VftTabPane as
|
|
6
|
+
import { VftResult as d } from "./components/result/index.js";
|
|
7
|
+
import { VftTabPane as g, VftTabs as C } from "./components/tabs/index.js";
|
|
8
8
|
import { VftPopper as I } from "./components/popper/index.js";
|
|
9
9
|
import { VftCollapseTransition as P } from "./components/collapse-transition/index.js";
|
|
10
10
|
import { VftTooltip as S } from "./components/tooltip/index.js";
|
|
11
11
|
import { VftPopover as b } from "./components/popover/index.js";
|
|
12
12
|
import { VftMenu as F, VftMenuItem as N, VftMenuItemGroup as _, VftSubMenu as K } from "./components/menu/index.js";
|
|
13
|
-
import { createContextMenu as
|
|
13
|
+
import { createContextMenu as L, destroyContextMenu as O } from "./components/context-menu/createContextMenu.js";
|
|
14
14
|
import { useContextMenu as R } from "./components/context-menu/useContextMenu.js";
|
|
15
|
-
import { VftMultipleTabs as
|
|
15
|
+
import { VftMultipleTabs as h } from "./components/multiple-tabs/index.js";
|
|
16
16
|
import { VftHeaderLayout as z } from "./components/header-layout/index.js";
|
|
17
17
|
import { VftFooterLayout as Y } from "./components/footer-layout/index.js";
|
|
18
18
|
import { VftIframeLayout as H } from "./components/iframe-layout/index.js";
|
|
@@ -25,8 +25,8 @@ import { VftDescriptions as me, VftDescriptionsItem as ae } from "./components/d
|
|
|
25
25
|
import { VftFullScreen as ie } from "./components/full-screen/index.js";
|
|
26
26
|
import { VftIconText as ne } from "./components/icon-text/index.js";
|
|
27
27
|
import { VftImage as Ve } from "./components/image/index.js";
|
|
28
|
-
import { VftInput as
|
|
29
|
-
import { VftLink as
|
|
28
|
+
import { VftInput as de } from "./components/input/index.js";
|
|
29
|
+
import { VftLink as ge } from "./components/link/index.js";
|
|
30
30
|
import { VftPagination as Te } from "./components/pagination/index.js";
|
|
31
31
|
import { VftTag as Ee } from "./components/tag/index.js";
|
|
32
32
|
import { VftSideMenu as De } from "./components/side-menu/index.js";
|
|
@@ -34,9 +34,9 @@ import { VftQrcode as ye } from "./components/qrcode/index.js";
|
|
|
34
34
|
import { VftOverlay as Me } from "./components/overlay/index.js";
|
|
35
35
|
import { VftClamp as Ne } from "./components/clamp/index.js";
|
|
36
36
|
import { VftClampToggle as Ke } from "./components/clamp-toggle/index.js";
|
|
37
|
-
import { VftPageWrapper as
|
|
37
|
+
import { VftPageWrapper as Le } from "./components/page-wrapper/index.js";
|
|
38
38
|
import { VftException as Ae } from "./components/exception/index.js";
|
|
39
|
-
import { VftSearch as
|
|
39
|
+
import { VftSearch as ke } from "./components/search/index.js";
|
|
40
40
|
import { VftForm as we, VftFormItem as ze } from "./components/form/index.js";
|
|
41
41
|
import { VftButton as Ye, VftButtonGroup as Be } from "./components/button/index.js";
|
|
42
42
|
import { VftCheckbox as Je, VftCheckboxButton as Ue, VftCheckboxGroup as We } from "./components/checkbox/index.js";
|
|
@@ -49,14 +49,14 @@ import { default as io } from "./components/virtual-list/components/fixed-size-l
|
|
|
49
49
|
import { default as no } from "./components/virtual-list/components/dynamic-size-list.js";
|
|
50
50
|
import { default as Vo } from "./components/virtual-list/components/fixed-size-grid.js";
|
|
51
51
|
import { default as co } from "./components/virtual-list/components/dynamic-size-grid.js";
|
|
52
|
-
import { virtualizedGridProps as
|
|
52
|
+
import { virtualizedGridProps as Co, virtualizedListProps as To, virtualizedProps as Io, virtualizedScrollbarProps as Eo } from "./components/virtual-list/props.js";
|
|
53
53
|
import { VftSelectV2 as Do } from "./components/select-v2/index.js";
|
|
54
54
|
import { VftOption as yo, VftOptionGroup as bo, VftSelect as Mo } from "./components/select/index.js";
|
|
55
55
|
import { VftTreeSelect as No } from "./components/tree-select/index.js";
|
|
56
56
|
import { VftVerifyCode as Ko } from "./components/verify-code/index.js";
|
|
57
|
-
import { VftTable as
|
|
57
|
+
import { VftTable as Lo } from "./components/table/index.js";
|
|
58
58
|
import { VftImageViewer as Ao } from "./components/image-viewer/index.js";
|
|
59
|
-
import { VftListCell as
|
|
59
|
+
import { VftListCell as ko } from "./components/list-cell/index.js";
|
|
60
60
|
import { VftDialog as wo } from "./components/dialog/index.js";
|
|
61
61
|
import { VftDateTimeSelect as Go } from "./components/date-time-select/index.js";
|
|
62
62
|
import { VftCol as Bo } from "./components/col/index.js";
|
|
@@ -71,17 +71,17 @@ import { VftSpace as mr } from "./components/space/index.js";
|
|
|
71
71
|
import { VftCard as xr } from "./components/card/index.js";
|
|
72
72
|
import { VftPopconfirm as sr } from "./components/popconfirm/index.js";
|
|
73
73
|
import { VftAlert as lr } from "./components/alert/index.js";
|
|
74
|
-
import { VftMdContainer as
|
|
74
|
+
import { VftMdContainer as ur } from "./components/md-container/index.js";
|
|
75
75
|
import { VftMdComment as cr } from "./components/md-comment/index.js";
|
|
76
|
-
import { VftMdTabs as
|
|
76
|
+
import { VftMdTabs as Cr } from "./components/md-tabs/index.js";
|
|
77
77
|
import { VftMdVuePlayground as Ir } from "./components/md-vue-playground/index.js";
|
|
78
78
|
import { VftMdCodeDemo as Pr } from "./components/md-code-demo/index.js";
|
|
79
79
|
import { VftMdCodeTabs as Sr } from "./components/md-code-tabs/index.js";
|
|
80
80
|
import { VftMessage as br, VftMessage as Mr } from "./components/message/index.js";
|
|
81
81
|
import { VftLoading as Nr } from "./components/loading/index.js";
|
|
82
82
|
import { EVENT_CODE as Kr } from "./constants/aria.js";
|
|
83
|
-
import { WEEK_DAYS as
|
|
84
|
-
import { CHANGE_EVENT as Rr, INPUT_EVENT as
|
|
83
|
+
import { WEEK_DAYS as Lr, datePickTypes as Or } from "./constants/date.js";
|
|
84
|
+
import { CHANGE_EVENT as Rr, INPUT_EVENT as kr, UPDATE_MODEL_EVENT as hr } from "./constants/event.js";
|
|
85
85
|
import { INSTALLED_KEY as zr } from "./constants/key.js";
|
|
86
86
|
import { componentSizeMap as Yr, componentSizes as Br } from "./constants/size.js";
|
|
87
87
|
import { _bem as Jr, defaultNamespace as Ur, namespaceContextKey as Wr, useGetDerivedNamespace as jr, useNamespace as Zr } from "./hooks/use-namespace/index.js";
|
|
@@ -90,30 +90,30 @@ import { usePopper as $r } from "./hooks/use-popper/index.js";
|
|
|
90
90
|
import { defaultInitialZIndex as ot, useZIndex as rt, zIndexContextKey as tt } from "./hooks/use-z-index/index.js";
|
|
91
91
|
import { FORWARD_REF_INJECTION_KEY as pt, useForwardRef as mt, useForwardRefDirective as at } from "./hooks/use-forward-ref/index.js";
|
|
92
92
|
import { ID_INJECTION_KEY as it, useId as st, useIdInjection as nt } from "./hooks/use-id/index.js";
|
|
93
|
-
import { usePopperContainer as Vt, usePopperContainerId as
|
|
93
|
+
import { usePopperContainer as Vt, usePopperContainerId as ut } from "./hooks/use-popper-container/index.js";
|
|
94
94
|
import { useDelayedToggle as ct } from "./hooks/use-delayed-toggle/index.js";
|
|
95
|
-
import { useTimeout as
|
|
95
|
+
import { useTimeout as Ct } from "./hooks/use-timeout/index.js";
|
|
96
96
|
import { useOrderedChildren as It } from "./hooks/use-ordered-children/index.js";
|
|
97
97
|
import { createModelToggleComposable as Pt, useModelToggle as Dt, useModelToggleEmits as St } from "./hooks/use-model-toggle/index.js";
|
|
98
98
|
import { useProp as bt } from "./hooks/use-prop/index.js";
|
|
99
99
|
import { SIZE_INJECTION_KEY as Ft, useGlobalSize as Nt } from "./hooks/use-size/index.js";
|
|
100
100
|
import { useDraggable as Kt } from "./hooks/use-draggable/index.js";
|
|
101
|
-
import { useLockscreen as
|
|
101
|
+
import { useLockscreen as Lt } from "./hooks/use-lockscreen/index.js";
|
|
102
102
|
import { useSameTarget as At } from "./hooks/use-same-target/index.js";
|
|
103
|
-
import { useThrottleRender as
|
|
103
|
+
import { useThrottleRender as kt } from "./hooks/use-throttle-render/index.js";
|
|
104
104
|
import { useFocus as wt } from "./hooks/use-focus/index.js";
|
|
105
105
|
import { withInstall as Gt, withInstallDirective as Yt, withInstallFunction as Bt, withNoopInstall as Ht } from "./utils/vue/install.js";
|
|
106
106
|
import { PatchFlags as Ut, ensureOnlyChild as Wt, flattedChildren as jt, getFirstValidNode as Zt, getNormalizedProps as qt, isComment as Xt, isFragment as Qt, isTemplate as $t, isText as ef, isValidElementNode as of, renderBlock as rf, renderIf as tf } from "./utils/vue/vnode.js";
|
|
107
107
|
import { composeRefs as pf } from "./utils/vue/refs.js";
|
|
108
108
|
import { buildProp as af, buildProps as xf, definePropType as sf, epPropKey as nf, isEpProp as lf } from "./utils/vue/props/runtime.js";
|
|
109
|
-
import { cAF as
|
|
110
|
-
import { escapeStringRegexp as
|
|
109
|
+
import { cAF as uf, rAF as df } from "./utils/vue/raf.js";
|
|
110
|
+
import { escapeStringRegexp as gf } from "./utils/vue/data-helper.js";
|
|
111
111
|
import { getComponentSize as Tf, getSizeType as If, isValidComponentSize as Ef } from "./utils/helper.js";
|
|
112
112
|
import { debugWarn as Df, throwError as Sf } from "./utils/error.js";
|
|
113
113
|
import { composeEventHandlers as bf, whenMouse as Mf } from "./utils/event.js";
|
|
114
114
|
import { mutable as Nf } from "./utils/typescript.js";
|
|
115
|
-
import { cssVarValue as Kf, generateCssVars as vf, primaryColor as
|
|
116
|
-
import { getProp as
|
|
115
|
+
import { cssVarValue as Kf, generateCssVars as vf, primaryColor as Lf, setCssVar as Of, setPrimaryColorCssvars as Af } from "./utils/ns-cover.js";
|
|
116
|
+
import { getProp as kf } from "./utils/objects.js";
|
|
117
117
|
import { getClientXY as wf, getOffsetTop as zf, getOffsetTopDistance as Gf, isInContainer as Yf } from "./utils/dom/position.js";
|
|
118
118
|
import { getScrollBarWidth as Hf, getScrollContainer as Jf, isScroll as Uf, scrollIntoView as Wf } from "./utils/dom/scroll.js";
|
|
119
119
|
import { makeInstaller as Zf } from "./make-installer.js";
|
|
@@ -126,53 +126,50 @@ import { default as ap } from "./components/popper/trigger.vue2.js";
|
|
|
126
126
|
import { default as ip } from "./components/popper/content.vue2.js";
|
|
127
127
|
import { TOOLTIP_INJECTION_KEY as np } from "./components/tooltip/constants.js";
|
|
128
128
|
import { useTabDropdown as Vp } from "./components/multiple-tabs/use/use-tab-dropdown.js";
|
|
129
|
-
import { initAffixTabs as
|
|
130
|
-
import { configProviderContextKey as
|
|
129
|
+
import { initAffixTabs as dp, useTabsDrag as cp } from "./components/multiple-tabs/use/use-multiple-tabs.js";
|
|
130
|
+
import { configProviderContextKey as Cp, messageConfig as Tp } from "./components/config-provider/constants.js";
|
|
131
131
|
import { provideGlobalConfig as Ep, useGlobalComponentSettings as Pp, useGlobalConfig as Dp } from "./components/config-provider/hooks/use-global-config.js";
|
|
132
132
|
import { usePagination as yp, vftPaginationKey as bp } from "./components/pagination/usePagination.js";
|
|
133
133
|
import { formItemValidateStates as Fp } from "./components/form/types.js";
|
|
134
134
|
import { formContextKey as _p, formItemContextKey as Kp } from "./components/form/constants.js";
|
|
135
|
-
import { useDisabled as
|
|
136
|
-
import { useFormItem as
|
|
135
|
+
import { useDisabled as Lp, useFormDisabled as Op, useFormSize as Ap, useSize as Rp } from "./components/form/hooks/use-form-common-props.js";
|
|
136
|
+
import { useFormItem as hp, useFormItemInputId as wp } from "./components/form/hooks/use-form-item.js";
|
|
137
137
|
import { buttonGroupContextKey as Gp } from "./components/button/constants.js";
|
|
138
138
|
import { checkboxGroupContextKey as Bp } from "./components/checkbox/constants.js";
|
|
139
139
|
import { radioGroupKey as Jp } from "./components/radio/constants.js";
|
|
140
140
|
import { BAR_MAP as Wp, GAP as jp, renderThumbStyle as Zp } from "./components/scrollbar/util.js";
|
|
141
141
|
import { scrollbarContextKey as Xp } from "./components/scrollbar/constants.js";
|
|
142
142
|
import { DROPDOWN_INJECTION_KEY as $p } from "./components/dropdown/tokens.js";
|
|
143
|
-
import {
|
|
144
|
-
import {
|
|
145
|
-
import {
|
|
146
|
-
import {
|
|
147
|
-
import {
|
|
148
|
-
import {
|
|
149
|
-
import {
|
|
150
|
-
import {
|
|
151
|
-
import {
|
|
152
|
-
import {
|
|
153
|
-
import {
|
|
154
|
-
import {
|
|
155
|
-
import {
|
|
156
|
-
import {
|
|
157
|
-
import {
|
|
158
|
-
import {
|
|
159
|
-
import {
|
|
160
|
-
import {
|
|
161
|
-
import {
|
|
162
|
-
import {
|
|
163
|
-
import {
|
|
164
|
-
import { messageDefaults as fa, messageTypes as pa } from "./components/message/types.js";
|
|
165
|
-
import { vLoading as aa, createLoadingDirective as xa, vLoading as ia } from "./components/loading/directive.js";
|
|
166
|
-
import { Loading as na } from "./components/loading/service.js";
|
|
143
|
+
import { selectV2InjectionKey as om } from "./components/select-v2/token.js";
|
|
144
|
+
import { selectGroupKey as tm, selectKey as fm } from "./components/select/token.js";
|
|
145
|
+
import { INDEX as mm } from "./components/table/columns.js";
|
|
146
|
+
import { useDialog as xm } from "./components/dialog/hooks/use-dialog.js";
|
|
147
|
+
import { dialogInjectionKey as sm } from "./components/dialog/constants.js";
|
|
148
|
+
import { rowContextKey as lm } from "./components/row/constants.js";
|
|
149
|
+
import { MenuTypeEnum as um } from "./components/horizontal-menu/constants.js";
|
|
150
|
+
import { buildTimeList as cm, dateEquals as gm, extractDateFormat as Cm, extractTimeFormat as Tm, formatter as Im, makeList as Em, parseDate as Pm, rangeArr as Dm, valueEquals as Sm } from "./components/time-picker/utils.js";
|
|
151
|
+
import { DEFAULT_FORMATS_DATE as bm, DEFAULT_FORMATS_DATEPICKER as Mm, DEFAULT_FORMATS_TIME as Fm, timeUnits as Nm } from "./components/time-picker/constants.js";
|
|
152
|
+
import { timePickerDefaultProps as Km } from "./components/time-picker/common/props.js";
|
|
153
|
+
import { default as Lm } from "./components/time-picker/common/picker.vue2.js";
|
|
154
|
+
import { default as Am } from "./components/time-picker/time-picker-com/panel-time-pick.vue2.js";
|
|
155
|
+
import { ROOT_PICKER_INJECTION_KEY as km, datePickerConfig as hm } from "./components/date-picker/constants.js";
|
|
156
|
+
import { datePickerProps as zm } from "./components/date-picker/props/date-picker.js";
|
|
157
|
+
import { dragEventsKey as Ym, useDragNodeHandler as Bm } from "./components/tree/model/useDragNode.js";
|
|
158
|
+
import { getChildState as Jm } from "./components/tree/model/node.js";
|
|
159
|
+
import { spaceProps as Wm } from "./components/space/space.js";
|
|
160
|
+
import { useSpace as Zm } from "./components/space/use-space.js";
|
|
161
|
+
import { messageDefaults as Xm, messageTypes as Qm } from "./components/message/types.js";
|
|
162
|
+
import { vLoading as ea, createLoadingDirective as oa, vLoading as ra } from "./components/loading/directive.js";
|
|
163
|
+
import { Loading as fa } from "./components/loading/service.js";
|
|
167
164
|
const r = e.install, t = e.version;
|
|
168
165
|
export {
|
|
169
166
|
Wp as BAR_MAP,
|
|
170
167
|
Rr as CHANGE_EVENT,
|
|
171
|
-
|
|
168
|
+
Lm as CommonPicker,
|
|
172
169
|
Xf as CompResolver,
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
170
|
+
bm as DEFAULT_FORMATS_DATE,
|
|
171
|
+
Mm as DEFAULT_FORMATS_DATEPICKER,
|
|
172
|
+
Fm as DEFAULT_FORMATS_TIME,
|
|
176
173
|
$p as DROPDOWN_INJECTION_KEY,
|
|
177
174
|
co as DynamicSizeGrid,
|
|
178
175
|
no as DynamicSizeList,
|
|
@@ -183,19 +180,19 @@ export {
|
|
|
183
180
|
io as FixedSizeList,
|
|
184
181
|
jp as GAP,
|
|
185
182
|
it as ID_INJECTION_KEY,
|
|
186
|
-
|
|
187
|
-
|
|
183
|
+
mm as INDEX,
|
|
184
|
+
kr as INPUT_EVENT,
|
|
188
185
|
zr as INSTALLED_KEY,
|
|
189
186
|
x as Icon,
|
|
190
|
-
|
|
187
|
+
um as MenuTypeEnum,
|
|
191
188
|
br as Message,
|
|
192
189
|
Ut as PatchFlags,
|
|
193
|
-
|
|
190
|
+
km as ROOT_PICKER_INJECTION_KEY,
|
|
194
191
|
Ft as SIZE_INJECTION_KEY,
|
|
195
192
|
np as TOOLTIP_INJECTION_KEY,
|
|
196
193
|
tp as TabsRootContextKey,
|
|
197
|
-
|
|
198
|
-
|
|
194
|
+
Am as TimePickPanel,
|
|
195
|
+
hr as UPDATE_MODEL_EVENT,
|
|
199
196
|
lr as VftAlert,
|
|
200
197
|
Q as VftAside,
|
|
201
198
|
n as VftAvatar,
|
|
@@ -221,10 +218,7 @@ export {
|
|
|
221
218
|
wo as VftDialog,
|
|
222
219
|
m as VftDivider,
|
|
223
220
|
po as VftDropdown,
|
|
224
|
-
om as VftDropdownCollection,
|
|
225
|
-
rm as VftDropdownCollectionItem,
|
|
226
221
|
mo as VftDropdownItem,
|
|
227
|
-
mm as VftDropdownItemImpl,
|
|
228
222
|
ao as VftDropdownMenu,
|
|
229
223
|
V as VftEmpty,
|
|
230
224
|
Ae as VftException,
|
|
@@ -241,30 +235,29 @@ export {
|
|
|
241
235
|
H as VftIframeLayout,
|
|
242
236
|
Ve as VftImage,
|
|
243
237
|
Ao as VftImageViewer,
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
238
|
+
de as VftInput,
|
|
239
|
+
ge as VftLink,
|
|
240
|
+
ko as VftListCell,
|
|
247
241
|
Nr as VftLoading,
|
|
248
|
-
|
|
249
|
-
|
|
242
|
+
ea as VftLoadingDirective,
|
|
243
|
+
fa as VftLoadingService,
|
|
250
244
|
j as VftLogo,
|
|
251
245
|
re as VftMain,
|
|
252
246
|
Pr as VftMdCodeDemo,
|
|
253
247
|
Sr as VftMdCodeTabs,
|
|
254
248
|
cr as VftMdComment,
|
|
255
|
-
|
|
256
|
-
|
|
249
|
+
ur as VftMdContainer,
|
|
250
|
+
Cr as VftMdTabs,
|
|
257
251
|
Ir as VftMdVuePlayground,
|
|
258
252
|
F as VftMenu,
|
|
259
253
|
N as VftMenuItem,
|
|
260
254
|
_ as VftMenuItemGroup,
|
|
261
255
|
Mr as VftMessage,
|
|
262
|
-
|
|
263
|
-
fm as VftOnlyChild,
|
|
256
|
+
h as VftMultipleTabs,
|
|
264
257
|
yo as VftOption,
|
|
265
258
|
bo as VftOptionGroup,
|
|
266
259
|
Me as VftOverlay,
|
|
267
|
-
|
|
260
|
+
Le as VftPageWrapper,
|
|
268
261
|
Te as VftPagination,
|
|
269
262
|
sr as VftPopconfirm,
|
|
270
263
|
b as VftPopover,
|
|
@@ -276,11 +269,11 @@ export {
|
|
|
276
269
|
Ze as VftRadio,
|
|
277
270
|
qe as VftRadioButton,
|
|
278
271
|
Xe as VftRadioGroup,
|
|
279
|
-
|
|
272
|
+
d as VftResult,
|
|
280
273
|
U as VftRouterViewContent,
|
|
281
274
|
Jo as VftRow,
|
|
282
275
|
to as VftScrollbar,
|
|
283
|
-
|
|
276
|
+
ke as VftSearch,
|
|
284
277
|
Mo as VftSelect,
|
|
285
278
|
Do as VftSelectV2,
|
|
286
279
|
De as VftSideMenu,
|
|
@@ -289,68 +282,68 @@ export {
|
|
|
289
282
|
mr as VftSpace,
|
|
290
283
|
K as VftSubMenu,
|
|
291
284
|
$e as VftSwitch,
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
285
|
+
g as VftTabPane,
|
|
286
|
+
Lo as VftTable,
|
|
287
|
+
C as VftTabs,
|
|
295
288
|
Ee as VftTag,
|
|
296
289
|
Zo as VftTimePicker,
|
|
297
290
|
S as VftTooltip,
|
|
298
291
|
or as VftTree,
|
|
299
292
|
No as VftTreeSelect,
|
|
300
293
|
Ko as VftVerifyCode,
|
|
301
|
-
|
|
294
|
+
Lr as WEEK_DAYS,
|
|
302
295
|
Jr as _bem,
|
|
303
296
|
af as buildProp,
|
|
304
297
|
xf as buildProps,
|
|
305
|
-
|
|
298
|
+
cm as buildTimeList,
|
|
306
299
|
Gp as buttonGroupContextKey,
|
|
307
|
-
|
|
300
|
+
uf as cAF,
|
|
308
301
|
Bp as checkboxGroupContextKey,
|
|
309
302
|
Yr as componentSizeMap,
|
|
310
303
|
Br as componentSizes,
|
|
311
304
|
bf as composeEventHandlers,
|
|
312
305
|
pf as composeRefs,
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
306
|
+
Cp as configProviderContextKey,
|
|
307
|
+
L as createContextMenu,
|
|
308
|
+
oa as createLoadingDirective,
|
|
316
309
|
Pt as createModelToggleComposable,
|
|
317
310
|
Kf as cssVarValue,
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
311
|
+
gm as dateEquals,
|
|
312
|
+
Or as datePickTypes,
|
|
313
|
+
hm as datePickerConfig,
|
|
314
|
+
zm as datePickerProps,
|
|
322
315
|
$f as dayjs,
|
|
323
316
|
Df as debugWarn,
|
|
324
317
|
e as default,
|
|
325
318
|
ot as defaultInitialZIndex,
|
|
326
319
|
Ur as defaultNamespace,
|
|
327
320
|
sf as definePropType,
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
321
|
+
O as destroyContextMenu,
|
|
322
|
+
sm as dialogInjectionKey,
|
|
323
|
+
Ym as dragEventsKey,
|
|
331
324
|
Wt as ensureOnlyChild,
|
|
332
325
|
nf as epPropKey,
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
326
|
+
gf as escapeStringRegexp,
|
|
327
|
+
Cm as extractDateFormat,
|
|
328
|
+
Tm as extractTimeFormat,
|
|
336
329
|
jt as flattedChildren,
|
|
337
330
|
_p as formContextKey,
|
|
338
331
|
Kp as formItemContextKey,
|
|
339
332
|
Fp as formItemValidateStates,
|
|
340
|
-
|
|
333
|
+
Im as formatter,
|
|
341
334
|
vf as generateCssVars,
|
|
342
|
-
|
|
335
|
+
Jm as getChildState,
|
|
343
336
|
wf as getClientXY,
|
|
344
337
|
Tf as getComponentSize,
|
|
345
338
|
Zt as getFirstValidNode,
|
|
346
339
|
qt as getNormalizedProps,
|
|
347
340
|
zf as getOffsetTop,
|
|
348
341
|
Gf as getOffsetTopDistance,
|
|
349
|
-
|
|
342
|
+
kf as getProp,
|
|
350
343
|
Hf as getScrollBarWidth,
|
|
351
344
|
Jf as getScrollContainer,
|
|
352
345
|
If as getSizeType,
|
|
353
|
-
|
|
346
|
+
dp as initAffixTabs,
|
|
354
347
|
r as install,
|
|
355
348
|
Xt as isComment,
|
|
356
349
|
lf as isEpProp,
|
|
@@ -362,43 +355,43 @@ export {
|
|
|
362
355
|
Ef as isValidComponentSize,
|
|
363
356
|
of as isValidElementNode,
|
|
364
357
|
Zf as makeInstaller,
|
|
365
|
-
|
|
358
|
+
Em as makeList,
|
|
366
359
|
Tp as messageConfig,
|
|
367
|
-
|
|
368
|
-
|
|
360
|
+
Xm as messageDefaults,
|
|
361
|
+
Qm as messageTypes,
|
|
369
362
|
Nf as mutable,
|
|
370
363
|
Wr as namespaceContextKey,
|
|
371
|
-
|
|
372
|
-
|
|
364
|
+
Pm as parseDate,
|
|
365
|
+
Lf as primaryColor,
|
|
373
366
|
Ep as provideGlobalConfig,
|
|
374
|
-
|
|
367
|
+
df as rAF,
|
|
375
368
|
Jp as radioGroupKey,
|
|
376
|
-
|
|
369
|
+
Dm as rangeArr,
|
|
377
370
|
rf as renderBlock,
|
|
378
371
|
tf as renderIf,
|
|
379
372
|
Zp as renderThumbStyle,
|
|
380
|
-
|
|
373
|
+
lm as rowContextKey,
|
|
381
374
|
Wf as scrollIntoView,
|
|
382
375
|
Xp as scrollbarContextKey,
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
376
|
+
tm as selectGroupKey,
|
|
377
|
+
fm as selectKey,
|
|
378
|
+
om as selectV2InjectionKey,
|
|
379
|
+
Of as setCssVar,
|
|
387
380
|
Af as setPrimaryColorCssvars,
|
|
388
|
-
|
|
381
|
+
Wm as spaceProps,
|
|
389
382
|
Sf as throwError,
|
|
390
|
-
|
|
391
|
-
|
|
383
|
+
Km as timePickerDefaultProps,
|
|
384
|
+
Nm as timeUnits,
|
|
392
385
|
R as useContextMenu,
|
|
393
386
|
Xr as useCursor,
|
|
394
387
|
ct as useDelayedToggle,
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
388
|
+
xm as useDialog,
|
|
389
|
+
Lp as useDisabled,
|
|
390
|
+
Bm as useDragNodeHandler,
|
|
398
391
|
Kt as useDraggable,
|
|
399
392
|
wt as useFocus,
|
|
400
|
-
|
|
401
|
-
|
|
393
|
+
Op as useFormDisabled,
|
|
394
|
+
hp as useFormItem,
|
|
402
395
|
wp as useFormItemInputId,
|
|
403
396
|
Ap as useFormSize,
|
|
404
397
|
mt as useForwardRef,
|
|
@@ -409,7 +402,7 @@ export {
|
|
|
409
402
|
Nt as useGlobalSize,
|
|
410
403
|
st as useId,
|
|
411
404
|
nt as useIdInjection,
|
|
412
|
-
|
|
405
|
+
Lt as useLockscreen,
|
|
413
406
|
Dt as useModelToggle,
|
|
414
407
|
St as useModelToggleEmits,
|
|
415
408
|
Zr as useNamespace,
|
|
@@ -417,21 +410,21 @@ export {
|
|
|
417
410
|
yp as usePagination,
|
|
418
411
|
$r as usePopper,
|
|
419
412
|
Vt as usePopperContainer,
|
|
420
|
-
|
|
413
|
+
ut as usePopperContainerId,
|
|
421
414
|
bt as useProp,
|
|
422
415
|
At as useSameTarget,
|
|
423
416
|
Rp as useSize,
|
|
424
|
-
|
|
417
|
+
Zm as useSpace,
|
|
425
418
|
Vp as useTabDropdown,
|
|
426
419
|
cp as useTabsDrag,
|
|
427
|
-
|
|
428
|
-
|
|
420
|
+
kt as useThrottleRender,
|
|
421
|
+
Ct as useTimeout,
|
|
429
422
|
rt as useZIndex,
|
|
430
|
-
|
|
431
|
-
|
|
423
|
+
ra as vLoading,
|
|
424
|
+
Sm as valueEquals,
|
|
432
425
|
t as version,
|
|
433
426
|
bp as vftPaginationKey,
|
|
434
|
-
|
|
427
|
+
Co as virtualizedGridProps,
|
|
435
428
|
To as virtualizedListProps,
|
|
436
429
|
Io as virtualizedProps,
|
|
437
430
|
Eo as virtualizedScrollbarProps,
|
package/es/package.json.js
CHANGED
package/lib/comp-resolver.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("@vft/utils");function m(t){return t.replace(/([A-Z])/g," $1").trim().split(" ").join("-").toLowerCase()}function i(t,e){const{importStyle:
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("@vft/utils");function m(t){return t.replace(/([A-Z])/g," $1").trim().split(" ").join("-").toLowerCase()}function i(t,e){const{importStyle:o,ssr:s}=e,r=e.compName+"/theme-style",n=e.compName+"/es/components";if(o==="sass")return s?[`${r}/src/base.scss`,`${r}/src/${t}.scss`]:[`${n}/base/style/index`,`${n}/${t}/style/index`];if(o===!0||o==="css")return s?[`${r}/base.css`,`${r}/el-${t}.css`]:[`${n}/base/style/css`,`${n}/${t}/style/css`]}function c(t,e){if(e.exclude&&t.match(e.exclude))return;const o=new RegExp(`^${l.upperFirst(e.compName)}[A-Z]`);if(!t.match(o))return;const s=m(t.slice(e.compName.length)),{ssr:r}=e;return{name:t,from:`${e.compName}/${r?"lib":"es"}`,sideEffects:i(s,e)}}function a(t,e){if(!e.directives)return;const s={Loading:{importName:"VftLoadingDirective",styleName:"loading"},Popover:{importName:"VftPopoverDirective",styleName:"popover"},InfiniteScroll:{importName:"VftInfiniteScroll",styleName:"infinite-scroll"}}[t];if(!s)return;const{ssr:r}=e;return{name:s.importName,from:`${e.compName}/${r?"lib":"es"}`,sideEffects:i(s.styleName,e)}}const u=["VftAutoResizer"];function f(t={}){let e;async function o(){return e||(e={compName:"vft",ssr:!1,importStyle:"css",directives:!0,exclude:void 0,noStylesComponents:t.noStylesComponents||[],...t},e)}return[{type:"component",resolve:async s=>{const r=await o();return[...r.noStylesComponents,...u].includes(s)?c(s,{...r,importStyle:!1}):c(s,r)}},{type:"directive",resolve:async s=>a(s,await o())}]}exports.CompResolver=f;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),c=require("@vueuse/core"),z=require("@vft/utils"),C=require("../../utils/error.cjs");require("lodash");require("../../utils/ns-cover.cjs");const $=require("../../utils/dom/scroll.cjs"),B=require("../../hooks/use-namespace/index.cjs");require("@popperjs/core");require("../../hooks/use-z-index/index.cjs");const E=require("./affix.cjs"),q="ElAffix",M=e.defineComponent({name:q}),N=e.defineComponent({...M,props:E.affixProps,emits:E.affixEmits,setup(S,{expose:_,emit:d}){const t=S,p=B.useNamespace("affix"),a=e.shallowRef(),f=e.shallowRef(),r=e.shallowRef(),{height:n}=c.useWindowSize(),{height:s,width:m,top:h,bottom:g,update:v}=c.useElementBounding(f,{windowScroll:!1}),u=c.useElementBounding(a),l=e.ref(!1),x=e.ref(0),i=e.ref(0),y=e.computed(()=>({height:l.value?`${s.value}px`:"",width:l.value?`${m.value}px`:""})),b=e.computed(()=>{if(!l.value)return{};const o=t.offset?z.addUnit(t.offset):0;return{height:`${s.value}px`,width:`${m.value}px`,top:t.position==="top"?o:"",bottom:t.position==="bottom"?o:"",transform:i.value?`translateY(${i.value}px)`:"",zIndex:t.zIndex}}),w=()=>{if(r.value)if(x.value=r.value instanceof Window?document.documentElement.scrollTop:r.value.scrollTop||0,t.position==="top")if(t.target){const o=u.bottom.value-t.offset-s.value;l.value=t.offset>h.value&&u.bottom.value>0,i.value=o<0?o:0}else l.value=t.offset>h.value;else if(t.target){const o=n.value-u.top.value-t.offset-s.value;l.value=n.value-t.offset<g.value&&n.value>u.top.value,i.value=o<0?-o:0}else l.value=n.value-t.offset<g.value},T=()=>{v(),d("scroll",{scrollTop:x.value,fixed:l.value})};return e.watch(l,o=>d("change",o)),e.onMounted(()=>{t.target?(a.value=document.querySelector(t.target)??void 0,a.value||C.throwError(q,`Target is not existed: ${t.target}`)):a.value=document.documentElement,r.value=$.getScrollContainer(f.value,!0),v()}),c.useEventListener(r,"scroll",T),e.watchEffect(w),_({update:w,updateRoot:v}),(o,R)=>(e.openBlock(),e.createElementBlock("div",{ref_key:"root",ref:f,class:e.normalizeClass(e.unref(p).b()),style:e.normalizeStyle(y.value)},[e.createElementVNode("div",{class:e.normalizeClass({[e.unref(p).m("fixed")]:l.value}),style:e.normalizeStyle(b.value)},[e.renderSlot(o.$slots,"default")],6)],6))}});exports.default=N;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),c=require("../icon/index.cjs"),f=require("../../hooks/use-namespace/index.cjs");require("@popperjs/core");require("lodash");require("../../hooks/use-z-index/index.cjs");require("@vueuse/core");require("@vft/utils");require("../../utils/ns-cover.cjs");const o=f.useNamespace("alert"),m=e.defineComponent({name:o.b()}),p=e.defineComponent({...m,props:{title:{default:""},description:{default:""},type:{default:"info"},closable:{type:Boolean,default:!0},closeText:{default:""},showIcon:{type:Boolean},center:{type:Boolean},effect:{default:"light"}},emits:{close:l=>l instanceof MouseEvent},setup(l,{emit:i}){const n=e.useSlots(),s=e.ref(!0),r=e.computed(()=>l.type),u=e.computed(()=>[o.e("icon"),{[o.is("big")]:!!l.description||!!n.default}]),d=e.computed(()=>({[o.is("bold")]:l.description||n.default})),a=t=>{s.value=!1,i("close",t)};return(t,k)=>(e.openBlock(),e.createBlock(e.Transition,{name:e.unref(o).b("fade")},{default:e.withCtx(()=>[e.withDirectives(e.createElementVNode("div",{class:e.normalizeClass([e.unref(o).b(),e.unref(o).m(t.type),e.unref(o).is("center",t.center),e.unref(o).is(t.effect)]),role:"alert"},[t.showIcon&&r.value?(e.openBlock(),e.createBlock(e.unref(c.VftIcon),{key:0,class:e.normalizeClass(u.value),icon:r.value},null,8,["class","icon"])):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(e.unref(o).e("content"))},[t.title||t.$slots.title?(e.openBlock(),e.createElementBlock("span",{key:0,class:e.normalizeClass([e.unref(o).e("title"),d.value])},[e.renderSlot(t.$slots,"title",{},()=>[e.createTextVNode(e.toDisplayString(t.title),1)])],2)):e.createCommentVNode("",!0),t.$slots.default||t.description?(e.openBlock(),e.createElementBlock("p",{key:1,class:e.normalizeClass(e.unref(o).e("description"))},[e.renderSlot(t.$slots,"default",{},()=>[e.createTextVNode(e.toDisplayString(t.description),1)])],2)):e.createCommentVNode("",!0),t.closable?(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[t.closeText?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass([e.unref(o).e("close-btn"),e.unref(o).is("customed")]),onClick:a},e.toDisplayString(t.closeText),3)):(e.openBlock(),e.createBlock(e.unref(c.VftIcon),{key:1,class:e.normalizeClass(e.unref(o).e("close-btn")),onClick:a,icon:t.CloseIcon},null,8,["class","icon"]))],64)):e.createCommentVNode("",!0)],2)],2),[[e.vShow,s.value]])]),_:3},8,["name"]))}});exports.default=p;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),a=require("@vft/utils"),d=require("../icon/index.cjs"),m=require("../image/index.cjs"),v=require("../../hooks/use-namespace/index.cjs");require("@popperjs/core");require("lodash");require("../../hooks/use-z-index/index.cjs");require("@vueuse/core");require("../../utils/ns-cover.cjs");const z=e.defineComponent({__name:"avatar",props:{size:{default:""},shape:{default:"circle"},icon:{},src:{},alt:{},fit:{default:"cover"}},emits:["error"],setup(t,{emit:c}){const s=v.useNamespace("avatar"),i=e.ref(!1),o=e.computed(()=>{const r=[s.b()];return a.isString(t.size)&&r.push(s.m(t.size)),!t.src&&t.icon&&r.push(s.m("icon")),t.shape&&r.push(s.m(t.shape)),r}),u=e.computed(()=>a.isNumber(t.size)?s.cssVarBlock({size:a.addUnit(t.size)||""}):void 0),n=e.computed(()=>a.singleAttrToObj(t.icon,"icon",{size:t.size}));e.watch(()=>t.src,()=>i.value=!1);function f(r){i.value=!0,c("error",r)}return(r,h)=>{var l;return e.openBlock(),e.createElementBlock("span",{class:e.normalizeClass(o.value),style:e.normalizeStyle(u.value)},[r.src&&!i.value?(e.openBlock(),e.createBlock(e.unref(m.VftImage),{key:0,src:r.src,alt:r.alt,fit:r.fit,onError:f},null,8,["src","alt","fit"])):(l=n.value)!=null&&l.icon?(e.openBlock(),e.createBlock(e.unref(d.VftIcon),e.normalizeProps(e.mergeProps({key:1},n.value)),null,16)):e.renderSlot(r.$slots,"default",{key:2})],6)}}});exports.default=z;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),d=require("@vft/utils");require("../divider/index.cjs");const
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),d=require("@vft/utils");require("../divider/index.cjs");const m=require("../icon/index.cjs");require("../avatar/index.cjs");require("../empty/index.cjs");require("../result/index.cjs");require("../tabs/index.cjs");require("../popper/index.cjs");require("../collapse-transition/index.cjs");require("../tooltip/index.cjs");require("../popover/index.cjs");require("../menu/index.cjs");require("../context-menu/context-menu.vue2.cjs");require("../multiple-tabs/index.cjs");require("../header-layout/index.cjs");require("../footer-layout/index.cjs");require("../iframe-layout/index.cjs");require("../router-view-content/index.cjs");require("../logo/index.cjs");require("./index.cjs");require("../container/index.cjs");require("../config-provider/index.cjs");require("../descriptions/index.cjs");require("../full-screen/index.cjs");require("../icon-text/index.cjs");require("../image/index.cjs");require("../input/index.cjs");require("../link/index.cjs");require("../pagination/index.cjs");require("../tag/index.cjs");require("../side-menu/index.cjs");require("../qrcode/index.cjs");require("../overlay/index.cjs");require("../clamp/index.cjs");require("../clamp-toggle/index.cjs");require("../page-wrapper/index.cjs");require("../exception/index.cjs");require("../search/index.cjs");require("../form/index.cjs");require("../button/index.cjs");require("../checkbox/index.cjs");require("../radio/index.cjs");require("../switch/index.cjs");require("../color-picker/index.cjs");require("../scrollbar/index.cjs");require("../dropdown/index.cjs");require("../virtual-list/components/fixed-size-list.cjs");require("../virtual-list/components/dynamic-size-list.cjs");require("../virtual-list/components/fixed-size-grid.cjs");require("../virtual-list/components/dynamic-size-grid.cjs");require("../virtual-list/props.cjs");require("../select-v2/index.cjs");require("../select/index.cjs");require("../tree-select/index.cjs");require("../verify-code/index.cjs");require("../table/index.cjs");require("../image-viewer/index.cjs");require("../list-cell/index.cjs");require("../dialog/index.cjs");require("../date-time-select/index.cjs");require("../col/index.cjs");require("../row/index.cjs");require("../horizontal-menu/index.cjs");require("../time-picker/index.cjs");require("../date-picker/index.cjs");require("../check-tag/index.cjs");require("../tree/index.cjs");require("../skeleton/index.cjs");require("../space/index.cjs");require("../card/index.cjs");require("../popconfirm/index.cjs");require("../alert/index.cjs");require("../md-container/index.cjs");require("../md-comment/index.cjs");require("../md-tabs/index.cjs");require("../md-vue-playground/index.cjs");require("../md-code-demo/index.cjs");require("../md-code-tabs/index.cjs");require("../message/index.cjs");const f=require("../../hooks/use-namespace/index.cjs");require("@popperjs/core");require("lodash");require("../../hooks/use-z-index/index.cjs");require("@vueuse/core");require("../../utils/ns-cover.cjs");const p=require("./use-backtop.cjs"),i=f.useNamespace("backtop"),k=e.defineComponent({name:i.b()}),b=e.defineComponent({...k,props:{visibilityHeight:{default:200},target:{},right:{default:40},bottom:{default:40},icon:{default:"ico-bx:arrow-to-top"},scrollTargetKey:{}},emits:["click"],setup(u,{emit:n}){const c=e.getCurrentInstance(),{handleClick:q,visible:l}=p.useBackTop(c.props,n,i.b()),s=e.computed(()=>({right:`${u.right}px`,bottom:`${u.bottom}px`})),t=e.computed(()=>d.singleAttrToObj(u.icon,"icon",{size:25}));return(a,o)=>(e.openBlock(),e.createBlock(e.Transition,{name:`${e.unref(i).namespace}-fade-in`},{default:e.withCtx(()=>[e.unref(l)?(e.openBlock(),e.createElementBlock("div",{key:0,style:e.normalizeStyle(s.value),class:e.normalizeClass(e.unref(i).b()),onClick:o[0]||(o[0]=e.withModifiers((...r)=>e.unref(q)&&e.unref(q)(...r),["stop"]))},[e.renderSlot(a.$slots,"default",{},()=>{var r;return[(r=t.value)!=null&&r.icon?(e.openBlock(),e.createBlock(e.unref(m.VftIcon),e.normalizeProps(e.mergeProps({key:0},t.value)),null,16)):e.createCommentVNode("",!0)]})],6)):e.createCommentVNode("",!0)]),_:3},8,["name"]))}});exports.default=b;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),u=require("../../hooks/use-namespace/index.cjs");require("@popperjs/core");require("lodash");require("../../hooks/use-z-index/index.cjs");require("@vueuse/core");require("@vft/utils");require("../../utils/ns-cover.cjs");const s=require("./constants.cjs"),i=e.defineComponent({name:"VtfButtonGroup"}),
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),u=require("../../hooks/use-namespace/index.cjs");require("@popperjs/core");require("lodash");require("../../hooks/use-z-index/index.cjs");require("@vueuse/core");require("@vft/utils");require("../../utils/ns-cover.cjs");const s=require("./constants.cjs"),i=e.defineComponent({name:"VtfButtonGroup"}),c=e.defineComponent({...i,props:{size:{},type:{}},setup(r){const t=r;e.provide(s.buttonGroupContextKey,e.reactive({size:e.toRef(t,"size"),type:e.toRef(t,"type")}));const o=u.useNamespace("button");return(n,a)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(`${e.unref(o).b("group")}`)},[e.renderSlot(n.$slots,"default")],2))}});exports.default=c;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),p=require("../icon/index.cjs"),b=require("../../hooks/use-namespace/index.cjs");require("@popperjs/core");require("lodash");require("../../hooks/use-z-index/index.cjs");require("@vueuse/core");const g=require("@vft/utils");require("../../utils/ns-cover.cjs");const C=require("./use-button.cjs"),q=require("./button-custom.cjs"),o=b.useNamespace("button"),S=e.defineComponent({name:o.b()}),v=e.defineComponent({...S,props:{tag:{type:[String,Object,Function],default:"button"},size:{},disabled:{type:Boolean},type:{},icon:{},nativeType:{default:"button"},loading:{type:Boolean},loadingIcon:{},plain:{type:Boolean},text:{type:Boolean},link:{type:Boolean},bg:{type:Boolean},autofocus:{type:Boolean},round:{type:Boolean},circle:{type:Boolean},color:{},dark:{type:Boolean},autoInsertSpace:{type:Boolean},block:{type:Boolean}},emits:["click"],setup(d,{expose:f,emit:y}){const t=d,r=e.computed(()=>g.singleAttrToObj(t.icon,"icon")),k=q.useButtonCustomStyle(t),{_ref:l,_size:s,_type:u,_disabled:a,_props:m,shouldAddSpace:i,handleClick:B}=C.useButton(t,y);return f({ref:l,size:s,type:u,disabled:a,shouldAddSpace:i}),(n,z)=>(e.openBlock(),e.createBlock(e.resolveDynamicComponent(n.tag),e.mergeProps({ref_key:"_ref",ref:l},e.unref(m),{class:[e.unref(o).b(),e.unref(o).m(e.unref(u)),e.unref(o).m(e.unref(s)),e.unref(o).is("disabled",e.unref(a)),e.unref(o).is("loading",n.loading),e.unref(o).is("plain",n.plain),e.unref(o).is("round",n.round),e.unref(o).is("circle",n.circle),e.unref(o).is("text",n.text),e.unref(o).is("link",n.link),e.unref(o).is("has-bg",n.bg),e.unref(o).is("block",n.block)],style:e.unref(k),onClick:e.unref(B)}),{default:e.withCtx(()=>{var c;return[n.loading?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[n.$slots.loading?e.renderSlot(n.$slots,"loading",{key:0}):(e.openBlock(),e.createBlock(e.unref(p.VftIcon),{key:1,rotate:"",class:e.normalizeClass(e.unref(o).is("loading")),icon:"ico-ep:loading"},null,8,["class"]))],64)):(c=r.value)!=null&&c.icon?(e.openBlock(),e.createBlock(e.unref(p.VftIcon),e.normalizeProps(e.mergeProps({key:1},r.value)),null,16)):e.createCommentVNode("",!0),n.$slots.default?(e.openBlock(),e.createElementBlock("span",{key:2,class:e.normalizeClass({[e.unref(o).em("text","expand")]:e.unref(i)})},[e.renderSlot(n.$slots,"default")],2)):e.createCommentVNode("",!0)]}),_:3},16,["class","style","onClick"]))}});exports.default=v;
|