@juzhenfe/page-model 3.14.8 → 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$D = { 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$D);
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$C = {
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$C, _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$B = {
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$B, _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$A = {
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$A, _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$z = {
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$z, _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$y = {
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$y, _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$x = {
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$x, _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$w = {
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$w, _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$v = {
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$v, _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$u = {
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$u, _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$t = {
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$t, _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$s = {
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$s, _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$r = {
2589
+ const _hoisted_1$s = {
2559
2590
  class: "icon",
2560
2591
  width: "200",
2561
2592
  height: "200",
@@ -2566,13 +2597,34 @@ 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$r, _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
  });
@@ -2583,15 +2635,15 @@ const _hoisted_1$q = {
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$q, _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({
@@ -2604,15 +2656,15 @@ const _hoisted_1$p = {
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$p, _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({
@@ -2625,15 +2677,15 @@ const _hoisted_1$o = {
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$o, _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({
@@ -2646,15 +2698,15 @@ const _hoisted_1$n = {
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$n, _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({
@@ -2667,15 +2719,15 @@ const _hoisted_1$m = {
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$m, _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({
@@ -2688,15 +2740,15 @@ const _hoisted_1$l = {
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$l, _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({
@@ -2709,17 +2761,17 @@ const _hoisted_1$k = {
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
2777
  return openBlock(), createElementBlock("svg", _hoisted_1$k, _hoisted_4$6);
@@ -2735,15 +2787,15 @@ const _hoisted_1$j = {
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$j, _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({
@@ -2756,15 +2808,15 @@ const _hoisted_1$i = {
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$i, _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({
@@ -2777,15 +2829,15 @@ const _hoisted_1$h = {
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$h, _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");
@@ -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;
@@ -5679,15 +5734,10 @@ const _sfc_main$w = defineComponent({
5679
5734
  const handleScreen = () => {
5680
5735
  clearCurrentParams();
5681
5736
  const list = filterList.value.filter((a) => {
5682
- var _a;
5683
5737
  if (hasCompare.value) {
5684
- return a.condition && a.value != null;
5738
+ return a.condition;
5685
5739
  } else {
5686
- if (currentColumn.value.filterType === FilterItemTypeEnum$1.\u591A\u9009\u503C) {
5687
- return (_a = a.value) == null ? void 0 : _a.length;
5688
- } else {
5689
- return a.value !== null;
5690
- }
5740
+ return true;
5691
5741
  }
5692
5742
  });
5693
5743
  tableManager.value.columnParamsList = tableManager.value.columnParamsList.concat(
@@ -5960,13 +6010,12 @@ const _sfc_main$w = defineComponent({
5960
6010
  }, [
5961
6011
  filterMultiple.value && hasCompare.value ? (openBlock(), createBlock(_component_el_button, {
5962
6012
  key: 0,
5963
- type: "primary",
5964
6013
  link: "",
5965
- icon: unref(circlePlus),
6014
+ icon: unref(plus),
5966
6015
  onClick: handleAddFilterItem
5967
6016
  }, {
5968
6017
  default: withCtx(() => [
5969
- createTextVNode("\u6DFB\u52A0\u7B5B\u9009\u6761\u4EF6")
6018
+ createTextVNode("\u7B5B\u9009\u6761\u4EF6")
5970
6019
  ]),
5971
6020
  _: 1
5972
6021
  }, 8, ["icon"])) : (openBlock(), createElementBlock("div", _hoisted_1$e)),
@@ -5993,14 +6042,14 @@ const _sfc_main$w = defineComponent({
5993
6042
  };
5994
6043
  }
5995
6044
  });
5996
- 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"]]);
5997
6046
  var index_vue_vue_type_style_index_0_lang$7 = "";
5998
6047
  const _hoisted_1$d = ["data-key", "title"];
5999
- const _hoisted_2$8 = {
6048
+ const _hoisted_2$7 = {
6000
6049
  key: 0,
6001
6050
  style: { "color": "red" }
6002
6051
  };
6003
- const _hoisted_3$5 = ["onClick"];
6052
+ const _hoisted_3$6 = ["onClick"];
6004
6053
  const _hoisted_4$5 = ["data-index", "editable", "cell-key"];
6005
6054
  const _hoisted_5$4 = {
6006
6055
  key: 0,
@@ -6016,7 +6065,7 @@ const _hoisted_8$1 = {
6016
6065
  class: "empty-edit"
6017
6066
  };
6018
6067
  const _hoisted_9$1 = { key: 0 };
6019
- const _hoisted_10 = ["onClick"];
6068
+ const _hoisted_10$1 = ["onClick"];
6020
6069
  const __default__$h = {
6021
6070
  name: "TableColumn"
6022
6071
  };
@@ -6150,7 +6199,7 @@ const _sfc_main$v = defineComponent({
6150
6199
  "data-key": column._key,
6151
6200
  title: $header.column.label
6152
6201
  }, [
6153
- column.required ? (openBlock(), createElementBlock("span", _hoisted_2$8, "*")) : createCommentVNode("", true),
6202
+ column.required ? (openBlock(), createElementBlock("span", _hoisted_2$7, "*")) : createCommentVNode("", true),
6154
6203
  column.helpText || column.icon ? (openBlock(), createBlock(_component_el_icon, {
6155
6204
  key: 1,
6156
6205
  title: column.helpText
@@ -6179,7 +6228,7 @@ const _sfc_main$v = defineComponent({
6179
6228
  ]),
6180
6229
  _: 1
6181
6230
  })
6182
- ], 14, _hoisted_3$5)) : createCommentVNode("", true)
6231
+ ], 14, _hoisted_3$6)) : createCommentVNode("", true)
6183
6232
  ], 10, _hoisted_1$d)
6184
6233
  ]),
6185
6234
  default: withCtx(({ row, $index, column: columnEl }) => [
@@ -6264,7 +6313,7 @@ const _sfc_main$v = defineComponent({
6264
6313
  ]),
6265
6314
  _: 1
6266
6315
  })
6267
- ], 8, _hoisted_10)) : createCommentVNode("", true)
6316
+ ], 8, _hoisted_10$1)) : createCommentVNode("", true)
6268
6317
  ], 64))
6269
6318
  ], 10, _hoisted_4$5))
6270
6319
  ]),
@@ -7800,11 +7849,11 @@ var index_vue_vue_type_style_index_0_lang$6 = "";
7800
7849
  var index_vue_vue_type_style_index_1_scoped_true_lang$1 = "";
7801
7850
  const _withScopeId$3 = (n) => (pushScopeId("data-v-7bf8eedc"), n = n(), popScopeId(), n);
7802
7851
  const _hoisted_1$c = { title: "\u5168\u9009/\u53D6\u6D88" };
7803
- const _hoisted_2$7 = /* @__PURE__ */ _withScopeId$3(() => /* @__PURE__ */ createElementVNode("i", {
7852
+ const _hoisted_2$6 = /* @__PURE__ */ _withScopeId$3(() => /* @__PURE__ */ createElementVNode("i", {
7804
7853
  class: "pm-icon icon-drag-dot",
7805
7854
  title: "\u62D6\u52A8\u8C03\u6574\u663E\u793A\u987A\u5E8F"
7806
7855
  }, null, -1));
7807
- const _hoisted_3$4 = ["title"];
7856
+ const _hoisted_3$5 = ["title"];
7808
7857
  const _hoisted_4$4 = ["title", "onClick"];
7809
7858
  const _hoisted_5$3 = ["title", "onClick"];
7810
7859
  const _sfc_main$r = defineComponent({
@@ -7954,11 +8003,11 @@ const _sfc_main$r = defineComponent({
7954
8003
  "onUpdate:modelValue": ($event) => element.userConfigShow = $event,
7955
8004
  class: normalizeClass(unref(createBEMName)("checkbox"))
7956
8005
  }, null, 8, ["modelValue", "onUpdate:modelValue", "class"]),
7957
- _hoisted_2$7,
8006
+ _hoisted_2$6,
7958
8007
  createElementVNode("span", {
7959
8008
  title: element.label,
7960
8009
  class: normalizeClass(unref(createBEMName)("item-label"))
7961
- }, toDisplayString(element.label), 11, _hoisted_3$4),
8010
+ }, toDisplayString(element.label), 11, _hoisted_3$5),
7962
8011
  createElementVNode("i", {
7963
8012
  title: element.fixed === "left" ? "\u53D6\u6D88\u51BB\u7ED3\u5217" : "\u51BB\u7ED3\u5728\u5DE6\u4FA7",
7964
8013
  class: normalizeClass([
@@ -8027,8 +8076,8 @@ var ColumnTools$1 = /* @__PURE__ */ _export_sfc(_sfc_main$r, [["__scopeId", "dat
8027
8076
  var index_vue_vue_type_style_index_0_scoped_true_lang$7 = "";
8028
8077
  const _withScopeId$2 = (n) => (pushScopeId("data-v-15dbe923"), n = n(), popScopeId(), n);
8029
8078
  const _hoisted_1$b = { key: 0 };
8030
- const _hoisted_2$6 = /* @__PURE__ */ _withScopeId$2(() => /* @__PURE__ */ createElementVNode("span", { class: "export-wrod" }, "\u4ECE\u7B2C", -1));
8031
- const _hoisted_3$3 = /* @__PURE__ */ _withScopeId$2(() => /* @__PURE__ */ createElementVNode("span", { class: "export-wrod" }, "\u9875\u5F00\u59CB\u5BFC\u51FA\uFF0C\u6BCF\u9875", -1));
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));
8032
8081
  const _hoisted_4$3 = /* @__PURE__ */ _withScopeId$2(() => /* @__PURE__ */ createElementVNode("span", { class: "export-wrod" }, "\u6761\u6570\u636E", -1));
8033
8082
  const _hoisted_5$2 = /* @__PURE__ */ _withScopeId$2(() => /* @__PURE__ */ createElementVNode("div", null, null, -1));
8034
8083
  const _hoisted_6$2 = { class: "export-columns" };
@@ -8272,14 +8321,14 @@ const _sfc_main$q = defineComponent({
8272
8321
  _: 1
8273
8322
  }, 8, ["modelValue"]),
8274
8323
  formData.fromApi ? (openBlock(), createElementBlock("div", _hoisted_1$b, [
8275
- _hoisted_2$6,
8324
+ _hoisted_2$5,
8276
8325
  createVNode(_component_el_input_number, {
8277
8326
  modelValue: formData.pageIndex,
8278
8327
  "onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => formData.pageIndex = $event),
8279
8328
  min: 1,
8280
8329
  size: "small"
8281
8330
  }, null, 8, ["modelValue"]),
8282
- _hoisted_3$3,
8331
+ _hoisted_3$4,
8283
8332
  createVNode(_component_el_input_number, {
8284
8333
  modelValue: formData.pageSize,
8285
8334
  "onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => formData.pageSize = $event),
@@ -9322,7 +9371,7 @@ class FormManager extends IManager {
9322
9371
  }
9323
9372
  var index_vue_vue_type_style_index_0_scoped_true_lang$5 = "";
9324
9373
  const _hoisted_1$9 = ["onClick"];
9325
- const _hoisted_2$5 = { class: "section-item__title-text" };
9374
+ const _hoisted_2$4 = { class: "section-item__title-text" };
9326
9375
  const __default__$a = {
9327
9376
  name: "SectionTitleEl"
9328
9377
  };
@@ -9413,7 +9462,7 @@ const _sfc_main$l = defineComponent({
9413
9462
  class: "section-item__title",
9414
9463
  onClick: ($event) => toggleSectionHidden(index2)
9415
9464
  }, [
9416
- createElementVNode("span", _hoisted_2$5, toDisplayString(section.text), 1),
9465
+ createElementVNode("span", _hoisted_2$4, toDisplayString(section.text), 1),
9417
9466
  isUseCollapseList.value[index2] ? (openBlock(), createBlock(_component_el_icon, {
9418
9467
  key: 0,
9419
9468
  size: 16
@@ -9714,11 +9763,11 @@ const defineForm = (form) => {
9714
9763
  var setting_vue_vue_type_style_index_0_lang$1 = "";
9715
9764
  var setting_vue_vue_type_style_index_1_lang$1 = "";
9716
9765
  const _hoisted_1$8 = { key: 0 };
9717
- const _hoisted_2$4 = {
9766
+ const _hoisted_2$3 = {
9718
9767
  key: 1,
9719
9768
  style: { "color": "#999" }
9720
9769
  };
9721
- const _hoisted_3$2 = { key: 0 };
9770
+ const _hoisted_3$3 = { key: 0 };
9722
9771
  const _hoisted_4$2 = {
9723
9772
  key: 1,
9724
9773
  style: { "color": "#999" }
@@ -9921,7 +9970,7 @@ const _sfc_main$g = defineComponent({
9921
9970
  createElementVNode("div", {
9922
9971
  class: normalizeClass(unref(createBEMName)("cell"))
9923
9972
  }, [
9924
- element.sectionName ? (openBlock(), createElementBlock("span", _hoisted_1$8, 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"))
9925
9974
  ], 2),
9926
9975
  createElementVNode("div", {
9927
9976
  class: normalizeClass(unref(createBEMName)("cell"))
@@ -9936,7 +9985,7 @@ const _sfc_main$g = defineComponent({
9936
9985
  createElementVNode("div", {
9937
9986
  class: normalizeClass(unref(createBEMName)("cell"))
9938
9987
  }, [
9939
- 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"))
9940
9989
  ], 2),
9941
9990
  createElementVNode("div", {
9942
9991
  class: normalizeClass(unref(createBEMName)("cell"))
@@ -11411,6 +11460,25 @@ const _sfc_main$7 = defineComponent({
11411
11460
  const filterColumnList = ref([]);
11412
11461
  const filterList = ref([]);
11413
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
+ };
11414
11482
  const showPopover = (element) => {
11415
11483
  var _a;
11416
11484
  (_a = simplePopoverRef.value) == null ? void 0 : _a.show(element);
@@ -11430,25 +11498,14 @@ const _sfc_main$7 = defineComponent({
11430
11498
  value: item.value
11431
11499
  };
11432
11500
  });
11501
+ if (!filterList.value.length) {
11502
+ handleAddItem();
11503
+ }
11433
11504
  };
11434
11505
  const hidePopover = () => {
11435
11506
  var _a;
11436
11507
  (_a = simplePopoverRef.value) == null ? void 0 : _a.hide();
11437
11508
  };
11438
- const getAddFilterItem = (columnEl) => {
11439
- const formData = {
11440
- prop: columnEl.prop,
11441
- filterType: columnEl.filters.filterType,
11442
- filterLabel: columnEl.filters.filterLabel,
11443
- filterOptions: columnEl.filters.filterOptions,
11444
- condition: FilterMatchModeEnum$1.\u7B49\u4E8E,
11445
- value: null
11446
- };
11447
- if (formData.filterType === FilterItemTypeEnum$1.\u591A\u9009\u503C) {
11448
- formData.value = [];
11449
- }
11450
- return formData;
11451
- };
11452
11509
  const handleFieldChange = (index2, prop) => {
11453
11510
  const columnEl = filterColumnList.value.find((a) => a.prop === prop);
11454
11511
  const newItem = getAddFilterItem(columnEl);
@@ -11460,11 +11517,6 @@ const _sfc_main$7 = defineComponent({
11460
11517
  const handleSelectAll = (item) => {
11461
11518
  item.value = item.filterOptions.map((a) => a.value);
11462
11519
  };
11463
- const handleAddItem = () => {
11464
- if (filterColumnList.value[0]) {
11465
- filterList.value.push(getAddFilterItem(filterColumnList.value[0]));
11466
- }
11467
- };
11468
11520
  const handleRemoveItem = (index2) => {
11469
11521
  filterList.value.splice(index2, 1);
11470
11522
  };
@@ -11476,20 +11528,15 @@ const _sfc_main$7 = defineComponent({
11476
11528
  };
11477
11529
  const handleScreen = () => {
11478
11530
  const list = filterList.value.filter((a) => {
11479
- var _a;
11480
11531
  const hasCompare = [
11481
11532
  FilterItemTypeEnum$1["\u6587\u5B57"],
11482
11533
  FilterItemTypeEnum$1["\u65E5\u671F"],
11483
11534
  FilterItemTypeEnum$1["\u6570\u5B57"]
11484
11535
  ].includes(a.filterType);
11485
11536
  if (hasCompare) {
11486
- return a.condition && a.value != null;
11537
+ return a.condition;
11487
11538
  } else {
11488
- if (a.filterType === FilterItemTypeEnum$1.\u591A\u9009\u503C) {
11489
- return (_a = a.value) == null ? void 0 : _a.length;
11490
- } else {
11491
- return a.value !== null;
11492
- }
11539
+ return true;
11493
11540
  }
11494
11541
  });
11495
11542
  props.manager.tableManager.columnParamsList = list.map((item) => {
@@ -11538,6 +11585,7 @@ const _sfc_main$7 = defineComponent({
11538
11585
  createVNode(_component_el_select, {
11539
11586
  modelValue: item.prop,
11540
11587
  "onUpdate:modelValue": ($event) => item.prop = $event,
11588
+ filterable: "",
11541
11589
  class: normalizeClass(unref(createBEMName)("key")),
11542
11590
  placeholder: "\u7B5B\u9009\u5B57\u6BB5",
11543
11591
  onChange: ($event) => handleFieldChange(index2, $event)
@@ -11760,13 +11808,12 @@ const _sfc_main$7 = defineComponent({
11760
11808
  class: normalizeClass(unref(createBEMName)("actions"))
11761
11809
  }, [
11762
11810
  createVNode(_component_el_button, {
11763
- type: "primary",
11764
11811
  link: "",
11765
- icon: unref(circlePlus),
11812
+ icon: unref(plus),
11766
11813
  onClick: handleAddItem
11767
11814
  }, {
11768
11815
  default: withCtx(() => [
11769
- createTextVNode("\u6DFB\u52A0\u7B5B\u9009\u6761\u4EF6")
11816
+ createTextVNode("\u7B5B\u9009\u6761\u4EF6")
11770
11817
  ]),
11771
11818
  _: 1
11772
11819
  }, 8, ["icon"]),
@@ -11795,25 +11842,26 @@ const _sfc_main$7 = defineComponent({
11795
11842
  };
11796
11843
  }
11797
11844
  });
11798
- var ColumnFilterTools = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["__scopeId", "data-v-27b86e68"]]);
11845
+ var ColumnFilterTools = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["__scopeId", "data-v-aaf520fa"]]);
11799
11846
  var index_vue_vue_type_style_index_0_scoped_true_lang$2 = "";
11800
- const _withScopeId$1 = (n) => (pushScopeId("data-v-05a4fc48"), n = n(), popScopeId(), n);
11801
- 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", {
11802
11850
  class: "pm-icon icon-drag-dot",
11803
11851
  title: "\u62D6\u52A8\u8C03\u6574\u663E\u793A\u987A\u5E8F"
11804
11852
  }, null, -1));
11805
- const _hoisted_2$3 = ["onClick"];
11806
- const _hoisted_3$1 = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ createElementVNode("span", null, "A -> Z", -1));
11807
- const _hoisted_4$1 = [
11808
- _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
11809
11857
  ];
11810
- const _hoisted_5$1 = ["onClick"];
11811
- const _hoisted_6$1 = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ createElementVNode("span", null, "Z -> A", -1));
11812
- const _hoisted_7$1 = [
11813
- _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
11814
11862
  ];
11815
- const _hoisted_8 = ["onClick"];
11816
- 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));
11817
11865
  const _sfc_main$6 = defineComponent({
11818
11866
  __name: "index",
11819
11867
  props: {
@@ -11905,9 +11953,10 @@ const _sfc_main$6 = defineComponent({
11905
11953
  hidePopover
11906
11954
  });
11907
11955
  return (_ctx, _cache) => {
11956
+ const _component_el_icon = resolveComponent("el-icon");
11957
+ const _component_el_tooltip = resolveComponent("el-tooltip");
11908
11958
  const _component_el_option = resolveComponent("el-option");
11909
11959
  const _component_el_select = resolveComponent("el-select");
11910
- const _component_el_icon = resolveComponent("el-icon");
11911
11960
  const _component_el_button = resolveComponent("el-button");
11912
11961
  const _component_el_input = resolveComponent("el-input");
11913
11962
  const _component_el_scrollbar = resolveComponent("el-scrollbar");
@@ -11923,7 +11972,26 @@ const _sfc_main$6 = defineComponent({
11923
11972
  }, [
11924
11973
  createElementVNode("div", {
11925
11974
  class: normalizeClass(unref(createBEMName)("title"))
11926
- }, "\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),
11927
11995
  createVNode(_sfc_main$u, {
11928
11996
  modelValue: filterList.value,
11929
11997
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => filterList.value = $event),
@@ -11934,13 +12002,14 @@ const _sfc_main$6 = defineComponent({
11934
12002
  createElementVNode("div", {
11935
12003
  class: normalizeClass(unref(createBEMName)("item"))
11936
12004
  }, [
11937
- _hoisted_1$4,
12005
+ _hoisted_2$2,
11938
12006
  createElementVNode("div", {
11939
12007
  class: normalizeClass(unref(createBEMName)("inner-item"))
11940
12008
  }, [
11941
12009
  createVNode(_component_el_select, {
11942
12010
  modelValue: element.prop,
11943
12011
  "onUpdate:modelValue": ($event) => element.prop = $event,
12012
+ filterable: "",
11944
12013
  class: normalizeClass(unref(createBEMName)("key")),
11945
12014
  placeholder: "\u6392\u5E8F\u5B57\u6BB5",
11946
12015
  onChange: ($event) => handleFieldChange(index2, $event)
@@ -11970,7 +12039,7 @@ const _sfc_main$6 = defineComponent({
11970
12039
  { "is-selected": element.order === "ascending" }
11971
12040
  ]),
11972
12041
  onClick: ($event) => handleSelectSortItem(element, "ascending")
11973
- }, _hoisted_4$1, 10, _hoisted_2$3),
12042
+ }, _hoisted_5$1, 10, _hoisted_3$2),
11974
12043
  createElementVNode("div", {
11975
12044
  class: normalizeClass([
11976
12045
  unref(createBEMName)("radio-item"),
@@ -11978,7 +12047,7 @@ const _sfc_main$6 = defineComponent({
11978
12047
  { "is-selected": element.order === "descending" }
11979
12048
  ]),
11980
12049
  onClick: ($event) => handleSelectSortItem(element, "descending")
11981
- }, _hoisted_7$1, 10, _hoisted_5$1)
12050
+ }, _hoisted_8, 10, _hoisted_6$1)
11982
12051
  ], 2),
11983
12052
  createVNode(_component_el_icon, {
11984
12053
  size: 18,
@@ -12000,7 +12069,7 @@ const _sfc_main$6 = defineComponent({
12000
12069
  class: normalizeClass(unref(createBEMName)("actions"))
12001
12070
  }, [
12002
12071
  createVNode(_component_el_popover, {
12003
- placement: "bottom",
12072
+ placement: "bottom-start",
12004
12073
  width: 200,
12005
12074
  trigger: "click"
12006
12075
  }, {
@@ -12022,7 +12091,7 @@ const _sfc_main$6 = defineComponent({
12022
12091
  createVNode(_component_el_input, {
12023
12092
  modelValue: filterKeywords.value,
12024
12093
  "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => filterKeywords.value = $event),
12025
- placeholder: "\u8BF7\u8F93\u5165",
12094
+ placeholder: "\u8BF7\u8F93\u5165\u8981\u6392\u5E8F\u7684\u5B57\u6BB5",
12026
12095
  clearable: ""
12027
12096
  }, null, 8, ["modelValue"]),
12028
12097
  createElementVNode("div", {
@@ -12035,11 +12104,11 @@ const _sfc_main$6 = defineComponent({
12035
12104
  key: index2,
12036
12105
  class: normalizeClass([unref(createBEMName)("select-item")]),
12037
12106
  onClick: ($event) => handleClickSelect(item.prop)
12038
- }, toDisplayString(item.label), 11, _hoisted_8)), [
12107
+ }, toDisplayString(item.label), 11, _hoisted_9)), [
12039
12108
  [vShow, !usedFieldList.value.includes(item.prop)]
12040
12109
  ]);
12041
12110
  }), 128)),
12042
- _hoisted_9
12111
+ _hoisted_10
12043
12112
  ]),
12044
12113
  _: 1
12045
12114
  })
@@ -12073,10 +12142,9 @@ const _sfc_main$6 = defineComponent({
12073
12142
  };
12074
12143
  }
12075
12144
  });
12076
- 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"]]);
12077
12146
  var index_vue_vue_type_style_index_0_scoped_true_lang$1 = "";
12078
- const _hoisted_1$3 = { class: "table-toolbox" };
12079
- const _hoisted_2$2 = ["onClick"];
12147
+ const _hoisted_1$3 = ["data-event", "onClick"];
12080
12148
  const __default__$4 = {
12081
12149
  name: "TableToolsbox"
12082
12150
  };
@@ -12089,7 +12157,7 @@ const _sfc_main$5 = defineComponent({
12089
12157
  tableManager: {}
12090
12158
  },
12091
12159
  emits: ["custom-event"],
12092
- setup(__props, { emit: __emit }) {
12160
+ setup(__props, { expose: __expose, emit: __emit }) {
12093
12161
  const props = __props;
12094
12162
  const emit = __emit;
12095
12163
  const innerTools = {
@@ -12165,15 +12233,33 @@ const _sfc_main$5 = defineComponent({
12165
12233
  const item = showToolbox.value[index2];
12166
12234
  emit("custom-event", item.event, item, e);
12167
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
+ });
12168
12249
  return (_ctx, _cache) => {
12169
12250
  const _component_el_icon = resolveComponent("el-icon");
12170
12251
  const _component_el_tooltip = resolveComponent("el-tooltip");
12171
12252
  const _component_el_button = resolveComponent("el-button");
12172
- return openBlock(), createElementBlock("div", _hoisted_1$3, [
12253
+ return openBlock(), createElementBlock("div", {
12254
+ ref_key: "toolboxRef",
12255
+ ref: toolboxRef,
12256
+ class: "table-toolbox"
12257
+ }, [
12173
12258
  _ctx.mode === "icon" ? (openBlock(true), createElementBlock(Fragment, { key: 0 }, renderList(showToolbox.value, (tool, index2) => {
12174
12259
  return openBlock(), createElementBlock("div", {
12175
12260
  class: "tool-item",
12176
12261
  key: index2,
12262
+ "data-event": tool.event,
12177
12263
  onClick: ($event) => handleClickTool(index2, $event)
12178
12264
  }, [
12179
12265
  createVNode(_component_el_tooltip, {
@@ -12191,11 +12277,12 @@ const _sfc_main$5 = defineComponent({
12191
12277
  ]),
12192
12278
  _: 2
12193
12279
  }, 1032, ["content"])
12194
- ], 8, _hoisted_2$2);
12280
+ ], 8, _hoisted_1$3);
12195
12281
  }), 128)) : (openBlock(true), createElementBlock(Fragment, { key: 1 }, renderList(showToolbox.value, (tool, index2) => {
12196
12282
  return openBlock(), createBlock(_component_el_button, {
12197
12283
  key: index2,
12198
12284
  text: "",
12285
+ "data-event": tool.event,
12199
12286
  bg: tool.bg,
12200
12287
  onClick: ($event) => handleClickTool(index2, $event)
12201
12288
  }, {
@@ -12209,13 +12296,13 @@ const _sfc_main$5 = defineComponent({
12209
12296
  createElementVNode("span", null, toDisplayString(tool.text) + toDisplayString(tool.desc), 1)
12210
12297
  ]),
12211
12298
  _: 2
12212
- }, 1032, ["bg", "onClick"]);
12299
+ }, 1032, ["data-event", "bg", "onClick"]);
12213
12300
  }), 128))
12214
- ]);
12301
+ ], 512);
12215
12302
  };
12216
12303
  }
12217
12304
  });
12218
- 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"]]);
12219
12306
  function patchConfig(config, patches) {
12220
12307
  return patches.reduce((memoConfig, patchFn) => {
12221
12308
  return patchFn.call(this, memoConfig);
@@ -12370,9 +12457,56 @@ function useAuthButtons(props, injectValue) {
12370
12457
  authButtons: _authButtons
12371
12458
  };
12372
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
+ };
12373
12506
  var index_vue_vue_type_style_index_0_lang$1 = "";
12374
- const _hoisted_1$2 = { key: 0 };
12375
- 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" } };
12376
12510
  const __default__$3 = {
12377
12511
  name: "PageModel"
12378
12512
  };
@@ -12394,6 +12528,7 @@ const _sfc_main$4 = defineComponent({
12394
12528
  const instance = getCurrentInstance();
12395
12529
  const manager = reactive(new PageModelManager());
12396
12530
  manager.updateContext(instance.proxy);
12531
+ managerController.register(manager);
12397
12532
  const childrenProperty = /* @__PURE__ */ new Map();
12398
12533
  const registerProperty = (name2, instance2) => {
12399
12534
  childrenProperty.set(name2, instance2);
@@ -12745,6 +12880,11 @@ const _sfc_main$4 = defineComponent({
12745
12880
  const handleColumnSortToolsScreen = () => {
12746
12881
  pageModelTableRef.value.handleColumnSort();
12747
12882
  };
12883
+ const { useKeyboardEvents } = useKeyBoardEvent();
12884
+ const tableToolsboxRef = ref();
12885
+ const trigTableToolboxEvent = (event) => {
12886
+ tableToolsboxRef.value.trigEvent(event);
12887
+ };
12748
12888
  __expose({
12749
12889
  manager,
12750
12890
  doTableLayout,
@@ -12754,6 +12894,7 @@ const _sfc_main$4 = defineComponent({
12754
12894
  updateTableData,
12755
12895
  getTableData,
12756
12896
  showImport,
12897
+ trigTableToolboxEvent,
12757
12898
  getSearchFormData,
12758
12899
  updateSearchFormData,
12759
12900
  doSearchFormLayout,
@@ -12779,8 +12920,9 @@ const _sfc_main$4 = defineComponent({
12779
12920
  return (_ctx, _cache) => {
12780
12921
  var _a, _b, _c, _d;
12781
12922
  const _component_el_scrollbar = resolveComponent("el-scrollbar");
12782
- return openBlock(), createElementBlock("div", {
12783
- class: normalizeClass([
12923
+ return openBlock(), createElementBlock("div", mergeProps({
12924
+ "data-manager-id": manager.id,
12925
+ class: [
12784
12926
  unref(BEMSpace),
12785
12927
  {
12786
12928
  "with-tab": hasTabs.value,
@@ -12788,10 +12930,10 @@ const _sfc_main$4 = defineComponent({
12788
12930
  "with-selectable-buttons": showSelectableButtonsArea.value,
12789
12931
  "with-shadow": _ctx.config.shadow
12790
12932
  }
12791
- ]),
12792
- style: normalizeStyle({ height: props.height })
12793
- }, [
12794
- !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 }, [
12795
12937
  hasTabs.value || isRenderForm.value ? (openBlock(), createElementBlock("div", {
12796
12938
  key: 0,
12797
12939
  class: normalizeClass(unref(createBEMName)("top-filter"))
@@ -12800,7 +12942,7 @@ const _sfc_main$4 = defineComponent({
12800
12942
  key: 0,
12801
12943
  class: normalizeClass(unref(createBEMName)("top-tabs"))
12802
12944
  }, [
12803
- hasTabs.value ? (openBlock(), createBlock(_sfc_main$10, {
12945
+ hasTabs.value ? (openBlock(), createBlock(_sfc_main$11, {
12804
12946
  key: 0,
12805
12947
  tabs: uConfig.value.tabs,
12806
12948
  manager,
@@ -12840,7 +12982,7 @@ const _sfc_main$4 = defineComponent({
12840
12982
  }, [
12841
12983
  createVNode(_component_el_scrollbar, null, {
12842
12984
  default: withCtx(() => [
12843
- createElementVNode("div", _hoisted_2$1, [
12985
+ createElementVNode("div", _hoisted_3$1, [
12844
12986
  hasSelectableActions.value ? (openBlock(), createBlock(SelectableOperate, {
12845
12987
  key: 0,
12846
12988
  els: manager.config.table.selectableButtons,
@@ -12851,6 +12993,8 @@ const _sfc_main$4 = defineComponent({
12851
12993
  }, null, 8, ["els", "tableManager", "manager"])) : createCommentVNode("", true),
12852
12994
  hasTableToolbox.value && toolboxShowAsButton.value ? (openBlock(), createBlock(TableToolsbox, {
12853
12995
  key: 1,
12996
+ ref_key: "tableToolsboxRef",
12997
+ ref: tableToolsboxRef,
12854
12998
  mode: "button",
12855
12999
  tableManager: manager.tableManager,
12856
13000
  toolbox: manager.config.table.toolbox,
@@ -12875,6 +13019,8 @@ const _sfc_main$4 = defineComponent({
12875
13019
  }, null, 8, ["manager"])) : createCommentVNode("", true),
12876
13020
  hasTableToolbox.value && !toolboxShowAsButton.value ? (openBlock(), createBlock(TableToolsbox, {
12877
13021
  key: 1,
13022
+ ref_key: "tableToolsboxRef",
13023
+ ref: tableToolsboxRef,
12878
13024
  toolbox: manager.config.table.toolbox,
12879
13025
  extendsToolbox: manager.config.table.extendsToolbox,
12880
13026
  onCustomEvent: handleToolboxCustomEvent
@@ -12948,7 +13094,7 @@ const _sfc_main$4 = defineComponent({
12948
13094
  onScreen: handleColumnSortToolsScreen
12949
13095
  }, null, 8, ["manager"])) : createCommentVNode("", true)
12950
13096
  ], 64))
12951
- ], 6);
13097
+ ], 16, _hoisted_1$2);
12952
13098
  };
12953
13099
  }
12954
13100
  });
@@ -13830,7 +13976,7 @@ const defineEditableTable = function(config) {
13830
13976
  };
13831
13977
  var iconfont = "";
13832
13978
  const name = "@juzhenfe/page-model";
13833
- const version = "3.14.7";
13979
+ const version = "3.14.9";
13834
13980
  const types = "dist/main.d.ts";
13835
13981
  const main = "dist/index.umd.js";
13836
13982
  const keywords = [