bkui-vue 0.0.3-beta.6 → 1.0.1
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/README.md +1 -0
- package/dist/index.cjs.js +47 -47
- package/dist/index.esm.js +10444 -10431
- package/dist/index.umd.js +47 -47
- package/dist/style.css +1 -1
- package/dist/style.variable.css +1 -1
- package/lib/affix/index.d.ts +57 -111
- package/lib/affix/index.js +35 -34
- package/lib/alert/alert.d.ts +1 -1
- package/lib/alert/index.d.ts +82 -132
- package/lib/alert/index.js +43 -42
- package/lib/animate-number/index.d.ts +33 -96
- package/lib/animate-number/index.js +7 -7
- package/lib/backtop/index.d.ts +69 -117
- package/lib/backtop/index.js +23 -22
- package/lib/badge/badge.d.ts +1 -1
- package/lib/badge/index.d.ts +120 -153
- package/lib/badge/index.js +40 -39
- package/lib/breadcrumb/index.d.ts +67 -119
- package/lib/breadcrumb/index.js +48 -47
- package/lib/button/button.d.ts +2 -2
- package/lib/button/index.d.ts +119 -155
- package/lib/button/index.js +60 -53
- package/lib/card/card.d.ts +1 -1
- package/lib/card/index.d.ts +129 -158
- package/lib/card/index.js +62 -57
- package/lib/cascader/cascader.d.ts +3 -3
- package/lib/cascader/index.d.ts +393 -354
- package/lib/cascader/index.js +338 -320
- package/lib/checkbox/checkbox.d.ts +1 -1
- package/lib/checkbox/index.d.ts +119 -161
- package/lib/checkbox/index.js +77 -78
- package/lib/code-diff/code-diff.css +0 -1
- package/lib/code-diff/code-diff.d.ts +1 -0
- package/lib/code-diff/code-diff.less +1 -1
- package/lib/code-diff/code-diff.variable.css +0 -1
- package/lib/code-diff/index.d.ts +65 -82
- package/lib/code-diff/index.js +532 -452
- package/lib/collapse/index.d.ts +144 -168
- package/lib/collapse/index.js +67 -66
- package/lib/collapse-transition/index.d.ts +19 -94
- package/lib/collapse-transition/index.js +10 -10
- package/lib/color-picker/color-picker.d.ts +1 -1
- package/lib/color-picker/index.d.ts +128 -154
- package/lib/color-picker/index.js +74 -76
- package/lib/components.js +63 -504
- package/lib/config-provider/index.d.ts +159 -226
- package/lib/config-provider/index.js +49 -45
- package/lib/config-provider/use-global-config.d.ts +2 -2
- package/lib/container/container.d.ts +1 -1
- package/lib/container/index.d.ts +74 -85
- package/lib/container/index.js +47 -46
- package/lib/date-picker/base/picker-dropdown.d.ts +1 -1
- package/lib/date-picker/base/time-spinner.d.ts +3 -3
- package/lib/date-picker/date-picker.d.ts +3 -3
- package/lib/date-picker/index.d.ts +384 -351
- package/lib/date-picker/index.js +164 -170
- package/lib/date-picker/panel/date-range.d.ts +1 -1
- package/lib/date-picker/panel/date.d.ts +1 -1
- package/lib/date-picker/panel/time-range.d.ts +2 -2
- package/lib/date-picker/panel/time.d.ts +1 -1
- package/lib/date-picker/time-picker.d.ts +3 -3
- package/lib/dialog/index.d.ts +355 -309
- package/lib/dialog/index.js +291 -279
- package/lib/directives/index.js +51 -51
- package/lib/dist.index.js +5 -61
- package/lib/divider/index.d.ts +57 -111
- package/lib/divider/index.js +16 -15
- package/lib/dropdown/dropdown.d.ts +1 -1
- package/lib/dropdown/index.d.ts +94 -136
- package/lib/dropdown/index.js +56 -49
- package/lib/exception/index.d.ts +41 -102
- package/lib/exception/index.js +37 -37
- package/lib/fixed-navbar/index.d.ts +59 -113
- package/lib/fixed-navbar/index.js +16 -15
- package/lib/form/form.d.ts +1 -1
- package/lib/form/index.d.ts +80 -132
- package/lib/form/index.js +83 -83
- package/lib/hooks.js +8 -48
- package/lib/icon/angle-double-down-line.js +23 -23
- package/lib/icon/angle-double-left-line.js +23 -23
- package/lib/icon/angle-double-left.js +23 -23
- package/lib/icon/angle-double-right-line.js +23 -23
- package/lib/icon/angle-double-right.js +23 -23
- package/lib/icon/angle-double-up-line.js +23 -23
- package/lib/icon/angle-down-fill.js +23 -23
- package/lib/icon/angle-down-line.js +23 -23
- package/lib/icon/angle-down.js +23 -23
- package/lib/icon/angle-left.js +23 -23
- package/lib/icon/angle-right.js +23 -23
- package/lib/icon/angle-up-fill.js +23 -23
- package/lib/icon/angle-up.js +23 -23
- package/lib/icon/archive-fill.js +23 -23
- package/lib/icon/arrows-left.js +23 -23
- package/lib/icon/arrows-right.js +23 -23
- package/lib/icon/assistant.js +23 -23
- package/lib/icon/audio-fill.js +23 -23
- package/lib/icon/bk.js +23 -23
- package/lib/icon/circle.js +23 -23
- package/lib/icon/close-line.js +23 -23
- package/lib/icon/close.js +23 -23
- package/lib/icon/code.js +23 -23
- package/lib/icon/cog-shape.js +23 -23
- package/lib/icon/collapse-left.js +23 -23
- package/lib/icon/copy-shape.js +23 -23
- package/lib/icon/copy.js +23 -23
- package/lib/icon/data-shape.js +23 -23
- package/lib/icon/del.js +23 -23
- package/lib/icon/doc-fill.js +23 -23
- package/lib/icon/done.js +23 -23
- package/lib/icon/down-shape.js +23 -23
- package/lib/icon/down-small.js +23 -23
- package/lib/icon/edit-line.js +23 -23
- package/lib/icon/ellipsis.js +23 -23
- package/lib/icon/enlarge-line.js +23 -23
- package/lib/icon/error.js +23 -23
- package/lib/icon/excel-fill.js +23 -23
- package/lib/icon/exclamation-circle-shape.js +23 -23
- package/lib/icon/eye.js +23 -23
- package/lib/icon/filliscreen-line.js +23 -23
- package/lib/icon/fix-line.js +23 -23
- package/lib/icon/fix-shape.js +23 -23
- package/lib/icon/folder-open.js +23 -23
- package/lib/icon/folder-shape-open.js +23 -23
- package/lib/icon/folder-shape.js +23 -23
- package/lib/icon/folder.js +23 -23
- package/lib/icon/funnel.js +23 -23
- package/lib/icon/grag-fill.js +23 -23
- package/lib/icon/help-document-fill.js +23 -23
- package/lib/icon/help-fill.js +23 -23
- package/lib/icon/help.js +23 -23
- package/lib/icon/image-fill.js +29 -29
- package/lib/icon/img-error.js +29 -29
- package/lib/icon/img-placehoulder.js +29 -29
- package/lib/icon/index.js +485 -485
- package/lib/icon/info-line.js +29 -29
- package/lib/icon/info.js +29 -29
- package/lib/icon/left-shape.js +29 -29
- package/lib/icon/left-turn-line.js +29 -29
- package/lib/icon/loading.js +29 -29
- package/lib/icon/narrow-line.js +29 -29
- package/lib/icon/original.js +29 -29
- package/lib/icon/pdf-fill.js +29 -29
- package/lib/icon/play-shape.js +29 -29
- package/lib/icon/plus.js +29 -29
- package/lib/icon/ppt-fill.js +29 -29
- package/lib/icon/qq.js +29 -29
- package/lib/icon/right-shape.js +29 -29
- package/lib/icon/right-turn-line.js +29 -29
- package/lib/icon/search.js +29 -29
- package/lib/icon/share.js +29 -29
- package/lib/icon/spinner.js +29 -29
- package/lib/icon/success.js +29 -29
- package/lib/icon/switcher-loading.js +29 -29
- package/lib/icon/text-file.js +29 -29
- package/lib/icon/text-fill.js +29 -29
- package/lib/icon/transfer.js +29 -29
- package/lib/icon/tree-application-shape.js +29 -29
- package/lib/icon/unfull-screen.js +29 -29
- package/lib/icon/unvisible.js +29 -29
- package/lib/icon/up-shape.js +29 -29
- package/lib/icon/upload.js +29 -29
- package/lib/icon/video-fill.js +29 -29
- package/lib/icon/warn.js +29 -29
- package/lib/icon/weixin-pro.js +29 -29
- package/lib/icon/weixin.js +29 -29
- package/lib/image/index.d.ts +113 -149
- package/lib/image/index.js +62 -62
- package/lib/index.js +8 -72
- package/lib/info-box/index.js +296 -284
- package/lib/input/index.d.ts +326 -293
- package/lib/input/index.js +316 -317
- package/lib/link/index.d.ts +73 -122
- package/lib/link/index.js +16 -15
- package/lib/loading/index.d.ts +130 -156
- package/lib/loading/index.js +49 -50
- package/lib/loading/loading.d.ts +1 -1
- package/lib/locale/index.js +2 -4
- package/lib/menu/index.d.ts +51 -112
- package/lib/menu/index.js +49 -48
- package/lib/message/index.js +69 -70
- package/lib/message/messageConstructor.d.ts +5 -5
- package/lib/modal/index.d.ts +261 -249
- package/lib/modal/index.js +535 -75
- package/lib/navigation/index.d.ts +152 -188
- package/lib/navigation/index.js +17 -16
- package/lib/notify/index.js +56 -57
- package/lib/notify/notifyConstructor.d.ts +1 -1
- package/lib/overflow-title/index.d.ts +314 -242
- package/lib/overflow-title/index.js +32 -25
- package/lib/pagination/index.d.ts +194 -205
- package/lib/pagination/index.js +116 -109
- package/lib/plugin-popover/index.js +247 -153
- package/lib/plugins/index.js +2 -2
- package/lib/pop-confirm/index.d.ts +126 -159
- package/lib/pop-confirm/index.js +43 -31
- package/lib/pop-confirm/pop-confirm.d.ts +1 -1
- package/lib/popover/content.d.ts +1 -1
- package/lib/popover/index.d.ts +374 -330
- package/lib/popover/index.js +251 -156
- package/lib/popover2/index.d.ts +8 -83
- package/lib/popover2/index.js +5 -5
- package/lib/preset.d.ts +2 -287
- package/lib/preset.js +16 -58
- package/lib/process/index.d.ts +93 -137
- package/lib/process/index.js +253 -254
- package/lib/progress/index.d.ts +178 -187
- package/lib/progress/index.js +48 -47
- package/lib/progress/progress.d.ts +2 -2
- package/lib/radio/index.d.ts +83 -135
- package/lib/radio/index.js +80 -81
- package/lib/rate/index.d.ts +55 -112
- package/lib/rate/index.js +43 -43
- package/lib/resize-layout/index.d.ts +156 -185
- package/lib/resize-layout/index.js +48 -48
- package/lib/resize-layout/resize-layout.d.ts +2 -2
- package/lib/search-select/index.d.ts +292 -327
- package/lib/search-select/index.js +310 -293
- package/lib/search-select/input.d.ts +2 -2
- package/lib/search-select/search-select.d.ts +3 -3
- package/lib/search-select/selected.d.ts +2 -2
- package/lib/select/index.d.ts +1234 -1135
- package/lib/select/index.js +427 -392
- package/lib/select/select.d.ts +121 -161
- package/lib/select/selectTagInput.d.ts +2 -2
- package/lib/shared/helper.d.ts +4 -0
- package/lib/shared/index.js +235 -217
- package/lib/sideslider/index.d.ts +247 -233
- package/lib/sideslider/index.js +264 -263
- package/lib/slider/index.d.ts +204 -204
- package/lib/slider/index.js +245 -233
- package/lib/steps/index.d.ts +114 -150
- package/lib/steps/index.js +257 -257
- package/lib/styles/index.d.ts +0 -1
- package/lib/swiper/index.d.ts +81 -127
- package/lib/swiper/index.js +35 -34
- package/lib/switcher/index.d.ts +152 -174
- package/lib/switcher/index.js +52 -53
- package/lib/tab/index.d.ts +199 -211
- package/lib/tab/index.js +78 -79
- package/lib/table/components/table-column.d.ts +2 -2
- package/lib/table/index.d.ts +605 -593
- package/lib/table/index.js +275 -237
- package/lib/table/plugins/use-pagination.d.ts +1 -1
- package/lib/table/table.d.ts +1 -1
- package/lib/table/use-common.d.ts +67 -34
- package/lib/table-column/index.d.ts +207 -243
- package/lib/table-column/index.js +61 -62
- package/lib/tag/index.d.ts +95 -142
- package/lib/tag/index.js +41 -40
- package/lib/tag-input/index.d.ts +690 -498
- package/lib/tag-input/index.js +135 -129
- package/lib/tag-input/tag-input.d.ts +5 -5
- package/lib/time-picker/index.d.ts +442 -385
- package/lib/time-picker/index.js +10 -9
- package/lib/timeline/index.d.ts +50 -109
- package/lib/timeline/index.js +20 -20
- package/lib/transfer/index.d.ts +191 -206
- package/lib/transfer/index.js +52 -38
- package/lib/tree/index.d.ts +322 -288
- package/lib/tree/index.js +129 -113
- package/lib/tree/tree.d.ts +1 -1
- package/lib/tree/use-tree-init.d.ts +1 -1
- package/lib/upload/index.d.ts +281 -254
- package/lib/upload/index.js +313 -302
- package/lib/upload/upload.d.ts +2 -2
- package/lib/virtual-render/index.d.ts +337 -242
- package/lib/virtual-render/index.js +66 -65
- package/lib/virtual-render/virtual-render.d.ts +1 -1
- package/package.json +10 -14
- package/lib/version-log/index.d.ts +0 -298
- package/lib/version-log/index.js +0 -9045
- package/lib/version-log/version-log.css +0 -224
- package/lib/version-log/version-log.d.ts +0 -203
- package/lib/version-log/version-log.less +0 -239
- package/lib/version-log/version-log.variable.css +0 -350
package/lib/tag-input/index.js
CHANGED
@@ -1,11 +1,14 @@
|
|
1
|
-
import
|
1
|
+
import "./tag-input.less";
|
2
|
+
import * as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__ from "../shared";
|
2
3
|
import * as __WEBPACK_EXTERNAL_MODULE_vue__ from "vue";
|
3
4
|
import * as __WEBPACK_EXTERNAL_MODULE_lodash_debounce_3540babe__ from "lodash/debounce";
|
4
|
-
import * as
|
5
|
-
import * as
|
6
|
-
import * as
|
7
|
-
import * as
|
8
|
-
import
|
5
|
+
import * as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_config_provider_fe8577a3__ from "../config-provider";
|
6
|
+
import * as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_directives_45d4776f__ from "../directives";
|
7
|
+
import * as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_icon_a97c79c3__ from "../icon";
|
8
|
+
import * as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_loading_dcf0e69a__ from "../loading";
|
9
|
+
import "../loading/loading.less";
|
10
|
+
import * as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_popover_9b03f19d__ from "../popover";
|
11
|
+
import "../popover/popover.less";
|
9
12
|
import * as __WEBPACK_EXTERNAL_MODULE_vue_types_22de060a__ from "vue-types";
|
10
13
|
/******/ var __webpack_modules__ = ({
|
11
14
|
|
@@ -17305,53 +17308,53 @@ var __webpack_exports__ = {};
|
|
17305
17308
|
|
17306
17309
|
// EXPORTS
|
17307
17310
|
__webpack_require__.d(__webpack_exports__, {
|
17308
|
-
|
17311
|
+
"default": () => (/* binding */ src)
|
17309
17312
|
});
|
17310
17313
|
|
17311
17314
|
;// CONCATENATED MODULE: external "../shared"
|
17312
17315
|
var x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
17313
17316
|
var y = x => () => x
|
17314
|
-
const
|
17317
|
+
const shared_namespaceObject = x({ ["PropTypes"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.PropTypes, ["checkOverflow"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.checkOverflow, ["useFormItem"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.useFormItem, ["withInstall"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.withInstall });
|
17315
17318
|
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/typeof.js
|
17316
|
-
function _typeof(
|
17319
|
+
function _typeof(o) {
|
17317
17320
|
"@babel/helpers - typeof";
|
17318
17321
|
|
17319
|
-
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (
|
17320
|
-
return typeof
|
17321
|
-
} : function (
|
17322
|
-
return
|
17323
|
-
}, _typeof(
|
17322
|
+
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) {
|
17323
|
+
return typeof o;
|
17324
|
+
} : function (o) {
|
17325
|
+
return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
|
17326
|
+
}, _typeof(o);
|
17324
17327
|
}
|
17325
17328
|
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js
|
17326
17329
|
function _arrayWithHoles(arr) {
|
17327
17330
|
if (Array.isArray(arr)) return arr;
|
17328
17331
|
}
|
17329
17332
|
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js
|
17330
|
-
function _iterableToArrayLimit(
|
17331
|
-
var
|
17332
|
-
if (null !=
|
17333
|
-
var
|
17334
|
-
|
17335
|
-
|
17336
|
-
|
17337
|
-
|
17338
|
-
|
17339
|
-
|
17333
|
+
function _iterableToArrayLimit(r, l) {
|
17334
|
+
var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"];
|
17335
|
+
if (null != t) {
|
17336
|
+
var e,
|
17337
|
+
n,
|
17338
|
+
i,
|
17339
|
+
u,
|
17340
|
+
a = [],
|
17341
|
+
f = !0,
|
17342
|
+
o = !1;
|
17340
17343
|
try {
|
17341
|
-
if (
|
17342
|
-
if (Object(
|
17343
|
-
|
17344
|
-
} else for (; !(
|
17345
|
-
} catch (
|
17346
|
-
|
17344
|
+
if (i = (t = t.call(r)).next, 0 === l) {
|
17345
|
+
if (Object(t) !== t) return;
|
17346
|
+
f = !1;
|
17347
|
+
} else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0);
|
17348
|
+
} catch (r) {
|
17349
|
+
o = !0, n = r;
|
17347
17350
|
} finally {
|
17348
17351
|
try {
|
17349
|
-
if (!
|
17352
|
+
if (!f && null != t["return"] && (u = t["return"](), Object(u) !== u)) return;
|
17350
17353
|
} finally {
|
17351
|
-
if (
|
17354
|
+
if (o) throw n;
|
17352
17355
|
}
|
17353
17356
|
}
|
17354
|
-
return
|
17357
|
+
return a;
|
17355
17358
|
}
|
17356
17359
|
}
|
17357
17360
|
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js
|
@@ -17405,27 +17408,27 @@ function _toConsumableArray(arr) {
|
|
17405
17408
|
}
|
17406
17409
|
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/toPrimitive.js
|
17407
17410
|
|
17408
|
-
function
|
17409
|
-
if (
|
17410
|
-
var
|
17411
|
-
if (
|
17412
|
-
var
|
17413
|
-
if (
|
17411
|
+
function toPrimitive(t, r) {
|
17412
|
+
if ("object" != _typeof(t) || !t) return t;
|
17413
|
+
var e = t[Symbol.toPrimitive];
|
17414
|
+
if (void 0 !== e) {
|
17415
|
+
var i = e.call(t, r || "default");
|
17416
|
+
if ("object" != _typeof(i)) return i;
|
17414
17417
|
throw new TypeError("@@toPrimitive must return a primitive value.");
|
17415
17418
|
}
|
17416
|
-
return (
|
17419
|
+
return ("string" === r ? String : Number)(t);
|
17417
17420
|
}
|
17418
17421
|
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/toPropertyKey.js
|
17419
17422
|
|
17420
17423
|
|
17421
|
-
function
|
17422
|
-
var
|
17423
|
-
return _typeof(
|
17424
|
+
function toPropertyKey(t) {
|
17425
|
+
var i = toPrimitive(t, "string");
|
17426
|
+
return "symbol" == _typeof(i) ? i : String(i);
|
17424
17427
|
}
|
17425
17428
|
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
17426
17429
|
|
17427
17430
|
function _defineProperty(obj, key, value) {
|
17428
|
-
key =
|
17431
|
+
key = toPropertyKey(key);
|
17429
17432
|
if (key in obj) {
|
17430
17433
|
Object.defineProperty(obj, key, {
|
17431
17434
|
value: value,
|
@@ -17447,30 +17450,38 @@ var debounce_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
|
17447
17450
|
var debounce_y = x => () => x
|
17448
17451
|
const debounce_namespaceObject = debounce_x({ ["default"]: () => __WEBPACK_EXTERNAL_MODULE_lodash_debounce_3540babe__["default"] });
|
17449
17452
|
;// CONCATENATED MODULE: external "../config-provider"
|
17450
|
-
var
|
17451
|
-
var
|
17452
|
-
const
|
17453
|
+
var config_provider_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
17454
|
+
var config_provider_y = x => () => x
|
17455
|
+
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 });
|
17453
17456
|
;// CONCATENATED MODULE: external "../directives"
|
17454
|
-
var
|
17455
|
-
var
|
17456
|
-
const
|
17457
|
+
var directives_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
17458
|
+
var directives_y = x => () => x
|
17459
|
+
const directives_namespaceObject = directives_x({ ["bkTooltips"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_directives_45d4776f__.bkTooltips });
|
17457
17460
|
;// CONCATENATED MODULE: external "../icon"
|
17458
|
-
var
|
17459
|
-
var
|
17460
|
-
const
|
17461
|
+
var icon_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
17462
|
+
var icon_y = x => () => x
|
17463
|
+
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 });
|
17461
17464
|
;// CONCATENATED MODULE: external "../loading"
|
17462
|
-
var
|
17463
|
-
var
|
17464
|
-
const
|
17465
|
+
var loading_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
17466
|
+
var loading_y = x => () => x
|
17467
|
+
const loading_namespaceObject = loading_x({ ["BkLoadingSize"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_loading_dcf0e69a__.BkLoadingSize, ["default"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_loading_dcf0e69a__["default"] });
|
17468
|
+
;// CONCATENATED MODULE: external "../loading/loading.less"
|
17469
|
+
var loading_less_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
17470
|
+
var loading_less_y = x => () => x
|
17471
|
+
const loading_less_namespaceObject = loading_less_x({ });
|
17465
17472
|
;// CONCATENATED MODULE: external "../popover"
|
17466
|
-
var
|
17467
|
-
var
|
17468
|
-
const
|
17473
|
+
var popover_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
17474
|
+
var popover_y = x => () => x
|
17475
|
+
const popover_namespaceObject = popover_x({ ["default"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_popover_9b03f19d__["default"] });
|
17476
|
+
;// CONCATENATED MODULE: external "../popover/popover.less"
|
17477
|
+
var popover_less_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
17478
|
+
var popover_less_y = x => () => x
|
17479
|
+
const popover_less_namespaceObject = popover_less_x({ });
|
17469
17480
|
;// CONCATENATED MODULE: ../../packages/tag-input/src/common.ts
|
17470
17481
|
|
17471
17482
|
|
17472
|
-
function ownKeys(
|
17473
|
-
function _objectSpread(
|
17483
|
+
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
17484
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
17474
17485
|
/*
|
17475
17486
|
* Tencent is pleased to support the open source community by making
|
17476
17487
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
@@ -17680,18 +17691,18 @@ var useTagsOverflow = function useTagsOverflow(tagInputRef, collapseTags, select
|
|
17680
17691
|
/* harmony default export */ const list_tag_render = ((0,external_vue_namespaceObject.defineComponent)({
|
17681
17692
|
name: 'ListTagRender',
|
17682
17693
|
props: {
|
17683
|
-
node:
|
17684
|
-
searchKey:
|
17685
|
-
displayKey:
|
17686
|
-
searchKeyword:
|
17694
|
+
node: shared_namespaceObject.PropTypes.object,
|
17695
|
+
searchKey: shared_namespaceObject.PropTypes.oneOfType([shared_namespaceObject.PropTypes.string, shared_namespaceObject.PropTypes.arrayOf(shared_namespaceObject.PropTypes.string)]),
|
17696
|
+
displayKey: shared_namespaceObject.PropTypes.string,
|
17697
|
+
searchKeyword: shared_namespaceObject.PropTypes.string,
|
17687
17698
|
tpl: {
|
17688
17699
|
type: Function
|
17689
17700
|
},
|
17690
|
-
disabled:
|
17701
|
+
disabled: shared_namespaceObject.PropTypes.bool.def(false)
|
17691
17702
|
},
|
17692
17703
|
render: function render() {
|
17693
17704
|
var _this = this;
|
17694
|
-
var _usePrefix = (0,
|
17705
|
+
var _usePrefix = (0,config_provider_namespaceObject.usePrefix)(),
|
17695
17706
|
resolveClassName = _usePrefix.resolveClassName;
|
17696
17707
|
var highlightKeyword = function highlightKeyword(value) {
|
17697
17708
|
if (_this.searchKeyword && !_this.disabled) {
|
@@ -17751,29 +17762,29 @@ var TagInputTriggerEnum;
|
|
17751
17762
|
})(TagInputTriggerEnum || (TagInputTriggerEnum = {}));
|
17752
17763
|
var tagProps = function tagProps() {
|
17753
17764
|
return {
|
17754
|
-
modelValue:
|
17755
|
-
placeholder:
|
17756
|
-
list:
|
17757
|
-
disabled:
|
17758
|
-
tooltipKey:
|
17759
|
-
saveKey:
|
17760
|
-
displayKey:
|
17761
|
-
hasDeleteIcon:
|
17762
|
-
clearable:
|
17765
|
+
modelValue: shared_namespaceObject.PropTypes.arrayOf(shared_namespaceObject.PropTypes.string).def([]),
|
17766
|
+
placeholder: shared_namespaceObject.PropTypes.string.def(''),
|
17767
|
+
list: shared_namespaceObject.PropTypes.arrayOf(shared_namespaceObject.PropTypes.object).def([]),
|
17768
|
+
disabled: shared_namespaceObject.PropTypes.bool.def(false),
|
17769
|
+
tooltipKey: shared_namespaceObject.PropTypes.string.def(''),
|
17770
|
+
saveKey: shared_namespaceObject.PropTypes.string.def('id'),
|
17771
|
+
displayKey: shared_namespaceObject.PropTypes.string.def('name'),
|
17772
|
+
hasDeleteIcon: shared_namespaceObject.PropTypes.bool.def(false),
|
17773
|
+
clearable: shared_namespaceObject.PropTypes.bool.def(true),
|
17763
17774
|
trigger: (0,external_vue_types_namespaceObject.toType)('treeTriggerType', {}).def(TagInputTriggerEnum.SEARCH),
|
17764
|
-
searchKey:
|
17765
|
-
useGroup:
|
17766
|
-
allowCreate:
|
17767
|
-
maxData:
|
17768
|
-
maxResult:
|
17769
|
-
contentMaxHeight:
|
17770
|
-
contentWidth:
|
17771
|
-
separator:
|
17772
|
-
allowNextFocus:
|
17773
|
-
allowAutoMatch:
|
17774
|
-
showClearOnlyHover:
|
17775
|
-
isAsyncList:
|
17776
|
-
leftSpace:
|
17775
|
+
searchKey: shared_namespaceObject.PropTypes.oneOfType([shared_namespaceObject.PropTypes.string, shared_namespaceObject.PropTypes.arrayOf(shared_namespaceObject.PropTypes.string)]).def('name'),
|
17776
|
+
useGroup: shared_namespaceObject.PropTypes.bool.def(false),
|
17777
|
+
allowCreate: shared_namespaceObject.PropTypes.bool.def(false),
|
17778
|
+
maxData: shared_namespaceObject.PropTypes.number.def(-1),
|
17779
|
+
maxResult: shared_namespaceObject.PropTypes.number.def(10),
|
17780
|
+
contentMaxHeight: shared_namespaceObject.PropTypes.number.def(300),
|
17781
|
+
contentWidth: shared_namespaceObject.PropTypes.number.def(190),
|
17782
|
+
separator: shared_namespaceObject.PropTypes.string.def(''),
|
17783
|
+
allowNextFocus: shared_namespaceObject.PropTypes.bool.def(true),
|
17784
|
+
allowAutoMatch: shared_namespaceObject.PropTypes.bool.def(false),
|
17785
|
+
showClearOnlyHover: shared_namespaceObject.PropTypes.bool.def(false),
|
17786
|
+
isAsyncList: shared_namespaceObject.PropTypes.bool.def(false),
|
17787
|
+
leftSpace: shared_namespaceObject.PropTypes.number.def(0),
|
17777
17788
|
createTagValidator: {
|
17778
17789
|
type: Function
|
17779
17790
|
},
|
@@ -17818,8 +17829,8 @@ var lodash_default = /*#__PURE__*/__webpack_require__.n(lodash);
|
|
17818
17829
|
;// CONCATENATED MODULE: ../../packages/tag-input/src/tag-render.tsx
|
17819
17830
|
|
17820
17831
|
|
17821
|
-
function tag_render_ownKeys(
|
17822
|
-
function tag_render_objectSpread(
|
17832
|
+
function tag_render_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; }
|
17833
|
+
function tag_render_objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? tag_render_ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : tag_render_ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
17823
17834
|
/*
|
17824
17835
|
* Tencent is pleased to support the open source community by making
|
17825
17836
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
@@ -17852,12 +17863,12 @@ function tag_render_objectSpread(target) { for (var i = 1; i < arguments.length;
|
|
17852
17863
|
/* harmony default export */ const tag_render = ((0,external_vue_namespaceObject.defineComponent)({
|
17853
17864
|
name: 'TagRender',
|
17854
17865
|
directives: {
|
17855
|
-
bkTooltips:
|
17866
|
+
bkTooltips: directives_namespaceObject.bkTooltips
|
17856
17867
|
},
|
17857
17868
|
props: {
|
17858
|
-
node:
|
17859
|
-
displayKey:
|
17860
|
-
tooltipKey:
|
17869
|
+
node: shared_namespaceObject.PropTypes.object,
|
17870
|
+
displayKey: shared_namespaceObject.PropTypes.string,
|
17871
|
+
tooltipKey: shared_namespaceObject.PropTypes.string,
|
17861
17872
|
tpl: {
|
17862
17873
|
type: Function
|
17863
17874
|
},
|
@@ -17885,7 +17896,7 @@ function tag_render_objectSpread(target) { for (var i = 1; i < arguments.length;
|
|
17885
17896
|
}, props.tagOverflowTips);
|
17886
17897
|
});
|
17887
17898
|
(0,external_vue_namespaceObject.onMounted)(function () {
|
17888
|
-
isOverflow.value = (0,
|
17899
|
+
isOverflow.value = (0,shared_namespaceObject.checkOverflow)(tagRef.value);
|
17889
17900
|
});
|
17890
17901
|
return {
|
17891
17902
|
overflowTips: overflowTips,
|
@@ -17910,8 +17921,8 @@ function tag_render_objectSpread(target) { for (var i = 1; i < arguments.length;
|
|
17910
17921
|
|
17911
17922
|
|
17912
17923
|
|
17913
|
-
function tag_input_ownKeys(
|
17914
|
-
function tag_input_objectSpread(
|
17924
|
+
function tag_input_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; }
|
17925
|
+
function tag_input_objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? tag_input_ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : tag_input_ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
17915
17926
|
/*
|
17916
17927
|
* Tencent is pleased to support the open source community by making
|
17917
17928
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
@@ -17949,17 +17960,20 @@ function tag_input_objectSpread(target) { for (var i = 1; i < arguments.length;
|
|
17949
17960
|
|
17950
17961
|
|
17951
17962
|
|
17963
|
+
|
17964
|
+
|
17965
|
+
|
17952
17966
|
/* harmony default export */ const tag_input = ((0,external_vue_namespaceObject.defineComponent)({
|
17953
17967
|
name: 'TagInput',
|
17954
17968
|
directives: {
|
17955
|
-
bkTooltips:
|
17969
|
+
bkTooltips: directives_namespaceObject.bkTooltips
|
17956
17970
|
},
|
17957
17971
|
props: tag_props(),
|
17958
17972
|
emits: ['update:modelValue', 'change', 'select', 'focus', 'blur', 'remove', 'removeAll', 'input'],
|
17959
17973
|
setup: function setup(props, _ref) {
|
17960
17974
|
var emit = _ref.emit;
|
17961
|
-
var formItem = (0,
|
17962
|
-
var t = (0,
|
17975
|
+
var formItem = (0,shared_namespaceObject.useFormItem)();
|
17976
|
+
var t = (0,config_provider_namespaceObject.useLocale)('tagInput');
|
17963
17977
|
var state = (0,external_vue_namespaceObject.reactive)({
|
17964
17978
|
isEdit: false,
|
17965
17979
|
isHover: false,
|
@@ -17974,7 +17988,7 @@ function tag_input_objectSpread(target) { for (var i = 1; i < arguments.length;
|
|
17974
17988
|
// alignmentAxis: 50,
|
17975
17989
|
}
|
17976
17990
|
}, props.popoverProps));
|
17977
|
-
var _usePrefix = (0,
|
17991
|
+
var _usePrefix = (0,config_provider_namespaceObject.usePrefix)(),
|
17978
17992
|
resolveClassName = _usePrefix.resolveClassName;
|
17979
17993
|
// 分页处理
|
17980
17994
|
var _toRefs = (0,external_vue_namespaceObject.toRefs)(props),
|
@@ -18017,8 +18031,7 @@ function tag_input_objectSpread(target) { for (var i = 1; i < arguments.length;
|
|
18017
18031
|
return props.clearable && !props.disabled && listState.selectedTagList.length !== 0 && (props.showClearOnlyHover ? state.isHover : true);
|
18018
18032
|
});
|
18019
18033
|
var triggerClass = (0,external_vue_namespaceObject.computed)(function () {
|
18020
|
-
|
18021
|
-
return _ref2 = {}, _defineProperty(_ref2, "".concat(resolveClassName('tag-input-trigger')), true), _defineProperty(_ref2, "active", state.isEdit), _defineProperty(_ref2, "disabled", props.disabled), _ref2;
|
18034
|
+
return _defineProperty(_defineProperty(_defineProperty({}, "".concat(resolveClassName('tag-input-trigger')), true), "active", state.isEdit), "disabled", props.disabled);
|
18022
18035
|
});
|
18023
18036
|
var listState = (0,external_vue_namespaceObject.reactive)({
|
18024
18037
|
localList: [],
|
@@ -18075,7 +18088,7 @@ function tag_input_objectSpread(target) { for (var i = 1; i < arguments.length;
|
|
18075
18088
|
});
|
18076
18089
|
if (props.withValidate) {
|
18077
18090
|
var _formItem$validate;
|
18078
|
-
formItem === null || formItem === void 0 || (_formItem$validate = formItem.validate) === null || _formItem$validate === void 0
|
18091
|
+
formItem === null || formItem === void 0 || (_formItem$validate = formItem.validate) === null || _formItem$validate === void 0 || _formItem$validate.call(formItem, 'change');
|
18079
18092
|
}
|
18080
18093
|
}
|
18081
18094
|
});
|
@@ -18165,7 +18178,7 @@ function tag_input_objectSpread(target) { for (var i = 1; i < arguments.length;
|
|
18165
18178
|
state.isEdit = true;
|
18166
18179
|
setTimeout(function () {
|
18167
18180
|
var _tagInputRef$value;
|
18168
|
-
(_tagInputRef$value = tagInputRef.value) === null || _tagInputRef$value === void 0
|
18181
|
+
(_tagInputRef$value = tagInputRef.value) === null || _tagInputRef$value === void 0 || _tagInputRef$value.focus();
|
18169
18182
|
if (props.trigger === 'focus' && listState.localList.length !== 0) {
|
18170
18183
|
filterData();
|
18171
18184
|
if (popoverProps.isShow) {
|
@@ -18194,8 +18207,7 @@ function tag_input_objectSpread(target) { for (var i = 1; i < arguments.length;
|
|
18194
18207
|
var item = saveKeyMap.value[tag];
|
18195
18208
|
modelValueMap[tag] = 1;
|
18196
18209
|
if (!item && allowCreate) {
|
18197
|
-
|
18198
|
-
return _ref3 = {}, _defineProperty(_ref3, saveKey, tag), _defineProperty(_ref3, displayKey, tag), _ref3;
|
18210
|
+
return _defineProperty(_defineProperty({}, saveKey, tag), displayKey, tag);
|
18199
18211
|
}
|
18200
18212
|
return item;
|
18201
18213
|
}).filter(function (item) {
|
@@ -18251,8 +18263,7 @@ function tag_input_objectSpread(target) { for (var i = 1; i < arguments.length;
|
|
18251
18263
|
initPage(filterData);
|
18252
18264
|
};
|
18253
18265
|
var activeClass = function activeClass(data, index) {
|
18254
|
-
var
|
18255
|
-
var style = (_style = {}, _defineProperty(_style, "".concat(resolveClassName('selector-actived')), true), _defineProperty(_style, "".concat(resolveClassName('selector-selected')), tagList.value.includes(data[props.saveKey])), _style);
|
18266
|
+
var style = _defineProperty(_defineProperty({}, "".concat(resolveClassName('selector-actived')), true), "".concat(resolveClassName('selector-selected')), tagList.value.includes(data[props.saveKey]));
|
18256
18267
|
if (props.useGroup) {
|
18257
18268
|
style["".concat(resolveClassName('selector-actived'))] = data.__index__ === state.focusItemIndex;
|
18258
18269
|
} else {
|
@@ -18334,7 +18345,6 @@ function tag_input_objectSpread(target) { for (var i = 1; i < arguments.length;
|
|
18334
18345
|
emit('focus');
|
18335
18346
|
// e.currentTarget.select();
|
18336
18347
|
};
|
18337
|
-
|
18338
18348
|
var handleBlur = function handleBlur() {
|
18339
18349
|
timer.value = setTimeout(function () {
|
18340
18350
|
var _formItem$validate2;
|
@@ -18373,7 +18383,7 @@ function tag_input_objectSpread(target) { for (var i = 1; i < arguments.length;
|
|
18373
18383
|
}
|
18374
18384
|
popoverProps.isShow = false;
|
18375
18385
|
emit('blur', inputValue, tagList.value);
|
18376
|
-
formItem === null || formItem === void 0 || (_formItem$validate2 = formItem.validate) === null || _formItem$validate2 === void 0
|
18386
|
+
formItem === null || formItem === void 0 || (_formItem$validate2 = formItem.validate) === null || _formItem$validate2 === void 0 || _formItem$validate2.call(formItem, 'blur');
|
18377
18387
|
}, 200);
|
18378
18388
|
};
|
18379
18389
|
/**
|
@@ -18382,7 +18392,7 @@ function tag_input_objectSpread(target) { for (var i = 1; i < arguments.length;
|
|
18382
18392
|
* @param type emit type
|
18383
18393
|
*/
|
18384
18394
|
var handleTagSelected = function handleTagSelected(item, type, e) {
|
18385
|
-
e === null || e === void 0
|
18395
|
+
e === null || e === void 0 || e.stopPropagation();
|
18386
18396
|
// 如果 item 不存在(备选项中没有包含输入的字母的情况即输入关键字没有备选项出现的情况)或者选中标签所在组是禁用状态,返回
|
18387
18397
|
if (!item || item.disabled) {
|
18388
18398
|
return;
|
@@ -18403,7 +18413,7 @@ function tag_input_objectSpread(target) { for (var i = 1; i < arguments.length;
|
|
18403
18413
|
* @param e mouse event
|
18404
18414
|
*/
|
18405
18415
|
var handleTagRemove = function handleTagRemove(data, index, e) {
|
18406
|
-
e === null || e === void 0
|
18416
|
+
e === null || e === void 0 || e.stopPropagation();
|
18407
18417
|
removeTag(data, index);
|
18408
18418
|
clearInput();
|
18409
18419
|
handleChange('remove', data);
|
@@ -18560,9 +18570,8 @@ function tag_input_objectSpread(target) { for (var i = 1; i < arguments.length;
|
|
18560
18570
|
textArr.forEach(function (item) {
|
18561
18571
|
var matchValue = item.match(regx);
|
18562
18572
|
if (matchValue) {
|
18563
|
-
var _target$push;
|
18564
18573
|
var finalItem = matchValue.join('');
|
18565
|
-
target.push((
|
18574
|
+
target.push(_defineProperty(_defineProperty({}, props.saveKey, finalItem), props.displayKey, finalItem));
|
18566
18575
|
}
|
18567
18576
|
});
|
18568
18577
|
return target;
|
@@ -18606,11 +18615,10 @@ function tag_input_objectSpread(target) { for (var i = 1; i < arguments.length;
|
|
18606
18615
|
}
|
18607
18616
|
}
|
18608
18617
|
var localTags = allowCreate ? tags.map(function (tag) {
|
18609
|
-
var _ref6;
|
18610
18618
|
var localTag = listState.localList.find(function (localTag) {
|
18611
18619
|
return localTag[saveKey] === tag;
|
18612
18620
|
});
|
18613
|
-
return localTag !== null && localTag !== void 0 ? localTag : (
|
18621
|
+
return localTag !== null && localTag !== void 0 ? localTag : _defineProperty(_defineProperty({}, saveKey, tag), displayKey, tag);
|
18614
18622
|
}) : listState.localList.filter(function (tag) {
|
18615
18623
|
return tags.includes(tag[saveKey]);
|
18616
18624
|
});
|
@@ -18670,8 +18678,7 @@ function tag_input_objectSpread(target) { for (var i = 1; i < arguments.length;
|
|
18670
18678
|
return (tag === null || tag === void 0 ? void 0 : tag.trim()) && !tagList.value.includes(tag) && validateTag(tag);
|
18671
18679
|
});
|
18672
18680
|
var localTags = tags.map(function (tag) {
|
18673
|
-
|
18674
|
-
return saveKeyMap.value[tag] || (_ref7 = {}, _defineProperty(_ref7, saveKey, tag), _defineProperty(_ref7, displayKey, tag), _ref7);
|
18681
|
+
return saveKeyMap.value[tag] || _defineProperty(_defineProperty({}, saveKey, tag), displayKey, tag);
|
18675
18682
|
});
|
18676
18683
|
if (tags.length) {
|
18677
18684
|
var _listState$selectedTa2;
|
@@ -18684,8 +18691,7 @@ function tag_input_objectSpread(target) { for (var i = 1; i < arguments.length;
|
|
18684
18691
|
newValue = isObject ? item[saveKey] : item.trim();
|
18685
18692
|
newValue = newValue.replace(/\s+/g, '');
|
18686
18693
|
if (newValue !== undefined && !tagList.value.includes(newValue) && validateTag(newValue)) {
|
18687
|
-
var
|
18688
|
-
var localItem = saveKeyMap.value[newValue] || (isObject ? item : (_ref8 = {}, _defineProperty(_ref8, saveKey, newValue), _defineProperty(_ref8, displayKey, newValue), _ref8));
|
18694
|
+
var localItem = saveKeyMap.value[newValue] || (isObject ? item : _defineProperty(_defineProperty({}, saveKey, newValue), displayKey, newValue));
|
18689
18695
|
listState.selectedTagList.splice(targetIndex, 0, localItem);
|
18690
18696
|
isSelected = true;
|
18691
18697
|
}
|
@@ -18793,7 +18799,7 @@ function tag_input_objectSpread(target) { for (var i = 1; i < arguments.length;
|
|
18793
18799
|
"onMouseleave": function onMouseleave() {
|
18794
18800
|
return _this.isHover = false;
|
18795
18801
|
}
|
18796
|
-
}, [(0,external_vue_namespaceObject.createVNode)(
|
18802
|
+
}, [(0,external_vue_namespaceObject.createVNode)(popover_namespaceObject["default"], (0,external_vue_namespaceObject.mergeProps)({
|
18797
18803
|
"theme": "light ".concat(this.resolveClassName('tag-input-popover-content')),
|
18798
18804
|
"trigger": "manual",
|
18799
18805
|
"placement": "bottom-start",
|
@@ -18823,7 +18829,7 @@ function tag_input_objectSpread(target) { for (var i = 1; i < arguments.length;
|
|
18823
18829
|
"displayKey": _this.displayKey,
|
18824
18830
|
"tooltipKey": _this.tooltipKey || _this.displayKey,
|
18825
18831
|
"tagOverflowTips": _this.tagOverflowTips
|
18826
|
-
}, null), _this.showTagClose && (0,external_vue_namespaceObject.createVNode)(
|
18832
|
+
}, null), _this.showTagClose && (0,external_vue_namespaceObject.createVNode)(icon_namespaceObject.Error, {
|
18827
18833
|
"class": "remove-tag",
|
18828
18834
|
"onClick": _this.handleTagRemove.bind(_this, item, index)
|
18829
18835
|
}, null)]);
|
@@ -18852,7 +18858,7 @@ function tag_input_objectSpread(target) { for (var i = 1; i < arguments.length;
|
|
18852
18858
|
"class": "text"
|
18853
18859
|
}, [(0,external_vue_namespaceObject.createTextVNode)("+"), _this.selectedTagList.length - _this.overflowTagIndex])])]), [[(0,external_vue_namespaceObject.resolveDirective)("bk-tooltips"), _this.collapseTooltip.join(', ')]])]), (0,external_vue_namespaceObject.withDirectives)((0,external_vue_namespaceObject.createVNode)("p", {
|
18854
18860
|
"class": "placeholder"
|
18855
|
-
}, [_this.placeholderText]), [[external_vue_namespaceObject.vShow, _this.isShowPlaceholder]]), (_this$$slots$suffix = (_this$$slots = _this.$slots) === null || _this$$slots === void 0 || (_this$$slots$suffix2 = _this$$slots.suffix) === null || _this$$slots$suffix2 === void 0 ? void 0 : _this$$slots$suffix2.call(_this$$slots)) !== null && _this$$slots$suffix !== void 0 ? _this$$slots$suffix : _this.isShowClear && (0,external_vue_namespaceObject.createVNode)(
|
18861
|
+
}, [_this.placeholderText]), [[external_vue_namespaceObject.vShow, _this.isShowPlaceholder]]), (_this$$slots$suffix = (_this$$slots = _this.$slots) === null || _this$$slots === void 0 || (_this$$slots$suffix2 = _this$$slots.suffix) === null || _this$$slots$suffix2 === void 0 ? void 0 : _this$$slots$suffix2.call(_this$$slots)) !== null && _this$$slots$suffix !== void 0 ? _this$$slots$suffix : _this.isShowClear && (0,external_vue_namespaceObject.createVNode)(icon_namespaceObject.Close, {
|
18856
18862
|
"class": "clear-icon",
|
18857
18863
|
"onClick": _this.handleClear
|
18858
18864
|
}, null)]);
|
@@ -18902,9 +18908,9 @@ function tag_input_objectSpread(target) { for (var i = 1; i < arguments.length;
|
|
18902
18908
|
}, null)]);
|
18903
18909
|
}), _this.isPageLoading ? (0,external_vue_namespaceObject.createVNode)("li", {
|
18904
18910
|
"class": "".concat(_this.resolveClassName('selector-list-item'), " loading")
|
18905
|
-
}, [(0,external_vue_namespaceObject.createVNode)(
|
18911
|
+
}, [(0,external_vue_namespaceObject.createVNode)(loading_namespaceObject["default"], {
|
18906
18912
|
"theme": "primary",
|
18907
|
-
"size":
|
18913
|
+
"size": loading_namespaceObject.BkLoadingSize.Small
|
18908
18914
|
}, null)]) : null])]);
|
18909
18915
|
}
|
18910
18916
|
})]);
|
@@ -18938,9 +18944,9 @@ function tag_input_objectSpread(target) { for (var i = 1; i < arguments.length;
|
|
18938
18944
|
*/
|
18939
18945
|
|
18940
18946
|
|
18941
|
-
var TagInput = (0,
|
18947
|
+
var TagInput = (0,shared_namespaceObject.withInstall)(tag_input);
|
18942
18948
|
/* harmony default export */ const src = (TagInput);
|
18943
18949
|
})();
|
18944
18950
|
|
18945
|
-
var __webpack_exports__default = __webpack_exports__
|
18951
|
+
var __webpack_exports__default = __webpack_exports__["default"];
|
18946
18952
|
export { __webpack_exports__default as default };
|
@@ -290,11 +290,11 @@ declare const _default: import("vue").DefineComponent<{
|
|
290
290
|
curInputValue: Ref<string>;
|
291
291
|
renderList: import("vue").ComputedRef<any[]>;
|
292
292
|
showTagClose: import("vue").ComputedRef<boolean>;
|
293
|
-
tagInputRef: any
|
294
|
-
bkTagSelectorRef: any
|
295
|
-
tagListRef: any
|
296
|
-
tagInputItemRef: any
|
297
|
-
selectorListRef: any
|
293
|
+
tagInputRef: Ref<any>;
|
294
|
+
bkTagSelectorRef: Ref<any>;
|
295
|
+
tagListRef: Ref<any>;
|
296
|
+
tagInputItemRef: Ref<any>;
|
297
|
+
selectorListRef: Ref<any>;
|
298
298
|
triggerClass: import("vue").ComputedRef<{
|
299
299
|
[x: string]: boolean;
|
300
300
|
active: boolean;
|