bkui-vue 2.0.2-beta.44 → 2.0.2-beta.46
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/index.cjs.js +47 -42
- package/dist/index.esm.js +7199 -7009
- package/dist/index.umd.js +50 -45
- 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 +1 -1
- package/dist/locale/ja-jp.esm.js.map +1 -1
- package/dist/locale/ja-jp.umd.js +1 -1
- package/dist/locale/ja-jp.umd.js.map +1 -1
- package/dist/locale/zh-cn.esm.js.map +1 -1
- package/dist/locale/zh-cn.umd.js.map +1 -1
- package/lib/affix/index.js +14 -16
- package/lib/alert/index.js +14 -16
- package/lib/animate-number/index.js +13 -14
- package/lib/backtop/index.js +12 -13
- package/lib/badge/index.js +14 -16
- package/lib/breadcrumb/index.js +15 -17
- package/lib/button/button.d.ts +1 -1
- package/lib/button/index.js +15 -17
- package/lib/card/index.js +14 -16
- package/lib/cascader/index.js +104 -111
- package/lib/checkbox/index.js +41 -39
- package/lib/code-diff/index.js +1173 -677
- package/lib/collapse/index.js +47 -45
- package/lib/collapse-transition/index.js +5 -6
- package/lib/color-picker/index.js +72 -73
- package/lib/components.js +1 -1
- package/lib/config-provider/index.d.ts +1 -1
- package/lib/config-provider/index.js +18 -20
- package/lib/container/index.js +26 -30
- package/lib/date-picker/index.js +79 -72
- package/lib/dialog/index.js +56 -477
- package/lib/directives/index.js +42 -39
- package/lib/dist.index.js +1 -1
- package/lib/divider/index.js +5 -6
- package/lib/dropdown/index.js +21 -25
- package/lib/exception/index.js +16 -19
- package/lib/fixed-navbar/index.js +4 -5
- package/lib/form/index.js +48 -45
- package/lib/hooks.js +1 -1
- package/lib/icon/angle-double-down-line.js +30 -37
- package/lib/icon/angle-double-left-line.js +30 -37
- package/lib/icon/angle-double-left.js +30 -37
- package/lib/icon/angle-double-right-line.js +30 -37
- package/lib/icon/angle-double-right.js +30 -37
- package/lib/icon/angle-double-up-line.js +30 -37
- package/lib/icon/angle-down-fill.js +30 -37
- package/lib/icon/angle-down-line.js +30 -37
- package/lib/icon/angle-down.js +30 -37
- package/lib/icon/angle-left.js +30 -37
- package/lib/icon/angle-right.js +30 -37
- package/lib/icon/angle-up-fill.js +30 -37
- package/lib/icon/angle-up.js +30 -37
- package/lib/icon/archive-fill.js +30 -37
- package/lib/icon/arrows-left.js +30 -37
- package/lib/icon/arrows-right.js +30 -37
- package/lib/icon/assistant.js +30 -37
- package/lib/icon/audio-fill.js +30 -37
- package/lib/icon/bk.js +30 -37
- package/lib/icon/circle.js +30 -37
- package/lib/icon/close-line.js +30 -37
- package/lib/icon/close.js +30 -37
- package/lib/icon/code.js +30 -37
- package/lib/icon/cog-shape.js +30 -37
- package/lib/icon/collapse-left.js +30 -37
- package/lib/icon/copy-shape.js +30 -37
- package/lib/icon/copy.js +30 -37
- package/lib/icon/data-shape.js +30 -37
- package/lib/icon/del.js +30 -37
- package/lib/icon/doc-fill.js +30 -37
- package/lib/icon/done.js +30 -37
- package/lib/icon/down-shape.js +30 -37
- package/lib/icon/down-small.js +30 -37
- package/lib/icon/edit-line.js +30 -37
- package/lib/icon/ellipsis.js +30 -37
- package/lib/icon/enlarge-line.js +30 -37
- package/lib/icon/error.js +30 -37
- package/lib/icon/excel-fill.js +30 -37
- package/lib/icon/exclamation-circle-shape.js +30 -37
- package/lib/icon/eye.js +30 -37
- package/lib/icon/filliscreen-line.js +30 -37
- package/lib/icon/fix-line.js +30 -37
- package/lib/icon/fix-shape.js +30 -37
- package/lib/icon/folder-open.js +30 -37
- package/lib/icon/folder-shape-open.js +30 -37
- package/lib/icon/folder-shape.js +30 -37
- package/lib/icon/folder.js +30 -37
- package/lib/icon/funnel.js +30 -37
- package/lib/icon/grag-fill.js +30 -37
- package/lib/icon/help-document-fill.js +30 -37
- package/lib/icon/help-fill.js +30 -37
- package/lib/icon/help.js +30 -37
- package/lib/icon/image-fill.js +30 -37
- package/lib/icon/img-error.js +30 -37
- package/lib/icon/img-placehoulder.js +30 -37
- package/lib/icon/index.js +1 -1
- package/lib/icon/info-line.js +30 -37
- package/lib/icon/info.js +30 -37
- package/lib/icon/left-shape.js +30 -37
- package/lib/icon/left-turn-line.js +30 -37
- package/lib/icon/loading.js +30 -37
- package/lib/icon/narrow-line.js +30 -37
- package/lib/icon/original.js +30 -37
- package/lib/icon/pdf-fill.js +30 -37
- package/lib/icon/play-shape.js +30 -37
- package/lib/icon/plus.js +30 -37
- package/lib/icon/ppt-fill.js +30 -37
- package/lib/icon/qq.js +30 -37
- package/lib/icon/right-shape.js +30 -37
- package/lib/icon/right-turn-line.js +30 -37
- package/lib/icon/search.js +30 -37
- package/lib/icon/share.js +30 -37
- package/lib/icon/spinner.js +30 -37
- package/lib/icon/success.js +30 -37
- package/lib/icon/switcher-loading.js +30 -37
- package/lib/icon/text-all.js +30 -37
- package/lib/icon/text-file.js +30 -37
- package/lib/icon/text-fill.js +30 -37
- package/lib/icon/transfer.js +30 -37
- package/lib/icon/tree-application-shape.js +30 -37
- package/lib/icon/unfull-screen.js +30 -37
- package/lib/icon/unvisible.js +30 -37
- package/lib/icon/up-shape.js +30 -37
- package/lib/icon/upload.js +30 -37
- package/lib/icon/video-fill.js +30 -37
- package/lib/icon/warn.js +30 -37
- package/lib/icon/weixin-pro.js +30 -37
- package/lib/icon/weixin.js +30 -37
- package/lib/image/index.js +57 -55
- package/lib/index.js +1 -1
- package/lib/info-box/index.js +65 -464
- package/lib/input/index.js +70 -68
- package/lib/link/index.js +4 -4
- package/lib/loading/index.js +25 -28
- package/lib/locale/index.js +16 -16
- package/lib/menu/index.js +42 -40
- package/lib/message/index.js +37 -34
- package/lib/modal/index.js +17 -19
- package/lib/navigation/index.js +10 -12
- package/lib/notify/index.js +15 -17
- package/lib/overflow-title/index.js +12 -13
- package/lib/pagination/index.js +38 -35
- package/lib/pop-confirm/index.js +7 -8
- package/lib/popover/index.js +226 -153
- package/lib/popover2/index.js +4 -4
- package/lib/preset.js +1 -1
- package/lib/process/index.js +61 -454
- package/lib/process/process.d.ts +1 -1
- package/lib/progress/index.js +20 -23
- package/lib/radio/index.js +42 -39
- package/lib/rate/index.js +15 -17
- package/lib/resize-layout/index.js +20 -22
- package/lib/scrollbar/index.js +57 -64
- package/lib/search-select/index.js +233 -606
- package/lib/select/index.js +126 -478
- package/lib/shared/index.d.ts +1 -1
- package/lib/shared/index.js +93 -105
- package/lib/shared/z-index-manager.d.ts +1 -1
- package/lib/sideslider/index.js +45 -443
- package/lib/slider/index.d.ts +1 -1
- package/lib/slider/index.js +52 -449
- package/lib/slider/slider-button.d.ts +1 -1
- package/lib/slider/slider.d.ts +1 -1
- package/lib/steps/index.js +62 -460
- package/lib/steps/steps.d.ts +1 -1
- package/lib/swiper/index.js +17 -19
- package/lib/switcher/index.js +14 -16
- package/lib/tab/index.js +50 -48
- package/lib/table/index.js +184 -533
- package/lib/table-column/index.js +1 -1
- package/lib/tag/index.js +14 -16
- package/lib/tag-input/index.js +58 -52
- package/lib/time-picker/index.js +1 -1
- package/lib/timeline/index.js +3 -2
- package/lib/timeline/timeline.d.ts +1 -1
- package/lib/transfer/index.d.ts +1 -1
- package/lib/transfer/index.js +26 -21
- package/lib/transfer/transfer.d.ts +1 -1
- package/lib/tree/index.js +85 -78
- package/lib/upload/index.js +144 -495
- package/lib/virtual-render/index.js +54 -58
- package/lib/volar.components.d.ts +1 -1
- package/package.json +13 -2
@@ -24,14 +24,14 @@ __webpack_require__.d(__webpack_exports__, {
|
|
24
24
|
// UNUSED EXPORTS: bkEllipsis, bkEllipsisInstance, bkLoading, bkTooltips, mousewheel, overflowTitle
|
25
25
|
|
26
26
|
;// CONCATENATED MODULE: ../../packages/directives/src/clickoutside.ts
|
27
|
-
function _createForOfIteratorHelper(
|
28
|
-
function _unsupportedIterableToArray(
|
29
|
-
function _arrayLikeToArray(
|
27
|
+
function _createForOfIteratorHelper(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, 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 o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t["return"] || t["return"](); } finally { if (u) throw o; } } }; }
|
28
|
+
function _unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } }
|
29
|
+
function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
|
30
30
|
/*
|
31
31
|
* Tencent is pleased to support the open source community by making
|
32
32
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
33
33
|
*
|
34
|
-
* Copyright (C)
|
34
|
+
* Copyright (C) 2025 Tencent. All rights reserved.
|
35
35
|
*
|
36
36
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
|
37
37
|
*
|
@@ -159,7 +159,7 @@ var popover_ = __webpack_require__(563);
|
|
159
159
|
* Tencent is pleased to support the open source community by making
|
160
160
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
161
161
|
*
|
162
|
-
* Copyright (C)
|
162
|
+
* Copyright (C) 2025 Tencent. All rights reserved.
|
163
163
|
*
|
164
164
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
|
165
165
|
*
|
@@ -271,7 +271,7 @@ var normalize_wheel_default = /*#__PURE__*/__webpack_require__.n(normalize_wheel
|
|
271
271
|
* Tencent is pleased to support the open source community by making
|
272
272
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
273
273
|
*
|
274
|
-
* Copyright (C)
|
274
|
+
* Copyright (C) 2025 Tencent. All rights reserved.
|
275
275
|
*
|
276
276
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
|
277
277
|
*
|
@@ -330,7 +330,7 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
|
|
330
330
|
* Tencent is pleased to support the open source community by making
|
331
331
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
332
332
|
*
|
333
|
-
* Copyright (C)
|
333
|
+
* Copyright (C) 2025 Tencent. All rights reserved.
|
334
334
|
*
|
335
335
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
|
336
336
|
*
|
@@ -622,7 +622,7 @@ const external_overflow_title_namespaceObject = external_overflow_title_x({ });
|
|
622
622
|
* Tencent is pleased to support the open source community by making
|
623
623
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
624
624
|
*
|
625
|
-
* Copyright (C)
|
625
|
+
* Copyright (C) 2025 Tencent. All rights reserved.
|
626
626
|
*
|
627
627
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
|
628
628
|
*
|
@@ -1291,12 +1291,13 @@ module.exports = x({ ["Fragment"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.Fragmen
|
|
1291
1291
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
1292
1292
|
/* harmony export */ "default": () => (/* binding */ _arrayLikeToArray)
|
1293
1293
|
/* harmony export */ });
|
1294
|
-
function _arrayLikeToArray(
|
1295
|
-
|
1296
|
-
for (var
|
1297
|
-
return
|
1294
|
+
function _arrayLikeToArray(r, a) {
|
1295
|
+
(null == a || a > r.length) && (a = r.length);
|
1296
|
+
for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e];
|
1297
|
+
return n;
|
1298
1298
|
}
|
1299
1299
|
|
1300
|
+
|
1300
1301
|
/***/ }),
|
1301
1302
|
|
1302
1303
|
/***/ 74:
|
@@ -1307,10 +1308,11 @@ function _arrayLikeToArray(arr, len) {
|
|
1307
1308
|
/* harmony export */ });
|
1308
1309
|
/* harmony import */ var _arrayLikeToArray_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(926);
|
1309
1310
|
|
1310
|
-
function _arrayWithoutHoles(
|
1311
|
-
if (Array.isArray(
|
1311
|
+
function _arrayWithoutHoles(r) {
|
1312
|
+
if (Array.isArray(r)) return (0,_arrayLikeToArray_js__WEBPACK_IMPORTED_MODULE_0__["default"])(r);
|
1312
1313
|
}
|
1313
1314
|
|
1315
|
+
|
1314
1316
|
/***/ }),
|
1315
1317
|
|
1316
1318
|
/***/ 6666:
|
@@ -1321,21 +1323,16 @@ function _arrayWithoutHoles(arr) {
|
|
1321
1323
|
/* harmony export */ });
|
1322
1324
|
/* harmony import */ var _toPropertyKey_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(3795);
|
1323
1325
|
|
1324
|
-
function _defineProperty(
|
1325
|
-
|
1326
|
-
|
1327
|
-
|
1328
|
-
|
1329
|
-
|
1330
|
-
|
1331
|
-
writable: true
|
1332
|
-
});
|
1333
|
-
} else {
|
1334
|
-
obj[key] = value;
|
1335
|
-
}
|
1336
|
-
return obj;
|
1326
|
+
function _defineProperty(e, r, t) {
|
1327
|
+
return (r = (0,_toPropertyKey_js__WEBPACK_IMPORTED_MODULE_0__["default"])(r)) in e ? Object.defineProperty(e, r, {
|
1328
|
+
value: t,
|
1329
|
+
enumerable: !0,
|
1330
|
+
configurable: !0,
|
1331
|
+
writable: !0
|
1332
|
+
}) : e[r] = t, e;
|
1337
1333
|
}
|
1338
1334
|
|
1335
|
+
|
1339
1336
|
/***/ }),
|
1340
1337
|
|
1341
1338
|
/***/ 1079:
|
@@ -1344,10 +1341,11 @@ function _defineProperty(obj, key, value) {
|
|
1344
1341
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
1345
1342
|
/* harmony export */ "default": () => (/* binding */ _iterableToArray)
|
1346
1343
|
/* harmony export */ });
|
1347
|
-
function _iterableToArray(
|
1348
|
-
if (typeof Symbol
|
1344
|
+
function _iterableToArray(r) {
|
1345
|
+
if ("undefined" != typeof Symbol && null != r[Symbol.iterator] || null != r["@@iterator"]) return Array.from(r);
|
1349
1346
|
}
|
1350
1347
|
|
1348
|
+
|
1351
1349
|
/***/ }),
|
1352
1350
|
|
1353
1351
|
/***/ 6098:
|
@@ -1360,6 +1358,7 @@ function _nonIterableSpread() {
|
|
1360
1358
|
throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
1361
1359
|
}
|
1362
1360
|
|
1361
|
+
|
1363
1362
|
/***/ }),
|
1364
1363
|
|
1365
1364
|
/***/ 7930:
|
@@ -1376,10 +1375,11 @@ function _nonIterableSpread() {
|
|
1376
1375
|
|
1377
1376
|
|
1378
1377
|
|
1379
|
-
function _toConsumableArray(
|
1380
|
-
return (0,_arrayWithoutHoles_js__WEBPACK_IMPORTED_MODULE_0__["default"])(
|
1378
|
+
function _toConsumableArray(r) {
|
1379
|
+
return (0,_arrayWithoutHoles_js__WEBPACK_IMPORTED_MODULE_0__["default"])(r) || (0,_iterableToArray_js__WEBPACK_IMPORTED_MODULE_1__["default"])(r) || (0,_unsupportedIterableToArray_js__WEBPACK_IMPORTED_MODULE_2__["default"])(r) || (0,_nonIterableSpread_js__WEBPACK_IMPORTED_MODULE_3__["default"])();
|
1381
1380
|
}
|
1382
1381
|
|
1382
|
+
|
1383
1383
|
/***/ }),
|
1384
1384
|
|
1385
1385
|
/***/ 9745:
|
@@ -1401,6 +1401,7 @@ function toPrimitive(t, r) {
|
|
1401
1401
|
return ("string" === r ? String : Number)(t);
|
1402
1402
|
}
|
1403
1403
|
|
1404
|
+
|
1404
1405
|
/***/ }),
|
1405
1406
|
|
1406
1407
|
/***/ 3795:
|
@@ -1415,9 +1416,10 @@ function toPrimitive(t, r) {
|
|
1415
1416
|
|
1416
1417
|
function toPropertyKey(t) {
|
1417
1418
|
var i = (0,_toPrimitive_js__WEBPACK_IMPORTED_MODULE_0__["default"])(t, "string");
|
1418
|
-
return "symbol" == (0,_typeof_js__WEBPACK_IMPORTED_MODULE_1__["default"])(i) ? i :
|
1419
|
+
return "symbol" == (0,_typeof_js__WEBPACK_IMPORTED_MODULE_1__["default"])(i) ? i : i + "";
|
1419
1420
|
}
|
1420
1421
|
|
1422
|
+
|
1421
1423
|
/***/ }),
|
1422
1424
|
|
1423
1425
|
/***/ 6522:
|
@@ -1436,6 +1438,7 @@ function _typeof(o) {
|
|
1436
1438
|
}, _typeof(o);
|
1437
1439
|
}
|
1438
1440
|
|
1441
|
+
|
1439
1442
|
/***/ }),
|
1440
1443
|
|
1441
1444
|
/***/ 9147:
|
@@ -1446,15 +1449,15 @@ function _typeof(o) {
|
|
1446
1449
|
/* harmony export */ });
|
1447
1450
|
/* harmony import */ var _arrayLikeToArray_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(926);
|
1448
1451
|
|
1449
|
-
function _unsupportedIterableToArray(
|
1450
|
-
if (
|
1451
|
-
|
1452
|
-
|
1453
|
-
|
1454
|
-
|
1455
|
-
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return (0,_arrayLikeToArray_js__WEBPACK_IMPORTED_MODULE_0__["default"])(o, minLen);
|
1452
|
+
function _unsupportedIterableToArray(r, a) {
|
1453
|
+
if (r) {
|
1454
|
+
if ("string" == typeof r) return (0,_arrayLikeToArray_js__WEBPACK_IMPORTED_MODULE_0__["default"])(r, a);
|
1455
|
+
var t = {}.toString.call(r).slice(8, -1);
|
1456
|
+
return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? (0,_arrayLikeToArray_js__WEBPACK_IMPORTED_MODULE_0__["default"])(r, a) : void 0;
|
1457
|
+
}
|
1456
1458
|
}
|
1457
1459
|
|
1460
|
+
|
1458
1461
|
/***/ })
|
1459
1462
|
|
1460
1463
|
/******/ });
|
@@ -2735,7 +2738,7 @@ function validateWCAG2Parms(parms) {
|
|
2735
2738
|
* Tencent is pleased to support the open source community by making
|
2736
2739
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
2737
2740
|
*
|
2738
|
-
* Copyright (C)
|
2741
|
+
* Copyright (C) 2025 Tencent. All rights reserved.
|
2739
2742
|
*
|
2740
2743
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
|
2741
2744
|
*
|
@@ -2758,11 +2761,10 @@ function validateWCAG2Parms(parms) {
|
|
2758
2761
|
*/
|
2759
2762
|
|
2760
2763
|
|
2761
|
-
|
2762
2764
|
var inputContainerProps = {
|
2763
2765
|
info: shared_.PropTypes.object.isRequired
|
2764
2766
|
};
|
2765
|
-
/* harmony default export */ const input_container = (
|
2767
|
+
/* harmony default export */ const input_container = (defineComponent({
|
2766
2768
|
props: inputContainerProps,
|
2767
2769
|
emits: ['tab', 'input'],
|
2768
2770
|
setup: function setup(props, _ref) {
|
@@ -2779,7 +2781,7 @@ var inputContainerProps = {
|
|
2779
2781
|
};
|
2780
2782
|
var _usePrefix = (0,config_provider_namespaceObject.usePrefix)(),
|
2781
2783
|
resolveClassName = _usePrefix.resolveClassName;
|
2782
|
-
var colorPickerCls =
|
2784
|
+
var colorPickerCls = computed(function () {
|
2783
2785
|
return (0,shared_.classes)({
|
2784
2786
|
error: props.info.error
|
2785
2787
|
}, "".concat(resolveClassName('color-picker-input-value')));
|
@@ -2805,7 +2807,7 @@ var inputContainerProps = {
|
|
2805
2807
|
* Tencent is pleased to support the open source community by making
|
2806
2808
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
2807
2809
|
*
|
2808
|
-
* Copyright (C)
|
2810
|
+
* Copyright (C) 2025 Tencent. All rights reserved.
|
2809
2811
|
*
|
2810
2812
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
|
2811
2813
|
*
|
@@ -2830,47 +2832,46 @@ var inputContainerProps = {
|
|
2830
2832
|
|
2831
2833
|
|
2832
2834
|
|
2833
|
-
|
2834
2835
|
var colorPickerProps = {
|
2835
2836
|
colorObj: shared_.PropTypes.object.isRequired
|
2836
2837
|
};
|
2837
|
-
/* harmony default export */ const color_input = (
|
2838
|
+
/* harmony default export */ const color_input = (defineComponent({
|
2838
2839
|
name: 'ColorPicker',
|
2839
2840
|
props: colorPickerProps,
|
2840
2841
|
emits: ['change', 'tab'],
|
2841
2842
|
setup: function setup(props, _ref) {
|
2842
2843
|
var emit = _ref.emit;
|
2843
|
-
var hex =
|
2844
|
+
var hex = reactive({
|
2844
2845
|
key: 'hex',
|
2845
2846
|
name: 'HEX',
|
2846
2847
|
value: props.colorObj.hex,
|
2847
2848
|
error: false
|
2848
2849
|
});
|
2849
|
-
var r =
|
2850
|
+
var r = reactive({
|
2850
2851
|
key: 'r',
|
2851
2852
|
name: 'R',
|
2852
2853
|
value: props.colorObj.rgba.r.toString(),
|
2853
2854
|
error: false
|
2854
2855
|
});
|
2855
|
-
var g =
|
2856
|
+
var g = reactive({
|
2856
2857
|
key: 'g',
|
2857
2858
|
name: 'G',
|
2858
2859
|
value: props.colorObj.rgba.g.toString(),
|
2859
2860
|
error: false
|
2860
2861
|
});
|
2861
|
-
var b =
|
2862
|
+
var b = reactive({
|
2862
2863
|
key: 'b',
|
2863
2864
|
name: 'B',
|
2864
2865
|
value: props.colorObj.rgba.b.toString(),
|
2865
2866
|
error: false
|
2866
2867
|
});
|
2867
|
-
var a =
|
2868
|
+
var a = reactive({
|
2868
2869
|
key: 'a',
|
2869
2870
|
name: 'Alpha',
|
2870
2871
|
value: props.colorObj.rgba.a.toString(),
|
2871
2872
|
error: false
|
2872
2873
|
});
|
2873
|
-
|
2874
|
+
watch(function () {
|
2874
2875
|
return props.colorObj;
|
2875
2876
|
}, function (val) {
|
2876
2877
|
if (tinycolor(val.hex).toString() !== tinycolor(hex.value).toString()) {
|
@@ -2973,7 +2974,7 @@ var colorPickerProps = {
|
|
2973
2974
|
* Tencent is pleased to support the open source community by making
|
2974
2975
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
2975
2976
|
*
|
2976
|
-
* Copyright (C)
|
2977
|
+
* Copyright (C) 2025 Tencent. All rights reserved.
|
2977
2978
|
*
|
2978
2979
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
|
2979
2980
|
*
|
@@ -3080,7 +3081,7 @@ var toRGBAString = function toRGBAString(rgba) {
|
|
3080
3081
|
* Tencent is pleased to support the open source community by making
|
3081
3082
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
3082
3083
|
*
|
3083
|
-
* Copyright (C)
|
3084
|
+
* Copyright (C) 2025 Tencent. All rights reserved.
|
3084
3085
|
*
|
3085
3086
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
|
3086
3087
|
*
|
@@ -3104,18 +3105,17 @@ var toRGBAString = function toRGBAString(rgba) {
|
|
3104
3105
|
|
3105
3106
|
|
3106
3107
|
|
3107
|
-
|
3108
3108
|
var hue_slider_colorPickerProps = {
|
3109
3109
|
colorObj: shared_.PropTypes.object.isRequired
|
3110
3110
|
};
|
3111
|
-
/* harmony default export */ const hue_slider = (
|
3111
|
+
/* harmony default export */ const hue_slider = (defineComponent({
|
3112
3112
|
name: 'ColorPicker',
|
3113
3113
|
props: hue_slider_colorPickerProps,
|
3114
3114
|
emits: ['change'],
|
3115
3115
|
setup: function setup(props, _ref) {
|
3116
3116
|
var emit = _ref.emit;
|
3117
|
-
var containerRef =
|
3118
|
-
var pointerStyle =
|
3117
|
+
var containerRef = ref(null);
|
3118
|
+
var pointerStyle = computed(function () {
|
3119
3119
|
return {
|
3120
3120
|
left: "".concat(props.colorObj.hsv.h / 360 * 100, "%")
|
3121
3121
|
};
|
@@ -3153,11 +3153,11 @@ var hue_slider_colorPickerProps = {
|
|
3153
3153
|
window.addEventListener('mousemove', handlePointChange, {
|
3154
3154
|
passive: true
|
3155
3155
|
});
|
3156
|
-
window.addEventListener('mouseup',
|
3156
|
+
window.addEventListener('mouseup', _handleMouseUp);
|
3157
3157
|
};
|
3158
|
-
var
|
3158
|
+
var _handleMouseUp = function handleMouseUp() {
|
3159
3159
|
window.removeEventListener('mousemove', handlePointChange);
|
3160
|
-
window.removeEventListener('mouseup',
|
3160
|
+
window.removeEventListener('mouseup', _handleMouseUp);
|
3161
3161
|
};
|
3162
3162
|
/**
|
3163
3163
|
* 色相面板变化
|
@@ -3219,7 +3219,7 @@ var hue_slider_colorPickerProps = {
|
|
3219
3219
|
* Tencent is pleased to support the open source community by making
|
3220
3220
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
3221
3221
|
*
|
3222
|
-
* Copyright (C)
|
3222
|
+
* Copyright (C) 2025 Tencent. All rights reserved.
|
3223
3223
|
*
|
3224
3224
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
|
3225
3225
|
*
|
@@ -3370,7 +3370,7 @@ var recommend_colors_colorPickerProps = {
|
|
3370
3370
|
* Tencent is pleased to support the open source community by making
|
3371
3371
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
3372
3372
|
*
|
3373
|
-
* Copyright (C)
|
3373
|
+
* Copyright (C) 2025 Tencent. All rights reserved.
|
3374
3374
|
*
|
3375
3375
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
|
3376
3376
|
*
|
@@ -3394,22 +3394,21 @@ var recommend_colors_colorPickerProps = {
|
|
3394
3394
|
|
3395
3395
|
|
3396
3396
|
|
3397
|
-
|
3398
3397
|
var saturation_panel_colorPickerProps = {
|
3399
3398
|
colorObj: shared_.PropTypes.object.isRequired
|
3400
3399
|
};
|
3401
|
-
/* harmony default export */ const saturation_panel = (
|
3400
|
+
/* harmony default export */ const saturation_panel = (defineComponent({
|
3402
3401
|
props: saturation_panel_colorPickerProps,
|
3403
3402
|
emits: ['change'],
|
3404
3403
|
setup: function setup(props, _ref) {
|
3405
3404
|
var emit = _ref.emit;
|
3406
|
-
var containerRef =
|
3407
|
-
var backgroundStyle =
|
3405
|
+
var containerRef = ref(null);
|
3406
|
+
var backgroundStyle = computed(function () {
|
3408
3407
|
return {
|
3409
3408
|
background: "hsl(".concat(props.colorObj.hsv.h, ", 100%, 50%)")
|
3410
3409
|
};
|
3411
3410
|
});
|
3412
|
-
var pointerStyle =
|
3411
|
+
var pointerStyle = computed(function () {
|
3413
3412
|
return {
|
3414
3413
|
top: "".concat((1 - props.colorObj.hsv.v) * 100, "%"),
|
3415
3414
|
left: "".concat(props.colorObj.hsv.s * 100, "%")
|
@@ -3421,11 +3420,11 @@ var saturation_panel_colorPickerProps = {
|
|
3421
3420
|
window.addEventListener('mousemove', handlePointChange, {
|
3422
3421
|
passive: true
|
3423
3422
|
});
|
3424
|
-
window.addEventListener('mouseup',
|
3423
|
+
window.addEventListener('mouseup', _handleMouseUp);
|
3425
3424
|
};
|
3426
|
-
var
|
3425
|
+
var _handleMouseUp = function handleMouseUp() {
|
3427
3426
|
window.removeEventListener('mousemove', handlePointChange);
|
3428
|
-
window.removeEventListener('mouseup',
|
3427
|
+
window.removeEventListener('mouseup', _handleMouseUp);
|
3429
3428
|
};
|
3430
3429
|
var handleArrowKeydown = function handleArrowKeydown(e) {
|
3431
3430
|
var _containerRef$value = containerRef.value,
|
@@ -3523,7 +3522,7 @@ var saturation_panel_colorPickerProps = {
|
|
3523
3522
|
* Tencent is pleased to support the open source community by making
|
3524
3523
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
3525
3524
|
*
|
3526
|
-
* Copyright (C)
|
3525
|
+
* Copyright (C) 2025 Tencent. All rights reserved.
|
3527
3526
|
*
|
3528
3527
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
|
3529
3528
|
*
|
@@ -3834,7 +3833,7 @@ var whiteColorObj = formatColor('#FFFFFF');
|
|
3834
3833
|
* Tencent is pleased to support the open source community by making
|
3835
3834
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
3836
3835
|
*
|
3837
|
-
* Copyright (C)
|
3836
|
+
* Copyright (C) 2025 Tencent. All rights reserved.
|
3838
3837
|
*
|
3839
3838
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
|
3840
3839
|
*
|
package/lib/components.js
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
* Tencent is pleased to support the open source community by making
|
3
3
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
4
4
|
*
|
5
|
-
* Copyright (C)
|
5
|
+
* Copyright (C) 2025 Tencent. All rights reserved.
|
6
6
|
*
|
7
7
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
|
8
8
|
*
|
@@ -2,7 +2,7 @@
|
|
2
2
|
* Tencent is pleased to support the open source community by making
|
3
3
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
4
4
|
*
|
5
|
-
* Copyright (C)
|
5
|
+
* Copyright (C) 2025 Tencent. All rights reserved.
|
6
6
|
*
|
7
7
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
|
8
8
|
*
|
@@ -57,6 +57,7 @@ function _typeof(o) {
|
|
57
57
|
return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
|
58
58
|
}, _typeof(o);
|
59
59
|
}
|
60
|
+
|
60
61
|
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/toPrimitive.js
|
61
62
|
|
62
63
|
function toPrimitive(t, r) {
|
@@ -69,29 +70,26 @@ function toPrimitive(t, r) {
|
|
69
70
|
}
|
70
71
|
return ("string" === r ? String : Number)(t);
|
71
72
|
}
|
73
|
+
|
72
74
|
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/toPropertyKey.js
|
73
75
|
|
74
76
|
|
75
77
|
function toPropertyKey(t) {
|
76
78
|
var i = toPrimitive(t, "string");
|
77
|
-
return "symbol" == _typeof(i) ? i :
|
79
|
+
return "symbol" == _typeof(i) ? i : i + "";
|
78
80
|
}
|
81
|
+
|
79
82
|
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
80
83
|
|
81
|
-
function _defineProperty(
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
writable: true
|
89
|
-
});
|
90
|
-
} else {
|
91
|
-
obj[key] = value;
|
92
|
-
}
|
93
|
-
return obj;
|
84
|
+
function _defineProperty(e, r, t) {
|
85
|
+
return (r = toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
|
86
|
+
value: t,
|
87
|
+
enumerable: !0,
|
88
|
+
configurable: !0,
|
89
|
+
writable: !0
|
90
|
+
}) : e[r] = t, e;
|
94
91
|
}
|
92
|
+
|
95
93
|
;// CONCATENATED MODULE: external "lodash/merge"
|
96
94
|
var merge_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
97
95
|
var merge_y = x => () => x
|
@@ -105,7 +103,7 @@ const locale_namespaceObject = locale_x({ ["zhCn"]: () => __WEBPACK_EXTERNAL_MOD
|
|
105
103
|
* Tencent is pleased to support the open source community by making
|
106
104
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
107
105
|
*
|
108
|
-
* Copyright (C)
|
106
|
+
* Copyright (C) 2025 Tencent. All rights reserved.
|
109
107
|
*
|
110
108
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
|
111
109
|
*
|
@@ -140,7 +138,7 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
|
|
140
138
|
* Tencent is pleased to support the open source community by making
|
141
139
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
142
140
|
*
|
143
|
-
* Copyright (C)
|
141
|
+
* Copyright (C) 2025 Tencent. All rights reserved.
|
144
142
|
*
|
145
143
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
|
146
144
|
*
|
@@ -196,7 +194,7 @@ var useGlobalConfig = function useGlobalConfig() {
|
|
196
194
|
* Tencent is pleased to support the open source community by making
|
197
195
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
198
196
|
*
|
199
|
-
* Copyright (C)
|
197
|
+
* Copyright (C) 2025 Tencent. All rights reserved.
|
200
198
|
*
|
201
199
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
|
202
200
|
*
|
@@ -247,7 +245,7 @@ var configProviderProps = {
|
|
247
245
|
* Tencent is pleased to support the open source community by making
|
248
246
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
249
247
|
*
|
250
|
-
* Copyright (C)
|
248
|
+
* Copyright (C) 2025 Tencent. All rights reserved.
|
251
249
|
*
|
252
250
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
|
253
251
|
*
|
@@ -283,7 +281,7 @@ function useLocale(compName) {
|
|
283
281
|
* Tencent is pleased to support the open source community by making
|
284
282
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
285
283
|
*
|
286
|
-
* Copyright (C)
|
284
|
+
* Copyright (C) 2025 Tencent. All rights reserved.
|
287
285
|
*
|
288
286
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
|
289
287
|
*
|
@@ -331,7 +329,7 @@ function usePrefix() {
|
|
331
329
|
* Tencent is pleased to support the open source community by making
|
332
330
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
333
331
|
*
|
334
|
-
* Copyright (C)
|
332
|
+
* Copyright (C) 2025 Tencent. All rights reserved.
|
335
333
|
*
|
336
334
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
|
337
335
|
*
|