@juzhenfe/page-model 3.14.8 → 3.14.10

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,13 @@ 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
+ __publicField(this, "exposeActions", {});
3690
+ this.id = managerController.getManagerId();
3636
3691
  }
3637
3692
  static setDefaultConfig(config) {
3638
3693
  this.defaultConfig = merge$1({}, getPageModelDefaultConfig(), config);
@@ -4064,6 +4119,7 @@ const _PageModelManager = class extends Reflections {
4064
4119
  item.destroy();
4065
4120
  });
4066
4121
  this.destroyReflect();
4122
+ managerController.destroy(this.id);
4067
4123
  }
4068
4124
  };
4069
4125
  let PageModelManager = _PageModelManager;
@@ -5478,7 +5534,7 @@ const _sfc_main$x = defineComponent({
5478
5534
  };
5479
5535
  }
5480
5536
  });
5481
- var SimplePopover = /* @__PURE__ */ _export_sfc(_sfc_main$x, [["__scopeId", "data-v-0e66f84a"]]);
5537
+ var SimplePopover = /* @__PURE__ */ _export_sfc(_sfc_main$x, [["__scopeId", "data-v-852a9e34"]]);
5482
5538
  var FilterItemTypeEnum$1 = /* @__PURE__ */ ((FilterItemTypeEnum2) => {
5483
5539
  FilterItemTypeEnum2["\u6587\u5B57"] = "string";
5484
5540
  FilterItemTypeEnum2["\u6570\u5B57"] = "number";
@@ -5679,15 +5735,10 @@ const _sfc_main$w = defineComponent({
5679
5735
  const handleScreen = () => {
5680
5736
  clearCurrentParams();
5681
5737
  const list = filterList.value.filter((a) => {
5682
- var _a;
5683
5738
  if (hasCompare.value) {
5684
- return a.condition && a.value != null;
5739
+ return a.condition;
5685
5740
  } 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
- }
5741
+ return true;
5691
5742
  }
5692
5743
  });
5693
5744
  tableManager.value.columnParamsList = tableManager.value.columnParamsList.concat(
@@ -5960,13 +6011,12 @@ const _sfc_main$w = defineComponent({
5960
6011
  }, [
5961
6012
  filterMultiple.value && hasCompare.value ? (openBlock(), createBlock(_component_el_button, {
5962
6013
  key: 0,
5963
- type: "primary",
5964
6014
  link: "",
5965
- icon: unref(circlePlus),
6015
+ icon: unref(plus),
5966
6016
  onClick: handleAddFilterItem
5967
6017
  }, {
5968
6018
  default: withCtx(() => [
5969
- createTextVNode("\u6DFB\u52A0\u7B5B\u9009\u6761\u4EF6")
6019
+ createTextVNode("\u7B5B\u9009\u6761\u4EF6")
5970
6020
  ]),
5971
6021
  _: 1
5972
6022
  }, 8, ["icon"])) : (openBlock(), createElementBlock("div", _hoisted_1$e)),
@@ -5993,14 +6043,14 @@ const _sfc_main$w = defineComponent({
5993
6043
  };
5994
6044
  }
5995
6045
  });
5996
- var FilterZone$1 = /* @__PURE__ */ _export_sfc(_sfc_main$w, [["__scopeId", "data-v-41c68f2e"]]);
6046
+ var FilterZone$1 = /* @__PURE__ */ _export_sfc(_sfc_main$w, [["__scopeId", "data-v-9b1b33b8"]]);
5997
6047
  var index_vue_vue_type_style_index_0_lang$7 = "";
5998
6048
  const _hoisted_1$d = ["data-key", "title"];
5999
- const _hoisted_2$8 = {
6049
+ const _hoisted_2$7 = {
6000
6050
  key: 0,
6001
6051
  style: { "color": "red" }
6002
6052
  };
6003
- const _hoisted_3$5 = ["onClick"];
6053
+ const _hoisted_3$6 = ["onClick"];
6004
6054
  const _hoisted_4$5 = ["data-index", "editable", "cell-key"];
6005
6055
  const _hoisted_5$4 = {
6006
6056
  key: 0,
@@ -6016,7 +6066,7 @@ const _hoisted_8$1 = {
6016
6066
  class: "empty-edit"
6017
6067
  };
6018
6068
  const _hoisted_9$1 = { key: 0 };
6019
- const _hoisted_10 = ["onClick"];
6069
+ const _hoisted_10$1 = ["onClick"];
6020
6070
  const __default__$h = {
6021
6071
  name: "TableColumn"
6022
6072
  };
@@ -6150,7 +6200,7 @@ const _sfc_main$v = defineComponent({
6150
6200
  "data-key": column._key,
6151
6201
  title: $header.column.label
6152
6202
  }, [
6153
- column.required ? (openBlock(), createElementBlock("span", _hoisted_2$8, "*")) : createCommentVNode("", true),
6203
+ column.required ? (openBlock(), createElementBlock("span", _hoisted_2$7, "*")) : createCommentVNode("", true),
6154
6204
  column.helpText || column.icon ? (openBlock(), createBlock(_component_el_icon, {
6155
6205
  key: 1,
6156
6206
  title: column.helpText
@@ -6179,7 +6229,7 @@ const _sfc_main$v = defineComponent({
6179
6229
  ]),
6180
6230
  _: 1
6181
6231
  })
6182
- ], 14, _hoisted_3$5)) : createCommentVNode("", true)
6232
+ ], 14, _hoisted_3$6)) : createCommentVNode("", true)
6183
6233
  ], 10, _hoisted_1$d)
6184
6234
  ]),
6185
6235
  default: withCtx(({ row, $index, column: columnEl }) => [
@@ -6264,7 +6314,7 @@ const _sfc_main$v = defineComponent({
6264
6314
  ]),
6265
6315
  _: 1
6266
6316
  })
6267
- ], 8, _hoisted_10)) : createCommentVNode("", true)
6317
+ ], 8, _hoisted_10$1)) : createCommentVNode("", true)
6268
6318
  ], 64))
6269
6319
  ], 10, _hoisted_4$5))
6270
6320
  ]),
@@ -7800,11 +7850,11 @@ var index_vue_vue_type_style_index_0_lang$6 = "";
7800
7850
  var index_vue_vue_type_style_index_1_scoped_true_lang$1 = "";
7801
7851
  const _withScopeId$3 = (n) => (pushScopeId("data-v-7bf8eedc"), n = n(), popScopeId(), n);
7802
7852
  const _hoisted_1$c = { title: "\u5168\u9009/\u53D6\u6D88" };
7803
- const _hoisted_2$7 = /* @__PURE__ */ _withScopeId$3(() => /* @__PURE__ */ createElementVNode("i", {
7853
+ const _hoisted_2$6 = /* @__PURE__ */ _withScopeId$3(() => /* @__PURE__ */ createElementVNode("i", {
7804
7854
  class: "pm-icon icon-drag-dot",
7805
7855
  title: "\u62D6\u52A8\u8C03\u6574\u663E\u793A\u987A\u5E8F"
7806
7856
  }, null, -1));
7807
- const _hoisted_3$4 = ["title"];
7857
+ const _hoisted_3$5 = ["title"];
7808
7858
  const _hoisted_4$4 = ["title", "onClick"];
7809
7859
  const _hoisted_5$3 = ["title", "onClick"];
7810
7860
  const _sfc_main$r = defineComponent({
@@ -7954,11 +8004,11 @@ const _sfc_main$r = defineComponent({
7954
8004
  "onUpdate:modelValue": ($event) => element.userConfigShow = $event,
7955
8005
  class: normalizeClass(unref(createBEMName)("checkbox"))
7956
8006
  }, null, 8, ["modelValue", "onUpdate:modelValue", "class"]),
7957
- _hoisted_2$7,
8007
+ _hoisted_2$6,
7958
8008
  createElementVNode("span", {
7959
8009
  title: element.label,
7960
8010
  class: normalizeClass(unref(createBEMName)("item-label"))
7961
- }, toDisplayString(element.label), 11, _hoisted_3$4),
8011
+ }, toDisplayString(element.label), 11, _hoisted_3$5),
7962
8012
  createElementVNode("i", {
7963
8013
  title: element.fixed === "left" ? "\u53D6\u6D88\u51BB\u7ED3\u5217" : "\u51BB\u7ED3\u5728\u5DE6\u4FA7",
7964
8014
  class: normalizeClass([
@@ -8027,8 +8077,8 @@ var ColumnTools$1 = /* @__PURE__ */ _export_sfc(_sfc_main$r, [["__scopeId", "dat
8027
8077
  var index_vue_vue_type_style_index_0_scoped_true_lang$7 = "";
8028
8078
  const _withScopeId$2 = (n) => (pushScopeId("data-v-15dbe923"), n = n(), popScopeId(), n);
8029
8079
  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));
8080
+ const _hoisted_2$5 = /* @__PURE__ */ _withScopeId$2(() => /* @__PURE__ */ createElementVNode("span", { class: "export-wrod" }, "\u4ECE\u7B2C", -1));
8081
+ const _hoisted_3$4 = /* @__PURE__ */ _withScopeId$2(() => /* @__PURE__ */ createElementVNode("span", { class: "export-wrod" }, "\u9875\u5F00\u59CB\u5BFC\u51FA\uFF0C\u6BCF\u9875", -1));
8032
8082
  const _hoisted_4$3 = /* @__PURE__ */ _withScopeId$2(() => /* @__PURE__ */ createElementVNode("span", { class: "export-wrod" }, "\u6761\u6570\u636E", -1));
8033
8083
  const _hoisted_5$2 = /* @__PURE__ */ _withScopeId$2(() => /* @__PURE__ */ createElementVNode("div", null, null, -1));
8034
8084
  const _hoisted_6$2 = { class: "export-columns" };
@@ -8272,14 +8322,14 @@ const _sfc_main$q = defineComponent({
8272
8322
  _: 1
8273
8323
  }, 8, ["modelValue"]),
8274
8324
  formData.fromApi ? (openBlock(), createElementBlock("div", _hoisted_1$b, [
8275
- _hoisted_2$6,
8325
+ _hoisted_2$5,
8276
8326
  createVNode(_component_el_input_number, {
8277
8327
  modelValue: formData.pageIndex,
8278
8328
  "onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => formData.pageIndex = $event),
8279
8329
  min: 1,
8280
8330
  size: "small"
8281
8331
  }, null, 8, ["modelValue"]),
8282
- _hoisted_3$3,
8332
+ _hoisted_3$4,
8283
8333
  createVNode(_component_el_input_number, {
8284
8334
  modelValue: formData.pageSize,
8285
8335
  "onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => formData.pageSize = $event),
@@ -9322,7 +9372,7 @@ class FormManager extends IManager {
9322
9372
  }
9323
9373
  var index_vue_vue_type_style_index_0_scoped_true_lang$5 = "";
9324
9374
  const _hoisted_1$9 = ["onClick"];
9325
- const _hoisted_2$5 = { class: "section-item__title-text" };
9375
+ const _hoisted_2$4 = { class: "section-item__title-text" };
9326
9376
  const __default__$a = {
9327
9377
  name: "SectionTitleEl"
9328
9378
  };
@@ -9413,7 +9463,7 @@ const _sfc_main$l = defineComponent({
9413
9463
  class: "section-item__title",
9414
9464
  onClick: ($event) => toggleSectionHidden(index2)
9415
9465
  }, [
9416
- createElementVNode("span", _hoisted_2$5, toDisplayString(section.text), 1),
9466
+ createElementVNode("span", _hoisted_2$4, toDisplayString(section.text), 1),
9417
9467
  isUseCollapseList.value[index2] ? (openBlock(), createBlock(_component_el_icon, {
9418
9468
  key: 0,
9419
9469
  size: 16
@@ -9714,11 +9764,11 @@ const defineForm = (form) => {
9714
9764
  var setting_vue_vue_type_style_index_0_lang$1 = "";
9715
9765
  var setting_vue_vue_type_style_index_1_lang$1 = "";
9716
9766
  const _hoisted_1$8 = { key: 0 };
9717
- const _hoisted_2$4 = {
9767
+ const _hoisted_2$3 = {
9718
9768
  key: 1,
9719
9769
  style: { "color": "#999" }
9720
9770
  };
9721
- const _hoisted_3$2 = { key: 0 };
9771
+ const _hoisted_3$3 = { key: 0 };
9722
9772
  const _hoisted_4$2 = {
9723
9773
  key: 1,
9724
9774
  style: { "color": "#999" }
@@ -9921,7 +9971,7 @@ const _sfc_main$g = defineComponent({
9921
9971
  createElementVNode("div", {
9922
9972
  class: normalizeClass(unref(createBEMName)("cell"))
9923
9973
  }, [
9924
- element.sectionName ? (openBlock(), createElementBlock("span", _hoisted_1$8, toDisplayString(element.sectionName), 1)) : (openBlock(), createElementBlock("span", _hoisted_2$4, "\u672A\u914D\u7F6E"))
9974
+ element.sectionName ? (openBlock(), createElementBlock("span", _hoisted_1$8, toDisplayString(element.sectionName), 1)) : (openBlock(), createElementBlock("span", _hoisted_2$3, "\u672A\u914D\u7F6E"))
9925
9975
  ], 2),
9926
9976
  createElementVNode("div", {
9927
9977
  class: normalizeClass(unref(createBEMName)("cell"))
@@ -9936,7 +9986,7 @@ const _sfc_main$g = defineComponent({
9936
9986
  createElementVNode("div", {
9937
9987
  class: normalizeClass(unref(createBEMName)("cell"))
9938
9988
  }, [
9939
- element.moduleName ? (openBlock(), createElementBlock("span", _hoisted_3$2, toDisplayString(element.moduleName), 1)) : (openBlock(), createElementBlock("span", _hoisted_4$2, "\u672A\u914D\u7F6E"))
9989
+ element.moduleName ? (openBlock(), createElementBlock("span", _hoisted_3$3, toDisplayString(element.moduleName), 1)) : (openBlock(), createElementBlock("span", _hoisted_4$2, "\u672A\u914D\u7F6E"))
9940
9990
  ], 2),
9941
9991
  createElementVNode("div", {
9942
9992
  class: normalizeClass(unref(createBEMName)("cell"))
@@ -11411,6 +11461,25 @@ const _sfc_main$7 = defineComponent({
11411
11461
  const filterColumnList = ref([]);
11412
11462
  const filterList = ref([]);
11413
11463
  const simplePopoverRef = ref();
11464
+ const getAddFilterItem = (columnEl) => {
11465
+ const formData = {
11466
+ prop: columnEl.prop,
11467
+ filterType: columnEl.filters.filterType,
11468
+ filterLabel: columnEl.filters.filterLabel,
11469
+ filterOptions: columnEl.filters.filterOptions,
11470
+ condition: FilterMatchModeEnum$1.\u7B49\u4E8E,
11471
+ value: null
11472
+ };
11473
+ if (formData.filterType === FilterItemTypeEnum$1.\u591A\u9009\u503C) {
11474
+ formData.value = [];
11475
+ }
11476
+ return formData;
11477
+ };
11478
+ const handleAddItem = () => {
11479
+ if (filterColumnList.value[0]) {
11480
+ filterList.value.push(getAddFilterItem(filterColumnList.value[0]));
11481
+ }
11482
+ };
11414
11483
  const showPopover = (element) => {
11415
11484
  var _a;
11416
11485
  (_a = simplePopoverRef.value) == null ? void 0 : _a.show(element);
@@ -11430,25 +11499,14 @@ const _sfc_main$7 = defineComponent({
11430
11499
  value: item.value
11431
11500
  };
11432
11501
  });
11502
+ if (!filterList.value.length) {
11503
+ handleAddItem();
11504
+ }
11433
11505
  };
11434
11506
  const hidePopover = () => {
11435
11507
  var _a;
11436
11508
  (_a = simplePopoverRef.value) == null ? void 0 : _a.hide();
11437
11509
  };
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
11510
  const handleFieldChange = (index2, prop) => {
11453
11511
  const columnEl = filterColumnList.value.find((a) => a.prop === prop);
11454
11512
  const newItem = getAddFilterItem(columnEl);
@@ -11460,11 +11518,6 @@ const _sfc_main$7 = defineComponent({
11460
11518
  const handleSelectAll = (item) => {
11461
11519
  item.value = item.filterOptions.map((a) => a.value);
11462
11520
  };
11463
- const handleAddItem = () => {
11464
- if (filterColumnList.value[0]) {
11465
- filterList.value.push(getAddFilterItem(filterColumnList.value[0]));
11466
- }
11467
- };
11468
11521
  const handleRemoveItem = (index2) => {
11469
11522
  filterList.value.splice(index2, 1);
11470
11523
  };
@@ -11476,20 +11529,15 @@ const _sfc_main$7 = defineComponent({
11476
11529
  };
11477
11530
  const handleScreen = () => {
11478
11531
  const list = filterList.value.filter((a) => {
11479
- var _a;
11480
11532
  const hasCompare = [
11481
11533
  FilterItemTypeEnum$1["\u6587\u5B57"],
11482
11534
  FilterItemTypeEnum$1["\u65E5\u671F"],
11483
11535
  FilterItemTypeEnum$1["\u6570\u5B57"]
11484
11536
  ].includes(a.filterType);
11485
11537
  if (hasCompare) {
11486
- return a.condition && a.value != null;
11538
+ return a.condition;
11487
11539
  } 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
- }
11540
+ return true;
11493
11541
  }
11494
11542
  });
11495
11543
  props.manager.tableManager.columnParamsList = list.map((item) => {
@@ -11538,6 +11586,7 @@ const _sfc_main$7 = defineComponent({
11538
11586
  createVNode(_component_el_select, {
11539
11587
  modelValue: item.prop,
11540
11588
  "onUpdate:modelValue": ($event) => item.prop = $event,
11589
+ filterable: "",
11541
11590
  class: normalizeClass(unref(createBEMName)("key")),
11542
11591
  placeholder: "\u7B5B\u9009\u5B57\u6BB5",
11543
11592
  onChange: ($event) => handleFieldChange(index2, $event)
@@ -11760,13 +11809,12 @@ const _sfc_main$7 = defineComponent({
11760
11809
  class: normalizeClass(unref(createBEMName)("actions"))
11761
11810
  }, [
11762
11811
  createVNode(_component_el_button, {
11763
- type: "primary",
11764
11812
  link: "",
11765
- icon: unref(circlePlus),
11813
+ icon: unref(plus),
11766
11814
  onClick: handleAddItem
11767
11815
  }, {
11768
11816
  default: withCtx(() => [
11769
- createTextVNode("\u6DFB\u52A0\u7B5B\u9009\u6761\u4EF6")
11817
+ createTextVNode("\u7B5B\u9009\u6761\u4EF6")
11770
11818
  ]),
11771
11819
  _: 1
11772
11820
  }, 8, ["icon"]),
@@ -11795,25 +11843,26 @@ const _sfc_main$7 = defineComponent({
11795
11843
  };
11796
11844
  }
11797
11845
  });
11798
- var ColumnFilterTools = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["__scopeId", "data-v-27b86e68"]]);
11846
+ var ColumnFilterTools = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["__scopeId", "data-v-aaf520fa"]]);
11799
11847
  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", {
11848
+ const _withScopeId$1 = (n) => (pushScopeId("data-v-559d52de"), n = n(), popScopeId(), n);
11849
+ const _hoisted_1$4 = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ createElementVNode("span", null, "\u8BBE\u7F6E\u6392\u5E8F\u6761\u4EF6", -1));
11850
+ const _hoisted_2$2 = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ createElementVNode("i", {
11802
11851
  class: "pm-icon icon-drag-dot",
11803
11852
  title: "\u62D6\u52A8\u8C03\u6574\u663E\u793A\u987A\u5E8F"
11804
11853
  }, 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
11854
+ const _hoisted_3$2 = ["onClick"];
11855
+ const _hoisted_4$1 = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ createElementVNode("span", null, "\u6B63\u5E8F", -1));
11856
+ const _hoisted_5$1 = [
11857
+ _hoisted_4$1
11809
11858
  ];
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
11859
+ const _hoisted_6$1 = ["onClick"];
11860
+ const _hoisted_7$1 = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ createElementVNode("span", null, "\u5012\u5E8F", -1));
11861
+ const _hoisted_8 = [
11862
+ _hoisted_7$1
11814
11863
  ];
11815
- const _hoisted_8 = ["onClick"];
11816
- const _hoisted_9 = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ createElementVNode("div", null, null, -1));
11864
+ const _hoisted_9 = ["onClick"];
11865
+ const _hoisted_10 = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ createElementVNode("div", null, null, -1));
11817
11866
  const _sfc_main$6 = defineComponent({
11818
11867
  __name: "index",
11819
11868
  props: {
@@ -11905,9 +11954,10 @@ const _sfc_main$6 = defineComponent({
11905
11954
  hidePopover
11906
11955
  });
11907
11956
  return (_ctx, _cache) => {
11957
+ const _component_el_icon = resolveComponent("el-icon");
11958
+ const _component_el_tooltip = resolveComponent("el-tooltip");
11908
11959
  const _component_el_option = resolveComponent("el-option");
11909
11960
  const _component_el_select = resolveComponent("el-select");
11910
- const _component_el_icon = resolveComponent("el-icon");
11911
11961
  const _component_el_button = resolveComponent("el-button");
11912
11962
  const _component_el_input = resolveComponent("el-input");
11913
11963
  const _component_el_scrollbar = resolveComponent("el-scrollbar");
@@ -11923,7 +11973,26 @@ const _sfc_main$6 = defineComponent({
11923
11973
  }, [
11924
11974
  createElementVNode("div", {
11925
11975
  class: normalizeClass(unref(createBEMName)("title"))
11926
- }, "\u8BBE\u7F6E\u6392\u5E8F\u6761\u4EF6", 2),
11976
+ }, [
11977
+ _hoisted_1$4,
11978
+ createVNode(_component_el_tooltip, {
11979
+ class: "box-item",
11980
+ effect: "dark",
11981
+ "raw-content": "",
11982
+ content: "\u6B63\u5E8F\uFF1A<br>\u6570\u5B57\uFF1A\u4ECE\u5C0F\u5230\u5927<br>\u6587\u672C\uFF1Aa -> z",
11983
+ placement: "right"
11984
+ }, {
11985
+ default: withCtx(() => [
11986
+ createVNode(_component_el_icon, null, {
11987
+ default: withCtx(() => [
11988
+ createVNode(unref(infoFilled))
11989
+ ]),
11990
+ _: 1
11991
+ })
11992
+ ]),
11993
+ _: 1
11994
+ })
11995
+ ], 2),
11927
11996
  createVNode(_sfc_main$u, {
11928
11997
  modelValue: filterList.value,
11929
11998
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => filterList.value = $event),
@@ -11934,13 +12003,14 @@ const _sfc_main$6 = defineComponent({
11934
12003
  createElementVNode("div", {
11935
12004
  class: normalizeClass(unref(createBEMName)("item"))
11936
12005
  }, [
11937
- _hoisted_1$4,
12006
+ _hoisted_2$2,
11938
12007
  createElementVNode("div", {
11939
12008
  class: normalizeClass(unref(createBEMName)("inner-item"))
11940
12009
  }, [
11941
12010
  createVNode(_component_el_select, {
11942
12011
  modelValue: element.prop,
11943
12012
  "onUpdate:modelValue": ($event) => element.prop = $event,
12013
+ filterable: "",
11944
12014
  class: normalizeClass(unref(createBEMName)("key")),
11945
12015
  placeholder: "\u6392\u5E8F\u5B57\u6BB5",
11946
12016
  onChange: ($event) => handleFieldChange(index2, $event)
@@ -11970,7 +12040,7 @@ const _sfc_main$6 = defineComponent({
11970
12040
  { "is-selected": element.order === "ascending" }
11971
12041
  ]),
11972
12042
  onClick: ($event) => handleSelectSortItem(element, "ascending")
11973
- }, _hoisted_4$1, 10, _hoisted_2$3),
12043
+ }, _hoisted_5$1, 10, _hoisted_3$2),
11974
12044
  createElementVNode("div", {
11975
12045
  class: normalizeClass([
11976
12046
  unref(createBEMName)("radio-item"),
@@ -11978,7 +12048,7 @@ const _sfc_main$6 = defineComponent({
11978
12048
  { "is-selected": element.order === "descending" }
11979
12049
  ]),
11980
12050
  onClick: ($event) => handleSelectSortItem(element, "descending")
11981
- }, _hoisted_7$1, 10, _hoisted_5$1)
12051
+ }, _hoisted_8, 10, _hoisted_6$1)
11982
12052
  ], 2),
11983
12053
  createVNode(_component_el_icon, {
11984
12054
  size: 18,
@@ -12000,7 +12070,7 @@ const _sfc_main$6 = defineComponent({
12000
12070
  class: normalizeClass(unref(createBEMName)("actions"))
12001
12071
  }, [
12002
12072
  createVNode(_component_el_popover, {
12003
- placement: "bottom",
12073
+ placement: "bottom-start",
12004
12074
  width: 200,
12005
12075
  trigger: "click"
12006
12076
  }, {
@@ -12022,7 +12092,7 @@ const _sfc_main$6 = defineComponent({
12022
12092
  createVNode(_component_el_input, {
12023
12093
  modelValue: filterKeywords.value,
12024
12094
  "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => filterKeywords.value = $event),
12025
- placeholder: "\u8BF7\u8F93\u5165",
12095
+ placeholder: "\u8BF7\u8F93\u5165\u8981\u6392\u5E8F\u7684\u5B57\u6BB5",
12026
12096
  clearable: ""
12027
12097
  }, null, 8, ["modelValue"]),
12028
12098
  createElementVNode("div", {
@@ -12035,11 +12105,11 @@ const _sfc_main$6 = defineComponent({
12035
12105
  key: index2,
12036
12106
  class: normalizeClass([unref(createBEMName)("select-item")]),
12037
12107
  onClick: ($event) => handleClickSelect(item.prop)
12038
- }, toDisplayString(item.label), 11, _hoisted_8)), [
12108
+ }, toDisplayString(item.label), 11, _hoisted_9)), [
12039
12109
  [vShow, !usedFieldList.value.includes(item.prop)]
12040
12110
  ]);
12041
12111
  }), 128)),
12042
- _hoisted_9
12112
+ _hoisted_10
12043
12113
  ]),
12044
12114
  _: 1
12045
12115
  })
@@ -12073,10 +12143,9 @@ const _sfc_main$6 = defineComponent({
12073
12143
  };
12074
12144
  }
12075
12145
  });
12076
- var ColumnSortTools = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["__scopeId", "data-v-05a4fc48"]]);
12146
+ var ColumnSortTools = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["__scopeId", "data-v-559d52de"]]);
12077
12147
  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"];
12148
+ const _hoisted_1$3 = ["data-event", "onClick"];
12080
12149
  const __default__$4 = {
12081
12150
  name: "TableToolsbox"
12082
12151
  };
@@ -12089,7 +12158,7 @@ const _sfc_main$5 = defineComponent({
12089
12158
  tableManager: {}
12090
12159
  },
12091
12160
  emits: ["custom-event"],
12092
- setup(__props, { emit: __emit }) {
12161
+ setup(__props, { expose: __expose, emit: __emit }) {
12093
12162
  const props = __props;
12094
12163
  const emit = __emit;
12095
12164
  const innerTools = {
@@ -12165,15 +12234,33 @@ const _sfc_main$5 = defineComponent({
12165
12234
  const item = showToolbox.value[index2];
12166
12235
  emit("custom-event", item.event, item, e);
12167
12236
  };
12237
+ const toolboxRef = ref(null);
12238
+ const trigEvent = (event) => {
12239
+ var _a;
12240
+ const element = (_a = toolboxRef.value) == null ? void 0 : _a.querySelector(
12241
+ `[data-event="${event}"]`
12242
+ );
12243
+ if (element) {
12244
+ element.click();
12245
+ }
12246
+ };
12247
+ __expose({
12248
+ trigEvent
12249
+ });
12168
12250
  return (_ctx, _cache) => {
12169
12251
  const _component_el_icon = resolveComponent("el-icon");
12170
12252
  const _component_el_tooltip = resolveComponent("el-tooltip");
12171
12253
  const _component_el_button = resolveComponent("el-button");
12172
- return openBlock(), createElementBlock("div", _hoisted_1$3, [
12254
+ return openBlock(), createElementBlock("div", {
12255
+ ref_key: "toolboxRef",
12256
+ ref: toolboxRef,
12257
+ class: "table-toolbox"
12258
+ }, [
12173
12259
  _ctx.mode === "icon" ? (openBlock(true), createElementBlock(Fragment, { key: 0 }, renderList(showToolbox.value, (tool, index2) => {
12174
12260
  return openBlock(), createElementBlock("div", {
12175
12261
  class: "tool-item",
12176
12262
  key: index2,
12263
+ "data-event": tool.event,
12177
12264
  onClick: ($event) => handleClickTool(index2, $event)
12178
12265
  }, [
12179
12266
  createVNode(_component_el_tooltip, {
@@ -12191,11 +12278,12 @@ const _sfc_main$5 = defineComponent({
12191
12278
  ]),
12192
12279
  _: 2
12193
12280
  }, 1032, ["content"])
12194
- ], 8, _hoisted_2$2);
12281
+ ], 8, _hoisted_1$3);
12195
12282
  }), 128)) : (openBlock(true), createElementBlock(Fragment, { key: 1 }, renderList(showToolbox.value, (tool, index2) => {
12196
12283
  return openBlock(), createBlock(_component_el_button, {
12197
12284
  key: index2,
12198
12285
  text: "",
12286
+ "data-event": tool.event,
12199
12287
  bg: tool.bg,
12200
12288
  onClick: ($event) => handleClickTool(index2, $event)
12201
12289
  }, {
@@ -12209,13 +12297,13 @@ const _sfc_main$5 = defineComponent({
12209
12297
  createElementVNode("span", null, toDisplayString(tool.text) + toDisplayString(tool.desc), 1)
12210
12298
  ]),
12211
12299
  _: 2
12212
- }, 1032, ["bg", "onClick"]);
12300
+ }, 1032, ["data-event", "bg", "onClick"]);
12213
12301
  }), 128))
12214
- ]);
12302
+ ], 512);
12215
12303
  };
12216
12304
  }
12217
12305
  });
12218
- var TableToolsbox = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["__scopeId", "data-v-33b50ea5"]]);
12306
+ var TableToolsbox = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["__scopeId", "data-v-6839f46e"]]);
12219
12307
  function patchConfig(config, patches) {
12220
12308
  return patches.reduce((memoConfig, patchFn) => {
12221
12309
  return patchFn.call(this, memoConfig);
@@ -12370,9 +12458,56 @@ function useAuthButtons(props, injectValue) {
12370
12458
  authButtons: _authButtons
12371
12459
  };
12372
12460
  }
12461
+ let isListening = false;
12462
+ const useKeyBoardEvent = () => {
12463
+ const handleMouseEnter = debounce((event) => {
12464
+ if (event.target) {
12465
+ const element = event.target;
12466
+ const managerId = Number(element.getAttribute("data-manager-id"));
12467
+ if (managerId) {
12468
+ managerController.setCurrentManagerId(managerId);
12469
+ }
12470
+ }
12471
+ }, 500);
12472
+ if (!isListening) {
12473
+ window.addEventListener("keydown", function(e) {
12474
+ const manager = managerController.getCurrentManager();
12475
+ if (!manager || !manager.config.keyboardEvents) {
12476
+ return false;
12477
+ }
12478
+ const isCtrl = e.ctrlKey;
12479
+ const isAlt = e.altKey;
12480
+ const isShift = e.shiftKey;
12481
+ const key = e.key.toLowerCase();
12482
+ let keys2 = [];
12483
+ if (isAlt) {
12484
+ keys2.push("alt");
12485
+ }
12486
+ if (isCtrl) {
12487
+ keys2.push("ctrl");
12488
+ }
12489
+ if (isShift) {
12490
+ keys2.push("shift");
12491
+ }
12492
+ keys2.push(key);
12493
+ const keyEvent = keys2.join("+");
12494
+ const bindFn = manager.config.keyboardEvents[keyEvent];
12495
+ if (bindFn && typeof bindFn === "function") {
12496
+ bindFn.call(manager, e);
12497
+ }
12498
+ });
12499
+ isListening = true;
12500
+ }
12501
+ return {
12502
+ useKeyboardEvents: {
12503
+ onMouseenter: handleMouseEnter
12504
+ }
12505
+ };
12506
+ };
12373
12507
  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" } };
12508
+ const _hoisted_1$2 = ["data-manager-id"];
12509
+ const _hoisted_2$1 = { key: 0 };
12510
+ const _hoisted_3$1 = { style: { "white-space": "nowrap" } };
12376
12511
  const __default__$3 = {
12377
12512
  name: "PageModel"
12378
12513
  };
@@ -12394,6 +12529,7 @@ const _sfc_main$4 = defineComponent({
12394
12529
  const instance = getCurrentInstance();
12395
12530
  const manager = reactive(new PageModelManager());
12396
12531
  manager.updateContext(instance.proxy);
12532
+ managerController.register(manager);
12397
12533
  const childrenProperty = /* @__PURE__ */ new Map();
12398
12534
  const registerProperty = (name2, instance2) => {
12399
12535
  childrenProperty.set(name2, instance2);
@@ -12745,8 +12881,12 @@ const _sfc_main$4 = defineComponent({
12745
12881
  const handleColumnSortToolsScreen = () => {
12746
12882
  pageModelTableRef.value.handleColumnSort();
12747
12883
  };
12748
- __expose({
12749
- manager,
12884
+ const { useKeyboardEvents } = useKeyBoardEvent();
12885
+ const tableToolsboxRef = ref();
12886
+ const trigTableToolboxEvent = (event) => {
12887
+ tableToolsboxRef.value.trigEvent(event);
12888
+ };
12889
+ const exposeActions = {
12750
12890
  doTableLayout,
12751
12891
  refreshTableData,
12752
12892
  resetTableData,
@@ -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,
@@ -12775,12 +12916,21 @@ const _sfc_main$4 = defineComponent({
12775
12916
  getRenderedEls,
12776
12917
  exportDataToExcel,
12777
12918
  setFormTabsActiveName
12919
+ };
12920
+ const exposeProps = {
12921
+ manager
12922
+ };
12923
+ manager.exposeActions = exposeActions;
12924
+ __expose({
12925
+ ...exposeProps,
12926
+ ...exposeActions
12778
12927
  });
12779
12928
  return (_ctx, _cache) => {
12780
12929
  var _a, _b, _c, _d;
12781
12930
  const _component_el_scrollbar = resolveComponent("el-scrollbar");
12782
- return openBlock(), createElementBlock("div", {
12783
- class: normalizeClass([
12931
+ return openBlock(), createElementBlock("div", mergeProps({
12932
+ "data-manager-id": manager.id,
12933
+ class: [
12784
12934
  unref(BEMSpace),
12785
12935
  {
12786
12936
  "with-tab": hasTabs.value,
@@ -12788,10 +12938,10 @@ const _sfc_main$4 = defineComponent({
12788
12938
  "with-selectable-buttons": showSelectableButtonsArea.value,
12789
12939
  "with-shadow": _ctx.config.shadow
12790
12940
  }
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 }, [
12941
+ ],
12942
+ style: { height: props.height }
12943
+ }, unref(useKeyboardEvents)), [
12944
+ !uConfig.value ? (openBlock(), createElementBlock("span", _hoisted_2$1, "\u914D\u7F6E\u51C6\u5907\u4E2D")) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [
12795
12945
  hasTabs.value || isRenderForm.value ? (openBlock(), createElementBlock("div", {
12796
12946
  key: 0,
12797
12947
  class: normalizeClass(unref(createBEMName)("top-filter"))
@@ -12800,7 +12950,7 @@ const _sfc_main$4 = defineComponent({
12800
12950
  key: 0,
12801
12951
  class: normalizeClass(unref(createBEMName)("top-tabs"))
12802
12952
  }, [
12803
- hasTabs.value ? (openBlock(), createBlock(_sfc_main$10, {
12953
+ hasTabs.value ? (openBlock(), createBlock(_sfc_main$11, {
12804
12954
  key: 0,
12805
12955
  tabs: uConfig.value.tabs,
12806
12956
  manager,
@@ -12840,7 +12990,7 @@ const _sfc_main$4 = defineComponent({
12840
12990
  }, [
12841
12991
  createVNode(_component_el_scrollbar, null, {
12842
12992
  default: withCtx(() => [
12843
- createElementVNode("div", _hoisted_2$1, [
12993
+ createElementVNode("div", _hoisted_3$1, [
12844
12994
  hasSelectableActions.value ? (openBlock(), createBlock(SelectableOperate, {
12845
12995
  key: 0,
12846
12996
  els: manager.config.table.selectableButtons,
@@ -12851,6 +13001,8 @@ const _sfc_main$4 = defineComponent({
12851
13001
  }, null, 8, ["els", "tableManager", "manager"])) : createCommentVNode("", true),
12852
13002
  hasTableToolbox.value && toolboxShowAsButton.value ? (openBlock(), createBlock(TableToolsbox, {
12853
13003
  key: 1,
13004
+ ref_key: "tableToolsboxRef",
13005
+ ref: tableToolsboxRef,
12854
13006
  mode: "button",
12855
13007
  tableManager: manager.tableManager,
12856
13008
  toolbox: manager.config.table.toolbox,
@@ -12875,6 +13027,8 @@ const _sfc_main$4 = defineComponent({
12875
13027
  }, null, 8, ["manager"])) : createCommentVNode("", true),
12876
13028
  hasTableToolbox.value && !toolboxShowAsButton.value ? (openBlock(), createBlock(TableToolsbox, {
12877
13029
  key: 1,
13030
+ ref_key: "tableToolsboxRef",
13031
+ ref: tableToolsboxRef,
12878
13032
  toolbox: manager.config.table.toolbox,
12879
13033
  extendsToolbox: manager.config.table.extendsToolbox,
12880
13034
  onCustomEvent: handleToolboxCustomEvent
@@ -12948,7 +13102,7 @@ const _sfc_main$4 = defineComponent({
12948
13102
  onScreen: handleColumnSortToolsScreen
12949
13103
  }, null, 8, ["manager"])) : createCommentVNode("", true)
12950
13104
  ], 64))
12951
- ], 6);
13105
+ ], 16, _hoisted_1$2);
12952
13106
  };
12953
13107
  }
12954
13108
  });
@@ -13830,7 +13984,7 @@ const defineEditableTable = function(config) {
13830
13984
  };
13831
13985
  var iconfont = "";
13832
13986
  const name = "@juzhenfe/page-model";
13833
- const version = "3.14.7";
13987
+ const version = "3.14.10";
13834
13988
  const types = "dist/main.d.ts";
13835
13989
  const main = "dist/index.umd.js";
13836
13990
  const keywords = [