vft 0.0.507 → 0.0.509
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.css +1 -1
- package/es/components/carousel/use-carousel.js +1 -1
- package/es/components/cascader/cascader.vue2.js +203 -202
- package/es/components/cascader-panel/menu.vue2.js +50 -49
- package/es/components/clamp-toggle/clamp-toggle.vue2.js +21 -17
- package/es/components/color-picker/color-picker.vue2.js +134 -133
- package/es/components/config-provider/config-provider.vue.d.ts +2 -0
- package/es/components/config-provider/config-provider.vue2.js +5 -4
- package/es/components/config-provider/constants.d.ts +1 -0
- package/es/components/config-provider/constants.js +3 -2
- package/es/components/config-provider/hooks/use-global-config.js +33 -30
- package/es/components/config-provider/index.d.ts +9 -0
- package/es/components/config-provider/index.js +6 -5
- package/es/components/date-picker/composables/use-basic-date-table.d.ts +1 -1
- package/es/components/date-picker/composables/use-basic-date-table.js +124 -123
- package/es/components/date-picker/composables/use-month-range-header.js +15 -14
- package/es/components/date-picker/composables/use-panel-date-range.js +24 -23
- package/es/components/date-picker/date-picker-com/basic-month-table.vue2.js +39 -38
- package/es/components/date-picker/date-picker-com/basic-year-table.vue2.js +39 -38
- package/es/components/date-picker/date-picker-com/panel-date-pick.vue2.js +179 -178
- package/es/components/date-picker/date-picker-com/panel-date-range.vue2.js +225 -224
- package/es/components/date-time-select/date-time-select.vue2.js +39 -36
- package/es/components/dropdown/dropdown.vue2.js +68 -67
- package/es/components/empty/empty.vue2.js +39 -38
- package/es/components/full-screen/full-screen.vue2.js +18 -17
- package/es/components/image/image.vue2.js +60 -59
- package/es/components/image-viewer/image-viewer.vue2.js +45 -44
- package/es/components/index.js +161 -160
- package/es/components/input/input.vue2.js +4 -4
- package/es/components/input-tag/composables/use-input-tag.js +1 -1
- package/es/components/md-container/md-container.vue2.js +75 -74
- package/es/components/md-container/toc.js +37 -36
- package/es/components/modal/modal-footer-action.vue2.js +25 -24
- package/es/components/multiple-tabs/multiple-tabs.vue2.js +16 -15
- package/es/components/multiple-tabs/use/use-tab-dropdown.js +54 -53
- package/es/components/pagination/components/jumper.vue2.js +29 -28
- package/es/components/pagination/components/sizes.vue2.js +21 -20
- package/es/components/pagination/components/total.vue2.js +11 -10
- package/es/components/popconfirm/popconfirm.vue2.js +40 -39
- package/es/components/search/search.vue2.js +79 -77
- package/es/components/select/useSelect.js +232 -231
- package/es/components/super-form/super-form-action.vue2.js +41 -40
- package/es/components/super-form/super-form-item.vue2.js +206 -203
- package/es/components/super-form/use/helper.d.ts +1 -1
- package/es/components/super-form/use/helper.js +62 -62
- package/es/components/table/field.js +130 -110
- package/es/components/table/table.vue2.js +152 -150
- package/es/components/table/use/use-columns.js +29 -26
- package/es/components/table/use/use-data-source.js +87 -86
- package/es/components/time-picker/time-picker-com/panel-time-pick.vue2.js +66 -65
- package/es/components/time-picker/time-picker-com/panel-time-range.vue2.js +134 -133
- package/es/components/transfer/transfer-panel.vue2.js +57 -56
- package/es/components/transfer/transfer.vue2.js +70 -69
- package/es/components/tree/tree.vue2.js +60 -59
- package/es/components/upload/index.d.ts +3 -3
- package/es/components/upload/upload-content.vue.d.ts +2 -2
- package/es/components/upload/upload-content.vue2.js +78 -75
- package/es/components/upload/upload-list.vue2.js +46 -45
- package/es/components/upload/upload.vue.d.ts +2 -2
- package/es/components/upload/upload.vue2.js +87 -85
- package/es/components/upload/utils.js +29 -29
- package/es/constants/date.d.ts +1 -1
- package/es/constants/date.js +9 -1
- package/es/hooks/use-z-index/index.js +3 -3
- package/es/index.d.ts +1 -0
- package/es/index.js +5 -1
- package/es/locale/index.d.js +1 -0
- package/es/locale/index.d.ts +26 -0
- package/es/locale/index.js +10 -0
- package/es/locale/lang/en.d.ts +183 -0
- package/es/locale/lang/en.js +241 -0
- package/es/locale/lang/zh-cn.d.ts +183 -0
- package/es/locale/lang/zh-cn.js +241 -0
- package/es/locale/lang/zh-tw.d.ts +183 -0
- package/es/locale/lang/zh-tw.js +241 -0
- package/es/locale/use-locale.d.ts +17 -0
- package/es/locale/use-locale.js +56 -0
- package/es/package.json.d.ts +1 -1
- package/es/package.json.js +1 -1
- package/es/utils/vue/vnode.js +1 -1
- package/lib/components/cascader/cascader.vue2.cjs +1 -1
- package/lib/components/cascader-panel/menu.vue2.cjs +4 -4
- package/lib/components/clamp-toggle/clamp-toggle.vue2.cjs +1 -1
- package/lib/components/color-picker/color-picker.vue2.cjs +1 -1
- package/lib/components/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/constants.cjs +1 -1
- package/lib/components/config-provider/constants.d.ts +1 -0
- package/lib/components/config-provider/hooks/use-global-config.cjs +1 -1
- package/lib/components/config-provider/index.cjs +1 -1
- package/lib/components/config-provider/index.d.ts +9 -0
- package/lib/components/date-picker/composables/use-basic-date-table.cjs +1 -1
- package/lib/components/date-picker/composables/use-basic-date-table.d.ts +1 -1
- package/lib/components/date-picker/composables/use-month-range-header.cjs +1 -1
- package/lib/components/date-picker/composables/use-panel-date-range.cjs +1 -1
- package/lib/components/date-picker/date-picker-com/basic-month-table.vue2.cjs +1 -1
- package/lib/components/date-picker/date-picker-com/basic-year-table.vue2.cjs +1 -1
- package/lib/components/date-picker/date-picker-com/panel-date-pick.vue2.cjs +1 -1
- package/lib/components/date-picker/date-picker-com/panel-date-range.vue2.cjs +1 -1
- package/lib/components/date-time-select/date-time-select.vue2.cjs +1 -1
- package/lib/components/dropdown/dropdown.vue2.cjs +1 -1
- package/lib/components/empty/empty.vue2.cjs +1 -1
- package/lib/components/full-screen/full-screen.vue2.cjs +1 -1
- package/lib/components/image/image.vue2.cjs +1 -1
- package/lib/components/image-viewer/image-viewer.vue2.cjs +1 -1
- package/lib/components/index.cjs +1 -1
- package/lib/components/input/input.vue2.cjs +1 -1
- package/lib/components/md-container/md-container.vue2.cjs +1 -1
- package/lib/components/md-container/toc.cjs +1 -1
- package/lib/components/modal/modal-footer-action.vue2.cjs +1 -1
- package/lib/components/multiple-tabs/multiple-tabs.vue2.cjs +1 -1
- package/lib/components/multiple-tabs/use/use-tab-dropdown.cjs +1 -1
- package/lib/components/pagination/components/jumper.vue2.cjs +1 -1
- package/lib/components/pagination/components/sizes.vue2.cjs +1 -1
- package/lib/components/pagination/components/total.vue2.cjs +1 -1
- package/lib/components/popconfirm/popconfirm.vue2.cjs +1 -1
- package/lib/components/search/search.vue2.cjs +1 -1
- package/lib/components/select/useSelect.cjs +1 -1
- package/lib/components/super-form/super-form-action.vue2.cjs +1 -1
- package/lib/components/super-form/super-form-item.vue2.cjs +1 -1
- package/lib/components/super-form/use/helper.cjs +1 -1
- package/lib/components/super-form/use/helper.d.ts +1 -1
- package/lib/components/table/field.cjs +1 -1
- package/lib/components/table/table.vue2.cjs +1 -1
- package/lib/components/table/use/use-columns.cjs +1 -1
- package/lib/components/table/use/use-data-source.cjs +1 -1
- package/lib/components/time-picker/time-picker-com/panel-time-pick.vue2.cjs +1 -1
- package/lib/components/time-picker/time-picker-com/panel-time-range.vue2.cjs +1 -1
- package/lib/components/transfer/transfer-panel.vue2.cjs +1 -1
- package/lib/components/transfer/transfer.vue2.cjs +1 -1
- package/lib/components/tree/tree.vue2.cjs +1 -1
- package/lib/components/upload/index.d.ts +3 -3
- package/lib/components/upload/upload-content.vue.d.ts +2 -2
- package/lib/components/upload/upload-content.vue2.cjs +1 -1
- package/lib/components/upload/upload-list.vue2.cjs +1 -1
- package/lib/components/upload/upload.vue.d.ts +2 -2
- package/lib/components/upload/upload.vue2.cjs +1 -1
- package/lib/components/upload/utils.cjs +1 -1
- package/lib/constants/date.cjs +1 -1
- package/lib/constants/date.d.ts +1 -1
- package/lib/index.cjs +1 -1
- package/lib/index.d.ts +1 -0
- package/lib/locale/index.cjs +1 -0
- package/lib/locale/index.d.cjs +1 -0
- package/lib/locale/index.d.ts +26 -0
- package/lib/locale/lang/en.cjs +1 -0
- package/lib/locale/lang/en.d.ts +183 -0
- package/lib/locale/lang/zh-cn.cjs +1 -0
- package/lib/locale/lang/zh-cn.d.ts +183 -0
- package/lib/locale/lang/zh-tw.cjs +1 -0
- package/lib/locale/lang/zh-tw.d.ts +183 -0
- package/lib/locale/use-locale.cjs +1 -0
- package/lib/locale/use-locale.d.ts +17 -0
- package/lib/package.json.cjs +1 -1
- package/lib/package.json.d.ts +1 -1
- package/package.json +3 -3
- package/theme-style/index.css +1 -1
- package/theme-style/src/super-form.scss +0 -1
- package/theme-style/vft-super-form.css +1 -1
- package/web-types.json +1 -1
package/es/components/index.js
CHANGED
|
@@ -9,7 +9,7 @@ import { VftCascaderPanel as T } 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
|
|
12
|
+
import { VftClientOnly as K } from "./client-only/index.js";
|
|
13
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";
|
|
@@ -32,7 +32,7 @@ import { VftEmpty as Po } 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
|
|
35
|
+
import { VftHeaderLayout as Ko } from "./header-layout/index.js";
|
|
36
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";
|
|
@@ -57,7 +57,7 @@ import { VftRadio as Pr, 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 Ar } 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
63
|
import { VftSideMenu as Nr } from "./side-menu/index.js";
|
|
@@ -80,7 +80,7 @@ import { default as ce } from "./virtual-list/components/fixed-size-grid.js";
|
|
|
80
80
|
import { default as Te } from "./virtual-list/components/dynamic-size-grid.js";
|
|
81
81
|
import { virtualizedGridProps as ge, virtualizedListProps as Ee, virtualizedProps as Ie, virtualizedScrollbarProps as De } from "./virtual-list/props.js";
|
|
82
82
|
import { VftAutocomplete as _e } from "./autocomplete/index.js";
|
|
83
|
-
import { VftBreadcrumb as Me, VftBreadcrumbItem as
|
|
83
|
+
import { VftBreadcrumb as Me, VftBreadcrumbItem as Ke } from "./breadcrumb/index.js";
|
|
84
84
|
import { VftCarousel as be, VftCarouselItem as Re } from "./carousel/index.js";
|
|
85
85
|
import { VftCollapse as Le, VftCollapseItem as Oe } from "./collapse/index.js";
|
|
86
86
|
import { VftCountdown as ke } from "./countdown/index.js";
|
|
@@ -105,7 +105,7 @@ import { VftMessage as Pt, VftMessage as gt } from "./message/index.js";
|
|
|
105
105
|
import { VftProgressI as It } from "./progress-i/index.js";
|
|
106
106
|
import { VftSuperForm as St } from "./super-form/index.js";
|
|
107
107
|
import { default as yt } from "./popper/arrow.vue2.js";
|
|
108
|
-
import { default as
|
|
108
|
+
import { default as Kt } from "./popper/content.vue2.js";
|
|
109
109
|
import { default as bt } from "./popper/trigger.vue2.js";
|
|
110
110
|
import { default as Ft } from "./time-picker/common/picker.vue2.js";
|
|
111
111
|
import { default as Ot } from "./time-picker/time-picker-com/panel-time-pick.vue2.js";
|
|
@@ -114,84 +114,84 @@ import { cascaderEmits as Gt, cascaderProps as wt } from "./cascader/cascader.js
|
|
|
114
114
|
import { CASCADER_PANEL_INJECTION_KEY as zt } from "./cascader-panel/types.js";
|
|
115
115
|
import { CommonProps as Ht, DefaultProps as Ut, cascaderPanelEmits as Jt, cascaderPanelProps as Yt, useCascaderConfig as qt } from "./cascader-panel/config.js";
|
|
116
116
|
import { checkboxGroupContextKey as jt } from "./checkbox/constants.js";
|
|
117
|
-
import { configProviderContextKey as Xt,
|
|
118
|
-
import { provideGlobalConfig as
|
|
119
|
-
import { ROOT_PICKER_INJECTION_KEY as
|
|
120
|
-
import { datePickerProps as
|
|
121
|
-
import { DEFAULT_DIALOG_TRANSITION as
|
|
122
|
-
import { useDialog as
|
|
123
|
-
import { DROPDOWN_INJECTION_KEY as
|
|
124
|
-
import { EmptyEnum as
|
|
125
|
-
import { formContextKey as
|
|
126
|
-
import { useDisabled as
|
|
127
|
-
import { useFormItem as
|
|
128
|
-
import { MenuTypeEnum as
|
|
129
|
-
import { initAffixTabs as
|
|
130
|
-
import { useTabDropdown as
|
|
131
|
-
import { notificationEmits as
|
|
132
|
-
import { usePagination as
|
|
133
|
-
import { radioGroupKey as
|
|
134
|
-
import { rowContextKey as
|
|
135
|
-
import { scrollbarContextKey as
|
|
136
|
-
import { BAR_MAP as
|
|
137
|
-
import { selectV2InjectionKey as
|
|
138
|
-
import { sliderContextKey as
|
|
139
|
-
import { sliderEmits as
|
|
140
|
-
import { spaceProps as
|
|
141
|
-
import { useSpace as
|
|
142
|
-
import { addRequire as
|
|
143
|
-
import { TabsRootContextKey as
|
|
144
|
-
import { timePickerDefaultProps as
|
|
145
|
-
import { DEFAULT_FORMATS_DATE as
|
|
146
|
-
import { buildTimeList as
|
|
147
|
-
import { TOOLTIP_INJECTION_KEY as
|
|
148
|
-
import { getChildState as
|
|
149
|
-
import { dragEventsKey as
|
|
150
|
-
import { breadcrumbKey as
|
|
151
|
-
import { CAROUSEL_ITEM_NAME as
|
|
152
|
-
import { collapseEmits as
|
|
153
|
-
import { collapseItemProps as
|
|
154
|
-
import { collapseContextKey as
|
|
155
|
-
import { countdownEmits as
|
|
156
|
-
import { inputTagEmits as
|
|
157
|
-
import { useModal as
|
|
158
|
-
import { defaultProps as
|
|
159
|
-
import { LEFT_CHECK_CHANGE_EVENT as
|
|
160
|
-
import { genFileId as
|
|
161
|
-
import { watermarkProps as
|
|
162
|
-
import { vLoading as Am, createLoadingDirective as
|
|
163
|
-
import { Loading as
|
|
164
|
-
import { messageDefaults as
|
|
165
|
-
import { isDatePicker as
|
|
166
|
-
import { getDynamicProps as
|
|
117
|
+
import { configProviderContextKey as Xt, localeContextKey as Zt, messageConfig as $t } from "./config-provider/constants.js";
|
|
118
|
+
import { provideGlobalConfig as rf, useGlobalComponentSettings as ef, useGlobalConfig as tf } from "./config-provider/hooks/use-global-config.js";
|
|
119
|
+
import { ROOT_PICKER_INJECTION_KEY as pf, ROOT_PICKER_IS_DEFAULT_FORMAT_INJECTION_KEY as mf } from "./date-picker/constants.js";
|
|
120
|
+
import { datePickerProps as xf } from "./date-picker/props/date-picker.js";
|
|
121
|
+
import { DEFAULT_DIALOG_TRANSITION as sf, dialogInjectionKey as Vf } from "./dialog/constants.js";
|
|
122
|
+
import { useDialog as uf } from "./dialog/use-dialog.js";
|
|
123
|
+
import { DROPDOWN_INJECTION_KEY as cf } from "./dropdown/tokens.js";
|
|
124
|
+
import { EmptyEnum as Tf } from "./empty/constants.js";
|
|
125
|
+
import { formContextKey as gf, formItemContextKey as Ef } from "./form/constants.js";
|
|
126
|
+
import { useDisabled as Df, useFormDisabled as Sf, useFormSize as _f, useSize as yf } from "./form/hooks/use-form-common-props.js";
|
|
127
|
+
import { useFormItem as Kf, useFormItemInputId as Af } from "./form/hooks/use-form-item.js";
|
|
128
|
+
import { MenuTypeEnum as Rf } from "./horizontal-menu/constants.js";
|
|
129
|
+
import { initAffixTabs as Lf, useTabsDrag as Of } from "./multiple-tabs/use/use-multiple-tabs.js";
|
|
130
|
+
import { useTabDropdown as kf } from "./multiple-tabs/use/use-tab-dropdown.js";
|
|
131
|
+
import { notificationEmits as Gf, notificationProps as wf, notificationTypes as hf } from "./notification/notification.js";
|
|
132
|
+
import { usePagination as Bf, vftPaginationKey as Hf } from "./pagination/usePagination.js";
|
|
133
|
+
import { radioGroupKey as Jf } from "./radio/constants.js";
|
|
134
|
+
import { rowContextKey as qf } from "./row/constants.js";
|
|
135
|
+
import { scrollbarContextKey as jf } from "./scrollbar/constants.js";
|
|
136
|
+
import { BAR_MAP as Xf, GAP as Zf, renderThumbStyle as $f } from "./scrollbar/util.js";
|
|
137
|
+
import { selectV2InjectionKey as rp } from "./select/token.js";
|
|
138
|
+
import { sliderContextKey as tp } from "./slider/constants.js";
|
|
139
|
+
import { sliderEmits as pp } from "./slider/slider.js";
|
|
140
|
+
import { spaceProps as ap } from "./space/space.js";
|
|
141
|
+
import { useSpace as ip } from "./space/use-space.js";
|
|
142
|
+
import { addRequire as sp, removeRequire as Vp, selectMapping as lp } from "./table/utils.js";
|
|
143
|
+
import { TabsRootContextKey as dp } from "./tabs/types.js";
|
|
144
|
+
import { timePickerDefaultProps as Cp, timePickerRangeTriggerProps as Tp, timePickerRngeTriggerProps as Pp } from "./time-picker/common/props.js";
|
|
145
|
+
import { DEFAULT_FORMATS_DATE as Ep, DEFAULT_FORMATS_DATEPICKER as Ip, DEFAULT_FORMATS_TIME as Dp, PICKER_BASE_INJECTION_KEY as Sp, PICKER_POPPER_OPTIONS_INJECTION_KEY as _p, timeUnits as yp } from "./time-picker/constants.js";
|
|
146
|
+
import { buildTimeList as Kp, dateEquals as Ap, dayOrDaysToDate as bp, extractDateFormat as Rp, extractTimeFormat as Fp, formatter as Lp, makeList as Op, parseDate as Np, rangeArr as kp, valueEquals as vp } from "./time-picker/utils.js";
|
|
147
|
+
import { TOOLTIP_INJECTION_KEY as wp } from "./tooltip/constants.js";
|
|
148
|
+
import { getChildState as zp } from "./tree/model/node.js";
|
|
149
|
+
import { dragEventsKey as Hp, useDragNodeHandler as Up } from "./tree/model/useDragNode.js";
|
|
150
|
+
import { breadcrumbKey as Yp } from "./breadcrumb/constants.js";
|
|
151
|
+
import { CAROUSEL_ITEM_NAME as Wp, carouselContextKey as jp } from "./carousel/constants.js";
|
|
152
|
+
import { collapseEmits as Xp, collapseProps as Zp, emitChangeFn as $p } from "./collapse/collapse.js";
|
|
153
|
+
import { collapseItemProps as rm } from "./collapse/collapse-item.js";
|
|
154
|
+
import { collapseContextKey as tm } from "./collapse/constants.js";
|
|
155
|
+
import { countdownEmits as pm, countdownProps as mm } from "./countdown/countdown.js";
|
|
156
|
+
import { inputTagEmits as xm, inputTagProps as im } from "./input-tag/input-tag.js";
|
|
157
|
+
import { useModal as sm, useModalInner as Vm } from "./modal/use/use-modal.js";
|
|
158
|
+
import { defaultProps as um, segmentedEmits as dm, segmentedProps as cm } from "./segmented/segmented.js";
|
|
159
|
+
import { LEFT_CHECK_CHANGE_EVENT as Tm, RIGHT_CHECK_CHANGE_EVENT as Pm, transferCheckedChangeFn as gm, transferEmits as Em, transferProps as Im } from "./transfer/transfer.js";
|
|
160
|
+
import { genFileId as Sm, uploadContextKey as _m } from "./upload/constants.js";
|
|
161
|
+
import { watermarkProps as Mm } from "./watermark/watermark.js";
|
|
162
|
+
import { vLoading as Am, createLoadingDirective as bm, vLoading as Rm } from "./loading/directive.js";
|
|
163
|
+
import { Loading as Lm } from "./loading/service.js";
|
|
164
|
+
import { messageDefaults as Nm, messageTypes as km } from "./message/types.js";
|
|
165
|
+
import { isDatePicker as Gm, isInput as wm, isRangePicker as hm } from "./super-form/component-map.js";
|
|
166
|
+
import { getDynamicProps as Bm, useForm as Hm } from "./super-form/use/use-form.js";
|
|
167
167
|
export {
|
|
168
|
-
|
|
169
|
-
|
|
168
|
+
Xf as BAR_MAP,
|
|
169
|
+
Wp as CAROUSEL_ITEM_NAME,
|
|
170
170
|
zt as CASCADER_PANEL_INJECTION_KEY,
|
|
171
171
|
Ft as CommonPicker,
|
|
172
172
|
Ht as CommonProps,
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
173
|
+
sf as DEFAULT_DIALOG_TRANSITION,
|
|
174
|
+
Ep as DEFAULT_FORMATS_DATE,
|
|
175
|
+
Ip as DEFAULT_FORMATS_DATEPICKER,
|
|
176
|
+
Dp as DEFAULT_FORMATS_TIME,
|
|
177
|
+
cf as DROPDOWN_INJECTION_KEY,
|
|
178
178
|
Ut as DefaultProps,
|
|
179
179
|
Te as DynamicSizeGrid,
|
|
180
180
|
ue as DynamicSizeList,
|
|
181
|
-
|
|
181
|
+
Tf as EmptyEnum,
|
|
182
182
|
ce as FixedSizeGrid,
|
|
183
183
|
Ve as FixedSizeList,
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
184
|
+
Zf as GAP,
|
|
185
|
+
Tm as LEFT_CHECK_CHANGE_EVENT,
|
|
186
|
+
Rf as MenuTypeEnum,
|
|
187
187
|
Pt as Message,
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
188
|
+
Sp as PICKER_BASE_INJECTION_KEY,
|
|
189
|
+
_p as PICKER_POPPER_OPTIONS_INJECTION_KEY,
|
|
190
|
+
Pm as RIGHT_CHECK_CHANGE_EVENT,
|
|
191
|
+
pf as ROOT_PICKER_INJECTION_KEY,
|
|
192
|
+
mf as ROOT_PICKER_IS_DEFAULT_FORMAT_INJECTION_KEY,
|
|
193
|
+
wp as TOOLTIP_INJECTION_KEY,
|
|
194
|
+
dp as TabsRootContextKey,
|
|
195
195
|
Ot as TimePickPanel,
|
|
196
196
|
t as VftAlert,
|
|
197
197
|
B as VftAside,
|
|
@@ -200,7 +200,7 @@ export {
|
|
|
200
200
|
a as VftAvatarStack,
|
|
201
201
|
i as VftBacktop,
|
|
202
202
|
Me as VftBreadcrumb,
|
|
203
|
-
|
|
203
|
+
Ke as VftBreadcrumbItem,
|
|
204
204
|
s as VftButton,
|
|
205
205
|
V as VftButtonGroup,
|
|
206
206
|
u as VftCard,
|
|
@@ -215,7 +215,7 @@ export {
|
|
|
215
215
|
y as VftClamp,
|
|
216
216
|
b as VftClampToggle,
|
|
217
217
|
F as VftClampTooltip,
|
|
218
|
-
|
|
218
|
+
K as VftClientOnly,
|
|
219
219
|
O as VftCol,
|
|
220
220
|
Le as VftCollapse,
|
|
221
221
|
Oe as VftCollapseItem,
|
|
@@ -241,7 +241,7 @@ export {
|
|
|
241
241
|
So as VftFormItem,
|
|
242
242
|
yo as VftFullScreen,
|
|
243
243
|
J as VftHeader,
|
|
244
|
-
|
|
244
|
+
Ko as VftHeaderLayout,
|
|
245
245
|
bo as VftHorizontalMenu,
|
|
246
246
|
X as VftIcon,
|
|
247
247
|
Fo as VftIconText,
|
|
@@ -256,7 +256,7 @@ export {
|
|
|
256
256
|
Yo as VftListCell,
|
|
257
257
|
Ct as VftLoading,
|
|
258
258
|
Am as VftLoadingDirective,
|
|
259
|
-
|
|
259
|
+
Lm as VftLoadingService,
|
|
260
260
|
Wo as VftLogo,
|
|
261
261
|
Y as VftMain,
|
|
262
262
|
tt as VftMdCodeDemo,
|
|
@@ -279,7 +279,7 @@ export {
|
|
|
279
279
|
lr as VftPopover,
|
|
280
280
|
dr as VftPopper,
|
|
281
281
|
yt as VftPopperArrow,
|
|
282
|
-
|
|
282
|
+
Kt as VftPopperContent,
|
|
283
283
|
bt as VftPopperTrigger,
|
|
284
284
|
Be as VftProgress,
|
|
285
285
|
It as VftProgressI,
|
|
@@ -290,7 +290,7 @@ export {
|
|
|
290
290
|
Dr as VftResult,
|
|
291
291
|
_r as VftRouterViewContent,
|
|
292
292
|
Mr as VftRow,
|
|
293
|
-
|
|
293
|
+
Ar as VftScrollbar,
|
|
294
294
|
Rr as VftSearch,
|
|
295
295
|
Ue as VftSegmented,
|
|
296
296
|
Lr as VftSelect,
|
|
@@ -319,102 +319,103 @@ export {
|
|
|
319
319
|
$e as VftUpload,
|
|
320
320
|
ne as VftVerifyCode,
|
|
321
321
|
rt as VftWatermark,
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
322
|
+
sp as addRequire,
|
|
323
|
+
Yp as breadcrumbKey,
|
|
324
|
+
Kp as buildTimeList,
|
|
325
325
|
kt as buttonGroupContextKey,
|
|
326
|
-
|
|
326
|
+
jp as carouselContextKey,
|
|
327
327
|
Gt as cascaderEmits,
|
|
328
328
|
Jt as cascaderPanelEmits,
|
|
329
329
|
Yt as cascaderPanelProps,
|
|
330
330
|
wt as cascaderProps,
|
|
331
331
|
jt as checkboxGroupContextKey,
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
332
|
+
tm as collapseContextKey,
|
|
333
|
+
Xp as collapseEmits,
|
|
334
|
+
rm as collapseItemProps,
|
|
335
|
+
Zp as collapseProps,
|
|
336
336
|
Xt as configProviderContextKey,
|
|
337
|
-
|
|
338
|
-
|
|
337
|
+
pm as countdownEmits,
|
|
338
|
+
mm as countdownProps,
|
|
339
339
|
W as createContextMenu,
|
|
340
|
-
|
|
340
|
+
bm as createLoadingDirective,
|
|
341
341
|
Ap as dateEquals,
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
342
|
+
xf as datePickerProps,
|
|
343
|
+
bp as dayOrDaysToDate,
|
|
344
|
+
um as defaultProps,
|
|
345
345
|
j as destroyContextMenu,
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
Nm as
|
|
367
|
-
|
|
368
|
-
Gf as
|
|
369
|
-
wf as
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
dm as
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
Cp as
|
|
387
|
-
Tp as
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
gm as
|
|
391
|
-
Em as
|
|
392
|
-
|
|
346
|
+
Vf as dialogInjectionKey,
|
|
347
|
+
Hp as dragEventsKey,
|
|
348
|
+
$p as emitChangeFn,
|
|
349
|
+
Rp as extractDateFormat,
|
|
350
|
+
Fp as extractTimeFormat,
|
|
351
|
+
gf as formContextKey,
|
|
352
|
+
Ef as formItemContextKey,
|
|
353
|
+
Lp as formatter,
|
|
354
|
+
Sm as genFileId,
|
|
355
|
+
zp as getChildState,
|
|
356
|
+
Bm as getDynamicProps,
|
|
357
|
+
Lf as initAffixTabs,
|
|
358
|
+
xm as inputTagEmits,
|
|
359
|
+
im as inputTagProps,
|
|
360
|
+
Gm as isDatePicker,
|
|
361
|
+
wm as isInput,
|
|
362
|
+
hm as isRangePicker,
|
|
363
|
+
Zt as localeContextKey,
|
|
364
|
+
Op as makeList,
|
|
365
|
+
$t as messageConfig,
|
|
366
|
+
Nm as messageDefaults,
|
|
367
|
+
km as messageTypes,
|
|
368
|
+
Gf as notificationEmits,
|
|
369
|
+
wf as notificationProps,
|
|
370
|
+
hf as notificationTypes,
|
|
371
|
+
Np as parseDate,
|
|
372
|
+
rf as provideGlobalConfig,
|
|
373
|
+
Jf as radioGroupKey,
|
|
374
|
+
kp as rangeArr,
|
|
375
|
+
Vp as removeRequire,
|
|
376
|
+
$f as renderThumbStyle,
|
|
377
|
+
qf as rowContextKey,
|
|
378
|
+
jf as scrollbarContextKey,
|
|
379
|
+
dm as segmentedEmits,
|
|
380
|
+
cm as segmentedProps,
|
|
381
|
+
lp as selectMapping,
|
|
382
|
+
rp as selectV2InjectionKey,
|
|
383
|
+
tp as sliderContextKey,
|
|
384
|
+
pp as sliderEmits,
|
|
385
|
+
ap as spaceProps,
|
|
386
|
+
Cp as timePickerDefaultProps,
|
|
387
|
+
Tp as timePickerRangeTriggerProps,
|
|
388
|
+
Pp as timePickerRngeTriggerProps,
|
|
389
|
+
yp as timeUnits,
|
|
390
|
+
gm as transferCheckedChangeFn,
|
|
391
|
+
Em as transferEmits,
|
|
392
|
+
Im as transferProps,
|
|
393
|
+
_m as uploadContextKey,
|
|
393
394
|
qt as useCascaderConfig,
|
|
394
395
|
$ as useContextMenu,
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
396
|
+
uf as useDialog,
|
|
397
|
+
Df as useDisabled,
|
|
398
|
+
Up as useDragNodeHandler,
|
|
399
|
+
Hm as useForm,
|
|
400
|
+
Sf as useFormDisabled,
|
|
401
|
+
Kf as useFormItem,
|
|
401
402
|
Af as useFormItemInputId,
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
403
|
+
_f as useFormSize,
|
|
404
|
+
ef as useGlobalComponentSettings,
|
|
405
|
+
tf as useGlobalConfig,
|
|
406
|
+
sm as useModal,
|
|
407
|
+
Vm as useModalInner,
|
|
408
|
+
Bf as usePagination,
|
|
409
|
+
yf as useSize,
|
|
410
|
+
ip as useSpace,
|
|
411
|
+
kf as useTabDropdown,
|
|
412
|
+
Of as useTabsDrag,
|
|
413
|
+
Rm as vLoading,
|
|
414
|
+
vp as valueEquals,
|
|
415
|
+
Hf as vftPaginationKey,
|
|
415
416
|
ge as virtualizedGridProps,
|
|
416
417
|
Ee as virtualizedListProps,
|
|
417
418
|
Ie as virtualizedProps,
|
|
418
419
|
De as virtualizedScrollbarProps,
|
|
419
|
-
|
|
420
|
+
Mm as watermarkProps
|
|
420
421
|
};
|
|
@@ -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 he } from "./utils.js";
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
16
|
+
import { useFormSize as et, useFormDisabled as tt } from "../form/hooks/use-form-common-props.js";
|
|
17
|
+
import { useFormItem as at, useFormItemInputId as nt } from "../form/hooks/use-form-item.js";
|
|
18
18
|
const ot = ["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: {
|
|
@@ -86,9 +86,9 @@ const ot = ["role"], lt = ["id", "type", "disabled", "formatter", "parser", "rea
|
|
|
86
86
|
n.is("focus", v.value)
|
|
87
87
|
]), d = Ze({
|
|
88
88
|
excludeKeys: l(() => Object.keys(X.value))
|
|
89
|
-
}), { form: Ce, formItem: M } =
|
|
89
|
+
}), { form: Ce, formItem: M } = at(), { inputId: Y } = nt(we.props, {
|
|
90
90
|
formItemContext: M
|
|
91
|
-
}), ke =
|
|
91
|
+
}), ke = et(), x = tt(), n = ye("input"), Z = ye("textarea"), K = H(), p = H(), v = E(!1), N = E(!1), C = E(!1), k = E(!1), _ = E(), O = H(e.inputStyle), I = l(() => K.value || p.value), T = l(() => G(e.prefixIcon, "icon", { size: 16 })), ee = l(() => G(e.suffixIcon, "icon", { size: 16 })), Ie = l(() => G(e.clearIcon, "icon", {
|
|
92
92
|
icon: "icon-circle-close",
|
|
93
93
|
size: 16
|
|
94
94
|
})), te = l(() => Ce?.statusIcon ?? !1), z = l(() => M?.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, INPUT_EVENT as H, UPDATE_MODEL_EVENT as d } 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";
|