@jenesei-software/jenesei-kit-react 1.3.40 → 2.0.1

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 (754) hide show
  1. package/README.md +0 -37
  2. package/build/AnimatePresence-19yP-TCg.js +134 -0
  3. package/build/AnimatePresence-19yP-TCg.js.map +1 -0
  4. package/build/AnimatePresence-BdBJCJuf.cjs +11 -0
  5. package/build/AnimatePresence-BdBJCJuf.cjs.map +1 -0
  6. package/build/area-outside.cjs.js +1 -2
  7. package/build/area-outside.d.ts +2 -28
  8. package/build/area-outside.es.js +2 -3
  9. package/build/area-preview.cjs.js +1 -2
  10. package/build/area-preview.d.ts +2 -48
  11. package/build/area-preview.es.js +3 -5
  12. package/build/area-skeleton.cjs.js +1 -2
  13. package/build/area-skeleton.d.ts +2 -68
  14. package/build/area-skeleton.es.js +2 -4
  15. package/build/areas/outside/area.d.ts +7 -0
  16. package/build/areas/outside/index.d.ts +1 -0
  17. package/build/areas/preview/area.d.ts +3 -0
  18. package/build/areas/preview/area.hooks.d.ts +1 -0
  19. package/build/areas/preview/area.types.d.ts +19 -0
  20. package/build/areas/preview/index.d.ts +3 -0
  21. package/build/areas/skeleton/area.d.ts +3 -0
  22. package/build/areas/skeleton/area.types.d.ts +21 -0
  23. package/build/areas/skeleton/index.d.ts +2 -0
  24. package/build/build-info.txt +3 -3
  25. package/build/button-BbGiFvok.js +102 -0
  26. package/build/button-BbGiFvok.js.map +1 -0
  27. package/build/button-BuPpgfL_.cjs +3 -0
  28. package/build/button-BuPpgfL_.cjs.map +1 -0
  29. package/build/checkbox-CXxWDklX.js +98 -0
  30. package/build/checkbox-CXxWDklX.js.map +1 -0
  31. package/build/checkbox-qgc_Ntc3.cjs +3 -0
  32. package/build/checkbox-qgc_Ntc3.cjs.map +1 -0
  33. package/build/chunk-Dd8m0Ver.cjs +1 -0
  34. package/build/chunk-cI0lbGMq.js +31 -0
  35. package/build/component-BHyXT2-h.js +71 -0
  36. package/build/component-BHyXT2-h.js.map +1 -0
  37. package/build/component-button.cjs.js +1 -2
  38. package/build/component-button.d.ts +2 -208
  39. package/build/component-button.es.js +2 -5
  40. package/build/component-checkbox.cjs.js +1 -2
  41. package/build/component-checkbox.d.ts +2 -208
  42. package/build/component-checkbox.es.js +2 -8
  43. package/build/component-date-picker.cjs.js +1 -2
  44. package/build/component-date-picker.d.ts +2 -582
  45. package/build/component-date-picker.es.js +2 -19
  46. package/build/component-icon.cjs.js +1 -2
  47. package/build/component-icon.d.ts +2 -136
  48. package/build/component-icon.es.js +4 -8
  49. package/build/component-input-otp.cjs.js +1 -2
  50. package/build/component-input-otp.d.ts +2 -211
  51. package/build/component-input-otp.es.js +2 -7
  52. package/build/component-input.cjs.js +1 -2
  53. package/build/component-input.d.ts +2 -286
  54. package/build/component-input.es.js +2 -18
  55. package/build/component-jsn2T8Hu.cjs +3 -0
  56. package/build/component-jsn2T8Hu.cjs.map +1 -0
  57. package/build/component-pagination.cjs.js +1 -2
  58. package/build/component-pagination.d.ts +2 -196
  59. package/build/component-pagination.es.js +2 -4
  60. package/build/component-popover.cjs.js +1 -0
  61. package/build/component-popover.d.ts +2 -0
  62. package/build/component-popover.es.js +5 -0
  63. package/build/component-select.cjs.js +1 -2
  64. package/build/component-select.d.ts +2 -411
  65. package/build/component-select.es.js +6 -18
  66. package/build/component-separator.cjs.js +1 -2
  67. package/build/component-separator.d.ts +2 -49
  68. package/build/component-separator.es.js +2 -5
  69. package/build/component-stack.cjs.js +1 -2
  70. package/build/component-stack.d.ts +2 -72
  71. package/build/component-stack.es.js +3 -6
  72. package/build/component-textarea.cjs.js +1 -2
  73. package/build/component-textarea.d.ts +2 -202
  74. package/build/component-textarea.es.js +2 -6
  75. package/build/component-toggle.cjs.js +1 -2
  76. package/build/component-toggle.d.ts +2 -150
  77. package/build/component-toggle.es.js +2 -6
  78. package/build/component-tooltip.cjs.js +1 -2
  79. package/build/component-tooltip.d.ts +2 -360
  80. package/build/component-tooltip.es.js +2 -10
  81. package/build/component-typography.cjs.js +1 -2
  82. package/build/component-typography.d.ts +2 -316
  83. package/build/component-typography.es.js +3 -9
  84. package/build/components/button/component.d.ts +3 -0
  85. package/build/components/button/component.types.d.ts +41 -0
  86. package/build/components/button/index.d.ts +2 -0
  87. package/build/components/checkbox/component.d.ts +3 -0
  88. package/build/components/checkbox/component.types.d.ts +51 -0
  89. package/build/components/checkbox/index.d.ts +2 -0
  90. package/build/components/date-picker/component.d.ts +2 -0
  91. package/build/components/date-picker/component.types.d.ts +86 -0
  92. package/build/components/date-picker/index.d.ts +2 -0
  93. package/build/components/error/component.d.ts +3 -0
  94. package/build/components/error/component.types.d.ts +11 -0
  95. package/build/components/error/index.d.ts +2 -0
  96. package/build/components/icon/component.consts.d.ts +6 -0
  97. package/build/components/icon/component.d.ts +9 -0
  98. package/build/components/icon/component.functions.d.ts +2 -0
  99. package/build/components/icon/component.hooks.d.ts +5 -0
  100. package/build/components/icon/component.types.d.ts +47 -0
  101. package/build/components/icon/index.d.ts +4 -0
  102. package/build/components/input/component.d.ts +6 -0
  103. package/build/components/input/component.types.d.ts +78 -0
  104. package/build/components/input/index.d.ts +2 -0
  105. package/build/components/input-otp/component.d.ts +2 -0
  106. package/build/components/input-otp/component.types.d.ts +8 -0
  107. package/build/components/input-otp/index.d.ts +2 -0
  108. package/build/components/pagination/component.constants.d.ts +1 -0
  109. package/build/components/pagination/component.d.ts +3 -0
  110. package/build/components/pagination/component.types.d.ts +22 -0
  111. package/build/components/pagination/index.d.ts +2 -0
  112. package/build/components/popover/component.constants.d.ts +3 -0
  113. package/build/components/popover/component.d.ts +34 -0
  114. package/build/components/popover/component.types.d.ts +113 -0
  115. package/build/components/popover/index.d.ts +2 -0
  116. package/build/components/select/component.d.ts +4 -0
  117. package/build/components/select/component.examples.d.ts +6 -0
  118. package/build/components/select/component.types.d.ts +109 -0
  119. package/build/components/select/index.d.ts +3 -0
  120. package/build/components/separator/component.d.ts +3 -0
  121. package/build/components/separator/component.types.d.ts +10 -0
  122. package/build/components/separator/index.d.ts +2 -0
  123. package/build/components/stack/component.d.ts +4 -0
  124. package/build/components/stack/component.types.d.ts +20 -0
  125. package/build/components/stack/index.d.ts +2 -0
  126. package/build/components/textarea/component.d.ts +2 -0
  127. package/build/components/textarea/component.types.d.ts +67 -0
  128. package/build/components/textarea/index.d.ts +2 -0
  129. package/build/components/toggle/component.d.ts +2 -0
  130. package/build/components/toggle/component.types.d.ts +25 -0
  131. package/build/components/toggle/index.d.ts +2 -0
  132. package/build/components/tooltip/component.constants.d.ts +3 -0
  133. package/build/components/tooltip/component.d.ts +4 -0
  134. package/build/components/tooltip/component.types.d.ts +12 -0
  135. package/build/components/tooltip/index.d.ts +2 -0
  136. package/build/components/typography/component.d.ts +3 -0
  137. package/build/components/typography/component.types.d.ts +18 -0
  138. package/build/components/typography/index.d.ts +2 -0
  139. package/build/components-error.cjs.js +1 -0
  140. package/build/components-error.d.ts +2 -0
  141. package/build/components-error.es.js +4 -0
  142. package/build/context-app-CMK9g6MI.js +417 -0
  143. package/build/context-app-CMK9g6MI.js.map +1 -0
  144. package/build/context-app-HhFcx1wY.cjs +9 -0
  145. package/build/context-app-HhFcx1wY.cjs.map +1 -0
  146. package/build/context-app.cjs.js +1 -2
  147. package/build/context-app.d.ts +2 -224
  148. package/build/context-app.es.js +3 -19
  149. package/build/context-browser-theme-Cb6siWO0.js +35 -0
  150. package/build/context-browser-theme-Cb6siWO0.js.map +1 -0
  151. package/build/context-browser-theme-Cso_rAT5.cjs +3 -0
  152. package/build/context-browser-theme-Cso_rAT5.cjs.map +1 -0
  153. package/build/context-browser-theme.cjs.js +1 -0
  154. package/build/context-browser-theme.d.ts +2 -0
  155. package/build/context-browser-theme.es.js +5 -0
  156. package/build/context-cookie-5CBhf-gb.js +138 -0
  157. package/build/context-cookie-5CBhf-gb.js.map +1 -0
  158. package/build/context-cookie-Btkd2aXy.cjs +3 -0
  159. package/build/context-cookie-Btkd2aXy.cjs.map +1 -0
  160. package/build/context-cookie.cjs.js +1 -2
  161. package/build/context-cookie.d.ts +2 -67
  162. package/build/context-cookie.es.js +3 -8
  163. package/build/context-dialog-B67-_jMH.cjs +3 -0
  164. package/build/context-dialog-B67-_jMH.cjs.map +1 -0
  165. package/build/context-dialog-CxGGmBqC.js +176 -0
  166. package/build/context-dialog-CxGGmBqC.js.map +1 -0
  167. package/build/context-dialog.cjs.js +1 -2
  168. package/build/context-dialog.d.ts +2 -106
  169. package/build/context-dialog.es.js +4 -17
  170. package/build/context-geolocation-C7PYGQ2g.js +42 -0
  171. package/build/context-geolocation-C7PYGQ2g.js.map +1 -0
  172. package/build/context-geolocation-CV4hV0NX.cjs +3 -0
  173. package/build/context-geolocation-CV4hV0NX.cjs.map +1 -0
  174. package/build/context-geolocation.cjs.js +1 -2
  175. package/build/context-geolocation.d.ts +2 -22
  176. package/build/context-geolocation.es.js +3 -6
  177. package/build/context-local-storage-Bb_vktd8.js +83 -0
  178. package/build/context-local-storage-Bb_vktd8.js.map +1 -0
  179. package/build/context-local-storage-DUKHVPAA.cjs +3 -0
  180. package/build/context-local-storage-DUKHVPAA.cjs.map +1 -0
  181. package/build/context-local-storage.cjs.js +1 -2
  182. package/build/context-local-storage.d.ts +2 -54
  183. package/build/context-local-storage.es.js +3 -8
  184. package/build/context-permission-Co4BKDOu.js +77 -0
  185. package/build/context-permission-Co4BKDOu.js.map +1 -0
  186. package/build/context-permission-DrcIwK9y.cjs +3 -0
  187. package/build/context-permission-DrcIwK9y.cjs.map +1 -0
  188. package/build/context-permission.cjs.js +1 -2
  189. package/build/context-permission.d.ts +2 -28
  190. package/build/context-permission.es.js +3 -7
  191. package/build/context-screen-width-CFexCIzV.js +53 -0
  192. package/build/context-screen-width-CFexCIzV.js.map +1 -0
  193. package/build/context-screen-width-hcRkxzy7.cjs +3 -0
  194. package/build/context-screen-width-hcRkxzy7.cjs.map +1 -0
  195. package/build/context-screen-width.cjs.js +1 -2
  196. package/build/context-screen-width.d.ts +2 -34
  197. package/build/context-screen-width.es.js +3 -5
  198. package/build/context-sonner-4gBa1F7G.cjs +3 -0
  199. package/build/context-sonner-4gBa1F7G.cjs.map +1 -0
  200. package/build/context-sonner-qDPLFpD5.js +218 -0
  201. package/build/context-sonner-qDPLFpD5.js.map +1 -0
  202. package/build/context-sonner.cjs.js +1 -2
  203. package/build/context-sonner.d.ts +2 -457
  204. package/build/context-sonner.es.js +3 -20
  205. package/build/contexts/context-app/context.d.ts +33 -0
  206. package/build/contexts/context-app/context.hooks.d.ts +2 -0
  207. package/build/contexts/context-app/context.styles.d.ts +14 -0
  208. package/build/contexts/context-app/context.types.d.ts +87 -0
  209. package/build/contexts/context-app/index.d.ts +2 -0
  210. package/build/contexts/context-browser-theme/context.d.ts +4 -0
  211. package/build/contexts/context-browser-theme/context.hooks.d.ts +2 -0
  212. package/build/contexts/context-browser-theme/context.types.d.ts +12 -0
  213. package/build/contexts/context-browser-theme/index.d.ts +2 -0
  214. package/build/contexts/context-cookie/context.d.ts +27 -0
  215. package/build/contexts/context-cookie/context.functions.d.ts +3 -0
  216. package/build/contexts/context-cookie/context.hooks.d.ts +9 -0
  217. package/build/contexts/context-cookie/context.types.d.ts +18 -0
  218. package/build/contexts/context-cookie/index.d.ts +3 -0
  219. package/build/contexts/context-dialog/context.constants.d.ts +8 -0
  220. package/build/contexts/context-dialog/context.d.ts +4 -0
  221. package/build/contexts/context-dialog/context.hooks.d.ts +3 -0
  222. package/build/contexts/context-dialog/context.styles.d.ts +9 -0
  223. package/build/contexts/context-dialog/context.types.d.ts +47 -0
  224. package/build/contexts/context-dialog/index.d.ts +3 -0
  225. package/build/contexts/context-geolocation/context.d.ts +4 -0
  226. package/build/contexts/context-geolocation/context.hooks.d.ts +2 -0
  227. package/build/contexts/context-geolocation/context.types.d.ts +10 -0
  228. package/build/contexts/context-geolocation/index.d.ts +2 -0
  229. package/build/contexts/context-local-storage/context.d.ts +21 -0
  230. package/build/contexts/context-local-storage/context.functions.d.ts +2 -0
  231. package/build/contexts/context-local-storage/context.hooks.d.ts +5 -0
  232. package/build/contexts/context-local-storage/context.types.d.ts +16 -0
  233. package/build/contexts/context-local-storage/index.d.ts +3 -0
  234. package/build/contexts/context-permission/context.d.ts +3 -0
  235. package/build/contexts/context-permission/context.functions.d.ts +1 -0
  236. package/build/contexts/context-permission/context.hooks.d.ts +5 -0
  237. package/build/contexts/context-permission/context.types.d.ts +11 -0
  238. package/build/contexts/context-permission/index.d.ts +2 -0
  239. package/build/contexts/context-screen-width/context.d.ts +4 -0
  240. package/build/contexts/context-screen-width/context.hooks.d.ts +2 -0
  241. package/build/contexts/context-screen-width/context.types.d.ts +11 -0
  242. package/build/contexts/context-screen-width/index.d.ts +3 -0
  243. package/build/contexts/context-sonner/context.constants.d.ts +9 -0
  244. package/build/contexts/context-sonner/context.d.ts +4 -0
  245. package/build/contexts/context-sonner/context.hooks.d.ts +2 -0
  246. package/build/contexts/context-sonner/context.styles.d.ts +30 -0
  247. package/build/contexts/context-sonner/context.types.d.ts +59 -0
  248. package/build/contexts/context-sonner/index.d.ts +3 -0
  249. package/build/cores/consts.d.ts +30 -0
  250. package/build/{functions.d.ts → cores/functions.d.ts} +18 -22
  251. package/build/cores/logger.d.ts +1 -0
  252. package/build/cores/types.d.ts +18 -0
  253. package/build/date-picker-CPNNIEa-.cjs +3 -0
  254. package/build/date-picker-CPNNIEa-.cjs.map +1 -0
  255. package/build/date-picker-Uuce_InW.js +689 -0
  256. package/build/date-picker-Uuce_InW.js.map +1 -0
  257. package/build/dist-BV0C3tLK.js +483 -0
  258. package/build/dist-BV0C3tLK.js.map +1 -0
  259. package/build/dist-DswBAjW1.cjs +3 -0
  260. package/build/dist-DswBAjW1.cjs.map +1 -0
  261. package/build/error-DzkkNL2H.cjs +3 -0
  262. package/build/error-DzkkNL2H.cjs.map +1 -0
  263. package/build/error-L2fvWcNv.js +50 -0
  264. package/build/error-L2fvWcNv.js.map +1 -0
  265. package/build/functions-CLGf7hqw.js +20 -0
  266. package/build/functions-CLGf7hqw.js.map +1 -0
  267. package/build/functions-Dwo54amB.cjs +3 -0
  268. package/build/functions-Dwo54amB.cjs.map +1 -0
  269. package/build/hooks/use-debounced-callback/index.d.ts +1 -0
  270. package/build/hooks/use-debounced-callback/use.d.ts +1 -0
  271. package/build/hooks/use-deep-compare-memoize/index.d.ts +1 -0
  272. package/build/hooks/use-deep-compare-memoize/use.d.ts +1 -0
  273. package/build/hooks/use-deep-memo/index.d.ts +1 -0
  274. package/build/hooks/use-deep-memo/use.d.ts +1 -0
  275. package/build/hooks/use-merge-refs/index.d.ts +1 -0
  276. package/build/hooks/use-merge-refs/use.d.ts +2 -0
  277. package/build/hooks/use-overflowing/index.d.ts +2 -0
  278. package/build/hooks/use-overflowing/use.d.ts +12 -0
  279. package/build/hooks/use-overflowing/use.types.d.ts +6 -0
  280. package/build/hooks/use-overflowing-advanced/index.d.ts +2 -0
  281. package/build/hooks/use-overflowing-advanced/use.d.ts +7 -0
  282. package/build/hooks/use-overflowing-advanced/use.types.d.ts +5 -0
  283. package/build/hooks/use-overflowing-in-container/index.d.ts +2 -0
  284. package/build/hooks/use-overflowing-in-container/use.d.ts +7 -0
  285. package/build/hooks/use-overflowing-in-container/use.types.d.ts +7 -0
  286. package/build/hooks/use-responsive-layout/index.d.ts +1 -0
  287. package/build/hooks/use-responsive-layout/use.d.ts +2 -0
  288. package/build/hooks/use-typography-styles/index.d.ts +2 -0
  289. package/build/hooks/use-typography-styles/use.d.ts +2 -0
  290. package/build/hooks/use-typography-styles/use.types.d.ts +11 -0
  291. package/build/hooks-use-debounced-callback.cjs.js +3 -2
  292. package/build/hooks-use-debounced-callback.cjs.js.map +1 -1
  293. package/build/hooks-use-debounced-callback.d.ts +2 -3
  294. package/build/hooks-use-debounced-callback.es.js +12 -3
  295. package/build/hooks-use-debounced-callback.es.js.map +1 -1
  296. package/build/hooks-use-deep-compare-memoize.cjs.js +3 -2
  297. package/build/hooks-use-deep-compare-memoize.cjs.js.map +1 -1
  298. package/build/hooks-use-deep-compare-memoize.d.ts +2 -3
  299. package/build/hooks-use-deep-compare-memoize.es.js +10 -3
  300. package/build/hooks-use-deep-compare-memoize.es.js.map +1 -1
  301. package/build/hooks-use-deep-memo.cjs.js +3 -0
  302. package/build/hooks-use-deep-memo.cjs.js.map +1 -0
  303. package/build/hooks-use-deep-memo.d.ts +2 -0
  304. package/build/hooks-use-deep-memo.es.js +13 -0
  305. package/build/hooks-use-deep-memo.es.js.map +1 -0
  306. package/build/hooks-use-merge-refs.cjs.js +3 -0
  307. package/build/hooks-use-merge-refs.cjs.js.map +1 -0
  308. package/build/hooks-use-merge-refs.d.ts +2 -0
  309. package/build/hooks-use-merge-refs.es.js +13 -0
  310. package/build/hooks-use-merge-refs.es.js.map +1 -0
  311. package/build/hooks-use-overflowing-advanced.cjs.js +3 -0
  312. package/build/hooks-use-overflowing-advanced.cjs.js.map +1 -0
  313. package/build/hooks-use-overflowing-advanced.d.ts +2 -0
  314. package/build/hooks-use-overflowing-advanced.es.js +24 -0
  315. package/build/hooks-use-overflowing-advanced.es.js.map +1 -0
  316. package/build/hooks-use-overflowing-in-container.cjs.js +3 -0
  317. package/build/hooks-use-overflowing-in-container.cjs.js.map +1 -0
  318. package/build/hooks-use-overflowing-in-container.d.ts +2 -0
  319. package/build/hooks-use-overflowing-in-container.es.js +20 -0
  320. package/build/hooks-use-overflowing-in-container.es.js.map +1 -0
  321. package/build/hooks-use-overflowing.cjs.js +3 -0
  322. package/build/hooks-use-overflowing.cjs.js.map +1 -0
  323. package/build/hooks-use-overflowing.d.ts +2 -0
  324. package/build/hooks-use-overflowing.es.js +28 -0
  325. package/build/hooks-use-overflowing.es.js.map +1 -0
  326. package/build/hooks-use-responsive-layout.cjs.js +3 -0
  327. package/build/hooks-use-responsive-layout.cjs.js.map +1 -0
  328. package/build/hooks-use-responsive-layout.d.ts +2 -0
  329. package/build/hooks-use-responsive-layout.es.js +22 -0
  330. package/build/hooks-use-responsive-layout.es.js.map +1 -0
  331. package/build/hooks-use-typography-styles.cjs.js +3 -0
  332. package/build/hooks-use-typography-styles.cjs.js.map +1 -0
  333. package/build/hooks-use-typography-styles.d.ts +2 -0
  334. package/build/hooks-use-typography-styles.es.js +37 -0
  335. package/build/hooks-use-typography-styles.es.js.map +1 -0
  336. package/build/icon-CoIQwke4.cjs +3 -0
  337. package/build/icon-CoIQwke4.cjs.map +1 -0
  338. package/build/icon-DzAWOQJg.js +277 -0
  339. package/build/icon-DzAWOQJg.js.map +1 -0
  340. package/build/index.cjs.js +1 -2
  341. package/build/index.d.ts +39 -2494
  342. package/build/index.es.js +104 -309
  343. package/build/input-CV02F03L.js +917 -0
  344. package/build/input-CV02F03L.js.map +1 -0
  345. package/build/input-otp-B9cYxJ7X.js +106 -0
  346. package/build/input-otp-B9cYxJ7X.js.map +1 -0
  347. package/build/input-otp-BVRCfoRK.cjs +3 -0
  348. package/build/input-otp-BVRCfoRK.cjs.map +1 -0
  349. package/build/input-zXF5f99Z.cjs +11 -0
  350. package/build/input-zXF5f99Z.cjs.map +1 -0
  351. package/build/isEqual-DeC2HFe5.cjs +3 -0
  352. package/build/isEqual-DeC2HFe5.cjs.map +1 -0
  353. package/build/isEqual-Qb81B2zH.js +676 -0
  354. package/build/isEqual-Qb81B2zH.js.map +1 -0
  355. package/build/logger-BRWLzI5S.js +174 -0
  356. package/build/logger-BRWLzI5S.js.map +1 -0
  357. package/build/logger-DZFY33QY.cjs +5 -0
  358. package/build/logger-DZFY33QY.cjs.map +1 -0
  359. package/build/motion-CAPq8wSn.cjs +3 -0
  360. package/build/motion-CAPq8wSn.cjs.map +1 -0
  361. package/build/motion-Dt6TyEjN.js +128 -0
  362. package/build/motion-Dt6TyEjN.js.map +1 -0
  363. package/build/outside-B3nRnDGb.cjs +3 -0
  364. package/build/outside-B3nRnDGb.cjs.map +1 -0
  365. package/build/outside-DpK1pI8b.js +24 -0
  366. package/build/outside-DpK1pI8b.js.map +1 -0
  367. package/build/pagination-Dbs4Lrpt.cjs +3 -0
  368. package/build/pagination-Dbs4Lrpt.cjs.map +1 -0
  369. package/build/pagination-YXSjZsMZ.js +110 -0
  370. package/build/pagination-YXSjZsMZ.js.map +1 -0
  371. package/build/popover-1k1MNFwv.js +1948 -0
  372. package/build/popover-1k1MNFwv.js.map +1 -0
  373. package/build/popover-CgwGn-55.cjs +3 -0
  374. package/build/popover-CgwGn-55.cjs.map +1 -0
  375. package/build/preview-C_yFxoFH.js +65 -0
  376. package/build/preview-C_yFxoFH.js.map +1 -0
  377. package/build/preview-dT7fmxcc.cjs +3 -0
  378. package/build/preview-dT7fmxcc.cjs.map +1 -0
  379. package/build/proxy-_gZenxVU.cjs +3 -0
  380. package/build/proxy-_gZenxVU.cjs.map +1 -0
  381. package/build/proxy-wCWa57J3.js +4354 -0
  382. package/build/proxy-wCWa57J3.js.map +1 -0
  383. package/build/select-B0adRX2_.cjs +9 -0
  384. package/build/select-B0adRX2_.cjs.map +1 -0
  385. package/build/select-D7EyxR2l.js +3443 -0
  386. package/build/select-D7EyxR2l.js.map +1 -0
  387. package/build/separator-CbeH8Lug.cjs +3 -0
  388. package/build/separator-CbeH8Lug.cjs.map +1 -0
  389. package/build/separator-hWp-s54-.js +29 -0
  390. package/build/separator-hWp-s54-.js.map +1 -0
  391. package/build/skeleton-BoVFwt7y.cjs +3 -0
  392. package/build/skeleton-BoVFwt7y.cjs.map +1 -0
  393. package/build/skeleton-DNwTI6w0.js +39 -0
  394. package/build/skeleton-DNwTI6w0.js.map +1 -0
  395. package/build/style-motion.cjs.js +1 -2
  396. package/build/style-motion.d.ts +2 -20
  397. package/build/style-motion.es.js +5 -6
  398. package/build/style-utils.cjs.js +1 -0
  399. package/build/style-utils.d.ts +2 -0
  400. package/build/style-utils.es.js +7 -0
  401. package/build/styles/motion/index.d.ts +1 -0
  402. package/build/styles/motion/motion.d.ts +13 -0
  403. package/build/styles/utils/constants.d.ts +1797 -0
  404. package/build/styles/utils/functions.d.ts +3 -0
  405. package/build/styles/utils/index.d.ts +3 -0
  406. package/build/styles/utils/types.d.ts +68 -0
  407. package/build/textarea-CbZSeqGR.cjs +3 -0
  408. package/build/textarea-CbZSeqGR.cjs.map +1 -0
  409. package/build/textarea-ChkjV_Ha.js +132 -0
  410. package/build/textarea-ChkjV_Ha.js.map +1 -0
  411. package/build/toggle-I6YvEX4w.js +86 -0
  412. package/build/toggle-I6YvEX4w.js.map +1 -0
  413. package/build/toggle-gYw5FUp-.cjs +3 -0
  414. package/build/toggle-gYw5FUp-.cjs.map +1 -0
  415. package/build/typography-B2KioMfq.js +116 -0
  416. package/build/typography-B2KioMfq.js.map +1 -0
  417. package/build/typography-DcxhX_9e.cjs +3 -0
  418. package/build/typography-DcxhX_9e.cjs.map +1 -0
  419. package/build/utils-Cona48dZ.js +925 -0
  420. package/build/utils-Cona48dZ.js.map +1 -0
  421. package/build/utils-DtinAjAU.cjs +3 -0
  422. package/build/utils-DtinAjAU.cjs.map +1 -0
  423. package/build/v4-BDi_Luux.cjs +3 -0
  424. package/build/v4-BDi_Luux.cjs.map +1 -0
  425. package/build/v4-CYaPyb-W.js +31 -0
  426. package/build/v4-CYaPyb-W.js.map +1 -0
  427. package/package.json +185 -194
  428. package/build/area-0BNtBqG8.cjs +0 -2
  429. package/build/area-0BNtBqG8.cjs.map +0 -1
  430. package/build/area-B6xxVQ87.js +0 -35
  431. package/build/area-B6xxVQ87.js.map +0 -1
  432. package/build/area-B7-4IFQB.js +0 -19
  433. package/build/area-B7-4IFQB.js.map +0 -1
  434. package/build/area-DxKLtDFZ.cjs +0 -2
  435. package/build/area-DxKLtDFZ.cjs.map +0 -1
  436. package/build/area-outside.cjs.js.map +0 -1
  437. package/build/area-outside.es.js.map +0 -1
  438. package/build/area-preview.cjs.js.map +0 -1
  439. package/build/area-preview.es.js.map +0 -1
  440. package/build/area-scroll.cjs.js +0 -2
  441. package/build/area-scroll.cjs.js.map +0 -1
  442. package/build/area-scroll.d.ts +0 -57
  443. package/build/area-scroll.es.js +0 -7
  444. package/build/area-scroll.es.js.map +0 -1
  445. package/build/area-skeleton.cjs.js.map +0 -1
  446. package/build/area-skeleton.es.js.map +0 -1
  447. package/build/area-smooth.cjs.js +0 -2
  448. package/build/area-smooth.cjs.js.map +0 -1
  449. package/build/area-smooth.d.ts +0 -37
  450. package/build/area-smooth.es.js +0 -5
  451. package/build/area-smooth.es.js.map +0 -1
  452. package/build/area.hooks-Bk04M7mk.js +0 -26
  453. package/build/area.hooks-Bk04M7mk.js.map +0 -1
  454. package/build/area.hooks-C_UKZzcb.cjs +0 -2
  455. package/build/area.hooks-C_UKZzcb.cjs.map +0 -1
  456. package/build/area.styles-Cpx4H0gc.cjs +0 -27
  457. package/build/area.styles-Cpx4H0gc.cjs.map +0 -1
  458. package/build/area.styles-DhCCEhuq.js +0 -32
  459. package/build/area.styles-DhCCEhuq.js.map +0 -1
  460. package/build/component-B72M2Tpw.js +0 -84
  461. package/build/component-B72M2Tpw.js.map +0 -1
  462. package/build/component-BIxOOifU.cjs +0 -2
  463. package/build/component-BIxOOifU.cjs.map +0 -1
  464. package/build/component-BMIqhbpK.js +0 -23
  465. package/build/component-BMIqhbpK.js.map +0 -1
  466. package/build/component-BQru5uoj.js +0 -10
  467. package/build/component-BQru5uoj.js.map +0 -1
  468. package/build/component-BRCDQbb-.js +0 -50
  469. package/build/component-BRCDQbb-.js.map +0 -1
  470. package/build/component-BUkf5TLO.js +0 -170
  471. package/build/component-BUkf5TLO.js.map +0 -1
  472. package/build/component-BmccRQ_Y.cjs +0 -2
  473. package/build/component-BmccRQ_Y.cjs.map +0 -1
  474. package/build/component-Bvq-fgCN.cjs +0 -2
  475. package/build/component-Bvq-fgCN.cjs.map +0 -1
  476. package/build/component-C448kBTA.js +0 -443
  477. package/build/component-C448kBTA.js.map +0 -1
  478. package/build/component-C6I01Mel.cjs +0 -2
  479. package/build/component-C6I01Mel.cjs.map +0 -1
  480. package/build/component-C8mTuBua.js +0 -74
  481. package/build/component-C8mTuBua.js.map +0 -1
  482. package/build/component-CVWsmIlg.cjs +0 -2
  483. package/build/component-CVWsmIlg.cjs.map +0 -1
  484. package/build/component-C_6x7Mk8.js +0 -88
  485. package/build/component-C_6x7Mk8.js.map +0 -1
  486. package/build/component-CbWtsuhz.js +0 -60
  487. package/build/component-CbWtsuhz.js.map +0 -1
  488. package/build/component-Cfs39n8Q.js +0 -21
  489. package/build/component-Cfs39n8Q.js.map +0 -1
  490. package/build/component-CoOTSdM5.cjs +0 -28
  491. package/build/component-CoOTSdM5.cjs.map +0 -1
  492. package/build/component-Cu2i_-RT.cjs +0 -2
  493. package/build/component-Cu2i_-RT.cjs.map +0 -1
  494. package/build/component-CyZbUCkT.js +0 -39
  495. package/build/component-CyZbUCkT.js.map +0 -1
  496. package/build/component-D-HMYzXU.js +0 -65
  497. package/build/component-D-HMYzXU.js.map +0 -1
  498. package/build/component-D2vDwS60.cjs +0 -2
  499. package/build/component-D2vDwS60.cjs.map +0 -1
  500. package/build/component-D3KCIC-G.js +0 -64
  501. package/build/component-D3KCIC-G.js.map +0 -1
  502. package/build/component-DJAq34yj.cjs +0 -2
  503. package/build/component-DJAq34yj.cjs.map +0 -1
  504. package/build/component-DRMRXUJA.cjs +0 -2
  505. package/build/component-DRMRXUJA.cjs.map +0 -1
  506. package/build/component-DfSTPgfj.js +0 -248
  507. package/build/component-DfSTPgfj.js.map +0 -1
  508. package/build/component-DqV_-YxZ.cjs +0 -2
  509. package/build/component-DqV_-YxZ.cjs.map +0 -1
  510. package/build/component-DrmSI_ni.cjs +0 -2
  511. package/build/component-DrmSI_ni.cjs.map +0 -1
  512. package/build/component-Qxjnm7yi.cjs +0 -2
  513. package/build/component-Qxjnm7yi.cjs.map +0 -1
  514. package/build/component-WmDPzhcW.cjs +0 -2
  515. package/build/component-WmDPzhcW.cjs.map +0 -1
  516. package/build/component-accordion.cjs.js +0 -2
  517. package/build/component-accordion.cjs.js.map +0 -1
  518. package/build/component-accordion.d.ts +0 -100
  519. package/build/component-accordion.es.js +0 -11
  520. package/build/component-accordion.es.js.map +0 -1
  521. package/build/component-button-group.cjs.js +0 -2
  522. package/build/component-button-group.cjs.js.map +0 -1
  523. package/build/component-button-group.d.ts +0 -195
  524. package/build/component-button-group.es.js +0 -7
  525. package/build/component-button-group.es.js.map +0 -1
  526. package/build/component-button.cjs.js.map +0 -1
  527. package/build/component-button.es.js.map +0 -1
  528. package/build/component-checkbox-group.cjs.js +0 -2
  529. package/build/component-checkbox-group.cjs.js.map +0 -1
  530. package/build/component-checkbox-group.d.ts +0 -224
  531. package/build/component-checkbox-group.es.js +0 -12
  532. package/build/component-checkbox-group.es.js.map +0 -1
  533. package/build/component-checkbox.cjs.js.map +0 -1
  534. package/build/component-checkbox.es.js.map +0 -1
  535. package/build/component-date-picker.cjs.js.map +0 -1
  536. package/build/component-date-picker.es.js.map +0 -1
  537. package/build/component-gcvwlILJ.js +0 -76
  538. package/build/component-gcvwlILJ.js.map +0 -1
  539. package/build/component-icon.cjs.js.map +0 -1
  540. package/build/component-icon.es.js.map +0 -1
  541. package/build/component-image-button.cjs.js +0 -2
  542. package/build/component-image-button.cjs.js.map +0 -1
  543. package/build/component-image-button.d.ts +0 -215
  544. package/build/component-image-button.es.js +0 -5
  545. package/build/component-image-button.es.js.map +0 -1
  546. package/build/component-image-select.cjs.js +0 -2
  547. package/build/component-image-select.cjs.js.map +0 -1
  548. package/build/component-image-select.d.ts +0 -313
  549. package/build/component-image-select.es.js +0 -12
  550. package/build/component-image-select.es.js.map +0 -1
  551. package/build/component-image-slider.cjs.js +0 -2
  552. package/build/component-image-slider.cjs.js.map +0 -1
  553. package/build/component-image-slider.d.ts +0 -108
  554. package/build/component-image-slider.es.js +0 -9
  555. package/build/component-image-slider.es.js.map +0 -1
  556. package/build/component-image.cjs.js +0 -2
  557. package/build/component-image.cjs.js.map +0 -1
  558. package/build/component-image.d.ts +0 -51
  559. package/build/component-image.es.js +0 -7
  560. package/build/component-image.es.js.map +0 -1
  561. package/build/component-input-otp.cjs.js.map +0 -1
  562. package/build/component-input-otp.es.js.map +0 -1
  563. package/build/component-input.cjs.js.map +0 -1
  564. package/build/component-input.es.js.map +0 -1
  565. package/build/component-mFXKTq1K.cjs +0 -2
  566. package/build/component-mFXKTq1K.cjs.map +0 -1
  567. package/build/component-pagination.cjs.js.map +0 -1
  568. package/build/component-pagination.es.js.map +0 -1
  569. package/build/component-range.cjs.js +0 -2
  570. package/build/component-range.cjs.js.map +0 -1
  571. package/build/component-range.d.ts +0 -212
  572. package/build/component-range.es.js +0 -9
  573. package/build/component-range.es.js.map +0 -1
  574. package/build/component-ripple.cjs.js +0 -2
  575. package/build/component-ripple.cjs.js.map +0 -1
  576. package/build/component-ripple.d.ts +0 -47
  577. package/build/component-ripple.es.js +0 -12
  578. package/build/component-ripple.es.js.map +0 -1
  579. package/build/component-select.cjs.js.map +0 -1
  580. package/build/component-select.es.js.map +0 -1
  581. package/build/component-separator.cjs.js.map +0 -1
  582. package/build/component-separator.es.js.map +0 -1
  583. package/build/component-stack.cjs.js.map +0 -1
  584. package/build/component-stack.es.js.map +0 -1
  585. package/build/component-textarea.cjs.js.map +0 -1
  586. package/build/component-textarea.es.js.map +0 -1
  587. package/build/component-toggle.cjs.js.map +0 -1
  588. package/build/component-toggle.es.js.map +0 -1
  589. package/build/component-tooltip.cjs.js.map +0 -1
  590. package/build/component-tooltip.es.js.map +0 -1
  591. package/build/component-typography.cjs.js.map +0 -1
  592. package/build/component-typography.es.js.map +0 -1
  593. package/build/component.constants-BQOzGr0l.js +0 -757
  594. package/build/component.constants-BQOzGr0l.js.map +0 -1
  595. package/build/component.constants-CFLrPu5_.cjs +0 -2
  596. package/build/component.constants-CFLrPu5_.cjs.map +0 -1
  597. package/build/component.constants-DI22AYyi.js +0 -142
  598. package/build/component.constants-DI22AYyi.js.map +0 -1
  599. package/build/component.constants-DnHO8qFb.cjs +0 -2
  600. package/build/component.constants-DnHO8qFb.cjs.map +0 -1
  601. package/build/component.functions-D9ffjEok.cjs +0 -8
  602. package/build/component.functions-D9ffjEok.cjs.map +0 -1
  603. package/build/component.functions-DNW6h8kk.js +0 -12
  604. package/build/component.functions-DNW6h8kk.js.map +0 -1
  605. package/build/component.styles-BX2Aiqp_.cjs +0 -43
  606. package/build/component.styles-BX2Aiqp_.cjs.map +0 -1
  607. package/build/component.styles-C0oU5oX_.js +0 -59
  608. package/build/component.styles-C0oU5oX_.js.map +0 -1
  609. package/build/component.styles-CD6ZzRrk.cjs +0 -14
  610. package/build/component.styles-CD6ZzRrk.cjs.map +0 -1
  611. package/build/component.styles-SZ5VuhNG.js +0 -20
  612. package/build/component.styles-SZ5VuhNG.js.map +0 -1
  613. package/build/component.types-6hyRS9ZB.cjs +0 -2
  614. package/build/component.types-6hyRS9ZB.cjs.map +0 -1
  615. package/build/component.types-e2YpVj0l.js +0 -907
  616. package/build/component.types-e2YpVj0l.js.map +0 -1
  617. package/build/consts.cjs.js +0 -2
  618. package/build/consts.cjs.js.map +0 -1
  619. package/build/consts.d.ts +0 -77
  620. package/build/consts.es.js +0 -151
  621. package/build/consts.es.js.map +0 -1
  622. package/build/context-BK9a46O1.cjs +0 -4
  623. package/build/context-BK9a46O1.cjs.map +0 -1
  624. package/build/context-CPZf131N.cjs +0 -2
  625. package/build/context-CPZf131N.cjs.map +0 -1
  626. package/build/context-Cr80KOpF.js +0 -122
  627. package/build/context-Cr80KOpF.js.map +0 -1
  628. package/build/context-DssNKJ_n.cjs +0 -2
  629. package/build/context-DssNKJ_n.cjs.map +0 -1
  630. package/build/context-PFdUnKga.js +0 -44
  631. package/build/context-PFdUnKga.js.map +0 -1
  632. package/build/context-app.cjs.js.map +0 -1
  633. package/build/context-app.es.js.map +0 -1
  634. package/build/context-cookie.cjs.js.map +0 -1
  635. package/build/context-cookie.es.js.map +0 -1
  636. package/build/context-dialog.cjs.js.map +0 -1
  637. package/build/context-dialog.es.js.map +0 -1
  638. package/build/context-geolocation.cjs.js.map +0 -1
  639. package/build/context-geolocation.es.js.map +0 -1
  640. package/build/context-local-storage.cjs.js.map +0 -1
  641. package/build/context-local-storage.es.js.map +0 -1
  642. package/build/context-permission.cjs.js.map +0 -1
  643. package/build/context-permission.es.js.map +0 -1
  644. package/build/context-screen-width.cjs.js.map +0 -1
  645. package/build/context-screen-width.es.js.map +0 -1
  646. package/build/context-sonner.cjs.js.map +0 -1
  647. package/build/context-sonner.es.js.map +0 -1
  648. package/build/context-w9weDPCZ.js +0 -200
  649. package/build/context-w9weDPCZ.js.map +0 -1
  650. package/build/context.constants-B14bB8O1.js +0 -254
  651. package/build/context.constants-B14bB8O1.js.map +0 -1
  652. package/build/context.constants-BA1u2p1r.cjs +0 -32
  653. package/build/context.constants-BA1u2p1r.cjs.map +0 -1
  654. package/build/context.constants-BWLe7YHv.js +0 -12598
  655. package/build/context.constants-BWLe7YHv.js.map +0 -1
  656. package/build/context.constants-baqYH-_k.cjs +0 -1742
  657. package/build/context.constants-baqYH-_k.cjs.map +0 -1
  658. package/build/context.functions--v7FClEV.cjs +0 -2
  659. package/build/context.functions--v7FClEV.cjs.map +0 -1
  660. package/build/context.functions-B8FDl7nJ.js +0 -14
  661. package/build/context.functions-B8FDl7nJ.js.map +0 -1
  662. package/build/context.functions-CB6--UcR.js +0 -35
  663. package/build/context.functions-CB6--UcR.js.map +0 -1
  664. package/build/context.functions-CHaPcuVS.cjs +0 -2
  665. package/build/context.functions-CHaPcuVS.cjs.map +0 -1
  666. package/build/context.functions-CPP8X6so.js +0 -35
  667. package/build/context.functions-CPP8X6so.js.map +0 -1
  668. package/build/context.functions-ar41xFVo.cjs +0 -2
  669. package/build/context.functions-ar41xFVo.cjs.map +0 -1
  670. package/build/context.hooks-B-YcyJ5E.cjs +0 -2
  671. package/build/context.hooks-B-YcyJ5E.cjs.map +0 -1
  672. package/build/context.hooks-B9dsW2kz.js +0 -117
  673. package/build/context.hooks-B9dsW2kz.js.map +0 -1
  674. package/build/context.hooks-Bi7spFak.cjs +0 -2
  675. package/build/context.hooks-Bi7spFak.cjs.map +0 -1
  676. package/build/context.hooks-BnHnPV_i.js +0 -49
  677. package/build/context.hooks-BnHnPV_i.js.map +0 -1
  678. package/build/context.hooks-CDnjxy35.cjs +0 -2
  679. package/build/context.hooks-CDnjxy35.cjs.map +0 -1
  680. package/build/context.hooks-DDD8ffJI.cjs +0 -2
  681. package/build/context.hooks-DDD8ffJI.cjs.map +0 -1
  682. package/build/context.hooks-Df0m0Voe.js +0 -13
  683. package/build/context.hooks-Df0m0Voe.js.map +0 -1
  684. package/build/context.hooks-DjafkFMD.cjs +0 -2
  685. package/build/context.hooks-DjafkFMD.cjs.map +0 -1
  686. package/build/context.hooks-DpwnIiRj.cjs +0 -2
  687. package/build/context.hooks-DpwnIiRj.cjs.map +0 -1
  688. package/build/context.hooks-HEeFGka7.js +0 -13
  689. package/build/context.hooks-HEeFGka7.js.map +0 -1
  690. package/build/context.hooks-NDk5ehgk.js +0 -13
  691. package/build/context.hooks-NDk5ehgk.js.map +0 -1
  692. package/build/context.hooks-oclt34zD.js +0 -68
  693. package/build/context.hooks-oclt34zD.js.map +0 -1
  694. package/build/functions.cjs.js +0 -2
  695. package/build/functions.cjs.js.map +0 -1
  696. package/build/functions.es.js +0 -50
  697. package/build/functions.es.js.map +0 -1
  698. package/build/index.cjs.js.map +0 -1
  699. package/build/index.es.js.map +0 -1
  700. package/build/jsx-runtime-C6yv_9g1.cjs +0 -11
  701. package/build/jsx-runtime-C6yv_9g1.cjs.map +0 -1
  702. package/build/jsx-runtime-DZS36FSE.js +0 -316
  703. package/build/jsx-runtime-DZS36FSE.js.map +0 -1
  704. package/build/motion-DrSN18V7.cjs +0 -2
  705. package/build/motion-DrSN18V7.cjs.map +0 -1
  706. package/build/motion-K7hUU4gL.js +0 -85
  707. package/build/motion-K7hUU4gL.js.map +0 -1
  708. package/build/style-BfuEu91g.js +0 -176
  709. package/build/style-BfuEu91g.js.map +0 -1
  710. package/build/style-Drq-Q1Im.cjs +0 -136
  711. package/build/style-Drq-Q1Im.cjs.map +0 -1
  712. package/build/style-add.cjs.js +0 -2
  713. package/build/style-add.cjs.js.map +0 -1
  714. package/build/style-add.d.ts +0 -88
  715. package/build/style-add.es.js +0 -17
  716. package/build/style-add.es.js.map +0 -1
  717. package/build/style-error.cjs.js +0 -2
  718. package/build/style-error.cjs.js.map +0 -1
  719. package/build/style-error.d.ts +0 -99
  720. package/build/style-error.es.js +0 -7
  721. package/build/style-error.es.js.map +0 -1
  722. package/build/style-fRZ6xrVp.cjs +0 -10
  723. package/build/style-fRZ6xrVp.cjs.map +0 -1
  724. package/build/style-motion.cjs.js.map +0 -1
  725. package/build/style-motion.es.js.map +0 -1
  726. package/build/style-plT9Ah7t.js +0 -33
  727. package/build/style-plT9Ah7t.js.map +0 -1
  728. package/build/style-sx.cjs.js +0 -2
  729. package/build/style-sx.cjs.js.map +0 -1
  730. package/build/style-sx.d.ts +0 -33
  731. package/build/style-sx.es.js +0 -5
  732. package/build/style-sx.es.js.map +0 -1
  733. package/build/style-theme.cjs.js +0 -2
  734. package/build/style-theme.cjs.js.map +0 -1
  735. package/build/style-theme.d.ts +0 -293
  736. package/build/style-theme.es.js +0 -16
  737. package/build/style-theme.es.js.map +0 -1
  738. package/build/types.cjs.js +0 -2
  739. package/build/types.cjs.js.map +0 -1
  740. package/build/types.d.ts +0 -27
  741. package/build/types.es.js +0 -2
  742. package/build/types.es.js.map +0 -1
  743. package/build/use-BF8VW4MA.cjs +0 -16
  744. package/build/use-BF8VW4MA.cjs.map +0 -1
  745. package/build/use-Bp8UVw4Y.js +0 -16
  746. package/build/use-Bp8UVw4Y.js.map +0 -1
  747. package/build/use-C7vngeRk.js +0 -882
  748. package/build/use-C7vngeRk.js.map +0 -1
  749. package/build/use-DdGWsOBo.js +0 -1577
  750. package/build/use-DdGWsOBo.js.map +0 -1
  751. package/build/use-IhzeVumv.cjs +0 -2
  752. package/build/use-IhzeVumv.cjs.map +0 -1
  753. package/build/use-zW3LuRc_.cjs +0 -2
  754. package/build/use-zW3LuRc_.cjs.map +0 -1
@@ -0,0 +1,2 @@
1
+ export { ProviderBrowserTheme } from './context';
2
+ export { useIBrowserTheme } from './context.hooks';
@@ -0,0 +1,27 @@
1
+ import { FC } from 'react';
2
+ import { ICookieContext, ICookieProvider } from './context.types';
3
+ /**
4
+ * Context for managing cookies.
5
+ */
6
+ export declare const CookieContext: import('react').Context<ICookieContext | null>;
7
+ /**
8
+ * Provider component for managing cookies.
9
+ *
10
+ * @remarks
11
+ * You should understand which cookies you are changing and whether you have access to them.
12
+ *
13
+ * @remarks
14
+ * The local storage is typed using the `jenesei-kit-react.d.ts` file:
15
+ *
16
+ * ```typescript
17
+ * import '@jenesei-software/jenesei-kit-react'
18
+ *
19
+ * declare module '@jenesei-software/jenesei-kit-react' {
20
+ * export interface IValidCookieObject {
21
+ * access_token: string
22
+ * refresh_token: string
23
+ * }
24
+ * }
25
+ * ```
26
+ */
27
+ export declare const ProviderCookie: FC<ICookieProvider>;
@@ -0,0 +1,3 @@
1
+ import { ICookieAttributes } from './context.types';
2
+ export declare function getFromCookie<T>(key: string): T | null;
3
+ export declare function setToCookie<T>(key: string, value: T, options?: ICookieAttributes): void;
@@ -0,0 +1,9 @@
1
+ import { ICookieContext } from './context.types';
2
+ /**
3
+ * Custom hook to access the CookieContext.
4
+ *
5
+ * @remarks
6
+ * You should understand which cookies you are changing and whether you have access to them.
7
+ *
8
+ */
9
+ export declare const useCookie: () => ICookieContext;
@@ -0,0 +1,18 @@
1
+ import { default as Cookies } from 'node_modules/@types/js-cookie';
2
+ import { PropsWithChildren } from 'react';
3
+ export type ICookieAttributes = Cookies.CookieAttributes;
4
+ export interface ICookieProvider extends PropsWithChildren {
5
+ validate?: {
6
+ validateKeys: (keyof IValidCookieObject)[];
7
+ getValidateCookieValue: <K extends keyof IValidCookieObject>(key: K, value: IValidCookieObject[K]) => value is IValidCookieObject[K];
8
+ };
9
+ }
10
+ export type IValidCookieObject = {};
11
+ export interface ICookieContext {
12
+ getCookie: <K extends keyof IValidCookieObject>(name: K) => IValidCookieObject[K] | undefined;
13
+ setCookie: <K extends keyof IValidCookieObject>(name: K, value: IValidCookieObject[K], options?: ICookieAttributes) => void;
14
+ removeCookieValue: <K extends keyof IValidCookieObject>(name: K, options?: ICookieAttributes) => void;
15
+ removeCookieValues: () => void;
16
+ checkCookie: () => void;
17
+ cookieValues: IValidCookieObject | undefined;
18
+ }
@@ -0,0 +1,3 @@
1
+ export { ProviderCookie } from './context';
2
+ export { useCookie } from './context.hooks';
3
+ export type { IValidCookieObject } from './context.types';
@@ -0,0 +1,8 @@
1
+ import { IThemePalette } from '../../styles/utils';
2
+ export declare const DEFAULT_PROVIDER_DIALOG_DURATION_ELEMENT = 0.3;
3
+ export declare const DEFAULT_PROVIDER_DIALOG_DURATION_LAYOUT = 0.4;
4
+ export declare const DEFAULT_PROVIDER_DIALOG_ELEMENT_MAX_HEIGHT: string;
5
+ export declare const DEFAULT_PROVIDER_DIALOG_ELEMENT_MAX_WIDTH: string;
6
+ export declare const DEFAULT_PROVIDER_DIALOG_ELEMENT_BORDER_RADIUS: string;
7
+ export declare const DEFAULT_PROVIDER_DIALOG_ELEMENT_PADDING: string;
8
+ export declare const DEFAULT_PROVIDER_DIALOG_ELEMENT_BACKGROUND: IThemePalette;
@@ -0,0 +1,4 @@
1
+ import { FC } from 'react';
2
+ import { IDialogContext, IDialogProvider } from './context.types';
3
+ export declare const DialogContext: import('use-context-selector').Context<IDialogContext | null>;
4
+ export declare const ProviderDialog: FC<IDialogProvider>;
@@ -0,0 +1,3 @@
1
+ import { IDialogContext, IDialogItem, IUseDialog, IUseDialogDependencies } from './context.types';
2
+ export declare const useDialogs: (props: IUseDialogDependencies) => IDialogContext;
3
+ export declare const useDialog: <T extends object = Record<string, unknown>>(props?: IUseDialog<T>) => IDialogItem;
@@ -0,0 +1,9 @@
1
+ import { CSSProperties } from 'react';
2
+ import { IDialogElementStyle, IDialogLayoutStyle } from './context.types';
3
+ export declare const DialogClass: {
4
+ readonly layout: "context-dialog__layout";
5
+ readonly element: "context-dialog__element";
6
+ };
7
+ export declare const getDialogLayoutClassName: () => "context-dialog__layout";
8
+ export declare const getDialogLayoutStyle: (props: IDialogLayoutStyle) => CSSProperties;
9
+ export declare const getDialogElementStyle: (props: IDialogElementStyle) => CSSProperties;
@@ -0,0 +1,47 @@
1
+ import { IThemePalette } from '../../styles/utils';
2
+ import { PropsWithChildren, ReactNode } from 'react';
3
+ export type IDialogProvider = PropsWithChildren & {
4
+ zIndex: number;
5
+ };
6
+ export type IDialogContext<T extends object = Record<string, unknown>> = {
7
+ add: (dialog: IDialogContent<T>) => void;
8
+ remove: (id: IDialogContent<T>['id']) => void;
9
+ update: (dialog: IDialogContent<T>) => void;
10
+ dialogHistory: IDialogContent<T>[];
11
+ };
12
+ export type IDialogItem = {
13
+ add: () => void;
14
+ remove: () => void;
15
+ id: string | null;
16
+ };
17
+ export type IDialogContent<T extends object = Record<string, unknown>> = {
18
+ props?: IUseDialog<T>;
19
+ id?: string;
20
+ index?: number;
21
+ onRemove?: () => void;
22
+ };
23
+ export type IUseDialogDependencies = (keyof IDialogContext)[];
24
+ export type IUseDialog<T extends object = Record<string, unknown>> = {
25
+ content?: IDialogContentNode<T>;
26
+ propsDialog?: IDialogDialogProps;
27
+ propsCustom?: T;
28
+ onRemove?: () => void;
29
+ };
30
+ type IDialogDialogProps = {
31
+ maxWidth?: string;
32
+ maxHeight?: string;
33
+ padding?: string;
34
+ borderRadius?: string;
35
+ background?: IThemePalette;
36
+ isRemoveOnOutsideClick?: boolean;
37
+ };
38
+ interface IDialogContentNodeProps<T extends object = Record<string, unknown>> {
39
+ remove?: () => void;
40
+ isAnimating?: boolean;
41
+ propsCustom?: T;
42
+ }
43
+ type IDialogContentNode<T extends object> = (props: IDialogContentNodeProps<T>) => ReactNode;
44
+ export type IDialogElement<T extends object> = IDialogContent<T>;
45
+ export type IDialogLayoutStyle = Pick<IDialogProvider, 'zIndex'>;
46
+ export type IDialogElementStyle<T extends object = Record<string, unknown>> = Pick<IUseDialog<T>, 'propsDialog'>;
47
+ export {};
@@ -0,0 +1,3 @@
1
+ export { ProviderDialog } from './context';
2
+ export { useDialog, useDialogs } from './context.hooks';
3
+ export type { IDialogProvider, IUseDialog } from './context.types';
@@ -0,0 +1,4 @@
1
+ import { FC } from 'react';
2
+ import { IGeolocationContext, IGeolocationProvider } from './context.types';
3
+ export declare const GeolocationContext: import('react').Context<IGeolocationContext | null>;
4
+ export declare const ProviderGeolocation: FC<IGeolocationProvider>;
@@ -0,0 +1,2 @@
1
+ import { IGeolocationContext } from './context.types';
2
+ export declare const useGeolocation: () => IGeolocationContext;
@@ -0,0 +1,10 @@
1
+ import { PropsWithChildren } from 'react';
2
+ export type IGeolocationProvider = PropsWithChildren & {
3
+ isAskEntrance?: boolean;
4
+ };
5
+ export interface IGeolocationContext {
6
+ geolocationPermission: PermissionState | null;
7
+ requestGeolocationPermission: () => void;
8
+ location: GeolocationPosition | null;
9
+ error: GeolocationPositionError | null;
10
+ }
@@ -0,0 +1,2 @@
1
+ export { ProviderGeolocation } from './context';
2
+ export { useGeolocation } from './context.hooks';
@@ -0,0 +1,21 @@
1
+ import { FC } from 'react';
2
+ import { ILocalStorageContext, ILocalStorageProvider } from './context.types';
3
+ export declare const LocalStorageContext: import('react').Context<ILocalStorageContext | null>;
4
+ /**
5
+ * Provider component for managing local storage.
6
+ *
7
+ * @remarks
8
+ * The local storage is typed using the `jenesei-kit-react.d.ts` file:
9
+ *
10
+ * ```typescript
11
+ * import '@jenesei-software/jenesei-kit-react'
12
+ *
13
+ * declare module '@jenesei-software/jenesei-kit-react' {
14
+ * export interface IValidLocalStorageObject {
15
+ * access_token: string
16
+ * refresh_token: string
17
+ * }
18
+ * }
19
+ * ```
20
+ */
21
+ export declare const ProviderLocalStorage: FC<ILocalStorageProvider>;
@@ -0,0 +1,2 @@
1
+ export declare function getFromLocalStorage<T>(key: string): T | null;
2
+ export declare function setToLocalStorage<T>(key: string, value: T): void;
@@ -0,0 +1,5 @@
1
+ import { ILocalStorageContext } from './context.types';
2
+ /**
3
+ * Custom hook to access the LocalStorageContext.
4
+ */
5
+ export declare const useLocalStorage: () => ILocalStorageContext;
@@ -0,0 +1,16 @@
1
+ import { PropsWithChildren } from 'react';
2
+ export interface ILocalStorageProvider extends PropsWithChildren {
3
+ validate?: {
4
+ validateKeys: (keyof IValidLocalStorageObject)[];
5
+ getValidateLocalStorageValue: <K extends keyof IValidLocalStorageObject>(key: K, value: IValidLocalStorageObject[K]) => value is IValidLocalStorageObject[K];
6
+ };
7
+ }
8
+ export type IValidLocalStorageObject = {};
9
+ export interface ILocalStorageContext {
10
+ getLocalStorage: <K extends keyof IValidLocalStorageObject>(name: K) => IValidLocalStorageObject[K] | undefined;
11
+ setLocalStorage: <K extends keyof IValidLocalStorageObject>(name: K, value: IValidLocalStorageObject[K]) => void;
12
+ removeLocalStorageValue: <K extends keyof IValidLocalStorageObject>(name: K) => void;
13
+ removeLocalStorageValues: () => void;
14
+ checkLocalStorage: () => void;
15
+ localStorageValues: IValidLocalStorageObject | undefined;
16
+ }
@@ -0,0 +1,3 @@
1
+ export { ProviderLocalStorage } from './context';
2
+ export { useLocalStorage } from './context.hooks';
3
+ export type { IValidLocalStorageObject } from './context.types';
@@ -0,0 +1,3 @@
1
+ import { IPermissionContext, IPermissionProvider } from './context.types';
2
+ export declare const PermissionContext: import('react').Context<IPermissionContext | null>;
3
+ export declare const ProviderPermission: (props: IPermissionProvider) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1 @@
1
+ export declare const urlBase64ToUint8Array: (base64String: string) => Uint8Array<ArrayBuffer>;
@@ -0,0 +1,5 @@
1
+ import { IPermissionContext } from './context.types';
2
+ /**
3
+ * Custom hook to access the PermissionContext.
4
+ */
5
+ export declare const usePermission: () => IPermissionContext;
@@ -0,0 +1,11 @@
1
+ import { PropsWithChildren } from 'react';
2
+ export interface IPermissionContext {
3
+ geolocationPermission: PermissionState | null;
4
+ isBiometricSupported: boolean;
5
+ isNotificationPermissionLoading: boolean;
6
+ notificationPermission: NotificationPermission | null;
7
+ pushNotificationSupported: boolean;
8
+ requestGeolocationPermission: () => void;
9
+ requestNotificationPermission: () => Promise<NotificationPermission | undefined>;
10
+ }
11
+ export type IPermissionProvider = PropsWithChildren;
@@ -0,0 +1,2 @@
1
+ export { ProviderPermission } from './context';
2
+ export { usePermission } from './context.hooks';
@@ -0,0 +1,4 @@
1
+ import { FC } from 'react';
2
+ import { IScreenWidthContext, IScreenWidthProvider } from './context.types';
3
+ export declare const ScreenWidthContext: import('use-context-selector').Context<IScreenWidthContext | null>;
4
+ export declare const ProviderScreenWidth: FC<IScreenWidthProvider>;
@@ -0,0 +1,2 @@
1
+ import { IScreenWidthContext, IUseScreenWidthDependencies } from './context.types';
2
+ export declare const useScreenWidth: (props: IUseScreenWidthDependencies) => IScreenWidthContext;
@@ -0,0 +1,11 @@
1
+ import { IThemeBreakpoint, IThemeOrientation } from '../../styles/utils';
2
+ import { PropsWithChildren } from 'react';
3
+ export type IScreenWidthProvider = PropsWithChildren & {
4
+ type?: 'breakpoint' | 'orientation';
5
+ };
6
+ export interface IScreenWidthContext {
7
+ breakpoint: IThemeBreakpoint | 'default';
8
+ orientation: IThemeOrientation;
9
+ type?: 'breakpoint' | 'orientation';
10
+ }
11
+ export type IUseScreenWidthDependencies = (keyof IScreenWidthContext)[];
@@ -0,0 +1,3 @@
1
+ export { ProviderScreenWidth } from './context';
2
+ export { useScreenWidth } from './context.hooks';
3
+ export type { IScreenWidthContext } from './context.types';
@@ -0,0 +1,9 @@
1
+ import { IThemeGenreSonner } from '../../styles/utils/types';
2
+ import { ISonnerProvider } from './context.types';
3
+ export declare const DEFAULT_PROVIDER_SONNER_Z_INDEX = 100;
4
+ export declare const DEFAULT_PROVIDER_SONNER_SCALE = 0.04;
5
+ export declare const DEFAULT_PROVIDER_SONNER_Y = 100;
6
+ export declare const DEFAULT_PROVIDER_SONNER_DURATION = 0.3;
7
+ export declare const DEFAULT_PROVIDER_SONNER_GENRE: IThemeGenreSonner;
8
+ export declare const DEFAULT_PROVIDER_SONNER_MARGIN_BOTTOM = 65;
9
+ export declare const DEFAULT_PROVIDER_SONNER_BUTTON: ISonnerProvider['default']['button'];
@@ -0,0 +1,4 @@
1
+ import { FC } from 'react';
2
+ import { ISonnerContext, ISonnerProvider } from './context.types';
3
+ export declare const SonnerContext: import('use-context-selector').Context<ISonnerContext | null>;
4
+ export declare const ProviderSonner: FC<ISonnerProvider>;
@@ -0,0 +1,2 @@
1
+ import { ISonnerContext, IUseSonnerDependencies } from './context.types';
2
+ export declare const useSonner: (props: IUseSonnerDependencies) => ISonnerContext;
@@ -0,0 +1,30 @@
1
+ import { IThemeGenreSonner } from '../../styles/utils/types';
2
+ import { CSSProperties } from 'react';
3
+ import { ISonnerProvider } from './context.types';
4
+ export declare const SonnerClass: {
5
+ readonly layout: "context-sonner__layout";
6
+ readonly layoutBottomCenter: "context-sonner__layout--bottom-center";
7
+ readonly layoutBottomLeft: "context-sonner__layout--bottom-left";
8
+ readonly layoutBottomRight: "context-sonner__layout--bottom-right";
9
+ readonly layoutTopRight: "context-sonner__layout--top-right";
10
+ readonly layoutTopLeft: "context-sonner__layout--top-left";
11
+ readonly layoutTopCenter: "context-sonner__layout--top-center";
12
+ readonly elementWrapper: "context-sonner__element-wrapper";
13
+ readonly content: "context-sonner__content";
14
+ readonly icon: "context-sonner__icon";
15
+ readonly contentTitle: "context-sonner__content-title";
16
+ readonly contentDescription: "context-sonner__content-description";
17
+ readonly buttonWrapper: "context-sonner__button-wrapper";
18
+ };
19
+ export declare const SonnerLayout: "context-sonner__layout";
20
+ export declare const SonnerElementWrapper: "context-sonner__element-wrapper";
21
+ export declare const SonnerContent: "context-sonner__content";
22
+ export declare const SonnerIcon: "context-sonner__icon";
23
+ export declare const SonnerContentTitle: "context-sonner__content-title";
24
+ export declare const SonnerContentDescription: "context-sonner__content-description";
25
+ export declare const SonnerButtonWrapper: "context-sonner__button-wrapper";
26
+ type ISonnerStyleWithVars = CSSProperties & Record<string, string>;
27
+ export declare const getSonnerLayoutClassName: (position: ISonnerProvider["position"]) => string;
28
+ export declare const getSonnerLayoutStyle: (props: Pick<ISonnerProvider, "gap" | "zIndex">) => ISonnerStyleWithVars;
29
+ export declare const getSonnerElementWrapperStyle: (genre: IThemeGenreSonner) => ISonnerStyleWithVars;
30
+ export {};
@@ -0,0 +1,59 @@
1
+ import { IAddIIcon } from '../../components/icon';
2
+ import { IThemeGenreButton, IThemeGenreSonner, ITypography } from '../../styles/utils/types';
3
+ import { PropsWithChildren, ReactNode } from 'react';
4
+ export type ISonnerProvider = PropsWithChildren & {
5
+ gap: number;
6
+ position: 'bottom-right' | 'bottom-left' | 'top-right' | 'top-left' | 'bottom-center' | 'top-center';
7
+ visibleToasts?: number;
8
+ zIndex?: number;
9
+ default: Omit<ISonnerContentStandard, 'index'>;
10
+ };
11
+ export type ISonnerContext = {
12
+ toast: (content: Omit<ISonnerContentStandard, 'index'>) => void;
13
+ promise: <T>(promise: Promise<T>, expectation: Omit<ISonnerContentStandard, 'index'>, toast: (success: T | undefined, error: any | undefined) => Omit<ISonnerContent, 'index'>) => void;
14
+ remove: (id: ISonnerContentDefault['id']) => void;
15
+ contentHistory: ISonnerContent[];
16
+ };
17
+ export type IUseSonnerDependencies = (keyof ISonnerContext)[];
18
+ export type ISonnerElement = ISonnerElementDefault;
19
+ type ISonnerElementDefault = {
20
+ id: ISonnerContentDefault['id'];
21
+ title: ISonnerContentStandard['title'];
22
+ description: ISonnerContentStandard['description'];
23
+ content: ISonnerContentContent['content'];
24
+ icon?: ISonnerContentDefault['icon'];
25
+ isLoading: ISonnerContentDefault['isLoading'];
26
+ hidingMode: ISonnerContentDefault['hidingMode'];
27
+ button: ISonnerContentDefault['button'];
28
+ index: number;
29
+ handleOnClick: (id: ISonnerContentDefault['id'], hidingMode?: ISonnerContentDefault['hidingMode']) => void;
30
+ isMoreThanLastViewIndexPlusOne: boolean;
31
+ isMoreThanLastViewIndex: boolean;
32
+ isHovered: boolean;
33
+ isLastViewIndex: boolean;
34
+ buttonGenre: IThemeGenreButton;
35
+ isTop: boolean;
36
+ } & Required<Pick<ISonnerContentDefault, 'genre'>>;
37
+ export type ISonnerContent = ISonnerContentContent | ISonnerContentStandard;
38
+ type ISonnerContentDefault = {
39
+ hidingMode?: 'clickOnSonner' | 'clickOnButton';
40
+ hidingTime?: number;
41
+ icon?: IAddIIcon;
42
+ id?: string;
43
+ genre?: IThemeGenreSonner;
44
+ isLoading?: boolean;
45
+ sxTypography?: ITypography;
46
+ button?: {
47
+ content?: string | ReactNode;
48
+ onClick?: () => void;
49
+ } | false;
50
+ index: number;
51
+ };
52
+ type ISonnerContentContent = ISonnerContentDefault & {
53
+ content: ReactNode | false;
54
+ };
55
+ export type ISonnerContentStandard = ISonnerContentDefault & {
56
+ description?: string | ReactNode;
57
+ title?: string | ReactNode;
58
+ };
59
+ export {};
@@ -0,0 +1,3 @@
1
+ export { ProviderSonner } from './context';
2
+ export { useSonner } from './context.hooks';
3
+ export type { ISonnerProvider } from './context.types';
@@ -0,0 +1,30 @@
1
+ import { IDatePickerTranslateInput, IDatePickerTranslateMonth, IDatePickerTranslateWeek } from '../components/date-picker';
2
+ import { IImageFormat, ILanguage, IService } from './types';
3
+ export declare const OBJECT_LANGUAGE: ILanguage;
4
+ export declare const OBJECT_SERVICE: IService;
5
+ export declare const LIST_LANGUAGE: {
6
+ value: import('./types').ILanguageKeys;
7
+ label: string;
8
+ placeholder: string;
9
+ search: string;
10
+ }[];
11
+ export declare const LIST_KEY_LANGUAGE: {
12
+ [key: string]: string;
13
+ };
14
+ export declare const LIST_SERVICE: {
15
+ value: import('./types').IServiceKeys;
16
+ label: string;
17
+ placeholder: string;
18
+ search: string;
19
+ }[];
20
+ export declare const LIST_KEY_SERVICE: {
21
+ [key: string]: string;
22
+ };
23
+ export declare const LOCALE_INPUT: IDatePickerTranslateInput;
24
+ export declare const LOCALE_MONTHS: IDatePickerTranslateMonth[];
25
+ export declare const LOCALE_WEEKS: IDatePickerTranslateWeek[];
26
+ export declare const LIST_IMAGE_SUPPORTED_FORMAT: IImageFormat[];
27
+ export declare const LIST_IMAGE_SUPPORTED_FORMAT_FOR_INPUT: string;
28
+ export declare const LOREM_IPSUM_TEXT = "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.";
29
+ export declare const LIBRARY_VERSION: any;
30
+ export declare const ICON_VERSION: any;
@@ -1,22 +1,18 @@
1
- declare type EnumOption = {
2
- value: string;
3
- label: string;
4
- placeholder: string;
5
- search: string;
6
- };
7
-
8
- declare type GenericObject<T> = {
9
- [key: string]: T;
10
- };
11
-
12
- export declare function getContrastYIQ(hexcolor: string): "#000000" | "#FFFFFF";
13
-
14
- export declare function getScrollbarWidth(): number;
15
-
16
- export declare function transformEnumToOptions<T extends Record<string, string>>(enumObj: T): EnumOption[];
17
-
18
- export declare function transformObjectToArray<T>(obj: GenericObject<T>): Array<T>;
19
-
20
- export declare function transformObjectValuesToKeys<T>(obj: GenericObject<T>): GenericObject<string>;
21
-
22
- export { }
1
+ type EnumOption = {
2
+ value: string;
3
+ label: string;
4
+ placeholder: string;
5
+ search: string;
6
+ };
7
+ export declare function transformEnumToOptions<T extends Record<string, string>>(enumObj: T): EnumOption[];
8
+ type GenericObject<T> = {
9
+ [key: string]: T;
10
+ };
11
+ export declare function transformObjectToArray<T>(obj: GenericObject<T>): Array<T>;
12
+ export declare function transformObjectValuesToKeys<T>(obj: GenericObject<T>): GenericObject<string>;
13
+ export declare function getContrastYIQ(hexcolor: string): "#000000" | "#FFFFFF";
14
+ export declare function getScrollbarWidth(): number;
15
+ export declare function getHasVerticalScroll(): boolean;
16
+ type AnyObject = Record<string, any>;
17
+ export declare function stringifyCssObject<T extends AnyObject>(obj?: T): AnyObject | undefined;
18
+ export {};
@@ -0,0 +1 @@
1
+ export declare const logger: import('@jenesei-software/jenesei-library-log').Logger<"error" | "debug" | "info" | "success" | "warn">;
@@ -0,0 +1,18 @@
1
+ export type IAddDollarSign<T> = {
2
+ [K in keyof T as `$${string & K}`]: T[K];
3
+ };
4
+ export type ILanguageKeys = 'eng' | 'rus';
5
+ export type ILanguage = Record<ILanguageKeys, {
6
+ value: ILanguageKeys;
7
+ label: string;
8
+ placeholder: string;
9
+ search: string;
10
+ }>;
11
+ export type IServiceKeys = 'jenesei_id';
12
+ export type IService = Record<IServiceKeys, {
13
+ value: IServiceKeys;
14
+ label: string;
15
+ placeholder: string;
16
+ search: string;
17
+ }>;
18
+ export type IImageFormat = 'image/jpeg' | 'image/jpg' | 'image/png' | 'image/webp' | 'image/avif';
@@ -0,0 +1,3 @@
1
+ const Fe=require("./chunk-Dd8m0Ver.cjs"),t=require("./utils-DtinAjAU.cjs"),_=require("./functions-Dwo54amB.cjs"),ae=require("./component-jsn2T8Hu.cjs"),oe=require("./hooks-use-typography-styles.cjs.js"),T=require("./button-BuPpgfL_.cjs"),we=require("./error-DzkkNL2H.cjs"),re=require("./popover-CgwGn-55.cjs"),Oe=require("./typography-DcxhX_9e.cjs"),R=require("./select-B0adRX2_.cjs");require("./component-stack.cjs.js");let g=require("react/jsx-runtime"),o=require("react");var s=(function(e){return e.DD="DD",e.MM="MM",e.YYYY="YYYY",e})({}),Be=["mo","tu","we","th","fr","sa","su"],ze=e=>{const{onChange:d}=e,[i,S]=(0,o.useState)(null),[u,f]=(0,o.useState)(R.hooks(e.dateDefault).utc()),[l,C]=(0,o.useState)({[s.DD]:"",[s.MM]:"",[s.YYYY]:""});(0,o.useEffect)(()=>{E.current=l},[l]);const y=(0,o.useMemo)(()=>l[s.DD]!==""||l[s.MM]!==""||l[s.YYYY]!=="",[l]),V=(0,o.useCallback)(()=>{C({[s.DD]:"",[s.MM]:"",[s.YYYY]:""})},[]),[r,b]=(0,o.useState)(null),[ce,D]=(0,o.useState)(!1),x=(0,o.useMemo)(()=>!e.mode||e.mode.length===0?[s.DD,s.MM,s.YYYY]:new Set(e.mode).size!==e.mode.length?[s.DD,s.MM,s.YYYY]:e.mode,[e.mode]),P=(0,o.useMemo)(()=>e.type?e.type:"manualAndSelect",[e.type]),h=(0,o.useMemo)(()=>{const n=[s.DD,s.MM,s.YYYY],a=Object.fromEntries(n.map(c=>[c,{type:c,value:l[c],placeholder:e.locale.inputs[c===s.DD?"day":c===s.MM?"month":"year"],isFirst:x[0]===c,isLast:x[x.length-1]===c,segmentNext:ie(c,x),segmentPrev:se(c,x),onNextSegment:()=>b(ie(c,x)),onPrevSegment:()=>b(se(c,x)),setValue:A=>C(m=>({...m,[c]:A})),setActive:()=>b(c)}]));return{sort:x.map(c=>a[c]).filter(Boolean),default:a}},[e,x,l]),ue=(0,o.useMemo)(()=>Be.map((n,a)=>({index:a,label:e.locale.weeks.find(c=>c.value===n)?.localeShort??n.toUpperCase()})),[e.locale.weeks]),O=(0,o.useMemo)(()=>{const n=R.hooks.utc(),a=i??u,c=a.clone().startOf("month"),A=a.clone().endOf("month"),m=e.dateMin?R.hooks.utc(e.dateMin):null,M=e.dateMax?R.hooks.utc(e.dateMax):null,L=c.clone().subtract(c.isoWeekday()-1,"days"),j=A.clone().add(7-A.isoWeekday(),"days"),w=[],k=L.clone();for(;k<=j;){const q=k.isBetween(c,A,"day","[]");w.push({value:k.valueOf(),labelString:k.format("dd"),labelNumber:k.date(),dayOfWeek:k.isoWeekday(),isWeekend:[6,7].includes(k.isoWeekday()),weekOfMonth:Math.ceil((w.length+1)/7),isToday:k.isSame(n,"day"),isCurrentMonth:q,isChoice:k.valueOf()===i?.valueOf(),isDisabled:!!(m&&k.isBefore(m,"day")||M&&k.isAfter(M,"day"))}),k.add(1,"day")}return w},[i,u,e.dateMax,e.dateMin]),de=(0,o.useMemo)(()=>Ee(O.length)+1,[O]),K=(0,o.useMemo)(()=>t.CSS_VARS.sizeValue[e.size].radius,[e.size]),Se=(0,o.useMemo)(()=>t.CSS_VARS.sizeValue[e.size].padding,[e.size]),N=(0,o.useMemo)(()=>i!==null,[i]),U=(0,o.useMemo)(()=>{const n=(i??u).clone().add(1,"month").startOf("month");return e.dateMax?n.isAfter(R.hooks.utc(e.dateMax),"month"):!1},[i,e.dateMax,u]),X=(0,o.useMemo)(()=>{const n=(i??u).clone().subtract(1,"month").startOf("month");return e.dateMin?n.isBefore(R.hooks.utc(e.dateMin),"month"):!1},[i,e.dateMin,u]),[B,G]=(0,o.useState)(!1),E=(0,o.useRef)(l),z=(0,o.useRef)(!1),Q=(0,o.useRef)(""),Z=(0,o.useRef)(null),J=(0,o.useRef)(null),W=(0,o.useRef)(null),fe=(0,o.useCallback)(()=>{e.onFocus?.()},[e.onFocus]),ge=(0,o.useCallback)(()=>{e.onBlur?.()},[e.onBlur]),Ce=(0,o.useCallback)(()=>{b(null)},[]),{isOpen:Y,refReference:me,refFloating:he,floatingStyles:ye,close:F,toggle:p}=re.usePopover({isFocusTrap:!0,placement:"bottom-start",offset:Se,mode:"independence",isClickOutside:!0,refsExcludeClickOutside:[Z,J],isDisabled:e?.isDisabled||e?.isReadOnly,onFocus:fe,onBlur:ge,onBlurReference:Ce}),H=(0,o.useMemo)(()=>!!(!B&&!N&&e.labelPlaceholder&&(P==="select"||!Y)&&!y&&!r),[B,N,Y,e.labelPlaceholder,y,r,P]),v=(0,o.useCallback)((n,a,c)=>{const A=R.hooks(n).utc(),m=A.clone().date().toString(),M=(A.clone().month()+1).toString(),L=m.padStart(2,"0"),j=M.padStart(2,"0"),w=A.clone().year().toString(),k=c?.[s.DD],q=c?.[s.MM],Ne=c?.[s.YYYY],We=L===k&&j===q&&Ne===w,ne=i?.isSame(A,"day");ne||(S(A),d(A.valueOf())),(!ne||c)&&!We&&C({[s.DD]:a?L:m,[s.MM]:a?j:M,[s.YYYY]:w})},[i,d]),I=(0,o.useCallback)(n=>{const a=n.key,c=["ArrowLeft","ArrowRight","ArrowUp","ArrowDown","Backspace","Delete","Tab","Enter"],A=/^\d$/.test(a);if(!(A||c.includes(a)||n.ctrlKey||n.metaKey)){n.preventDefault();return}if(r&&h.default[r]){if(A&&(je(a,r,l,h),n.preventDefault(),n.stopPropagation()),a==="Tab"&&(h.default[r].isLast?W?.current?.blur():(n.preventDefault(),h.default[r].onNextSegment())),a==="Enter"&&(n.preventDefault(),n.stopPropagation()),a==="Backspace"||a==="Delete"){if(r===s.DD)if(l.DD!==""){const m=l.DD;if(m.length===1)h.default[r].setValue("");else{const M=m.slice(0,-1);h.default[r].setValue(M)}}else h.default[r].onPrevSegment();else if(r===s.MM)if(l.MM!==""){const m=l.MM;if(m.length===1)h.default[r].setValue("");else{const M=m.slice(0,-1);h.default[r].setValue(M)}}else h.default[r].onPrevSegment();else if(r===s.YYYY)if(l.YYYY!==""){const m=l.YYYY;if(m.length===1)h.default[r].setValue("");else{const M=m.slice(0,-1);h.default[r].setValue(M)}}else h.default[r].onPrevSegment();n.preventDefault(),n.stopPropagation()}(a==="ArrowLeft"||a==="ArrowDown")&&(n.preventDefault(),h.default[r].onPrevSegment()),(a==="ArrowRight"||a==="ArrowUp")&&(n.preventDefault(),h.default[r].onNextSegment())}},[r,l,h.default,h]),Ae=(0,o.useCallback)(()=>{v((i??u).clone().add(1,"month").valueOf(),!0)},[i,v,u]),ke=(0,o.useCallback)(()=>{v((i??u).clone().subtract(1,"month").valueOf(),!0)},[i,v,u]),_e=(0,o.useCallback)(()=>{P!=="select"&&(G(!0),r||b(s.DD))},[r,P]),Re=(0,o.useCallback)(()=>{G(!1),Y||e.onBlur?.()},[Y,e.onBlur]),Ve=(0,o.useCallback)(n=>{const a=n.target.value,c=Te(a);if(c){C({DD:String(c.day).padStart(2,"0"),MM:String(c.month).padStart(2,"0"),YYYY:String(c.year)}),W.current&&(W.current.value="");return}const A=Q.current,m=a.length>A.length?a.slice(-1):null;Q.current=a,m&&/^\d$/.test(m)&&I({key:m,preventDefault:()=>{},stopPropagation:()=>{}}),a.length<A.length&&I({key:"Backspace",preventDefault:()=>{},stopPropagation:()=>{}}),W.current&&(W.current.value="")},[I]);(0,o.useEffect)(()=>{N&&!z.current&&(z.current=!0)},[N]),(0,o.useEffect)(()=>{f(R.hooks(e.dateDefault).utc())},[e.dateDefault]),(0,o.useEffect)(()=>{if(S(e.value||e.defaultValue?R.hooks(e.value??e.defaultValue).utc():null),e.value){const n=R.hooks(e.value).utc();C({[s.DD]:n.date().toString().padStart(2,"0"),[s.MM]:(n.month()+1).toString().padStart(2,"0"),[s.YYYY]:n.year().toString()})}},[e.value,e.defaultValue]),(0,o.useEffect)(()=>{r||$(l,n=>{v(n,!0,l),D(!1)},()=>{d(null),D(!0)},n=>{n||(z.current&&(d(null),z.current=!1),D(!1))})},[v,d,l,r]),(0,o.useEffect)(()=>{!Y&&!B&&y&&!r&&$(l,()=>{},()=>{d(null),V(),D(!1)},()=>{d(null),V(),D(!1)})},[V,l,Y,B,d,y,r]),(0,o.useEffect)(()=>{r&&$(E.current,n=>{v(n,!0,E.current),D(!1)},()=>{D(!0)},n=>{n||D(!1)})},[v,r]),(0,o.useEffect)(()=>{r&&(F(),W?.current?.focus())},[r,F]);const{className:ee,style:te}=oe.useTypographyStyles({sx:{variant:t.EXTRA_VALUE.sizeToController.small,weight:"500",...e?.sxTypography}}),{className:be,style:ve}=oe.useTypographyStyles({sx:{size:16,weight:e.isBold?"700":"400",...e?.sxTypography}}),{className:Me,style:Pe}=(0,o.useMemo)(()=>{const n=_.setClasses([t.CSS_CLASS.component.datePicker.wrapper,e.className]),a={};return a[t.CSS_VARS_RAW.component.datePicker.padding]=t.CSS_VARS.size[e.size].padding,a[t.CSS_VARS_RAW.component.datePicker.inputBackground]=t.CSS_VARS.genre.select[e.genre].background.index,a[t.CSS_VARS_RAW.component.datePicker.inputBackgroundHover]=t.CSS_VARS.genre.input[e.genre].background,a[t.CSS_VARS_RAW.component.datePicker.inputSegmentBackgroundActive]=t.CSS_VARS.palette.fillQuaternaryLight,a[t.CSS_VARS_RAW.component.datePicker.inputBorderColor]=t.CSS_VARS.genre.input[e.genre].border,a[t.CSS_VARS_RAW.component.datePicker.inputBorderColorHover]=t.CSS_VARS.genre.input[e.genre].border,a[t.CSS_VARS_RAW.component.datePicker.inputColor]=t.CSS_VARS.genre.input[e.genre].color,a[t.CSS_VARS_RAW.component.datePicker.inputColorHover]=t.CSS_VARS.genre.input[e.genre].color,a[t.CSS_VARS_RAW.component.datePicker.inputPadding]=H?`0px ${t.CSS_VARS.size[e.size].padding}`:`0px ${t.CSS_VARS.size[e.size].padding} 0px ${t.CSS_VARS.sizeValue[e.size].padding-2}px`,a[t.CSS_VARS_RAW.component.datePicker.inputHeight]=t.CSS_VARS.size[e.size].height,a[t.CSS_VARS_RAW.component.datePicker.inputRadius]=t.CSS_VARS.size[e.size].radius,a[t.CSS_VARS_RAW.component.datePicker.inputValueColor]=t.CSS_VARS.genre.input[e.genre].color,a[t.CSS_VARS_RAW.component.datePicker.inputPlaceholderColor]=t.CSS_VARS.genre.input[e.genre].placeholder,a[t.CSS_VARS_RAW.component.datePicker.buttonToggleRight]=`${t.CSS_VARS.size[e.size].padding}`,a[t.CSS_VARS_RAW.component.datePicker.buttonClearRight]=`${t.CSS_VARS.sizeValue[e.size].padding*2+t.CSS_VARS.sizeValue[e.size].height}px`,{className:n,style:_.setStyles([Object.keys(a).length?a:void 0,e.style])}},[e.className,e.style,H,e.genre,e.size]),{className:De,style:xe}=(0,o.useMemo)(()=>{const n=_.setClasses([e.classNamePopover]),a={};return a[t.CSS_VARS_RAW.component.datePicker.dayRadius]=`${K}px`,a[t.CSS_VARS_RAW.component.datePicker.dayBackgroundRest]=t.CSS_VARS.genre.datepicker[e.genre].background.index,a[t.CSS_VARS_RAW.component.datePicker.dayBackgroundHover]=t.CSS_VARS.genre.datepicker[e.genre].background.hover,a[t.CSS_VARS_RAW.component.datePicker.dayBackgroundWeekend]=t.CSS_VARS.genre.datepicker[e.genre].background.weekend,a[t.CSS_VARS_RAW.component.datePicker.dayBackgroundToday]=t.CSS_VARS.genre.datepicker[e.genre].background.today,a[t.CSS_VARS_RAW.component.datePicker.dayBackgroundChoice]=t.CSS_VARS.genre.datepicker[e.genre].background.choice,a[t.CSS_VARS_RAW.component.datePicker.dayBorderRest]=t.CSS_VARS.genre.datepicker[e.genre].border.index,a[t.CSS_VARS_RAW.component.datePicker.dayBorderWeekend]=t.CSS_VARS.genre.datepicker[e.genre].border.weekend,a[t.CSS_VARS_RAW.component.datePicker.dayBorderToday]=t.CSS_VARS.genre.datepicker[e.genre].border.today,a[t.CSS_VARS_RAW.component.datePicker.dayBorderChoice]=t.CSS_VARS.genre.datepicker[e.genre].border.choice,a[t.CSS_VARS_RAW.component.datePicker.dayBorderHover]=t.CSS_VARS.genre.datepicker[e.genre].border.hover,a[t.CSS_VARS_RAW.component.datePicker.dayColorRest]=t.CSS_VARS.genre.datepicker[e.genre].color.index,a[t.CSS_VARS_RAW.component.datePicker.dayColorHover]=t.CSS_VARS.genre.datepicker[e.genre].color.hover,a[t.CSS_VARS_RAW.component.datePicker.dayColorWeekend]=t.CSS_VARS.genre.datepicker[e.genre].color.weekend,a[t.CSS_VARS_RAW.component.datePicker.dayColorToday]=t.CSS_VARS.genre.datepicker[e.genre].color.today,a[t.CSS_VARS_RAW.component.datePicker.dayColorChoice]=t.CSS_VARS.genre.datepicker[e.genre].color.choice,{className:n,style:_.setStyles([Object.keys(a).length?a:void 0,{background:t.CSS_VARS.genre.popover[e.genre].background,border:`solid 1px ${t.CSS_VARS.genre.input[e.genre].border}`},e.stylePopover])}},[e.classNamePopover,e.stylePopover,e.genre,K]),Ye=(0,o.useMemo)(()=>P!=="manual"||e.isShowClearButton&&(N||y)&&!e?.isDisabled&&!e?.isReadOnly,[P,y,N,e.isShowClearButton,e?.isDisabled,e?.isReadOnly]);return(0,g.jsxs)(g.Fragment,{children:[(0,g.jsx)("div",{className:Me,style:Pe,tabIndex:-1,children:(0,g.jsxs)("div",{ref:me,tabIndex:-1,onClick:()=>{if(P==="select"){p();return}!r&&!e?.isReadOnly&&b(s.DD)},className:_.setClasses([t.CSS_CLASS.component.datePicker.inputWrapper,t.CSS_CLASS.transition.color,t.CSS_CLASS.control[e.isDisabled?"none":e.control??(Y||r?"boxShadowSelect":"boxShadowOnlyHover")]]),children:[P!=="select"?(0,g.jsx)("input",{name:e.name,"aria-label":e.ariaLabel??e.name,autoComplete:e.autoComplete,id:e.id,ref:W,type:"tel",inputMode:"numeric",tabIndex:0,disabled:e?.isDisabled||e?.isReadOnly,style:{position:"absolute",left:"-100dvw",top:0,width:"100%",height:"100%",opacity:0,border:"none",background:"transparent"},onKeyDown:I,onChange:Ve,onFocus:_e,onBlur:Re}):null,H?(0,g.jsx)(Oe.Typography,{sx:{size:16,line:1,isNoUserSelect:!0},style:{color:t.CSS_VARS.genre.input[e.genre].placeholder},children:e.labelPlaceholder}):h.sort.map((n,a)=>(0,g.jsxs)(o.Fragment,{children:[(0,g.jsx)("div",{className:_.setClasses([t.CSS_CLASS.component.datePicker.inputSegment,t.CSS_CLASS.transition.color,be,!!n.value&&t.CSS_CLASS.component.datePicker.inputSegmentHasValue,r===n.type&&t.CSS_CLASS.component.datePicker.inputSegmentIsActive]),style:ve,onClick:c=>{P!=="select"&&(c.preventDefault(),c.stopPropagation(),!(e?.isDisabled||e?.isReadOnly)&&n.setActive())},children:n.value||n.placeholder||""}),a!==h.sort.length-1&&(0,g.jsx)("span",{style:{width:"4px",pointerEvents:"none",textAlign:"center"},children:"."})]},n.type)),Ye?(0,g.jsxs)("div",{className:_.setClasses([t.CSS_CLASS.component.datePicker.listButton]),children:[e.isShowClearButton&&(N||y)&&!e?.isDisabled&&!e?.isReadOnly?(0,g.jsx)(T.Button,{genre:e.genre,size:"small",isWidthAsHeight:!0,isFullRadius:!0,isFullSize:!0,isHiddenBorder:!0,isOnlyIcon:!0,tabIndex:0,icons:[{name:"Close",type:"id"}],isDisabled:e?.isDisabled||e?.isReadOnly,onFocus:n=>{n.preventDefault(),n.stopPropagation(),b(null)},onClick:n=>{n.preventDefault(),n.stopPropagation(),d(null),V(),D(!1)}}):null,P!=="manual"?(0,g.jsx)(T.Button,{genre:e.genre,size:"small",isWidthAsHeight:!0,isFullRadius:!0,isFullSize:!0,isHiddenBorder:!0,isOnlyIcon:!0,icons:[{name:"Calendar",type:"id"}],isDisabled:e?.isDisabled||e?.isReadOnly,tabIndex:0,onFocus:n=>{n.preventDefault(),n.stopPropagation(),b(null)},onClick:n=>{n.preventDefault(),n.stopPropagation(),p()}}):null]}):null]})}),(0,g.jsx)(re.Popover,{style:xe,className:De,size:e.size,genre:e.genre,isOpen:Y,floatingStyles:ye,ref:he,control:"boxShadowSelect",isDisabledBoxShadow:!0,children:(0,g.jsxs)("div",{className:_.setClasses([t.CSS_CLASS.component.datePicker.dropdownList]),children:[(0,g.jsxs)(ae.Stack,{style:{justifyContent:"space-between",alignItems:"center"},children:[(0,g.jsx)(T.Button,{type:"button",isFullRadius:!0,icons:[{name:"Arrow2",type:"id",turn:90}],isWidthAsHeight:!0,genre:e.genre,size:"small",onClick:()=>ke(),isHidden:X,isDisabled:X}),(0,g.jsxs)(ae.Stack,{style:{gap:"8px"},children:[(0,g.jsx)(R.SelectMonth,{isToggleWhenClickSelectListOption:!0,monthsLocale:e.locale.months,genre:e.genre,size:"small",value:(i??u).clone().startOf("month").utc().valueOf(),isOnClickOptionClose:!0,isStayValueAfterSelect:!0,isOnlyColorInSelectListOption:!0,isCenter:!0,isShortLabel:!0,refFloating:Z,onChange:n=>{n&&v(n,!0)},dateMin:e.dateMin,dateMax:e.dateMax,style:{width:"60px"}}),(0,g.jsx)(R.SelectYear,{isToggleWhenClickSelectListOption:!0,genre:e.genre,size:"small",refFloating:J,value:(i??u).clone().startOf("year").utc().valueOf(),onChange:n=>{n&&v(n,!0)},isOnClickOptionClose:!0,isStayValueAfterSelect:!0,isOnlyColorInSelectListOption:!0,isCenter:!0,dateMin:e.dateMin,dateMax:e.dateMax,style:{width:"60px"}})]}),(0,g.jsx)(T.Button,{type:"button",onClick:()=>Ae(),isWidthAsHeight:!0,isFullRadius:!0,icons:[{name:"Arrow2",type:"id",turn:-90}],genre:e.genre,size:"small",isDisabled:U,isHidden:U})]}),(0,g.jsxs)("div",{className:_.setClasses([t.CSS_CLASS.component.datePicker.dropdownListDays]),style:_.setStyles([{[t.CSS_VARS_RAW.component.datePicker.rows]:de}]),children:[ue.map((n,a)=>(0,g.jsx)("div",{className:_.setClasses([t.CSS_CLASS.component.datePicker.dayOfWeek,ee,t.CSS_CLASS.transition.color]),style:_.setStyles([te,{[t.CSS_VARS_RAW.component.datePicker.row]:O[0]?.weekOfMonth-1,[t.CSS_VARS_RAW.component.datePicker.column]:a+1}]),tabIndex:-1,children:n.label},`${n.label}-${a}`)),O.map(n=>(0,g.jsx)("div",{className:_.setClasses([t.CSS_CLASS.component.datePicker.day,ee,t.CSS_CLASS.control[n.isDisabled||n.isChoice?"none":"boxShadow"],t.CSS_CLASS.transition.color,n.isDisabled&&t.CSS_CLASS.component.datePicker.dayIsHidden,n.isToday&&t.CSS_CLASS.component.datePicker.dayIsToday,n.isWeekend&&t.CSS_CLASS.component.datePicker.dayIsWeekend,n.isChoice&&t.CSS_CLASS.component.datePicker.dayIsChoice,!n.isCurrentMonth&&t.CSS_CLASS.component.datePicker.dayIsNotCurrentMonth]),style:_.setStyles([te,{[t.CSS_VARS_RAW.component.datePicker.row]:n?.weekOfMonth+1,[t.CSS_VARS_RAW.component.datePicker.column]:n.dayOfWeek}]),onClick:()=>{n.isDisabled||(v(n.value,!0),e.isOnClickClose&&F())},tabIndex:n.isDisabled?-1:0,children:n.labelNumber},n.value))]})]})}),(e?.error?.isError||ce)&&(0,g.jsx)(we.ErrorMessage,{size:e?.error?.size??e.size,sxTypography:{size:16,weight:"400",...e?.error?.sxTypography},...e.error})]})},Ie=/^\d{4}-\d{2}-\d{2}$/,Le=/^(\d{1,2})\/(\d{1,2})\/(\d{4})$/;function je(e,d,i,S){const u=e,f=d,l=i[f]??"";if(f===s.DD){if(l.length>=2){S.default[f].setValue(u);return}if(l===""){S.default[f].setValue(u);return}const C=l+u,y=Number(C);if(y>31){S.default[f].setValue(u);return}if(y===0){S.default[f].setValue(u);return}S.default[f].setValue(C),S.default[f].onNextSegment()}else if(f===s.MM){if(l.length>=2){S.default[f].setValue(u);return}if(l===""){S.default[f].setValue(u);return}const C=l+u,y=Number(C);if(y>12){S.default[f].setValue(u);return}if(y===0){S.default[f].setValue(u);return}S.default[f].setValue(C),(C.length===2||C.length===1&&Number(C)>1)&&S.default[f].onNextSegment()}else if(f===s.YYYY){if(l.length>=4){S.default[f].setValue(u);return}const C=l+u;S.default[f].setValue(C)}}function Te(e){if(Ie.test(e)){const[i,S,u]=e.split("-").map(Number);return le(i,S,u)}const d=Le.exec(e);if(d){const[i,S,u,f]=d,l=Number(S),C=Number(u),y=Number(f);let V,r;return l>12?(r=l,V=C):(V=l,r=C),le(y,V,r)}return null}function le(e,d,i){const S=new Date(e,d-1,i);return S.getFullYear()===e&&S.getMonth()===d-1&&S.getDate()===i?{year:e,month:d,day:i}:null}function Ee(e){const i=Math.floor(e/7);return e%7>0?i+1:i}function ie(e,d){const i=d.indexOf(e);return i<d.length-1?d[i+1]:d[0]}function se(e,d){const i=d.indexOf(e);return i>0?d[i-1]:d[d.length-1]}function $(e,d,i,S){const u=e.DD,f=e.MM,l=e.YYYY,C=u===""?NaN:Number(u),y=f===""?NaN:Number(f),V=l===""?NaN:Number(l),r=u!==""||f!==""||l!=="";if(!Number.isNaN(C)&&!Number.isNaN(y)&&!Number.isNaN(V)){const b=R.hooks.utc(`${C}.${y}.${V}`,"D.M.YYYY",!0).startOf("day");b.isValid()?d?.(b.valueOf()):i?.()}else S?.(r)}Object.defineProperty(exports,"DatePicker",{enumerable:!0,get:function(){return ze}});
2
+
3
+ //# sourceMappingURL=date-picker-CPNNIEa-.cjs.map