@eturnity/eturnity_reusable_components 7.45.2--EPDM-12129.4 → 7.45.2--EPDM-12129.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (513) hide show
  1. package/dist/main.es.js +7 -0
  2. package/dist/main.es10.js +10 -0
  3. package/dist/main.es100.js +23 -0
  4. package/dist/main.es101.js +23 -0
  5. package/dist/main.es102.js +20 -0
  6. package/dist/main.es103.js +20 -0
  7. package/dist/main.es104.js +20 -0
  8. package/dist/main.es105.js +37 -0
  9. package/dist/main.es106.js +28 -0
  10. package/dist/main.es107.js +32 -0
  11. package/dist/main.es108.js +18 -0
  12. package/dist/main.es109.js +33 -0
  13. package/dist/main.es11.js +2484 -0
  14. package/dist/main.es110.js +41 -0
  15. package/dist/main.es111.js +36 -0
  16. package/dist/main.es112.js +35 -0
  17. package/dist/main.es113.js +20 -0
  18. package/dist/main.es114.js +23 -0
  19. package/dist/main.es115.js +30 -0
  20. package/dist/main.es116.js +23 -0
  21. package/dist/main.es117.js +32 -0
  22. package/dist/main.es118.js +23 -0
  23. package/dist/main.es119.js +29 -0
  24. package/dist/main.es12.js +133 -0
  25. package/dist/main.es120.js +25 -0
  26. package/dist/main.es121.js +23 -0
  27. package/dist/main.es122.js +28 -0
  28. package/dist/main.es123.js +28 -0
  29. package/dist/main.es124.js +39 -0
  30. package/dist/main.es125.js +37 -0
  31. package/dist/main.es126.js +23 -0
  32. package/dist/main.es127.js +25 -0
  33. package/dist/main.es128.js +23 -0
  34. package/dist/main.es129.js +23 -0
  35. package/dist/main.es13.js +261 -0
  36. package/dist/main.es130.js +23 -0
  37. package/dist/main.es131.js +28 -0
  38. package/dist/main.es132.js +29 -0
  39. package/dist/main.es133.js +29 -0
  40. package/dist/main.es134.js +21 -0
  41. package/dist/main.es135.js +20 -0
  42. package/dist/main.es136.js +28 -0
  43. package/dist/main.es137.js +24 -0
  44. package/dist/main.es138.js +28 -0
  45. package/dist/main.es139.js +23 -0
  46. package/dist/main.es14.js +26 -0
  47. package/dist/main.es140.js +33 -0
  48. package/dist/main.es141.js +30 -0
  49. package/dist/main.es142.js +23 -0
  50. package/dist/main.es143.js +20 -0
  51. package/dist/main.es144.js +19 -0
  52. package/dist/main.es145.js +23 -0
  53. package/dist/main.es146.js +29 -0
  54. package/dist/main.es147.js +28 -0
  55. package/dist/main.es148.js +35 -0
  56. package/dist/main.es149.js +25 -0
  57. package/dist/main.es15.js +1058 -0
  58. package/dist/main.es150.js +25 -0
  59. package/dist/main.es151.js +23 -0
  60. package/dist/main.es152.js +41 -0
  61. package/dist/main.es153.js +41 -0
  62. package/dist/main.es154.js +25 -0
  63. package/dist/main.es155.js +23 -0
  64. package/dist/main.es156.js +23 -0
  65. package/dist/main.es157.js +25 -0
  66. package/dist/main.es158.js +23 -0
  67. package/dist/main.es159.js +23 -0
  68. package/dist/main.es16.js +692 -0
  69. package/dist/main.es160.js +23 -0
  70. package/dist/main.es161.js +23 -0
  71. package/dist/main.es162.js +23 -0
  72. package/dist/main.es163.js +23 -0
  73. package/dist/main.es164.js +20 -0
  74. package/dist/main.es165.js +28 -0
  75. package/dist/main.es166.js +28 -0
  76. package/dist/main.es167.js +28 -0
  77. package/dist/main.es168.js +28 -0
  78. package/dist/main.es169.js +25 -0
  79. package/dist/main.es17.js +95 -0
  80. package/dist/main.es170.js +23 -0
  81. package/dist/main.es171.js +23 -0
  82. package/dist/main.es172.js +20 -0
  83. package/dist/main.es173.js +20 -0
  84. package/dist/main.es174.js +23 -0
  85. package/dist/main.es175.js +18 -0
  86. package/dist/main.es176.js +23 -0
  87. package/dist/main.es177.js +20 -0
  88. package/dist/main.es178.js +25 -0
  89. package/dist/main.es179.js +25 -0
  90. package/dist/main.es18.js +78 -0
  91. package/dist/main.es180.js +23 -0
  92. package/dist/main.es181.js +23 -0
  93. package/dist/main.es182.js +20 -0
  94. package/dist/main.es183.js +23 -0
  95. package/dist/main.es184.js +23 -0
  96. package/dist/main.es185.js +32 -0
  97. package/dist/main.es186.js +23 -0
  98. package/dist/main.es187.js +32 -0
  99. package/dist/main.es188.js +37 -0
  100. package/dist/main.es189.js +32 -0
  101. package/dist/main.es19.js +143 -0
  102. package/dist/main.es190.js +39 -0
  103. package/dist/main.es191.js +28 -0
  104. package/dist/main.es192.js +20 -0
  105. package/dist/main.es193.js +20 -0
  106. package/dist/main.es194.js +25 -0
  107. package/dist/main.es195.js +23 -0
  108. package/dist/main.es196.js +40 -0
  109. package/dist/main.es197.js +23 -0
  110. package/dist/main.es198.js +21 -0
  111. package/dist/main.es199.js +19 -0
  112. package/dist/main.es2.js +34 -0
  113. package/dist/main.es20.js +152 -0
  114. package/dist/main.es200.js +20 -0
  115. package/dist/main.es201.js +20 -0
  116. package/dist/main.es202.js +33 -0
  117. package/dist/main.es203.js +23 -0
  118. package/dist/main.es204.js +23 -0
  119. package/dist/main.es205.js +28 -0
  120. package/dist/main.es206.js +23 -0
  121. package/dist/main.es207.js +23 -0
  122. package/dist/main.es208.js +21 -0
  123. package/dist/main.es209.js +23 -0
  124. package/dist/main.es21.js +108 -0
  125. package/dist/main.es210.js +28 -0
  126. package/dist/main.es211.js +23 -0
  127. package/dist/main.es212.js +23 -0
  128. package/dist/main.es213.js +23 -0
  129. package/dist/main.es214.js +28 -0
  130. package/dist/main.es215.js +28 -0
  131. package/dist/main.es216.js +20 -0
  132. package/dist/main.es217.js +23 -0
  133. package/dist/main.es218.js +35 -0
  134. package/dist/main.es219.js +28 -0
  135. package/dist/main.es22.js +4 -0
  136. package/dist/main.es220.js +29 -0
  137. package/dist/main.es221.js +24 -0
  138. package/dist/main.es222.js +23 -0
  139. package/dist/main.es223.js +28 -0
  140. package/dist/main.es224.js +25 -0
  141. package/dist/main.es225.js +23 -0
  142. package/dist/main.es226.js +23 -0
  143. package/dist/main.es227.js +20 -0
  144. package/dist/main.es228.js +20 -0
  145. package/dist/main.es229.js +23 -0
  146. package/dist/main.es23.js +169 -0
  147. package/dist/main.es230.js +23 -0
  148. package/dist/main.es231.js +25 -0
  149. package/dist/main.es232.js +38 -0
  150. package/dist/main.es233.js +30 -0
  151. package/dist/main.es234.js +28 -0
  152. package/dist/main.es235.js +23 -0
  153. package/dist/main.es236.js +22 -0
  154. package/dist/main.es237.js +28 -0
  155. package/dist/main.es238.js +23 -0
  156. package/dist/main.es239.js +18 -0
  157. package/dist/main.es24.js +201 -0
  158. package/dist/main.es240.js +23 -0
  159. package/dist/main.es241.js +25 -0
  160. package/dist/main.es242.js +23 -0
  161. package/dist/main.es243.js +23 -0
  162. package/dist/main.es244.js +23 -0
  163. package/dist/main.es245.js +23 -0
  164. package/dist/main.es246.js +23 -0
  165. package/dist/main.es247.js +23 -0
  166. package/dist/main.es248.js +23 -0
  167. package/dist/main.es249.js +23 -0
  168. package/dist/main.es25.js +55 -0
  169. package/dist/main.es250.js +30 -0
  170. package/dist/main.es251.js +23 -0
  171. package/dist/main.es252.js +23 -0
  172. package/dist/main.es253.js +28 -0
  173. package/dist/main.es254.js +23 -0
  174. package/dist/main.es255.js +23 -0
  175. package/dist/main.es256.js +28 -0
  176. package/dist/main.es257.js +33 -0
  177. package/dist/main.es258.js +28 -0
  178. package/dist/main.es259.js +28 -0
  179. package/dist/main.es26.js +12 -0
  180. package/dist/main.es260.js +23 -0
  181. package/dist/main.es261.js +25 -0
  182. package/dist/main.es262.js +28 -0
  183. package/dist/main.es263.js +30 -0
  184. package/dist/main.es264.js +23 -0
  185. package/dist/main.es265.js +23 -0
  186. package/dist/main.es266.js +23 -0
  187. package/dist/main.es267.js +23 -0
  188. package/dist/main.es268.js +28 -0
  189. package/dist/main.es269.js +252 -0
  190. package/dist/main.es27.js +6 -0
  191. package/dist/main.es270.js +22 -0
  192. package/dist/main.es271.js +25 -0
  193. package/dist/main.es272.js +7 -0
  194. package/dist/main.es273.js +383 -0
  195. package/dist/main.es274.js +54 -0
  196. package/dist/main.es275.js +15 -0
  197. package/dist/main.es276.js +4 -0
  198. package/dist/main.es277.js +4 -0
  199. package/dist/main.es278.js +4 -0
  200. package/dist/main.es279.js +4 -0
  201. package/dist/main.es28.js +103 -0
  202. package/dist/main.es280.js +4 -0
  203. package/dist/main.es281.js +4 -0
  204. package/dist/main.es282.js +4 -0
  205. package/dist/main.es283.js +4 -0
  206. package/dist/main.es284.js +4 -0
  207. package/dist/main.es285.js +4 -0
  208. package/dist/main.es286.js +4 -0
  209. package/dist/main.es287.js +4 -0
  210. package/dist/main.es288.js +4 -0
  211. package/dist/main.es289.js +4 -0
  212. package/dist/main.es29.js +62 -0
  213. package/dist/main.es290.js +4 -0
  214. package/dist/main.es291.js +4 -0
  215. package/dist/main.es292.js +4 -0
  216. package/dist/main.es293.js +4 -0
  217. package/dist/main.es294.js +4 -0
  218. package/dist/main.es295.js +4 -0
  219. package/dist/main.es296.js +4 -0
  220. package/dist/main.es297.js +4 -0
  221. package/dist/main.es298.js +4 -0
  222. package/dist/main.es299.js +4 -0
  223. package/dist/main.es3.js +70 -0
  224. package/dist/main.es30.js +69 -0
  225. package/dist/main.es300.js +4 -0
  226. package/dist/main.es301.js +4 -0
  227. package/dist/main.es302.js +4 -0
  228. package/dist/main.es303.js +4 -0
  229. package/dist/main.es304.js +4 -0
  230. package/dist/main.es305.js +4 -0
  231. package/dist/main.es306.js +4 -0
  232. package/dist/main.es307.js +4 -0
  233. package/dist/main.es308.js +4 -0
  234. package/dist/main.es309.js +4 -0
  235. package/dist/main.es31.js +801 -0
  236. package/dist/main.es310.js +4 -0
  237. package/dist/main.es311.js +4 -0
  238. package/dist/main.es312.js +4 -0
  239. package/dist/main.es313.js +4 -0
  240. package/dist/main.es314.js +4 -0
  241. package/dist/main.es315.js +4 -0
  242. package/dist/main.es316.js +4 -0
  243. package/dist/main.es317.js +4 -0
  244. package/dist/main.es318.js +4 -0
  245. package/dist/main.es319.js +4 -0
  246. package/dist/main.es32.js +127 -0
  247. package/dist/main.es320.js +4 -0
  248. package/dist/main.es321.js +4 -0
  249. package/dist/main.es322.js +4 -0
  250. package/dist/main.es323.js +4 -0
  251. package/dist/main.es324.js +4 -0
  252. package/dist/main.es325.js +4 -0
  253. package/dist/main.es326.js +4 -0
  254. package/dist/main.es327.js +4 -0
  255. package/dist/main.es328.js +4 -0
  256. package/dist/main.es329.js +4 -0
  257. package/dist/main.es33.js +4 -0
  258. package/dist/main.es330.js +4 -0
  259. package/dist/main.es331.js +4 -0
  260. package/dist/main.es332.js +4 -0
  261. package/dist/main.es333.js +4 -0
  262. package/dist/main.es334.js +4 -0
  263. package/dist/main.es335.js +4 -0
  264. package/dist/main.es336.js +4 -0
  265. package/dist/main.es337.js +4 -0
  266. package/dist/main.es338.js +4 -0
  267. package/dist/main.es339.js +4 -0
  268. package/dist/main.es34.js +29 -0
  269. package/dist/main.es340.js +4 -0
  270. package/dist/main.es341.js +4 -0
  271. package/dist/main.es342.js +4 -0
  272. package/dist/main.es343.js +4 -0
  273. package/dist/main.es344.js +4 -0
  274. package/dist/main.es345.js +4 -0
  275. package/dist/main.es346.js +4 -0
  276. package/dist/main.es347.js +4 -0
  277. package/dist/main.es348.js +4 -0
  278. package/dist/main.es349.js +4 -0
  279. package/dist/main.es35.js +34 -0
  280. package/dist/main.es350.js +4 -0
  281. package/dist/main.es351.js +4 -0
  282. package/dist/main.es352.js +4 -0
  283. package/dist/main.es353.js +4 -0
  284. package/dist/main.es354.js +4 -0
  285. package/dist/main.es355.js +4 -0
  286. package/dist/main.es356.js +4 -0
  287. package/dist/main.es357.js +4 -0
  288. package/dist/main.es358.js +4 -0
  289. package/dist/main.es359.js +4 -0
  290. package/dist/main.es36.js +36 -0
  291. package/dist/main.es360.js +4 -0
  292. package/dist/main.es361.js +4 -0
  293. package/dist/main.es362.js +4 -0
  294. package/dist/main.es363.js +4 -0
  295. package/dist/main.es364.js +4 -0
  296. package/dist/main.es365.js +4 -0
  297. package/dist/main.es366.js +4 -0
  298. package/dist/main.es367.js +4 -0
  299. package/dist/main.es368.js +4 -0
  300. package/dist/main.es369.js +4 -0
  301. package/dist/main.es37.js +41 -0
  302. package/dist/main.es370.js +4 -0
  303. package/dist/main.es371.js +4 -0
  304. package/dist/main.es372.js +4 -0
  305. package/dist/main.es373.js +4 -0
  306. package/dist/main.es374.js +4 -0
  307. package/dist/main.es375.js +4 -0
  308. package/dist/main.es376.js +4 -0
  309. package/dist/main.es377.js +4 -0
  310. package/dist/main.es378.js +4 -0
  311. package/dist/main.es379.js +4 -0
  312. package/dist/main.es38.js +35 -0
  313. package/dist/main.es380.js +4 -0
  314. package/dist/main.es381.js +4 -0
  315. package/dist/main.es382.js +4 -0
  316. package/dist/main.es383.js +4 -0
  317. package/dist/main.es384.js +4 -0
  318. package/dist/main.es385.js +4 -0
  319. package/dist/main.es386.js +4 -0
  320. package/dist/main.es387.js +4 -0
  321. package/dist/main.es388.js +4 -0
  322. package/dist/main.es389.js +4 -0
  323. package/dist/main.es39.js +20 -0
  324. package/dist/main.es390.js +4 -0
  325. package/dist/main.es391.js +4 -0
  326. package/dist/main.es392.js +4 -0
  327. package/dist/main.es393.js +4 -0
  328. package/dist/main.es394.js +4 -0
  329. package/dist/main.es395.js +4 -0
  330. package/dist/main.es396.js +4 -0
  331. package/dist/main.es397.js +4 -0
  332. package/dist/main.es398.js +4 -0
  333. package/dist/main.es399.js +4 -0
  334. package/dist/main.es4.js +19 -0
  335. package/dist/main.es40.js +20 -0
  336. package/dist/main.es400.js +4 -0
  337. package/dist/main.es401.js +4 -0
  338. package/dist/main.es402.js +4 -0
  339. package/dist/main.es403.js +4 -0
  340. package/dist/main.es404.js +4 -0
  341. package/dist/main.es405.js +4 -0
  342. package/dist/main.es406.js +4 -0
  343. package/dist/main.es407.js +4 -0
  344. package/dist/main.es408.js +4 -0
  345. package/dist/main.es409.js +4 -0
  346. package/dist/main.es41.js +25 -0
  347. package/dist/main.es410.js +4 -0
  348. package/dist/main.es411.js +4 -0
  349. package/dist/main.es412.js +4 -0
  350. package/dist/main.es413.js +4 -0
  351. package/dist/main.es414.js +4 -0
  352. package/dist/main.es415.js +4 -0
  353. package/dist/main.es416.js +4 -0
  354. package/dist/main.es417.js +4 -0
  355. package/dist/main.es418.js +4 -0
  356. package/dist/main.es419.js +4 -0
  357. package/dist/main.es42.js +28 -0
  358. package/dist/main.es420.js +4 -0
  359. package/dist/main.es421.js +4 -0
  360. package/dist/main.es422.js +4 -0
  361. package/dist/main.es423.js +4 -0
  362. package/dist/main.es424.js +4 -0
  363. package/dist/main.es425.js +4 -0
  364. package/dist/main.es426.js +4 -0
  365. package/dist/main.es427.js +4 -0
  366. package/dist/main.es428.js +4 -0
  367. package/dist/main.es429.js +4 -0
  368. package/dist/main.es43.js +23 -0
  369. package/dist/main.es430.js +4 -0
  370. package/dist/main.es431.js +4 -0
  371. package/dist/main.es432.js +4 -0
  372. package/dist/main.es433.js +4 -0
  373. package/dist/main.es434.js +4 -0
  374. package/dist/main.es435.js +4 -0
  375. package/dist/main.es436.js +4 -0
  376. package/dist/main.es437.js +4 -0
  377. package/dist/main.es438.js +4 -0
  378. package/dist/main.es439.js +4 -0
  379. package/dist/main.es44.js +44 -0
  380. package/dist/main.es440.js +4 -0
  381. package/dist/main.es441.js +4 -0
  382. package/dist/main.es442.js +4 -0
  383. package/dist/main.es443.js +4 -0
  384. package/dist/main.es444.js +4 -0
  385. package/dist/main.es445.js +4 -0
  386. package/dist/main.es446.js +4 -0
  387. package/dist/main.es447.js +4 -0
  388. package/dist/main.es448.js +4 -0
  389. package/dist/main.es449.js +4 -0
  390. package/dist/main.es45.js +38 -0
  391. package/dist/main.es450.js +4 -0
  392. package/dist/main.es451.js +4 -0
  393. package/dist/main.es452.js +4 -0
  394. package/dist/main.es453.js +4 -0
  395. package/dist/main.es454.js +4 -0
  396. package/dist/main.es455.js +4 -0
  397. package/dist/main.es456.js +4 -0
  398. package/dist/main.es457.js +4 -0
  399. package/dist/main.es458.js +4 -0
  400. package/dist/main.es459.js +4 -0
  401. package/dist/main.es46.js +23 -0
  402. package/dist/main.es460.js +4 -0
  403. package/dist/main.es461.js +4 -0
  404. package/dist/main.es462.js +4 -0
  405. package/dist/main.es463.js +4 -0
  406. package/dist/main.es464.js +4 -0
  407. package/dist/main.es465.js +4 -0
  408. package/dist/main.es466.js +4 -0
  409. package/dist/main.es467.js +4 -0
  410. package/dist/main.es468.js +4 -0
  411. package/dist/main.es469.js +4 -0
  412. package/dist/main.es47.js +23 -0
  413. package/dist/main.es470.js +4 -0
  414. package/dist/main.es471.js +4 -0
  415. package/dist/main.es472.js +4 -0
  416. package/dist/main.es473.js +4 -0
  417. package/dist/main.es474.js +4 -0
  418. package/dist/main.es475.js +4 -0
  419. package/dist/main.es476.js +4 -0
  420. package/dist/main.es477.js +4 -0
  421. package/dist/main.es478.js +4 -0
  422. package/dist/main.es479.js +4 -0
  423. package/dist/main.es48.js +24 -0
  424. package/dist/main.es480.js +4 -0
  425. package/dist/main.es481.js +4 -0
  426. package/dist/main.es482.js +4 -0
  427. package/dist/main.es483.js +4 -0
  428. package/dist/main.es484.js +4 -0
  429. package/dist/main.es485.js +4 -0
  430. package/dist/main.es486.js +4 -0
  431. package/dist/main.es487.js +4 -0
  432. package/dist/main.es488.js +4 -0
  433. package/dist/main.es489.js +4 -0
  434. package/dist/main.es49.js +35 -0
  435. package/dist/main.es490.js +4 -0
  436. package/dist/main.es491.js +4 -0
  437. package/dist/main.es492.js +4 -0
  438. package/dist/main.es493.js +4 -0
  439. package/dist/main.es494.js +4 -0
  440. package/dist/main.es495.js +4 -0
  441. package/dist/main.es496.js +4 -0
  442. package/dist/main.es497.js +4 -0
  443. package/dist/main.es498.js +4 -0
  444. package/dist/main.es499.js +4 -0
  445. package/dist/main.es5.js +586 -0
  446. package/dist/main.es50.js +30 -0
  447. package/dist/main.es500.js +4 -0
  448. package/dist/main.es501.js +4 -0
  449. package/dist/main.es502.js +4 -0
  450. package/dist/main.es503.js +4 -0
  451. package/dist/main.es504.js +4 -0
  452. package/dist/main.es505.js +4 -0
  453. package/dist/main.es506.js +4 -0
  454. package/dist/main.es507.js +4 -0
  455. package/dist/main.es508.js +4 -0
  456. package/dist/main.es509.js +4 -0
  457. package/dist/main.es51.js +34 -0
  458. package/dist/main.es510.js +64 -0
  459. package/dist/main.es511.js +88 -0
  460. package/dist/main.es52.js +20 -0
  461. package/dist/main.es53.js +20 -0
  462. package/dist/main.es54.js +23 -0
  463. package/dist/main.es55.js +28 -0
  464. package/dist/main.es56.js +28 -0
  465. package/dist/main.es57.js +23 -0
  466. package/dist/main.es58.js +25 -0
  467. package/dist/main.es59.js +24 -0
  468. package/dist/main.es6.js +5872 -0
  469. package/dist/main.es60.js +23 -0
  470. package/dist/main.es61.js +23 -0
  471. package/dist/main.es62.js +23 -0
  472. package/dist/main.es63.js +23 -0
  473. package/dist/main.es64.js +23 -0
  474. package/dist/main.es65.js +20 -0
  475. package/dist/main.es66.js +23 -0
  476. package/dist/main.es67.js +23 -0
  477. package/dist/main.es68.js +21 -0
  478. package/dist/main.es69.js +20 -0
  479. package/dist/main.es7.js +1904 -0
  480. package/dist/main.es70.js +23 -0
  481. package/dist/main.es71.js +28 -0
  482. package/dist/main.es72.js +28 -0
  483. package/dist/main.es73.js +23 -0
  484. package/dist/main.es74.js +23 -0
  485. package/dist/main.es75.js +23 -0
  486. package/dist/main.es76.js +23 -0
  487. package/dist/main.es77.js +31 -0
  488. package/dist/main.es78.js +23 -0
  489. package/dist/main.es79.js +33 -0
  490. package/dist/main.es8.js +42 -0
  491. package/dist/main.es80.js +30 -0
  492. package/dist/main.es81.js +23 -0
  493. package/dist/main.es82.js +22 -0
  494. package/dist/main.es83.js +25 -0
  495. package/dist/main.es84.js +28 -0
  496. package/dist/main.es85.js +35 -0
  497. package/dist/main.es86.js +23 -0
  498. package/dist/main.es87.js +23 -0
  499. package/dist/main.es88.js +33 -0
  500. package/dist/main.es89.js +20 -0
  501. package/dist/main.es9.js +4 -0
  502. package/dist/main.es90.js +28 -0
  503. package/dist/main.es91.js +28 -0
  504. package/dist/main.es92.js +23 -0
  505. package/dist/main.es93.js +23 -0
  506. package/dist/main.es94.js +24 -0
  507. package/dist/main.es95.js +28 -0
  508. package/dist/main.es96.js +28 -0
  509. package/dist/main.es97.js +23 -0
  510. package/dist/main.es98.js +23 -0
  511. package/dist/main.es99.js +28 -0
  512. package/dist/style.css +1 -0
  513. package/package.json +1 -1
@@ -0,0 +1,801 @@
1
+ import "./main.es3.js";
2
+ import styled from "./main.es7.js";
3
+ import InfoText from "./main.es23.js";
4
+ import _sfc_main$1 from "./main.es20.js";
5
+ import InputText from "./main.es273.js";
6
+ import DraggableInputHandle from "./main.es274.js";
7
+ import { debounce } from "./main.es275.js";
8
+ import _export_sfc from "./main.es10.js";
9
+ import { Teleport, resolveComponent, openBlock, createBlock, withCtx, createVNode, createTextVNode, createCommentVNode, renderSlot, withDirectives } from "./main.es6.js";
10
+ import { withModifiers, vShow } from "./main.es5.js";
11
+ import { toDisplayString } from "./main.es24.js";
12
+ const CARET_WIDTH = "30px";
13
+ const BORDER_WIDTH = "1px";
14
+ const Caret = styled.div`
15
+ display: flex;
16
+ align-items: center;
17
+ justify-content: center;
18
+ width: ${CARET_WIDTH};
19
+ min-width: ${CARET_WIDTH};
20
+ height: 100%;
21
+ align-items: center;
22
+ cursor: pointer;
23
+ margin-left: auto;
24
+ `;
25
+ const selectorProps = {
26
+ selectWidth: String,
27
+ paddingLeft: String,
28
+ showBorder: Boolean
29
+ };
30
+ const Selector = styled("div", selectorProps)`
31
+ ${(props) => props.selectWidth === "100%" ? "width: 100%;" : `width: calc(${props.selectWidth} -
32
+ (
33
+ ${CARET_WIDTH} +
34
+ ${props.paddingLeft}
35
+ ${props.showBorder ? `+ (${BORDER_WIDTH} * 2)` : ""}
36
+ )
37
+ );
38
+ white-space: nowrap;
39
+ text-overflow: ellipsis;
40
+ overflow: hidden;`}
41
+ `;
42
+ const labelAttrs = {
43
+ fontSize: String,
44
+ fontColor: String
45
+ };
46
+ const InputLabel = styled("div", labelAttrs)`
47
+ color: ${(props) => props.theme.colors[props.fontColor] ? props.theme.colors[props.fontColor] : props.fontColor};
48
+ font-size: ${(props) => props.fontSize};
49
+ font-weight: 700;
50
+ `;
51
+ const OptionalLabel = styled.span`
52
+ font-weight: 300;
53
+ `;
54
+ const inputProps = {
55
+ selectWidth: String,
56
+ optionWidth: String,
57
+ noRelative: Boolean
58
+ };
59
+ const Container = styled("div", inputProps)`
60
+ width: ${(props) => props.selectWidth};
61
+ position: ${(props) => props.noRelative ? "static" : "relative"};
62
+ display: inline-block;
63
+ `;
64
+ const LabelWrapperAttrs = {
65
+ infoTextMessage: Boolean
66
+ };
67
+ const LabelWrapper = styled("div", LabelWrapperAttrs)`
68
+ display: inline-grid;
69
+ grid-template-columns: ${(props) => props.infoTextMessage ? "auto auto" : "auto"};
70
+ grid-gap: 12px;
71
+ align-items: center;
72
+ justify-content: start;
73
+ `;
74
+ const SelectButtonWrapperAttrs = {
75
+ disabled: Boolean
76
+ };
77
+ const SelectButtonWrapper = styled("div", SelectButtonWrapperAttrs)`
78
+ ${(props) => props.disabled ? "cursor: not-allowed" : "cursor: pointer"};
79
+ `;
80
+ const selectButtonAttrs = {
81
+ bgColor: String,
82
+ fontColor: String,
83
+ hasError: Boolean,
84
+ disabled: Boolean,
85
+ selectHeight: String,
86
+ selectWidth: String,
87
+ height: String,
88
+ selectMinHeight: String,
89
+ hasNoPadding: Boolean,
90
+ showBorder: Boolean,
91
+ paddingLeft: String,
92
+ noRelative: Boolean,
93
+ tablePaddingLeft: String,
94
+ showDisabledBackground: Boolean
95
+ };
96
+ const SelectButton = styled("div", selectButtonAttrs)`
97
+ position: ${(props) => props.noRelative ? "static" : "relative"};
98
+ box-sizing: border-box;
99
+ border-radius: 4px;
100
+ max-width: ${(props) => props.selectWidth ? props.selectWidth : "100%"};
101
+ ${(props) => props.isSearchBarVisible ? "" : `padding-left: ${props.hasNoPadding ? "0" : props.tablePaddingLeft ? props.tablePaddingLeft : props.paddingLeft}`};
102
+ text-align: left;
103
+ min-height: ${(props) => props.selectHeight ? props.selectHeight : props.selectMinHeight ? props.selectMinHeight : props.height ? props.height : "36px"};
104
+ display: flex;
105
+ align-items: center;
106
+ height: ${(props) => props.selectHeight};
107
+ ${({
108
+ showBorder,
109
+ theme,
110
+ hasError
111
+ }) => showBorder && `
112
+ border: ${BORDER_WIDTH} solid ${hasError ? theme.colors.red : theme.colors.grey4}
113
+ `}
114
+ background-color:${(props) => props.disabled && props.showDisabledBackground ? props.theme.colors.grey5 : props.theme.colors[props.bgColor] ? props.theme.colors[props.bgColor] : props.bgColor};
115
+ color: ${(props) => props.theme.colors[props.fontColor] ? props.theme.colors[props.fontColor] : props.fontColor};
116
+ ${(props) => props.disabled ? "pointer-events: none" : ""};
117
+ overflow: hidden;
118
+ & > .handle {
119
+ border-right: ${(props) => props.hasError ? props.theme.colors.red : props.theme.colors.grey4}
120
+ 1px solid;
121
+ }
122
+ `;
123
+ const selectDropdownAttrs = {
124
+ hoveredBgColor: String,
125
+ bgColor: String,
126
+ fontColor: String,
127
+ optionWidth: String,
128
+ hoveredIndex: Number,
129
+ fontSize: String,
130
+ dropdownPosition: Object,
131
+ hoveredValue: Number | String,
132
+ selectedValue: Number | String,
133
+ noRelative: Boolean,
134
+ minWidth: String
135
+ };
136
+ const SelectDropdown = styled("div", selectDropdownAttrs)`
137
+ box-sizing: border-box;
138
+ z-index: ${(props) => props.isActive ? "2" : "99999"};
139
+ position: absolute;
140
+ top: ${(props) => {
141
+ var _a;
142
+ return props.noRelative ? "auto" : ((_a = props.dropdownPosition) == null ? void 0 : _a.top) + "px";
143
+ }};
144
+ left: ${(props) => {
145
+ var _a;
146
+ return (_a = props.dropdownPosition) == null ? void 0 : _a.left;
147
+ }}px;
148
+ border: ${BORDER_WIDTH} solid ${(props) => props.theme.colors.grey4};
149
+ border-radius: 4px;
150
+ display: flex;
151
+ flex-direction: column;
152
+ align-items: flex-start;
153
+ padding: 0px;
154
+ box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
155
+ width: ${(props) => props.optionWidth ? props.optionWidth : "100%"};
156
+ min-width: ${(props) => props.minWidth ? props.minWidth : props.optionWidth ? props.optionWidth : "100%"};
157
+ background-color: ${(props) => props.theme.colors[props.bgColor] ? props.theme.colors[props.bgColor] : props.bgColor};
158
+ color: ${(props) => props.theme.colors[props.fontColor] ? props.theme.colors[props.fontColor] : props.fontColor};
159
+ max-height: 300px;
160
+ overflow-y: auto;
161
+ & > div[data-value='${(props) => props.hoveredValue}'] {
162
+ background-color: ${(props) => props.theme.colors[props.hoveredBgColor] ? props.theme.colors[props.hoveredBgColor] : props.hoveredBgColor};
163
+ }
164
+ font-size: ${(props) => props.fontSize};
165
+ `;
166
+ SelectDropdown.emits = ["option-hovered", "option-selected"];
167
+ const DropdownAttrs = {
168
+ noRelative: Boolean
169
+ };
170
+ const DropdownWrapper = styled("div", DropdownAttrs)`
171
+ position: ${(props) => props.noRelative ? "static" : "relative"};
172
+ `;
173
+ const inputAttrs = {
174
+ alignItems: String,
175
+ hasLabel: Boolean,
176
+ noRelative: Boolean
177
+ };
178
+ const InputWrapper = styled("div", inputAttrs)`
179
+ position: ${(props) => props.noRelative ? "static" : "relative"};
180
+ display: grid;
181
+ width: 100%;
182
+ min-width: ${(props) => props.minWidth ? props.minWidth : "150px"};
183
+ align-items: center;
184
+ gap: 8px;
185
+ grid-template-columns: ${(props) => props.alignItems === "vertical" || !props.hasLabel ? "1fr" : "auto 1fr"};
186
+ `;
187
+ const DROPDOWN_HEIGHT_OFFSET = 4;
188
+ const DROPDOWN_TOP_OFFSET = 21;
189
+ const MIN_OPTION_LENGTH = 5;
190
+ const DROPDOWN_MENU_POSITIONS = {
191
+ Automatic: "automatic",
192
+ Bottom: "bottom"
193
+ };
194
+ const _sfc_main = {
195
+ name: "RCselect",
196
+ components: {
197
+ SelectButton,
198
+ SelectButtonWrapper,
199
+ SelectDropdown,
200
+ Container,
201
+ InputLabel,
202
+ LabelWrapper,
203
+ OptionalLabel,
204
+ InfoText,
205
+ InputWrapper,
206
+ DropdownWrapper,
207
+ Icon: _sfc_main$1,
208
+ Caret,
209
+ Selector,
210
+ InputText,
211
+ Teleport,
212
+ DraggableInputHandle
213
+ },
214
+ props: {
215
+ value: {
216
+ required: false,
217
+ default: null
218
+ },
219
+ fontSize: {
220
+ required: false,
221
+ default: "13px"
222
+ },
223
+ noRelative: {
224
+ required: false,
225
+ default: false
226
+ },
227
+ label: {
228
+ required: false
229
+ },
230
+ labelOptional: {
231
+ required: false,
232
+ default: false
233
+ },
234
+ labelDataId: {
235
+ required: false,
236
+ default: ""
237
+ },
238
+ infoTextMessage: {
239
+ required: false
240
+ },
241
+ selectWidth: {
242
+ type: String,
243
+ required: false,
244
+ default: "100%"
245
+ },
246
+ minWidth: {
247
+ required: false
248
+ },
249
+ maxWidth: {
250
+ required: false
251
+ },
252
+ selectHeight: {
253
+ type: String,
254
+ required: false,
255
+ default: null
256
+ },
257
+ height: {
258
+ required: false,
259
+ default: null
260
+ },
261
+ selectMinHeight: {
262
+ required: false,
263
+ default: "36px"
264
+ },
265
+ optionWidth: {
266
+ required: false,
267
+ default: null
268
+ },
269
+ hoverDropdown: {
270
+ required: false,
271
+ default: false
272
+ },
273
+ dropdownAutoClose: {
274
+ required: false,
275
+ default: false
276
+ },
277
+ alignItems: {
278
+ required: false,
279
+ default: "horizontal"
280
+ },
281
+ buttonBgColor: {
282
+ required: false
283
+ },
284
+ buttonFontColor: {
285
+ required: false
286
+ },
287
+ dropdownBgColor: {
288
+ required: false,
289
+ default: "grey5"
290
+ },
291
+ dropdownFontColor: {
292
+ required: false
293
+ },
294
+ dropDownArrowVisible: {
295
+ required: false,
296
+ default: true
297
+ },
298
+ caretColor: {
299
+ required: false
300
+ },
301
+ labelFontColor: {
302
+ required: false
303
+ },
304
+ colorMode: {
305
+ required: false,
306
+ default: "light"
307
+ },
308
+ isSearchable: {
309
+ required: false,
310
+ default: true
311
+ },
312
+ hasError: {
313
+ required: false,
314
+ default: false
315
+ },
316
+ disabled: {
317
+ required: false,
318
+ default: false
319
+ },
320
+ isAutoSearch: {
321
+ required: false,
322
+ default: true
323
+ },
324
+ showBorder: {
325
+ required: false,
326
+ default: true
327
+ },
328
+ infoTextSize: {
329
+ required: false,
330
+ default: "14px"
331
+ },
332
+ dataId: {
333
+ type: String,
334
+ default: ""
335
+ },
336
+ dataQaId: {
337
+ type: String,
338
+ default: ""
339
+ },
340
+ hasSelectButtonPadding: {
341
+ required: false,
342
+ type: Boolean,
343
+ default: true
344
+ },
345
+ isDraggable: {
346
+ type: Boolean,
347
+ default: false
348
+ },
349
+ leftPadding: {
350
+ type: String,
351
+ default: "15px"
352
+ },
353
+ tablePaddingLeft: {
354
+ required: false
355
+ },
356
+ showDisabledBackground: {
357
+ required: false,
358
+ default: true
359
+ },
360
+ minOptionLength: {
361
+ type: Number,
362
+ default: MIN_OPTION_LENGTH
363
+ },
364
+ dropdownMenuPosition: {
365
+ type: String,
366
+ default: DROPDOWN_MENU_POSITIONS.Automatic
367
+ // options: ['automatic', bottom]
368
+ },
369
+ infoTextWidth: {
370
+ type: String,
371
+ required: false
372
+ },
373
+ infoTextAlignArrow: {
374
+ type: String,
375
+ required: false
376
+ }
377
+ },
378
+ data() {
379
+ return {
380
+ selectedValue: null,
381
+ paddingLeft: this.isDraggable ? "30px" : this.leftPadding,
382
+ isDropdownOpen: false,
383
+ isActive: false,
384
+ textSearch: "",
385
+ hoveredIndex: 0,
386
+ isClickOutsideActive: false,
387
+ dropdownPosition: {
388
+ left: null,
389
+ top: null
390
+ },
391
+ dropdownWidth: null,
392
+ hoveredValue: null
393
+ };
394
+ },
395
+ computed: {
396
+ optionLength() {
397
+ if (this.isDropdownOpen) {
398
+ return this.$refs.dropdown.$el.childElementCount > 1 ? this.$refs.dropdown.$el.childElementCount : this.$refs.dropdown.$el.children[0] ? this.$refs.dropdown.$el.children[0].childElementCount : 0;
399
+ }
400
+ return 0;
401
+ },
402
+ isSearchBarVisible() {
403
+ return this.isSearchable && this.optionLength >= this.minOptionLength && this.isDropdownOpen;
404
+ },
405
+ computedWidth() {
406
+ function removePX(item) {
407
+ return Number(item.replace("px", ""));
408
+ }
409
+ return this.selectWidth === "100%" ? "100%" : removePX(this.selectWidth) - removePX(CARET_WIDTH) + "px";
410
+ },
411
+ getOptionWidth() {
412
+ if (this.optionWidth)
413
+ return this.optionWidth;
414
+ return this.dropdownWidth;
415
+ },
416
+ isSelectDropdownShown() {
417
+ return this.isDropdownOpen && this.dropdownPosition.left !== null && (!this.isSearchable || this.isSearchable);
418
+ },
419
+ isMobileDevice() {
420
+ const userAgent = navigator.userAgent || navigator.vendor || window.opera;
421
+ const touchCapable = "ontouchstart" in window || navigator.maxTouchPoints > 0 || navigator.msMaxTouchPoints > 0;
422
+ return /Android/i.test(userAgent) || /iPad|iPhone|iPod/.test(userAgent) || /Macintosh/.test(userAgent) && touchCapable || /windows phone/i.test(userAgent);
423
+ }
424
+ },
425
+ watch: {
426
+ value(val) {
427
+ this.selectedValue = val;
428
+ },
429
+ async isDropdownOpen(val) {
430
+ if (val) {
431
+ this.$emit("on-dropdown-open");
432
+ setTimeout(() => {
433
+ this.isClickOutsideActive = true;
434
+ }, 10);
435
+ await this.$nextTick();
436
+ this.handleSetDropdownOffet();
437
+ } else {
438
+ this.dropdownPosition.left = null;
439
+ setTimeout(() => {
440
+ this.isClickOutsideActive = false;
441
+ }, 10);
442
+ }
443
+ if (val && this.isSearchable) {
444
+ this.$nextTick(() => {
445
+ if (this.$refs.searchInput && !this.isMobileDevice) {
446
+ this.$refs.searchInput.$el.querySelector("input").focus();
447
+ }
448
+ });
449
+ }
450
+ }
451
+ },
452
+ mounted() {
453
+ this.observeDropdownHeight();
454
+ this.observeSelectWidth();
455
+ window.addEventListener("resize", this.handleSetDropdownOffet);
456
+ },
457
+ beforeMount() {
458
+ this.selectedValue = this.value;
459
+ document.addEventListener("click", this.clickOutside);
460
+ this.getDropdownPosition();
461
+ window.removeEventListener("resize", this.handleSetDropdownOffet);
462
+ if (this.dropdownResizeObserver)
463
+ this.dropdownResizeObserver.disconnect();
464
+ if (this.selectResizeObserver)
465
+ this.selectResizeObserver.disconnect();
466
+ },
467
+ unmounted() {
468
+ document.removeEventListener("click", this.clickOutside);
469
+ },
470
+ methods: {
471
+ focus() {
472
+ this.isActive = true;
473
+ },
474
+ blur(e) {
475
+ this.isActive = false;
476
+ this.$emit("blur", e);
477
+ },
478
+ toggleDropdown() {
479
+ this.isDropdownOpen = !this.isDropdownOpen;
480
+ },
481
+ toggleCaretDropdown() {
482
+ this.isDropdownOpen = !this.isDropdownOpen;
483
+ },
484
+ closeDropdown() {
485
+ this.blur();
486
+ this.clearSearch();
487
+ this.isDropdownOpen = false;
488
+ },
489
+ clearSearch() {
490
+ this.textSearch = "";
491
+ this.searchChange("");
492
+ },
493
+ optionSelected(e) {
494
+ this.selectedValue = e;
495
+ this.closeDropdown();
496
+ this.blur();
497
+ this.$emit("input-change", e);
498
+ },
499
+ optionHovered: debounce(function(e) {
500
+ this.hoveredValue = e;
501
+ }, 300),
502
+ mouseEnterHandler() {
503
+ if (this.hoverDropdown) {
504
+ this.focus();
505
+ this.isDropdownOpen = true;
506
+ }
507
+ },
508
+ mouseLeaveHandler() {
509
+ if (this.hoverDropdown) {
510
+ this.blur();
511
+ }
512
+ },
513
+ optionLeave() {
514
+ if (this.dropdownAutoClose) {
515
+ this.isDropdownOpen = false;
516
+ }
517
+ },
518
+ searchChange(value) {
519
+ this.textSearch = value;
520
+ this.$emit("search-change", value);
521
+ const dropdownChildren = [...this.$refs.dropdown.$el.children];
522
+ dropdownChildren.forEach((el) => {
523
+ if (!el.textContent.toLowerCase().includes(value.toLowerCase())) {
524
+ el.style.display = "none";
525
+ return;
526
+ }
527
+ el.style.display = "inherit";
528
+ });
529
+ },
530
+ clickOutside(event) {
531
+ const dropdownRef = this.$refs.dropdown;
532
+ if (!this.isClickOutsideActive)
533
+ return;
534
+ if (this.$refs.select.$el == event.target || this.$refs.select.$el.contains(event.target) || event.target.id === "more-button" || event.target.parentNode === dropdownRef.$el) {
535
+ return;
536
+ } else {
537
+ this.closeDropdown();
538
+ }
539
+ },
540
+ onKeyDown(e) {
541
+ if (e.key == "ArrowDown") {
542
+ this.onArrowPress(1);
543
+ } else if (e.key == "ArrowUp") {
544
+ this.onArrowPress(-1);
545
+ } else if (e.key == "Enter") {
546
+ const optionHoveredComponent = [...this.$refs.dropdown.$el.children][(this.hoveredIndex - 1 + this.optionLength) % this.optionLength];
547
+ this.optionSelected(optionHoveredComponent.$el.dataset.value);
548
+ }
549
+ },
550
+ // If some part of the dropdown menu is outside viewport of the bottom of the screen,
551
+ // we need to offset it and display it at the top of the select dropdown instead
552
+ async getDropdownPosition() {
553
+ if (!this.$refs.dropdownWrapperRef || !this.$refs.select || !this.$refs.dropdown) {
554
+ return;
555
+ }
556
+ await this.$nextTick();
557
+ const isDisplayedAtBottom = await this.generateDropdownPosition();
558
+ await this.$nextTick();
559
+ if (isDisplayedAtBottom)
560
+ this.generateDropdownPosition();
561
+ },
562
+ async generateDropdownPosition() {
563
+ const isDropdownNotCompletelyVisible = await this.isBottomOfDropdownOutOfViewport();
564
+ const dropdownWrapperEl = this.$refs.dropdownWrapperRef.$el;
565
+ const selectButtonHeight = this.$refs.select.$el.clientHeight;
566
+ const dropdownHeight = this.$refs.dropdown.$el.clientHeight;
567
+ const dropdownWrapperRelativeHeight = dropdownWrapperEl.getBoundingClientRect().top + window.scrollY + DROPDOWN_HEIGHT_OFFSET;
568
+ const top = isDropdownNotCompletelyVisible || !isDropdownNotCompletelyVisible && this.dropdownMenuPosition === DROPDOWN_MENU_POSITIONS.Bottom ? dropdownWrapperRelativeHeight : dropdownWrapperRelativeHeight - dropdownHeight - selectButtonHeight - DROPDOWN_TOP_OFFSET;
569
+ const left = this.dropdownPosition.left ? this.dropdownPosition.left : dropdownWrapperEl.getBoundingClientRect().left + window.scrollX;
570
+ this.dropdownPosition = {
571
+ left: Math.floor(left),
572
+ top: Math.floor(top)
573
+ };
574
+ return isDropdownNotCompletelyVisible;
575
+ },
576
+ async isBottomOfDropdownOutOfViewport() {
577
+ if (!this.$refs.dropdown || this.dropdownMenuPosition === DROPDOWN_MENU_POSITIONS.Bottom) {
578
+ return false;
579
+ }
580
+ await this.$nextTick();
581
+ const rect = this.$refs.dropdown.$el.getBoundingClientRect();
582
+ const windowHeight = window.innerHeight || document.documentElement.clientHeight;
583
+ if (windowHeight <= 650)
584
+ return true;
585
+ return Math.floor(rect.top) + Math.floor(rect.height) <= windowHeight;
586
+ },
587
+ observeDropdownHeight() {
588
+ if (!this.$refs.dropdown)
589
+ return;
590
+ this.dropdownResizeObserver = new ResizeObserver(() => {
591
+ this.$nextTick(() => this.getDropdownPosition());
592
+ });
593
+ this.dropdownResizeObserver.observe(this.$refs.dropdown.$el);
594
+ },
595
+ handleSetDropdownOffet() {
596
+ if (!this.$refs.select)
597
+ return;
598
+ this.dropdownPosition.left = Math.floor(this.$refs.select.$el.getBoundingClientRect().left);
599
+ this.getDropdownWidth();
600
+ },
601
+ observeSelectWidth() {
602
+ if (!this.$refs.select)
603
+ return;
604
+ this.selectResizeObserver = new ResizeObserver(() => (
605
+ // eslint-disable-next-line vue/valid-next-tick
606
+ this.$nextTick(() => this.getDropdownWidth())
607
+ ));
608
+ this.selectResizeObserver.observe(this.$refs.dropdown.$el);
609
+ },
610
+ async getDropdownWidth() {
611
+ if (!this.$refs.select)
612
+ return;
613
+ await this.$nextTick();
614
+ this.dropdownWidth = `${this.$refs.select.$el.clientWidth}px`;
615
+ },
616
+ onArrowPress(dir) {
617
+ let newHoveredElem;
618
+ const currentHoveredElem = this.$refs.dropdown.$el.querySelector(`[data-value="${this.hoveredValue}"]`);
619
+ if (currentHoveredElem) {
620
+ if (dir > 0) {
621
+ newHoveredElem = currentHoveredElem.nextElementSibling;
622
+ } else {
623
+ newHoveredElem = currentHoveredElem.previousElementSibling;
624
+ }
625
+ if (newHoveredElem) {
626
+ this.hoveredValue = newHoveredElem.getAttribute("data-value");
627
+ const topPos = newHoveredElem.offsetTop;
628
+ this.$refs.dropdown.$el.scrollTop = topPos;
629
+ }
630
+ }
631
+ }
632
+ }
633
+ };
634
+ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
635
+ const _component_OptionalLabel = resolveComponent("OptionalLabel");
636
+ const _component_InputLabel = resolveComponent("InputLabel");
637
+ const _component_InfoText = resolveComponent("InfoText");
638
+ const _component_LabelWrapper = resolveComponent("LabelWrapper");
639
+ const _component_DraggableInputHandle = resolveComponent("DraggableInputHandle");
640
+ const _component_InputText = resolveComponent("InputText");
641
+ const _component_Selector = resolveComponent("Selector");
642
+ const _component_Icon = resolveComponent("Icon");
643
+ const _component_Caret = resolveComponent("Caret");
644
+ const _component_SelectButton = resolveComponent("SelectButton");
645
+ const _component_SelectDropdown = resolveComponent("SelectDropdown");
646
+ const _component_DropdownWrapper = resolveComponent("DropdownWrapper");
647
+ const _component_SelectButtonWrapper = resolveComponent("SelectButtonWrapper");
648
+ const _component_InputWrapper = resolveComponent("InputWrapper");
649
+ const _component_Container = resolveComponent("Container");
650
+ return openBlock(), createBlock(_component_Container, {
651
+ "no-relative": $props.noRelative,
652
+ "select-width": $props.selectWidth,
653
+ onMouseenter: $options.mouseEnterHandler,
654
+ onMouseleave: $options.mouseLeaveHandler
655
+ }, {
656
+ default: withCtx(() => [createVNode(_component_InputWrapper, {
657
+ "align-items": $props.alignItems,
658
+ "has-label": !!$props.label && $props.label.length > 0,
659
+ "no-relative": $props.noRelative
660
+ }, {
661
+ default: withCtx(() => [$props.label ? (openBlock(), createBlock(_component_LabelWrapper, {
662
+ key: 0,
663
+ "data-id": $props.labelDataId,
664
+ "data-qa-id": $props.dataQaId,
665
+ "info-text-message": !!$props.infoTextMessage || !!_ctx.$slots.infoText
666
+ }, {
667
+ default: withCtx(() => [createVNode(_component_InputLabel, {
668
+ "font-color": $props.labelFontColor || $props.colorMode == "dark" ? "white" : "eturnityGrey",
669
+ "font-size": $props.fontSize
670
+ }, {
671
+ default: withCtx(() => [createTextVNode(toDisplayString($props.label) + " ", 1), $props.labelOptional ? (openBlock(), createBlock(_component_OptionalLabel, {
672
+ key: 0
673
+ }, {
674
+ default: withCtx(() => [createTextVNode("\n (" + toDisplayString(_ctx.$gettext("Optional")) + ")", 1)]),
675
+ _: 1
676
+ })) : createCommentVNode("", true)]),
677
+ _: 1
678
+ }, 8, ["font-color", "font-size"]), createTextVNode(), $props.infoTextMessage || !!_ctx.$slots.infoText ? (openBlock(), createBlock(_component_InfoText, {
679
+ key: 0,
680
+ "align-arrow": $props.infoTextAlignArrow,
681
+ "max-width": $props.infoTextWidth,
682
+ size: $props.infoTextSize,
683
+ text: $props.infoTextMessage,
684
+ width: $props.infoTextWidth
685
+ }, {
686
+ default: withCtx(() => [renderSlot(_ctx.$slots, "infoText")]),
687
+ _: 3
688
+ }, 8, ["align-arrow", "max-width", "size", "text", "width"])) : createCommentVNode("", true)]),
689
+ _: 3
690
+ }, 8, ["data-id", "data-qa-id", "info-text-message"])) : createCommentVNode("", true), createTextVNode(), createVNode(_component_SelectButtonWrapper, {
691
+ disabled: $props.disabled
692
+ }, {
693
+ default: withCtx(() => [createVNode(_component_SelectButton, {
694
+ ref: "select",
695
+ "bg-color": $props.buttonBgColor || $props.colorMode == "dark" ? "transparentBlack1" : "white",
696
+ class: "select-button",
697
+ "data-id": $props.dataId,
698
+ "data-qa-id": $props.dataQaId,
699
+ disabled: $props.disabled,
700
+ "font-color": $props.buttonFontColor || $props.colorMode == "dark" ? "white" : "black",
701
+ "font-size": $props.fontSize,
702
+ "has-error": $props.hasError,
703
+ "has-no-padding": $options.isSearchBarVisible || !$props.hasSelectButtonPadding,
704
+ height: $props.height,
705
+ "no-relative": $props.noRelative,
706
+ "padding-left": $data.paddingLeft,
707
+ "select-height": $props.selectHeight,
708
+ "select-min-height": $props.selectMinHeight,
709
+ "select-width": $props.selectWidth,
710
+ "show-border": $props.showBorder,
711
+ "show-disabled-background": $props.showDisabledBackground,
712
+ "table-padding-left": $props.tablePaddingLeft,
713
+ onClick: $options.toggleDropdown,
714
+ onKeydown: $options.onKeyDown
715
+ }, {
716
+ default: withCtx(() => [$props.isDraggable && !$options.isSearchBarVisible ? (openBlock(), createBlock(_component_DraggableInputHandle, {
717
+ key: 0,
718
+ height: $props.selectHeight
719
+ }, null, 8, ["height"])) : createCommentVNode("", true), createTextVNode(), $options.isSearchBarVisible ? (openBlock(), createBlock(_component_InputText, {
720
+ key: 1,
721
+ ref: "searchInput",
722
+ "background-color": "transparent",
723
+ "font-color": $props.buttonFontColor || $props.colorMode == "dark" ? "white" : "black",
724
+ "font-size": $props.fontSize,
725
+ "input-height": "34px",
726
+ "input-width": $options.computedWidth,
727
+ "no-border": true,
728
+ tabindex: "0",
729
+ value: $data.textSearch,
730
+ onClick: _cache[0] || (_cache[0] = withModifiers(() => {
731
+ }, ["stop"])),
732
+ onInputChange: $options.searchChange,
733
+ onKeydown: withModifiers($options.onKeyDown, ["stop"])
734
+ }, null, 8, ["font-color", "font-size", "input-width", "value", "onInputChange", "onKeydown"])) : (openBlock(), createBlock(_component_Selector, {
735
+ key: 2,
736
+ "padding-left": $data.paddingLeft,
737
+ "select-width": $props.selectWidth,
738
+ "show-border": $props.showBorder
739
+ }, {
740
+ default: withCtx(() => [renderSlot(_ctx.$slots, "selector", {
741
+ selectedValue: $data.selectedValue
742
+ })]),
743
+ _: 3
744
+ }, 8, ["padding-left", "select-width", "show-border"])), createTextVNode(), createVNode(_component_Caret, {
745
+ class: "caret_dropdown",
746
+ onClick: withModifiers($options.toggleCaretDropdown, ["stop"])
747
+ }, {
748
+ default: withCtx(() => [$data.isDropdownOpen ? (openBlock(), createBlock(_component_Icon, {
749
+ key: 0,
750
+ color: $props.caretColor || $props.colorMode == "dark" ? "white" : "transparentBlack1",
751
+ name: "arrow_up",
752
+ size: "12px"
753
+ }, null, 8, ["color"])) : (openBlock(), createBlock(_component_Icon, {
754
+ key: 1,
755
+ color: $props.caretColor || $props.colorMode == "dark" ? "white" : "transparentBlack1",
756
+ name: "arrow_down",
757
+ size: "12px"
758
+ }, null, 8, ["color"]))]),
759
+ _: 1
760
+ }, 8, ["onClick"])]),
761
+ _: 3
762
+ }, 8, ["bg-color", "data-id", "data-qa-id", "disabled", "font-color", "font-size", "has-error", "has-no-padding", "height", "no-relative", "padding-left", "select-height", "select-min-height", "select-width", "show-border", "show-disabled-background", "table-padding-left", "onClick", "onKeydown"]), createTextVNode(), createVNode(_component_DropdownWrapper, {
763
+ ref: "dropdownWrapperRef",
764
+ "no-relative": $props.noRelative
765
+ }, {
766
+ default: withCtx(() => [(openBlock(), createBlock(Teleport, {
767
+ to: "#portal-target"
768
+ }, [withDirectives(createVNode(_component_SelectDropdown, {
769
+ ref: "dropdown",
770
+ "bg-color": $props.dropdownBgColor || $props.colorMode == "dark" ? "black" : "white",
771
+ "dropdown-position": $data.dropdownPosition,
772
+ "font-color": $props.dropdownFontColor || $props.colorMode == "dark" ? "white" : "black",
773
+ "font-size": $props.fontSize,
774
+ "hovered-bg-color": $props.colorMode == "dark" ? "#000000" : $props.dropdownBgColor,
775
+ "hovered-index": $data.hoveredIndex,
776
+ "hovered-value": $data.hoveredValue,
777
+ "is-active": $data.isActive,
778
+ "min-width": $props.minWidth,
779
+ "no-relative": $props.noRelative,
780
+ "option-width": $options.getOptionWidth,
781
+ "selected-value": $data.selectedValue,
782
+ onMouseleave: $options.optionLeave,
783
+ onOptionHovered: $options.optionHovered,
784
+ onOptionSelected: $options.optionSelected
785
+ }, {
786
+ default: withCtx(() => [renderSlot(_ctx.$slots, "dropdown")]),
787
+ _: 3
788
+ }, 8, ["bg-color", "dropdown-position", "font-color", "font-size", "hovered-bg-color", "hovered-index", "hovered-value", "is-active", "min-width", "no-relative", "option-width", "selected-value", "onMouseleave", "onOptionHovered", "onOptionSelected"]), [[vShow, $options.isSelectDropdownShown]])]))]),
789
+ _: 3
790
+ }, 8, ["no-relative"])]),
791
+ _: 3
792
+ }, 8, ["disabled"])]),
793
+ _: 3
794
+ }, 8, ["align-items", "has-label", "no-relative"])]),
795
+ _: 3
796
+ }, 8, ["no-relative", "select-width", "onMouseenter", "onMouseleave"]);
797
+ }
798
+ const RCSelect = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]);
799
+ export {
800
+ RCSelect as default
801
+ };