yh-report 2.0.6 → 2.0.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/{StatementDesign-38133b0d.mjs → StatementDesign-a78008d8.mjs} +716 -713
- package/StatementDesign-a78008d8.mjs.map +1 -0
- package/{StatementDetail-d8dbaa85.mjs → StatementDetail-13610ada.mjs} +2 -2
- package/{StatementDetail-d8dbaa85.mjs.map → StatementDetail-13610ada.mjs.map} +1 -1
- package/{StatementList-7982c40b.mjs → StatementList-74031b06.mjs} +2 -2
- package/{StatementList-7982c40b.mjs.map → StatementList-74031b06.mjs.map} +1 -1
- package/{index-56784c64.mjs → index-1e2fd643.mjs} +5 -5
- package/index-1e2fd643.mjs.map +1 -0
- package/index.es.js +1 -1
- package/package.json +1 -1
- package/StatementDesign-38133b0d.mjs.map +0 -1
- package/index-56784c64.mjs.map +0 -1
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { ref as ue, computed as be, defineComponent as gt, watch as as, reactive as Cf, onMounted as un, onUnmounted as Wr, resolveComponent as fe, openBlock as U, createElementBlock as K, normalizeClass as cr, unref as b, normalizeStyle as Ct, createElementVNode as M, createVNode as Q, withCtx as
|
|
1
|
+
import { ref as ue, computed as be, defineComponent as gt, watch as as, reactive as Cf, onMounted as un, onUnmounted as Wr, resolveComponent as fe, openBlock as U, createElementBlock as K, normalizeClass as cr, unref as b, normalizeStyle as Ct, createElementVNode as M, createVNode as Q, withCtx as x, Fragment as re, renderList as Fe, createBlock as oe, resolveDynamicComponent as Vm, toDisplayString as Me, createTextVNode as B, createCommentVNode as ae, renderSlot as Fs, onActivated as Rf, onDeactivated as Xf, toRaw as Ym, withDirectives as kt, vShow as Tt, isRef as Em, withKeys as qm, nextTick as Mm } from "vue";
|
|
2
2
|
import { ElMessage as Ln, ElEmpty as Dm, ElDialog as Zf, ElFormItem as he, ElInput as Ii, ElSwitch as ii, ElButton as $e, ElRadioGroup as Yi, ElRadioButton as we, ElCheckbox as yh, ElColorPicker as Sh, ElForm as Lm, ElTabs as Um, ElCollapse as zm, ElCollapseItem as Wm, ElTooltip as Bm, ElMessageBox as Nm } from "element-plus";
|
|
3
3
|
import { useRoute as Af, onBeforeRouteLeave as Im } from "vue-router";
|
|
4
4
|
import { useFullscreen as Gm } from "@vueuse/core";
|
|
5
5
|
import { defineStore as jm, storeToRefs as Dt } from "pinia";
|
|
6
|
-
import { b as Fm, s as Hm, C as ee, F as Re, r as Km, e as Jm, f as eg, _ as tg, D as Ei, p as ig, h as Vf, i as ng, j as sg, T as rg, k as og, I as lg, l as ag, v as hg } from "./index-
|
|
6
|
+
import { b as Fm, s as Hm, C as ee, F as Re, r as Km, e as Jm, f as eg, _ as tg, D as Ei, p as ig, h as Vf, i as ng, j as sg, T as rg, k as og, I as lg, l as ag, v as hg } from "./index-1e2fd643.mjs";
|
|
7
7
|
import { cloneDeep as Ol, set as ni, get as ug } from "lodash-es";
|
|
8
8
|
import "@/libs/api.request.js";
|
|
9
9
|
import "echarts";
|
|
@@ -98,7 +98,7 @@ const Lt = function() {
|
|
|
98
98
|
class: "params-desinger desinger-container report-drop-target",
|
|
99
99
|
"data-source": "column",
|
|
100
100
|
"data-target": "params"
|
|
101
|
-
}, Og = ["
|
|
101
|
+
}, Og = ["data-index"], pg = /* @__PURE__ */ M("i", { class: "iconfont icon-delete" }, null, -1), mg = [
|
|
102
102
|
pg
|
|
103
103
|
], gg = { class: "report-desinger-container" }, _g = { class: "report-desinger-toolbar" }, Qg = { class: "report-desinger-table" }, bg = /* @__PURE__ */ M("col", { width: 80 }, null, -1), yg = ["width"], Sg = ["title", "data-area", "data-col", "data-row", "data-index", "rowspan", "colspan"], vg = ["data-index", "data-col"], xg = ["data-index", "data-row"], $g = {
|
|
104
104
|
key: 2,
|
|
@@ -113,8 +113,8 @@ const Lt = function() {
|
|
|
113
113
|
setup(n, { emit: e }) {
|
|
114
114
|
const t = n, i = Lt(), { activeIndex: s, active: r, activeParamIndex: o, activeCells: l, detail: a } = Dt(i), { prevActive: u, nextActive: h } = i, c = be(() => {
|
|
115
115
|
if (k.value && l.value && l.value.length === 1) {
|
|
116
|
-
let { col: z, row:
|
|
117
|
-
return k.value[
|
|
116
|
+
let { col: z, row: A } = l.value[0];
|
|
117
|
+
return k.value[A + 1].cols[z + 1] || {};
|
|
118
118
|
} else
|
|
119
119
|
return {};
|
|
120
120
|
}), f = be(() => t.option), d = be({
|
|
@@ -124,28 +124,28 @@ const Lt = function() {
|
|
|
124
124
|
set(z) {
|
|
125
125
|
f.value.colConfig = z;
|
|
126
126
|
}
|
|
127
|
-
}), p = be(() => d.value.reduce((z,
|
|
127
|
+
}), p = be(() => d.value.reduce((z, A) => z + A.size, 80));
|
|
128
128
|
function _(z) {
|
|
129
129
|
return String.fromCharCode(z);
|
|
130
130
|
}
|
|
131
131
|
function m(z) {
|
|
132
132
|
return z === 0 ? "" : z > 26 ? _(65 + (z / 26 - 1)) + _(65 + z % 26) : _(64 + z);
|
|
133
133
|
}
|
|
134
|
-
function O(z,
|
|
134
|
+
function O(z, A, v, q = -1) {
|
|
135
135
|
if (Array.isArray(z))
|
|
136
|
-
return z.some((
|
|
136
|
+
return z.some((V) => O(V, A, v, q));
|
|
137
137
|
if (z === null || typeof z != "object")
|
|
138
138
|
return !1;
|
|
139
|
-
const { type:
|
|
140
|
-
if (
|
|
139
|
+
const { type: Y, col: W, row: ne, index: ie } = z;
|
|
140
|
+
if (ie !== t.index || !Y)
|
|
141
141
|
return !1;
|
|
142
|
-
switch (
|
|
142
|
+
switch (A) {
|
|
143
143
|
case ee.COL:
|
|
144
|
-
return [ee.CELL, ee.COL].includes(
|
|
144
|
+
return [ee.CELL, ee.COL].includes(Y) && W === v - 1;
|
|
145
145
|
case ee.ROW:
|
|
146
|
-
return [ee.ROW, ee.CELL].includes(
|
|
146
|
+
return [ee.ROW, ee.CELL].includes(Y) && ne === v;
|
|
147
147
|
case ee.CELL:
|
|
148
|
-
return
|
|
148
|
+
return Y === ee.ROW && ne === q || Y === ee.COL && W === v || Y === ee.CELL && W === v && ne === q;
|
|
149
149
|
default:
|
|
150
150
|
return !1;
|
|
151
151
|
}
|
|
@@ -168,7 +168,7 @@ const Lt = function() {
|
|
|
168
168
|
bindDataLoop: !1
|
|
169
169
|
};
|
|
170
170
|
}
|
|
171
|
-
const k = ue([]), X = be(() => Ol(k.value).map((
|
|
171
|
+
const k = ue([]), X = be(() => Ol(k.value).map((A) => (A.cols = A.cols.filter((v) => v.rowSpan !== 0 && v.colSpan !== 0), A)));
|
|
172
172
|
as(
|
|
173
173
|
[l, r, f],
|
|
174
174
|
() => {
|
|
@@ -178,11 +178,11 @@ const Lt = function() {
|
|
|
178
178
|
);
|
|
179
179
|
function $() {
|
|
180
180
|
var W, ne;
|
|
181
|
-
let z = ((W = f.value.rowConfig) == null ? void 0 : W.length) ?? 5,
|
|
182
|
-
for (let
|
|
183
|
-
const
|
|
181
|
+
let z = ((W = f.value.rowConfig) == null ? void 0 : W.length) ?? 5, A = ((ne = f.value.colConfig) == null ? void 0 : ne.length) ?? 10, v = t.index === s.value && Array.isArray(l.value) ? [...l.value] : [], q = [], Y = [];
|
|
182
|
+
for (let ie = 0; ie < A + 1; ie++) {
|
|
183
|
+
const V = O(v, ee.COL, ie), { bindData: _e, bindDataLoop: de } = R(ie - 1), Ce = V || !1;
|
|
184
184
|
let _s = {
|
|
185
|
-
text: m(
|
|
185
|
+
text: m(ie),
|
|
186
186
|
styleAttr: "",
|
|
187
187
|
class: "mouse-down-target head",
|
|
188
188
|
active: Ce,
|
|
@@ -190,36 +190,36 @@ const Lt = function() {
|
|
|
190
190
|
loop: de,
|
|
191
191
|
type: ee.HEAD,
|
|
192
192
|
row: -1,
|
|
193
|
-
col:
|
|
193
|
+
col: ie - 1,
|
|
194
194
|
colSpan: 1,
|
|
195
195
|
rowSpan: 1
|
|
196
196
|
};
|
|
197
|
-
Ce && (_s.class += " active"),
|
|
197
|
+
Ce && (_s.class += " active"), Y.push(_s);
|
|
198
198
|
}
|
|
199
199
|
q.push({
|
|
200
200
|
size: 25,
|
|
201
201
|
bind: !1,
|
|
202
202
|
loop: !1,
|
|
203
|
-
cols:
|
|
203
|
+
cols: Y
|
|
204
204
|
});
|
|
205
|
-
for (let
|
|
206
|
-
const
|
|
205
|
+
for (let ie = 0; ie < z; ie++) {
|
|
206
|
+
const V = O(v, ee.ROW, ie), _e = [], de = {
|
|
207
207
|
type: ee.HEAD,
|
|
208
|
-
active:
|
|
208
|
+
active: V,
|
|
209
209
|
styleAttr: "",
|
|
210
210
|
class: "mouse-down-target head",
|
|
211
211
|
bind: !1,
|
|
212
212
|
loop: !1,
|
|
213
|
-
text: (
|
|
213
|
+
text: (ie + 1).toString(),
|
|
214
214
|
col: -1,
|
|
215
|
-
row:
|
|
215
|
+
row: ie,
|
|
216
216
|
colSpan: 1,
|
|
217
217
|
rowSpan: 1
|
|
218
218
|
};
|
|
219
|
-
|
|
220
|
-
for (let Vi = 0; Vi <
|
|
221
|
-
const _h = O(
|
|
222
|
-
let { bindData: Am, bindDataLoop: ck } = R(Vi), Qe = f.value.config && f.value.config[
|
|
219
|
+
V && (de.class += " active"), _e.push(de);
|
|
220
|
+
for (let Vi = 0; Vi < A; Vi++) {
|
|
221
|
+
const _h = O(v, ee.CELL, Vi, ie);
|
|
222
|
+
let { bindData: Am, bindDataLoop: ck } = R(Vi), Qe = f.value.config && f.value.config[ie] ? f.value.config[ie][Vi] : null;
|
|
223
223
|
if (Qe) {
|
|
224
224
|
let Qi = "", Qh = "", ao = ee.TEXT;
|
|
225
225
|
if (Qe && Qe.type) {
|
|
@@ -253,16 +253,16 @@ const Lt = function() {
|
|
|
253
253
|
loop: !1,
|
|
254
254
|
type: ao,
|
|
255
255
|
col: Vi,
|
|
256
|
-
row:
|
|
256
|
+
row: ie,
|
|
257
257
|
colSpan: Qe.colSpan !== void 0 && !isNaN(Qe.colSpan) ? Qe.colSpan : 1,
|
|
258
258
|
rowSpan: Qe.rowSpan !== void 0 && !isNaN(Qe.rowSpan) ? Qe.rowSpan : 1
|
|
259
259
|
};
|
|
260
260
|
_h && (bh.class += " active"), _e.push(bh);
|
|
261
261
|
}
|
|
262
262
|
}
|
|
263
|
-
const { bindData: Ce, bindDataLoop: _s } = y(
|
|
263
|
+
const { bindData: Ce, bindDataLoop: _s } = y(ie);
|
|
264
264
|
q.push({
|
|
265
|
-
size: f.value.rowConfig[
|
|
265
|
+
size: f.value.rowConfig[ie].size || 80,
|
|
266
266
|
bind: Ce,
|
|
267
267
|
loop: _s,
|
|
268
268
|
cols: _e
|
|
@@ -273,21 +273,21 @@ const Lt = function() {
|
|
|
273
273
|
const C = be(() => {
|
|
274
274
|
let z = "";
|
|
275
275
|
f.value.widthType === "%" ? z = `calc( ${f.value.width}${f.value.widthType} - 10px)` : z = `${f.value.width - 10}${f.value.widthType}`;
|
|
276
|
-
let
|
|
276
|
+
let A = `${f.value.height}px`;
|
|
277
277
|
return {
|
|
278
278
|
width: z,
|
|
279
|
-
height:
|
|
279
|
+
height: A
|
|
280
280
|
};
|
|
281
281
|
}), w = be({
|
|
282
282
|
get() {
|
|
283
283
|
var z;
|
|
284
|
-
return (z = f.value.params) == null ? void 0 : z.map((
|
|
285
|
-
const { componentName:
|
|
284
|
+
return (z = f.value.params) == null ? void 0 : z.map((A) => {
|
|
285
|
+
const { componentName: v, placeholerPrefix: q, type: Y } = Jm(A.dataType);
|
|
286
286
|
return {
|
|
287
|
-
...
|
|
288
|
-
componentName:
|
|
289
|
-
placeholer: q +
|
|
290
|
-
type:
|
|
287
|
+
...A,
|
|
288
|
+
componentName: v,
|
|
289
|
+
placeholer: q + A.name,
|
|
290
|
+
type: Y
|
|
291
291
|
};
|
|
292
292
|
});
|
|
293
293
|
},
|
|
@@ -295,14 +295,14 @@ const Lt = function() {
|
|
|
295
295
|
return f.value.params;
|
|
296
296
|
}
|
|
297
297
|
});
|
|
298
|
-
function P(z
|
|
299
|
-
let
|
|
300
|
-
if (
|
|
298
|
+
function P(z) {
|
|
299
|
+
let A = z.target;
|
|
300
|
+
if (A = A == null ? void 0 : A.closest(".del"), A && A.dataset) {
|
|
301
301
|
z.stopPropagation();
|
|
302
|
-
const { type: q } =
|
|
303
|
-
switch (
|
|
302
|
+
const { type: v, index: q } = A.dataset;
|
|
303
|
+
switch (v) {
|
|
304
304
|
case "params":
|
|
305
|
-
f.value.params && f.value.params.splice(
|
|
305
|
+
f.value.params && f.value.params.splice(q, 1);
|
|
306
306
|
break;
|
|
307
307
|
}
|
|
308
308
|
}
|
|
@@ -326,49 +326,49 @@ const Lt = function() {
|
|
|
326
326
|
});
|
|
327
327
|
let L = null;
|
|
328
328
|
function I(z) {
|
|
329
|
-
var
|
|
330
|
-
if ((
|
|
331
|
-
let { pageX: q, pageY:
|
|
332
|
-
L = {}, L.x = q, L.y =
|
|
329
|
+
var A, v;
|
|
330
|
+
if ((A = z.target) != null && A.closest(".report-desinger-table-content")) {
|
|
331
|
+
let { pageX: q, pageY: Y } = z, { x: W = 0, y: ne = 0 } = ((v = g.value) == null ? void 0 : v.getBoundingClientRect()) || {};
|
|
332
|
+
L = {}, L.x = q, L.y = Y, L.tableX = W, L.tableY = ne, E.left = q - W + "px", E.top = Y - ne + "px";
|
|
333
333
|
}
|
|
334
334
|
}
|
|
335
335
|
function N(z) {
|
|
336
336
|
if (L !== null) {
|
|
337
|
-
let { pageX:
|
|
338
|
-
|
|
337
|
+
let { pageX: A, pageY: v } = z, { tableX: q, tableY: Y, x: W, y: ne } = L;
|
|
338
|
+
A > W ? E.width = A - W - 1 + "px" : (E.left = A - q + "px", E.width = W - A + "px"), v > ne ? E.height = v - ne - 1 + "px" : (E.top = v - Y + "px", E.height = ne - v + "px");
|
|
339
339
|
}
|
|
340
340
|
}
|
|
341
341
|
function se(z) {
|
|
342
342
|
L = null, E.width = "0px", E.height = "0px", E.left = "0px", E.top = "0px";
|
|
343
343
|
}
|
|
344
344
|
return un(async () => {
|
|
345
|
-
var z,
|
|
345
|
+
var z, A;
|
|
346
346
|
if (!f.value.colConfig) {
|
|
347
|
-
let
|
|
347
|
+
let v = [], q = 10;
|
|
348
348
|
(z = f.value.config) != null && z.length && (q = f.value.config[0].length);
|
|
349
|
-
for (let
|
|
350
|
-
|
|
349
|
+
for (let Y = 0; Y < q; Y++)
|
|
350
|
+
v.push({
|
|
351
351
|
size: 80,
|
|
352
|
-
index:
|
|
352
|
+
index: Y
|
|
353
353
|
});
|
|
354
|
-
f.value.colConfig =
|
|
354
|
+
f.value.colConfig = v;
|
|
355
355
|
}
|
|
356
356
|
if (!f.value.rowConfig) {
|
|
357
|
-
let
|
|
358
|
-
(
|
|
359
|
-
for (let
|
|
360
|
-
|
|
357
|
+
let v = [], q = 5;
|
|
358
|
+
(A = f.value.config) != null && A.length && (q = f.value.config.length);
|
|
359
|
+
for (let Y = 0; Y < q; Y++)
|
|
360
|
+
v.push({
|
|
361
361
|
size: 40,
|
|
362
|
-
index:
|
|
362
|
+
index: Y
|
|
363
363
|
});
|
|
364
|
-
f.value.rowConfig =
|
|
364
|
+
f.value.rowConfig = v;
|
|
365
365
|
}
|
|
366
366
|
g.value && (g.value.addEventListener("mousedown", I), document.addEventListener("mousemove", N), document.addEventListener("mouseup", se));
|
|
367
367
|
}), Wr(() => {
|
|
368
368
|
var z;
|
|
369
369
|
(z = g.value) == null || z.removeEventListener("mousedown", I), document.removeEventListener("mousemove", N), document.removeEventListener("mouseup", se);
|
|
370
|
-
}), (z,
|
|
371
|
-
const
|
|
370
|
+
}), (z, A) => {
|
|
371
|
+
const v = fe("el-form-item"), q = fe("el-form"), Y = fe("el-button");
|
|
372
372
|
return U(), K("div", {
|
|
373
373
|
class: cr(["yh-statement-table report-drop-target", { active: t.index === b(s) }]),
|
|
374
374
|
style: Ct(b(C)),
|
|
@@ -380,25 +380,27 @@ const Lt = function() {
|
|
|
380
380
|
}, [
|
|
381
381
|
M("div", dg, [
|
|
382
382
|
Q(q, { inline: "" }, {
|
|
383
|
-
default:
|
|
384
|
-
(U(!0), K(re, null, Fe(b(w), (W, ne) => (U(), oe(
|
|
383
|
+
default: x(() => [
|
|
384
|
+
(U(!0), K(re, null, Fe(b(w), (W, ne) => (U(), oe(v, {
|
|
385
385
|
class: "params-desinger-item report-drag-source report-drop-target",
|
|
386
386
|
draggable: "true",
|
|
387
387
|
"data-drag": "params",
|
|
388
388
|
"data-source": "column",
|
|
389
389
|
"data-target": "params",
|
|
390
|
-
onClick: (
|
|
390
|
+
onClick: (ie) => o.value = ne,
|
|
391
391
|
"data-index": ne,
|
|
392
392
|
label: W.name
|
|
393
393
|
}, {
|
|
394
|
-
default:
|
|
394
|
+
default: x(() => [
|
|
395
395
|
(U(), oe(Vm(W.componentName), {
|
|
396
396
|
type: W.type,
|
|
397
397
|
placeholder: W.placeholer
|
|
398
398
|
}, null, 8, ["type", "placeholder"])),
|
|
399
399
|
M("div", {
|
|
400
400
|
class: "del",
|
|
401
|
-
|
|
401
|
+
"data-type": "params",
|
|
402
|
+
"data-index": ne,
|
|
403
|
+
onClick: P
|
|
402
404
|
}, mg, 8, Og)
|
|
403
405
|
]),
|
|
404
406
|
_: 2
|
|
@@ -420,13 +422,13 @@ const Lt = function() {
|
|
|
420
422
|
width: W == null ? void 0 : W.size
|
|
421
423
|
}, null, 8, yg))), 256))
|
|
422
424
|
]),
|
|
423
|
-
(U(!0), K(re, null, Fe(b(X), ({ size: W, cols: ne, bind:
|
|
425
|
+
(U(!0), K(re, null, Fe(b(X), ({ size: W, cols: ne, bind: ie, loop: V }, _e) => (U(), K("tr", {
|
|
424
426
|
style: Ct(`height: ${W}px;`)
|
|
425
427
|
}, [
|
|
426
428
|
(U(!0), K(re, null, Fe(ne, (de, Ce) => (U(), K("td", {
|
|
427
429
|
class: cr(de.class),
|
|
428
430
|
style: Ct(de.styleAttr),
|
|
429
|
-
title: `${(
|
|
431
|
+
title: `${(ie || de.bind) && de.type === "head" ? "随数据循环" : de.text}`,
|
|
430
432
|
"data-source": "column",
|
|
431
433
|
"data-target": "column",
|
|
432
434
|
"data-area": de.type === "head" ? "head" : "cell",
|
|
@@ -453,7 +455,7 @@ const Lt = function() {
|
|
|
453
455
|
"data-index": t.index,
|
|
454
456
|
"data-row": _e - 1
|
|
455
457
|
}, null, 8, xg)) : ae("", !0),
|
|
456
|
-
|
|
458
|
+
V || de.loop ? (U(), K("i", $g)) : ae("", !0)
|
|
457
459
|
], 64)) : ae("", !0)
|
|
458
460
|
], 14, Sg))), 256))
|
|
459
461
|
], 4))), 256))
|
|
@@ -461,31 +463,31 @@ const Lt = function() {
|
|
|
461
463
|
])
|
|
462
464
|
]),
|
|
463
465
|
M("div", Pg, [
|
|
464
|
-
Q(
|
|
466
|
+
Q(Y, {
|
|
465
467
|
type: "primary",
|
|
466
468
|
disabled: t.index === 0,
|
|
467
|
-
onClick:
|
|
469
|
+
onClick: A[0] || (A[0] = (W) => b(u)(t.index))
|
|
468
470
|
}, {
|
|
469
|
-
default:
|
|
471
|
+
default: x(() => [
|
|
470
472
|
wg
|
|
471
473
|
]),
|
|
472
474
|
_: 1
|
|
473
475
|
}, 8, ["disabled"]),
|
|
474
|
-
Q(
|
|
476
|
+
Q(Y, {
|
|
475
477
|
type: "primary",
|
|
476
478
|
disabled: t.index >= b(a).options.length - 1,
|
|
477
|
-
onClick:
|
|
479
|
+
onClick: A[1] || (A[1] = (W) => b(h)(t.index))
|
|
478
480
|
}, {
|
|
479
|
-
default:
|
|
481
|
+
default: x(() => [
|
|
480
482
|
kg
|
|
481
483
|
]),
|
|
482
484
|
_: 1
|
|
483
485
|
}, 8, ["disabled"]),
|
|
484
|
-
Q(
|
|
486
|
+
Q(Y, {
|
|
485
487
|
type: "primary",
|
|
486
488
|
onClick: T
|
|
487
489
|
}, {
|
|
488
|
-
default:
|
|
490
|
+
default: x(() => [
|
|
489
491
|
Tg
|
|
490
492
|
]),
|
|
491
493
|
_: 1
|
|
@@ -581,7 +583,7 @@ const Lt = function() {
|
|
|
581
583
|
"data-index": t.index,
|
|
582
584
|
style: { cursor: "move" }
|
|
583
585
|
}, {
|
|
584
|
-
default:
|
|
586
|
+
default: x(() => [
|
|
585
587
|
Vg
|
|
586
588
|
]),
|
|
587
589
|
_: 1
|
|
@@ -591,7 +593,7 @@ const Lt = function() {
|
|
|
591
593
|
title: "复原",
|
|
592
594
|
onClick: h
|
|
593
595
|
}, {
|
|
594
|
-
default:
|
|
596
|
+
default: x(() => [
|
|
595
597
|
Yg
|
|
596
598
|
]),
|
|
597
599
|
_: 1
|
|
@@ -602,7 +604,7 @@ const Lt = function() {
|
|
|
602
604
|
title: "悬浮",
|
|
603
605
|
onClick: c
|
|
604
606
|
}, {
|
|
605
|
-
default:
|
|
607
|
+
default: x(() => [
|
|
606
608
|
Eg
|
|
607
609
|
]),
|
|
608
610
|
_: 1
|
|
@@ -612,7 +614,7 @@ const Lt = function() {
|
|
|
612
614
|
disabled: t.index === 0,
|
|
613
615
|
onClick: _[0] || (_[0] = (O) => b(o)(t.index))
|
|
614
616
|
}, {
|
|
615
|
-
default:
|
|
617
|
+
default: x(() => [
|
|
616
618
|
qg
|
|
617
619
|
]),
|
|
618
620
|
_: 1
|
|
@@ -622,7 +624,7 @@ const Lt = function() {
|
|
|
622
624
|
disabled: t.index >= b(r).options.length - 1,
|
|
623
625
|
onClick: _[1] || (_[1] = (O) => b(l)(t.index))
|
|
624
626
|
}, {
|
|
625
|
-
default:
|
|
627
|
+
default: x(() => [
|
|
626
628
|
Mg
|
|
627
629
|
]),
|
|
628
630
|
_: 1
|
|
@@ -632,7 +634,7 @@ const Lt = function() {
|
|
|
632
634
|
title: "移除组件",
|
|
633
635
|
onClick: d
|
|
634
636
|
}, {
|
|
635
|
-
default:
|
|
637
|
+
default: x(() => [
|
|
636
638
|
Dg
|
|
637
639
|
]),
|
|
638
640
|
_: 1
|
|
@@ -734,14 +736,14 @@ const Lt = function() {
|
|
|
734
736
|
const C = k ? parseInt(k) : -1;
|
|
735
737
|
let w = X ? parseInt(X) : -1, P = $ ? parseInt($) : -1, { droparea: g, index: Z, rindex: T, cindex: E } = c;
|
|
736
738
|
if (g === R && Z === C && E !== void 0 && E > -1 && T !== void 0 && T > -1) {
|
|
737
|
-
let [L, I] = [E, w].sort(), [N, se] = [T, P].sort(), z = [];
|
|
738
|
-
for (let
|
|
739
|
-
for (let
|
|
739
|
+
let [L, I] = [E, w].sort((A, v) => A - v), [N, se] = [T, P].sort((A, v) => A - v), z = [];
|
|
740
|
+
for (let A = N; A <= se; A++)
|
|
741
|
+
for (let v = L; v <= I; v++)
|
|
740
742
|
z.push({
|
|
741
743
|
type: ee.CELL,
|
|
742
744
|
index: C,
|
|
743
|
-
col:
|
|
744
|
-
row:
|
|
745
|
+
col: v,
|
|
746
|
+
row: A
|
|
745
747
|
});
|
|
746
748
|
r.value = z;
|
|
747
749
|
} else if ([ee.COL, ee.ROW].includes(g) && (E !== void 0 && E > -1 || T !== void 0 && T > -1)) {
|
|
@@ -749,22 +751,22 @@ const Lt = function() {
|
|
|
749
751
|
switch (g) {
|
|
750
752
|
case ee.COL:
|
|
751
753
|
if (I !== void 0 && N !== void 0 && N > -1)
|
|
752
|
-
for (let
|
|
754
|
+
for (let A = I; A <= N; A++)
|
|
753
755
|
L.push({
|
|
754
756
|
type: ee.COL,
|
|
755
757
|
index: C,
|
|
756
|
-
col:
|
|
758
|
+
col: A,
|
|
757
759
|
row: -1
|
|
758
760
|
});
|
|
759
761
|
break;
|
|
760
762
|
case ee.ROW:
|
|
761
763
|
if (se !== void 0 && z !== void 0 && z > -1)
|
|
762
|
-
for (let
|
|
764
|
+
for (let A = se; A <= z; A++)
|
|
763
765
|
L.push({
|
|
764
766
|
type: ee.ROW,
|
|
765
767
|
index: C,
|
|
766
768
|
col: -1,
|
|
767
|
-
row:
|
|
769
|
+
row: A
|
|
768
770
|
});
|
|
769
771
|
break;
|
|
770
772
|
}
|
|
@@ -809,7 +811,7 @@ const Lt = function() {
|
|
|
809
811
|
onChoose: u,
|
|
810
812
|
onDel: h
|
|
811
813
|
}, {
|
|
812
|
-
default:
|
|
814
|
+
default: x(() => [
|
|
813
815
|
Q(eg, { chartData: R }, null, 8, ["chartData"])
|
|
814
816
|
]),
|
|
815
817
|
_: 2
|
|
@@ -838,7 +840,7 @@ const Lt = function() {
|
|
|
838
840
|
onClose: i[0] || (i[0] = (s) => e("update:modelValue", !1)),
|
|
839
841
|
class: "help-dialog"
|
|
840
842
|
}, {
|
|
841
|
-
default:
|
|
843
|
+
default: x(() => [
|
|
842
844
|
Bg
|
|
843
845
|
]),
|
|
844
846
|
_: 1
|
|
@@ -879,9 +881,9 @@ const Ig = { class: "chart-series-wrapper" }, Gg = ["data-drag", "data-index"],
|
|
|
879
881
|
return b(t) ? (U(), K(re, { key: 0 }, [
|
|
880
882
|
Hg,
|
|
881
883
|
Q(r, { span: 12 }, {
|
|
882
|
-
default:
|
|
884
|
+
default: x(() => [
|
|
883
885
|
Q(b(he), { label: "名称" }, {
|
|
884
|
-
default:
|
|
886
|
+
default: x(() => [
|
|
885
887
|
Q(b(Ii), {
|
|
886
888
|
modelValue: b(t).name,
|
|
887
889
|
"onUpdate:modelValue": s[0] || (s[0] = (a) => b(t).name = a),
|
|
@@ -894,9 +896,9 @@ const Ig = { class: "chart-series-wrapper" }, Gg = ["data-drag", "data-index"],
|
|
|
894
896
|
_: 1
|
|
895
897
|
}),
|
|
896
898
|
Q(r, { span: 12 }, {
|
|
897
|
-
default:
|
|
899
|
+
default: x(() => [
|
|
898
900
|
Q(b(he), { label: "参数名" }, {
|
|
899
|
-
default:
|
|
901
|
+
default: x(() => [
|
|
900
902
|
B(Me(b(t).columnName), 1)
|
|
901
903
|
]),
|
|
902
904
|
_: 1
|
|
@@ -905,15 +907,15 @@ const Ig = { class: "chart-series-wrapper" }, Gg = ["data-drag", "data-index"],
|
|
|
905
907
|
_: 1
|
|
906
908
|
}),
|
|
907
909
|
Q(r, { span: 24 }, {
|
|
908
|
-
default:
|
|
910
|
+
default: x(() => [
|
|
909
911
|
Q(b(he), { label: "类型" }, {
|
|
910
|
-
default:
|
|
912
|
+
default: x(() => [
|
|
911
913
|
Q(l, {
|
|
912
914
|
filterable: "",
|
|
913
915
|
modelValue: b(t).type,
|
|
914
916
|
"onUpdate:modelValue": s[1] || (s[1] = (a) => b(t).type = a)
|
|
915
917
|
}, {
|
|
916
|
-
default:
|
|
918
|
+
default: x(() => [
|
|
917
919
|
Q(o, {
|
|
918
920
|
value: "LIKE",
|
|
919
921
|
label: "模糊查询"
|
|
@@ -956,15 +958,15 @@ const Ig = { class: "chart-series-wrapper" }, Gg = ["data-drag", "data-index"],
|
|
|
956
958
|
_: 1
|
|
957
959
|
}),
|
|
958
960
|
Q(r, { span: 24 }, {
|
|
959
|
-
default:
|
|
961
|
+
default: x(() => [
|
|
960
962
|
Q(b(he), { label: "数据类型" }, {
|
|
961
|
-
default:
|
|
963
|
+
default: x(() => [
|
|
962
964
|
Q(l, {
|
|
963
965
|
filterable: "",
|
|
964
966
|
modelValue: b(t).dataType,
|
|
965
967
|
"onUpdate:modelValue": s[2] || (s[2] = (a) => b(t).dataType = a)
|
|
966
968
|
}, {
|
|
967
|
-
default:
|
|
969
|
+
default: x(() => [
|
|
968
970
|
Q(o, {
|
|
969
971
|
value: "STRING",
|
|
970
972
|
label: "字符"
|
|
@@ -1054,15 +1056,15 @@ const Ig = { class: "chart-series-wrapper" }, Gg = ["data-drag", "data-index"],
|
|
|
1054
1056
|
key: 0,
|
|
1055
1057
|
span: 24
|
|
1056
1058
|
}, {
|
|
1057
|
-
default:
|
|
1059
|
+
default: x(() => [
|
|
1058
1060
|
Q(b(he), { label: "日期类型" }, {
|
|
1059
|
-
default:
|
|
1061
|
+
default: x(() => [
|
|
1060
1062
|
Q(l, {
|
|
1061
1063
|
filterable: "",
|
|
1062
|
-
modelValue:
|
|
1063
|
-
"onUpdate:modelValue": s[3] || (s[3] = (a) =>
|
|
1064
|
+
modelValue: b(t).dateType,
|
|
1065
|
+
"onUpdate:modelValue": s[3] || (s[3] = (a) => b(t).dateType = a)
|
|
1064
1066
|
}, {
|
|
1065
|
-
default:
|
|
1067
|
+
default: x(() => [
|
|
1066
1068
|
Q(o, {
|
|
1067
1069
|
value: "year",
|
|
1068
1070
|
label: "年"
|
|
@@ -1093,9 +1095,9 @@ const Ig = { class: "chart-series-wrapper" }, Gg = ["data-drag", "data-index"],
|
|
|
1093
1095
|
_: 1
|
|
1094
1096
|
})) : ae("", !0),
|
|
1095
1097
|
Q(r, { span: 12 }, {
|
|
1096
|
-
default:
|
|
1098
|
+
default: x(() => [
|
|
1097
1099
|
Q(b(he), { label: "不能为空" }, {
|
|
1098
|
-
default:
|
|
1100
|
+
default: x(() => [
|
|
1099
1101
|
Q(b(ii), {
|
|
1100
1102
|
modelValue: b(t).isNull,
|
|
1101
1103
|
"onUpdate:modelValue": s[4] || (s[4] = (a) => b(t).isNull = a)
|
|
@@ -1106,18 +1108,18 @@ const Ig = { class: "chart-series-wrapper" }, Gg = ["data-drag", "data-index"],
|
|
|
1106
1108
|
]),
|
|
1107
1109
|
_: 1
|
|
1108
1110
|
}),
|
|
1109
|
-
|
|
1111
|
+
b(t).isNull && [b(Ei).DATE, b(Ei).DATETIME].includes(b(t).dataType) ? (U(), oe(r, {
|
|
1110
1112
|
key: 1,
|
|
1111
1113
|
span: 12
|
|
1112
1114
|
}, {
|
|
1113
|
-
default:
|
|
1115
|
+
default: x(() => [
|
|
1114
1116
|
Q(b(he), { label: "日期默认值" }, {
|
|
1115
|
-
default:
|
|
1117
|
+
default: x(() => [
|
|
1116
1118
|
Q(l, {
|
|
1117
|
-
modelValue:
|
|
1118
|
-
"onUpdate:modelValue": s[5] || (s[5] = (a) =>
|
|
1119
|
+
modelValue: b(t).defaultValue,
|
|
1120
|
+
"onUpdate:modelValue": s[5] || (s[5] = (a) => b(t).defaultValue = a)
|
|
1119
1121
|
}, {
|
|
1120
|
-
default:
|
|
1122
|
+
default: x(() => [
|
|
1121
1123
|
Q(o, {
|
|
1122
1124
|
value: "today",
|
|
1123
1125
|
label: "今天"
|
|
@@ -1147,9 +1149,9 @@ const Ig = { class: "chart-series-wrapper" }, Gg = ["data-drag", "data-index"],
|
|
|
1147
1149
|
key: 2,
|
|
1148
1150
|
span: 12
|
|
1149
1151
|
}, {
|
|
1150
|
-
default:
|
|
1152
|
+
default: x(() => [
|
|
1151
1153
|
Q(b(he), { label: "默认值" }, {
|
|
1152
|
-
default:
|
|
1154
|
+
default: x(() => [
|
|
1153
1155
|
Q(b(Ii), {
|
|
1154
1156
|
modelValue: b(t).defaultValue,
|
|
1155
1157
|
"onUpdate:modelValue": s[6] || (s[6] = (a) => b(t).defaultValue = a)
|
|
@@ -1161,9 +1163,9 @@ const Ig = { class: "chart-series-wrapper" }, Gg = ["data-drag", "data-index"],
|
|
|
1161
1163
|
_: 1
|
|
1162
1164
|
})) : ae("", !0),
|
|
1163
1165
|
Q(r, { span: 12 }, {
|
|
1164
|
-
default:
|
|
1166
|
+
default: x(() => [
|
|
1165
1167
|
Q(b(he), { label: "是否显示" }, {
|
|
1166
|
-
default:
|
|
1168
|
+
default: x(() => [
|
|
1167
1169
|
Q(b(ii), {
|
|
1168
1170
|
modelValue: b(t).isShow,
|
|
1169
1171
|
"onUpdate:modelValue": s[7] || (s[7] = (a) => b(t).isShow = a)
|
|
@@ -1175,9 +1177,9 @@ const Ig = { class: "chart-series-wrapper" }, Gg = ["data-drag", "data-index"],
|
|
|
1175
1177
|
_: 1
|
|
1176
1178
|
}),
|
|
1177
1179
|
Q(r, { span: 24 }, {
|
|
1178
|
-
default:
|
|
1180
|
+
default: x(() => [
|
|
1179
1181
|
Q(b(he), { label: "默认值" }, {
|
|
1180
|
-
default:
|
|
1182
|
+
default: x(() => [
|
|
1181
1183
|
Q(b(Ii), {
|
|
1182
1184
|
modelValue: b(t).defaultValue,
|
|
1183
1185
|
"onUpdate:modelValue": s[8] || (s[8] = (a) => b(t).defaultValue = a)
|
|
@@ -4964,7 +4966,7 @@ class ti {
|
|
|
4964
4966
|
var He = /* @__PURE__ */ function(n) {
|
|
4965
4967
|
return n[n.Text = 0] = "Text", n[n.WidgetBefore = 1] = "WidgetBefore", n[n.WidgetAfter = 2] = "WidgetAfter", n[n.WidgetRange = 3] = "WidgetRange", n;
|
|
4966
4968
|
}(He || (He = {}));
|
|
4967
|
-
class
|
|
4969
|
+
class te extends ki {
|
|
4968
4970
|
constructor(e, t, i, s) {
|
|
4969
4971
|
super(), this.startSide = e, this.endSide = t, this.widget = i, this.spec = s;
|
|
4970
4972
|
}
|
|
@@ -5030,8 +5032,8 @@ class ie extends ki {
|
|
|
5030
5032
|
return this.widget ? this.widget.estimatedHeight > -1 : !1;
|
|
5031
5033
|
}
|
|
5032
5034
|
}
|
|
5033
|
-
|
|
5034
|
-
class hs extends
|
|
5035
|
+
te.none = ge.empty;
|
|
5036
|
+
class hs extends te {
|
|
5035
5037
|
constructor(e) {
|
|
5036
5038
|
let { start: t, end: i } = pd(e);
|
|
5037
5039
|
super(t ? -1 : 5e8, i ? 1 : -6e8, null, e), this.tagName = e.tagName || "span", this.class = e.class || "", this.attrs = e.attributes || null;
|
|
@@ -5047,7 +5049,7 @@ class hs extends ie {
|
|
|
5047
5049
|
}
|
|
5048
5050
|
}
|
|
5049
5051
|
hs.prototype.point = !1;
|
|
5050
|
-
class us extends
|
|
5052
|
+
class us extends te {
|
|
5051
5053
|
constructor(e) {
|
|
5052
5054
|
super(-2e8, -2e8, null, e);
|
|
5053
5055
|
}
|
|
@@ -5062,7 +5064,7 @@ class us extends ie {
|
|
|
5062
5064
|
}
|
|
5063
5065
|
us.prototype.mapMode = We.TrackBefore;
|
|
5064
5066
|
us.prototype.point = !0;
|
|
5065
|
-
class di extends
|
|
5067
|
+
class di extends te {
|
|
5066
5068
|
constructor(e, t, i, s, r, o) {
|
|
5067
5069
|
super(t, i, r, e), this.block = s, this.isReplace = o, this.mapMode = s ? t <= 0 ? We.TrackBefore : We.TrackAfter : We.TrackDel;
|
|
5068
5070
|
}
|
|
@@ -5699,7 +5701,7 @@ class Ee {
|
|
|
5699
5701
|
let a = [Tn.of(l)];
|
|
5700
5702
|
return o && a.push(In.of((u) => {
|
|
5701
5703
|
let h = u.plugin(l);
|
|
5702
|
-
return h ? o(h) :
|
|
5704
|
+
return h ? o(h) : te.none;
|
|
5703
5705
|
})), r && a.push(r(l)), a;
|
|
5704
5706
|
});
|
|
5705
5707
|
}
|
|
@@ -5897,7 +5899,7 @@ class Uh extends xe {
|
|
|
5897
5899
|
return this.view.state.doc.length;
|
|
5898
5900
|
}
|
|
5899
5901
|
constructor(e) {
|
|
5900
|
-
super(), this.view = e, this.decorations = [], this.dynamicDecorationMap = [!1], this.domChanged = null, this.hasComposition = null, this.markedForComposition = /* @__PURE__ */ new Set(), this.editContextFormatting =
|
|
5902
|
+
super(), this.view = e, this.decorations = [], this.dynamicDecorationMap = [!1], this.domChanged = null, this.hasComposition = null, this.markedForComposition = /* @__PURE__ */ new Set(), this.editContextFormatting = te.none, this.lastCompositionAfterCursor = !1, this.minWidth = 0, this.minWidthFrom = 0, this.minWidthTo = 0, this.impreciseAnchor = null, this.impreciseHead = null, this.forceSelection = !1, this.lastUpdate = Date.now(), this.setDOM(e.contentDOM), this.children = [new Ve()], this.children[0].setParent(this), this.updateDeco(), this.updateInner([new pt(0, 0, 0, e.state.doc.length)], 0, null);
|
|
5901
5903
|
}
|
|
5902
5904
|
// Update the document view to a given state.
|
|
5903
5905
|
update(e) {
|
|
@@ -6180,7 +6182,7 @@ class Uh extends xe {
|
|
|
6180
6182
|
let r = s == t.viewports.length ? null : t.viewports[s], o = r ? r.from - 1 : this.length;
|
|
6181
6183
|
if (o > i) {
|
|
6182
6184
|
let l = (t.lineBlockAt(o).bottom - t.lineBlockAt(i).top) / this.view.scaleY;
|
|
6183
|
-
e.push(
|
|
6185
|
+
e.push(te.replace({
|
|
6184
6186
|
widget: new Yl(l),
|
|
6185
6187
|
block: !0,
|
|
6186
6188
|
inclusive: !0,
|
|
@@ -6191,7 +6193,7 @@ class Uh extends xe {
|
|
|
6191
6193
|
break;
|
|
6192
6194
|
i = r.to + 1;
|
|
6193
6195
|
}
|
|
6194
|
-
return
|
|
6196
|
+
return te.set(e);
|
|
6195
6197
|
}
|
|
6196
6198
|
updateDeco() {
|
|
6197
6199
|
let e = 1, t = this.view.state.facet(In).map((r) => (this.dynamicDecorationMap[e++] = typeof r == "function") ? r(this.view) : r), i = !1, s = this.view.state.facet(Xd).map((r, o) => {
|
|
@@ -7779,7 +7781,7 @@ class Qo {
|
|
|
7779
7781
|
return !0;
|
|
7780
7782
|
}
|
|
7781
7783
|
draw(e, t) {
|
|
7782
|
-
return
|
|
7784
|
+
return te.replace({
|
|
7783
7785
|
widget: new q0(this.displaySize * (t ? e.scaleY : e.scaleX), t)
|
|
7784
7786
|
}).range(this.from, this.to);
|
|
7785
7787
|
}
|
|
@@ -7806,7 +7808,7 @@ class lu {
|
|
|
7806
7808
|
this.heightOracle = new T0(t), this.stateDeco = e.facet(In).filter((i) => typeof i != "function"), this.heightMap = Ke.empty().applyChanges(this.stateDeco, Oe.empty, this.heightOracle.setDoc(e.doc), [new pt(0, 0, 0, e.doc.length)]);
|
|
7807
7809
|
for (let i = 0; i < 2 && (this.viewport = this.getViewport(0, null), !!this.updateForViewport()); i++)
|
|
7808
7810
|
;
|
|
7809
|
-
this.updateViewportLines(), this.lineGaps = this.ensureLineGaps([]), this.lineGapDeco =
|
|
7811
|
+
this.updateViewportLines(), this.lineGaps = this.ensureLineGaps([]), this.lineGapDeco = te.set(this.lineGaps.map((i) => i.draw(this, !1))), this.computeVisibleRanges();
|
|
7810
7812
|
}
|
|
7811
7813
|
updateForViewport() {
|
|
7812
7814
|
let e = [this.viewport], { main: t } = this.state.selection;
|
|
@@ -7990,7 +7992,7 @@ class lu {
|
|
|
7990
7992
|
return this.heightOracle.lineWrapping ? e.height * r : s.total * this.heightOracle.charWidth * r;
|
|
7991
7993
|
}
|
|
7992
7994
|
updateLineGaps(e) {
|
|
7993
|
-
Qo.same(e, this.lineGaps) || (this.lineGaps = e, this.lineGapDeco =
|
|
7995
|
+
Qo.same(e, this.lineGaps) || (this.lineGaps = e, this.lineGapDeco = te.set(e.map((t) => t.draw(this, this.heightOracle.lineWrapping))));
|
|
7994
7996
|
}
|
|
7995
7997
|
computeVisibleRanges(e) {
|
|
7996
7998
|
let t = this.stateDeco;
|
|
@@ -8683,11 +8685,11 @@ class B0 {
|
|
|
8683
8685
|
let a = this.toEditorPos(r.rangeStart), u = this.toEditorPos(r.rangeEnd);
|
|
8684
8686
|
if (a < u) {
|
|
8685
8687
|
let h = `text-decoration: underline ${o == "Dashed" ? "dashed " : o == "Squiggle" ? "wavy " : ""}${l == "Thin" ? 1 : 2}px`;
|
|
8686
|
-
s.push(
|
|
8688
|
+
s.push(te.mark({ attributes: { style: h } }).range(a, u));
|
|
8687
8689
|
}
|
|
8688
8690
|
}
|
|
8689
8691
|
}
|
|
8690
|
-
e.dispatch({ effects: Cd.of(
|
|
8692
|
+
e.dispatch({ effects: Cd.of(te.set(s)) });
|
|
8691
8693
|
}, this.handlers.compositionstart = () => {
|
|
8692
8694
|
e.inputState.composing < 0 && (e.inputState.composing = 0, e.inputState.compositionFirstChange = !0);
|
|
8693
8695
|
}, this.handlers.compositionend = () => {
|
|
@@ -9731,8 +9733,8 @@ function J0(n, e, t) {
|
|
|
9731
9733
|
function R(X, $, C) {
|
|
9732
9734
|
let w = 1e9, P = -1e9, g = [];
|
|
9733
9735
|
function Z(L, I, N, se, z) {
|
|
9734
|
-
let
|
|
9735
|
-
!
|
|
9736
|
+
let A = n.coordsAtPos(L, L == C.to ? -2 : 2), v = n.coordsAtPos(N, N == C.from ? 2 : -2);
|
|
9737
|
+
!A || !v || (w = Math.min(A.top, v.top, w), P = Math.max(A.bottom, v.bottom, P), z == Te.LTR ? g.push(r && I ? c : A.left, r && se ? f : v.right) : g.push(!r && se ? c : v.left, !r && I ? f : A.right));
|
|
9736
9738
|
}
|
|
9737
9739
|
let T = X ?? C.from, E = $ ?? C.to;
|
|
9738
9740
|
for (let L of n.visibleRanges)
|
|
@@ -9740,10 +9742,10 @@ function J0(n, e, t) {
|
|
|
9740
9742
|
for (let I = Math.max(L.from, T), N = Math.min(L.to, E); ; ) {
|
|
9741
9743
|
let se = n.state.doc.lineAt(I);
|
|
9742
9744
|
for (let z of n.bidiSpans(se)) {
|
|
9743
|
-
let
|
|
9744
|
-
if (
|
|
9745
|
+
let A = z.from + se.from, v = z.to + se.from;
|
|
9746
|
+
if (A >= N)
|
|
9745
9747
|
break;
|
|
9746
|
-
|
|
9748
|
+
v > I && Z(Math.max(A, I), X == null && A <= T, Math.min(v, N), $ == null && v >= E, z.dir);
|
|
9747
9749
|
}
|
|
9748
9750
|
if (I = se.to + 1, I >= N)
|
|
9749
9751
|
break;
|
|
@@ -10077,7 +10079,7 @@ let gu = null;
|
|
|
10077
10079
|
function OQ() {
|
|
10078
10080
|
return gu || (gu = Ee.fromClass(class {
|
|
10079
10081
|
constructor(n) {
|
|
10080
|
-
this.view = n, this.decorations =
|
|
10082
|
+
this.view = n, this.decorations = te.none, this.decorationCache = /* @__PURE__ */ Object.create(null), this.decorator = this.makeDecorator(n.state.facet(sr)), this.decorations = this.decorator.createDeco(n);
|
|
10081
10083
|
}
|
|
10082
10084
|
makeDecorator(n) {
|
|
10083
10085
|
return new hQ({
|
|
@@ -10086,11 +10088,11 @@ function OQ() {
|
|
|
10086
10088
|
let { doc: s } = t.state, r = et(e[0], 0);
|
|
10087
10089
|
if (r == 9) {
|
|
10088
10090
|
let o = s.lineAt(i), l = t.state.tabSize, a = cn(o.text, l, i - o.from);
|
|
10089
|
-
return
|
|
10091
|
+
return te.replace({
|
|
10090
10092
|
widget: new _Q((l - a % l) * this.view.defaultCharacterWidth / this.view.scaleX)
|
|
10091
10093
|
});
|
|
10092
10094
|
}
|
|
10093
|
-
return this.decorationCache[r] || (this.decorationCache[r] =
|
|
10095
|
+
return this.decorationCache[r] || (this.decorationCache[r] = te.replace({ widget: new gQ(n, r) }));
|
|
10094
10096
|
},
|
|
10095
10097
|
boundary: n.replaceTabs ? void 0 : /[^]/
|
|
10096
10098
|
});
|
|
@@ -10143,7 +10145,7 @@ class _Q extends ti {
|
|
|
10143
10145
|
function QQ() {
|
|
10144
10146
|
return yQ;
|
|
10145
10147
|
}
|
|
10146
|
-
const bQ = /* @__PURE__ */
|
|
10148
|
+
const bQ = /* @__PURE__ */ te.line({ class: "cm-activeLine" }), yQ = /* @__PURE__ */ Ee.fromClass(class {
|
|
10147
10149
|
constructor(n) {
|
|
10148
10150
|
this.decorations = this.getDeco(n);
|
|
10149
10151
|
}
|
|
@@ -10156,7 +10158,7 @@ const bQ = /* @__PURE__ */ ie.line({ class: "cm-activeLine" }), yQ = /* @__PURE_
|
|
|
10156
10158
|
let s = n.lineBlockAt(i.head);
|
|
10157
10159
|
s.from > e && (t.push(bQ.range(s.from)), e = s.from);
|
|
10158
10160
|
}
|
|
10159
|
-
return
|
|
10161
|
+
return te.set(t);
|
|
10160
10162
|
}
|
|
10161
10163
|
}, {
|
|
10162
10164
|
decorations: (n) => n.decorations
|
|
@@ -12231,25 +12233,25 @@ function i1(n) {
|
|
|
12231
12233
|
return;
|
|
12232
12234
|
} else
|
|
12233
12235
|
throw new RangeError(`Unrecognized record size: ${L}`);
|
|
12234
|
-
let se = a[Z], z,
|
|
12235
|
-
if (E - T <= s && (
|
|
12236
|
-
let q = new Uint16Array(
|
|
12237
|
-
for (; l.pos >
|
|
12238
|
-
W = O(
|
|
12239
|
-
z = new Oi(q, E -
|
|
12236
|
+
let se = a[Z], z, A, v = T - X;
|
|
12237
|
+
if (E - T <= s && (A = m(l.pos - $, P))) {
|
|
12238
|
+
let q = new Uint16Array(A.size - A.skip), Y = l.pos - A.size, W = q.length;
|
|
12239
|
+
for (; l.pos > Y; )
|
|
12240
|
+
W = O(A.start, q, W);
|
|
12241
|
+
z = new Oi(q, E - A.start, i), v = A.start - X;
|
|
12240
12242
|
} else {
|
|
12241
12243
|
let q = l.pos - L;
|
|
12242
12244
|
l.next();
|
|
12243
|
-
let
|
|
12245
|
+
let Y = [], W = [], ne = Z >= o ? Z : -1, ie = 0, V = E;
|
|
12244
12246
|
for (; l.pos > q; )
|
|
12245
|
-
ne >= 0 && l.id == ne && l.size >= 0 ? (l.end <=
|
|
12246
|
-
if (ne >= 0 &&
|
|
12247
|
+
ne >= 0 && l.id == ne && l.size >= 0 ? (l.end <= V - s && (p(Y, W, T, ie, l.end, V, ne, I, N), ie = Y.length, V = l.end), l.next()) : g > 2500 ? f(T, q, Y, W) : c(T, q, Y, W, ne, g + 1);
|
|
12248
|
+
if (ne >= 0 && ie > 0 && ie < Y.length && p(Y, W, T, ie, T, V, ne, I, N), Y.reverse(), W.reverse(), ne > -1 && ie > 0) {
|
|
12247
12249
|
let _e = d(se, N);
|
|
12248
|
-
z = qa(se,
|
|
12250
|
+
z = qa(se, Y, W, 0, Y.length, 0, E - T, _e, _e);
|
|
12249
12251
|
} else
|
|
12250
|
-
z = _(se,
|
|
12252
|
+
z = _(se, Y, W, E - T, I - E, N);
|
|
12251
12253
|
}
|
|
12252
|
-
C.push(z), w.push(
|
|
12254
|
+
C.push(z), w.push(v);
|
|
12253
12255
|
}
|
|
12254
12256
|
function f(X, $, C, w) {
|
|
12255
12257
|
let P = [], g = 0, Z = -1;
|
|
@@ -14138,13 +14140,13 @@ function _O(n) {
|
|
|
14138
14140
|
}
|
|
14139
14141
|
const Xi = /* @__PURE__ */ Le.define({
|
|
14140
14142
|
create() {
|
|
14141
|
-
return
|
|
14143
|
+
return te.none;
|
|
14142
14144
|
},
|
|
14143
14145
|
update(n, e) {
|
|
14144
14146
|
n = n.map(e.changes);
|
|
14145
14147
|
for (let t of e.effects)
|
|
14146
14148
|
if (t.is(eo) && !Z1(n, t.value.from, t.value.to)) {
|
|
14147
|
-
let { preparePlaceholder: i } = e.state.facet(Ba), s = i ?
|
|
14149
|
+
let { preparePlaceholder: i } = e.state.facet(Ba), s = i ? te.replace({ widget: new D1(i(e.state, t.value)) }) : Mu;
|
|
14148
14150
|
n = n.update({ add: [s.range(t.value.from, t.value.to)] });
|
|
14149
14151
|
} else
|
|
14150
14152
|
t.is(ds) && (n = n.update({
|
|
@@ -14181,7 +14183,7 @@ const Xi = /* @__PURE__ */ Le.define({
|
|
|
14181
14183
|
throw new RangeError("Invalid JSON for fold state");
|
|
14182
14184
|
e.push(Mu.range(i, s));
|
|
14183
14185
|
}
|
|
14184
|
-
return
|
|
14186
|
+
return te.set(e, !0);
|
|
14185
14187
|
}
|
|
14186
14188
|
});
|
|
14187
14189
|
function Pr(n, e, t) {
|
|
@@ -14264,7 +14266,7 @@ function SO(n, e) {
|
|
|
14264
14266
|
let r = document.createElement("span");
|
|
14265
14267
|
return r.textContent = i.placeholderText, r.setAttribute("aria-label", t.phrase("folded code")), r.title = t.phrase("unfold"), r.className = "cm-foldPlaceholder", r.onclick = s, r;
|
|
14266
14268
|
}
|
|
14267
|
-
const Mu = /* @__PURE__ */
|
|
14269
|
+
const Mu = /* @__PURE__ */ te.replace({ widget: /* @__PURE__ */ new class extends ti {
|
|
14268
14270
|
toDOM(n) {
|
|
14269
14271
|
return SO(n, null);
|
|
14270
14272
|
}
|
|
@@ -14415,11 +14417,11 @@ class W1 {
|
|
|
14415
14417
|
}
|
|
14416
14418
|
buildDeco(e, t) {
|
|
14417
14419
|
if (!t || !this.tree.length)
|
|
14418
|
-
return
|
|
14420
|
+
return te.none;
|
|
14419
14421
|
let i = new Ft();
|
|
14420
14422
|
for (let { from: s, to: r } of e.visibleRanges)
|
|
14421
14423
|
m1(this.tree, t, (o, l, a) => {
|
|
14422
|
-
i.add(o, l, this.markCache[a] || (this.markCache[a] =
|
|
14424
|
+
i.add(o, l, this.markCache[a] || (this.markCache[a] = te.mark({ class: a })));
|
|
14423
14425
|
}, s, r);
|
|
14424
14426
|
return i.finish();
|
|
14425
14427
|
}
|
|
@@ -14516,14 +14518,14 @@ const B1 = /* @__PURE__ */ gi.high(/* @__PURE__ */ Ee.fromClass(W1, {
|
|
|
14516
14518
|
renderMatch: F1
|
|
14517
14519
|
});
|
|
14518
14520
|
}
|
|
14519
|
-
}), G1 = /* @__PURE__ */
|
|
14521
|
+
}), G1 = /* @__PURE__ */ te.mark({ class: "cm-matchingBracket" }), j1 = /* @__PURE__ */ te.mark({ class: "cm-nonmatchingBracket" });
|
|
14520
14522
|
function F1(n) {
|
|
14521
14523
|
let e = [], t = n.matched ? G1 : j1;
|
|
14522
14524
|
return e.push(t.range(n.start.from, n.start.to)), n.end && e.push(t.range(n.end.from, n.end.to)), e;
|
|
14523
14525
|
}
|
|
14524
14526
|
const H1 = /* @__PURE__ */ Le.define({
|
|
14525
14527
|
create() {
|
|
14526
|
-
return
|
|
14528
|
+
return te.none;
|
|
14527
14529
|
},
|
|
14528
14530
|
update(n, e) {
|
|
14529
14531
|
if (!e.docChanged && !e.selection)
|
|
@@ -14535,7 +14537,7 @@ const H1 = /* @__PURE__ */ Le.define({
|
|
|
14535
14537
|
let r = Vt(e.state, s.head, -1, i) || s.head > 0 && Vt(e.state, s.head - 1, 1, i) || i.afterCursor && (Vt(e.state, s.head, 1, i) || s.head < e.state.doc.length && Vt(e.state, s.head + 1, -1, i));
|
|
14536
14538
|
r && (t = t.concat(i.renderMatch(r, e.state)));
|
|
14537
14539
|
}
|
|
14538
|
-
return
|
|
14540
|
+
return te.set(t, !0);
|
|
14539
14541
|
},
|
|
14540
14542
|
provide: (n) => j.decorations.from(n)
|
|
14541
14543
|
}), K1 = [
|
|
@@ -15685,7 +15687,7 @@ function yy(n) {
|
|
|
15685
15687
|
let e = [Py, $y];
|
|
15686
15688
|
return n && e.push(hp.of(n)), e;
|
|
15687
15689
|
}
|
|
15688
|
-
const Sy = /* @__PURE__ */
|
|
15690
|
+
const Sy = /* @__PURE__ */ te.mark({ class: "cm-selectionMatch" }), vy = /* @__PURE__ */ te.mark({ class: "cm-selectionMatch cm-selectionMatch-main" });
|
|
15689
15691
|
function Ju(n, e, t, i) {
|
|
15690
15692
|
return (t == 0 || n(e.sliceDoc(t - 1, t)) != Xe.Word) && (i == e.doc.length || n(e.sliceDoc(i, i + 1)) != Xe.Word);
|
|
15691
15693
|
}
|
|
@@ -15702,24 +15704,24 @@ const $y = /* @__PURE__ */ Ee.fromClass(class {
|
|
|
15702
15704
|
getDeco(n) {
|
|
15703
15705
|
let e = n.state.facet(hp), { state: t } = n, i = t.selection;
|
|
15704
15706
|
if (i.ranges.length > 1)
|
|
15705
|
-
return
|
|
15707
|
+
return te.none;
|
|
15706
15708
|
let s = i.main, r, o = null;
|
|
15707
15709
|
if (s.empty) {
|
|
15708
15710
|
if (!e.highlightWordAroundCursor)
|
|
15709
|
-
return
|
|
15711
|
+
return te.none;
|
|
15710
15712
|
let a = t.wordAt(s.head);
|
|
15711
15713
|
if (!a)
|
|
15712
|
-
return
|
|
15714
|
+
return te.none;
|
|
15713
15715
|
o = t.charCategorizer(s.head), r = t.sliceDoc(a.from, a.to);
|
|
15714
15716
|
} else {
|
|
15715
15717
|
let a = s.to - s.from;
|
|
15716
15718
|
if (a < e.minSelectionLength || a > 200)
|
|
15717
|
-
return
|
|
15719
|
+
return te.none;
|
|
15718
15720
|
if (e.wholeWords) {
|
|
15719
15721
|
if (r = t.sliceDoc(s.from, s.to), o = t.charCategorizer(s.head), !(Ju(o, t, s.from, s.to) && xy(o, t, s.from, s.to)))
|
|
15720
|
-
return
|
|
15722
|
+
return te.none;
|
|
15721
15723
|
} else if (r = t.sliceDoc(s.from, s.to), !r)
|
|
15722
|
-
return
|
|
15724
|
+
return te.none;
|
|
15723
15725
|
}
|
|
15724
15726
|
let l = [];
|
|
15725
15727
|
for (let a of n.visibleRanges) {
|
|
@@ -15727,10 +15729,10 @@ const $y = /* @__PURE__ */ Ee.fromClass(class {
|
|
|
15727
15729
|
for (; !u.next().done; ) {
|
|
15728
15730
|
let { from: h, to: c } = u.value;
|
|
15729
15731
|
if ((!o || Ju(o, t, h, c)) && (s.empty && h <= s.from && c >= s.to ? l.push(vy.range(h, c)) : (h >= s.to || c <= s.from) && l.push(Sy.range(h, c)), l.length > e.maxMatches))
|
|
15730
|
-
return
|
|
15732
|
+
return te.none;
|
|
15731
15733
|
}
|
|
15732
15734
|
}
|
|
15733
|
-
return
|
|
15735
|
+
return te.set(l);
|
|
15734
15736
|
}
|
|
15735
15737
|
}, {
|
|
15736
15738
|
decorations: (n) => n.decorations
|
|
@@ -15965,7 +15967,7 @@ class Zo {
|
|
|
15965
15967
|
this.query = e, this.panel = t;
|
|
15966
15968
|
}
|
|
15967
15969
|
}
|
|
15968
|
-
const Ay = /* @__PURE__ */
|
|
15970
|
+
const Ay = /* @__PURE__ */ te.mark({ class: "cm-searchMatch" }), Vy = /* @__PURE__ */ te.mark({ class: "cm-searchMatch cm-searchMatch-selected" }), Yy = /* @__PURE__ */ Ee.fromClass(class {
|
|
15969
15971
|
constructor(n) {
|
|
15970
15972
|
this.view = n, this.decorations = this.highlight(n.state.field(ui));
|
|
15971
15973
|
}
|
|
@@ -15975,7 +15977,7 @@ const Ay = /* @__PURE__ */ ie.mark({ class: "cm-searchMatch" }), Vy = /* @__PURE
|
|
|
15975
15977
|
}
|
|
15976
15978
|
highlight({ query: n, panel: e }) {
|
|
15977
15979
|
if (!e || !n.spec.valid)
|
|
15978
|
-
return
|
|
15980
|
+
return te.none;
|
|
15979
15981
|
let { view: t } = this, i = new Ft();
|
|
15980
15982
|
for (let s = 0, r = t.visibleRanges, o = r.length; s < o; s++) {
|
|
15981
15983
|
let { from: l, to: a } = r[s];
|
|
@@ -17289,7 +17291,7 @@ class sh {
|
|
|
17289
17291
|
return new sh(i, s);
|
|
17290
17292
|
}
|
|
17291
17293
|
}
|
|
17292
|
-
let mS = /* @__PURE__ */
|
|
17294
|
+
let mS = /* @__PURE__ */ te.widget({ widget: /* @__PURE__ */ new class extends ti {
|
|
17293
17295
|
toDOM() {
|
|
17294
17296
|
let n = document.createElement("span");
|
|
17295
17297
|
return n.className = "cm-snippetFieldPosition", n;
|
|
@@ -17297,10 +17299,10 @@ let mS = /* @__PURE__ */ ie.widget({ widget: /* @__PURE__ */ new class extends t
|
|
|
17297
17299
|
ignoreEvent() {
|
|
17298
17300
|
return !1;
|
|
17299
17301
|
}
|
|
17300
|
-
}() }), gS = /* @__PURE__ */
|
|
17302
|
+
}() }), gS = /* @__PURE__ */ te.mark({ class: "cm-snippetField" });
|
|
17301
17303
|
class mn {
|
|
17302
17304
|
constructor(e, t) {
|
|
17303
|
-
this.ranges = e, this.active = t, this.deco =
|
|
17305
|
+
this.ranges = e, this.active = t, this.deco = te.set(e.map((i) => (i.from == i.to ? mS : gS).range(i.from, i.to)));
|
|
17304
17306
|
}
|
|
17305
17307
|
map(e) {
|
|
17306
17308
|
let t = [];
|
|
@@ -17333,7 +17335,7 @@ const gs = /* @__PURE__ */ le.define({
|
|
|
17333
17335
|
}
|
|
17334
17336
|
return n && e.docChanged && (n = n.map(e.changes)), n && e.selection && !n.selectionInsideField(e.selection) && (n = null), n;
|
|
17335
17337
|
},
|
|
17336
|
-
provide: (n) => j.decorations.from(n, (e) => e ? e.deco :
|
|
17338
|
+
provide: (n) => j.decorations.from(n, (e) => e ? e.deco : te.none)
|
|
17337
17339
|
});
|
|
17338
17340
|
function rh(n, e) {
|
|
17339
17341
|
return D.create(n.filter((t) => t.field == e).map((t) => D.range(t.from, t.to)));
|
|
@@ -17639,13 +17641,13 @@ class xi {
|
|
|
17639
17641
|
}
|
|
17640
17642
|
let p = HS(l);
|
|
17641
17643
|
if (l.some((_) => _.from == _.to || _.from == _.to - 1 && i.doc.lineAt(_.from).to == _.from))
|
|
17642
|
-
o.add(f, f,
|
|
17644
|
+
o.add(f, f, te.widget({
|
|
17643
17645
|
widget: new IS(p),
|
|
17644
17646
|
diagnostics: l.slice()
|
|
17645
17647
|
}));
|
|
17646
17648
|
else {
|
|
17647
17649
|
let _ = l.reduce((m, O) => O.markClass ? m + " " + O.markClass : m, "");
|
|
17648
|
-
o.add(f, d,
|
|
17650
|
+
o.add(f, d, te.mark({
|
|
17649
17651
|
class: "cm-lintRange cm-lintRange-" + p + _,
|
|
17650
17652
|
diagnostics: l.slice(),
|
|
17651
17653
|
inclusiveEnd: l.some((m) => m.to > d)
|
|
@@ -17684,7 +17686,7 @@ function DS(n, e) {
|
|
|
17684
17686
|
}
|
|
17685
17687
|
const wp = /* @__PURE__ */ le.define(), lh = /* @__PURE__ */ le.define(), kp = /* @__PURE__ */ le.define(), ht = /* @__PURE__ */ Le.define({
|
|
17686
17688
|
create() {
|
|
17687
|
-
return new xi(
|
|
17689
|
+
return new xi(te.none, null, null);
|
|
17688
17690
|
},
|
|
17689
17691
|
update(n, e) {
|
|
17690
17692
|
if (e.docChanged && n.diagnostics.size) {
|
|
@@ -17707,7 +17709,7 @@ const wp = /* @__PURE__ */ le.define(), lh = /* @__PURE__ */ le.define(), kp = /
|
|
|
17707
17709
|
Fn.from(n, (e) => e.panel),
|
|
17708
17710
|
j.decorations.from(n, (e) => e.diagnostics)
|
|
17709
17711
|
]
|
|
17710
|
-
}), LS = /* @__PURE__ */
|
|
17712
|
+
}), LS = /* @__PURE__ */ te.mark({ class: "cm-lintRange cm-lintRange-active" });
|
|
17711
17713
|
function US(n, e, t) {
|
|
17712
17714
|
let { diagnostics: i } = n.state.field(ht), s, r = -1, o = -1;
|
|
17713
17715
|
i.between(e - (t < 0 ? 1 : 0), e + (t > 0 ? 1 : 0), (a, u, { spec: h }) => {
|
|
@@ -18038,7 +18040,7 @@ const KS = [
|
|
|
18038
18040
|
ht,
|
|
18039
18041
|
/* @__PURE__ */ j.decorations.compute([ht], (n) => {
|
|
18040
18042
|
let { selected: e, panel: t } = n.field(ht);
|
|
18041
|
-
return !e || !t || e.from == e.to ?
|
|
18043
|
+
return !e || !t || e.from == e.to ? te.none : te.set([
|
|
18042
18044
|
LS.range(e.from, e.to)
|
|
18043
18045
|
]);
|
|
18044
18046
|
}),
|
|
@@ -23750,23 +23752,23 @@ function XP() {
|
|
|
23750
23752
|
}
|
|
23751
23753
|
var L = !0, I = !0, N = !1;
|
|
23752
23754
|
if (g.text === ":" ? this._flags.ternary_depth === 0 ? L = !1 : (this._flags.ternary_depth -= 1, N = !0) : g.text === "?" && (this._flags.ternary_depth += 1), !T && !Z && this._options.preserve_newlines && a(g.text, o)) {
|
|
23753
|
-
var se = g.text === ":", z = se && N,
|
|
23755
|
+
var se = g.text === ":", z = se && N, A = se && !N;
|
|
23754
23756
|
switch (this._options.operator_position) {
|
|
23755
23757
|
case _.before_newline:
|
|
23756
|
-
this._output.space_before_token = !
|
|
23758
|
+
this._output.space_before_token = !A, this.print_token(g), (!se || z) && this.allow_wrap_or_preserved_newline(g), this._output.space_before_token = !0;
|
|
23757
23759
|
return;
|
|
23758
23760
|
case _.after_newline:
|
|
23759
23761
|
this._output.space_before_token = !0, !se || z ? this._tokens.peek().newlines ? this.print_newline(!1, !0) : this.allow_wrap_or_preserved_newline(g) : this._output.space_before_token = !1, this.print_token(g), this._output.space_before_token = !0;
|
|
23760
23762
|
return;
|
|
23761
23763
|
case _.preserve_newline:
|
|
23762
|
-
|
|
23764
|
+
A || this.allow_wrap_or_preserved_newline(g), L = !(this._output.just_added_newline() || A), this._output.space_before_token = L, this.print_token(g), this._output.space_before_token = !0;
|
|
23763
23765
|
return;
|
|
23764
23766
|
}
|
|
23765
23767
|
}
|
|
23766
23768
|
if (Z) {
|
|
23767
23769
|
this.allow_wrap_or_preserved_newline(g), L = !1;
|
|
23768
|
-
var
|
|
23769
|
-
I =
|
|
23770
|
+
var v = this._tokens.peek();
|
|
23771
|
+
I = v && a(v.type, [l.WORD, l.RESERVED]);
|
|
23770
23772
|
} else if (g.text === "...")
|
|
23771
23773
|
this.allow_wrap_or_preserved_newline(g), L = this._flags.last_token.type === l.START_BLOCK, I = !1;
|
|
23772
23774
|
else if (a(g.text, ["--", "++", "!", "~"]) || T) {
|
|
@@ -24732,28 +24734,28 @@ const zP = /* @__PURE__ */ M("div", { class: "statement-option-title" }, [
|
|
|
24732
24734
|
let O = ue(null);
|
|
24733
24735
|
function y() {
|
|
24734
24736
|
if (s.value && t.value && s.value.length) {
|
|
24735
|
-
let
|
|
24737
|
+
let A = /* @__PURE__ */ new Set(), v = /* @__PURE__ */ new Set();
|
|
24736
24738
|
s.value.forEach((_e) => {
|
|
24737
|
-
|
|
24738
|
-
}), Array.from(
|
|
24739
|
+
A.add(_e.col), v.add(_e.row);
|
|
24740
|
+
}), Array.from(A).forEach((_e) => {
|
|
24739
24741
|
var Ce;
|
|
24740
24742
|
let de = (Ce = t.value) == null ? void 0 : Ce.colConfig[_e];
|
|
24741
24743
|
de && de.isFixed;
|
|
24742
|
-
}), Array.from(
|
|
24744
|
+
}), Array.from(v).forEach((_e) => {
|
|
24743
24745
|
var Ce;
|
|
24744
24746
|
let de = (Ce = t.value) == null ? void 0 : Ce.colConfig[_e];
|
|
24745
24747
|
de && de.isFixed;
|
|
24746
24748
|
});
|
|
24747
|
-
const q = Math.min(...
|
|
24748
|
-
for (let _e =
|
|
24749
|
+
const q = Math.min(...A), Y = Math.min(...v), W = Math.max(...A), ne = Math.max(...v), ie = W - q + 1, V = ne - Y + 1;
|
|
24750
|
+
for (let _e = Y; _e <= ne; _e++)
|
|
24749
24751
|
for (let de = q; de <= W; de++) {
|
|
24750
24752
|
const Ce = t.value.config[_e][de];
|
|
24751
|
-
_e ===
|
|
24753
|
+
_e === Y && de === q ? (Ce.colSpan = ie, Ce.rowSpan = V) : (Ce.colSpan = 0, Ce.rowSpan = 0, Ce.mergeTarget = [Y, q]);
|
|
24752
24754
|
}
|
|
24753
24755
|
s.value = [
|
|
24754
24756
|
{
|
|
24755
24757
|
type: ee.CELL,
|
|
24756
|
-
row:
|
|
24758
|
+
row: Y,
|
|
24757
24759
|
col: q,
|
|
24758
24760
|
index: i.value
|
|
24759
24761
|
}
|
|
@@ -24762,19 +24764,19 @@ const zP = /* @__PURE__ */ M("div", { class: "statement-option-title" }, [
|
|
|
24762
24764
|
}
|
|
24763
24765
|
function R() {
|
|
24764
24766
|
if (s.value && t.value && s.value.length) {
|
|
24765
|
-
const
|
|
24766
|
-
s.value.forEach((
|
|
24767
|
-
const q = t.value.config[
|
|
24768
|
-
(q.colSpan > 1 || q.rowSpan > 1) &&
|
|
24769
|
-
row:
|
|
24770
|
-
col:
|
|
24767
|
+
const A = [];
|
|
24768
|
+
s.value.forEach((v) => {
|
|
24769
|
+
const q = t.value.config[v.row][v.col];
|
|
24770
|
+
(q.colSpan > 1 || q.rowSpan > 1) && A.push({
|
|
24771
|
+
row: v.row,
|
|
24772
|
+
col: v.col,
|
|
24771
24773
|
rowSpan: q.rowSpan,
|
|
24772
24774
|
colSpan: q.colSpan
|
|
24773
24775
|
});
|
|
24774
|
-
}),
|
|
24775
|
-
const { row: q, col:
|
|
24776
|
-
for (let _e = q; _e <=
|
|
24777
|
-
for (let de =
|
|
24776
|
+
}), A.forEach((v) => {
|
|
24777
|
+
const { row: q, col: Y, rowSpan: W, colSpan: ne } = v, ie = q + W - 1, V = Y + ne - 1;
|
|
24778
|
+
for (let _e = q; _e <= ie; _e++)
|
|
24779
|
+
for (let de = Y; de <= V; de++) {
|
|
24778
24780
|
const Ce = t.value.config[_e][de];
|
|
24779
24781
|
Ce.colSpan = 1, Ce.rowSpan = 1, Ce.mergeTarget = void 0;
|
|
24780
24782
|
}
|
|
@@ -24796,15 +24798,15 @@ const zP = /* @__PURE__ */ M("div", { class: "statement-option-title" }, [
|
|
|
24796
24798
|
};
|
|
24797
24799
|
}
|
|
24798
24800
|
function $() {
|
|
24799
|
-
s.value && t.value && s.value.length && (s.value.forEach((
|
|
24800
|
-
let
|
|
24801
|
-
|
|
24801
|
+
s.value && t.value && s.value.length && (s.value.forEach((A) => {
|
|
24802
|
+
let v = t.value.config[A.row][A.col];
|
|
24803
|
+
v.format = O.value.format, v.formatType = { ...O.value.formatType }, v.style = { ...O.value.style };
|
|
24802
24804
|
}), O = null);
|
|
24803
24805
|
}
|
|
24804
24806
|
function C() {
|
|
24805
|
-
s.value && t.value && s.value.length && s.value.forEach((
|
|
24806
|
-
let
|
|
24807
|
-
|
|
24807
|
+
s.value && t.value && s.value.length && s.value.forEach((A) => {
|
|
24808
|
+
let v = t.value.config[A.row][A.col];
|
|
24809
|
+
v.type = ee.TEXT, v.format = void 0, v.text = "", v.formatType = { numberDecimal: 0, numberUseGrouping: !1, currencySymbol: "¥", scientificNotation: "e", digits: 0, date: "YYYY-MM-DD HH:mm:ss" }, v.data = "", v.style = {
|
|
24808
24810
|
backgroundColor: "",
|
|
24809
24811
|
color: "",
|
|
24810
24812
|
textAlign: "center",
|
|
@@ -24817,33 +24819,33 @@ const zP = /* @__PURE__ */ M("div", { class: "statement-option-title" }, [
|
|
|
24817
24819
|
}
|
|
24818
24820
|
as(
|
|
24819
24821
|
() => s.value,
|
|
24820
|
-
(
|
|
24821
|
-
if (
|
|
24822
|
-
if (r.value =
|
|
24823
|
-
let q =
|
|
24824
|
-
o.value = t.value.config[q.row][q.col], a.value = [q.col], u.value = [q.row], c.value = t.value.rowConfig[q.row], d.value = t.value.colConfig[q.col], h.value = !0, f.value = !0, o.value && o.value.type && (l.value = [ee.TEXT, ee.FIELD].includes(o.value.type)), Object.entries(p).forEach(([
|
|
24825
|
-
_[
|
|
24826
|
-
}), o.value && Object.entries(o.value).forEach(([
|
|
24827
|
-
|
|
24828
|
-
_.formatType[ne] =
|
|
24829
|
-
})) :
|
|
24830
|
-
_[ne] =
|
|
24831
|
-
}) : _[
|
|
24822
|
+
(A, v) => {
|
|
24823
|
+
if (A && A.length && t.value)
|
|
24824
|
+
if (r.value = A.length === 1, r.value) {
|
|
24825
|
+
let q = A[0];
|
|
24826
|
+
o.value = t.value.config[q.row][q.col], a.value = [q.col], u.value = [q.row], c.value = t.value.rowConfig[q.row], d.value = t.value.colConfig[q.col], h.value = !0, f.value = !0, o.value && o.value.type && (l.value = [ee.TEXT, ee.FIELD].includes(o.value.type)), Object.entries(p).forEach(([Y, W]) => {
|
|
24827
|
+
_[Y] = W;
|
|
24828
|
+
}), o.value && Object.entries(o.value).forEach(([Y, W]) => {
|
|
24829
|
+
Y === "formatType" ? (_.formatType || (_.formatType = {}), Object.entries(W).forEach(([ne, ie]) => {
|
|
24830
|
+
_.formatType[ne] = ie;
|
|
24831
|
+
})) : Y === "style" ? Object.entries(W).forEach(([ne, ie]) => {
|
|
24832
|
+
_[ne] = ie;
|
|
24833
|
+
}) : _[Y] = W;
|
|
24832
24834
|
});
|
|
24833
24835
|
} else {
|
|
24834
24836
|
o.value = null;
|
|
24835
|
-
const q = /* @__PURE__ */ new Set(),
|
|
24836
|
-
l.value = !0,
|
|
24837
|
-
q.add(ne.col),
|
|
24838
|
-
const
|
|
24839
|
-
|
|
24840
|
-
W.get(
|
|
24837
|
+
const q = /* @__PURE__ */ new Set(), Y = /* @__PURE__ */ new Set(), W = /* @__PURE__ */ new Map();
|
|
24838
|
+
l.value = !0, A.forEach((ne) => {
|
|
24839
|
+
q.add(ne.col), Y.add(ne.row);
|
|
24840
|
+
const ie = t.value.config[ne.row][ne.col];
|
|
24841
|
+
ie.type && ![ee.TEXT, ee.FIELD].includes(ie.type) && (l.value = !1), Object.entries(ie).forEach(([V, _e]) => {
|
|
24842
|
+
W.get(V) || W.set(V, /* @__PURE__ */ new Set()), W.get(V).add(_e);
|
|
24841
24843
|
});
|
|
24842
|
-
}), l.value && Object.entries(p).forEach(([ne,
|
|
24843
|
-
_[ne] =
|
|
24844
|
-
}), a.value = [...q], u.value = [...
|
|
24844
|
+
}), l.value && Object.entries(p).forEach(([ne, ie]) => {
|
|
24845
|
+
_[ne] = ie;
|
|
24846
|
+
}), a.value = [...q], u.value = [...Y], f.value = q.size === 1, h.value = Y.size === 1, f ? d.value = t.value.colConfig[a.value[0]] : d.value = null, h ? c.value = t.value.rowConfig[u.value[0]] : c.value = null;
|
|
24845
24847
|
}
|
|
24846
|
-
|
|
24848
|
+
A && A.length === 0 && t.value && (r.value = !1, o.value = null, l.value = !1, a.value = [], u.value = [], h.value = !1, c.value = null, f.value = !1, d.value = null);
|
|
24847
24849
|
},
|
|
24848
24850
|
{
|
|
24849
24851
|
immediate: !0,
|
|
@@ -24851,68 +24853,68 @@ const zP = /* @__PURE__ */ M("div", { class: "statement-option-title" }, [
|
|
|
24851
24853
|
}
|
|
24852
24854
|
);
|
|
24853
24855
|
const w = ue("");
|
|
24854
|
-
function P(
|
|
24855
|
-
|
|
24856
|
-
if (ni(t.value.config[
|
|
24857
|
-
const { isError: W, result: ne } = ig(
|
|
24856
|
+
function P(A, v, q) {
|
|
24857
|
+
v === "cell" && s.value.forEach((Y) => {
|
|
24858
|
+
if (ni(t.value.config[Y.row][Y.col], q, A), q === "data" && !A && o.value && (o.value.isGroup = !1, o.value.isRowColCombine = !1), q === "fun") {
|
|
24859
|
+
const { isError: W, result: ne } = ig(A, !1);
|
|
24858
24860
|
W ? w.value = ne : w.value = "";
|
|
24859
24861
|
}
|
|
24860
24862
|
if (q === "type" && t.value)
|
|
24861
|
-
switch (
|
|
24863
|
+
switch (A) {
|
|
24862
24864
|
case ee.TEXT:
|
|
24863
|
-
ni(t.value.config[
|
|
24865
|
+
ni(t.value.config[Y.row][Y.col], "data", ""), ni(t.value.config[Y.row][Y.col], "fun", ""), ni(t.value.config[Y.row][Y.col], "format", Re.TEXT), _.format = Re.TEXT;
|
|
24864
24866
|
}
|
|
24865
|
-
}),
|
|
24866
|
-
ni(t.value.rowConfig[
|
|
24867
|
-
}),
|
|
24868
|
-
ni(t.value.colConfig[
|
|
24867
|
+
}), v === "row" && u.value.forEach((Y) => {
|
|
24868
|
+
ni(t.value.rowConfig[Y], q, A), q === "data" && c.value && !A && (c.value.loop = !1, c.value.dataIndex = 0);
|
|
24869
|
+
}), v === "col" && a.value.forEach((Y) => {
|
|
24870
|
+
ni(t.value.colConfig[Y], q, A);
|
|
24869
24871
|
});
|
|
24870
24872
|
}
|
|
24871
24873
|
const g = be(() => t.value ? t.value.data.source : []), Z = be(() => {
|
|
24872
|
-
let
|
|
24874
|
+
let A = [];
|
|
24873
24875
|
if (r.value) {
|
|
24874
24876
|
if (h.value) {
|
|
24875
|
-
let
|
|
24876
|
-
var
|
|
24877
|
-
return q.key === ((
|
|
24877
|
+
let v = g.value.find((q) => {
|
|
24878
|
+
var Y;
|
|
24879
|
+
return q.key === ((Y = c.value) == null ? void 0 : Y.data);
|
|
24878
24880
|
});
|
|
24879
|
-
if (
|
|
24880
|
-
const q =
|
|
24881
|
-
|
|
24881
|
+
if (v = Ol(v), v && v.columns) {
|
|
24882
|
+
const q = v.columns.map((Y) => (Y.name = `行:${v.name}/${Y.name}`, Y.columnName = `row:${Y.columnName}`, Y));
|
|
24883
|
+
A = A.concat(q);
|
|
24882
24884
|
}
|
|
24883
24885
|
}
|
|
24884
24886
|
if (f.value) {
|
|
24885
|
-
let
|
|
24886
|
-
var
|
|
24887
|
-
return q.key === ((
|
|
24887
|
+
let v = g.value.find((q) => {
|
|
24888
|
+
var Y;
|
|
24889
|
+
return q.key === ((Y = d.value) == null ? void 0 : Y.data);
|
|
24888
24890
|
});
|
|
24889
|
-
if (
|
|
24890
|
-
const q =
|
|
24891
|
-
|
|
24891
|
+
if (v = Ol(v), v && v.columns) {
|
|
24892
|
+
const q = v.columns.map((Y) => (Y.name = `列:${v.name}/${Y.name}`, Y.columnName = `col:${Y.columnName}`, Y));
|
|
24893
|
+
A = A.concat(q);
|
|
24892
24894
|
}
|
|
24893
24895
|
}
|
|
24894
24896
|
}
|
|
24895
|
-
return
|
|
24897
|
+
return A;
|
|
24896
24898
|
});
|
|
24897
24899
|
function T() {
|
|
24898
|
-
t.value && (t.value.colConfig.forEach((
|
|
24899
|
-
|
|
24900
|
-
}), t.value.rowConfig.forEach((
|
|
24901
|
-
|
|
24902
|
-
}), t.value.config.forEach((
|
|
24903
|
-
|
|
24904
|
-
q.row =
|
|
24900
|
+
t.value && (t.value.colConfig.forEach((A, v) => {
|
|
24901
|
+
A.index = v;
|
|
24902
|
+
}), t.value.rowConfig.forEach((A, v) => {
|
|
24903
|
+
A.index = v;
|
|
24904
|
+
}), t.value.config.forEach((A, v) => {
|
|
24905
|
+
A.forEach((q, Y) => {
|
|
24906
|
+
q.row = v, q.col = Y, q.colSpan = 1, q.rowSpan = 1;
|
|
24905
24907
|
});
|
|
24906
24908
|
}));
|
|
24907
24909
|
}
|
|
24908
24910
|
function E() {
|
|
24909
|
-
var
|
|
24911
|
+
var A, v;
|
|
24910
24912
|
if (a.value.length > 0) {
|
|
24911
24913
|
let q = Math.min(...a.value);
|
|
24912
|
-
q >= 0 && ((
|
|
24914
|
+
q >= 0 && ((A = t.value) == null || A.colConfig.splice(q, 0, {
|
|
24913
24915
|
size: 80
|
|
24914
|
-
}), (
|
|
24915
|
-
|
|
24916
|
+
}), (v = t.value) == null || v.config.forEach((Y) => {
|
|
24917
|
+
Y.splice(q, 0, {
|
|
24916
24918
|
type: ee.TEXT,
|
|
24917
24919
|
colSpan: 1,
|
|
24918
24920
|
rowSpan: 1
|
|
@@ -24921,21 +24923,21 @@ const zP = /* @__PURE__ */ M("div", { class: "statement-option-title" }, [
|
|
|
24921
24923
|
}
|
|
24922
24924
|
}
|
|
24923
24925
|
function L() {
|
|
24924
|
-
a.value.length > 0 && (a.value.forEach((
|
|
24925
|
-
var
|
|
24926
|
-
(
|
|
24927
|
-
|
|
24926
|
+
a.value.length > 0 && (a.value.forEach((A) => {
|
|
24927
|
+
var v, q;
|
|
24928
|
+
(v = t.value) == null || v.colConfig.splice(A, 1), (q = t.value) == null || q.config.forEach((Y) => {
|
|
24929
|
+
Y.splice(A, 1);
|
|
24928
24930
|
});
|
|
24929
24931
|
}), s.value = []), T();
|
|
24930
24932
|
}
|
|
24931
24933
|
function I() {
|
|
24932
|
-
var
|
|
24934
|
+
var A, v;
|
|
24933
24935
|
if (a.value.length > 0) {
|
|
24934
24936
|
let q = Math.max(...a.value) + 1;
|
|
24935
|
-
q > 0 && ((
|
|
24937
|
+
q > 0 && ((A = t.value) == null || A.colConfig.splice(q, 0, {
|
|
24936
24938
|
size: 80
|
|
24937
|
-
}), (
|
|
24938
|
-
|
|
24939
|
+
}), (v = t.value) == null || v.config.forEach((Y) => {
|
|
24940
|
+
Y.splice(q, 0, {
|
|
24939
24941
|
type: ee.TEXT,
|
|
24940
24942
|
colSpan: 1,
|
|
24941
24943
|
rowSpan: 1
|
|
@@ -24944,12 +24946,12 @@ const zP = /* @__PURE__ */ M("div", { class: "statement-option-title" }, [
|
|
|
24944
24946
|
}
|
|
24945
24947
|
}
|
|
24946
24948
|
function N() {
|
|
24947
|
-
var
|
|
24949
|
+
var A, v;
|
|
24948
24950
|
if (u.value.length > 0) {
|
|
24949
24951
|
let q = Math.min(...u.value);
|
|
24950
|
-
q >= 0 && ((
|
|
24952
|
+
q >= 0 && ((A = t.value) == null || A.rowConfig.splice(q, 0, {
|
|
24951
24953
|
size: 40
|
|
24952
|
-
}), (
|
|
24954
|
+
}), (v = t.value) == null || v.config.splice(
|
|
24953
24955
|
q,
|
|
24954
24956
|
0,
|
|
24955
24957
|
t.value.colConfig.map(() => ({
|
|
@@ -24961,18 +24963,18 @@ const zP = /* @__PURE__ */ M("div", { class: "statement-option-title" }, [
|
|
|
24961
24963
|
}
|
|
24962
24964
|
}
|
|
24963
24965
|
function se() {
|
|
24964
|
-
u.value.length > 0 && (u.value.forEach((
|
|
24965
|
-
var
|
|
24966
|
-
(
|
|
24966
|
+
u.value.length > 0 && (u.value.forEach((A) => {
|
|
24967
|
+
var v, q;
|
|
24968
|
+
(v = t.value) == null || v.rowConfig.splice(A, 1), (q = t.value) == null || q.config.splice(A, 1);
|
|
24967
24969
|
}), s.value = [], T());
|
|
24968
24970
|
}
|
|
24969
24971
|
function z() {
|
|
24970
|
-
var
|
|
24972
|
+
var A, v;
|
|
24971
24973
|
if (u.value.length > 0) {
|
|
24972
24974
|
let q = Math.max(...u.value) + 1;
|
|
24973
|
-
q >= 0 && ((
|
|
24975
|
+
q >= 0 && ((A = t.value) == null || A.rowConfig.splice(q, 0, {
|
|
24974
24976
|
size: 40
|
|
24975
|
-
}), (
|
|
24977
|
+
}), (v = t.value) == null || v.config.splice(
|
|
24976
24978
|
q,
|
|
24977
24979
|
0,
|
|
24978
24980
|
t.value.colConfig.map(() => ({
|
|
@@ -24983,18 +24985,18 @@ const zP = /* @__PURE__ */ M("div", { class: "statement-option-title" }, [
|
|
|
24983
24985
|
), T());
|
|
24984
24986
|
}
|
|
24985
24987
|
}
|
|
24986
|
-
return (
|
|
24987
|
-
const q = fe("el-button-group"),
|
|
24988
|
+
return (A, v) => {
|
|
24989
|
+
const q = fe("el-button-group"), Y = fe("el-col"), W = fe("el-option"), ne = fe("el-select"), ie = fe("el-input-number");
|
|
24988
24990
|
return U(), K(re, null, [
|
|
24989
24991
|
b(s) && b(s).length ? (U(), K(re, { key: 0 }, [
|
|
24990
24992
|
zP,
|
|
24991
24993
|
Q(q, { size: "small" }, {
|
|
24992
|
-
default:
|
|
24994
|
+
default: x(() => [
|
|
24993
24995
|
Q(b($e), {
|
|
24994
24996
|
disabled: b(s).length <= 1,
|
|
24995
24997
|
onClick: y
|
|
24996
24998
|
}, {
|
|
24997
|
-
default:
|
|
24999
|
+
default: x(() => [
|
|
24998
25000
|
B(" 合并 ")
|
|
24999
25001
|
]),
|
|
25000
25002
|
_: 1
|
|
@@ -25003,7 +25005,7 @@ const zP = /* @__PURE__ */ M("div", { class: "statement-option-title" }, [
|
|
|
25003
25005
|
disabled: !o.value || o.value.colSpan === 1 && o.value.rowSpan === 1,
|
|
25004
25006
|
onClick: R
|
|
25005
25007
|
}, {
|
|
25006
|
-
default:
|
|
25008
|
+
default: x(() => [
|
|
25007
25009
|
B(" 拆分 ")
|
|
25008
25010
|
]),
|
|
25009
25011
|
_: 1
|
|
@@ -25013,12 +25015,12 @@ const zP = /* @__PURE__ */ M("div", { class: "statement-option-title" }, [
|
|
|
25013
25015
|
}),
|
|
25014
25016
|
WP,
|
|
25015
25017
|
Q(q, { size: "small" }, {
|
|
25016
|
-
default:
|
|
25018
|
+
default: x(() => [
|
|
25017
25019
|
Q(b($e), {
|
|
25018
25020
|
onClick: k,
|
|
25019
25021
|
disabled: b(s).length === 0
|
|
25020
25022
|
}, {
|
|
25021
|
-
default:
|
|
25023
|
+
default: x(() => [
|
|
25022
25024
|
B(" 取消选择 ")
|
|
25023
25025
|
]),
|
|
25024
25026
|
_: 1
|
|
@@ -25027,7 +25029,7 @@ const zP = /* @__PURE__ */ M("div", { class: "statement-option-title" }, [
|
|
|
25027
25029
|
onClick: X,
|
|
25028
25030
|
disabled: b(s).length === 0
|
|
25029
25031
|
}, {
|
|
25030
|
-
default:
|
|
25032
|
+
default: x(() => [
|
|
25031
25033
|
B(" 复制样式 ")
|
|
25032
25034
|
]),
|
|
25033
25035
|
_: 1
|
|
@@ -25036,13 +25038,13 @@ const zP = /* @__PURE__ */ M("div", { class: "statement-option-title" }, [
|
|
|
25036
25038
|
onClick: $,
|
|
25037
25039
|
disabled: b(O) === null
|
|
25038
25040
|
}, {
|
|
25039
|
-
default:
|
|
25041
|
+
default: x(() => [
|
|
25040
25042
|
B(" 粘贴样式 ")
|
|
25041
25043
|
]),
|
|
25042
25044
|
_: 1
|
|
25043
25045
|
}, 8, ["disabled"]),
|
|
25044
25046
|
Q(b($e), { onClick: C }, {
|
|
25045
|
-
default:
|
|
25047
|
+
default: x(() => [
|
|
25046
25048
|
B("清除")
|
|
25047
25049
|
]),
|
|
25048
25050
|
_: 1
|
|
@@ -25050,42 +25052,42 @@ const zP = /* @__PURE__ */ M("div", { class: "statement-option-title" }, [
|
|
|
25050
25052
|
]),
|
|
25051
25053
|
_: 1
|
|
25052
25054
|
}),
|
|
25053
|
-
Q(
|
|
25054
|
-
default:
|
|
25055
|
+
Q(Y, { span: 24 }, {
|
|
25056
|
+
default: x(() => [
|
|
25055
25057
|
Q(b(he), { label: "单元格类型" }, {
|
|
25056
|
-
default:
|
|
25058
|
+
default: x(() => [
|
|
25057
25059
|
Q(b(Yi), {
|
|
25058
25060
|
modelValue: _.type,
|
|
25059
|
-
"onUpdate:modelValue":
|
|
25060
|
-
onChange:
|
|
25061
|
+
"onUpdate:modelValue": v[0] || (v[0] = (V) => _.type = V),
|
|
25062
|
+
onChange: v[1] || (v[1] = (V) => P(V, "cell", "type"))
|
|
25061
25063
|
}, {
|
|
25062
|
-
default:
|
|
25064
|
+
default: x(() => [
|
|
25063
25065
|
Q(b(we), { label: "text" }, {
|
|
25064
|
-
default:
|
|
25066
|
+
default: x(() => [
|
|
25065
25067
|
B("文本")
|
|
25066
25068
|
]),
|
|
25067
25069
|
_: 1
|
|
25068
25070
|
}),
|
|
25069
25071
|
Q(b(we), { label: "icon" }, {
|
|
25070
|
-
default:
|
|
25072
|
+
default: x(() => [
|
|
25071
25073
|
B("图标")
|
|
25072
25074
|
]),
|
|
25073
25075
|
_: 1
|
|
25074
25076
|
}),
|
|
25075
25077
|
Q(b(we), { label: "image" }, {
|
|
25076
|
-
default:
|
|
25078
|
+
default: x(() => [
|
|
25077
25079
|
B("图片")
|
|
25078
25080
|
]),
|
|
25079
25081
|
_: 1
|
|
25080
25082
|
}),
|
|
25081
25083
|
Q(b(we), { label: "field" }, {
|
|
25082
|
-
default:
|
|
25084
|
+
default: x(() => [
|
|
25083
25085
|
B("数据")
|
|
25084
25086
|
]),
|
|
25085
25087
|
_: 1
|
|
25086
25088
|
}),
|
|
25087
25089
|
Q(b(we), { label: "fun" }, {
|
|
25088
|
-
default:
|
|
25090
|
+
default: x(() => [
|
|
25089
25091
|
B("函数")
|
|
25090
25092
|
]),
|
|
25091
25093
|
_: 1
|
|
@@ -25100,14 +25102,14 @@ const zP = /* @__PURE__ */ M("div", { class: "statement-option-title" }, [
|
|
|
25100
25102
|
_: 1
|
|
25101
25103
|
}),
|
|
25102
25104
|
r.value && o.value ? (U(), K(re, { key: 0 }, [
|
|
25103
|
-
kt(Q(
|
|
25104
|
-
default:
|
|
25105
|
+
kt(Q(Y, { span: 24 }, {
|
|
25106
|
+
default: x(() => [
|
|
25105
25107
|
Q(b(he), { label: "文本" }, {
|
|
25106
|
-
default:
|
|
25108
|
+
default: x(() => [
|
|
25107
25109
|
Q(b(Ii), {
|
|
25108
25110
|
modelValue: o.value.text,
|
|
25109
|
-
"onUpdate:modelValue":
|
|
25110
|
-
onInput:
|
|
25111
|
+
"onUpdate:modelValue": v[2] || (v[2] = (V) => o.value.text = V),
|
|
25112
|
+
onInput: v[3] || (v[3] = (V) => P(V, "cell", "text"))
|
|
25111
25113
|
}, null, 8, ["modelValue"])
|
|
25112
25114
|
]),
|
|
25113
25115
|
_: 1
|
|
@@ -25117,24 +25119,24 @@ const zP = /* @__PURE__ */ M("div", { class: "statement-option-title" }, [
|
|
|
25117
25119
|
}, 512), [
|
|
25118
25120
|
[Tt, o.value.type === b(ee).TEXT]
|
|
25119
25121
|
]),
|
|
25120
|
-
kt(Q(
|
|
25121
|
-
default:
|
|
25122
|
+
kt(Q(Y, { span: 24 }, {
|
|
25123
|
+
default: x(() => [
|
|
25122
25124
|
_.format !== b(Re).STRING ? (U(), oe(b(he), {
|
|
25123
25125
|
key: 0,
|
|
25124
25126
|
label: "数据字段"
|
|
25125
25127
|
}, {
|
|
25126
|
-
default:
|
|
25128
|
+
default: x(() => [
|
|
25127
25129
|
Q(ne, {
|
|
25128
25130
|
modelValue: o.value.data,
|
|
25129
|
-
"onUpdate:modelValue":
|
|
25131
|
+
"onUpdate:modelValue": v[4] || (v[4] = (V) => o.value.data = V),
|
|
25130
25132
|
clearable: "",
|
|
25131
|
-
onInput:
|
|
25133
|
+
onInput: v[5] || (v[5] = (V) => P(V, "cell", "data"))
|
|
25132
25134
|
}, {
|
|
25133
|
-
default:
|
|
25134
|
-
(U(!0), K(re, null, Fe(b(Z), (
|
|
25135
|
-
key:
|
|
25136
|
-
label:
|
|
25137
|
-
value:
|
|
25135
|
+
default: x(() => [
|
|
25136
|
+
(U(!0), K(re, null, Fe(b(Z), (V) => (U(), oe(W, {
|
|
25137
|
+
key: V.columnName,
|
|
25138
|
+
label: V.name,
|
|
25139
|
+
value: V.columnName
|
|
25138
25140
|
}, null, 8, ["label", "value"]))), 128))
|
|
25139
25141
|
]),
|
|
25140
25142
|
_: 1
|
|
@@ -25145,11 +25147,11 @@ const zP = /* @__PURE__ */ M("div", { class: "statement-option-title" }, [
|
|
|
25145
25147
|
key: 1,
|
|
25146
25148
|
label: "自定义渲染"
|
|
25147
25149
|
}, {
|
|
25148
|
-
default:
|
|
25150
|
+
default: x(() => [
|
|
25149
25151
|
Q(b(Ii), {
|
|
25150
25152
|
type: "textarea",
|
|
25151
25153
|
modelValue: o.value.fun,
|
|
25152
|
-
"onUpdate:modelValue":
|
|
25154
|
+
"onUpdate:modelValue": v[6] || (v[6] = (V) => o.value.fun = V)
|
|
25153
25155
|
}, null, 8, ["modelValue"])
|
|
25154
25156
|
]),
|
|
25155
25157
|
_: 1
|
|
@@ -25159,17 +25161,17 @@ const zP = /* @__PURE__ */ M("div", { class: "statement-option-title" }, [
|
|
|
25159
25161
|
}, 512), [
|
|
25160
25162
|
[Tt, o.value.type === b(ee).FIELD]
|
|
25161
25163
|
]),
|
|
25162
|
-
kt(Q(
|
|
25163
|
-
default:
|
|
25164
|
+
kt(Q(Y, { span: 24 }, {
|
|
25165
|
+
default: x(() => [
|
|
25164
25166
|
Q(b(he), {
|
|
25165
25167
|
label: "函数",
|
|
25166
25168
|
error: w.value
|
|
25167
25169
|
}, {
|
|
25168
|
-
default:
|
|
25170
|
+
default: x(() => [
|
|
25169
25171
|
Q(b(Ii), {
|
|
25170
25172
|
modelValue: o.value.fun,
|
|
25171
|
-
"onUpdate:modelValue":
|
|
25172
|
-
onInput:
|
|
25173
|
+
"onUpdate:modelValue": v[7] || (v[7] = (V) => o.value.fun = V),
|
|
25174
|
+
onInput: v[8] || (v[8] = (V) => P(V, "cell", "fun"))
|
|
25173
25175
|
}, null, 8, ["modelValue"])
|
|
25174
25176
|
]),
|
|
25175
25177
|
_: 1
|
|
@@ -25179,24 +25181,24 @@ const zP = /* @__PURE__ */ M("div", { class: "statement-option-title" }, [
|
|
|
25179
25181
|
}, 512), [
|
|
25180
25182
|
[Tt, o.value.type === b(ee).FUN]
|
|
25181
25183
|
]),
|
|
25182
|
-
kt(Q(
|
|
25183
|
-
default:
|
|
25184
|
+
kt(Q(Y, { span: 24 }, {
|
|
25185
|
+
default: x(() => [
|
|
25184
25186
|
Q(b(he), { label: "数据操作" }, {
|
|
25185
|
-
default:
|
|
25187
|
+
default: x(() => [
|
|
25186
25188
|
Q(b(yh), {
|
|
25187
25189
|
modelValue: o.value.isGroup,
|
|
25188
|
-
"onUpdate:modelValue":
|
|
25190
|
+
"onUpdate:modelValue": v[9] || (v[9] = (V) => o.value.isGroup = V)
|
|
25189
25191
|
}, {
|
|
25190
|
-
default:
|
|
25192
|
+
default: x(() => [
|
|
25191
25193
|
B("分组")
|
|
25192
25194
|
]),
|
|
25193
25195
|
_: 1
|
|
25194
25196
|
}, 8, ["modelValue"]),
|
|
25195
25197
|
Q(b(yh), {
|
|
25196
25198
|
modelValue: o.value.isRowColCombine,
|
|
25197
|
-
"onUpdate:modelValue":
|
|
25199
|
+
"onUpdate:modelValue": v[10] || (v[10] = (V) => o.value.isRowColCombine = V)
|
|
25198
25200
|
}, {
|
|
25199
|
-
default:
|
|
25201
|
+
default: x(() => [
|
|
25200
25202
|
B("行列组合")
|
|
25201
25203
|
]),
|
|
25202
25204
|
_: 1
|
|
@@ -25211,14 +25213,14 @@ const zP = /* @__PURE__ */ M("div", { class: "statement-option-title" }, [
|
|
|
25211
25213
|
])
|
|
25212
25214
|
], 64)) : ae("", !0),
|
|
25213
25215
|
b(m) ? (U(), K(re, { key: 1 }, [
|
|
25214
|
-
Q(
|
|
25215
|
-
default:
|
|
25216
|
+
Q(Y, { span: 8 }, {
|
|
25217
|
+
default: x(() => [
|
|
25216
25218
|
Q(b(he), { label: "字体颜色" }, {
|
|
25217
|
-
default:
|
|
25219
|
+
default: x(() => [
|
|
25218
25220
|
Q(b(Sh), {
|
|
25219
25221
|
modelValue: _.color,
|
|
25220
|
-
"onUpdate:modelValue":
|
|
25221
|
-
onChange:
|
|
25222
|
+
"onUpdate:modelValue": v[11] || (v[11] = (V) => _.color = V),
|
|
25223
|
+
onChange: v[12] || (v[12] = (V) => P(V, "cell", "style.color"))
|
|
25222
25224
|
}, null, 8, ["modelValue"])
|
|
25223
25225
|
]),
|
|
25224
25226
|
_: 1
|
|
@@ -25226,14 +25228,14 @@ const zP = /* @__PURE__ */ M("div", { class: "statement-option-title" }, [
|
|
|
25226
25228
|
]),
|
|
25227
25229
|
_: 1
|
|
25228
25230
|
}),
|
|
25229
|
-
Q(
|
|
25230
|
-
default:
|
|
25231
|
+
Q(Y, { span: 8 }, {
|
|
25232
|
+
default: x(() => [
|
|
25231
25233
|
Q(b(he), { label: "背景色" }, {
|
|
25232
|
-
default:
|
|
25234
|
+
default: x(() => [
|
|
25233
25235
|
Q(b(Sh), {
|
|
25234
25236
|
modelValue: _.backgroundColor,
|
|
25235
|
-
"onUpdate:modelValue":
|
|
25236
|
-
onChange:
|
|
25237
|
+
"onUpdate:modelValue": v[13] || (v[13] = (V) => _.backgroundColor = V),
|
|
25238
|
+
onChange: v[14] || (v[14] = (V) => P(V, "cell", "style.backgroundColor"))
|
|
25237
25239
|
}, null, 8, ["modelValue"])
|
|
25238
25240
|
]),
|
|
25239
25241
|
_: 1
|
|
@@ -25241,10 +25243,10 @@ const zP = /* @__PURE__ */ M("div", { class: "statement-option-title" }, [
|
|
|
25241
25243
|
]),
|
|
25242
25244
|
_: 1
|
|
25243
25245
|
}),
|
|
25244
|
-
Q(
|
|
25245
|
-
default:
|
|
25246
|
+
Q(Y, { span: 8 }, {
|
|
25247
|
+
default: x(() => [
|
|
25246
25248
|
Q(b(he), { label: "字体细粗" }, {
|
|
25247
|
-
default:
|
|
25249
|
+
default: x(() => [
|
|
25248
25250
|
Q(b(ii), {
|
|
25249
25251
|
"inline-prompt": "",
|
|
25250
25252
|
"active-text": "字体加粗",
|
|
@@ -25252,8 +25254,8 @@ const zP = /* @__PURE__ */ M("div", { class: "statement-option-title" }, [
|
|
|
25252
25254
|
"active-value": "bold",
|
|
25253
25255
|
"inactive-value": "normal",
|
|
25254
25256
|
modelValue: _.fontWeight,
|
|
25255
|
-
"onUpdate:modelValue":
|
|
25256
|
-
onChange:
|
|
25257
|
+
"onUpdate:modelValue": v[15] || (v[15] = (V) => _.fontWeight = V),
|
|
25258
|
+
onChange: v[16] || (v[16] = (V) => P(V, "cell", "style.fontWeight"))
|
|
25257
25259
|
}, null, 8, ["modelValue"])
|
|
25258
25260
|
]),
|
|
25259
25261
|
_: 1
|
|
@@ -25261,17 +25263,17 @@ const zP = /* @__PURE__ */ M("div", { class: "statement-option-title" }, [
|
|
|
25261
25263
|
]),
|
|
25262
25264
|
_: 1
|
|
25263
25265
|
}),
|
|
25264
|
-
Q(
|
|
25265
|
-
default:
|
|
25266
|
+
Q(Y, { span: 12 }, {
|
|
25267
|
+
default: x(() => [
|
|
25266
25268
|
Q(b(he), { label: "字体大小" }, {
|
|
25267
|
-
default:
|
|
25268
|
-
Q(
|
|
25269
|
+
default: x(() => [
|
|
25270
|
+
Q(ie, {
|
|
25269
25271
|
modelValue: _.fontSize,
|
|
25270
|
-
"onUpdate:modelValue":
|
|
25272
|
+
"onUpdate:modelValue": v[17] || (v[17] = (V) => _.fontSize = V),
|
|
25271
25273
|
"controls-position": "right",
|
|
25272
25274
|
min: 12,
|
|
25273
25275
|
step: 2,
|
|
25274
|
-
onChange:
|
|
25276
|
+
onChange: v[18] || (v[18] = (V) => P(V, "cell", "style.fontSize"))
|
|
25275
25277
|
}, null, 8, ["modelValue"])
|
|
25276
25278
|
]),
|
|
25277
25279
|
_: 1
|
|
@@ -25279,22 +25281,22 @@ const zP = /* @__PURE__ */ M("div", { class: "statement-option-title" }, [
|
|
|
25279
25281
|
]),
|
|
25280
25282
|
_: 1
|
|
25281
25283
|
}),
|
|
25282
|
-
Q(
|
|
25283
|
-
default:
|
|
25284
|
+
Q(Y, { span: 12 }, {
|
|
25285
|
+
default: x(() => [
|
|
25284
25286
|
Q(b(he), { label: "字体类型" }, {
|
|
25285
|
-
default:
|
|
25287
|
+
default: x(() => [
|
|
25286
25288
|
Q(ne, {
|
|
25287
25289
|
modelValue: _.fontFamily,
|
|
25288
|
-
"onUpdate:modelValue":
|
|
25289
|
-
onChange:
|
|
25290
|
+
"onUpdate:modelValue": v[19] || (v[19] = (V) => _.fontFamily = V),
|
|
25291
|
+
onChange: v[20] || (v[20] = (V) => P(V, "cell", "style.fontFamily")),
|
|
25290
25292
|
clearable: ""
|
|
25291
25293
|
}, {
|
|
25292
|
-
default:
|
|
25294
|
+
default: x(() => [
|
|
25293
25295
|
Q(W, {
|
|
25294
25296
|
label: "宋体",
|
|
25295
25297
|
value: "'SimSun', 'Songti SC', 'STSong', 'Noto Serif CJK SC', 'Source Han Serif SC', serif"
|
|
25296
25298
|
}, {
|
|
25297
|
-
default:
|
|
25299
|
+
default: x(() => [
|
|
25298
25300
|
BP
|
|
25299
25301
|
]),
|
|
25300
25302
|
_: 1
|
|
@@ -25303,7 +25305,7 @@ const zP = /* @__PURE__ */ M("div", { class: "statement-option-title" }, [
|
|
|
25303
25305
|
label: "仿宋体",
|
|
25304
25306
|
value: "'FangSong', 'STFangsong', 'KaiTi', 'Kaiti SC', 'Noto Sans CJK SC', sans-serif"
|
|
25305
25307
|
}, {
|
|
25306
|
-
default:
|
|
25308
|
+
default: x(() => [
|
|
25307
25309
|
NP
|
|
25308
25310
|
]),
|
|
25309
25311
|
_: 1
|
|
@@ -25312,7 +25314,7 @@ const zP = /* @__PURE__ */ M("div", { class: "statement-option-title" }, [
|
|
|
25312
25314
|
label: "楷体",
|
|
25313
25315
|
value: "'KaiTi', 'Kaiti SC', 'STKaiti', 'Noto Serif CJK SC', 'Source Han Serif SC', serif"
|
|
25314
25316
|
}, {
|
|
25315
|
-
default:
|
|
25317
|
+
default: x(() => [
|
|
25316
25318
|
IP
|
|
25317
25319
|
]),
|
|
25318
25320
|
_: 1
|
|
@@ -25321,7 +25323,7 @@ const zP = /* @__PURE__ */ M("div", { class: "statement-option-title" }, [
|
|
|
25321
25323
|
label: "黑体",
|
|
25322
25324
|
value: "'SimHei', 'Microsoft YaHei', 'PingFang SC', 'STHeiti', 'Noto Sans CJK SC', 'Source Han Sans SC', sans-serif"
|
|
25323
25325
|
}, {
|
|
25324
|
-
default:
|
|
25326
|
+
default: x(() => [
|
|
25325
25327
|
GP
|
|
25326
25328
|
]),
|
|
25327
25329
|
_: 1
|
|
@@ -25330,7 +25332,7 @@ const zP = /* @__PURE__ */ M("div", { class: "statement-option-title" }, [
|
|
|
25330
25332
|
label: "无衬线体(ABC/123)",
|
|
25331
25333
|
value: "'Arial', 'Helvetica', 'Microsoft YaHei', 'PingFang SC', 'Noto Sans CJK SC', sans-serif"
|
|
25332
25334
|
}, {
|
|
25333
|
-
default:
|
|
25335
|
+
default: x(() => [
|
|
25334
25336
|
jP
|
|
25335
25337
|
]),
|
|
25336
25338
|
_: 1
|
|
@@ -25339,7 +25341,7 @@ const zP = /* @__PURE__ */ M("div", { class: "statement-option-title" }, [
|
|
|
25339
25341
|
label: "等宽字体(ABC/123)",
|
|
25340
25342
|
value: "'Courier New', 'Consolas', 'Monaco', 'Noto Sans Mono CJK SC', 'Source Han Code SC', monospace"
|
|
25341
25343
|
}, {
|
|
25342
|
-
default:
|
|
25344
|
+
default: x(() => [
|
|
25343
25345
|
FP
|
|
25344
25346
|
]),
|
|
25345
25347
|
_: 1
|
|
@@ -25353,21 +25355,21 @@ const zP = /* @__PURE__ */ M("div", { class: "statement-option-title" }, [
|
|
|
25353
25355
|
]),
|
|
25354
25356
|
_: 1
|
|
25355
25357
|
}),
|
|
25356
|
-
Q(
|
|
25357
|
-
default:
|
|
25358
|
+
Q(Y, { span: 12 }, {
|
|
25359
|
+
default: x(() => [
|
|
25358
25360
|
Q(b(he), null, {
|
|
25359
|
-
default:
|
|
25361
|
+
default: x(() => [
|
|
25360
25362
|
Q(b(Yi), {
|
|
25361
25363
|
modelValue: _.textAlign,
|
|
25362
|
-
"onUpdate:modelValue":
|
|
25363
|
-
onChange:
|
|
25364
|
+
"onUpdate:modelValue": v[21] || (v[21] = (V) => _.textAlign = V),
|
|
25365
|
+
onChange: v[22] || (v[22] = (V) => P(V, "cell", "style.textAlign"))
|
|
25364
25366
|
}, {
|
|
25365
|
-
default:
|
|
25367
|
+
default: x(() => [
|
|
25366
25368
|
Q(b(we), {
|
|
25367
25369
|
label: "left",
|
|
25368
25370
|
title: "左对齐"
|
|
25369
25371
|
}, {
|
|
25370
|
-
default:
|
|
25372
|
+
default: x(() => [
|
|
25371
25373
|
HP
|
|
25372
25374
|
]),
|
|
25373
25375
|
_: 1
|
|
@@ -25376,7 +25378,7 @@ const zP = /* @__PURE__ */ M("div", { class: "statement-option-title" }, [
|
|
|
25376
25378
|
label: "center",
|
|
25377
25379
|
title: "居中对齐"
|
|
25378
25380
|
}, {
|
|
25379
|
-
default:
|
|
25381
|
+
default: x(() => [
|
|
25380
25382
|
KP
|
|
25381
25383
|
]),
|
|
25382
25384
|
_: 1
|
|
@@ -25385,7 +25387,7 @@ const zP = /* @__PURE__ */ M("div", { class: "statement-option-title" }, [
|
|
|
25385
25387
|
label: "right",
|
|
25386
25388
|
title: "右对齐"
|
|
25387
25389
|
}, {
|
|
25388
|
-
default:
|
|
25390
|
+
default: x(() => [
|
|
25389
25391
|
JP
|
|
25390
25392
|
]),
|
|
25391
25393
|
_: 1
|
|
@@ -25399,21 +25401,21 @@ const zP = /* @__PURE__ */ M("div", { class: "statement-option-title" }, [
|
|
|
25399
25401
|
]),
|
|
25400
25402
|
_: 1
|
|
25401
25403
|
}),
|
|
25402
|
-
Q(
|
|
25403
|
-
default:
|
|
25404
|
+
Q(Y, { span: 12 }, {
|
|
25405
|
+
default: x(() => [
|
|
25404
25406
|
Q(b(he), null, {
|
|
25405
|
-
default:
|
|
25407
|
+
default: x(() => [
|
|
25406
25408
|
Q(b(Yi), {
|
|
25407
25409
|
modelValue: _.verticalAlign,
|
|
25408
|
-
"onUpdate:modelValue":
|
|
25409
|
-
onChange:
|
|
25410
|
+
"onUpdate:modelValue": v[23] || (v[23] = (V) => _.verticalAlign = V),
|
|
25411
|
+
onChange: v[24] || (v[24] = (V) => P(V, "cell", "style.verticalAlign"))
|
|
25410
25412
|
}, {
|
|
25411
|
-
default:
|
|
25413
|
+
default: x(() => [
|
|
25412
25414
|
Q(b(we), {
|
|
25413
25415
|
label: "top",
|
|
25414
25416
|
title: "顶部对齐"
|
|
25415
25417
|
}, {
|
|
25416
|
-
default:
|
|
25418
|
+
default: x(() => [
|
|
25417
25419
|
ew
|
|
25418
25420
|
]),
|
|
25419
25421
|
_: 1
|
|
@@ -25422,7 +25424,7 @@ const zP = /* @__PURE__ */ M("div", { class: "statement-option-title" }, [
|
|
|
25422
25424
|
label: "middle",
|
|
25423
25425
|
title: "垂直居中"
|
|
25424
25426
|
}, {
|
|
25425
|
-
default:
|
|
25427
|
+
default: x(() => [
|
|
25426
25428
|
tw
|
|
25427
25429
|
]),
|
|
25428
25430
|
_: 1
|
|
@@ -25431,7 +25433,7 @@ const zP = /* @__PURE__ */ M("div", { class: "statement-option-title" }, [
|
|
|
25431
25433
|
label: "bottom",
|
|
25432
25434
|
title: "底部对齐"
|
|
25433
25435
|
}, {
|
|
25434
|
-
default:
|
|
25436
|
+
default: x(() => [
|
|
25435
25437
|
iw
|
|
25436
25438
|
]),
|
|
25437
25439
|
_: 1
|
|
@@ -25445,21 +25447,21 @@ const zP = /* @__PURE__ */ M("div", { class: "statement-option-title" }, [
|
|
|
25445
25447
|
]),
|
|
25446
25448
|
_: 1
|
|
25447
25449
|
}),
|
|
25448
|
-
Q(
|
|
25449
|
-
default:
|
|
25450
|
+
Q(Y, { span: 24 }, {
|
|
25451
|
+
default: x(() => [
|
|
25450
25452
|
Q(b(he), { label: "格式化" }, {
|
|
25451
|
-
default:
|
|
25453
|
+
default: x(() => [
|
|
25452
25454
|
Q(b(Yi), {
|
|
25453
25455
|
modelValue: _.format,
|
|
25454
|
-
"onUpdate:modelValue":
|
|
25455
|
-
onChange:
|
|
25456
|
+
"onUpdate:modelValue": v[25] || (v[25] = (V) => _.format = V),
|
|
25457
|
+
onChange: v[26] || (v[26] = (V) => P(V, "cell", "format"))
|
|
25456
25458
|
}, {
|
|
25457
|
-
default:
|
|
25459
|
+
default: x(() => [
|
|
25458
25460
|
Q(b(we), {
|
|
25459
25461
|
label: b(Re).TEXT,
|
|
25460
25462
|
title: "文本"
|
|
25461
25463
|
}, {
|
|
25462
|
-
default:
|
|
25464
|
+
default: x(() => [
|
|
25463
25465
|
nw
|
|
25464
25466
|
]),
|
|
25465
25467
|
_: 1
|
|
@@ -25468,7 +25470,7 @@ const zP = /* @__PURE__ */ M("div", { class: "statement-option-title" }, [
|
|
|
25468
25470
|
label: b(Re).NUMBER,
|
|
25469
25471
|
title: "数字"
|
|
25470
25472
|
}, {
|
|
25471
|
-
default:
|
|
25473
|
+
default: x(() => [
|
|
25472
25474
|
sw
|
|
25473
25475
|
]),
|
|
25474
25476
|
_: 1
|
|
@@ -25477,7 +25479,7 @@ const zP = /* @__PURE__ */ M("div", { class: "statement-option-title" }, [
|
|
|
25477
25479
|
label: b(Re).CURRENCY,
|
|
25478
25480
|
title: "货币"
|
|
25479
25481
|
}, {
|
|
25480
|
-
default:
|
|
25482
|
+
default: x(() => [
|
|
25481
25483
|
rw
|
|
25482
25484
|
]),
|
|
25483
25485
|
_: 1
|
|
@@ -25486,7 +25488,7 @@ const zP = /* @__PURE__ */ M("div", { class: "statement-option-title" }, [
|
|
|
25486
25488
|
label: b(Re).PERCENT,
|
|
25487
25489
|
title: "百分比"
|
|
25488
25490
|
}, {
|
|
25489
|
-
default:
|
|
25491
|
+
default: x(() => [
|
|
25490
25492
|
B(" % ")
|
|
25491
25493
|
]),
|
|
25492
25494
|
_: 1
|
|
@@ -25495,7 +25497,7 @@ const zP = /* @__PURE__ */ M("div", { class: "statement-option-title" }, [
|
|
|
25495
25497
|
label: b(Re).PROMILLE,
|
|
25496
25498
|
title: "千分比"
|
|
25497
25499
|
}, {
|
|
25498
|
-
default:
|
|
25500
|
+
default: x(() => [
|
|
25499
25501
|
B(" ‰ ")
|
|
25500
25502
|
]),
|
|
25501
25503
|
_: 1
|
|
@@ -25504,7 +25506,7 @@ const zP = /* @__PURE__ */ M("div", { class: "statement-option-title" }, [
|
|
|
25504
25506
|
label: b(Re).SCIENTIFIC,
|
|
25505
25507
|
title: "科学计数法"
|
|
25506
25508
|
}, {
|
|
25507
|
-
default:
|
|
25509
|
+
default: x(() => [
|
|
25508
25510
|
ow
|
|
25509
25511
|
]),
|
|
25510
25512
|
_: 1
|
|
@@ -25513,7 +25515,7 @@ const zP = /* @__PURE__ */ M("div", { class: "statement-option-title" }, [
|
|
|
25513
25515
|
label: b(Re).DATETIME,
|
|
25514
25516
|
title: "日期时间"
|
|
25515
25517
|
}, {
|
|
25516
|
-
default:
|
|
25518
|
+
default: x(() => [
|
|
25517
25519
|
lw
|
|
25518
25520
|
]),
|
|
25519
25521
|
_: 1
|
|
@@ -25523,7 +25525,7 @@ const zP = /* @__PURE__ */ M("div", { class: "statement-option-title" }, [
|
|
|
25523
25525
|
label: b(Re).STRING,
|
|
25524
25526
|
title: "自定义格式化"
|
|
25525
25527
|
}, {
|
|
25526
|
-
default:
|
|
25528
|
+
default: x(() => [
|
|
25527
25529
|
aw
|
|
25528
25530
|
]),
|
|
25529
25531
|
_: 1
|
|
@@ -25538,14 +25540,14 @@ const zP = /* @__PURE__ */ M("div", { class: "statement-option-title" }, [
|
|
|
25538
25540
|
_: 1
|
|
25539
25541
|
}),
|
|
25540
25542
|
_.formatType ? (U(), K(re, { key: 0 }, [
|
|
25541
|
-
kt(Q(
|
|
25542
|
-
default:
|
|
25543
|
+
kt(Q(Y, { span: 12 }, {
|
|
25544
|
+
default: x(() => [
|
|
25543
25545
|
Q(b(he), { label: "小数位数" }, {
|
|
25544
|
-
default:
|
|
25545
|
-
Q(
|
|
25546
|
+
default: x(() => [
|
|
25547
|
+
Q(ie, {
|
|
25546
25548
|
modelValue: _.formatType.numberDecimal,
|
|
25547
|
-
"onUpdate:modelValue":
|
|
25548
|
-
onInput:
|
|
25549
|
+
"onUpdate:modelValue": v[27] || (v[27] = (V) => _.formatType.numberDecimal = V),
|
|
25550
|
+
onInput: v[28] || (v[28] = (V) => P(V, "cell", "formatType.numberDecimal")),
|
|
25549
25551
|
min: 0,
|
|
25550
25552
|
max: 6,
|
|
25551
25553
|
"controls-position": "right"
|
|
@@ -25558,14 +25560,14 @@ const zP = /* @__PURE__ */ M("div", { class: "statement-option-title" }, [
|
|
|
25558
25560
|
}, 512), [
|
|
25559
25561
|
[Tt, _.format && [b(Re).NUMBER, b(Re).CURRENCY, b(Re).PERCENT, b(Re).PROMILLE].includes(_.format)]
|
|
25560
25562
|
]),
|
|
25561
|
-
kt(Q(
|
|
25562
|
-
default:
|
|
25563
|
+
kt(Q(Y, { span: 12 }, {
|
|
25564
|
+
default: x(() => [
|
|
25563
25565
|
Q(b(he), { label: "千分位分隔" }, {
|
|
25564
|
-
default:
|
|
25566
|
+
default: x(() => [
|
|
25565
25567
|
Q(b(ii), {
|
|
25566
25568
|
modelValue: _.formatType.numberUseGrouping,
|
|
25567
|
-
"onUpdate:modelValue":
|
|
25568
|
-
onChange:
|
|
25569
|
+
"onUpdate:modelValue": v[29] || (v[29] = (V) => _.formatType.numberUseGrouping = V),
|
|
25570
|
+
onChange: v[30] || (v[30] = (V) => P(V, "cell", "formatType.numberUseGrouping"))
|
|
25569
25571
|
}, null, 8, ["modelValue"])
|
|
25570
25572
|
]),
|
|
25571
25573
|
_: 1
|
|
@@ -25575,36 +25577,36 @@ const zP = /* @__PURE__ */ M("div", { class: "statement-option-title" }, [
|
|
|
25575
25577
|
}, 512), [
|
|
25576
25578
|
[Tt, _.format && [b(Re).NUMBER, b(Re).CURRENCY].includes(_.format)]
|
|
25577
25579
|
]),
|
|
25578
|
-
kt(Q(
|
|
25579
|
-
default:
|
|
25580
|
+
kt(Q(Y, { span: 24 }, {
|
|
25581
|
+
default: x(() => [
|
|
25580
25582
|
Q(b(he), { label: "货币符号" }, {
|
|
25581
|
-
default:
|
|
25583
|
+
default: x(() => [
|
|
25582
25584
|
Q(b(Yi), {
|
|
25583
25585
|
modelValue: _.formatType.currencySymbol,
|
|
25584
|
-
"onUpdate:modelValue":
|
|
25585
|
-
onChange:
|
|
25586
|
+
"onUpdate:modelValue": v[31] || (v[31] = (V) => _.formatType.currencySymbol = V),
|
|
25587
|
+
onChange: v[32] || (v[32] = (V) => P(V, "cell", "formatType.currencySymbol"))
|
|
25586
25588
|
}, {
|
|
25587
|
-
default:
|
|
25589
|
+
default: x(() => [
|
|
25588
25590
|
Q(b(we), { value: "¥" }, {
|
|
25589
|
-
default:
|
|
25591
|
+
default: x(() => [
|
|
25590
25592
|
B("人民币 ¥")
|
|
25591
25593
|
]),
|
|
25592
25594
|
_: 1
|
|
25593
25595
|
}),
|
|
25594
25596
|
Q(b(we), { value: "$" }, {
|
|
25595
|
-
default:
|
|
25597
|
+
default: x(() => [
|
|
25596
25598
|
B("美元 $")
|
|
25597
25599
|
]),
|
|
25598
25600
|
_: 1
|
|
25599
25601
|
}),
|
|
25600
25602
|
Q(b(we), { value: "€" }, {
|
|
25601
|
-
default:
|
|
25603
|
+
default: x(() => [
|
|
25602
25604
|
B("欧元 €")
|
|
25603
25605
|
]),
|
|
25604
25606
|
_: 1
|
|
25605
25607
|
}),
|
|
25606
25608
|
Q(b(we), { value: "£" }, {
|
|
25607
|
-
default:
|
|
25609
|
+
default: x(() => [
|
|
25608
25610
|
B("英镑 £")
|
|
25609
25611
|
]),
|
|
25610
25612
|
_: 1
|
|
@@ -25621,24 +25623,24 @@ const zP = /* @__PURE__ */ M("div", { class: "statement-option-title" }, [
|
|
|
25621
25623
|
[Tt, _.format === "currency"]
|
|
25622
25624
|
]),
|
|
25623
25625
|
_.format === b(Re).SCIENTIFIC ? (U(), K(re, { key: 0 }, [
|
|
25624
|
-
Q(
|
|
25625
|
-
default:
|
|
25626
|
+
Q(Y, { span: 24 }, {
|
|
25627
|
+
default: x(() => [
|
|
25626
25628
|
Q(b(he), { label: "指数符号" }, {
|
|
25627
|
-
default:
|
|
25629
|
+
default: x(() => [
|
|
25628
25630
|
Q(b(Yi), {
|
|
25629
25631
|
modelValue: _.formatType.scientificNotation,
|
|
25630
|
-
"onUpdate:modelValue":
|
|
25631
|
-
onChange:
|
|
25632
|
+
"onUpdate:modelValue": v[33] || (v[33] = (V) => _.formatType.scientificNotation = V),
|
|
25633
|
+
onChange: v[34] || (v[34] = (V) => P(V, "cell", "formatType.scientificNotation"))
|
|
25632
25634
|
}, {
|
|
25633
|
-
default:
|
|
25635
|
+
default: x(() => [
|
|
25634
25636
|
Q(b(we), { label: "E" }, {
|
|
25635
|
-
default:
|
|
25637
|
+
default: x(() => [
|
|
25636
25638
|
B("E (1.23E+6)")
|
|
25637
25639
|
]),
|
|
25638
25640
|
_: 1
|
|
25639
25641
|
}),
|
|
25640
25642
|
Q(b(we), { label: "e" }, {
|
|
25641
|
-
default:
|
|
25643
|
+
default: x(() => [
|
|
25642
25644
|
B("e (1.23e+6)")
|
|
25643
25645
|
]),
|
|
25644
25646
|
_: 1
|
|
@@ -25652,17 +25654,17 @@ const zP = /* @__PURE__ */ M("div", { class: "statement-option-title" }, [
|
|
|
25652
25654
|
]),
|
|
25653
25655
|
_: 1
|
|
25654
25656
|
}),
|
|
25655
|
-
Q(
|
|
25656
|
-
default:
|
|
25657
|
+
Q(Y, { span: 24 }, {
|
|
25658
|
+
default: x(() => [
|
|
25657
25659
|
Q(b(he), { label: "指数精度" }, {
|
|
25658
|
-
default:
|
|
25659
|
-
Q(
|
|
25660
|
+
default: x(() => [
|
|
25661
|
+
Q(ie, {
|
|
25660
25662
|
min: 0,
|
|
25661
25663
|
max: 20,
|
|
25662
25664
|
"controls-position": "right",
|
|
25663
25665
|
modelValue: _.formatType.digits,
|
|
25664
|
-
"onUpdate:modelValue":
|
|
25665
|
-
onChange:
|
|
25666
|
+
"onUpdate:modelValue": v[35] || (v[35] = (V) => _.formatType.digits = V),
|
|
25667
|
+
onChange: v[36] || (v[36] = (V) => P(V, "cell", "formatType.digits"))
|
|
25666
25668
|
}, null, 8, ["modelValue"])
|
|
25667
25669
|
]),
|
|
25668
25670
|
_: 1
|
|
@@ -25671,17 +25673,17 @@ const zP = /* @__PURE__ */ M("div", { class: "statement-option-title" }, [
|
|
|
25671
25673
|
_: 1
|
|
25672
25674
|
})
|
|
25673
25675
|
], 64)) : ae("", !0),
|
|
25674
|
-
kt(Q(
|
|
25675
|
-
default:
|
|
25676
|
+
kt(Q(Y, { span: 24 }, {
|
|
25677
|
+
default: x(() => [
|
|
25676
25678
|
Q(b(he), { label: "日期格式" }, {
|
|
25677
|
-
default:
|
|
25679
|
+
default: x(() => [
|
|
25678
25680
|
Q(ne, {
|
|
25679
25681
|
filterable: "",
|
|
25680
25682
|
modelValue: _.formatType.date,
|
|
25681
|
-
"onUpdate:modelValue":
|
|
25682
|
-
onChange:
|
|
25683
|
+
"onUpdate:modelValue": v[37] || (v[37] = (V) => _.formatType.date = V),
|
|
25684
|
+
onChange: v[38] || (v[38] = (V) => P(V, "cell", "formatType.date"))
|
|
25683
25685
|
}, {
|
|
25684
|
-
default:
|
|
25686
|
+
default: x(() => [
|
|
25685
25687
|
Q(W, { value: "YYYY-MM-DD HH:mm:ss" }),
|
|
25686
25688
|
Q(W, { value: "YYYY-MM-DD HH:mm" }),
|
|
25687
25689
|
Q(W, { value: "YYYY-MM-DD" }),
|
|
@@ -25705,22 +25707,22 @@ const zP = /* @__PURE__ */ M("div", { class: "statement-option-title" }, [
|
|
|
25705
25707
|
[Tt, _.format === b(Re).DATETIME]
|
|
25706
25708
|
])
|
|
25707
25709
|
], 64)) : ae("", !0),
|
|
25708
|
-
r.value && o.value ? (U(), oe(
|
|
25710
|
+
r.value && o.value ? (U(), oe(Y, {
|
|
25709
25711
|
key: 1,
|
|
25710
25712
|
span: 24
|
|
25711
25713
|
}, {
|
|
25712
|
-
default:
|
|
25714
|
+
default: x(() => [
|
|
25713
25715
|
Q(b(he), { label: "自定义渲染函数" }, {
|
|
25714
|
-
default:
|
|
25716
|
+
default: x(() => [
|
|
25715
25717
|
Q(Ni, {
|
|
25716
25718
|
height: 100,
|
|
25717
25719
|
modelValue: o.value.customRender,
|
|
25718
|
-
"onUpdate:modelValue":
|
|
25720
|
+
"onUpdate:modelValue": v[39] || (v[39] = (V) => o.value.customRender = V)
|
|
25719
25721
|
}, {
|
|
25720
|
-
"pre-code":
|
|
25722
|
+
"pre-code": x(() => [
|
|
25721
25723
|
B("function (cell,data){")
|
|
25722
25724
|
]),
|
|
25723
|
-
"next-code":
|
|
25725
|
+
"next-code": x(() => [
|
|
25724
25726
|
B("}")
|
|
25725
25727
|
]),
|
|
25726
25728
|
_: 1
|
|
@@ -25737,12 +25739,12 @@ const zP = /* @__PURE__ */ M("div", { class: "statement-option-title" }, [
|
|
|
25737
25739
|
M("div", hw, [
|
|
25738
25740
|
uw,
|
|
25739
25741
|
Q(q, { size: "small" }, {
|
|
25740
|
-
default:
|
|
25742
|
+
default: x(() => [
|
|
25741
25743
|
Q(b($e), {
|
|
25742
25744
|
onClick: N,
|
|
25743
25745
|
plain: ""
|
|
25744
25746
|
}, {
|
|
25745
|
-
default:
|
|
25747
|
+
default: x(() => [
|
|
25746
25748
|
B(" + 上 ")
|
|
25747
25749
|
]),
|
|
25748
25750
|
_: 1
|
|
@@ -25752,7 +25754,7 @@ const zP = /* @__PURE__ */ M("div", { class: "statement-option-title" }, [
|
|
|
25752
25754
|
onClick: se,
|
|
25753
25755
|
plain: ""
|
|
25754
25756
|
}, {
|
|
25755
|
-
default:
|
|
25757
|
+
default: x(() => [
|
|
25756
25758
|
B(" 删 ")
|
|
25757
25759
|
]),
|
|
25758
25760
|
_: 1
|
|
@@ -25761,7 +25763,7 @@ const zP = /* @__PURE__ */ M("div", { class: "statement-option-title" }, [
|
|
|
25761
25763
|
onClick: z,
|
|
25762
25764
|
plain: ""
|
|
25763
25765
|
}, {
|
|
25764
|
-
default:
|
|
25766
|
+
default: x(() => [
|
|
25765
25767
|
B(" 下 + ")
|
|
25766
25768
|
]),
|
|
25767
25769
|
_: 1
|
|
@@ -25770,20 +25772,20 @@ const zP = /* @__PURE__ */ M("div", { class: "statement-option-title" }, [
|
|
|
25770
25772
|
_: 1
|
|
25771
25773
|
})
|
|
25772
25774
|
]),
|
|
25773
|
-
Q(
|
|
25774
|
-
default:
|
|
25775
|
+
Q(Y, { span: 18 }, {
|
|
25776
|
+
default: x(() => [
|
|
25775
25777
|
Q(b(he), { label: "行高" }, {
|
|
25776
|
-
default:
|
|
25777
|
-
Q(
|
|
25778
|
+
default: x(() => [
|
|
25779
|
+
Q(ie, {
|
|
25778
25780
|
"controls-position": "right",
|
|
25779
25781
|
modelValue: _.rowSize,
|
|
25780
|
-
"onUpdate:modelValue":
|
|
25781
|
-
onChange:
|
|
25782
|
+
"onUpdate:modelValue": v[40] || (v[40] = (V) => _.rowSize = V),
|
|
25783
|
+
onChange: v[41] || (v[41] = (V) => P(V, "row", "size"))
|
|
25782
25784
|
}, null, 8, ["modelValue"]),
|
|
25783
25785
|
Q(b($e), {
|
|
25784
|
-
onClick:
|
|
25786
|
+
onClick: v[42] || (v[42] = (V) => P(25, "row", "size"))
|
|
25785
25787
|
}, {
|
|
25786
|
-
default:
|
|
25788
|
+
default: x(() => [
|
|
25787
25789
|
B("重置")
|
|
25788
25790
|
]),
|
|
25789
25791
|
_: 1
|
|
@@ -25794,14 +25796,14 @@ const zP = /* @__PURE__ */ M("div", { class: "statement-option-title" }, [
|
|
|
25794
25796
|
]),
|
|
25795
25797
|
_: 1
|
|
25796
25798
|
}),
|
|
25797
|
-
Q(
|
|
25798
|
-
default:
|
|
25799
|
+
Q(Y, { span: 6 }, {
|
|
25800
|
+
default: x(() => [
|
|
25799
25801
|
Q(b(he), { label: "悬浮" }, {
|
|
25800
|
-
default:
|
|
25802
|
+
default: x(() => [
|
|
25801
25803
|
Q(b(ii), {
|
|
25802
25804
|
modelValue: _.rowFixed,
|
|
25803
|
-
"onUpdate:modelValue":
|
|
25804
|
-
onChange:
|
|
25805
|
+
"onUpdate:modelValue": v[43] || (v[43] = (V) => _.rowFixed = V),
|
|
25806
|
+
onChange: v[44] || (v[44] = (V) => P(V, "row", "isFixed"))
|
|
25805
25807
|
}, null, 8, ["modelValue"])
|
|
25806
25808
|
]),
|
|
25807
25809
|
_: 1
|
|
@@ -25810,22 +25812,22 @@ const zP = /* @__PURE__ */ M("div", { class: "statement-option-title" }, [
|
|
|
25810
25812
|
_: 1
|
|
25811
25813
|
}),
|
|
25812
25814
|
h.value && c.value ? (U(), K(re, { key: 0 }, [
|
|
25813
|
-
Q(
|
|
25814
|
-
default:
|
|
25815
|
+
Q(Y, { span: 24 }, {
|
|
25816
|
+
default: x(() => [
|
|
25815
25817
|
Q(b(he), { label: "数据源" }, {
|
|
25816
|
-
default:
|
|
25818
|
+
default: x(() => [
|
|
25817
25819
|
Q(ne, {
|
|
25818
25820
|
modelValue: c.value.data,
|
|
25819
|
-
"onUpdate:modelValue":
|
|
25820
|
-
onChange:
|
|
25821
|
+
"onUpdate:modelValue": v[45] || (v[45] = (V) => c.value.data = V),
|
|
25822
|
+
onChange: v[46] || (v[46] = (V) => P(V, "row", "data")),
|
|
25821
25823
|
clearable: "",
|
|
25822
25824
|
filterable: ""
|
|
25823
25825
|
}, {
|
|
25824
|
-
default:
|
|
25825
|
-
(U(!0), K(re, null, Fe(b(g), (
|
|
25826
|
-
key:
|
|
25827
|
-
label:
|
|
25828
|
-
value:
|
|
25826
|
+
default: x(() => [
|
|
25827
|
+
(U(!0), K(re, null, Fe(b(g), (V) => (U(), oe(W, {
|
|
25828
|
+
key: V.key,
|
|
25829
|
+
label: V.name,
|
|
25830
|
+
value: V.key
|
|
25829
25831
|
}, null, 8, ["label", "value"]))), 128))
|
|
25830
25832
|
]),
|
|
25831
25833
|
_: 1
|
|
@@ -25836,14 +25838,14 @@ const zP = /* @__PURE__ */ M("div", { class: "statement-option-title" }, [
|
|
|
25836
25838
|
]),
|
|
25837
25839
|
_: 1
|
|
25838
25840
|
}),
|
|
25839
|
-
Q(
|
|
25840
|
-
default:
|
|
25841
|
+
Q(Y, { span: 12 }, {
|
|
25842
|
+
default: x(() => [
|
|
25841
25843
|
Q(b(he), { label: "循环" }, {
|
|
25842
|
-
default:
|
|
25844
|
+
default: x(() => [
|
|
25843
25845
|
Q(b(ii), {
|
|
25844
25846
|
modelValue: c.value.loop,
|
|
25845
|
-
"onUpdate:modelValue":
|
|
25846
|
-
onChange:
|
|
25847
|
+
"onUpdate:modelValue": v[47] || (v[47] = (V) => c.value.loop = V),
|
|
25848
|
+
onChange: v[48] || (v[48] = (V) => P(V, "row", "loop"))
|
|
25847
25849
|
}, null, 8, ["modelValue"])
|
|
25848
25850
|
]),
|
|
25849
25851
|
_: 1
|
|
@@ -25851,18 +25853,18 @@ const zP = /* @__PURE__ */ M("div", { class: "statement-option-title" }, [
|
|
|
25851
25853
|
]),
|
|
25852
25854
|
_: 1
|
|
25853
25855
|
}),
|
|
25854
|
-
c.value.loop ? ae("", !0) : (U(), oe(
|
|
25856
|
+
c.value.loop ? ae("", !0) : (U(), oe(Y, {
|
|
25855
25857
|
key: 0,
|
|
25856
25858
|
span: 12
|
|
25857
25859
|
}, {
|
|
25858
|
-
default:
|
|
25860
|
+
default: x(() => [
|
|
25859
25861
|
Q(b(he), { label: "数据下标" }, {
|
|
25860
|
-
default:
|
|
25861
|
-
Q(
|
|
25862
|
+
default: x(() => [
|
|
25863
|
+
Q(ie, {
|
|
25862
25864
|
min: 0,
|
|
25863
25865
|
modelValue: c.value.dataIndex,
|
|
25864
|
-
"onUpdate:modelValue":
|
|
25865
|
-
onInput:
|
|
25866
|
+
"onUpdate:modelValue": v[49] || (v[49] = (V) => c.value.dataIndex = V),
|
|
25867
|
+
onInput: v[50] || (v[50] = (V) => P(V, "row", "dataIndex"))
|
|
25866
25868
|
}, null, 8, ["modelValue"])
|
|
25867
25869
|
]),
|
|
25868
25870
|
_: 1
|
|
@@ -25876,12 +25878,12 @@ const zP = /* @__PURE__ */ M("div", { class: "statement-option-title" }, [
|
|
|
25876
25878
|
M("div", cw, [
|
|
25877
25879
|
fw,
|
|
25878
25880
|
Q(q, { size: "small" }, {
|
|
25879
|
-
default:
|
|
25881
|
+
default: x(() => [
|
|
25880
25882
|
Q(b($e), {
|
|
25881
25883
|
onClick: E,
|
|
25882
25884
|
plain: ""
|
|
25883
25885
|
}, {
|
|
25884
|
-
default:
|
|
25886
|
+
default: x(() => [
|
|
25885
25887
|
B(" + 左 ")
|
|
25886
25888
|
]),
|
|
25887
25889
|
_: 1
|
|
@@ -25891,7 +25893,7 @@ const zP = /* @__PURE__ */ M("div", { class: "statement-option-title" }, [
|
|
|
25891
25893
|
onClick: L,
|
|
25892
25894
|
plain: ""
|
|
25893
25895
|
}, {
|
|
25894
|
-
default:
|
|
25896
|
+
default: x(() => [
|
|
25895
25897
|
B(" 删 ")
|
|
25896
25898
|
]),
|
|
25897
25899
|
_: 1
|
|
@@ -25900,7 +25902,7 @@ const zP = /* @__PURE__ */ M("div", { class: "statement-option-title" }, [
|
|
|
25900
25902
|
onClick: I,
|
|
25901
25903
|
plain: ""
|
|
25902
25904
|
}, {
|
|
25903
|
-
default:
|
|
25905
|
+
default: x(() => [
|
|
25904
25906
|
B(" 右 + ")
|
|
25905
25907
|
]),
|
|
25906
25908
|
_: 1
|
|
@@ -25909,19 +25911,19 @@ const zP = /* @__PURE__ */ M("div", { class: "statement-option-title" }, [
|
|
|
25909
25911
|
_: 1
|
|
25910
25912
|
})
|
|
25911
25913
|
]),
|
|
25912
|
-
Q(
|
|
25913
|
-
default:
|
|
25914
|
+
Q(Y, { span: 18 }, {
|
|
25915
|
+
default: x(() => [
|
|
25914
25916
|
Q(b(he), { label: "列宽" }, {
|
|
25915
|
-
default:
|
|
25916
|
-
Q(
|
|
25917
|
+
default: x(() => [
|
|
25918
|
+
Q(ie, {
|
|
25917
25919
|
"controls-position": "right",
|
|
25918
25920
|
modelValue: _.colSize,
|
|
25919
|
-
"onUpdate:modelValue":
|
|
25921
|
+
"onUpdate:modelValue": v[51] || (v[51] = (V) => _.colSize = V)
|
|
25920
25922
|
}, null, 8, ["modelValue"]),
|
|
25921
25923
|
Q(b($e), {
|
|
25922
|
-
onClick:
|
|
25924
|
+
onClick: v[52] || (v[52] = (V) => _.colSize = 80)
|
|
25923
25925
|
}, {
|
|
25924
|
-
default:
|
|
25926
|
+
default: x(() => [
|
|
25925
25927
|
B("重置")
|
|
25926
25928
|
]),
|
|
25927
25929
|
_: 1
|
|
@@ -25932,14 +25934,14 @@ const zP = /* @__PURE__ */ M("div", { class: "statement-option-title" }, [
|
|
|
25932
25934
|
]),
|
|
25933
25935
|
_: 1
|
|
25934
25936
|
}),
|
|
25935
|
-
Q(
|
|
25936
|
-
default:
|
|
25937
|
+
Q(Y, { span: 6 }, {
|
|
25938
|
+
default: x(() => [
|
|
25937
25939
|
Q(b(he), { label: "悬浮" }, {
|
|
25938
|
-
default:
|
|
25940
|
+
default: x(() => [
|
|
25939
25941
|
Q(b(ii), {
|
|
25940
25942
|
modelValue: _.colFixed,
|
|
25941
|
-
"onUpdate:modelValue":
|
|
25942
|
-
onChange:
|
|
25943
|
+
"onUpdate:modelValue": v[53] || (v[53] = (V) => _.colFixed = V),
|
|
25944
|
+
onChange: v[54] || (v[54] = (V) => P(V, "col", "isFixed"))
|
|
25943
25945
|
}, null, 8, ["modelValue"])
|
|
25944
25946
|
]),
|
|
25945
25947
|
_: 1
|
|
@@ -25948,21 +25950,21 @@ const zP = /* @__PURE__ */ M("div", { class: "statement-option-title" }, [
|
|
|
25948
25950
|
_: 1
|
|
25949
25951
|
}),
|
|
25950
25952
|
f.value && d.value ? (U(), K(re, { key: 0 }, [
|
|
25951
|
-
Q(
|
|
25952
|
-
default:
|
|
25953
|
+
Q(Y, { span: 24 }, {
|
|
25954
|
+
default: x(() => [
|
|
25953
25955
|
Q(b(he), { label: "数据源" }, {
|
|
25954
|
-
default:
|
|
25956
|
+
default: x(() => [
|
|
25955
25957
|
Q(ne, {
|
|
25956
25958
|
modelValue: d.value.data,
|
|
25957
|
-
"onUpdate:modelValue":
|
|
25958
|
-
onChange:
|
|
25959
|
+
"onUpdate:modelValue": v[55] || (v[55] = (V) => d.value.data = V),
|
|
25960
|
+
onChange: v[56] || (v[56] = (V) => P(V, "col", "data")),
|
|
25959
25961
|
clearable: ""
|
|
25960
25962
|
}, {
|
|
25961
|
-
default:
|
|
25962
|
-
(U(!0), K(re, null, Fe(b(g), (
|
|
25963
|
-
key:
|
|
25964
|
-
label:
|
|
25965
|
-
value:
|
|
25963
|
+
default: x(() => [
|
|
25964
|
+
(U(!0), K(re, null, Fe(b(g), (V) => (U(), oe(W, {
|
|
25965
|
+
key: V.key,
|
|
25966
|
+
label: V.name,
|
|
25967
|
+
value: V.key
|
|
25966
25968
|
}, null, 8, ["label", "value"]))), 128))
|
|
25967
25969
|
]),
|
|
25968
25970
|
_: 1
|
|
@@ -25973,14 +25975,14 @@ const zP = /* @__PURE__ */ M("div", { class: "statement-option-title" }, [
|
|
|
25973
25975
|
]),
|
|
25974
25976
|
_: 1
|
|
25975
25977
|
}),
|
|
25976
|
-
Q(
|
|
25977
|
-
default:
|
|
25978
|
+
Q(Y, { span: 12 }, {
|
|
25979
|
+
default: x(() => [
|
|
25978
25980
|
Q(b(he), { label: "循环数据源" }, {
|
|
25979
|
-
default:
|
|
25981
|
+
default: x(() => [
|
|
25980
25982
|
Q(b(ii), {
|
|
25981
25983
|
modelValue: d.value.loop,
|
|
25982
|
-
"onUpdate:modelValue":
|
|
25983
|
-
onChange:
|
|
25984
|
+
"onUpdate:modelValue": v[57] || (v[57] = (V) => d.value.loop = V),
|
|
25985
|
+
onChange: v[58] || (v[58] = (V) => P(V, "col", "loop"))
|
|
25984
25986
|
}, null, 8, ["modelValue"])
|
|
25985
25987
|
]),
|
|
25986
25988
|
_: 1
|
|
@@ -25988,18 +25990,18 @@ const zP = /* @__PURE__ */ M("div", { class: "statement-option-title" }, [
|
|
|
25988
25990
|
]),
|
|
25989
25991
|
_: 1
|
|
25990
25992
|
}),
|
|
25991
|
-
d.value.loop ? ae("", !0) : (U(), oe(
|
|
25993
|
+
d.value.loop ? ae("", !0) : (U(), oe(Y, {
|
|
25992
25994
|
key: 0,
|
|
25993
25995
|
span: 12
|
|
25994
25996
|
}, {
|
|
25995
|
-
default:
|
|
25997
|
+
default: x(() => [
|
|
25996
25998
|
Q(b(he), { label: "数据下标" }, {
|
|
25997
|
-
default:
|
|
25998
|
-
Q(
|
|
25999
|
+
default: x(() => [
|
|
26000
|
+
Q(ie, {
|
|
25999
26001
|
min: 0,
|
|
26000
26002
|
modelValue: d.value.dataIndex,
|
|
26001
|
-
"onUpdate:modelValue":
|
|
26002
|
-
onInput:
|
|
26003
|
+
"onUpdate:modelValue": v[59] || (v[59] = (V) => d.value.dataIndex = V),
|
|
26004
|
+
onInput: v[60] || (v[60] = (V) => P(V, "col", "dataIndex"))
|
|
26003
26005
|
}, null, 8, ["modelValue"])
|
|
26004
26006
|
]),
|
|
26005
26007
|
_: 1
|
|
@@ -26040,9 +26042,9 @@ const zP = /* @__PURE__ */ M("div", { class: "statement-option-title" }, [
|
|
|
26040
26042
|
label: "单元格/参数",
|
|
26041
26043
|
name: "cell"
|
|
26042
26044
|
}, {
|
|
26043
|
-
default:
|
|
26045
|
+
default: x(() => [
|
|
26044
26046
|
Q(a, { gutter: 10 }, {
|
|
26045
|
-
default:
|
|
26047
|
+
default: x(() => [
|
|
26046
26048
|
Q(dw),
|
|
26047
26049
|
Q(Kg)
|
|
26048
26050
|
]),
|
|
@@ -26055,17 +26057,17 @@ const zP = /* @__PURE__ */ M("div", { class: "statement-option-title" }, [
|
|
|
26055
26057
|
label: "样式/配置",
|
|
26056
26058
|
name: "theme"
|
|
26057
26059
|
}, {
|
|
26058
|
-
default:
|
|
26060
|
+
default: x(() => [
|
|
26059
26061
|
b(t) ? (U(), oe(a, {
|
|
26060
26062
|
key: 0,
|
|
26061
26063
|
gutter: 10
|
|
26062
26064
|
}, {
|
|
26063
|
-
default:
|
|
26065
|
+
default: x(() => [
|
|
26064
26066
|
Ow,
|
|
26065
26067
|
Q(f, { span: 12 }, {
|
|
26066
|
-
default:
|
|
26068
|
+
default: x(() => [
|
|
26067
26069
|
Q(c, { label: "宽度单位" }, {
|
|
26068
|
-
default:
|
|
26070
|
+
default: x(() => [
|
|
26069
26071
|
Q(h, {
|
|
26070
26072
|
modelValue: b(t).widthType,
|
|
26071
26073
|
"onUpdate:modelValue": l[0] || (l[0] = (p) => b(t).widthType = p),
|
|
@@ -26083,9 +26085,9 @@ const zP = /* @__PURE__ */ M("div", { class: "statement-option-title" }, [
|
|
|
26083
26085
|
_: 1
|
|
26084
26086
|
}),
|
|
26085
26087
|
Q(f, { span: 12 }, {
|
|
26086
|
-
default:
|
|
26088
|
+
default: x(() => [
|
|
26087
26089
|
Q(c, { label: "满盘高度" }, {
|
|
26088
|
-
default:
|
|
26090
|
+
default: x(() => [
|
|
26089
26091
|
Q(h, {
|
|
26090
26092
|
modelValue: b(t).fullHeight,
|
|
26091
26093
|
"onUpdate:modelValue": l[2] || (l[2] = (p) => b(t).fullHeight = p),
|
|
@@ -26103,15 +26105,15 @@ const zP = /* @__PURE__ */ M("div", { class: "statement-option-title" }, [
|
|
|
26103
26105
|
_: 1
|
|
26104
26106
|
}),
|
|
26105
26107
|
Q(f, { span: 12 }, {
|
|
26106
|
-
default:
|
|
26108
|
+
default: x(() => [
|
|
26107
26109
|
Q(c, { label: "宽度" }, {
|
|
26108
|
-
default:
|
|
26110
|
+
default: x(() => [
|
|
26109
26111
|
Q(d, {
|
|
26110
26112
|
type: "number",
|
|
26111
26113
|
modelValue: b(t).width,
|
|
26112
26114
|
"onUpdate:modelValue": l[3] || (l[3] = (p) => b(t).width = p)
|
|
26113
26115
|
}, {
|
|
26114
|
-
suffix:
|
|
26116
|
+
suffix: x(() => [
|
|
26115
26117
|
B(Me(b(t).widthType), 1)
|
|
26116
26118
|
]),
|
|
26117
26119
|
_: 1
|
|
@@ -26123,9 +26125,9 @@ const zP = /* @__PURE__ */ M("div", { class: "statement-option-title" }, [
|
|
|
26123
26125
|
_: 1
|
|
26124
26126
|
}),
|
|
26125
26127
|
Q(f, { span: 12 }, {
|
|
26126
|
-
default:
|
|
26128
|
+
default: x(() => [
|
|
26127
26129
|
Q(c, { label: "高度" }, {
|
|
26128
|
-
default:
|
|
26130
|
+
default: x(() => [
|
|
26129
26131
|
Q(d, {
|
|
26130
26132
|
type: "number",
|
|
26131
26133
|
disabled: b(t).fullHeight,
|
|
@@ -26133,7 +26135,7 @@ const zP = /* @__PURE__ */ M("div", { class: "statement-option-title" }, [
|
|
|
26133
26135
|
"onUpdate:modelValue": l[4] || (l[4] = (p) => b(t).height = p),
|
|
26134
26136
|
onChange: l[5] || (l[5] = (p) => r(p, "width", "number"))
|
|
26135
26137
|
}, {
|
|
26136
|
-
suffix:
|
|
26138
|
+
suffix: x(() => [
|
|
26137
26139
|
B("px")
|
|
26138
26140
|
]),
|
|
26139
26141
|
_: 1
|
|
@@ -26146,9 +26148,9 @@ const zP = /* @__PURE__ */ M("div", { class: "statement-option-title" }, [
|
|
|
26146
26148
|
}),
|
|
26147
26149
|
pw,
|
|
26148
26150
|
Q(f, { span: 8 }, {
|
|
26149
|
-
default:
|
|
26151
|
+
default: x(() => [
|
|
26150
26152
|
Q(c, { label: "序号" }, {
|
|
26151
|
-
default:
|
|
26153
|
+
default: x(() => [
|
|
26152
26154
|
Q(h, {
|
|
26153
26155
|
modelValue: b(t).seriesEnable,
|
|
26154
26156
|
"onUpdate:modelValue": l[6] || (l[6] = (p) => b(t).seriesEnable = p)
|
|
@@ -26160,9 +26162,9 @@ const zP = /* @__PURE__ */ M("div", { class: "statement-option-title" }, [
|
|
|
26160
26162
|
_: 1
|
|
26161
26163
|
}),
|
|
26162
26164
|
Q(f, { span: 16 }, {
|
|
26163
|
-
default:
|
|
26165
|
+
default: x(() => [
|
|
26164
26166
|
Q(c, { label: "序号列头文本" }, {
|
|
26165
|
-
default:
|
|
26167
|
+
default: x(() => [
|
|
26166
26168
|
Q(d, {
|
|
26167
26169
|
modelValue: b(t).seriesHeadText,
|
|
26168
26170
|
"onUpdate:modelValue": l[7] || (l[7] = (p) => b(t).seriesHeadText = p)
|
|
@@ -26371,14 +26373,14 @@ const _w = function(n, e) {
|
|
|
26371
26373
|
name: "chart",
|
|
26372
26374
|
label: "属性"
|
|
26373
26375
|
}, {
|
|
26374
|
-
default:
|
|
26376
|
+
default: x(() => [
|
|
26375
26377
|
Q(O, { label: "背景色" }, {
|
|
26376
|
-
default:
|
|
26378
|
+
default: x(() => [
|
|
26377
26379
|
Q(m, {
|
|
26378
26380
|
modelValue: b(l).backgroundColor,
|
|
26379
26381
|
"onUpdate:modelValue": p[1] || (p[1] = (P) => b(l).backgroundColor = P)
|
|
26380
26382
|
}, {
|
|
26381
|
-
append:
|
|
26383
|
+
append: x(() => [
|
|
26382
26384
|
Q(_, {
|
|
26383
26385
|
modelValue: b(l).backgroundColor,
|
|
26384
26386
|
"onUpdate:modelValue": p[0] || (p[0] = (P) => b(l).backgroundColor = P),
|
|
@@ -26391,7 +26393,7 @@ const _w = function(n, e) {
|
|
|
26391
26393
|
_: 1
|
|
26392
26394
|
}),
|
|
26393
26395
|
Q(O, { label: "标题" }, {
|
|
26394
|
-
default:
|
|
26396
|
+
default: x(() => [
|
|
26395
26397
|
Q(m, {
|
|
26396
26398
|
modelValue: b(l).title.text,
|
|
26397
26399
|
"onUpdate:modelValue": p[2] || (p[2] = (P) => b(l).title.text = P)
|
|
@@ -26401,7 +26403,7 @@ const _w = function(n, e) {
|
|
|
26401
26403
|
}),
|
|
26402
26404
|
b(s) ? (U(), K(re, { key: 0 }, [
|
|
26403
26405
|
Q(O, { label: "X轴轴坐标名称" }, {
|
|
26404
|
-
default:
|
|
26406
|
+
default: x(() => [
|
|
26405
26407
|
Q(m, {
|
|
26406
26408
|
modelValue: b(l).xAxis.name,
|
|
26407
26409
|
"onUpdate:modelValue": p[3] || (p[3] = (P) => b(l).xAxis.name = P)
|
|
@@ -26410,7 +26412,7 @@ const _w = function(n, e) {
|
|
|
26410
26412
|
_: 1
|
|
26411
26413
|
}),
|
|
26412
26414
|
Q(O, { label: "Y轴轴坐标名称" }, {
|
|
26413
|
-
default:
|
|
26415
|
+
default: x(() => [
|
|
26414
26416
|
Q(m, {
|
|
26415
26417
|
modelValue: b(l).yAxis.name,
|
|
26416
26418
|
"onUpdate:modelValue": p[4] || (p[4] = (P) => b(l).yAxis.name = P)
|
|
@@ -26420,20 +26422,20 @@ const _w = function(n, e) {
|
|
|
26420
26422
|
})
|
|
26421
26423
|
], 64)) : ae("", !0),
|
|
26422
26424
|
Q(O, { label: "宽度单位" }, {
|
|
26423
|
-
default:
|
|
26425
|
+
default: x(() => [
|
|
26424
26426
|
Q(R, {
|
|
26425
26427
|
modelValue: b(t).widthUnit,
|
|
26426
26428
|
"onUpdate:modelValue": p[5] || (p[5] = (P) => b(t).widthUnit = P)
|
|
26427
26429
|
}, {
|
|
26428
|
-
default:
|
|
26430
|
+
default: x(() => [
|
|
26429
26431
|
Q(y, { label: "px" }, {
|
|
26430
|
-
default:
|
|
26432
|
+
default: x(() => [
|
|
26431
26433
|
B("像素")
|
|
26432
26434
|
]),
|
|
26433
26435
|
_: 1
|
|
26434
26436
|
}),
|
|
26435
26437
|
Q(y, { label: "%" }, {
|
|
26436
|
-
default:
|
|
26438
|
+
default: x(() => [
|
|
26437
26439
|
B("百分比")
|
|
26438
26440
|
]),
|
|
26439
26441
|
_: 1
|
|
@@ -26445,7 +26447,7 @@ const _w = function(n, e) {
|
|
|
26445
26447
|
_: 1
|
|
26446
26448
|
}),
|
|
26447
26449
|
Q(O, { label: "宽" }, {
|
|
26448
|
-
default:
|
|
26450
|
+
default: x(() => [
|
|
26449
26451
|
Q(k, {
|
|
26450
26452
|
modelValue: b(t).width,
|
|
26451
26453
|
"onUpdate:modelValue": p[6] || (p[6] = (P) => b(t).width = P),
|
|
@@ -26455,20 +26457,20 @@ const _w = function(n, e) {
|
|
|
26455
26457
|
_: 1
|
|
26456
26458
|
}),
|
|
26457
26459
|
Q(O, { label: "高度单位" }, {
|
|
26458
|
-
default:
|
|
26460
|
+
default: x(() => [
|
|
26459
26461
|
Q(R, {
|
|
26460
26462
|
modelValue: b(t).heightUnit,
|
|
26461
26463
|
"onUpdate:modelValue": p[7] || (p[7] = (P) => b(t).heightUnit = P)
|
|
26462
26464
|
}, {
|
|
26463
|
-
default:
|
|
26465
|
+
default: x(() => [
|
|
26464
26466
|
Q(y, { label: "px" }, {
|
|
26465
|
-
default:
|
|
26467
|
+
default: x(() => [
|
|
26466
26468
|
B("像素")
|
|
26467
26469
|
]),
|
|
26468
26470
|
_: 1
|
|
26469
26471
|
}),
|
|
26470
26472
|
Q(y, { label: "%" }, {
|
|
26471
|
-
default:
|
|
26473
|
+
default: x(() => [
|
|
26472
26474
|
B("百分比")
|
|
26473
26475
|
]),
|
|
26474
26476
|
_: 1
|
|
@@ -26480,7 +26482,7 @@ const _w = function(n, e) {
|
|
|
26480
26482
|
_: 1
|
|
26481
26483
|
}),
|
|
26482
26484
|
Q(O, { label: "高" }, {
|
|
26483
|
-
default:
|
|
26485
|
+
default: x(() => [
|
|
26484
26486
|
Q(k, {
|
|
26485
26487
|
modelValue: b(t).height,
|
|
26486
26488
|
"onUpdate:modelValue": p[8] || (p[8] = (P) => b(t).height = P),
|
|
@@ -26491,7 +26493,7 @@ const _w = function(n, e) {
|
|
|
26491
26493
|
}),
|
|
26492
26494
|
b(t).type == "line" ? (U(), K(re, { key: 1 }, [
|
|
26493
26495
|
Q(O, { label: "平滑" }, {
|
|
26494
|
-
default:
|
|
26496
|
+
default: x(() => [
|
|
26495
26497
|
Q(X, {
|
|
26496
26498
|
modelValue: b(t).smooth,
|
|
26497
26499
|
"onUpdate:modelValue": p[9] || (p[9] = (P) => b(t).smooth = P),
|
|
@@ -26501,7 +26503,7 @@ const _w = function(n, e) {
|
|
|
26501
26503
|
_: 1
|
|
26502
26504
|
}),
|
|
26503
26505
|
Q(O, { label: "显示点" }, {
|
|
26504
|
-
default:
|
|
26506
|
+
default: x(() => [
|
|
26505
26507
|
Q(X, {
|
|
26506
26508
|
modelValue: b(t).symbol,
|
|
26507
26509
|
"onUpdate:modelValue": p[10] || (p[10] = (P) => b(t).symbol = P),
|
|
@@ -26514,7 +26516,7 @@ const _w = function(n, e) {
|
|
|
26514
26516
|
})
|
|
26515
26517
|
], 64)) : ae("", !0),
|
|
26516
26518
|
Q(O, { label: "显示标签" }, {
|
|
26517
|
-
default:
|
|
26519
|
+
default: x(() => [
|
|
26518
26520
|
Q(X, {
|
|
26519
26521
|
modelValue: b(t).showLabel,
|
|
26520
26522
|
"onUpdate:modelValue": p[11] || (p[11] = (P) => b(t).showLabel = P),
|
|
@@ -26527,13 +26529,13 @@ const _w = function(n, e) {
|
|
|
26527
26529
|
key: 2,
|
|
26528
26530
|
label: "标签颜色"
|
|
26529
26531
|
}, {
|
|
26530
|
-
default:
|
|
26532
|
+
default: x(() => [
|
|
26531
26533
|
Q(m, {
|
|
26532
26534
|
modelValue: b(t).labelColor,
|
|
26533
26535
|
"onUpdate:modelValue": p[13] || (p[13] = (P) => b(t).labelColor = P),
|
|
26534
26536
|
onChange: a
|
|
26535
26537
|
}, {
|
|
26536
|
-
append:
|
|
26538
|
+
append: x(() => [
|
|
26537
26539
|
Q(_, {
|
|
26538
26540
|
modelValue: b(t).labelColor,
|
|
26539
26541
|
"onUpdate:modelValue": p[12] || (p[12] = (P) => b(t).labelColor = P),
|
|
@@ -26550,28 +26552,28 @@ const _w = function(n, e) {
|
|
|
26550
26552
|
key: 3,
|
|
26551
26553
|
label: "标签位置"
|
|
26552
26554
|
}, {
|
|
26553
|
-
default:
|
|
26555
|
+
default: x(() => [
|
|
26554
26556
|
["line", "scatter"].includes(b(t).type) ? (U(), oe(R, {
|
|
26555
26557
|
key: 0,
|
|
26556
26558
|
modelValue: b(t).labelPosition,
|
|
26557
26559
|
"onUpdate:modelValue": p[14] || (p[14] = (P) => b(t).labelPosition = P),
|
|
26558
26560
|
onChange: a
|
|
26559
26561
|
}, {
|
|
26560
|
-
default:
|
|
26562
|
+
default: x(() => [
|
|
26561
26563
|
Q(y, { label: "top" }, {
|
|
26562
|
-
default:
|
|
26564
|
+
default: x(() => [
|
|
26563
26565
|
B("上")
|
|
26564
26566
|
]),
|
|
26565
26567
|
_: 1
|
|
26566
26568
|
}),
|
|
26567
26569
|
Q(y, { label: "inside" }, {
|
|
26568
|
-
default:
|
|
26570
|
+
default: x(() => [
|
|
26569
26571
|
B("中")
|
|
26570
26572
|
]),
|
|
26571
26573
|
_: 1
|
|
26572
26574
|
}),
|
|
26573
26575
|
Q(y, { label: "bottom" }, {
|
|
26574
|
-
default:
|
|
26576
|
+
default: x(() => [
|
|
26575
26577
|
B("下")
|
|
26576
26578
|
]),
|
|
26577
26579
|
_: 1
|
|
@@ -26584,27 +26586,27 @@ const _w = function(n, e) {
|
|
|
26584
26586
|
"onUpdate:modelValue": p[15] || (p[15] = (P) => b(t).labelPosition = P),
|
|
26585
26587
|
onChange: a
|
|
26586
26588
|
}, {
|
|
26587
|
-
default:
|
|
26589
|
+
default: x(() => [
|
|
26588
26590
|
Q(y, { label: "insideLeft" }, {
|
|
26589
|
-
default:
|
|
26591
|
+
default: x(() => [
|
|
26590
26592
|
B("左")
|
|
26591
26593
|
]),
|
|
26592
26594
|
_: 1
|
|
26593
26595
|
}),
|
|
26594
26596
|
Q(y, { label: "inside" }, {
|
|
26595
|
-
default:
|
|
26597
|
+
default: x(() => [
|
|
26596
26598
|
B("中")
|
|
26597
26599
|
]),
|
|
26598
26600
|
_: 1
|
|
26599
26601
|
}),
|
|
26600
26602
|
Q(y, { label: "insideRight" }, {
|
|
26601
|
-
default:
|
|
26603
|
+
default: x(() => [
|
|
26602
26604
|
B("右")
|
|
26603
26605
|
]),
|
|
26604
26606
|
_: 1
|
|
26605
26607
|
}),
|
|
26606
26608
|
Q(y, { label: "right" }, {
|
|
26607
|
-
default:
|
|
26609
|
+
default: x(() => [
|
|
26608
26610
|
B("外")
|
|
26609
26611
|
]),
|
|
26610
26612
|
_: 1
|
|
@@ -26617,27 +26619,27 @@ const _w = function(n, e) {
|
|
|
26617
26619
|
"onUpdate:modelValue": p[16] || (p[16] = (P) => b(t).labelPosition = P),
|
|
26618
26620
|
onChange: a
|
|
26619
26621
|
}, {
|
|
26620
|
-
default:
|
|
26622
|
+
default: x(() => [
|
|
26621
26623
|
Q(y, { label: "insideTop" }, {
|
|
26622
|
-
default:
|
|
26624
|
+
default: x(() => [
|
|
26623
26625
|
B("上")
|
|
26624
26626
|
]),
|
|
26625
26627
|
_: 1
|
|
26626
26628
|
}),
|
|
26627
26629
|
Q(y, { label: "inside" }, {
|
|
26628
|
-
default:
|
|
26630
|
+
default: x(() => [
|
|
26629
26631
|
B("中")
|
|
26630
26632
|
]),
|
|
26631
26633
|
_: 1
|
|
26632
26634
|
}),
|
|
26633
26635
|
Q(y, { label: "insideBottom" }, {
|
|
26634
|
-
default:
|
|
26636
|
+
default: x(() => [
|
|
26635
26637
|
B("下")
|
|
26636
26638
|
]),
|
|
26637
26639
|
_: 1
|
|
26638
26640
|
}),
|
|
26639
26641
|
Q(y, { label: "top" }, {
|
|
26640
|
-
default:
|
|
26642
|
+
default: x(() => [
|
|
26641
26643
|
B("外")
|
|
26642
26644
|
]),
|
|
26643
26645
|
_: 1
|
|
@@ -26652,7 +26654,7 @@ const _w = function(n, e) {
|
|
|
26652
26654
|
key: 4,
|
|
26653
26655
|
label: "面积图"
|
|
26654
26656
|
}, {
|
|
26655
|
-
default:
|
|
26657
|
+
default: x(() => [
|
|
26656
26658
|
Q(X, {
|
|
26657
26659
|
modelValue: b(t).areaStyle,
|
|
26658
26660
|
"onUpdate:modelValue": p[17] || (p[17] = (P) => b(t).areaStyle = P),
|
|
@@ -26667,7 +26669,7 @@ const _w = function(n, e) {
|
|
|
26667
26669
|
key: 5,
|
|
26668
26670
|
label: "环形图"
|
|
26669
26671
|
}, {
|
|
26670
|
-
default:
|
|
26672
|
+
default: x(() => [
|
|
26671
26673
|
Q(X, {
|
|
26672
26674
|
modelValue: b(t).radius,
|
|
26673
26675
|
"onUpdate:modelValue": p[18] || (p[18] = (P) => b(t).radius = P),
|
|
@@ -26679,20 +26681,20 @@ const _w = function(n, e) {
|
|
|
26679
26681
|
b(t).isSuspend ? (U(), K(re, { key: 6 }, [
|
|
26680
26682
|
bw,
|
|
26681
26683
|
Q(O, null, {
|
|
26682
|
-
label:
|
|
26684
|
+
label: x(() => [
|
|
26683
26685
|
Q($, {
|
|
26684
26686
|
class: "box-item",
|
|
26685
26687
|
effect: "dark",
|
|
26686
26688
|
content: "元素相对于视口顶部的距离(%)",
|
|
26687
26689
|
placement: "top-start"
|
|
26688
26690
|
}, {
|
|
26689
|
-
default:
|
|
26691
|
+
default: x(() => [
|
|
26690
26692
|
yw
|
|
26691
26693
|
]),
|
|
26692
26694
|
_: 1
|
|
26693
26695
|
})
|
|
26694
26696
|
]),
|
|
26695
|
-
default:
|
|
26697
|
+
default: x(() => [
|
|
26696
26698
|
Q(k, {
|
|
26697
26699
|
modelValue: b(t).top,
|
|
26698
26700
|
"onUpdate:modelValue": p[19] || (p[19] = (P) => b(t).top = P),
|
|
@@ -26702,20 +26704,20 @@ const _w = function(n, e) {
|
|
|
26702
26704
|
_: 1
|
|
26703
26705
|
}),
|
|
26704
26706
|
Q(O, null, {
|
|
26705
|
-
label:
|
|
26707
|
+
label: x(() => [
|
|
26706
26708
|
Q($, {
|
|
26707
26709
|
class: "box-item",
|
|
26708
26710
|
effect: "dark",
|
|
26709
26711
|
content: "元素相对于视口左侧的距离(%)",
|
|
26710
26712
|
placement: "top-start"
|
|
26711
26713
|
}, {
|
|
26712
|
-
default:
|
|
26714
|
+
default: x(() => [
|
|
26713
26715
|
Sw
|
|
26714
26716
|
]),
|
|
26715
26717
|
_: 1
|
|
26716
26718
|
})
|
|
26717
26719
|
]),
|
|
26718
|
-
default:
|
|
26720
|
+
default: x(() => [
|
|
26719
26721
|
Q(k, {
|
|
26720
26722
|
modelValue: b(t).left,
|
|
26721
26723
|
"onUpdate:modelValue": p[20] || (p[20] = (P) => b(t).left = P),
|
|
@@ -26727,7 +26729,7 @@ const _w = function(n, e) {
|
|
|
26727
26729
|
], 64)) : ae("", !0),
|
|
26728
26730
|
vw,
|
|
26729
26731
|
Q(O, { label: "数据分组求和" }, {
|
|
26730
|
-
default:
|
|
26732
|
+
default: x(() => [
|
|
26731
26733
|
Q(X, {
|
|
26732
26734
|
modelValue: b(t).groupBy,
|
|
26733
26735
|
"onUpdate:modelValue": p[21] || (p[21] = (P) => b(t).groupBy = P)
|
|
@@ -26736,27 +26738,27 @@ const _w = function(n, e) {
|
|
|
26736
26738
|
_: 1
|
|
26737
26739
|
}),
|
|
26738
26740
|
Q(O, { label: "数据排序" }, {
|
|
26739
|
-
default:
|
|
26741
|
+
default: x(() => [
|
|
26740
26742
|
Q(R, {
|
|
26741
26743
|
modelValue: b(t).orderBy,
|
|
26742
26744
|
"onUpdate:modelValue": p[22] || (p[22] = (P) => b(t).orderBy = P),
|
|
26743
26745
|
onChange: f
|
|
26744
26746
|
}, {
|
|
26745
|
-
default:
|
|
26747
|
+
default: x(() => [
|
|
26746
26748
|
Q(y, { label: "ASC" }, {
|
|
26747
|
-
default:
|
|
26749
|
+
default: x(() => [
|
|
26748
26750
|
B("正序")
|
|
26749
26751
|
]),
|
|
26750
26752
|
_: 1
|
|
26751
26753
|
}),
|
|
26752
26754
|
Q(y, { label: "NONE" }, {
|
|
26753
|
-
default:
|
|
26755
|
+
default: x(() => [
|
|
26754
26756
|
B("不排序")
|
|
26755
26757
|
]),
|
|
26756
26758
|
_: 1
|
|
26757
26759
|
}),
|
|
26758
26760
|
Q(y, { label: "DESC" }, {
|
|
26759
|
-
default:
|
|
26761
|
+
default: x(() => [
|
|
26760
26762
|
B("倒序")
|
|
26761
26763
|
]),
|
|
26762
26764
|
_: 1
|
|
@@ -26771,7 +26773,7 @@ const _w = function(n, e) {
|
|
|
26771
26773
|
key: 7,
|
|
26772
26774
|
label: "数据截取数量"
|
|
26773
26775
|
}, {
|
|
26774
|
-
default:
|
|
26776
|
+
default: x(() => [
|
|
26775
26777
|
Q(k, {
|
|
26776
26778
|
modelValue: b(t).cutLength,
|
|
26777
26779
|
"onUpdate:modelValue": p[23] || (p[23] = (P) => b(t).cutLength = P)
|
|
@@ -26780,7 +26782,7 @@ const _w = function(n, e) {
|
|
|
26780
26782
|
_: 1
|
|
26781
26783
|
})) : ae("", !0),
|
|
26782
26784
|
Q(O, { label: b(r) }, {
|
|
26783
|
-
default:
|
|
26785
|
+
default: x(() => [
|
|
26784
26786
|
Q(C, {
|
|
26785
26787
|
modelValue: b(l).xDataId,
|
|
26786
26788
|
"onUpdate:modelValue": p[24] || (p[24] = (P) => b(l).xDataId = P),
|
|
@@ -26792,7 +26794,7 @@ const _w = function(n, e) {
|
|
|
26792
26794
|
_: 1
|
|
26793
26795
|
}, 8, ["label"]),
|
|
26794
26796
|
Q(O, { label: "图表数据" }, {
|
|
26795
|
-
default:
|
|
26797
|
+
default: x(() => [
|
|
26796
26798
|
Q(C, {
|
|
26797
26799
|
modelValue: b(l).yDataId,
|
|
26798
26800
|
"onUpdate:modelValue": p[25] || (p[25] = (P) => b(l).yDataId = P),
|
|
@@ -26813,12 +26815,12 @@ const _w = function(n, e) {
|
|
|
26813
26815
|
name: "config",
|
|
26814
26816
|
label: "自定义配置"
|
|
26815
26817
|
}, {
|
|
26816
|
-
default:
|
|
26818
|
+
default: x(() => [
|
|
26817
26819
|
Q(O, {
|
|
26818
26820
|
label: "自定义配置",
|
|
26819
26821
|
"label-position": "top"
|
|
26820
26822
|
}, {
|
|
26821
|
-
default:
|
|
26823
|
+
default: x(() => [
|
|
26822
26824
|
Q(Ni, {
|
|
26823
26825
|
modelValue: b(o),
|
|
26824
26826
|
"onUpdate:modelValue": p[26] || (p[26] = (P) => Em(o) ? o.value = P : o = P),
|
|
@@ -26850,13 +26852,13 @@ const _w = function(n, e) {
|
|
|
26850
26852
|
"label-position": "top",
|
|
26851
26853
|
class: "statement-option"
|
|
26852
26854
|
}, {
|
|
26853
|
-
default:
|
|
26855
|
+
default: x(() => [
|
|
26854
26856
|
Q(b(Um), {
|
|
26855
26857
|
stretch: "",
|
|
26856
26858
|
modelValue: i.value,
|
|
26857
26859
|
"onUpdate:modelValue": o[0] || (o[0] = (l) => i.value = l)
|
|
26858
26860
|
}, {
|
|
26859
|
-
default:
|
|
26861
|
+
default: x(() => [
|
|
26860
26862
|
b(t) !== null ? (U(), K(re, { key: 0 }, [
|
|
26861
26863
|
b(s) ? (U(), oe(mw, { key: 0 })) : (U(), oe(xw, { key: 1 }))
|
|
26862
26864
|
], 64)) : ae("", !0)
|
|
@@ -26968,7 +26970,7 @@ const _w = function(n, e) {
|
|
|
26968
26970
|
}
|
|
26969
26971
|
return un(() => {
|
|
26970
26972
|
}), (w, P) => {
|
|
26971
|
-
const g = fe("el-input"), Z = fe("el-checkbox"), T = fe("el-checkbox-group"), E = fe("el-tag"), L = fe("el-col"), I = fe("el-switch"), N = fe("el-form-item"), se = fe("el-form"), z = fe("el-row"),
|
|
26973
|
+
const g = fe("el-input"), Z = fe("el-checkbox"), T = fe("el-checkbox-group"), E = fe("el-tag"), L = fe("el-col"), I = fe("el-switch"), N = fe("el-form-item"), se = fe("el-form"), z = fe("el-row"), A = fe("el-text");
|
|
26972
26974
|
return U(), K(re, null, [
|
|
26973
26975
|
M("div", Pw, [
|
|
26974
26976
|
ww,
|
|
@@ -26977,23 +26979,23 @@ const _w = function(n, e) {
|
|
|
26977
26979
|
type: "success",
|
|
26978
26980
|
text: ""
|
|
26979
26981
|
}, {
|
|
26980
|
-
default:
|
|
26982
|
+
default: x(() => [
|
|
26981
26983
|
B(" 编辑 ")
|
|
26982
26984
|
]),
|
|
26983
26985
|
_: 1
|
|
26984
26986
|
})
|
|
26985
26987
|
]),
|
|
26986
26988
|
Q(b(zm), { class: "data-columns" }, {
|
|
26987
|
-
default:
|
|
26988
|
-
(U(!0), K(re, null, Fe(b(r), (
|
|
26989
|
+
default: x(() => [
|
|
26990
|
+
(U(!0), K(re, null, Fe(b(r), (v, q) => (U(), oe(b(Wm), {
|
|
26989
26991
|
key: q,
|
|
26990
|
-
name:
|
|
26992
|
+
name: v.url
|
|
26991
26993
|
}, {
|
|
26992
|
-
title:
|
|
26993
|
-
B(Me(
|
|
26994
|
+
title: x(() => [
|
|
26995
|
+
B(Me(v.name) + " (" + Me(v.url) + ")", 1)
|
|
26994
26996
|
]),
|
|
26995
|
-
default:
|
|
26996
|
-
(U(!0), K(re, null, Fe(
|
|
26997
|
+
default: x(() => [
|
|
26998
|
+
(U(!0), K(re, null, Fe(v.columns, (Y, W) => (U(), K("div", {
|
|
26997
26999
|
class: "data-column report-drag-source",
|
|
26998
27000
|
"data-drag": "column",
|
|
26999
27001
|
"data-index": q,
|
|
@@ -27001,10 +27003,10 @@ const _w = function(n, e) {
|
|
|
27001
27003
|
draggable: "true"
|
|
27002
27004
|
}, [
|
|
27003
27005
|
M("div", null, [
|
|
27004
|
-
|
|
27005
|
-
B(Me(
|
|
27006
|
+
Y.name === Y.columnName ? (U(), K(re, { key: 0 }, [
|
|
27007
|
+
B(Me(Y.name), 1)
|
|
27006
27008
|
], 64)) : (U(), K(re, { key: 1 }, [
|
|
27007
|
-
B(Me(
|
|
27009
|
+
B(Me(Y.name) + " (" + Me(Y.columnName) + ")", 1)
|
|
27008
27010
|
], 64))
|
|
27009
27011
|
])
|
|
27010
27012
|
], 8, kw))), 256))
|
|
@@ -27020,24 +27022,24 @@ const _w = function(n, e) {
|
|
|
27020
27022
|
class: "statement-data-source-dialog",
|
|
27021
27023
|
"show-close": !1,
|
|
27022
27024
|
modelValue: t.value,
|
|
27023
|
-
"onUpdate:modelValue": P[10] || (P[10] = (
|
|
27025
|
+
"onUpdate:modelValue": P[10] || (P[10] = (v) => t.value = v)
|
|
27024
27026
|
}, {
|
|
27025
|
-
header:
|
|
27027
|
+
header: x(() => [
|
|
27026
27028
|
Iw,
|
|
27027
|
-
Q(
|
|
27028
|
-
default:
|
|
27029
|
+
Q(A, { type: "info" }, {
|
|
27030
|
+
default: x(() => [
|
|
27029
27031
|
B("数据处理函数中:")
|
|
27030
27032
|
]),
|
|
27031
27033
|
_: 1
|
|
27032
27034
|
}),
|
|
27033
|
-
Q(
|
|
27034
|
-
default:
|
|
27035
|
+
Q(A, { type: "warning" }, {
|
|
27036
|
+
default: x(() => [
|
|
27035
27037
|
B("多数据源时 allData 是数组,单数据源是对象;")
|
|
27036
27038
|
]),
|
|
27037
27039
|
_: 1
|
|
27038
27040
|
}),
|
|
27039
|
-
Q(
|
|
27040
|
-
default:
|
|
27041
|
+
Q(A, { type: "danger" }, {
|
|
27042
|
+
default: x(() => [
|
|
27041
27043
|
B("函数为空则直接返回原始数据;")
|
|
27042
27044
|
]),
|
|
27043
27045
|
_: 1
|
|
@@ -27046,27 +27048,27 @@ const _w = function(n, e) {
|
|
|
27046
27048
|
Q(b($e), {
|
|
27047
27049
|
type: "warning",
|
|
27048
27050
|
plain: "",
|
|
27049
|
-
onClick: P[9] || (P[9] = (
|
|
27051
|
+
onClick: P[9] || (P[9] = (v) => t.value = !1)
|
|
27050
27052
|
}, {
|
|
27051
|
-
default:
|
|
27053
|
+
default: x(() => [
|
|
27052
27054
|
B(" 关闭 ")
|
|
27053
27055
|
]),
|
|
27054
27056
|
_: 1
|
|
27055
27057
|
})
|
|
27056
27058
|
]),
|
|
27057
|
-
default:
|
|
27059
|
+
default: x(() => [
|
|
27058
27060
|
b(i) ? (U(), K("div", Tw, [
|
|
27059
27061
|
Q(z, { class: "process-data" }, {
|
|
27060
|
-
default:
|
|
27062
|
+
default: x(() => [
|
|
27061
27063
|
Q(L, { span: 8 }, {
|
|
27062
|
-
default:
|
|
27064
|
+
default: x(() => [
|
|
27063
27065
|
M("div", Cw, [
|
|
27064
27066
|
a.value ? (U(), K(re, { key: 1 }, [
|
|
27065
27067
|
Xw,
|
|
27066
27068
|
Q(g, {
|
|
27067
27069
|
placeholder: "键入筛选数据源",
|
|
27068
27070
|
modelValue: h.value,
|
|
27069
|
-
"onUpdate:modelValue": P[0] || (P[0] = (
|
|
27071
|
+
"onUpdate:modelValue": P[0] || (P[0] = (v) => h.value = v),
|
|
27070
27072
|
clearable: ""
|
|
27071
27073
|
}, null, 8, ["modelValue"]),
|
|
27072
27074
|
Q(b($e), {
|
|
@@ -27075,7 +27077,7 @@ const _w = function(n, e) {
|
|
|
27075
27077
|
loading: d.value,
|
|
27076
27078
|
onClick: O
|
|
27077
27079
|
}, {
|
|
27078
|
-
default:
|
|
27080
|
+
default: x(() => [
|
|
27079
27081
|
B(" 保存 ")
|
|
27080
27082
|
]),
|
|
27081
27083
|
_: 1
|
|
@@ -27086,7 +27088,7 @@ const _w = function(n, e) {
|
|
|
27086
27088
|
type: "text",
|
|
27087
27089
|
onClick: m
|
|
27088
27090
|
}, {
|
|
27089
|
-
default:
|
|
27091
|
+
default: x(() => [
|
|
27090
27092
|
B(" 同步 ")
|
|
27091
27093
|
]),
|
|
27092
27094
|
_: 1
|
|
@@ -27095,7 +27097,7 @@ const _w = function(n, e) {
|
|
|
27095
27097
|
type: "text",
|
|
27096
27098
|
onClick: _
|
|
27097
27099
|
}, {
|
|
27098
|
-
default:
|
|
27100
|
+
default: x(() => [
|
|
27099
27101
|
B(" 选择 ")
|
|
27100
27102
|
]),
|
|
27101
27103
|
_: 1
|
|
@@ -27105,14 +27107,14 @@ const _w = function(n, e) {
|
|
|
27105
27107
|
a.value ? (U(), K("div", Zw, [
|
|
27106
27108
|
Q(T, {
|
|
27107
27109
|
modelValue: f.value,
|
|
27108
|
-
"onUpdate:modelValue": P[1] || (P[1] = (
|
|
27110
|
+
"onUpdate:modelValue": P[1] || (P[1] = (v) => f.value = v)
|
|
27109
27111
|
}, {
|
|
27110
|
-
default:
|
|
27111
|
-
(U(!0), K(re, null, Fe(b(c), (
|
|
27112
|
-
label:
|
|
27112
|
+
default: x(() => [
|
|
27113
|
+
(U(!0), K(re, null, Fe(b(c), (v) => (U(), oe(Z, {
|
|
27114
|
+
label: v.id
|
|
27113
27115
|
}, {
|
|
27114
|
-
default:
|
|
27115
|
-
B(Me(
|
|
27116
|
+
default: x(() => [
|
|
27117
|
+
B(Me(v.name), 1)
|
|
27116
27118
|
]),
|
|
27117
27119
|
_: 2
|
|
27118
27120
|
}, 1032, ["label"]))), 256))
|
|
@@ -27120,13 +27122,13 @@ const _w = function(n, e) {
|
|
|
27120
27122
|
_: 1
|
|
27121
27123
|
}, 8, ["modelValue"])
|
|
27122
27124
|
])) : (U(), K("div", Aw, [
|
|
27123
|
-
(U(!0), K(re, null, Fe(b(r), (
|
|
27125
|
+
(U(!0), K(re, null, Fe(b(r), (v) => (U(), K("div", Vw, [
|
|
27124
27126
|
M("div", Yw, [
|
|
27125
|
-
M("div", Ew, Me(
|
|
27127
|
+
M("div", Ew, Me(v.name) + " (" + Me(v.url) + ")", 1)
|
|
27126
27128
|
]),
|
|
27127
27129
|
M("div", qw, [
|
|
27128
|
-
(U(!0), K(re, null, Fe(
|
|
27129
|
-
default:
|
|
27130
|
+
(U(!0), K(re, null, Fe(v.columns, (q) => (U(), oe(E, null, {
|
|
27131
|
+
default: x(() => [
|
|
27130
27132
|
q.name === q.columnName ? (U(), K(re, { key: 0 }, [
|
|
27131
27133
|
B(Me(q.name), 1)
|
|
27132
27134
|
], 64)) : (U(), K(re, { key: 1 }, [
|
|
@@ -27145,48 +27147,49 @@ const _w = function(n, e) {
|
|
|
27145
27147
|
key: 0,
|
|
27146
27148
|
span: 16
|
|
27147
27149
|
}, {
|
|
27148
|
-
default:
|
|
27150
|
+
default: x(() => [
|
|
27149
27151
|
Q(se, { "label-position": "top" }, {
|
|
27150
|
-
default:
|
|
27152
|
+
default: x(() => [
|
|
27151
27153
|
Q(N, null, {
|
|
27152
|
-
label:
|
|
27154
|
+
label: x(() => [
|
|
27153
27155
|
Mw
|
|
27154
27156
|
]),
|
|
27155
|
-
default:
|
|
27157
|
+
default: x(() => [
|
|
27156
27158
|
Q(I, {
|
|
27157
27159
|
modelValue: b(i).data.pagination,
|
|
27158
|
-
"onUpdate:modelValue": P[2] || (P[2] = (
|
|
27160
|
+
"onUpdate:modelValue": P[2] || (P[2] = (v) => b(i).data.pagination = v),
|
|
27159
27161
|
disabled: b(i).data.source && b(i).data.source.length > 1
|
|
27160
27162
|
}, null, 8, ["modelValue", "disabled"])
|
|
27161
27163
|
]),
|
|
27162
27164
|
_: 1
|
|
27163
27165
|
}),
|
|
27164
27166
|
b(i).data.pagination ? (U(), oe(N, { key: 0 }, {
|
|
27165
|
-
label:
|
|
27167
|
+
label: x(() => [
|
|
27166
27168
|
Dw
|
|
27167
27169
|
]),
|
|
27168
|
-
default:
|
|
27170
|
+
default: x(() => [
|
|
27169
27171
|
Q(g, {
|
|
27170
27172
|
modelValue: b(i).data.pageSize,
|
|
27171
|
-
"onUpdate:modelValue": P[3] || (P[3] = (
|
|
27173
|
+
"onUpdate:modelValue": P[3] || (P[3] = (v) => b(i).data.pageSize = v),
|
|
27174
|
+
modelModifiers: { number: !0 }
|
|
27172
27175
|
}, null, 8, ["modelValue"])
|
|
27173
27176
|
]),
|
|
27174
27177
|
_: 1
|
|
27175
27178
|
})) : ae("", !0),
|
|
27176
27179
|
b(i).data.pagination ? (U(), oe(N, { key: 1 }, {
|
|
27177
|
-
label:
|
|
27180
|
+
label: x(() => [
|
|
27178
27181
|
Lw
|
|
27179
27182
|
]),
|
|
27180
|
-
default:
|
|
27183
|
+
default: x(() => [
|
|
27181
27184
|
M("div", Uw, [
|
|
27182
|
-
(U(!0), K(re, null, Fe(o.value, (
|
|
27185
|
+
(U(!0), K(re, null, Fe(o.value, (v, q) => (U(), oe(E, {
|
|
27183
27186
|
closable: "",
|
|
27184
|
-
key:
|
|
27187
|
+
key: v,
|
|
27185
27188
|
"disable-transitions": !1,
|
|
27186
|
-
onClose: (
|
|
27189
|
+
onClose: (Y) => $(q)
|
|
27187
27190
|
}, {
|
|
27188
|
-
default:
|
|
27189
|
-
B(Me(
|
|
27191
|
+
default: x(() => [
|
|
27192
|
+
B(Me(v), 1)
|
|
27190
27193
|
]),
|
|
27191
27194
|
_: 2
|
|
27192
27195
|
}, 1032, ["onClose"]))), 128)),
|
|
@@ -27195,7 +27198,7 @@ const _w = function(n, e) {
|
|
|
27195
27198
|
ref_key: "InputRef",
|
|
27196
27199
|
ref: y,
|
|
27197
27200
|
modelValue: R.value,
|
|
27198
|
-
"onUpdate:modelValue": P[4] || (P[4] = (
|
|
27201
|
+
"onUpdate:modelValue": P[4] || (P[4] = (v) => R.value = v),
|
|
27199
27202
|
modelModifiers: { number: !0 },
|
|
27200
27203
|
class: "data-pagesizes-input",
|
|
27201
27204
|
size: "small",
|
|
@@ -27205,7 +27208,7 @@ const _w = function(n, e) {
|
|
|
27205
27208
|
size: "small",
|
|
27206
27209
|
onClick: X
|
|
27207
27210
|
}, {
|
|
27208
|
-
default:
|
|
27211
|
+
default: x(() => [
|
|
27209
27212
|
B(" 添加分页数 ")
|
|
27210
27213
|
]),
|
|
27211
27214
|
_: 1
|
|
@@ -27215,19 +27218,19 @@ const _w = function(n, e) {
|
|
|
27215
27218
|
_: 1
|
|
27216
27219
|
})) : ae("", !0),
|
|
27217
27220
|
Q(N, null, {
|
|
27218
|
-
label:
|
|
27221
|
+
label: x(() => [
|
|
27219
27222
|
zw
|
|
27220
27223
|
]),
|
|
27221
|
-
default:
|
|
27224
|
+
default: x(() => [
|
|
27222
27225
|
Q(Ni, {
|
|
27223
27226
|
height: 300,
|
|
27224
27227
|
modelValue: b(i).data.processData,
|
|
27225
|
-
"onUpdate:modelValue": P[5] || (P[5] = (
|
|
27228
|
+
"onUpdate:modelValue": P[5] || (P[5] = (v) => b(i).data.processData = v)
|
|
27226
27229
|
}, {
|
|
27227
|
-
"pre-code":
|
|
27230
|
+
"pre-code": x(() => [
|
|
27228
27231
|
B("function (allData,key,data){")
|
|
27229
27232
|
]),
|
|
27230
|
-
"next-code":
|
|
27233
|
+
"next-code": x(() => [
|
|
27231
27234
|
B("}")
|
|
27232
27235
|
]),
|
|
27233
27236
|
_: 1
|
|
@@ -27244,24 +27247,24 @@ const _w = function(n, e) {
|
|
|
27244
27247
|
key: 1,
|
|
27245
27248
|
span: 16
|
|
27246
27249
|
}, {
|
|
27247
|
-
default:
|
|
27250
|
+
default: x(() => [
|
|
27248
27251
|
Q(se, { "label-position": "top" }, {
|
|
27249
|
-
default:
|
|
27252
|
+
default: x(() => [
|
|
27250
27253
|
b(s) ? (U(), K(re, { key: 0 }, [
|
|
27251
27254
|
Q(N, null, {
|
|
27252
|
-
label:
|
|
27255
|
+
label: x(() => [
|
|
27253
27256
|
Ww
|
|
27254
27257
|
]),
|
|
27255
|
-
default:
|
|
27258
|
+
default: x(() => [
|
|
27256
27259
|
Q(Ni, {
|
|
27257
27260
|
height: 100,
|
|
27258
27261
|
modelValue: b(i).xAisData,
|
|
27259
|
-
"onUpdate:modelValue": P[6] || (P[6] = (
|
|
27262
|
+
"onUpdate:modelValue": P[6] || (P[6] = (v) => b(i).xAisData = v)
|
|
27260
27263
|
}, {
|
|
27261
|
-
"pre-code":
|
|
27264
|
+
"pre-code": x(() => [
|
|
27262
27265
|
B("function (allData){")
|
|
27263
27266
|
]),
|
|
27264
|
-
"next-code":
|
|
27267
|
+
"next-code": x(() => [
|
|
27265
27268
|
B("}")
|
|
27266
27269
|
]),
|
|
27267
27270
|
_: 1
|
|
@@ -27270,19 +27273,19 @@ const _w = function(n, e) {
|
|
|
27270
27273
|
_: 1
|
|
27271
27274
|
}),
|
|
27272
27275
|
Q(N, null, {
|
|
27273
|
-
label:
|
|
27276
|
+
label: x(() => [
|
|
27274
27277
|
Bw
|
|
27275
27278
|
]),
|
|
27276
|
-
default:
|
|
27279
|
+
default: x(() => [
|
|
27277
27280
|
Q(Ni, {
|
|
27278
27281
|
height: 100,
|
|
27279
27282
|
modelValue: b(i).yAisData,
|
|
27280
|
-
"onUpdate:modelValue": P[7] || (P[7] = (
|
|
27283
|
+
"onUpdate:modelValue": P[7] || (P[7] = (v) => b(i).yAisData = v)
|
|
27281
27284
|
}, {
|
|
27282
|
-
"pre-code":
|
|
27285
|
+
"pre-code": x(() => [
|
|
27283
27286
|
B("function (allData){")
|
|
27284
27287
|
]),
|
|
27285
|
-
"next-code":
|
|
27288
|
+
"next-code": x(() => [
|
|
27286
27289
|
B("}")
|
|
27287
27290
|
]),
|
|
27288
27291
|
_: 1
|
|
@@ -27292,19 +27295,19 @@ const _w = function(n, e) {
|
|
|
27292
27295
|
})
|
|
27293
27296
|
], 64)) : ae("", !0),
|
|
27294
27297
|
Q(N, null, {
|
|
27295
|
-
label:
|
|
27298
|
+
label: x(() => [
|
|
27296
27299
|
Nw
|
|
27297
27300
|
]),
|
|
27298
|
-
default:
|
|
27301
|
+
default: x(() => [
|
|
27299
27302
|
Q(Ni, {
|
|
27300
27303
|
height: 100,
|
|
27301
27304
|
modelValue: b(i).seriesData,
|
|
27302
|
-
"onUpdate:modelValue": P[8] || (P[8] = (
|
|
27305
|
+
"onUpdate:modelValue": P[8] || (P[8] = (v) => b(i).seriesData = v)
|
|
27303
27306
|
}, {
|
|
27304
|
-
"pre-code":
|
|
27307
|
+
"pre-code": x(() => [
|
|
27305
27308
|
B("function (allData){")
|
|
27306
27309
|
]),
|
|
27307
|
-
"next-code":
|
|
27310
|
+
"next-code": x(() => [
|
|
27308
27311
|
B("}")
|
|
27309
27312
|
]),
|
|
27310
27313
|
_: 1
|
|
@@ -27430,47 +27433,47 @@ const Fw = { class: "statement-design-top" }, Hw = { class: "statement-name" },
|
|
|
27430
27433
|
case "params":
|
|
27431
27434
|
if (s.value && (L === R && se || I === R)) {
|
|
27432
27435
|
if (L === "column" && se) {
|
|
27433
|
-
const { dataSource: z, columnIndex:
|
|
27434
|
-
let
|
|
27436
|
+
const { dataSource: z, columnIndex: A } = JSON.parse(se);
|
|
27437
|
+
let v = z.columns[A], q = s.value.params.findIndex((W) => W.columnName === v.columnName), Y = {
|
|
27435
27438
|
key: z.key,
|
|
27436
|
-
columnName:
|
|
27437
|
-
name:
|
|
27439
|
+
columnName: v.columnName,
|
|
27440
|
+
name: v.name,
|
|
27438
27441
|
defaultValue: "",
|
|
27439
|
-
dataType:
|
|
27440
|
-
selectorId:
|
|
27442
|
+
dataType: v.dataType,
|
|
27443
|
+
selectorId: v.selectorId,
|
|
27441
27444
|
type: "LIKE",
|
|
27442
27445
|
isNull: !1,
|
|
27443
27446
|
isShow: !0
|
|
27444
27447
|
};
|
|
27445
27448
|
if (q === -1)
|
|
27446
|
-
s.value.params.push(
|
|
27449
|
+
s.value.params.push(Y);
|
|
27447
27450
|
else if (!isNaN(N)) {
|
|
27448
27451
|
if (q !== -1) {
|
|
27449
27452
|
let [W] = s.value.params.splice(q, 1);
|
|
27450
|
-
W && (
|
|
27453
|
+
W && (Y = W);
|
|
27451
27454
|
}
|
|
27452
|
-
s.value.params.splice(N, 0,
|
|
27455
|
+
s.value.params.splice(N, 0, Y);
|
|
27453
27456
|
}
|
|
27454
27457
|
} else if (!isNaN(N) && k) {
|
|
27455
27458
|
let z = parseInt(k);
|
|
27456
27459
|
if (N !== -1 && !isNaN(z) && z > -1) {
|
|
27457
|
-
let [
|
|
27458
|
-
|
|
27460
|
+
let [A] = s.value.params.splice(z, 1);
|
|
27461
|
+
A && s.value.params.splice(N, 0, A);
|
|
27459
27462
|
}
|
|
27460
27463
|
}
|
|
27461
27464
|
}
|
|
27462
27465
|
break;
|
|
27463
27466
|
case "column":
|
|
27464
27467
|
if (se) {
|
|
27465
|
-
let { columnIndex: z, dataSource:
|
|
27466
|
-
if (z &&
|
|
27467
|
-
let { key:
|
|
27468
|
-
s.value.config[W][
|
|
27468
|
+
let { columnIndex: z, dataSource: A } = JSON.parse(se);
|
|
27469
|
+
if (z && A && s.value) {
|
|
27470
|
+
let { key: v } = A, { columnName: q } = A.columns[z], { col: Y, row: W } = E.dataset;
|
|
27471
|
+
s.value.config[W][Y].type = ee.FIELD, T.shiftKey ? (s.value.colConfig[Y].data = v, s.value.colConfig[Y].loop = !0, s.value.config[W][Y].data = `col:${q}`) : (s.value.rowConfig[W].data = v, s.value.rowConfig[W].loop = !0, s.value.config[W][Y].data = `row:${q}`), r.value = [
|
|
27469
27472
|
{
|
|
27470
27473
|
type: ee.CELL,
|
|
27471
27474
|
index: parseInt(N),
|
|
27472
27475
|
row: parseInt(W),
|
|
27473
|
-
col: parseInt(
|
|
27476
|
+
col: parseInt(Y)
|
|
27474
27477
|
}
|
|
27475
27478
|
];
|
|
27476
27479
|
}
|
|
@@ -27523,20 +27526,20 @@ const Fw = { class: "statement-design-top" }, Hw = { class: "statement-name" },
|
|
|
27523
27526
|
M("div", Hw, Me((I = b(t)) == null ? void 0 : I.name), 1),
|
|
27524
27527
|
M("div", Kw, [
|
|
27525
27528
|
Q(L, null, {
|
|
27526
|
-
default:
|
|
27529
|
+
default: x(() => [
|
|
27527
27530
|
b(i) ? (U(), oe(b(Bm), {
|
|
27528
27531
|
key: 1,
|
|
27529
27532
|
effect: "dark",
|
|
27530
27533
|
content: "退出预览",
|
|
27531
27534
|
placement: "top-end"
|
|
27532
27535
|
}, {
|
|
27533
|
-
default:
|
|
27536
|
+
default: x(() => [
|
|
27534
27537
|
b(i) ? (U(), oe(b($e), {
|
|
27535
27538
|
key: 0,
|
|
27536
27539
|
text: "",
|
|
27537
27540
|
onClick: E[2] || (E[2] = (N) => i.value = !1)
|
|
27538
27541
|
}, {
|
|
27539
|
-
default:
|
|
27542
|
+
default: x(() => [
|
|
27540
27543
|
B(" 退出预览 ")
|
|
27541
27544
|
]),
|
|
27542
27545
|
_: 1
|
|
@@ -27548,7 +27551,7 @@ const Fw = { class: "statement-design-top" }, Hw = { class: "statement-name" },
|
|
|
27548
27551
|
text: "",
|
|
27549
27552
|
onClick: Z
|
|
27550
27553
|
}, {
|
|
27551
|
-
default:
|
|
27554
|
+
default: x(() => [
|
|
27552
27555
|
Jw,
|
|
27553
27556
|
B(" 数据修复 ")
|
|
27554
27557
|
]),
|
|
@@ -27559,7 +27562,7 @@ const Fw = { class: "statement-design-top" }, Hw = { class: "statement-name" },
|
|
|
27559
27562
|
type: "warning",
|
|
27560
27563
|
onClick: b(u)
|
|
27561
27564
|
}, {
|
|
27562
|
-
default:
|
|
27565
|
+
default: x(() => [
|
|
27563
27566
|
b(a) ? (U(), K(re, { key: 0 }, [
|
|
27564
27567
|
ek,
|
|
27565
27568
|
B(" 退出全屏 ")
|
|
@@ -27575,7 +27578,7 @@ const Fw = { class: "statement-design-top" }, Hw = { class: "statement-name" },
|
|
|
27575
27578
|
type: "primary",
|
|
27576
27579
|
onClick: b(c)
|
|
27577
27580
|
}, {
|
|
27578
|
-
default:
|
|
27581
|
+
default: x(() => [
|
|
27579
27582
|
ik,
|
|
27580
27583
|
B(" 保存 ")
|
|
27581
27584
|
]),
|
|
@@ -27585,7 +27588,7 @@ const Fw = { class: "statement-design-top" }, Hw = { class: "statement-name" },
|
|
|
27585
27588
|
onClick: E[0] || (E[0] = (N) => m.value = !0),
|
|
27586
27589
|
text: ""
|
|
27587
27590
|
}, {
|
|
27588
|
-
default:
|
|
27591
|
+
default: x(() => [
|
|
27589
27592
|
nk,
|
|
27590
27593
|
B(" 帮助 ")
|
|
27591
27594
|
]),
|
|
@@ -27595,7 +27598,7 @@ const Fw = { class: "statement-design-top" }, Hw = { class: "statement-name" },
|
|
|
27595
27598
|
text: "",
|
|
27596
27599
|
onClick: E[1] || (E[1] = (N) => i.value = !0)
|
|
27597
27600
|
}, {
|
|
27598
|
-
default:
|
|
27601
|
+
default: x(() => [
|
|
27599
27602
|
sk,
|
|
27600
27603
|
B(" 预览 ")
|
|
27601
27604
|
]),
|
|
@@ -27656,4 +27659,4 @@ const Fw = { class: "statement-design-top" }, Hw = { class: "statement-name" },
|
|
|
27656
27659
|
export {
|
|
27657
27660
|
xk as default
|
|
27658
27661
|
};
|
|
27659
|
-
//# sourceMappingURL=StatementDesign-
|
|
27662
|
+
//# sourceMappingURL=StatementDesign-a78008d8.mjs.map
|