vft 0.0.146 → 0.0.147
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 +113 -113
- package/es/components/table/index.d.ts +3 -0
- package/es/components/table/table.vue.d.ts +2 -0
- package/es/components/table/table.vue2.js +2 -2
- package/es/index.js +113 -113
- 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 +3 -0
- package/lib/components/table/table.vue.d.ts +2 -0
- package/lib/components/table/table.vue2.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 +5 -5
- 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
|
@@ -87,45 +87,45 @@ import { VftLoading as Ge } from "./loading/index.js";
|
|
|
87
87
|
import { VftMessage as we, VftMessage as ze } from "./message/index.js";
|
|
88
88
|
import { VftInfiniteScroll as he } from "./infinite-scroll/index.js";
|
|
89
89
|
import { VftProgressI as Be } from "./progress-i/index.js";
|
|
90
|
-
import {
|
|
91
|
-
import {
|
|
92
|
-
import {
|
|
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 { default as Ut } from "./popper/
|
|
111
|
-
import {
|
|
112
|
-
import {
|
|
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 {
|
|
90
|
+
import { default as qe } from "./time-picker/common/picker.vue2.js";
|
|
91
|
+
import { default as Ye } from "./time-picker/time-picker-com/panel-time-pick.vue2.js";
|
|
92
|
+
import { buttonGroupContextKey as Qe } from "./button/constants.js";
|
|
93
|
+
import { checkboxGroupContextKey as Xe } from "./checkbox/constants.js";
|
|
94
|
+
import { configProviderContextKey as $e, messageConfig as ot } from "./config-provider/constants.js";
|
|
95
|
+
import { provideGlobalConfig as et, useGlobalComponentSettings as tt, useGlobalConfig as ft } from "./config-provider/hooks/use-global-config.js";
|
|
96
|
+
import { ROOT_PICKER_INJECTION_KEY as pt, datePickerConfig as xt } from "./date-picker/constants.js";
|
|
97
|
+
import { datePickerProps as it } from "./date-picker/props/date-picker.js";
|
|
98
|
+
import { dialogInjectionKey as Vt } from "./dialog/constants.js";
|
|
99
|
+
import { useDialog as ut } from "./dialog/hooks/use-dialog.js";
|
|
100
|
+
import { DROPDOWN_INJECTION_KEY as dt } from "./dropdown/tokens.js";
|
|
101
|
+
import { EmptyEnum as It } from "./empty/constants.js";
|
|
102
|
+
import { formContextKey as Tt, formItemContextKey as gt } from "./form/constants.js";
|
|
103
|
+
import { useDisabled as Et, useFormDisabled as Pt, useFormSize as Mt, useSize as Ft } from "./form/hooks/use-form-common-props.js";
|
|
104
|
+
import { useFormItem as Lt, useFormItemInputId as yt } from "./form/hooks/use-form-item.js";
|
|
105
|
+
import { formItemValidateStates as _t } from "./form/types.js";
|
|
106
|
+
import { MenuTypeEnum as Kt } from "./horizontal-menu/constants.js";
|
|
107
|
+
import { initAffixTabs as vt, useTabsDrag as Rt } from "./multiple-tabs/use/use-multiple-tabs.js";
|
|
108
|
+
import { useTabDropdown as Ot } from "./multiple-tabs/use/use-tab-dropdown.js";
|
|
109
|
+
import { usePagination as zt, vftPaginationKey as Nt } from "./pagination/usePagination.js";
|
|
110
|
+
import { default as Ut } from "./popper/arrow.vue2.js";
|
|
111
|
+
import { default as Ht } from "./popper/content.vue2.js";
|
|
112
|
+
import { default as Jt } from "./popper/trigger.vue2.js";
|
|
113
|
+
import { radioGroupKey as jt } from "./radio/constants.js";
|
|
114
|
+
import { rowContextKey as Wt } from "./row/constants.js";
|
|
115
|
+
import { scrollbarContextKey as Zt } from "./scrollbar/constants.js";
|
|
116
|
+
import { BAR_MAP as of, GAP as rf, renderThumbStyle as ef } from "./scrollbar/util.js";
|
|
117
|
+
import { selectInjectionKey as ff } from "./select/token.js";
|
|
118
|
+
import { sliderContextKey as pf } from "./slider/constants.js";
|
|
119
|
+
import { sliderEmits as af } from "./slider/slider.js";
|
|
120
|
+
import { spaceProps as Vf } from "./space/space.js";
|
|
121
|
+
import { useSpace as uf } from "./space/use-space.js";
|
|
122
|
+
import { ACTION_FIELD as df, CHECKED_FIELD as cf, CREATE_TIME_FIELD as If, DATE_FIELD as Cf, DATE_TIME_FIELD as Tf, ID_FIELD as gf, NAME_FIELD as Df, SEQ_FIELD as Ef, STATUS_FIELD as Pf, UPDATE_TIME_FIELD as Mf } from "./table/field.js";
|
|
123
|
+
import { useTable as Sf } from "./table/use/use-table.js";
|
|
124
|
+
import { addRequire as yf, removeRequire as bf, selectMapping as _f } from "./table/utils.js";
|
|
125
|
+
import { TabsRootContextKey as Kf } from "./tabs/types.js";
|
|
126
|
+
import { timePickerDefaultProps as vf } from "./time-picker/common/props.js";
|
|
127
|
+
import { DEFAULT_FORMATS_DATE as Gf, DEFAULT_FORMATS_DATEPICKER as Of, DEFAULT_FORMATS_TIME as wf, timeUnits as zf } from "./time-picker/constants.js";
|
|
128
|
+
import { buildTimeList as hf, dateEquals as Uf, extractDateFormat as Bf, extractTimeFormat as Hf, formatter as qf, makeList as Jf, parseDate as Yf, rangeArr as jf, valueEquals as Qf } from "./time-picker/utils.js";
|
|
129
129
|
import { TOOLTIP_INJECTION_KEY as Xf } from "./tooltip/constants.js";
|
|
130
130
|
import { getChildState as $f } from "./tree/model/node.js";
|
|
131
131
|
import { dragEventsKey as rm, useDragNodeHandler as em } from "./tree/model/useDragNode.js";
|
|
@@ -138,36 +138,36 @@ import { vLoading as Pm, createLoadingDirective as Mm, vLoading as Fm } from "./
|
|
|
138
138
|
import { Loading as Lm } from "./loading/service.js";
|
|
139
139
|
import { messageDefaults as bm, messageTypes as _m } from "./message/types.js";
|
|
140
140
|
export {
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
141
|
+
df as ACTION_FIELD,
|
|
142
|
+
of as BAR_MAP,
|
|
143
|
+
cf as CHECKED_FIELD,
|
|
144
|
+
If as CREATE_TIME_FIELD,
|
|
145
|
+
qe as CommonPicker,
|
|
146
|
+
Cf as DATE_FIELD,
|
|
147
|
+
Tf as DATE_TIME_FIELD,
|
|
148
|
+
Gf as DEFAULT_FORMATS_DATE,
|
|
149
|
+
Of as DEFAULT_FORMATS_DATEPICKER,
|
|
150
|
+
wf as DEFAULT_FORMATS_TIME,
|
|
151
|
+
dt as DROPDOWN_INJECTION_KEY,
|
|
152
152
|
Zr as DynamicSizeGrid,
|
|
153
153
|
oe as DynamicSizeList,
|
|
154
|
-
|
|
154
|
+
It as EmptyEnum,
|
|
155
155
|
ee as FixedSizeGrid,
|
|
156
156
|
fe as FixedSizeList,
|
|
157
157
|
xm as FormCompEnum,
|
|
158
|
-
|
|
159
|
-
|
|
158
|
+
rf as GAP,
|
|
159
|
+
gf as ID_FIELD,
|
|
160
160
|
Do as Icon,
|
|
161
|
-
|
|
161
|
+
Kt as MenuTypeEnum,
|
|
162
162
|
we as Message,
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
163
|
+
Df as NAME_FIELD,
|
|
164
|
+
pt as ROOT_PICKER_INJECTION_KEY,
|
|
165
|
+
Ef as SEQ_FIELD,
|
|
166
|
+
Pf as STATUS_FIELD,
|
|
167
167
|
Xf as TOOLTIP_INJECTION_KEY,
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
168
|
+
Kf as TabsRootContextKey,
|
|
169
|
+
Ye as TimePickPanel,
|
|
170
|
+
Mf as UPDATE_TIME_FIELD,
|
|
171
171
|
e as VftAlert,
|
|
172
172
|
A as VftAside,
|
|
173
173
|
Ve as VftAutocomplete,
|
|
@@ -243,9 +243,9 @@ export {
|
|
|
243
243
|
er as VftPopconfirm,
|
|
244
244
|
fr as VftPopover,
|
|
245
245
|
pr as VftPopper,
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
246
|
+
Ut as VftPopperArrow,
|
|
247
|
+
Ht as VftPopperContent,
|
|
248
|
+
Jt as VftPopperTrigger,
|
|
249
249
|
de as VftProgress,
|
|
250
250
|
Be as VftProgressI,
|
|
251
251
|
ar as VftQrcode,
|
|
@@ -276,77 +276,77 @@ export {
|
|
|
276
276
|
Te as VftUpload,
|
|
277
277
|
Wr as VftVerifyCode,
|
|
278
278
|
am as add,
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
279
|
+
yf as addRequire,
|
|
280
|
+
hf as buildTimeList,
|
|
281
|
+
Qe as buttonGroupContextKey,
|
|
282
282
|
Dm as carouselContextKey,
|
|
283
|
-
|
|
283
|
+
Xe as checkboxGroupContextKey,
|
|
284
284
|
im as componentMap,
|
|
285
|
-
|
|
285
|
+
$e as configProviderContextKey,
|
|
286
286
|
O as createContextMenu,
|
|
287
287
|
Mm as createLoadingDirective,
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
288
|
+
Uf as dateEquals,
|
|
289
|
+
xt as datePickerConfig,
|
|
290
|
+
it as datePickerProps,
|
|
291
291
|
nm as del,
|
|
292
292
|
w as destroyContextMenu,
|
|
293
|
-
|
|
293
|
+
Vt as dialogInjectionKey,
|
|
294
294
|
rm as dragEventsKey,
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
295
|
+
Bf as extractDateFormat,
|
|
296
|
+
Hf as extractTimeFormat,
|
|
297
|
+
Tt as formContextKey,
|
|
298
|
+
gt as formItemContextKey,
|
|
299
|
+
_t as formItemValidateStates,
|
|
300
|
+
qf as formatter,
|
|
301
301
|
Cm as genFileId,
|
|
302
302
|
$f as getChildState,
|
|
303
303
|
dm as getDynamicProps,
|
|
304
|
-
|
|
304
|
+
vt as initAffixTabs,
|
|
305
305
|
Vm as isDatePicker,
|
|
306
306
|
sm as isInput,
|
|
307
307
|
um as isRangePicker,
|
|
308
|
-
|
|
309
|
-
|
|
308
|
+
Jf as makeList,
|
|
309
|
+
ot as messageConfig,
|
|
310
310
|
bm as messageDefaults,
|
|
311
311
|
_m as messageTypes,
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
312
|
+
Yf as parseDate,
|
|
313
|
+
et as provideGlobalConfig,
|
|
314
|
+
jt as radioGroupKey,
|
|
315
|
+
jf as rangeArr,
|
|
316
|
+
bf as removeRequire,
|
|
317
|
+
ef as renderThumbStyle,
|
|
318
|
+
Wt as rowContextKey,
|
|
319
|
+
Zt as scrollbarContextKey,
|
|
320
|
+
ff as selectInjectionKey,
|
|
321
|
+
_f as selectMapping,
|
|
322
|
+
pf as sliderContextKey,
|
|
323
|
+
af as sliderEmits,
|
|
324
|
+
Vf as spaceProps,
|
|
325
|
+
vf as timePickerDefaultProps,
|
|
326
|
+
zf as timeUnits,
|
|
327
327
|
Tm as uploadContextKey,
|
|
328
328
|
N as useContextMenu,
|
|
329
|
-
|
|
330
|
-
|
|
329
|
+
ut as useDialog,
|
|
330
|
+
Et as useDisabled,
|
|
331
331
|
em as useDragNodeHandler,
|
|
332
332
|
cm as useForm,
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
333
|
+
Pt as useFormDisabled,
|
|
334
|
+
Lt as useFormItem,
|
|
335
|
+
yt as useFormItemInputId,
|
|
336
|
+
Mt as useFormSize,
|
|
337
|
+
tt as useGlobalComponentSettings,
|
|
338
|
+
ft as useGlobalConfig,
|
|
339
339
|
fm as useModal,
|
|
340
340
|
mm as useModalInner,
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
341
|
+
zt as usePagination,
|
|
342
|
+
Ft as useSize,
|
|
343
|
+
uf as useSpace,
|
|
344
|
+
Ot as useTabDropdown,
|
|
345
|
+
Sf as useTable,
|
|
346
|
+
Rt as useTabsDrag,
|
|
347
347
|
Fm as vLoading,
|
|
348
|
-
|
|
349
|
-
|
|
348
|
+
Qf as valueEquals,
|
|
349
|
+
Nt as vftPaginationKey,
|
|
350
350
|
pe as virtualizedGridProps,
|
|
351
351
|
xe as virtualizedListProps,
|
|
352
352
|
ae as virtualizedProps,
|
|
@@ -467,6 +467,7 @@ export declare const VftTable: import("vft/es/utils").SFCWithInstall<{
|
|
|
467
467
|
type: import("vue").PropType<import("vxe-table").VxeTablePropTypes.RowConfig>;
|
|
468
468
|
default: {
|
|
469
469
|
isHover: boolean;
|
|
470
|
+
isCurrent: boolean;
|
|
470
471
|
};
|
|
471
472
|
};
|
|
472
473
|
customConfig: {
|
|
@@ -1037,6 +1038,7 @@ export declare const VftTable: import("vft/es/utils").SFCWithInstall<{
|
|
|
1037
1038
|
type: import("vue").PropType<import("vxe-table").VxeTablePropTypes.RowConfig>;
|
|
1038
1039
|
default: {
|
|
1039
1040
|
isHover: boolean;
|
|
1041
|
+
isCurrent: boolean;
|
|
1040
1042
|
};
|
|
1041
1043
|
};
|
|
1042
1044
|
customConfig: {
|
|
@@ -1487,6 +1489,7 @@ export declare const VftTable: import("vft/es/utils").SFCWithInstall<{
|
|
|
1487
1489
|
type: import("vue").PropType<import("vxe-table").VxeTablePropTypes.RowConfig>;
|
|
1488
1490
|
default: {
|
|
1489
1491
|
isHover: boolean;
|
|
1492
|
+
isCurrent: boolean;
|
|
1490
1493
|
};
|
|
1491
1494
|
};
|
|
1492
1495
|
customConfig: {
|
|
@@ -214,6 +214,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
214
214
|
type: import("vue").PropType<import("vxe-table").VxeTablePropTypes.RowConfig>;
|
|
215
215
|
default: {
|
|
216
216
|
isHover: boolean;
|
|
217
|
+
isCurrent: boolean;
|
|
217
218
|
};
|
|
218
219
|
};
|
|
219
220
|
customConfig: {
|
|
@@ -660,6 +661,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
660
661
|
type: import("vue").PropType<import("vxe-table").VxeTablePropTypes.RowConfig>;
|
|
661
662
|
default: {
|
|
662
663
|
isHover: boolean;
|
|
664
|
+
isCurrent: boolean;
|
|
663
665
|
};
|
|
664
666
|
};
|
|
665
667
|
customConfig: {
|