vft 0.0.457 → 0.0.458

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.
@@ -62,9 +62,9 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
62
62
  readonly placement?: import("@popperjs/core").Placement | undefined;
63
63
  readonly strategy?: "fixed" | "absolute" | undefined;
64
64
  readonly effect?: "light" | "dark" | undefined;
65
- readonly visible?: boolean | null | undefined;
66
65
  readonly teleported?: boolean | undefined;
67
66
  readonly open?: boolean | undefined;
67
+ readonly visible?: boolean | null | undefined;
68
68
  readonly trigger?: import("vft/es/components/tooltip").TooltipTriggerType | undefined;
69
69
  readonly arrowOffset?: number | undefined;
70
70
  readonly gpuAcceleration?: boolean | undefined;
@@ -480,9 +480,9 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
480
480
  readonly placement?: import("@popperjs/core").Placement | undefined;
481
481
  readonly strategy?: "fixed" | "absolute" | undefined;
482
482
  readonly effect?: "light" | "dark" | undefined;
483
- readonly visible?: boolean | null | undefined;
484
483
  readonly teleported?: boolean | undefined;
485
484
  readonly open?: boolean | undefined;
485
+ readonly visible?: boolean | null | undefined;
486
486
  readonly trigger?: import("vft/es/components/tooltip").TooltipTriggerType | undefined;
487
487
  readonly arrowOffset?: number | undefined;
488
488
  readonly gpuAcceleration?: boolean | undefined;
@@ -85,9 +85,9 @@ export declare const VftAutocomplete: import("vft/es/utils").SFCWithInstall<{
85
85
  readonly placement?: import("@popperjs/core").Placement | undefined;
86
86
  readonly strategy?: "fixed" | "absolute" | undefined;
87
87
  readonly effect?: "light" | "dark" | undefined;
88
- readonly visible?: boolean | null | undefined;
89
88
  readonly teleported?: boolean | undefined;
90
89
  readonly open?: boolean | undefined;
90
+ readonly visible?: boolean | null | undefined;
91
91
  readonly trigger?: import("vft/es/vft").TooltipTriggerType | undefined;
92
92
  readonly arrowOffset?: number | undefined;
93
93
  readonly gpuAcceleration?: boolean | undefined;
@@ -503,9 +503,9 @@ export declare const VftAutocomplete: import("vft/es/utils").SFCWithInstall<{
503
503
  readonly placement?: import("@popperjs/core").Placement | undefined;
504
504
  readonly strategy?: "fixed" | "absolute" | undefined;
505
505
  readonly effect?: "light" | "dark" | undefined;
506
- readonly visible?: boolean | null | undefined;
507
506
  readonly teleported?: boolean | undefined;
508
507
  readonly open?: boolean | undefined;
508
+ readonly visible?: boolean | null | undefined;
509
509
  readonly trigger?: import("vft/es/vft").TooltipTriggerType | undefined;
510
510
  readonly arrowOffset?: number | undefined;
511
511
  readonly gpuAcceleration?: boolean | undefined;
@@ -1006,9 +1006,9 @@ export declare const VftAutocomplete: import("vft/es/utils").SFCWithInstall<{
1006
1006
  readonly placement?: import("@popperjs/core").Placement | undefined;
1007
1007
  readonly strategy?: "fixed" | "absolute" | undefined;
1008
1008
  readonly effect?: "light" | "dark" | undefined;
1009
- readonly visible?: boolean | null | undefined;
1010
1009
  readonly teleported?: boolean | undefined;
1011
1010
  readonly open?: boolean | undefined;
1011
+ readonly visible?: boolean | null | undefined;
1012
1012
  readonly trigger?: import("vft/es/vft").TooltipTriggerType | undefined;
1013
1013
  readonly arrowOffset?: number | undefined;
1014
1014
  readonly gpuAcceleration?: boolean | undefined;
@@ -1424,9 +1424,9 @@ export declare const VftAutocomplete: import("vft/es/utils").SFCWithInstall<{
1424
1424
  readonly placement?: import("@popperjs/core").Placement | undefined;
1425
1425
  readonly strategy?: "fixed" | "absolute" | undefined;
1426
1426
  readonly effect?: "light" | "dark" | undefined;
1427
- readonly visible?: boolean | null | undefined;
1428
1427
  readonly teleported?: boolean | undefined;
1429
1428
  readonly open?: boolean | undefined;
1429
+ readonly visible?: boolean | null | undefined;
1430
1430
  readonly trigger?: import("vft/es/vft").TooltipTriggerType | undefined;
1431
1431
  readonly arrowOffset?: number | undefined;
1432
1432
  readonly gpuAcceleration?: boolean | undefined;
@@ -1916,9 +1916,9 @@ export declare const VftAutocomplete: import("vft/es/utils").SFCWithInstall<{
1916
1916
  readonly placement?: import("@popperjs/core").Placement | undefined;
1917
1917
  readonly strategy?: "fixed" | "absolute" | undefined;
1918
1918
  readonly effect?: "light" | "dark" | undefined;
1919
- readonly visible?: boolean | null | undefined;
1920
1919
  readonly teleported?: boolean | undefined;
1921
1920
  readonly open?: boolean | undefined;
1921
+ readonly visible?: boolean | null | undefined;
1922
1922
  readonly trigger?: import("vft/es/vft").TooltipTriggerType | undefined;
1923
1923
  readonly arrowOffset?: number | undefined;
1924
1924
  readonly gpuAcceleration?: boolean | undefined;
@@ -2334,9 +2334,9 @@ export declare const VftAutocomplete: import("vft/es/utils").SFCWithInstall<{
2334
2334
  readonly placement?: import("@popperjs/core").Placement | undefined;
2335
2335
  readonly strategy?: "fixed" | "absolute" | undefined;
2336
2336
  readonly effect?: "light" | "dark" | undefined;
2337
- readonly visible?: boolean | null | undefined;
2338
2337
  readonly teleported?: boolean | undefined;
2339
2338
  readonly open?: boolean | undefined;
2339
+ readonly visible?: boolean | null | undefined;
2340
2340
  readonly trigger?: import("vft/es/vft").TooltipTriggerType | undefined;
2341
2341
  readonly arrowOffset?: number | undefined;
2342
2342
  readonly gpuAcceleration?: boolean | undefined;
@@ -24,12 +24,12 @@ export declare const VftButton: import("vft/es/utils").SFCWithInstall<{
24
24
  autofocus: {
25
25
  type: import("vue").PropType<boolean>;
26
26
  };
27
- icon: {
28
- type: import("vue").PropType<string | import("vft/es/vft").IconProps>;
29
- };
30
27
  dark: {
31
28
  type: import("vue").PropType<boolean>;
32
29
  };
30
+ icon: {
31
+ type: import("vue").PropType<string | import("vft/es/vft").IconProps>;
32
+ };
33
33
  loading: {
34
34
  type: import("vue").PropType<boolean>;
35
35
  };
@@ -114,12 +114,12 @@ export declare const VftButton: import("vft/es/utils").SFCWithInstall<{
114
114
  autofocus: {
115
115
  type: import("vue").PropType<boolean>;
116
116
  };
117
- icon: {
118
- type: import("vue").PropType<string | import("vft/es/vft").IconProps>;
119
- };
120
117
  dark: {
121
118
  type: import("vue").PropType<boolean>;
122
119
  };
120
+ icon: {
121
+ type: import("vue").PropType<string | import("vft/es/vft").IconProps>;
122
+ };
123
123
  loading: {
124
124
  type: import("vue").PropType<boolean>;
125
125
  };
@@ -199,12 +199,12 @@ export declare const VftButton: import("vft/es/utils").SFCWithInstall<{
199
199
  autofocus: {
200
200
  type: import("vue").PropType<boolean>;
201
201
  };
202
- icon: {
203
- type: import("vue").PropType<string | import("vft/es/vft").IconProps>;
204
- };
205
202
  dark: {
206
203
  type: import("vue").PropType<boolean>;
207
204
  };
205
+ icon: {
206
+ type: import("vue").PropType<string | import("vft/es/vft").IconProps>;
207
+ };
208
208
  loading: {
209
209
  type: import("vue").PropType<boolean>;
210
210
  };
@@ -1,7 +1,7 @@
1
1
  import { keysOf as f } from "@vft/utils";
2
2
  import "@vueuse/core";
3
3
  import { debugWarn as v } from "../../../utils/error.js";
4
- import { getCurrentInstance as l, computed as i, unref as p, provide as g, ref as C, inject as x } from "vue";
4
+ import { ref as g, getCurrentInstance as l, computed as i, unref as p, provide as C, inject as x } from "vue";
5
5
  import "lodash-es";
6
6
  import "../../form/index.js";
7
7
  import { namespaceContextKey as I, useNamespace as b, defaultNamespace as y } from "../../../hooks/use-namespace/index.js";
@@ -9,7 +9,7 @@ import "../../../hooks/use-model-toggle/index.js";
9
9
  import "@popperjs/core";
10
10
  import { zIndexContextKey as G, useZIndex as z, defaultInitialZIndex as K } from "../../../hooks/use-z-index/index.js";
11
11
  import { configProviderContextKey as m } from "../constants.js";
12
- const a = C();
12
+ const a = g();
13
13
  function d(o, e = void 0) {
14
14
  const n = l() ? x(m, a) : a;
15
15
  return o ? i(() => n?.value?.[o] ?? e) : n;
@@ -27,7 +27,7 @@ function B(o) {
27
27
  };
28
28
  }
29
29
  const S = (o, e, n = !1) => {
30
- const t = !!l(), r = t ? d() : void 0, u = e?.provide ?? (t ? g : void 0);
30
+ const t = !!l(), r = t ? d() : void 0, u = e?.provide ?? (t ? C : void 0);
31
31
  if (!u) {
32
32
  v(
33
33
  "provideGlobalConfig",
@@ -7,14 +7,14 @@ export declare const VftPopconfirm: import("vft/es/utils").SFCWithInstall<{
7
7
  type: import("vue").PropType<string | number>;
8
8
  default: number;
9
9
  };
10
- icon: {
11
- type: import("vue").PropType<string | import("vft/es/vft").IconProps>;
12
- default: string;
13
- };
14
10
  teleported: {
15
11
  type: import("vue").PropType<boolean>;
16
12
  default: boolean;
17
13
  };
14
+ icon: {
15
+ type: import("vue").PropType<string | import("vft/es/vft").IconProps>;
16
+ default: string;
17
+ };
18
18
  hideAfter: {
19
19
  type: import("vue").PropType<number>;
20
20
  default: number;
@@ -52,8 +52,8 @@ export declare const VftPopconfirm: import("vft/es/utils").SFCWithInstall<{
52
52
  cancel: (val: MouseEvent) => void;
53
53
  }, import("vue").PublicProps, {
54
54
  width: string | number;
55
- icon: string | import("vft/es/vft").IconProps;
56
55
  teleported: boolean;
56
+ icon: string | import("vft/es/vft").IconProps;
57
57
  hideAfter: number;
58
58
  persistent: boolean;
59
59
  confirmButtonType: import("vft/es/vft").ButtonType;
@@ -74,14 +74,14 @@ export declare const VftPopconfirm: import("vft/es/utils").SFCWithInstall<{
74
74
  type: import("vue").PropType<string | number>;
75
75
  default: number;
76
76
  };
77
- icon: {
78
- type: import("vue").PropType<string | import("vft/es/vft").IconProps>;
79
- default: string;
80
- };
81
77
  teleported: {
82
78
  type: import("vue").PropType<boolean>;
83
79
  default: boolean;
84
80
  };
81
+ icon: {
82
+ type: import("vue").PropType<string | import("vft/es/vft").IconProps>;
83
+ default: string;
84
+ };
85
85
  hideAfter: {
86
86
  type: import("vue").PropType<number>;
87
87
  default: number;
@@ -116,8 +116,8 @@ export declare const VftPopconfirm: import("vft/es/utils").SFCWithInstall<{
116
116
  onConfirm?: ((val: MouseEvent) => any) | undefined;
117
117
  }>, {}, {}, {}, {}, {
118
118
  width: string | number;
119
- icon: string | import("vft/es/vft").IconProps;
120
119
  teleported: boolean;
120
+ icon: string | import("vft/es/vft").IconProps;
121
121
  hideAfter: number;
122
122
  persistent: boolean;
123
123
  confirmButtonType: import("vft/es/vft").ButtonType;
@@ -135,14 +135,14 @@ export declare const VftPopconfirm: import("vft/es/utils").SFCWithInstall<{
135
135
  type: import("vue").PropType<string | number>;
136
136
  default: number;
137
137
  };
138
- icon: {
139
- type: import("vue").PropType<string | import("vft/es/vft").IconProps>;
140
- default: string;
141
- };
142
138
  teleported: {
143
139
  type: import("vue").PropType<boolean>;
144
140
  default: boolean;
145
141
  };
142
+ icon: {
143
+ type: import("vue").PropType<string | import("vft/es/vft").IconProps>;
144
+ default: string;
145
+ };
146
146
  hideAfter: {
147
147
  type: import("vue").PropType<number>;
148
148
  default: number;
@@ -180,8 +180,8 @@ export declare const VftPopconfirm: import("vft/es/utils").SFCWithInstall<{
180
180
  cancel: (val: MouseEvent) => void;
181
181
  }, string, {
182
182
  width: string | number;
183
- icon: string | import("vft/es/vft").IconProps;
184
183
  teleported: boolean;
184
+ icon: string | import("vft/es/vft").IconProps;
185
185
  hideAfter: number;
186
186
  persistent: boolean;
187
187
  confirmButtonType: import("vft/es/vft").ButtonType;
@@ -43,8 +43,8 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
43
43
  onConfirm?: ((val: MouseEvent) => any) | undefined;
44
44
  }>, {
45
45
  width: string | number;
46
- icon: string | IconProps;
47
46
  teleported: boolean;
47
+ icon: string | IconProps;
48
48
  hideAfter: number;
49
49
  persistent: boolean;
50
50
  confirmButtonType: ButtonType;
@@ -259,9 +259,9 @@ export declare const VftSelect: SFCWithInstall<import("vue").DefineComponent<imp
259
259
  readonly placement?: import("@popperjs/core").Placement | undefined;
260
260
  readonly strategy?: "fixed" | "absolute" | undefined;
261
261
  readonly effect?: "light" | "dark" | undefined;
262
- readonly visible?: boolean | null | undefined;
263
262
  readonly teleported?: boolean | undefined;
264
263
  readonly open?: boolean | undefined;
264
+ readonly visible?: boolean | null | undefined;
265
265
  readonly trigger?: import("vft/es/vft").TooltipTriggerType | undefined;
266
266
  readonly arrowOffset?: number | undefined;
267
267
  readonly gpuAcceleration?: boolean | undefined;
@@ -677,9 +677,9 @@ export declare const VftSelect: SFCWithInstall<import("vue").DefineComponent<imp
677
677
  readonly placement?: import("@popperjs/core").Placement | undefined;
678
678
  readonly strategy?: "fixed" | "absolute" | undefined;
679
679
  readonly effect?: "light" | "dark" | undefined;
680
- readonly visible?: boolean | null | undefined;
681
680
  readonly teleported?: boolean | undefined;
682
681
  readonly open?: boolean | undefined;
682
+ readonly visible?: boolean | null | undefined;
683
683
  readonly trigger?: import("vft/es/vft").TooltipTriggerType | undefined;
684
684
  readonly arrowOffset?: number | undefined;
685
685
  readonly gpuAcceleration?: boolean | undefined;
@@ -1096,9 +1096,9 @@ export declare const VftSelect: SFCWithInstall<import("vue").DefineComponent<imp
1096
1096
  readonly placement?: import("@popperjs/core").Placement | undefined;
1097
1097
  readonly strategy?: "fixed" | "absolute" | undefined;
1098
1098
  readonly effect?: "light" | "dark" | undefined;
1099
- readonly visible?: boolean | null | undefined;
1100
1099
  readonly teleported?: boolean | undefined;
1101
1100
  readonly open?: boolean | undefined;
1101
+ readonly visible?: boolean | null | undefined;
1102
1102
  readonly trigger?: import("vft/es/vft").TooltipTriggerType | undefined;
1103
1103
  readonly arrowOffset?: number | undefined;
1104
1104
  readonly gpuAcceleration?: boolean | undefined;
@@ -1514,9 +1514,9 @@ export declare const VftSelect: SFCWithInstall<import("vue").DefineComponent<imp
1514
1514
  readonly placement?: import("@popperjs/core").Placement | undefined;
1515
1515
  readonly strategy?: "fixed" | "absolute" | undefined;
1516
1516
  readonly effect?: "light" | "dark" | undefined;
1517
- readonly visible?: boolean | null | undefined;
1518
1517
  readonly teleported?: boolean | undefined;
1519
1518
  readonly open?: boolean | undefined;
1519
+ readonly visible?: boolean | null | undefined;
1520
1520
  readonly trigger?: import("vft/es/vft").TooltipTriggerType | undefined;
1521
1521
  readonly arrowOffset?: number | undefined;
1522
1522
  readonly gpuAcceleration?: boolean | undefined;
@@ -255,9 +255,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
255
255
  readonly placement?: import("@popperjs/core").Placement | undefined;
256
256
  readonly strategy?: "fixed" | "absolute" | undefined;
257
257
  readonly effect?: "light" | "dark" | undefined;
258
- readonly visible?: boolean | null | undefined;
259
258
  readonly teleported?: boolean | undefined;
260
259
  readonly open?: boolean | undefined;
260
+ readonly visible?: boolean | null | undefined;
261
261
  readonly trigger?: import("vft/es/components/tooltip").TooltipTriggerType | undefined;
262
262
  readonly arrowOffset?: number | undefined;
263
263
  readonly gpuAcceleration?: boolean | undefined;
@@ -673,9 +673,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
673
673
  readonly placement?: import("@popperjs/core").Placement | undefined;
674
674
  readonly strategy?: "fixed" | "absolute" | undefined;
675
675
  readonly effect?: "light" | "dark" | undefined;
676
- readonly visible?: boolean | null | undefined;
677
676
  readonly teleported?: boolean | undefined;
678
677
  readonly open?: boolean | undefined;
678
+ readonly visible?: boolean | null | undefined;
679
679
  readonly trigger?: import("vft/es/components/tooltip").TooltipTriggerType | undefined;
680
680
  readonly arrowOffset?: number | undefined;
681
681
  readonly gpuAcceleration?: boolean | undefined;
@@ -1092,9 +1092,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
1092
1092
  readonly placement?: import("@popperjs/core").Placement | undefined;
1093
1093
  readonly strategy?: "fixed" | "absolute" | undefined;
1094
1094
  readonly effect?: "light" | "dark" | undefined;
1095
- readonly visible?: boolean | null | undefined;
1096
1095
  readonly teleported?: boolean | undefined;
1097
1096
  readonly open?: boolean | undefined;
1097
+ readonly visible?: boolean | null | undefined;
1098
1098
  readonly trigger?: import("vft/es/components/tooltip").TooltipTriggerType | undefined;
1099
1099
  readonly arrowOffset?: number | undefined;
1100
1100
  readonly gpuAcceleration?: boolean | undefined;
@@ -1510,9 +1510,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
1510
1510
  readonly placement?: import("@popperjs/core").Placement | undefined;
1511
1511
  readonly strategy?: "fixed" | "absolute" | undefined;
1512
1512
  readonly effect?: "light" | "dark" | undefined;
1513
- readonly visible?: boolean | null | undefined;
1514
1513
  readonly teleported?: boolean | undefined;
1515
1514
  readonly open?: boolean | undefined;
1515
+ readonly visible?: boolean | null | undefined;
1516
1516
  readonly trigger?: import("vft/es/components/tooltip").TooltipTriggerType | undefined;
1517
1517
  readonly arrowOffset?: number | undefined;
1518
1518
  readonly gpuAcceleration?: boolean | undefined;
@@ -103,9 +103,9 @@ declare const useSelect: (props: SelectV2Props, emit: any) => {
103
103
  readonly placement?: import("@popperjs/core").Placement | undefined;
104
104
  readonly strategy?: "fixed" | "absolute" | undefined;
105
105
  readonly effect?: "light" | "dark" | undefined;
106
- readonly visible?: boolean | null | undefined;
107
106
  readonly teleported?: boolean | undefined;
108
107
  readonly open?: boolean | undefined;
108
+ readonly visible?: boolean | null | undefined;
109
109
  readonly trigger?: import("vft/es/components/tooltip").TooltipTriggerType | undefined;
110
110
  readonly arrowOffset?: number | undefined;
111
111
  readonly gpuAcceleration?: boolean | undefined;
@@ -521,9 +521,9 @@ declare const useSelect: (props: SelectV2Props, emit: any) => {
521
521
  readonly placement?: import("@popperjs/core").Placement | undefined;
522
522
  readonly strategy?: "fixed" | "absolute" | undefined;
523
523
  readonly effect?: "light" | "dark" | undefined;
524
- readonly visible?: boolean | null | undefined;
525
524
  readonly teleported?: boolean | undefined;
526
525
  readonly open?: boolean | undefined;
526
+ readonly visible?: boolean | null | undefined;
527
527
  readonly trigger?: import("vft/es/components/tooltip").TooltipTriggerType | undefined;
528
528
  readonly arrowOffset?: number | undefined;
529
529
  readonly gpuAcceleration?: boolean | undefined;
@@ -940,9 +940,9 @@ declare const useSelect: (props: SelectV2Props, emit: any) => {
940
940
  readonly placement?: import("@popperjs/core").Placement | undefined;
941
941
  readonly strategy?: "fixed" | "absolute" | undefined;
942
942
  readonly effect?: "light" | "dark" | undefined;
943
- readonly visible?: boolean | null | undefined;
944
943
  readonly teleported?: boolean | undefined;
945
944
  readonly open?: boolean | undefined;
945
+ readonly visible?: boolean | null | undefined;
946
946
  readonly trigger?: import("vft/es/components/tooltip").TooltipTriggerType | undefined;
947
947
  readonly arrowOffset?: number | undefined;
948
948
  readonly gpuAcceleration?: boolean | undefined;
@@ -1358,9 +1358,9 @@ declare const useSelect: (props: SelectV2Props, emit: any) => {
1358
1358
  readonly placement?: import("@popperjs/core").Placement | undefined;
1359
1359
  readonly strategy?: "fixed" | "absolute" | undefined;
1360
1360
  readonly effect?: "light" | "dark" | undefined;
1361
- readonly visible?: boolean | null | undefined;
1362
1361
  readonly teleported?: boolean | undefined;
1363
1362
  readonly open?: boolean | undefined;
1363
+ readonly visible?: boolean | null | undefined;
1364
1364
  readonly trigger?: import("vft/es/components/tooltip").TooltipTriggerType | undefined;
1365
1365
  readonly arrowOffset?: number | undefined;
1366
1366
  readonly gpuAcceleration?: boolean | undefined;
@@ -70,7 +70,10 @@ export declare const VftTable: import("vft/es/utils").SFCWithInstall<{
70
70
  type: import("vue").PropType<import("vft/es/vft").EmptyProps>;
71
71
  };
72
72
  loadingCfg: {
73
- type: import("vue").PropType<import("vft/es/vft").LoadingBinding>;
73
+ type: import("vue").PropType<Partial<Omit<import("vft/es/vft").LoadingOptionsResolved, "target" | "parent"> & {
74
+ target: HTMLElement | string;
75
+ body: boolean;
76
+ }>>;
74
77
  };
75
78
  layouts: {
76
79
  type: import("vue").PropType<import("vxe-table").VxeGridPropTypes.Layouts>;
@@ -986,7 +989,10 @@ export declare const VftTable: import("vft/es/utils").SFCWithInstall<{
986
989
  type: import("vue").PropType<import("vft/es/vft").EmptyProps>;
987
990
  };
988
991
  loadingCfg: {
989
- type: import("vue").PropType<import("vft/es/vft").LoadingBinding>;
992
+ type: import("vue").PropType<Partial<Omit<import("vft/es/vft").LoadingOptionsResolved, "target" | "parent"> & {
993
+ target: HTMLElement | string;
994
+ body: boolean;
995
+ }>>;
990
996
  };
991
997
  layouts: {
992
998
  type: import("vue").PropType<import("vxe-table").VxeGridPropTypes.Layouts>;
@@ -1786,7 +1792,10 @@ export declare const VftTable: import("vft/es/utils").SFCWithInstall<{
1786
1792
  type: import("vue").PropType<import("vft/es/vft").EmptyProps>;
1787
1793
  };
1788
1794
  loadingCfg: {
1789
- type: import("vue").PropType<import("vft/es/vft").LoadingBinding>;
1795
+ type: import("vue").PropType<Partial<Omit<import("vft/es/vft").LoadingOptionsResolved, "target" | "parent"> & {
1796
+ target: HTMLElement | string;
1797
+ body: boolean;
1798
+ }>>;
1790
1799
  };
1791
1800
  layouts: {
1792
1801
  type: import("vue").PropType<import("vxe-table").VxeGridPropTypes.Layouts>;
@@ -1,18 +1,18 @@
1
1
  import { defineComponent as V, createVNode as c, useAttrs as ae, ref as g, getCurrentInstance as te, computed as D, unref as e, watch as oe, nextTick as le, toRaw as re, createBlock as m, openBlock as p, withCtx as i, createElementVNode as H, normalizeClass as ne, createCommentVNode as F, mergeProps as T, withDirectives as ce, vShow as ie, renderSlot as h, normalizeProps as se, guardReactiveProps as ge, createTextVNode as de } from "vue";
2
- import { VftEmpty as ue } from "../empty/index.js";
3
- import { vLoading as fe } from "../loading/directive.js";
4
- import { deepMerge as _, isClient as me, omit as pe, isFunction as he } from "@vft/utils";
5
- import { FormCompEnum as be } from "../../utils/form-register.js";
2
+ import { VftClientOnly as ue } from "../client-only/index.js";
3
+ import { VftEmpty as fe } from "../empty/index.js";
4
+ import { vLoading as me } from "../loading/directive.js";
5
+ import { deepMerge as _, isClient as pe, omit as he, isFunction as be } from "@vft/utils";
6
+ import { FormCompEnum as Ce } from "../../utils/form-register.js";
6
7
  import "@vueuse/core";
7
8
  import "../config-provider/hooks/use-global-config.js";
8
9
  import "lodash-es";
9
- import { useForm as Ce } from "../super-form/use/use-form.js";
10
- import { useNamespace as ye } from "../../hooks/use-namespace/index.js";
10
+ import { useForm as ye } from "../super-form/use/use-form.js";
11
+ import { useNamespace as we } from "../../hooks/use-namespace/index.js";
11
12
  import "../../hooks/use-model-toggle/index.js";
12
13
  import "@popperjs/core";
13
14
  import "../../hooks/use-z-index/index.js";
14
15
  import "../icon/index.js";
15
- import { VftClientOnly as we } from "../client-only/index.js";
16
16
  import { VftPagination as ve } from "../pagination/index.js";
17
17
  import { VftSkeleton as xe } from "../skeleton/index.js";
18
18
  import { VftSuperForm as ke } from "../super-form/index.js";
@@ -83,7 +83,6 @@ const Fe = V({
83
83
  })
84
84
  },
85
85
  loadingCfg: {
86
- type: Boolean,
87
86
  default: () => ({
88
87
  customClass: "vft-card-loading",
89
88
  text: c("div", null, [c("span", null, [de("加载中")]), c("span", {
@@ -404,7 +403,7 @@ const Fe = V({
404
403
  expose: A,
405
404
  emit: E
406
405
  }) {
407
- const n = E, d = ye("table"), O = ae(), b = g(), C = g(), q = g([]), u = g(), M = te(), t = D(() => _(M.props, e(u))), {
406
+ const n = E, d = we("table"), O = ae(), b = g(), C = g(), q = g([]), u = g(), M = te(), t = D(() => _(M.props, e(u))), {
408
407
  getLoading: $,
409
408
  setLoading: L
410
409
  } = Pe(t), {
@@ -457,7 +456,7 @@ const Fe = V({
457
456
  const {
458
457
  onChange: o
459
458
  } = e(t);
460
- o && he(o) && o(a);
459
+ o && be(o) && o(a);
461
460
  }
462
461
  const z = {};
463
462
  [
@@ -593,7 +592,7 @@ const Fe = V({
593
592
  data: a,
594
593
  ...z
595
594
  };
596
- if (me) {
595
+ if (pe) {
597
596
  (e(t)?.addMaxHeight || e(t)?.maxHeight) && (o.maxHeight = e(t)?.maxHeight ? e(t)?.maxHeight : `${window.innerHeight - e(t)?.extraSysHeight - (t.value?.showPager ? t.value?.pageHeight || 40 : 0)}px`);
598
597
  const r = e(t)?.minHeight;
599
598
  o.minHeight = r || (r !== 0 && e(t)?.toolbarConfig?.custom ? 300 : void 0);
@@ -628,7 +627,7 @@ const Fe = V({
628
627
  const Q = {
629
628
  field: "_filterTableData",
630
629
  label: "",
631
- type: be.Search,
630
+ type: Ce.Search,
632
631
  itemProps: {
633
632
  class: "search-all-form-item"
634
633
  },
@@ -639,7 +638,7 @@ const Fe = V({
639
638
  });
640
639
  }
641
640
  })
642
- }, [Z] = Ce(_({
641
+ }, [Z] = ye(_({
643
642
  schemas: [l.value?.formOptions?.addSearchAllSchema ? Q : {}],
644
643
  rowProps: {
645
644
  justify: "start"
@@ -654,7 +653,7 @@ const Fe = V({
654
653
  btnText: "搜索"
655
654
  },
656
655
  actionInline: !0
657
- }, pe(
656
+ }, he(
658
657
  l.value?.formOptions,
659
658
  ["showActionForm", "addSearchAllSchema"]
660
659
  // 'union' | 'intersection' | 'concat' | 'replace' = 'union'
@@ -667,7 +666,7 @@ const Fe = V({
667
666
  table: b,
668
667
  pageRef: C,
669
668
  ...R
670
- }), (a, o) => (p(), m(e(we), null, {
669
+ }), (a, o) => (p(), m(e(ue), null, {
671
670
  fallback: i(() => [c(e(xe))]),
672
671
  default: i(() => [H("div", {
673
672
  class: ne([e(d).b()])
@@ -681,8 +680,8 @@ const Fe = V({
681
680
  onSubmit: P,
682
681
  onReset: ee
683
682
  }, null, 8, ["onRegister"])) : F("", !0), h(a.$slots, "toolbar-right")]),
684
- empty: i(() => [h(a.$slots, "empty", {}, () => [c(e(ue), se(ge(l.value.emptyCfg)), null, 16)])]),
685
- loading: i(() => [ce(H("div", null, null, 512), [[ie, l.value.loading], [e(fe), l.value.loadingCfg || {}]])]),
683
+ empty: i(() => [h(a.$slots, "empty", {}, () => [c(e(fe), se(ge(l.value.emptyCfg)), null, 16)])]),
684
+ loading: i(() => [ce(H("div", null, null, 512), [[ie, l.value.loading], [e(me), l.value.loadingCfg]])]),
686
685
  _: 3
687
686
  }, 16), l.value.showPager ? (p(), m(e(ve), T({
688
687
  key: 0,
@@ -1,5 +1,5 @@
1
1
  import type { EmptyProps } from 'vft/es/components/empty';
2
- import type { LoadingBinding } from 'vft/es/components/loading';
2
+ import type { LoadingOptions } from 'vft/es/components/loading';
3
3
  import { type PaginationProps } from 'vft/es/components/pagination';
4
4
  import type { VxeGridInstance, VxeGridProps, VxeTableDefines } from 'vxe-table';
5
5
  import { type SuperFormProps } from '../super-form';
@@ -77,7 +77,7 @@ export interface TableProps extends VxeGridProps {
77
77
  onChange?: (...args: any[]) => void;
78
78
  /** 空状态配置,用于自定义空数据时的显示内容 */
79
79
  emptyCfg?: EmptyProps;
80
- loadingCfg?: LoadingBinding;
80
+ loadingCfg?: LoadingOptions;
81
81
  }
82
82
  /** 列项属性类型,继承自 VXE Table 的列选项 */
83
83
  export type ColumnItemProps = VxeTableDefines.ColumnOptions;
@@ -2,14 +2,14 @@ import "@vueuse/core";
2
2
  import { isNumber as m, isClient as p } from "@vft/utils";
3
3
  import { debugWarn as l } from "../../utils/error.js";
4
4
  import "../../components/config-provider/hooks/use-global-config.js";
5
- import { getCurrentInstance as i, inject as e, computed as c, unref as v, ref as Z } from "vue";
5
+ import { ref as v, getCurrentInstance as i, inject as e, computed as c, unref as Z } from "vue";
6
6
  import "lodash-es";
7
7
  import "../../components/form/index.js";
8
8
  const s = {
9
9
  current: 0
10
- }, u = Z(0), f = 2e3, d = Symbol("vftZIndexContextKey"), y = Symbol("zIndexContextKey"), K = (I) => {
10
+ }, u = v(0), f = 2e3, d = Symbol("vftZIndexContextKey"), y = Symbol("zIndexContextKey"), K = (I) => {
11
11
  const n = i() ? e(d, s) : s, x = I || (i() ? e(y, void 0) : void 0), t = c(() => {
12
- const r = v(x);
12
+ const r = Z(x);
13
13
  return m(r) ? r : f;
14
14
  }), o = c(() => t.value + u.value), a = () => (n.current++, u.value = n.current, o.value);
15
15
  return !p && !e(d) && l(
@@ -1,6 +1,6 @@
1
1
  declare const _default: {
2
2
  "name": "vft",
3
- "version": "0.0.457",
3
+ "version": "0.0.458",
4
4
  "license": "MIT",
5
5
  "main": "lib/index.cjs",
6
6
  "module": "es/index.js",
@@ -1,4 +1,4 @@
1
- const o = "0.0.457";
1
+ const o = "0.0.458";
2
2
  export {
3
3
  o as version
4
4
  };
@@ -62,9 +62,9 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
62
62
  readonly placement?: import("@popperjs/core").Placement | undefined;
63
63
  readonly strategy?: "fixed" | "absolute" | undefined;
64
64
  readonly effect?: "light" | "dark" | undefined;
65
- readonly visible?: boolean | null | undefined;
66
65
  readonly teleported?: boolean | undefined;
67
66
  readonly open?: boolean | undefined;
67
+ readonly visible?: boolean | null | undefined;
68
68
  readonly trigger?: import("vft/es/components/tooltip").TooltipTriggerType | undefined;
69
69
  readonly arrowOffset?: number | undefined;
70
70
  readonly gpuAcceleration?: boolean | undefined;
@@ -480,9 +480,9 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
480
480
  readonly placement?: import("@popperjs/core").Placement | undefined;
481
481
  readonly strategy?: "fixed" | "absolute" | undefined;
482
482
  readonly effect?: "light" | "dark" | undefined;
483
- readonly visible?: boolean | null | undefined;
484
483
  readonly teleported?: boolean | undefined;
485
484
  readonly open?: boolean | undefined;
485
+ readonly visible?: boolean | null | undefined;
486
486
  readonly trigger?: import("vft/es/components/tooltip").TooltipTriggerType | undefined;
487
487
  readonly arrowOffset?: number | undefined;
488
488
  readonly gpuAcceleration?: boolean | undefined;