@xjur-ui/react 2.3.0 → 2.3.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 (506) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/dist/components/accordion.js +1 -2
  3. package/dist/components/avatar-group.js +1 -2
  4. package/dist/components/avatar.js +1 -2
  5. package/dist/components/badge.js +1 -2
  6. package/dist/components/breadcrumb.js +1 -2
  7. package/dist/components/carousel/carousel-action.js +1 -2
  8. package/dist/components/carousel/carousel-content.js +1 -2
  9. package/dist/components/carousel/carousel-item.js +1 -2
  10. package/dist/components/carousel/carousel-root.js +1 -2
  11. package/dist/components/carousel/index.js +1 -2
  12. package/dist/components/chip.js +1 -2
  13. package/dist/components/collapsible.js +1 -2
  14. package/dist/components/controls/button.js +1 -2
  15. package/dist/components/controls/calendar.js +1 -2
  16. package/dist/components/controls/checkbox.js +1 -2
  17. package/dist/components/controls/context/field.context.js +1 -2
  18. package/dist/components/controls/date-picker/date-picker-caption.js +1 -2
  19. package/dist/components/controls/date-picker/date-picker-content.js +1 -2
  20. package/dist/components/controls/date-picker/date-picker-icon.js +1 -2
  21. package/dist/components/controls/date-picker/date-picker-label.js +1 -2
  22. package/dist/components/controls/date-picker/date-picker-root.js +1 -2
  23. package/dist/components/controls/date-picker/date-picker-slot.js +1 -2
  24. package/dist/components/controls/date-picker/date-picker-styles.js +1 -2
  25. package/dist/components/controls/date-picker/date-picker-trigger.js +1 -2
  26. package/dist/components/controls/date-picker/date-picker-value.js +1 -2
  27. package/dist/components/controls/date-picker/index.js +1 -2
  28. package/dist/components/controls/date-picker.js +1 -2
  29. package/dist/components/controls/floating-label.js +1 -2
  30. package/dist/components/controls/input/index.js +1 -2
  31. package/dist/components/controls/input/input-action.js +1 -2
  32. package/dist/components/controls/input/input-caption.js +1 -2
  33. package/dist/components/controls/input/input-content.js +1 -2
  34. package/dist/components/controls/input/input-currency.js +1 -2
  35. package/dist/components/controls/input/input-icon.js +1 -2
  36. package/dist/components/controls/input/input-label.js +1 -2
  37. package/dist/components/controls/input/input-mask.js +1 -2
  38. package/dist/components/controls/input/input-number.js +1 -2
  39. package/dist/components/controls/input/input-numeric-stepper.js +1 -2
  40. package/dist/components/controls/input/input-root.js +1 -2
  41. package/dist/components/controls/input/input-slot.js +1 -2
  42. package/dist/components/controls/input/input-styles.js +1 -2
  43. package/dist/components/controls/input/input-text.js +1 -2
  44. package/dist/components/controls/input/input-trigger.js +1 -2
  45. package/dist/components/controls/otp-input.js +1 -2
  46. package/dist/components/controls/radio.js +1 -2
  47. package/dist/components/controls/rating.js +1 -2
  48. package/dist/components/controls/rich-editor.js +1 -2
  49. package/dist/components/controls/search-input.js +1 -2
  50. package/dist/components/controls/search-selector.js +1 -2
  51. package/dist/components/controls/select/index.js +1 -2
  52. package/dist/components/controls/select/select-caption.js +1 -2
  53. package/dist/components/controls/select/select-content.js +1 -2
  54. package/dist/components/controls/select/select-header-title.js +1 -2
  55. package/dist/components/controls/select/select-header.js +1 -2
  56. package/dist/components/controls/select/select-icon.js +1 -2
  57. package/dist/components/controls/select/select-multi-value.js +1 -2
  58. package/dist/components/controls/select/select-option-text.js +1 -2
  59. package/dist/components/controls/select/select-option.js +1 -2
  60. package/dist/components/controls/select/select-options.js +1 -2
  61. package/dist/components/controls/select/select-root.js +1 -2
  62. package/dist/components/controls/select/select-slot.js +1 -2
  63. package/dist/components/controls/select/select-styles.js +1 -2
  64. package/dist/components/controls/select/select-trigger.js +1 -2
  65. package/dist/components/controls/select/select-value.js +1 -2
  66. package/dist/components/controls/slider.js +1 -2
  67. package/dist/components/controls/switch.js +1 -2
  68. package/dist/components/custom/pessoa/index.js +1 -2
  69. package/dist/components/custom/pessoa/pessoa-add-button.js +1 -2
  70. package/dist/components/custom/pessoa/pessoa-body.js +1 -2
  71. package/dist/components/custom/pessoa/pessoa-close-button.js +1 -2
  72. package/dist/components/custom/pessoa/pessoa-content.js +1 -2
  73. package/dist/components/custom/pessoa/pessoa-footer.js +1 -2
  74. package/dist/components/custom/pessoa/pessoa-header.js +1 -2
  75. package/dist/components/custom/pessoa/pessoa-trigger.js +1 -2
  76. package/dist/components/custom/pessoa/pessoa.context.js +1 -2
  77. package/dist/components/custom/pessoa/pessoa.js +1 -2
  78. package/dist/components/dialog.js +1 -2
  79. package/dist/components/divider.js +1 -2
  80. package/dist/components/drag-and-drop/drag-handle.js +1 -2
  81. package/dist/components/drag-and-drop/drag-list-item.js +1 -2
  82. package/dist/components/drag-and-drop/drag-list.js +1 -2
  83. package/dist/components/drag-and-drop/drag-root.js +1 -2
  84. package/dist/components/drag-and-drop/index.js +1 -2
  85. package/dist/components/drag-and-drop/types/drag-item.js +0 -2
  86. package/dist/components/dropdown-menu.js +1 -2
  87. package/dist/components/full-calendar/calendar-add-event.js +1 -2
  88. package/dist/components/full-calendar/calendar-body.js +1 -2
  89. package/dist/components/full-calendar/calendar-cell.js +1 -2
  90. package/dist/components/full-calendar/calendar-day-view.js +1 -2
  91. package/dist/components/full-calendar/calendar-event.js +1 -2
  92. package/dist/components/full-calendar/calendar-header.js +1 -2
  93. package/dist/components/full-calendar/calendar-month-view.js +1 -2
  94. package/dist/components/full-calendar/calendar-more-events-dropdown.js +1 -2
  95. package/dist/components/full-calendar/calendar-navigator.js +1 -2
  96. package/dist/components/full-calendar/calendar-root.js +1 -2
  97. package/dist/components/full-calendar/calendar-today-button.js +1 -2
  98. package/dist/components/full-calendar/calendar-toggle-view.js +1 -2
  99. package/dist/components/full-calendar/calendar-view-renderer.js +1 -2
  100. package/dist/components/full-calendar/calendar-week-day.js +1 -2
  101. package/dist/components/full-calendar/calendar-week-view.js +1 -2
  102. package/dist/components/full-calendar/helpers/calendar.js +1 -2
  103. package/dist/components/full-calendar/index.js +1 -2
  104. package/dist/components/full-calendar/types/calendar-cell.js +0 -2
  105. package/dist/components/full-calendar/types/calendar-event.js +0 -2
  106. package/dist/components/full-calendar/types/calendar-view.js +0 -2
  107. package/dist/components/full-calendar/types/calendar-week-hour.js +0 -2
  108. package/dist/components/icon.js +1 -2
  109. package/dist/components/list/context/list-context.js +1 -2
  110. package/dist/components/list/index.js +1 -2
  111. package/dist/components/list/list-content.js +1 -2
  112. package/dist/components/list/list-header-title.js +1 -2
  113. package/dist/components/list/list-header.js +1 -2
  114. package/dist/components/list/list-item.js +1 -2
  115. package/dist/components/list/list-root.js +1 -2
  116. package/dist/components/logo.js +1 -2
  117. package/dist/components/selection-bar.js +1 -2
  118. package/dist/components/sheet.js +1 -2
  119. package/dist/components/skeleton.js +1 -2
  120. package/dist/components/status.js +1 -2
  121. package/dist/components/steps/index.js +1 -2
  122. package/dist/components/steps/step.js +1 -2
  123. package/dist/components/steps/steps-action.js +1 -2
  124. package/dist/components/steps/steps-content.js +1 -2
  125. package/dist/components/steps/steps-context.js +1 -2
  126. package/dist/components/steps/steps-navigation.js +1 -2
  127. package/dist/components/steps/steps-root.js +1 -2
  128. package/dist/components/table/index.js +1 -2
  129. package/dist/components/table/table-body.js +1 -2
  130. package/dist/components/table/table-cell.js +1 -2
  131. package/dist/components/table/table-footer.js +1 -2
  132. package/dist/components/table/table-head.js +1 -2
  133. package/dist/components/table/table-header.js +1 -2
  134. package/dist/components/table/table-row.js +1 -2
  135. package/dist/components/table/table-sort.js +1 -2
  136. package/dist/components/table/table.js +1 -2
  137. package/dist/components/tabs.js +1 -2
  138. package/dist/components/tag.js +1 -2
  139. package/dist/components/toast.js +1 -2
  140. package/dist/components/tooltip.js +1 -2
  141. package/dist/components/typography.js +1 -2
  142. package/dist/components/upload.js +1 -2
  143. package/dist/hooks/index.js +1 -2
  144. package/dist/index.css +0 -1
  145. package/package.json +1 -1
  146. package/dist/chunk-26RT6WUU.js +0 -2
  147. package/dist/chunk-26RT6WUU.js.map +0 -1
  148. package/dist/chunk-2JQVYVAT.js +0 -2
  149. package/dist/chunk-2JQVYVAT.js.map +0 -1
  150. package/dist/chunk-2TVBY4IY.js +0 -2
  151. package/dist/chunk-2TVBY4IY.js.map +0 -1
  152. package/dist/chunk-3DZWZLV3.js +0 -2
  153. package/dist/chunk-3DZWZLV3.js.map +0 -1
  154. package/dist/chunk-3L772WC6.js +0 -2
  155. package/dist/chunk-3L772WC6.js.map +0 -1
  156. package/dist/chunk-3LWJK7RE.js +0 -2
  157. package/dist/chunk-3LWJK7RE.js.map +0 -1
  158. package/dist/chunk-3QA5HU4T.js +0 -2
  159. package/dist/chunk-3QA5HU4T.js.map +0 -1
  160. package/dist/chunk-3RD2PGPH.js +0 -2
  161. package/dist/chunk-3RD2PGPH.js.map +0 -1
  162. package/dist/chunk-43DUEHUA.js +0 -2
  163. package/dist/chunk-43DUEHUA.js.map +0 -1
  164. package/dist/chunk-4BGAERSD.js +0 -2
  165. package/dist/chunk-4BGAERSD.js.map +0 -1
  166. package/dist/chunk-4BGTC333.js +0 -2
  167. package/dist/chunk-4BGTC333.js.map +0 -1
  168. package/dist/chunk-4GDW5WIQ.js +0 -2
  169. package/dist/chunk-4GDW5WIQ.js.map +0 -1
  170. package/dist/chunk-4NBJXNQ7.js +0 -2
  171. package/dist/chunk-4NBJXNQ7.js.map +0 -1
  172. package/dist/chunk-4ZEXJODE.js +0 -2
  173. package/dist/chunk-4ZEXJODE.js.map +0 -1
  174. package/dist/chunk-5CA552M6.js +0 -2
  175. package/dist/chunk-5CA552M6.js.map +0 -1
  176. package/dist/chunk-5Z3AIBBS.js +0 -2
  177. package/dist/chunk-5Z3AIBBS.js.map +0 -1
  178. package/dist/chunk-6EDRVSCQ.js +0 -2
  179. package/dist/chunk-6EDRVSCQ.js.map +0 -1
  180. package/dist/chunk-6KKZP5G3.js +0 -2
  181. package/dist/chunk-6KKZP5G3.js.map +0 -1
  182. package/dist/chunk-7DGDSULM.js +0 -2
  183. package/dist/chunk-7DGDSULM.js.map +0 -1
  184. package/dist/chunk-7EEEHHLL.js +0 -2
  185. package/dist/chunk-7EEEHHLL.js.map +0 -1
  186. package/dist/chunk-7HMMMRDA.js +0 -2
  187. package/dist/chunk-7HMMMRDA.js.map +0 -1
  188. package/dist/chunk-7QGN6XFA.js +0 -2
  189. package/dist/chunk-7QGN6XFA.js.map +0 -1
  190. package/dist/chunk-AGO3UKJY.js +0 -2
  191. package/dist/chunk-AGO3UKJY.js.map +0 -1
  192. package/dist/chunk-AIQVBX52.js +0 -2
  193. package/dist/chunk-AIQVBX52.js.map +0 -1
  194. package/dist/chunk-AKR2BJRB.js +0 -2
  195. package/dist/chunk-AKR2BJRB.js.map +0 -1
  196. package/dist/chunk-BIPU447J.js +0 -2
  197. package/dist/chunk-BIPU447J.js.map +0 -1
  198. package/dist/chunk-BXWTGQRV.js +0 -2
  199. package/dist/chunk-BXWTGQRV.js.map +0 -1
  200. package/dist/chunk-BZDGWC5O.js +0 -2
  201. package/dist/chunk-BZDGWC5O.js.map +0 -1
  202. package/dist/chunk-C4YYI53B.js +0 -2
  203. package/dist/chunk-C4YYI53B.js.map +0 -1
  204. package/dist/chunk-CBFC4QME.js +0 -2
  205. package/dist/chunk-CBFC4QME.js.map +0 -1
  206. package/dist/chunk-CCSIBUKX.js +0 -2
  207. package/dist/chunk-CCSIBUKX.js.map +0 -1
  208. package/dist/chunk-CTBO27FM.js +0 -2
  209. package/dist/chunk-CTBO27FM.js.map +0 -1
  210. package/dist/chunk-DFXHNK5D.js +0 -2
  211. package/dist/chunk-DFXHNK5D.js.map +0 -1
  212. package/dist/chunk-DOC3XTYC.js +0 -2
  213. package/dist/chunk-DOC3XTYC.js.map +0 -1
  214. package/dist/chunk-DVDHTP4C.js +0 -2
  215. package/dist/chunk-DVDHTP4C.js.map +0 -1
  216. package/dist/chunk-DZSAQN5T.js +0 -2
  217. package/dist/chunk-DZSAQN5T.js.map +0 -1
  218. package/dist/chunk-EDVE3ICB.js +0 -2
  219. package/dist/chunk-EDVE3ICB.js.map +0 -1
  220. package/dist/chunk-EIG6CBTQ.js +0 -2
  221. package/dist/chunk-EIG6CBTQ.js.map +0 -1
  222. package/dist/chunk-EITO7GZX.js +0 -2
  223. package/dist/chunk-EITO7GZX.js.map +0 -1
  224. package/dist/chunk-EOKFSNH5.js +0 -2
  225. package/dist/chunk-EOKFSNH5.js.map +0 -1
  226. package/dist/chunk-EXC2XOL6.js +0 -2
  227. package/dist/chunk-EXC2XOL6.js.map +0 -1
  228. package/dist/chunk-F4DYKYWJ.js +0 -2
  229. package/dist/chunk-F4DYKYWJ.js.map +0 -1
  230. package/dist/chunk-F5ZLEQGN.js +0 -2
  231. package/dist/chunk-F5ZLEQGN.js.map +0 -1
  232. package/dist/chunk-F7ANJ4HD.js +0 -2
  233. package/dist/chunk-F7ANJ4HD.js.map +0 -1
  234. package/dist/chunk-FOY43MIQ.js +0 -2
  235. package/dist/chunk-FOY43MIQ.js.map +0 -1
  236. package/dist/chunk-FQTUN47L.js +0 -2
  237. package/dist/chunk-FQTUN47L.js.map +0 -1
  238. package/dist/chunk-FU4H45BR.js +0 -2
  239. package/dist/chunk-FU4H45BR.js.map +0 -1
  240. package/dist/chunk-FUHASFGU.js +0 -2
  241. package/dist/chunk-FUHASFGU.js.map +0 -1
  242. package/dist/chunk-GKILN5HI.js +0 -2
  243. package/dist/chunk-GKILN5HI.js.map +0 -1
  244. package/dist/chunk-GVKH2BG2.js +0 -2
  245. package/dist/chunk-GVKH2BG2.js.map +0 -1
  246. package/dist/chunk-H4XO5KQZ.js +0 -2
  247. package/dist/chunk-H4XO5KQZ.js.map +0 -1
  248. package/dist/chunk-HIT33DXM.js +0 -2
  249. package/dist/chunk-HIT33DXM.js.map +0 -1
  250. package/dist/chunk-HRG3L64O.js +0 -2
  251. package/dist/chunk-HRG3L64O.js.map +0 -1
  252. package/dist/chunk-IQKIIIQ3.js +0 -2
  253. package/dist/chunk-IQKIIIQ3.js.map +0 -1
  254. package/dist/chunk-J4X5RQTR.js +0 -2
  255. package/dist/chunk-J4X5RQTR.js.map +0 -1
  256. package/dist/chunk-JF7JKJES.js +0 -2
  257. package/dist/chunk-JF7JKJES.js.map +0 -1
  258. package/dist/chunk-JHRYQ25B.js +0 -2
  259. package/dist/chunk-JHRYQ25B.js.map +0 -1
  260. package/dist/chunk-KS6WGBHQ.js +0 -2
  261. package/dist/chunk-KS6WGBHQ.js.map +0 -1
  262. package/dist/chunk-LA22O6VE.js +0 -2
  263. package/dist/chunk-LA22O6VE.js.map +0 -1
  264. package/dist/chunk-LWBGC4MI.js +0 -2
  265. package/dist/chunk-LWBGC4MI.js.map +0 -1
  266. package/dist/chunk-M6ZI7M3R.js +0 -2
  267. package/dist/chunk-M6ZI7M3R.js.map +0 -1
  268. package/dist/chunk-MZSV4LNY.js +0 -2
  269. package/dist/chunk-MZSV4LNY.js.map +0 -1
  270. package/dist/chunk-NDXYABGR.js +0 -2
  271. package/dist/chunk-NDXYABGR.js.map +0 -1
  272. package/dist/chunk-NELCN6E2.js +0 -2
  273. package/dist/chunk-NELCN6E2.js.map +0 -1
  274. package/dist/chunk-NQFPNHFQ.js +0 -2
  275. package/dist/chunk-NQFPNHFQ.js.map +0 -1
  276. package/dist/chunk-NRQWDEPL.js +0 -2
  277. package/dist/chunk-NRQWDEPL.js.map +0 -1
  278. package/dist/chunk-O3JK6QF6.js +0 -2
  279. package/dist/chunk-O3JK6QF6.js.map +0 -1
  280. package/dist/chunk-OGRUMTZC.js +0 -2
  281. package/dist/chunk-OGRUMTZC.js.map +0 -1
  282. package/dist/chunk-OLWYBKQR.js +0 -2
  283. package/dist/chunk-OLWYBKQR.js.map +0 -1
  284. package/dist/chunk-OWFC7RTB.js +0 -2
  285. package/dist/chunk-OWFC7RTB.js.map +0 -1
  286. package/dist/chunk-OZ7TAILP.js +0 -2
  287. package/dist/chunk-OZ7TAILP.js.map +0 -1
  288. package/dist/chunk-PBR7SFWY.js +0 -2
  289. package/dist/chunk-PBR7SFWY.js.map +0 -1
  290. package/dist/chunk-PN2PHVKQ.js +0 -2
  291. package/dist/chunk-PN2PHVKQ.js.map +0 -1
  292. package/dist/chunk-Q2BZSHS2.js +0 -2
  293. package/dist/chunk-Q2BZSHS2.js.map +0 -1
  294. package/dist/chunk-QBBE3G4O.js +0 -2
  295. package/dist/chunk-QBBE3G4O.js.map +0 -1
  296. package/dist/chunk-RAW5SN5A.js +0 -2
  297. package/dist/chunk-RAW5SN5A.js.map +0 -1
  298. package/dist/chunk-RCP3J3FN.js +0 -2
  299. package/dist/chunk-RCP3J3FN.js.map +0 -1
  300. package/dist/chunk-RGKXZJJS.js +0 -3
  301. package/dist/chunk-RGKXZJJS.js.map +0 -1
  302. package/dist/chunk-RSILFO3M.js +0 -2
  303. package/dist/chunk-RSILFO3M.js.map +0 -1
  304. package/dist/chunk-RZQ2HH5A.js +0 -2
  305. package/dist/chunk-RZQ2HH5A.js.map +0 -1
  306. package/dist/chunk-SLAAEXWI.js +0 -2
  307. package/dist/chunk-SLAAEXWI.js.map +0 -1
  308. package/dist/chunk-SLQNE7TL.js +0 -2
  309. package/dist/chunk-SLQNE7TL.js.map +0 -1
  310. package/dist/chunk-SSTXFHNX.js +0 -2
  311. package/dist/chunk-SSTXFHNX.js.map +0 -1
  312. package/dist/chunk-SXGSWVMZ.js +0 -2
  313. package/dist/chunk-SXGSWVMZ.js.map +0 -1
  314. package/dist/chunk-TB6KI6CL.js +0 -2
  315. package/dist/chunk-TB6KI6CL.js.map +0 -1
  316. package/dist/chunk-TORICLEW.js +0 -2
  317. package/dist/chunk-TORICLEW.js.map +0 -1
  318. package/dist/chunk-TVYYMHLA.js +0 -2
  319. package/dist/chunk-TVYYMHLA.js.map +0 -1
  320. package/dist/chunk-TYWCS7GS.js +0 -2
  321. package/dist/chunk-TYWCS7GS.js.map +0 -1
  322. package/dist/chunk-UDJUMHNY.js +0 -2
  323. package/dist/chunk-UDJUMHNY.js.map +0 -1
  324. package/dist/chunk-URDL5OKH.js +0 -2
  325. package/dist/chunk-URDL5OKH.js.map +0 -1
  326. package/dist/chunk-V2FCP4FA.js +0 -2
  327. package/dist/chunk-V2FCP4FA.js.map +0 -1
  328. package/dist/chunk-VCNKCHFF.js +0 -2
  329. package/dist/chunk-VCNKCHFF.js.map +0 -1
  330. package/dist/chunk-VWS2FZKZ.js +0 -2
  331. package/dist/chunk-VWS2FZKZ.js.map +0 -1
  332. package/dist/chunk-WEBAXQID.js +0 -2
  333. package/dist/chunk-WEBAXQID.js.map +0 -1
  334. package/dist/chunk-WEGFAS5P.js +0 -2
  335. package/dist/chunk-WEGFAS5P.js.map +0 -1
  336. package/dist/chunk-WFZACDDH.js +0 -2
  337. package/dist/chunk-WFZACDDH.js.map +0 -1
  338. package/dist/chunk-WOVO46OF.js +0 -2
  339. package/dist/chunk-WOVO46OF.js.map +0 -1
  340. package/dist/chunk-WUHYNXHE.js +0 -2
  341. package/dist/chunk-WUHYNXHE.js.map +0 -1
  342. package/dist/chunk-WW4B3LUO.js +0 -2
  343. package/dist/chunk-WW4B3LUO.js.map +0 -1
  344. package/dist/chunk-X6SOSTUN.js +0 -2
  345. package/dist/chunk-X6SOSTUN.js.map +0 -1
  346. package/dist/chunk-XJFPH3IG.js +0 -2
  347. package/dist/chunk-XJFPH3IG.js.map +0 -1
  348. package/dist/chunk-XPC3GTK7.js +0 -2
  349. package/dist/chunk-XPC3GTK7.js.map +0 -1
  350. package/dist/chunk-XU7DDF5D.js +0 -2
  351. package/dist/chunk-XU7DDF5D.js.map +0 -1
  352. package/dist/chunk-YDRZPQ3J.js +0 -2
  353. package/dist/chunk-YDRZPQ3J.js.map +0 -1
  354. package/dist/chunk-YHG3FCHM.js +0 -2
  355. package/dist/chunk-YHG3FCHM.js.map +0 -1
  356. package/dist/chunk-ZHLE6XEC.js +0 -2
  357. package/dist/chunk-ZHLE6XEC.js.map +0 -1
  358. package/dist/chunk-ZPQPJJQJ.js +0 -2
  359. package/dist/chunk-ZPQPJJQJ.js.map +0 -1
  360. package/dist/chunk-ZVVPUP7V.js +0 -2
  361. package/dist/chunk-ZVVPUP7V.js.map +0 -1
  362. package/dist/components/accordion.js.map +0 -1
  363. package/dist/components/avatar-group.js.map +0 -1
  364. package/dist/components/avatar.js.map +0 -1
  365. package/dist/components/badge.js.map +0 -1
  366. package/dist/components/breadcrumb.js.map +0 -1
  367. package/dist/components/carousel/carousel-action.js.map +0 -1
  368. package/dist/components/carousel/carousel-content.js.map +0 -1
  369. package/dist/components/carousel/carousel-item.js.map +0 -1
  370. package/dist/components/carousel/carousel-root.js.map +0 -1
  371. package/dist/components/carousel/index.js.map +0 -1
  372. package/dist/components/chip.js.map +0 -1
  373. package/dist/components/collapsible.js.map +0 -1
  374. package/dist/components/controls/button.js.map +0 -1
  375. package/dist/components/controls/calendar.js.map +0 -1
  376. package/dist/components/controls/checkbox.js.map +0 -1
  377. package/dist/components/controls/context/field.context.js.map +0 -1
  378. package/dist/components/controls/date-picker/date-picker-caption.js.map +0 -1
  379. package/dist/components/controls/date-picker/date-picker-content.js.map +0 -1
  380. package/dist/components/controls/date-picker/date-picker-icon.js.map +0 -1
  381. package/dist/components/controls/date-picker/date-picker-label.js.map +0 -1
  382. package/dist/components/controls/date-picker/date-picker-root.js.map +0 -1
  383. package/dist/components/controls/date-picker/date-picker-slot.js.map +0 -1
  384. package/dist/components/controls/date-picker/date-picker-styles.js.map +0 -1
  385. package/dist/components/controls/date-picker/date-picker-trigger.js.map +0 -1
  386. package/dist/components/controls/date-picker/date-picker-value.js.map +0 -1
  387. package/dist/components/controls/date-picker/index.js.map +0 -1
  388. package/dist/components/controls/date-picker.js.map +0 -1
  389. package/dist/components/controls/floating-label.js.map +0 -1
  390. package/dist/components/controls/input/index.js.map +0 -1
  391. package/dist/components/controls/input/input-action.js.map +0 -1
  392. package/dist/components/controls/input/input-caption.js.map +0 -1
  393. package/dist/components/controls/input/input-content.js.map +0 -1
  394. package/dist/components/controls/input/input-currency.js.map +0 -1
  395. package/dist/components/controls/input/input-icon.js.map +0 -1
  396. package/dist/components/controls/input/input-label.js.map +0 -1
  397. package/dist/components/controls/input/input-mask.js.map +0 -1
  398. package/dist/components/controls/input/input-number.js.map +0 -1
  399. package/dist/components/controls/input/input-numeric-stepper.js.map +0 -1
  400. package/dist/components/controls/input/input-root.js.map +0 -1
  401. package/dist/components/controls/input/input-slot.js.map +0 -1
  402. package/dist/components/controls/input/input-styles.js.map +0 -1
  403. package/dist/components/controls/input/input-text.js.map +0 -1
  404. package/dist/components/controls/input/input-trigger.js.map +0 -1
  405. package/dist/components/controls/otp-input.js.map +0 -1
  406. package/dist/components/controls/radio.js.map +0 -1
  407. package/dist/components/controls/rating.js.map +0 -1
  408. package/dist/components/controls/rich-editor.js.map +0 -1
  409. package/dist/components/controls/search-input.js.map +0 -1
  410. package/dist/components/controls/search-selector.js.map +0 -1
  411. package/dist/components/controls/select/index.js.map +0 -1
  412. package/dist/components/controls/select/select-caption.js.map +0 -1
  413. package/dist/components/controls/select/select-content.js.map +0 -1
  414. package/dist/components/controls/select/select-header-title.js.map +0 -1
  415. package/dist/components/controls/select/select-header.js.map +0 -1
  416. package/dist/components/controls/select/select-icon.js.map +0 -1
  417. package/dist/components/controls/select/select-multi-value.js.map +0 -1
  418. package/dist/components/controls/select/select-option-text.js.map +0 -1
  419. package/dist/components/controls/select/select-option.js.map +0 -1
  420. package/dist/components/controls/select/select-options.js.map +0 -1
  421. package/dist/components/controls/select/select-root.js.map +0 -1
  422. package/dist/components/controls/select/select-slot.js.map +0 -1
  423. package/dist/components/controls/select/select-styles.js.map +0 -1
  424. package/dist/components/controls/select/select-trigger.js.map +0 -1
  425. package/dist/components/controls/select/select-value.js.map +0 -1
  426. package/dist/components/controls/slider.js.map +0 -1
  427. package/dist/components/controls/switch.js.map +0 -1
  428. package/dist/components/custom/pessoa/index.js.map +0 -1
  429. package/dist/components/custom/pessoa/pessoa-add-button.js.map +0 -1
  430. package/dist/components/custom/pessoa/pessoa-body.js.map +0 -1
  431. package/dist/components/custom/pessoa/pessoa-close-button.js.map +0 -1
  432. package/dist/components/custom/pessoa/pessoa-content.js.map +0 -1
  433. package/dist/components/custom/pessoa/pessoa-footer.js.map +0 -1
  434. package/dist/components/custom/pessoa/pessoa-header.js.map +0 -1
  435. package/dist/components/custom/pessoa/pessoa-trigger.js.map +0 -1
  436. package/dist/components/custom/pessoa/pessoa.context.js.map +0 -1
  437. package/dist/components/custom/pessoa/pessoa.js.map +0 -1
  438. package/dist/components/dialog.js.map +0 -1
  439. package/dist/components/divider.js.map +0 -1
  440. package/dist/components/drag-and-drop/drag-handle.js.map +0 -1
  441. package/dist/components/drag-and-drop/drag-list-item.js.map +0 -1
  442. package/dist/components/drag-and-drop/drag-list.js.map +0 -1
  443. package/dist/components/drag-and-drop/drag-root.js.map +0 -1
  444. package/dist/components/drag-and-drop/index.js.map +0 -1
  445. package/dist/components/drag-and-drop/types/drag-item.js.map +0 -1
  446. package/dist/components/dropdown-menu.js.map +0 -1
  447. package/dist/components/full-calendar/calendar-add-event.js.map +0 -1
  448. package/dist/components/full-calendar/calendar-body.js.map +0 -1
  449. package/dist/components/full-calendar/calendar-cell.js.map +0 -1
  450. package/dist/components/full-calendar/calendar-day-view.js.map +0 -1
  451. package/dist/components/full-calendar/calendar-event.js.map +0 -1
  452. package/dist/components/full-calendar/calendar-header.js.map +0 -1
  453. package/dist/components/full-calendar/calendar-month-view.js.map +0 -1
  454. package/dist/components/full-calendar/calendar-more-events-dropdown.js.map +0 -1
  455. package/dist/components/full-calendar/calendar-navigator.js.map +0 -1
  456. package/dist/components/full-calendar/calendar-root.js.map +0 -1
  457. package/dist/components/full-calendar/calendar-today-button.js.map +0 -1
  458. package/dist/components/full-calendar/calendar-toggle-view.js.map +0 -1
  459. package/dist/components/full-calendar/calendar-view-renderer.js.map +0 -1
  460. package/dist/components/full-calendar/calendar-week-day.js.map +0 -1
  461. package/dist/components/full-calendar/calendar-week-view.js.map +0 -1
  462. package/dist/components/full-calendar/helpers/calendar.js.map +0 -1
  463. package/dist/components/full-calendar/index.js.map +0 -1
  464. package/dist/components/full-calendar/types/calendar-cell.js.map +0 -1
  465. package/dist/components/full-calendar/types/calendar-event.js.map +0 -1
  466. package/dist/components/full-calendar/types/calendar-view.js.map +0 -1
  467. package/dist/components/full-calendar/types/calendar-week-hour.js.map +0 -1
  468. package/dist/components/icon.js.map +0 -1
  469. package/dist/components/list/context/list-context.js.map +0 -1
  470. package/dist/components/list/index.js.map +0 -1
  471. package/dist/components/list/list-content.js.map +0 -1
  472. package/dist/components/list/list-header-title.js.map +0 -1
  473. package/dist/components/list/list-header.js.map +0 -1
  474. package/dist/components/list/list-item.js.map +0 -1
  475. package/dist/components/list/list-root.js.map +0 -1
  476. package/dist/components/logo.js.map +0 -1
  477. package/dist/components/selection-bar.js.map +0 -1
  478. package/dist/components/sheet.js.map +0 -1
  479. package/dist/components/skeleton.js.map +0 -1
  480. package/dist/components/status.js.map +0 -1
  481. package/dist/components/steps/index.js.map +0 -1
  482. package/dist/components/steps/step.js.map +0 -1
  483. package/dist/components/steps/steps-action.js.map +0 -1
  484. package/dist/components/steps/steps-content.js.map +0 -1
  485. package/dist/components/steps/steps-context.js.map +0 -1
  486. package/dist/components/steps/steps-navigation.js.map +0 -1
  487. package/dist/components/steps/steps-root.js.map +0 -1
  488. package/dist/components/table/index.js.map +0 -1
  489. package/dist/components/table/table-body.js.map +0 -1
  490. package/dist/components/table/table-cell.js.map +0 -1
  491. package/dist/components/table/table-footer.js.map +0 -1
  492. package/dist/components/table/table-head.js.map +0 -1
  493. package/dist/components/table/table-header.js.map +0 -1
  494. package/dist/components/table/table-row.js.map +0 -1
  495. package/dist/components/table/table-sort.js.map +0 -1
  496. package/dist/components/table/table.js.map +0 -1
  497. package/dist/components/tabs.js.map +0 -1
  498. package/dist/components/tag.js.map +0 -1
  499. package/dist/components/toast.js.map +0 -1
  500. package/dist/components/tooltip.js.map +0 -1
  501. package/dist/components/typography.js.map +0 -1
  502. package/dist/components/upload.js.map +0 -1
  503. package/dist/hooks/index.js.map +0 -1
  504. package/dist/index.css.map +0 -1
  505. package/dist/logo-PQRZORCS.js +0 -3
  506. package/dist/logo-PQRZORCS.js.map +0 -1
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../src/components/full-calendar/calendar-view-renderer.tsx"],"names":["CalendarViewRenderer","calendarView","useFullCalendar","jsx","CalendarMonthView","CalendarWeekView","CalendarDayView"],"mappings":"kMAKO,SAASA,GAAuB,CACrC,GAAM,CAAE,YAAA,CAAAC,CAAa,EAAIC,CAAAA,EAAgB,CAEzC,OAAQD,CAAAA,EACN,KAAK,OAAA,CACH,OAAOE,IAACC,CAAAA,CAAA,EAAkB,CAAA,CAC5B,KAAK,OACH,OAAOD,GAAAA,CAACE,IAAA,EAAiB,CAAA,CAC3B,KAAK,KAAA,CACH,OAAOF,IAACG,GAAAA,CAAA,EAAgB,EAC1B,QACE,OAAOH,IAACC,CAAAA,CAAA,EAAkB,CAC9B,CACF","file":"chunk-BIPU447J.js","sourcesContent":["import { useFullCalendar } from './calendar-root'\nimport { CalendarMonthView } from './calendar-month-view'\nimport { CalendarWeekView } from './calendar-week-view'\nimport { CalendarDayView } from './calendar-day-view'\n\nexport function CalendarViewRenderer() {\n const { calendarView } = useFullCalendar()\n\n switch (calendarView) {\n case 'month':\n return <CalendarMonthView />\n case 'week':\n return <CalendarWeekView />\n case 'day':\n return <CalendarDayView />\n default:\n return <CalendarMonthView />\n }\n}\n"]}
@@ -1,2 +0,0 @@
1
- import {b}from'./chunk-SXGSWVMZ.js';import {a as a$5}from'./chunk-RSILFO3M.js';import {a}from'./chunk-EDVE3ICB.js';import {a as a$1}from'./chunk-WOVO46OF.js';import {a as a$2}from'./chunk-3RD2PGPH.js';import {a as a$4}from'./chunk-H4XO5KQZ.js';import {a as a$3}from'./chunk-XJFPH3IG.js';import {a as a$7}from'./chunk-3LWJK7RE.js';import {a as a$6}from'./chunk-LA22O6VE.js';import {useMemo}from'react';import {jsx,jsxs}from'react/jsx-runtime';var s=[{name:"M\xEAs",value:"month"},{name:"Semana",value:"week"},{name:"Dia",value:"day"}];function V(){let{calendarView:l,handleChangeView:S}=b(),v=useMemo(()=>s.find(e=>e.value===l)?.name,[l]);return jsx("div",{className:"w-[94px]",children:jsxs(a,{children:[jsxs(a$1,{children:[jsx(a$2,{displayValue:v,name:"calendar-toggle-view",value:l}),jsx(a$3,{className:"text-icon-neutral-3",name:"keyboard_arrow_down"})]}),jsx(a$4,{children:jsx(a$5,{children:s.map(e=>jsx(a$6,{isActive:l===e.value,value:e.value,onClick:()=>S(e.value),children:jsx(a$7,{children:e.name})},e.value))})})]})})}export{V as a};//# sourceMappingURL=chunk-BXWTGQRV.js.map
2
- //# sourceMappingURL=chunk-BXWTGQRV.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../src/components/full-calendar/calendar-toggle-view.tsx"],"names":["views","CalendarToggleView","calendarView","handleChangeView","useFullCalendar","displayValue","useMemo","view","jsx","jsxs","SelectRoot","SelectTrigger","SelectValue","SelectIcon","SelectContent","SelectOptions","SelectOption","SelectOptionText"],"mappings":"0bAcA,IAAMA,CAAAA,CAAsD,CAC1D,CAAE,IAAA,CAAM,QAAA,CAAO,KAAA,CAAO,OAAQ,CAAA,CAC9B,CAAE,IAAA,CAAM,QAAA,CAAU,KAAA,CAAO,MAAO,CAAA,CAChC,CAAE,IAAA,CAAM,KAAA,CAAO,KAAA,CAAO,KAAM,CAC9B,CAAA,CAEO,SAASC,CAAAA,EAAqB,CACnC,GAAM,CAAE,YAAA,CAAAC,CAAAA,CAAc,gBAAA,CAAAC,CAAiB,CAAA,CAAIC,CAAAA,EAAgB,CAErDC,CAAAA,CAAeC,OAAAA,CACnB,IAAMN,EAAM,IAAA,CAAKO,CAAAA,EAAQA,CAAAA,CAAK,KAAA,GAAUL,CAAY,CAAA,EAAG,IAAA,CACvD,CAACA,CAAY,CACf,CAAA,CAEA,OACEM,GAAAA,CAAC,KAAA,CAAA,CAAI,SAAA,CAAU,UAAA,CACb,SAAAC,IAAAA,CAACC,CAAAA,CAAA,CACC,QAAA,CAAA,CAAAD,IAAAA,CAACE,GAAAA,CAAA,CACC,QAAA,CAAA,CAAAH,GAAAA,CAACI,GAAAA,CAAA,CACC,YAAA,CAAcP,CAAAA,CACd,IAAA,CAAK,sBAAA,CACL,KAAA,CAAOH,EACT,CAAA,CACAM,GAAAA,CAACK,GAAAA,CAAA,CACC,SAAA,CAAU,qBAAA,CACV,IAAA,CAAK,qBAAA,CACP,CAAA,CAAA,CACF,CAAA,CAEAL,GAAAA,CAACM,GAAAA,CAAA,CACC,QAAA,CAAAN,GAAAA,CAACO,GAAAA,CAAA,CACE,QAAA,CAAAf,CAAAA,CAAM,GAAA,CAAIO,CAAAA,EACTC,GAAAA,CAACQ,GAAAA,CAAA,CACC,QAAA,CAAUd,CAAAA,GAAiBK,CAAAA,CAAK,KAAA,CAEhC,KAAA,CAAOA,CAAAA,CAAK,KAAA,CACZ,OAAA,CAAS,IAAMJ,EAAiBI,CAAAA,CAAK,KAAK,CAAA,CAE1C,QAAA,CAAAC,GAAAA,CAACS,GAAAA,CAAA,CAAkB,QAAA,CAAAV,EAAK,IAAA,CAAK,CAAA,CAAA,CAJxBA,CAAAA,CAAK,KAKZ,CACD,CAAA,CACH,CAAA,CACF,CAAA,CAAA,CACF,EACF,CAEJ","file":"chunk-BXWTGQRV.js","sourcesContent":["import { useMemo } from 'react'\nimport {\n SelectContent,\n SelectOption,\n SelectRoot,\n SelectTrigger,\n SelectValue,\n SelectOptions,\n SelectOptionText,\n SelectIcon\n} from '../controls/select'\nimport type { CalendarView } from './types/calendar-view'\nimport { useFullCalendar } from './calendar-root'\n\nconst views: Array<{ name: string; value: CalendarView }> = [\n { name: 'Mês', value: 'month' },\n { name: 'Semana', value: 'week' },\n { name: 'Dia', value: 'day' }\n]\n\nexport function CalendarToggleView() {\n const { calendarView, handleChangeView } = useFullCalendar()\n\n const displayValue = useMemo(\n () => views.find(view => view.value === calendarView)?.name,\n [calendarView]\n )\n\n return (\n <div className=\"w-[94px]\">\n <SelectRoot>\n <SelectTrigger>\n <SelectValue\n displayValue={displayValue}\n name=\"calendar-toggle-view\"\n value={calendarView}\n />\n <SelectIcon\n className=\"text-icon-neutral-3\"\n name=\"keyboard_arrow_down\"\n />\n </SelectTrigger>\n\n <SelectContent>\n <SelectOptions>\n {views.map(view => (\n <SelectOption\n isActive={calendarView === view.value}\n key={view.value}\n value={view.value}\n onClick={() => handleChangeView(view.value)}\n >\n <SelectOptionText>{view.name}</SelectOptionText>\n </SelectOption>\n ))}\n </SelectOptions>\n </SelectContent>\n </SelectRoot>\n </div>\n )\n}\n"]}
@@ -1,2 +0,0 @@
1
- import {a}from'./chunk-F5ZLEQGN.js';import {useSortable}from'@dnd-kit/sortable';import {cx}from'@xjur-ui/util';import'react';import {jsx}from'react/jsx-runtime';var r=Object.freeze({Translate:{toString(t){if(!t)return;let{x:n,y:e}=t;return "translate3d("+(n?Math.round(n):0)+"px, "+(e?Math.round(e):0)+"px, 0)"}},Scale:{toString(t){if(!t)return;let{scaleX:n,scaleY:e}=t;return "scaleX("+n+") scaleY("+e+")"}},Transform:{toString(t){if(t)return [r.Translate.toString(t),r.Scale.toString(t)].join(" ")}},Transition:{toString(t){let{property:n,duration:e,easing:u}=t;return n+" "+e+"ms "+u}}});function j({id:t,className:n,draggableClassName:e="",data:u,useCustomDragHandle:a$1=false,hasOverlay:y=true,...i}){let{setNodeRef:c,setActivatorNodeRef:h,attributes:f,listeners:l,transition:p,transform:w,isDragging:d}=useSortable({id:t,data:u}),s={transition:p,transform:r.Transform.toString(w),...d&&{boxShadow:"none"}},m=cx("list-none",a$1?"cursor-default":"cursor-grab",n);return d?jsx("li",{className:cx("data-[overlay=true]:border-border-layer-2 data-[overlay=true]:border-2 data-[overlay=true]:border-dashed data-[overlay=true]:bg-transparent data-[overlay=true]:opacity-60",e,n),"data-overlay":y,ref:c,style:s,...i}):a$1?jsx(a.Provider,{value:{listeners:l,setActivatorNodeRef:h},children:jsx("li",{className:m,ref:c,style:s,...f,...i})}):jsx("li",{className:m,ref:c,style:s,...f,...l,...i})}export{j as a};//# sourceMappingURL=chunk-BZDGWC5O.js.map
2
- //# sourceMappingURL=chunk-BZDGWC5O.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../../node_modules/@dnd-kit/utilities/src/execution-context/canUseDOM.ts","../../../node_modules/@dnd-kit/utilities/src/css.ts","../src/components/drag-and-drop/drag-list-item.tsx"],"names":["CSS","Object","freeze","Translate","toString","transform","x","y","Math","round","Scale","scaleX","scaleY","Transform","join","Transition","_ref","property","duration","easing","DragListItem","id","className","draggableClassName","data","useCustomDragHandle","hasOverlay","props","setNodeRef","setActivatorNodeRef","attributes","listeners","transition","isDragging","useSortable","style","listClassNames","cx","jsx","DragHandlerContext"],"mappings":"iKAI2C,ICS9BA,CAAAA,CAAMC,MAAAA,CAAOC,MAAAA,CAAO,CAC/BC,UAAW,CACTC,QAAAA,CAASC,CAAAA,CAAD,CACN,GAAI,CAACA,CAAAA,CACH,OAGF,GAAM,CAACC,CAAAA,CAAAA,CAAAA,CAAGC,CAAAA,CAAAA,CAAAA,CAAAA,CAAKF,CAAAA,CAEf,OAAA,cAAA,EAAsBC,CAAAA,CAAIE,IAAAA,CAAKC,KAAAA,CAAMH,CAAX,CAAA,CAAgB,CAAA,CAAA,CAA1C,MAAA,EACEC,CAAAA,CAAIC,IAAAA,CAAKC,KAAAA,CAAMF,CAAX,CAAA,CAAgB,CAAA,CAAA,CADtB,QAAA,CAAA,CAAA,CAKJG,KAAAA,CAAO,CACLN,QAAAA,CAASC,CAAAA,CAAD,CACN,GAAI,CAACA,CAAAA,CACH,OAGF,GAAM,CAACM,MAAAA,CAAAA,CAAAA,CAAQC,MAAAA,CAAAA,CAAAA,CAAAA,CAAUP,CAAAA,CAEzB,OAAA,SAAA,CAAiBM,CAAAA,CAAjB,WAAA,CAAmCC,CAAAA,CAAnC,GAAA,CAAA,CAAA,CAGJC,SAAAA,CAAW,CACTT,QAAAA,CAASC,CAAAA,CAAD,CACN,GAAKA,CAAAA,CAIL,OAAO,CACLL,CAAAA,CAAIG,SAAAA,CAAUC,QAAAA,CAASC,CAAvB,CAAA,CACAL,CAAAA,CAAIU,KAAAA,CAAMN,QAAAA,CAAS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,CACAd,CAAAA,CACAD,CACF,CAAA,CACA,cAAA,CAAcI,CAAAA,CACd,GAAA,CAAKE,CAAAA,CACL,KAAA,CAAOO,CAAAA,CACN,GAAGR,CAAAA,CACN,CAAA,CAIAF,GAAAA,CAEAa,GAAAA,CAACC,CAAAA,CAAmB,QAAA,CAAnB,CAA4B,KAAA,CAAO,CAAE,UAAAR,CAAAA,CAAW,mBAAA,CAAAF,CAAoB,CAAA,CACnE,QAAA,CAAAS,GAAAA,CAAC,IAAA,CAAA,CACC,SAAA,CAAWF,CAAAA,CACX,GAAA,CAAKR,CAAAA,CACL,KAAA,CAAOO,CAAAA,CACN,GAAGL,CAAAA,CACH,GAAGH,CAAAA,CACN,CAAA,CACF,CAAA,CAKFW,GAAAA,CAAC,IAAA,CAAA,CACC,SAAA,CAAWF,CAAAA,CACX,GAAA,CAAKR,CAAAA,CACL,KAAA,CAAOO,CAAAA,CACN,GAAGL,CAAAA,CACH,GAAGC,CAAAA,CACH,GAAGJ,EACN,CAEJ","file":"chunk-BZDGWC5O.js","sourcesContent":["// https://github.com/facebook/react/blob/master/packages/shared/ExecutionEnvironment.js\nexport const canUseDOM =\n typeof window !== 'undefined' &&\n typeof window.document !== 'undefined' &&\n typeof window.document.createElement !== 'undefined';\n","export type Transform = {\n x: number;\n y: number;\n scaleX: number;\n scaleY: number;\n};\n\nexport interface Transition {\n property: string;\n easing: string;\n duration: number;\n}\n\nexport const CSS = Object.freeze({\n Translate: {\n toString(transform: Transform | null) {\n if (!transform) {\n return;\n }\n\n const {x, y} = transform;\n\n return `translate3d(${x ? Math.round(x) : 0}px, ${\n y ? Math.round(y) : 0\n }px, 0)`;\n },\n },\n Scale: {\n toString(transform: Transform | null) {\n if (!transform) {\n return;\n }\n\n const {scaleX, scaleY} = transform;\n\n return `scaleX(${scaleX}) scaleY(${scaleY})`;\n },\n },\n Transform: {\n toString(transform: Transform | null) {\n if (!transform) {\n return;\n }\n\n return [\n CSS.Translate.toString(transform),\n CSS.Scale.toString(transform),\n ].join(' ');\n },\n },\n Transition: {\n toString({property, duration, easing}: Transition) {\n return `${property} ${duration}ms ${easing}`;\n },\n },\n});\n","import type { UniqueIdentifier } from '@dnd-kit/core'\nimport { useSortable } from '@dnd-kit/sortable'\nimport { cx } from '@xjur-ui/util'\nimport { type ComponentProps, type CSSProperties } from 'react'\nimport { CSS } from '@dnd-kit/utilities'\nimport type { DragItem } from './types/drag-item'\nimport { DragHandlerContext } from './drag-handle'\n\nexport function DragListItem({\n id,\n className,\n draggableClassName = '',\n data,\n useCustomDragHandle = false,\n hasOverlay = true,\n ...props\n}: Omit<ComponentProps<'li'>, 'id'> & {\n id: UniqueIdentifier\n draggableClassName?: string\n data: DragItem\n useCustomDragHandle?: boolean\n hasOverlay?: boolean\n}) {\n const {\n setNodeRef,\n setActivatorNodeRef,\n attributes,\n listeners,\n transition,\n transform,\n isDragging\n } = useSortable({\n id,\n data\n })\n\n const style: CSSProperties = {\n transition,\n transform: CSS.Transform.toString(transform),\n ...(isDragging && {\n boxShadow: 'none'\n })\n }\n\n const listClassNames = cx(\n 'list-none',\n useCustomDragHandle ? 'cursor-default' : 'cursor-grab',\n className\n )\n\n if (isDragging) {\n return (\n <li\n className={cx(\n 'data-[overlay=true]:border-border-layer-2 data-[overlay=true]:border-2 data-[overlay=true]:border-dashed data-[overlay=true]:bg-transparent data-[overlay=true]:opacity-60',\n draggableClassName,\n className\n )}\n data-overlay={hasOverlay}\n ref={setNodeRef}\n style={style}\n {...props}\n />\n )\n }\n\n if (useCustomDragHandle) {\n return (\n <DragHandlerContext.Provider value={{ listeners, setActivatorNodeRef }}>\n <li\n className={listClassNames}\n ref={setNodeRef}\n style={style}\n {...attributes}\n {...props}\n />\n </DragHandlerContext.Provider>\n )\n }\n\n return (\n <li\n className={listClassNames}\n ref={setNodeRef}\n style={style}\n {...attributes}\n {...listeners}\n {...props}\n />\n )\n}\n"]}
@@ -1,2 +0,0 @@
1
- import {a as a$1}from'./chunk-NRQWDEPL.js';import {twMerge}from'@xjur-ui/util';import {useContext}from'react';import {jsx}from'react/jsx-runtime';function a({className:e,...r}){let{scrollRef:t}=useContext(a$1);return jsx("div",{className:twMerge("gap-small bg-layer-2-idle relative z-[5] flex items-center","scrollbar-hide overflow-x-auto overflow-y-visible","p-small min-w-0",e),ref:t,...r})}export{a};//# sourceMappingURL=chunk-C4YYI53B.js.map
2
- //# sourceMappingURL=chunk-C4YYI53B.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../src/components/carousel/carousel-content.tsx"],"names":["CarouselContent","className","props","scrollRef","useContext","CarouselRootContext","jsx","twMerge"],"mappings":"kJAIO,SAASA,EAAgB,CAC9B,SAAA,CAAAC,EACA,GAAGC,CACL,EAA0B,CACxB,GAAM,CAAE,SAAA,CAAAC,CAAU,CAAA,CAAIC,UAAAA,CAAWC,GAAmB,CAAA,CAEpD,OACEC,IAAC,KAAA,CAAA,CACC,SAAA,CAAWC,QACT,4DAAA,CACA,mDAAA,CACA,kBACAN,CACF,CAAA,CACA,IAAKE,CAAAA,CACJ,GAAGD,EACN,CAEJ","file":"chunk-C4YYI53B.js","sourcesContent":["import { twMerge } from '@xjur-ui/util'\nimport { useContext, type ComponentProps } from 'react'\nimport { CarouselRootContext } from './carousel-root'\n\nexport function CarouselContent({\n className,\n ...props\n}: ComponentProps<'div'>) {\n const { scrollRef } = useContext(CarouselRootContext)\n\n return (\n <div\n className={twMerge(\n 'gap-small bg-layer-2-idle relative z-[5] flex items-center',\n 'scrollbar-hide overflow-x-auto overflow-y-visible',\n 'p-small min-w-0',\n className\n )}\n ref={scrollRef}\n {...props}\n />\n )\n}\n"]}
@@ -1,2 +0,0 @@
1
- import'react';import*as t from'@radix-ui/react-separator';import {cx}from'@xjur-ui/util';import {jsx}from'react/jsx-runtime';function m({className:o,orientation:r="horizontal",decorative:a=true,...i}){return jsx(t.Root,{className:cx("bg-border-layer-2 shrink-0 data-[orientation=horizontal]:h-px data-[orientation=horizontal]:w-full","data-[orientation=vertical]:h-full data-[orientation=vertical]:w-px",o),"data-slot":"separator",decorative:a,orientation:r,...i})}export{m as a};//# sourceMappingURL=chunk-CBFC4QME.js.map
2
- //# sourceMappingURL=chunk-CBFC4QME.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../src/components/divider.tsx"],"names":["Divider","className","orientation","decorative","props","jsx","cx"],"mappings":"6HAIO,SAASA,CAAAA,CAAQ,CACtB,SAAA,CAAAC,CAAAA,CACA,YAAAC,CAAAA,CAAc,YAAA,CACd,WAAAC,CAAAA,CAAa,IAAA,CACb,GAAGC,CACL,CAAA,CAAyD,CACvD,OACEC,GAAAA,CAAoB,OAAnB,CACC,SAAA,CAAWC,GACT,oGAAA,CACA,qEAAA,CACAL,CACF,CAAA,CACA,WAAA,CAAU,YACV,UAAA,CAAYE,CAAAA,CACZ,YAAaD,CAAAA,CACZ,GAAGE,EACN,CAEJ","file":"chunk-CBFC4QME.js","sourcesContent":["import * as React from 'react'\nimport * as SeparatorPrimitive from '@radix-ui/react-separator'\nimport { cx } from '@xjur-ui/util'\n\nexport function Divider({\n className,\n orientation = 'horizontal',\n decorative = true,\n ...props\n}: React.ComponentProps<typeof SeparatorPrimitive.Root>) {\n return (\n <SeparatorPrimitive.Root\n className={cx(\n 'bg-border-layer-2 shrink-0 data-[orientation=horizontal]:h-px data-[orientation=horizontal]:w-full',\n 'data-[orientation=vertical]:h-full data-[orientation=vertical]:w-px',\n className\n )}\n data-slot=\"separator\"\n decorative={decorative}\n orientation={orientation}\n {...props}\n />\n )\n}\n"]}
@@ -1,2 +0,0 @@
1
- import {a}from'./chunk-5CA552M6.js';import {jsx}from'react/jsx-runtime';function p(t){return jsx(a,{...t})}export{p as a};//# sourceMappingURL=chunk-CCSIBUKX.js.map
2
- //# sourceMappingURL=chunk-CCSIBUKX.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../src/components/controls/select/select-header-title.tsx"],"names":["SelectHeaderTitle","props","jsx","ListHeaderTitle"],"mappings":"wEAGO,SAASA,CAAAA,CACdC,CAAAA,CACA,CACA,OAAOC,GAAAA,CAACC,CAAAA,CAAA,CAAiB,GAAGF,CAAAA,CAAO,CACrC","file":"chunk-CCSIBUKX.js","sourcesContent":["import type { ComponentProps } from 'react'\nimport { ListHeaderTitle } from '../../list'\n\nexport function SelectHeaderTitle(\n props: ComponentProps<typeof ListHeaderTitle>\n) {\n return <ListHeaderTitle {...props} />\n}\n"]}
@@ -1,2 +0,0 @@
1
- import {a}from'./chunk-AIQVBX52.js';import {b}from'./chunk-2JQVYVAT.js';import {tv,twMerge}from'@xjur-ui/util';import*as i from'@radix-ui/react-popover';import {jsx}from'react/jsx-runtime';var{trigger:g}=a();function v({className:e,...a}){let{state:r,variant:d}=b(),p=tv({base:["group bg-layer-2-idle relative"],variants:{state:{normal:["border-border-layer-2 hover:border-border-layer-3 has-[input:not(:placeholder-shown)]:border-primary-idle"],error:["border-danger-idle hover:border-danger-idle"],disabled:["border border-border-layer-2 opacity-60"]}}}),l=twMerge(g({state:r,className:e}),d==="filter"&&p({state:r,className:e}));return jsx(i.Trigger,{className:l,disabled:r==="disabled",...a})}export{v as a};//# sourceMappingURL=chunk-CTBO27FM.js.map
2
- //# sourceMappingURL=chunk-CTBO27FM.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../src/components/controls/date-picker/date-picker-trigger.tsx"],"names":["trigger","datePicker","DatePickerTrigger","className","props","state","variant","useFieldContext","filterTrigger","tv","mergedClassName","twMerge","jsx"],"mappings":"6LAMA,GAAM,CAAE,QAAAA,CAAQ,CAAA,CAAIC,GAAW,CAExB,SAASC,EAAkB,CAChC,SAAA,CAAAC,EACA,GAAGC,CACL,EAAgD,CAC9C,GAAM,CAAE,KAAA,CAAAC,CAAAA,CAAO,QAAAC,CAAQ,CAAA,CAAIC,GAAgB,CAErCC,CAAAA,CAAgBC,GAAG,CACvB,IAAA,CAAM,CAAC,gCAAgC,CAAA,CACvC,QAAA,CAAU,CACR,KAAA,CAAO,CACL,OAAQ,CACN,2GACF,EACA,KAAA,CAAO,CAAC,6CAA6C,CAAA,CACrD,QAAA,CAAU,CAAC,yCAAyC,CACtD,CACF,CACF,CAAC,EAEKC,CAAAA,CAAkBC,OAAAA,CACtBX,EAAQ,CAAE,KAAA,CAAAK,CAAAA,CAAO,SAAA,CAAAF,CAAU,CAAC,EAC5BG,CAAAA,GAAY,QAAA,EAAYE,EAAc,CAAE,KAAA,CAAAH,EAAO,SAAA,CAAAF,CAAU,CAAC,CAC5D,CAAA,CAEA,OACES,GAAAA,CAAc,CAAA,CAAA,OAAA,CAAb,CACC,SAAA,CAAWF,CAAAA,CACX,SAAUL,CAAAA,GAAU,UAAA,CACnB,GAAGD,CAAAA,CACN,CAEJ","file":"chunk-CTBO27FM.js","sourcesContent":["import { tv, twMerge } from '@xjur-ui/util'\nimport type { ComponentProps } from 'react'\nimport * as RadixPopover from '@radix-ui/react-popover'\nimport { useFieldContext } from '../context/field.context'\nimport { datePicker } from './date-picker-styles'\n\nconst { trigger } = datePicker()\n\nexport function DatePickerTrigger({\n className,\n ...props\n}: ComponentProps<typeof RadixPopover.Trigger>) {\n const { state, variant } = useFieldContext()\n\n const filterTrigger = tv({\n base: ['group bg-layer-2-idle relative'],\n variants: {\n state: {\n normal: [\n 'border-border-layer-2 hover:border-border-layer-3 has-[input:not(:placeholder-shown)]:border-primary-idle'\n ],\n error: ['border-danger-idle hover:border-danger-idle'],\n disabled: ['border border-border-layer-2 opacity-60']\n }\n }\n })\n\n const mergedClassName = twMerge(\n trigger({ state, className }),\n variant === 'filter' && filterTrigger({ state, className })\n )\n\n return (\n <RadixPopover.Trigger\n className={mergedClassName}\n disabled={state === 'disabled'}\n {...props}\n />\n )\n}\n"]}
@@ -1,2 +0,0 @@
1
- import {useDroppable}from'@dnd-kit/core';import {SortableContext,verticalListSortingStrategy,horizontalListSortingStrategy}from'@dnd-kit/sortable';import {cx}from'@xjur-ui/util';import {jsx}from'react/jsx-runtime';function x({items:e,orientation:r="vertical",children:o,className:i,id:a,data:n,...s}){let m=r==="vertical"?verticalListSortingStrategy:horizontalListSortingStrategy,{setNodeRef:l}=useDroppable({id:a,data:n});return jsx(SortableContext,{items:e.map(p=>p),strategy:m,...s,children:jsx("ul",{className:cx(i),ref:l,children:o})})}export{x as a};//# sourceMappingURL=chunk-DFXHNK5D.js.map
2
- //# sourceMappingURL=chunk-DFXHNK5D.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../src/components/drag-and-drop/drag-list.tsx"],"names":["DragList","items","orientation","children","className","id","data","props","strategy","verticalListSortingStrategy","horizontalListSortingStrategy","setNodeRef","useDroppable","jsx","SortableContext","item","cx"],"mappings":"sNAUO,SAASA,CAAAA,CAAS,CACvB,MAAAC,CAAAA,CACA,WAAA,CAAAC,EAAc,UAAA,CACd,QAAA,CAAAC,EACA,SAAA,CAAAC,CAAAA,CACA,EAAA,CAAAC,CAAAA,CACA,KAAAC,CAAAA,CACA,GAAGC,CACL,CAAA,CAMG,CACD,IAAMC,CAAAA,CACJN,CAAAA,GAAgB,UAAA,CACZO,2BAAAA,CACAC,8BAEA,CAAE,UAAA,CAAAC,CAAW,CAAA,CAAIC,aAAa,CAClC,EAAA,CAAAP,CAAAA,CACA,IAAA,CAAAC,CACF,CAAC,CAAA,CAED,OACEO,GAAAA,CAACC,eAAAA,CAAA,CACC,KAAA,CAAOb,CAAAA,CAAM,GAAA,CAAIc,CAAAA,EAAQA,CAAI,CAAA,CAC7B,QAAA,CAAUP,EACT,GAAGD,CAAAA,CAEJ,SAAAM,GAAAA,CAAC,IAAA,CAAA,CAAG,SAAA,CAAWG,EAAAA,CAAGZ,CAAS,CAAA,CAAG,GAAA,CAAKO,EAChC,QAAA,CAAAR,CAAAA,CACH,EACF,CAEJ","file":"chunk-DFXHNK5D.js","sourcesContent":["import { useDroppable, type UniqueIdentifier } from '@dnd-kit/core'\nimport {\n type SortableContextProps,\n verticalListSortingStrategy,\n horizontalListSortingStrategy,\n SortableContext\n} from '@dnd-kit/sortable'\nimport { cx } from '@xjur-ui/util'\nimport type { DragItem } from './types/drag-item'\n\nexport function DragList({\n items,\n orientation = 'vertical',\n children,\n className,\n id,\n data,\n ...props\n}: Omit<SortableContextProps, 'items' | 'id'> & {\n items: DragItem[]\n orientation?: 'vertical' | 'horizontal'\n className?: string\n id: UniqueIdentifier\n data?: DragItem\n}) {\n const strategy =\n orientation === 'vertical'\n ? verticalListSortingStrategy\n : horizontalListSortingStrategy\n\n const { setNodeRef } = useDroppable({\n id,\n data\n })\n\n return (\n <SortableContext\n items={items.map(item => item)}\n strategy={strategy}\n {...props}\n >\n <ul className={cx(className)} ref={setNodeRef}>\n {children}\n </ul>\n </SortableContext>\n )\n}\n"]}
@@ -1,2 +0,0 @@
1
- import {i}from'./chunk-43DUEHUA.js';import {twMerge}from'@xjur-ui/util';import {jsx}from'react/jsx-runtime';function f({className:o,...t}){return jsx(i,{className:twMerge("flex items-center justify-between",o),...t})}export{f as a};//# sourceMappingURL=chunk-DOC3XTYC.js.map
2
- //# sourceMappingURL=chunk-DOC3XTYC.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../src/components/custom/pessoa/pessoa-footer.tsx"],"names":["PessoaFooter","className","props","jsx","SheetFooter","twMerge"],"mappings":"4GAIO,SAASA,CAAAA,CAAa,CAC3B,SAAA,CAAAC,CAAAA,CACA,GAAGC,CACL,EAAuC,CACrC,OACEC,GAAAA,CAACC,CAAAA,CAAA,CACC,SAAA,CAAWC,OAAAA,CAAQ,mCAAA,CAAqCJ,CAAS,CAAA,CAChE,GAAGC,CAAAA,CACN,CAEJ","file":"chunk-DOC3XTYC.js","sourcesContent":["import { twMerge } from '@xjur-ui/util'\nimport type { ComponentProps } from 'react'\nimport { SheetFooter } from '../../sheet'\n\nexport function PessoaFooter({\n className,\n ...props\n}: ComponentProps<typeof SheetFooter>) {\n return (\n <SheetFooter\n className={twMerge('flex items-center justify-between', className)}\n {...props}\n />\n )\n}\n"]}
@@ -1,2 +0,0 @@
1
- import {cx}from'@xjur-ui/util';import {jsx}from'react/jsx-runtime';var a=["account_balance","assignment","task","ad_units","add_a_photo","add","adjust","archive","arrow_downward_alt","arrow_downward","arrow_drop_down","arrow_drop_up","arrow_split","arrow_upward_alt","arrow_upward","attach_file","attach_money","autorenew","brightness_1","calendar_today","call","chat_bubble","check_circle","check","chevron_left","chevron_right","close","collapse_all","contacts","content_copy","dangerous","dashboard","delete","download","draft","drafts","drag_handle","drag_indicator","edit_document","edit_square","edit","error","expand_all","expand_content","file_export","filter_alt","filter_list","first_page","flag_2","folder_open","folder","format_bold","format_italic","format_italic","format_size","format_strikethrough","gavel","group","headphones","help","hourglass_bottom","imagesmode","import_contacts","inbox","info","inventory_2","keep","keep","keyboard_arrow_down","keyboard_arrow_up","keyboard_return","label_off","label","last_page","left_panel_close","left_panel_open","link_off","link","linked_services","list","location_on","lock","logout","mail","menu","mic","more_vert","notifications","numbers","person_add","person_off","person","play_circle","progress_activity","question_mark","radio_button_unchecked","refresh","remove","reply","right_panel_close","right_panel_open","schedule","search","sell","send","settings","share","smart_display","star","star","swap_vert","thumb_down","thumb_up","tune","unarchive","undo","upload","verified_user","videocam","view_list","view_module","view_object_track","visibility_off","visibility","warning","wifi_2_bar","wifi_off","wifi","work","workspaces","article","id_card","badge","home","save","code","favorite","analytics","reports","event","account_circle","history","security","bar_chart","category","format_underlined","format_list_bulleted","format_list_numbered","redo","more_horiz"];function l({className:o,filled:r=false,name:t,...e}){return jsx("span",{...e,className:cx("material-symbols-outlined","text-size-body-lg select-none",o),style:{fontVariationSettings:`'FILL' ${r?1:0}, 'wght' 600, 'GRAD' 0, 'opsz' 20`,...e.style},children:t})}export{a,l as b};//# sourceMappingURL=chunk-DVDHTP4C.js.map
2
- //# sourceMappingURL=chunk-DVDHTP4C.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../src/resources/icons.ts","../src/components/icon.tsx"],"names":["icons","Icon","className","filled","name","props","jsx","cx"],"mappings":"mEAAO,IAAMA,EAAQ,CACnB,iBAAA,CACA,aACA,MAAA,CACA,UAAA,CACA,cACA,KAAA,CACA,QAAA,CACA,UACA,oBAAA,CACA,gBAAA,CACA,kBACA,eAAA,CACA,aAAA,CACA,kBAAA,CACA,cAAA,CACA,aAAA,CACA,cAAA,CACA,YACA,cAAA,CACA,gBAAA,CACA,OACA,aAAA,CACA,cAAA,CACA,QACA,cAAA,CACA,eAAA,CACA,QACA,cAAA,CACA,UAAA,CACA,eACA,WAAA,CACA,WAAA,CACA,SACA,UAAA,CACA,OAAA,CACA,SACA,aAAA,CACA,gBAAA,CACA,eAAA,CACA,aAAA,CACA,MAAA,CACA,OAAA,CACA,aACA,gBAAA,CACA,aAAA,CACA,aACA,aAAA,CACA,YAAA,CACA,SACA,aAAA,CACA,QAAA,CACA,cACA,eAAA,CACA,eAAA,CACA,cACA,sBAAA,CACA,OAAA,CACA,QACA,YAAA,CACA,MAAA,CACA,mBACA,YAAA,CACA,iBAAA,CACA,OAAA,CACA,MAAA,CACA,aAAA,CACA,MAAA,CACA,OACA,qBAAA,CACA,mBAAA,CACA,kBACA,WAAA,CACA,OAAA,CACA,YACA,kBAAA,CACA,iBAAA,CACA,UAAA,CACA,MAAA,CACA,iBAAA,CACA,MAAA,CACA,cACA,MAAA,CACA,QAAA,CACA,OACA,MAAA,CACA,KAAA,CACA,YACA,eAAA,CACA,SAAA,CACA,YAAA,CACA,YAAA,CACA,QAAA,CACA,aAAA,CACA,oBACA,eAAA,CACA,wBAAA,CACA,UACA,QAAA,CACA,OAAA,CACA,oBACA,kBAAA,CACA,UAAA,CACA,SACA,MAAA,CACA,MAAA,CACA,WACA,OAAA,CACA,eAAA,CACA,OACA,MAAA,CACA,WAAA,CACA,aACA,UAAA,CACA,MAAA,CACA,WAAA,CACA,MAAA,CACA,QAAA,CACA,eAAA,CACA,WACA,WAAA,CACA,aAAA,CACA,oBACA,gBAAA,CACA,YAAA,CACA,UACA,YAAA,CACA,UAAA,CACA,MAAA,CACA,MAAA,CACA,YAAA,CACA,SAAA,CACA,UACA,OAAA,CACA,MAAA,CACA,OACA,MAAA,CACA,UAAA,CACA,YACA,SAAA,CACA,OAAA,CACA,gBAAA,CACA,SAAA,CACA,UAAA,CACA,WAAA,CACA,WACA,mBAAA,CACA,sBAAA,CACA,uBACA,MAAA,CACA,YACF,EC9IO,SAASC,CAAAA,CAAK,CAAE,SAAA,CAAAC,CAAAA,CAAW,OAAAC,CAAAA,CAAS,KAAA,CAAO,KAAAC,CAAAA,CAAM,GAAGC,CAAM,CAAA,CAAc,CAC7E,OACEC,IAAC,MAAA,CAAA,CACE,GAAGD,EACJ,SAAA,CAAWE,EAAAA,CACT,4BACA,+BAAA,CACAL,CACF,CAAA,CACA,KAAA,CAAO,CACL,qBAAA,CAAuB,UAAUC,CAAAA,CAAS,CAAA,CAAI,CAAC,CAAA,iCAAA,CAAA,CAC/C,GAAGE,EAAM,KACX,CAAA,CAEC,QAAA,CAAAD,CAAAA,CACH,CAEJ","file":"chunk-DVDHTP4C.js","sourcesContent":["export const icons = [\n 'account_balance',\n 'assignment',\n 'task',\n 'ad_units',\n 'add_a_photo',\n 'add',\n 'adjust',\n 'archive',\n 'arrow_downward_alt',\n 'arrow_downward',\n 'arrow_drop_down',\n 'arrow_drop_up',\n 'arrow_split',\n 'arrow_upward_alt',\n 'arrow_upward',\n 'attach_file',\n 'attach_money',\n 'autorenew',\n 'brightness_1',\n 'calendar_today',\n 'call',\n 'chat_bubble',\n 'check_circle',\n 'check',\n 'chevron_left',\n 'chevron_right',\n 'close',\n 'collapse_all',\n 'contacts',\n 'content_copy',\n 'dangerous',\n 'dashboard',\n 'delete',\n 'download',\n 'draft',\n 'drafts',\n 'drag_handle',\n 'drag_indicator',\n 'edit_document',\n 'edit_square',\n 'edit',\n 'error',\n 'expand_all',\n 'expand_content',\n 'file_export',\n 'filter_alt',\n 'filter_list',\n 'first_page',\n 'flag_2',\n 'folder_open',\n 'folder',\n 'format_bold',\n 'format_italic',\n 'format_italic',\n 'format_size',\n 'format_strikethrough',\n 'gavel',\n 'group',\n 'headphones',\n 'help',\n 'hourglass_bottom',\n 'imagesmode',\n 'import_contacts',\n 'inbox',\n 'info',\n 'inventory_2',\n 'keep',\n 'keep',\n 'keyboard_arrow_down',\n 'keyboard_arrow_up',\n 'keyboard_return',\n 'label_off',\n 'label',\n 'last_page',\n 'left_panel_close',\n 'left_panel_open',\n 'link_off',\n 'link',\n 'linked_services',\n 'list',\n 'location_on',\n 'lock',\n 'logout',\n 'mail',\n 'menu',\n 'mic',\n 'more_vert',\n 'notifications',\n 'numbers',\n 'person_add',\n 'person_off',\n 'person',\n 'play_circle',\n 'progress_activity',\n 'question_mark',\n 'radio_button_unchecked',\n 'refresh',\n 'remove',\n 'reply',\n 'right_panel_close',\n 'right_panel_open',\n 'schedule',\n 'search',\n 'sell',\n 'send',\n 'settings',\n 'share',\n 'smart_display',\n 'star',\n 'star',\n 'swap_vert',\n 'thumb_down',\n 'thumb_up',\n 'tune',\n 'unarchive',\n 'undo',\n 'upload',\n 'verified_user',\n 'videocam',\n 'view_list',\n 'view_module',\n 'view_object_track',\n 'visibility_off',\n 'visibility',\n 'warning',\n 'wifi_2_bar',\n 'wifi_off',\n 'wifi',\n 'work',\n 'workspaces',\n 'article',\n 'id_card',\n 'badge',\n 'home',\n 'save',\n 'code',\n 'favorite',\n 'analytics',\n 'reports',\n 'event',\n 'account_circle',\n 'history',\n 'security',\n 'bar_chart',\n 'category',\n 'format_underlined',\n 'format_list_bulleted',\n 'format_list_numbered',\n 'redo',\n 'more_horiz'\n] as const\n\nexport type IconType = (typeof icons)[number]\n","import type { ComponentProps } from 'react'\nimport { cx } from '@xjur-ui/util'\nimport type { IconType } from '../resources/icons'\n\nexport type IconProps = {\n name: IconType\n filled?: boolean\n} & ComponentProps<'span'>\n\nexport function Icon({ className, filled = false, name, ...props }: IconProps) {\n return (\n <span\n {...props}\n className={cx(\n 'material-symbols-outlined',\n 'text-size-body-lg select-none',\n className\n )}\n style={{\n fontVariationSettings: `'FILL' ${filled ? 1 : 0}, 'wght' 600, 'GRAD' 0, 'opsz' 20`,\n ...props.style\n }}\n >\n {name}\n </span>\n )\n}\n\nexport { icons, type IconType } from '../resources/icons'\n"]}
@@ -1,2 +0,0 @@
1
- import {a}from'./chunk-4GDW5WIQ.js';import {b}from'./chunk-2JQVYVAT.js';import {jsx}from'react/jsx-runtime';var{content:r}=a();function c({className:n,...e}){let{state:p}=b();return jsx("div",{className:r({className:n,state:p}),...e})}export{c as a};//# sourceMappingURL=chunk-DZSAQN5T.js.map
2
- //# sourceMappingURL=chunk-DZSAQN5T.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../src/components/controls/input/input-content.tsx"],"names":["content","input","InputContent","className","props","state","useFieldContext","jsx"],"mappings":"4GAIA,GAAM,CAAE,OAAA,CAAAA,CAAQ,CAAA,CAAIC,CAAAA,EAAM,CAEnB,SAASC,EAAa,CAAE,SAAA,CAAAC,EAAW,GAAGC,CAAM,EAA0B,CAC3E,GAAM,CAAE,KAAA,CAAAC,CAAM,CAAA,CAAIC,CAAAA,GAClB,OAAOC,GAAAA,CAAC,OAAI,SAAA,CAAWP,CAAAA,CAAQ,CAAE,SAAA,CAAAG,EAAW,KAAA,CAAAE,CAAM,CAAC,CAAA,CAAI,GAAGD,EAAO,CACnE","file":"chunk-DZSAQN5T.js","sourcesContent":["import type { ComponentProps } from 'react'\nimport { useFieldContext } from '../context/field.context'\nimport { input } from './input-styles'\n\nconst { content } = input()\n\nexport function InputContent({ className, ...props }: ComponentProps<'div'>) {\n const { state } = useFieldContext()\n return <div className={content({ className, state })} {...props} />\n}\n"]}
@@ -1,2 +0,0 @@
1
- import {a}from'./chunk-SLQNE7TL.js';import {a as a$1}from'./chunk-2JQVYVAT.js';import*as p from'@radix-ui/react-popover';import {jsx}from'react/jsx-runtime';var{wrapper:C}=a();function R({className:n,state:e="normal",defaultOpen:a,variant:i="normal",modal:d,open:l,onOpenChange:m,...v}){return jsx(p.Root,{defaultOpen:a,modal:d,open:l,onOpenChange:m,children:jsx(a$1.Provider,{value:{state:e,variant:i},children:jsx("div",{className:C({className:n,state:e}),...v})})})}export{R as a};//# sourceMappingURL=chunk-EDVE3ICB.js.map
2
- //# sourceMappingURL=chunk-EDVE3ICB.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../src/components/controls/select/select-root.tsx"],"names":["wrapper","select","SelectRoot","className","state","defaultOpen","variant","modal","open","handleOpenChange","props","jsx","FieldContext"],"mappings":"6JAKA,GAAM,CAAE,OAAA,CAAAA,CAAQ,EAAIC,CAAAA,EAAO,CAEpB,SAASC,CAAAA,CAAW,CACzB,SAAA,CAAAC,CAAAA,CACA,KAAA,CAAAC,CAAAA,CAAQ,SACR,WAAA,CAAAC,CAAAA,CACA,OAAA,CAAAC,CAAAA,CAAU,SACV,KAAA,CAAAC,CAAAA,CACA,IAAA,CAAAC,CAAAA,CACA,aAAcC,CAAAA,CACd,GAAGC,CACL,CAAA,CAE4C,CAC1C,OACEC,GAAAA,CAAc,CAAA,CAAA,IAAA,CAAb,CACC,YAAaN,CAAAA,CACb,KAAA,CAAOE,CAAAA,CACP,IAAA,CAAMC,EACN,YAAA,CAAcC,CAAAA,CAEd,QAAA,CAAAE,GAAAA,CAACC,IAAa,QAAA,CAAb,CAAsB,KAAA,CAAO,CAAE,MAAAR,CAAAA,CAAO,OAAA,CAAAE,CAAQ,CAAA,CAC7C,SAAAK,GAAAA,CAAC,KAAA,CAAA,CAAI,SAAA,CAAWX,CAAAA,CAAQ,CAAE,SAAA,CAAAG,CAAAA,CAAW,KAAA,CAAAC,CAAM,CAAC,CAAA,CAAI,GAAGM,CAAAA,CAAO,CAAA,CAC5D,EACF,CAEJ","file":"chunk-EDVE3ICB.js","sourcesContent":["import type { ComponentProps } from 'react'\nimport * as RadixPopover from '@radix-ui/react-popover'\nimport { FieldContext, type FieldContextValue } from '../context/field.context'\nimport { select } from './select-styles'\n\nconst { wrapper } = select()\n\nexport function SelectRoot({\n className,\n state = 'normal',\n defaultOpen,\n variant = 'normal',\n modal,\n open,\n onOpenChange: handleOpenChange,\n ...props\n}: ComponentProps<'div'> &\n FieldContextValue &\n ComponentProps<typeof RadixPopover.Root>) {\n return (\n <RadixPopover.Root\n defaultOpen={defaultOpen}\n modal={modal}\n open={open}\n onOpenChange={handleOpenChange}\n >\n <FieldContext.Provider value={{ state, variant }}>\n <div className={wrapper({ className, state })} {...props} />\n </FieldContext.Provider>\n </RadixPopover.Root>\n )\n}\n"]}
@@ -1,2 +0,0 @@
1
- import {Slot}from'@radix-ui/react-slot';import {cva}from'@xjur-ui/util';import {memo}from'react';import {jsx}from'react/jsx-runtime';var m=cva("",{variants:{variant:{body:"",label:"",title:"",headline:""},size:{"sm-2x":"","sm-1x":"",sm:"",md:"",lg:""},weight:{thin:"font-thin",extraLight:"font-extralight",light:"font-light",normal:"font-normal",medium:"font-medium",semibold:"font-semibold",bold:"font-bold",extraBold:"font-extrabold",black:"font-black"}},compoundVariants:[{variant:"body",size:"sm-1x",class:"text-size-body-sm-1x"},{variant:"body",size:"sm",class:"text-size-body-sm"},{variant:"body",size:"md",class:"text-size-body-md"},{variant:"body",size:"lg",class:"text-size-body-lg"},{variant:"label",size:"sm-2x",class:"text-size-label-sm-2x"},{variant:"label",size:"sm-1x",class:"text-size-label-sm-1x"},{variant:"label",size:"sm",class:"text-size-label-sm"},{variant:"label",size:"md",class:"text-size-label-md"},{variant:"label",size:"lg",class:"text-size-label-lg"},{variant:"title",size:"sm",class:"text-size-title-sm"},{variant:"title",size:"md",class:"text-size-title-md"},{variant:"title",size:"lg",class:"text-size-title-lg"},{variant:"headline",size:"sm",class:"text-size-headline-sm"},{variant:"headline",size:"md",class:"text-size-headline-md"},{variant:"headline",size:"lg",class:"text-size-headline-lg"}],defaultVariants:{variant:"body",size:"md",weight:"normal"}}),d=memo(({variant:t,size:a,weight:e,asChild:s,className:i,...l})=>jsx(s?Slot:"span",{className:m({variant:t,size:a,weight:e,className:i}),...l}));d.displayName="Typography";export{d as a};//# sourceMappingURL=chunk-EIG6CBTQ.js.map
2
- //# sourceMappingURL=chunk-EIG6CBTQ.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../src/components/typography.tsx"],"names":["typographyVariants","cva","Typography","memo","variant","size","weight","asChild","className","props","jsx","Slot"],"mappings":"qIAIA,IAAMA,CAAAA,CAAqBC,GAAAA,CAAI,EAAA,CAAI,CACjC,QAAA,CAAU,CACR,OAAA,CAAS,CACP,IAAA,CAAM,EAAA,CACN,KAAA,CAAO,EAAA,CACP,KAAA,CAAO,GACP,QAAA,CAAU,EACZ,CAAA,CACA,IAAA,CAAM,CACJ,OAAA,CAAS,EAAA,CACT,OAAA,CAAS,EAAA,CACT,EAAA,CAAI,EAAA,CACJ,EAAA,CAAI,EAAA,CACJ,EAAA,CAAI,EACN,CAAA,CACA,MAAA,CAAQ,CACN,IAAA,CAAM,WAAA,CACN,UAAA,CAAY,iBAAA,CACZ,KAAA,CAAO,YAAA,CACP,MAAA,CAAQ,aAAA,CACR,MAAA,CAAQ,aAAA,CACR,QAAA,CAAU,eAAA,CACV,KAAM,WAAA,CACN,SAAA,CAAW,gBAAA,CACX,KAAA,CAAO,YACT,CACF,CAAA,CACA,gBAAA,CAAkB,CAChB,CAAE,OAAA,CAAS,MAAA,CAAQ,IAAA,CAAM,OAAA,CAAS,MAAO,sBAAuB,CAAA,CAChE,CAAE,OAAA,CAAS,MAAA,CAAQ,IAAA,CAAM,IAAA,CAAM,KAAA,CAAO,mBAAoB,CAAA,CAC1D,CAAE,OAAA,CAAS,MAAA,CAAQ,IAAA,CAAM,KAAM,KAAA,CAAO,mBAAoB,CAAA,CAC1D,CAAE,OAAA,CAAS,MAAA,CAAQ,IAAA,CAAM,IAAA,CAAM,KAAA,CAAO,mBAAoB,CAAA,CAE1D,CAAE,OAAA,CAAS,OAAA,CAAS,IAAA,CAAM,OAAA,CAAS,KAAA,CAAO,uBAAwB,CAAA,CAClE,CAAE,OAAA,CAAS,OAAA,CAAS,IAAA,CAAM,OAAA,CAA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CAAAA,CAAM,MAAA,CAAAC,CAAAA,CAAQ,SAAA,CAAAE,CAAU,CAAC,CAAA,CACjE,GAAGC,CAAAA,CACN,CAGN,EAEAP,CAAAA,CAAW,WAAA,CAAc,YAAA","file":"chunk-EIG6CBTQ.js","sourcesContent":["import { Slot } from '@radix-ui/react-slot'\nimport { cva, type ClassVariantProps } from '@xjur-ui/util'\nimport { memo, type ComponentProps } from 'react'\n\nconst typographyVariants = cva('', {\n variants: {\n variant: {\n body: '',\n label: '',\n title: '',\n headline: ''\n },\n size: {\n 'sm-2x': '',\n 'sm-1x': '',\n sm: '',\n md: '',\n lg: ''\n },\n weight: {\n thin: 'font-thin',\n extraLight: 'font-extralight',\n light: 'font-light',\n normal: 'font-normal',\n medium: 'font-medium',\n semibold: 'font-semibold',\n bold: 'font-bold',\n extraBold: 'font-extrabold',\n black: 'font-black'\n }\n },\n compoundVariants: [\n { variant: 'body', size: 'sm-1x', class: 'text-size-body-sm-1x' },\n { variant: 'body', size: 'sm', class: 'text-size-body-sm' },\n { variant: 'body', size: 'md', class: 'text-size-body-md' },\n { variant: 'body', size: 'lg', class: 'text-size-body-lg' },\n\n { variant: 'label', size: 'sm-2x', class: 'text-size-label-sm-2x' },\n { variant: 'label', size: 'sm-1x', class: 'text-size-label-sm-1x' },\n { variant: 'label', size: 'sm', class: 'text-size-label-sm' },\n { variant: 'label', size: 'md', class: 'text-size-label-md' },\n { variant: 'label', size: 'lg', class: 'text-size-label-lg' },\n\n { variant: 'title', size: 'sm', class: 'text-size-title-sm' },\n { variant: 'title', size: 'md', class: 'text-size-title-md' },\n { variant: 'title', size: 'lg', class: 'text-size-title-lg' },\n\n { variant: 'headline', size: 'sm', class: 'text-size-headline-sm' },\n { variant: 'headline', size: 'md', class: 'text-size-headline-md' },\n { variant: 'headline', size: 'lg', class: 'text-size-headline-lg' }\n ],\n defaultVariants: {\n variant: 'body',\n size: 'md',\n weight: 'normal'\n }\n})\n\nexport interface TypographyProps\n extends ComponentProps<'base'>,\n ClassVariantProps<typeof typographyVariants> {\n asChild?: boolean\n}\n\nexport const Typography = memo(\n ({\n variant,\n size,\n weight,\n asChild,\n className,\n ...props\n }: TypographyProps) => {\n const Component = asChild ? Slot : 'span'\n\n return (\n <Component\n className={typographyVariants({ variant, size, weight, className })}\n {...props}\n />\n )\n }\n)\n\nTypography.displayName = 'Typography'\n"]}
@@ -1,2 +0,0 @@
1
- import {cx}from'@xjur-ui/util';import {jsx}from'react/jsx-runtime';function s({className:e,isSelected:a=false,...r}){return jsx("tr",{className:cx("bg-layer-2-idle hover:bg-layer-2-hover ease border-b transition-colors duration-100","active:bg-layer-2-pressed","data-[selected=true]:bg-primary-alt-active",e),"data-selected":a,"data-slot":"table-row",...r})}export{s as a};//# sourceMappingURL=chunk-EITO7GZX.js.map
2
- //# sourceMappingURL=chunk-EITO7GZX.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../src/components/table/table-row.tsx"],"names":["TableRow","className","isSelected","props","jsx","cx"],"mappings":"mEAEO,SAASA,CAAAA,CAAS,CACvB,UAAAC,CAAAA,CACA,UAAA,CAAAC,CAAAA,CAAa,KAAA,CACb,GAAGC,CACL,CAAA,CAA0D,CACxD,OACEC,GAAAA,CAAC,IAAA,CAAA,CACC,SAAA,CAAWC,EAAAA,CACT,sFACA,2BAAA,CACA,4CAAA,CACAJ,CACF,CAAA,CACA,gBAAeC,CAAAA,CACf,WAAA,CAAU,WAAA,CACT,GAAGC,EACN,CAEJ","file":"chunk-EITO7GZX.js","sourcesContent":["import { cx } from '@xjur-ui/util'\n\nexport function TableRow({\n className,\n isSelected = false,\n ...props\n}: React.ComponentProps<'tr'> & { isSelected?: boolean }) {\n return (\n <tr\n className={cx(\n 'bg-layer-2-idle hover:bg-layer-2-hover ease border-b transition-colors duration-100',\n 'active:bg-layer-2-pressed',\n 'data-[selected=true]:bg-primary-alt-active',\n className\n )}\n data-selected={isSelected}\n data-slot=\"table-row\"\n {...props}\n />\n )\n}\n"]}
@@ -1,2 +0,0 @@
1
- import {a as a$1}from'./chunk-4GDW5WIQ.js';import {b}from'./chunk-2JQVYVAT.js';import {jsx}from'react/jsx-runtime';var{value:a}=a$1();function m({className:n,placeholder:p,...r}){let{state:t,variant:i}=b();return jsx("input",{...r,className:a({className:n,state:t}),disabled:t==="disabled",placeholder:i==="filter"?" ":p,readOnly:t==="disabled"})}export{m as a};//# sourceMappingURL=chunk-EOKFSNH5.js.map
2
- //# sourceMappingURL=chunk-EOKFSNH5.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../src/components/controls/input/input-text.tsx"],"names":["value","input","InputText","className","placeholder","props","state","variant","useFieldContext","jsx"],"mappings":"mHAIA,GAAM,CAAE,KAAA,CAAAA,CAAM,CAAA,CAAIC,GAAAA,EAAM,CAEjB,SAASC,CAAAA,CAAU,CACxB,UAAAC,CAAAA,CACA,WAAA,CAAAC,CAAAA,CACA,GAAGC,CACL,CAAA,CAA4B,CAC1B,GAAM,CAAE,KAAA,CAAAC,CAAAA,CAAO,OAAA,CAAAC,CAAQ,CAAA,CAAIC,GAAgB,CAE3C,OACEC,GAAAA,CAAC,OAAA,CAAA,CACE,GAAGJ,CAAAA,CACJ,UAAWL,CAAAA,CAAM,CAAE,SAAA,CAAAG,CAAAA,CAAW,KAAA,CAAAG,CAAM,CAAC,CAAA,CACrC,QAAA,CAAUA,CAAAA,GAAU,UAAA,CACpB,WAAA,CAAaC,CAAAA,GAAY,QAAA,CAAW,GAAA,CAAMH,CAAAA,CAC1C,QAAA,CAAUE,CAAAA,GAAU,UAAA,CACtB,CAEJ","file":"chunk-EOKFSNH5.js","sourcesContent":["import type { ComponentProps } from 'react'\nimport { useFieldContext } from '../context/field.context'\nimport { input } from './input-styles'\n\nconst { value } = input()\n\nexport function InputText({\n className,\n placeholder,\n ...props\n}: ComponentProps<'input'>) {\n const { state, variant } = useFieldContext()\n\n return (\n <input\n {...props}\n className={value({ className, state })}\n disabled={state === 'disabled'}\n placeholder={variant === 'filter' ? ' ' : placeholder}\n readOnly={state === 'disabled'}\n />\n )\n}\n"]}
@@ -1,2 +0,0 @@
1
- var L=6048e5,R=864e5;var x=Symbol.for("constructDateFrom");function c(t,e){return typeof t=="function"?t(e):t&&typeof t=="object"&&x in t?t[x](e):t instanceof Date?new t.constructor(e):new Date(e)}function u(t,e){return c(e||t,t)}function C(t,e,n){let o=u(t,n?.in);if(isNaN(e))return c(n?.in||t,NaN);if(!e)return o;let r=o.getDate(),a=c(n?.in||t,o.getTime());a.setMonth(o.getMonth()+e+1,0);let s=a.getDate();return r>=s?a:(o.setFullYear(a.getFullYear(),a.getMonth(),r),o)}var P={};function D(){return P}function h(t,e){let n=D(),o=e?.weekStartsOn??e?.locale?.options?.weekStartsOn??n.weekStartsOn??n.locale?.options?.weekStartsOn??0,r=u(t,e?.in),a=r.getDay(),s=(a<o?7:0)+a-o;return r.setDate(r.getDate()-s),r.setHours(0,0,0,0),r}function y(t,...e){let n=c.bind(null,t||e.find(o=>typeof o=="object"));return e.map(n)}function O(t,e){let n=u(t,e?.in);return n.setHours(0,0,0,0),n}function W(t){return c(t,Date.now())}function l(t,e,n){let[o,r]=y(n?.in,t,e);return +O(o)==+O(r)}function I(t,e){let n=u(t,e?.in),o=n.getMonth();return n.setFullYear(n.getFullYear(),o+1,0),n.setHours(23,59,59,999),n}function F(t,e){let[n,o]=y(t,e.start,e.end);return {start:n,end:o}}function g(t,e){let{start:n,end:o}=F(e?.in,t),r=+n>+o,a=r?+n:+o,s=r?o:n;s.setHours(0,0,0,0);let i=1;let f=[];for(;+s<=a;)f.push(c(n,s)),s.setDate(s.getDate()+i),s.setHours(0,0,0,0);return r?f.reverse():f}function b(t,e){let n=u(t,e?.in);return n.setDate(1),n.setHours(0,0,0,0),n}function k(t,e){let n=D(),o=e?.weekStartsOn??e?.locale?.options?.weekStartsOn??n.weekStartsOn??n.locale?.options?.weekStartsOn??0,r=u(t,e?.in),a=r.getDay(),s=(a<o?-7:0)+6-(a-o);return r.setDate(r.getDate()+s),r.setHours(23,59,59,999),r}function H(t,e){return l(c(t,t),W(t))}function v(t,e,n){return C(t,-e,n)}function M(t){return Array.from({length:t},(e,n)=>n)}var j=["Domingo","Segunda","Ter\xE7a","Quarta","Quinta","Sexta","S\xE1bado"],Yt=Array.from({length:16},(t,e)=>{let n=e+8;return {hour:n,label:`${n.toString().padStart(2,"0")}:00`}});function Nt(t){let e=t.getFullYear(),n=t.getMonth(),o=b(t).getDay(),r=I(v(t,1)).getDate(),a=I(t).getDate(),s=M(o).map(p=>{p+=1;let d=n-1,_=r-o+p,w=new Date(e,d,_);return {dayOfWeekNumber:w.getDay(),date:w,type:"month"}}),i=M(a).map(p=>{let d=p+1,m=new Date(e,n,d);return {dayOfWeekNumber:m.getDay(),date:m,type:"month"}}),f=7,E=o+a,Y=f-E%f%f,N=M(Y).map(p=>{let d=p+1,m=new Date(e,n+1,d);return {dayOfWeekNumber:m.getDay(),date:m,type:"month"}});return [...s,...i,...N]}function _t(t,e){return t.filter(n=>l(n.eventDate,e))}function Tt(t){return H(t)}function zt(t){let e=h(t,{weekStartsOn:0}),n=k(t,{weekStartsOn:0}),o=g({start:e,end:n}),r=e.getDay(),a=j[r];return o.map(s=>({date:s,dayOfWeekNumber:r,dayOfWeekName:a,fullDate:s,type:"week"}))}function At(t,e,n){return t.filter(o=>l(o.eventDate,e)&&o.eventDate.getHours()===n)}function Qt(t,e){let n=new Date;return l(n,t)&&n.getHours()===e}function Pt(t){let e=h(t,{weekStartsOn:0}),n=k(t,{weekStartsOn:0});return {start:e,end:n}}function jt(t){return g({start:t,end:t}).map(n=>({date:n,type:"day"}))}export{L as a,R as b,c,y as d,D as e,u as f,h as g,C as h,O as i,v as j,j as k,Yt as l,Nt as m,_t as n,Tt as o,zt as p,At as q,Qt as r,Pt as s,jt as t};//# sourceMappingURL=chunk-EXC2XOL6.js.map
2
- //# sourceMappingURL=chunk-EXC2XOL6.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../../node_modules/date-fns/constants.js","../../../node_modules/date-fns/constructFrom.js","../../../node_modules/date-fns/toDate.js","../../../node_modules/date-fns/addMonths.js","../../../node_modules/date-fns/_lib/defaultOptions.js","../../../node_modules/date-fns/startOfWeek.js","../../../node_modules/date-fns/_lib/normalizeDates.js","../../../node_modules/date-fns/startOfDay.js","../../../node_modules/date-fns/constructNow.js","../../../node_modules/date-fns/isSameDay.js","../../../node_modules/date-fns/endOfMonth.js","../../../node_modules/date-fns/_lib/normalizeInterval.js","../../../node_modules/date-fns/eachDayOfInterval.js","../../../node_modules/date-fns/startOfMonth.js","../../../node_modules/date-fns/endOfWeek.js","../../../node_modules/date-fns/isToday.js","../../../node_modules/date-fns/subMonths.js","../src/components/full-calendar/helpers/calendar.ts"],"names":["millisecondsInWeek","millisecondsInDay","constructFromSymbol","constructFrom","date","value","toDate","argument","context","addMonths","amount","options","_date","dayOfMonth","endOfDesiredMonth","daysInMonth","defaultOptions","getDefaultOptions","startOfWeek","weekStartsOn","day","diff","normalizeDates","dates","normalize","startOfDay","constructNow","isSameDay","laterDate","earlierDate","dateLeft_","dateRight_","endOfMonth","month","normalizeInterval","interval","start","end","eachDayOfInterval","reversed","endTime","step","startOfMonth","endOfWeek","isToday","subMonths","arrayFromLength","length","_","i","WEEKDAYS","WEEK_HOURS","hour","getDaysInMonth","year","firstWeekdayOfMonth","daysInPrevMonth","prevMonthDays","dayIndex","prevMonth","currentMonthDays","totalWeekdays","totalDays","remainingDays","nextMonthDays","getEventsForDay","events","event","getWeekDaysInMonth","weekStart","weekEnd","weekDays","dayOfWeekNumber","dayOfWeekName","getEventsForDayAndHour","isCurrentHour","now","getStartAndEndDateOfWeek","getDaysInDay"],"mappings":"AAqDO,IAuBMA,EAAqB,MAAA,CAOrBC,CAAAA,CAAoB,MA2F1B,IAyCMC,CAAAA,CAAsB,MAAA,CAAO,GAAA,CAAI,mBAAmB,EClL1D,SAASC,CAAAA,CAAcC,CAAAA,CAAMC,CAAAA,CAAO,CACzC,OAAI,OAAOD,CAAAA,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constants\n * @description\n * Collection of useful date constants.\n *\n * The constants could be imported from `date-fns/constants`:\n *\n * ```ts\n * import { maxTime, minTime } from \"./constants/date-fns/constants\";\n *\n * function isAllowedTime(time) {\n * return time <= maxTime && time >= minTime;\n * }\n * ```\n */\n\n/**\n * @constant\n * @name daysInWeek\n * @summary Days in 1 week.\n */\nexport const daysInWeek = 7;\n\n/**\n * @constant\n * @name daysInYear\n * @summary Days in 1 year.\n *\n * @description\n * How many days in a year.\n *\n * One years equals 365.2425 days according to the formula:\n *\n * > Leap year occurs every 4 years, except for years that are divisible by 100 and not divisible by 400.\n * > 1 mean year = (365+1/4-1/100+1/400) days = 365.2425 days\n */\nexport const daysInYear = 365.2425;\n\n/**\n * @constant\n * @name maxTime\n * @summary Maximum allowed time.\n *\n * @example\n * import { maxTime } from \"./constants/date-fns/constants\";\n *\n * const isValid = 8640000000000001 <= maxTime;\n * //=> false\n *\n * new Date(8640000000000001);\n * //=> Invalid Date\n */\nexport const maxTime = Math.pow(10, 8) * 24 * 60 * 60 * 1000;\n\n/**\n * @constant\n * @name minTime\n * @summary Minimum allowed time.\n *\n * @example\n * import { minTime } from \"./constants/date-fns/constants\";\n *\n * const isValid = -8640000000000001 >= minTime;\n * //=> false\n *\n * new Date(-8640000000000001)\n * //=> Invalid Date\n */\nexport const minTime = -maxTime;\n\n/**\n * @constant\n * @name millisecondsInWeek\n * @summary Milliseconds in 1 week.\n */\nexport const millisecondsInWeek = 604800000;\n\n/**\n * @constant\n * @name millisecondsInDay\n * @summary Milliseconds in 1 day.\n */\nexport const millisecondsInDay = 86400000;\n\n/**\n * @constant\n * @name millisecondsInMinute\n * @summary Milliseconds in 1 minute\n */\nexport const millisecondsInMinute = 60000;\n\n/**\n * @constant\n * @name millisecondsInHour\n * @summary Milliseconds in 1 hour\n */\nexport const millisecondsInHour = 3600000;\n\n/**\n * @constant\n * @name millisecondsInSecond\n * @summary Milliseconds in 1 second\n */\nexport const millisecondsInSecond = 1000;\n\n/**\n * @constant\n * @name minutesInYear\n * @summary Minutes in 1 year.\n */\nexport const minutesInYear = 525600;\n\n/**\n * @constant\n * @name minutesInMonth\n * @summary Minutes in 1 month.\n */\nexport const minutesInMonth = 43200;\n\n/**\n * @constant\n * @name minutesInDay\n * @summary Minutes in 1 day.\n */\nexport const minutesInDay = 1440;\n\n/**\n * @constant\n * @name minutesInHour\n * @summary Minutes in 1 hour.\n */\nexport const minutesInHour = 60;\n\n/**\n * @constant\n * @name monthsInQuarter\n * @summary Months in 1 quarter.\n */\nexport const monthsInQuarter = 3;\n\n/**\n * @constant\n * @name monthsInYear\n * @summary Months in 1 year.\n */\nexport const monthsInYear = 12;\n\n/**\n * @constant\n * @name quartersInYear\n * @summary Quarters in 1 year\n */\nexport const quartersInYear = 4;\n\n/**\n * @constant\n * @name secondsInHour\n * @summary Seconds in 1 hour.\n */\nexport const secondsInHour = 3600;\n\n/**\n * @constant\n * @name secondsInMinute\n * @summary Seconds in 1 minute.\n */\nexport const secondsInMinute = 60;\n\n/**\n * @constant\n * @name secondsInDay\n * @summary Seconds in 1 day.\n */\nexport const secondsInDay = secondsInHour * 24;\n\n/**\n * @constant\n * @name secondsInWeek\n * @summary Seconds in 1 week.\n */\nexport const secondsInWeek = secondsInDay * 7;\n\n/**\n * @constant\n * @name secondsInYear\n * @summary Seconds in 1 year.\n */\nexport const secondsInYear = secondsInDay * daysInYear;\n\n/**\n * @constant\n * @name secondsInMonth\n * @summary Seconds in 1 month\n */\nexport const secondsInMonth = secondsInYear / 12;\n\n/**\n * @constant\n * @name secondsInQuarter\n * @summary Seconds in 1 quarter.\n */\nexport const secondsInQuarter = secondsInMonth * 3;\n\n/**\n * @constant\n * @name constructFromSymbol\n * @summary Symbol enabling Date extensions to inherit properties from the reference date.\n *\n * The symbol is used to enable the `constructFrom` function to construct a date\n * using a reference date and a value. It allows to transfer extra properties\n * from the reference date to the new date. It's useful for extensions like\n * [`TZDate`](https://github.com/date-fns/tz) that accept a time zone as\n * a constructor argument.\n */\nexport const constructFromSymbol = Symbol.for(\"constructDateFrom\");\n","import { constructFromSymbol } from \"./constants.js\";\n\n/**\n * @name constructFrom\n * @category Generic Helpers\n * @summary Constructs a date using the reference date and the value\n *\n * @description\n * The function constructs a new date using the constructor from the reference\n * date and the given value. It helps to build generic functions that accept\n * date extensions.\n *\n * It defaults to `Date` if the passed reference date is a number or a string.\n *\n * Starting from v3.7.0, it allows to construct a date using `[Symbol.for(\"constructDateFrom\")]`\n * enabling to transfer extra properties from the reference date to the new date.\n * It's useful for extensions like [`TZDate`](https://github.com/date-fns/tz)\n * that accept a time zone as a constructor argument.\n *\n * @typeParam DateType - The `Date` type, the function operates on. Gets inferred from passed arguments. Allows to use extensions like [`UTCDate`](https://github.com/date-fns/utc).\n *\n * @param date - The reference date to take constructor from\n * @param value - The value to create the date\n *\n * @returns Date initialized using the given date and value\n *\n * @example\n * import { constructFrom } from \"./constructFrom/date-fns\";\n *\n * // A function that clones a date preserving the original type\n * function cloneDate<DateType extends Date>(date: DateType): DateType {\n * return constructFrom(\n * date, // Use constructor from the given date\n * date.getTime() // Use the date value to create a new date\n * );\n * }\n */\nexport function constructFrom(date, value) {\n if (typeof date === \"function\") return date(value);\n\n if (date && typeof date === \"object\" && constructFromSymbol in date)\n return date[constructFromSymbol](value);\n\n if (date instanceof Date) return new date.constructor(value);\n\n return new Date(value);\n}\n\n// Fallback for modularized imports:\nexport default constructFrom;\n","import { constructFrom } from \"./constructFrom.js\";\n\n/**\n * @name toDate\n * @category Common Helpers\n * @summary Convert the given argument to an instance of Date.\n *\n * @description\n * Convert the given argument to an instance of Date.\n *\n * If the argument is an instance of Date, the function returns its clone.\n *\n * If the argument is a number, it is treated as a timestamp.\n *\n * If the argument is none of the above, the function returns Invalid Date.\n *\n * Starting from v3.7.0, it clones a date using `[Symbol.for(\"constructDateFrom\")]`\n * enabling to transfer extra properties from the reference date to the new date.\n * It's useful for extensions like [`TZDate`](https://github.com/date-fns/tz)\n * that accept a time zone as a constructor argument.\n *\n * **Note**: *all* Date arguments passed to any *date-fns* function is processed by `toDate`.\n *\n * @typeParam DateType - The `Date` type, the function operates on. Gets inferred from passed arguments. Allows to use extensions like [`UTCDate`](https://github.com/date-fns/utc).\n * @typeParam ResultDate - The result `Date` type, it is the type returned from the context function if it is passed, or inferred from the arguments.\n *\n * @param argument - The value to convert\n *\n * @returns The parsed date in the local time zone\n *\n * @example\n * // Clone the date:\n * const result = toDate(new Date(2014, 1, 11, 11, 30, 30))\n * //=> Tue Feb 11 2014 11:30:30\n *\n * @example\n * // Convert the timestamp to date:\n * const result = toDate(1392098430000)\n * //=> Tue Feb 11 2014 11:30:30\n */\nexport function toDate(argument, context) {\n // [TODO] Get rid of `toDate` or `constructFrom`?\n return constructFrom(context || argument, argument);\n}\n\n// Fallback for modularized imports:\nexport default toDate;\n","import { constructFrom } from \"./constructFrom.js\";\nimport { toDate } from \"./toDate.js\";\n\n/**\n * The {@link addMonths} function options.\n */\n\n/**\n * @name addMonths\n * @category Month Helpers\n * @summary Add the specified number of months to the given date.\n *\n * @description\n * Add the specified number of months to the given date.\n *\n * @typeParam DateType - The `Date` type, the function operates on. Gets inferred from passed arguments. Allows to use extensions like [`UTCDate`](https://github.com/date-fns/utc).\n * @typeParam ResultDate - The result `Date` type, it is the type returned from the context function if it is passed, or inferred from the arguments.\n *\n * @param date - The date to be changed\n * @param amount - The amount of months to be added.\n * @param options - The options object\n *\n * @returns The new date with the months added\n *\n * @example\n * // Add 5 months to 1 September 2014:\n * const result = addMonths(new Date(2014, 8, 1), 5)\n * //=> Sun Feb 01 2015 00:00:00\n *\n * // Add one month to 30 January 2023:\n * const result = addMonths(new Date(2023, 0, 30), 1)\n * //=> Tue Feb 28 2023 00:00:00\n */\nexport function addMonths(date, amount, options) {\n const _date = toDate(date, options?.in);\n if (isNaN(amount)) return constructFrom(options?.in || date, NaN);\n if (!amount) {\n // If 0 months, no-op to avoid changing times in the hour before end of DST\n return _date;\n }\n const dayOfMonth = _date.getDate();\n\n // The JS Date object supports date math by accepting out-of-bounds values for\n // month, day, etc. For example, new Date(2020, 0, 0) returns 31 Dec 2019 and\n // new Date(2020, 13, 1) returns 1 Feb 2021. This is *almost* the behavior we\n // want except that dates will wrap around the end of a month, meaning that\n // new Date(2020, 13, 31) will return 3 Mar 2021 not 28 Feb 2021 as desired. So\n // we'll default to the end of the desired month by adding 1 to the desired\n // month and using a date of 0 to back up one day to the end of the desired\n // month.\n const endOfDesiredMonth = constructFrom(options?.in || date, _date.getTime());\n endOfDesiredMonth.setMonth(_date.getMonth() + amount + 1, 0);\n const daysInMonth = endOfDesiredMonth.getDate();\n if (dayOfMonth >= daysInMonth) {\n // If we're already at the end of the month, then this is the correct date\n // and we're done.\n return endOfDesiredMonth;\n } else {\n // Otherwise, we now know that setting the original day-of-month value won't\n // cause an overflow, so set the desired day-of-month. Note that we can't\n // just set the date of `endOfDesiredMonth` because that object may have had\n // its time changed in the unusual case where where a DST transition was on\n // the last day of the month and its local time was in the hour skipped or\n // repeated next to a DST transition. So we use `date` instead which is\n // guaranteed to still have the original time.\n _date.setFullYear(\n endOfDesiredMonth.getFullYear(),\n endOfDesiredMonth.getMonth(),\n dayOfMonth,\n );\n return _date;\n }\n}\n\n// Fallback for modularized imports:\nexport default addMonths;\n","let defaultOptions = {};\n\nexport function getDefaultOptions() {\n return defaultOptions;\n}\n\nexport function setDefaultOptions(newOptions) {\n defaultOptions = newOptions;\n}\n","import { getDefaultOptions } from \"./_lib/defaultOptions.js\";\nimport { toDate } from \"./toDate.js\";\n\n/**\n * The {@link startOfWeek} function options.\n */\n\n/**\n * @name startOfWeek\n * @category Week Helpers\n * @summary Return the start of a week for the given date.\n *\n * @description\n * Return the start of a week for the given date.\n * The result will be in the local timezone.\n *\n * @typeParam DateType - The `Date` type, the function operates on. Gets inferred from passed arguments. Allows to use extensions like [`UTCDate`](https://github.com/date-fns/utc).\n * @typeParam ResultDate - The result `Date` type, it is the type returned from the context function if it is passed, or inferred from the arguments.\n *\n * @param date - The original date\n * @param options - An object with options\n *\n * @returns The start of a week\n *\n * @example\n * // The start of a week for 2 September 2014 11:55:00:\n * const result = startOfWeek(new Date(2014, 8, 2, 11, 55, 0))\n * //=> Sun Aug 31 2014 00:00:00\n *\n * @example\n * // If the week starts on Monday, the start of the week for 2 September 2014 11:55:00:\n * const result = startOfWeek(new Date(2014, 8, 2, 11, 55, 0), { weekStartsOn: 1 })\n * //=> Mon Sep 01 2014 00:00:00\n */\nexport function startOfWeek(date, options) {\n const defaultOptions = getDefaultOptions();\n const weekStartsOn =\n options?.weekStartsOn ??\n options?.locale?.options?.weekStartsOn ??\n defaultOptions.weekStartsOn ??\n defaultOptions.locale?.options?.weekStartsOn ??\n 0;\n\n const _date = toDate(date, options?.in);\n const day = _date.getDay();\n const diff = (day < weekStartsOn ? 7 : 0) + day - weekStartsOn;\n\n _date.setDate(_date.getDate() - diff);\n _date.setHours(0, 0, 0, 0);\n return _date;\n}\n\n// Fallback for modularized imports:\nexport default startOfWeek;\n","import { constructFrom } from \"../constructFrom.js\";\n\nexport function normalizeDates(context, ...dates) {\n const normalize = constructFrom.bind(\n null,\n context || dates.find((date) => typeof date === \"object\"),\n );\n return dates.map(normalize);\n}\n","import { toDate } from \"./toDate.js\";\n\n/**\n * The {@link startOfDay} function options.\n */\n\n/**\n * @name startOfDay\n * @category Day Helpers\n * @summary Return the start of a day for the given date.\n *\n * @description\n * Return the start of a day for the given date.\n * The result will be in the local timezone.\n *\n * @typeParam DateType - The `Date` type, the function operates on. Gets inferred from passed arguments. Allows to use extensions like [`UTCDate`](https://github.com/date-fns/utc).\n * @typeParam ResultDate - The result `Date` type, it is the type returned from the context function if it is passed, or inferred from the arguments.\n *\n * @param date - The original date\n * @param options - The options\n *\n * @returns The start of a day\n *\n * @example\n * // The start of a day for 2 September 2014 11:55:00:\n * const result = startOfDay(new Date(2014, 8, 2, 11, 55, 0))\n * //=> Tue Sep 02 2014 00:00:00\n */\nexport function startOfDay(date, options) {\n const _date = toDate(date, options?.in);\n _date.setHours(0, 0, 0, 0);\n return _date;\n}\n\n// Fallback for modularized imports:\nexport default startOfDay;\n","import { constructFrom } from \"./constructFrom.js\";\n\n/**\n * @name constructNow\n * @category Generic Helpers\n * @summary Constructs a new current date using the passed value constructor.\n * @pure false\n *\n * @description\n * The function constructs a new current date using the constructor from\n * the reference date. It helps to build generic functions that accept date\n * extensions and use the current date.\n *\n * It defaults to `Date` if the passed reference date is a number or a string.\n *\n * @param date - The reference date to take constructor from\n *\n * @returns Current date initialized using the given date constructor\n *\n * @example\n * import { constructNow, isSameDay } from 'date-fns'\n *\n * function isToday<DateType extends Date>(\n * date: DateArg<DateType>,\n * ): boolean {\n * // If we were to use `new Date()` directly, the function would behave\n * // differently in different timezones and return false for the same date.\n * return isSameDay(date, constructNow(date));\n * }\n */\nexport function constructNow(date) {\n return constructFrom(date, Date.now());\n}\n\n// Fallback for modularized imports:\nexport default constructNow;\n","import { normalizeDates } from \"./_lib/normalizeDates.js\";\nimport { startOfDay } from \"./startOfDay.js\";\n\n/**\n * The {@link isSameDay} function options.\n */\n\n/**\n * @name isSameDay\n * @category Day Helpers\n * @summary Are the given dates in the same day (and year and month)?\n *\n * @description\n * Are the given dates in the same day (and year and month)?\n *\n * @param laterDate - The first date to check\n * @param earlierDate - The second date to check\n * @param options - An object with options\n *\n * @returns The dates are in the same day (and year and month)\n *\n * @example\n * // Are 4 September 06:00:00 and 4 September 18:00:00 in the same day?\n * const result = isSameDay(new Date(2014, 8, 4, 6, 0), new Date(2014, 8, 4, 18, 0))\n * //=> true\n *\n * @example\n * // Are 4 September and 4 October in the same day?\n * const result = isSameDay(new Date(2014, 8, 4), new Date(2014, 9, 4))\n * //=> false\n *\n * @example\n * // Are 4 September, 2014 and 4 September, 2015 in the same day?\n * const result = isSameDay(new Date(2014, 8, 4), new Date(2015, 8, 4))\n * //=> false\n */\nexport function isSameDay(laterDate, earlierDate, options) {\n const [dateLeft_, dateRight_] = normalizeDates(\n options?.in,\n laterDate,\n earlierDate,\n );\n return +startOfDay(dateLeft_) === +startOfDay(dateRight_);\n}\n\n// Fallback for modularized imports:\nexport default isSameDay;\n","import { toDate } from \"./toDate.js\";\n\n/**\n * The {@link endOfMonth} function options.\n */\n\n/**\n * @name endOfMonth\n * @category Month Helpers\n * @summary Return the end of a month for the given date.\n *\n * @description\n * Return the end of a month for the given date.\n * The result will be in the local timezone.\n *\n * @typeParam DateType - The `Date` type, the function operates on. Gets inferred from passed arguments. Allows to use extensions like [`UTCDate`](https://github.com/date-fns/utc).\n * @typeParam ResultDate - The result `Date` type, it is the type returned from the context function if it is passed, or inferred from the arguments.\n *\n * @param date - The original date\n * @param options - An object with options\n *\n * @returns The end of a month\n *\n * @example\n * // The end of a month for 2 September 2014 11:55:00:\n * const result = endOfMonth(new Date(2014, 8, 2, 11, 55, 0))\n * //=> Tue Sep 30 2014 23:59:59.999\n */\nexport function endOfMonth(date, options) {\n const _date = toDate(date, options?.in);\n const month = _date.getMonth();\n _date.setFullYear(_date.getFullYear(), month + 1, 0);\n _date.setHours(23, 59, 59, 999);\n return _date;\n}\n\n// Fallback for modularized imports:\nexport default endOfMonth;\n","import { normalizeDates } from \"./normalizeDates.js\";\n\nexport function normalizeInterval(context, interval) {\n const [start, end] = normalizeDates(context, interval.start, interval.end);\n return { start, end };\n}\n","import { normalizeInterval } from \"./_lib/normalizeInterval.js\";\nimport { constructFrom } from \"./constructFrom.js\";\n\n/**\n * The {@link eachDayOfInterval} function options.\n */\n\n/**\n * The {@link eachDayOfInterval} function result type. It resolves the proper data type.\n * It uses the first argument date object type, starting from the date argument,\n * then the start interval date, and finally the end interval date. If\n * a context function is passed, it uses the context function return type.\n */\n\n/**\n * @name eachDayOfInterval\n * @category Interval Helpers\n * @summary Return the array of dates within the specified time interval.\n *\n * @description\n * Return the array of dates within the specified time interval.\n *\n * @typeParam IntervalType - Interval type.\n * @typeParam Options - Options type.\n *\n * @param interval - The interval.\n * @param options - An object with options.\n *\n * @returns The array with starts of days from the day of the interval start to the day of the interval end\n *\n * @example\n * // Each day between 6 October 2014 and 10 October 2014:\n * const result = eachDayOfInterval({\n * start: new Date(2014, 9, 6),\n * end: new Date(2014, 9, 10)\n * })\n * //=> [\n * // Mon Oct 06 2014 00:00:00,\n * // Tue Oct 07 2014 00:00:00,\n * // Wed Oct 08 2014 00:00:00,\n * // Thu Oct 09 2014 00:00:00,\n * // Fri Oct 10 2014 00:00:00\n * // ]\n */\nexport function eachDayOfInterval(interval, options) {\n const { start, end } = normalizeInterval(options?.in, interval);\n\n let reversed = +start > +end;\n const endTime = reversed ? +start : +end;\n const date = reversed ? end : start;\n date.setHours(0, 0, 0, 0);\n\n let step = options?.step ?? 1;\n if (!step) return [];\n if (step < 0) {\n step = -step;\n reversed = !reversed;\n }\n\n const dates = [];\n\n while (+date <= endTime) {\n dates.push(constructFrom(start, date));\n date.setDate(date.getDate() + step);\n date.setHours(0, 0, 0, 0);\n }\n\n return reversed ? dates.reverse() : dates;\n}\n\n// Fallback for modularized imports:\nexport default eachDayOfInterval;\n","import { toDate } from \"./toDate.js\";\n\n/**\n * The {@link startOfMonth} function options.\n */\n\n/**\n * @name startOfMonth\n * @category Month Helpers\n * @summary Return the start of a month for the given date.\n *\n * @description\n * Return the start of a month for the given date. The result will be in the local timezone.\n *\n * @typeParam DateType - The `Date` type, the function operates on. Gets inferred from passed arguments.\n * Allows to use extensions like [`UTCDate`](https://github.com/date-fns/utc).\n * @typeParam ResultDate - The result `Date` type, it is the type returned from the context function if it is passed,\n * or inferred from the arguments.\n *\n * @param date - The original date\n * @param options - An object with options\n *\n * @returns The start of a month\n *\n * @example\n * // The start of a month for 2 September 2014 11:55:00:\n * const result = startOfMonth(new Date(2014, 8, 2, 11, 55, 0))\n * //=> Mon Sep 01 2014 00:00:00\n */\nexport function startOfMonth(date, options) {\n const _date = toDate(date, options?.in);\n _date.setDate(1);\n _date.setHours(0, 0, 0, 0);\n return _date;\n}\n\n// Fallback for modularized imports:\nexport default startOfMonth;\n","import { getDefaultOptions } from \"./_lib/defaultOptions.js\";\nimport { toDate } from \"./toDate.js\";\n\n/**\n * The {@link endOfWeek} function options.\n */\n\n/**\n * @name endOfWeek\n * @category Week Helpers\n * @summary Return the end of a week for the given date.\n *\n * @description\n * Return the end of a week for the given date.\n * The result will be in the local timezone.\n *\n * @typeParam DateType - The `Date` type, the function operates on. Gets inferred from passed arguments. Allows to use extensions like [`UTCDate`](https://github.com/date-fns/utc).\n * @typeParam ResultDate - The result `Date` type, it is the type returned from the context function if it is passed, or inferred from the arguments.\n *\n * @param date - The original date\n * @param options - An object with options\n *\n * @returns The end of a week\n *\n * @example\n * // The end of a week for 2 September 2014 11:55:00:\n * const result = endOfWeek(new Date(2014, 8, 2, 11, 55, 0))\n * //=> Sat Sep 06 2014 23:59:59.999\n *\n * @example\n * // If the week starts on Monday, the end of the week for 2 September 2014 11:55:00:\n * const result = endOfWeek(new Date(2014, 8, 2, 11, 55, 0), { weekStartsOn: 1 })\n * //=> Sun Sep 07 2014 23:59:59.999\n */\nexport function endOfWeek(date, options) {\n const defaultOptions = getDefaultOptions();\n const weekStartsOn =\n options?.weekStartsOn ??\n options?.locale?.options?.weekStartsOn ??\n defaultOptions.weekStartsOn ??\n defaultOptions.locale?.options?.weekStartsOn ??\n 0;\n\n const _date = toDate(date, options?.in);\n const day = _date.getDay();\n const diff = (day < weekStartsOn ? -7 : 0) + 6 - (day - weekStartsOn);\n\n _date.setDate(_date.getDate() + diff);\n _date.setHours(23, 59, 59, 999);\n return _date;\n}\n\n// Fallback for modularized imports:\nexport default endOfWeek;\n","import { constructFrom } from \"./constructFrom.js\";\nimport { constructNow } from \"./constructNow.js\";\nimport { isSameDay } from \"./isSameDay.js\";\n\n/**\n * The {@link isToday} function options.\n */\n\n/**\n * @name isToday\n * @category Day Helpers\n * @summary Is the given date today?\n * @pure false\n *\n * @description\n * Is the given date today?\n *\n * @param date - The date to check\n * @param options - An object with options\n *\n * @returns The date is today\n *\n * @example\n * // If today is 6 October 2014, is 6 October 14:00:00 today?\n * const result = isToday(new Date(2014, 9, 6, 14, 0))\n * //=> true\n */\nexport function isToday(date, options) {\n return isSameDay(\n constructFrom(options?.in || date, date),\n constructNow(options?.in || date),\n );\n}\n\n// Fallback for modularized imports:\nexport default isToday;\n","import { addMonths } from \"./addMonths.js\";\n\n/**\n * The subMonths function options.\n */\n\n/**\n * @name subMonths\n * @category Month Helpers\n * @summary Subtract the specified number of months from the given date.\n *\n * @description\n * Subtract the specified number of months from the given date.\n *\n * @typeParam DateType - The `Date` type, the function operates on. Gets inferred from passed arguments. Allows to use extensions like [`UTCDate`](https://github.com/date-fns/utc).\n * @typeParam ResultDate - The result `Date` type, it is the type returned from the context function if it is passed, or inferred from the arguments.\n *\n * @param date - The date to be changed\n * @param amount - The amount of months to be subtracted.\n * @param options - An object with options\n *\n * @returns The new date with the months subtracted\n *\n * @example\n * // Subtract 5 months from 1 February 2015:\n * const result = subMonths(new Date(2015, 1, 1), 5)\n * //=> Mon Sep 01 2014 00:00:00\n */\nexport function subMonths(date, amount, options) {\n return addMonths(date, -amount, options);\n}\n\n// Fallback for modularized imports:\nexport default subMonths;\n","import {\n endOfMonth,\n startOfMonth,\n subMonths,\n isToday as isTodayDateFns,\n isSameDay,\n endOfWeek,\n startOfWeek,\n eachDayOfInterval\n} from 'date-fns'\nimport type { ICalendarEvent } from '../types/calendar-event'\nimport type { ICalendarCell } from '../types/calendar-cell'\nimport type { ICalendarWeekHour } from '../types/calendar-week-hour'\n\nfunction arrayFromLength(length: number) {\n return Array.from({ length }, (_, i) => i)\n}\n\nexport const WEEKDAYS = [\n 'Domingo',\n 'Segunda',\n 'Terça',\n 'Quarta',\n 'Quinta',\n 'Sexta',\n 'Sábado'\n]\n\nexport const WEEK_HOURS: ICalendarWeekHour[] = Array.from(\n { length: 16 },\n (_, i) => {\n const hour = i + 8\n return {\n hour,\n label: `${hour.toString().padStart(2, '0')}:00`\n }\n }\n)\n\nexport function getDaysInMonth(date: Date): ICalendarCell[] {\n const year = date.getFullYear()\n const month = date.getMonth()\n\n const firstWeekdayOfMonth = startOfMonth(date).getDay()\n const daysInPrevMonth = endOfMonth(subMonths(date, 1)).getDate()\n const daysInMonth = endOfMonth(date).getDate()\n\n const prevMonthDays = arrayFromLength(firstWeekdayOfMonth).map<ICalendarCell>(\n dayIndex => {\n dayIndex += 1\n const prevMonth = month - 1\n const dayOfPrevMonth = daysInPrevMonth - firstWeekdayOfMonth\n const day = dayOfPrevMonth + dayIndex\n const date = new Date(year, prevMonth, day)\n\n return {\n dayOfWeekNumber: date.getDay(),\n date,\n type: 'month'\n }\n }\n )\n\n const currentMonthDays = arrayFromLength(daysInMonth).map<ICalendarCell>(\n dayIndex => {\n const day = dayIndex + 1\n const date = new Date(year, month, day)\n return {\n dayOfWeekNumber: date.getDay(),\n date,\n type: 'month'\n }\n }\n )\n\n const totalWeekdays = 7\n const totalDays = firstWeekdayOfMonth + daysInMonth\n const remainingDays =\n totalWeekdays - ((totalDays % totalWeekdays) % totalWeekdays)\n\n const nextMonthDays = arrayFromLength(remainingDays).map<ICalendarCell>(\n dayIndex => {\n const day = dayIndex + 1\n const date = new Date(year, month + 1, day)\n return {\n dayOfWeekNumber: date.getDay(),\n date,\n type: 'month'\n }\n }\n )\n\n return [...prevMonthDays, ...currentMonthDays, ...nextMonthDays]\n}\n\nexport function getEventsForDay(events: ICalendarEvent[], date: Date) {\n return events.filter(event => isSameDay(event.eventDate, date))\n}\n\nexport function isToday(date: Date) {\n return isTodayDateFns(date)\n}\n\n/**\n * Week view helpers\n */\n\nexport function getWeekDaysInMonth(date: Date): ICalendarCell[] {\n const weekStart = startOfWeek(date, { weekStartsOn: 0 }) // Domingo = 0\n const weekEnd = endOfWeek(date, { weekStartsOn: 0 })\n const weekDays = eachDayOfInterval({ start: weekStart, end: weekEnd })\n\n const dayOfWeekNumber = weekStart.getDay()\n const dayOfWeekName = WEEKDAYS[dayOfWeekNumber]\n\n return weekDays.map(day => ({\n date: day,\n dayOfWeekNumber,\n dayOfWeekName,\n fullDate: day,\n type: 'week'\n }))\n}\n\nexport function getEventsForDayAndHour(\n events: ICalendarEvent[],\n date: Date,\n hour: number\n): ICalendarEvent[] {\n return events.filter(event => {\n return (\n isSameDay(event.eventDate, date) && event.eventDate.getHours() === hour\n )\n })\n}\n\nexport function isCurrentHour(date: Date, hour: number): boolean {\n const now = new Date()\n return isSameDay(now, date) && now.getHours() === hour\n}\n\nexport function getStartAndEndDateOfWeek(date: Date): {\n start: Date\n end: Date\n} {\n const start = startOfWeek(date, { weekStartsOn: 0 })\n const end = endOfWeek(date, { weekStartsOn: 0 })\n return { start, end }\n}\n\n/**\n * Day view helpers\n */\n\nexport function getDaysInDay(date: Date): ICalendarCell[] {\n const days = eachDayOfInterval({ start: date, end: date })\n return days.map(day => ({ date: day, type: 'day' }))\n}\n"]}
@@ -1,2 +0,0 @@
1
- import {b}from'./chunk-SXGSWVMZ.js';import {b as b$1,c,d}from'./chunk-NELCN6E2.js';import {a}from'./chunk-EIG6CBTQ.js';import {tv,cx}from'@xjur-ui/util';import {useDraggable}from'@dnd-kit/core';import {jsx,jsxs}from'react/jsx-runtime';var D=tv({base:"py-small_1x-alt pr-small pl-medium rounded-small-2x transition-colors duration-100 ease-out",variants:{status:{pending:"bg-layer-2-hover border-l-2 border-border-layer-4 hover:bg-layer-2-pressed active:bg-layer-2-active",completed:"bg-success-alt-idle border-l-2 border-success-idle hover:bg-success-alt-hover active:bg-success-alt-pressed",cancelled:"bg-danger-alt-idle border-l-2 border-danger-idle hover:bg-danger-alt-hover active:bg-danger-alt-pressed"}},defaultVariants:{status:"pending"}});function S({event:e,disabled:a=false,status:n="pending",className:o,children:t,...i}){let{onEventMove:v}=b(),b$1=a||!v,{attributes:y,listeners:f,setNodeRef:C,transform:p,isDragging:x}=useDraggable({id:e.id,disabled:b$1,data:{event:e,type:"calendar-event"}}),h=p?{transform:`translate3d(${p.x}px, ${p.y}px, 0)`}:void 0;return jsx("div",{className:cx(a&&"pointer-events-none","cursor-pointer active:cursor-grabbing",x&&"z-1000 -rotate-2",D({status:n}),o),"data-draggable-event-id":e.id,"data-slot":"calendar-event",ref:C,style:h,...f,...y,...i,children:t})}function V({size:e="sm",variant:a$1="label",weight:n="medium",className:o,...t}){let{activeEventId:i}=b();return i!==null?jsx(a,{className:cx(o,"text-title-neutral truncate"),size:e,variant:a$1,weight:n,...t}):jsxs(b$1,{delayDuration:500,children:[jsx(c,{asChild:true,children:jsx(a,{className:cx(o,"text-title-neutral truncate"),size:e,variant:a$1,weight:n,...t})}),jsx(d,{className:"max-w-[320px]",children:t.children})]})}function $({size:e="sm-1x",variant:a$1="body",weight:n="normal",className:o,...t}){let{activeEventId:i}=b();return i!==null?jsx(a,{className:cx(o,"truncate"),size:e,variant:a$1,weight:n,...t}):jsxs(b$1,{delayDuration:500,children:[jsx(c,{asChild:true,children:jsx(a,{className:cx(o,"truncate"),size:e,variant:a$1,weight:n,...t})}),jsx(d,{className:"max-w-[320px]",children:t.children})]})}function F({variant:e="body",size:a$1="sm-1x",weight:n="normal",className:o,...t}){return jsx(a,{className:cx(o,"truncate"),size:a$1,variant:e,weight:n,...t})}export{S as a,V as b,$ as c,F as d};//# sourceMappingURL=chunk-F4DYKYWJ.js.map
2
- //# sourceMappingURL=chunk-F4DYKYWJ.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../src/components/full-calendar/calendar-event.tsx"],"names":["eventVariants","tv","CalendarEvent","event","disabled","status","className","children","props","onEventMove","useFullCalendar","isDraggingDisabled","attributes","listeners","setNodeRef","transform","isDragging","useDraggable","style","jsx","cx","CalendarEventTitle","size","variant","weight","activeEventId","Typography","jsxs","Tooltip","TooltipTrigger","TooltipContent","CalendarEventDescription","CalendarEventStatus"],"mappings":"2OAWA,IAAMA,CAAAA,CAAgBC,EAAAA,CAAG,CACvB,IAAA,CAAM,6FAAA,CACN,QAAA,CAAU,CACR,OAAQ,CACN,OAAA,CACE,sGACF,SAAA,CACE,6GAAA,CACF,UACE,yGACJ,CACF,CAAA,CACA,eAAA,CA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Q,aAAA,CAAe,IACtB,QAAA,CAAA,CAAAT,GAAAA,CAACU,EAAA,CAAe,OAAA,CAAS,IAAA,CACvB,QAAA,CAAAV,IAACO,CAAAA,CAAA,CACC,UAAWN,EAAAA,CAAGd,CAAAA,CAAW,UAAU,CAAA,CACnC,IAAA,CAAMgB,EACN,OAAA,CAASC,GAAAA,CACT,OAAQC,CAAAA,CACP,GAAGhB,EACN,CAAA,CACF,CAAA,CACAW,IAACW,CAAAA,CAAA,CAAe,SAAA,CAAU,eAAA,CACvB,SAAAtB,CAAAA,CAAM,QAAA,CACT,GACF,CAEJ,CAEO,SAASwB,CAAAA,CAAoB,CAClC,OAAA,CAAAT,CAAAA,CAAU,OACV,IAAA,CAAAD,GAAAA,CAAO,QACP,MAAA,CAAAE,CAAAA,CAAS,SACT,SAAA,CAAAlB,CAAAA,CACA,GAAGE,CACL,EAAsC,CACpC,OACEW,IAACO,CAAAA,CAAA,CACC,UAAWN,EAAAA,CAAGd,CAAAA,CAAW,UAAU,CAAA,CACnC,IAAA,CAAMgB,IACN,OAAA,CAASC,CAAAA,CACT,OAAQC,CAAAA,CACP,GAAGhB,EACN,CAEJ","file":"chunk-F4DYKYWJ.js","sourcesContent":["import { cx, tv } from '@xjur-ui/util'\nimport type { ComponentProps } from 'react'\nimport { useDraggable } from '@dnd-kit/core'\nimport { Typography } from '../typography'\nimport { Tooltip, TooltipContent, TooltipTrigger } from '../tooltip'\nimport type {\n ICalendarEvent,\n ICalendarEventStatus\n} from './types/calendar-event'\nimport { useFullCalendar } from './calendar-root'\n\nconst eventVariants = tv({\n base: 'py-small_1x-alt pr-small pl-medium rounded-small-2x transition-colors duration-100 ease-out',\n variants: {\n status: {\n pending:\n 'bg-layer-2-hover border-l-2 border-border-layer-4 hover:bg-layer-2-pressed active:bg-layer-2-active',\n completed:\n 'bg-success-alt-idle border-l-2 border-success-idle hover:bg-success-alt-hover active:bg-success-alt-pressed',\n cancelled:\n 'bg-danger-alt-idle border-l-2 border-danger-idle hover:bg-danger-alt-hover active:bg-danger-alt-pressed'\n }\n },\n defaultVariants: {\n status: 'pending'\n }\n})\n\ninterface CalendarEventProps extends ComponentProps<'div'> {\n event: ICalendarEvent\n disabled?: boolean\n status?: ICalendarEventStatus\n}\n\nexport function CalendarEvent({\n event,\n disabled = false,\n status = 'pending',\n className,\n children,\n ...props\n}: CalendarEventProps) {\n const { onEventMove } = useFullCalendar()\n const isDraggingDisabled = disabled || !onEventMove\n\n const { attributes, listeners, setNodeRef, transform, isDragging } =\n useDraggable({\n id: event.id,\n disabled: isDraggingDisabled,\n data: {\n event,\n type: 'calendar-event'\n }\n })\n\n const style = transform\n ? {\n transform: `translate3d(${transform.x}px, ${transform.y}px, 0)`\n }\n : undefined\n\n return (\n <div\n className={cx(\n disabled && 'pointer-events-none',\n 'cursor-pointer active:cursor-grabbing',\n isDragging && 'z-1000 -rotate-2',\n eventVariants({ status }),\n className\n )}\n data-draggable-event-id={event.id}\n data-slot=\"calendar-event\"\n ref={setNodeRef}\n style={style}\n {...listeners}\n {...attributes}\n {...props}\n >\n {children}\n </div>\n )\n}\n\nexport function CalendarEventTitle({\n size = 'sm',\n variant = 'label',\n weight = 'medium',\n className,\n ...props\n}: ComponentProps<typeof Typography>) {\n const { activeEventId } = useFullCalendar()\n\n if (activeEventId !== null) {\n return (\n <Typography\n className={cx(className, 'text-title-neutral truncate')}\n size={size}\n variant={variant}\n weight={weight}\n {...props}\n />\n )\n }\n\n return (\n <Tooltip delayDuration={500}>\n <TooltipTrigger asChild={true}>\n <Typography\n className={cx(className, 'text-title-neutral truncate')}\n size={size}\n variant={variant}\n weight={weight}\n {...props}\n />\n </TooltipTrigger>\n <TooltipContent className=\"max-w-[320px]\">\n {props.children}\n </TooltipContent>\n </Tooltip>\n )\n}\n\nexport function CalendarEventDescription({\n size = 'sm-1x',\n variant = 'body',\n weight = 'normal',\n className,\n ...props\n}: ComponentProps<typeof Typography>) {\n const { activeEventId } = useFullCalendar()\n\n if (activeEventId !== null) {\n return (\n <Typography\n className={cx(className, 'truncate')}\n size={size}\n variant={variant}\n weight={weight}\n {...props}\n />\n )\n }\n\n return (\n <Tooltip delayDuration={500}>\n <TooltipTrigger asChild={true}>\n <Typography\n className={cx(className, 'truncate')}\n size={size}\n variant={variant}\n weight={weight}\n {...props}\n />\n </TooltipTrigger>\n <TooltipContent className=\"max-w-[320px]\">\n {props.children}\n </TooltipContent>\n </Tooltip>\n )\n}\n\nexport function CalendarEventStatus({\n variant = 'body',\n size = 'sm-1x',\n weight = 'normal',\n className,\n ...props\n}: ComponentProps<typeof Typography>) {\n return (\n <Typography\n className={cx(className, 'truncate')}\n size={size}\n variant={variant}\n weight={weight}\n {...props}\n />\n )\n}\n"]}
@@ -1,2 +0,0 @@
1
- import {createContext,use}from'react';import {Slot}from'@radix-ui/react-slot';import {cx}from'@xjur-ui/util';import {useDndContext}from'@dnd-kit/core';import {jsx}from'react/jsx-runtime';var m=createContext({});function H({className:e,asChild:o,...n}){let{active:r}=useDndContext(),t=use(m);if(!t)throw new Error("DragHandle must be used within a DragHandlerContext");let{listeners:a,setActivatorNodeRef:s}=t;return jsx(o?Slot:"button",{className:cx(e,"cursor-grab",r!==null&&"cursor-grabbing"),...n,...a,ref:s})}export{m as a,H as b};//# sourceMappingURL=chunk-F5ZLEQGN.js.map
2
- //# sourceMappingURL=chunk-F5ZLEQGN.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../src/components/drag-and-drop/drag-handle.tsx"],"names":["DragHandlerContext","createContext","DragHandle","className","asChild","props","active","useDndContext","context","use","listeners","setActivatorNodeRef","jsx","Slot","cx"],"mappings":"2LAWO,IAAMA,CAAAA,CAAqBC,cAChC,EACF,EAEO,SAASC,CAAAA,CAAW,CACzB,SAAA,CAAAC,CAAAA,CACA,OAAA,CAAAC,CAAAA,CACA,GAAGC,CACL,CAAA,CAEG,CACD,GAAM,CAAE,OAAAC,CAAO,CAAA,CAAIC,aAAAA,EAAc,CAC3BC,EAAUC,GAAAA,CAAIT,CAAkB,EAEtC,GAAI,CAACQ,EACH,MAAM,IAAI,KAAA,CAAM,qDAAqD,EAGvE,GAAM,CAAE,UAAAE,CAAAA,CAAW,mBAAA,CAAAC,CAAoB,CAAA,CAAIH,CAAAA,CAI3C,OACEI,GAAAA,CAHWR,EAAUS,IAAAA,CAAO,QAAA,CAG3B,CACC,SAAA,CAAWC,EAAAA,CACTX,EACA,aAAA,CACAG,CAAAA,GAAW,IAAA,EAAQ,iBACrB,EACC,GAAGD,CAAAA,CACH,GAAGK,CAAAA,CACJ,GAAA,CAAKC,EACP,CAEJ","file":"chunk-F5ZLEQGN.js","sourcesContent":["import { createContext, use, type ComponentProps } from 'react'\nimport type { SyntheticListenerMap } from '@dnd-kit/core/dist/hooks/utilities'\nimport { Slot } from '@radix-ui/react-slot'\nimport { cx } from '@xjur-ui/util'\nimport { useDndContext } from '@dnd-kit/core'\n\ninterface DragHandleContextType {\n listeners?: SyntheticListenerMap\n setActivatorNodeRef: (el: HTMLElement | null) => void\n}\n\nexport const DragHandlerContext = createContext<DragHandleContextType>(\n {} as DragHandleContextType\n)\n\nexport function DragHandle({\n className,\n asChild,\n ...props\n}: ComponentProps<'button'> & {\n asChild?: boolean\n}) {\n const { active } = useDndContext()\n const context = use(DragHandlerContext)\n\n if (!context) {\n throw new Error('DragHandle must be used within a DragHandlerContext')\n }\n\n const { listeners, setActivatorNodeRef } = context\n\n const Comp = asChild ? Slot : 'button'\n\n return (\n <Comp\n className={cx(\n className,\n 'cursor-grab',\n active !== null && 'cursor-grabbing'\n )}\n {...props}\n {...listeners}\n ref={setActivatorNodeRef}\n />\n )\n}\n"]}
@@ -1,2 +0,0 @@
1
- import {b}from'./chunk-O3JK6QF6.js';import {jsx}from'react/jsx-runtime';function m({className:p,...r}){return jsx(b,{className:p,...r})}export{m as a};//# sourceMappingURL=chunk-F7ANJ4HD.js.map
2
- //# sourceMappingURL=chunk-F7ANJ4HD.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../src/components/steps/steps-root.tsx"],"names":["StepsRoot","className","props","jsx","StepsProvider"],"mappings":"wEAGO,SAASA,EAAU,CACxB,SAAA,CAAAC,EACA,GAAGC,CACL,EAAyC,CACvC,OAAOC,IAACC,CAAAA,CAAA,CAAc,UAAWH,CAAAA,CAAY,GAAGC,EAAO,CACzD","file":"chunk-F7ANJ4HD.js","sourcesContent":["import type { ComponentProps } from 'react'\nimport { StepsProvider } from './steps-context'\n\nexport function StepsRoot({\n className,\n ...props\n}: ComponentProps<typeof StepsProvider>) {\n return <StepsProvider className={className} {...props} />\n}\n"]}
@@ -1,2 +0,0 @@
1
- import {a}from'./chunk-NRQWDEPL.js';import {b}from'./chunk-M6ZI7M3R.js';import {b as b$1}from'./chunk-DVDHTP4C.js';import {twMerge}from'@xjur-ui/util';import {useContext,useState,useCallback,useEffect}from'react';import {jsx}from'react/jsx-runtime';function A({direction:t,className:v,...c}){let{scrollAmount:n,scrollRef:l}=useContext(a),[h,p]=useState(false),[g,b$2]=useState(false),[C,a$1]=useState(false),r=useCallback(()=>{let e=l.current;if(!e)return;let{scrollLeft:o,scrollWidth:L,clientWidth:z}=e;p(o>0),b$2(o<L-z);},[l]),S=useCallback(()=>{let e=l.current;e&&(a$1(true),e.scrollTo({left:t==="left"?e.scrollLeft-n:e.scrollLeft+n,behavior:"smooth"}),setTimeout(()=>a$1(false),300));},[t,n,l]);return useEffect(()=>{let e=l.current;if(!e)return;r(),e.addEventListener("scroll",r,{passive:true}),window.addEventListener("resize",r);let o=null;return typeof ResizeObserver<"u"&&(o=new ResizeObserver(r),o.observe(e)),()=>{e.removeEventListener("scroll",r),window.removeEventListener("resize",r),o&&o.disconnect();}},[r,l]),t==="right"&&!g||t==="left"&&!h?null:jsx("div",{className:twMerge("absolute top-1/2 z-1000 h-full -translate-y-1/2 items-center justify-end","hidden transition-all duration-300 group-hover/carousel-root:flex","group-hover/carousel-root:animate-in group-hover/carousel-root:fade-in",t==="right"&&"right-0",t==="left"&&"left-0",v),style:{background:"rgba(255, 255, 255, 0.4)",...c.style},...c,children:jsx(b,{appearance:"ghost","aria-label":"Scroll right",disabled:C,size:"icon_md",variant:"secondary",onClick:S,children:jsx(b$1,{name:`chevron_${t}`})})})}export{A as a};//# sourceMappingURL=chunk-FOY43MIQ.js.map
2
- //# sourceMappingURL=chunk-FOY43MIQ.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../src/components/carousel/carousel-action.tsx"],"names":["CarouselAction","direction","className","props","scrollAmount","scrollRef","useContext","CarouselRootContext","canScrollLeft","setCanScrollLeft","useState","canScrollRight","setCanScrollRight","isScrolling","setIsScrolling","handleScroll","useCallback","container","scrollLeft","scrollWidth","clientWidth","handleScrollTo","useEffect","resizeObserver","jsx","twMerge","Button","Icon"],"mappings":"yPAYO,SAASA,CAAAA,CAAe,CAC7B,SAAA,CAAAC,CAAAA,CACA,SAAA,CAAAC,CAAAA,CACA,GAAGC,CACL,CAAA,CAEG,CACD,GAAM,CAAE,YAAA,CAAAC,CAAAA,CAAc,SAAA,CAAAC,CAAU,CAAA,CAAIC,UAAAA,CAAWC,CAAmB,CAAA,CAE5D,CAACC,CAAAA,CAAeC,CAAgB,CAAA,CAAIC,QAAAA,CAAS,KAAK,CAAA,CAClD,CAACC,CAAAA,CAAgBC,GAAiB,CAAA,CAAIF,QAAAA,CAAS,KAAK,CAAA,CACpD,CAACG,CAAAA,CAAaC,GAAc,CAAA,CAAIJ,QAAAA,CAAS,KAAK,CAAA,CAE9CK,CAAAA,CAAeC,WAAAA,CAAY,IAAM,CACrC,IAAMC,CAAAA,CAAYZ,CAAAA,CAAU,OAAA,CAE5B,GAAI,CAACY,CAAAA,CAAW,OAChB,GAAM,CAAE,UAAA,CAAAC,CAAAA,CAAY,WAAA,CAAAC,CAAAA,CAAa,WAAA,CAAAC,CAAY,CAAA,CAAIH,CAAAA,CAEjDR,CAAAA,CAAiBS,CAAAA,CAAa,CAAC,CAAA,CAC/BN,GAAAA,CAAkBM,CAAAA,CAAaC,CAAAA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EAAW,CAACU,CAAAA,EAC1BV,CAAAA,GAAc,MAAA,EAAU,CAACO,CAAAA,CAAsB,IAAA,CAGjDgB,GAAAA,CAAC,KAAA,CAAA,CACC,SAAA,CAAWC,OAAAA,CACT,0EAAA,CACA,mEAAA,CACA,wEAAA,CACAxB,CAAAA,GAAc,OAAA,EAAW,SAAA,CACzBA,CAAAA,GAAc,MAAA,EAAU,QAAA,CACxBC,CACF,CAAA,CACA,KAAA,CAAO,CACL,UAAA,CAAY,0BAAA,CACZ,GAAGC,CAAAA,CAAM,KACX,CAAA,CACC,GAAGA,CAAAA,CAEJ,QAAA,CAAAqB,GAAAA,CAACE,CAAAA,CAAA,CACC,UAAA,CAAW,OAAA,CACX,YAAA,CAAW,cAAA,CACX,SAAUb,CAAAA,CACV,IAAA,CAAK,SAAA,CACL,OAAA,CAAQ,WAAA,CACR,OAAA,CAASQ,CAAAA,CAET,QAAA,CAAAG,GAAAA,CAACG,GAAAA,CAAA,CAAK,IAAA,CAAM,CAAA,QAAA,EAAW1B,CAAS,CAAA,CAAA,CAAI,CAAA,CACtC,EACF,CAEJ","file":"chunk-FOY43MIQ.js","sourcesContent":["import { twMerge } from '@xjur-ui/util'\nimport {\n type ComponentProps,\n useState,\n useCallback,\n useEffect,\n useContext\n} from 'react'\nimport { Icon } from '../icon'\nimport { Button } from '../controls/button'\nimport { CarouselRootContext } from './carousel-root'\n\nexport function CarouselAction({\n direction,\n className,\n ...props\n}: ComponentProps<'div'> & {\n direction: 'right' | 'left'\n}) {\n const { scrollAmount, scrollRef } = useContext(CarouselRootContext)\n\n const [canScrollLeft, setCanScrollLeft] = useState(false)\n const [canScrollRight, setCanScrollRight] = useState(false)\n const [isScrolling, setIsScrolling] = useState(false)\n\n const handleScroll = useCallback(() => {\n const container = scrollRef.current\n\n if (!container) return\n const { scrollLeft, scrollWidth, clientWidth } = container\n\n setCanScrollLeft(scrollLeft > 0)\n setCanScrollRight(scrollLeft < scrollWidth - clientWidth)\n }, [scrollRef])\n\n const handleScrollTo = useCallback(() => {\n const container = scrollRef.current\n if (!container) return\n setIsScrolling(true)\n container.scrollTo({\n left:\n direction === 'left'\n ? container.scrollLeft - scrollAmount\n : container.scrollLeft + scrollAmount,\n behavior: 'smooth'\n })\n\n setTimeout(() => setIsScrolling(false), 300)\n }, [direction, scrollAmount, scrollRef])\n\n useEffect(() => {\n const container = scrollRef.current\n\n if (!container) return\n\n handleScroll()\n\n container.addEventListener('scroll', handleScroll, { passive: true })\n window.addEventListener('resize', handleScroll)\n\n let resizeObserver: ResizeObserver | null = null\n\n if (typeof ResizeObserver !== 'undefined') {\n resizeObserver = new ResizeObserver(handleScroll)\n resizeObserver.observe(container)\n }\n\n return () => {\n container.removeEventListener('scroll', handleScroll)\n window.removeEventListener('resize', handleScroll)\n\n if (resizeObserver) {\n resizeObserver.disconnect()\n }\n }\n }, [handleScroll, scrollRef])\n\n if (direction === 'right' && !canScrollRight) return null\n if (direction === 'left' && !canScrollLeft) return null\n\n return (\n <div\n className={twMerge(\n 'absolute top-1/2 z-1000 h-full -translate-y-1/2 items-center justify-end',\n 'hidden transition-all duration-300 group-hover/carousel-root:flex',\n 'group-hover/carousel-root:animate-in group-hover/carousel-root:fade-in',\n direction === 'right' && 'right-0',\n direction === 'left' && 'left-0',\n className\n )}\n style={{\n background: `rgba(255, 255, 255, 0.4)`,\n ...props.style\n }}\n {...props}\n >\n <Button\n appearance=\"ghost\"\n aria-label=\"Scroll right\"\n disabled={isScrolling}\n size=\"icon_md\"\n variant=\"secondary\"\n onClick={handleScrollTo}\n >\n <Icon name={`chevron_${direction}`} />\n </Button>\n </div>\n )\n}\n"]}
@@ -1,2 +0,0 @@
1
- import {c}from'./chunk-O3JK6QF6.js';import {twMerge}from'@xjur-ui/util';import {jsx}from'react/jsx-runtime';function u({stepIndex:e,className:o,...r}){let{currentStepIndex:p}=c();return p!==e?null:jsx("div",{className:twMerge("h-full w-full",o),"data-slot":"step-item",...r})}export{u as a};//# sourceMappingURL=chunk-FQTUN47L.js.map
2
- //# sourceMappingURL=chunk-FQTUN47L.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../src/components/steps/step.tsx"],"names":["Step","stepIndex","className","props","currentStepIndex","useSteps","jsx","twMerge"],"mappings":"4GAIO,SAASA,CAAAA,CAAK,CACnB,SAAA,CAAAC,EACA,SAAA,CAAAC,CAAAA,CACA,GAAGC,CACL,CAAA,CAAkD,CAChD,GAAM,CAAE,gBAAA,CAAAC,CAAiB,EAAIC,CAAAA,EAAS,CAEtC,OAAID,CAAAA,GAAqBH,CAAAA,CAChB,KAIPK,GAAAA,CAAC,KAAA,CAAA,CACC,SAAA,CAAWC,OAAAA,CAAQ,gBAAiBL,CAAS,CAAA,CAC7C,YAAU,WAAA,CACT,GAAGC,EACN,CAEJ","file":"chunk-FQTUN47L.js","sourcesContent":["import type { ComponentProps } from 'react'\nimport { twMerge } from '@xjur-ui/util'\nimport { useSteps } from './steps-context'\n\nexport function Step({\n stepIndex,\n className,\n ...props\n}: ComponentProps<'div'> & { stepIndex: number }) {\n const { currentStepIndex } = useSteps()\n\n if (currentStepIndex !== stepIndex) {\n return null\n }\n\n return (\n <div\n className={twMerge('h-full w-full', className)}\n data-slot=\"step-item\"\n {...props}\n />\n )\n}\n"]}
@@ -1,2 +0,0 @@
1
- import {a}from'./chunk-4GDW5WIQ.js';import {b}from'./chunk-2JQVYVAT.js';import {a as a$1}from'./chunk-PBR7SFWY.js';import {InputMask}from'@react-input/mask';import {jsx}from'react/jsx-runtime';var{value:u}=a();function C({className:r,placeholder:s,...m}){let{customMask:o,state:t,mask:n,variant:i}=b();return jsx(InputMask,{...m,...n?{...a$1(n)}:o&&{...o},className:u({className:r,state:t}),disabled:t==="disabled",placeholder:i==="filter"?" ":s,readOnly:t==="disabled"})}export{C as a};//# sourceMappingURL=chunk-FU4H45BR.js.map
2
- //# sourceMappingURL=chunk-FU4H45BR.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../src/components/controls/input/input-mask.tsx"],"names":["value","input","InputMask","className","placeholder","props","customMask","state","mask","variant","useFieldContext","jsx","InputMaskComponent","inputMask"],"mappings":"iMAMA,GAAM,CAAE,KAAA,CAAAA,CAAM,EAAIC,CAAAA,EAAM,CAEjB,SAASC,CAAAA,CAAU,CACxB,SAAA,CAAAC,CAAAA,CACA,WAAA,CAAAC,CAAAA,CACA,GAAGC,CACL,CAAA,CAA4B,CAC1B,GAAM,CAAE,UAAA,CAAAC,CAAAA,CAAY,KAAA,CAAAC,CAAAA,CAAO,KAAAC,CAAAA,CAAM,OAAA,CAAAC,CAAQ,CAAA,CAAIC,GAAgB,CAE7D,OACEC,GAAAA,CAACC,SAAAA,CAAA,CACE,GAAGP,CAAAA,CACH,GAAIG,CAAAA,CAAO,CAAE,GAAGK,GAAAA,CAAUL,CAAI,CAAE,EAAIF,CAAAA,EAAc,CAAE,GAAGA,CAAW,EACnE,SAAA,CAAWN,CAAAA,CAAM,CAAE,SAAA,CAAAG,EAAW,KAAA,CAAAI,CAAM,CAAC,CAAA,CACrC,SAAUA,CAAAA,GAAU,UAAA,CACpB,WAAA,CAAaE,CAAAA,GAAY,SAAW,GAAA,CAAML,CAAAA,CAC1C,QAAA,CAAUG,CAAAA,GAAU,WACtB,CAEJ","file":"chunk-FU4H45BR.js","sourcesContent":["import type { ComponentProps } from 'react'\nimport { InputMask as InputMaskComponent } from '@react-input/mask'\nimport { useFieldContext } from '../context/field.context'\nimport { inputMask } from '../../../resources/input-mask'\nimport { input } from './input-styles'\n\nconst { value } = input()\n\nexport function InputMask({\n className,\n placeholder,\n ...props\n}: ComponentProps<'input'>) {\n const { customMask, state, mask, variant } = useFieldContext()\n\n return (\n <InputMaskComponent\n {...props}\n {...(mask ? { ...inputMask(mask) } : customMask && { ...customMask })}\n className={value({ className, state })}\n disabled={state === 'disabled'}\n placeholder={variant === 'filter' ? ' ' : placeholder}\n readOnly={state === 'disabled'}\n />\n )\n}\n"]}
@@ -1,2 +0,0 @@
1
- import {cx}from'@xjur-ui/util';import {jsx}from'react/jsx-runtime';function b({className:o,...t}){return jsx("tfoot",{className:cx("border-border-layer-2 border-t font-medium [&>tr]:last:border-b-0",o),"data-slot":"table-footer",...t})}export{b as a};//# sourceMappingURL=chunk-FUHASFGU.js.map
2
- //# sourceMappingURL=chunk-FUHASFGU.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../src/components/table/table-footer.tsx"],"names":["TableFooter","className","props","jsx","cx"],"mappings":"mEAEO,SAASA,CAAAA,CAAY,CAC1B,SAAA,CAAAC,CAAAA,CACA,GAAGC,CACL,CAAA,CAAkC,CAChC,OACEC,GAAAA,CAAC,OAAA,CAAA,CACC,SAAA,CAAWC,EAAAA,CACT,mEAAA,CACAH,CACF,CAAA,CACA,WAAA,CAAU,cAAA,CACT,GAAGC,CAAAA,CACN,CAEJ","file":"chunk-FUHASFGU.js","sourcesContent":["import { cx } from '@xjur-ui/util'\n\nexport function TableFooter({\n className,\n ...props\n}: React.ComponentProps<'tfoot'>) {\n return (\n <tfoot\n className={cx(\n 'border-border-layer-2 border-t font-medium [&>tr]:last:border-b-0',\n className\n )}\n data-slot=\"table-footer\"\n {...props}\n />\n )\n}\n"]}
@@ -1,2 +0,0 @@
1
- import {b}from'./chunk-SXGSWVMZ.js';import {b as b$1}from'./chunk-M6ZI7M3R.js';import {useCallback}from'react';import {jsx}from'react/jsx-runtime';function c({children:n="Hoje",variant:r="tertiary",...a}){let{setSelectedDate:t}=b(),l=useCallback(()=>{t(new Date);},[t]);return jsx(b$1,{variant:r,onClick:l,...a,children:n})}export{c as a};//# sourceMappingURL=chunk-GKILN5HI.js.map
2
- //# sourceMappingURL=chunk-GKILN5HI.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../src/components/full-calendar/calendar-today-button.tsx"],"names":["CalendarTodayButton","children","variant","props","setSelectedDate","useFullCalendar","handleToday","useCallback","jsx","Button"],"mappings":"mJAIO,SAASA,CAAAA,CAAoB,CAClC,QAAA,CAAAC,CAAAA,CAAW,OACX,OAAA,CAAAC,CAAAA,CAAU,UAAA,CACV,GAAGC,CACL,CAAA,CAAgB,CACd,GAAM,CAAE,eAAA,CAAAC,CAAgB,CAAA,CAAIC,CAAAA,GAEtBC,CAAAA,CAAcC,WAAAA,CAAY,IAAM,CACpCH,CAAAA,CAAgB,IAAI,IAAM,EAC5B,CAAA,CAAG,CAACA,CAAe,CAAC,CAAA,CAEpB,OACEI,GAAAA,CAACC,GAAAA,CAAA,CAAO,OAAA,CAASP,CAAAA,CAAS,OAAA,CAASI,EAAc,GAAGH,CAAAA,CACjD,QAAA,CAAAF,CAAAA,CACH,CAEJ","file":"chunk-GKILN5HI.js","sourcesContent":["import { useCallback } from 'react'\nimport { Button, type ButtonProps } from '../controls/button'\nimport { useFullCalendar } from './calendar-root'\n\nexport function CalendarTodayButton({\n children = 'Hoje',\n variant = 'tertiary',\n ...props\n}: ButtonProps) {\n const { setSelectedDate } = useFullCalendar()\n\n const handleToday = useCallback(() => {\n setSelectedDate(new Date())\n }, [setSelectedDate])\n\n return (\n <Button variant={variant} onClick={handleToday} {...props}>\n {children}\n </Button>\n )\n}\n"]}
@@ -1,2 +0,0 @@
1
- import {b}from'./chunk-DVDHTP4C.js';import {cx}from'@xjur-ui/util';import {jsx}from'react/jsx-runtime';function u({className:a,sortedDirection:t,...o}){return jsx("button",{className:cx("size-large-1x rounded-small-1x","flex cursor-pointer items-center justify-center","hidden group-hover/th:flex","data-[sorted=true]:flex","transition-all duration-200 ease-out","data-[sorted=true]:bg-primary-alt-active data-[sorted=true]:text-primary-label-active","absolute top-1/2 right-0 -translate-y-1/2",a),"data-sorted":t!==void 0,type:"button",...o,children:t!==void 0?jsx(b,{name:t==="asc"?"arrow_downward":"arrow_upward"}):jsx(b,{name:"swap_vert"})})}export{u as a};//# sourceMappingURL=chunk-GVKH2BG2.js.map
2
- //# sourceMappingURL=chunk-GVKH2BG2.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../src/components/table/table-sort.tsx"],"names":["TableSort","className","sortedDirection","props","jsx","cx","Icon"],"mappings":"uGAGO,SAASA,CAAAA,CAAU,CACxB,SAAA,CAAAC,CAAAA,CACA,eAAA,CAAAC,CAAAA,CACA,GAAGC,CACL,CAAA,CAA0E,CACxE,OACEC,GAAAA,CAAC,QAAA,CAAA,CACC,SAAA,CAAWC,EAAAA,CACT,gCAAA,CACA,iDAAA,CACA,4BAAA,CACA,yBAAA,CACA,sCAAA,CACA,uFAAA,CACA,4CACAJ,CACF,CAAA,CACA,aAAA,CAAaC,CAAAA,GAAoB,MAAA,CACjC,IAAA,CAAK,QAAA,CACJ,GAAGC,CAAAA,CAEH,QAAA,CAAAD,CAAAA,GAAoB,MAAA,CACnBE,GAAAA,CAACE,CAAAA,CAAA,CACC,IAAA,CAAMJ,CAAAA,GAAoB,KAAA,CAAQ,gBAAA,CAAmB,cAAA,CACvD,CAAA,CAEAE,GAAAA,CAACE,CAAAA,CAAA,CAAK,IAAA,CAAK,WAAA,CAAY,CAAA,CAE3B,CAEJ","file":"chunk-GVKH2BG2.js","sourcesContent":["import { cx } from '@xjur-ui/util'\nimport { Icon } from '../icon'\n\nexport function TableSort({\n className,\n sortedDirection,\n ...props\n}: React.ComponentProps<'button'> & { sortedDirection?: 'asc' | 'desc' }) {\n return (\n <button\n className={cx(\n 'size-large-1x rounded-small-1x',\n 'flex cursor-pointer items-center justify-center',\n 'hidden group-hover/th:flex',\n 'data-[sorted=true]:flex',\n 'transition-all duration-200 ease-out',\n 'data-[sorted=true]:bg-primary-alt-active data-[sorted=true]:text-primary-label-active',\n 'absolute top-1/2 right-0 -translate-y-1/2',\n className\n )}\n data-sorted={sortedDirection !== undefined}\n type=\"button\"\n {...props}\n >\n {sortedDirection !== undefined ? (\n <Icon\n name={sortedDirection === 'asc' ? 'arrow_downward' : 'arrow_upward'}\n />\n ) : (\n <Icon name=\"swap_vert\" />\n )}\n </button>\n )\n}\n"]}
@@ -1,2 +0,0 @@
1
- import {a}from'./chunk-SLQNE7TL.js';import {b}from'./chunk-2JQVYVAT.js';import {a as a$1}from'./chunk-PN2PHVKQ.js';import*as o from'@radix-ui/react-popover';import {jsx}from'react/jsx-runtime';var{content:f}=a();function x({className:p,sideOffset:i=5,side:s="bottom",align:a="start",children:m,...P}){let{state:d}=b();return jsx(o.Portal,{children:jsx(o.Content,{align:a,className:f({className:p,state:d}),side:s,sideOffset:i,...P,children:jsx(a$1,{children:m})})})}export{x as a};//# sourceMappingURL=chunk-H4XO5KQZ.js.map
2
- //# sourceMappingURL=chunk-H4XO5KQZ.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../src/components/controls/select/select-content.tsx"],"names":["content","select","SelectContent","className","sideOffset","side","align","children","props","state","useFieldContext","jsx","ListRoot"],"mappings":"iMAMA,GAAM,CAAE,OAAA,CAAAA,CAAQ,EAAIC,CAAAA,EAAO,CAEpB,SAASC,CAAAA,CAAc,CAC5B,SAAA,CAAAC,CAAAA,CACA,UAAA,CAAAC,CAAAA,CAAa,CAAA,CACb,IAAA,CAAAC,CAAAA,CAAO,QAAA,CACP,MAAAC,CAAAA,CAAQ,OAAA,CACR,QAAA,CAAAC,CAAAA,CACA,GAAGC,CACL,CAAA,CAAgD,CAC9C,GAAM,CAAE,KAAA,CAAAC,CAAM,CAAA,CAAIC,CAAAA,EAAgB,CAElC,OACEC,GAAAA,CAAc,CAAA,CAAA,MAAA,CAAb,CACC,QAAA,CAAAA,GAAAA,CAAc,CAAA,CAAA,OAAA,CAAb,CACC,MAAOL,CAAAA,CACP,SAAA,CAAWN,CAAAA,CAAQ,CAAE,UAAAG,CAAAA,CAAW,KAAA,CAAAM,CAAM,CAAC,CAAA,CACvC,IAAA,CAAMJ,CAAAA,CACN,UAAA,CAAYD,EACX,GAAGI,CAAAA,CAEJ,QAAA,CAAAG,GAAAA,CAACC,IAAA,CAAU,QAAA,CAAAL,CAAAA,CAAS,CAAA,CACtB,EACF,CAEJ","file":"chunk-H4XO5KQZ.js","sourcesContent":["import type { ComponentProps } from 'react'\nimport * as RadixPopover from '@radix-ui/react-popover'\nimport { ListRoot } from '../../list'\nimport { useFieldContext } from '../context/field.context'\nimport { select } from './select-styles'\n\nconst { content } = select()\n\nexport function SelectContent({\n className,\n sideOffset = 5,\n side = 'bottom',\n align = 'start',\n children,\n ...props\n}: ComponentProps<typeof RadixPopover.Content>) {\n const { state } = useFieldContext()\n\n return (\n <RadixPopover.Portal>\n <RadixPopover.Content\n align={align}\n className={content({ className, state })}\n side={side}\n sideOffset={sideOffset}\n {...props}\n >\n <ListRoot>{children}</ListRoot>\n </RadixPopover.Content>\n </RadixPopover.Portal>\n )\n}\n"]}
@@ -1,2 +0,0 @@
1
- import {a as a$1}from'./chunk-4GDW5WIQ.js';import {b}from'./chunk-2JQVYVAT.js';import {jsx}from'react/jsx-runtime';var{action:r}=a$1();function a({className:n,...p}){let{state:i}=b();return jsx("div",{className:r({className:n,state:i}),"data-slot":"input-action-slot",...p})}export{a};//# sourceMappingURL=chunk-HIT33DXM.js.map
2
- //# sourceMappingURL=chunk-HIT33DXM.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../src/components/controls/input/input-action.tsx"],"names":["action","input","InputAction","className","props","state","useFieldContext","jsx"],"mappings":"mHAIA,GAAM,CAAE,MAAA,CAAAA,CAAO,EAAIC,GAAAA,EAAM,CAElB,SAASC,CAAAA,CAAY,CAAE,SAAA,CAAAC,CAAAA,CAAW,GAAGC,CAAM,CAAA,CAA0B,CAC1E,GAAM,CAAE,KAAA,CAAAC,CAAM,EAAIC,CAAAA,EAAgB,CAClC,OACEC,GAAAA,CAAC,KAAA,CAAA,CACC,UAAWP,CAAAA,CAAO,CAAE,UAAAG,CAAAA,CAAW,KAAA,CAAAE,CAAM,CAAC,CAAA,CACtC,YAAU,mBAAA,CACT,GAAGD,EACN,CAEJ","file":"chunk-HIT33DXM.js","sourcesContent":["import type { ComponentProps } from 'react'\nimport { useFieldContext } from '../context/field.context'\nimport { input } from './input-styles'\n\nconst { action } = input()\n\nexport function InputAction({ className, ...props }: ComponentProps<'div'>) {\n const { state } = useFieldContext()\n return (\n <div\n className={action({ className, state })}\n data-slot=\"input-action-slot\"\n {...props}\n />\n )\n}\n"]}
@@ -1,2 +0,0 @@
1
- //# sourceMappingURL=chunk-HRG3L64O.js.map
2
- //# sourceMappingURL=chunk-HRG3L64O.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":[],"names":[],"mappings":"","file":"chunk-HRG3L64O.js"}
@@ -1,2 +0,0 @@
1
- import {a}from'./chunk-AIQVBX52.js';import {b}from'./chunk-2JQVYVAT.js';import {jsx}from'react/jsx-runtime';var{slotText:p}=a();function c({className:e,...r}){let{state:n}=b();return jsx("span",{className:p({className:e,state:n}),...r})}export{c as a};//# sourceMappingURL=chunk-IQKIIIQ3.js.map
2
- //# sourceMappingURL=chunk-IQKIIIQ3.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../src/components/controls/date-picker/date-picker-slot.tsx"],"names":["slotText","datePicker","DatePickerSlot","className","props","state","useFieldContext","jsx"],"mappings":"4GAIA,GAAM,CAAE,QAAA,CAAAA,CAAS,CAAA,CAAIC,CAAAA,EAAW,CAEzB,SAASC,EAAe,CAC7B,SAAA,CAAAC,EACA,GAAGC,CACL,EAA2B,CACzB,GAAM,CAAE,KAAA,CAAAC,CAAM,CAAA,CAAIC,CAAAA,GAClB,OAAOC,GAAAA,CAAC,QAAK,SAAA,CAAWP,CAAAA,CAAS,CAAE,SAAA,CAAAG,EAAW,KAAA,CAAAE,CAAM,CAAC,CAAA,CAAI,GAAGD,EAAO,CACrE","file":"chunk-IQKIIIQ3.js","sourcesContent":["import type { ComponentProps } from 'react'\nimport { useFieldContext } from '../context/field.context'\nimport { datePicker } from './date-picker-styles'\n\nconst { slotText } = datePicker()\n\nexport function DatePickerSlot({\n className,\n ...props\n}: ComponentProps<'span'>) {\n const { state } = useFieldContext()\n return <span className={slotText({ className, state })} {...props} />\n}\n"]}
@@ -1,2 +0,0 @@
1
- import {cx}from'@xjur-ui/util';import {jsx}from'react/jsx-runtime';function l({className:o,...r}){return jsx("div",{className:cx(o,"gap-large-2x p-large flex flex-col"),"data-slot":"calendar-body",...r})}export{l as a};//# sourceMappingURL=chunk-J4X5RQTR.js.map
2
- //# sourceMappingURL=chunk-J4X5RQTR.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../src/components/full-calendar/calendar-body.tsx"],"names":["CalendarBody","className","props","jsx","cx"],"mappings":"mEAGO,SAASA,CAAAA,CAAa,CAAE,SAAA,CAAAC,CAAAA,CAAW,GAAGC,CAAM,CAAA,CAA0B,CAC3E,OACEC,GAAAA,CAAC,KAAA,CAAA,CACC,SAAA,CAAWC,EAAAA,CAAGH,CAAAA,CAAW,oCAAoC,CAAA,CAC7D,WAAA,CAAU,eAAA,CACT,GAAGC,CAAAA,CACN,CAEJ","file":"chunk-J4X5RQTR.js","sourcesContent":["import { cx } from '@xjur-ui/util'\nimport type { ComponentProps } from 'react'\n\nexport function CalendarBody({ className, ...props }: ComponentProps<'div'>) {\n return (\n <div\n className={cx(className, 'gap-large-2x p-large flex flex-col')}\n data-slot=\"calendar-body\"\n {...props}\n />\n )\n}\n"]}
@@ -1,2 +0,0 @@
1
- import {c}from'./chunk-43DUEHUA.js';import {b}from'./chunk-M6ZI7M3R.js';import {jsx}from'react/jsx-runtime';function s({...r}){return jsx(c,{...r,asChild:true,children:jsx(b,{appearance:"ghost",children:"Cancelar"})})}export{s as a};//# sourceMappingURL=chunk-JF7JKJES.js.map
2
- //# sourceMappingURL=chunk-JF7JKJES.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../src/components/custom/pessoa/pessoa-close-button.tsx"],"names":["PessoaCloseButton","props","jsx","SheetClose","Button"],"mappings":"4GAIO,SAASA,CAAAA,CAAkB,CAChC,GAAGC,CACL,CAAA,CAAsC,CACpC,OACEC,GAAAA,CAACC,CAAAA,CAAA,CAAY,GAAGF,CAAAA,CAAO,OAAA,CAAS,IAAA,CAC9B,QAAA,CAAAC,GAAAA,CAACE,CAAAA,CAAA,CAAO,UAAA,CAAW,OAAA,CAAQ,QAAA,CAAA,UAAA,CAAQ,CAAA,CACrC,CAEJ","file":"chunk-JF7JKJES.js","sourcesContent":["import type { ComponentProps } from 'react'\nimport { SheetClose } from '../../sheet'\nimport { Button } from '../../controls/button'\n\nexport function PessoaCloseButton({\n ...props\n}: ComponentProps<typeof SheetClose>) {\n return (\n <SheetClose {...props} asChild={true}>\n <Button appearance=\"ghost\">Cancelar</Button>\n </SheetClose>\n )\n}\n"]}
@@ -1,2 +0,0 @@
1
- import {a}from'./chunk-4ZEXJODE.js';import {jsx}from'react/jsx-runtime';function p(o){return jsx(a,{...o})}export{p as a};//# sourceMappingURL=chunk-JHRYQ25B.js.map
2
- //# sourceMappingURL=chunk-JHRYQ25B.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../src/components/controls/select/select-header.tsx"],"names":["SelectHeader","props","jsx","ListHeader"],"mappings":"wEAGO,SAASA,CAAAA,CAAaC,CAAAA,CAA0C,CACrE,OAAOC,GAAAA,CAACC,CAAAA,CAAA,CAAY,GAAGF,CAAAA,CAAO,CAChC","file":"chunk-JHRYQ25B.js","sourcesContent":["import type { ComponentProps } from 'react'\nimport { ListHeader } from '../../list'\n\nexport function SelectHeader(props: ComponentProps<typeof ListHeader>) {\n return <ListHeader {...props} />\n}\n"]}
@@ -1,2 +0,0 @@
1
- import {useState,useEffect}from'react';function i(){let[o,e]=useState("unknown");return useEffect(()=>{if(typeof window>"u")return;let n=window.navigator.userAgent;/iPad|iPhone|iPod/.test(n)?e("ios"):/Mac/.test(n)?e("macos"):/Win/.test(n)?e("windows"):/Android/.test(n)?e("android"):/Linux/.test(n)?e("linux"):e("unknown");},[]),{os:o,shortcut:["macos","ios"].includes(o)?"\u2318":"Ctrl"}}export{i as a};//# sourceMappingURL=chunk-KS6WGBHQ.js.map
2
- //# sourceMappingURL=chunk-KS6WGBHQ.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../src/hooks/use-os.ts"],"names":["useOS","os","setOs","useState","useEffect","userAgent"],"mappings":"uCAIO,SAASA,GAAQ,CACtB,GAAM,CAACC,CAAAA,CAAIC,CAAK,CAAA,CAAIC,QAAAA,CAAa,SAAS,CAAA,CAE1C,OAAAC,UAAU,IAAM,CACd,GAAI,OAAO,OAAW,GAAA,CAAa,OAEnC,IAAMC,CAAAA,CAAY,MAAA,CAAO,UAAU,SAAA,CAE/B,kBAAA,CAAmB,IAAA,CAAKA,CAAS,EACnCH,CAAAA,CAAM,KAAK,EACF,KAAA,CAAM,IAAA,CAAKG,CAAS,CAAA,CAC7BH,CAAAA,CAAM,OAAO,CAAA,CACJ,MAAM,IAAA,CAAKG,CAAS,EAC7BH,CAAAA,CAAM,SAAS,EACN,SAAA,CAAU,IAAA,CAAKG,CAAS,CAAA,CACjCH,EAAM,SAAS,CAAA,CACN,QAAQ,IAAA,CAAKG,CAAS,EAC/BH,CAAAA,CAAM,OAAO,CAAA,CAEbA,CAAAA,CAAM,SAAS,EAEnB,CAAA,CAAG,EAAE,CAAA,CAEE,CACL,EAAA,CAAAD,CAAAA,CACA,SAAU,CAAC,OAAA,CAAS,KAAK,CAAA,CAAE,QAAA,CAASA,CAAE,CAAA,CAAI,QAAA,CAAM,MAClD,CACF","file":"chunk-KS6WGBHQ.js","sourcesContent":["import { useState, useEffect } from 'react'\n\nexport type OS = 'ios' | 'macos' | 'windows' | 'android' | 'linux' | 'unknown'\n\nexport function useOS() {\n const [os, setOs] = useState<OS>('unknown')\n\n useEffect(() => {\n if (typeof window === 'undefined') return\n\n const userAgent = window.navigator.userAgent\n\n if (/iPad|iPhone|iPod/.test(userAgent)) {\n setOs('ios')\n } else if (/Mac/.test(userAgent)) {\n setOs('macos')\n } else if (/Win/.test(userAgent)) {\n setOs('windows')\n } else if (/Android/.test(userAgent)) {\n setOs('android')\n } else if (/Linux/.test(userAgent)) {\n setOs('linux')\n } else {\n setOs('unknown')\n }\n }, [])\n\n return {\n os,\n shortcut: ['macos', 'ios'].includes(os) ? '⌘' : 'Ctrl'\n }\n}\n"]}