@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/index387.js CHANGED
@@ -1,9 +1,11 @@
1
- import e from "./index392.js";
2
- import u from "./index214.js";
3
- function l(r, s, t) {
4
- var a = s(r);
5
- return u(r) ? a : e(a, t(r));
1
+ import c from "./index394.js";
2
+ var i = 500;
3
+ function m(a) {
4
+ var e = c(a, function(t) {
5
+ return r.size === i && r.clear(), t;
6
+ }), r = e.cache;
7
+ return e;
6
8
  }
7
9
  export {
8
- l as default
10
+ m as default
9
11
  };
package/dist/index388.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";const n=require("./index393.cjs"),o=require("./index394.cjs");var u=Object.prototype,a=u.propertyIsEnumerable,e=Object.getOwnPropertySymbols,s=e?function(r){return r==null?[]:(r=Object(r),n(e(r),function(t){return a.call(r,t)}))}:o;module.exports=s;
1
+ "use strict";const n=require("./index338.cjs"),s=require("./index211.cjs"),y=require("./index214.cjs"),f=require("./index257.cjs");var i=n?n.prototype:void 0,o=i?i.toString:void 0;function e(r){if(typeof r=="string")return r;if(y(r))return s(r,e)+"";if(f(r))return o?o.call(r):"";var t=r+"";return t=="0"&&1/r==-1/0?"-0":t}module.exports=e;
package/dist/index388.js CHANGED
@@ -1,10 +1,18 @@
1
- import o from "./index393.js";
2
- import a from "./index394.js";
3
- var n = Object.prototype, l = n.propertyIsEnumerable, t = Object.getOwnPropertySymbols, m = t ? function(r) {
4
- return r == null ? [] : (r = Object(r), o(t(r), function(e) {
5
- return l.call(r, e);
6
- }));
7
- } : a;
1
+ import t from "./index338.js";
2
+ import f from "./index211.js";
3
+ import m from "./index214.js";
4
+ import p from "./index257.js";
5
+ var i = t ? t.prototype : void 0, n = i ? i.toString : void 0;
6
+ function y(r) {
7
+ if (typeof r == "string")
8
+ return r;
9
+ if (m(r))
10
+ return f(r, y) + "";
11
+ if (p(r))
12
+ return n ? n.call(r) : "";
13
+ var o = r + "";
14
+ return o == "0" && 1 / r == -1 / 0 ? "-0" : o;
15
+ }
8
16
  export {
9
- m as default
17
+ y as default
10
18
  };
package/dist/index389.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";const r=require("./index258.cjs");var e=r["__core-js_shared__"];module.exports=e;
1
+ "use strict";const r=require("./index255.cjs");var e=r["__core-js_shared__"];module.exports=e;
package/dist/index389.js CHANGED
@@ -1,4 +1,4 @@
1
- import r from "./index258.js";
1
+ import r from "./index255.js";
2
2
  var a = r["__core-js_shared__"];
3
3
  export {
4
4
  a as default
package/dist/index390.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";const e=require("./index342.cjs");var t=e(Object,"create");module.exports=t;
1
+ "use strict";const e=require("./index344.cjs");var t=e(Object,"create");module.exports=t;
package/dist/index390.js CHANGED
@@ -1,4 +1,4 @@
1
- import e from "./index342.js";
1
+ import e from "./index344.js";
2
2
  var a = e(Object, "create");
3
3
  export {
4
4
  a as default
package/dist/index391.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";const h=require("./index316.cjs");var o="Expected a function";function r(i,e){if(typeof i!="function"||e!=null&&typeof e!="function")throw new TypeError(o);var t=function(){var c=arguments,n=e?e.apply(this,c):c[0],a=t.cache;if(a.has(n))return a.get(n);var u=i.apply(this,c);return t.cache=a.set(n,u)||a,u};return t.cache=new(r.Cache||h),t}r.Cache=h;module.exports=r;
1
+ "use strict";function s(t,n){for(var e=-1,h=n.length,i=t.length;++e<h;)t[i+e]=n[e];return t}module.exports=s;
package/dist/index391.js CHANGED
@@ -1,18 +1,8 @@
1
- import h from "./index316.js";
2
- var p = "Expected a function";
3
- function o(r, e) {
4
- if (typeof r != "function" || e != null && typeof e != "function")
5
- throw new TypeError(p);
6
- var t = function() {
7
- var c = arguments, n = e ? e.apply(this, c) : c[0], a = t.cache;
8
- if (a.has(n))
9
- return a.get(n);
10
- var i = r.apply(this, c);
11
- return t.cache = a.set(n, i) || a, i;
12
- };
13
- return t.cache = new (o.Cache || h)(), t;
1
+ function l(e, n) {
2
+ for (var t = -1, h = n.length, f = e.length; ++t < h; )
3
+ e[f + t] = n[t];
4
+ return e;
14
5
  }
15
- o.Cache = h;
16
6
  export {
17
- o as default
7
+ l as default
18
8
  };
package/dist/index392.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";function s(t,n){for(var e=-1,h=n.length,i=t.length;++e<h;)t[i+e]=n[e];return t}module.exports=s;
1
+ "use strict";function u(e,l){for(var t=-1,r=e==null?0:e.length,s=0,n=[];++t<r;){var i=e[t];l(i,t,e)&&(n[s++]=i)}return n}module.exports=u;
package/dist/index392.js CHANGED
@@ -1,8 +1,10 @@
1
- function l(e, n) {
2
- for (var t = -1, h = n.length, f = e.length; ++t < h; )
3
- e[f + t] = n[t];
4
- return e;
1
+ function d(e, i) {
2
+ for (var n = -1, r = e == null ? 0 : e.length, u = 0, t = []; ++n < r; ) {
3
+ var l = e[n];
4
+ i(l, n, e) && (t[u++] = l);
5
+ }
6
+ return t;
5
7
  }
6
8
  export {
7
- l as default
9
+ d as default
8
10
  };
package/dist/index393.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";function u(e,l){for(var t=-1,r=e==null?0:e.length,s=0,n=[];++t<r;){var i=e[t];l(i,t,e)&&(n[s++]=i)}return n}module.exports=u;
1
+ "use strict";function r(){return[]}module.exports=r;
package/dist/index393.js CHANGED
@@ -1,10 +1,6 @@
1
- function d(e, i) {
2
- for (var n = -1, r = e == null ? 0 : e.length, u = 0, t = []; ++n < r; ) {
3
- var l = e[n];
4
- i(l, n, e) && (t[u++] = l);
5
- }
6
- return t;
1
+ function r() {
2
+ return [];
7
3
  }
8
4
  export {
9
- d as default
5
+ r as default
10
6
  };
package/dist/index394.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";function r(){return[]}module.exports=r;
1
+ "use strict";const h=require("./index327.cjs");var o="Expected a function";function r(i,e){if(typeof i!="function"||e!=null&&typeof e!="function")throw new TypeError(o);var t=function(){var c=arguments,n=e?e.apply(this,c):c[0],a=t.cache;if(a.has(n))return a.get(n);var u=i.apply(this,c);return t.cache=a.set(n,u)||a,u};return t.cache=new(r.Cache||h),t}r.Cache=h;module.exports=r;
package/dist/index394.js CHANGED
@@ -1,6 +1,18 @@
1
- function r() {
2
- return [];
1
+ import h from "./index327.js";
2
+ var p = "Expected a function";
3
+ function o(r, e) {
4
+ if (typeof r != "function" || e != null && typeof e != "function")
5
+ throw new TypeError(p);
6
+ var t = function() {
7
+ var c = arguments, n = e ? e.apply(this, c) : c[0], a = t.cache;
8
+ if (a.has(n))
9
+ return a.get(n);
10
+ var i = r.apply(this, c);
11
+ return t.cache = a.set(n, i) || a, i;
12
+ };
13
+ return t.cache = new (o.Cache || h)(), t;
3
14
  }
15
+ o.Cache = h;
4
16
  export {
5
- r as default
17
+ o as default
6
18
  };
package/dist/index5.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t={common:{field:{all:"All",filter:"Filter",yes:"Yes",no:"No"},placeholder:{select:"Select...",search:"Search..."},actions:{save:"Save",cancel:"Cancel",apply:"Apply",delete:"Delete",abort:"Abort",enter:"Enter",enterValue:"Enter a value...",clear:"Clear",createNew:"Create New"}},datatable:{noData:"No data",filterNoDataTitle:"No results found",filterNoDataDescription:"Try adjusting your search or filters.",filterOptionWarning:"There are no filter options available.",filterKeysMustBeUnique:"Filter keys must be unique.",in:"is",nin:"is not",untitledFilter:"Untitled",searchTable:"Search table...",filterNotAddedYet:"No filter added yet.",addFilter:"Add Filter",setFilterName:"Filter Name",areYouSureToDeleteThisFilter:"Are you sure you want to delete this filter?",saveChanges:"Save Changes",changeFilterName:"Change Filter Name",filterSort:"Sort Filters",deleteFilter:"Delete Filter",pleaseSaveChanges:"Please save your changes first.",clear:"Clear",perPage:"/ page",totalText:"items",totalListedText:(e,a)=>`A total of ${e} listed`,columns:"Columns",rowCount:"Row count",selected:"selected",pagination:{next:"Next",prev:"Prev"}},navigation:{new:"New",admin:"Admin"},categorySearch:{searchCategory:"Search category..."},categorySelect:{onlySelectThisCategory:"Only select this category",onlyRemoveThisCategory:"Only remove this category"},datePicker:{today:"Today",yesterday:"Yesterday",thisWeek:"This Week",lastWeek:"Last Week",thisMonth:"This Month",lastMonth:"Last Month",last7Days:"Last 7 Days",last30Days:"Last 30 Days",last3Months:"Last 3 Months",thisYear:"This Year",custom:"Custom"},productSearch:{searchProduct:"Search Product"},brandSearch:{selectBrand:"Select Brand"},raffleSearch:{searchRaffle:"Search Raffle"},colorPicker:{copyToClipboard:"Copy to clipboard",copiedToClipboard:"Color copied to clipboard",changeColorInputType:"Change color input type"},drawerImage:{imagePreview:"Image Preview",mediaPreview:"Media Preview",areYouSureToDeleteThisImage:"Are you sure to delete this image?",areYouSureToDeleteThisMedia:"Are you sure to delete this media?",imageGallery:"Image Gallery",done:"Done",new:" + New",selectNewImage:"Select New Image",selectNewMedia:"Select New Media",selectGallery:"Select from Gallery",clickFileImage:"Click or drag to this area to upload image",clickFileMedia:"Click or drag to this area to upload media",fileTypeError:e=>`You can only select ${e} file!`,imageUploadLimitSize:e=>`Image must be smaller than ${e}MB!`,mediaUploadLimitSize:e=>`Media must be smaller than ${e}MB!`},docsDrawer:{visitPage:"Visit Docs",iframeTitle:"Documentation"},swatchPicker:{color:"Color",image:"Image"},singleImageUpload:{selectImage:(e,a)=>`${e} (max. ${a}MB)`,addImage:"+ Add Image"},imageSelect:{selectImage:"Select Image",selectMedia:"Select Media",clickFileImage:"Click or drag to this area to upload image",clickFileMedia:"Click or drag to this area to upload media"},variantSearch:{searchVariant:"Search Variant"},copyToClipboardButton:{copiedText:"Copied",tooltipInitText:"Copy"},richText:{pasteWarningModalTitle:"Paste Warning",pasteWarningText:"Do you want to paste the text along with its styles that you copied? If you continue with Yes, the appearance of your theme may be disrupted.",enterURL:"https://...",link:"Link",video:"Video",image:"Image",linkUrl:"Link URL",addLink:"Add Link",addImage:"Add Image",addVideo:"Add Video",addVideoLink:"Video Link",suppoertedVideoLinks:"(Supported video links: youtube, instagram, vimeo, dailymotion, youku, peertube, mp4, ogg, webm)",openInNewWindow:"Open in new window",aiButtonText:"Write with AI"}};exports.coreTranslations=t;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t={common:{field:{all:"All",filter:"Filter",yes:"Yes",no:"No"},placeholder:{select:"Select...",search:"Ara..."},actions:{save:"Save",cancel:"Cancel",apply:"Apply",delete:"Delete",abort:"Abort",enter:"Enter",enterValue:"Enter a value...",clear:"Clear",createNew:"Create New"}},datatable:{noData:"No data",filterNoDataTitle:"No results found",filterNoDataDescription:"Try adjusting your search or filters.",filterOptionWarning:"There are no filter options available.",filterKeysMustBeUnique:"Filter keys must be unique.",in:"is",nin:"is not",untitledFilter:"Untitled",searchTable:"Search table...",filterNotAddedYet:"No filter added yet.",addFilter:"Add Filter",setFilterName:"Filter Name",areYouSureToDeleteThisFilter:"Are you sure you want to delete this filter?",saveChanges:"Save Changes",changeFilterName:"Change Filter Name",filterSort:"Sort Filters",deleteFilter:"Delete Filter",pleaseSaveChanges:"Please save your changes first.",clear:"Clear",perPage:"/ page",totalText:"items",totalListedText:(e,a)=>`A total of ${e} listed`,columns:"Columns",rowCount:"Row count",selected:"selected",pagination:{next:"Next",prev:"Prev"}},navigation:{new:"New",admin:"Admin"},categorySearch:{searchCategory:"Search category..."},categorySelect:{onlySelectThisCategory:"Only select this category",onlyRemoveThisCategory:"Only remove this category"},datePicker:{today:"Today",yesterday:"Yesterday",thisWeek:"This Week",lastWeek:"Last Week",thisMonth:"This Month",lastMonth:"Last Month",last7Days:"Last 7 Days",last30Days:"Last 30 Days",last3Months:"Last 3 Months",thisYear:"This Year",custom:"Custom"},productSearch:{searchProduct:"Search Product"},brandSearch:{selectBrand:"Select Brand"},raffleSearch:{searchRaffle:"Search Raffle"},colorPicker:{copyToClipboard:"Copy to clipboard",copiedToClipboard:"Color copied to clipboard",changeColorInputType:"Change color input type"},drawerImage:{imagePreview:"Image Preview",mediaPreview:"Media Preview",areYouSureToDeleteThisImage:"Are you sure to delete this image?",areYouSureToDeleteThisMedia:"Are you sure to delete this media?",imageGallery:"Image Gallery",done:"Done",new:" + New",selectNewImage:"Select New Image",selectNewMedia:"Select New Media",selectGallery:"Select from Gallery",clickFileImage:"Click or drag to this area to upload image",clickFileMedia:"Click or drag to this area to upload media",fileTypeError:e=>`You can only select ${e} file!`,imageUploadLimitSize:e=>`Image must be smaller than ${e}MB!`,mediaUploadLimitSize:e=>`Media must be smaller than ${e}MB!`},docsDrawer:{visitPage:"Visit Docs",iframeTitle:"Documentation"},swatchPicker:{color:"Color",image:"Image"},singleImageUpload:{selectImage:(e,a)=>`${e} (max. ${a}MB)`,addImage:"+ Add Image"},imageSelect:{selectImage:"Select Image",selectMedia:"Select Media",clickFileImage:"Click or drag to this area to upload image",clickFileMedia:"Click or drag to this area to upload media"},variantSearch:{searchVariant:"Search Variant"},copyToClipboardButton:{copiedText:"Copied",tooltipInitText:"Copy"},richText:{pasteWarningModalTitle:"Paste Warning",pasteWarningText:"Do you want to paste the text along with its styles that you copied? If you continue with Yes, the appearance of your theme may be disrupted.",enterURL:"https://...",link:"Link",video:"Video",image:"Image",linkUrl:"Link URL",addLink:"Add Link",addImage:"Add Image",addVideo:"Add Video",addVideoLink:"Video Link",suppoertedVideoLinks:"(Supported video links: youtube, instagram, vimeo, dailymotion, youku, peertube, mp4, ogg, webm)",openInNewWindow:"Open in new window",aiButtonText:"Write with AI"}};exports.coreTranslations=t;
package/dist/index5.js CHANGED
@@ -8,7 +8,7 @@ const t = {
8
8
  },
9
9
  placeholder: {
10
10
  select: "Select...",
11
- search: "Search..."
11
+ search: "Ara..."
12
12
  },
13
13
  actions: {
14
14
  save: "Save",
package/dist/index50.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";const n=require("./index131.cjs"),t=require("./index132.cjs"),f=require("./index133.cjs");function u(r,i,s){if(n.randomUUID&&!r)return n.randomUUID();r=r||{};const e=r.random||(r.rng||t)();return e[6]=e[6]&15|64,e[8]=e[8]&63|128,f.unsafeStringify(e)}module.exports=u;
1
+ "use strict";const n=require("./index132.cjs"),t=require("./index133.cjs"),f=require("./index134.cjs");function u(r,i,s){if(n.randomUUID&&!r)return n.randomUUID();r=r||{};const e=r.random||(r.rng||t)();return e[6]=e[6]&15|64,e[8]=e[8]&63|128,f.unsafeStringify(e)}module.exports=u;
package/dist/index50.js CHANGED
@@ -1,6 +1,6 @@
1
- import n from "./index131.js";
2
- import m from "./index132.js";
3
- import { unsafeStringify as t } from "./index133.js";
1
+ import n from "./index132.js";
2
+ import m from "./index133.js";
3
+ import { unsafeStringify as t } from "./index134.js";
4
4
  function x(r, e, a) {
5
5
  if (n.randomUUID && !r)
6
6
  return n.randomUUID();
package/dist/index53.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("react/jsx-runtime"),T=require("mobx-react-lite"),h=require("mobx"),l=require("@ikas/ui"),q=require("./index3.cjs"),r=require("./index5.cjs"),m=require("./index70.cjs"),b=require("./index71.cjs"),v={background:"linear-gradient(180deg, rgba(255,255,255,0.4) -12.38%, #fff 100%)",backdropFilter:"blur(5px)"};function j(){const g={position:"absolute",top:-1,width:24,height:"calc(100% + 1px)",zIndex:4,borderTop:"1px solid var(--gray-blue-1)",...v};return a.jsxs(a.Fragment,{children:[a.jsx("div",{"aria-hidden":!0,style:{...g,left:0}}),a.jsx("div",{"aria-hidden":!0,style:{...g,right:0}})]})}function B(g){const{model:e}=g,o=e.isLocal?!!(e.page&&e.page>1):!!e.hasPrev,c=e.isLocal?!!(e.page&&e.pageSize&&e.page<e.searchFilteredOrderedData.length/e.pageSize):!!e.hasNext,p=h.action(()=>{e.isLocal&&o?e.page=e.page-1:e.onPrevClick(),e.isClearSelectedDataAfterPageChange&&(e.selectedData=[])}),f=h.action(()=>{e.isLocal&&c?e.page=e.page+1:e.onNextClick(),e.isClearSelectedDataAfterPageChange&&(e.selectedData=[])}),N=h.action(t=>{var i;e.page=t,(i=e.onPageChange)==null||i.call(e,t),e.isClearSelectedDataAfterPageChange&&(e.selectedData=[])}),z=h.action(t=>{var x;const i=parseInt(Array.isArray(t)?t[0]:t,10);isNaN(i)||(e.pageSize=i,e.page=1,(x=e.onPageChange)==null||x.call(e,1))}),s=e.isLocal?e.searchFilteredOrderedData.length:e.dataCount,d=s&&e.pageSize?Math.ceil(s/e.pageSize):0,n=e.page??1,C=e.pageSize?(n-1)*e.pageSize+1:1,S=e.pageSize&&s?Math.min(n*e.pageSize,s):0;if(!e.isPaginationEnabled)return null;const y=(e.pageSizeOptions||["10","20","50","100"]).map(t=>({label:t,value:t})),P=e.totalTextField??r.coreTranslations.datatable.totalText;if(!e.usePageBasedPagination){const t=s!=null&&s>0?r.coreTranslations.datatable.totalListedText(s,e.totalTextField??void 0):"";return t===""||!(o||c)?null:a.jsxs("div",{className:"ikas-datatable-paginator relative flex items-center w-full border-t border-gray-blue-1 min-h-[72px] px-6",style:v,children:[a.jsx(j,{}),a.jsxs("div",{className:"relative z-[5] flex items-center w-full",children:[a.jsx("div",{className:"flex-none text-sm text-black",style:{width:"20%"},children:t}),a.jsx("div",{className:"flex-1 flex justify-center",children:(o||c)&&a.jsxs("div",{className:"flex gap-2 -mr-1.5",children:[a.jsx(l.Button,{variant:"default",size:"xs",square:!0,icon:a.jsx(m.default,{className:"h-4 w-4"}),disabled:!o,onClick:p}),a.jsx(l.Button,{variant:"default",size:"xs",square:!0,icon:a.jsx(b.default,{className:"h-4 w-4"}),disabled:!c,onClick:f})]})}),a.jsx("div",{className:"flex-none",style:{width:"20%"}})]})]})}const w=(()=>{if(d<=7)return Array.from({length:d},(u,k)=>k+1);const t=[];t.push(1),n>3&&t.push("ellipsis");const i=Math.max(2,n-1),x=Math.min(d-1,n+1);for(let u=i;u<=x;u++)t.push(u);return n<d-2&&t.push("ellipsis"),d>1&&t.push(d),t})();return a.jsxs("div",{className:"ikas-datatable-paginator relative flex items-center justify-between w-full border-t border-gray-blue-1 min-h-[72px] px-6",style:v,children:[a.jsx(j,{}),a.jsxs("div",{className:"relative z-[5] flex items-center gap-4 text-sm text-gray-blue-6",children:[e.showSizeChanger&&a.jsxs("div",{className:"flex items-center gap-2",children:[a.jsxs("span",{children:[r.coreTranslations.datatable.rowCount,":"]}),a.jsx(l.Select,{options:y,value:String(e.pageSize||20),onChange:z,style:{width:70,height:32}})]}),s!=null&&s>0&&a.jsxs("span",{children:[C," - ",S," / ",s.toLocaleString()," ",P]})]}),e.usePaginationWithOnlyArrows?a.jsxs("div",{className:"relative z-[5] flex items-center gap-2",children:[a.jsx(l.Button,{variant:"default",size:"xs",icon:a.jsx(m.default,{className:"h-4 w-4"}),disabled:!o,onClick:p,children:r.coreTranslations.datatable.pagination.prev}),a.jsxs(l.Button,{variant:"default",size:"xs",disabled:!c,onClick:f,children:[r.coreTranslations.datatable.pagination.next,a.jsx(b.default,{className:"h-4 w-4"})]})]}):a.jsxs("div",{className:"relative z-[5] flex items-center gap-1",children:[a.jsx(l.Button,{variant:"default",size:"xs",icon:a.jsx(m.default,{className:"h-4 w-4"}),disabled:!o,onClick:p,children:r.coreTranslations.datatable.pagination.prev}),w.map((t,i)=>t==="ellipsis"?a.jsx("span",{className:"px-2 text-sm text-gray-blue-6",children:"..."},`ellipsis-${i}`):a.jsx(l.Button,{variant:t===n?"primary-ghost":"default",size:"xs",className:q.cn("min-w-[32px]",t!==n&&"text-gray-blue-6"),onClick:()=>N(t),children:t},t)),a.jsxs(l.Button,{variant:"default",size:"xs",disabled:!c,onClick:f,children:[r.coreTranslations.datatable.pagination.next,a.jsx(b.default,{className:"h-4 w-4"})]})]})]})}const L=T.observer(B);exports.Paginator=L;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("react/jsx-runtime"),k=require("mobx-react-lite"),u=require("mobx"),l=require("@ikas/ui"),T=require("./index3.cjs"),r=require("./index5.cjs"),f=require("./index70.cjs"),m=require("./index71.cjs"),b={background:"linear-gradient(180deg, rgba(255,255,255,0.4) -12.38%, #fff 100%)",backdropFilter:"blur(5px)"};function q(v){const{model:e}=v,o=e.isLocal?!!(e.page&&e.page>1):!!e.hasPrev,c=e.isLocal?!!(e.page&&e.pageSize&&e.page<e.searchFilteredOrderedData.length/e.pageSize):!!e.hasNext,h=u.action(()=>{e.isLocal&&o?e.page=e.page-1:e.onPrevClick(),e.isClearSelectedDataAfterPageChange&&(e.selectedData=[])}),p=u.action(()=>{e.isLocal&&c?e.page=e.page+1:e.onNextClick(),e.isClearSelectedDataAfterPageChange&&(e.selectedData=[])}),j=u.action(t=>{var i;e.page=t,(i=e.onPageChange)==null||i.call(e,t),e.isClearSelectedDataAfterPageChange&&(e.selectedData=[])}),N=u.action(t=>{var g;const i=parseInt(Array.isArray(t)?t[0]:t,10);isNaN(i)||(e.pageSize=i,e.page=1,(g=e.onPageChange)==null||g.call(e,1))}),s=e.isLocal?e.searchFilteredOrderedData.length:e.dataCount,d=s&&e.pageSize?Math.ceil(s/e.pageSize):0,n=e.page??1,z=e.pageSize?(n-1)*e.pageSize+1:1,C=e.pageSize&&s?Math.min(n*e.pageSize,s):0;if(!e.isPaginationEnabled)return null;const S=(e.pageSizeOptions||["10","20","50","100"]).map(t=>({label:t,value:t})),P=e.totalTextField??r.coreTranslations.datatable.totalText;if(!e.usePageBasedPagination){const t=s!=null&&s>0?r.coreTranslations.datatable.totalListedText(s,e.totalTextField??void 0):"";return t===""||!(o||c)?null:a.jsx("div",{className:"ikas-datatable-paginator relative flex items-center w-full border-t border-gray-blue-1 min-h-[72px] px-6",style:b,children:a.jsxs("div",{className:"relative z-[5] flex items-center w-full",children:[a.jsx("div",{className:"flex-none text-sm text-black",style:{width:"20%"},children:t}),a.jsx("div",{className:"flex-1 flex justify-center",children:(o||c)&&a.jsxs("div",{className:"flex gap-2 -mr-1.5",children:[a.jsx(l.Button,{variant:"default",size:"xs",square:!0,icon:a.jsx(f.default,{className:"h-4 w-4"}),disabled:!o,onClick:h}),a.jsx(l.Button,{variant:"default",size:"xs",square:!0,icon:a.jsx(m.default,{className:"h-4 w-4"}),disabled:!c,onClick:p})]})}),a.jsx("div",{className:"flex-none",style:{width:"20%"}})]})})}const y=(()=>{if(d<=7)return Array.from({length:d},(x,w)=>w+1);const t=[];t.push(1),n>3&&t.push("ellipsis");const i=Math.max(2,n-1),g=Math.min(d-1,n+1);for(let x=i;x<=g;x++)t.push(x);return n<d-2&&t.push("ellipsis"),d>1&&t.push(d),t})();return a.jsxs("div",{className:"ikas-datatable-paginator relative flex items-center justify-between w-full border-t border-gray-blue-1 min-h-[72px] px-6",style:b,children:[a.jsxs("div",{className:"relative z-[5] flex items-center gap-4 text-sm text-gray-blue-6",children:[e.showSizeChanger&&a.jsxs("div",{className:"flex items-center gap-2",children:[a.jsxs("span",{children:[r.coreTranslations.datatable.rowCount,":"]}),a.jsx(l.Select,{options:S,value:String(e.pageSize||20),onChange:N,style:{width:70,height:32}})]}),s!=null&&s>0&&a.jsxs("span",{children:[z," - ",C," / ",s.toLocaleString()," ",P]})]}),e.usePaginationWithOnlyArrows?a.jsxs("div",{className:"relative z-[5] flex items-center gap-2",children:[a.jsx(l.Button,{variant:"default",size:"xs",icon:a.jsx(f.default,{className:"h-4 w-4"}),disabled:!o,onClick:h,children:r.coreTranslations.datatable.pagination.prev}),a.jsxs(l.Button,{variant:"default",size:"xs",disabled:!c,onClick:p,children:[r.coreTranslations.datatable.pagination.next,a.jsx(m.default,{className:"h-4 w-4"})]})]}):a.jsxs("div",{className:"relative z-[5] flex items-center gap-1",children:[a.jsx(l.Button,{variant:"default",size:"xs",icon:a.jsx(f.default,{className:"h-4 w-4"}),disabled:!o,onClick:h,children:r.coreTranslations.datatable.pagination.prev}),y.map((t,i)=>t==="ellipsis"?a.jsx("span",{className:"px-2 text-sm text-gray-blue-6",children:"..."},`ellipsis-${i}`):a.jsx(l.Button,{variant:t===n?"primary-ghost":"default",size:"xs",className:T.cn("min-w-[32px]",t!==n&&"text-gray-blue-6"),onClick:()=>j(t),children:t},t)),a.jsxs(l.Button,{variant:"default",size:"xs",disabled:!c,onClick:p,children:[r.coreTranslations.datatable.pagination.next,a.jsx(m.default,{className:"h-4 w-4"})]})]})]})}const B=k.observer(q);exports.Paginator=B;
package/dist/index53.js CHANGED
@@ -1,108 +1,89 @@
1
- import { jsxs as i, jsx as t, Fragment as T } from "react/jsx-runtime";
2
- import { observer as A } from "mobx-react-lite";
1
+ import { jsx as t, jsxs as i } from "react/jsx-runtime";
2
+ import { observer as L } from "mobx-react-lite";
3
3
  import { action as m } from "mobx";
4
- import { Button as r, Select as F } from "@ikas/ui";
5
- import { cn as O } from "./index3.js";
4
+ import { Button as r, Select as A } from "@ikas/ui";
5
+ import { cn as T } from "./index3.js";
6
6
  import { coreTranslations as o } from "./index5.js";
7
- import b from "./index70.js";
8
- import v from "./index71.js";
9
- const C = {
7
+ import x from "./index70.js";
8
+ import b from "./index71.js";
9
+ const v = {
10
10
  background: "linear-gradient(180deg, rgba(255,255,255,0.4) -12.38%, #fff 100%)",
11
11
  backdropFilter: "blur(5px)"
12
12
  };
13
- function N() {
14
- const p = {
15
- position: "absolute",
16
- top: -1,
17
- width: 24,
18
- height: "calc(100% + 1px)",
19
- zIndex: 4,
20
- borderTop: "1px solid var(--gray-blue-1)",
21
- ...C
22
- };
23
- return /* @__PURE__ */ i(T, { children: [
24
- /* @__PURE__ */ t("div", { "aria-hidden": !0, style: { ...p, left: 0 } }),
25
- /* @__PURE__ */ t("div", { "aria-hidden": !0, style: { ...p, right: 0 } })
26
- ] });
27
- }
28
- function j(p) {
29
- const { model: e } = p, c = e.isLocal ? !!(e.page && e.page > 1) : !!e.hasPrev, d = e.isLocal ? !!(e.page && e.pageSize && e.page < e.searchFilteredOrderedData.length / e.pageSize) : !!e.hasNext, u = m(() => {
13
+ function F(C) {
14
+ const { model: e } = C, c = e.isLocal ? !!(e.page && e.page > 1) : !!e.hasPrev, d = e.isLocal ? !!(e.page && e.pageSize && e.page < e.searchFilteredOrderedData.length / e.pageSize) : !!e.hasNext, f = m(() => {
30
15
  e.isLocal && c ? e.page = e.page - 1 : e.onPrevClick(), e.isClearSelectedDataAfterPageChange && (e.selectedData = []);
31
- }), x = m(() => {
16
+ }), u = m(() => {
32
17
  e.isLocal && d ? e.page = e.page + 1 : e.onNextClick(), e.isClearSelectedDataAfterPageChange && (e.selectedData = []);
33
- }), z = m((a) => {
18
+ }), N = m((a) => {
34
19
  var l;
35
20
  e.page = a, (l = e.onPageChange) == null || l.call(e, a), e.isClearSelectedDataAfterPageChange && (e.selectedData = []);
36
- }), S = m((a) => {
37
- var h;
21
+ }), z = m((a) => {
22
+ var p;
38
23
  const l = parseInt(Array.isArray(a) ? a[0] : a, 10);
39
- isNaN(l) || (e.pageSize = l, e.page = 1, (h = e.onPageChange) == null || h.call(e, 1));
40
- }), n = e.isLocal ? e.searchFilteredOrderedData.length : e.dataCount, g = n && e.pageSize ? Math.ceil(n / e.pageSize) : 0, s = e.page ?? 1, y = e.pageSize ? (s - 1) * e.pageSize + 1 : 1, P = e.pageSize && n ? Math.min(s * e.pageSize, n) : 0;
24
+ isNaN(l) || (e.pageSize = l, e.page = 1, (p = e.onPageChange) == null || p.call(e, 1));
25
+ }), n = e.isLocal ? e.searchFilteredOrderedData.length : e.dataCount, g = n && e.pageSize ? Math.ceil(n / e.pageSize) : 0, s = e.page ?? 1, S = e.pageSize ? (s - 1) * e.pageSize + 1 : 1, P = e.pageSize && n ? Math.min(s * e.pageSize, n) : 0;
41
26
  if (!e.isPaginationEnabled) return null;
42
27
  const w = (e.pageSizeOptions || ["10", "20", "50", "100"]).map(
43
28
  (a) => ({ label: a, value: a })
44
- ), k = e.totalTextField ?? o.datatable.totalText;
29
+ ), y = e.totalTextField ?? o.datatable.totalText;
45
30
  if (!e.usePageBasedPagination) {
46
31
  const a = n != null && n > 0 ? o.datatable.totalListedText(
47
32
  n,
48
33
  e.totalTextField ?? void 0
49
34
  ) : "";
50
- return a === "" || !(c || d) ? null : /* @__PURE__ */ i(
35
+ return a === "" || !(c || d) ? null : /* @__PURE__ */ t(
51
36
  "div",
52
37
  {
53
38
  className: "ikas-datatable-paginator relative flex items-center w-full border-t border-gray-blue-1 min-h-[72px] px-6",
54
- style: C,
55
- children: [
56
- /* @__PURE__ */ t(N, {}),
57
- /* @__PURE__ */ i("div", { className: "relative z-[5] flex items-center w-full", children: [
58
- /* @__PURE__ */ t("div", { className: "flex-none text-sm text-black", style: { width: "20%" }, children: a }),
59
- /* @__PURE__ */ t("div", { className: "flex-1 flex justify-center", children: (c || d) && /* @__PURE__ */ i("div", { className: "flex gap-2 -mr-1.5", children: [
60
- /* @__PURE__ */ t(
61
- r,
62
- {
63
- variant: "default",
64
- size: "xs",
65
- square: !0,
66
- icon: /* @__PURE__ */ t(b, { className: "h-4 w-4" }),
67
- disabled: !c,
68
- onClick: u
69
- }
70
- ),
71
- /* @__PURE__ */ t(
72
- r,
73
- {
74
- variant: "default",
75
- size: "xs",
76
- square: !0,
77
- icon: /* @__PURE__ */ t(v, { className: "h-4 w-4" }),
78
- disabled: !d,
79
- onClick: x
80
- }
81
- )
82
- ] }) }),
83
- /* @__PURE__ */ t("div", { className: "flex-none", style: { width: "20%" } })
84
- ] })
85
- ]
39
+ style: v,
40
+ children: /* @__PURE__ */ i("div", { className: "relative z-[5] flex items-center w-full", children: [
41
+ /* @__PURE__ */ t("div", { className: "flex-none text-sm text-black", style: { width: "20%" }, children: a }),
42
+ /* @__PURE__ */ t("div", { className: "flex-1 flex justify-center", children: (c || d) && /* @__PURE__ */ i("div", { className: "flex gap-2 -mr-1.5", children: [
43
+ /* @__PURE__ */ t(
44
+ r,
45
+ {
46
+ variant: "default",
47
+ size: "xs",
48
+ square: !0,
49
+ icon: /* @__PURE__ */ t(x, { className: "h-4 w-4" }),
50
+ disabled: !c,
51
+ onClick: f
52
+ }
53
+ ),
54
+ /* @__PURE__ */ t(
55
+ r,
56
+ {
57
+ variant: "default",
58
+ size: "xs",
59
+ square: !0,
60
+ icon: /* @__PURE__ */ t(b, { className: "h-4 w-4" }),
61
+ disabled: !d,
62
+ onClick: u
63
+ }
64
+ )
65
+ ] }) }),
66
+ /* @__PURE__ */ t("div", { className: "flex-none", style: { width: "20%" } })
67
+ ] })
86
68
  }
87
69
  );
88
70
  }
89
- const D = (() => {
71
+ const k = (() => {
90
72
  if (g <= 7)
91
- return Array.from({ length: g }, (f, L) => L + 1);
73
+ return Array.from({ length: g }, (h, D) => D + 1);
92
74
  const a = [];
93
75
  a.push(1), s > 3 && a.push("ellipsis");
94
- const l = Math.max(2, s - 1), h = Math.min(g - 1, s + 1);
95
- for (let f = l; f <= h; f++)
96
- a.push(f);
76
+ const l = Math.max(2, s - 1), p = Math.min(g - 1, s + 1);
77
+ for (let h = l; h <= p; h++)
78
+ a.push(h);
97
79
  return s < g - 2 && a.push("ellipsis"), g > 1 && a.push(g), a;
98
80
  })();
99
81
  return /* @__PURE__ */ i(
100
82
  "div",
101
83
  {
102
84
  className: "ikas-datatable-paginator relative flex items-center justify-between w-full border-t border-gray-blue-1 min-h-[72px] px-6",
103
- style: C,
85
+ style: v,
104
86
  children: [
105
- /* @__PURE__ */ t(N, {}),
106
87
  /* @__PURE__ */ i("div", { className: "relative z-[5] flex items-center gap-4 text-sm text-gray-blue-6", children: [
107
88
  e.showSizeChanger && /* @__PURE__ */ i("div", { className: "flex items-center gap-2", children: [
108
89
  /* @__PURE__ */ i("span", { children: [
@@ -110,23 +91,23 @@ function j(p) {
110
91
  ":"
111
92
  ] }),
112
93
  /* @__PURE__ */ t(
113
- F,
94
+ A,
114
95
  {
115
96
  options: w,
116
97
  value: String(e.pageSize || 20),
117
- onChange: S,
98
+ onChange: z,
118
99
  style: { width: 70, height: 32 }
119
100
  }
120
101
  )
121
102
  ] }),
122
103
  n != null && n > 0 && /* @__PURE__ */ i("span", { children: [
123
- y,
104
+ S,
124
105
  " - ",
125
106
  P,
126
107
  " / ",
127
108
  n.toLocaleString(),
128
109
  " ",
129
- k
110
+ y
130
111
  ] })
131
112
  ] }),
132
113
  e.usePaginationWithOnlyArrows ? /* @__PURE__ */ i("div", { className: "relative z-[5] flex items-center gap-2", children: [
@@ -135,9 +116,9 @@ function j(p) {
135
116
  {
136
117
  variant: "default",
137
118
  size: "xs",
138
- icon: /* @__PURE__ */ t(b, { className: "h-4 w-4" }),
119
+ icon: /* @__PURE__ */ t(x, { className: "h-4 w-4" }),
139
120
  disabled: !c,
140
- onClick: u,
121
+ onClick: f,
141
122
  children: o.datatable.pagination.prev
142
123
  }
143
124
  ),
@@ -147,10 +128,10 @@ function j(p) {
147
128
  variant: "default",
148
129
  size: "xs",
149
130
  disabled: !d,
150
- onClick: x,
131
+ onClick: u,
151
132
  children: [
152
133
  o.datatable.pagination.next,
153
- /* @__PURE__ */ t(v, { className: "h-4 w-4" })
134
+ /* @__PURE__ */ t(b, { className: "h-4 w-4" })
154
135
  ]
155
136
  }
156
137
  )
@@ -160,13 +141,13 @@ function j(p) {
160
141
  {
161
142
  variant: "default",
162
143
  size: "xs",
163
- icon: /* @__PURE__ */ t(b, { className: "h-4 w-4" }),
144
+ icon: /* @__PURE__ */ t(x, { className: "h-4 w-4" }),
164
145
  disabled: !c,
165
- onClick: u,
146
+ onClick: f,
166
147
  children: o.datatable.pagination.prev
167
148
  }
168
149
  ),
169
- D.map(
150
+ k.map(
170
151
  (a, l) => a === "ellipsis" ? /* @__PURE__ */ t(
171
152
  "span",
172
153
  {
@@ -179,11 +160,11 @@ function j(p) {
179
160
  {
180
161
  variant: a === s ? "primary-ghost" : "default",
181
162
  size: "xs",
182
- className: O(
163
+ className: T(
183
164
  "min-w-[32px]",
184
165
  a !== s && "text-gray-blue-6"
185
166
  ),
186
- onClick: () => z(a),
167
+ onClick: () => N(a),
187
168
  children: a
188
169
  },
189
170
  a
@@ -195,10 +176,10 @@ function j(p) {
195
176
  variant: "default",
196
177
  size: "xs",
197
178
  disabled: !d,
198
- onClick: x,
179
+ onClick: u,
199
180
  children: [
200
181
  o.datatable.pagination.next,
201
- /* @__PURE__ */ t(v, { className: "h-4 w-4" })
182
+ /* @__PURE__ */ t(b, { className: "h-4 w-4" })
202
183
  ]
203
184
  }
204
185
  )
@@ -207,7 +188,7 @@ function j(p) {
207
188
  }
208
189
  );
209
190
  }
210
- const G = A(j);
191
+ const _ = L(F);
211
192
  export {
212
- G as Paginator
193
+ _ as Paginator
213
194
  };
package/dist/index56.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";const r=require("./index134.cjs"),s=require("./index119.cjs");var e=s.__require();const t=r.getDefaultExportFromCjs(e);module.exports=t;
1
+ "use strict";const r=require("./index131.cjs"),s=require("./index119.cjs");var e=s.__require();const t=r.getDefaultExportFromCjs(e);module.exports=t;
package/dist/index56.js CHANGED
@@ -1,4 +1,4 @@
1
- import { getDefaultExportFromCjs as r } from "./index134.js";
1
+ import { getDefaultExportFromCjs as r } from "./index131.js";
2
2
  import { __require as o } from "./index119.js";
3
3
  var t = o();
4
4
  const s = /* @__PURE__ */ r(t);
package/dist/index57.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";const e=require("./index134.cjs"),r=require("./index121.cjs");var s=r.__require();const o=e.getDefaultExportFromCjs(s);module.exports=o;
1
+ "use strict";const e=require("./index131.cjs"),r=require("./index121.cjs");var s=r.__require();const o=e.getDefaultExportFromCjs(s);module.exports=o;
package/dist/index57.js CHANGED
@@ -1,4 +1,4 @@
1
- import { getDefaultExportFromCjs as e } from "./index134.js";
1
+ import { getDefaultExportFromCjs as e } from "./index131.js";
2
2
  import { __require as r } from "./index121.js";
3
3
  var o = r();
4
4
  const i = /* @__PURE__ */ e(o);
package/dist/index83.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("react"),v=require("./index154.cjs"),m=require("./index155.cjs");require("./index156.cjs");require("./index157.cjs");require("./index158.cjs");require("./index159.cjs");require("./index160.cjs");const P=require("./index161.cjs");require("./index162.cjs");const b=require("./index163.cjs");var y=Object.assign||function(i){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var t in r)Object.prototype.hasOwnProperty.call(r,t)&&(i[t]=r[t])}return i},a=function(e){var r=e.rgb,t=e.hsl,s=e.width,h=e.height,p=e.onChange,c=e.direction,u=e.style,d=e.renderers,g=e.pointer,n=e.className,q=n===void 0?"":n,l=v.default({default:{picker:{position:"relative",width:s,height:h},alpha:{radius:"2px",style:u}}});return o.createElement("div",{style:l.picker,className:"alpha-picker "+q},o.createElement(m.Alpha,y({},l.alpha,{rgb:r,hsl:t,pointer:g,renderers:d,onChange:p,direction:c})))};a.defaultProps={width:"316px",height:"16px",direction:"horizontal",pointer:b.AlphaPointer};P.ColorWrap(a);exports.AlphaPicker=a;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("react"),v=require("./index153.cjs"),m=require("./index154.cjs");require("./index155.cjs");require("./index156.cjs");require("./index157.cjs");require("./index158.cjs");require("./index159.cjs");const P=require("./index160.cjs");require("./index161.cjs");const b=require("./index162.cjs");var y=Object.assign||function(i){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var t in r)Object.prototype.hasOwnProperty.call(r,t)&&(i[t]=r[t])}return i},a=function(e){var r=e.rgb,t=e.hsl,s=e.width,h=e.height,p=e.onChange,c=e.direction,u=e.style,d=e.renderers,g=e.pointer,n=e.className,q=n===void 0?"":n,l=v.default({default:{picker:{position:"relative",width:s,height:h},alpha:{radius:"2px",style:u}}});return o.createElement("div",{style:l.picker,className:"alpha-picker "+q},o.createElement(m.Alpha,y({},l.alpha,{rgb:r,hsl:t,pointer:g,renderers:d,onChange:p,direction:c})))};a.defaultProps={width:"316px",height:"16px",direction:"horizontal",pointer:b.AlphaPointer};P.ColorWrap(a);exports.AlphaPicker=a;
package/dist/index83.js CHANGED
@@ -1,14 +1,14 @@
1
1
  import n from "react";
2
- import v from "./index154.js";
3
- import { Alpha as f } from "./index155.js";
2
+ import v from "./index153.js";
3
+ import { Alpha as f } from "./index154.js";
4
+ import "./index155.js";
4
5
  import "./index156.js";
5
6
  import "./index157.js";
6
7
  import "./index158.js";
7
8
  import "./index159.js";
8
- import "./index160.js";
9
- import { ColorWrap as b } from "./index161.js";
10
- import "./index162.js";
11
- import { AlphaPointer as w } from "./index163.js";
9
+ import { ColorWrap as b } from "./index160.js";
10
+ import "./index161.js";
11
+ import { AlphaPointer as w } from "./index162.js";
12
12
  var x = Object.assign || function(i) {
13
13
  for (var r = 1; r < arguments.length; r++) {
14
14
  var t = arguments[r];
package/dist/index84.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("react"),r=require("./index164.cjs"),m=require("./index154.cjs"),C=require("./index165.cjs"),c=require("./index166.cjs");require("./index155.cjs");const q=require("./index156.cjs"),w=require("./index157.cjs");require("./index158.cjs");require("./index159.cjs");require("./index160.cjs");const S=require("./index161.cjs");require("./index162.cjs");const k=require("./index167.cjs");var a=function(e){var p=e.onChange,u=e.onSwatchHover,o=e.hex,h=e.colors,x=e.width,g=e.triangle,i=e.styles,b=i===void 0?{}:i,l=e.className,y=l===void 0?"":l,v=o==="transparent",s=function(d,f){c.isValidHex(d)&&p({hex:d,source:"hex"},f)},n=m.default(C({default:{card:{width:x,background:"#fff",boxShadow:"0 1px rgba(0,0,0,.1)",borderRadius:"6px",position:"relative"},head:{height:"110px",background:o,borderRadius:"6px 6px 0 0",display:"flex",alignItems:"center",justifyContent:"center",position:"relative"},body:{padding:"10px"},label:{fontSize:"18px",color:c.getContrastingColor(o),position:"relative"},triangle:{width:"0px",height:"0px",borderStyle:"solid",borderWidth:"0 10px 10px 10px",borderColor:"transparent transparent "+o+" transparent",position:"absolute",top:"-10px",left:"50%",marginLeft:"-10px"},input:{width:"100%",fontSize:"12px",color:"#666",border:"0px",outline:"none",height:"22px",boxShadow:"inset 0 0 0 1px #ddd",borderRadius:"4px",padding:"0 7px",boxSizing:"border-box"}},"hide-triangle":{triangle:{display:"none"}}},b),{"hide-triangle":g==="hide"});return t.createElement("div",{style:n.card,className:"block-picker "+y},t.createElement("div",{style:n.triangle}),t.createElement("div",{style:n.head},v&&t.createElement(q.Checkboard,{borderRadius:"6px 6px 0 0"}),t.createElement("div",{style:n.label},o)),t.createElement("div",{style:n.body},t.createElement(k.BlockSwatches,{colors:h,onClick:s,onSwatchHover:u}),t.createElement(w.EditableInput,{style:{input:n.input},value:o,onChange:s})))};a.propTypes={width:r.oneOfType([r.string,r.number]),colors:r.arrayOf(r.string),triangle:r.oneOf(["top","hide"]),styles:r.object};a.defaultProps={width:170,colors:["#D9E3F0","#F47373","#697689","#37D67A","#2CCCE4","#555555","#dce775","#ff8a65","#ba68c8"],triangle:"top",styles:{}};S.ColorWrap(a);exports.Block=a;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("react"),r=require("./index163.cjs"),m=require("./index153.cjs"),C=require("./index164.cjs"),c=require("./index165.cjs");require("./index154.cjs");const q=require("./index155.cjs"),w=require("./index156.cjs");require("./index157.cjs");require("./index158.cjs");require("./index159.cjs");const S=require("./index160.cjs");require("./index161.cjs");const k=require("./index166.cjs");var a=function(e){var p=e.onChange,u=e.onSwatchHover,o=e.hex,h=e.colors,x=e.width,g=e.triangle,i=e.styles,b=i===void 0?{}:i,l=e.className,y=l===void 0?"":l,v=o==="transparent",s=function(d,f){c.isValidHex(d)&&p({hex:d,source:"hex"},f)},n=m.default(C({default:{card:{width:x,background:"#fff",boxShadow:"0 1px rgba(0,0,0,.1)",borderRadius:"6px",position:"relative"},head:{height:"110px",background:o,borderRadius:"6px 6px 0 0",display:"flex",alignItems:"center",justifyContent:"center",position:"relative"},body:{padding:"10px"},label:{fontSize:"18px",color:c.getContrastingColor(o),position:"relative"},triangle:{width:"0px",height:"0px",borderStyle:"solid",borderWidth:"0 10px 10px 10px",borderColor:"transparent transparent "+o+" transparent",position:"absolute",top:"-10px",left:"50%",marginLeft:"-10px"},input:{width:"100%",fontSize:"12px",color:"#666",border:"0px",outline:"none",height:"22px",boxShadow:"inset 0 0 0 1px #ddd",borderRadius:"4px",padding:"0 7px",boxSizing:"border-box"}},"hide-triangle":{triangle:{display:"none"}}},b),{"hide-triangle":g==="hide"});return t.createElement("div",{style:n.card,className:"block-picker "+y},t.createElement("div",{style:n.triangle}),t.createElement("div",{style:n.head},v&&t.createElement(q.Checkboard,{borderRadius:"6px 6px 0 0"}),t.createElement("div",{style:n.label},o)),t.createElement("div",{style:n.body},t.createElement(k.BlockSwatches,{colors:h,onClick:s,onSwatchHover:u}),t.createElement(w.EditableInput,{style:{input:n.input},value:o,onChange:s})))};a.propTypes={width:r.oneOfType([r.string,r.number]),colors:r.arrayOf(r.string),triangle:r.oneOf(["top","hide"]),styles:r.object};a.defaultProps={width:170,colors:["#D9E3F0","#F47373","#697689","#37D67A","#2CCCE4","#555555","#dce775","#ff8a65","#ba68c8"],triangle:"top",styles:{}};S.ColorWrap(a);exports.Block=a;
package/dist/index84.js CHANGED
@@ -1,17 +1,17 @@
1
1
  import t from "react";
2
- import r from "./index164.js";
3
- import y from "./index154.js";
4
- import v from "./index165.js";
5
- import { getContrastingColor as C, isValidHex as w } from "./index166.js";
6
- import "./index155.js";
7
- import { Checkboard as S } from "./index156.js";
8
- import { EditableInput as E } from "./index157.js";
2
+ import r from "./index163.js";
3
+ import y from "./index153.js";
4
+ import v from "./index164.js";
5
+ import { getContrastingColor as C, isValidHex as w } from "./index165.js";
6
+ import "./index154.js";
7
+ import { Checkboard as S } from "./index155.js";
8
+ import { EditableInput as E } from "./index156.js";
9
+ import "./index157.js";
9
10
  import "./index158.js";
10
11
  import "./index159.js";
11
- import "./index160.js";
12
- import { ColorWrap as k } from "./index161.js";
13
- import "./index162.js";
14
- import { BlockSwatches as R } from "./index167.js";
12
+ import { ColorWrap as k } from "./index160.js";
13
+ import "./index161.js";
14
+ import { BlockSwatches as R } from "./index166.js";
15
15
  var i = function(e) {
16
16
  var s = e.onChange, c = e.onSwatchHover, o = e.hex, m = e.colors, h = e.width, x = e.triangle, n = e.styles, g = n === void 0 ? {} : n, l = e.className, b = l === void 0 ? "" : l, f = o === "transparent", p = function(d, u) {
17
17
  w(d) && s({