vft 0.0.243 → 0.0.244
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/affix/affix.d.ts +1 -1
- package/es/components/affix/affix.vue.d.ts +3 -3
- package/es/components/affix/index.d.ts +6 -6
- package/es/components/autocomplete/autocomplete.vue.d.ts +4 -4
- package/es/components/autocomplete/index.d.ts +12 -12
- package/es/components/avatar/index.d.ts +3 -3
- package/es/components/button/button.vue.d.ts +2 -2
- package/es/components/button/index.d.ts +24 -24
- package/es/components/button/use-button.d.ts +2 -2
- package/es/components/carousel/carousel.vue.d.ts +1 -1
- package/es/components/carousel/index.d.ts +15 -15
- package/es/components/checkbox/composables/use-checkbox-status.d.ts +2 -2
- package/es/components/checkbox/composables/use-checkbox.d.ts +2 -2
- package/es/components/checkbox/index.d.ts +51 -51
- package/es/components/col/col.vue.d.ts +1 -1
- package/es/components/col/index.d.ts +9 -9
- package/es/components/color-picker/index.d.ts +8 -8
- package/es/components/date-picker/date-picker.d.ts +3 -3
- package/es/components/date-picker/index.d.ts +6 -6
- package/es/components/date-picker/props/date-picker.d.ts +1 -1
- package/es/components/divider/index.d.ts +3 -3
- package/es/components/dropdown/dropdown.vue.d.ts +1 -1
- package/es/components/focus-trap/utils.d.ts +1 -1
- package/es/components/form/form-item.vue.d.ts +2 -2
- package/es/components/form/hooks/use-form-common-props.d.ts +2 -2
- package/es/components/form/index.d.ts +48 -48
- package/es/components/input/index.d.ts +3 -3
- package/es/components/input/input.vue2.js +4 -4
- package/es/components/input-number/index.d.ts +2 -2
- package/es/components/popper/composables/use-content.d.ts +3 -3
- package/es/components/radio/index.d.ts +48 -48
- package/es/components/radio/radio.vue.d.ts +1 -1
- package/es/components/radio/use-radio.d.ts +1 -1
- package/es/components/roving-focus-group/roving-focus-group-impl.vue.d.ts +2 -2
- package/es/components/select/useSelect.d.ts +5 -5
- package/es/components/slider/index.d.ts +4 -4
- package/es/components/space/index.d.ts +3 -3
- package/es/components/space/space.d.ts +4 -4
- package/es/components/switch/index.d.ts +15 -15
- package/es/components/switch/switch.vue.d.ts +1 -1
- package/es/components/tabs/index.d.ts +3 -3
- package/es/components/tabs/tab-pane.vue2.js +37 -35
- package/es/components/tabs/tabs.vue.d.ts +1 -1
- package/es/components/tabs/tabs.vue2.js +61 -61
- package/es/components/time-picker/common/picker.vue.d.ts +3 -3
- package/es/components/time-picker/common/props.d.ts +1 -1
- package/es/components/time-picker/index.d.ts +6 -6
- package/es/components/time-picker/time-picker.d.ts +3 -3
- package/es/components/time-select/time-select.vue.d.ts +1 -1
- package/es/components/timeline/index.d.ts +6 -6
- package/es/components/tree/tree-node.vue.d.ts +36 -36
- package/es/components/upload/index.d.ts +9 -9
- package/es/hooks/use-ordered-children/index.js +25 -25
- package/es/hooks/use-popper/index.d.ts +3 -3
- package/es/hooks/use-size/index.d.ts +1 -1
- package/es/package.json.d.ts +1 -1
- package/es/package.json.js +1 -1
- package/lib/components/affix/affix.d.ts +1 -1
- package/lib/components/affix/affix.vue.d.ts +3 -3
- package/lib/components/affix/index.d.ts +6 -6
- package/lib/components/autocomplete/autocomplete.vue.d.ts +4 -4
- package/lib/components/autocomplete/index.d.ts +12 -12
- package/lib/components/avatar/index.d.ts +3 -3
- package/lib/components/button/button.vue.d.ts +2 -2
- package/lib/components/button/index.d.ts +24 -24
- package/lib/components/button/use-button.d.ts +2 -2
- package/lib/components/carousel/carousel.vue.d.ts +1 -1
- package/lib/components/carousel/index.d.ts +15 -15
- package/lib/components/checkbox/composables/use-checkbox-status.d.ts +2 -2
- package/lib/components/checkbox/composables/use-checkbox.d.ts +2 -2
- package/lib/components/checkbox/index.d.ts +51 -51
- package/lib/components/col/col.vue.d.ts +1 -1
- package/lib/components/col/index.d.ts +9 -9
- package/lib/components/color-picker/index.d.ts +8 -8
- package/lib/components/date-picker/date-picker.d.ts +3 -3
- package/lib/components/date-picker/index.d.ts +6 -6
- package/lib/components/date-picker/props/date-picker.d.ts +1 -1
- package/lib/components/divider/index.d.ts +3 -3
- package/lib/components/dropdown/dropdown.vue.d.ts +1 -1
- package/lib/components/focus-trap/utils.d.ts +1 -1
- package/lib/components/form/form-item.vue.d.ts +2 -2
- package/lib/components/form/hooks/use-form-common-props.d.ts +2 -2
- package/lib/components/form/index.d.ts +48 -48
- package/lib/components/input/index.d.ts +3 -3
- package/lib/components/input/input.vue2.cjs +1 -1
- package/lib/components/input-number/index.d.ts +2 -2
- package/lib/components/popper/composables/use-content.d.ts +3 -3
- package/lib/components/radio/index.d.ts +48 -48
- package/lib/components/radio/radio.vue.d.ts +1 -1
- package/lib/components/radio/use-radio.d.ts +1 -1
- package/lib/components/roving-focus-group/roving-focus-group-impl.vue.d.ts +2 -2
- package/lib/components/select/useSelect.d.ts +5 -5
- package/lib/components/slider/index.d.ts +4 -4
- package/lib/components/space/index.d.ts +3 -3
- package/lib/components/space/space.d.ts +4 -4
- package/lib/components/switch/index.d.ts +15 -15
- package/lib/components/switch/switch.vue.d.ts +1 -1
- package/lib/components/tabs/index.d.ts +3 -3
- package/lib/components/tabs/tab-pane.vue2.cjs +1 -1
- package/lib/components/tabs/tabs.vue.d.ts +1 -1
- package/lib/components/tabs/tabs.vue2.cjs +1 -1
- package/lib/components/time-picker/common/picker.vue.d.ts +3 -3
- package/lib/components/time-picker/common/props.d.ts +1 -1
- package/lib/components/time-picker/index.d.ts +6 -6
- package/lib/components/time-picker/time-picker.d.ts +3 -3
- package/lib/components/time-select/time-select.vue.d.ts +1 -1
- package/lib/components/timeline/index.d.ts +6 -6
- package/lib/components/tree/tree-node.vue.d.ts +36 -36
- package/lib/components/upload/index.d.ts +9 -9
- package/lib/hooks/use-ordered-children/index.cjs +1 -1
- package/lib/hooks/use-popper/index.d.ts +3 -3
- package/lib/hooks/use-size/index.d.ts +1 -1
- package/lib/package.json.cjs +1 -1
- package/lib/package.json.d.ts +1 -1
- package/package.json +3 -3
- package/web-types.json +1 -1
|
@@ -1,11 +1,15 @@
|
|
|
1
1
|
export declare const VftSwitch: import("vft/es/utils").SFCWithInstall<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
2
|
-
|
|
3
|
-
type: import("vue").PropType<
|
|
2
|
+
disabled: {
|
|
3
|
+
type: import("vue").PropType<boolean>;
|
|
4
4
|
default: boolean;
|
|
5
5
|
};
|
|
6
6
|
width: {
|
|
7
7
|
type: import("vue").PropType<string | number>;
|
|
8
8
|
};
|
|
9
|
+
value: {
|
|
10
|
+
type: import("vue").PropType<string | number | boolean>;
|
|
11
|
+
default: boolean;
|
|
12
|
+
};
|
|
9
13
|
borderColor: {
|
|
10
14
|
type: import("vue").PropType<string>;
|
|
11
15
|
};
|
|
@@ -15,12 +19,8 @@ export declare const VftSwitch: import("vft/es/utils").SFCWithInstall<import("vu
|
|
|
15
19
|
id: {
|
|
16
20
|
type: import("vue").PropType<string>;
|
|
17
21
|
};
|
|
18
|
-
disabled: {
|
|
19
|
-
type: import("vue").PropType<boolean>;
|
|
20
|
-
default: boolean;
|
|
21
|
-
};
|
|
22
22
|
size: {
|
|
23
|
-
type: import("vue").PropType<"" | "
|
|
23
|
+
type: import("vue").PropType<"" | "small" | "default" | "large">;
|
|
24
24
|
};
|
|
25
25
|
modelValue: {
|
|
26
26
|
type: import("vue").PropType<string | number | boolean>;
|
|
@@ -78,13 +78,17 @@ export declare const VftSwitch: import("vft/es/utils").SFCWithInstall<import("vu
|
|
|
78
78
|
change: (...args: any[]) => void;
|
|
79
79
|
"update:modelValue": (...args: any[]) => void;
|
|
80
80
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
81
|
-
|
|
82
|
-
type: import("vue").PropType<
|
|
81
|
+
disabled: {
|
|
82
|
+
type: import("vue").PropType<boolean>;
|
|
83
83
|
default: boolean;
|
|
84
84
|
};
|
|
85
85
|
width: {
|
|
86
86
|
type: import("vue").PropType<string | number>;
|
|
87
87
|
};
|
|
88
|
+
value: {
|
|
89
|
+
type: import("vue").PropType<string | number | boolean>;
|
|
90
|
+
default: boolean;
|
|
91
|
+
};
|
|
88
92
|
borderColor: {
|
|
89
93
|
type: import("vue").PropType<string>;
|
|
90
94
|
};
|
|
@@ -94,12 +98,8 @@ export declare const VftSwitch: import("vft/es/utils").SFCWithInstall<import("vu
|
|
|
94
98
|
id: {
|
|
95
99
|
type: import("vue").PropType<string>;
|
|
96
100
|
};
|
|
97
|
-
disabled: {
|
|
98
|
-
type: import("vue").PropType<boolean>;
|
|
99
|
-
default: boolean;
|
|
100
|
-
};
|
|
101
101
|
size: {
|
|
102
|
-
type: import("vue").PropType<"" | "
|
|
102
|
+
type: import("vue").PropType<"" | "small" | "default" | "large">;
|
|
103
103
|
};
|
|
104
104
|
modelValue: {
|
|
105
105
|
type: import("vue").PropType<string | number | boolean>;
|
|
@@ -154,8 +154,8 @@ export declare const VftSwitch: import("vft/es/utils").SFCWithInstall<import("vu
|
|
|
154
154
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
155
155
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
156
156
|
}>, {
|
|
157
|
-
value: boolean | string | number;
|
|
158
157
|
disabled: boolean;
|
|
158
|
+
value: boolean | string | number;
|
|
159
159
|
modelValue: boolean | string | number;
|
|
160
160
|
loading: boolean;
|
|
161
161
|
validateEvent: boolean;
|
|
@@ -59,8 +59,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
59
59
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
60
60
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
61
61
|
}>, {
|
|
62
|
-
value: boolean | string | number;
|
|
63
62
|
disabled: boolean;
|
|
63
|
+
value: boolean | string | number;
|
|
64
64
|
modelValue: boolean | string | number;
|
|
65
65
|
loading: boolean;
|
|
66
66
|
validateEvent: boolean;
|
|
@@ -13,7 +13,7 @@ export declare const VftTabs: import("vft/es/utils").SFCWithInstall<import("vue"
|
|
|
13
13
|
type: import("vue").PropType<boolean>;
|
|
14
14
|
};
|
|
15
15
|
tabPosition: {
|
|
16
|
-
type: import("vue").PropType<"
|
|
16
|
+
type: import("vue").PropType<"top" | "bottom" | "left" | "right">;
|
|
17
17
|
};
|
|
18
18
|
beforeLeave: {
|
|
19
19
|
type: import("vue").PropType<Function>;
|
|
@@ -46,7 +46,7 @@ export declare const VftTabs: import("vft/es/utils").SFCWithInstall<import("vue"
|
|
|
46
46
|
type: import("vue").PropType<"click" | "hover">;
|
|
47
47
|
};
|
|
48
48
|
}>, {
|
|
49
|
-
currentName: import("vue").Ref<
|
|
49
|
+
currentName: import("vue").Ref<string | number, string | number>;
|
|
50
50
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
51
51
|
"update:modelValue": (name: string | number) => void;
|
|
52
52
|
tabClick: (pane: {
|
|
@@ -101,7 +101,7 @@ export declare const VftTabs: import("vft/es/utils").SFCWithInstall<import("vue"
|
|
|
101
101
|
type: import("vue").PropType<boolean>;
|
|
102
102
|
};
|
|
103
103
|
tabPosition: {
|
|
104
|
-
type: import("vue").PropType<"
|
|
104
|
+
type: import("vue").PropType<"top" | "bottom" | "left" | "right">;
|
|
105
105
|
};
|
|
106
106
|
beforeLeave: {
|
|
107
107
|
type: import("vue").PropType<Function>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),p=require("@vueuse/core");require("@vft/utils");const y=require("../../utils/error.cjs");require("../../utils/ns-cover.cjs");require("lodash-es");const q=require("../../hooks/use-namespace/index.cjs");require("../../hooks/use-model-toggle/index.cjs");require("@popperjs/core");require("../../hooks/use-z-index/index.cjs");const h=require("./types.cjs"),g=["id","aria-hidden","aria-labelledby"],C=e.defineComponent({name:"vft-tab-pane"}),B=e.defineComponent({...C,props:{label:{},name:{},closable:{type:Boolean},disabled:{type:Boolean},lazy:{type:Boolean}},setup(n){const l=q.useNamespace("tab-pane"),r=e.getCurrentInstance(),i=e.useSlots(),t=e.inject(h.TabsRootContextKey);t||y.throwError(l.b(),"usage: <vft-tabs><vft-tab-pane /></vft-tabs/>");const c=e.ref(),o=e.ref(),v=e.computed(()=>n.closable||t.props.closable),a=p.eagerComputed(()=>t.currentName.value===(n.name??o.value)),d=e.ref(a.value),s=e.computed(()=>n.name??o.value),b=p.eagerComputed(()=>!n.lazy||d.value||a.value),m=()=>c.value?.contains(document.activeElement);e.watch(a,u=>{u&&(d.value=!0)});const f=e.reactive({uid:r.uid,getVnode:()=>r.vnode,slots:i,props:r.props,paneName:s,active:a,index:o,isClosable:v,isFocusInsidePane:m,attrs:r.attrs});return t.registerPane(f),e.onBeforeUnmount(()=>{t.unregisterPane(f.uid)}),e.onBeforeUpdate(()=>{i.label&&t.nav$.value?.scheduleRender()}),(u,R)=>e.unref(b)?e.withDirectives((e.openBlock(),e.createElementBlock("div",{key:0,id:`pane-${s.value}`,ref_key:"paneRef",ref:c,class:e.normalizeClass(e.unref(l).b()),role:"tabpanel","aria-hidden":!e.unref(a),"aria-labelledby":`tab-${s.value}`},[e.renderSlot(u.$slots,"default")],10,g)),[[e.vShow,e.unref(a)]]):e.createCommentVNode("",!0)}});exports.default=B;
|
|
@@ -27,7 +27,7 @@ export interface TabsProps {
|
|
|
27
27
|
trigger?: 'click' | 'hover';
|
|
28
28
|
}
|
|
29
29
|
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<TabsProps>>, {
|
|
30
|
-
currentName: import("vue").Ref<
|
|
30
|
+
currentName: import("vue").Ref<string | number, string | number>;
|
|
31
31
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
32
32
|
"update:modelValue": (name: string | number) => void;
|
|
33
33
|
tabClick: (pane: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t=require("vue");require("@vueuse/core");const
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t=require("vue");require("@vueuse/core");const C=require("@vft/utils");require("../../utils/ns-cover.cjs");require("lodash-es");const S=require("../../hooks/use-namespace/index.cjs");require("../../hooks/use-model-toggle/index.cjs");const A=require("../../hooks/use-ordered-children/index.cjs");require("@popperjs/core");require("../../hooks/use-z-index/index.cjs");const E=require("@vft/constants"),k=require("./tab-nav.vue2.cjs"),M=require("./types.cjs"),z=t.defineComponent({name:"vft-tabs"}),F=t.defineComponent({...z,props:{closable:{type:Boolean},addable:{type:Boolean,default:!1},modelValue:{},editable:{type:Boolean},tabPosition:{default:"top"},beforeLeave:{},stretch:{type:Boolean},showBar:{type:Boolean,default:!0},closeIconCfg:{},addIconCfg:{},arrowLeftIconCfg:{},arrowRightIconCfg:{},fixTabCount:{default:0},fixExtraScrollWidth:{default:0},trigger:{default:"click"}},emits:["update:modelValue","tabClick","tabContextMenu","tabChange","tabRemove","tabAdd","edit"],setup(a,{expose:g,emit:h}){const r=h,c=S.useNamespace("tabs"),v=t.getCurrentInstance(),d=t.useSlots(),m=t.computed(()=>["left","right"].includes(a.tabPosition)),{children:u,addChild:I,removeChild:w,ChildrenSorter:x}=A.useOrderedChildren(t.getCurrentInstance(),"vft-tab-pane"),s=t.ref(),i=t.ref(a.modelValue??"0"),f=async(e,n=!1)=>{if(!(i.value===e||C.isUndefined(e)))try{let o;if(a.beforeLeave){const l=a.beforeLeave(e,i.value);o=l instanceof Promise?await l:l}else o=!0;if(o!==!1){const l=u.value.find(B=>B.paneName===i.value)?.isFocusInsidePane();i.value=e,n&&(r(E.UPDATE_MODEL_EVENT,e),r("tabChange",e)),s.value?.removeFocus?.(),l&&s.value?.focusActiveTab()}}catch{}},T=(e,n,o)=>{e.props.disabled||(r("tabClick",e,o),f(n,!0))},N=(e,n)=>{e.props.disabled||C.isUndefined(e.props.name)||(n.stopPropagation(),r("edit",e.props.name,"remove"),r("tabRemove",e.props.name))},P=()=>{r("edit",void 0,"add"),r("tabAdd")},b=e=>{const n=e.el.firstChild,o=["bottom","right"].includes(a.tabPosition)?e.children[0].el:e.children[1].el;n!==o&&n.before(o)};t.watch(()=>a.modelValue,e=>f(e)),t.watch(i,async()=>{await t.nextTick(),s.value?.scrollToActiveTab()});const V=(e,n,o)=>{r("tabContextMenu",e,n,o)},q=t.computed(()=>t.createVNode("div",{class:c.e("content")},[d.default?.()]));t.provide(M.TabsRootContextKey,{props:v.props,currentName:i,registerPane:I,unregisterPane:w,nav$:s}),g({currentName:i});const y=t.computed(()=>({icon:"icon-plus",size:12,...a.addIconCfg})),p=t.computed(()=>({icon:"icon-close",size:14,...a.closeIconCfg})),R=t.computed(()=>({icon:"icon-arrow-left",size:18,...a.arrowLeftIconCfg})),L=t.computed(()=>({icon:"icon-arrow-right",size:18,...a.arrowRightIconCfg}));return()=>{const e=()=>t.createVNode(k.default,{ref:s,currentName:i.value,editable:a.editable,panes:u.value,stretch:a.stretch,showBar:a.showBar,closeIconCfg:p.value,addIconCfg:y.value,arrowRightIconCfg:L.value,arrowLeftIconCfg:R.value,fixTabCount:a.fixTabCount,fixExtraScrollWidth:a.fixExtraScrollWidth,addable:a.addable,trigger:a.trigger,onTabClick:T,onTabRemove:N,onTabAdd:P,onTabContextmenu:V},null),n=t.createVNode("div",{class:[c.e("header"),m.value&&c.e("header-vertical"),c.is(a.tabPosition)]},[t.createVNode(x,null,{default:e,$stable:!0}),d.navRight?t.createVNode("div",{class:"nav-right"},[d.navRight?.()]):null]);return t.createVNode("div",{class:[c.b(),c.m(a.tabPosition)],onVnodeMounted:b,onVnodeUpdated:b},[q.value,n])}}});exports.default=F;
|
|
@@ -72,7 +72,7 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
72
72
|
readonly editable: import("vft/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
73
73
|
readonly prefixIcon: import("vft/es/utils").EpPropFinalized<(new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component) | (((new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component)) | null)[], unknown, unknown, "", boolean>;
|
|
74
74
|
readonly size: {
|
|
75
|
-
readonly type: import("vue").PropType<import("vft/es/utils").EpPropMergeType<StringConstructor, "" | "
|
|
75
|
+
readonly type: import("vue").PropType<import("vft/es/utils").EpPropMergeType<StringConstructor, "" | "small" | "default" | "large", unknown>>;
|
|
76
76
|
readonly required: false;
|
|
77
77
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
78
78
|
__epPropKey: true;
|
|
@@ -185,7 +185,7 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
185
185
|
readonly editable: import("vft/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
186
186
|
readonly prefixIcon: import("vft/es/utils").EpPropFinalized<(new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component) | (((new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component)) | null)[], unknown, unknown, "", boolean>;
|
|
187
187
|
readonly size: {
|
|
188
|
-
readonly type: import("vue").PropType<import("vft/es/utils").EpPropMergeType<StringConstructor, "" | "
|
|
188
|
+
readonly type: import("vue").PropType<import("vft/es/utils").EpPropMergeType<StringConstructor, "" | "small" | "default" | "large", unknown>>;
|
|
189
189
|
readonly required: false;
|
|
190
190
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
191
191
|
__epPropKey: true;
|
|
@@ -222,9 +222,9 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
222
222
|
"onVisible-change"?: ((...args: any[]) => any) | undefined;
|
|
223
223
|
}>, {
|
|
224
224
|
readonly label: string;
|
|
225
|
+
readonly disabled: import("vft/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
225
226
|
readonly name: import("vft/es/utils").EpPropMergeType<(new (...args: any[]) => string | [string, string]) | (() => SingleOrRange<string>) | (((new (...args: any[]) => string | [string, string]) | (() => SingleOrRange<string>)) | null)[], unknown, unknown>;
|
|
226
227
|
readonly type: string;
|
|
227
|
-
readonly disabled: import("vft/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
228
228
|
readonly modelValue: import("vft/es/utils").EpPropMergeType<(new (...args: any[]) => string | number | Date | [DateModelType, DateModelType]) | (() => import("./props").ModelValueType) | (((new (...args: any[]) => string | number | Date | [DateModelType, DateModelType]) | (() => import("./props").ModelValueType)) | null)[], unknown, unknown>;
|
|
229
229
|
readonly readonly: import("vft/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
230
230
|
readonly placeholder: string;
|
|
@@ -63,7 +63,7 @@ export declare const timePickerDefaultProps: {
|
|
|
63
63
|
readonly editable: import("vft/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
64
64
|
readonly prefixIcon: import("vft/es/utils").EpPropFinalized<(new (...args: any[]) => (string | Component) & {}) | (() => string | Component) | (((new (...args: any[]) => (string | Component) & {}) | (() => string | Component)) | null)[], unknown, unknown, "", boolean>;
|
|
65
65
|
readonly size: {
|
|
66
|
-
readonly type: import("vue").PropType<import("vft/es/utils").EpPropMergeType<StringConstructor, "" | "
|
|
66
|
+
readonly type: import("vue").PropType<import("vft/es/utils").EpPropMergeType<StringConstructor, "" | "small" | "default" | "large", unknown>>;
|
|
67
67
|
readonly required: false;
|
|
68
68
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
69
69
|
__epPropKey: true;
|
|
@@ -60,7 +60,7 @@ declare const _TimePicker: import("vue").DefineComponent<import("vue").ExtractPr
|
|
|
60
60
|
editable: import("vft/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
61
61
|
prefixIcon: import("vft/es/utils").EpPropFinalized<(new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component) | (((new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component)) | null)[], unknown, unknown, "", boolean>;
|
|
62
62
|
size: {
|
|
63
|
-
readonly type: import("vue").PropType<import("vft/es/utils").EpPropMergeType<StringConstructor, "" | "
|
|
63
|
+
readonly type: import("vue").PropType<import("vft/es/utils").EpPropMergeType<StringConstructor, "" | "small" | "default" | "large", unknown>>;
|
|
64
64
|
readonly required: false;
|
|
65
65
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
66
66
|
__epPropKey: true;
|
|
@@ -142,7 +142,7 @@ declare const _TimePicker: import("vue").DefineComponent<import("vue").ExtractPr
|
|
|
142
142
|
editable: import("vft/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
143
143
|
prefixIcon: import("vft/es/utils").EpPropFinalized<(new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component) | (((new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component)) | null)[], unknown, unknown, "", boolean>;
|
|
144
144
|
size: {
|
|
145
|
-
readonly type: import("vue").PropType<import("vft/es/utils").EpPropMergeType<StringConstructor, "" | "
|
|
145
|
+
readonly type: import("vue").PropType<import("vft/es/utils").EpPropMergeType<StringConstructor, "" | "small" | "default" | "large", unknown>>;
|
|
146
146
|
readonly required: false;
|
|
147
147
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
148
148
|
__epPropKey: true;
|
|
@@ -171,9 +171,9 @@ declare const _TimePicker: import("vue").DefineComponent<import("vue").ExtractPr
|
|
|
171
171
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
172
172
|
}>, {
|
|
173
173
|
label: string;
|
|
174
|
+
disabled: import("vft/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
174
175
|
name: import("vft/es/utils").EpPropMergeType<(new (...args: any[]) => string | [string, string]) | (() => import("./common/props").SingleOrRange<string>) | (((new (...args: any[]) => string | [string, string]) | (() => import("./common/props").SingleOrRange<string>)) | null)[], unknown, unknown>;
|
|
175
176
|
type: string;
|
|
176
|
-
disabled: import("vft/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
177
177
|
modelValue: import("vft/es/utils").EpPropMergeType<(new (...args: any[]) => string | number | Date | [import("./common/props").DateModelType, import("./common/props").DateModelType]) | (() => import("./common/props").ModelValueType) | (((new (...args: any[]) => string | number | Date | [import("./common/props").DateModelType, import("./common/props").DateModelType]) | (() => import("./common/props").ModelValueType)) | null)[], unknown, unknown>;
|
|
178
178
|
readonly: import("vft/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
179
179
|
placeholder: string;
|
|
@@ -250,7 +250,7 @@ export declare const VftTimePicker: import("vue").DefineComponent<import("vue").
|
|
|
250
250
|
editable: import("vft/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
251
251
|
prefixIcon: import("vft/es/utils").EpPropFinalized<(new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component) | (((new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component)) | null)[], unknown, unknown, "", boolean>;
|
|
252
252
|
size: {
|
|
253
|
-
readonly type: import("vue").PropType<import("vft/es/utils").EpPropMergeType<StringConstructor, "" | "
|
|
253
|
+
readonly type: import("vue").PropType<import("vft/es/utils").EpPropMergeType<StringConstructor, "" | "small" | "default" | "large", unknown>>;
|
|
254
254
|
readonly required: false;
|
|
255
255
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
256
256
|
__epPropKey: true;
|
|
@@ -332,7 +332,7 @@ export declare const VftTimePicker: import("vue").DefineComponent<import("vue").
|
|
|
332
332
|
editable: import("vft/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
333
333
|
prefixIcon: import("vft/es/utils").EpPropFinalized<(new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component) | (((new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component)) | null)[], unknown, unknown, "", boolean>;
|
|
334
334
|
size: {
|
|
335
|
-
readonly type: import("vue").PropType<import("vft/es/utils").EpPropMergeType<StringConstructor, "" | "
|
|
335
|
+
readonly type: import("vue").PropType<import("vft/es/utils").EpPropMergeType<StringConstructor, "" | "small" | "default" | "large", unknown>>;
|
|
336
336
|
readonly required: false;
|
|
337
337
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
338
338
|
__epPropKey: true;
|
|
@@ -361,9 +361,9 @@ export declare const VftTimePicker: import("vue").DefineComponent<import("vue").
|
|
|
361
361
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
362
362
|
}>, {
|
|
363
363
|
label: string;
|
|
364
|
+
disabled: import("vft/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
364
365
|
name: import("vft/es/utils").EpPropMergeType<(new (...args: any[]) => string | [string, string]) | (() => import("./common/props").SingleOrRange<string>) | (((new (...args: any[]) => string | [string, string]) | (() => import("./common/props").SingleOrRange<string>)) | null)[], unknown, unknown>;
|
|
365
366
|
type: string;
|
|
366
|
-
disabled: import("vft/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
367
367
|
modelValue: import("vft/es/utils").EpPropMergeType<(new (...args: any[]) => string | number | Date | [import("./common/props").DateModelType, import("./common/props").DateModelType]) | (() => import("./common/props").ModelValueType) | (((new (...args: any[]) => string | number | Date | [import("./common/props").DateModelType, import("./common/props").DateModelType]) | (() => import("./common/props").ModelValueType)) | null)[], unknown, unknown>;
|
|
368
368
|
readonly: import("vft/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
369
369
|
placeholder: string;
|
|
@@ -58,7 +58,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
58
58
|
editable: import("vft/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
59
59
|
prefixIcon: import("vft/es/utils").EpPropFinalized<(new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component) | (((new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component)) | null)[], unknown, unknown, "", boolean>;
|
|
60
60
|
size: {
|
|
61
|
-
readonly type: import("vue").PropType<import("vft/es/utils").EpPropMergeType<StringConstructor, "" | "
|
|
61
|
+
readonly type: import("vue").PropType<import("vft/es/utils").EpPropMergeType<StringConstructor, "" | "small" | "default" | "large", unknown>>;
|
|
62
62
|
readonly required: false;
|
|
63
63
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
64
64
|
__epPropKey: true;
|
|
@@ -143,7 +143,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
143
143
|
editable: import("vft/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
144
144
|
prefixIcon: import("vft/es/utils").EpPropFinalized<(new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component) | (((new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component)) | null)[], unknown, unknown, "", boolean>;
|
|
145
145
|
size: {
|
|
146
|
-
readonly type: import("vue").PropType<import("vft/es/utils").EpPropMergeType<StringConstructor, "" | "
|
|
146
|
+
readonly type: import("vue").PropType<import("vft/es/utils").EpPropMergeType<StringConstructor, "" | "small" | "default" | "large", unknown>>;
|
|
147
147
|
readonly required: false;
|
|
148
148
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
149
149
|
__epPropKey: true;
|
|
@@ -172,9 +172,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
172
172
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
173
173
|
}>, {
|
|
174
174
|
label: string;
|
|
175
|
+
disabled: import("vft/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
175
176
|
name: import("vft/es/utils").EpPropMergeType<(new (...args: any[]) => string | [string, string]) | (() => import("./common/props").SingleOrRange<string>) | (((new (...args: any[]) => string | [string, string]) | (() => import("./common/props").SingleOrRange<string>)) | null)[], unknown, unknown>;
|
|
176
177
|
type: string;
|
|
177
|
-
disabled: import("vft/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
178
178
|
modelValue: import("vft/es/utils").EpPropMergeType<(new (...args: any[]) => string | number | Date | [import("./common/props").DateModelType, import("./common/props").DateModelType]) | (() => import("./common/props").ModelValueType) | (((new (...args: any[]) => string | number | Date | [import("./common/props").DateModelType, import("./common/props").DateModelType]) | (() => import("./common/props").ModelValueType)) | null)[], unknown, unknown>;
|
|
179
179
|
readonly: import("vft/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
180
180
|
placeholder: string;
|
|
@@ -76,9 +76,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
76
76
|
onFocus?: ((...args: any[]) => any) | undefined;
|
|
77
77
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
78
78
|
}>, {
|
|
79
|
+
readonly disabled: boolean;
|
|
79
80
|
readonly start: string;
|
|
80
81
|
readonly end: string;
|
|
81
|
-
readonly disabled: boolean;
|
|
82
82
|
readonly effect: string;
|
|
83
83
|
readonly clearable: import("vft/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
84
84
|
readonly format: string;
|
|
@@ -11,7 +11,7 @@ export declare const VftTimeline: import("vft/es/utils").SFCWithInstall<import("
|
|
|
11
11
|
type: import("vue").PropType<boolean>;
|
|
12
12
|
};
|
|
13
13
|
placement: {
|
|
14
|
-
type: import("vue").PropType<"
|
|
14
|
+
type: import("vue").PropType<"top" | "bottom">;
|
|
15
15
|
};
|
|
16
16
|
type: {
|
|
17
17
|
type: import("vue").PropType<"success" | "primary" | "warning" | "info" | "danger">;
|
|
@@ -46,7 +46,7 @@ export declare const VftTimeline: import("vft/es/utils").SFCWithInstall<import("
|
|
|
46
46
|
type: import("vue").PropType<boolean>;
|
|
47
47
|
};
|
|
48
48
|
placement: {
|
|
49
|
-
type: import("vue").PropType<"
|
|
49
|
+
type: import("vue").PropType<"top" | "bottom">;
|
|
50
50
|
};
|
|
51
51
|
type: {
|
|
52
52
|
type: import("vue").PropType<"success" | "primary" | "warning" | "info" | "danger">;
|
|
@@ -78,7 +78,7 @@ export declare const VftTimeline: import("vft/es/utils").SFCWithInstall<import("
|
|
|
78
78
|
type: import("vue").PropType<boolean>;
|
|
79
79
|
};
|
|
80
80
|
placement: {
|
|
81
|
-
type: import("vue").PropType<"
|
|
81
|
+
type: import("vue").PropType<"top" | "bottom">;
|
|
82
82
|
};
|
|
83
83
|
type: {
|
|
84
84
|
type: import("vue").PropType<"success" | "primary" | "warning" | "info" | "danger">;
|
|
@@ -114,7 +114,7 @@ export declare const VftTimelineItem: import("vft/es/utils").SFCWithInstall<{
|
|
|
114
114
|
type: import("vue").PropType<boolean>;
|
|
115
115
|
};
|
|
116
116
|
placement: {
|
|
117
|
-
type: import("vue").PropType<"
|
|
117
|
+
type: import("vue").PropType<"top" | "bottom">;
|
|
118
118
|
};
|
|
119
119
|
type: {
|
|
120
120
|
type: import("vue").PropType<"success" | "primary" | "warning" | "info" | "danger">;
|
|
@@ -149,7 +149,7 @@ export declare const VftTimelineItem: import("vft/es/utils").SFCWithInstall<{
|
|
|
149
149
|
type: import("vue").PropType<boolean>;
|
|
150
150
|
};
|
|
151
151
|
placement: {
|
|
152
|
-
type: import("vue").PropType<"
|
|
152
|
+
type: import("vue").PropType<"top" | "bottom">;
|
|
153
153
|
};
|
|
154
154
|
type: {
|
|
155
155
|
type: import("vue").PropType<"success" | "primary" | "warning" | "info" | "danger">;
|
|
@@ -181,7 +181,7 @@ export declare const VftTimelineItem: import("vft/es/utils").SFCWithInstall<{
|
|
|
181
181
|
type: import("vue").PropType<boolean>;
|
|
182
182
|
};
|
|
183
183
|
placement: {
|
|
184
|
-
type: import("vue").PropType<"
|
|
184
|
+
type: import("vue").PropType<"top" | "bottom">;
|
|
185
185
|
};
|
|
186
186
|
type: {
|
|
187
187
|
type: import("vue").PropType<"success" | "primary" | "warning" | "info" | "danger">;
|
|
@@ -99,12 +99,15 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
99
99
|
})>;
|
|
100
100
|
VftCheckbox: import("vft/es/utils").SFCWithInstall<{
|
|
101
101
|
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{
|
|
102
|
-
value: {
|
|
103
|
-
type: import("vue").PropType<string | number | boolean | object>;
|
|
104
|
-
};
|
|
105
102
|
label: {
|
|
106
103
|
type: import("vue").PropType<string | number>;
|
|
107
104
|
};
|
|
105
|
+
disabled: {
|
|
106
|
+
type: import("vue").PropType<boolean>;
|
|
107
|
+
};
|
|
108
|
+
value: {
|
|
109
|
+
type: import("vue").PropType<string | number | boolean | object>;
|
|
110
|
+
};
|
|
108
111
|
border: {
|
|
109
112
|
type: import("vue").PropType<boolean>;
|
|
110
113
|
};
|
|
@@ -114,11 +117,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
114
117
|
id: {
|
|
115
118
|
type: import("vue").PropType<string>;
|
|
116
119
|
};
|
|
117
|
-
disabled: {
|
|
118
|
-
type: import("vue").PropType<boolean>;
|
|
119
|
-
};
|
|
120
120
|
size: {
|
|
121
|
-
type: import("vue").PropType<"" | "
|
|
121
|
+
type: import("vue").PropType<"" | "small" | "default" | "large">;
|
|
122
122
|
};
|
|
123
123
|
modelValue: {
|
|
124
124
|
type: import("vue").PropType<string | number | boolean>;
|
|
@@ -161,12 +161,15 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
161
161
|
M: {};
|
|
162
162
|
Defaults: {};
|
|
163
163
|
}, Readonly<import("vue").ExtractPropTypes<{
|
|
164
|
-
value: {
|
|
165
|
-
type: import("vue").PropType<string | number | boolean | object>;
|
|
166
|
-
};
|
|
167
164
|
label: {
|
|
168
165
|
type: import("vue").PropType<string | number>;
|
|
169
166
|
};
|
|
167
|
+
disabled: {
|
|
168
|
+
type: import("vue").PropType<boolean>;
|
|
169
|
+
};
|
|
170
|
+
value: {
|
|
171
|
+
type: import("vue").PropType<string | number | boolean | object>;
|
|
172
|
+
};
|
|
170
173
|
border: {
|
|
171
174
|
type: import("vue").PropType<boolean>;
|
|
172
175
|
};
|
|
@@ -176,11 +179,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
176
179
|
id: {
|
|
177
180
|
type: import("vue").PropType<string>;
|
|
178
181
|
};
|
|
179
|
-
disabled: {
|
|
180
|
-
type: import("vue").PropType<boolean>;
|
|
181
|
-
};
|
|
182
182
|
size: {
|
|
183
|
-
type: import("vue").PropType<"" | "
|
|
183
|
+
type: import("vue").PropType<"" | "small" | "default" | "large">;
|
|
184
184
|
};
|
|
185
185
|
modelValue: {
|
|
186
186
|
type: import("vue").PropType<string | number | boolean>;
|
|
@@ -217,12 +217,15 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
217
217
|
__isTeleport?: never;
|
|
218
218
|
__isSuspense?: never;
|
|
219
219
|
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
220
|
-
value: {
|
|
221
|
-
type: import("vue").PropType<string | number | boolean | object>;
|
|
222
|
-
};
|
|
223
220
|
label: {
|
|
224
221
|
type: import("vue").PropType<string | number>;
|
|
225
222
|
};
|
|
223
|
+
disabled: {
|
|
224
|
+
type: import("vue").PropType<boolean>;
|
|
225
|
+
};
|
|
226
|
+
value: {
|
|
227
|
+
type: import("vue").PropType<string | number | boolean | object>;
|
|
228
|
+
};
|
|
226
229
|
border: {
|
|
227
230
|
type: import("vue").PropType<boolean>;
|
|
228
231
|
};
|
|
@@ -232,11 +235,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
232
235
|
id: {
|
|
233
236
|
type: import("vue").PropType<string>;
|
|
234
237
|
};
|
|
235
|
-
disabled: {
|
|
236
|
-
type: import("vue").PropType<boolean>;
|
|
237
|
-
};
|
|
238
238
|
size: {
|
|
239
|
-
type: import("vue").PropType<"" | "
|
|
239
|
+
type: import("vue").PropType<"" | "small" | "default" | "large">;
|
|
240
240
|
};
|
|
241
241
|
modelValue: {
|
|
242
242
|
type: import("vue").PropType<string | number | boolean>;
|
|
@@ -315,7 +315,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
315
315
|
type: import("vue").PropType<boolean>;
|
|
316
316
|
};
|
|
317
317
|
size: {
|
|
318
|
-
type: import("vue").PropType<"" | "
|
|
318
|
+
type: import("vue").PropType<"" | "small" | "default" | "large">;
|
|
319
319
|
};
|
|
320
320
|
tabindex: {
|
|
321
321
|
type: import("vue").PropType<string | number>;
|
|
@@ -374,7 +374,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
374
374
|
type: import("vue").PropType<boolean>;
|
|
375
375
|
};
|
|
376
376
|
size: {
|
|
377
|
-
type: import("vue").PropType<"" | "
|
|
377
|
+
type: import("vue").PropType<"" | "small" | "default" | "large">;
|
|
378
378
|
};
|
|
379
379
|
tabindex: {
|
|
380
380
|
type: import("vue").PropType<string | number>;
|
|
@@ -427,7 +427,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
427
427
|
type: import("vue").PropType<boolean>;
|
|
428
428
|
};
|
|
429
429
|
size: {
|
|
430
|
-
type: import("vue").PropType<"" | "
|
|
430
|
+
type: import("vue").PropType<"" | "small" | "default" | "large">;
|
|
431
431
|
};
|
|
432
432
|
tabindex: {
|
|
433
433
|
type: import("vue").PropType<string | number>;
|
|
@@ -448,17 +448,17 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
448
448
|
});
|
|
449
449
|
CheckboxGroup: {
|
|
450
450
|
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{
|
|
451
|
-
fill: {
|
|
452
|
-
type: import("vue").PropType<string>;
|
|
453
|
-
};
|
|
454
451
|
label: {
|
|
455
452
|
type: import("vue").PropType<string>;
|
|
456
453
|
};
|
|
457
454
|
disabled: {
|
|
458
455
|
type: import("vue").PropType<boolean>;
|
|
459
456
|
};
|
|
457
|
+
fill: {
|
|
458
|
+
type: import("vue").PropType<string>;
|
|
459
|
+
};
|
|
460
460
|
size: {
|
|
461
|
-
type: import("vue").PropType<"" | "
|
|
461
|
+
type: import("vue").PropType<"" | "small" | "default" | "large">;
|
|
462
462
|
};
|
|
463
463
|
modelValue: {
|
|
464
464
|
type: import("vue").PropType<import("vft/es/components/checkbox").CheckboxGroupValueType>;
|
|
@@ -505,17 +505,17 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
505
505
|
M: {};
|
|
506
506
|
Defaults: {};
|
|
507
507
|
}, Readonly<import("vue").ExtractPropTypes<{
|
|
508
|
-
fill: {
|
|
509
|
-
type: import("vue").PropType<string>;
|
|
510
|
-
};
|
|
511
508
|
label: {
|
|
512
509
|
type: import("vue").PropType<string>;
|
|
513
510
|
};
|
|
514
511
|
disabled: {
|
|
515
512
|
type: import("vue").PropType<boolean>;
|
|
516
513
|
};
|
|
514
|
+
fill: {
|
|
515
|
+
type: import("vue").PropType<string>;
|
|
516
|
+
};
|
|
517
517
|
size: {
|
|
518
|
-
type: import("vue").PropType<"" | "
|
|
518
|
+
type: import("vue").PropType<"" | "small" | "default" | "large">;
|
|
519
519
|
};
|
|
520
520
|
modelValue: {
|
|
521
521
|
type: import("vue").PropType<import("vft/es/components/checkbox").CheckboxGroupValueType>;
|
|
@@ -556,17 +556,17 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
556
556
|
__isTeleport?: never;
|
|
557
557
|
__isSuspense?: never;
|
|
558
558
|
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
559
|
-
fill: {
|
|
560
|
-
type: import("vue").PropType<string>;
|
|
561
|
-
};
|
|
562
559
|
label: {
|
|
563
560
|
type: import("vue").PropType<string>;
|
|
564
561
|
};
|
|
565
562
|
disabled: {
|
|
566
563
|
type: import("vue").PropType<boolean>;
|
|
567
564
|
};
|
|
565
|
+
fill: {
|
|
566
|
+
type: import("vue").PropType<string>;
|
|
567
|
+
};
|
|
568
568
|
size: {
|
|
569
|
-
type: import("vue").PropType<"" | "
|
|
569
|
+
type: import("vue").PropType<"" | "small" | "default" | "large">;
|
|
570
570
|
};
|
|
571
571
|
modelValue: {
|
|
572
572
|
type: import("vue").PropType<import("vft/es/components/checkbox").CheckboxGroupValueType>;
|
|
@@ -3,6 +3,9 @@ export declare const VftUpload: import("vft/es/utils").SFCWithInstall<{
|
|
|
3
3
|
data: {
|
|
4
4
|
type: import("vue").PropType<Record<string, any>>;
|
|
5
5
|
};
|
|
6
|
+
disabled: {
|
|
7
|
+
type: import("vue").PropType<boolean>;
|
|
8
|
+
};
|
|
6
9
|
drag: {
|
|
7
10
|
type: import("vue").PropType<boolean>;
|
|
8
11
|
default: boolean;
|
|
@@ -24,9 +27,6 @@ export declare const VftUpload: import("vft/es/utils").SFCWithInstall<{
|
|
|
24
27
|
type: import("vue").PropType<string>;
|
|
25
28
|
default: string;
|
|
26
29
|
};
|
|
27
|
-
disabled: {
|
|
28
|
-
type: import("vue").PropType<boolean>;
|
|
29
|
-
};
|
|
30
30
|
multiple: {
|
|
31
31
|
type: import("vue").PropType<boolean>;
|
|
32
32
|
default: boolean;
|
|
@@ -120,6 +120,9 @@ export declare const VftUpload: import("vft/es/utils").SFCWithInstall<{
|
|
|
120
120
|
data: {
|
|
121
121
|
type: import("vue").PropType<Record<string, any>>;
|
|
122
122
|
};
|
|
123
|
+
disabled: {
|
|
124
|
+
type: import("vue").PropType<boolean>;
|
|
125
|
+
};
|
|
123
126
|
drag: {
|
|
124
127
|
type: import("vue").PropType<boolean>;
|
|
125
128
|
default: boolean;
|
|
@@ -141,9 +144,6 @@ export declare const VftUpload: import("vft/es/utils").SFCWithInstall<{
|
|
|
141
144
|
type: import("vue").PropType<string>;
|
|
142
145
|
default: string;
|
|
143
146
|
};
|
|
144
|
-
disabled: {
|
|
145
|
-
type: import("vue").PropType<boolean>;
|
|
146
|
-
};
|
|
147
147
|
multiple: {
|
|
148
148
|
type: import("vue").PropType<boolean>;
|
|
149
149
|
default: boolean;
|
|
@@ -234,6 +234,9 @@ export declare const VftUpload: import("vft/es/utils").SFCWithInstall<{
|
|
|
234
234
|
data: {
|
|
235
235
|
type: import("vue").PropType<Record<string, any>>;
|
|
236
236
|
};
|
|
237
|
+
disabled: {
|
|
238
|
+
type: import("vue").PropType<boolean>;
|
|
239
|
+
};
|
|
237
240
|
drag: {
|
|
238
241
|
type: import("vue").PropType<boolean>;
|
|
239
242
|
default: boolean;
|
|
@@ -255,9 +258,6 @@ export declare const VftUpload: import("vft/es/utils").SFCWithInstall<{
|
|
|
255
258
|
type: import("vue").PropType<string>;
|
|
256
259
|
default: string;
|
|
257
260
|
};
|
|
258
|
-
disabled: {
|
|
259
|
-
type: import("vue").PropType<boolean>;
|
|
260
|
-
};
|
|
261
261
|
multiple: {
|
|
262
262
|
type: import("vue").PropType<boolean>;
|
|
263
263
|
default: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require("@vueuse/core");require("@vft/utils");require("../../utils/ns-cover.cjs");require("lodash-es");const v=require("../../utils/vue/vnode.cjs"),t=require("vue"),N=(
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require("@vueuse/core");require("@vft/utils");require("../../utils/ns-cover.cjs");require("lodash-es");const v=require("../../utils/vue/vnode.cjs"),t=require("vue"),N=(c,a,o)=>v.flattedChildren(c.subTree).filter(e=>t.isVNode(e)&&e.type?.name===a&&!!e.component).map(e=>e.component.uid).map(e=>o[e]).filter(e=>!!e),q=(c,a)=>{const o=t.shallowRef({}),i=t.shallowRef([]),s=new WeakMap,e=r=>{o.value[r.uid]=r,t.triggerRef(o),t.onMounted(()=>{const d=r.getVnode().el,n=d.parentNode;if(!s.has(n)){s.set(n,[]);const l=n.insertBefore.bind(n);n.insertBefore=(u,h)=>(s.get(n).some(f=>u===f||h===f)&&t.triggerRef(o),l(u,h))}s.get(n).push(d)})},g=r=>{delete o.value[r.uid],t.triggerRef(o);const d=r.getVnode().el,n=d.parentNode,l=s.get(n),u=l.indexOf(d);l.splice(u,1)},p=()=>{i.value=N(c,a,o.value),console.log(i.value,"---")},C=r=>r.render(),m=t.defineComponent({setup(r,{slots:d}){return()=>(p(),d.default?t.h(C,{render:d.default}):null)}});return{children:i,addChild:e,removeChild:g,ChildrenSorter:m}};exports.useOrderedChildren=q;
|