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