bp-aicc-editor 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (177) hide show
  1. package/LICENSE +21 -0
  2. package/README.EN.md +129 -0
  3. package/README.md +133 -0
  4. package/lib/accounting-BdNhlOvc.js +150 -0
  5. package/lib/arrow-right-ZYLcC6uE.js +24 -0
  6. package/lib/atlas-Dqnvg58g.js +27 -0
  7. package/lib/blueprint-7yYCtfFC.js +28 -0
  8. package/lib/border-box-BoVwKoLu.js +226 -0
  9. package/lib/browser_upgrade/chrome.png +0 -0
  10. package/lib/browser_upgrade/edge.png +0 -0
  11. package/lib/browser_upgrade/index.css +49 -0
  12. package/lib/btn-group-aVjYHP70.js +125 -0
  13. package/lib/btn-return-KOGYYoba.js +37 -0
  14. package/lib/button-base-CUvUtpPb.js +42 -0
  15. package/lib/cache-Cs2VtqJi.js +43 -0
  16. package/lib/capitalize-CJ7zhOsJ.js +46 -0
  17. package/lib/carousel-table-hn7W3uoD.js +163 -0
  18. package/lib/children-manager-CdxNQ6Oe.js +457 -0
  19. package/lib/circle-DdqdosvQ.js +10 -0
  20. package/lib/config-6kqKwjzS.js +783 -0
  21. package/lib/config-B1XQHD5S.js +110 -0
  22. package/lib/config-BqncRAOx.js +167 -0
  23. package/lib/config-CSUhHF5L.js +10 -0
  24. package/lib/config-CXGTRw74.js +743 -0
  25. package/lib/config-CjMfBTu9.js +75 -0
  26. package/lib/config-Cm22p_rY.js +40 -0
  27. package/lib/config-D3z2R85K.js +373 -0
  28. package/lib/config-D846M2Gv.js +813 -0
  29. package/lib/config-DHGpQmWe.js +695 -0
  30. package/lib/config-DJJlRxrQ.js +510 -0
  31. package/lib/config-DOtfpO43.js +64 -0
  32. package/lib/config-DS3NxQuJ.js +427 -0
  33. package/lib/config-DSw2PMKb.js +528 -0
  34. package/lib/config-DwVaqCyN.js +369 -0
  35. package/lib/config-Ec_zeOmT.js +10 -0
  36. package/lib/config-V6sABZH7.js +152 -0
  37. package/lib/config-XBAZDWTe.js +739 -0
  38. package/lib/config-ZZyCB-UG.js +210 -0
  39. package/lib/config-efyvf2nq.js +799 -0
  40. package/lib/context-Bl7hm9BN.js +5 -0
  41. package/lib/context-DXwgwPsi.js +5 -0
  42. package/lib/dashedLine-CJojzUDO.js +23 -0
  43. package/lib/data-CnP9NKXT.js +7 -0
  44. package/lib/data-field-DL4ZWkqD.js +17 -0
  45. package/lib/data-source-9Lgf-grI.js +78 -0
  46. package/lib/datav-BNctF3aF.js +89 -0
  47. package/lib/dater-BmOxJMnU.js +34 -0
  48. package/lib/db-rnJHM_q3.js +22 -0
  49. package/lib/decoration-ByPSHV8P.js +408 -0
  50. package/lib/delete-074QJWYN.js +112 -0
  51. package/lib/dialogBox-D3bwyGqh.js +21 -0
  52. package/lib/dialogSquare-C4KW-cRk.js +43 -0
  53. package/lib/dottedLine-CUbyTDpF.js +23 -0
  54. package/lib/doubleHeadedArrow-ph10_VNV.js +31 -0
  55. package/lib/ds-api-editor-uAArtQJI.js +115 -0
  56. package/lib/ds-global-editor-Cp80r2NN.js +121 -0
  57. package/lib/ds-sql-editor-ijeSFlXA.js +338 -0
  58. package/lib/ds-static-editor-CyEO_12Q.js +21592 -0
  59. package/lib/eightPointedStar-iyNwBma5.js +12 -0
  60. package/lib/empty-panel-C6Y6WgQ5.js +49 -0
  61. package/lib/event-DDj_G-ix.js +130 -0
  62. package/lib/favicon.svg +14 -0
  63. package/lib/filter-panel-BXIsc124.js +573 -0
  64. package/lib/fivePointedStar-CG-mQPKI.js +12 -0
  65. package/lib/fourPointedStar-Cjt9WMZi.js +12 -0
  66. package/lib/full-screen-By33Ud_D.js +34 -0
  67. package/lib/group-Bw2QYoqv.js +24 -0
  68. package/lib/heart-BS_j9yRq.js +4 -0
  69. package/lib/hexagon-BfE9vpeG.js +12 -0
  70. package/lib/hexagonalStar-CDF1zFRy.js +12 -0
  71. package/lib/icon/add.png +0 -0
  72. package/lib/icon/align-center.png +0 -0
  73. package/lib/icon/amplify.png +0 -0
  74. package/lib/icon/audio.png +0 -0
  75. package/lib/icon/bottomUp.png +0 -0
  76. package/lib/icon/carouselList.png +0 -0
  77. package/lib/icon/characters.png +0 -0
  78. package/lib/icon/delete.png +0 -0
  79. package/lib/icon/delete1.png +0 -0
  80. package/lib/icon/edit.png +0 -0
  81. package/lib/icon/file.png +0 -0
  82. package/lib/icon/graphic.png +0 -0
  83. package/lib/icon/icon/357/274/217/346/267/273/345/212/240 /347/231/275/350/211/262 1@2x.png +0 -0
  84. package/lib/icon/icon/357/274/217/346/267/273/345/212/240@2x.png +0 -0
  85. package/lib/icon/img.png +0 -0
  86. package/lib/icon/lock.png +0 -0
  87. package/lib/icon/multiline.png +0 -0
  88. package/lib/icon/navigate.png +0 -0
  89. package/lib/icon/next.png +0 -0
  90. package/lib/icon/pictureScrolling.png +0 -0
  91. package/lib/icon/previous.png +0 -0
  92. package/lib/icon/reduce.png +0 -0
  93. package/lib/icon/return.png +0 -0
  94. package/lib/icon/save.png +0 -0
  95. package/lib/icon/scBg.png +0 -0
  96. package/lib/icon/scrollText.png +0 -0
  97. package/lib/icon/search.png +0 -0
  98. package/lib/icon/share.png +0 -0
  99. package/lib/icon/topUp.png +0 -0
  100. package/lib/icon/upload.png +0 -0
  101. package/lib/icon/video.png +0 -0
  102. package/lib/icon/view.png +0 -0
  103. package/lib/icon//345/244/215/351/200/211/357/274/217/346/234/252/351/200/211@2x.png +0 -0
  104. package/lib/icon//345/244/215/351/200/211/357/274/217/351/200/211/344/270/255@2x(1).png +0 -0
  105. package/lib/icon//345/244/215/351/200/211/357/274/217/351/200/211/344/270/255@2x.png +0 -0
  106. package/lib/iking-utils.es-Ba74AedH.js +13822 -0
  107. package/lib/index-B76XXskt.js +225 -0
  108. package/lib/index-B9lRx-kg.js +85 -0
  109. package/lib/index-B9nm6Rgv.js +142 -0
  110. package/lib/index-BAN9B0Xt.js +176 -0
  111. package/lib/index-BH6iU67J.js +209 -0
  112. package/lib/index-BSeD4M2U.js +988 -0
  113. package/lib/index-BbUCT3bG.js +66 -0
  114. package/lib/index-Bjs1bW2W.js +6291 -0
  115. package/lib/index-Bzc3Ri47.js +472 -0
  116. package/lib/index-C2ezj_lw.js +19 -0
  117. package/lib/index-C8Ni1uMd.js +435 -0
  118. package/lib/index-CCCckUnm.js +19 -0
  119. package/lib/index-CGni9huM.js +339 -0
  120. package/lib/index-CI6xXcR0.js +47 -0
  121. package/lib/index-CTo4-44e.js +2013 -0
  122. package/lib/index-CX6tHoIu.js +208 -0
  123. package/lib/index-Cb06BDgi.js +48 -0
  124. package/lib/index-CuapA_N-.js +586 -0
  125. package/lib/index-D0Kh7c2E.js +142 -0
  126. package/lib/index-D8pryMlS.js +228 -0
  127. package/lib/index-DGErpAp1.js +245 -0
  128. package/lib/index-DHe-NWes.js +415 -0
  129. package/lib/index-DL5IJLR7.js +156 -0
  130. package/lib/index-DN_9YBN_.js +957 -0
  131. package/lib/index-DOYvASbD.js +121 -0
  132. package/lib/index-D_ojDCWy.js +52 -0
  133. package/lib/index-DcmokBSP.js +109 -0
  134. package/lib/index-Dm1le54W.js +226 -0
  135. package/lib/index-Dpg5we85.js +127 -0
  136. package/lib/index-IeVkGUKs.js +146 -0
  137. package/lib/index-VSfx-dDV.js +87 -0
  138. package/lib/index-_Ya8vNUb.js +79 -0
  139. package/lib/index.es.js +5 -0
  140. package/lib/index.umd.js +99 -0
  141. package/lib/kebabCase-CO6lu_Gu.js +250 -0
  142. package/lib/keyMap-wL6Ma83z.js +91 -0
  143. package/lib/layer-setting-panel-C86c3fN0.js +486 -0
  144. package/lib/main-graph-BjOO_j7Y.js +43 -0
  145. package/lib/marquee-B6qUH-Kc.js +49 -0
  146. package/lib/message-carousel-ToN1yK7K.js +34 -0
  147. package/lib/multi-layout-config-DWBvxtbQ.js +312 -0
  148. package/lib/number-title-flop-DUzpC1bo.js +112 -0
  149. package/lib/orderBy--EIhNVJu.js +388 -0
  150. package/lib/page-config-DT1C_kDM.js +5598 -0
  151. package/lib/page-table-U2Zv9dzo.js +169 -0
  152. package/lib/paragraph-D7CutH53.js +51 -0
  153. package/lib/pentagon-6sVh023X.js +12 -0
  154. package/lib/plus-DjE6l8qH.js +24 -0
  155. package/lib/rank-board-Cgj8rzLd.js +121 -0
  156. package/lib/rectangle-BQXP06pk.js +10 -0
  157. package/lib/roundedRectangle-DnEbzLph.js +10 -0
  158. package/lib/scroll-article-BC3pQhTm.js +130 -0
  159. package/lib/scroll-rank-BsbvGjIy.js +191 -0
  160. package/lib/scroll-rank-bar-BfceYhB-.js +189 -0
  161. package/lib/scroll-table-BTbnMVFS.js +303 -0
  162. package/lib/search-DkzwOoCx.js +24 -0
  163. package/lib/select-options-BTOkre7F.js +338 -0
  164. package/lib/setting-panel-CMKniQhs.js +397 -0
  165. package/lib/source-panel-ClGOmTVn.js +557 -0
  166. package/lib/straightLine-DPMRNFNz.js +23 -0
  167. package/lib/style.css +1 -0
  168. package/lib/table-bar-ciEVdDFG.js +117 -0
  169. package/lib/transform-layer.vue_vue_type_style_index_0_scoped_04cdae36_lang-6ixEI9oF.js +593 -0
  170. package/lib/triangle-NkNGdZCH.js +15 -0
  171. package/lib/use-border-BUij5e0F.js +29 -0
  172. package/lib/use-data-center-Cj9FGyCg.js +31 -0
  173. package/lib/use-series-Cmnkexlu.js +18 -0
  174. package/lib/use-swiper-B17v1vT0.js +12 -0
  175. package/lib/vue-util-oCdnLsQn.js +6 -0
  176. package/lib/warning-DYO0amRd.js +25 -0
  177. package/package.json +154 -0
@@ -0,0 +1,435 @@
1
+ import { l as pe } from "./index-Bjs1bW2W.js";
2
+ import { defineComponent as ee, inject as ye, ref as f, shallowRef as te, computed as r, watch as P, onMounted as xe, onUnmounted as le, nextTick as be, h as F, toRef as J, provide as we, createElementBlock as k, openBlock as y, normalizeStyle as C, createCommentVNode as j, createElementVNode as M, Fragment as O, renderList as G, toDisplayString as Q, createBlock as $e } from "vue";
3
+ import { g as ae } from "./index-CTo4-44e.js";
4
+ import { u as Se, a as ke } from "./use-data-center-Cj9FGyCg.js";
5
+ import { u as Ce } from "./event-DDj_G-ix.js";
6
+ import { defaultImg as Le, CarouselTableEvent as I } from "./carousel-table-hn7W3uoD.js";
7
+ import { carouselTableInjectionKey as ne } from "./context-DXwgwPsi.js";
8
+ const _e = ee({
9
+ name: "CarouselTableItem",
10
+ props: {
11
+ data: {
12
+ type: Object,
13
+ required: !0
14
+ },
15
+ tableWidth: {
16
+ type: Number,
17
+ required: !0
18
+ },
19
+ globalConfig: {
20
+ type: Object,
21
+ required: !0
22
+ },
23
+ config: {
24
+ type: Object,
25
+ required: !0
26
+ }
27
+ },
28
+ setup(n) {
29
+ const { isHighLight: m } = ye(ne), q = f(!1), L = f(null), l = f(null), d = f(0), g = f(0), B = f(0), E = te(null), x = r(() => {
30
+ const { width: o, textAlign: w, textStyle: u, isBr: $ } = n.config;
31
+ let A = {
32
+ display: "inline-block",
33
+ "vertical-align": "middle",
34
+ "background-color": "transparent",
35
+ "text-align": w,
36
+ overflow: "hidden",
37
+ width: `${o}%`,
38
+ color: u.color,
39
+ fontFamily: u.fontFamily,
40
+ "font-size": `${u.fontSize}px`,
41
+ "font-weight": u.fontWeight
42
+ };
43
+ return $ ? A["word-break"] = "break-all" : A["white-space"] = "nowrap", A;
44
+ }), p = () => {
45
+ const { textAlign: o } = n.config;
46
+ return o === "left" ? 0 : o === "center" ? (d.value - g.value + 4) / 2 : o === "right" ? d.value - g.value + 4 : 0;
47
+ }, b = () => {
48
+ const { ifRun: o } = n.globalConfig.textAnimate;
49
+ !o || n.config.isBr || be(() => {
50
+ L.value && (d.value = L.value.offsetWidth), l.value && (g.value = l.value.offsetWidth + 4);
51
+ const { isSpeed: w, animateDur: u, speedRate: $ } = n.globalConfig.textAnimate;
52
+ if (g.value > d.value) {
53
+ const A = w ? $ * g.value : u;
54
+ E.value = ae.fromTo(B, {
55
+ value: p()
56
+ }, {
57
+ value: -g.value,
58
+ duration: A,
59
+ ease: "none",
60
+ repeatDelay: 0.5,
61
+ repeat: 1 / 0
62
+ });
63
+ } else
64
+ _();
65
+ });
66
+ }, D = () => {
67
+ const { textStyle: o } = n.globalConfig.highLight.hlStyle;
68
+ return m(n.data.$$datav_index) ? {
69
+ display: "inline-block",
70
+ "background-image": "none",
71
+ "background-clip": "unset",
72
+ "-webkit-text-fill-color": "initial",
73
+ color: o.color,
74
+ "font-size": `${o.fontSize}px`,
75
+ "font-weight": o.fontWeight,
76
+ "font-family": o.fontFamily
77
+ } : {
78
+ display: "inline-block"
79
+ };
80
+ }, z = (o) => F("img", {
81
+ src: q.value ? n.globalConfig.defaultImg || Le : o,
82
+ class: "marquee-img",
83
+ style: {
84
+ width: `${n.config.widthPercent}px`,
85
+ "margin-left": 0,
86
+ "margin-top": 0,
87
+ "font-size": 0
88
+ },
89
+ onError() {
90
+ q.value = !0;
91
+ }
92
+ }), H = () => {
93
+ const { data: o, config: w, tableWidth: u } = n, $ = o[w.columnName];
94
+ return [
95
+ F(
96
+ "span",
97
+ {
98
+ ref: l,
99
+ class: "marquee-text-span",
100
+ style: D()
101
+ },
102
+ $ == null ? "-" : w.dataType === "img" ? z($) : $
103
+ ),
104
+ F("i", {
105
+ style: {
106
+ display: "inline-block",
107
+ width: `${w.isBr || g.value > d.value ? 0 : u}px`
108
+ }
109
+ })
110
+ ];
111
+ }, W = () => {
112
+ const o = [H()];
113
+ return n.config.isBr || o.push(" ", H()), F("div", {
114
+ ref: L,
115
+ class: "column cell-content",
116
+ style: x.value
117
+ }, F("div", {
118
+ class: "marquee-text",
119
+ style: {
120
+ display: "inline-block",
121
+ transform: `translateX(${B.value}px)`
122
+ }
123
+ }, o));
124
+ }, _ = () => {
125
+ E.value?.kill(), B.value = p();
126
+ };
127
+ return P([
128
+ x,
129
+ n.globalConfig.textAnimate,
130
+ () => n.tableWidth,
131
+ () => n.data[n.config.columnName]
132
+ ], () => {
133
+ n.config.dataType === "img" && (q.value = !1), _(), b();
134
+ }), xe(() => {
135
+ b();
136
+ }), le(() => {
137
+ _();
138
+ }), {
139
+ createColumn: W
140
+ };
141
+ },
142
+ render() {
143
+ return this.createColumn();
144
+ }
145
+ }), Te = ["onClick"], Z = /* @__PURE__ */ ee({
146
+ __name: "index",
147
+ props: {
148
+ com: {}
149
+ },
150
+ setup(n) {
151
+ const m = n, q = Se(), L = Ce();
152
+ ke(m.com);
153
+ const l = J(m.com, "config"), d = J(m.com, "attr"), g = r(() => q.dataMap[m.com.id]?.source ?? []), B = f(-1), E = te(null), x = f(0), p = f([]), b = f(1), D = f(0), z = r(() => l.value.header.heightPercent * d.value.h / 100), H = r(() => (d.value.h - z.value) / l.value.global.rowCount), W = r(() => Array.isArray(g.value) ? Math.ceil(g.value.length / l.value.global.rowCount) : 0), _ = r(() => l.value.series.map((e) => e.columnName)), o = r(() => l.value.global.highLight.hlIndex.split(",").map((e) => +e)), w = () => {
154
+ const e = g.value;
155
+ if (!e || !Array.isArray(e))
156
+ return [];
157
+ const a = [], t = _.value.length;
158
+ return e.forEach((s, h) => {
159
+ const v = {
160
+ $$datav_index: h + 1
161
+ };
162
+ for (let i = 0; i < t; i++) {
163
+ const c = _.value[i];
164
+ v[c] = s[c] ?? null;
165
+ }
166
+ a.push(v);
167
+ }), a;
168
+ }, u = r(() => {
169
+ const { global: e } = l.value, a = w();
170
+ if (e.ifRowHidden)
171
+ return a;
172
+ const t = [], s = a.length;
173
+ let h = W.value * e.rowCount - s;
174
+ if (h > 0) {
175
+ const v = _.value.length;
176
+ for (let i = 0; i < h; i++) {
177
+ let c = {
178
+ $$datav_index: s + i + 1
179
+ };
180
+ for (let S = 0; S < v; S++)
181
+ c[_.value[S]] = "-";
182
+ t.push(c);
183
+ }
184
+ }
185
+ return [...a, ...t];
186
+ }), $ = r(() => {
187
+ const { global: e } = l.value;
188
+ return {
189
+ opacity: 1,
190
+ cursor: "pointer",
191
+ overflow: "hidden",
192
+ backgroundColor: "transparent",
193
+ fontFamily: e.fontFamily,
194
+ width: `${d.value.w}px`,
195
+ height: `${d.value.h}px`
196
+ };
197
+ }), A = r(() => {
198
+ const { header: e } = l.value;
199
+ return {
200
+ "z-index": 2,
201
+ width: "100%",
202
+ position: "absolute",
203
+ display: "flex",
204
+ "align-items": "center",
205
+ "vertical-align": "middle",
206
+ "text-overflow": "ellipsis",
207
+ "white-space": "nowrap",
208
+ overflow: "hidden",
209
+ height: `${z.value}px`,
210
+ fontFamily: e.textStyle.fontFamily,
211
+ color: e.textStyle.color,
212
+ backgroundColor: e.bgColor
213
+ };
214
+ }), oe = r(() => ({
215
+ display: "inline-block",
216
+ "vertical-align": "middle",
217
+ width: `${l.value.idList.width}%`,
218
+ height: `${z.value}px`
219
+ })), ie = r(() => {
220
+ const { textStyle: e } = l.value.header;
221
+ return {
222
+ display: "inline-block",
223
+ overflow: "hidden",
224
+ "white-space": "nowrap",
225
+ "vertical-align": "middle",
226
+ "background-color": "transparent",
227
+ "text-align": e.textAlign,
228
+ "font-size": `${e.fontSize}px`,
229
+ "font-weight": e.fontWeight,
230
+ color: e.color
231
+ };
232
+ }), re = r(() => ({
233
+ width: "100%",
234
+ height: `${d.value.h - z.value}px`,
235
+ overflow: "hidden"
236
+ })), ue = r(() => ({
237
+ display: "flex",
238
+ "align-items": "center",
239
+ "vertical-align": "middle",
240
+ "text-overflow": "ellipsis",
241
+ overflow: "hidden",
242
+ height: `${H.value}px`,
243
+ opacity: 1,
244
+ transform: `translateY(-${D.value}px)`
245
+ })), se = r(() => {
246
+ const { idList: e } = l.value;
247
+ return {
248
+ display: "inline-block",
249
+ "text-align": "center",
250
+ "vertical-align": "middle",
251
+ width: `${e.width}%`,
252
+ color: e.textStyle.color,
253
+ fontSize: `${e.textStyle.fontSize}px`
254
+ };
255
+ }), ce = r(() => {
256
+ const { idList: e } = l.value, a = H.value * e.radius / 100 - 4;
257
+ return {
258
+ margin: "auto",
259
+ "vertical-align": "middle",
260
+ "text-align": "center",
261
+ "font-family": e.textStyle.fontFamily,
262
+ "font-weight": e.textStyle.fontWeight,
263
+ "line-height": `${a}px`,
264
+ "border-radius": `${a / 2}px`,
265
+ width: `${a}px`,
266
+ height: `${a}px`
267
+ };
268
+ }), R = (e) => {
269
+ const { show: a, isOrder: t } = l.value.global.highLight;
270
+ return a && (t && b.value === e || !t && o.value.includes(e));
271
+ }, de = (e) => {
272
+ const { bgColor: a, border: t } = l.value.global.highLight.hlStyle;
273
+ return R(e) ? {
274
+ backgroundColor: a,
275
+ border: `${t.width}px ${t.style} ${t.color}`
276
+ } : {
277
+ backgroundColor: e & 1 ? l.value.row.oddBGColor : l.value.row.evenBGColor
278
+ };
279
+ }, ve = (e) => {
280
+ const { textStyle: a } = l.value.global.highLight.hlStyle;
281
+ return R(e) ? {
282
+ "background-image": "none",
283
+ "background-position": "initial",
284
+ "background-size": "initial",
285
+ "background-repeat": "initial",
286
+ "background-attachment": "initial",
287
+ "background-origin": "initial",
288
+ "background-clip": "unset",
289
+ "-webkit-text-fill-color": "initial",
290
+ "font-size": a.fontSize,
291
+ color: a.color
292
+ } : {
293
+ "background-color": l.value.idList.bgColor
294
+ };
295
+ }, K = () => {
296
+ const e = x.value, { animation: a, rowCount: t, isLoop: s, ifRowHidden: h } = l.value.global;
297
+ if (e === 0)
298
+ p.value = u.value;
299
+ else {
300
+ let v = 0, i = 0, c = 0, S = 0;
301
+ if (a.mode === "top")
302
+ v = (e - 1) * t, i = e * t + 1, e === W.value && !h ? (c = 1, S = t) : (c = i, S = (e + 1) * t);
303
+ else {
304
+ v = e - 1, i = e + t;
305
+ const T = u.value.length, Y = e - T + t;
306
+ Y > 0 && T > t ? (c = 1, S = Y) : (c = i, S = i + 1);
307
+ }
308
+ p.value = [
309
+ ...u.value.filter((T) => v < T.$$datav_index && T.$$datav_index < i),
310
+ ...u.value.filter((T) => c <= T.$$datav_index && T.$$datav_index <= S)
311
+ ];
312
+ }
313
+ s && !(a.singleStop && W.value <= 1) ? U() : N();
314
+ }, U = () => {
315
+ const { global: e } = l.value, { show: a, isOrder: t } = e.highLight;
316
+ B.value = window.setTimeout(() => {
317
+ if (a && t) {
318
+ const v = b.value + 1, i = p.value.some((c) => c.$$datav_index === v);
319
+ if (i ? b.value = v : b.value = 1, e.animation.mode === "top" && i && v <= x.value * e.rowCount) {
320
+ U();
321
+ return;
322
+ }
323
+ }
324
+ let s = u.value.length, h = H.value;
325
+ e.animation.mode === "top" && (s = W.value, h *= e.rowCount), E.value = ae.fromTo(
326
+ D,
327
+ {
328
+ value: 0
329
+ },
330
+ {
331
+ duration: 0.85,
332
+ value: h,
333
+ onComplete: () => {
334
+ D.value = 0, x.value === s ? (x.value = 1, me(p.value[0])) : x.value += 1, K();
335
+ }
336
+ }
337
+ ), he(p.value[0]), fe(b.value);
338
+ }, e.animation.duration * 1e3);
339
+ }, N = () => {
340
+ clearTimeout(B.value), E.value?.kill(), D.value = 0, b.value = 1;
341
+ }, X = () => {
342
+ x.value = 1, N(), K();
343
+ };
344
+ P(
345
+ () => l.value.global,
346
+ () => {
347
+ X();
348
+ },
349
+ {
350
+ deep: !0
351
+ }
352
+ ), P(u, () => {
353
+ X();
354
+ });
355
+ const V = (e) => e ? { ...e, index: e.$$datav_index } : {}, ge = (e) => {
356
+ L.handleSubVariablesChange(m.com.id, I.rowClicked, V(e));
357
+ }, he = (e) => {
358
+ L.handleSubVariablesChange(m.com.id, I.dataFlipped, V(e));
359
+ }, fe = (e) => {
360
+ if (R(e)) {
361
+ const a = p.value.find((t) => t.$$datav_index === e);
362
+ L.handleSubVariablesChange(m.com.id, I.dataHighLight, V(a));
363
+ }
364
+ }, me = (e) => {
365
+ L.handleSubVariablesChange(m.com.id, I.scrollEnd, {
366
+ isEnding: !0,
367
+ ...V(e)
368
+ });
369
+ };
370
+ return we(ne, {
371
+ isHighLight: R
372
+ }), le(() => {
373
+ N();
374
+ }), (e, a) => (y(), k("div", {
375
+ class: "datav-wraper",
376
+ style: C($.value)
377
+ }, [
378
+ l.value.header.show ? (y(), k("div", {
379
+ key: 0,
380
+ class: "line header",
381
+ style: C(A.value)
382
+ }, [
383
+ l.value.idList.show ? (y(), k("div", {
384
+ key: 0,
385
+ class: "index-list",
386
+ style: C(oe.value)
387
+ }, null, 4)) : j("", !0),
388
+ (y(!0), k(O, null, G(l.value.series, (t, s) => (y(), k("div", {
389
+ key: s,
390
+ class: "column column-title",
391
+ style: C([ie.value, { width: `${t.width}%` }])
392
+ }, Q(t.displayName), 5))), 128))
393
+ ], 4)) : j("", !0),
394
+ M("div", {
395
+ class: "placeholder",
396
+ style: C(`height: ${z.value}px`)
397
+ }, null, 4),
398
+ M("div", {
399
+ class: "rows-container",
400
+ style: C(re.value)
401
+ }, [
402
+ (y(!0), k(O, null, G(p.value, (t) => (y(), k("div", {
403
+ key: t.$$datav_index,
404
+ class: "line row-content",
405
+ style: C([ue.value, de(t.$$datav_index)]),
406
+ onClick: (s) => ge(t)
407
+ }, [
408
+ l.value.idList.show ? (y(), k("div", {
409
+ key: 0,
410
+ class: "index",
411
+ style: C(se.value)
412
+ }, [
413
+ M("div", {
414
+ class: "index-bg",
415
+ style: C([ce.value, ve(t.$$datav_index)])
416
+ }, Q(t.$$datav_index), 5)
417
+ ], 4)) : j("", !0),
418
+ (y(!0), k(O, null, G(l.value.series, (s, h) => (y(), $e(_e, {
419
+ key: t.$$datav_index + h,
420
+ "table-width": d.value.w,
421
+ "global-config": l.value.global,
422
+ config: s,
423
+ data: t
424
+ }, null, 8, ["table-width", "global-config", "config", "data"]))), 128))
425
+ ], 12, Te))), 128))
426
+ ], 4)
427
+ ], 4));
428
+ }
429
+ });
430
+ Z.install = (n) => {
431
+ n.component("VCarouselTable", Z), n.component("VCarouselTableProp", pe(() => import("./config-efyvf2nq.js")));
432
+ };
433
+ export {
434
+ Z as default
435
+ };
@@ -0,0 +1,19 @@
1
+ import { l as c } from "./index-Bjs1bW2W.js";
2
+ import { defineComponent as s, toRef as t, computed as r, createElementBlock as p, openBlock as m } from "vue";
3
+ import { u as i, a as d, g as u } from "./use-data-center-Cj9FGyCg.js";
4
+ const l = { class: "datav-wrapper" }, a = /* @__PURE__ */ s({
5
+ __name: "index",
6
+ props: {
7
+ com: {}
8
+ },
9
+ setup(e) {
10
+ const o = e, n = i();
11
+ return d(o.com), t(o.com, "config"), t(o.com, "attr"), r(() => n.dataMap[o.com.id]?.source ?? {}), r(() => u(o.com.apis.source.fields)), (f, _) => (m(), p("div", l, "Dater"));
12
+ }
13
+ });
14
+ a.install = (e) => {
15
+ e.component("VDater", a), e.component("VDaterProp", c(() => import("./config-CSUhHF5L.js")));
16
+ };
17
+ export {
18
+ a as default
19
+ };