@juzhenfe/page-model 3.9.47 → 3.9.49

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
@@ -4,7 +4,7 @@ var __publicField = (obj, key, value) => {
4
4
  __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
5
5
  return value;
6
6
  };
7
- import { reactive, defineComponent, openBlock, createElementBlock, computed, ref, resolveComponent, normalizeClass, unref, createVNode, mergeProps, withCtx, Fragment, renderList, createBlock, createElementVNode, toDisplayString, nextTick, watch, markRaw, getCurrentInstance, resolveDynamicComponent, renderSlot, inject, createTextVNode, withModifiers, toRefs, h, onUnmounted, toHandlers, onMounted, createCommentVNode, render, pushScopeId, popScopeId, resolveDirective, withDirectives, vShow, Teleport, normalizeStyle, onActivated, watchEffect, normalizeProps, guardReactiveProps, provide, Transition, useSlots, createSlots } from "vue";
7
+ import { reactive, defineComponent, openBlock, createElementBlock, computed, ref, resolveComponent, normalizeClass, unref, createVNode, mergeProps, withCtx, Fragment, renderList, createBlock, createElementVNode, toDisplayString, nextTick, watch, markRaw, getCurrentInstance, resolveDynamicComponent, renderSlot, inject, createTextVNode, withModifiers, toRefs, h, onUnmounted, toHandlers, onMounted, createCommentVNode, render, pushScopeId, popScopeId, resolveDirective, withDirectives, vShow, Teleport, normalizeStyle, useSlots, onActivated, watchEffect, normalizeProps, guardReactiveProps, provide, Transition, createSlots } from "vue";
8
8
  import { ElMessage, ElLoading, ElMessageBox } from "element-plus";
9
9
  function defineConfig(config) {
10
10
  return reactive(config);
@@ -209,7 +209,7 @@ const _hoisted_1$x = { class: "scenes-tab" };
209
209
  const __default__$p = {
210
210
  name: "ScenesTab"
211
211
  };
212
- const _sfc_main$Y = defineComponent({
212
+ const _sfc_main$Z = defineComponent({
213
213
  ...__default__$p,
214
214
  setup(__props, { expose: __expose }) {
215
215
  const getValue2 = () => {
@@ -227,7 +227,7 @@ var index_vue_vue_type_style_index_0_lang$d = "";
227
227
  const __default__$o = {
228
228
  name: "NormalTab"
229
229
  };
230
- const _sfc_main$X = defineComponent({
230
+ const _sfc_main$Y = defineComponent({
231
231
  ...__default__$o,
232
232
  props: {
233
233
  panes: {},
@@ -1451,7 +1451,7 @@ var index_vue_vue_type_style_index_0_lang$c = "";
1451
1451
  const __default__$n = {
1452
1452
  name: "TopTabs"
1453
1453
  };
1454
- const _sfc_main$W = defineComponent({
1454
+ const _sfc_main$X = defineComponent({
1455
1455
  ...__default__$n,
1456
1456
  props: {
1457
1457
  tabs: {},
@@ -1472,12 +1472,12 @@ const _sfc_main$W = defineComponent({
1472
1472
  const tabComponent = computed(() => {
1473
1473
  if (props.tabs.useScene) {
1474
1474
  return {
1475
- component: _sfc_main$Y,
1475
+ component: _sfc_main$Z,
1476
1476
  props: props.tabs.sceneTab
1477
1477
  };
1478
1478
  } else {
1479
1479
  return {
1480
- component: _sfc_main$X,
1480
+ component: _sfc_main$Y,
1481
1481
  props: {
1482
1482
  panes: props.tabs.panes,
1483
1483
  props: props.tabs.props
@@ -2101,7 +2101,7 @@ var _export_sfc$1 = (sfc, props) => {
2101
2101
  }
2102
2102
  return target;
2103
2103
  };
2104
- const _sfc_main$V = defineComponent({
2104
+ const _sfc_main$W = defineComponent({
2105
2105
  name: "ArrowDownBold"
2106
2106
  });
2107
2107
  const _hoisted_1$w = {
@@ -2121,8 +2121,8 @@ const _hoisted_3$o = [
2121
2121
  function _sfc_render$j(_ctx, _cache, $props, $setup, $data, $options) {
2122
2122
  return openBlock(), createElementBlock("svg", _hoisted_1$w, _hoisted_3$o);
2123
2123
  }
2124
- var arrowDownBold = /* @__PURE__ */ _export_sfc$1(_sfc_main$V, [["render", _sfc_render$j]]);
2125
- const _sfc_main$U = defineComponent({
2124
+ var arrowDownBold = /* @__PURE__ */ _export_sfc$1(_sfc_main$W, [["render", _sfc_render$j]]);
2125
+ const _sfc_main$V = defineComponent({
2126
2126
  name: "ArrowDown"
2127
2127
  });
2128
2128
  const _hoisted_1$v = {
@@ -2142,8 +2142,8 @@ const _hoisted_3$n = [
2142
2142
  function _sfc_render$i(_ctx, _cache, $props, $setup, $data, $options) {
2143
2143
  return openBlock(), createElementBlock("svg", _hoisted_1$v, _hoisted_3$n);
2144
2144
  }
2145
- var arrowDown = /* @__PURE__ */ _export_sfc$1(_sfc_main$U, [["render", _sfc_render$i]]);
2146
- const _sfc_main$T = defineComponent({
2145
+ var arrowDown = /* @__PURE__ */ _export_sfc$1(_sfc_main$V, [["render", _sfc_render$i]]);
2146
+ const _sfc_main$U = defineComponent({
2147
2147
  name: "CaretBottom"
2148
2148
  });
2149
2149
  const _hoisted_1$u = {
@@ -2163,8 +2163,8 @@ const _hoisted_3$m = [
2163
2163
  function _sfc_render$h(_ctx, _cache, $props, $setup, $data, $options) {
2164
2164
  return openBlock(), createElementBlock("svg", _hoisted_1$u, _hoisted_3$m);
2165
2165
  }
2166
- var caretBottom = /* @__PURE__ */ _export_sfc$1(_sfc_main$T, [["render", _sfc_render$h]]);
2167
- const _sfc_main$S = defineComponent({
2166
+ var caretBottom = /* @__PURE__ */ _export_sfc$1(_sfc_main$U, [["render", _sfc_render$h]]);
2167
+ const _sfc_main$T = defineComponent({
2168
2168
  name: "CaretRight"
2169
2169
  });
2170
2170
  const _hoisted_1$t = {
@@ -2184,8 +2184,8 @@ const _hoisted_3$l = [
2184
2184
  function _sfc_render$g(_ctx, _cache, $props, $setup, $data, $options) {
2185
2185
  return openBlock(), createElementBlock("svg", _hoisted_1$t, _hoisted_3$l);
2186
2186
  }
2187
- var caretRight = /* @__PURE__ */ _export_sfc$1(_sfc_main$S, [["render", _sfc_render$g]]);
2188
- const _sfc_main$R = defineComponent({
2187
+ var caretRight = /* @__PURE__ */ _export_sfc$1(_sfc_main$T, [["render", _sfc_render$g]]);
2188
+ const _sfc_main$S = defineComponent({
2189
2189
  name: "CaretTop"
2190
2190
  });
2191
2191
  const _hoisted_1$s = {
@@ -2205,8 +2205,8 @@ const _hoisted_3$k = [
2205
2205
  function _sfc_render$f(_ctx, _cache, $props, $setup, $data, $options) {
2206
2206
  return openBlock(), createElementBlock("svg", _hoisted_1$s, _hoisted_3$k);
2207
2207
  }
2208
- var caretTop = /* @__PURE__ */ _export_sfc$1(_sfc_main$R, [["render", _sfc_render$f]]);
2209
- const _sfc_main$Q = defineComponent({
2208
+ var caretTop = /* @__PURE__ */ _export_sfc$1(_sfc_main$S, [["render", _sfc_render$f]]);
2209
+ const _sfc_main$R = defineComponent({
2210
2210
  name: "CirclePlusFilled"
2211
2211
  });
2212
2212
  const _hoisted_1$r = {
@@ -2226,8 +2226,8 @@ const _hoisted_3$j = [
2226
2226
  function _sfc_render$e(_ctx, _cache, $props, $setup, $data, $options) {
2227
2227
  return openBlock(), createElementBlock("svg", _hoisted_1$r, _hoisted_3$j);
2228
2228
  }
2229
- var circlePlusFilled = /* @__PURE__ */ _export_sfc$1(_sfc_main$Q, [["render", _sfc_render$e]]);
2230
- const _sfc_main$P = defineComponent({
2229
+ var circlePlusFilled = /* @__PURE__ */ _export_sfc$1(_sfc_main$R, [["render", _sfc_render$e]]);
2230
+ const _sfc_main$Q = defineComponent({
2231
2231
  name: "CirclePlus"
2232
2232
  });
2233
2233
  const _hoisted_1$q = {
@@ -2257,8 +2257,8 @@ const _hoisted_5$3 = [
2257
2257
  function _sfc_render$d(_ctx, _cache, $props, $setup, $data, $options) {
2258
2258
  return openBlock(), createElementBlock("svg", _hoisted_1$q, _hoisted_5$3);
2259
2259
  }
2260
- var circlePlus = /* @__PURE__ */ _export_sfc$1(_sfc_main$P, [["render", _sfc_render$d]]);
2261
- const _sfc_main$O = defineComponent({
2260
+ var circlePlus = /* @__PURE__ */ _export_sfc$1(_sfc_main$Q, [["render", _sfc_render$d]]);
2261
+ const _sfc_main$P = defineComponent({
2262
2262
  name: "Download"
2263
2263
  });
2264
2264
  const _hoisted_1$p = {
@@ -2278,8 +2278,8 @@ const _hoisted_3$h = [
2278
2278
  function _sfc_render$c(_ctx, _cache, $props, $setup, $data, $options) {
2279
2279
  return openBlock(), createElementBlock("svg", _hoisted_1$p, _hoisted_3$h);
2280
2280
  }
2281
- var download = /* @__PURE__ */ _export_sfc$1(_sfc_main$O, [["render", _sfc_render$c]]);
2282
- const _sfc_main$N = defineComponent({
2281
+ var download = /* @__PURE__ */ _export_sfc$1(_sfc_main$P, [["render", _sfc_render$c]]);
2282
+ const _sfc_main$O = defineComponent({
2283
2283
  name: "Edit"
2284
2284
  });
2285
2285
  const _hoisted_1$o = {
@@ -2304,8 +2304,8 @@ const _hoisted_4$6 = [
2304
2304
  function _sfc_render$b(_ctx, _cache, $props, $setup, $data, $options) {
2305
2305
  return openBlock(), createElementBlock("svg", _hoisted_1$o, _hoisted_4$6);
2306
2306
  }
2307
- var edit = /* @__PURE__ */ _export_sfc$1(_sfc_main$N, [["render", _sfc_render$b]]);
2308
- const _sfc_main$M = defineComponent({
2307
+ var edit = /* @__PURE__ */ _export_sfc$1(_sfc_main$O, [["render", _sfc_render$b]]);
2308
+ const _sfc_main$N = defineComponent({
2309
2309
  name: "Filter"
2310
2310
  });
2311
2311
  const _hoisted_1$n = {
@@ -2325,8 +2325,8 @@ const _hoisted_3$f = [
2325
2325
  function _sfc_render$a(_ctx, _cache, $props, $setup, $data, $options) {
2326
2326
  return openBlock(), createElementBlock("svg", _hoisted_1$n, _hoisted_3$f);
2327
2327
  }
2328
- var filter = /* @__PURE__ */ _export_sfc$1(_sfc_main$M, [["render", _sfc_render$a]]);
2329
- const _sfc_main$L = defineComponent({
2328
+ var filter = /* @__PURE__ */ _export_sfc$1(_sfc_main$N, [["render", _sfc_render$a]]);
2329
+ const _sfc_main$M = defineComponent({
2330
2330
  name: "FullScreen"
2331
2331
  });
2332
2332
  const _hoisted_1$m = {
@@ -2346,8 +2346,8 @@ const _hoisted_3$e = [
2346
2346
  function _sfc_render$9(_ctx, _cache, $props, $setup, $data, $options) {
2347
2347
  return openBlock(), createElementBlock("svg", _hoisted_1$m, _hoisted_3$e);
2348
2348
  }
2349
- var fullScreen = /* @__PURE__ */ _export_sfc$1(_sfc_main$L, [["render", _sfc_render$9]]);
2350
- const _sfc_main$K = defineComponent({
2349
+ var fullScreen = /* @__PURE__ */ _export_sfc$1(_sfc_main$M, [["render", _sfc_render$9]]);
2350
+ const _sfc_main$L = defineComponent({
2351
2351
  name: "Grid"
2352
2352
  });
2353
2353
  const _hoisted_1$l = {
@@ -2367,8 +2367,8 @@ const _hoisted_3$d = [
2367
2367
  function _sfc_render$8(_ctx, _cache, $props, $setup, $data, $options) {
2368
2368
  return openBlock(), createElementBlock("svg", _hoisted_1$l, _hoisted_3$d);
2369
2369
  }
2370
- var grid = /* @__PURE__ */ _export_sfc$1(_sfc_main$K, [["render", _sfc_render$8]]);
2371
- const _sfc_main$J = defineComponent({
2370
+ var grid = /* @__PURE__ */ _export_sfc$1(_sfc_main$L, [["render", _sfc_render$8]]);
2371
+ const _sfc_main$K = defineComponent({
2372
2372
  name: "Loading"
2373
2373
  });
2374
2374
  const _hoisted_1$k = {
@@ -2388,8 +2388,8 @@ const _hoisted_3$c = [
2388
2388
  function _sfc_render$7(_ctx, _cache, $props, $setup, $data, $options) {
2389
2389
  return openBlock(), createElementBlock("svg", _hoisted_1$k, _hoisted_3$c);
2390
2390
  }
2391
- var loading = /* @__PURE__ */ _export_sfc$1(_sfc_main$J, [["render", _sfc_render$7]]);
2392
- const _sfc_main$I = defineComponent({
2391
+ var loading = /* @__PURE__ */ _export_sfc$1(_sfc_main$K, [["render", _sfc_render$7]]);
2392
+ const _sfc_main$J = defineComponent({
2393
2393
  name: "Menu"
2394
2394
  });
2395
2395
  const _hoisted_1$j = {
@@ -2409,8 +2409,8 @@ const _hoisted_3$b = [
2409
2409
  function _sfc_render$6(_ctx, _cache, $props, $setup, $data, $options) {
2410
2410
  return openBlock(), createElementBlock("svg", _hoisted_1$j, _hoisted_3$b);
2411
2411
  }
2412
- var menu = /* @__PURE__ */ _export_sfc$1(_sfc_main$I, [["render", _sfc_render$6]]);
2413
- const _sfc_main$H = defineComponent({
2412
+ var menu = /* @__PURE__ */ _export_sfc$1(_sfc_main$J, [["render", _sfc_render$6]]);
2413
+ const _sfc_main$I = defineComponent({
2414
2414
  name: "QuestionFilled"
2415
2415
  });
2416
2416
  const _hoisted_1$i = {
@@ -2430,8 +2430,8 @@ const _hoisted_3$a = [
2430
2430
  function _sfc_render$5(_ctx, _cache, $props, $setup, $data, $options) {
2431
2431
  return openBlock(), createElementBlock("svg", _hoisted_1$i, _hoisted_3$a);
2432
2432
  }
2433
- var questionFilled = /* @__PURE__ */ _export_sfc$1(_sfc_main$H, [["render", _sfc_render$5]]);
2434
- const _sfc_main$G = defineComponent({
2433
+ var questionFilled = /* @__PURE__ */ _export_sfc$1(_sfc_main$I, [["render", _sfc_render$5]]);
2434
+ const _sfc_main$H = defineComponent({
2435
2435
  name: "RefreshLeft"
2436
2436
  });
2437
2437
  const _hoisted_1$h = {
@@ -2451,8 +2451,8 @@ const _hoisted_3$9 = [
2451
2451
  function _sfc_render$4(_ctx, _cache, $props, $setup, $data, $options) {
2452
2452
  return openBlock(), createElementBlock("svg", _hoisted_1$h, _hoisted_3$9);
2453
2453
  }
2454
- var refreshLeft = /* @__PURE__ */ _export_sfc$1(_sfc_main$G, [["render", _sfc_render$4]]);
2455
- const _sfc_main$F = defineComponent({
2454
+ var refreshLeft = /* @__PURE__ */ _export_sfc$1(_sfc_main$H, [["render", _sfc_render$4]]);
2455
+ const _sfc_main$G = defineComponent({
2456
2456
  name: "RemoveFilled"
2457
2457
  });
2458
2458
  const _hoisted_1$g = {
@@ -2472,8 +2472,8 @@ const _hoisted_3$8 = [
2472
2472
  function _sfc_render$3(_ctx, _cache, $props, $setup, $data, $options) {
2473
2473
  return openBlock(), createElementBlock("svg", _hoisted_1$g, _hoisted_3$8);
2474
2474
  }
2475
- var removeFilled = /* @__PURE__ */ _export_sfc$1(_sfc_main$F, [["render", _sfc_render$3]]);
2476
- const _sfc_main$E = defineComponent({
2475
+ var removeFilled = /* @__PURE__ */ _export_sfc$1(_sfc_main$G, [["render", _sfc_render$3]]);
2476
+ const _sfc_main$F = defineComponent({
2477
2477
  name: "Remove"
2478
2478
  });
2479
2479
  const _hoisted_1$f = {
@@ -2498,8 +2498,8 @@ const _hoisted_4$5 = [
2498
2498
  function _sfc_render$2(_ctx, _cache, $props, $setup, $data, $options) {
2499
2499
  return openBlock(), createElementBlock("svg", _hoisted_1$f, _hoisted_4$5);
2500
2500
  }
2501
- var remove = /* @__PURE__ */ _export_sfc$1(_sfc_main$E, [["render", _sfc_render$2]]);
2502
- const _sfc_main$D = defineComponent({
2501
+ var remove = /* @__PURE__ */ _export_sfc$1(_sfc_main$F, [["render", _sfc_render$2]]);
2502
+ const _sfc_main$E = defineComponent({
2503
2503
  name: "Select"
2504
2504
  });
2505
2505
  const _hoisted_1$e = {
@@ -2519,8 +2519,8 @@ const _hoisted_3$6 = [
2519
2519
  function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
2520
2520
  return openBlock(), createElementBlock("svg", _hoisted_1$e, _hoisted_3$6);
2521
2521
  }
2522
- var select = /* @__PURE__ */ _export_sfc$1(_sfc_main$D, [["render", _sfc_render$1]]);
2523
- const _sfc_main$C = defineComponent({
2522
+ var select = /* @__PURE__ */ _export_sfc$1(_sfc_main$E, [["render", _sfc_render$1]]);
2523
+ const _sfc_main$D = defineComponent({
2524
2524
  name: "Tools"
2525
2525
  });
2526
2526
  const _hoisted_1$d = {
@@ -2540,7 +2540,7 @@ const _hoisted_3$5 = [
2540
2540
  function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
2541
2541
  return openBlock(), createElementBlock("svg", _hoisted_1$d, _hoisted_3$5);
2542
2542
  }
2543
- var tools = /* @__PURE__ */ _export_sfc$1(_sfc_main$C, [["render", _sfc_render]]);
2543
+ var tools = /* @__PURE__ */ _export_sfc$1(_sfc_main$D, [["render", _sfc_render]]);
2544
2544
  const formManagerProvideKey = Symbol("form-manager");
2545
2545
  const registerPropertyProvideKey = Symbol("registerProperty");
2546
2546
  const isOpenAuthButtonProvideKey = Symbol("isOpenAuthButton");
@@ -2549,7 +2549,7 @@ var index_vue_vue_type_style_index_0_lang$b = "";
2549
2549
  const __default__$m = {
2550
2550
  name: "ButtonRenderer"
2551
2551
  };
2552
- const _sfc_main$B = defineComponent({
2552
+ const _sfc_main$C = defineComponent({
2553
2553
  ...__default__$m,
2554
2554
  props: {
2555
2555
  els: {},
@@ -2734,7 +2734,7 @@ const __default__$l = {
2734
2734
  name: "SelectableOpearte",
2735
2735
  inheritAttrs: false
2736
2736
  };
2737
- const _sfc_main$A = defineComponent({
2737
+ const _sfc_main$B = defineComponent({
2738
2738
  ...__default__$l,
2739
2739
  props: {
2740
2740
  els: {},
@@ -2748,7 +2748,7 @@ const _sfc_main$A = defineComponent({
2748
2748
  return ((_a = props.tableManager) == null ? void 0 : _a.selection) || [];
2749
2749
  });
2750
2750
  return (_ctx, _cache) => {
2751
- return openBlock(), createBlock(_sfc_main$B, mergeProps({
2751
+ return openBlock(), createBlock(_sfc_main$C, mergeProps({
2752
2752
  els: props.els,
2753
2753
  "execute-data": [executeData.value],
2754
2754
  context: props.manager
@@ -2760,7 +2760,7 @@ const __default__$k = {
2760
2760
  name: "ActionTools",
2761
2761
  inheritAttrs: false
2762
2762
  };
2763
- const _sfc_main$z = defineComponent({
2763
+ const _sfc_main$A = defineComponent({
2764
2764
  ...__default__$k,
2765
2765
  props: {
2766
2766
  action: {},
@@ -2770,7 +2770,7 @@ const _sfc_main$z = defineComponent({
2770
2770
  const props = __props;
2771
2771
  return (_ctx, _cache) => {
2772
2772
  return openBlock(), createElementBlock("div", null, [
2773
- createVNode(_sfc_main$B, mergeProps({
2773
+ createVNode(_sfc_main$C, mergeProps({
2774
2774
  els: props.action.els,
2775
2775
  context: props.manager
2776
2776
  }, _ctx.$attrs), null, 16, ["els", "context"])
@@ -2845,7 +2845,7 @@ class SearchFormManager extends IManager {
2845
2845
  this.manager = manager;
2846
2846
  }
2847
2847
  }
2848
- const _sfc_main$y = defineComponent({
2848
+ const _sfc_main$z = defineComponent({
2849
2849
  name: "FormItemRenderer",
2850
2850
  props: {
2851
2851
  modelValue: null,
@@ -3067,7 +3067,7 @@ var index_vue_vue_type_style_index_0_lang$a = "";
3067
3067
  const _hoisted_1$c = { class: "el-dialog__title" };
3068
3068
  const MIN_WIDTH = 300;
3069
3069
  const MIN_HEIGHT = 160;
3070
- const _sfc_main$x = defineComponent({
3070
+ const _sfc_main$y = defineComponent({
3071
3071
  __name: "index",
3072
3072
  props: {
3073
3073
  modelValue: { type: Boolean },
@@ -3151,7 +3151,7 @@ const _sfc_main$x = defineComponent({
3151
3151
  }
3152
3152
  });
3153
3153
  var index_vue_vue_type_style_index_0_lang$9 = "";
3154
- const _sfc_main$w = defineComponent({
3154
+ const _sfc_main$x = defineComponent({
3155
3155
  __name: "index",
3156
3156
  emits: ["filter"],
3157
3157
  setup(__props, { expose: __expose, emit: __emit }) {
@@ -3186,7 +3186,7 @@ const _sfc_main$w = defineComponent({
3186
3186
  const _component_el_form_item = resolveComponent("el-form-item");
3187
3187
  const _component_el_form = resolveComponent("el-form");
3188
3188
  const _component_el_button = resolveComponent("el-button");
3189
- return openBlock(), createBlock(_sfc_main$x, {
3189
+ return openBlock(), createBlock(_sfc_main$y, {
3190
3190
  modelValue: isShow.value,
3191
3191
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => isShow.value = $event),
3192
3192
  title: "\u7B5B\u9009\u6761\u4EF6",
@@ -3232,7 +3232,7 @@ const _sfc_main$w = defineComponent({
3232
3232
  prop: item.prop
3233
3233
  }), {
3234
3234
  default: withCtx(() => [
3235
- createVNode(_sfc_main$y, {
3235
+ createVNode(_sfc_main$z, {
3236
3236
  modelValue: formData.value[item.prop],
3237
3237
  "onUpdate:modelValue": ($event) => formData.value[item.prop] = $event,
3238
3238
  renderFn: item.renderFn,
@@ -3898,7 +3898,7 @@ var index_vue_vue_type_style_index_0_lang$8 = "";
3898
3898
  const __default__$j = {
3899
3899
  name: "PageModelSearchForm"
3900
3900
  };
3901
- const _sfc_main$v = defineComponent({
3901
+ const _sfc_main$w = defineComponent({
3902
3902
  ...__default__$j,
3903
3903
  props: {
3904
3904
  form: {},
@@ -4053,7 +4053,7 @@ const _sfc_main$v = defineComponent({
4053
4053
  style: { width: ((_a2 = item.style) == null ? void 0 : _a2.width) || unref(searchFormItemWidth) }
4054
4054
  }), {
4055
4055
  default: withCtx(() => [
4056
- createVNode(_sfc_main$y, {
4056
+ createVNode(_sfc_main$z, {
4057
4057
  modelValue: searchFormManager.formData[item.prop],
4058
4058
  "onUpdate:modelValue": ($event) => searchFormManager.formData[item.prop] = $event,
4059
4059
  renderFn: item.renderFn,
@@ -4138,7 +4138,7 @@ const _sfc_main$v = defineComponent({
4138
4138
  }, [
4139
4139
  renderSlot(_ctx.$slots, "default")
4140
4140
  ], 2),
4141
- searchFormManager.expandMode === "dialog" && showFormEls.value.length && unref(showMoreButton) ? (openBlock(), createBlock(_sfc_main$w, {
4141
+ searchFormManager.expandMode === "dialog" && showFormEls.value.length && unref(showMoreButton) ? (openBlock(), createBlock(_sfc_main$x, {
4142
4142
  key: 3,
4143
4143
  ref_key: "SearchFormFullRef",
4144
4144
  ref: SearchFormFullRef,
@@ -4841,7 +4841,7 @@ class TableManager extends IManager {
4841
4841
  this.removeCellOutClickEvent();
4842
4842
  }
4843
4843
  }
4844
- const _sfc_main$u = defineComponent({
4844
+ const _sfc_main$v = defineComponent({
4845
4845
  name: "TableCellRenderer",
4846
4846
  props: {
4847
4847
  renderFn: {
@@ -4900,7 +4900,7 @@ const _hoisted_8 = ["onClick"];
4900
4900
  const __default__$i = {
4901
4901
  name: "TableColumn"
4902
4902
  };
4903
- const _sfc_main$t = defineComponent({
4903
+ const _sfc_main$u = defineComponent({
4904
4904
  ...__default__$i,
4905
4905
  props: {
4906
4906
  els: {},
@@ -5038,7 +5038,7 @@ const _sfc_main$t = defineComponent({
5038
5038
  ) ? (openBlock(), createElementBlock("div", _hoisted_3$4, [
5039
5039
  column.editData ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
5040
5040
  createElementVNode("div", _hoisted_4$4, [
5041
- createVNode(_sfc_main$y, {
5041
+ createVNode(_sfc_main$z, {
5042
5042
  modelValue: row[column.editData.prop || column.prop],
5043
5043
  renderFn: column.editData.renderFn,
5044
5044
  context: props.context,
@@ -5074,7 +5074,7 @@ const _sfc_main$t = defineComponent({
5074
5074
  ])) : createCommentVNode("", true)
5075
5075
  ], 64)) : (openBlock(), createElementBlock("div", _hoisted_6$2, "\u8BE5\u5217\u672A\u8BBE\u7F6E\u7F16\u8F91\u7EC4\u4EF6"))
5076
5076
  ])) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [
5077
- column.renderFn && $index !== -1 ? (openBlock(), createBlock(_sfc_main$u, {
5077
+ column.renderFn && $index !== -1 ? (openBlock(), createBlock(_sfc_main$v, {
5078
5078
  key: 0,
5079
5079
  "render-fn": column.renderFn,
5080
5080
  context: props.context,
@@ -6062,7 +6062,7 @@ var Sortable = Sortable_min.exports;
6062
6062
  const __default__$h = {
6063
6063
  name: "DraggableList"
6064
6064
  };
6065
- const _sfc_main$s = defineComponent({
6065
+ const _sfc_main$t = defineComponent({
6066
6066
  ...__default__$h,
6067
6067
  props: {
6068
6068
  modelValue: {},
@@ -6150,7 +6150,7 @@ var setting_vue_vue_type_style_index_1_lang$2 = "";
6150
6150
  const __default__$g = {
6151
6151
  name: "SaveColumnSetting"
6152
6152
  };
6153
- const _sfc_main$r = defineComponent({
6153
+ const _sfc_main$s = defineComponent({
6154
6154
  ...__default__$g,
6155
6155
  props: {
6156
6156
  onlyShow: { type: Boolean, default: false }
@@ -6226,7 +6226,7 @@ const _sfc_main$r = defineComponent({
6226
6226
  const _component_el_radio_group = resolveComponent("el-radio-group");
6227
6227
  const _component_el_input_number = resolveComponent("el-input-number");
6228
6228
  const _component_el_button = resolveComponent("el-button");
6229
- return openBlock(), createBlock(_sfc_main$x, {
6229
+ return openBlock(), createBlock(_sfc_main$y, {
6230
6230
  modelValue: visible.value,
6231
6231
  "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => visible.value = $event),
6232
6232
  title: "\u7F16\u8F91\u8868\u683C",
@@ -6275,7 +6275,7 @@ const _sfc_main$r = defineComponent({
6275
6275
  createElementVNode("div", {
6276
6276
  class: normalizeClass(unref(createBEMName)("column-table-wrap"))
6277
6277
  }, [
6278
- createVNode(_sfc_main$s, {
6278
+ createVNode(_sfc_main$t, {
6279
6279
  modelValue: innerEls.value,
6280
6280
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => innerEls.value = $event),
6281
6281
  "item-key": "_key"
@@ -6541,7 +6541,7 @@ var userConfig_vue_vue_type_style_index_1_lang = "";
6541
6541
  const __default__$f = {
6542
6542
  name: "SaveUserConfig"
6543
6543
  };
6544
- const _sfc_main$q = defineComponent({
6544
+ const _sfc_main$r = defineComponent({
6545
6545
  ...__default__$f,
6546
6546
  emits: ["submit", "closed"],
6547
6547
  setup(__props, { expose: __expose, emit: __emit }) {
@@ -6605,7 +6605,7 @@ const _sfc_main$q = defineComponent({
6605
6605
  };
6606
6606
  return (_ctx, _cache) => {
6607
6607
  const _component_el_button = resolveComponent("el-button");
6608
- return openBlock(), createBlock(_sfc_main$x, {
6608
+ return openBlock(), createBlock(_sfc_main$y, {
6609
6609
  modelValue: visible.value,
6610
6610
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => visible.value = $event),
6611
6611
  title: "\u7F16\u8F91\u79C1\u4EBA\u914D\u7F6E",
@@ -6686,7 +6686,7 @@ const _hoisted_2$4 = /* @__PURE__ */ _withScopeId$2(() => /* @__PURE__ */ create
6686
6686
  }, null, -1));
6687
6687
  const _hoisted_3$3 = ["title", "onClick"];
6688
6688
  const _hoisted_4$3 = ["title", "onClick"];
6689
- const _sfc_main$p = defineComponent({
6689
+ const _sfc_main$q = defineComponent({
6690
6690
  __name: "index",
6691
6691
  props: {
6692
6692
  els: {}
@@ -6818,7 +6818,7 @@ const _sfc_main$p = defineComponent({
6818
6818
  createElementVNode("div", {
6819
6819
  class: normalizeClass(unref(createBEMName)("list"))
6820
6820
  }, [
6821
- createVNode(_sfc_main$s, {
6821
+ createVNode(_sfc_main$t, {
6822
6822
  modelValue: innerEls.value,
6823
6823
  "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => innerEls.value = $event),
6824
6824
  class: normalizeClass(unref(BEMSpace)),
@@ -6884,14 +6884,14 @@ const _sfc_main$p = defineComponent({
6884
6884
  _: 1
6885
6885
  })
6886
6886
  ], 2),
6887
- unref(isRenderColumnToolsSetting) ? (openBlock(), createBlock(_sfc_main$r, {
6887
+ unref(isRenderColumnToolsSetting) ? (openBlock(), createBlock(_sfc_main$s, {
6888
6888
  key: 0,
6889
6889
  ref_key: "columnToolsSettingRef",
6890
6890
  ref: columnToolsSettingRef,
6891
6891
  onSubmit: onSubmitColumns,
6892
6892
  onClosed: unref(onColumnToolsSettingClosed)
6893
6893
  }, null, 8, ["onClosed"])) : createCommentVNode("", true),
6894
- unref(isRenderUserConfig) ? (openBlock(), createBlock(_sfc_main$q, {
6894
+ unref(isRenderUserConfig) ? (openBlock(), createBlock(_sfc_main$r, {
6895
6895
  key: 1,
6896
6896
  ref_key: "userConfigRef",
6897
6897
  ref: userConfigRef,
@@ -6902,7 +6902,7 @@ const _sfc_main$p = defineComponent({
6902
6902
  };
6903
6903
  }
6904
6904
  });
6905
- var ColumnTools$1 = /* @__PURE__ */ _export_sfc(_sfc_main$p, [["__scopeId", "data-v-c1518e38"]]);
6905
+ var ColumnTools$1 = /* @__PURE__ */ _export_sfc(_sfc_main$q, [["__scopeId", "data-v-c1518e38"]]);
6906
6906
  var index_vue_vue_type_style_index_0_scoped_true_lang$6 = "";
6907
6907
  const _withScopeId$1 = (n) => (pushScopeId("data-v-3858fcba"), n = n(), popScopeId(), n);
6908
6908
  const _hoisted_1$9 = { key: 0 };
@@ -6912,7 +6912,7 @@ const _hoisted_4$2 = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ create
6912
6912
  const _hoisted_5$1 = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ createElementVNode("div", null, null, -1));
6913
6913
  const _hoisted_6$1 = { class: "export-columns" };
6914
6914
  const _hoisted_7$1 = { class: "bottom-box" };
6915
- const _sfc_main$o = defineComponent({
6915
+ const _sfc_main$p = defineComponent({
6916
6916
  __name: "index",
6917
6917
  emits: ["closed"],
6918
6918
  setup(__props, { expose: __expose, emit: __emit }) {
@@ -7051,7 +7051,7 @@ const _sfc_main$o = defineComponent({
7051
7051
  const _component_el_empty = resolveComponent("el-empty");
7052
7052
  const _component_el_button = resolveComponent("el-button");
7053
7053
  const _directive_loading = resolveDirective("loading");
7054
- return openBlock(), createBlock(_sfc_main$x, {
7054
+ return openBlock(), createBlock(_sfc_main$y, {
7055
7055
  modelValue: visible.value,
7056
7056
  "onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => visible.value = $event),
7057
7057
  title: "\u5BFC\u51FA\u8868\u683C\u6570\u636E",
@@ -7190,7 +7190,7 @@ const _sfc_main$o = defineComponent({
7190
7190
  };
7191
7191
  }
7192
7192
  });
7193
- var ExportForm = /* @__PURE__ */ _export_sfc(_sfc_main$o, [["__scopeId", "data-v-3858fcba"]]);
7193
+ var ExportForm = /* @__PURE__ */ _export_sfc(_sfc_main$p, [["__scopeId", "data-v-3858fcba"]]);
7194
7194
  const SAVE_NAME$2 = "table-columns";
7195
7195
  const columnsSaver$1 = new ConfigSaver(SAVE_NAME$2);
7196
7196
  const saveTableColumns = columnsSaver$1.setContents.bind(columnsSaver$1);
@@ -7201,7 +7201,7 @@ const _hoisted_1$8 = { class: "el-table__empty-data" };
7201
7201
  const __default__$e = {
7202
7202
  name: "EmptyData"
7203
7203
  };
7204
- const _sfc_main$n = defineComponent({
7204
+ const _sfc_main$o = defineComponent({
7205
7205
  ...__default__$e,
7206
7206
  props: {
7207
7207
  text: {}
@@ -7218,16 +7218,15 @@ var index_vue_vue_type_style_index_0_scoped_true_lang$5 = "";
7218
7218
  const __default__$d = {
7219
7219
  name: "SelectionsTable"
7220
7220
  };
7221
- const _sfc_main$m = defineComponent({
7221
+ const _sfc_main$n = defineComponent({
7222
7222
  ...__default__$d,
7223
7223
  emits: ["closed"],
7224
7224
  setup(__props, { expose: __expose, emit: __emit }) {
7225
7225
  const emit = __emit;
7226
- const { BEMSpace } = createBEMSpace("selections-table");
7226
+ const { BEMSpace, createBEMName } = createBEMSpace("selections-table");
7227
7227
  const visible = ref(false);
7228
7228
  const tableManager = ref();
7229
7229
  const pageModelRef = ref();
7230
- console.log("selections-table render");
7231
7230
  let config = defineConfig({
7232
7231
  url: "",
7233
7232
  getImmediate: false,
@@ -7286,7 +7285,7 @@ const _sfc_main$m = defineComponent({
7286
7285
  });
7287
7286
  return (_ctx, _cache) => {
7288
7287
  const _component_el_button = resolveComponent("el-button");
7289
- return openBlock(), createBlock(_sfc_main$x, {
7288
+ return openBlock(), createBlock(_sfc_main$y, {
7290
7289
  modelValue: visible.value,
7291
7290
  "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => visible.value = $event),
7292
7291
  title: "\u5DF2\u9009\u6570\u636E",
@@ -7322,11 +7321,12 @@ const _sfc_main$m = defineComponent({
7322
7321
  class: normalizeClass(unref(BEMSpace))
7323
7322
  }, [
7324
7323
  createVNode(PageModel$1, {
7324
+ class: normalizeClass(unref(createBEMName)("page-model")),
7325
7325
  ref_key: "pageModelRef",
7326
7326
  ref: pageModelRef,
7327
7327
  config: unref(config),
7328
7328
  onRemove: handleRemove
7329
- }, null, 8, ["config"])
7329
+ }, null, 8, ["class", "config"])
7330
7330
  ], 2)) : createCommentVNode("", true)
7331
7331
  ]),
7332
7332
  _: 1
@@ -7334,7 +7334,7 @@ const _sfc_main$m = defineComponent({
7334
7334
  };
7335
7335
  }
7336
7336
  });
7337
- var SelectionsTable = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["__scopeId", "data-v-12384072"]]);
7337
+ var SelectionsTable = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["__scopeId", "data-v-3b4b4ed8"]]);
7338
7338
  const useSelectionsTable = () => {
7339
7339
  const selectionsTableRef = ref();
7340
7340
  const isRenderSelectionsTable = ref(false);
@@ -7500,7 +7500,7 @@ var index_vue_vue_type_style_index_0_scoped_true_lang$4 = "";
7500
7500
  const __default__$c = {
7501
7501
  name: "SimplePopover"
7502
7502
  };
7503
- const _sfc_main$l = defineComponent({
7503
+ const _sfc_main$m = defineComponent({
7504
7504
  ...__default__$c,
7505
7505
  setup(__props, { expose: __expose }) {
7506
7506
  const { BEMSpace } = createBEMSpace("simple-popover");
@@ -7602,7 +7602,25 @@ const _sfc_main$l = defineComponent({
7602
7602
  };
7603
7603
  }
7604
7604
  });
7605
- var SimplePopover = /* @__PURE__ */ _export_sfc(_sfc_main$l, [["__scopeId", "data-v-74838f40"]]);
7605
+ var SimplePopover = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["__scopeId", "data-v-adcb18c2"]]);
7606
+ const _sfc_main$l = {
7607
+ props: {
7608
+ isLoading: {
7609
+ type: Boolean,
7610
+ default: false
7611
+ },
7612
+ directiveName: {
7613
+ type: String,
7614
+ default: "loading"
7615
+ }
7616
+ },
7617
+ render(props) {
7618
+ const slots = useSlots();
7619
+ const _vnode = h("div", slots.default());
7620
+ const loadingDirective = resolveDirective(props.directiveName);
7621
+ return withDirectives(_vnode, [[loadingDirective, props.isLoading]]);
7622
+ }
7623
+ };
7606
7624
  var index_vue_vue_type_style_index_0_lang$5 = "";
7607
7625
  const __default__$b = {
7608
7626
  name: "PageModelTable",
@@ -7777,147 +7795,149 @@ const _sfc_main$k = defineComponent({
7777
7795
  const _component_el_table = resolveComponent("el-table");
7778
7796
  const _component_el_popconfirm = resolveComponent("el-popconfirm");
7779
7797
  const _component_el_pagination = resolveComponent("el-pagination");
7780
- const _directive_loading = resolveDirective("loading");
7781
7798
  return openBlock(), createElementBlock(Fragment, null, [
7782
- createElementVNode("div", {
7783
- class: normalizeClass([unref(createBEMName)("table")])
7784
- }, [
7785
- renderSlot(_ctx.$slots, "table", { data: usedTableData.value }, () => [
7786
- withDirectives((openBlock(), createBlock(_component_el_table, mergeProps({
7787
- ref_key: "tableRef",
7788
- ref: tableRef,
7789
- data: usedTableData.value,
7790
- size: tableManager.size
7791
- }, tableManager.tableProps, toHandlers(tableManager.tableEvents), {
7792
- height: "100%",
7793
- "max-height": "100%",
7794
- "table-layout": "auto"
7795
- }), {
7796
- empty: withCtx(() => {
7797
- var _a, _b;
7798
- return [
7799
- unref(PageModelManager).emptyTableComponent ? (openBlock(), createBlock(resolveDynamicComponent(unref(PageModelManager).emptyTableComponent), {
7800
- key: 0,
7801
- text: (_a = tableManager == null ? void 0 : tableManager.tableProps) == null ? void 0 : _a.emptyText
7802
- }, null, 8, ["text"])) : (openBlock(), createBlock(_sfc_main$n, {
7803
- key: 1,
7804
- text: (_b = tableManager == null ? void 0 : tableManager.tableProps) == null ? void 0 : _b.emptyText
7805
- }, null, 8, ["text"]))
7806
- ];
7807
- }),
7808
- default: withCtx(() => {
7809
- var _a, _b;
7810
- return [
7811
- table.value.showRadio && !table.value.selectable ? (openBlock(), createBlock(_component_el_table_column, {
7812
- key: 0,
7813
- width: "54",
7814
- fixed: "left"
7815
- }, {
7816
- default: withCtx(({ row, $index }) => {
7817
- var _a2;
7818
- return [
7819
- createElementVNode("div", {
7820
- class: normalizeClass(unref(createBEMName)("radio"))
7821
- }, [
7822
- createVNode(_component_el_radio_group, {
7823
- "model-value": (_a2 = tableManager.radioData) == null ? void 0 : _a2[tableManager.rowKey],
7824
- onChange: ($event) => onRadioChange(row)
7825
- }, {
7826
- default: withCtx(() => [
7827
- createVNode(_component_el_radio, {
7828
- label: row[tableManager.rowKey]
7829
- }, null, 8, ["label"])
7830
- ]),
7831
- _: 2
7832
- }, 1032, ["model-value", "onChange"])
7833
- ], 2)
7834
- ];
7835
- }),
7836
- _: 1
7837
- })) : createCommentVNode("", true),
7838
- table.value.showIndex ? (openBlock(), createBlock(_component_el_table_column, {
7839
- key: 1,
7840
- width: "54",
7841
- fixed: "left"
7842
- }, {
7843
- default: withCtx(({ row, $index }) => [
7844
- createElementVNode("div", {
7845
- class: normalizeClass(unref(createBEMName)("index"))
7846
- }, toDisplayString($index + 1), 3)
7847
- ]),
7848
- _: 1
7849
- })) : createCommentVNode("", true),
7850
- table.value.selectable ? (openBlock(), createBlock(_component_el_table_column, {
7851
- key: 2,
7852
- type: "selection",
7853
- fixed: "left",
7854
- width: "54"
7855
- })) : createCommentVNode("", true),
7856
- isOperateFixedLeft.value ? (openBlock(), createElementBlock(Fragment, { key: 3 }, [
7857
- table.value.operate && ((_a = table.value.operate.els) == null ? void 0 : _a.length) ? (openBlock(), createBlock(_component_el_table_column, mergeProps({
7799
+ createVNode(_sfc_main$l, {
7800
+ class: normalizeClass([unref(createBEMName)("table")]),
7801
+ isLoading: tableManager.loadingData,
7802
+ directiveName: table.value.loadingDirectiveName
7803
+ }, {
7804
+ default: withCtx(() => [
7805
+ renderSlot(_ctx.$slots, "table", { data: usedTableData.value }, () => [
7806
+ createVNode(_component_el_table, mergeProps({
7807
+ ref_key: "tableRef",
7808
+ ref: tableRef,
7809
+ data: usedTableData.value,
7810
+ size: tableManager.size
7811
+ }, tableManager.tableProps, toHandlers(tableManager.tableEvents), {
7812
+ height: "100%",
7813
+ "max-height": "100%",
7814
+ "table-layout": "auto"
7815
+ }), {
7816
+ empty: withCtx(() => {
7817
+ var _a, _b;
7818
+ return [
7819
+ unref(PageModelManager).emptyTableComponent ? (openBlock(), createBlock(resolveDynamicComponent(unref(PageModelManager).emptyTableComponent), {
7858
7820
  key: 0,
7859
- label: "\u64CD\u4F5C",
7860
- width: table.value.operate.width
7861
- }, table.value.operate.props), {
7862
- default: withCtx(({ row, $index }) => [
7863
- table.value.filterable && $index === 0 ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [], 64)) : (openBlock(), createBlock(_sfc_main$B, mergeProps({
7864
- key: 1,
7865
- els: table.value.operate.els,
7866
- context: tableManager,
7867
- executeData: [row, $index]
7868
- }, _ctx.$attrs), null, 16, ["els", "context", "executeData"]))
7869
- ]),
7870
- _: 1
7871
- }, 16, ["width"])) : createCommentVNode("", true)
7872
- ], 64)) : createCommentVNode("", true),
7873
- createVNode(_sfc_main$t, {
7874
- els: renderedTableEls.value,
7875
- context: tableManager
7876
- }, null, 8, ["els", "context"]),
7877
- !isOperateFixedLeft.value ? (openBlock(), createElementBlock(Fragment, { key: 4 }, [
7878
- table.value.operate && ((_b = table.value.operate.els) == null ? void 0 : _b.length) ? (openBlock(), createBlock(_component_el_table_column, mergeProps({
7821
+ text: (_a = tableManager == null ? void 0 : tableManager.tableProps) == null ? void 0 : _a.emptyText
7822
+ }, null, 8, ["text"])) : (openBlock(), createBlock(_sfc_main$o, {
7823
+ key: 1,
7824
+ text: (_b = tableManager == null ? void 0 : tableManager.tableProps) == null ? void 0 : _b.emptyText
7825
+ }, null, 8, ["text"]))
7826
+ ];
7827
+ }),
7828
+ default: withCtx(() => {
7829
+ var _a, _b;
7830
+ return [
7831
+ table.value.showRadio && !table.value.selectable ? (openBlock(), createBlock(_component_el_table_column, {
7879
7832
  key: 0,
7880
- label: "\u64CD\u4F5C",
7881
- width: table.value.operate.width
7882
- }, table.value.operate.props), {
7833
+ width: "54",
7834
+ fixed: "left"
7835
+ }, {
7836
+ default: withCtx(({ row, $index }) => {
7837
+ var _a2;
7838
+ return [
7839
+ createElementVNode("div", {
7840
+ class: normalizeClass(unref(createBEMName)("radio"))
7841
+ }, [
7842
+ createVNode(_component_el_radio_group, {
7843
+ "model-value": (_a2 = tableManager.radioData) == null ? void 0 : _a2[tableManager.rowKey],
7844
+ onChange: ($event) => onRadioChange(row)
7845
+ }, {
7846
+ default: withCtx(() => [
7847
+ createVNode(_component_el_radio, {
7848
+ label: row[tableManager.rowKey]
7849
+ }, null, 8, ["label"])
7850
+ ]),
7851
+ _: 2
7852
+ }, 1032, ["model-value", "onChange"])
7853
+ ], 2)
7854
+ ];
7855
+ }),
7856
+ _: 1
7857
+ })) : createCommentVNode("", true),
7858
+ table.value.showIndex ? (openBlock(), createBlock(_component_el_table_column, {
7859
+ key: 1,
7860
+ width: "54",
7861
+ fixed: "left"
7862
+ }, {
7883
7863
  default: withCtx(({ row, $index }) => [
7884
- table.value.filterable && $index === 0 ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [], 64)) : (openBlock(), createBlock(_sfc_main$B, mergeProps({
7885
- key: 1,
7886
- els: table.value.operate.els,
7887
- context: tableManager,
7888
- executeData: [row, $index]
7889
- }, _ctx.$attrs), null, 16, ["els", "context", "executeData"]))
7864
+ createElementVNode("div", {
7865
+ class: normalizeClass(unref(createBEMName)("index"))
7866
+ }, toDisplayString($index + 1), 3)
7890
7867
  ]),
7891
7868
  _: 1
7892
- }, 16, ["width"])) : createCommentVNode("", true)
7893
- ], 64)) : createCommentVNode("", true),
7894
- table.value.showTools ? (openBlock(), createBlock(_component_el_table_column, {
7895
- key: 5,
7896
- width: "44",
7897
- fixed: "right"
7898
- }, {
7899
- header: withCtx(() => [
7900
- createVNode(_component_el_icon, {
7901
- size: "16px",
7902
- class: normalizeClass(unref(createBEMName)("tools")),
7903
- onClick: _cache[0] || (_cache[0] = ($event) => showSimplePopover($event.currentTarget))
7904
- }, {
7905
- default: withCtx(() => [
7906
- createVNode(unref(tools))
7869
+ })) : createCommentVNode("", true),
7870
+ table.value.selectable ? (openBlock(), createBlock(_component_el_table_column, {
7871
+ key: 2,
7872
+ type: "selection",
7873
+ fixed: "left",
7874
+ width: "54"
7875
+ })) : createCommentVNode("", true),
7876
+ isOperateFixedLeft.value ? (openBlock(), createElementBlock(Fragment, { key: 3 }, [
7877
+ table.value.operate && ((_a = table.value.operate.els) == null ? void 0 : _a.length) ? (openBlock(), createBlock(_component_el_table_column, mergeProps({
7878
+ key: 0,
7879
+ label: "\u64CD\u4F5C",
7880
+ width: table.value.operate.width
7881
+ }, table.value.operate.props), {
7882
+ default: withCtx(({ row, $index }) => [
7883
+ table.value.filterable && $index === 0 ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [], 64)) : (openBlock(), createBlock(_sfc_main$C, mergeProps({
7884
+ key: 1,
7885
+ els: table.value.operate.els,
7886
+ context: tableManager,
7887
+ executeData: [row, $index]
7888
+ }, _ctx.$attrs), null, 16, ["els", "context", "executeData"]))
7907
7889
  ]),
7908
7890
  _: 1
7909
- }, 8, ["class"])
7910
- ]),
7911
- _: 1
7912
- })) : createCommentVNode("", true)
7913
- ];
7914
- }),
7915
- _: 1
7916
- }, 16, ["data", "size"])), [
7917
- [_directive_loading, tableManager.loadingData]
7891
+ }, 16, ["width"])) : createCommentVNode("", true)
7892
+ ], 64)) : createCommentVNode("", true),
7893
+ createVNode(_sfc_main$u, {
7894
+ els: renderedTableEls.value,
7895
+ context: tableManager
7896
+ }, null, 8, ["els", "context"]),
7897
+ !isOperateFixedLeft.value ? (openBlock(), createElementBlock(Fragment, { key: 4 }, [
7898
+ table.value.operate && ((_b = table.value.operate.els) == null ? void 0 : _b.length) ? (openBlock(), createBlock(_component_el_table_column, mergeProps({
7899
+ key: 0,
7900
+ label: "\u64CD\u4F5C",
7901
+ width: table.value.operate.width
7902
+ }, table.value.operate.props), {
7903
+ default: withCtx(({ row, $index }) => [
7904
+ table.value.filterable && $index === 0 ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [], 64)) : (openBlock(), createBlock(_sfc_main$C, mergeProps({
7905
+ key: 1,
7906
+ els: table.value.operate.els,
7907
+ context: tableManager,
7908
+ executeData: [row, $index]
7909
+ }, _ctx.$attrs), null, 16, ["els", "context", "executeData"]))
7910
+ ]),
7911
+ _: 1
7912
+ }, 16, ["width"])) : createCommentVNode("", true)
7913
+ ], 64)) : createCommentVNode("", true),
7914
+ table.value.showTools ? (openBlock(), createBlock(_component_el_table_column, {
7915
+ key: 5,
7916
+ width: "44",
7917
+ fixed: "right"
7918
+ }, {
7919
+ header: withCtx(() => [
7920
+ createVNode(_component_el_icon, {
7921
+ size: "16px",
7922
+ class: normalizeClass(unref(createBEMName)("tools")),
7923
+ onClick: _cache[0] || (_cache[0] = ($event) => showSimplePopover($event.currentTarget))
7924
+ }, {
7925
+ default: withCtx(() => [
7926
+ createVNode(unref(tools))
7927
+ ]),
7928
+ _: 1
7929
+ }, 8, ["class"])
7930
+ ]),
7931
+ _: 1
7932
+ })) : createCommentVNode("", true)
7933
+ ];
7934
+ }),
7935
+ _: 1
7936
+ }, 16, ["data", "size"])
7918
7937
  ])
7919
- ])
7920
- ], 2),
7938
+ ]),
7939
+ _: 3
7940
+ }, 8, ["class", "isLoading", "directiveName"]),
7921
7941
  renderSlot(_ctx.$slots, "sum", {
7922
7942
  data: tableManager.tableData
7923
7943
  }),
@@ -8640,7 +8660,7 @@ const _sfc_main$e = defineComponent({
8640
8660
  const _component_el_tab_pane = resolveComponent("el-tab-pane");
8641
8661
  const _component_el_tabs = resolveComponent("el-tabs");
8642
8662
  const _component_el_button = resolveComponent("el-button");
8643
- return openBlock(), createBlock(_sfc_main$x, {
8663
+ return openBlock(), createBlock(_sfc_main$y, {
8644
8664
  modelValue: visible.value,
8645
8665
  "onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => visible.value = $event),
8646
8666
  title: "\u8868\u5355\u914D\u7F6E",
@@ -8706,7 +8726,7 @@ const _sfc_main$e = defineComponent({
8706
8726
  ], 2);
8707
8727
  }), 128))
8708
8728
  ], 2),
8709
- createVNode(_sfc_main$s, {
8729
+ createVNode(_sfc_main$t, {
8710
8730
  modelValue: innerEls.value,
8711
8731
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => innerEls.value = $event),
8712
8732
  "item-key": "_key"
@@ -9066,7 +9086,7 @@ const _sfc_main$d = defineComponent({
9066
9086
  key: 0,
9067
9087
  class: normalizeClass(unref(createBEMName)("prefix"))
9068
9088
  }, toDisplayString(renderDeText(item.prefix, formManager.formData)), 3)) : createCommentVNode("", true),
9069
- createVNode(_sfc_main$y, {
9089
+ createVNode(_sfc_main$z, {
9070
9090
  modelValue: formManager.formData[item.prop],
9071
9091
  renderFn: item.renderFn,
9072
9092
  context: formManager,
@@ -9169,7 +9189,7 @@ const _sfc_main$c = defineComponent({
9169
9189
  });
9170
9190
  return (_ctx, _cache) => {
9171
9191
  const _component_el_button = resolveComponent("el-button");
9172
- return formVisible.value ? (openBlock(), createBlock(_sfc_main$x, {
9192
+ return formVisible.value ? (openBlock(), createBlock(_sfc_main$y, {
9173
9193
  key: 0,
9174
9194
  modelValue: formVisible.value,
9175
9195
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => formVisible.value = $event),
@@ -10128,7 +10148,6 @@ const _sfc_main$5 = defineComponent({
10128
10148
  emit("fullscreen");
10129
10149
  };
10130
10150
  const handleShowColumnTool = (e) => {
10131
- console.log(e.currentTarget);
10132
10151
  emit("show-column-tool", e.currentTarget);
10133
10152
  };
10134
10153
  return (_ctx, _cache) => {
@@ -10177,7 +10196,7 @@ const _sfc_main$5 = defineComponent({
10177
10196
  };
10178
10197
  }
10179
10198
  });
10180
- var TableToolsbox = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["__scopeId", "data-v-3f0ce9d6"]]);
10199
+ var TableToolsbox = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["__scopeId", "data-v-7df58703"]]);
10181
10200
  function patchConfig(config, patches) {
10182
10201
  return patches.reduce((memoConfig, patchFn) => {
10183
10202
  return patchFn.call(this, memoConfig);
@@ -10739,7 +10758,7 @@ const _sfc_main$4 = defineComponent({
10739
10758
  key: 0,
10740
10759
  class: normalizeClass(unref(createBEMName)("top-tabs"))
10741
10760
  }, [
10742
- hasTabs.value ? (openBlock(), createBlock(_sfc_main$W, {
10761
+ hasTabs.value ? (openBlock(), createBlock(_sfc_main$X, {
10743
10762
  key: 0,
10744
10763
  tabs: uConfig.value.tabs,
10745
10764
  manager,
@@ -10754,7 +10773,7 @@ const _sfc_main$4 = defineComponent({
10754
10773
  key: 1,
10755
10774
  class: normalizeClass(unref(createBEMName)("holding-tab"))
10756
10775
  }, null, 2)),
10757
- uConfig.value.action ? (openBlock(), createBlock(_sfc_main$z, {
10776
+ uConfig.value.action ? (openBlock(), createBlock(_sfc_main$A, {
10758
10777
  key: 2,
10759
10778
  action: uConfig.value.action,
10760
10779
  manager,
@@ -10770,7 +10789,7 @@ const _sfc_main$4 = defineComponent({
10770
10789
  key: 1,
10771
10790
  class: normalizeClass(unref(createBEMName)("search"))
10772
10791
  }, [
10773
- createVNode(_sfc_main$v, {
10792
+ createVNode(_sfc_main$w, {
10774
10793
  ref_key: "searchFormRef",
10775
10794
  ref: searchFormRef,
10776
10795
  manager
@@ -10793,7 +10812,7 @@ const _sfc_main$4 = defineComponent({
10793
10812
  }, [
10794
10813
  createVNode(_component_el_scrollbar, null, {
10795
10814
  default: withCtx(() => [
10796
- hasSelectableActions.value ? (openBlock(), createBlock(_sfc_main$A, {
10815
+ hasSelectableActions.value ? (openBlock(), createBlock(_sfc_main$B, {
10797
10816
  key: 0,
10798
10817
  els: manager.config.table.selectableButtons,
10799
10818
  tableManager: manager.tableManager,
@@ -11018,7 +11037,7 @@ const _sfc_main$2 = defineComponent({
11018
11037
  const _component_el_radio_button = resolveComponent("el-radio-button");
11019
11038
  const _component_el_radio_group = resolveComponent("el-radio-group");
11020
11039
  const _component_el_button = resolveComponent("el-button");
11021
- return openBlock(), createBlock(_sfc_main$x, {
11040
+ return openBlock(), createBlock(_sfc_main$y, {
11022
11041
  modelValue: visible.value,
11023
11042
  "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => visible.value = $event),
11024
11043
  title: "\u7F16\u8F91\u8868\u683C",
@@ -11061,7 +11080,7 @@ const _sfc_main$2 = defineComponent({
11061
11080
  ], 2);
11062
11081
  }), 128))
11063
11082
  ], 2),
11064
- createVNode(_sfc_main$s, {
11083
+ createVNode(_sfc_main$t, {
11065
11084
  modelValue: innerEls.value,
11066
11085
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => innerEls.value = $event),
11067
11086
  "item-key": "_key"
@@ -11225,7 +11244,7 @@ const _sfc_main$1 = defineComponent({
11225
11244
  createElementVNode("div", {
11226
11245
  class: normalizeClass(unref(createBEMName)("list"))
11227
11246
  }, [
11228
- createVNode(_sfc_main$s, {
11247
+ createVNode(_sfc_main$t, {
11229
11248
  modelValue: innerEls.value,
11230
11249
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => innerEls.value = $event),
11231
11250
  class: normalizeClass(unref(BEMSpace)),
@@ -11688,7 +11707,7 @@ const _sfc_main = defineComponent({
11688
11707
  }, {
11689
11708
  default: withCtx(() => [
11690
11709
  _ctx.alwaysShowEdit || isCurrentRowFocus($index) ? (openBlock(), createElementBlock("div", _hoisted_5, [
11691
- createVNode(_sfc_main$u, {
11710
+ createVNode(_sfc_main$v, {
11692
11711
  "render-fn": column.renderFn,
11693
11712
  pure: "",
11694
11713
  row,
@@ -11742,7 +11761,7 @@ const _sfc_main = defineComponent({
11742
11761
  }, 16, ["data"]),
11743
11762
  bottomActions.value.length || hasSlots.value ? (openBlock(), createElementBlock("div", _hoisted_7, [
11744
11763
  renderSlot(_ctx.$slots, "action-prefix", {}, void 0, true),
11745
- createVNode(_sfc_main$B, {
11764
+ createVNode(_sfc_main$C, {
11746
11765
  els: bottomActions.value,
11747
11766
  onCustom: handleBottomActionsEvent
11748
11767
  }, null, 8, ["els"]),
@@ -11758,7 +11777,7 @@ const defineEditableTable = function(config) {
11758
11777
  };
11759
11778
  var iconfont = "";
11760
11779
  const name = "@juzhenfe/page-model";
11761
- const version = "3.9.47";
11780
+ const version = "3.9.49";
11762
11781
  const types = "dist/main.d.ts";
11763
11782
  const main = "dist/index.umd.js";
11764
11783
  const keywords = [
@@ -11838,4 +11857,4 @@ const ModelComponent = {
11838
11857
  saveTableColumns(content);
11839
11858
  }
11840
11859
  };
11841
- export { _sfc_main$B as ButtonsRenderer, index as EditableTable, _sfc_main$x as FormDialog, _sfc_main$a as FormDrawer, PageModelForm, _sfc_main$u as TableCellRenderer, _sfc_main$r as TableColumnSetting, columnTools, ModelComponent as default, defineConfig, defineEditableTable, defineForm, patchFilterCreator as useFilter, patchScenesCreator as useScene };
11860
+ export { _sfc_main$C as ButtonsRenderer, index as EditableTable, _sfc_main$y as FormDialog, _sfc_main$a as FormDrawer, PageModelForm, _sfc_main$v as TableCellRenderer, _sfc_main$s as TableColumnSetting, columnTools, ModelComponent as default, defineConfig, defineEditableTable, defineForm, patchFilterCreator as useFilter, patchScenesCreator as useScene };