@eturnity/eturnity_reusable_components 8.13.2 → 8.13.3-EPDM-14657.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 (537) hide show
  1. package/package.json +1 -1
  2. package/src/DemoCharts.vue +424 -0
  3. package/src/TestChart.vue +241 -0
  4. package/src/assets/svgIcons/refresh.svg +3 -0
  5. package/src/assets/theme.js +16 -0
  6. package/src/components/barchart/BottomFields.vue +253 -0
  7. package/src/components/barchart/ChartControls.vue +113 -0
  8. package/src/components/barchart/SelectionBox.vue +150 -0
  9. package/src/components/barchart/composables/index.js +5 -0
  10. package/src/components/barchart/composables/useAxisCalculations.js +104 -0
  11. package/src/components/barchart/composables/useChartData.js +114 -0
  12. package/src/components/barchart/composables/useChartScroll.js +61 -0
  13. package/src/components/barchart/composables/useSelection.js +75 -0
  14. package/src/components/barchart/composables/useTooltip.js +100 -0
  15. package/src/components/barchart/index.vue +376 -0
  16. package/src/components/barchart/styles/bottomFields.js +66 -0
  17. package/src/components/barchart/styles/chart.js +259 -0
  18. package/src/components/barchart/styles/chartControls.js +59 -0
  19. package/src/components/buttons/splitButtons/index.vue +86 -0
  20. package/src/components/collapsableInfoText/index.vue +2 -2
  21. package/src/components/icon/index.vue +1 -4
  22. package/src/components/inputs/inputNumber/index.vue +14 -2
  23. package/src/helpers/isObjectEqual.js +22 -0
  24. package/src/main.js +8 -0
  25. package/src/router/dynamicRoutes.js +12 -0
  26. package/dist/main.es.js +0 -7
  27. package/dist/main.es10.js +0 -10
  28. package/dist/main.es100.js +0 -23
  29. package/dist/main.es101.js +0 -23
  30. package/dist/main.es102.js +0 -20
  31. package/dist/main.es103.js +0 -20
  32. package/dist/main.es104.js +0 -20
  33. package/dist/main.es105.js +0 -37
  34. package/dist/main.es106.js +0 -28
  35. package/dist/main.es107.js +0 -32
  36. package/dist/main.es108.js +0 -18
  37. package/dist/main.es109.js +0 -33
  38. package/dist/main.es11.js +0 -2484
  39. package/dist/main.es110.js +0 -41
  40. package/dist/main.es111.js +0 -36
  41. package/dist/main.es112.js +0 -35
  42. package/dist/main.es113.js +0 -20
  43. package/dist/main.es114.js +0 -23
  44. package/dist/main.es115.js +0 -30
  45. package/dist/main.es116.js +0 -23
  46. package/dist/main.es117.js +0 -32
  47. package/dist/main.es118.js +0 -23
  48. package/dist/main.es119.js +0 -29
  49. package/dist/main.es12.js +0 -133
  50. package/dist/main.es120.js +0 -25
  51. package/dist/main.es121.js +0 -23
  52. package/dist/main.es122.js +0 -28
  53. package/dist/main.es123.js +0 -28
  54. package/dist/main.es124.js +0 -39
  55. package/dist/main.es125.js +0 -37
  56. package/dist/main.es126.js +0 -23
  57. package/dist/main.es127.js +0 -25
  58. package/dist/main.es128.js +0 -23
  59. package/dist/main.es129.js +0 -23
  60. package/dist/main.es13.js +0 -261
  61. package/dist/main.es130.js +0 -23
  62. package/dist/main.es131.js +0 -28
  63. package/dist/main.es132.js +0 -29
  64. package/dist/main.es133.js +0 -29
  65. package/dist/main.es134.js +0 -21
  66. package/dist/main.es135.js +0 -20
  67. package/dist/main.es136.js +0 -28
  68. package/dist/main.es137.js +0 -24
  69. package/dist/main.es138.js +0 -28
  70. package/dist/main.es139.js +0 -23
  71. package/dist/main.es14.js +0 -26
  72. package/dist/main.es140.js +0 -33
  73. package/dist/main.es141.js +0 -30
  74. package/dist/main.es142.js +0 -23
  75. package/dist/main.es143.js +0 -20
  76. package/dist/main.es144.js +0 -19
  77. package/dist/main.es145.js +0 -23
  78. package/dist/main.es146.js +0 -29
  79. package/dist/main.es147.js +0 -28
  80. package/dist/main.es148.js +0 -35
  81. package/dist/main.es149.js +0 -25
  82. package/dist/main.es15.js +0 -1058
  83. package/dist/main.es150.js +0 -25
  84. package/dist/main.es151.js +0 -23
  85. package/dist/main.es152.js +0 -41
  86. package/dist/main.es153.js +0 -41
  87. package/dist/main.es154.js +0 -25
  88. package/dist/main.es155.js +0 -23
  89. package/dist/main.es156.js +0 -23
  90. package/dist/main.es157.js +0 -25
  91. package/dist/main.es158.js +0 -23
  92. package/dist/main.es159.js +0 -23
  93. package/dist/main.es16.js +0 -692
  94. package/dist/main.es160.js +0 -23
  95. package/dist/main.es161.js +0 -23
  96. package/dist/main.es162.js +0 -23
  97. package/dist/main.es163.js +0 -23
  98. package/dist/main.es164.js +0 -20
  99. package/dist/main.es165.js +0 -28
  100. package/dist/main.es166.js +0 -28
  101. package/dist/main.es167.js +0 -28
  102. package/dist/main.es168.js +0 -28
  103. package/dist/main.es169.js +0 -25
  104. package/dist/main.es17.js +0 -95
  105. package/dist/main.es170.js +0 -23
  106. package/dist/main.es171.js +0 -23
  107. package/dist/main.es172.js +0 -20
  108. package/dist/main.es173.js +0 -20
  109. package/dist/main.es174.js +0 -23
  110. package/dist/main.es175.js +0 -18
  111. package/dist/main.es176.js +0 -23
  112. package/dist/main.es177.js +0 -20
  113. package/dist/main.es178.js +0 -25
  114. package/dist/main.es179.js +0 -25
  115. package/dist/main.es18.js +0 -78
  116. package/dist/main.es180.js +0 -23
  117. package/dist/main.es181.js +0 -23
  118. package/dist/main.es182.js +0 -20
  119. package/dist/main.es183.js +0 -23
  120. package/dist/main.es184.js +0 -23
  121. package/dist/main.es185.js +0 -32
  122. package/dist/main.es186.js +0 -23
  123. package/dist/main.es187.js +0 -32
  124. package/dist/main.es188.js +0 -37
  125. package/dist/main.es189.js +0 -32
  126. package/dist/main.es19.js +0 -143
  127. package/dist/main.es190.js +0 -39
  128. package/dist/main.es191.js +0 -28
  129. package/dist/main.es192.js +0 -20
  130. package/dist/main.es193.js +0 -20
  131. package/dist/main.es194.js +0 -25
  132. package/dist/main.es195.js +0 -23
  133. package/dist/main.es196.js +0 -40
  134. package/dist/main.es197.js +0 -23
  135. package/dist/main.es198.js +0 -21
  136. package/dist/main.es199.js +0 -19
  137. package/dist/main.es2.js +0 -34
  138. package/dist/main.es20.js +0 -152
  139. package/dist/main.es200.js +0 -20
  140. package/dist/main.es201.js +0 -20
  141. package/dist/main.es202.js +0 -33
  142. package/dist/main.es203.js +0 -23
  143. package/dist/main.es204.js +0 -23
  144. package/dist/main.es205.js +0 -28
  145. package/dist/main.es206.js +0 -23
  146. package/dist/main.es207.js +0 -23
  147. package/dist/main.es208.js +0 -21
  148. package/dist/main.es209.js +0 -23
  149. package/dist/main.es21.js +0 -108
  150. package/dist/main.es210.js +0 -28
  151. package/dist/main.es211.js +0 -23
  152. package/dist/main.es212.js +0 -23
  153. package/dist/main.es213.js +0 -23
  154. package/dist/main.es214.js +0 -28
  155. package/dist/main.es215.js +0 -28
  156. package/dist/main.es216.js +0 -20
  157. package/dist/main.es217.js +0 -23
  158. package/dist/main.es218.js +0 -35
  159. package/dist/main.es219.js +0 -28
  160. package/dist/main.es22.js +0 -4
  161. package/dist/main.es220.js +0 -29
  162. package/dist/main.es221.js +0 -24
  163. package/dist/main.es222.js +0 -23
  164. package/dist/main.es223.js +0 -28
  165. package/dist/main.es224.js +0 -25
  166. package/dist/main.es225.js +0 -23
  167. package/dist/main.es226.js +0 -23
  168. package/dist/main.es227.js +0 -20
  169. package/dist/main.es228.js +0 -20
  170. package/dist/main.es229.js +0 -23
  171. package/dist/main.es23.js +0 -169
  172. package/dist/main.es230.js +0 -23
  173. package/dist/main.es231.js +0 -25
  174. package/dist/main.es232.js +0 -38
  175. package/dist/main.es233.js +0 -30
  176. package/dist/main.es234.js +0 -28
  177. package/dist/main.es235.js +0 -23
  178. package/dist/main.es236.js +0 -22
  179. package/dist/main.es237.js +0 -28
  180. package/dist/main.es238.js +0 -23
  181. package/dist/main.es239.js +0 -18
  182. package/dist/main.es24.js +0 -201
  183. package/dist/main.es240.js +0 -23
  184. package/dist/main.es241.js +0 -25
  185. package/dist/main.es242.js +0 -23
  186. package/dist/main.es243.js +0 -23
  187. package/dist/main.es244.js +0 -23
  188. package/dist/main.es245.js +0 -23
  189. package/dist/main.es246.js +0 -23
  190. package/dist/main.es247.js +0 -23
  191. package/dist/main.es248.js +0 -23
  192. package/dist/main.es249.js +0 -23
  193. package/dist/main.es25.js +0 -55
  194. package/dist/main.es250.js +0 -30
  195. package/dist/main.es251.js +0 -23
  196. package/dist/main.es252.js +0 -23
  197. package/dist/main.es253.js +0 -28
  198. package/dist/main.es254.js +0 -23
  199. package/dist/main.es255.js +0 -23
  200. package/dist/main.es256.js +0 -28
  201. package/dist/main.es257.js +0 -33
  202. package/dist/main.es258.js +0 -28
  203. package/dist/main.es259.js +0 -28
  204. package/dist/main.es26.js +0 -12
  205. package/dist/main.es260.js +0 -23
  206. package/dist/main.es261.js +0 -25
  207. package/dist/main.es262.js +0 -28
  208. package/dist/main.es263.js +0 -30
  209. package/dist/main.es264.js +0 -23
  210. package/dist/main.es265.js +0 -23
  211. package/dist/main.es266.js +0 -23
  212. package/dist/main.es267.js +0 -23
  213. package/dist/main.es268.js +0 -28
  214. package/dist/main.es269.js +0 -252
  215. package/dist/main.es27.js +0 -6
  216. package/dist/main.es270.js +0 -22
  217. package/dist/main.es271.js +0 -25
  218. package/dist/main.es272.js +0 -7
  219. package/dist/main.es273.js +0 -383
  220. package/dist/main.es274.js +0 -54
  221. package/dist/main.es275.js +0 -15
  222. package/dist/main.es276.js +0 -64
  223. package/dist/main.es277.js +0 -4
  224. package/dist/main.es278.js +0 -4
  225. package/dist/main.es279.js +0 -4
  226. package/dist/main.es28.js +0 -103
  227. package/dist/main.es280.js +0 -4
  228. package/dist/main.es281.js +0 -4
  229. package/dist/main.es282.js +0 -4
  230. package/dist/main.es283.js +0 -4
  231. package/dist/main.es284.js +0 -4
  232. package/dist/main.es285.js +0 -4
  233. package/dist/main.es286.js +0 -4
  234. package/dist/main.es287.js +0 -4
  235. package/dist/main.es288.js +0 -4
  236. package/dist/main.es289.js +0 -4
  237. package/dist/main.es29.js +0 -62
  238. package/dist/main.es290.js +0 -4
  239. package/dist/main.es291.js +0 -4
  240. package/dist/main.es292.js +0 -4
  241. package/dist/main.es293.js +0 -4
  242. package/dist/main.es294.js +0 -4
  243. package/dist/main.es295.js +0 -4
  244. package/dist/main.es296.js +0 -4
  245. package/dist/main.es297.js +0 -4
  246. package/dist/main.es298.js +0 -4
  247. package/dist/main.es299.js +0 -4
  248. package/dist/main.es3.js +0 -70
  249. package/dist/main.es30.js +0 -69
  250. package/dist/main.es300.js +0 -4
  251. package/dist/main.es301.js +0 -4
  252. package/dist/main.es302.js +0 -4
  253. package/dist/main.es303.js +0 -4
  254. package/dist/main.es304.js +0 -4
  255. package/dist/main.es305.js +0 -4
  256. package/dist/main.es306.js +0 -4
  257. package/dist/main.es307.js +0 -4
  258. package/dist/main.es308.js +0 -4
  259. package/dist/main.es309.js +0 -4
  260. package/dist/main.es31.js +0 -801
  261. package/dist/main.es310.js +0 -4
  262. package/dist/main.es311.js +0 -4
  263. package/dist/main.es312.js +0 -4
  264. package/dist/main.es313.js +0 -4
  265. package/dist/main.es314.js +0 -4
  266. package/dist/main.es315.js +0 -4
  267. package/dist/main.es316.js +0 -4
  268. package/dist/main.es317.js +0 -4
  269. package/dist/main.es318.js +0 -4
  270. package/dist/main.es319.js +0 -4
  271. package/dist/main.es32.js +0 -127
  272. package/dist/main.es320.js +0 -4
  273. package/dist/main.es321.js +0 -4
  274. package/dist/main.es322.js +0 -4
  275. package/dist/main.es323.js +0 -4
  276. package/dist/main.es324.js +0 -4
  277. package/dist/main.es325.js +0 -4
  278. package/dist/main.es326.js +0 -4
  279. package/dist/main.es327.js +0 -4
  280. package/dist/main.es328.js +0 -4
  281. package/dist/main.es329.js +0 -4
  282. package/dist/main.es33.js +0 -4
  283. package/dist/main.es330.js +0 -4
  284. package/dist/main.es331.js +0 -4
  285. package/dist/main.es332.js +0 -4
  286. package/dist/main.es333.js +0 -4
  287. package/dist/main.es334.js +0 -4
  288. package/dist/main.es335.js +0 -4
  289. package/dist/main.es336.js +0 -4
  290. package/dist/main.es337.js +0 -4
  291. package/dist/main.es338.js +0 -4
  292. package/dist/main.es339.js +0 -4
  293. package/dist/main.es34.js +0 -29
  294. package/dist/main.es340.js +0 -4
  295. package/dist/main.es341.js +0 -4
  296. package/dist/main.es342.js +0 -4
  297. package/dist/main.es343.js +0 -4
  298. package/dist/main.es344.js +0 -4
  299. package/dist/main.es345.js +0 -4
  300. package/dist/main.es346.js +0 -4
  301. package/dist/main.es347.js +0 -4
  302. package/dist/main.es348.js +0 -4
  303. package/dist/main.es349.js +0 -4
  304. package/dist/main.es35.js +0 -34
  305. package/dist/main.es350.js +0 -4
  306. package/dist/main.es351.js +0 -4
  307. package/dist/main.es352.js +0 -4
  308. package/dist/main.es353.js +0 -4
  309. package/dist/main.es354.js +0 -4
  310. package/dist/main.es355.js +0 -4
  311. package/dist/main.es356.js +0 -4
  312. package/dist/main.es357.js +0 -4
  313. package/dist/main.es358.js +0 -4
  314. package/dist/main.es359.js +0 -4
  315. package/dist/main.es36.js +0 -36
  316. package/dist/main.es360.js +0 -4
  317. package/dist/main.es361.js +0 -4
  318. package/dist/main.es362.js +0 -4
  319. package/dist/main.es363.js +0 -4
  320. package/dist/main.es364.js +0 -4
  321. package/dist/main.es365.js +0 -4
  322. package/dist/main.es366.js +0 -4
  323. package/dist/main.es367.js +0 -4
  324. package/dist/main.es368.js +0 -4
  325. package/dist/main.es369.js +0 -4
  326. package/dist/main.es37.js +0 -41
  327. package/dist/main.es370.js +0 -4
  328. package/dist/main.es371.js +0 -4
  329. package/dist/main.es372.js +0 -4
  330. package/dist/main.es373.js +0 -4
  331. package/dist/main.es374.js +0 -4
  332. package/dist/main.es375.js +0 -4
  333. package/dist/main.es376.js +0 -4
  334. package/dist/main.es377.js +0 -4
  335. package/dist/main.es378.js +0 -4
  336. package/dist/main.es379.js +0 -4
  337. package/dist/main.es38.js +0 -35
  338. package/dist/main.es380.js +0 -4
  339. package/dist/main.es381.js +0 -4
  340. package/dist/main.es382.js +0 -4
  341. package/dist/main.es383.js +0 -4
  342. package/dist/main.es384.js +0 -4
  343. package/dist/main.es385.js +0 -4
  344. package/dist/main.es386.js +0 -4
  345. package/dist/main.es387.js +0 -4
  346. package/dist/main.es388.js +0 -4
  347. package/dist/main.es389.js +0 -4
  348. package/dist/main.es39.js +0 -20
  349. package/dist/main.es390.js +0 -4
  350. package/dist/main.es391.js +0 -4
  351. package/dist/main.es392.js +0 -4
  352. package/dist/main.es393.js +0 -4
  353. package/dist/main.es394.js +0 -4
  354. package/dist/main.es395.js +0 -4
  355. package/dist/main.es396.js +0 -4
  356. package/dist/main.es397.js +0 -4
  357. package/dist/main.es398.js +0 -4
  358. package/dist/main.es399.js +0 -4
  359. package/dist/main.es4.js +0 -19
  360. package/dist/main.es40.js +0 -20
  361. package/dist/main.es400.js +0 -4
  362. package/dist/main.es401.js +0 -4
  363. package/dist/main.es402.js +0 -4
  364. package/dist/main.es403.js +0 -4
  365. package/dist/main.es404.js +0 -4
  366. package/dist/main.es405.js +0 -4
  367. package/dist/main.es406.js +0 -4
  368. package/dist/main.es407.js +0 -4
  369. package/dist/main.es408.js +0 -4
  370. package/dist/main.es409.js +0 -4
  371. package/dist/main.es41.js +0 -25
  372. package/dist/main.es410.js +0 -4
  373. package/dist/main.es411.js +0 -4
  374. package/dist/main.es412.js +0 -4
  375. package/dist/main.es413.js +0 -4
  376. package/dist/main.es414.js +0 -4
  377. package/dist/main.es415.js +0 -4
  378. package/dist/main.es416.js +0 -4
  379. package/dist/main.es417.js +0 -4
  380. package/dist/main.es418.js +0 -4
  381. package/dist/main.es419.js +0 -4
  382. package/dist/main.es42.js +0 -28
  383. package/dist/main.es420.js +0 -4
  384. package/dist/main.es421.js +0 -4
  385. package/dist/main.es422.js +0 -4
  386. package/dist/main.es423.js +0 -4
  387. package/dist/main.es424.js +0 -4
  388. package/dist/main.es425.js +0 -4
  389. package/dist/main.es426.js +0 -4
  390. package/dist/main.es427.js +0 -4
  391. package/dist/main.es428.js +0 -4
  392. package/dist/main.es429.js +0 -4
  393. package/dist/main.es43.js +0 -23
  394. package/dist/main.es430.js +0 -4
  395. package/dist/main.es431.js +0 -4
  396. package/dist/main.es432.js +0 -4
  397. package/dist/main.es433.js +0 -4
  398. package/dist/main.es434.js +0 -4
  399. package/dist/main.es435.js +0 -4
  400. package/dist/main.es436.js +0 -4
  401. package/dist/main.es437.js +0 -4
  402. package/dist/main.es438.js +0 -4
  403. package/dist/main.es439.js +0 -4
  404. package/dist/main.es44.js +0 -44
  405. package/dist/main.es440.js +0 -4
  406. package/dist/main.es441.js +0 -4
  407. package/dist/main.es442.js +0 -4
  408. package/dist/main.es443.js +0 -4
  409. package/dist/main.es444.js +0 -4
  410. package/dist/main.es445.js +0 -4
  411. package/dist/main.es446.js +0 -4
  412. package/dist/main.es447.js +0 -4
  413. package/dist/main.es448.js +0 -4
  414. package/dist/main.es449.js +0 -4
  415. package/dist/main.es45.js +0 -38
  416. package/dist/main.es450.js +0 -4
  417. package/dist/main.es451.js +0 -4
  418. package/dist/main.es452.js +0 -4
  419. package/dist/main.es453.js +0 -4
  420. package/dist/main.es454.js +0 -4
  421. package/dist/main.es455.js +0 -4
  422. package/dist/main.es456.js +0 -4
  423. package/dist/main.es457.js +0 -4
  424. package/dist/main.es458.js +0 -4
  425. package/dist/main.es459.js +0 -4
  426. package/dist/main.es46.js +0 -23
  427. package/dist/main.es460.js +0 -4
  428. package/dist/main.es461.js +0 -4
  429. package/dist/main.es462.js +0 -4
  430. package/dist/main.es463.js +0 -4
  431. package/dist/main.es464.js +0 -4
  432. package/dist/main.es465.js +0 -4
  433. package/dist/main.es466.js +0 -4
  434. package/dist/main.es467.js +0 -4
  435. package/dist/main.es468.js +0 -4
  436. package/dist/main.es469.js +0 -4
  437. package/dist/main.es47.js +0 -23
  438. package/dist/main.es470.js +0 -4
  439. package/dist/main.es471.js +0 -4
  440. package/dist/main.es472.js +0 -4
  441. package/dist/main.es473.js +0 -4
  442. package/dist/main.es474.js +0 -4
  443. package/dist/main.es475.js +0 -4
  444. package/dist/main.es476.js +0 -4
  445. package/dist/main.es477.js +0 -4
  446. package/dist/main.es478.js +0 -4
  447. package/dist/main.es479.js +0 -4
  448. package/dist/main.es48.js +0 -24
  449. package/dist/main.es480.js +0 -4
  450. package/dist/main.es481.js +0 -4
  451. package/dist/main.es482.js +0 -4
  452. package/dist/main.es483.js +0 -4
  453. package/dist/main.es484.js +0 -4
  454. package/dist/main.es485.js +0 -4
  455. package/dist/main.es486.js +0 -4
  456. package/dist/main.es487.js +0 -4
  457. package/dist/main.es488.js +0 -4
  458. package/dist/main.es489.js +0 -4
  459. package/dist/main.es49.js +0 -35
  460. package/dist/main.es490.js +0 -4
  461. package/dist/main.es491.js +0 -4
  462. package/dist/main.es492.js +0 -4
  463. package/dist/main.es493.js +0 -4
  464. package/dist/main.es494.js +0 -4
  465. package/dist/main.es495.js +0 -4
  466. package/dist/main.es496.js +0 -4
  467. package/dist/main.es497.js +0 -4
  468. package/dist/main.es498.js +0 -4
  469. package/dist/main.es499.js +0 -4
  470. package/dist/main.es5.js +0 -586
  471. package/dist/main.es50.js +0 -30
  472. package/dist/main.es500.js +0 -4
  473. package/dist/main.es501.js +0 -4
  474. package/dist/main.es502.js +0 -4
  475. package/dist/main.es503.js +0 -4
  476. package/dist/main.es504.js +0 -4
  477. package/dist/main.es505.js +0 -4
  478. package/dist/main.es506.js +0 -4
  479. package/dist/main.es507.js +0 -4
  480. package/dist/main.es508.js +0 -4
  481. package/dist/main.es509.js +0 -4
  482. package/dist/main.es51.js +0 -34
  483. package/dist/main.es510.js +0 -4
  484. package/dist/main.es511.js +0 -88
  485. package/dist/main.es52.js +0 -20
  486. package/dist/main.es53.js +0 -20
  487. package/dist/main.es54.js +0 -23
  488. package/dist/main.es55.js +0 -28
  489. package/dist/main.es56.js +0 -28
  490. package/dist/main.es57.js +0 -23
  491. package/dist/main.es58.js +0 -25
  492. package/dist/main.es59.js +0 -24
  493. package/dist/main.es6.js +0 -5872
  494. package/dist/main.es60.js +0 -23
  495. package/dist/main.es61.js +0 -23
  496. package/dist/main.es62.js +0 -23
  497. package/dist/main.es63.js +0 -23
  498. package/dist/main.es64.js +0 -23
  499. package/dist/main.es65.js +0 -20
  500. package/dist/main.es66.js +0 -23
  501. package/dist/main.es67.js +0 -23
  502. package/dist/main.es68.js +0 -21
  503. package/dist/main.es69.js +0 -20
  504. package/dist/main.es7.js +0 -1904
  505. package/dist/main.es70.js +0 -23
  506. package/dist/main.es71.js +0 -28
  507. package/dist/main.es72.js +0 -28
  508. package/dist/main.es73.js +0 -23
  509. package/dist/main.es74.js +0 -23
  510. package/dist/main.es75.js +0 -23
  511. package/dist/main.es76.js +0 -23
  512. package/dist/main.es77.js +0 -31
  513. package/dist/main.es78.js +0 -23
  514. package/dist/main.es79.js +0 -33
  515. package/dist/main.es8.js +0 -42
  516. package/dist/main.es80.js +0 -30
  517. package/dist/main.es81.js +0 -23
  518. package/dist/main.es82.js +0 -22
  519. package/dist/main.es83.js +0 -25
  520. package/dist/main.es84.js +0 -28
  521. package/dist/main.es85.js +0 -35
  522. package/dist/main.es86.js +0 -23
  523. package/dist/main.es87.js +0 -23
  524. package/dist/main.es88.js +0 -33
  525. package/dist/main.es89.js +0 -20
  526. package/dist/main.es9.js +0 -4
  527. package/dist/main.es90.js +0 -28
  528. package/dist/main.es91.js +0 -28
  529. package/dist/main.es92.js +0 -23
  530. package/dist/main.es93.js +0 -23
  531. package/dist/main.es94.js +0 -24
  532. package/dist/main.es95.js +0 -28
  533. package/dist/main.es96.js +0 -28
  534. package/dist/main.es97.js +0 -23
  535. package/dist/main.es98.js +0 -23
  536. package/dist/main.es99.js +0 -28
  537. package/dist/style.css +0 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eturnity/eturnity_reusable_components",
3
- "version": "8.13.2",
3
+ "version": "8.13.3-EPDM-14657.0",
4
4
  "files": [
5
5
  "dist",
6
6
  "src"
@@ -0,0 +1,424 @@
1
+ <template>
2
+ <div class="demo-container">
3
+ <h1>BarChart Component Examples</h1>
4
+
5
+ <h2>1. Basic Bar Chart</h2>
6
+ <BarChart
7
+ :data="basicData"
8
+ :value-formatter="kwhFormatter"
9
+ height="300px"
10
+ width="800px"
11
+ />
12
+
13
+ <h2>2. Bar Chart with Custom Bar Width</h2>
14
+ <BarChart
15
+ :bar-width="80"
16
+ :data="basicData"
17
+ :value-formatter="kwhFormatter"
18
+ height="300px"
19
+ width="800px"
20
+ />
21
+
22
+ <h2>3. Stacked Bar Chart - 3 Series with Legend</h2>
23
+ <BarChart
24
+ :bar-width="80"
25
+ :data="quarterLabels"
26
+ :is-legend-shown="true"
27
+ :series="threeZoneSeries"
28
+ :value-formatter="kwhFormatter"
29
+ height="400px"
30
+ width="800px"
31
+ />
32
+
33
+ <h2>4. Stacked Bar Chart - 6 Series with Multi-Row Legend</h2>
34
+ <BarChart
35
+ :bar-width="60"
36
+ :data="monthLabels"
37
+ :is-legend-shown="true"
38
+ :legends-item-per-row="3"
39
+ :series="tariffZones"
40
+ :value-formatter="kwhFormatter"
41
+ height="400px"
42
+ width="800px"
43
+ />
44
+
45
+ <h2>5. Scrollable Chart with Many Data Points</h2>
46
+ <BarChart
47
+ :bar-width="40"
48
+ :data="dailyData"
49
+ :is-scrollable="true"
50
+ :value-formatter="kwhFormatter"
51
+ height="300px"
52
+ width="800px"
53
+ />
54
+
55
+ <h2>6. Scrollable Chart with Selection</h2>
56
+ <BarChart
57
+ :bar-width="40"
58
+ :data="dailyData"
59
+ :is-scrollable="true"
60
+ :is-selection-enabled="true"
61
+ :selection-size="5"
62
+ :value-formatter="kwhFormatter"
63
+ height="300px"
64
+ width="800px"
65
+ @selection-change="handleSelectionChange"
66
+ />
67
+
68
+ <h2>7. Chart with Top Controls & Time Frame Selector</h2>
69
+ <BarChart
70
+ :bar-width="70"
71
+ :data="quarterLabels"
72
+ :is-legend-shown="true"
73
+ :selected-split-button="selectedTimeFrame"
74
+ :series="threeZoneSeries"
75
+ :split-button-options="timeFrameOptions"
76
+ :value-formatter="kwhFormatter"
77
+ chart-controls-position="top"
78
+ height="350px"
79
+ width="800px"
80
+ @select-split-button="handleTimeFrameSelect"
81
+ />
82
+
83
+ <h2>8. Chart with Bottom Controls & Time Frame Selector</h2>
84
+ <BarChart
85
+ :bar-width="70"
86
+ :data="quarterLabels"
87
+ :is-legend-shown="true"
88
+ :selected-split-button="selectedTimeFrame"
89
+ :series="threeZoneSeries"
90
+ :split-button-options="timeFrameOptions"
91
+ :value-formatter="kwhFormatter"
92
+ chart-controls-position="bottom"
93
+ height="350px"
94
+ width="800px"
95
+ @select-split-button="handleTimeFrameSelect"
96
+ />
97
+
98
+ <h2>9. Chart with Custom Tooltip</h2>
99
+ <BarChart :bar-width="60" :data="basicData" height="300px" width="800px">
100
+ <template #tooltip="{ item }">
101
+ <div style="padding: 8px">
102
+ <div style="font-weight: bold">{{ item.label }}</div>
103
+ <div>Consumption: {{ kwhFormatter(item.segments[0].value) }}</div>
104
+ <div>Peak Time: {{ getPeakTime(item.label) }}</div>
105
+ <div>Efficiency: {{ getEfficiency(item.segments[0].value) }}</div>
106
+ </div>
107
+ </template>
108
+ </BarChart>
109
+
110
+ <h2>10. Chart with Bottom Fields</h2>
111
+ <BarChart
112
+ :bar-width="60"
113
+ :data="basicData"
114
+ :is-bottom-fields-shown="true"
115
+ :value-formatter="kwhFormatter"
116
+ height="300px"
117
+ width="800px"
118
+ @update-value="handleValueUpdate"
119
+ />
120
+
121
+ <h2>11. Scrollable Chart with Bottom Fields</h2>
122
+ <BarChart
123
+ :bar-width="40"
124
+ :data="monthlyData"
125
+ :is-bottom-fields-shown="true"
126
+ :is-scrollable="true"
127
+ :value-formatter="kwhFormatter"
128
+ height="300px"
129
+ width="800px"
130
+ />
131
+
132
+ <h2>12. Stacked Chart with Bottom Fields</h2>
133
+ <BarChart
134
+ :bar-width="70"
135
+ :data="quarterLabels"
136
+ :is-bottom-fields-shown="true"
137
+ :is-legend-shown="true"
138
+ :series="threeZoneSeries"
139
+ :value-formatter="kwhFormatter"
140
+ height="400px"
141
+ width="800px"
142
+ />
143
+
144
+ <h2>13. Scrollable Stacked Chart with Bottom Fields</h2>
145
+ <BarChart
146
+ :bar-width="60"
147
+ :data="monthLabels"
148
+ :is-bottom-fields-shown="true"
149
+ :is-legend-shown="true"
150
+ :is-scrollable="true"
151
+ :legends-item-per-row="3"
152
+ :series="tariffZones"
153
+ :value-formatter="kwhFormatter"
154
+ height="400px"
155
+ width="800px"
156
+ />
157
+
158
+ <h2>14. Chart with Selection and Bottom Fields</h2>
159
+ <BarChart
160
+ :bar-width="40"
161
+ :data="monthlyData"
162
+ :is-bottom-fields-shown="true"
163
+ :is-scrollable="true"
164
+ :is-selection-enabled="true"
165
+ :selection-size="6"
166
+ :value-formatter="kwhFormatter"
167
+ height="350px"
168
+ width="800px"
169
+ @selection-change="handleSelectionChange"
170
+ />
171
+
172
+ <h2>15. Stacked Chart and Bottom Fields</h2>
173
+ <BarChart
174
+ :bar-width="70"
175
+ :data="quarterLabels"
176
+ :is-bottom-fields-shown="true"
177
+ :is-legend-shown="true"
178
+ :series="threeZoneSeries"
179
+ :value-formatter="kwhFormatter"
180
+ height="400px"
181
+ width="800px"
182
+ @selection-change="handleSelectionChange"
183
+ />
184
+ </div>
185
+ </template>
186
+
187
+ <script setup>
188
+ import { ref } from 'vue'
189
+ import BarChart from './components/barchart/index.vue'
190
+
191
+ // Formatters
192
+ const kwhFormatter = (value) => `${value.toLocaleString()} kWh`
193
+
194
+ // Basic data
195
+ const basicData = [
196
+ { label: 'Jan', value: 1200 },
197
+ { label: 'Feb', value: 1800 },
198
+ { label: 'Mar', value: 2200 },
199
+ { label: 'Apr', value: 1600 },
200
+ { label: 'May', value: 2400 },
201
+ { label: 'Jun', value: 2800 },
202
+ { label: 'Jul', value: 2200 },
203
+ { label: 'Aug', value: 1600 },
204
+ { label: 'Sep', value: 2400 },
205
+ { label: 'Oct', value: 2800 },
206
+ { label: 'Nov', value: 2200 },
207
+ { label: 'Dec', value: 1600 },
208
+ ]
209
+
210
+ // Minimal data with fewer points
211
+ const minimalData = [
212
+ { label: 'Q1', value: 3500 },
213
+ { label: 'Q2', value: 4200 },
214
+ { label: 'Q3', value: 5100 },
215
+ { label: 'Q4', value: 4800 },
216
+ ]
217
+
218
+ // Labels for stacked charts
219
+ const quarterLabels = [
220
+ { label: 'Q1' },
221
+ { label: 'Q2' },
222
+ { label: 'Q3' },
223
+ { label: 'Q4' },
224
+ ]
225
+
226
+ const monthLabels = [
227
+ { label: 'Jan' },
228
+ { label: 'Feb' },
229
+ { label: 'Mar' },
230
+ { label: 'Apr' },
231
+ { label: 'May' },
232
+ { label: 'Jun' },
233
+ { label: 'Jul' },
234
+ { label: 'Aug' },
235
+ { label: 'Sep' },
236
+ { label: 'Oct' },
237
+ { label: 'Nov' },
238
+ { label: 'Dec' },
239
+ ]
240
+
241
+ const monthlyData = [
242
+ { label: 'Jan', value: 300 },
243
+ { label: 'Feb', value: 600 },
244
+ { label: 'Mar', value: 1000 },
245
+ { label: 'Apr', value: 1200 },
246
+ { label: 'May', value: 1400 },
247
+ { label: 'Jun', value: 1810 },
248
+ { label: 'Jul', value: 2000 },
249
+ { label: 'Aug', value: 2200 },
250
+ { label: 'Sep', value: 2400 },
251
+ { label: 'Oct', value: 2600 },
252
+ { label: 'Nov', value: 2800 },
253
+ { label: 'Dec', value: 3000 },
254
+ { label: 'Jan 2024', value: 2800 },
255
+ { label: 'Feb 2024', value: 2600 },
256
+ { label: 'Mar 2024', value: 2900 },
257
+ { label: 'Apr 2024', value: 3100 },
258
+ { label: 'May 2024', value: 2700 },
259
+ { label: 'Jun 2024', value: 2500 },
260
+ ]
261
+
262
+ // Three zone series data
263
+ const threeZoneSeries = [
264
+ {
265
+ name: 'Peak Hours',
266
+ data: [
267
+ { label: 'Q1', value: 800 },
268
+ { label: 'Q2', value: 1200 },
269
+ { label: 'Q3', value: 1600 },
270
+ { label: 'Q4', value: 1400 },
271
+ ],
272
+ },
273
+ {
274
+ name: 'Mid-Peak',
275
+ data: [
276
+ { label: 'Q1', value: 600 },
277
+ { label: 'Q2', value: 800 },
278
+ { label: 'Q3', value: 1000 },
279
+ { label: 'Q4', value: 900 },
280
+ ],
281
+ },
282
+ {
283
+ name: 'Off-Peak',
284
+ data: [
285
+ { label: 'Q1', value: 400 },
286
+ { label: 'Q2', value: 500 },
287
+ { label: 'Q3', value: 600 },
288
+ { label: 'Q4', value: 550 },
289
+ ],
290
+ },
291
+ ]
292
+
293
+ // Six zone series data
294
+ const tariffZones = [
295
+ {
296
+ name: 'Residential',
297
+ data: monthLabels.map(() => ({
298
+ label: 'Jan',
299
+ value: Math.floor(Math.random() * 300) + 100,
300
+ })),
301
+ },
302
+ {
303
+ name: 'Commercial',
304
+ data: monthLabels.map(() => ({
305
+ label: 'Jan',
306
+ value: Math.floor(Math.random() * 400) + 200,
307
+ })),
308
+ },
309
+ {
310
+ name: 'Industrial',
311
+ data: monthLabels.map(() => ({
312
+ label: 'Jan',
313
+ value: Math.floor(Math.random() * 500) + 300,
314
+ })),
315
+ },
316
+ {
317
+ name: 'Agricultural',
318
+ data: monthLabels.map(() => ({
319
+ label: 'Jan',
320
+ value: Math.floor(Math.random() * 200) + 100,
321
+ })),
322
+ },
323
+ {
324
+ name: 'Public',
325
+ data: monthLabels.map(() => ({
326
+ label: 'Jan',
327
+ value: Math.floor(Math.random() * 300) + 150,
328
+ })),
329
+ },
330
+ {
331
+ name: 'Special',
332
+ data: monthLabels.map(() => ({
333
+ label: 'Jan',
334
+ value: Math.floor(Math.random() * 250) + 100,
335
+ })),
336
+ },
337
+ ].map((zone) => ({
338
+ ...zone,
339
+ data: zone.data.map((item, index) => ({
340
+ ...item,
341
+ label: monthLabels[index].label,
342
+ })),
343
+ }))
344
+
345
+ // Daily data for scrollable example
346
+ const dailyData = Array.from({ length: 31 }, (_, i) => ({
347
+ label: `Day ${i + 1}`,
348
+ value: Math.floor(Math.random() * 200) + 50,
349
+ }))
350
+
351
+ // Time frame options
352
+ const timeFrameOptions = [
353
+ { label: 'Daily', value: 'daily' },
354
+ { label: 'Weekly', value: 'weekly' },
355
+ { label: 'Monthly', value: 'monthly' },
356
+ { label: 'Yearly', value: 'yearly' },
357
+ ]
358
+ const selectedTimeFrame = ref('monthly')
359
+
360
+ // View options
361
+ const viewOptions = [
362
+ { label: 'Chart', value: 'chart' },
363
+ { label: 'Table', value: 'table' },
364
+ { label: 'Combined', value: 'combined' },
365
+ ]
366
+ const selectedView = ref('chart')
367
+
368
+ // Handlers
369
+ const handleTimeFrameSelect = (value) => {
370
+ selectedTimeFrame.value = value
371
+ console.log(`Time frame changed to: ${value}`)
372
+ }
373
+
374
+ const handleViewSelect = (value) => {
375
+ selectedView.value = value
376
+ console.log(`View changed to: ${value}`)
377
+ }
378
+
379
+ const handleSelectionChange = (selection) => {
380
+ console.log('Selection changed:', selection)
381
+ }
382
+
383
+ const handleValueUpdate = (data) => {
384
+ console.log('Value updated:', data)
385
+ }
386
+
387
+ // Helper for custom tooltip
388
+ const getPeakTime = (month) => {
389
+ const peakTimes = {
390
+ Jan: '6-8 PM',
391
+ Feb: '5-7 PM',
392
+ Mar: '4-6 PM',
393
+ Apr: '3-5 PM',
394
+ May: '2-4 PM',
395
+ Jun: '1-3 PM',
396
+ }
397
+ return peakTimes[month] || 'N/A'
398
+ }
399
+
400
+ const getEfficiency = (value) => {
401
+ if (value < 1500) return 'High Efficiency'
402
+ if (value < 2500) return 'Medium Efficiency'
403
+ return 'Low Efficiency'
404
+ }
405
+ </script>
406
+
407
+ <style scoped>
408
+ .demo-container {
409
+ padding: 20px;
410
+ font-family: 'Figtree', sans-serif;
411
+ }
412
+
413
+ .demo-container > h2 {
414
+ margin: 40px 0 20px;
415
+ color: #333;
416
+ border-bottom: 1px solid #eee;
417
+ padding-bottom: 10px;
418
+ }
419
+
420
+ h1 {
421
+ color: #2c3e50;
422
+ margin-bottom: 30px;
423
+ }
424
+ </style>
@@ -0,0 +1,241 @@
1
+ <template>
2
+ <div
3
+ style="
4
+ margin-top: 100px;
5
+ margin-left: 80px;
6
+ padding-bottom: 100px;
7
+ display: flex;
8
+ flex-direction: column-reverse;
9
+ "
10
+ >
11
+ <!-- Simple bar chart -->
12
+ <BarChart
13
+ :data="monthlyData"
14
+ width="700px"
15
+ height="400px"
16
+ :valueFormatter="valueFormatter"
17
+ :barWidth="60"
18
+ :isScrollable="false"
19
+ chartControlsPosition="bottom"
20
+ :isBottomFieldsShown="true"
21
+ :isSelectionEnabled="true"
22
+ :selectionSize="3"
23
+ @selection-change="handleSelectionChange"
24
+ >
25
+ </BarChart>
26
+ <br />
27
+ <br />
28
+
29
+ <!-- Stacked bar chart -->
30
+ <BarChart
31
+ yAxisTitle="Energy (kWh)"
32
+ :data="monthLabels"
33
+ :series="tariffZones"
34
+ width="700px"
35
+ height="400px"
36
+ :barWidth="60"
37
+ :valueFormatter="valueFormatter"
38
+ :legendsItemPerRow="4"
39
+ :splitButtonOptions="options"
40
+ :selectedSplitButton="selectedTimeFrame"
41
+ :isBottomFieldsShown="true"
42
+ :isLegendShown="true"
43
+ @select-split-button="handleSelectSplitButton"
44
+ @input-blur="handleInputBlur"
45
+ >
46
+ <!-- <template #tooltip="{ item, segment }">
47
+ <div style="display: flex; flex-direction: column">
48
+ {{ $c.log(item, segment) }}
49
+ <div>{{ item.label }}</div>
50
+ <div>{{ item.segments[0].value }} kWh</div>
51
+ </div>
52
+ </template> -->
53
+ </BarChart>
54
+
55
+ <!-- Stacked bar chart -->
56
+ <BarChart
57
+ yAxisTitle="Energy (kWh)"
58
+ :data="monthLabels"
59
+ :series="tariffZones"
60
+ width="700px"
61
+ height="400px"
62
+ :barWidth="60"
63
+ :valueFormatter="valueFormatter"
64
+ :legendsItemPerRow="4"
65
+ :isBottomFieldsShown="true"
66
+ :isLegendShown="false"
67
+ fieldMode="percentage"
68
+ @select-split-button="handleSelectSplitButton"
69
+ @input-blur="handleInputBlur"
70
+ >
71
+ <!-- <template #tooltip="{ item, segment }">
72
+ <div style="display: flex; flex-direction: column">
73
+ {{ $c.log(item, segment) }}
74
+ <div>{{ item.label }}</div>
75
+ <div>{{ item.segments[0].value }} kWh</div>
76
+ </div>
77
+ </template> -->
78
+ </BarChart>
79
+ </div>
80
+ </template>
81
+
82
+ <script setup>
83
+ import { ref } from 'vue'
84
+ import BarChart from '@/components/barchart/index.vue'
85
+
86
+ const options = [
87
+ { label: 'Day', value: 'day' },
88
+ { label: 'Month', value: 'month' },
89
+ { label: 'Year', value: 'year' },
90
+ ]
91
+
92
+ const selectedTimeFrame = ref('day')
93
+
94
+ const handleSelectSplitButton = (value) => {
95
+ selectedTimeFrame.value = value
96
+ }
97
+
98
+ const monthlyData = [
99
+ { label: 'Jan', value: 300 },
100
+ { label: 'Feb', value: 600 },
101
+ { label: 'Mar', value: 1000 },
102
+ { label: 'Apr', value: 1200 },
103
+ { label: 'May', value: 1400 },
104
+ { label: 'Jun', value: 1810 },
105
+ { label: 'Jul', value: 1400 },
106
+ { label: 'Aug', value: 1200 },
107
+ { label: 'Sep', value: 1000 },
108
+ // { label: 'Oct', value: 800 },
109
+ // { label: 'Nov', value: 600 },
110
+ // { label: 'Dec', value: 400 },
111
+ // { label: 'Jan', value: 300 },
112
+ // { label: 'Feb', value: 600 },
113
+ // { label: 'Mar', value: 1000 },
114
+ // { label: 'Apr', value: 1200 },
115
+ // { label: 'May', value: 1400 },
116
+ // { label: 'Jun', value: 1810 },
117
+ // { label: 'Jul', value: 1400 },
118
+ // { label: 'Aug', value: 1200 },
119
+ // { label: 'Sep', value: 1000 },
120
+ // { label: 'Oct', value: 800 },
121
+ // { label: 'Nov', value: 600 },
122
+ // { label: 'Dec', value: 400 },
123
+
124
+ // ... more months
125
+ ]
126
+
127
+ const monthLabels = [
128
+ { label: 'Jan' },
129
+ { label: 'Feb' },
130
+ { label: 'Mar' },
131
+ { label: 'Apr' },
132
+ { label: 'May' },
133
+ { label: 'Jun' },
134
+ // ... more months
135
+ ]
136
+
137
+ const tariffZones = ref([
138
+ {
139
+ name: 'Tariff Zone 1',
140
+ data: [
141
+ { label: 'Jan', value: 200 },
142
+ { label: 'Feb', value: 130 },
143
+ { label: 'Mar', value: 220 },
144
+ { label: 'Apr', value: 230 },
145
+ { label: 'May', value: 200 },
146
+ { label: 'Jun', value: 210 },
147
+ // ... more months
148
+ ],
149
+ },
150
+ {
151
+ name: 'Tariff Zone 2',
152
+ data: [
153
+ { label: 'Jan', value: 200 },
154
+ { label: 'Feb', value: 100 },
155
+ { label: 'Mar', value: 270 },
156
+ { label: 'Apr', value: 180 },
157
+ { label: 'May', value: 300 },
158
+ { label: 'Jun', value: 250 },
159
+ // ... more months
160
+ ],
161
+ },
162
+ {
163
+ name: 'Tariff Zone 3',
164
+ data: [
165
+ { label: 'Jan', value: 200 },
166
+ { label: 'Feb', value: 100 },
167
+ { label: 'Mar', value: 210 },
168
+ { label: 'Apr', value: 220 },
169
+ { label: 'May', value: 300 },
170
+ { label: 'Jun', value: 190 },
171
+ // ... more months
172
+ ],
173
+ },
174
+ {
175
+ name: 'Tariff Zone 4',
176
+ data: [
177
+ { label: 'Jan', value: 200 },
178
+ { label: 'Feb', value: 100 },
179
+ { label: 'Mar', value: 210 },
180
+ { label: 'Apr', value: 220 },
181
+ { label: 'May', value: 300 },
182
+ { label: 'Jun', value: 190 },
183
+ // ... more months
184
+ ],
185
+ },
186
+ {
187
+ name: 'Tariff Zone 5',
188
+ data: [
189
+ { label: 'Jan', value: 200 },
190
+ { label: 'Feb', value: 100 },
191
+ { label: 'Mar', value: 210 },
192
+ { label: 'Apr', value: 220 },
193
+ { label: 'May', value: 300 },
194
+ { label: 'Jun', value: 190 },
195
+ // ... more months
196
+ ],
197
+ },
198
+ {
199
+ name: 'Tariff Zone 6',
200
+ data: [
201
+ { label: 'Jan', value: 200 },
202
+ { label: 'Feb', value: 100 },
203
+ { label: 'Mar', value: 210 },
204
+ { label: 'Apr', value: 220 },
205
+ { label: 'May', value: 300 },
206
+ { label: 'Jun', value: 190 },
207
+ // ... more months
208
+ ],
209
+ },
210
+ // ... more tariff zones
211
+ ])
212
+
213
+ const valueFormatter = (value) => {
214
+ return `${value} kWh`
215
+ }
216
+
217
+ const handleSelectionChange = (selectedBars) => {
218
+ console.log('selectedBars', selectedBars)
219
+ }
220
+
221
+ const handleInputBlur = (payload) => {
222
+ console.log({ payload })
223
+ const newVal = [...tariffZones.value].map((zone) => {
224
+ if (zone.name === payload.seriesName) {
225
+ zone.data = zone.data.map((item) => {
226
+ if (item.label === payload.label) {
227
+ item.value = payload.value
228
+ }
229
+ return item
230
+ })
231
+ }
232
+ return zone
233
+ })
234
+
235
+ console.log({ newVal })
236
+
237
+ tariffZones.value = newVal
238
+ }
239
+ </script>
240
+
241
+ <style lang="scss" scoped></style>
@@ -0,0 +1,3 @@
1
+ <svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path class="fix" d="M11.3335 12.5833C12.7477 11.5529 13.6668 9.88392 13.6668 8.00023C13.6668 4.87061 11.1298 2.33356 8.00016 2.33356H7.66683M8.00016 13.6669C4.87055 13.6669 2.3335 11.1298 2.3335 8.00023C2.3335 6.11654 3.25261 4.44751 4.66683 3.41716M7.3335 14.9336L8.66683 13.6002L7.3335 12.2669M8.66683 3.73356L7.3335 2.40023L8.66683 1.06689" stroke="#6F20DC" fill="none" stroke-linecap="round" stroke-linejoin="round"/>
3
+ </svg>
@@ -179,9 +179,25 @@ const theme = (() => {
179
179
  },
180
180
  }
181
181
 
182
+ const chartGradients = {
183
+ simple: {
184
+ from: semanticColors.purple[500],
185
+ to: semanticColors.purple[400],
186
+ },
187
+ stacked: [
188
+ { from: '#F5EDFF', to: '#DEC5FF' },
189
+ { from: '#CAA2FF', to: '#F2E8FF' },
190
+ { from: '#B987FC', to: '#904AEF' },
191
+ { from: '#8B40F2', to: '#4A1394' },
192
+ { from: '#6A05F2', to: '#4905A5' },
193
+ { from: '#5402C3', to: '#2B0362' },
194
+ ],
195
+ }
196
+
182
197
  return {
183
198
  colors,
184
199
  semanticColors,
200
+ chartGradients,
185
201
  fonts: {
186
202
  mainFont: '"Figtree", sans-serif',
187
203
  },