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 $, shallowRef as m, ref as v, computed as E, watch as W, onMounted as H, watchEffect as I,
|
|
1
|
+
import { defineComponent as $, shallowRef as m, ref as v, computed as E, watch as W, onMounted as H, watchEffect as I, createElementBlock as N, openBlock as q, normalizeStyle as S, normalizeClass as _, unref as b, createElementVNode as L, renderSlot as M } from "vue";
|
|
2
2
|
import { useWindowSize as P, useElementBounding as y, useEventListener as U } from "@vueuse/core";
|
|
3
3
|
import { getScrollContainer as V } from "../../utils/dom/scroll.js";
|
|
4
4
|
import { throwError as Y } from "../../utils/error.js";
|
|
@@ -64,7 +64,7 @@ const G = $({
|
|
|
64
64
|
update: w,
|
|
65
65
|
/** @description update rootRect info */
|
|
66
66
|
updateRoot: c
|
|
67
|
-
}), (t, J) => (
|
|
67
|
+
}), (t, J) => (q(), N("div", {
|
|
68
68
|
ref_key: "root",
|
|
69
69
|
ref: f,
|
|
70
70
|
class: _(b(i).b()),
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as C, useSlots as N, ref as S, computed as a,
|
|
1
|
+
import { defineComponent as C, useSlots as N, ref as S, computed as a, createBlock as r, openBlock as l, Transition as V, unref as o, withCtx as $, withDirectives as x, createElementVNode as v, normalizeClass as n, createCommentVNode as s, createElementBlock as c, renderSlot as k, createTextVNode as p, toDisplayString as u, Fragment as E, vShow as I } from "vue";
|
|
2
2
|
import { VftIcon as b } from "../icon/index.js";
|
|
3
3
|
import "@vueuse/core";
|
|
4
4
|
import "@vft/utils";
|
|
@@ -62,9 +62,9 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
62
62
|
readonly placement?: import("@popperjs/core").Placement | undefined;
|
|
63
63
|
readonly strategy?: "fixed" | "absolute" | undefined;
|
|
64
64
|
readonly effect?: "light" | "dark" | undefined;
|
|
65
|
+
readonly visible?: boolean | null | undefined;
|
|
65
66
|
readonly teleported?: boolean | undefined;
|
|
66
67
|
readonly open?: boolean | undefined;
|
|
67
|
-
readonly visible?: boolean | null | undefined;
|
|
68
68
|
readonly trigger?: import("vft/es/components/tooltip").TooltipTriggerType | undefined;
|
|
69
69
|
readonly arrowOffset?: number | undefined;
|
|
70
70
|
readonly gpuAcceleration?: boolean | undefined;
|
|
@@ -480,9 +480,9 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
480
480
|
readonly placement?: import("@popperjs/core").Placement | undefined;
|
|
481
481
|
readonly strategy?: "fixed" | "absolute" | undefined;
|
|
482
482
|
readonly effect?: "light" | "dark" | undefined;
|
|
483
|
+
readonly visible?: boolean | null | undefined;
|
|
483
484
|
readonly teleported?: boolean | undefined;
|
|
484
485
|
readonly open?: boolean | undefined;
|
|
485
|
-
readonly visible?: boolean | null | undefined;
|
|
486
486
|
readonly trigger?: import("vft/es/components/tooltip").TooltipTriggerType | undefined;
|
|
487
487
|
readonly arrowOffset?: number | undefined;
|
|
488
488
|
readonly gpuAcceleration?: boolean | undefined;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as Q, useAttrs as ve, ref as c, computed as b, onMounted as me,
|
|
1
|
+
import { defineComponent as Q, useAttrs as ve, ref as c, computed as b, onMounted as me, createBlock as pe, openBlock as E, unref as s, withCtx as v, createElementVNode as q, normalizeStyle as z, normalizeClass as k, createVNode as G, mergeProps as ge, withKeys as y, withModifiers as j, createSlots as he, renderSlot as $, createElementBlock as F, Fragment as be, renderList as ye, createTextVNode as $e, toDisplayString as we, nextTick as Ee } from "vue";
|
|
2
2
|
import { isObject as ke, isString as N, isArray as D } from "@vft/utils";
|
|
3
3
|
import "../form/index.js";
|
|
4
4
|
import { VftInput as Ae } from "../input/index.js";
|
|
@@ -85,9 +85,9 @@ export declare const VftAutocomplete: import("vft/es/utils").SFCWithInstall<{
|
|
|
85
85
|
readonly placement?: import("@popperjs/core").Placement | undefined;
|
|
86
86
|
readonly strategy?: "fixed" | "absolute" | undefined;
|
|
87
87
|
readonly effect?: "light" | "dark" | undefined;
|
|
88
|
+
readonly visible?: boolean | null | undefined;
|
|
88
89
|
readonly teleported?: boolean | undefined;
|
|
89
90
|
readonly open?: boolean | undefined;
|
|
90
|
-
readonly visible?: boolean | null | undefined;
|
|
91
91
|
readonly trigger?: import("vft/es/vft").TooltipTriggerType | undefined;
|
|
92
92
|
readonly arrowOffset?: number | undefined;
|
|
93
93
|
readonly gpuAcceleration?: boolean | undefined;
|
|
@@ -503,9 +503,9 @@ export declare const VftAutocomplete: import("vft/es/utils").SFCWithInstall<{
|
|
|
503
503
|
readonly placement?: import("@popperjs/core").Placement | undefined;
|
|
504
504
|
readonly strategy?: "fixed" | "absolute" | undefined;
|
|
505
505
|
readonly effect?: "light" | "dark" | undefined;
|
|
506
|
+
readonly visible?: boolean | null | undefined;
|
|
506
507
|
readonly teleported?: boolean | undefined;
|
|
507
508
|
readonly open?: boolean | undefined;
|
|
508
|
-
readonly visible?: boolean | null | undefined;
|
|
509
509
|
readonly trigger?: import("vft/es/vft").TooltipTriggerType | undefined;
|
|
510
510
|
readonly arrowOffset?: number | undefined;
|
|
511
511
|
readonly gpuAcceleration?: boolean | undefined;
|
|
@@ -1006,9 +1006,9 @@ export declare const VftAutocomplete: import("vft/es/utils").SFCWithInstall<{
|
|
|
1006
1006
|
readonly placement?: import("@popperjs/core").Placement | undefined;
|
|
1007
1007
|
readonly strategy?: "fixed" | "absolute" | undefined;
|
|
1008
1008
|
readonly effect?: "light" | "dark" | undefined;
|
|
1009
|
+
readonly visible?: boolean | null | undefined;
|
|
1009
1010
|
readonly teleported?: boolean | undefined;
|
|
1010
1011
|
readonly open?: boolean | undefined;
|
|
1011
|
-
readonly visible?: boolean | null | undefined;
|
|
1012
1012
|
readonly trigger?: import("vft/es/vft").TooltipTriggerType | undefined;
|
|
1013
1013
|
readonly arrowOffset?: number | undefined;
|
|
1014
1014
|
readonly gpuAcceleration?: boolean | undefined;
|
|
@@ -1424,9 +1424,9 @@ export declare const VftAutocomplete: import("vft/es/utils").SFCWithInstall<{
|
|
|
1424
1424
|
readonly placement?: import("@popperjs/core").Placement | undefined;
|
|
1425
1425
|
readonly strategy?: "fixed" | "absolute" | undefined;
|
|
1426
1426
|
readonly effect?: "light" | "dark" | undefined;
|
|
1427
|
+
readonly visible?: boolean | null | undefined;
|
|
1427
1428
|
readonly teleported?: boolean | undefined;
|
|
1428
1429
|
readonly open?: boolean | undefined;
|
|
1429
|
-
readonly visible?: boolean | null | undefined;
|
|
1430
1430
|
readonly trigger?: import("vft/es/vft").TooltipTriggerType | undefined;
|
|
1431
1431
|
readonly arrowOffset?: number | undefined;
|
|
1432
1432
|
readonly gpuAcceleration?: boolean | undefined;
|
|
@@ -1916,9 +1916,9 @@ export declare const VftAutocomplete: import("vft/es/utils").SFCWithInstall<{
|
|
|
1916
1916
|
readonly placement?: import("@popperjs/core").Placement | undefined;
|
|
1917
1917
|
readonly strategy?: "fixed" | "absolute" | undefined;
|
|
1918
1918
|
readonly effect?: "light" | "dark" | undefined;
|
|
1919
|
+
readonly visible?: boolean | null | undefined;
|
|
1919
1920
|
readonly teleported?: boolean | undefined;
|
|
1920
1921
|
readonly open?: boolean | undefined;
|
|
1921
|
-
readonly visible?: boolean | null | undefined;
|
|
1922
1922
|
readonly trigger?: import("vft/es/vft").TooltipTriggerType | undefined;
|
|
1923
1923
|
readonly arrowOffset?: number | undefined;
|
|
1924
1924
|
readonly gpuAcceleration?: boolean | undefined;
|
|
@@ -2334,9 +2334,9 @@ export declare const VftAutocomplete: import("vft/es/utils").SFCWithInstall<{
|
|
|
2334
2334
|
readonly placement?: import("@popperjs/core").Placement | undefined;
|
|
2335
2335
|
readonly strategy?: "fixed" | "absolute" | undefined;
|
|
2336
2336
|
readonly effect?: "light" | "dark" | undefined;
|
|
2337
|
+
readonly visible?: boolean | null | undefined;
|
|
2337
2338
|
readonly teleported?: boolean | undefined;
|
|
2338
2339
|
readonly open?: boolean | undefined;
|
|
2339
|
-
readonly visible?: boolean | null | undefined;
|
|
2340
2340
|
readonly trigger?: import("vft/es/vft").TooltipTriggerType | undefined;
|
|
2341
2341
|
readonly arrowOffset?: number | undefined;
|
|
2342
2342
|
readonly gpuAcceleration?: boolean | undefined;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as v, ref as z, computed as i, watch as h,
|
|
1
|
+
import { defineComponent as v, ref as z, computed as i, watch as h, createElementBlock as k, openBlock as o, normalizeStyle as y, normalizeClass as g, createBlock as n, renderSlot as B, unref as c, normalizeProps as E, mergeProps as S } from "vue";
|
|
2
2
|
import { isString as b, isNumber as C, singleAttrToObj as V } from "@vft/utils";
|
|
3
3
|
import { VftIcon as I } from "../icon/index.js";
|
|
4
4
|
import { VftImage as L } from "../image/index.js";
|
|
@@ -45,7 +45,7 @@ const H = /* @__PURE__ */ v({
|
|
|
45
45
|
alt: e.alt,
|
|
46
46
|
fit: e.fit,
|
|
47
47
|
onError: d
|
|
48
|
-
}, null, 8, ["src", "alt", "fit"])) : s.value?.icon ? (o(), n(c(I),
|
|
48
|
+
}, null, 8, ["src", "alt", "fit"])) : s.value?.icon ? (o(), n(c(I), E(S({ key: 1 }, s.value)), null, 16)) : B(t.$slots, "default", { key: 2 })
|
|
49
49
|
], 6));
|
|
50
50
|
}
|
|
51
51
|
});
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as f, computed as r,
|
|
1
|
+
import { defineComponent as f, computed as r, createElementBlock as n, openBlock as s, normalizeStyle as c, normalizeClass as o, unref as t, createCommentVNode as y, Fragment as g, renderList as k, createVNode as d, withCtx as b, createTextVNode as p, toDisplayString as V } from "vue";
|
|
2
2
|
import { VftAvatar as v } from "../avatar/index.js";
|
|
3
3
|
import "@vueuse/core";
|
|
4
4
|
import { addUnit as i } from "@vft/utils";
|
|
@@ -32,11 +32,11 @@ const B = f({
|
|
|
32
32
|
},
|
|
33
33
|
"avatar-stack"
|
|
34
34
|
));
|
|
35
|
-
return (M, S) => (
|
|
35
|
+
return (M, S) => (s(), n("div", {
|
|
36
36
|
class: o(t(a).b()),
|
|
37
37
|
style: c(h.value)
|
|
38
38
|
}, [
|
|
39
|
-
(
|
|
39
|
+
(s(!0), n(g, null, k(l.value, (x, u) => (s(), n("div", {
|
|
40
40
|
key: u,
|
|
41
41
|
class: o(t(a).e("item")),
|
|
42
42
|
style: c({ zIndex: l.value.length - u })
|
|
@@ -47,7 +47,7 @@ const B = f({
|
|
|
47
47
|
class: o(t(a).e("stacked-avatar"))
|
|
48
48
|
}, null, 8, ["src", "size", "class"])
|
|
49
49
|
], 6))), 128)),
|
|
50
|
-
e.showRemainCount && m.value > 0 ? (
|
|
50
|
+
e.showRemainCount && m.value > 0 ? (s(), n("div", {
|
|
51
51
|
key: 0,
|
|
52
52
|
class: o([t(a).e("item"), t(a).e("remaining-count")]),
|
|
53
53
|
style: { zIndex: 0 }
|
|
@@ -56,12 +56,12 @@ const B = f({
|
|
|
56
56
|
size: e.size,
|
|
57
57
|
class: o(t(a).e("remaining-avatar"))
|
|
58
58
|
}, {
|
|
59
|
-
default:
|
|
60
|
-
|
|
59
|
+
default: b(() => [
|
|
60
|
+
p(" +" + V(m.value), 1)
|
|
61
61
|
]),
|
|
62
62
|
_: 1
|
|
63
63
|
}, 8, ["size", "class"])
|
|
64
|
-
], 2)) :
|
|
64
|
+
], 2)) : y("", !0)
|
|
65
65
|
], 6));
|
|
66
66
|
}
|
|
67
67
|
});
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as s, getCurrentInstance as v, computed as m,
|
|
1
|
+
import { defineComponent as s, getCurrentInstance as v, computed as m, createBlock as l, openBlock as i, Transition as y, unref as t, withCtx as C, createElementBlock as h, createCommentVNode as c, withModifiers as T, normalizeClass as x, normalizeStyle as z, renderSlot as B, normalizeProps as $, mergeProps as S } from "vue";
|
|
2
2
|
import { singleAttrToObj as _ } from "@vft/utils";
|
|
3
3
|
import { VftIcon as w } from "../icon/index.js";
|
|
4
4
|
import "@vueuse/core";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as l, getCurrentInstance as d, inject as k, ref as b,
|
|
1
|
+
import { defineComponent as l, getCurrentInstance as d, inject as k, ref as b, createElementBlock as p, openBlock as a, normalizeClass as s, unref as e, createElementVNode as y, createBlock as C, renderSlot as _, mergeProps as g, toDisplayString as B } from "vue";
|
|
2
2
|
import { VftIcon as I } from "../icon/index.js";
|
|
3
3
|
import "@vueuse/core";
|
|
4
4
|
import "@vft/utils";
|
|
@@ -32,9 +32,9 @@ const h = l({
|
|
|
32
32
|
role: "link",
|
|
33
33
|
onClick: u
|
|
34
34
|
}, [
|
|
35
|
-
|
|
35
|
+
_(f.$slots, "default")
|
|
36
36
|
], 2),
|
|
37
|
-
e(o)?.separatorIcon ? (a(),
|
|
37
|
+
e(o)?.separatorIcon ? (a(), C(e(I), g({ key: 0 }, e(o).separatorIcon, {
|
|
38
38
|
class: e(r).e("separator")
|
|
39
39
|
}), null, 16, ["class"])) : (a(), p("span", {
|
|
40
40
|
key: 1,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as o, ref as n, provide as p, onMounted as s,
|
|
1
|
+
import { defineComponent as o, ref as n, provide as p, onMounted as s, createElementBlock as i, openBlock as c, normalizeClass as l, unref as u, renderSlot as f } from "vue";
|
|
2
2
|
import "@vueuse/core";
|
|
3
3
|
import "@vft/utils";
|
|
4
4
|
import "../config-provider/hooks/use-global-config.js";
|
|
@@ -22,7 +22,7 @@ const _ = o({
|
|
|
22
22
|
return p(b, m), s(() => {
|
|
23
23
|
const e = t.value.querySelectorAll(`.${r.e("item")}`);
|
|
24
24
|
e.length && e[e.length - 1].setAttribute("aria-current", "page");
|
|
25
|
-
}), (e, g) => (
|
|
25
|
+
}), (e, g) => (c(), i("div", {
|
|
26
26
|
ref_key: "breadcrumb",
|
|
27
27
|
ref: t,
|
|
28
28
|
class: l(u(r).b()),
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as e, provide as s, reactive as i, toRef as o,
|
|
1
|
+
import { defineComponent as e, provide as s, reactive as i, toRef as o, createElementBlock as m, openBlock as a, normalizeClass as u, unref as c, renderSlot as f } from "vue";
|
|
2
2
|
import "@vueuse/core";
|
|
3
3
|
import "@vft/utils";
|
|
4
4
|
import "../config-provider/hooks/use-global-config.js";
|
|
@@ -25,7 +25,7 @@ const _ = e({
|
|
|
25
25
|
size: o(t, "size"),
|
|
26
26
|
type: o(t, "type")
|
|
27
27
|
})
|
|
28
|
-
), (n, b) => (
|
|
28
|
+
), (n, b) => (a(), m("div", {
|
|
29
29
|
class: u(`${c(p).b("group")}`)
|
|
30
30
|
}, [
|
|
31
31
|
f(n.$slots, "default")
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as g, computed as T,
|
|
1
|
+
import { defineComponent as g, computed as T, createBlock as i, openBlock as l, resolveDynamicComponent as $, mergeProps as p, unref as e, withCtx as I, createElementBlock as y, createCommentVNode as f, Fragment as A, renderSlot as k, normalizeClass as B, normalizeProps as N } from "vue";
|
|
2
2
|
import { VftIcon as b } from "../icon/index.js";
|
|
3
3
|
import "@vueuse/core";
|
|
4
4
|
import { singleAttrToObj as P } from "@vft/utils";
|
|
@@ -70,19 +70,19 @@ const D = g({
|
|
|
70
70
|
}), {
|
|
71
71
|
default: I(() => [
|
|
72
72
|
o.loading ? (l(), y(A, { key: 0 }, [
|
|
73
|
-
n.$slots.loading ?
|
|
73
|
+
n.$slots.loading ? k(n.$slots, "loading", { key: 0 }) : (l(), i(e(b), {
|
|
74
74
|
key: 1,
|
|
75
75
|
rotate: "",
|
|
76
|
-
class:
|
|
76
|
+
class: B(e(t).is("loading")),
|
|
77
77
|
icon: "icon-loading"
|
|
78
78
|
}, null, 8, ["class"]))
|
|
79
|
-
], 64)) : d.value?.icon ? (l(), i(e(b), N(p({ key: 1 }, d.value)), null, 16)) :
|
|
79
|
+
], 64)) : d.value?.icon ? (l(), i(e(b), N(p({ key: 1 }, d.value)), null, 16)) : f("", !0),
|
|
80
80
|
n.$slots.default ? (l(), y("span", {
|
|
81
81
|
key: 2,
|
|
82
|
-
class:
|
|
82
|
+
class: B({ [e(t).em("text", "expand")]: e(u) })
|
|
83
83
|
}, [
|
|
84
|
-
|
|
85
|
-
], 2)) :
|
|
84
|
+
k(n.$slots, "default")
|
|
85
|
+
], 2)) : f("", !0)
|
|
86
86
|
]),
|
|
87
87
|
_: 3
|
|
88
88
|
}, 16, ["class", "style", "onClick"]));
|
|
@@ -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
|
-
dark: {
|
|
28
|
-
type: import("vue").PropType<boolean>;
|
|
29
|
-
};
|
|
30
27
|
icon: {
|
|
31
28
|
type: import("vue").PropType<string | import("vft/es/vft").IconProps>;
|
|
32
29
|
};
|
|
30
|
+
dark: {
|
|
31
|
+
type: import("vue").PropType<boolean>;
|
|
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
|
-
dark: {
|
|
118
|
-
type: import("vue").PropType<boolean>;
|
|
119
|
-
};
|
|
120
117
|
icon: {
|
|
121
118
|
type: import("vue").PropType<string | import("vft/es/vft").IconProps>;
|
|
122
119
|
};
|
|
120
|
+
dark: {
|
|
121
|
+
type: import("vue").PropType<boolean>;
|
|
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
|
-
dark: {
|
|
203
|
-
type: import("vue").PropType<boolean>;
|
|
204
|
-
};
|
|
205
202
|
icon: {
|
|
206
203
|
type: import("vue").PropType<string | import("vft/es/vft").IconProps>;
|
|
207
204
|
};
|
|
205
|
+
dark: {
|
|
206
|
+
type: import("vue").PropType<boolean>;
|
|
207
|
+
};
|
|
208
208
|
loading: {
|
|
209
209
|
type: import("vue").PropType<boolean>;
|
|
210
210
|
};
|
|
@@ -3,11 +3,11 @@ import "../form/index.js";
|
|
|
3
3
|
import { useThrottleFn as C } from "@vueuse/core";
|
|
4
4
|
import { inject as S, computed as o, ref as v, useSlots as F, Text as T } from "vue";
|
|
5
5
|
import { buttonGroupContextKey as _ } from "./constants.js";
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
6
|
+
import { useFormItem as k } from "../form/hooks/use-form-item.js";
|
|
7
|
+
import { useGlobalConfig as x } from "../config-provider/hooks/use-global-config.js";
|
|
8
8
|
import { useFormSize as I, useFormDisabled as z } from "../form/hooks/use-form-common-props.js";
|
|
9
9
|
const w = (t, r) => {
|
|
10
|
-
const s = S(_, void 0), u =
|
|
10
|
+
const s = S(_, void 0), u = x("button"), { form: c } = k(), a = I(o(() => s?.size)), n = z(), f = v(), m = F(), d = o(() => t.type || s?.type || ""), b = o(
|
|
11
11
|
() => t.autoInsertSpace ?? u.value?.autoInsertSpace ?? !1
|
|
12
12
|
), h = o(() => {
|
|
13
13
|
const e = m.default?.();
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as m,
|
|
1
|
+
import { defineComponent as m, createElementBlock as d, openBlock as s, normalizeClass as r, unref as a, createCommentVNode as i, createElementVNode as n, renderSlot as l, createTextVNode as c, toDisplayString as f, normalizeStyle as p } from "vue";
|
|
2
2
|
import "@vueuse/core";
|
|
3
3
|
import "@vft/utils";
|
|
4
4
|
import "../config-provider/hooks/use-global-config.js";
|
|
@@ -19,18 +19,18 @@ const h = m({
|
|
|
19
19
|
},
|
|
20
20
|
setup(e) {
|
|
21
21
|
const t = u("card");
|
|
22
|
-
return (o, y) => (
|
|
22
|
+
return (o, y) => (s(), d("div", {
|
|
23
23
|
class: r([a(t).b(), a(t).is(`${e.shadow}-shadow`)])
|
|
24
24
|
}, [
|
|
25
|
-
o.$slots.header || e.header ? (
|
|
25
|
+
o.$slots.header || e.header ? (s(), d("div", {
|
|
26
26
|
key: 0,
|
|
27
27
|
class: r(a(t).e("header"))
|
|
28
28
|
}, [
|
|
29
29
|
l(o.$slots, "header", {}, () => [
|
|
30
|
-
|
|
30
|
+
c(f(e.header), 1)
|
|
31
31
|
])
|
|
32
|
-
], 2)) :
|
|
33
|
-
|
|
32
|
+
], 2)) : i("", !0),
|
|
33
|
+
n("div", {
|
|
34
34
|
class: r(a(t).e("body")),
|
|
35
35
|
style: p(e.bodyStyle)
|
|
36
36
|
}, [
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as d, computed as m, unref as e, withDirectives as c,
|
|
1
|
+
import { defineComponent as d, computed as m, unref as e, withDirectives as c, createElementBlock as u, openBlock as p, normalizeStyle as w, normalizeClass as v, createCommentVNode as x, renderSlot as z, vShow as f } from "vue";
|
|
2
2
|
import "@vueuse/core";
|
|
3
3
|
import "@vft/utils";
|
|
4
4
|
import "../config-provider/hooks/use-global-config.js";
|
|
@@ -46,7 +46,7 @@ const R = d({
|
|
|
46
46
|
transform: [a, s].join(" ")
|
|
47
47
|
};
|
|
48
48
|
});
|
|
49
|
-
return (i, a) => c((
|
|
49
|
+
return (i, a) => c((p(), u("div", {
|
|
50
50
|
ref_key: "carouselItemRef",
|
|
51
51
|
ref: _,
|
|
52
52
|
class: v(T.value),
|
|
@@ -54,7 +54,7 @@ const R = d({
|
|
|
54
54
|
onClick: a[0] || (a[0] = //@ts-ignore
|
|
55
55
|
(...s) => e(n) && e(n)(...s))
|
|
56
56
|
}, [
|
|
57
|
-
e(r) ? c((
|
|
57
|
+
e(r) ? c((p(), u("div", {
|
|
58
58
|
key: 0,
|
|
59
59
|
class: v(e(t).e("mask"))
|
|
60
60
|
}, null, 2)), [
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as E, getCurrentInstance as _, computed as T, unref as e,
|
|
1
|
+
import { defineComponent as E, getCurrentInstance as _, computed as T, unref as e, createElementBlock as d, openBlock as s, withModifiers as m, normalizeClass as l, createBlock as L, createCommentVNode as f, createElementVNode as a, createVNode as p, Transition as V, withCtx as y, withDirectives as g, vShow as h, normalizeStyle as ee, renderSlot as te, Fragment as oe, renderList as ne, toDisplayString as re } from "vue";
|
|
2
2
|
import { VftIcon as D } from "../icon/index.js";
|
|
3
3
|
import "@vueuse/core";
|
|
4
4
|
import "@vft/utils";
|
|
@@ -11,7 +11,7 @@ import "../../hooks/use-model-toggle/index.js";
|
|
|
11
11
|
import { useOrderedChildren as ge } from "../../hooks/use-ordered-children/index.js";
|
|
12
12
|
import "@popperjs/core";
|
|
13
13
|
import "../../hooks/use-z-index/index.js";
|
|
14
|
-
import {
|
|
14
|
+
import { carouselContextKey as Se, CAROUSEL_ITEM_NAME as H } from "./constants.js";
|
|
15
15
|
const L = 300, ze = (t, O, M) => {
|
|
16
16
|
const {
|
|
17
17
|
children: o,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as Se, useAttrs as Ye, ref as c, computed as i, unref as s, watch as x, nextTick as N, onMounted as Ze,
|
|
1
|
+
import { defineComponent as Se, useAttrs as Ye, ref as c, computed as i, unref as s, watch as x, nextTick as N, onMounted as Ze, createBlock as E, openBlock as r, withCtx as v, createElementBlock as m, createCommentVNode as P, withDirectives as q, withModifiers as F, normalizeClass as d, renderSlot as V, createVNode as te, vShow as Te, Fragment as le, renderList as se, createElementVNode as z, toDisplayString as U, normalizeStyle as _e, createSlots as et, withKeys as tt, vModelText as lt } from "vue";
|
|
2
2
|
import { cloneDeep as st, debounce as ot } from "lodash-es";
|
|
3
3
|
import { useResizeObserver as at, useCssVar as nt } from "@vueuse/core";
|
|
4
4
|
import { focusNode as rt, getSibling as it } from "../../utils/dom/aria.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as Y, useSlots as ae, ref as E, computed as z, provide as ne, reactive as F, watch as b, onBeforeUpdate as le, onMounted as se,
|
|
1
|
+
import { defineComponent as Y, useSlots as ae, ref as E, computed as z, provide as ne, reactive as F, watch as b, onBeforeUpdate as le, onMounted as se, createElementBlock as I, openBlock as D, normalizeClass as re, unref as K, Fragment as ce, renderList as ue, createBlock as ie, withCtx as de, renderSlot as pe, nextTick as fe } from "vue";
|
|
2
2
|
import { isEqual as $, flattenDeep as me, cloneDeep as ve } from "lodash-es";
|
|
3
3
|
import { focusNode as M, getSibling as he } from "../../utils/dom/aria.js";
|
|
4
4
|
import "@vueuse/core";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as N, getCurrentInstance as I, inject as Z, ref as b, computed as p,
|
|
1
|
+
import { defineComponent as N, getCurrentInstance as I, inject as Z, ref as b, computed as p, createBlock as k, openBlock as r, unref as e, normalizeClass as l, withCtx as A, createElementBlock as m, createCommentVNode as B, Fragment as z, renderList as S, createVNode as q, createTextVNode as x, renderSlot as R } from "vue";
|
|
2
2
|
import { VftScrollbar as X } from "../scrollbar/index.js";
|
|
3
3
|
import "@vueuse/core";
|
|
4
4
|
import "@vft/utils";
|
|
@@ -58,7 +58,7 @@ const O = N({
|
|
|
58
58
|
onMouseleave: $
|
|
59
59
|
}, {
|
|
60
60
|
default: A(() => [
|
|
61
|
-
(r(!0), m(
|
|
61
|
+
(r(!0), m(z, null, S(f.nodes, (u) => (r(), k(J, {
|
|
62
62
|
key: u.uid,
|
|
63
63
|
node: u,
|
|
64
64
|
"menu-id": g.value,
|
|
@@ -68,7 +68,7 @@ const O = N({
|
|
|
68
68
|
key: 0,
|
|
69
69
|
class: l(e(t).e("empty-text"))
|
|
70
70
|
}, [
|
|
71
|
-
|
|
71
|
+
q(e(F), {
|
|
72
72
|
icon: "icon-loadding",
|
|
73
73
|
size: "14",
|
|
74
74
|
class: l(e(t).is("loading"))
|
|
@@ -78,7 +78,7 @@ const O = N({
|
|
|
78
78
|
key: 1,
|
|
79
79
|
class: l(e(t).e("empty-text"))
|
|
80
80
|
}, [
|
|
81
|
-
|
|
81
|
+
R(n.$slots, "empty", {}, () => [
|
|
82
82
|
o[1] || (o[1] = x("暂无数据", -1))
|
|
83
83
|
])
|
|
84
84
|
], 2)) : e(c)?.isHoverMenu ? (r(), m("svg", {
|
|
@@ -86,7 +86,7 @@ const O = N({
|
|
|
86
86
|
ref_key: "hoverZone",
|
|
87
87
|
ref: a,
|
|
88
88
|
class: l(e(t).e("hover-zone"))
|
|
89
|
-
}, null, 2)) :
|
|
89
|
+
}, null, 2)) : B("", !0)
|
|
90
90
|
]),
|
|
91
91
|
_: 3
|
|
92
92
|
}, 8, ["class", "wrap-class", "view-class"]));
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as H, inject as F, computed as d,
|
|
1
|
+
import { defineComponent as H, inject as F, computed as d, createElementBlock as P, openBlock as u, normalizeClass as f, unref as n, createBlock as m, createCommentVNode as S, createVNode as O, withModifiers as L, withCtx as R, createElementVNode as U, Fragment as $ } from "vue";
|
|
2
2
|
import { VftCheckbox as q } from "../checkbox/index.js";
|
|
3
3
|
import { VftRadio as J } from "../radio/index.js";
|
|
4
4
|
import { VftIcon as x } from "../icon/index.js";
|
|
@@ -78,7 +78,7 @@ const G = ["id", "aria-haspopup", "aria-owns", "aria-expanded", "tabindex"], Q =
|
|
|
78
78
|
"model-value": o.node.checked,
|
|
79
79
|
indeterminate: o.node.indeterminate,
|
|
80
80
|
disabled: r.value,
|
|
81
|
-
onClick: a[0] || (a[0] =
|
|
81
|
+
onClick: a[0] || (a[0] = L(() => {
|
|
82
82
|
}, ["stop"])),
|
|
83
83
|
"onUpdate:modelValue": k
|
|
84
84
|
}, null, 8, ["model-value", "indeterminate", "disabled"])) : s.value && N.value ? (u(), m(n(J), {
|
|
@@ -87,24 +87,24 @@ const G = ["id", "aria-haspopup", "aria-owns", "aria-expanded", "tabindex"], Q =
|
|
|
87
87
|
label: o.node.uid,
|
|
88
88
|
disabled: r.value,
|
|
89
89
|
"onUpdate:modelValue": k,
|
|
90
|
-
onClick: a[1] || (a[1] =
|
|
90
|
+
onClick: a[1] || (a[1] = L(() => {
|
|
91
91
|
}, ["stop"]))
|
|
92
92
|
}, {
|
|
93
|
-
default:
|
|
94
|
-
|
|
93
|
+
default: R(() => [...a[2] || (a[2] = [
|
|
94
|
+
U("span", null, null, -1)
|
|
95
95
|
])]),
|
|
96
96
|
_: 1
|
|
97
97
|
}, 8, ["model-value", "label", "disabled"])) : i.value && o.node.checked ? (u(), m(n(x), {
|
|
98
98
|
key: 2,
|
|
99
99
|
icon: "icon-check",
|
|
100
100
|
class: f(n(c).e("prefix"))
|
|
101
|
-
}, null, 8, ["class"])) :
|
|
102
|
-
|
|
101
|
+
}, null, 8, ["class"])) : S("", !0),
|
|
102
|
+
O(n(T), {
|
|
103
103
|
node: o.node,
|
|
104
104
|
disabled: r.value,
|
|
105
105
|
onHandleSelectCheck: k
|
|
106
106
|
}, null, 8, ["node", "disabled"]),
|
|
107
|
-
i.value ?
|
|
107
|
+
i.value ? S("", !0) : (u(), P($, { key: 3 }, [
|
|
108
108
|
o.node.loading ? (u(), m(n(x), {
|
|
109
109
|
key: 0,
|
|
110
110
|
icon: "icon-loading",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as o, computed as s,
|
|
1
|
+
import { defineComponent as o, computed as s, createElementBlock as i, openBlock as p, normalizeClass as l, renderSlot as d } from "vue";
|
|
2
2
|
import { CHANGE_EVENT as h } from "../../constants/event.js";
|
|
3
3
|
import "@vueuse/core";
|
|
4
4
|
import "@vft/utils";
|
|
@@ -21,7 +21,7 @@ const u = o({
|
|
|
21
21
|
const t = a, c = k("check-tag"), n = s(() => [c.b(), c.is("checked", e.checked)]), m = () => {
|
|
22
22
|
t(h, !e.checked), t("update:checked", !e.checked);
|
|
23
23
|
};
|
|
24
|
-
return (r, f) => (
|
|
24
|
+
return (r, f) => (p(), i("span", {
|
|
25
25
|
class: l(n.value),
|
|
26
26
|
onClick: m
|
|
27
27
|
}, [
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as B, useSlots as z, inject as D, computed as f,
|
|
1
|
+
import { defineComponent as B, useSlots as z, inject as D, computed as f, createElementBlock as d, openBlock as r, normalizeClass as b, withDirectives as x, createCommentVNode as k, unref as t, isRef as y, vModelCheckbox as C, normalizeStyle as F, createTextVNode as V, renderSlot as j, toDisplayString as p } from "vue";
|
|
2
2
|
import "@vueuse/core";
|
|
3
3
|
import "@vft/utils";
|
|
4
4
|
import "../config-provider/hooks/use-global-config.js";
|
|
@@ -55,12 +55,12 @@ const K = ["name", "tabindex", "disabled", "true-value", "false-value"], U = ["n
|
|
|
55
55
|
a.is("checked", v.value),
|
|
56
56
|
a.is("focus", i.value)
|
|
57
57
|
]);
|
|
58
|
-
return (n, e) => (
|
|
58
|
+
return (n, e) => (r(), d("label", {
|
|
59
59
|
class: b(N.value)
|
|
60
60
|
}, [
|
|
61
|
-
l.trueValue || l.falseValue ? x((
|
|
61
|
+
l.trueValue || l.falseValue ? x((r(), d("input", {
|
|
62
62
|
key: 0,
|
|
63
|
-
"onUpdate:modelValue": e[0] || (e[0] = (o) =>
|
|
63
|
+
"onUpdate:modelValue": e[0] || (e[0] = (o) => y(u) ? u.value = o : null),
|
|
64
64
|
class: b(t(a).be("button", "original")),
|
|
65
65
|
type: "checkbox",
|
|
66
66
|
name: l.name,
|
|
@@ -73,10 +73,10 @@ const K = ["name", "tabindex", "disabled", "true-value", "false-value"], U = ["n
|
|
|
73
73
|
onFocus: e[2] || (e[2] = (o) => i.value = !0),
|
|
74
74
|
onBlur: e[3] || (e[3] = (o) => i.value = !1)
|
|
75
75
|
}, null, 42, K)), [
|
|
76
|
-
[
|
|
77
|
-
]) : x((
|
|
76
|
+
[C, t(u)]
|
|
77
|
+
]) : x((r(), d("input", {
|
|
78
78
|
key: 1,
|
|
79
|
-
"onUpdate:modelValue": e[4] || (e[4] = (o) =>
|
|
79
|
+
"onUpdate:modelValue": e[4] || (e[4] = (o) => y(u) ? u.value = o : null),
|
|
80
80
|
class: b(t(a).be("button", "original")),
|
|
81
81
|
type: "checkbox",
|
|
82
82
|
name: l.name,
|
|
@@ -88,18 +88,18 @@ const K = ["name", "tabindex", "disabled", "true-value", "false-value"], U = ["n
|
|
|
88
88
|
onFocus: e[6] || (e[6] = (o) => i.value = !0),
|
|
89
89
|
onBlur: e[7] || (e[7] = (o) => i.value = !1)
|
|
90
90
|
}, null, 42, U)), [
|
|
91
|
-
[
|
|
91
|
+
[C, t(u)]
|
|
92
92
|
]),
|
|
93
|
-
n.$slots.default || l.value || l.label ? (
|
|
93
|
+
n.$slots.default || l.value || l.label ? (r(), d("span", {
|
|
94
94
|
key: 2,
|
|
95
95
|
class: b(t(a).be("button", "inner")),
|
|
96
96
|
style: F(t(v) ? h.value : void 0)
|
|
97
97
|
}, [
|
|
98
|
-
|
|
99
|
-
l.label ?
|
|
100
|
-
|
|
98
|
+
V(p(l.label) + " ", 1),
|
|
99
|
+
l.label ? k("", !0) : j(n.$slots, "default", { key: 0 }, () => [
|
|
100
|
+
V(p(l.value), 1)
|
|
101
101
|
])
|
|
102
|
-
], 6)) :
|
|
102
|
+
], 6)) : k("", !0)
|
|
103
103
|
], 2));
|
|
104
104
|
}
|
|
105
105
|
});
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as c, computed as x, provide as h, toRefs as k, watch as g,
|
|
1
|
+
import { defineComponent as c, computed as x, provide as h, toRefs as k, watch as g, createBlock as m, openBlock as n, resolveDynamicComponent as u, unref as l, normalizeClass as y, withCtx as E, createElementBlock as I, renderSlot as B, Fragment as C, renderList as V, nextTick as z } from "vue";
|
|
2
2
|
import "../form/index.js";
|
|
3
3
|
import { UPDATE_MODEL_EVENT as F } from "../../constants/event.js";
|
|
4
4
|
import "@vueuse/core";
|
|
@@ -71,7 +71,7 @@ const A = c({
|
|
|
71
71
|
"aria-labelledby": l(d) ? l(r)?.labelId : void 0
|
|
72
72
|
}, {
|
|
73
73
|
default: E(() => [
|
|
74
|
-
a.options ? (n(!0), I(
|
|
74
|
+
a.options ? (n(!0), I(C, { key: 0 }, V(a.options, (e) => (n(), m(u(a.useButton ? T : L), {
|
|
75
75
|
value: e.value,
|
|
76
76
|
label: e.label,
|
|
77
77
|
indeterminate: e.indeterminate,
|
|
@@ -87,7 +87,7 @@ const A = c({
|
|
|
87
87
|
tabindex: e.tabindex,
|
|
88
88
|
"validate-event": e.validateEvent,
|
|
89
89
|
key: e.value
|
|
90
|
-
}, null, 8, ["value", "label", "indeterminate", "disabled", "checked", "name", "true-value", "false-value", "id", "controls", "border", "size", "tabindex", "validate-event"]))), 128)) :
|
|
90
|
+
}, null, 8, ["value", "label", "indeterminate", "disabled", "checked", "name", "true-value", "false-value", "id", "controls", "border", "size", "tabindex", "validate-event"]))), 128)) : B(t.$slots, "default", { key: 1 })
|
|
91
91
|
]),
|
|
92
92
|
_: 3
|
|
93
93
|
}, 8, ["id", "class", "aria-label", "aria-labelledby"]));
|