@topdatasec/report 1.1.19 → 1.1.21

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,12 +1,12 @@
1
- import { defineComponent as L, computed as Q, resolveComponent as s, openBlock as c, createElementBlock as x, createElementVNode as T, Fragment as S, renderList as P, normalizeClass as N, createBlock as k, createCommentVNode as R, withDirectives as le, createTextVNode as E, toDisplayString as M, unref as y, ref as V, createVNode as l, withCtx as u, onMounted as ne, normalizeProps as pe, guardReactiveProps as de, isVNode as ae, normalizeStyle as Ee, mergeModels as ce, useModel as me, resolveDirective as fe, resolveDynamicComponent as G, isRef as Ue, withModifiers as Re, watch as Se, shallowRef as Oe, onBeforeUnmount as Pe, onUnmounted as Qe, reactive as X, TransitionGroup as Ie, mergeProps as ve } from "vue";
1
+ import { defineComponent as L, computed as I, resolveComponent as s, openBlock as c, createElementBlock as x, createElementVNode as T, Fragment as S, renderList as P, normalizeClass as N, createBlock as D, createCommentVNode as R, withDirectives as le, createTextVNode as E, toDisplayString as q, unref as w, ref as V, createVNode as l, withCtx as u, onMounted as ne, normalizeProps as pe, guardReactiveProps as de, isVNode as ae, normalizeStyle as Ee, mergeModels as ce, useModel as me, resolveDirective as fe, resolveDynamicComponent as G, isRef as Ue, withModifiers as Re, watch as Se, shallowRef as Oe, onBeforeUnmount as Pe, onUnmounted as Qe, reactive as X, TransitionGroup as Ie, mergeProps as ve } from "vue";
2
2
  import { defineStore as Fe, storeToRefs as Ke } from "pinia";
3
3
  import { ElNotification as Me, ElMessage as qe } from "element-plus";
4
4
  import { VueDraggable as He } from "vue-draggable-plus";
5
5
  import { Toolbar as ze, Editor as Ne } from "@wangeditor/editor-for-vue";
6
6
  import { CircleClose as Ye } from "@element-plus/icons-vue";
7
7
  import { TdsTable as Ge, TdsForm as Xe } from "topdatasec-ui";
8
- const H = () => (/* @__PURE__ */ new Date()).getTime().toString(36) + "-" + Math.random().toString(36).substring(2, 9), J = (o) => JSON.parse(JSON.stringify(o)), Je = (o) => o.replace(/-([a-z])/g, (t, e) => e.toUpperCase()).replace(/^[a-z]/, (t) => t.toUpperCase()), F = (o, t) => o[Je(t)];
9
- function Ze(o, t, e) {
8
+ const Q = () => (/* @__PURE__ */ new Date()).getTime().toString(36) + "-" + Math.random().toString(36).substring(2, 9), J = (o) => JSON.parse(JSON.stringify(o)), Je = (o) => o.replace(/-([a-z])/g, (t, e) => e.toUpperCase()).replace(/^[a-z]/, (t) => t.toUpperCase()), K = (o, t) => o[Je(t)];
9
+ function je(o, t, e) {
10
10
  const a = atob(o), r = [];
11
11
  for (let i = 0; i < a.length; i += 512) {
12
12
  const g = a.slice(i, i + 512), m = new Array(g.length);
@@ -20,7 +20,7 @@ function Ze(o, t, e) {
20
20
  document.body.removeChild(d), URL.revokeObjectURL(A);
21
21
  }, 0);
22
22
  }
23
- const je = (o) => window.$http.request({
23
+ const Ze = (o) => window.$http.request({
24
24
  url: `${window.$reportURL}/tds/report/demo/get`,
25
25
  method: "get",
26
26
  params: o,
@@ -122,7 +122,7 @@ const je = (o) => window.$http.request({
122
122
  params: o,
123
123
  loading: !1,
124
124
  isError: !1
125
- }), _e = "rgba(51, 51, 51, 0.15)", q = "rgba(51, 51, 51, 1)", z = 12, we = (o = !1) => {
125
+ }), _e = "rgba(51, 51, 51, 0.15)", H = "rgba(51, 51, 51, 1)", z = 12, ye = (o = !1) => {
126
126
  const t = {
127
127
  // top: '2%',
128
128
  left: "3%",
@@ -157,7 +157,7 @@ const je = (o) => window.$http.request({
157
157
  t.forEach((A) => {
158
158
  r.push(A[a.name]), n.push(A[a.value]);
159
159
  }), 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;
160
- }, j = (o = [
160
+ }, Z = (o = [
161
161
  {
162
162
  name: "数据1",
163
163
  value: 63
@@ -201,7 +201,7 @@ const je = (o) => window.$http.request({
201
201
  // type: 'plain', //plain:普通图例;scroll:可滚动翻页的图例。当图例数量较多时使。
202
202
  // show: true,
203
203
  // },
204
- grid: we(),
204
+ grid: ye(),
205
205
  title: {
206
206
  show: !0,
207
207
  text: "样例数据",
@@ -221,7 +221,7 @@ const je = (o) => window.$http.request({
221
221
  nameRotate: 0,
222
222
  // 坐标轴名称旋转
223
223
  axisLabel: {
224
- color: q,
224
+ color: H,
225
225
  // X轴类目名称样式
226
226
  rotate: 0
227
227
  // X轴类目名称旋转角度
@@ -250,7 +250,7 @@ const je = (o) => window.$http.request({
250
250
  position: "left",
251
251
  nameTextStyle: {
252
252
  fontSize: z,
253
- color: q,
253
+ color: H,
254
254
  fontWeight: "bold"
255
255
  },
256
256
  axisLine: { show: !1 },
@@ -260,7 +260,7 @@ const je = (o) => window.$http.request({
260
260
  splitLine: { show: !1 },
261
261
  // 纵向分隔线
262
262
  axisLabel: {
263
- color: q,
263
+ color: H,
264
264
  // y轴刻度标签
265
265
  formatter: "{value}",
266
266
  inside: !1
@@ -370,7 +370,7 @@ const je = (o) => window.$http.request({
370
370
  },
371
371
  textStyle: {
372
372
  fontSize: z,
373
- color: q
373
+ color: H
374
374
  },
375
375
  data: o,
376
376
  orient: "vertical",
@@ -478,11 +478,11 @@ const je = (o) => window.$http.request({
478
478
  ]
479
479
  };
480
480
  return d;
481
- }, wt = (o, t, e = { name: "name", value: "value" }) => {
481
+ }, yt = (o, t, e = { name: "name", value: "value" }) => {
482
482
  o.xAxis.data = t.map((a) => a[e.name]), Array.isArray(e.value) ? e.value.forEach((a, r) => {
483
483
  o.series[r].data = t.map((n) => n[a.value]);
484
484
  }) : typeof e.value == "string" && (o.series[0].data = t.map((a) => a[e.value]));
485
- }, yt = () => ({
485
+ }, wt = () => ({
486
486
  name: "",
487
487
  type: "line",
488
488
  symbol: "circle",
@@ -528,7 +528,7 @@ const je = (o) => window.$http.request({
528
528
  }
529
529
  },
530
530
  data: []
531
- }), Z = (o = [
531
+ }), j = (o = [
532
532
  {
533
533
  name: "2024-08",
534
534
  value: 63
@@ -560,12 +560,12 @@ const je = (o) => window.$http.request({
560
560
  show: !0,
561
561
  itemWidth: 30,
562
562
  textStyle: {
563
- color: q,
563
+ color: H,
564
564
  fontSize: z,
565
565
  padding: [0, 8, 0, 8]
566
566
  }
567
567
  },
568
- grid: we(),
568
+ grid: ye(),
569
569
  xAxis: {
570
570
  type: "category",
571
571
  splitLine: { show: !1 },
@@ -577,7 +577,7 @@ const je = (o) => window.$http.request({
577
577
  axisLabel: {
578
578
  show: !0,
579
579
  fontSize: z,
580
- color: q
580
+ color: H
581
581
  },
582
582
  boundaryGap: !1,
583
583
  data: o.map((n) => n[t.name])
@@ -590,17 +590,17 @@ const je = (o) => window.$http.request({
590
590
  axisTick: { show: !1 },
591
591
  nameTextStyle: {
592
592
  fontSize: z,
593
- color: q,
593
+ color: H,
594
594
  padding: [0, 60, 0, 0]
595
595
  },
596
596
  axisLabel: {
597
597
  show: !0,
598
598
  fontSize: z,
599
- color: q
599
+ color: H
600
600
  }
601
601
  },
602
602
  series: []
603
- }, a = yt(), r = [];
603
+ }, a = wt(), r = [];
604
604
  if (Array.isArray(t.value))
605
605
  t.value.forEach((n, A) => {
606
606
  const d = J(a);
@@ -649,7 +649,7 @@ const je = (o) => window.$http.request({
649
649
  }
650
650
  ],
651
651
  uri: "/da/report/sens/get_asset_all",
652
- id: H()
652
+ id: Q()
653
653
  },
654
654
  {
655
655
  type: "range-time",
@@ -659,7 +659,7 @@ const je = (o) => window.$http.request({
659
659
  end_time: "2024-09-12 19:49:34"
660
660
  }
661
661
  ],
662
- id: H()
662
+ id: Q()
663
663
  },
664
664
  {
665
665
  type: "h1",
@@ -672,7 +672,7 @@ const je = (o) => window.$http.request({
672
672
  textIndent: 0,
673
673
  textAlign: "left"
674
674
  },
675
- id: H()
675
+ id: Q()
676
676
  },
677
677
  {
678
678
  type: "h2",
@@ -686,7 +686,7 @@ const je = (o) => window.$http.request({
686
686
  textIndent: 0,
687
687
  textAlign: "left"
688
688
  },
689
- id: H()
689
+ id: Q()
690
690
  },
691
691
  {
692
692
  type: "report-table",
@@ -704,7 +704,7 @@ const je = (o) => window.$http.request({
704
704
  stripe: !1
705
705
  },
706
706
  rp_item_uuid: "",
707
- id: H()
707
+ id: Q()
708
708
  }
709
709
  ], xt = [
710
710
  {
@@ -774,39 +774,39 @@ const je = (o) => window.$http.request({
774
774
  data: $,
775
775
  showColumn: [{ key: "label", value: "data" }],
776
776
  name: "图表",
777
- options: j(),
777
+ options: Z(),
778
778
  rp_item_uuid: "",
779
779
  id: ""
780
780
  }
781
781
  ], Bt = (o) => ({
782
- bar: {
782
+ bar: () => ({
783
783
  type: "bar",
784
784
  data: $,
785
785
  showColumn: [{ key: "label", value: "data" }],
786
786
  name: "图表",
787
- options: j(),
787
+ options: Z(),
788
788
  rp_item_uuid: "",
789
- id: ""
790
- },
791
- line: {
789
+ id: Q()
790
+ }),
791
+ line: () => ({
792
792
  type: "line",
793
793
  data: $,
794
794
  showColumn: [{ key: "label", value: "data" }],
795
795
  name: "图表",
796
- options: Z(),
796
+ options: j(),
797
797
  rp_item_uuid: "",
798
- id: ""
799
- },
800
- pie: {
798
+ id: Q()
799
+ }),
800
+ pie: () => ({
801
801
  type: "pie",
802
802
  data: ht,
803
803
  showColumn: [{ key: "label", value: "data" }],
804
804
  name: "图表",
805
805
  options: re({ isLegend: !0 }),
806
806
  rp_item_uuid: "",
807
- id: ""
808
- },
809
- "report-table": {
807
+ id: Q()
808
+ }),
809
+ "report-table": () => ({
810
810
  type: "report-table",
811
811
  data: se,
812
812
  showColumn: Ae,
@@ -822,9 +822,49 @@ const je = (o) => window.$http.request({
822
822
  stripe: !1
823
823
  },
824
824
  rp_item_uuid: "",
825
- id: ""
826
- }
827
- })[o], I = Fe("tds-report", {
825
+ id: Q()
826
+ }),
827
+ "report-describe": () => ({
828
+ type: "report-describe",
829
+ data: {
830
+ object_name: "10.10.2.21_root ",
831
+ database_type: "MYSQL",
832
+ ip_port: "10.10.2.21: 3306 ",
833
+ time_range: "2025-03-01 15:51:51~2025-03-06 15:51:51",
834
+ report_time: "2025-03-06 15:51:51"
835
+ },
836
+ name: "描述列表",
837
+ options: {
838
+ title: "",
839
+ border: !0,
840
+ column: 1,
841
+ direction: "horizontal"
842
+ },
843
+ showColumn: [
844
+ {
845
+ name: "分析对象",
846
+ key: "object_name"
847
+ },
848
+ {
849
+ name: "数据库类型",
850
+ key: "database_type"
851
+ },
852
+ {
853
+ name: "IP与端口信息",
854
+ key: " ip_port"
855
+ },
856
+ {
857
+ name: "时间范围",
858
+ key: "time_range"
859
+ },
860
+ {
861
+ name: "报告生成时间",
862
+ key: "report_time"
863
+ }
864
+ ],
865
+ id: Q()
866
+ })
867
+ })[o](), F = Fe("tds-report", {
828
868
  state: () => ({
829
869
  componentList: [],
830
870
  activeComponents: {},
@@ -845,10 +885,10 @@ const je = (o) => window.$http.request({
845
885
  },
846
886
  async getReportDemo(o) {
847
887
  let t = [];
848
- o ? t = (await je({ report_uuid: o })).data : t = { content: J(Ct), range_time: 1 };
888
+ o ? t = (await Ze({ report_uuid: o })).data : t = { content: J(Ct), range_time: 1 };
849
889
  const e = [];
850
890
  t.content.forEach((a) => {
851
- (a.type === "report-select" || a.type === "range-time") && e.push(a), a.type === "h1" && (this.titleComponent = a), a.id = H();
891
+ (a.type === "report-select" || a.type === "range-time") && e.push(a), a.type === "h1" && (this.titleComponent = a), a.id = Q();
852
892
  }), this.notDraggableList = e, this.filterForm.range_time = t.range_time, this.filterForm.filter_uuid = t.filter_uuid, t.content.splice(0, 3), this.componentList = t.content;
853
893
  },
854
894
  setActiveComponents(o) {
@@ -879,13 +919,13 @@ const je = (o) => window.$http.request({
879
919
  }
880
920
  });
881
921
  }
882
- }, Vt = { class: "catalogue" }, Dt = ["href", "title"], kt = /* @__PURE__ */ L({
922
+ }, Vt = { class: "catalogue" }, kt = ["href", "title"], Dt = /* @__PURE__ */ L({
883
923
  __name: "Catalogue",
884
924
  props: {
885
925
  data: { default: () => [] }
886
926
  },
887
927
  setup(o) {
888
- const t = o, e = Q(() => t.data.filter((a) => ["h2", "h3", "h4"].includes(a.type)));
928
+ const t = o, e = I(() => t.data.filter((a) => ["h2", "h3", "h4"].includes(a.type)));
889
929
  return (a, r) => {
890
930
  const n = s("el-divider");
891
931
  return c(), x("div", Vt, [
@@ -894,7 +934,7 @@ const je = (o) => window.$http.request({
894
934
  class: N("level" + A.type),
895
935
  key: A.value
896
936
  }, [
897
- A.type === "h2" ? (c(), k(n, {
937
+ A.type === "h2" ? (c(), D(n, {
898
938
  key: 0,
899
939
  style: { "margin-top": "10px", "margin-bottom": "10px" }
900
940
  })) : R("", !0),
@@ -903,9 +943,9 @@ const je = (o) => window.$http.request({
903
943
  href: "#" + A.id,
904
944
  title: A.data
905
945
  }, [
906
- E(M(A.data), 1)
907
- ], 8, Dt)), [
908
- [y(Tt)]
946
+ E(q(A.data), 1)
947
+ ], 8, kt)), [
948
+ [w(Tt)]
909
949
  ])
910
950
  ], 2))), 128))
911
951
  ]);
@@ -917,15 +957,15 @@ const Y = (o, t) => {
917
957
  for (const [a, r] of t)
918
958
  e[a] = r;
919
959
  return e;
920
- }, Lt = /* @__PURE__ */ Y(kt, [["__scopeId", "data-v-00cc9080"]]), Et = {
960
+ }, Lt = /* @__PURE__ */ Y(Dt, [["__scopeId", "data-v-00cc9080"]]), Et = {
921
961
  class: "chart-components"
922
- }, ye = /* @__PURE__ */ L({
962
+ }, we = /* @__PURE__ */ L({
923
963
  __name: "Bar",
924
964
  props: {
925
965
  value: {}
926
966
  },
927
967
  setup(o) {
928
- const t = o, e = Q(() => t.value.options);
968
+ const t = o, e = I(() => t.value.options);
929
969
  return V(!1), (a, r) => {
930
970
  const n = s("TdsChart");
931
971
  return c(), x("div", Et, [l(n, {
@@ -939,7 +979,7 @@ const Y = (o, t) => {
939
979
  value: {}
940
980
  },
941
981
  setup(o) {
942
- const t = o, e = Q(() => t.value.options);
982
+ const t = o, e = I(() => t.value.options);
943
983
  return (a, r) => {
944
984
  const n = s("TdsChart");
945
985
  return c(), x("div", Ut, [
@@ -953,7 +993,7 @@ const Y = (o, t) => {
953
993
  value: {}
954
994
  },
955
995
  setup(o) {
956
- const t = o, e = Q(() => t.value.options);
996
+ const t = o, e = I(() => t.value.options);
957
997
  return (a, r) => {
958
998
  const n = s("TdsChart");
959
999
  return c(), x("div", Rt, [
@@ -983,7 +1023,7 @@ const Y = (o, t) => {
983
1023
  placeholder: "全部"
984
1024
  }, {
985
1025
  default: u(() => [
986
- (c(!0), x(S, null, P(n.value.data, (m) => (c(), k(i, {
1026
+ (c(!0), x(S, null, P(n.value.data, (m) => (c(), D(i, {
987
1027
  key: m.data,
988
1028
  label: m.label,
989
1029
  value: m.data
@@ -1068,7 +1108,7 @@ const xe = /* @__PURE__ */ L({
1068
1108
  };
1069
1109
  return (a, r) => (c(), x("div", {
1070
1110
  style: Ee(e())
1071
- }, M(a.value.data), 5));
1111
+ }, q(a.value.data), 5));
1072
1112
  }
1073
1113
  }), Pt = { class: "chart-components" }, Be = /* @__PURE__ */ L({
1074
1114
  __name: "ReportChart",
@@ -1076,9 +1116,9 @@ const xe = /* @__PURE__ */ L({
1076
1116
  value: {}
1077
1117
  },
1078
1118
  setup(o) {
1079
- const t = o, e = Q(() => t.value), a = Q(() => {
1119
+ const t = o, e = I(() => t.value), a = I(() => {
1080
1120
  if (e.value.type === "bar") {
1081
- e.value.options.series = j([]).series;
1121
+ e.value.options.series = Z([]).series;
1082
1122
  const r = [];
1083
1123
  let n = "";
1084
1124
  e.value.data.forEach((A) => {
@@ -1104,7 +1144,7 @@ const xe = /* @__PURE__ */ L({
1104
1144
  i[g.value] = d.data[m].value;
1105
1145
  }), i;
1106
1146
  });
1107
- console.log(Z([], n), "chartsLine([], params)"), e.value.options.series = Z([], n).series, wt(e.value.options, A, n);
1147
+ console.log(j([], n), "chartsLine([], params)"), e.value.options.series = j([], n).series, yt(e.value.options, A, n);
1108
1148
  }
1109
1149
  return e.value.options;
1110
1150
  });
@@ -1135,7 +1175,9 @@ const Te = /* @__PURE__ */ L({
1135
1175
  }, Qt(r = a.showColumn.map((n) => l(s("el-descriptions-item"), {
1136
1176
  label: n.name
1137
1177
  }, {
1138
- default: () => [t.value.data[n.key]]
1178
+ default: () => [l("div", {
1179
+ style: "word-break: break-all; white-space: normal; overflow-wrap: break-word;"
1180
+ }, [t.value.data[n.key]])]
1139
1181
  }))) ? r : {
1140
1182
  default: () => [r]
1141
1183
  });
@@ -1170,7 +1212,7 @@ const Te = /* @__PURE__ */ L({
1170
1212
  emits: ["update:modelValue"],
1171
1213
  setup(o) {
1172
1214
  const t = V(!1), e = {
1173
- Bar: ye,
1215
+ Bar: we,
1174
1216
  Line: he,
1175
1217
  Pie: Ce,
1176
1218
  ReportSelect: ee,
@@ -1179,7 +1221,7 @@ const Te = /* @__PURE__ */ L({
1179
1221
  ReportText: oe,
1180
1222
  ReportChart: Be,
1181
1223
  ReportDescribe: Te
1182
- }, a = I(), r = o, n = me(o, "modelValue"), A = V([]), d = V([]), i = V([]), g = V(""), m = V("");
1224
+ }, a = F(), r = o, n = me(o, "modelValue"), A = V([]), d = V([]), i = V([]), g = V(""), m = V("");
1183
1225
  function b() {
1184
1226
  n.value = "table";
1185
1227
  }
@@ -1189,16 +1231,16 @@ const Te = /* @__PURE__ */ L({
1189
1231
  message: "正在生成导出中,请稍等...",
1190
1232
  type: "info"
1191
1233
  });
1192
- const D = {
1234
+ const k = {
1193
1235
  export_format: p,
1194
1236
  select_data: i.value,
1195
1237
  report_uuid: r.reportId,
1196
1238
  start_time: g.value,
1197
1239
  end_time: m.value
1198
- }, B = await vt(D), K = p === 1 ? "application/pdf" : "application/vnd.openxmlformats-officedocument.wordprocessingml.document";
1199
- Ze(B.file_data, B.file_name, K);
1240
+ }, B = await vt(k), M = p === 1 ? "application/pdf" : "application/vnd.openxmlformats-officedocument.wordprocessingml.document";
1241
+ je(B.file_data, B.file_name, M);
1200
1242
  }
1201
- const w = (p) => {
1243
+ const y = (p) => {
1202
1244
  i.value = p, _();
1203
1245
  }, h = (p) => {
1204
1246
  p && p.length > 0 && (g.value = p[0], m.value = p[1]), _();
@@ -1210,19 +1252,19 @@ const Te = /* @__PURE__ */ L({
1210
1252
  start_time: g.value,
1211
1253
  end_time: m.value,
1212
1254
  select_data: i.value.join(",")
1213
- }, D = await We(p), B = [];
1214
- D.data.forEach((K) => {
1215
- (K.type === "report-select" || K.type === "range-time") && B.push(K);
1216
- }), A.value = B, D.data.splice(0, A.value.length), d.value = D.data, t.value = !1;
1255
+ }, k = await We(p), B = [];
1256
+ k.data.forEach((M) => {
1257
+ (M.type === "report-select" || M.type === "range-time") && B.push(M);
1258
+ }), A.value = B, k.data.splice(0, A.value.length), d.value = k.data, t.value = !1;
1217
1259
  } catch (p) {
1218
1260
  t.value = !1, console.error("Error setting loading state:", p);
1219
1261
  }
1220
1262
  };
1221
1263
  _();
1222
- const C = () => l("div", null, [E("未找到对应组件")]), f = (p) => p === "h2" || p === "h3" || p === "h4" ? F(e, "ReportText") : p === "bar" || p === "pie" || p === "line" ? F(e, "ReportChart") : p ? F(e, p) : l(C, null, null);
1223
- return (p, D) => {
1224
- const B = s("el-button"), K = s("el-card"), Le = fe("loading");
1225
- return le((c(), k(K, {
1264
+ const C = () => l("div", null, [E("未找到对应组件")]), f = (p) => p === "h2" || p === "h3" || p === "h4" ? K(e, "ReportText") : p === "bar" || p === "pie" || p === "line" ? K(e, "ReportChart") : p ? K(e, p) : l(C, null, null);
1265
+ return (p, k) => {
1266
+ const B = s("el-button"), M = s("el-card"), Le = fe("loading");
1267
+ return le((c(), D(M, {
1226
1268
  class: "editor view",
1227
1269
  "element-loading-text": "加载中..."
1228
1270
  }, {
@@ -1231,24 +1273,24 @@ const Te = /* @__PURE__ */ L({
1231
1273
  }, null, 8, ["data"]), T("div", Ft, [T("div", Kt, [(c(!0), x(S, null, P(A.value, (U) => (c(), x("div", {
1232
1274
  class: "item-input",
1233
1275
  key: U.id
1234
- }, [U.type === "report-select" ? (c(), k(ee, {
1276
+ }, [U.type === "report-select" ? (c(), D(ee, {
1235
1277
  key: 0,
1236
- onChange: w,
1278
+ onChange: y,
1237
1279
  value: U
1238
- }, null, 8, ["value"])) : R("", !0), U.type === "range-time" && y(a).filterForm.range_time ? (c(), k(te, {
1280
+ }, null, 8, ["value"])) : R("", !0), U.type === "range-time" && w(a).filterForm.range_time ? (c(), D(te, {
1239
1281
  key: 1,
1240
1282
  onChange: h,
1241
1283
  value: U
1242
- }, null, 8, ["value"])) : R("", !0)]))), 128)), T("div", Mt, [D[5] || (D[5] = T("span", {
1284
+ }, null, 8, ["value"])) : R("", !0)]))), 128)), T("div", Mt, [k[5] || (k[5] = T("span", {
1243
1285
  class: "font-export"
1244
1286
  }, "导出为:", -1)), l(B, {
1245
1287
  link: "",
1246
- onClick: D[0] || (D[0] = (U) => v(1)),
1288
+ onClick: k[0] || (k[0] = (U) => v(1)),
1247
1289
  title: "PDF",
1248
1290
  type: "primary",
1249
1291
  class: "custom-btn"
1250
1292
  }, {
1251
- default: u(() => D[2] || (D[2] = [T("img", {
1293
+ default: u(() => k[2] || (k[2] = [T("img", {
1252
1294
  style: {
1253
1295
  width: "25px",
1254
1296
  height: "25px"
@@ -1259,7 +1301,7 @@ const Te = /* @__PURE__ */ L({
1259
1301
  _: 1
1260
1302
  }), l(B, {
1261
1303
  link: "",
1262
- onClick: D[1] || (D[1] = (U) => v(3)),
1304
+ onClick: k[1] || (k[1] = (U) => v(3)),
1263
1305
  title: "WORD",
1264
1306
  type: "primary",
1265
1307
  class: "custom-btn",
@@ -1267,7 +1309,7 @@ const Te = /* @__PURE__ */ L({
1267
1309
  "margin-right": "5px"
1268
1310
  }
1269
1311
  }, {
1270
- default: u(() => D[3] || (D[3] = [T("img", {
1312
+ default: u(() => k[3] || (k[3] = [T("img", {
1271
1313
  style: {
1272
1314
  width: "25px",
1273
1315
  height: "25px"
@@ -1285,18 +1327,18 @@ const Te = /* @__PURE__ */ L({
1285
1327
  "margin-left": "auto"
1286
1328
  }
1287
1329
  }, {
1288
- default: u(() => D[4] || (D[4] = [E("退出预览")])),
1330
+ default: u(() => k[4] || (k[4] = [E("退出预览")])),
1289
1331
  _: 1
1290
1332
  })])]), (c(!0), x(S, null, P(d.value, (U) => (c(), x("div", {
1291
1333
  key: U.id,
1292
1334
  class: N(["editor-content", ["editor" + U.type]]),
1293
1335
  id: U.id
1294
- }, [U.type !== "p" ? (c(), k(G(f(U.type)), {
1336
+ }, [U.type !== "p" ? (c(), D(G(f(U.type)), {
1295
1337
  key: 0,
1296
1338
  class: N(["editor" + U.type]),
1297
1339
  value: U
1298
1340
  }, {
1299
- default: u(() => [E(M(U.data), 1)]),
1341
+ default: u(() => [E(q(U.data), 1)]),
1300
1342
  _: 2
1301
1343
  }, 1032, ["class", "value"])) : (c(), x("p", {
1302
1344
  key: 1,
@@ -1311,11 +1353,11 @@ const Ve = /* @__PURE__ */ Y(zt, [["__scopeId", "data-v-a8c32bde"]]), Nt = {
1311
1353
  class: "editor"
1312
1354
  }, Yt = {
1313
1355
  class: "editor-content edit"
1314
- }, Gt = ["onClick"], Xt = ["onClick"], Jt = ["innerHTML", "draggable"], Zt = /* @__PURE__ */ L({
1356
+ }, Gt = ["onClick"], Xt = ["onClick"], Jt = ["innerHTML", "draggable"], jt = /* @__PURE__ */ L({
1315
1357
  __name: "Editor",
1316
1358
  setup(o) {
1317
1359
  const t = {
1318
- Bar: ye,
1360
+ Bar: we,
1319
1361
  Line: he,
1320
1362
  Pie: Ce,
1321
1363
  ReportSelect: ee,
@@ -1329,75 +1371,75 @@ const Ve = /* @__PURE__ */ Y(zt, [["__scopeId", "data-v-a8c32bde"]]), Nt = {
1329
1371
  activeComponents: a,
1330
1372
  notDraggableList: r,
1331
1373
  titleComponent: n
1332
- } = Ke(I()), A = I(), d = (C) => {
1374
+ } = Ke(F()), A = F(), d = (C) => {
1333
1375
  e.value.forEach((f, p) => {
1334
1376
  f.id === C && (e.value.splice(p, 1), A.activeComponents = []);
1335
1377
  });
1336
1378
  }, i = (C) => {
1337
1379
  A.setActiveComponents(C);
1338
- }, g = () => l("div", null, [E("未找到对应组件")]), m = (C) => C === "h2" || C === "h3" || C === "h4" ? F(t, "ReportText") : C === "bar" || C === "pie" || C === "line" ? F(t, "ReportChart") : C ? F(t, C) : l(g, null, null), b = (C) => {
1380
+ }, g = () => l("div", null, [E("未找到对应组件")]), m = (C) => C === "h2" || C === "h3" || C === "h4" ? K(t, "ReportText") : C === "bar" || C === "pie" || C === "line" ? K(t, "ReportChart") : C ? K(t, C) : l(g, null, null), b = (C) => {
1339
1381
  console.log(C, "evt");
1340
- }, v = V(!1), w = () => {
1382
+ }, v = V(!1), y = () => {
1341
1383
  v.value = !0;
1342
1384
  }, h = (C) => {
1343
1385
  C.newIndex !== 0 && (console.log(C), v.value = !1);
1344
1386
  }, _ = V();
1345
1387
  return (C, f) => {
1346
- const p = s("CircleClose"), D = s("el-icon");
1388
+ const p = s("CircleClose"), k = s("el-icon");
1347
1389
  return c(), x("div", Nt, [T("div", {
1348
1390
  class: N(["editor-content edit flex flex-start", [{
1349
- active: y(a).id === "filter"
1391
+ active: w(a).id === "filter"
1350
1392
  }]]),
1351
1393
  onClick: f[0] || (f[0] = (B) => i({
1352
1394
  id: "filter",
1353
1395
  type: "filter"
1354
1396
  }))
1355
- }, [(c(!0), x(S, null, P(y(r), (B) => (c(), x("div", {
1397
+ }, [(c(!0), x(S, null, P(w(r), (B) => (c(), x("div", {
1356
1398
  class: "item-input",
1357
1399
  key: B.id
1358
- }, [B.type === "report-select" || B.type === "range-time" && y(A).filterForm.range_time ? (c(), k(G(y(F)(t, B.type)), {
1400
+ }, [B.type === "report-select" || B.type === "range-time" && w(A).filterForm.range_time ? (c(), D(G(w(K)(t, B.type)), {
1359
1401
  key: 0,
1360
1402
  value: B
1361
1403
  }, {
1362
- default: u(() => [E(M(B.data), 1)]),
1404
+ default: u(() => [E(q(B.data), 1)]),
1363
1405
  _: 2
1364
1406
  }, 1032, ["value"])) : R("", !0)]))), 128))], 2), T("div", Yt, [l(oe, {
1365
- value: y(n),
1366
- onClick: f[1] || (f[1] = (B) => i(y(n)))
1367
- }, null, 8, ["value"])]), l(y(He), {
1407
+ value: w(n),
1408
+ onClick: f[1] || (f[1] = (B) => i(w(n)))
1409
+ }, null, 8, ["value"])]), l(w(He), {
1368
1410
  ref_key: "el",
1369
1411
  ref: _,
1370
- modelValue: y(e),
1412
+ modelValue: w(e),
1371
1413
  "onUpdate:modelValue": f[2] || (f[2] = (B) => Ue(e) ? e.value = B : null),
1372
1414
  "on-change": b,
1373
1415
  animation: 150,
1374
- onStart: w,
1416
+ onStart: y,
1375
1417
  onEnd: h
1376
1418
  }, {
1377
- default: u(() => [(c(!0), x(S, null, P(y(e), (B) => (c(), x("div", {
1419
+ default: u(() => [(c(!0), x(S, null, P(w(e), (B) => (c(), x("div", {
1378
1420
  key: B.id,
1379
1421
  class: N(["editor-content edit", ["editor" + B.type, {
1380
- active: B.id === y(a).id
1422
+ active: B.id === w(a).id
1381
1423
  }]]),
1382
- onClick: (K) => i(B)
1424
+ onClick: (M) => i(B)
1383
1425
  }, [T("i", {
1384
- onClick: Re((K) => d(B.id), ["stop"]),
1426
+ onClick: Re((M) => d(B.id), ["stop"]),
1385
1427
  style: {
1386
1428
  "z-index": "99"
1387
1429
  }
1388
- }, [l(D, {
1430
+ }, [l(k, {
1389
1431
  size: "16px",
1390
1432
  color: "red"
1391
1433
  }, {
1392
1434
  default: u(() => [l(p)]),
1393
1435
  _: 1
1394
- })], 8, Xt), B.type !== "p" ? (c(), k(G(m(B.type)), {
1436
+ })], 8, Xt), B.type !== "p" ? (c(), D(G(m(B.type)), {
1395
1437
  key: 0,
1396
1438
  class: N(["editor" + B.type]),
1397
1439
  value: B,
1398
1440
  draggable: v.value
1399
1441
  }, {
1400
- default: u(() => [E(M(B.data), 1)]),
1442
+ default: u(() => [E(q(B.data), 1)]),
1401
1443
  _: 2
1402
1444
  }, 1032, ["class", "value", "draggable"])) : (c(), x("p", {
1403
1445
  key: 1,
@@ -1408,10 +1450,10 @@ const Ve = /* @__PURE__ */ Y(zt, [["__scopeId", "data-v-a8c32bde"]]), Nt = {
1408
1450
  }, 8, ["modelValue"])]);
1409
1451
  };
1410
1452
  }
1411
- }), jt = { class: "label" }, Wt = { class: "flex item-switch" }, $t = { class: "flex item-switch" }, eo = { class: "flex item-switch" }, De = /* @__PURE__ */ L({
1453
+ }), Zt = { class: "label" }, Wt = { class: "flex item-switch" }, $t = { class: "flex item-switch" }, eo = { class: "flex item-switch" }, ke = /* @__PURE__ */ L({
1412
1454
  __name: "SettingTable",
1413
1455
  setup(o) {
1414
- const t = I(), e = Q(() => t.getActiveComponents);
1456
+ const t = F(), e = I(() => t.getActiveComponents);
1415
1457
  return (a, r) => {
1416
1458
  const n = s("el-switch"), A = s("el-form-item"), d = s("el-divider");
1417
1459
  return c(), x("div", null, [
@@ -1421,7 +1463,7 @@ const Ve = /* @__PURE__ */ Y(zt, [["__scopeId", "data-v-a8c32bde"]]), Nt = {
1421
1463
  class: "flex item-switch",
1422
1464
  key: g
1423
1465
  }, [
1424
- T("span", jt, M(i.name), 1),
1466
+ T("span", Zt, q(i.name), 1),
1425
1467
  l(n, {
1426
1468
  modelValue: e.value.options.showColumn[i.key],
1427
1469
  "onUpdate:modelValue": (m) => e.value.options.showColumn[i.key] = m
@@ -1463,12 +1505,12 @@ const Ve = /* @__PURE__ */ Y(zt, [["__scopeId", "data-v-a8c32bde"]]), Nt = {
1463
1505
  }), to = { key: 0 }, oo = /* @__PURE__ */ L({
1464
1506
  __name: "ChartsUniConfig",
1465
1507
  setup(o) {
1466
- const t = I(), e = Q(() => t.activeComponents);
1508
+ const t = F(), e = I(() => t.activeComponents);
1467
1509
  function a(r) {
1468
1510
  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);
1469
1511
  }
1470
1512
  return V("rgb(46, 145, 255)"), (r, n) => {
1471
- const A = s("el-input"), d = s("el-form-item"), i = s("el-switch"), g = s("el-col"), m = s("el-color-picker"), b = s("el-input-number"), v = s("el-row"), w = s("el-collapse-item"), h = s("el-collapse");
1513
+ const A = s("el-input"), d = s("el-form-item"), i = s("el-switch"), g = s("el-col"), m = s("el-color-picker"), b = s("el-input-number"), v = s("el-row"), y = s("el-collapse-item"), h = s("el-collapse");
1472
1514
  return e.value.options.title ? (c(), x("div", to, [
1473
1515
  l(d, { label: "标题" }, {
1474
1516
  default: u(() => [
@@ -1481,7 +1523,7 @@ const Ve = /* @__PURE__ */ Y(zt, [["__scopeId", "data-v-a8c32bde"]]), Nt = {
1481
1523
  }),
1482
1524
  l(h, null, {
1483
1525
  default: u(() => [
1484
- l(w, {
1526
+ l(y, {
1485
1527
  title: "标题配置",
1486
1528
  name: "1"
1487
1529
  }, {
@@ -1548,12 +1590,12 @@ const Ve = /* @__PURE__ */ Y(zt, [["__scopeId", "data-v-a8c32bde"]]), Nt = {
1548
1590
  ]),
1549
1591
  _: 1
1550
1592
  }),
1551
- l(w, {
1593
+ l(y, {
1552
1594
  title: "图形配置",
1553
1595
  name: "2"
1554
1596
  }, {
1555
1597
  default: u(() => [
1556
- e.value.options.color && e.value.options.color.length && e.value.type === "pie" ? (c(), k(v, { key: 0 }, {
1598
+ e.value.options.color && e.value.options.color.length && e.value.type === "pie" ? (c(), D(v, { key: 0 }, {
1557
1599
  default: u(() => [
1558
1600
  l(g, { span: 24 }, {
1559
1601
  default: u(() => [
@@ -1572,7 +1614,7 @@ const Ve = /* @__PURE__ */ Y(zt, [["__scopeId", "data-v-a8c32bde"]]), Nt = {
1572
1614
  ]),
1573
1615
  _: 1
1574
1616
  }),
1575
- l(w, {
1617
+ l(y, {
1576
1618
  title: "图例配置",
1577
1619
  name: "3"
1578
1620
  }, {
@@ -1582,7 +1624,7 @@ const Ve = /* @__PURE__ */ Y(zt, [["__scopeId", "data-v-a8c32bde"]]), Nt = {
1582
1624
  l(g, { span: 24 }, {
1583
1625
  default: u(() => [
1584
1626
  n[14] || (n[14] = T("span", { class: "switch-label" }, "显示图例", -1)),
1585
- e.value.options.legend ? (c(), k(i, {
1627
+ e.value.options.legend ? (c(), D(i, {
1586
1628
  key: 0,
1587
1629
  modelValue: e.value.options.legend.show,
1588
1630
  "onUpdate:modelValue": n[7] || (n[7] = (_) => e.value.options.legend.show = _)
@@ -1603,10 +1645,10 @@ const Ve = /* @__PURE__ */ Y(zt, [["__scopeId", "data-v-a8c32bde"]]), Nt = {
1603
1645
  };
1604
1646
  }
1605
1647
  });
1606
- const lo = /* @__PURE__ */ Y(oo, [["__scopeId", "data-v-e9859d3b"]]), ke = /* @__PURE__ */ L({
1648
+ const lo = /* @__PURE__ */ Y(oo, [["__scopeId", "data-v-e9859d3b"]]), De = /* @__PURE__ */ L({
1607
1649
  __name: "SettingDescribe",
1608
1650
  setup(o) {
1609
- const t = I(), e = Q(() => t.getActiveComponents);
1651
+ const t = F(), e = I(() => t.getActiveComponents);
1610
1652
  return (a, r) => {
1611
1653
  const n = s("el-input"), A = s("el-form-item"), d = s("el-switch"), i = s("el-input-number"), g = s("el-radio"), m = s("el-radio-group");
1612
1654
  return c(), x("div", null, [
@@ -1671,7 +1713,7 @@ const lo = /* @__PURE__ */ Y(oo, [["__scopeId", "data-v-e9859d3b"]]), ke = /* @_
1671
1713
  }), no = /* @__PURE__ */ L({
1672
1714
  __name: "SettingCharts",
1673
1715
  setup(o) {
1674
- const t = I(), e = V(!1), a = Q(() => t.getActiveComponents), r = [
1716
+ const t = F(), e = V(!1), a = I(() => t.getActiveComponents), r = [
1675
1717
  { value: "report-describe", name: "描述列表" },
1676
1718
  { value: "report-table", name: "表格" },
1677
1719
  { value: "line", name: "趋势图" },
@@ -1687,24 +1729,24 @@ const lo = /* @__PURE__ */ Y(oo, [["__scopeId", "data-v-e9859d3b"]]), ke = /* @_
1687
1729
  A.value = b.data;
1688
1730
  }
1689
1731
  function i(m) {
1690
- let b = A.value.find((w) => w.rp_item_uuid === m);
1732
+ let b = A.value.find((y) => y.rp_item_uuid === m);
1691
1733
  const v = b.rp_item_content;
1692
- if (b.rp_item_content.type === "bar" && (v.options = j()), v.type === "pie" && (v.options = re({ isLegend: !0 })), v.type === "line") {
1693
- let w = [];
1734
+ if (b.rp_item_content.type === "bar" && (v.options = Z()), v.type === "pie" && (v.options = re({ isLegend: !0 })), v.type === "line") {
1735
+ let y = [];
1694
1736
  v.data.forEach((_) => {
1695
- w = _.data.map((C, f) => ({ name: C.name, value: "value" + f }));
1737
+ y = _.data.map((C, f) => ({ name: C.name, value: "value" + f }));
1696
1738
  });
1697
1739
  const h = {
1698
1740
  name: "name",
1699
- value: w
1741
+ value: y
1700
1742
  };
1701
- v.options = Z([], h);
1743
+ v.options = j([], h);
1702
1744
  }
1703
1745
  if (v.type === "report-table") {
1704
- const w = {};
1746
+ const y = {};
1705
1747
  v.showColumn.forEach((h) => {
1706
- w[h.key] = !0;
1707
- }), v.options = { ...v.options, showColumn: w, border: !0, showHeader: !0, stripe: !1 };
1748
+ y[h.key] = !0;
1749
+ }), v.options = { ...v.options, showColumn: y, border: !0, showHeader: !0, stripe: !1 };
1708
1750
  }
1709
1751
  v.type === "report-describe" && (v.options = { ...v.options, title: "", border: !0, column: 1, direction: "horizontal", ...a.value.options }), Object.assign(t.activeComponents, v), t.activeComponents.rp_item_uuid = b.rp_item_uuid;
1710
1752
  }
@@ -1713,9 +1755,11 @@ const lo = /* @__PURE__ */ Y(oo, [["__scopeId", "data-v-e9859d3b"]]), ke = /* @_
1713
1755
  });
1714
1756
  async function g(m) {
1715
1757
  try {
1716
- e.value = !0, await d(m), Object.assign(t.activeComponents, Bt(m)), e.value = !1;
1717
- } catch {
1718
- e.value = !1;
1758
+ e.value = !0, await d(m);
1759
+ } catch (b) {
1760
+ console.error("加载报告项失败:", b);
1761
+ } finally {
1762
+ Object.assign(t.activeComponents, Bt(m)), e.value = !1;
1719
1763
  }
1720
1764
  }
1721
1765
  return Se(
@@ -1724,13 +1768,13 @@ const lo = /* @__PURE__ */ Y(oo, [["__scopeId", "data-v-e9859d3b"]]), ke = /* @_
1724
1768
  console.log(m, "activeComponents"), ~["bar", "pie", "line", "report-table", "report-describe"].indexOf(m.type) && (n.value = a.value.type, d(n.value));
1725
1769
  }
1726
1770
  ), (m, b) => {
1727
- const v = s("el-option"), w = s("el-select"), h = s("el-form-item"), _ = s("el-form"), C = fe("loading");
1771
+ const v = s("el-option"), y = s("el-select"), h = s("el-form-item"), _ = s("el-form"), C = fe("loading");
1728
1772
  return le((c(), x("div", null, [
1729
1773
  l(_, { "label-position": "top" }, {
1730
1774
  default: u(() => [
1731
1775
  l(h, { label: "图表类型" }, {
1732
1776
  default: u(() => [
1733
- l(w, {
1777
+ l(y, {
1734
1778
  style: { width: "100%" },
1735
1779
  modelValue: n.value,
1736
1780
  "onUpdate:modelValue": b[0] || (b[0] = (f) => n.value = f),
@@ -1750,14 +1794,14 @@ const lo = /* @__PURE__ */ Y(oo, [["__scopeId", "data-v-e9859d3b"]]), ke = /* @_
1750
1794
  }),
1751
1795
  l(h, { label: "组件库" }, {
1752
1796
  default: u(() => [
1753
- l(w, {
1797
+ l(y, {
1754
1798
  style: { width: "100%" },
1755
- modelValue: y(t).activeComponents.rp_item_uuid,
1756
- "onUpdate:modelValue": b[1] || (b[1] = (f) => y(t).activeComponents.rp_item_uuid = f),
1799
+ modelValue: w(t).activeComponents.rp_item_uuid,
1800
+ "onUpdate:modelValue": b[1] || (b[1] = (f) => w(t).activeComponents.rp_item_uuid = f),
1757
1801
  onChange: i
1758
1802
  }, {
1759
1803
  default: u(() => [
1760
- (c(!0), x(S, null, P(A.value, (f, p) => (c(), k(v, {
1804
+ (c(!0), x(S, null, P(A.value, (f, p) => (c(), D(v, {
1761
1805
  key: p,
1762
1806
  label: f.rp_item_name,
1763
1807
  value: f.rp_item_uuid
@@ -1768,9 +1812,9 @@ const lo = /* @__PURE__ */ Y(oo, [["__scopeId", "data-v-e9859d3b"]]), ke = /* @_
1768
1812
  ]),
1769
1813
  _: 1
1770
1814
  }),
1771
- n.value === "report-table" && a.value.options.showColumn ? (c(), k(De, { key: 0 })) : R("", !0),
1772
- n.value === "pie" || n.value === "bar" || n.value === "line" ? (c(), k(lo, { key: 1 })) : R("", !0),
1773
- n.value === "report-describe" ? (c(), k(ke, { key: 2 })) : R("", !0)
1815
+ n.value === "report-table" && a.value.options.showColumn ? (c(), D(ke, { key: 0 })) : R("", !0),
1816
+ n.value === "pie" || n.value === "bar" || n.value === "line" ? (c(), D(lo, { key: 1 })) : R("", !0),
1817
+ n.value === "report-describe" ? (c(), D(De, { key: 2 })) : R("", !0)
1774
1818
  ]),
1775
1819
  _: 1
1776
1820
  })
@@ -1782,7 +1826,7 @@ const lo = /* @__PURE__ */ Y(oo, [["__scopeId", "data-v-e9859d3b"]]), ke = /* @_
1782
1826
  }), ao = { key: 0 }, ro = { style: { border: "1px solid #ccc", "border-radius": "3px" } }, ie = "default", Ao = /* @__PURE__ */ L({
1783
1827
  __name: "SettingText",
1784
1828
  setup(o) {
1785
- const t = I(), e = Oe(), a = V();
1829
+ const t = F(), e = Oe(), a = V();
1786
1830
  function r(m) {
1787
1831
  const b = a.value.find((v) => v.rp_item_uuid === m);
1788
1832
  t.activeComponents.uri = b.rp_item_content.uri, e.value.setHtml((b == null ? void 0 : b.rp_item_content.data) || "");
@@ -1822,20 +1866,20 @@ const lo = /* @__PURE__ */ Y(oo, [["__scopeId", "data-v-e9859d3b"]]), ke = /* @_
1822
1866
  const m = e.value;
1823
1867
  m != null && m.destroy();
1824
1868
  }), (m, b) => {
1825
- const v = s("el-option"), w = s("el-select"), h = s("el-form-item"), _ = s("el-form");
1826
- return y(t).activeComponents.id ? (c(), x("div", ao, [
1869
+ const v = s("el-option"), y = s("el-select"), h = s("el-form-item"), _ = s("el-form");
1870
+ return w(t).activeComponents.id ? (c(), x("div", ao, [
1827
1871
  l(_, { "label-position": "top" }, {
1828
1872
  default: u(() => [
1829
1873
  l(h, { label: "组件库" }, {
1830
1874
  default: u(() => [
1831
- l(w, {
1875
+ l(y, {
1832
1876
  style: { width: "100%" },
1833
- modelValue: y(t).activeComponents.rp_item_uuid,
1834
- "onUpdate:modelValue": b[0] || (b[0] = (C) => y(t).activeComponents.rp_item_uuid = C),
1877
+ modelValue: w(t).activeComponents.rp_item_uuid,
1878
+ "onUpdate:modelValue": b[0] || (b[0] = (C) => w(t).activeComponents.rp_item_uuid = C),
1835
1879
  onChange: r
1836
1880
  }, {
1837
1881
  default: u(() => [
1838
- (c(!0), x(S, null, P(a.value, (C, f) => (c(), k(v, {
1882
+ (c(!0), x(S, null, P(a.value, (C, f) => (c(), D(v, {
1839
1883
  key: f,
1840
1884
  label: C.rp_item_name,
1841
1885
  value: C.rp_item_uuid
@@ -1849,17 +1893,17 @@ const lo = /* @__PURE__ */ Y(oo, [["__scopeId", "data-v-e9859d3b"]]), ke = /* @_
1849
1893
  l(h, { label: "文本内容" }, {
1850
1894
  default: u(() => [
1851
1895
  T("div", ro, [
1852
- l(y(ze), {
1896
+ l(w(ze), {
1853
1897
  style: { "border-bottom": "1px solid #ccc" },
1854
1898
  editor: e.value,
1855
1899
  "default-config": A,
1856
1900
  mode: ie
1857
1901
  }, null, 8, ["editor"]),
1858
- l(y(Ne), {
1902
+ l(w(Ne), {
1859
1903
  style: { height: "500px", "overflow-y": "hidden" },
1860
1904
  onOnChange: g,
1861
- modelValue: y(t).activeComponents.data,
1862
- "onUpdate:modelValue": b[1] || (b[1] = (C) => y(t).activeComponents.data = C),
1905
+ modelValue: w(t).activeComponents.data,
1906
+ "onUpdate:modelValue": b[1] || (b[1] = (C) => w(t).activeComponents.data = C),
1863
1907
  "default-config": d,
1864
1908
  mode: ie,
1865
1909
  onOnCreated: i
@@ -1877,14 +1921,14 @@ const lo = /* @__PURE__ */ Y(oo, [["__scopeId", "data-v-e9859d3b"]]), ke = /* @_
1877
1921
  }), so = /* @__PURE__ */ L({
1878
1922
  __name: "SettingFilter",
1879
1923
  setup(o) {
1880
- const t = V([]), e = I();
1924
+ const t = V([]), e = F();
1881
1925
  async function a() {
1882
1926
  const r = await be({ prod_type: window.$prodType });
1883
1927
  t.value = r.data;
1884
1928
  }
1885
1929
  return a(), (r, n) => {
1886
1930
  const A = s("el-option"), d = s("el-select"), i = s("el-form-item"), g = s("el-checkbox"), m = s("el-form");
1887
- return c(), k(m, {
1931
+ return c(), D(m, {
1888
1932
  "label-width": "80px",
1889
1933
  "label-position": "top"
1890
1934
  }, {
@@ -1892,12 +1936,12 @@ const lo = /* @__PURE__ */ Y(oo, [["__scopeId", "data-v-e9859d3b"]]), ke = /* @_
1892
1936
  l(i, { label: "筛选条件" }, {
1893
1937
  default: u(() => [
1894
1938
  l(d, {
1895
- modelValue: y(e).filterForm.filter_uuid,
1896
- "onUpdate:modelValue": n[0] || (n[0] = (b) => y(e).filterForm.filter_uuid = b),
1897
- disabled: !!y(e).filterForm.filter_uuid
1939
+ modelValue: w(e).filterForm.filter_uuid,
1940
+ "onUpdate:modelValue": n[0] || (n[0] = (b) => w(e).filterForm.filter_uuid = b),
1941
+ disabled: !!w(e).filterForm.filter_uuid
1898
1942
  }, {
1899
1943
  default: u(() => [
1900
- (c(!0), x(S, null, P(t.value, (b) => (c(), k(A, {
1944
+ (c(!0), x(S, null, P(t.value, (b) => (c(), D(A, {
1901
1945
  key: b.filter_uuid,
1902
1946
  label: b.filter_name,
1903
1947
  value: b.filter_uuid
@@ -1911,8 +1955,8 @@ const lo = /* @__PURE__ */ Y(oo, [["__scopeId", "data-v-e9859d3b"]]), ke = /* @_
1911
1955
  l(i, null, {
1912
1956
  default: u(() => [
1913
1957
  l(g, {
1914
- modelValue: y(e).filterForm.range_time,
1915
- "onUpdate:modelValue": n[1] || (n[1] = (b) => y(e).filterForm.range_time = b),
1958
+ modelValue: w(e).filterForm.range_time,
1959
+ "onUpdate:modelValue": n[1] || (n[1] = (b) => w(e).filterForm.range_time = b),
1916
1960
  "true-value": 1,
1917
1961
  "false-value": 0,
1918
1962
  label: "时间范围"
@@ -1928,10 +1972,10 @@ const lo = /* @__PURE__ */ Y(oo, [["__scopeId", "data-v-e9859d3b"]]), ke = /* @_
1928
1972
  }), io = /* @__PURE__ */ L({
1929
1973
  __name: "SettingTitle",
1930
1974
  setup(o) {
1931
- const t = I();
1975
+ const t = F();
1932
1976
  return (e, a) => {
1933
1977
  const r = s("el-input"), n = s("el-form-item"), A = s("el-color-picker"), d = s("el-col"), i = s("el-input-number"), g = s("el-option"), m = s("el-select"), b = s("el-row"), v = s("el-form");
1934
- return c(), k(v, {
1978
+ return c(), D(v, {
1935
1979
  "label-width": "auto",
1936
1980
  "label-position": "top"
1937
1981
  }, {
@@ -1939,8 +1983,8 @@ const lo = /* @__PURE__ */ Y(oo, [["__scopeId", "data-v-e9859d3b"]]), ke = /* @_
1939
1983
  l(n, { label: "名称" }, {
1940
1984
  default: u(() => [
1941
1985
  l(r, {
1942
- modelValue: y(t).activeComponents.data,
1943
- "onUpdate:modelValue": a[0] || (a[0] = (w) => y(t).activeComponents.data = w),
1986
+ modelValue: w(t).activeComponents.data,
1987
+ "onUpdate:modelValue": a[0] || (a[0] = (y) => w(t).activeComponents.data = y),
1944
1988
  placeholder: "Please input",
1945
1989
  maxlength: "24",
1946
1990
  "show-word-limit": ""
@@ -1955,8 +1999,8 @@ const lo = /* @__PURE__ */ Y(oo, [["__scopeId", "data-v-e9859d3b"]]), ke = /* @_
1955
1999
  l(d, { span: 12 }, {
1956
2000
  default: u(() => [
1957
2001
  l(A, {
1958
- modelValue: y(t).activeComponents.options.color,
1959
- "onUpdate:modelValue": a[1] || (a[1] = (w) => y(t).activeComponents.options.color = w),
2002
+ modelValue: w(t).activeComponents.options.color,
2003
+ "onUpdate:modelValue": a[1] || (a[1] = (y) => w(t).activeComponents.options.color = y),
1960
2004
  "show-alpha": ""
1961
2005
  }, null, 8, ["modelValue"]),
1962
2006
  a[7] || (a[7] = T("p", { class: "sub-title" }, "颜色", -1))
@@ -1966,8 +2010,8 @@ const lo = /* @__PURE__ */ Y(oo, [["__scopeId", "data-v-e9859d3b"]]), ke = /* @_
1966
2010
  l(d, { span: 12 }, {
1967
2011
  default: u(() => [
1968
2012
  l(i, {
1969
- modelValue: y(t).activeComponents.options.size,
1970
- "onUpdate:modelValue": a[2] || (a[2] = (w) => y(t).activeComponents.options.size = w),
2013
+ modelValue: w(t).activeComponents.options.size,
2014
+ "onUpdate:modelValue": a[2] || (a[2] = (y) => w(t).activeComponents.options.size = y),
1971
2015
  "controls-position": "right"
1972
2016
  }, null, 8, ["modelValue"]),
1973
2017
  a[8] || (a[8] = T("p", { class: "sub-title" }, "字体大小", -1))
@@ -1977,8 +2021,8 @@ const lo = /* @__PURE__ */ Y(oo, [["__scopeId", "data-v-e9859d3b"]]), ke = /* @_
1977
2021
  l(d, { span: 12 }, {
1978
2022
  default: u(() => [
1979
2023
  l(m, {
1980
- modelValue: y(t).activeComponents.options.fontWeight,
1981
- "onUpdate:modelValue": a[3] || (a[3] = (w) => y(t).activeComponents.options.fontWeight = w)
2024
+ modelValue: w(t).activeComponents.options.fontWeight,
2025
+ "onUpdate:modelValue": a[3] || (a[3] = (y) => w(t).activeComponents.options.fontWeight = y)
1982
2026
  }, {
1983
2027
  default: u(() => [
1984
2028
  l(g, {
@@ -1999,8 +2043,8 @@ const lo = /* @__PURE__ */ Y(oo, [["__scopeId", "data-v-e9859d3b"]]), ke = /* @_
1999
2043
  l(d, { span: 12 }, {
2000
2044
  default: u(() => [
2001
2045
  l(i, {
2002
- modelValue: y(t).activeComponents.options.letterSpacing,
2003
- "onUpdate:modelValue": a[4] || (a[4] = (w) => y(t).activeComponents.options.letterSpacing = w),
2046
+ modelValue: w(t).activeComponents.options.letterSpacing,
2047
+ "onUpdate:modelValue": a[4] || (a[4] = (y) => w(t).activeComponents.options.letterSpacing = y),
2004
2048
  "controls-position": "right"
2005
2049
  }, null, 8, ["modelValue"]),
2006
2050
  a[10] || (a[10] = T("p", { class: "sub-title" }, "字间距", -1))
@@ -2010,8 +2054,8 @@ const lo = /* @__PURE__ */ Y(oo, [["__scopeId", "data-v-e9859d3b"]]), ke = /* @_
2010
2054
  l(d, { span: 12 }, {
2011
2055
  default: u(() => [
2012
2056
  l(i, {
2013
- modelValue: y(t).activeComponents.options.textIndent,
2014
- "onUpdate:modelValue": a[5] || (a[5] = (w) => y(t).activeComponents.options.textIndent = w),
2057
+ modelValue: w(t).activeComponents.options.textIndent,
2058
+ "onUpdate:modelValue": a[5] || (a[5] = (y) => w(t).activeComponents.options.textIndent = y),
2015
2059
  "controls-position": "right"
2016
2060
  }, null, 8, ["modelValue"]),
2017
2061
  a[11] || (a[11] = T("p", { class: "sub-title" }, "首行缩进", -1))
@@ -2021,8 +2065,8 @@ const lo = /* @__PURE__ */ Y(oo, [["__scopeId", "data-v-e9859d3b"]]), ke = /* @_
2021
2065
  l(d, { span: 12 }, {
2022
2066
  default: u(() => [
2023
2067
  l(m, {
2024
- modelValue: y(t).activeComponents.options.textAlign,
2025
- "onUpdate:modelValue": a[6] || (a[6] = (w) => y(t).activeComponents.options.textAlign = w)
2068
+ modelValue: w(t).activeComponents.options.textAlign,
2069
+ "onUpdate:modelValue": a[6] || (a[6] = (y) => w(t).activeComponents.options.textAlign = y)
2026
2070
  }, {
2027
2071
  default: u(() => [
2028
2072
  l(g, {
@@ -2060,18 +2104,18 @@ const uo = /* @__PURE__ */ Y(io, [["__scopeId", "data-v-56fef84c"]]), po = /* @_
2060
2104
  __name: "Setting",
2061
2105
  setup(o) {
2062
2106
  const t = {
2063
- SettingTable: De,
2107
+ SettingTable: ke,
2064
2108
  SettingCharts: no,
2065
- SettingDescribe: ke,
2109
+ SettingDescribe: De,
2066
2110
  SettingText: Ao,
2067
2111
  SettingFilter: so,
2068
2112
  SettingTitle: uo
2069
- }, e = I(), a = Q(() => e.activeComponents), r = ["h1", "h2", "h3", "h4"], n = ["p"], A = ["report-table", "bar", "line", "pie", "report-describe"], d = (i) => r.includes(i) ? F(t, "SettingTitle") : n.includes(i) ? F(t, "SettingText") : A.includes(i) ? F(t, "SettingCharts") : i === "filter" ? F(t, "SettingFilter") : "DefaultEditor";
2113
+ }, e = F(), a = I(() => e.activeComponents), r = ["h1", "h2", "h3", "h4"], n = ["p"], A = ["report-table", "bar", "line", "pie", "report-describe"], d = (i) => r.includes(i) ? K(t, "SettingTitle") : n.includes(i) ? K(t, "SettingText") : A.includes(i) ? K(t, "SettingCharts") : i === "filter" ? K(t, "SettingFilter") : "DefaultEditor";
2070
2114
  return (i, g) => {
2071
2115
  const m = s("el-card");
2072
- return c(), k(m, { class: "config-wrapper" }, {
2116
+ return c(), D(m, { class: "config-wrapper" }, {
2073
2117
  default: u(() => [
2074
- (c(), k(G(d(a.value.type))))
2118
+ (c(), D(G(d(a.value.type))))
2075
2119
  ]),
2076
2120
  _: 1
2077
2121
  });
@@ -2090,9 +2134,9 @@ const uo = /* @__PURE__ */ Y(io, [["__scopeId", "data-v-56fef84c"]]), po = /* @_
2090
2134
  }),
2091
2135
  emits: ["update:modelValue"],
2092
2136
  setup(o) {
2093
- const t = I(), e = o, a = me(o, "modelValue"), r = (i) => {
2137
+ const t = F(), e = o, a = me(o, "modelValue"), r = (i) => {
2094
2138
  const g = J(i);
2095
- g.id = H(), t.componentList.push(g);
2139
+ g.id = Q(), t.componentList.push(g);
2096
2140
  };
2097
2141
  function n() {
2098
2142
  a.value = "table";
@@ -2140,15 +2184,15 @@ const uo = /* @__PURE__ */ Y(io, [["__scopeId", "data-v-56fef84c"]]), po = /* @_
2140
2184
  T("div", fo, [
2141
2185
  l(b, null, {
2142
2186
  default: u(() => [
2143
- (c(!0), x(S, null, P(y(xt), (w) => (c(), x(S, {
2144
- key: w.type
2187
+ (c(!0), x(S, null, P(w(xt), (y) => (c(), x(S, {
2188
+ key: y.type
2145
2189
  }, [
2146
- w != null && w.hide ? R("", !0) : (c(), k(m, {
2190
+ y != null && y.hide ? R("", !0) : (c(), D(m, {
2147
2191
  key: 0,
2148
- onClick: (h) => r(w)
2192
+ onClick: (h) => r(y)
2149
2193
  }, {
2150
2194
  default: u(() => [
2151
- E(M(w.name), 1)
2195
+ E(q(y.name), 1)
2152
2196
  ]),
2153
2197
  _: 2
2154
2198
  }, 1032, ["onClick"]))
@@ -2178,7 +2222,7 @@ const uo = /* @__PURE__ */ Y(io, [["__scopeId", "data-v-56fef84c"]]), po = /* @_
2178
2222
  _: 1
2179
2223
  })
2180
2224
  ]),
2181
- l(Zt)
2225
+ l(jt)
2182
2226
  ]),
2183
2227
  _: 1
2184
2228
  }),
@@ -2194,7 +2238,7 @@ const uo = /* @__PURE__ */ Y(io, [["__scopeId", "data-v-56fef84c"]]), po = /* @_
2194
2238
  setup(o, {
2195
2239
  emit: t
2196
2240
  }) {
2197
- const e = Q(() => ({
2241
+ const e = I(() => ({
2198
2242
  prod_type: window.$prodType
2199
2243
  })), a = V(), r = t, n = (v) => {
2200
2244
  r("click", v.report_uuid, "review");
@@ -2262,13 +2306,13 @@ const uo = /* @__PURE__ */ Y(io, [["__scopeId", "data-v-56fef84c"]]), po = /* @_
2262
2306
  }, null)])
2263
2307
  }
2264
2308
  ]);
2265
- return (v, w) => {
2309
+ return (v, y) => {
2266
2310
  const h = s("el-button"), _ = s("TdsTable");
2267
2311
  return c(), x("div", go, [l(_, {
2268
2312
  ref_key: "proTable",
2269
2313
  ref: a,
2270
2314
  columns: b,
2271
- "request-api": y(tt),
2315
+ "request-api": w(tt),
2272
2316
  "init-param": e.value,
2273
2317
  "row-key": "report_uuid",
2274
2318
  options: v.$tableOptions(),
@@ -2283,7 +2327,7 @@ const uo = /* @__PURE__ */ Y(io, [["__scopeId", "data-v-56fef84c"]]), po = /* @_
2283
2327
  icon: "Plus",
2284
2328
  onClick: d
2285
2329
  }, {
2286
- default: u(() => w[0] || (w[0] = [E("新建")])),
2330
+ default: u(() => y[0] || (y[0] = [E("新建")])),
2287
2331
  _: 1
2288
2332
  }), l(h, {
2289
2333
  plain: "",
@@ -2291,7 +2335,7 @@ const uo = /* @__PURE__ */ Y(io, [["__scopeId", "data-v-56fef84c"]]), po = /* @_
2291
2335
  icon: "Delete",
2292
2336
  onClick: (f) => g(C.selectedListIds)
2293
2337
  }, {
2294
- default: u(() => w[1] || (w[1] = [E("删除")])),
2338
+ default: u(() => y[1] || (y[1] = [E("删除")])),
2295
2339
  _: 2
2296
2340
  }, 1032, ["onClick"])]),
2297
2341
  _: 1
@@ -2299,7 +2343,7 @@ const uo = /* @__PURE__ */ Y(io, [["__scopeId", "data-v-56fef84c"]]), po = /* @_
2299
2343
  };
2300
2344
  }
2301
2345
  });
2302
- const _o = { style: { height: "100%" } }, wo = /* @__PURE__ */ L({
2346
+ const _o = { style: { height: "100%" } }, yo = /* @__PURE__ */ L({
2303
2347
  name: "TCReport",
2304
2348
  __name: "index",
2305
2349
  setup(o) {
@@ -2309,17 +2353,17 @@ const _o = { style: { height: "100%" } }, wo = /* @__PURE__ */ L({
2309
2353
  return (r, n) => (c(), x("div", _o, [
2310
2354
  l(Ie, { name: "slide-fade" }, {
2311
2355
  default: u(() => [
2312
- e.value === "table" ? (c(), k(bo, {
2356
+ e.value === "table" ? (c(), D(bo, {
2313
2357
  key: 0,
2314
2358
  onClick: a
2315
2359
  })) : R("", !0),
2316
- e.value === "review" ? (c(), k(Ve, {
2360
+ e.value === "review" ? (c(), D(Ve, {
2317
2361
  key: 1,
2318
2362
  "report-id": t.value,
2319
2363
  modelValue: e.value,
2320
2364
  "onUpdate:modelValue": n[0] || (n[0] = (A) => e.value = A)
2321
2365
  }, null, 8, ["report-id", "modelValue"])) : R("", !0),
2322
- e.value === "editor" ? (c(), k(vo, {
2366
+ e.value === "editor" ? (c(), D(vo, {
2323
2367
  key: 2,
2324
2368
  "report-id": t.value,
2325
2369
  modelValue: e.value,
@@ -2339,7 +2383,7 @@ const W = (o, t) => {
2339
2383
  for (const [e, a] of Object.entries(t))
2340
2384
  o[e] = a;
2341
2385
  return o;
2342
- }, yo = W(wo), ho = [
2386
+ }, wo = W(yo), ho = [
2343
2387
  {
2344
2388
  label: "正文",
2345
2389
  value: "p"
@@ -2435,7 +2479,7 @@ const W = (o, t) => {
2435
2479
  delete h.message, _.forEach((f) => {
2436
2480
  f.name ? f.key || C(new Error("请填写表头名称和KEY")) : C(new Error("请填写表头名称和KEY"));
2437
2481
  }), C();
2438
- }, v = (h) => h.item_type === 1, w = X([{
2482
+ }, v = (h) => h.item_type === 1, y = X([{
2439
2483
  type: "selection",
2440
2484
  width: 60,
2441
2485
  field: "rp_item_uuid",
@@ -2591,15 +2635,15 @@ const W = (o, t) => {
2591
2635
  return c(), x("div", xo, [l(f, {
2592
2636
  ref_key: "refTdsTable",
2593
2637
  ref: t,
2594
- columns: w,
2595
- "request-api": y(lt),
2638
+ columns: y,
2639
+ "request-api": w(lt),
2596
2640
  "init-param": n,
2597
2641
  "row-key": "rp_item_uuid",
2598
2642
  options: h.$tableOptions(),
2599
2643
  selectable: v,
2600
2644
  "search-col": 6
2601
2645
  }, {
2602
- tableHeader: u((D) => [l(C, {
2646
+ tableHeader: u((k) => [l(C, {
2603
2647
  plain: "",
2604
2648
  type: "primary",
2605
2649
  class: "custom-btn",
@@ -2612,7 +2656,7 @@ const W = (o, t) => {
2612
2656
  plain: "",
2613
2657
  type: "danger",
2614
2658
  icon: "Delete",
2615
- onClick: (B) => A(D.selectedListIds)
2659
+ onClick: (B) => A(k.selectedListIds)
2616
2660
  }, {
2617
2661
  default: u(() => _[2] || (_[2] = [E("删除")])),
2618
2662
  _: 2
@@ -2624,7 +2668,7 @@ const W = (o, t) => {
2624
2668
  }, h.$formBindProps({
2625
2669
  title: r.value,
2626
2670
  form: a.value,
2627
- columns: w
2671
+ columns: y
2628
2672
  }), {
2629
2673
  onSubmit: i
2630
2674
  }), null, 16)]);
@@ -2637,7 +2681,7 @@ const To = W(Bo), Vo = {
2637
2681
  function ue(o) {
2638
2682
  return typeof o == "function" || Object.prototype.toString.call(o) === "[object Object]" && !ae(o);
2639
2683
  }
2640
- const Do = /* @__PURE__ */ L({
2684
+ const ko = /* @__PURE__ */ L({
2641
2685
  name: "TCSubscribe",
2642
2686
  __name: "index",
2643
2687
  setup(o) {
@@ -2671,14 +2715,14 @@ const Do = /* @__PURE__ */ L({
2671
2715
  data: p
2672
2716
  }), t.value.getTableList(), e.value.close();
2673
2717
  }
2674
- function b(f, p, D) {
2718
+ function b(f, p, k) {
2675
2719
  if (!p || p.length === 0)
2676
- return D(new Error("请输入收件人"));
2677
- D();
2720
+ return k(new Error("请输入收件人"));
2721
+ k();
2678
2722
  }
2679
2723
  const v = (f, p) => {
2680
2724
  f.target.value && A.value[p].push(f.target.value);
2681
- }, w = [{
2725
+ }, y = [{
2682
2726
  label: "周一",
2683
2727
  value: 1
2684
2728
  }, {
@@ -2878,7 +2922,7 @@ const Do = /* @__PURE__ */ L({
2878
2922
  field: "weekday",
2879
2923
  name: "星期",
2880
2924
  hide: !0,
2881
- enum: w,
2925
+ enum: y,
2882
2926
  show: {
2883
2927
  type: "select"
2884
2928
  },
@@ -2953,36 +2997,36 @@ const Do = /* @__PURE__ */ L({
2953
2997
  }, null)])
2954
2998
  }]);
2955
2999
  return (f, p) => {
2956
- const D = s("el-button");
2957
- return c(), x("div", Vo, [l(y(Ge), {
3000
+ const k = s("el-button");
3001
+ return c(), x("div", Vo, [l(w(Ge), {
2958
3002
  ref_key: "refTdsTable",
2959
3003
  ref: t,
2960
3004
  "row-key": "subscript_uuid",
2961
- "request-api": y(At),
3005
+ "request-api": w(At),
2962
3006
  columns: C,
2963
3007
  options: f.$tableOptions()
2964
3008
  }, {
2965
- tableHeader: u((B) => [l(D, {
3009
+ tableHeader: u((B) => [l(k, {
2966
3010
  type: "primary",
2967
3011
  icon: "Plus",
2968
3012
  class: "custom-btn",
2969
3013
  plain: "",
2970
- onClick: p[0] || (p[0] = (K) => g())
3014
+ onClick: p[0] || (p[0] = (M) => g())
2971
3015
  }, {
2972
- default: u(() => [E(M(y(a)("button.add")), 1)]),
3016
+ default: u(() => [E(q(w(a)("button.add")), 1)]),
2973
3017
  _: 1
2974
- }), l(D, {
3018
+ }), l(k, {
2975
3019
  type: "danger",
2976
3020
  icon: "Delete",
2977
3021
  plain: "",
2978
3022
  onClick: i,
2979
3023
  disabled: !B.selectedListIds.length
2980
3024
  }, {
2981
- default: u(() => [E(M(y(a)("button.delete")), 1)]),
3025
+ default: u(() => [E(q(w(a)("button.delete")), 1)]),
2982
3026
  _: 2
2983
3027
  }, 1032, ["disabled"])]),
2984
3028
  _: 1
2985
- }, 8, ["request-api", "columns", "options"]), l(y(Xe), ve({
3029
+ }, 8, ["request-api", "columns", "options"]), l(w(Xe), ve({
2986
3030
  ref_key: "refTdsForm",
2987
3031
  ref: e
2988
3032
  }, f.$formBindProps({
@@ -2994,7 +3038,7 @@ const Do = /* @__PURE__ */ L({
2994
3038
  }), null, 16)]);
2995
3039
  };
2996
3040
  }
2997
- }), ko = W(Do), Lo = {
3041
+ }), Do = W(ko), Lo = {
2998
3042
  class: "main-wrapper"
2999
3043
  }, Eo = /* @__PURE__ */ L({
3000
3044
  name: "TCBuildin",
@@ -3017,7 +3061,7 @@ const Do = /* @__PURE__ */ L({
3017
3061
  height: "100%"
3018
3062
  }
3019
3063
  }, {
3020
- default: u(() => [(c(!0), x(S, null, P(t.value, (i) => (c(), k(A, {
3064
+ default: u(() => [(c(!0), x(S, null, P(t.value, (i) => (c(), D(A, {
3021
3065
  style: {
3022
3066
  height: "100%"
3023
3067
  },
@@ -3025,7 +3069,7 @@ const Do = /* @__PURE__ */ L({
3025
3069
  label: i.report_name,
3026
3070
  name: i.report_uuid
3027
3071
  }, {
3028
- default: u(() => [e.value === i.report_uuid ? (c(), k(Ve, {
3072
+ default: u(() => [e.value === i.report_uuid ? (c(), D(Ve, {
3029
3073
  key: 0,
3030
3074
  "report-id": e.value
3031
3075
  }, null, 8, ["report-id"])) : R("", !0)]),
@@ -3037,9 +3081,9 @@ const Do = /* @__PURE__ */ L({
3037
3081
  }
3038
3082
  });
3039
3083
  const Uo = /* @__PURE__ */ Y(Eo, [["__scopeId", "data-v-30fa84c8"]]), Ro = W(Uo), So = {
3040
- TCReport: yo,
3084
+ TCReport: wo,
3041
3085
  TCModule: To,
3042
- TCSubscribe: ko,
3086
+ TCSubscribe: Do,
3043
3087
  TCBuildin: Ro
3044
3088
  }, qo = {
3045
3089
  install(o, t) {
@@ -3051,7 +3095,7 @@ const Uo = /* @__PURE__ */ Y(Eo, [["__scopeId", "data-v-30fa84c8"]]), Ro = W(Uo)
3051
3095
  export {
3052
3096
  Ro as TCBuildin,
3053
3097
  To as TCModule,
3054
- yo as TCReport,
3055
- ko as TCSubscribe,
3098
+ wo as TCReport,
3099
+ Do as TCSubscribe,
3056
3100
  qo as default
3057
3101
  };