@juzhenfe/page-model 3.14.6 → 3.14.8

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
@@ -181,7 +181,7 @@ const randomStr = (len = 16) => {
181
181
  return RANDOM_RANGE[Math.floor(Math.random() * RANDOM_RANGE_LENGTH)];
182
182
  }).join("");
183
183
  };
184
- const _hoisted_1$C = { class: "scenes-tab" };
184
+ const _hoisted_1$D = { class: "scenes-tab" };
185
185
  const __default__$o = {
186
186
  name: "ScenesTab"
187
187
  };
@@ -195,7 +195,7 @@ const _sfc_main$12 = defineComponent({
195
195
  getValue: getValue2
196
196
  });
197
197
  return (_ctx, _cache) => {
198
- return openBlock(), createElementBlock("div", _hoisted_1$C);
198
+ return openBlock(), createElementBlock("div", _hoisted_1$D);
199
199
  };
200
200
  }
201
201
  });
@@ -2309,7 +2309,7 @@ var _export_sfc$1 = (sfc, props) => {
2309
2309
  const _sfc_main$$ = defineComponent({
2310
2310
  name: "ArrowDownBold"
2311
2311
  });
2312
- const _hoisted_1$B = {
2312
+ const _hoisted_1$C = {
2313
2313
  class: "icon",
2314
2314
  width: "200",
2315
2315
  height: "200",
@@ -2324,13 +2324,13 @@ const _hoisted_3$r = [
2324
2324
  _hoisted_2$u
2325
2325
  ];
2326
2326
  function _sfc_render$l(_ctx, _cache, $props, $setup, $data, $options) {
2327
- return openBlock(), createElementBlock("svg", _hoisted_1$B, _hoisted_3$r);
2327
+ return openBlock(), createElementBlock("svg", _hoisted_1$C, _hoisted_3$r);
2328
2328
  }
2329
2329
  var arrowDownBold = /* @__PURE__ */ _export_sfc$1(_sfc_main$$, [["render", _sfc_render$l]]);
2330
2330
  const _sfc_main$_ = defineComponent({
2331
2331
  name: "ArrowDown"
2332
2332
  });
2333
- const _hoisted_1$A = {
2333
+ const _hoisted_1$B = {
2334
2334
  class: "icon",
2335
2335
  width: "200",
2336
2336
  height: "200",
@@ -2345,13 +2345,13 @@ const _hoisted_3$q = [
2345
2345
  _hoisted_2$t
2346
2346
  ];
2347
2347
  function _sfc_render$k(_ctx, _cache, $props, $setup, $data, $options) {
2348
- return openBlock(), createElementBlock("svg", _hoisted_1$A, _hoisted_3$q);
2348
+ return openBlock(), createElementBlock("svg", _hoisted_1$B, _hoisted_3$q);
2349
2349
  }
2350
2350
  var arrowDown = /* @__PURE__ */ _export_sfc$1(_sfc_main$_, [["render", _sfc_render$k]]);
2351
2351
  const _sfc_main$Z = defineComponent({
2352
2352
  name: "CaretBottom"
2353
2353
  });
2354
- const _hoisted_1$z = {
2354
+ const _hoisted_1$A = {
2355
2355
  class: "icon",
2356
2356
  width: "200",
2357
2357
  height: "200",
@@ -2366,13 +2366,13 @@ const _hoisted_3$p = [
2366
2366
  _hoisted_2$s
2367
2367
  ];
2368
2368
  function _sfc_render$j(_ctx, _cache, $props, $setup, $data, $options) {
2369
- return openBlock(), createElementBlock("svg", _hoisted_1$z, _hoisted_3$p);
2369
+ return openBlock(), createElementBlock("svg", _hoisted_1$A, _hoisted_3$p);
2370
2370
  }
2371
2371
  var caretBottom = /* @__PURE__ */ _export_sfc$1(_sfc_main$Z, [["render", _sfc_render$j]]);
2372
2372
  const _sfc_main$Y = defineComponent({
2373
2373
  name: "CaretRight"
2374
2374
  });
2375
- const _hoisted_1$y = {
2375
+ const _hoisted_1$z = {
2376
2376
  class: "icon",
2377
2377
  width: "200",
2378
2378
  height: "200",
@@ -2387,13 +2387,13 @@ const _hoisted_3$o = [
2387
2387
  _hoisted_2$r
2388
2388
  ];
2389
2389
  function _sfc_render$i(_ctx, _cache, $props, $setup, $data, $options) {
2390
- return openBlock(), createElementBlock("svg", _hoisted_1$y, _hoisted_3$o);
2390
+ return openBlock(), createElementBlock("svg", _hoisted_1$z, _hoisted_3$o);
2391
2391
  }
2392
2392
  var caretRight = /* @__PURE__ */ _export_sfc$1(_sfc_main$Y, [["render", _sfc_render$i]]);
2393
2393
  const _sfc_main$X = defineComponent({
2394
2394
  name: "CaretTop"
2395
2395
  });
2396
- const _hoisted_1$x = {
2396
+ const _hoisted_1$y = {
2397
2397
  class: "icon",
2398
2398
  width: "200",
2399
2399
  height: "200",
@@ -2408,13 +2408,13 @@ const _hoisted_3$n = [
2408
2408
  _hoisted_2$q
2409
2409
  ];
2410
2410
  function _sfc_render$h(_ctx, _cache, $props, $setup, $data, $options) {
2411
- return openBlock(), createElementBlock("svg", _hoisted_1$x, _hoisted_3$n);
2411
+ return openBlock(), createElementBlock("svg", _hoisted_1$y, _hoisted_3$n);
2412
2412
  }
2413
2413
  var caretTop = /* @__PURE__ */ _export_sfc$1(_sfc_main$X, [["render", _sfc_render$h]]);
2414
2414
  const _sfc_main$W = defineComponent({
2415
2415
  name: "CirclePlusFilled"
2416
2416
  });
2417
- const _hoisted_1$w = {
2417
+ const _hoisted_1$x = {
2418
2418
  class: "icon",
2419
2419
  width: "200",
2420
2420
  height: "200",
@@ -2429,13 +2429,13 @@ const _hoisted_3$m = [
2429
2429
  _hoisted_2$p
2430
2430
  ];
2431
2431
  function _sfc_render$g(_ctx, _cache, $props, $setup, $data, $options) {
2432
- return openBlock(), createElementBlock("svg", _hoisted_1$w, _hoisted_3$m);
2432
+ return openBlock(), createElementBlock("svg", _hoisted_1$x, _hoisted_3$m);
2433
2433
  }
2434
2434
  var circlePlusFilled = /* @__PURE__ */ _export_sfc$1(_sfc_main$W, [["render", _sfc_render$g]]);
2435
2435
  const _sfc_main$V = defineComponent({
2436
2436
  name: "CirclePlus"
2437
2437
  });
2438
- const _hoisted_1$v = {
2438
+ const _hoisted_1$w = {
2439
2439
  class: "icon",
2440
2440
  width: "200",
2441
2441
  height: "200",
@@ -2460,13 +2460,13 @@ const _hoisted_5$5 = [
2460
2460
  _hoisted_4$8
2461
2461
  ];
2462
2462
  function _sfc_render$f(_ctx, _cache, $props, $setup, $data, $options) {
2463
- return openBlock(), createElementBlock("svg", _hoisted_1$v, _hoisted_5$5);
2463
+ return openBlock(), createElementBlock("svg", _hoisted_1$w, _hoisted_5$5);
2464
2464
  }
2465
2465
  var circlePlus = /* @__PURE__ */ _export_sfc$1(_sfc_main$V, [["render", _sfc_render$f]]);
2466
2466
  const _sfc_main$U = defineComponent({
2467
2467
  name: "Download"
2468
2468
  });
2469
- const _hoisted_1$u = {
2469
+ const _hoisted_1$v = {
2470
2470
  class: "icon",
2471
2471
  width: "200",
2472
2472
  height: "200",
@@ -2481,13 +2481,13 @@ const _hoisted_3$k = [
2481
2481
  _hoisted_2$n
2482
2482
  ];
2483
2483
  function _sfc_render$e(_ctx, _cache, $props, $setup, $data, $options) {
2484
- return openBlock(), createElementBlock("svg", _hoisted_1$u, _hoisted_3$k);
2484
+ return openBlock(), createElementBlock("svg", _hoisted_1$v, _hoisted_3$k);
2485
2485
  }
2486
2486
  var download = /* @__PURE__ */ _export_sfc$1(_sfc_main$U, [["render", _sfc_render$e]]);
2487
2487
  const _sfc_main$T = defineComponent({
2488
2488
  name: "Edit"
2489
2489
  });
2490
- const _hoisted_1$t = {
2490
+ const _hoisted_1$u = {
2491
2491
  class: "icon",
2492
2492
  width: "200",
2493
2493
  height: "200",
@@ -2507,13 +2507,13 @@ const _hoisted_4$7 = [
2507
2507
  _hoisted_3$j
2508
2508
  ];
2509
2509
  function _sfc_render$d(_ctx, _cache, $props, $setup, $data, $options) {
2510
- return openBlock(), createElementBlock("svg", _hoisted_1$t, _hoisted_4$7);
2510
+ return openBlock(), createElementBlock("svg", _hoisted_1$u, _hoisted_4$7);
2511
2511
  }
2512
2512
  var edit = /* @__PURE__ */ _export_sfc$1(_sfc_main$T, [["render", _sfc_render$d]]);
2513
2513
  const _sfc_main$S = defineComponent({
2514
2514
  name: "Filter"
2515
2515
  });
2516
- const _hoisted_1$s = {
2516
+ const _hoisted_1$t = {
2517
2517
  class: "icon",
2518
2518
  width: "200",
2519
2519
  height: "200",
@@ -2528,13 +2528,13 @@ const _hoisted_3$i = [
2528
2528
  _hoisted_2$l
2529
2529
  ];
2530
2530
  function _sfc_render$c(_ctx, _cache, $props, $setup, $data, $options) {
2531
- return openBlock(), createElementBlock("svg", _hoisted_1$s, _hoisted_3$i);
2531
+ return openBlock(), createElementBlock("svg", _hoisted_1$t, _hoisted_3$i);
2532
2532
  }
2533
2533
  var filter = /* @__PURE__ */ _export_sfc$1(_sfc_main$S, [["render", _sfc_render$c]]);
2534
2534
  const _sfc_main$R = defineComponent({
2535
2535
  name: "FullScreen"
2536
2536
  });
2537
- const _hoisted_1$r = {
2537
+ const _hoisted_1$s = {
2538
2538
  class: "icon",
2539
2539
  width: "200",
2540
2540
  height: "200",
@@ -2549,13 +2549,13 @@ const _hoisted_3$h = [
2549
2549
  _hoisted_2$k
2550
2550
  ];
2551
2551
  function _sfc_render$b(_ctx, _cache, $props, $setup, $data, $options) {
2552
- return openBlock(), createElementBlock("svg", _hoisted_1$r, _hoisted_3$h);
2552
+ return openBlock(), createElementBlock("svg", _hoisted_1$s, _hoisted_3$h);
2553
2553
  }
2554
2554
  var fullScreen = /* @__PURE__ */ _export_sfc$1(_sfc_main$R, [["render", _sfc_render$b]]);
2555
2555
  const _sfc_main$Q = defineComponent({
2556
2556
  name: "Grid"
2557
2557
  });
2558
- const _hoisted_1$q = {
2558
+ const _hoisted_1$r = {
2559
2559
  class: "icon",
2560
2560
  width: "200",
2561
2561
  height: "200",
@@ -2570,13 +2570,13 @@ const _hoisted_3$g = [
2570
2570
  _hoisted_2$j
2571
2571
  ];
2572
2572
  function _sfc_render$a(_ctx, _cache, $props, $setup, $data, $options) {
2573
- return openBlock(), createElementBlock("svg", _hoisted_1$q, _hoisted_3$g);
2573
+ return openBlock(), createElementBlock("svg", _hoisted_1$r, _hoisted_3$g);
2574
2574
  }
2575
2575
  var grid = /* @__PURE__ */ _export_sfc$1(_sfc_main$Q, [["render", _sfc_render$a]]);
2576
2576
  const _sfc_main$P = defineComponent({
2577
2577
  name: "Loading"
2578
2578
  });
2579
- const _hoisted_1$p = {
2579
+ const _hoisted_1$q = {
2580
2580
  class: "icon",
2581
2581
  width: "200",
2582
2582
  height: "200",
@@ -2591,13 +2591,13 @@ const _hoisted_3$f = [
2591
2591
  _hoisted_2$i
2592
2592
  ];
2593
2593
  function _sfc_render$9(_ctx, _cache, $props, $setup, $data, $options) {
2594
- return openBlock(), createElementBlock("svg", _hoisted_1$p, _hoisted_3$f);
2594
+ return openBlock(), createElementBlock("svg", _hoisted_1$q, _hoisted_3$f);
2595
2595
  }
2596
2596
  var loading = /* @__PURE__ */ _export_sfc$1(_sfc_main$P, [["render", _sfc_render$9]]);
2597
2597
  const _sfc_main$O = defineComponent({
2598
2598
  name: "Menu"
2599
2599
  });
2600
- const _hoisted_1$o = {
2600
+ const _hoisted_1$p = {
2601
2601
  class: "icon",
2602
2602
  width: "200",
2603
2603
  height: "200",
@@ -2612,13 +2612,13 @@ const _hoisted_3$e = [
2612
2612
  _hoisted_2$h
2613
2613
  ];
2614
2614
  function _sfc_render$8(_ctx, _cache, $props, $setup, $data, $options) {
2615
- return openBlock(), createElementBlock("svg", _hoisted_1$o, _hoisted_3$e);
2615
+ return openBlock(), createElementBlock("svg", _hoisted_1$p, _hoisted_3$e);
2616
2616
  }
2617
2617
  var menu = /* @__PURE__ */ _export_sfc$1(_sfc_main$O, [["render", _sfc_render$8]]);
2618
2618
  const _sfc_main$N = defineComponent({
2619
2619
  name: "Plus"
2620
2620
  });
2621
- const _hoisted_1$n = {
2621
+ const _hoisted_1$o = {
2622
2622
  class: "icon",
2623
2623
  width: "200",
2624
2624
  height: "200",
@@ -2633,13 +2633,13 @@ const _hoisted_3$d = [
2633
2633
  _hoisted_2$g
2634
2634
  ];
2635
2635
  function _sfc_render$7(_ctx, _cache, $props, $setup, $data, $options) {
2636
- return openBlock(), createElementBlock("svg", _hoisted_1$n, _hoisted_3$d);
2636
+ return openBlock(), createElementBlock("svg", _hoisted_1$o, _hoisted_3$d);
2637
2637
  }
2638
2638
  var plus = /* @__PURE__ */ _export_sfc$1(_sfc_main$N, [["render", _sfc_render$7]]);
2639
2639
  const _sfc_main$M = defineComponent({
2640
2640
  name: "QuestionFilled"
2641
2641
  });
2642
- const _hoisted_1$m = {
2642
+ const _hoisted_1$n = {
2643
2643
  class: "icon",
2644
2644
  width: "200",
2645
2645
  height: "200",
@@ -2654,13 +2654,13 @@ const _hoisted_3$c = [
2654
2654
  _hoisted_2$f
2655
2655
  ];
2656
2656
  function _sfc_render$6(_ctx, _cache, $props, $setup, $data, $options) {
2657
- return openBlock(), createElementBlock("svg", _hoisted_1$m, _hoisted_3$c);
2657
+ return openBlock(), createElementBlock("svg", _hoisted_1$n, _hoisted_3$c);
2658
2658
  }
2659
2659
  var questionFilled = /* @__PURE__ */ _export_sfc$1(_sfc_main$M, [["render", _sfc_render$6]]);
2660
2660
  const _sfc_main$L = defineComponent({
2661
2661
  name: "RefreshLeft"
2662
2662
  });
2663
- const _hoisted_1$l = {
2663
+ const _hoisted_1$m = {
2664
2664
  class: "icon",
2665
2665
  width: "200",
2666
2666
  height: "200",
@@ -2675,13 +2675,13 @@ const _hoisted_3$b = [
2675
2675
  _hoisted_2$e
2676
2676
  ];
2677
2677
  function _sfc_render$5(_ctx, _cache, $props, $setup, $data, $options) {
2678
- return openBlock(), createElementBlock("svg", _hoisted_1$l, _hoisted_3$b);
2678
+ return openBlock(), createElementBlock("svg", _hoisted_1$m, _hoisted_3$b);
2679
2679
  }
2680
2680
  var refreshLeft = /* @__PURE__ */ _export_sfc$1(_sfc_main$L, [["render", _sfc_render$5]]);
2681
2681
  const _sfc_main$K = defineComponent({
2682
2682
  name: "RemoveFilled"
2683
2683
  });
2684
- const _hoisted_1$k = {
2684
+ const _hoisted_1$l = {
2685
2685
  class: "icon",
2686
2686
  width: "200",
2687
2687
  height: "200",
@@ -2696,13 +2696,13 @@ const _hoisted_3$a = [
2696
2696
  _hoisted_2$d
2697
2697
  ];
2698
2698
  function _sfc_render$4(_ctx, _cache, $props, $setup, $data, $options) {
2699
- return openBlock(), createElementBlock("svg", _hoisted_1$k, _hoisted_3$a);
2699
+ return openBlock(), createElementBlock("svg", _hoisted_1$l, _hoisted_3$a);
2700
2700
  }
2701
2701
  var removeFilled = /* @__PURE__ */ _export_sfc$1(_sfc_main$K, [["render", _sfc_render$4]]);
2702
2702
  const _sfc_main$J = defineComponent({
2703
2703
  name: "Remove"
2704
2704
  });
2705
- const _hoisted_1$j = {
2705
+ const _hoisted_1$k = {
2706
2706
  class: "icon",
2707
2707
  width: "200",
2708
2708
  height: "200",
@@ -2722,13 +2722,13 @@ const _hoisted_4$6 = [
2722
2722
  _hoisted_3$9
2723
2723
  ];
2724
2724
  function _sfc_render$3(_ctx, _cache, $props, $setup, $data, $options) {
2725
- return openBlock(), createElementBlock("svg", _hoisted_1$j, _hoisted_4$6);
2725
+ return openBlock(), createElementBlock("svg", _hoisted_1$k, _hoisted_4$6);
2726
2726
  }
2727
2727
  var remove = /* @__PURE__ */ _export_sfc$1(_sfc_main$J, [["render", _sfc_render$3]]);
2728
2728
  const _sfc_main$I = defineComponent({
2729
2729
  name: "Select"
2730
2730
  });
2731
- const _hoisted_1$i = {
2731
+ const _hoisted_1$j = {
2732
2732
  class: "icon",
2733
2733
  width: "200",
2734
2734
  height: "200",
@@ -2743,13 +2743,13 @@ const _hoisted_3$8 = [
2743
2743
  _hoisted_2$b
2744
2744
  ];
2745
2745
  function _sfc_render$2(_ctx, _cache, $props, $setup, $data, $options) {
2746
- return openBlock(), createElementBlock("svg", _hoisted_1$i, _hoisted_3$8);
2746
+ return openBlock(), createElementBlock("svg", _hoisted_1$j, _hoisted_3$8);
2747
2747
  }
2748
2748
  var select = /* @__PURE__ */ _export_sfc$1(_sfc_main$I, [["render", _sfc_render$2]]);
2749
2749
  const _sfc_main$H = defineComponent({
2750
2750
  name: "Sort"
2751
2751
  });
2752
- const _hoisted_1$h = {
2752
+ const _hoisted_1$i = {
2753
2753
  class: "icon",
2754
2754
  width: "200",
2755
2755
  height: "200",
@@ -2764,13 +2764,13 @@ const _hoisted_3$7 = [
2764
2764
  _hoisted_2$a
2765
2765
  ];
2766
2766
  function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
2767
- return openBlock(), createElementBlock("svg", _hoisted_1$h, _hoisted_3$7);
2767
+ return openBlock(), createElementBlock("svg", _hoisted_1$i, _hoisted_3$7);
2768
2768
  }
2769
2769
  var sort = /* @__PURE__ */ _export_sfc$1(_sfc_main$H, [["render", _sfc_render$1]]);
2770
2770
  const _sfc_main$G = defineComponent({
2771
2771
  name: "Tools"
2772
2772
  });
2773
- const _hoisted_1$g = {
2773
+ const _hoisted_1$h = {
2774
2774
  class: "icon",
2775
2775
  width: "200",
2776
2776
  height: "200",
@@ -2785,7 +2785,7 @@ const _hoisted_3$6 = [
2785
2785
  _hoisted_2$9
2786
2786
  ];
2787
2787
  function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
2788
- return openBlock(), createElementBlock("svg", _hoisted_1$g, _hoisted_3$6);
2788
+ return openBlock(), createElementBlock("svg", _hoisted_1$h, _hoisted_3$6);
2789
2789
  }
2790
2790
  var tools = /* @__PURE__ */ _export_sfc$1(_sfc_main$G, [["render", _sfc_render]]);
2791
2791
  const formManagerProvideKey = Symbol("form-manager");
@@ -3022,7 +3022,7 @@ var _export_sfc = (sfc, props) => {
3022
3022
  }
3023
3023
  return target;
3024
3024
  };
3025
- const _hoisted_1$f = { class: "selectable-operate" };
3025
+ const _hoisted_1$g = { class: "selectable-operate" };
3026
3026
  const __default__$k = {
3027
3027
  name: "SelectableOpearte",
3028
3028
  inheritAttrs: false
@@ -3041,7 +3041,7 @@ const _sfc_main$D = defineComponent({
3041
3041
  return ((_a = props.tableManager) == null ? void 0 : _a.selection) || [];
3042
3042
  });
3043
3043
  return (_ctx, _cache) => {
3044
- return openBlock(), createElementBlock("div", _hoisted_1$f, [
3044
+ return openBlock(), createElementBlock("div", _hoisted_1$g, [
3045
3045
  createVNode(_sfc_main$E, mergeProps({
3046
3046
  els: props.els,
3047
3047
  "execute-data": [executeData.value],
@@ -3338,7 +3338,7 @@ const useMove = (callback) => {
3338
3338
  return { destroy, bind };
3339
3339
  };
3340
3340
  var index_vue_vue_type_style_index_0_lang$a = "";
3341
- const _hoisted_1$e = { class: "el-dialog__title" };
3341
+ const _hoisted_1$f = { class: "el-dialog__title" };
3342
3342
  const MIN_WIDTH = 300;
3343
3343
  const MIN_HEIGHT = 160;
3344
3344
  const _sfc_main$B = defineComponent({
@@ -3410,7 +3410,7 @@ const _sfc_main$B = defineComponent({
3410
3410
  class: `${unref(BEMSpace)} ${props.customClass}`
3411
3411
  }, props.dialogProps || {}, toHandlers(props.dialogEvents || {}), { "onUpdate:modelValue": onUpdateModelValue }), createSlots({
3412
3412
  header: withCtx(() => [
3413
- createElementVNode("span", _hoisted_1$e, toDisplayString(_ctx.title), 1)
3413
+ createElementVNode("span", _hoisted_1$f, toDisplayString(_ctx.title), 1)
3414
3414
  ]),
3415
3415
  default: withCtx(() => [
3416
3416
  renderSlot(_ctx.$slots, "default"),
@@ -5379,10 +5379,14 @@ const _sfc_main$x = defineComponent({
5379
5379
  let _left = 0;
5380
5380
  if (props.placement === "left") {
5381
5381
  _left = left - props.width + width - 2;
5382
+ _left = Math.max(_left, 10);
5382
5383
  } else {
5383
5384
  _left = left;
5385
+ const rightEdge = left + props.width;
5386
+ if (rightEdge > window.innerWidth) {
5387
+ _left = left - (rightEdge - window.innerWidth) - 10;
5388
+ }
5384
5389
  }
5385
- _left = Math.max(_left, 10);
5386
5390
  return {
5387
5391
  top: top + height + 4 + "px",
5388
5392
  left: _left + "px",
@@ -5421,9 +5425,18 @@ const _sfc_main$x = defineComponent({
5421
5425
  const handleResize = throttle(() => {
5422
5426
  currentTriggerElement && getPopoverTriggerElementRectInfo(currentTriggerElement);
5423
5427
  }, 100);
5424
- const hide = () => {
5425
- document.removeEventListener("click", handleHide);
5428
+ const bindEvent = () => {
5429
+ document.addEventListener("mousedown", handleHide);
5430
+ document.addEventListener("touchstart", handleHide);
5431
+ window.addEventListener("resize", handleResize);
5432
+ };
5433
+ const unbindEvent = () => {
5434
+ document.removeEventListener("mousedown", handleHide);
5435
+ document.removeEventListener("touchstart", handleHide);
5426
5436
  window.removeEventListener("resize", handleResize);
5437
+ };
5438
+ const hide = () => {
5439
+ unbindEvent();
5427
5440
  visible.value = false;
5428
5441
  };
5429
5442
  const zIndex = ref(0);
@@ -5433,16 +5446,14 @@ const _sfc_main$x = defineComponent({
5433
5446
  hide();
5434
5447
  return;
5435
5448
  }
5436
- document.removeEventListener("click", handleHide);
5437
- window.removeEventListener("resize", handleResize);
5449
+ unbindEvent();
5438
5450
  }
5439
5451
  zIndex.value = nextZIndex();
5440
5452
  currentTriggerElement = element;
5441
5453
  getPopoverTriggerElementRectInfo(currentTriggerElement);
5442
5454
  visible.value = true;
5443
5455
  setTimeout(() => {
5444
- document.addEventListener("click", handleHide);
5445
- window.addEventListener("resize", handleResize);
5456
+ bindEvent();
5446
5457
  }, 0);
5447
5458
  };
5448
5459
  __expose({
@@ -5467,7 +5478,7 @@ const _sfc_main$x = defineComponent({
5467
5478
  };
5468
5479
  }
5469
5480
  });
5470
- var SimplePopover = /* @__PURE__ */ _export_sfc(_sfc_main$x, [["__scopeId", "data-v-0f4140d8"]]);
5481
+ var SimplePopover = /* @__PURE__ */ _export_sfc(_sfc_main$x, [["__scopeId", "data-v-0e66f84a"]]);
5471
5482
  var FilterItemTypeEnum$1 = /* @__PURE__ */ ((FilterItemTypeEnum2) => {
5472
5483
  FilterItemTypeEnum2["\u6587\u5B57"] = "string";
5473
5484
  FilterItemTypeEnum2["\u6570\u5B57"] = "number";
@@ -5571,7 +5582,7 @@ const compareOptions$1 = {
5571
5582
  ]
5572
5583
  };
5573
5584
  var index_vue_vue_type_style_index_0_scoped_true_lang$8 = "";
5574
- const _hoisted_1$d = { key: 1 };
5585
+ const _hoisted_1$e = { key: 1 };
5575
5586
  const _sfc_main$w = defineComponent({
5576
5587
  __name: "index",
5577
5588
  props: {
@@ -5958,7 +5969,7 @@ const _sfc_main$w = defineComponent({
5958
5969
  createTextVNode("\u6DFB\u52A0\u7B5B\u9009\u6761\u4EF6")
5959
5970
  ]),
5960
5971
  _: 1
5961
- }, 8, ["icon"])) : (openBlock(), createElementBlock("div", _hoisted_1$d)),
5972
+ }, 8, ["icon"])) : (openBlock(), createElementBlock("div", _hoisted_1$e)),
5962
5973
  createElementVNode("div", null, [
5963
5974
  createVNode(_component_el_button, { onClick: handleClear }, {
5964
5975
  default: withCtx(() => [
@@ -5984,7 +5995,7 @@ const _sfc_main$w = defineComponent({
5984
5995
  });
5985
5996
  var FilterZone$1 = /* @__PURE__ */ _export_sfc(_sfc_main$w, [["__scopeId", "data-v-41c68f2e"]]);
5986
5997
  var index_vue_vue_type_style_index_0_lang$7 = "";
5987
- const _hoisted_1$c = ["data-key", "title"];
5998
+ const _hoisted_1$d = ["data-key", "title"];
5988
5999
  const _hoisted_2$8 = {
5989
6000
  key: 0,
5990
6001
  style: { "color": "red" }
@@ -6169,7 +6180,7 @@ const _sfc_main$v = defineComponent({
6169
6180
  _: 1
6170
6181
  })
6171
6182
  ], 14, _hoisted_3$5)) : createCommentVNode("", true)
6172
- ], 10, _hoisted_1$c)
6183
+ ], 10, _hoisted_1$d)
6173
6184
  ]),
6174
6185
  default: withCtx(({ row, $index, column: columnEl }) => [
6175
6186
  column.children ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
@@ -7788,7 +7799,7 @@ const useUserConfig = () => {
7788
7799
  var index_vue_vue_type_style_index_0_lang$6 = "";
7789
7800
  var index_vue_vue_type_style_index_1_scoped_true_lang$1 = "";
7790
7801
  const _withScopeId$3 = (n) => (pushScopeId("data-v-7bf8eedc"), n = n(), popScopeId(), n);
7791
- const _hoisted_1$b = { title: "\u5168\u9009/\u53D6\u6D88" };
7802
+ const _hoisted_1$c = { title: "\u5168\u9009/\u53D6\u6D88" };
7792
7803
  const _hoisted_2$7 = /* @__PURE__ */ _withScopeId$3(() => /* @__PURE__ */ createElementVNode("i", {
7793
7804
  class: "pm-icon icon-drag-dot",
7794
7805
  title: "\u62D6\u52A8\u8C03\u6574\u663E\u793A\u987A\u5E8F"
@@ -7890,7 +7901,7 @@ const _sfc_main$r = defineComponent({
7890
7901
  createElementVNode("div", {
7891
7902
  class: normalizeClass(unref(createBEMName)("header"))
7892
7903
  }, [
7893
- createElementVNode("span", _hoisted_1$b, [
7904
+ createElementVNode("span", _hoisted_1$c, [
7894
7905
  createVNode(_component_el_checkbox, {
7895
7906
  label: "\u5168\u90E8",
7896
7907
  modelValue: isAllShow.value,
@@ -8015,7 +8026,7 @@ const _sfc_main$r = defineComponent({
8015
8026
  var ColumnTools$1 = /* @__PURE__ */ _export_sfc(_sfc_main$r, [["__scopeId", "data-v-7bf8eedc"]]);
8016
8027
  var index_vue_vue_type_style_index_0_scoped_true_lang$7 = "";
8017
8028
  const _withScopeId$2 = (n) => (pushScopeId("data-v-15dbe923"), n = n(), popScopeId(), n);
8018
- const _hoisted_1$a = { key: 0 };
8029
+ const _hoisted_1$b = { key: 0 };
8019
8030
  const _hoisted_2$6 = /* @__PURE__ */ _withScopeId$2(() => /* @__PURE__ */ createElementVNode("span", { class: "export-wrod" }, "\u4ECE\u7B2C", -1));
8020
8031
  const _hoisted_3$3 = /* @__PURE__ */ _withScopeId$2(() => /* @__PURE__ */ createElementVNode("span", { class: "export-wrod" }, "\u9875\u5F00\u59CB\u5BFC\u51FA\uFF0C\u6BCF\u9875", -1));
8021
8032
  const _hoisted_4$3 = /* @__PURE__ */ _withScopeId$2(() => /* @__PURE__ */ createElementVNode("span", { class: "export-wrod" }, "\u6761\u6570\u636E", -1));
@@ -8260,7 +8271,7 @@ const _sfc_main$q = defineComponent({
8260
8271
  ]),
8261
8272
  _: 1
8262
8273
  }, 8, ["modelValue"]),
8263
- formData.fromApi ? (openBlock(), createElementBlock("div", _hoisted_1$a, [
8274
+ formData.fromApi ? (openBlock(), createElementBlock("div", _hoisted_1$b, [
8264
8275
  _hoisted_2$6,
8265
8276
  createVNode(_component_el_input_number, {
8266
8277
  modelValue: formData.pageIndex,
@@ -8356,7 +8367,7 @@ const saveTableColumns = columnsSaver$1.setContents.bind(columnsSaver$1);
8356
8367
  const genSaveColumnName = columnsSaver$1.genScopeItemKey.bind(columnsSaver$1);
8357
8368
  const saveColumns$1 = columnsSaver$1.saveContentItem.bind(columnsSaver$1);
8358
8369
  const getColumns$1 = columnsSaver$1.getContentItem.bind(columnsSaver$1);
8359
- const _hoisted_1$9 = { class: "el-table__empty-data" };
8370
+ const _hoisted_1$a = { class: "el-table__empty-data" };
8360
8371
  const __default__$d = {
8361
8372
  name: "EmptyData"
8362
8373
  };
@@ -8367,7 +8378,7 @@ const _sfc_main$p = defineComponent({
8367
8378
  },
8368
8379
  setup(__props) {
8369
8380
  return (_ctx, _cache) => {
8370
- return openBlock(), createElementBlock("div", _hoisted_1$9, [
8381
+ return openBlock(), createElementBlock("div", _hoisted_1$a, [
8371
8382
  createElementVNode("span", null, toDisplayString(_ctx.text || "\u6682\u65E0\u6570\u636E"), 1)
8372
8383
  ]);
8373
8384
  };
@@ -9310,7 +9321,7 @@ class FormManager extends IManager {
9310
9321
  }
9311
9322
  }
9312
9323
  var index_vue_vue_type_style_index_0_scoped_true_lang$5 = "";
9313
- const _hoisted_1$8 = ["onClick"];
9324
+ const _hoisted_1$9 = ["onClick"];
9314
9325
  const _hoisted_2$5 = { class: "section-item__title-text" };
9315
9326
  const __default__$a = {
9316
9327
  name: "SectionTitleEl"
@@ -9412,7 +9423,7 @@ const _sfc_main$l = defineComponent({
9412
9423
  ]),
9413
9424
  _: 2
9414
9425
  }, 1024)) : createCommentVNode("", true)
9415
- ], 8, _hoisted_1$8),
9426
+ ], 8, _hoisted_1$9),
9416
9427
  createElementVNode("div", {
9417
9428
  class: normalizeClass(["section-item__els", { hidden: sectionHiddens.value[index2] }])
9418
9429
  }, [
@@ -9702,7 +9713,7 @@ const defineForm = (form) => {
9702
9713
  };
9703
9714
  var setting_vue_vue_type_style_index_0_lang$1 = "";
9704
9715
  var setting_vue_vue_type_style_index_1_lang$1 = "";
9705
- const _hoisted_1$7 = { key: 0 };
9716
+ const _hoisted_1$8 = { key: 0 };
9706
9717
  const _hoisted_2$4 = {
9707
9718
  key: 1,
9708
9719
  style: { "color": "#999" }
@@ -9910,7 +9921,7 @@ const _sfc_main$g = defineComponent({
9910
9921
  createElementVNode("div", {
9911
9922
  class: normalizeClass(unref(createBEMName)("cell"))
9912
9923
  }, [
9913
- element.sectionName ? (openBlock(), createElementBlock("span", _hoisted_1$7, toDisplayString(element.sectionName), 1)) : (openBlock(), createElementBlock("span", _hoisted_2$4, "\u672A\u914D\u7F6E"))
9924
+ element.sectionName ? (openBlock(), createElementBlock("span", _hoisted_1$8, toDisplayString(element.sectionName), 1)) : (openBlock(), createElementBlock("span", _hoisted_2$4, "\u672A\u914D\u7F6E"))
9914
9925
  ], 2),
9915
9926
  createElementVNode("div", {
9916
9927
  class: normalizeClass(unref(createBEMName)("cell"))
@@ -10575,7 +10586,7 @@ const _sfc_main$d = defineComponent({
10575
10586
  }
10576
10587
  });
10577
10588
  var index_vue_vue_type_style_index_0_lang$2 = "";
10578
- const _hoisted_1$6 = { class: "el-drawer_title" };
10589
+ const _hoisted_1$7 = { class: "el-drawer_title" };
10579
10590
  const _sfc_main$c = defineComponent({
10580
10591
  __name: "index",
10581
10592
  props: {
@@ -10614,7 +10625,7 @@ const _sfc_main$c = defineComponent({
10614
10625
  class: `${unref(BEMSpace)} ${props.customClass || ""} ${_ctx.noPaddingTop ? "no-padding-top" : ""}`
10615
10626
  }, props.dialogProps || {}, toHandlers(props.dialogEvents || {}), { "onUpdate:modelValue": onUpdateModelValue }), createSlots({
10616
10627
  header: withCtx(() => [
10617
- createElementVNode("span", _hoisted_1$6, toDisplayString(_ctx.title), 1)
10628
+ createElementVNode("span", _hoisted_1$7, toDisplayString(_ctx.title), 1)
10618
10629
  ]),
10619
10630
  default: withCtx(() => [
10620
10631
  renderSlot(_ctx.$slots, "default")
@@ -10963,7 +10974,7 @@ class FilterTools {
10963
10974
  }
10964
10975
  }
10965
10976
  var index_vue_vue_type_style_index_0_scoped_true_lang$4 = "";
10966
- const _hoisted_1$5 = ["onClick"];
10977
+ const _hoisted_1$6 = ["onClick"];
10967
10978
  const _sfc_main$9 = defineComponent({
10968
10979
  __name: "index",
10969
10980
  props: {
@@ -11172,7 +11183,7 @@ const _sfc_main$9 = defineComponent({
11172
11183
  ]),
11173
11184
  _: 1
11174
11185
  })) : createCommentVNode("", true)
11175
- ], 10, _hoisted_1$5);
11186
+ ], 10, _hoisted_1$6);
11176
11187
  }), 128))
11177
11188
  ]),
11178
11189
  _: 1
@@ -11386,6 +11397,7 @@ const _sfc_main$8 = defineComponent({
11386
11397
  }
11387
11398
  });
11388
11399
  var index_vue_vue_type_style_index_0_scoped_true_lang$3 = "";
11400
+ const _hoisted_1$5 = { class: "f_z__select-footer" };
11389
11401
  const _sfc_main$7 = defineComponent({
11390
11402
  __name: "index",
11391
11403
  props: {
@@ -11442,6 +11454,12 @@ const _sfc_main$7 = defineComponent({
11442
11454
  const newItem = getAddFilterItem(columnEl);
11443
11455
  filterList.value[index2] = newItem;
11444
11456
  };
11457
+ const handleClearSelect = (item) => {
11458
+ item.value = [];
11459
+ };
11460
+ const handleSelectAll = (item) => {
11461
+ item.value = item.filterOptions.map((a) => a.value);
11462
+ };
11445
11463
  const handleAddItem = () => {
11446
11464
  if (filterColumnList.value[0]) {
11447
11465
  filterList.value.push(getAddFilterItem(filterColumnList.value[0]));
@@ -11495,8 +11513,8 @@ const _sfc_main$7 = defineComponent({
11495
11513
  const _component_el_input = resolveComponent("el-input");
11496
11514
  const _component_el_input_number = resolveComponent("el-input-number");
11497
11515
  const _component_el_date_picker = resolveComponent("el-date-picker");
11498
- const _component_el_icon = resolveComponent("el-icon");
11499
11516
  const _component_el_button = resolveComponent("el-button");
11517
+ const _component_el_icon = resolveComponent("el-icon");
11500
11518
  return openBlock(), createBlock(SimplePopover, {
11501
11519
  ref_key: "simplePopoverRef",
11502
11520
  ref: simplePopoverRef,
@@ -11680,6 +11698,32 @@ const _sfc_main$7 = defineComponent({
11680
11698
  clearable: "",
11681
11699
  placeholder: "\u8BF7\u9009\u62E9"
11682
11700
  }, {
11701
+ footer: withCtx(() => [
11702
+ createElementVNode("div", _hoisted_1$5, [
11703
+ createVNode(_component_el_button, {
11704
+ size: "small",
11705
+ type: "info",
11706
+ link: "",
11707
+ onClick: ($event) => handleClearSelect(item)
11708
+ }, {
11709
+ default: withCtx(() => [
11710
+ createTextVNode("\u6E05\u7A7A")
11711
+ ]),
11712
+ _: 2
11713
+ }, 1032, ["onClick"]),
11714
+ createVNode(_component_el_button, {
11715
+ size: "small",
11716
+ type: "primary",
11717
+ link: "",
11718
+ onClick: ($event) => handleSelectAll(item)
11719
+ }, {
11720
+ default: withCtx(() => [
11721
+ createTextVNode("\u5168\u9009")
11722
+ ]),
11723
+ _: 2
11724
+ }, 1032, ["onClick"])
11725
+ ])
11726
+ ]),
11683
11727
  default: withCtx(() => [
11684
11728
  (openBlock(true), createElementBlock(Fragment, null, renderList(item.filterOptions, (opt, index22) => {
11685
11729
  return openBlock(), createBlock(_component_el_option, {
@@ -11751,7 +11795,7 @@ const _sfc_main$7 = defineComponent({
11751
11795
  };
11752
11796
  }
11753
11797
  });
11754
- var ColumnFilterTools = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["__scopeId", "data-v-637a03a4"]]);
11798
+ var ColumnFilterTools = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["__scopeId", "data-v-27b86e68"]]);
11755
11799
  var index_vue_vue_type_style_index_0_scoped_true_lang$2 = "";
11756
11800
  const _withScopeId$1 = (n) => (pushScopeId("data-v-05a4fc48"), n = n(), popScopeId(), n);
11757
11801
  const _hoisted_1$4 = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ createElementVNode("i", {
@@ -13786,7 +13830,7 @@ const defineEditableTable = function(config) {
13786
13830
  };
13787
13831
  var iconfont = "";
13788
13832
  const name = "@juzhenfe/page-model";
13789
- const version = "3.14.6";
13833
+ const version = "3.14.7";
13790
13834
  const types = "dist/main.d.ts";
13791
13835
  const main = "dist/index.umd.js";
13792
13836
  const keywords = [