vft 0.0.398 → 0.0.400
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/component.js +83 -81
- package/es/components/autocomplete/autocomplete.vue.d.ts +2 -2
- package/es/components/autocomplete/index.d.ts +6 -6
- package/es/components/button/index.d.ts +9 -9
- package/es/components/client-only/client-only.vue.d.ts +12 -0
- package/es/components/client-only/client-only.vue.js +4 -0
- package/es/components/client-only/client-only.vue2.js +13 -0
- package/es/components/client-only/index.d.ts +19 -0
- package/es/components/client-only/index.js +13 -0
- package/es/components/client-only/style/css.d.ts +1 -0
- package/es/components/client-only/style/css.js +2 -0
- package/es/components/client-only/style/index.d.ts +1 -0
- package/es/components/client-only/style/index.js +2 -0
- package/es/components/form/form-item.vue.d.ts +1 -1
- package/es/components/form/index.d.ts +30 -30
- package/es/components/index.d.ts +1 -0
- package/es/components/index.js +391 -389
- package/es/components/popconfirm/index.d.ts +15 -15
- package/es/components/popconfirm/popconfirm.vue.d.ts +1 -1
- package/es/components/select/index.d.ts +4 -4
- package/es/components/select/select.vue.d.ts +4 -4
- package/es/components/select/useSelect.d.ts +4 -4
- package/es/components/side-menu/side-menu.vue2.js +87 -88
- package/es/components/skeleton/skeleton.vue.d.ts +0 -1
- package/es/components/skeleton/skeleton.vue2.js +0 -1
- package/es/components/super-form/super-form-item.vue2.js +3 -2
- package/es/components/table/style/css.d.ts +2 -0
- package/es/components/table/style/css.js +2 -0
- package/es/components/table/style/index.d.ts +2 -0
- package/es/components/table/style/index.js +3 -1
- package/es/components/table/table.vue2.js +123 -118
- package/es/index.js +1 -0
- package/es/package.json.d.ts +1 -1
- package/es/package.json.js +1 -1
- package/lib/component.cjs +1 -1
- package/lib/components/autocomplete/autocomplete.vue.d.ts +2 -2
- package/lib/components/autocomplete/index.d.ts +6 -6
- package/lib/components/button/index.d.ts +9 -9
- package/lib/components/client-only/client-only.vue.cjs +1 -0
- package/lib/components/client-only/client-only.vue.d.ts +12 -0
- package/lib/components/client-only/client-only.vue2.cjs +1 -0
- package/lib/components/client-only/index.cjs +1 -0
- package/lib/components/client-only/index.d.ts +19 -0
- package/lib/components/client-only/style/css.cjs +1 -0
- package/lib/components/client-only/style/css.d.ts +1 -0
- package/lib/components/client-only/style/index.cjs +1 -0
- package/lib/components/client-only/style/index.d.ts +1 -0
- package/lib/components/form/form-item.vue.d.ts +1 -1
- package/lib/components/form/index.d.ts +30 -30
- package/lib/components/index.cjs +1 -1
- package/lib/components/index.d.ts +1 -0
- package/lib/components/popconfirm/index.d.ts +15 -15
- package/lib/components/popconfirm/popconfirm.vue.d.ts +1 -1
- package/lib/components/select/index.d.ts +4 -4
- package/lib/components/select/select.vue.d.ts +4 -4
- package/lib/components/select/useSelect.d.ts +4 -4
- package/lib/components/side-menu/side-menu.vue2.cjs +1 -1
- package/lib/components/skeleton/skeleton.vue.d.ts +0 -1
- package/lib/components/super-form/super-form-item.vue2.cjs +1 -1
- package/lib/components/table/style/css.cjs +1 -1
- package/lib/components/table/style/css.d.ts +2 -0
- package/lib/components/table/style/index.cjs +1 -1
- package/lib/components/table/style/index.d.ts +2 -0
- package/lib/components/table/table.vue2.cjs +1 -1
- package/lib/index.cjs +1 -1
- package/lib/package.json.cjs +1 -1
- package/lib/package.json.d.ts +1 -1
- package/package.json +4 -4
- package/theme-style/src/client-only.scss +0 -0
- package/theme-style/src/index.scss +1 -0
- package/theme-style/vft-client-only.css +0 -0
- package/web-types.json +1 -1
|
@@ -1,18 +1,20 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { VftEmpty as
|
|
3
|
-
import { vLoading as
|
|
4
|
-
import { deepMerge as
|
|
5
|
-
import { FormCompEnum as
|
|
1
|
+
import { defineComponent as F, useAttrs as ee, ref as u, getCurrentInstance as ae, computed as R, unref as e, watch as te, nextTick as oe, toRaw as le, createBlock as f, openBlock as m, withCtx as c, createElementVNode as P, normalizeClass as re, createVNode as p, createCommentVNode as D, mergeProps as _, withDirectives as ne, renderSlot as H } from "vue";
|
|
2
|
+
import { VftEmpty as ce } from "../empty/index.js";
|
|
3
|
+
import { vLoading as ie } from "../loading/directive.js";
|
|
4
|
+
import { deepMerge as T, isClient as se, omit as ge, isFunction as de } from "@vft/utils";
|
|
5
|
+
import { FormCompEnum as ue } from "../../utils/form-register.js";
|
|
6
6
|
import "@vueuse/core";
|
|
7
7
|
import "../config-provider/hooks/use-global-config.js";
|
|
8
8
|
import "lodash-es";
|
|
9
|
-
import { useForm as
|
|
10
|
-
import { useNamespace as
|
|
9
|
+
import { useForm as fe } from "../super-form/use/use-form.js";
|
|
10
|
+
import { useNamespace as me } from "../../hooks/use-namespace/index.js";
|
|
11
11
|
import "../../hooks/use-model-toggle/index.js";
|
|
12
12
|
import "@popperjs/core";
|
|
13
13
|
import "../../hooks/use-z-index/index.js";
|
|
14
14
|
import "../icon/index.js";
|
|
15
|
-
import {
|
|
15
|
+
import { VftClientOnly as pe } from "../client-only/index.js";
|
|
16
|
+
import { VftPagination as he } from "../pagination/index.js";
|
|
17
|
+
import { VftSkeleton as be } from "../skeleton/index.js";
|
|
16
18
|
import { VftSuperForm as Ce } from "../super-form/index.js";
|
|
17
19
|
import { VxeGrid as ye } from "vxe-table";
|
|
18
20
|
import we from "xe-utils";
|
|
@@ -24,9 +26,9 @@ import { usePagination as Be } from "./use/use-pagination.js";
|
|
|
24
26
|
import { EmptyEnum as ze } from "../empty/constants.js";
|
|
25
27
|
const Re = {
|
|
26
28
|
"vft-loading-text": "加载中..."
|
|
27
|
-
}, Pe =
|
|
29
|
+
}, Pe = F({
|
|
28
30
|
name: "vft-table"
|
|
29
|
-
}),
|
|
31
|
+
}), ta = /* @__PURE__ */ F({
|
|
30
32
|
...Pe,
|
|
31
33
|
props: {
|
|
32
34
|
sticky: {
|
|
@@ -384,66 +386,66 @@ const Re = {
|
|
|
384
386
|
"zoom"
|
|
385
387
|
],
|
|
386
388
|
setup(De, {
|
|
387
|
-
expose:
|
|
388
|
-
emit:
|
|
389
|
+
expose: A,
|
|
390
|
+
emit: E
|
|
389
391
|
}) {
|
|
390
|
-
const
|
|
391
|
-
getLoading:
|
|
392
|
-
setLoading:
|
|
393
|
-
} = Se(
|
|
394
|
-
getPaginationInfo:
|
|
395
|
-
setPagination:
|
|
396
|
-
getShowPagination:
|
|
397
|
-
getCurrentPage:
|
|
398
|
-
} = Be(
|
|
399
|
-
getViewColumns:
|
|
400
|
-
setColumns:
|
|
401
|
-
} = xe(
|
|
402
|
-
te(() =>
|
|
392
|
+
const s = me("table"), l = E, N = ee(), h = u(), O = u([]), g = u(), V = ae(), o = R(() => T(V.props, e(g))), {
|
|
393
|
+
getLoading: I,
|
|
394
|
+
setLoading: q
|
|
395
|
+
} = Se(o), {
|
|
396
|
+
getPaginationInfo: i,
|
|
397
|
+
setPagination: d,
|
|
398
|
+
getShowPagination: b,
|
|
399
|
+
getCurrentPage: G
|
|
400
|
+
} = Be(o), {
|
|
401
|
+
getViewColumns: K,
|
|
402
|
+
setColumns: L
|
|
403
|
+
} = xe(o);
|
|
404
|
+
te(() => G(), (a) => {
|
|
403
405
|
oe(() => {
|
|
404
|
-
|
|
406
|
+
C({
|
|
405
407
|
seqConfig: {
|
|
406
|
-
startIndex: (a - 1) * (
|
|
408
|
+
startIndex: (a - 1) * (i.value?.pageSize || e(o).pageSize)
|
|
407
409
|
}
|
|
408
410
|
});
|
|
409
411
|
});
|
|
410
412
|
}, {
|
|
411
413
|
immediate: !0
|
|
412
414
|
});
|
|
413
|
-
function
|
|
414
|
-
|
|
415
|
-
...e(
|
|
415
|
+
function C(a) {
|
|
416
|
+
g.value = {
|
|
417
|
+
...e(g),
|
|
416
418
|
...a
|
|
417
419
|
};
|
|
418
420
|
}
|
|
419
421
|
const {
|
|
420
|
-
getDataSourceRef:
|
|
421
|
-
handleTableChange:
|
|
422
|
-
reload:
|
|
423
|
-
deleteTableDataRecord:
|
|
424
|
-
insertTableDataRecord:
|
|
425
|
-
updateTableData:
|
|
426
|
-
updateTableDataRecord:
|
|
427
|
-
setTableData:
|
|
428
|
-
getDataSource:
|
|
429
|
-
getRawDataSource:
|
|
430
|
-
tableSearch:
|
|
431
|
-
} = ke(
|
|
432
|
-
tableData:
|
|
433
|
-
setLoading:
|
|
434
|
-
getPaginationInfo:
|
|
435
|
-
setPagination:
|
|
422
|
+
getDataSourceRef: y,
|
|
423
|
+
handleTableChange: M,
|
|
424
|
+
reload: X,
|
|
425
|
+
deleteTableDataRecord: Y,
|
|
426
|
+
insertTableDataRecord: $,
|
|
427
|
+
updateTableData: j,
|
|
428
|
+
updateTableDataRecord: W,
|
|
429
|
+
setTableData: w,
|
|
430
|
+
getDataSource: U,
|
|
431
|
+
getRawDataSource: v,
|
|
432
|
+
tableSearch: x
|
|
433
|
+
} = ke(o, {
|
|
434
|
+
tableData: O,
|
|
435
|
+
setLoading: q,
|
|
436
|
+
getPaginationInfo: i,
|
|
437
|
+
setPagination: d
|
|
436
438
|
}, l);
|
|
437
|
-
function
|
|
438
|
-
a?.[0]?.pageSize &&
|
|
439
|
+
function k(...a) {
|
|
440
|
+
a?.[0]?.pageSize && d({
|
|
439
441
|
currentPage: 1
|
|
440
|
-
}),
|
|
442
|
+
}), M.call(void 0, ...a), l("change", ...a);
|
|
441
443
|
const {
|
|
442
|
-
onChange:
|
|
443
|
-
} = e(
|
|
444
|
-
|
|
444
|
+
onChange: t
|
|
445
|
+
} = e(o);
|
|
446
|
+
t && de(t) && t.call(void 0, ...a);
|
|
445
447
|
}
|
|
446
|
-
const
|
|
448
|
+
const S = {};
|
|
447
449
|
[
|
|
448
450
|
"update:data",
|
|
449
451
|
"keydown-start",
|
|
@@ -565,50 +567,49 @@ const Re = {
|
|
|
565
567
|
"toolbar-tool-click",
|
|
566
568
|
"zoom"
|
|
567
569
|
].forEach((a) => {
|
|
568
|
-
const
|
|
569
|
-
|
|
570
|
+
const t = we.camelCase(`on-${a}`);
|
|
571
|
+
S[t] = (...n) => l(a, ...n);
|
|
570
572
|
});
|
|
571
|
-
const r =
|
|
572
|
-
const a = e(
|
|
573
|
-
|
|
574
|
-
...
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
columns: le(e(G)),
|
|
578
|
-
loading: e(V),
|
|
573
|
+
const r = R(() => {
|
|
574
|
+
const a = e(y), t = {
|
|
575
|
+
...N,
|
|
576
|
+
...e(o),
|
|
577
|
+
columns: le(e(K)),
|
|
578
|
+
loading: e(I),
|
|
579
579
|
data: a,
|
|
580
|
-
...
|
|
580
|
+
...S
|
|
581
581
|
};
|
|
582
|
-
|
|
583
|
-
|
|
582
|
+
return se && (t.maxHeight = e(o)?.maxHeight ? e(o)?.maxHeight : window.innerHeight - e(o)?.extraSysHeight - (o.value?.showPager ? o.value?.pageHeight : 0) + "px"), t;
|
|
583
|
+
}), B = {
|
|
584
|
+
setPagination: d,
|
|
584
585
|
emit: l,
|
|
585
|
-
setProps:
|
|
586
|
-
reload:
|
|
587
|
-
getShowPagination:
|
|
588
|
-
deleteTableDataRecord:
|
|
589
|
-
insertTableDataRecord:
|
|
590
|
-
updateTableDataRecord:
|
|
591
|
-
updateTableData:
|
|
592
|
-
setTableData:
|
|
593
|
-
getDataSource:
|
|
594
|
-
getDataSourceRef:
|
|
595
|
-
setColumns:
|
|
596
|
-
getRawDataSource:
|
|
597
|
-
tableSearch:
|
|
586
|
+
setProps: C,
|
|
587
|
+
reload: X,
|
|
588
|
+
getShowPagination: b,
|
|
589
|
+
deleteTableDataRecord: Y,
|
|
590
|
+
insertTableDataRecord: $,
|
|
591
|
+
updateTableDataRecord: W,
|
|
592
|
+
updateTableData: j,
|
|
593
|
+
setTableData: w,
|
|
594
|
+
getDataSource: U,
|
|
595
|
+
getDataSourceRef: y,
|
|
596
|
+
setColumns: L,
|
|
597
|
+
getRawDataSource: v,
|
|
598
|
+
tableSearch: x
|
|
598
599
|
};
|
|
599
|
-
l("register",
|
|
600
|
+
l("register", B);
|
|
600
601
|
const Z = {
|
|
601
602
|
field: "_filterTableData",
|
|
602
603
|
label: "",
|
|
603
|
-
type:
|
|
604
|
+
type: ue.SEARCH,
|
|
604
605
|
componentProps: ({}) => ({
|
|
605
606
|
onChange: (a) => {
|
|
606
|
-
|
|
607
|
+
z({
|
|
607
608
|
_filterTableData: a
|
|
608
609
|
});
|
|
609
610
|
}
|
|
610
611
|
})
|
|
611
|
-
}, [J] =
|
|
612
|
+
}, [J] = fe(T({
|
|
612
613
|
schemas: [r.value?.formOptions?.addSearchAllSchema ? Z : {}],
|
|
613
614
|
rowProps: {
|
|
614
615
|
justify: "start"
|
|
@@ -623,48 +624,52 @@ const Re = {
|
|
|
623
624
|
btnText: "搜索"
|
|
624
625
|
},
|
|
625
626
|
actionInline: !0
|
|
626
|
-
},
|
|
627
|
+
}, ge(
|
|
627
628
|
r.value?.formOptions,
|
|
628
629
|
["showActionForm", "addSearchAllSchema"]
|
|
629
630
|
// 'union' | 'intersection' | 'concat' | 'replace' = 'union'
|
|
630
|
-
), "replace")),
|
|
631
|
-
Reflect.has(a, "_filterTableData") &&
|
|
631
|
+
), "replace")), z = (a) => {
|
|
632
|
+
Reflect.has(a, "_filterTableData") && x(a._filterTableData), l("form-submit", a);
|
|
632
633
|
}, Q = () => {
|
|
633
|
-
|
|
634
|
+
w(v()), l("form-reset");
|
|
634
635
|
};
|
|
635
|
-
return
|
|
636
|
-
table:
|
|
637
|
-
...
|
|
638
|
-
}), (a,
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
636
|
+
return A({
|
|
637
|
+
table: h,
|
|
638
|
+
...B
|
|
639
|
+
}), (a, t) => (m(), f(e(pe), null, {
|
|
640
|
+
fallback: c(() => [p(e(be))]),
|
|
641
|
+
default: c(() => [P("div", {
|
|
642
|
+
class: re(e(s).b())
|
|
643
|
+
}, [p(e(ye), _({
|
|
644
|
+
ref_key: "xGrid",
|
|
645
|
+
ref: h
|
|
646
|
+
}, r.value), {
|
|
647
|
+
toolbarButtons: c(() => [H(a.$slots, "toolbar-left"), r.value?.formOptions?.showActionForm ? (m(), f(e(Ce), {
|
|
648
|
+
key: 0,
|
|
649
|
+
onRegister: e(J),
|
|
650
|
+
onSubmit: z,
|
|
651
|
+
onReset: Q
|
|
652
|
+
}, null, 8, ["onRegister"])) : D("", !0), H(a.$slots, "toolbar-right")]),
|
|
653
|
+
empty: c(() => [p(e(ce), {
|
|
654
|
+
type: e(ze).NO_DATA
|
|
655
|
+
}, null, 8, ["type"])]),
|
|
656
|
+
loading: c(() => [ne(P("div", Re, null, 512), [[e(ie), r.value.loading]])]),
|
|
657
|
+
_: 3
|
|
658
|
+
}, 16), r.value.showPager && e(b) ? (m(), f(e(he), _({
|
|
659
|
+
key: 0
|
|
660
|
+
}, e(i), {
|
|
661
|
+
class: [e(s).e("pager"), e(s).m("pager-" + e(i).pagePlacement)],
|
|
662
|
+
onCurrentChange: t[0] || (t[0] = (n) => k({
|
|
663
|
+
currentPage: n
|
|
664
|
+
})),
|
|
665
|
+
onSizeChange: t[1] || (t[1] = (n) => k({
|
|
666
|
+
pageSize: n
|
|
667
|
+
}))
|
|
668
|
+
}), null, 16, ["class"])) : D("", !0)], 2)]),
|
|
654
669
|
_: 3
|
|
655
|
-
}
|
|
656
|
-
key: 0
|
|
657
|
-
}, e(c), {
|
|
658
|
-
class: [e(i).e("pager"), e(i).m("pager-" + e(c).pagePlacement)],
|
|
659
|
-
onCurrentChange: o[0] || (o[0] = (n) => x({
|
|
660
|
-
currentPage: n
|
|
661
|
-
})),
|
|
662
|
-
onSizeChange: o[1] || (o[1] = (n) => x({
|
|
663
|
-
pageSize: n
|
|
664
|
-
}))
|
|
665
|
-
}), null, 16, ["class"])) : P("", !0)], 2));
|
|
670
|
+
}));
|
|
666
671
|
}
|
|
667
672
|
});
|
|
668
673
|
export {
|
|
669
|
-
|
|
674
|
+
ta as default
|
|
670
675
|
};
|
package/es/index.js
CHANGED
|
@@ -10,6 +10,7 @@ export { VftCascaderPanel } from "./components/cascader-panel/index.js";
|
|
|
10
10
|
export { VftCheckTag } from "./components/check-tag/index.js";
|
|
11
11
|
export { VftCheckbox, VftCheckboxButton, VftCheckboxGroup } from "./components/checkbox/index.js";
|
|
12
12
|
export { VftClamp } from "./components/clamp/index.js";
|
|
13
|
+
export { VftClientOnly } from "./components/client-only/index.js";
|
|
13
14
|
export { VftClampToggle } from "./components/clamp-toggle/index.js";
|
|
14
15
|
export { VftClampTooltip } from "./components/clamp-tooltip/index.js";
|
|
15
16
|
export { VftCol } from "./components/col/index.js";
|
package/es/package.json.d.ts
CHANGED
package/es/package.json.js
CHANGED
package/lib/component.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const a=require("./components/alert/index.cjs"),l=require("./components/autocomplete/index.cjs"),p=require("./components/avatar/index.cjs"),m=require("./components/avatar-stack/index.cjs"),C=require("./components/backtop/index.cjs"),o=require("./components/button/index.cjs"),T=require("./components/card/index.cjs"),S=require("./components/check-tag/index.cjs"),g=require("./components/transfer/index.cjs"),I=require("./components/segmented/index.cjs"),r=require("./components/checkbox/index.cjs"),M=require("./components/clamp/index.cjs"),b=require("./components/clamp-toggle/index.cjs"),P=require("./components/clamp-tooltip/index.cjs"),k=require("./components/col/index.cjs"),D=require("./components/collapse-transition/index.cjs"),w=require("./components/color-picker/index.cjs"),
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const a=require("./components/alert/index.cjs"),l=require("./components/autocomplete/index.cjs"),p=require("./components/avatar/index.cjs"),m=require("./components/avatar-stack/index.cjs"),C=require("./components/backtop/index.cjs"),o=require("./components/button/index.cjs"),T=require("./components/card/index.cjs"),S=require("./components/check-tag/index.cjs"),g=require("./components/transfer/index.cjs"),I=require("./components/segmented/index.cjs"),r=require("./components/checkbox/index.cjs"),M=require("./components/clamp/index.cjs"),b=require("./components/clamp-toggle/index.cjs"),P=require("./components/clamp-tooltip/index.cjs"),k=require("./components/col/index.cjs"),D=require("./components/collapse-transition/index.cjs"),w=require("./components/color-picker/index.cjs"),y=require("./components/config-provider/index.cjs"),e=require("./components/container/index.cjs"),v=require("./components/date-picker/index.cjs"),h=require("./components/watermark/index.cjs"),B=require("./components/date-time-select/index.cjs"),u=require("./components/descriptions/index.cjs"),F=require("./components/dialog/index.cjs"),L=require("./components/divider/index.cjs"),R=require("./components/drawer/index.cjs"),n=require("./components/dropdown/index.cjs"),A=require("./components/empty/index.cjs"),G=require("./components/footer-layout/index.cjs"),d=require("./components/form/index.cjs"),H=require("./components/full-screen/index.cjs"),O=require("./components/header-layout/index.cjs"),j=require("./components/horizontal-menu/index.cjs"),W=require("./components/icon/index.cjs"),_=require("./components/icon-text/index.cjs"),z=require("./components/iframe-layout/index.cjs"),E=require("./components/image/index.cjs"),N=require("./components/image-viewer/index.cjs"),Q=require("./components/input/index.cjs"),U=require("./components/input-number/index.cjs"),J=require("./components/link/index.cjs"),K=require("./components/list-cell/index.cjs"),X=require("./components/logo/index.cjs"),Y=require("./components/md-code-demo/index.cjs"),Z=require("./components/md-code-tabs/index.cjs"),s=require("./components/carousel/index.cjs"),c=require("./components/steps/index.cjs"),f=require("./components/timeline/index.cjs"),ee=require("./components/client-only/index.cjs"),V=require("./components/breadcrumb/index.cjs"),x=require("./components/collapse/index.cjs"),te=require("./components/statistic/index.cjs"),re=require("./components/countdown/index.cjs"),ne=require("./components/input-tag/index.cjs"),ie=require("./components/cascader/index.cjs"),oe=require("./components/cascader-panel/index.cjs"),ue=require("./components/md-comment/index.cjs"),de=require("./components/md-container/index.cjs"),se=require("./components/md-tabs/index.cjs"),ce=require("./components/md-vue-playground/index.cjs"),t=require("./components/menu/index.cjs"),fe=require("./components/modal/index.cjs"),Ve=require("./components/multiple-tabs/index.cjs"),xe=require("./components/overlay/index.cjs"),qe=require("./components/page-wrapper/index.cjs"),$e=require("./components/pagination/index.cjs"),ae=require("./components/popconfirm/index.cjs"),le=require("./components/popover/index.cjs"),pe=require("./components/popper/index.cjs"),me=require("./components/progress/index.cjs"),Ce=require("./components/qrcode/index.cjs"),i=require("./components/radio/index.cjs"),Te=require("./components/result/index.cjs"),Se=require("./components/router-view-content/index.cjs"),ge=require("./components/row/index.cjs"),Ie=require("./components/scrollbar/index.cjs"),Me=require("./components/search/index.cjs"),be=require("./components/select/index.cjs"),Pe=require("./components/side-menu/index.cjs"),q=require("./components/skeleton/index.cjs"),ke=require("./components/slider/index.cjs"),De=require("./components/space/index.cjs"),we=require("./components/switch/index.cjs"),ye=require("./components/table/index.cjs"),$=require("./components/tabs/index.cjs"),ve=require("./components/tag/index.cjs"),he=require("./components/time-picker/index.cjs"),Be=require("./components/tooltip/index.cjs"),Fe=require("./components/tree/index.cjs"),Le=require("./components/upload/index.cjs"),Re=require("./components/verify-code/index.cjs"),Ae=require("./components/super-form/index.cjs"),Ge=require("./components/progress-i/index.cjs"),He=[Ge.VftProgressI,s.VftCarousel,s.VftCarouselItem,Le.VftUpload,me.VftProgress,U.VftInputNumber,l.VftAutocomplete,ke.VftSlider,fe.VftModal,R.VftDrawer,a.VftAlert,be.VftSelect,ae.VftPopconfirm,T.VftCard,De.VftSpace,q.VftSkeleton,q.VftSkeletonItem,Fe.VftTree,S.VftCheckTag,de.VftMdContainer,Z.VftMdCodeTabs,Y.VftMdCodeDemo,ce.VftMdVuePlayground,se.VftMdTabs,v.VftDatePicker,ue.VftMdComment,e.VftAside,e.VftContainer,e.VftFooter,e.VftHeader,e.VftMain,j.VftHorizontalMenu,k.VftCol,he.VftTimePicker,ge.VftRow,F.VftDialog,B.VftDateTimeSelect,K.VftListCell,N.VftImageViewer,ye.VftTable,Re.VftVerifyCode,n.VftDropdownItem,n.VftDropdownMenu,n.VftDropdown,Ie.VftScrollbar,w.VftColorPicker,we.VftSwitch,i.VftRadioButton,i.VftRadio,i.VftRadioGroup,r.VftCheckboxGroup,r.VftCheckbox,r.VftCheckboxButton,o.VftButton,o.VftButtonGroup,d.VftForm,d.VftFormItem,Me.VftSearch,qe.VftPageWrapper,M.VftClamp,b.VftClampToggle,P.VftClampTooltip,Ce.VftQrcode,xe.VftOverlay,ve.VftTag,Pe.VftSideMenu,$e.VftPagination,J.VftLink,Q.VftInput,E.VftImage,_.VftIconText,H.VftFullScreen,u.VftDescriptions,u.VftDescriptionsItem,y.VftConfigProvider,C.VftBacktop,Se.VftRouterViewContent,z.VftIframeLayout,G.VftFooterLayout,O.VftHeaderLayout,X.VftLogo,Ve.VftMultipleTabs,t.VftMenu,t.VftMenuItem,t.VftMenuItemGroup,t.VftSubMenu,D.VftCollapseTransition,L.VftDivider,W.VftIcon,p.VftAvatar,m.VftAvatarStack,A.VftEmpty,Te.VftResult,$.VftTabs,$.VftTabPane,Be.VftTooltip,le.VftPopover,pe.VftPopper,f.VftTimeline,f.VftTimelineItem,c.VftStep,c.VftSteps,V.VftBreadcrumb,V.VftBreadcrumbItem,x.VftCollapse,x.VftCollapseItem,te.VftStatistic,re.VftCountdown,ne.VftInputTag,ie.VftCascader,oe.VftCascaderPanel,h.VftWatermark,g.VftTransfer,I.VftSegmented,Ae.VftSuperForm,ee.VftClientOnly];exports.default=He;
|
|
@@ -62,9 +62,9 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
62
62
|
readonly strategy?: "fixed" | "absolute" | undefined;
|
|
63
63
|
readonly effect?: "light" | "dark" | undefined;
|
|
64
64
|
readonly trigger?: import("vft/es/components/tooltip").TooltipTriggerType | undefined;
|
|
65
|
-
readonly visible?: boolean | undefined;
|
|
66
65
|
readonly teleported?: boolean | undefined;
|
|
67
66
|
readonly open?: boolean | undefined;
|
|
67
|
+
readonly visible?: boolean | undefined;
|
|
68
68
|
readonly arrowOffset?: number | undefined;
|
|
69
69
|
readonly gpuAcceleration?: boolean | undefined;
|
|
70
70
|
readonly fallbackPlacements?: import("@popperjs/core").Placement[] | undefined;
|
|
@@ -480,9 +480,9 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
480
480
|
readonly strategy?: "fixed" | "absolute" | undefined;
|
|
481
481
|
readonly effect?: "light" | "dark" | undefined;
|
|
482
482
|
readonly trigger?: import("vft/es/components/tooltip").TooltipTriggerType | undefined;
|
|
483
|
-
readonly visible?: boolean | undefined;
|
|
484
483
|
readonly teleported?: boolean | undefined;
|
|
485
484
|
readonly open?: boolean | undefined;
|
|
485
|
+
readonly visible?: boolean | undefined;
|
|
486
486
|
readonly arrowOffset?: number | undefined;
|
|
487
487
|
readonly gpuAcceleration?: boolean | undefined;
|
|
488
488
|
readonly fallbackPlacements?: import("@popperjs/core").Placement[] | undefined;
|
|
@@ -86,9 +86,9 @@ export declare const VftAutocomplete: import("vft/es/utils").SFCWithInstall<{
|
|
|
86
86
|
readonly strategy?: "fixed" | "absolute" | undefined;
|
|
87
87
|
readonly effect?: "light" | "dark" | undefined;
|
|
88
88
|
readonly trigger?: import("vft/es/vft").TooltipTriggerType | undefined;
|
|
89
|
-
readonly visible?: boolean | undefined;
|
|
90
89
|
readonly teleported?: boolean | undefined;
|
|
91
90
|
readonly open?: boolean | undefined;
|
|
91
|
+
readonly visible?: boolean | undefined;
|
|
92
92
|
readonly arrowOffset?: number | undefined;
|
|
93
93
|
readonly gpuAcceleration?: boolean | undefined;
|
|
94
94
|
readonly fallbackPlacements?: import("@popperjs/core").Placement[] | undefined;
|
|
@@ -504,9 +504,9 @@ export declare const VftAutocomplete: import("vft/es/utils").SFCWithInstall<{
|
|
|
504
504
|
readonly strategy?: "fixed" | "absolute" | undefined;
|
|
505
505
|
readonly effect?: "light" | "dark" | undefined;
|
|
506
506
|
readonly trigger?: import("vft/es/vft").TooltipTriggerType | undefined;
|
|
507
|
-
readonly visible?: boolean | undefined;
|
|
508
507
|
readonly teleported?: boolean | undefined;
|
|
509
508
|
readonly open?: boolean | undefined;
|
|
509
|
+
readonly visible?: boolean | undefined;
|
|
510
510
|
readonly arrowOffset?: number | undefined;
|
|
511
511
|
readonly gpuAcceleration?: boolean | undefined;
|
|
512
512
|
readonly fallbackPlacements?: import("@popperjs/core").Placement[] | undefined;
|
|
@@ -1007,9 +1007,9 @@ export declare const VftAutocomplete: import("vft/es/utils").SFCWithInstall<{
|
|
|
1007
1007
|
readonly strategy?: "fixed" | "absolute" | undefined;
|
|
1008
1008
|
readonly effect?: "light" | "dark" | undefined;
|
|
1009
1009
|
readonly trigger?: import("vft/es/vft").TooltipTriggerType | undefined;
|
|
1010
|
-
readonly visible?: boolean | undefined;
|
|
1011
1010
|
readonly teleported?: boolean | undefined;
|
|
1012
1011
|
readonly open?: boolean | undefined;
|
|
1012
|
+
readonly visible?: boolean | undefined;
|
|
1013
1013
|
readonly arrowOffset?: number | undefined;
|
|
1014
1014
|
readonly gpuAcceleration?: boolean | undefined;
|
|
1015
1015
|
readonly fallbackPlacements?: import("@popperjs/core").Placement[] | undefined;
|
|
@@ -1425,9 +1425,9 @@ export declare const VftAutocomplete: import("vft/es/utils").SFCWithInstall<{
|
|
|
1425
1425
|
readonly strategy?: "fixed" | "absolute" | undefined;
|
|
1426
1426
|
readonly effect?: "light" | "dark" | undefined;
|
|
1427
1427
|
readonly trigger?: import("vft/es/vft").TooltipTriggerType | undefined;
|
|
1428
|
-
readonly visible?: boolean | undefined;
|
|
1429
1428
|
readonly teleported?: boolean | undefined;
|
|
1430
1429
|
readonly open?: boolean | undefined;
|
|
1430
|
+
readonly visible?: boolean | undefined;
|
|
1431
1431
|
readonly arrowOffset?: number | undefined;
|
|
1432
1432
|
readonly gpuAcceleration?: boolean | undefined;
|
|
1433
1433
|
readonly fallbackPlacements?: import("@popperjs/core").Placement[] | undefined;
|
|
@@ -1917,9 +1917,9 @@ export declare const VftAutocomplete: import("vft/es/utils").SFCWithInstall<{
|
|
|
1917
1917
|
readonly strategy?: "fixed" | "absolute" | undefined;
|
|
1918
1918
|
readonly effect?: "light" | "dark" | undefined;
|
|
1919
1919
|
readonly trigger?: import("vft/es/vft").TooltipTriggerType | undefined;
|
|
1920
|
-
readonly visible?: boolean | undefined;
|
|
1921
1920
|
readonly teleported?: boolean | undefined;
|
|
1922
1921
|
readonly open?: boolean | undefined;
|
|
1922
|
+
readonly visible?: boolean | undefined;
|
|
1923
1923
|
readonly arrowOffset?: number | undefined;
|
|
1924
1924
|
readonly gpuAcceleration?: boolean | undefined;
|
|
1925
1925
|
readonly fallbackPlacements?: import("@popperjs/core").Placement[] | undefined;
|
|
@@ -2335,9 +2335,9 @@ export declare const VftAutocomplete: import("vft/es/utils").SFCWithInstall<{
|
|
|
2335
2335
|
readonly strategy?: "fixed" | "absolute" | undefined;
|
|
2336
2336
|
readonly effect?: "light" | "dark" | undefined;
|
|
2337
2337
|
readonly trigger?: import("vft/es/vft").TooltipTriggerType | undefined;
|
|
2338
|
-
readonly visible?: boolean | undefined;
|
|
2339
2338
|
readonly teleported?: boolean | undefined;
|
|
2340
2339
|
readonly open?: boolean | undefined;
|
|
2340
|
+
readonly visible?: boolean | undefined;
|
|
2341
2341
|
readonly arrowOffset?: number | undefined;
|
|
2342
2342
|
readonly gpuAcceleration?: boolean | undefined;
|
|
2343
2343
|
readonly fallbackPlacements?: import("@popperjs/core").Placement[] | 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
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./client-only.vue2.cjs");exports.default=e.default;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
declare function __VLS_template(): {
|
|
2
|
+
default?(_: {}): any;
|
|
3
|
+
fallback?(_: {}): any;
|
|
4
|
+
};
|
|
5
|
+
declare const __VLS_component: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
6
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
7
|
+
export default _default;
|
|
8
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
9
|
+
new (): {
|
|
10
|
+
$slots: S;
|
|
11
|
+
};
|
|
12
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),o=e.defineComponent({__name:"client-only",setup(l){const t=e.ref(!1);return e.onMounted(()=>{t.value=!0}),(n,r)=>t.value?e.renderSlot(n.$slots,"default",{key:0}):e.renderSlot(n.$slots,"fallback",{key:1})}});exports.default=o;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});require("@vueuse/core");require("@vft/utils");require("../config-provider/hooks/use-global-config.cjs");require("vue");const t=require("../../utils/vue/install.cjs");require("lodash-es");require("../form/index.cjs");const r=require("./client-only.vue2.cjs"),e=t.withInstall(r.default);exports.VftClientOnly=e;exports.default=e;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export declare const VftClientOnly: import("vft/es/utils").SFCWithInstall<{
|
|
2
|
+
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {}, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
3
|
+
P: {};
|
|
4
|
+
B: {};
|
|
5
|
+
D: {};
|
|
6
|
+
C: {};
|
|
7
|
+
M: {};
|
|
8
|
+
Defaults: {};
|
|
9
|
+
}, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, {}>;
|
|
10
|
+
__isFragment?: never;
|
|
11
|
+
__isTeleport?: never;
|
|
12
|
+
__isSuspense?: never;
|
|
13
|
+
} & import("vue").ComponentOptionsBase<Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
14
|
+
$slots: {
|
|
15
|
+
default?(_: {}): any;
|
|
16
|
+
fallback?(_: {}): any;
|
|
17
|
+
};
|
|
18
|
+
})> & Record<string, any>;
|
|
19
|
+
export default VftClientOnly;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";require("vft/theme-style/base.css");require("vft/theme-style/vft-client-only.css");
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import 'vft/theme-style/vft-client-only.css';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";require("vft/theme-style/src/base.scss");require("vft/theme-style/src/client-only.scss");
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import 'vft/theme-style/src/client-only.scss';
|
|
@@ -32,10 +32,10 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
32
32
|
}>>> & Readonly<{
|
|
33
33
|
"onUpdate:error"?: ((val: string) => any) | undefined;
|
|
34
34
|
}>, {
|
|
35
|
-
required: boolean;
|
|
36
35
|
labelWidth: string | number;
|
|
37
36
|
inlineMessage: string | boolean;
|
|
38
37
|
showMessage: boolean;
|
|
38
|
+
required: boolean;
|
|
39
39
|
hideLabel: boolean;
|
|
40
40
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
41
41
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|