@juzhenfe/page-model 3.14.3 → 3.14.4
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/components/column-filter-tools/index.vue.d.ts +122 -0
- package/dist/components/simple-popover/index.vue.d.ts +11 -0
- package/dist/components/table/components/table-column/components/filter-zone/index.vue.d.ts +7 -0
- package/dist/components/table/components/table-column/index.vue.d.ts +18 -3
- package/dist/components/table/constructor.d.ts +8 -1
- package/dist/components/table/type.d.ts +1 -1
- package/dist/components/table-toolsbox/index.vue.d.ts +7 -0
- package/dist/index.es.js +598 -155
- package/dist/index.min.css +1 -1
- package/dist/index.umd.js +3 -3
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -185,7 +185,7 @@ const _hoisted_1$z = { class: "scenes-tab" };
|
|
|
185
185
|
const __default__$o = {
|
|
186
186
|
name: "ScenesTab"
|
|
187
187
|
};
|
|
188
|
-
const _sfc_main
|
|
188
|
+
const _sfc_main$$ = defineComponent({
|
|
189
189
|
...__default__$o,
|
|
190
190
|
setup(__props, { expose: __expose }) {
|
|
191
191
|
const getValue2 = () => {
|
|
@@ -203,7 +203,7 @@ var index_vue_vue_type_style_index_0_lang$d = "";
|
|
|
203
203
|
const __default__$n = {
|
|
204
204
|
name: "NormalTab"
|
|
205
205
|
};
|
|
206
|
-
const _sfc_main$
|
|
206
|
+
const _sfc_main$_ = defineComponent({
|
|
207
207
|
...__default__$n,
|
|
208
208
|
props: {
|
|
209
209
|
panes: {},
|
|
@@ -1656,7 +1656,7 @@ var index_vue_vue_type_style_index_0_lang$c = "";
|
|
|
1656
1656
|
const __default__$m = {
|
|
1657
1657
|
name: "TopTabs"
|
|
1658
1658
|
};
|
|
1659
|
-
const _sfc_main$
|
|
1659
|
+
const _sfc_main$Z = defineComponent({
|
|
1660
1660
|
...__default__$m,
|
|
1661
1661
|
props: {
|
|
1662
1662
|
tabs: {},
|
|
@@ -1677,12 +1677,12 @@ const _sfc_main$Y = defineComponent({
|
|
|
1677
1677
|
const tabComponent = computed(() => {
|
|
1678
1678
|
if (props.tabs.useScene) {
|
|
1679
1679
|
return {
|
|
1680
|
-
component: _sfc_main
|
|
1680
|
+
component: _sfc_main$$,
|
|
1681
1681
|
props: props.tabs.sceneTab
|
|
1682
1682
|
};
|
|
1683
1683
|
} else {
|
|
1684
1684
|
return {
|
|
1685
|
-
component: _sfc_main$
|
|
1685
|
+
component: _sfc_main$_,
|
|
1686
1686
|
props: {
|
|
1687
1687
|
panes: props.tabs.panes,
|
|
1688
1688
|
props: props.tabs.props
|
|
@@ -2306,7 +2306,7 @@ var _export_sfc$1 = (sfc, props) => {
|
|
|
2306
2306
|
}
|
|
2307
2307
|
return target;
|
|
2308
2308
|
};
|
|
2309
|
-
const _sfc_main$
|
|
2309
|
+
const _sfc_main$Y = defineComponent({
|
|
2310
2310
|
name: "ArrowDownBold"
|
|
2311
2311
|
});
|
|
2312
2312
|
const _hoisted_1$y = {
|
|
@@ -2326,8 +2326,8 @@ const _hoisted_3$o = [
|
|
|
2326
2326
|
function _sfc_render$j(_ctx, _cache, $props, $setup, $data, $options) {
|
|
2327
2327
|
return openBlock(), createElementBlock("svg", _hoisted_1$y, _hoisted_3$o);
|
|
2328
2328
|
}
|
|
2329
|
-
var arrowDownBold = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
2330
|
-
const _sfc_main$
|
|
2329
|
+
var arrowDownBold = /* @__PURE__ */ _export_sfc$1(_sfc_main$Y, [["render", _sfc_render$j]]);
|
|
2330
|
+
const _sfc_main$X = defineComponent({
|
|
2331
2331
|
name: "ArrowDown"
|
|
2332
2332
|
});
|
|
2333
2333
|
const _hoisted_1$x = {
|
|
@@ -2347,8 +2347,8 @@ const _hoisted_3$n = [
|
|
|
2347
2347
|
function _sfc_render$i(_ctx, _cache, $props, $setup, $data, $options) {
|
|
2348
2348
|
return openBlock(), createElementBlock("svg", _hoisted_1$x, _hoisted_3$n);
|
|
2349
2349
|
}
|
|
2350
|
-
var arrowDown = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
2351
|
-
const _sfc_main$
|
|
2350
|
+
var arrowDown = /* @__PURE__ */ _export_sfc$1(_sfc_main$X, [["render", _sfc_render$i]]);
|
|
2351
|
+
const _sfc_main$W = defineComponent({
|
|
2352
2352
|
name: "CaretBottom"
|
|
2353
2353
|
});
|
|
2354
2354
|
const _hoisted_1$w = {
|
|
@@ -2368,8 +2368,8 @@ const _hoisted_3$m = [
|
|
|
2368
2368
|
function _sfc_render$h(_ctx, _cache, $props, $setup, $data, $options) {
|
|
2369
2369
|
return openBlock(), createElementBlock("svg", _hoisted_1$w, _hoisted_3$m);
|
|
2370
2370
|
}
|
|
2371
|
-
var caretBottom = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
2372
|
-
const _sfc_main$
|
|
2371
|
+
var caretBottom = /* @__PURE__ */ _export_sfc$1(_sfc_main$W, [["render", _sfc_render$h]]);
|
|
2372
|
+
const _sfc_main$V = defineComponent({
|
|
2373
2373
|
name: "CaretRight"
|
|
2374
2374
|
});
|
|
2375
2375
|
const _hoisted_1$v = {
|
|
@@ -2389,8 +2389,8 @@ const _hoisted_3$l = [
|
|
|
2389
2389
|
function _sfc_render$g(_ctx, _cache, $props, $setup, $data, $options) {
|
|
2390
2390
|
return openBlock(), createElementBlock("svg", _hoisted_1$v, _hoisted_3$l);
|
|
2391
2391
|
}
|
|
2392
|
-
var caretRight = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
2393
|
-
const _sfc_main$
|
|
2392
|
+
var caretRight = /* @__PURE__ */ _export_sfc$1(_sfc_main$V, [["render", _sfc_render$g]]);
|
|
2393
|
+
const _sfc_main$U = defineComponent({
|
|
2394
2394
|
name: "CaretTop"
|
|
2395
2395
|
});
|
|
2396
2396
|
const _hoisted_1$u = {
|
|
@@ -2410,8 +2410,8 @@ const _hoisted_3$k = [
|
|
|
2410
2410
|
function _sfc_render$f(_ctx, _cache, $props, $setup, $data, $options) {
|
|
2411
2411
|
return openBlock(), createElementBlock("svg", _hoisted_1$u, _hoisted_3$k);
|
|
2412
2412
|
}
|
|
2413
|
-
var caretTop = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
2414
|
-
const _sfc_main$
|
|
2413
|
+
var caretTop = /* @__PURE__ */ _export_sfc$1(_sfc_main$U, [["render", _sfc_render$f]]);
|
|
2414
|
+
const _sfc_main$T = defineComponent({
|
|
2415
2415
|
name: "CirclePlusFilled"
|
|
2416
2416
|
});
|
|
2417
2417
|
const _hoisted_1$t = {
|
|
@@ -2431,8 +2431,8 @@ const _hoisted_3$j = [
|
|
|
2431
2431
|
function _sfc_render$e(_ctx, _cache, $props, $setup, $data, $options) {
|
|
2432
2432
|
return openBlock(), createElementBlock("svg", _hoisted_1$t, _hoisted_3$j);
|
|
2433
2433
|
}
|
|
2434
|
-
var circlePlusFilled = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
2435
|
-
const _sfc_main$
|
|
2434
|
+
var circlePlusFilled = /* @__PURE__ */ _export_sfc$1(_sfc_main$T, [["render", _sfc_render$e]]);
|
|
2435
|
+
const _sfc_main$S = defineComponent({
|
|
2436
2436
|
name: "CirclePlus"
|
|
2437
2437
|
});
|
|
2438
2438
|
const _hoisted_1$s = {
|
|
@@ -2462,8 +2462,8 @@ const _hoisted_5$4 = [
|
|
|
2462
2462
|
function _sfc_render$d(_ctx, _cache, $props, $setup, $data, $options) {
|
|
2463
2463
|
return openBlock(), createElementBlock("svg", _hoisted_1$s, _hoisted_5$4);
|
|
2464
2464
|
}
|
|
2465
|
-
var circlePlus = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
2466
|
-
const _sfc_main$
|
|
2465
|
+
var circlePlus = /* @__PURE__ */ _export_sfc$1(_sfc_main$S, [["render", _sfc_render$d]]);
|
|
2466
|
+
const _sfc_main$R = defineComponent({
|
|
2467
2467
|
name: "Download"
|
|
2468
2468
|
});
|
|
2469
2469
|
const _hoisted_1$r = {
|
|
@@ -2483,8 +2483,8 @@ const _hoisted_3$h = [
|
|
|
2483
2483
|
function _sfc_render$c(_ctx, _cache, $props, $setup, $data, $options) {
|
|
2484
2484
|
return openBlock(), createElementBlock("svg", _hoisted_1$r, _hoisted_3$h);
|
|
2485
2485
|
}
|
|
2486
|
-
var download = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
2487
|
-
const _sfc_main$
|
|
2486
|
+
var download = /* @__PURE__ */ _export_sfc$1(_sfc_main$R, [["render", _sfc_render$c]]);
|
|
2487
|
+
const _sfc_main$Q = defineComponent({
|
|
2488
2488
|
name: "Edit"
|
|
2489
2489
|
});
|
|
2490
2490
|
const _hoisted_1$q = {
|
|
@@ -2509,8 +2509,8 @@ const _hoisted_4$6 = [
|
|
|
2509
2509
|
function _sfc_render$b(_ctx, _cache, $props, $setup, $data, $options) {
|
|
2510
2510
|
return openBlock(), createElementBlock("svg", _hoisted_1$q, _hoisted_4$6);
|
|
2511
2511
|
}
|
|
2512
|
-
var edit = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
2513
|
-
const _sfc_main$
|
|
2512
|
+
var edit = /* @__PURE__ */ _export_sfc$1(_sfc_main$Q, [["render", _sfc_render$b]]);
|
|
2513
|
+
const _sfc_main$P = defineComponent({
|
|
2514
2514
|
name: "Filter"
|
|
2515
2515
|
});
|
|
2516
2516
|
const _hoisted_1$p = {
|
|
@@ -2530,8 +2530,8 @@ const _hoisted_3$f = [
|
|
|
2530
2530
|
function _sfc_render$a(_ctx, _cache, $props, $setup, $data, $options) {
|
|
2531
2531
|
return openBlock(), createElementBlock("svg", _hoisted_1$p, _hoisted_3$f);
|
|
2532
2532
|
}
|
|
2533
|
-
var filter = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
2534
|
-
const _sfc_main$
|
|
2533
|
+
var filter = /* @__PURE__ */ _export_sfc$1(_sfc_main$P, [["render", _sfc_render$a]]);
|
|
2534
|
+
const _sfc_main$O = defineComponent({
|
|
2535
2535
|
name: "FullScreen"
|
|
2536
2536
|
});
|
|
2537
2537
|
const _hoisted_1$o = {
|
|
@@ -2551,8 +2551,8 @@ const _hoisted_3$e = [
|
|
|
2551
2551
|
function _sfc_render$9(_ctx, _cache, $props, $setup, $data, $options) {
|
|
2552
2552
|
return openBlock(), createElementBlock("svg", _hoisted_1$o, _hoisted_3$e);
|
|
2553
2553
|
}
|
|
2554
|
-
var fullScreen = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
2555
|
-
const _sfc_main$
|
|
2554
|
+
var fullScreen = /* @__PURE__ */ _export_sfc$1(_sfc_main$O, [["render", _sfc_render$9]]);
|
|
2555
|
+
const _sfc_main$N = defineComponent({
|
|
2556
2556
|
name: "Grid"
|
|
2557
2557
|
});
|
|
2558
2558
|
const _hoisted_1$n = {
|
|
@@ -2572,8 +2572,8 @@ const _hoisted_3$d = [
|
|
|
2572
2572
|
function _sfc_render$8(_ctx, _cache, $props, $setup, $data, $options) {
|
|
2573
2573
|
return openBlock(), createElementBlock("svg", _hoisted_1$n, _hoisted_3$d);
|
|
2574
2574
|
}
|
|
2575
|
-
var grid = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
2576
|
-
const _sfc_main$
|
|
2575
|
+
var grid = /* @__PURE__ */ _export_sfc$1(_sfc_main$N, [["render", _sfc_render$8]]);
|
|
2576
|
+
const _sfc_main$M = defineComponent({
|
|
2577
2577
|
name: "Loading"
|
|
2578
2578
|
});
|
|
2579
2579
|
const _hoisted_1$m = {
|
|
@@ -2593,8 +2593,8 @@ const _hoisted_3$c = [
|
|
|
2593
2593
|
function _sfc_render$7(_ctx, _cache, $props, $setup, $data, $options) {
|
|
2594
2594
|
return openBlock(), createElementBlock("svg", _hoisted_1$m, _hoisted_3$c);
|
|
2595
2595
|
}
|
|
2596
|
-
var loading = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
2597
|
-
const _sfc_main$
|
|
2596
|
+
var loading = /* @__PURE__ */ _export_sfc$1(_sfc_main$M, [["render", _sfc_render$7]]);
|
|
2597
|
+
const _sfc_main$L = defineComponent({
|
|
2598
2598
|
name: "Menu"
|
|
2599
2599
|
});
|
|
2600
2600
|
const _hoisted_1$l = {
|
|
@@ -2614,8 +2614,8 @@ const _hoisted_3$b = [
|
|
|
2614
2614
|
function _sfc_render$6(_ctx, _cache, $props, $setup, $data, $options) {
|
|
2615
2615
|
return openBlock(), createElementBlock("svg", _hoisted_1$l, _hoisted_3$b);
|
|
2616
2616
|
}
|
|
2617
|
-
var menu = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
2618
|
-
const _sfc_main$
|
|
2617
|
+
var menu = /* @__PURE__ */ _export_sfc$1(_sfc_main$L, [["render", _sfc_render$6]]);
|
|
2618
|
+
const _sfc_main$K = defineComponent({
|
|
2619
2619
|
name: "QuestionFilled"
|
|
2620
2620
|
});
|
|
2621
2621
|
const _hoisted_1$k = {
|
|
@@ -2635,8 +2635,8 @@ const _hoisted_3$a = [
|
|
|
2635
2635
|
function _sfc_render$5(_ctx, _cache, $props, $setup, $data, $options) {
|
|
2636
2636
|
return openBlock(), createElementBlock("svg", _hoisted_1$k, _hoisted_3$a);
|
|
2637
2637
|
}
|
|
2638
|
-
var questionFilled = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
2639
|
-
const _sfc_main$
|
|
2638
|
+
var questionFilled = /* @__PURE__ */ _export_sfc$1(_sfc_main$K, [["render", _sfc_render$5]]);
|
|
2639
|
+
const _sfc_main$J = defineComponent({
|
|
2640
2640
|
name: "RefreshLeft"
|
|
2641
2641
|
});
|
|
2642
2642
|
const _hoisted_1$j = {
|
|
@@ -2656,8 +2656,8 @@ const _hoisted_3$9 = [
|
|
|
2656
2656
|
function _sfc_render$4(_ctx, _cache, $props, $setup, $data, $options) {
|
|
2657
2657
|
return openBlock(), createElementBlock("svg", _hoisted_1$j, _hoisted_3$9);
|
|
2658
2658
|
}
|
|
2659
|
-
var refreshLeft = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
2660
|
-
const _sfc_main$
|
|
2659
|
+
var refreshLeft = /* @__PURE__ */ _export_sfc$1(_sfc_main$J, [["render", _sfc_render$4]]);
|
|
2660
|
+
const _sfc_main$I = defineComponent({
|
|
2661
2661
|
name: "RemoveFilled"
|
|
2662
2662
|
});
|
|
2663
2663
|
const _hoisted_1$i = {
|
|
@@ -2677,8 +2677,8 @@ const _hoisted_3$8 = [
|
|
|
2677
2677
|
function _sfc_render$3(_ctx, _cache, $props, $setup, $data, $options) {
|
|
2678
2678
|
return openBlock(), createElementBlock("svg", _hoisted_1$i, _hoisted_3$8);
|
|
2679
2679
|
}
|
|
2680
|
-
var removeFilled = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
2681
|
-
const _sfc_main$
|
|
2680
|
+
var removeFilled = /* @__PURE__ */ _export_sfc$1(_sfc_main$I, [["render", _sfc_render$3]]);
|
|
2681
|
+
const _sfc_main$H = defineComponent({
|
|
2682
2682
|
name: "Remove"
|
|
2683
2683
|
});
|
|
2684
2684
|
const _hoisted_1$h = {
|
|
@@ -2703,8 +2703,8 @@ const _hoisted_4$5 = [
|
|
|
2703
2703
|
function _sfc_render$2(_ctx, _cache, $props, $setup, $data, $options) {
|
|
2704
2704
|
return openBlock(), createElementBlock("svg", _hoisted_1$h, _hoisted_4$5);
|
|
2705
2705
|
}
|
|
2706
|
-
var remove = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
2707
|
-
const _sfc_main$
|
|
2706
|
+
var remove = /* @__PURE__ */ _export_sfc$1(_sfc_main$H, [["render", _sfc_render$2]]);
|
|
2707
|
+
const _sfc_main$G = defineComponent({
|
|
2708
2708
|
name: "Select"
|
|
2709
2709
|
});
|
|
2710
2710
|
const _hoisted_1$g = {
|
|
@@ -2724,8 +2724,8 @@ const _hoisted_3$6 = [
|
|
|
2724
2724
|
function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
|
|
2725
2725
|
return openBlock(), createElementBlock("svg", _hoisted_1$g, _hoisted_3$6);
|
|
2726
2726
|
}
|
|
2727
|
-
var select = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
2728
|
-
const _sfc_main$
|
|
2727
|
+
var select = /* @__PURE__ */ _export_sfc$1(_sfc_main$G, [["render", _sfc_render$1]]);
|
|
2728
|
+
const _sfc_main$F = defineComponent({
|
|
2729
2729
|
name: "Tools"
|
|
2730
2730
|
});
|
|
2731
2731
|
const _hoisted_1$f = {
|
|
@@ -2745,12 +2745,12 @@ const _hoisted_3$5 = [
|
|
|
2745
2745
|
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
2746
2746
|
return openBlock(), createElementBlock("svg", _hoisted_1$f, _hoisted_3$5);
|
|
2747
2747
|
}
|
|
2748
|
-
var tools = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
2748
|
+
var tools = /* @__PURE__ */ _export_sfc$1(_sfc_main$F, [["render", _sfc_render]]);
|
|
2749
2749
|
const formManagerProvideKey = Symbol("form-manager");
|
|
2750
2750
|
const registerPropertyProvideKey = Symbol("registerProperty");
|
|
2751
2751
|
const isOpenAuthButtonProvideKey = Symbol("isOpenAuthButton");
|
|
2752
2752
|
const authButtonsProvideKey = Symbol("authButtons");
|
|
2753
|
-
const _sfc_main$
|
|
2753
|
+
const _sfc_main$E = {
|
|
2754
2754
|
name: "ButtonItemRender",
|
|
2755
2755
|
props: {
|
|
2756
2756
|
text: {
|
|
@@ -2778,7 +2778,7 @@ var index_vue_vue_type_style_index_0_lang$b = "";
|
|
|
2778
2778
|
const __default__$l = {
|
|
2779
2779
|
name: "ButtonRenderer"
|
|
2780
2780
|
};
|
|
2781
|
-
const _sfc_main$
|
|
2781
|
+
const _sfc_main$D = defineComponent({
|
|
2782
2782
|
...__default__$l,
|
|
2783
2783
|
props: {
|
|
2784
2784
|
els: {},
|
|
@@ -2920,7 +2920,7 @@ const _sfc_main$C = defineComponent({
|
|
|
2920
2920
|
onClick: withModifiers(($event) => handleButtonClick(index2), ["stop"])
|
|
2921
2921
|
}), {
|
|
2922
2922
|
default: withCtx(() => [
|
|
2923
|
-
createVNode(_sfc_main$
|
|
2923
|
+
createVNode(_sfc_main$E, {
|
|
2924
2924
|
context: _ctx.context,
|
|
2925
2925
|
"render-fn": button.renderFn,
|
|
2926
2926
|
text: button.text
|
|
@@ -2944,7 +2944,7 @@ const _sfc_main$C = defineComponent({
|
|
|
2944
2944
|
default: withCtx(() => {
|
|
2945
2945
|
var _a2;
|
|
2946
2946
|
return [
|
|
2947
|
-
button.renderFn ? (openBlock(), createBlock(_sfc_main$
|
|
2947
|
+
button.renderFn ? (openBlock(), createBlock(_sfc_main$E, {
|
|
2948
2948
|
key: 0,
|
|
2949
2949
|
context: _ctx.context,
|
|
2950
2950
|
"render-fn": button.renderFn,
|
|
@@ -2972,7 +2972,7 @@ const _sfc_main$C = defineComponent({
|
|
|
2972
2972
|
};
|
|
2973
2973
|
}
|
|
2974
2974
|
});
|
|
2975
|
-
var index_vue_vue_type_style_index_0_scoped_true_lang$
|
|
2975
|
+
var index_vue_vue_type_style_index_0_scoped_true_lang$9 = "";
|
|
2976
2976
|
var _export_sfc = (sfc, props) => {
|
|
2977
2977
|
const target = sfc.__vccOpts || sfc;
|
|
2978
2978
|
for (const [key, val] of props) {
|
|
@@ -2985,7 +2985,7 @@ const __default__$k = {
|
|
|
2985
2985
|
name: "SelectableOpearte",
|
|
2986
2986
|
inheritAttrs: false
|
|
2987
2987
|
};
|
|
2988
|
-
const _sfc_main$
|
|
2988
|
+
const _sfc_main$C = defineComponent({
|
|
2989
2989
|
...__default__$k,
|
|
2990
2990
|
props: {
|
|
2991
2991
|
els: {},
|
|
@@ -3000,7 +3000,7 @@ const _sfc_main$B = defineComponent({
|
|
|
3000
3000
|
});
|
|
3001
3001
|
return (_ctx, _cache) => {
|
|
3002
3002
|
return openBlock(), createElementBlock("div", _hoisted_1$e, [
|
|
3003
|
-
createVNode(_sfc_main$
|
|
3003
|
+
createVNode(_sfc_main$D, mergeProps({
|
|
3004
3004
|
els: props.els,
|
|
3005
3005
|
"execute-data": [executeData.value],
|
|
3006
3006
|
context: props.manager
|
|
@@ -3009,7 +3009,7 @@ const _sfc_main$B = defineComponent({
|
|
|
3009
3009
|
};
|
|
3010
3010
|
}
|
|
3011
3011
|
});
|
|
3012
|
-
var SelectableOperate = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
3012
|
+
var SelectableOperate = /* @__PURE__ */ _export_sfc(_sfc_main$C, [["__scopeId", "data-v-4e4544c2"]]);
|
|
3013
3013
|
class SearchFormManager extends IManager {
|
|
3014
3014
|
constructor(form) {
|
|
3015
3015
|
super();
|
|
@@ -3077,7 +3077,7 @@ class SearchFormManager extends IManager {
|
|
|
3077
3077
|
this.manager = manager;
|
|
3078
3078
|
}
|
|
3079
3079
|
}
|
|
3080
|
-
const _sfc_main$
|
|
3080
|
+
const _sfc_main$B = defineComponent({
|
|
3081
3081
|
name: "FormItemRenderer",
|
|
3082
3082
|
props: {
|
|
3083
3083
|
modelValue: null,
|
|
@@ -3299,7 +3299,7 @@ var index_vue_vue_type_style_index_0_lang$a = "";
|
|
|
3299
3299
|
const _hoisted_1$d = { class: "el-dialog__title" };
|
|
3300
3300
|
const MIN_WIDTH = 300;
|
|
3301
3301
|
const MIN_HEIGHT = 160;
|
|
3302
|
-
const _sfc_main$
|
|
3302
|
+
const _sfc_main$A = defineComponent({
|
|
3303
3303
|
__name: "index",
|
|
3304
3304
|
props: {
|
|
3305
3305
|
modelValue: { type: Boolean },
|
|
@@ -3392,7 +3392,7 @@ const _sfc_main$z = defineComponent({
|
|
|
3392
3392
|
}
|
|
3393
3393
|
});
|
|
3394
3394
|
var index_vue_vue_type_style_index_0_lang$9 = "";
|
|
3395
|
-
const _sfc_main$
|
|
3395
|
+
const _sfc_main$z = defineComponent({
|
|
3396
3396
|
__name: "index",
|
|
3397
3397
|
emits: ["filter"],
|
|
3398
3398
|
setup(__props, { expose: __expose, emit: __emit }) {
|
|
@@ -3427,7 +3427,7 @@ const _sfc_main$y = defineComponent({
|
|
|
3427
3427
|
const _component_el_form_item = resolveComponent("el-form-item");
|
|
3428
3428
|
const _component_el_form = resolveComponent("el-form");
|
|
3429
3429
|
const _component_el_button = resolveComponent("el-button");
|
|
3430
|
-
return openBlock(), createBlock(_sfc_main$
|
|
3430
|
+
return openBlock(), createBlock(_sfc_main$A, {
|
|
3431
3431
|
modelValue: isShow.value,
|
|
3432
3432
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => isShow.value = $event),
|
|
3433
3433
|
title: "\u7B5B\u9009\u6761\u4EF6",
|
|
@@ -3473,7 +3473,7 @@ const _sfc_main$y = defineComponent({
|
|
|
3473
3473
|
prop: item.prop
|
|
3474
3474
|
}), {
|
|
3475
3475
|
default: withCtx(() => [
|
|
3476
|
-
createVNode(_sfc_main$
|
|
3476
|
+
createVNode(_sfc_main$B, {
|
|
3477
3477
|
modelValue: formData.value[item.prop],
|
|
3478
3478
|
"onUpdate:modelValue": ($event) => formData.value[item.prop] = $event,
|
|
3479
3479
|
renderFn: item.renderFn,
|
|
@@ -4142,7 +4142,7 @@ var index_vue_vue_type_style_index_0_lang$8 = "";
|
|
|
4142
4142
|
const __default__$j = {
|
|
4143
4143
|
name: "PageModelSearchForm"
|
|
4144
4144
|
};
|
|
4145
|
-
const _sfc_main$
|
|
4145
|
+
const _sfc_main$y = defineComponent({
|
|
4146
4146
|
...__default__$j,
|
|
4147
4147
|
props: {
|
|
4148
4148
|
form: {},
|
|
@@ -4296,7 +4296,7 @@ const _sfc_main$x = defineComponent({
|
|
|
4296
4296
|
style: { width: ((_a = item.style) == null ? void 0 : _a.width) || unref(searchFormItemWidth) }
|
|
4297
4297
|
}), {
|
|
4298
4298
|
default: withCtx(() => [
|
|
4299
|
-
createVNode(_sfc_main$
|
|
4299
|
+
createVNode(_sfc_main$B, {
|
|
4300
4300
|
modelValue: searchFormManager.formData[item.prop],
|
|
4301
4301
|
"onUpdate:modelValue": ($event) => searchFormManager.formData[item.prop] = $event,
|
|
4302
4302
|
renderFn: item.renderFn,
|
|
@@ -4379,7 +4379,7 @@ const _sfc_main$x = defineComponent({
|
|
|
4379
4379
|
}, [
|
|
4380
4380
|
renderSlot(_ctx.$slots, "default")
|
|
4381
4381
|
], 2),
|
|
4382
|
-
searchFormManager.expandMode === "dialog" && showFormEls.value.length && unref(showMoreButton) ? (openBlock(), createBlock(_sfc_main$
|
|
4382
|
+
searchFormManager.expandMode === "dialog" && showFormEls.value.length && unref(showMoreButton) ? (openBlock(), createBlock(_sfc_main$z, {
|
|
4383
4383
|
key: 0,
|
|
4384
4384
|
ref_key: "SearchFormFullRef",
|
|
4385
4385
|
ref: SearchFormFullRef,
|
|
@@ -5160,6 +5160,13 @@ class TableManager extends IManager {
|
|
|
5160
5160
|
}
|
|
5161
5161
|
updateCurrentRenderTableEls(els) {
|
|
5162
5162
|
this.currentRenderTableEls = els;
|
|
5163
|
+
this.onCurrentRenderTableElsChange();
|
|
5164
|
+
}
|
|
5165
|
+
onCurrentRenderTableElsChange() {
|
|
5166
|
+
const propList = this.currentRenderTableEls.map((a) => a.prop).filter((a) => a);
|
|
5167
|
+
this.columnParamsList = this.columnParamsList.filter((a) => {
|
|
5168
|
+
return propList.includes(a.prop);
|
|
5169
|
+
});
|
|
5163
5170
|
}
|
|
5164
5171
|
get hiddeenFieldCount() {
|
|
5165
5172
|
return this.table.els.length - this.currentRenderTableEls.length;
|
|
@@ -5201,7 +5208,7 @@ class TableManager extends IManager {
|
|
|
5201
5208
|
this.removeCellOutClickEvent();
|
|
5202
5209
|
}
|
|
5203
5210
|
}
|
|
5204
|
-
const _sfc_main$
|
|
5211
|
+
const _sfc_main$x = defineComponent({
|
|
5205
5212
|
name: "TableCellRenderer",
|
|
5206
5213
|
props: {
|
|
5207
5214
|
renderFn: {
|
|
@@ -5239,14 +5246,15 @@ const _sfc_main$w = defineComponent({
|
|
|
5239
5246
|
};
|
|
5240
5247
|
}
|
|
5241
5248
|
});
|
|
5242
|
-
var index_vue_vue_type_style_index_0_scoped_true_lang$
|
|
5249
|
+
var index_vue_vue_type_style_index_0_scoped_true_lang$8 = "";
|
|
5243
5250
|
const __default__$i = {
|
|
5244
5251
|
name: "SimplePopover"
|
|
5245
5252
|
};
|
|
5246
|
-
const _sfc_main$
|
|
5253
|
+
const _sfc_main$w = defineComponent({
|
|
5247
5254
|
...__default__$i,
|
|
5248
5255
|
props: {
|
|
5249
|
-
width: { default: 200 }
|
|
5256
|
+
width: { default: 200 },
|
|
5257
|
+
placement: { default: "right" }
|
|
5250
5258
|
},
|
|
5251
5259
|
setup(__props, { expose: __expose }) {
|
|
5252
5260
|
const { BEMSpace } = createBEMSpace("simple-popover");
|
|
@@ -5281,7 +5289,12 @@ const _sfc_main$v = defineComponent({
|
|
|
5281
5289
|
if (top == null) {
|
|
5282
5290
|
return {};
|
|
5283
5291
|
}
|
|
5284
|
-
let _left =
|
|
5292
|
+
let _left = 0;
|
|
5293
|
+
if (props.placement === "left") {
|
|
5294
|
+
_left = left - props.width + width - 2;
|
|
5295
|
+
} else {
|
|
5296
|
+
_left = left;
|
|
5297
|
+
}
|
|
5285
5298
|
_left = Math.max(_left, 10);
|
|
5286
5299
|
return {
|
|
5287
5300
|
top: top + height + 4 + "px",
|
|
@@ -5366,7 +5379,7 @@ const _sfc_main$v = defineComponent({
|
|
|
5366
5379
|
};
|
|
5367
5380
|
}
|
|
5368
5381
|
});
|
|
5369
|
-
var SimplePopover = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
5382
|
+
var SimplePopover = /* @__PURE__ */ _export_sfc(_sfc_main$w, [["__scopeId", "data-v-6ec51dc6"]]);
|
|
5370
5383
|
var FilterItemTypeEnum$1 = /* @__PURE__ */ ((FilterItemTypeEnum2) => {
|
|
5371
5384
|
FilterItemTypeEnum2["\u6587\u5B57"] = "string";
|
|
5372
5385
|
FilterItemTypeEnum2["\u6570\u5B57"] = "number";
|
|
@@ -5376,6 +5389,19 @@ var FilterItemTypeEnum$1 = /* @__PURE__ */ ((FilterItemTypeEnum2) => {
|
|
|
5376
5389
|
FilterItemTypeEnum2["\u5355\u9009\u503C"] = "select";
|
|
5377
5390
|
return FilterItemTypeEnum2;
|
|
5378
5391
|
})(FilterItemTypeEnum$1 || {});
|
|
5392
|
+
var FilterMatchModeEnum$1 = /* @__PURE__ */ ((FilterMatchModeEnum2) => {
|
|
5393
|
+
FilterMatchModeEnum2["\u5305\u542B"] = "contain";
|
|
5394
|
+
FilterMatchModeEnum2["\u4E0D\u5305\u542B"] = "notContain";
|
|
5395
|
+
FilterMatchModeEnum2["\u5F00\u59CB\u4E8E"] = "StartsWith";
|
|
5396
|
+
FilterMatchModeEnum2["\u7ED3\u675F\u4E8E"] = "EndsWith";
|
|
5397
|
+
FilterMatchModeEnum2["\u7B49\u4E8E"] = "eq";
|
|
5398
|
+
FilterMatchModeEnum2["\u4E0D\u7B49\u4E8E"] = "neq";
|
|
5399
|
+
FilterMatchModeEnum2["\u5927\u4E8E"] = "gt";
|
|
5400
|
+
FilterMatchModeEnum2["\u5C0F\u4E8E"] = "lt";
|
|
5401
|
+
FilterMatchModeEnum2["\u5927\u4E8E\u7B49\u4E8E"] = "ge";
|
|
5402
|
+
FilterMatchModeEnum2["\u5C0F\u4E8E\u7B49\u4E8E"] = "le";
|
|
5403
|
+
return FilterMatchModeEnum2;
|
|
5404
|
+
})(FilterMatchModeEnum$1 || {});
|
|
5379
5405
|
const compareOptions$1 = {
|
|
5380
5406
|
["string"]: [
|
|
5381
5407
|
{
|
|
@@ -5456,9 +5482,9 @@ const compareOptions$1 = {
|
|
|
5456
5482
|
}
|
|
5457
5483
|
]
|
|
5458
5484
|
};
|
|
5459
|
-
var index_vue_vue_type_style_index_0_scoped_true_lang$
|
|
5485
|
+
var index_vue_vue_type_style_index_0_scoped_true_lang$7 = "";
|
|
5460
5486
|
const _hoisted_1$c = { key: 1 };
|
|
5461
|
-
const _sfc_main$
|
|
5487
|
+
const _sfc_main$v = defineComponent({
|
|
5462
5488
|
__name: "index",
|
|
5463
5489
|
props: {
|
|
5464
5490
|
tableManager: {}
|
|
@@ -5473,6 +5499,27 @@ const _sfc_main$u = defineComponent({
|
|
|
5473
5499
|
const filterMultiple = ref(false);
|
|
5474
5500
|
const hasCompare = ref(false);
|
|
5475
5501
|
const filterList = ref([]);
|
|
5502
|
+
const multSelectDatas = computed(() => {
|
|
5503
|
+
const listFilter = filterList.value.filter(
|
|
5504
|
+
(a) => a.filterType === FilterItemTypeEnum$1.\u591A\u9009\u503C
|
|
5505
|
+
);
|
|
5506
|
+
return listFilter.reduce((memo, item) => {
|
|
5507
|
+
var _a;
|
|
5508
|
+
const selectedValue = item.value || [];
|
|
5509
|
+
const allSelected = selectedValue.length === ((_a = item.filterOptions) == null ? void 0 : _a.length);
|
|
5510
|
+
memo[item.prop] = {
|
|
5511
|
+
modelValue: allSelected,
|
|
5512
|
+
indeterminate: !allSelected && selectedValue.length > 0
|
|
5513
|
+
};
|
|
5514
|
+
return memo;
|
|
5515
|
+
}, {});
|
|
5516
|
+
});
|
|
5517
|
+
const handleMultSelectChange = (prop, value) => {
|
|
5518
|
+
const multItem = filterList.value.find((a) => a.prop === prop);
|
|
5519
|
+
const filterOptions = multItem.filterOptions || [];
|
|
5520
|
+
const newValue = value ? filterOptions.map((a) => a.value) : [];
|
|
5521
|
+
multItem.value = newValue;
|
|
5522
|
+
};
|
|
5476
5523
|
const getAddFilterItem = () => {
|
|
5477
5524
|
const formData = {
|
|
5478
5525
|
prop: currentColumn.value.prop,
|
|
@@ -5777,6 +5824,14 @@ const _sfc_main$u = defineComponent({
|
|
|
5777
5824
|
createElementVNode("div", {
|
|
5778
5825
|
class: normalizeClass(unref(createBEMName)("input"))
|
|
5779
5826
|
}, [
|
|
5827
|
+
createVNode(_component_el_checkbox, mergeProps({ ref_for: true }, multSelectDatas.value[item.prop], {
|
|
5828
|
+
onChange: ($event) => handleMultSelectChange(item.prop, $event)
|
|
5829
|
+
}), {
|
|
5830
|
+
default: withCtx(() => [
|
|
5831
|
+
createTextVNode("\u5168\u9009")
|
|
5832
|
+
]),
|
|
5833
|
+
_: 2
|
|
5834
|
+
}, 1040, ["onChange"]),
|
|
5780
5835
|
createVNode(_component_el_checkbox_group, {
|
|
5781
5836
|
modelValue: item.value,
|
|
5782
5837
|
"onUpdate:modelValue": ($event) => item.value = $event
|
|
@@ -5839,7 +5894,7 @@ const _sfc_main$u = defineComponent({
|
|
|
5839
5894
|
};
|
|
5840
5895
|
}
|
|
5841
5896
|
});
|
|
5842
|
-
var FilterZone$1 = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
5897
|
+
var FilterZone$1 = /* @__PURE__ */ _export_sfc(_sfc_main$v, [["__scopeId", "data-v-41c68f2e"]]);
|
|
5843
5898
|
var index_vue_vue_type_style_index_0_lang$7 = "";
|
|
5844
5899
|
const _hoisted_1$b = ["data-key", "title"];
|
|
5845
5900
|
const _hoisted_2$7 = {
|
|
@@ -5866,7 +5921,7 @@ const _hoisted_10 = ["onClick"];
|
|
|
5866
5921
|
const __default__$h = {
|
|
5867
5922
|
name: "TableColumn"
|
|
5868
5923
|
};
|
|
5869
|
-
const _sfc_main$
|
|
5924
|
+
const _sfc_main$u = defineComponent({
|
|
5870
5925
|
...__default__$h,
|
|
5871
5926
|
props: {
|
|
5872
5927
|
els: {},
|
|
@@ -6053,7 +6108,7 @@ const _sfc_main$t = defineComponent({
|
|
|
6053
6108
|
) ? (openBlock(), createElementBlock("div", _hoisted_5$3, [
|
|
6054
6109
|
column.editData ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
6055
6110
|
createElementVNode("div", _hoisted_6$2, [
|
|
6056
|
-
createVNode(_sfc_main$
|
|
6111
|
+
createVNode(_sfc_main$B, {
|
|
6057
6112
|
modelValue: row[column.editData.prop || column.prop],
|
|
6058
6113
|
renderFn: column.editData.renderFn,
|
|
6059
6114
|
context: props.context,
|
|
@@ -6089,7 +6144,7 @@ const _sfc_main$t = defineComponent({
|
|
|
6089
6144
|
])) : createCommentVNode("", true)
|
|
6090
6145
|
], 64)) : (openBlock(), createElementBlock("div", _hoisted_8, "\u8BE5\u5217\u672A\u8BBE\u7F6E\u7F16\u8F91\u7EC4\u4EF6"))
|
|
6091
6146
|
])) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [
|
|
6092
|
-
column.renderFn && $index !== -1 ? (openBlock(), createBlock(_sfc_main$
|
|
6147
|
+
column.renderFn && $index !== -1 ? (openBlock(), createBlock(_sfc_main$x, {
|
|
6093
6148
|
key: 0,
|
|
6094
6149
|
"render-fn": column.renderFn,
|
|
6095
6150
|
context: props.context,
|
|
@@ -7093,7 +7148,7 @@ var Sortable = Sortable_min.exports;
|
|
|
7093
7148
|
const __default__$g = {
|
|
7094
7149
|
name: "DraggableList"
|
|
7095
7150
|
};
|
|
7096
|
-
const _sfc_main$
|
|
7151
|
+
const _sfc_main$t = defineComponent({
|
|
7097
7152
|
...__default__$g,
|
|
7098
7153
|
props: {
|
|
7099
7154
|
modelValue: {},
|
|
@@ -7194,7 +7249,7 @@ var setting_vue_vue_type_style_index_1_lang$2 = "";
|
|
|
7194
7249
|
const __default__$f = {
|
|
7195
7250
|
name: "SaveColumnSetting"
|
|
7196
7251
|
};
|
|
7197
|
-
const _sfc_main$
|
|
7252
|
+
const _sfc_main$s = defineComponent({
|
|
7198
7253
|
...__default__$f,
|
|
7199
7254
|
props: {
|
|
7200
7255
|
onlyShow: { type: Boolean, default: false }
|
|
@@ -7270,7 +7325,7 @@ const _sfc_main$r = defineComponent({
|
|
|
7270
7325
|
const _component_el_radio_group = resolveComponent("el-radio-group");
|
|
7271
7326
|
const _component_el_input_number = resolveComponent("el-input-number");
|
|
7272
7327
|
const _component_el_button = resolveComponent("el-button");
|
|
7273
|
-
return openBlock(), createBlock(_sfc_main$
|
|
7328
|
+
return openBlock(), createBlock(_sfc_main$A, {
|
|
7274
7329
|
modelValue: visible.value,
|
|
7275
7330
|
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => visible.value = $event),
|
|
7276
7331
|
title: "\u7F16\u8F91\u8868\u683C",
|
|
@@ -7319,7 +7374,7 @@ const _sfc_main$r = defineComponent({
|
|
|
7319
7374
|
createElementVNode("div", {
|
|
7320
7375
|
class: normalizeClass(unref(createBEMName)("column-table-wrap"))
|
|
7321
7376
|
}, [
|
|
7322
|
-
createVNode(_sfc_main$
|
|
7377
|
+
createVNode(_sfc_main$t, {
|
|
7323
7378
|
modelValue: innerEls.value,
|
|
7324
7379
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => innerEls.value = $event),
|
|
7325
7380
|
"item-key": "_key"
|
|
@@ -7514,7 +7569,7 @@ var userConfig_vue_vue_type_style_index_1_lang = "";
|
|
|
7514
7569
|
const __default__$e = {
|
|
7515
7570
|
name: "SaveUserConfig"
|
|
7516
7571
|
};
|
|
7517
|
-
const _sfc_main$
|
|
7572
|
+
const _sfc_main$r = defineComponent({
|
|
7518
7573
|
...__default__$e,
|
|
7519
7574
|
emits: ["submit", "closed"],
|
|
7520
7575
|
setup(__props, { expose: __expose, emit: __emit }) {
|
|
@@ -7578,7 +7633,7 @@ const _sfc_main$q = defineComponent({
|
|
|
7578
7633
|
};
|
|
7579
7634
|
return (_ctx, _cache) => {
|
|
7580
7635
|
const _component_el_button = resolveComponent("el-button");
|
|
7581
|
-
return openBlock(), createBlock(_sfc_main$
|
|
7636
|
+
return openBlock(), createBlock(_sfc_main$A, {
|
|
7582
7637
|
modelValue: visible.value,
|
|
7583
7638
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => visible.value = $event),
|
|
7584
7639
|
title: "\u7F16\u8F91\u79C1\u4EBA\u914D\u7F6E",
|
|
@@ -7653,7 +7708,7 @@ const _hoisted_2$6 = /* @__PURE__ */ _withScopeId$2(() => /* @__PURE__ */ create
|
|
|
7653
7708
|
const _hoisted_3$3 = ["title"];
|
|
7654
7709
|
const _hoisted_4$3 = ["title", "onClick"];
|
|
7655
7710
|
const _hoisted_5$2 = ["title", "onClick"];
|
|
7656
|
-
const _sfc_main$
|
|
7711
|
+
const _sfc_main$q = defineComponent({
|
|
7657
7712
|
__name: "index",
|
|
7658
7713
|
props: {
|
|
7659
7714
|
els: {}
|
|
@@ -7785,7 +7840,7 @@ const _sfc_main$p = defineComponent({
|
|
|
7785
7840
|
createElementVNode("div", {
|
|
7786
7841
|
class: normalizeClass(unref(createBEMName)("list"))
|
|
7787
7842
|
}, [
|
|
7788
|
-
createVNode(_sfc_main$
|
|
7843
|
+
createVNode(_sfc_main$t, {
|
|
7789
7844
|
modelValue: innerEls.value,
|
|
7790
7845
|
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => innerEls.value = $event),
|
|
7791
7846
|
class: normalizeClass(unref(BEMSpace))
|
|
@@ -7851,14 +7906,14 @@ const _sfc_main$p = defineComponent({
|
|
|
7851
7906
|
_: 1
|
|
7852
7907
|
})
|
|
7853
7908
|
], 2),
|
|
7854
|
-
unref(isRenderColumnToolsSetting) ? (openBlock(), createBlock(_sfc_main$
|
|
7909
|
+
unref(isRenderColumnToolsSetting) ? (openBlock(), createBlock(_sfc_main$s, {
|
|
7855
7910
|
key: 0,
|
|
7856
7911
|
ref_key: "columnToolsSettingRef",
|
|
7857
7912
|
ref: columnToolsSettingRef,
|
|
7858
7913
|
onSubmit: onSubmitColumns,
|
|
7859
7914
|
onClosed: unref(onColumnToolsSettingClosed)
|
|
7860
7915
|
}, null, 8, ["onClosed"])) : createCommentVNode("", true),
|
|
7861
|
-
unref(isRenderUserConfig) ? (openBlock(), createBlock(_sfc_main$
|
|
7916
|
+
unref(isRenderUserConfig) ? (openBlock(), createBlock(_sfc_main$r, {
|
|
7862
7917
|
key: 1,
|
|
7863
7918
|
ref_key: "userConfigRef",
|
|
7864
7919
|
ref: userConfigRef,
|
|
@@ -7869,8 +7924,8 @@ const _sfc_main$p = defineComponent({
|
|
|
7869
7924
|
};
|
|
7870
7925
|
}
|
|
7871
7926
|
});
|
|
7872
|
-
var ColumnTools$1 = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
7873
|
-
var index_vue_vue_type_style_index_0_scoped_true_lang$
|
|
7927
|
+
var ColumnTools$1 = /* @__PURE__ */ _export_sfc(_sfc_main$q, [["__scopeId", "data-v-7bf8eedc"]]);
|
|
7928
|
+
var index_vue_vue_type_style_index_0_scoped_true_lang$6 = "";
|
|
7874
7929
|
const _withScopeId$1 = (n) => (pushScopeId("data-v-15dbe923"), n = n(), popScopeId(), n);
|
|
7875
7930
|
const _hoisted_1$9 = { key: 0 };
|
|
7876
7931
|
const _hoisted_2$5 = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ createElementVNode("span", { class: "export-wrod" }, "\u4ECE\u7B2C", -1));
|
|
@@ -7879,7 +7934,7 @@ const _hoisted_4$2 = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ create
|
|
|
7879
7934
|
const _hoisted_5$1 = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ createElementVNode("div", null, null, -1));
|
|
7880
7935
|
const _hoisted_6$1 = { class: "export-columns" };
|
|
7881
7936
|
const _hoisted_7$1 = { class: "bottom-box" };
|
|
7882
|
-
const _sfc_main$
|
|
7937
|
+
const _sfc_main$p = defineComponent({
|
|
7883
7938
|
__name: "index",
|
|
7884
7939
|
emits: ["closed"],
|
|
7885
7940
|
setup(__props, { expose: __expose, emit: __emit }) {
|
|
@@ -8032,7 +8087,7 @@ const _sfc_main$o = defineComponent({
|
|
|
8032
8087
|
const _component_el_empty = resolveComponent("el-empty");
|
|
8033
8088
|
const _component_el_button = resolveComponent("el-button");
|
|
8034
8089
|
const _directive_loading = resolveDirective("loading");
|
|
8035
|
-
return openBlock(), createBlock(_sfc_main$
|
|
8090
|
+
return openBlock(), createBlock(_sfc_main$A, {
|
|
8036
8091
|
modelValue: visible.value,
|
|
8037
8092
|
"onUpdate:modelValue": _cache[6] || (_cache[6] = ($event) => visible.value = $event),
|
|
8038
8093
|
title: "\u5BFC\u51FA\u8868\u683C\u6570\u636E",
|
|
@@ -8206,7 +8261,7 @@ const _sfc_main$o = defineComponent({
|
|
|
8206
8261
|
};
|
|
8207
8262
|
}
|
|
8208
8263
|
});
|
|
8209
|
-
var ExportForm = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
8264
|
+
var ExportForm = /* @__PURE__ */ _export_sfc(_sfc_main$p, [["__scopeId", "data-v-15dbe923"]]);
|
|
8210
8265
|
const SAVE_NAME$2 = "table-columns";
|
|
8211
8266
|
const columnsSaver$1 = new ConfigSaver(SAVE_NAME$2);
|
|
8212
8267
|
const saveTableColumns = columnsSaver$1.setContents.bind(columnsSaver$1);
|
|
@@ -8217,7 +8272,7 @@ const _hoisted_1$8 = { class: "el-table__empty-data" };
|
|
|
8217
8272
|
const __default__$d = {
|
|
8218
8273
|
name: "EmptyData"
|
|
8219
8274
|
};
|
|
8220
|
-
const _sfc_main$
|
|
8275
|
+
const _sfc_main$o = defineComponent({
|
|
8221
8276
|
...__default__$d,
|
|
8222
8277
|
props: {
|
|
8223
8278
|
text: {}
|
|
@@ -8230,11 +8285,11 @@ const _sfc_main$n = defineComponent({
|
|
|
8230
8285
|
};
|
|
8231
8286
|
}
|
|
8232
8287
|
});
|
|
8233
|
-
var index_vue_vue_type_style_index_0_scoped_true_lang$
|
|
8288
|
+
var index_vue_vue_type_style_index_0_scoped_true_lang$5 = "";
|
|
8234
8289
|
const __default__$c = {
|
|
8235
8290
|
name: "SelectionsTable"
|
|
8236
8291
|
};
|
|
8237
|
-
const _sfc_main$
|
|
8292
|
+
const _sfc_main$n = defineComponent({
|
|
8238
8293
|
...__default__$c,
|
|
8239
8294
|
emits: ["closed"],
|
|
8240
8295
|
setup(__props, { expose: __expose, emit: __emit }) {
|
|
@@ -8301,7 +8356,7 @@ const _sfc_main$m = defineComponent({
|
|
|
8301
8356
|
});
|
|
8302
8357
|
return (_ctx, _cache) => {
|
|
8303
8358
|
const _component_el_button = resolveComponent("el-button");
|
|
8304
|
-
return openBlock(), createBlock(_sfc_main$
|
|
8359
|
+
return openBlock(), createBlock(_sfc_main$A, {
|
|
8305
8360
|
modelValue: visible.value,
|
|
8306
8361
|
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => visible.value = $event),
|
|
8307
8362
|
title: "\u5DF2\u9009\u6570\u636E",
|
|
@@ -8350,7 +8405,7 @@ const _sfc_main$m = defineComponent({
|
|
|
8350
8405
|
};
|
|
8351
8406
|
}
|
|
8352
8407
|
});
|
|
8353
|
-
var SelectionsTable = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
8408
|
+
var SelectionsTable = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["__scopeId", "data-v-3b4b4ed8"]]);
|
|
8354
8409
|
const useSelectionsTable = () => {
|
|
8355
8410
|
const selectionsTableRef = ref();
|
|
8356
8411
|
const isRenderSelectionsTable = ref(false);
|
|
@@ -8512,7 +8567,7 @@ const useExportForm = () => {
|
|
|
8512
8567
|
onExportFormClosed: onClosed
|
|
8513
8568
|
};
|
|
8514
8569
|
};
|
|
8515
|
-
const _sfc_main$
|
|
8570
|
+
const _sfc_main$m = {
|
|
8516
8571
|
props: {
|
|
8517
8572
|
isLoading: {
|
|
8518
8573
|
type: Boolean,
|
|
@@ -8578,7 +8633,7 @@ const __default__$b = {
|
|
|
8578
8633
|
name: "PageModelTable",
|
|
8579
8634
|
inheritAttrs: false
|
|
8580
8635
|
};
|
|
8581
|
-
const _sfc_main$
|
|
8636
|
+
const _sfc_main$l = defineComponent({
|
|
8582
8637
|
...__default__$b,
|
|
8583
8638
|
props: {
|
|
8584
8639
|
table: {},
|
|
@@ -8710,11 +8765,11 @@ const _sfc_main$k = defineComponent({
|
|
|
8710
8765
|
(_a = tableRef.value) == null ? void 0 : _a.doLayout();
|
|
8711
8766
|
};
|
|
8712
8767
|
const simplePopoverRef = ref();
|
|
8713
|
-
const
|
|
8768
|
+
const showColumnToolSimplePopover = (element) => {
|
|
8714
8769
|
var _a;
|
|
8715
8770
|
(_a = simplePopoverRef.value) == null ? void 0 : _a.show(element);
|
|
8716
8771
|
};
|
|
8717
|
-
const
|
|
8772
|
+
const hideColumnToolSimplePopover = () => {
|
|
8718
8773
|
var _a;
|
|
8719
8774
|
(_a = simplePopoverRef.value) == null ? void 0 : _a.hide();
|
|
8720
8775
|
};
|
|
@@ -8777,8 +8832,9 @@ const _sfc_main$k = defineComponent({
|
|
|
8777
8832
|
showExport,
|
|
8778
8833
|
clearSelection,
|
|
8779
8834
|
getRenderedEls,
|
|
8780
|
-
|
|
8781
|
-
|
|
8835
|
+
showColumnToolSimplePopover,
|
|
8836
|
+
hideColumnToolSimplePopover,
|
|
8837
|
+
handleColumnScreen
|
|
8782
8838
|
});
|
|
8783
8839
|
return (_ctx, _cache) => {
|
|
8784
8840
|
const _component_el_radio = resolveComponent("el-radio");
|
|
@@ -8789,7 +8845,7 @@ const _sfc_main$k = defineComponent({
|
|
|
8789
8845
|
const _component_el_popconfirm = resolveComponent("el-popconfirm");
|
|
8790
8846
|
const _component_el_pagination = resolveComponent("el-pagination");
|
|
8791
8847
|
return openBlock(), createElementBlock(Fragment, null, [
|
|
8792
|
-
createVNode(_sfc_main$
|
|
8848
|
+
createVNode(_sfc_main$m, {
|
|
8793
8849
|
class: normalizeClass([unref(createBEMName)("table")]),
|
|
8794
8850
|
isLoading: tableManager.loadingData,
|
|
8795
8851
|
directiveName: table.value.loadingDirectiveName
|
|
@@ -8813,7 +8869,7 @@ const _sfc_main$k = defineComponent({
|
|
|
8813
8869
|
unref(PageModelManager).emptyTableComponent ? (openBlock(), createBlock(resolveDynamicComponent(unref(PageModelManager).emptyTableComponent), {
|
|
8814
8870
|
key: 0,
|
|
8815
8871
|
text: (_a = tableManager == null ? void 0 : tableManager.tableProps) == null ? void 0 : _a.emptyText
|
|
8816
|
-
}, null, 8, ["text"])) : (openBlock(), createBlock(_sfc_main$
|
|
8872
|
+
}, null, 8, ["text"])) : (openBlock(), createBlock(_sfc_main$o, {
|
|
8817
8873
|
key: 1,
|
|
8818
8874
|
text: (_b = tableManager == null ? void 0 : tableManager.tableProps) == null ? void 0 : _b.emptyText
|
|
8819
8875
|
}, null, 8, ["text"]))
|
|
@@ -8874,7 +8930,7 @@ const _sfc_main$k = defineComponent({
|
|
|
8874
8930
|
width: table.value.operate.width
|
|
8875
8931
|
}, table.value.operate.props), {
|
|
8876
8932
|
default: withCtx(({ row, $index }) => [
|
|
8877
|
-
createVNode(_sfc_main$
|
|
8933
|
+
createVNode(_sfc_main$D, mergeProps({
|
|
8878
8934
|
els: table.value.operate.els,
|
|
8879
8935
|
context: tableManager,
|
|
8880
8936
|
executeData: [row, $index]
|
|
@@ -8883,7 +8939,7 @@ const _sfc_main$k = defineComponent({
|
|
|
8883
8939
|
_: 1
|
|
8884
8940
|
}, 16, ["width"])) : createCommentVNode("", true)
|
|
8885
8941
|
], 64)) : createCommentVNode("", true),
|
|
8886
|
-
createVNode(_sfc_main$
|
|
8942
|
+
createVNode(_sfc_main$u, {
|
|
8887
8943
|
els: renderedTableEls.value,
|
|
8888
8944
|
context: tableManager,
|
|
8889
8945
|
onColumnScreen: handleColumnScreen
|
|
@@ -8895,7 +8951,7 @@ const _sfc_main$k = defineComponent({
|
|
|
8895
8951
|
width: table.value.operate.width
|
|
8896
8952
|
}, table.value.operate.props), {
|
|
8897
8953
|
default: withCtx(({ row, $index }) => [
|
|
8898
|
-
createVNode(_sfc_main$
|
|
8954
|
+
createVNode(_sfc_main$D, mergeProps({
|
|
8899
8955
|
els: table.value.operate.els,
|
|
8900
8956
|
context: tableManager,
|
|
8901
8957
|
executeData: [row, $index]
|
|
@@ -8913,7 +8969,7 @@ const _sfc_main$k = defineComponent({
|
|
|
8913
8969
|
createVNode(_component_el_icon, {
|
|
8914
8970
|
size: "16px",
|
|
8915
8971
|
class: normalizeClass(unref(createBEMName)("tools")),
|
|
8916
|
-
onClick: _cache[0] || (_cache[0] = ($event) =>
|
|
8972
|
+
onClick: _cache[0] || (_cache[0] = ($event) => showColumnToolSimplePopover($event.currentTarget))
|
|
8917
8973
|
}, {
|
|
8918
8974
|
default: withCtx(() => [
|
|
8919
8975
|
createVNode(unref(tools))
|
|
@@ -9158,13 +9214,13 @@ class FormManager extends IManager {
|
|
|
9158
9214
|
this.destroyReflect();
|
|
9159
9215
|
}
|
|
9160
9216
|
}
|
|
9161
|
-
var index_vue_vue_type_style_index_0_scoped_true_lang$
|
|
9217
|
+
var index_vue_vue_type_style_index_0_scoped_true_lang$4 = "";
|
|
9162
9218
|
const _hoisted_1$7 = ["onClick"];
|
|
9163
9219
|
const _hoisted_2$4 = { class: "section-item__title-text" };
|
|
9164
9220
|
const __default__$a = {
|
|
9165
9221
|
name: "SectionTitleEl"
|
|
9166
9222
|
};
|
|
9167
|
-
const _sfc_main$
|
|
9223
|
+
const _sfc_main$k = defineComponent({
|
|
9168
9224
|
...__default__$a,
|
|
9169
9225
|
props: {
|
|
9170
9226
|
els: {},
|
|
@@ -9303,11 +9359,11 @@ const _sfc_main$j = defineComponent({
|
|
|
9303
9359
|
};
|
|
9304
9360
|
}
|
|
9305
9361
|
});
|
|
9306
|
-
var SectionTitleEl = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
9362
|
+
var SectionTitleEl = /* @__PURE__ */ _export_sfc(_sfc_main$k, [["__scopeId", "data-v-7a2c16fe"]]);
|
|
9307
9363
|
const __default__$9 = {
|
|
9308
9364
|
name: "TabsModeContainer"
|
|
9309
9365
|
};
|
|
9310
|
-
const _sfc_main$
|
|
9366
|
+
const _sfc_main$j = defineComponent({
|
|
9311
9367
|
...__default__$9,
|
|
9312
9368
|
props: {
|
|
9313
9369
|
props: {},
|
|
@@ -9403,7 +9459,7 @@ const _sfc_main$i = defineComponent({
|
|
|
9403
9459
|
const __default__$8 = {
|
|
9404
9460
|
name: "ModuleContainer"
|
|
9405
9461
|
};
|
|
9406
|
-
const _sfc_main$
|
|
9462
|
+
const _sfc_main$i = defineComponent({
|
|
9407
9463
|
...__default__$8,
|
|
9408
9464
|
props: {
|
|
9409
9465
|
els: {},
|
|
@@ -9416,7 +9472,7 @@ const _sfc_main$h = defineComponent({
|
|
|
9416
9472
|
const props = __props;
|
|
9417
9473
|
const containerConfig = computed(() => {
|
|
9418
9474
|
return {
|
|
9419
|
-
component: markRaw(_sfc_main$
|
|
9475
|
+
component: markRaw(_sfc_main$j),
|
|
9420
9476
|
props: {
|
|
9421
9477
|
props: props.moduleConfig.props,
|
|
9422
9478
|
els: props.els,
|
|
@@ -9453,7 +9509,7 @@ columnsSaver.setContents.bind(columnsSaver);
|
|
|
9453
9509
|
columnsSaver.genScopeItemKey.bind(columnsSaver);
|
|
9454
9510
|
const saveColumns = columnsSaver.saveContentItem.bind(columnsSaver);
|
|
9455
9511
|
const getColumns = columnsSaver.getContentItem.bind(columnsSaver);
|
|
9456
|
-
const _sfc_main$
|
|
9512
|
+
const _sfc_main$h = defineComponent({
|
|
9457
9513
|
__name: "index",
|
|
9458
9514
|
props: {
|
|
9459
9515
|
els: {},
|
|
@@ -9490,7 +9546,7 @@ const _sfc_main$g = defineComponent({
|
|
|
9490
9546
|
return sectionConfig;
|
|
9491
9547
|
});
|
|
9492
9548
|
return (_ctx, _cache) => {
|
|
9493
|
-
return useModule.value ? (openBlock(), createBlock(_sfc_main$
|
|
9549
|
+
return useModule.value ? (openBlock(), createBlock(_sfc_main$i, {
|
|
9494
9550
|
key: 0,
|
|
9495
9551
|
rowProps: _ctx.form.rowProps,
|
|
9496
9552
|
sectionConfig: useSectionConfig.value,
|
|
@@ -9516,7 +9572,7 @@ const _sfc_main$g = defineComponent({
|
|
|
9516
9572
|
};
|
|
9517
9573
|
}
|
|
9518
9574
|
});
|
|
9519
|
-
const _sfc_main$
|
|
9575
|
+
const _sfc_main$g = defineComponent({
|
|
9520
9576
|
__name: "index",
|
|
9521
9577
|
props: {
|
|
9522
9578
|
form: {},
|
|
@@ -9528,7 +9584,7 @@ const _sfc_main$f = defineComponent({
|
|
|
9528
9584
|
const props = __props;
|
|
9529
9585
|
const containerConfig = computed(() => {
|
|
9530
9586
|
return {
|
|
9531
|
-
component: markRaw(_sfc_main$
|
|
9587
|
+
component: markRaw(_sfc_main$h),
|
|
9532
9588
|
props: {
|
|
9533
9589
|
els: props.els,
|
|
9534
9590
|
form: props.form,
|
|
@@ -9564,7 +9620,7 @@ const _hoisted_4$1 = {
|
|
|
9564
9620
|
const __default__$7 = {
|
|
9565
9621
|
name: "SaveColumnSetting"
|
|
9566
9622
|
};
|
|
9567
|
-
const _sfc_main$
|
|
9623
|
+
const _sfc_main$f = defineComponent({
|
|
9568
9624
|
...__default__$7,
|
|
9569
9625
|
emits: ["submit", "closed"],
|
|
9570
9626
|
setup(__props, { expose: __expose, emit: __emit }) {
|
|
@@ -9676,7 +9732,7 @@ const _sfc_main$e = defineComponent({
|
|
|
9676
9732
|
const _component_el_tab_pane = resolveComponent("el-tab-pane");
|
|
9677
9733
|
const _component_el_tabs = resolveComponent("el-tabs");
|
|
9678
9734
|
const _component_el_button = resolveComponent("el-button");
|
|
9679
|
-
return openBlock(), createBlock(_sfc_main$
|
|
9735
|
+
return openBlock(), createBlock(_sfc_main$A, {
|
|
9680
9736
|
modelValue: visible.value,
|
|
9681
9737
|
"onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => visible.value = $event),
|
|
9682
9738
|
title: "\u8868\u5355\u914D\u7F6E",
|
|
@@ -9742,7 +9798,7 @@ const _sfc_main$e = defineComponent({
|
|
|
9742
9798
|
], 2);
|
|
9743
9799
|
}), 128))
|
|
9744
9800
|
], 2),
|
|
9745
|
-
createVNode(_sfc_main$
|
|
9801
|
+
createVNode(_sfc_main$t, {
|
|
9746
9802
|
modelValue: innerEls.value,
|
|
9747
9803
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => innerEls.value = $event),
|
|
9748
9804
|
"item-key": "_key"
|
|
@@ -9870,7 +9926,7 @@ var index_vue_vue_type_style_index_0_lang$4 = "";
|
|
|
9870
9926
|
const __default__$6 = {
|
|
9871
9927
|
name: "PageModelForm"
|
|
9872
9928
|
};
|
|
9873
|
-
const _sfc_main$
|
|
9929
|
+
const _sfc_main$e = defineComponent({
|
|
9874
9930
|
...__default__$6,
|
|
9875
9931
|
props: {
|
|
9876
9932
|
form: {},
|
|
@@ -10080,7 +10136,7 @@ const _sfc_main$d = defineComponent({
|
|
|
10080
10136
|
class: unref(BEMSpace)
|
|
10081
10137
|
}), {
|
|
10082
10138
|
default: withCtx(() => [
|
|
10083
|
-
createVNode(_sfc_main$
|
|
10139
|
+
createVNode(_sfc_main$g, {
|
|
10084
10140
|
els: totalShowFormEls.value,
|
|
10085
10141
|
form: form.value,
|
|
10086
10142
|
formManager,
|
|
@@ -10102,7 +10158,7 @@ const _sfc_main$d = defineComponent({
|
|
|
10102
10158
|
key: 0,
|
|
10103
10159
|
class: normalizeClass(unref(createBEMName)("prefix"))
|
|
10104
10160
|
}, toDisplayString(renderDeText(item.prefix, formManager.formData)), 3)) : createCommentVNode("", true),
|
|
10105
|
-
createVNode(_sfc_main$
|
|
10161
|
+
createVNode(_sfc_main$B, {
|
|
10106
10162
|
modelValue: formManager.formData[item.prop],
|
|
10107
10163
|
renderFn: item.renderFn,
|
|
10108
10164
|
context: formManager,
|
|
@@ -10131,7 +10187,7 @@ const _sfc_main$d = defineComponent({
|
|
|
10131
10187
|
]),
|
|
10132
10188
|
_: 1
|
|
10133
10189
|
}, 8, ["els", "form", "formManager", "errorProp"]),
|
|
10134
|
-
unref(isRenderColumnToolsSetting) ? (openBlock(), createBlock(_sfc_main$
|
|
10190
|
+
unref(isRenderColumnToolsSetting) ? (openBlock(), createBlock(_sfc_main$f, {
|
|
10135
10191
|
key: 0,
|
|
10136
10192
|
ref_key: "columnToolsSettingRef",
|
|
10137
10193
|
ref: columnToolsSettingRef,
|
|
@@ -10144,8 +10200,8 @@ const _sfc_main$d = defineComponent({
|
|
|
10144
10200
|
};
|
|
10145
10201
|
}
|
|
10146
10202
|
});
|
|
10147
|
-
var PageModelForm = _sfc_main$
|
|
10148
|
-
const _sfc_main$
|
|
10203
|
+
var PageModelForm = _sfc_main$e;
|
|
10204
|
+
const _sfc_main$d = defineComponent({
|
|
10149
10205
|
__name: "index",
|
|
10150
10206
|
props: {
|
|
10151
10207
|
props: {},
|
|
@@ -10229,7 +10285,7 @@ const _sfc_main$c = defineComponent({
|
|
|
10229
10285
|
});
|
|
10230
10286
|
return (_ctx, _cache) => {
|
|
10231
10287
|
const _component_el_button = resolveComponent("el-button");
|
|
10232
|
-
return formVisible.value ? (openBlock(), createBlock(_sfc_main$
|
|
10288
|
+
return formVisible.value ? (openBlock(), createBlock(_sfc_main$A, {
|
|
10233
10289
|
key: 0,
|
|
10234
10290
|
modelValue: formVisible.value,
|
|
10235
10291
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => formVisible.value = $event),
|
|
@@ -10273,7 +10329,7 @@ const _sfc_main$c = defineComponent({
|
|
|
10273
10329
|
}
|
|
10274
10330
|
});
|
|
10275
10331
|
var index_vue_vue_type_style_index_0_lang$3 = "";
|
|
10276
|
-
const _sfc_main$
|
|
10332
|
+
const _sfc_main$c = defineComponent({
|
|
10277
10333
|
__name: "index",
|
|
10278
10334
|
props: {
|
|
10279
10335
|
props: {},
|
|
@@ -10425,7 +10481,7 @@ const _sfc_main$b = defineComponent({
|
|
|
10425
10481
|
});
|
|
10426
10482
|
var index_vue_vue_type_style_index_0_lang$2 = "";
|
|
10427
10483
|
const _hoisted_1$5 = { class: "el-drawer_title" };
|
|
10428
|
-
const _sfc_main$
|
|
10484
|
+
const _sfc_main$b = defineComponent({
|
|
10429
10485
|
__name: "index",
|
|
10430
10486
|
props: {
|
|
10431
10487
|
modelValue: { type: Boolean },
|
|
@@ -10481,7 +10537,7 @@ const _sfc_main$a = defineComponent({
|
|
|
10481
10537
|
};
|
|
10482
10538
|
}
|
|
10483
10539
|
});
|
|
10484
|
-
const _sfc_main$
|
|
10540
|
+
const _sfc_main$a = defineComponent({
|
|
10485
10541
|
__name: "index",
|
|
10486
10542
|
props: {
|
|
10487
10543
|
props: {},
|
|
@@ -10574,7 +10630,7 @@ const _sfc_main$9 = defineComponent({
|
|
|
10574
10630
|
});
|
|
10575
10631
|
return (_ctx, _cache) => {
|
|
10576
10632
|
const _component_el_button = resolveComponent("el-button");
|
|
10577
|
-
return formVisible.value ? (openBlock(), createBlock(_sfc_main$
|
|
10633
|
+
return formVisible.value ? (openBlock(), createBlock(_sfc_main$b, {
|
|
10578
10634
|
key: 0,
|
|
10579
10635
|
ref_key: "formDrawerRef",
|
|
10580
10636
|
ref: formDrawerRef,
|
|
@@ -10620,7 +10676,7 @@ const _sfc_main$9 = defineComponent({
|
|
|
10620
10676
|
};
|
|
10621
10677
|
}
|
|
10622
10678
|
});
|
|
10623
|
-
const _sfc_main$
|
|
10679
|
+
const _sfc_main$9 = defineComponent({
|
|
10624
10680
|
__name: "index",
|
|
10625
10681
|
props: {
|
|
10626
10682
|
form: {},
|
|
@@ -10635,27 +10691,27 @@ const _sfc_main$8 = defineComponent({
|
|
|
10635
10691
|
const mode = (_a = props.form.mode) != null ? _a : "dialog";
|
|
10636
10692
|
if (mode === "dialog") {
|
|
10637
10693
|
return {
|
|
10638
|
-
component: _sfc_main$
|
|
10694
|
+
component: _sfc_main$d,
|
|
10639
10695
|
props: props.form.dialogProps
|
|
10640
10696
|
};
|
|
10641
10697
|
} else if (mode === "fullpage") {
|
|
10642
10698
|
return {
|
|
10643
|
-
component: _sfc_main$
|
|
10699
|
+
component: _sfc_main$c,
|
|
10644
10700
|
props: props.form.fullpageProps
|
|
10645
10701
|
};
|
|
10646
10702
|
} else if (mode === "drawer") {
|
|
10647
10703
|
return {
|
|
10648
|
-
component: _sfc_main$
|
|
10704
|
+
component: _sfc_main$a,
|
|
10649
10705
|
props: props.form.drawerProps
|
|
10650
10706
|
};
|
|
10651
10707
|
} else if (mode === "custom") {
|
|
10652
10708
|
return {
|
|
10653
|
-
component: props.form.formContainer || _sfc_main$
|
|
10709
|
+
component: props.form.formContainer || _sfc_main$d,
|
|
10654
10710
|
props: props.form.formContainerProps
|
|
10655
10711
|
};
|
|
10656
10712
|
} else {
|
|
10657
10713
|
return {
|
|
10658
|
-
component: _sfc_main$
|
|
10714
|
+
component: _sfc_main$d,
|
|
10659
10715
|
props: props.form.dialogProps
|
|
10660
10716
|
};
|
|
10661
10717
|
}
|
|
@@ -10811,9 +10867,9 @@ class FilterTools {
|
|
|
10811
10867
|
this.filterList = [];
|
|
10812
10868
|
}
|
|
10813
10869
|
}
|
|
10814
|
-
var index_vue_vue_type_style_index_0_scoped_true_lang$
|
|
10870
|
+
var index_vue_vue_type_style_index_0_scoped_true_lang$3 = "";
|
|
10815
10871
|
const _hoisted_1$4 = ["onClick"];
|
|
10816
|
-
const _sfc_main$
|
|
10872
|
+
const _sfc_main$8 = defineComponent({
|
|
10817
10873
|
__name: "index",
|
|
10818
10874
|
props: {
|
|
10819
10875
|
manager: {},
|
|
@@ -11053,7 +11109,7 @@ const _sfc_main$7 = defineComponent({
|
|
|
11053
11109
|
};
|
|
11054
11110
|
}
|
|
11055
11111
|
});
|
|
11056
|
-
var FilterZone = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
11112
|
+
var FilterZone = /* @__PURE__ */ _export_sfc(_sfc_main$8, [["__scopeId", "data-v-3b3a557e"]]);
|
|
11057
11113
|
function getDateValue(value) {
|
|
11058
11114
|
return value == null ? void 0 : value.split(" ")[0];
|
|
11059
11115
|
}
|
|
@@ -11147,7 +11203,7 @@ const getFilters = configSaver.getContentItem.bind(configSaver);
|
|
|
11147
11203
|
const __default__$5 = {
|
|
11148
11204
|
name: "FilterTools"
|
|
11149
11205
|
};
|
|
11150
|
-
const _sfc_main$
|
|
11206
|
+
const _sfc_main$7 = defineComponent({
|
|
11151
11207
|
...__default__$5,
|
|
11152
11208
|
props: {
|
|
11153
11209
|
manager: {}
|
|
@@ -11234,6 +11290,363 @@ const _sfc_main$6 = defineComponent({
|
|
|
11234
11290
|
};
|
|
11235
11291
|
}
|
|
11236
11292
|
});
|
|
11293
|
+
var index_vue_vue_type_style_index_0_scoped_true_lang$2 = "";
|
|
11294
|
+
const _sfc_main$6 = defineComponent({
|
|
11295
|
+
__name: "index",
|
|
11296
|
+
props: {
|
|
11297
|
+
manager: {}
|
|
11298
|
+
},
|
|
11299
|
+
emits: ["screen"],
|
|
11300
|
+
setup(__props, { expose: __expose, emit: __emit }) {
|
|
11301
|
+
const props = __props;
|
|
11302
|
+
const emit = __emit;
|
|
11303
|
+
const { BEMSpace, createBEMName } = createBEMSpace("f_z");
|
|
11304
|
+
const filterColumnList = ref([]);
|
|
11305
|
+
const filterList = ref([]);
|
|
11306
|
+
const simplePopoverRef = ref();
|
|
11307
|
+
const showPopover = (element) => {
|
|
11308
|
+
var _a;
|
|
11309
|
+
(_a = simplePopoverRef.value) == null ? void 0 : _a.show(element);
|
|
11310
|
+
const tableManager = props.manager.tableManager;
|
|
11311
|
+
const currentRenderTableEls = tableManager.currentRenderTableEls;
|
|
11312
|
+
filterColumnList.value = currentRenderTableEls.filter(
|
|
11313
|
+
(a) => a.filterable && a.filters
|
|
11314
|
+
);
|
|
11315
|
+
filterList.value = tableManager.columnParamsList.map((item) => {
|
|
11316
|
+
const columnEl = currentRenderTableEls.find((el) => el.prop === item.prop);
|
|
11317
|
+
return {
|
|
11318
|
+
prop: columnEl.prop,
|
|
11319
|
+
filterType: columnEl.filters.filterType,
|
|
11320
|
+
filterLabel: columnEl.filters.filterLabel,
|
|
11321
|
+
filterOptions: columnEl.filters.filterOptions,
|
|
11322
|
+
condition: item.condition,
|
|
11323
|
+
value: item.value
|
|
11324
|
+
};
|
|
11325
|
+
});
|
|
11326
|
+
};
|
|
11327
|
+
const hidePopover = () => {
|
|
11328
|
+
var _a;
|
|
11329
|
+
(_a = simplePopoverRef.value) == null ? void 0 : _a.hide();
|
|
11330
|
+
};
|
|
11331
|
+
const getAddFilterItem = (columnEl) => {
|
|
11332
|
+
const formData = {
|
|
11333
|
+
prop: columnEl.prop,
|
|
11334
|
+
filterType: columnEl.filters.filterType,
|
|
11335
|
+
filterLabel: columnEl.filters.filterLabel,
|
|
11336
|
+
filterOptions: columnEl.filters.filterOptions,
|
|
11337
|
+
condition: FilterMatchModeEnum$1.\u7B49\u4E8E,
|
|
11338
|
+
value: null
|
|
11339
|
+
};
|
|
11340
|
+
if (formData.filterType === FilterItemTypeEnum$1.\u591A\u9009\u503C) {
|
|
11341
|
+
formData.value = [];
|
|
11342
|
+
}
|
|
11343
|
+
return formData;
|
|
11344
|
+
};
|
|
11345
|
+
const handleFieldChange = (index2, prop) => {
|
|
11346
|
+
const columnEl = filterColumnList.value.find((a) => a.prop === prop);
|
|
11347
|
+
const newItem = getAddFilterItem(columnEl);
|
|
11348
|
+
filterList.value[index2] = newItem;
|
|
11349
|
+
};
|
|
11350
|
+
const handleAddItem = () => {
|
|
11351
|
+
if (filterColumnList.value[0]) {
|
|
11352
|
+
filterList.value.push(getAddFilterItem(filterColumnList.value[0]));
|
|
11353
|
+
}
|
|
11354
|
+
};
|
|
11355
|
+
const handleRemoveItem = (index2) => {
|
|
11356
|
+
filterList.value.splice(index2, 1);
|
|
11357
|
+
};
|
|
11358
|
+
const handleClear = () => {
|
|
11359
|
+
filterList.value = [];
|
|
11360
|
+
props.manager.tableManager.columnParamsList = [];
|
|
11361
|
+
hidePopover();
|
|
11362
|
+
emit("screen");
|
|
11363
|
+
};
|
|
11364
|
+
const handleScreen = () => {
|
|
11365
|
+
const list = filterList.value.filter((a) => {
|
|
11366
|
+
var _a;
|
|
11367
|
+
const hasCompare = [
|
|
11368
|
+
FilterItemTypeEnum$1["\u6587\u5B57"],
|
|
11369
|
+
FilterItemTypeEnum$1["\u65E5\u671F"],
|
|
11370
|
+
FilterItemTypeEnum$1["\u6570\u5B57"]
|
|
11371
|
+
].includes(a.filterType);
|
|
11372
|
+
if (hasCompare) {
|
|
11373
|
+
return a.condition && a.value != null;
|
|
11374
|
+
} else {
|
|
11375
|
+
if (a.filterType === FilterItemTypeEnum$1.\u591A\u9009\u503C) {
|
|
11376
|
+
return (_a = a.value) == null ? void 0 : _a.length;
|
|
11377
|
+
} else {
|
|
11378
|
+
return a.value !== null;
|
|
11379
|
+
}
|
|
11380
|
+
}
|
|
11381
|
+
});
|
|
11382
|
+
props.manager.tableManager.columnParamsList = list.map((item) => {
|
|
11383
|
+
return {
|
|
11384
|
+
prop: item.prop,
|
|
11385
|
+
filterType: item.filterType,
|
|
11386
|
+
condition: item.condition,
|
|
11387
|
+
value: item.value
|
|
11388
|
+
};
|
|
11389
|
+
});
|
|
11390
|
+
hidePopover();
|
|
11391
|
+
emit("screen");
|
|
11392
|
+
};
|
|
11393
|
+
__expose({
|
|
11394
|
+
showPopover,
|
|
11395
|
+
hidePopover
|
|
11396
|
+
});
|
|
11397
|
+
return (_ctx, _cache) => {
|
|
11398
|
+
const _component_el_option = resolveComponent("el-option");
|
|
11399
|
+
const _component_el_select = resolveComponent("el-select");
|
|
11400
|
+
const _component_el_input = resolveComponent("el-input");
|
|
11401
|
+
const _component_el_input_number = resolveComponent("el-input-number");
|
|
11402
|
+
const _component_el_date_picker = resolveComponent("el-date-picker");
|
|
11403
|
+
const _component_el_icon = resolveComponent("el-icon");
|
|
11404
|
+
const _component_el_button = resolveComponent("el-button");
|
|
11405
|
+
return openBlock(), createBlock(SimplePopover, {
|
|
11406
|
+
ref_key: "simplePopoverRef",
|
|
11407
|
+
ref: simplePopoverRef,
|
|
11408
|
+
width: 560
|
|
11409
|
+
}, {
|
|
11410
|
+
default: withCtx(() => [
|
|
11411
|
+
createElementVNode("div", {
|
|
11412
|
+
class: normalizeClass(unref(BEMSpace))
|
|
11413
|
+
}, [
|
|
11414
|
+
createElementVNode("div", {
|
|
11415
|
+
class: normalizeClass(unref(createBEMName)("title"))
|
|
11416
|
+
}, "\u7B5B\u9009", 2),
|
|
11417
|
+
createElementVNode("div", {
|
|
11418
|
+
class: normalizeClass(unref(createBEMName)("list"))
|
|
11419
|
+
}, [
|
|
11420
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(filterList.value, (item, index2) => {
|
|
11421
|
+
return openBlock(), createElementBlock("div", {
|
|
11422
|
+
class: normalizeClass(unref(createBEMName)("item")),
|
|
11423
|
+
key: index2
|
|
11424
|
+
}, [
|
|
11425
|
+
createVNode(_component_el_select, {
|
|
11426
|
+
modelValue: item.prop,
|
|
11427
|
+
"onUpdate:modelValue": ($event) => item.prop = $event,
|
|
11428
|
+
class: normalizeClass(unref(createBEMName)("key")),
|
|
11429
|
+
placeholder: "\u7B5B\u9009\u5B57\u6BB5",
|
|
11430
|
+
onChange: ($event) => handleFieldChange(index2, $event)
|
|
11431
|
+
}, {
|
|
11432
|
+
default: withCtx(() => [
|
|
11433
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(filterColumnList.value, (filterItem, iindex) => {
|
|
11434
|
+
return openBlock(), createBlock(_component_el_option, {
|
|
11435
|
+
key: iindex,
|
|
11436
|
+
label: filterItem.label,
|
|
11437
|
+
value: filterItem.prop
|
|
11438
|
+
}, null, 8, ["label", "value"]);
|
|
11439
|
+
}), 128))
|
|
11440
|
+
]),
|
|
11441
|
+
_: 2
|
|
11442
|
+
}, 1032, ["modelValue", "onUpdate:modelValue", "class", "onChange"]),
|
|
11443
|
+
item.filterType === unref(FilterItemTypeEnum$1).\u6587\u5B57 ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
11444
|
+
createVNode(_component_el_select, {
|
|
11445
|
+
modelValue: item.condition,
|
|
11446
|
+
"onUpdate:modelValue": ($event) => item.condition = $event,
|
|
11447
|
+
class: normalizeClass(unref(createBEMName)("operate")),
|
|
11448
|
+
placeholder: "\u7B5B\u9009\u7C7B\u578B"
|
|
11449
|
+
}, {
|
|
11450
|
+
default: withCtx(() => [
|
|
11451
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(unref(compareOptions$1)[item.filterType], (opt) => {
|
|
11452
|
+
return openBlock(), createBlock(_component_el_option, {
|
|
11453
|
+
key: opt.label + opt.value,
|
|
11454
|
+
label: opt.label,
|
|
11455
|
+
value: opt.value
|
|
11456
|
+
}, null, 8, ["label", "value"]);
|
|
11457
|
+
}), 128))
|
|
11458
|
+
]),
|
|
11459
|
+
_: 2
|
|
11460
|
+
}, 1032, ["modelValue", "onUpdate:modelValue", "class"]),
|
|
11461
|
+
createElementVNode("div", {
|
|
11462
|
+
class: normalizeClass(unref(createBEMName)("input"))
|
|
11463
|
+
}, [
|
|
11464
|
+
createVNode(_component_el_input, {
|
|
11465
|
+
modelValue: item.value,
|
|
11466
|
+
"onUpdate:modelValue": ($event) => item.value = $event,
|
|
11467
|
+
placeholder: "\u8BF7\u8F93\u5165",
|
|
11468
|
+
clearable: ""
|
|
11469
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue"])
|
|
11470
|
+
], 2)
|
|
11471
|
+
], 64)) : item.filterType === unref(FilterItemTypeEnum$1).\u6570\u5B57 ? (openBlock(), createElementBlock(Fragment, { key: 1 }, [
|
|
11472
|
+
createVNode(_component_el_select, {
|
|
11473
|
+
modelValue: item.condition,
|
|
11474
|
+
"onUpdate:modelValue": ($event) => item.condition = $event,
|
|
11475
|
+
class: normalizeClass(unref(createBEMName)("operate")),
|
|
11476
|
+
placeholder: "\u7B5B\u9009\u7C7B\u578B"
|
|
11477
|
+
}, {
|
|
11478
|
+
default: withCtx(() => [
|
|
11479
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(unref(compareOptions$1)[item.filterType], (opt, iindex) => {
|
|
11480
|
+
return openBlock(), createBlock(_component_el_option, {
|
|
11481
|
+
key: opt.label + opt.value,
|
|
11482
|
+
label: opt.label,
|
|
11483
|
+
value: opt.value
|
|
11484
|
+
}, null, 8, ["label", "value"]);
|
|
11485
|
+
}), 128))
|
|
11486
|
+
]),
|
|
11487
|
+
_: 2
|
|
11488
|
+
}, 1032, ["modelValue", "onUpdate:modelValue", "class"]),
|
|
11489
|
+
createElementVNode("div", {
|
|
11490
|
+
class: normalizeClass(unref(createBEMName)("input"))
|
|
11491
|
+
}, [
|
|
11492
|
+
createVNode(_component_el_input_number, {
|
|
11493
|
+
modelValue: item.value,
|
|
11494
|
+
"onUpdate:modelValue": ($event) => item.value = $event,
|
|
11495
|
+
"controls-position": "right",
|
|
11496
|
+
clearable: "",
|
|
11497
|
+
placeholder: "\u8BF7\u8F93\u5165"
|
|
11498
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue"])
|
|
11499
|
+
], 2)
|
|
11500
|
+
], 64)) : item.filterType === unref(FilterItemTypeEnum$1).\u65E5\u671F ? (openBlock(), createElementBlock(Fragment, { key: 2 }, [
|
|
11501
|
+
createVNode(_component_el_select, {
|
|
11502
|
+
modelValue: item.condition,
|
|
11503
|
+
"onUpdate:modelValue": ($event) => item.condition = $event,
|
|
11504
|
+
class: normalizeClass(unref(createBEMName)("operate")),
|
|
11505
|
+
placeholder: "\u7B5B\u9009\u7C7B\u578B"
|
|
11506
|
+
}, {
|
|
11507
|
+
default: withCtx(() => [
|
|
11508
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(unref(compareOptions$1)[item.filterType], (opt, iindex) => {
|
|
11509
|
+
return openBlock(), createBlock(_component_el_option, {
|
|
11510
|
+
key: opt.label + opt.value,
|
|
11511
|
+
label: opt.label,
|
|
11512
|
+
value: opt.value
|
|
11513
|
+
}, null, 8, ["label", "value"]);
|
|
11514
|
+
}), 128))
|
|
11515
|
+
]),
|
|
11516
|
+
_: 2
|
|
11517
|
+
}, 1032, ["modelValue", "onUpdate:modelValue", "class"]),
|
|
11518
|
+
createElementVNode("div", {
|
|
11519
|
+
class: normalizeClass(unref(createBEMName)("input"))
|
|
11520
|
+
}, [
|
|
11521
|
+
createVNode(_component_el_date_picker, {
|
|
11522
|
+
modelValue: item.value,
|
|
11523
|
+
"onUpdate:modelValue": ($event) => item.value = $event,
|
|
11524
|
+
placeholder: "\u8BF7\u9009\u62E9\u65E5\u671F",
|
|
11525
|
+
"value-format": "YYYY-MM-DD",
|
|
11526
|
+
clearable: ""
|
|
11527
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue"])
|
|
11528
|
+
], 2)
|
|
11529
|
+
], 64)) : item.filterType === unref(FilterItemTypeEnum$1).\u5E03\u5C14\u503C ? (openBlock(), createElementBlock("div", {
|
|
11530
|
+
key: 3,
|
|
11531
|
+
class: normalizeClass(unref(createBEMName)("input"))
|
|
11532
|
+
}, [
|
|
11533
|
+
createVNode(_component_el_select, {
|
|
11534
|
+
modelValue: item.value,
|
|
11535
|
+
"onUpdate:modelValue": ($event) => item.value = $event,
|
|
11536
|
+
placeholder: "\u8BF7\u9009\u62E9"
|
|
11537
|
+
}, {
|
|
11538
|
+
default: withCtx(() => [
|
|
11539
|
+
createVNode(_component_el_option, {
|
|
11540
|
+
label: "\u662F",
|
|
11541
|
+
value: true
|
|
11542
|
+
}),
|
|
11543
|
+
createVNode(_component_el_option, {
|
|
11544
|
+
label: "\u5426",
|
|
11545
|
+
value: false
|
|
11546
|
+
})
|
|
11547
|
+
]),
|
|
11548
|
+
_: 2
|
|
11549
|
+
}, 1032, ["modelValue", "onUpdate:modelValue"])
|
|
11550
|
+
], 2)) : item.filterType === unref(FilterItemTypeEnum$1).\u5355\u9009\u503C ? (openBlock(), createElementBlock("div", {
|
|
11551
|
+
key: 4,
|
|
11552
|
+
class: normalizeClass(unref(createBEMName)("input"))
|
|
11553
|
+
}, [
|
|
11554
|
+
createVNode(_component_el_select, {
|
|
11555
|
+
modelValue: item.value,
|
|
11556
|
+
"onUpdate:modelValue": ($event) => item.value = $event,
|
|
11557
|
+
filterable: "",
|
|
11558
|
+
placeholder: "\u8BF7\u9009\u62E9"
|
|
11559
|
+
}, {
|
|
11560
|
+
default: withCtx(() => [
|
|
11561
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(item.filterOptions, (opt, index22) => {
|
|
11562
|
+
return openBlock(), createBlock(_component_el_option, {
|
|
11563
|
+
key: index22,
|
|
11564
|
+
style: { "width": "100%" },
|
|
11565
|
+
label: opt.label,
|
|
11566
|
+
value: opt.value
|
|
11567
|
+
}, null, 8, ["label", "value"]);
|
|
11568
|
+
}), 128))
|
|
11569
|
+
]),
|
|
11570
|
+
_: 2
|
|
11571
|
+
}, 1032, ["modelValue", "onUpdate:modelValue"])
|
|
11572
|
+
], 2)) : item.filterType === unref(FilterItemTypeEnum$1).\u591A\u9009\u503C ? (openBlock(), createElementBlock("div", {
|
|
11573
|
+
key: 5,
|
|
11574
|
+
class: normalizeClass(unref(createBEMName)("input"))
|
|
11575
|
+
}, [
|
|
11576
|
+
createVNode(_component_el_select, {
|
|
11577
|
+
modelValue: item.value,
|
|
11578
|
+
"onUpdate:modelValue": ($event) => item.value = $event,
|
|
11579
|
+
multiple: "",
|
|
11580
|
+
filterable: "",
|
|
11581
|
+
placeholder: "\u8BF7\u9009\u62E9"
|
|
11582
|
+
}, {
|
|
11583
|
+
default: withCtx(() => [
|
|
11584
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(item.filterOptions, (opt, index22) => {
|
|
11585
|
+
return openBlock(), createBlock(_component_el_option, {
|
|
11586
|
+
key: index22,
|
|
11587
|
+
style: { "width": "100%" },
|
|
11588
|
+
label: opt.label,
|
|
11589
|
+
value: opt.value
|
|
11590
|
+
}, null, 8, ["label", "value"]);
|
|
11591
|
+
}), 128))
|
|
11592
|
+
]),
|
|
11593
|
+
_: 2
|
|
11594
|
+
}, 1032, ["modelValue", "onUpdate:modelValue"])
|
|
11595
|
+
], 2)) : createCommentVNode("", true),
|
|
11596
|
+
createVNode(_component_el_icon, {
|
|
11597
|
+
size: 18,
|
|
11598
|
+
class: normalizeClass(unref(createBEMName)("remove-icon")),
|
|
11599
|
+
title: "\u79FB\u9664\u8BE5\u9879",
|
|
11600
|
+
onClick: ($event) => handleRemoveItem(index2)
|
|
11601
|
+
}, {
|
|
11602
|
+
default: withCtx(() => [
|
|
11603
|
+
createVNode(unref(remove))
|
|
11604
|
+
]),
|
|
11605
|
+
_: 2
|
|
11606
|
+
}, 1032, ["class", "onClick"])
|
|
11607
|
+
], 2);
|
|
11608
|
+
}), 128))
|
|
11609
|
+
], 2),
|
|
11610
|
+
createElementVNode("div", {
|
|
11611
|
+
class: normalizeClass(unref(createBEMName)("actions"))
|
|
11612
|
+
}, [
|
|
11613
|
+
createVNode(_component_el_button, {
|
|
11614
|
+
type: "primary",
|
|
11615
|
+
link: "",
|
|
11616
|
+
icon: unref(circlePlus),
|
|
11617
|
+
onClick: handleAddItem
|
|
11618
|
+
}, {
|
|
11619
|
+
default: withCtx(() => [
|
|
11620
|
+
createTextVNode("\u6DFB\u52A0\u7B5B\u9009\u6761\u4EF6")
|
|
11621
|
+
]),
|
|
11622
|
+
_: 1
|
|
11623
|
+
}, 8, ["icon"]),
|
|
11624
|
+
createElementVNode("div", null, [
|
|
11625
|
+
createVNode(_component_el_button, { onClick: handleClear }, {
|
|
11626
|
+
default: withCtx(() => [
|
|
11627
|
+
createTextVNode("\u6E05\u7A7A\u503C")
|
|
11628
|
+
]),
|
|
11629
|
+
_: 1
|
|
11630
|
+
}),
|
|
11631
|
+
createVNode(_component_el_button, {
|
|
11632
|
+
type: "primary",
|
|
11633
|
+
onClick: handleScreen
|
|
11634
|
+
}, {
|
|
11635
|
+
default: withCtx(() => [
|
|
11636
|
+
createTextVNode("\u7B5B\u9009")
|
|
11637
|
+
]),
|
|
11638
|
+
_: 1
|
|
11639
|
+
})
|
|
11640
|
+
])
|
|
11641
|
+
], 2)
|
|
11642
|
+
], 2)
|
|
11643
|
+
]),
|
|
11644
|
+
_: 1
|
|
11645
|
+
}, 512);
|
|
11646
|
+
};
|
|
11647
|
+
}
|
|
11648
|
+
});
|
|
11649
|
+
var ColumnFilterTools = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["__scopeId", "data-v-497856a9"]]);
|
|
11237
11650
|
var index_vue_vue_type_style_index_0_scoped_true_lang$1 = "";
|
|
11238
11651
|
const _hoisted_1$3 = { class: "table-toolbox" };
|
|
11239
11652
|
const _hoisted_2$2 = ["onClick"];
|
|
@@ -11273,10 +11686,17 @@ const _sfc_main$5 = defineComponent({
|
|
|
11273
11686
|
event: "show-column-tool",
|
|
11274
11687
|
desc: "",
|
|
11275
11688
|
bg: false
|
|
11689
|
+
},
|
|
11690
|
+
filter: {
|
|
11691
|
+
icon: filter,
|
|
11692
|
+
text: "\u7B5B\u9009",
|
|
11693
|
+
event: "filter",
|
|
11694
|
+
desc: "",
|
|
11695
|
+
bg: false
|
|
11276
11696
|
}
|
|
11277
11697
|
};
|
|
11278
11698
|
const showToolbox = computed(() => {
|
|
11279
|
-
const _innerTools = props.toolbox ? props.toolbox.map((toolKey) => innerTools[toolKey]).map((item) => {
|
|
11699
|
+
const _innerTools = props.toolbox ? props.toolbox.map((toolKey) => innerTools[toolKey]).filter((a) => a).map((item) => {
|
|
11280
11700
|
var _a, _b;
|
|
11281
11701
|
let desc = "";
|
|
11282
11702
|
let bg = false;
|
|
@@ -11285,6 +11705,11 @@ const _sfc_main$5 = defineComponent({
|
|
|
11285
11705
|
bg = props.tableManager.hiddeenFieldCount > 0;
|
|
11286
11706
|
} else if (item.event === "fullscreen") {
|
|
11287
11707
|
bg = (_b = (_a = props.tableManager) == null ? void 0 : _a.manager) == null ? void 0 : _b.isTableFullscreen;
|
|
11708
|
+
} else if (item.event === "filter" && props.tableManager) {
|
|
11709
|
+
if (props.tableManager.columnParamsList.length) {
|
|
11710
|
+
desc = `(${props.tableManager.columnParamsList.length})`;
|
|
11711
|
+
bg = true;
|
|
11712
|
+
}
|
|
11288
11713
|
}
|
|
11289
11714
|
return {
|
|
11290
11715
|
...item,
|
|
@@ -11351,7 +11776,7 @@ const _sfc_main$5 = defineComponent({
|
|
|
11351
11776
|
};
|
|
11352
11777
|
}
|
|
11353
11778
|
});
|
|
11354
|
-
var TableToolsbox = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["__scopeId", "data-v-
|
|
11779
|
+
var TableToolsbox = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["__scopeId", "data-v-99e15350"]]);
|
|
11355
11780
|
function patchConfig(config, patches) {
|
|
11356
11781
|
return patches.reduce((memoConfig, patchFn) => {
|
|
11357
11782
|
return patchFn.call(this, memoConfig);
|
|
@@ -11840,7 +12265,11 @@ const _sfc_main$4 = defineComponent({
|
|
|
11840
12265
|
manager.isTableFullscreen = isTableFullscreen.value;
|
|
11841
12266
|
};
|
|
11842
12267
|
const handleShowColumnTool = (item, e) => {
|
|
11843
|
-
pageModelTableRef.value.
|
|
12268
|
+
pageModelTableRef.value.showColumnToolSimplePopover(e.currentTarget);
|
|
12269
|
+
};
|
|
12270
|
+
const columnFilterToolsRef = ref();
|
|
12271
|
+
const handleShowFilter = (item, e) => {
|
|
12272
|
+
columnFilterToolsRef.value.showPopover(e.currentTarget);
|
|
11844
12273
|
};
|
|
11845
12274
|
const handleToolboxCustomEvent = (eventName, item, event) => {
|
|
11846
12275
|
switch (eventName) {
|
|
@@ -11853,11 +12282,17 @@ const _sfc_main$4 = defineComponent({
|
|
|
11853
12282
|
case "show-column-tool":
|
|
11854
12283
|
handleShowColumnTool(item, event);
|
|
11855
12284
|
break;
|
|
12285
|
+
case "filter":
|
|
12286
|
+
handleShowFilter(item, event);
|
|
12287
|
+
break;
|
|
11856
12288
|
default:
|
|
11857
12289
|
emitCustomEvent(eventName);
|
|
11858
12290
|
break;
|
|
11859
12291
|
}
|
|
11860
12292
|
};
|
|
12293
|
+
const handleColumnToolsFilter = () => {
|
|
12294
|
+
pageModelTableRef.value.handleColumnScreen();
|
|
12295
|
+
};
|
|
11861
12296
|
__expose({
|
|
11862
12297
|
manager,
|
|
11863
12298
|
doTableLayout,
|
|
@@ -11890,6 +12325,7 @@ const _sfc_main$4 = defineComponent({
|
|
|
11890
12325
|
setFormTabsActiveName
|
|
11891
12326
|
});
|
|
11892
12327
|
return (_ctx, _cache) => {
|
|
12328
|
+
var _a, _b;
|
|
11893
12329
|
const _component_el_scrollbar = resolveComponent("el-scrollbar");
|
|
11894
12330
|
return openBlock(), createElementBlock("div", {
|
|
11895
12331
|
class: normalizeClass([
|
|
@@ -11912,7 +12348,7 @@ const _sfc_main$4 = defineComponent({
|
|
|
11912
12348
|
key: 0,
|
|
11913
12349
|
class: normalizeClass(unref(createBEMName)("top-tabs"))
|
|
11914
12350
|
}, [
|
|
11915
|
-
hasTabs.value ? (openBlock(), createBlock(_sfc_main$
|
|
12351
|
+
hasTabs.value ? (openBlock(), createBlock(_sfc_main$Z, {
|
|
11916
12352
|
key: 0,
|
|
11917
12353
|
tabs: uConfig.value.tabs,
|
|
11918
12354
|
manager,
|
|
@@ -11928,7 +12364,7 @@ const _sfc_main$4 = defineComponent({
|
|
|
11928
12364
|
key: 1,
|
|
11929
12365
|
class: normalizeClass(unref(createBEMName)("search"))
|
|
11930
12366
|
}, [
|
|
11931
|
-
createVNode(_sfc_main$
|
|
12367
|
+
createVNode(_sfc_main$y, {
|
|
11932
12368
|
ref_key: "searchFormRef",
|
|
11933
12369
|
ref: searchFormRef,
|
|
11934
12370
|
manager
|
|
@@ -11980,7 +12416,7 @@ const _sfc_main$4 = defineComponent({
|
|
|
11980
12416
|
createElementVNode("div", null, [
|
|
11981
12417
|
renderSlot(_ctx.$slots, "selectable-right")
|
|
11982
12418
|
]),
|
|
11983
|
-
hasFilterTools.value ? (openBlock(), createBlock(_sfc_main$
|
|
12419
|
+
hasFilterTools.value ? (openBlock(), createBlock(_sfc_main$7, {
|
|
11984
12420
|
key: 0,
|
|
11985
12421
|
manager,
|
|
11986
12422
|
onScreen: handleInnerScreen
|
|
@@ -11996,7 +12432,7 @@ const _sfc_main$4 = defineComponent({
|
|
|
11996
12432
|
createElementVNode("div", {
|
|
11997
12433
|
class: normalizeClass(unref(createBEMName)("main"))
|
|
11998
12434
|
}, [
|
|
11999
|
-
createVNode(_sfc_main$
|
|
12435
|
+
createVNode(_sfc_main$l, {
|
|
12000
12436
|
ref_key: "pageModelTableRef",
|
|
12001
12437
|
ref: pageModelTableRef,
|
|
12002
12438
|
manager,
|
|
@@ -12016,7 +12452,7 @@ const _sfc_main$4 = defineComponent({
|
|
|
12016
12452
|
}, 8, ["manager"])
|
|
12017
12453
|
], 2)
|
|
12018
12454
|
], 2),
|
|
12019
|
-
uConfig.value.hasForm && Boolean(uConfig.value.form) ? (openBlock(), createBlock(_sfc_main$
|
|
12455
|
+
uConfig.value.hasForm && Boolean(uConfig.value.form) ? (openBlock(), createBlock(_sfc_main$9, {
|
|
12020
12456
|
key: 1,
|
|
12021
12457
|
form: uConfig.value.form,
|
|
12022
12458
|
formManager: manager.formManager,
|
|
@@ -12037,13 +12473,20 @@ const _sfc_main$4 = defineComponent({
|
|
|
12037
12473
|
]),
|
|
12038
12474
|
_: 3
|
|
12039
12475
|
}, 8, ["form", "formManager"])) : createCommentVNode("", true),
|
|
12040
|
-
unref(isRenderColumnToolsSetting) ? (openBlock(), createBlock(_sfc_main$
|
|
12476
|
+
unref(isRenderColumnToolsSetting) ? (openBlock(), createBlock(_sfc_main$f, {
|
|
12041
12477
|
key: 2,
|
|
12042
12478
|
ref_key: "columnToolsSettingRef",
|
|
12043
12479
|
ref: columnToolsSettingRef,
|
|
12044
12480
|
onClosed: unref(onColumnToolsSettingClosed),
|
|
12045
12481
|
onSubmit: handleFormColumnToolsSubmit
|
|
12046
|
-
}, null, 8, ["onClosed"])) : createCommentVNode("", true)
|
|
12482
|
+
}, null, 8, ["onClosed"])) : createCommentVNode("", true),
|
|
12483
|
+
((_b = (_a = _ctx.config.table) == null ? void 0 : _a.toolbox) == null ? void 0 : _b.includes("filter")) ? (openBlock(), createBlock(ColumnFilterTools, {
|
|
12484
|
+
key: 3,
|
|
12485
|
+
ref_key: "columnFilterToolsRef",
|
|
12486
|
+
ref: columnFilterToolsRef,
|
|
12487
|
+
manager,
|
|
12488
|
+
onScreen: handleColumnToolsFilter
|
|
12489
|
+
}, null, 8, ["manager"])) : createCommentVNode("", true)
|
|
12047
12490
|
], 64))
|
|
12048
12491
|
], 6);
|
|
12049
12492
|
};
|
|
@@ -12187,7 +12630,7 @@ const _sfc_main$2 = defineComponent({
|
|
|
12187
12630
|
const _component_el_radio_button = resolveComponent("el-radio-button");
|
|
12188
12631
|
const _component_el_radio_group = resolveComponent("el-radio-group");
|
|
12189
12632
|
const _component_el_button = resolveComponent("el-button");
|
|
12190
|
-
return openBlock(), createBlock(_sfc_main$
|
|
12633
|
+
return openBlock(), createBlock(_sfc_main$A, {
|
|
12191
12634
|
modelValue: visible.value,
|
|
12192
12635
|
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => visible.value = $event),
|
|
12193
12636
|
title: "\u7F16\u8F91\u8868\u683C",
|
|
@@ -12230,7 +12673,7 @@ const _sfc_main$2 = defineComponent({
|
|
|
12230
12673
|
], 2);
|
|
12231
12674
|
}), 128))
|
|
12232
12675
|
], 2),
|
|
12233
|
-
createVNode(_sfc_main$
|
|
12676
|
+
createVNode(_sfc_main$t, {
|
|
12234
12677
|
modelValue: innerEls.value,
|
|
12235
12678
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => innerEls.value = $event),
|
|
12236
12679
|
"item-key": "_key"
|
|
@@ -12394,7 +12837,7 @@ const _sfc_main$1 = defineComponent({
|
|
|
12394
12837
|
createElementVNode("div", {
|
|
12395
12838
|
class: normalizeClass(unref(createBEMName)("list"))
|
|
12396
12839
|
}, [
|
|
12397
|
-
createVNode(_sfc_main$
|
|
12840
|
+
createVNode(_sfc_main$t, {
|
|
12398
12841
|
modelValue: innerEls.value,
|
|
12399
12842
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => innerEls.value = $event),
|
|
12400
12843
|
class: normalizeClass(unref(BEMSpace)),
|
|
@@ -12857,7 +13300,7 @@ const _sfc_main = defineComponent({
|
|
|
12857
13300
|
}, {
|
|
12858
13301
|
default: withCtx(() => [
|
|
12859
13302
|
_ctx.alwaysShowEdit || isCurrentRowFocus($index) ? (openBlock(), createElementBlock("div", _hoisted_5, [
|
|
12860
|
-
createVNode(_sfc_main$
|
|
13303
|
+
createVNode(_sfc_main$x, {
|
|
12861
13304
|
"render-fn": column.renderFn,
|
|
12862
13305
|
pure: "",
|
|
12863
13306
|
row,
|
|
@@ -12911,7 +13354,7 @@ const _sfc_main = defineComponent({
|
|
|
12911
13354
|
}, 16, ["data"]),
|
|
12912
13355
|
bottomActions.value.length || hasSlots.value ? (openBlock(), createElementBlock("div", _hoisted_7, [
|
|
12913
13356
|
renderSlot(_ctx.$slots, "action-prefix", {}, void 0, true),
|
|
12914
|
-
createVNode(_sfc_main$
|
|
13357
|
+
createVNode(_sfc_main$D, {
|
|
12915
13358
|
els: bottomActions.value,
|
|
12916
13359
|
onCustom: handleBottomActionsEvent
|
|
12917
13360
|
}, null, 8, ["els"]),
|
|
@@ -13007,4 +13450,4 @@ const ModelComponent = {
|
|
|
13007
13450
|
saveTableColumns(content);
|
|
13008
13451
|
}
|
|
13009
13452
|
};
|
|
13010
|
-
export { _sfc_main$
|
|
13453
|
+
export { _sfc_main$D as ButtonsRenderer, _sfc_main$t as DraggableList, index as EditableTable, _sfc_main$A as FormDialog, _sfc_main$b as FormDrawer, PageModelForm, _sfc_main$x as TableCellRenderer, _sfc_main$s as TableColumnSetting, columnTools, ModelComponent as default, defineConfig, defineEditableTable, defineForm };
|