bkui-vue 2.0.1-beta.3 → 2.0.1-beta.31
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.cjs.js +166 -166
- package/dist/index.esm.js +31940 -31804
- package/dist/index.umd.js +166 -166
- package/dist/style.css +1 -1
- package/dist/style.variable.css +1 -1
- package/lib/affix/affix.css +130 -0
- package/lib/affix/affix.variable.css +262 -1
- package/lib/affix/index.js +7 -7
- package/lib/alert/alert.css +133 -3
- package/lib/alert/alert.d.ts +5 -12
- package/lib/alert/alert.variable.css +262 -1
- package/lib/alert/index.d.ts +11 -26
- package/lib/alert/index.js +0 -1
- package/lib/backtop/backtop.css +133 -3
- package/lib/backtop/backtop.d.ts +1 -1
- package/lib/backtop/backtop.variable.css +395 -4
- package/lib/backtop/index.d.ts +3 -3
- package/lib/backtop/index.js +6 -6
- package/lib/badge/badge.css +156 -26
- package/lib/badge/badge.variable.css +262 -1
- package/lib/badge/index.js +1 -1
- package/lib/breadcrumb/breadcrumb.css +135 -5
- package/lib/breadcrumb/breadcrumb.variable.css +397 -6
- package/lib/button/button.css +273 -143
- package/lib/button/button.d.ts +7 -7
- package/lib/button/button.variable.css +262 -1
- package/lib/button/index.d.ts +8 -8
- package/lib/button/index.js +6 -7
- package/lib/card/card.css +134 -4
- package/lib/card/card.variable.css +396 -5
- package/lib/cascader/cascader-panel.d.ts +1 -1
- package/lib/cascader/cascader.css +156 -26
- package/lib/cascader/cascader.d.ts +1 -1
- package/lib/cascader/cascader.less +4 -4
- package/lib/cascader/cascader.variable.css +418 -27
- package/lib/cascader/index.js +36 -36
- package/lib/cascader/interface.d.ts +1 -1
- package/lib/checkbox/checkbox-group.d.ts +0 -16
- package/lib/checkbox/checkbox.css +139 -9
- package/lib/checkbox/checkbox.d.ts +7 -7
- package/lib/checkbox/checkbox.variable.css +262 -1
- package/lib/checkbox/index.d.ts +11 -22
- package/lib/checkbox/index.js +12 -5
- package/lib/checkbox/type.d.ts +1 -1
- package/lib/code-diff/code-diff.css +130 -0
- package/lib/code-diff/code-diff.variable.css +262 -1
- package/lib/code-diff/index.js +8 -8
- package/lib/collapse/collapse.css +131 -1
- package/lib/collapse/collapse.variable.css +262 -1
- package/lib/collapse/index.js +2 -2
- package/lib/collapse/utils.d.ts +2 -2
- package/lib/collapse-transition/collapse-transition.css +130 -0
- package/lib/collapse-transition/collapse-transition.variable.css +262 -1
- package/lib/color-picker/color-picker.css +133 -3
- package/lib/color-picker/color-picker.less +3 -3
- package/lib/color-picker/color-picker.variable.css +265 -4
- package/lib/color-picker/index.js +45 -45
- package/lib/components.d.ts +32 -32
- package/lib/components.js +31 -31
- package/lib/config-provider/config-provider.css +130 -0
- package/lib/config-provider/config-provider.variable.css +262 -1
- package/lib/config-provider/index.d.ts +1 -1
- package/lib/container/container.css +130 -0
- package/lib/container/container.variable.css +392 -1
- package/lib/container/index.js +6 -7
- package/lib/date-picker/base/date-table.d.ts +1 -1
- package/lib/date-picker/base/month-table.d.ts +1 -1
- package/lib/date-picker/base/picker-dropdown.d.ts +1 -1
- package/lib/date-picker/base/year-table.d.ts +3 -3
- package/lib/date-picker/date-picker.css +147 -17
- package/lib/date-picker/date-picker.d.ts +0 -10
- package/lib/date-picker/date-picker.variable.css +262 -1
- package/lib/date-picker/index.d.ts +0 -22
- package/lib/date-picker/index.js +320 -223
- package/lib/date-picker/interface.d.ts +9 -9
- package/lib/date-picker/panel/date-range.d.ts +6 -68
- package/lib/date-picker/panel/date.d.ts +1 -1
- package/lib/date-picker/panel/time-range.d.ts +1 -10
- package/lib/date-picker/panel/time.d.ts +1 -10
- package/lib/date-picker/props.d.ts +1 -5
- package/lib/date-picker/time-picker.d.ts +0 -9
- package/lib/date-picker/utils.d.ts +5 -1
- package/lib/dialog/dialog.css +138 -12
- package/lib/dialog/dialog.d.ts +36 -20
- package/lib/dialog/dialog.variable.css +400 -13
- package/lib/dialog/index.d.ts +78 -44
- package/lib/dialog/index.js +22 -22
- package/lib/dialog/props.d.ts +15 -8
- package/lib/directives/index.d.ts +3 -3
- package/lib/directives/index.js +166 -166
- package/lib/directives/tooltips.d.ts +1 -1
- package/lib/dist.index.js +2 -4
- package/lib/divider/divider.css +133 -3
- package/lib/divider/divider.d.ts +5 -5
- package/lib/divider/divider.variable.css +262 -1
- package/lib/divider/index.d.ts +11 -11
- package/lib/divider/index.js +2 -2
- package/lib/divider/props.d.ts +2 -2
- package/lib/dropdown/dropdown-item.d.ts +1 -1
- package/lib/dropdown/dropdown-menu.d.ts +1 -1
- package/lib/dropdown/dropdown.css +130 -0
- package/lib/dropdown/dropdown.d.ts +5 -5
- package/lib/dropdown/dropdown.variable.css +392 -1
- package/lib/dropdown/index.d.ts +13 -13
- package/lib/dropdown/index.js +7 -7
- package/lib/exception/exception.css +130 -0
- package/lib/exception/exception.d.ts +9 -9
- package/lib/exception/exception.variable.css +262 -1
- package/lib/exception/index.d.ts +11 -11
- package/lib/exception/index.js +10 -10
- package/lib/exception/typings/index.d.ts +1 -1
- package/lib/fixed-navbar/fixed-navbar.css +134 -4
- package/lib/fixed-navbar/fixed-navbar.variable.css +262 -1
- package/lib/fixed-navbar/index.js +2 -2
- package/lib/form/form-item.d.ts +0 -16
- package/lib/form/form.css +130 -0
- package/lib/form/form.d.ts +2 -2
- package/lib/form/form.variable.css +262 -1
- package/lib/form/index.d.ts +0 -11
- package/lib/form/index.js +14 -16
- package/lib/form/type.d.ts +2 -2
- package/lib/icon/index.d.ts +11 -11
- package/lib/icon/index.js +11 -11
- package/lib/image/image-viewer.css +130 -0
- package/lib/image/image-viewer.d.ts +1 -1
- package/lib/image/image-viewer.variable.css +262 -1
- package/lib/image/image.css +130 -0
- package/lib/image/image.variable.css +392 -1
- package/lib/image/index.js +20 -21
- package/lib/index.d.ts +9 -3
- package/lib/index.js +5 -29
- package/lib/info-box/index.js +13 -13
- package/lib/info-box/info-box.css +134 -4
- package/lib/info-box/info-box.d.ts +15 -15
- package/lib/info-box/info-box.variable.css +262 -1
- package/lib/input/index.d.ts +15 -15
- package/lib/input/index.js +16 -17
- package/lib/input/input.css +202 -72
- package/lib/input/input.d.ts +15 -15
- package/lib/input/input.variable.css +464 -73
- package/lib/link/index.d.ts +11 -11
- package/lib/link/index.js +3 -3
- package/lib/link/link.css +146 -16
- package/lib/link/link.d.ts +5 -5
- package/lib/link/link.variable.css +262 -1
- package/lib/loading/index.d.ts +4 -4
- package/lib/loading/index.js +6 -6
- package/lib/loading/loading.css +146 -16
- package/lib/loading/loading.d.ts +6 -6
- package/lib/loading/loading.variable.css +408 -17
- package/lib/locale/index.d.ts +1 -1
- package/lib/menu/index.js +0 -1
- package/lib/menu/menu.css +148 -18
- package/lib/menu/menu.variable.css +410 -19
- package/lib/menu/submenu.css +130 -0
- package/lib/menu/submenu.variable.css +262 -1
- package/lib/menu/utils.d.ts +3 -3
- package/lib/message/index.js +18 -18
- package/lib/message/message.css +151 -21
- package/lib/message/message.variable.css +262 -1
- package/lib/message/messageConstructor.d.ts +11 -11
- package/lib/modal/index.d.ts +49 -8
- package/lib/modal/index.js +46 -25
- package/lib/modal/modal.css +134 -8
- package/lib/modal/modal.d.ts +19 -3
- package/lib/modal/modal.less +0 -5
- package/lib/modal/modal.variable.css +396 -9
- package/lib/modal/props.mixin.d.ts +8 -1
- package/lib/navigation/index.js +20 -20
- package/lib/navigation/navigation.css +132 -2
- package/lib/navigation/navigation.d.ts +1 -1
- package/lib/navigation/navigation.variable.css +262 -1
- package/lib/notify/index.js +4 -4
- package/lib/notify/notify.css +137 -7
- package/lib/notify/notify.variable.css +262 -1
- package/lib/overflow-title/components/overflow-title.d.ts +9 -9
- package/lib/overflow-title/index.d.ts +19 -19
- package/lib/overflow-title/index.js +61 -11
- package/lib/overflow-title/props.d.ts +18 -18
- package/lib/pagination/index.d.ts +0 -19
- package/lib/pagination/index.js +44 -23
- package/lib/pagination/pagination.css +139 -9
- package/lib/pagination/pagination.d.ts +0 -13
- package/lib/pagination/pagination.less +14 -13
- package/lib/pagination/pagination.variable.css +270 -9
- package/lib/pagination/type.d.ts +1 -1
- package/lib/pagination/use-limit.d.ts +1 -1
- package/lib/pagination/use-total.d.ts +1 -1
- package/lib/plugin-popover/index.js +18 -20
- package/lib/pop-confirm/index.d.ts +11 -43
- package/lib/pop-confirm/index.js +27 -28
- package/lib/pop-confirm/pop-confirm.css +133 -1
- package/lib/pop-confirm/pop-confirm.d.ts +5 -19
- package/lib/pop-confirm/pop-confirm.less +3 -1
- package/lib/pop-confirm/pop-confirm.variable.css +265 -2
- package/lib/pop-confirm/props.d.ts +5 -11
- package/lib/popover/const.d.ts +3 -3
- package/lib/popover/index.d.ts +19 -19
- package/lib/popover/index.js +18 -20
- package/lib/popover/plugin-popover.d.ts +1 -1
- package/lib/popover/popover.css +130 -0
- package/lib/popover/popover.d.ts +7 -7
- package/lib/popover/popover.variable.css +262 -1
- package/lib/popover/props.d.ts +4 -4
- package/lib/preset.d.ts +0 -1
- package/lib/preset.js +0 -1
- package/lib/process/index.js +3 -3
- package/lib/process/process.css +143 -13
- package/lib/process/process.variable.css +262 -1
- package/lib/progress/index.d.ts +11 -11
- package/lib/progress/index.js +10 -11
- package/lib/progress/progress.css +134 -4
- package/lib/progress/progress.d.ts +7 -7
- package/lib/progress/progress.variable.css +396 -5
- package/lib/radio/index.d.ts +21 -21
- package/lib/radio/index.js +28 -17
- package/lib/radio/radio-button.d.ts +7 -7
- package/lib/radio/radio-group.d.ts +7 -7
- package/lib/radio/radio.css +172 -42
- package/lib/radio/radio.d.ts +7 -7
- package/lib/radio/radio.variable.css +262 -1
- package/lib/radio/type.d.ts +1 -1
- package/lib/rate/index.js +8 -8
- package/lib/rate/rate.css +157 -0
- package/lib/rate/rate.less +33 -0
- package/lib/rate/rate.variable.css +289 -1
- package/lib/resize-layout/index.d.ts +11 -11
- package/lib/resize-layout/index.js +7 -8
- package/lib/resize-layout/resize-layout.css +130 -0
- package/lib/resize-layout/resize-layout.d.ts +5 -5
- package/lib/resize-layout/resize-layout.variable.css +262 -1
- package/lib/scrollbar/index.js +63 -11
- package/lib/scrollbar/scrollbar-core/index.d.ts +21 -20
- package/lib/scrollbar/scrollbar.css +157 -8
- package/lib/scrollbar/scrollbar.less +35 -10
- package/lib/scrollbar/scrollbar.variable.css +289 -9
- package/lib/search-select/index.js +66 -66
- package/lib/search-select/menu.d.ts +1 -1
- package/lib/search-select/search-select.css +163 -33
- package/lib/search-select/search-select.variable.css +425 -34
- package/lib/search-select/selected.d.ts +1 -1
- package/lib/search-select/utils.d.ts +3 -3
- package/lib/select/common.d.ts +4 -4
- package/lib/select/index.d.ts +94 -70
- package/lib/select/index.js +176 -150
- package/lib/select/option.d.ts +1 -1
- package/lib/select/select.css +172 -43
- package/lib/select/select.d.ts +37 -27
- package/lib/select/select.less +3 -4
- package/lib/select/select.variable.css +434 -44
- package/lib/select/selectTagInput.d.ts +6 -6
- package/lib/select/type.d.ts +2 -2
- package/lib/shared/frame-throttle.d.ts +15 -0
- package/lib/shared/index.d.ts +2 -1
- package/lib/shared/index.js +110 -47
- package/lib/shared/popover.d.ts +3 -3
- package/lib/shared/token.d.ts +1 -1
- package/lib/shared/vue-types.d.ts +46 -46
- package/lib/shared/z-index-manager.d.ts +6 -6
- package/lib/sideslider/index.d.ts +41 -7
- package/lib/sideslider/index.js +12 -11
- package/lib/sideslider/sideslider.css +138 -9
- package/lib/sideslider/sideslider.d.ts +19 -3
- package/lib/sideslider/sideslider.less +7 -8
- package/lib/sideslider/sideslider.variable.css +269 -9
- package/lib/slider/index.js +21 -23
- package/lib/slider/slider.css +135 -5
- package/lib/slider/slider.variable.css +262 -1
- package/lib/steps/index.d.ts +14 -29
- package/lib/steps/index.js +3 -4
- package/lib/steps/steps.css +168 -38
- package/lib/steps/steps.d.ts +8 -18
- package/lib/steps/steps.variable.css +262 -1
- package/lib/styles/index.d.ts +0 -1
- package/lib/styles/mixins/animate.css +130 -0
- package/lib/styles/mixins/animate.variable.css +262 -1
- package/lib/styles/mixins/mixins.css +130 -0
- package/lib/styles/mixins/mixins.variable.css +130 -0
- package/lib/styles/mixins/popper.css +130 -0
- package/lib/styles/mixins/popper.variable.css +262 -1
- package/lib/styles/mixins/scroll.css +130 -0
- package/lib/styles/mixins/scroll.variable.css +262 -1
- package/lib/styles/reset.css +130 -0
- package/lib/styles/reset.variable.css +262 -1
- package/lib/{rate/star.variable.css → styles/themes/themes.css} +2 -28
- package/lib/styles/themes/themes.less +299 -129
- package/lib/styles/themes/themes.variable.css +130 -0
- package/lib/swiper/index.js +5 -5
- package/lib/swiper/swiper.css +130 -0
- package/lib/swiper/swiper.variable.css +262 -1
- package/lib/switcher/index.js +2 -2
- package/lib/switcher/switcher.css +147 -17
- package/lib/switcher/switcher.d.ts +2 -2
- package/lib/switcher/switcher.variable.css +409 -18
- package/lib/tab/index.d.ts +22 -22
- package/lib/tab/index.js +15 -15
- package/lib/tab/props.d.ts +15 -15
- package/lib/tab/tab-nav.d.ts +10 -10
- package/lib/tab/tab.css +147 -17
- package/lib/tab/tab.d.ts +10 -10
- package/lib/tab/tab.variable.css +262 -1
- package/lib/table/components/ghost-body.d.ts +2 -0
- package/lib/table/components/table-column.d.ts +25 -126
- package/lib/table/const.d.ts +22 -10
- package/lib/table/events.d.ts +16 -112
- package/lib/table/hooks/use-cell.d.ts +20 -0
- package/lib/table/hooks/use-column-resize.d.ts +7 -0
- package/lib/table/hooks/use-column-template.d.ts +5 -0
- package/lib/table/hooks/use-columns.d.ts +66 -0
- package/lib/table/{plugins → hooks}/use-draggable.d.ts +2 -2
- package/lib/table/hooks/use-fixed-column.d.ts +10 -0
- package/lib/table/hooks/use-head.d.ts +16 -0
- package/lib/table/hooks/use-layout.d.ts +23 -0
- package/lib/table/hooks/use-pagination.d.ts +16 -0
- package/lib/table/hooks/use-render.d.ts +23 -0
- package/lib/table/hooks/use-rows.d.ts +27 -0
- package/lib/table/hooks/use-settings.d.ts +130 -0
- package/lib/table/hooks/use-shift-key.d.ts +15 -0
- package/lib/table/index.d.ts +72 -634
- package/lib/table/index.js +3478 -3408
- package/lib/table/plugins/head-filter.css +130 -0
- package/lib/table/plugins/head-filter.d.ts +2 -1
- package/lib/table/plugins/head-filter.variable.css +262 -1
- package/lib/table/plugins/head-sort.css +130 -0
- package/lib/table/plugins/head-sort.variable.css +262 -1
- package/lib/table/plugins/settings.css +131 -0
- package/lib/table/plugins/settings.less +1 -0
- package/lib/table/plugins/settings.variable.css +263 -1
- package/lib/table/props.d.ts +94 -62
- package/lib/table/table.css +433 -260
- package/lib/table/table.d.ts +31 -185
- package/lib/table/table.less +120 -99
- package/lib/table/table.variable.css +695 -261
- package/lib/table/utils.d.ts +36 -10
- package/lib/table-column/index.d.ts +36 -289
- package/lib/table-column/index.js +17335 -45
- package/lib/tag/index.d.ts +11 -11
- package/lib/tag/index.js +2 -2
- package/lib/tag/tag.css +135 -5
- package/lib/tag/tag.d.ts +5 -5
- package/lib/tag/tag.variable.css +262 -1
- package/lib/tag-input/common.d.ts +1 -1
- package/lib/tag-input/index.d.ts +8 -8
- package/lib/tag-input/index.js +30 -30
- package/lib/tag-input/tag-input.css +148 -18
- package/lib/tag-input/tag-input.d.ts +4 -4
- package/lib/tag-input/tag-input.variable.css +262 -1
- package/lib/tag-input/tag-props.d.ts +2 -2
- package/lib/time-picker/index.d.ts +0 -19
- package/lib/time-picker/time-picker.css +130 -0
- package/lib/time-picker/time-picker.variable.css +262 -1
- package/lib/timeline/index.js +2 -2
- package/lib/timeline/timeline.css +149 -19
- package/lib/timeline/timeline.variable.css +262 -1
- package/lib/transfer/const.d.ts +2 -2
- package/lib/transfer/index.js +19 -19
- package/lib/transfer/transfer.css +158 -28
- package/lib/transfer/transfer.less +3 -3
- package/lib/transfer/transfer.variable.css +271 -10
- package/lib/tree/constant.d.ts +20 -20
- package/lib/tree/index.d.ts +32 -24
- package/lib/tree/index.js +66 -52
- package/lib/tree/props.d.ts +18 -11
- package/lib/tree/tree.css +166 -17
- package/lib/tree/tree.d.ts +14 -16
- package/lib/tree/tree.less +1 -1
- package/lib/tree/tree.variable.css +428 -18
- package/lib/tree/use-empty.d.ts +1 -1
- package/lib/tree/use-node-action.d.ts +8 -8
- package/lib/tree/use-node-attribute.d.ts +42 -34
- package/lib/tree/use-search.d.ts +1 -1
- package/lib/tree/util.d.ts +1 -1
- package/lib/upload/index.js +41 -35
- package/lib/upload/props.d.ts +1 -1
- package/lib/upload/upload.css +157 -27
- package/lib/upload/upload.type.d.ts +7 -7
- package/lib/upload/upload.variable.css +419 -28
- package/lib/upload/use-file-handler.d.ts +1 -1
- package/lib/virtual-render/index.d.ts +12 -23
- package/lib/virtual-render/index.js +17290 -24
- package/lib/virtual-render/props.d.ts +2 -3
- package/lib/virtual-render/use-fix-top.d.ts +1 -1
- package/lib/virtual-render/v-virtual-render.d.ts +1 -1
- package/lib/virtual-render/virtual-render.css +157 -8
- package/lib/virtual-render/virtual-render.d.ts +6 -11
- package/lib/virtual-render/virtual-render.variable.css +419 -9
- package/package.json +17 -55
- package/lib/rate/star.css +0 -27
- package/lib/rate/star.less +0 -34
- package/lib/table/plugins/col-group.d.ts +0 -38
- package/lib/table/plugins/settings.d.ts +0 -16
- package/lib/table/plugins/use-active-columns.d.ts +0 -16
- package/lib/table/plugins/use-column-resize.d.ts +0 -35
- package/lib/table/plugins/use-column-template.d.ts +0 -7
- package/lib/table/plugins/use-fixed-column.d.ts +0 -27
- package/lib/table/plugins/use-head-cell.d.ts +0 -7
- package/lib/table/plugins/use-pagination.d.ts +0 -23
- package/lib/table/plugins/use-shift-key.d.ts +0 -11
- package/lib/table/use-attributes.d.ts +0 -62
- package/lib/table/use-column.d.ts +0 -275
- package/lib/table/use-common.d.ts +0 -1679
- package/lib/table/use-render.d.ts +0 -11
- /package/lib/table/{plugins → components}/body-empty.d.ts +0 -0
- /package/lib/table/{plugins → hooks}/use-observer-resize.d.ts +0 -0
- /package/lib/table/{plugins → hooks}/use-scroll-loading.d.ts +0 -0
@@ -59,25 +59,50 @@ var external_vue_types_x = y => { var x = {}; __webpack_require__.d(x, y); retur
|
|
59
59
|
var external_vue_types_y = x => () => x
|
60
60
|
const external_vue_types_namespaceObject = external_vue_types_x({ ["string"]: () => __WEBPACK_EXTERNAL_MODULE_vue_types_22de060a__.string });
|
61
61
|
;// CONCATENATED MODULE: ../../packages/overflow-title/src/props.ts
|
62
|
+
/*
|
63
|
+
* Tencent is pleased to support the open source community by making
|
64
|
+
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
65
|
+
*
|
66
|
+
* Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved.
|
67
|
+
*
|
68
|
+
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
|
69
|
+
*
|
70
|
+
* License for 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition):
|
71
|
+
*
|
72
|
+
* ---------------------------------------------------
|
73
|
+
* Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
|
74
|
+
* documentation files (the "Software"), to deal in the Software without restriction, including without limitation
|
75
|
+
* the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and
|
76
|
+
* to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
77
|
+
*
|
78
|
+
* The above copyright notice and this permission notice shall be included in all copies or substantial portions of
|
79
|
+
* the Software.
|
80
|
+
*
|
81
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO
|
82
|
+
* THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
83
|
+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF
|
84
|
+
* CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
85
|
+
* IN THE SOFTWARE.
|
86
|
+
*/
|
62
87
|
|
63
88
|
|
64
89
|
var PlacementEnum;
|
65
90
|
(function (PlacementEnum) {
|
66
91
|
PlacementEnum["AUTO"] = "auto";
|
67
|
-
PlacementEnum["AUTO_START"] = "auto-start";
|
68
92
|
PlacementEnum["AUTO_END"] = "auto-end";
|
69
|
-
PlacementEnum["
|
70
|
-
PlacementEnum["RIGHT"] = "right";
|
93
|
+
PlacementEnum["AUTO_START"] = "auto-start";
|
71
94
|
PlacementEnum["BOTTOM"] = "bottom";
|
72
|
-
PlacementEnum["LEFT"] = "left";
|
73
|
-
PlacementEnum["TOP_START"] = "top-start";
|
74
|
-
PlacementEnum["TOP_END"] = "top-end";
|
75
|
-
PlacementEnum["BOTTOM_START"] = "bottom-start";
|
76
95
|
PlacementEnum["BOTTOM_END"] = "bottom-end";
|
77
|
-
PlacementEnum["
|
78
|
-
PlacementEnum["
|
79
|
-
PlacementEnum["LEFT_START"] = "left-start";
|
96
|
+
PlacementEnum["BOTTOM_START"] = "bottom-start";
|
97
|
+
PlacementEnum["LEFT"] = "left";
|
80
98
|
PlacementEnum["LEFT_END"] = "left-end";
|
99
|
+
PlacementEnum["LEFT_START"] = "left-start";
|
100
|
+
PlacementEnum["RIGHT"] = "right";
|
101
|
+
PlacementEnum["RIGHT_END"] = "right-end";
|
102
|
+
PlacementEnum["RIGHT_START"] = "right-start";
|
103
|
+
PlacementEnum["TOP"] = "top";
|
104
|
+
PlacementEnum["TOP_END"] = "top-end";
|
105
|
+
PlacementEnum["TOP_START"] = "top-start";
|
81
106
|
})(PlacementEnum || (PlacementEnum = {}));
|
82
107
|
function placementType() {
|
83
108
|
return (0,external_vue_types_namespaceObject.string)().def(PlacementEnum.BOTTOM);
|
@@ -93,6 +118,31 @@ function placementType() {
|
|
93
118
|
});
|
94
119
|
;// CONCATENATED MODULE: ../../packages/overflow-title/src/components/overflow-title.tsx
|
95
120
|
|
121
|
+
/*
|
122
|
+
* Tencent is pleased to support the open source community by making
|
123
|
+
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
124
|
+
*
|
125
|
+
* Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved.
|
126
|
+
*
|
127
|
+
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
|
128
|
+
*
|
129
|
+
* License for 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition):
|
130
|
+
*
|
131
|
+
* ---------------------------------------------------
|
132
|
+
* Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
|
133
|
+
* documentation files (the "Software"), to deal in the Software without restriction, including without limitation
|
134
|
+
* the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and
|
135
|
+
* to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
136
|
+
*
|
137
|
+
* The above copyright notice and this permission notice shall be included in all copies or substantial portions of
|
138
|
+
* the Software.
|
139
|
+
*
|
140
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO
|
141
|
+
* THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
142
|
+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF
|
143
|
+
* CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
144
|
+
* IN THE SOFTWARE.
|
145
|
+
*/
|
96
146
|
|
97
147
|
|
98
148
|
|
@@ -162,8 +212,8 @@ function placementType() {
|
|
162
212
|
"ref": "boxRef",
|
163
213
|
"class": "position-relative"
|
164
214
|
}, [(0,external_vue_namespaceObject.createVNode)(popover_namespaceObject["default"], (0,external_vue_namespaceObject.mergeProps)({
|
165
|
-
"placement": this.placement,
|
166
215
|
"boundary": this.boundary || document.body,
|
216
|
+
"placement": this.placement,
|
167
217
|
"popoverDelay": [200, 0]
|
168
218
|
}, props.popoverOptions, {
|
169
219
|
"disabled": this.type === 'title' || !this.isShowTips
|
@@ -1,25 +1,25 @@
|
|
1
1
|
import { PropType } from 'vue/dist/vue';
|
2
2
|
export type TipsType = 'tips' | 'title';
|
3
|
-
export type CalType = '
|
3
|
+
export type CalType = 'canvas' | 'dom';
|
4
4
|
export declare enum PlacementEnum {
|
5
5
|
AUTO = "auto",
|
6
|
-
AUTO_START = "auto-start",
|
7
6
|
AUTO_END = "auto-end",
|
8
|
-
|
9
|
-
RIGHT = "right",
|
7
|
+
AUTO_START = "auto-start",
|
10
8
|
BOTTOM = "bottom",
|
11
|
-
LEFT = "left",
|
12
|
-
TOP_START = "top-start",
|
13
|
-
TOP_END = "top-end",
|
14
|
-
BOTTOM_START = "bottom-start",
|
15
9
|
BOTTOM_END = "bottom-end",
|
16
|
-
|
17
|
-
|
10
|
+
BOTTOM_START = "bottom-start",
|
11
|
+
LEFT = "left",
|
12
|
+
LEFT_END = "left-end",
|
18
13
|
LEFT_START = "left-start",
|
19
|
-
|
14
|
+
RIGHT = "right",
|
15
|
+
RIGHT_END = "right-end",
|
16
|
+
RIGHT_START = "right-start",
|
17
|
+
TOP = "top",
|
18
|
+
TOP_END = "top-end",
|
19
|
+
TOP_START = "top-start"
|
20
20
|
}
|
21
|
-
export declare function placementType(): import("vue-types").VueTypeValidableDef<"auto" | "auto-
|
22
|
-
default: "auto" | "auto-
|
21
|
+
export declare function placementType(): import("vue-types").VueTypeValidableDef<"auto" | "auto-end" | "auto-start" | "bottom" | "bottom-end" | "bottom-start" | "left" | "left-end" | "left-start" | "right" | "right-end" | "right-start" | "top" | "top-end" | "top-start"> & {
|
22
|
+
default: "auto" | "auto-end" | "auto-start" | "bottom" | "bottom-end" | "bottom-start" | "left" | "left-end" | "left-start" | "right" | "right-end" | "right-start" | "top" | "top-end" | "top-start";
|
23
23
|
};
|
24
24
|
declare const _default: {
|
25
25
|
content: import("vue-types").VueTypeValidableDef<string> & {
|
@@ -34,13 +34,13 @@ declare const _default: {
|
|
34
34
|
boundary: import("vue-types").VueTypeDef<string | HTMLElement> & {
|
35
35
|
default: string | (() => HTMLElement);
|
36
36
|
};
|
37
|
-
placement: import("vue-types").VueTypeValidableDef<"auto" | "auto-
|
38
|
-
default: "auto" | "auto-
|
37
|
+
placement: import("vue-types").VueTypeValidableDef<"auto" | "auto-end" | "auto-start" | "bottom" | "bottom-end" | "bottom-start" | "left" | "left-end" | "left-start" | "right" | "right-end" | "right-start" | "top" | "top-end" | "top-start"> & {
|
38
|
+
default: "auto" | "auto-end" | "auto-start" | "bottom" | "bottom-end" | "bottom-start" | "left" | "left-end" | "left-start" | "right" | "right-end" | "right-start" | "top" | "top-end" | "top-start";
|
39
39
|
};
|
40
40
|
resizeable: import("vue-types").VueTypeValidableDef<boolean> & {
|
41
41
|
default: boolean;
|
42
42
|
};
|
43
|
-
popoverOptions: PropType<Partial<Readonly<import("vue").ExtractPropTypes<{
|
43
|
+
popoverOptions: PropType<Partial<Readonly<import("@vue/runtime-core").ExtractPropTypes<{
|
44
44
|
isShow: import("vue-types").VueTypeValidableDef<boolean> & {
|
45
45
|
default: boolean;
|
46
46
|
} & {
|
@@ -77,8 +77,8 @@ declare const _default: {
|
|
77
77
|
} & {
|
78
78
|
default: boolean;
|
79
79
|
};
|
80
|
-
placement: import("vue-types").VueTypeValidableDef<"auto" | "auto-
|
81
|
-
default: "auto" | "auto-
|
80
|
+
placement: import("vue-types").VueTypeValidableDef<"auto" | "auto-end" | "auto-start" | "bottom" | "bottom-end" | "bottom-start" | "left" | "left-end" | "left-start" | "right" | "right-end" | "right-start" | "top" | "top-end" | "top-start"> & {
|
81
|
+
default: "auto" | "auto-end" | "auto-start" | "bottom" | "bottom-end" | "bottom-start" | "left" | "left-end" | "left-start" | "right" | "right-end" | "right-start" | "top" | "top-end" | "top-start";
|
82
82
|
};
|
83
83
|
theme: import("vue-types").VueTypeValidableDef<string> & {
|
84
84
|
default: string;
|
@@ -34,7 +34,6 @@ declare const BkPagination: {
|
|
34
34
|
align: import("vue-types").VueTypeDef<string> & {
|
35
35
|
default: string;
|
36
36
|
};
|
37
|
-
size: import("vue-types").VueTypeDef<"default" | "small" | "large" | "huge">;
|
38
37
|
small: import("vue-types").VueTypeValidableDef<boolean> & {
|
39
38
|
default: boolean;
|
40
39
|
} & {
|
@@ -56,9 +55,6 @@ declare const BkPagination: {
|
|
56
55
|
} & {
|
57
56
|
default: boolean;
|
58
57
|
};
|
59
|
-
beforeChange: import("vue-types").VueTypeValidableDef<(...args: any[]) => any> & {
|
60
|
-
default: (...args: any[]) => any;
|
61
|
-
};
|
62
58
|
layout: import("vue-types").VueTypeDef<string[]> & {
|
63
59
|
default: () => string[];
|
64
60
|
};
|
@@ -118,7 +114,6 @@ declare const BkPagination: {
|
|
118
114
|
align: import("vue-types").VueTypeDef<string> & {
|
119
115
|
default: string;
|
120
116
|
};
|
121
|
-
size: import("vue-types").VueTypeDef<"default" | "small" | "large" | "huge">;
|
122
117
|
small: import("vue-types").VueTypeValidableDef<boolean> & {
|
123
118
|
default: boolean;
|
124
119
|
} & {
|
@@ -140,9 +135,6 @@ declare const BkPagination: {
|
|
140
135
|
} & {
|
141
136
|
default: boolean;
|
142
137
|
};
|
143
|
-
beforeChange: import("vue-types").VueTypeValidableDef<(...args: any[]) => any> & {
|
144
|
-
default: (...args: any[]) => any;
|
145
|
-
};
|
146
138
|
layout: import("vue-types").VueTypeDef<string[]> & {
|
147
139
|
default: () => string[];
|
148
140
|
};
|
@@ -159,7 +151,6 @@ declare const BkPagination: {
|
|
159
151
|
location: string;
|
160
152
|
count: number;
|
161
153
|
modelValue: number;
|
162
|
-
beforeChange: (...args: any[]) => any;
|
163
154
|
prevText: string;
|
164
155
|
nextText: string;
|
165
156
|
align: string;
|
@@ -209,7 +200,6 @@ declare const BkPagination: {
|
|
209
200
|
align: import("vue-types").VueTypeDef<string> & {
|
210
201
|
default: string;
|
211
202
|
};
|
212
|
-
size: import("vue-types").VueTypeDef<"default" | "small" | "large" | "huge">;
|
213
203
|
small: import("vue-types").VueTypeValidableDef<boolean> & {
|
214
204
|
default: boolean;
|
215
205
|
} & {
|
@@ -231,9 +221,6 @@ declare const BkPagination: {
|
|
231
221
|
} & {
|
232
222
|
default: boolean;
|
233
223
|
};
|
234
|
-
beforeChange: import("vue-types").VueTypeValidableDef<(...args: any[]) => any> & {
|
235
|
-
default: (...args: any[]) => any;
|
236
|
-
};
|
237
224
|
layout: import("vue-types").VueTypeDef<string[]> & {
|
238
225
|
default: () => string[];
|
239
226
|
};
|
@@ -266,7 +253,6 @@ declare const BkPagination: {
|
|
266
253
|
location: string;
|
267
254
|
count: number;
|
268
255
|
modelValue: number;
|
269
|
-
beforeChange: (...args: any[]) => any;
|
270
256
|
prevText: string;
|
271
257
|
nextText: string;
|
272
258
|
align: string;
|
@@ -313,7 +299,6 @@ declare const BkPagination: {
|
|
313
299
|
align: import("vue-types").VueTypeDef<string> & {
|
314
300
|
default: string;
|
315
301
|
};
|
316
|
-
size: import("vue-types").VueTypeDef<"default" | "small" | "large" | "huge">;
|
317
302
|
small: import("vue-types").VueTypeValidableDef<boolean> & {
|
318
303
|
default: boolean;
|
319
304
|
} & {
|
@@ -335,9 +320,6 @@ declare const BkPagination: {
|
|
335
320
|
} & {
|
336
321
|
default: boolean;
|
337
322
|
};
|
338
|
-
beforeChange: import("vue-types").VueTypeValidableDef<(...args: any[]) => any> & {
|
339
|
-
default: (...args: any[]) => any;
|
340
|
-
};
|
341
323
|
layout: import("vue-types").VueTypeDef<string[]> & {
|
342
324
|
default: () => string[];
|
343
325
|
};
|
@@ -370,7 +352,6 @@ declare const BkPagination: {
|
|
370
352
|
location: string;
|
371
353
|
count: number;
|
372
354
|
modelValue: number;
|
373
|
-
beforeChange: (...args: any[]) => any;
|
374
355
|
prevText: string;
|
375
356
|
nextText: string;
|
376
357
|
align: string;
|
package/lib/pagination/index.js
CHANGED
@@ -242,24 +242,22 @@ function _isSlot(s) {
|
|
242
242
|
if (!proxy.showLimit) {
|
243
243
|
return null;
|
244
244
|
}
|
245
|
-
return (0,external_vue_namespaceObject.createVNode)("div",
|
245
|
+
return (0,external_vue_namespaceObject.createVNode)("div", {
|
246
246
|
"class": _defineProperty(_defineProperty(_defineProperty({}, resolveClassName('pagination-limit'), true), 'is-first', isFirst), 'is-last', isLast)
|
247
|
-
}, {
|
248
|
-
disabled: proxy.disabled
|
249
|
-
}), [(0,external_vue_namespaceObject.createVNode)("div", null, [t.value.eachPage]), (0,external_vue_namespaceObject.createVNode)(select_namespaceObject["default"], {
|
247
|
+
}, [(0,external_vue_namespaceObject.createVNode)("div", null, [t.value.eachPage]), (0,external_vue_namespaceObject.createVNode)(select_namespaceObject["default"], {
|
250
248
|
"class": "".concat(resolveClassName('pagination-limit-select')),
|
251
249
|
"clearable": false,
|
250
|
+
"disabled": proxy.disabled,
|
251
|
+
"filterable": false,
|
252
|
+
"modelValue": localLimit.value,
|
252
253
|
"size": "small",
|
253
254
|
"withValidate": false,
|
254
|
-
"
|
255
|
-
"onChange": handleLimitChange,
|
256
|
-
"disabled": proxy.disabled,
|
257
|
-
"filterable": false
|
255
|
+
"onChange": handleLimitChange
|
258
256
|
}, _isSlot(_slot = proxy.limitList.map(function (num, index) {
|
259
257
|
return (0,external_vue_namespaceObject.createVNode)(select_namespaceObject.BkOption, {
|
260
258
|
"id": num,
|
261
|
-
"
|
262
|
-
"
|
259
|
+
"key": "".concat(index, "_").concat(num),
|
260
|
+
"name": "".concat(num)
|
263
261
|
}, null);
|
264
262
|
})) ? _slot : {
|
265
263
|
"default": function _default() {
|
@@ -371,6 +369,9 @@ var PAGE_ITEMS_NUM = 5;
|
|
371
369
|
* @desc 上一页
|
372
370
|
*/
|
373
371
|
var handlePrePage = function handlePrePage() {
|
372
|
+
if (proxy.disabled) {
|
373
|
+
return;
|
374
|
+
}
|
374
375
|
if (isPagePreDisabled.value) {
|
375
376
|
return;
|
376
377
|
}
|
@@ -380,6 +381,9 @@ var PAGE_ITEMS_NUM = 5;
|
|
380
381
|
* @desc 下一页
|
381
382
|
*/
|
382
383
|
var handleNextPage = function handleNextPage() {
|
384
|
+
if (proxy.disabled) {
|
385
|
+
return;
|
386
|
+
}
|
383
387
|
if (isPageNextDisabled.value) {
|
384
388
|
return;
|
385
389
|
}
|
@@ -390,6 +394,9 @@ var PAGE_ITEMS_NUM = 5;
|
|
390
394
|
* @param { Number } totalPageNum
|
391
395
|
*/
|
392
396
|
var handleItemClick = function handleItemClick(totalPageNum) {
|
397
|
+
if (proxy.disabled) {
|
398
|
+
return;
|
399
|
+
}
|
393
400
|
if (totalPageNum === localCurrent.value) {
|
394
401
|
return;
|
395
402
|
}
|
@@ -399,12 +406,18 @@ var PAGE_ITEMS_NUM = 5;
|
|
399
406
|
* @desc 上一批分页
|
400
407
|
*/
|
401
408
|
var handlePreBatch = function handlePreBatch() {
|
409
|
+
if (proxy.disabled) {
|
410
|
+
return;
|
411
|
+
}
|
402
412
|
localCurrent.value = Math.max(1, localCurrent.value - PAGE_ITEMS_NUM);
|
403
413
|
};
|
404
414
|
/**
|
405
415
|
* @desc 下一批分页
|
406
416
|
*/
|
407
417
|
var handleNextBatch = function handleNextBatch() {
|
418
|
+
if (proxy.disabled) {
|
419
|
+
return;
|
420
|
+
}
|
408
421
|
localCurrent.value = Math.min(proxy.totalPageNum, localCurrent.value + PAGE_ITEMS_NUM);
|
409
422
|
};
|
410
423
|
var _usePrefix = (0,config_provider_namespaceObject.usePrefix)(),
|
@@ -418,8 +431,8 @@ var PAGE_ITEMS_NUM = 5;
|
|
418
431
|
"class": _defineProperty(_defineProperty({}, "".concat(resolveClassName('pagination-list-pre')), true), 'is-disabled', isPagePreDisabled.value),
|
419
432
|
"onClick": handlePrePage
|
420
433
|
}, [proxy.prevText || (0,external_vue_namespaceObject.createVNode)(icon_namespaceObject.AngleLeft, null, null)]), (0,external_vue_namespaceObject.createVNode)("div", {
|
421
|
-
"class": _defineProperty(_defineProperty({}, "".concat(resolveClassName('pagination-list-item')), true), 'is-active', localCurrent.value === 1),
|
422
434
|
"key": "1",
|
435
|
+
"class": _defineProperty(_defineProperty({}, "".concat(resolveClassName('pagination-list-item')), true), 'is-active', localCurrent.value === 1),
|
423
436
|
"onClick": function onClick() {
|
424
437
|
return handleItemClick(1);
|
425
438
|
}
|
@@ -429,8 +442,8 @@ var PAGE_ITEMS_NUM = 5;
|
|
429
442
|
"onClick": handlePreBatch
|
430
443
|
}, [(0,external_vue_namespaceObject.createVNode)(icon_namespaceObject.Ellipsis, null, null)]), list.value.map(function (num) {
|
431
444
|
return (0,external_vue_namespaceObject.createVNode)("div", {
|
432
|
-
"class": _defineProperty(_defineProperty({}, "".concat(resolveClassName('pagination-list-item')), true), 'is-active', localCurrent.value === num),
|
433
445
|
"key": num,
|
446
|
+
"class": _defineProperty(_defineProperty({}, "".concat(resolveClassName('pagination-list-item')), true), 'is-active', localCurrent.value === num),
|
434
447
|
"onClick": function onClick() {
|
435
448
|
return handleItemClick(num);
|
436
449
|
}
|
@@ -440,8 +453,8 @@ var PAGE_ITEMS_NUM = 5;
|
|
440
453
|
"class": "".concat(resolveClassName('pagination-list-next-batch')),
|
441
454
|
"onClick": handleNextBatch
|
442
455
|
}, [(0,external_vue_namespaceObject.createVNode)(icon_namespaceObject.Ellipsis, null, null)]), proxy.totalPageNum > 1 && (0,external_vue_namespaceObject.createVNode)("div", {
|
443
|
-
"class": _defineProperty(_defineProperty({}, "".concat(resolveClassName('pagination-list-item')), true), 'is-active', localCurrent.value === proxy.totalPageNum),
|
444
456
|
"key": "last",
|
457
|
+
"class": _defineProperty(_defineProperty({}, "".concat(resolveClassName('pagination-list-item')), true), 'is-active', localCurrent.value === proxy.totalPageNum),
|
445
458
|
"onClick": function onClick() {
|
446
459
|
return handleItemClick(proxy.totalPageNum);
|
447
460
|
}
|
@@ -549,6 +562,9 @@ const popover_less_namespaceObject = popover_less_x({ });
|
|
549
562
|
* @desc 上一页
|
550
563
|
*/
|
551
564
|
var handlePrePage = function handlePrePage() {
|
565
|
+
if (proxy.disabled) {
|
566
|
+
return;
|
567
|
+
}
|
552
568
|
if (isPagePreDisabled.value) {
|
553
569
|
return;
|
554
570
|
}
|
@@ -558,6 +574,9 @@ const popover_less_namespaceObject = popover_less_x({ });
|
|
558
574
|
* @desc 下一页
|
559
575
|
*/
|
560
576
|
var handleNextPage = function handleNextPage() {
|
577
|
+
if (proxy.disabled) {
|
578
|
+
return;
|
579
|
+
}
|
561
580
|
if (isPageNextDisabled.value) {
|
562
581
|
return;
|
563
582
|
}
|
@@ -567,6 +586,9 @@ const popover_less_namespaceObject = popover_less_x({ });
|
|
567
586
|
* @desc 获得焦点
|
568
587
|
*/
|
569
588
|
var handlePageEditorFocus = function handlePageEditorFocus() {
|
589
|
+
if (proxy.disabled) {
|
590
|
+
return;
|
591
|
+
}
|
570
592
|
isFocused.value = true;
|
571
593
|
};
|
572
594
|
/**
|
@@ -618,12 +640,13 @@ const popover_less_namespaceObject = popover_less_x({ });
|
|
618
640
|
"class": _defineProperty(_defineProperty({}, "".concat(resolveClassName('pagination-btn-pre')), true), 'is-disabled', isPagePreDisabled.value),
|
619
641
|
"onClick": handlePrePage
|
620
642
|
}, [(0,external_vue_namespaceObject.createVNode)(icon_namespaceObject.AngleLeft, null, null)]), (0,external_vue_namespaceObject.createVNode)(popover_namespaceObject["default"], {
|
621
|
-
"theme": "light",
|
622
|
-
"trigger": "click",
|
623
|
-
"arrow": false,
|
624
643
|
"width": 56,
|
644
|
+
"arrow": false,
|
625
645
|
"boundary": "body",
|
626
|
-
"
|
646
|
+
"disabled": proxy.disabled,
|
647
|
+
"placement": "bottom",
|
648
|
+
"theme": "light",
|
649
|
+
"trigger": "click"
|
627
650
|
}, {
|
628
651
|
"default": function _default() {
|
629
652
|
return (0,external_vue_namespaceObject.createVNode)("div", {
|
@@ -631,10 +654,10 @@ const popover_less_namespaceObject = popover_less_x({ });
|
|
631
654
|
}, [(0,external_vue_namespaceObject.createVNode)("span", {
|
632
655
|
"ref": inputRef,
|
633
656
|
"class": "".concat(resolveClassName('pagination-editor')),
|
634
|
-
"contenteditable":
|
657
|
+
"contenteditable": !proxy.disabled,
|
635
658
|
"spellcheck": "false",
|
636
|
-
"onFocus": handlePageEditorFocus,
|
637
659
|
"onBlur": handlePageEditorBlur,
|
660
|
+
"onFocus": handlePageEditorFocus,
|
638
661
|
"onInput": handlePageEditorInput,
|
639
662
|
"onKeydown": handlePageEditorKeydown
|
640
663
|
}, [localCurrent.value]), (0,external_vue_namespaceObject.createVNode)("span", null, [(0,external_vue_namespaceObject.createTextVNode)("/")]), (0,external_vue_namespaceObject.createVNode)("span", {
|
@@ -646,11 +669,11 @@ const popover_less_namespaceObject = popover_less_x({ });
|
|
646
669
|
"class": "".concat(resolveClassName('pagination-picker-list'))
|
647
670
|
}, [list.value.map(function (item) {
|
648
671
|
return (0,external_vue_namespaceObject.createVNode)("div", {
|
672
|
+
"key": item,
|
649
673
|
"class": {
|
650
674
|
item: true,
|
651
675
|
'is-actived': item === localCurrent.value
|
652
676
|
},
|
653
|
-
"key": item,
|
654
677
|
"onClick": function onClick() {
|
655
678
|
return handlePageChange(item);
|
656
679
|
}
|
@@ -762,13 +785,11 @@ var paginationProps = {
|
|
762
785
|
type: shared_namespaceObject.PropTypes.oneOf(['default', 'compact']).def('default'),
|
763
786
|
location: shared_namespaceObject.PropTypes.oneOf(['left', 'right']).def('right'),
|
764
787
|
align: shared_namespaceObject.PropTypes.oneOf(['left', 'center', 'right']).def('left'),
|
765
|
-
size: shared_namespaceObject.PropTypes.size(),
|
766
788
|
small: shared_namespaceObject.PropTypes.bool.def(false),
|
767
789
|
showTotalCount: shared_namespaceObject.PropTypes.bool.def(true),
|
768
790
|
prevText: shared_namespaceObject.PropTypes.string,
|
769
791
|
nextText: shared_namespaceObject.PropTypes.string,
|
770
792
|
disabled: shared_namespaceObject.PropTypes.bool.def(false),
|
771
|
-
beforeChange: shared_namespaceObject.PropTypes.func,
|
772
793
|
layout: shared_namespaceObject.PropTypes.custom(function (value) {
|
773
794
|
var layoutNameMap = {
|
774
795
|
total: true,
|
@@ -836,7 +857,7 @@ var paginationProps = {
|
|
836
857
|
},
|
837
858
|
render: function render() {
|
838
859
|
var _this = this;
|
839
|
-
var paginationClass = (0,shared_namespaceObject.classes)(_defineProperty(_defineProperty(_defineProperty({}, "".concat(this.resolveClassName('pagination')), true), "".concat(this.
|
860
|
+
var paginationClass = (0,shared_namespaceObject.classes)(_defineProperty(_defineProperty(_defineProperty({}, "".concat(this.resolveClassName('pagination')), true), "is-align-".concat(this.align), true), 'is-disabled', this.disabled));
|
840
861
|
var layoutMap = {
|
841
862
|
total: this.renderTotal,
|
842
863
|
list: this.small ? this.renderSmallList : this.renderList,
|