vft 0.0.415 → 0.0.416
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/attributes.json +1 -1
- package/dist/index.css +1 -1
- package/es/components/autocomplete/autocomplete.vue.d.ts +8 -8
- package/es/components/autocomplete/index.d.ts +24 -24
- package/es/components/button/button.vue.d.ts +1 -1
- package/es/components/button/index.d.ts +39 -39
- package/es/components/button/use-button.d.ts +1 -1
- package/es/components/carousel/use-carousel.js +1 -1
- package/es/components/color-picker/composables/use-alpha-slider.d.ts +2 -2
- package/es/components/config-provider/config-provider.vue.d.ts +2 -0
- package/es/components/config-provider/config-provider.vue2.js +4 -3
- package/es/components/config-provider/hooks/use-global-config.js +3 -3
- package/es/components/config-provider/index.d.ts +9 -0
- package/es/components/dialog/constants.d.ts +1 -0
- package/es/components/dialog/constants.js +2 -1
- package/es/components/dialog/dialog-content.vue.d.ts +4 -1
- package/es/components/dialog/dialog-content.vue2.js +59 -48
- package/es/components/dialog/dialog.vue.d.ts +4 -19
- package/es/components/dialog/dialog.vue2.js +104 -89
- package/es/components/dialog/index.d.ts +70 -3
- package/es/components/dialog/index.js +5 -4
- package/es/components/dialog/types.d.ts +69 -0
- package/es/components/dialog/{hooks/use-dialog.d.ts → use-dialog.d.ts} +11 -2
- package/es/components/dialog/use-dialog.js +138 -0
- package/es/components/drawer/composables/useResizable.d.ts +7 -0
- package/es/components/drawer/composables/useResizable.js +53 -0
- package/es/components/drawer/drawer.vue.d.ts +3 -7
- package/es/components/drawer/drawer.vue2.js +122 -97
- package/es/components/drawer/index.d.ts +78 -0
- package/es/components/drawer/types.d.ts +13 -0
- package/es/components/drawer/types.js +1 -0
- package/es/components/dropdown/dropdown.vue.d.ts +1 -1
- package/es/components/dropdown/index.d.ts +15 -15
- package/es/components/form/index.d.ts +6 -6
- package/es/components/index.js +172 -171
- package/es/components/input/input.vue2.js +4 -4
- package/es/components/input-tag/composables/use-input-tag.js +1 -1
- package/es/components/input-tag/input-tag.vue.d.ts +1 -1
- package/es/components/link/index.d.ts +3 -3
- package/es/components/md-code-demo/md-code-demo.js +10 -10
- package/es/components/modal/index.d.ts +87 -24
- package/es/components/modal/modal.vue.d.ts +1 -1
- package/es/components/modal/modal.vue2.js +24 -17
- package/es/components/multiple-tabs/multiple-tabs.vue2.js +82 -79
- package/es/components/popconfirm/index.d.ts +15 -15
- package/es/components/popconfirm/popconfirm.vue.d.ts +1 -1
- package/es/components/popover/index.d.ts +0 -9
- package/es/components/popover/popover.vue2.js +4 -5
- package/es/components/popover/types.d.ts +23 -1
- package/es/components/search/search.vue2.js +3 -3
- package/es/components/select/index.d.ts +20 -20
- package/es/components/select/select.vue.d.ts +20 -20
- package/es/components/select/useSelect.d.ts +17 -17
- package/es/components/super-form/super-form-item.vue2.js +1 -1
- package/es/components/table/index.d.ts +9 -9
- package/es/components/time-picker/time-picker-com/panel-time-pick.vue.d.ts +1 -1
- package/es/components/time-picker/time-picker-com/panel-time-range.vue.d.ts +1 -1
- package/es/components/timeline/index.d.ts +6 -6
- package/es/components/tooltip/index.d.ts +3 -3
- package/es/components/tooltip/tooltip.vue2.js +1 -1
- package/es/components/tooltip/types.d.ts +81 -1
- package/es/hooks/use-draggable/index.d.ts +5 -1
- package/es/hooks/use-draggable/index.js +39 -34
- package/es/hooks/use-z-index/index.js +3 -3
- package/es/index.js +2 -2
- package/es/package.json.d.ts +1 -1
- package/es/package.json.js +1 -1
- package/es/utils/helper.d.ts +1 -1
- package/es/utils/ns-cover.d.ts +1 -1
- package/es/utils/vue/vnode.js +1 -1
- package/lib/components/autocomplete/autocomplete.vue.d.ts +8 -8
- package/lib/components/autocomplete/index.d.ts +24 -24
- package/lib/components/button/button.vue.d.ts +1 -1
- package/lib/components/button/index.d.ts +39 -39
- package/lib/components/button/use-button.d.ts +1 -1
- package/lib/components/color-picker/composables/use-alpha-slider.d.ts +2 -2
- package/lib/components/config-provider/config-provider.vue.d.ts +2 -0
- package/lib/components/config-provider/config-provider.vue2.cjs +1 -1
- package/lib/components/config-provider/index.d.ts +9 -0
- package/lib/components/dialog/constants.cjs +1 -1
- package/lib/components/dialog/constants.d.ts +1 -0
- package/lib/components/dialog/dialog-content.vue.d.ts +4 -1
- package/lib/components/dialog/dialog-content.vue2.cjs +1 -1
- package/lib/components/dialog/dialog.vue.d.ts +4 -19
- package/lib/components/dialog/dialog.vue2.cjs +1 -1
- package/lib/components/dialog/index.cjs +1 -1
- package/lib/components/dialog/index.d.ts +70 -3
- package/lib/components/dialog/types.d.ts +69 -0
- package/lib/components/dialog/use-dialog.cjs +1 -0
- package/lib/components/dialog/{hooks/use-dialog.d.ts → use-dialog.d.ts} +11 -2
- package/lib/components/drawer/composables/useResizable.cjs +1 -0
- package/lib/components/drawer/composables/useResizable.d.ts +7 -0
- package/lib/components/drawer/drawer.vue.d.ts +3 -7
- package/lib/components/drawer/drawer.vue2.cjs +1 -1
- package/lib/components/drawer/index.d.ts +78 -0
- package/lib/components/drawer/types.cjs +1 -0
- package/lib/components/drawer/types.d.ts +13 -0
- package/lib/components/dropdown/dropdown.vue.d.ts +1 -1
- package/lib/components/dropdown/index.d.ts +15 -15
- package/lib/components/form/index.d.ts +6 -6
- package/lib/components/index.cjs +1 -1
- package/lib/components/input/input.vue2.cjs +1 -1
- package/lib/components/input-tag/input-tag.vue.d.ts +1 -1
- package/lib/components/link/index.d.ts +3 -3
- package/lib/components/md-code-demo/md-code-demo.cjs +1 -1
- package/lib/components/modal/index.d.ts +87 -24
- package/lib/components/modal/modal.vue.d.ts +1 -1
- package/lib/components/modal/modal.vue2.cjs +1 -1
- package/lib/components/multiple-tabs/multiple-tabs.vue2.cjs +1 -1
- package/lib/components/popconfirm/index.d.ts +15 -15
- package/lib/components/popconfirm/popconfirm.vue.d.ts +1 -1
- package/lib/components/popover/index.d.ts +0 -9
- package/lib/components/popover/popover.vue2.cjs +1 -1
- package/lib/components/popover/types.d.ts +23 -1
- package/lib/components/search/search.vue2.cjs +1 -1
- package/lib/components/select/index.d.ts +20 -20
- package/lib/components/select/select.vue.d.ts +20 -20
- package/lib/components/select/useSelect.d.ts +17 -17
- package/lib/components/table/index.d.ts +9 -9
- package/lib/components/time-picker/time-picker-com/panel-time-pick.vue.d.ts +1 -1
- package/lib/components/time-picker/time-picker-com/panel-time-range.vue.d.ts +1 -1
- package/lib/components/timeline/index.d.ts +6 -6
- package/lib/components/tooltip/index.d.ts +3 -3
- package/lib/components/tooltip/tooltip.vue2.cjs +1 -1
- package/lib/components/tooltip/types.d.ts +81 -1
- package/lib/hooks/use-draggable/index.cjs +1 -1
- package/lib/hooks/use-draggable/index.d.ts +5 -1
- package/lib/index.cjs +1 -1
- package/lib/package.json.cjs +1 -1
- package/lib/package.json.d.ts +1 -1
- package/lib/utils/helper.d.ts +1 -1
- package/lib/utils/ns-cover.d.ts +1 -1
- package/package.json +3 -3
- package/tags.json +1 -1
- package/theme-style/index.css +1 -1
- package/theme-style/src/dialog.scss +35 -35
- package/theme-style/src/drawer.scss +118 -21
- package/theme-style/src/md-container.scss +1 -0
- package/theme-style/src/tag.scss +1 -1
- package/theme-style/vft-dialog.css +1 -1
- package/theme-style/vft-drawer.css +1 -1
- package/theme-style/vft-md-container.css +1 -1
- package/theme-style/vft-tag.css +1 -1
- package/web-types.json +1 -1
- package/es/components/dialog/hooks/use-dialog.js +0 -106
- package/lib/components/dialog/hooks/use-dialog.cjs +0 -1
package/es/components/index.js
CHANGED
|
@@ -9,14 +9,14 @@ import { VftCascaderPanel as P } from "./cascader-panel/index.js";
|
|
|
9
9
|
import { VftCheckTag as g } from "./check-tag/index.js";
|
|
10
10
|
import { VftCheckbox as I, VftCheckboxButton as D, VftCheckboxGroup as S } from "./checkbox/index.js";
|
|
11
11
|
import { VftClamp as y } from "./clamp/index.js";
|
|
12
|
-
import { VftClientOnly as
|
|
13
|
-
import { VftClampToggle as
|
|
12
|
+
import { VftClientOnly as A } from "./client-only/index.js";
|
|
13
|
+
import { VftClampToggle as b } from "./clamp-toggle/index.js";
|
|
14
14
|
import { VftClampTooltip as F } from "./clamp-tooltip/index.js";
|
|
15
15
|
import { VftCol as O } from "./col/index.js";
|
|
16
|
-
import { VftCollapseTransition as
|
|
16
|
+
import { VftCollapseTransition as k } from "./collapse-transition/index.js";
|
|
17
17
|
import { VftColorPicker as G } from "./color-picker/index.js";
|
|
18
18
|
import { VftConfigProvider as h } from "./config-provider/index.js";
|
|
19
|
-
import { VftAside as B, VftContainer as H, VftFooter as
|
|
19
|
+
import { VftAside as B, VftContainer as H, VftFooter as U, VftHeader as J, VftMain as Y } from "./container/index.js";
|
|
20
20
|
import { createContextMenu as W, destroyContextMenu as j } from "./context-menu/createContextMenu.js";
|
|
21
21
|
import { VftIcon as X } from "./icon/index.js";
|
|
22
22
|
import "vue";
|
|
@@ -32,15 +32,15 @@ import { VftEmpty as To } from "./empty/index.js";
|
|
|
32
32
|
import { VftFooterLayout as Eo } from "./footer-layout/index.js";
|
|
33
33
|
import { VftForm as Do, VftFormItem as So } from "./form/index.js";
|
|
34
34
|
import { VftFullScreen as yo } from "./full-screen/index.js";
|
|
35
|
-
import { VftHeaderLayout as
|
|
36
|
-
import { VftHorizontalMenu as
|
|
35
|
+
import { VftHeaderLayout as Ao } from "./header-layout/index.js";
|
|
36
|
+
import { VftHorizontalMenu as bo } from "./horizontal-menu/index.js";
|
|
37
37
|
import { VftIconText as Fo } from "./icon-text/index.js";
|
|
38
38
|
import { VftIframeLayout as Oo } from "./iframe-layout/index.js";
|
|
39
|
-
import { VftImage as
|
|
39
|
+
import { VftImage as ko } from "./image/index.js";
|
|
40
40
|
import { VftImageViewer as Go } from "./image-viewer/index.js";
|
|
41
41
|
import { VftInput as ho } from "./input/index.js";
|
|
42
42
|
import { VftInputNumber as Bo } from "./input-number/index.js";
|
|
43
|
-
import { VftLink as
|
|
43
|
+
import { VftLink as Uo } from "./link/index.js";
|
|
44
44
|
import { VftListCell as Yo } from "./list-cell/index.js";
|
|
45
45
|
import { VftLogo as Wo } from "./logo/index.js";
|
|
46
46
|
import { VftMenu as Qo, VftMenuItem as Xo, VftMenuItemGroup as Zo, VftSubMenu as $o } from "./menu/index.js";
|
|
@@ -57,14 +57,14 @@ import { VftRadio as Tr, VftRadioButton as gr, VftRadioGroup as Er } from "./rad
|
|
|
57
57
|
import { VftResult as Dr } from "./result/index.js";
|
|
58
58
|
import { VftRouterViewContent as _r } from "./router-view-content/index.js";
|
|
59
59
|
import { VftRow as Mr } from "./row/index.js";
|
|
60
|
-
import { VftScrollbar as
|
|
60
|
+
import { VftScrollbar as Kr } from "./scrollbar/index.js";
|
|
61
61
|
import { VftSearch as Rr } from "./search/index.js";
|
|
62
62
|
import { VftSelect as Lr } from "./select/index.js";
|
|
63
|
-
import { VftSideMenu as
|
|
63
|
+
import { VftSideMenu as Nr } from "./side-menu/index.js";
|
|
64
64
|
import { VftSkeleton as vr, VftSkeletonItem as Gr } from "./skeleton/index.js";
|
|
65
65
|
import { VftSlider as hr } from "./slider/index.js";
|
|
66
66
|
import { VftSpace as Br } from "./space/index.js";
|
|
67
|
-
import { VftStep as
|
|
67
|
+
import { VftStep as Ur, VftSteps as Jr } from "./steps/index.js";
|
|
68
68
|
import { VftSwitch as qr } from "./switch/index.js";
|
|
69
69
|
import { VftTable as jr } from "./table/index.js";
|
|
70
70
|
import { VftTabPane as Xr, VftTabs as Zr } from "./tabs/index.js";
|
|
@@ -80,14 +80,14 @@ import { default as ce } from "./virtual-list/components/dynamic-size-grid.js";
|
|
|
80
80
|
import { virtualizedGridProps as Pe, virtualizedListProps as Te, virtualizedProps as ge, virtualizedScrollbarProps as Ee } from "./virtual-list/props.js";
|
|
81
81
|
import { VftAutocomplete as De } from "./autocomplete/index.js";
|
|
82
82
|
import { VftBreadcrumb as _e, VftBreadcrumbItem as ye } from "./breadcrumb/index.js";
|
|
83
|
-
import { VftCarousel as
|
|
83
|
+
import { VftCarousel as Ae, VftCarouselItem as Ke } from "./carousel/index.js";
|
|
84
84
|
import { VftCollapse as Re, VftCollapseItem as Fe } from "./collapse/index.js";
|
|
85
85
|
import { VftCountdown as Oe } from "./countdown/index.js";
|
|
86
|
-
import { VftInputTag as
|
|
86
|
+
import { VftInputTag as ke } from "./input-tag/index.js";
|
|
87
87
|
import { VftModal as Ge } from "./modal/index.js";
|
|
88
88
|
import { VftProgress as he } from "./progress/index.js";
|
|
89
89
|
import { VftSegmented as Be } from "./segmented/index.js";
|
|
90
|
-
import { VftStatistic as
|
|
90
|
+
import { VftStatistic as Ue } from "./statistic/index.js";
|
|
91
91
|
import { VftTimeline as Ye, VftTimelineItem as qe } from "./timeline/index.js";
|
|
92
92
|
import { VftTransfer as je } from "./transfer/index.js";
|
|
93
93
|
import { VftUpload as Xe } from "./upload/index.js";
|
|
@@ -105,91 +105,92 @@ import { VftProgressI as gt } from "./progress-i/index.js";
|
|
|
105
105
|
import { VftSuperForm as It } from "./super-form/index.js";
|
|
106
106
|
import { default as St } from "./popper/arrow.vue2.js";
|
|
107
107
|
import { default as yt } from "./popper/content.vue2.js";
|
|
108
|
-
import { default as
|
|
109
|
-
import { default as
|
|
108
|
+
import { default as At } from "./popper/trigger.vue2.js";
|
|
109
|
+
import { default as bt } from "./time-picker/common/picker.vue2.js";
|
|
110
110
|
import { default as Ft } from "./time-picker/time-picker-com/panel-time-pick.vue2.js";
|
|
111
111
|
import { buttonGroupContextKey as Ot } from "./button/constants.js";
|
|
112
|
-
import { cascaderEmits as
|
|
112
|
+
import { cascaderEmits as kt, cascaderProps as vt } from "./cascader/cascader.js";
|
|
113
113
|
import { CASCADER_PANEL_INJECTION_KEY as wt } from "./cascader-panel/types.js";
|
|
114
|
-
import { CommonProps as zt, DefaultProps as Bt, cascaderPanelEmits as Ht, cascaderPanelProps as
|
|
114
|
+
import { CommonProps as zt, DefaultProps as Bt, cascaderPanelEmits as Ht, cascaderPanelProps as Ut, useCascaderConfig as Jt } from "./cascader-panel/config.js";
|
|
115
115
|
import { checkboxGroupContextKey as qt } from "./checkbox/constants.js";
|
|
116
116
|
import { configProviderContextKey as jt, messageConfig as Qt } from "./config-provider/constants.js";
|
|
117
117
|
import { provideGlobalConfig as Zt, useGlobalComponentSettings as $t, useGlobalConfig as of } from "./config-provider/hooks/use-global-config.js";
|
|
118
118
|
import { ROOT_PICKER_INJECTION_KEY as ef, ROOT_PICKER_IS_DEFAULT_FORMAT_INJECTION_KEY as tf } from "./date-picker/constants.js";
|
|
119
119
|
import { datePickerProps as pf } from "./date-picker/props/date-picker.js";
|
|
120
|
-
import {
|
|
121
|
-
import { useDialog as
|
|
122
|
-
import { DROPDOWN_INJECTION_KEY as
|
|
123
|
-
import { EmptyEnum as
|
|
124
|
-
import { formContextKey as
|
|
125
|
-
import { useDisabled as
|
|
126
|
-
import { useFormItem as
|
|
127
|
-
import { MenuTypeEnum as
|
|
128
|
-
import { initAffixTabs as bf, useTabsDrag as
|
|
129
|
-
import { useTabDropdown as
|
|
130
|
-
import { notificationEmits as
|
|
131
|
-
import { usePagination as
|
|
132
|
-
import { radioGroupKey as
|
|
133
|
-
import { rowContextKey as
|
|
134
|
-
import { scrollbarContextKey as
|
|
135
|
-
import { BAR_MAP as
|
|
136
|
-
import { selectV2InjectionKey as
|
|
137
|
-
import { sliderContextKey as
|
|
138
|
-
import { sliderEmits as
|
|
139
|
-
import { spaceProps as
|
|
140
|
-
import { useSpace as
|
|
141
|
-
import { addRequire as
|
|
142
|
-
import { TabsRootContextKey as
|
|
143
|
-
import { timePickerDefaultProps as
|
|
144
|
-
import { DEFAULT_FORMATS_DATE as
|
|
145
|
-
import { buildTimeList as
|
|
120
|
+
import { DEFAULT_DIALOG_TRANSITION as af, dialogInjectionKey as xf } from "./dialog/constants.js";
|
|
121
|
+
import { useDialog as sf } from "./dialog/use-dialog.js";
|
|
122
|
+
import { DROPDOWN_INJECTION_KEY as lf } from "./dropdown/tokens.js";
|
|
123
|
+
import { EmptyEnum as df } from "./empty/constants.js";
|
|
124
|
+
import { formContextKey as Cf, formItemContextKey as Pf } from "./form/constants.js";
|
|
125
|
+
import { useDisabled as gf, useFormDisabled as Ef, useFormSize as If, useSize as Df } from "./form/hooks/use-form-common-props.js";
|
|
126
|
+
import { useFormItem as _f, useFormItemInputId as yf } from "./form/hooks/use-form-item.js";
|
|
127
|
+
import { MenuTypeEnum as Af } from "./horizontal-menu/constants.js";
|
|
128
|
+
import { initAffixTabs as bf, useTabsDrag as Rf } from "./multiple-tabs/use/use-multiple-tabs.js";
|
|
129
|
+
import { useTabDropdown as Lf } from "./multiple-tabs/use/use-tab-dropdown.js";
|
|
130
|
+
import { notificationEmits as Nf, notificationProps as kf, notificationTypes as vf } from "./notification/notification.js";
|
|
131
|
+
import { usePagination as wf, vftPaginationKey as hf } from "./pagination/usePagination.js";
|
|
132
|
+
import { radioGroupKey as Bf } from "./radio/constants.js";
|
|
133
|
+
import { rowContextKey as Uf } from "./row/constants.js";
|
|
134
|
+
import { scrollbarContextKey as Yf } from "./scrollbar/constants.js";
|
|
135
|
+
import { BAR_MAP as Wf, GAP as jf, renderThumbStyle as Qf } from "./scrollbar/util.js";
|
|
136
|
+
import { selectV2InjectionKey as Zf } from "./select/token.js";
|
|
137
|
+
import { sliderContextKey as op } from "./slider/constants.js";
|
|
138
|
+
import { sliderEmits as ep } from "./slider/slider.js";
|
|
139
|
+
import { spaceProps as fp } from "./space/space.js";
|
|
140
|
+
import { useSpace as mp } from "./space/use-space.js";
|
|
141
|
+
import { addRequire as xp, removeRequire as ip, selectMapping as np } from "./table/utils.js";
|
|
142
|
+
import { TabsRootContextKey as Vp } from "./tabs/types.js";
|
|
143
|
+
import { timePickerDefaultProps as up, timePickerRangeTriggerProps as dp, timePickerRngeTriggerProps as cp } from "./time-picker/common/props.js";
|
|
144
|
+
import { DEFAULT_FORMATS_DATE as Pp, DEFAULT_FORMATS_DATEPICKER as Tp, DEFAULT_FORMATS_TIME as gp, PICKER_BASE_INJECTION_KEY as Ep, PICKER_POPPER_OPTIONS_INJECTION_KEY as Ip, timeUnits as Dp } from "./time-picker/constants.js";
|
|
145
|
+
import { buildTimeList as _p, dateEquals as yp, dayOrDaysToDate as Mp, extractDateFormat as Ap, extractTimeFormat as Kp, formatter as bp, makeList as Rp, parseDate as Fp, rangeArr as Lp, valueEquals as Op } from "./time-picker/utils.js";
|
|
146
146
|
import { TOOLTIP_INJECTION_KEY as kp } from "./tooltip/constants.js";
|
|
147
|
-
import { getChildState as
|
|
148
|
-
import { dragEventsKey as
|
|
149
|
-
import { breadcrumbKey as
|
|
150
|
-
import { CAROUSEL_ITEM_NAME as Jp, carouselContextKey as
|
|
151
|
-
import { collapseEmits as
|
|
152
|
-
import { collapseItemProps as
|
|
153
|
-
import { collapseContextKey as
|
|
154
|
-
import { countdownEmits as
|
|
155
|
-
import { inputTagEmits as
|
|
156
|
-
import { useModal as
|
|
157
|
-
import { defaultProps as
|
|
158
|
-
import { LEFT_CHECK_CHANGE_EVENT as
|
|
159
|
-
import { genFileId as
|
|
160
|
-
import { watermarkProps as
|
|
161
|
-
import { vLoading as
|
|
147
|
+
import { getChildState as Gp } from "./tree/model/node.js";
|
|
148
|
+
import { dragEventsKey as hp, useDragNodeHandler as zp } from "./tree/model/useDragNode.js";
|
|
149
|
+
import { breadcrumbKey as Hp } from "./breadcrumb/constants.js";
|
|
150
|
+
import { CAROUSEL_ITEM_NAME as Jp, carouselContextKey as Yp } from "./carousel/constants.js";
|
|
151
|
+
import { collapseEmits as Wp, collapseProps as jp, emitChangeFn as Qp } from "./collapse/collapse.js";
|
|
152
|
+
import { collapseItemProps as Zp } from "./collapse/collapse-item.js";
|
|
153
|
+
import { collapseContextKey as om } from "./collapse/constants.js";
|
|
154
|
+
import { countdownEmits as em, countdownProps as tm } from "./countdown/countdown.js";
|
|
155
|
+
import { inputTagEmits as pm, inputTagProps as mm } from "./input-tag/input-tag.js";
|
|
156
|
+
import { useModal as xm, useModalInner as im } from "./modal/use/use-modal.js";
|
|
157
|
+
import { defaultProps as sm, segmentedEmits as Vm, segmentedProps as lm } from "./segmented/segmented.js";
|
|
158
|
+
import { LEFT_CHECK_CHANGE_EVENT as dm, RIGHT_CHECK_CHANGE_EVENT as cm, transferCheckedChangeFn as Cm, transferEmits as Pm, transferProps as Tm } from "./transfer/transfer.js";
|
|
159
|
+
import { genFileId as Em, uploadContextKey as Im } from "./upload/constants.js";
|
|
160
|
+
import { watermarkProps as Sm } from "./watermark/watermark.js";
|
|
161
|
+
import { vLoading as ym, createLoadingDirective as Mm, vLoading as Am } from "./loading/directive.js";
|
|
162
162
|
import { Loading as bm } from "./loading/service.js";
|
|
163
|
-
import { messageDefaults as
|
|
164
|
-
import { isDatePicker as
|
|
165
|
-
import { getDynamicProps as
|
|
163
|
+
import { messageDefaults as Fm, messageTypes as Lm } from "./message/types.js";
|
|
164
|
+
import { isDatePicker as Nm, isInput as km, isRangePicker as vm } from "./super-form/component-map.js";
|
|
165
|
+
import { getDynamicProps as wm, useForm as hm } from "./super-form/use/use-form.js";
|
|
166
166
|
export {
|
|
167
|
-
|
|
167
|
+
Wf as BAR_MAP,
|
|
168
168
|
Jp as CAROUSEL_ITEM_NAME,
|
|
169
169
|
wt as CASCADER_PANEL_INJECTION_KEY,
|
|
170
|
-
|
|
170
|
+
bt as CommonPicker,
|
|
171
171
|
zt as CommonProps,
|
|
172
|
-
|
|
173
|
-
Pp as
|
|
174
|
-
Tp as
|
|
175
|
-
|
|
172
|
+
af as DEFAULT_DIALOG_TRANSITION,
|
|
173
|
+
Pp as DEFAULT_FORMATS_DATE,
|
|
174
|
+
Tp as DEFAULT_FORMATS_DATEPICKER,
|
|
175
|
+
gp as DEFAULT_FORMATS_TIME,
|
|
176
|
+
lf as DROPDOWN_INJECTION_KEY,
|
|
176
177
|
Bt as DefaultProps,
|
|
177
178
|
ce as DynamicSizeGrid,
|
|
178
179
|
Ve as DynamicSizeList,
|
|
179
|
-
|
|
180
|
+
df as EmptyEnum,
|
|
180
181
|
ue as FixedSizeGrid,
|
|
181
182
|
ne as FixedSizeList,
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
183
|
+
jf as GAP,
|
|
184
|
+
dm as LEFT_CHECK_CHANGE_EVENT,
|
|
185
|
+
Af as MenuTypeEnum,
|
|
185
186
|
Ct as Message,
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
187
|
+
Ep as PICKER_BASE_INJECTION_KEY,
|
|
188
|
+
Ip as PICKER_POPPER_OPTIONS_INJECTION_KEY,
|
|
189
|
+
cm as RIGHT_CHECK_CHANGE_EVENT,
|
|
189
190
|
ef as ROOT_PICKER_INJECTION_KEY,
|
|
190
191
|
tf as ROOT_PICKER_IS_DEFAULT_FORMAT_INJECTION_KEY,
|
|
191
192
|
kp as TOOLTIP_INJECTION_KEY,
|
|
192
|
-
|
|
193
|
+
Vp as TabsRootContextKey,
|
|
193
194
|
Ft as TimePickPanel,
|
|
194
195
|
t as VftAlert,
|
|
195
196
|
B as VftAside,
|
|
@@ -202,8 +203,8 @@ export {
|
|
|
202
203
|
s as VftButton,
|
|
203
204
|
V as VftButtonGroup,
|
|
204
205
|
u as VftCard,
|
|
205
|
-
|
|
206
|
-
|
|
206
|
+
Ae as VftCarousel,
|
|
207
|
+
Ke as VftCarouselItem,
|
|
207
208
|
c as VftCascader,
|
|
208
209
|
P as VftCascaderPanel,
|
|
209
210
|
g as VftCheckTag,
|
|
@@ -211,13 +212,13 @@ export {
|
|
|
211
212
|
D as VftCheckboxButton,
|
|
212
213
|
S as VftCheckboxGroup,
|
|
213
214
|
y as VftClamp,
|
|
214
|
-
|
|
215
|
+
b as VftClampToggle,
|
|
215
216
|
F as VftClampTooltip,
|
|
216
|
-
|
|
217
|
+
A as VftClientOnly,
|
|
217
218
|
O as VftCol,
|
|
218
219
|
Re as VftCollapse,
|
|
219
220
|
Fe as VftCollapseItem,
|
|
220
|
-
|
|
221
|
+
k as VftCollapseTransition,
|
|
221
222
|
G as VftColorPicker,
|
|
222
223
|
h as VftConfigProvider,
|
|
223
224
|
H as VftContainer,
|
|
@@ -233,27 +234,27 @@ export {
|
|
|
233
234
|
co as VftDropdownItem,
|
|
234
235
|
Co as VftDropdownMenu,
|
|
235
236
|
To as VftEmpty,
|
|
236
|
-
|
|
237
|
+
U as VftFooter,
|
|
237
238
|
Eo as VftFooterLayout,
|
|
238
239
|
Do as VftForm,
|
|
239
240
|
So as VftFormItem,
|
|
240
241
|
yo as VftFullScreen,
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
242
|
+
J as VftHeader,
|
|
243
|
+
Ao as VftHeaderLayout,
|
|
244
|
+
bo as VftHorizontalMenu,
|
|
244
245
|
X as VftIcon,
|
|
245
246
|
Fo as VftIconText,
|
|
246
247
|
Oo as VftIframeLayout,
|
|
247
|
-
|
|
248
|
+
ko as VftImage,
|
|
248
249
|
Go as VftImageViewer,
|
|
249
250
|
lt as VftInfiniteScroll,
|
|
250
251
|
ho as VftInput,
|
|
251
252
|
Bo as VftInputNumber,
|
|
252
|
-
|
|
253
|
-
|
|
253
|
+
ke as VftInputTag,
|
|
254
|
+
Uo as VftLink,
|
|
254
255
|
Yo as VftListCell,
|
|
255
256
|
dt as VftLoading,
|
|
256
|
-
|
|
257
|
+
ym as VftLoadingDirective,
|
|
257
258
|
bm as VftLoadingService,
|
|
258
259
|
Wo as VftLogo,
|
|
259
260
|
Y as VftMain,
|
|
@@ -278,7 +279,7 @@ export {
|
|
|
278
279
|
dr as VftPopper,
|
|
279
280
|
St as VftPopperArrow,
|
|
280
281
|
yt as VftPopperContent,
|
|
281
|
-
|
|
282
|
+
At as VftPopperTrigger,
|
|
282
283
|
he as VftProgress,
|
|
283
284
|
gt as VftProgressI,
|
|
284
285
|
Cr as VftQrcode,
|
|
@@ -288,18 +289,18 @@ export {
|
|
|
288
289
|
Dr as VftResult,
|
|
289
290
|
_r as VftRouterViewContent,
|
|
290
291
|
Mr as VftRow,
|
|
291
|
-
|
|
292
|
+
Kr as VftScrollbar,
|
|
292
293
|
Rr as VftSearch,
|
|
293
294
|
Be as VftSegmented,
|
|
294
295
|
Lr as VftSelect,
|
|
295
|
-
|
|
296
|
+
Nr as VftSideMenu,
|
|
296
297
|
vr as VftSkeleton,
|
|
297
298
|
Gr as VftSkeletonItem,
|
|
298
299
|
hr as VftSlider,
|
|
299
300
|
Br as VftSpace,
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
301
|
+
Ue as VftStatistic,
|
|
302
|
+
Ur as VftStep,
|
|
303
|
+
Jr as VftSteps,
|
|
303
304
|
$o as VftSubMenu,
|
|
304
305
|
It as VftSuperForm,
|
|
305
306
|
qr as VftSwitch,
|
|
@@ -316,102 +317,102 @@ export {
|
|
|
316
317
|
Xe as VftUpload,
|
|
317
318
|
xe as VftVerifyCode,
|
|
318
319
|
$e as VftWatermark,
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
320
|
+
xp as addRequire,
|
|
321
|
+
Hp as breadcrumbKey,
|
|
322
|
+
_p as buildTimeList,
|
|
322
323
|
Ot as buttonGroupContextKey,
|
|
323
|
-
|
|
324
|
-
|
|
324
|
+
Yp as carouselContextKey,
|
|
325
|
+
kt as cascaderEmits,
|
|
325
326
|
Ht as cascaderPanelEmits,
|
|
326
|
-
|
|
327
|
+
Ut as cascaderPanelProps,
|
|
327
328
|
vt as cascaderProps,
|
|
328
329
|
qt as checkboxGroupContextKey,
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
330
|
+
om as collapseContextKey,
|
|
331
|
+
Wp as collapseEmits,
|
|
332
|
+
Zp as collapseItemProps,
|
|
333
|
+
jp as collapseProps,
|
|
333
334
|
jt as configProviderContextKey,
|
|
334
|
-
|
|
335
|
-
|
|
335
|
+
em as countdownEmits,
|
|
336
|
+
tm as countdownProps,
|
|
336
337
|
W as createContextMenu,
|
|
337
|
-
|
|
338
|
-
|
|
338
|
+
Mm as createLoadingDirective,
|
|
339
|
+
yp as dateEquals,
|
|
339
340
|
pf as datePickerProps,
|
|
340
|
-
|
|
341
|
-
|
|
341
|
+
Mp as dayOrDaysToDate,
|
|
342
|
+
sm as defaultProps,
|
|
342
343
|
j as destroyContextMenu,
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
344
|
+
xf as dialogInjectionKey,
|
|
345
|
+
hp as dragEventsKey,
|
|
346
|
+
Qp as emitChangeFn,
|
|
347
|
+
Ap as extractDateFormat,
|
|
347
348
|
Kp as extractTimeFormat,
|
|
348
|
-
|
|
349
|
-
|
|
349
|
+
Cf as formContextKey,
|
|
350
|
+
Pf as formItemContextKey,
|
|
350
351
|
bp as formatter,
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
352
|
+
Em as genFileId,
|
|
353
|
+
Gp as getChildState,
|
|
354
|
+
wm as getDynamicProps,
|
|
354
355
|
bf as initAffixTabs,
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
356
|
+
pm as inputTagEmits,
|
|
357
|
+
mm as inputTagProps,
|
|
358
|
+
Nm as isDatePicker,
|
|
358
359
|
km as isInput,
|
|
359
|
-
|
|
360
|
-
|
|
360
|
+
vm as isRangePicker,
|
|
361
|
+
Rp as makeList,
|
|
361
362
|
Qt as messageConfig,
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
363
|
+
Fm as messageDefaults,
|
|
364
|
+
Lm as messageTypes,
|
|
365
|
+
Nf as notificationEmits,
|
|
365
366
|
kf as notificationProps,
|
|
366
|
-
|
|
367
|
-
|
|
367
|
+
vf as notificationTypes,
|
|
368
|
+
Fp as parseDate,
|
|
368
369
|
Zt as provideGlobalConfig,
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
370
|
+
Bf as radioGroupKey,
|
|
371
|
+
Lp as rangeArr,
|
|
372
|
+
ip as removeRequire,
|
|
373
|
+
Qf as renderThumbStyle,
|
|
374
|
+
Uf as rowContextKey,
|
|
375
|
+
Yf as scrollbarContextKey,
|
|
376
|
+
Vm as segmentedEmits,
|
|
377
|
+
lm as segmentedProps,
|
|
378
|
+
np as selectMapping,
|
|
379
|
+
Zf as selectV2InjectionKey,
|
|
380
|
+
op as sliderContextKey,
|
|
381
|
+
ep as sliderEmits,
|
|
382
|
+
fp as spaceProps,
|
|
383
|
+
up as timePickerDefaultProps,
|
|
384
|
+
dp as timePickerRangeTriggerProps,
|
|
385
|
+
cp as timePickerRngeTriggerProps,
|
|
386
|
+
Dp as timeUnits,
|
|
387
|
+
Cm as transferCheckedChangeFn,
|
|
388
|
+
Pm as transferEmits,
|
|
389
|
+
Tm as transferProps,
|
|
390
|
+
Im as uploadContextKey,
|
|
391
|
+
Jt as useCascaderConfig,
|
|
391
392
|
$ as useContextMenu,
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
393
|
+
sf as useDialog,
|
|
394
|
+
gf as useDisabled,
|
|
395
|
+
zp as useDragNodeHandler,
|
|
396
|
+
hm as useForm,
|
|
397
|
+
Ef as useFormDisabled,
|
|
398
|
+
_f as useFormItem,
|
|
399
|
+
yf as useFormItemInputId,
|
|
400
|
+
If as useFormSize,
|
|
400
401
|
$t as useGlobalComponentSettings,
|
|
401
402
|
of as useGlobalConfig,
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
403
|
+
xm as useModal,
|
|
404
|
+
im as useModalInner,
|
|
405
|
+
wf as usePagination,
|
|
406
|
+
Df as useSize,
|
|
407
|
+
mp as useSpace,
|
|
408
|
+
Lf as useTabDropdown,
|
|
409
|
+
Rf as useTabsDrag,
|
|
410
|
+
Am as vLoading,
|
|
411
|
+
Op as valueEquals,
|
|
412
|
+
hf as vftPaginationKey,
|
|
412
413
|
Pe as virtualizedGridProps,
|
|
413
414
|
Te as virtualizedListProps,
|
|
414
415
|
ge as virtualizedProps,
|
|
415
416
|
Ee as virtualizedScrollbarProps,
|
|
416
|
-
|
|
417
|
+
Sm as watermarkProps
|
|
417
418
|
};
|
|
@@ -13,8 +13,8 @@ import "../../hooks/use-z-index/index.js";
|
|
|
13
13
|
import { UPDATE_MODEL_EVENT as Q } from "@vft/constants";
|
|
14
14
|
import { useAttrs as Ze, useCursor as _e } from "@vft/use";
|
|
15
15
|
import { calcTextareaHeight as ye } from "./utils.js";
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
16
|
+
import { useFormItem as et, useFormItemInputId as tt } from "../form/hooks/use-form-item.js";
|
|
17
|
+
import { useFormSize as at, useFormDisabled as ot } from "../form/hooks/use-form-common-props.js";
|
|
18
18
|
const nt = ["role"], lt = ["id", "type", "disabled", "formatter", "parser", "readonly", "autocomplete", "tabindex", "aria-label", "placeholder", "form"], st = ["id", "tabindex", "disabled", "readonly", "autocomplete", "aria-label", "placeholder", "form"], It = /* @__PURE__ */ Oe({
|
|
19
19
|
__name: "input",
|
|
20
20
|
props: {
|
|
@@ -85,9 +85,9 @@ const nt = ["role"], lt = ["id", "type", "disabled", "formatter", "parser", "rea
|
|
|
85
85
|
o.is("focus", v.value)
|
|
86
86
|
]), d = Ze({
|
|
87
87
|
excludeKeys: l(() => Object.keys(X.value))
|
|
88
|
-
}), { form: Ce, formItem: F } =
|
|
88
|
+
}), { form: Ce, formItem: F } = et(), { inputId: Y } = tt(xe.props, {
|
|
89
89
|
formItemContext: F
|
|
90
|
-
}), ke =
|
|
90
|
+
}), ke = at(), h = ot(), o = pe("input"), Z = pe("textarea"), M = H(), b = H(), v = S(!1), N = S(!1), C = S(!1), K = S(!1), _ = S(), O = H(e.inputStyle), k = l(() => M.value || b.value), T = l(() => G(e.prefixIcon, "icon", { size: 16 })), ee = l(() => G(e.suffixIcon, "icon", { size: 16 })), Ie = l(() => G(e.clearIcon, "icon", {
|
|
91
91
|
icon: "icon-circle-close",
|
|
92
92
|
size: 16
|
|
93
93
|
})), te = l(() => Ce?.statusIcon ?? !1), I = l(() => F?.validateState || ""), ae = l(
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { shallowRef as B, ref as L, computed as c, watch as G } from "vue";
|
|
2
2
|
import { EVENT_CODE as g } from "../../../constants/aria.js";
|
|
3
|
-
import { CHANGE_EVENT as i,
|
|
3
|
+
import { CHANGE_EVENT as i, UPDATE_MODEL_EVENT as d, INPUT_EVENT as H } from "../../../constants/event.js";
|
|
4
4
|
import "@vueuse/core";
|
|
5
5
|
import { isUndefined as K } from "@vft/utils";
|
|
6
6
|
import { debugWarn as C } from "../../../utils/error.js";
|
|
@@ -128,8 +128,8 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
128
128
|
readonly id: string;
|
|
129
129
|
readonly autofocus: boolean;
|
|
130
130
|
readonly tabindex: import("vft/es/utils").EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
|
131
|
-
readonly trigger: import("vft/es/utils").EpPropMergeType<(new (...args: any[]) => "Enter" | "Space") | (() => "Enter" | "Space") | (((new (...args: any[]) => "Enter" | "Space") | (() => "Enter" | "Space")) | null)[], unknown, unknown>;
|
|
132
131
|
readonly readonly: boolean;
|
|
132
|
+
readonly trigger: import("vft/es/utils").EpPropMergeType<(new (...args: any[]) => "Enter" | "Space") | (() => "Enter" | "Space") | (((new (...args: any[]) => "Enter" | "Space") | (() => "Enter" | "Space")) | null)[], unknown, unknown>;
|
|
133
133
|
readonly validateEvent: import("vft/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
134
134
|
readonly clearable: boolean;
|
|
135
135
|
readonly tagType: string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export declare const VftLink: import("vft/es/utils").SFCWithInstall<{
|
|
2
2
|
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{
|
|
3
3
|
type: {
|
|
4
|
-
type: import("vue").PropType<"default" | "success" | "warning" | "info" | "
|
|
4
|
+
type: import("vue").PropType<"default" | "success" | "warning" | "info" | "primary" | "danger">;
|
|
5
5
|
};
|
|
6
6
|
underline: {
|
|
7
7
|
type: import("vue").PropType<boolean>;
|
|
@@ -31,7 +31,7 @@ export declare const VftLink: import("vft/es/utils").SFCWithInstall<{
|
|
|
31
31
|
Defaults: {};
|
|
32
32
|
}, Readonly<import("vue").ExtractPropTypes<{
|
|
33
33
|
type: {
|
|
34
|
-
type: import("vue").PropType<"default" | "success" | "warning" | "info" | "
|
|
34
|
+
type: import("vue").PropType<"default" | "success" | "warning" | "info" | "primary" | "danger">;
|
|
35
35
|
};
|
|
36
36
|
underline: {
|
|
37
37
|
type: import("vue").PropType<boolean>;
|
|
@@ -56,7 +56,7 @@ export declare const VftLink: import("vft/es/utils").SFCWithInstall<{
|
|
|
56
56
|
__isSuspense?: never;
|
|
57
57
|
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
58
58
|
type: {
|
|
59
|
-
type: import("vue").PropType<"default" | "success" | "warning" | "info" | "
|
|
59
|
+
type: import("vue").PropType<"default" | "success" | "warning" | "info" | "primary" | "danger">;
|
|
60
60
|
};
|
|
61
61
|
underline: {
|
|
62
62
|
type: import("vue").PropType<boolean>;
|