@ikas/core 1.0.49 → 1.0.51

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 (531) hide show
  1. package/dist/components/custom-select/index.d.ts.map +1 -1
  2. package/dist/components/datatable/cells/select-cell.d.ts.map +1 -1
  3. package/dist/components/datatable/paginator.d.ts.map +1 -1
  4. package/dist/components/filter-manager/filter-row.d.ts.map +1 -1
  5. package/dist/components/filter-manager/filter-string-input.d.ts.map +1 -1
  6. package/dist/components/search/async-search-select/index.d.ts.map +1 -1
  7. package/dist/components/search/brand-search-dropdown/index.d.ts.map +1 -1
  8. package/dist/components/search/category-search/index.d.ts.map +1 -1
  9. package/dist/components/search/category-select/index.d.ts.map +1 -1
  10. package/dist/components/search/country-select/index.d.ts.map +1 -1
  11. package/dist/components/search/product-search-dropdown/index.d.ts.map +1 -1
  12. package/dist/components/search/raffle-search-dropdown/index.d.ts.map +1 -1
  13. package/dist/components/search/variant-search-dropdown/index.d.ts.map +1 -1
  14. package/dist/core.css +1 -1
  15. package/dist/index102.cjs +1 -1
  16. package/dist/index102.js +1 -1
  17. package/dist/index104.cjs +1 -1
  18. package/dist/index104.js +1 -1
  19. package/dist/index112.cjs +1 -1
  20. package/dist/index112.js +3 -3
  21. package/dist/index114.cjs +1 -1
  22. package/dist/index114.js +2 -2
  23. package/dist/index123.cjs +1 -1
  24. package/dist/index123.js +168 -160
  25. package/dist/index124.cjs +1 -5
  26. package/dist/index124.js +110 -2961
  27. package/dist/index125.cjs +6 -1
  28. package/dist/index125.js +14 -2
  29. package/dist/index126.cjs +6 -1
  30. package/dist/index126.js +13 -5
  31. package/dist/index127.cjs +6 -1
  32. package/dist/index127.js +14 -111
  33. package/dist/index128.cjs +5 -6
  34. package/dist/index128.js +2962 -14
  35. package/dist/index129.cjs +1 -6
  36. package/dist/index129.js +2 -13
  37. package/dist/index130.cjs +1 -6
  38. package/dist/index130.js +5 -14
  39. package/dist/index131.cjs +1 -1
  40. package/dist/index131.js +4 -4
  41. package/dist/index132.cjs +1 -1
  42. package/dist/index132.js +4 -8
  43. package/dist/index133.cjs +1 -1
  44. package/dist/index133.js +7 -6
  45. package/dist/index134.cjs +1 -1
  46. package/dist/index134.js +6 -3
  47. package/dist/index151.cjs +1 -1
  48. package/dist/index151.js +40 -36
  49. package/dist/index153.cjs +1 -1
  50. package/dist/index153.js +6 -76
  51. package/dist/index154.cjs +3 -1
  52. package/dist/index154.js +146 -6
  53. package/dist/index155.cjs +1 -3
  54. package/dist/index155.js +29 -144
  55. package/dist/index156.cjs +1 -1
  56. package/dist/index156.js +141 -28
  57. package/dist/index157.cjs +15 -1
  58. package/dist/index157.js +107 -114
  59. package/dist/index158.cjs +1 -15
  60. package/dist/index158.js +86 -136
  61. package/dist/index159.cjs +11 -1
  62. package/dist/index159.js +147 -86
  63. package/dist/index160.cjs +1 -11
  64. package/dist/index160.js +72 -137
  65. package/dist/index161.cjs +1 -1
  66. package/dist/index161.js +46 -79
  67. package/dist/index162.cjs +1 -1
  68. package/dist/index162.js +21 -47
  69. package/dist/index163.cjs +1 -1
  70. package/dist/index163.js +5 -24
  71. package/dist/index164.cjs +1 -1
  72. package/dist/index164.js +6 -5
  73. package/dist/index165.cjs +1 -1
  74. package/dist/index165.js +44 -6
  75. package/dist/index166.cjs +1 -1
  76. package/dist/index166.js +48 -42
  77. package/dist/index167.cjs +1 -1
  78. package/dist/index167.js +9 -50
  79. package/dist/index168.cjs +1 -1
  80. package/dist/index168.js +19 -9
  81. package/dist/index169.cjs +1 -1
  82. package/dist/index169.js +58 -19
  83. package/dist/index170.cjs +1 -1
  84. package/dist/index170.js +280 -52
  85. package/dist/index171.cjs +1 -1
  86. package/dist/index171.js +17 -284
  87. package/dist/index172.cjs +1 -1
  88. package/dist/index172.js +9 -10
  89. package/dist/index173.cjs +1 -1
  90. package/dist/index173.js +60 -14
  91. package/dist/index174.cjs +1 -1
  92. package/dist/index174.js +102 -53
  93. package/dist/index175.cjs +1 -1
  94. package/dist/index175.js +30 -101
  95. package/dist/index176.cjs +1 -1
  96. package/dist/index176.js +19 -37
  97. package/dist/index177.cjs +1 -1
  98. package/dist/index177.js +162 -19
  99. package/dist/index178.cjs +1 -1
  100. package/dist/index178.js +19 -163
  101. package/dist/index179.cjs +1 -1
  102. package/dist/index179.js +53 -19
  103. package/dist/index180.cjs +1 -1
  104. package/dist/index180.js +27 -51
  105. package/dist/index181.cjs +1 -1
  106. package/dist/index181.js +43 -25
  107. package/dist/index182.cjs +1 -1
  108. package/dist/index182.js +117 -35
  109. package/dist/index183.cjs +1 -1
  110. package/dist/index183.js +63 -115
  111. package/dist/index184.cjs +1 -1
  112. package/dist/index184.js +72 -73
  113. package/dist/index185.cjs +1 -1
  114. package/dist/index185.js +15 -76
  115. package/dist/index186.cjs +1 -1
  116. package/dist/index186.js +28 -14
  117. package/dist/index187.cjs +1 -1
  118. package/dist/index187.js +26 -28
  119. package/dist/index188.cjs +1 -1
  120. package/dist/index188.js +13 -13
  121. package/dist/index189.cjs +1 -1
  122. package/dist/index189.js +171 -27
  123. package/dist/index190.cjs +1 -1
  124. package/dist/index190.js +51 -174
  125. package/dist/index191.cjs +1 -1
  126. package/dist/index191.js +75 -50
  127. package/dist/index197.cjs +1 -1
  128. package/dist/index197.js +3 -3
  129. package/dist/index198.cjs +1 -1
  130. package/dist/index198.js +4 -4
  131. package/dist/index199.cjs +1 -1
  132. package/dist/index199.js +1 -1
  133. package/dist/index202.cjs +1 -1
  134. package/dist/index202.js +1 -1
  135. package/dist/index203.cjs +1 -1
  136. package/dist/index203.js +1 -1
  137. package/dist/index204.cjs +1 -1
  138. package/dist/index204.js +1 -1
  139. package/dist/index205.cjs +1 -1
  140. package/dist/index205.js +1 -1
  141. package/dist/index206.cjs +1 -1
  142. package/dist/index206.js +1 -1
  143. package/dist/index207.cjs +1 -1
  144. package/dist/index207.js +1 -1
  145. package/dist/index208.cjs +1 -1
  146. package/dist/index208.js +7 -7
  147. package/dist/index209.cjs +1 -1
  148. package/dist/index209.js +2 -2
  149. package/dist/index210.cjs +1 -1
  150. package/dist/index210.js +2 -2
  151. package/dist/index215.cjs +1 -1
  152. package/dist/index215.js +40 -4
  153. package/dist/index216.cjs +1 -1
  154. package/dist/index216.js +5 -5
  155. package/dist/index217.cjs +1 -1
  156. package/dist/index217.js +4 -39
  157. package/dist/index218.cjs +1 -1
  158. package/dist/index218.js +20 -83
  159. package/dist/index219.cjs +1 -1
  160. package/dist/index219.js +83 -5
  161. package/dist/index220.cjs +1 -1
  162. package/dist/index220.js +4 -5
  163. package/dist/index221.cjs +1 -1
  164. package/dist/index221.js +5 -20
  165. package/dist/index222.cjs +1 -1
  166. package/dist/index222.js +2 -2
  167. package/dist/index223.cjs +1 -8
  168. package/dist/index223.js +2 -76
  169. package/dist/index224.cjs +1 -8
  170. package/dist/index224.js +2 -93
  171. package/dist/index225.cjs +1 -5
  172. package/dist/index225.js +2 -52
  173. package/dist/index226.cjs +1 -1
  174. package/dist/index226.js +2 -8
  175. package/dist/index227.cjs +1 -1
  176. package/dist/index227.js +2 -5
  177. package/dist/index228.cjs +1 -1
  178. package/dist/index228.js +2 -52
  179. package/dist/index229.cjs +8 -1
  180. package/dist/index229.js +76 -2
  181. package/dist/index230.cjs +8 -1
  182. package/dist/index230.js +93 -2
  183. package/dist/index231.cjs +5 -1
  184. package/dist/index231.js +52 -2
  185. package/dist/index232.cjs +1 -1
  186. package/dist/index232.js +8 -2
  187. package/dist/index233.cjs +1 -1
  188. package/dist/index233.js +5 -2
  189. package/dist/index234.cjs +1 -1
  190. package/dist/index234.js +52 -2
  191. package/dist/index235.cjs +1 -1
  192. package/dist/index235.js +26 -16
  193. package/dist/index236.cjs +1 -1
  194. package/dist/index236.js +16 -6
  195. package/dist/index237.cjs +1 -1
  196. package/dist/index237.js +42 -3
  197. package/dist/index238.cjs +1 -1
  198. package/dist/index238.js +13 -28
  199. package/dist/index239.cjs +1 -1
  200. package/dist/index239.js +13 -7
  201. package/dist/index240.cjs +1 -1
  202. package/dist/index240.js +60 -4
  203. package/dist/index241.cjs +1 -1
  204. package/dist/index241.js +15 -6
  205. package/dist/index242.cjs +1 -1
  206. package/dist/index242.js +5 -10
  207. package/dist/index243.cjs +1 -1
  208. package/dist/index243.js +3 -26
  209. package/dist/index244.cjs +1 -1
  210. package/dist/index244.js +29 -16
  211. package/dist/index245.cjs +1 -1
  212. package/dist/index245.js +7 -42
  213. package/dist/index246.cjs +1 -1
  214. package/dist/index246.js +4 -13
  215. package/dist/index247.cjs +1 -1
  216. package/dist/index247.js +7 -13
  217. package/dist/index248.cjs +1 -1
  218. package/dist/index248.js +10 -60
  219. package/dist/index249.cjs +1 -1
  220. package/dist/index249.js +3 -3
  221. package/dist/index25.cjs +1 -1
  222. package/dist/index25.js +71 -70
  223. package/dist/index250.cjs +1 -1
  224. package/dist/index250.js +7 -7
  225. package/dist/index252.cjs +1 -1
  226. package/dist/index252.js +4 -4
  227. package/dist/index253.cjs +1 -1
  228. package/dist/index253.js +2 -2
  229. package/dist/index254.cjs +1 -1
  230. package/dist/index254.js +2 -2
  231. package/dist/index255.cjs +1 -1
  232. package/dist/index255.js +3 -39
  233. package/dist/index256.cjs +1 -1
  234. package/dist/index256.js +6 -2
  235. package/dist/index257.cjs +1 -1
  236. package/dist/index257.js +7 -5
  237. package/dist/index258.cjs +1 -1
  238. package/dist/index258.js +5 -3
  239. package/dist/index259.cjs +1 -1
  240. package/dist/index259.js +38 -5
  241. package/dist/index26.cjs +1 -1
  242. package/dist/index26.js +22 -20
  243. package/dist/index260.cjs +1 -1
  244. package/dist/index260.js +2 -7
  245. package/dist/index263.cjs +1 -1
  246. package/dist/index263.js +17 -5
  247. package/dist/index264.cjs +1 -1
  248. package/dist/index264.js +4 -4
  249. package/dist/index265.cjs +1 -1
  250. package/dist/index265.js +4 -12
  251. package/dist/index266.cjs +1 -1
  252. package/dist/index266.js +3 -3
  253. package/dist/index267.cjs +1 -1
  254. package/dist/index267.js +2 -2
  255. package/dist/index268.cjs +1 -1
  256. package/dist/index268.js +14 -5
  257. package/dist/index269.cjs +1 -1
  258. package/dist/index269.js +9 -17
  259. package/dist/index270.cjs +1 -1
  260. package/dist/index270.js +3 -4
  261. package/dist/index271.cjs +1 -1
  262. package/dist/index271.js +10 -4
  263. package/dist/index272.cjs +1 -1
  264. package/dist/index272.js +6 -3
  265. package/dist/index273.cjs +1 -1
  266. package/dist/index273.js +4 -2
  267. package/dist/index274.cjs +1 -1
  268. package/dist/index274.js +6 -14
  269. package/dist/index275.cjs +1 -1
  270. package/dist/index275.js +6 -9
  271. package/dist/index276.cjs +1 -1
  272. package/dist/index276.js +8 -11
  273. package/dist/index277.cjs +1 -1
  274. package/dist/index277.js +5 -6
  275. package/dist/index278.cjs +1 -1
  276. package/dist/index278.js +4 -6
  277. package/dist/index279.cjs +1 -1
  278. package/dist/index279.js +9 -6
  279. package/dist/index28.cjs +1 -1
  280. package/dist/index28.js +43 -42
  281. package/dist/index280.cjs +1 -1
  282. package/dist/index280.js +13 -6
  283. package/dist/index281.cjs +1 -1
  284. package/dist/index281.js +5 -8
  285. package/dist/index282.cjs +1 -1
  286. package/dist/index282.js +5 -5
  287. package/dist/index283.cjs +1 -1
  288. package/dist/index283.js +18 -4
  289. package/dist/index284.cjs +1 -1
  290. package/dist/index284.js +12 -9
  291. package/dist/index285.cjs +1 -1
  292. package/dist/index285.js +12 -13
  293. package/dist/index286.cjs +1 -1
  294. package/dist/index286.js +4 -5
  295. package/dist/index287.cjs +1 -1
  296. package/dist/index287.js +5 -5
  297. package/dist/index288.cjs +1 -1
  298. package/dist/index288.js +5 -17
  299. package/dist/index289.cjs +1 -1
  300. package/dist/index289.js +12 -12
  301. package/dist/index29.cjs +1 -1
  302. package/dist/index29.js +45 -44
  303. package/dist/index290.cjs +1 -1
  304. package/dist/index290.js +4 -26
  305. package/dist/index291.cjs +1 -1
  306. package/dist/index291.js +25 -8
  307. package/dist/index292.cjs +1 -1
  308. package/dist/index292.js +9 -5
  309. package/dist/index293.cjs +1 -1
  310. package/dist/index293.js +5 -5
  311. package/dist/index294.cjs +1 -1
  312. package/dist/index294.js +4 -4
  313. package/dist/index295.cjs +1 -1
  314. package/dist/index295.js +4 -4
  315. package/dist/index296.cjs +1 -1
  316. package/dist/index296.js +5 -9
  317. package/dist/index297.cjs +1 -1
  318. package/dist/index297.js +9 -4
  319. package/dist/index298.cjs +1 -1
  320. package/dist/index298.js +2 -5
  321. package/dist/index299.cjs +1 -1
  322. package/dist/index299.js +7 -5
  323. package/dist/index30.cjs +1 -1
  324. package/dist/index30.js +45 -44
  325. package/dist/index300.cjs +1 -1
  326. package/dist/index300.js +4 -5
  327. package/dist/index301.cjs +1 -1
  328. package/dist/index301.js +6 -5
  329. package/dist/index302.cjs +1 -1
  330. package/dist/index302.js +5 -12
  331. package/dist/index303.cjs +1 -1
  332. package/dist/index303.js +4 -4
  333. package/dist/index304.cjs +1 -1
  334. package/dist/index304.js +6 -38
  335. package/dist/index305.cjs +1 -1
  336. package/dist/index305.js +8 -2
  337. package/dist/index306.cjs +1 -1
  338. package/dist/index306.js +4 -2
  339. package/dist/index307.cjs +1 -1
  340. package/dist/index307.js +38 -6
  341. package/dist/index308.cjs +1 -1
  342. package/dist/index308.js +2 -8
  343. package/dist/index309.cjs +1 -1
  344. package/dist/index309.js +2 -4
  345. package/dist/index31.cjs +1 -1
  346. package/dist/index31.js +36 -35
  347. package/dist/index310.cjs +1 -1
  348. package/dist/index310.js +5 -3
  349. package/dist/index311.cjs +1 -1
  350. package/dist/index311.js +15 -10
  351. package/dist/index312.cjs +1 -1
  352. package/dist/index312.js +3 -6
  353. package/dist/index313.cjs +1 -1
  354. package/dist/index313.js +3 -2
  355. package/dist/index314.cjs +1 -1
  356. package/dist/index314.js +6 -5
  357. package/dist/index315.cjs +1 -1
  358. package/dist/index315.js +4 -4
  359. package/dist/index316.cjs +1 -1
  360. package/dist/index316.js +9 -17
  361. package/dist/index317.cjs +1 -1
  362. package/dist/index317.js +6 -9
  363. package/dist/index318.cjs +1 -1
  364. package/dist/index318.js +9 -6
  365. package/dist/index319.cjs +1 -1
  366. package/dist/index319.js +11 -14
  367. package/dist/index32.cjs +1 -1
  368. package/dist/index32.js +45 -44
  369. package/dist/index320.cjs +1 -1
  370. package/dist/index320.js +8 -2
  371. package/dist/index321.cjs +1 -1
  372. package/dist/index321.js +3 -5
  373. package/dist/index322.cjs +1 -1
  374. package/dist/index322.js +9 -6
  375. package/dist/index323.cjs +1 -1
  376. package/dist/index323.js +5 -3
  377. package/dist/index324.cjs +1 -1
  378. package/dist/index324.js +4 -9
  379. package/dist/index325.cjs +1 -1
  380. package/dist/index325.js +5 -5
  381. package/dist/index326.cjs +1 -1
  382. package/dist/index326.js +4 -9
  383. package/dist/index327.cjs +1 -1
  384. package/dist/index327.js +16 -10
  385. package/dist/index33.cjs +1 -1
  386. package/dist/index33.js +40 -39
  387. package/dist/index331.cjs +1 -1
  388. package/dist/index331.js +1 -1
  389. package/dist/index333.cjs +1 -1
  390. package/dist/index333.js +1 -1
  391. package/dist/index334.cjs +1 -1
  392. package/dist/index334.js +29 -8
  393. package/dist/index335.cjs +1 -1
  394. package/dist/index335.js +8 -29
  395. package/dist/index337.cjs +1 -1
  396. package/dist/index337.js +4 -4
  397. package/dist/index338.cjs +1 -1
  398. package/dist/index338.js +1 -1
  399. package/dist/index34.cjs +1 -1
  400. package/dist/index34.js +33 -31
  401. package/dist/index341.cjs +1 -1
  402. package/dist/index341.js +3 -8
  403. package/dist/index342.cjs +1 -1
  404. package/dist/index342.js +5 -6
  405. package/dist/index343.cjs +1 -1
  406. package/dist/index343.js +6 -9
  407. package/dist/index344.cjs +1 -1
  408. package/dist/index344.js +6 -5
  409. package/dist/index345.cjs +1 -1
  410. package/dist/index345.js +7 -4
  411. package/dist/index346.cjs +1 -1
  412. package/dist/index346.js +10 -4
  413. package/dist/index347.cjs +1 -1
  414. package/dist/index347.js +5 -5
  415. package/dist/index348.cjs +1 -1
  416. package/dist/index348.js +5 -3
  417. package/dist/index349.cjs +1 -1
  418. package/dist/index349.js +3 -4
  419. package/dist/index350.cjs +1 -1
  420. package/dist/index350.js +5 -7
  421. package/dist/index352.cjs +1 -1
  422. package/dist/index352.js +1 -1
  423. package/dist/index353.cjs +1 -1
  424. package/dist/index353.js +3 -3
  425. package/dist/index354.cjs +1 -1
  426. package/dist/index354.js +3 -3
  427. package/dist/index355.cjs +1 -1
  428. package/dist/index355.js +4 -4
  429. package/dist/index356.cjs +1 -1
  430. package/dist/index356.js +1 -1
  431. package/dist/index357.cjs +1 -1
  432. package/dist/index357.js +7 -7
  433. package/dist/index358.cjs +1 -1
  434. package/dist/index358.js +4 -4
  435. package/dist/index361.cjs +1 -1
  436. package/dist/index361.js +1 -1
  437. package/dist/index362.cjs +1 -1
  438. package/dist/index362.js +1 -1
  439. package/dist/index363.cjs +1 -1
  440. package/dist/index363.js +11 -8
  441. package/dist/index364.cjs +1 -1
  442. package/dist/index364.js +6 -4
  443. package/dist/index365.cjs +1 -1
  444. package/dist/index365.js +3 -10
  445. package/dist/index366.cjs +1 -1
  446. package/dist/index366.js +6 -6
  447. package/dist/index367.cjs +1 -1
  448. package/dist/index367.js +5 -2
  449. package/dist/index368.cjs +1 -1
  450. package/dist/index368.js +6 -6
  451. package/dist/index369.cjs +1 -1
  452. package/dist/index369.js +4 -7
  453. package/dist/index370.cjs +1 -1
  454. package/dist/index370.js +4 -7
  455. package/dist/index371.cjs +1 -1
  456. package/dist/index371.js +4 -4
  457. package/dist/index372.cjs +1 -1
  458. package/dist/index372.js +4 -4
  459. package/dist/index373.cjs +1 -1
  460. package/dist/index373.js +15 -4
  461. package/dist/index374.cjs +1 -1
  462. package/dist/index374.js +8 -4
  463. package/dist/index375.cjs +1 -1
  464. package/dist/index375.js +4 -14
  465. package/dist/index376.cjs +1 -1
  466. package/dist/index376.js +8 -4
  467. package/dist/index377.cjs +1 -1
  468. package/dist/index377.js +4 -8
  469. package/dist/index383.cjs +1 -1
  470. package/dist/index383.js +4 -8
  471. package/dist/index384.cjs +1 -1
  472. package/dist/index384.js +3 -15
  473. package/dist/index385.cjs +1 -1
  474. package/dist/index385.js +6 -4
  475. package/dist/index386.cjs +1 -1
  476. package/dist/index386.js +8 -4
  477. package/dist/index387.cjs +1 -1
  478. package/dist/index387.js +8 -6
  479. package/dist/index388.cjs +1 -1
  480. package/dist/index388.js +16 -8
  481. package/dist/index389.cjs +1 -1
  482. package/dist/index389.js +1 -1
  483. package/dist/index390.cjs +1 -1
  484. package/dist/index390.js +1 -1
  485. package/dist/index391.cjs +1 -1
  486. package/dist/index391.js +5 -15
  487. package/dist/index392.cjs +1 -1
  488. package/dist/index392.js +7 -5
  489. package/dist/index393.cjs +1 -1
  490. package/dist/index393.js +3 -7
  491. package/dist/index394.cjs +1 -1
  492. package/dist/index394.js +15 -3
  493. package/dist/index5.cjs +1 -1
  494. package/dist/index5.js +1 -1
  495. package/dist/index50.cjs +1 -1
  496. package/dist/index50.js +3 -3
  497. package/dist/index53.cjs +1 -1
  498. package/dist/index53.js +69 -88
  499. package/dist/index56.cjs +1 -1
  500. package/dist/index56.js +1 -1
  501. package/dist/index57.cjs +1 -1
  502. package/dist/index57.js +1 -1
  503. package/dist/index83.cjs +1 -1
  504. package/dist/index83.js +6 -6
  505. package/dist/index84.cjs +1 -1
  506. package/dist/index84.js +11 -11
  507. package/dist/index85.cjs +1 -1
  508. package/dist/index85.js +9 -9
  509. package/dist/index86.cjs +1 -1
  510. package/dist/index86.js +14 -14
  511. package/dist/index87.cjs +1 -1
  512. package/dist/index87.js +12 -12
  513. package/dist/index88.cjs +1 -1
  514. package/dist/index88.js +8 -8
  515. package/dist/index89.cjs +1 -1
  516. package/dist/index89.js +9 -9
  517. package/dist/index90.cjs +1 -1
  518. package/dist/index90.js +10 -10
  519. package/dist/index91.cjs +1 -1
  520. package/dist/index91.js +14 -14
  521. package/dist/index92.cjs +1 -1
  522. package/dist/index92.js +13 -13
  523. package/dist/index93.cjs +1 -1
  524. package/dist/index93.js +10 -10
  525. package/dist/index94.cjs +1 -1
  526. package/dist/index94.js +11 -11
  527. package/dist/index95.cjs +1 -1
  528. package/dist/index95.js +10 -10
  529. package/dist/index96.cjs +1 -1
  530. package/dist/index96.js +12 -12
  531. package/package.json +1 -1
package/dist/index30.js CHANGED
@@ -1,38 +1,38 @@
1
- import { jsx as l, jsxs as V } from "react/jsx-runtime";
1
+ import { jsx as f, jsxs as V } from "react/jsx-runtime";
2
2
  import * as r from "react";
3
3
  import { Select as j } from "@ikas/ui";
4
- import { coreTranslations as k } from "./index5.js";
5
- const F = 600;
6
- function I(t) {
4
+ import { coreTranslations as I } from "./index5.js";
5
+ const k = 600;
6
+ function R(t) {
7
7
  return t.flatMap(
8
- (c) => {
9
- var d;
10
- return (d = c.product.variants) != null && d.length ? c.product.variants.map((i) => ({
11
- product: c.product,
8
+ (o) => {
9
+ var u;
10
+ return (u = o.product.variants) != null && u.length ? o.product.variants.map((i) => ({
11
+ product: o.product,
12
12
  variant: i
13
- })) : [c];
13
+ })) : [o];
14
14
  }
15
15
  );
16
16
  }
17
- function K(t) {
17
+ function F(t) {
18
18
  return /* @__PURE__ */ V("div", { className: "flex flex-col", children: [
19
- /* @__PURE__ */ l("span", { className: "text-sm font-medium leading-tight", children: t.product.name ?? t.product.id }),
20
- t.variant.variantValueText && /* @__PURE__ */ l("span", { className: "text-sm leading-tight text-[var(--purple)]", children: t.variant.variantValueText }),
21
- t.variant.barcodeSkuText && /* @__PURE__ */ l("span", { className: "mt-0.5 text-xs font-medium leading-tight text-[var(--gray-blue-5)]", children: t.variant.barcodeSkuText })
19
+ /* @__PURE__ */ f("span", { className: "text-sm font-medium leading-tight", children: t.product.name ?? t.product.id }),
20
+ t.variant.variantValueText && /* @__PURE__ */ f("span", { className: "text-sm leading-tight text-[var(--purple)]", children: t.variant.variantValueText }),
21
+ t.variant.barcodeSkuText && /* @__PURE__ */ f("span", { className: "mt-0.5 text-xs font-medium leading-tight text-[var(--gray-blue-5)]", children: t.variant.barcodeSkuText })
22
22
  ] });
23
23
  }
24
24
  function B({
25
25
  value: t,
26
- disabled: c,
27
- notFoundContent: d,
26
+ disabled: o,
27
+ notFoundContent: u,
28
28
  priceListId: i,
29
- placeholder: R = k.variantSearch.searchVariant,
29
+ placeholder: w = I.variantSearch.searchVariant,
30
30
  onChange: x,
31
31
  searchVariants: s,
32
- className: w
32
+ className: D
33
33
  }) {
34
- const [o, m] = r.useState(null), [h, g] = r.useState([]), [v, D] = r.useState(""), [N, p] = r.useState(!t), u = r.useRef(null), b = r.useRef(null);
35
- b.current = o, r.useEffect(() => {
34
+ const [c, m] = r.useState(null), [h, g] = r.useState([]), [v, N] = r.useState(""), [C, p] = r.useState(!t), d = r.useRef(null), b = r.useRef(null);
35
+ b.current = c, r.useEffect(() => {
36
36
  var a;
37
37
  if (!t) {
38
38
  m(null), p(!0);
@@ -49,19 +49,19 @@ function B({
49
49
  }).then((n) => {
50
50
  var T, y;
51
51
  if (e) return;
52
- const S = I(n || []).find(
53
- (O) => O.variant.id === t.variantId
52
+ const S = R(n || []).find(
53
+ (P) => P.variant.id === t.variantId
54
54
  ) ?? ((T = n == null ? void 0 : n[0]) != null && T.product && ((y = n == null ? void 0 : n[0]) != null && y.variant) ? n[0] : null);
55
55
  m(S ?? null), p(!0);
56
56
  }), () => {
57
57
  e = !0;
58
58
  };
59
59
  }, [t == null ? void 0 : t.productId, t == null ? void 0 : t.variantId, s, i]), r.useEffect(() => () => {
60
- u.current && clearTimeout(u.current);
60
+ d.current && clearTimeout(d.current);
61
61
  }, []);
62
- const C = r.useCallback(
62
+ const E = r.useCallback(
63
63
  (e) => {
64
- D(e), u.current && clearTimeout(u.current), u.current = setTimeout(async () => {
64
+ N(e), d.current && clearTimeout(d.current), d.current = setTimeout(async () => {
65
65
  if (!e) {
66
66
  g([]);
67
67
  return;
@@ -71,50 +71,51 @@ function B({
71
71
  query: e,
72
72
  priceListId: i
73
73
  });
74
- g(I(a || []));
75
- }, F);
74
+ g(R(a || []));
75
+ }, k);
76
76
  },
77
77
  [s, i]
78
- ), f = r.useMemo(() => {
79
- const e = o ? [o, ...h] : h, a = /* @__PURE__ */ new Set();
78
+ ), l = r.useMemo(() => {
79
+ const e = c ? [c, ...h] : h, a = /* @__PURE__ */ new Set();
80
80
  return e.filter((n) => a.has(n.variant.id) ? !1 : (a.add(n.variant.id), !0));
81
- }, [h, o]), E = r.useMemo(
82
- () => f.map((e) => ({
83
- label: K(e),
81
+ }, [h, c]), M = r.useMemo(
82
+ () => l.map((e) => ({
83
+ label: F(e),
84
84
  // Original trigger shows only the product name
85
85
  triggerLabel: e.product.name ?? e.product.id,
86
86
  value: e.variant.id
87
87
  })),
88
- [f]
89
- ), M = r.useCallback(
88
+ [l]
89
+ ), O = r.useCallback(
90
90
  (e) => {
91
91
  const a = typeof e == "string" ? e : e[0];
92
92
  if (!a) return;
93
- const n = f.find((S) => S.variant.id === a);
93
+ const n = l.find((S) => S.variant.id === a);
94
94
  n && (m(n), x({
95
95
  ...n,
96
96
  productId: n.product.id,
97
97
  variantId: n.variant.id
98
98
  }));
99
99
  },
100
- [f, x]
100
+ [l, x]
101
101
  );
102
- return N ? /* @__PURE__ */ l(
102
+ return C ? /* @__PURE__ */ f(
103
103
  j,
104
104
  {
105
- className: w,
106
- value: (o == null ? void 0 : o.variant.id) ?? "",
107
- options: E,
108
- onChange: M,
105
+ searchPlaceholder: I.common.placeholder.search,
106
+ className: D,
107
+ value: (c == null ? void 0 : c.variant.id) ?? "",
108
+ options: M,
109
+ onChange: O,
109
110
  showSearch: !0,
110
111
  showArrow: !1,
111
112
  filterOption: !1,
112
113
  searchValue: v,
113
- onSearch: C,
114
+ onSearch: E,
114
115
  isDynamicNotFound: !0,
115
- notFoundContent: v ? d : void 0,
116
- placeholder: R,
117
- disabled: c
116
+ notFoundContent: v ? u : void 0,
117
+ placeholder: w,
118
+ disabled: o
118
119
  }
119
120
  ) : null;
120
121
  }
package/dist/index300.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";const t=require("./index334.cjs");function n(e){return function(r){return t(r,e)}}module.exports=n;
1
+ "use strict";function e(r){return function(n){return n==null?void 0:n[r]}}module.exports=e;
package/dist/index300.js CHANGED
@@ -1,9 +1,8 @@
1
- import t from "./index334.js";
2
- function o(e) {
3
- return function(r) {
4
- return t(r, e);
1
+ function r(e) {
2
+ return function(n) {
3
+ return n == null ? void 0 : n[e];
5
4
  };
6
5
  }
7
6
  export {
8
- o as default
7
+ r as default
9
8
  };
package/dist/index301.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";const s=require("./index237.cjs"),n=require("./index333.cjs");function t(r,e){return r&&s(r,e,n)}module.exports=t;
1
+ "use strict";const t=require("./index335.cjs");function n(e){return function(r){return t(r,e)}}module.exports=n;
package/dist/index301.js CHANGED
@@ -1,8 +1,9 @@
1
- import e from "./index237.js";
2
- import t from "./index333.js";
3
- function m(r, o) {
4
- return r && e(r, o, t);
1
+ import t from "./index335.js";
2
+ function o(e) {
3
+ return function(r) {
4
+ return t(r, e);
5
+ };
5
6
  }
6
7
  export {
7
- m as default
8
+ o as default
8
9
  };
package/dist/index302.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";const n=require("./index254.cjs");function s(a,i){return function(r,u){if(r==null)return r;if(!n(r))return a(r,u);for(var f=r.length,e=-1,t=Object(r);++e<f&&u(t[e],e,t)!==!1;);return r}}module.exports=s;
1
+ "use strict";function i(e,t){for(var n=-1,l=e==null?0:e.length;++n<l&&t(e[n],n,e)!==!1;);return e}module.exports=i;
package/dist/index302.js CHANGED
@@ -1,15 +1,8 @@
1
- import n from "./index254.js";
2
- function s(u, h) {
3
- return function(r, a) {
4
- if (r == null)
5
- return r;
6
- if (!n(r))
7
- return u(r, a);
8
- for (var t = r.length, e = -1, f = Object(r); ++e < t && a(f[e], e, f) !== !1; )
9
- ;
10
- return r;
11
- };
1
+ function f(e, n) {
2
+ for (var l = -1, t = e == null ? 0 : e.length; ++l < t && n(e[l], l, e) !== !1; )
3
+ ;
4
+ return e;
12
5
  }
13
6
  export {
14
- s as default
7
+ f as default
15
8
  };
package/dist/index303.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";var r=9007199254740991;function n(t){return typeof t=="number"&&t>-1&&t%1==0&&t<=r}module.exports=n;
1
+ "use strict";const n=require("./index251.cjs");function i(t){return typeof t=="function"?t:n}module.exports=i;
package/dist/index303.js CHANGED
@@ -1,7 +1,7 @@
1
- var n = 9007199254740991;
2
- function r(t) {
3
- return typeof t == "number" && t > -1 && t % 1 == 0 && t <= n;
1
+ import n from "./index251.js";
2
+ function i(t) {
3
+ return typeof t == "function" ? t : n;
4
4
  }
5
5
  export {
6
- r as default
6
+ i as default
7
7
  };
package/dist/index304.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const u=require("./index305.cjs"),y=require("react");var c;function w(){if(c)return u.__exports;c=1,Object.defineProperty(u.__exports,"__esModule",{value:!0});var l=Object.assign||function(e){for(var r=1;r<arguments.length;r++){var n=arguments[r];for(var t in n)Object.prototype.hasOwnProperty.call(n,t)&&(e[t]=n[t])}return e},d=y,a=h(d);function h(e){return e&&e.__esModule?e:{default:e}}function s(e,r){var n={};for(var t in e)r.indexOf(t)>=0||Object.prototype.hasOwnProperty.call(e,t)&&(n[t]=e[t]);return n}var i=24;return u.__exports.default=function(e){var r=e.fill,n=r===void 0?"currentColor":r,t=e.width,_=t===void 0?i:t,o=e.height,p=o===void 0?i:o,f=e.style,v=f===void 0?{}:f,g=s(e,["fill","width","height","style"]);return a.default.createElement("svg",l({viewBox:"0 0 "+i+" "+i,style:l({fill:n,width:_,height:p},v)},g),a.default.createElement("path",{d:"M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z"}))},u.__exports}exports.__require=w;
1
+ "use strict";var r=/\s/;function n(t){for(var e=t.length;e--&&r.test(t.charAt(e)););return e}module.exports=n;
package/dist/index304.js CHANGED
@@ -1,41 +1,9 @@
1
- import { __exports as a } from "./index305.js";
2
- import m from "react";
3
- var d;
4
- function L() {
5
- if (d) return a;
6
- d = 1, Object.defineProperty(a, "__esModule", {
7
- value: !0
8
- });
9
- var u = Object.assign || function(e) {
10
- for (var r = 1; r < arguments.length; r++) {
11
- var n = arguments[r];
12
- for (var t in n)
13
- Object.prototype.hasOwnProperty.call(n, t) && (e[t] = n[t]);
14
- }
15
- return e;
16
- }, c = m, l = h(c);
17
- function h(e) {
18
- return e && e.__esModule ? e : { default: e };
19
- }
20
- function s(e, r) {
21
- var n = {};
22
- for (var t in e)
23
- r.indexOf(t) >= 0 || Object.prototype.hasOwnProperty.call(e, t) && (n[t] = e[t]);
24
- return n;
25
- }
26
- var i = 24;
27
- return a.default = function(e) {
28
- var r = e.fill, n = r === void 0 ? "currentColor" : r, t = e.width, p = t === void 0 ? i : t, f = e.height, _ = f === void 0 ? i : f, o = e.style, v = o === void 0 ? {} : o, g = s(e, ["fill", "width", "height", "style"]);
29
- return l.default.createElement(
30
- "svg",
31
- u({
32
- viewBox: "0 0 " + i + " " + i,
33
- style: u({ fill: n, width: p, height: _ }, v)
34
- }, g),
35
- l.default.createElement("path", { d: "M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z" })
36
- );
37
- }, a;
1
+ var r = /\s/;
2
+ function a(t) {
3
+ for (var e = t.length; e-- && r.test(t.charAt(e)); )
4
+ ;
5
+ return e;
38
6
  }
39
7
  export {
40
- L as __require
8
+ a as default
41
9
  };
package/dist/index305.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var e={};exports.__exports=e;
1
+ "use strict";const n=require("./index338.cjs"),r=require("./index339.cjs"),i=require("./index340.cjs");var o="[object Null]",g="[object Undefined]",t=n?n.toStringTag:void 0;function c(e){return e==null?e===void 0?g:o:t&&t in Object(e)?r(e):i(e)}module.exports=c;
package/dist/index305.js CHANGED
@@ -1,4 +1,10 @@
1
- var e = {};
1
+ import t from "./index338.js";
2
+ import e from "./index339.js";
3
+ import o from "./index340.js";
4
+ var i = "[object Null]", f = "[object Undefined]", r = t ? t.toStringTag : void 0;
5
+ function m(n) {
6
+ return n == null ? n === void 0 ? f : i : r && r in Object(n) ? e(n) : o(n);
7
+ }
2
8
  export {
3
- e as __exports
9
+ m as default
4
10
  };
package/dist/index306.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";var l=typeof global=="object"&&global&&global.Object===Object&&global;module.exports=l;
1
+ "use strict";function e(t){return t!=null&&typeof t=="object"}module.exports=e;
package/dist/index306.js CHANGED
@@ -1,4 +1,6 @@
1
- var l = typeof global == "object" && global && global.Object === Object && global;
1
+ function e(t) {
2
+ return t != null && typeof t == "object";
3
+ }
2
4
  export {
3
- l as default
5
+ e as default
4
6
  };
package/dist/index307.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";var r=/\s/;function n(t){for(var e=t.length;e--&&r.test(t.charAt(e)););return e}module.exports=n;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const u=require("./index308.cjs"),y=require("react");var c;function w(){if(c)return u.__exports;c=1,Object.defineProperty(u.__exports,"__esModule",{value:!0});var l=Object.assign||function(e){for(var r=1;r<arguments.length;r++){var n=arguments[r];for(var t in n)Object.prototype.hasOwnProperty.call(n,t)&&(e[t]=n[t])}return e},d=y,a=h(d);function h(e){return e&&e.__esModule?e:{default:e}}function s(e,r){var n={};for(var t in e)r.indexOf(t)>=0||Object.prototype.hasOwnProperty.call(e,t)&&(n[t]=e[t]);return n}var i=24;return u.__exports.default=function(e){var r=e.fill,n=r===void 0?"currentColor":r,t=e.width,_=t===void 0?i:t,o=e.height,p=o===void 0?i:o,f=e.style,v=f===void 0?{}:f,g=s(e,["fill","width","height","style"]);return a.default.createElement("svg",l({viewBox:"0 0 "+i+" "+i,style:l({fill:n,width:_,height:p},v)},g),a.default.createElement("path",{d:"M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z"}))},u.__exports}exports.__require=w;
package/dist/index307.js CHANGED
@@ -1,9 +1,41 @@
1
- var r = /\s/;
2
- function a(t) {
3
- for (var e = t.length; e-- && r.test(t.charAt(e)); )
4
- ;
5
- return e;
1
+ import { __exports as a } from "./index308.js";
2
+ import m from "react";
3
+ var d;
4
+ function L() {
5
+ if (d) return a;
6
+ d = 1, Object.defineProperty(a, "__esModule", {
7
+ value: !0
8
+ });
9
+ var u = Object.assign || function(e) {
10
+ for (var r = 1; r < arguments.length; r++) {
11
+ var n = arguments[r];
12
+ for (var t in n)
13
+ Object.prototype.hasOwnProperty.call(n, t) && (e[t] = n[t]);
14
+ }
15
+ return e;
16
+ }, c = m, l = h(c);
17
+ function h(e) {
18
+ return e && e.__esModule ? e : { default: e };
19
+ }
20
+ function s(e, r) {
21
+ var n = {};
22
+ for (var t in e)
23
+ r.indexOf(t) >= 0 || Object.prototype.hasOwnProperty.call(e, t) && (n[t] = e[t]);
24
+ return n;
25
+ }
26
+ var i = 24;
27
+ return a.default = function(e) {
28
+ var r = e.fill, n = r === void 0 ? "currentColor" : r, t = e.width, p = t === void 0 ? i : t, f = e.height, _ = f === void 0 ? i : f, o = e.style, v = o === void 0 ? {} : o, g = s(e, ["fill", "width", "height", "style"]);
29
+ return l.default.createElement(
30
+ "svg",
31
+ u({
32
+ viewBox: "0 0 " + i + " " + i,
33
+ style: u({ fill: n, width: p, height: _ }, v)
34
+ }, g),
35
+ l.default.createElement("path", { d: "M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z" })
36
+ );
37
+ }, a;
6
38
  }
7
39
  export {
8
- a as default
40
+ L as __require
9
41
  };
package/dist/index308.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";const n=require("./index338.cjs"),r=require("./index339.cjs"),i=require("./index340.cjs");var o="[object Null]",g="[object Undefined]",t=n?n.toStringTag:void 0;function c(e){return e==null?e===void 0?g:o:t&&t in Object(e)?r(e):i(e)}module.exports=c;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var e={};exports.__exports=e;
package/dist/index308.js CHANGED
@@ -1,10 +1,4 @@
1
- import t from "./index338.js";
2
- import e from "./index339.js";
3
- import o from "./index340.js";
4
- var i = "[object Null]", f = "[object Undefined]", r = t ? t.toStringTag : void 0;
5
- function m(n) {
6
- return n == null ? n === void 0 ? f : i : r && r in Object(n) ? e(n) : o(n);
7
- }
1
+ var e = {};
8
2
  export {
9
- m as default
3
+ e as __exports
10
4
  };
package/dist/index309.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";function e(t){return t!=null&&typeof t=="object"}module.exports=e;
1
+ "use strict";var l=typeof global=="object"&&global&&global.Object===Object&&global;module.exports=l;
package/dist/index309.js CHANGED
@@ -1,6 +1,4 @@
1
- function e(t) {
2
- return t != null && typeof t == "object";
3
- }
1
+ var l = typeof global == "object" && global && global.Object === Object && global;
4
2
  export {
5
- e as default
3
+ l as default
6
4
  };
package/dist/index31.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const v=require("react/jsx-runtime"),T=require("react"),q=require("@ikas/ui"),C=require("./index5.cjs");function E(n){const i=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(n){for(const s in n)if(s!=="default"){const a=Object.getOwnPropertyDescriptor(n,s);Object.defineProperty(i,s,a.get?a:{enumerable:!0,get:()=>n[s]})}}return i.default=n,Object.freeze(i)}const c=E(T),M=600;function _({raffleId:n,disabled:i,notFoundContent:s,onChange:a,listRaffle:d,allowClear:R,placeholder:g=C.coreTranslations.raffleSearch.searchRaffle,className:y}){const[t,f]=c.useState(),[u,m]=c.useState([]),[p,w]=c.useState(""),l=c.useRef(null),b=c.useRef(void 0);b.current=t,c.useEffect(()=>{var e;if(!n){f(void 0);return}if(((e=b.current)==null?void 0:e.id)===n)return;let r=!1;return d({id:n,includeDeleted:!1}).then(o=>{r||f(o==null?void 0:o[0])}),()=>{r=!0}},[n,d]),c.useEffect(()=>()=>{l.current&&clearTimeout(l.current)},[]);const D=c.useCallback(r=>{w(r),l.current&&clearTimeout(l.current),l.current=setTimeout(async()=>{if(!r){m([]);return}const e=await d({search:r,pagination:{page:1,limit:10},includeDeleted:!1});m(e||[])},M)},[d]),O=c.useMemo(()=>(t?[t,...u.filter(e=>e.id!==t.id)]:u).map(e=>({label:e.name??e.id,value:e.id})),[u,t]),j=c.useCallback(r=>{const e=typeof r=="string"?r:r[0],o=[...u];t&&!o.some(S=>S.id===t.id)&&o.push(t);const h=o.find(S=>S.id===e);h?(f(h),a(e,h)):a(void 0,void 0)},[a,u,t]);return v.jsx(q.Select,{className:y,value:(t==null?void 0:t.id)??"",options:O,onChange:j,showSearch:!0,showArrow:!1,filterOption:!1,searchValue:p,onSearch:D,isDynamicNotFound:!0,notFoundContent:p?s:void 0,placeholder:g,allowClear:R,disabled:i})}exports.RaffleSearchDropdown=_;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const v=require("react/jsx-runtime"),q=require("react"),C=require("@ikas/ui"),R=require("./index5.cjs");function E(n){const i=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(n){for(const a in n)if(a!=="default"){const s=Object.getOwnPropertyDescriptor(n,a);Object.defineProperty(i,a,s.get?s:{enumerable:!0,get:()=>n[a]})}}return i.default=n,Object.freeze(i)}const c=E(q),M=600;function P({raffleId:n,disabled:i,notFoundContent:a,onChange:s,listRaffle:d,allowClear:g,placeholder:y=R.coreTranslations.raffleSearch.searchRaffle,className:w}){const[t,f]=c.useState(),[u,S]=c.useState([]),[p,D]=c.useState(""),l=c.useRef(null),b=c.useRef(void 0);b.current=t,c.useEffect(()=>{var e;if(!n){f(void 0);return}if(((e=b.current)==null?void 0:e.id)===n)return;let r=!1;return d({id:n,includeDeleted:!1}).then(o=>{r||f(o==null?void 0:o[0])}),()=>{r=!0}},[n,d]),c.useEffect(()=>()=>{l.current&&clearTimeout(l.current)},[]);const O=c.useCallback(r=>{D(r),l.current&&clearTimeout(l.current),l.current=setTimeout(async()=>{if(!r){S([]);return}const e=await d({search:r,pagination:{page:1,limit:10},includeDeleted:!1});S(e||[])},M)},[d]),j=c.useMemo(()=>(t?[t,...u.filter(e=>e.id!==t.id)]:u).map(e=>({label:e.name??e.id,value:e.id})),[u,t]),T=c.useCallback(r=>{const e=typeof r=="string"?r:r[0],o=[...u];t&&!o.some(m=>m.id===t.id)&&o.push(t);const h=o.find(m=>m.id===e);h?(f(h),s(e,h)):s(void 0,void 0)},[s,u,t]);return v.jsx(C.Select,{searchPlaceholder:R.coreTranslations.common.placeholder.search,className:w,value:(t==null?void 0:t.id)??"",options:j,onChange:T,showSearch:!0,showArrow:!1,filterOption:!1,searchValue:p,onSearch:O,isDynamicNotFound:!0,notFoundContent:p?a:void 0,placeholder:y,allowClear:g,disabled:i})}exports.RaffleSearchDropdown=P;
package/dist/index31.js CHANGED
@@ -1,39 +1,39 @@
1
- import { jsx as b } from "react/jsx-runtime";
2
- import * as n from "react";
3
- import { Select as g } from "@ikas/ui";
4
- import { coreTranslations as k } from "./index5.js";
1
+ import { jsx as g } from "react/jsx-runtime";
2
+ import * as o from "react";
3
+ import { Select as k } from "@ikas/ui";
4
+ import { coreTranslations as S } from "./index5.js";
5
5
  const x = 600;
6
6
  function N({
7
7
  raffleId: a,
8
- disabled: S,
9
- notFoundContent: R,
10
- onChange: u,
8
+ disabled: R,
9
+ notFoundContent: w,
10
+ onChange: l,
11
11
  listRaffle: i,
12
- allowClear: w,
13
- placeholder: y = k.raffleSearch.searchRaffle,
14
- className: D
12
+ allowClear: y,
13
+ placeholder: D = S.raffleSearch.searchRaffle,
14
+ className: v
15
15
  }) {
16
- const [t, l] = n.useState(), [c, h] = n.useState([]), [m, v] = n.useState(""), s = n.useRef(null), p = n.useRef(void 0);
17
- p.current = t, n.useEffect(() => {
16
+ const [t, u] = o.useState(), [c, h] = o.useState([]), [m, C] = o.useState(""), s = o.useRef(null), p = o.useRef(void 0);
17
+ p.current = t, o.useEffect(() => {
18
18
  var e;
19
19
  if (!a) {
20
- l(void 0);
20
+ u(void 0);
21
21
  return;
22
22
  }
23
23
  if (((e = p.current) == null ? void 0 : e.id) === a)
24
24
  return;
25
25
  let r = !1;
26
- return i({ id: a, includeDeleted: !1 }).then((o) => {
27
- r || l(o == null ? void 0 : o[0]);
26
+ return i({ id: a, includeDeleted: !1 }).then((n) => {
27
+ r || u(n == null ? void 0 : n[0]);
28
28
  }), () => {
29
29
  r = !0;
30
30
  };
31
- }, [a, i]), n.useEffect(() => () => {
31
+ }, [a, i]), o.useEffect(() => () => {
32
32
  s.current && clearTimeout(s.current);
33
33
  }, []);
34
- const C = n.useCallback(
34
+ const E = o.useCallback(
35
35
  (r) => {
36
- v(r), s.current && clearTimeout(s.current), s.current = setTimeout(async () => {
36
+ C(r), s.current && clearTimeout(s.current), s.current = setTimeout(async () => {
37
37
  if (!r) {
38
38
  h([]);
39
39
  return;
@@ -47,38 +47,39 @@ function N({
47
47
  }, x);
48
48
  },
49
49
  [i]
50
- ), E = n.useMemo(() => (t ? [
50
+ ), T = o.useMemo(() => (t ? [
51
51
  t,
52
52
  ...c.filter((e) => e.id !== t.id)
53
53
  ] : c).map((e) => ({
54
54
  label: e.name ?? e.id,
55
55
  value: e.id
56
- })), [c, t]), T = n.useCallback(
56
+ })), [c, t]), b = o.useCallback(
57
57
  (r) => {
58
- const e = typeof r == "string" ? r : r[0], o = [...c];
59
- t && !o.some((f) => f.id === t.id) && o.push(t);
60
- const d = o.find((f) => f.id === e);
61
- d ? (l(d), u(e, d)) : u(void 0, void 0);
58
+ const e = typeof r == "string" ? r : r[0], n = [...c];
59
+ t && !n.some((f) => f.id === t.id) && n.push(t);
60
+ const d = n.find((f) => f.id === e);
61
+ d ? (u(d), l(e, d)) : l(void 0, void 0);
62
62
  },
63
- [u, c, t]
63
+ [l, c, t]
64
64
  );
65
- return /* @__PURE__ */ b(
66
- g,
65
+ return /* @__PURE__ */ g(
66
+ k,
67
67
  {
68
- className: D,
68
+ searchPlaceholder: S.common.placeholder.search,
69
+ className: v,
69
70
  value: (t == null ? void 0 : t.id) ?? "",
70
- options: E,
71
- onChange: T,
71
+ options: T,
72
+ onChange: b,
72
73
  showSearch: !0,
73
74
  showArrow: !1,
74
75
  filterOption: !1,
75
76
  searchValue: m,
76
- onSearch: C,
77
+ onSearch: E,
77
78
  isDynamicNotFound: !0,
78
- notFoundContent: m ? R : void 0,
79
- placeholder: y,
80
- allowClear: w,
81
- disabled: S
79
+ notFoundContent: m ? w : void 0,
80
+ placeholder: D,
81
+ allowClear: y,
82
+ disabled: R
82
83
  }
83
84
  );
84
85
  }
package/dist/index310.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";function t(){this.__data__=[],this.size=0}module.exports=t;
1
+ "use strict";const n=require("./index341.cjs");function r(t){var e=new t.constructor(t.byteLength);return new n(e).set(new n(t)),e}module.exports=r;
package/dist/index310.js CHANGED
@@ -1,6 +1,8 @@
1
- function t() {
2
- this.__data__ = [], this.size = 0;
1
+ import n from "./index341.js";
2
+ function o(t) {
3
+ var e = new t.constructor(t.byteLength);
4
+ return new n(e).set(new n(t)), e;
3
5
  }
4
6
  export {
5
- t as default
7
+ o as default
6
8
  };
package/dist/index311.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";const s=require("./index341.cjs");var i=Array.prototype,l=i.splice;function n(t){var e=this.__data__,r=s(e,t);if(r<0)return!1;var a=e.length-1;return r==a?e.pop():l.call(e,r,1),--this.size,!0}module.exports=n;
1
+ "use strict";const u=require("./index216.cjs");var r=Object.create,c=(function(){function e(){}return function(t){if(!u(t))return{};if(r)return r(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}})();module.exports=c;
package/dist/index311.js CHANGED
@@ -1,12 +1,17 @@
1
- import s from "./index341.js";
2
- var i = Array.prototype, l = i.splice;
3
- function n(r) {
4
- var e = this.__data__, a = s(e, r);
5
- if (a < 0)
6
- return !1;
7
- var t = e.length - 1;
8
- return a == t ? e.pop() : l.call(e, a, 1), --this.size, !0;
9
- }
1
+ import u from "./index216.js";
2
+ var r = Object.create, c = /* @__PURE__ */ (function() {
3
+ function e() {
4
+ }
5
+ return function(t) {
6
+ if (!u(t))
7
+ return {};
8
+ if (r)
9
+ return r(t);
10
+ e.prototype = t;
11
+ var n = new e();
12
+ return e.prototype = void 0, n;
13
+ };
14
+ })();
10
15
  export {
11
- n as default
16
+ c as default
12
17
  };
package/dist/index312.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";const s=require("./index341.cjs");function a(n){var e=this.__data__,t=s(e,n);return t<0?void 0:e[t][1]}module.exports=a;
1
+ "use strict";const t=require("./index342.cjs");var e=t(Object.getPrototypeOf,Object);module.exports=e;
package/dist/index312.js CHANGED
@@ -1,8 +1,5 @@
1
- import d from "./index341.js";
2
- function i(e) {
3
- var t = this.__data__, a = d(t, e);
4
- return a < 0 ? void 0 : t[a][1];
5
- }
1
+ import t from "./index342.js";
2
+ var o = t(Object.getPrototypeOf, Object);
6
3
  export {
7
- i as default
4
+ o as default
8
5
  };
package/dist/index313.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";const t=require("./index341.cjs");function e(s){return t(this.__data__,s)>-1}module.exports=e;
1
+ "use strict";var p=Object.prototype;function c(t){var o=t&&t.constructor,r=typeof o=="function"&&o.prototype||p;return t===r}module.exports=c;
package/dist/index313.js CHANGED
@@ -1,6 +1,7 @@
1
- import a from "./index341.js";
1
+ var p = Object.prototype;
2
2
  function e(t) {
3
- return a(this.__data__, t) > -1;
3
+ var o = t && t.constructor, r = typeof o == "function" && o.prototype || p;
4
+ return t === r;
4
5
  }
5
6
  export {
6
7
  e as default
package/dist/index314.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";const r=require("./index341.cjs");function a(t,e){var s=this.__data__,i=r(s,t);return i<0?(++this.size,s.push([t,e])):s[i][1]=e,this}module.exports=a;
1
+ "use strict";const r=require("./index305.cjs"),s=require("./index306.cjs");var t="[object Arguments]";function n(e){return s(e)&&r(e)==t}module.exports=n;