@eturnity/eturnity_reusable_components 8.22.23-EPDM-13618.1 → 8.22.23-EPDM-15710.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 (929) hide show
  1. package/README.md +29 -29
  2. package/dist/main.es12.js +2 -2
  3. package/dist/main.es13.js +3 -3
  4. package/dist/main.es14.js +2 -2
  5. package/dist/main.es15.js +4 -12
  6. package/dist/main.es16.js +22 -62
  7. package/dist/main.es17.js +1031 -174
  8. package/dist/main.es18.js +224 -21
  9. package/dist/main.es19.js +89 -1046
  10. package/dist/main.es20.js +2 -227
  11. package/dist/main.es21.js +510 -68
  12. package/dist/main.es22.js +199 -2
  13. package/dist/main.es23.js +59 -536
  14. package/dist/main.es24.js +2 -2
  15. package/dist/main.es379.js +1 -1
  16. package/dist/main.es380.js +1 -1
  17. package/dist/main.es381.js +1 -1
  18. package/dist/main.es382.js +1 -1
  19. package/dist/main.es383.js +1 -1
  20. package/dist/main.es384.js +1 -1
  21. package/dist/main.es385.js +1 -1
  22. package/dist/main.es386.js +1 -1
  23. package/dist/main.es387.js +1 -1
  24. package/dist/main.es388.js +1 -1
  25. package/dist/main.es389.js +1 -1
  26. package/dist/main.es390.js +1 -1
  27. package/dist/main.es391.js +1 -1
  28. package/dist/main.es392.js +1 -1
  29. package/dist/main.es394.js +1 -1
  30. package/dist/main.es396.js +1 -1
  31. package/dist/main.es397.js +1 -1
  32. package/dist/main.es398.js +1 -1
  33. package/dist/main.es399.js +1 -1
  34. package/dist/main.es400.js +1 -1
  35. package/dist/main.es401.js +1 -1
  36. package/dist/main.es402.js +1 -1
  37. package/dist/main.es403.js +1 -1
  38. package/dist/main.es404.js +1 -1
  39. package/dist/main.es405.js +1 -1
  40. package/dist/main.es406.js +1 -1
  41. package/dist/main.es407.js +1 -1
  42. package/dist/main.es408.js +1 -1
  43. package/dist/main.es409.js +1 -1
  44. package/dist/main.es410.js +1 -1
  45. package/dist/main.es411.js +1 -1
  46. package/dist/main.es412.js +1 -1
  47. package/dist/main.es413.js +1 -1
  48. package/dist/main.es414.js +1 -1
  49. package/dist/main.es415.js +1 -1
  50. package/dist/main.es416.js +1 -1
  51. package/dist/main.es417.js +1 -1
  52. package/dist/main.es418.js +1 -1
  53. package/dist/main.es419.js +1 -1
  54. package/dist/main.es420.js +1 -1
  55. package/dist/main.es421.js +1 -1
  56. package/dist/main.es422.js +1 -1
  57. package/dist/main.es423.js +1 -1
  58. package/dist/main.es424.js +1 -1
  59. package/dist/main.es425.js +1 -1
  60. package/dist/main.es426.js +1 -1
  61. package/dist/main.es427.js +1 -1
  62. package/dist/main.es428.js +1 -1
  63. package/dist/main.es429.js +1 -1
  64. package/dist/main.es430.js +1 -1
  65. package/dist/main.es431.js +1 -1
  66. package/dist/main.es432.js +1 -1
  67. package/dist/main.es433.js +1 -1
  68. package/dist/main.es434.js +1 -1
  69. package/dist/main.es435.js +1 -1
  70. package/dist/main.es436.js +1 -1
  71. package/dist/main.es437.js +1 -1
  72. package/dist/main.es438.js +1 -1
  73. package/dist/main.es439.js +1 -1
  74. package/dist/main.es440.js +1 -1
  75. package/dist/main.es441.js +1 -1
  76. package/dist/main.es442.js +1 -1
  77. package/dist/main.es443.js +1 -1
  78. package/dist/main.es444.js +1 -1
  79. package/dist/main.es445.js +1 -1
  80. package/dist/main.es447.js +1 -1
  81. package/dist/main.es448.js +1 -1
  82. package/dist/main.es449.js +1 -1
  83. package/dist/main.es450.js +1 -1
  84. package/dist/main.es451.js +1 -1
  85. package/dist/main.es452.js +1 -1
  86. package/dist/main.es454.js +1 -1
  87. package/dist/main.es455.js +1 -1
  88. package/dist/main.es456.js +1 -1
  89. package/dist/main.es457.js +1 -1
  90. package/dist/main.es458.js +1 -1
  91. package/dist/main.es460.js +1 -1
  92. package/dist/main.es461.js +1 -1
  93. package/dist/main.es462.js +1 -1
  94. package/dist/main.es463.js +1 -1
  95. package/dist/main.es464.js +1 -1
  96. package/dist/main.es465.js +1 -1
  97. package/dist/main.es466.js +1 -1
  98. package/dist/main.es467.js +1 -1
  99. package/dist/main.es468.js +1 -1
  100. package/dist/main.es469.js +1 -1
  101. package/dist/main.es470.js +1 -1
  102. package/dist/main.es471.js +1 -1
  103. package/dist/main.es472.js +1 -1
  104. package/dist/main.es473.js +1 -1
  105. package/dist/main.es474.js +1 -1
  106. package/dist/main.es475.js +1 -1
  107. package/dist/main.es476.js +1 -1
  108. package/dist/main.es477.js +1 -1
  109. package/dist/main.es478.js +1 -1
  110. package/dist/main.es479.js +1 -1
  111. package/dist/main.es480.js +1 -1
  112. package/dist/main.es481.js +1 -1
  113. package/dist/main.es482.js +1 -1
  114. package/dist/main.es483.js +1 -1
  115. package/dist/main.es484.js +1 -1
  116. package/dist/main.es485.js +1 -1
  117. package/dist/main.es486.js +1 -1
  118. package/dist/main.es487.js +1 -1
  119. package/dist/main.es488.js +1 -1
  120. package/dist/main.es489.js +1 -1
  121. package/dist/main.es490.js +1 -1
  122. package/dist/main.es491.js +1 -1
  123. package/dist/main.es492.js +1 -1
  124. package/dist/main.es493.js +1 -1
  125. package/dist/main.es494.js +1 -1
  126. package/dist/main.es495.js +1 -1
  127. package/dist/main.es496.js +1 -1
  128. package/dist/main.es497.js +1 -1
  129. package/dist/main.es498.js +1 -1
  130. package/dist/main.es499.js +1 -1
  131. package/dist/main.es5.js +3 -3
  132. package/dist/main.es500.js +1 -1
  133. package/dist/main.es501.js +1 -1
  134. package/dist/main.es502.js +1 -1
  135. package/dist/main.es503.js +1 -1
  136. package/dist/main.es504.js +1 -1
  137. package/dist/main.es505.js +1 -1
  138. package/dist/main.es506.js +1 -1
  139. package/dist/main.es507.js +1 -1
  140. package/dist/main.es508.js +1 -1
  141. package/dist/main.es509.js +1 -1
  142. package/dist/main.es510.js +1 -1
  143. package/dist/main.es511.js +1 -1
  144. package/dist/main.es512.js +1 -1
  145. package/dist/main.es513.js +1 -1
  146. package/dist/main.es514.js +1 -1
  147. package/dist/main.es515.js +1 -1
  148. package/dist/main.es516.js +1 -1
  149. package/dist/main.es517.js +1 -1
  150. package/dist/main.es518.js +1 -1
  151. package/dist/main.es519.js +1 -1
  152. package/dist/main.es520.js +1 -1
  153. package/dist/main.es521.js +1 -1
  154. package/dist/main.es522.js +1 -1
  155. package/dist/main.es523.js +1 -1
  156. package/dist/main.es524.js +1 -1
  157. package/dist/main.es525.js +1 -1
  158. package/dist/main.es526.js +1 -1
  159. package/dist/main.es527.js +1 -1
  160. package/dist/main.es528.js +1 -1
  161. package/dist/main.es529.js +1 -1
  162. package/dist/main.es530.js +1 -1
  163. package/dist/main.es531.js +1 -1
  164. package/dist/main.es532.js +1 -1
  165. package/dist/main.es533.js +1 -1
  166. package/dist/main.es534.js +1 -1
  167. package/dist/main.es535.js +1 -1
  168. package/dist/main.es536.js +1 -1
  169. package/dist/main.es537.js +1 -1
  170. package/dist/main.es538.js +1 -1
  171. package/dist/main.es539.js +1 -1
  172. package/dist/main.es540.js +1 -1
  173. package/dist/main.es541.js +1 -1
  174. package/dist/main.es542.js +1 -1
  175. package/dist/main.es543.js +1 -1
  176. package/dist/main.es544.js +1 -1
  177. package/dist/main.es545.js +1 -1
  178. package/dist/main.es546.js +1 -1
  179. package/dist/main.es547.js +1 -1
  180. package/dist/main.es548.js +1 -1
  181. package/dist/main.es549.js +1 -1
  182. package/dist/main.es550.js +1 -1
  183. package/dist/main.es551.js +1 -1
  184. package/dist/main.es552.js +1 -1
  185. package/dist/main.es553.js +1 -1
  186. package/dist/main.es555.js +1 -1
  187. package/dist/main.es556.js +1 -1
  188. package/dist/main.es557.js +1 -1
  189. package/dist/main.es558.js +1 -1
  190. package/dist/main.es559.js +1 -1
  191. package/dist/main.es560.js +1 -1
  192. package/dist/main.es561.js +1 -1
  193. package/dist/main.es562.js +1 -1
  194. package/dist/main.es563.js +1 -1
  195. package/dist/main.es564.js +1 -1
  196. package/dist/main.es565.js +1 -1
  197. package/dist/main.es566.js +1 -1
  198. package/dist/main.es567.js +1 -1
  199. package/dist/main.es568.js +1 -1
  200. package/dist/main.es569.js +1 -1
  201. package/dist/main.es570.js +1 -1
  202. package/dist/main.es571.js +1 -1
  203. package/dist/main.es572.js +1 -1
  204. package/dist/main.es573.js +1 -1
  205. package/dist/main.es574.js +1 -1
  206. package/dist/main.es575.js +1 -1
  207. package/dist/main.es576.js +1 -1
  208. package/dist/main.es577.js +1 -1
  209. package/dist/main.es578.js +1 -1
  210. package/dist/main.es579.js +1 -1
  211. package/dist/main.es580.js +1 -1
  212. package/dist/main.es581.js +1 -1
  213. package/dist/main.es582.js +1 -1
  214. package/dist/main.es583.js +1 -1
  215. package/dist/main.es584.js +1 -1
  216. package/dist/main.es585.js +1 -1
  217. package/dist/main.es586.js +1 -1
  218. package/dist/main.es587.js +1 -1
  219. package/dist/main.es588.js +1 -1
  220. package/dist/main.es589.js +1 -1
  221. package/dist/main.es590.js +1 -1
  222. package/dist/main.es591.js +1 -1
  223. package/dist/main.es592.js +1 -1
  224. package/dist/main.es593.js +1 -1
  225. package/dist/main.es594.js +1 -1
  226. package/dist/main.es595.js +1 -1
  227. package/dist/main.es596.js +1 -1
  228. package/dist/main.es597.js +1 -1
  229. package/dist/main.es598.js +1 -1
  230. package/dist/main.es599.js +1 -1
  231. package/dist/main.es6.js +4 -4
  232. package/dist/main.es600.js +1 -1
  233. package/dist/main.es601.js +1 -1
  234. package/dist/main.es602.js +1 -1
  235. package/dist/main.es603.js +1 -1
  236. package/dist/main.es604.js +1 -1
  237. package/dist/main.es605.js +1 -1
  238. package/dist/main.es606.js +1 -1
  239. package/dist/main.es607.js +1 -1
  240. package/dist/main.es608.js +1 -1
  241. package/dist/main.es609.js +1 -1
  242. package/dist/main.es610.js +1 -1
  243. package/dist/main.es611.js +1 -1
  244. package/dist/main.es612.js +1 -1
  245. package/dist/main.es613.js +1 -1
  246. package/dist/main.es614.js +1 -1
  247. package/dist/main.es615.js +1 -1
  248. package/dist/main.es616.js +1 -1
  249. package/dist/main.es617.js +1 -1
  250. package/dist/main.es618.js +1 -1
  251. package/dist/main.es619.js +1 -1
  252. package/dist/main.es620.js +1 -1
  253. package/dist/main.es621.js +1 -1
  254. package/dist/main.es622.js +1 -1
  255. package/dist/main.es623.js +1 -1
  256. package/dist/main.es624.js +1 -1
  257. package/dist/main.es625.js +1 -1
  258. package/dist/main.es626.js +1 -1
  259. package/dist/main.es627.js +1 -1
  260. package/dist/main.es628.js +1 -1
  261. package/dist/main.es629.js +1 -1
  262. package/dist/main.es630.js +1 -1
  263. package/dist/main.es631.js +1 -1
  264. package/dist/main.es632.js +1 -1
  265. package/dist/main.es633.js +1 -1
  266. package/dist/main.es634.js +1 -1
  267. package/dist/main.es636.js +1 -1
  268. package/dist/main.es637.js +1 -1
  269. package/dist/main.es638.js +1 -1
  270. package/dist/main.es639.js +1 -1
  271. package/dist/main.es640.js +1 -1
  272. package/dist/main.es641.js +1 -1
  273. package/dist/main.es643.js +1 -1
  274. package/dist/main.es644.js +1 -1
  275. package/dist/main.es645.js +1 -1
  276. package/dist/main.es646.js +1 -1
  277. package/dist/main.es648.js +1 -1
  278. package/dist/main.es649.js +1 -1
  279. package/dist/main.es650.js +1 -1
  280. package/dist/main.es651.js +1 -1
  281. package/dist/main.es652.js +1 -1
  282. package/dist/main.es653.js +1 -1
  283. package/dist/main.es654.js +1 -1
  284. package/dist/main.es655.js +1 -1
  285. package/dist/main.es656.js +1 -1
  286. package/dist/main.es657.js +1 -1
  287. package/dist/main.es658.js +1 -1
  288. package/dist/main.es659.js +1 -1
  289. package/dist/main.es660.js +1 -1
  290. package/dist/main.es661.js +1 -1
  291. package/dist/main.es662.js +1 -1
  292. package/dist/main.es663.js +1 -1
  293. package/dist/main.es664.js +1 -1
  294. package/dist/main.es665.js +1 -1
  295. package/dist/main.es666.js +1 -1
  296. package/dist/main.es667.js +1 -1
  297. package/dist/main.es668.js +1 -1
  298. package/dist/main.es669.js +1 -1
  299. package/dist/main.es670.js +1 -1
  300. package/dist/main.es671.js +1 -1
  301. package/dist/main.es672.js +1 -1
  302. package/dist/main.es673.js +1 -1
  303. package/dist/main.es674.js +1 -1
  304. package/dist/main.es675.js +1 -1
  305. package/dist/main.es676.js +1 -1
  306. package/dist/main.es677.js +1 -1
  307. package/dist/main.es678.js +1 -1
  308. package/dist/main.es679.js +1 -1
  309. package/dist/main.es680.js +1 -1
  310. package/dist/main.es681.js +1 -1
  311. package/dist/main.es682.js +1 -1
  312. package/dist/main.es683.js +1 -1
  313. package/dist/main.es684.js +1 -1
  314. package/dist/main.es685.js +1 -1
  315. package/dist/main.es686.js +1 -1
  316. package/dist/main.es687.js +1 -1
  317. package/dist/main.es688.js +1 -1
  318. package/dist/main.es690.js +1 -1
  319. package/dist/main.es691.js +1 -1
  320. package/dist/main.es692.js +1 -1
  321. package/dist/main.es693.js +1 -1
  322. package/dist/main.es694.js +1 -1
  323. package/dist/main.es695.js +1 -1
  324. package/dist/main.es696.js +1 -1
  325. package/dist/main.es697.js +1 -1
  326. package/dist/main.es698.js +1 -1
  327. package/dist/main.es699.js +1 -1
  328. package/dist/main.es700.js +1 -1
  329. package/dist/main.es701.js +1 -1
  330. package/dist/main.es702.js +1 -1
  331. package/dist/main.es703.js +1 -1
  332. package/dist/main.es704.js +1 -1
  333. package/dist/main.es706.js +1 -1
  334. package/dist/main.es707.js +1 -1
  335. package/dist/main.es708.js +1 -1
  336. package/dist/main.es709.js +1 -1
  337. package/dist/main.es710.js +1 -1
  338. package/dist/main.es711.js +1 -1
  339. package/dist/main.es712.js +1 -1
  340. package/dist/main.es713.js +1 -1
  341. package/dist/main.es714.js +1 -1
  342. package/dist/main.es715.js +1 -1
  343. package/dist/main.es716.js +1 -1
  344. package/dist/main.es717.js +1 -1
  345. package/dist/main.es718.js +1 -1
  346. package/dist/main.es719.js +1 -1
  347. package/dist/main.es720.js +1 -1
  348. package/dist/main.es721.js +1 -1
  349. package/dist/main.es722.js +1 -1
  350. package/dist/main.es723.js +1 -1
  351. package/dist/main.es724.js +1 -1
  352. package/dist/main.es725.js +1 -1
  353. package/dist/main.es726.js +1 -1
  354. package/dist/main.es8.js +0 -12
  355. package/package.json +86 -86
  356. package/src/App.vue +32 -32
  357. package/src/DemoChart.vue +424 -424
  358. package/src/Test.vue +64 -64
  359. package/src/TestChart.vue +229 -229
  360. package/src/assets/icons/arrow_down.svg +3 -3
  361. package/src/assets/icons/arrow_up_red.svg +3 -3
  362. package/src/assets/icons/black_spinner.svg +35 -35
  363. package/src/assets/icons/delete_icon.svg +11 -11
  364. package/src/assets/icons/delete_icon_gray.svg +11 -11
  365. package/src/assets/icons/drag_icon.svg +8 -8
  366. package/src/assets/icons/external_icon.svg +6 -6
  367. package/src/assets/icons/language_icon.svg +6 -6
  368. package/src/assets/icons/pdf_icon.svg +6 -6
  369. package/src/assets/icons/plus_button.svg +4 -4
  370. package/src/assets/icons/search_icon_black.svg +3 -3
  371. package/src/assets/icons/subposition_icon.svg +3 -3
  372. package/src/assets/icons/subposition_marker.svg +3 -3
  373. package/src/assets/icons/warning_icon.svg +3 -3
  374. package/src/assets/svgIcons/2d_active.svg +7 -7
  375. package/src/assets/svgIcons/2d_inactive.svg +8 -8
  376. package/src/assets/svgIcons/3d_active.svg +7 -7
  377. package/src/assets/svgIcons/3d_inactive.svg +8 -8
  378. package/src/assets/svgIcons/_readme.md +7 -7
  379. package/src/assets/svgIcons/ac_power.svg +4 -4
  380. package/src/assets/svgIcons/accept.svg +5 -5
  381. package/src/assets/svgIcons/activate_panels_active.svg +22 -22
  382. package/src/assets/svgIcons/activate_panels_inactive.svg +20 -20
  383. package/src/assets/svgIcons/add_icon-1.svg +3 -3
  384. package/src/assets/svgIcons/add_icon.svg +4 -4
  385. package/src/assets/svgIcons/add_plus.svg +4 -4
  386. package/src/assets/svgIcons/address_book.svg +3 -3
  387. package/src/assets/svgIcons/adjust_roof.svg +6 -6
  388. package/src/assets/svgIcons/after_sale_as_a_service.svg +6 -6
  389. package/src/assets/svgIcons/all_good.svg +3 -3
  390. package/src/assets/svgIcons/angle_active.svg +5 -5
  391. package/src/assets/svgIcons/angle_inactive.svg +4 -4
  392. package/src/assets/svgIcons/area_active.svg +11 -11
  393. package/src/assets/svgIcons/area_inactive.svg +26 -26
  394. package/src/assets/svgIcons/areas_tool.svg +14 -14
  395. package/src/assets/svgIcons/arrow_down.svg +3 -3
  396. package/src/assets/svgIcons/arrow_down_unfilled.svg +4 -4
  397. package/src/assets/svgIcons/arrow_left.svg +4 -4
  398. package/src/assets/svgIcons/arrow_long_left.svg +3 -3
  399. package/src/assets/svgIcons/arrow_long_right.svg +3 -3
  400. package/src/assets/svgIcons/arrow_right.svg +4 -4
  401. package/src/assets/svgIcons/arrow_up.svg +3 -3
  402. package/src/assets/svgIcons/arrow_up_unfilled.svg +4 -4
  403. package/src/assets/svgIcons/attachment.svg +3 -3
  404. package/src/assets/svgIcons/base_layer.svg +3 -3
  405. package/src/assets/svgIcons/battery.svg +3 -3
  406. package/src/assets/svgIcons/bell.svg +3 -3
  407. package/src/assets/svgIcons/bell_alt.svg +3 -3
  408. package/src/assets/svgIcons/bexio.svg +4 -4
  409. package/src/assets/svgIcons/bold.svg +3 -3
  410. package/src/assets/svgIcons/bom.svg +3 -3
  411. package/src/assets/svgIcons/bom_generation.svg +10 -10
  412. package/src/assets/svgIcons/bookmaker.svg +3 -3
  413. package/src/assets/svgIcons/bubble.svg +3 -3
  414. package/src/assets/svgIcons/bug.svg +5 -5
  415. package/src/assets/svgIcons/buildings.svg +55 -55
  416. package/src/assets/svgIcons/bullet_list.svg +8 -8
  417. package/src/assets/svgIcons/calendar.svg +7 -7
  418. package/src/assets/svgIcons/calendar_icon.svg +7 -7
  419. package/src/assets/svgIcons/call.svg +3 -3
  420. package/src/assets/svgIcons/camera.svg +3 -3
  421. package/src/assets/svgIcons/car.svg +3 -3
  422. package/src/assets/svgIcons/cart.svg +3 -3
  423. package/src/assets/svgIcons/charger_icon_white.svg +44 -44
  424. package/src/assets/svgIcons/chassis_ground_symbol.svg +27 -27
  425. package/src/assets/svgIcons/checkbox.svg +3 -3
  426. package/src/assets/svgIcons/checkmark.svg +3 -3
  427. package/src/assets/svgIcons/checkmark_white.svg +4 -4
  428. package/src/assets/svgIcons/clear_formatting.svg +7 -7
  429. package/src/assets/svgIcons/clenergy.svg +3 -3
  430. package/src/assets/svgIcons/clickable_info.svg +4 -4
  431. package/src/assets/svgIcons/clickable_info_white.svg +5 -5
  432. package/src/assets/svgIcons/clip.svg +3 -3
  433. package/src/assets/svgIcons/clock.svg +17 -17
  434. package/src/assets/svgIcons/clock_full.svg +3 -3
  435. package/src/assets/svgIcons/close.svg +4 -4
  436. package/src/assets/svgIcons/co_branding.svg +5 -5
  437. package/src/assets/svgIcons/collapse.svg +4 -4
  438. package/src/assets/svgIcons/collapse_all.svg +3 -3
  439. package/src/assets/svgIcons/collections.svg +3 -3
  440. package/src/assets/svgIcons/component_library.svg +7 -7
  441. package/src/assets/svgIcons/consumption_tariffs.svg +43 -43
  442. package/src/assets/svgIcons/context_menu-1.svg +6 -6
  443. package/src/assets/svgIcons/context_menu-2.svg +5 -5
  444. package/src/assets/svgIcons/context_menu.svg +5 -5
  445. package/src/assets/svgIcons/context_menu_tabs.svg +5 -5
  446. package/src/assets/svgIcons/cross.svg +4 -4
  447. package/src/assets/svgIcons/current_variant.svg +4 -4
  448. package/src/assets/svgIcons/customer.svg +3 -3
  449. package/src/assets/svgIcons/dashboard.svg +3 -3
  450. package/src/assets/svgIcons/data_transfer.svg +3 -3
  451. package/src/assets/svgIcons/deadline.svg +4 -4
  452. package/src/assets/svgIcons/deal_flow.svg +3 -3
  453. package/src/assets/svgIcons/delete.svg +4 -4
  454. package/src/assets/svgIcons/delete_area_active.svg +16 -16
  455. package/src/assets/svgIcons/delete_area_inactive.svg +15 -15
  456. package/src/assets/svgIcons/direction_active-1.svg +12 -12
  457. package/src/assets/svgIcons/direction_active.svg +5 -5
  458. package/src/assets/svgIcons/direction_arrow.svg +4 -4
  459. package/src/assets/svgIcons/direction_inactive.svg +4 -4
  460. package/src/assets/svgIcons/dislike.svg +3 -3
  461. package/src/assets/svgIcons/distance_tool.svg +8 -8
  462. package/src/assets/svgIcons/distances_active.svg +9 -9
  463. package/src/assets/svgIcons/distances_inactive.svg +8 -8
  464. package/src/assets/svgIcons/distort_tool.svg +10 -10
  465. package/src/assets/svgIcons/distort_tool2.svg +16 -16
  466. package/src/assets/svgIcons/document.svg +3 -3
  467. package/src/assets/svgIcons/documents.svg +3 -3
  468. package/src/assets/svgIcons/documents_landscape.svg +3 -3
  469. package/src/assets/svgIcons/double_arrow_long.svg +4 -4
  470. package/src/assets/svgIcons/downarrow.svg +3 -3
  471. package/src/assets/svgIcons/download.svg +4 -4
  472. package/src/assets/svgIcons/drag_icon.svg +8 -8
  473. package/src/assets/svgIcons/draggable_corner.svg +5 -5
  474. package/src/assets/svgIcons/draw_tool.svg +3 -3
  475. package/src/assets/svgIcons/duplicate-1.svg +8 -8
  476. package/src/assets/svgIcons/duplicate-2.svg +5 -5
  477. package/src/assets/svgIcons/duplicate.svg +3 -3
  478. package/src/assets/svgIcons/e-mobility_configurator.svg +6 -6
  479. package/src/assets/svgIcons/e_signature.svg +5 -5
  480. package/src/assets/svgIcons/ed_ac.svg +3 -3
  481. package/src/assets/svgIcons/ed_ac_path.svg +3 -3
  482. package/src/assets/svgIcons/ed_acgrid.svg +3 -3
  483. package/src/assets/svgIcons/ed_acgrid_old.svg +4 -4
  484. package/src/assets/svgIcons/ed_arrow_both.svg +3 -3
  485. package/src/assets/svgIcons/ed_arrow_left.svg +3 -3
  486. package/src/assets/svgIcons/ed_arrow_right.svg +3 -3
  487. package/src/assets/svgIcons/ed_battery.svg +3 -3
  488. package/src/assets/svgIcons/ed_batteryacinverter.svg +3 -3
  489. package/src/assets/svgIcons/ed_batteryintegratedinverter.svg +3 -3
  490. package/src/assets/svgIcons/ed_cirquitbreaker.svg +3 -3
  491. package/src/assets/svgIcons/ed_cirquitbreaker_magnetic.svg +3 -3
  492. package/src/assets/svgIcons/ed_cirquitbreaker_thermal.svg +3 -3
  493. package/src/assets/svgIcons/ed_cirquitbreaker_thermal_magnetic.svg +3 -3
  494. package/src/assets/svgIcons/ed_consumption.svg +3 -3
  495. package/src/assets/svgIcons/ed_dc.svg +3 -3
  496. package/src/assets/svgIcons/ed_disconnector.svg +3 -3
  497. package/src/assets/svgIcons/ed_disconnector_fuse.svg +3 -3
  498. package/src/assets/svgIcons/ed_disconnector_fuse_switch.svg +3 -3
  499. package/src/assets/svgIcons/ed_disconnector_loadbreak_switch.svg +3 -3
  500. package/src/assets/svgIcons/ed_disconnector_switch.svg +3 -3
  501. package/src/assets/svgIcons/ed_disconnector_switch_auto_release.svg +3 -3
  502. package/src/assets/svgIcons/ed_energymanagement_rectangle.svg +3 -3
  503. package/src/assets/svgIcons/ed_evcharger.svg +3 -3
  504. package/src/assets/svgIcons/ed_flexiblecomponent_circle.svg +3 -3
  505. package/src/assets/svgIcons/ed_flexiblecomponent_square.svg +3 -3
  506. package/src/assets/svgIcons/ed_fuse.svg +3 -3
  507. package/src/assets/svgIcons/ed_ground.svg +3 -3
  508. package/src/assets/svgIcons/ed_heatpump.svg +3 -3
  509. package/src/assets/svgIcons/ed_icon_battery.svg +3 -3
  510. package/src/assets/svgIcons/ed_icon_circle.svg +3 -3
  511. package/src/assets/svgIcons/ed_icon_heatpump.svg +3 -3
  512. package/src/assets/svgIcons/ed_icon_inverter.svg +8 -8
  513. package/src/assets/svgIcons/ed_icon_m.svg +3 -3
  514. package/src/assets/svgIcons/ed_icon_optimizer.svg +11 -11
  515. package/src/assets/svgIcons/ed_icon_optimizer_path.svg +11 -11
  516. package/src/assets/svgIcons/ed_integratedbatteryinverter.svg +3 -3
  517. package/src/assets/svgIcons/ed_inverter-blank.svg +3 -3
  518. package/src/assets/svgIcons/ed_mainsconnection.svg +3 -3
  519. package/src/assets/svgIcons/ed_meter-blank.svg +3 -3
  520. package/src/assets/svgIcons/ed_meter_arrowleft.svg +3 -3
  521. package/src/assets/svgIcons/ed_meter_arrowright.svg +3 -3
  522. package/src/assets/svgIcons/ed_meter_bidirectional.svg +3 -3
  523. package/src/assets/svgIcons/ed_networkandsystemprotection_double.svg +3 -3
  524. package/src/assets/svgIcons/ed_networkandsystemprotection_single.svg +3 -3
  525. package/src/assets/svgIcons/ed_pvpanel (Stroke).svg +3 -3
  526. package/src/assets/svgIcons/ed_pvpanel.svg +3 -3
  527. package/src/assets/svgIcons/ed_rcd.svg +3 -3
  528. package/src/assets/svgIcons/ed_rcd_simple.svg +3 -3
  529. package/src/assets/svgIcons/ed_spd.svg +3 -3
  530. package/src/assets/svgIcons/ed_stringwithoptimizer.svg +5 -5
  531. package/src/assets/svgIcons/ed_stringwithoutoptimizer.svg +7 -7
  532. package/src/assets/svgIcons/ed_transformer.svg +3 -3
  533. package/src/assets/svgIcons/edit.svg +3 -3
  534. package/src/assets/svgIcons/edit_button.svg +3 -3
  535. package/src/assets/svgIcons/edit_stroke.svg +3 -3
  536. package/src/assets/svgIcons/efs.svg +5 -5
  537. package/src/assets/svgIcons/electricity_tariff.svg +3 -3
  538. package/src/assets/svgIcons/email.svg +3 -3
  539. package/src/assets/svgIcons/ems-1.svg +3 -3
  540. package/src/assets/svgIcons/ems.svg +3 -3
  541. package/src/assets/svgIcons/end_of_the_list.svg +5 -5
  542. package/src/assets/svgIcons/energy_meter.svg +3 -3
  543. package/src/assets/svgIcons/erase.svg +4 -4
  544. package/src/assets/svgIcons/erase_white.svg +4 -4
  545. package/src/assets/svgIcons/expand_all.svg +4 -4
  546. package/src/assets/svgIcons/export_document.svg +3 -3
  547. package/src/assets/svgIcons/external_icon.svg +5 -5
  548. package/src/assets/svgIcons/fav_icon.svg +4 -4
  549. package/src/assets/svgIcons/filter.svg +3 -3
  550. package/src/assets/svgIcons/finance.svg +3 -3
  551. package/src/assets/svgIcons/financing_for_pv-1.svg +5 -5
  552. package/src/assets/svgIcons/financing_for_pv-2.svg +3 -3
  553. package/src/assets/svgIcons/financing_for_pv.svg +3 -3
  554. package/src/assets/svgIcons/finish-1.svg +4 -4
  555. package/src/assets/svgIcons/finish.svg +3 -3
  556. package/src/assets/svgIcons/flatten.svg +11 -11
  557. package/src/assets/svgIcons/flatten_roof.svg +20 -20
  558. package/src/assets/svgIcons/flip_horizontally.svg +6 -6
  559. package/src/assets/svgIcons/folder.svg +3 -3
  560. package/src/assets/svgIcons/free_technology.svg +3 -3
  561. package/src/assets/svgIcons/ground_symbol.svg +28 -28
  562. package/src/assets/svgIcons/handle.svg +5 -5
  563. package/src/assets/svgIcons/heat_calc.svg +7 -7
  564. package/src/assets/svgIcons/heat_pump.svg +5 -5
  565. package/src/assets/svgIcons/heating_system.svg +3 -3
  566. package/src/assets/svgIcons/height_equalize.svg +3 -3
  567. package/src/assets/svgIcons/height_snap.svg +3 -3
  568. package/src/assets/svgIcons/house.svg +3 -3
  569. package/src/assets/svgIcons/house_3d-1.svg +7 -7
  570. package/src/assets/svgIcons/house_3d.svg +7 -7
  571. package/src/assets/svgIcons/house_sun.svg +3 -3
  572. package/src/assets/svgIcons/hybrid.svg +4 -4
  573. package/src/assets/svgIcons/inclination.svg +2 -2
  574. package/src/assets/svgIcons/info.svg +3 -3
  575. package/src/assets/svgIcons/initial_situation.svg +3 -3
  576. package/src/assets/svgIcons/integrations.svg +3 -3
  577. package/src/assets/svgIcons/intro-tour-1.svg +3 -3
  578. package/src/assets/svgIcons/intro-tour.svg +3 -3
  579. package/src/assets/svgIcons/inverter.svg +3 -3
  580. package/src/assets/svgIcons/italic.svg +3 -3
  581. package/src/assets/svgIcons/k2.svg +4 -4
  582. package/src/assets/svgIcons/kanban_view.svg +6 -6
  583. package/src/assets/svgIcons/key.svg +3 -3
  584. package/src/assets/svgIcons/lake.svg +29 -29
  585. package/src/assets/svgIcons/layers_close.svg +4 -4
  586. package/src/assets/svgIcons/layers_open.svg +4 -4
  587. package/src/assets/svgIcons/lead_marketplace.svg +6 -6
  588. package/src/assets/svgIcons/lead_provider.svg +4 -4
  589. package/src/assets/svgIcons/legend.svg +3 -3
  590. package/src/assets/svgIcons/length_2d.svg +2 -2
  591. package/src/assets/svgIcons/length_3d.svg +4 -4
  592. package/src/assets/svgIcons/length_calculator.svg +2 -2
  593. package/src/assets/svgIcons/length_in_2d_active.svg +12 -12
  594. package/src/assets/svgIcons/length_in_2d_inctive.svg +13 -13
  595. package/src/assets/svgIcons/light_bulb.svg +3 -3
  596. package/src/assets/svgIcons/like.svg +3 -3
  597. package/src/assets/svgIcons/line_graph.svg +3 -3
  598. package/src/assets/svgIcons/local_subsidies.svg +18 -18
  599. package/src/assets/svgIcons/location.svg +3 -3
  600. package/src/assets/svgIcons/lock.svg +3 -3
  601. package/src/assets/svgIcons/logout.svg +3 -3
  602. package/src/assets/svgIcons/loop.svg +3 -3
  603. package/src/assets/svgIcons/low-vegetation.svg +37 -37
  604. package/src/assets/svgIcons/lunch.svg +4 -4
  605. package/src/assets/svgIcons/magic_tool.svg +6 -6
  606. package/src/assets/svgIcons/map_icon.svg +5 -5
  607. package/src/assets/svgIcons/map_settings.svg +3 -3
  608. package/src/assets/svgIcons/margin_tool.svg +4 -4
  609. package/src/assets/svgIcons/meeting.svg +6 -6
  610. package/src/assets/svgIcons/module.svg +3 -3
  611. package/src/assets/svgIcons/move_copy.svg +4 -4
  612. package/src/assets/svgIcons/move_down.svg +3 -3
  613. package/src/assets/svgIcons/move_left.svg +3 -3
  614. package/src/assets/svgIcons/move_right.svg +3 -3
  615. package/src/assets/svgIcons/move_up.svg +3 -3
  616. package/src/assets/svgIcons/new_area_inactive.svg +11 -11
  617. package/src/assets/svgIcons/next.svg +4 -4
  618. package/src/assets/svgIcons/normal-tg.svg +30 -30
  619. package/src/assets/svgIcons/normal-vegetation.svg +53 -53
  620. package/src/assets/svgIcons/not_equal_to.svg +3 -3
  621. package/src/assets/svgIcons/numbered_list.svg +6 -6
  622. package/src/assets/svgIcons/obstacle_tool.svg +8 -8
  623. package/src/assets/svgIcons/obstacle_tool_origin.svg +3 -3
  624. package/src/assets/svgIcons/offset_tool.svg +8 -8
  625. package/src/assets/svgIcons/open-tg.svg +21 -21
  626. package/src/assets/svgIcons/optimizer.svg +3 -3
  627. package/src/assets/svgIcons/order.svg +3 -3
  628. package/src/assets/svgIcons/outline_tool.svg +11 -11
  629. package/src/assets/svgIcons/pan_tool.svg +12 -12
  630. package/src/assets/svgIcons/panels_tool.svg +8 -8
  631. package/src/assets/svgIcons/pen_tool.svg +4 -4
  632. package/src/assets/svgIcons/picker_tool.svg +4 -4
  633. package/src/assets/svgIcons/picture.svg +3 -3
  634. package/src/assets/svgIcons/pin.svg +5 -5
  635. package/src/assets/svgIcons/plus_button.svg +4 -4
  636. package/src/assets/svgIcons/presentation.svg +3 -3
  637. package/src/assets/svgIcons/preview.svg +3 -3
  638. package/src/assets/svgIcons/previous.svg +4 -4
  639. package/src/assets/svgIcons/profile-1.svg +4 -4
  640. package/src/assets/svgIcons/profile.svg +3 -3
  641. package/src/assets/svgIcons/profitability.svg +3 -3
  642. package/src/assets/svgIcons/project_analysis.svg +3 -3
  643. package/src/assets/svgIcons/project_settings.svg +3 -3
  644. package/src/assets/svgIcons/protected-tg.svg +47 -47
  645. package/src/assets/svgIcons/pv.svg +3 -3
  646. package/src/assets/svgIcons/question_mark.svg +3 -3
  647. package/src/assets/svgIcons/question_mark_white.svg +4 -4
  648. package/src/assets/svgIcons/quotations.svg +6 -6
  649. package/src/assets/svgIcons/rectangle.svg +3 -3
  650. package/src/assets/svgIcons/redo.svg +6 -6
  651. package/src/assets/svgIcons/refresh.svg +3 -3
  652. package/src/assets/svgIcons/reorder_string.svg +3 -3
  653. package/src/assets/svgIcons/resizer.svg +5 -5
  654. package/src/assets/svgIcons/roof_layer.svg +3 -3
  655. package/src/assets/svgIcons/rotate_tool.svg +3 -3
  656. package/src/assets/svgIcons/rotate_view.svg +5 -5
  657. package/src/assets/svgIcons/ruler_tool.svg +3 -3
  658. package/src/assets/svgIcons/run_simulation.svg +3 -3
  659. package/src/assets/svgIcons/save.svg +3 -3
  660. package/src/assets/svgIcons/scaling_tool.svg +8 -8
  661. package/src/assets/svgIcons/sea.svg +34 -34
  662. package/src/assets/svgIcons/search.svg +3 -3
  663. package/src/assets/svgIcons/security.svg +3 -3
  664. package/src/assets/svgIcons/settings.svg +3 -3
  665. package/src/assets/svgIcons/show_in_a_new_tab.svg +12 -12
  666. package/src/assets/svgIcons/smartphone.svg +4 -4
  667. package/src/assets/svgIcons/solar_calc.svg +13 -13
  668. package/src/assets/svgIcons/solarmarkt.svg +3 -3
  669. package/src/assets/svgIcons/sorting.svg +4 -4
  670. package/src/assets/svgIcons/split.svg +12 -12
  671. package/src/assets/svgIcons/star.svg +3 -3
  672. package/src/assets/svgIcons/start_of_the_list.svg +5 -5
  673. package/src/assets/svgIcons/strikethrough.svg +4 -4
  674. package/src/assets/svgIcons/string_design.svg +5 -5
  675. package/src/assets/svgIcons/string_directions.svg +10 -10
  676. package/src/assets/svgIcons/subscriptions.svg +3 -3
  677. package/src/assets/svgIcons/subsidies-2.svg +3 -3
  678. package/src/assets/svgIcons/subsidies.svg +3 -3
  679. package/src/assets/svgIcons/subtract_icon.svg +3 -3
  680. package/src/assets/svgIcons/suitcase.svg +3 -3
  681. package/src/assets/svgIcons/summer.svg +3 -3
  682. package/src/assets/svgIcons/switch_polarity.svg +5 -5
  683. package/src/assets/svgIcons/table_view.svg +3 -3
  684. package/src/assets/svgIcons/template_icon_not_clickable.svg +6 -6
  685. package/src/assets/svgIcons/text_column_one.svg +6 -6
  686. package/src/assets/svgIcons/text_column_three.svg +14 -14
  687. package/src/assets/svgIcons/text_column_two.svg +10 -10
  688. package/src/assets/svgIcons/text_icon.svg +3 -3
  689. package/src/assets/svgIcons/transfer.svg +4 -4
  690. package/src/assets/svgIcons/transparent_warning.svg +4 -4
  691. package/src/assets/svgIcons/trim_tool.svg +4 -4
  692. package/src/assets/svgIcons/truck.svg +3 -3
  693. package/src/assets/svgIcons/underlined.svg +3 -3
  694. package/src/assets/svgIcons/undo.svg +6 -6
  695. package/src/assets/svgIcons/uparrow.svg +3 -3
  696. package/src/assets/svgIcons/update.svg +3 -3
  697. package/src/assets/svgIcons/upload_avatar-1.svg +12 -12
  698. package/src/assets/svgIcons/upload_avatar.svg +5 -5
  699. package/src/assets/svgIcons/upload_image.svg +8 -8
  700. package/src/assets/svgIcons/upload_image_tool.svg +7 -7
  701. package/src/assets/svgIcons/variants.svg +3 -3
  702. package/src/assets/svgIcons/vdv.svg +5 -5
  703. package/src/assets/svgIcons/vertical_tool.svg +3 -3
  704. package/src/assets/svgIcons/virtual_storage.svg +3 -3
  705. package/src/assets/svgIcons/warning.svg +4 -4
  706. package/src/assets/svgIcons/warning_triangle.svg +3 -3
  707. package/src/assets/svgIcons/warning_triangle_white.svg +5 -5
  708. package/src/assets/svgIcons/way.svg +5 -5
  709. package/src/assets/svgIcons/wifi.svg +3 -3
  710. package/src/assets/svgIcons/winter.svg +3 -3
  711. package/src/assets/svgIcons/workflow_template.svg +11 -11
  712. package/src/assets/svgIcons//360/237/223/221 Documents/ed_ac.svg" +3 -3
  713. package/src/assets/svgIcons//360/237/223/221 Documents/ed_arrow_both.svg" +7 -7
  714. package/src/assets/svgIcons//360/237/223/221 Documents/ed_arrow_left.svg" +7 -7
  715. package/src/assets/svgIcons//360/237/223/221 Documents/ed_arrow_right.svg" +7 -7
  716. package/src/assets/svgIcons//360/237/223/221 Documents/ed_battery.svg" +4 -4
  717. package/src/assets/svgIcons//360/237/223/221 Documents/ed_batteryacinverter.svg" +5 -5
  718. package/src/assets/svgIcons//360/237/223/221 Documents/ed_batteryintegratedinverter.svg" +5 -5
  719. package/src/assets/svgIcons//360/237/223/221 Documents/ed_cirquitbreaker.svg" +6 -6
  720. package/src/assets/svgIcons//360/237/223/221 Documents/ed_cirquitbreaker_magnetic.svg" +9 -9
  721. package/src/assets/svgIcons//360/237/223/221 Documents/ed_cirquitbreaker_thermal.svg" +5 -5
  722. package/src/assets/svgIcons//360/237/223/221 Documents/ed_cirquitbreaker_thermal_magnetic.svg" +10 -10
  723. package/src/assets/svgIcons//360/237/223/221 Documents/ed_consumption.svg" +5 -5
  724. package/src/assets/svgIcons//360/237/223/221 Documents/ed_dc.svg" +3 -3
  725. package/src/assets/svgIcons//360/237/223/221 Documents/ed_disconnector.svg" +5 -5
  726. package/src/assets/svgIcons//360/237/223/221 Documents/ed_disconnector_fuse.svg" +6 -6
  727. package/src/assets/svgIcons//360/237/223/221 Documents/ed_disconnector_fuse_switch.svg" +7 -7
  728. package/src/assets/svgIcons//360/237/223/221 Documents/ed_disconnector_loadbreak_switch.svg" +7 -7
  729. package/src/assets/svgIcons//360/237/223/221 Documents/ed_disconnector_switch.svg" +6 -6
  730. package/src/assets/svgIcons//360/237/223/221 Documents/ed_disconnector_switch_auto_release.svg" +7 -7
  731. package/src/assets/svgIcons//360/237/223/221 Documents/ed_energymanagement_rectangle.svg" +3 -3
  732. package/src/assets/svgIcons//360/237/223/221 Documents/ed_evcharger.svg" +8 -8
  733. package/src/assets/svgIcons//360/237/223/221 Documents/ed_flexiblecomponent_circle.svg" +3 -3
  734. package/src/assets/svgIcons//360/237/223/221 Documents/ed_flexiblecomponent_square.svg" +3 -3
  735. package/src/assets/svgIcons//360/237/223/221 Documents/ed_fuse.svg" +4 -4
  736. package/src/assets/svgIcons//360/237/223/221 Documents/ed_ground.svg" +6 -6
  737. package/src/assets/svgIcons//360/237/223/221 Documents/ed_heatpump.svg" +4 -4
  738. package/src/assets/svgIcons//360/237/223/221 Documents/ed_icon_battery.svg" +3 -3
  739. package/src/assets/svgIcons//360/237/223/221 Documents/ed_icon_circle.svg" +3 -3
  740. package/src/assets/svgIcons//360/237/223/221 Documents/ed_icon_heatpump.svg" +3 -3
  741. package/src/assets/svgIcons//360/237/223/221 Documents/ed_icon_inverter.svg" +3 -3
  742. package/src/assets/svgIcons//360/237/223/221 Documents/ed_icon_optimizer.svg" +3 -3
  743. package/src/assets/svgIcons//360/237/223/221 Documents/ed_integratedbatteryinverter.svg" +3 -3
  744. package/src/assets/svgIcons//360/237/223/221 Documents/ed_inverter-blank.svg" +3 -3
  745. package/src/assets/svgIcons//360/237/223/221 Documents/ed_mainsconnection.svg" +3 -3
  746. package/src/assets/svgIcons//360/237/223/221 Documents/ed_meter-blank.svg" +3 -3
  747. package/src/assets/svgIcons//360/237/223/221 Documents/ed_meter_arrowleft.svg" +8 -8
  748. package/src/assets/svgIcons//360/237/223/221 Documents/ed_meter_arrowright.svg" +8 -8
  749. package/src/assets/svgIcons//360/237/223/221 Documents/ed_meter_bidirectional.svg" +8 -8
  750. package/src/assets/svgIcons//360/237/223/221 Documents/ed_networkandsystemprotection_double.svg" +15 -15
  751. package/src/assets/svgIcons//360/237/223/221 Documents/ed_networkandsystemprotection_single.svg" +10 -10
  752. package/src/assets/svgIcons//360/237/223/221 Documents/ed_pvpanel.svg" +7 -7
  753. package/src/assets/svgIcons//360/237/223/221 Documents/ed_rcd.svg" +7 -7
  754. package/src/assets/svgIcons//360/237/223/221 Documents/ed_rcd_simple.svg" +4 -4
  755. package/src/assets/svgIcons//360/237/223/221 Documents/ed_spd.svg" +9 -9
  756. package/src/assets/svgIcons//360/237/223/221 Documents/ed_stringwithoptimizer.svg" +5 -5
  757. package/src/assets/svgIcons//360/237/223/221 Documents/ed_stringwithoutoptimizer.svg" +13 -13
  758. package/src/assets/svgIcons//360/237/223/221 Documents/ed_transformer.svg" +6 -6
  759. package/src/assets/tests/__mocks__/iconCache.js +1 -1
  760. package/src/assets/tests/__mocks__/svgMock.js +1 -1
  761. package/src/assets/tests/helpers.js +12 -12
  762. package/src/assets/theme.js +766 -778
  763. package/src/components/addNewButton/AddNewButton.stories.js +17 -17
  764. package/src/components/addNewButton/addNewButton.spec.js +23 -23
  765. package/src/components/addNewButton/index.vue +66 -66
  766. package/src/components/banner/actionBanner/ActionBanner.stories.js +45 -45
  767. package/src/components/banner/actionBanner/actionBanner.spec.js +88 -88
  768. package/src/components/banner/actionBanner/index.vue +86 -86
  769. package/src/components/banner/banner/Banner.stories.js +120 -120
  770. package/src/components/banner/banner/banner.spec.js +149 -149
  771. package/src/components/banner/banner/index.vue +205 -205
  772. package/src/components/banner/infoBanner/InfoBanner.spec.js +57 -57
  773. package/src/components/banner/infoBanner/InfoBanner.stories.js +84 -84
  774. package/src/components/banner/infoBanner/index.vue +97 -97
  775. package/src/components/banner/notificationBanner/index.vue +131 -131
  776. package/src/components/barchart/BottomFields.vue +347 -347
  777. package/src/components/barchart/ChartControls.vue +113 -113
  778. package/src/components/barchart/SelectionBox.vue +150 -150
  779. package/src/components/barchart/composables/index.js +5 -5
  780. package/src/components/barchart/composables/useAxisCalculations.js +104 -104
  781. package/src/components/barchart/composables/useChartData.js +114 -114
  782. package/src/components/barchart/composables/useChartScroll.js +61 -61
  783. package/src/components/barchart/composables/useSelection.js +75 -75
  784. package/src/components/barchart/composables/useTooltip.js +125 -125
  785. package/src/components/barchart/index.vue +428 -428
  786. package/src/components/barchart/styles/bottomFields.js +80 -80
  787. package/src/components/barchart/styles/chart.js +273 -273
  788. package/src/components/barchart/styles/chartControls.js +59 -59
  789. package/src/components/buttons/buttonIcon/ButtonIcon.stories.js +161 -161
  790. package/src/components/buttons/buttonIcon/buttonIcon.spec.js +152 -152
  791. package/src/components/buttons/buttonIcon/index.vue +312 -312
  792. package/src/components/buttons/closeButton/CloseButton.stories.js +25 -25
  793. package/src/components/buttons/closeButton/index.vue +62 -62
  794. package/src/components/buttons/mainButton/MainButton.stories.js +135 -141
  795. package/src/components/buttons/mainButton/index.vue +250 -258
  796. package/src/components/buttons/mainButton/mainButton.spec.js +35 -35
  797. package/src/components/buttons/splitButtons/index.vue +86 -86
  798. package/src/components/card/Card.stories.js +79 -79
  799. package/src/components/card/card.spec.js +93 -93
  800. package/src/components/card/index.vue +118 -118
  801. package/src/components/collapsableInfoText/index.vue +127 -127
  802. package/src/components/deleteIcon/DeleteIcon.stories.js +29 -29
  803. package/src/components/deleteIcon/index.vue +78 -78
  804. package/src/components/draggableCard/defaultProps.js +16 -16
  805. package/src/components/draggableCard/draggableCard.spec.js +153 -153
  806. package/src/components/draggableCard/draggableCard.stories.js +135 -135
  807. package/src/components/draggableCard/index.vue +370 -370
  808. package/src/components/draggableInputHandle/index.vue +46 -46
  809. package/src/components/dropdown/Dropdown.stories.js +53 -125
  810. package/src/components/dropdown/index.vue +138 -147
  811. package/src/components/errorMessage/errorMessage.spec.js +34 -34
  812. package/src/components/errorMessage/errorMessage.stories.js +35 -35
  813. package/src/components/errorMessage/index.vue +64 -64
  814. package/src/components/filter/filterSettings.vue +672 -672
  815. package/src/components/filter/index.vue +154 -154
  816. package/src/components/filter/parentDropdown.vue +91 -91
  817. package/src/components/filterComponent/viewFilter.vue +701 -605
  818. package/src/components/filterComponent/viewSettings.vue +281 -281
  819. package/src/components/filterComponent/viewSort.vue +330 -330
  820. package/src/components/icon/Icon.stories.js +220 -220
  821. package/src/components/icon/icon.spec.js +66 -66
  822. package/src/components/icon/iconCache.mjs +23 -23
  823. package/src/components/icon/iconCollection.vue +83 -83
  824. package/src/components/icon/index.vue +242 -242
  825. package/src/components/iconWrapper/index.vue +184 -184
  826. package/src/components/infoCard/InfoCard.stories.js +170 -170
  827. package/src/components/infoCard/defaultProps.js +7 -7
  828. package/src/components/infoCard/index.vue +172 -172
  829. package/src/components/infoCard/infoCard.spec.js +64 -64
  830. package/src/components/infoLabel/index.vue +63 -63
  831. package/src/components/infoText/constants.js +4 -4
  832. package/src/components/infoText/defaultProps.js +16 -16
  833. package/src/components/infoText/index.vue +658 -658
  834. package/src/components/infoText/infoText.spec.js +111 -111
  835. package/src/components/infoText/infoText.stories.js +76 -76
  836. package/src/components/infoText/placeholder.vue +225 -225
  837. package/src/components/infoText/templates/iconTextContent.vue +105 -105
  838. package/src/components/inputs/checkbox/Checkbox.stories.js +63 -63
  839. package/src/components/inputs/checkbox/checkbox.spec.js +109 -109
  840. package/src/components/inputs/checkbox/index.vue +250 -250
  841. package/src/components/inputs/inputNumber/InputNumber.stories.js +150 -150
  842. package/src/components/inputs/inputNumber/index.vue +1111 -1111
  843. package/src/components/inputs/inputNumberQuestion/index.vue +218 -218
  844. package/src/components/inputs/inputText/InputText.stories.js +70 -70
  845. package/src/components/inputs/inputText/index.vue +478 -478
  846. package/src/components/inputs/inputText/inputText.spec.js +588 -588
  847. package/src/components/inputs/radioButton/RadioButton.stories.js +83 -83
  848. package/src/components/inputs/radioButton/defaultProps.js +31 -31
  849. package/src/components/inputs/radioButton/index.vue +344 -344
  850. package/src/components/inputs/radioButton/radioButton.spec.js +84 -84
  851. package/src/components/inputs/searchInput/SearchInput.stories.js +66 -66
  852. package/src/components/inputs/searchInput/defaultProps.js +12 -12
  853. package/src/components/inputs/searchInput/index.vue +181 -181
  854. package/src/components/inputs/searchInput/searchInput.spec.js +64 -64
  855. package/src/components/inputs/select/index.vue +1080 -1080
  856. package/src/components/inputs/select/option/index.vue +176 -176
  857. package/src/components/inputs/select/select.stories.js +58 -58
  858. package/src/components/inputs/slider/index.vue +126 -126
  859. package/src/components/inputs/switchField/index.vue +266 -266
  860. package/src/components/inputs/textAreaInput/TextAreaInput.stories.js +127 -127
  861. package/src/components/inputs/textAreaInput/index.vue +204 -204
  862. package/src/components/inputs/toggle/Toggle.stories.js +77 -77
  863. package/src/components/inputs/toggle/index.vue +322 -322
  864. package/src/components/inputs/toggle/toggle.spec.js +102 -102
  865. package/src/components/label/index.vue +98 -98
  866. package/src/components/markerItem/index.vue +95 -95
  867. package/src/components/modals/actionModal/actionModal.spec.js +52 -52
  868. package/src/components/modals/actionModal/actionModal.stories.js +53 -53
  869. package/src/components/modals/actionModal/index.vue +64 -64
  870. package/src/components/modals/infoModal/index.vue +82 -82
  871. package/src/components/modals/infoModal/infoModal.spec.js +55 -55
  872. package/src/components/modals/infoModal/infoModal.stories.js +47 -47
  873. package/src/components/modals/modal/index.vue +211 -211
  874. package/src/components/modals/modal/modal.stories.js +31 -31
  875. package/src/components/navigationTabs/index.vue +114 -114
  876. package/src/components/pageSubtitle/PageSubtitle.stories.js +58 -58
  877. package/src/components/pageSubtitle/index.vue +78 -78
  878. package/src/components/pageSubtitle/pageSubtitle.spec.js +46 -46
  879. package/src/components/pageTitle/PageTitle.stories.js +95 -95
  880. package/src/components/pageTitle/index.vue +90 -90
  881. package/src/components/pageTitle/pageTitle.spec.js +46 -46
  882. package/src/components/pagination/index.vue +148 -148
  883. package/src/components/paginationV2/index.vue +175 -175
  884. package/src/components/panelRangeInfo/index.vue +196 -196
  885. package/src/components/progressBar/index.vue +125 -97
  886. package/src/components/projectMarker/ProjectMarker.stories.js +130 -130
  887. package/src/components/projectMarker/index.vue +301 -301
  888. package/src/components/rangeSlider/Slider.vue +578 -578
  889. package/src/components/rangeSlider/index.vue +517 -517
  890. package/src/components/rangeSlider/utils/dom.js +49 -49
  891. package/src/components/rangeSlider/utils/fns.js +26 -26
  892. package/src/components/roundTabs/index.vue +107 -107
  893. package/src/components/selectedOptions/index.vue +473 -473
  894. package/src/components/selectedOptions/selectedOptions.spec.js +176 -176
  895. package/src/components/selectedOptions/selectedOptions.stories.js +253 -253
  896. package/src/components/sideMenu/index.vue +325 -325
  897. package/src/components/spinner/Spinner.stories.js +86 -86
  898. package/src/components/spinner/index.vue +133 -133
  899. package/src/components/spinner/spinner.spec.js +69 -69
  900. package/src/components/spinnerGif/SpinnerGif.stories.js +86 -86
  901. package/src/components/spinnerGif/index.vue +105 -105
  902. package/src/components/tableDropdown/TableDropdown.stories.js +192 -192
  903. package/src/components/tableDropdown/index.vue +692 -692
  904. package/src/components/tables/mainTable/MainTable.stories.js +151 -151
  905. package/src/components/tables/mainTable/exampleNested.vue +328 -328
  906. package/src/components/tables/mainTable/index.vue +523 -524
  907. package/src/components/tables/viewTable/index.vue +195 -195
  908. package/src/components/tabsHeader/TabsHeader.spec.js +101 -101
  909. package/src/components/tabsHeader/TabsHeader.stories.js +142 -142
  910. package/src/components/tabsHeader/index.vue +164 -163
  911. package/src/components/tag/proTag/index.vue +19 -19
  912. package/src/components/threeDots/index.vue +413 -413
  913. package/src/components/videoThumbnail/index.vue +103 -103
  914. package/src/components/videoThumbnail/videoThumbnail.stories.js +106 -106
  915. package/src/helpers/currencyMapping.js +28 -28
  916. package/src/helpers/dateTimeFormatting.js +51 -51
  917. package/src/helpers/isObjectEqual.js +22 -22
  918. package/src/helpers/numberConverter.js +103 -103
  919. package/src/helpers/toLocaleNumber.js +11 -11
  920. package/src/helpers/translateLang.js +199 -199
  921. package/src/main.js +8 -8
  922. package/src/mixins/inputValidations.js +97 -97
  923. package/src/router/dynamicRoutes.js +23 -23
  924. package/src/utils/index.js +12 -12
  925. package/src/components/dropdown/defaultProps.js +0 -7
  926. package/src/components/dropdown/dropdown.spec.js +0 -55
  927. package/src/components/progressBar/ProgressBar.stories.js +0 -62
  928. package/src/components/progressBar/defaultProps.js +0 -5
  929. package/src/components/progressBar/progressBar.spec.js +0 -52
package/dist/main.es17.js CHANGED
@@ -1,201 +1,1058 @@
1
- function makeMap(str, expectsLowerCase) {
2
- const map = /* @__PURE__ */ Object.create(null);
3
- const list = str.split(",");
4
- for (let i = 0; i < list.length; i++) {
5
- map[list[i]] = true;
1
+ import { isSymbol, hasChanged, isObject, NOOP, isArray, extend, toRawType, isFunction, def, hasOwn, isIntegerKey, isMap, makeMap, capitalize } from "./main.es378.js";
2
+ function warn(msg, ...args) {
3
+ console.warn(`[Vue warn] ${msg}`, ...args);
4
+ }
5
+ let activeEffectScope;
6
+ class EffectScope {
7
+ constructor(detached = false) {
8
+ this.detached = detached;
9
+ this._active = true;
10
+ this.effects = [];
11
+ this.cleanups = [];
12
+ this.parent = activeEffectScope;
13
+ if (!detached && activeEffectScope) {
14
+ this.index = (activeEffectScope.scopes || (activeEffectScope.scopes = [])).push(
15
+ this
16
+ ) - 1;
17
+ }
18
+ }
19
+ get active() {
20
+ return this._active;
21
+ }
22
+ run(fn) {
23
+ if (this._active) {
24
+ const currentEffectScope = activeEffectScope;
25
+ try {
26
+ activeEffectScope = this;
27
+ return fn();
28
+ } finally {
29
+ activeEffectScope = currentEffectScope;
30
+ }
31
+ } else if (!!(process.env.NODE_ENV !== "production")) {
32
+ warn(`cannot run an inactive effect scope.`);
33
+ }
34
+ }
35
+ /**
36
+ * This should only be called on non-detached scopes
37
+ * @internal
38
+ */
39
+ on() {
40
+ activeEffectScope = this;
41
+ }
42
+ /**
43
+ * This should only be called on non-detached scopes
44
+ * @internal
45
+ */
46
+ off() {
47
+ activeEffectScope = this.parent;
48
+ }
49
+ stop(fromParent) {
50
+ if (this._active) {
51
+ let i, l;
52
+ for (i = 0, l = this.effects.length; i < l; i++) {
53
+ this.effects[i].stop();
54
+ }
55
+ for (i = 0, l = this.cleanups.length; i < l; i++) {
56
+ this.cleanups[i]();
57
+ }
58
+ if (this.scopes) {
59
+ for (i = 0, l = this.scopes.length; i < l; i++) {
60
+ this.scopes[i].stop(true);
61
+ }
62
+ }
63
+ if (!this.detached && this.parent && !fromParent) {
64
+ const last = this.parent.scopes.pop();
65
+ if (last && last !== this) {
66
+ this.parent.scopes[this.index] = last;
67
+ last.index = this.index;
68
+ }
69
+ }
70
+ this.parent = void 0;
71
+ this._active = false;
72
+ }
6
73
  }
7
- return expectsLowerCase ? (val) => !!map[val.toLowerCase()] : (val) => !!map[val];
8
74
  }
9
- const EMPTY_OBJ = !!(process.env.NODE_ENV !== "production") ? Object.freeze({}) : {};
10
- const EMPTY_ARR = !!(process.env.NODE_ENV !== "production") ? Object.freeze([]) : [];
11
- const NOOP = () => {
12
- };
13
- const NO = () => false;
14
- const onRE = /^on[^a-z]/;
15
- const isOn = (key) => onRE.test(key);
16
- const isModelListener = (key) => key.startsWith("onUpdate:");
17
- const extend = Object.assign;
18
- const remove = (arr, el) => {
19
- const i = arr.indexOf(el);
20
- if (i > -1) {
21
- arr.splice(i, 1);
75
+ function recordEffectScope(effect, scope = activeEffectScope) {
76
+ if (scope && scope.active) {
77
+ scope.effects.push(effect);
22
78
  }
79
+ }
80
+ function getCurrentScope() {
81
+ return activeEffectScope;
82
+ }
83
+ const createDep = (effects) => {
84
+ const dep = new Set(effects);
85
+ dep.w = 0;
86
+ dep.n = 0;
87
+ return dep;
23
88
  };
24
- const hasOwnProperty = Object.prototype.hasOwnProperty;
25
- const hasOwn = (val, key) => hasOwnProperty.call(val, key);
26
- const isArray = Array.isArray;
27
- const isMap = (val) => toTypeString(val) === "[object Map]";
28
- const isSet = (val) => toTypeString(val) === "[object Set]";
29
- const isFunction = (val) => typeof val === "function";
30
- const isString = (val) => typeof val === "string";
31
- const isObject = (val) => val !== null && typeof val === "object";
32
- const isPromise = (val) => {
33
- return isObject(val) && isFunction(val.then) && isFunction(val.catch);
89
+ const wasTracked = (dep) => (dep.w & trackOpBit) > 0;
90
+ const newTracked = (dep) => (dep.n & trackOpBit) > 0;
91
+ const initDepMarkers = ({ deps }) => {
92
+ if (deps.length) {
93
+ for (let i = 0; i < deps.length; i++) {
94
+ deps[i].w |= trackOpBit;
95
+ }
96
+ }
34
97
  };
35
- const objectToString = Object.prototype.toString;
36
- const toTypeString = (value) => objectToString.call(value);
37
- const toRawType = (value) => {
38
- return toTypeString(value).slice(8, -1);
98
+ const finalizeDepMarkers = (effect) => {
99
+ const { deps } = effect;
100
+ if (deps.length) {
101
+ let ptr = 0;
102
+ for (let i = 0; i < deps.length; i++) {
103
+ const dep = deps[i];
104
+ if (wasTracked(dep) && !newTracked(dep)) {
105
+ dep.delete(effect);
106
+ } else {
107
+ deps[ptr++] = dep;
108
+ }
109
+ dep.w &= ~trackOpBit;
110
+ dep.n &= ~trackOpBit;
111
+ }
112
+ deps.length = ptr;
113
+ }
39
114
  };
40
- const isPlainObject = (val) => toTypeString(val) === "[object Object]";
41
- const isReservedProp = /* @__PURE__ */ makeMap(
42
- // the leading comma is intentional so empty string "" is also included
43
- ",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"
44
- );
45
- const isBuiltInDirective = /* @__PURE__ */ makeMap(
46
- "bind,cloak,else-if,else,for,html,if,model,on,once,pre,show,slot,text,memo"
115
+ const targetMap = /* @__PURE__ */ new WeakMap();
116
+ let effectTrackDepth = 0;
117
+ let trackOpBit = 1;
118
+ const maxMarkerBits = 30;
119
+ let activeEffect;
120
+ const ITERATE_KEY = Symbol(!!(process.env.NODE_ENV !== "production") ? "iterate" : "");
121
+ const MAP_KEY_ITERATE_KEY = Symbol(!!(process.env.NODE_ENV !== "production") ? "Map key iterate" : "");
122
+ class ReactiveEffect {
123
+ constructor(fn, scheduler = null, scope) {
124
+ this.fn = fn;
125
+ this.scheduler = scheduler;
126
+ this.active = true;
127
+ this.deps = [];
128
+ this.parent = void 0;
129
+ recordEffectScope(this, scope);
130
+ }
131
+ run() {
132
+ if (!this.active) {
133
+ return this.fn();
134
+ }
135
+ let parent = activeEffect;
136
+ let lastShouldTrack = shouldTrack;
137
+ while (parent) {
138
+ if (parent === this) {
139
+ return;
140
+ }
141
+ parent = parent.parent;
142
+ }
143
+ try {
144
+ this.parent = activeEffect;
145
+ activeEffect = this;
146
+ shouldTrack = true;
147
+ trackOpBit = 1 << ++effectTrackDepth;
148
+ if (effectTrackDepth <= maxMarkerBits) {
149
+ initDepMarkers(this);
150
+ } else {
151
+ cleanupEffect(this);
152
+ }
153
+ return this.fn();
154
+ } finally {
155
+ if (effectTrackDepth <= maxMarkerBits) {
156
+ finalizeDepMarkers(this);
157
+ }
158
+ trackOpBit = 1 << --effectTrackDepth;
159
+ activeEffect = this.parent;
160
+ shouldTrack = lastShouldTrack;
161
+ this.parent = void 0;
162
+ if (this.deferStop) {
163
+ this.stop();
164
+ }
165
+ }
166
+ }
167
+ stop() {
168
+ if (activeEffect === this) {
169
+ this.deferStop = true;
170
+ } else if (this.active) {
171
+ cleanupEffect(this);
172
+ if (this.onStop) {
173
+ this.onStop();
174
+ }
175
+ this.active = false;
176
+ }
177
+ }
178
+ }
179
+ function cleanupEffect(effect2) {
180
+ const { deps } = effect2;
181
+ if (deps.length) {
182
+ for (let i = 0; i < deps.length; i++) {
183
+ deps[i].delete(effect2);
184
+ }
185
+ deps.length = 0;
186
+ }
187
+ }
188
+ let shouldTrack = true;
189
+ const trackStack = [];
190
+ function pauseTracking() {
191
+ trackStack.push(shouldTrack);
192
+ shouldTrack = false;
193
+ }
194
+ function resetTracking() {
195
+ const last = trackStack.pop();
196
+ shouldTrack = last === void 0 ? true : last;
197
+ }
198
+ function track(target, type, key) {
199
+ if (shouldTrack && activeEffect) {
200
+ let depsMap = targetMap.get(target);
201
+ if (!depsMap) {
202
+ targetMap.set(target, depsMap = /* @__PURE__ */ new Map());
203
+ }
204
+ let dep = depsMap.get(key);
205
+ if (!dep) {
206
+ depsMap.set(key, dep = createDep());
207
+ }
208
+ const eventInfo = !!(process.env.NODE_ENV !== "production") ? { effect: activeEffect, target, type, key } : void 0;
209
+ trackEffects(dep, eventInfo);
210
+ }
211
+ }
212
+ function trackEffects(dep, debuggerEventExtraInfo) {
213
+ let shouldTrack2 = false;
214
+ if (effectTrackDepth <= maxMarkerBits) {
215
+ if (!newTracked(dep)) {
216
+ dep.n |= trackOpBit;
217
+ shouldTrack2 = !wasTracked(dep);
218
+ }
219
+ } else {
220
+ shouldTrack2 = !dep.has(activeEffect);
221
+ }
222
+ if (shouldTrack2) {
223
+ dep.add(activeEffect);
224
+ activeEffect.deps.push(dep);
225
+ if (!!(process.env.NODE_ENV !== "production") && activeEffect.onTrack) {
226
+ activeEffect.onTrack(
227
+ extend(
228
+ {
229
+ effect: activeEffect
230
+ },
231
+ debuggerEventExtraInfo
232
+ )
233
+ );
234
+ }
235
+ }
236
+ }
237
+ function trigger(target, type, key, newValue, oldValue, oldTarget) {
238
+ const depsMap = targetMap.get(target);
239
+ if (!depsMap) {
240
+ return;
241
+ }
242
+ let deps = [];
243
+ if (type === "clear") {
244
+ deps = [...depsMap.values()];
245
+ } else if (key === "length" && isArray(target)) {
246
+ const newLength = Number(newValue);
247
+ depsMap.forEach((dep, key2) => {
248
+ if (key2 === "length" || key2 >= newLength) {
249
+ deps.push(dep);
250
+ }
251
+ });
252
+ } else {
253
+ if (key !== void 0) {
254
+ deps.push(depsMap.get(key));
255
+ }
256
+ switch (type) {
257
+ case "add":
258
+ if (!isArray(target)) {
259
+ deps.push(depsMap.get(ITERATE_KEY));
260
+ if (isMap(target)) {
261
+ deps.push(depsMap.get(MAP_KEY_ITERATE_KEY));
262
+ }
263
+ } else if (isIntegerKey(key)) {
264
+ deps.push(depsMap.get("length"));
265
+ }
266
+ break;
267
+ case "delete":
268
+ if (!isArray(target)) {
269
+ deps.push(depsMap.get(ITERATE_KEY));
270
+ if (isMap(target)) {
271
+ deps.push(depsMap.get(MAP_KEY_ITERATE_KEY));
272
+ }
273
+ }
274
+ break;
275
+ case "set":
276
+ if (isMap(target)) {
277
+ deps.push(depsMap.get(ITERATE_KEY));
278
+ }
279
+ break;
280
+ }
281
+ }
282
+ const eventInfo = !!(process.env.NODE_ENV !== "production") ? { target, type, key, newValue, oldValue, oldTarget } : void 0;
283
+ if (deps.length === 1) {
284
+ if (deps[0]) {
285
+ if (!!(process.env.NODE_ENV !== "production")) {
286
+ triggerEffects(deps[0], eventInfo);
287
+ } else {
288
+ triggerEffects(deps[0]);
289
+ }
290
+ }
291
+ } else {
292
+ const effects = [];
293
+ for (const dep of deps) {
294
+ if (dep) {
295
+ effects.push(...dep);
296
+ }
297
+ }
298
+ if (!!(process.env.NODE_ENV !== "production")) {
299
+ triggerEffects(createDep(effects), eventInfo);
300
+ } else {
301
+ triggerEffects(createDep(effects));
302
+ }
303
+ }
304
+ }
305
+ function triggerEffects(dep, debuggerEventExtraInfo) {
306
+ const effects = isArray(dep) ? dep : [...dep];
307
+ for (const effect2 of effects) {
308
+ if (effect2.computed) {
309
+ triggerEffect(effect2, debuggerEventExtraInfo);
310
+ }
311
+ }
312
+ for (const effect2 of effects) {
313
+ if (!effect2.computed) {
314
+ triggerEffect(effect2, debuggerEventExtraInfo);
315
+ }
316
+ }
317
+ }
318
+ function triggerEffect(effect2, debuggerEventExtraInfo) {
319
+ if (effect2 !== activeEffect || effect2.allowRecurse) {
320
+ if (!!(process.env.NODE_ENV !== "production") && effect2.onTrigger) {
321
+ effect2.onTrigger(extend({ effect: effect2 }, debuggerEventExtraInfo));
322
+ }
323
+ if (effect2.scheduler) {
324
+ effect2.scheduler();
325
+ } else {
326
+ effect2.run();
327
+ }
328
+ }
329
+ }
330
+ const isNonTrackableKeys = /* @__PURE__ */ makeMap(`__proto__,__v_isRef,__isVue`);
331
+ const builtInSymbols = new Set(
332
+ /* @__PURE__ */ Object.getOwnPropertyNames(Symbol).filter((key) => key !== "arguments" && key !== "caller").map((key) => Symbol[key]).filter(isSymbol)
47
333
  );
48
- const cacheStringFunction = (fn) => {
49
- const cache = /* @__PURE__ */ Object.create(null);
50
- return (str) => {
51
- const hit = cache[str];
52
- return hit || (cache[str] = fn(str));
334
+ const get$1 = /* @__PURE__ */ createGetter();
335
+ const shallowGet = /* @__PURE__ */ createGetter(false, true);
336
+ const readonlyGet = /* @__PURE__ */ createGetter(true);
337
+ const shallowReadonlyGet = /* @__PURE__ */ createGetter(true, true);
338
+ const arrayInstrumentations = /* @__PURE__ */ createArrayInstrumentations();
339
+ function createArrayInstrumentations() {
340
+ const instrumentations = {};
341
+ ["includes", "indexOf", "lastIndexOf"].forEach((key) => {
342
+ instrumentations[key] = function(...args) {
343
+ const arr = toRaw(this);
344
+ for (let i = 0, l = this.length; i < l; i++) {
345
+ track(arr, "get", i + "");
346
+ }
347
+ const res = arr[key](...args);
348
+ if (res === -1 || res === false) {
349
+ return arr[key](...args.map(toRaw));
350
+ } else {
351
+ return res;
352
+ }
353
+ };
354
+ });
355
+ ["push", "pop", "shift", "unshift", "splice"].forEach((key) => {
356
+ instrumentations[key] = function(...args) {
357
+ pauseTracking();
358
+ const res = toRaw(this)[key].apply(this, args);
359
+ resetTracking();
360
+ return res;
361
+ };
362
+ });
363
+ return instrumentations;
364
+ }
365
+ function hasOwnProperty(key) {
366
+ const obj = toRaw(this);
367
+ track(obj, "has", key);
368
+ return obj.hasOwnProperty(key);
369
+ }
370
+ function createGetter(isReadonly2 = false, shallow = false) {
371
+ return function get2(target, key, receiver) {
372
+ if (key === "__v_isReactive") {
373
+ return !isReadonly2;
374
+ } else if (key === "__v_isReadonly") {
375
+ return isReadonly2;
376
+ } else if (key === "__v_isShallow") {
377
+ return shallow;
378
+ } else if (key === "__v_raw" && receiver === (isReadonly2 ? shallow ? shallowReadonlyMap : readonlyMap : shallow ? shallowReactiveMap : reactiveMap).get(target)) {
379
+ return target;
380
+ }
381
+ const targetIsArray = isArray(target);
382
+ if (!isReadonly2) {
383
+ if (targetIsArray && hasOwn(arrayInstrumentations, key)) {
384
+ return Reflect.get(arrayInstrumentations, key, receiver);
385
+ }
386
+ if (key === "hasOwnProperty") {
387
+ return hasOwnProperty;
388
+ }
389
+ }
390
+ const res = Reflect.get(target, key, receiver);
391
+ if (isSymbol(key) ? builtInSymbols.has(key) : isNonTrackableKeys(key)) {
392
+ return res;
393
+ }
394
+ if (!isReadonly2) {
395
+ track(target, "get", key);
396
+ }
397
+ if (shallow) {
398
+ return res;
399
+ }
400
+ if (isRef(res)) {
401
+ return targetIsArray && isIntegerKey(key) ? res : res.value;
402
+ }
403
+ if (isObject(res)) {
404
+ return isReadonly2 ? readonly(res) : reactive(res);
405
+ }
406
+ return res;
53
407
  };
408
+ }
409
+ const set$1 = /* @__PURE__ */ createSetter();
410
+ const shallowSet = /* @__PURE__ */ createSetter(true);
411
+ function createSetter(shallow = false) {
412
+ return function set2(target, key, value, receiver) {
413
+ let oldValue = target[key];
414
+ if (isReadonly(oldValue) && isRef(oldValue) && !isRef(value)) {
415
+ return false;
416
+ }
417
+ if (!shallow) {
418
+ if (!isShallow(value) && !isReadonly(value)) {
419
+ oldValue = toRaw(oldValue);
420
+ value = toRaw(value);
421
+ }
422
+ if (!isArray(target) && isRef(oldValue) && !isRef(value)) {
423
+ oldValue.value = value;
424
+ return true;
425
+ }
426
+ }
427
+ const hadKey = isArray(target) && isIntegerKey(key) ? Number(key) < target.length : hasOwn(target, key);
428
+ const result = Reflect.set(target, key, value, receiver);
429
+ if (target === toRaw(receiver)) {
430
+ if (!hadKey) {
431
+ trigger(target, "add", key, value);
432
+ } else if (hasChanged(value, oldValue)) {
433
+ trigger(target, "set", key, value, oldValue);
434
+ }
435
+ }
436
+ return result;
437
+ };
438
+ }
439
+ function deleteProperty(target, key) {
440
+ const hadKey = hasOwn(target, key);
441
+ const oldValue = target[key];
442
+ const result = Reflect.deleteProperty(target, key);
443
+ if (result && hadKey) {
444
+ trigger(target, "delete", key, void 0, oldValue);
445
+ }
446
+ return result;
447
+ }
448
+ function has$1(target, key) {
449
+ const result = Reflect.has(target, key);
450
+ if (!isSymbol(key) || !builtInSymbols.has(key)) {
451
+ track(target, "has", key);
452
+ }
453
+ return result;
454
+ }
455
+ function ownKeys(target) {
456
+ track(target, "iterate", isArray(target) ? "length" : ITERATE_KEY);
457
+ return Reflect.ownKeys(target);
458
+ }
459
+ const mutableHandlers = {
460
+ get: get$1,
461
+ set: set$1,
462
+ deleteProperty,
463
+ has: has$1,
464
+ ownKeys
54
465
  };
55
- const camelizeRE = /-(\w)/g;
56
- const camelize = cacheStringFunction((str) => {
57
- return str.replace(camelizeRE, (_, c) => c ? c.toUpperCase() : "");
58
- });
59
- const hyphenateRE = /\B([A-Z])/g;
60
- const hyphenate = cacheStringFunction(
61
- (str) => str.replace(hyphenateRE, "-$1").toLowerCase()
62
- );
63
- const capitalize = cacheStringFunction(
64
- (str) => str.charAt(0).toUpperCase() + str.slice(1)
466
+ const readonlyHandlers = {
467
+ get: readonlyGet,
468
+ set(target, key) {
469
+ if (!!(process.env.NODE_ENV !== "production")) {
470
+ warn(
471
+ `Set operation on key "${String(key)}" failed: target is readonly.`,
472
+ target
473
+ );
474
+ }
475
+ return true;
476
+ },
477
+ deleteProperty(target, key) {
478
+ if (!!(process.env.NODE_ENV !== "production")) {
479
+ warn(
480
+ `Delete operation on key "${String(key)}" failed: target is readonly.`,
481
+ target
482
+ );
483
+ }
484
+ return true;
485
+ }
486
+ };
487
+ const shallowReactiveHandlers = /* @__PURE__ */ extend(
488
+ {},
489
+ mutableHandlers,
490
+ {
491
+ get: shallowGet,
492
+ set: shallowSet
493
+ }
65
494
  );
66
- const toHandlerKey = cacheStringFunction(
67
- (str) => str ? `on${capitalize(str)}` : ``
495
+ const shallowReadonlyHandlers = /* @__PURE__ */ extend(
496
+ {},
497
+ readonlyHandlers,
498
+ {
499
+ get: shallowReadonlyGet
500
+ }
68
501
  );
69
- const hasChanged = (value, oldValue) => !Object.is(value, oldValue);
70
- const invokeArrayFns = (fns, arg) => {
71
- for (let i = 0; i < fns.length; i++) {
72
- fns[i](arg);
502
+ const toShallow = (value) => value;
503
+ const getProto = (v) => Reflect.getPrototypeOf(v);
504
+ function get(target, key, isReadonly2 = false, isShallow2 = false) {
505
+ target = target["__v_raw"];
506
+ const rawTarget = toRaw(target);
507
+ const rawKey = toRaw(key);
508
+ if (!isReadonly2) {
509
+ if (key !== rawKey) {
510
+ track(rawTarget, "get", key);
511
+ }
512
+ track(rawTarget, "get", rawKey);
73
513
  }
74
- };
75
- const def = (obj, key, value) => {
76
- Object.defineProperty(obj, key, {
77
- configurable: true,
78
- enumerable: false,
79
- value
514
+ const { has: has2 } = getProto(rawTarget);
515
+ const wrap = isShallow2 ? toShallow : isReadonly2 ? toReadonly : toReactive;
516
+ if (has2.call(rawTarget, key)) {
517
+ return wrap(target.get(key));
518
+ } else if (has2.call(rawTarget, rawKey)) {
519
+ return wrap(target.get(rawKey));
520
+ } else if (target !== rawTarget) {
521
+ target.get(key);
522
+ }
523
+ }
524
+ function has(key, isReadonly2 = false) {
525
+ const target = this["__v_raw"];
526
+ const rawTarget = toRaw(target);
527
+ const rawKey = toRaw(key);
528
+ if (!isReadonly2) {
529
+ if (key !== rawKey) {
530
+ track(rawTarget, "has", key);
531
+ }
532
+ track(rawTarget, "has", rawKey);
533
+ }
534
+ return key === rawKey ? target.has(key) : target.has(key) || target.has(rawKey);
535
+ }
536
+ function size(target, isReadonly2 = false) {
537
+ target = target["__v_raw"];
538
+ !isReadonly2 && track(toRaw(target), "iterate", ITERATE_KEY);
539
+ return Reflect.get(target, "size", target);
540
+ }
541
+ function add(value) {
542
+ value = toRaw(value);
543
+ const target = toRaw(this);
544
+ const proto = getProto(target);
545
+ const hadKey = proto.has.call(target, value);
546
+ if (!hadKey) {
547
+ target.add(value);
548
+ trigger(target, "add", value, value);
549
+ }
550
+ return this;
551
+ }
552
+ function set(key, value) {
553
+ value = toRaw(value);
554
+ const target = toRaw(this);
555
+ const { has: has2, get: get2 } = getProto(target);
556
+ let hadKey = has2.call(target, key);
557
+ if (!hadKey) {
558
+ key = toRaw(key);
559
+ hadKey = has2.call(target, key);
560
+ } else if (!!(process.env.NODE_ENV !== "production")) {
561
+ checkIdentityKeys(target, has2, key);
562
+ }
563
+ const oldValue = get2.call(target, key);
564
+ target.set(key, value);
565
+ if (!hadKey) {
566
+ trigger(target, "add", key, value);
567
+ } else if (hasChanged(value, oldValue)) {
568
+ trigger(target, "set", key, value, oldValue);
569
+ }
570
+ return this;
571
+ }
572
+ function deleteEntry(key) {
573
+ const target = toRaw(this);
574
+ const { has: has2, get: get2 } = getProto(target);
575
+ let hadKey = has2.call(target, key);
576
+ if (!hadKey) {
577
+ key = toRaw(key);
578
+ hadKey = has2.call(target, key);
579
+ } else if (!!(process.env.NODE_ENV !== "production")) {
580
+ checkIdentityKeys(target, has2, key);
581
+ }
582
+ const oldValue = get2 ? get2.call(target, key) : void 0;
583
+ const result = target.delete(key);
584
+ if (hadKey) {
585
+ trigger(target, "delete", key, void 0, oldValue);
586
+ }
587
+ return result;
588
+ }
589
+ function clear() {
590
+ const target = toRaw(this);
591
+ const hadItems = target.size !== 0;
592
+ const oldTarget = !!(process.env.NODE_ENV !== "production") ? isMap(target) ? new Map(target) : new Set(target) : void 0;
593
+ const result = target.clear();
594
+ if (hadItems) {
595
+ trigger(target, "clear", void 0, void 0, oldTarget);
596
+ }
597
+ return result;
598
+ }
599
+ function createForEach(isReadonly2, isShallow2) {
600
+ return function forEach(callback, thisArg) {
601
+ const observed = this;
602
+ const target = observed["__v_raw"];
603
+ const rawTarget = toRaw(target);
604
+ const wrap = isShallow2 ? toShallow : isReadonly2 ? toReadonly : toReactive;
605
+ !isReadonly2 && track(rawTarget, "iterate", ITERATE_KEY);
606
+ return target.forEach((value, key) => {
607
+ return callback.call(thisArg, wrap(value), wrap(key), observed);
608
+ });
609
+ };
610
+ }
611
+ function createIterableMethod(method, isReadonly2, isShallow2) {
612
+ return function(...args) {
613
+ const target = this["__v_raw"];
614
+ const rawTarget = toRaw(target);
615
+ const targetIsMap = isMap(rawTarget);
616
+ const isPair = method === "entries" || method === Symbol.iterator && targetIsMap;
617
+ const isKeyOnly = method === "keys" && targetIsMap;
618
+ const innerIterator = target[method](...args);
619
+ const wrap = isShallow2 ? toShallow : isReadonly2 ? toReadonly : toReactive;
620
+ !isReadonly2 && track(
621
+ rawTarget,
622
+ "iterate",
623
+ isKeyOnly ? MAP_KEY_ITERATE_KEY : ITERATE_KEY
624
+ );
625
+ return {
626
+ // iterator protocol
627
+ next() {
628
+ const { value, done } = innerIterator.next();
629
+ return done ? { value, done } : {
630
+ value: isPair ? [wrap(value[0]), wrap(value[1])] : wrap(value),
631
+ done
632
+ };
633
+ },
634
+ // iterable protocol
635
+ [Symbol.iterator]() {
636
+ return this;
637
+ }
638
+ };
639
+ };
640
+ }
641
+ function createReadonlyMethod(type) {
642
+ return function(...args) {
643
+ if (!!(process.env.NODE_ENV !== "production")) {
644
+ const key = args[0] ? `on key "${args[0]}" ` : ``;
645
+ console.warn(
646
+ `${capitalize(type)} operation ${key}failed: target is readonly.`,
647
+ toRaw(this)
648
+ );
649
+ }
650
+ return type === "delete" ? false : this;
651
+ };
652
+ }
653
+ function createInstrumentations() {
654
+ const mutableInstrumentations2 = {
655
+ get(key) {
656
+ return get(this, key);
657
+ },
658
+ get size() {
659
+ return size(this);
660
+ },
661
+ has,
662
+ add,
663
+ set,
664
+ delete: deleteEntry,
665
+ clear,
666
+ forEach: createForEach(false, false)
667
+ };
668
+ const shallowInstrumentations2 = {
669
+ get(key) {
670
+ return get(this, key, false, true);
671
+ },
672
+ get size() {
673
+ return size(this);
674
+ },
675
+ has,
676
+ add,
677
+ set,
678
+ delete: deleteEntry,
679
+ clear,
680
+ forEach: createForEach(false, true)
681
+ };
682
+ const readonlyInstrumentations2 = {
683
+ get(key) {
684
+ return get(this, key, true);
685
+ },
686
+ get size() {
687
+ return size(this, true);
688
+ },
689
+ has(key) {
690
+ return has.call(this, key, true);
691
+ },
692
+ add: createReadonlyMethod("add"),
693
+ set: createReadonlyMethod("set"),
694
+ delete: createReadonlyMethod("delete"),
695
+ clear: createReadonlyMethod("clear"),
696
+ forEach: createForEach(true, false)
697
+ };
698
+ const shallowReadonlyInstrumentations2 = {
699
+ get(key) {
700
+ return get(this, key, true, true);
701
+ },
702
+ get size() {
703
+ return size(this, true);
704
+ },
705
+ has(key) {
706
+ return has.call(this, key, true);
707
+ },
708
+ add: createReadonlyMethod("add"),
709
+ set: createReadonlyMethod("set"),
710
+ delete: createReadonlyMethod("delete"),
711
+ clear: createReadonlyMethod("clear"),
712
+ forEach: createForEach(true, true)
713
+ };
714
+ const iteratorMethods = ["keys", "values", "entries", Symbol.iterator];
715
+ iteratorMethods.forEach((method) => {
716
+ mutableInstrumentations2[method] = createIterableMethod(
717
+ method,
718
+ false,
719
+ false
720
+ );
721
+ readonlyInstrumentations2[method] = createIterableMethod(
722
+ method,
723
+ true,
724
+ false
725
+ );
726
+ shallowInstrumentations2[method] = createIterableMethod(
727
+ method,
728
+ false,
729
+ true
730
+ );
731
+ shallowReadonlyInstrumentations2[method] = createIterableMethod(
732
+ method,
733
+ true,
734
+ true
735
+ );
80
736
  });
737
+ return [
738
+ mutableInstrumentations2,
739
+ readonlyInstrumentations2,
740
+ shallowInstrumentations2,
741
+ shallowReadonlyInstrumentations2
742
+ ];
743
+ }
744
+ const [
745
+ mutableInstrumentations,
746
+ readonlyInstrumentations,
747
+ shallowInstrumentations,
748
+ shallowReadonlyInstrumentations
749
+ ] = /* @__PURE__ */ createInstrumentations();
750
+ function createInstrumentationGetter(isReadonly2, shallow) {
751
+ const instrumentations = shallow ? isReadonly2 ? shallowReadonlyInstrumentations : shallowInstrumentations : isReadonly2 ? readonlyInstrumentations : mutableInstrumentations;
752
+ return (target, key, receiver) => {
753
+ if (key === "__v_isReactive") {
754
+ return !isReadonly2;
755
+ } else if (key === "__v_isReadonly") {
756
+ return isReadonly2;
757
+ } else if (key === "__v_raw") {
758
+ return target;
759
+ }
760
+ return Reflect.get(
761
+ hasOwn(instrumentations, key) && key in target ? instrumentations : target,
762
+ key,
763
+ receiver
764
+ );
765
+ };
766
+ }
767
+ const mutableCollectionHandlers = {
768
+ get: /* @__PURE__ */ createInstrumentationGetter(false, false)
81
769
  };
82
- const looseToNumber = (val) => {
83
- const n = parseFloat(val);
84
- return isNaN(n) ? val : n;
770
+ const shallowCollectionHandlers = {
771
+ get: /* @__PURE__ */ createInstrumentationGetter(false, true)
85
772
  };
86
- let _globalThis;
87
- const getGlobalThis = () => {
88
- return _globalThis || (_globalThis = typeof globalThis !== "undefined" ? globalThis : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : typeof global !== "undefined" ? global : {});
773
+ const readonlyCollectionHandlers = {
774
+ get: /* @__PURE__ */ createInstrumentationGetter(true, false)
89
775
  };
90
- function normalizeStyle(value) {
91
- if (isArray(value)) {
92
- const res = {};
93
- for (let i = 0; i < value.length; i++) {
94
- const item = value[i];
95
- const normalized = isString(item) ? parseStringStyle(item) : normalizeStyle(item);
96
- if (normalized) {
97
- for (const key in normalized) {
98
- res[key] = normalized[key];
99
- }
100
- }
776
+ const shallowReadonlyCollectionHandlers = {
777
+ get: /* @__PURE__ */ createInstrumentationGetter(true, true)
778
+ };
779
+ function checkIdentityKeys(target, has2, key) {
780
+ const rawKey = toRaw(key);
781
+ if (rawKey !== key && has2.call(target, rawKey)) {
782
+ const type = toRawType(target);
783
+ console.warn(
784
+ `Reactive ${type} contains both the raw and reactive versions of the same object${type === `Map` ? ` as keys` : ``}, which can lead to inconsistencies. Avoid differentiating between the raw and reactive versions of an object and only use the reactive version if possible.`
785
+ );
786
+ }
787
+ }
788
+ const reactiveMap = /* @__PURE__ */ new WeakMap();
789
+ const shallowReactiveMap = /* @__PURE__ */ new WeakMap();
790
+ const readonlyMap = /* @__PURE__ */ new WeakMap();
791
+ const shallowReadonlyMap = /* @__PURE__ */ new WeakMap();
792
+ function targetTypeMap(rawType) {
793
+ switch (rawType) {
794
+ case "Object":
795
+ case "Array":
796
+ return 1;
797
+ case "Map":
798
+ case "Set":
799
+ case "WeakMap":
800
+ case "WeakSet":
801
+ return 2;
802
+ default:
803
+ return 0;
804
+ }
805
+ }
806
+ function getTargetType(value) {
807
+ return value["__v_skip"] || !Object.isExtensible(value) ? 0 : targetTypeMap(toRawType(value));
808
+ }
809
+ function reactive(target) {
810
+ if (isReadonly(target)) {
811
+ return target;
812
+ }
813
+ return createReactiveObject(
814
+ target,
815
+ false,
816
+ mutableHandlers,
817
+ mutableCollectionHandlers,
818
+ reactiveMap
819
+ );
820
+ }
821
+ function shallowReactive(target) {
822
+ return createReactiveObject(
823
+ target,
824
+ false,
825
+ shallowReactiveHandlers,
826
+ shallowCollectionHandlers,
827
+ shallowReactiveMap
828
+ );
829
+ }
830
+ function readonly(target) {
831
+ return createReactiveObject(
832
+ target,
833
+ true,
834
+ readonlyHandlers,
835
+ readonlyCollectionHandlers,
836
+ readonlyMap
837
+ );
838
+ }
839
+ function shallowReadonly(target) {
840
+ return createReactiveObject(
841
+ target,
842
+ true,
843
+ shallowReadonlyHandlers,
844
+ shallowReadonlyCollectionHandlers,
845
+ shallowReadonlyMap
846
+ );
847
+ }
848
+ function createReactiveObject(target, isReadonly2, baseHandlers, collectionHandlers, proxyMap) {
849
+ if (!isObject(target)) {
850
+ if (!!(process.env.NODE_ENV !== "production")) {
851
+ console.warn(`value cannot be made reactive: ${String(target)}`);
101
852
  }
102
- return res;
103
- } else if (isString(value)) {
104
- return value;
105
- } else if (isObject(value)) {
106
- return value;
107
- }
108
- }
109
- const listDelimiterRE = /;(?![^(]*\))/g;
110
- const propertyDelimiterRE = /:([^]+)/;
111
- const styleCommentRE = /\/\*[^]*?\*\//g;
112
- function parseStringStyle(cssText) {
113
- const ret = {};
114
- cssText.replace(styleCommentRE, "").split(listDelimiterRE).forEach((item) => {
115
- if (item) {
116
- const tmp = item.split(propertyDelimiterRE);
117
- tmp.length > 1 && (ret[tmp[0].trim()] = tmp[1].trim());
853
+ return target;
854
+ }
855
+ if (target["__v_raw"] && !(isReadonly2 && target["__v_isReactive"])) {
856
+ return target;
857
+ }
858
+ const existingProxy = proxyMap.get(target);
859
+ if (existingProxy) {
860
+ return existingProxy;
861
+ }
862
+ const targetType = getTargetType(target);
863
+ if (targetType === 0) {
864
+ return target;
865
+ }
866
+ const proxy = new Proxy(
867
+ target,
868
+ targetType === 2 ? collectionHandlers : baseHandlers
869
+ );
870
+ proxyMap.set(target, proxy);
871
+ return proxy;
872
+ }
873
+ function isReactive(value) {
874
+ if (isReadonly(value)) {
875
+ return isReactive(value["__v_raw"]);
876
+ }
877
+ return !!(value && value["__v_isReactive"]);
878
+ }
879
+ function isReadonly(value) {
880
+ return !!(value && value["__v_isReadonly"]);
881
+ }
882
+ function isShallow(value) {
883
+ return !!(value && value["__v_isShallow"]);
884
+ }
885
+ function isProxy(value) {
886
+ return isReactive(value) || isReadonly(value);
887
+ }
888
+ function toRaw(observed) {
889
+ const raw = observed && observed["__v_raw"];
890
+ return raw ? toRaw(raw) : observed;
891
+ }
892
+ function markRaw(value) {
893
+ def(value, "__v_skip", true);
894
+ return value;
895
+ }
896
+ const toReactive = (value) => isObject(value) ? reactive(value) : value;
897
+ const toReadonly = (value) => isObject(value) ? readonly(value) : value;
898
+ function trackRefValue(ref2) {
899
+ if (shouldTrack && activeEffect) {
900
+ ref2 = toRaw(ref2);
901
+ if (!!(process.env.NODE_ENV !== "production")) {
902
+ trackEffects(ref2.dep || (ref2.dep = createDep()), {
903
+ target: ref2,
904
+ type: "get",
905
+ key: "value"
906
+ });
907
+ } else {
908
+ trackEffects(ref2.dep || (ref2.dep = createDep()));
118
909
  }
119
- });
120
- return ret;
910
+ }
121
911
  }
122
- function normalizeClass(value) {
123
- let res = "";
124
- if (isString(value)) {
125
- res = value;
126
- } else if (isArray(value)) {
127
- for (let i = 0; i < value.length; i++) {
128
- const normalized = normalizeClass(value[i]);
129
- if (normalized) {
130
- res += normalized + " ";
131
- }
912
+ function triggerRefValue(ref2, newVal) {
913
+ ref2 = toRaw(ref2);
914
+ const dep = ref2.dep;
915
+ if (dep) {
916
+ if (!!(process.env.NODE_ENV !== "production")) {
917
+ triggerEffects(dep, {
918
+ target: ref2,
919
+ type: "set",
920
+ key: "value",
921
+ newValue: newVal
922
+ });
923
+ } else {
924
+ triggerEffects(dep);
132
925
  }
133
- } else if (isObject(value)) {
134
- for (const name in value) {
135
- if (value[name]) {
136
- res += name + " ";
137
- }
926
+ }
927
+ }
928
+ function isRef(r) {
929
+ return !!(r && r.__v_isRef === true);
930
+ }
931
+ function ref(value) {
932
+ return createRef(value, false);
933
+ }
934
+ function shallowRef(value) {
935
+ return createRef(value, true);
936
+ }
937
+ function createRef(rawValue, shallow) {
938
+ if (isRef(rawValue)) {
939
+ return rawValue;
940
+ }
941
+ return new RefImpl(rawValue, shallow);
942
+ }
943
+ class RefImpl {
944
+ constructor(value, __v_isShallow) {
945
+ this.__v_isShallow = __v_isShallow;
946
+ this.dep = void 0;
947
+ this.__v_isRef = true;
948
+ this._rawValue = __v_isShallow ? value : toRaw(value);
949
+ this._value = __v_isShallow ? value : toReactive(value);
950
+ }
951
+ get value() {
952
+ trackRefValue(this);
953
+ return this._value;
954
+ }
955
+ set value(newVal) {
956
+ const useDirectValue = this.__v_isShallow || isShallow(newVal) || isReadonly(newVal);
957
+ newVal = useDirectValue ? newVal : toRaw(newVal);
958
+ if (hasChanged(newVal, this._rawValue)) {
959
+ this._rawValue = newVal;
960
+ this._value = useDirectValue ? newVal : toReactive(newVal);
961
+ triggerRefValue(this, newVal);
138
962
  }
139
963
  }
140
- return res.trim();
141
964
  }
142
- const toDisplayString = (val) => {
143
- return isString(val) ? val : val == null ? "" : isArray(val) || isObject(val) && (val.toString === objectToString || !isFunction(val.toString)) ? JSON.stringify(val, replacer, 2) : String(val);
144
- };
145
- const replacer = (_key, val) => {
146
- if (val && val.__v_isRef) {
147
- return replacer(_key, val.value);
148
- } else if (isMap(val)) {
149
- return {
150
- [`Map(${val.size})`]: [...val.entries()].reduce((entries, [key, val2]) => {
151
- entries[`${key} =>`] = val2;
152
- return entries;
153
- }, {})
154
- };
155
- } else if (isSet(val)) {
156
- return {
157
- [`Set(${val.size})`]: [...val.values()]
158
- };
159
- } else if (isObject(val) && !isArray(val) && !isPlainObject(val)) {
160
- return String(val);
965
+ function unref(ref2) {
966
+ return isRef(ref2) ? ref2.value : ref2;
967
+ }
968
+ const shallowUnwrapHandlers = {
969
+ get: (target, key, receiver) => unref(Reflect.get(target, key, receiver)),
970
+ set: (target, key, value, receiver) => {
971
+ const oldValue = target[key];
972
+ if (isRef(oldValue) && !isRef(value)) {
973
+ oldValue.value = value;
974
+ return true;
975
+ } else {
976
+ return Reflect.set(target, key, value, receiver);
977
+ }
161
978
  }
162
- return val;
163
979
  };
980
+ function proxyRefs(objectWithRefs) {
981
+ return isReactive(objectWithRefs) ? objectWithRefs : new Proxy(objectWithRefs, shallowUnwrapHandlers);
982
+ }
983
+ class ComputedRefImpl {
984
+ constructor(getter, _setter, isReadonly2, isSSR) {
985
+ this._setter = _setter;
986
+ this.dep = void 0;
987
+ this.__v_isRef = true;
988
+ this["__v_isReadonly"] = false;
989
+ this._dirty = true;
990
+ this.effect = new ReactiveEffect(getter, () => {
991
+ if (!this._dirty) {
992
+ this._dirty = true;
993
+ triggerRefValue(this);
994
+ }
995
+ });
996
+ this.effect.computed = this;
997
+ this.effect.active = this._cacheable = !isSSR;
998
+ this["__v_isReadonly"] = isReadonly2;
999
+ }
1000
+ get value() {
1001
+ const self = toRaw(this);
1002
+ trackRefValue(self);
1003
+ if (self._dirty || !self._cacheable) {
1004
+ self._dirty = false;
1005
+ self._value = self.effect.run();
1006
+ }
1007
+ return self._value;
1008
+ }
1009
+ set value(newValue) {
1010
+ this._setter(newValue);
1011
+ }
1012
+ }
1013
+ function computed(getterOrOptions, debugOptions, isSSR = false) {
1014
+ let getter;
1015
+ let setter;
1016
+ const onlyGetter = isFunction(getterOrOptions);
1017
+ if (onlyGetter) {
1018
+ getter = getterOrOptions;
1019
+ setter = !!(process.env.NODE_ENV !== "production") ? () => {
1020
+ console.warn("Write operation failed: computed value is readonly");
1021
+ } : NOOP;
1022
+ } else {
1023
+ getter = getterOrOptions.get;
1024
+ setter = getterOrOptions.set;
1025
+ }
1026
+ const cRef = new ComputedRefImpl(getter, setter, onlyGetter || !setter, isSSR);
1027
+ if (!!(process.env.NODE_ENV !== "production") && debugOptions && !isSSR) {
1028
+ cRef.effect.onTrack = debugOptions.onTrack;
1029
+ cRef.effect.onTrigger = debugOptions.onTrigger;
1030
+ }
1031
+ return cRef;
1032
+ }
164
1033
  export {
165
- EMPTY_ARR,
166
- EMPTY_OBJ,
167
- NO,
168
- NOOP,
169
- camelize,
170
- capitalize,
171
- def,
172
- extend,
173
- getGlobalThis,
174
- hasChanged,
175
- hasOwn,
176
- hyphenate,
177
- invokeArrayFns,
178
- isArray,
179
- isBuiltInDirective,
180
- isFunction,
181
- isMap,
182
- isModelListener,
183
- isObject,
184
- isOn,
185
- isPlainObject,
186
- isPromise,
187
- isReservedProp,
188
- isSet,
189
- isString,
190
- looseToNumber,
191
- makeMap,
192
- normalizeClass,
193
- normalizeStyle,
194
- objectToString,
195
- parseStringStyle,
196
- remove,
197
- toDisplayString,
198
- toHandlerKey,
199
- toRawType,
200
- toTypeString
1034
+ EffectScope,
1035
+ ITERATE_KEY,
1036
+ ReactiveEffect,
1037
+ computed,
1038
+ getCurrentScope,
1039
+ isProxy,
1040
+ isReactive,
1041
+ isReadonly,
1042
+ isRef,
1043
+ isShallow,
1044
+ markRaw,
1045
+ pauseTracking,
1046
+ proxyRefs,
1047
+ reactive,
1048
+ readonly,
1049
+ ref,
1050
+ resetTracking,
1051
+ shallowReactive,
1052
+ shallowReadonly,
1053
+ shallowRef,
1054
+ toRaw,
1055
+ track,
1056
+ trigger,
1057
+ unref
201
1058
  };