bkui-vue 2.0.2-beta.6 → 2.0.2-beta.61
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/License.txt +1 -2
- package/dist/cli.css +1 -0
- package/dist/index.cjs.js +133 -132
- package/dist/index.esm.js +17093 -15160
- package/dist/index.umd.js +133 -132
- package/dist/locale/en.esm.js.map +1 -1
- package/dist/locale/en.umd.js.map +1 -1
- package/dist/locale/ja-jp.esm.js +2 -0
- package/dist/locale/ja-jp.esm.js.map +1 -0
- package/dist/locale/ja-jp.umd.js +2 -0
- package/dist/locale/ja-jp.umd.js.map +1 -0
- package/dist/locale/zh-cn.esm.js.map +1 -1
- package/dist/locale/zh-cn.umd.js.map +1 -1
- package/dist/style.variable.css +1 -1
- package/lib/affix/affix.variable.css +1 -0
- package/lib/affix/index.js +24 -32
- package/lib/alert/alert.variable.css +1 -0
- package/lib/alert/index.js +24 -32
- package/lib/animate-number/index.js +12 -16
- package/lib/backtop/backtop.variable.css +1 -0
- package/lib/backtop/index.js +24 -34
- package/lib/badge/badge.variable.css +1 -0
- package/lib/badge/index.js +20 -26
- package/lib/breadcrumb/breadcrumb.variable.css +1 -0
- package/lib/breadcrumb/index.js +26 -34
- package/lib/button/button.d.ts +1 -1
- package/lib/button/button.variable.css +1 -0
- package/lib/button/index.js +29 -39
- package/lib/card/card.variable.css +1 -0
- package/lib/card/index.js +35 -49
- package/lib/cascader/cascader.css +26 -24
- package/lib/cascader/cascader.d.ts +311 -0
- package/lib/cascader/cascader.less +78 -76
- package/lib/cascader/cascader.variable.css +27 -24
- package/lib/cascader/index.d.ts +610 -0
- package/lib/cascader/index.js +810 -748
- package/lib/checkbox/checkbox.variable.css +1 -0
- package/lib/checkbox/index.js +39 -49
- package/lib/code-diff/code-diff.variable.css +1 -0
- package/lib/code-diff/index.js +81 -85
- package/lib/collapse/collapse.variable.css +1 -0
- package/lib/collapse/index.js +36 -42
- package/lib/collapse-transition/collapse-transition.variable.css +1 -0
- package/lib/collapse-transition/index.js +16 -22
- package/lib/color-picker/color-picker.variable.css +1 -0
- package/lib/color-picker/index.js +637 -656
- package/lib/components.js +1 -1
- package/lib/config-provider/config-provider.variable.css +1 -0
- package/lib/config-provider/index.d.ts +1 -1
- package/lib/config-provider/index.js +32 -40
- package/lib/container/container.variable.css +1 -0
- package/lib/container/index.js +26 -32
- package/lib/date-picker/date-picker.d.ts +2 -1
- package/lib/date-picker/date-picker.variable.css +1 -0
- package/lib/date-picker/index.d.ts +6 -2
- package/lib/date-picker/index.js +713 -738
- package/lib/date-picker/panel/date-range.d.ts +2 -1
- package/lib/date-picker/panel/time.d.ts +1 -1
- package/lib/date-picker/utils.d.ts +5 -17
- package/lib/dialog/dialog.css +20 -1
- package/lib/dialog/dialog.variable.css +21 -1
- package/lib/dialog/index.js +100 -137
- package/lib/directives/index.js +518 -529
- package/lib/dist.index.js +1 -1
- package/lib/divider/divider.variable.css +1 -0
- package/lib/divider/index.js +18 -24
- package/lib/dropdown/dropdown.d.ts +1 -0
- package/lib/dropdown/dropdown.variable.css +1 -0
- package/lib/dropdown/index.d.ts +3 -0
- package/lib/dropdown/index.js +45 -52
- package/lib/exception/exception.variable.css +1 -0
- package/lib/exception/index.js +51 -57
- package/lib/fixed-navbar/fixed-navbar.variable.css +1 -0
- package/lib/fixed-navbar/index.js +16 -22
- package/lib/form/form-item.d.ts +19 -0
- package/lib/form/form.css +16 -4
- package/lib/form/form.less +24 -6
- package/lib/form/form.variable.css +17 -4
- package/lib/form/index.d.ts +13 -0
- package/lib/form/index.js +662 -685
- package/lib/hooks.js +1 -1
- package/lib/icon/angle-double-down-line.js +13 -15
- package/lib/icon/angle-double-left-line.js +13 -15
- package/lib/icon/angle-double-left.js +13 -15
- package/lib/icon/angle-double-right-line.js +13 -15
- package/lib/icon/angle-double-right.js +13 -15
- package/lib/icon/angle-double-up-line.js +13 -15
- package/lib/icon/angle-down-fill.js +13 -15
- package/lib/icon/angle-down-line.js +13 -15
- package/lib/icon/angle-down.js +13 -15
- package/lib/icon/angle-left.js +13 -15
- package/lib/icon/angle-right.js +13 -15
- package/lib/icon/angle-up-fill.js +13 -15
- package/lib/icon/angle-up.js +13 -15
- package/lib/icon/archive-fill.js +13 -15
- package/lib/icon/arrows-left.js +13 -15
- package/lib/icon/arrows-right.js +13 -15
- package/lib/icon/assistant.js +13 -15
- package/lib/icon/audio-fill.js +13 -15
- package/lib/icon/bk.js +13 -15
- package/lib/icon/circle.js +13 -15
- package/lib/icon/close-line.js +13 -15
- package/lib/icon/close.js +13 -15
- package/lib/icon/code.js +13 -15
- package/lib/icon/cog-shape.js +13 -15
- package/lib/icon/collapse-left.js +13 -15
- package/lib/icon/copy-shape.js +13 -15
- package/lib/icon/copy.js +13 -15
- package/lib/icon/data-shape.js +13 -15
- package/lib/icon/del.js +13 -15
- package/lib/icon/doc-fill.js +13 -15
- package/lib/icon/done.js +13 -15
- package/lib/icon/down-shape.js +13 -15
- package/lib/icon/down-small.js +13 -15
- package/lib/icon/edit-line.js +13 -15
- package/lib/icon/ellipsis.js +13 -15
- package/lib/icon/enlarge-line.js +13 -15
- package/lib/icon/error.js +13 -15
- package/lib/icon/excel-fill.js +13 -15
- package/lib/icon/exclamation-circle-shape.js +13 -15
- package/lib/icon/eye.js +13 -15
- package/lib/icon/filliscreen-line.js +13 -15
- package/lib/icon/fix-line.js +13 -15
- package/lib/icon/fix-shape.js +13 -15
- package/lib/icon/folder-open.js +13 -15
- package/lib/icon/folder-shape-open.js +13 -15
- package/lib/icon/folder-shape.js +13 -15
- package/lib/icon/folder.js +13 -15
- package/lib/icon/funnel.js +13 -15
- package/lib/icon/grag-fill.js +13 -15
- package/lib/icon/help-document-fill.js +13 -15
- package/lib/icon/help-fill.js +13 -15
- package/lib/icon/help.js +13 -15
- package/lib/icon/image-fill.js +13 -15
- package/lib/icon/img-error.js +13 -15
- package/lib/icon/img-placehoulder.js +13 -15
- package/lib/icon/index.js +1 -1
- package/lib/icon/info-line.js +13 -15
- package/lib/icon/info.js +13 -15
- package/lib/icon/left-shape.js +13 -15
- package/lib/icon/left-turn-line.js +13 -15
- package/lib/icon/loading.js +13 -15
- package/lib/icon/narrow-line.js +13 -15
- package/lib/icon/original.js +13 -15
- package/lib/icon/pdf-fill.js +13 -15
- package/lib/icon/play-shape.js +13 -15
- package/lib/icon/plus.js +13 -15
- package/lib/icon/ppt-fill.js +13 -15
- package/lib/icon/qq.js +13 -15
- package/lib/icon/right-shape.js +13 -15
- package/lib/icon/right-turn-line.js +13 -15
- package/lib/icon/search.js +13 -15
- package/lib/icon/share.js +13 -15
- package/lib/icon/spinner.js +13 -15
- package/lib/icon/success.js +13 -15
- package/lib/icon/switcher-loading.js +13 -15
- package/lib/icon/text-all.js +13 -15
- package/lib/icon/text-file.js +13 -15
- package/lib/icon/text-fill.js +13 -15
- package/lib/icon/transfer.js +13 -15
- package/lib/icon/tree-application-shape.js +13 -15
- package/lib/icon/unfull-screen.js +13 -15
- package/lib/icon/unvisible.js +13 -15
- package/lib/icon/up-shape.js +13 -15
- package/lib/icon/upload.js +13 -15
- package/lib/icon/video-fill.js +13 -15
- package/lib/icon/warn.js +13 -15
- package/lib/icon/weixin-pro.js +13 -15
- package/lib/icon/weixin.js +13 -15
- package/lib/image/image-viewer.variable.css +1 -0
- package/lib/image/image.variable.css +1 -0
- package/lib/image/index.js +333 -352
- package/lib/index.js +1 -1
- package/lib/info-box/index.js +109 -108
- package/lib/info-box/info-box.css +20 -1
- package/lib/info-box/info-box.d.ts +1 -0
- package/lib/info-box/info-box.less +28 -2
- package/lib/info-box/info-box.variable.css +22 -2
- package/lib/input/index.d.ts +39 -20
- package/lib/input/index.js +363 -358
- package/lib/input/input.d.ts +30 -16
- package/lib/input/input.variable.css +1 -0
- package/lib/link/index.js +20 -28
- package/lib/link/link.variable.css +1 -0
- package/lib/loading/index.js +22 -28
- package/lib/loading/loading.variable.css +1 -0
- package/lib/locale/index.d.ts +1 -0
- package/lib/locale/index.js +175 -7
- package/lib/locale/lang/ja-jp.d.ts +3 -0
- package/lib/menu/index.js +44 -49
- package/lib/menu/menu.variable.css +1 -0
- package/lib/menu/submenu.variable.css +1 -0
- package/lib/message/index.js +45 -51
- package/lib/message/message.variable.css +1 -0
- package/lib/modal/index.js +43 -45
- package/lib/modal/modal.css +20 -1
- package/lib/modal/modal.variable.css +21 -1
- package/lib/navigation/index.js +22 -30
- package/lib/navigation/navigation.variable.css +1 -0
- package/lib/notify/index.js +30 -40
- package/lib/notify/notify.variable.css +1 -0
- package/lib/overflow-title/index.js +32 -44
- package/lib/pagination/index.js +68 -76
- package/lib/pagination/pagination.css +1 -0
- package/lib/pagination/pagination.less +1 -0
- package/lib/pagination/pagination.variable.css +2 -0
- package/lib/pop-confirm/index.d.ts +584 -0
- package/lib/pop-confirm/index.js +43 -55
- package/lib/pop-confirm/pop-confirm.d.ts +292 -0
- package/lib/pop-confirm/pop-confirm.variable.css +1 -0
- package/lib/pop-confirm/props.d.ts +146 -0
- package/lib/popover/index.js +363 -382
- package/lib/popover/popover.variable.css +1 -0
- package/lib/popover2/index.js +12 -16
- package/lib/preset.js +1 -1
- package/lib/process/index.js +76 -80
- package/lib/process/process.d.ts +1 -1
- package/lib/process/process.variable.css +1 -0
- package/lib/progress/index.js +24 -30
- package/lib/progress/progress.variable.css +1 -0
- package/lib/radio/index.js +36 -44
- package/lib/radio/radio.variable.css +1 -0
- package/lib/rate/index.js +22 -28
- package/lib/rate/rate.variable.css +1 -0
- package/lib/resize-layout/index.js +24 -32
- package/lib/resize-layout/resize-layout.variable.css +1 -0
- package/lib/scrollbar/css/scrollbar.variable.css +1 -0
- package/lib/scrollbar/index.js +31 -31
- package/lib/search-select/index.d.ts +21 -3
- package/lib/search-select/index.js +558 -543
- package/lib/search-select/input.d.ts +3 -0
- package/lib/search-select/search-select.d.ts +7 -1
- package/lib/search-select/search-select.variable.css +1 -0
- package/lib/search-select/selected.d.ts +6 -0
- package/lib/select/index.d.ts +22 -3
- package/lib/select/index.js +560 -597
- package/lib/select/select.d.ts +11 -1
- package/lib/select/select.variable.css +1 -0
- package/lib/shared/index.d.ts +1 -1
- package/lib/shared/index.js +59 -67
- package/lib/shared/z-index-manager.d.ts +1 -1
- package/lib/sideslider/index.js +84 -92
- package/lib/sideslider/sideslider.variable.css +1 -0
- package/lib/slider/index.d.ts +1 -1
- package/lib/slider/index.js +80 -89
- package/lib/slider/slider-button.d.ts +1 -1
- package/lib/slider/slider.d.ts +1 -1
- package/lib/slider/slider.variable.css +1 -0
- package/lib/steps/index.js +74 -80
- package/lib/steps/steps.d.ts +1 -1
- package/lib/steps/steps.variable.css +1 -0
- package/lib/styles/mixins/animate.variable.css +1 -0
- package/lib/styles/mixins/popper.variable.css +1 -0
- package/lib/styles/mixins/scroll.variable.css +1 -0
- package/lib/styles/reset.variable.css +1 -0
- package/lib/styles/themes/themes.less +3 -0
- package/lib/swiper/index.js +20 -26
- package/lib/swiper/swiper.variable.css +1 -0
- package/lib/switcher/index.js +24 -32
- package/lib/switcher/switcher.variable.css +1 -0
- package/lib/tab/index.d.ts +12 -0
- package/lib/tab/index.js +341 -352
- package/lib/tab/props.d.ts +3 -0
- package/lib/tab/tab.d.ts +6 -0
- package/lib/tab/tab.variable.css +1 -0
- package/lib/table/index.js +630 -691
- package/lib/table/plugins/head-filter.variable.css +1 -0
- package/lib/table/plugins/head-sort.variable.css +1 -0
- package/lib/table/plugins/settings.variable.css +1 -0
- package/lib/table/table.css +1 -0
- package/lib/table/table.variable.css +2 -0
- package/lib/table-column/index.js +10 -14
- package/lib/tag/index.js +28 -38
- package/lib/tag/tag.variable.css +1 -0
- package/lib/tag-input/index.d.ts +3 -0
- package/lib/tag-input/index.js +2190 -851
- package/lib/tag-input/tag-input.d.ts +1 -0
- package/lib/tag-input/tag-input.variable.css +1 -0
- package/lib/time-picker/index.js +10 -14
- package/lib/time-picker/time-picker.variable.css +1 -0
- package/lib/timeline/index.js +1368 -25
- package/lib/timeline/timeline.d.ts +1 -1
- package/lib/timeline/timeline.variable.css +1 -0
- package/lib/transfer/index.d.ts +1 -24
- package/lib/transfer/index.js +61 -67
- package/lib/transfer/props.d.ts +0 -5
- package/lib/transfer/transfer.css +26 -8
- package/lib/transfer/transfer.d.ts +1 -12
- package/lib/transfer/transfer.less +18 -8
- package/lib/transfer/transfer.variable.css +27 -8
- package/lib/tree/constant.d.ts +2 -0
- package/lib/tree/index.d.ts +48 -0
- package/lib/tree/index.js +297 -171
- package/lib/tree/props.d.ts +20 -0
- package/lib/tree/tree.css +46 -0
- package/lib/tree/tree.d.ts +22 -0
- package/lib/tree/tree.less +57 -2
- package/lib/tree/tree.variable.css +47 -0
- package/lib/tree/use-node-action.d.ts +2 -2
- package/lib/upload/index.js +570 -582
- package/lib/upload/upload.variable.css +1 -0
- package/lib/virtual-render/index.js +50 -62
- package/lib/virtual-render/virtual-render.variable.css +1 -0
- package/lib/volar.components.d.ts +2 -1
- package/package.json +13 -2
- package/dist/style.css +0 -1
package/lib/image/index.js
CHANGED
@@ -11,7 +11,15 @@ import * as __WEBPACK_EXTERNAL_MODULE_lodash_throttle_a7b7506a__ from "lodash/th
|
|
11
11
|
import * as __WEBPACK_EXTERNAL_MODULE_vue_types_22de060a__ from "vue-types";
|
12
12
|
/******/ var __webpack_modules__ = ({
|
13
13
|
|
14
|
-
/***/
|
14
|
+
/***/ 2439:
|
15
|
+
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
16
|
+
|
17
|
+
module.exports = __webpack_require__(2527);
|
18
|
+
|
19
|
+
|
20
|
+
/***/ }),
|
21
|
+
|
22
|
+
/***/ 7430:
|
15
23
|
/***/ ((module) => {
|
16
24
|
|
17
25
|
/**
|
@@ -61,265 +69,7 @@ module.exports = ExecutionEnvironment;
|
|
61
69
|
|
62
70
|
/***/ }),
|
63
71
|
|
64
|
-
/***/
|
65
|
-
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
66
|
-
|
67
|
-
/**
|
68
|
-
* Copyright 2013-2015, Facebook, Inc.
|
69
|
-
* All rights reserved.
|
70
|
-
*
|
71
|
-
* This source code is licensed under the BSD-style license found in the
|
72
|
-
* LICENSE file in the root directory of this source tree. An additional grant
|
73
|
-
* of patent rights can be found in the PATENTS file in the same directory.
|
74
|
-
*
|
75
|
-
* @providesModule isEventSupported
|
76
|
-
*/
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
var ExecutionEnvironment = __webpack_require__(1043);
|
81
|
-
|
82
|
-
var useHasFeature;
|
83
|
-
if (ExecutionEnvironment.canUseDOM) {
|
84
|
-
useHasFeature =
|
85
|
-
document.implementation &&
|
86
|
-
document.implementation.hasFeature &&
|
87
|
-
// always returns true in newer browsers as per the standard.
|
88
|
-
// @see http://dom.spec.whatwg.org/#dom-domimplementation-hasfeature
|
89
|
-
document.implementation.hasFeature('', '') !== true;
|
90
|
-
}
|
91
|
-
|
92
|
-
/**
|
93
|
-
* Checks if an event is supported in the current execution environment.
|
94
|
-
*
|
95
|
-
* NOTE: This will not work correctly for non-generic events such as `change`,
|
96
|
-
* `reset`, `load`, `error`, and `select`.
|
97
|
-
*
|
98
|
-
* Borrows from Modernizr.
|
99
|
-
*
|
100
|
-
* @param {string} eventNameSuffix Event name, e.g. "click".
|
101
|
-
* @param {?boolean} capture Check if the capture phase is supported.
|
102
|
-
* @return {boolean} True if the event is supported.
|
103
|
-
* @internal
|
104
|
-
* @license Modernizr 3.0.0pre (Custom Build) | MIT
|
105
|
-
*/
|
106
|
-
function isEventSupported(eventNameSuffix, capture) {
|
107
|
-
if (!ExecutionEnvironment.canUseDOM ||
|
108
|
-
capture && !('addEventListener' in document)) {
|
109
|
-
return false;
|
110
|
-
}
|
111
|
-
|
112
|
-
var eventName = 'on' + eventNameSuffix;
|
113
|
-
var isSupported = eventName in document;
|
114
|
-
|
115
|
-
if (!isSupported) {
|
116
|
-
var element = document.createElement('div');
|
117
|
-
element.setAttribute(eventName, 'return;');
|
118
|
-
isSupported = typeof element[eventName] === 'function';
|
119
|
-
}
|
120
|
-
|
121
|
-
if (!isSupported && useHasFeature && eventNameSuffix === 'wheel') {
|
122
|
-
// This is the only way to test support for the `wheel` event in IE9+.
|
123
|
-
isSupported = document.implementation.hasFeature('Events.wheel', '3.0');
|
124
|
-
}
|
125
|
-
|
126
|
-
return isSupported;
|
127
|
-
}
|
128
|
-
|
129
|
-
module.exports = isEventSupported;
|
130
|
-
|
131
|
-
|
132
|
-
/***/ }),
|
133
|
-
|
134
|
-
/***/ 5022:
|
135
|
-
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
136
|
-
|
137
|
-
/**
|
138
|
-
* Copyright (c) 2015, Facebook, Inc.
|
139
|
-
* All rights reserved.
|
140
|
-
*
|
141
|
-
* This source code is licensed under the BSD-style license found in the
|
142
|
-
* LICENSE file in the root directory of this source tree. An additional grant
|
143
|
-
* of patent rights can be found in the PATENTS file in the same directory.
|
144
|
-
*
|
145
|
-
* @providesModule normalizeWheel
|
146
|
-
* @typechecks
|
147
|
-
*/
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
var UserAgent_DEPRECATED = __webpack_require__(7416);
|
152
|
-
|
153
|
-
var isEventSupported = __webpack_require__(2586);
|
154
|
-
|
155
|
-
|
156
|
-
// Reasonable defaults
|
157
|
-
var PIXEL_STEP = 10;
|
158
|
-
var LINE_HEIGHT = 40;
|
159
|
-
var PAGE_HEIGHT = 800;
|
160
|
-
|
161
|
-
/**
|
162
|
-
* Mouse wheel (and 2-finger trackpad) support on the web sucks. It is
|
163
|
-
* complicated, thus this doc is long and (hopefully) detailed enough to answer
|
164
|
-
* your questions.
|
165
|
-
*
|
166
|
-
* If you need to react to the mouse wheel in a predictable way, this code is
|
167
|
-
* like your bestest friend. * hugs *
|
168
|
-
*
|
169
|
-
* As of today, there are 4 DOM event types you can listen to:
|
170
|
-
*
|
171
|
-
* 'wheel' -- Chrome(31+), FF(17+), IE(9+)
|
172
|
-
* 'mousewheel' -- Chrome, IE(6+), Opera, Safari
|
173
|
-
* 'MozMousePixelScroll' -- FF(3.5 only!) (2010-2013) -- don't bother!
|
174
|
-
* 'DOMMouseScroll' -- FF(0.9.7+) since 2003
|
175
|
-
*
|
176
|
-
* So what to do? The is the best:
|
177
|
-
*
|
178
|
-
* normalizeWheel.getEventType();
|
179
|
-
*
|
180
|
-
* In your event callback, use this code to get sane interpretation of the
|
181
|
-
* deltas. This code will return an object with properties:
|
182
|
-
*
|
183
|
-
* spinX -- normalized spin speed (use for zoom) - x plane
|
184
|
-
* spinY -- " - y plane
|
185
|
-
* pixelX -- normalized distance (to pixels) - x plane
|
186
|
-
* pixelY -- " - y plane
|
187
|
-
*
|
188
|
-
* Wheel values are provided by the browser assuming you are using the wheel to
|
189
|
-
* scroll a web page by a number of lines or pixels (or pages). Values can vary
|
190
|
-
* significantly on different platforms and browsers, forgetting that you can
|
191
|
-
* scroll at different speeds. Some devices (like trackpads) emit more events
|
192
|
-
* at smaller increments with fine granularity, and some emit massive jumps with
|
193
|
-
* linear speed or acceleration.
|
194
|
-
*
|
195
|
-
* This code does its best to normalize the deltas for you:
|
196
|
-
*
|
197
|
-
* - spin is trying to normalize how far the wheel was spun (or trackpad
|
198
|
-
* dragged). This is super useful for zoom support where you want to
|
199
|
-
* throw away the chunky scroll steps on the PC and make those equal to
|
200
|
-
* the slow and smooth tiny steps on the Mac. Key data: This code tries to
|
201
|
-
* resolve a single slow step on a wheel to 1.
|
202
|
-
*
|
203
|
-
* - pixel is normalizing the desired scroll delta in pixel units. You'll
|
204
|
-
* get the crazy differences between browsers, but at least it'll be in
|
205
|
-
* pixels!
|
206
|
-
*
|
207
|
-
* - positive value indicates scrolling DOWN/RIGHT, negative UP/LEFT. This
|
208
|
-
* should translate to positive value zooming IN, negative zooming OUT.
|
209
|
-
* This matches the newer 'wheel' event.
|
210
|
-
*
|
211
|
-
* Why are there spinX, spinY (or pixels)?
|
212
|
-
*
|
213
|
-
* - spinX is a 2-finger side drag on the trackpad, and a shift + wheel turn
|
214
|
-
* with a mouse. It results in side-scrolling in the browser by default.
|
215
|
-
*
|
216
|
-
* - spinY is what you expect -- it's the classic axis of a mouse wheel.
|
217
|
-
*
|
218
|
-
* - I dropped spinZ/pixelZ. It is supported by the DOM 3 'wheel' event and
|
219
|
-
* probably is by browsers in conjunction with fancy 3D controllers .. but
|
220
|
-
* you know.
|
221
|
-
*
|
222
|
-
* Implementation info:
|
223
|
-
*
|
224
|
-
* Examples of 'wheel' event if you scroll slowly (down) by one step with an
|
225
|
-
* average mouse:
|
226
|
-
*
|
227
|
-
* OS X + Chrome (mouse) - 4 pixel delta (wheelDelta -120)
|
228
|
-
* OS X + Safari (mouse) - N/A pixel delta (wheelDelta -12)
|
229
|
-
* OS X + Firefox (mouse) - 0.1 line delta (wheelDelta N/A)
|
230
|
-
* Win8 + Chrome (mouse) - 100 pixel delta (wheelDelta -120)
|
231
|
-
* Win8 + Firefox (mouse) - 3 line delta (wheelDelta -120)
|
232
|
-
*
|
233
|
-
* On the trackpad:
|
234
|
-
*
|
235
|
-
* OS X + Chrome (trackpad) - 2 pixel delta (wheelDelta -6)
|
236
|
-
* OS X + Firefox (trackpad) - 1 pixel delta (wheelDelta N/A)
|
237
|
-
*
|
238
|
-
* On other/older browsers.. it's more complicated as there can be multiple and
|
239
|
-
* also missing delta values.
|
240
|
-
*
|
241
|
-
* The 'wheel' event is more standard:
|
242
|
-
*
|
243
|
-
* http://www.w3.org/TR/DOM-Level-3-Events/#events-wheelevents
|
244
|
-
*
|
245
|
-
* The basics is that it includes a unit, deltaMode (pixels, lines, pages), and
|
246
|
-
* deltaX, deltaY and deltaZ. Some browsers provide other values to maintain
|
247
|
-
* backward compatibility with older events. Those other values help us
|
248
|
-
* better normalize spin speed. Example of what the browsers provide:
|
249
|
-
*
|
250
|
-
* | event.wheelDelta | event.detail
|
251
|
-
* ------------------+------------------+--------------
|
252
|
-
* Safari v5/OS X | -120 | 0
|
253
|
-
* Safari v5/Win7 | -120 | 0
|
254
|
-
* Chrome v17/OS X | -120 | 0
|
255
|
-
* Chrome v17/Win7 | -120 | 0
|
256
|
-
* IE9/Win7 | -120 | undefined
|
257
|
-
* Firefox v4/OS X | undefined | 1
|
258
|
-
* Firefox v4/Win7 | undefined | 3
|
259
|
-
*
|
260
|
-
*/
|
261
|
-
function normalizeWheel(/*object*/ event) /*object*/ {
|
262
|
-
var sX = 0, sY = 0, // spinX, spinY
|
263
|
-
pX = 0, pY = 0; // pixelX, pixelY
|
264
|
-
|
265
|
-
// Legacy
|
266
|
-
if ('detail' in event) { sY = event.detail; }
|
267
|
-
if ('wheelDelta' in event) { sY = -event.wheelDelta / 120; }
|
268
|
-
if ('wheelDeltaY' in event) { sY = -event.wheelDeltaY / 120; }
|
269
|
-
if ('wheelDeltaX' in event) { sX = -event.wheelDeltaX / 120; }
|
270
|
-
|
271
|
-
// side scrolling on FF with DOMMouseScroll
|
272
|
-
if ( 'axis' in event && event.axis === event.HORIZONTAL_AXIS ) {
|
273
|
-
sX = sY;
|
274
|
-
sY = 0;
|
275
|
-
}
|
276
|
-
|
277
|
-
pX = sX * PIXEL_STEP;
|
278
|
-
pY = sY * PIXEL_STEP;
|
279
|
-
|
280
|
-
if ('deltaY' in event) { pY = event.deltaY; }
|
281
|
-
if ('deltaX' in event) { pX = event.deltaX; }
|
282
|
-
|
283
|
-
if ((pX || pY) && event.deltaMode) {
|
284
|
-
if (event.deltaMode == 1) { // delta in LINE units
|
285
|
-
pX *= LINE_HEIGHT;
|
286
|
-
pY *= LINE_HEIGHT;
|
287
|
-
} else { // delta in PAGE units
|
288
|
-
pX *= PAGE_HEIGHT;
|
289
|
-
pY *= PAGE_HEIGHT;
|
290
|
-
}
|
291
|
-
}
|
292
|
-
|
293
|
-
// Fall-back if spin cannot be determined
|
294
|
-
if (pX && !sX) { sX = (pX < 1) ? -1 : 1; }
|
295
|
-
if (pY && !sY) { sY = (pY < 1) ? -1 : 1; }
|
296
|
-
|
297
|
-
return { spinX : sX,
|
298
|
-
spinY : sY,
|
299
|
-
pixelX : pX,
|
300
|
-
pixelY : pY };
|
301
|
-
}
|
302
|
-
|
303
|
-
|
304
|
-
/**
|
305
|
-
* The best combination if you prefer spinX + spinY normalization. It favors
|
306
|
-
* the older DOMMouseScroll for Firefox, as FF does not include wheelDelta with
|
307
|
-
* 'wheel' event, making spin speed determination impossible.
|
308
|
-
*/
|
309
|
-
normalizeWheel.getEventType = function() /*string*/ {
|
310
|
-
return (UserAgent_DEPRECATED.firefox())
|
311
|
-
? 'DOMMouseScroll'
|
312
|
-
: (isEventSupported('wheel'))
|
313
|
-
? 'wheel'
|
314
|
-
: 'mousewheel';
|
315
|
-
};
|
316
|
-
|
317
|
-
module.exports = normalizeWheel;
|
318
|
-
|
319
|
-
|
320
|
-
/***/ }),
|
321
|
-
|
322
|
-
/***/ 7416:
|
72
|
+
/***/ 6377:
|
323
73
|
/***/ ((module) => {
|
324
74
|
|
325
75
|
/**
|
@@ -608,10 +358,260 @@ module.exports = UserAgent_DEPRECATED;
|
|
608
358
|
|
609
359
|
/***/ }),
|
610
360
|
|
611
|
-
/***/
|
361
|
+
/***/ 3541:
|
612
362
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
613
363
|
|
614
|
-
|
364
|
+
/**
|
365
|
+
* Copyright 2013-2015, Facebook, Inc.
|
366
|
+
* All rights reserved.
|
367
|
+
*
|
368
|
+
* This source code is licensed under the BSD-style license found in the
|
369
|
+
* LICENSE file in the root directory of this source tree. An additional grant
|
370
|
+
* of patent rights can be found in the PATENTS file in the same directory.
|
371
|
+
*
|
372
|
+
* @providesModule isEventSupported
|
373
|
+
*/
|
374
|
+
|
375
|
+
|
376
|
+
|
377
|
+
var ExecutionEnvironment = __webpack_require__(7430);
|
378
|
+
|
379
|
+
var useHasFeature;
|
380
|
+
if (ExecutionEnvironment.canUseDOM) {
|
381
|
+
useHasFeature =
|
382
|
+
document.implementation &&
|
383
|
+
document.implementation.hasFeature &&
|
384
|
+
// always returns true in newer browsers as per the standard.
|
385
|
+
// @see http://dom.spec.whatwg.org/#dom-domimplementation-hasfeature
|
386
|
+
document.implementation.hasFeature('', '') !== true;
|
387
|
+
}
|
388
|
+
|
389
|
+
/**
|
390
|
+
* Checks if an event is supported in the current execution environment.
|
391
|
+
*
|
392
|
+
* NOTE: This will not work correctly for non-generic events such as `change`,
|
393
|
+
* `reset`, `load`, `error`, and `select`.
|
394
|
+
*
|
395
|
+
* Borrows from Modernizr.
|
396
|
+
*
|
397
|
+
* @param {string} eventNameSuffix Event name, e.g. "click".
|
398
|
+
* @param {?boolean} capture Check if the capture phase is supported.
|
399
|
+
* @return {boolean} True if the event is supported.
|
400
|
+
* @internal
|
401
|
+
* @license Modernizr 3.0.0pre (Custom Build) | MIT
|
402
|
+
*/
|
403
|
+
function isEventSupported(eventNameSuffix, capture) {
|
404
|
+
if (!ExecutionEnvironment.canUseDOM ||
|
405
|
+
capture && !('addEventListener' in document)) {
|
406
|
+
return false;
|
407
|
+
}
|
408
|
+
|
409
|
+
var eventName = 'on' + eventNameSuffix;
|
410
|
+
var isSupported = eventName in document;
|
411
|
+
|
412
|
+
if (!isSupported) {
|
413
|
+
var element = document.createElement('div');
|
414
|
+
element.setAttribute(eventName, 'return;');
|
415
|
+
isSupported = typeof element[eventName] === 'function';
|
416
|
+
}
|
417
|
+
|
418
|
+
if (!isSupported && useHasFeature && eventNameSuffix === 'wheel') {
|
419
|
+
// This is the only way to test support for the `wheel` event in IE9+.
|
420
|
+
isSupported = document.implementation.hasFeature('Events.wheel', '3.0');
|
421
|
+
}
|
422
|
+
|
423
|
+
return isSupported;
|
424
|
+
}
|
425
|
+
|
426
|
+
module.exports = isEventSupported;
|
427
|
+
|
428
|
+
|
429
|
+
/***/ }),
|
430
|
+
|
431
|
+
/***/ 2527:
|
432
|
+
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
433
|
+
|
434
|
+
/**
|
435
|
+
* Copyright (c) 2015, Facebook, Inc.
|
436
|
+
* All rights reserved.
|
437
|
+
*
|
438
|
+
* This source code is licensed under the BSD-style license found in the
|
439
|
+
* LICENSE file in the root directory of this source tree. An additional grant
|
440
|
+
* of patent rights can be found in the PATENTS file in the same directory.
|
441
|
+
*
|
442
|
+
* @providesModule normalizeWheel
|
443
|
+
* @typechecks
|
444
|
+
*/
|
445
|
+
|
446
|
+
|
447
|
+
|
448
|
+
var UserAgent_DEPRECATED = __webpack_require__(6377);
|
449
|
+
|
450
|
+
var isEventSupported = __webpack_require__(3541);
|
451
|
+
|
452
|
+
|
453
|
+
// Reasonable defaults
|
454
|
+
var PIXEL_STEP = 10;
|
455
|
+
var LINE_HEIGHT = 40;
|
456
|
+
var PAGE_HEIGHT = 800;
|
457
|
+
|
458
|
+
/**
|
459
|
+
* Mouse wheel (and 2-finger trackpad) support on the web sucks. It is
|
460
|
+
* complicated, thus this doc is long and (hopefully) detailed enough to answer
|
461
|
+
* your questions.
|
462
|
+
*
|
463
|
+
* If you need to react to the mouse wheel in a predictable way, this code is
|
464
|
+
* like your bestest friend. * hugs *
|
465
|
+
*
|
466
|
+
* As of today, there are 4 DOM event types you can listen to:
|
467
|
+
*
|
468
|
+
* 'wheel' -- Chrome(31+), FF(17+), IE(9+)
|
469
|
+
* 'mousewheel' -- Chrome, IE(6+), Opera, Safari
|
470
|
+
* 'MozMousePixelScroll' -- FF(3.5 only!) (2010-2013) -- don't bother!
|
471
|
+
* 'DOMMouseScroll' -- FF(0.9.7+) since 2003
|
472
|
+
*
|
473
|
+
* So what to do? The is the best:
|
474
|
+
*
|
475
|
+
* normalizeWheel.getEventType();
|
476
|
+
*
|
477
|
+
* In your event callback, use this code to get sane interpretation of the
|
478
|
+
* deltas. This code will return an object with properties:
|
479
|
+
*
|
480
|
+
* spinX -- normalized spin speed (use for zoom) - x plane
|
481
|
+
* spinY -- " - y plane
|
482
|
+
* pixelX -- normalized distance (to pixels) - x plane
|
483
|
+
* pixelY -- " - y plane
|
484
|
+
*
|
485
|
+
* Wheel values are provided by the browser assuming you are using the wheel to
|
486
|
+
* scroll a web page by a number of lines or pixels (or pages). Values can vary
|
487
|
+
* significantly on different platforms and browsers, forgetting that you can
|
488
|
+
* scroll at different speeds. Some devices (like trackpads) emit more events
|
489
|
+
* at smaller increments with fine granularity, and some emit massive jumps with
|
490
|
+
* linear speed or acceleration.
|
491
|
+
*
|
492
|
+
* This code does its best to normalize the deltas for you:
|
493
|
+
*
|
494
|
+
* - spin is trying to normalize how far the wheel was spun (or trackpad
|
495
|
+
* dragged). This is super useful for zoom support where you want to
|
496
|
+
* throw away the chunky scroll steps on the PC and make those equal to
|
497
|
+
* the slow and smooth tiny steps on the Mac. Key data: This code tries to
|
498
|
+
* resolve a single slow step on a wheel to 1.
|
499
|
+
*
|
500
|
+
* - pixel is normalizing the desired scroll delta in pixel units. You'll
|
501
|
+
* get the crazy differences between browsers, but at least it'll be in
|
502
|
+
* pixels!
|
503
|
+
*
|
504
|
+
* - positive value indicates scrolling DOWN/RIGHT, negative UP/LEFT. This
|
505
|
+
* should translate to positive value zooming IN, negative zooming OUT.
|
506
|
+
* This matches the newer 'wheel' event.
|
507
|
+
*
|
508
|
+
* Why are there spinX, spinY (or pixels)?
|
509
|
+
*
|
510
|
+
* - spinX is a 2-finger side drag on the trackpad, and a shift + wheel turn
|
511
|
+
* with a mouse. It results in side-scrolling in the browser by default.
|
512
|
+
*
|
513
|
+
* - spinY is what you expect -- it's the classic axis of a mouse wheel.
|
514
|
+
*
|
515
|
+
* - I dropped spinZ/pixelZ. It is supported by the DOM 3 'wheel' event and
|
516
|
+
* probably is by browsers in conjunction with fancy 3D controllers .. but
|
517
|
+
* you know.
|
518
|
+
*
|
519
|
+
* Implementation info:
|
520
|
+
*
|
521
|
+
* Examples of 'wheel' event if you scroll slowly (down) by one step with an
|
522
|
+
* average mouse:
|
523
|
+
*
|
524
|
+
* OS X + Chrome (mouse) - 4 pixel delta (wheelDelta -120)
|
525
|
+
* OS X + Safari (mouse) - N/A pixel delta (wheelDelta -12)
|
526
|
+
* OS X + Firefox (mouse) - 0.1 line delta (wheelDelta N/A)
|
527
|
+
* Win8 + Chrome (mouse) - 100 pixel delta (wheelDelta -120)
|
528
|
+
* Win8 + Firefox (mouse) - 3 line delta (wheelDelta -120)
|
529
|
+
*
|
530
|
+
* On the trackpad:
|
531
|
+
*
|
532
|
+
* OS X + Chrome (trackpad) - 2 pixel delta (wheelDelta -6)
|
533
|
+
* OS X + Firefox (trackpad) - 1 pixel delta (wheelDelta N/A)
|
534
|
+
*
|
535
|
+
* On other/older browsers.. it's more complicated as there can be multiple and
|
536
|
+
* also missing delta values.
|
537
|
+
*
|
538
|
+
* The 'wheel' event is more standard:
|
539
|
+
*
|
540
|
+
* http://www.w3.org/TR/DOM-Level-3-Events/#events-wheelevents
|
541
|
+
*
|
542
|
+
* The basics is that it includes a unit, deltaMode (pixels, lines, pages), and
|
543
|
+
* deltaX, deltaY and deltaZ. Some browsers provide other values to maintain
|
544
|
+
* backward compatibility with older events. Those other values help us
|
545
|
+
* better normalize spin speed. Example of what the browsers provide:
|
546
|
+
*
|
547
|
+
* | event.wheelDelta | event.detail
|
548
|
+
* ------------------+------------------+--------------
|
549
|
+
* Safari v5/OS X | -120 | 0
|
550
|
+
* Safari v5/Win7 | -120 | 0
|
551
|
+
* Chrome v17/OS X | -120 | 0
|
552
|
+
* Chrome v17/Win7 | -120 | 0
|
553
|
+
* IE9/Win7 | -120 | undefined
|
554
|
+
* Firefox v4/OS X | undefined | 1
|
555
|
+
* Firefox v4/Win7 | undefined | 3
|
556
|
+
*
|
557
|
+
*/
|
558
|
+
function normalizeWheel(/*object*/ event) /*object*/ {
|
559
|
+
var sX = 0, sY = 0, // spinX, spinY
|
560
|
+
pX = 0, pY = 0; // pixelX, pixelY
|
561
|
+
|
562
|
+
// Legacy
|
563
|
+
if ('detail' in event) { sY = event.detail; }
|
564
|
+
if ('wheelDelta' in event) { sY = -event.wheelDelta / 120; }
|
565
|
+
if ('wheelDeltaY' in event) { sY = -event.wheelDeltaY / 120; }
|
566
|
+
if ('wheelDeltaX' in event) { sX = -event.wheelDeltaX / 120; }
|
567
|
+
|
568
|
+
// side scrolling on FF with DOMMouseScroll
|
569
|
+
if ( 'axis' in event && event.axis === event.HORIZONTAL_AXIS ) {
|
570
|
+
sX = sY;
|
571
|
+
sY = 0;
|
572
|
+
}
|
573
|
+
|
574
|
+
pX = sX * PIXEL_STEP;
|
575
|
+
pY = sY * PIXEL_STEP;
|
576
|
+
|
577
|
+
if ('deltaY' in event) { pY = event.deltaY; }
|
578
|
+
if ('deltaX' in event) { pX = event.deltaX; }
|
579
|
+
|
580
|
+
if ((pX || pY) && event.deltaMode) {
|
581
|
+
if (event.deltaMode == 1) { // delta in LINE units
|
582
|
+
pX *= LINE_HEIGHT;
|
583
|
+
pY *= LINE_HEIGHT;
|
584
|
+
} else { // delta in PAGE units
|
585
|
+
pX *= PAGE_HEIGHT;
|
586
|
+
pY *= PAGE_HEIGHT;
|
587
|
+
}
|
588
|
+
}
|
589
|
+
|
590
|
+
// Fall-back if spin cannot be determined
|
591
|
+
if (pX && !sX) { sX = (pX < 1) ? -1 : 1; }
|
592
|
+
if (pY && !sY) { sY = (pY < 1) ? -1 : 1; }
|
593
|
+
|
594
|
+
return { spinX : sX,
|
595
|
+
spinY : sY,
|
596
|
+
pixelX : pX,
|
597
|
+
pixelY : pY };
|
598
|
+
}
|
599
|
+
|
600
|
+
|
601
|
+
/**
|
602
|
+
* The best combination if you prefer spinX + spinY normalization. It favors
|
603
|
+
* the older DOMMouseScroll for Firefox, as FF does not include wheelDelta with
|
604
|
+
* 'wheel' event, making spin speed determination impossible.
|
605
|
+
*/
|
606
|
+
normalizeWheel.getEventType = function() /*string*/ {
|
607
|
+
return (UserAgent_DEPRECATED.firefox())
|
608
|
+
? 'DOMMouseScroll'
|
609
|
+
: (isEventSupported('wheel'))
|
610
|
+
? 'wheel'
|
611
|
+
: 'mousewheel';
|
612
|
+
};
|
613
|
+
|
614
|
+
module.exports = normalizeWheel;
|
615
615
|
|
616
616
|
|
617
617
|
/***/ })
|
@@ -674,6 +674,8 @@ module.exports = __webpack_require__(5022);
|
|
674
674
|
/******/
|
675
675
|
/************************************************************************/
|
676
676
|
var __webpack_exports__ = {};
|
677
|
+
// This entry need to be wrapped in an IIFE because it need to be isolated against other modules in the chunk.
|
678
|
+
(() => {
|
677
679
|
|
678
680
|
// EXPORTS
|
679
681
|
__webpack_require__.d(__webpack_exports__, {
|
@@ -682,31 +684,23 @@ __webpack_require__.d(__webpack_exports__, {
|
|
682
684
|
"default": () => (/* binding */ src)
|
683
685
|
});
|
684
686
|
|
685
|
-
;// external "../shared"
|
686
|
-
var x = (y)
|
687
|
-
|
688
|
-
}
|
689
|
-
|
690
|
-
|
691
|
-
|
692
|
-
|
693
|
-
|
694
|
-
}
|
695
|
-
var
|
696
|
-
const
|
697
|
-
;// external "../
|
698
|
-
var
|
699
|
-
|
700
|
-
}
|
701
|
-
|
702
|
-
const config_provider_namespaceObject = config_provider_x({ ["usePrefix"]: () => (__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_config_provider_fe8577a3__.usePrefix) });
|
703
|
-
;// external "../icon"
|
704
|
-
var icon_x = (y) => {
|
705
|
-
var x = {}; __webpack_require__.d(x, y); return x
|
706
|
-
}
|
707
|
-
var icon_y = (x) => (() => (x))
|
708
|
-
const icon_namespaceObject = icon_x({ ["AngleLeft"]: () => (__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_icon_a97c79c3__.AngleLeft), ["AngleRight"]: () => (__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_icon_a97c79c3__.AngleRight), ["Close"]: () => (__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_icon_a97c79c3__.Close), ["Spinner"]: () => (__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_icon_a97c79c3__.Spinner) });
|
709
|
-
;// ../../node_modules/@babel/runtime/helpers/esm/typeof.js
|
687
|
+
;// CONCATENATED MODULE: external "../shared"
|
688
|
+
var x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
689
|
+
var y = x => () => x
|
690
|
+
const shared_namespaceObject = x({ ["PropTypes"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.PropTypes, ["bkZIndexManager"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.bkZIndexManager, ["getFullscreenRoot"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.getFullscreenRoot, ["resolveClassName"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.resolveClassName, ["withInstall"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.withInstall });
|
691
|
+
;// CONCATENATED MODULE: external "vue"
|
692
|
+
var external_vue_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
693
|
+
var external_vue_y = x => () => x
|
694
|
+
const external_vue_namespaceObject = external_vue_x({ ["Fragment"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.Fragment, ["Teleport"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.Teleport, ["Transition"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.Transition, ["computed"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.computed, ["createTextVNode"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.createTextVNode, ["createVNode"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.createVNode, ["defineComponent"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.defineComponent, ["effectScope"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.effectScope, ["h"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.h, ["nextTick"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.nextTick, ["ref"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.ref, ["render"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.render, ["resolveDirective"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.resolveDirective, ["shallowRef"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.shallowRef, ["watch"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.watch, ["withDirectives"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.withDirectives });
|
695
|
+
;// CONCATENATED MODULE: external "../config-provider"
|
696
|
+
var config_provider_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
697
|
+
var config_provider_y = x => () => x
|
698
|
+
const config_provider_namespaceObject = config_provider_x({ ["usePrefix"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_config_provider_fe8577a3__.usePrefix });
|
699
|
+
;// CONCATENATED MODULE: external "../icon"
|
700
|
+
var icon_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
701
|
+
var icon_y = x => () => x
|
702
|
+
const icon_namespaceObject = icon_x({ ["AngleLeft"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_icon_a97c79c3__.AngleLeft, ["AngleRight"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_icon_a97c79c3__.AngleRight, ["Close"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_icon_a97c79c3__.Close, ["Spinner"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_icon_a97c79c3__.Spinner });
|
703
|
+
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/typeof.js
|
710
704
|
function _typeof(o) {
|
711
705
|
"@babel/helpers - typeof";
|
712
706
|
|
@@ -716,7 +710,7 @@ function _typeof(o) {
|
|
716
710
|
return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
|
717
711
|
}, _typeof(o);
|
718
712
|
}
|
719
|
-
;// ../../node_modules/@babel/runtime/helpers/esm/toPrimitive.js
|
713
|
+
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/toPrimitive.js
|
720
714
|
|
721
715
|
function toPrimitive(t, r) {
|
722
716
|
if ("object" != _typeof(t) || !t) return t;
|
@@ -728,14 +722,14 @@ function toPrimitive(t, r) {
|
|
728
722
|
}
|
729
723
|
return ("string" === r ? String : Number)(t);
|
730
724
|
}
|
731
|
-
;// ../../node_modules/@babel/runtime/helpers/esm/toPropertyKey.js
|
725
|
+
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/toPropertyKey.js
|
732
726
|
|
733
727
|
|
734
728
|
function toPropertyKey(t) {
|
735
729
|
var i = toPrimitive(t, "string");
|
736
730
|
return "symbol" == _typeof(i) ? i : String(i);
|
737
731
|
}
|
738
|
-
;// ../../node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
732
|
+
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
739
733
|
|
740
734
|
function _defineProperty(obj, key, value) {
|
741
735
|
key = toPropertyKey(key);
|
@@ -751,7 +745,7 @@ function _defineProperty(obj, key, value) {
|
|
751
745
|
}
|
752
746
|
return obj;
|
753
747
|
}
|
754
|
-
;// ../../packages/directives/src/clickoutside.ts
|
748
|
+
;// CONCATENATED MODULE: ../../packages/directives/src/clickoutside.ts
|
755
749
|
function _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it["return"] != null) it["return"](); } finally { if (didErr) throw err; } } }; }
|
756
750
|
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
|
757
751
|
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
|
@@ -759,7 +753,7 @@ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len
|
|
759
753
|
* Tencent is pleased to support the open source community by making
|
760
754
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
761
755
|
*
|
762
|
-
* Copyright (C)
|
756
|
+
* Copyright (C) 2025 Tencent. All rights reserved.
|
763
757
|
*
|
764
758
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
|
765
759
|
*
|
@@ -877,19 +871,17 @@ ClickOutside.install = function (app) {
|
|
877
871
|
app.directive('bkTooltips', ClickOutside);
|
878
872
|
};
|
879
873
|
/* harmony default export */ const clickoutside = ((/* unused pure expression or super */ null && (ClickOutside)));
|
880
|
-
;// external "../popover"
|
881
|
-
var popover_x = (y)
|
882
|
-
|
883
|
-
}
|
884
|
-
|
885
|
-
const popover_namespaceObject = popover_x({ ["$bkPopover"]: () => (__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_popover_9b03f19d__.$bkPopover) });
|
886
|
-
;// ../../packages/directives/src/ellipsis.ts
|
874
|
+
;// CONCATENATED MODULE: external "../popover"
|
875
|
+
var popover_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
876
|
+
var popover_y = x => () => x
|
877
|
+
const popover_namespaceObject = popover_x({ ["$bkPopover"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_popover_9b03f19d__.$bkPopover });
|
878
|
+
;// CONCATENATED MODULE: ../../packages/directives/src/ellipsis.ts
|
887
879
|
|
888
880
|
/*
|
889
881
|
* Tencent is pleased to support the open source community by making
|
890
882
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
891
883
|
*
|
892
|
-
* Copyright (C)
|
884
|
+
* Copyright (C) 2025 Tencent. All rights reserved.
|
893
885
|
*
|
894
886
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
|
895
887
|
*
|
@@ -994,14 +986,14 @@ var ellipsis = {
|
|
994
986
|
};
|
995
987
|
/* harmony default export */ const src_ellipsis = ((/* unused pure expression or super */ null && (ellipsis)));
|
996
988
|
// EXTERNAL MODULE: ../../node_modules/normalize-wheel/index.js
|
997
|
-
var normalize_wheel = __webpack_require__(
|
989
|
+
var normalize_wheel = __webpack_require__(2439);
|
998
990
|
var normalize_wheel_default = /*#__PURE__*/__webpack_require__.n(normalize_wheel);
|
999
|
-
;// ../../packages/directives/src/mousewheel.ts
|
991
|
+
;// CONCATENATED MODULE: ../../packages/directives/src/mousewheel.ts
|
1000
992
|
/*
|
1001
993
|
* Tencent is pleased to support the open source community by making
|
1002
994
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
1003
995
|
*
|
1004
|
-
* Copyright (C)
|
996
|
+
* Copyright (C) 2025 Tencent. All rights reserved.
|
1005
997
|
*
|
1006
998
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
|
1007
999
|
*
|
@@ -1038,22 +1030,22 @@ var mousewheel = {
|
|
1038
1030
|
}
|
1039
1031
|
};
|
1040
1032
|
/* harmony default export */ const src_mousewheel = ((/* unused pure expression or super */ null && (mousewheel)));
|
1041
|
-
;// ../../node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js
|
1033
|
+
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js
|
1042
1034
|
function arrayLikeToArray_arrayLikeToArray(arr, len) {
|
1043
1035
|
if (len == null || len > arr.length) len = arr.length;
|
1044
1036
|
for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];
|
1045
1037
|
return arr2;
|
1046
1038
|
}
|
1047
|
-
;// ../../node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js
|
1039
|
+
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js
|
1048
1040
|
|
1049
1041
|
function _arrayWithoutHoles(arr) {
|
1050
1042
|
if (Array.isArray(arr)) return arrayLikeToArray_arrayLikeToArray(arr);
|
1051
1043
|
}
|
1052
|
-
;// ../../node_modules/@babel/runtime/helpers/esm/iterableToArray.js
|
1044
|
+
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/iterableToArray.js
|
1053
1045
|
function _iterableToArray(iter) {
|
1054
1046
|
if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
|
1055
1047
|
}
|
1056
|
-
;// ../../node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js
|
1048
|
+
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js
|
1057
1049
|
|
1058
1050
|
function unsupportedIterableToArray_unsupportedIterableToArray(o, minLen) {
|
1059
1051
|
if (!o) return;
|
@@ -1063,11 +1055,11 @@ function unsupportedIterableToArray_unsupportedIterableToArray(o, minLen) {
|
|
1063
1055
|
if (n === "Map" || n === "Set") return Array.from(o);
|
1064
1056
|
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return arrayLikeToArray_arrayLikeToArray(o, minLen);
|
1065
1057
|
}
|
1066
|
-
;// ../../node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js
|
1058
|
+
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js
|
1067
1059
|
function _nonIterableSpread() {
|
1068
1060
|
throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
1069
1061
|
}
|
1070
|
-
;// ../../node_modules/@babel/runtime/helpers/esm/toConsumableArray.js
|
1062
|
+
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/toConsumableArray.js
|
1071
1063
|
|
1072
1064
|
|
1073
1065
|
|
@@ -1075,13 +1067,11 @@ function _nonIterableSpread() {
|
|
1075
1067
|
function _toConsumableArray(arr) {
|
1076
1068
|
return _arrayWithoutHoles(arr) || _iterableToArray(arr) || unsupportedIterableToArray_unsupportedIterableToArray(arr) || _nonIterableSpread();
|
1077
1069
|
}
|
1078
|
-
;// external "@popperjs/core"
|
1079
|
-
var core_x = (y)
|
1080
|
-
|
1081
|
-
}
|
1082
|
-
|
1083
|
-
const core_namespaceObject = core_x({ ["createPopper"]: () => (__WEBPACK_EXTERNAL_MODULE__popperjs_core_a5c7319c__.createPopper) });
|
1084
|
-
;// ../../packages/directives/src/tooltips.ts
|
1070
|
+
;// CONCATENATED MODULE: external "@popperjs/core"
|
1071
|
+
var core_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
1072
|
+
var core_y = x => () => x
|
1073
|
+
const core_namespaceObject = core_x({ ["createPopper"]: () => __WEBPACK_EXTERNAL_MODULE__popperjs_core_a5c7319c__.createPopper });
|
1074
|
+
;// CONCATENATED MODULE: ../../packages/directives/src/tooltips.ts
|
1085
1075
|
|
1086
1076
|
|
1087
1077
|
|
@@ -1091,7 +1081,7 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
|
|
1091
1081
|
* Tencent is pleased to support the open source community by making
|
1092
1082
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
1093
1083
|
*
|
1094
|
-
* Copyright (C)
|
1084
|
+
* Copyright (C) 2025 Tencent. All rights reserved.
|
1095
1085
|
*
|
1096
1086
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
|
1097
1087
|
*
|
@@ -1146,9 +1136,6 @@ var tooltips = {
|
|
1146
1136
|
hide(el);
|
1147
1137
|
}, 100);
|
1148
1138
|
});
|
1149
|
-
el.addEventListener('click', function () {
|
1150
|
-
hide(el);
|
1151
|
-
});
|
1152
1139
|
popper.addEventListener('mouseleave', function () {
|
1153
1140
|
clearTimeout(delayTimeout);
|
1154
1141
|
hideTimeout = setTimeout(function () {
|
@@ -1162,7 +1149,7 @@ var tooltips = {
|
|
1162
1149
|
show(el);
|
1163
1150
|
clearTimeout(delayTimeout);
|
1164
1151
|
}, opts.delay);
|
1165
|
-
} else if (popper.hasAttribute('data-show')) {
|
1152
|
+
} else if (!el.contains(event.target) && popper.hasAttribute('data-show')) {
|
1166
1153
|
hide(el);
|
1167
1154
|
}
|
1168
1155
|
});
|
@@ -1373,24 +1360,20 @@ function hide(el) {
|
|
1373
1360
|
}
|
1374
1361
|
}
|
1375
1362
|
/* harmony default export */ const src_tooltips = (tooltips);
|
1376
|
-
;// external "../loading"
|
1377
|
-
var external_loading_x = (y)
|
1378
|
-
|
1379
|
-
}
|
1380
|
-
var external_loading_y = (x) => (() => (x))
|
1363
|
+
;// CONCATENATED MODULE: external "../loading"
|
1364
|
+
var external_loading_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
1365
|
+
var external_loading_y = x => () => x
|
1381
1366
|
const external_loading_namespaceObject = external_loading_x({ });
|
1382
|
-
;// external "../overflow-title"
|
1383
|
-
var external_overflow_title_x = (y)
|
1384
|
-
|
1385
|
-
}
|
1386
|
-
var external_overflow_title_y = (x) => (() => (x))
|
1367
|
+
;// CONCATENATED MODULE: external "../overflow-title"
|
1368
|
+
var external_overflow_title_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
1369
|
+
var external_overflow_title_y = x => () => x
|
1387
1370
|
const external_overflow_title_namespaceObject = external_overflow_title_x({ });
|
1388
|
-
;// ../../packages/directives/src/index.ts
|
1371
|
+
;// CONCATENATED MODULE: ../../packages/directives/src/index.ts
|
1389
1372
|
/*
|
1390
1373
|
* Tencent is pleased to support the open source community by making
|
1391
1374
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
1392
1375
|
*
|
1393
|
-
* Copyright (C)
|
1376
|
+
* Copyright (C) 2025 Tencent. All rights reserved.
|
1394
1377
|
*
|
1395
1378
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
|
1396
1379
|
*
|
@@ -1418,19 +1401,15 @@ const external_overflow_title_namespaceObject = external_overflow_title_x({ });
|
|
1418
1401
|
|
1419
1402
|
|
1420
1403
|
// export { createInstance as bkEllipsisInstance } from './ellipsis';
|
1421
|
-
;// external "lodash/throttle"
|
1422
|
-
var throttle_x = (y)
|
1423
|
-
|
1424
|
-
}
|
1425
|
-
|
1426
|
-
|
1427
|
-
|
1428
|
-
|
1429
|
-
|
1430
|
-
}
|
1431
|
-
var external_vue_types_y = (x) => (() => (x))
|
1432
|
-
const external_vue_types_namespaceObject = external_vue_types_x({ ["toType"]: () => (__WEBPACK_EXTERNAL_MODULE_vue_types_22de060a__.toType) });
|
1433
|
-
;// ../../packages/image/src/props.ts
|
1404
|
+
;// CONCATENATED MODULE: external "lodash/throttle"
|
1405
|
+
var throttle_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
1406
|
+
var throttle_y = x => () => x
|
1407
|
+
const throttle_namespaceObject = throttle_x({ ["default"]: () => __WEBPACK_EXTERNAL_MODULE_lodash_throttle_a7b7506a__["default"] });
|
1408
|
+
;// CONCATENATED MODULE: external "vue-types"
|
1409
|
+
var external_vue_types_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
1410
|
+
var external_vue_types_y = x => () => x
|
1411
|
+
const external_vue_types_namespaceObject = external_vue_types_x({ ["toType"]: () => __WEBPACK_EXTERNAL_MODULE_vue_types_22de060a__.toType });
|
1412
|
+
;// CONCATENATED MODULE: ../../packages/image/src/props.ts
|
1434
1413
|
|
1435
1414
|
|
1436
1415
|
var FitEnum;
|
@@ -1465,7 +1444,7 @@ var propsImageViever = {
|
|
1465
1444
|
loops: shared_namespaceObject.PropTypes.bool.def(true),
|
1466
1445
|
maskClose: shared_namespaceObject.PropTypes.bool.def(true)
|
1467
1446
|
};
|
1468
|
-
;// ../../packages/image/src/image-viewer.tsx
|
1447
|
+
;// CONCATENATED MODULE: ../../packages/image/src/image-viewer.tsx
|
1469
1448
|
|
1470
1449
|
|
1471
1450
|
function image_viewer_ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
@@ -1474,7 +1453,7 @@ function image_viewer_objectSpread(e) { for (var r = 1; r < arguments.length; r+
|
|
1474
1453
|
* Tencent is pleased to support the open source community by making
|
1475
1454
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
1476
1455
|
*
|
1477
|
-
* Copyright (C)
|
1456
|
+
* Copyright (C) 2025 Tencent. All rights reserved.
|
1478
1457
|
*
|
1479
1458
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
|
1480
1459
|
*
|
@@ -1816,13 +1795,13 @@ function image_viewer_objectSpread(e) { for (var r = 1; r < arguments.length; r+
|
|
1816
1795
|
};
|
1817
1796
|
}
|
1818
1797
|
}));
|
1819
|
-
;// ../../packages/image/src/image.tsx
|
1798
|
+
;// CONCATENATED MODULE: ../../packages/image/src/image.tsx
|
1820
1799
|
|
1821
1800
|
/*
|
1822
1801
|
* Tencent is pleased to support the open source community by making
|
1823
1802
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
1824
1803
|
*
|
1825
|
-
* Copyright (C)
|
1804
|
+
* Copyright (C) 2025 Tencent. All rights reserved.
|
1826
1805
|
*
|
1827
1806
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
|
1828
1807
|
*
|
@@ -1926,12 +1905,12 @@ function image_viewer_objectSpread(e) { for (var r = 1; r < arguments.length; r+
|
|
1926
1905
|
};
|
1927
1906
|
}
|
1928
1907
|
}));
|
1929
|
-
;// ../../packages/image/src/index.ts
|
1908
|
+
;// CONCATENATED MODULE: ../../packages/image/src/index.ts
|
1930
1909
|
/*
|
1931
1910
|
* Tencent is pleased to support the open source community by making
|
1932
1911
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
1933
1912
|
*
|
1934
|
-
* Copyright (C)
|
1913
|
+
* Copyright (C) 2025 Tencent. All rights reserved.
|
1935
1914
|
*
|
1936
1915
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
|
1937
1916
|
*
|
@@ -1958,6 +1937,8 @@ function image_viewer_objectSpread(e) { for (var r = 1; r < arguments.length; r+
|
|
1958
1937
|
|
1959
1938
|
var BkImage = (0,shared_namespaceObject.withInstall)(src_image);
|
1960
1939
|
/* harmony default export */ const src = (BkImage);
|
1940
|
+
})();
|
1941
|
+
|
1961
1942
|
var __webpack_exports__Image = __webpack_exports__.Image;
|
1962
1943
|
var __webpack_exports__ImageViewer = __webpack_exports__.ImageViewer;
|
1963
1944
|
var __webpack_exports__default = __webpack_exports__["default"];
|