@topdatasec/report 1.1.14 → 1.1.15

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.
@@ -1,11 +1,11 @@
1
- import { defineComponent as T, computed as q, resolveComponent as s, openBlock as _, createElementBlock as x, createElementVNode as V, Fragment as D, renderList as I, normalizeClass as O, createBlock as L, createCommentVNode as U, toDisplayString as B, ref as S, createVNode as l, withCtx as p, onMounted as oe, normalizeProps as pe, guardReactiveProps as de, isVNode as le, normalizeStyle as Le, mergeModels as ce, useModel as me, resolveDirective as _e, withDirectives as fe, unref as h, createTextVNode as R, resolveDynamicComponent as W, isRef as Re, withModifiers as Ue, watch as Ee, shallowRef as Ae, onBeforeUnmount as Fe, onUnmounted as De, reactive as Y, TransitionGroup as qe, mergeProps as ve } from "vue";
2
- import { defineStore as Ie, storeToRefs as ze } from "pinia";
1
+ import { defineComponent as L, computed as q, resolveComponent as s, openBlock as m, createElementBlock as x, createElementVNode as V, Fragment as E, renderList as I, normalizeClass as O, createBlock as T, createCommentVNode as U, toDisplayString as H, ref as S, createVNode as l, withCtx as d, onMounted as le, normalizeProps as pe, guardReactiveProps as de, isVNode as ne, normalizeStyle as Re, mergeModels as ce, useModel as me, resolveDirective as _e, withDirectives as fe, unref as h, createTextVNode as R, resolveDynamicComponent as Y, isRef as Ue, withModifiers as Ee, watch as Ae, shallowRef as Fe, onBeforeUnmount as De, onUnmounted as Ie, reactive as K, TransitionGroup as qe, mergeProps as ve } from "vue";
2
+ import { defineStore as ze, storeToRefs as Be } from "pinia";
3
3
  import { ElMessage as He } from "element-plus";
4
- import { VueDraggable as Be } from "vue-draggable-plus";
5
- import { Toolbar as je, Editor as Pe } from "@wangeditor/editor-for-vue";
6
- import { CircleClose as Me } from "@element-plus/icons-vue";
7
- import { TdsTable as Oe, TdsForm as Ne } from "topdatasec-ui";
8
- const P = () => (/* @__PURE__ */ new Date()).getTime().toString(36) + "-" + Math.random().toString(36).substring(2, 9), K = (o) => JSON.parse(JSON.stringify(o)), We = (o) => o.replace(/-([a-z])/g, (t, e) => e.toUpperCase()).replace(/^[a-z]/, (t) => t.toUpperCase()), H = (o, t) => o[We(t)], Ye = (o) => window.$http.request({
4
+ import { VueDraggable as je } from "vue-draggable-plus";
5
+ import { Toolbar as Pe, Editor as Me } from "@wangeditor/editor-for-vue";
6
+ import { CircleClose as Oe } from "@element-plus/icons-vue";
7
+ import { TdsTable as Ne, TdsForm as We } from "topdatasec-ui";
8
+ const P = () => (/* @__PURE__ */ new Date()).getTime().toString(36) + "-" + Math.random().toString(36).substring(2, 9), G = (o) => JSON.parse(JSON.stringify(o)), Ye = (o) => o.replace(/-([a-z])/g, (t, e) => e.toUpperCase()).replace(/^[a-z]/, (t) => t.toUpperCase()), B = (o, t) => o[Ye(t)], Ke = (o) => window.$http.request({
9
9
  url: `${window.$reportURL}/tds/report/demo/get`,
10
10
  method: "get",
11
11
  params: o,
@@ -15,20 +15,20 @@ const P = () => (/* @__PURE__ */ new Date()).getTime().toString(36) + "-" + Math
15
15
  method: "get",
16
16
  params: o,
17
17
  isError: !1
18
- }), Ke = (o) => window.$http.request({
18
+ }), Ge = (o) => window.$http.request({
19
19
  url: `${window.$reportURL}/tds/report/preview`,
20
20
  method: "get",
21
21
  params: o,
22
22
  isError: !1
23
- }), Ge = (o) => window.$http.request({
23
+ }), Je = (o) => window.$http.request({
24
24
  url: `${window.$reportURL}/tds/report/add`,
25
25
  method: "post",
26
26
  data: o
27
- }), Je = (o) => window.$http.request({
27
+ }), Qe = (o) => window.$http.request({
28
28
  url: `${window.$reportURL}/tds/report/put`,
29
29
  method: "put",
30
30
  data: o
31
- }), Qe = (o) => window.$http.request({
31
+ }), Xe = (o) => window.$http.request({
32
32
  url: `${window.$reportURL}/tds/report/get`,
33
33
  method: "get",
34
34
  params: o,
@@ -38,63 +38,69 @@ const P = () => (/* @__PURE__ */ new Date()).getTime().toString(36) + "-" + Math
38
38
  method: "get",
39
39
  params: o,
40
40
  isError: !1
41
- }), Xe = (o) => window.$http.request({
41
+ }), Ze = (o) => window.$http.request({
42
42
  url: `${window.$reportURL}/tds/report/delete`,
43
43
  method: "delete",
44
44
  data: o
45
- }), Ze = (o) => window.$http.request({
45
+ }), et = (o) => window.$http.request({
46
46
  url: `${window.$reportURL}/tds/report/item/list`,
47
47
  method: "get",
48
48
  params: o,
49
49
  isError: !1
50
- }), et = (o) => window.$http.request({
50
+ }), tt = (o) => window.$http.request({
51
51
  url: `${window.$reportURL}/tds/report/item/delete`,
52
52
  method: "delete",
53
53
  data: o
54
- }), tt = (o) => window.$http.request({
54
+ }), ot = (o) => window.$http.request({
55
55
  url: `${window.$reportURL}/tds/report/item/add`,
56
56
  method: "post",
57
57
  data: o
58
- }), ot = (o) => window.$http.request({
58
+ }), lt = (o) => window.$http.request({
59
59
  url: `${window.$reportURL}/tds/report/item/put`,
60
60
  method: "put",
61
61
  data: o
62
- }), lt = (o) => window.$http.request({
62
+ }), nt = (o) => window.$http.request({
63
63
  url: `${window.$reportURL}/tds/report/sub/get`,
64
64
  method: "get",
65
65
  params: o,
66
66
  isError: !1
67
- }), nt = (o) => window.$http.request({
67
+ }), at = (o) => window.$http.request({
68
68
  url: `${window.$reportURL}/tds/report/sub/add`,
69
69
  method: "post",
70
70
  data: o
71
- }), at = (o) => window.$http.request({
71
+ }), rt = (o) => window.$http.request({
72
72
  url: `${window.$reportURL}/tds/report/sub/put`,
73
73
  method: "put",
74
74
  data: o
75
- }), rt = (o) => window.$http.request({
75
+ }), st = (o) => window.$http.request({
76
76
  url: `${window.$reportURL}/tds/report/sub/delete`,
77
77
  method: "delete",
78
78
  data: o
79
- }), st = (o) => window.$http.request({
79
+ }), it = (o) => window.$http.request({
80
80
  url: `${window.$reportURL}/tds/report/sub/edit/state`,
81
81
  method: "post",
82
82
  data: o
83
- }), it = (o) => window.$http.request({
83
+ }), ut = (o) => window.$http.request({
84
84
  url: `${window.$reportURL}/tds/report/all`,
85
85
  method: "get",
86
86
  params: o,
87
87
  isError: !1
88
- }), ut = (o) => window.$http.request({
88
+ }), pt = (o) => window.$http.request({
89
89
  url: `${window.$reportURL}/tds/report/sub/get_format`,
90
90
  method: "get",
91
91
  params: o,
92
92
  isError: !1
93
- }), pt = (o) => window.$http.request({
93
+ }), dt = (o) => window.$http.request({
94
94
  url: `${window.$reportURL}/tds/report/filter/get_select_data`,
95
95
  method: "get",
96
96
  params: o,
97
97
  isError: !1
98
+ }), ct = (o = {}) => window.$http.request({
99
+ url: `${window.$reportURL}/tds/report/build_in/get`,
100
+ method: "get",
101
+ params: o,
102
+ loading: !1,
103
+ isError: !1
98
104
  }), ge = "rgba(51, 51, 51, 0.15)", j = "rgba(51, 51, 51, 1)", M = 12, he = (o = !1) => {
99
105
  const t = {
100
106
  // top: '2%',
@@ -104,7 +110,7 @@ const P = () => (/* @__PURE__ */ new Date()).getTime().toString(36) + "-" + Math
104
110
  containLabel: !0
105
111
  };
106
112
  return o && (t.top = "5%"), t;
107
- }, F = [
113
+ }, D = [
108
114
  "46, 145, 255",
109
115
  "48, 212, 183",
110
116
  "108, 108, 255",
@@ -125,12 +131,12 @@ const P = () => (/* @__PURE__ */ new Date()).getTime().toString(36) + "-" + Math
125
131
  "100, 161, 206",
126
132
  "246, 175, 159",
127
133
  "238, 97, 97"
128
- ], dt = (o, t, e = "", a = { name: "name", value: "value" }) => {
134
+ ], mt = (o, t, e = "", a = { name: "name", value: "value" }) => {
129
135
  const r = [], n = [];
130
136
  t.forEach((i) => {
131
137
  r.push(i[a.name]), n.push(i[a.value]);
132
138
  }), o.xAxis[0].data = r, o.series[0].data = n, o.series[0].name = e, o.series[1].data = n, o.series[2].data = n;
133
- }, J = (o = [
139
+ }, Q = (o = [
134
140
  {
135
141
  name: "数据1",
136
142
  value: 63
@@ -246,7 +252,7 @@ const P = () => (/* @__PURE__ */ new Date()).getTime().toString(36) + "-" + Math
246
252
  type: "bar",
247
253
  barWidth: 15,
248
254
  barGap: "0%",
249
- itemStyle: e(`rgba(${F[0]}, 0.7)`, `rgba(${F[0]}, 0.2)`),
255
+ itemStyle: e(`rgba(${D[0]}, 0.7)`, `rgba(${D[0]}, 0.2)`),
250
256
  data: a,
251
257
  label: {
252
258
  show: !0,
@@ -266,7 +272,7 @@ const P = () => (/* @__PURE__ */ new Date()).getTime().toString(36) + "-" + Math
266
272
  symbolSize: [15, 10],
267
273
  //调整截面形状
268
274
  symbolOffset: [0, 5],
269
- itemStyle: e(`rgba(${F[0]}, 0.7)`, `rgba(${F[0]}, 0.2)`),
275
+ itemStyle: e(`rgba(${D[0]}, 0.7)`, `rgba(${D[0]}, 0.2)`),
270
276
  data: a
271
277
  },
272
278
  {
@@ -277,19 +283,19 @@ const P = () => (/* @__PURE__ */ new Date()).getTime().toString(36) + "-" + Math
277
283
  //调整截面形状
278
284
  symbolOffset: [0, -5],
279
285
  symbolPosition: "end",
280
- itemStyle: e(`rgba(${F[0]}, 0.9)`, `rgba(${F[0]}, 1)`),
286
+ itemStyle: e(`rgba(${D[0]}, 0.9)`, `rgba(${D[0]}, 1)`),
281
287
  data: a
282
288
  }
283
289
  ]
284
290
  };
285
- }, ct = ({ chartOption: o, data: t, props: e = { name: "label", value: "data" } }) => {
291
+ }, _t = ({ chartOption: o, data: t, props: e = { name: "label", value: "data" } }) => {
286
292
  let a = 0;
287
293
  const r = t.map((n, i) => (a += Number(n[e.value]), {
288
294
  name: n[e.name],
289
295
  value: Number(n[e.value])
290
296
  }));
291
297
  o.legend.data = r, o.series[0].data = r, o.graphic[1].style.text = a;
292
- }, mt = () => F.map((o) => `rgba(${o}, 1)`), ne = ({
298
+ }, ft = () => D.map((o) => `rgba(${o}, 1)`), ae = ({
293
299
  data: o = [
294
300
  {
295
301
  name: "数据1",
@@ -311,16 +317,16 @@ const P = () => (/* @__PURE__ */ new Date()).getTime().toString(36) + "-" + Math
311
317
  center: n = ["50%", "50%"],
312
318
  isTitle: i = !0
313
319
  }) => {
314
- const v = {
315
- color: mt(),
320
+ const f = {
321
+ color: ft(),
316
322
  toolbox: { show: !1 },
317
323
  tooltip: {
318
324
  trigger: "item",
319
325
  show: !0,
320
- formatter: (d) => {
321
- const { name: b, value: f } = d;
322
- return `<div style="color: ${d.color}; font-size: 14px;">${b}&nbsp;&nbsp;&nbsp;</div>
323
- <div><span style="font-size: 14px; color: #86909c; float: right;">数量:${f}</span></div>`;
326
+ formatter: (p) => {
327
+ const { name: b, value: v } = p;
328
+ return `<div style="color: ${p.color}; font-size: 14px;">${b}&nbsp;&nbsp;&nbsp;</div>
329
+ <div><span style="font-size: 14px; color: #86909c; float: right;">数量:${v}</span></div>`;
324
330
  }
325
331
  },
326
332
  title: {
@@ -336,10 +342,10 @@ const P = () => (/* @__PURE__ */ new Date()).getTime().toString(36) + "-" + Math
336
342
  legend: {
337
343
  show: a,
338
344
  left: "70%",
339
- formatter: (d) => {
340
- var f;
341
- const b = (f = v.series[0]) == null ? void 0 : f.data.find((c) => c.name === d).value;
342
- return ` ${d} | ${b}`;
345
+ formatter: (p) => {
346
+ var v;
347
+ const b = (v = f.series[0]) == null ? void 0 : v.data.find((c) => c.name === p).value;
348
+ return ` ${p} | ${b}`;
343
349
  },
344
350
  textStyle: {
345
351
  fontSize: M,
@@ -392,8 +398,8 @@ const P = () => (/* @__PURE__ */ new Date()).getTime().toString(36) + "-" + Math
392
398
  borderWidth: 1,
393
399
  borderColor: "inherit",
394
400
  padding: [3, -3, 3, -3],
395
- formatter: function(d) {
396
- return `{a|${d.name}(${d.value})}`;
401
+ formatter: function(p) {
402
+ return `{a|${p.name}(${p.value})}`;
397
403
  },
398
404
  rich: {
399
405
  a: {
@@ -450,24 +456,24 @@ const P = () => (/* @__PURE__ */ new Date()).getTime().toString(36) + "-" + Math
450
456
  }
451
457
  ]
452
458
  };
453
- return v;
454
- }, _t = (o, t, e = { name: "name", value: "value" }) => {
459
+ return f;
460
+ }, vt = (o, t, e = { name: "name", value: "value" }) => {
455
461
  o.xAxis.data = t.map((a) => a[e.name]), Array.isArray(e.value) ? e.value.forEach((a, r) => {
456
462
  o.series[r].data = t.map((n) => n[a.value]);
457
463
  }) : typeof e.value == "string" && (o.series[0].data = t.map((a) => a[e.value]));
458
- }, ft = () => ({
464
+ }, bt = () => ({
459
465
  name: "",
460
466
  type: "line",
461
467
  symbol: "circle",
462
468
  smooth: !0,
463
469
  lineStyle: {
464
470
  width: 1,
465
- color: `rgba(${F[0]}, 1)`
471
+ color: `rgba(${D[0]}, 1)`
466
472
  // 线条颜色
467
473
  },
468
474
  showSymbol: !1,
469
475
  itemStyle: {
470
- color: `rgba(${F[0]}, 1)`,
476
+ color: `rgba(${D[0]}, 1)`,
471
477
  //拐点颜色
472
478
  label: {
473
479
  show: !0,
@@ -490,18 +496,18 @@ const P = () => (/* @__PURE__ */ new Date()).getTime().toString(36) + "-" + Math
490
496
  // 渐变颜色
491
497
  {
492
498
  offset: 0,
493
- color: `rgba(${F[0]}, 0.7)`
499
+ color: `rgba(${D[0]}, 0.7)`
494
500
  },
495
501
  {
496
502
  offset: 1,
497
- color: `rgba(${F[0]}, 0.1)`
503
+ color: `rgba(${D[0]}, 0.1)`
498
504
  }
499
505
  ],
500
506
  global: !1
501
507
  }
502
508
  },
503
509
  data: []
504
- }), G = (o = [
510
+ }), J = (o = [
505
511
  {
506
512
  name: "2024-08",
507
513
  value: 63
@@ -573,31 +579,31 @@ const P = () => (/* @__PURE__ */ new Date()).getTime().toString(36) + "-" + Math
573
579
  }
574
580
  },
575
581
  series: []
576
- }, a = ft(), r = [];
582
+ }, a = bt(), r = [];
577
583
  if (Array.isArray(t.value))
578
584
  t.value.forEach((n, i) => {
579
- const v = K(a);
580
- v.name = n.name, v.lineStyle.color = `rgba(${F[i]}, 1)`, v.itemStyle.color = `rgba(${F[i]}, 1)`, v.areaStyle.color.colorStops[0].color = `rgba(${F[i]}, 0.7)`, v.areaStyle.color.colorStops[1].color = `rgba(${F[i]}, 0.1)`, v.data = o.map((d) => d[n.value]), r.push(v);
585
+ const f = G(a);
586
+ f.name = n.name, f.lineStyle.color = `rgba(${D[i]}, 1)`, f.itemStyle.color = `rgba(${D[i]}, 1)`, f.areaStyle.color.colorStops[0].color = `rgba(${D[i]}, 0.7)`, f.areaStyle.color.colorStops[1].color = `rgba(${D[i]}, 0.1)`, f.data = o.map((p) => p[n.value]), r.push(f);
581
587
  });
582
588
  else if (typeof t.value == "string") {
583
- const n = K(a);
589
+ const n = G(a);
584
590
  n.data = o.map((i) => i[t.value]), r.push(n);
585
591
  }
586
592
  return e.series = r, e;
587
- }, ae = [
593
+ }, re = [
588
594
  { key: "assets", name: "资产名称" },
589
595
  { key: "type", name: "资产类型" },
590
596
  { key: "data", name: "资产数据" }
591
- ], re = [
597
+ ], se = [
592
598
  { assets: "name1", type: "type1", data: "data1" },
593
599
  { assets: "name2", type: "type2", data: "data2" },
594
600
  { assets: "name3", type: "type3", data: "data3" }
595
- ], X = [
601
+ ], Z = [
596
602
  { data: [{ name: "默认数据", value: 180 }], label: "name1" },
597
603
  { data: [{ name: "默认数据", value: 311 }], label: "name2" },
598
604
  { data: [{ name: "默认数据", value: 42 }], label: "name3" },
599
605
  { data: [{ name: "默认数据", value: 32391 }], label: "name4" }
600
- ], vt = [
606
+ ], yt = [
601
607
  {
602
608
  data: 63,
603
609
  label: "数据1"
@@ -610,7 +616,7 @@ const P = () => (/* @__PURE__ */ new Date()).getTime().toString(36) + "-" + Math
610
616
  data: 43,
611
617
  label: "数据3"
612
618
  }
613
- ], bt = [
619
+ ], gt = [
614
620
  {
615
621
  type: "report-select",
616
622
  label: "资产:",
@@ -675,8 +681,8 @@ const P = () => (/* @__PURE__ */ new Date()).getTime().toString(36) + "-" + Math
675
681
  },
676
682
  {
677
683
  type: "report-table",
678
- data: re,
679
- showColumn: ae,
684
+ data: se,
685
+ showColumn: re,
680
686
  name: "表格",
681
687
  options: {
682
688
  showColumn: {
@@ -691,7 +697,7 @@ const P = () => (/* @__PURE__ */ new Date()).getTime().toString(36) + "-" + Math
691
697
  rp_item_uuid: "",
692
698
  id: P()
693
699
  }
694
- ], yt = [
700
+ ], ht = [
695
701
  {
696
702
  type: "h1",
697
703
  data: "报表名称",
@@ -738,8 +744,8 @@ const P = () => (/* @__PURE__ */ new Date()).getTime().toString(36) + "-" + Math
738
744
  { type: "p", data: "正文", name: "正文", rp_item_uuid: "", id: "" },
739
745
  {
740
746
  type: "report-table",
741
- data: re,
742
- showColumn: ae,
747
+ data: se,
748
+ showColumn: re,
743
749
  name: "表格",
744
750
  options: {
745
751
  border: !0,
@@ -756,45 +762,45 @@ const P = () => (/* @__PURE__ */ new Date()).getTime().toString(36) + "-" + Math
756
762
  },
757
763
  {
758
764
  type: "bar",
759
- data: X,
765
+ data: Z,
760
766
  showColumn: [{ key: "label", value: "data" }],
761
767
  name: "图表",
762
- options: J(),
768
+ options: Q(),
763
769
  rp_item_uuid: "",
764
770
  id: ""
765
771
  }
766
- ], gt = (o) => ({
772
+ ], wt = (o) => ({
767
773
  bar: {
768
774
  type: "bar",
769
- data: X,
775
+ data: Z,
770
776
  showColumn: [{ key: "label", value: "data" }],
771
777
  name: "图表",
772
- options: J(),
778
+ options: Q(),
773
779
  rp_item_uuid: "",
774
780
  id: ""
775
781
  },
776
782
  line: {
777
783
  type: "line",
778
- data: X,
784
+ data: Z,
779
785
  showColumn: [{ key: "label", value: "data" }],
780
786
  name: "图表",
781
- options: G(),
787
+ options: J(),
782
788
  rp_item_uuid: "",
783
789
  id: ""
784
790
  },
785
791
  pie: {
786
792
  type: "pie",
787
- data: vt,
793
+ data: yt,
788
794
  showColumn: [{ key: "label", value: "data" }],
789
795
  name: "图表",
790
- options: ne({ isLegend: !0 }),
796
+ options: ae({ isLegend: !0 }),
791
797
  rp_item_uuid: "",
792
798
  id: ""
793
799
  },
794
800
  "report-table": {
795
801
  type: "report-table",
796
- data: re,
797
- showColumn: ae,
802
+ data: se,
803
+ showColumn: re,
798
804
  name: "表格",
799
805
  options: {
800
806
  showColumn: {
@@ -809,7 +815,7 @@ const P = () => (/* @__PURE__ */ new Date()).getTime().toString(36) + "-" + Math
809
815
  rp_item_uuid: "",
810
816
  id: ""
811
817
  }
812
- })[o], z = Ie("tds-report", {
818
+ })[o], z = ze("tds-report", {
813
819
  state: () => ({
814
820
  componentList: [],
815
821
  activeComponents: {},
@@ -830,7 +836,7 @@ const P = () => (/* @__PURE__ */ new Date()).getTime().toString(36) + "-" + Math
830
836
  },
831
837
  async getReportDemo(o) {
832
838
  let t = [];
833
- o ? t = (await Ye({ report_uuid: o })).data : t = { content: K(bt), range_time: 1 };
839
+ o ? t = (await Ke({ report_uuid: o })).data : t = { content: G(gt), range_time: 1 };
834
840
  const e = [];
835
841
  t.content.forEach((a) => {
836
842
  (a.type === "report-select" || a.type === "range-time") && e.push(a), a.type === "h1" && (this.titleComponent = a), a.id = P();
@@ -846,7 +852,7 @@ const P = () => (/* @__PURE__ */ new Date()).getTime().toString(36) + "-" + Math
846
852
  };
847
853
  }
848
854
  }
849
- }), ht = { class: "catalogue" }, wt = ["href", "title"], Ct = /* @__PURE__ */ T({
855
+ }), Ct = { class: "catalogue" }, xt = ["href", "title"], $t = /* @__PURE__ */ L({
850
856
  __name: "Catalogue",
851
857
  props: {
852
858
  data: { default: () => [] }
@@ -855,13 +861,13 @@ const P = () => (/* @__PURE__ */ new Date()).getTime().toString(36) + "-" + Math
855
861
  const t = o, e = q(() => t.data.filter((a) => ["h2", "h3", "h4"].includes(a.type)));
856
862
  return (a, r) => {
857
863
  const n = s("el-divider");
858
- return _(), x("div", ht, [
864
+ return m(), x("div", Ct, [
859
865
  r[0] || (r[0] = V("div", { class: "cata-title el-anchor__link" }, "目录", -1)),
860
- (_(!0), x(D, null, I(e.value, (i) => (_(), x("div", {
866
+ (m(!0), x(E, null, I(e.value, (i) => (m(), x("div", {
861
867
  class: O("level" + i.type),
862
868
  key: i.value
863
869
  }, [
864
- i.type === "h2" ? (_(), L(n, {
870
+ i.type === "h2" ? (m(), T(n, {
865
871
  key: 0,
866
872
  style: { "margin-top": "10px", "margin-bottom": "10px" }
867
873
  })) : U("", !0),
@@ -869,20 +875,20 @@ const P = () => (/* @__PURE__ */ new Date()).getTime().toString(36) + "-" + Math
869
875
  class: "el-anchor__link",
870
876
  href: "#" + i.id,
871
877
  title: i.data
872
- }, B(i.data), 9, wt)
878
+ }, H(i.data), 9, xt)
873
879
  ], 2))), 128))
874
880
  ]);
875
881
  };
876
882
  }
877
883
  });
878
- const Q = (o, t) => {
884
+ const N = (o, t) => {
879
885
  const e = o.__vccOpts || o;
880
886
  for (const [a, r] of t)
881
887
  e[a] = r;
882
888
  return e;
883
- }, xt = /* @__PURE__ */ Q(Ct, [["__scopeId", "data-v-1cd8aa2d"]]), $t = {
889
+ }, kt = /* @__PURE__ */ N($t, [["__scopeId", "data-v-1cd8aa2d"]]), Vt = {
884
890
  class: "chart-components"
885
- }, we = /* @__PURE__ */ T({
891
+ }, we = /* @__PURE__ */ L({
886
892
  __name: "Bar",
887
893
  props: {
888
894
  value: {}
@@ -891,12 +897,12 @@ const Q = (o, t) => {
891
897
  const t = o, e = q(() => t.value.options);
892
898
  return S(!1), (a, r) => {
893
899
  const n = s("TdsChart");
894
- return _(), x("div", $t, [l(n, {
900
+ return m(), x("div", Vt, [l(n, {
895
901
  option: e.value
896
902
  }, null, 8, ["option"])]);
897
903
  };
898
904
  }
899
- }), kt = { class: "chart-components" }, Ce = /* @__PURE__ */ T({
905
+ }), St = { class: "chart-components" }, Ce = /* @__PURE__ */ L({
900
906
  __name: "Line",
901
907
  props: {
902
908
  value: {}
@@ -905,12 +911,12 @@ const Q = (o, t) => {
905
911
  const t = o, e = q(() => t.value.options);
906
912
  return (a, r) => {
907
913
  const n = s("TdsChart");
908
- return _(), x("div", kt, [
914
+ return m(), x("div", St, [
909
915
  l(n, { option: e.value }, null, 8, ["option"])
910
916
  ]);
911
917
  };
912
918
  }
913
- }), Vt = { class: "chart-components" }, xe = /* @__PURE__ */ T({
919
+ }), Tt = { class: "chart-components" }, xe = /* @__PURE__ */ L({
914
920
  __name: "Pie",
915
921
  props: {
916
922
  value: {}
@@ -919,12 +925,12 @@ const Q = (o, t) => {
919
925
  const t = o, e = q(() => t.value.options);
920
926
  return (a, r) => {
921
927
  const n = s("TdsChart");
922
- return _(), x("div", Vt, [
928
+ return m(), x("div", Tt, [
923
929
  l(n, { option: e.value }, null, 8, ["option"])
924
930
  ]);
925
931
  };
926
932
  }
927
- }), St = { key: 0 }, Z = /* @__PURE__ */ T({
933
+ }), Lt = { key: 0 }, ee = /* @__PURE__ */ L({
928
934
  __name: "ReportSelect",
929
935
  props: {
930
936
  value: {}
@@ -934,22 +940,22 @@ const Q = (o, t) => {
934
940
  const e = t, a = (i) => {
935
941
  e("change", i);
936
942
  }, n = S(o.value);
937
- return (i, v) => {
938
- const d = s("el-option"), b = s("el-select");
939
- return n.value.data ? (_(), x("div", St, [
943
+ return (i, f) => {
944
+ const p = s("el-option"), b = s("el-select");
945
+ return n.value.data ? (m(), x("div", Lt, [
940
946
  l(b, {
941
947
  modelValue: n.value.value,
942
- "onUpdate:modelValue": v[0] || (v[0] = (f) => n.value.value = f),
948
+ "onUpdate:modelValue": f[0] || (f[0] = (v) => n.value.value = v),
943
949
  multiple: "",
944
950
  style: { width: "100%" },
945
951
  onChange: a,
946
952
  placeholder: "全部"
947
953
  }, {
948
- default: p(() => [
949
- (_(!0), x(D, null, I(n.value.data, (f) => (_(), L(d, {
950
- key: f.data,
951
- label: f.label,
952
- value: f.data
954
+ default: d(() => [
955
+ (m(!0), x(E, null, I(n.value.data, (v) => (m(), T(p, {
956
+ key: v.data,
957
+ label: v.label,
958
+ value: v.data
953
959
  }, null, 8, ["label", "value"]))), 128))
954
960
  ]),
955
961
  _: 1
@@ -957,7 +963,7 @@ const Q = (o, t) => {
957
963
  ])) : U("", !0);
958
964
  };
959
965
  }
960
- }), ee = /* @__PURE__ */ T({
966
+ }), te = /* @__PURE__ */ L({
961
967
  __name: "RangeTime",
962
968
  props: {
963
969
  value: {}
@@ -965,17 +971,17 @@ const Q = (o, t) => {
965
971
  emits: ["change"],
966
972
  setup(o, { emit: t }) {
967
973
  const e = t, r = S(o.value), n = S([]);
968
- function i(v) {
969
- v ? (r.value.data[0].start_time = v[0], r.value.data[0].end_time = v[1]) : n.value = [], e("change", n.value);
974
+ function i(f) {
975
+ f ? (r.value.data[0].start_time = f[0], r.value.data[0].end_time = f[1]) : n.value = [], e("change", n.value);
970
976
  }
971
- return oe(() => {
977
+ return le(() => {
972
978
  n.value = [r.value.data[0].start_time, r.value.data[0].end_time];
973
- }), (v, d) => {
979
+ }), (f, p) => {
974
980
  const b = s("el-date-picker");
975
- return _(), x("div", null, [
981
+ return m(), x("div", null, [
976
982
  l(b, {
977
983
  modelValue: n.value,
978
- "onUpdate:modelValue": d[0] || (d[0] = (f) => n.value = f),
984
+ "onUpdate:modelValue": p[0] || (p[0] = (v) => n.value = v),
979
985
  type: "datetimerange",
980
986
  placeholder: "Pick a Date",
981
987
  format: "YYYY-MM-DD HH:mm:ss",
@@ -987,10 +993,10 @@ const Q = (o, t) => {
987
993
  };
988
994
  }
989
995
  });
990
- function Tt(o) {
991
- return typeof o == "function" || Object.prototype.toString.call(o) === "[object Object]" && !le(o);
996
+ function Rt(o) {
997
+ return typeof o == "function" || Object.prototype.toString.call(o) === "[object Object]" && !ne(o);
992
998
  }
993
- const $e = /* @__PURE__ */ T({
999
+ const $e = /* @__PURE__ */ L({
994
1000
  __name: "ReportTable",
995
1001
  props: {
996
1002
  value: {}
@@ -1003,16 +1009,16 @@ const $e = /* @__PURE__ */ T({
1003
1009
  border: t.value.options.border,
1004
1010
  "show-header": !!t.value.options.showHeader,
1005
1011
  stripe: t.value.options.stripe
1006
- }, Tt(r = a.showColumn.map((n) => t.value.options.showColumn[n.key] === !0 ? l(s("el-table-column"), {
1012
+ }, Rt(r = a.showColumn.map((n) => t.value.options.showColumn[n.key] === !0 ? l(s("el-table-column"), {
1007
1013
  prop: n.key,
1008
1014
  label: n.name
1009
1015
  }, null) : null)) ? r : {
1010
1016
  default: () => [r]
1011
1017
  });
1012
1018
  };
1013
- return (a, r) => (_(), x("div", null, [l(e, pe(de(a.value)), null, 16)]));
1019
+ return (a, r) => (m(), x("div", null, [l(e, pe(de(a.value)), null, 16)]));
1014
1020
  }
1015
- }), te = /* @__PURE__ */ T({
1021
+ }), oe = /* @__PURE__ */ L({
1016
1022
  __name: "ReportText",
1017
1023
  props: {
1018
1024
  value: {}
@@ -1029,11 +1035,11 @@ const $e = /* @__PURE__ */ T({
1029
1035
  "text-align": a.textAlign
1030
1036
  };
1031
1037
  };
1032
- return (a, r) => (_(), x("div", {
1033
- style: Le(e())
1034
- }, B(a.value.data), 5));
1038
+ return (a, r) => (m(), x("div", {
1039
+ style: Re(e())
1040
+ }, H(a.value.data), 5));
1035
1041
  }
1036
- }), Lt = { class: "chart-components" }, ke = /* @__PURE__ */ T({
1042
+ }), Ut = { class: "chart-components" }, ke = /* @__PURE__ */ L({
1037
1043
  __name: "ReportChart",
1038
1044
  props: {
1039
1045
  value: {}
@@ -1041,7 +1047,7 @@ const $e = /* @__PURE__ */ T({
1041
1047
  setup(o) {
1042
1048
  const t = o, e = q(() => t.value), a = q(() => {
1043
1049
  if (e.value.type === "bar") {
1044
- e.value.options.series = J([]).series;
1050
+ e.value.options.series = Q([]).series;
1045
1051
  const r = [];
1046
1052
  let n = "";
1047
1053
  e.value.data.forEach((i) => {
@@ -1049,40 +1055,40 @@ const $e = /* @__PURE__ */ T({
1049
1055
  name: i.label,
1050
1056
  value: i.data[0].value
1051
1057
  });
1052
- }), dt(e.value.options, r, n);
1058
+ }), mt(e.value.options, r, n);
1053
1059
  }
1054
- if (e.value.type === "pie" && (e.value.options = ne({ isLegend: !0 }), ct({ chartOption: e.value.options, data: e.value.data })), e.value.type === "line") {
1060
+ if (e.value.type === "pie" && (e.value.options = ae({ isLegend: !0 }), _t({ chartOption: e.value.options, data: e.value.data })), e.value.type === "line") {
1055
1061
  let r = [];
1056
- e.value.data.forEach((v) => {
1057
- r = v.data.map((d, b) => ({ name: d.name, value: "value" + b }));
1062
+ e.value.data.forEach((f) => {
1063
+ r = f.data.map((p, b) => ({ name: p.name, value: "value" + b }));
1058
1064
  });
1059
1065
  const n = {
1060
1066
  name: "name",
1061
1067
  value: r
1062
- }, i = e.value.data.map((v) => {
1063
- const d = {
1064
- name: v.label
1068
+ }, i = e.value.data.map((f) => {
1069
+ const p = {
1070
+ name: f.label
1065
1071
  };
1066
- return r.forEach((b, f) => {
1067
- d[b.value] = v.data[f].value;
1068
- }), d;
1072
+ return r.forEach((b, v) => {
1073
+ p[b.value] = f.data[v].value;
1074
+ }), p;
1069
1075
  });
1070
- console.log(G([], n), "chartsLine([], params)"), e.value.options.series = G([], n).series, _t(e.value.options, i, n);
1076
+ console.log(J([], n), "chartsLine([], params)"), e.value.options.series = J([], n).series, vt(e.value.options, i, n);
1071
1077
  }
1072
1078
  return e.value.options;
1073
1079
  });
1074
1080
  return (r, n) => {
1075
1081
  const i = s("TdsChart");
1076
- return _(), x("div", Lt, [
1082
+ return m(), x("div", Ut, [
1077
1083
  l(i, { option: a.value }, null, 8, ["option"])
1078
1084
  ]);
1079
1085
  };
1080
1086
  }
1081
1087
  });
1082
- function Rt(o) {
1083
- return typeof o == "function" || Object.prototype.toString.call(o) === "[object Object]" && !le(o);
1088
+ function Et(o) {
1089
+ return typeof o == "function" || Object.prototype.toString.call(o) === "[object Object]" && !ne(o);
1084
1090
  }
1085
- const Ve = /* @__PURE__ */ T({
1091
+ const Ve = /* @__PURE__ */ L({
1086
1092
  __name: "ReportDescribe",
1087
1093
  props: {
1088
1094
  value: {}
@@ -1095,7 +1101,7 @@ const Ve = /* @__PURE__ */ T({
1095
1101
  border: t.value.options.border,
1096
1102
  column: t.value.options.column,
1097
1103
  direction: t.value.options.direction
1098
- }, Rt(r = a.showColumn.map((n) => l(s("el-descriptions-item"), {
1104
+ }, Et(r = a.showColumn.map((n) => l(s("el-descriptions-item"), {
1099
1105
  label: n.name
1100
1106
  }, {
1101
1107
  default: () => [t.value.data[n.key]]
@@ -1103,19 +1109,19 @@ const Ve = /* @__PURE__ */ T({
1103
1109
  default: () => [r]
1104
1110
  });
1105
1111
  };
1106
- return (a, r) => (_(), x("div", null, [l(e, pe(de(a.value)), null, 16)]));
1112
+ return (a, r) => (m(), x("div", null, [l(e, pe(de(a.value)), null, 16)]));
1107
1113
  }
1108
- }), Ut = {
1114
+ }), At = {
1109
1115
  class: "editor-box"
1110
- }, Et = {
1116
+ }, Ft = {
1111
1117
  class: "editor",
1112
1118
  id: "editor",
1113
1119
  style: {
1114
1120
  width: "100%"
1115
1121
  }
1116
- }, At = {
1122
+ }, Dt = {
1117
1123
  class: "editor-content flex flex-start"
1118
- }, Ft = ["id"], Dt = ["innerHTML"], qt = /* @__PURE__ */ T({
1124
+ }, It = ["id"], qt = ["innerHTML"], zt = /* @__PURE__ */ L({
1119
1125
  __name: "index",
1120
1126
  props: /* @__PURE__ */ ce({
1121
1127
  reportId: {
@@ -1132,58 +1138,58 @@ const Ve = /* @__PURE__ */ T({
1132
1138
  Bar: we,
1133
1139
  Line: Ce,
1134
1140
  Pie: xe,
1135
- ReportSelect: Z,
1136
- RangeTime: ee,
1141
+ ReportSelect: ee,
1142
+ RangeTime: te,
1137
1143
  ReportTable: $e,
1138
- ReportText: te,
1144
+ ReportText: oe,
1139
1145
  ReportChart: ke,
1140
1146
  ReportDescribe: Ve
1141
- }, a = z(), r = o, n = me(o, "modelValue"), i = S([]), v = S([]), d = S([]), b = S(""), f = S("");
1147
+ }, a = z(), r = o, n = me(o, "modelValue"), i = S([]), f = S([]), p = S([]), b = S(""), v = S("");
1142
1148
  function c() {
1143
1149
  n.value = "table";
1144
1150
  }
1145
1151
  const w = (u) => {
1146
- d.value = u, g();
1147
- }, m = (u) => {
1148
- u && u.length > 0 && (b.value = u[0], f.value = u[1]), g();
1152
+ p.value = u, g();
1153
+ }, _ = (u) => {
1154
+ u && u.length > 0 && (b.value = u[0], v.value = u[1]), g();
1149
1155
  }, g = async () => {
1150
1156
  try {
1151
1157
  t.value = !0;
1152
1158
  const u = {
1153
1159
  report_uuid: r.reportId,
1154
1160
  start_time: b.value,
1155
- end_time: f.value,
1156
- select_data: d.value.join(",")
1157
- }, y = await Ke(u), E = [];
1161
+ end_time: v.value,
1162
+ select_data: p.value.join(",")
1163
+ }, y = await Ge(u), A = [];
1158
1164
  y.data.forEach((k) => {
1159
- (k.type === "report-select" || k.type === "range-time") && E.push(k);
1160
- }), i.value = E, y.data.splice(0, i.value.length), v.value = y.data, t.value = !1;
1165
+ (k.type === "report-select" || k.type === "range-time") && A.push(k);
1166
+ }), i.value = A, y.data.splice(0, i.value.length), f.value = y.data, t.value = !1;
1161
1167
  } catch (u) {
1162
1168
  t.value = !1, console.error("Error setting loading state:", u);
1163
1169
  }
1164
1170
  };
1165
1171
  g();
1166
- const $ = () => l("div", null, [R("未找到对应组件")]), C = (u) => u === "h2" || u === "h3" || u === "h4" ? H(e, "ReportText") : u === "bar" || u === "pie" || u === "line" ? H(e, "ReportChart") : u ? H(e, u) : l($, null, null);
1172
+ const $ = () => l("div", null, [R("未找到对应组件")]), C = (u) => u === "h2" || u === "h3" || u === "h4" ? B(e, "ReportText") : u === "bar" || u === "pie" || u === "line" ? B(e, "ReportChart") : u ? B(e, u) : l($, null, null);
1167
1173
  return (u, y) => {
1168
- const E = s("el-button"), k = s("el-card"), N = _e("loading");
1169
- return fe((_(), L(k, {
1174
+ const A = s("el-button"), k = s("el-card"), W = _e("loading");
1175
+ return fe((m(), T(k, {
1170
1176
  class: "editor view",
1171
1177
  "element-loading-text": "加载中..."
1172
1178
  }, {
1173
- default: p(() => [V("div", Ut, [l(xt, {
1174
- data: v.value
1175
- }, null, 8, ["data"]), V("div", Et, [V("div", At, [(_(!0), x(D, null, I(i.value, (A) => (_(), x("div", {
1179
+ default: d(() => [V("div", At, [l(kt, {
1180
+ data: f.value
1181
+ }, null, 8, ["data"]), V("div", Ft, [V("div", Dt, [(m(!0), x(E, null, I(i.value, (F) => (m(), x("div", {
1176
1182
  class: "item-input",
1177
- key: A.id
1178
- }, [A.type === "report-select" ? (_(), L(Z, {
1183
+ key: F.id
1184
+ }, [F.type === "report-select" ? (m(), T(ee, {
1179
1185
  key: 0,
1180
1186
  onChange: w,
1181
- value: A
1182
- }, null, 8, ["value"])) : U("", !0), A.type === "range-time" && h(a).filterForm.range_time ? (_(), L(ee, {
1187
+ value: F
1188
+ }, null, 8, ["value"])) : U("", !0), F.type === "range-time" && h(a).filterForm.range_time ? (m(), T(te, {
1183
1189
  key: 1,
1184
- onChange: m,
1185
- value: A
1186
- }, null, 8, ["value"])) : U("", !0)]))), 128)), l(E, {
1190
+ onChange: _,
1191
+ value: F
1192
+ }, null, 8, ["value"])) : U("", !0)]))), 128)), l(A, {
1187
1193
  plain: "",
1188
1194
  onClick: c,
1189
1195
  type: "primary",
@@ -1192,43 +1198,43 @@ const Ve = /* @__PURE__ */ T({
1192
1198
  "margin-left": "auto"
1193
1199
  }
1194
1200
  }, {
1195
- default: p(() => y[0] || (y[0] = [R("退出预览")])),
1201
+ default: d(() => y[0] || (y[0] = [R("退出预览")])),
1196
1202
  _: 1
1197
- })]), (_(!0), x(D, null, I(v.value, (A) => (_(), x("div", {
1198
- key: A.id,
1199
- class: O(["editor-content", ["editor" + A.type]]),
1200
- id: A.id
1201
- }, [A.type !== "p" ? (_(), L(W(C(A.type)), {
1203
+ })]), (m(!0), x(E, null, I(f.value, (F) => (m(), x("div", {
1204
+ key: F.id,
1205
+ class: O(["editor-content", ["editor" + F.type]]),
1206
+ id: F.id
1207
+ }, [F.type !== "p" ? (m(), T(Y(C(F.type)), {
1202
1208
  key: 0,
1203
- class: O(["editor" + A.type]),
1204
- value: A
1209
+ class: O(["editor" + F.type]),
1210
+ value: F
1205
1211
  }, {
1206
- default: p(() => [R(B(A.data), 1)]),
1212
+ default: d(() => [R(H(F.data), 1)]),
1207
1213
  _: 2
1208
- }, 1032, ["class", "value"])) : (_(), x("p", {
1214
+ }, 1032, ["class", "value"])) : (m(), x("p", {
1209
1215
  key: 1,
1210
- innerHTML: A.data
1211
- }, null, 8, Dt))], 10, Ft))), 128))])])]),
1216
+ innerHTML: F.data
1217
+ }, null, 8, qt))], 10, It))), 128))])])]),
1212
1218
  _: 1
1213
- })), [[N, t.value]]);
1219
+ })), [[W, t.value]]);
1214
1220
  };
1215
1221
  }
1216
1222
  });
1217
- const It = /* @__PURE__ */ Q(qt, [["__scopeId", "data-v-db45c725"]]), zt = {
1223
+ const Se = /* @__PURE__ */ N(zt, [["__scopeId", "data-v-db45c725"]]), Bt = {
1218
1224
  class: "editor"
1219
1225
  }, Ht = {
1220
1226
  class: "editor-content edit"
1221
- }, Bt = ["onClick"], jt = ["onClick"], Pt = ["innerHTML", "draggable"], Mt = /* @__PURE__ */ T({
1227
+ }, jt = ["onClick"], Pt = ["onClick"], Mt = ["innerHTML", "draggable"], Ot = /* @__PURE__ */ L({
1222
1228
  __name: "Editor",
1223
1229
  setup(o) {
1224
1230
  const t = {
1225
1231
  Bar: we,
1226
1232
  Line: Ce,
1227
1233
  Pie: xe,
1228
- ReportSelect: Z,
1229
- RangeTime: ee,
1234
+ ReportSelect: ee,
1235
+ RangeTime: te,
1230
1236
  ReportTable: $e,
1231
- ReportText: te,
1237
+ ReportText: oe,
1232
1238
  ReportChart: ke,
1233
1239
  ReportDescribe: Ve
1234
1240
  }, {
@@ -1236,129 +1242,129 @@ const It = /* @__PURE__ */ Q(qt, [["__scopeId", "data-v-db45c725"]]), zt = {
1236
1242
  activeComponents: a,
1237
1243
  notDraggableList: r,
1238
1244
  titleComponent: n
1239
- } = ze(z()), i = z(), v = (C) => {
1245
+ } = Be(z()), i = z(), f = (C) => {
1240
1246
  e.value.forEach((u, y) => {
1241
1247
  u.id === C && (e.value.splice(y, 1), i.activeComponents = []);
1242
1248
  });
1243
- }, d = (C) => {
1249
+ }, p = (C) => {
1244
1250
  i.setActiveComponents(C);
1245
- }, b = () => l("div", null, [R("未找到对应组件")]), f = (C) => C === "h2" || C === "h3" || C === "h4" ? H(t, "ReportText") : C === "bar" || C === "pie" || C === "line" ? H(t, "ReportChart") : C ? H(t, C) : l(b, null, null), c = (C) => {
1251
+ }, b = () => l("div", null, [R("未找到对应组件")]), v = (C) => C === "h2" || C === "h3" || C === "h4" ? B(t, "ReportText") : C === "bar" || C === "pie" || C === "line" ? B(t, "ReportChart") : C ? B(t, C) : l(b, null, null), c = (C) => {
1246
1252
  console.log(C, "evt");
1247
- }, w = S(!1), m = () => {
1253
+ }, w = S(!1), _ = () => {
1248
1254
  w.value = !0;
1249
1255
  }, g = (C) => {
1250
1256
  C.newIndex !== 0 && (console.log(C), w.value = !1);
1251
1257
  }, $ = S();
1252
1258
  return (C, u) => {
1253
- const y = s("CircleClose"), E = s("el-icon");
1254
- return _(), x("div", zt, [V("div", {
1259
+ const y = s("CircleClose"), A = s("el-icon");
1260
+ return m(), x("div", Bt, [V("div", {
1255
1261
  class: O(["editor-content edit flex flex-start", [{
1256
1262
  active: h(a).id === "filter"
1257
1263
  }]]),
1258
- onClick: u[0] || (u[0] = (k) => d({
1264
+ onClick: u[0] || (u[0] = (k) => p({
1259
1265
  id: "filter",
1260
1266
  type: "filter"
1261
1267
  }))
1262
- }, [(_(!0), x(D, null, I(h(r), (k) => (_(), x("div", {
1268
+ }, [(m(!0), x(E, null, I(h(r), (k) => (m(), x("div", {
1263
1269
  class: "item-input",
1264
1270
  key: k.id
1265
- }, [k.type === "report-select" || k.type === "range-time" && h(i).filterForm.range_time ? (_(), L(W(h(H)(t, k.type)), {
1271
+ }, [k.type === "report-select" || k.type === "range-time" && h(i).filterForm.range_time ? (m(), T(Y(h(B)(t, k.type)), {
1266
1272
  key: 0,
1267
1273
  value: k
1268
1274
  }, {
1269
- default: p(() => [R(B(k.data), 1)]),
1275
+ default: d(() => [R(H(k.data), 1)]),
1270
1276
  _: 2
1271
- }, 1032, ["value"])) : U("", !0)]))), 128))], 2), V("div", Ht, [l(te, {
1277
+ }, 1032, ["value"])) : U("", !0)]))), 128))], 2), V("div", Ht, [l(oe, {
1272
1278
  value: h(n),
1273
- onClick: u[1] || (u[1] = (k) => d(h(n)))
1274
- }, null, 8, ["value"])]), l(h(Be), {
1279
+ onClick: u[1] || (u[1] = (k) => p(h(n)))
1280
+ }, null, 8, ["value"])]), l(h(je), {
1275
1281
  ref_key: "el",
1276
1282
  ref: $,
1277
1283
  modelValue: h(e),
1278
- "onUpdate:modelValue": u[2] || (u[2] = (k) => Re(e) ? e.value = k : null),
1284
+ "onUpdate:modelValue": u[2] || (u[2] = (k) => Ue(e) ? e.value = k : null),
1279
1285
  "on-change": c,
1280
1286
  animation: 150,
1281
- onStart: m,
1287
+ onStart: _,
1282
1288
  onEnd: g
1283
1289
  }, {
1284
- default: p(() => [(_(!0), x(D, null, I(h(e), (k) => (_(), x("div", {
1290
+ default: d(() => [(m(!0), x(E, null, I(h(e), (k) => (m(), x("div", {
1285
1291
  key: k.id,
1286
1292
  class: O(["editor-content edit", ["editor" + k.type, {
1287
1293
  active: k.id === h(a).id
1288
1294
  }]]),
1289
- onClick: (N) => d(k)
1295
+ onClick: (W) => p(k)
1290
1296
  }, [V("i", {
1291
- onClick: Ue((N) => v(k.id), ["stop"]),
1297
+ onClick: Ee((W) => f(k.id), ["stop"]),
1292
1298
  style: {
1293
1299
  "z-index": "99"
1294
1300
  }
1295
- }, [l(E, {
1301
+ }, [l(A, {
1296
1302
  size: "16px",
1297
1303
  color: "red"
1298
1304
  }, {
1299
- default: p(() => [l(y)]),
1305
+ default: d(() => [l(y)]),
1300
1306
  _: 1
1301
- })], 8, jt), k.type !== "p" ? (_(), L(W(f(k.type)), {
1307
+ })], 8, Pt), k.type !== "p" ? (m(), T(Y(v(k.type)), {
1302
1308
  key: 0,
1303
1309
  class: O(["editor" + k.type]),
1304
1310
  value: k,
1305
1311
  draggable: w.value
1306
1312
  }, {
1307
- default: p(() => [R(B(k.data), 1)]),
1313
+ default: d(() => [R(H(k.data), 1)]),
1308
1314
  _: 2
1309
- }, 1032, ["class", "value", "draggable"])) : (_(), x("p", {
1315
+ }, 1032, ["class", "value", "draggable"])) : (m(), x("p", {
1310
1316
  key: 1,
1311
1317
  innerHTML: k.data,
1312
1318
  draggable: w.value
1313
- }, null, 8, Pt))], 10, Bt))), 128))]),
1319
+ }, null, 8, Mt))], 10, jt))), 128))]),
1314
1320
  _: 1
1315
1321
  }, 8, ["modelValue"])]);
1316
1322
  };
1317
1323
  }
1318
- }), Ot = { class: "label" }, Nt = { class: "flex item-switch" }, Wt = { class: "flex item-switch" }, Yt = { class: "flex item-switch" }, Se = /* @__PURE__ */ T({
1324
+ }), Nt = { class: "label" }, Wt = { class: "flex item-switch" }, Yt = { class: "flex item-switch" }, Kt = { class: "flex item-switch" }, Te = /* @__PURE__ */ L({
1319
1325
  __name: "SettingTable",
1320
1326
  setup(o) {
1321
1327
  const t = z(), e = q(() => t.getActiveComponents);
1322
1328
  return (a, r) => {
1323
- const n = s("el-switch"), i = s("el-form-item"), v = s("el-divider");
1324
- return _(), x("div", null, [
1329
+ const n = s("el-switch"), i = s("el-form-item"), f = s("el-divider");
1330
+ return m(), x("div", null, [
1325
1331
  l(i, { label: "控制列" }, {
1326
- default: p(() => [
1327
- (_(!0), x(D, null, I(e.value.showColumn, (d, b) => (_(), x("p", {
1332
+ default: d(() => [
1333
+ (m(!0), x(E, null, I(e.value.showColumn, (p, b) => (m(), x("p", {
1328
1334
  class: "flex item-switch",
1329
1335
  key: b
1330
1336
  }, [
1331
- V("span", Ot, B(d.name), 1),
1337
+ V("span", Nt, H(p.name), 1),
1332
1338
  l(n, {
1333
- modelValue: e.value.options.showColumn[d.key],
1334
- "onUpdate:modelValue": (f) => e.value.options.showColumn[d.key] = f
1339
+ modelValue: e.value.options.showColumn[p.key],
1340
+ "onUpdate:modelValue": (v) => e.value.options.showColumn[p.key] = v
1335
1341
  }, null, 8, ["modelValue", "onUpdate:modelValue"])
1336
1342
  ]))), 128))
1337
1343
  ]),
1338
1344
  _: 1
1339
1345
  }),
1340
- l(v),
1346
+ l(f),
1341
1347
  l(i, { label: "表格样式" }, {
1342
- default: p(() => [
1343
- V("p", Nt, [
1348
+ default: d(() => [
1349
+ V("p", Wt, [
1344
1350
  r[3] || (r[3] = V("span", { class: "label" }, "斑马纹", -1)),
1345
1351
  l(n, {
1346
1352
  modelValue: e.value.options.stripe,
1347
- "onUpdate:modelValue": r[0] || (r[0] = (d) => e.value.options.stripe = d)
1353
+ "onUpdate:modelValue": r[0] || (r[0] = (p) => e.value.options.stripe = p)
1348
1354
  }, null, 8, ["modelValue"])
1349
1355
  ]),
1350
- V("p", Wt, [
1356
+ V("p", Yt, [
1351
1357
  r[4] || (r[4] = V("span", { class: "label" }, "边框", -1)),
1352
1358
  l(n, {
1353
1359
  modelValue: e.value.options.border,
1354
- "onUpdate:modelValue": r[1] || (r[1] = (d) => e.value.options.border = d)
1360
+ "onUpdate:modelValue": r[1] || (r[1] = (p) => e.value.options.border = p)
1355
1361
  }, null, 8, ["modelValue"])
1356
1362
  ]),
1357
- V("p", Yt, [
1363
+ V("p", Kt, [
1358
1364
  r[5] || (r[5] = V("span", { class: "label" }, "表头", -1)),
1359
1365
  l(n, {
1360
1366
  modelValue: e.value.options.showHeader,
1361
- "onUpdate:modelValue": r[2] || (r[2] = (d) => e.value.options.showHeader = d)
1367
+ "onUpdate:modelValue": r[2] || (r[2] = (p) => e.value.options.showHeader = p)
1362
1368
  }, null, 8, ["modelValue"])
1363
1369
  ])
1364
1370
  ]),
@@ -1367,7 +1373,7 @@ const It = /* @__PURE__ */ Q(qt, [["__scopeId", "data-v-db45c725"]]), zt = {
1367
1373
  ]);
1368
1374
  };
1369
1375
  }
1370
- }), Kt = { key: 0 }, Gt = /* @__PURE__ */ T({
1376
+ }), Gt = { key: 0 }, Jt = /* @__PURE__ */ L({
1371
1377
  __name: "ChartsUniConfig",
1372
1378
  setup(o) {
1373
1379
  const t = z(), e = q(() => t.activeComponents);
@@ -1375,10 +1381,10 @@ const It = /* @__PURE__ */ Q(qt, [["__scopeId", "data-v-db45c725"]]), zt = {
1375
1381
  r ? (e.value.options.series[0].radius = ["10%", "65%"], e.value.options.graphic[0].invisible = !0, e.value.options.graphic[1].invisible = !0) : (e.value.options.series[0].radius = ["45%", "70%"], e.value.options.graphic[0].invisible = !1, e.value.options.graphic[1].invisible = !1);
1376
1382
  }
1377
1383
  return S("rgb(46, 145, 255)"), (r, n) => {
1378
- const i = s("el-input"), v = s("el-form-item"), d = s("el-switch"), b = s("el-col"), f = s("el-color-picker"), c = s("el-input-number"), w = s("el-row"), m = s("el-collapse-item"), g = s("el-collapse");
1379
- return e.value.options.title ? (_(), x("div", Kt, [
1380
- l(v, { label: "标题" }, {
1381
- default: p(() => [
1384
+ const i = s("el-input"), f = s("el-form-item"), p = s("el-switch"), b = s("el-col"), v = s("el-color-picker"), c = s("el-input-number"), w = s("el-row"), _ = s("el-collapse-item"), g = s("el-collapse");
1385
+ return e.value.options.title ? (m(), x("div", Gt, [
1386
+ l(f, { label: "标题" }, {
1387
+ default: d(() => [
1382
1388
  l(i, {
1383
1389
  modelValue: e.value.options.title.text,
1384
1390
  "onUpdate:modelValue": n[0] || (n[0] = ($) => e.value.options.title.text = $)
@@ -1387,18 +1393,18 @@ const It = /* @__PURE__ */ Q(qt, [["__scopeId", "data-v-db45c725"]]), zt = {
1387
1393
  _: 1
1388
1394
  }),
1389
1395
  l(g, null, {
1390
- default: p(() => [
1391
- l(m, {
1396
+ default: d(() => [
1397
+ l(_, {
1392
1398
  title: "标题配置",
1393
1399
  name: "1"
1394
1400
  }, {
1395
- default: p(() => [
1401
+ default: d(() => [
1396
1402
  l(w, { class: "w-100%" }, {
1397
- default: p(() => [
1403
+ default: d(() => [
1398
1404
  l(b, { span: 24 }, {
1399
- default: p(() => [
1405
+ default: d(() => [
1400
1406
  n[8] || (n[8] = V("span", { class: "switch-label" }, "显示标题", -1)),
1401
- l(d, {
1407
+ l(p, {
1402
1408
  modelValue: e.value.options.title.show,
1403
1409
  "onUpdate:modelValue": n[1] || (n[1] = ($) => e.value.options.title.show = $)
1404
1410
  }, null, 8, ["modelValue"])
@@ -1406,8 +1412,8 @@ const It = /* @__PURE__ */ Q(qt, [["__scopeId", "data-v-db45c725"]]), zt = {
1406
1412
  _: 1
1407
1413
  }),
1408
1414
  l(b, { span: 12 }, {
1409
- default: p(() => [
1410
- l(f, {
1415
+ default: d(() => [
1416
+ l(v, {
1411
1417
  modelValue: e.value.options.title.textStyle.color,
1412
1418
  "onUpdate:modelValue": n[2] || (n[2] = ($) => e.value.options.title.textStyle.color = $),
1413
1419
  "show-alpha": ""
@@ -1417,7 +1423,7 @@ const It = /* @__PURE__ */ Q(qt, [["__scopeId", "data-v-db45c725"]]), zt = {
1417
1423
  _: 1
1418
1424
  }),
1419
1425
  l(b, { span: 12 }, {
1420
- default: p(() => [
1426
+ default: d(() => [
1421
1427
  l(c, {
1422
1428
  modelValue: e.value.options.title.textStyle.fontSize,
1423
1429
  "onUpdate:modelValue": n[3] || (n[3] = ($) => e.value.options.title.textStyle.fontSize = $),
@@ -1428,7 +1434,7 @@ const It = /* @__PURE__ */ Q(qt, [["__scopeId", "data-v-db45c725"]]), zt = {
1428
1434
  _: 1
1429
1435
  }),
1430
1436
  l(b, { span: 12 }, {
1431
- default: p(() => [
1437
+ default: d(() => [
1432
1438
  l(c, {
1433
1439
  modelValue: e.value.options.title.x,
1434
1440
  "onUpdate:modelValue": n[4] || (n[4] = ($) => e.value.options.title.x = $),
@@ -1439,7 +1445,7 @@ const It = /* @__PURE__ */ Q(qt, [["__scopeId", "data-v-db45c725"]]), zt = {
1439
1445
  _: 1
1440
1446
  }),
1441
1447
  l(b, { span: 12 }, {
1442
- default: p(() => [
1448
+ default: d(() => [
1443
1449
  l(c, {
1444
1450
  modelValue: e.value.options.title.y,
1445
1451
  "onUpdate:modelValue": n[5] || (n[5] = ($) => e.value.options.title.y = $),
@@ -1455,17 +1461,17 @@ const It = /* @__PURE__ */ Q(qt, [["__scopeId", "data-v-db45c725"]]), zt = {
1455
1461
  ]),
1456
1462
  _: 1
1457
1463
  }),
1458
- l(m, {
1464
+ l(_, {
1459
1465
  title: "图形配置",
1460
1466
  name: "2"
1461
1467
  }, {
1462
- default: p(() => [
1463
- e.value.options.color && e.value.options.color.length && e.value.type === "pie" ? (_(), L(w, { key: 0 }, {
1464
- default: p(() => [
1468
+ default: d(() => [
1469
+ e.value.options.color && e.value.options.color.length && e.value.type === "pie" ? (m(), T(w, { key: 0 }, {
1470
+ default: d(() => [
1465
1471
  l(b, { span: 24 }, {
1466
- default: p(() => [
1472
+ default: d(() => [
1467
1473
  n[13] || (n[13] = V("span", { class: "switch-label" }, "玫瑰图", -1)),
1468
- l(d, {
1474
+ l(p, {
1469
1475
  onChange: a,
1470
1476
  modelValue: e.value.options.series[0].roseType,
1471
1477
  "onUpdate:modelValue": n[6] || (n[6] = ($) => e.value.options.series[0].roseType = $)
@@ -1479,17 +1485,17 @@ const It = /* @__PURE__ */ Q(qt, [["__scopeId", "data-v-db45c725"]]), zt = {
1479
1485
  ]),
1480
1486
  _: 1
1481
1487
  }),
1482
- l(m, {
1488
+ l(_, {
1483
1489
  title: "图例配置",
1484
1490
  name: "3"
1485
1491
  }, {
1486
- default: p(() => [
1492
+ default: d(() => [
1487
1493
  l(w, null, {
1488
- default: p(() => [
1494
+ default: d(() => [
1489
1495
  l(b, { span: 24 }, {
1490
- default: p(() => [
1496
+ default: d(() => [
1491
1497
  n[14] || (n[14] = V("span", { class: "switch-label" }, "显示图例", -1)),
1492
- e.value.options.legend ? (_(), L(d, {
1498
+ e.value.options.legend ? (m(), T(p, {
1493
1499
  key: 0,
1494
1500
  modelValue: e.value.options.legend.show,
1495
1501
  "onUpdate:modelValue": n[7] || (n[7] = ($) => e.value.options.legend.show = $)
@@ -1510,15 +1516,15 @@ const It = /* @__PURE__ */ Q(qt, [["__scopeId", "data-v-db45c725"]]), zt = {
1510
1516
  };
1511
1517
  }
1512
1518
  });
1513
- const Jt = /* @__PURE__ */ Q(Gt, [["__scopeId", "data-v-e9859d3b"]]), Te = /* @__PURE__ */ T({
1519
+ const Qt = /* @__PURE__ */ N(Jt, [["__scopeId", "data-v-e9859d3b"]]), Le = /* @__PURE__ */ L({
1514
1520
  __name: "SettingDescribe",
1515
1521
  setup(o) {
1516
1522
  const t = z(), e = q(() => t.getActiveComponents);
1517
1523
  return (a, r) => {
1518
- const n = s("el-input"), i = s("el-form-item"), v = s("el-switch"), d = s("el-input-number"), b = s("el-radio"), f = s("el-radio-group");
1519
- return _(), x("div", null, [
1524
+ const n = s("el-input"), i = s("el-form-item"), f = s("el-switch"), p = s("el-input-number"), b = s("el-radio"), v = s("el-radio-group");
1525
+ return m(), x("div", null, [
1520
1526
  l(i, { label: "标题" }, {
1521
- default: p(() => [
1527
+ default: d(() => [
1522
1528
  l(n, {
1523
1529
  modelValue: e.value.options.title,
1524
1530
  "onUpdate:modelValue": r[0] || (r[0] = (c) => e.value.options.title = c)
@@ -1527,8 +1533,8 @@ const Jt = /* @__PURE__ */ Q(Gt, [["__scopeId", "data-v-e9859d3b"]]), Te = /* @_
1527
1533
  _: 1
1528
1534
  }),
1529
1535
  l(i, { label: "边框" }, {
1530
- default: p(() => [
1531
- l(v, {
1536
+ default: d(() => [
1537
+ l(f, {
1532
1538
  modelValue: e.value.options.border,
1533
1539
  "onUpdate:modelValue": r[1] || (r[1] = (c) => e.value.options.border = c)
1534
1540
  }, null, 8, ["modelValue"])
@@ -1536,8 +1542,8 @@ const Jt = /* @__PURE__ */ Q(Gt, [["__scopeId", "data-v-e9859d3b"]]), Te = /* @_
1536
1542
  _: 1
1537
1543
  }),
1538
1544
  l(i, { label: "每行展示数量" }, {
1539
- default: p(() => [
1540
- l(d, {
1545
+ default: d(() => [
1546
+ l(p, {
1541
1547
  modelValue: e.value.options.column,
1542
1548
  "onUpdate:modelValue": r[2] || (r[2] = (c) => e.value.options.column = c),
1543
1549
  min: 1,
@@ -1548,20 +1554,20 @@ const Jt = /* @__PURE__ */ Q(Gt, [["__scopeId", "data-v-e9859d3b"]]), Te = /* @_
1548
1554
  _: 1
1549
1555
  }),
1550
1556
  l(i, { label: "排列方向" }, {
1551
- default: p(() => [
1552
- l(f, {
1557
+ default: d(() => [
1558
+ l(v, {
1553
1559
  modelValue: e.value.options.direction,
1554
1560
  "onUpdate:modelValue": r[3] || (r[3] = (c) => e.value.options.direction = c)
1555
1561
  }, {
1556
- default: p(() => [
1562
+ default: d(() => [
1557
1563
  l(b, { value: "horizontal" }, {
1558
- default: p(() => r[4] || (r[4] = [
1564
+ default: d(() => r[4] || (r[4] = [
1559
1565
  R("横向")
1560
1566
  ])),
1561
1567
  _: 1
1562
1568
  }),
1563
1569
  l(b, { value: "vertical" }, {
1564
- default: p(() => r[5] || (r[5] = [
1570
+ default: d(() => r[5] || (r[5] = [
1565
1571
  R("纵向")
1566
1572
  ])),
1567
1573
  _: 1
@@ -1575,7 +1581,7 @@ const Jt = /* @__PURE__ */ Q(Gt, [["__scopeId", "data-v-e9859d3b"]]), Te = /* @_
1575
1581
  ]);
1576
1582
  };
1577
1583
  }
1578
- }), Qt = /* @__PURE__ */ T({
1584
+ }), Xt = /* @__PURE__ */ L({
1579
1585
  __name: "SettingCharts",
1580
1586
  setup(o) {
1581
1587
  const t = z(), e = S(!1), a = q(() => t.getActiveComponents), r = [
@@ -1585,66 +1591,66 @@ const Jt = /* @__PURE__ */ Q(Gt, [["__scopeId", "data-v-e9859d3b"]]), Te = /* @_
1585
1591
  { value: "pie", name: "扇形图" },
1586
1592
  { value: "bar", name: "柱状图" }
1587
1593
  ], n = S(""), i = S();
1588
- async function v(f) {
1594
+ async function f(v) {
1589
1595
  const c = await be({
1590
1596
  prod_type: window.$prodType,
1591
- chart_type: f,
1597
+ chart_type: v,
1592
1598
  filter_uuid: t.filterForm.filter_uuid
1593
1599
  });
1594
1600
  i.value = c.data;
1595
1601
  }
1596
- function d(f) {
1597
- let c = i.value.find((m) => m.rp_item_uuid === f);
1602
+ function p(v) {
1603
+ let c = i.value.find((_) => _.rp_item_uuid === v);
1598
1604
  const w = c.rp_item_content;
1599
- if (c.rp_item_content.type === "bar" && (w.options = J()), w.type === "pie" && (w.options = ne({ isLegend: !0 })), w.type === "line") {
1600
- let m = [];
1605
+ if (c.rp_item_content.type === "bar" && (w.options = Q()), w.type === "pie" && (w.options = ae({ isLegend: !0 })), w.type === "line") {
1606
+ let _ = [];
1601
1607
  w.data.forEach(($) => {
1602
- m = $.data.map((C, u) => ({ name: C.name, value: "value" + u }));
1608
+ _ = $.data.map((C, u) => ({ name: C.name, value: "value" + u }));
1603
1609
  });
1604
1610
  const g = {
1605
1611
  name: "name",
1606
- value: m
1612
+ value: _
1607
1613
  };
1608
- w.options = G([], g);
1614
+ w.options = J([], g);
1609
1615
  }
1610
1616
  if (w.type === "report-table") {
1611
- const m = {};
1617
+ const _ = {};
1612
1618
  w.showColumn.forEach((g) => {
1613
- m[g.key] = !0;
1614
- }), w.options = { ...w.options, showColumn: m, border: !0, showHeader: !0, stripe: !1 };
1619
+ _[g.key] = !0;
1620
+ }), w.options = { ...w.options, showColumn: _, border: !0, showHeader: !0, stripe: !1 };
1615
1621
  }
1616
1622
  w.type === "report-describe" && (w.options = { ...w.options, title: "", border: !0, column: 1, direction: "horizontal", ...a.value.options }), Object.assign(t.activeComponents, w), t.activeComponents.rp_item_uuid = c.rp_item_uuid;
1617
1623
  }
1618
- oe(async () => {
1619
- n.value = a.value.type, await v(n.value);
1624
+ le(async () => {
1625
+ n.value = a.value.type, await f(n.value);
1620
1626
  });
1621
- async function b(f) {
1627
+ async function b(v) {
1622
1628
  try {
1623
- e.value = !0, await v(f), Object.assign(t.activeComponents, gt(f)), e.value = !1;
1629
+ e.value = !0, await f(v), Object.assign(t.activeComponents, wt(v)), e.value = !1;
1624
1630
  } catch {
1625
1631
  e.value = !1;
1626
1632
  }
1627
1633
  }
1628
- return Ee(
1634
+ return Ae(
1629
1635
  () => a.value,
1630
- (f) => {
1631
- console.log(f, "activeComponents"), ~["bar", "pie", "line", "report-table", "report-describe"].indexOf(f.type) && (n.value = a.value.type, v(n.value));
1636
+ (v) => {
1637
+ console.log(v, "activeComponents"), ~["bar", "pie", "line", "report-table", "report-describe"].indexOf(v.type) && (n.value = a.value.type, f(n.value));
1632
1638
  }
1633
- ), (f, c) => {
1634
- const w = s("el-option"), m = s("el-select"), g = s("el-form-item"), $ = s("el-form"), C = _e("loading");
1635
- return fe((_(), x("div", null, [
1639
+ ), (v, c) => {
1640
+ const w = s("el-option"), _ = s("el-select"), g = s("el-form-item"), $ = s("el-form"), C = _e("loading");
1641
+ return fe((m(), x("div", null, [
1636
1642
  l($, { "label-position": "top" }, {
1637
- default: p(() => [
1643
+ default: d(() => [
1638
1644
  l(g, { label: "图表类型" }, {
1639
- default: p(() => [
1640
- l(m, {
1645
+ default: d(() => [
1646
+ l(_, {
1641
1647
  style: { width: "100%" },
1642
1648
  modelValue: n.value,
1643
1649
  "onUpdate:modelValue": c[0] || (c[0] = (u) => n.value = u),
1644
1650
  onChange: b
1645
1651
  }, {
1646
- default: p(() => [
1647
- (_(), x(D, null, I(r, (u, y) => l(w, {
1652
+ default: d(() => [
1653
+ (m(), x(E, null, I(r, (u, y) => l(w, {
1648
1654
  key: y,
1649
1655
  label: u.name,
1650
1656
  value: u.value
@@ -1656,15 +1662,15 @@ const Jt = /* @__PURE__ */ Q(Gt, [["__scopeId", "data-v-e9859d3b"]]), Te = /* @_
1656
1662
  _: 1
1657
1663
  }),
1658
1664
  l(g, { label: "组件库" }, {
1659
- default: p(() => [
1660
- l(m, {
1665
+ default: d(() => [
1666
+ l(_, {
1661
1667
  style: { width: "100%" },
1662
1668
  modelValue: h(t).activeComponents.rp_item_uuid,
1663
1669
  "onUpdate:modelValue": c[1] || (c[1] = (u) => h(t).activeComponents.rp_item_uuid = u),
1664
- onChange: d
1670
+ onChange: p
1665
1671
  }, {
1666
- default: p(() => [
1667
- (_(!0), x(D, null, I(i.value, (u, y) => (_(), L(w, {
1672
+ default: d(() => [
1673
+ (m(!0), x(E, null, I(i.value, (u, y) => (m(), T(w, {
1668
1674
  key: y,
1669
1675
  label: u.rp_item_name,
1670
1676
  value: u.rp_item_uuid
@@ -1675,9 +1681,9 @@ const Jt = /* @__PURE__ */ Q(Gt, [["__scopeId", "data-v-e9859d3b"]]), Te = /* @_
1675
1681
  ]),
1676
1682
  _: 1
1677
1683
  }),
1678
- n.value === "report-table" && a.value.options.showColumn ? (_(), L(Se, { key: 0 })) : U("", !0),
1679
- n.value === "pie" || n.value === "bar" || n.value === "line" ? (_(), L(Jt, { key: 1 })) : U("", !0),
1680
- n.value === "report-describe" ? (_(), L(Te, { key: 2 })) : U("", !0)
1684
+ n.value === "report-table" && a.value.options.showColumn ? (m(), T(Te, { key: 0 })) : U("", !0),
1685
+ n.value === "pie" || n.value === "bar" || n.value === "line" ? (m(), T(Qt, { key: 1 })) : U("", !0),
1686
+ n.value === "report-describe" ? (m(), T(Le, { key: 2 })) : U("", !0)
1681
1687
  ]),
1682
1688
  _: 1
1683
1689
  })
@@ -1686,17 +1692,17 @@ const Jt = /* @__PURE__ */ Q(Gt, [["__scopeId", "data-v-e9859d3b"]]), Te = /* @_
1686
1692
  ]);
1687
1693
  };
1688
1694
  }
1689
- }), Xt = { key: 0 }, Zt = { style: { border: "1px solid #ccc", "border-radius": "3px" } }, ie = "default", eo = /* @__PURE__ */ T({
1695
+ }), Zt = { key: 0 }, eo = { style: { border: "1px solid #ccc", "border-radius": "3px" } }, ie = "default", to = /* @__PURE__ */ L({
1690
1696
  __name: "SettingText",
1691
1697
  setup(o) {
1692
- const t = z(), e = Ae(), a = S();
1693
- function r(f) {
1694
- const c = a.value.find((w) => w.rp_item_uuid === f);
1698
+ const t = z(), e = Fe(), a = S();
1699
+ function r(v) {
1700
+ const c = a.value.find((w) => w.rp_item_uuid === v);
1695
1701
  t.activeComponents.uri = c.rp_item_content.uri, e.value.setHtml((c == null ? void 0 : c.rp_item_content.data) || "");
1696
1702
  }
1697
1703
  async function n() {
1698
- const f = await be({ prod_type: window.$prodType, chart_type: "p", filter_uuid: t.filterForm.filter_uuid });
1699
- a.value = f.data;
1704
+ const v = await be({ prod_type: window.$prodType, chart_type: "p", filter_uuid: t.filterForm.filter_uuid });
1705
+ a.value = v.data;
1700
1706
  }
1701
1707
  n();
1702
1708
  const i = {
@@ -1721,28 +1727,28 @@ const Jt = /* @__PURE__ */ Q(Gt, [["__scopeId", "data-v-e9859d3b"]]), Te = /* @_
1721
1727
  "justifyJustify",
1722
1728
  "lineHeight"
1723
1729
  ]
1724
- }, v = { placeholder: "请输入内容..." }, d = (f) => {
1725
- e.value = f;
1726
- }, b = (f) => {
1730
+ }, f = { placeholder: "请输入内容..." }, p = (v) => {
1731
+ e.value = v;
1732
+ }, b = (v) => {
1727
1733
  };
1728
- return Fe(() => {
1729
- const f = e.value;
1730
- f != null && f.destroy();
1731
- }), (f, c) => {
1732
- const w = s("el-option"), m = s("el-select"), g = s("el-form-item"), $ = s("el-form");
1733
- return h(t).activeComponents.id ? (_(), x("div", Xt, [
1734
+ return De(() => {
1735
+ const v = e.value;
1736
+ v != null && v.destroy();
1737
+ }), (v, c) => {
1738
+ const w = s("el-option"), _ = s("el-select"), g = s("el-form-item"), $ = s("el-form");
1739
+ return h(t).activeComponents.id ? (m(), x("div", Zt, [
1734
1740
  l($, { "label-position": "top" }, {
1735
- default: p(() => [
1741
+ default: d(() => [
1736
1742
  l(g, { label: "组件库" }, {
1737
- default: p(() => [
1738
- l(m, {
1743
+ default: d(() => [
1744
+ l(_, {
1739
1745
  style: { width: "100%" },
1740
1746
  modelValue: h(t).activeComponents.rp_item_uuid,
1741
1747
  "onUpdate:modelValue": c[0] || (c[0] = (C) => h(t).activeComponents.rp_item_uuid = C),
1742
1748
  onChange: r
1743
1749
  }, {
1744
- default: p(() => [
1745
- (_(!0), x(D, null, I(a.value, (C, u) => (_(), L(w, {
1750
+ default: d(() => [
1751
+ (m(!0), x(E, null, I(a.value, (C, u) => (m(), T(w, {
1746
1752
  key: u,
1747
1753
  label: C.rp_item_name,
1748
1754
  value: C.rp_item_uuid
@@ -1754,22 +1760,22 @@ const Jt = /* @__PURE__ */ Q(Gt, [["__scopeId", "data-v-e9859d3b"]]), Te = /* @_
1754
1760
  _: 1
1755
1761
  }),
1756
1762
  l(g, { label: "文本内容" }, {
1757
- default: p(() => [
1758
- V("div", Zt, [
1759
- l(h(je), {
1763
+ default: d(() => [
1764
+ V("div", eo, [
1765
+ l(h(Pe), {
1760
1766
  style: { "border-bottom": "1px solid #ccc" },
1761
1767
  editor: e.value,
1762
1768
  "default-config": i,
1763
1769
  mode: ie
1764
1770
  }, null, 8, ["editor"]),
1765
- l(h(Pe), {
1771
+ l(h(Me), {
1766
1772
  style: { height: "500px", "overflow-y": "hidden" },
1767
1773
  onOnChange: b,
1768
1774
  modelValue: h(t).activeComponents.data,
1769
1775
  "onUpdate:modelValue": c[1] || (c[1] = (C) => h(t).activeComponents.data = C),
1770
- "default-config": v,
1776
+ "default-config": f,
1771
1777
  mode: ie,
1772
- onOnCreated: d
1778
+ onOnCreated: p
1773
1779
  }, null, 8, ["modelValue"])
1774
1780
  ])
1775
1781
  ]),
@@ -1781,7 +1787,7 @@ const Jt = /* @__PURE__ */ Q(Gt, [["__scopeId", "data-v-e9859d3b"]]), Te = /* @_
1781
1787
  ])) : U("", !0);
1782
1788
  };
1783
1789
  }
1784
- }), to = /* @__PURE__ */ T({
1790
+ }), oo = /* @__PURE__ */ L({
1785
1791
  __name: "SettingFilter",
1786
1792
  setup(o) {
1787
1793
  const t = S([]), e = z();
@@ -1790,21 +1796,21 @@ const Jt = /* @__PURE__ */ Q(Gt, [["__scopeId", "data-v-e9859d3b"]]), Te = /* @_
1790
1796
  t.value = r.data;
1791
1797
  }
1792
1798
  return a(), (r, n) => {
1793
- const i = s("el-option"), v = s("el-select"), d = s("el-form-item"), b = s("el-checkbox"), f = s("el-form");
1794
- return _(), L(f, {
1799
+ const i = s("el-option"), f = s("el-select"), p = s("el-form-item"), b = s("el-checkbox"), v = s("el-form");
1800
+ return m(), T(v, {
1795
1801
  "label-width": "80px",
1796
1802
  "label-position": "top"
1797
1803
  }, {
1798
- default: p(() => [
1799
- l(d, { label: "筛选条件" }, {
1800
- default: p(() => [
1801
- l(v, {
1804
+ default: d(() => [
1805
+ l(p, { label: "筛选条件" }, {
1806
+ default: d(() => [
1807
+ l(f, {
1802
1808
  modelValue: h(e).filterForm.filter_uuid,
1803
1809
  "onUpdate:modelValue": n[0] || (n[0] = (c) => h(e).filterForm.filter_uuid = c),
1804
1810
  disabled: !!h(e).filterForm.filter_uuid
1805
1811
  }, {
1806
- default: p(() => [
1807
- (_(!0), x(D, null, I(t.value, (c) => (_(), L(i, {
1812
+ default: d(() => [
1813
+ (m(!0), x(E, null, I(t.value, (c) => (m(), T(i, {
1808
1814
  key: c.filter_uuid,
1809
1815
  label: c.filter_name,
1810
1816
  value: c.filter_uuid
@@ -1815,8 +1821,8 @@ const Jt = /* @__PURE__ */ Q(Gt, [["__scopeId", "data-v-e9859d3b"]]), Te = /* @_
1815
1821
  ]),
1816
1822
  _: 1
1817
1823
  }),
1818
- l(d, null, {
1819
- default: p(() => [
1824
+ l(p, null, {
1825
+ default: d(() => [
1820
1826
  l(b, {
1821
1827
  modelValue: h(e).filterForm.range_time,
1822
1828
  "onUpdate:modelValue": n[1] || (n[1] = (c) => h(e).filterForm.range_time = c),
@@ -1832,22 +1838,22 @@ const Jt = /* @__PURE__ */ Q(Gt, [["__scopeId", "data-v-e9859d3b"]]), Te = /* @_
1832
1838
  });
1833
1839
  };
1834
1840
  }
1835
- }), oo = /* @__PURE__ */ T({
1841
+ }), lo = /* @__PURE__ */ L({
1836
1842
  __name: "SettingTitle",
1837
1843
  setup(o) {
1838
1844
  const t = z();
1839
1845
  return (e, a) => {
1840
- const r = s("el-input"), n = s("el-form-item"), i = s("el-color-picker"), v = s("el-col"), d = s("el-input-number"), b = s("el-option"), f = s("el-select"), c = s("el-row"), w = s("el-form");
1841
- return _(), L(w, {
1846
+ const r = s("el-input"), n = s("el-form-item"), i = s("el-color-picker"), f = s("el-col"), p = s("el-input-number"), b = s("el-option"), v = s("el-select"), c = s("el-row"), w = s("el-form");
1847
+ return m(), T(w, {
1842
1848
  "label-width": "auto",
1843
1849
  "label-position": "top"
1844
1850
  }, {
1845
- default: p(() => [
1851
+ default: d(() => [
1846
1852
  l(n, { label: "名称" }, {
1847
- default: p(() => [
1853
+ default: d(() => [
1848
1854
  l(r, {
1849
1855
  modelValue: h(t).activeComponents.data,
1850
- "onUpdate:modelValue": a[0] || (a[0] = (m) => h(t).activeComponents.data = m),
1856
+ "onUpdate:modelValue": a[0] || (a[0] = (_) => h(t).activeComponents.data = _),
1851
1857
  placeholder: "Please input",
1852
1858
  maxlength: "24",
1853
1859
  "show-word-limit": ""
@@ -1856,38 +1862,38 @@ const Jt = /* @__PURE__ */ Q(Gt, [["__scopeId", "data-v-e9859d3b"]]), Te = /* @_
1856
1862
  _: 1
1857
1863
  }),
1858
1864
  l(n, { label: "样式" }, {
1859
- default: p(() => [
1865
+ default: d(() => [
1860
1866
  l(c, { gutter: 20 }, {
1861
- default: p(() => [
1862
- l(v, { span: 12 }, {
1863
- default: p(() => [
1867
+ default: d(() => [
1868
+ l(f, { span: 12 }, {
1869
+ default: d(() => [
1864
1870
  l(i, {
1865
1871
  modelValue: h(t).activeComponents.options.color,
1866
- "onUpdate:modelValue": a[1] || (a[1] = (m) => h(t).activeComponents.options.color = m),
1872
+ "onUpdate:modelValue": a[1] || (a[1] = (_) => h(t).activeComponents.options.color = _),
1867
1873
  "show-alpha": ""
1868
1874
  }, null, 8, ["modelValue"]),
1869
1875
  a[7] || (a[7] = V("p", { class: "sub-title" }, "颜色", -1))
1870
1876
  ]),
1871
1877
  _: 1
1872
1878
  }),
1873
- l(v, { span: 12 }, {
1874
- default: p(() => [
1875
- l(d, {
1879
+ l(f, { span: 12 }, {
1880
+ default: d(() => [
1881
+ l(p, {
1876
1882
  modelValue: h(t).activeComponents.options.size,
1877
- "onUpdate:modelValue": a[2] || (a[2] = (m) => h(t).activeComponents.options.size = m),
1883
+ "onUpdate:modelValue": a[2] || (a[2] = (_) => h(t).activeComponents.options.size = _),
1878
1884
  "controls-position": "right"
1879
1885
  }, null, 8, ["modelValue"]),
1880
1886
  a[8] || (a[8] = V("p", { class: "sub-title" }, "字体大小", -1))
1881
1887
  ]),
1882
1888
  _: 1
1883
1889
  }),
1884
- l(v, { span: 12 }, {
1885
- default: p(() => [
1886
- l(f, {
1890
+ l(f, { span: 12 }, {
1891
+ default: d(() => [
1892
+ l(v, {
1887
1893
  modelValue: h(t).activeComponents.options.fontWeight,
1888
- "onUpdate:modelValue": a[3] || (a[3] = (m) => h(t).activeComponents.options.fontWeight = m)
1894
+ "onUpdate:modelValue": a[3] || (a[3] = (_) => h(t).activeComponents.options.fontWeight = _)
1889
1895
  }, {
1890
- default: p(() => [
1896
+ default: d(() => [
1891
1897
  l(b, {
1892
1898
  label: "常规",
1893
1899
  value: 500
@@ -1903,35 +1909,35 @@ const Jt = /* @__PURE__ */ Q(Gt, [["__scopeId", "data-v-e9859d3b"]]), Te = /* @_
1903
1909
  ]),
1904
1910
  _: 1
1905
1911
  }),
1906
- l(v, { span: 12 }, {
1907
- default: p(() => [
1908
- l(d, {
1912
+ l(f, { span: 12 }, {
1913
+ default: d(() => [
1914
+ l(p, {
1909
1915
  modelValue: h(t).activeComponents.options.letterSpacing,
1910
- "onUpdate:modelValue": a[4] || (a[4] = (m) => h(t).activeComponents.options.letterSpacing = m),
1916
+ "onUpdate:modelValue": a[4] || (a[4] = (_) => h(t).activeComponents.options.letterSpacing = _),
1911
1917
  "controls-position": "right"
1912
1918
  }, null, 8, ["modelValue"]),
1913
1919
  a[10] || (a[10] = V("p", { class: "sub-title" }, "字间距", -1))
1914
1920
  ]),
1915
1921
  _: 1
1916
1922
  }),
1917
- l(v, { span: 12 }, {
1918
- default: p(() => [
1919
- l(d, {
1923
+ l(f, { span: 12 }, {
1924
+ default: d(() => [
1925
+ l(p, {
1920
1926
  modelValue: h(t).activeComponents.options.textIndent,
1921
- "onUpdate:modelValue": a[5] || (a[5] = (m) => h(t).activeComponents.options.textIndent = m),
1927
+ "onUpdate:modelValue": a[5] || (a[5] = (_) => h(t).activeComponents.options.textIndent = _),
1922
1928
  "controls-position": "right"
1923
1929
  }, null, 8, ["modelValue"]),
1924
1930
  a[11] || (a[11] = V("p", { class: "sub-title" }, "首行缩进", -1))
1925
1931
  ]),
1926
1932
  _: 1
1927
1933
  }),
1928
- l(v, { span: 12 }, {
1929
- default: p(() => [
1930
- l(f, {
1934
+ l(f, { span: 12 }, {
1935
+ default: d(() => [
1936
+ l(v, {
1931
1937
  modelValue: h(t).activeComponents.options.textAlign,
1932
- "onUpdate:modelValue": a[6] || (a[6] = (m) => h(t).activeComponents.options.textAlign = m)
1938
+ "onUpdate:modelValue": a[6] || (a[6] = (_) => h(t).activeComponents.options.textAlign = _)
1933
1939
  }, {
1934
- default: p(() => [
1940
+ default: d(() => [
1935
1941
  l(b, {
1936
1942
  label: "左对齐",
1937
1943
  value: "left"
@@ -1963,28 +1969,28 @@ const Jt = /* @__PURE__ */ Q(Gt, [["__scopeId", "data-v-e9859d3b"]]), Te = /* @_
1963
1969
  };
1964
1970
  }
1965
1971
  });
1966
- const lo = /* @__PURE__ */ Q(oo, [["__scopeId", "data-v-56fef84c"]]), no = /* @__PURE__ */ T({
1972
+ const no = /* @__PURE__ */ N(lo, [["__scopeId", "data-v-56fef84c"]]), ao = /* @__PURE__ */ L({
1967
1973
  __name: "Setting",
1968
1974
  setup(o) {
1969
1975
  const t = {
1970
- SettingTable: Se,
1971
- SettingCharts: Qt,
1972
- SettingDescribe: Te,
1973
- SettingText: eo,
1974
- SettingFilter: to,
1975
- SettingTitle: lo
1976
- }, e = z(), a = q(() => e.activeComponents), r = ["h1", "h2", "h3", "h4"], n = ["p"], i = ["report-table", "bar", "line", "pie", "report-describe"], v = (d) => r.includes(d) ? H(t, "SettingTitle") : n.includes(d) ? H(t, "SettingText") : i.includes(d) ? H(t, "SettingCharts") : d === "filter" ? H(t, "SettingFilter") : "DefaultEditor";
1977
- return (d, b) => {
1978
- const f = s("el-card");
1979
- return _(), L(f, { class: "config-wrapper" }, {
1980
- default: p(() => [
1981
- (_(), L(W(v(a.value.type))))
1976
+ SettingTable: Te,
1977
+ SettingCharts: Xt,
1978
+ SettingDescribe: Le,
1979
+ SettingText: to,
1980
+ SettingFilter: oo,
1981
+ SettingTitle: no
1982
+ }, e = z(), a = q(() => e.activeComponents), r = ["h1", "h2", "h3", "h4"], n = ["p"], i = ["report-table", "bar", "line", "pie", "report-describe"], f = (p) => r.includes(p) ? B(t, "SettingTitle") : n.includes(p) ? B(t, "SettingText") : i.includes(p) ? B(t, "SettingCharts") : p === "filter" ? B(t, "SettingFilter") : "DefaultEditor";
1983
+ return (p, b) => {
1984
+ const v = s("el-card");
1985
+ return m(), T(v, { class: "config-wrapper" }, {
1986
+ default: d(() => [
1987
+ (m(), T(Y(f(a.value.type))))
1982
1988
  ]),
1983
1989
  _: 1
1984
1990
  });
1985
1991
  };
1986
1992
  }
1987
- }), ao = { class: "editor-wrapper flex items-center space-between start" }, ro = { class: "flex items-center space-between" }, so = { class: "btn-group" }, io = /* @__PURE__ */ T({
1993
+ }), ro = { class: "editor-wrapper flex items-center space-between start" }, so = { class: "flex items-center space-between" }, io = { class: "btn-group" }, uo = /* @__PURE__ */ L({
1988
1994
  __name: "index",
1989
1995
  props: /* @__PURE__ */ ce({
1990
1996
  reportId: {
@@ -1997,8 +2003,8 @@ const lo = /* @__PURE__ */ Q(oo, [["__scopeId", "data-v-56fef84c"]]), no = /* @_
1997
2003
  }),
1998
2004
  emits: ["update:modelValue"],
1999
2005
  setup(o) {
2000
- const t = z(), e = o, a = me(o, "modelValue"), r = (d) => {
2001
- const b = K(d);
2006
+ const t = z(), e = o, a = me(o, "modelValue"), r = (p) => {
2007
+ const b = G(p);
2002
2008
  b.id = P(), t.componentList.push(b);
2003
2009
  };
2004
2010
  function n() {
@@ -2007,16 +2013,16 @@ const lo = /* @__PURE__ */ Q(oo, [["__scopeId", "data-v-56fef84c"]]), no = /* @_
2007
2013
  function i() {
2008
2014
  t.getReportDemo(e.reportId);
2009
2015
  }
2010
- oe(() => {
2016
+ le(() => {
2011
2017
  i();
2012
2018
  });
2013
- async function v() {
2019
+ async function f() {
2014
2020
  if (!t.filterForm.filter_uuid) {
2015
2021
  He.error("请选择筛选条件");
2016
2022
  return;
2017
2023
  }
2018
2024
  try {
2019
- e.reportId ? await Je({
2025
+ e.reportId ? await Qe({
2020
2026
  report_uuid: e.reportId,
2021
2027
  data: {
2022
2028
  report_name: t.titleComponent.data,
@@ -2024,7 +2030,7 @@ const lo = /* @__PURE__ */ Q(oo, [["__scopeId", "data-v-56fef84c"]]), no = /* @_
2024
2030
  content: [...t.notDraggableList, t.titleComponent, ...t.componentList],
2025
2031
  ...t.filterForm
2026
2032
  }
2027
- }) : await Ge({
2033
+ }) : await Je({
2028
2034
  data: {
2029
2035
  report_name: t.titleComponent.data,
2030
2036
  prod_type: window.$prodType,
@@ -2032,30 +2038,30 @@ const lo = /* @__PURE__ */ Q(oo, [["__scopeId", "data-v-56fef84c"]]), no = /* @_
2032
2038
  ...t.filterForm
2033
2039
  }
2034
2040
  }), n();
2035
- } catch (d) {
2036
- console.log(d, "error");
2041
+ } catch (p) {
2042
+ console.log(p, "error");
2037
2043
  }
2038
2044
  }
2039
- return De(() => {
2045
+ return Ie(() => {
2040
2046
  t.clearComponents();
2041
- }), (d, b) => {
2042
- const f = s("el-button"), c = s("el-button-group"), w = s("el-card");
2043
- return _(), x("div", ao, [
2047
+ }), (p, b) => {
2048
+ const v = s("el-button"), c = s("el-button-group"), w = s("el-card");
2049
+ return m(), x("div", ro, [
2044
2050
  l(w, { class: "view-wrapper" }, {
2045
- default: p(() => [
2046
- V("div", ro, [
2047
- V("div", so, [
2051
+ default: d(() => [
2052
+ V("div", so, [
2053
+ V("div", io, [
2048
2054
  l(c, null, {
2049
- default: p(() => [
2050
- (_(!0), x(D, null, I(h(yt), (m) => (_(), x(D, {
2051
- key: m.type
2055
+ default: d(() => [
2056
+ (m(!0), x(E, null, I(h(ht), (_) => (m(), x(E, {
2057
+ key: _.type
2052
2058
  }, [
2053
- m != null && m.hide ? U("", !0) : (_(), L(f, {
2059
+ _ != null && _.hide ? U("", !0) : (m(), T(v, {
2054
2060
  key: 0,
2055
- onClick: (g) => r(m)
2061
+ onClick: (g) => r(_)
2056
2062
  }, {
2057
- default: p(() => [
2058
- R(B(m.name), 1)
2063
+ default: d(() => [
2064
+ R(H(_.name), 1)
2059
2065
  ]),
2060
2066
  _: 2
2061
2067
  }, 1032, ["onClick"]))
@@ -2065,18 +2071,18 @@ const lo = /* @__PURE__ */ Q(oo, [["__scopeId", "data-v-56fef84c"]]), no = /* @_
2065
2071
  })
2066
2072
  ]),
2067
2073
  l(c, null, {
2068
- default: p(() => [
2069
- l(f, {
2074
+ default: d(() => [
2075
+ l(v, {
2070
2076
  type: "primary",
2071
- onClick: v
2077
+ onClick: f
2072
2078
  }, {
2073
- default: p(() => b[0] || (b[0] = [
2079
+ default: d(() => b[0] || (b[0] = [
2074
2080
  R("保存")
2075
2081
  ])),
2076
2082
  _: 1
2077
2083
  }),
2078
- l(f, { onClick: n }, {
2079
- default: p(() => b[1] || (b[1] = [
2084
+ l(v, { onClick: n }, {
2085
+ default: d(() => b[1] || (b[1] = [
2080
2086
  R("退出")
2081
2087
  ])),
2082
2088
  _: 1
@@ -2085,17 +2091,17 @@ const lo = /* @__PURE__ */ Q(oo, [["__scopeId", "data-v-56fef84c"]]), no = /* @_
2085
2091
  _: 1
2086
2092
  })
2087
2093
  ]),
2088
- l(Mt)
2094
+ l(Ot)
2089
2095
  ]),
2090
2096
  _: 1
2091
2097
  }),
2092
- l(no)
2098
+ l(ao)
2093
2099
  ]);
2094
2100
  };
2095
2101
  }
2096
- }), uo = {
2102
+ }), po = {
2097
2103
  class: "table-box"
2098
- }, po = /* @__PURE__ */ T({
2104
+ }, co = /* @__PURE__ */ L({
2099
2105
  __name: "Report",
2100
2106
  emits: ["click"],
2101
2107
  setup(o, {
@@ -2107,17 +2113,17 @@ const lo = /* @__PURE__ */ Q(oo, [["__scopeId", "data-v-56fef84c"]]), no = /* @_
2107
2113
  r("click", c.report_uuid, "review");
2108
2114
  }, i = (c) => {
2109
2115
  r("click", c.report_uuid, "editor");
2110
- }, v = () => {
2116
+ }, f = () => {
2111
2117
  r("click", "", "editor");
2112
- }, d = (c) => {
2118
+ }, p = (c) => {
2113
2119
  console.log(c);
2114
2120
  }, b = (c) => {
2115
2121
  window.$messageBox("确定要删除吗?", "", "删除", "error").then(async () => {
2116
- await Xe({
2122
+ await Ze({
2117
2123
  report_uuids: c
2118
2124
  }), a.value.getTableList();
2119
2125
  });
2120
- }, f = Y([
2126
+ }, v = K([
2121
2127
  // { type: 'selection', fixed: 'left', width: 70 },
2122
2128
  {
2123
2129
  type: "selection",
@@ -2168,34 +2174,34 @@ const lo = /* @__PURE__ */ Q(oo, [["__scopeId", "data-v-56fef84c"]]), no = /* @_
2168
2174
  }
2169
2175
  ]);
2170
2176
  return (c, w) => {
2171
- const m = s("el-button"), g = s("TdsTable");
2172
- return _(), x("div", uo, [l(g, {
2177
+ const _ = s("el-button"), g = s("TdsTable");
2178
+ return m(), x("div", po, [l(g, {
2173
2179
  ref_key: "proTable",
2174
2180
  ref: a,
2175
- columns: f,
2176
- "request-api": h(Qe),
2181
+ columns: v,
2182
+ "request-api": h(Xe),
2177
2183
  "init-param": e.value,
2178
2184
  "row-key": "report_uuid",
2179
2185
  options: c.$tableOptions(),
2180
2186
  "search-col": 6,
2181
- onSelectionChange: d
2187
+ onSelectionChange: p
2182
2188
  }, {
2183
- tableHeader: p(($) => [l(m, {
2189
+ tableHeader: d(($) => [l(_, {
2184
2190
  plain: "",
2185
2191
  type: "primary",
2186
2192
  class: "custom-btn",
2187
2193
  icon: "Plus",
2188
- onClick: v
2194
+ onClick: f
2189
2195
  }, {
2190
- default: p(() => w[0] || (w[0] = [R("添加")])),
2196
+ default: d(() => w[0] || (w[0] = [R("添加")])),
2191
2197
  _: 1
2192
- }), l(m, {
2198
+ }), l(_, {
2193
2199
  plain: "",
2194
2200
  type: "danger",
2195
2201
  icon: "Delete",
2196
2202
  onClick: (C) => b($.selectedListIds)
2197
2203
  }, {
2198
- default: p(() => w[1] || (w[1] = [R("删除")])),
2204
+ default: d(() => w[1] || (w[1] = [R("删除")])),
2199
2205
  _: 2
2200
2206
  }, 1032, ["onClick"])]),
2201
2207
  _: 1
@@ -2203,27 +2209,27 @@ const lo = /* @__PURE__ */ Q(oo, [["__scopeId", "data-v-56fef84c"]]), no = /* @_
2203
2209
  };
2204
2210
  }
2205
2211
  });
2206
- const co = { style: { height: "100%" } }, mo = /* @__PURE__ */ T({
2212
+ const mo = { style: { height: "100%" } }, _o = /* @__PURE__ */ L({
2207
2213
  name: "TCReport",
2208
2214
  __name: "index",
2209
2215
  setup(o) {
2210
2216
  const t = S(), e = S("table"), a = (r, n) => {
2211
2217
  t.value = r, e.value = n;
2212
2218
  };
2213
- return (r, n) => (_(), x("div", co, [
2219
+ return (r, n) => (m(), x("div", mo, [
2214
2220
  l(qe, { name: "slide-fade" }, {
2215
- default: p(() => [
2216
- e.value === "table" ? (_(), L(po, {
2221
+ default: d(() => [
2222
+ e.value === "table" ? (m(), T(co, {
2217
2223
  key: 0,
2218
2224
  onClick: a
2219
2225
  })) : U("", !0),
2220
- e.value === "review" ? (_(), L(It, {
2226
+ e.value === "review" ? (m(), T(Se, {
2221
2227
  key: 1,
2222
2228
  "report-id": t.value,
2223
2229
  modelValue: e.value,
2224
2230
  "onUpdate:modelValue": n[0] || (n[0] = (i) => e.value = i)
2225
2231
  }, null, 8, ["report-id", "modelValue"])) : U("", !0),
2226
- e.value === "editor" ? (_(), L(io, {
2232
+ e.value === "editor" ? (m(), T(uo, {
2227
2233
  key: 2,
2228
2234
  "report-id": t.value,
2229
2235
  modelValue: e.value,
@@ -2235,7 +2241,7 @@ const co = { style: { height: "100%" } }, mo = /* @__PURE__ */ T({
2235
2241
  ]));
2236
2242
  }
2237
2243
  });
2238
- const se = (o, t) => {
2244
+ const X = (o, t) => {
2239
2245
  if (o.install = (e) => {
2240
2246
  for (const a of [o, ...Object.values(t ?? {})])
2241
2247
  e.component(a.name, a);
@@ -2243,7 +2249,7 @@ const se = (o, t) => {
2243
2249
  for (const [e, a] of Object.entries(t))
2244
2250
  o[e] = a;
2245
2251
  return o;
2246
- }, _o = se(mo), fo = [
2252
+ }, fo = X(_o), vo = [
2247
2253
  {
2248
2254
  label: "正文",
2249
2255
  value: "p"
@@ -2268,7 +2274,7 @@ const se = (o, t) => {
2268
2274
  label: "描述列表",
2269
2275
  value: "report-describe"
2270
2276
  }
2271
- ], vo = [
2277
+ ], bo = [
2272
2278
  {
2273
2279
  value: "p",
2274
2280
  fields: ["table_key_relation"]
@@ -2293,49 +2299,49 @@ const se = (o, t) => {
2293
2299
  value: "report-describe",
2294
2300
  fields: ["p_text"]
2295
2301
  }
2296
- ], bo = {
2302
+ ], yo = {
2297
2303
  class: "table-box"
2298
- }, yo = /* @__PURE__ */ T({
2304
+ }, go = /* @__PURE__ */ L({
2299
2305
  name: "TCModule",
2300
2306
  __name: "index",
2301
2307
  setup(o) {
2302
- const t = S(), e = S(), a = S({}), r = S(""), n = Y({
2308
+ const t = S(), e = S(), a = S({}), r = S(""), n = K({
2303
2309
  prod_type: window.$prodType
2304
2310
  });
2305
- function i(m) {
2311
+ function i(_) {
2306
2312
  window.$messageBox("确定要删除吗?", "", "删除", "error").then(async () => {
2307
- await et({
2308
- rp_item_uuids: m
2313
+ await tt({
2314
+ rp_item_uuids: _
2309
2315
  }), t.value.getTableList();
2310
2316
  });
2311
2317
  }
2312
- function v(m) {
2313
- a.value = m ? Object.assign({}, m) : {
2318
+ function f(_) {
2319
+ a.value = _ ? Object.assign({}, _) : {
2314
2320
  table_key_relation: [{
2315
2321
  name: "",
2316
2322
  key: "",
2317
2323
  id: (/* @__PURE__ */ new Date()).getTime()
2318
2324
  }]
2319
- }, r.value = m ? "编辑自定义组件" : "新增自定义组件", e.value.open();
2325
+ }, r.value = _ ? "编辑自定义组件" : "新增自定义组件", e.value.open();
2320
2326
  }
2321
- async function d(m) {
2322
- const g = Object.assign({}, m);
2323
- g.chart_type !== "report-table" && g.chart_type !== "report-describe" && delete g.table_key_relation, g.chart_type !== "p" && (g.p_text = ""), g.rp_item_uuid ? await ot({
2327
+ async function p(_) {
2328
+ const g = Object.assign({}, _);
2329
+ g.chart_type !== "report-table" && g.chart_type !== "report-describe" && delete g.table_key_relation, g.chart_type !== "p" && (g.p_text = ""), g.rp_item_uuid ? await lt({
2324
2330
  rp_item_uuid: g.rp_item_uuid,
2325
2331
  data: g
2326
- }) : (g.prod_type = window.$prodType, await tt({
2332
+ }) : (g.prod_type = window.$prodType, await ot({
2327
2333
  data: g
2328
2334
  })), t.value.getTableList(), e.value.close();
2329
2335
  }
2330
- const b = (m) => {
2331
- a.value.table_key_relation.splice(m, 1);
2332
- }, f = () => {
2336
+ const b = (_) => {
2337
+ a.value.table_key_relation.splice(_, 1);
2338
+ }, v = () => {
2333
2339
  a.value.table_key_relation.push({
2334
2340
  name: "",
2335
2341
  key: "",
2336
2342
  id: (/* @__PURE__ */ new Date()).getTime()
2337
2343
  });
2338
- }, w = Y([{
2344
+ }, w = K([{
2339
2345
  type: "selection",
2340
2346
  width: 60,
2341
2347
  field: "rp_item_uuid",
@@ -2368,10 +2374,10 @@ const se = (o, t) => {
2368
2374
  }, {
2369
2375
  field: "chart_type",
2370
2376
  name: "组件类型",
2371
- enum: fo,
2377
+ enum: vo,
2372
2378
  show: {
2373
2379
  type: "select",
2374
- display: vo
2380
+ display: bo
2375
2381
  },
2376
2382
  rules: [{
2377
2383
  required: !0
@@ -2391,7 +2397,7 @@ const se = (o, t) => {
2391
2397
  hide: !0,
2392
2398
  show: {
2393
2399
  render: () => {
2394
- var m;
2400
+ var _;
2395
2401
  return l("div", {
2396
2402
  style: "width:80%"
2397
2403
  }, [l("div", {
@@ -2401,7 +2407,7 @@ const se = (o, t) => {
2401
2407
  style: "width:50%"
2402
2408
  }, [R("表头名称")]), l("span", {
2403
2409
  style: "width:50%"
2404
- }, [R("KEY")])]), (m = a.value.table_key_relation) == null ? void 0 : m.map((g, $) => l("div", {
2410
+ }, [R("KEY")])]), (_ = a.value.table_key_relation) == null ? void 0 : _.map((g, $) => l("div", {
2405
2411
  class: "flex items-center space-between form-m0 w-100%",
2406
2412
  style: "gap:15px;margin-bottom:10px;",
2407
2413
  key: $
@@ -2428,11 +2434,11 @@ const se = (o, t) => {
2428
2434
  }, [l(s("el-icon"), {
2429
2435
  onClick: () => b($)
2430
2436
  }, {
2431
- default: () => [l(Me, null, null)]
2437
+ default: () => [l(Oe, null, null)]
2432
2438
  })])])), l(s("el-button"), {
2433
2439
  class: "report-btn ",
2434
2440
  icon: "Plus",
2435
- onClick: () => f()
2441
+ onClick: () => v()
2436
2442
  }, {
2437
2443
  default: () => [R("新增表头与KEY")]
2438
2444
  })]);
@@ -2443,8 +2449,8 @@ const se = (o, t) => {
2443
2449
  },
2444
2450
  rules: [{
2445
2451
  required: !0,
2446
- validator: (m, g, $) => {
2447
- delete m.message, g.forEach((C) => {
2452
+ validator: (_, g, $) => {
2453
+ delete _.message, g.forEach((C) => {
2448
2454
  C.name ? C.key || $(new Error("请填写表头名称和KEY")) : $(new Error("请填写表头名称和KEY"));
2449
2455
  }), $();
2450
2456
  },
@@ -2473,72 +2479,72 @@ const se = (o, t) => {
2473
2479
  name: "操作",
2474
2480
  align: "center",
2475
2481
  fixed: "right",
2476
- render: (m) => l("div", null, [l(s("el-button"), {
2482
+ render: (_) => l("div", null, [l(s("el-button"), {
2477
2483
  link: !0,
2478
2484
  type: "primary",
2479
2485
  class: "custom-btn",
2480
2486
  icon: "Edit",
2481
2487
  title: "编辑",
2482
- onClick: () => v(m.row)
2488
+ onClick: () => f(_.row)
2483
2489
  }, null), l(s("el-button"), {
2484
2490
  link: !0,
2485
2491
  type: "danger",
2486
2492
  icon: "Delete",
2487
2493
  title: "删除",
2488
- onClick: () => i([m.row.rp_item_uuid])
2494
+ onClick: () => i([_.row.rp_item_uuid])
2489
2495
  }, null)])
2490
2496
  }]);
2491
- return (m, g) => {
2497
+ return (_, g) => {
2492
2498
  const $ = s("el-button"), C = s("TdsTable"), u = s("TdsForm");
2493
- return _(), x("div", bo, [l(C, {
2499
+ return m(), x("div", yo, [l(C, {
2494
2500
  ref_key: "refTdsTable",
2495
2501
  ref: t,
2496
2502
  columns: w,
2497
- "request-api": h(Ze),
2503
+ "request-api": h(et),
2498
2504
  "init-param": n,
2499
2505
  "row-key": "rp_item_uuid",
2500
- options: m.$tableOptions(),
2506
+ options: _.$tableOptions(),
2501
2507
  "search-col": 6
2502
2508
  }, {
2503
- tableHeader: p((y) => [l($, {
2509
+ tableHeader: d((y) => [l($, {
2504
2510
  plain: "",
2505
2511
  type: "primary",
2506
2512
  class: "custom-btn",
2507
2513
  icon: "Plus",
2508
- onClick: g[0] || (g[0] = (E) => v())
2514
+ onClick: g[0] || (g[0] = (A) => f())
2509
2515
  }, {
2510
- default: p(() => g[1] || (g[1] = [R("添加")])),
2516
+ default: d(() => g[1] || (g[1] = [R("添加")])),
2511
2517
  _: 1
2512
2518
  }), l($, {
2513
2519
  plain: "",
2514
2520
  type: "danger",
2515
2521
  icon: "Delete",
2516
- onClick: (E) => i(y.selectedListIds)
2522
+ onClick: (A) => i(y.selectedListIds)
2517
2523
  }, {
2518
- default: p(() => g[2] || (g[2] = [R("删除")])),
2524
+ default: d(() => g[2] || (g[2] = [R("删除")])),
2519
2525
  _: 2
2520
2526
  }, 1032, ["onClick"])]),
2521
2527
  _: 1
2522
2528
  }, 8, ["columns", "request-api", "init-param", "options"]), l(u, ve({
2523
2529
  ref_key: "refTdsForm",
2524
2530
  ref: e
2525
- }, m.$formBindProps({
2531
+ }, _.$formBindProps({
2526
2532
  title: r.value,
2527
2533
  form: a.value,
2528
2534
  columns: w
2529
2535
  }), {
2530
- onSubmit: d
2536
+ onSubmit: p
2531
2537
  }), null, 16)]);
2532
2538
  };
2533
2539
  }
2534
2540
  });
2535
- const go = se(yo), ho = {
2541
+ const ho = X(go), wo = {
2536
2542
  class: "table-box"
2537
2543
  };
2538
2544
  function ue(o) {
2539
- return typeof o == "function" || Object.prototype.toString.call(o) === "[object Object]" && !le(o);
2545
+ return typeof o == "function" || Object.prototype.toString.call(o) === "[object Object]" && !ne(o);
2540
2546
  }
2541
- const wo = /* @__PURE__ */ T({
2547
+ const Co = /* @__PURE__ */ L({
2542
2548
  name: "TCSubscribe",
2543
2549
  __name: "index",
2544
2550
  setup(o) {
@@ -2548,38 +2554,38 @@ const wo = /* @__PURE__ */ T({
2548
2554
  } = window, n = S(""), i = S({
2549
2555
  receiver: []
2550
2556
  });
2551
- function v(u) {
2557
+ function f(u) {
2552
2558
  r(u, "subscript_name", a("button.delete"), "error").then(async () => {
2553
- await rt({
2559
+ await st({
2554
2560
  subscript_uuids: u.map((y) => y.subscript_uuid)
2555
2561
  }), t.value.getTableList();
2556
2562
  });
2557
2563
  }
2558
- function d() {
2559
- v(t.value.selectedList);
2564
+ function p() {
2565
+ f(t.value.selectedList);
2560
2566
  }
2561
2567
  const b = (u) => {
2562
2568
  i.value = u ? Object.assign({}, u) : {
2563
2569
  receiver: []
2564
2570
  }, n.value = u ? "编辑报表订阅" : "新增报表订阅", e.value.open();
2565
2571
  };
2566
- async function f(u) {
2572
+ async function v(u) {
2567
2573
  const y = Object.assign({}, u);
2568
- y.subscript_uuid ? await at({
2574
+ y.subscript_uuid ? await rt({
2569
2575
  subscript_uuid: y.subscript_uuid,
2570
2576
  data: y
2571
- }) : await nt({
2577
+ }) : await at({
2572
2578
  data: y
2573
2579
  }), t.value.getTableList(), e.value.close();
2574
2580
  }
2575
- function c(u, y, E) {
2581
+ function c(u, y, A) {
2576
2582
  if (!y || y.length === 0)
2577
- return E(new Error("请输入收件人"));
2578
- E();
2583
+ return A(new Error("请输入收件人"));
2584
+ A();
2579
2585
  }
2580
2586
  const w = (u, y) => {
2581
2587
  u.target.value && i.value[y].push(u.target.value);
2582
- }, m = [{
2588
+ }, _ = [{
2583
2589
  label: "周一",
2584
2590
  value: 1
2585
2591
  }, {
@@ -2609,7 +2615,7 @@ const wo = /* @__PURE__ */ T({
2609
2615
  }, {
2610
2616
  label: "每月",
2611
2617
  value: 2
2612
- }], $ = [], C = Y([{
2618
+ }], $ = [], C = K([{
2613
2619
  type: "selection",
2614
2620
  align: "center",
2615
2621
  field: "subscript_uuid",
@@ -2636,7 +2642,7 @@ const wo = /* @__PURE__ */ T({
2636
2642
  }, {
2637
2643
  field: "report_uuid",
2638
2644
  name: "报表类型",
2639
- enum: () => it({
2645
+ enum: () => ut({
2640
2646
  prod_type: window.$prodType
2641
2647
  }),
2642
2648
  fieldNames: {
@@ -2653,7 +2659,7 @@ const wo = /* @__PURE__ */ T({
2653
2659
  }, {
2654
2660
  field: "format",
2655
2661
  name: "报表格式",
2656
- enum: ut,
2662
+ enum: pt,
2657
2663
  fieldNames: {
2658
2664
  label: "name",
2659
2665
  value: "id"
@@ -2668,7 +2674,7 @@ const wo = /* @__PURE__ */ T({
2668
2674
  }, {
2669
2675
  field: "select_data",
2670
2676
  name: "资产/任务",
2671
- enum: pt,
2677
+ enum: dt,
2672
2678
  fieldNames: {
2673
2679
  label: "label",
2674
2680
  value: "data"
@@ -2697,7 +2703,7 @@ const wo = /* @__PURE__ */ T({
2697
2703
  field: "receiver_email",
2698
2704
  name: "收件人",
2699
2705
  width: 300,
2700
- render: (u) => l(D, null, [u.row.receiver_email.map((y) => l(s("el-tag"), {
2706
+ render: (u) => l(E, null, [u.row.receiver_email.map((y) => l(s("el-tag"), {
2701
2707
  class: "mr-10px",
2702
2708
  type: "info"
2703
2709
  }, ue(y) ? y : {
@@ -2707,7 +2713,7 @@ const wo = /* @__PURE__ */ T({
2707
2713
  type: "input",
2708
2714
  render: () => {
2709
2715
  let u;
2710
- return l(D, null, [l(s("el-select"), {
2716
+ return l(E, null, [l(s("el-select"), {
2711
2717
  class: "right-select",
2712
2718
  modelValue: i.value.receiver_email,
2713
2719
  "onUpdate:modelValue": (y) => i.value.receiver_email = y,
@@ -2779,7 +2785,7 @@ const wo = /* @__PURE__ */ T({
2779
2785
  field: "weekday",
2780
2786
  name: "星期",
2781
2787
  hide: !0,
2782
- enum: m,
2788
+ enum: _,
2783
2789
  show: {
2784
2790
  type: "select"
2785
2791
  },
@@ -2826,7 +2832,7 @@ const wo = /* @__PURE__ */ T({
2826
2832
  "active-value": 1,
2827
2833
  "inactive-value": 0,
2828
2834
  onChange: (y) => {
2829
- st({
2835
+ it({
2830
2836
  subscript_uuid: u.row.subscript_uuid,
2831
2837
  enable_status: y
2832
2838
  }), t.value.getTableList();
@@ -2850,40 +2856,40 @@ const wo = /* @__PURE__ */ T({
2850
2856
  type: "danger",
2851
2857
  icon: "Delete",
2852
2858
  title: a("button.delete"),
2853
- onClick: () => v([u.row])
2859
+ onClick: () => f([u.row])
2854
2860
  }, null)])
2855
2861
  }]);
2856
2862
  return (u, y) => {
2857
- const E = s("el-button");
2858
- return _(), x("div", ho, [l(h(Oe), {
2863
+ const A = s("el-button");
2864
+ return m(), x("div", wo, [l(h(Ne), {
2859
2865
  ref_key: "refTdsTable",
2860
2866
  ref: t,
2861
2867
  "row-key": "subscript_uuid",
2862
- "request-api": h(lt),
2868
+ "request-api": h(nt),
2863
2869
  columns: C,
2864
2870
  options: u.$tableOptions()
2865
2871
  }, {
2866
- tableHeader: p((k) => [l(E, {
2872
+ tableHeader: d((k) => [l(A, {
2867
2873
  type: "primary",
2868
2874
  icon: "Plus",
2869
2875
  class: "custom-btn",
2870
2876
  plain: "",
2871
- onClick: y[0] || (y[0] = (N) => b())
2877
+ onClick: y[0] || (y[0] = (W) => b())
2872
2878
  }, {
2873
- default: p(() => [R(B(h(a)("button.add")), 1)]),
2879
+ default: d(() => [R(H(h(a)("button.add")), 1)]),
2874
2880
  _: 1
2875
- }), l(E, {
2881
+ }), l(A, {
2876
2882
  type: "danger",
2877
2883
  icon: "Delete",
2878
2884
  plain: "",
2879
- onClick: d,
2885
+ onClick: p,
2880
2886
  disabled: !k.selectedListIds.length
2881
2887
  }, {
2882
- default: p(() => [R(B(h(a)("button.delete")), 1)]),
2888
+ default: d(() => [R(H(h(a)("button.delete")), 1)]),
2883
2889
  _: 2
2884
2890
  }, 1032, ["disabled"])]),
2885
2891
  _: 1
2886
- }, 8, ["request-api", "columns", "options"]), l(h(Ne), ve({
2892
+ }, 8, ["request-api", "columns", "options"]), l(h(We), ve({
2887
2893
  ref_key: "refTdsForm",
2888
2894
  ref: e
2889
2895
  }, u.$formBindProps({
@@ -2891,24 +2897,68 @@ const wo = /* @__PURE__ */ T({
2891
2897
  form: i.value,
2892
2898
  columns: C
2893
2899
  }), {
2894
- onSubmit: f
2900
+ onSubmit: v
2895
2901
  }), null, 16)]);
2896
2902
  };
2897
2903
  }
2898
- }), Co = se(wo), xo = {
2899
- TCReport: _o,
2900
- TCModule: go,
2901
- TCSubscribe: Co
2902
- }, Uo = {
2904
+ }), xo = X(Co), $o = {
2905
+ class: "main-wrapper"
2906
+ }, ko = /* @__PURE__ */ L({
2907
+ name: "TCBuildin",
2908
+ __name: "index",
2909
+ setup(o) {
2910
+ const t = S([]), e = S("1");
2911
+ async function a() {
2912
+ const r = await ct({
2913
+ prod_type: window.$prodType
2914
+ });
2915
+ t.value = r.data, e.value = r.data[0].report_uuid;
2916
+ }
2917
+ return a(), (r, n) => {
2918
+ const i = s("el-tab-pane"), f = s("el-tabs");
2919
+ return m(), x("div", $o, [l(f, {
2920
+ modelValue: e.value,
2921
+ "onUpdate:modelValue": n[0] || (n[0] = (p) => e.value = p),
2922
+ class: "report-tabs",
2923
+ style: {
2924
+ height: "100%"
2925
+ }
2926
+ }, {
2927
+ default: d(() => [(m(!0), x(E, null, I(t.value, (p) => (m(), T(i, {
2928
+ style: {
2929
+ height: "100%"
2930
+ },
2931
+ key: p.report_uuid,
2932
+ label: p.report_name,
2933
+ name: p.report_uuid
2934
+ }, {
2935
+ default: d(() => [e.value === p.report_uuid ? (m(), T(Se, {
2936
+ key: 0,
2937
+ "report-id": e.value
2938
+ }, null, 8, ["report-id"])) : U("", !0)]),
2939
+ _: 2
2940
+ }, 1032, ["label", "name"]))), 128))]),
2941
+ _: 1
2942
+ }, 8, ["modelValue"])]);
2943
+ };
2944
+ }
2945
+ });
2946
+ const Vo = /* @__PURE__ */ N(ko, [["__scopeId", "data-v-c48d204e"]]), So = X(Vo), To = {
2947
+ TCReport: fo,
2948
+ TCModule: ho,
2949
+ TCSubscribe: xo,
2950
+ TCBuildin: So
2951
+ }, Io = {
2903
2952
  install(o, t) {
2904
- Object.entries(xo).forEach(([e, a]) => {
2953
+ Object.entries(To).forEach(([e, a]) => {
2905
2954
  o.component(e, a);
2906
2955
  }), t.prodType && (window.$prodType = t.prodType), t.envURL && (window.$reportURL = t.envURL);
2907
2956
  }
2908
2957
  };
2909
2958
  export {
2910
- go as TCModule,
2911
- _o as TCReport,
2912
- Co as TCSubscribe,
2913
- Uo as default
2959
+ So as TCBuildin,
2960
+ ho as TCModule,
2961
+ fo as TCReport,
2962
+ xo as TCSubscribe,
2963
+ Io as default
2914
2964
  };