@eturnity/eturnity_reusable_components 8.13.11 → 8.13.13-EPDM-14085.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 (522) hide show
  1. package/package.json +1 -1
  2. package/src/assets/svgIcons/house_sun.svg +3 -0
  3. package/src/assets/theme.js +1 -0
  4. package/src/components/draggableCard/defaultProps.js +16 -0
  5. package/src/components/draggableCard/draggableCard.spec.js +99 -0
  6. package/src/components/draggableCard/draggableCard.stories.js +79 -0
  7. package/src/components/draggableCard/index.vue +354 -0
  8. package/src/components/inputs/checkbox/index.vue +2 -2
  9. package/src/components/spinner/index.vue +2 -2
  10. package/src/components/tables/mainTable/index.vue +4 -0
  11. package/dist/main.es.js +0 -7
  12. package/dist/main.es10.js +0 -10
  13. package/dist/main.es100.js +0 -23
  14. package/dist/main.es101.js +0 -23
  15. package/dist/main.es102.js +0 -20
  16. package/dist/main.es103.js +0 -20
  17. package/dist/main.es104.js +0 -20
  18. package/dist/main.es105.js +0 -37
  19. package/dist/main.es106.js +0 -28
  20. package/dist/main.es107.js +0 -32
  21. package/dist/main.es108.js +0 -18
  22. package/dist/main.es109.js +0 -33
  23. package/dist/main.es11.js +0 -2484
  24. package/dist/main.es110.js +0 -41
  25. package/dist/main.es111.js +0 -36
  26. package/dist/main.es112.js +0 -35
  27. package/dist/main.es113.js +0 -20
  28. package/dist/main.es114.js +0 -23
  29. package/dist/main.es115.js +0 -30
  30. package/dist/main.es116.js +0 -23
  31. package/dist/main.es117.js +0 -32
  32. package/dist/main.es118.js +0 -23
  33. package/dist/main.es119.js +0 -29
  34. package/dist/main.es12.js +0 -133
  35. package/dist/main.es120.js +0 -25
  36. package/dist/main.es121.js +0 -23
  37. package/dist/main.es122.js +0 -28
  38. package/dist/main.es123.js +0 -28
  39. package/dist/main.es124.js +0 -39
  40. package/dist/main.es125.js +0 -37
  41. package/dist/main.es126.js +0 -23
  42. package/dist/main.es127.js +0 -25
  43. package/dist/main.es128.js +0 -23
  44. package/dist/main.es129.js +0 -23
  45. package/dist/main.es13.js +0 -261
  46. package/dist/main.es130.js +0 -23
  47. package/dist/main.es131.js +0 -28
  48. package/dist/main.es132.js +0 -29
  49. package/dist/main.es133.js +0 -29
  50. package/dist/main.es134.js +0 -21
  51. package/dist/main.es135.js +0 -20
  52. package/dist/main.es136.js +0 -28
  53. package/dist/main.es137.js +0 -24
  54. package/dist/main.es138.js +0 -28
  55. package/dist/main.es139.js +0 -23
  56. package/dist/main.es14.js +0 -26
  57. package/dist/main.es140.js +0 -33
  58. package/dist/main.es141.js +0 -30
  59. package/dist/main.es142.js +0 -23
  60. package/dist/main.es143.js +0 -20
  61. package/dist/main.es144.js +0 -19
  62. package/dist/main.es145.js +0 -23
  63. package/dist/main.es146.js +0 -29
  64. package/dist/main.es147.js +0 -28
  65. package/dist/main.es148.js +0 -35
  66. package/dist/main.es149.js +0 -25
  67. package/dist/main.es15.js +0 -1058
  68. package/dist/main.es150.js +0 -25
  69. package/dist/main.es151.js +0 -23
  70. package/dist/main.es152.js +0 -41
  71. package/dist/main.es153.js +0 -41
  72. package/dist/main.es154.js +0 -25
  73. package/dist/main.es155.js +0 -23
  74. package/dist/main.es156.js +0 -23
  75. package/dist/main.es157.js +0 -25
  76. package/dist/main.es158.js +0 -23
  77. package/dist/main.es159.js +0 -23
  78. package/dist/main.es16.js +0 -692
  79. package/dist/main.es160.js +0 -23
  80. package/dist/main.es161.js +0 -23
  81. package/dist/main.es162.js +0 -23
  82. package/dist/main.es163.js +0 -23
  83. package/dist/main.es164.js +0 -20
  84. package/dist/main.es165.js +0 -28
  85. package/dist/main.es166.js +0 -28
  86. package/dist/main.es167.js +0 -28
  87. package/dist/main.es168.js +0 -28
  88. package/dist/main.es169.js +0 -25
  89. package/dist/main.es17.js +0 -95
  90. package/dist/main.es170.js +0 -23
  91. package/dist/main.es171.js +0 -23
  92. package/dist/main.es172.js +0 -20
  93. package/dist/main.es173.js +0 -20
  94. package/dist/main.es174.js +0 -23
  95. package/dist/main.es175.js +0 -18
  96. package/dist/main.es176.js +0 -23
  97. package/dist/main.es177.js +0 -20
  98. package/dist/main.es178.js +0 -25
  99. package/dist/main.es179.js +0 -25
  100. package/dist/main.es18.js +0 -78
  101. package/dist/main.es180.js +0 -23
  102. package/dist/main.es181.js +0 -23
  103. package/dist/main.es182.js +0 -20
  104. package/dist/main.es183.js +0 -23
  105. package/dist/main.es184.js +0 -23
  106. package/dist/main.es185.js +0 -32
  107. package/dist/main.es186.js +0 -23
  108. package/dist/main.es187.js +0 -32
  109. package/dist/main.es188.js +0 -37
  110. package/dist/main.es189.js +0 -32
  111. package/dist/main.es19.js +0 -143
  112. package/dist/main.es190.js +0 -39
  113. package/dist/main.es191.js +0 -28
  114. package/dist/main.es192.js +0 -20
  115. package/dist/main.es193.js +0 -20
  116. package/dist/main.es194.js +0 -25
  117. package/dist/main.es195.js +0 -23
  118. package/dist/main.es196.js +0 -40
  119. package/dist/main.es197.js +0 -23
  120. package/dist/main.es198.js +0 -21
  121. package/dist/main.es199.js +0 -19
  122. package/dist/main.es2.js +0 -34
  123. package/dist/main.es20.js +0 -152
  124. package/dist/main.es200.js +0 -20
  125. package/dist/main.es201.js +0 -20
  126. package/dist/main.es202.js +0 -33
  127. package/dist/main.es203.js +0 -23
  128. package/dist/main.es204.js +0 -23
  129. package/dist/main.es205.js +0 -28
  130. package/dist/main.es206.js +0 -23
  131. package/dist/main.es207.js +0 -23
  132. package/dist/main.es208.js +0 -21
  133. package/dist/main.es209.js +0 -23
  134. package/dist/main.es21.js +0 -108
  135. package/dist/main.es210.js +0 -28
  136. package/dist/main.es211.js +0 -23
  137. package/dist/main.es212.js +0 -23
  138. package/dist/main.es213.js +0 -23
  139. package/dist/main.es214.js +0 -28
  140. package/dist/main.es215.js +0 -28
  141. package/dist/main.es216.js +0 -20
  142. package/dist/main.es217.js +0 -23
  143. package/dist/main.es218.js +0 -35
  144. package/dist/main.es219.js +0 -28
  145. package/dist/main.es22.js +0 -4
  146. package/dist/main.es220.js +0 -29
  147. package/dist/main.es221.js +0 -24
  148. package/dist/main.es222.js +0 -23
  149. package/dist/main.es223.js +0 -28
  150. package/dist/main.es224.js +0 -25
  151. package/dist/main.es225.js +0 -23
  152. package/dist/main.es226.js +0 -23
  153. package/dist/main.es227.js +0 -20
  154. package/dist/main.es228.js +0 -20
  155. package/dist/main.es229.js +0 -23
  156. package/dist/main.es23.js +0 -169
  157. package/dist/main.es230.js +0 -23
  158. package/dist/main.es231.js +0 -25
  159. package/dist/main.es232.js +0 -38
  160. package/dist/main.es233.js +0 -30
  161. package/dist/main.es234.js +0 -28
  162. package/dist/main.es235.js +0 -23
  163. package/dist/main.es236.js +0 -22
  164. package/dist/main.es237.js +0 -28
  165. package/dist/main.es238.js +0 -23
  166. package/dist/main.es239.js +0 -18
  167. package/dist/main.es24.js +0 -201
  168. package/dist/main.es240.js +0 -23
  169. package/dist/main.es241.js +0 -25
  170. package/dist/main.es242.js +0 -23
  171. package/dist/main.es243.js +0 -23
  172. package/dist/main.es244.js +0 -23
  173. package/dist/main.es245.js +0 -23
  174. package/dist/main.es246.js +0 -23
  175. package/dist/main.es247.js +0 -23
  176. package/dist/main.es248.js +0 -23
  177. package/dist/main.es249.js +0 -23
  178. package/dist/main.es25.js +0 -55
  179. package/dist/main.es250.js +0 -30
  180. package/dist/main.es251.js +0 -23
  181. package/dist/main.es252.js +0 -23
  182. package/dist/main.es253.js +0 -28
  183. package/dist/main.es254.js +0 -23
  184. package/dist/main.es255.js +0 -23
  185. package/dist/main.es256.js +0 -28
  186. package/dist/main.es257.js +0 -33
  187. package/dist/main.es258.js +0 -28
  188. package/dist/main.es259.js +0 -28
  189. package/dist/main.es26.js +0 -12
  190. package/dist/main.es260.js +0 -23
  191. package/dist/main.es261.js +0 -25
  192. package/dist/main.es262.js +0 -28
  193. package/dist/main.es263.js +0 -30
  194. package/dist/main.es264.js +0 -23
  195. package/dist/main.es265.js +0 -23
  196. package/dist/main.es266.js +0 -23
  197. package/dist/main.es267.js +0 -23
  198. package/dist/main.es268.js +0 -28
  199. package/dist/main.es269.js +0 -252
  200. package/dist/main.es27.js +0 -6
  201. package/dist/main.es270.js +0 -22
  202. package/dist/main.es271.js +0 -25
  203. package/dist/main.es272.js +0 -7
  204. package/dist/main.es273.js +0 -383
  205. package/dist/main.es274.js +0 -54
  206. package/dist/main.es275.js +0 -15
  207. package/dist/main.es276.js +0 -64
  208. package/dist/main.es277.js +0 -4
  209. package/dist/main.es278.js +0 -4
  210. package/dist/main.es279.js +0 -4
  211. package/dist/main.es28.js +0 -103
  212. package/dist/main.es280.js +0 -4
  213. package/dist/main.es281.js +0 -4
  214. package/dist/main.es282.js +0 -4
  215. package/dist/main.es283.js +0 -4
  216. package/dist/main.es284.js +0 -4
  217. package/dist/main.es285.js +0 -4
  218. package/dist/main.es286.js +0 -4
  219. package/dist/main.es287.js +0 -4
  220. package/dist/main.es288.js +0 -4
  221. package/dist/main.es289.js +0 -4
  222. package/dist/main.es29.js +0 -62
  223. package/dist/main.es290.js +0 -4
  224. package/dist/main.es291.js +0 -4
  225. package/dist/main.es292.js +0 -4
  226. package/dist/main.es293.js +0 -4
  227. package/dist/main.es294.js +0 -4
  228. package/dist/main.es295.js +0 -4
  229. package/dist/main.es296.js +0 -4
  230. package/dist/main.es297.js +0 -4
  231. package/dist/main.es298.js +0 -4
  232. package/dist/main.es299.js +0 -4
  233. package/dist/main.es3.js +0 -70
  234. package/dist/main.es30.js +0 -69
  235. package/dist/main.es300.js +0 -4
  236. package/dist/main.es301.js +0 -4
  237. package/dist/main.es302.js +0 -4
  238. package/dist/main.es303.js +0 -4
  239. package/dist/main.es304.js +0 -4
  240. package/dist/main.es305.js +0 -4
  241. package/dist/main.es306.js +0 -4
  242. package/dist/main.es307.js +0 -4
  243. package/dist/main.es308.js +0 -4
  244. package/dist/main.es309.js +0 -4
  245. package/dist/main.es31.js +0 -801
  246. package/dist/main.es310.js +0 -4
  247. package/dist/main.es311.js +0 -4
  248. package/dist/main.es312.js +0 -4
  249. package/dist/main.es313.js +0 -4
  250. package/dist/main.es314.js +0 -4
  251. package/dist/main.es315.js +0 -4
  252. package/dist/main.es316.js +0 -4
  253. package/dist/main.es317.js +0 -4
  254. package/dist/main.es318.js +0 -4
  255. package/dist/main.es319.js +0 -4
  256. package/dist/main.es32.js +0 -127
  257. package/dist/main.es320.js +0 -4
  258. package/dist/main.es321.js +0 -4
  259. package/dist/main.es322.js +0 -4
  260. package/dist/main.es323.js +0 -4
  261. package/dist/main.es324.js +0 -4
  262. package/dist/main.es325.js +0 -4
  263. package/dist/main.es326.js +0 -4
  264. package/dist/main.es327.js +0 -4
  265. package/dist/main.es328.js +0 -4
  266. package/dist/main.es329.js +0 -4
  267. package/dist/main.es33.js +0 -4
  268. package/dist/main.es330.js +0 -4
  269. package/dist/main.es331.js +0 -4
  270. package/dist/main.es332.js +0 -4
  271. package/dist/main.es333.js +0 -4
  272. package/dist/main.es334.js +0 -4
  273. package/dist/main.es335.js +0 -4
  274. package/dist/main.es336.js +0 -4
  275. package/dist/main.es337.js +0 -4
  276. package/dist/main.es338.js +0 -4
  277. package/dist/main.es339.js +0 -4
  278. package/dist/main.es34.js +0 -29
  279. package/dist/main.es340.js +0 -4
  280. package/dist/main.es341.js +0 -4
  281. package/dist/main.es342.js +0 -4
  282. package/dist/main.es343.js +0 -4
  283. package/dist/main.es344.js +0 -4
  284. package/dist/main.es345.js +0 -4
  285. package/dist/main.es346.js +0 -4
  286. package/dist/main.es347.js +0 -4
  287. package/dist/main.es348.js +0 -4
  288. package/dist/main.es349.js +0 -4
  289. package/dist/main.es35.js +0 -34
  290. package/dist/main.es350.js +0 -4
  291. package/dist/main.es351.js +0 -4
  292. package/dist/main.es352.js +0 -4
  293. package/dist/main.es353.js +0 -4
  294. package/dist/main.es354.js +0 -4
  295. package/dist/main.es355.js +0 -4
  296. package/dist/main.es356.js +0 -4
  297. package/dist/main.es357.js +0 -4
  298. package/dist/main.es358.js +0 -4
  299. package/dist/main.es359.js +0 -4
  300. package/dist/main.es36.js +0 -36
  301. package/dist/main.es360.js +0 -4
  302. package/dist/main.es361.js +0 -4
  303. package/dist/main.es362.js +0 -4
  304. package/dist/main.es363.js +0 -4
  305. package/dist/main.es364.js +0 -4
  306. package/dist/main.es365.js +0 -4
  307. package/dist/main.es366.js +0 -4
  308. package/dist/main.es367.js +0 -4
  309. package/dist/main.es368.js +0 -4
  310. package/dist/main.es369.js +0 -4
  311. package/dist/main.es37.js +0 -41
  312. package/dist/main.es370.js +0 -4
  313. package/dist/main.es371.js +0 -4
  314. package/dist/main.es372.js +0 -4
  315. package/dist/main.es373.js +0 -4
  316. package/dist/main.es374.js +0 -4
  317. package/dist/main.es375.js +0 -4
  318. package/dist/main.es376.js +0 -4
  319. package/dist/main.es377.js +0 -4
  320. package/dist/main.es378.js +0 -4
  321. package/dist/main.es379.js +0 -4
  322. package/dist/main.es38.js +0 -35
  323. package/dist/main.es380.js +0 -4
  324. package/dist/main.es381.js +0 -4
  325. package/dist/main.es382.js +0 -4
  326. package/dist/main.es383.js +0 -4
  327. package/dist/main.es384.js +0 -4
  328. package/dist/main.es385.js +0 -4
  329. package/dist/main.es386.js +0 -4
  330. package/dist/main.es387.js +0 -4
  331. package/dist/main.es388.js +0 -4
  332. package/dist/main.es389.js +0 -4
  333. package/dist/main.es39.js +0 -20
  334. package/dist/main.es390.js +0 -4
  335. package/dist/main.es391.js +0 -4
  336. package/dist/main.es392.js +0 -4
  337. package/dist/main.es393.js +0 -4
  338. package/dist/main.es394.js +0 -4
  339. package/dist/main.es395.js +0 -4
  340. package/dist/main.es396.js +0 -4
  341. package/dist/main.es397.js +0 -4
  342. package/dist/main.es398.js +0 -4
  343. package/dist/main.es399.js +0 -4
  344. package/dist/main.es4.js +0 -19
  345. package/dist/main.es40.js +0 -20
  346. package/dist/main.es400.js +0 -4
  347. package/dist/main.es401.js +0 -4
  348. package/dist/main.es402.js +0 -4
  349. package/dist/main.es403.js +0 -4
  350. package/dist/main.es404.js +0 -4
  351. package/dist/main.es405.js +0 -4
  352. package/dist/main.es406.js +0 -4
  353. package/dist/main.es407.js +0 -4
  354. package/dist/main.es408.js +0 -4
  355. package/dist/main.es409.js +0 -4
  356. package/dist/main.es41.js +0 -25
  357. package/dist/main.es410.js +0 -4
  358. package/dist/main.es411.js +0 -4
  359. package/dist/main.es412.js +0 -4
  360. package/dist/main.es413.js +0 -4
  361. package/dist/main.es414.js +0 -4
  362. package/dist/main.es415.js +0 -4
  363. package/dist/main.es416.js +0 -4
  364. package/dist/main.es417.js +0 -4
  365. package/dist/main.es418.js +0 -4
  366. package/dist/main.es419.js +0 -4
  367. package/dist/main.es42.js +0 -28
  368. package/dist/main.es420.js +0 -4
  369. package/dist/main.es421.js +0 -4
  370. package/dist/main.es422.js +0 -4
  371. package/dist/main.es423.js +0 -4
  372. package/dist/main.es424.js +0 -4
  373. package/dist/main.es425.js +0 -4
  374. package/dist/main.es426.js +0 -4
  375. package/dist/main.es427.js +0 -4
  376. package/dist/main.es428.js +0 -4
  377. package/dist/main.es429.js +0 -4
  378. package/dist/main.es43.js +0 -23
  379. package/dist/main.es430.js +0 -4
  380. package/dist/main.es431.js +0 -4
  381. package/dist/main.es432.js +0 -4
  382. package/dist/main.es433.js +0 -4
  383. package/dist/main.es434.js +0 -4
  384. package/dist/main.es435.js +0 -4
  385. package/dist/main.es436.js +0 -4
  386. package/dist/main.es437.js +0 -4
  387. package/dist/main.es438.js +0 -4
  388. package/dist/main.es439.js +0 -4
  389. package/dist/main.es44.js +0 -44
  390. package/dist/main.es440.js +0 -4
  391. package/dist/main.es441.js +0 -4
  392. package/dist/main.es442.js +0 -4
  393. package/dist/main.es443.js +0 -4
  394. package/dist/main.es444.js +0 -4
  395. package/dist/main.es445.js +0 -4
  396. package/dist/main.es446.js +0 -4
  397. package/dist/main.es447.js +0 -4
  398. package/dist/main.es448.js +0 -4
  399. package/dist/main.es449.js +0 -4
  400. package/dist/main.es45.js +0 -38
  401. package/dist/main.es450.js +0 -4
  402. package/dist/main.es451.js +0 -4
  403. package/dist/main.es452.js +0 -4
  404. package/dist/main.es453.js +0 -4
  405. package/dist/main.es454.js +0 -4
  406. package/dist/main.es455.js +0 -4
  407. package/dist/main.es456.js +0 -4
  408. package/dist/main.es457.js +0 -4
  409. package/dist/main.es458.js +0 -4
  410. package/dist/main.es459.js +0 -4
  411. package/dist/main.es46.js +0 -23
  412. package/dist/main.es460.js +0 -4
  413. package/dist/main.es461.js +0 -4
  414. package/dist/main.es462.js +0 -4
  415. package/dist/main.es463.js +0 -4
  416. package/dist/main.es464.js +0 -4
  417. package/dist/main.es465.js +0 -4
  418. package/dist/main.es466.js +0 -4
  419. package/dist/main.es467.js +0 -4
  420. package/dist/main.es468.js +0 -4
  421. package/dist/main.es469.js +0 -4
  422. package/dist/main.es47.js +0 -23
  423. package/dist/main.es470.js +0 -4
  424. package/dist/main.es471.js +0 -4
  425. package/dist/main.es472.js +0 -4
  426. package/dist/main.es473.js +0 -4
  427. package/dist/main.es474.js +0 -4
  428. package/dist/main.es475.js +0 -4
  429. package/dist/main.es476.js +0 -4
  430. package/dist/main.es477.js +0 -4
  431. package/dist/main.es478.js +0 -4
  432. package/dist/main.es479.js +0 -4
  433. package/dist/main.es48.js +0 -24
  434. package/dist/main.es480.js +0 -4
  435. package/dist/main.es481.js +0 -4
  436. package/dist/main.es482.js +0 -4
  437. package/dist/main.es483.js +0 -4
  438. package/dist/main.es484.js +0 -4
  439. package/dist/main.es485.js +0 -4
  440. package/dist/main.es486.js +0 -4
  441. package/dist/main.es487.js +0 -4
  442. package/dist/main.es488.js +0 -4
  443. package/dist/main.es489.js +0 -4
  444. package/dist/main.es49.js +0 -35
  445. package/dist/main.es490.js +0 -4
  446. package/dist/main.es491.js +0 -4
  447. package/dist/main.es492.js +0 -4
  448. package/dist/main.es493.js +0 -4
  449. package/dist/main.es494.js +0 -4
  450. package/dist/main.es495.js +0 -4
  451. package/dist/main.es496.js +0 -4
  452. package/dist/main.es497.js +0 -4
  453. package/dist/main.es498.js +0 -4
  454. package/dist/main.es499.js +0 -4
  455. package/dist/main.es5.js +0 -586
  456. package/dist/main.es50.js +0 -30
  457. package/dist/main.es500.js +0 -4
  458. package/dist/main.es501.js +0 -4
  459. package/dist/main.es502.js +0 -4
  460. package/dist/main.es503.js +0 -4
  461. package/dist/main.es504.js +0 -4
  462. package/dist/main.es505.js +0 -4
  463. package/dist/main.es506.js +0 -4
  464. package/dist/main.es507.js +0 -4
  465. package/dist/main.es508.js +0 -4
  466. package/dist/main.es509.js +0 -4
  467. package/dist/main.es51.js +0 -34
  468. package/dist/main.es510.js +0 -4
  469. package/dist/main.es511.js +0 -88
  470. package/dist/main.es52.js +0 -20
  471. package/dist/main.es53.js +0 -20
  472. package/dist/main.es54.js +0 -23
  473. package/dist/main.es55.js +0 -28
  474. package/dist/main.es56.js +0 -28
  475. package/dist/main.es57.js +0 -23
  476. package/dist/main.es58.js +0 -25
  477. package/dist/main.es59.js +0 -24
  478. package/dist/main.es6.js +0 -5872
  479. package/dist/main.es60.js +0 -23
  480. package/dist/main.es61.js +0 -23
  481. package/dist/main.es62.js +0 -23
  482. package/dist/main.es63.js +0 -23
  483. package/dist/main.es64.js +0 -23
  484. package/dist/main.es65.js +0 -20
  485. package/dist/main.es66.js +0 -23
  486. package/dist/main.es67.js +0 -23
  487. package/dist/main.es68.js +0 -21
  488. package/dist/main.es69.js +0 -20
  489. package/dist/main.es7.js +0 -1904
  490. package/dist/main.es70.js +0 -23
  491. package/dist/main.es71.js +0 -28
  492. package/dist/main.es72.js +0 -28
  493. package/dist/main.es73.js +0 -23
  494. package/dist/main.es74.js +0 -23
  495. package/dist/main.es75.js +0 -23
  496. package/dist/main.es76.js +0 -23
  497. package/dist/main.es77.js +0 -31
  498. package/dist/main.es78.js +0 -23
  499. package/dist/main.es79.js +0 -33
  500. package/dist/main.es8.js +0 -42
  501. package/dist/main.es80.js +0 -30
  502. package/dist/main.es81.js +0 -23
  503. package/dist/main.es82.js +0 -22
  504. package/dist/main.es83.js +0 -25
  505. package/dist/main.es84.js +0 -28
  506. package/dist/main.es85.js +0 -35
  507. package/dist/main.es86.js +0 -23
  508. package/dist/main.es87.js +0 -23
  509. package/dist/main.es88.js +0 -33
  510. package/dist/main.es89.js +0 -20
  511. package/dist/main.es9.js +0 -4
  512. package/dist/main.es90.js +0 -28
  513. package/dist/main.es91.js +0 -28
  514. package/dist/main.es92.js +0 -23
  515. package/dist/main.es93.js +0 -23
  516. package/dist/main.es94.js +0 -24
  517. package/dist/main.es95.js +0 -28
  518. package/dist/main.es96.js +0 -28
  519. package/dist/main.es97.js +0 -23
  520. package/dist/main.es98.js +0 -23
  521. package/dist/main.es99.js +0 -28
  522. 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.11",
3
+ "version": "8.13.13-EPDM-14085.0",
4
4
  "files": [
5
5
  "dist",
6
6
  "src"
@@ -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 fill-rule="evenodd" clip-rule="evenodd" d="M8 0.5C8.27614 0.5 8.5 0.723858 8.5 1V2.86667C8.5 3.14281 8.27614 3.36667 8 3.36667C7.72386 3.36667 7.5 3.14281 7.5 2.86667V1C7.5 0.723858 7.72386 0.5 8 0.5ZM0.5 8C0.5 7.72386 0.723858 7.5 1 7.5H2.86667C3.14281 7.5 3.36667 7.72386 3.36667 8C3.36667 8.27614 3.14281 8.5 2.86667 8.5H1C0.723858 8.5 0.5 8.27614 0.5 8ZM12.6333 8C12.6333 7.72386 12.8572 7.5 13.1333 7.5H15C15.2761 7.5 15.5 7.72386 15.5 8C15.5 8.27614 15.2761 8.5 15 8.5H13.1333C12.8572 8.5 12.6333 8.27614 12.6333 8ZM8.99987 10.8145C9.09475 11.0816 9.39061 11.2244 9.64095 11.0915C10.059 10.8696 10.4293 10.5644 10.728 10.1927C11.1343 9.6872 11.3922 9.0787 11.4728 8.43514C11.5535 7.79158 11.4537 7.13827 11.1847 6.54812C10.9156 5.95796 10.4879 5.45417 9.94915 5.09297C9.41045 4.73177 8.78197 4.52736 8.13385 4.50256C7.48573 4.47776 6.84347 4.63353 6.27873 4.9525C5.71399 5.27148 5.24899 5.7411 4.93563 6.30896C4.70526 6.72642 4.56349 7.1849 4.51696 7.65586C4.48909 7.93792 4.73355 8.15738 5.01665 8.14374C5.29975 8.1301 5.51274 7.8874 5.55771 7.60756C5.60274 7.32731 5.69588 7.05561 5.83426 6.80486C6.05573 6.40352 6.38437 6.07162 6.7835 5.84619C7.18262 5.62076 7.63654 5.51066 8.0946 5.52819C8.55265 5.54572 8.99683 5.69019 9.37756 5.94546C9.75829 6.20074 10.0606 6.55679 10.2507 6.97388C10.4409 7.39098 10.5114 7.8527 10.4544 8.30754C10.3974 8.76237 10.2152 9.19242 9.928 9.54971C9.74858 9.77293 9.5326 9.96227 9.29044 10.1103C9.04864 10.2582 8.90499 10.5474 8.99987 10.8145ZM5.17261 9.95833C5.36097 9.79137 5.64409 9.79046 5.83352 9.95621L8.82925 12.5775C8.93776 12.6724 9 12.8096 9 12.9538V14.5C9 14.7761 9.22386 15 9.5 15C9.77614 15 10 14.7761 10 14.5V12.9538C10 12.5212 9.81328 12.1097 9.48776 11.8249L6.49202 9.20363C5.92373 8.70638 5.0744 8.7091 4.5093 9.20998L1.50504 11.8728C1.18385 12.1575 1 12.5662 1 12.9954V14.5C1 14.7761 1.22386 15 1.5 15C1.77614 15 2 14.7761 2 14.5V12.9954C2 12.8523 2.06128 12.7161 2.16835 12.6212L5.17261 9.95833ZM3.40391 2.69668C3.20865 2.50142 2.89206 2.50142 2.6968 2.69668C2.50154 2.89194 2.50154 3.20852 2.6968 3.40379L4.01673 4.72372C4.212 4.91898 4.52858 4.91898 4.72384 4.72372C4.9191 4.52846 4.9191 4.21187 4.72384 4.01661L3.40391 2.69668ZM11.2764 4.01661C11.0811 4.21187 11.0811 4.52846 11.2764 4.72372C11.4716 4.91898 11.7882 4.91898 11.9835 4.72372L13.3034 3.40379C13.4987 3.20852 13.4987 2.89194 13.3034 2.69668C13.1081 2.50142 12.7916 2.50142 12.5963 2.69668L11.2764 4.01661ZM11.9835 11.2762C11.7882 11.081 11.4716 11.081 11.2764 11.2762C11.0811 11.4715 11.0811 11.7881 11.2764 11.9833L12.5963 13.3033C12.7916 13.4985 13.1081 13.4985 13.3034 13.3033C13.4987 13.108 13.4987 12.7914 13.3034 12.5962L11.9835 11.2762Z" fill="black"/>
3
+ </svg>
@@ -71,6 +71,7 @@ const theme = (() => {
71
71
  transparentWhite2: '#ffffff32',
72
72
  transparentWhite1: '#ffffff16',
73
73
  transparentBlack1: '#263238e6',
74
+ transparentBlack2: '#263238e5',
74
75
  transparentBlue1: '#20a4cae6',
75
76
  blueElectric: '#66dffa',
76
77
  eturnityGrey: '#263238',
@@ -0,0 +1,16 @@
1
+ const defaultProps = {
2
+ title: 'Sample Title',
3
+ infoText: 'Sample Info Text',
4
+ initialPosition: { top: '0px', left: '0px' },
5
+ minWidth: '284px',
6
+ maxWidth: '284px',
7
+ dragTargets: ['document'],
8
+ dragBounds: {},
9
+ sampleBody1:
10
+ 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.',
11
+ sampleBody2:
12
+ 'Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.',
13
+ sampleFooter: 'Sample footer',
14
+ }
15
+
16
+ export default defaultProps
@@ -0,0 +1,99 @@
1
+ import { mount } from '@vue/test-utils'
2
+ import DraggableCard from '@/components/draggableCard'
3
+ import defaultProps from './defaultProps'
4
+
5
+ jest.mock('@/components/icon/iconCache.mjs', () => ({
6
+ // need to mock this due to how jest handles import.meta
7
+ fetchIcon: jest.fn(() => Promise.resolve('mocked-icon-url.svg')),
8
+ }))
9
+
10
+ describe('DraggableCard.vue', () => {
11
+ it('renders properly with required props', () => {
12
+ const wrapper = mount(DraggableCard, { props: defaultProps })
13
+ expect(
14
+ wrapper.find('[data-test-id="draggable_card_header"]').text()
15
+ ).toContain(defaultProps.title)
16
+
17
+ // Expect no footer rendered if not provided
18
+ const footerElement = wrapper.find('[data-test-id="draggable_card_footer"]')
19
+ expect(footerElement.exists()).toBe(false)
20
+ })
21
+
22
+ it('renders body slot content correctly', () => {
23
+ const wrapper = mount(DraggableCard, {
24
+ props: defaultProps,
25
+ slots: {
26
+ body: `
27
+ <div class="custom_body1">${defaultProps.sampleBody1}</div>
28
+ <div class="custom_body2">${defaultProps.sampleBody2}</div>
29
+ `,
30
+ },
31
+ })
32
+ expect(wrapper.find('.custom_body1').exists()).toBe(true)
33
+ expect(wrapper.text()).toContain(defaultProps.sampleBody1)
34
+ expect(wrapper.find('.custom_body2').exists()).toBe(true)
35
+ expect(wrapper.text()).toContain(defaultProps.sampleBody2)
36
+ })
37
+
38
+ it('renders footer slot content correctly', () => {
39
+ const wrapper = mount(DraggableCard, {
40
+ props: defaultProps,
41
+ slots: {
42
+ footer: `<div class="custom_footer">${defaultProps.sampleFooter}</div>`,
43
+ },
44
+ })
45
+ expect(
46
+ wrapper.find('[data-test-id="draggable_card_footer"]').exists()
47
+ ).toBe(true)
48
+ expect(wrapper.find('.custom_footer').exists()).toBe(true)
49
+ expect(wrapper.text()).toContain(defaultProps.sampleFooter)
50
+ })
51
+
52
+ it('emits "on-close" when close button is clicked', async () => {
53
+ const wrapper = mount(DraggableCard, { props: defaultProps })
54
+ await wrapper
55
+ .find('[data-test-id="draggable_card_close_button"]')
56
+ .trigger('click')
57
+ expect(wrapper.emitted('on-close')).toBeTruthy()
58
+ })
59
+
60
+ it('toggles collapse state when arrow icon is clicked', async () => {
61
+ const wrapper = mount(DraggableCard, {
62
+ props: { ...defaultProps, isCollapsible: true },
63
+ })
64
+ expect(wrapper.vm.isCollapsed).toBe(false)
65
+ await wrapper
66
+ .find('[data-test-id="draggable_card_collapse_button"]')
67
+ .trigger('click')
68
+ expect(wrapper.vm.isCollapsed).toBe(true)
69
+ })
70
+
71
+ it('handles drag start event', async () => {
72
+ const wrapper = mount(DraggableCard, { props: defaultProps })
73
+ await wrapper
74
+ .find('[data-test-id="draggable_card_drag_icon"]')
75
+ .trigger('mousedown', { clientX: 100, clientY: 100 })
76
+ expect(wrapper.vm.isDragging).toBe(true)
77
+ })
78
+
79
+ it('handles drag move event', async () => {
80
+ const wrapper = mount(DraggableCard, { props: defaultProps })
81
+ wrapper.vm.onDragStart(
82
+ { preventDefault: () => {}, clientX: 100, clientY: 100 },
83
+ false
84
+ )
85
+ wrapper.vm.onDrag({ preventDefault: () => {}, clientX: 120, clientY: 120 })
86
+ expect(wrapper.vm.eventCoordinates.x).toBe(120)
87
+ expect(wrapper.vm.eventCoordinates.y).toBe(120)
88
+ })
89
+
90
+ it('handles drag end event', async () => {
91
+ const wrapper = mount(DraggableCard, { props: defaultProps })
92
+ wrapper.vm.onDragStart(
93
+ { preventDefault: () => {}, clientX: 100, clientY: 100 },
94
+ false
95
+ )
96
+ wrapper.vm.onDragEnd()
97
+ expect(wrapper.vm.isDragging).toBe(false)
98
+ })
99
+ })
@@ -0,0 +1,79 @@
1
+ import defaultProps from './defaultProps'
2
+ import DraggableCard from './index.vue'
3
+ import styled from 'vue3-styled-components'
4
+ import theme from '@/assets/theme'
5
+
6
+ export default {
7
+ title: 'DraggableCard',
8
+ component: DraggableCard,
9
+ tags: ['autodocs'],
10
+ }
11
+
12
+ const TextContainer = styled.div`
13
+ font-family: ${theme.fonts.mainFont};
14
+ color: ${theme.colors.white};
15
+ font-weight: 400;
16
+ font-size: 14px;
17
+ line-height: 21px;
18
+ letter-spacing: 0%;
19
+ `
20
+
21
+ const CompleteTemplate = (args) => {
22
+ return {
23
+ components: { DraggableCard, TextContainer },
24
+ setup() {
25
+ return { args }
26
+ },
27
+ template: `
28
+ <DraggableCard v-bind="args">
29
+ <template #body>
30
+ <TextContainer>{{ args.sampleBody1 }}</TextContainer>
31
+ <TextContainer>{{ args.sampleBody2 }}</TextContainer>
32
+ </template>
33
+ <template #footer>
34
+ <TextContainer>{{ args.sampleFooter }}</TextContainer>
35
+ </template>
36
+ </DraggableCard>
37
+ `,
38
+ }
39
+ }
40
+
41
+ export const Default = CompleteTemplate.bind({})
42
+ Default.args = {
43
+ ...defaultProps,
44
+ }
45
+
46
+ export const NotCollapsible = CompleteTemplate.bind({})
47
+ NotCollapsible.args = {
48
+ ...defaultProps,
49
+ isCollapsible: false,
50
+ }
51
+
52
+ export const AdjustWidth = CompleteTemplate.bind({})
53
+ AdjustWidth.args = {
54
+ ...defaultProps,
55
+ minWidth: '100px',
56
+ maxWidth: '500px',
57
+ }
58
+
59
+ const NoFooterTemplate = (args) => {
60
+ return {
61
+ components: { DraggableCard, TextContainer },
62
+ setup() {
63
+ return { args }
64
+ },
65
+ template: `
66
+ <DraggableCard v-bind="args">
67
+ <template #body>
68
+ <TextContainer>{{ args.sampleBody1 }}</TextContainer>
69
+ <TextContainer>{{ args.sampleBody2 }}</TextContainer>
70
+ </template>
71
+ </DraggableCard>
72
+ `,
73
+ }
74
+ }
75
+
76
+ export const NoFooter = NoFooterTemplate.bind({})
77
+ NoFooter.args = {
78
+ ...defaultProps,
79
+ }
@@ -0,0 +1,354 @@
1
+ <template>
2
+ <CardContainer
3
+ data-test-id="draggable_card_container"
4
+ :initial-position="initialPosition"
5
+ :max-width="maxWidth"
6
+ :min-width="minWidth"
7
+ >
8
+ <HeaderContainer data-test-id="draggable_card_header">
9
+ <SubHeaderWrapper>
10
+ <LeftIconsContainer>
11
+ <DragHandleWrapper :class="{ dragging: isDragging }">
12
+ <RCIcon
13
+ :color="theme.colors.grey3"
14
+ data-test-id="draggable_card_drag_icon"
15
+ name="drag_icon"
16
+ size="14px"
17
+ :title="$gettext('drag_drop')"
18
+ @mousedown="(event) => onDragStart(event, false)"
19
+ @touchstart="
20
+ (event) => {
21
+ onDragStart(event, true)
22
+ }
23
+ "
24
+ />
25
+ </DragHandleWrapper>
26
+ <ArrowIconWrapper
27
+ v-if="isCollapsible"
28
+ data-test-id="draggable_card_collapse_button"
29
+ :is-collapsed="isCollapsed"
30
+ @click="toggleCollapse"
31
+ >
32
+ <CollapseArrowIcon />
33
+ </ArrowIconWrapper>
34
+ </LeftIconsContainer>
35
+ <TitleContainer :data-id="titleDataId">
36
+ <TextContainer>{{ title }}</TextContainer>
37
+ <InfoText v-if="infoText?.length" :text="infoText" />
38
+ </TitleContainer>
39
+ </SubHeaderWrapper>
40
+ <CloseButton
41
+ class="close"
42
+ data-test-id="draggable_card_close_button"
43
+ @click="$emit('on-close')"
44
+ />
45
+ </HeaderContainer>
46
+ <BodyContainer v-if="!isCollapsed" data-test-id="draggable_card_body">
47
+ <slot name="body"></slot>
48
+ </BodyContainer>
49
+ <FooterContainer v-if="$slots.footer" data-test-id="draggable_card_footer">
50
+ <slot name="footer"></slot>
51
+ </FooterContainer>
52
+ </CardContainer>
53
+ </template>
54
+
55
+ <script>
56
+ import styled from 'vue3-styled-components'
57
+ import theme from '../../assets/theme.js'
58
+ import RCIcon from '../icon'
59
+ import CloseButton from '../buttons/closeButton'
60
+ import InfoText from '../infoText'
61
+ import CollapseArrowIcon from '../../assets/icons/collapse_arrow_icon.svg'
62
+
63
+ const CardContainerAttr = {
64
+ initialPosition: Object,
65
+ minWidth: String,
66
+ maxWidth: String,
67
+ }
68
+ const CardContainer = styled('div', CardContainerAttr)`
69
+ position: absolute;
70
+ display: flex;
71
+ flex-direction: column;
72
+ border-radius: 4px;
73
+ min-width: ${(props) => props.minWidth};
74
+ max-width: ${(props) => props.maxWidth};
75
+ background: ${theme.colors.transparentBlack2};
76
+ z-index: 5;
77
+ ${(props) =>
78
+ props.initialPosition?.top && `top: ${props.initialPosition.top};`}
79
+ ${(props) =>
80
+ props.initialPosition?.right && `right: ${props.initialPosition.right};`}
81
+ ${(props) =>
82
+ props.initialPosition?.left && `left: ${props.initialPosition.left};`}
83
+ ${(props) =>
84
+ props.initialPosition?.bottom &&
85
+ `bottom: ${props.initialPosition.bottom};`}
86
+ `
87
+
88
+ const HeaderContainer = styled.div`
89
+ display: flex;
90
+ align-items: center;
91
+ justify-content: space-between;
92
+ padding: 8px;
93
+ `
94
+
95
+ const SubHeaderWrapper = styled.div`
96
+ display: flex;
97
+ min-width: 180px;
98
+ align-items: center;
99
+ justify-content: space-between;
100
+ height: fit-content;
101
+ margin-right: 14px;
102
+ `
103
+
104
+ const LeftIconsContainer = styled.div`
105
+ display: flex;
106
+ align-items: center;
107
+ gap: 4px;
108
+ margin-right: 14px;
109
+ `
110
+
111
+ const TitleContainer = styled.div`
112
+ display: flex;
113
+ align-items: center;
114
+ gap: 8px;
115
+ `
116
+
117
+ const TextContainer = styled.div`
118
+ font-family: ${theme.fonts.mainFont};
119
+ font-weight: 600;
120
+ font-size: 14px;
121
+ line-height: 19.6px;
122
+ letter-spacing: -1%;
123
+ color: ${theme.colors.white};
124
+ word-break: break-word;
125
+ overflow-wrap: break-word;
126
+ white-space: normal;
127
+ `
128
+
129
+ const DragHandleWrapper = styled.div`
130
+ display: grid;
131
+ align-items: center;
132
+ justify-items: center;
133
+ width: 26px;
134
+ height: 26px;
135
+ cursor: grab;
136
+ &.dragging {
137
+ cursor: grabbing;
138
+ }
139
+ `
140
+
141
+ const collapsedAttrs = {
142
+ isCollapsed: Boolean,
143
+ }
144
+ const ArrowIconWrapper = styled('div', collapsedAttrs)`
145
+ display: flex;
146
+ align-items: center;
147
+ justify-content: center;
148
+ width: 8px;
149
+ height: 26px;
150
+ cursor: pointer;
151
+ transition: transform 0.3s ease;
152
+ path {
153
+ fill: ${theme.colors.white};
154
+ }
155
+
156
+ ${(props) => props.isCollapsed && 'transform: rotate(-180deg);'}
157
+ `
158
+
159
+ const BodyContainer = styled.div`
160
+ display: flex;
161
+ flex-direction: column;
162
+ gap: 16px;
163
+ padding-top: 8px;
164
+ padding-right: 16px;
165
+ padding-bottom: 8px;
166
+ padding-left: 16px;
167
+ word-break: break-word;
168
+ overflow-wrap: break-word;
169
+ white-space: normal;
170
+ `
171
+
172
+ const FooterContainer = styled.div`
173
+ display: flex;
174
+ border-radius: 4px;
175
+ align-items: center;
176
+ justify-content: space-between;
177
+ padding: 8px;
178
+ background: ${theme.colors.eturnityGrey};
179
+ word-break: break-word;
180
+ overflow-wrap: break-word;
181
+ white-space: normal;
182
+ `
183
+
184
+ export default {
185
+ name: 'DraggableCard',
186
+ components: {
187
+ CardContainer,
188
+ HeaderContainer,
189
+ SubHeaderWrapper,
190
+ LeftIconsContainer,
191
+ TextContainer,
192
+ DragHandleWrapper,
193
+ ArrowIconWrapper,
194
+ CollapseArrowIcon,
195
+ RCIcon,
196
+ CloseButton,
197
+ InfoText,
198
+ TitleContainer,
199
+ BodyContainer,
200
+ FooterContainer,
201
+ },
202
+ props: {
203
+ minWidth: {
204
+ required: true,
205
+ type: String,
206
+ },
207
+ maxWidth: {
208
+ required: true,
209
+ type: String,
210
+ },
211
+ initialPosition: {
212
+ required: true,
213
+ type: Object,
214
+ },
215
+ title: {
216
+ required: true,
217
+ type: String,
218
+ },
219
+ titleDataId: {
220
+ required: false,
221
+ type: String,
222
+ default: '',
223
+ },
224
+ isCollapsible: {
225
+ required: false,
226
+ type: Boolean,
227
+ default: true,
228
+ },
229
+ infoText: {
230
+ required: false,
231
+ type: String,
232
+ default: '',
233
+ },
234
+ dragTargets: {
235
+ required: false,
236
+ type: Array,
237
+ default: () => ['document'],
238
+ },
239
+ dragBounds: {
240
+ required: false,
241
+ type: Object,
242
+ default: () => {},
243
+ },
244
+ },
245
+ emits: ['on-close'],
246
+ data() {
247
+ return {
248
+ isCollapsed: false,
249
+ isDragging: false,
250
+ isTouchStart: false,
251
+ eventCoordinates: {
252
+ x: 0,
253
+ y: 0,
254
+ },
255
+ }
256
+ },
257
+ computed: {
258
+ dragBoundsEnabled() {
259
+ const minPosition = this.dragBounds?.min
260
+ const maxPosition = this.dragBounds?.max
261
+ return (
262
+ minPosition?.top &&
263
+ minPosition?.left &&
264
+ maxPosition?.top &&
265
+ maxPosition?.left
266
+ )
267
+ },
268
+ theme() {
269
+ return theme
270
+ },
271
+ },
272
+ beforeUnmount() {
273
+ this.removeEvents()
274
+ },
275
+ methods: {
276
+ toggleCollapse() {
277
+ this.isCollapsed = !this.isCollapsed
278
+ },
279
+ onDragStart(e, isTouchStart) {
280
+ e.preventDefault()
281
+ this.isDragging = true
282
+ this.isTouchStart = isTouchStart
283
+ this.eventCoordinates.x = isTouchStart
284
+ ? e.touches[0].clientX
285
+ : e.clientX
286
+ this.eventCoordinates.y = isTouchStart
287
+ ? e.touches[0].clientY
288
+ : e.clientY
289
+ this.dragTargets.forEach((id) => {
290
+ const target =
291
+ id === 'document' ? document : document.getElementById(id)
292
+ if (target && target.addEventListener) {
293
+ target.addEventListener(
294
+ isTouchStart ? 'touchend' : 'mouseup',
295
+ this.onDragEnd
296
+ )
297
+ target.addEventListener(
298
+ isTouchStart ? 'touchmove' : 'mousemove',
299
+ this.onDrag
300
+ )
301
+ }
302
+ })
303
+ document.addEventListener(
304
+ isTouchStart ? 'touchend' : 'mouseup',
305
+ this.onDragEnd
306
+ )
307
+ },
308
+ onDrag(e) {
309
+ e.preventDefault()
310
+ const eventX = this.isTouchStart ? e.touches[0].clientX : e.clientX
311
+ const eventY = this.isTouchStart ? e.touches[0].clientY : e.clientY
312
+ const deltaX = this.eventCoordinates.x - eventX
313
+ const deltaY = this.eventCoordinates.y - eventY
314
+ this.eventCoordinates.x = eventX
315
+ this.eventCoordinates.y = eventY
316
+ const element = this.$el
317
+ let positionY = element.offsetTop - deltaY
318
+ let positionX = element.offsetLeft - deltaX
319
+ if (this.dragBoundsEnabled) {
320
+ const minPosition = this.dragBounds.min
321
+ const maxPosition = this.dragBounds.max
322
+ positionY = Math.min(
323
+ Math.max(positionY, minPosition.top),
324
+ maxPosition.top
325
+ )
326
+ positionX = Math.min(
327
+ Math.max(positionX, minPosition.left),
328
+ maxPosition.left
329
+ )
330
+ }
331
+ element.style.top = positionY + 'px'
332
+ element.style.left = positionX + 'px'
333
+ },
334
+ onDragEnd() {
335
+ this.isDragging = false
336
+ this.removeEvents()
337
+ },
338
+ removeEvents() {
339
+ this.dragTargets.forEach((id) => {
340
+ const target =
341
+ id === 'document' ? document : document.getElementById(id)
342
+ if (target && target.removeEventListener) {
343
+ target.removeEventListener('mouseup', this.onDragEnd)
344
+ target.removeEventListener('touchend', this.onDragEnd)
345
+ target.removeEventListener('mousemove', this.onDrag)
346
+ target.removeEventListener('touchmove', this.onDrag)
347
+ }
348
+ })
349
+ document.removeEventListener('mouseup', this.onDragEnd)
350
+ document.removeEventListener('touchend', this.onDragEnd)
351
+ },
352
+ },
353
+ }
354
+ </script>
@@ -44,7 +44,7 @@
44
44
  import styled from 'vue3-styled-components'
45
45
 
46
46
  const ComponentWrapper = styled.div`
47
- min-height: 18px;
47
+ min-height: 16px;
48
48
  `
49
49
 
50
50
  const CheckWrapper = styled('div', { hasLabel: Boolean })`
@@ -179,7 +179,7 @@
179
179
  font-size: 13px;
180
180
  display: grid;
181
181
  align-items: center;
182
- min-height: 18px;
182
+ min-height: 16px;
183
183
  color: ${(props) =>
184
184
  props.isDisabled ? props.theme.colors.grey2 : 'unset'};
185
185
  `
@@ -43,8 +43,8 @@
43
43
  align-items: center;
44
44
  justify-items: center;
45
45
  position: ${(props) => (props.limitedToModal ? 'absolute' : 'inherit')};
46
- height: ${(props) => (props.limitedToModal ? '100%' : 'auto')};
47
- width: ${(props) => (props.limitedToModal ? '100%' : 'auto')};
46
+ height: 100%;
47
+ width: 100%;
48
48
  `
49
49
 
50
50
  const wrapperAttrs = { size: String }
@@ -256,6 +256,10 @@
256
256
  background-color: ${(props) => props.theme.colors.grey5};
257
257
  }
258
258
 
259
+ td:first-of-type {
260
+ padding-left: 15px !important;
261
+ }
262
+
259
263
  .text {
260
264
  cursor: auto !important;
261
265
  }
package/dist/main.es.js DELETED
@@ -1,7 +0,0 @@
1
- import App from "./main.es2.js";
2
- import "./main.es3.js";
3
- import router from "./main.es4.js";
4
- import { createApp } from "./main.es5.js";
5
- const app = createApp(App);
6
- app.use(router);
7
- app.mount("#app");
package/dist/main.es10.js DELETED
@@ -1,10 +0,0 @@
1
- const _export_sfc = (sfc, props) => {
2
- const target = sfc.__vccOpts || sfc;
3
- for (const [key, val] of props) {
4
- target[key] = val;
5
- }
6
- return target;
7
- };
8
- export {
9
- _export_sfc as default
10
- };
@@ -1,23 +0,0 @@
1
- import "./main.es3.js";
2
- import { openBlock, createElementBlock, createElementVNode as createBaseVNode } from "./main.es6.js";
3
- const _hoisted_1 = {
4
- xmlns: "http://www.w3.org/2000/svg",
5
- width: "18",
6
- height: "18",
7
- fill: "none"
8
- };
9
- const _hoisted_2 = /* @__PURE__ */ createBaseVNode("path", {
10
- fill: "#fff",
11
- d: "m13.483 9.497-3.069 3.069-.414.414V13h-.02l-.98.98-.98-.98H8v-.02l-.414-.414-3.069-3.069 1.414-1.414 2.07 2.068V4h2v6.151l2.068-2.069zM16 16H0v2h18v-2zM16 0H0v2h18V0z"
12
- }, null, -1);
13
- const _hoisted_3 = [
14
- _hoisted_2
15
- ];
16
- function render(_ctx, _cache) {
17
- return openBlock(), createElementBlock("svg", _hoisted_1, _hoisted_3);
18
- }
19
- const deal_flow = { render };
20
- export {
21
- deal_flow as default,
22
- render
23
- };
@@ -1,23 +0,0 @@
1
- import "./main.es3.js";
2
- import { openBlock, createElementBlock, createElementVNode as createBaseVNode } from "./main.es6.js";
3
- const _hoisted_1 = {
4
- xmlns: "http://www.w3.org/2000/svg",
5
- width: "14",
6
- height: "16",
7
- fill: "none"
8
- };
9
- const _hoisted_2 = /* @__PURE__ */ createBaseVNode("path", {
10
- fill: "#DEE2EB",
11
- d: "M15.771 25.713A1.35 1.35 0 0 0 17.124 27h5.494c.725 0 1.317-.564 1.353-1.287l.79-9.1h-9.78zm5.455-6.842h.903v4.968h-.903zm-1.807 0h.904v4.968h-.904zm-1.806 0h.903v4.968h-.903zM22.129 13.903V13h-4.516v.903H14v1.807h11.742v-1.807z"
12
- }, null, -1);
13
- const _hoisted_3 = [
14
- _hoisted_2
15
- ];
16
- function render(_ctx, _cache) {
17
- return openBlock(), createElementBlock("svg", _hoisted_1, _hoisted_3);
18
- }
19
- const _delete = { render };
20
- export {
21
- _delete as default,
22
- render
23
- };