bkui-vue 2.0.2-beta.8 → 2.0.2-beta.80
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 +166 -138
- package/dist/index.esm.js +24292 -18450
- package/dist/index.umd.js +166 -138
- 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 +2 -1
- package/lib/affix/index.js +24 -32
- package/lib/alert/alert.variable.css +2 -1
- package/lib/alert/index.js +38 -35
- package/lib/animate-number/index.js +12 -16
- package/lib/backtop/backtop.variable.css +2 -1
- package/lib/backtop/index.js +24 -34
- package/lib/badge/badge.variable.css +2 -1
- package/lib/badge/index.js +20 -26
- package/lib/breadcrumb/breadcrumb.variable.css +2 -1
- package/lib/breadcrumb/index.js +26 -34
- package/lib/button/button.d.ts +1 -1
- package/lib/button/button.variable.css +2 -1
- package/lib/button/index.js +29 -39
- package/lib/card/card.variable.css +2 -1
- package/lib/card/index.js +35 -49
- package/lib/cascader/cascader.css +26 -24
- package/lib/cascader/cascader.d.ts +315 -0
- package/lib/cascader/cascader.less +78 -76
- package/lib/cascader/cascader.variable.css +28 -25
- package/lib/cascader/index.d.ts +618 -0
- package/lib/cascader/index.js +749 -717
- package/lib/checkbox/checkbox.variable.css +2 -1
- package/lib/checkbox/index.js +39 -49
- package/lib/code-diff/code-diff.variable.css +2 -1
- package/lib/code-diff/index.js +81 -85
- package/lib/collapse/collapse.variable.css +2 -1
- package/lib/collapse/index.js +36 -42
- package/lib/collapse-transition/collapse-transition.variable.css +2 -1
- package/lib/collapse-transition/index.js +16 -22
- package/lib/color-picker/color-picker.variable.css +2 -1
- package/lib/color-picker/index.js +682 -689
- package/lib/components.js +1 -1
- package/lib/config-provider/config-provider.variable.css +2 -1
- package/lib/config-provider/index.d.ts +1 -1
- package/lib/config-provider/index.js +32 -40
- package/lib/container/container.variable.css +2 -1
- 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 +2 -1
- package/lib/date-picker/index.d.ts +6 -2
- package/lib/date-picker/index.js +717 -736
- 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 +22 -2
- package/lib/dialog/index.js +100 -137
- package/lib/directives/index.js +509 -518
- package/lib/dist.index.js +1 -1
- package/lib/divider/divider.variable.css +2 -1
- package/lib/divider/index.js +18 -24
- package/lib/dropdown/dropdown.d.ts +1 -0
- package/lib/dropdown/dropdown.variable.css +2 -1
- package/lib/dropdown/index.d.ts +3 -0
- package/lib/dropdown/index.js +45 -52
- package/lib/exception/exception.variable.css +2 -1
- package/lib/exception/index.js +51 -57
- package/lib/fixed-navbar/fixed-navbar.variable.css +2 -1
- 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 +18 -5
- package/lib/form/index.d.ts +13 -0
- package/lib/form/index.js +677 -708
- 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 +2 -1
- package/lib/image/image.variable.css +2 -1
- package/lib/image/index.js +335 -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 +23 -3
- package/lib/input/index.d.ts +39 -20
- package/lib/input/index.js +448 -444
- package/lib/input/input.css +6 -0
- package/lib/input/input.d.ts +33 -19
- package/lib/input/input.less +7 -0
- package/lib/input/input.variable.css +8 -1
- package/lib/link/index.js +20 -28
- package/lib/link/link.variable.css +2 -1
- package/lib/loading/index.js +34 -32
- package/lib/loading/loading.variable.css +2 -1
- 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.css +5 -4
- package/lib/menu/menu.less +1 -0
- package/lib/menu/menu.variable.css +7 -5
- package/lib/menu/submenu.variable.css +2 -1
- package/lib/message/index.js +102 -74
- package/lib/message/message.variable.css +2 -1
- package/lib/message/messageConstructor.d.ts +1 -1
- package/lib/modal/index.js +43 -45
- package/lib/modal/modal.css +20 -1
- package/lib/modal/modal.variable.css +22 -2
- package/lib/navigation/index.js +22 -30
- package/lib/navigation/navigation.css +29 -29
- package/lib/navigation/navigation.less +29 -29
- package/lib/navigation/navigation.variable.css +31 -30
- package/lib/notify/index.js +69 -60
- package/lib/notify/notify.variable.css +2 -1
- package/lib/overflow-title/components/overflow-title.d.ts +6 -2
- package/lib/overflow-title/index.d.ts +12 -4
- package/lib/overflow-title/index.js +32 -44
- package/lib/overflow-title/props.d.ts +3 -1
- 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 +3 -1
- package/lib/pop-confirm/index.d.ts +592 -0
- package/lib/pop-confirm/index.js +43 -55
- package/lib/pop-confirm/pop-confirm.d.ts +296 -0
- package/lib/pop-confirm/pop-confirm.variable.css +2 -1
- package/lib/pop-confirm/props.d.ts +148 -0
- package/lib/popover/index.d.ts +18 -10
- package/lib/popover/index.js +582 -459
- package/lib/popover/popover.d.ts +8 -4
- package/lib/popover/popover.variable.css +2 -1
- package/lib/popover/props.d.ts +3 -1
- package/lib/popover/use-floating.d.ts +2 -2
- package/lib/popover/use-popover-init.d.ts +2 -2
- package/lib/popover/use-popper-id.d.ts +3 -1
- 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 +2 -1
- package/lib/progress/index.js +24 -30
- package/lib/progress/progress.variable.css +2 -1
- package/lib/radio/index.js +36 -44
- package/lib/radio/radio.variable.css +2 -1
- package/lib/rate/index.js +22 -28
- package/lib/rate/rate.variable.css +2 -1
- package/lib/resize-layout/index.js +24 -32
- package/lib/resize-layout/resize-layout.css +1 -0
- package/lib/resize-layout/resize-layout.less +1 -0
- package/lib/resize-layout/resize-layout.variable.css +3 -1
- package/lib/scrollbar/css/scrollbar.variable.css +2 -1
- package/lib/scrollbar/index.js +31 -31
- package/lib/search-select/index.d.ts +39 -11
- package/lib/search-select/index.js +576 -547
- package/lib/search-select/input.d.ts +5 -1
- package/lib/search-select/search-select.d.ts +13 -4
- package/lib/search-select/search-select.variable.css +2 -1
- package/lib/search-select/selected.d.ts +10 -2
- package/lib/search-select/utils.d.ts +1 -0
- package/lib/select/common.d.ts +0 -1
- package/lib/select/index.d.ts +55 -11
- package/lib/select/index.js +570 -619
- package/lib/select/optionGroup.d.ts +12 -1
- package/lib/select/select.d.ts +20 -4
- package/lib/select/select.variable.css +2 -1
- package/lib/select/type.d.ts +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 +86 -94
- package/lib/sideslider/sideslider.variable.css +2 -1
- 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 +2 -1
- package/lib/steps/index.js +85 -92
- package/lib/steps/steps.css +24 -11
- package/lib/steps/steps.d.ts +1 -1
- package/lib/steps/steps.less +28 -10
- package/lib/steps/steps.variable.css +26 -12
- package/lib/styles/mixins/animate.variable.css +2 -1
- package/lib/styles/mixins/popper.variable.css +2 -1
- package/lib/styles/mixins/scroll.variable.css +2 -1
- package/lib/styles/reset.variable.css +2 -1
- package/lib/styles/themes/themes.less +4 -1
- package/lib/swiper/index.js +20 -26
- package/lib/swiper/swiper.variable.css +2 -1
- package/lib/switcher/index.js +24 -32
- package/lib/switcher/switcher.variable.css +2 -1
- package/lib/tab/index.d.ts +12 -0
- package/lib/tab/index.js +344 -353
- package/lib/tab/props.d.ts +3 -0
- package/lib/tab/tab.d.ts +6 -0
- package/lib/tab/tab.variable.css +2 -1
- package/lib/table/index.js +632 -691
- package/lib/table/plugins/head-filter.variable.css +2 -1
- package/lib/table/plugins/head-sort.variable.css +2 -1
- package/lib/table/plugins/settings.variable.css +2 -1
- package/lib/table/table.css +1 -0
- package/lib/table/table.variable.css +3 -1
- package/lib/table-column/index.js +10 -14
- package/lib/tag/index.js +28 -38
- package/lib/tag/tag.variable.css +2 -1
- package/lib/tag-input/index.d.ts +79 -6
- package/lib/tag-input/index.js +2341 -791
- package/lib/tag-input/tag-input.css +31 -0
- package/lib/tag-input/tag-input.d.ts +35 -3
- package/lib/tag-input/tag-input.less +36 -0
- package/lib/tag-input/tag-input.variable.css +33 -1
- package/lib/tag-input/tag-props.d.ts +13 -1
- package/lib/tag-input/tag-render.d.ts +24 -2
- package/lib/time-picker/index.js +10 -14
- package/lib/time-picker/time-picker.variable.css +2 -1
- package/lib/timeline/index.js +1368 -25
- package/lib/timeline/timeline.d.ts +1 -1
- package/lib/timeline/timeline.variable.css +2 -1
- 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 +28 -9
- package/lib/tree/constant.d.ts +2 -0
- package/lib/tree/index.d.ts +71 -11
- package/lib/tree/index.js +17743 -209
- package/lib/tree/props.d.ts +38 -3
- package/lib/tree/tree.css +46 -0
- package/lib/tree/tree.d.ts +33 -5
- package/lib/tree/tree.less +57 -2
- package/lib/tree/tree.variable.css +48 -1
- package/lib/tree/use-array-move.d.ts +6 -0
- package/lib/tree/use-node-action.d.ts +2 -2
- package/lib/tree/use-node-attribute.d.ts +3 -0
- package/lib/upload/index.js +570 -582
- package/lib/upload/upload.variable.css +2 -1
- package/lib/virtual-render/index.js +50 -62
- package/lib/virtual-render/virtual-render.variable.css +2 -1
- package/lib/volar.components.d.ts +2 -1
- package/package.json +13 -2
- package/dist/style.css +0 -1
package/lib/select/index.js
CHANGED
|
@@ -25,7 +25,15 @@ import "../tag/tag.less";
|
|
|
25
25
|
import * as __WEBPACK_EXTERNAL_MODULE_lodash_debounce_3540babe__ from "lodash/debounce";
|
|
26
26
|
/******/ var __webpack_modules__ = ({
|
|
27
27
|
|
|
28
|
-
/***/
|
|
28
|
+
/***/ 2439:
|
|
29
|
+
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
30
|
+
|
|
31
|
+
module.exports = __webpack_require__(2527);
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
/***/ }),
|
|
35
|
+
|
|
36
|
+
/***/ 7430:
|
|
29
37
|
/***/ ((module) => {
|
|
30
38
|
|
|
31
39
|
/**
|
|
@@ -64,18 +72,307 @@ var ExecutionEnvironment = {
|
|
|
64
72
|
canUseEventListeners:
|
|
65
73
|
canUseDOM && !!(window.addEventListener || window.attachEvent),
|
|
66
74
|
|
|
67
|
-
canUseViewport: canUseDOM && !!window.screen,
|
|
75
|
+
canUseViewport: canUseDOM && !!window.screen,
|
|
76
|
+
|
|
77
|
+
isInWorker: !canUseDOM // For now, this is true - might change in the future.
|
|
78
|
+
|
|
79
|
+
};
|
|
80
|
+
|
|
81
|
+
module.exports = ExecutionEnvironment;
|
|
82
|
+
|
|
83
|
+
|
|
84
|
+
/***/ }),
|
|
85
|
+
|
|
86
|
+
/***/ 6377:
|
|
87
|
+
/***/ ((module) => {
|
|
88
|
+
|
|
89
|
+
/**
|
|
90
|
+
* Copyright 2004-present Facebook. All Rights Reserved.
|
|
91
|
+
*
|
|
92
|
+
* @providesModule UserAgent_DEPRECATED
|
|
93
|
+
*/
|
|
94
|
+
|
|
95
|
+
/**
|
|
96
|
+
* Provides entirely client-side User Agent and OS detection. You should prefer
|
|
97
|
+
* the non-deprecated UserAgent module when possible, which exposes our
|
|
98
|
+
* authoritative server-side PHP-based detection to the client.
|
|
99
|
+
*
|
|
100
|
+
* Usage is straightforward:
|
|
101
|
+
*
|
|
102
|
+
* if (UserAgent_DEPRECATED.ie()) {
|
|
103
|
+
* // IE
|
|
104
|
+
* }
|
|
105
|
+
*
|
|
106
|
+
* You can also do version checks:
|
|
107
|
+
*
|
|
108
|
+
* if (UserAgent_DEPRECATED.ie() >= 7) {
|
|
109
|
+
* // IE7 or better
|
|
110
|
+
* }
|
|
111
|
+
*
|
|
112
|
+
* The browser functions will return NaN if the browser does not match, so
|
|
113
|
+
* you can also do version compares the other way:
|
|
114
|
+
*
|
|
115
|
+
* if (UserAgent_DEPRECATED.ie() < 7) {
|
|
116
|
+
* // IE6 or worse
|
|
117
|
+
* }
|
|
118
|
+
*
|
|
119
|
+
* Note that the version is a float and may include a minor version number,
|
|
120
|
+
* so you should always use range operators to perform comparisons, not
|
|
121
|
+
* strict equality.
|
|
122
|
+
*
|
|
123
|
+
* **Note:** You should **strongly** prefer capability detection to browser
|
|
124
|
+
* version detection where it's reasonable:
|
|
125
|
+
*
|
|
126
|
+
* http://www.quirksmode.org/js/support.html
|
|
127
|
+
*
|
|
128
|
+
* Further, we have a large number of mature wrapper functions and classes
|
|
129
|
+
* which abstract away many browser irregularities. Check the documentation,
|
|
130
|
+
* grep for things, or ask on javascript@lists.facebook.com before writing yet
|
|
131
|
+
* another copy of "event || window.event".
|
|
132
|
+
*
|
|
133
|
+
*/
|
|
134
|
+
|
|
135
|
+
var _populated = false;
|
|
136
|
+
|
|
137
|
+
// Browsers
|
|
138
|
+
var _ie, _firefox, _opera, _webkit, _chrome;
|
|
139
|
+
|
|
140
|
+
// Actual IE browser for compatibility mode
|
|
141
|
+
var _ie_real_version;
|
|
142
|
+
|
|
143
|
+
// Platforms
|
|
144
|
+
var _osx, _windows, _linux, _android;
|
|
145
|
+
|
|
146
|
+
// Architectures
|
|
147
|
+
var _win64;
|
|
148
|
+
|
|
149
|
+
// Devices
|
|
150
|
+
var _iphone, _ipad, _native;
|
|
151
|
+
|
|
152
|
+
var _mobile;
|
|
153
|
+
|
|
154
|
+
function _populate() {
|
|
155
|
+
if (_populated) {
|
|
156
|
+
return;
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
_populated = true;
|
|
160
|
+
|
|
161
|
+
// To work around buggy JS libraries that can't handle multi-digit
|
|
162
|
+
// version numbers, Opera 10's user agent string claims it's Opera
|
|
163
|
+
// 9, then later includes a Version/X.Y field:
|
|
164
|
+
//
|
|
165
|
+
// Opera/9.80 (foo) Presto/2.2.15 Version/10.10
|
|
166
|
+
var uas = navigator.userAgent;
|
|
167
|
+
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);
|
|
168
|
+
var os = /(Mac OS X)|(Windows)|(Linux)/.exec(uas);
|
|
169
|
+
|
|
170
|
+
_iphone = /\b(iPhone|iP[ao]d)/.exec(uas);
|
|
171
|
+
_ipad = /\b(iP[ao]d)/.exec(uas);
|
|
172
|
+
_android = /Android/i.exec(uas);
|
|
173
|
+
_native = /FBAN\/\w+;/i.exec(uas);
|
|
174
|
+
_mobile = /Mobile/i.exec(uas);
|
|
175
|
+
|
|
176
|
+
// Note that the IE team blog would have you believe you should be checking
|
|
177
|
+
// for 'Win64; x64'. But MSDN then reveals that you can actually be coming
|
|
178
|
+
// from either x64 or ia64; so ultimately, you should just check for Win64
|
|
179
|
+
// as in indicator of whether you're in 64-bit IE. 32-bit IE on 64-bit
|
|
180
|
+
// Windows will send 'WOW64' instead.
|
|
181
|
+
_win64 = !!(/Win64/.exec(uas));
|
|
182
|
+
|
|
183
|
+
if (agent) {
|
|
184
|
+
_ie = agent[1] ? parseFloat(agent[1]) : (
|
|
185
|
+
agent[5] ? parseFloat(agent[5]) : NaN);
|
|
186
|
+
// IE compatibility mode
|
|
187
|
+
if (_ie && document && document.documentMode) {
|
|
188
|
+
_ie = document.documentMode;
|
|
189
|
+
}
|
|
190
|
+
// grab the "true" ie version from the trident token if available
|
|
191
|
+
var trident = /(?:Trident\/(\d+.\d+))/.exec(uas);
|
|
192
|
+
_ie_real_version = trident ? parseFloat(trident[1]) + 4 : _ie;
|
|
193
|
+
|
|
194
|
+
_firefox = agent[2] ? parseFloat(agent[2]) : NaN;
|
|
195
|
+
_opera = agent[3] ? parseFloat(agent[3]) : NaN;
|
|
196
|
+
_webkit = agent[4] ? parseFloat(agent[4]) : NaN;
|
|
197
|
+
if (_webkit) {
|
|
198
|
+
// We do not add the regexp to the above test, because it will always
|
|
199
|
+
// match 'safari' only since 'AppleWebKit' appears before 'Chrome' in
|
|
200
|
+
// the userAgent string.
|
|
201
|
+
agent = /(?:Chrome\/(\d+\.\d+))/.exec(uas);
|
|
202
|
+
_chrome = agent && agent[1] ? parseFloat(agent[1]) : NaN;
|
|
203
|
+
} else {
|
|
204
|
+
_chrome = NaN;
|
|
205
|
+
}
|
|
206
|
+
} else {
|
|
207
|
+
_ie = _firefox = _opera = _chrome = _webkit = NaN;
|
|
208
|
+
}
|
|
209
|
+
|
|
210
|
+
if (os) {
|
|
211
|
+
if (os[1]) {
|
|
212
|
+
// Detect OS X version. If no version number matches, set _osx to true.
|
|
213
|
+
// Version examples: 10, 10_6_1, 10.7
|
|
214
|
+
// Parses version number as a float, taking only first two sets of
|
|
215
|
+
// digits. If only one set of digits is found, returns just the major
|
|
216
|
+
// version number.
|
|
217
|
+
var ver = /(?:Mac OS X (\d+(?:[._]\d+)?))/.exec(uas);
|
|
218
|
+
|
|
219
|
+
_osx = ver ? parseFloat(ver[1].replace('_', '.')) : true;
|
|
220
|
+
} else {
|
|
221
|
+
_osx = false;
|
|
222
|
+
}
|
|
223
|
+
_windows = !!os[2];
|
|
224
|
+
_linux = !!os[3];
|
|
225
|
+
} else {
|
|
226
|
+
_osx = _windows = _linux = false;
|
|
227
|
+
}
|
|
228
|
+
}
|
|
229
|
+
|
|
230
|
+
var UserAgent_DEPRECATED = {
|
|
231
|
+
|
|
232
|
+
/**
|
|
233
|
+
* Check if the UA is Internet Explorer.
|
|
234
|
+
*
|
|
235
|
+
*
|
|
236
|
+
* @return float|NaN Version number (if match) or NaN.
|
|
237
|
+
*/
|
|
238
|
+
ie: function() {
|
|
239
|
+
return _populate() || _ie;
|
|
240
|
+
},
|
|
241
|
+
|
|
242
|
+
/**
|
|
243
|
+
* Check if we're in Internet Explorer compatibility mode.
|
|
244
|
+
*
|
|
245
|
+
* @return bool true if in compatibility mode, false if
|
|
246
|
+
* not compatibility mode or not ie
|
|
247
|
+
*/
|
|
248
|
+
ieCompatibilityMode: function() {
|
|
249
|
+
return _populate() || (_ie_real_version > _ie);
|
|
250
|
+
},
|
|
251
|
+
|
|
252
|
+
|
|
253
|
+
/**
|
|
254
|
+
* Whether the browser is 64-bit IE. Really, this is kind of weak sauce; we
|
|
255
|
+
* only need this because Skype can't handle 64-bit IE yet. We need to remove
|
|
256
|
+
* this when we don't need it -- tracked by #601957.
|
|
257
|
+
*/
|
|
258
|
+
ie64: function() {
|
|
259
|
+
return UserAgent_DEPRECATED.ie() && _win64;
|
|
260
|
+
},
|
|
261
|
+
|
|
262
|
+
/**
|
|
263
|
+
* Check if the UA is Firefox.
|
|
264
|
+
*
|
|
265
|
+
*
|
|
266
|
+
* @return float|NaN Version number (if match) or NaN.
|
|
267
|
+
*/
|
|
268
|
+
firefox: function() {
|
|
269
|
+
return _populate() || _firefox;
|
|
270
|
+
},
|
|
271
|
+
|
|
272
|
+
|
|
273
|
+
/**
|
|
274
|
+
* Check if the UA is Opera.
|
|
275
|
+
*
|
|
276
|
+
*
|
|
277
|
+
* @return float|NaN Version number (if match) or NaN.
|
|
278
|
+
*/
|
|
279
|
+
opera: function() {
|
|
280
|
+
return _populate() || _opera;
|
|
281
|
+
},
|
|
282
|
+
|
|
283
|
+
|
|
284
|
+
/**
|
|
285
|
+
* Check if the UA is WebKit.
|
|
286
|
+
*
|
|
287
|
+
*
|
|
288
|
+
* @return float|NaN Version number (if match) or NaN.
|
|
289
|
+
*/
|
|
290
|
+
webkit: function() {
|
|
291
|
+
return _populate() || _webkit;
|
|
292
|
+
},
|
|
293
|
+
|
|
294
|
+
/**
|
|
295
|
+
* For Push
|
|
296
|
+
* WILL BE REMOVED VERY SOON. Use UserAgent_DEPRECATED.webkit
|
|
297
|
+
*/
|
|
298
|
+
safari: function() {
|
|
299
|
+
return UserAgent_DEPRECATED.webkit();
|
|
300
|
+
},
|
|
301
|
+
|
|
302
|
+
/**
|
|
303
|
+
* Check if the UA is a Chrome browser.
|
|
304
|
+
*
|
|
305
|
+
*
|
|
306
|
+
* @return float|NaN Version number (if match) or NaN.
|
|
307
|
+
*/
|
|
308
|
+
chrome : function() {
|
|
309
|
+
return _populate() || _chrome;
|
|
310
|
+
},
|
|
311
|
+
|
|
312
|
+
|
|
313
|
+
/**
|
|
314
|
+
* Check if the user is running Windows.
|
|
315
|
+
*
|
|
316
|
+
* @return bool `true' if the user's OS is Windows.
|
|
317
|
+
*/
|
|
318
|
+
windows: function() {
|
|
319
|
+
return _populate() || _windows;
|
|
320
|
+
},
|
|
321
|
+
|
|
322
|
+
|
|
323
|
+
/**
|
|
324
|
+
* Check if the user is running Mac OS X.
|
|
325
|
+
*
|
|
326
|
+
* @return float|bool Returns a float if a version number is detected,
|
|
327
|
+
* otherwise true/false.
|
|
328
|
+
*/
|
|
329
|
+
osx: function() {
|
|
330
|
+
return _populate() || _osx;
|
|
331
|
+
},
|
|
332
|
+
|
|
333
|
+
/**
|
|
334
|
+
* Check if the user is running Linux.
|
|
335
|
+
*
|
|
336
|
+
* @return bool `true' if the user's OS is some flavor of Linux.
|
|
337
|
+
*/
|
|
338
|
+
linux: function() {
|
|
339
|
+
return _populate() || _linux;
|
|
340
|
+
},
|
|
341
|
+
|
|
342
|
+
/**
|
|
343
|
+
* Check if the user is running on an iPhone or iPod platform.
|
|
344
|
+
*
|
|
345
|
+
* @return bool `true' if the user is running some flavor of the
|
|
346
|
+
* iPhone OS.
|
|
347
|
+
*/
|
|
348
|
+
iphone: function() {
|
|
349
|
+
return _populate() || _iphone;
|
|
350
|
+
},
|
|
351
|
+
|
|
352
|
+
mobile: function() {
|
|
353
|
+
return _populate() || (_iphone || _ipad || _android || _mobile);
|
|
354
|
+
},
|
|
68
355
|
|
|
69
|
-
|
|
356
|
+
nativeApp: function() {
|
|
357
|
+
// webviews inside of the native apps
|
|
358
|
+
return _populate() || _native;
|
|
359
|
+
},
|
|
360
|
+
|
|
361
|
+
android: function() {
|
|
362
|
+
return _populate() || _android;
|
|
363
|
+
},
|
|
70
364
|
|
|
365
|
+
ipad: function() {
|
|
366
|
+
return _populate() || _ipad;
|
|
367
|
+
}
|
|
71
368
|
};
|
|
72
369
|
|
|
73
|
-
module.exports =
|
|
370
|
+
module.exports = UserAgent_DEPRECATED;
|
|
74
371
|
|
|
75
372
|
|
|
76
373
|
/***/ }),
|
|
77
374
|
|
|
78
|
-
/***/
|
|
375
|
+
/***/ 3541:
|
|
79
376
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
80
377
|
|
|
81
378
|
/**
|
|
@@ -91,7 +388,7 @@ module.exports = ExecutionEnvironment;
|
|
|
91
388
|
|
|
92
389
|
|
|
93
390
|
|
|
94
|
-
var ExecutionEnvironment = __webpack_require__(
|
|
391
|
+
var ExecutionEnvironment = __webpack_require__(7430);
|
|
95
392
|
|
|
96
393
|
var useHasFeature;
|
|
97
394
|
if (ExecutionEnvironment.canUseDOM) {
|
|
@@ -145,23 +442,7 @@ module.exports = isEventSupported;
|
|
|
145
442
|
|
|
146
443
|
/***/ }),
|
|
147
444
|
|
|
148
|
-
/***/
|
|
149
|
-
/***/ ((module) => {
|
|
150
|
-
|
|
151
|
-
function _typeof(o) {
|
|
152
|
-
"@babel/helpers - typeof";
|
|
153
|
-
|
|
154
|
-
return (module.exports = _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) {
|
|
155
|
-
return typeof o;
|
|
156
|
-
} : function (o) {
|
|
157
|
-
return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
|
|
158
|
-
}, module.exports.__esModule = true, module.exports["default"] = module.exports), _typeof(o);
|
|
159
|
-
}
|
|
160
|
-
module.exports = _typeof, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
161
|
-
|
|
162
|
-
/***/ }),
|
|
163
|
-
|
|
164
|
-
/***/ 5022:
|
|
445
|
+
/***/ 2527:
|
|
165
446
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
166
447
|
|
|
167
448
|
/**
|
|
@@ -178,9 +459,9 @@ module.exports = _typeof, module.exports.__esModule = true, module.exports["defa
|
|
|
178
459
|
|
|
179
460
|
|
|
180
461
|
|
|
181
|
-
var UserAgent_DEPRECATED = __webpack_require__(
|
|
462
|
+
var UserAgent_DEPRECATED = __webpack_require__(6377);
|
|
182
463
|
|
|
183
|
-
var isEventSupported = __webpack_require__(
|
|
464
|
+
var isEventSupported = __webpack_require__(3541);
|
|
184
465
|
|
|
185
466
|
|
|
186
467
|
// Reasonable defaults
|
|
@@ -349,32 +630,10 @@ module.exports = normalizeWheel;
|
|
|
349
630
|
|
|
350
631
|
/***/ }),
|
|
351
632
|
|
|
352
|
-
/***/
|
|
353
|
-
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
354
|
-
|
|
355
|
-
// TODO(Babel 8): Remove this file.
|
|
356
|
-
|
|
357
|
-
var runtime = __webpack_require__(7048)();
|
|
358
|
-
module.exports = runtime;
|
|
359
|
-
|
|
360
|
-
// Copied from https://github.com/facebook/regenerator/blob/main/packages/runtime/runtime.js#L736=
|
|
361
|
-
try {
|
|
362
|
-
regeneratorRuntime = runtime;
|
|
363
|
-
} catch (accidentalStrictMode) {
|
|
364
|
-
if (typeof globalThis === "object") {
|
|
365
|
-
globalThis.regeneratorRuntime = runtime;
|
|
366
|
-
} else {
|
|
367
|
-
Function("r", "regeneratorRuntime = r")(runtime);
|
|
368
|
-
}
|
|
369
|
-
}
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
/***/ }),
|
|
373
|
-
|
|
374
|
-
/***/ 7048:
|
|
633
|
+
/***/ 7609:
|
|
375
634
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
376
635
|
|
|
377
|
-
var _typeof = (__webpack_require__(
|
|
636
|
+
var _typeof = (__webpack_require__(7425)["default"]);
|
|
378
637
|
function _regeneratorRuntime() {
|
|
379
638
|
"use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */
|
|
380
639
|
module.exports = _regeneratorRuntime = function _regeneratorRuntime() {
|
|
@@ -613,367 +872,108 @@ function _regeneratorRuntime() {
|
|
|
613
872
|
function handle(n, o) {
|
|
614
873
|
return a.type = "throw", a.arg = e, r.next = n, o && (r.method = "next", r.arg = t), !!o;
|
|
615
874
|
}
|
|
616
|
-
for (var o = this.tryEntries.length - 1; o >= 0; --o) {
|
|
617
|
-
var i = this.tryEntries[o],
|
|
618
|
-
a = i.completion;
|
|
619
|
-
if ("root" === i.tryLoc) return handle("end");
|
|
620
|
-
if (i.tryLoc <= this.prev) {
|
|
621
|
-
var c = n.call(i, "catchLoc"),
|
|
622
|
-
u = n.call(i, "finallyLoc");
|
|
623
|
-
if (c && u) {
|
|
624
|
-
if (this.prev < i.catchLoc) return handle(i.catchLoc, !0);
|
|
625
|
-
if (this.prev < i.finallyLoc) return handle(i.finallyLoc);
|
|
626
|
-
} else if (c) {
|
|
627
|
-
if (this.prev < i.catchLoc) return handle(i.catchLoc, !0);
|
|
628
|
-
} else {
|
|
629
|
-
if (!u) throw new Error("try statement without catch or finally");
|
|
630
|
-
if (this.prev < i.finallyLoc) return handle(i.finallyLoc);
|
|
631
|
-
}
|
|
632
|
-
}
|
|
633
|
-
}
|
|
634
|
-
},
|
|
635
|
-
abrupt: function abrupt(t, e) {
|
|
636
|
-
for (var r = this.tryEntries.length - 1; r >= 0; --r) {
|
|
637
|
-
var o = this.tryEntries[r];
|
|
638
|
-
if (o.tryLoc <= this.prev && n.call(o, "finallyLoc") && this.prev < o.finallyLoc) {
|
|
639
|
-
var i = o;
|
|
640
|
-
break;
|
|
641
|
-
}
|
|
642
|
-
}
|
|
643
|
-
i && ("break" === t || "continue" === t) && i.tryLoc <= e && e <= i.finallyLoc && (i = null);
|
|
644
|
-
var a = i ? i.completion : {};
|
|
645
|
-
return a.type = t, a.arg = e, i ? (this.method = "next", this.next = i.finallyLoc, y) : this.complete(a);
|
|
646
|
-
},
|
|
647
|
-
complete: function complete(t, e) {
|
|
648
|
-
if ("throw" === t.type) throw t.arg;
|
|
649
|
-
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;
|
|
650
|
-
},
|
|
651
|
-
finish: function finish(t) {
|
|
652
|
-
for (var e = this.tryEntries.length - 1; e >= 0; --e) {
|
|
653
|
-
var r = this.tryEntries[e];
|
|
654
|
-
if (r.finallyLoc === t) return this.complete(r.completion, r.afterLoc), resetTryEntry(r), y;
|
|
655
|
-
}
|
|
656
|
-
},
|
|
657
|
-
"catch": function _catch(t) {
|
|
658
|
-
for (var e = this.tryEntries.length - 1; e >= 0; --e) {
|
|
659
|
-
var r = this.tryEntries[e];
|
|
660
|
-
if (r.tryLoc === t) {
|
|
661
|
-
var n = r.completion;
|
|
662
|
-
if ("throw" === n.type) {
|
|
663
|
-
var o = n.arg;
|
|
664
|
-
resetTryEntry(r);
|
|
665
|
-
}
|
|
666
|
-
return o;
|
|
667
|
-
}
|
|
668
|
-
}
|
|
669
|
-
throw new Error("illegal catch attempt");
|
|
670
|
-
},
|
|
671
|
-
delegateYield: function delegateYield(e, r, n) {
|
|
672
|
-
return this.delegate = {
|
|
673
|
-
iterator: values(e),
|
|
674
|
-
resultName: r,
|
|
675
|
-
nextLoc: n
|
|
676
|
-
}, "next" === this.method && (this.arg = t), y;
|
|
677
|
-
}
|
|
678
|
-
}, e;
|
|
679
|
-
}
|
|
680
|
-
module.exports = _regeneratorRuntime, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
681
|
-
|
|
682
|
-
/***/ }),
|
|
683
|
-
|
|
684
|
-
/***/ 7416:
|
|
685
|
-
/***/ ((module) => {
|
|
686
|
-
|
|
687
|
-
/**
|
|
688
|
-
* Copyright 2004-present Facebook. All Rights Reserved.
|
|
689
|
-
*
|
|
690
|
-
* @providesModule UserAgent_DEPRECATED
|
|
691
|
-
*/
|
|
692
|
-
|
|
693
|
-
/**
|
|
694
|
-
* Provides entirely client-side User Agent and OS detection. You should prefer
|
|
695
|
-
* the non-deprecated UserAgent module when possible, which exposes our
|
|
696
|
-
* authoritative server-side PHP-based detection to the client.
|
|
697
|
-
*
|
|
698
|
-
* Usage is straightforward:
|
|
699
|
-
*
|
|
700
|
-
* if (UserAgent_DEPRECATED.ie()) {
|
|
701
|
-
* // IE
|
|
702
|
-
* }
|
|
703
|
-
*
|
|
704
|
-
* You can also do version checks:
|
|
705
|
-
*
|
|
706
|
-
* if (UserAgent_DEPRECATED.ie() >= 7) {
|
|
707
|
-
* // IE7 or better
|
|
708
|
-
* }
|
|
709
|
-
*
|
|
710
|
-
* The browser functions will return NaN if the browser does not match, so
|
|
711
|
-
* you can also do version compares the other way:
|
|
712
|
-
*
|
|
713
|
-
* if (UserAgent_DEPRECATED.ie() < 7) {
|
|
714
|
-
* // IE6 or worse
|
|
715
|
-
* }
|
|
716
|
-
*
|
|
717
|
-
* Note that the version is a float and may include a minor version number,
|
|
718
|
-
* so you should always use range operators to perform comparisons, not
|
|
719
|
-
* strict equality.
|
|
720
|
-
*
|
|
721
|
-
* **Note:** You should **strongly** prefer capability detection to browser
|
|
722
|
-
* version detection where it's reasonable:
|
|
723
|
-
*
|
|
724
|
-
* http://www.quirksmode.org/js/support.html
|
|
725
|
-
*
|
|
726
|
-
* Further, we have a large number of mature wrapper functions and classes
|
|
727
|
-
* which abstract away many browser irregularities. Check the documentation,
|
|
728
|
-
* grep for things, or ask on javascript@lists.facebook.com before writing yet
|
|
729
|
-
* another copy of "event || window.event".
|
|
730
|
-
*
|
|
731
|
-
*/
|
|
732
|
-
|
|
733
|
-
var _populated = false;
|
|
734
|
-
|
|
735
|
-
// Browsers
|
|
736
|
-
var _ie, _firefox, _opera, _webkit, _chrome;
|
|
737
|
-
|
|
738
|
-
// Actual IE browser for compatibility mode
|
|
739
|
-
var _ie_real_version;
|
|
740
|
-
|
|
741
|
-
// Platforms
|
|
742
|
-
var _osx, _windows, _linux, _android;
|
|
743
|
-
|
|
744
|
-
// Architectures
|
|
745
|
-
var _win64;
|
|
746
|
-
|
|
747
|
-
// Devices
|
|
748
|
-
var _iphone, _ipad, _native;
|
|
749
|
-
|
|
750
|
-
var _mobile;
|
|
751
|
-
|
|
752
|
-
function _populate() {
|
|
753
|
-
if (_populated) {
|
|
754
|
-
return;
|
|
755
|
-
}
|
|
756
|
-
|
|
757
|
-
_populated = true;
|
|
758
|
-
|
|
759
|
-
// To work around buggy JS libraries that can't handle multi-digit
|
|
760
|
-
// version numbers, Opera 10's user agent string claims it's Opera
|
|
761
|
-
// 9, then later includes a Version/X.Y field:
|
|
762
|
-
//
|
|
763
|
-
// Opera/9.80 (foo) Presto/2.2.15 Version/10.10
|
|
764
|
-
var uas = navigator.userAgent;
|
|
765
|
-
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);
|
|
766
|
-
var os = /(Mac OS X)|(Windows)|(Linux)/.exec(uas);
|
|
767
|
-
|
|
768
|
-
_iphone = /\b(iPhone|iP[ao]d)/.exec(uas);
|
|
769
|
-
_ipad = /\b(iP[ao]d)/.exec(uas);
|
|
770
|
-
_android = /Android/i.exec(uas);
|
|
771
|
-
_native = /FBAN\/\w+;/i.exec(uas);
|
|
772
|
-
_mobile = /Mobile/i.exec(uas);
|
|
773
|
-
|
|
774
|
-
// Note that the IE team blog would have you believe you should be checking
|
|
775
|
-
// for 'Win64; x64'. But MSDN then reveals that you can actually be coming
|
|
776
|
-
// from either x64 or ia64; so ultimately, you should just check for Win64
|
|
777
|
-
// as in indicator of whether you're in 64-bit IE. 32-bit IE on 64-bit
|
|
778
|
-
// Windows will send 'WOW64' instead.
|
|
779
|
-
_win64 = !!(/Win64/.exec(uas));
|
|
780
|
-
|
|
781
|
-
if (agent) {
|
|
782
|
-
_ie = agent[1] ? parseFloat(agent[1]) : (
|
|
783
|
-
agent[5] ? parseFloat(agent[5]) : NaN);
|
|
784
|
-
// IE compatibility mode
|
|
785
|
-
if (_ie && document && document.documentMode) {
|
|
786
|
-
_ie = document.documentMode;
|
|
787
|
-
}
|
|
788
|
-
// grab the "true" ie version from the trident token if available
|
|
789
|
-
var trident = /(?:Trident\/(\d+.\d+))/.exec(uas);
|
|
790
|
-
_ie_real_version = trident ? parseFloat(trident[1]) + 4 : _ie;
|
|
791
|
-
|
|
792
|
-
_firefox = agent[2] ? parseFloat(agent[2]) : NaN;
|
|
793
|
-
_opera = agent[3] ? parseFloat(agent[3]) : NaN;
|
|
794
|
-
_webkit = agent[4] ? parseFloat(agent[4]) : NaN;
|
|
795
|
-
if (_webkit) {
|
|
796
|
-
// We do not add the regexp to the above test, because it will always
|
|
797
|
-
// match 'safari' only since 'AppleWebKit' appears before 'Chrome' in
|
|
798
|
-
// the userAgent string.
|
|
799
|
-
agent = /(?:Chrome\/(\d+\.\d+))/.exec(uas);
|
|
800
|
-
_chrome = agent && agent[1] ? parseFloat(agent[1]) : NaN;
|
|
801
|
-
} else {
|
|
802
|
-
_chrome = NaN;
|
|
803
|
-
}
|
|
804
|
-
} else {
|
|
805
|
-
_ie = _firefox = _opera = _chrome = _webkit = NaN;
|
|
806
|
-
}
|
|
807
|
-
|
|
808
|
-
if (os) {
|
|
809
|
-
if (os[1]) {
|
|
810
|
-
// Detect OS X version. If no version number matches, set _osx to true.
|
|
811
|
-
// Version examples: 10, 10_6_1, 10.7
|
|
812
|
-
// Parses version number as a float, taking only first two sets of
|
|
813
|
-
// digits. If only one set of digits is found, returns just the major
|
|
814
|
-
// version number.
|
|
815
|
-
var ver = /(?:Mac OS X (\d+(?:[._]\d+)?))/.exec(uas);
|
|
816
|
-
|
|
817
|
-
_osx = ver ? parseFloat(ver[1].replace('_', '.')) : true;
|
|
818
|
-
} else {
|
|
819
|
-
_osx = false;
|
|
875
|
+
for (var o = this.tryEntries.length - 1; o >= 0; --o) {
|
|
876
|
+
var i = this.tryEntries[o],
|
|
877
|
+
a = i.completion;
|
|
878
|
+
if ("root" === i.tryLoc) return handle("end");
|
|
879
|
+
if (i.tryLoc <= this.prev) {
|
|
880
|
+
var c = n.call(i, "catchLoc"),
|
|
881
|
+
u = n.call(i, "finallyLoc");
|
|
882
|
+
if (c && u) {
|
|
883
|
+
if (this.prev < i.catchLoc) return handle(i.catchLoc, !0);
|
|
884
|
+
if (this.prev < i.finallyLoc) return handle(i.finallyLoc);
|
|
885
|
+
} else if (c) {
|
|
886
|
+
if (this.prev < i.catchLoc) return handle(i.catchLoc, !0);
|
|
887
|
+
} else {
|
|
888
|
+
if (!u) throw new Error("try statement without catch or finally");
|
|
889
|
+
if (this.prev < i.finallyLoc) return handle(i.finallyLoc);
|
|
890
|
+
}
|
|
891
|
+
}
|
|
892
|
+
}
|
|
893
|
+
},
|
|
894
|
+
abrupt: function abrupt(t, e) {
|
|
895
|
+
for (var r = this.tryEntries.length - 1; r >= 0; --r) {
|
|
896
|
+
var o = this.tryEntries[r];
|
|
897
|
+
if (o.tryLoc <= this.prev && n.call(o, "finallyLoc") && this.prev < o.finallyLoc) {
|
|
898
|
+
var i = o;
|
|
899
|
+
break;
|
|
900
|
+
}
|
|
901
|
+
}
|
|
902
|
+
i && ("break" === t || "continue" === t) && i.tryLoc <= e && e <= i.finallyLoc && (i = null);
|
|
903
|
+
var a = i ? i.completion : {};
|
|
904
|
+
return a.type = t, a.arg = e, i ? (this.method = "next", this.next = i.finallyLoc, y) : this.complete(a);
|
|
905
|
+
},
|
|
906
|
+
complete: function complete(t, e) {
|
|
907
|
+
if ("throw" === t.type) throw t.arg;
|
|
908
|
+
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;
|
|
909
|
+
},
|
|
910
|
+
finish: function finish(t) {
|
|
911
|
+
for (var e = this.tryEntries.length - 1; e >= 0; --e) {
|
|
912
|
+
var r = this.tryEntries[e];
|
|
913
|
+
if (r.finallyLoc === t) return this.complete(r.completion, r.afterLoc), resetTryEntry(r), y;
|
|
914
|
+
}
|
|
915
|
+
},
|
|
916
|
+
"catch": function _catch(t) {
|
|
917
|
+
for (var e = this.tryEntries.length - 1; e >= 0; --e) {
|
|
918
|
+
var r = this.tryEntries[e];
|
|
919
|
+
if (r.tryLoc === t) {
|
|
920
|
+
var n = r.completion;
|
|
921
|
+
if ("throw" === n.type) {
|
|
922
|
+
var o = n.arg;
|
|
923
|
+
resetTryEntry(r);
|
|
924
|
+
}
|
|
925
|
+
return o;
|
|
926
|
+
}
|
|
927
|
+
}
|
|
928
|
+
throw new Error("illegal catch attempt");
|
|
929
|
+
},
|
|
930
|
+
delegateYield: function delegateYield(e, r, n) {
|
|
931
|
+
return this.delegate = {
|
|
932
|
+
iterator: values(e),
|
|
933
|
+
resultName: r,
|
|
934
|
+
nextLoc: n
|
|
935
|
+
}, "next" === this.method && (this.arg = t), y;
|
|
820
936
|
}
|
|
821
|
-
|
|
822
|
-
_linux = !!os[3];
|
|
823
|
-
} else {
|
|
824
|
-
_osx = _windows = _linux = false;
|
|
825
|
-
}
|
|
937
|
+
}, e;
|
|
826
938
|
}
|
|
939
|
+
module.exports = _regeneratorRuntime, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
827
940
|
|
|
828
|
-
|
|
829
|
-
|
|
830
|
-
/**
|
|
831
|
-
* Check if the UA is Internet Explorer.
|
|
832
|
-
*
|
|
833
|
-
*
|
|
834
|
-
* @return float|NaN Version number (if match) or NaN.
|
|
835
|
-
*/
|
|
836
|
-
ie: function() {
|
|
837
|
-
return _populate() || _ie;
|
|
838
|
-
},
|
|
839
|
-
|
|
840
|
-
/**
|
|
841
|
-
* Check if we're in Internet Explorer compatibility mode.
|
|
842
|
-
*
|
|
843
|
-
* @return bool true if in compatibility mode, false if
|
|
844
|
-
* not compatibility mode or not ie
|
|
845
|
-
*/
|
|
846
|
-
ieCompatibilityMode: function() {
|
|
847
|
-
return _populate() || (_ie_real_version > _ie);
|
|
848
|
-
},
|
|
849
|
-
|
|
850
|
-
|
|
851
|
-
/**
|
|
852
|
-
* Whether the browser is 64-bit IE. Really, this is kind of weak sauce; we
|
|
853
|
-
* only need this because Skype can't handle 64-bit IE yet. We need to remove
|
|
854
|
-
* this when we don't need it -- tracked by #601957.
|
|
855
|
-
*/
|
|
856
|
-
ie64: function() {
|
|
857
|
-
return UserAgent_DEPRECATED.ie() && _win64;
|
|
858
|
-
},
|
|
859
|
-
|
|
860
|
-
/**
|
|
861
|
-
* Check if the UA is Firefox.
|
|
862
|
-
*
|
|
863
|
-
*
|
|
864
|
-
* @return float|NaN Version number (if match) or NaN.
|
|
865
|
-
*/
|
|
866
|
-
firefox: function() {
|
|
867
|
-
return _populate() || _firefox;
|
|
868
|
-
},
|
|
869
|
-
|
|
870
|
-
|
|
871
|
-
/**
|
|
872
|
-
* Check if the UA is Opera.
|
|
873
|
-
*
|
|
874
|
-
*
|
|
875
|
-
* @return float|NaN Version number (if match) or NaN.
|
|
876
|
-
*/
|
|
877
|
-
opera: function() {
|
|
878
|
-
return _populate() || _opera;
|
|
879
|
-
},
|
|
880
|
-
|
|
881
|
-
|
|
882
|
-
/**
|
|
883
|
-
* Check if the UA is WebKit.
|
|
884
|
-
*
|
|
885
|
-
*
|
|
886
|
-
* @return float|NaN Version number (if match) or NaN.
|
|
887
|
-
*/
|
|
888
|
-
webkit: function() {
|
|
889
|
-
return _populate() || _webkit;
|
|
890
|
-
},
|
|
891
|
-
|
|
892
|
-
/**
|
|
893
|
-
* For Push
|
|
894
|
-
* WILL BE REMOVED VERY SOON. Use UserAgent_DEPRECATED.webkit
|
|
895
|
-
*/
|
|
896
|
-
safari: function() {
|
|
897
|
-
return UserAgent_DEPRECATED.webkit();
|
|
898
|
-
},
|
|
899
|
-
|
|
900
|
-
/**
|
|
901
|
-
* Check if the UA is a Chrome browser.
|
|
902
|
-
*
|
|
903
|
-
*
|
|
904
|
-
* @return float|NaN Version number (if match) or NaN.
|
|
905
|
-
*/
|
|
906
|
-
chrome : function() {
|
|
907
|
-
return _populate() || _chrome;
|
|
908
|
-
},
|
|
909
|
-
|
|
910
|
-
|
|
911
|
-
/**
|
|
912
|
-
* Check if the user is running Windows.
|
|
913
|
-
*
|
|
914
|
-
* @return bool `true' if the user's OS is Windows.
|
|
915
|
-
*/
|
|
916
|
-
windows: function() {
|
|
917
|
-
return _populate() || _windows;
|
|
918
|
-
},
|
|
941
|
+
/***/ }),
|
|
919
942
|
|
|
943
|
+
/***/ 7425:
|
|
944
|
+
/***/ ((module) => {
|
|
920
945
|
|
|
921
|
-
|
|
922
|
-
|
|
923
|
-
*
|
|
924
|
-
* @return float|bool Returns a float if a version number is detected,
|
|
925
|
-
* otherwise true/false.
|
|
926
|
-
*/
|
|
927
|
-
osx: function() {
|
|
928
|
-
return _populate() || _osx;
|
|
929
|
-
},
|
|
946
|
+
function _typeof(o) {
|
|
947
|
+
"@babel/helpers - typeof";
|
|
930
948
|
|
|
931
|
-
|
|
932
|
-
|
|
933
|
-
|
|
934
|
-
|
|
935
|
-
|
|
936
|
-
|
|
937
|
-
|
|
938
|
-
},
|
|
949
|
+
return (module.exports = _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) {
|
|
950
|
+
return typeof o;
|
|
951
|
+
} : function (o) {
|
|
952
|
+
return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
|
|
953
|
+
}, module.exports.__esModule = true, module.exports["default"] = module.exports), _typeof(o);
|
|
954
|
+
}
|
|
955
|
+
module.exports = _typeof, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
939
956
|
|
|
940
|
-
|
|
941
|
-
* Check if the user is running on an iPhone or iPod platform.
|
|
942
|
-
*
|
|
943
|
-
* @return bool `true' if the user is running some flavor of the
|
|
944
|
-
* iPhone OS.
|
|
945
|
-
*/
|
|
946
|
-
iphone: function() {
|
|
947
|
-
return _populate() || _iphone;
|
|
948
|
-
},
|
|
957
|
+
/***/ }),
|
|
949
958
|
|
|
950
|
-
|
|
951
|
-
|
|
952
|
-
},
|
|
959
|
+
/***/ 2841:
|
|
960
|
+
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
953
961
|
|
|
954
|
-
|
|
955
|
-
// webviews inside of the native apps
|
|
956
|
-
return _populate() || _native;
|
|
957
|
-
},
|
|
962
|
+
// TODO(Babel 8): Remove this file.
|
|
958
963
|
|
|
959
|
-
|
|
960
|
-
|
|
961
|
-
},
|
|
964
|
+
var runtime = __webpack_require__(7609)();
|
|
965
|
+
module.exports = runtime;
|
|
962
966
|
|
|
963
|
-
|
|
964
|
-
|
|
967
|
+
// Copied from https://github.com/facebook/regenerator/blob/main/packages/runtime/runtime.js#L736=
|
|
968
|
+
try {
|
|
969
|
+
regeneratorRuntime = runtime;
|
|
970
|
+
} catch (accidentalStrictMode) {
|
|
971
|
+
if (typeof globalThis === "object") {
|
|
972
|
+
globalThis.regeneratorRuntime = runtime;
|
|
973
|
+
} else {
|
|
974
|
+
Function("r", "regeneratorRuntime = r")(runtime);
|
|
965
975
|
}
|
|
966
|
-
}
|
|
967
|
-
|
|
968
|
-
module.exports = UserAgent_DEPRECATED;
|
|
969
|
-
|
|
970
|
-
|
|
971
|
-
/***/ }),
|
|
972
|
-
|
|
973
|
-
/***/ 8283:
|
|
974
|
-
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
975
|
-
|
|
976
|
-
module.exports = __webpack_require__(5022);
|
|
976
|
+
}
|
|
977
977
|
|
|
978
978
|
|
|
979
979
|
/***/ })
|
|
@@ -1036,6 +1036,8 @@ module.exports = __webpack_require__(5022);
|
|
|
1036
1036
|
/******/
|
|
1037
1037
|
/************************************************************************/
|
|
1038
1038
|
var __webpack_exports__ = {};
|
|
1039
|
+
// This entry need to be wrapped in an IIFE because it need to be isolated against other modules in the chunk.
|
|
1040
|
+
(() => {
|
|
1039
1041
|
|
|
1040
1042
|
// EXPORTS
|
|
1041
1043
|
__webpack_require__.d(__webpack_exports__, {
|
|
@@ -1046,13 +1048,11 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
1046
1048
|
useHover: () => (/* reexport */ useHover)
|
|
1047
1049
|
});
|
|
1048
1050
|
|
|
1049
|
-
;// external "../shared"
|
|
1050
|
-
var x = (y)
|
|
1051
|
-
|
|
1052
|
-
}
|
|
1053
|
-
|
|
1054
|
-
const shared_namespaceObject = x({ ["InputBehaviorType"]: () => (__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.InputBehaviorType), ["PropTypes"]: () => (__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.PropTypes), ["RenderType"]: () => (__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.RenderType), ["SelectedType"]: () => (__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.SelectedType), ["SelectedTypeEnum"]: () => (__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.SelectedTypeEnum), ["SizeEnum"]: () => (__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.SizeEnum), ["TagThemeType"]: () => (__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.TagThemeType), ["bkZIndexManager"]: () => (__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.bkZIndexManager), ["classes"]: () => (__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.classes), ["observerResize"]: () => (__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.observerResize), ["resolveClassName"]: () => (__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.resolveClassName), ["useFormItem"]: () => (__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.useFormItem), ["withInstallProps"]: () => (__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.withInstallProps) });
|
|
1055
|
-
;// ../../node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js
|
|
1051
|
+
;// CONCATENATED MODULE: external "../shared"
|
|
1052
|
+
var x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
|
1053
|
+
var y = x => () => x
|
|
1054
|
+
const shared_namespaceObject = x({ ["InputBehaviorType"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.InputBehaviorType, ["PropTypes"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.PropTypes, ["RenderType"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.RenderType, ["SelectedType"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.SelectedType, ["SelectedTypeEnum"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.SelectedTypeEnum, ["SizeEnum"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.SizeEnum, ["TagThemeType"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.TagThemeType, ["bkZIndexManager"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.bkZIndexManager, ["classes"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.classes, ["observerResize"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.observerResize, ["resolveClassName"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.resolveClassName, ["useFormItem"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.useFormItem, ["withInstallProps"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.withInstallProps });
|
|
1055
|
+
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js
|
|
1056
1056
|
function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
|
|
1057
1057
|
try {
|
|
1058
1058
|
var info = gen[key](arg);
|
|
@@ -1084,22 +1084,20 @@ function _asyncToGenerator(fn) {
|
|
|
1084
1084
|
};
|
|
1085
1085
|
}
|
|
1086
1086
|
// EXTERNAL MODULE: ../../node_modules/@babel/runtime/regenerator/index.js
|
|
1087
|
-
var regenerator = __webpack_require__(
|
|
1087
|
+
var regenerator = __webpack_require__(2841);
|
|
1088
1088
|
var regenerator_default = /*#__PURE__*/__webpack_require__.n(regenerator);
|
|
1089
|
-
;// external "vue"
|
|
1090
|
-
var external_vue_x = (y)
|
|
1091
|
-
|
|
1092
|
-
}
|
|
1093
|
-
|
|
1094
|
-
const external_vue_namespaceObject = external_vue_x({ ["computed"]: () => (__WEBPACK_EXTERNAL_MODULE_vue__.computed), ["createTextVNode"]: () => (__WEBPACK_EXTERNAL_MODULE_vue__.createTextVNode), ["createVNode"]: () => (__WEBPACK_EXTERNAL_MODULE_vue__.createVNode), ["customRef"]: () => (__WEBPACK_EXTERNAL_MODULE_vue__.customRef), ["defineComponent"]: () => (__WEBPACK_EXTERNAL_MODULE_vue__.defineComponent), ["getCurrentInstance"]: () => (__WEBPACK_EXTERNAL_MODULE_vue__.getCurrentInstance), ["h"]: () => (__WEBPACK_EXTERNAL_MODULE_vue__.h), ["inject"]: () => (__WEBPACK_EXTERNAL_MODULE_vue__.inject), ["mergeProps"]: () => (__WEBPACK_EXTERNAL_MODULE_vue__.mergeProps), ["nextTick"]: () => (__WEBPACK_EXTERNAL_MODULE_vue__.nextTick), ["onBeforeMount"]: () => (__WEBPACK_EXTERNAL_MODULE_vue__.onBeforeMount), ["onBeforeUnmount"]: () => (__WEBPACK_EXTERNAL_MODULE_vue__.onBeforeUnmount), ["onMounted"]: () => (__WEBPACK_EXTERNAL_MODULE_vue__.onMounted), ["provide"]: () => (__WEBPACK_EXTERNAL_MODULE_vue__.provide), ["reactive"]: () => (__WEBPACK_EXTERNAL_MODULE_vue__.reactive), ["ref"]: () => (__WEBPACK_EXTERNAL_MODULE_vue__.ref), ["render"]: () => (__WEBPACK_EXTERNAL_MODULE_vue__.render), ["resolveDirective"]: () => (__WEBPACK_EXTERNAL_MODULE_vue__.resolveDirective), ["toRef"]: () => (__WEBPACK_EXTERNAL_MODULE_vue__.toRef), ["toRefs"]: () => (__WEBPACK_EXTERNAL_MODULE_vue__.toRefs), ["vModelText"]: () => (__WEBPACK_EXTERNAL_MODULE_vue__.vModelText), ["vShow"]: () => (__WEBPACK_EXTERNAL_MODULE_vue__.vShow), ["watch"]: () => (__WEBPACK_EXTERNAL_MODULE_vue__.watch), ["withDirectives"]: () => (__WEBPACK_EXTERNAL_MODULE_vue__.withDirectives) });
|
|
1095
|
-
;// ../../packages/select/src/common.ts
|
|
1089
|
+
;// CONCATENATED MODULE: external "vue"
|
|
1090
|
+
var external_vue_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
|
1091
|
+
var external_vue_y = x => () => x
|
|
1092
|
+
const external_vue_namespaceObject = external_vue_x({ ["computed"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.computed, ["createTextVNode"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.createTextVNode, ["createVNode"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.createVNode, ["defineComponent"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.defineComponent, ["getCurrentInstance"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.getCurrentInstance, ["h"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.h, ["inject"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.inject, ["mergeProps"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.mergeProps, ["nextTick"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.nextTick, ["onBeforeMount"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.onBeforeMount, ["onBeforeUnmount"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.onBeforeUnmount, ["onMounted"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.onMounted, ["provide"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.provide, ["reactive"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.reactive, ["ref"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.ref, ["render"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.render, ["resolveDirective"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.resolveDirective, ["toRef"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.toRef, ["toRefs"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.toRefs, ["vModelText"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.vModelText, ["vShow"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.vShow, ["watch"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.watch, ["withDirectives"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.withDirectives });
|
|
1093
|
+
;// CONCATENATED MODULE: ../../packages/select/src/common.ts
|
|
1096
1094
|
|
|
1097
1095
|
|
|
1098
1096
|
/*
|
|
1099
1097
|
* Tencent is pleased to support the open source community by making
|
|
1100
1098
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
|
1101
1099
|
*
|
|
1102
|
-
* Copyright (C)
|
|
1100
|
+
* Copyright (C) 2025 Tencent. All rights reserved.
|
|
1103
1101
|
*
|
|
1104
1102
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
|
|
1105
1103
|
*
|
|
@@ -1158,32 +1156,6 @@ function useRegistry(data) {
|
|
|
1158
1156
|
unregister: unregister
|
|
1159
1157
|
};
|
|
1160
1158
|
}
|
|
1161
|
-
function useDebouncedRef(value) {
|
|
1162
|
-
var delay = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 200;
|
|
1163
|
-
var timeout;
|
|
1164
|
-
var innerValue = value;
|
|
1165
|
-
return (0,external_vue_namespaceObject.customRef)(function (track, trigger) {
|
|
1166
|
-
return {
|
|
1167
|
-
get: function get() {
|
|
1168
|
-
track();
|
|
1169
|
-
return innerValue;
|
|
1170
|
-
},
|
|
1171
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
1172
|
-
set: function set(newValue) {
|
|
1173
|
-
clearTimeout(timeout);
|
|
1174
|
-
if (newValue === undefined || newValue === '') {
|
|
1175
|
-
innerValue = newValue;
|
|
1176
|
-
trigger();
|
|
1177
|
-
} else {
|
|
1178
|
-
timeout = setTimeout(function () {
|
|
1179
|
-
innerValue = newValue;
|
|
1180
|
-
trigger();
|
|
1181
|
-
}, delay);
|
|
1182
|
-
}
|
|
1183
|
-
}
|
|
1184
|
-
};
|
|
1185
|
-
});
|
|
1186
|
-
}
|
|
1187
1159
|
function usePopover(config, triggerRef) {
|
|
1188
1160
|
var popoverMinWidth = config.popoverMinWidth;
|
|
1189
1161
|
var observerIns = null;
|
|
@@ -1221,8 +1193,8 @@ function usePopover(config, triggerRef) {
|
|
|
1221
1193
|
};
|
|
1222
1194
|
}
|
|
1223
1195
|
function useRemoteSearch(method, callBack) {
|
|
1224
|
-
var customOptionName =
|
|
1225
|
-
var searchValue =
|
|
1196
|
+
var customOptionName = (0,external_vue_namespaceObject.ref)(''); // 自定义创建选项(自定义创建也会触发搜索)
|
|
1197
|
+
var searchValue = (0,external_vue_namespaceObject.ref)('');
|
|
1226
1198
|
var curSearchValue = (0,external_vue_namespaceObject.computed)(function () {
|
|
1227
1199
|
return searchValue.value || customOptionName.value;
|
|
1228
1200
|
});
|
|
@@ -1275,7 +1247,7 @@ function isInViewPort(el, client) {
|
|
|
1275
1247
|
clientBottom = _client$getBoundingCl.bottom;
|
|
1276
1248
|
return elTop >= clientTop && elBottom <= clientBottom;
|
|
1277
1249
|
}
|
|
1278
|
-
;// ../../node_modules/@babel/runtime/helpers/esm/typeof.js
|
|
1250
|
+
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/typeof.js
|
|
1279
1251
|
function _typeof(o) {
|
|
1280
1252
|
"@babel/helpers - typeof";
|
|
1281
1253
|
|
|
@@ -1285,7 +1257,7 @@ function _typeof(o) {
|
|
|
1285
1257
|
return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
|
|
1286
1258
|
}, _typeof(o);
|
|
1287
1259
|
}
|
|
1288
|
-
;// ../../node_modules/@babel/runtime/helpers/esm/toPrimitive.js
|
|
1260
|
+
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/toPrimitive.js
|
|
1289
1261
|
|
|
1290
1262
|
function toPrimitive(t, r) {
|
|
1291
1263
|
if ("object" != _typeof(t) || !t) return t;
|
|
@@ -1297,14 +1269,14 @@ function toPrimitive(t, r) {
|
|
|
1297
1269
|
}
|
|
1298
1270
|
return ("string" === r ? String : Number)(t);
|
|
1299
1271
|
}
|
|
1300
|
-
;// ../../node_modules/@babel/runtime/helpers/esm/toPropertyKey.js
|
|
1272
|
+
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/toPropertyKey.js
|
|
1301
1273
|
|
|
1302
1274
|
|
|
1303
1275
|
function toPropertyKey(t) {
|
|
1304
1276
|
var i = toPrimitive(t, "string");
|
|
1305
1277
|
return "symbol" == _typeof(i) ? i : String(i);
|
|
1306
1278
|
}
|
|
1307
|
-
;// ../../node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
|
1279
|
+
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
|
1308
1280
|
|
|
1309
1281
|
function _defineProperty(obj, key, value) {
|
|
1310
1282
|
key = toPropertyKey(key);
|
|
@@ -1320,37 +1292,27 @@ function _defineProperty(obj, key, value) {
|
|
|
1320
1292
|
}
|
|
1321
1293
|
return obj;
|
|
1322
1294
|
}
|
|
1323
|
-
;// external "../checkbox"
|
|
1324
|
-
var checkbox_x = (y)
|
|
1325
|
-
|
|
1326
|
-
}
|
|
1327
|
-
|
|
1328
|
-
|
|
1329
|
-
|
|
1330
|
-
var checkbox_less_x = (y) => {
|
|
1331
|
-
var x = {}; __webpack_require__.d(x, y); return x
|
|
1332
|
-
}
|
|
1333
|
-
var checkbox_less_y = (x) => (() => (x))
|
|
1295
|
+
;// CONCATENATED MODULE: external "../checkbox"
|
|
1296
|
+
var checkbox_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
|
1297
|
+
var checkbox_y = x => () => x
|
|
1298
|
+
const checkbox_namespaceObject = checkbox_x({ ["default"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_checkbox_13b1cb4a__["default"] });
|
|
1299
|
+
;// CONCATENATED MODULE: external "../checkbox/checkbox.less"
|
|
1300
|
+
var checkbox_less_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
|
1301
|
+
var checkbox_less_y = x => () => x
|
|
1334
1302
|
const checkbox_less_namespaceObject = checkbox_less_x({ });
|
|
1335
|
-
;// external "../config-provider"
|
|
1336
|
-
var config_provider_x = (y)
|
|
1337
|
-
|
|
1338
|
-
}
|
|
1339
|
-
|
|
1340
|
-
|
|
1341
|
-
|
|
1342
|
-
|
|
1343
|
-
|
|
1344
|
-
}
|
|
1345
|
-
var
|
|
1346
|
-
const
|
|
1347
|
-
;//
|
|
1348
|
-
var isEqual_x = (y) => {
|
|
1349
|
-
var x = {}; __webpack_require__.d(x, y); return x
|
|
1350
|
-
}
|
|
1351
|
-
var isEqual_y = (x) => (() => (x))
|
|
1352
|
-
const isEqual_namespaceObject = isEqual_x({ ["default"]: () => (__WEBPACK_EXTERNAL_MODULE_lodash_isEqual_ce045a54__["default"]) });
|
|
1353
|
-
;// ../../packages/select/src/option.tsx
|
|
1303
|
+
;// CONCATENATED MODULE: external "../config-provider"
|
|
1304
|
+
var config_provider_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
|
1305
|
+
var config_provider_y = x => () => x
|
|
1306
|
+
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 });
|
|
1307
|
+
;// CONCATENATED MODULE: external "../icon"
|
|
1308
|
+
var icon_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
|
1309
|
+
var icon_y = x => () => x
|
|
1310
|
+
const icon_namespaceObject = icon_x({ ["AngleDown"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_icon_a97c79c3__.AngleDown, ["AngleUpFill"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_icon_a97c79c3__.AngleUpFill, ["Close"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_icon_a97c79c3__.Close, ["Done"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_icon_a97c79c3__.Done, ["Search"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_icon_a97c79c3__.Search, ["TextAll"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_icon_a97c79c3__.TextAll });
|
|
1311
|
+
;// CONCATENATED MODULE: external "lodash/isEqual"
|
|
1312
|
+
var isEqual_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
|
1313
|
+
var isEqual_y = x => () => x
|
|
1314
|
+
const isEqual_namespaceObject = isEqual_x({ ["default"]: () => __WEBPACK_EXTERNAL_MODULE_lodash_isEqual_ce045a54__["default"] });
|
|
1315
|
+
;// CONCATENATED MODULE: ../../packages/select/src/option.tsx
|
|
1354
1316
|
|
|
1355
1317
|
|
|
1356
1318
|
function 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; }
|
|
@@ -1359,7 +1321,7 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
|
|
|
1359
1321
|
* Tencent is pleased to support the open source community by making
|
|
1360
1322
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
|
1361
1323
|
*
|
|
1362
|
-
* Copyright (C)
|
|
1324
|
+
* Copyright (C) 2025 Tencent. All rights reserved.
|
|
1363
1325
|
*
|
|
1364
1326
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
|
|
1365
1327
|
*
|
|
@@ -1535,22 +1497,22 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
|
|
|
1535
1497
|
}, null)]), [[external_vue_namespaceObject.vShow, this.visible]]);
|
|
1536
1498
|
}
|
|
1537
1499
|
}));
|
|
1538
|
-
;// ../../node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js
|
|
1500
|
+
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js
|
|
1539
1501
|
function _arrayLikeToArray(arr, len) {
|
|
1540
1502
|
if (len == null || len > arr.length) len = arr.length;
|
|
1541
1503
|
for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];
|
|
1542
1504
|
return arr2;
|
|
1543
1505
|
}
|
|
1544
|
-
;// ../../node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js
|
|
1506
|
+
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js
|
|
1545
1507
|
|
|
1546
1508
|
function _arrayWithoutHoles(arr) {
|
|
1547
1509
|
if (Array.isArray(arr)) return _arrayLikeToArray(arr);
|
|
1548
1510
|
}
|
|
1549
|
-
;// ../../node_modules/@babel/runtime/helpers/esm/iterableToArray.js
|
|
1511
|
+
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/iterableToArray.js
|
|
1550
1512
|
function _iterableToArray(iter) {
|
|
1551
1513
|
if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
|
|
1552
1514
|
}
|
|
1553
|
-
;// ../../node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js
|
|
1515
|
+
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js
|
|
1554
1516
|
|
|
1555
1517
|
function _unsupportedIterableToArray(o, minLen) {
|
|
1556
1518
|
if (!o) return;
|
|
@@ -1560,11 +1522,11 @@ function _unsupportedIterableToArray(o, minLen) {
|
|
|
1560
1522
|
if (n === "Map" || n === "Set") return Array.from(o);
|
|
1561
1523
|
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen);
|
|
1562
1524
|
}
|
|
1563
|
-
;// ../../node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js
|
|
1525
|
+
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js
|
|
1564
1526
|
function _nonIterableSpread() {
|
|
1565
1527
|
throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
1566
1528
|
}
|
|
1567
|
-
;// ../../node_modules/@babel/runtime/helpers/esm/toConsumableArray.js
|
|
1529
|
+
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/toConsumableArray.js
|
|
1568
1530
|
|
|
1569
1531
|
|
|
1570
1532
|
|
|
@@ -1572,7 +1534,7 @@ function _nonIterableSpread() {
|
|
|
1572
1534
|
function _toConsumableArray(arr) {
|
|
1573
1535
|
return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread();
|
|
1574
1536
|
}
|
|
1575
|
-
;// ../../packages/select/src/optionGroup.tsx
|
|
1537
|
+
;// CONCATENATED MODULE: ../../packages/select/src/optionGroup.tsx
|
|
1576
1538
|
|
|
1577
1539
|
|
|
1578
1540
|
|
|
@@ -1582,7 +1544,7 @@ function optionGroup_objectSpread(e) { for (var r = 1; r < arguments.length; r++
|
|
|
1582
1544
|
* Tencent is pleased to support the open source community by making
|
|
1583
1545
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
|
1584
1546
|
*
|
|
1585
|
-
* Copyright (C)
|
|
1547
|
+
* Copyright (C) 2025 Tencent. All rights reserved.
|
|
1586
1548
|
*
|
|
1587
1549
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
|
|
1588
1550
|
*
|
|
@@ -1614,17 +1576,20 @@ function optionGroup_objectSpread(e) { for (var r = 1; r < arguments.length; r++
|
|
|
1614
1576
|
label: shared_namespaceObject.PropTypes.string.def(''),
|
|
1615
1577
|
disabled: shared_namespaceObject.PropTypes.bool.def(false),
|
|
1616
1578
|
collapsible: shared_namespaceObject.PropTypes.bool.def(false),
|
|
1617
|
-
collapse: shared_namespaceObject.PropTypes.bool.def(false)
|
|
1579
|
+
collapse: shared_namespaceObject.PropTypes.bool.def(false),
|
|
1580
|
+
visible: shared_namespaceObject.PropTypes.bool.def(true)
|
|
1618
1581
|
},
|
|
1619
1582
|
setup: function setup(props, _ref) {
|
|
1620
1583
|
var emit = _ref.emit;
|
|
1621
1584
|
var instance = (0,external_vue_namespaceObject.getCurrentInstance)();
|
|
1585
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
1622
1586
|
var proxy = instance.proxy;
|
|
1623
1587
|
var select = (0,external_vue_namespaceObject.inject)(selectKey, null);
|
|
1624
1588
|
var states = (0,external_vue_namespaceObject.reactive)({
|
|
1625
|
-
groupCollapse: props.collapse
|
|
1626
|
-
visible:
|
|
1589
|
+
groupCollapse: props.collapse
|
|
1590
|
+
// visible: props.visible,
|
|
1627
1591
|
});
|
|
1592
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
1628
1593
|
var optionsMap = (0,external_vue_namespaceObject.ref)(new Map());
|
|
1629
1594
|
var _useRegistry = useRegistry(optionsMap),
|
|
1630
1595
|
register = _useRegistry.register,
|
|
@@ -1634,6 +1599,9 @@ function optionGroup_objectSpread(e) { for (var r = 1; r < arguments.length; r++
|
|
|
1634
1599
|
return option.visible;
|
|
1635
1600
|
}).length, ")");
|
|
1636
1601
|
});
|
|
1602
|
+
var isVisible = (0,external_vue_namespaceObject.computed)(function () {
|
|
1603
|
+
return props.visible && !select.isSearchEmpty;
|
|
1604
|
+
});
|
|
1637
1605
|
var handleToggleCollapse = function handleToggleCollapse() {
|
|
1638
1606
|
if (!props.collapsible || props.disabled) return;
|
|
1639
1607
|
states.groupCollapse = !states.groupCollapse;
|
|
@@ -1654,6 +1622,7 @@ function optionGroup_objectSpread(e) { for (var r = 1; r < arguments.length; r++
|
|
|
1654
1622
|
resolveClassName = _usePrefix.resolveClassName;
|
|
1655
1623
|
return optionGroup_objectSpread(optionGroup_objectSpread({}, (0,external_vue_namespaceObject.toRefs)(states)), {}, {
|
|
1656
1624
|
groupLabel: groupLabel,
|
|
1625
|
+
isVisible: isVisible,
|
|
1657
1626
|
handleToggleCollapse: handleToggleCollapse,
|
|
1658
1627
|
resolveClassName: resolveClassName
|
|
1659
1628
|
});
|
|
@@ -1679,10 +1648,10 @@ function optionGroup_objectSpread(e) { for (var r = 1; r < arguments.length; r++
|
|
|
1679
1648
|
"class": "default-group-label-title"
|
|
1680
1649
|
}, [this.groupLabel])])]), (0,external_vue_namespaceObject.withDirectives)((0,external_vue_namespaceObject.createVNode)("ul", {
|
|
1681
1650
|
"class": this.resolveClassName('option-group-content')
|
|
1682
|
-
}, [(_this$$slots$default = (_this$$slots = this.$slots)["default"]) === null || _this$$slots$default === void 0 ? void 0 : _this$$slots$default.call(_this$$slots)]), [[external_vue_namespaceObject.vShow, !this.groupCollapse]])]), [[external_vue_namespaceObject.vShow, this.
|
|
1651
|
+
}, [(_this$$slots$default = (_this$$slots = this.$slots)["default"]) === null || _this$$slots$default === void 0 ? void 0 : _this$$slots$default.call(_this$$slots)]), [[external_vue_namespaceObject.vShow, !this.groupCollapse]])]), [[external_vue_namespaceObject.vShow, this.isVisible]]);
|
|
1683
1652
|
}
|
|
1684
1653
|
}));
|
|
1685
|
-
;// ../../packages/directives/src/clickoutside.ts
|
|
1654
|
+
;// CONCATENATED MODULE: ../../packages/directives/src/clickoutside.ts
|
|
1686
1655
|
function _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = clickoutside_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; } } }; }
|
|
1687
1656
|
function clickoutside_unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return clickoutside_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 clickoutside_arrayLikeToArray(o, minLen); }
|
|
1688
1657
|
function clickoutside_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; }
|
|
@@ -1690,7 +1659,7 @@ function clickoutside_arrayLikeToArray(arr, len) { if (len == null || len > arr.
|
|
|
1690
1659
|
* Tencent is pleased to support the open source community by making
|
|
1691
1660
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
|
1692
1661
|
*
|
|
1693
|
-
* Copyright (C)
|
|
1662
|
+
* Copyright (C) 2025 Tencent. All rights reserved.
|
|
1694
1663
|
*
|
|
1695
1664
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
|
|
1696
1665
|
*
|
|
@@ -1808,19 +1777,17 @@ ClickOutside.install = function (app) {
|
|
|
1808
1777
|
app.directive('bkTooltips', ClickOutside);
|
|
1809
1778
|
};
|
|
1810
1779
|
/* harmony default export */ const clickoutside = (ClickOutside);
|
|
1811
|
-
;// external "../popover"
|
|
1812
|
-
var popover_x = (y)
|
|
1813
|
-
|
|
1814
|
-
}
|
|
1815
|
-
|
|
1816
|
-
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"]) });
|
|
1817
|
-
;// ../../packages/directives/src/ellipsis.ts
|
|
1780
|
+
;// CONCATENATED MODULE: external "../popover"
|
|
1781
|
+
var popover_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
|
1782
|
+
var popover_y = x => () => x
|
|
1783
|
+
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"] });
|
|
1784
|
+
;// CONCATENATED MODULE: ../../packages/directives/src/ellipsis.ts
|
|
1818
1785
|
|
|
1819
1786
|
/*
|
|
1820
1787
|
* Tencent is pleased to support the open source community by making
|
|
1821
1788
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
|
1822
1789
|
*
|
|
1823
|
-
* Copyright (C)
|
|
1790
|
+
* Copyright (C) 2025 Tencent. All rights reserved.
|
|
1824
1791
|
*
|
|
1825
1792
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
|
|
1826
1793
|
*
|
|
@@ -1925,14 +1892,14 @@ var ellipsis = {
|
|
|
1925
1892
|
};
|
|
1926
1893
|
/* harmony default export */ const src_ellipsis = ((/* unused pure expression or super */ null && (ellipsis)));
|
|
1927
1894
|
// EXTERNAL MODULE: ../../node_modules/normalize-wheel/index.js
|
|
1928
|
-
var normalize_wheel = __webpack_require__(
|
|
1895
|
+
var normalize_wheel = __webpack_require__(2439);
|
|
1929
1896
|
var normalize_wheel_default = /*#__PURE__*/__webpack_require__.n(normalize_wheel);
|
|
1930
|
-
;// ../../packages/directives/src/mousewheel.ts
|
|
1897
|
+
;// CONCATENATED MODULE: ../../packages/directives/src/mousewheel.ts
|
|
1931
1898
|
/*
|
|
1932
1899
|
* Tencent is pleased to support the open source community by making
|
|
1933
1900
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
|
1934
1901
|
*
|
|
1935
|
-
* Copyright (C)
|
|
1902
|
+
* Copyright (C) 2025 Tencent. All rights reserved.
|
|
1936
1903
|
*
|
|
1937
1904
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
|
|
1938
1905
|
*
|
|
@@ -1969,13 +1936,11 @@ var mousewheel = {
|
|
|
1969
1936
|
}
|
|
1970
1937
|
};
|
|
1971
1938
|
/* harmony default export */ const src_mousewheel = ((/* unused pure expression or super */ null && (mousewheel)));
|
|
1972
|
-
;// external "@popperjs/core"
|
|
1973
|
-
var core_x = (y)
|
|
1974
|
-
|
|
1975
|
-
}
|
|
1976
|
-
|
|
1977
|
-
const core_namespaceObject = core_x({ ["createPopper"]: () => (__WEBPACK_EXTERNAL_MODULE__popperjs_core_a5c7319c__.createPopper) });
|
|
1978
|
-
;// ../../packages/directives/src/tooltips.ts
|
|
1939
|
+
;// CONCATENATED MODULE: external "@popperjs/core"
|
|
1940
|
+
var core_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
|
1941
|
+
var core_y = x => () => x
|
|
1942
|
+
const core_namespaceObject = core_x({ ["createPopper"]: () => __WEBPACK_EXTERNAL_MODULE__popperjs_core_a5c7319c__.createPopper });
|
|
1943
|
+
;// CONCATENATED MODULE: ../../packages/directives/src/tooltips.ts
|
|
1979
1944
|
|
|
1980
1945
|
|
|
1981
1946
|
|
|
@@ -1985,7 +1950,7 @@ function tooltips_objectSpread(e) { for (var r = 1; r < arguments.length; r++) {
|
|
|
1985
1950
|
* Tencent is pleased to support the open source community by making
|
|
1986
1951
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
|
1987
1952
|
*
|
|
1988
|
-
* Copyright (C)
|
|
1953
|
+
* Copyright (C) 2025 Tencent. All rights reserved.
|
|
1989
1954
|
*
|
|
1990
1955
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
|
|
1991
1956
|
*
|
|
@@ -2040,9 +2005,6 @@ var tooltips = {
|
|
|
2040
2005
|
hide(el);
|
|
2041
2006
|
}, 100);
|
|
2042
2007
|
});
|
|
2043
|
-
el.addEventListener('click', function () {
|
|
2044
|
-
hide(el);
|
|
2045
|
-
});
|
|
2046
2008
|
popper.addEventListener('mouseleave', function () {
|
|
2047
2009
|
clearTimeout(delayTimeout);
|
|
2048
2010
|
hideTimeout = setTimeout(function () {
|
|
@@ -2056,7 +2018,7 @@ var tooltips = {
|
|
|
2056
2018
|
show(el);
|
|
2057
2019
|
clearTimeout(delayTimeout);
|
|
2058
2020
|
}, opts.delay);
|
|
2059
|
-
} else if (popper.hasAttribute('data-show')) {
|
|
2021
|
+
} else if (!el.contains(event.target) && popper.hasAttribute('data-show')) {
|
|
2060
2022
|
hide(el);
|
|
2061
2023
|
}
|
|
2062
2024
|
});
|
|
@@ -2165,6 +2127,7 @@ function renderArrow() {
|
|
|
2165
2127
|
* @returns popper实例
|
|
2166
2128
|
*/
|
|
2167
2129
|
function createPopperInstance(el, popper) {
|
|
2130
|
+
if (!tooltips_nodeList.get(el)) return;
|
|
2168
2131
|
var _nodeList$get = tooltips_nodeList.get(el),
|
|
2169
2132
|
opts = _nodeList$get.opts;
|
|
2170
2133
|
var placement = opts.placement,
|
|
@@ -2205,6 +2168,7 @@ function createPopperInstance(el, popper) {
|
|
|
2205
2168
|
* @param el
|
|
2206
2169
|
*/
|
|
2207
2170
|
function show(el) {
|
|
2171
|
+
if (!tooltips_nodeList.get(el)) return;
|
|
2208
2172
|
var _nodeList$get2 = tooltips_nodeList.get(el),
|
|
2209
2173
|
popper = _nodeList$get2.popper,
|
|
2210
2174
|
opts = _nodeList$get2.opts;
|
|
@@ -2267,24 +2231,20 @@ function hide(el) {
|
|
|
2267
2231
|
}
|
|
2268
2232
|
}
|
|
2269
2233
|
/* harmony default export */ const src_tooltips = (tooltips);
|
|
2270
|
-
;// external "../loading"
|
|
2271
|
-
var external_loading_x = (y)
|
|
2272
|
-
|
|
2273
|
-
}
|
|
2274
|
-
var external_loading_y = (x) => (() => (x))
|
|
2234
|
+
;// CONCATENATED MODULE: external "../loading"
|
|
2235
|
+
var external_loading_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
|
2236
|
+
var external_loading_y = x => () => x
|
|
2275
2237
|
const external_loading_namespaceObject = external_loading_x({ });
|
|
2276
|
-
;// external "../overflow-title"
|
|
2277
|
-
var external_overflow_title_x = (y)
|
|
2278
|
-
|
|
2279
|
-
}
|
|
2280
|
-
var external_overflow_title_y = (x) => (() => (x))
|
|
2238
|
+
;// CONCATENATED MODULE: external "../overflow-title"
|
|
2239
|
+
var external_overflow_title_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
|
2240
|
+
var external_overflow_title_y = x => () => x
|
|
2281
2241
|
const external_overflow_title_namespaceObject = external_overflow_title_x({ });
|
|
2282
|
-
;// ../../packages/directives/src/index.ts
|
|
2242
|
+
;// CONCATENATED MODULE: ../../packages/directives/src/index.ts
|
|
2283
2243
|
/*
|
|
2284
2244
|
* Tencent is pleased to support the open source community by making
|
|
2285
2245
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
|
2286
2246
|
*
|
|
2287
|
-
* Copyright (C)
|
|
2247
|
+
* Copyright (C) 2025 Tencent. All rights reserved.
|
|
2288
2248
|
*
|
|
2289
2249
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
|
|
2290
2250
|
*
|
|
@@ -2312,60 +2272,44 @@ const external_overflow_title_namespaceObject = external_overflow_title_x({ });
|
|
|
2312
2272
|
|
|
2313
2273
|
|
|
2314
2274
|
// export { createInstance as bkEllipsisInstance } from './ellipsis';
|
|
2315
|
-
;// external "../input"
|
|
2316
|
-
var input_x = (y)
|
|
2317
|
-
|
|
2318
|
-
}
|
|
2319
|
-
|
|
2320
|
-
|
|
2321
|
-
|
|
2322
|
-
var input_less_x = (y) => {
|
|
2323
|
-
var x = {}; __webpack_require__.d(x, y); return x
|
|
2324
|
-
}
|
|
2325
|
-
var input_less_y = (x) => (() => (x))
|
|
2275
|
+
;// CONCATENATED MODULE: external "../input"
|
|
2276
|
+
var input_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
|
2277
|
+
var input_y = x => () => x
|
|
2278
|
+
const input_namespaceObject = input_x({ ["default"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_input_d525237e__["default"] });
|
|
2279
|
+
;// CONCATENATED MODULE: external "../input/input.less"
|
|
2280
|
+
var input_less_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
|
2281
|
+
var input_less_y = x => () => x
|
|
2326
2282
|
const input_less_namespaceObject = input_less_x({ });
|
|
2327
|
-
;// external "../loading"
|
|
2328
|
-
var loading_x = (y)
|
|
2329
|
-
|
|
2330
|
-
}
|
|
2331
|
-
|
|
2332
|
-
|
|
2333
|
-
|
|
2334
|
-
var loading_less_x = (y) => {
|
|
2335
|
-
var x = {}; __webpack_require__.d(x, y); return x
|
|
2336
|
-
}
|
|
2337
|
-
var loading_less_y = (x) => (() => (x))
|
|
2283
|
+
;// CONCATENATED MODULE: external "../loading"
|
|
2284
|
+
var loading_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
|
2285
|
+
var loading_y = x => () => x
|
|
2286
|
+
const loading_namespaceObject = loading_x({ ["default"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_loading_dcf0e69a__["default"] });
|
|
2287
|
+
;// CONCATENATED MODULE: external "../loading/loading.less"
|
|
2288
|
+
var loading_less_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
|
2289
|
+
var loading_less_y = x => () => x
|
|
2338
2290
|
const loading_less_namespaceObject = loading_less_x({ });
|
|
2339
|
-
;// external "../popover/popover.less"
|
|
2340
|
-
var popover_less_x = (y)
|
|
2341
|
-
|
|
2342
|
-
}
|
|
2343
|
-
var popover_less_y = (x) => (() => (x))
|
|
2291
|
+
;// CONCATENATED MODULE: external "../popover/popover.less"
|
|
2292
|
+
var popover_less_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
|
2293
|
+
var popover_less_y = x => () => x
|
|
2344
2294
|
const popover_less_namespaceObject = popover_less_x({ });
|
|
2345
|
-
;// external "../virtual-render"
|
|
2346
|
-
var virtual_render_x = (y)
|
|
2347
|
-
|
|
2348
|
-
}
|
|
2349
|
-
|
|
2350
|
-
|
|
2351
|
-
|
|
2352
|
-
var virtual_render_less_x = (y) => {
|
|
2353
|
-
var x = {}; __webpack_require__.d(x, y); return x
|
|
2354
|
-
}
|
|
2355
|
-
var virtual_render_less_y = (x) => (() => (x))
|
|
2295
|
+
;// CONCATENATED MODULE: external "../virtual-render"
|
|
2296
|
+
var virtual_render_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
|
2297
|
+
var virtual_render_y = x => () => x
|
|
2298
|
+
const virtual_render_namespaceObject = virtual_render_x({ ["default"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_virtual_render_927587a8__["default"] });
|
|
2299
|
+
;// CONCATENATED MODULE: external "../virtual-render/virtual-render.less"
|
|
2300
|
+
var virtual_render_less_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
|
2301
|
+
var virtual_render_less_y = x => () => x
|
|
2356
2302
|
const virtual_render_less_namespaceObject = virtual_render_less_x({ });
|
|
2357
|
-
;// external "lodash/merge"
|
|
2358
|
-
var merge_x = (y)
|
|
2359
|
-
|
|
2360
|
-
}
|
|
2361
|
-
|
|
2362
|
-
const merge_namespaceObject = merge_x({ ["default"]: () => (__WEBPACK_EXTERNAL_MODULE_lodash_merge_cf99375a__["default"]) });
|
|
2363
|
-
;// ../../packages/select/src/pinyin/dict.js
|
|
2303
|
+
;// CONCATENATED MODULE: external "lodash/merge"
|
|
2304
|
+
var merge_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
|
2305
|
+
var merge_y = x => () => x
|
|
2306
|
+
const merge_namespaceObject = merge_x({ ["default"]: () => __WEBPACK_EXTERNAL_MODULE_lodash_merge_cf99375a__["default"] });
|
|
2307
|
+
;// CONCATENATED MODULE: ../../packages/select/src/pinyin/dict.js
|
|
2364
2308
|
/*
|
|
2365
2309
|
* Tencent is pleased to support the open source community by making
|
|
2366
2310
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
|
2367
2311
|
*
|
|
2368
|
-
* Copyright (C)
|
|
2312
|
+
* Copyright (C) 2025 Tencent. All rights reserved.
|
|
2369
2313
|
*
|
|
2370
2314
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
|
|
2371
2315
|
*
|
|
@@ -3258,12 +3202,12 @@ const EXCEPTIONS = {
|
|
|
3258
3202
|
EXCEPTIONS,
|
|
3259
3203
|
});
|
|
3260
3204
|
|
|
3261
|
-
;// ../../packages/select/src/pinyin/core.js
|
|
3205
|
+
;// CONCATENATED MODULE: ../../packages/select/src/pinyin/core.js
|
|
3262
3206
|
/*
|
|
3263
3207
|
* Tencent is pleased to support the open source community by making
|
|
3264
3208
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
|
3265
3209
|
*
|
|
3266
|
-
* Copyright (C)
|
|
3210
|
+
* Copyright (C) 2025 Tencent. All rights reserved.
|
|
3267
3211
|
*
|
|
3268
3212
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
|
|
3269
3213
|
*
|
|
@@ -3425,12 +3369,12 @@ function parse(str) {
|
|
|
3425
3369
|
},
|
|
3426
3370
|
});
|
|
3427
3371
|
|
|
3428
|
-
;// ../../packages/select/src/pinyin/patchers/56l.js
|
|
3372
|
+
;// CONCATENATED MODULE: ../../packages/select/src/pinyin/patchers/56l.js
|
|
3429
3373
|
/*
|
|
3430
3374
|
* Tencent is pleased to support the open source community by making
|
|
3431
3375
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
|
3432
3376
|
*
|
|
3433
|
-
* Copyright (C)
|
|
3377
|
+
* Copyright (C) 2025 Tencent. All rights reserved.
|
|
3434
3378
|
*
|
|
3435
3379
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
|
|
3436
3380
|
*
|
|
@@ -3518,12 +3462,12 @@ function shouldPatch(toToken) {
|
|
|
3518
3462
|
shouldPatch,
|
|
3519
3463
|
});
|
|
3520
3464
|
|
|
3521
|
-
;// ../../packages/select/src/pinyin/index.js
|
|
3465
|
+
;// CONCATENATED MODULE: ../../packages/select/src/pinyin/index.js
|
|
3522
3466
|
/*
|
|
3523
3467
|
* Tencent is pleased to support the open source community by making
|
|
3524
3468
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
|
3525
3469
|
*
|
|
3526
|
-
* Copyright (C)
|
|
3470
|
+
* Copyright (C) 2025 Tencent. All rights reserved.
|
|
3527
3471
|
*
|
|
3528
3472
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
|
|
3529
3473
|
*
|
|
@@ -3558,38 +3502,30 @@ if (core.isSupported() && _56l.shouldPatch(core.genToken)) {
|
|
|
3558
3502
|
|
|
3559
3503
|
/* harmony default export */ const pinyin = (core);
|
|
3560
3504
|
|
|
3561
|
-
;// external "../overflow-title"
|
|
3562
|
-
var overflow_title_x = (y)
|
|
3563
|
-
|
|
3564
|
-
}
|
|
3565
|
-
|
|
3566
|
-
|
|
3567
|
-
|
|
3568
|
-
|
|
3569
|
-
|
|
3570
|
-
}
|
|
3571
|
-
var
|
|
3572
|
-
const tag_namespaceObject = tag_x({ ["default"]: () => (__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_tag_d74826be__["default"]) });
|
|
3573
|
-
;// external "../tag/tag.less"
|
|
3574
|
-
var tag_less_x = (y) => {
|
|
3575
|
-
var x = {}; __webpack_require__.d(x, y); return x
|
|
3576
|
-
}
|
|
3577
|
-
var tag_less_y = (x) => (() => (x))
|
|
3505
|
+
;// CONCATENATED MODULE: external "../overflow-title"
|
|
3506
|
+
var overflow_title_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
|
3507
|
+
var overflow_title_y = x => () => x
|
|
3508
|
+
const overflow_title_namespaceObject = overflow_title_x({ ["OverflowTitle"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_overflow_title_051a85a5__.OverflowTitle });
|
|
3509
|
+
;// CONCATENATED MODULE: external "../tag"
|
|
3510
|
+
var tag_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
|
3511
|
+
var tag_y = x => () => x
|
|
3512
|
+
const tag_namespaceObject = tag_x({ ["default"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_tag_d74826be__["default"] });
|
|
3513
|
+
;// CONCATENATED MODULE: external "../tag/tag.less"
|
|
3514
|
+
var tag_less_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
|
3515
|
+
var tag_less_y = x => () => x
|
|
3578
3516
|
const tag_less_namespaceObject = tag_less_x({ });
|
|
3579
|
-
;// external "lodash/debounce"
|
|
3580
|
-
var debounce_x = (y)
|
|
3581
|
-
|
|
3582
|
-
}
|
|
3583
|
-
|
|
3584
|
-
const debounce_namespaceObject = debounce_x({ ["default"]: () => (__WEBPACK_EXTERNAL_MODULE_lodash_debounce_3540babe__["default"]) });
|
|
3585
|
-
;// ../../packages/select/src/selectTagInput.tsx
|
|
3517
|
+
;// CONCATENATED MODULE: external "lodash/debounce"
|
|
3518
|
+
var debounce_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
|
3519
|
+
var debounce_y = x => () => x
|
|
3520
|
+
const debounce_namespaceObject = debounce_x({ ["default"]: () => __WEBPACK_EXTERNAL_MODULE_lodash_debounce_3540babe__["default"] });
|
|
3521
|
+
;// CONCATENATED MODULE: ../../packages/select/src/selectTagInput.tsx
|
|
3586
3522
|
|
|
3587
3523
|
|
|
3588
3524
|
/*
|
|
3589
3525
|
* Tencent is pleased to support the open source community by making
|
|
3590
3526
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
|
3591
3527
|
*
|
|
3592
|
-
* Copyright (C)
|
|
3528
|
+
* Copyright (C) 2025 Tencent. All rights reserved.
|
|
3593
3529
|
*
|
|
3594
3530
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
|
|
3595
3531
|
*
|
|
@@ -3662,6 +3598,7 @@ const debounce_namespaceObject = debounce_x({ ["default"]: () => (__WEBPACK_EXTE
|
|
|
3662
3598
|
value.value = modelValue.value;
|
|
3663
3599
|
});
|
|
3664
3600
|
(0,external_vue_namespaceObject.watch)([selected, collapseTags], function () {
|
|
3601
|
+
tagsRefs.value = [];
|
|
3665
3602
|
calcOverflow();
|
|
3666
3603
|
}, {
|
|
3667
3604
|
flush: 'post'
|
|
@@ -3833,7 +3770,7 @@ const debounce_namespaceObject = debounce_x({ ["default"]: () => (__WEBPACK_EXTE
|
|
|
3833
3770
|
}, null)]), (_this$$slots5 = this.$slots) === null || _this$$slots5 === void 0 || (_this$$slots5$suffix = _this$$slots5.suffix) === null || _this$$slots5$suffix === void 0 ? void 0 : _this$$slots5$suffix.call(_this$$slots5)]);
|
|
3834
3771
|
}
|
|
3835
3772
|
}));
|
|
3836
|
-
;// ../../packages/select/src/select.tsx
|
|
3773
|
+
;// CONCATENATED MODULE: ../../packages/select/src/select.tsx
|
|
3837
3774
|
|
|
3838
3775
|
|
|
3839
3776
|
|
|
@@ -3847,7 +3784,7 @@ function select_objectSpread(e) { for (var r = 1; r < arguments.length; r++) { v
|
|
|
3847
3784
|
* Tencent is pleased to support the open source community by making
|
|
3848
3785
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
|
3849
3786
|
*
|
|
3850
|
-
* Copyright (C)
|
|
3787
|
+
* Copyright (C) 2025 Tencent. All rights reserved.
|
|
3851
3788
|
*
|
|
3852
3789
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
|
|
3853
3790
|
*
|
|
@@ -3948,7 +3885,13 @@ function select_objectSpread(e) { for (var r = 1; r < arguments.length; r++) { v
|
|
|
3948
3885
|
type: String,
|
|
3949
3886
|
"default": 'default'
|
|
3950
3887
|
},
|
|
3951
|
-
disableScrollToSelectedOption: shared_namespaceObject.PropTypes.bool.def(false)
|
|
3888
|
+
disableScrollToSelectedOption: shared_namespaceObject.PropTypes.bool.def(false),
|
|
3889
|
+
inputTooltipsOptions: {
|
|
3890
|
+
type: Object,
|
|
3891
|
+
"default": function _default() {
|
|
3892
|
+
return {};
|
|
3893
|
+
}
|
|
3894
|
+
} // 透传Input组件的tooltips配置
|
|
3952
3895
|
},
|
|
3953
3896
|
emits: ['update:modelValue', 'change', 'toggle', 'clear', 'scroll-end', 'focus', 'blur', 'tag-remove', 'select', 'deselect', 'search-change'],
|
|
3954
3897
|
setup: function setup(props, _ref) {
|
|
@@ -4138,7 +4081,10 @@ function select_objectSpread(e) { for (var r = 1; r < arguments.length; r++) { v
|
|
|
4138
4081
|
});
|
|
4139
4082
|
// 是否显示select下拉内容
|
|
4140
4083
|
var isShowSelectContent = (0,external_vue_namespaceObject.computed)(function () {
|
|
4141
|
-
|
|
4084
|
+
// 自定义内容时始终显示
|
|
4085
|
+
if (customContent.value) return true;
|
|
4086
|
+
// 加载中、无数据、无搜索结果时不显示下拉内容
|
|
4087
|
+
return !(searchLoading.value || isOptionsEmpty.value || isSearchEmpty.value);
|
|
4142
4088
|
});
|
|
4143
4089
|
// 是否显示全选
|
|
4144
4090
|
var isShowSelectAll = (0,external_vue_namespaceObject.computed)(function () {
|
|
@@ -4333,6 +4279,10 @@ function select_objectSpread(e) { for (var r = 1; r < arguments.length; r++) { v
|
|
|
4333
4279
|
emit('change', val, modelValue.value);
|
|
4334
4280
|
// 重置Selected 以model-value为主
|
|
4335
4281
|
handleSetSelectedData();
|
|
4282
|
+
if (multiple.value) {
|
|
4283
|
+
// 多选时enter之后变成tag不需要保存当前值
|
|
4284
|
+
customOptionName.value = '';
|
|
4285
|
+
}
|
|
4336
4286
|
};
|
|
4337
4287
|
// 派发toggle事件
|
|
4338
4288
|
var handleTogglePopover = function handleTogglePopover() {
|
|
@@ -4358,7 +4308,6 @@ function select_objectSpread(e) { for (var r = 1; r < arguments.length; r++) { v
|
|
|
4358
4308
|
if (filterable.value && matchedOption) {
|
|
4359
4309
|
// 开启搜索后,正好匹配到自定义选项,则不进行创建操作
|
|
4360
4310
|
handleOptionSelected(matchedOption);
|
|
4361
|
-
customOptionName.value = '';
|
|
4362
4311
|
return;
|
|
4363
4312
|
}
|
|
4364
4313
|
var data = optionsMap.value.get(value);
|
|
@@ -4379,7 +4328,6 @@ function select_objectSpread(e) { for (var r = 1; r < arguments.length; r++) { v
|
|
|
4379
4328
|
emitChange(value);
|
|
4380
4329
|
handleHidePopover();
|
|
4381
4330
|
}
|
|
4382
|
-
customOptionName.value = '';
|
|
4383
4331
|
};
|
|
4384
4332
|
// Option点击事件
|
|
4385
4333
|
var handleOptionSelected = function handleOptionSelected(option) {
|
|
@@ -4420,9 +4368,6 @@ function select_objectSpread(e) { for (var r = 1; r < arguments.length; r++) { v
|
|
|
4420
4368
|
label: option.optionName || option.optionID,
|
|
4421
4369
|
value: option.optionID
|
|
4422
4370
|
}];
|
|
4423
|
-
if (filterable.value && allowCreate.value) {
|
|
4424
|
-
customOptionName.value = '';
|
|
4425
|
-
}
|
|
4426
4371
|
emitChange(option.optionID);
|
|
4427
4372
|
emit('select', option.optionID);
|
|
4428
4373
|
handleHidePopover();
|
|
@@ -4470,6 +4415,7 @@ function select_objectSpread(e) { for (var r = 1; r < arguments.length; r++) { v
|
|
|
4470
4415
|
var handleClear = function handleClear(e) {
|
|
4471
4416
|
e.stopPropagation();
|
|
4472
4417
|
selected.value = [];
|
|
4418
|
+
customOptionName.value = '';
|
|
4473
4419
|
clearMultipleInputValue();
|
|
4474
4420
|
emitChange(multiple.value ? [] : '');
|
|
4475
4421
|
emit('clear', multiple.value ? [] : '');
|
|
@@ -4646,9 +4592,10 @@ function select_objectSpread(e) { for (var r = 1; r < arguments.length; r++) { v
|
|
|
4646
4592
|
case 'NumpadEnter':
|
|
4647
4593
|
case 'Enter':
|
|
4648
4594
|
{
|
|
4595
|
+
var _searchRef$value2;
|
|
4649
4596
|
var value = e.target.value;
|
|
4650
4597
|
// 搜索和创建的时候不触发enter事件
|
|
4651
|
-
if (allowCreate.value && value || e.target === searchRef.value) return;
|
|
4598
|
+
if (allowCreate.value && value || e.target === searchRef.value && (_searchRef$value2 = searchRef.value) !== null && _searchRef$value2 !== void 0 && _searchRef$value2.value) return;
|
|
4652
4599
|
var option = optionsMap.value.get(activeOptionValue.value);
|
|
4653
4600
|
handleOptionSelected(option);
|
|
4654
4601
|
break;
|
|
@@ -4671,6 +4618,7 @@ function select_objectSpread(e) { for (var r = 1; r < arguments.length; r++) { v
|
|
|
4671
4618
|
selectedStyle: selectedStyle,
|
|
4672
4619
|
curSearchValue: curSearchValue,
|
|
4673
4620
|
highlightKeyword: highlightKeyword,
|
|
4621
|
+
isSearchEmpty: isSearchEmpty,
|
|
4674
4622
|
register: register,
|
|
4675
4623
|
unregister: unregister,
|
|
4676
4624
|
registerGroup: registerGroup,
|
|
@@ -4771,7 +4719,7 @@ function select_objectSpread(e) { for (var r = 1; r < arguments.length; r++) { v
|
|
|
4771
4719
|
"theme": "primary"
|
|
4772
4720
|
}, null);
|
|
4773
4721
|
}
|
|
4774
|
-
if (_this.clearable && _this.isHover && _this.selected.length && !_this.isDisabled) {
|
|
4722
|
+
if (_this.clearable && _this.isHover && _this.selected.length && !_this.isDisabled || _this.allowCreate && _this.isHover && _this.customOptionName && !_this.isDisabled) {
|
|
4775
4723
|
return (0,external_vue_namespaceObject.createVNode)(icon_namespaceObject.Close, {
|
|
4776
4724
|
"class": "clear-icon",
|
|
4777
4725
|
"onClick": _this.handleClear
|
|
@@ -4873,12 +4821,13 @@ function select_objectSpread(e) { for (var r = 1; r < arguments.length; r++) { v
|
|
|
4873
4821
|
"ref": "inputRef",
|
|
4874
4822
|
"behavior": _this.behavior,
|
|
4875
4823
|
"disabled": _this.isDisabled,
|
|
4876
|
-
"modelValue": _this.isInput ? _this.customOptionName : _this.selectedLabel.join(','),
|
|
4824
|
+
"modelValue": _this.isInput && _this.customOptionName ? _this.customOptionName : _this.selectedLabel.join(','),
|
|
4877
4825
|
"placeholder": _this.isInput ? _this.selectedLabel.join(',') || _this.localPlaceholder : _this.localPlaceholder,
|
|
4878
4826
|
"readonly": !_this.isInput,
|
|
4879
4827
|
"selectReadonly": true,
|
|
4880
4828
|
"size": _this.size,
|
|
4881
4829
|
"stopPropagation": false,
|
|
4830
|
+
"tooltipsOptions": _this.inputTooltipsOptions,
|
|
4882
4831
|
"type": "text",
|
|
4883
4832
|
"withValidate": false,
|
|
4884
4833
|
"onEnter": _this.handleCreateCustomOption,
|
|
@@ -4990,7 +4939,7 @@ function select_objectSpread(e) { for (var r = 1; r < arguments.length; r++) { v
|
|
|
4990
4939
|
"mode": "spin",
|
|
4991
4940
|
"size": "mini",
|
|
4992
4941
|
"theme": "primary"
|
|
4993
|
-
}, null), (0,external_vue_namespaceObject.createVNode)("span", null, [_this.curContentText])]), (0,external_vue_namespaceObject.createVNode)("div", {
|
|
4942
|
+
}, null), (0,external_vue_namespaceObject.createVNode)("span", null, [_this.curContentText])]), (0,external_vue_namespaceObject.withDirectives)((0,external_vue_namespaceObject.createVNode)("div", {
|
|
4994
4943
|
"class": _this.resolveClassName('select-content')
|
|
4995
4944
|
}, [(0,external_vue_namespaceObject.createVNode)("div", {
|
|
4996
4945
|
"ref": "scrollContainerRef",
|
|
@@ -5012,7 +4961,7 @@ function select_objectSpread(e) { for (var r = 1; r < arguments.length; r++) { v
|
|
|
5012
4961
|
"theme": "primary"
|
|
5013
4962
|
}, null), (0,external_vue_namespaceObject.createVNode)("span", null, [_this.localLoadingText])])])]), ((_this$$slots18 = _this.$slots) === null || _this$$slots18 === void 0 ? void 0 : _this$$slots18.extension) && (0,external_vue_namespaceObject.createVNode)("div", {
|
|
5014
4963
|
"class": _this.resolveClassName('select-extension')
|
|
5015
|
-
}, [(_this$$slots19 = _this.$slots) === null || _this$$slots19 === void 0 ? void 0 : _this$$slots19.extension()])])]);
|
|
4964
|
+
}, [(_this$$slots19 = _this.$slots) === null || _this$$slots19 === void 0 ? void 0 : _this$$slots19.extension()])]), [[external_vue_namespaceObject.vShow, _this.isShowSelectContent]])]);
|
|
5016
4965
|
};
|
|
5017
4966
|
return (0,external_vue_namespaceObject.createVNode)("div", {
|
|
5018
4967
|
"class": selectClass
|
|
@@ -5030,12 +4979,12 @@ function select_objectSpread(e) { for (var r = 1; r < arguments.length; r++) { v
|
|
|
5030
4979
|
})]);
|
|
5031
4980
|
}
|
|
5032
4981
|
}));
|
|
5033
|
-
;// ../../packages/select/src/index.ts
|
|
4982
|
+
;// CONCATENATED MODULE: ../../packages/select/src/index.ts
|
|
5034
4983
|
/*
|
|
5035
4984
|
* Tencent is pleased to support the open source community by making
|
|
5036
4985
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
|
5037
4986
|
*
|
|
5038
|
-
* Copyright (C)
|
|
4987
|
+
* Copyright (C) 2025 Tencent. All rights reserved.
|
|
5039
4988
|
*
|
|
5040
4989
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
|
|
5041
4990
|
*
|
|
@@ -5067,6 +5016,8 @@ var BkSelect = (0,shared_namespaceObject.withInstallProps)(src_select, {
|
|
|
5067
5016
|
});
|
|
5068
5017
|
/* harmony default export */ const src = (BkSelect);
|
|
5069
5018
|
|
|
5019
|
+
})();
|
|
5020
|
+
|
|
5070
5021
|
var __webpack_exports__BkOption = __webpack_exports__.BkOption;
|
|
5071
5022
|
var __webpack_exports__BkOptionGroup = __webpack_exports__.BkOptionGroup;
|
|
5072
5023
|
var __webpack_exports__BkSelect = __webpack_exports__.BkSelect;
|