vft 0.0.509 → 0.0.513
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/cascader/cascader.vue2.js +202 -203
- package/es/components/cascader-panel/index.vue2.js +1 -1
- package/es/components/cascader-panel/menu.vue2.js +49 -50
- 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 +18 -19
- 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 +133 -134
- 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.vue.d.ts +0 -2
- package/es/components/config-provider/config-provider.vue2.js +4 -5
- package/es/components/config-provider/constants.d.ts +0 -1
- package/es/components/config-provider/constants.js +2 -3
- package/es/components/config-provider/hooks/use-global-config.js +30 -33
- package/es/components/config-provider/index.d.ts +0 -9
- package/es/components/config-provider/index.js +5 -6
- 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/composables/use-basic-date-table.d.ts +1 -1
- package/es/components/date-picker/composables/use-basic-date-table.js +123 -124
- package/es/components/date-picker/composables/use-month-range-header.js +14 -15
- package/es/components/date-picker/composables/use-panel-date-range.js +23 -24
- 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 +39 -40
- package/es/components/date-picker/date-picker-com/basic-year-table.vue2.js +40 -41
- package/es/components/date-picker/date-picker-com/panel-date-pick.vue2.js +178 -179
- package/es/components/date-picker/date-picker-com/panel-date-range.vue2.js +224 -225
- 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/date-time-select/date-time-select.vue2.js +36 -39
- 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 +66 -67
- package/es/components/empty/empty.vue2.js +36 -37
- 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 +17 -18
- 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 +59 -60
- package/es/components/image-viewer/image-viewer.vue2.js +44 -45
- package/es/components/index.d.ts +1 -0
- package/es/components/index.js +213 -211
- package/es/components/input/input.vue2.js +6 -6
- package/es/components/input-number/input-number.vue2.js +4 -4
- 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/logo.vue2.js +10 -10
- package/es/components/md-comment/md-comment.vue2.js +2 -2
- package/es/components/md-container/md-container.vue2.js +74 -75
- package/es/components/md-container/toc.js +36 -37
- 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/index.d.ts +4 -0
- package/es/components/message-box/index.js +14 -0
- package/es/components/message-box/message-box.vue.d.ts +103 -0
- package/es/components/message-box/message-box.vue.js +4 -0
- package/es/components/message-box/message-box.vue2.js +358 -0
- package/es/components/message-box/method.d.ts +3 -0
- package/es/components/message-box/method.js +100 -0
- package/es/components/message-box/style/css.d.ts +2 -0
- package/es/components/message-box/style/css.js +3 -0
- package/es/components/message-box/style/index.d.ts +2 -0
- package/es/components/message-box/style/index.js +3 -0
- package/es/components/message-box/types.d.ts +202 -0
- package/es/components/modal/index.d.ts +1 -0
- package/es/components/modal/modal-footer-action.vue2.js +24 -25
- package/es/components/modal/modal.vue.d.ts +1 -0
- package/es/components/modal/modal.vue2.js +30 -28
- package/es/components/multiple-tabs/multiple-tabs.vue2.js +16 -17
- package/es/components/multiple-tabs/tab-content.vue2.js +2 -2
- package/es/components/multiple-tabs/use/use-tab-dropdown.js +53 -54
- 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 +28 -29
- 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 +20 -21
- package/es/components/pagination/components/total.vue2.js +10 -11
- 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 +39 -40
- package/es/components/popover/popover.vue2.js +1 -1
- 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 +50 -51
- 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/select/useSelect.js +231 -232
- 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 +47 -48
- package/es/components/super-form/super-form-item.vue2.js +204 -206
- package/es/components/super-form/super-form.vue2.js +7 -7
- package/es/components/super-form/use/helper.d.ts +1 -1
- package/es/components/super-form/use/helper.js +63 -63
- package/es/components/super-form/use/use-form.js +8 -8
- package/es/components/switch/switch.vue2.js +1 -1
- package/es/components/table/field.js +111 -130
- package/es/components/table/table.vue2.js +128 -133
- package/es/components/table/use/use-columns.js +26 -29
- package/es/components/table/use/use-data-source.js +59 -60
- 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 +65 -66
- package/es/components/time-picker/time-picker-com/panel-time-range.vue2.js +133 -134
- 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 +58 -59
- package/es/components/transfer/transfer.vue2.js +69 -70
- package/es/components/tree/tree-node.vue.js +1 -1
- package/es/components/tree/tree.vue2.js +59 -60
- package/es/components/upload/upload-content.vue2.js +47 -48
- package/es/components/upload/upload-dragger.vue2.js +2 -2
- package/es/components/upload/upload-list.vue2.js +45 -46
- package/es/components/upload/upload.vue2.js +98 -99
- 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.d.ts +0 -1
- package/es/index.js +39 -42
- package/es/package.json.d.ts +1 -1
- package/es/package.json.js +1 -1
- package/es/plugin.js +5 -3
- package/es/utils/helper.js +2 -2
- package/es/utils/ns-cover.js +1 -1
- package/es/utils/vue/vnode.js +3 -3
- 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/cascader/cascader.vue2.cjs +1 -1
- package/lib/components/cascader-panel/menu.vue2.cjs +4 -4
- package/lib/components/clamp-toggle/clamp-toggle.vue2.cjs +1 -1
- package/lib/components/color-picker/color-picker.vue2.cjs +1 -1
- package/lib/components/config-provider/config-provider.vue.d.ts +0 -2
- package/lib/components/config-provider/config-provider.vue2.cjs +1 -1
- package/lib/components/config-provider/constants.cjs +1 -1
- package/lib/components/config-provider/constants.d.ts +0 -1
- package/lib/components/config-provider/hooks/use-global-config.cjs +1 -1
- package/lib/components/config-provider/index.cjs +1 -1
- package/lib/components/config-provider/index.d.ts +0 -9
- package/lib/components/date-picker/composables/use-basic-date-table.cjs +1 -1
- package/lib/components/date-picker/composables/use-basic-date-table.d.ts +1 -1
- package/lib/components/date-picker/composables/use-month-range-header.cjs +1 -1
- package/lib/components/date-picker/composables/use-panel-date-range.cjs +1 -1
- package/lib/components/date-picker/date-picker-com/basic-month-table.vue2.cjs +1 -1
- package/lib/components/date-picker/date-picker-com/basic-year-table.vue2.cjs +1 -1
- package/lib/components/date-picker/date-picker-com/panel-date-pick.vue2.cjs +1 -1
- package/lib/components/date-picker/date-picker-com/panel-date-range.vue2.cjs +1 -1
- package/lib/components/date-time-select/date-time-select.vue2.cjs +1 -1
- package/lib/components/dropdown/dropdown.vue2.cjs +1 -1
- package/lib/components/empty/empty.vue2.cjs +1 -1
- package/lib/components/full-screen/full-screen.vue2.cjs +1 -1
- package/lib/components/image/image.vue2.cjs +1 -1
- package/lib/components/image-viewer/image-viewer.vue2.cjs +1 -1
- package/lib/components/index.cjs +1 -1
- package/lib/components/index.d.ts +1 -0
- package/lib/components/input/input.vue2.cjs +1 -1
- package/lib/components/md-container/md-container.vue2.cjs +1 -1
- package/lib/components/md-container/toc.cjs +1 -1
- package/lib/components/message-box/index.cjs +1 -0
- package/lib/components/message-box/index.d.ts +4 -0
- package/lib/components/message-box/message-box.vue.cjs +1 -0
- package/lib/components/message-box/message-box.vue.d.ts +103 -0
- package/lib/components/message-box/message-box.vue2.cjs +1 -0
- package/lib/components/message-box/method.cjs +1 -0
- package/lib/components/message-box/method.d.ts +3 -0
- package/lib/components/message-box/style/css.cjs +1 -0
- package/lib/components/message-box/style/css.d.ts +2 -0
- package/lib/components/message-box/style/index.cjs +1 -0
- package/lib/components/message-box/style/index.d.ts +2 -0
- package/lib/components/message-box/types.d.ts +202 -0
- package/lib/components/modal/index.d.ts +1 -0
- package/lib/components/modal/modal-footer-action.vue2.cjs +1 -1
- package/lib/components/modal/modal.vue.d.ts +1 -0
- package/lib/components/modal/modal.vue2.cjs +1 -1
- package/lib/components/multiple-tabs/multiple-tabs.vue2.cjs +1 -1
- package/lib/components/multiple-tabs/use/use-tab-dropdown.cjs +1 -1
- package/lib/components/pagination/components/jumper.vue2.cjs +1 -1
- package/lib/components/pagination/components/sizes.vue2.cjs +1 -1
- package/lib/components/pagination/components/total.vue2.cjs +1 -1
- package/lib/components/popconfirm/index.d.ts +15 -15
- package/lib/components/popconfirm/popconfirm.vue.d.ts +1 -1
- package/lib/components/popconfirm/popconfirm.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.cjs +1 -1
- package/lib/components/select/useSelect.d.ts +4 -4
- package/lib/components/super-form/super-form-action.vue2.cjs +1 -1
- package/lib/components/super-form/super-form-item.vue2.cjs +1 -1
- package/lib/components/super-form/use/helper.cjs +1 -1
- package/lib/components/super-form/use/helper.d.ts +1 -1
- package/lib/components/super-form/use/use-form.cjs +1 -1
- package/lib/components/table/field.cjs +1 -1
- package/lib/components/table/table.vue2.cjs +1 -1
- package/lib/components/table/use/use-columns.cjs +1 -1
- package/lib/components/table/use/use-data-source.cjs +1 -1
- package/lib/components/time-picker/time-picker-com/panel-time-pick.vue2.cjs +1 -1
- package/lib/components/time-picker/time-picker-com/panel-time-range.vue2.cjs +1 -1
- package/lib/components/transfer/transfer-panel.vue2.cjs +1 -1
- package/lib/components/transfer/transfer.vue2.cjs +1 -1
- package/lib/components/tree/tree.vue2.cjs +1 -1
- package/lib/components/upload/upload-content.vue2.cjs +1 -1
- package/lib/components/upload/upload-list.vue2.cjs +1 -1
- package/lib/components/upload/upload.vue2.cjs +1 -1
- package/lib/index.cjs +1 -1
- package/lib/index.d.ts +0 -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 +3 -3
- package/theme-style/index.css +1 -1
- package/theme-style/src/message-box.scss +2 -2
- package/theme-style/src/table.scss +6 -0
- package/theme-style/vft-message-box.css +1 -1
- package/theme-style/vft-table.css +1 -1
- package/web-types.json +1 -1
- package/es/locale/index.d.ts +0 -26
- package/es/locale/index.js +0 -10
- package/es/locale/lang/en.d.ts +0 -183
- package/es/locale/lang/en.js +0 -241
- package/es/locale/lang/zh-cn.d.ts +0 -183
- package/es/locale/lang/zh-cn.js +0 -241
- package/es/locale/lang/zh-tw.d.ts +0 -183
- package/es/locale/lang/zh-tw.js +0 -241
- package/es/locale/use-locale.d.ts +0 -17
- package/es/locale/use-locale.js +0 -56
- package/lib/locale/index.cjs +0 -1
- package/lib/locale/index.d.ts +0 -26
- package/lib/locale/lang/en.cjs +0 -1
- package/lib/locale/lang/en.d.ts +0 -183
- package/lib/locale/lang/zh-cn.cjs +0 -1
- package/lib/locale/lang/zh-cn.d.ts +0 -183
- package/lib/locale/lang/zh-tw.cjs +0 -1
- package/lib/locale/lang/zh-tw.d.ts +0 -183
- package/lib/locale/use-locale.cjs +0 -1
- package/lib/locale/use-locale.d.ts +0 -17
- /package/es/{locale/index.d.js → components/message-box/types.js} +0 -0
- /package/lib/{locale/index.d.cjs → components/message-box/types.cjs} +0 -0
|
@@ -1,114 +1,113 @@
|
|
|
1
|
-
import { getRouterKeyPath as
|
|
2
|
-
import { useMultipleTabStore as S, useTabs as O, isTabPinned as
|
|
1
|
+
import { getRouterKeyPath as a } from "@vft/router";
|
|
2
|
+
import { useMultipleTabStore as S, useTabs as O, isTabPinned as U } from "@vft/store";
|
|
3
3
|
import "@vft/utils";
|
|
4
|
-
import { reactive as
|
|
4
|
+
import { reactive as q, computed as y } from "vue";
|
|
5
5
|
import "../../context-menu/context-menu.vue2.js";
|
|
6
6
|
import "../../icon/index.js";
|
|
7
|
-
import { useLocale as y } from "../../../locale/use-locale.js";
|
|
8
7
|
import "vue-router";
|
|
9
|
-
function
|
|
10
|
-
const
|
|
8
|
+
function F(e, o) {
|
|
9
|
+
const s = q({
|
|
11
10
|
current: null,
|
|
12
11
|
currentIndex: 0
|
|
13
|
-
}),
|
|
14
|
-
refreshPage:
|
|
15
|
-
closeAll:
|
|
16
|
-
close:
|
|
17
|
-
closeLeft:
|
|
18
|
-
closeOther:
|
|
19
|
-
closeRight:
|
|
20
|
-
newWinTab:
|
|
21
|
-
fullScreen:
|
|
22
|
-
alonePage:
|
|
23
|
-
pinTab:
|
|
24
|
-
unpinTab:
|
|
25
|
-
} = O(), D =
|
|
12
|
+
}), n = S(), {
|
|
13
|
+
refreshPage: g,
|
|
14
|
+
closeAll: u,
|
|
15
|
+
close: h,
|
|
16
|
+
closeLeft: p,
|
|
17
|
+
closeOther: f,
|
|
18
|
+
closeRight: x,
|
|
19
|
+
newWinTab: b,
|
|
20
|
+
fullScreen: T,
|
|
21
|
+
alonePage: C,
|
|
22
|
+
pinTab: L,
|
|
23
|
+
unpinTab: v
|
|
24
|
+
} = O(), D = y(() => {
|
|
26
25
|
if (!e)
|
|
27
26
|
return;
|
|
28
|
-
const { meta:
|
|
27
|
+
const { meta: i } = e, t = s.currentIndex, r = U(e), c = !r, l = !!i?.userPinned, w = t === 0 || t <= o, M = n.getTabList.length <= o || t === n.getTabList.length - 1 && n.getLastDragEndIndex >= 0, R = n.getTabList.length === o || n.getTabList.length === o + 1 && t === o, d = n.getTabList.length === o;
|
|
29
28
|
return [
|
|
30
29
|
{
|
|
31
30
|
iconCfg: { icon: "icon-refresh-right" },
|
|
32
|
-
text:
|
|
33
|
-
handler: () =>
|
|
31
|
+
text: "刷新",
|
|
32
|
+
handler: () => g(e)
|
|
34
33
|
},
|
|
35
34
|
{
|
|
36
35
|
iconCfg: { icon: "icon-new-tab" },
|
|
37
|
-
text:
|
|
38
|
-
handler: () =>
|
|
36
|
+
text: "新页面打开",
|
|
37
|
+
handler: () => b(e),
|
|
39
38
|
divider: !0
|
|
40
39
|
},
|
|
41
40
|
{
|
|
42
41
|
iconCfg: { icon: "icon-close-tab" },
|
|
43
|
-
text:
|
|
42
|
+
text: "关闭标签页",
|
|
44
43
|
disabled: r || d,
|
|
45
|
-
handler: () =>
|
|
44
|
+
handler: () => h(e)
|
|
46
45
|
},
|
|
47
46
|
{
|
|
48
47
|
iconCfg: { icon: "icon-arrow-close-left" },
|
|
49
|
-
text:
|
|
50
|
-
disabled:
|
|
51
|
-
handler: () =>
|
|
48
|
+
text: "关闭左侧标签页",
|
|
49
|
+
disabled: w,
|
|
50
|
+
handler: () => p(e)
|
|
52
51
|
},
|
|
53
52
|
{
|
|
54
53
|
iconCfg: { icon: "icon-arrow-close-right" },
|
|
55
|
-
text:
|
|
54
|
+
text: "关闭右侧标签页",
|
|
56
55
|
disabled: M,
|
|
57
56
|
divider: !0,
|
|
58
|
-
handler: () =>
|
|
57
|
+
handler: () => x(e)
|
|
59
58
|
},
|
|
60
59
|
{
|
|
61
60
|
iconCfg: { icon: "icon-close-box-multiple-outline" },
|
|
62
|
-
text:
|
|
61
|
+
text: "关闭其它标签页",
|
|
63
62
|
disabled: R,
|
|
64
|
-
handler: () =>
|
|
63
|
+
handler: () => f(e)
|
|
65
64
|
},
|
|
66
65
|
{
|
|
67
66
|
iconCfg: { icon: "icon-vector-square-delete" },
|
|
68
|
-
text:
|
|
67
|
+
text: "关闭所有标签页",
|
|
69
68
|
disabled: d,
|
|
70
69
|
divider: !0,
|
|
71
|
-
handler: () =>
|
|
70
|
+
handler: () => u()
|
|
72
71
|
},
|
|
73
72
|
{
|
|
74
73
|
iconCfg: { icon: "icon-full-screen" },
|
|
75
|
-
text:
|
|
76
|
-
handler: () =>
|
|
74
|
+
text: "全屏",
|
|
75
|
+
handler: () => T(e)
|
|
77
76
|
},
|
|
78
77
|
{
|
|
79
78
|
iconCfg: { icon: "icon-separate" },
|
|
80
|
-
text:
|
|
81
|
-
handler: () =>
|
|
82
|
-
divider: c ||
|
|
79
|
+
text: "独立页面",
|
|
80
|
+
handler: () => C(e),
|
|
81
|
+
divider: c || l
|
|
83
82
|
},
|
|
84
83
|
...c ? [
|
|
85
84
|
{
|
|
86
85
|
iconCfg: { icon: "icon-tab-pin" },
|
|
87
|
-
text:
|
|
88
|
-
handler: () =>
|
|
86
|
+
text: "固定",
|
|
87
|
+
handler: () => L(e)
|
|
89
88
|
}
|
|
90
|
-
] :
|
|
89
|
+
] : l ? [
|
|
91
90
|
{
|
|
92
91
|
iconCfg: { icon: "icon-tab-unpin" },
|
|
93
|
-
text:
|
|
94
|
-
handler: () =>
|
|
92
|
+
text: "取消固定",
|
|
93
|
+
handler: () => v(e)
|
|
95
94
|
}
|
|
96
95
|
] : []
|
|
97
96
|
];
|
|
98
97
|
});
|
|
99
|
-
function
|
|
100
|
-
return (
|
|
101
|
-
if (!
|
|
98
|
+
function P(i) {
|
|
99
|
+
return (t) => {
|
|
100
|
+
if (!i)
|
|
102
101
|
return;
|
|
103
|
-
|
|
104
|
-
const r =
|
|
105
|
-
(c) =>
|
|
102
|
+
t?.preventDefault();
|
|
103
|
+
const r = n.getTabList.findIndex(
|
|
104
|
+
(c) => a(c) === a(i)
|
|
106
105
|
);
|
|
107
|
-
s.current =
|
|
106
|
+
s.current = i, s.currentIndex = r;
|
|
108
107
|
};
|
|
109
108
|
}
|
|
110
|
-
return { getDropMenuList: D, handleContextMenu:
|
|
109
|
+
return { getDropMenuList: D, handleContextMenu: P };
|
|
111
110
|
}
|
|
112
111
|
export {
|
|
113
|
-
|
|
112
|
+
F as useTabDropdown
|
|
114
113
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as S, ref as W, computed as l, onMounted as Z,
|
|
1
|
+
import { defineComponent as S, ref as W, computed as l, onMounted as Z, openBlock as r, createBlock as m, Transition as A, unref as t, withCtx as F, withDirectives as k, createElementVNode as u, normalizeStyle as h, normalizeClass as s, createCommentVNode as w, toDisplayString as T, renderSlot as G, createElementBlock as M, vShow as E, withModifiers as K } from "vue";
|
|
2
2
|
import { useEventListener as O, useTimeoutFn as U } from "@vueuse/core";
|
|
3
3
|
import { EVENT_CODE as p } from "../../constants/aria.js";
|
|
4
4
|
import "../config-provider/index.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as i, useSlots as y, createVNode as x,
|
|
1
|
+
import { defineComponent as i, useSlots as y, createVNode as x, renderSlot as l, h as r } from "vue";
|
|
2
2
|
import { noop as u } from "@vft/utils";
|
|
3
3
|
import "@vueuse/core";
|
|
4
4
|
import "../config-provider/hooks/use-global-config.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as p,
|
|
1
|
+
import { defineComponent as p, openBlock as n, createElementBlock as l, normalizeClass as r, unref as e, createElementVNode as o, toDisplayString as m, renderSlot as c } from "vue";
|
|
2
2
|
import { useRouterHelper as d } from "@vft/router";
|
|
3
3
|
import "@vueuse/core";
|
|
4
4
|
import "@vft/utils";
|
|
@@ -18,7 +18,7 @@ const u = p({
|
|
|
18
18
|
},
|
|
19
19
|
setup(s) {
|
|
20
20
|
const t = f("page-wrapper"), { getTitle: a } = d();
|
|
21
|
-
return (i, _) => (
|
|
21
|
+
return (i, _) => (n(), l("div", {
|
|
22
22
|
class: r(e(t).b())
|
|
23
23
|
}, [
|
|
24
24
|
o("div", {
|
|
@@ -1,54 +1,53 @@
|
|
|
1
|
-
import { defineComponent as
|
|
1
|
+
import { defineComponent as f, ref as g, computed as v, openBlock as h, createElementBlock as _, unref as e, normalizeClass as t, createElementVNode as i, createVNode as b } from "vue";
|
|
2
2
|
import "@vueuse/core";
|
|
3
3
|
import "@vft/utils";
|
|
4
4
|
import "../../config-provider/hooks/use-global-config.js";
|
|
5
5
|
import "lodash-es";
|
|
6
6
|
import "../../form/index.js";
|
|
7
|
-
import { useNamespace as
|
|
7
|
+
import { useNamespace as z } from "../../../hooks/use-namespace/index.js";
|
|
8
8
|
import "../../../hooks/use-model-toggle/index.js";
|
|
9
9
|
import "@popperjs/core";
|
|
10
10
|
import "../../../hooks/use-z-index/index.js";
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
|
|
14
|
-
const N = ["disabled"], G = /* @__PURE__ */ v({
|
|
11
|
+
import { VftInput as C } from "../../input/index.js";
|
|
12
|
+
import { usePagination as V } from "../usePagination.js";
|
|
13
|
+
const x = ["disabled"], D = /* @__PURE__ */ f({
|
|
15
14
|
__name: "jumper",
|
|
16
15
|
props: {
|
|
17
16
|
size: {}
|
|
18
17
|
},
|
|
19
|
-
setup(
|
|
20
|
-
const
|
|
21
|
-
function
|
|
22
|
-
o.value = +
|
|
18
|
+
setup(r) {
|
|
19
|
+
const n = z("pagination"), { pageCount: l, disabled: s, currentPage: m, changeEvent: p } = V(), o = g(), u = v(() => o.value ?? m?.value);
|
|
20
|
+
function c(a) {
|
|
21
|
+
o.value = +a;
|
|
23
22
|
}
|
|
24
|
-
function
|
|
25
|
-
|
|
23
|
+
function d(a) {
|
|
24
|
+
a = Math.trunc(+a), p?.(+a), o.value = void 0;
|
|
26
25
|
}
|
|
27
|
-
return (
|
|
28
|
-
class:
|
|
26
|
+
return (a, E) => (h(), _("span", {
|
|
27
|
+
class: t(e(n).e("jump")),
|
|
29
28
|
disabled: e(s)
|
|
30
29
|
}, [
|
|
31
|
-
|
|
32
|
-
class:
|
|
33
|
-
},
|
|
34
|
-
|
|
35
|
-
size:
|
|
36
|
-
class:
|
|
30
|
+
i("span", {
|
|
31
|
+
class: t([e(n).e("goto")])
|
|
32
|
+
}, "前往", 2),
|
|
33
|
+
b(e(C), {
|
|
34
|
+
size: r.size,
|
|
35
|
+
class: t([e(n).e("editor"), e(n).is("in-pagination")]),
|
|
37
36
|
min: 1,
|
|
38
|
-
max: e(
|
|
37
|
+
max: e(l),
|
|
39
38
|
disabled: e(s),
|
|
40
|
-
"model-value":
|
|
39
|
+
"model-value": u.value,
|
|
41
40
|
"validate-event": !1,
|
|
42
41
|
type: "number",
|
|
43
|
-
"onUpdate:modelValue":
|
|
44
|
-
onChange:
|
|
42
|
+
"onUpdate:modelValue": c,
|
|
43
|
+
onChange: d
|
|
45
44
|
}, null, 8, ["size", "class", "max", "disabled", "model-value"]),
|
|
46
|
-
|
|
47
|
-
class:
|
|
48
|
-
},
|
|
49
|
-
], 10,
|
|
45
|
+
i("span", {
|
|
46
|
+
class: t([e(n).e("classifier")])
|
|
47
|
+
}, "页", 2)
|
|
48
|
+
], 10, x));
|
|
50
49
|
}
|
|
51
50
|
});
|
|
52
51
|
export {
|
|
53
|
-
|
|
52
|
+
D as default
|
|
54
53
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as l, computed as r,
|
|
1
|
+
import { defineComponent as l, computed as r, openBlock as a, createElementBlock as o, toDisplayString as c, createCommentVNode as s, createVNode as u, unref as m } from "vue";
|
|
2
2
|
import { VftIcon as b } from "../../icon/index.js";
|
|
3
3
|
const f = ["disabled", "aria-disabled"], x = { key: 0 }, p = /* @__PURE__ */ l({
|
|
4
4
|
__name: "next",
|
|
@@ -13,15 +13,15 @@ const f = ["disabled", "aria-disabled"], x = { key: 0 }, p = /* @__PURE__ */ l({
|
|
|
13
13
|
const t = r(
|
|
14
14
|
() => e.disabled || e.currentPage === e.pageCount || e.pageCount === 0
|
|
15
15
|
);
|
|
16
|
-
return (i, n) => (
|
|
16
|
+
return (i, n) => (a(), o("button", {
|
|
17
17
|
type: "button",
|
|
18
18
|
class: "btn-next",
|
|
19
19
|
disabled: t.value,
|
|
20
20
|
"aria-disabled": t.value,
|
|
21
21
|
onClick: n[0] || (n[0] = (d) => i.$emit("click", d))
|
|
22
22
|
}, [
|
|
23
|
-
e.nextText ? (
|
|
24
|
-
|
|
23
|
+
e.nextText ? (a(), o("span", x, c(e.nextText), 1)) : s("", !0),
|
|
24
|
+
u(m(b), {
|
|
25
25
|
icon: "icon-arrow-right",
|
|
26
26
|
size: 16
|
|
27
27
|
})
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as I, ref as f, computed as B, watchEffect as K,
|
|
1
|
+
import { defineComponent as I, ref as f, computed as B, watchEffect as K, openBlock as r, createElementBlock as c, withKeys as V, normalizeClass as d, unref as u, createCommentVNode as m, createBlock as v, Fragment as z, renderList as D, toDisplayString as F } from "vue";
|
|
2
2
|
import "@vueuse/core";
|
|
3
3
|
import "@vft/utils";
|
|
4
4
|
import "../../config-provider/hooks/use-global-config.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as l, computed as d,
|
|
1
|
+
import { defineComponent as l, computed as d, openBlock as o, createElementBlock as a, toDisplayString as s, createCommentVNode as m, createVNode as u, unref as p } from "vue";
|
|
2
2
|
import { VftIcon as b } from "../../icon/index.js";
|
|
3
3
|
const f = ["disabled", "aria-disabled"], v = { key: 0 }, g = /* @__PURE__ */ l({
|
|
4
4
|
__name: "prev",
|
|
@@ -10,15 +10,15 @@ const f = ["disabled", "aria-disabled"], v = { key: 0 }, g = /* @__PURE__ */ l({
|
|
|
10
10
|
emits: ["click"],
|
|
11
11
|
setup(e, { emit: i }) {
|
|
12
12
|
const r = i, t = d(() => e.disabled || e.currentPage <= 1);
|
|
13
|
-
return (k, n) => (
|
|
13
|
+
return (k, n) => (o(), a("button", {
|
|
14
14
|
type: "button",
|
|
15
15
|
class: "btn-prev",
|
|
16
16
|
disabled: t.value,
|
|
17
17
|
"aria-disabled": t.value,
|
|
18
18
|
onClick: n[0] || (n[0] = (c) => r("click", c))
|
|
19
19
|
}, [
|
|
20
|
-
e.prevText ? (
|
|
21
|
-
|
|
20
|
+
e.prevText ? (o(), a("span", v, s(e.prevText), 1)) : m("", !0),
|
|
21
|
+
u(p(b), {
|
|
22
22
|
icon: "icon-arrow-left",
|
|
23
23
|
size: 16
|
|
24
24
|
})
|
|
@@ -1,17 +1,16 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { isEqual as
|
|
1
|
+
import { defineComponent as g, ref as z, watch as n, computed as d, openBlock as f, createElementBlock as S, normalizeClass as h, unref as s, createVNode as v } from "vue";
|
|
2
|
+
import { isEqual as C } from "lodash-es";
|
|
3
3
|
import "@vueuse/core";
|
|
4
4
|
import "@vft/utils";
|
|
5
5
|
import "../../config-provider/hooks/use-global-config.js";
|
|
6
6
|
import "../../form/index.js";
|
|
7
|
-
import { useNamespace as
|
|
7
|
+
import { useNamespace as b } from "../../../hooks/use-namespace/index.js";
|
|
8
8
|
import "../../../hooks/use-model-toggle/index.js";
|
|
9
9
|
import "@popperjs/core";
|
|
10
10
|
import "../../../hooks/use-z-index/index.js";
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
|
|
14
|
-
const K = /* @__PURE__ */ z({
|
|
11
|
+
import { usePagination as y } from "../usePagination.js";
|
|
12
|
+
import { VftSelect as B } from "../../select/index.js";
|
|
13
|
+
const I = /* @__PURE__ */ g({
|
|
15
14
|
__name: "sizes",
|
|
16
15
|
props: {
|
|
17
16
|
pageSize: {},
|
|
@@ -22,13 +21,13 @@ const K = /* @__PURE__ */ z({
|
|
|
22
21
|
},
|
|
23
22
|
emits: ["page-size-change"],
|
|
24
23
|
setup(a, { emit: o }) {
|
|
25
|
-
const
|
|
24
|
+
const l = o, r = b("pagination"), p = y(), i = z(a.pageSize);
|
|
26
25
|
n(
|
|
27
26
|
() => a.pageSizes,
|
|
28
27
|
(e, t) => {
|
|
29
|
-
if (!
|
|
30
|
-
const
|
|
31
|
-
|
|
28
|
+
if (!C(e, t) && Array.isArray(e)) {
|
|
29
|
+
const u = e.includes(a.pageSize) ? a.pageSize : a.pageSizes[0];
|
|
30
|
+
l("page-size-change", u);
|
|
32
31
|
}
|
|
33
32
|
}
|
|
34
33
|
), n(
|
|
@@ -37,27 +36,27 @@ const K = /* @__PURE__ */ z({
|
|
|
37
36
|
i.value = e;
|
|
38
37
|
}
|
|
39
38
|
);
|
|
40
|
-
const
|
|
41
|
-
() => a.pageSizes.map((e) => ({ label: e +
|
|
39
|
+
const m = d(
|
|
40
|
+
() => a.pageSizes.map((e) => ({ label: e + "条/页", value: e }))
|
|
42
41
|
);
|
|
43
|
-
function
|
|
44
|
-
e !== i.value && (i.value = e,
|
|
42
|
+
function c(e) {
|
|
43
|
+
e !== i.value && (i.value = e, p.handleSizeChange?.(Number(e)));
|
|
45
44
|
}
|
|
46
|
-
return (e, t) => (
|
|
47
|
-
class:
|
|
45
|
+
return (e, t) => (f(), S("span", {
|
|
46
|
+
class: h(s(r).e("sizes"))
|
|
48
47
|
}, [
|
|
49
|
-
|
|
48
|
+
v(s(B), {
|
|
50
49
|
"model-value": i.value,
|
|
51
50
|
disabled: a.disabled,
|
|
52
51
|
"popper-class": a.popperClass,
|
|
53
52
|
size: a.size,
|
|
54
53
|
"validate-event": !1,
|
|
55
|
-
onChange:
|
|
56
|
-
options:
|
|
54
|
+
onChange: c,
|
|
55
|
+
options: m.value
|
|
57
56
|
}, null, 8, ["model-value", "disabled", "popper-class", "size", "options"])
|
|
58
57
|
], 2));
|
|
59
58
|
}
|
|
60
59
|
});
|
|
61
60
|
export {
|
|
62
|
-
|
|
61
|
+
I as default
|
|
63
62
|
};
|
|
@@ -1,28 +1,27 @@
|
|
|
1
|
-
import { defineComponent as
|
|
1
|
+
import { defineComponent as i, openBlock as r, createElementBlock as n, unref as t, normalizeClass as s, 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";
|
|
5
5
|
import "lodash-es";
|
|
6
6
|
import "../../form/index.js";
|
|
7
|
-
import { useNamespace as
|
|
7
|
+
import { useNamespace as m } from "../../../hooks/use-namespace/index.js";
|
|
8
8
|
import "../../../hooks/use-model-toggle/index.js";
|
|
9
9
|
import "@popperjs/core";
|
|
10
10
|
import "../../../hooks/use-z-index/index.js";
|
|
11
|
-
import {
|
|
12
|
-
|
|
13
|
-
const f = ["disabled"], L = /* @__PURE__ */ r({
|
|
11
|
+
import { usePagination as l } from "../usePagination.js";
|
|
12
|
+
const c = ["disabled"], D = /* @__PURE__ */ i({
|
|
14
13
|
__name: "total",
|
|
15
14
|
props: {
|
|
16
15
|
total: { default: 0 }
|
|
17
16
|
},
|
|
18
17
|
setup(o) {
|
|
19
|
-
const
|
|
20
|
-
return (
|
|
21
|
-
class:
|
|
22
|
-
disabled: t(
|
|
23
|
-
},
|
|
18
|
+
const e = m("pagination"), { disabled: a } = l();
|
|
19
|
+
return (d, f) => (r(), n("span", {
|
|
20
|
+
class: s(t(e).e("total")),
|
|
21
|
+
disabled: t(a)
|
|
22
|
+
}, "共 " + p(o.total) + " 条", 11, c));
|
|
24
23
|
}
|
|
25
24
|
});
|
|
26
25
|
export {
|
|
27
|
-
|
|
26
|
+
D as default
|
|
28
27
|
};
|
|
@@ -7,14 +7,14 @@ export declare const VftPopconfirm: import("vft/es/utils").SFCWithInstall<{
|
|
|
7
7
|
type: import("vue").PropType<string | number>;
|
|
8
8
|
default: number;
|
|
9
9
|
};
|
|
10
|
-
icon: {
|
|
11
|
-
type: import("vue").PropType<string | import("vft/es/vft").IconProps>;
|
|
12
|
-
default: string;
|
|
13
|
-
};
|
|
14
10
|
teleported: {
|
|
15
11
|
type: import("vue").PropType<boolean>;
|
|
16
12
|
default: boolean;
|
|
17
13
|
};
|
|
14
|
+
icon: {
|
|
15
|
+
type: import("vue").PropType<string | import("vft/es/vft").IconProps>;
|
|
16
|
+
default: string;
|
|
17
|
+
};
|
|
18
18
|
hideAfter: {
|
|
19
19
|
type: import("vue").PropType<number>;
|
|
20
20
|
default: number;
|
|
@@ -52,8 +52,8 @@ export declare const VftPopconfirm: import("vft/es/utils").SFCWithInstall<{
|
|
|
52
52
|
cancel: (val: MouseEvent) => void;
|
|
53
53
|
}, import("vue").PublicProps, {
|
|
54
54
|
width: string | number;
|
|
55
|
-
icon: string | import("vft/es/vft").IconProps;
|
|
56
55
|
teleported: boolean;
|
|
56
|
+
icon: string | import("vft/es/vft").IconProps;
|
|
57
57
|
hideAfter: number;
|
|
58
58
|
persistent: boolean;
|
|
59
59
|
confirmButtonType: import("vft/es/vft").ButtonType;
|
|
@@ -74,14 +74,14 @@ export declare const VftPopconfirm: import("vft/es/utils").SFCWithInstall<{
|
|
|
74
74
|
type: import("vue").PropType<string | number>;
|
|
75
75
|
default: number;
|
|
76
76
|
};
|
|
77
|
-
icon: {
|
|
78
|
-
type: import("vue").PropType<string | import("vft/es/vft").IconProps>;
|
|
79
|
-
default: string;
|
|
80
|
-
};
|
|
81
77
|
teleported: {
|
|
82
78
|
type: import("vue").PropType<boolean>;
|
|
83
79
|
default: boolean;
|
|
84
80
|
};
|
|
81
|
+
icon: {
|
|
82
|
+
type: import("vue").PropType<string | import("vft/es/vft").IconProps>;
|
|
83
|
+
default: string;
|
|
84
|
+
};
|
|
85
85
|
hideAfter: {
|
|
86
86
|
type: import("vue").PropType<number>;
|
|
87
87
|
default: number;
|
|
@@ -116,8 +116,8 @@ export declare const VftPopconfirm: import("vft/es/utils").SFCWithInstall<{
|
|
|
116
116
|
onConfirm?: ((val: MouseEvent) => any) | undefined;
|
|
117
117
|
}>, {}, {}, {}, {}, {
|
|
118
118
|
width: string | number;
|
|
119
|
-
icon: string | import("vft/es/vft").IconProps;
|
|
120
119
|
teleported: boolean;
|
|
120
|
+
icon: string | import("vft/es/vft").IconProps;
|
|
121
121
|
hideAfter: number;
|
|
122
122
|
persistent: boolean;
|
|
123
123
|
confirmButtonType: import("vft/es/vft").ButtonType;
|
|
@@ -135,14 +135,14 @@ export declare const VftPopconfirm: import("vft/es/utils").SFCWithInstall<{
|
|
|
135
135
|
type: import("vue").PropType<string | number>;
|
|
136
136
|
default: number;
|
|
137
137
|
};
|
|
138
|
-
icon: {
|
|
139
|
-
type: import("vue").PropType<string | import("vft/es/vft").IconProps>;
|
|
140
|
-
default: string;
|
|
141
|
-
};
|
|
142
138
|
teleported: {
|
|
143
139
|
type: import("vue").PropType<boolean>;
|
|
144
140
|
default: boolean;
|
|
145
141
|
};
|
|
142
|
+
icon: {
|
|
143
|
+
type: import("vue").PropType<string | import("vft/es/vft").IconProps>;
|
|
144
|
+
default: string;
|
|
145
|
+
};
|
|
146
146
|
hideAfter: {
|
|
147
147
|
type: import("vue").PropType<number>;
|
|
148
148
|
default: number;
|
|
@@ -180,8 +180,8 @@ export declare const VftPopconfirm: import("vft/es/utils").SFCWithInstall<{
|
|
|
180
180
|
cancel: (val: MouseEvent) => void;
|
|
181
181
|
}, string, {
|
|
182
182
|
width: string | number;
|
|
183
|
-
icon: string | import("vft/es/vft").IconProps;
|
|
184
183
|
teleported: boolean;
|
|
184
|
+
icon: string | import("vft/es/vft").IconProps;
|
|
185
185
|
hideAfter: number;
|
|
186
186
|
persistent: boolean;
|
|
187
187
|
confirmButtonType: import("vft/es/vft").ButtonType;
|
|
@@ -43,8 +43,8 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
43
43
|
onConfirm?: ((val: MouseEvent) => any) | undefined;
|
|
44
44
|
}>, {
|
|
45
45
|
width: string | number;
|
|
46
|
-
icon: string | IconProps;
|
|
47
46
|
teleported: boolean;
|
|
47
|
+
icon: string | IconProps;
|
|
48
48
|
hideAfter: number;
|
|
49
49
|
persistent: boolean;
|
|
50
50
|
confirmButtonType: ButtonType;
|