vft 0.0.207 → 0.0.209
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/components/table/index.d.ts +4 -4
- package/es/components/table/types.d.ts +1 -1
- 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/components/table/index.d.ts +4 -4
- package/lib/components/table/types.d.ts +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 { useFormItem as z } from "../form/hooks/use-form-item.js";
|
|
7
|
+
import { useGlobalConfig as C } from "../config-provider/hooks/use-global-config.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 = C("button"), { form: s } = z(), 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 { default as $e } from "./time-picker/common/picker.vue2.js";
|
|
94
|
+
import { default as rt } from "./time-picker/time-picker-com/panel-time-pick.vue2.js";
|
|
95
|
+
import { buttonGroupContextKey as tt } from "./button/constants.js";
|
|
96
|
+
import { checkboxGroupContextKey as mt } from "./checkbox/constants.js";
|
|
97
|
+
import { configProviderContextKey as xt, messageConfig as at } from "./config-provider/constants.js";
|
|
98
|
+
import { provideGlobalConfig as Vt, useGlobalComponentSettings as nt, useGlobalConfig as st } from "./config-provider/hooks/use-global-config.js";
|
|
99
|
+
import { ROOT_PICKER_INJECTION_KEY as lt, datePickerConfig as dt } from "./date-picker/constants.js";
|
|
100
|
+
import { datePickerProps as It } from "./date-picker/props/date-picker.js";
|
|
101
|
+
import { dialogInjectionKey as Ct } from "./dialog/constants.js";
|
|
102
|
+
import { useDialog as Dt } from "./dialog/hooks/use-dialog.js";
|
|
103
|
+
import { DROPDOWN_INJECTION_KEY as Pt } from "./dropdown/tokens.js";
|
|
104
|
+
import { EmptyEnum as St } from "./empty/constants.js";
|
|
105
|
+
import { formContextKey as Lt, formItemContextKey as yt } from "./form/constants.js";
|
|
106
|
+
import { useDisabled as _t, useFormDisabled as At, useFormSize as Kt, useSize as kt } from "./form/hooks/use-form-common-props.js";
|
|
107
|
+
import { useFormItem as Rt, useFormItemInputId as Gt } from "./form/hooks/use-form-item.js";
|
|
108
|
+
import { MenuTypeEnum as wt } from "./horizontal-menu/constants.js";
|
|
109
|
+
import { initAffixTabs as Nt, useTabsDrag as ht } from "./multiple-tabs/use/use-multiple-tabs.js";
|
|
110
|
+
import { useTabDropdown as Bt } from "./multiple-tabs/use/use-tab-dropdown.js";
|
|
111
|
+
import { usePagination as qt, vftPaginationKey as Jt } from "./pagination/usePagination.js";
|
|
112
|
+
import { default as jt } from "./popper/arrow.vue2.js";
|
|
113
|
+
import { default as Wt } from "./popper/content.vue2.js";
|
|
114
|
+
import { default as Zt } from "./popper/trigger.vue2.js";
|
|
115
|
+
import { radioGroupKey as of } from "./radio/constants.js";
|
|
116
|
+
import { rowContextKey as ef } from "./row/constants.js";
|
|
117
|
+
import { scrollbarContextKey as ff } from "./scrollbar/constants.js";
|
|
118
|
+
import { BAR_MAP as pf, GAP as xf, renderThumbStyle as af } from "./scrollbar/util.js";
|
|
119
|
+
import { selectInjectionKey as nf } from "./select/token.js";
|
|
120
|
+
import { sliderContextKey as uf } from "./slider/constants.js";
|
|
121
|
+
import { sliderEmits as df } from "./slider/slider.js";
|
|
122
|
+
import { spaceProps as If } from "./space/space.js";
|
|
123
|
+
import { useSpace as Cf } from "./space/use-space.js";
|
|
124
|
+
import { ACTION_FIELD as Df, CHECKED_FIELD as Ef, CREATE_TIME_FIELD as Pf, DATE_FIELD as Mf, DATE_TIME_FIELD as Sf, ID_FIELD as Ff, NAME_FIELD as Lf, SEQ_FIELD as yf, STATUS_FIELD as bf, UPDATE_TIME_FIELD as _f } from "./table/field.js";
|
|
125
|
+
import { useTable as Kf } from "./table/use/use-table.js";
|
|
126
|
+
import { addRequire as vf, removeRequire as Rf, selectMapping as Gf } from "./table/utils.js";
|
|
127
|
+
import { TabsRootContextKey as wf } from "./tabs/types.js";
|
|
128
|
+
import { timePickerDefaultProps as Nf } from "./time-picker/common/props.js";
|
|
129
|
+
import { DEFAULT_FORMATS_DATE as Uf, DEFAULT_FORMATS_DATEPICKER as Bf, DEFAULT_FORMATS_TIME as Hf, timeUnits as qf } from "./time-picker/constants.js";
|
|
130
|
+
import { buildTimeList as Yf, dateEquals as jf, extractDateFormat as Qf, extractTimeFormat as Wf, formatter as Xf, makeList as Zf, parseDate as $f, rangeArr as om, valueEquals as rm } from "./time-picker/utils.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
|
+
Df as ACTION_FIELD,
|
|
144
|
+
pf as BAR_MAP,
|
|
145
|
+
Ef as CHECKED_FIELD,
|
|
146
|
+
Pf as CREATE_TIME_FIELD,
|
|
147
|
+
$e as CommonPicker,
|
|
148
|
+
Mf as DATE_FIELD,
|
|
149
|
+
Sf as DATE_TIME_FIELD,
|
|
150
|
+
Uf as DEFAULT_FORMATS_DATE,
|
|
151
|
+
Bf as DEFAULT_FORMATS_DATEPICKER,
|
|
152
|
+
Hf as DEFAULT_FORMATS_TIME,
|
|
153
|
+
Pt as DROPDOWN_INJECTION_KEY,
|
|
154
154
|
oe as DynamicSizeGrid,
|
|
155
155
|
ee as DynamicSizeList,
|
|
156
|
-
|
|
156
|
+
St as EmptyEnum,
|
|
157
157
|
fe as FixedSizeGrid,
|
|
158
158
|
pe as FixedSizeList,
|
|
159
159
|
um as FormCompEnum,
|
|
160
|
-
|
|
161
|
-
|
|
160
|
+
xf as GAP,
|
|
161
|
+
Ff as ID_FIELD,
|
|
162
162
|
Po as Icon,
|
|
163
|
-
|
|
163
|
+
wt as MenuTypeEnum,
|
|
164
164
|
Je as Message,
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
165
|
+
Lf as NAME_FIELD,
|
|
166
|
+
lt as ROOT_PICKER_INJECTION_KEY,
|
|
167
|
+
yf as SEQ_FIELD,
|
|
168
|
+
bf as STATUS_FIELD,
|
|
169
169
|
tm as TOOLTIP_INJECTION_KEY,
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
170
|
+
wf as TabsRootContextKey,
|
|
171
|
+
rt as TimePickPanel,
|
|
172
|
+
_f 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
|
+
jt as VftPopperArrow,
|
|
250
|
+
Wt as VftPopperContent,
|
|
251
|
+
Zt 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
|
+
vf as addRequire,
|
|
287
|
+
Yf as buildTimeList,
|
|
288
|
+
tt as buttonGroupContextKey,
|
|
289
289
|
Lm as carouselContextKey,
|
|
290
|
-
|
|
290
|
+
mt as checkboxGroupContextKey,
|
|
291
291
|
dm as componentMap,
|
|
292
|
-
|
|
292
|
+
xt as configProviderContextKey,
|
|
293
293
|
z as createContextMenu,
|
|
294
294
|
_m as createLoadingDirective,
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
295
|
+
jf as dateEquals,
|
|
296
|
+
dt as datePickerConfig,
|
|
297
|
+
It as datePickerProps,
|
|
298
298
|
cm as del,
|
|
299
299
|
N as destroyContextMenu,
|
|
300
|
-
|
|
300
|
+
Ct as dialogInjectionKey,
|
|
301
301
|
xm as dragEventsKey,
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
302
|
+
Qf as extractDateFormat,
|
|
303
|
+
Wf as extractTimeFormat,
|
|
304
|
+
Lt as formContextKey,
|
|
305
|
+
yt as formItemContextKey,
|
|
306
|
+
Xf as formatter,
|
|
307
307
|
Mm as genFileId,
|
|
308
308
|
mm as getChildState,
|
|
309
309
|
Dm as getDynamicProps,
|
|
310
|
-
|
|
310
|
+
Nt as initAffixTabs,
|
|
311
311
|
Im as isDatePicker,
|
|
312
312
|
Tm as isInput,
|
|
313
313
|
Cm as isRangePicker,
|
|
314
|
-
|
|
315
|
-
|
|
314
|
+
Zf as makeList,
|
|
315
|
+
at 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
|
+
$f as parseDate,
|
|
319
|
+
Vt as provideGlobalConfig,
|
|
320
|
+
of as radioGroupKey,
|
|
321
|
+
om as rangeArr,
|
|
322
|
+
Rf as removeRequire,
|
|
323
|
+
af as renderThumbStyle,
|
|
324
|
+
ef as rowContextKey,
|
|
325
|
+
ff as scrollbarContextKey,
|
|
326
|
+
nf as selectInjectionKey,
|
|
327
|
+
Gf as selectMapping,
|
|
328
|
+
uf as sliderContextKey,
|
|
329
|
+
df as sliderEmits,
|
|
330
|
+
If as spaceProps,
|
|
331
|
+
Nf as timePickerDefaultProps,
|
|
332
|
+
qf as timeUnits,
|
|
333
333
|
Sm as uploadContextKey,
|
|
334
334
|
U as useContextMenu,
|
|
335
|
-
|
|
336
|
-
|
|
335
|
+
Dt as useDialog,
|
|
336
|
+
_t as useDisabled,
|
|
337
337
|
am as useDragNodeHandler,
|
|
338
338
|
Em as useForm,
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
339
|
+
At as useFormDisabled,
|
|
340
|
+
Rt as useFormItem,
|
|
341
|
+
Gt as useFormItemInputId,
|
|
342
|
+
Kt as useFormSize,
|
|
343
|
+
nt as useGlobalComponentSettings,
|
|
344
|
+
st as useGlobalConfig,
|
|
345
345
|
Vm as useModal,
|
|
346
346
|
nm as useModalInner,
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
347
|
+
qt as usePagination,
|
|
348
|
+
kt as useSize,
|
|
349
|
+
Cf as useSpace,
|
|
350
|
+
Bt as useTabDropdown,
|
|
351
|
+
Kf as useTable,
|
|
352
|
+
ht as useTabsDrag,
|
|
353
353
|
Am as vLoading,
|
|
354
|
-
|
|
355
|
-
|
|
354
|
+
rm as valueEquals,
|
|
355
|
+
Jt as vftPaginationKey,
|
|
356
356
|
ae as virtualizedGridProps,
|
|
357
357
|
ie as virtualizedListProps,
|
|
358
358
|
Ve as virtualizedProps,
|
|
@@ -313,7 +313,7 @@ export declare const VftTable: import("vft/es/utils").SFCWithInstall<{
|
|
|
313
313
|
default: string;
|
|
314
314
|
};
|
|
315
315
|
fetchSetting: {
|
|
316
|
-
type: import("vue").PropType<import("./types").FetchSetting
|
|
316
|
+
type: import("vue").PropType<Partial<import("./types").FetchSetting>>;
|
|
317
317
|
};
|
|
318
318
|
watchApiFetch: {
|
|
319
319
|
type: import("vue").PropType<boolean>;
|
|
@@ -847,7 +847,7 @@ export declare const VftTable: import("vft/es/utils").SFCWithInstall<{
|
|
|
847
847
|
default: string;
|
|
848
848
|
};
|
|
849
849
|
fetchSetting: {
|
|
850
|
-
type: import("vue").PropType<import("./types").FetchSetting
|
|
850
|
+
type: import("vue").PropType<Partial<import("./types").FetchSetting>>;
|
|
851
851
|
};
|
|
852
852
|
watchApiFetch: {
|
|
853
853
|
type: import("vue").PropType<boolean>;
|
|
@@ -1307,7 +1307,7 @@ export declare const VftTable: import("vft/es/utils").SFCWithInstall<{
|
|
|
1307
1307
|
default: string;
|
|
1308
1308
|
};
|
|
1309
1309
|
fetchSetting: {
|
|
1310
|
-
type: import("vue").PropType<import("./types").FetchSetting
|
|
1310
|
+
type: import("vue").PropType<Partial<import("./types").FetchSetting>>;
|
|
1311
1311
|
};
|
|
1312
1312
|
watchApiFetch: {
|
|
1313
1313
|
type: import("vue").PropType<boolean>;
|
|
@@ -1781,7 +1781,7 @@ export declare const VftTable: import("vft/es/utils").SFCWithInstall<{
|
|
|
1781
1781
|
default: string;
|
|
1782
1782
|
};
|
|
1783
1783
|
fetchSetting: {
|
|
1784
|
-
type: import("vue").PropType<import("./types").FetchSetting
|
|
1784
|
+
type: import("vue").PropType<Partial<import("./types").FetchSetting>>;
|
|
1785
1785
|
};
|
|
1786
1786
|
watchApiFetch: {
|
|
1787
1787
|
type: import("vue").PropType<boolean>;
|
|
@@ -21,7 +21,7 @@ export interface TableProps extends VxeGridProps {
|
|
|
21
21
|
total?: number;
|
|
22
22
|
rowkey?: string;
|
|
23
23
|
immediate?: boolean;
|
|
24
|
-
fetchSetting?: FetchSetting
|
|
24
|
+
fetchSetting?: Partial<FetchSetting>;
|
|
25
25
|
watchApiFetch?: boolean;
|
|
26
26
|
beforeFetch?: (params?: any) => any;
|
|
27
27
|
delEmptyParams?: boolean | 'strict';
|