bkui-vue 0.0.1-beta.391 → 0.0.1-beta.392
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/lib/affix/index.js +128 -60
- package/lib/alert/index.js +124 -56
- package/lib/animate-number/index.js +106 -42
- package/lib/backtop/index.js +133 -61
- package/lib/badge/index.js +114 -50
- package/lib/breadcrumb/index.js +133 -67
- package/lib/button/index.js +147 -68
- package/lib/card/index.js +154 -69
- package/lib/cascader/index.js +242 -168
- package/lib/checkbox/index.js +139 -77
- package/lib/code-diff/index.js +121 -79
- package/lib/collapse/index.js +150 -84
- package/lib/color-picker/index.js +245 -193
- package/lib/components.js +671 -434
- package/lib/container/index.js +125 -64
- package/lib/date-picker/index.js +563 -462
- package/lib/dialog/index.js +198 -108
- package/lib/directives/index.js +138 -92
- package/lib/dist.index.js +133 -48
- package/lib/divider/index.js +118 -50
- package/lib/dropdown/index.js +155 -73
- package/lib/exception/index.js +145 -97
- package/lib/fixed-navbar/index.js +107 -43
- package/lib/form/index.js +193 -107
- package/lib/icon/angle-double-down-line.js +90 -30
- package/lib/icon/angle-double-left-line.js +90 -30
- package/lib/icon/angle-double-left.js +90 -30
- package/lib/icon/angle-double-right-line.js +90 -30
- package/lib/icon/angle-double-right.js +90 -30
- package/lib/icon/angle-double-up-line.js +90 -30
- package/lib/icon/angle-down-fill.js +90 -30
- package/lib/icon/angle-down-line.js +90 -30
- package/lib/icon/angle-down.js +90 -30
- package/lib/icon/angle-left.js +90 -30
- package/lib/icon/angle-right.js +90 -30
- package/lib/icon/angle-up-fill.js +90 -30
- package/lib/icon/angle-up.js +90 -30
- package/lib/icon/archive-fill.js +90 -30
- package/lib/icon/arrows-left.js +90 -30
- package/lib/icon/arrows-right.js +90 -30
- package/lib/icon/audio-fill.js +90 -30
- package/lib/icon/bk.js +90 -30
- package/lib/icon/circle.js +90 -30
- package/lib/icon/close-line.js +90 -30
- package/lib/icon/close.js +90 -30
- package/lib/icon/code.js +90 -30
- package/lib/icon/cog-shape.js +90 -30
- package/lib/icon/collapse-left.js +90 -30
- package/lib/icon/copy.js +90 -30
- package/lib/icon/data-shape.js +90 -30
- package/lib/icon/del.js +90 -30
- package/lib/icon/doc-fill.js +90 -30
- package/lib/icon/done.js +90 -30
- package/lib/icon/down-shape.js +90 -30
- package/lib/icon/down-small.js +90 -30
- package/lib/icon/edit-line.js +90 -30
- package/lib/icon/ellipsis.js +90 -30
- package/lib/icon/enlarge-line.js +90 -30
- package/lib/icon/error.js +90 -30
- package/lib/icon/excel-fill.js +90 -30
- package/lib/icon/exclamation-circle-shape.js +90 -30
- package/lib/icon/eye.js +90 -30
- package/lib/icon/filliscreen-line.js +90 -30
- package/lib/icon/folder-open.js +90 -30
- package/lib/icon/folder-shape-open.js +90 -30
- package/lib/icon/folder-shape.js +90 -30
- package/lib/icon/folder.js +90 -30
- package/lib/icon/funnel.js +90 -30
- package/lib/icon/help-document-fill.js +90 -30
- package/lib/icon/help-fill.js +90 -30
- package/lib/icon/help.js +90 -30
- package/lib/icon/image-fill.js +90 -30
- package/lib/icon/img-placehoulder.js +88 -52
- package/lib/icon/index.js +255 -267
- package/lib/icon/info-line.js +88 -52
- package/lib/icon/info.js +88 -52
- package/lib/icon/left-shape.js +88 -52
- package/lib/icon/left-turn-line.js +88 -52
- package/lib/icon/narrow-line.js +88 -52
- package/lib/icon/original.js +88 -52
- package/lib/icon/pdf-fill.js +88 -52
- package/lib/icon/play-shape.js +88 -52
- package/lib/icon/plus.js +88 -52
- package/lib/icon/ppt-fill.js +88 -52
- package/lib/icon/qq.js +88 -52
- package/lib/icon/right-shape.js +88 -52
- package/lib/icon/right-turn-line.js +88 -52
- package/lib/icon/search.js +88 -52
- package/lib/icon/share.js +88 -52
- package/lib/icon/spinner.js +88 -52
- package/lib/icon/success.js +88 -52
- package/lib/icon/switcher-loading.js +88 -52
- package/lib/icon/text-file.js +88 -52
- package/lib/icon/text-fill.js +88 -52
- package/lib/icon/transfer.js +88 -52
- package/lib/icon/tree-application-shape.js +88 -52
- package/lib/icon/unfull-screen.js +88 -52
- package/lib/icon/unvisible.js +88 -52
- package/lib/icon/up-shape.js +88 -52
- package/lib/icon/upload.js +88 -52
- package/lib/icon/video-fill.js +88 -52
- package/lib/icon/warn.js +88 -52
- package/lib/icon/weixin.js +88 -52
- package/lib/image/index.js +213 -164
- package/lib/index.js +134 -50
- package/lib/info-box/index.js +206 -152
- package/lib/input/index.js +167 -99
- package/lib/link/index.js +115 -47
- package/lib/loading/index.js +127 -67
- package/lib/menu/index.js +156 -92
- package/lib/message/index.js +148 -76
- package/lib/modal/index.js +151 -85
- package/lib/navigation/index.js +134 -66
- package/lib/notify/index.js +153 -81
- package/lib/overflow-title/index.js +128 -92
- package/lib/pagination/index.js +220 -131
- package/lib/plugin-popover/index.js +190 -143
- package/lib/plugins/index.js +100 -33
- package/lib/popover/index.js +193 -148
- package/lib/popover2/index.js +99 -35
- package/lib/preset.js +104 -37
- package/lib/process/index.js +134 -92
- package/lib/progress/index.js +127 -63
- package/lib/radio/index.js +142 -81
- package/lib/rate/index.js +127 -63
- package/lib/resize-layout/index.js +147 -79
- package/lib/search-select/index.js +220 -168
- package/lib/select/index.js +394 -315
- package/lib/shared/index.js +203 -228
- package/lib/sideslider/index.js +137 -88
- package/lib/slider/index.js +196 -147
- package/lib/steps/index.js +152 -105
- package/lib/swiper/index.js +126 -62
- package/lib/switcher/index.js +133 -65
- package/lib/tab/index.js +188 -118
- package/lib/table/index.js +572 -457
- package/lib/table-column/index.js +197 -129
- package/lib/tag/index.js +130 -58
- package/lib/tag-input/index.js +277 -175
- package/lib/time-picker/index.js +111 -40
- package/lib/timeline/index.js +114 -50
- package/lib/transfer/index.js +174 -89
- package/lib/tree/index.js +235 -158
- package/lib/upload/index.js +227 -173
- package/lib/virtual-render/index.js +154 -86
- package/package.json +1 -1
package/lib/tree/index.js
CHANGED
@@ -1,11 +1,15 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
1
|
+
(function webpackUniversalModuleDefinition(root, factory) {
|
2
|
+
if(typeof exports === 'object' && typeof module === 'object')
|
3
|
+
module.exports = factory(require("../shared"), require("vue"), require("../virtual-render"), require("vue-types"), require("../exception"), require("../checkbox"), require("../icon"));
|
4
|
+
else if(typeof define === 'function' && define.amd)
|
5
|
+
define(["../shared", "vue", "../virtual-render", "vue-types", "../exception", "../checkbox", "../icon"], factory);
|
6
|
+
else {
|
7
|
+
var a = typeof exports === 'object' ? factory(require("../shared"), require("vue"), require("../virtual-render"), require("vue-types"), require("../exception"), require("../checkbox"), require("../icon")) : factory(root["../shared"], root["vue"], root["../virtual-render"], root["vue-types"], root["../exception"], root["../checkbox"], root["../icon"]);
|
8
|
+
for(var i in a) (typeof exports === 'object' ? exports : root)[i] = a[i];
|
9
|
+
}
|
10
|
+
})(self, (__WEBPACK_EXTERNAL_MODULE__4212__, __WEBPACK_EXTERNAL_MODULE__748__, __WEBPACK_EXTERNAL_MODULE__3511__, __WEBPACK_EXTERNAL_MODULE__210__, __WEBPACK_EXTERNAL_MODULE__9911__, __WEBPACK_EXTERNAL_MODULE__5800__, __WEBPACK_EXTERNAL_MODULE__6870__) => {
|
11
|
+
return /******/ (() => { // webpackBootstrap
|
12
|
+
/******/ var __webpack_modules__ = ({
|
9
13
|
|
10
14
|
/***/ 8022:
|
11
15
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
@@ -246,74 +250,151 @@ function v4(options, buf, offset) {
|
|
246
250
|
module.exports = v4;
|
247
251
|
|
248
252
|
|
253
|
+
/***/ }),
|
254
|
+
|
255
|
+
/***/ 5800:
|
256
|
+
/***/ ((module) => {
|
257
|
+
|
258
|
+
"use strict";
|
259
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__5800__;
|
260
|
+
|
261
|
+
/***/ }),
|
262
|
+
|
263
|
+
/***/ 9911:
|
264
|
+
/***/ ((module) => {
|
265
|
+
|
266
|
+
"use strict";
|
267
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__9911__;
|
268
|
+
|
269
|
+
/***/ }),
|
270
|
+
|
271
|
+
/***/ 6870:
|
272
|
+
/***/ ((module) => {
|
273
|
+
|
274
|
+
"use strict";
|
275
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__6870__;
|
276
|
+
|
277
|
+
/***/ }),
|
278
|
+
|
279
|
+
/***/ 4212:
|
280
|
+
/***/ ((module) => {
|
281
|
+
|
282
|
+
"use strict";
|
283
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__4212__;
|
284
|
+
|
285
|
+
/***/ }),
|
286
|
+
|
287
|
+
/***/ 3511:
|
288
|
+
/***/ ((module) => {
|
289
|
+
|
290
|
+
"use strict";
|
291
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__3511__;
|
292
|
+
|
293
|
+
/***/ }),
|
294
|
+
|
295
|
+
/***/ 748:
|
296
|
+
/***/ ((module) => {
|
297
|
+
|
298
|
+
"use strict";
|
299
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__748__;
|
300
|
+
|
301
|
+
/***/ }),
|
302
|
+
|
303
|
+
/***/ 210:
|
304
|
+
/***/ ((module) => {
|
305
|
+
|
306
|
+
"use strict";
|
307
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__210__;
|
308
|
+
|
249
309
|
/***/ })
|
250
310
|
|
251
|
-
/******/
|
311
|
+
/******/ });
|
252
312
|
/************************************************************************/
|
253
|
-
/******/
|
254
|
-
/******/
|
255
|
-
/******/
|
256
|
-
/******/
|
257
|
-
/******/
|
258
|
-
/******/
|
259
|
-
/******/
|
260
|
-
/******/
|
261
|
-
/******/
|
313
|
+
/******/ // The module cache
|
314
|
+
/******/ var __webpack_module_cache__ = {};
|
315
|
+
/******/
|
316
|
+
/******/ // The require function
|
317
|
+
/******/ function __webpack_require__(moduleId) {
|
318
|
+
/******/ // Check if module is in cache
|
319
|
+
/******/ var cachedModule = __webpack_module_cache__[moduleId];
|
320
|
+
/******/ if (cachedModule !== undefined) {
|
321
|
+
/******/ return cachedModule.exports;
|
322
|
+
/******/ }
|
323
|
+
/******/ // Create a new module (and put it into the cache)
|
324
|
+
/******/ var module = __webpack_module_cache__[moduleId] = {
|
325
|
+
/******/ // no module.id needed
|
326
|
+
/******/ // no module.loaded needed
|
327
|
+
/******/ exports: {}
|
328
|
+
/******/ };
|
329
|
+
/******/
|
330
|
+
/******/ // Execute the module function
|
331
|
+
/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
|
332
|
+
/******/
|
333
|
+
/******/ // Return the exports of the module
|
334
|
+
/******/ return module.exports;
|
262
335
|
/******/ }
|
263
|
-
/******/
|
264
|
-
/******/ var module = __webpack_module_cache__[moduleId] = {
|
265
|
-
/******/ // no module.id needed
|
266
|
-
/******/ // no module.loaded needed
|
267
|
-
/******/ exports: {}
|
268
|
-
/******/ };
|
269
|
-
/******/
|
270
|
-
/******/ // Execute the module function
|
271
|
-
/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
|
272
|
-
/******/
|
273
|
-
/******/ // Return the exports of the module
|
274
|
-
/******/ return module.exports;
|
275
|
-
/******/ }
|
276
|
-
/******/
|
336
|
+
/******/
|
277
337
|
/************************************************************************/
|
278
|
-
/******/
|
279
|
-
/******/
|
280
|
-
/******/
|
281
|
-
/******/
|
282
|
-
/******/
|
283
|
-
/******/
|
284
|
-
/******/
|
338
|
+
/******/ /* webpack/runtime/compat get default export */
|
339
|
+
/******/ (() => {
|
340
|
+
/******/ // getDefaultExport function for compatibility with non-harmony modules
|
341
|
+
/******/ __webpack_require__.n = (module) => {
|
342
|
+
/******/ var getter = module && module.__esModule ?
|
343
|
+
/******/ () => (module['default']) :
|
344
|
+
/******/ () => (module);
|
345
|
+
/******/ __webpack_require__.d(getter, { a: getter });
|
346
|
+
/******/ return getter;
|
347
|
+
/******/ };
|
348
|
+
/******/ })();
|
349
|
+
/******/
|
350
|
+
/******/ /* webpack/runtime/define property getters */
|
351
|
+
/******/ (() => {
|
352
|
+
/******/ // define getter functions for harmony exports
|
353
|
+
/******/ __webpack_require__.d = (exports, definition) => {
|
354
|
+
/******/ for(var key in definition) {
|
355
|
+
/******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
|
356
|
+
/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
|
357
|
+
/******/ }
|
285
358
|
/******/ }
|
286
|
-
/******/ }
|
287
|
-
/******/ };
|
288
|
-
/******/
|
289
|
-
/******/
|
290
|
-
/******/
|
291
|
-
/******/ (
|
292
|
-
/******/
|
293
|
-
/******/
|
294
|
-
/******/
|
359
|
+
/******/ };
|
360
|
+
/******/ })();
|
361
|
+
/******/
|
362
|
+
/******/ /* webpack/runtime/hasOwnProperty shorthand */
|
363
|
+
/******/ (() => {
|
364
|
+
/******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))
|
365
|
+
/******/ })();
|
366
|
+
/******/
|
367
|
+
/******/ /* webpack/runtime/make namespace object */
|
368
|
+
/******/ (() => {
|
369
|
+
/******/ // define __esModule on exports
|
370
|
+
/******/ __webpack_require__.r = (exports) => {
|
371
|
+
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
|
372
|
+
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
373
|
+
/******/ }
|
374
|
+
/******/ Object.defineProperty(exports, '__esModule', { value: true });
|
375
|
+
/******/ };
|
376
|
+
/******/ })();
|
377
|
+
/******/
|
295
378
|
/************************************************************************/
|
296
379
|
var __webpack_exports__ = {};
|
297
|
-
// This entry need to be wrapped in an IIFE because it need to be
|
380
|
+
// This entry need to be wrapped in an IIFE because it need to be in strict mode.
|
298
381
|
(() => {
|
382
|
+
"use strict";
|
383
|
+
// ESM COMPAT FLAG
|
384
|
+
__webpack_require__.r(__webpack_exports__);
|
299
385
|
|
300
386
|
// EXPORTS
|
301
387
|
__webpack_require__.d(__webpack_exports__, {
|
302
|
-
"
|
388
|
+
"default": () => (/* binding */ src)
|
303
389
|
});
|
304
390
|
|
305
|
-
|
306
|
-
var
|
307
|
-
|
308
|
-
|
309
|
-
|
310
|
-
var
|
311
|
-
var
|
312
|
-
const external_vue_namespaceObject = external_vue_x({ ["computed"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.computed, ["createVNode"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.createVNode, ["defineComponent"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.defineComponent, ["h"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.h, ["nextTick"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.nextTick, ["onMounted"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.onMounted, ["onUnmounted"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.onUnmounted, ["reactive"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.reactive, ["ref"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.ref, ["toRef"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.toRef, ["watch"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.watch });
|
313
|
-
;// CONCATENATED MODULE: external "../virtual-render"
|
314
|
-
var external_virtual_render_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
315
|
-
var external_virtual_render_y = x => () => x
|
316
|
-
const external_virtual_render_namespaceObject = external_virtual_render_x({ ["default"]: () => __WEBPACK_EXTERNAL_MODULE__virtual_render_2d1a77c9__["default"] });
|
391
|
+
// EXTERNAL MODULE: external "../shared"
|
392
|
+
var external_shared_ = __webpack_require__(4212);
|
393
|
+
// EXTERNAL MODULE: external "vue"
|
394
|
+
var external_vue_ = __webpack_require__(748);
|
395
|
+
// EXTERNAL MODULE: external "../virtual-render"
|
396
|
+
var external_virtual_render_ = __webpack_require__(3511);
|
397
|
+
var external_virtual_render_default = /*#__PURE__*/__webpack_require__.n(external_virtual_render_);
|
317
398
|
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
318
399
|
function _defineProperty(obj, key, value) {
|
319
400
|
if (key in obj) {
|
@@ -418,10 +499,8 @@ var NodeContentActionEnum;
|
|
418
499
|
NodeContentActionEnum["EXPAND"] = "expand";
|
419
500
|
NodeContentActionEnum["COLLAPSE"] = "collapse";
|
420
501
|
})(NodeContentActionEnum || (NodeContentActionEnum = {}));
|
421
|
-
|
422
|
-
var
|
423
|
-
var external_vue_types_y = x => () => x
|
424
|
-
const external_vue_types_namespaceObject = external_vue_types_x({ ["toType"]: () => __WEBPACK_EXTERNAL_MODULE_vue_types_22de060a__.toType });
|
502
|
+
// EXTERNAL MODULE: external "vue-types"
|
503
|
+
var external_vue_types_ = __webpack_require__(210);
|
425
504
|
;// CONCATENATED MODULE: ../../packages/tree/src/props.ts
|
426
505
|
|
427
506
|
|
@@ -451,94 +530,94 @@ var treeProps = {
|
|
451
530
|
/**
|
452
531
|
* 渲染列表
|
453
532
|
*/
|
454
|
-
data:
|
533
|
+
data: external_shared_.PropTypes.arrayOf(external_shared_.PropTypes.any).def([]),
|
455
534
|
|
456
535
|
/**
|
457
536
|
* 指定节点标签为节点对象的某个属性值
|
458
537
|
*/
|
459
|
-
label:
|
538
|
+
label: external_shared_.PropTypes.oneOfType([external_shared_.PropTypes.func.def(undefined), external_shared_.PropTypes.string.def('label')]),
|
460
539
|
|
461
540
|
/**
|
462
541
|
* 每个树节点用来作为唯一标识的属性,此标识应该是唯一的
|
463
542
|
* 如果设置系统会默认自动生成唯一id
|
464
543
|
*/
|
465
|
-
nodeKey:
|
544
|
+
nodeKey: external_shared_.PropTypes.string.def(undefined),
|
466
545
|
|
467
546
|
/**
|
468
547
|
* 子节点 Key, 用于读取子节点
|
469
548
|
* 默认 children
|
470
549
|
*/
|
471
|
-
children:
|
550
|
+
children: external_shared_.PropTypes.string.def('children'),
|
472
551
|
|
473
552
|
/**
|
474
553
|
* 相邻级节点间的水平缩进,单位为像素
|
475
554
|
*/
|
476
|
-
indent:
|
555
|
+
indent: external_shared_.PropTypes.number.def(18),
|
477
556
|
|
478
557
|
/**
|
479
558
|
* 设置行高
|
480
559
|
*/
|
481
|
-
lineHeight:
|
560
|
+
lineHeight: external_shared_.PropTypes.number.def(32),
|
482
561
|
|
483
562
|
/**
|
484
563
|
* 设置层级连线
|
485
564
|
*/
|
486
|
-
levelLine:
|
565
|
+
levelLine: external_shared_.PropTypes.oneOfType([external_shared_.PropTypes.bool.def(false), external_shared_.PropTypes.func.def(undefined), external_shared_.PropTypes.string.def('1px dashed #c3cdd7')]).def(false),
|
487
566
|
|
488
567
|
/**
|
489
568
|
* 是否开启虚拟滚动
|
490
569
|
* 默认虚拟滚动是开启的,数据量大的情况下有利于性能优化,可以通过设置 virtualRender = false 关闭虚拟滚动
|
491
570
|
*/
|
492
|
-
virtualRender:
|
571
|
+
virtualRender: external_shared_.PropTypes.bool.def(false),
|
493
572
|
|
494
573
|
/**
|
495
574
|
* 当前节点标识图标
|
496
575
|
* 默认 true
|
497
576
|
*/
|
498
|
-
prefixIcon:
|
577
|
+
prefixIcon: external_shared_.PropTypes.oneOfType([external_shared_.PropTypes.func.def(function () {}), external_shared_.PropTypes.bool.def(false)]).def(true),
|
499
578
|
|
500
579
|
/**
|
501
580
|
* 异步加载节点数据配置
|
502
581
|
* @param callback 请求数据回调函数,函数返回 Promise
|
503
582
|
* @param cache 是否缓存请求结果,默认为True,只有在第一次才会发起请求,若设置为false则每次都会发起请求
|
504
583
|
*/
|
505
|
-
async:
|
584
|
+
async: external_shared_.PropTypes.shape({
|
506
585
|
/**
|
507
586
|
* 点击节点需要执行的异步函数
|
508
587
|
* 返回 Promise
|
509
588
|
*/
|
510
|
-
callback:
|
589
|
+
callback: external_shared_.PropTypes.func.def(undefined),
|
511
590
|
|
512
591
|
/**
|
513
592
|
* 是否缓存异步请求结果
|
514
593
|
* true 只在第一次点击请求异步函数
|
515
594
|
* false 每次点击都执行异步函数
|
516
595
|
*/
|
517
|
-
cache:
|
596
|
+
cache: external_shared_.PropTypes.bool.def(true),
|
518
597
|
|
519
598
|
/**
|
520
599
|
* 异步请求节点是否自动展开
|
521
600
|
* 可选值:once 只在初始化是执行一次
|
522
601
|
* every 每次数据更新都执行
|
523
602
|
*/
|
524
|
-
deepAutoOpen: (0,
|
603
|
+
deepAutoOpen: (0,external_vue_types_.toType)('columnType', {}).def(ColumnTypeEnum.ONCE)
|
525
604
|
}),
|
526
605
|
|
527
606
|
/**
|
528
607
|
* 每个节点偏移左侧距离
|
529
608
|
*/
|
530
|
-
offsetLeft:
|
609
|
+
offsetLeft: external_shared_.PropTypes.number.def(5),
|
531
610
|
|
532
611
|
/**
|
533
612
|
* 搜索配置
|
534
613
|
* 可以为一个配置项 SearchOption
|
535
614
|
* 或者直接为一个字符串,如果直接为字符串则模糊匹配此值
|
536
615
|
*/
|
537
|
-
search:
|
616
|
+
search: external_shared_.PropTypes.oneOfType([external_shared_.PropTypes.shape({
|
538
617
|
/**
|
539
618
|
* 需要匹配的值
|
540
619
|
* */
|
541
|
-
value:
|
620
|
+
value: external_shared_.PropTypes.oneOfType([external_shared_.PropTypes.number, external_shared_.PropTypes.string, external_shared_.PropTypes.bool]).def(''),
|
542
621
|
|
543
622
|
/**
|
544
623
|
* 匹配方式
|
@@ -546,82 +625,81 @@ var treeProps = {
|
|
546
625
|
* 默认 模糊匹配(fuzzy)
|
547
626
|
* 支持自定义匹配函数 (searchValue, itemText, item) => true || false
|
548
627
|
*/
|
549
|
-
match:
|
628
|
+
match: external_shared_.PropTypes.oneOfType([(0,external_vue_types_.toType)('TreeSearchMatchType', {}).def(TreeSearchMatchEnum.FUZZY), external_shared_.PropTypes.func]),
|
550
629
|
|
551
630
|
/**
|
552
631
|
* 搜索结果如何展示
|
553
632
|
* 显示为 tree || list
|
554
633
|
* 默认 tree
|
555
634
|
*/
|
556
|
-
resultType: (0,
|
635
|
+
resultType: (0,external_vue_types_.toType)('treeSearchResultType', {}).def(TreeSearchResultEnum.TREE),
|
557
636
|
|
558
637
|
/**
|
559
638
|
* 默认展开所有搜索结果
|
560
639
|
*/
|
561
|
-
openResultNode:
|
562
|
-
}),
|
563
|
-
emptyText:
|
564
|
-
draggable:
|
565
|
-
disableDrag:
|
566
|
-
disableDrop:
|
640
|
+
openResultNode: external_shared_.PropTypes.bool
|
641
|
+
}), external_shared_.PropTypes.string, external_shared_.PropTypes.number, external_shared_.PropTypes.bool]).def(undefined),
|
642
|
+
emptyText: external_shared_.PropTypes.string.def('没有数据'),
|
643
|
+
draggable: external_shared_.PropTypes.bool.def(false),
|
644
|
+
disableDrag: external_shared_.PropTypes.func.def(null),
|
645
|
+
disableDrop: external_shared_.PropTypes.func.def(null),
|
567
646
|
|
568
647
|
/**
|
569
648
|
* 节点拖拽时可交换位置(开启拖拽可交换位置后将不支持改变层级)
|
570
649
|
*/
|
571
|
-
dragSort:
|
650
|
+
dragSort: external_shared_.PropTypes.bool.def(false),
|
572
651
|
|
573
652
|
/**
|
574
653
|
* 节点是否可以选中
|
575
654
|
*/
|
576
|
-
selectable:
|
577
|
-
disabledFolderSelectable:
|
655
|
+
selectable: external_shared_.PropTypes.oneOfType([external_shared_.PropTypes.bool, external_shared_.PropTypes.func]).def(true),
|
656
|
+
disabledFolderSelectable: external_shared_.PropTypes.bool.def(false),
|
578
657
|
|
579
658
|
/**
|
580
659
|
* 是否支持多选
|
581
660
|
*/
|
582
|
-
showCheckbox:
|
661
|
+
showCheckbox: external_shared_.PropTypes.bool.def(false),
|
583
662
|
|
584
663
|
/**
|
585
664
|
* 是否显示节点类型Icon
|
586
665
|
*/
|
587
|
-
showNodeTypeIcon:
|
666
|
+
showNodeTypeIcon: external_shared_.PropTypes.bool.def(true),
|
588
667
|
|
589
668
|
/**
|
590
669
|
* 默认选中的节点id,selectable为false时无效
|
591
670
|
*/
|
592
|
-
selected:
|
671
|
+
selected: external_shared_.PropTypes.oneOfType([external_shared_.PropTypes.string, null, external_shared_.PropTypes.number, external_shared_.PropTypes.object]).def(null),
|
593
672
|
|
594
673
|
/**
|
595
674
|
* 是否自动检查当前节点是否有子节点
|
596
675
|
* 节点前面的展开收起Icon会根据判定值做改变
|
597
676
|
* 如果需要自已控制,请设置为false
|
598
677
|
*/
|
599
|
-
autoCheckChildren:
|
678
|
+
autoCheckChildren: external_shared_.PropTypes.bool.def(true),
|
600
679
|
|
601
680
|
/**
|
602
681
|
* 如果设置了某一个叶子节点状态为展开,是否自动展开所有父级节点
|
603
682
|
* 默认为true,如果设置为false,则每层状态需要自己控制
|
604
683
|
*/
|
605
|
-
autoOpenParentNode:
|
684
|
+
autoOpenParentNode: external_shared_.PropTypes.bool.def(true),
|
606
685
|
|
607
686
|
/**
|
608
687
|
* 默认是否展开所有节点
|
609
688
|
*/
|
610
|
-
expandAll:
|
689
|
+
expandAll: external_shared_.PropTypes.bool.def(false),
|
611
690
|
|
612
691
|
/**
|
613
692
|
* 节点内容点击行为
|
614
693
|
* 此处配置每个节点除了展开\收起箭头之外的内容块时的行为
|
615
694
|
* 默认为 ['selected', 'expand', 'click'],点击内容块为选中当前节点
|
616
695
|
*/
|
617
|
-
nodeContentAction:
|
696
|
+
nodeContentAction: external_shared_.PropTypes.oneOfType([external_shared_.PropTypes.arrayOf((0,external_vue_types_.toType)('nodeContentActionType', {}).def(NodeContentActionEnum.CLICK)), external_shared_.PropTypes.func.def(function () {
|
618
697
|
return ['selected'];
|
619
698
|
})]).def(['selected', 'expand', 'click'])
|
620
699
|
};
|
621
|
-
|
622
|
-
var
|
623
|
-
var
|
624
|
-
const external_exception_namespaceObject = external_exception_x({ ["default"]: () => __WEBPACK_EXTERNAL_MODULE__exception_12c197e0__["default"] });
|
700
|
+
// EXTERNAL MODULE: external "../exception"
|
701
|
+
var external_exception_ = __webpack_require__(9911);
|
702
|
+
var external_exception_default = /*#__PURE__*/__webpack_require__.n(external_exception_);
|
625
703
|
;// CONCATENATED MODULE: ../../packages/tree/src/use-empty.tsx
|
626
704
|
|
627
705
|
|
@@ -657,7 +735,7 @@ const external_exception_namespaceObject = external_exception_x({ ["default"]: (
|
|
657
735
|
renderEmpty: function renderEmpty(type) {
|
658
736
|
var _a, _b;
|
659
737
|
|
660
|
-
return (0,
|
738
|
+
return (0,external_vue_.createVNode)((external_exception_default()), {
|
661
739
|
"scene": "part",
|
662
740
|
"type": type
|
663
741
|
}, {
|
@@ -678,14 +756,11 @@ function _typeof(obj) {
|
|
678
756
|
return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
|
679
757
|
}, _typeof(obj);
|
680
758
|
}
|
681
|
-
|
682
|
-
var
|
683
|
-
var
|
684
|
-
|
685
|
-
|
686
|
-
var external_icon_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
687
|
-
var external_icon_y = x => () => x
|
688
|
-
const external_icon_namespaceObject = external_icon_x({ ["DownShape"]: () => __WEBPACK_EXTERNAL_MODULE__icon_85385c3e__.DownShape, ["Folder"]: () => __WEBPACK_EXTERNAL_MODULE__icon_85385c3e__.Folder, ["FolderShapeOpen"]: () => __WEBPACK_EXTERNAL_MODULE__icon_85385c3e__.FolderShapeOpen, ["RightShape"]: () => __WEBPACK_EXTERNAL_MODULE__icon_85385c3e__.RightShape, ["Spinner"]: () => __WEBPACK_EXTERNAL_MODULE__icon_85385c3e__.Spinner, ["TextFile"]: () => __WEBPACK_EXTERNAL_MODULE__icon_85385c3e__.TextFile });
|
759
|
+
// EXTERNAL MODULE: external "../checkbox"
|
760
|
+
var external_checkbox_ = __webpack_require__(5800);
|
761
|
+
var external_checkbox_default = /*#__PURE__*/__webpack_require__.n(external_checkbox_);
|
762
|
+
// EXTERNAL MODULE: external "../icon"
|
763
|
+
var external_icon_ = __webpack_require__(6870);
|
689
764
|
;// CONCATENATED MODULE: ../../packages/tree/src/use-node-attribute.tsx
|
690
765
|
|
691
766
|
|
@@ -1144,7 +1219,7 @@ var getNodeRowClass = function getNodeRowClass(item, schema) {
|
|
1144
1219
|
'is-selected': __is_selected,
|
1145
1220
|
'node-folder': item.is_folder,
|
1146
1221
|
'node-leaf': item.is_leaf
|
1147
|
-
}, (0,
|
1222
|
+
}, (0,external_shared_.resolveClassName)('node-row'), true);
|
1148
1223
|
};
|
1149
1224
|
/**
|
1150
1225
|
* 根据路径更新指定节点Child-Data
|
@@ -1392,10 +1467,10 @@ var use_node_action_this = undefined;
|
|
1392
1467
|
|
1393
1468
|
|
1394
1469
|
var getRootIcon = function getRootIcon(item) {
|
1395
|
-
return isItemOpen(item) ? (0,
|
1396
|
-
"class": [(0,
|
1397
|
-
}, null) : (0,
|
1398
|
-
"class": [(0,
|
1470
|
+
return isItemOpen(item) ? (0,external_vue_.createVNode)(external_icon_.FolderShapeOpen, {
|
1471
|
+
"class": [(0,external_shared_.resolveClassName)('tree-icon'), (0,external_shared_.resolveClassName)('node-prefix')]
|
1472
|
+
}, null) : (0,external_vue_.createVNode)(external_icon_.Folder, {
|
1473
|
+
"class": [(0,external_shared_.resolveClassName)('tree-icon'), (0,external_shared_.resolveClassName)('node-prefix')]
|
1399
1474
|
}, null);
|
1400
1475
|
};
|
1401
1476
|
/**
|
@@ -1419,7 +1494,7 @@ var use_node_action_this = undefined;
|
|
1419
1494
|
className = val.className,
|
1420
1495
|
text = val.text,
|
1421
1496
|
style = val.style;
|
1422
|
-
return (0,
|
1497
|
+
return (0,external_vue_.h)(node, {
|
1423
1498
|
"class": className,
|
1424
1499
|
style: style
|
1425
1500
|
}, text);
|
@@ -1431,7 +1506,7 @@ var use_node_action_this = undefined;
|
|
1431
1506
|
var getLoadingIcon = function getLoadingIcon(item) {
|
1432
1507
|
var _a, _b, _c;
|
1433
1508
|
|
1434
|
-
return ((_c = (_b = (_a = ctx.slots).nodeLoading) === null || _b === void 0 ? void 0 : _b.call(_a, extendNodeAttr(item))) !== null && _c !== void 0 ? _c : isNodeLoading(item)) ? (0,
|
1509
|
+
return ((_c = (_b = (_a = ctx.slots).nodeLoading) === null || _b === void 0 ? void 0 : _b.call(_a, extendNodeAttr(item))) !== null && _c !== void 0 ? _c : isNodeLoading(item)) ? (0,external_vue_.createVNode)(external_icon_.Spinner, null, null) : '';
|
1435
1510
|
};
|
1436
1511
|
/**
|
1437
1512
|
* 根据节点状态获取节点操作Icon
|
@@ -1461,10 +1536,10 @@ var use_node_action_this = undefined;
|
|
1461
1536
|
|
1462
1537
|
if (prefixFnVal === 'default' || typeof props.prefixIcon === 'boolean' && props.prefixIcon) {
|
1463
1538
|
if (hasChildNode(item) || item.async || !props.autoCheckChildren) {
|
1464
|
-
return isItemOpen(item) ? (0,
|
1465
|
-
"class": (0,
|
1466
|
-
}, null) : (0,
|
1467
|
-
"class": (0,
|
1539
|
+
return isItemOpen(item) ? (0,external_vue_.createVNode)(external_icon_.DownShape, {
|
1540
|
+
"class": (0,external_shared_.resolveClassName)('node-prefix')
|
1541
|
+
}, null) : (0,external_vue_.createVNode)(external_icon_.RightShape, {
|
1542
|
+
"class": (0,external_shared_.resolveClassName)('node-prefix')
|
1468
1543
|
}, null);
|
1469
1544
|
}
|
1470
1545
|
}
|
@@ -1498,8 +1573,8 @@ var use_node_action_this = undefined;
|
|
1498
1573
|
}
|
1499
1574
|
|
1500
1575
|
if (prefixFnVal === 'default' || typeof props.prefixIcon === 'boolean' && props.prefixIcon) {
|
1501
|
-
return isRootNode(item) || hasChildNode(item) ? getRootIcon(item) : (0,
|
1502
|
-
"class": [(0,
|
1576
|
+
return isRootNode(item) || hasChildNode(item) ? getRootIcon(item) : (0,external_vue_.createVNode)(external_icon_.TextFile, {
|
1577
|
+
"class": [(0,external_shared_.resolveClassName)('tree-icon'), (0,external_shared_.resolveClassName)('node-prefix')]
|
1503
1578
|
}, null);
|
1504
1579
|
}
|
1505
1580
|
|
@@ -1561,7 +1636,7 @@ var use_node_action_this = undefined;
|
|
1561
1636
|
return null;
|
1562
1637
|
}
|
1563
1638
|
|
1564
|
-
return (0,
|
1639
|
+
return (0,external_vue_.createVNode)((external_checkbox_default()), {
|
1565
1640
|
"size": 'small',
|
1566
1641
|
"modelValue": isNodeItemChecked(item),
|
1567
1642
|
"indeterminate": isIndeterminate(item),
|
@@ -1739,7 +1814,7 @@ var use_node_action_this = undefined;
|
|
1739
1814
|
|
1740
1815
|
if (getNodeAttr(resolvedItem, NODE_ATTRIBUTES.IS_ASYNC)) {
|
1741
1816
|
asyncNodeClick(resolvedItem).then(function () {
|
1742
|
-
(0,
|
1817
|
+
(0,external_vue_.nextTick)(function () {
|
1743
1818
|
nodeList.shift();
|
1744
1819
|
setSelect(nodeList, selected, autoOpen);
|
1745
1820
|
});
|
@@ -1851,7 +1926,7 @@ var use_node_action_this = undefined;
|
|
1851
1926
|
return depth > 0;
|
1852
1927
|
}) // @ts-ignore:next-line
|
1853
1928
|
.map(function (index) {
|
1854
|
-
return (0,
|
1929
|
+
return (0,external_vue_.createVNode)("span", {
|
1855
1930
|
"class": "node-virtual-line",
|
1856
1931
|
"style": getNodeLineStyle(maxDeep - index)
|
1857
1932
|
}, null);
|
@@ -1861,25 +1936,25 @@ var use_node_action_this = undefined;
|
|
1861
1936
|
var renderTreeNode = function renderTreeNode(item) {
|
1862
1937
|
var _a, _b, _c, _d, _e;
|
1863
1938
|
|
1864
|
-
return (0,
|
1939
|
+
return (0,external_vue_.createVNode)("div", {
|
1865
1940
|
"data-tree-node": getNodeId(item),
|
1866
1941
|
"key": getNodeId(item),
|
1867
1942
|
"class": getNodeRowClass(item, flatData.schema)
|
1868
|
-
}, [(0,
|
1943
|
+
}, [(0,external_vue_.createVNode)("div", {
|
1869
1944
|
"class": getNodeItemClass(item, flatData.schema, props),
|
1870
1945
|
"style": getNodeItemStyle(item, props, flatData),
|
1871
1946
|
"onClick": function onClick(e) {
|
1872
1947
|
return handleNodeContentClick(item, e);
|
1873
1948
|
}
|
1874
|
-
}, [(0,
|
1875
|
-
"class": [(0,
|
1949
|
+
}, [(0,external_vue_.createVNode)("div", {
|
1950
|
+
"class": [(0,external_shared_.resolveClassName)('node-action')],
|
1876
1951
|
"onClick": function onClick(e) {
|
1877
1952
|
return handleNodeActionClick(e, item);
|
1878
1953
|
}
|
1879
|
-
}, [getActionIcon(item)]), (0,
|
1880
|
-
"class": (0,
|
1881
|
-
}, [[getCheckboxRender(item), getNodePrefixIcon(item)], (0,
|
1882
|
-
"class": (0,
|
1954
|
+
}, [getActionIcon(item)]), (0,external_vue_.createVNode)("div", {
|
1955
|
+
"class": (0,external_shared_.resolveClassName)('node-content')
|
1956
|
+
}, [[getCheckboxRender(item), getNodePrefixIcon(item)], (0,external_vue_.createVNode)("span", {
|
1957
|
+
"class": (0,external_shared_.resolveClassName)('node-text')
|
1883
1958
|
}, [(_c = (_b = (_a = ctx.slots).node) === null || _b === void 0 ? void 0 : _b.call(_a, extendNodeAttr(item))) !== null && _c !== void 0 ? _c : [getLabel(item, props)]]), (_e = (_d = ctx.slots).nodeAppend) === null || _e === void 0 ? void 0 : _e.call(_d, extendNodeAttr(item))]), getVirtualLines(item)])]);
|
1884
1959
|
};
|
1885
1960
|
|
@@ -1936,10 +2011,10 @@ var use_node_drag_this = undefined;
|
|
1936
2011
|
getNodePath = _useNodeAttribute.getNodePath,
|
1937
2012
|
isRootNode = _useNodeAttribute.isRootNode;
|
1938
2013
|
|
1939
|
-
var isNeedCheckDraggable = (0,
|
2014
|
+
var isNeedCheckDraggable = (0,external_vue_.computed)(function () {
|
1940
2015
|
return typeof props.disableDrag === 'function';
|
1941
2016
|
});
|
1942
|
-
var isNeedCheckDroppable = (0,
|
2017
|
+
var isNeedCheckDroppable = (0,external_vue_.computed)(function () {
|
1943
2018
|
return typeof props.disableDrop === 'function';
|
1944
2019
|
});
|
1945
2020
|
|
@@ -2083,7 +2158,7 @@ var use_node_drag_this = undefined;
|
|
2083
2158
|
ctx.emit(EVENTS.NODE_DRAG_LEAVE, e, targetNode);
|
2084
2159
|
};
|
2085
2160
|
|
2086
|
-
(0,
|
2161
|
+
(0,external_vue_.onMounted)(function () {
|
2087
2162
|
if (props.draggable && root.value) {
|
2088
2163
|
var rootTree = root.value.$el;
|
2089
2164
|
rootTree.addEventListener('mousedown', handleTreeNodeMousedown);
|
@@ -2093,7 +2168,7 @@ var use_node_drag_this = undefined;
|
|
2093
2168
|
rootTree.addEventListener('drop', handleTreeNodeDrop);
|
2094
2169
|
}
|
2095
2170
|
});
|
2096
|
-
(0,
|
2171
|
+
(0,external_vue_.onUnmounted)(function () {
|
2097
2172
|
if (props.draggable && root.value) {
|
2098
2173
|
var rootTree = root.value.$el;
|
2099
2174
|
rootTree.removeEventListener('mousedown', handleTreeNodeMousedown);
|
@@ -2138,7 +2213,7 @@ var use_search_this = undefined;
|
|
2138
2213
|
/* harmony default export */ const use_search = (function (props) {
|
2139
2214
|
var _a;
|
2140
2215
|
|
2141
|
-
var refSearch = (0,
|
2216
|
+
var refSearch = (0,external_vue_.toRef)(props, 'search');
|
2142
2217
|
|
2143
2218
|
var _ref = (_a = props.search) !== null && _a !== void 0 ? _a : {},
|
2144
2219
|
_ref$openResultNode = _ref.openResultNode,
|
@@ -2188,7 +2263,7 @@ var use_search_this = undefined;
|
|
2188
2263
|
return matchFn(matchCallback, [value, itemValue, item]);
|
2189
2264
|
};
|
2190
2265
|
|
2191
|
-
var isSearchActive = (0,
|
2266
|
+
var isSearchActive = (0,external_vue_.computed)(function () {
|
2192
2267
|
return refSearch.value !== false && (isCommonType(refSearch.value) ? "".concat(refSearch.value).length > 0 : _typeof(refSearch.value) === 'object');
|
2193
2268
|
});
|
2194
2269
|
/**
|
@@ -2454,12 +2529,12 @@ var use_tree_init_this = undefined;
|
|
2454
2529
|
* schema: 需要展示连线时,用于计算连线高度
|
2455
2530
|
*/
|
2456
2531
|
|
2457
|
-
var flatData = (0,
|
2532
|
+
var flatData = (0,external_vue_.reactive)({
|
2458
2533
|
data: formatData[0],
|
2459
2534
|
schema: formatData[1],
|
2460
2535
|
levelLineSchema: {}
|
2461
2536
|
});
|
2462
|
-
var schemaValues = (0,
|
2537
|
+
var schemaValues = (0,external_vue_.computed)(function () {
|
2463
2538
|
return Array.from(flatData.schema.values());
|
2464
2539
|
});
|
2465
2540
|
|
@@ -2551,7 +2626,7 @@ var use_tree_init_this = undefined;
|
|
2551
2626
|
*/
|
2552
2627
|
|
2553
2628
|
|
2554
|
-
(0,
|
2629
|
+
(0,external_vue_.watch)(function () {
|
2555
2630
|
return [props.data];
|
2556
2631
|
}, function (newData) {
|
2557
2632
|
var _a, _b;
|
@@ -2575,8 +2650,8 @@ var use_tree_init_this = undefined;
|
|
2575
2650
|
});
|
2576
2651
|
|
2577
2652
|
if (props.selectable) {
|
2578
|
-
(0,
|
2579
|
-
(0,
|
2653
|
+
(0,external_vue_.onMounted)(function () {
|
2654
|
+
(0,external_vue_.watch)(function () {
|
2580
2655
|
return props.selected;
|
2581
2656
|
}, function (newData) {
|
2582
2657
|
// console.log('watch selected changed');
|
@@ -2659,7 +2734,7 @@ var use_tree_init_this = undefined;
|
|
2659
2734
|
|
2660
2735
|
|
2661
2736
|
|
2662
|
-
/* harmony default export */ const tree = ((0,
|
2737
|
+
/* harmony default export */ const tree = ((0,external_vue_.defineComponent)({
|
2663
2738
|
name: 'Tree',
|
2664
2739
|
props: treeProps,
|
2665
2740
|
emits: TreeEmitEventsType,
|
@@ -2690,7 +2765,7 @@ var use_tree_init_this = undefined;
|
|
2690
2765
|
isSearchDisabled = _useSearch.isSearchDisabled;
|
2691
2766
|
|
2692
2767
|
if (!isSearchDisabled) {
|
2693
|
-
(0,
|
2768
|
+
(0,external_vue_.watch)([refSearch], function () {
|
2694
2769
|
flatData.data.forEach(function (item) {
|
2695
2770
|
var isMatch = searchFn(getLabel(item, props), item);
|
2696
2771
|
setNodeAttr(item, NODE_ATTRIBUTES.IS_MATCH, isMatch);
|
@@ -2719,7 +2794,7 @@ var use_tree_init_this = undefined;
|
|
2719
2794
|
}; // 计算当前需要渲染的节点信息
|
2720
2795
|
|
2721
2796
|
|
2722
|
-
var renderData = (0,
|
2797
|
+
var renderData = (0,external_vue_.computed)(function () {
|
2723
2798
|
return flatData.data.filter(function (item) {
|
2724
2799
|
return checkNodeIsOpen(item) && filterFn(item);
|
2725
2800
|
});
|
@@ -2770,7 +2845,7 @@ var use_tree_init_this = undefined;
|
|
2770
2845
|
asyncNodeClick: asyncNodeClick,
|
2771
2846
|
getData: getData
|
2772
2847
|
});
|
2773
|
-
var root = (0,
|
2848
|
+
var root = (0,external_vue_.ref)();
|
2774
2849
|
|
2775
2850
|
var _useEmpty = use_empty(props, ctx),
|
2776
2851
|
renderEmpty = _useEmpty.renderEmpty;
|
@@ -2787,13 +2862,13 @@ var use_tree_init_this = undefined;
|
|
2787
2862
|
};
|
2788
2863
|
|
2789
2864
|
return function () {
|
2790
|
-
return (0,
|
2791
|
-
"class": (0,
|
2865
|
+
return (0,external_vue_.createVNode)((external_virtual_render_default()), {
|
2866
|
+
"class": (0,external_shared_.resolveClassName)('tree'),
|
2792
2867
|
"style": getTreeStyle(null, props),
|
2793
2868
|
"list": renderData.value,
|
2794
2869
|
"lineHeight": props.lineHeight,
|
2795
2870
|
"enabled": props.virtualRender,
|
2796
|
-
"contentClassName": (0,
|
2871
|
+
"contentClassName": (0,external_shared_.resolveClassName)('container'),
|
2797
2872
|
"throttleDelay": 0,
|
2798
2873
|
"ref": root
|
2799
2874
|
}, {
|
@@ -2832,9 +2907,11 @@ var use_tree_init_this = undefined;
|
|
2832
2907
|
*/
|
2833
2908
|
|
2834
2909
|
|
2835
|
-
var BkTree = (0,
|
2910
|
+
var BkTree = (0,external_shared_.withInstall)(tree);
|
2836
2911
|
/* harmony default export */ const src = (BkTree);
|
2837
2912
|
})();
|
2838
2913
|
|
2839
|
-
|
2840
|
-
|
2914
|
+
/******/ return __webpack_exports__;
|
2915
|
+
/******/ })()
|
2916
|
+
;
|
2917
|
+
});
|