@juzhenfe/page-model 3.9.49 → 3.10.0
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/page-model/type.d.ts +0 -12
- package/dist/components/search-form/type.d.ts +0 -5
- package/dist/components/table/type.d.ts +9 -0
- package/dist/components/table-toolsbox/index.vue.d.ts +31 -11
- package/dist/index.es.js +304 -370
- package/dist/index.min.css +1 -1
- package/dist/index.umd.js +3 -3
- package/dist/main.d.ts +1 -3
- package/package.json +1 -1
- package/dist/components/action-tools/index.vue.d.ts +0 -81
- package/dist/components/action-tools/type.d.ts +0 -10
- package/dist/components/page-model/patches/pach-filter-creator.d.ts +0 -5
- package/dist/components/page-model/patches/pach-scenes-creator.d.ts +0 -5
- package/dist/components/page-model/patches/patch-action.d.ts +0 -2
package/dist/index.es.js
CHANGED
|
@@ -9,30 +9,6 @@ import { ElMessage, ElLoading, ElMessageBox } from "element-plus";
|
|
|
9
9
|
function defineConfig(config) {
|
|
10
10
|
return reactive(config);
|
|
11
11
|
}
|
|
12
|
-
const patchFilterCreator = (opt) => {
|
|
13
|
-
return function(config) {
|
|
14
|
-
if (config.searchForm) {
|
|
15
|
-
config.searchForm.useFilter = true;
|
|
16
|
-
config.searchForm.filters = {
|
|
17
|
-
url: opt.url
|
|
18
|
-
};
|
|
19
|
-
}
|
|
20
|
-
return config;
|
|
21
|
-
};
|
|
22
|
-
};
|
|
23
|
-
const patchScenesCreator = (opt) => {
|
|
24
|
-
return function(config) {
|
|
25
|
-
let tabs = config.tabs;
|
|
26
|
-
if (!tabs) {
|
|
27
|
-
tabs = {};
|
|
28
|
-
}
|
|
29
|
-
tabs.useScene = true;
|
|
30
|
-
tabs.sceneTab = {
|
|
31
|
-
url: opt.url
|
|
32
|
-
};
|
|
33
|
-
return config;
|
|
34
|
-
};
|
|
35
|
-
};
|
|
36
12
|
const createBEMSpace = (space) => {
|
|
37
13
|
return {
|
|
38
14
|
BEMSpace: space,
|
|
@@ -206,11 +182,11 @@ const randomStr = (len = 16) => {
|
|
|
206
182
|
}).join("");
|
|
207
183
|
};
|
|
208
184
|
const _hoisted_1$x = { class: "scenes-tab" };
|
|
209
|
-
const __default__$
|
|
185
|
+
const __default__$o = {
|
|
210
186
|
name: "ScenesTab"
|
|
211
187
|
};
|
|
212
|
-
const _sfc_main$
|
|
213
|
-
...__default__$
|
|
188
|
+
const _sfc_main$Y = defineComponent({
|
|
189
|
+
...__default__$o,
|
|
214
190
|
setup(__props, { expose: __expose }) {
|
|
215
191
|
const getValue2 = () => {
|
|
216
192
|
return {};
|
|
@@ -224,11 +200,11 @@ const _sfc_main$Z = defineComponent({
|
|
|
224
200
|
}
|
|
225
201
|
});
|
|
226
202
|
var index_vue_vue_type_style_index_0_lang$d = "";
|
|
227
|
-
const __default__$
|
|
203
|
+
const __default__$n = {
|
|
228
204
|
name: "NormalTab"
|
|
229
205
|
};
|
|
230
|
-
const _sfc_main$
|
|
231
|
-
...__default__$
|
|
206
|
+
const _sfc_main$X = defineComponent({
|
|
207
|
+
...__default__$n,
|
|
232
208
|
props: {
|
|
233
209
|
panes: {},
|
|
234
210
|
props: {}
|
|
@@ -1448,11 +1424,11 @@ class TopTabsManager extends IManager {
|
|
|
1448
1424
|
}
|
|
1449
1425
|
}
|
|
1450
1426
|
var index_vue_vue_type_style_index_0_lang$c = "";
|
|
1451
|
-
const __default__$
|
|
1427
|
+
const __default__$m = {
|
|
1452
1428
|
name: "TopTabs"
|
|
1453
1429
|
};
|
|
1454
|
-
const _sfc_main$
|
|
1455
|
-
...__default__$
|
|
1430
|
+
const _sfc_main$W = defineComponent({
|
|
1431
|
+
...__default__$m,
|
|
1456
1432
|
props: {
|
|
1457
1433
|
tabs: {},
|
|
1458
1434
|
manager: {}
|
|
@@ -1472,12 +1448,12 @@ const _sfc_main$X = defineComponent({
|
|
|
1472
1448
|
const tabComponent = computed(() => {
|
|
1473
1449
|
if (props.tabs.useScene) {
|
|
1474
1450
|
return {
|
|
1475
|
-
component: _sfc_main$
|
|
1451
|
+
component: _sfc_main$Y,
|
|
1476
1452
|
props: props.tabs.sceneTab
|
|
1477
1453
|
};
|
|
1478
1454
|
} else {
|
|
1479
1455
|
return {
|
|
1480
|
-
component: _sfc_main$
|
|
1456
|
+
component: _sfc_main$X,
|
|
1481
1457
|
props: {
|
|
1482
1458
|
panes: props.tabs.panes,
|
|
1483
1459
|
props: props.tabs.props
|
|
@@ -2101,7 +2077,7 @@ var _export_sfc$1 = (sfc, props) => {
|
|
|
2101
2077
|
}
|
|
2102
2078
|
return target;
|
|
2103
2079
|
};
|
|
2104
|
-
const _sfc_main$
|
|
2080
|
+
const _sfc_main$V = defineComponent({
|
|
2105
2081
|
name: "ArrowDownBold"
|
|
2106
2082
|
});
|
|
2107
2083
|
const _hoisted_1$w = {
|
|
@@ -2111,18 +2087,18 @@ const _hoisted_1$w = {
|
|
|
2111
2087
|
viewBox: "0 0 1024 1024",
|
|
2112
2088
|
xmlns: "http://www.w3.org/2000/svg"
|
|
2113
2089
|
};
|
|
2114
|
-
const _hoisted_2$
|
|
2090
|
+
const _hoisted_2$q = /* @__PURE__ */ createElementVNode("path", {
|
|
2115
2091
|
fill: "currentColor",
|
|
2116
2092
|
d: "M104.704 338.752a64 64 0 0190.496 0l316.8 316.8 316.8-316.8a64 64 0 0190.496 90.496L557.248 791.296a64 64 0 01-90.496 0L104.704 429.248a64 64 0 010-90.496z"
|
|
2117
2093
|
}, null, -1);
|
|
2118
2094
|
const _hoisted_3$o = [
|
|
2119
|
-
_hoisted_2$
|
|
2095
|
+
_hoisted_2$q
|
|
2120
2096
|
];
|
|
2121
2097
|
function _sfc_render$j(_ctx, _cache, $props, $setup, $data, $options) {
|
|
2122
2098
|
return openBlock(), createElementBlock("svg", _hoisted_1$w, _hoisted_3$o);
|
|
2123
2099
|
}
|
|
2124
|
-
var arrowDownBold = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
2125
|
-
const _sfc_main$
|
|
2100
|
+
var arrowDownBold = /* @__PURE__ */ _export_sfc$1(_sfc_main$V, [["render", _sfc_render$j]]);
|
|
2101
|
+
const _sfc_main$U = defineComponent({
|
|
2126
2102
|
name: "ArrowDown"
|
|
2127
2103
|
});
|
|
2128
2104
|
const _hoisted_1$v = {
|
|
@@ -2132,18 +2108,18 @@ const _hoisted_1$v = {
|
|
|
2132
2108
|
viewBox: "0 0 1024 1024",
|
|
2133
2109
|
xmlns: "http://www.w3.org/2000/svg"
|
|
2134
2110
|
};
|
|
2135
|
-
const _hoisted_2$
|
|
2111
|
+
const _hoisted_2$p = /* @__PURE__ */ createElementVNode("path", {
|
|
2136
2112
|
fill: "currentColor",
|
|
2137
2113
|
d: "M831.872 340.864L512 652.672 192.128 340.864a30.592 30.592 0 00-42.752 0 29.12 29.12 0 000 41.6L489.664 714.24a32 32 0 0044.672 0l340.288-331.712a29.12 29.12 0 000-41.728 30.592 30.592 0 00-42.752 0z"
|
|
2138
2114
|
}, null, -1);
|
|
2139
2115
|
const _hoisted_3$n = [
|
|
2140
|
-
_hoisted_2$
|
|
2116
|
+
_hoisted_2$p
|
|
2141
2117
|
];
|
|
2142
2118
|
function _sfc_render$i(_ctx, _cache, $props, $setup, $data, $options) {
|
|
2143
2119
|
return openBlock(), createElementBlock("svg", _hoisted_1$v, _hoisted_3$n);
|
|
2144
2120
|
}
|
|
2145
|
-
var arrowDown = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
2146
|
-
const _sfc_main$
|
|
2121
|
+
var arrowDown = /* @__PURE__ */ _export_sfc$1(_sfc_main$U, [["render", _sfc_render$i]]);
|
|
2122
|
+
const _sfc_main$T = defineComponent({
|
|
2147
2123
|
name: "CaretBottom"
|
|
2148
2124
|
});
|
|
2149
2125
|
const _hoisted_1$u = {
|
|
@@ -2153,18 +2129,18 @@ const _hoisted_1$u = {
|
|
|
2153
2129
|
viewBox: "0 0 1024 1024",
|
|
2154
2130
|
xmlns: "http://www.w3.org/2000/svg"
|
|
2155
2131
|
};
|
|
2156
|
-
const _hoisted_2$
|
|
2132
|
+
const _hoisted_2$o = /* @__PURE__ */ createElementVNode("path", {
|
|
2157
2133
|
fill: "currentColor",
|
|
2158
2134
|
d: "M192 384l320 384 320-384z"
|
|
2159
2135
|
}, null, -1);
|
|
2160
2136
|
const _hoisted_3$m = [
|
|
2161
|
-
_hoisted_2$
|
|
2137
|
+
_hoisted_2$o
|
|
2162
2138
|
];
|
|
2163
2139
|
function _sfc_render$h(_ctx, _cache, $props, $setup, $data, $options) {
|
|
2164
2140
|
return openBlock(), createElementBlock("svg", _hoisted_1$u, _hoisted_3$m);
|
|
2165
2141
|
}
|
|
2166
|
-
var caretBottom = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
2167
|
-
const _sfc_main$
|
|
2142
|
+
var caretBottom = /* @__PURE__ */ _export_sfc$1(_sfc_main$T, [["render", _sfc_render$h]]);
|
|
2143
|
+
const _sfc_main$S = defineComponent({
|
|
2168
2144
|
name: "CaretRight"
|
|
2169
2145
|
});
|
|
2170
2146
|
const _hoisted_1$t = {
|
|
@@ -2174,18 +2150,18 @@ const _hoisted_1$t = {
|
|
|
2174
2150
|
viewBox: "0 0 1024 1024",
|
|
2175
2151
|
xmlns: "http://www.w3.org/2000/svg"
|
|
2176
2152
|
};
|
|
2177
|
-
const _hoisted_2$
|
|
2153
|
+
const _hoisted_2$n = /* @__PURE__ */ createElementVNode("path", {
|
|
2178
2154
|
fill: "currentColor",
|
|
2179
2155
|
d: "M384 192v640l384-320.064z"
|
|
2180
2156
|
}, null, -1);
|
|
2181
2157
|
const _hoisted_3$l = [
|
|
2182
|
-
_hoisted_2$
|
|
2158
|
+
_hoisted_2$n
|
|
2183
2159
|
];
|
|
2184
2160
|
function _sfc_render$g(_ctx, _cache, $props, $setup, $data, $options) {
|
|
2185
2161
|
return openBlock(), createElementBlock("svg", _hoisted_1$t, _hoisted_3$l);
|
|
2186
2162
|
}
|
|
2187
|
-
var caretRight = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
2188
|
-
const _sfc_main$
|
|
2163
|
+
var caretRight = /* @__PURE__ */ _export_sfc$1(_sfc_main$S, [["render", _sfc_render$g]]);
|
|
2164
|
+
const _sfc_main$R = defineComponent({
|
|
2189
2165
|
name: "CaretTop"
|
|
2190
2166
|
});
|
|
2191
2167
|
const _hoisted_1$s = {
|
|
@@ -2195,18 +2171,18 @@ const _hoisted_1$s = {
|
|
|
2195
2171
|
viewBox: "0 0 1024 1024",
|
|
2196
2172
|
xmlns: "http://www.w3.org/2000/svg"
|
|
2197
2173
|
};
|
|
2198
|
-
const _hoisted_2$
|
|
2174
|
+
const _hoisted_2$m = /* @__PURE__ */ createElementVNode("path", {
|
|
2199
2175
|
fill: "currentColor",
|
|
2200
2176
|
d: "M512 320L192 704h639.936z"
|
|
2201
2177
|
}, null, -1);
|
|
2202
2178
|
const _hoisted_3$k = [
|
|
2203
|
-
_hoisted_2$
|
|
2179
|
+
_hoisted_2$m
|
|
2204
2180
|
];
|
|
2205
2181
|
function _sfc_render$f(_ctx, _cache, $props, $setup, $data, $options) {
|
|
2206
2182
|
return openBlock(), createElementBlock("svg", _hoisted_1$s, _hoisted_3$k);
|
|
2207
2183
|
}
|
|
2208
|
-
var caretTop = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
2209
|
-
const _sfc_main$
|
|
2184
|
+
var caretTop = /* @__PURE__ */ _export_sfc$1(_sfc_main$R, [["render", _sfc_render$f]]);
|
|
2185
|
+
const _sfc_main$Q = defineComponent({
|
|
2210
2186
|
name: "CirclePlusFilled"
|
|
2211
2187
|
});
|
|
2212
2188
|
const _hoisted_1$r = {
|
|
@@ -2216,18 +2192,18 @@ const _hoisted_1$r = {
|
|
|
2216
2192
|
viewBox: "0 0 1024 1024",
|
|
2217
2193
|
xmlns: "http://www.w3.org/2000/svg"
|
|
2218
2194
|
};
|
|
2219
|
-
const _hoisted_2$
|
|
2195
|
+
const _hoisted_2$l = /* @__PURE__ */ createElementVNode("path", {
|
|
2220
2196
|
fill: "currentColor",
|
|
2221
2197
|
d: "M512 64a448 448 0 110 896 448 448 0 010-896zm-38.4 409.6H326.4a38.4 38.4 0 100 76.8h147.2v147.2a38.4 38.4 0 0076.8 0V550.4h147.2a38.4 38.4 0 000-76.8H550.4V326.4a38.4 38.4 0 10-76.8 0v147.2z"
|
|
2222
2198
|
}, null, -1);
|
|
2223
2199
|
const _hoisted_3$j = [
|
|
2224
|
-
_hoisted_2$
|
|
2200
|
+
_hoisted_2$l
|
|
2225
2201
|
];
|
|
2226
2202
|
function _sfc_render$e(_ctx, _cache, $props, $setup, $data, $options) {
|
|
2227
2203
|
return openBlock(), createElementBlock("svg", _hoisted_1$r, _hoisted_3$j);
|
|
2228
2204
|
}
|
|
2229
|
-
var circlePlusFilled = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
2230
|
-
const _sfc_main$
|
|
2205
|
+
var circlePlusFilled = /* @__PURE__ */ _export_sfc$1(_sfc_main$Q, [["render", _sfc_render$e]]);
|
|
2206
|
+
const _sfc_main$P = defineComponent({
|
|
2231
2207
|
name: "CirclePlus"
|
|
2232
2208
|
});
|
|
2233
2209
|
const _hoisted_1$q = {
|
|
@@ -2237,7 +2213,7 @@ const _hoisted_1$q = {
|
|
|
2237
2213
|
viewBox: "0 0 1024 1024",
|
|
2238
2214
|
xmlns: "http://www.w3.org/2000/svg"
|
|
2239
2215
|
};
|
|
2240
|
-
const _hoisted_2$
|
|
2216
|
+
const _hoisted_2$k = /* @__PURE__ */ createElementVNode("path", {
|
|
2241
2217
|
fill: "currentColor",
|
|
2242
2218
|
d: "M352 480h320a32 32 0 110 64H352a32 32 0 010-64z"
|
|
2243
2219
|
}, null, -1);
|
|
@@ -2249,16 +2225,16 @@ const _hoisted_4$7 = /* @__PURE__ */ createElementVNode("path", {
|
|
|
2249
2225
|
fill: "currentColor",
|
|
2250
2226
|
d: "M512 896a384 384 0 100-768 384 384 0 000 768zm0 64a448 448 0 110-896 448 448 0 010 896z"
|
|
2251
2227
|
}, null, -1);
|
|
2252
|
-
const _hoisted_5$
|
|
2253
|
-
_hoisted_2$
|
|
2228
|
+
const _hoisted_5$4 = [
|
|
2229
|
+
_hoisted_2$k,
|
|
2254
2230
|
_hoisted_3$i,
|
|
2255
2231
|
_hoisted_4$7
|
|
2256
2232
|
];
|
|
2257
2233
|
function _sfc_render$d(_ctx, _cache, $props, $setup, $data, $options) {
|
|
2258
|
-
return openBlock(), createElementBlock("svg", _hoisted_1$q, _hoisted_5$
|
|
2234
|
+
return openBlock(), createElementBlock("svg", _hoisted_1$q, _hoisted_5$4);
|
|
2259
2235
|
}
|
|
2260
|
-
var circlePlus = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
2261
|
-
const _sfc_main$
|
|
2236
|
+
var circlePlus = /* @__PURE__ */ _export_sfc$1(_sfc_main$P, [["render", _sfc_render$d]]);
|
|
2237
|
+
const _sfc_main$O = defineComponent({
|
|
2262
2238
|
name: "Download"
|
|
2263
2239
|
});
|
|
2264
2240
|
const _hoisted_1$p = {
|
|
@@ -2268,18 +2244,18 @@ const _hoisted_1$p = {
|
|
|
2268
2244
|
viewBox: "0 0 1024 1024",
|
|
2269
2245
|
xmlns: "http://www.w3.org/2000/svg"
|
|
2270
2246
|
};
|
|
2271
|
-
const _hoisted_2$
|
|
2247
|
+
const _hoisted_2$j = /* @__PURE__ */ createElementVNode("path", {
|
|
2272
2248
|
fill: "currentColor",
|
|
2273
2249
|
d: "M160 832h704a32 32 0 110 64H160a32 32 0 110-64zm384-253.696l236.288-236.352 45.248 45.248L508.8 704 192 387.2l45.248-45.248L480 584.704V128h64v450.304z"
|
|
2274
2250
|
}, null, -1);
|
|
2275
2251
|
const _hoisted_3$h = [
|
|
2276
|
-
_hoisted_2$
|
|
2252
|
+
_hoisted_2$j
|
|
2277
2253
|
];
|
|
2278
2254
|
function _sfc_render$c(_ctx, _cache, $props, $setup, $data, $options) {
|
|
2279
2255
|
return openBlock(), createElementBlock("svg", _hoisted_1$p, _hoisted_3$h);
|
|
2280
2256
|
}
|
|
2281
|
-
var download = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
2282
|
-
const _sfc_main$
|
|
2257
|
+
var download = /* @__PURE__ */ _export_sfc$1(_sfc_main$O, [["render", _sfc_render$c]]);
|
|
2258
|
+
const _sfc_main$N = defineComponent({
|
|
2283
2259
|
name: "Edit"
|
|
2284
2260
|
});
|
|
2285
2261
|
const _hoisted_1$o = {
|
|
@@ -2289,7 +2265,7 @@ const _hoisted_1$o = {
|
|
|
2289
2265
|
viewBox: "0 0 1024 1024",
|
|
2290
2266
|
xmlns: "http://www.w3.org/2000/svg"
|
|
2291
2267
|
};
|
|
2292
|
-
const _hoisted_2$
|
|
2268
|
+
const _hoisted_2$i = /* @__PURE__ */ createElementVNode("path", {
|
|
2293
2269
|
fill: "currentColor",
|
|
2294
2270
|
d: "M832 512a32 32 0 1164 0v352a32 32 0 01-32 32H160a32 32 0 01-32-32V160a32 32 0 0132-32h352a32 32 0 010 64H192v640h640V512z"
|
|
2295
2271
|
}, null, -1);
|
|
@@ -2298,14 +2274,14 @@ const _hoisted_3$g = /* @__PURE__ */ createElementVNode("path", {
|
|
|
2298
2274
|
d: "M469.952 554.24l52.8-7.552L847.104 222.4a32 32 0 10-45.248-45.248L477.44 501.44l-7.552 52.8zm422.4-422.4a96 96 0 010 135.808l-331.84 331.84a32 32 0 01-18.112 9.088L436.8 623.68a32 32 0 01-36.224-36.224l15.104-105.6a32 32 0 019.024-18.112l331.904-331.84a96 96 0 01135.744 0z"
|
|
2299
2275
|
}, null, -1);
|
|
2300
2276
|
const _hoisted_4$6 = [
|
|
2301
|
-
_hoisted_2$
|
|
2277
|
+
_hoisted_2$i,
|
|
2302
2278
|
_hoisted_3$g
|
|
2303
2279
|
];
|
|
2304
2280
|
function _sfc_render$b(_ctx, _cache, $props, $setup, $data, $options) {
|
|
2305
2281
|
return openBlock(), createElementBlock("svg", _hoisted_1$o, _hoisted_4$6);
|
|
2306
2282
|
}
|
|
2307
|
-
var edit = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
2308
|
-
const _sfc_main$
|
|
2283
|
+
var edit = /* @__PURE__ */ _export_sfc$1(_sfc_main$N, [["render", _sfc_render$b]]);
|
|
2284
|
+
const _sfc_main$M = defineComponent({
|
|
2309
2285
|
name: "Filter"
|
|
2310
2286
|
});
|
|
2311
2287
|
const _hoisted_1$n = {
|
|
@@ -2315,18 +2291,18 @@ const _hoisted_1$n = {
|
|
|
2315
2291
|
viewBox: "0 0 1024 1024",
|
|
2316
2292
|
xmlns: "http://www.w3.org/2000/svg"
|
|
2317
2293
|
};
|
|
2318
|
-
const _hoisted_2$
|
|
2294
|
+
const _hoisted_2$h = /* @__PURE__ */ createElementVNode("path", {
|
|
2319
2295
|
fill: "currentColor",
|
|
2320
2296
|
d: "M384 523.392V928a32 32 0 0046.336 28.608l192-96A32 32 0 00640 832V523.392l280.768-343.104a32 32 0 10-49.536-40.576l-288 352A32 32 0 00576 512v300.224l-128 64V512a32 32 0 00-7.232-20.288L195.52 192H704a32 32 0 100-64H128a32 32 0 00-24.768 52.288L384 523.392z"
|
|
2321
2297
|
}, null, -1);
|
|
2322
2298
|
const _hoisted_3$f = [
|
|
2323
|
-
_hoisted_2$
|
|
2299
|
+
_hoisted_2$h
|
|
2324
2300
|
];
|
|
2325
2301
|
function _sfc_render$a(_ctx, _cache, $props, $setup, $data, $options) {
|
|
2326
2302
|
return openBlock(), createElementBlock("svg", _hoisted_1$n, _hoisted_3$f);
|
|
2327
2303
|
}
|
|
2328
|
-
var filter = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
2329
|
-
const _sfc_main$
|
|
2304
|
+
var filter = /* @__PURE__ */ _export_sfc$1(_sfc_main$M, [["render", _sfc_render$a]]);
|
|
2305
|
+
const _sfc_main$L = defineComponent({
|
|
2330
2306
|
name: "FullScreen"
|
|
2331
2307
|
});
|
|
2332
2308
|
const _hoisted_1$m = {
|
|
@@ -2336,18 +2312,18 @@ const _hoisted_1$m = {
|
|
|
2336
2312
|
viewBox: "0 0 1024 1024",
|
|
2337
2313
|
xmlns: "http://www.w3.org/2000/svg"
|
|
2338
2314
|
};
|
|
2339
|
-
const _hoisted_2$
|
|
2315
|
+
const _hoisted_2$g = /* @__PURE__ */ createElementVNode("path", {
|
|
2340
2316
|
fill: "currentColor",
|
|
2341
2317
|
d: "M160 96.064l192 .192a32 32 0 010 64l-192-.192V352a32 32 0 01-64 0V96h64v.064zm0 831.872V928H96V672a32 32 0 1164 0v191.936l192-.192a32 32 0 110 64l-192 .192zM864 96.064V96h64v256a32 32 0 11-64 0V160.064l-192 .192a32 32 0 110-64l192-.192zm0 831.872l-192-.192a32 32 0 010-64l192 .192V672a32 32 0 1164 0v256h-64v-.064z"
|
|
2342
2318
|
}, null, -1);
|
|
2343
2319
|
const _hoisted_3$e = [
|
|
2344
|
-
_hoisted_2$
|
|
2320
|
+
_hoisted_2$g
|
|
2345
2321
|
];
|
|
2346
2322
|
function _sfc_render$9(_ctx, _cache, $props, $setup, $data, $options) {
|
|
2347
2323
|
return openBlock(), createElementBlock("svg", _hoisted_1$m, _hoisted_3$e);
|
|
2348
2324
|
}
|
|
2349
|
-
var fullScreen = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
2350
|
-
const _sfc_main$
|
|
2325
|
+
var fullScreen = /* @__PURE__ */ _export_sfc$1(_sfc_main$L, [["render", _sfc_render$9]]);
|
|
2326
|
+
const _sfc_main$K = defineComponent({
|
|
2351
2327
|
name: "Grid"
|
|
2352
2328
|
});
|
|
2353
2329
|
const _hoisted_1$l = {
|
|
@@ -2357,18 +2333,18 @@ const _hoisted_1$l = {
|
|
|
2357
2333
|
viewBox: "0 0 1024 1024",
|
|
2358
2334
|
xmlns: "http://www.w3.org/2000/svg"
|
|
2359
2335
|
};
|
|
2360
|
-
const _hoisted_2$
|
|
2336
|
+
const _hoisted_2$f = /* @__PURE__ */ createElementVNode("path", {
|
|
2361
2337
|
fill: "currentColor",
|
|
2362
2338
|
d: "M640 384v256H384V384h256zm64 0h192v256H704V384zm-64 512H384V704h256v192zm64 0V704h192v192H704zm-64-768v192H384V128h256zm64 0h192v192H704V128zM320 384v256H128V384h192zm0 512H128V704h192v192zm0-768v192H128V128h192z"
|
|
2363
2339
|
}, null, -1);
|
|
2364
2340
|
const _hoisted_3$d = [
|
|
2365
|
-
_hoisted_2$
|
|
2341
|
+
_hoisted_2$f
|
|
2366
2342
|
];
|
|
2367
2343
|
function _sfc_render$8(_ctx, _cache, $props, $setup, $data, $options) {
|
|
2368
2344
|
return openBlock(), createElementBlock("svg", _hoisted_1$l, _hoisted_3$d);
|
|
2369
2345
|
}
|
|
2370
|
-
var grid = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
2371
|
-
const _sfc_main$
|
|
2346
|
+
var grid = /* @__PURE__ */ _export_sfc$1(_sfc_main$K, [["render", _sfc_render$8]]);
|
|
2347
|
+
const _sfc_main$J = defineComponent({
|
|
2372
2348
|
name: "Loading"
|
|
2373
2349
|
});
|
|
2374
2350
|
const _hoisted_1$k = {
|
|
@@ -2378,18 +2354,18 @@ const _hoisted_1$k = {
|
|
|
2378
2354
|
viewBox: "0 0 1024 1024",
|
|
2379
2355
|
xmlns: "http://www.w3.org/2000/svg"
|
|
2380
2356
|
};
|
|
2381
|
-
const _hoisted_2$
|
|
2357
|
+
const _hoisted_2$e = /* @__PURE__ */ createElementVNode("path", {
|
|
2382
2358
|
fill: "currentColor",
|
|
2383
2359
|
d: "M512 64a32 32 0 0132 32v192a32 32 0 01-64 0V96a32 32 0 0132-32zm0 640a32 32 0 0132 32v192a32 32 0 11-64 0V736a32 32 0 0132-32zm448-192a32 32 0 01-32 32H736a32 32 0 110-64h192a32 32 0 0132 32zm-640 0a32 32 0 01-32 32H96a32 32 0 010-64h192a32 32 0 0132 32zM195.2 195.2a32 32 0 0145.248 0L376.32 331.008a32 32 0 01-45.248 45.248L195.2 240.448a32 32 0 010-45.248zm452.544 452.544a32 32 0 0145.248 0L828.8 783.552a32 32 0 01-45.248 45.248L647.744 692.992a32 32 0 010-45.248zM828.8 195.264a32 32 0 010 45.184L692.992 376.32a32 32 0 01-45.248-45.248l135.808-135.808a32 32 0 0145.248 0zm-452.544 452.48a32 32 0 010 45.248L240.448 828.8a32 32 0 01-45.248-45.248l135.808-135.808a32 32 0 0145.248 0z"
|
|
2384
2360
|
}, null, -1);
|
|
2385
2361
|
const _hoisted_3$c = [
|
|
2386
|
-
_hoisted_2$
|
|
2362
|
+
_hoisted_2$e
|
|
2387
2363
|
];
|
|
2388
2364
|
function _sfc_render$7(_ctx, _cache, $props, $setup, $data, $options) {
|
|
2389
2365
|
return openBlock(), createElementBlock("svg", _hoisted_1$k, _hoisted_3$c);
|
|
2390
2366
|
}
|
|
2391
|
-
var loading = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
2392
|
-
const _sfc_main$
|
|
2367
|
+
var loading = /* @__PURE__ */ _export_sfc$1(_sfc_main$J, [["render", _sfc_render$7]]);
|
|
2368
|
+
const _sfc_main$I = defineComponent({
|
|
2393
2369
|
name: "Menu"
|
|
2394
2370
|
});
|
|
2395
2371
|
const _hoisted_1$j = {
|
|
@@ -2399,18 +2375,18 @@ const _hoisted_1$j = {
|
|
|
2399
2375
|
viewBox: "0 0 1024 1024",
|
|
2400
2376
|
xmlns: "http://www.w3.org/2000/svg"
|
|
2401
2377
|
};
|
|
2402
|
-
const _hoisted_2$
|
|
2378
|
+
const _hoisted_2$d = /* @__PURE__ */ createElementVNode("path", {
|
|
2403
2379
|
fill: "currentColor",
|
|
2404
2380
|
d: "M160 448a32 32 0 01-32-32V160.064a32 32 0 0132-32h256a32 32 0 0132 32V416a32 32 0 01-32 32H160zm448 0a32 32 0 01-32-32V160.064a32 32 0 0132-32h255.936a32 32 0 0132 32V416a32 32 0 01-32 32H608zM160 896a32 32 0 01-32-32V608a32 32 0 0132-32h256a32 32 0 0132 32v256a32 32 0 01-32 32H160zm448 0a32 32 0 01-32-32V608a32 32 0 0132-32h255.936a32 32 0 0132 32v256a32 32 0 01-32 32H608z"
|
|
2405
2381
|
}, null, -1);
|
|
2406
2382
|
const _hoisted_3$b = [
|
|
2407
|
-
_hoisted_2$
|
|
2383
|
+
_hoisted_2$d
|
|
2408
2384
|
];
|
|
2409
2385
|
function _sfc_render$6(_ctx, _cache, $props, $setup, $data, $options) {
|
|
2410
2386
|
return openBlock(), createElementBlock("svg", _hoisted_1$j, _hoisted_3$b);
|
|
2411
2387
|
}
|
|
2412
|
-
var menu = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
2413
|
-
const _sfc_main$
|
|
2388
|
+
var menu = /* @__PURE__ */ _export_sfc$1(_sfc_main$I, [["render", _sfc_render$6]]);
|
|
2389
|
+
const _sfc_main$H = defineComponent({
|
|
2414
2390
|
name: "QuestionFilled"
|
|
2415
2391
|
});
|
|
2416
2392
|
const _hoisted_1$i = {
|
|
@@ -2420,18 +2396,18 @@ const _hoisted_1$i = {
|
|
|
2420
2396
|
viewBox: "0 0 1024 1024",
|
|
2421
2397
|
xmlns: "http://www.w3.org/2000/svg"
|
|
2422
2398
|
};
|
|
2423
|
-
const _hoisted_2$
|
|
2399
|
+
const _hoisted_2$c = /* @__PURE__ */ createElementVNode("path", {
|
|
2424
2400
|
fill: "currentColor",
|
|
2425
2401
|
d: "M512 64a448 448 0 110 896 448 448 0 010-896zm23.744 191.488c-52.096 0-92.928 14.784-123.2 44.352-30.976 29.568-45.76 70.4-45.76 122.496h80.256c0-29.568 5.632-52.8 17.6-68.992 13.376-19.712 35.2-28.864 66.176-28.864 23.936 0 42.944 6.336 56.32 19.712 12.672 13.376 19.712 31.68 19.712 54.912 0 17.6-6.336 34.496-19.008 49.984l-8.448 9.856c-45.76 40.832-73.216 70.4-82.368 89.408-9.856 19.008-14.08 42.24-14.08 68.992v9.856h80.96v-9.856c0-16.896 3.52-31.68 10.56-45.76 6.336-12.672 15.488-24.64 28.16-35.2 33.792-29.568 54.208-48.576 60.544-55.616 16.896-22.528 26.048-51.392 26.048-86.592 0-42.944-14.08-76.736-42.24-101.376-28.16-25.344-65.472-37.312-111.232-37.312zm-12.672 406.208a54.272 54.272 0 00-38.72 14.784 49.408 49.408 0 00-15.488 38.016c0 15.488 4.928 28.16 15.488 38.016A54.848 54.848 0 00523.072 768c15.488 0 28.16-4.928 38.72-14.784a51.52 51.52 0 0016.192-38.72 51.968 51.968 0 00-15.488-38.016 55.936 55.936 0 00-39.424-14.784z"
|
|
2426
2402
|
}, null, -1);
|
|
2427
2403
|
const _hoisted_3$a = [
|
|
2428
|
-
_hoisted_2$
|
|
2404
|
+
_hoisted_2$c
|
|
2429
2405
|
];
|
|
2430
2406
|
function _sfc_render$5(_ctx, _cache, $props, $setup, $data, $options) {
|
|
2431
2407
|
return openBlock(), createElementBlock("svg", _hoisted_1$i, _hoisted_3$a);
|
|
2432
2408
|
}
|
|
2433
|
-
var questionFilled = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
2434
|
-
const _sfc_main$
|
|
2409
|
+
var questionFilled = /* @__PURE__ */ _export_sfc$1(_sfc_main$H, [["render", _sfc_render$5]]);
|
|
2410
|
+
const _sfc_main$G = defineComponent({
|
|
2435
2411
|
name: "RefreshLeft"
|
|
2436
2412
|
});
|
|
2437
2413
|
const _hoisted_1$h = {
|
|
@@ -2441,18 +2417,18 @@ const _hoisted_1$h = {
|
|
|
2441
2417
|
viewBox: "0 0 1024 1024",
|
|
2442
2418
|
xmlns: "http://www.w3.org/2000/svg"
|
|
2443
2419
|
};
|
|
2444
|
-
const _hoisted_2$
|
|
2420
|
+
const _hoisted_2$b = /* @__PURE__ */ createElementVNode("path", {
|
|
2445
2421
|
fill: "currentColor",
|
|
2446
2422
|
d: "M289.088 296.704h92.992a32 32 0 010 64H232.96a32 32 0 01-32-32V179.712a32 32 0 0164 0v50.56a384 384 0 01643.84 282.88 384 384 0 01-383.936 384 384 384 0 01-384-384h64a320 320 0 10640 0 320 320 0 00-555.712-216.448z"
|
|
2447
2423
|
}, null, -1);
|
|
2448
2424
|
const _hoisted_3$9 = [
|
|
2449
|
-
_hoisted_2$
|
|
2425
|
+
_hoisted_2$b
|
|
2450
2426
|
];
|
|
2451
2427
|
function _sfc_render$4(_ctx, _cache, $props, $setup, $data, $options) {
|
|
2452
2428
|
return openBlock(), createElementBlock("svg", _hoisted_1$h, _hoisted_3$9);
|
|
2453
2429
|
}
|
|
2454
|
-
var refreshLeft = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
2455
|
-
const _sfc_main$
|
|
2430
|
+
var refreshLeft = /* @__PURE__ */ _export_sfc$1(_sfc_main$G, [["render", _sfc_render$4]]);
|
|
2431
|
+
const _sfc_main$F = defineComponent({
|
|
2456
2432
|
name: "RemoveFilled"
|
|
2457
2433
|
});
|
|
2458
2434
|
const _hoisted_1$g = {
|
|
@@ -2462,18 +2438,18 @@ const _hoisted_1$g = {
|
|
|
2462
2438
|
viewBox: "0 0 1024 1024",
|
|
2463
2439
|
xmlns: "http://www.w3.org/2000/svg"
|
|
2464
2440
|
};
|
|
2465
|
-
const _hoisted_2$
|
|
2441
|
+
const _hoisted_2$a = /* @__PURE__ */ createElementVNode("path", {
|
|
2466
2442
|
fill: "currentColor",
|
|
2467
2443
|
d: "M512 64a448 448 0 110 896 448 448 0 010-896zM288 512a38.4 38.4 0 0038.4 38.4h371.2a38.4 38.4 0 000-76.8H326.4A38.4 38.4 0 00288 512z"
|
|
2468
2444
|
}, null, -1);
|
|
2469
2445
|
const _hoisted_3$8 = [
|
|
2470
|
-
_hoisted_2$
|
|
2446
|
+
_hoisted_2$a
|
|
2471
2447
|
];
|
|
2472
2448
|
function _sfc_render$3(_ctx, _cache, $props, $setup, $data, $options) {
|
|
2473
2449
|
return openBlock(), createElementBlock("svg", _hoisted_1$g, _hoisted_3$8);
|
|
2474
2450
|
}
|
|
2475
|
-
var removeFilled = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
2476
|
-
const _sfc_main$
|
|
2451
|
+
var removeFilled = /* @__PURE__ */ _export_sfc$1(_sfc_main$F, [["render", _sfc_render$3]]);
|
|
2452
|
+
const _sfc_main$E = defineComponent({
|
|
2477
2453
|
name: "Remove"
|
|
2478
2454
|
});
|
|
2479
2455
|
const _hoisted_1$f = {
|
|
@@ -2483,7 +2459,7 @@ const _hoisted_1$f = {
|
|
|
2483
2459
|
viewBox: "0 0 1024 1024",
|
|
2484
2460
|
xmlns: "http://www.w3.org/2000/svg"
|
|
2485
2461
|
};
|
|
2486
|
-
const _hoisted_2$
|
|
2462
|
+
const _hoisted_2$9 = /* @__PURE__ */ createElementVNode("path", {
|
|
2487
2463
|
fill: "currentColor",
|
|
2488
2464
|
d: "M352 480h320a32 32 0 110 64H352a32 32 0 010-64z"
|
|
2489
2465
|
}, null, -1);
|
|
@@ -2492,14 +2468,14 @@ const _hoisted_3$7 = /* @__PURE__ */ createElementVNode("path", {
|
|
|
2492
2468
|
d: "M512 896a384 384 0 100-768 384 384 0 000 768zm0 64a448 448 0 110-896 448 448 0 010 896z"
|
|
2493
2469
|
}, null, -1);
|
|
2494
2470
|
const _hoisted_4$5 = [
|
|
2495
|
-
_hoisted_2$
|
|
2471
|
+
_hoisted_2$9,
|
|
2496
2472
|
_hoisted_3$7
|
|
2497
2473
|
];
|
|
2498
2474
|
function _sfc_render$2(_ctx, _cache, $props, $setup, $data, $options) {
|
|
2499
2475
|
return openBlock(), createElementBlock("svg", _hoisted_1$f, _hoisted_4$5);
|
|
2500
2476
|
}
|
|
2501
|
-
var remove = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
2502
|
-
const _sfc_main$
|
|
2477
|
+
var remove = /* @__PURE__ */ _export_sfc$1(_sfc_main$E, [["render", _sfc_render$2]]);
|
|
2478
|
+
const _sfc_main$D = defineComponent({
|
|
2503
2479
|
name: "Select"
|
|
2504
2480
|
});
|
|
2505
2481
|
const _hoisted_1$e = {
|
|
@@ -2509,18 +2485,18 @@ const _hoisted_1$e = {
|
|
|
2509
2485
|
viewBox: "0 0 1024 1024",
|
|
2510
2486
|
xmlns: "http://www.w3.org/2000/svg"
|
|
2511
2487
|
};
|
|
2512
|
-
const _hoisted_2$
|
|
2488
|
+
const _hoisted_2$8 = /* @__PURE__ */ createElementVNode("path", {
|
|
2513
2489
|
fill: "currentColor",
|
|
2514
2490
|
d: "M77.248 415.04a64 64 0 0190.496 0l226.304 226.304L846.528 188.8a64 64 0 1190.56 90.496l-543.04 543.04-316.8-316.8a64 64 0 010-90.496z"
|
|
2515
2491
|
}, null, -1);
|
|
2516
2492
|
const _hoisted_3$6 = [
|
|
2517
|
-
_hoisted_2$
|
|
2493
|
+
_hoisted_2$8
|
|
2518
2494
|
];
|
|
2519
2495
|
function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
|
|
2520
2496
|
return openBlock(), createElementBlock("svg", _hoisted_1$e, _hoisted_3$6);
|
|
2521
2497
|
}
|
|
2522
|
-
var select = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
2523
|
-
const _sfc_main$
|
|
2498
|
+
var select = /* @__PURE__ */ _export_sfc$1(_sfc_main$D, [["render", _sfc_render$1]]);
|
|
2499
|
+
const _sfc_main$C = defineComponent({
|
|
2524
2500
|
name: "Tools"
|
|
2525
2501
|
});
|
|
2526
2502
|
const _hoisted_1$d = {
|
|
@@ -2530,27 +2506,27 @@ const _hoisted_1$d = {
|
|
|
2530
2506
|
viewBox: "0 0 1024 1024",
|
|
2531
2507
|
xmlns: "http://www.w3.org/2000/svg"
|
|
2532
2508
|
};
|
|
2533
|
-
const _hoisted_2$
|
|
2509
|
+
const _hoisted_2$7 = /* @__PURE__ */ createElementVNode("path", {
|
|
2534
2510
|
fill: "currentColor",
|
|
2535
2511
|
d: "M764.416 254.72a351.68 351.68 0 0186.336 149.184H960v192.064H850.752a351.68 351.68 0 01-86.336 149.312l54.72 94.72-166.272 96-54.592-94.72a352.64 352.64 0 01-172.48 0L371.136 936l-166.272-96 54.72-94.72a351.68 351.68 0 01-86.336-149.312H64v-192h109.248a351.68 351.68 0 0186.336-149.312L204.8 160l166.208-96h.192l54.656 94.592a352.64 352.64 0 01172.48 0L652.8 64h.128L819.2 160l-54.72 94.72zM704 499.968a192 192 0 10-384 0 192 192 0 00384 0z"
|
|
2536
2512
|
}, null, -1);
|
|
2537
2513
|
const _hoisted_3$5 = [
|
|
2538
|
-
_hoisted_2$
|
|
2514
|
+
_hoisted_2$7
|
|
2539
2515
|
];
|
|
2540
2516
|
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
2541
2517
|
return openBlock(), createElementBlock("svg", _hoisted_1$d, _hoisted_3$5);
|
|
2542
2518
|
}
|
|
2543
|
-
var tools = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
2519
|
+
var tools = /* @__PURE__ */ _export_sfc$1(_sfc_main$C, [["render", _sfc_render]]);
|
|
2544
2520
|
const formManagerProvideKey = Symbol("form-manager");
|
|
2545
2521
|
const registerPropertyProvideKey = Symbol("registerProperty");
|
|
2546
2522
|
const isOpenAuthButtonProvideKey = Symbol("isOpenAuthButton");
|
|
2547
2523
|
const authButtonsProvideKey = Symbol("authButtons");
|
|
2548
2524
|
var index_vue_vue_type_style_index_0_lang$b = "";
|
|
2549
|
-
const __default__$
|
|
2525
|
+
const __default__$l = {
|
|
2550
2526
|
name: "ButtonRenderer"
|
|
2551
2527
|
};
|
|
2552
|
-
const _sfc_main$
|
|
2553
|
-
...__default__$
|
|
2528
|
+
const _sfc_main$B = defineComponent({
|
|
2529
|
+
...__default__$l,
|
|
2554
2530
|
props: {
|
|
2555
2531
|
els: {},
|
|
2556
2532
|
context: {},
|
|
@@ -2730,12 +2706,12 @@ const _sfc_main$C = defineComponent({
|
|
|
2730
2706
|
};
|
|
2731
2707
|
}
|
|
2732
2708
|
});
|
|
2733
|
-
const __default__$
|
|
2709
|
+
const __default__$k = {
|
|
2734
2710
|
name: "SelectableOpearte",
|
|
2735
2711
|
inheritAttrs: false
|
|
2736
2712
|
};
|
|
2737
|
-
const _sfc_main$
|
|
2738
|
-
...__default__$
|
|
2713
|
+
const _sfc_main$A = defineComponent({
|
|
2714
|
+
...__default__$k,
|
|
2739
2715
|
props: {
|
|
2740
2716
|
els: {},
|
|
2741
2717
|
tableManager: {},
|
|
@@ -2748,7 +2724,7 @@ const _sfc_main$B = defineComponent({
|
|
|
2748
2724
|
return ((_a = props.tableManager) == null ? void 0 : _a.selection) || [];
|
|
2749
2725
|
});
|
|
2750
2726
|
return (_ctx, _cache) => {
|
|
2751
|
-
return openBlock(), createBlock(_sfc_main$
|
|
2727
|
+
return openBlock(), createBlock(_sfc_main$B, mergeProps({
|
|
2752
2728
|
els: props.els,
|
|
2753
2729
|
"execute-data": [executeData.value],
|
|
2754
2730
|
context: props.manager
|
|
@@ -2756,28 +2732,6 @@ const _sfc_main$B = defineComponent({
|
|
|
2756
2732
|
};
|
|
2757
2733
|
}
|
|
2758
2734
|
});
|
|
2759
|
-
const __default__$k = {
|
|
2760
|
-
name: "ActionTools",
|
|
2761
|
-
inheritAttrs: false
|
|
2762
|
-
};
|
|
2763
|
-
const _sfc_main$A = defineComponent({
|
|
2764
|
-
...__default__$k,
|
|
2765
|
-
props: {
|
|
2766
|
-
action: {},
|
|
2767
|
-
manager: {}
|
|
2768
|
-
},
|
|
2769
|
-
setup(__props) {
|
|
2770
|
-
const props = __props;
|
|
2771
|
-
return (_ctx, _cache) => {
|
|
2772
|
-
return openBlock(), createElementBlock("div", null, [
|
|
2773
|
-
createVNode(_sfc_main$C, mergeProps({
|
|
2774
|
-
els: props.action.els,
|
|
2775
|
-
context: props.manager
|
|
2776
|
-
}, _ctx.$attrs), null, 16, ["els", "context"])
|
|
2777
|
-
]);
|
|
2778
|
-
};
|
|
2779
|
-
}
|
|
2780
|
-
});
|
|
2781
2735
|
class SearchFormManager extends IManager {
|
|
2782
2736
|
constructor(form) {
|
|
2783
2737
|
super();
|
|
@@ -3273,8 +3227,6 @@ const getPageModelDefaultConfig = () => {
|
|
|
3273
3227
|
getImmediate: true,
|
|
3274
3228
|
size: "default",
|
|
3275
3229
|
getMethod: "get",
|
|
3276
|
-
isAutoAddButton: true,
|
|
3277
|
-
isAutoImportButton: true,
|
|
3278
3230
|
getReqResultProcessFn(result) {
|
|
3279
3231
|
return {
|
|
3280
3232
|
total: result.total,
|
|
@@ -4020,11 +3972,10 @@ const _sfc_main$w = defineComponent({
|
|
|
4020
3972
|
doSearchFormLayout
|
|
4021
3973
|
});
|
|
4022
3974
|
return (_ctx, _cache) => {
|
|
4023
|
-
var _a;
|
|
4024
3975
|
const _component_el_form_item = resolveComponent("el-form-item");
|
|
4025
3976
|
const _component_el_form = resolveComponent("el-form");
|
|
4026
|
-
const _component_el_button = resolveComponent("el-button");
|
|
4027
3977
|
const _component_el_icon = resolveComponent("el-icon");
|
|
3978
|
+
const _component_el_button = resolveComponent("el-button");
|
|
4028
3979
|
return openBlock(), createElementBlock("div", {
|
|
4029
3980
|
ref_key: "searchFormRef",
|
|
4030
3981
|
ref: searchFormRef,
|
|
@@ -4044,13 +3995,13 @@ const _sfc_main$w = defineComponent({
|
|
|
4044
3995
|
}, {
|
|
4045
3996
|
default: withCtx(() => [
|
|
4046
3997
|
(openBlock(true), createElementBlock(Fragment, null, renderList(showFormEls.value, (item, index2) => {
|
|
4047
|
-
var
|
|
3998
|
+
var _a;
|
|
4048
3999
|
return openBlock(), createBlock(_component_el_form_item, mergeProps({
|
|
4049
4000
|
key: index2,
|
|
4050
4001
|
ref_for: true
|
|
4051
4002
|
}, item.formItemProps, {
|
|
4052
4003
|
label: "",
|
|
4053
|
-
style: { width: ((
|
|
4004
|
+
style: { width: ((_a = item.style) == null ? void 0 : _a.width) || unref(searchFormItemWidth) }
|
|
4054
4005
|
}), {
|
|
4055
4006
|
default: withCtx(() => [
|
|
4056
4007
|
createVNode(_sfc_main$z, {
|
|
@@ -4068,78 +4019,78 @@ const _sfc_main$w = defineComponent({
|
|
|
4068
4019
|
}), 128))
|
|
4069
4020
|
]),
|
|
4070
4021
|
_: 1
|
|
4071
|
-
}, 8, ["model", "class"])
|
|
4072
|
-
|
|
4073
|
-
|
|
4074
|
-
|
|
4075
|
-
|
|
4076
|
-
|
|
4077
|
-
|
|
4078
|
-
|
|
4079
|
-
|
|
4080
|
-
|
|
4081
|
-
]),
|
|
4082
|
-
_: 1
|
|
4083
|
-
}, 8, ["loading", "size", "icon"]),
|
|
4084
|
-
createVNode(_component_el_button, {
|
|
4085
|
-
loading: isFetchingData.value,
|
|
4086
|
-
size: searchFormManager.size,
|
|
4087
|
-
type: "primary",
|
|
4088
|
-
icon: unref(filter),
|
|
4089
|
-
onClick: onSearch
|
|
4090
|
-
}, {
|
|
4091
|
-
default: withCtx(() => [
|
|
4092
|
-
createTextVNode("\u7B5B\u9009")
|
|
4093
|
-
]),
|
|
4094
|
-
_: 1
|
|
4095
|
-
}, 8, ["loading", "size", "icon"]),
|
|
4096
|
-
searchFormManager.expandMode === "dialog" && showFormEls.value.length && unref(showMoreButton) ? (openBlock(), createBlock(_component_el_button, {
|
|
4097
|
-
key: 0,
|
|
4098
|
-
link: "",
|
|
4099
|
-
size: searchFormManager.size,
|
|
4100
|
-
onClick: handleShowExpandDialog
|
|
4101
|
-
}, {
|
|
4102
|
-
default: withCtx(() => [
|
|
4103
|
-
createTextVNode(" \u66F4\u591A\u7B5B\u9009"),
|
|
4104
|
-
createVNode(_component_el_icon, { class: "el-icon--right" }, {
|
|
4022
|
+
}, 8, ["model", "class"]),
|
|
4023
|
+
createElementVNode("div", {
|
|
4024
|
+
class: normalizeClass(unref(createBEMName)("expand-button"))
|
|
4025
|
+
}, [
|
|
4026
|
+
searchFormManager.expandMode === "expanded" && needExpand.value ? (openBlock(), createBlock(_component_el_button, {
|
|
4027
|
+
key: 0,
|
|
4028
|
+
size: searchFormManager.size,
|
|
4029
|
+
link: "",
|
|
4030
|
+
onClick: toggleExpand
|
|
4031
|
+
}, {
|
|
4105
4032
|
default: withCtx(() => [
|
|
4106
|
-
|
|
4033
|
+
createTextVNode(toDisplayString(searchFormManager.isExpanded ? "\u6536\u8D77" : "\u5C55\u5F00") + " ", 1),
|
|
4034
|
+
createVNode(_component_el_icon, { class: "el-icon--right" }, {
|
|
4035
|
+
default: withCtx(() => [
|
|
4036
|
+
(openBlock(), createBlock(resolveDynamicComponent(searchFormManager.isExpanded ? unref(caretTop) : unref(caretBottom))))
|
|
4037
|
+
]),
|
|
4038
|
+
_: 1
|
|
4039
|
+
})
|
|
4107
4040
|
]),
|
|
4108
4041
|
_: 1
|
|
4109
|
-
})
|
|
4110
|
-
|
|
4111
|
-
|
|
4112
|
-
|
|
4113
|
-
|
|
4114
|
-
|
|
4115
|
-
|
|
4116
|
-
|
|
4117
|
-
|
|
4118
|
-
|
|
4119
|
-
|
|
4120
|
-
|
|
4121
|
-
|
|
4122
|
-
|
|
4123
|
-
|
|
4124
|
-
|
|
4125
|
-
|
|
4126
|
-
|
|
4127
|
-
|
|
4128
|
-
|
|
4129
|
-
|
|
4130
|
-
|
|
4131
|
-
|
|
4132
|
-
|
|
4133
|
-
|
|
4134
|
-
|
|
4135
|
-
|
|
4042
|
+
}, 8, ["size"])) : createCommentVNode("", true),
|
|
4043
|
+
searchFormManager.expandMode === "dialog" && showFormEls.value.length && unref(showMoreButton) ? (openBlock(), createBlock(_component_el_button, {
|
|
4044
|
+
key: 1,
|
|
4045
|
+
link: "",
|
|
4046
|
+
size: searchFormManager.size,
|
|
4047
|
+
onClick: handleShowExpandDialog
|
|
4048
|
+
}, {
|
|
4049
|
+
default: withCtx(() => [
|
|
4050
|
+
createTextVNode(" \u66F4\u591A\u7B5B\u9009"),
|
|
4051
|
+
createVNode(_component_el_icon, { class: "el-icon--right" }, {
|
|
4052
|
+
default: withCtx(() => [
|
|
4053
|
+
createVNode(unref(arrowDownBold))
|
|
4054
|
+
]),
|
|
4055
|
+
_: 1
|
|
4056
|
+
})
|
|
4057
|
+
]),
|
|
4058
|
+
_: 1
|
|
4059
|
+
}, 8, ["size"])) : createCommentVNode("", true)
|
|
4060
|
+
], 2)
|
|
4061
|
+
], 2),
|
|
4062
|
+
createElementVNode("div", {
|
|
4063
|
+
class: normalizeClass(unref(createBEMName)("search-btn-group"))
|
|
4064
|
+
}, [
|
|
4065
|
+
createVNode(_component_el_button, {
|
|
4066
|
+
loading: isFetchingData.value,
|
|
4067
|
+
size: searchFormManager.size,
|
|
4068
|
+
type: "primary",
|
|
4069
|
+
onClick: onSearch
|
|
4070
|
+
}, {
|
|
4071
|
+
default: withCtx(() => [
|
|
4072
|
+
createTextVNode("\u7B5B\u9009")
|
|
4073
|
+
]),
|
|
4074
|
+
_: 1
|
|
4075
|
+
}, 8, ["loading", "size"]),
|
|
4076
|
+
createVNode(_component_el_button, {
|
|
4077
|
+
loading: isFetchingData.value,
|
|
4078
|
+
size: searchFormManager.size,
|
|
4079
|
+
onClick: onReset
|
|
4080
|
+
}, {
|
|
4081
|
+
default: withCtx(() => [
|
|
4082
|
+
createTextVNode("\u91CD\u7F6E")
|
|
4083
|
+
]),
|
|
4084
|
+
_: 1
|
|
4085
|
+
}, 8, ["loading", "size"])
|
|
4086
|
+
], 2),
|
|
4136
4087
|
createElementVNode("div", {
|
|
4137
4088
|
class: normalizeClass(unref(createBEMName)("slots"))
|
|
4138
4089
|
}, [
|
|
4139
4090
|
renderSlot(_ctx.$slots, "default")
|
|
4140
4091
|
], 2),
|
|
4141
4092
|
searchFormManager.expandMode === "dialog" && showFormEls.value.length && unref(showMoreButton) ? (openBlock(), createBlock(_sfc_main$x, {
|
|
4142
|
-
key:
|
|
4093
|
+
key: 0,
|
|
4143
4094
|
ref_key: "SearchFormFullRef",
|
|
4144
4095
|
ref: SearchFormFullRef,
|
|
4145
4096
|
onFilter: doFilter
|
|
@@ -4881,13 +4832,13 @@ const _sfc_main$v = defineComponent({
|
|
|
4881
4832
|
});
|
|
4882
4833
|
var index_vue_vue_type_style_index_0_lang$7 = "";
|
|
4883
4834
|
const _hoisted_1$b = { class: "el-table__header-cell" };
|
|
4884
|
-
const _hoisted_2$
|
|
4835
|
+
const _hoisted_2$6 = ["data-index", "editable", "cell-key"];
|
|
4885
4836
|
const _hoisted_3$4 = {
|
|
4886
4837
|
key: 0,
|
|
4887
4838
|
class: "el-table-cell_editable"
|
|
4888
4839
|
};
|
|
4889
4840
|
const _hoisted_4$4 = { class: "el-table-cell_editable-inputer" };
|
|
4890
|
-
const _hoisted_5$
|
|
4841
|
+
const _hoisted_5$3 = {
|
|
4891
4842
|
key: 0,
|
|
4892
4843
|
class: "el-table-cell_loading"
|
|
4893
4844
|
};
|
|
@@ -5064,7 +5015,7 @@ const _sfc_main$u = defineComponent({
|
|
|
5064
5015
|
columnEl.columnKey,
|
|
5065
5016
|
row[tableManager.value.rowKey]
|
|
5066
5017
|
) + "-loading"
|
|
5067
|
-
) ? (openBlock(), createElementBlock("div", _hoisted_5$
|
|
5018
|
+
) ? (openBlock(), createElementBlock("div", _hoisted_5$3, [
|
|
5068
5019
|
createVNode(_component_el_icon, { class: "is-loading" }, {
|
|
5069
5020
|
default: withCtx(() => [
|
|
5070
5021
|
createVNode(unref(loading))
|
|
@@ -5097,7 +5048,7 @@ const _sfc_main$u = defineComponent({
|
|
|
5097
5048
|
})
|
|
5098
5049
|
], 8, _hoisted_8)) : createCommentVNode("", true)
|
|
5099
5050
|
], 64))
|
|
5100
|
-
], 10, _hoisted_2$
|
|
5051
|
+
], 10, _hoisted_2$6))
|
|
5101
5052
|
]),
|
|
5102
5053
|
_: 2
|
|
5103
5054
|
}, 1040, ["label", "prop", "width", "min-width", "fixed", "column-key"]);
|
|
@@ -6678,14 +6629,15 @@ var _export_sfc = (sfc, props) => {
|
|
|
6678
6629
|
}
|
|
6679
6630
|
return target;
|
|
6680
6631
|
};
|
|
6681
|
-
const _withScopeId$2 = (n) => (pushScopeId("data-v-
|
|
6632
|
+
const _withScopeId$2 = (n) => (pushScopeId("data-v-62ecd909"), n = n(), popScopeId(), n);
|
|
6682
6633
|
const _hoisted_1$a = { title: "\u5168\u9009/\u53D6\u6D88" };
|
|
6683
|
-
const _hoisted_2$
|
|
6634
|
+
const _hoisted_2$5 = /* @__PURE__ */ _withScopeId$2(() => /* @__PURE__ */ createElementVNode("i", {
|
|
6684
6635
|
class: "pm-icon icon-drag-dot",
|
|
6685
6636
|
title: "\u62D6\u52A8\u8C03\u6574\u663E\u793A\u987A\u5E8F"
|
|
6686
6637
|
}, null, -1));
|
|
6687
|
-
const _hoisted_3$3 = ["title"
|
|
6638
|
+
const _hoisted_3$3 = ["title"];
|
|
6688
6639
|
const _hoisted_4$3 = ["title", "onClick"];
|
|
6640
|
+
const _hoisted_5$2 = ["title", "onClick"];
|
|
6689
6641
|
const _sfc_main$q = defineComponent({
|
|
6690
6642
|
__name: "index",
|
|
6691
6643
|
props: {
|
|
@@ -6834,10 +6786,11 @@ const _sfc_main$q = defineComponent({
|
|
|
6834
6786
|
"onUpdate:modelValue": ($event) => element.userConfigShow = $event,
|
|
6835
6787
|
class: normalizeClass(unref(createBEMName)("checkbox"))
|
|
6836
6788
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "class"]),
|
|
6837
|
-
_hoisted_2$
|
|
6789
|
+
_hoisted_2$5,
|
|
6838
6790
|
createElementVNode("span", {
|
|
6791
|
+
title: element.label,
|
|
6839
6792
|
class: normalizeClass(unref(createBEMName)("item-label"))
|
|
6840
|
-
}, toDisplayString(element.label), 3),
|
|
6793
|
+
}, toDisplayString(element.label), 11, _hoisted_3$3),
|
|
6841
6794
|
createElementVNode("i", {
|
|
6842
6795
|
title: element.fixed === "left" ? "\u53D6\u6D88\u51BB\u7ED3\u5217" : "\u51BB\u7ED3\u5728\u5DE6\u4FA7",
|
|
6843
6796
|
class: normalizeClass([
|
|
@@ -6845,7 +6798,7 @@ const _sfc_main$q = defineComponent({
|
|
|
6845
6798
|
element.fixed === "left" ? "icon-draw_affix_fill-copy primary" : "icon-draw_affix-copy"
|
|
6846
6799
|
]),
|
|
6847
6800
|
onClick: ($event) => handleToggleElementFixedLeft(element)
|
|
6848
|
-
}, null, 10,
|
|
6801
|
+
}, null, 10, _hoisted_4$3),
|
|
6849
6802
|
createElementVNode("i", {
|
|
6850
6803
|
title: element.fixed === "right" ? "\u53D6\u6D88\u51BB\u7ED3\u5217" : "\u51BB\u7ED3\u5728\u53F3\u4FA7",
|
|
6851
6804
|
class: normalizeClass([
|
|
@@ -6853,7 +6806,7 @@ const _sfc_main$q = defineComponent({
|
|
|
6853
6806
|
element.fixed === "right" ? "icon-draw_affix_fill primary" : "icon-draw_affix"
|
|
6854
6807
|
]),
|
|
6855
6808
|
onClick: ($event) => handleToggleElementFixedRight(element)
|
|
6856
|
-
}, null, 10,
|
|
6809
|
+
}, null, 10, _hoisted_5$2)
|
|
6857
6810
|
], 2)
|
|
6858
6811
|
]),
|
|
6859
6812
|
_: 1
|
|
@@ -6902,11 +6855,11 @@ const _sfc_main$q = defineComponent({
|
|
|
6902
6855
|
};
|
|
6903
6856
|
}
|
|
6904
6857
|
});
|
|
6905
|
-
var ColumnTools$1 = /* @__PURE__ */ _export_sfc(_sfc_main$q, [["__scopeId", "data-v-
|
|
6858
|
+
var ColumnTools$1 = /* @__PURE__ */ _export_sfc(_sfc_main$q, [["__scopeId", "data-v-62ecd909"]]);
|
|
6906
6859
|
var index_vue_vue_type_style_index_0_scoped_true_lang$6 = "";
|
|
6907
6860
|
const _withScopeId$1 = (n) => (pushScopeId("data-v-3858fcba"), n = n(), popScopeId(), n);
|
|
6908
6861
|
const _hoisted_1$9 = { key: 0 };
|
|
6909
|
-
const _hoisted_2$
|
|
6862
|
+
const _hoisted_2$4 = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ createElementVNode("span", { class: "export-wrod" }, "\u4ECE\u7B2C", -1));
|
|
6910
6863
|
const _hoisted_3$2 = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ createElementVNode("span", { class: "export-wrod" }, "\u9875\u5F00\u59CB\u5BFC\u51FA\uFF0C\u6BCF\u9875", -1));
|
|
6911
6864
|
const _hoisted_4$2 = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ createElementVNode("span", { class: "export-wrod" }, "\u6761\u6570\u636E", -1));
|
|
6912
6865
|
const _hoisted_5$1 = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ createElementVNode("div", null, null, -1));
|
|
@@ -7134,7 +7087,7 @@ const _sfc_main$p = defineComponent({
|
|
|
7134
7087
|
_: 1
|
|
7135
7088
|
}, 8, ["modelValue"]),
|
|
7136
7089
|
formData.fromApi ? (openBlock(), createElementBlock("div", _hoisted_1$9, [
|
|
7137
|
-
_hoisted_2$
|
|
7090
|
+
_hoisted_2$4,
|
|
7138
7091
|
createVNode(_component_el_input_number, {
|
|
7139
7092
|
modelValue: formData.pageIndex,
|
|
7140
7093
|
"onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => formData.pageIndex = $event),
|
|
@@ -7880,7 +7833,7 @@ const _sfc_main$k = defineComponent({
|
|
|
7880
7833
|
width: table.value.operate.width
|
|
7881
7834
|
}, table.value.operate.props), {
|
|
7882
7835
|
default: withCtx(({ row, $index }) => [
|
|
7883
|
-
table.value.filterable && $index === 0 ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [], 64)) : (openBlock(), createBlock(_sfc_main$
|
|
7836
|
+
table.value.filterable && $index === 0 ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [], 64)) : (openBlock(), createBlock(_sfc_main$B, mergeProps({
|
|
7884
7837
|
key: 1,
|
|
7885
7838
|
els: table.value.operate.els,
|
|
7886
7839
|
context: tableManager,
|
|
@@ -7901,7 +7854,7 @@ const _sfc_main$k = defineComponent({
|
|
|
7901
7854
|
width: table.value.operate.width
|
|
7902
7855
|
}, table.value.operate.props), {
|
|
7903
7856
|
default: withCtx(({ row, $index }) => [
|
|
7904
|
-
table.value.filterable && $index === 0 ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [], 64)) : (openBlock(), createBlock(_sfc_main$
|
|
7857
|
+
table.value.filterable && $index === 0 ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [], 64)) : (openBlock(), createBlock(_sfc_main$B, mergeProps({
|
|
7905
7858
|
key: 1,
|
|
7906
7859
|
els: table.value.operate.els,
|
|
7907
7860
|
context: tableManager,
|
|
@@ -8144,7 +8097,7 @@ class FormManager extends IManager {
|
|
|
8144
8097
|
}
|
|
8145
8098
|
var index_vue_vue_type_style_index_0_scoped_true_lang$3 = "";
|
|
8146
8099
|
const _hoisted_1$7 = ["onClick"];
|
|
8147
|
-
const _hoisted_2$
|
|
8100
|
+
const _hoisted_2$3 = { class: "section-item__title-text" };
|
|
8148
8101
|
const __default__$a = {
|
|
8149
8102
|
name: "SectionTitleEl"
|
|
8150
8103
|
};
|
|
@@ -8235,7 +8188,7 @@ const _sfc_main$j = defineComponent({
|
|
|
8235
8188
|
class: "section-item__title",
|
|
8236
8189
|
onClick: ($event) => toggleSectionHidden(index2)
|
|
8237
8190
|
}, [
|
|
8238
|
-
createElementVNode("span", _hoisted_2$
|
|
8191
|
+
createElementVNode("span", _hoisted_2$3, toDisplayString(section.text), 1),
|
|
8239
8192
|
isUseCollapseList.value[index2] ? (openBlock(), createBlock(_component_el_icon, {
|
|
8240
8193
|
key: 0,
|
|
8241
8194
|
size: 16
|
|
@@ -8536,7 +8489,7 @@ const defineForm = (form) => {
|
|
|
8536
8489
|
var setting_vue_vue_type_style_index_0_lang$1 = "";
|
|
8537
8490
|
var setting_vue_vue_type_style_index_1_lang$1 = "";
|
|
8538
8491
|
const _hoisted_1$6 = { key: 0 };
|
|
8539
|
-
const _hoisted_2$
|
|
8492
|
+
const _hoisted_2$2 = {
|
|
8540
8493
|
key: 1,
|
|
8541
8494
|
style: { "color": "#999" }
|
|
8542
8495
|
};
|
|
@@ -8743,7 +8696,7 @@ const _sfc_main$e = defineComponent({
|
|
|
8743
8696
|
createElementVNode("div", {
|
|
8744
8697
|
class: normalizeClass(unref(createBEMName)("cell"))
|
|
8745
8698
|
}, [
|
|
8746
|
-
element.sectionName ? (openBlock(), createElementBlock("span", _hoisted_1$6, toDisplayString(element.sectionName), 1)) : (openBlock(), createElementBlock("span", _hoisted_2$
|
|
8699
|
+
element.sectionName ? (openBlock(), createElementBlock("span", _hoisted_1$6, toDisplayString(element.sectionName), 1)) : (openBlock(), createElementBlock("span", _hoisted_2$2, "\u672A\u914D\u7F6E"))
|
|
8747
8700
|
], 2),
|
|
8748
8701
|
createElementVNode("div", {
|
|
8749
8702
|
class: normalizeClass(unref(createBEMName)("cell"))
|
|
@@ -10130,73 +10083,80 @@ const _sfc_main$6 = defineComponent({
|
|
|
10130
10083
|
});
|
|
10131
10084
|
var index_vue_vue_type_style_index_0_scoped_true_lang$1 = "";
|
|
10132
10085
|
const _hoisted_1$3 = { class: "table-toolbox" };
|
|
10086
|
+
const _hoisted_2$1 = ["onClick"];
|
|
10133
10087
|
const __default__$4 = {
|
|
10134
10088
|
name: "TableToolsbox"
|
|
10135
10089
|
};
|
|
10136
10090
|
const _sfc_main$5 = defineComponent({
|
|
10137
10091
|
...__default__$4,
|
|
10138
10092
|
props: {
|
|
10139
|
-
toolbox: {}
|
|
10093
|
+
toolbox: {},
|
|
10094
|
+
extendsToolbox: {}
|
|
10140
10095
|
},
|
|
10141
|
-
emits: ["
|
|
10096
|
+
emits: ["custom-event"],
|
|
10142
10097
|
setup(__props, { emit: __emit }) {
|
|
10098
|
+
const props = __props;
|
|
10143
10099
|
const emit = __emit;
|
|
10144
|
-
const
|
|
10145
|
-
|
|
10146
|
-
|
|
10147
|
-
|
|
10148
|
-
|
|
10100
|
+
const innerTools = {
|
|
10101
|
+
export: {
|
|
10102
|
+
icon: download,
|
|
10103
|
+
text: "\u5BFC\u51FA\u8868\u683C",
|
|
10104
|
+
event: "export"
|
|
10105
|
+
},
|
|
10106
|
+
fullscreen: {
|
|
10107
|
+
icon: fullScreen,
|
|
10108
|
+
text: "\u5207\u6362\u5168\u5C4F",
|
|
10109
|
+
event: "fullscreen"
|
|
10110
|
+
},
|
|
10111
|
+
"colunm-tool": {
|
|
10112
|
+
icon: tools,
|
|
10113
|
+
text: "\u5217\u8BBE\u7F6E",
|
|
10114
|
+
event: "show-column-tool"
|
|
10115
|
+
}
|
|
10149
10116
|
};
|
|
10150
|
-
const
|
|
10151
|
-
|
|
10117
|
+
const showToolbox = computed(() => {
|
|
10118
|
+
const _innerTools = props.toolbox ? props.toolbox.map((toolKey) => innerTools[toolKey]) : [];
|
|
10119
|
+
const extendsTools = (props.extendsToolbox || []).filter(
|
|
10120
|
+
(item) => typeof item.icon === "object"
|
|
10121
|
+
);
|
|
10122
|
+
return extendsTools.concat(_innerTools);
|
|
10123
|
+
});
|
|
10124
|
+
const handleClickTool = (index2, e) => {
|
|
10125
|
+
const item = showToolbox.value[index2];
|
|
10126
|
+
emit("custom-event", item.event, item, e);
|
|
10152
10127
|
};
|
|
10153
10128
|
return (_ctx, _cache) => {
|
|
10154
10129
|
const _component_el_icon = resolveComponent("el-icon");
|
|
10130
|
+
const _component_el_tooltip = resolveComponent("el-tooltip");
|
|
10155
10131
|
return openBlock(), createElementBlock("div", _hoisted_1$3, [
|
|
10156
|
-
|
|
10157
|
-
|
|
10158
|
-
|
|
10159
|
-
|
|
10160
|
-
|
|
10161
|
-
|
|
10162
|
-
|
|
10163
|
-
|
|
10164
|
-
|
|
10165
|
-
|
|
10166
|
-
|
|
10167
|
-
|
|
10168
|
-
|
|
10169
|
-
|
|
10170
|
-
|
|
10171
|
-
|
|
10172
|
-
|
|
10173
|
-
|
|
10174
|
-
|
|
10175
|
-
|
|
10176
|
-
|
|
10177
|
-
|
|
10178
|
-
|
|
10179
|
-
_: 1
|
|
10180
|
-
})
|
|
10181
|
-
])) : createCommentVNode("", true),
|
|
10182
|
-
_ctx.toolbox.includes("colunm-tool") ? (openBlock(), createElementBlock("div", {
|
|
10183
|
-
key: 2,
|
|
10184
|
-
class: "tool-item",
|
|
10185
|
-
title: "\u5217\u8BBE\u7F6E",
|
|
10186
|
-
onClick: handleShowColumnTool
|
|
10187
|
-
}, [
|
|
10188
|
-
createVNode(_component_el_icon, null, {
|
|
10189
|
-
default: withCtx(() => [
|
|
10190
|
-
createVNode(unref(tools))
|
|
10191
|
-
]),
|
|
10192
|
-
_: 1
|
|
10193
|
-
})
|
|
10194
|
-
])) : createCommentVNode("", true)
|
|
10132
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(showToolbox.value, (tool, index2) => {
|
|
10133
|
+
return openBlock(), createElementBlock("div", {
|
|
10134
|
+
class: "tool-item",
|
|
10135
|
+
key: index2,
|
|
10136
|
+
onClick: ($event) => handleClickTool(index2, $event)
|
|
10137
|
+
}, [
|
|
10138
|
+
createVNode(_component_el_tooltip, {
|
|
10139
|
+
effect: "dark",
|
|
10140
|
+
content: tool.text,
|
|
10141
|
+
placement: "top-start"
|
|
10142
|
+
}, {
|
|
10143
|
+
default: withCtx(() => [
|
|
10144
|
+
tool.icon ? (openBlock(), createBlock(_component_el_icon, { key: 0 }, {
|
|
10145
|
+
default: withCtx(() => [
|
|
10146
|
+
(openBlock(), createBlock(resolveDynamicComponent({ ...tool.icon })))
|
|
10147
|
+
]),
|
|
10148
|
+
_: 2
|
|
10149
|
+
}, 1024)) : createCommentVNode("", true)
|
|
10150
|
+
]),
|
|
10151
|
+
_: 2
|
|
10152
|
+
}, 1032, ["content"])
|
|
10153
|
+
], 8, _hoisted_2$1);
|
|
10154
|
+
}), 128))
|
|
10195
10155
|
]);
|
|
10196
10156
|
};
|
|
10197
10157
|
}
|
|
10198
10158
|
});
|
|
10199
|
-
var TableToolsbox = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["__scopeId", "data-v-
|
|
10159
|
+
var TableToolsbox = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["__scopeId", "data-v-cff47a5e"]]);
|
|
10200
10160
|
function patchConfig(config, patches) {
|
|
10201
10161
|
return patches.reduce((memoConfig, patchFn) => {
|
|
10202
10162
|
return patchFn.call(this, memoConfig);
|
|
@@ -10218,32 +10178,6 @@ const patchConfigUrl = (config) => {
|
|
|
10218
10178
|
console.log("patchConfigUrl completed =====>");
|
|
10219
10179
|
return innerConfig;
|
|
10220
10180
|
};
|
|
10221
|
-
const patchConfigAction = (config) => {
|
|
10222
|
-
var _a, _b;
|
|
10223
|
-
if (!config.action) {
|
|
10224
|
-
config.action = {
|
|
10225
|
-
els: []
|
|
10226
|
-
};
|
|
10227
|
-
}
|
|
10228
|
-
if (config.addUrl && config.isAutoAddButton && !config.addButtonInSelectButtonsArea) {
|
|
10229
|
-
const addButton = config.addButton;
|
|
10230
|
-
config.action.els.push({
|
|
10231
|
-
text: (_b = addButton == null ? void 0 : addButton.text) != null ? _b : `\u6DFB\u52A0${(_a = config.name) != null ? _a : ""}`,
|
|
10232
|
-
isAdd: true,
|
|
10233
|
-
props: addButton == null ? void 0 : addButton.props
|
|
10234
|
-
});
|
|
10235
|
-
}
|
|
10236
|
-
if (config.importUrl && config.isAutoImportButton) {
|
|
10237
|
-
config.action.els.push({
|
|
10238
|
-
text: "\u5BFC\u5165",
|
|
10239
|
-
isImport: true
|
|
10240
|
-
});
|
|
10241
|
-
if (!config.importMethod) {
|
|
10242
|
-
config.importMethod = "post";
|
|
10243
|
-
}
|
|
10244
|
-
}
|
|
10245
|
-
return config;
|
|
10246
|
-
};
|
|
10247
10181
|
const PROCESS_STATUS_CODE = 400;
|
|
10248
10182
|
function patchServerError(config) {
|
|
10249
10183
|
if (config.hasForm === false || !config.form) {
|
|
@@ -10481,16 +10415,13 @@ const _sfc_main$4 = defineComponent({
|
|
|
10481
10415
|
});
|
|
10482
10416
|
const hasTableToolbox = computed(() => {
|
|
10483
10417
|
var _a, _b;
|
|
10484
|
-
|
|
10418
|
+
const table = manager.config.table;
|
|
10419
|
+
return ((_a = table == null ? void 0 : table.toolbox) == null ? void 0 : _a.length) || ((_b = table == null ? void 0 : table.extendsToolbox) == null ? void 0 : _b.length);
|
|
10485
10420
|
});
|
|
10486
10421
|
const showSelectableButtonsArea = computed(() => {
|
|
10487
10422
|
const tableConfig = manager.config.table;
|
|
10488
10423
|
return hasSelectableActions.value && (tableConfig.selectable || tableConfig.selectableButtonLiveAlone) || hasFilterTools.value || hasTableToolbox.value;
|
|
10489
10424
|
});
|
|
10490
|
-
const hasActions = computed(() => {
|
|
10491
|
-
var _a, _b;
|
|
10492
|
-
return !!((_b = (_a = uConfig.value.action) == null ? void 0 : _a.els) == null ? void 0 : _b.length);
|
|
10493
|
-
});
|
|
10494
10425
|
watch(
|
|
10495
10426
|
() => {
|
|
10496
10427
|
return props.config;
|
|
@@ -10536,7 +10467,6 @@ const _sfc_main$4 = defineComponent({
|
|
|
10536
10467
|
patchConfig.call(manager, cloneDeep(config), [
|
|
10537
10468
|
patchDefaultConfig,
|
|
10538
10469
|
patchConfigUrl,
|
|
10539
|
-
patchConfigAction,
|
|
10540
10470
|
patchConfigSize,
|
|
10541
10471
|
patchSelectable,
|
|
10542
10472
|
...configPatches,
|
|
@@ -10628,9 +10558,6 @@ const _sfc_main$4 = defineComponent({
|
|
|
10628
10558
|
const showImport = () => {
|
|
10629
10559
|
manager.triggerImport();
|
|
10630
10560
|
};
|
|
10631
|
-
const handleImportEvent = async () => {
|
|
10632
|
-
showImport();
|
|
10633
|
-
};
|
|
10634
10561
|
const handleDelEvent = async (row, index2) => {
|
|
10635
10562
|
if (!row) {
|
|
10636
10563
|
return false;
|
|
@@ -10707,8 +10634,24 @@ const _sfc_main$4 = defineComponent({
|
|
|
10707
10634
|
const handleToggleTableFullscreen = () => {
|
|
10708
10635
|
isTableFullscreen.value = !isTableFullscreen.value;
|
|
10709
10636
|
};
|
|
10710
|
-
const handleShowColumnTool = (
|
|
10711
|
-
pageModelTableRef.value.showSimplePopover(
|
|
10637
|
+
const handleShowColumnTool = (item, e) => {
|
|
10638
|
+
pageModelTableRef.value.showSimplePopover(e.currentTarget);
|
|
10639
|
+
};
|
|
10640
|
+
const handleToolboxCustomEvent = (eventName, item, event) => {
|
|
10641
|
+
switch (eventName) {
|
|
10642
|
+
case "export":
|
|
10643
|
+
showExport();
|
|
10644
|
+
break;
|
|
10645
|
+
case "fullscreen":
|
|
10646
|
+
handleToggleTableFullscreen();
|
|
10647
|
+
break;
|
|
10648
|
+
case "show-column-tool":
|
|
10649
|
+
handleShowColumnTool(item, event);
|
|
10650
|
+
break;
|
|
10651
|
+
default:
|
|
10652
|
+
emitCustomEvent(eventName);
|
|
10653
|
+
break;
|
|
10654
|
+
}
|
|
10712
10655
|
};
|
|
10713
10656
|
__expose({
|
|
10714
10657
|
manager,
|
|
@@ -10746,7 +10689,6 @@ const _sfc_main$4 = defineComponent({
|
|
|
10746
10689
|
unref(BEMSpace),
|
|
10747
10690
|
{
|
|
10748
10691
|
"with-tab": hasTabs.value,
|
|
10749
|
-
"with-action": hasActions.value,
|
|
10750
10692
|
"with-search": isRenderForm.value,
|
|
10751
10693
|
"with-selectable-buttons": showSelectableButtonsArea.value
|
|
10752
10694
|
}
|
|
@@ -10754,51 +10696,41 @@ const _sfc_main$4 = defineComponent({
|
|
|
10754
10696
|
style: normalizeStyle({ height: props.height })
|
|
10755
10697
|
}, [
|
|
10756
10698
|
!uConfig.value ? (openBlock(), createElementBlock("span", _hoisted_1$2, "\u914D\u7F6E\u51C6\u5907\u4E2D")) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [
|
|
10757
|
-
hasTabs.value ||
|
|
10699
|
+
hasTabs.value || isRenderForm.value ? (openBlock(), createElementBlock("div", {
|
|
10758
10700
|
key: 0,
|
|
10759
|
-
class: normalizeClass(unref(createBEMName)("top-
|
|
10701
|
+
class: normalizeClass(unref(createBEMName)("top-filter"))
|
|
10760
10702
|
}, [
|
|
10761
|
-
hasTabs.value ? (openBlock(),
|
|
10703
|
+
hasTabs.value ? (openBlock(), createElementBlock("div", {
|
|
10762
10704
|
key: 0,
|
|
10763
|
-
|
|
10764
|
-
|
|
10765
|
-
|
|
10766
|
-
|
|
10767
|
-
|
|
10768
|
-
|
|
10769
|
-
|
|
10770
|
-
|
|
10771
|
-
|
|
10772
|
-
|
|
10705
|
+
class: normalizeClass(unref(createBEMName)("top-tabs"))
|
|
10706
|
+
}, [
|
|
10707
|
+
hasTabs.value ? (openBlock(), createBlock(_sfc_main$W, {
|
|
10708
|
+
key: 0,
|
|
10709
|
+
tabs: uConfig.value.tabs,
|
|
10710
|
+
manager,
|
|
10711
|
+
onCustom: handleCustomEvent
|
|
10712
|
+
}, {
|
|
10713
|
+
default: withCtx(() => [
|
|
10714
|
+
renderSlot(_ctx.$slots, "tabs-right")
|
|
10715
|
+
]),
|
|
10716
|
+
_: 3
|
|
10717
|
+
}, 8, ["tabs", "manager"])) : createCommentVNode("", true)
|
|
10718
|
+
], 2)) : createCommentVNode("", true),
|
|
10719
|
+
isRenderForm.value ? (openBlock(), createElementBlock("div", {
|
|
10773
10720
|
key: 1,
|
|
10774
|
-
class: normalizeClass(unref(createBEMName)("
|
|
10775
|
-
},
|
|
10776
|
-
|
|
10777
|
-
|
|
10778
|
-
|
|
10779
|
-
|
|
10780
|
-
|
|
10781
|
-
|
|
10782
|
-
|
|
10783
|
-
|
|
10784
|
-
|
|
10785
|
-
|
|
10786
|
-
|
|
10787
|
-
], 2)) : createCommentVNode("", true),
|
|
10788
|
-
isRenderForm.value ? (openBlock(), createElementBlock("div", {
|
|
10789
|
-
key: 1,
|
|
10790
|
-
class: normalizeClass(unref(createBEMName)("search"))
|
|
10791
|
-
}, [
|
|
10792
|
-
createVNode(_sfc_main$w, {
|
|
10793
|
-
ref_key: "searchFormRef",
|
|
10794
|
-
ref: searchFormRef,
|
|
10795
|
-
manager
|
|
10796
|
-
}, {
|
|
10797
|
-
default: withCtx(() => [
|
|
10798
|
-
renderSlot(_ctx.$slots, "search")
|
|
10799
|
-
]),
|
|
10800
|
-
_: 3
|
|
10801
|
-
}, 8, ["manager"])
|
|
10721
|
+
class: normalizeClass(unref(createBEMName)("search"))
|
|
10722
|
+
}, [
|
|
10723
|
+
createVNode(_sfc_main$w, {
|
|
10724
|
+
ref_key: "searchFormRef",
|
|
10725
|
+
ref: searchFormRef,
|
|
10726
|
+
manager
|
|
10727
|
+
}, {
|
|
10728
|
+
default: withCtx(() => [
|
|
10729
|
+
renderSlot(_ctx.$slots, "search")
|
|
10730
|
+
]),
|
|
10731
|
+
_: 3
|
|
10732
|
+
}, 8, ["manager"])
|
|
10733
|
+
], 2)) : createCommentVNode("", true)
|
|
10802
10734
|
], 2)) : createCommentVNode("", true),
|
|
10803
10735
|
createElementVNode("div", {
|
|
10804
10736
|
class: normalizeClass([unref(createBEMName)("main-wrap"), { fullscreen: isTableFullscreen.value }])
|
|
@@ -10812,7 +10744,7 @@ const _sfc_main$4 = defineComponent({
|
|
|
10812
10744
|
}, [
|
|
10813
10745
|
createVNode(_component_el_scrollbar, null, {
|
|
10814
10746
|
default: withCtx(() => [
|
|
10815
|
-
hasSelectableActions.value ? (openBlock(), createBlock(_sfc_main$
|
|
10747
|
+
hasSelectableActions.value ? (openBlock(), createBlock(_sfc_main$A, {
|
|
10816
10748
|
key: 0,
|
|
10817
10749
|
els: manager.config.table.selectableButtons,
|
|
10818
10750
|
tableManager: manager.tableManager,
|
|
@@ -10838,10 +10770,12 @@ const _sfc_main$4 = defineComponent({
|
|
|
10838
10770
|
hasTableToolbox.value ? (openBlock(), createBlock(TableToolsbox, {
|
|
10839
10771
|
key: 1,
|
|
10840
10772
|
toolbox: manager.config.table.toolbox,
|
|
10773
|
+
extendsToolbox: manager.config.table.extendsToolbox,
|
|
10774
|
+
onCustomEvent: handleToolboxCustomEvent,
|
|
10841
10775
|
onExport: showExport,
|
|
10842
10776
|
onFullscreen: handleToggleTableFullscreen,
|
|
10843
10777
|
onShowColumnTool: handleShowColumnTool
|
|
10844
|
-
}, null, 8, ["toolbox"])) : createCommentVNode("", true)
|
|
10778
|
+
}, null, 8, ["toolbox", "extendsToolbox"])) : createCommentVNode("", true)
|
|
10845
10779
|
], 2)
|
|
10846
10780
|
], 2)) : createCommentVNode("", true),
|
|
10847
10781
|
createElementVNode("div", {
|
|
@@ -10867,7 +10801,7 @@ const _sfc_main$4 = defineComponent({
|
|
|
10867
10801
|
], 2)
|
|
10868
10802
|
], 2),
|
|
10869
10803
|
uConfig.value.hasForm && Boolean(uConfig.value.form) ? (openBlock(), createBlock(_sfc_main$8, {
|
|
10870
|
-
key:
|
|
10804
|
+
key: 1,
|
|
10871
10805
|
form: uConfig.value.form,
|
|
10872
10806
|
formManager: manager.formManager,
|
|
10873
10807
|
ref_key: "formContainerRef",
|
|
@@ -10888,7 +10822,7 @@ const _sfc_main$4 = defineComponent({
|
|
|
10888
10822
|
_: 3
|
|
10889
10823
|
}, 8, ["form", "formManager"])) : createCommentVNode("", true),
|
|
10890
10824
|
unref(isRenderColumnToolsSetting) ? (openBlock(), createBlock(_sfc_main$e, {
|
|
10891
|
-
key:
|
|
10825
|
+
key: 2,
|
|
10892
10826
|
ref_key: "columnToolsSettingRef",
|
|
10893
10827
|
ref: columnToolsSettingRef,
|
|
10894
10828
|
onClosed: unref(onColumnToolsSettingClosed),
|
|
@@ -11761,7 +11695,7 @@ const _sfc_main = defineComponent({
|
|
|
11761
11695
|
}, 16, ["data"]),
|
|
11762
11696
|
bottomActions.value.length || hasSlots.value ? (openBlock(), createElementBlock("div", _hoisted_7, [
|
|
11763
11697
|
renderSlot(_ctx.$slots, "action-prefix", {}, void 0, true),
|
|
11764
|
-
createVNode(_sfc_main$
|
|
11698
|
+
createVNode(_sfc_main$B, {
|
|
11765
11699
|
els: bottomActions.value,
|
|
11766
11700
|
onCustom: handleBottomActionsEvent
|
|
11767
11701
|
}, null, 8, ["els"]),
|
|
@@ -11777,7 +11711,7 @@ const defineEditableTable = function(config) {
|
|
|
11777
11711
|
};
|
|
11778
11712
|
var iconfont = "";
|
|
11779
11713
|
const name = "@juzhenfe/page-model";
|
|
11780
|
-
const version = "3.
|
|
11714
|
+
const version = "3.10.0";
|
|
11781
11715
|
const types = "dist/main.d.ts";
|
|
11782
11716
|
const main = "dist/index.umd.js";
|
|
11783
11717
|
const keywords = [
|
|
@@ -11857,4 +11791,4 @@ const ModelComponent = {
|
|
|
11857
11791
|
saveTableColumns(content);
|
|
11858
11792
|
}
|
|
11859
11793
|
};
|
|
11860
|
-
export { _sfc_main$
|
|
11794
|
+
export { _sfc_main$B 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 };
|