vft 0.0.522 → 0.0.524
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/affix/affix.vue2.js +2 -2
- package/es/components/alert/alert.vue2.js +1 -1
- package/es/components/autocomplete/autocomplete.vue.d.ts +2 -2
- package/es/components/autocomplete/autocomplete.vue2.js +1 -1
- package/es/components/autocomplete/index.d.ts +6 -6
- package/es/components/avatar/avatar.vue2.js +2 -2
- package/es/components/avatar-stack/avatar-stack.vue2.js +7 -7
- package/es/components/backtop/backtop.vue2.js +1 -1
- package/es/components/breadcrumb/breadcrumb-item.vue2.js +3 -3
- package/es/components/breadcrumb/breadcrumb.vue2.js +2 -2
- package/es/components/button/button-group.vue2.js +2 -2
- package/es/components/button/button.vue2.js +7 -7
- package/es/components/button/index.d.ts +9 -9
- package/es/components/button/use-button.js +3 -3
- package/es/components/card/card.vue2.js +6 -6
- package/es/components/carousel/carousel-item.vue2.js +3 -3
- package/es/components/carousel/carousel.vue2.js +1 -1
- package/es/components/carousel/use-carousel.js +1 -1
- package/es/components/cascader/cascader.vue2.js +1 -1
- package/es/components/cascader-panel/index.vue2.js +1 -1
- package/es/components/cascader-panel/menu.vue2.js +5 -5
- package/es/components/cascader-panel/node.vue2.js +8 -8
- package/es/components/check-tag/check-tag.vue2.js +2 -2
- package/es/components/checkbox/checkbox-button.vue2.js +13 -13
- package/es/components/checkbox/checkbox-group.vue2.js +3 -3
- package/es/components/checkbox/checkbox.vue2.js +1 -1
- package/es/components/clamp/clamp.vue2.js +2 -2
- package/es/components/clamp-toggle/clamp-toggle.vue2.js +3 -3
- package/es/components/clamp-tooltip/clamp-tooltip.vue2.js +6 -6
- package/es/components/col/col.vue2.js +2 -2
- package/es/components/collapse/collapse-item.vue2.js +2 -2
- package/es/components/collapse/collapse.vue2.js +2 -2
- package/es/components/collapse-transition/collapse-transition.vue2.js +2 -2
- package/es/components/color-picker/color-picker.vue2.js +1 -1
- package/es/components/color-picker/components/alpha-slider.vue2.js +2 -2
- package/es/components/color-picker/components/hue-slider.vue.js +2 -2
- package/es/components/color-picker/components/predefine.vue.js +3 -3
- package/es/components/color-picker/components/sv-panel.vue.js +2 -2
- package/es/components/config-provider/config-provider.vue2.js +2 -2
- package/es/components/config-provider/hooks/use-global-config.js +4 -4
- package/es/components/container/aside.vue2.js +2 -2
- package/es/components/container/container.vue2.js +2 -2
- package/es/components/container/footer.vue2.js +2 -2
- package/es/components/container/header.vue2.js +2 -2
- package/es/components/container/main.vue2.js +2 -2
- package/es/components/context-menu/context-menu.vue2.js +1 -1
- package/es/components/countdown/countdown.vue2.js +2 -2
- package/es/components/date-picker/date-picker-com/basic-date-table.vue2.js +6 -6
- package/es/components/date-picker/date-picker-com/basic-month-table.vue2.js +4 -4
- package/es/components/date-picker/date-picker-com/basic-year-table.vue2.js +4 -4
- package/es/components/date-picker/date-picker-com/panel-date-pick.vue2.js +1 -1
- package/es/components/date-picker/date-picker-com/panel-date-range.vue2.js +2 -2
- package/es/components/date-picker/date-picker-com/panel-month-range.vue2.js +12 -12
- package/es/components/date-picker/date-picker-com/panel-year-range.vue2.js +12 -12
- package/es/components/date-picker/props/basic-date-table.js +3 -3
- package/es/components/date-picker/props/basic-month-table.js +3 -3
- package/es/components/date-picker/props/basic-year-table.js +3 -3
- package/es/components/descriptions/description.vue2.js +1 -1
- package/es/components/descriptions/descriptions-row.vue2.js +10 -10
- package/es/components/dialog/dialog-content.vue2.js +3 -3
- package/es/components/dialog/dialog.vue2.js +5 -5
- package/es/components/divider/divider.vue2.js +5 -5
- package/es/components/drawer/drawer.vue2.js +4 -4
- package/es/components/dropdown/dropdown-item-impl.vue2.js +3 -3
- package/es/components/dropdown/dropdown-item.vue2.js +2 -2
- package/es/components/dropdown/dropdown-menu.vue2.js +2 -2
- package/es/components/dropdown/dropdown.vue2.js +4 -4
- package/es/components/empty/empty.vue2.js +5 -5
- package/es/components/footer-layout/footer-layout.vue2.js +2 -2
- package/es/components/form/form-item.vue2.js +16 -16
- package/es/components/form/form.vue2.js +2 -2
- package/es/components/full-screen/full-screen.vue2.js +2 -2
- package/es/components/header-layout/header-layout.vue2.js +1 -1
- package/es/components/horizontal-menu/horizontal-menu.vue2.js +3 -3
- package/es/components/icon/icon.vue2.js +3 -3
- package/es/components/icon-text/icon-text.vue2.js +1 -1
- package/es/components/iframe-layout/iframe-layout.vue2.js +4 -4
- package/es/components/iframe-layout/iframe-page.vue2.js +2 -2
- package/es/components/image/image.vue2.js +1 -1
- package/es/components/image-viewer/image-viewer.vue2.js +6 -6
- package/es/components/index.js +181 -181
- package/es/components/input/input.vue2.js +2 -2
- package/es/components/input-number/input-number.vue2.js +4 -4
- package/es/components/input-tag/composables/use-input-tag.js +1 -1
- package/es/components/input-tag/input-tag.vue2.js +7 -7
- package/es/components/link/link.vue2.js +1 -1
- package/es/components/list-cell/list-cell.vue2.js +1 -1
- package/es/components/logo/index.d.ts +6 -0
- package/es/components/logo/logo.vue2.js +23 -22
- package/es/components/logo/types.d.ts +2 -0
- package/es/components/md-container/md-container.vue2.js +5 -5
- package/es/components/menu/menu-collapse-transition.vue.js +2 -2
- package/es/components/menu/menu-item-group.vue2.js +7 -7
- package/es/components/menu/menu-item.vue2.js +1 -1
- package/es/components/message/message.vue2.js +3 -3
- package/es/components/message-box/message-box.vue2.js +1 -1
- package/es/components/modal/modal-footer-action.vue2.js +10 -10
- package/es/components/modal/modal.vue2.js +3 -3
- package/es/components/multiple-tabs/multiple-tabs.vue2.js +1 -1
- package/es/components/multiple-tabs/tab-content.vue2.js +2 -2
- package/es/components/notification/notification.vue2.js +1 -1
- package/es/components/overlay/overlay.vue2.js +1 -1
- package/es/components/page-wrapper/page-wrapper.vue2.js +2 -2
- package/es/components/pagination/components/jumper.vue2.js +2 -2
- package/es/components/pagination/components/next.vue2.js +4 -4
- package/es/components/pagination/components/pager.vue2.js +1 -1
- package/es/components/pagination/components/prev.vue2.js +4 -4
- package/es/components/pagination/components/sizes.vue2.js +2 -2
- package/es/components/pagination/components/total.vue2.js +2 -2
- package/es/components/popconfirm/index.d.ts +15 -15
- package/es/components/popconfirm/popconfirm.vue.d.ts +1 -1
- package/es/components/popconfirm/popconfirm.vue2.js +3 -3
- package/es/components/popover/popover.vue2.js +9 -9
- package/es/components/popper/arrow.vue2.js +2 -2
- package/es/components/popper/content.vue2.js +2 -2
- package/es/components/popper/trigger.vue2.js +4 -4
- package/es/components/progress/progress.vue2.js +1 -1
- package/es/components/progress-i/progress-i.vue2.js +2 -2
- package/es/components/qrcode/qrcode.vue2.js +1 -1
- package/es/components/radio/radio-button.vue2.js +2 -2
- package/es/components/radio/radio-group.vue2.js +3 -3
- package/es/components/radio/radio.vue2.js +2 -2
- package/es/components/rate/rate.vue2.js +6 -6
- package/es/components/router-view-content/router-view-content.vue2.js +7 -7
- package/es/components/roving-focus-group/roving-focus-group.vue2.js +2 -2
- package/es/components/roving-focus-group/roving-focus-item.vue2.js +2 -2
- package/es/components/row/row.vue2.js +2 -2
- package/es/components/scrollbar/bar.vue2.js +2 -2
- package/es/components/scrollbar/scrollbar.vue2.js +7 -7
- package/es/components/scrollbar/thumb.vue2.js +2 -2
- package/es/components/search/search.vue2.js +48 -44
- package/es/components/segmented/segmented.vue2.js +7 -7
- package/es/components/select/group-item.vue.js +2 -2
- package/es/components/select/index.d.ts +4 -4
- package/es/components/select/option-item.vue.js +2 -2
- package/es/components/select/select.vue.d.ts +4 -4
- package/es/components/select/select.vue.js +1 -1
- package/es/components/select/useSelect.d.ts +4 -4
- package/es/components/skeleton/skeleton-item.vue2.js +2 -2
- package/es/components/skeleton/skeleton.vue2.js +8 -8
- package/es/components/slider/button.vue2.js +2 -2
- package/es/components/slider/slider.vue2.js +1 -1
- package/es/components/space/space.js +1 -1
- package/es/components/statistic/statistic.vue2.js +17 -17
- package/es/components/steps/item.vue2.js +11 -11
- package/es/components/steps/steps.vue2.js +2 -2
- package/es/components/super-form/super-form-action.vue2.js +11 -11
- package/es/components/super-form/super-form.vue2.js +7 -7
- package/es/components/switch/switch.vue2.js +1 -1
- package/es/components/table/table.vue2.js +4 -4
- package/es/components/tabs/tab-bar.vue2.js +2 -2
- package/es/components/tabs/tab-pane.vue2.js +6 -6
- package/es/components/teleport/teleport.vue2.js +2 -2
- package/es/components/time-picker/common/picker-range-trigger.vue2.js +2 -2
- package/es/components/time-picker/common/picker.vue2.js +8 -8
- package/es/components/time-picker/time-picker-com/basic-time-spinner.vue2.js +1 -1
- package/es/components/time-picker/time-picker-com/panel-time-pick.vue2.js +3 -3
- package/es/components/time-picker/time-picker-com/panel-time-range.vue2.js +3 -3
- package/es/components/time-select/time-select.vue2.js +3 -3
- package/es/components/timeline/timeline-item.vue2.js +1 -1
- package/es/components/tooltip/content.vue2.js +6 -6
- package/es/components/tooltip/tooltip.vue2.js +1 -1
- package/es/components/tooltip/trigger.vue2.js +2 -2
- package/es/components/transfer/transfer-panel.vue2.js +7 -7
- package/es/components/transfer/transfer.vue2.js +4 -4
- package/es/components/tree/tree-node.vue.js +1 -1
- package/es/components/tree/tree.vue2.js +6 -6
- package/es/components/upload/index.d.ts +2 -2
- package/es/components/upload/upload-content.vue2.js +7 -7
- package/es/components/upload/upload-dragger.vue2.js +2 -2
- package/es/components/upload/upload-list.vue2.js +1 -1
- package/es/components/upload/upload.vue.d.ts +2 -2
- package/es/components/upload/upload.vue2.js +22 -22
- package/es/components/verify-code/verify-code.vue2.js +2 -2
- package/es/components/watermark/watermark.vue2.js +2 -2
- package/es/hooks/use-id/index.js +2 -2
- package/es/hooks/use-z-index/index.js +3 -3
- package/es/index.js +39 -39
- package/es/package.json.d.ts +1 -1
- package/es/package.json.js +1 -1
- package/es/plugin.js +7 -7
- package/es/utils/helper.js +2 -2
- package/es/utils/ns-cover.js +1 -1
- package/es/utils/vue/vnode.js +4 -4
- 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/button/use-button.cjs +1 -1
- package/lib/components/date-picker/date-picker-com/panel-date-range.vue2.cjs +1 -1
- package/lib/components/index.cjs +1 -1
- package/lib/components/logo/index.d.ts +6 -0
- package/lib/components/logo/logo.vue2.cjs +1 -1
- package/lib/components/logo/types.d.ts +2 -0
- package/lib/components/popconfirm/index.d.ts +15 -15
- package/lib/components/popconfirm/popconfirm.vue.d.ts +1 -1
- package/lib/components/popover/popover.vue2.cjs +1 -1
- package/lib/components/search/search.vue2.cjs +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/upload/index.d.ts +2 -2
- package/lib/components/upload/upload.vue.d.ts +2 -2
- package/lib/components/upload/upload.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/lib/plugin.cjs +1 -1
- package/package.json +4 -4
- package/theme-style/index.css +1 -1
- package/theme-style/src/md/table.scss +1 -4
- package/theme-style/vft-md-container.css +1 -1
- package/web-types.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as _, ref as A, reactive as B, computed as c, watch as E,
|
|
1
|
+
import { defineComponent as _, ref as A, reactive as B, computed as c, watch as E, createElementBlock as b, createCommentVNode as R, openBlock as h, unref as a, normalizeClass as r, createElementVNode as d, normalizeStyle as q, Fragment as H, renderList as W, renderSlot as j, createTextVNode as G, toDisplayString as M } from "vue";
|
|
2
2
|
import { useActiveElement as U, useResizeObserver as J } from "@vueuse/core";
|
|
3
3
|
import { isObject as g } from "@vft/utils";
|
|
4
4
|
import { debugWarn as K } from "../../utils/error.js";
|
|
@@ -75,7 +75,7 @@ const ce = ["id", "aria-label", "aria-labelledby"], de = ["name", "disabled", "c
|
|
|
75
75
|
{
|
|
76
76
|
flush: "post"
|
|
77
77
|
}
|
|
78
|
-
), (e, o) => e.options.length ? (
|
|
78
|
+
), (e, o) => e.options.length ? (h(), b("div", {
|
|
79
79
|
key: 0,
|
|
80
80
|
id: a(F),
|
|
81
81
|
ref_key: "segmentedRef",
|
|
@@ -89,10 +89,10 @@ const ce = ["id", "aria-label", "aria-labelledby"], de = ["name", "disabled", "c
|
|
|
89
89
|
class: r([a(l).e("group"), a(l).m(s.direction)])
|
|
90
90
|
}, [
|
|
91
91
|
d("div", {
|
|
92
|
-
style:
|
|
92
|
+
style: q(Y.value),
|
|
93
93
|
class: r(x.value)
|
|
94
94
|
}, null, 6),
|
|
95
|
-
(
|
|
95
|
+
(h(!0), b(H, null, W(e.options, (n, P) => (h(), b("label", {
|
|
96
96
|
key: P,
|
|
97
97
|
class: r(T(n))
|
|
98
98
|
}, [
|
|
@@ -107,13 +107,13 @@ const ce = ["id", "aria-label", "aria-labelledby"], de = ["name", "disabled", "c
|
|
|
107
107
|
d("div", {
|
|
108
108
|
class: r(a(l).e("item-label"))
|
|
109
109
|
}, [
|
|
110
|
-
|
|
111
|
-
|
|
110
|
+
j(e.$slots, "default", { item: n }, () => [
|
|
111
|
+
G(M(z(n)), 1)
|
|
112
112
|
])
|
|
113
113
|
], 2)
|
|
114
114
|
], 2))), 128))
|
|
115
115
|
], 2)
|
|
116
|
-
], 10, ce)) :
|
|
116
|
+
], 10, ce)) : R("", !0);
|
|
117
117
|
}
|
|
118
118
|
});
|
|
119
119
|
export {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import t from "./group-item.vue2.js";
|
|
2
|
-
import {
|
|
2
|
+
import { createElementBlock as o, openBlock as r, normalizeStyle as i, normalizeClass as l, toDisplayString as s } from "vue";
|
|
3
3
|
import n from "../../_virtual/_plugin-vue_export-helper.js";
|
|
4
4
|
function p(e, a, m, c, f, u) {
|
|
5
|
-
return
|
|
5
|
+
return r(), o("div", {
|
|
6
6
|
class: l(e.ns.be("group", "title")),
|
|
7
7
|
style: i({ ...e.style, lineHeight: `${e.height}px` })
|
|
8
8
|
}, s(e.item.label), 7);
|
|
@@ -263,9 +263,9 @@ export declare const VftSelect: SFCWithInstall<import("vue").DefineComponent<imp
|
|
|
263
263
|
readonly placement?: import("@popperjs/core").Placement | undefined;
|
|
264
264
|
readonly strategy?: "fixed" | "absolute" | undefined;
|
|
265
265
|
readonly effect?: "light" | "dark" | undefined;
|
|
266
|
+
readonly visible?: boolean | null | undefined;
|
|
266
267
|
readonly teleported?: boolean | undefined;
|
|
267
268
|
readonly open?: boolean | undefined;
|
|
268
|
-
readonly visible?: boolean | null | undefined;
|
|
269
269
|
readonly trigger?: import("vft/es/vft").TooltipTriggerType | undefined;
|
|
270
270
|
readonly arrowOffset?: number | undefined;
|
|
271
271
|
readonly gpuAcceleration?: boolean | undefined;
|
|
@@ -681,9 +681,9 @@ export declare const VftSelect: SFCWithInstall<import("vue").DefineComponent<imp
|
|
|
681
681
|
readonly placement?: import("@popperjs/core").Placement | undefined;
|
|
682
682
|
readonly strategy?: "fixed" | "absolute" | undefined;
|
|
683
683
|
readonly effect?: "light" | "dark" | undefined;
|
|
684
|
+
readonly visible?: boolean | null | undefined;
|
|
684
685
|
readonly teleported?: boolean | undefined;
|
|
685
686
|
readonly open?: boolean | undefined;
|
|
686
|
-
readonly visible?: boolean | null | undefined;
|
|
687
687
|
readonly trigger?: import("vft/es/vft").TooltipTriggerType | undefined;
|
|
688
688
|
readonly arrowOffset?: number | undefined;
|
|
689
689
|
readonly gpuAcceleration?: boolean | undefined;
|
|
@@ -1100,9 +1100,9 @@ export declare const VftSelect: SFCWithInstall<import("vue").DefineComponent<imp
|
|
|
1100
1100
|
readonly placement?: import("@popperjs/core").Placement | undefined;
|
|
1101
1101
|
readonly strategy?: "fixed" | "absolute" | undefined;
|
|
1102
1102
|
readonly effect?: "light" | "dark" | undefined;
|
|
1103
|
+
readonly visible?: boolean | null | undefined;
|
|
1103
1104
|
readonly teleported?: boolean | undefined;
|
|
1104
1105
|
readonly open?: boolean | undefined;
|
|
1105
|
-
readonly visible?: boolean | null | undefined;
|
|
1106
1106
|
readonly trigger?: import("vft/es/vft").TooltipTriggerType | undefined;
|
|
1107
1107
|
readonly arrowOffset?: number | undefined;
|
|
1108
1108
|
readonly gpuAcceleration?: boolean | undefined;
|
|
@@ -1518,9 +1518,9 @@ export declare const VftSelect: SFCWithInstall<import("vue").DefineComponent<imp
|
|
|
1518
1518
|
readonly placement?: import("@popperjs/core").Placement | undefined;
|
|
1519
1519
|
readonly strategy?: "fixed" | "absolute" | undefined;
|
|
1520
1520
|
readonly effect?: "light" | "dark" | undefined;
|
|
1521
|
+
readonly visible?: boolean | null | undefined;
|
|
1521
1522
|
readonly teleported?: boolean | undefined;
|
|
1522
1523
|
readonly open?: boolean | undefined;
|
|
1523
|
-
readonly visible?: boolean | null | undefined;
|
|
1524
1524
|
readonly trigger?: import("vft/es/vft").TooltipTriggerType | undefined;
|
|
1525
1525
|
readonly arrowOffset?: number | undefined;
|
|
1526
1526
|
readonly gpuAcceleration?: boolean | undefined;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import o from "./option-item.vue2.js";
|
|
2
|
-
import {
|
|
2
|
+
import { createElementBlock as l, openBlock as n, withModifiers as r, normalizeClass as d, normalizeStyle as t, renderSlot as a, createElementVNode as m, toDisplayString as p } from "vue";
|
|
3
3
|
import f from "../../_virtual/_plugin-vue_export-helper.js";
|
|
4
4
|
const u = ["aria-selected"];
|
|
5
5
|
function b(e, s, k, v, $, g) {
|
|
6
|
-
return
|
|
6
|
+
return n(), l("li", {
|
|
7
7
|
"aria-selected": e.selected,
|
|
8
8
|
style: t(e.style),
|
|
9
9
|
class: d([
|
|
@@ -259,9 +259,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
259
259
|
readonly placement?: import("@popperjs/core").Placement | undefined;
|
|
260
260
|
readonly strategy?: "fixed" | "absolute" | undefined;
|
|
261
261
|
readonly effect?: "light" | "dark" | undefined;
|
|
262
|
+
readonly visible?: boolean | null | undefined;
|
|
262
263
|
readonly teleported?: boolean | undefined;
|
|
263
264
|
readonly open?: boolean | undefined;
|
|
264
|
-
readonly visible?: boolean | null | undefined;
|
|
265
265
|
readonly trigger?: import("vft/es/components/tooltip").TooltipTriggerType | undefined;
|
|
266
266
|
readonly arrowOffset?: number | undefined;
|
|
267
267
|
readonly gpuAcceleration?: boolean | undefined;
|
|
@@ -677,9 +677,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
677
677
|
readonly placement?: import("@popperjs/core").Placement | undefined;
|
|
678
678
|
readonly strategy?: "fixed" | "absolute" | undefined;
|
|
679
679
|
readonly effect?: "light" | "dark" | undefined;
|
|
680
|
+
readonly visible?: boolean | null | undefined;
|
|
680
681
|
readonly teleported?: boolean | undefined;
|
|
681
682
|
readonly open?: boolean | undefined;
|
|
682
|
-
readonly visible?: boolean | null | undefined;
|
|
683
683
|
readonly trigger?: import("vft/es/components/tooltip").TooltipTriggerType | undefined;
|
|
684
684
|
readonly arrowOffset?: number | undefined;
|
|
685
685
|
readonly gpuAcceleration?: boolean | undefined;
|
|
@@ -1096,9 +1096,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1096
1096
|
readonly placement?: import("@popperjs/core").Placement | undefined;
|
|
1097
1097
|
readonly strategy?: "fixed" | "absolute" | undefined;
|
|
1098
1098
|
readonly effect?: "light" | "dark" | undefined;
|
|
1099
|
+
readonly visible?: boolean | null | undefined;
|
|
1099
1100
|
readonly teleported?: boolean | undefined;
|
|
1100
1101
|
readonly open?: boolean | undefined;
|
|
1101
|
-
readonly visible?: boolean | null | undefined;
|
|
1102
1102
|
readonly trigger?: import("vft/es/components/tooltip").TooltipTriggerType | undefined;
|
|
1103
1103
|
readonly arrowOffset?: number | undefined;
|
|
1104
1104
|
readonly gpuAcceleration?: boolean | undefined;
|
|
@@ -1514,9 +1514,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1514
1514
|
readonly placement?: import("@popperjs/core").Placement | undefined;
|
|
1515
1515
|
readonly strategy?: "fixed" | "absolute" | undefined;
|
|
1516
1516
|
readonly effect?: "light" | "dark" | undefined;
|
|
1517
|
+
readonly visible?: boolean | null | undefined;
|
|
1517
1518
|
readonly teleported?: boolean | undefined;
|
|
1518
1519
|
readonly open?: boolean | undefined;
|
|
1519
|
-
readonly visible?: boolean | null | undefined;
|
|
1520
1520
|
readonly trigger?: import("vft/es/components/tooltip").TooltipTriggerType | undefined;
|
|
1521
1521
|
readonly arrowOffset?: number | undefined;
|
|
1522
1522
|
readonly gpuAcceleration?: boolean | undefined;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import I from "./select.vue2.js";
|
|
2
|
-
import { resolveComponent as m, resolveDirective as R, withDirectives as w,
|
|
2
|
+
import { resolveComponent as m, resolveDirective as R, withDirectives as w, createElementBlock as p, openBlock as a, normalizeClass as o, createVNode as u, withCtx as t, createSlots as M, renderSlot as i, normalizeProps as D, guardReactiveProps as E, createElementVNode as n, toDisplayString as f, withModifiers as r, createCommentVNode as d, createBlock as b, Fragment as h, renderList as $, normalizeStyle as k, createTextVNode as T, withKeys as g, vModelText as B, vShow as K } from "vue";
|
|
3
3
|
import L from "../../_virtual/_plugin-vue_export-helper.js";
|
|
4
4
|
const P = ["id", "autocomplete", "tabindex", "aria-expanded", "aria-label", "disabled", "readonly", "name"], N = ["textContent"], O = { key: 1 };
|
|
5
5
|
function H(e, s, U, A, F, j) {
|
|
@@ -103,9 +103,9 @@ declare const useSelect: (props: SelectV2Props, emit: any) => {
|
|
|
103
103
|
readonly placement?: import("@popperjs/core").Placement | undefined;
|
|
104
104
|
readonly strategy?: "fixed" | "absolute" | undefined;
|
|
105
105
|
readonly effect?: "light" | "dark" | undefined;
|
|
106
|
+
readonly visible?: boolean | null | undefined;
|
|
106
107
|
readonly teleported?: boolean | undefined;
|
|
107
108
|
readonly open?: boolean | undefined;
|
|
108
|
-
readonly visible?: boolean | null | undefined;
|
|
109
109
|
readonly trigger?: import("vft/es/components/tooltip").TooltipTriggerType | undefined;
|
|
110
110
|
readonly arrowOffset?: number | undefined;
|
|
111
111
|
readonly gpuAcceleration?: boolean | undefined;
|
|
@@ -521,9 +521,9 @@ declare const useSelect: (props: SelectV2Props, emit: any) => {
|
|
|
521
521
|
readonly placement?: import("@popperjs/core").Placement | undefined;
|
|
522
522
|
readonly strategy?: "fixed" | "absolute" | undefined;
|
|
523
523
|
readonly effect?: "light" | "dark" | undefined;
|
|
524
|
+
readonly visible?: boolean | null | undefined;
|
|
524
525
|
readonly teleported?: boolean | undefined;
|
|
525
526
|
readonly open?: boolean | undefined;
|
|
526
|
-
readonly visible?: boolean | null | undefined;
|
|
527
527
|
readonly trigger?: import("vft/es/components/tooltip").TooltipTriggerType | undefined;
|
|
528
528
|
readonly arrowOffset?: number | undefined;
|
|
529
529
|
readonly gpuAcceleration?: boolean | undefined;
|
|
@@ -940,9 +940,9 @@ declare const useSelect: (props: SelectV2Props, emit: any) => {
|
|
|
940
940
|
readonly placement?: import("@popperjs/core").Placement | undefined;
|
|
941
941
|
readonly strategy?: "fixed" | "absolute" | undefined;
|
|
942
942
|
readonly effect?: "light" | "dark" | undefined;
|
|
943
|
+
readonly visible?: boolean | null | undefined;
|
|
943
944
|
readonly teleported?: boolean | undefined;
|
|
944
945
|
readonly open?: boolean | undefined;
|
|
945
|
-
readonly visible?: boolean | null | undefined;
|
|
946
946
|
readonly trigger?: import("vft/es/components/tooltip").TooltipTriggerType | undefined;
|
|
947
947
|
readonly arrowOffset?: number | undefined;
|
|
948
948
|
readonly gpuAcceleration?: boolean | undefined;
|
|
@@ -1358,9 +1358,9 @@ declare const useSelect: (props: SelectV2Props, emit: any) => {
|
|
|
1358
1358
|
readonly placement?: import("@popperjs/core").Placement | undefined;
|
|
1359
1359
|
readonly strategy?: "fixed" | "absolute" | undefined;
|
|
1360
1360
|
readonly effect?: "light" | "dark" | undefined;
|
|
1361
|
+
readonly visible?: boolean | null | undefined;
|
|
1361
1362
|
readonly teleported?: boolean | undefined;
|
|
1362
1363
|
readonly open?: boolean | undefined;
|
|
1363
|
-
readonly visible?: boolean | null | undefined;
|
|
1364
1364
|
readonly trigger?: import("vft/es/components/tooltip").TooltipTriggerType | undefined;
|
|
1365
1365
|
readonly arrowOffset?: number | undefined;
|
|
1366
1366
|
readonly gpuAcceleration?: boolean | undefined;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as n, computed as m,
|
|
1
|
+
import { defineComponent as n, computed as m, createElementBlock as c, openBlock as r, normalizeClass as a, unref as t, createBlock as l, createCommentVNode as p, normalizeProps as s, mergeProps as f } from "vue";
|
|
2
2
|
import { VftIcon as u } from "../icon/index.js";
|
|
3
3
|
import "@vueuse/core";
|
|
4
4
|
import { singleAttrToObj as d } from "@vft/utils";
|
|
@@ -27,7 +27,7 @@ const g = n({
|
|
|
27
27
|
return (v, _) => (r(), c("div", {
|
|
28
28
|
class: a([t(o).e("item"), t(o).e(e.variant)])
|
|
29
29
|
}, [
|
|
30
|
-
e.variant === "image" ? (r(), l(t(u),
|
|
30
|
+
e.variant === "image" ? (r(), l(t(u), s(f({ key: 0 }, i.value)), null, 16)) : p("", !0)
|
|
31
31
|
], 2));
|
|
32
32
|
}
|
|
33
33
|
});
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as k, computed as y,
|
|
1
|
+
import { defineComponent as k, computed as y, createElementBlock as n, renderSlot as u, unref as t, openBlock as o, mergeProps as d, Fragment as l, renderList as c, createCommentVNode as h, createVNode as B, normalizeClass as f, createBlock as $, normalizeProps as v } from "vue";
|
|
2
2
|
import "@vueuse/core";
|
|
3
3
|
import "@vft/utils";
|
|
4
4
|
import "../config-provider/hooks/use-global-config.js";
|
|
@@ -28,17 +28,17 @@ const N = k({
|
|
|
28
28
|
);
|
|
29
29
|
return g({
|
|
30
30
|
uiLoading: s
|
|
31
|
-
}), (a, z) => t(s) ? (o(), n("div",
|
|
31
|
+
}), (a, z) => t(s) ? (o(), n("div", d({
|
|
32
32
|
key: 0,
|
|
33
33
|
class: [t(r).b(), t(r).is("animated", e.animated)]
|
|
34
34
|
}, a.$attrs), [
|
|
35
|
-
(o(!0), n(l, null,
|
|
36
|
-
e.loading ?
|
|
37
|
-
|
|
35
|
+
(o(!0), n(l, null, c(e.count, (m) => (o(), n(l, { key: m }, [
|
|
36
|
+
e.loading ? u(a.$slots, "template", { key: m }, () => [
|
|
37
|
+
B(p, {
|
|
38
38
|
class: f(t(r).is("first")),
|
|
39
39
|
variant: "p"
|
|
40
40
|
}, null, 8, ["class"]),
|
|
41
|
-
(o(!0), n(l, null,
|
|
41
|
+
(o(!0), n(l, null, c(e.rows, (i) => (o(), $(p, {
|
|
42
42
|
key: i,
|
|
43
43
|
class: f([
|
|
44
44
|
t(r).e("paragraph"),
|
|
@@ -46,9 +46,9 @@ const N = k({
|
|
|
46
46
|
]),
|
|
47
47
|
variant: "p"
|
|
48
48
|
}, null, 8, ["class"]))), 128))
|
|
49
|
-
]) :
|
|
49
|
+
]) : h("", !0)
|
|
50
50
|
], 64))), 128))
|
|
51
|
-
], 16)) :
|
|
51
|
+
], 16)) : u(a.$slots, "default", v(d({ key: 1 }, a.$attrs)));
|
|
52
52
|
}
|
|
53
53
|
});
|
|
54
54
|
export {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as b, reactive as N, getCurrentInstance as S, toRefs as T,
|
|
1
|
+
import { defineComponent as b, reactive as N, getCurrentInstance as S, toRefs as T, createElementBlock as P, openBlock as z, unref as t, normalizeStyle as K, normalizeClass as d, createVNode as L, withCtx as f, createElementVNode as g, toDisplayString as X } from "vue";
|
|
2
2
|
import { isNumber as Y } from "@vft/utils";
|
|
3
3
|
import { VftTooltip as A } from "../tooltip/index.js";
|
|
4
4
|
import { UPDATE_MODEL_EVENT as F } from "../../constants/event.js";
|
|
@@ -56,7 +56,7 @@ const R = ["tabindex"], U = b({
|
|
|
56
56
|
setPosition: M,
|
|
57
57
|
hovering: a,
|
|
58
58
|
dragging: p
|
|
59
|
-
}), (j, e) => (
|
|
59
|
+
}), (j, e) => (z(), P("div", {
|
|
60
60
|
ref_key: "button",
|
|
61
61
|
ref: B,
|
|
62
62
|
class: d([t(m).e("button-wrapper"), { hover: t(a), dragging: t(p) }]),
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as $, reactive as oe, getCurrentInstance as ie, computed as d, toRefs as D, provide as re,
|
|
1
|
+
import { defineComponent as $, reactive as oe, getCurrentInstance as ie, computed as d, toRefs as D, provide as re, createElementBlock as r, openBlock as o, unref as e, normalizeClass as u, createElementVNode as V, createBlock as I, createCommentVNode as S, normalizeStyle as p, createVNode as ne, Fragment as k, renderList as B } from "vue";
|
|
2
2
|
import "../form/index.js";
|
|
3
3
|
import { VftInputNumber as ue } from "../input-number/index.js";
|
|
4
4
|
import "@vueuse/core";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { isNumber as m,
|
|
1
|
+
import { isNumber as m, isString as P, isArray as p } from "@vft/utils";
|
|
2
2
|
import { componentSizes as T } from "../../constants/size.js";
|
|
3
3
|
import "@vueuse/core";
|
|
4
4
|
import "../config-provider/hooks/use-global-config.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as v, computed as k,
|
|
1
|
+
import { defineComponent as v, computed as k, createElementBlock as o, openBlock as l, normalizeClass as s, unref as r, createCommentVNode as f, createElementVNode as a, renderSlot as c, createTextVNode as V, toDisplayString as n, normalizeStyle as b } from "vue";
|
|
2
2
|
import "@vueuse/core";
|
|
3
3
|
import { isFunction as B, isNumber as C } from "@vft/utils";
|
|
4
4
|
import "../config-provider/hooks/use-global-config.js";
|
|
@@ -27,40 +27,40 @@ const z = v({
|
|
|
27
27
|
* @description current display value
|
|
28
28
|
*/
|
|
29
29
|
displayValue: d
|
|
30
|
-
}), (e, p) => (
|
|
30
|
+
}), (e, p) => (l(), o("div", {
|
|
31
31
|
class: s(r(t).b())
|
|
32
32
|
}, [
|
|
33
|
-
e.$slots.title || e.title ? (
|
|
33
|
+
e.$slots.title || e.title ? (l(), o("div", {
|
|
34
34
|
key: 0,
|
|
35
35
|
class: s(r(t).e("head"))
|
|
36
36
|
}, [
|
|
37
|
-
|
|
38
|
-
V(
|
|
37
|
+
c(e.$slots, "title", {}, () => [
|
|
38
|
+
V(n(e.title), 1)
|
|
39
39
|
])
|
|
40
|
-
], 2)) :
|
|
41
|
-
|
|
40
|
+
], 2)) : f("", !0),
|
|
41
|
+
a("div", {
|
|
42
42
|
class: s(r(t).e("content"))
|
|
43
43
|
}, [
|
|
44
|
-
e.$slots.prefix || e.prefix ? (
|
|
44
|
+
e.$slots.prefix || e.prefix ? (l(), o("div", {
|
|
45
45
|
key: 0,
|
|
46
46
|
class: s(r(t).e("prefix"))
|
|
47
47
|
}, [
|
|
48
|
-
|
|
49
|
-
|
|
48
|
+
c(e.$slots, "prefix", {}, () => [
|
|
49
|
+
a("span", null, n(e.prefix), 1)
|
|
50
50
|
])
|
|
51
|
-
], 2)) :
|
|
52
|
-
|
|
51
|
+
], 2)) : f("", !0),
|
|
52
|
+
a("span", {
|
|
53
53
|
class: s(r(t).e("number")),
|
|
54
54
|
style: b(e.valueStyle)
|
|
55
|
-
},
|
|
56
|
-
e.$slots.suffix || e.suffix ? (
|
|
55
|
+
}, n(d.value), 7),
|
|
56
|
+
e.$slots.suffix || e.suffix ? (l(), o("div", {
|
|
57
57
|
key: 1,
|
|
58
58
|
class: s(r(t).e("suffix"))
|
|
59
59
|
}, [
|
|
60
|
-
|
|
61
|
-
|
|
60
|
+
c(e.$slots, "suffix", {}, () => [
|
|
61
|
+
a("span", null, n(e.suffix), 1)
|
|
62
62
|
])
|
|
63
|
-
], 2)) :
|
|
63
|
+
], 2)) : f("", !0)
|
|
64
64
|
], 2)
|
|
65
65
|
], 2));
|
|
66
66
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as K, ref as N, inject as Y, getCurrentInstance as q, onMounted as x, watch as F, computed as n, reactive as G, onBeforeUnmount as H,
|
|
1
|
+
import { defineComponent as K, ref as N, inject as Y, getCurrentInstance as q, onMounted as x, watch as F, computed as n, reactive as G, onBeforeUnmount as H, createElementBlock as a, openBlock as i, normalizeClass as l, normalizeStyle as D, createCommentVNode as y, createElementVNode as m, unref as t, renderSlot as p, createTextVNode as $, toDisplayString as k, createBlock as V, mergeProps as Q } from "vue";
|
|
2
2
|
import { VftIcon as I } from "../icon/index.js";
|
|
3
3
|
import "@vueuse/core";
|
|
4
4
|
import { singleAttrToObj as R, isNumber as X } from "@vft/utils";
|
|
@@ -89,25 +89,25 @@ const ee = K({
|
|
|
89
89
|
class: l([t(e).e("title"), t(e).is(r.value)])
|
|
90
90
|
}, [
|
|
91
91
|
p(s.$slots, "title", {}, () => [
|
|
92
|
-
$(
|
|
92
|
+
$(k(v.title), 1)
|
|
93
93
|
])
|
|
94
94
|
], 2),
|
|
95
95
|
u.value ? (i(), a("div", {
|
|
96
96
|
key: 0,
|
|
97
97
|
class: l(t(e).e("arrow"))
|
|
98
|
-
}, null, 2)) :
|
|
98
|
+
}, null, 2)) : y("", !0),
|
|
99
99
|
m("div", {
|
|
100
100
|
class: l([t(e).e("description"), t(e).is(r.value)])
|
|
101
101
|
}, [
|
|
102
102
|
p(s.$slots, "description", {}, () => [
|
|
103
|
-
$(
|
|
103
|
+
$(k(v.description), 1)
|
|
104
104
|
])
|
|
105
105
|
], 2)
|
|
106
|
-
], 2)) :
|
|
106
|
+
], 2)) : y("", !0),
|
|
107
107
|
m("div", {
|
|
108
108
|
class: l([t(e).e("head"), t(e).is(r.value)])
|
|
109
109
|
}, [
|
|
110
|
-
u.value ?
|
|
110
|
+
u.value ? y("", !0) : (i(), a("div", {
|
|
111
111
|
key: 0,
|
|
112
112
|
class: l(t(e).e("line"))
|
|
113
113
|
}, [
|
|
@@ -130,10 +130,10 @@ const ee = K({
|
|
|
130
130
|
key: 2,
|
|
131
131
|
class: l([t(e).e("icon-inner"), t(e).is("status")]),
|
|
132
132
|
icon: "icon-close"
|
|
133
|
-
}, null, 8, ["class"])) : u.value ?
|
|
133
|
+
}, null, 8, ["class"])) : u.value ? y("", !0) : (i(), a("div", {
|
|
134
134
|
key: 3,
|
|
135
135
|
class: l(t(e).e("icon-inner"))
|
|
136
|
-
},
|
|
136
|
+
}, k(c.value + 1), 3))
|
|
137
137
|
])
|
|
138
138
|
], 2)
|
|
139
139
|
], 2),
|
|
@@ -142,7 +142,7 @@ const ee = K({
|
|
|
142
142
|
class: l(t(e).e("bottom-slot"))
|
|
143
143
|
}, [
|
|
144
144
|
p(s.$slots, "bottom")
|
|
145
|
-
], 2)) : C.value ?
|
|
145
|
+
], 2)) : C.value ? y("", !0) : (i(), a("div", {
|
|
146
146
|
key: 3,
|
|
147
147
|
class: l(t(e).e("main"))
|
|
148
148
|
}, [
|
|
@@ -150,7 +150,7 @@ const ee = K({
|
|
|
150
150
|
class: l([t(e).e("title"), t(e).is(r.value)])
|
|
151
151
|
}, [
|
|
152
152
|
p(s.$slots, "title", {}, () => [
|
|
153
|
-
$(
|
|
153
|
+
$(k(v.title), 1)
|
|
154
154
|
])
|
|
155
155
|
], 2),
|
|
156
156
|
u.value ? (i(), a("div", {
|
|
@@ -161,7 +161,7 @@ const ee = K({
|
|
|
161
161
|
class: l([t(e).e("description"), t(e).is(r.value)])
|
|
162
162
|
}, [
|
|
163
163
|
p(s.$slots, "description", {}, () => [
|
|
164
|
-
$(
|
|
164
|
+
$(k(v.description), 1)
|
|
165
165
|
])
|
|
166
166
|
], 2))
|
|
167
167
|
], 2))
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as m, getCurrentInstance as u, watch as a, provide as h,
|
|
1
|
+
import { defineComponent as m, getCurrentInstance as u, watch as a, provide as h, createElementBlock as S, openBlock as C, normalizeClass as v, unref as i, renderSlot as E, createVNode as N } from "vue";
|
|
2
2
|
import { CHANGE_EVENT as _ } from "../../constants/event.js";
|
|
3
3
|
import "@vueuse/core";
|
|
4
4
|
import "@vft/utils";
|
|
@@ -42,7 +42,7 @@ const T = m({
|
|
|
42
42
|
(e, t) => {
|
|
43
43
|
l(_, e, t);
|
|
44
44
|
}
|
|
45
|
-
), (e, t) => (
|
|
45
|
+
), (e, t) => (C(), S("div", {
|
|
46
46
|
class: v([i(n).b(), i(n).m(o.simple ? "simple" : o.direction)])
|
|
47
47
|
}, [
|
|
48
48
|
E(e.$slots, "default"),
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as g, computed as i,
|
|
1
|
+
import { defineComponent as g, computed as i, createBlock as l, createCommentVNode as c, openBlock as r, unref as o, normalizeProps as x, mergeProps as p, withCtx as u, createVNode as R, normalizeClass as T, renderSlot as b, createTextVNode as B, toDisplayString as f } from "vue";
|
|
2
2
|
import { VftButton as v } from "../button/index.js";
|
|
3
3
|
import { VftFormItem as N } from "../form/index.js";
|
|
4
4
|
import { VftRow as V } from "../row/index.js";
|
|
@@ -44,13 +44,13 @@ const M = /* @__PURE__ */ g({
|
|
|
44
44
|
), s = i(
|
|
45
45
|
() => y(t.submitResetReverse)
|
|
46
46
|
);
|
|
47
|
-
return (e, A) => t.showCommonButton || n.value.show || s.value.show ? (
|
|
47
|
+
return (e, A) => t.showCommonButton || n.value.show || s.value.show ? (r(), l(o(V), x(p({ key: 0 }, k.value)), {
|
|
48
48
|
default: u(() => [
|
|
49
49
|
R(o(N), {
|
|
50
50
|
class: T([{ "submit-block": w.value.block }, o(m).b()])
|
|
51
51
|
}, {
|
|
52
52
|
default: u(() => [
|
|
53
|
-
t.showCommonButton && !a.value.isBehind ? (
|
|
53
|
+
t.showCommonButton && !a.value.isBehind ? (r(), l(o(v), p({ key: 0 }, a.value, {
|
|
54
54
|
class: o(m).e("common"),
|
|
55
55
|
onClick: o(C)
|
|
56
56
|
}), {
|
|
@@ -58,9 +58,9 @@ const M = /* @__PURE__ */ g({
|
|
|
58
58
|
B(f(a.value.btnText), 1)
|
|
59
59
|
]),
|
|
60
60
|
_: 1
|
|
61
|
-
}, 16, ["class", "onClick"])) :
|
|
61
|
+
}, 16, ["class", "onClick"])) : c("", !0),
|
|
62
62
|
b(e.$slots, "resetBefore"),
|
|
63
|
-
n.value.show ? (
|
|
63
|
+
n.value.show ? (r(), l(o(v), p({
|
|
64
64
|
key: 1,
|
|
65
65
|
type: n.value.type
|
|
66
66
|
}, n.value.options, {
|
|
@@ -71,9 +71,9 @@ const M = /* @__PURE__ */ g({
|
|
|
71
71
|
B(f(n.value.options.btnText), 1)
|
|
72
72
|
]),
|
|
73
73
|
_: 1
|
|
74
|
-
}, 16, ["type", "onClick", "class"])) :
|
|
74
|
+
}, 16, ["type", "onClick", "class"])) : c("", !0),
|
|
75
75
|
b(e.$slots, "submitBefore"),
|
|
76
|
-
s.value.show ? (
|
|
76
|
+
s.value.show ? (r(), l(o(v), p({
|
|
77
77
|
key: 2,
|
|
78
78
|
type: s.value.type
|
|
79
79
|
}, s.value.options, {
|
|
@@ -84,9 +84,9 @@ const M = /* @__PURE__ */ g({
|
|
|
84
84
|
B(f(s.value.options.btnText), 1)
|
|
85
85
|
]),
|
|
86
86
|
_: 1
|
|
87
|
-
}, 16, ["type", "onClick", "class"])) :
|
|
87
|
+
}, 16, ["type", "onClick", "class"])) : c("", !0),
|
|
88
88
|
b(e.$slots, "submitAfter"),
|
|
89
|
-
t.showCommonButton && a.value.isBehind ? (
|
|
89
|
+
t.showCommonButton && a.value.isBehind ? (r(), l(o(v), p({ key: 3 }, a.value, {
|
|
90
90
|
class: o(m).e("common"),
|
|
91
91
|
onClick: o(C)
|
|
92
92
|
}), {
|
|
@@ -94,13 +94,13 @@ const M = /* @__PURE__ */ g({
|
|
|
94
94
|
B(f(a.value.btnText), 1)
|
|
95
95
|
]),
|
|
96
96
|
_: 1
|
|
97
|
-
}, 16, ["class", "onClick"])) :
|
|
97
|
+
}, 16, ["class", "onClick"])) : c("", !0)
|
|
98
98
|
]),
|
|
99
99
|
_: 3
|
|
100
100
|
}, 8, ["class"])
|
|
101
101
|
]),
|
|
102
102
|
_: 3
|
|
103
|
-
}, 16)) :
|
|
103
|
+
}, 16)) : c("", !0);
|
|
104
104
|
}
|
|
105
105
|
});
|
|
106
106
|
export {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as J, useAttrs as le, reactive as ue, ref as m, computed as u, unref as n, watch as d, nextTick as ie, useSlots as me,
|
|
1
|
+
import { defineComponent as J, useAttrs as le, reactive as ue, ref as m, computed as u, unref as n, watch as d, nextTick as ie, useSlots as me, createBlock as i, createCommentVNode as U, openBlock as l, mergeProps as B, withKeys as fe, withModifiers as ce, withCtx as h, renderSlot as O, normalizeProps as W, createElementBlock as pe, Fragment as de, renderList as j, createSlots as Be, resolveDynamicComponent as A, h as he } from "vue";
|
|
2
2
|
import { VftCol as ye } from "../col/index.js";
|
|
3
3
|
import { VftForm as ve } from "../form/index.js";
|
|
4
4
|
import { VftRow as be } from "../row/index.js";
|
|
@@ -314,10 +314,10 @@ const _e = J({
|
|
|
314
314
|
}, ["prevent"])),
|
|
315
315
|
onKeypress: fe(ne, ["enter"])
|
|
316
316
|
}), {
|
|
317
|
-
default: h(() => [a.value?.length ? (l(), i(n(be),
|
|
317
|
+
default: h(() => [a.value?.length ? (l(), i(n(be), W(B({
|
|
318
318
|
key: 0
|
|
319
319
|
}, f.value?.rowProps)), {
|
|
320
|
-
default: h(() => [O(e.$slots, "formHeader"), (l(!0), pe(de, null,
|
|
320
|
+
default: h(() => [O(e.$slots, "formHeader"), (l(!0), pe(de, null, j(a.value, (s) => (l(), i(Oe, {
|
|
321
321
|
key: s.field,
|
|
322
322
|
"form-action-type": H,
|
|
323
323
|
schema: s,
|
|
@@ -328,14 +328,14 @@ const _e = J({
|
|
|
328
328
|
"update-schema": n(R)
|
|
329
329
|
}, Be({
|
|
330
330
|
_: 2
|
|
331
|
-
}, [
|
|
331
|
+
}, [j(Object.keys(e.$slots), (K) => ({
|
|
332
332
|
name: K,
|
|
333
333
|
fn: h((re) => [O(e.$slots, K, B({
|
|
334
334
|
ref_for: !0
|
|
335
335
|
}, re || {}))])
|
|
336
336
|
}))]), 1032, ["schema", "form-props", "all-default-values", "form-model", "update-schema"]))), 128)), t.value?.customLayout ? (l(), i(A(E(t.value?.showActionButtonGroup && t.value?.actionInline)), {
|
|
337
337
|
key: 1
|
|
338
|
-
})) : (l(), i(n(ye),
|
|
338
|
+
})) : (l(), i(n(ye), W(B({
|
|
339
339
|
key: 0
|
|
340
340
|
}, f.value?.quickColSpan ? {
|
|
341
341
|
span: Math.ceil(24 / f.value?.quickColSpan),
|
|
@@ -345,9 +345,9 @@ const _e = J({
|
|
|
345
345
|
_: 1
|
|
346
346
|
}, 16))]),
|
|
347
347
|
_: 3
|
|
348
|
-
}, 16)) :
|
|
348
|
+
}, 16)) : U("", !0), (l(), i(A(E(t.value?.showActionButtonGroup && !t.value?.actionInline)))), O(e.$slots, "formFooter")]),
|
|
349
349
|
_: 3
|
|
350
|
-
}, 16, ["class", "model"])) :
|
|
350
|
+
}, 16, ["class", "model"])) : U("", !0);
|
|
351
351
|
}
|
|
352
352
|
});
|
|
353
353
|
export {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as M, computed as s, ref as g, watch as T, onMounted as Q,
|
|
1
|
+
import { defineComponent as M, computed as s, ref as g, watch as T, onMounted as Q, createElementBlock as v, openBlock as o, withModifiers as R, normalizeStyle as F, normalizeClass as c, createElementVNode as p, createCommentVNode as r, withKeys as X, unref as i, createBlock as k, normalizeProps as I, mergeProps as w, toDisplayString as B, nextTick as Y } from "vue";
|
|
2
2
|
import { singleAttrToObj as O, isPromise as A, isBoolean as Z } from "@vft/utils";
|
|
3
3
|
import "../form/index.js";
|
|
4
4
|
import { VftIcon as V } from "../icon/index.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as X, computed as m, createVNode as i, createTextVNode as ye, defineAsyncComponent as we, useAttrs as ve, ref as g, getCurrentInstance as xe, unref as a, watch as ke, nextTick as q, toRaw as Se,
|
|
1
|
+
import { defineComponent as X, computed as m, createVNode as i, createTextVNode as ye, defineAsyncComponent as we, useAttrs as ve, ref as g, getCurrentInstance as xe, unref as a, watch as ke, nextTick as q, toRaw as Se, createElementBlock as Be, openBlock as S, normalizeClass as Re, withCtx as n, createBlock as G, createCommentVNode as B, mergeProps as I, withDirectives as ze, createElementVNode as Pe, vShow as De, renderSlot as s, normalizeProps as p, guardReactiveProps as h, createSlots as He } from "vue";
|
|
2
2
|
import { VftClientOnly as Oe } from "../client-only/index.js";
|
|
3
3
|
import { VftEmpty as Ae } from "../empty/index.js";
|
|
4
4
|
import { vLoading as Fe } from "../loading/directive.js";
|
|
@@ -713,11 +713,11 @@ const je = X({
|
|
|
713
713
|
}])
|
|
714
714
|
}, [i(a(Oe), null, {
|
|
715
715
|
fallback: n(() => [i(a(_e))]),
|
|
716
|
-
default: n(() => [i(a(Z),
|
|
716
|
+
default: n(() => [i(a(Z), I({
|
|
717
717
|
ref_key: "xGrid",
|
|
718
718
|
ref: b
|
|
719
719
|
}, r.value), {
|
|
720
|
-
toolbarButtons: n(() => [s(e.$slots, "toolbar-left"), r.value?.formOptions?.showActionForm ? (S(),
|
|
720
|
+
toolbarButtons: n(() => [s(e.$slots, "toolbar-left"), r.value?.formOptions?.showActionForm ? (S(), G(a(Le), {
|
|
721
721
|
key: 0,
|
|
722
722
|
ref_key: "formRef",
|
|
723
723
|
ref: w,
|
|
@@ -744,7 +744,7 @@ const je = X({
|
|
|
744
744
|
}, () => [i(a(Ae), p(h(r.value.emptyCfg)), null, 16)])]),
|
|
745
745
|
loading: n(() => [ze(Pe("div", null, null, 512), [[De, r.value.loading], [a(Fe), r.value.loadingCfg]])]),
|
|
746
746
|
_: 3
|
|
747
|
-
}, 16), r.value.showPager ? (S(),
|
|
747
|
+
}, 16), r.value.showPager ? (S(), G(a($e), I({
|
|
748
748
|
key: 0,
|
|
749
749
|
ref_key: "pageRef",
|
|
750
750
|
ref: P
|