bkui-vue 2.0.2-beta.6 → 2.0.2-beta.60
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 +16777 -14856
- 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 +52 -68
- package/lib/pagination/pagination.variable.css +1 -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.variable.css +1 -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
@@ -15,7 +15,15 @@ import * as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_radio_d36f24cf__ from "../rad
|
|
15
15
|
import "../radio/radio.less";
|
16
16
|
/******/ var __webpack_modules__ = ({
|
17
17
|
|
18
|
-
/***/
|
18
|
+
/***/ 2439:
|
19
|
+
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
20
|
+
|
21
|
+
module.exports = __webpack_require__(2527);
|
22
|
+
|
23
|
+
|
24
|
+
/***/ }),
|
25
|
+
|
26
|
+
/***/ 7430:
|
19
27
|
/***/ ((module) => {
|
20
28
|
|
21
29
|
/**
|
@@ -60,12 +68,301 @@ var ExecutionEnvironment = {
|
|
60
68
|
|
61
69
|
};
|
62
70
|
|
63
|
-
module.exports = ExecutionEnvironment;
|
71
|
+
module.exports = ExecutionEnvironment;
|
72
|
+
|
73
|
+
|
74
|
+
/***/ }),
|
75
|
+
|
76
|
+
/***/ 6377:
|
77
|
+
/***/ ((module) => {
|
78
|
+
|
79
|
+
/**
|
80
|
+
* Copyright 2004-present Facebook. All Rights Reserved.
|
81
|
+
*
|
82
|
+
* @providesModule UserAgent_DEPRECATED
|
83
|
+
*/
|
84
|
+
|
85
|
+
/**
|
86
|
+
* Provides entirely client-side User Agent and OS detection. You should prefer
|
87
|
+
* the non-deprecated UserAgent module when possible, which exposes our
|
88
|
+
* authoritative server-side PHP-based detection to the client.
|
89
|
+
*
|
90
|
+
* Usage is straightforward:
|
91
|
+
*
|
92
|
+
* if (UserAgent_DEPRECATED.ie()) {
|
93
|
+
* // IE
|
94
|
+
* }
|
95
|
+
*
|
96
|
+
* You can also do version checks:
|
97
|
+
*
|
98
|
+
* if (UserAgent_DEPRECATED.ie() >= 7) {
|
99
|
+
* // IE7 or better
|
100
|
+
* }
|
101
|
+
*
|
102
|
+
* The browser functions will return NaN if the browser does not match, so
|
103
|
+
* you can also do version compares the other way:
|
104
|
+
*
|
105
|
+
* if (UserAgent_DEPRECATED.ie() < 7) {
|
106
|
+
* // IE6 or worse
|
107
|
+
* }
|
108
|
+
*
|
109
|
+
* Note that the version is a float and may include a minor version number,
|
110
|
+
* so you should always use range operators to perform comparisons, not
|
111
|
+
* strict equality.
|
112
|
+
*
|
113
|
+
* **Note:** You should **strongly** prefer capability detection to browser
|
114
|
+
* version detection where it's reasonable:
|
115
|
+
*
|
116
|
+
* http://www.quirksmode.org/js/support.html
|
117
|
+
*
|
118
|
+
* Further, we have a large number of mature wrapper functions and classes
|
119
|
+
* which abstract away many browser irregularities. Check the documentation,
|
120
|
+
* grep for things, or ask on javascript@lists.facebook.com before writing yet
|
121
|
+
* another copy of "event || window.event".
|
122
|
+
*
|
123
|
+
*/
|
124
|
+
|
125
|
+
var _populated = false;
|
126
|
+
|
127
|
+
// Browsers
|
128
|
+
var _ie, _firefox, _opera, _webkit, _chrome;
|
129
|
+
|
130
|
+
// Actual IE browser for compatibility mode
|
131
|
+
var _ie_real_version;
|
132
|
+
|
133
|
+
// Platforms
|
134
|
+
var _osx, _windows, _linux, _android;
|
135
|
+
|
136
|
+
// Architectures
|
137
|
+
var _win64;
|
138
|
+
|
139
|
+
// Devices
|
140
|
+
var _iphone, _ipad, _native;
|
141
|
+
|
142
|
+
var _mobile;
|
143
|
+
|
144
|
+
function _populate() {
|
145
|
+
if (_populated) {
|
146
|
+
return;
|
147
|
+
}
|
148
|
+
|
149
|
+
_populated = true;
|
150
|
+
|
151
|
+
// To work around buggy JS libraries that can't handle multi-digit
|
152
|
+
// version numbers, Opera 10's user agent string claims it's Opera
|
153
|
+
// 9, then later includes a Version/X.Y field:
|
154
|
+
//
|
155
|
+
// Opera/9.80 (foo) Presto/2.2.15 Version/10.10
|
156
|
+
var uas = navigator.userAgent;
|
157
|
+
var agent = /(?:MSIE.(\d+\.\d+))|(?:(?:Firefox|GranParadiso|Iceweasel).(\d+\.\d+))|(?:Opera(?:.+Version.|.)(\d+\.\d+))|(?:AppleWebKit.(\d+(?:\.\d+)?))|(?:Trident\/\d+\.\d+.*rv:(\d+\.\d+))/.exec(uas);
|
158
|
+
var os = /(Mac OS X)|(Windows)|(Linux)/.exec(uas);
|
159
|
+
|
160
|
+
_iphone = /\b(iPhone|iP[ao]d)/.exec(uas);
|
161
|
+
_ipad = /\b(iP[ao]d)/.exec(uas);
|
162
|
+
_android = /Android/i.exec(uas);
|
163
|
+
_native = /FBAN\/\w+;/i.exec(uas);
|
164
|
+
_mobile = /Mobile/i.exec(uas);
|
165
|
+
|
166
|
+
// Note that the IE team blog would have you believe you should be checking
|
167
|
+
// for 'Win64; x64'. But MSDN then reveals that you can actually be coming
|
168
|
+
// from either x64 or ia64; so ultimately, you should just check for Win64
|
169
|
+
// as in indicator of whether you're in 64-bit IE. 32-bit IE on 64-bit
|
170
|
+
// Windows will send 'WOW64' instead.
|
171
|
+
_win64 = !!(/Win64/.exec(uas));
|
172
|
+
|
173
|
+
if (agent) {
|
174
|
+
_ie = agent[1] ? parseFloat(agent[1]) : (
|
175
|
+
agent[5] ? parseFloat(agent[5]) : NaN);
|
176
|
+
// IE compatibility mode
|
177
|
+
if (_ie && document && document.documentMode) {
|
178
|
+
_ie = document.documentMode;
|
179
|
+
}
|
180
|
+
// grab the "true" ie version from the trident token if available
|
181
|
+
var trident = /(?:Trident\/(\d+.\d+))/.exec(uas);
|
182
|
+
_ie_real_version = trident ? parseFloat(trident[1]) + 4 : _ie;
|
183
|
+
|
184
|
+
_firefox = agent[2] ? parseFloat(agent[2]) : NaN;
|
185
|
+
_opera = agent[3] ? parseFloat(agent[3]) : NaN;
|
186
|
+
_webkit = agent[4] ? parseFloat(agent[4]) : NaN;
|
187
|
+
if (_webkit) {
|
188
|
+
// We do not add the regexp to the above test, because it will always
|
189
|
+
// match 'safari' only since 'AppleWebKit' appears before 'Chrome' in
|
190
|
+
// the userAgent string.
|
191
|
+
agent = /(?:Chrome\/(\d+\.\d+))/.exec(uas);
|
192
|
+
_chrome = agent && agent[1] ? parseFloat(agent[1]) : NaN;
|
193
|
+
} else {
|
194
|
+
_chrome = NaN;
|
195
|
+
}
|
196
|
+
} else {
|
197
|
+
_ie = _firefox = _opera = _chrome = _webkit = NaN;
|
198
|
+
}
|
199
|
+
|
200
|
+
if (os) {
|
201
|
+
if (os[1]) {
|
202
|
+
// Detect OS X version. If no version number matches, set _osx to true.
|
203
|
+
// Version examples: 10, 10_6_1, 10.7
|
204
|
+
// Parses version number as a float, taking only first two sets of
|
205
|
+
// digits. If only one set of digits is found, returns just the major
|
206
|
+
// version number.
|
207
|
+
var ver = /(?:Mac OS X (\d+(?:[._]\d+)?))/.exec(uas);
|
208
|
+
|
209
|
+
_osx = ver ? parseFloat(ver[1].replace('_', '.')) : true;
|
210
|
+
} else {
|
211
|
+
_osx = false;
|
212
|
+
}
|
213
|
+
_windows = !!os[2];
|
214
|
+
_linux = !!os[3];
|
215
|
+
} else {
|
216
|
+
_osx = _windows = _linux = false;
|
217
|
+
}
|
218
|
+
}
|
219
|
+
|
220
|
+
var UserAgent_DEPRECATED = {
|
221
|
+
|
222
|
+
/**
|
223
|
+
* Check if the UA is Internet Explorer.
|
224
|
+
*
|
225
|
+
*
|
226
|
+
* @return float|NaN Version number (if match) or NaN.
|
227
|
+
*/
|
228
|
+
ie: function() {
|
229
|
+
return _populate() || _ie;
|
230
|
+
},
|
231
|
+
|
232
|
+
/**
|
233
|
+
* Check if we're in Internet Explorer compatibility mode.
|
234
|
+
*
|
235
|
+
* @return bool true if in compatibility mode, false if
|
236
|
+
* not compatibility mode or not ie
|
237
|
+
*/
|
238
|
+
ieCompatibilityMode: function() {
|
239
|
+
return _populate() || (_ie_real_version > _ie);
|
240
|
+
},
|
241
|
+
|
242
|
+
|
243
|
+
/**
|
244
|
+
* Whether the browser is 64-bit IE. Really, this is kind of weak sauce; we
|
245
|
+
* only need this because Skype can't handle 64-bit IE yet. We need to remove
|
246
|
+
* this when we don't need it -- tracked by #601957.
|
247
|
+
*/
|
248
|
+
ie64: function() {
|
249
|
+
return UserAgent_DEPRECATED.ie() && _win64;
|
250
|
+
},
|
251
|
+
|
252
|
+
/**
|
253
|
+
* Check if the UA is Firefox.
|
254
|
+
*
|
255
|
+
*
|
256
|
+
* @return float|NaN Version number (if match) or NaN.
|
257
|
+
*/
|
258
|
+
firefox: function() {
|
259
|
+
return _populate() || _firefox;
|
260
|
+
},
|
261
|
+
|
262
|
+
|
263
|
+
/**
|
264
|
+
* Check if the UA is Opera.
|
265
|
+
*
|
266
|
+
*
|
267
|
+
* @return float|NaN Version number (if match) or NaN.
|
268
|
+
*/
|
269
|
+
opera: function() {
|
270
|
+
return _populate() || _opera;
|
271
|
+
},
|
272
|
+
|
273
|
+
|
274
|
+
/**
|
275
|
+
* Check if the UA is WebKit.
|
276
|
+
*
|
277
|
+
*
|
278
|
+
* @return float|NaN Version number (if match) or NaN.
|
279
|
+
*/
|
280
|
+
webkit: function() {
|
281
|
+
return _populate() || _webkit;
|
282
|
+
},
|
283
|
+
|
284
|
+
/**
|
285
|
+
* For Push
|
286
|
+
* WILL BE REMOVED VERY SOON. Use UserAgent_DEPRECATED.webkit
|
287
|
+
*/
|
288
|
+
safari: function() {
|
289
|
+
return UserAgent_DEPRECATED.webkit();
|
290
|
+
},
|
291
|
+
|
292
|
+
/**
|
293
|
+
* Check if the UA is a Chrome browser.
|
294
|
+
*
|
295
|
+
*
|
296
|
+
* @return float|NaN Version number (if match) or NaN.
|
297
|
+
*/
|
298
|
+
chrome : function() {
|
299
|
+
return _populate() || _chrome;
|
300
|
+
},
|
301
|
+
|
302
|
+
|
303
|
+
/**
|
304
|
+
* Check if the user is running Windows.
|
305
|
+
*
|
306
|
+
* @return bool `true' if the user's OS is Windows.
|
307
|
+
*/
|
308
|
+
windows: function() {
|
309
|
+
return _populate() || _windows;
|
310
|
+
},
|
311
|
+
|
312
|
+
|
313
|
+
/**
|
314
|
+
* Check if the user is running Mac OS X.
|
315
|
+
*
|
316
|
+
* @return float|bool Returns a float if a version number is detected,
|
317
|
+
* otherwise true/false.
|
318
|
+
*/
|
319
|
+
osx: function() {
|
320
|
+
return _populate() || _osx;
|
321
|
+
},
|
322
|
+
|
323
|
+
/**
|
324
|
+
* Check if the user is running Linux.
|
325
|
+
*
|
326
|
+
* @return bool `true' if the user's OS is some flavor of Linux.
|
327
|
+
*/
|
328
|
+
linux: function() {
|
329
|
+
return _populate() || _linux;
|
330
|
+
},
|
331
|
+
|
332
|
+
/**
|
333
|
+
* Check if the user is running on an iPhone or iPod platform.
|
334
|
+
*
|
335
|
+
* @return bool `true' if the user is running some flavor of the
|
336
|
+
* iPhone OS.
|
337
|
+
*/
|
338
|
+
iphone: function() {
|
339
|
+
return _populate() || _iphone;
|
340
|
+
},
|
341
|
+
|
342
|
+
mobile: function() {
|
343
|
+
return _populate() || (_iphone || _ipad || _android || _mobile);
|
344
|
+
},
|
345
|
+
|
346
|
+
nativeApp: function() {
|
347
|
+
// webviews inside of the native apps
|
348
|
+
return _populate() || _native;
|
349
|
+
},
|
350
|
+
|
351
|
+
android: function() {
|
352
|
+
return _populate() || _android;
|
353
|
+
},
|
354
|
+
|
355
|
+
ipad: function() {
|
356
|
+
return _populate() || _ipad;
|
357
|
+
}
|
358
|
+
};
|
359
|
+
|
360
|
+
module.exports = UserAgent_DEPRECATED;
|
64
361
|
|
65
362
|
|
66
363
|
/***/ }),
|
67
364
|
|
68
|
-
/***/
|
365
|
+
/***/ 3541:
|
69
366
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
70
367
|
|
71
368
|
/**
|
@@ -81,7 +378,7 @@ module.exports = ExecutionEnvironment;
|
|
81
378
|
|
82
379
|
|
83
380
|
|
84
|
-
var ExecutionEnvironment = __webpack_require__(
|
381
|
+
var ExecutionEnvironment = __webpack_require__(7430);
|
85
382
|
|
86
383
|
var useHasFeature;
|
87
384
|
if (ExecutionEnvironment.canUseDOM) {
|
@@ -135,23 +432,7 @@ module.exports = isEventSupported;
|
|
135
432
|
|
136
433
|
/***/ }),
|
137
434
|
|
138
|
-
/***/
|
139
|
-
/***/ ((module) => {
|
140
|
-
|
141
|
-
function _typeof(o) {
|
142
|
-
"@babel/helpers - typeof";
|
143
|
-
|
144
|
-
return (module.exports = _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) {
|
145
|
-
return typeof o;
|
146
|
-
} : function (o) {
|
147
|
-
return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
|
148
|
-
}, module.exports.__esModule = true, module.exports["default"] = module.exports), _typeof(o);
|
149
|
-
}
|
150
|
-
module.exports = _typeof, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
151
|
-
|
152
|
-
/***/ }),
|
153
|
-
|
154
|
-
/***/ 5022:
|
435
|
+
/***/ 2527:
|
155
436
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
156
437
|
|
157
438
|
/**
|
@@ -168,9 +449,9 @@ module.exports = _typeof, module.exports.__esModule = true, module.exports["defa
|
|
168
449
|
|
169
450
|
|
170
451
|
|
171
|
-
var UserAgent_DEPRECATED = __webpack_require__(
|
452
|
+
var UserAgent_DEPRECATED = __webpack_require__(6377);
|
172
453
|
|
173
|
-
var isEventSupported = __webpack_require__(
|
454
|
+
var isEventSupported = __webpack_require__(3541);
|
174
455
|
|
175
456
|
|
176
457
|
// Reasonable defaults
|
@@ -339,32 +620,10 @@ module.exports = normalizeWheel;
|
|
339
620
|
|
340
621
|
/***/ }),
|
341
622
|
|
342
|
-
/***/
|
343
|
-
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
344
|
-
|
345
|
-
// TODO(Babel 8): Remove this file.
|
346
|
-
|
347
|
-
var runtime = __webpack_require__(7048)();
|
348
|
-
module.exports = runtime;
|
349
|
-
|
350
|
-
// Copied from https://github.com/facebook/regenerator/blob/main/packages/runtime/runtime.js#L736=
|
351
|
-
try {
|
352
|
-
regeneratorRuntime = runtime;
|
353
|
-
} catch (accidentalStrictMode) {
|
354
|
-
if (typeof globalThis === "object") {
|
355
|
-
globalThis.regeneratorRuntime = runtime;
|
356
|
-
} else {
|
357
|
-
Function("r", "regeneratorRuntime = r")(runtime);
|
358
|
-
}
|
359
|
-
}
|
360
|
-
|
361
|
-
|
362
|
-
/***/ }),
|
363
|
-
|
364
|
-
/***/ 7048:
|
623
|
+
/***/ 7609:
|
365
624
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
366
625
|
|
367
|
-
var _typeof = (__webpack_require__(
|
626
|
+
var _typeof = (__webpack_require__(7425)["default"]);
|
368
627
|
function _regeneratorRuntime() {
|
369
628
|
"use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */
|
370
629
|
module.exports = _regeneratorRuntime = function _regeneratorRuntime() {
|
@@ -590,380 +849,121 @@ function _regeneratorRuntime() {
|
|
590
849
|
constructor: Context,
|
591
850
|
reset: function reset(e) {
|
592
851
|
if (this.prev = 0, this.next = 0, this.sent = this._sent = t, this.done = !1, this.delegate = null, this.method = "next", this.arg = t, this.tryEntries.forEach(resetTryEntry), !e) for (var r in this) "t" === r.charAt(0) && n.call(this, r) && !isNaN(+r.slice(1)) && (this[r] = t);
|
593
|
-
},
|
594
|
-
stop: function stop() {
|
595
|
-
this.done = !0;
|
596
|
-
var t = this.tryEntries[0].completion;
|
597
|
-
if ("throw" === t.type) throw t.arg;
|
598
|
-
return this.rval;
|
599
|
-
},
|
600
|
-
dispatchException: function dispatchException(e) {
|
601
|
-
if (this.done) throw e;
|
602
|
-
var r = this;
|
603
|
-
function handle(n, o) {
|
604
|
-
return a.type = "throw", a.arg = e, r.next = n, o && (r.method = "next", r.arg = t), !!o;
|
605
|
-
}
|
606
|
-
for (var o = this.tryEntries.length - 1; o >= 0; --o) {
|
607
|
-
var i = this.tryEntries[o],
|
608
|
-
a = i.completion;
|
609
|
-
if ("root" === i.tryLoc) return handle("end");
|
610
|
-
if (i.tryLoc <= this.prev) {
|
611
|
-
var c = n.call(i, "catchLoc"),
|
612
|
-
u = n.call(i, "finallyLoc");
|
613
|
-
if (c && u) {
|
614
|
-
if (this.prev < i.catchLoc) return handle(i.catchLoc, !0);
|
615
|
-
if (this.prev < i.finallyLoc) return handle(i.finallyLoc);
|
616
|
-
} else if (c) {
|
617
|
-
if (this.prev < i.catchLoc) return handle(i.catchLoc, !0);
|
618
|
-
} else {
|
619
|
-
if (!u) throw new Error("try statement without catch or finally");
|
620
|
-
if (this.prev < i.finallyLoc) return handle(i.finallyLoc);
|
621
|
-
}
|
622
|
-
}
|
623
|
-
}
|
624
|
-
},
|
625
|
-
abrupt: function abrupt(t, e) {
|
626
|
-
for (var r = this.tryEntries.length - 1; r >= 0; --r) {
|
627
|
-
var o = this.tryEntries[r];
|
628
|
-
if (o.tryLoc <= this.prev && n.call(o, "finallyLoc") && this.prev < o.finallyLoc) {
|
629
|
-
var i = o;
|
630
|
-
break;
|
631
|
-
}
|
632
|
-
}
|
633
|
-
i && ("break" === t || "continue" === t) && i.tryLoc <= e && e <= i.finallyLoc && (i = null);
|
634
|
-
var a = i ? i.completion : {};
|
635
|
-
return a.type = t, a.arg = e, i ? (this.method = "next", this.next = i.finallyLoc, y) : this.complete(a);
|
636
|
-
},
|
637
|
-
complete: function complete(t, e) {
|
638
|
-
if ("throw" === t.type) throw t.arg;
|
639
|
-
return "break" === t.type || "continue" === t.type ? this.next = t.arg : "return" === t.type ? (this.rval = this.arg = t.arg, this.method = "return", this.next = "end") : "normal" === t.type && e && (this.next = e), y;
|
640
|
-
},
|
641
|
-
finish: function finish(t) {
|
642
|
-
for (var e = this.tryEntries.length - 1; e >= 0; --e) {
|
643
|
-
var r = this.tryEntries[e];
|
644
|
-
if (r.finallyLoc === t) return this.complete(r.completion, r.afterLoc), resetTryEntry(r), y;
|
645
|
-
}
|
646
|
-
},
|
647
|
-
"catch": function _catch(t) {
|
648
|
-
for (var e = this.tryEntries.length - 1; e >= 0; --e) {
|
649
|
-
var r = this.tryEntries[e];
|
650
|
-
if (r.tryLoc === t) {
|
651
|
-
var n = r.completion;
|
652
|
-
if ("throw" === n.type) {
|
653
|
-
var o = n.arg;
|
654
|
-
resetTryEntry(r);
|
655
|
-
}
|
656
|
-
return o;
|
657
|
-
}
|
658
|
-
}
|
659
|
-
throw new Error("illegal catch attempt");
|
660
|
-
},
|
661
|
-
delegateYield: function delegateYield(e, r, n) {
|
662
|
-
return this.delegate = {
|
663
|
-
iterator: values(e),
|
664
|
-
resultName: r,
|
665
|
-
nextLoc: n
|
666
|
-
}, "next" === this.method && (this.arg = t), y;
|
667
|
-
}
|
668
|
-
}, e;
|
669
|
-
}
|
670
|
-
module.exports = _regeneratorRuntime, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
671
|
-
|
672
|
-
/***/ }),
|
673
|
-
|
674
|
-
/***/ 7416:
|
675
|
-
/***/ ((module) => {
|
676
|
-
|
677
|
-
/**
|
678
|
-
* Copyright 2004-present Facebook. All Rights Reserved.
|
679
|
-
*
|
680
|
-
* @providesModule UserAgent_DEPRECATED
|
681
|
-
*/
|
682
|
-
|
683
|
-
/**
|
684
|
-
* Provides entirely client-side User Agent and OS detection. You should prefer
|
685
|
-
* the non-deprecated UserAgent module when possible, which exposes our
|
686
|
-
* authoritative server-side PHP-based detection to the client.
|
687
|
-
*
|
688
|
-
* Usage is straightforward:
|
689
|
-
*
|
690
|
-
* if (UserAgent_DEPRECATED.ie()) {
|
691
|
-
* // IE
|
692
|
-
* }
|
693
|
-
*
|
694
|
-
* You can also do version checks:
|
695
|
-
*
|
696
|
-
* if (UserAgent_DEPRECATED.ie() >= 7) {
|
697
|
-
* // IE7 or better
|
698
|
-
* }
|
699
|
-
*
|
700
|
-
* The browser functions will return NaN if the browser does not match, so
|
701
|
-
* you can also do version compares the other way:
|
702
|
-
*
|
703
|
-
* if (UserAgent_DEPRECATED.ie() < 7) {
|
704
|
-
* // IE6 or worse
|
705
|
-
* }
|
706
|
-
*
|
707
|
-
* Note that the version is a float and may include a minor version number,
|
708
|
-
* so you should always use range operators to perform comparisons, not
|
709
|
-
* strict equality.
|
710
|
-
*
|
711
|
-
* **Note:** You should **strongly** prefer capability detection to browser
|
712
|
-
* version detection where it's reasonable:
|
713
|
-
*
|
714
|
-
* http://www.quirksmode.org/js/support.html
|
715
|
-
*
|
716
|
-
* Further, we have a large number of mature wrapper functions and classes
|
717
|
-
* which abstract away many browser irregularities. Check the documentation,
|
718
|
-
* grep for things, or ask on javascript@lists.facebook.com before writing yet
|
719
|
-
* another copy of "event || window.event".
|
720
|
-
*
|
721
|
-
*/
|
722
|
-
|
723
|
-
var _populated = false;
|
724
|
-
|
725
|
-
// Browsers
|
726
|
-
var _ie, _firefox, _opera, _webkit, _chrome;
|
727
|
-
|
728
|
-
// Actual IE browser for compatibility mode
|
729
|
-
var _ie_real_version;
|
730
|
-
|
731
|
-
// Platforms
|
732
|
-
var _osx, _windows, _linux, _android;
|
733
|
-
|
734
|
-
// Architectures
|
735
|
-
var _win64;
|
736
|
-
|
737
|
-
// Devices
|
738
|
-
var _iphone, _ipad, _native;
|
739
|
-
|
740
|
-
var _mobile;
|
741
|
-
|
742
|
-
function _populate() {
|
743
|
-
if (_populated) {
|
744
|
-
return;
|
745
|
-
}
|
746
|
-
|
747
|
-
_populated = true;
|
748
|
-
|
749
|
-
// To work around buggy JS libraries that can't handle multi-digit
|
750
|
-
// version numbers, Opera 10's user agent string claims it's Opera
|
751
|
-
// 9, then later includes a Version/X.Y field:
|
752
|
-
//
|
753
|
-
// Opera/9.80 (foo) Presto/2.2.15 Version/10.10
|
754
|
-
var uas = navigator.userAgent;
|
755
|
-
var agent = /(?:MSIE.(\d+\.\d+))|(?:(?:Firefox|GranParadiso|Iceweasel).(\d+\.\d+))|(?:Opera(?:.+Version.|.)(\d+\.\d+))|(?:AppleWebKit.(\d+(?:\.\d+)?))|(?:Trident\/\d+\.\d+.*rv:(\d+\.\d+))/.exec(uas);
|
756
|
-
var os = /(Mac OS X)|(Windows)|(Linux)/.exec(uas);
|
757
|
-
|
758
|
-
_iphone = /\b(iPhone|iP[ao]d)/.exec(uas);
|
759
|
-
_ipad = /\b(iP[ao]d)/.exec(uas);
|
760
|
-
_android = /Android/i.exec(uas);
|
761
|
-
_native = /FBAN\/\w+;/i.exec(uas);
|
762
|
-
_mobile = /Mobile/i.exec(uas);
|
763
|
-
|
764
|
-
// Note that the IE team blog would have you believe you should be checking
|
765
|
-
// for 'Win64; x64'. But MSDN then reveals that you can actually be coming
|
766
|
-
// from either x64 or ia64; so ultimately, you should just check for Win64
|
767
|
-
// as in indicator of whether you're in 64-bit IE. 32-bit IE on 64-bit
|
768
|
-
// Windows will send 'WOW64' instead.
|
769
|
-
_win64 = !!(/Win64/.exec(uas));
|
770
|
-
|
771
|
-
if (agent) {
|
772
|
-
_ie = agent[1] ? parseFloat(agent[1]) : (
|
773
|
-
agent[5] ? parseFloat(agent[5]) : NaN);
|
774
|
-
// IE compatibility mode
|
775
|
-
if (_ie && document && document.documentMode) {
|
776
|
-
_ie = document.documentMode;
|
777
|
-
}
|
778
|
-
// grab the "true" ie version from the trident token if available
|
779
|
-
var trident = /(?:Trident\/(\d+.\d+))/.exec(uas);
|
780
|
-
_ie_real_version = trident ? parseFloat(trident[1]) + 4 : _ie;
|
781
|
-
|
782
|
-
_firefox = agent[2] ? parseFloat(agent[2]) : NaN;
|
783
|
-
_opera = agent[3] ? parseFloat(agent[3]) : NaN;
|
784
|
-
_webkit = agent[4] ? parseFloat(agent[4]) : NaN;
|
785
|
-
if (_webkit) {
|
786
|
-
// We do not add the regexp to the above test, because it will always
|
787
|
-
// match 'safari' only since 'AppleWebKit' appears before 'Chrome' in
|
788
|
-
// the userAgent string.
|
789
|
-
agent = /(?:Chrome\/(\d+\.\d+))/.exec(uas);
|
790
|
-
_chrome = agent && agent[1] ? parseFloat(agent[1]) : NaN;
|
791
|
-
} else {
|
792
|
-
_chrome = NaN;
|
793
|
-
}
|
794
|
-
} else {
|
795
|
-
_ie = _firefox = _opera = _chrome = _webkit = NaN;
|
796
|
-
}
|
797
|
-
|
798
|
-
if (os) {
|
799
|
-
if (os[1]) {
|
800
|
-
// Detect OS X version. If no version number matches, set _osx to true.
|
801
|
-
// Version examples: 10, 10_6_1, 10.7
|
802
|
-
// Parses version number as a float, taking only first two sets of
|
803
|
-
// digits. If only one set of digits is found, returns just the major
|
804
|
-
// version number.
|
805
|
-
var ver = /(?:Mac OS X (\d+(?:[._]\d+)?))/.exec(uas);
|
806
|
-
|
807
|
-
_osx = ver ? parseFloat(ver[1].replace('_', '.')) : true;
|
808
|
-
} else {
|
809
|
-
_osx = false;
|
852
|
+
},
|
853
|
+
stop: function stop() {
|
854
|
+
this.done = !0;
|
855
|
+
var t = this.tryEntries[0].completion;
|
856
|
+
if ("throw" === t.type) throw t.arg;
|
857
|
+
return this.rval;
|
858
|
+
},
|
859
|
+
dispatchException: function dispatchException(e) {
|
860
|
+
if (this.done) throw e;
|
861
|
+
var r = this;
|
862
|
+
function handle(n, o) {
|
863
|
+
return a.type = "throw", a.arg = e, r.next = n, o && (r.method = "next", r.arg = t), !!o;
|
864
|
+
}
|
865
|
+
for (var o = this.tryEntries.length - 1; o >= 0; --o) {
|
866
|
+
var i = this.tryEntries[o],
|
867
|
+
a = i.completion;
|
868
|
+
if ("root" === i.tryLoc) return handle("end");
|
869
|
+
if (i.tryLoc <= this.prev) {
|
870
|
+
var c = n.call(i, "catchLoc"),
|
871
|
+
u = n.call(i, "finallyLoc");
|
872
|
+
if (c && u) {
|
873
|
+
if (this.prev < i.catchLoc) return handle(i.catchLoc, !0);
|
874
|
+
if (this.prev < i.finallyLoc) return handle(i.finallyLoc);
|
875
|
+
} else if (c) {
|
876
|
+
if (this.prev < i.catchLoc) return handle(i.catchLoc, !0);
|
877
|
+
} else {
|
878
|
+
if (!u) throw new Error("try statement without catch or finally");
|
879
|
+
if (this.prev < i.finallyLoc) return handle(i.finallyLoc);
|
880
|
+
}
|
881
|
+
}
|
882
|
+
}
|
883
|
+
},
|
884
|
+
abrupt: function abrupt(t, e) {
|
885
|
+
for (var r = this.tryEntries.length - 1; r >= 0; --r) {
|
886
|
+
var o = this.tryEntries[r];
|
887
|
+
if (o.tryLoc <= this.prev && n.call(o, "finallyLoc") && this.prev < o.finallyLoc) {
|
888
|
+
var i = o;
|
889
|
+
break;
|
890
|
+
}
|
891
|
+
}
|
892
|
+
i && ("break" === t || "continue" === t) && i.tryLoc <= e && e <= i.finallyLoc && (i = null);
|
893
|
+
var a = i ? i.completion : {};
|
894
|
+
return a.type = t, a.arg = e, i ? (this.method = "next", this.next = i.finallyLoc, y) : this.complete(a);
|
895
|
+
},
|
896
|
+
complete: function complete(t, e) {
|
897
|
+
if ("throw" === t.type) throw t.arg;
|
898
|
+
return "break" === t.type || "continue" === t.type ? this.next = t.arg : "return" === t.type ? (this.rval = this.arg = t.arg, this.method = "return", this.next = "end") : "normal" === t.type && e && (this.next = e), y;
|
899
|
+
},
|
900
|
+
finish: function finish(t) {
|
901
|
+
for (var e = this.tryEntries.length - 1; e >= 0; --e) {
|
902
|
+
var r = this.tryEntries[e];
|
903
|
+
if (r.finallyLoc === t) return this.complete(r.completion, r.afterLoc), resetTryEntry(r), y;
|
904
|
+
}
|
905
|
+
},
|
906
|
+
"catch": function _catch(t) {
|
907
|
+
for (var e = this.tryEntries.length - 1; e >= 0; --e) {
|
908
|
+
var r = this.tryEntries[e];
|
909
|
+
if (r.tryLoc === t) {
|
910
|
+
var n = r.completion;
|
911
|
+
if ("throw" === n.type) {
|
912
|
+
var o = n.arg;
|
913
|
+
resetTryEntry(r);
|
914
|
+
}
|
915
|
+
return o;
|
916
|
+
}
|
917
|
+
}
|
918
|
+
throw new Error("illegal catch attempt");
|
919
|
+
},
|
920
|
+
delegateYield: function delegateYield(e, r, n) {
|
921
|
+
return this.delegate = {
|
922
|
+
iterator: values(e),
|
923
|
+
resultName: r,
|
924
|
+
nextLoc: n
|
925
|
+
}, "next" === this.method && (this.arg = t), y;
|
810
926
|
}
|
811
|
-
|
812
|
-
_linux = !!os[3];
|
813
|
-
} else {
|
814
|
-
_osx = _windows = _linux = false;
|
815
|
-
}
|
927
|
+
}, e;
|
816
928
|
}
|
929
|
+
module.exports = _regeneratorRuntime, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
817
930
|
|
818
|
-
|
819
|
-
|
820
|
-
/**
|
821
|
-
* Check if the UA is Internet Explorer.
|
822
|
-
*
|
823
|
-
*
|
824
|
-
* @return float|NaN Version number (if match) or NaN.
|
825
|
-
*/
|
826
|
-
ie: function() {
|
827
|
-
return _populate() || _ie;
|
828
|
-
},
|
829
|
-
|
830
|
-
/**
|
831
|
-
* Check if we're in Internet Explorer compatibility mode.
|
832
|
-
*
|
833
|
-
* @return bool true if in compatibility mode, false if
|
834
|
-
* not compatibility mode or not ie
|
835
|
-
*/
|
836
|
-
ieCompatibilityMode: function() {
|
837
|
-
return _populate() || (_ie_real_version > _ie);
|
838
|
-
},
|
839
|
-
|
840
|
-
|
841
|
-
/**
|
842
|
-
* Whether the browser is 64-bit IE. Really, this is kind of weak sauce; we
|
843
|
-
* only need this because Skype can't handle 64-bit IE yet. We need to remove
|
844
|
-
* this when we don't need it -- tracked by #601957.
|
845
|
-
*/
|
846
|
-
ie64: function() {
|
847
|
-
return UserAgent_DEPRECATED.ie() && _win64;
|
848
|
-
},
|
849
|
-
|
850
|
-
/**
|
851
|
-
* Check if the UA is Firefox.
|
852
|
-
*
|
853
|
-
*
|
854
|
-
* @return float|NaN Version number (if match) or NaN.
|
855
|
-
*/
|
856
|
-
firefox: function() {
|
857
|
-
return _populate() || _firefox;
|
858
|
-
},
|
859
|
-
|
860
|
-
|
861
|
-
/**
|
862
|
-
* Check if the UA is Opera.
|
863
|
-
*
|
864
|
-
*
|
865
|
-
* @return float|NaN Version number (if match) or NaN.
|
866
|
-
*/
|
867
|
-
opera: function() {
|
868
|
-
return _populate() || _opera;
|
869
|
-
},
|
870
|
-
|
871
|
-
|
872
|
-
/**
|
873
|
-
* Check if the UA is WebKit.
|
874
|
-
*
|
875
|
-
*
|
876
|
-
* @return float|NaN Version number (if match) or NaN.
|
877
|
-
*/
|
878
|
-
webkit: function() {
|
879
|
-
return _populate() || _webkit;
|
880
|
-
},
|
881
|
-
|
882
|
-
/**
|
883
|
-
* For Push
|
884
|
-
* WILL BE REMOVED VERY SOON. Use UserAgent_DEPRECATED.webkit
|
885
|
-
*/
|
886
|
-
safari: function() {
|
887
|
-
return UserAgent_DEPRECATED.webkit();
|
888
|
-
},
|
889
|
-
|
890
|
-
/**
|
891
|
-
* Check if the UA is a Chrome browser.
|
892
|
-
*
|
893
|
-
*
|
894
|
-
* @return float|NaN Version number (if match) or NaN.
|
895
|
-
*/
|
896
|
-
chrome : function() {
|
897
|
-
return _populate() || _chrome;
|
898
|
-
},
|
899
|
-
|
900
|
-
|
901
|
-
/**
|
902
|
-
* Check if the user is running Windows.
|
903
|
-
*
|
904
|
-
* @return bool `true' if the user's OS is Windows.
|
905
|
-
*/
|
906
|
-
windows: function() {
|
907
|
-
return _populate() || _windows;
|
908
|
-
},
|
931
|
+
/***/ }),
|
909
932
|
|
933
|
+
/***/ 7425:
|
934
|
+
/***/ ((module) => {
|
910
935
|
|
911
|
-
|
912
|
-
|
913
|
-
*
|
914
|
-
* @return float|bool Returns a float if a version number is detected,
|
915
|
-
* otherwise true/false.
|
916
|
-
*/
|
917
|
-
osx: function() {
|
918
|
-
return _populate() || _osx;
|
919
|
-
},
|
936
|
+
function _typeof(o) {
|
937
|
+
"@babel/helpers - typeof";
|
920
938
|
|
921
|
-
|
922
|
-
|
923
|
-
|
924
|
-
|
925
|
-
|
926
|
-
|
927
|
-
|
928
|
-
},
|
939
|
+
return (module.exports = _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) {
|
940
|
+
return typeof o;
|
941
|
+
} : function (o) {
|
942
|
+
return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
|
943
|
+
}, module.exports.__esModule = true, module.exports["default"] = module.exports), _typeof(o);
|
944
|
+
}
|
945
|
+
module.exports = _typeof, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
929
946
|
|
930
|
-
|
931
|
-
* Check if the user is running on an iPhone or iPod platform.
|
932
|
-
*
|
933
|
-
* @return bool `true' if the user is running some flavor of the
|
934
|
-
* iPhone OS.
|
935
|
-
*/
|
936
|
-
iphone: function() {
|
937
|
-
return _populate() || _iphone;
|
938
|
-
},
|
947
|
+
/***/ }),
|
939
948
|
|
940
|
-
|
941
|
-
|
942
|
-
},
|
949
|
+
/***/ 2841:
|
950
|
+
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
943
951
|
|
944
|
-
|
945
|
-
// webviews inside of the native apps
|
946
|
-
return _populate() || _native;
|
947
|
-
},
|
952
|
+
// TODO(Babel 8): Remove this file.
|
948
953
|
|
949
|
-
|
950
|
-
|
951
|
-
},
|
954
|
+
var runtime = __webpack_require__(7609)();
|
955
|
+
module.exports = runtime;
|
952
956
|
|
953
|
-
|
954
|
-
|
957
|
+
// Copied from https://github.com/facebook/regenerator/blob/main/packages/runtime/runtime.js#L736=
|
958
|
+
try {
|
959
|
+
regeneratorRuntime = runtime;
|
960
|
+
} catch (accidentalStrictMode) {
|
961
|
+
if (typeof globalThis === "object") {
|
962
|
+
globalThis.regeneratorRuntime = runtime;
|
963
|
+
} else {
|
964
|
+
Function("r", "regeneratorRuntime = r")(runtime);
|
955
965
|
}
|
956
|
-
}
|
957
|
-
|
958
|
-
module.exports = UserAgent_DEPRECATED;
|
959
|
-
|
960
|
-
|
961
|
-
/***/ }),
|
962
|
-
|
963
|
-
/***/ 8283:
|
964
|
-
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
965
|
-
|
966
|
-
module.exports = __webpack_require__(5022);
|
966
|
+
}
|
967
967
|
|
968
968
|
|
969
969
|
/***/ })
|
@@ -1026,6 +1026,8 @@ module.exports = __webpack_require__(5022);
|
|
1026
1026
|
/******/
|
1027
1027
|
/************************************************************************/
|
1028
1028
|
var __webpack_exports__ = {};
|
1029
|
+
// This entry need to be wrapped in an IIFE because it need to be isolated against other modules in the chunk.
|
1030
|
+
(() => {
|
1029
1031
|
|
1030
1032
|
// EXPORTS
|
1031
1033
|
__webpack_require__.d(__webpack_exports__, {
|
@@ -1033,13 +1035,11 @@ __webpack_require__.d(__webpack_exports__, {
|
|
1033
1035
|
"default": () => (/* binding */ src)
|
1034
1036
|
});
|
1035
1037
|
|
1036
|
-
;// external "../shared"
|
1037
|
-
var x = (y)
|
1038
|
-
|
1039
|
-
}
|
1040
|
-
|
1041
|
-
const shared_namespaceObject = x({ ["bkZIndexManager"]: () => (__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.bkZIndexManager), ["debounce"]: () => (__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.debounce), ["random"]: () => (__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.random), ["resolveClassName"]: () => (__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.resolveClassName), ["withInstall"]: () => (__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.withInstall) });
|
1042
|
-
;// ../../node_modules/@babel/runtime/helpers/esm/typeof.js
|
1038
|
+
;// CONCATENATED MODULE: external "../shared"
|
1039
|
+
var x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
1040
|
+
var y = x => () => x
|
1041
|
+
const shared_namespaceObject = x({ ["bkZIndexManager"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.bkZIndexManager, ["debounce"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.debounce, ["random"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.random, ["resolveClassName"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.resolveClassName, ["withInstall"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.withInstall });
|
1042
|
+
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/typeof.js
|
1043
1043
|
function _typeof(o) {
|
1044
1044
|
"@babel/helpers - typeof";
|
1045
1045
|
|
@@ -1049,7 +1049,7 @@ function _typeof(o) {
|
|
1049
1049
|
return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
|
1050
1050
|
}, _typeof(o);
|
1051
1051
|
}
|
1052
|
-
;// ../../node_modules/@babel/runtime/helpers/esm/toPrimitive.js
|
1052
|
+
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/toPrimitive.js
|
1053
1053
|
|
1054
1054
|
function toPrimitive(t, r) {
|
1055
1055
|
if ("object" != _typeof(t) || !t) return t;
|
@@ -1061,14 +1061,14 @@ function toPrimitive(t, r) {
|
|
1061
1061
|
}
|
1062
1062
|
return ("string" === r ? String : Number)(t);
|
1063
1063
|
}
|
1064
|
-
;// ../../node_modules/@babel/runtime/helpers/esm/toPropertyKey.js
|
1064
|
+
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/toPropertyKey.js
|
1065
1065
|
|
1066
1066
|
|
1067
1067
|
function toPropertyKey(t) {
|
1068
1068
|
var i = toPrimitive(t, "string");
|
1069
1069
|
return "symbol" == _typeof(i) ? i : String(i);
|
1070
1070
|
}
|
1071
|
-
;// ../../node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
1071
|
+
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
1072
1072
|
|
1073
1073
|
function _defineProperty(obj, key, value) {
|
1074
1074
|
key = toPropertyKey(key);
|
@@ -1084,19 +1084,15 @@ function _defineProperty(obj, key, value) {
|
|
1084
1084
|
}
|
1085
1085
|
return obj;
|
1086
1086
|
}
|
1087
|
-
;// external "vue"
|
1088
|
-
var external_vue_x = (y)
|
1089
|
-
|
1090
|
-
}
|
1091
|
-
|
1092
|
-
|
1093
|
-
|
1094
|
-
|
1095
|
-
|
1096
|
-
}
|
1097
|
-
var config_provider_y = (x) => (() => (x))
|
1098
|
-
const config_provider_namespaceObject = config_provider_x({ ["useLocale"]: () => (__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_config_provider_fe8577a3__.useLocale), ["usePrefix"]: () => (__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_config_provider_fe8577a3__.usePrefix) });
|
1099
|
-
;// ../../packages/directives/src/clickoutside.ts
|
1087
|
+
;// CONCATENATED MODULE: external "vue"
|
1088
|
+
var external_vue_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
1089
|
+
var external_vue_y = x => () => x
|
1090
|
+
const external_vue_namespaceObject = external_vue_x({ ["Fragment"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.Fragment, ["computed"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.computed, ["createTextVNode"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.createTextVNode, ["createVNode"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.createVNode, ["defineComponent"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.defineComponent, ["h"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.h, ["inject"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.inject, ["nextTick"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.nextTick, ["onBeforeUnmount"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.onBeforeUnmount, ["onMounted"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.onMounted, ["provide"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.provide, ["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 });
|
1091
|
+
;// CONCATENATED MODULE: external "../config-provider"
|
1092
|
+
var config_provider_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
1093
|
+
var config_provider_y = x => () => x
|
1094
|
+
const config_provider_namespaceObject = config_provider_x({ ["useLocale"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_config_provider_fe8577a3__.useLocale, ["usePrefix"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_config_provider_fe8577a3__.usePrefix });
|
1095
|
+
;// CONCATENATED MODULE: ../../packages/directives/src/clickoutside.ts
|
1100
1096
|
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; } } }; }
|
1101
1097
|
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); }
|
1102
1098
|
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; }
|
@@ -1104,7 +1100,7 @@ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len
|
|
1104
1100
|
* Tencent is pleased to support the open source community by making
|
1105
1101
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
1106
1102
|
*
|
1107
|
-
* Copyright (C)
|
1103
|
+
* Copyright (C) 2025 Tencent. All rights reserved.
|
1108
1104
|
*
|
1109
1105
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
|
1110
1106
|
*
|
@@ -1222,19 +1218,17 @@ ClickOutside.install = function (app) {
|
|
1222
1218
|
app.directive('bkTooltips', ClickOutside);
|
1223
1219
|
};
|
1224
1220
|
/* harmony default export */ const clickoutside = (ClickOutside);
|
1225
|
-
;// external "../popover"
|
1226
|
-
var popover_x = (y)
|
1227
|
-
|
1228
|
-
}
|
1229
|
-
|
1230
|
-
const popover_namespaceObject = popover_x({ ["$bkPopover"]: () => (__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_popover_9b03f19d__.$bkPopover), ["default"]: () => (__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_popover_9b03f19d__["default"]) });
|
1231
|
-
;// ../../packages/directives/src/ellipsis.ts
|
1221
|
+
;// CONCATENATED MODULE: external "../popover"
|
1222
|
+
var popover_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
1223
|
+
var popover_y = x => () => x
|
1224
|
+
const popover_namespaceObject = popover_x({ ["$bkPopover"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_popover_9b03f19d__.$bkPopover, ["default"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_popover_9b03f19d__["default"] });
|
1225
|
+
;// CONCATENATED MODULE: ../../packages/directives/src/ellipsis.ts
|
1232
1226
|
|
1233
1227
|
/*
|
1234
1228
|
* Tencent is pleased to support the open source community by making
|
1235
1229
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
1236
1230
|
*
|
1237
|
-
* Copyright (C)
|
1231
|
+
* Copyright (C) 2025 Tencent. All rights reserved.
|
1238
1232
|
*
|
1239
1233
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
|
1240
1234
|
*
|
@@ -1339,14 +1333,14 @@ var ellipsis = {
|
|
1339
1333
|
};
|
1340
1334
|
/* harmony default export */ const src_ellipsis = ((/* unused pure expression or super */ null && (ellipsis)));
|
1341
1335
|
// EXTERNAL MODULE: ../../node_modules/normalize-wheel/index.js
|
1342
|
-
var normalize_wheel = __webpack_require__(
|
1336
|
+
var normalize_wheel = __webpack_require__(2439);
|
1343
1337
|
var normalize_wheel_default = /*#__PURE__*/__webpack_require__.n(normalize_wheel);
|
1344
|
-
;// ../../packages/directives/src/mousewheel.ts
|
1338
|
+
;// CONCATENATED MODULE: ../../packages/directives/src/mousewheel.ts
|
1345
1339
|
/*
|
1346
1340
|
* Tencent is pleased to support the open source community by making
|
1347
1341
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
1348
1342
|
*
|
1349
|
-
* Copyright (C)
|
1343
|
+
* Copyright (C) 2025 Tencent. All rights reserved.
|
1350
1344
|
*
|
1351
1345
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
|
1352
1346
|
*
|
@@ -1383,22 +1377,22 @@ var mousewheel = {
|
|
1383
1377
|
}
|
1384
1378
|
};
|
1385
1379
|
/* harmony default export */ const src_mousewheel = ((/* unused pure expression or super */ null && (mousewheel)));
|
1386
|
-
;// ../../node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js
|
1380
|
+
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js
|
1387
1381
|
function arrayLikeToArray_arrayLikeToArray(arr, len) {
|
1388
1382
|
if (len == null || len > arr.length) len = arr.length;
|
1389
1383
|
for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];
|
1390
1384
|
return arr2;
|
1391
1385
|
}
|
1392
|
-
;// ../../node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js
|
1386
|
+
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js
|
1393
1387
|
|
1394
1388
|
function _arrayWithoutHoles(arr) {
|
1395
1389
|
if (Array.isArray(arr)) return arrayLikeToArray_arrayLikeToArray(arr);
|
1396
1390
|
}
|
1397
|
-
;// ../../node_modules/@babel/runtime/helpers/esm/iterableToArray.js
|
1391
|
+
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/iterableToArray.js
|
1398
1392
|
function _iterableToArray(iter) {
|
1399
1393
|
if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
|
1400
1394
|
}
|
1401
|
-
;// ../../node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js
|
1395
|
+
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js
|
1402
1396
|
|
1403
1397
|
function unsupportedIterableToArray_unsupportedIterableToArray(o, minLen) {
|
1404
1398
|
if (!o) return;
|
@@ -1408,11 +1402,11 @@ function unsupportedIterableToArray_unsupportedIterableToArray(o, minLen) {
|
|
1408
1402
|
if (n === "Map" || n === "Set") return Array.from(o);
|
1409
1403
|
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return arrayLikeToArray_arrayLikeToArray(o, minLen);
|
1410
1404
|
}
|
1411
|
-
;// ../../node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js
|
1405
|
+
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js
|
1412
1406
|
function _nonIterableSpread() {
|
1413
1407
|
throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
1414
1408
|
}
|
1415
|
-
;// ../../node_modules/@babel/runtime/helpers/esm/toConsumableArray.js
|
1409
|
+
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/toConsumableArray.js
|
1416
1410
|
|
1417
1411
|
|
1418
1412
|
|
@@ -1420,13 +1414,11 @@ function _nonIterableSpread() {
|
|
1420
1414
|
function _toConsumableArray(arr) {
|
1421
1415
|
return _arrayWithoutHoles(arr) || _iterableToArray(arr) || unsupportedIterableToArray_unsupportedIterableToArray(arr) || _nonIterableSpread();
|
1422
1416
|
}
|
1423
|
-
;// external "@popperjs/core"
|
1424
|
-
var core_x = (y)
|
1425
|
-
|
1426
|
-
}
|
1427
|
-
|
1428
|
-
const core_namespaceObject = core_x({ ["createPopper"]: () => (__WEBPACK_EXTERNAL_MODULE__popperjs_core_a5c7319c__.createPopper) });
|
1429
|
-
;// ../../packages/directives/src/tooltips.ts
|
1417
|
+
;// CONCATENATED MODULE: external "@popperjs/core"
|
1418
|
+
var core_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
1419
|
+
var core_y = x => () => x
|
1420
|
+
const core_namespaceObject = core_x({ ["createPopper"]: () => __WEBPACK_EXTERNAL_MODULE__popperjs_core_a5c7319c__.createPopper });
|
1421
|
+
;// CONCATENATED MODULE: ../../packages/directives/src/tooltips.ts
|
1430
1422
|
|
1431
1423
|
|
1432
1424
|
|
@@ -1436,7 +1428,7 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
|
|
1436
1428
|
* Tencent is pleased to support the open source community by making
|
1437
1429
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
1438
1430
|
*
|
1439
|
-
* Copyright (C)
|
1431
|
+
* Copyright (C) 2025 Tencent. All rights reserved.
|
1440
1432
|
*
|
1441
1433
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
|
1442
1434
|
*
|
@@ -1491,9 +1483,6 @@ var tooltips = {
|
|
1491
1483
|
hide(el);
|
1492
1484
|
}, 100);
|
1493
1485
|
});
|
1494
|
-
el.addEventListener('click', function () {
|
1495
|
-
hide(el);
|
1496
|
-
});
|
1497
1486
|
popper.addEventListener('mouseleave', function () {
|
1498
1487
|
clearTimeout(delayTimeout);
|
1499
1488
|
hideTimeout = setTimeout(function () {
|
@@ -1507,7 +1496,7 @@ var tooltips = {
|
|
1507
1496
|
show(el);
|
1508
1497
|
clearTimeout(delayTimeout);
|
1509
1498
|
}, opts.delay);
|
1510
|
-
} else if (popper.hasAttribute('data-show')) {
|
1499
|
+
} else if (!el.contains(event.target) && popper.hasAttribute('data-show')) {
|
1511
1500
|
hide(el);
|
1512
1501
|
}
|
1513
1502
|
});
|
@@ -1718,24 +1707,20 @@ function hide(el) {
|
|
1718
1707
|
}
|
1719
1708
|
}
|
1720
1709
|
/* harmony default export */ const src_tooltips = ((/* unused pure expression or super */ null && (tooltips)));
|
1721
|
-
;// external "../loading"
|
1722
|
-
var external_loading_x = (y)
|
1723
|
-
|
1724
|
-
}
|
1725
|
-
var external_loading_y = (x) => (() => (x))
|
1710
|
+
;// CONCATENATED MODULE: external "../loading"
|
1711
|
+
var external_loading_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
1712
|
+
var external_loading_y = x => () => x
|
1726
1713
|
const external_loading_namespaceObject = external_loading_x({ });
|
1727
|
-
;// external "../overflow-title"
|
1728
|
-
var external_overflow_title_x = (y)
|
1729
|
-
|
1730
|
-
}
|
1731
|
-
var external_overflow_title_y = (x) => (() => (x))
|
1714
|
+
;// CONCATENATED MODULE: external "../overflow-title"
|
1715
|
+
var external_overflow_title_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
1716
|
+
var external_overflow_title_y = x => () => x
|
1732
1717
|
const external_overflow_title_namespaceObject = external_overflow_title_x({ });
|
1733
|
-
;// ../../packages/directives/src/index.ts
|
1718
|
+
;// CONCATENATED MODULE: ../../packages/directives/src/index.ts
|
1734
1719
|
/*
|
1735
1720
|
* Tencent is pleased to support the open source community by making
|
1736
1721
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
1737
1722
|
*
|
1738
|
-
* Copyright (C)
|
1723
|
+
* Copyright (C) 2025 Tencent. All rights reserved.
|
1739
1724
|
*
|
1740
1725
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
|
1741
1726
|
*
|
@@ -1763,13 +1748,11 @@ const external_overflow_title_namespaceObject = external_overflow_title_x({ });
|
|
1763
1748
|
|
1764
1749
|
|
1765
1750
|
// export { createInstance as bkEllipsisInstance } from './ellipsis';
|
1766
|
-
;// external "../icon"
|
1767
|
-
var icon_x = (y)
|
1768
|
-
|
1769
|
-
}
|
1770
|
-
|
1771
|
-
const icon_namespaceObject = icon_x({ ["Close"]: () => (__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_icon_a97c79c3__.Close), ["Error"]: () => (__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_icon_a97c79c3__.Error), ["ExclamationCircleShape"]: () => (__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_icon_a97c79c3__.ExclamationCircleShape), ["Search"]: () => (__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_icon_a97c79c3__.Search) });
|
1772
|
-
;// ../../node_modules/@blueking/fork-resize-detector/esm/index.js
|
1751
|
+
;// CONCATENATED MODULE: external "../icon"
|
1752
|
+
var icon_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
1753
|
+
var icon_y = x => () => x
|
1754
|
+
const icon_namespaceObject = icon_x({ ["Close"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_icon_a97c79c3__.Close, ["Error"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_icon_a97c79c3__.Error, ["ExclamationCircleShape"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_icon_a97c79c3__.ExclamationCircleShape, ["Search"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_icon_a97c79c3__.Search });
|
1755
|
+
;// CONCATENATED MODULE: ../../node_modules/@blueking/fork-resize-detector/esm/index.js
|
1773
1756
|
var raf = null;
|
1774
1757
|
function requestAnimationFrame (callback) {
|
1775
1758
|
if (!raf) {
|
@@ -2085,11 +2068,11 @@ function resetTriggers (elem) {
|
|
2085
2068
|
|
2086
2069
|
|
2087
2070
|
|
2088
|
-
;// ../../node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js
|
2071
|
+
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js
|
2089
2072
|
function _arrayWithHoles(arr) {
|
2090
2073
|
if (Array.isArray(arr)) return arr;
|
2091
2074
|
}
|
2092
|
-
;// ../../node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js
|
2075
|
+
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js
|
2093
2076
|
function _iterableToArrayLimit(r, l) {
|
2094
2077
|
var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"];
|
2095
2078
|
if (null != t) {
|
@@ -2117,11 +2100,11 @@ function _iterableToArrayLimit(r, l) {
|
|
2117
2100
|
return a;
|
2118
2101
|
}
|
2119
2102
|
}
|
2120
|
-
;// ../../node_modules/@babel/runtime/helpers/esm/nonIterableRest.js
|
2103
|
+
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/nonIterableRest.js
|
2121
2104
|
function _nonIterableRest() {
|
2122
2105
|
throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
2123
2106
|
}
|
2124
|
-
;// ../../node_modules/@babel/runtime/helpers/esm/slicedToArray.js
|
2107
|
+
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/slicedToArray.js
|
2125
2108
|
|
2126
2109
|
|
2127
2110
|
|
@@ -2129,7 +2112,7 @@ function _nonIterableRest() {
|
|
2129
2112
|
function _slicedToArray(arr, i) {
|
2130
2113
|
return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || unsupportedIterableToArray_unsupportedIterableToArray(arr, i) || _nonIterableRest();
|
2131
2114
|
}
|
2132
|
-
;// ../../node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js
|
2115
|
+
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js
|
2133
2116
|
function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
|
2134
2117
|
try {
|
2135
2118
|
var info = gen[key](arg);
|
@@ -2161,45 +2144,35 @@ function _asyncToGenerator(fn) {
|
|
2161
2144
|
};
|
2162
2145
|
}
|
2163
2146
|
// EXTERNAL MODULE: ../../node_modules/@babel/runtime/regenerator/index.js
|
2164
|
-
var regenerator = __webpack_require__(
|
2147
|
+
var regenerator = __webpack_require__(2841);
|
2165
2148
|
var regenerator_default = /*#__PURE__*/__webpack_require__.n(regenerator);
|
2166
|
-
;// external "../popover/popover.less"
|
2167
|
-
var popover_less_x = (y)
|
2168
|
-
|
2169
|
-
}
|
2170
|
-
var popover_less_y = (x) => (() => (x))
|
2149
|
+
;// CONCATENATED MODULE: external "../popover/popover.less"
|
2150
|
+
var popover_less_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
2151
|
+
var popover_less_y = x => () => x
|
2171
2152
|
const popover_less_namespaceObject = popover_less_x({ });
|
2172
|
-
;// external "../checkbox"
|
2173
|
-
var checkbox_x = (y)
|
2174
|
-
|
2175
|
-
}
|
2176
|
-
|
2177
|
-
|
2178
|
-
|
2179
|
-
var checkbox_less_x = (y) => {
|
2180
|
-
var x = {}; __webpack_require__.d(x, y); return x
|
2181
|
-
}
|
2182
|
-
var checkbox_less_y = (x) => (() => (x))
|
2153
|
+
;// CONCATENATED MODULE: external "../checkbox"
|
2154
|
+
var checkbox_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
2155
|
+
var checkbox_y = x => () => x
|
2156
|
+
const checkbox_namespaceObject = checkbox_x({ ["default"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_checkbox_13b1cb4a__["default"] });
|
2157
|
+
;// CONCATENATED MODULE: external "../checkbox/checkbox.less"
|
2158
|
+
var checkbox_less_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
2159
|
+
var checkbox_less_y = x => () => x
|
2183
2160
|
const checkbox_less_namespaceObject = checkbox_less_x({ });
|
2184
|
-
;// external "../radio"
|
2185
|
-
var radio_x = (y)
|
2186
|
-
|
2187
|
-
}
|
2188
|
-
|
2189
|
-
|
2190
|
-
|
2191
|
-
var radio_less_x = (y) => {
|
2192
|
-
var x = {}; __webpack_require__.d(x, y); return x
|
2193
|
-
}
|
2194
|
-
var radio_less_y = (x) => (() => (x))
|
2161
|
+
;// CONCATENATED MODULE: external "../radio"
|
2162
|
+
var radio_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
2163
|
+
var radio_y = x => () => x
|
2164
|
+
const radio_namespaceObject = radio_x({ ["default"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_radio_d36f24cf__["default"] });
|
2165
|
+
;// CONCATENATED MODULE: external "../radio/radio.less"
|
2166
|
+
var radio_less_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
2167
|
+
var radio_less_y = x => () => x
|
2195
2168
|
const radio_less_namespaceObject = radio_less_x({ });
|
2196
|
-
;// ../../node_modules/@babel/runtime/helpers/esm/classCallCheck.js
|
2169
|
+
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/classCallCheck.js
|
2197
2170
|
function _classCallCheck(instance, Constructor) {
|
2198
2171
|
if (!(instance instanceof Constructor)) {
|
2199
2172
|
throw new TypeError("Cannot call a class as a function");
|
2200
2173
|
}
|
2201
2174
|
}
|
2202
|
-
;// ../../node_modules/@babel/runtime/helpers/esm/createClass.js
|
2175
|
+
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/createClass.js
|
2203
2176
|
|
2204
2177
|
function _defineProperties(target, props) {
|
2205
2178
|
for (var i = 0; i < props.length; i++) {
|
@@ -2218,7 +2191,7 @@ function _createClass(Constructor, protoProps, staticProps) {
|
|
2218
2191
|
});
|
2219
2192
|
return Constructor;
|
2220
2193
|
}
|
2221
|
-
;// ../../packages/search-select/src/utils.ts
|
2194
|
+
;// CONCATENATED MODULE: ../../packages/search-select/src/utils.ts
|
2222
2195
|
|
2223
2196
|
|
2224
2197
|
|
@@ -2227,7 +2200,7 @@ function _createClass(Constructor, protoProps, staticProps) {
|
|
2227
2200
|
* Tencent is pleased to support the open source community by making
|
2228
2201
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
2229
2202
|
*
|
2230
|
-
* Copyright (C)
|
2203
|
+
* Copyright (C) 2025 Tencent. All rights reserved.
|
2231
2204
|
*
|
2232
2205
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
|
2233
2206
|
*
|
@@ -2482,13 +2455,13 @@ var SelectedItem = /*#__PURE__*/function () {
|
|
2482
2455
|
}]);
|
2483
2456
|
return SelectedItem;
|
2484
2457
|
}();
|
2485
|
-
;// ../../packages/search-select/src/menu.tsx
|
2458
|
+
;// CONCATENATED MODULE: ../../packages/search-select/src/menu.tsx
|
2486
2459
|
|
2487
2460
|
/*
|
2488
2461
|
* Tencent is pleased to support the open source community by making
|
2489
2462
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
2490
2463
|
*
|
2491
|
-
* Copyright (C)
|
2464
|
+
* Copyright (C) 2025 Tencent. All rights reserved.
|
2492
2465
|
*
|
2493
2466
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
|
2494
2467
|
*
|
@@ -2607,11 +2580,11 @@ var SelectedItem = /*#__PURE__*/function () {
|
|
2607
2580
|
var _keyword;
|
2608
2581
|
if (!str) return str;
|
2609
2582
|
var keyword = props.keyword;
|
2610
|
-
|
2611
|
-
|
2583
|
+
if (!((_keyword = keyword) !== null && _keyword !== void 0 && _keyword.trim().length) || !str.toLocaleLowerCase().includes(keyword.toLocaleLowerCase().trim())) return str;
|
2584
|
+
var len = keyword.trim().length;
|
2612
2585
|
var list = [];
|
2613
2586
|
var lastIndex = -1;
|
2614
|
-
keyword = keyword.replace(/([.*/]{1})/gim, '\\$1');
|
2587
|
+
keyword = keyword.replace(/([.*/]{1})/gim, '\\$1').trim();
|
2615
2588
|
str.replace(new RegExp("".concat(keyword), 'igm'), function (key, index) {
|
2616
2589
|
if (list.length === 0 && index !== 0) {
|
2617
2590
|
list.push(str.slice(0, index));
|
@@ -2724,7 +2697,7 @@ var SelectedItem = /*#__PURE__*/function () {
|
|
2724
2697
|
})]), getListMenu()]);
|
2725
2698
|
}
|
2726
2699
|
}));
|
2727
|
-
;// ../../packages/search-select/src/input.tsx
|
2700
|
+
;// CONCATENATED MODULE: ../../packages/search-select/src/input.tsx
|
2728
2701
|
|
2729
2702
|
|
2730
2703
|
|
@@ -2739,7 +2712,7 @@ function input_objectSpread(e) { for (var r = 1; r < arguments.length; r++) { va
|
|
2739
2712
|
* Tencent is pleased to support the open source community by making
|
2740
2713
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
2741
2714
|
*
|
2742
|
-
* Copyright (C)
|
2715
|
+
* Copyright (C) 2025 Tencent. All rights reserved.
|
2743
2716
|
*
|
2744
2717
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
|
2745
2718
|
*
|
@@ -2834,6 +2807,7 @@ function input_objectSpread(e) { for (var r = 1; r < arguments.length; r++) { va
|
|
2834
2807
|
return ((_usingItem$value = usingItem.value) === null || _usingItem$value === void 0 ? void 0 : _usingItem$value.logical) || SearchLogical.OR;
|
2835
2808
|
});
|
2836
2809
|
var inputKey = (0,external_vue_namespaceObject.ref)((0,shared_namespaceObject.random)(10));
|
2810
|
+
var isComposition = (0,external_vue_namespaceObject.ref)(false);
|
2837
2811
|
(0,external_vue_namespaceObject.watch)(editKey, function () {
|
2838
2812
|
if (props.mode === SearchInputMode.DEFAULT && editKey.value) {
|
2839
2813
|
showPopover.value = false;
|
@@ -2983,7 +2957,9 @@ function input_objectSpread(e) { for (var r = 1; r < arguments.length; r++) { va
|
|
2983
2957
|
debounceSetMenuList();
|
2984
2958
|
}
|
2985
2959
|
function handleInputChange(event) {
|
2986
|
-
|
2960
|
+
if (isComposition.value) return;
|
2961
|
+
clearInputBr();
|
2962
|
+
var text = event.target.innerText;
|
2987
2963
|
if (!usingItem.value) {
|
2988
2964
|
keyword.value = text;
|
2989
2965
|
debounceSetMenuList();
|
@@ -3002,7 +2978,7 @@ function input_objectSpread(e) { for (var r = 1; r < arguments.length; r++) { va
|
|
3002
2978
|
return;
|
3003
2979
|
}
|
3004
2980
|
}
|
3005
|
-
keyword.value = usingItem.value.isSpecialType() ? text : text.replace(usingItem.value.name, '').replace(':', '')
|
2981
|
+
keyword.value = usingItem.value.isSpecialType() ? text : text.replace(usingItem.value.name, '').replace(':', '');
|
3006
2982
|
debounceSetMenuList();
|
3007
2983
|
}
|
3008
2984
|
function handleInputKeyup(event) {
|
@@ -3015,9 +2991,11 @@ function input_objectSpread(e) { for (var r = 1; r < arguments.length; r++) { va
|
|
3015
2991
|
// }
|
3016
2992
|
// return;
|
3017
2993
|
// }
|
2994
|
+
if (isComposition.value) return;
|
3018
2995
|
switch (event.code) {
|
3019
2996
|
case 'Enter':
|
3020
2997
|
case 'NumpadEnter':
|
2998
|
+
event.preventDefault();
|
3021
2999
|
if (props.valueBehavior === ValueBehavior.NEED_KEY && menuList.value.some(function (item) {
|
3022
3000
|
return item.id === menuHoverId.value;
|
3023
3001
|
})) {
|
@@ -3032,7 +3010,9 @@ function input_objectSpread(e) { for (var r = 1; r < arguments.length; r++) { va
|
|
3032
3010
|
});
|
3033
3011
|
break;
|
3034
3012
|
case 'Backspace':
|
3013
|
+
case 'Delete':
|
3035
3014
|
handleKeyBackspace(event);
|
3015
|
+
break;
|
3036
3016
|
default:
|
3037
3017
|
showNoSelectValueError.value = false;
|
3038
3018
|
break;
|
@@ -3138,7 +3118,7 @@ function input_objectSpread(e) { for (var r = 1; r < arguments.length; r++) { va
|
|
3138
3118
|
setInputFocus(false, false);
|
3139
3119
|
return;
|
3140
3120
|
}
|
3141
|
-
} else if (!keyword.value) {
|
3121
|
+
} else if (!keyword.value || keyword.value.length === 1) {
|
3142
3122
|
usingItem.value = null;
|
3143
3123
|
keyword.value = '';
|
3144
3124
|
setMenuList();
|
@@ -3357,7 +3337,7 @@ function input_objectSpread(e) { for (var r = 1; r < arguments.length; r++) { va
|
|
3357
3337
|
}
|
3358
3338
|
loading.value = true;
|
3359
3339
|
_context5.next = 5;
|
3360
|
-
return props.getMenuList((_usingItem$value14 = usingItem.value) === null || _usingItem$value14 === void 0 ? void 0 : _usingItem$value14.searchItem, keyword.value)["catch"](function () {
|
3340
|
+
return props.getMenuList((_usingItem$value14 = usingItem.value) === null || _usingItem$value14 === void 0 ? void 0 : _usingItem$value14.searchItem, keyword.value.trim())["catch"](function () {
|
3361
3341
|
return [];
|
3362
3342
|
});
|
3363
3343
|
case 5:
|
@@ -3414,7 +3394,7 @@ function input_objectSpread(e) { for (var r = 1; r < arguments.length; r++) { va
|
|
3414
3394
|
try {
|
3415
3395
|
for (_iterator3.s(); !(_step3 = _iterator3.n()).done;) {
|
3416
3396
|
_child = _step3.value;
|
3417
|
-
if (_child.name.toLocaleLowerCase().includes(keyword.value.toLocaleLowerCase())) {
|
3397
|
+
if (_child.name.toLocaleLowerCase().includes(keyword.value.toLocaleLowerCase().trim())) {
|
3418
3398
|
_filterList.push(input_objectSpread(input_objectSpread({}, item), {}, {
|
3419
3399
|
realId: item.id,
|
3420
3400
|
id: (0,shared_namespaceObject.random)(10),
|
@@ -3448,11 +3428,12 @@ function input_objectSpread(e) { for (var r = 1; r < arguments.length; r++) { va
|
|
3448
3428
|
list = props.conditions;
|
3449
3429
|
} else if (!((_usingItem$value$valu = usingItem.value.values) !== null && _usingItem$value$valu !== void 0 && _usingItem$value$valu.length) || usingItem.value.multiple || props.mode === SearchInputMode.EDIT) {
|
3450
3430
|
list = usingItem.value.children.filter(function (item) {
|
3451
|
-
return item.name.toLocaleLowerCase().includes(keyword.value.toLocaleLowerCase());
|
3431
|
+
return item.name.toLocaleLowerCase().includes(keyword.value.toLocaleLowerCase().trim());
|
3452
3432
|
});
|
3453
3433
|
}
|
3454
3434
|
case 10:
|
3455
3435
|
menuList.value = list;
|
3436
|
+
console.log('list', list);
|
3456
3437
|
if (props.valueBehavior === ValueBehavior.NEED_KEY) {
|
3457
3438
|
hoverItem = list.find(function (item) {
|
3458
3439
|
return !item.disabled;
|
@@ -3463,7 +3444,7 @@ function input_objectSpread(e) { for (var r = 1; r < arguments.length; r++) { va
|
|
3463
3444
|
menuHoverId.value = hoverItem.id;
|
3464
3445
|
}
|
3465
3446
|
}
|
3466
|
-
case
|
3447
|
+
case 13:
|
3467
3448
|
case "end":
|
3468
3449
|
return _context5.stop();
|
3469
3450
|
}
|
@@ -3587,11 +3568,29 @@ function input_objectSpread(e) { for (var r = 1; r < arguments.length; r++) { va
|
|
3587
3568
|
(0,external_vue_namespaceObject.nextTick)(clearInput);
|
3588
3569
|
}
|
3589
3570
|
}
|
3571
|
+
function clearInputBr() {
|
3572
|
+
if (!inputRef.value) return;
|
3573
|
+
var brs = inputRef.value.querySelectorAll('br');
|
3574
|
+
brs === null || brs === void 0 || brs.forEach(function (br) {
|
3575
|
+
return br.remove();
|
3576
|
+
});
|
3577
|
+
}
|
3590
3578
|
function clearInput() {
|
3591
3579
|
if (!inputRef.value) return;
|
3580
|
+
// magic code 判断是否是 windows 系统
|
3581
|
+
// const isWindows = navigator.userAgent.includes('Windows');
|
3582
|
+
// if (isWindows) {
|
3583
|
+
// setTimeout(() => {
|
3584
|
+
// keyword.value = '';
|
3585
|
+
// inputRef.value.innerText = '';
|
3586
|
+
// clearInputBr();
|
3587
|
+
// }, 32);
|
3588
|
+
// return;
|
3589
|
+
// }
|
3592
3590
|
keyword.value = '';
|
3593
3591
|
(0,external_vue_namespaceObject.nextTick)(function () {
|
3594
|
-
|
3592
|
+
inputRef.value.innerText = '';
|
3593
|
+
clearInputBr();
|
3595
3594
|
});
|
3596
3595
|
}
|
3597
3596
|
function str2SelectedItem(str) {
|
@@ -3672,6 +3671,14 @@ function input_objectSpread(e) { for (var r = 1; r < arguments.length; r++) { va
|
|
3672
3671
|
menuHoverId.value = '';
|
3673
3672
|
}
|
3674
3673
|
}
|
3674
|
+
function handleCompositionEnd(event) {
|
3675
|
+
isComposition.value = false;
|
3676
|
+
keyword.value = event.data;
|
3677
|
+
handleInputChange(event);
|
3678
|
+
}
|
3679
|
+
function handleCompositionStart() {
|
3680
|
+
isComposition.value = true;
|
3681
|
+
}
|
3675
3682
|
// expose
|
3676
3683
|
expose({
|
3677
3684
|
inputFocusForWrapper: inputFocusForWrapper,
|
@@ -3690,6 +3697,7 @@ function input_objectSpread(e) { for (var r = 1; r < arguments.length; r++) { va
|
|
3690
3697
|
menuList: menuList,
|
3691
3698
|
menuHoverId: menuHoverId,
|
3692
3699
|
isFocus: isFocus,
|
3700
|
+
isComposition: isComposition,
|
3693
3701
|
usingItem: usingItem,
|
3694
3702
|
showPopover: showPopover,
|
3695
3703
|
showNoSelectValueError: showNoSelectValueError,
|
@@ -3712,7 +3720,9 @@ function input_objectSpread(e) { for (var r = 1; r < arguments.length; r++) { va
|
|
3712
3720
|
customPanelSubmit: customPanelSubmit,
|
3713
3721
|
refleshMenuHover: refleshMenuHover,
|
3714
3722
|
t: t,
|
3715
|
-
inputKey: inputKey
|
3723
|
+
inputKey: inputKey,
|
3724
|
+
handleCompositionEnd: handleCompositionEnd,
|
3725
|
+
handleCompositionStart: handleCompositionStart
|
3716
3726
|
};
|
3717
3727
|
},
|
3718
3728
|
render: function render() {
|
@@ -3739,9 +3749,11 @@ function input_objectSpread(e) { for (var r = 1; r < arguments.length; r++) { va
|
|
3739
3749
|
'input-after': showInputAfter
|
3740
3750
|
},
|
3741
3751
|
"contenteditable": true,
|
3742
|
-
"data-placeholder": !inputInnerHtml && !_this.keyword ? _this.placeholder : '',
|
3743
|
-
"data-tips": placeholder || '',
|
3752
|
+
"data-placeholder": !_this.isComposition && !inputInnerHtml && !_this.keyword ? _this.placeholder : '',
|
3753
|
+
"data-tips": !_this.isComposition ? placeholder || '' : '',
|
3744
3754
|
"spellcheck": "false",
|
3755
|
+
"onCompositionend": _this.handleCompositionEnd,
|
3756
|
+
"onCompositionstart": _this.handleCompositionStart,
|
3745
3757
|
"onFocus": _this.handleInputFocus,
|
3746
3758
|
"onInput": _this.handleInputChange,
|
3747
3759
|
"onKeydown": _this.handleInputKeyup,
|
@@ -3826,7 +3838,7 @@ function input_objectSpread(e) { for (var r = 1; r < arguments.length; r++) { va
|
|
3826
3838
|
});
|
3827
3839
|
}
|
3828
3840
|
}));
|
3829
|
-
;// ../../packages/search-select/src/selected.tsx
|
3841
|
+
;// CONCATENATED MODULE: ../../packages/search-select/src/selected.tsx
|
3830
3842
|
|
3831
3843
|
|
3832
3844
|
function selected_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; }
|
@@ -3835,7 +3847,7 @@ function selected_objectSpread(e) { for (var r = 1; r < arguments.length; r++) {
|
|
3835
3847
|
* Tencent is pleased to support the open source community by making
|
3836
3848
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
3837
3849
|
*
|
3838
|
-
* Copyright (C)
|
3850
|
+
* Copyright (C) 2025 Tencent. All rights reserved.
|
3839
3851
|
*
|
3840
3852
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
|
3841
3853
|
*
|
@@ -3993,7 +4005,7 @@ function selected_objectSpread(e) { for (var r = 1; r < arguments.length; r++) {
|
|
3993
4005
|
})]);
|
3994
4006
|
}
|
3995
4007
|
}));
|
3996
|
-
;// ../../packages/search-select/src/search-select.tsx
|
4008
|
+
;// CONCATENATED MODULE: ../../packages/search-select/src/search-select.tsx
|
3997
4009
|
|
3998
4010
|
|
3999
4011
|
function search_select_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; }
|
@@ -4005,7 +4017,7 @@ function search_select_arrayLikeToArray(arr, len) { if (len == null || len > arr
|
|
4005
4017
|
* Tencent is pleased to support the open source community by making
|
4006
4018
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
4007
4019
|
*
|
4008
|
-
* Copyright (C)
|
4020
|
+
* Copyright (C) 2025 Tencent. All rights reserved.
|
4009
4021
|
*
|
4010
4022
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
|
4011
4023
|
*
|
@@ -4309,7 +4321,8 @@ var SearchSelectProps = {
|
|
4309
4321
|
inputRef.value.inputFocusForWrapper();
|
4310
4322
|
}
|
4311
4323
|
}
|
4312
|
-
function handleClearAll() {
|
4324
|
+
function handleClearAll(e) {
|
4325
|
+
e.stopPropagation();
|
4313
4326
|
selectedList.value = [];
|
4314
4327
|
overflowIndex.value = -1;
|
4315
4328
|
inputRef.value.inputClearForWrapper();
|
@@ -4447,12 +4460,12 @@ var SearchSelectProps = {
|
|
4447
4460
|
}, null), this.validateStr || ''])])]);
|
4448
4461
|
}
|
4449
4462
|
}));
|
4450
|
-
;// ../../packages/search-select/src/index.ts
|
4463
|
+
;// CONCATENATED MODULE: ../../packages/search-select/src/index.ts
|
4451
4464
|
/*
|
4452
4465
|
* Tencent is pleased to support the open source community by making
|
4453
4466
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
4454
4467
|
*
|
4455
|
-
* Copyright (C)
|
4468
|
+
* Copyright (C) 2025 Tencent. All rights reserved.
|
4456
4469
|
*
|
4457
4470
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
|
4458
4471
|
*
|
@@ -4478,6 +4491,8 @@ var SearchSelectProps = {
|
|
4478
4491
|
var BkSearchSelect = (0,shared_namespaceObject.withInstall)(search_select);
|
4479
4492
|
/* harmony default export */ const src = (BkSearchSelect);
|
4480
4493
|
|
4494
|
+
})();
|
4495
|
+
|
4481
4496
|
var __webpack_exports__BkSearchSelect = __webpack_exports__.BkSearchSelect;
|
4482
4497
|
var __webpack_exports__default = __webpack_exports__["default"];
|
4483
4498
|
export { __webpack_exports__BkSearchSelect as BkSearchSelect, __webpack_exports__default as default };
|