yh-report 2.0.6 → 2.0.7
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-df9afb8d.mjs} +621 -620
- package/StatementDesign-df9afb8d.mjs.map +1 -0
- package/{StatementDetail-d8dbaa85.mjs → StatementDetail-8c150a0e.mjs} +2 -2
- package/{StatementDetail-d8dbaa85.mjs.map → StatementDetail-8c150a0e.mjs.map} +1 -1
- package/{StatementList-7982c40b.mjs → StatementList-966556cb.mjs} +2 -2
- package/{StatementList-7982c40b.mjs.map → StatementList-966556cb.mjs.map} +1 -1
- package/{index-56784c64.mjs → index-0e50ad4c.mjs} +5 -5
- package/index-0e50ad4c.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-0e50ad4c.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";
|
|
@@ -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: V } = l.value[0];
|
|
117
|
+
return k.value[V + 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, V) => z + V.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, V, v, q = -1) {
|
|
135
135
|
if (Array.isArray(z))
|
|
136
|
-
return z.some((A) => O(A,
|
|
136
|
+
return z.some((A) => O(A, V, v, q));
|
|
137
137
|
if (z === null || typeof z != "object")
|
|
138
138
|
return !1;
|
|
139
|
-
const { type:
|
|
140
|
-
if (te !== t.index || !
|
|
139
|
+
const { type: Y, col: W, row: ne, index: te } = z;
|
|
140
|
+
if (te !== t.index || !Y)
|
|
141
141
|
return !1;
|
|
142
|
-
switch (
|
|
142
|
+
switch (V) {
|
|
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((V) => (V.cols = V.cols.filter((v) => v.rowSpan !== 0 && v.colSpan !== 0), V)));
|
|
172
172
|
as(
|
|
173
173
|
[l, r, f],
|
|
174
174
|
() => {
|
|
@@ -178,9 +178,9 @@ 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 te = 0; te <
|
|
183
|
-
const A = O(
|
|
181
|
+
let z = ((W = f.value.rowConfig) == null ? void 0 : W.length) ?? 5, V = ((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 te = 0; te < V + 1; te++) {
|
|
183
|
+
const A = O(v, ee.COL, te), { bindData: _e, bindDataLoop: de } = R(te - 1), Ce = A || !1;
|
|
184
184
|
let _s = {
|
|
185
185
|
text: m(te),
|
|
186
186
|
styleAttr: "",
|
|
@@ -194,16 +194,16 @@ const Lt = function() {
|
|
|
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
205
|
for (let te = 0; te < z; te++) {
|
|
206
|
-
const A = O(
|
|
206
|
+
const A = O(v, ee.ROW, te), _e = [], de = {
|
|
207
207
|
type: ee.HEAD,
|
|
208
208
|
active: A,
|
|
209
209
|
styleAttr: "",
|
|
@@ -217,8 +217,8 @@ const Lt = function() {
|
|
|
217
217
|
rowSpan: 1
|
|
218
218
|
};
|
|
219
219
|
A && (de.class += " active"), _e.push(de);
|
|
220
|
-
for (let Vi = 0; Vi <
|
|
221
|
-
const _h = O(
|
|
220
|
+
for (let Vi = 0; Vi < V; Vi++) {
|
|
221
|
+
const _h = O(v, ee.CELL, Vi, te);
|
|
222
222
|
let { bindData: Am, bindDataLoop: ck } = R(Vi), Qe = f.value.config && f.value.config[te] ? f.value.config[te][Vi] : null;
|
|
223
223
|
if (Qe) {
|
|
224
224
|
let Qi = "", Qh = "", ao = ee.TEXT;
|
|
@@ -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 V = `${f.value.height}px`;
|
|
277
277
|
return {
|
|
278
278
|
width: z,
|
|
279
|
-
height:
|
|
279
|
+
height: V
|
|
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((V) => {
|
|
285
|
+
const { componentName: v, placeholerPrefix: q, type: Y } = Jm(V.dataType);
|
|
286
286
|
return {
|
|
287
|
-
...
|
|
288
|
-
componentName:
|
|
289
|
-
placeholer: q +
|
|
290
|
-
type:
|
|
287
|
+
...V,
|
|
288
|
+
componentName: v,
|
|
289
|
+
placeholer: q + V.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, V) {
|
|
299
|
+
let v = z.target;
|
|
300
|
+
if (v && v.dataset) {
|
|
301
301
|
z.stopPropagation();
|
|
302
|
-
const { type: q } =
|
|
302
|
+
const { type: q } = v.dataset;
|
|
303
303
|
switch (q) {
|
|
304
304
|
case "params":
|
|
305
|
-
f.value.params && f.value.params.splice(
|
|
305
|
+
f.value.params && f.value.params.splice(V, 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 V, v;
|
|
330
|
+
if ((V = z.target) != null && V.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: V, pageY: v } = z, { tableX: q, tableY: Y, x: W, y: ne } = L;
|
|
338
|
+
V > W ? E.width = V - W - 1 + "px" : (E.left = V - q + "px", E.width = W - V + "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, V;
|
|
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
|
+
(V = f.value.config) != null && V.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, V) => {
|
|
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,8 +380,8 @@ 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",
|
|
@@ -391,7 +391,7 @@ const Lt = function() {
|
|
|
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
|
|
@@ -461,31 +461,31 @@ const Lt = function() {
|
|
|
461
461
|
])
|
|
462
462
|
]),
|
|
463
463
|
M("div", Pg, [
|
|
464
|
-
Q(
|
|
464
|
+
Q(Y, {
|
|
465
465
|
type: "primary",
|
|
466
466
|
disabled: t.index === 0,
|
|
467
|
-
onClick:
|
|
467
|
+
onClick: V[0] || (V[0] = (W) => b(u)(t.index))
|
|
468
468
|
}, {
|
|
469
|
-
default:
|
|
469
|
+
default: x(() => [
|
|
470
470
|
wg
|
|
471
471
|
]),
|
|
472
472
|
_: 1
|
|
473
473
|
}, 8, ["disabled"]),
|
|
474
|
-
Q(
|
|
474
|
+
Q(Y, {
|
|
475
475
|
type: "primary",
|
|
476
476
|
disabled: t.index >= b(a).options.length - 1,
|
|
477
|
-
onClick:
|
|
477
|
+
onClick: V[1] || (V[1] = (W) => b(h)(t.index))
|
|
478
478
|
}, {
|
|
479
|
-
default:
|
|
479
|
+
default: x(() => [
|
|
480
480
|
kg
|
|
481
481
|
]),
|
|
482
482
|
_: 1
|
|
483
483
|
}, 8, ["disabled"]),
|
|
484
|
-
Q(
|
|
484
|
+
Q(Y, {
|
|
485
485
|
type: "primary",
|
|
486
486
|
onClick: T
|
|
487
487
|
}, {
|
|
488
|
-
default:
|
|
488
|
+
default: x(() => [
|
|
489
489
|
Tg
|
|
490
490
|
]),
|
|
491
491
|
_: 1
|
|
@@ -581,7 +581,7 @@ const Lt = function() {
|
|
|
581
581
|
"data-index": t.index,
|
|
582
582
|
style: { cursor: "move" }
|
|
583
583
|
}, {
|
|
584
|
-
default:
|
|
584
|
+
default: x(() => [
|
|
585
585
|
Vg
|
|
586
586
|
]),
|
|
587
587
|
_: 1
|
|
@@ -591,7 +591,7 @@ const Lt = function() {
|
|
|
591
591
|
title: "复原",
|
|
592
592
|
onClick: h
|
|
593
593
|
}, {
|
|
594
|
-
default:
|
|
594
|
+
default: x(() => [
|
|
595
595
|
Yg
|
|
596
596
|
]),
|
|
597
597
|
_: 1
|
|
@@ -602,7 +602,7 @@ const Lt = function() {
|
|
|
602
602
|
title: "悬浮",
|
|
603
603
|
onClick: c
|
|
604
604
|
}, {
|
|
605
|
-
default:
|
|
605
|
+
default: x(() => [
|
|
606
606
|
Eg
|
|
607
607
|
]),
|
|
608
608
|
_: 1
|
|
@@ -612,7 +612,7 @@ const Lt = function() {
|
|
|
612
612
|
disabled: t.index === 0,
|
|
613
613
|
onClick: _[0] || (_[0] = (O) => b(o)(t.index))
|
|
614
614
|
}, {
|
|
615
|
-
default:
|
|
615
|
+
default: x(() => [
|
|
616
616
|
qg
|
|
617
617
|
]),
|
|
618
618
|
_: 1
|
|
@@ -622,7 +622,7 @@ const Lt = function() {
|
|
|
622
622
|
disabled: t.index >= b(r).options.length - 1,
|
|
623
623
|
onClick: _[1] || (_[1] = (O) => b(l)(t.index))
|
|
624
624
|
}, {
|
|
625
|
-
default:
|
|
625
|
+
default: x(() => [
|
|
626
626
|
Mg
|
|
627
627
|
]),
|
|
628
628
|
_: 1
|
|
@@ -632,7 +632,7 @@ const Lt = function() {
|
|
|
632
632
|
title: "移除组件",
|
|
633
633
|
onClick: d
|
|
634
634
|
}, {
|
|
635
|
-
default:
|
|
635
|
+
default: x(() => [
|
|
636
636
|
Dg
|
|
637
637
|
]),
|
|
638
638
|
_: 1
|
|
@@ -734,14 +734,14 @@ const Lt = function() {
|
|
|
734
734
|
const C = k ? parseInt(k) : -1;
|
|
735
735
|
let w = X ? parseInt(X) : -1, P = $ ? parseInt($) : -1, { droparea: g, index: Z, rindex: T, cindex: E } = c;
|
|
736
736
|
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
|
|
737
|
+
let [L, I] = [E, w].sort((V, v) => V - v), [N, se] = [T, P].sort((V, v) => V - v), z = [];
|
|
738
|
+
for (let V = N; V <= se; V++)
|
|
739
|
+
for (let v = L; v <= I; v++)
|
|
740
740
|
z.push({
|
|
741
741
|
type: ee.CELL,
|
|
742
742
|
index: C,
|
|
743
|
-
col:
|
|
744
|
-
row:
|
|
743
|
+
col: v,
|
|
744
|
+
row: V
|
|
745
745
|
});
|
|
746
746
|
r.value = z;
|
|
747
747
|
} else if ([ee.COL, ee.ROW].includes(g) && (E !== void 0 && E > -1 || T !== void 0 && T > -1)) {
|
|
@@ -749,22 +749,22 @@ const Lt = function() {
|
|
|
749
749
|
switch (g) {
|
|
750
750
|
case ee.COL:
|
|
751
751
|
if (I !== void 0 && N !== void 0 && N > -1)
|
|
752
|
-
for (let
|
|
752
|
+
for (let V = I; V <= N; V++)
|
|
753
753
|
L.push({
|
|
754
754
|
type: ee.COL,
|
|
755
755
|
index: C,
|
|
756
|
-
col:
|
|
756
|
+
col: V,
|
|
757
757
|
row: -1
|
|
758
758
|
});
|
|
759
759
|
break;
|
|
760
760
|
case ee.ROW:
|
|
761
761
|
if (se !== void 0 && z !== void 0 && z > -1)
|
|
762
|
-
for (let
|
|
762
|
+
for (let V = se; V <= z; V++)
|
|
763
763
|
L.push({
|
|
764
764
|
type: ee.ROW,
|
|
765
765
|
index: C,
|
|
766
766
|
col: -1,
|
|
767
|
-
row:
|
|
767
|
+
row: V
|
|
768
768
|
});
|
|
769
769
|
break;
|
|
770
770
|
}
|
|
@@ -809,7 +809,7 @@ const Lt = function() {
|
|
|
809
809
|
onChoose: u,
|
|
810
810
|
onDel: h
|
|
811
811
|
}, {
|
|
812
|
-
default:
|
|
812
|
+
default: x(() => [
|
|
813
813
|
Q(eg, { chartData: R }, null, 8, ["chartData"])
|
|
814
814
|
]),
|
|
815
815
|
_: 2
|
|
@@ -838,7 +838,7 @@ const Lt = function() {
|
|
|
838
838
|
onClose: i[0] || (i[0] = (s) => e("update:modelValue", !1)),
|
|
839
839
|
class: "help-dialog"
|
|
840
840
|
}, {
|
|
841
|
-
default:
|
|
841
|
+
default: x(() => [
|
|
842
842
|
Bg
|
|
843
843
|
]),
|
|
844
844
|
_: 1
|
|
@@ -879,9 +879,9 @@ const Ig = { class: "chart-series-wrapper" }, Gg = ["data-drag", "data-index"],
|
|
|
879
879
|
return b(t) ? (U(), K(re, { key: 0 }, [
|
|
880
880
|
Hg,
|
|
881
881
|
Q(r, { span: 12 }, {
|
|
882
|
-
default:
|
|
882
|
+
default: x(() => [
|
|
883
883
|
Q(b(he), { label: "名称" }, {
|
|
884
|
-
default:
|
|
884
|
+
default: x(() => [
|
|
885
885
|
Q(b(Ii), {
|
|
886
886
|
modelValue: b(t).name,
|
|
887
887
|
"onUpdate:modelValue": s[0] || (s[0] = (a) => b(t).name = a),
|
|
@@ -894,9 +894,9 @@ const Ig = { class: "chart-series-wrapper" }, Gg = ["data-drag", "data-index"],
|
|
|
894
894
|
_: 1
|
|
895
895
|
}),
|
|
896
896
|
Q(r, { span: 12 }, {
|
|
897
|
-
default:
|
|
897
|
+
default: x(() => [
|
|
898
898
|
Q(b(he), { label: "参数名" }, {
|
|
899
|
-
default:
|
|
899
|
+
default: x(() => [
|
|
900
900
|
B(Me(b(t).columnName), 1)
|
|
901
901
|
]),
|
|
902
902
|
_: 1
|
|
@@ -905,15 +905,15 @@ const Ig = { class: "chart-series-wrapper" }, Gg = ["data-drag", "data-index"],
|
|
|
905
905
|
_: 1
|
|
906
906
|
}),
|
|
907
907
|
Q(r, { span: 24 }, {
|
|
908
|
-
default:
|
|
908
|
+
default: x(() => [
|
|
909
909
|
Q(b(he), { label: "类型" }, {
|
|
910
|
-
default:
|
|
910
|
+
default: x(() => [
|
|
911
911
|
Q(l, {
|
|
912
912
|
filterable: "",
|
|
913
913
|
modelValue: b(t).type,
|
|
914
914
|
"onUpdate:modelValue": s[1] || (s[1] = (a) => b(t).type = a)
|
|
915
915
|
}, {
|
|
916
|
-
default:
|
|
916
|
+
default: x(() => [
|
|
917
917
|
Q(o, {
|
|
918
918
|
value: "LIKE",
|
|
919
919
|
label: "模糊查询"
|
|
@@ -956,15 +956,15 @@ const Ig = { class: "chart-series-wrapper" }, Gg = ["data-drag", "data-index"],
|
|
|
956
956
|
_: 1
|
|
957
957
|
}),
|
|
958
958
|
Q(r, { span: 24 }, {
|
|
959
|
-
default:
|
|
959
|
+
default: x(() => [
|
|
960
960
|
Q(b(he), { label: "数据类型" }, {
|
|
961
|
-
default:
|
|
961
|
+
default: x(() => [
|
|
962
962
|
Q(l, {
|
|
963
963
|
filterable: "",
|
|
964
964
|
modelValue: b(t).dataType,
|
|
965
965
|
"onUpdate:modelValue": s[2] || (s[2] = (a) => b(t).dataType = a)
|
|
966
966
|
}, {
|
|
967
|
-
default:
|
|
967
|
+
default: x(() => [
|
|
968
968
|
Q(o, {
|
|
969
969
|
value: "STRING",
|
|
970
970
|
label: "字符"
|
|
@@ -1054,15 +1054,15 @@ const Ig = { class: "chart-series-wrapper" }, Gg = ["data-drag", "data-index"],
|
|
|
1054
1054
|
key: 0,
|
|
1055
1055
|
span: 24
|
|
1056
1056
|
}, {
|
|
1057
|
-
default:
|
|
1057
|
+
default: x(() => [
|
|
1058
1058
|
Q(b(he), { label: "日期类型" }, {
|
|
1059
|
-
default:
|
|
1059
|
+
default: x(() => [
|
|
1060
1060
|
Q(l, {
|
|
1061
1061
|
filterable: "",
|
|
1062
|
-
modelValue:
|
|
1063
|
-
"onUpdate:modelValue": s[3] || (s[3] = (a) =>
|
|
1062
|
+
modelValue: b(t).dateType,
|
|
1063
|
+
"onUpdate:modelValue": s[3] || (s[3] = (a) => b(t).dateType = a)
|
|
1064
1064
|
}, {
|
|
1065
|
-
default:
|
|
1065
|
+
default: x(() => [
|
|
1066
1066
|
Q(o, {
|
|
1067
1067
|
value: "year",
|
|
1068
1068
|
label: "年"
|
|
@@ -1093,9 +1093,9 @@ const Ig = { class: "chart-series-wrapper" }, Gg = ["data-drag", "data-index"],
|
|
|
1093
1093
|
_: 1
|
|
1094
1094
|
})) : ae("", !0),
|
|
1095
1095
|
Q(r, { span: 12 }, {
|
|
1096
|
-
default:
|
|
1096
|
+
default: x(() => [
|
|
1097
1097
|
Q(b(he), { label: "不能为空" }, {
|
|
1098
|
-
default:
|
|
1098
|
+
default: x(() => [
|
|
1099
1099
|
Q(b(ii), {
|
|
1100
1100
|
modelValue: b(t).isNull,
|
|
1101
1101
|
"onUpdate:modelValue": s[4] || (s[4] = (a) => b(t).isNull = a)
|
|
@@ -1106,18 +1106,18 @@ const Ig = { class: "chart-series-wrapper" }, Gg = ["data-drag", "data-index"],
|
|
|
1106
1106
|
]),
|
|
1107
1107
|
_: 1
|
|
1108
1108
|
}),
|
|
1109
|
-
|
|
1109
|
+
b(t).isNull && [b(Ei).DATE, b(Ei).DATETIME].includes(b(t).dataType) ? (U(), oe(r, {
|
|
1110
1110
|
key: 1,
|
|
1111
1111
|
span: 12
|
|
1112
1112
|
}, {
|
|
1113
|
-
default:
|
|
1113
|
+
default: x(() => [
|
|
1114
1114
|
Q(b(he), { label: "日期默认值" }, {
|
|
1115
|
-
default:
|
|
1115
|
+
default: x(() => [
|
|
1116
1116
|
Q(l, {
|
|
1117
|
-
modelValue:
|
|
1118
|
-
"onUpdate:modelValue": s[5] || (s[5] = (a) =>
|
|
1117
|
+
modelValue: b(t).defaultValue,
|
|
1118
|
+
"onUpdate:modelValue": s[5] || (s[5] = (a) => b(t).defaultValue = a)
|
|
1119
1119
|
}, {
|
|
1120
|
-
default:
|
|
1120
|
+
default: x(() => [
|
|
1121
1121
|
Q(o, {
|
|
1122
1122
|
value: "today",
|
|
1123
1123
|
label: "今天"
|
|
@@ -1147,9 +1147,9 @@ const Ig = { class: "chart-series-wrapper" }, Gg = ["data-drag", "data-index"],
|
|
|
1147
1147
|
key: 2,
|
|
1148
1148
|
span: 12
|
|
1149
1149
|
}, {
|
|
1150
|
-
default:
|
|
1150
|
+
default: x(() => [
|
|
1151
1151
|
Q(b(he), { label: "默认值" }, {
|
|
1152
|
-
default:
|
|
1152
|
+
default: x(() => [
|
|
1153
1153
|
Q(b(Ii), {
|
|
1154
1154
|
modelValue: b(t).defaultValue,
|
|
1155
1155
|
"onUpdate:modelValue": s[6] || (s[6] = (a) => b(t).defaultValue = a)
|
|
@@ -1161,9 +1161,9 @@ const Ig = { class: "chart-series-wrapper" }, Gg = ["data-drag", "data-index"],
|
|
|
1161
1161
|
_: 1
|
|
1162
1162
|
})) : ae("", !0),
|
|
1163
1163
|
Q(r, { span: 12 }, {
|
|
1164
|
-
default:
|
|
1164
|
+
default: x(() => [
|
|
1165
1165
|
Q(b(he), { label: "是否显示" }, {
|
|
1166
|
-
default:
|
|
1166
|
+
default: x(() => [
|
|
1167
1167
|
Q(b(ii), {
|
|
1168
1168
|
modelValue: b(t).isShow,
|
|
1169
1169
|
"onUpdate:modelValue": s[7] || (s[7] = (a) => b(t).isShow = a)
|
|
@@ -1175,9 +1175,9 @@ const Ig = { class: "chart-series-wrapper" }, Gg = ["data-drag", "data-index"],
|
|
|
1175
1175
|
_: 1
|
|
1176
1176
|
}),
|
|
1177
1177
|
Q(r, { span: 24 }, {
|
|
1178
|
-
default:
|
|
1178
|
+
default: x(() => [
|
|
1179
1179
|
Q(b(he), { label: "默认值" }, {
|
|
1180
|
-
default:
|
|
1180
|
+
default: x(() => [
|
|
1181
1181
|
Q(b(Ii), {
|
|
1182
1182
|
modelValue: b(t).defaultValue,
|
|
1183
1183
|
"onUpdate:modelValue": s[8] || (s[8] = (a) => b(t).defaultValue = a)
|
|
@@ -9731,8 +9731,8 @@ function J0(n, e, t) {
|
|
|
9731
9731
|
function R(X, $, C) {
|
|
9732
9732
|
let w = 1e9, P = -1e9, g = [];
|
|
9733
9733
|
function Z(L, I, N, se, z) {
|
|
9734
|
-
let
|
|
9735
|
-
!
|
|
9734
|
+
let V = n.coordsAtPos(L, L == C.to ? -2 : 2), v = n.coordsAtPos(N, N == C.from ? 2 : -2);
|
|
9735
|
+
!V || !v || (w = Math.min(V.top, v.top, w), P = Math.max(V.bottom, v.bottom, P), z == Te.LTR ? g.push(r && I ? c : V.left, r && se ? f : v.right) : g.push(!r && se ? c : v.left, !r && I ? f : V.right));
|
|
9736
9736
|
}
|
|
9737
9737
|
let T = X ?? C.from, E = $ ?? C.to;
|
|
9738
9738
|
for (let L of n.visibleRanges)
|
|
@@ -9740,10 +9740,10 @@ function J0(n, e, t) {
|
|
|
9740
9740
|
for (let I = Math.max(L.from, T), N = Math.min(L.to, E); ; ) {
|
|
9741
9741
|
let se = n.state.doc.lineAt(I);
|
|
9742
9742
|
for (let z of n.bidiSpans(se)) {
|
|
9743
|
-
let
|
|
9744
|
-
if (
|
|
9743
|
+
let V = z.from + se.from, v = z.to + se.from;
|
|
9744
|
+
if (V >= N)
|
|
9745
9745
|
break;
|
|
9746
|
-
|
|
9746
|
+
v > I && Z(Math.max(V, I), X == null && V <= T, Math.min(v, N), $ == null && v >= E, z.dir);
|
|
9747
9747
|
}
|
|
9748
9748
|
if (I = se.to + 1, I >= N)
|
|
9749
9749
|
break;
|
|
@@ -12231,25 +12231,25 @@ function i1(n) {
|
|
|
12231
12231
|
return;
|
|
12232
12232
|
} else
|
|
12233
12233
|
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 -
|
|
12234
|
+
let se = a[Z], z, V, v = T - X;
|
|
12235
|
+
if (E - T <= s && (V = m(l.pos - $, P))) {
|
|
12236
|
+
let q = new Uint16Array(V.size - V.skip), Y = l.pos - V.size, W = q.length;
|
|
12237
|
+
for (; l.pos > Y; )
|
|
12238
|
+
W = O(V.start, q, W);
|
|
12239
|
+
z = new Oi(q, E - V.start, i), v = V.start - X;
|
|
12240
12240
|
} else {
|
|
12241
12241
|
let q = l.pos - L;
|
|
12242
12242
|
l.next();
|
|
12243
|
-
let
|
|
12243
|
+
let Y = [], W = [], ne = Z >= o ? Z : -1, te = 0, A = E;
|
|
12244
12244
|
for (; l.pos > q; )
|
|
12245
|
-
ne >= 0 && l.id == ne && l.size >= 0 ? (l.end <= A - s && (p(
|
|
12246
|
-
if (ne >= 0 && te > 0 && te <
|
|
12245
|
+
ne >= 0 && l.id == ne && l.size >= 0 ? (l.end <= A - s && (p(Y, W, T, te, l.end, A, ne, I, N), te = Y.length, A = l.end), l.next()) : g > 2500 ? f(T, q, Y, W) : c(T, q, Y, W, ne, g + 1);
|
|
12246
|
+
if (ne >= 0 && te > 0 && te < Y.length && p(Y, W, T, te, T, A, ne, I, N), Y.reverse(), W.reverse(), ne > -1 && te > 0) {
|
|
12247
12247
|
let _e = d(se, N);
|
|
12248
|
-
z = qa(se,
|
|
12248
|
+
z = qa(se, Y, W, 0, Y.length, 0, E - T, _e, _e);
|
|
12249
12249
|
} else
|
|
12250
|
-
z = _(se,
|
|
12250
|
+
z = _(se, Y, W, E - T, I - E, N);
|
|
12251
12251
|
}
|
|
12252
|
-
C.push(z), w.push(
|
|
12252
|
+
C.push(z), w.push(v);
|
|
12253
12253
|
}
|
|
12254
12254
|
function f(X, $, C, w) {
|
|
12255
12255
|
let P = [], g = 0, Z = -1;
|
|
@@ -23750,23 +23750,23 @@ function XP() {
|
|
|
23750
23750
|
}
|
|
23751
23751
|
var L = !0, I = !0, N = !1;
|
|
23752
23752
|
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,
|
|
23753
|
+
var se = g.text === ":", z = se && N, V = se && !N;
|
|
23754
23754
|
switch (this._options.operator_position) {
|
|
23755
23755
|
case _.before_newline:
|
|
23756
|
-
this._output.space_before_token = !
|
|
23756
|
+
this._output.space_before_token = !V, this.print_token(g), (!se || z) && this.allow_wrap_or_preserved_newline(g), this._output.space_before_token = !0;
|
|
23757
23757
|
return;
|
|
23758
23758
|
case _.after_newline:
|
|
23759
23759
|
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
23760
|
return;
|
|
23761
23761
|
case _.preserve_newline:
|
|
23762
|
-
|
|
23762
|
+
V || this.allow_wrap_or_preserved_newline(g), L = !(this._output.just_added_newline() || V), this._output.space_before_token = L, this.print_token(g), this._output.space_before_token = !0;
|
|
23763
23763
|
return;
|
|
23764
23764
|
}
|
|
23765
23765
|
}
|
|
23766
23766
|
if (Z) {
|
|
23767
23767
|
this.allow_wrap_or_preserved_newline(g), L = !1;
|
|
23768
|
-
var
|
|
23769
|
-
I =
|
|
23768
|
+
var v = this._tokens.peek();
|
|
23769
|
+
I = v && a(v.type, [l.WORD, l.RESERVED]);
|
|
23770
23770
|
} else if (g.text === "...")
|
|
23771
23771
|
this.allow_wrap_or_preserved_newline(g), L = this._flags.last_token.type === l.START_BLOCK, I = !1;
|
|
23772
23772
|
else if (a(g.text, ["--", "++", "!", "~"]) || T) {
|
|
@@ -24732,28 +24732,28 @@ const zP = /* @__PURE__ */ M("div", { class: "statement-option-title" }, [
|
|
|
24732
24732
|
let O = ue(null);
|
|
24733
24733
|
function y() {
|
|
24734
24734
|
if (s.value && t.value && s.value.length) {
|
|
24735
|
-
let
|
|
24735
|
+
let V = /* @__PURE__ */ new Set(), v = /* @__PURE__ */ new Set();
|
|
24736
24736
|
s.value.forEach((_e) => {
|
|
24737
|
-
|
|
24738
|
-
}), Array.from(
|
|
24737
|
+
V.add(_e.col), v.add(_e.row);
|
|
24738
|
+
}), Array.from(V).forEach((_e) => {
|
|
24739
24739
|
var Ce;
|
|
24740
24740
|
let de = (Ce = t.value) == null ? void 0 : Ce.colConfig[_e];
|
|
24741
24741
|
de && de.isFixed;
|
|
24742
|
-
}), Array.from(
|
|
24742
|
+
}), Array.from(v).forEach((_e) => {
|
|
24743
24743
|
var Ce;
|
|
24744
24744
|
let de = (Ce = t.value) == null ? void 0 : Ce.colConfig[_e];
|
|
24745
24745
|
de && de.isFixed;
|
|
24746
24746
|
});
|
|
24747
|
-
const q = Math.min(...
|
|
24748
|
-
for (let _e =
|
|
24747
|
+
const q = Math.min(...V), Y = Math.min(...v), W = Math.max(...V), ne = Math.max(...v), te = W - q + 1, A = ne - Y + 1;
|
|
24748
|
+
for (let _e = Y; _e <= ne; _e++)
|
|
24749
24749
|
for (let de = q; de <= W; de++) {
|
|
24750
24750
|
const Ce = t.value.config[_e][de];
|
|
24751
|
-
_e ===
|
|
24751
|
+
_e === Y && de === q ? (Ce.colSpan = te, Ce.rowSpan = A) : (Ce.colSpan = 0, Ce.rowSpan = 0, Ce.mergeTarget = [Y, q]);
|
|
24752
24752
|
}
|
|
24753
24753
|
s.value = [
|
|
24754
24754
|
{
|
|
24755
24755
|
type: ee.CELL,
|
|
24756
|
-
row:
|
|
24756
|
+
row: Y,
|
|
24757
24757
|
col: q,
|
|
24758
24758
|
index: i.value
|
|
24759
24759
|
}
|
|
@@ -24762,19 +24762,19 @@ const zP = /* @__PURE__ */ M("div", { class: "statement-option-title" }, [
|
|
|
24762
24762
|
}
|
|
24763
24763
|
function R() {
|
|
24764
24764
|
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:
|
|
24765
|
+
const V = [];
|
|
24766
|
+
s.value.forEach((v) => {
|
|
24767
|
+
const q = t.value.config[v.row][v.col];
|
|
24768
|
+
(q.colSpan > 1 || q.rowSpan > 1) && V.push({
|
|
24769
|
+
row: v.row,
|
|
24770
|
+
col: v.col,
|
|
24771
24771
|
rowSpan: q.rowSpan,
|
|
24772
24772
|
colSpan: q.colSpan
|
|
24773
24773
|
});
|
|
24774
|
-
}),
|
|
24775
|
-
const { row: q, col:
|
|
24774
|
+
}), V.forEach((v) => {
|
|
24775
|
+
const { row: q, col: Y, rowSpan: W, colSpan: ne } = v, te = q + W - 1, A = Y + ne - 1;
|
|
24776
24776
|
for (let _e = q; _e <= te; _e++)
|
|
24777
|
-
for (let de =
|
|
24777
|
+
for (let de = Y; de <= A; de++) {
|
|
24778
24778
|
const Ce = t.value.config[_e][de];
|
|
24779
24779
|
Ce.colSpan = 1, Ce.rowSpan = 1, Ce.mergeTarget = void 0;
|
|
24780
24780
|
}
|
|
@@ -24796,15 +24796,15 @@ const zP = /* @__PURE__ */ M("div", { class: "statement-option-title" }, [
|
|
|
24796
24796
|
};
|
|
24797
24797
|
}
|
|
24798
24798
|
function $() {
|
|
24799
|
-
s.value && t.value && s.value.length && (s.value.forEach((
|
|
24800
|
-
let
|
|
24801
|
-
|
|
24799
|
+
s.value && t.value && s.value.length && (s.value.forEach((V) => {
|
|
24800
|
+
let v = t.value.config[V.row][V.col];
|
|
24801
|
+
v.format = O.value.format, v.formatType = { ...O.value.formatType }, v.style = { ...O.value.style };
|
|
24802
24802
|
}), O = null);
|
|
24803
24803
|
}
|
|
24804
24804
|
function C() {
|
|
24805
|
-
s.value && t.value && s.value.length && s.value.forEach((
|
|
24806
|
-
let
|
|
24807
|
-
|
|
24805
|
+
s.value && t.value && s.value.length && s.value.forEach((V) => {
|
|
24806
|
+
let v = t.value.config[V.row][V.col];
|
|
24807
|
+
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
24808
|
backgroundColor: "",
|
|
24809
24809
|
color: "",
|
|
24810
24810
|
textAlign: "center",
|
|
@@ -24817,33 +24817,33 @@ const zP = /* @__PURE__ */ M("div", { class: "statement-option-title" }, [
|
|
|
24817
24817
|
}
|
|
24818
24818
|
as(
|
|
24819
24819
|
() => 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
|
-
|
|
24820
|
+
(V, v) => {
|
|
24821
|
+
if (V && V.length && t.value)
|
|
24822
|
+
if (r.value = V.length === 1, r.value) {
|
|
24823
|
+
let q = V[0];
|
|
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(([Y, W]) => {
|
|
24825
|
+
_[Y] = W;
|
|
24826
|
+
}), o.value && Object.entries(o.value).forEach(([Y, W]) => {
|
|
24827
|
+
Y === "formatType" ? (_.formatType || (_.formatType = {}), Object.entries(W).forEach(([ne, te]) => {
|
|
24828
24828
|
_.formatType[ne] = te;
|
|
24829
|
-
})) :
|
|
24829
|
+
})) : Y === "style" ? Object.entries(W).forEach(([ne, te]) => {
|
|
24830
24830
|
_[ne] = te;
|
|
24831
|
-
}) : _[
|
|
24831
|
+
}) : _[Y] = W;
|
|
24832
24832
|
});
|
|
24833
24833
|
} else {
|
|
24834
24834
|
o.value = null;
|
|
24835
|
-
const q = /* @__PURE__ */ new Set(),
|
|
24836
|
-
l.value = !0,
|
|
24837
|
-
q.add(ne.col),
|
|
24835
|
+
const q = /* @__PURE__ */ new Set(), Y = /* @__PURE__ */ new Set(), W = /* @__PURE__ */ new Map();
|
|
24836
|
+
l.value = !0, V.forEach((ne) => {
|
|
24837
|
+
q.add(ne.col), Y.add(ne.row);
|
|
24838
24838
|
const te = t.value.config[ne.row][ne.col];
|
|
24839
24839
|
te.type && ![ee.TEXT, ee.FIELD].includes(te.type) && (l.value = !1), Object.entries(te).forEach(([A, _e]) => {
|
|
24840
24840
|
W.get(A) || W.set(A, /* @__PURE__ */ new Set()), W.get(A).add(_e);
|
|
24841
24841
|
});
|
|
24842
24842
|
}), l.value && Object.entries(p).forEach(([ne, te]) => {
|
|
24843
24843
|
_[ne] = te;
|
|
24844
|
-
}), a.value = [...q], u.value = [...
|
|
24844
|
+
}), 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
24845
|
}
|
|
24846
|
-
|
|
24846
|
+
V && V.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
24847
|
},
|
|
24848
24848
|
{
|
|
24849
24849
|
immediate: !0,
|
|
@@ -24851,68 +24851,68 @@ const zP = /* @__PURE__ */ M("div", { class: "statement-option-title" }, [
|
|
|
24851
24851
|
}
|
|
24852
24852
|
);
|
|
24853
24853
|
const w = ue("");
|
|
24854
|
-
function P(
|
|
24855
|
-
|
|
24856
|
-
if (ni(t.value.config[
|
|
24857
|
-
const { isError: W, result: ne } = ig(
|
|
24854
|
+
function P(V, v, q) {
|
|
24855
|
+
v === "cell" && s.value.forEach((Y) => {
|
|
24856
|
+
if (ni(t.value.config[Y.row][Y.col], q, V), q === "data" && !V && o.value && (o.value.isGroup = !1, o.value.isRowColCombine = !1), q === "fun") {
|
|
24857
|
+
const { isError: W, result: ne } = ig(V, !1);
|
|
24858
24858
|
W ? w.value = ne : w.value = "";
|
|
24859
24859
|
}
|
|
24860
24860
|
if (q === "type" && t.value)
|
|
24861
|
-
switch (
|
|
24861
|
+
switch (V) {
|
|
24862
24862
|
case ee.TEXT:
|
|
24863
|
-
ni(t.value.config[
|
|
24863
|
+
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
24864
|
}
|
|
24865
|
-
}),
|
|
24866
|
-
ni(t.value.rowConfig[
|
|
24867
|
-
}),
|
|
24868
|
-
ni(t.value.colConfig[
|
|
24865
|
+
}), v === "row" && u.value.forEach((Y) => {
|
|
24866
|
+
ni(t.value.rowConfig[Y], q, V), q === "data" && c.value && !V && (c.value.loop = !1, c.value.dataIndex = 0);
|
|
24867
|
+
}), v === "col" && a.value.forEach((Y) => {
|
|
24868
|
+
ni(t.value.colConfig[Y], q, V);
|
|
24869
24869
|
});
|
|
24870
24870
|
}
|
|
24871
24871
|
const g = be(() => t.value ? t.value.data.source : []), Z = be(() => {
|
|
24872
|
-
let
|
|
24872
|
+
let V = [];
|
|
24873
24873
|
if (r.value) {
|
|
24874
24874
|
if (h.value) {
|
|
24875
|
-
let
|
|
24876
|
-
var
|
|
24877
|
-
return q.key === ((
|
|
24875
|
+
let v = g.value.find((q) => {
|
|
24876
|
+
var Y;
|
|
24877
|
+
return q.key === ((Y = c.value) == null ? void 0 : Y.data);
|
|
24878
24878
|
});
|
|
24879
|
-
if (
|
|
24880
|
-
const q =
|
|
24881
|
-
|
|
24879
|
+
if (v = Ol(v), v && v.columns) {
|
|
24880
|
+
const q = v.columns.map((Y) => (Y.name = `行:${v.name}/${Y.name}`, Y.columnName = `row:${Y.columnName}`, Y));
|
|
24881
|
+
V = V.concat(q);
|
|
24882
24882
|
}
|
|
24883
24883
|
}
|
|
24884
24884
|
if (f.value) {
|
|
24885
|
-
let
|
|
24886
|
-
var
|
|
24887
|
-
return q.key === ((
|
|
24885
|
+
let v = g.value.find((q) => {
|
|
24886
|
+
var Y;
|
|
24887
|
+
return q.key === ((Y = d.value) == null ? void 0 : Y.data);
|
|
24888
24888
|
});
|
|
24889
|
-
if (
|
|
24890
|
-
const q =
|
|
24891
|
-
|
|
24889
|
+
if (v = Ol(v), v && v.columns) {
|
|
24890
|
+
const q = v.columns.map((Y) => (Y.name = `列:${v.name}/${Y.name}`, Y.columnName = `col:${Y.columnName}`, Y));
|
|
24891
|
+
V = V.concat(q);
|
|
24892
24892
|
}
|
|
24893
24893
|
}
|
|
24894
24894
|
}
|
|
24895
|
-
return
|
|
24895
|
+
return V;
|
|
24896
24896
|
});
|
|
24897
24897
|
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 =
|
|
24898
|
+
t.value && (t.value.colConfig.forEach((V, v) => {
|
|
24899
|
+
V.index = v;
|
|
24900
|
+
}), t.value.rowConfig.forEach((V, v) => {
|
|
24901
|
+
V.index = v;
|
|
24902
|
+
}), t.value.config.forEach((V, v) => {
|
|
24903
|
+
V.forEach((q, Y) => {
|
|
24904
|
+
q.row = v, q.col = Y, q.colSpan = 1, q.rowSpan = 1;
|
|
24905
24905
|
});
|
|
24906
24906
|
}));
|
|
24907
24907
|
}
|
|
24908
24908
|
function E() {
|
|
24909
|
-
var
|
|
24909
|
+
var V, v;
|
|
24910
24910
|
if (a.value.length > 0) {
|
|
24911
24911
|
let q = Math.min(...a.value);
|
|
24912
|
-
q >= 0 && ((
|
|
24912
|
+
q >= 0 && ((V = t.value) == null || V.colConfig.splice(q, 0, {
|
|
24913
24913
|
size: 80
|
|
24914
|
-
}), (
|
|
24915
|
-
|
|
24914
|
+
}), (v = t.value) == null || v.config.forEach((Y) => {
|
|
24915
|
+
Y.splice(q, 0, {
|
|
24916
24916
|
type: ee.TEXT,
|
|
24917
24917
|
colSpan: 1,
|
|
24918
24918
|
rowSpan: 1
|
|
@@ -24921,21 +24921,21 @@ const zP = /* @__PURE__ */ M("div", { class: "statement-option-title" }, [
|
|
|
24921
24921
|
}
|
|
24922
24922
|
}
|
|
24923
24923
|
function L() {
|
|
24924
|
-
a.value.length > 0 && (a.value.forEach((
|
|
24925
|
-
var
|
|
24926
|
-
(
|
|
24927
|
-
|
|
24924
|
+
a.value.length > 0 && (a.value.forEach((V) => {
|
|
24925
|
+
var v, q;
|
|
24926
|
+
(v = t.value) == null || v.colConfig.splice(V, 1), (q = t.value) == null || q.config.forEach((Y) => {
|
|
24927
|
+
Y.splice(V, 1);
|
|
24928
24928
|
});
|
|
24929
24929
|
}), s.value = []), T();
|
|
24930
24930
|
}
|
|
24931
24931
|
function I() {
|
|
24932
|
-
var
|
|
24932
|
+
var V, v;
|
|
24933
24933
|
if (a.value.length > 0) {
|
|
24934
24934
|
let q = Math.max(...a.value) + 1;
|
|
24935
|
-
q > 0 && ((
|
|
24935
|
+
q > 0 && ((V = t.value) == null || V.colConfig.splice(q, 0, {
|
|
24936
24936
|
size: 80
|
|
24937
|
-
}), (
|
|
24938
|
-
|
|
24937
|
+
}), (v = t.value) == null || v.config.forEach((Y) => {
|
|
24938
|
+
Y.splice(q, 0, {
|
|
24939
24939
|
type: ee.TEXT,
|
|
24940
24940
|
colSpan: 1,
|
|
24941
24941
|
rowSpan: 1
|
|
@@ -24944,12 +24944,12 @@ const zP = /* @__PURE__ */ M("div", { class: "statement-option-title" }, [
|
|
|
24944
24944
|
}
|
|
24945
24945
|
}
|
|
24946
24946
|
function N() {
|
|
24947
|
-
var
|
|
24947
|
+
var V, v;
|
|
24948
24948
|
if (u.value.length > 0) {
|
|
24949
24949
|
let q = Math.min(...u.value);
|
|
24950
|
-
q >= 0 && ((
|
|
24950
|
+
q >= 0 && ((V = t.value) == null || V.rowConfig.splice(q, 0, {
|
|
24951
24951
|
size: 40
|
|
24952
|
-
}), (
|
|
24952
|
+
}), (v = t.value) == null || v.config.splice(
|
|
24953
24953
|
q,
|
|
24954
24954
|
0,
|
|
24955
24955
|
t.value.colConfig.map(() => ({
|
|
@@ -24961,18 +24961,18 @@ const zP = /* @__PURE__ */ M("div", { class: "statement-option-title" }, [
|
|
|
24961
24961
|
}
|
|
24962
24962
|
}
|
|
24963
24963
|
function se() {
|
|
24964
|
-
u.value.length > 0 && (u.value.forEach((
|
|
24965
|
-
var
|
|
24966
|
-
(
|
|
24964
|
+
u.value.length > 0 && (u.value.forEach((V) => {
|
|
24965
|
+
var v, q;
|
|
24966
|
+
(v = t.value) == null || v.rowConfig.splice(V, 1), (q = t.value) == null || q.config.splice(V, 1);
|
|
24967
24967
|
}), s.value = [], T());
|
|
24968
24968
|
}
|
|
24969
24969
|
function z() {
|
|
24970
|
-
var
|
|
24970
|
+
var V, v;
|
|
24971
24971
|
if (u.value.length > 0) {
|
|
24972
24972
|
let q = Math.max(...u.value) + 1;
|
|
24973
|
-
q >= 0 && ((
|
|
24973
|
+
q >= 0 && ((V = t.value) == null || V.rowConfig.splice(q, 0, {
|
|
24974
24974
|
size: 40
|
|
24975
|
-
}), (
|
|
24975
|
+
}), (v = t.value) == null || v.config.splice(
|
|
24976
24976
|
q,
|
|
24977
24977
|
0,
|
|
24978
24978
|
t.value.colConfig.map(() => ({
|
|
@@ -24983,18 +24983,18 @@ const zP = /* @__PURE__ */ M("div", { class: "statement-option-title" }, [
|
|
|
24983
24983
|
), T());
|
|
24984
24984
|
}
|
|
24985
24985
|
}
|
|
24986
|
-
return (
|
|
24987
|
-
const q = fe("el-button-group"),
|
|
24986
|
+
return (V, v) => {
|
|
24987
|
+
const q = fe("el-button-group"), Y = fe("el-col"), W = fe("el-option"), ne = fe("el-select"), te = fe("el-input-number");
|
|
24988
24988
|
return U(), K(re, null, [
|
|
24989
24989
|
b(s) && b(s).length ? (U(), K(re, { key: 0 }, [
|
|
24990
24990
|
zP,
|
|
24991
24991
|
Q(q, { size: "small" }, {
|
|
24992
|
-
default:
|
|
24992
|
+
default: x(() => [
|
|
24993
24993
|
Q(b($e), {
|
|
24994
24994
|
disabled: b(s).length <= 1,
|
|
24995
24995
|
onClick: y
|
|
24996
24996
|
}, {
|
|
24997
|
-
default:
|
|
24997
|
+
default: x(() => [
|
|
24998
24998
|
B(" 合并 ")
|
|
24999
24999
|
]),
|
|
25000
25000
|
_: 1
|
|
@@ -25003,7 +25003,7 @@ const zP = /* @__PURE__ */ M("div", { class: "statement-option-title" }, [
|
|
|
25003
25003
|
disabled: !o.value || o.value.colSpan === 1 && o.value.rowSpan === 1,
|
|
25004
25004
|
onClick: R
|
|
25005
25005
|
}, {
|
|
25006
|
-
default:
|
|
25006
|
+
default: x(() => [
|
|
25007
25007
|
B(" 拆分 ")
|
|
25008
25008
|
]),
|
|
25009
25009
|
_: 1
|
|
@@ -25013,12 +25013,12 @@ const zP = /* @__PURE__ */ M("div", { class: "statement-option-title" }, [
|
|
|
25013
25013
|
}),
|
|
25014
25014
|
WP,
|
|
25015
25015
|
Q(q, { size: "small" }, {
|
|
25016
|
-
default:
|
|
25016
|
+
default: x(() => [
|
|
25017
25017
|
Q(b($e), {
|
|
25018
25018
|
onClick: k,
|
|
25019
25019
|
disabled: b(s).length === 0
|
|
25020
25020
|
}, {
|
|
25021
|
-
default:
|
|
25021
|
+
default: x(() => [
|
|
25022
25022
|
B(" 取消选择 ")
|
|
25023
25023
|
]),
|
|
25024
25024
|
_: 1
|
|
@@ -25027,7 +25027,7 @@ const zP = /* @__PURE__ */ M("div", { class: "statement-option-title" }, [
|
|
|
25027
25027
|
onClick: X,
|
|
25028
25028
|
disabled: b(s).length === 0
|
|
25029
25029
|
}, {
|
|
25030
|
-
default:
|
|
25030
|
+
default: x(() => [
|
|
25031
25031
|
B(" 复制样式 ")
|
|
25032
25032
|
]),
|
|
25033
25033
|
_: 1
|
|
@@ -25036,13 +25036,13 @@ const zP = /* @__PURE__ */ M("div", { class: "statement-option-title" }, [
|
|
|
25036
25036
|
onClick: $,
|
|
25037
25037
|
disabled: b(O) === null
|
|
25038
25038
|
}, {
|
|
25039
|
-
default:
|
|
25039
|
+
default: x(() => [
|
|
25040
25040
|
B(" 粘贴样式 ")
|
|
25041
25041
|
]),
|
|
25042
25042
|
_: 1
|
|
25043
25043
|
}, 8, ["disabled"]),
|
|
25044
25044
|
Q(b($e), { onClick: C }, {
|
|
25045
|
-
default:
|
|
25045
|
+
default: x(() => [
|
|
25046
25046
|
B("清除")
|
|
25047
25047
|
]),
|
|
25048
25048
|
_: 1
|
|
@@ -25050,42 +25050,42 @@ const zP = /* @__PURE__ */ M("div", { class: "statement-option-title" }, [
|
|
|
25050
25050
|
]),
|
|
25051
25051
|
_: 1
|
|
25052
25052
|
}),
|
|
25053
|
-
Q(
|
|
25054
|
-
default:
|
|
25053
|
+
Q(Y, { span: 24 }, {
|
|
25054
|
+
default: x(() => [
|
|
25055
25055
|
Q(b(he), { label: "单元格类型" }, {
|
|
25056
|
-
default:
|
|
25056
|
+
default: x(() => [
|
|
25057
25057
|
Q(b(Yi), {
|
|
25058
25058
|
modelValue: _.type,
|
|
25059
|
-
"onUpdate:modelValue":
|
|
25060
|
-
onChange:
|
|
25059
|
+
"onUpdate:modelValue": v[0] || (v[0] = (A) => _.type = A),
|
|
25060
|
+
onChange: v[1] || (v[1] = (A) => P(A, "cell", "type"))
|
|
25061
25061
|
}, {
|
|
25062
|
-
default:
|
|
25062
|
+
default: x(() => [
|
|
25063
25063
|
Q(b(we), { label: "text" }, {
|
|
25064
|
-
default:
|
|
25064
|
+
default: x(() => [
|
|
25065
25065
|
B("文本")
|
|
25066
25066
|
]),
|
|
25067
25067
|
_: 1
|
|
25068
25068
|
}),
|
|
25069
25069
|
Q(b(we), { label: "icon" }, {
|
|
25070
|
-
default:
|
|
25070
|
+
default: x(() => [
|
|
25071
25071
|
B("图标")
|
|
25072
25072
|
]),
|
|
25073
25073
|
_: 1
|
|
25074
25074
|
}),
|
|
25075
25075
|
Q(b(we), { label: "image" }, {
|
|
25076
|
-
default:
|
|
25076
|
+
default: x(() => [
|
|
25077
25077
|
B("图片")
|
|
25078
25078
|
]),
|
|
25079
25079
|
_: 1
|
|
25080
25080
|
}),
|
|
25081
25081
|
Q(b(we), { label: "field" }, {
|
|
25082
|
-
default:
|
|
25082
|
+
default: x(() => [
|
|
25083
25083
|
B("数据")
|
|
25084
25084
|
]),
|
|
25085
25085
|
_: 1
|
|
25086
25086
|
}),
|
|
25087
25087
|
Q(b(we), { label: "fun" }, {
|
|
25088
|
-
default:
|
|
25088
|
+
default: x(() => [
|
|
25089
25089
|
B("函数")
|
|
25090
25090
|
]),
|
|
25091
25091
|
_: 1
|
|
@@ -25100,14 +25100,14 @@ const zP = /* @__PURE__ */ M("div", { class: "statement-option-title" }, [
|
|
|
25100
25100
|
_: 1
|
|
25101
25101
|
}),
|
|
25102
25102
|
r.value && o.value ? (U(), K(re, { key: 0 }, [
|
|
25103
|
-
kt(Q(
|
|
25104
|
-
default:
|
|
25103
|
+
kt(Q(Y, { span: 24 }, {
|
|
25104
|
+
default: x(() => [
|
|
25105
25105
|
Q(b(he), { label: "文本" }, {
|
|
25106
|
-
default:
|
|
25106
|
+
default: x(() => [
|
|
25107
25107
|
Q(b(Ii), {
|
|
25108
25108
|
modelValue: o.value.text,
|
|
25109
|
-
"onUpdate:modelValue":
|
|
25110
|
-
onInput:
|
|
25109
|
+
"onUpdate:modelValue": v[2] || (v[2] = (A) => o.value.text = A),
|
|
25110
|
+
onInput: v[3] || (v[3] = (A) => P(A, "cell", "text"))
|
|
25111
25111
|
}, null, 8, ["modelValue"])
|
|
25112
25112
|
]),
|
|
25113
25113
|
_: 1
|
|
@@ -25117,20 +25117,20 @@ const zP = /* @__PURE__ */ M("div", { class: "statement-option-title" }, [
|
|
|
25117
25117
|
}, 512), [
|
|
25118
25118
|
[Tt, o.value.type === b(ee).TEXT]
|
|
25119
25119
|
]),
|
|
25120
|
-
kt(Q(
|
|
25121
|
-
default:
|
|
25120
|
+
kt(Q(Y, { span: 24 }, {
|
|
25121
|
+
default: x(() => [
|
|
25122
25122
|
_.format !== b(Re).STRING ? (U(), oe(b(he), {
|
|
25123
25123
|
key: 0,
|
|
25124
25124
|
label: "数据字段"
|
|
25125
25125
|
}, {
|
|
25126
|
-
default:
|
|
25126
|
+
default: x(() => [
|
|
25127
25127
|
Q(ne, {
|
|
25128
25128
|
modelValue: o.value.data,
|
|
25129
|
-
"onUpdate:modelValue":
|
|
25129
|
+
"onUpdate:modelValue": v[4] || (v[4] = (A) => o.value.data = A),
|
|
25130
25130
|
clearable: "",
|
|
25131
|
-
onInput:
|
|
25131
|
+
onInput: v[5] || (v[5] = (A) => P(A, "cell", "data"))
|
|
25132
25132
|
}, {
|
|
25133
|
-
default:
|
|
25133
|
+
default: x(() => [
|
|
25134
25134
|
(U(!0), K(re, null, Fe(b(Z), (A) => (U(), oe(W, {
|
|
25135
25135
|
key: A.columnName,
|
|
25136
25136
|
label: A.name,
|
|
@@ -25145,11 +25145,11 @@ const zP = /* @__PURE__ */ M("div", { class: "statement-option-title" }, [
|
|
|
25145
25145
|
key: 1,
|
|
25146
25146
|
label: "自定义渲染"
|
|
25147
25147
|
}, {
|
|
25148
|
-
default:
|
|
25148
|
+
default: x(() => [
|
|
25149
25149
|
Q(b(Ii), {
|
|
25150
25150
|
type: "textarea",
|
|
25151
25151
|
modelValue: o.value.fun,
|
|
25152
|
-
"onUpdate:modelValue":
|
|
25152
|
+
"onUpdate:modelValue": v[6] || (v[6] = (A) => o.value.fun = A)
|
|
25153
25153
|
}, null, 8, ["modelValue"])
|
|
25154
25154
|
]),
|
|
25155
25155
|
_: 1
|
|
@@ -25159,17 +25159,17 @@ const zP = /* @__PURE__ */ M("div", { class: "statement-option-title" }, [
|
|
|
25159
25159
|
}, 512), [
|
|
25160
25160
|
[Tt, o.value.type === b(ee).FIELD]
|
|
25161
25161
|
]),
|
|
25162
|
-
kt(Q(
|
|
25163
|
-
default:
|
|
25162
|
+
kt(Q(Y, { span: 24 }, {
|
|
25163
|
+
default: x(() => [
|
|
25164
25164
|
Q(b(he), {
|
|
25165
25165
|
label: "函数",
|
|
25166
25166
|
error: w.value
|
|
25167
25167
|
}, {
|
|
25168
|
-
default:
|
|
25168
|
+
default: x(() => [
|
|
25169
25169
|
Q(b(Ii), {
|
|
25170
25170
|
modelValue: o.value.fun,
|
|
25171
|
-
"onUpdate:modelValue":
|
|
25172
|
-
onInput:
|
|
25171
|
+
"onUpdate:modelValue": v[7] || (v[7] = (A) => o.value.fun = A),
|
|
25172
|
+
onInput: v[8] || (v[8] = (A) => P(A, "cell", "fun"))
|
|
25173
25173
|
}, null, 8, ["modelValue"])
|
|
25174
25174
|
]),
|
|
25175
25175
|
_: 1
|
|
@@ -25179,24 +25179,24 @@ const zP = /* @__PURE__ */ M("div", { class: "statement-option-title" }, [
|
|
|
25179
25179
|
}, 512), [
|
|
25180
25180
|
[Tt, o.value.type === b(ee).FUN]
|
|
25181
25181
|
]),
|
|
25182
|
-
kt(Q(
|
|
25183
|
-
default:
|
|
25182
|
+
kt(Q(Y, { span: 24 }, {
|
|
25183
|
+
default: x(() => [
|
|
25184
25184
|
Q(b(he), { label: "数据操作" }, {
|
|
25185
|
-
default:
|
|
25185
|
+
default: x(() => [
|
|
25186
25186
|
Q(b(yh), {
|
|
25187
25187
|
modelValue: o.value.isGroup,
|
|
25188
|
-
"onUpdate:modelValue":
|
|
25188
|
+
"onUpdate:modelValue": v[9] || (v[9] = (A) => o.value.isGroup = A)
|
|
25189
25189
|
}, {
|
|
25190
|
-
default:
|
|
25190
|
+
default: x(() => [
|
|
25191
25191
|
B("分组")
|
|
25192
25192
|
]),
|
|
25193
25193
|
_: 1
|
|
25194
25194
|
}, 8, ["modelValue"]),
|
|
25195
25195
|
Q(b(yh), {
|
|
25196
25196
|
modelValue: o.value.isRowColCombine,
|
|
25197
|
-
"onUpdate:modelValue":
|
|
25197
|
+
"onUpdate:modelValue": v[10] || (v[10] = (A) => o.value.isRowColCombine = A)
|
|
25198
25198
|
}, {
|
|
25199
|
-
default:
|
|
25199
|
+
default: x(() => [
|
|
25200
25200
|
B("行列组合")
|
|
25201
25201
|
]),
|
|
25202
25202
|
_: 1
|
|
@@ -25211,14 +25211,14 @@ const zP = /* @__PURE__ */ M("div", { class: "statement-option-title" }, [
|
|
|
25211
25211
|
])
|
|
25212
25212
|
], 64)) : ae("", !0),
|
|
25213
25213
|
b(m) ? (U(), K(re, { key: 1 }, [
|
|
25214
|
-
Q(
|
|
25215
|
-
default:
|
|
25214
|
+
Q(Y, { span: 8 }, {
|
|
25215
|
+
default: x(() => [
|
|
25216
25216
|
Q(b(he), { label: "字体颜色" }, {
|
|
25217
|
-
default:
|
|
25217
|
+
default: x(() => [
|
|
25218
25218
|
Q(b(Sh), {
|
|
25219
25219
|
modelValue: _.color,
|
|
25220
|
-
"onUpdate:modelValue":
|
|
25221
|
-
onChange:
|
|
25220
|
+
"onUpdate:modelValue": v[11] || (v[11] = (A) => _.color = A),
|
|
25221
|
+
onChange: v[12] || (v[12] = (A) => P(A, "cell", "style.color"))
|
|
25222
25222
|
}, null, 8, ["modelValue"])
|
|
25223
25223
|
]),
|
|
25224
25224
|
_: 1
|
|
@@ -25226,14 +25226,14 @@ const zP = /* @__PURE__ */ M("div", { class: "statement-option-title" }, [
|
|
|
25226
25226
|
]),
|
|
25227
25227
|
_: 1
|
|
25228
25228
|
}),
|
|
25229
|
-
Q(
|
|
25230
|
-
default:
|
|
25229
|
+
Q(Y, { span: 8 }, {
|
|
25230
|
+
default: x(() => [
|
|
25231
25231
|
Q(b(he), { label: "背景色" }, {
|
|
25232
|
-
default:
|
|
25232
|
+
default: x(() => [
|
|
25233
25233
|
Q(b(Sh), {
|
|
25234
25234
|
modelValue: _.backgroundColor,
|
|
25235
|
-
"onUpdate:modelValue":
|
|
25236
|
-
onChange:
|
|
25235
|
+
"onUpdate:modelValue": v[13] || (v[13] = (A) => _.backgroundColor = A),
|
|
25236
|
+
onChange: v[14] || (v[14] = (A) => P(A, "cell", "style.backgroundColor"))
|
|
25237
25237
|
}, null, 8, ["modelValue"])
|
|
25238
25238
|
]),
|
|
25239
25239
|
_: 1
|
|
@@ -25241,10 +25241,10 @@ const zP = /* @__PURE__ */ M("div", { class: "statement-option-title" }, [
|
|
|
25241
25241
|
]),
|
|
25242
25242
|
_: 1
|
|
25243
25243
|
}),
|
|
25244
|
-
Q(
|
|
25245
|
-
default:
|
|
25244
|
+
Q(Y, { span: 8 }, {
|
|
25245
|
+
default: x(() => [
|
|
25246
25246
|
Q(b(he), { label: "字体细粗" }, {
|
|
25247
|
-
default:
|
|
25247
|
+
default: x(() => [
|
|
25248
25248
|
Q(b(ii), {
|
|
25249
25249
|
"inline-prompt": "",
|
|
25250
25250
|
"active-text": "字体加粗",
|
|
@@ -25252,8 +25252,8 @@ const zP = /* @__PURE__ */ M("div", { class: "statement-option-title" }, [
|
|
|
25252
25252
|
"active-value": "bold",
|
|
25253
25253
|
"inactive-value": "normal",
|
|
25254
25254
|
modelValue: _.fontWeight,
|
|
25255
|
-
"onUpdate:modelValue":
|
|
25256
|
-
onChange:
|
|
25255
|
+
"onUpdate:modelValue": v[15] || (v[15] = (A) => _.fontWeight = A),
|
|
25256
|
+
onChange: v[16] || (v[16] = (A) => P(A, "cell", "style.fontWeight"))
|
|
25257
25257
|
}, null, 8, ["modelValue"])
|
|
25258
25258
|
]),
|
|
25259
25259
|
_: 1
|
|
@@ -25261,17 +25261,17 @@ const zP = /* @__PURE__ */ M("div", { class: "statement-option-title" }, [
|
|
|
25261
25261
|
]),
|
|
25262
25262
|
_: 1
|
|
25263
25263
|
}),
|
|
25264
|
-
Q(
|
|
25265
|
-
default:
|
|
25264
|
+
Q(Y, { span: 12 }, {
|
|
25265
|
+
default: x(() => [
|
|
25266
25266
|
Q(b(he), { label: "字体大小" }, {
|
|
25267
|
-
default:
|
|
25267
|
+
default: x(() => [
|
|
25268
25268
|
Q(te, {
|
|
25269
25269
|
modelValue: _.fontSize,
|
|
25270
|
-
"onUpdate:modelValue":
|
|
25270
|
+
"onUpdate:modelValue": v[17] || (v[17] = (A) => _.fontSize = A),
|
|
25271
25271
|
"controls-position": "right",
|
|
25272
25272
|
min: 12,
|
|
25273
25273
|
step: 2,
|
|
25274
|
-
onChange:
|
|
25274
|
+
onChange: v[18] || (v[18] = (A) => P(A, "cell", "style.fontSize"))
|
|
25275
25275
|
}, null, 8, ["modelValue"])
|
|
25276
25276
|
]),
|
|
25277
25277
|
_: 1
|
|
@@ -25279,22 +25279,22 @@ const zP = /* @__PURE__ */ M("div", { class: "statement-option-title" }, [
|
|
|
25279
25279
|
]),
|
|
25280
25280
|
_: 1
|
|
25281
25281
|
}),
|
|
25282
|
-
Q(
|
|
25283
|
-
default:
|
|
25282
|
+
Q(Y, { span: 12 }, {
|
|
25283
|
+
default: x(() => [
|
|
25284
25284
|
Q(b(he), { label: "字体类型" }, {
|
|
25285
|
-
default:
|
|
25285
|
+
default: x(() => [
|
|
25286
25286
|
Q(ne, {
|
|
25287
25287
|
modelValue: _.fontFamily,
|
|
25288
|
-
"onUpdate:modelValue":
|
|
25289
|
-
onChange:
|
|
25288
|
+
"onUpdate:modelValue": v[19] || (v[19] = (A) => _.fontFamily = A),
|
|
25289
|
+
onChange: v[20] || (v[20] = (A) => P(A, "cell", "style.fontFamily")),
|
|
25290
25290
|
clearable: ""
|
|
25291
25291
|
}, {
|
|
25292
|
-
default:
|
|
25292
|
+
default: x(() => [
|
|
25293
25293
|
Q(W, {
|
|
25294
25294
|
label: "宋体",
|
|
25295
25295
|
value: "'SimSun', 'Songti SC', 'STSong', 'Noto Serif CJK SC', 'Source Han Serif SC', serif"
|
|
25296
25296
|
}, {
|
|
25297
|
-
default:
|
|
25297
|
+
default: x(() => [
|
|
25298
25298
|
BP
|
|
25299
25299
|
]),
|
|
25300
25300
|
_: 1
|
|
@@ -25303,7 +25303,7 @@ const zP = /* @__PURE__ */ M("div", { class: "statement-option-title" }, [
|
|
|
25303
25303
|
label: "仿宋体",
|
|
25304
25304
|
value: "'FangSong', 'STFangsong', 'KaiTi', 'Kaiti SC', 'Noto Sans CJK SC', sans-serif"
|
|
25305
25305
|
}, {
|
|
25306
|
-
default:
|
|
25306
|
+
default: x(() => [
|
|
25307
25307
|
NP
|
|
25308
25308
|
]),
|
|
25309
25309
|
_: 1
|
|
@@ -25312,7 +25312,7 @@ const zP = /* @__PURE__ */ M("div", { class: "statement-option-title" }, [
|
|
|
25312
25312
|
label: "楷体",
|
|
25313
25313
|
value: "'KaiTi', 'Kaiti SC', 'STKaiti', 'Noto Serif CJK SC', 'Source Han Serif SC', serif"
|
|
25314
25314
|
}, {
|
|
25315
|
-
default:
|
|
25315
|
+
default: x(() => [
|
|
25316
25316
|
IP
|
|
25317
25317
|
]),
|
|
25318
25318
|
_: 1
|
|
@@ -25321,7 +25321,7 @@ const zP = /* @__PURE__ */ M("div", { class: "statement-option-title" }, [
|
|
|
25321
25321
|
label: "黑体",
|
|
25322
25322
|
value: "'SimHei', 'Microsoft YaHei', 'PingFang SC', 'STHeiti', 'Noto Sans CJK SC', 'Source Han Sans SC', sans-serif"
|
|
25323
25323
|
}, {
|
|
25324
|
-
default:
|
|
25324
|
+
default: x(() => [
|
|
25325
25325
|
GP
|
|
25326
25326
|
]),
|
|
25327
25327
|
_: 1
|
|
@@ -25330,7 +25330,7 @@ const zP = /* @__PURE__ */ M("div", { class: "statement-option-title" }, [
|
|
|
25330
25330
|
label: "无衬线体(ABC/123)",
|
|
25331
25331
|
value: "'Arial', 'Helvetica', 'Microsoft YaHei', 'PingFang SC', 'Noto Sans CJK SC', sans-serif"
|
|
25332
25332
|
}, {
|
|
25333
|
-
default:
|
|
25333
|
+
default: x(() => [
|
|
25334
25334
|
jP
|
|
25335
25335
|
]),
|
|
25336
25336
|
_: 1
|
|
@@ -25339,7 +25339,7 @@ const zP = /* @__PURE__ */ M("div", { class: "statement-option-title" }, [
|
|
|
25339
25339
|
label: "等宽字体(ABC/123)",
|
|
25340
25340
|
value: "'Courier New', 'Consolas', 'Monaco', 'Noto Sans Mono CJK SC', 'Source Han Code SC', monospace"
|
|
25341
25341
|
}, {
|
|
25342
|
-
default:
|
|
25342
|
+
default: x(() => [
|
|
25343
25343
|
FP
|
|
25344
25344
|
]),
|
|
25345
25345
|
_: 1
|
|
@@ -25353,21 +25353,21 @@ const zP = /* @__PURE__ */ M("div", { class: "statement-option-title" }, [
|
|
|
25353
25353
|
]),
|
|
25354
25354
|
_: 1
|
|
25355
25355
|
}),
|
|
25356
|
-
Q(
|
|
25357
|
-
default:
|
|
25356
|
+
Q(Y, { span: 12 }, {
|
|
25357
|
+
default: x(() => [
|
|
25358
25358
|
Q(b(he), null, {
|
|
25359
|
-
default:
|
|
25359
|
+
default: x(() => [
|
|
25360
25360
|
Q(b(Yi), {
|
|
25361
25361
|
modelValue: _.textAlign,
|
|
25362
|
-
"onUpdate:modelValue":
|
|
25363
|
-
onChange:
|
|
25362
|
+
"onUpdate:modelValue": v[21] || (v[21] = (A) => _.textAlign = A),
|
|
25363
|
+
onChange: v[22] || (v[22] = (A) => P(A, "cell", "style.textAlign"))
|
|
25364
25364
|
}, {
|
|
25365
|
-
default:
|
|
25365
|
+
default: x(() => [
|
|
25366
25366
|
Q(b(we), {
|
|
25367
25367
|
label: "left",
|
|
25368
25368
|
title: "左对齐"
|
|
25369
25369
|
}, {
|
|
25370
|
-
default:
|
|
25370
|
+
default: x(() => [
|
|
25371
25371
|
HP
|
|
25372
25372
|
]),
|
|
25373
25373
|
_: 1
|
|
@@ -25376,7 +25376,7 @@ const zP = /* @__PURE__ */ M("div", { class: "statement-option-title" }, [
|
|
|
25376
25376
|
label: "center",
|
|
25377
25377
|
title: "居中对齐"
|
|
25378
25378
|
}, {
|
|
25379
|
-
default:
|
|
25379
|
+
default: x(() => [
|
|
25380
25380
|
KP
|
|
25381
25381
|
]),
|
|
25382
25382
|
_: 1
|
|
@@ -25385,7 +25385,7 @@ const zP = /* @__PURE__ */ M("div", { class: "statement-option-title" }, [
|
|
|
25385
25385
|
label: "right",
|
|
25386
25386
|
title: "右对齐"
|
|
25387
25387
|
}, {
|
|
25388
|
-
default:
|
|
25388
|
+
default: x(() => [
|
|
25389
25389
|
JP
|
|
25390
25390
|
]),
|
|
25391
25391
|
_: 1
|
|
@@ -25399,21 +25399,21 @@ const zP = /* @__PURE__ */ M("div", { class: "statement-option-title" }, [
|
|
|
25399
25399
|
]),
|
|
25400
25400
|
_: 1
|
|
25401
25401
|
}),
|
|
25402
|
-
Q(
|
|
25403
|
-
default:
|
|
25402
|
+
Q(Y, { span: 12 }, {
|
|
25403
|
+
default: x(() => [
|
|
25404
25404
|
Q(b(he), null, {
|
|
25405
|
-
default:
|
|
25405
|
+
default: x(() => [
|
|
25406
25406
|
Q(b(Yi), {
|
|
25407
25407
|
modelValue: _.verticalAlign,
|
|
25408
|
-
"onUpdate:modelValue":
|
|
25409
|
-
onChange:
|
|
25408
|
+
"onUpdate:modelValue": v[23] || (v[23] = (A) => _.verticalAlign = A),
|
|
25409
|
+
onChange: v[24] || (v[24] = (A) => P(A, "cell", "style.verticalAlign"))
|
|
25410
25410
|
}, {
|
|
25411
|
-
default:
|
|
25411
|
+
default: x(() => [
|
|
25412
25412
|
Q(b(we), {
|
|
25413
25413
|
label: "top",
|
|
25414
25414
|
title: "顶部对齐"
|
|
25415
25415
|
}, {
|
|
25416
|
-
default:
|
|
25416
|
+
default: x(() => [
|
|
25417
25417
|
ew
|
|
25418
25418
|
]),
|
|
25419
25419
|
_: 1
|
|
@@ -25422,7 +25422,7 @@ const zP = /* @__PURE__ */ M("div", { class: "statement-option-title" }, [
|
|
|
25422
25422
|
label: "middle",
|
|
25423
25423
|
title: "垂直居中"
|
|
25424
25424
|
}, {
|
|
25425
|
-
default:
|
|
25425
|
+
default: x(() => [
|
|
25426
25426
|
tw
|
|
25427
25427
|
]),
|
|
25428
25428
|
_: 1
|
|
@@ -25431,7 +25431,7 @@ const zP = /* @__PURE__ */ M("div", { class: "statement-option-title" }, [
|
|
|
25431
25431
|
label: "bottom",
|
|
25432
25432
|
title: "底部对齐"
|
|
25433
25433
|
}, {
|
|
25434
|
-
default:
|
|
25434
|
+
default: x(() => [
|
|
25435
25435
|
iw
|
|
25436
25436
|
]),
|
|
25437
25437
|
_: 1
|
|
@@ -25445,21 +25445,21 @@ const zP = /* @__PURE__ */ M("div", { class: "statement-option-title" }, [
|
|
|
25445
25445
|
]),
|
|
25446
25446
|
_: 1
|
|
25447
25447
|
}),
|
|
25448
|
-
Q(
|
|
25449
|
-
default:
|
|
25448
|
+
Q(Y, { span: 24 }, {
|
|
25449
|
+
default: x(() => [
|
|
25450
25450
|
Q(b(he), { label: "格式化" }, {
|
|
25451
|
-
default:
|
|
25451
|
+
default: x(() => [
|
|
25452
25452
|
Q(b(Yi), {
|
|
25453
25453
|
modelValue: _.format,
|
|
25454
|
-
"onUpdate:modelValue":
|
|
25455
|
-
onChange:
|
|
25454
|
+
"onUpdate:modelValue": v[25] || (v[25] = (A) => _.format = A),
|
|
25455
|
+
onChange: v[26] || (v[26] = (A) => P(A, "cell", "format"))
|
|
25456
25456
|
}, {
|
|
25457
|
-
default:
|
|
25457
|
+
default: x(() => [
|
|
25458
25458
|
Q(b(we), {
|
|
25459
25459
|
label: b(Re).TEXT,
|
|
25460
25460
|
title: "文本"
|
|
25461
25461
|
}, {
|
|
25462
|
-
default:
|
|
25462
|
+
default: x(() => [
|
|
25463
25463
|
nw
|
|
25464
25464
|
]),
|
|
25465
25465
|
_: 1
|
|
@@ -25468,7 +25468,7 @@ const zP = /* @__PURE__ */ M("div", { class: "statement-option-title" }, [
|
|
|
25468
25468
|
label: b(Re).NUMBER,
|
|
25469
25469
|
title: "数字"
|
|
25470
25470
|
}, {
|
|
25471
|
-
default:
|
|
25471
|
+
default: x(() => [
|
|
25472
25472
|
sw
|
|
25473
25473
|
]),
|
|
25474
25474
|
_: 1
|
|
@@ -25477,7 +25477,7 @@ const zP = /* @__PURE__ */ M("div", { class: "statement-option-title" }, [
|
|
|
25477
25477
|
label: b(Re).CURRENCY,
|
|
25478
25478
|
title: "货币"
|
|
25479
25479
|
}, {
|
|
25480
|
-
default:
|
|
25480
|
+
default: x(() => [
|
|
25481
25481
|
rw
|
|
25482
25482
|
]),
|
|
25483
25483
|
_: 1
|
|
@@ -25486,7 +25486,7 @@ const zP = /* @__PURE__ */ M("div", { class: "statement-option-title" }, [
|
|
|
25486
25486
|
label: b(Re).PERCENT,
|
|
25487
25487
|
title: "百分比"
|
|
25488
25488
|
}, {
|
|
25489
|
-
default:
|
|
25489
|
+
default: x(() => [
|
|
25490
25490
|
B(" % ")
|
|
25491
25491
|
]),
|
|
25492
25492
|
_: 1
|
|
@@ -25495,7 +25495,7 @@ const zP = /* @__PURE__ */ M("div", { class: "statement-option-title" }, [
|
|
|
25495
25495
|
label: b(Re).PROMILLE,
|
|
25496
25496
|
title: "千分比"
|
|
25497
25497
|
}, {
|
|
25498
|
-
default:
|
|
25498
|
+
default: x(() => [
|
|
25499
25499
|
B(" ‰ ")
|
|
25500
25500
|
]),
|
|
25501
25501
|
_: 1
|
|
@@ -25504,7 +25504,7 @@ const zP = /* @__PURE__ */ M("div", { class: "statement-option-title" }, [
|
|
|
25504
25504
|
label: b(Re).SCIENTIFIC,
|
|
25505
25505
|
title: "科学计数法"
|
|
25506
25506
|
}, {
|
|
25507
|
-
default:
|
|
25507
|
+
default: x(() => [
|
|
25508
25508
|
ow
|
|
25509
25509
|
]),
|
|
25510
25510
|
_: 1
|
|
@@ -25513,7 +25513,7 @@ const zP = /* @__PURE__ */ M("div", { class: "statement-option-title" }, [
|
|
|
25513
25513
|
label: b(Re).DATETIME,
|
|
25514
25514
|
title: "日期时间"
|
|
25515
25515
|
}, {
|
|
25516
|
-
default:
|
|
25516
|
+
default: x(() => [
|
|
25517
25517
|
lw
|
|
25518
25518
|
]),
|
|
25519
25519
|
_: 1
|
|
@@ -25523,7 +25523,7 @@ const zP = /* @__PURE__ */ M("div", { class: "statement-option-title" }, [
|
|
|
25523
25523
|
label: b(Re).STRING,
|
|
25524
25524
|
title: "自定义格式化"
|
|
25525
25525
|
}, {
|
|
25526
|
-
default:
|
|
25526
|
+
default: x(() => [
|
|
25527
25527
|
aw
|
|
25528
25528
|
]),
|
|
25529
25529
|
_: 1
|
|
@@ -25538,14 +25538,14 @@ const zP = /* @__PURE__ */ M("div", { class: "statement-option-title" }, [
|
|
|
25538
25538
|
_: 1
|
|
25539
25539
|
}),
|
|
25540
25540
|
_.formatType ? (U(), K(re, { key: 0 }, [
|
|
25541
|
-
kt(Q(
|
|
25542
|
-
default:
|
|
25541
|
+
kt(Q(Y, { span: 12 }, {
|
|
25542
|
+
default: x(() => [
|
|
25543
25543
|
Q(b(he), { label: "小数位数" }, {
|
|
25544
|
-
default:
|
|
25544
|
+
default: x(() => [
|
|
25545
25545
|
Q(te, {
|
|
25546
25546
|
modelValue: _.formatType.numberDecimal,
|
|
25547
|
-
"onUpdate:modelValue":
|
|
25548
|
-
onInput:
|
|
25547
|
+
"onUpdate:modelValue": v[27] || (v[27] = (A) => _.formatType.numberDecimal = A),
|
|
25548
|
+
onInput: v[28] || (v[28] = (A) => P(A, "cell", "formatType.numberDecimal")),
|
|
25549
25549
|
min: 0,
|
|
25550
25550
|
max: 6,
|
|
25551
25551
|
"controls-position": "right"
|
|
@@ -25558,14 +25558,14 @@ const zP = /* @__PURE__ */ M("div", { class: "statement-option-title" }, [
|
|
|
25558
25558
|
}, 512), [
|
|
25559
25559
|
[Tt, _.format && [b(Re).NUMBER, b(Re).CURRENCY, b(Re).PERCENT, b(Re).PROMILLE].includes(_.format)]
|
|
25560
25560
|
]),
|
|
25561
|
-
kt(Q(
|
|
25562
|
-
default:
|
|
25561
|
+
kt(Q(Y, { span: 12 }, {
|
|
25562
|
+
default: x(() => [
|
|
25563
25563
|
Q(b(he), { label: "千分位分隔" }, {
|
|
25564
|
-
default:
|
|
25564
|
+
default: x(() => [
|
|
25565
25565
|
Q(b(ii), {
|
|
25566
25566
|
modelValue: _.formatType.numberUseGrouping,
|
|
25567
|
-
"onUpdate:modelValue":
|
|
25568
|
-
onChange:
|
|
25567
|
+
"onUpdate:modelValue": v[29] || (v[29] = (A) => _.formatType.numberUseGrouping = A),
|
|
25568
|
+
onChange: v[30] || (v[30] = (A) => P(A, "cell", "formatType.numberUseGrouping"))
|
|
25569
25569
|
}, null, 8, ["modelValue"])
|
|
25570
25570
|
]),
|
|
25571
25571
|
_: 1
|
|
@@ -25575,36 +25575,36 @@ const zP = /* @__PURE__ */ M("div", { class: "statement-option-title" }, [
|
|
|
25575
25575
|
}, 512), [
|
|
25576
25576
|
[Tt, _.format && [b(Re).NUMBER, b(Re).CURRENCY].includes(_.format)]
|
|
25577
25577
|
]),
|
|
25578
|
-
kt(Q(
|
|
25579
|
-
default:
|
|
25578
|
+
kt(Q(Y, { span: 24 }, {
|
|
25579
|
+
default: x(() => [
|
|
25580
25580
|
Q(b(he), { label: "货币符号" }, {
|
|
25581
|
-
default:
|
|
25581
|
+
default: x(() => [
|
|
25582
25582
|
Q(b(Yi), {
|
|
25583
25583
|
modelValue: _.formatType.currencySymbol,
|
|
25584
|
-
"onUpdate:modelValue":
|
|
25585
|
-
onChange:
|
|
25584
|
+
"onUpdate:modelValue": v[31] || (v[31] = (A) => _.formatType.currencySymbol = A),
|
|
25585
|
+
onChange: v[32] || (v[32] = (A) => P(A, "cell", "formatType.currencySymbol"))
|
|
25586
25586
|
}, {
|
|
25587
|
-
default:
|
|
25587
|
+
default: x(() => [
|
|
25588
25588
|
Q(b(we), { value: "¥" }, {
|
|
25589
|
-
default:
|
|
25589
|
+
default: x(() => [
|
|
25590
25590
|
B("人民币 ¥")
|
|
25591
25591
|
]),
|
|
25592
25592
|
_: 1
|
|
25593
25593
|
}),
|
|
25594
25594
|
Q(b(we), { value: "$" }, {
|
|
25595
|
-
default:
|
|
25595
|
+
default: x(() => [
|
|
25596
25596
|
B("美元 $")
|
|
25597
25597
|
]),
|
|
25598
25598
|
_: 1
|
|
25599
25599
|
}),
|
|
25600
25600
|
Q(b(we), { value: "€" }, {
|
|
25601
|
-
default:
|
|
25601
|
+
default: x(() => [
|
|
25602
25602
|
B("欧元 €")
|
|
25603
25603
|
]),
|
|
25604
25604
|
_: 1
|
|
25605
25605
|
}),
|
|
25606
25606
|
Q(b(we), { value: "£" }, {
|
|
25607
|
-
default:
|
|
25607
|
+
default: x(() => [
|
|
25608
25608
|
B("英镑 £")
|
|
25609
25609
|
]),
|
|
25610
25610
|
_: 1
|
|
@@ -25621,24 +25621,24 @@ const zP = /* @__PURE__ */ M("div", { class: "statement-option-title" }, [
|
|
|
25621
25621
|
[Tt, _.format === "currency"]
|
|
25622
25622
|
]),
|
|
25623
25623
|
_.format === b(Re).SCIENTIFIC ? (U(), K(re, { key: 0 }, [
|
|
25624
|
-
Q(
|
|
25625
|
-
default:
|
|
25624
|
+
Q(Y, { span: 24 }, {
|
|
25625
|
+
default: x(() => [
|
|
25626
25626
|
Q(b(he), { label: "指数符号" }, {
|
|
25627
|
-
default:
|
|
25627
|
+
default: x(() => [
|
|
25628
25628
|
Q(b(Yi), {
|
|
25629
25629
|
modelValue: _.formatType.scientificNotation,
|
|
25630
|
-
"onUpdate:modelValue":
|
|
25631
|
-
onChange:
|
|
25630
|
+
"onUpdate:modelValue": v[33] || (v[33] = (A) => _.formatType.scientificNotation = A),
|
|
25631
|
+
onChange: v[34] || (v[34] = (A) => P(A, "cell", "formatType.scientificNotation"))
|
|
25632
25632
|
}, {
|
|
25633
|
-
default:
|
|
25633
|
+
default: x(() => [
|
|
25634
25634
|
Q(b(we), { label: "E" }, {
|
|
25635
|
-
default:
|
|
25635
|
+
default: x(() => [
|
|
25636
25636
|
B("E (1.23E+6)")
|
|
25637
25637
|
]),
|
|
25638
25638
|
_: 1
|
|
25639
25639
|
}),
|
|
25640
25640
|
Q(b(we), { label: "e" }, {
|
|
25641
|
-
default:
|
|
25641
|
+
default: x(() => [
|
|
25642
25642
|
B("e (1.23e+6)")
|
|
25643
25643
|
]),
|
|
25644
25644
|
_: 1
|
|
@@ -25652,17 +25652,17 @@ const zP = /* @__PURE__ */ M("div", { class: "statement-option-title" }, [
|
|
|
25652
25652
|
]),
|
|
25653
25653
|
_: 1
|
|
25654
25654
|
}),
|
|
25655
|
-
Q(
|
|
25656
|
-
default:
|
|
25655
|
+
Q(Y, { span: 24 }, {
|
|
25656
|
+
default: x(() => [
|
|
25657
25657
|
Q(b(he), { label: "指数精度" }, {
|
|
25658
|
-
default:
|
|
25658
|
+
default: x(() => [
|
|
25659
25659
|
Q(te, {
|
|
25660
25660
|
min: 0,
|
|
25661
25661
|
max: 20,
|
|
25662
25662
|
"controls-position": "right",
|
|
25663
25663
|
modelValue: _.formatType.digits,
|
|
25664
|
-
"onUpdate:modelValue":
|
|
25665
|
-
onChange:
|
|
25664
|
+
"onUpdate:modelValue": v[35] || (v[35] = (A) => _.formatType.digits = A),
|
|
25665
|
+
onChange: v[36] || (v[36] = (A) => P(A, "cell", "formatType.digits"))
|
|
25666
25666
|
}, null, 8, ["modelValue"])
|
|
25667
25667
|
]),
|
|
25668
25668
|
_: 1
|
|
@@ -25671,17 +25671,17 @@ const zP = /* @__PURE__ */ M("div", { class: "statement-option-title" }, [
|
|
|
25671
25671
|
_: 1
|
|
25672
25672
|
})
|
|
25673
25673
|
], 64)) : ae("", !0),
|
|
25674
|
-
kt(Q(
|
|
25675
|
-
default:
|
|
25674
|
+
kt(Q(Y, { span: 24 }, {
|
|
25675
|
+
default: x(() => [
|
|
25676
25676
|
Q(b(he), { label: "日期格式" }, {
|
|
25677
|
-
default:
|
|
25677
|
+
default: x(() => [
|
|
25678
25678
|
Q(ne, {
|
|
25679
25679
|
filterable: "",
|
|
25680
25680
|
modelValue: _.formatType.date,
|
|
25681
|
-
"onUpdate:modelValue":
|
|
25682
|
-
onChange:
|
|
25681
|
+
"onUpdate:modelValue": v[37] || (v[37] = (A) => _.formatType.date = A),
|
|
25682
|
+
onChange: v[38] || (v[38] = (A) => P(A, "cell", "formatType.date"))
|
|
25683
25683
|
}, {
|
|
25684
|
-
default:
|
|
25684
|
+
default: x(() => [
|
|
25685
25685
|
Q(W, { value: "YYYY-MM-DD HH:mm:ss" }),
|
|
25686
25686
|
Q(W, { value: "YYYY-MM-DD HH:mm" }),
|
|
25687
25687
|
Q(W, { value: "YYYY-MM-DD" }),
|
|
@@ -25705,22 +25705,22 @@ const zP = /* @__PURE__ */ M("div", { class: "statement-option-title" }, [
|
|
|
25705
25705
|
[Tt, _.format === b(Re).DATETIME]
|
|
25706
25706
|
])
|
|
25707
25707
|
], 64)) : ae("", !0),
|
|
25708
|
-
r.value && o.value ? (U(), oe(
|
|
25708
|
+
r.value && o.value ? (U(), oe(Y, {
|
|
25709
25709
|
key: 1,
|
|
25710
25710
|
span: 24
|
|
25711
25711
|
}, {
|
|
25712
|
-
default:
|
|
25712
|
+
default: x(() => [
|
|
25713
25713
|
Q(b(he), { label: "自定义渲染函数" }, {
|
|
25714
|
-
default:
|
|
25714
|
+
default: x(() => [
|
|
25715
25715
|
Q(Ni, {
|
|
25716
25716
|
height: 100,
|
|
25717
25717
|
modelValue: o.value.customRender,
|
|
25718
|
-
"onUpdate:modelValue":
|
|
25718
|
+
"onUpdate:modelValue": v[39] || (v[39] = (A) => o.value.customRender = A)
|
|
25719
25719
|
}, {
|
|
25720
|
-
"pre-code":
|
|
25720
|
+
"pre-code": x(() => [
|
|
25721
25721
|
B("function (cell,data){")
|
|
25722
25722
|
]),
|
|
25723
|
-
"next-code":
|
|
25723
|
+
"next-code": x(() => [
|
|
25724
25724
|
B("}")
|
|
25725
25725
|
]),
|
|
25726
25726
|
_: 1
|
|
@@ -25737,12 +25737,12 @@ const zP = /* @__PURE__ */ M("div", { class: "statement-option-title" }, [
|
|
|
25737
25737
|
M("div", hw, [
|
|
25738
25738
|
uw,
|
|
25739
25739
|
Q(q, { size: "small" }, {
|
|
25740
|
-
default:
|
|
25740
|
+
default: x(() => [
|
|
25741
25741
|
Q(b($e), {
|
|
25742
25742
|
onClick: N,
|
|
25743
25743
|
plain: ""
|
|
25744
25744
|
}, {
|
|
25745
|
-
default:
|
|
25745
|
+
default: x(() => [
|
|
25746
25746
|
B(" + 上 ")
|
|
25747
25747
|
]),
|
|
25748
25748
|
_: 1
|
|
@@ -25752,7 +25752,7 @@ const zP = /* @__PURE__ */ M("div", { class: "statement-option-title" }, [
|
|
|
25752
25752
|
onClick: se,
|
|
25753
25753
|
plain: ""
|
|
25754
25754
|
}, {
|
|
25755
|
-
default:
|
|
25755
|
+
default: x(() => [
|
|
25756
25756
|
B(" 删 ")
|
|
25757
25757
|
]),
|
|
25758
25758
|
_: 1
|
|
@@ -25761,7 +25761,7 @@ const zP = /* @__PURE__ */ M("div", { class: "statement-option-title" }, [
|
|
|
25761
25761
|
onClick: z,
|
|
25762
25762
|
plain: ""
|
|
25763
25763
|
}, {
|
|
25764
|
-
default:
|
|
25764
|
+
default: x(() => [
|
|
25765
25765
|
B(" 下 + ")
|
|
25766
25766
|
]),
|
|
25767
25767
|
_: 1
|
|
@@ -25770,20 +25770,20 @@ const zP = /* @__PURE__ */ M("div", { class: "statement-option-title" }, [
|
|
|
25770
25770
|
_: 1
|
|
25771
25771
|
})
|
|
25772
25772
|
]),
|
|
25773
|
-
Q(
|
|
25774
|
-
default:
|
|
25773
|
+
Q(Y, { span: 18 }, {
|
|
25774
|
+
default: x(() => [
|
|
25775
25775
|
Q(b(he), { label: "行高" }, {
|
|
25776
|
-
default:
|
|
25776
|
+
default: x(() => [
|
|
25777
25777
|
Q(te, {
|
|
25778
25778
|
"controls-position": "right",
|
|
25779
25779
|
modelValue: _.rowSize,
|
|
25780
|
-
"onUpdate:modelValue":
|
|
25781
|
-
onChange:
|
|
25780
|
+
"onUpdate:modelValue": v[40] || (v[40] = (A) => _.rowSize = A),
|
|
25781
|
+
onChange: v[41] || (v[41] = (A) => P(A, "row", "size"))
|
|
25782
25782
|
}, null, 8, ["modelValue"]),
|
|
25783
25783
|
Q(b($e), {
|
|
25784
|
-
onClick:
|
|
25784
|
+
onClick: v[42] || (v[42] = (A) => P(25, "row", "size"))
|
|
25785
25785
|
}, {
|
|
25786
|
-
default:
|
|
25786
|
+
default: x(() => [
|
|
25787
25787
|
B("重置")
|
|
25788
25788
|
]),
|
|
25789
25789
|
_: 1
|
|
@@ -25794,14 +25794,14 @@ const zP = /* @__PURE__ */ M("div", { class: "statement-option-title" }, [
|
|
|
25794
25794
|
]),
|
|
25795
25795
|
_: 1
|
|
25796
25796
|
}),
|
|
25797
|
-
Q(
|
|
25798
|
-
default:
|
|
25797
|
+
Q(Y, { span: 6 }, {
|
|
25798
|
+
default: x(() => [
|
|
25799
25799
|
Q(b(he), { label: "悬浮" }, {
|
|
25800
|
-
default:
|
|
25800
|
+
default: x(() => [
|
|
25801
25801
|
Q(b(ii), {
|
|
25802
25802
|
modelValue: _.rowFixed,
|
|
25803
|
-
"onUpdate:modelValue":
|
|
25804
|
-
onChange:
|
|
25803
|
+
"onUpdate:modelValue": v[43] || (v[43] = (A) => _.rowFixed = A),
|
|
25804
|
+
onChange: v[44] || (v[44] = (A) => P(A, "row", "isFixed"))
|
|
25805
25805
|
}, null, 8, ["modelValue"])
|
|
25806
25806
|
]),
|
|
25807
25807
|
_: 1
|
|
@@ -25810,18 +25810,18 @@ const zP = /* @__PURE__ */ M("div", { class: "statement-option-title" }, [
|
|
|
25810
25810
|
_: 1
|
|
25811
25811
|
}),
|
|
25812
25812
|
h.value && c.value ? (U(), K(re, { key: 0 }, [
|
|
25813
|
-
Q(
|
|
25814
|
-
default:
|
|
25813
|
+
Q(Y, { span: 24 }, {
|
|
25814
|
+
default: x(() => [
|
|
25815
25815
|
Q(b(he), { label: "数据源" }, {
|
|
25816
|
-
default:
|
|
25816
|
+
default: x(() => [
|
|
25817
25817
|
Q(ne, {
|
|
25818
25818
|
modelValue: c.value.data,
|
|
25819
|
-
"onUpdate:modelValue":
|
|
25820
|
-
onChange:
|
|
25819
|
+
"onUpdate:modelValue": v[45] || (v[45] = (A) => c.value.data = A),
|
|
25820
|
+
onChange: v[46] || (v[46] = (A) => P(A, "row", "data")),
|
|
25821
25821
|
clearable: "",
|
|
25822
25822
|
filterable: ""
|
|
25823
25823
|
}, {
|
|
25824
|
-
default:
|
|
25824
|
+
default: x(() => [
|
|
25825
25825
|
(U(!0), K(re, null, Fe(b(g), (A) => (U(), oe(W, {
|
|
25826
25826
|
key: A.key,
|
|
25827
25827
|
label: A.name,
|
|
@@ -25836,14 +25836,14 @@ const zP = /* @__PURE__ */ M("div", { class: "statement-option-title" }, [
|
|
|
25836
25836
|
]),
|
|
25837
25837
|
_: 1
|
|
25838
25838
|
}),
|
|
25839
|
-
Q(
|
|
25840
|
-
default:
|
|
25839
|
+
Q(Y, { span: 12 }, {
|
|
25840
|
+
default: x(() => [
|
|
25841
25841
|
Q(b(he), { label: "循环" }, {
|
|
25842
|
-
default:
|
|
25842
|
+
default: x(() => [
|
|
25843
25843
|
Q(b(ii), {
|
|
25844
25844
|
modelValue: c.value.loop,
|
|
25845
|
-
"onUpdate:modelValue":
|
|
25846
|
-
onChange:
|
|
25845
|
+
"onUpdate:modelValue": v[47] || (v[47] = (A) => c.value.loop = A),
|
|
25846
|
+
onChange: v[48] || (v[48] = (A) => P(A, "row", "loop"))
|
|
25847
25847
|
}, null, 8, ["modelValue"])
|
|
25848
25848
|
]),
|
|
25849
25849
|
_: 1
|
|
@@ -25851,18 +25851,18 @@ const zP = /* @__PURE__ */ M("div", { class: "statement-option-title" }, [
|
|
|
25851
25851
|
]),
|
|
25852
25852
|
_: 1
|
|
25853
25853
|
}),
|
|
25854
|
-
c.value.loop ? ae("", !0) : (U(), oe(
|
|
25854
|
+
c.value.loop ? ae("", !0) : (U(), oe(Y, {
|
|
25855
25855
|
key: 0,
|
|
25856
25856
|
span: 12
|
|
25857
25857
|
}, {
|
|
25858
|
-
default:
|
|
25858
|
+
default: x(() => [
|
|
25859
25859
|
Q(b(he), { label: "数据下标" }, {
|
|
25860
|
-
default:
|
|
25860
|
+
default: x(() => [
|
|
25861
25861
|
Q(te, {
|
|
25862
25862
|
min: 0,
|
|
25863
25863
|
modelValue: c.value.dataIndex,
|
|
25864
|
-
"onUpdate:modelValue":
|
|
25865
|
-
onInput:
|
|
25864
|
+
"onUpdate:modelValue": v[49] || (v[49] = (A) => c.value.dataIndex = A),
|
|
25865
|
+
onInput: v[50] || (v[50] = (A) => P(A, "row", "dataIndex"))
|
|
25866
25866
|
}, null, 8, ["modelValue"])
|
|
25867
25867
|
]),
|
|
25868
25868
|
_: 1
|
|
@@ -25876,12 +25876,12 @@ const zP = /* @__PURE__ */ M("div", { class: "statement-option-title" }, [
|
|
|
25876
25876
|
M("div", cw, [
|
|
25877
25877
|
fw,
|
|
25878
25878
|
Q(q, { size: "small" }, {
|
|
25879
|
-
default:
|
|
25879
|
+
default: x(() => [
|
|
25880
25880
|
Q(b($e), {
|
|
25881
25881
|
onClick: E,
|
|
25882
25882
|
plain: ""
|
|
25883
25883
|
}, {
|
|
25884
|
-
default:
|
|
25884
|
+
default: x(() => [
|
|
25885
25885
|
B(" + 左 ")
|
|
25886
25886
|
]),
|
|
25887
25887
|
_: 1
|
|
@@ -25891,7 +25891,7 @@ const zP = /* @__PURE__ */ M("div", { class: "statement-option-title" }, [
|
|
|
25891
25891
|
onClick: L,
|
|
25892
25892
|
plain: ""
|
|
25893
25893
|
}, {
|
|
25894
|
-
default:
|
|
25894
|
+
default: x(() => [
|
|
25895
25895
|
B(" 删 ")
|
|
25896
25896
|
]),
|
|
25897
25897
|
_: 1
|
|
@@ -25900,7 +25900,7 @@ const zP = /* @__PURE__ */ M("div", { class: "statement-option-title" }, [
|
|
|
25900
25900
|
onClick: I,
|
|
25901
25901
|
plain: ""
|
|
25902
25902
|
}, {
|
|
25903
|
-
default:
|
|
25903
|
+
default: x(() => [
|
|
25904
25904
|
B(" 右 + ")
|
|
25905
25905
|
]),
|
|
25906
25906
|
_: 1
|
|
@@ -25909,19 +25909,19 @@ const zP = /* @__PURE__ */ M("div", { class: "statement-option-title" }, [
|
|
|
25909
25909
|
_: 1
|
|
25910
25910
|
})
|
|
25911
25911
|
]),
|
|
25912
|
-
Q(
|
|
25913
|
-
default:
|
|
25912
|
+
Q(Y, { span: 18 }, {
|
|
25913
|
+
default: x(() => [
|
|
25914
25914
|
Q(b(he), { label: "列宽" }, {
|
|
25915
|
-
default:
|
|
25915
|
+
default: x(() => [
|
|
25916
25916
|
Q(te, {
|
|
25917
25917
|
"controls-position": "right",
|
|
25918
25918
|
modelValue: _.colSize,
|
|
25919
|
-
"onUpdate:modelValue":
|
|
25919
|
+
"onUpdate:modelValue": v[51] || (v[51] = (A) => _.colSize = A)
|
|
25920
25920
|
}, null, 8, ["modelValue"]),
|
|
25921
25921
|
Q(b($e), {
|
|
25922
|
-
onClick:
|
|
25922
|
+
onClick: v[52] || (v[52] = (A) => _.colSize = 80)
|
|
25923
25923
|
}, {
|
|
25924
|
-
default:
|
|
25924
|
+
default: x(() => [
|
|
25925
25925
|
B("重置")
|
|
25926
25926
|
]),
|
|
25927
25927
|
_: 1
|
|
@@ -25932,14 +25932,14 @@ const zP = /* @__PURE__ */ M("div", { class: "statement-option-title" }, [
|
|
|
25932
25932
|
]),
|
|
25933
25933
|
_: 1
|
|
25934
25934
|
}),
|
|
25935
|
-
Q(
|
|
25936
|
-
default:
|
|
25935
|
+
Q(Y, { span: 6 }, {
|
|
25936
|
+
default: x(() => [
|
|
25937
25937
|
Q(b(he), { label: "悬浮" }, {
|
|
25938
|
-
default:
|
|
25938
|
+
default: x(() => [
|
|
25939
25939
|
Q(b(ii), {
|
|
25940
25940
|
modelValue: _.colFixed,
|
|
25941
|
-
"onUpdate:modelValue":
|
|
25942
|
-
onChange:
|
|
25941
|
+
"onUpdate:modelValue": v[53] || (v[53] = (A) => _.colFixed = A),
|
|
25942
|
+
onChange: v[54] || (v[54] = (A) => P(A, "col", "isFixed"))
|
|
25943
25943
|
}, null, 8, ["modelValue"])
|
|
25944
25944
|
]),
|
|
25945
25945
|
_: 1
|
|
@@ -25948,17 +25948,17 @@ const zP = /* @__PURE__ */ M("div", { class: "statement-option-title" }, [
|
|
|
25948
25948
|
_: 1
|
|
25949
25949
|
}),
|
|
25950
25950
|
f.value && d.value ? (U(), K(re, { key: 0 }, [
|
|
25951
|
-
Q(
|
|
25952
|
-
default:
|
|
25951
|
+
Q(Y, { span: 24 }, {
|
|
25952
|
+
default: x(() => [
|
|
25953
25953
|
Q(b(he), { label: "数据源" }, {
|
|
25954
|
-
default:
|
|
25954
|
+
default: x(() => [
|
|
25955
25955
|
Q(ne, {
|
|
25956
25956
|
modelValue: d.value.data,
|
|
25957
|
-
"onUpdate:modelValue":
|
|
25958
|
-
onChange:
|
|
25957
|
+
"onUpdate:modelValue": v[55] || (v[55] = (A) => d.value.data = A),
|
|
25958
|
+
onChange: v[56] || (v[56] = (A) => P(A, "col", "data")),
|
|
25959
25959
|
clearable: ""
|
|
25960
25960
|
}, {
|
|
25961
|
-
default:
|
|
25961
|
+
default: x(() => [
|
|
25962
25962
|
(U(!0), K(re, null, Fe(b(g), (A) => (U(), oe(W, {
|
|
25963
25963
|
key: A.key,
|
|
25964
25964
|
label: A.name,
|
|
@@ -25973,14 +25973,14 @@ const zP = /* @__PURE__ */ M("div", { class: "statement-option-title" }, [
|
|
|
25973
25973
|
]),
|
|
25974
25974
|
_: 1
|
|
25975
25975
|
}),
|
|
25976
|
-
Q(
|
|
25977
|
-
default:
|
|
25976
|
+
Q(Y, { span: 12 }, {
|
|
25977
|
+
default: x(() => [
|
|
25978
25978
|
Q(b(he), { label: "循环数据源" }, {
|
|
25979
|
-
default:
|
|
25979
|
+
default: x(() => [
|
|
25980
25980
|
Q(b(ii), {
|
|
25981
25981
|
modelValue: d.value.loop,
|
|
25982
|
-
"onUpdate:modelValue":
|
|
25983
|
-
onChange:
|
|
25982
|
+
"onUpdate:modelValue": v[57] || (v[57] = (A) => d.value.loop = A),
|
|
25983
|
+
onChange: v[58] || (v[58] = (A) => P(A, "col", "loop"))
|
|
25984
25984
|
}, null, 8, ["modelValue"])
|
|
25985
25985
|
]),
|
|
25986
25986
|
_: 1
|
|
@@ -25988,18 +25988,18 @@ const zP = /* @__PURE__ */ M("div", { class: "statement-option-title" }, [
|
|
|
25988
25988
|
]),
|
|
25989
25989
|
_: 1
|
|
25990
25990
|
}),
|
|
25991
|
-
d.value.loop ? ae("", !0) : (U(), oe(
|
|
25991
|
+
d.value.loop ? ae("", !0) : (U(), oe(Y, {
|
|
25992
25992
|
key: 0,
|
|
25993
25993
|
span: 12
|
|
25994
25994
|
}, {
|
|
25995
|
-
default:
|
|
25995
|
+
default: x(() => [
|
|
25996
25996
|
Q(b(he), { label: "数据下标" }, {
|
|
25997
|
-
default:
|
|
25997
|
+
default: x(() => [
|
|
25998
25998
|
Q(te, {
|
|
25999
25999
|
min: 0,
|
|
26000
26000
|
modelValue: d.value.dataIndex,
|
|
26001
|
-
"onUpdate:modelValue":
|
|
26002
|
-
onInput:
|
|
26001
|
+
"onUpdate:modelValue": v[59] || (v[59] = (A) => d.value.dataIndex = A),
|
|
26002
|
+
onInput: v[60] || (v[60] = (A) => P(A, "col", "dataIndex"))
|
|
26003
26003
|
}, null, 8, ["modelValue"])
|
|
26004
26004
|
]),
|
|
26005
26005
|
_: 1
|
|
@@ -26040,9 +26040,9 @@ const zP = /* @__PURE__ */ M("div", { class: "statement-option-title" }, [
|
|
|
26040
26040
|
label: "单元格/参数",
|
|
26041
26041
|
name: "cell"
|
|
26042
26042
|
}, {
|
|
26043
|
-
default:
|
|
26043
|
+
default: x(() => [
|
|
26044
26044
|
Q(a, { gutter: 10 }, {
|
|
26045
|
-
default:
|
|
26045
|
+
default: x(() => [
|
|
26046
26046
|
Q(dw),
|
|
26047
26047
|
Q(Kg)
|
|
26048
26048
|
]),
|
|
@@ -26055,17 +26055,17 @@ const zP = /* @__PURE__ */ M("div", { class: "statement-option-title" }, [
|
|
|
26055
26055
|
label: "样式/配置",
|
|
26056
26056
|
name: "theme"
|
|
26057
26057
|
}, {
|
|
26058
|
-
default:
|
|
26058
|
+
default: x(() => [
|
|
26059
26059
|
b(t) ? (U(), oe(a, {
|
|
26060
26060
|
key: 0,
|
|
26061
26061
|
gutter: 10
|
|
26062
26062
|
}, {
|
|
26063
|
-
default:
|
|
26063
|
+
default: x(() => [
|
|
26064
26064
|
Ow,
|
|
26065
26065
|
Q(f, { span: 12 }, {
|
|
26066
|
-
default:
|
|
26066
|
+
default: x(() => [
|
|
26067
26067
|
Q(c, { label: "宽度单位" }, {
|
|
26068
|
-
default:
|
|
26068
|
+
default: x(() => [
|
|
26069
26069
|
Q(h, {
|
|
26070
26070
|
modelValue: b(t).widthType,
|
|
26071
26071
|
"onUpdate:modelValue": l[0] || (l[0] = (p) => b(t).widthType = p),
|
|
@@ -26083,9 +26083,9 @@ const zP = /* @__PURE__ */ M("div", { class: "statement-option-title" }, [
|
|
|
26083
26083
|
_: 1
|
|
26084
26084
|
}),
|
|
26085
26085
|
Q(f, { span: 12 }, {
|
|
26086
|
-
default:
|
|
26086
|
+
default: x(() => [
|
|
26087
26087
|
Q(c, { label: "满盘高度" }, {
|
|
26088
|
-
default:
|
|
26088
|
+
default: x(() => [
|
|
26089
26089
|
Q(h, {
|
|
26090
26090
|
modelValue: b(t).fullHeight,
|
|
26091
26091
|
"onUpdate:modelValue": l[2] || (l[2] = (p) => b(t).fullHeight = p),
|
|
@@ -26103,15 +26103,15 @@ const zP = /* @__PURE__ */ M("div", { class: "statement-option-title" }, [
|
|
|
26103
26103
|
_: 1
|
|
26104
26104
|
}),
|
|
26105
26105
|
Q(f, { span: 12 }, {
|
|
26106
|
-
default:
|
|
26106
|
+
default: x(() => [
|
|
26107
26107
|
Q(c, { label: "宽度" }, {
|
|
26108
|
-
default:
|
|
26108
|
+
default: x(() => [
|
|
26109
26109
|
Q(d, {
|
|
26110
26110
|
type: "number",
|
|
26111
26111
|
modelValue: b(t).width,
|
|
26112
26112
|
"onUpdate:modelValue": l[3] || (l[3] = (p) => b(t).width = p)
|
|
26113
26113
|
}, {
|
|
26114
|
-
suffix:
|
|
26114
|
+
suffix: x(() => [
|
|
26115
26115
|
B(Me(b(t).widthType), 1)
|
|
26116
26116
|
]),
|
|
26117
26117
|
_: 1
|
|
@@ -26123,9 +26123,9 @@ const zP = /* @__PURE__ */ M("div", { class: "statement-option-title" }, [
|
|
|
26123
26123
|
_: 1
|
|
26124
26124
|
}),
|
|
26125
26125
|
Q(f, { span: 12 }, {
|
|
26126
|
-
default:
|
|
26126
|
+
default: x(() => [
|
|
26127
26127
|
Q(c, { label: "高度" }, {
|
|
26128
|
-
default:
|
|
26128
|
+
default: x(() => [
|
|
26129
26129
|
Q(d, {
|
|
26130
26130
|
type: "number",
|
|
26131
26131
|
disabled: b(t).fullHeight,
|
|
@@ -26133,7 +26133,7 @@ const zP = /* @__PURE__ */ M("div", { class: "statement-option-title" }, [
|
|
|
26133
26133
|
"onUpdate:modelValue": l[4] || (l[4] = (p) => b(t).height = p),
|
|
26134
26134
|
onChange: l[5] || (l[5] = (p) => r(p, "width", "number"))
|
|
26135
26135
|
}, {
|
|
26136
|
-
suffix:
|
|
26136
|
+
suffix: x(() => [
|
|
26137
26137
|
B("px")
|
|
26138
26138
|
]),
|
|
26139
26139
|
_: 1
|
|
@@ -26146,9 +26146,9 @@ const zP = /* @__PURE__ */ M("div", { class: "statement-option-title" }, [
|
|
|
26146
26146
|
}),
|
|
26147
26147
|
pw,
|
|
26148
26148
|
Q(f, { span: 8 }, {
|
|
26149
|
-
default:
|
|
26149
|
+
default: x(() => [
|
|
26150
26150
|
Q(c, { label: "序号" }, {
|
|
26151
|
-
default:
|
|
26151
|
+
default: x(() => [
|
|
26152
26152
|
Q(h, {
|
|
26153
26153
|
modelValue: b(t).seriesEnable,
|
|
26154
26154
|
"onUpdate:modelValue": l[6] || (l[6] = (p) => b(t).seriesEnable = p)
|
|
@@ -26160,9 +26160,9 @@ const zP = /* @__PURE__ */ M("div", { class: "statement-option-title" }, [
|
|
|
26160
26160
|
_: 1
|
|
26161
26161
|
}),
|
|
26162
26162
|
Q(f, { span: 16 }, {
|
|
26163
|
-
default:
|
|
26163
|
+
default: x(() => [
|
|
26164
26164
|
Q(c, { label: "序号列头文本" }, {
|
|
26165
|
-
default:
|
|
26165
|
+
default: x(() => [
|
|
26166
26166
|
Q(d, {
|
|
26167
26167
|
modelValue: b(t).seriesHeadText,
|
|
26168
26168
|
"onUpdate:modelValue": l[7] || (l[7] = (p) => b(t).seriesHeadText = p)
|
|
@@ -26371,14 +26371,14 @@ const _w = function(n, e) {
|
|
|
26371
26371
|
name: "chart",
|
|
26372
26372
|
label: "属性"
|
|
26373
26373
|
}, {
|
|
26374
|
-
default:
|
|
26374
|
+
default: x(() => [
|
|
26375
26375
|
Q(O, { label: "背景色" }, {
|
|
26376
|
-
default:
|
|
26376
|
+
default: x(() => [
|
|
26377
26377
|
Q(m, {
|
|
26378
26378
|
modelValue: b(l).backgroundColor,
|
|
26379
26379
|
"onUpdate:modelValue": p[1] || (p[1] = (P) => b(l).backgroundColor = P)
|
|
26380
26380
|
}, {
|
|
26381
|
-
append:
|
|
26381
|
+
append: x(() => [
|
|
26382
26382
|
Q(_, {
|
|
26383
26383
|
modelValue: b(l).backgroundColor,
|
|
26384
26384
|
"onUpdate:modelValue": p[0] || (p[0] = (P) => b(l).backgroundColor = P),
|
|
@@ -26391,7 +26391,7 @@ const _w = function(n, e) {
|
|
|
26391
26391
|
_: 1
|
|
26392
26392
|
}),
|
|
26393
26393
|
Q(O, { label: "标题" }, {
|
|
26394
|
-
default:
|
|
26394
|
+
default: x(() => [
|
|
26395
26395
|
Q(m, {
|
|
26396
26396
|
modelValue: b(l).title.text,
|
|
26397
26397
|
"onUpdate:modelValue": p[2] || (p[2] = (P) => b(l).title.text = P)
|
|
@@ -26401,7 +26401,7 @@ const _w = function(n, e) {
|
|
|
26401
26401
|
}),
|
|
26402
26402
|
b(s) ? (U(), K(re, { key: 0 }, [
|
|
26403
26403
|
Q(O, { label: "X轴轴坐标名称" }, {
|
|
26404
|
-
default:
|
|
26404
|
+
default: x(() => [
|
|
26405
26405
|
Q(m, {
|
|
26406
26406
|
modelValue: b(l).xAxis.name,
|
|
26407
26407
|
"onUpdate:modelValue": p[3] || (p[3] = (P) => b(l).xAxis.name = P)
|
|
@@ -26410,7 +26410,7 @@ const _w = function(n, e) {
|
|
|
26410
26410
|
_: 1
|
|
26411
26411
|
}),
|
|
26412
26412
|
Q(O, { label: "Y轴轴坐标名称" }, {
|
|
26413
|
-
default:
|
|
26413
|
+
default: x(() => [
|
|
26414
26414
|
Q(m, {
|
|
26415
26415
|
modelValue: b(l).yAxis.name,
|
|
26416
26416
|
"onUpdate:modelValue": p[4] || (p[4] = (P) => b(l).yAxis.name = P)
|
|
@@ -26420,20 +26420,20 @@ const _w = function(n, e) {
|
|
|
26420
26420
|
})
|
|
26421
26421
|
], 64)) : ae("", !0),
|
|
26422
26422
|
Q(O, { label: "宽度单位" }, {
|
|
26423
|
-
default:
|
|
26423
|
+
default: x(() => [
|
|
26424
26424
|
Q(R, {
|
|
26425
26425
|
modelValue: b(t).widthUnit,
|
|
26426
26426
|
"onUpdate:modelValue": p[5] || (p[5] = (P) => b(t).widthUnit = P)
|
|
26427
26427
|
}, {
|
|
26428
|
-
default:
|
|
26428
|
+
default: x(() => [
|
|
26429
26429
|
Q(y, { label: "px" }, {
|
|
26430
|
-
default:
|
|
26430
|
+
default: x(() => [
|
|
26431
26431
|
B("像素")
|
|
26432
26432
|
]),
|
|
26433
26433
|
_: 1
|
|
26434
26434
|
}),
|
|
26435
26435
|
Q(y, { label: "%" }, {
|
|
26436
|
-
default:
|
|
26436
|
+
default: x(() => [
|
|
26437
26437
|
B("百分比")
|
|
26438
26438
|
]),
|
|
26439
26439
|
_: 1
|
|
@@ -26445,7 +26445,7 @@ const _w = function(n, e) {
|
|
|
26445
26445
|
_: 1
|
|
26446
26446
|
}),
|
|
26447
26447
|
Q(O, { label: "宽" }, {
|
|
26448
|
-
default:
|
|
26448
|
+
default: x(() => [
|
|
26449
26449
|
Q(k, {
|
|
26450
26450
|
modelValue: b(t).width,
|
|
26451
26451
|
"onUpdate:modelValue": p[6] || (p[6] = (P) => b(t).width = P),
|
|
@@ -26455,20 +26455,20 @@ const _w = function(n, e) {
|
|
|
26455
26455
|
_: 1
|
|
26456
26456
|
}),
|
|
26457
26457
|
Q(O, { label: "高度单位" }, {
|
|
26458
|
-
default:
|
|
26458
|
+
default: x(() => [
|
|
26459
26459
|
Q(R, {
|
|
26460
26460
|
modelValue: b(t).heightUnit,
|
|
26461
26461
|
"onUpdate:modelValue": p[7] || (p[7] = (P) => b(t).heightUnit = P)
|
|
26462
26462
|
}, {
|
|
26463
|
-
default:
|
|
26463
|
+
default: x(() => [
|
|
26464
26464
|
Q(y, { label: "px" }, {
|
|
26465
|
-
default:
|
|
26465
|
+
default: x(() => [
|
|
26466
26466
|
B("像素")
|
|
26467
26467
|
]),
|
|
26468
26468
|
_: 1
|
|
26469
26469
|
}),
|
|
26470
26470
|
Q(y, { label: "%" }, {
|
|
26471
|
-
default:
|
|
26471
|
+
default: x(() => [
|
|
26472
26472
|
B("百分比")
|
|
26473
26473
|
]),
|
|
26474
26474
|
_: 1
|
|
@@ -26480,7 +26480,7 @@ const _w = function(n, e) {
|
|
|
26480
26480
|
_: 1
|
|
26481
26481
|
}),
|
|
26482
26482
|
Q(O, { label: "高" }, {
|
|
26483
|
-
default:
|
|
26483
|
+
default: x(() => [
|
|
26484
26484
|
Q(k, {
|
|
26485
26485
|
modelValue: b(t).height,
|
|
26486
26486
|
"onUpdate:modelValue": p[8] || (p[8] = (P) => b(t).height = P),
|
|
@@ -26491,7 +26491,7 @@ const _w = function(n, e) {
|
|
|
26491
26491
|
}),
|
|
26492
26492
|
b(t).type == "line" ? (U(), K(re, { key: 1 }, [
|
|
26493
26493
|
Q(O, { label: "平滑" }, {
|
|
26494
|
-
default:
|
|
26494
|
+
default: x(() => [
|
|
26495
26495
|
Q(X, {
|
|
26496
26496
|
modelValue: b(t).smooth,
|
|
26497
26497
|
"onUpdate:modelValue": p[9] || (p[9] = (P) => b(t).smooth = P),
|
|
@@ -26501,7 +26501,7 @@ const _w = function(n, e) {
|
|
|
26501
26501
|
_: 1
|
|
26502
26502
|
}),
|
|
26503
26503
|
Q(O, { label: "显示点" }, {
|
|
26504
|
-
default:
|
|
26504
|
+
default: x(() => [
|
|
26505
26505
|
Q(X, {
|
|
26506
26506
|
modelValue: b(t).symbol,
|
|
26507
26507
|
"onUpdate:modelValue": p[10] || (p[10] = (P) => b(t).symbol = P),
|
|
@@ -26514,7 +26514,7 @@ const _w = function(n, e) {
|
|
|
26514
26514
|
})
|
|
26515
26515
|
], 64)) : ae("", !0),
|
|
26516
26516
|
Q(O, { label: "显示标签" }, {
|
|
26517
|
-
default:
|
|
26517
|
+
default: x(() => [
|
|
26518
26518
|
Q(X, {
|
|
26519
26519
|
modelValue: b(t).showLabel,
|
|
26520
26520
|
"onUpdate:modelValue": p[11] || (p[11] = (P) => b(t).showLabel = P),
|
|
@@ -26527,13 +26527,13 @@ const _w = function(n, e) {
|
|
|
26527
26527
|
key: 2,
|
|
26528
26528
|
label: "标签颜色"
|
|
26529
26529
|
}, {
|
|
26530
|
-
default:
|
|
26530
|
+
default: x(() => [
|
|
26531
26531
|
Q(m, {
|
|
26532
26532
|
modelValue: b(t).labelColor,
|
|
26533
26533
|
"onUpdate:modelValue": p[13] || (p[13] = (P) => b(t).labelColor = P),
|
|
26534
26534
|
onChange: a
|
|
26535
26535
|
}, {
|
|
26536
|
-
append:
|
|
26536
|
+
append: x(() => [
|
|
26537
26537
|
Q(_, {
|
|
26538
26538
|
modelValue: b(t).labelColor,
|
|
26539
26539
|
"onUpdate:modelValue": p[12] || (p[12] = (P) => b(t).labelColor = P),
|
|
@@ -26550,28 +26550,28 @@ const _w = function(n, e) {
|
|
|
26550
26550
|
key: 3,
|
|
26551
26551
|
label: "标签位置"
|
|
26552
26552
|
}, {
|
|
26553
|
-
default:
|
|
26553
|
+
default: x(() => [
|
|
26554
26554
|
["line", "scatter"].includes(b(t).type) ? (U(), oe(R, {
|
|
26555
26555
|
key: 0,
|
|
26556
26556
|
modelValue: b(t).labelPosition,
|
|
26557
26557
|
"onUpdate:modelValue": p[14] || (p[14] = (P) => b(t).labelPosition = P),
|
|
26558
26558
|
onChange: a
|
|
26559
26559
|
}, {
|
|
26560
|
-
default:
|
|
26560
|
+
default: x(() => [
|
|
26561
26561
|
Q(y, { label: "top" }, {
|
|
26562
|
-
default:
|
|
26562
|
+
default: x(() => [
|
|
26563
26563
|
B("上")
|
|
26564
26564
|
]),
|
|
26565
26565
|
_: 1
|
|
26566
26566
|
}),
|
|
26567
26567
|
Q(y, { label: "inside" }, {
|
|
26568
|
-
default:
|
|
26568
|
+
default: x(() => [
|
|
26569
26569
|
B("中")
|
|
26570
26570
|
]),
|
|
26571
26571
|
_: 1
|
|
26572
26572
|
}),
|
|
26573
26573
|
Q(y, { label: "bottom" }, {
|
|
26574
|
-
default:
|
|
26574
|
+
default: x(() => [
|
|
26575
26575
|
B("下")
|
|
26576
26576
|
]),
|
|
26577
26577
|
_: 1
|
|
@@ -26584,27 +26584,27 @@ const _w = function(n, e) {
|
|
|
26584
26584
|
"onUpdate:modelValue": p[15] || (p[15] = (P) => b(t).labelPosition = P),
|
|
26585
26585
|
onChange: a
|
|
26586
26586
|
}, {
|
|
26587
|
-
default:
|
|
26587
|
+
default: x(() => [
|
|
26588
26588
|
Q(y, { label: "insideLeft" }, {
|
|
26589
|
-
default:
|
|
26589
|
+
default: x(() => [
|
|
26590
26590
|
B("左")
|
|
26591
26591
|
]),
|
|
26592
26592
|
_: 1
|
|
26593
26593
|
}),
|
|
26594
26594
|
Q(y, { label: "inside" }, {
|
|
26595
|
-
default:
|
|
26595
|
+
default: x(() => [
|
|
26596
26596
|
B("中")
|
|
26597
26597
|
]),
|
|
26598
26598
|
_: 1
|
|
26599
26599
|
}),
|
|
26600
26600
|
Q(y, { label: "insideRight" }, {
|
|
26601
|
-
default:
|
|
26601
|
+
default: x(() => [
|
|
26602
26602
|
B("右")
|
|
26603
26603
|
]),
|
|
26604
26604
|
_: 1
|
|
26605
26605
|
}),
|
|
26606
26606
|
Q(y, { label: "right" }, {
|
|
26607
|
-
default:
|
|
26607
|
+
default: x(() => [
|
|
26608
26608
|
B("外")
|
|
26609
26609
|
]),
|
|
26610
26610
|
_: 1
|
|
@@ -26617,27 +26617,27 @@ const _w = function(n, e) {
|
|
|
26617
26617
|
"onUpdate:modelValue": p[16] || (p[16] = (P) => b(t).labelPosition = P),
|
|
26618
26618
|
onChange: a
|
|
26619
26619
|
}, {
|
|
26620
|
-
default:
|
|
26620
|
+
default: x(() => [
|
|
26621
26621
|
Q(y, { label: "insideTop" }, {
|
|
26622
|
-
default:
|
|
26622
|
+
default: x(() => [
|
|
26623
26623
|
B("上")
|
|
26624
26624
|
]),
|
|
26625
26625
|
_: 1
|
|
26626
26626
|
}),
|
|
26627
26627
|
Q(y, { label: "inside" }, {
|
|
26628
|
-
default:
|
|
26628
|
+
default: x(() => [
|
|
26629
26629
|
B("中")
|
|
26630
26630
|
]),
|
|
26631
26631
|
_: 1
|
|
26632
26632
|
}),
|
|
26633
26633
|
Q(y, { label: "insideBottom" }, {
|
|
26634
|
-
default:
|
|
26634
|
+
default: x(() => [
|
|
26635
26635
|
B("下")
|
|
26636
26636
|
]),
|
|
26637
26637
|
_: 1
|
|
26638
26638
|
}),
|
|
26639
26639
|
Q(y, { label: "top" }, {
|
|
26640
|
-
default:
|
|
26640
|
+
default: x(() => [
|
|
26641
26641
|
B("外")
|
|
26642
26642
|
]),
|
|
26643
26643
|
_: 1
|
|
@@ -26652,7 +26652,7 @@ const _w = function(n, e) {
|
|
|
26652
26652
|
key: 4,
|
|
26653
26653
|
label: "面积图"
|
|
26654
26654
|
}, {
|
|
26655
|
-
default:
|
|
26655
|
+
default: x(() => [
|
|
26656
26656
|
Q(X, {
|
|
26657
26657
|
modelValue: b(t).areaStyle,
|
|
26658
26658
|
"onUpdate:modelValue": p[17] || (p[17] = (P) => b(t).areaStyle = P),
|
|
@@ -26667,7 +26667,7 @@ const _w = function(n, e) {
|
|
|
26667
26667
|
key: 5,
|
|
26668
26668
|
label: "环形图"
|
|
26669
26669
|
}, {
|
|
26670
|
-
default:
|
|
26670
|
+
default: x(() => [
|
|
26671
26671
|
Q(X, {
|
|
26672
26672
|
modelValue: b(t).radius,
|
|
26673
26673
|
"onUpdate:modelValue": p[18] || (p[18] = (P) => b(t).radius = P),
|
|
@@ -26679,20 +26679,20 @@ const _w = function(n, e) {
|
|
|
26679
26679
|
b(t).isSuspend ? (U(), K(re, { key: 6 }, [
|
|
26680
26680
|
bw,
|
|
26681
26681
|
Q(O, null, {
|
|
26682
|
-
label:
|
|
26682
|
+
label: x(() => [
|
|
26683
26683
|
Q($, {
|
|
26684
26684
|
class: "box-item",
|
|
26685
26685
|
effect: "dark",
|
|
26686
26686
|
content: "元素相对于视口顶部的距离(%)",
|
|
26687
26687
|
placement: "top-start"
|
|
26688
26688
|
}, {
|
|
26689
|
-
default:
|
|
26689
|
+
default: x(() => [
|
|
26690
26690
|
yw
|
|
26691
26691
|
]),
|
|
26692
26692
|
_: 1
|
|
26693
26693
|
})
|
|
26694
26694
|
]),
|
|
26695
|
-
default:
|
|
26695
|
+
default: x(() => [
|
|
26696
26696
|
Q(k, {
|
|
26697
26697
|
modelValue: b(t).top,
|
|
26698
26698
|
"onUpdate:modelValue": p[19] || (p[19] = (P) => b(t).top = P),
|
|
@@ -26702,20 +26702,20 @@ const _w = function(n, e) {
|
|
|
26702
26702
|
_: 1
|
|
26703
26703
|
}),
|
|
26704
26704
|
Q(O, null, {
|
|
26705
|
-
label:
|
|
26705
|
+
label: x(() => [
|
|
26706
26706
|
Q($, {
|
|
26707
26707
|
class: "box-item",
|
|
26708
26708
|
effect: "dark",
|
|
26709
26709
|
content: "元素相对于视口左侧的距离(%)",
|
|
26710
26710
|
placement: "top-start"
|
|
26711
26711
|
}, {
|
|
26712
|
-
default:
|
|
26712
|
+
default: x(() => [
|
|
26713
26713
|
Sw
|
|
26714
26714
|
]),
|
|
26715
26715
|
_: 1
|
|
26716
26716
|
})
|
|
26717
26717
|
]),
|
|
26718
|
-
default:
|
|
26718
|
+
default: x(() => [
|
|
26719
26719
|
Q(k, {
|
|
26720
26720
|
modelValue: b(t).left,
|
|
26721
26721
|
"onUpdate:modelValue": p[20] || (p[20] = (P) => b(t).left = P),
|
|
@@ -26727,7 +26727,7 @@ const _w = function(n, e) {
|
|
|
26727
26727
|
], 64)) : ae("", !0),
|
|
26728
26728
|
vw,
|
|
26729
26729
|
Q(O, { label: "数据分组求和" }, {
|
|
26730
|
-
default:
|
|
26730
|
+
default: x(() => [
|
|
26731
26731
|
Q(X, {
|
|
26732
26732
|
modelValue: b(t).groupBy,
|
|
26733
26733
|
"onUpdate:modelValue": p[21] || (p[21] = (P) => b(t).groupBy = P)
|
|
@@ -26736,27 +26736,27 @@ const _w = function(n, e) {
|
|
|
26736
26736
|
_: 1
|
|
26737
26737
|
}),
|
|
26738
26738
|
Q(O, { label: "数据排序" }, {
|
|
26739
|
-
default:
|
|
26739
|
+
default: x(() => [
|
|
26740
26740
|
Q(R, {
|
|
26741
26741
|
modelValue: b(t).orderBy,
|
|
26742
26742
|
"onUpdate:modelValue": p[22] || (p[22] = (P) => b(t).orderBy = P),
|
|
26743
26743
|
onChange: f
|
|
26744
26744
|
}, {
|
|
26745
|
-
default:
|
|
26745
|
+
default: x(() => [
|
|
26746
26746
|
Q(y, { label: "ASC" }, {
|
|
26747
|
-
default:
|
|
26747
|
+
default: x(() => [
|
|
26748
26748
|
B("正序")
|
|
26749
26749
|
]),
|
|
26750
26750
|
_: 1
|
|
26751
26751
|
}),
|
|
26752
26752
|
Q(y, { label: "NONE" }, {
|
|
26753
|
-
default:
|
|
26753
|
+
default: x(() => [
|
|
26754
26754
|
B("不排序")
|
|
26755
26755
|
]),
|
|
26756
26756
|
_: 1
|
|
26757
26757
|
}),
|
|
26758
26758
|
Q(y, { label: "DESC" }, {
|
|
26759
|
-
default:
|
|
26759
|
+
default: x(() => [
|
|
26760
26760
|
B("倒序")
|
|
26761
26761
|
]),
|
|
26762
26762
|
_: 1
|
|
@@ -26771,7 +26771,7 @@ const _w = function(n, e) {
|
|
|
26771
26771
|
key: 7,
|
|
26772
26772
|
label: "数据截取数量"
|
|
26773
26773
|
}, {
|
|
26774
|
-
default:
|
|
26774
|
+
default: x(() => [
|
|
26775
26775
|
Q(k, {
|
|
26776
26776
|
modelValue: b(t).cutLength,
|
|
26777
26777
|
"onUpdate:modelValue": p[23] || (p[23] = (P) => b(t).cutLength = P)
|
|
@@ -26780,7 +26780,7 @@ const _w = function(n, e) {
|
|
|
26780
26780
|
_: 1
|
|
26781
26781
|
})) : ae("", !0),
|
|
26782
26782
|
Q(O, { label: b(r) }, {
|
|
26783
|
-
default:
|
|
26783
|
+
default: x(() => [
|
|
26784
26784
|
Q(C, {
|
|
26785
26785
|
modelValue: b(l).xDataId,
|
|
26786
26786
|
"onUpdate:modelValue": p[24] || (p[24] = (P) => b(l).xDataId = P),
|
|
@@ -26792,7 +26792,7 @@ const _w = function(n, e) {
|
|
|
26792
26792
|
_: 1
|
|
26793
26793
|
}, 8, ["label"]),
|
|
26794
26794
|
Q(O, { label: "图表数据" }, {
|
|
26795
|
-
default:
|
|
26795
|
+
default: x(() => [
|
|
26796
26796
|
Q(C, {
|
|
26797
26797
|
modelValue: b(l).yDataId,
|
|
26798
26798
|
"onUpdate:modelValue": p[25] || (p[25] = (P) => b(l).yDataId = P),
|
|
@@ -26813,12 +26813,12 @@ const _w = function(n, e) {
|
|
|
26813
26813
|
name: "config",
|
|
26814
26814
|
label: "自定义配置"
|
|
26815
26815
|
}, {
|
|
26816
|
-
default:
|
|
26816
|
+
default: x(() => [
|
|
26817
26817
|
Q(O, {
|
|
26818
26818
|
label: "自定义配置",
|
|
26819
26819
|
"label-position": "top"
|
|
26820
26820
|
}, {
|
|
26821
|
-
default:
|
|
26821
|
+
default: x(() => [
|
|
26822
26822
|
Q(Ni, {
|
|
26823
26823
|
modelValue: b(o),
|
|
26824
26824
|
"onUpdate:modelValue": p[26] || (p[26] = (P) => Em(o) ? o.value = P : o = P),
|
|
@@ -26850,13 +26850,13 @@ const _w = function(n, e) {
|
|
|
26850
26850
|
"label-position": "top",
|
|
26851
26851
|
class: "statement-option"
|
|
26852
26852
|
}, {
|
|
26853
|
-
default:
|
|
26853
|
+
default: x(() => [
|
|
26854
26854
|
Q(b(Um), {
|
|
26855
26855
|
stretch: "",
|
|
26856
26856
|
modelValue: i.value,
|
|
26857
26857
|
"onUpdate:modelValue": o[0] || (o[0] = (l) => i.value = l)
|
|
26858
26858
|
}, {
|
|
26859
|
-
default:
|
|
26859
|
+
default: x(() => [
|
|
26860
26860
|
b(t) !== null ? (U(), K(re, { key: 0 }, [
|
|
26861
26861
|
b(s) ? (U(), oe(mw, { key: 0 })) : (U(), oe(xw, { key: 1 }))
|
|
26862
26862
|
], 64)) : ae("", !0)
|
|
@@ -26968,7 +26968,7 @@ const _w = function(n, e) {
|
|
|
26968
26968
|
}
|
|
26969
26969
|
return un(() => {
|
|
26970
26970
|
}), (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"),
|
|
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"), V = fe("el-text");
|
|
26972
26972
|
return U(), K(re, null, [
|
|
26973
26973
|
M("div", Pw, [
|
|
26974
26974
|
ww,
|
|
@@ -26977,23 +26977,23 @@ const _w = function(n, e) {
|
|
|
26977
26977
|
type: "success",
|
|
26978
26978
|
text: ""
|
|
26979
26979
|
}, {
|
|
26980
|
-
default:
|
|
26980
|
+
default: x(() => [
|
|
26981
26981
|
B(" 编辑 ")
|
|
26982
26982
|
]),
|
|
26983
26983
|
_: 1
|
|
26984
26984
|
})
|
|
26985
26985
|
]),
|
|
26986
26986
|
Q(b(zm), { class: "data-columns" }, {
|
|
26987
|
-
default:
|
|
26988
|
-
(U(!0), K(re, null, Fe(b(r), (
|
|
26987
|
+
default: x(() => [
|
|
26988
|
+
(U(!0), K(re, null, Fe(b(r), (v, q) => (U(), oe(b(Wm), {
|
|
26989
26989
|
key: q,
|
|
26990
|
-
name:
|
|
26990
|
+
name: v.url
|
|
26991
26991
|
}, {
|
|
26992
|
-
title:
|
|
26993
|
-
B(Me(
|
|
26992
|
+
title: x(() => [
|
|
26993
|
+
B(Me(v.name) + " (" + Me(v.url) + ")", 1)
|
|
26994
26994
|
]),
|
|
26995
|
-
default:
|
|
26996
|
-
(U(!0), K(re, null, Fe(
|
|
26995
|
+
default: x(() => [
|
|
26996
|
+
(U(!0), K(re, null, Fe(v.columns, (Y, W) => (U(), K("div", {
|
|
26997
26997
|
class: "data-column report-drag-source",
|
|
26998
26998
|
"data-drag": "column",
|
|
26999
26999
|
"data-index": q,
|
|
@@ -27001,10 +27001,10 @@ const _w = function(n, e) {
|
|
|
27001
27001
|
draggable: "true"
|
|
27002
27002
|
}, [
|
|
27003
27003
|
M("div", null, [
|
|
27004
|
-
|
|
27005
|
-
B(Me(
|
|
27004
|
+
Y.name === Y.columnName ? (U(), K(re, { key: 0 }, [
|
|
27005
|
+
B(Me(Y.name), 1)
|
|
27006
27006
|
], 64)) : (U(), K(re, { key: 1 }, [
|
|
27007
|
-
B(Me(
|
|
27007
|
+
B(Me(Y.name) + " (" + Me(Y.columnName) + ")", 1)
|
|
27008
27008
|
], 64))
|
|
27009
27009
|
])
|
|
27010
27010
|
], 8, kw))), 256))
|
|
@@ -27020,24 +27020,24 @@ const _w = function(n, e) {
|
|
|
27020
27020
|
class: "statement-data-source-dialog",
|
|
27021
27021
|
"show-close": !1,
|
|
27022
27022
|
modelValue: t.value,
|
|
27023
|
-
"onUpdate:modelValue": P[10] || (P[10] = (
|
|
27023
|
+
"onUpdate:modelValue": P[10] || (P[10] = (v) => t.value = v)
|
|
27024
27024
|
}, {
|
|
27025
|
-
header:
|
|
27025
|
+
header: x(() => [
|
|
27026
27026
|
Iw,
|
|
27027
|
-
Q(
|
|
27028
|
-
default:
|
|
27027
|
+
Q(V, { type: "info" }, {
|
|
27028
|
+
default: x(() => [
|
|
27029
27029
|
B("数据处理函数中:")
|
|
27030
27030
|
]),
|
|
27031
27031
|
_: 1
|
|
27032
27032
|
}),
|
|
27033
|
-
Q(
|
|
27034
|
-
default:
|
|
27033
|
+
Q(V, { type: "warning" }, {
|
|
27034
|
+
default: x(() => [
|
|
27035
27035
|
B("多数据源时 allData 是数组,单数据源是对象;")
|
|
27036
27036
|
]),
|
|
27037
27037
|
_: 1
|
|
27038
27038
|
}),
|
|
27039
|
-
Q(
|
|
27040
|
-
default:
|
|
27039
|
+
Q(V, { type: "danger" }, {
|
|
27040
|
+
default: x(() => [
|
|
27041
27041
|
B("函数为空则直接返回原始数据;")
|
|
27042
27042
|
]),
|
|
27043
27043
|
_: 1
|
|
@@ -27046,27 +27046,27 @@ const _w = function(n, e) {
|
|
|
27046
27046
|
Q(b($e), {
|
|
27047
27047
|
type: "warning",
|
|
27048
27048
|
plain: "",
|
|
27049
|
-
onClick: P[9] || (P[9] = (
|
|
27049
|
+
onClick: P[9] || (P[9] = (v) => t.value = !1)
|
|
27050
27050
|
}, {
|
|
27051
|
-
default:
|
|
27051
|
+
default: x(() => [
|
|
27052
27052
|
B(" 关闭 ")
|
|
27053
27053
|
]),
|
|
27054
27054
|
_: 1
|
|
27055
27055
|
})
|
|
27056
27056
|
]),
|
|
27057
|
-
default:
|
|
27057
|
+
default: x(() => [
|
|
27058
27058
|
b(i) ? (U(), K("div", Tw, [
|
|
27059
27059
|
Q(z, { class: "process-data" }, {
|
|
27060
|
-
default:
|
|
27060
|
+
default: x(() => [
|
|
27061
27061
|
Q(L, { span: 8 }, {
|
|
27062
|
-
default:
|
|
27062
|
+
default: x(() => [
|
|
27063
27063
|
M("div", Cw, [
|
|
27064
27064
|
a.value ? (U(), K(re, { key: 1 }, [
|
|
27065
27065
|
Xw,
|
|
27066
27066
|
Q(g, {
|
|
27067
27067
|
placeholder: "键入筛选数据源",
|
|
27068
27068
|
modelValue: h.value,
|
|
27069
|
-
"onUpdate:modelValue": P[0] || (P[0] = (
|
|
27069
|
+
"onUpdate:modelValue": P[0] || (P[0] = (v) => h.value = v),
|
|
27070
27070
|
clearable: ""
|
|
27071
27071
|
}, null, 8, ["modelValue"]),
|
|
27072
27072
|
Q(b($e), {
|
|
@@ -27075,7 +27075,7 @@ const _w = function(n, e) {
|
|
|
27075
27075
|
loading: d.value,
|
|
27076
27076
|
onClick: O
|
|
27077
27077
|
}, {
|
|
27078
|
-
default:
|
|
27078
|
+
default: x(() => [
|
|
27079
27079
|
B(" 保存 ")
|
|
27080
27080
|
]),
|
|
27081
27081
|
_: 1
|
|
@@ -27086,7 +27086,7 @@ const _w = function(n, e) {
|
|
|
27086
27086
|
type: "text",
|
|
27087
27087
|
onClick: m
|
|
27088
27088
|
}, {
|
|
27089
|
-
default:
|
|
27089
|
+
default: x(() => [
|
|
27090
27090
|
B(" 同步 ")
|
|
27091
27091
|
]),
|
|
27092
27092
|
_: 1
|
|
@@ -27095,7 +27095,7 @@ const _w = function(n, e) {
|
|
|
27095
27095
|
type: "text",
|
|
27096
27096
|
onClick: _
|
|
27097
27097
|
}, {
|
|
27098
|
-
default:
|
|
27098
|
+
default: x(() => [
|
|
27099
27099
|
B(" 选择 ")
|
|
27100
27100
|
]),
|
|
27101
27101
|
_: 1
|
|
@@ -27105,14 +27105,14 @@ const _w = function(n, e) {
|
|
|
27105
27105
|
a.value ? (U(), K("div", Zw, [
|
|
27106
27106
|
Q(T, {
|
|
27107
27107
|
modelValue: f.value,
|
|
27108
|
-
"onUpdate:modelValue": P[1] || (P[1] = (
|
|
27108
|
+
"onUpdate:modelValue": P[1] || (P[1] = (v) => f.value = v)
|
|
27109
27109
|
}, {
|
|
27110
|
-
default:
|
|
27111
|
-
(U(!0), K(re, null, Fe(b(c), (
|
|
27112
|
-
label:
|
|
27110
|
+
default: x(() => [
|
|
27111
|
+
(U(!0), K(re, null, Fe(b(c), (v) => (U(), oe(Z, {
|
|
27112
|
+
label: v.id
|
|
27113
27113
|
}, {
|
|
27114
|
-
default:
|
|
27115
|
-
B(Me(
|
|
27114
|
+
default: x(() => [
|
|
27115
|
+
B(Me(v.name), 1)
|
|
27116
27116
|
]),
|
|
27117
27117
|
_: 2
|
|
27118
27118
|
}, 1032, ["label"]))), 256))
|
|
@@ -27120,13 +27120,13 @@ const _w = function(n, e) {
|
|
|
27120
27120
|
_: 1
|
|
27121
27121
|
}, 8, ["modelValue"])
|
|
27122
27122
|
])) : (U(), K("div", Aw, [
|
|
27123
|
-
(U(!0), K(re, null, Fe(b(r), (
|
|
27123
|
+
(U(!0), K(re, null, Fe(b(r), (v) => (U(), K("div", Vw, [
|
|
27124
27124
|
M("div", Yw, [
|
|
27125
|
-
M("div", Ew, Me(
|
|
27125
|
+
M("div", Ew, Me(v.name) + " (" + Me(v.url) + ")", 1)
|
|
27126
27126
|
]),
|
|
27127
27127
|
M("div", qw, [
|
|
27128
|
-
(U(!0), K(re, null, Fe(
|
|
27129
|
-
default:
|
|
27128
|
+
(U(!0), K(re, null, Fe(v.columns, (q) => (U(), oe(E, null, {
|
|
27129
|
+
default: x(() => [
|
|
27130
27130
|
q.name === q.columnName ? (U(), K(re, { key: 0 }, [
|
|
27131
27131
|
B(Me(q.name), 1)
|
|
27132
27132
|
], 64)) : (U(), K(re, { key: 1 }, [
|
|
@@ -27145,48 +27145,49 @@ const _w = function(n, e) {
|
|
|
27145
27145
|
key: 0,
|
|
27146
27146
|
span: 16
|
|
27147
27147
|
}, {
|
|
27148
|
-
default:
|
|
27148
|
+
default: x(() => [
|
|
27149
27149
|
Q(se, { "label-position": "top" }, {
|
|
27150
|
-
default:
|
|
27150
|
+
default: x(() => [
|
|
27151
27151
|
Q(N, null, {
|
|
27152
|
-
label:
|
|
27152
|
+
label: x(() => [
|
|
27153
27153
|
Mw
|
|
27154
27154
|
]),
|
|
27155
|
-
default:
|
|
27155
|
+
default: x(() => [
|
|
27156
27156
|
Q(I, {
|
|
27157
27157
|
modelValue: b(i).data.pagination,
|
|
27158
|
-
"onUpdate:modelValue": P[2] || (P[2] = (
|
|
27158
|
+
"onUpdate:modelValue": P[2] || (P[2] = (v) => b(i).data.pagination = v),
|
|
27159
27159
|
disabled: b(i).data.source && b(i).data.source.length > 1
|
|
27160
27160
|
}, null, 8, ["modelValue", "disabled"])
|
|
27161
27161
|
]),
|
|
27162
27162
|
_: 1
|
|
27163
27163
|
}),
|
|
27164
27164
|
b(i).data.pagination ? (U(), oe(N, { key: 0 }, {
|
|
27165
|
-
label:
|
|
27165
|
+
label: x(() => [
|
|
27166
27166
|
Dw
|
|
27167
27167
|
]),
|
|
27168
|
-
default:
|
|
27168
|
+
default: x(() => [
|
|
27169
27169
|
Q(g, {
|
|
27170
27170
|
modelValue: b(i).data.pageSize,
|
|
27171
|
-
"onUpdate:modelValue": P[3] || (P[3] = (
|
|
27171
|
+
"onUpdate:modelValue": P[3] || (P[3] = (v) => b(i).data.pageSize = v),
|
|
27172
|
+
modelModifiers: { number: !0 }
|
|
27172
27173
|
}, null, 8, ["modelValue"])
|
|
27173
27174
|
]),
|
|
27174
27175
|
_: 1
|
|
27175
27176
|
})) : ae("", !0),
|
|
27176
27177
|
b(i).data.pagination ? (U(), oe(N, { key: 1 }, {
|
|
27177
|
-
label:
|
|
27178
|
+
label: x(() => [
|
|
27178
27179
|
Lw
|
|
27179
27180
|
]),
|
|
27180
|
-
default:
|
|
27181
|
+
default: x(() => [
|
|
27181
27182
|
M("div", Uw, [
|
|
27182
|
-
(U(!0), K(re, null, Fe(o.value, (
|
|
27183
|
+
(U(!0), K(re, null, Fe(o.value, (v, q) => (U(), oe(E, {
|
|
27183
27184
|
closable: "",
|
|
27184
|
-
key:
|
|
27185
|
+
key: v,
|
|
27185
27186
|
"disable-transitions": !1,
|
|
27186
|
-
onClose: (
|
|
27187
|
+
onClose: (Y) => $(q)
|
|
27187
27188
|
}, {
|
|
27188
|
-
default:
|
|
27189
|
-
B(Me(
|
|
27189
|
+
default: x(() => [
|
|
27190
|
+
B(Me(v), 1)
|
|
27190
27191
|
]),
|
|
27191
27192
|
_: 2
|
|
27192
27193
|
}, 1032, ["onClose"]))), 128)),
|
|
@@ -27195,7 +27196,7 @@ const _w = function(n, e) {
|
|
|
27195
27196
|
ref_key: "InputRef",
|
|
27196
27197
|
ref: y,
|
|
27197
27198
|
modelValue: R.value,
|
|
27198
|
-
"onUpdate:modelValue": P[4] || (P[4] = (
|
|
27199
|
+
"onUpdate:modelValue": P[4] || (P[4] = (v) => R.value = v),
|
|
27199
27200
|
modelModifiers: { number: !0 },
|
|
27200
27201
|
class: "data-pagesizes-input",
|
|
27201
27202
|
size: "small",
|
|
@@ -27205,7 +27206,7 @@ const _w = function(n, e) {
|
|
|
27205
27206
|
size: "small",
|
|
27206
27207
|
onClick: X
|
|
27207
27208
|
}, {
|
|
27208
|
-
default:
|
|
27209
|
+
default: x(() => [
|
|
27209
27210
|
B(" 添加分页数 ")
|
|
27210
27211
|
]),
|
|
27211
27212
|
_: 1
|
|
@@ -27215,19 +27216,19 @@ const _w = function(n, e) {
|
|
|
27215
27216
|
_: 1
|
|
27216
27217
|
})) : ae("", !0),
|
|
27217
27218
|
Q(N, null, {
|
|
27218
|
-
label:
|
|
27219
|
+
label: x(() => [
|
|
27219
27220
|
zw
|
|
27220
27221
|
]),
|
|
27221
|
-
default:
|
|
27222
|
+
default: x(() => [
|
|
27222
27223
|
Q(Ni, {
|
|
27223
27224
|
height: 300,
|
|
27224
27225
|
modelValue: b(i).data.processData,
|
|
27225
|
-
"onUpdate:modelValue": P[5] || (P[5] = (
|
|
27226
|
+
"onUpdate:modelValue": P[5] || (P[5] = (v) => b(i).data.processData = v)
|
|
27226
27227
|
}, {
|
|
27227
|
-
"pre-code":
|
|
27228
|
+
"pre-code": x(() => [
|
|
27228
27229
|
B("function (allData,key,data){")
|
|
27229
27230
|
]),
|
|
27230
|
-
"next-code":
|
|
27231
|
+
"next-code": x(() => [
|
|
27231
27232
|
B("}")
|
|
27232
27233
|
]),
|
|
27233
27234
|
_: 1
|
|
@@ -27244,24 +27245,24 @@ const _w = function(n, e) {
|
|
|
27244
27245
|
key: 1,
|
|
27245
27246
|
span: 16
|
|
27246
27247
|
}, {
|
|
27247
|
-
default:
|
|
27248
|
+
default: x(() => [
|
|
27248
27249
|
Q(se, { "label-position": "top" }, {
|
|
27249
|
-
default:
|
|
27250
|
+
default: x(() => [
|
|
27250
27251
|
b(s) ? (U(), K(re, { key: 0 }, [
|
|
27251
27252
|
Q(N, null, {
|
|
27252
|
-
label:
|
|
27253
|
+
label: x(() => [
|
|
27253
27254
|
Ww
|
|
27254
27255
|
]),
|
|
27255
|
-
default:
|
|
27256
|
+
default: x(() => [
|
|
27256
27257
|
Q(Ni, {
|
|
27257
27258
|
height: 100,
|
|
27258
27259
|
modelValue: b(i).xAisData,
|
|
27259
|
-
"onUpdate:modelValue": P[6] || (P[6] = (
|
|
27260
|
+
"onUpdate:modelValue": P[6] || (P[6] = (v) => b(i).xAisData = v)
|
|
27260
27261
|
}, {
|
|
27261
|
-
"pre-code":
|
|
27262
|
+
"pre-code": x(() => [
|
|
27262
27263
|
B("function (allData){")
|
|
27263
27264
|
]),
|
|
27264
|
-
"next-code":
|
|
27265
|
+
"next-code": x(() => [
|
|
27265
27266
|
B("}")
|
|
27266
27267
|
]),
|
|
27267
27268
|
_: 1
|
|
@@ -27270,19 +27271,19 @@ const _w = function(n, e) {
|
|
|
27270
27271
|
_: 1
|
|
27271
27272
|
}),
|
|
27272
27273
|
Q(N, null, {
|
|
27273
|
-
label:
|
|
27274
|
+
label: x(() => [
|
|
27274
27275
|
Bw
|
|
27275
27276
|
]),
|
|
27276
|
-
default:
|
|
27277
|
+
default: x(() => [
|
|
27277
27278
|
Q(Ni, {
|
|
27278
27279
|
height: 100,
|
|
27279
27280
|
modelValue: b(i).yAisData,
|
|
27280
|
-
"onUpdate:modelValue": P[7] || (P[7] = (
|
|
27281
|
+
"onUpdate:modelValue": P[7] || (P[7] = (v) => b(i).yAisData = v)
|
|
27281
27282
|
}, {
|
|
27282
|
-
"pre-code":
|
|
27283
|
+
"pre-code": x(() => [
|
|
27283
27284
|
B("function (allData){")
|
|
27284
27285
|
]),
|
|
27285
|
-
"next-code":
|
|
27286
|
+
"next-code": x(() => [
|
|
27286
27287
|
B("}")
|
|
27287
27288
|
]),
|
|
27288
27289
|
_: 1
|
|
@@ -27292,19 +27293,19 @@ const _w = function(n, e) {
|
|
|
27292
27293
|
})
|
|
27293
27294
|
], 64)) : ae("", !0),
|
|
27294
27295
|
Q(N, null, {
|
|
27295
|
-
label:
|
|
27296
|
+
label: x(() => [
|
|
27296
27297
|
Nw
|
|
27297
27298
|
]),
|
|
27298
|
-
default:
|
|
27299
|
+
default: x(() => [
|
|
27299
27300
|
Q(Ni, {
|
|
27300
27301
|
height: 100,
|
|
27301
27302
|
modelValue: b(i).seriesData,
|
|
27302
|
-
"onUpdate:modelValue": P[8] || (P[8] = (
|
|
27303
|
+
"onUpdate:modelValue": P[8] || (P[8] = (v) => b(i).seriesData = v)
|
|
27303
27304
|
}, {
|
|
27304
|
-
"pre-code":
|
|
27305
|
+
"pre-code": x(() => [
|
|
27305
27306
|
B("function (allData){")
|
|
27306
27307
|
]),
|
|
27307
|
-
"next-code":
|
|
27308
|
+
"next-code": x(() => [
|
|
27308
27309
|
B("}")
|
|
27309
27310
|
]),
|
|
27310
27311
|
_: 1
|
|
@@ -27430,47 +27431,47 @@ const Fw = { class: "statement-design-top" }, Hw = { class: "statement-name" },
|
|
|
27430
27431
|
case "params":
|
|
27431
27432
|
if (s.value && (L === R && se || I === R)) {
|
|
27432
27433
|
if (L === "column" && se) {
|
|
27433
|
-
const { dataSource: z, columnIndex:
|
|
27434
|
-
let
|
|
27434
|
+
const { dataSource: z, columnIndex: V } = JSON.parse(se);
|
|
27435
|
+
let v = z.columns[V], q = s.value.params.findIndex((W) => W.columnName === v.columnName), Y = {
|
|
27435
27436
|
key: z.key,
|
|
27436
|
-
columnName:
|
|
27437
|
-
name:
|
|
27437
|
+
columnName: v.columnName,
|
|
27438
|
+
name: v.name,
|
|
27438
27439
|
defaultValue: "",
|
|
27439
|
-
dataType:
|
|
27440
|
-
selectorId:
|
|
27440
|
+
dataType: v.dataType,
|
|
27441
|
+
selectorId: v.selectorId,
|
|
27441
27442
|
type: "LIKE",
|
|
27442
27443
|
isNull: !1,
|
|
27443
27444
|
isShow: !0
|
|
27444
27445
|
};
|
|
27445
27446
|
if (q === -1)
|
|
27446
|
-
s.value.params.push(
|
|
27447
|
+
s.value.params.push(Y);
|
|
27447
27448
|
else if (!isNaN(N)) {
|
|
27448
27449
|
if (q !== -1) {
|
|
27449
27450
|
let [W] = s.value.params.splice(q, 1);
|
|
27450
|
-
W && (
|
|
27451
|
+
W && (Y = W);
|
|
27451
27452
|
}
|
|
27452
|
-
s.value.params.splice(N, 0,
|
|
27453
|
+
s.value.params.splice(N, 0, Y);
|
|
27453
27454
|
}
|
|
27454
27455
|
} else if (!isNaN(N) && k) {
|
|
27455
27456
|
let z = parseInt(k);
|
|
27456
27457
|
if (N !== -1 && !isNaN(z) && z > -1) {
|
|
27457
|
-
let [
|
|
27458
|
-
|
|
27458
|
+
let [V] = s.value.params.splice(z, 1);
|
|
27459
|
+
V && s.value.params.splice(N, 0, V);
|
|
27459
27460
|
}
|
|
27460
27461
|
}
|
|
27461
27462
|
}
|
|
27462
27463
|
break;
|
|
27463
27464
|
case "column":
|
|
27464
27465
|
if (se) {
|
|
27465
|
-
let { columnIndex: z, dataSource:
|
|
27466
|
-
if (z &&
|
|
27467
|
-
let { key:
|
|
27468
|
-
s.value.config[W][
|
|
27466
|
+
let { columnIndex: z, dataSource: V } = JSON.parse(se);
|
|
27467
|
+
if (z && V && s.value) {
|
|
27468
|
+
let { key: v } = V, { columnName: q } = V.columns[z], { col: Y, row: W } = E.dataset;
|
|
27469
|
+
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
27470
|
{
|
|
27470
27471
|
type: ee.CELL,
|
|
27471
27472
|
index: parseInt(N),
|
|
27472
27473
|
row: parseInt(W),
|
|
27473
|
-
col: parseInt(
|
|
27474
|
+
col: parseInt(Y)
|
|
27474
27475
|
}
|
|
27475
27476
|
];
|
|
27476
27477
|
}
|
|
@@ -27523,20 +27524,20 @@ const Fw = { class: "statement-design-top" }, Hw = { class: "statement-name" },
|
|
|
27523
27524
|
M("div", Hw, Me((I = b(t)) == null ? void 0 : I.name), 1),
|
|
27524
27525
|
M("div", Kw, [
|
|
27525
27526
|
Q(L, null, {
|
|
27526
|
-
default:
|
|
27527
|
+
default: x(() => [
|
|
27527
27528
|
b(i) ? (U(), oe(b(Bm), {
|
|
27528
27529
|
key: 1,
|
|
27529
27530
|
effect: "dark",
|
|
27530
27531
|
content: "退出预览",
|
|
27531
27532
|
placement: "top-end"
|
|
27532
27533
|
}, {
|
|
27533
|
-
default:
|
|
27534
|
+
default: x(() => [
|
|
27534
27535
|
b(i) ? (U(), oe(b($e), {
|
|
27535
27536
|
key: 0,
|
|
27536
27537
|
text: "",
|
|
27537
27538
|
onClick: E[2] || (E[2] = (N) => i.value = !1)
|
|
27538
27539
|
}, {
|
|
27539
|
-
default:
|
|
27540
|
+
default: x(() => [
|
|
27540
27541
|
B(" 退出预览 ")
|
|
27541
27542
|
]),
|
|
27542
27543
|
_: 1
|
|
@@ -27548,7 +27549,7 @@ const Fw = { class: "statement-design-top" }, Hw = { class: "statement-name" },
|
|
|
27548
27549
|
text: "",
|
|
27549
27550
|
onClick: Z
|
|
27550
27551
|
}, {
|
|
27551
|
-
default:
|
|
27552
|
+
default: x(() => [
|
|
27552
27553
|
Jw,
|
|
27553
27554
|
B(" 数据修复 ")
|
|
27554
27555
|
]),
|
|
@@ -27559,7 +27560,7 @@ const Fw = { class: "statement-design-top" }, Hw = { class: "statement-name" },
|
|
|
27559
27560
|
type: "warning",
|
|
27560
27561
|
onClick: b(u)
|
|
27561
27562
|
}, {
|
|
27562
|
-
default:
|
|
27563
|
+
default: x(() => [
|
|
27563
27564
|
b(a) ? (U(), K(re, { key: 0 }, [
|
|
27564
27565
|
ek,
|
|
27565
27566
|
B(" 退出全屏 ")
|
|
@@ -27575,7 +27576,7 @@ const Fw = { class: "statement-design-top" }, Hw = { class: "statement-name" },
|
|
|
27575
27576
|
type: "primary",
|
|
27576
27577
|
onClick: b(c)
|
|
27577
27578
|
}, {
|
|
27578
|
-
default:
|
|
27579
|
+
default: x(() => [
|
|
27579
27580
|
ik,
|
|
27580
27581
|
B(" 保存 ")
|
|
27581
27582
|
]),
|
|
@@ -27585,7 +27586,7 @@ const Fw = { class: "statement-design-top" }, Hw = { class: "statement-name" },
|
|
|
27585
27586
|
onClick: E[0] || (E[0] = (N) => m.value = !0),
|
|
27586
27587
|
text: ""
|
|
27587
27588
|
}, {
|
|
27588
|
-
default:
|
|
27589
|
+
default: x(() => [
|
|
27589
27590
|
nk,
|
|
27590
27591
|
B(" 帮助 ")
|
|
27591
27592
|
]),
|
|
@@ -27595,7 +27596,7 @@ const Fw = { class: "statement-design-top" }, Hw = { class: "statement-name" },
|
|
|
27595
27596
|
text: "",
|
|
27596
27597
|
onClick: E[1] || (E[1] = (N) => i.value = !0)
|
|
27597
27598
|
}, {
|
|
27598
|
-
default:
|
|
27599
|
+
default: x(() => [
|
|
27599
27600
|
sk,
|
|
27600
27601
|
B(" 预览 ")
|
|
27601
27602
|
]),
|
|
@@ -27656,4 +27657,4 @@ const Fw = { class: "statement-design-top" }, Hw = { class: "statement-name" },
|
|
|
27656
27657
|
export {
|
|
27657
27658
|
xk as default
|
|
27658
27659
|
};
|
|
27659
|
-
//# sourceMappingURL=StatementDesign-
|
|
27660
|
+
//# sourceMappingURL=StatementDesign-df9afb8d.mjs.map
|