vft 0.0.416 → 0.0.419
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/dist/index.css +1 -1
- package/es/components/breadcrumb/breadcrumb-item.vue.d.ts +1 -1
- package/es/components/breadcrumb/breadcrumb.vue.d.ts +1 -1
- package/es/components/config-provider/hooks/use-global-config.js +3 -3
- package/es/components/drawer/index.d.ts +1 -2
- package/es/components/radio/radio-button.vue.d.ts +1 -1
- package/es/components/radio/radio.vue.d.ts +15 -15
- package/es/components/radio/use-radio.d.ts +1 -1
- package/es/components/search/index.d.ts +172 -2
- package/es/components/search/search.vue.d.ts +3 -15
- package/es/components/search/search.vue2.js +78 -60
- package/es/components/search/types.d.ts +12 -0
- package/es/components/search/types.js +1 -0
- package/es/components/table/use/use-data-source.d.ts +1 -1
- package/es/components/teleport/teleport.vue.d.ts +1 -1
- package/es/package.json.d.ts +1 -1
- package/es/package.json.js +1 -1
- package/lib/components/breadcrumb/breadcrumb-item.vue.d.ts +1 -1
- package/lib/components/breadcrumb/breadcrumb.vue.d.ts +1 -1
- package/lib/components/drawer/index.d.ts +1 -2
- package/lib/components/radio/radio-button.vue.d.ts +1 -1
- package/lib/components/radio/radio.vue.d.ts +15 -15
- package/lib/components/radio/use-radio.d.ts +1 -1
- package/lib/components/search/index.d.ts +172 -2
- package/lib/components/search/search.vue.d.ts +3 -15
- package/lib/components/search/search.vue2.cjs +1 -1
- package/lib/components/search/types.cjs +1 -0
- package/lib/components/search/types.d.ts +12 -0
- package/lib/components/table/use/use-data-source.d.ts +1 -1
- package/lib/components/teleport/teleport.vue.d.ts +1 -1
- package/lib/package.json.cjs +1 -1
- package/lib/package.json.d.ts +1 -1
- package/package.json +5 -5
- package/theme-style/index.css +1 -1
- package/theme-style/src/card.scss +4 -4
- package/theme-style/src/dialog.scss +1 -0
- package/theme-style/src/drawer.scss +3 -12
- package/theme-style/vft-card.css +1 -1
- package/theme-style/vft-dialog.css +1 -1
- package/theme-style/vft-drawer.css +1 -1
- package/web-types.json +1 -1
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { type SearchProps } from './search.vue';
|
|
2
1
|
export declare const VftSearch: import("vft/es/utils").SFCWithInstall<{
|
|
3
2
|
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{
|
|
4
3
|
width: {
|
|
@@ -13,15 +12,57 @@ export declare const VftSearch: import("vft/es/utils").SFCWithInstall<{
|
|
|
13
12
|
popoverCfg: {
|
|
14
13
|
type: import("vue").PropType<import("vft/es/vft").PopoverProps>;
|
|
15
14
|
};
|
|
15
|
+
id: {
|
|
16
|
+
type: import("vue").PropType<string>;
|
|
17
|
+
};
|
|
18
|
+
size: {
|
|
19
|
+
type: import("vue").PropType<"small" | "default" | "large">;
|
|
20
|
+
};
|
|
21
|
+
disabled: {
|
|
22
|
+
type: import("vue").PropType<boolean>;
|
|
23
|
+
};
|
|
16
24
|
modelValue: {
|
|
17
25
|
type: import("vue").PropType<string | number>;
|
|
18
26
|
};
|
|
27
|
+
type: {
|
|
28
|
+
type: import("vue").PropType<string>;
|
|
29
|
+
};
|
|
30
|
+
resize: {
|
|
31
|
+
type: import("vue").PropType<"both" | "none" | "vertical" | "horizontal">;
|
|
32
|
+
};
|
|
33
|
+
autosize: {
|
|
34
|
+
type: import("vue").PropType<boolean | {
|
|
35
|
+
minRows?: number;
|
|
36
|
+
maxRows?: number;
|
|
37
|
+
}>;
|
|
38
|
+
};
|
|
39
|
+
autocomplete: {
|
|
40
|
+
type: import("vue").PropType<string>;
|
|
41
|
+
};
|
|
42
|
+
formatter: {
|
|
43
|
+
type: import("vue").PropType<Function>;
|
|
44
|
+
};
|
|
45
|
+
parser: {
|
|
46
|
+
type: import("vue").PropType<Function>;
|
|
47
|
+
};
|
|
19
48
|
placeholder: {
|
|
20
49
|
type: import("vue").PropType<string>;
|
|
21
50
|
};
|
|
51
|
+
form: {
|
|
52
|
+
type: import("vue").PropType<string>;
|
|
53
|
+
};
|
|
54
|
+
readonly: {
|
|
55
|
+
type: import("vue").PropType<boolean>;
|
|
56
|
+
};
|
|
22
57
|
clearable: {
|
|
23
58
|
type: import("vue").PropType<boolean>;
|
|
24
59
|
};
|
|
60
|
+
showPassword: {
|
|
61
|
+
type: import("vue").PropType<boolean>;
|
|
62
|
+
};
|
|
63
|
+
showWordLimit: {
|
|
64
|
+
type: import("vue").PropType<boolean>;
|
|
65
|
+
};
|
|
25
66
|
suffixIcon: {
|
|
26
67
|
type: import("vue").PropType<string | import("vft/es/vft").IconProps>;
|
|
27
68
|
};
|
|
@@ -31,6 +72,21 @@ export declare const VftSearch: import("vft/es/utils").SFCWithInstall<{
|
|
|
31
72
|
clearIcon: {
|
|
32
73
|
type: import("vue").PropType<string | import("vft/es/vft").IconProps>;
|
|
33
74
|
};
|
|
75
|
+
containerRole: {
|
|
76
|
+
type: import("vue").PropType<string>;
|
|
77
|
+
};
|
|
78
|
+
label: {
|
|
79
|
+
type: import("vue").PropType<string>;
|
|
80
|
+
};
|
|
81
|
+
tabindex: {
|
|
82
|
+
type: import("vue").PropType<string | number>;
|
|
83
|
+
};
|
|
84
|
+
validateEvent: {
|
|
85
|
+
type: import("vue").PropType<boolean>;
|
|
86
|
+
};
|
|
87
|
+
inputStyle: {
|
|
88
|
+
type: import("vue").PropType<string | false | import("vue").CSSProperties | import("vue").StyleValue[] | null>;
|
|
89
|
+
};
|
|
34
90
|
}>> & Readonly<{
|
|
35
91
|
onInput?: ((val: string | number) => any) | undefined;
|
|
36
92
|
onClear?: (() => any) | undefined;
|
|
@@ -90,15 +146,57 @@ export declare const VftSearch: import("vft/es/utils").SFCWithInstall<{
|
|
|
90
146
|
popoverCfg: {
|
|
91
147
|
type: import("vue").PropType<import("vft/es/vft").PopoverProps>;
|
|
92
148
|
};
|
|
149
|
+
id: {
|
|
150
|
+
type: import("vue").PropType<string>;
|
|
151
|
+
};
|
|
152
|
+
size: {
|
|
153
|
+
type: import("vue").PropType<"small" | "default" | "large">;
|
|
154
|
+
};
|
|
155
|
+
disabled: {
|
|
156
|
+
type: import("vue").PropType<boolean>;
|
|
157
|
+
};
|
|
93
158
|
modelValue: {
|
|
94
159
|
type: import("vue").PropType<string | number>;
|
|
95
160
|
};
|
|
161
|
+
type: {
|
|
162
|
+
type: import("vue").PropType<string>;
|
|
163
|
+
};
|
|
164
|
+
resize: {
|
|
165
|
+
type: import("vue").PropType<"both" | "none" | "vertical" | "horizontal">;
|
|
166
|
+
};
|
|
167
|
+
autosize: {
|
|
168
|
+
type: import("vue").PropType<boolean | {
|
|
169
|
+
minRows?: number;
|
|
170
|
+
maxRows?: number;
|
|
171
|
+
}>;
|
|
172
|
+
};
|
|
173
|
+
autocomplete: {
|
|
174
|
+
type: import("vue").PropType<string>;
|
|
175
|
+
};
|
|
176
|
+
formatter: {
|
|
177
|
+
type: import("vue").PropType<Function>;
|
|
178
|
+
};
|
|
179
|
+
parser: {
|
|
180
|
+
type: import("vue").PropType<Function>;
|
|
181
|
+
};
|
|
96
182
|
placeholder: {
|
|
97
183
|
type: import("vue").PropType<string>;
|
|
98
184
|
};
|
|
185
|
+
form: {
|
|
186
|
+
type: import("vue").PropType<string>;
|
|
187
|
+
};
|
|
188
|
+
readonly: {
|
|
189
|
+
type: import("vue").PropType<boolean>;
|
|
190
|
+
};
|
|
99
191
|
clearable: {
|
|
100
192
|
type: import("vue").PropType<boolean>;
|
|
101
193
|
};
|
|
194
|
+
showPassword: {
|
|
195
|
+
type: import("vue").PropType<boolean>;
|
|
196
|
+
};
|
|
197
|
+
showWordLimit: {
|
|
198
|
+
type: import("vue").PropType<boolean>;
|
|
199
|
+
};
|
|
102
200
|
suffixIcon: {
|
|
103
201
|
type: import("vue").PropType<string | import("vft/es/vft").IconProps>;
|
|
104
202
|
};
|
|
@@ -108,6 +206,21 @@ export declare const VftSearch: import("vft/es/utils").SFCWithInstall<{
|
|
|
108
206
|
clearIcon: {
|
|
109
207
|
type: import("vue").PropType<string | import("vft/es/vft").IconProps>;
|
|
110
208
|
};
|
|
209
|
+
containerRole: {
|
|
210
|
+
type: import("vue").PropType<string>;
|
|
211
|
+
};
|
|
212
|
+
label: {
|
|
213
|
+
type: import("vue").PropType<string>;
|
|
214
|
+
};
|
|
215
|
+
tabindex: {
|
|
216
|
+
type: import("vue").PropType<string | number>;
|
|
217
|
+
};
|
|
218
|
+
validateEvent: {
|
|
219
|
+
type: import("vue").PropType<boolean>;
|
|
220
|
+
};
|
|
221
|
+
inputStyle: {
|
|
222
|
+
type: import("vue").PropType<string | false | import("vue").CSSProperties | import("vue").StyleValue[] | null>;
|
|
223
|
+
};
|
|
111
224
|
}>> & Readonly<{
|
|
112
225
|
onInput?: ((val: string | number) => any) | undefined;
|
|
113
226
|
onClear?: (() => any) | undefined;
|
|
@@ -148,15 +261,57 @@ export declare const VftSearch: import("vft/es/utils").SFCWithInstall<{
|
|
|
148
261
|
popoverCfg: {
|
|
149
262
|
type: import("vue").PropType<import("vft/es/vft").PopoverProps>;
|
|
150
263
|
};
|
|
264
|
+
id: {
|
|
265
|
+
type: import("vue").PropType<string>;
|
|
266
|
+
};
|
|
267
|
+
size: {
|
|
268
|
+
type: import("vue").PropType<"small" | "default" | "large">;
|
|
269
|
+
};
|
|
270
|
+
disabled: {
|
|
271
|
+
type: import("vue").PropType<boolean>;
|
|
272
|
+
};
|
|
151
273
|
modelValue: {
|
|
152
274
|
type: import("vue").PropType<string | number>;
|
|
153
275
|
};
|
|
276
|
+
type: {
|
|
277
|
+
type: import("vue").PropType<string>;
|
|
278
|
+
};
|
|
279
|
+
resize: {
|
|
280
|
+
type: import("vue").PropType<"both" | "none" | "vertical" | "horizontal">;
|
|
281
|
+
};
|
|
282
|
+
autosize: {
|
|
283
|
+
type: import("vue").PropType<boolean | {
|
|
284
|
+
minRows?: number;
|
|
285
|
+
maxRows?: number;
|
|
286
|
+
}>;
|
|
287
|
+
};
|
|
288
|
+
autocomplete: {
|
|
289
|
+
type: import("vue").PropType<string>;
|
|
290
|
+
};
|
|
291
|
+
formatter: {
|
|
292
|
+
type: import("vue").PropType<Function>;
|
|
293
|
+
};
|
|
294
|
+
parser: {
|
|
295
|
+
type: import("vue").PropType<Function>;
|
|
296
|
+
};
|
|
154
297
|
placeholder: {
|
|
155
298
|
type: import("vue").PropType<string>;
|
|
156
299
|
};
|
|
300
|
+
form: {
|
|
301
|
+
type: import("vue").PropType<string>;
|
|
302
|
+
};
|
|
303
|
+
readonly: {
|
|
304
|
+
type: import("vue").PropType<boolean>;
|
|
305
|
+
};
|
|
157
306
|
clearable: {
|
|
158
307
|
type: import("vue").PropType<boolean>;
|
|
159
308
|
};
|
|
309
|
+
showPassword: {
|
|
310
|
+
type: import("vue").PropType<boolean>;
|
|
311
|
+
};
|
|
312
|
+
showWordLimit: {
|
|
313
|
+
type: import("vue").PropType<boolean>;
|
|
314
|
+
};
|
|
160
315
|
suffixIcon: {
|
|
161
316
|
type: import("vue").PropType<string | import("vft/es/vft").IconProps>;
|
|
162
317
|
};
|
|
@@ -166,6 +321,21 @@ export declare const VftSearch: import("vft/es/utils").SFCWithInstall<{
|
|
|
166
321
|
clearIcon: {
|
|
167
322
|
type: import("vue").PropType<string | import("vft/es/vft").IconProps>;
|
|
168
323
|
};
|
|
324
|
+
containerRole: {
|
|
325
|
+
type: import("vue").PropType<string>;
|
|
326
|
+
};
|
|
327
|
+
label: {
|
|
328
|
+
type: import("vue").PropType<string>;
|
|
329
|
+
};
|
|
330
|
+
tabindex: {
|
|
331
|
+
type: import("vue").PropType<string | number>;
|
|
332
|
+
};
|
|
333
|
+
validateEvent: {
|
|
334
|
+
type: import("vue").PropType<boolean>;
|
|
335
|
+
};
|
|
336
|
+
inputStyle: {
|
|
337
|
+
type: import("vue").PropType<string | false | import("vue").CSSProperties | import("vue").StyleValue[] | null>;
|
|
338
|
+
};
|
|
169
339
|
}>> & Readonly<{
|
|
170
340
|
onInput?: ((val: string | number) => any) | undefined;
|
|
171
341
|
onClear?: (() => any) | undefined;
|
|
@@ -214,5 +384,5 @@ export declare const VftSearch: import("vft/es/utils").SFCWithInstall<{
|
|
|
214
384
|
default?(_: {}): any;
|
|
215
385
|
};
|
|
216
386
|
})> & Record<string, any>;
|
|
217
|
-
export type { SearchProps };
|
|
218
387
|
export default VftSearch;
|
|
388
|
+
export * from './types';
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { type PopoverProps } from 'vft/es/components/popover';
|
|
3
|
-
type _InputProps = Pick<InputProps, 'modelValue' | 'clearable' | 'placeholder' | 'suffixIcon' | 'prefixIcon' | 'clearIcon'>;
|
|
4
|
-
export interface SearchProps {
|
|
5
|
-
/** input 框宽度 */
|
|
6
|
-
width?: string | number;
|
|
7
|
-
/** input 获取焦点时的宽度 */
|
|
8
|
-
activeWidth?: string | number;
|
|
9
|
-
/** 是否需要 popover */
|
|
10
|
-
usePopover?: boolean;
|
|
11
|
-
/** popover 相关配置 参考 element */
|
|
12
|
-
popoverCfg?: PopoverProps;
|
|
13
|
-
}
|
|
1
|
+
import type { SearchProps } from './types';
|
|
14
2
|
declare function showPopover(): void;
|
|
15
3
|
declare function hidePopover(): void;
|
|
16
4
|
declare function __VLS_template(): {
|
|
@@ -20,7 +8,7 @@ declare function __VLS_template(): {
|
|
|
20
8
|
append?(_: {}): any;
|
|
21
9
|
default?(_: {}): any;
|
|
22
10
|
};
|
|
23
|
-
declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<SearchProps
|
|
11
|
+
declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<SearchProps>>, {
|
|
24
12
|
isFocus: import("vue").Ref<boolean, boolean>;
|
|
25
13
|
isHover: import("vue").Ref<boolean, boolean>;
|
|
26
14
|
visible: import("vue").Ref<boolean, boolean>;
|
|
@@ -43,7 +31,7 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
43
31
|
compositionstart: (evt: CompositionEvent) => void;
|
|
44
32
|
compositionupdate: (evt: CompositionEvent) => void;
|
|
45
33
|
compositionend: (evt: CompositionEvent) => void;
|
|
46
|
-
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<SearchProps
|
|
34
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<SearchProps>>> & Readonly<{
|
|
47
35
|
onInput?: ((val: string | number) => any) | undefined;
|
|
48
36
|
onClear?: (() => any) | undefined;
|
|
49
37
|
"onUpdate:modelValue"?: ((val: string | number) => any) | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue");require("@vueuse/core");require("@vft/utils");const
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),j=require("../input/index.cjs"),A=require("../popover/index.cjs");require("@vueuse/core");require("@vft/utils");const a=require("../../utils/helper.cjs"),m=require("../../utils/ns-cover.cjs");require("lodash-es");require("../form/index.cjs");const D=require("../../hooks/use-namespace/index.cjs");require("../../hooks/use-model-toggle/index.cjs");require("@popperjs/core");require("../../hooks/use-z-index/index.cjs");const K=require("@vft/directives"),L=e.defineComponent({name:"vft-search"}),H=e.defineComponent({...L,props:{width:{default:200},activeWidth:{},usePopover:{type:Boolean,default:!1},popoverCfg:{},id:{},size:{},disabled:{type:Boolean},modelValue:{default:""},type:{},resize:{},autosize:{type:[Object,Boolean]},autocomplete:{},formatter:{},parser:{},placeholder:{default:"请输入你要搜索的内容"},form:{},readonly:{type:Boolean},clearable:{type:Boolean,default:!0},showPassword:{type:Boolean},showWordLimit:{type:Boolean},suffixIcon:{default:()=>({icon:"icon-search",color:"#8B8C8C",pointer:!0})},prefixIcon:{},clearIcon:{},containerRole:{},label:{},tabindex:{},validateEvent:{type:Boolean},inputStyle:{type:[Boolean,null,String,Object,Array]}},emits:["update:modelValue","blur","focus","clear","enter","prefixClick","suffixClick","mouseenter","mouseleave","keydown","change","input","compositionstart","compositionupdate","compositionend"],setup(n,{expose:h,emit:C}){const r=D.useNamespace("search"),o=C,f=e.ref(),p=e.ref(),u=e.ref(),s=e.ref(!1),d=e.ref(!1),i=e.ref(!1),y=e.computed(()=>m.generateCssVars({width:n.activeWidth&&(i.value||n.modelValue)?a.addUnit(n.activeWidth):a.addUnit(n.width)},"input")),k=e.computed(()=>m.generateCssVars({"active-width":n.activeWidth?a.addUnit(n.activeWidth):a.addUnit(n.width)},"search")),w=e.computed(()=>({"show-arrow":!1,transition:"vft-zoom-in-top",placement:"bottom-start",offset:3,width:500,...n.popoverCfg})),V=t=>{o("update:modelValue",t),o("input",t)},B=()=>{c()};function g(){i.value=!0}function c(){i.value=!1}const b=()=>{o("clear"),l(!1)};function S(){d.value=!0,o("mouseenter",n.modelValue)}function x(){d.value=!1,o("mouseleave",n.modelValue)}const q=()=>{i.value=!0,s.value=!0,o("focus")};function P(){s.value=!1,o("blur")}function $(){l(),o("prefixClick",n.modelValue)}function R(){l(),o("suffixClick",n.modelValue)}function E(){l(),o("enter",n.modelValue)}function l(t=!0){n.usePopover&&c(),t&&u.value.blur()}const U=t=>{o("keydown",t)},z=e.computed(()=>f.value?.popperRef?.contentRef),M=t=>{o("update:modelValue",t)},W=t=>{o("change",t)},I=t=>{o("compositionstart",t)},O=t=>{o("compositionupdate",t)},F=t=>{o("compositionend",t)};return h({isFocus:s,isHover:d,visible:i,hidePopover:c,showPopover:g,inputRef:u}),(t,v)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[e.withDirectives((e.openBlock(),e.createElementBlock("div",{ref_key:"searchRef",ref:p,class:e.normalizeClass([e.unref(r).b(),e.unref(r).is("active",!!i.value||!!t.modelValue)]),style:e.normalizeStyle(k.value)},[e.createVNode(e.unref(j.VftInput),e.mergeProps({ref_key:"inputRef",ref:u},t.$props,{"input-style":y.value,onInput:V,onFocus:q,onEnter:E,onBlur:P,onMouseenter:S,"onUpdate:modelValue":M,onMouseleave:x,onPrefixClick:$,onSuffixClick:R,onChange:W,onKeydown:U,onClear:b,onCompositionstart:I,onCompositionupdate:O,onCompositionend:F}),e.createSlots({_:2},[t.$slots.prefix?{name:"prefix",fn:e.withCtx(()=>[e.renderSlot(t.$slots,"prefix")]),key:"0"}:void 0,t.$slots.suffix?{name:"suffix",fn:e.withCtx(()=>[e.renderSlot(t.$slots,"suffix")]),key:"1"}:void 0,t.$slots.prepend?{name:"prepend",fn:e.withCtx(()=>[e.renderSlot(t.$slots,"prepend")]),key:"2"}:void 0,t.$slots.append?{name:"append",fn:e.withCtx(()=>[e.renderSlot(t.$slots,"append")]),key:"3"}:void 0]),1040,["input-style"])],6)),[[e.unref(K.ClickOutside),B,z.value]]),t.usePopover?(e.openBlock(),e.createBlock(e.unref(A.VftPopover),e.mergeProps({key:0,style:{"--vft-transition-duration":"3s"},ref_key:"popoverRef",ref:f},w.value,{"virtual-ref":p.value,visible:i.value,"onUpdate:visible":v[0]||(v[0]=N=>i.value=N),"virtual-triggering":""}),{default:e.withCtx(()=>[e.createElementVNode("div",{class:e.normalizeClass(e.unref(r).e("content"))},[e.renderSlot(t.$slots,"default")],2)]),_:3},16,["virtual-ref","visible"])):e.createCommentVNode("",!0)],64))}});exports.default=H;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { PopoverProps } from 'vft/es/components/popover';
|
|
2
|
+
import type { InputProps } from 'vft/es/components/input';
|
|
3
|
+
export interface SearchProps extends InputProps {
|
|
4
|
+
/** input 框宽度 */
|
|
5
|
+
width?: string | number;
|
|
6
|
+
/** input 获取焦点时的宽度 */
|
|
7
|
+
activeWidth?: string | number;
|
|
8
|
+
/** 是否需要 popover */
|
|
9
|
+
usePopover?: boolean;
|
|
10
|
+
/** popover 相关配置 参考 element */
|
|
11
|
+
popoverCfg?: PopoverProps;
|
|
12
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { type PaginationProps } from 'vft/es/components/pagination';
|
|
2
2
|
import { type ComputedRef } from 'vue';
|
|
3
|
-
import { type Recordable } from '../../types
|
|
3
|
+
import { type Recordable } from '../../types';
|
|
4
4
|
import type { TableProps } from '../types';
|
|
5
5
|
export declare function useDataSource(propsRef: ComputedRef<TableProps>, { tableData, setLoading, getPaginationInfo, setPagination }: {
|
|
6
6
|
tableData: any;
|
package/lib/package.json.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e="0.0.
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e="0.0.419";exports.version=e;
|
package/lib/package.json.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "vft",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.419",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"main": "lib/index.cjs",
|
|
6
6
|
"module": "es/index.js",
|
|
@@ -55,12 +55,12 @@
|
|
|
55
55
|
"resize-detector": "0.3.0",
|
|
56
56
|
"sortablejs": "1.15.0",
|
|
57
57
|
"photoswipe": "5.4.4",
|
|
58
|
-
"@vft/directives": "0.0.36",
|
|
59
|
-
"@vft/router": "0.0.67",
|
|
60
58
|
"@vft/constants": "0.0.72",
|
|
61
59
|
"@vft/use": "0.0.83",
|
|
62
|
-
"@vft/
|
|
63
|
-
"@vft/
|
|
60
|
+
"@vft/router": "0.0.67",
|
|
61
|
+
"@vft/directives": "0.0.36",
|
|
62
|
+
"@vft/utils": "0.0.140",
|
|
63
|
+
"@vft/store": "0.0.54"
|
|
64
64
|
},
|
|
65
65
|
"vetur": {
|
|
66
66
|
"tags": "tags.json",
|