vft 0.0.210 → 0.0.211
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/components/button/use-button.js +3 -3
- package/es/components/index.js +111 -111
- package/es/index.js +111 -111
- package/es/package.json.d.ts +1 -1
- package/es/package.json.js +1 -1
- package/lib/components/button/use-button.cjs +1 -1
- package/lib/components/index.cjs +1 -1
- package/lib/index.cjs +1 -1
- package/lib/package.json.cjs +1 -1
- package/lib/package.json.d.ts +1 -1
- package/package.json +6 -6
- package/web-types.json +1 -1
|
@@ -3,11 +3,11 @@ import "../form/index.js";
|
|
|
3
3
|
import { useThrottleFn as T } from "@vueuse/core";
|
|
4
4
|
import { inject as _, computed as i, ref as k, useSlots as p, Text as I } from "vue";
|
|
5
5
|
import { buttonGroupContextKey as S } from "./constants.js";
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
6
|
+
import { useGlobalConfig as z } from "../config-provider/hooks/use-global-config.js";
|
|
7
|
+
import { useFormItem as C } from "../form/hooks/use-form-item.js";
|
|
8
8
|
import { useFormSize as D, useFormDisabled as j } from "../form/hooks/use-form-common-props.js";
|
|
9
9
|
const H = (t, u) => {
|
|
10
|
-
const o = _(S, void 0), m =
|
|
10
|
+
const o = _(S, void 0), m = z("button"), { form: s } = C(), d = D(i(() => o == null ? void 0 : o.size)), c = j(), f = k(), r = p(), h = i(() => t.type || (o == null ? void 0 : o.type) || ""), g = i(
|
|
11
11
|
() => {
|
|
12
12
|
var e;
|
|
13
13
|
return t.autoInsertSpace ?? ((e = m.value) == null ? void 0 : e.autoInsertSpace) ?? !1;
|
package/es/components/index.js
CHANGED
|
@@ -90,44 +90,44 @@ import { VftLoading as He } from "./loading/index.js";
|
|
|
90
90
|
import { VftMessage as Je, VftMessage as Ye } from "./message/index.js";
|
|
91
91
|
import { VftInfiniteScroll as Qe } from "./infinite-scroll/index.js";
|
|
92
92
|
import { VftProgressI as Xe } from "./progress-i/index.js";
|
|
93
|
-
import {
|
|
94
|
-
import {
|
|
95
|
-
import {
|
|
96
|
-
import {
|
|
97
|
-
import {
|
|
98
|
-
import {
|
|
99
|
-
import {
|
|
100
|
-
import {
|
|
101
|
-
import {
|
|
102
|
-
import {
|
|
103
|
-
import {
|
|
104
|
-
import {
|
|
105
|
-
import {
|
|
106
|
-
import {
|
|
107
|
-
import {
|
|
108
|
-
import {
|
|
109
|
-
import {
|
|
110
|
-
import {
|
|
111
|
-
import {
|
|
112
|
-
import { default as jt } from "./popper/
|
|
113
|
-
import {
|
|
114
|
-
import {
|
|
115
|
-
import {
|
|
116
|
-
import {
|
|
117
|
-
import {
|
|
118
|
-
import {
|
|
119
|
-
import {
|
|
120
|
-
import {
|
|
121
|
-
import {
|
|
122
|
-
import {
|
|
123
|
-
import {
|
|
124
|
-
import {
|
|
125
|
-
import {
|
|
126
|
-
import {
|
|
127
|
-
import {
|
|
128
|
-
import {
|
|
129
|
-
import {
|
|
130
|
-
import {
|
|
93
|
+
import { buttonGroupContextKey as $e } from "./button/constants.js";
|
|
94
|
+
import { checkboxGroupContextKey as rt } from "./checkbox/constants.js";
|
|
95
|
+
import { configProviderContextKey as tt, messageConfig as ft } from "./config-provider/constants.js";
|
|
96
|
+
import { provideGlobalConfig as pt, useGlobalComponentSettings as xt, useGlobalConfig as at } from "./config-provider/hooks/use-global-config.js";
|
|
97
|
+
import { ROOT_PICKER_INJECTION_KEY as Vt, datePickerConfig as nt } from "./date-picker/constants.js";
|
|
98
|
+
import { datePickerProps as ut } from "./date-picker/props/date-picker.js";
|
|
99
|
+
import { dialogInjectionKey as dt } from "./dialog/constants.js";
|
|
100
|
+
import { useDialog as It } from "./dialog/hooks/use-dialog.js";
|
|
101
|
+
import { DROPDOWN_INJECTION_KEY as Ct } from "./dropdown/tokens.js";
|
|
102
|
+
import { EmptyEnum as Dt } from "./empty/constants.js";
|
|
103
|
+
import { formContextKey as Pt, formItemContextKey as Mt } from "./form/constants.js";
|
|
104
|
+
import { useDisabled as Ft, useFormDisabled as Lt, useFormSize as yt, useSize as bt } from "./form/hooks/use-form-common-props.js";
|
|
105
|
+
import { useFormItem as At, useFormItemInputId as Kt } from "./form/hooks/use-form-item.js";
|
|
106
|
+
import { MenuTypeEnum as vt } from "./horizontal-menu/constants.js";
|
|
107
|
+
import { initAffixTabs as Gt, useTabsDrag as Ot } from "./multiple-tabs/use/use-multiple-tabs.js";
|
|
108
|
+
import { useTabDropdown as zt } from "./multiple-tabs/use/use-tab-dropdown.js";
|
|
109
|
+
import { usePagination as ht, vftPaginationKey as Ut } from "./pagination/usePagination.js";
|
|
110
|
+
import { default as Ht } from "./popper/arrow.vue2.js";
|
|
111
|
+
import { default as Jt } from "./popper/content.vue2.js";
|
|
112
|
+
import { default as jt } from "./popper/trigger.vue2.js";
|
|
113
|
+
import { radioGroupKey as Wt } from "./radio/constants.js";
|
|
114
|
+
import { rowContextKey as Zt } from "./row/constants.js";
|
|
115
|
+
import { scrollbarContextKey as of } from "./scrollbar/constants.js";
|
|
116
|
+
import { BAR_MAP as ef, GAP as tf, renderThumbStyle as ff } from "./scrollbar/util.js";
|
|
117
|
+
import { selectInjectionKey as pf } from "./select/token.js";
|
|
118
|
+
import { sliderContextKey as af } from "./slider/constants.js";
|
|
119
|
+
import { sliderEmits as nf } from "./slider/slider.js";
|
|
120
|
+
import { spaceProps as uf } from "./space/space.js";
|
|
121
|
+
import { useSpace as df } from "./space/use-space.js";
|
|
122
|
+
import { ACTION_FIELD as If, CHECKED_FIELD as Tf, CREATE_TIME_FIELD as Cf, DATE_FIELD as gf, DATE_TIME_FIELD as Df, ID_FIELD as Ef, NAME_FIELD as Pf, SEQ_FIELD as Mf, STATUS_FIELD as Sf, UPDATE_TIME_FIELD as Ff } from "./table/field.js";
|
|
123
|
+
import { useTable as yf } from "./table/use/use-table.js";
|
|
124
|
+
import { addRequire as _f, removeRequire as Af, selectMapping as Kf } from "./table/utils.js";
|
|
125
|
+
import { TabsRootContextKey as vf } from "./tabs/types.js";
|
|
126
|
+
import { timePickerDefaultProps as Gf } from "./time-picker/common/props.js";
|
|
127
|
+
import { DEFAULT_FORMATS_DATE as wf, DEFAULT_FORMATS_DATEPICKER as zf, DEFAULT_FORMATS_TIME as Nf, timeUnits as hf } from "./time-picker/constants.js";
|
|
128
|
+
import { buildTimeList as Bf, dateEquals as Hf, extractDateFormat as qf, extractTimeFormat as Jf, formatter as Yf, makeList as jf, parseDate as Qf, rangeArr as Wf, valueEquals as Xf } from "./time-picker/utils.js";
|
|
129
|
+
import { default as $f } from "./time-picker/common/picker.vue2.js";
|
|
130
|
+
import { default as rm } from "./time-picker/time-picker-com/panel-time-pick.vue2.js";
|
|
131
131
|
import { TOOLTIP_INJECTION_KEY as tm } from "./tooltip/constants.js";
|
|
132
132
|
import { getChildState as mm } from "./tree/model/node.js";
|
|
133
133
|
import { dragEventsKey as xm, useDragNodeHandler as am } from "./tree/model/useDragNode.js";
|
|
@@ -140,36 +140,36 @@ import { vLoading as bm, createLoadingDirective as _m, vLoading as Am } from "./
|
|
|
140
140
|
import { Loading as km } from "./loading/service.js";
|
|
141
141
|
import { messageDefaults as Rm, messageTypes as Gm } from "./message/types.js";
|
|
142
142
|
export {
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
$
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
143
|
+
If as ACTION_FIELD,
|
|
144
|
+
ef as BAR_MAP,
|
|
145
|
+
Tf as CHECKED_FIELD,
|
|
146
|
+
Cf as CREATE_TIME_FIELD,
|
|
147
|
+
$f as CommonPicker,
|
|
148
|
+
gf as DATE_FIELD,
|
|
149
|
+
Df as DATE_TIME_FIELD,
|
|
150
|
+
wf as DEFAULT_FORMATS_DATE,
|
|
151
|
+
zf as DEFAULT_FORMATS_DATEPICKER,
|
|
152
|
+
Nf as DEFAULT_FORMATS_TIME,
|
|
153
|
+
Ct as DROPDOWN_INJECTION_KEY,
|
|
154
154
|
oe as DynamicSizeGrid,
|
|
155
155
|
ee as DynamicSizeList,
|
|
156
|
-
|
|
156
|
+
Dt as EmptyEnum,
|
|
157
157
|
fe as FixedSizeGrid,
|
|
158
158
|
pe as FixedSizeList,
|
|
159
159
|
um as FormCompEnum,
|
|
160
|
-
|
|
161
|
-
|
|
160
|
+
tf as GAP,
|
|
161
|
+
Ef as ID_FIELD,
|
|
162
162
|
Po as Icon,
|
|
163
|
-
|
|
163
|
+
vt as MenuTypeEnum,
|
|
164
164
|
Je as Message,
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
165
|
+
Pf as NAME_FIELD,
|
|
166
|
+
Vt as ROOT_PICKER_INJECTION_KEY,
|
|
167
|
+
Mf as SEQ_FIELD,
|
|
168
|
+
Sf as STATUS_FIELD,
|
|
169
169
|
tm as TOOLTIP_INJECTION_KEY,
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
170
|
+
vf as TabsRootContextKey,
|
|
171
|
+
rm as TimePickPanel,
|
|
172
|
+
Ff as UPDATE_TIME_FIELD,
|
|
173
173
|
e as VftAlert,
|
|
174
174
|
k as VftAside,
|
|
175
175
|
ce as VftAutocomplete,
|
|
@@ -246,9 +246,9 @@ export {
|
|
|
246
246
|
fr as VftPopconfirm,
|
|
247
247
|
pr as VftPopover,
|
|
248
248
|
ar as VftPopper,
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
249
|
+
Ht as VftPopperArrow,
|
|
250
|
+
Jt as VftPopperContent,
|
|
251
|
+
jt as VftPopperTrigger,
|
|
252
252
|
ge as VftProgress,
|
|
253
253
|
Xe as VftProgressI,
|
|
254
254
|
Vr as VftQrcode,
|
|
@@ -283,76 +283,76 @@ export {
|
|
|
283
283
|
Me as VftUpload,
|
|
284
284
|
Zr as VftVerifyCode,
|
|
285
285
|
lm as add,
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
286
|
+
_f as addRequire,
|
|
287
|
+
Bf as buildTimeList,
|
|
288
|
+
$e as buttonGroupContextKey,
|
|
289
289
|
Lm as carouselContextKey,
|
|
290
|
-
|
|
290
|
+
rt as checkboxGroupContextKey,
|
|
291
291
|
dm as componentMap,
|
|
292
|
-
|
|
292
|
+
tt as configProviderContextKey,
|
|
293
293
|
z as createContextMenu,
|
|
294
294
|
_m as createLoadingDirective,
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
295
|
+
Hf as dateEquals,
|
|
296
|
+
nt as datePickerConfig,
|
|
297
|
+
ut as datePickerProps,
|
|
298
298
|
cm as del,
|
|
299
299
|
N as destroyContextMenu,
|
|
300
|
-
|
|
300
|
+
dt as dialogInjectionKey,
|
|
301
301
|
xm as dragEventsKey,
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
302
|
+
qf as extractDateFormat,
|
|
303
|
+
Jf as extractTimeFormat,
|
|
304
|
+
Pt as formContextKey,
|
|
305
|
+
Mt as formItemContextKey,
|
|
306
|
+
Yf as formatter,
|
|
307
307
|
Mm as genFileId,
|
|
308
308
|
mm as getChildState,
|
|
309
309
|
Dm as getDynamicProps,
|
|
310
|
-
|
|
310
|
+
Gt as initAffixTabs,
|
|
311
311
|
Im as isDatePicker,
|
|
312
312
|
Tm as isInput,
|
|
313
313
|
Cm as isRangePicker,
|
|
314
|
-
|
|
315
|
-
|
|
314
|
+
jf as makeList,
|
|
315
|
+
ft as messageConfig,
|
|
316
316
|
Rm as messageDefaults,
|
|
317
317
|
Gm as messageTypes,
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
318
|
+
Qf as parseDate,
|
|
319
|
+
pt as provideGlobalConfig,
|
|
320
|
+
Wt as radioGroupKey,
|
|
321
|
+
Wf as rangeArr,
|
|
322
|
+
Af as removeRequire,
|
|
323
|
+
ff as renderThumbStyle,
|
|
324
|
+
Zt as rowContextKey,
|
|
325
|
+
of as scrollbarContextKey,
|
|
326
|
+
pf as selectInjectionKey,
|
|
327
|
+
Kf as selectMapping,
|
|
328
|
+
af as sliderContextKey,
|
|
329
|
+
nf as sliderEmits,
|
|
330
|
+
uf as spaceProps,
|
|
331
|
+
Gf as timePickerDefaultProps,
|
|
332
|
+
hf as timeUnits,
|
|
333
333
|
Sm as uploadContextKey,
|
|
334
334
|
U as useContextMenu,
|
|
335
|
-
|
|
336
|
-
|
|
335
|
+
It as useDialog,
|
|
336
|
+
Ft as useDisabled,
|
|
337
337
|
am as useDragNodeHandler,
|
|
338
338
|
Em as useForm,
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
339
|
+
Lt as useFormDisabled,
|
|
340
|
+
At as useFormItem,
|
|
341
|
+
Kt as useFormItemInputId,
|
|
342
|
+
yt as useFormSize,
|
|
343
|
+
xt as useGlobalComponentSettings,
|
|
344
|
+
at as useGlobalConfig,
|
|
345
345
|
Vm as useModal,
|
|
346
346
|
nm as useModalInner,
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
347
|
+
ht as usePagination,
|
|
348
|
+
bt as useSize,
|
|
349
|
+
df as useSpace,
|
|
350
|
+
zt as useTabDropdown,
|
|
351
|
+
yf as useTable,
|
|
352
|
+
Ot as useTabsDrag,
|
|
353
353
|
Am as vLoading,
|
|
354
|
-
|
|
355
|
-
|
|
354
|
+
Xf as valueEquals,
|
|
355
|
+
Ut as vftPaginationKey,
|
|
356
356
|
ae as virtualizedGridProps,
|
|
357
357
|
ie as virtualizedListProps,
|
|
358
358
|
Ve as virtualizedProps,
|