vft 0.0.162 → 0.0.164

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.
Files changed (50) hide show
  1. package/dist/index.css +1 -1
  2. package/es/components/button/use-button.js +3 -3
  3. package/es/components/carousel/carousel.vue.d.ts +1 -1
  4. package/es/components/carousel/carousel.vue2.js +22 -26
  5. package/es/components/carousel/index.d.ts +11 -11
  6. package/es/components/checkbox/index.d.ts +12 -12
  7. package/es/components/header-layout/header-layout.vue2.js +14 -14
  8. package/es/components/index.js +113 -113
  9. package/es/components/link/index.d.ts +4 -4
  10. package/es/components/popper/composables/use-content.d.ts +2 -2
  11. package/es/components/select/option-item.vue.d.ts +1 -1
  12. package/es/components/table/index.d.ts +114 -114
  13. package/es/components/table/table.vue.d.ts +13 -13
  14. package/es/components/time-select/time-select.vue.d.ts +1 -1
  15. package/es/components/tree/index.d.ts +42 -42
  16. package/es/components/tree/tree.vue.d.ts +7 -7
  17. package/es/components/upload/index.d.ts +19 -19
  18. package/es/components/upload/upload-content.vue.d.ts +1 -1
  19. package/es/components/upload/upload.vue.d.ts +1 -1
  20. package/es/hooks/use-popper/index.d.ts +2 -2
  21. package/es/index.js +113 -113
  22. package/es/package.json.d.ts +1 -1
  23. package/es/package.json.js +1 -1
  24. package/lib/components/button/use-button.cjs +1 -1
  25. package/lib/components/carousel/carousel.vue.d.ts +1 -1
  26. package/lib/components/carousel/carousel.vue2.cjs +1 -1
  27. package/lib/components/carousel/index.d.ts +11 -11
  28. package/lib/components/checkbox/index.d.ts +12 -12
  29. package/lib/components/header-layout/header-layout.vue2.cjs +1 -1
  30. package/lib/components/index.cjs +1 -1
  31. package/lib/components/link/index.d.ts +4 -4
  32. package/lib/components/popper/composables/use-content.d.ts +2 -2
  33. package/lib/components/select/option-item.vue.d.ts +1 -1
  34. package/lib/components/table/index.d.ts +114 -114
  35. package/lib/components/table/table.vue.d.ts +13 -13
  36. package/lib/components/time-select/time-select.vue.d.ts +1 -1
  37. package/lib/components/tree/index.d.ts +42 -42
  38. package/lib/components/tree/tree.vue.d.ts +7 -7
  39. package/lib/components/upload/index.d.ts +19 -19
  40. package/lib/components/upload/upload-content.vue.d.ts +1 -1
  41. package/lib/components/upload/upload.vue.d.ts +1 -1
  42. package/lib/hooks/use-popper/index.d.ts +2 -2
  43. package/lib/index.cjs +1 -1
  44. package/lib/package.json.cjs +1 -1
  45. package/lib/package.json.d.ts +1 -1
  46. package/package.json +6 -6
  47. package/theme-style/index.css +1 -1
  48. package/theme-style/src/header-layout.scss +4 -0
  49. package/theme-style/vft-header-layout.css +1 -1
  50. package/web-types.json +1 -1
@@ -88,45 +88,45 @@ import { VftLoading as we } from "./loading/index.js";
88
88
  import { VftMessage as Ne, VftMessage as he } from "./message/index.js";
89
89
  import { VftInfiniteScroll as Be } from "./infinite-scroll/index.js";
90
90
  import { VftProgressI as qe } from "./progress-i/index.js";
91
- import { buttonGroupContextKey as Ye } from "./button/constants.js";
92
- import { checkboxGroupContextKey as Qe } from "./checkbox/constants.js";
93
- import { configProviderContextKey as Xe, messageConfig as Ze } from "./config-provider/constants.js";
94
- import { provideGlobalConfig as ot, useGlobalComponentSettings as rt, useGlobalConfig as et } from "./config-provider/hooks/use-global-config.js";
95
- import { ROOT_PICKER_INJECTION_KEY as ft, datePickerConfig as mt } from "./date-picker/constants.js";
96
- import { datePickerProps as xt } from "./date-picker/props/date-picker.js";
97
- import { dialogInjectionKey as it } from "./dialog/constants.js";
98
- import { useDialog as nt } from "./dialog/hooks/use-dialog.js";
99
- import { DROPDOWN_INJECTION_KEY as ut } from "./dropdown/tokens.js";
100
- import { EmptyEnum as dt } from "./empty/constants.js";
101
- import { formContextKey as It, formItemContextKey as Ct } from "./form/constants.js";
102
- import { useDisabled as gt, useFormDisabled as Dt, useFormSize as Et, useSize as Pt } from "./form/hooks/use-form-common-props.js";
103
- import { useFormItem as Ft, useFormItemInputId as St } from "./form/hooks/use-form-item.js";
104
- import { formItemValidateStates as yt } from "./form/types.js";
105
- import { MenuTypeEnum as _t } from "./horizontal-menu/constants.js";
106
- import { initAffixTabs as Kt, useTabsDrag as kt } from "./multiple-tabs/use/use-multiple-tabs.js";
107
- import { useTabDropdown as Rt } from "./multiple-tabs/use/use-tab-dropdown.js";
108
- import { usePagination as Ot, vftPaginationKey as wt } from "./pagination/usePagination.js";
109
- import { default as Nt } from "./popper/arrow.vue2.js";
110
- import { default as Ut } from "./popper/content.vue2.js";
111
- import { default as Ht } from "./popper/trigger.vue2.js";
112
- import { radioGroupKey as Jt } from "./radio/constants.js";
113
- import { rowContextKey as jt } from "./row/constants.js";
114
- import { scrollbarContextKey as Wt } from "./scrollbar/constants.js";
115
- import { BAR_MAP as Zt, GAP as $t, renderThumbStyle as of } from "./scrollbar/util.js";
116
- import { selectInjectionKey as ef } from "./select/token.js";
117
- import { sliderContextKey as ff } from "./slider/constants.js";
118
- import { sliderEmits as pf } from "./slider/slider.js";
119
- import { spaceProps as af } from "./space/space.js";
120
- import { useSpace as nf } from "./space/use-space.js";
121
- import { ACTION_FIELD as uf, CHECKED_FIELD as lf, CREATE_TIME_FIELD as df, DATE_FIELD as cf, DATE_TIME_FIELD as If, ID_FIELD as Cf, NAME_FIELD as Tf, SEQ_FIELD as gf, STATUS_FIELD as Df, UPDATE_TIME_FIELD as Ef } from "./table/field.js";
122
- import { useTable as Mf } from "./table/use/use-table.js";
123
- import { addRequire as Sf, removeRequire as Lf, selectMapping as yf } from "./table/utils.js";
124
- import { TabsRootContextKey as _f } from "./tabs/types.js";
125
- import { timePickerDefaultProps as Kf } from "./time-picker/common/props.js";
126
- import { DEFAULT_FORMATS_DATE as vf, DEFAULT_FORMATS_DATEPICKER as Rf, DEFAULT_FORMATS_TIME as Gf, timeUnits as Of } from "./time-picker/constants.js";
127
- import { buildTimeList as zf, dateEquals as Nf, extractDateFormat as hf, extractTimeFormat as Uf, formatter as Bf, makeList as Hf, parseDate as qf, rangeArr as Jf, valueEquals as Yf } from "./time-picker/utils.js";
128
- import { default as Qf } from "./time-picker/common/picker.vue2.js";
129
- import { default as Xf } from "./time-picker/time-picker-com/panel-time-pick.vue2.js";
91
+ import { default as Ye } from "./time-picker/common/picker.vue2.js";
92
+ import { default as Qe } from "./time-picker/time-picker-com/panel-time-pick.vue2.js";
93
+ import { buttonGroupContextKey as Xe } from "./button/constants.js";
94
+ import { checkboxGroupContextKey as $e } from "./checkbox/constants.js";
95
+ import { configProviderContextKey as rt, messageConfig as et } from "./config-provider/constants.js";
96
+ import { provideGlobalConfig as ft, useGlobalComponentSettings as mt, useGlobalConfig as pt } from "./config-provider/hooks/use-global-config.js";
97
+ import { ROOT_PICKER_INJECTION_KEY as at, datePickerConfig as it } from "./date-picker/constants.js";
98
+ import { datePickerProps as nt } from "./date-picker/props/date-picker.js";
99
+ import { dialogInjectionKey as ut } from "./dialog/constants.js";
100
+ import { useDialog as dt } from "./dialog/hooks/use-dialog.js";
101
+ import { DROPDOWN_INJECTION_KEY as It } from "./dropdown/tokens.js";
102
+ import { EmptyEnum as Tt } from "./empty/constants.js";
103
+ import { formContextKey as Dt, formItemContextKey as Et } from "./form/constants.js";
104
+ import { useDisabled as Mt, useFormDisabled as Ft, useFormSize as St, useSize as Lt } from "./form/hooks/use-form-common-props.js";
105
+ import { useFormItem as bt, useFormItemInputId as _t } from "./form/hooks/use-form-item.js";
106
+ import { formItemValidateStates as Kt } from "./form/types.js";
107
+ import { MenuTypeEnum as vt } from "./horizontal-menu/constants.js";
108
+ import { initAffixTabs as Gt, useTabsDrag as Ot } from "./multiple-tabs/use/use-multiple-tabs.js";
109
+ import { useTabDropdown as zt } from "./multiple-tabs/use/use-tab-dropdown.js";
110
+ import { usePagination as ht, vftPaginationKey as Ut } from "./pagination/usePagination.js";
111
+ import { default as Ht } from "./popper/arrow.vue2.js";
112
+ import { default as Jt } from "./popper/content.vue2.js";
113
+ import { default as jt } from "./popper/trigger.vue2.js";
114
+ import { radioGroupKey as Wt } from "./radio/constants.js";
115
+ import { rowContextKey as Zt } from "./row/constants.js";
116
+ import { scrollbarContextKey as of } from "./scrollbar/constants.js";
117
+ import { BAR_MAP as ef, GAP as tf, renderThumbStyle as ff } from "./scrollbar/util.js";
118
+ import { selectInjectionKey as pf } from "./select/token.js";
119
+ import { sliderContextKey as af } from "./slider/constants.js";
120
+ import { sliderEmits as nf } from "./slider/slider.js";
121
+ import { spaceProps as uf } from "./space/space.js";
122
+ import { useSpace as df } from "./space/use-space.js";
123
+ import { ACTION_FIELD as If, CHECKED_FIELD as Cf, CREATE_TIME_FIELD as Tf, DATE_FIELD as gf, DATE_TIME_FIELD as Df, ID_FIELD as Ef, NAME_FIELD as Pf, SEQ_FIELD as Mf, STATUS_FIELD as Ff, UPDATE_TIME_FIELD as Sf } from "./table/field.js";
124
+ import { useTable as yf } from "./table/use/use-table.js";
125
+ import { addRequire as _f, removeRequire as Af, selectMapping as Kf } from "./table/utils.js";
126
+ import { TabsRootContextKey as vf } from "./tabs/types.js";
127
+ import { timePickerDefaultProps as Gf } from "./time-picker/common/props.js";
128
+ import { DEFAULT_FORMATS_DATE as wf, DEFAULT_FORMATS_DATEPICKER as zf, DEFAULT_FORMATS_TIME as Nf, timeUnits as hf } from "./time-picker/constants.js";
129
+ 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";
130
130
  import { TOOLTIP_INJECTION_KEY as $f } from "./tooltip/constants.js";
131
131
  import { getChildState as rm } from "./tree/model/node.js";
132
132
  import { dragEventsKey as tm, useDragNodeHandler as fm } from "./tree/model/useDragNode.js";
@@ -139,36 +139,36 @@ import { vLoading as Fm, createLoadingDirective as Sm, vLoading as Lm } from "./
139
139
  import { Loading as bm } from "./loading/service.js";
140
140
  import { messageDefaults as Am, messageTypes as Km } from "./message/types.js";
141
141
  export {
142
- uf as ACTION_FIELD,
143
- Zt as BAR_MAP,
144
- lf as CHECKED_FIELD,
145
- df as CREATE_TIME_FIELD,
146
- Qf as CommonPicker,
147
- cf as DATE_FIELD,
148
- If as DATE_TIME_FIELD,
149
- vf as DEFAULT_FORMATS_DATE,
150
- Rf as DEFAULT_FORMATS_DATEPICKER,
151
- Gf as DEFAULT_FORMATS_TIME,
152
- ut as DROPDOWN_INJECTION_KEY,
142
+ If as ACTION_FIELD,
143
+ ef as BAR_MAP,
144
+ Cf as CHECKED_FIELD,
145
+ Tf as CREATE_TIME_FIELD,
146
+ Ye as CommonPicker,
147
+ gf as DATE_FIELD,
148
+ Df as DATE_TIME_FIELD,
149
+ wf as DEFAULT_FORMATS_DATE,
150
+ zf as DEFAULT_FORMATS_DATEPICKER,
151
+ Nf as DEFAULT_FORMATS_TIME,
152
+ It as DROPDOWN_INJECTION_KEY,
153
153
  oe as DynamicSizeGrid,
154
154
  ee as DynamicSizeList,
155
- dt as EmptyEnum,
155
+ Tt as EmptyEnum,
156
156
  fe as FixedSizeGrid,
157
157
  pe as FixedSizeList,
158
158
  im as FormCompEnum,
159
- $t as GAP,
160
- Cf as ID_FIELD,
159
+ tf as GAP,
160
+ Ef as ID_FIELD,
161
161
  Po as Icon,
162
- _t as MenuTypeEnum,
162
+ vt as MenuTypeEnum,
163
163
  Ne as Message,
164
- Tf as NAME_FIELD,
165
- ft as ROOT_PICKER_INJECTION_KEY,
166
- gf as SEQ_FIELD,
167
- Df as STATUS_FIELD,
164
+ Pf as NAME_FIELD,
165
+ at as ROOT_PICKER_INJECTION_KEY,
166
+ Mf as SEQ_FIELD,
167
+ Ff as STATUS_FIELD,
168
168
  $f as TOOLTIP_INJECTION_KEY,
169
- _f as TabsRootContextKey,
170
- Xf as TimePickPanel,
171
- Ef as UPDATE_TIME_FIELD,
169
+ vf as TabsRootContextKey,
170
+ Qe as TimePickPanel,
171
+ Sf as UPDATE_TIME_FIELD,
172
172
  e as VftAlert,
173
173
  k as VftAside,
174
174
  ue as VftAutocomplete,
@@ -245,9 +245,9 @@ export {
245
245
  fr as VftPopconfirm,
246
246
  pr as VftPopover,
247
247
  ar as VftPopper,
248
- Nt as VftPopperArrow,
249
- Ut as VftPopperContent,
250
- Ht as VftPopperTrigger,
248
+ Ht as VftPopperArrow,
249
+ Jt as VftPopperContent,
250
+ jt as VftPopperTrigger,
251
251
  Ie as VftProgress,
252
252
  qe as VftProgressI,
253
253
  Vr as VftQrcode,
@@ -278,77 +278,77 @@ export {
278
278
  De as VftUpload,
279
279
  Zr as VftVerifyCode,
280
280
  Vm as add,
281
- Sf as addRequire,
282
- zf as buildTimeList,
283
- Ye as buttonGroupContextKey,
281
+ _f as addRequire,
282
+ Bf as buildTimeList,
283
+ Xe as buttonGroupContextKey,
284
284
  Pm as carouselContextKey,
285
- Qe as checkboxGroupContextKey,
285
+ $e as checkboxGroupContextKey,
286
286
  nm as componentMap,
287
- Xe as configProviderContextKey,
287
+ rt as configProviderContextKey,
288
288
  z as createContextMenu,
289
289
  Sm as createLoadingDirective,
290
- Nf as dateEquals,
291
- mt as datePickerConfig,
292
- xt as datePickerProps,
290
+ Hf as dateEquals,
291
+ it as datePickerConfig,
292
+ nt as datePickerProps,
293
293
  sm as del,
294
294
  N as destroyContextMenu,
295
- it as dialogInjectionKey,
295
+ ut as dialogInjectionKey,
296
296
  tm as dragEventsKey,
297
- hf as extractDateFormat,
298
- Uf as extractTimeFormat,
299
- It as formContextKey,
300
- Ct as formItemContextKey,
301
- yt as formItemValidateStates,
302
- Bf as formatter,
297
+ qf as extractDateFormat,
298
+ Jf as extractTimeFormat,
299
+ Dt as formContextKey,
300
+ Et as formItemContextKey,
301
+ Kt as formItemValidateStates,
302
+ Yf as formatter,
303
303
  gm as genFileId,
304
304
  rm as getChildState,
305
305
  Im as getDynamicProps,
306
- Kt as initAffixTabs,
306
+ Gt as initAffixTabs,
307
307
  um as isDatePicker,
308
308
  lm as isInput,
309
309
  dm as isRangePicker,
310
- Hf as makeList,
311
- Ze as messageConfig,
310
+ jf as makeList,
311
+ et as messageConfig,
312
312
  Am as messageDefaults,
313
313
  Km as messageTypes,
314
- qf as parseDate,
315
- ot as provideGlobalConfig,
316
- Jt as radioGroupKey,
317
- Jf as rangeArr,
318
- Lf as removeRequire,
319
- of as renderThumbStyle,
320
- jt as rowContextKey,
321
- Wt as scrollbarContextKey,
322
- ef as selectInjectionKey,
323
- yf as selectMapping,
324
- ff as sliderContextKey,
325
- pf as sliderEmits,
326
- af as spaceProps,
327
- Kf as timePickerDefaultProps,
328
- Of as timeUnits,
314
+ Qf as parseDate,
315
+ ft as provideGlobalConfig,
316
+ Wt as radioGroupKey,
317
+ Wf as rangeArr,
318
+ Af as removeRequire,
319
+ ff as renderThumbStyle,
320
+ Zt as rowContextKey,
321
+ of as scrollbarContextKey,
322
+ pf as selectInjectionKey,
323
+ Kf as selectMapping,
324
+ af as sliderContextKey,
325
+ nf as sliderEmits,
326
+ uf as spaceProps,
327
+ Gf as timePickerDefaultProps,
328
+ hf as timeUnits,
329
329
  Dm as uploadContextKey,
330
330
  U as useContextMenu,
331
- nt as useDialog,
332
- gt as useDisabled,
331
+ dt as useDialog,
332
+ Mt as useDisabled,
333
333
  fm as useDragNodeHandler,
334
334
  Cm as useForm,
335
- Dt as useFormDisabled,
336
- Ft as useFormItem,
337
- St as useFormItemInputId,
338
- Et as useFormSize,
339
- rt as useGlobalComponentSettings,
340
- et as useGlobalConfig,
335
+ Ft as useFormDisabled,
336
+ bt as useFormItem,
337
+ _t as useFormItemInputId,
338
+ St as useFormSize,
339
+ mt as useGlobalComponentSettings,
340
+ pt as useGlobalConfig,
341
341
  pm as useModal,
342
342
  xm as useModalInner,
343
- Ot as usePagination,
344
- Pt as useSize,
345
- nf as useSpace,
346
- Rt as useTabDropdown,
347
- Mf as useTable,
348
- kt as useTabsDrag,
343
+ ht as usePagination,
344
+ Lt as useSize,
345
+ df as useSpace,
346
+ zt as useTabDropdown,
347
+ yf as useTable,
348
+ Ot as useTabsDrag,
349
349
  Lm as vLoading,
350
- Yf as valueEquals,
351
- wt as vftPaginationKey,
350
+ Xf as valueEquals,
351
+ Ut as vftPaginationKey,
352
352
  ae as virtualizedGridProps,
353
353
  ie as virtualizedListProps,
354
354
  Ve as virtualizedProps,
@@ -10,7 +10,7 @@ export declare const VftLink: import("vft/es/utils").SFCWithInstall<{
10
10
  type: globalThis.PropType<boolean>;
11
11
  };
12
12
  route: {
13
- type: globalThis.PropType<import("@vft/router").WinOpenType | import("vue-router").RouteLocationRaw>;
13
+ type: globalThis.PropType<import("vue-router").RouteLocationRaw | import("@vft/router").WinOpenType>;
14
14
  };
15
15
  isReplace: {
16
16
  type: globalThis.PropType<boolean>;
@@ -33,7 +33,7 @@ export declare const VftLink: import("vft/es/utils").SFCWithInstall<{
33
33
  type: globalThis.PropType<boolean>;
34
34
  };
35
35
  route: {
36
- type: globalThis.PropType<import("@vft/router").WinOpenType | import("vue-router").RouteLocationRaw>;
36
+ type: globalThis.PropType<import("vue-router").RouteLocationRaw | import("@vft/router").WinOpenType>;
37
37
  };
38
38
  isReplace: {
39
39
  type: globalThis.PropType<boolean>;
@@ -61,7 +61,7 @@ export declare const VftLink: import("vft/es/utils").SFCWithInstall<{
61
61
  type: globalThis.PropType<boolean>;
62
62
  };
63
63
  route: {
64
- type: globalThis.PropType<import("@vft/router").WinOpenType | import("vue-router").RouteLocationRaw>;
64
+ type: globalThis.PropType<import("vue-router").RouteLocationRaw | import("@vft/router").WinOpenType>;
65
65
  };
66
66
  isReplace: {
67
67
  type: globalThis.PropType<boolean>;
@@ -86,7 +86,7 @@ export declare const VftLink: import("vft/es/utils").SFCWithInstall<{
86
86
  type: globalThis.PropType<boolean>;
87
87
  };
88
88
  route: {
89
- type: globalThis.PropType<import("@vft/router").WinOpenType | import("vue-router").RouteLocationRaw>;
89
+ type: globalThis.PropType<import("vue-router").RouteLocationRaw | import("@vft/router").WinOpenType>;
90
90
  };
91
91
  isReplace: {
92
92
  type: globalThis.PropType<boolean>;
@@ -21,8 +21,8 @@ export declare const usePopperContent: (props: PopperContentProps) => {
21
21
  orderedModifiers?: Modifier<any, any>[] | undefined;
22
22
  rects?: import("@popperjs/core").StateRects | undefined;
23
23
  scrollParents?: {
24
- reference: (Element | import("@popperjs/core").VisualViewport | import("@popperjs/core").Window)[];
25
- popper: (Element | import("@popperjs/core").VisualViewport | import("@popperjs/core").Window)[];
24
+ reference: (Element | import("@popperjs/core").Window | import("@popperjs/core").VisualViewport)[];
25
+ popper: (Element | import("@popperjs/core").Window | import("@popperjs/core").VisualViewport)[];
26
26
  } | undefined;
27
27
  styles?: {
28
28
  [key: string]: Partial<CSSStyleDeclaration>;
@@ -43,7 +43,7 @@ declare const _default: import("vue").DefineComponent<{
43
43
  }, {
44
44
  disabled: boolean;
45
45
  created: boolean;
46
- selected: boolean;
47
46
  hovering: boolean;
47
+ selected: boolean;
48
48
  }, {}>;
49
49
  export default _default;