@juzhenfe/page-model 3.14.7 → 3.14.9

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/dist/index.es.js CHANGED
@@ -9,6 +9,37 @@ import { ElMessage, ElLoading, useZIndex, ElMessageBox } from "element-plus";
9
9
  function defineConfig(config) {
10
10
  return reactive(config);
11
11
  }
12
+ class ManagerController {
13
+ constructor() {
14
+ __publicField(this, "_id", 0);
15
+ __publicField(this, "currentManagerId", 0);
16
+ __publicField(this, "managers", {});
17
+ }
18
+ getManagerId() {
19
+ this._id += 1;
20
+ this.setCurrentManagerId(this._id);
21
+ return this._id;
22
+ }
23
+ getManager(id) {
24
+ return this.managers[id];
25
+ }
26
+ getCurrentManager() {
27
+ return this.managers[this.currentManagerId];
28
+ }
29
+ getCurrentManagerId() {
30
+ return this.currentManagerId;
31
+ }
32
+ setCurrentManagerId(id) {
33
+ this.currentManagerId = id;
34
+ }
35
+ register(manager) {
36
+ this.managers[manager.id] = manager;
37
+ }
38
+ destroy(id) {
39
+ delete this.managers[id];
40
+ }
41
+ }
42
+ const managerController = new ManagerController();
12
43
  const createBEMSpace = (space) => {
13
44
  return {
14
45
  BEMSpace: space,
@@ -181,11 +212,11 @@ const randomStr = (len = 16) => {
181
212
  return RANDOM_RANGE[Math.floor(Math.random() * RANDOM_RANGE_LENGTH)];
182
213
  }).join("");
183
214
  };
184
- const _hoisted_1$C = { class: "scenes-tab" };
215
+ const _hoisted_1$E = { class: "scenes-tab" };
185
216
  const __default__$o = {
186
217
  name: "ScenesTab"
187
218
  };
188
- const _sfc_main$12 = defineComponent({
219
+ const _sfc_main$13 = defineComponent({
189
220
  ...__default__$o,
190
221
  setup(__props, { expose: __expose }) {
191
222
  const getValue2 = () => {
@@ -195,7 +226,7 @@ const _sfc_main$12 = defineComponent({
195
226
  getValue: getValue2
196
227
  });
197
228
  return (_ctx, _cache) => {
198
- return openBlock(), createElementBlock("div", _hoisted_1$C);
229
+ return openBlock(), createElementBlock("div", _hoisted_1$E);
199
230
  };
200
231
  }
201
232
  });
@@ -203,7 +234,7 @@ var index_vue_vue_type_style_index_0_lang$d = "";
203
234
  const __default__$n = {
204
235
  name: "NormalTab"
205
236
  };
206
- const _sfc_main$11 = defineComponent({
237
+ const _sfc_main$12 = defineComponent({
207
238
  ...__default__$n,
208
239
  props: {
209
240
  panes: {},
@@ -1656,7 +1687,7 @@ var index_vue_vue_type_style_index_0_lang$c = "";
1656
1687
  const __default__$m = {
1657
1688
  name: "TopTabs"
1658
1689
  };
1659
- const _sfc_main$10 = defineComponent({
1690
+ const _sfc_main$11 = defineComponent({
1660
1691
  ...__default__$m,
1661
1692
  props: {
1662
1693
  tabs: {},
@@ -1677,12 +1708,12 @@ const _sfc_main$10 = defineComponent({
1677
1708
  const tabComponent = computed(() => {
1678
1709
  if (props.tabs.useScene) {
1679
1710
  return {
1680
- component: _sfc_main$12,
1711
+ component: _sfc_main$13,
1681
1712
  props: props.tabs.sceneTab
1682
1713
  };
1683
1714
  } else {
1684
1715
  return {
1685
- component: _sfc_main$11,
1716
+ component: _sfc_main$12,
1686
1717
  props: {
1687
1718
  panes: props.tabs.panes,
1688
1719
  props: props.tabs.props
@@ -2306,10 +2337,10 @@ var _export_sfc$1 = (sfc, props) => {
2306
2337
  }
2307
2338
  return target;
2308
2339
  };
2309
- const _sfc_main$$ = defineComponent({
2340
+ const _sfc_main$10 = defineComponent({
2310
2341
  name: "ArrowDownBold"
2311
2342
  });
2312
- const _hoisted_1$B = {
2343
+ const _hoisted_1$D = {
2313
2344
  class: "icon",
2314
2345
  width: "200",
2315
2346
  height: "200",
@@ -2320,17 +2351,17 @@ const _hoisted_2$u = /* @__PURE__ */ createElementVNode("path", {
2320
2351
  fill: "currentColor",
2321
2352
  d: "M104.704 338.752a64 64 0 0190.496 0l316.8 316.8 316.8-316.8a64 64 0 0190.496 90.496L557.248 791.296a64 64 0 01-90.496 0L104.704 429.248a64 64 0 010-90.496z"
2322
2353
  }, null, -1);
2323
- const _hoisted_3$r = [
2354
+ const _hoisted_3$t = [
2324
2355
  _hoisted_2$u
2325
2356
  ];
2326
- function _sfc_render$l(_ctx, _cache, $props, $setup, $data, $options) {
2327
- return openBlock(), createElementBlock("svg", _hoisted_1$B, _hoisted_3$r);
2357
+ function _sfc_render$m(_ctx, _cache, $props, $setup, $data, $options) {
2358
+ return openBlock(), createElementBlock("svg", _hoisted_1$D, _hoisted_3$t);
2328
2359
  }
2329
- var arrowDownBold = /* @__PURE__ */ _export_sfc$1(_sfc_main$$, [["render", _sfc_render$l]]);
2330
- const _sfc_main$_ = defineComponent({
2360
+ var arrowDownBold = /* @__PURE__ */ _export_sfc$1(_sfc_main$10, [["render", _sfc_render$m]]);
2361
+ const _sfc_main$$ = defineComponent({
2331
2362
  name: "ArrowDown"
2332
2363
  });
2333
- const _hoisted_1$A = {
2364
+ const _hoisted_1$C = {
2334
2365
  class: "icon",
2335
2366
  width: "200",
2336
2367
  height: "200",
@@ -2341,17 +2372,17 @@ const _hoisted_2$t = /* @__PURE__ */ createElementVNode("path", {
2341
2372
  fill: "currentColor",
2342
2373
  d: "M831.872 340.864L512 652.672 192.128 340.864a30.592 30.592 0 00-42.752 0 29.12 29.12 0 000 41.6L489.664 714.24a32 32 0 0044.672 0l340.288-331.712a29.12 29.12 0 000-41.728 30.592 30.592 0 00-42.752 0z"
2343
2374
  }, null, -1);
2344
- const _hoisted_3$q = [
2375
+ const _hoisted_3$s = [
2345
2376
  _hoisted_2$t
2346
2377
  ];
2347
- function _sfc_render$k(_ctx, _cache, $props, $setup, $data, $options) {
2348
- return openBlock(), createElementBlock("svg", _hoisted_1$A, _hoisted_3$q);
2378
+ function _sfc_render$l(_ctx, _cache, $props, $setup, $data, $options) {
2379
+ return openBlock(), createElementBlock("svg", _hoisted_1$C, _hoisted_3$s);
2349
2380
  }
2350
- var arrowDown = /* @__PURE__ */ _export_sfc$1(_sfc_main$_, [["render", _sfc_render$k]]);
2351
- const _sfc_main$Z = defineComponent({
2381
+ var arrowDown = /* @__PURE__ */ _export_sfc$1(_sfc_main$$, [["render", _sfc_render$l]]);
2382
+ const _sfc_main$_ = defineComponent({
2352
2383
  name: "CaretBottom"
2353
2384
  });
2354
- const _hoisted_1$z = {
2385
+ const _hoisted_1$B = {
2355
2386
  class: "icon",
2356
2387
  width: "200",
2357
2388
  height: "200",
@@ -2362,17 +2393,17 @@ const _hoisted_2$s = /* @__PURE__ */ createElementVNode("path", {
2362
2393
  fill: "currentColor",
2363
2394
  d: "M192 384l320 384 320-384z"
2364
2395
  }, null, -1);
2365
- const _hoisted_3$p = [
2396
+ const _hoisted_3$r = [
2366
2397
  _hoisted_2$s
2367
2398
  ];
2368
- function _sfc_render$j(_ctx, _cache, $props, $setup, $data, $options) {
2369
- return openBlock(), createElementBlock("svg", _hoisted_1$z, _hoisted_3$p);
2399
+ function _sfc_render$k(_ctx, _cache, $props, $setup, $data, $options) {
2400
+ return openBlock(), createElementBlock("svg", _hoisted_1$B, _hoisted_3$r);
2370
2401
  }
2371
- var caretBottom = /* @__PURE__ */ _export_sfc$1(_sfc_main$Z, [["render", _sfc_render$j]]);
2372
- const _sfc_main$Y = defineComponent({
2402
+ var caretBottom = /* @__PURE__ */ _export_sfc$1(_sfc_main$_, [["render", _sfc_render$k]]);
2403
+ const _sfc_main$Z = defineComponent({
2373
2404
  name: "CaretRight"
2374
2405
  });
2375
- const _hoisted_1$y = {
2406
+ const _hoisted_1$A = {
2376
2407
  class: "icon",
2377
2408
  width: "200",
2378
2409
  height: "200",
@@ -2383,17 +2414,17 @@ const _hoisted_2$r = /* @__PURE__ */ createElementVNode("path", {
2383
2414
  fill: "currentColor",
2384
2415
  d: "M384 192v640l384-320.064z"
2385
2416
  }, null, -1);
2386
- const _hoisted_3$o = [
2417
+ const _hoisted_3$q = [
2387
2418
  _hoisted_2$r
2388
2419
  ];
2389
- function _sfc_render$i(_ctx, _cache, $props, $setup, $data, $options) {
2390
- return openBlock(), createElementBlock("svg", _hoisted_1$y, _hoisted_3$o);
2420
+ function _sfc_render$j(_ctx, _cache, $props, $setup, $data, $options) {
2421
+ return openBlock(), createElementBlock("svg", _hoisted_1$A, _hoisted_3$q);
2391
2422
  }
2392
- var caretRight = /* @__PURE__ */ _export_sfc$1(_sfc_main$Y, [["render", _sfc_render$i]]);
2393
- const _sfc_main$X = defineComponent({
2423
+ var caretRight = /* @__PURE__ */ _export_sfc$1(_sfc_main$Z, [["render", _sfc_render$j]]);
2424
+ const _sfc_main$Y = defineComponent({
2394
2425
  name: "CaretTop"
2395
2426
  });
2396
- const _hoisted_1$x = {
2427
+ const _hoisted_1$z = {
2397
2428
  class: "icon",
2398
2429
  width: "200",
2399
2430
  height: "200",
@@ -2404,17 +2435,17 @@ const _hoisted_2$q = /* @__PURE__ */ createElementVNode("path", {
2404
2435
  fill: "currentColor",
2405
2436
  d: "M512 320L192 704h639.936z"
2406
2437
  }, null, -1);
2407
- const _hoisted_3$n = [
2438
+ const _hoisted_3$p = [
2408
2439
  _hoisted_2$q
2409
2440
  ];
2410
- function _sfc_render$h(_ctx, _cache, $props, $setup, $data, $options) {
2411
- return openBlock(), createElementBlock("svg", _hoisted_1$x, _hoisted_3$n);
2441
+ function _sfc_render$i(_ctx, _cache, $props, $setup, $data, $options) {
2442
+ return openBlock(), createElementBlock("svg", _hoisted_1$z, _hoisted_3$p);
2412
2443
  }
2413
- var caretTop = /* @__PURE__ */ _export_sfc$1(_sfc_main$X, [["render", _sfc_render$h]]);
2414
- const _sfc_main$W = defineComponent({
2444
+ var caretTop = /* @__PURE__ */ _export_sfc$1(_sfc_main$Y, [["render", _sfc_render$i]]);
2445
+ const _sfc_main$X = defineComponent({
2415
2446
  name: "CirclePlusFilled"
2416
2447
  });
2417
- const _hoisted_1$w = {
2448
+ const _hoisted_1$y = {
2418
2449
  class: "icon",
2419
2450
  width: "200",
2420
2451
  height: "200",
@@ -2425,17 +2456,17 @@ const _hoisted_2$p = /* @__PURE__ */ createElementVNode("path", {
2425
2456
  fill: "currentColor",
2426
2457
  d: "M512 64a448 448 0 110 896 448 448 0 010-896zm-38.4 409.6H326.4a38.4 38.4 0 100 76.8h147.2v147.2a38.4 38.4 0 0076.8 0V550.4h147.2a38.4 38.4 0 000-76.8H550.4V326.4a38.4 38.4 0 10-76.8 0v147.2z"
2427
2458
  }, null, -1);
2428
- const _hoisted_3$m = [
2459
+ const _hoisted_3$o = [
2429
2460
  _hoisted_2$p
2430
2461
  ];
2431
- function _sfc_render$g(_ctx, _cache, $props, $setup, $data, $options) {
2432
- return openBlock(), createElementBlock("svg", _hoisted_1$w, _hoisted_3$m);
2462
+ function _sfc_render$h(_ctx, _cache, $props, $setup, $data, $options) {
2463
+ return openBlock(), createElementBlock("svg", _hoisted_1$y, _hoisted_3$o);
2433
2464
  }
2434
- var circlePlusFilled = /* @__PURE__ */ _export_sfc$1(_sfc_main$W, [["render", _sfc_render$g]]);
2435
- const _sfc_main$V = defineComponent({
2465
+ var circlePlusFilled = /* @__PURE__ */ _export_sfc$1(_sfc_main$X, [["render", _sfc_render$h]]);
2466
+ const _sfc_main$W = defineComponent({
2436
2467
  name: "CirclePlus"
2437
2468
  });
2438
- const _hoisted_1$v = {
2469
+ const _hoisted_1$x = {
2439
2470
  class: "icon",
2440
2471
  width: "200",
2441
2472
  height: "200",
@@ -2446,7 +2477,7 @@ const _hoisted_2$o = /* @__PURE__ */ createElementVNode("path", {
2446
2477
  fill: "currentColor",
2447
2478
  d: "M352 480h320a32 32 0 110 64H352a32 32 0 010-64z"
2448
2479
  }, null, -1);
2449
- const _hoisted_3$l = /* @__PURE__ */ createElementVNode("path", {
2480
+ const _hoisted_3$n = /* @__PURE__ */ createElementVNode("path", {
2450
2481
  fill: "currentColor",
2451
2482
  d: "M480 672V352a32 32 0 1164 0v320a32 32 0 01-64 0z"
2452
2483
  }, null, -1);
@@ -2456,17 +2487,17 @@ const _hoisted_4$8 = /* @__PURE__ */ createElementVNode("path", {
2456
2487
  }, null, -1);
2457
2488
  const _hoisted_5$5 = [
2458
2489
  _hoisted_2$o,
2459
- _hoisted_3$l,
2490
+ _hoisted_3$n,
2460
2491
  _hoisted_4$8
2461
2492
  ];
2462
- function _sfc_render$f(_ctx, _cache, $props, $setup, $data, $options) {
2463
- return openBlock(), createElementBlock("svg", _hoisted_1$v, _hoisted_5$5);
2493
+ function _sfc_render$g(_ctx, _cache, $props, $setup, $data, $options) {
2494
+ return openBlock(), createElementBlock("svg", _hoisted_1$x, _hoisted_5$5);
2464
2495
  }
2465
- var circlePlus = /* @__PURE__ */ _export_sfc$1(_sfc_main$V, [["render", _sfc_render$f]]);
2466
- const _sfc_main$U = defineComponent({
2496
+ var circlePlus = /* @__PURE__ */ _export_sfc$1(_sfc_main$W, [["render", _sfc_render$g]]);
2497
+ const _sfc_main$V = defineComponent({
2467
2498
  name: "Download"
2468
2499
  });
2469
- const _hoisted_1$u = {
2500
+ const _hoisted_1$w = {
2470
2501
  class: "icon",
2471
2502
  width: "200",
2472
2503
  height: "200",
@@ -2477,17 +2508,17 @@ const _hoisted_2$n = /* @__PURE__ */ createElementVNode("path", {
2477
2508
  fill: "currentColor",
2478
2509
  d: "M160 832h704a32 32 0 110 64H160a32 32 0 110-64zm384-253.696l236.288-236.352 45.248 45.248L508.8 704 192 387.2l45.248-45.248L480 584.704V128h64v450.304z"
2479
2510
  }, null, -1);
2480
- const _hoisted_3$k = [
2511
+ const _hoisted_3$m = [
2481
2512
  _hoisted_2$n
2482
2513
  ];
2483
- function _sfc_render$e(_ctx, _cache, $props, $setup, $data, $options) {
2484
- return openBlock(), createElementBlock("svg", _hoisted_1$u, _hoisted_3$k);
2514
+ function _sfc_render$f(_ctx, _cache, $props, $setup, $data, $options) {
2515
+ return openBlock(), createElementBlock("svg", _hoisted_1$w, _hoisted_3$m);
2485
2516
  }
2486
- var download = /* @__PURE__ */ _export_sfc$1(_sfc_main$U, [["render", _sfc_render$e]]);
2487
- const _sfc_main$T = defineComponent({
2517
+ var download = /* @__PURE__ */ _export_sfc$1(_sfc_main$V, [["render", _sfc_render$f]]);
2518
+ const _sfc_main$U = defineComponent({
2488
2519
  name: "Edit"
2489
2520
  });
2490
- const _hoisted_1$t = {
2521
+ const _hoisted_1$v = {
2491
2522
  class: "icon",
2492
2523
  width: "200",
2493
2524
  height: "200",
@@ -2498,22 +2529,22 @@ const _hoisted_2$m = /* @__PURE__ */ createElementVNode("path", {
2498
2529
  fill: "currentColor",
2499
2530
  d: "M832 512a32 32 0 1164 0v352a32 32 0 01-32 32H160a32 32 0 01-32-32V160a32 32 0 0132-32h352a32 32 0 010 64H192v640h640V512z"
2500
2531
  }, null, -1);
2501
- const _hoisted_3$j = /* @__PURE__ */ createElementVNode("path", {
2532
+ const _hoisted_3$l = /* @__PURE__ */ createElementVNode("path", {
2502
2533
  fill: "currentColor",
2503
2534
  d: "M469.952 554.24l52.8-7.552L847.104 222.4a32 32 0 10-45.248-45.248L477.44 501.44l-7.552 52.8zm422.4-422.4a96 96 0 010 135.808l-331.84 331.84a32 32 0 01-18.112 9.088L436.8 623.68a32 32 0 01-36.224-36.224l15.104-105.6a32 32 0 019.024-18.112l331.904-331.84a96 96 0 01135.744 0z"
2504
2535
  }, null, -1);
2505
2536
  const _hoisted_4$7 = [
2506
2537
  _hoisted_2$m,
2507
- _hoisted_3$j
2538
+ _hoisted_3$l
2508
2539
  ];
2509
- function _sfc_render$d(_ctx, _cache, $props, $setup, $data, $options) {
2510
- return openBlock(), createElementBlock("svg", _hoisted_1$t, _hoisted_4$7);
2540
+ function _sfc_render$e(_ctx, _cache, $props, $setup, $data, $options) {
2541
+ return openBlock(), createElementBlock("svg", _hoisted_1$v, _hoisted_4$7);
2511
2542
  }
2512
- var edit = /* @__PURE__ */ _export_sfc$1(_sfc_main$T, [["render", _sfc_render$d]]);
2513
- const _sfc_main$S = defineComponent({
2543
+ var edit = /* @__PURE__ */ _export_sfc$1(_sfc_main$U, [["render", _sfc_render$e]]);
2544
+ const _sfc_main$T = defineComponent({
2514
2545
  name: "Filter"
2515
2546
  });
2516
- const _hoisted_1$s = {
2547
+ const _hoisted_1$u = {
2517
2548
  class: "icon",
2518
2549
  width: "200",
2519
2550
  height: "200",
@@ -2524,17 +2555,17 @@ const _hoisted_2$l = /* @__PURE__ */ createElementVNode("path", {
2524
2555
  fill: "currentColor",
2525
2556
  d: "M384 523.392V928a32 32 0 0046.336 28.608l192-96A32 32 0 00640 832V523.392l280.768-343.104a32 32 0 10-49.536-40.576l-288 352A32 32 0 00576 512v300.224l-128 64V512a32 32 0 00-7.232-20.288L195.52 192H704a32 32 0 100-64H128a32 32 0 00-24.768 52.288L384 523.392z"
2526
2557
  }, null, -1);
2527
- const _hoisted_3$i = [
2558
+ const _hoisted_3$k = [
2528
2559
  _hoisted_2$l
2529
2560
  ];
2530
- function _sfc_render$c(_ctx, _cache, $props, $setup, $data, $options) {
2531
- return openBlock(), createElementBlock("svg", _hoisted_1$s, _hoisted_3$i);
2561
+ function _sfc_render$d(_ctx, _cache, $props, $setup, $data, $options) {
2562
+ return openBlock(), createElementBlock("svg", _hoisted_1$u, _hoisted_3$k);
2532
2563
  }
2533
- var filter = /* @__PURE__ */ _export_sfc$1(_sfc_main$S, [["render", _sfc_render$c]]);
2534
- const _sfc_main$R = defineComponent({
2564
+ var filter = /* @__PURE__ */ _export_sfc$1(_sfc_main$T, [["render", _sfc_render$d]]);
2565
+ const _sfc_main$S = defineComponent({
2535
2566
  name: "FullScreen"
2536
2567
  });
2537
- const _hoisted_1$r = {
2568
+ const _hoisted_1$t = {
2538
2569
  class: "icon",
2539
2570
  width: "200",
2540
2571
  height: "200",
@@ -2545,17 +2576,17 @@ const _hoisted_2$k = /* @__PURE__ */ createElementVNode("path", {
2545
2576
  fill: "currentColor",
2546
2577
  d: "M160 96.064l192 .192a32 32 0 010 64l-192-.192V352a32 32 0 01-64 0V96h64v.064zm0 831.872V928H96V672a32 32 0 1164 0v191.936l192-.192a32 32 0 110 64l-192 .192zM864 96.064V96h64v256a32 32 0 11-64 0V160.064l-192 .192a32 32 0 110-64l192-.192zm0 831.872l-192-.192a32 32 0 010-64l192 .192V672a32 32 0 1164 0v256h-64v-.064z"
2547
2578
  }, null, -1);
2548
- const _hoisted_3$h = [
2579
+ const _hoisted_3$j = [
2549
2580
  _hoisted_2$k
2550
2581
  ];
2551
- function _sfc_render$b(_ctx, _cache, $props, $setup, $data, $options) {
2552
- return openBlock(), createElementBlock("svg", _hoisted_1$r, _hoisted_3$h);
2582
+ function _sfc_render$c(_ctx, _cache, $props, $setup, $data, $options) {
2583
+ return openBlock(), createElementBlock("svg", _hoisted_1$t, _hoisted_3$j);
2553
2584
  }
2554
- var fullScreen = /* @__PURE__ */ _export_sfc$1(_sfc_main$R, [["render", _sfc_render$b]]);
2555
- const _sfc_main$Q = defineComponent({
2585
+ var fullScreen = /* @__PURE__ */ _export_sfc$1(_sfc_main$S, [["render", _sfc_render$c]]);
2586
+ const _sfc_main$R = defineComponent({
2556
2587
  name: "Grid"
2557
2588
  });
2558
- const _hoisted_1$q = {
2589
+ const _hoisted_1$s = {
2559
2590
  class: "icon",
2560
2591
  width: "200",
2561
2592
  height: "200",
@@ -2566,226 +2597,247 @@ const _hoisted_2$j = /* @__PURE__ */ createElementVNode("path", {
2566
2597
  fill: "currentColor",
2567
2598
  d: "M640 384v256H384V384h256zm64 0h192v256H704V384zm-64 512H384V704h256v192zm64 0V704h192v192H704zm-64-768v192H384V128h256zm64 0h192v192H704V128zM320 384v256H128V384h192zm0 512H128V704h192v192zm0-768v192H128V128h192z"
2568
2599
  }, null, -1);
2569
- const _hoisted_3$g = [
2600
+ const _hoisted_3$i = [
2570
2601
  _hoisted_2$j
2571
2602
  ];
2603
+ function _sfc_render$b(_ctx, _cache, $props, $setup, $data, $options) {
2604
+ return openBlock(), createElementBlock("svg", _hoisted_1$s, _hoisted_3$i);
2605
+ }
2606
+ var grid = /* @__PURE__ */ _export_sfc$1(_sfc_main$R, [["render", _sfc_render$b]]);
2607
+ const _sfc_main$Q = defineComponent({
2608
+ name: "InfoFilled"
2609
+ });
2610
+ const _hoisted_1$r = {
2611
+ class: "icon",
2612
+ width: "200",
2613
+ height: "200",
2614
+ viewBox: "0 0 1024 1024",
2615
+ xmlns: "http://www.w3.org/2000/svg"
2616
+ };
2617
+ const _hoisted_2$i = /* @__PURE__ */ createElementVNode("path", {
2618
+ fill: "currentColor",
2619
+ d: "M512 64a448 448 0 110 896.064A448 448 0 01512 64zm67.2 275.072c33.28 0 60.288-23.104 60.288-57.344s-27.072-57.344-60.288-57.344c-33.28 0-60.16 23.104-60.16 57.344s26.88 57.344 60.16 57.344zM590.912 699.2c0-6.848 2.368-24.64 1.024-34.752l-52.608 60.544c-10.88 11.456-24.512 19.392-30.912 17.28a12.992 12.992 0 01-8.256-14.72l87.68-276.992c7.168-35.136-12.544-67.2-54.336-71.296-44.096 0-108.992 44.736-148.48 101.504 0 6.784-1.28 23.68.064 33.792l52.544-60.608c10.88-11.328 23.552-19.328 29.952-17.152a12.8 12.8 0 017.808 16.128L388.48 728.576c-10.048 32.256 8.96 63.872 55.04 71.04 67.84 0 107.904-43.648 147.456-100.416z"
2620
+ }, null, -1);
2621
+ const _hoisted_3$h = [
2622
+ _hoisted_2$i
2623
+ ];
2572
2624
  function _sfc_render$a(_ctx, _cache, $props, $setup, $data, $options) {
2573
- return openBlock(), createElementBlock("svg", _hoisted_1$q, _hoisted_3$g);
2625
+ return openBlock(), createElementBlock("svg", _hoisted_1$r, _hoisted_3$h);
2574
2626
  }
2575
- var grid = /* @__PURE__ */ _export_sfc$1(_sfc_main$Q, [["render", _sfc_render$a]]);
2627
+ var infoFilled = /* @__PURE__ */ _export_sfc$1(_sfc_main$Q, [["render", _sfc_render$a]]);
2576
2628
  const _sfc_main$P = defineComponent({
2577
2629
  name: "Loading"
2578
2630
  });
2579
- const _hoisted_1$p = {
2631
+ const _hoisted_1$q = {
2580
2632
  class: "icon",
2581
2633
  width: "200",
2582
2634
  height: "200",
2583
2635
  viewBox: "0 0 1024 1024",
2584
2636
  xmlns: "http://www.w3.org/2000/svg"
2585
2637
  };
2586
- const _hoisted_2$i = /* @__PURE__ */ createElementVNode("path", {
2638
+ const _hoisted_2$h = /* @__PURE__ */ createElementVNode("path", {
2587
2639
  fill: "currentColor",
2588
2640
  d: "M512 64a32 32 0 0132 32v192a32 32 0 01-64 0V96a32 32 0 0132-32zm0 640a32 32 0 0132 32v192a32 32 0 11-64 0V736a32 32 0 0132-32zm448-192a32 32 0 01-32 32H736a32 32 0 110-64h192a32 32 0 0132 32zm-640 0a32 32 0 01-32 32H96a32 32 0 010-64h192a32 32 0 0132 32zM195.2 195.2a32 32 0 0145.248 0L376.32 331.008a32 32 0 01-45.248 45.248L195.2 240.448a32 32 0 010-45.248zm452.544 452.544a32 32 0 0145.248 0L828.8 783.552a32 32 0 01-45.248 45.248L647.744 692.992a32 32 0 010-45.248zM828.8 195.264a32 32 0 010 45.184L692.992 376.32a32 32 0 01-45.248-45.248l135.808-135.808a32 32 0 0145.248 0zm-452.544 452.48a32 32 0 010 45.248L240.448 828.8a32 32 0 01-45.248-45.248l135.808-135.808a32 32 0 0145.248 0z"
2589
2641
  }, null, -1);
2590
- const _hoisted_3$f = [
2591
- _hoisted_2$i
2642
+ const _hoisted_3$g = [
2643
+ _hoisted_2$h
2592
2644
  ];
2593
2645
  function _sfc_render$9(_ctx, _cache, $props, $setup, $data, $options) {
2594
- return openBlock(), createElementBlock("svg", _hoisted_1$p, _hoisted_3$f);
2646
+ return openBlock(), createElementBlock("svg", _hoisted_1$q, _hoisted_3$g);
2595
2647
  }
2596
2648
  var loading = /* @__PURE__ */ _export_sfc$1(_sfc_main$P, [["render", _sfc_render$9]]);
2597
2649
  const _sfc_main$O = defineComponent({
2598
2650
  name: "Menu"
2599
2651
  });
2600
- const _hoisted_1$o = {
2652
+ const _hoisted_1$p = {
2601
2653
  class: "icon",
2602
2654
  width: "200",
2603
2655
  height: "200",
2604
2656
  viewBox: "0 0 1024 1024",
2605
2657
  xmlns: "http://www.w3.org/2000/svg"
2606
2658
  };
2607
- const _hoisted_2$h = /* @__PURE__ */ createElementVNode("path", {
2659
+ const _hoisted_2$g = /* @__PURE__ */ createElementVNode("path", {
2608
2660
  fill: "currentColor",
2609
2661
  d: "M160 448a32 32 0 01-32-32V160.064a32 32 0 0132-32h256a32 32 0 0132 32V416a32 32 0 01-32 32H160zm448 0a32 32 0 01-32-32V160.064a32 32 0 0132-32h255.936a32 32 0 0132 32V416a32 32 0 01-32 32H608zM160 896a32 32 0 01-32-32V608a32 32 0 0132-32h256a32 32 0 0132 32v256a32 32 0 01-32 32H160zm448 0a32 32 0 01-32-32V608a32 32 0 0132-32h255.936a32 32 0 0132 32v256a32 32 0 01-32 32H608z"
2610
2662
  }, null, -1);
2611
- const _hoisted_3$e = [
2612
- _hoisted_2$h
2663
+ const _hoisted_3$f = [
2664
+ _hoisted_2$g
2613
2665
  ];
2614
2666
  function _sfc_render$8(_ctx, _cache, $props, $setup, $data, $options) {
2615
- return openBlock(), createElementBlock("svg", _hoisted_1$o, _hoisted_3$e);
2667
+ return openBlock(), createElementBlock("svg", _hoisted_1$p, _hoisted_3$f);
2616
2668
  }
2617
2669
  var menu = /* @__PURE__ */ _export_sfc$1(_sfc_main$O, [["render", _sfc_render$8]]);
2618
2670
  const _sfc_main$N = defineComponent({
2619
2671
  name: "Plus"
2620
2672
  });
2621
- const _hoisted_1$n = {
2673
+ const _hoisted_1$o = {
2622
2674
  class: "icon",
2623
2675
  width: "200",
2624
2676
  height: "200",
2625
2677
  viewBox: "0 0 1024 1024",
2626
2678
  xmlns: "http://www.w3.org/2000/svg"
2627
2679
  };
2628
- const _hoisted_2$g = /* @__PURE__ */ createElementVNode("path", {
2680
+ const _hoisted_2$f = /* @__PURE__ */ createElementVNode("path", {
2629
2681
  fill: "currentColor",
2630
2682
  d: "M480 480V128a32 32 0 0164 0v352h352a32 32 0 110 64H544v352a32 32 0 11-64 0V544H128a32 32 0 010-64h352z"
2631
2683
  }, null, -1);
2632
- const _hoisted_3$d = [
2633
- _hoisted_2$g
2684
+ const _hoisted_3$e = [
2685
+ _hoisted_2$f
2634
2686
  ];
2635
2687
  function _sfc_render$7(_ctx, _cache, $props, $setup, $data, $options) {
2636
- return openBlock(), createElementBlock("svg", _hoisted_1$n, _hoisted_3$d);
2688
+ return openBlock(), createElementBlock("svg", _hoisted_1$o, _hoisted_3$e);
2637
2689
  }
2638
2690
  var plus = /* @__PURE__ */ _export_sfc$1(_sfc_main$N, [["render", _sfc_render$7]]);
2639
2691
  const _sfc_main$M = defineComponent({
2640
2692
  name: "QuestionFilled"
2641
2693
  });
2642
- const _hoisted_1$m = {
2694
+ const _hoisted_1$n = {
2643
2695
  class: "icon",
2644
2696
  width: "200",
2645
2697
  height: "200",
2646
2698
  viewBox: "0 0 1024 1024",
2647
2699
  xmlns: "http://www.w3.org/2000/svg"
2648
2700
  };
2649
- const _hoisted_2$f = /* @__PURE__ */ createElementVNode("path", {
2701
+ const _hoisted_2$e = /* @__PURE__ */ createElementVNode("path", {
2650
2702
  fill: "currentColor",
2651
2703
  d: "M512 64a448 448 0 110 896 448 448 0 010-896zm23.744 191.488c-52.096 0-92.928 14.784-123.2 44.352-30.976 29.568-45.76 70.4-45.76 122.496h80.256c0-29.568 5.632-52.8 17.6-68.992 13.376-19.712 35.2-28.864 66.176-28.864 23.936 0 42.944 6.336 56.32 19.712 12.672 13.376 19.712 31.68 19.712 54.912 0 17.6-6.336 34.496-19.008 49.984l-8.448 9.856c-45.76 40.832-73.216 70.4-82.368 89.408-9.856 19.008-14.08 42.24-14.08 68.992v9.856h80.96v-9.856c0-16.896 3.52-31.68 10.56-45.76 6.336-12.672 15.488-24.64 28.16-35.2 33.792-29.568 54.208-48.576 60.544-55.616 16.896-22.528 26.048-51.392 26.048-86.592 0-42.944-14.08-76.736-42.24-101.376-28.16-25.344-65.472-37.312-111.232-37.312zm-12.672 406.208a54.272 54.272 0 00-38.72 14.784 49.408 49.408 0 00-15.488 38.016c0 15.488 4.928 28.16 15.488 38.016A54.848 54.848 0 00523.072 768c15.488 0 28.16-4.928 38.72-14.784a51.52 51.52 0 0016.192-38.72 51.968 51.968 0 00-15.488-38.016 55.936 55.936 0 00-39.424-14.784z"
2652
2704
  }, null, -1);
2653
- const _hoisted_3$c = [
2654
- _hoisted_2$f
2705
+ const _hoisted_3$d = [
2706
+ _hoisted_2$e
2655
2707
  ];
2656
2708
  function _sfc_render$6(_ctx, _cache, $props, $setup, $data, $options) {
2657
- return openBlock(), createElementBlock("svg", _hoisted_1$m, _hoisted_3$c);
2709
+ return openBlock(), createElementBlock("svg", _hoisted_1$n, _hoisted_3$d);
2658
2710
  }
2659
2711
  var questionFilled = /* @__PURE__ */ _export_sfc$1(_sfc_main$M, [["render", _sfc_render$6]]);
2660
2712
  const _sfc_main$L = defineComponent({
2661
2713
  name: "RefreshLeft"
2662
2714
  });
2663
- const _hoisted_1$l = {
2715
+ const _hoisted_1$m = {
2664
2716
  class: "icon",
2665
2717
  width: "200",
2666
2718
  height: "200",
2667
2719
  viewBox: "0 0 1024 1024",
2668
2720
  xmlns: "http://www.w3.org/2000/svg"
2669
2721
  };
2670
- const _hoisted_2$e = /* @__PURE__ */ createElementVNode("path", {
2722
+ const _hoisted_2$d = /* @__PURE__ */ createElementVNode("path", {
2671
2723
  fill: "currentColor",
2672
2724
  d: "M289.088 296.704h92.992a32 32 0 010 64H232.96a32 32 0 01-32-32V179.712a32 32 0 0164 0v50.56a384 384 0 01643.84 282.88 384 384 0 01-383.936 384 384 384 0 01-384-384h64a320 320 0 10640 0 320 320 0 00-555.712-216.448z"
2673
2725
  }, null, -1);
2674
- const _hoisted_3$b = [
2675
- _hoisted_2$e
2726
+ const _hoisted_3$c = [
2727
+ _hoisted_2$d
2676
2728
  ];
2677
2729
  function _sfc_render$5(_ctx, _cache, $props, $setup, $data, $options) {
2678
- return openBlock(), createElementBlock("svg", _hoisted_1$l, _hoisted_3$b);
2730
+ return openBlock(), createElementBlock("svg", _hoisted_1$m, _hoisted_3$c);
2679
2731
  }
2680
2732
  var refreshLeft = /* @__PURE__ */ _export_sfc$1(_sfc_main$L, [["render", _sfc_render$5]]);
2681
2733
  const _sfc_main$K = defineComponent({
2682
2734
  name: "RemoveFilled"
2683
2735
  });
2684
- const _hoisted_1$k = {
2736
+ const _hoisted_1$l = {
2685
2737
  class: "icon",
2686
2738
  width: "200",
2687
2739
  height: "200",
2688
2740
  viewBox: "0 0 1024 1024",
2689
2741
  xmlns: "http://www.w3.org/2000/svg"
2690
2742
  };
2691
- const _hoisted_2$d = /* @__PURE__ */ createElementVNode("path", {
2743
+ const _hoisted_2$c = /* @__PURE__ */ createElementVNode("path", {
2692
2744
  fill: "currentColor",
2693
2745
  d: "M512 64a448 448 0 110 896 448 448 0 010-896zM288 512a38.4 38.4 0 0038.4 38.4h371.2a38.4 38.4 0 000-76.8H326.4A38.4 38.4 0 00288 512z"
2694
2746
  }, null, -1);
2695
- const _hoisted_3$a = [
2696
- _hoisted_2$d
2747
+ const _hoisted_3$b = [
2748
+ _hoisted_2$c
2697
2749
  ];
2698
2750
  function _sfc_render$4(_ctx, _cache, $props, $setup, $data, $options) {
2699
- return openBlock(), createElementBlock("svg", _hoisted_1$k, _hoisted_3$a);
2751
+ return openBlock(), createElementBlock("svg", _hoisted_1$l, _hoisted_3$b);
2700
2752
  }
2701
2753
  var removeFilled = /* @__PURE__ */ _export_sfc$1(_sfc_main$K, [["render", _sfc_render$4]]);
2702
2754
  const _sfc_main$J = defineComponent({
2703
2755
  name: "Remove"
2704
2756
  });
2705
- const _hoisted_1$j = {
2757
+ const _hoisted_1$k = {
2706
2758
  class: "icon",
2707
2759
  width: "200",
2708
2760
  height: "200",
2709
2761
  viewBox: "0 0 1024 1024",
2710
2762
  xmlns: "http://www.w3.org/2000/svg"
2711
2763
  };
2712
- const _hoisted_2$c = /* @__PURE__ */ createElementVNode("path", {
2764
+ const _hoisted_2$b = /* @__PURE__ */ createElementVNode("path", {
2713
2765
  fill: "currentColor",
2714
2766
  d: "M352 480h320a32 32 0 110 64H352a32 32 0 010-64z"
2715
2767
  }, null, -1);
2716
- const _hoisted_3$9 = /* @__PURE__ */ createElementVNode("path", {
2768
+ const _hoisted_3$a = /* @__PURE__ */ createElementVNode("path", {
2717
2769
  fill: "currentColor",
2718
2770
  d: "M512 896a384 384 0 100-768 384 384 0 000 768zm0 64a448 448 0 110-896 448 448 0 010 896z"
2719
2771
  }, null, -1);
2720
2772
  const _hoisted_4$6 = [
2721
- _hoisted_2$c,
2722
- _hoisted_3$9
2773
+ _hoisted_2$b,
2774
+ _hoisted_3$a
2723
2775
  ];
2724
2776
  function _sfc_render$3(_ctx, _cache, $props, $setup, $data, $options) {
2725
- return openBlock(), createElementBlock("svg", _hoisted_1$j, _hoisted_4$6);
2777
+ return openBlock(), createElementBlock("svg", _hoisted_1$k, _hoisted_4$6);
2726
2778
  }
2727
2779
  var remove = /* @__PURE__ */ _export_sfc$1(_sfc_main$J, [["render", _sfc_render$3]]);
2728
2780
  const _sfc_main$I = defineComponent({
2729
2781
  name: "Select"
2730
2782
  });
2731
- const _hoisted_1$i = {
2783
+ const _hoisted_1$j = {
2732
2784
  class: "icon",
2733
2785
  width: "200",
2734
2786
  height: "200",
2735
2787
  viewBox: "0 0 1024 1024",
2736
2788
  xmlns: "http://www.w3.org/2000/svg"
2737
2789
  };
2738
- const _hoisted_2$b = /* @__PURE__ */ createElementVNode("path", {
2790
+ const _hoisted_2$a = /* @__PURE__ */ createElementVNode("path", {
2739
2791
  fill: "currentColor",
2740
2792
  d: "M77.248 415.04a64 64 0 0190.496 0l226.304 226.304L846.528 188.8a64 64 0 1190.56 90.496l-543.04 543.04-316.8-316.8a64 64 0 010-90.496z"
2741
2793
  }, null, -1);
2742
- const _hoisted_3$8 = [
2743
- _hoisted_2$b
2794
+ const _hoisted_3$9 = [
2795
+ _hoisted_2$a
2744
2796
  ];
2745
2797
  function _sfc_render$2(_ctx, _cache, $props, $setup, $data, $options) {
2746
- return openBlock(), createElementBlock("svg", _hoisted_1$i, _hoisted_3$8);
2798
+ return openBlock(), createElementBlock("svg", _hoisted_1$j, _hoisted_3$9);
2747
2799
  }
2748
2800
  var select = /* @__PURE__ */ _export_sfc$1(_sfc_main$I, [["render", _sfc_render$2]]);
2749
2801
  const _sfc_main$H = defineComponent({
2750
2802
  name: "Sort"
2751
2803
  });
2752
- const _hoisted_1$h = {
2804
+ const _hoisted_1$i = {
2753
2805
  class: "icon",
2754
2806
  width: "200",
2755
2807
  height: "200",
2756
2808
  viewBox: "0 0 1024 1024",
2757
2809
  xmlns: "http://www.w3.org/2000/svg"
2758
2810
  };
2759
- const _hoisted_2$a = /* @__PURE__ */ createElementVNode("path", {
2811
+ const _hoisted_2$9 = /* @__PURE__ */ createElementVNode("path", {
2760
2812
  fill: "currentColor",
2761
2813
  d: "M384 96a32 32 0 0164 0v786.752a32 32 0 01-54.592 22.656L95.936 608a32 32 0 010-45.312h.128a32 32 0 0145.184 0L384 805.632V96zm192 45.248a32 32 0 0154.592-22.592L928.064 416a32 32 0 010 45.312h-.128a32 32 0 01-45.184 0L640 218.496V928a32 32 0 11-64 0V141.248z"
2762
2814
  }, null, -1);
2763
- const _hoisted_3$7 = [
2764
- _hoisted_2$a
2815
+ const _hoisted_3$8 = [
2816
+ _hoisted_2$9
2765
2817
  ];
2766
2818
  function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
2767
- return openBlock(), createElementBlock("svg", _hoisted_1$h, _hoisted_3$7);
2819
+ return openBlock(), createElementBlock("svg", _hoisted_1$i, _hoisted_3$8);
2768
2820
  }
2769
2821
  var sort = /* @__PURE__ */ _export_sfc$1(_sfc_main$H, [["render", _sfc_render$1]]);
2770
2822
  const _sfc_main$G = defineComponent({
2771
2823
  name: "Tools"
2772
2824
  });
2773
- const _hoisted_1$g = {
2825
+ const _hoisted_1$h = {
2774
2826
  class: "icon",
2775
2827
  width: "200",
2776
2828
  height: "200",
2777
2829
  viewBox: "0 0 1024 1024",
2778
2830
  xmlns: "http://www.w3.org/2000/svg"
2779
2831
  };
2780
- const _hoisted_2$9 = /* @__PURE__ */ createElementVNode("path", {
2832
+ const _hoisted_2$8 = /* @__PURE__ */ createElementVNode("path", {
2781
2833
  fill: "currentColor",
2782
2834
  d: "M764.416 254.72a351.68 351.68 0 0186.336 149.184H960v192.064H850.752a351.68 351.68 0 01-86.336 149.312l54.72 94.72-166.272 96-54.592-94.72a352.64 352.64 0 01-172.48 0L371.136 936l-166.272-96 54.72-94.72a351.68 351.68 0 01-86.336-149.312H64v-192h109.248a351.68 351.68 0 0186.336-149.312L204.8 160l166.208-96h.192l54.656 94.592a352.64 352.64 0 01172.48 0L652.8 64h.128L819.2 160l-54.72 94.72zM704 499.968a192 192 0 10-384 0 192 192 0 00384 0z"
2783
2835
  }, null, -1);
2784
- const _hoisted_3$6 = [
2785
- _hoisted_2$9
2836
+ const _hoisted_3$7 = [
2837
+ _hoisted_2$8
2786
2838
  ];
2787
2839
  function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
2788
- return openBlock(), createElementBlock("svg", _hoisted_1$g, _hoisted_3$6);
2840
+ return openBlock(), createElementBlock("svg", _hoisted_1$h, _hoisted_3$7);
2789
2841
  }
2790
2842
  var tools = /* @__PURE__ */ _export_sfc$1(_sfc_main$G, [["render", _sfc_render]]);
2791
2843
  const formManagerProvideKey = Symbol("form-manager");
@@ -3022,7 +3074,7 @@ var _export_sfc = (sfc, props) => {
3022
3074
  }
3023
3075
  return target;
3024
3076
  };
3025
- const _hoisted_1$f = { class: "selectable-operate" };
3077
+ const _hoisted_1$g = { class: "selectable-operate" };
3026
3078
  const __default__$k = {
3027
3079
  name: "SelectableOpearte",
3028
3080
  inheritAttrs: false
@@ -3041,7 +3093,7 @@ const _sfc_main$D = defineComponent({
3041
3093
  return ((_a = props.tableManager) == null ? void 0 : _a.selection) || [];
3042
3094
  });
3043
3095
  return (_ctx, _cache) => {
3044
- return openBlock(), createElementBlock("div", _hoisted_1$f, [
3096
+ return openBlock(), createElementBlock("div", _hoisted_1$g, [
3045
3097
  createVNode(_sfc_main$E, mergeProps({
3046
3098
  els: props.els,
3047
3099
  "execute-data": [executeData.value],
@@ -3338,7 +3390,7 @@ const useMove = (callback) => {
3338
3390
  return { destroy, bind };
3339
3391
  };
3340
3392
  var index_vue_vue_type_style_index_0_lang$a = "";
3341
- const _hoisted_1$e = { class: "el-dialog__title" };
3393
+ const _hoisted_1$f = { class: "el-dialog__title" };
3342
3394
  const MIN_WIDTH = 300;
3343
3395
  const MIN_HEIGHT = 160;
3344
3396
  const _sfc_main$B = defineComponent({
@@ -3410,7 +3462,7 @@ const _sfc_main$B = defineComponent({
3410
3462
  class: `${unref(BEMSpace)} ${props.customClass}`
3411
3463
  }, props.dialogProps || {}, toHandlers(props.dialogEvents || {}), { "onUpdate:modelValue": onUpdateModelValue }), createSlots({
3412
3464
  header: withCtx(() => [
3413
- createElementVNode("span", _hoisted_1$e, toDisplayString(_ctx.title), 1)
3465
+ createElementVNode("span", _hoisted_1$f, toDisplayString(_ctx.title), 1)
3414
3466
  ]),
3415
3467
  default: withCtx(() => [
3416
3468
  renderSlot(_ctx.$slots, "default"),
@@ -3629,10 +3681,12 @@ const _PageModelManager = class extends Reflections {
3629
3681
  __publicField(this, "topTabsManager");
3630
3682
  __publicField(this, "formManager");
3631
3683
  __publicField(this, "staticData");
3684
+ __publicField(this, "id", 0);
3632
3685
  __publicField(this, "isTableFullscreen", false);
3633
3686
  __publicField(this, "isTableSelecting", false);
3634
3687
  __publicField(this, "loadingInstance");
3635
3688
  __publicField(this, "authButtons", []);
3689
+ this.id = managerController.getManagerId();
3636
3690
  }
3637
3691
  static setDefaultConfig(config) {
3638
3692
  this.defaultConfig = merge$1({}, getPageModelDefaultConfig(), config);
@@ -4064,6 +4118,7 @@ const _PageModelManager = class extends Reflections {
4064
4118
  item.destroy();
4065
4119
  });
4066
4120
  this.destroyReflect();
4121
+ managerController.destroy(this.id);
4067
4122
  }
4068
4123
  };
4069
4124
  let PageModelManager = _PageModelManager;
@@ -5425,9 +5480,18 @@ const _sfc_main$x = defineComponent({
5425
5480
  const handleResize = throttle(() => {
5426
5481
  currentTriggerElement && getPopoverTriggerElementRectInfo(currentTriggerElement);
5427
5482
  }, 100);
5428
- const hide = () => {
5429
- document.removeEventListener("click", handleHide);
5483
+ const bindEvent = () => {
5484
+ document.addEventListener("mousedown", handleHide);
5485
+ document.addEventListener("touchstart", handleHide);
5486
+ window.addEventListener("resize", handleResize);
5487
+ };
5488
+ const unbindEvent = () => {
5489
+ document.removeEventListener("mousedown", handleHide);
5490
+ document.removeEventListener("touchstart", handleHide);
5430
5491
  window.removeEventListener("resize", handleResize);
5492
+ };
5493
+ const hide = () => {
5494
+ unbindEvent();
5431
5495
  visible.value = false;
5432
5496
  };
5433
5497
  const zIndex = ref(0);
@@ -5437,16 +5501,14 @@ const _sfc_main$x = defineComponent({
5437
5501
  hide();
5438
5502
  return;
5439
5503
  }
5440
- document.removeEventListener("click", handleHide);
5441
- window.removeEventListener("resize", handleResize);
5504
+ unbindEvent();
5442
5505
  }
5443
5506
  zIndex.value = nextZIndex();
5444
5507
  currentTriggerElement = element;
5445
5508
  getPopoverTriggerElementRectInfo(currentTriggerElement);
5446
5509
  visible.value = true;
5447
5510
  setTimeout(() => {
5448
- document.addEventListener("click", handleHide);
5449
- window.addEventListener("resize", handleResize);
5511
+ bindEvent();
5450
5512
  }, 0);
5451
5513
  };
5452
5514
  __expose({
@@ -5471,7 +5533,7 @@ const _sfc_main$x = defineComponent({
5471
5533
  };
5472
5534
  }
5473
5535
  });
5474
- var SimplePopover = /* @__PURE__ */ _export_sfc(_sfc_main$x, [["__scopeId", "data-v-fe242dd2"]]);
5536
+ var SimplePopover = /* @__PURE__ */ _export_sfc(_sfc_main$x, [["__scopeId", "data-v-0e66f84a"]]);
5475
5537
  var FilterItemTypeEnum$1 = /* @__PURE__ */ ((FilterItemTypeEnum2) => {
5476
5538
  FilterItemTypeEnum2["\u6587\u5B57"] = "string";
5477
5539
  FilterItemTypeEnum2["\u6570\u5B57"] = "number";
@@ -5575,7 +5637,7 @@ const compareOptions$1 = {
5575
5637
  ]
5576
5638
  };
5577
5639
  var index_vue_vue_type_style_index_0_scoped_true_lang$8 = "";
5578
- const _hoisted_1$d = { key: 1 };
5640
+ const _hoisted_1$e = { key: 1 };
5579
5641
  const _sfc_main$w = defineComponent({
5580
5642
  __name: "index",
5581
5643
  props: {
@@ -5672,15 +5734,10 @@ const _sfc_main$w = defineComponent({
5672
5734
  const handleScreen = () => {
5673
5735
  clearCurrentParams();
5674
5736
  const list = filterList.value.filter((a) => {
5675
- var _a;
5676
5737
  if (hasCompare.value) {
5677
- return a.condition && a.value != null;
5738
+ return a.condition;
5678
5739
  } else {
5679
- if (currentColumn.value.filterType === FilterItemTypeEnum$1.\u591A\u9009\u503C) {
5680
- return (_a = a.value) == null ? void 0 : _a.length;
5681
- } else {
5682
- return a.value !== null;
5683
- }
5740
+ return true;
5684
5741
  }
5685
5742
  });
5686
5743
  tableManager.value.columnParamsList = tableManager.value.columnParamsList.concat(
@@ -5953,16 +6010,15 @@ const _sfc_main$w = defineComponent({
5953
6010
  }, [
5954
6011
  filterMultiple.value && hasCompare.value ? (openBlock(), createBlock(_component_el_button, {
5955
6012
  key: 0,
5956
- type: "primary",
5957
6013
  link: "",
5958
- icon: unref(circlePlus),
6014
+ icon: unref(plus),
5959
6015
  onClick: handleAddFilterItem
5960
6016
  }, {
5961
6017
  default: withCtx(() => [
5962
- createTextVNode("\u6DFB\u52A0\u7B5B\u9009\u6761\u4EF6")
6018
+ createTextVNode("\u7B5B\u9009\u6761\u4EF6")
5963
6019
  ]),
5964
6020
  _: 1
5965
- }, 8, ["icon"])) : (openBlock(), createElementBlock("div", _hoisted_1$d)),
6021
+ }, 8, ["icon"])) : (openBlock(), createElementBlock("div", _hoisted_1$e)),
5966
6022
  createElementVNode("div", null, [
5967
6023
  createVNode(_component_el_button, { onClick: handleClear }, {
5968
6024
  default: withCtx(() => [
@@ -5986,14 +6042,14 @@ const _sfc_main$w = defineComponent({
5986
6042
  };
5987
6043
  }
5988
6044
  });
5989
- var FilterZone$1 = /* @__PURE__ */ _export_sfc(_sfc_main$w, [["__scopeId", "data-v-41c68f2e"]]);
6045
+ var FilterZone$1 = /* @__PURE__ */ _export_sfc(_sfc_main$w, [["__scopeId", "data-v-9b1b33b8"]]);
5990
6046
  var index_vue_vue_type_style_index_0_lang$7 = "";
5991
- const _hoisted_1$c = ["data-key", "title"];
5992
- const _hoisted_2$8 = {
6047
+ const _hoisted_1$d = ["data-key", "title"];
6048
+ const _hoisted_2$7 = {
5993
6049
  key: 0,
5994
6050
  style: { "color": "red" }
5995
6051
  };
5996
- const _hoisted_3$5 = ["onClick"];
6052
+ const _hoisted_3$6 = ["onClick"];
5997
6053
  const _hoisted_4$5 = ["data-index", "editable", "cell-key"];
5998
6054
  const _hoisted_5$4 = {
5999
6055
  key: 0,
@@ -6009,7 +6065,7 @@ const _hoisted_8$1 = {
6009
6065
  class: "empty-edit"
6010
6066
  };
6011
6067
  const _hoisted_9$1 = { key: 0 };
6012
- const _hoisted_10 = ["onClick"];
6068
+ const _hoisted_10$1 = ["onClick"];
6013
6069
  const __default__$h = {
6014
6070
  name: "TableColumn"
6015
6071
  };
@@ -6143,7 +6199,7 @@ const _sfc_main$v = defineComponent({
6143
6199
  "data-key": column._key,
6144
6200
  title: $header.column.label
6145
6201
  }, [
6146
- column.required ? (openBlock(), createElementBlock("span", _hoisted_2$8, "*")) : createCommentVNode("", true),
6202
+ column.required ? (openBlock(), createElementBlock("span", _hoisted_2$7, "*")) : createCommentVNode("", true),
6147
6203
  column.helpText || column.icon ? (openBlock(), createBlock(_component_el_icon, {
6148
6204
  key: 1,
6149
6205
  title: column.helpText
@@ -6172,8 +6228,8 @@ const _sfc_main$v = defineComponent({
6172
6228
  ]),
6173
6229
  _: 1
6174
6230
  })
6175
- ], 14, _hoisted_3$5)) : createCommentVNode("", true)
6176
- ], 10, _hoisted_1$c)
6231
+ ], 14, _hoisted_3$6)) : createCommentVNode("", true)
6232
+ ], 10, _hoisted_1$d)
6177
6233
  ]),
6178
6234
  default: withCtx(({ row, $index, column: columnEl }) => [
6179
6235
  column.children ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
@@ -6257,7 +6313,7 @@ const _sfc_main$v = defineComponent({
6257
6313
  ]),
6258
6314
  _: 1
6259
6315
  })
6260
- ], 8, _hoisted_10)) : createCommentVNode("", true)
6316
+ ], 8, _hoisted_10$1)) : createCommentVNode("", true)
6261
6317
  ], 64))
6262
6318
  ], 10, _hoisted_4$5))
6263
6319
  ]),
@@ -7792,12 +7848,12 @@ const useUserConfig = () => {
7792
7848
  var index_vue_vue_type_style_index_0_lang$6 = "";
7793
7849
  var index_vue_vue_type_style_index_1_scoped_true_lang$1 = "";
7794
7850
  const _withScopeId$3 = (n) => (pushScopeId("data-v-7bf8eedc"), n = n(), popScopeId(), n);
7795
- const _hoisted_1$b = { title: "\u5168\u9009/\u53D6\u6D88" };
7796
- const _hoisted_2$7 = /* @__PURE__ */ _withScopeId$3(() => /* @__PURE__ */ createElementVNode("i", {
7851
+ const _hoisted_1$c = { title: "\u5168\u9009/\u53D6\u6D88" };
7852
+ const _hoisted_2$6 = /* @__PURE__ */ _withScopeId$3(() => /* @__PURE__ */ createElementVNode("i", {
7797
7853
  class: "pm-icon icon-drag-dot",
7798
7854
  title: "\u62D6\u52A8\u8C03\u6574\u663E\u793A\u987A\u5E8F"
7799
7855
  }, null, -1));
7800
- const _hoisted_3$4 = ["title"];
7856
+ const _hoisted_3$5 = ["title"];
7801
7857
  const _hoisted_4$4 = ["title", "onClick"];
7802
7858
  const _hoisted_5$3 = ["title", "onClick"];
7803
7859
  const _sfc_main$r = defineComponent({
@@ -7894,7 +7950,7 @@ const _sfc_main$r = defineComponent({
7894
7950
  createElementVNode("div", {
7895
7951
  class: normalizeClass(unref(createBEMName)("header"))
7896
7952
  }, [
7897
- createElementVNode("span", _hoisted_1$b, [
7953
+ createElementVNode("span", _hoisted_1$c, [
7898
7954
  createVNode(_component_el_checkbox, {
7899
7955
  label: "\u5168\u90E8",
7900
7956
  modelValue: isAllShow.value,
@@ -7947,11 +8003,11 @@ const _sfc_main$r = defineComponent({
7947
8003
  "onUpdate:modelValue": ($event) => element.userConfigShow = $event,
7948
8004
  class: normalizeClass(unref(createBEMName)("checkbox"))
7949
8005
  }, null, 8, ["modelValue", "onUpdate:modelValue", "class"]),
7950
- _hoisted_2$7,
8006
+ _hoisted_2$6,
7951
8007
  createElementVNode("span", {
7952
8008
  title: element.label,
7953
8009
  class: normalizeClass(unref(createBEMName)("item-label"))
7954
- }, toDisplayString(element.label), 11, _hoisted_3$4),
8010
+ }, toDisplayString(element.label), 11, _hoisted_3$5),
7955
8011
  createElementVNode("i", {
7956
8012
  title: element.fixed === "left" ? "\u53D6\u6D88\u51BB\u7ED3\u5217" : "\u51BB\u7ED3\u5728\u5DE6\u4FA7",
7957
8013
  class: normalizeClass([
@@ -8019,9 +8075,9 @@ const _sfc_main$r = defineComponent({
8019
8075
  var ColumnTools$1 = /* @__PURE__ */ _export_sfc(_sfc_main$r, [["__scopeId", "data-v-7bf8eedc"]]);
8020
8076
  var index_vue_vue_type_style_index_0_scoped_true_lang$7 = "";
8021
8077
  const _withScopeId$2 = (n) => (pushScopeId("data-v-15dbe923"), n = n(), popScopeId(), n);
8022
- const _hoisted_1$a = { key: 0 };
8023
- const _hoisted_2$6 = /* @__PURE__ */ _withScopeId$2(() => /* @__PURE__ */ createElementVNode("span", { class: "export-wrod" }, "\u4ECE\u7B2C", -1));
8024
- const _hoisted_3$3 = /* @__PURE__ */ _withScopeId$2(() => /* @__PURE__ */ createElementVNode("span", { class: "export-wrod" }, "\u9875\u5F00\u59CB\u5BFC\u51FA\uFF0C\u6BCF\u9875", -1));
8078
+ const _hoisted_1$b = { key: 0 };
8079
+ const _hoisted_2$5 = /* @__PURE__ */ _withScopeId$2(() => /* @__PURE__ */ createElementVNode("span", { class: "export-wrod" }, "\u4ECE\u7B2C", -1));
8080
+ const _hoisted_3$4 = /* @__PURE__ */ _withScopeId$2(() => /* @__PURE__ */ createElementVNode("span", { class: "export-wrod" }, "\u9875\u5F00\u59CB\u5BFC\u51FA\uFF0C\u6BCF\u9875", -1));
8025
8081
  const _hoisted_4$3 = /* @__PURE__ */ _withScopeId$2(() => /* @__PURE__ */ createElementVNode("span", { class: "export-wrod" }, "\u6761\u6570\u636E", -1));
8026
8082
  const _hoisted_5$2 = /* @__PURE__ */ _withScopeId$2(() => /* @__PURE__ */ createElementVNode("div", null, null, -1));
8027
8083
  const _hoisted_6$2 = { class: "export-columns" };
@@ -8264,15 +8320,15 @@ const _sfc_main$q = defineComponent({
8264
8320
  ]),
8265
8321
  _: 1
8266
8322
  }, 8, ["modelValue"]),
8267
- formData.fromApi ? (openBlock(), createElementBlock("div", _hoisted_1$a, [
8268
- _hoisted_2$6,
8323
+ formData.fromApi ? (openBlock(), createElementBlock("div", _hoisted_1$b, [
8324
+ _hoisted_2$5,
8269
8325
  createVNode(_component_el_input_number, {
8270
8326
  modelValue: formData.pageIndex,
8271
8327
  "onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => formData.pageIndex = $event),
8272
8328
  min: 1,
8273
8329
  size: "small"
8274
8330
  }, null, 8, ["modelValue"]),
8275
- _hoisted_3$3,
8331
+ _hoisted_3$4,
8276
8332
  createVNode(_component_el_input_number, {
8277
8333
  modelValue: formData.pageSize,
8278
8334
  "onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => formData.pageSize = $event),
@@ -8360,7 +8416,7 @@ const saveTableColumns = columnsSaver$1.setContents.bind(columnsSaver$1);
8360
8416
  const genSaveColumnName = columnsSaver$1.genScopeItemKey.bind(columnsSaver$1);
8361
8417
  const saveColumns$1 = columnsSaver$1.saveContentItem.bind(columnsSaver$1);
8362
8418
  const getColumns$1 = columnsSaver$1.getContentItem.bind(columnsSaver$1);
8363
- const _hoisted_1$9 = { class: "el-table__empty-data" };
8419
+ const _hoisted_1$a = { class: "el-table__empty-data" };
8364
8420
  const __default__$d = {
8365
8421
  name: "EmptyData"
8366
8422
  };
@@ -8371,7 +8427,7 @@ const _sfc_main$p = defineComponent({
8371
8427
  },
8372
8428
  setup(__props) {
8373
8429
  return (_ctx, _cache) => {
8374
- return openBlock(), createElementBlock("div", _hoisted_1$9, [
8430
+ return openBlock(), createElementBlock("div", _hoisted_1$a, [
8375
8431
  createElementVNode("span", null, toDisplayString(_ctx.text || "\u6682\u65E0\u6570\u636E"), 1)
8376
8432
  ]);
8377
8433
  };
@@ -9314,8 +9370,8 @@ class FormManager extends IManager {
9314
9370
  }
9315
9371
  }
9316
9372
  var index_vue_vue_type_style_index_0_scoped_true_lang$5 = "";
9317
- const _hoisted_1$8 = ["onClick"];
9318
- const _hoisted_2$5 = { class: "section-item__title-text" };
9373
+ const _hoisted_1$9 = ["onClick"];
9374
+ const _hoisted_2$4 = { class: "section-item__title-text" };
9319
9375
  const __default__$a = {
9320
9376
  name: "SectionTitleEl"
9321
9377
  };
@@ -9406,7 +9462,7 @@ const _sfc_main$l = defineComponent({
9406
9462
  class: "section-item__title",
9407
9463
  onClick: ($event) => toggleSectionHidden(index2)
9408
9464
  }, [
9409
- createElementVNode("span", _hoisted_2$5, toDisplayString(section.text), 1),
9465
+ createElementVNode("span", _hoisted_2$4, toDisplayString(section.text), 1),
9410
9466
  isUseCollapseList.value[index2] ? (openBlock(), createBlock(_component_el_icon, {
9411
9467
  key: 0,
9412
9468
  size: 16
@@ -9416,7 +9472,7 @@ const _sfc_main$l = defineComponent({
9416
9472
  ]),
9417
9473
  _: 2
9418
9474
  }, 1024)) : createCommentVNode("", true)
9419
- ], 8, _hoisted_1$8),
9475
+ ], 8, _hoisted_1$9),
9420
9476
  createElementVNode("div", {
9421
9477
  class: normalizeClass(["section-item__els", { hidden: sectionHiddens.value[index2] }])
9422
9478
  }, [
@@ -9706,12 +9762,12 @@ const defineForm = (form) => {
9706
9762
  };
9707
9763
  var setting_vue_vue_type_style_index_0_lang$1 = "";
9708
9764
  var setting_vue_vue_type_style_index_1_lang$1 = "";
9709
- const _hoisted_1$7 = { key: 0 };
9710
- const _hoisted_2$4 = {
9765
+ const _hoisted_1$8 = { key: 0 };
9766
+ const _hoisted_2$3 = {
9711
9767
  key: 1,
9712
9768
  style: { "color": "#999" }
9713
9769
  };
9714
- const _hoisted_3$2 = { key: 0 };
9770
+ const _hoisted_3$3 = { key: 0 };
9715
9771
  const _hoisted_4$2 = {
9716
9772
  key: 1,
9717
9773
  style: { "color": "#999" }
@@ -9914,7 +9970,7 @@ const _sfc_main$g = defineComponent({
9914
9970
  createElementVNode("div", {
9915
9971
  class: normalizeClass(unref(createBEMName)("cell"))
9916
9972
  }, [
9917
- element.sectionName ? (openBlock(), createElementBlock("span", _hoisted_1$7, toDisplayString(element.sectionName), 1)) : (openBlock(), createElementBlock("span", _hoisted_2$4, "\u672A\u914D\u7F6E"))
9973
+ element.sectionName ? (openBlock(), createElementBlock("span", _hoisted_1$8, toDisplayString(element.sectionName), 1)) : (openBlock(), createElementBlock("span", _hoisted_2$3, "\u672A\u914D\u7F6E"))
9918
9974
  ], 2),
9919
9975
  createElementVNode("div", {
9920
9976
  class: normalizeClass(unref(createBEMName)("cell"))
@@ -9929,7 +9985,7 @@ const _sfc_main$g = defineComponent({
9929
9985
  createElementVNode("div", {
9930
9986
  class: normalizeClass(unref(createBEMName)("cell"))
9931
9987
  }, [
9932
- element.moduleName ? (openBlock(), createElementBlock("span", _hoisted_3$2, toDisplayString(element.moduleName), 1)) : (openBlock(), createElementBlock("span", _hoisted_4$2, "\u672A\u914D\u7F6E"))
9988
+ element.moduleName ? (openBlock(), createElementBlock("span", _hoisted_3$3, toDisplayString(element.moduleName), 1)) : (openBlock(), createElementBlock("span", _hoisted_4$2, "\u672A\u914D\u7F6E"))
9933
9989
  ], 2),
9934
9990
  createElementVNode("div", {
9935
9991
  class: normalizeClass(unref(createBEMName)("cell"))
@@ -10579,7 +10635,7 @@ const _sfc_main$d = defineComponent({
10579
10635
  }
10580
10636
  });
10581
10637
  var index_vue_vue_type_style_index_0_lang$2 = "";
10582
- const _hoisted_1$6 = { class: "el-drawer_title" };
10638
+ const _hoisted_1$7 = { class: "el-drawer_title" };
10583
10639
  const _sfc_main$c = defineComponent({
10584
10640
  __name: "index",
10585
10641
  props: {
@@ -10618,7 +10674,7 @@ const _sfc_main$c = defineComponent({
10618
10674
  class: `${unref(BEMSpace)} ${props.customClass || ""} ${_ctx.noPaddingTop ? "no-padding-top" : ""}`
10619
10675
  }, props.dialogProps || {}, toHandlers(props.dialogEvents || {}), { "onUpdate:modelValue": onUpdateModelValue }), createSlots({
10620
10676
  header: withCtx(() => [
10621
- createElementVNode("span", _hoisted_1$6, toDisplayString(_ctx.title), 1)
10677
+ createElementVNode("span", _hoisted_1$7, toDisplayString(_ctx.title), 1)
10622
10678
  ]),
10623
10679
  default: withCtx(() => [
10624
10680
  renderSlot(_ctx.$slots, "default")
@@ -10967,7 +11023,7 @@ class FilterTools {
10967
11023
  }
10968
11024
  }
10969
11025
  var index_vue_vue_type_style_index_0_scoped_true_lang$4 = "";
10970
- const _hoisted_1$5 = ["onClick"];
11026
+ const _hoisted_1$6 = ["onClick"];
10971
11027
  const _sfc_main$9 = defineComponent({
10972
11028
  __name: "index",
10973
11029
  props: {
@@ -11176,7 +11232,7 @@ const _sfc_main$9 = defineComponent({
11176
11232
  ]),
11177
11233
  _: 1
11178
11234
  })) : createCommentVNode("", true)
11179
- ], 10, _hoisted_1$5);
11235
+ ], 10, _hoisted_1$6);
11180
11236
  }), 128))
11181
11237
  ]),
11182
11238
  _: 1
@@ -11390,6 +11446,7 @@ const _sfc_main$8 = defineComponent({
11390
11446
  }
11391
11447
  });
11392
11448
  var index_vue_vue_type_style_index_0_scoped_true_lang$3 = "";
11449
+ const _hoisted_1$5 = { class: "f_z__select-footer" };
11393
11450
  const _sfc_main$7 = defineComponent({
11394
11451
  __name: "index",
11395
11452
  props: {
@@ -11403,6 +11460,25 @@ const _sfc_main$7 = defineComponent({
11403
11460
  const filterColumnList = ref([]);
11404
11461
  const filterList = ref([]);
11405
11462
  const simplePopoverRef = ref();
11463
+ const getAddFilterItem = (columnEl) => {
11464
+ const formData = {
11465
+ prop: columnEl.prop,
11466
+ filterType: columnEl.filters.filterType,
11467
+ filterLabel: columnEl.filters.filterLabel,
11468
+ filterOptions: columnEl.filters.filterOptions,
11469
+ condition: FilterMatchModeEnum$1.\u7B49\u4E8E,
11470
+ value: null
11471
+ };
11472
+ if (formData.filterType === FilterItemTypeEnum$1.\u591A\u9009\u503C) {
11473
+ formData.value = [];
11474
+ }
11475
+ return formData;
11476
+ };
11477
+ const handleAddItem = () => {
11478
+ if (filterColumnList.value[0]) {
11479
+ filterList.value.push(getAddFilterItem(filterColumnList.value[0]));
11480
+ }
11481
+ };
11406
11482
  const showPopover = (element) => {
11407
11483
  var _a;
11408
11484
  (_a = simplePopoverRef.value) == null ? void 0 : _a.show(element);
@@ -11422,34 +11498,24 @@ const _sfc_main$7 = defineComponent({
11422
11498
  value: item.value
11423
11499
  };
11424
11500
  });
11501
+ if (!filterList.value.length) {
11502
+ handleAddItem();
11503
+ }
11425
11504
  };
11426
11505
  const hidePopover = () => {
11427
11506
  var _a;
11428
11507
  (_a = simplePopoverRef.value) == null ? void 0 : _a.hide();
11429
11508
  };
11430
- const getAddFilterItem = (columnEl) => {
11431
- const formData = {
11432
- prop: columnEl.prop,
11433
- filterType: columnEl.filters.filterType,
11434
- filterLabel: columnEl.filters.filterLabel,
11435
- filterOptions: columnEl.filters.filterOptions,
11436
- condition: FilterMatchModeEnum$1.\u7B49\u4E8E,
11437
- value: null
11438
- };
11439
- if (formData.filterType === FilterItemTypeEnum$1.\u591A\u9009\u503C) {
11440
- formData.value = [];
11441
- }
11442
- return formData;
11443
- };
11444
11509
  const handleFieldChange = (index2, prop) => {
11445
11510
  const columnEl = filterColumnList.value.find((a) => a.prop === prop);
11446
11511
  const newItem = getAddFilterItem(columnEl);
11447
11512
  filterList.value[index2] = newItem;
11448
11513
  };
11449
- const handleAddItem = () => {
11450
- if (filterColumnList.value[0]) {
11451
- filterList.value.push(getAddFilterItem(filterColumnList.value[0]));
11452
- }
11514
+ const handleClearSelect = (item) => {
11515
+ item.value = [];
11516
+ };
11517
+ const handleSelectAll = (item) => {
11518
+ item.value = item.filterOptions.map((a) => a.value);
11453
11519
  };
11454
11520
  const handleRemoveItem = (index2) => {
11455
11521
  filterList.value.splice(index2, 1);
@@ -11462,20 +11528,15 @@ const _sfc_main$7 = defineComponent({
11462
11528
  };
11463
11529
  const handleScreen = () => {
11464
11530
  const list = filterList.value.filter((a) => {
11465
- var _a;
11466
11531
  const hasCompare = [
11467
11532
  FilterItemTypeEnum$1["\u6587\u5B57"],
11468
11533
  FilterItemTypeEnum$1["\u65E5\u671F"],
11469
11534
  FilterItemTypeEnum$1["\u6570\u5B57"]
11470
11535
  ].includes(a.filterType);
11471
11536
  if (hasCompare) {
11472
- return a.condition && a.value != null;
11537
+ return a.condition;
11473
11538
  } else {
11474
- if (a.filterType === FilterItemTypeEnum$1.\u591A\u9009\u503C) {
11475
- return (_a = a.value) == null ? void 0 : _a.length;
11476
- } else {
11477
- return a.value !== null;
11478
- }
11539
+ return true;
11479
11540
  }
11480
11541
  });
11481
11542
  props.manager.tableManager.columnParamsList = list.map((item) => {
@@ -11499,8 +11560,8 @@ const _sfc_main$7 = defineComponent({
11499
11560
  const _component_el_input = resolveComponent("el-input");
11500
11561
  const _component_el_input_number = resolveComponent("el-input-number");
11501
11562
  const _component_el_date_picker = resolveComponent("el-date-picker");
11502
- const _component_el_icon = resolveComponent("el-icon");
11503
11563
  const _component_el_button = resolveComponent("el-button");
11564
+ const _component_el_icon = resolveComponent("el-icon");
11504
11565
  return openBlock(), createBlock(SimplePopover, {
11505
11566
  ref_key: "simplePopoverRef",
11506
11567
  ref: simplePopoverRef,
@@ -11524,6 +11585,7 @@ const _sfc_main$7 = defineComponent({
11524
11585
  createVNode(_component_el_select, {
11525
11586
  modelValue: item.prop,
11526
11587
  "onUpdate:modelValue": ($event) => item.prop = $event,
11588
+ filterable: "",
11527
11589
  class: normalizeClass(unref(createBEMName)("key")),
11528
11590
  placeholder: "\u7B5B\u9009\u5B57\u6BB5",
11529
11591
  onChange: ($event) => handleFieldChange(index2, $event)
@@ -11684,6 +11746,32 @@ const _sfc_main$7 = defineComponent({
11684
11746
  clearable: "",
11685
11747
  placeholder: "\u8BF7\u9009\u62E9"
11686
11748
  }, {
11749
+ footer: withCtx(() => [
11750
+ createElementVNode("div", _hoisted_1$5, [
11751
+ createVNode(_component_el_button, {
11752
+ size: "small",
11753
+ type: "info",
11754
+ link: "",
11755
+ onClick: ($event) => handleClearSelect(item)
11756
+ }, {
11757
+ default: withCtx(() => [
11758
+ createTextVNode("\u6E05\u7A7A")
11759
+ ]),
11760
+ _: 2
11761
+ }, 1032, ["onClick"]),
11762
+ createVNode(_component_el_button, {
11763
+ size: "small",
11764
+ type: "primary",
11765
+ link: "",
11766
+ onClick: ($event) => handleSelectAll(item)
11767
+ }, {
11768
+ default: withCtx(() => [
11769
+ createTextVNode("\u5168\u9009")
11770
+ ]),
11771
+ _: 2
11772
+ }, 1032, ["onClick"])
11773
+ ])
11774
+ ]),
11687
11775
  default: withCtx(() => [
11688
11776
  (openBlock(true), createElementBlock(Fragment, null, renderList(item.filterOptions, (opt, index22) => {
11689
11777
  return openBlock(), createBlock(_component_el_option, {
@@ -11720,13 +11808,12 @@ const _sfc_main$7 = defineComponent({
11720
11808
  class: normalizeClass(unref(createBEMName)("actions"))
11721
11809
  }, [
11722
11810
  createVNode(_component_el_button, {
11723
- type: "primary",
11724
11811
  link: "",
11725
- icon: unref(circlePlus),
11812
+ icon: unref(plus),
11726
11813
  onClick: handleAddItem
11727
11814
  }, {
11728
11815
  default: withCtx(() => [
11729
- createTextVNode("\u6DFB\u52A0\u7B5B\u9009\u6761\u4EF6")
11816
+ createTextVNode("\u7B5B\u9009\u6761\u4EF6")
11730
11817
  ]),
11731
11818
  _: 1
11732
11819
  }, 8, ["icon"]),
@@ -11755,25 +11842,26 @@ const _sfc_main$7 = defineComponent({
11755
11842
  };
11756
11843
  }
11757
11844
  });
11758
- var ColumnFilterTools = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["__scopeId", "data-v-637a03a4"]]);
11845
+ var ColumnFilterTools = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["__scopeId", "data-v-aaf520fa"]]);
11759
11846
  var index_vue_vue_type_style_index_0_scoped_true_lang$2 = "";
11760
- const _withScopeId$1 = (n) => (pushScopeId("data-v-05a4fc48"), n = n(), popScopeId(), n);
11761
- const _hoisted_1$4 = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ createElementVNode("i", {
11847
+ const _withScopeId$1 = (n) => (pushScopeId("data-v-559d52de"), n = n(), popScopeId(), n);
11848
+ const _hoisted_1$4 = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ createElementVNode("span", null, "\u8BBE\u7F6E\u6392\u5E8F\u6761\u4EF6", -1));
11849
+ const _hoisted_2$2 = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ createElementVNode("i", {
11762
11850
  class: "pm-icon icon-drag-dot",
11763
11851
  title: "\u62D6\u52A8\u8C03\u6574\u663E\u793A\u987A\u5E8F"
11764
11852
  }, null, -1));
11765
- const _hoisted_2$3 = ["onClick"];
11766
- const _hoisted_3$1 = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ createElementVNode("span", null, "A -> Z", -1));
11767
- const _hoisted_4$1 = [
11768
- _hoisted_3$1
11853
+ const _hoisted_3$2 = ["onClick"];
11854
+ const _hoisted_4$1 = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ createElementVNode("span", null, "\u6B63\u5E8F", -1));
11855
+ const _hoisted_5$1 = [
11856
+ _hoisted_4$1
11769
11857
  ];
11770
- const _hoisted_5$1 = ["onClick"];
11771
- const _hoisted_6$1 = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ createElementVNode("span", null, "Z -> A", -1));
11772
- const _hoisted_7$1 = [
11773
- _hoisted_6$1
11858
+ const _hoisted_6$1 = ["onClick"];
11859
+ const _hoisted_7$1 = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ createElementVNode("span", null, "\u5012\u5E8F", -1));
11860
+ const _hoisted_8 = [
11861
+ _hoisted_7$1
11774
11862
  ];
11775
- const _hoisted_8 = ["onClick"];
11776
- const _hoisted_9 = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ createElementVNode("div", null, null, -1));
11863
+ const _hoisted_9 = ["onClick"];
11864
+ const _hoisted_10 = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ createElementVNode("div", null, null, -1));
11777
11865
  const _sfc_main$6 = defineComponent({
11778
11866
  __name: "index",
11779
11867
  props: {
@@ -11865,9 +11953,10 @@ const _sfc_main$6 = defineComponent({
11865
11953
  hidePopover
11866
11954
  });
11867
11955
  return (_ctx, _cache) => {
11956
+ const _component_el_icon = resolveComponent("el-icon");
11957
+ const _component_el_tooltip = resolveComponent("el-tooltip");
11868
11958
  const _component_el_option = resolveComponent("el-option");
11869
11959
  const _component_el_select = resolveComponent("el-select");
11870
- const _component_el_icon = resolveComponent("el-icon");
11871
11960
  const _component_el_button = resolveComponent("el-button");
11872
11961
  const _component_el_input = resolveComponent("el-input");
11873
11962
  const _component_el_scrollbar = resolveComponent("el-scrollbar");
@@ -11883,7 +11972,26 @@ const _sfc_main$6 = defineComponent({
11883
11972
  }, [
11884
11973
  createElementVNode("div", {
11885
11974
  class: normalizeClass(unref(createBEMName)("title"))
11886
- }, "\u8BBE\u7F6E\u6392\u5E8F\u6761\u4EF6", 2),
11975
+ }, [
11976
+ _hoisted_1$4,
11977
+ createVNode(_component_el_tooltip, {
11978
+ class: "box-item",
11979
+ effect: "dark",
11980
+ "raw-content": "",
11981
+ content: "\u6B63\u5E8F\uFF1A<br>\u6570\u5B57\uFF1A\u4ECE\u5C0F\u5230\u5927<br>\u6587\u672C\uFF1Aa -> z",
11982
+ placement: "right"
11983
+ }, {
11984
+ default: withCtx(() => [
11985
+ createVNode(_component_el_icon, null, {
11986
+ default: withCtx(() => [
11987
+ createVNode(unref(infoFilled))
11988
+ ]),
11989
+ _: 1
11990
+ })
11991
+ ]),
11992
+ _: 1
11993
+ })
11994
+ ], 2),
11887
11995
  createVNode(_sfc_main$u, {
11888
11996
  modelValue: filterList.value,
11889
11997
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => filterList.value = $event),
@@ -11894,13 +12002,14 @@ const _sfc_main$6 = defineComponent({
11894
12002
  createElementVNode("div", {
11895
12003
  class: normalizeClass(unref(createBEMName)("item"))
11896
12004
  }, [
11897
- _hoisted_1$4,
12005
+ _hoisted_2$2,
11898
12006
  createElementVNode("div", {
11899
12007
  class: normalizeClass(unref(createBEMName)("inner-item"))
11900
12008
  }, [
11901
12009
  createVNode(_component_el_select, {
11902
12010
  modelValue: element.prop,
11903
12011
  "onUpdate:modelValue": ($event) => element.prop = $event,
12012
+ filterable: "",
11904
12013
  class: normalizeClass(unref(createBEMName)("key")),
11905
12014
  placeholder: "\u6392\u5E8F\u5B57\u6BB5",
11906
12015
  onChange: ($event) => handleFieldChange(index2, $event)
@@ -11930,7 +12039,7 @@ const _sfc_main$6 = defineComponent({
11930
12039
  { "is-selected": element.order === "ascending" }
11931
12040
  ]),
11932
12041
  onClick: ($event) => handleSelectSortItem(element, "ascending")
11933
- }, _hoisted_4$1, 10, _hoisted_2$3),
12042
+ }, _hoisted_5$1, 10, _hoisted_3$2),
11934
12043
  createElementVNode("div", {
11935
12044
  class: normalizeClass([
11936
12045
  unref(createBEMName)("radio-item"),
@@ -11938,7 +12047,7 @@ const _sfc_main$6 = defineComponent({
11938
12047
  { "is-selected": element.order === "descending" }
11939
12048
  ]),
11940
12049
  onClick: ($event) => handleSelectSortItem(element, "descending")
11941
- }, _hoisted_7$1, 10, _hoisted_5$1)
12050
+ }, _hoisted_8, 10, _hoisted_6$1)
11942
12051
  ], 2),
11943
12052
  createVNode(_component_el_icon, {
11944
12053
  size: 18,
@@ -11960,7 +12069,7 @@ const _sfc_main$6 = defineComponent({
11960
12069
  class: normalizeClass(unref(createBEMName)("actions"))
11961
12070
  }, [
11962
12071
  createVNode(_component_el_popover, {
11963
- placement: "bottom",
12072
+ placement: "bottom-start",
11964
12073
  width: 200,
11965
12074
  trigger: "click"
11966
12075
  }, {
@@ -11982,7 +12091,7 @@ const _sfc_main$6 = defineComponent({
11982
12091
  createVNode(_component_el_input, {
11983
12092
  modelValue: filterKeywords.value,
11984
12093
  "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => filterKeywords.value = $event),
11985
- placeholder: "\u8BF7\u8F93\u5165",
12094
+ placeholder: "\u8BF7\u8F93\u5165\u8981\u6392\u5E8F\u7684\u5B57\u6BB5",
11986
12095
  clearable: ""
11987
12096
  }, null, 8, ["modelValue"]),
11988
12097
  createElementVNode("div", {
@@ -11995,11 +12104,11 @@ const _sfc_main$6 = defineComponent({
11995
12104
  key: index2,
11996
12105
  class: normalizeClass([unref(createBEMName)("select-item")]),
11997
12106
  onClick: ($event) => handleClickSelect(item.prop)
11998
- }, toDisplayString(item.label), 11, _hoisted_8)), [
12107
+ }, toDisplayString(item.label), 11, _hoisted_9)), [
11999
12108
  [vShow, !usedFieldList.value.includes(item.prop)]
12000
12109
  ]);
12001
12110
  }), 128)),
12002
- _hoisted_9
12111
+ _hoisted_10
12003
12112
  ]),
12004
12113
  _: 1
12005
12114
  })
@@ -12033,10 +12142,9 @@ const _sfc_main$6 = defineComponent({
12033
12142
  };
12034
12143
  }
12035
12144
  });
12036
- var ColumnSortTools = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["__scopeId", "data-v-05a4fc48"]]);
12145
+ var ColumnSortTools = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["__scopeId", "data-v-559d52de"]]);
12037
12146
  var index_vue_vue_type_style_index_0_scoped_true_lang$1 = "";
12038
- const _hoisted_1$3 = { class: "table-toolbox" };
12039
- const _hoisted_2$2 = ["onClick"];
12147
+ const _hoisted_1$3 = ["data-event", "onClick"];
12040
12148
  const __default__$4 = {
12041
12149
  name: "TableToolsbox"
12042
12150
  };
@@ -12049,7 +12157,7 @@ const _sfc_main$5 = defineComponent({
12049
12157
  tableManager: {}
12050
12158
  },
12051
12159
  emits: ["custom-event"],
12052
- setup(__props, { emit: __emit }) {
12160
+ setup(__props, { expose: __expose, emit: __emit }) {
12053
12161
  const props = __props;
12054
12162
  const emit = __emit;
12055
12163
  const innerTools = {
@@ -12125,15 +12233,33 @@ const _sfc_main$5 = defineComponent({
12125
12233
  const item = showToolbox.value[index2];
12126
12234
  emit("custom-event", item.event, item, e);
12127
12235
  };
12236
+ const toolboxRef = ref(null);
12237
+ const trigEvent = (event) => {
12238
+ var _a;
12239
+ const element = (_a = toolboxRef.value) == null ? void 0 : _a.querySelector(
12240
+ `[data-event="${event}"]`
12241
+ );
12242
+ if (element) {
12243
+ element.click();
12244
+ }
12245
+ };
12246
+ __expose({
12247
+ trigEvent
12248
+ });
12128
12249
  return (_ctx, _cache) => {
12129
12250
  const _component_el_icon = resolveComponent("el-icon");
12130
12251
  const _component_el_tooltip = resolveComponent("el-tooltip");
12131
12252
  const _component_el_button = resolveComponent("el-button");
12132
- return openBlock(), createElementBlock("div", _hoisted_1$3, [
12253
+ return openBlock(), createElementBlock("div", {
12254
+ ref_key: "toolboxRef",
12255
+ ref: toolboxRef,
12256
+ class: "table-toolbox"
12257
+ }, [
12133
12258
  _ctx.mode === "icon" ? (openBlock(true), createElementBlock(Fragment, { key: 0 }, renderList(showToolbox.value, (tool, index2) => {
12134
12259
  return openBlock(), createElementBlock("div", {
12135
12260
  class: "tool-item",
12136
12261
  key: index2,
12262
+ "data-event": tool.event,
12137
12263
  onClick: ($event) => handleClickTool(index2, $event)
12138
12264
  }, [
12139
12265
  createVNode(_component_el_tooltip, {
@@ -12151,11 +12277,12 @@ const _sfc_main$5 = defineComponent({
12151
12277
  ]),
12152
12278
  _: 2
12153
12279
  }, 1032, ["content"])
12154
- ], 8, _hoisted_2$2);
12280
+ ], 8, _hoisted_1$3);
12155
12281
  }), 128)) : (openBlock(true), createElementBlock(Fragment, { key: 1 }, renderList(showToolbox.value, (tool, index2) => {
12156
12282
  return openBlock(), createBlock(_component_el_button, {
12157
12283
  key: index2,
12158
12284
  text: "",
12285
+ "data-event": tool.event,
12159
12286
  bg: tool.bg,
12160
12287
  onClick: ($event) => handleClickTool(index2, $event)
12161
12288
  }, {
@@ -12169,13 +12296,13 @@ const _sfc_main$5 = defineComponent({
12169
12296
  createElementVNode("span", null, toDisplayString(tool.text) + toDisplayString(tool.desc), 1)
12170
12297
  ]),
12171
12298
  _: 2
12172
- }, 1032, ["bg", "onClick"]);
12299
+ }, 1032, ["data-event", "bg", "onClick"]);
12173
12300
  }), 128))
12174
- ]);
12301
+ ], 512);
12175
12302
  };
12176
12303
  }
12177
12304
  });
12178
- var TableToolsbox = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["__scopeId", "data-v-33b50ea5"]]);
12305
+ var TableToolsbox = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["__scopeId", "data-v-6839f46e"]]);
12179
12306
  function patchConfig(config, patches) {
12180
12307
  return patches.reduce((memoConfig, patchFn) => {
12181
12308
  return patchFn.call(this, memoConfig);
@@ -12330,9 +12457,56 @@ function useAuthButtons(props, injectValue) {
12330
12457
  authButtons: _authButtons
12331
12458
  };
12332
12459
  }
12460
+ let isListening = false;
12461
+ const useKeyBoardEvent = () => {
12462
+ const handleMouseEnter = debounce((event) => {
12463
+ if (event.target) {
12464
+ const element = event.target;
12465
+ const managerId = Number(element.getAttribute("data-manager-id"));
12466
+ if (managerId) {
12467
+ managerController.setCurrentManagerId(managerId);
12468
+ }
12469
+ }
12470
+ }, 500);
12471
+ if (!isListening) {
12472
+ window.addEventListener("keydown", function(e) {
12473
+ const manager = managerController.getCurrentManager();
12474
+ if (!manager || !manager.config.keyboardEvents) {
12475
+ return false;
12476
+ }
12477
+ const isCtrl = e.ctrlKey;
12478
+ const isAlt = e.altKey;
12479
+ const isShift = e.shiftKey;
12480
+ const key = e.key.toLowerCase();
12481
+ let keys2 = [];
12482
+ if (isAlt) {
12483
+ keys2.push("alt");
12484
+ }
12485
+ if (isCtrl) {
12486
+ keys2.push("ctrl");
12487
+ }
12488
+ if (isShift) {
12489
+ keys2.push("shift");
12490
+ }
12491
+ keys2.push(key);
12492
+ const keyEvent = keys2.join("+");
12493
+ const bindFn = manager.config.keyboardEvents[keyEvent];
12494
+ if (bindFn && typeof bindFn === "function") {
12495
+ bindFn.call(manager, e);
12496
+ }
12497
+ });
12498
+ isListening = true;
12499
+ }
12500
+ return {
12501
+ useKeyboardEvents: {
12502
+ onMouseenter: handleMouseEnter
12503
+ }
12504
+ };
12505
+ };
12333
12506
  var index_vue_vue_type_style_index_0_lang$1 = "";
12334
- const _hoisted_1$2 = { key: 0 };
12335
- const _hoisted_2$1 = { style: { "white-space": "nowrap" } };
12507
+ const _hoisted_1$2 = ["data-manager-id"];
12508
+ const _hoisted_2$1 = { key: 0 };
12509
+ const _hoisted_3$1 = { style: { "white-space": "nowrap" } };
12336
12510
  const __default__$3 = {
12337
12511
  name: "PageModel"
12338
12512
  };
@@ -12354,6 +12528,7 @@ const _sfc_main$4 = defineComponent({
12354
12528
  const instance = getCurrentInstance();
12355
12529
  const manager = reactive(new PageModelManager());
12356
12530
  manager.updateContext(instance.proxy);
12531
+ managerController.register(manager);
12357
12532
  const childrenProperty = /* @__PURE__ */ new Map();
12358
12533
  const registerProperty = (name2, instance2) => {
12359
12534
  childrenProperty.set(name2, instance2);
@@ -12705,6 +12880,11 @@ const _sfc_main$4 = defineComponent({
12705
12880
  const handleColumnSortToolsScreen = () => {
12706
12881
  pageModelTableRef.value.handleColumnSort();
12707
12882
  };
12883
+ const { useKeyboardEvents } = useKeyBoardEvent();
12884
+ const tableToolsboxRef = ref();
12885
+ const trigTableToolboxEvent = (event) => {
12886
+ tableToolsboxRef.value.trigEvent(event);
12887
+ };
12708
12888
  __expose({
12709
12889
  manager,
12710
12890
  doTableLayout,
@@ -12714,6 +12894,7 @@ const _sfc_main$4 = defineComponent({
12714
12894
  updateTableData,
12715
12895
  getTableData,
12716
12896
  showImport,
12897
+ trigTableToolboxEvent,
12717
12898
  getSearchFormData,
12718
12899
  updateSearchFormData,
12719
12900
  doSearchFormLayout,
@@ -12739,8 +12920,9 @@ const _sfc_main$4 = defineComponent({
12739
12920
  return (_ctx, _cache) => {
12740
12921
  var _a, _b, _c, _d;
12741
12922
  const _component_el_scrollbar = resolveComponent("el-scrollbar");
12742
- return openBlock(), createElementBlock("div", {
12743
- class: normalizeClass([
12923
+ return openBlock(), createElementBlock("div", mergeProps({
12924
+ "data-manager-id": manager.id,
12925
+ class: [
12744
12926
  unref(BEMSpace),
12745
12927
  {
12746
12928
  "with-tab": hasTabs.value,
@@ -12748,10 +12930,10 @@ const _sfc_main$4 = defineComponent({
12748
12930
  "with-selectable-buttons": showSelectableButtonsArea.value,
12749
12931
  "with-shadow": _ctx.config.shadow
12750
12932
  }
12751
- ]),
12752
- style: normalizeStyle({ height: props.height })
12753
- }, [
12754
- !uConfig.value ? (openBlock(), createElementBlock("span", _hoisted_1$2, "\u914D\u7F6E\u51C6\u5907\u4E2D")) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [
12933
+ ],
12934
+ style: { height: props.height }
12935
+ }, unref(useKeyboardEvents)), [
12936
+ !uConfig.value ? (openBlock(), createElementBlock("span", _hoisted_2$1, "\u914D\u7F6E\u51C6\u5907\u4E2D")) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [
12755
12937
  hasTabs.value || isRenderForm.value ? (openBlock(), createElementBlock("div", {
12756
12938
  key: 0,
12757
12939
  class: normalizeClass(unref(createBEMName)("top-filter"))
@@ -12760,7 +12942,7 @@ const _sfc_main$4 = defineComponent({
12760
12942
  key: 0,
12761
12943
  class: normalizeClass(unref(createBEMName)("top-tabs"))
12762
12944
  }, [
12763
- hasTabs.value ? (openBlock(), createBlock(_sfc_main$10, {
12945
+ hasTabs.value ? (openBlock(), createBlock(_sfc_main$11, {
12764
12946
  key: 0,
12765
12947
  tabs: uConfig.value.tabs,
12766
12948
  manager,
@@ -12800,7 +12982,7 @@ const _sfc_main$4 = defineComponent({
12800
12982
  }, [
12801
12983
  createVNode(_component_el_scrollbar, null, {
12802
12984
  default: withCtx(() => [
12803
- createElementVNode("div", _hoisted_2$1, [
12985
+ createElementVNode("div", _hoisted_3$1, [
12804
12986
  hasSelectableActions.value ? (openBlock(), createBlock(SelectableOperate, {
12805
12987
  key: 0,
12806
12988
  els: manager.config.table.selectableButtons,
@@ -12811,6 +12993,8 @@ const _sfc_main$4 = defineComponent({
12811
12993
  }, null, 8, ["els", "tableManager", "manager"])) : createCommentVNode("", true),
12812
12994
  hasTableToolbox.value && toolboxShowAsButton.value ? (openBlock(), createBlock(TableToolsbox, {
12813
12995
  key: 1,
12996
+ ref_key: "tableToolsboxRef",
12997
+ ref: tableToolsboxRef,
12814
12998
  mode: "button",
12815
12999
  tableManager: manager.tableManager,
12816
13000
  toolbox: manager.config.table.toolbox,
@@ -12835,6 +13019,8 @@ const _sfc_main$4 = defineComponent({
12835
13019
  }, null, 8, ["manager"])) : createCommentVNode("", true),
12836
13020
  hasTableToolbox.value && !toolboxShowAsButton.value ? (openBlock(), createBlock(TableToolsbox, {
12837
13021
  key: 1,
13022
+ ref_key: "tableToolsboxRef",
13023
+ ref: tableToolsboxRef,
12838
13024
  toolbox: manager.config.table.toolbox,
12839
13025
  extendsToolbox: manager.config.table.extendsToolbox,
12840
13026
  onCustomEvent: handleToolboxCustomEvent
@@ -12908,7 +13094,7 @@ const _sfc_main$4 = defineComponent({
12908
13094
  onScreen: handleColumnSortToolsScreen
12909
13095
  }, null, 8, ["manager"])) : createCommentVNode("", true)
12910
13096
  ], 64))
12911
- ], 6);
13097
+ ], 16, _hoisted_1$2);
12912
13098
  };
12913
13099
  }
12914
13100
  });
@@ -13790,7 +13976,7 @@ const defineEditableTable = function(config) {
13790
13976
  };
13791
13977
  var iconfont = "";
13792
13978
  const name = "@juzhenfe/page-model";
13793
- const version = "3.14.7";
13979
+ const version = "3.14.9";
13794
13980
  const types = "dist/main.d.ts";
13795
13981
  const main = "dist/index.umd.js";
13796
13982
  const keywords = [