@sparrowengg/integrations-templates-frontend 1.9.84-beta.2 → 1.9.84-beta.20

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 (455) hide show
  1. package/dist/cjs/_virtual/index10.js +2 -2
  2. package/dist/cjs/_virtual/index9.js +2 -2
  3. package/dist/cjs/authentication/constants/index.js +115 -1
  4. package/dist/cjs/authentication/constants/index.js.map +1 -1
  5. package/dist/cjs/authentication/index.js +36 -32
  6. package/dist/cjs/authentication/index.js.map +1 -1
  7. package/dist/cjs/cascader-dropdown/cascader-dropdown-breadcrumb.js +118 -0
  8. package/dist/cjs/cascader-dropdown/cascader-dropdown-breadcrumb.js.map +1 -0
  9. package/dist/cjs/cascader-dropdown/cascader-dropdown-content.js +186 -0
  10. package/dist/cjs/cascader-dropdown/cascader-dropdown-content.js.map +1 -0
  11. package/dist/cjs/cascader-dropdown/cascader-dropdown-item.js +65 -0
  12. package/dist/cjs/cascader-dropdown/cascader-dropdown-item.js.map +1 -0
  13. package/dist/cjs/cascader-dropdown/cascader-dropdown-list.js +83 -0
  14. package/dist/cjs/cascader-dropdown/cascader-dropdown-list.js.map +1 -0
  15. package/dist/cjs/cascader-dropdown/cascader-dropdown-node.js +90 -0
  16. package/dist/cjs/cascader-dropdown/cascader-dropdown-node.js.map +1 -0
  17. package/dist/cjs/cascader-dropdown/cascader-dropdown-provider.js +172 -0
  18. package/dist/cjs/cascader-dropdown/cascader-dropdown-provider.js.map +1 -0
  19. package/dist/cjs/cascader-dropdown/cascader-dropdown-root-node.js +56 -0
  20. package/dist/cjs/cascader-dropdown/cascader-dropdown-root-node.js.map +1 -0
  21. package/dist/cjs/cascader-dropdown/cascader-dropdown-search-input.js +141 -0
  22. package/dist/cjs/cascader-dropdown/cascader-dropdown-search-input.js.map +1 -0
  23. package/dist/cjs/cascader-dropdown/cascader-dropdown-search-list.js +174 -0
  24. package/dist/cjs/cascader-dropdown/cascader-dropdown-search-list.js.map +1 -0
  25. package/dist/cjs/cascader-dropdown/cascader-dropdown-value-selector.js +484 -0
  26. package/dist/cjs/cascader-dropdown/cascader-dropdown-value-selector.js.map +1 -0
  27. package/dist/cjs/cascader-dropdown/cascader-dropdown.js +98 -0
  28. package/dist/cjs/cascader-dropdown/cascader-dropdown.js.map +1 -0
  29. package/dist/cjs/cascader-dropdown/helpers/cascader-dropdown-constants.js +31 -0
  30. package/dist/cjs/cascader-dropdown/helpers/cascader-dropdown-constants.js.map +1 -0
  31. package/dist/cjs/cascader-dropdown/helpers/cascader-dropdown-utils.js +136 -0
  32. package/dist/cjs/cascader-dropdown/helpers/cascader-dropdown-utils.js.map +1 -0
  33. package/dist/cjs/cascader-dropdown/styled/StyledItem.js +42 -0
  34. package/dist/cjs/cascader-dropdown/styled/StyledItem.js.map +1 -0
  35. package/dist/cjs/cascader-dropdown/use-value.js +45 -0
  36. package/dist/cjs/cascader-dropdown/use-value.js.map +1 -0
  37. package/dist/cjs/commons/components/NamingModal.js +82 -0
  38. package/dist/cjs/commons/components/NamingModal.js.map +1 -0
  39. package/dist/cjs/commons/constants/enhanced.js +12 -0
  40. package/dist/cjs/commons/constants/enhanced.js.map +1 -0
  41. package/dist/cjs/commons/constants/index.js +7 -1
  42. package/dist/cjs/commons/constants/index.js.map +1 -1
  43. package/dist/cjs/contact-import/components/contact-import-configure.js.map +1 -1
  44. package/dist/cjs/contact-import/components/contact-import-mapping.js +10 -7
  45. package/dist/cjs/contact-import/components/contact-import-mapping.js.map +1 -1
  46. package/dist/cjs/contact-import/index.js +6 -9
  47. package/dist/cjs/contact-import/index.js.map +1 -1
  48. package/dist/cjs/dynamic-mapping/components/mapping.js +496 -0
  49. package/dist/cjs/dynamic-mapping/components/mapping.js.map +1 -0
  50. package/dist/cjs/dynamic-mapping/index.js +1083 -0
  51. package/dist/cjs/dynamic-mapping/index.js.map +1 -0
  52. package/dist/cjs/filter/filter-pill-value-selector.js +56 -0
  53. package/dist/cjs/filter/filter-pill-value-selector.js.map +1 -0
  54. package/dist/cjs/filter/filter-pill.js +301 -0
  55. package/dist/cjs/filter/filter-pill.js.map +1 -0
  56. package/dist/cjs/index.js +7 -0
  57. package/dist/cjs/index.js.map +1 -1
  58. package/dist/cjs/integration-template/components/dashboard.js +227 -197
  59. package/dist/cjs/integration-template/components/dashboard.js.map +1 -1
  60. package/dist/cjs/integration-template/index.js +33 -14
  61. package/dist/cjs/integration-template/index.js.map +1 -1
  62. package/dist/cjs/mapping/components/custom-date-menu.js +3 -2
  63. package/dist/cjs/mapping/components/custom-date-menu.js.map +1 -1
  64. package/dist/cjs/mapping/components/custom-menu.js.map +1 -1
  65. package/dist/cjs/mapping/components/field.js +14 -6
  66. package/dist/cjs/mapping/components/field.js.map +1 -1
  67. package/dist/cjs/mapping/components/mapping.js +29 -21
  68. package/dist/cjs/mapping/components/mapping.js.map +1 -1
  69. package/dist/cjs/mapping/constants/index.js +32 -0
  70. package/dist/cjs/mapping/constants/index.js.map +1 -0
  71. package/dist/cjs/mapping/index.js +453 -24
  72. package/dist/cjs/mapping/index.js.map +1 -1
  73. package/dist/cjs/mapping/services/index.js.map +1 -1
  74. package/dist/cjs/node_modules/@floating-ui/core/dist/floating-ui.core.js +823 -0
  75. package/dist/cjs/node_modules/@floating-ui/core/dist/floating-ui.core.js.map +1 -0
  76. package/dist/cjs/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.js +378 -0
  77. package/dist/cjs/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.js.map +1 -0
  78. package/dist/cjs/node_modules/@floating-ui/react-dom/node_modules/@floating-ui/dom/dist/floating-ui.dom.js +746 -0
  79. package/dist/cjs/node_modules/@floating-ui/react-dom/node_modules/@floating-ui/dom/dist/floating-ui.dom.js.map +1 -0
  80. package/dist/cjs/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.js +176 -0
  81. package/dist/cjs/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.js.map +1 -0
  82. package/dist/cjs/node_modules/@floating-ui/utils/dist/floating-ui.utils.js +160 -0
  83. package/dist/cjs/node_modules/@floating-ui/utils/dist/floating-ui.utils.js.map +1 -0
  84. package/dist/cjs/node_modules/@internationalized/date/dist/CalendarDate.js +59 -0
  85. package/dist/cjs/node_modules/@internationalized/date/dist/CalendarDate.js.map +1 -1
  86. package/dist/cjs/node_modules/@internationalized/date/dist/conversion.js +36 -0
  87. package/dist/cjs/node_modules/@internationalized/date/dist/conversion.js.map +1 -1
  88. package/dist/cjs/node_modules/@internationalized/date/dist/manipulation.js +120 -0
  89. package/dist/cjs/node_modules/@internationalized/date/dist/manipulation.js.map +1 -1
  90. package/dist/cjs/node_modules/@internationalized/date/dist/queries.js +10 -0
  91. package/dist/cjs/node_modules/@internationalized/date/dist/queries.js.map +1 -1
  92. package/dist/cjs/node_modules/@internationalized/date/dist/string.js +11 -0
  93. package/dist/cjs/node_modules/@internationalized/date/dist/string.js.map +1 -1
  94. package/dist/cjs/node_modules/@internationalized/date/dist/utils.js +2 -1
  95. package/dist/cjs/node_modules/@internationalized/date/dist/utils.js.map +1 -1
  96. package/dist/cjs/node_modules/@radix-ui/primitive/dist/index.js +14 -0
  97. package/dist/cjs/node_modules/@radix-ui/primitive/dist/index.js.map +1 -0
  98. package/dist/cjs/node_modules/@radix-ui/react-arrow/dist/index.js +48 -0
  99. package/dist/cjs/node_modules/@radix-ui/react-arrow/dist/index.js.map +1 -0
  100. package/dist/cjs/node_modules/@radix-ui/react-compose-refs/dist/index.js +62 -0
  101. package/dist/cjs/node_modules/@radix-ui/react-compose-refs/dist/index.js.map +1 -0
  102. package/dist/cjs/node_modules/@radix-ui/react-context/dist/index.js +85 -0
  103. package/dist/cjs/node_modules/@radix-ui/react-context/dist/index.js.map +1 -0
  104. package/dist/cjs/node_modules/@radix-ui/react-dismissable-layer/dist/index.js +234 -0
  105. package/dist/cjs/node_modules/@radix-ui/react-dismissable-layer/dist/index.js.map +1 -0
  106. package/dist/cjs/node_modules/@radix-ui/react-focus-guards/dist/index.js +51 -0
  107. package/dist/cjs/node_modules/@radix-ui/react-focus-guards/dist/index.js.map +1 -0
  108. package/dist/cjs/node_modules/@radix-ui/react-focus-scope/dist/index.js +229 -0
  109. package/dist/cjs/node_modules/@radix-ui/react-focus-scope/dist/index.js.map +1 -0
  110. package/dist/cjs/node_modules/@radix-ui/react-id/dist/index.js +37 -0
  111. package/dist/cjs/node_modules/@radix-ui/react-id/dist/index.js.map +1 -0
  112. package/dist/cjs/node_modules/@radix-ui/react-popover/dist/index.js +337 -0
  113. package/dist/cjs/node_modules/@radix-ui/react-popover/dist/index.js.map +1 -0
  114. package/dist/cjs/node_modules/@radix-ui/react-popper/dist/index.js +308 -0
  115. package/dist/cjs/node_modules/@radix-ui/react-popper/dist/index.js.map +1 -0
  116. package/dist/cjs/node_modules/@radix-ui/react-portal/dist/index.js +39 -0
  117. package/dist/cjs/node_modules/@radix-ui/react-portal/dist/index.js.map +1 -0
  118. package/dist/cjs/node_modules/@radix-ui/react-presence/dist/index.js +152 -0
  119. package/dist/cjs/node_modules/@radix-ui/react-presence/dist/index.js.map +1 -0
  120. package/dist/cjs/node_modules/@radix-ui/react-primitive/dist/index.js +67 -0
  121. package/dist/cjs/node_modules/@radix-ui/react-primitive/dist/index.js.map +1 -0
  122. package/dist/cjs/node_modules/@radix-ui/react-slot/dist/index.js +111 -0
  123. package/dist/cjs/node_modules/@radix-ui/react-slot/dist/index.js.map +1 -0
  124. package/dist/cjs/node_modules/@radix-ui/react-use-callback-ref/dist/index.js +34 -0
  125. package/dist/cjs/node_modules/@radix-ui/react-use-callback-ref/dist/index.js.map +1 -0
  126. package/dist/cjs/node_modules/@radix-ui/react-use-controllable-state/dist/index.js +92 -0
  127. package/dist/cjs/node_modules/@radix-ui/react-use-controllable-state/dist/index.js.map +1 -0
  128. package/dist/cjs/node_modules/@radix-ui/react-use-escape-keydown/dist/index.js +40 -0
  129. package/dist/cjs/node_modules/@radix-ui/react-use-escape-keydown/dist/index.js.map +1 -0
  130. package/dist/cjs/node_modules/@radix-ui/react-use-layout-effect/dist/index.js +29 -0
  131. package/dist/cjs/node_modules/@radix-ui/react-use-layout-effect/dist/index.js.map +1 -0
  132. package/dist/cjs/node_modules/@radix-ui/react-use-size/dist/index.js +62 -0
  133. package/dist/cjs/node_modules/@radix-ui/react-use-size/dist/index.js.map +1 -0
  134. package/dist/cjs/node_modules/@sparrowengg/twigs-react/dist/es/calendar/calendar-header.js +37 -0
  135. package/dist/cjs/node_modules/@sparrowengg/twigs-react/dist/es/calendar/calendar-header.js.map +1 -1
  136. package/dist/cjs/node_modules/@sparrowengg/twigs-react/dist/es/calendar/calendar-range.js +336 -0
  137. package/dist/cjs/node_modules/@sparrowengg/twigs-react/dist/es/calendar/calendar-range.js.map +1 -0
  138. package/dist/cjs/node_modules/@sparrowengg/twigs-react/dist/es/calendar/calendar-utils.js +5 -0
  139. package/dist/cjs/node_modules/@sparrowengg/twigs-react/dist/es/calendar/calendar-utils.js.map +1 -1
  140. package/dist/cjs/node_modules/@sparrowengg/twigs-react/dist/es/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.js +3 -3
  141. package/dist/cjs/node_modules/@sparrowengg/twigs-react/dist/es/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.js.map +1 -1
  142. package/dist/cjs/node_modules/@sparrowengg/twigs-react/dist/es/node_modules/@radix-ui/react-portal/dist/index.js +2 -2
  143. package/dist/cjs/node_modules/@sparrowengg/twigs-react/dist/es/node_modules/@radix-ui/react-portal/dist/index.js.map +1 -1
  144. package/dist/cjs/node_modules/@sparrowengg/twigs-react/dist/es/node_modules/@radix-ui/react-presence/dist/index.js +3 -3
  145. package/dist/cjs/node_modules/@sparrowengg/twigs-react/dist/es/node_modules/@radix-ui/react-presence/dist/index.js.map +1 -1
  146. package/dist/cjs/node_modules/@sparrowengg/twigs-react/dist/es/node_modules/@radix-ui/react-primitive/dist/index.js +3 -3
  147. package/dist/cjs/node_modules/@sparrowengg/twigs-react/dist/es/node_modules/@radix-ui/react-primitive/dist/index.js.map +1 -1
  148. package/dist/cjs/node_modules/@sparrowengg/twigs-react/dist/es/node_modules/@react-aria/calendar/dist/import.js +57 -0
  149. package/dist/cjs/node_modules/@sparrowengg/twigs-react/dist/es/node_modules/@react-aria/calendar/dist/import.js.map +1 -1
  150. package/dist/cjs/node_modules/@sparrowengg/twigs-react/dist/es/node_modules/@react-aria/utils/dist/import.js +33 -0
  151. package/dist/cjs/node_modules/@sparrowengg/twigs-react/dist/es/node_modules/@react-aria/utils/dist/import.js.map +1 -1
  152. package/dist/cjs/node_modules/@sparrowengg/twigs-react/dist/es/node_modules/@react-stately/calendar/dist/import.js +173 -0
  153. package/dist/cjs/node_modules/@sparrowengg/twigs-react/dist/es/node_modules/@react-stately/calendar/dist/import.js.map +1 -1
  154. package/dist/cjs/node_modules/@sparrowengg/twigs-react/dist/es/node_modules/react-select/dist/index-baa8dc4f.esm.js +2 -2
  155. package/dist/cjs/node_modules/@sparrowengg/twigs-react/dist/es/node_modules/react-select/dist/index-baa8dc4f.esm.js.map +1 -1
  156. package/dist/cjs/node_modules/@sparrowengg/twigs-react/dist/es/node_modules/react-transition-group/esm/Transition.js +5 -5
  157. package/dist/cjs/node_modules/@sparrowengg/twigs-react/dist/es/node_modules/react-transition-group/esm/Transition.js.map +1 -1
  158. package/dist/cjs/node_modules/@sparrowengg/twigs-react/dist/es/textarea/textarea.js +265 -0
  159. package/dist/cjs/node_modules/@sparrowengg/twigs-react/dist/es/textarea/textarea.js.map +1 -0
  160. package/dist/cjs/node_modules/@sparrowengg/twigs-react-icons/dist/es/icons/chevron-left.js +75 -0
  161. package/dist/cjs/node_modules/@sparrowengg/twigs-react-icons/dist/es/icons/chevron-left.js.map +1 -0
  162. package/dist/cjs/node_modules/@sparrowengg/twigs-react-icons/dist/es/icons/question-circle.js +99 -0
  163. package/dist/cjs/node_modules/@sparrowengg/twigs-react-icons/dist/es/icons/question-circle.js.map +1 -0
  164. package/dist/cjs/node_modules/@stitches/react/dist/index.js +9 -0
  165. package/dist/cjs/node_modules/@stitches/react/dist/index.js.map +1 -0
  166. package/dist/cjs/node_modules/aria-hidden/dist/es2015/index.js +140 -0
  167. package/dist/cjs/node_modules/aria-hidden/dist/es2015/index.js.map +1 -0
  168. package/dist/cjs/node_modules/get-nonce/dist/es2015/index.js +11 -0
  169. package/dist/cjs/node_modules/get-nonce/dist/es2015/index.js.map +1 -0
  170. package/dist/cjs/node_modules/hoist-non-react-statics/node_modules/react-is/index.js +1 -1
  171. package/dist/cjs/node_modules/html-dom-parser/node_modules/domutils/lib/index.js +1 -1
  172. package/dist/cjs/node_modules/html-dom-parser/node_modules/htmlparser2/lib/index.js +1 -1
  173. package/dist/cjs/node_modules/react-remove-scroll/dist/es2015/Combination.js +34 -0
  174. package/dist/cjs/node_modules/react-remove-scroll/dist/es2015/Combination.js.map +1 -0
  175. package/dist/cjs/node_modules/react-remove-scroll/dist/es2015/SideEffect.js +184 -0
  176. package/dist/cjs/node_modules/react-remove-scroll/dist/es2015/SideEffect.js.map +1 -0
  177. package/dist/cjs/node_modules/react-remove-scroll/dist/es2015/UI.js +60 -0
  178. package/dist/cjs/node_modules/react-remove-scroll/dist/es2015/UI.js.map +1 -0
  179. package/dist/cjs/node_modules/react-remove-scroll/dist/es2015/aggresiveCapture.js +24 -0
  180. package/dist/cjs/node_modules/react-remove-scroll/dist/es2015/aggresiveCapture.js.map +1 -0
  181. package/dist/cjs/node_modules/react-remove-scroll/dist/es2015/handleScroll.js +110 -0
  182. package/dist/cjs/node_modules/react-remove-scroll/dist/es2015/handleScroll.js.map +1 -0
  183. package/dist/cjs/node_modules/react-remove-scroll/dist/es2015/medium.js +8 -0
  184. package/dist/cjs/node_modules/react-remove-scroll/dist/es2015/medium.js.map +1 -0
  185. package/dist/cjs/node_modules/react-remove-scroll/dist/es2015/sidecar.js +12 -0
  186. package/dist/cjs/node_modules/react-remove-scroll/dist/es2015/sidecar.js.map +1 -0
  187. package/dist/cjs/node_modules/react-remove-scroll-bar/dist/es2015/component.js +80 -0
  188. package/dist/cjs/node_modules/react-remove-scroll-bar/dist/es2015/component.js.map +1 -0
  189. package/dist/cjs/node_modules/react-remove-scroll-bar/dist/es2015/constants.js +16 -0
  190. package/dist/cjs/node_modules/react-remove-scroll-bar/dist/es2015/constants.js.map +1 -0
  191. package/dist/cjs/node_modules/react-remove-scroll-bar/dist/es2015/utils.js +35 -0
  192. package/dist/cjs/node_modules/react-remove-scroll-bar/dist/es2015/utils.js.map +1 -0
  193. package/dist/cjs/node_modules/react-select/dist/index-a301f526.esm.js +2 -2
  194. package/dist/cjs/node_modules/react-select/dist/index-a301f526.esm.js.map +1 -1
  195. package/dist/cjs/node_modules/react-style-singleton/dist/es2015/component.js +22 -0
  196. package/dist/cjs/node_modules/react-style-singleton/dist/es2015/component.js.map +1 -0
  197. package/dist/cjs/node_modules/react-style-singleton/dist/es2015/hook.js +47 -0
  198. package/dist/cjs/node_modules/react-style-singleton/dist/es2015/hook.js.map +1 -0
  199. package/dist/cjs/node_modules/react-style-singleton/dist/es2015/singleton.js +54 -0
  200. package/dist/cjs/node_modules/react-style-singleton/dist/es2015/singleton.js.map +1 -0
  201. package/dist/cjs/node_modules/tslib/tslib.es6.js +60 -0
  202. package/dist/cjs/node_modules/tslib/tslib.es6.js.map +1 -0
  203. package/dist/cjs/node_modules/use-callback-ref/dist/es2015/assignRef.js +27 -0
  204. package/dist/cjs/node_modules/use-callback-ref/dist/es2015/assignRef.js.map +1 -0
  205. package/dist/cjs/node_modules/use-callback-ref/dist/es2015/useMergeRef.js +70 -0
  206. package/dist/cjs/node_modules/use-callback-ref/dist/es2015/useMergeRef.js.map +1 -0
  207. package/dist/cjs/node_modules/use-callback-ref/dist/es2015/useRef.js +45 -0
  208. package/dist/cjs/node_modules/use-callback-ref/dist/es2015/useRef.js.map +1 -0
  209. package/dist/cjs/node_modules/use-sidecar/dist/es2015/exports.js +43 -0
  210. package/dist/cjs/node_modules/use-sidecar/dist/es2015/exports.js.map +1 -0
  211. package/dist/cjs/node_modules/use-sidecar/dist/es2015/medium.js +80 -0
  212. package/dist/cjs/node_modules/use-sidecar/dist/es2015/medium.js.map +1 -0
  213. package/dist/cjs/packages/frontend-templates/slitches.config.js +392 -0
  214. package/dist/cjs/packages/frontend-templates/slitches.config.js.map +1 -0
  215. package/dist/cjs/popover/popover.js +55 -0
  216. package/dist/cjs/popover/popover.js.map +1 -0
  217. package/dist/cjs/single-mapping/components/mapping.js +28 -14
  218. package/dist/cjs/single-mapping/components/mapping.js.map +1 -1
  219. package/dist/cjs/single-mapping/index.js +25 -28
  220. package/dist/cjs/single-mapping/index.js.map +1 -1
  221. package/dist/cjs/triggers/components/subcomponents.js +22 -21
  222. package/dist/cjs/triggers/components/subcomponents.js.map +1 -1
  223. package/dist/cjs/triggers/components/trigger.js +31 -32
  224. package/dist/cjs/triggers/components/trigger.js.map +1 -1
  225. package/dist/cjs/triggers/constants/index.js +5 -11
  226. package/dist/cjs/triggers/constants/index.js.map +1 -1
  227. package/dist/cjs/triggers/index.js +38 -39
  228. package/dist/cjs/triggers/index.js.map +1 -1
  229. package/dist/es/_virtual/index10.js +2 -2
  230. package/dist/es/_virtual/index9.js +2 -2
  231. package/dist/es/authentication/constants/index.js +114 -2
  232. package/dist/es/authentication/constants/index.js.map +1 -1
  233. package/dist/es/authentication/index.js +35 -31
  234. package/dist/es/authentication/index.js.map +1 -1
  235. package/dist/es/cascader-dropdown/cascader-dropdown-breadcrumb.js +116 -0
  236. package/dist/es/cascader-dropdown/cascader-dropdown-breadcrumb.js.map +1 -0
  237. package/dist/es/cascader-dropdown/cascader-dropdown-content.js +184 -0
  238. package/dist/es/cascader-dropdown/cascader-dropdown-content.js.map +1 -0
  239. package/dist/es/cascader-dropdown/cascader-dropdown-item.js +63 -0
  240. package/dist/es/cascader-dropdown/cascader-dropdown-item.js.map +1 -0
  241. package/dist/es/cascader-dropdown/cascader-dropdown-list.js +81 -0
  242. package/dist/es/cascader-dropdown/cascader-dropdown-list.js.map +1 -0
  243. package/dist/es/cascader-dropdown/cascader-dropdown-node.js +88 -0
  244. package/dist/es/cascader-dropdown/cascader-dropdown-node.js.map +1 -0
  245. package/dist/es/cascader-dropdown/cascader-dropdown-provider.js +170 -0
  246. package/dist/es/cascader-dropdown/cascader-dropdown-provider.js.map +1 -0
  247. package/dist/es/cascader-dropdown/cascader-dropdown-root-node.js +54 -0
  248. package/dist/es/cascader-dropdown/cascader-dropdown-root-node.js.map +1 -0
  249. package/dist/es/cascader-dropdown/cascader-dropdown-search-input.js +139 -0
  250. package/dist/es/cascader-dropdown/cascader-dropdown-search-input.js.map +1 -0
  251. package/dist/es/cascader-dropdown/cascader-dropdown-search-list.js +172 -0
  252. package/dist/es/cascader-dropdown/cascader-dropdown-search-list.js.map +1 -0
  253. package/dist/es/cascader-dropdown/cascader-dropdown-value-selector.js +478 -0
  254. package/dist/es/cascader-dropdown/cascader-dropdown-value-selector.js.map +1 -0
  255. package/dist/es/cascader-dropdown/cascader-dropdown.js +96 -0
  256. package/dist/es/cascader-dropdown/cascader-dropdown.js.map +1 -0
  257. package/dist/es/cascader-dropdown/helpers/cascader-dropdown-constants.js +27 -0
  258. package/dist/es/cascader-dropdown/helpers/cascader-dropdown-constants.js.map +1 -0
  259. package/dist/es/cascader-dropdown/helpers/cascader-dropdown-utils.js +129 -0
  260. package/dist/es/cascader-dropdown/helpers/cascader-dropdown-utils.js.map +1 -0
  261. package/dist/es/cascader-dropdown/styled/StyledItem.js +39 -0
  262. package/dist/es/cascader-dropdown/styled/StyledItem.js.map +1 -0
  263. package/dist/es/cascader-dropdown/use-value.js +42 -0
  264. package/dist/es/cascader-dropdown/use-value.js.map +1 -0
  265. package/dist/es/commons/components/NamingModal.js +78 -0
  266. package/dist/es/commons/components/NamingModal.js.map +1 -0
  267. package/dist/es/commons/constants/enhanced.js +10 -0
  268. package/dist/es/commons/constants/enhanced.js.map +1 -0
  269. package/dist/es/commons/constants/index.js +5 -2
  270. package/dist/es/commons/constants/index.js.map +1 -1
  271. package/dist/es/contact-import/components/contact-import-configure.js.map +1 -1
  272. package/dist/es/contact-import/components/contact-import-mapping.js +10 -7
  273. package/dist/es/contact-import/components/contact-import-mapping.js.map +1 -1
  274. package/dist/es/contact-import/index.js +4 -7
  275. package/dist/es/contact-import/index.js.map +1 -1
  276. package/dist/es/dynamic-mapping/components/mapping.js +492 -0
  277. package/dist/es/dynamic-mapping/components/mapping.js.map +1 -0
  278. package/dist/es/dynamic-mapping/index.js +1081 -0
  279. package/dist/es/dynamic-mapping/index.js.map +1 -0
  280. package/dist/es/filter/filter-pill-value-selector.js +52 -0
  281. package/dist/es/filter/filter-pill-value-selector.js.map +1 -0
  282. package/dist/es/filter/filter-pill.js +298 -0
  283. package/dist/es/filter/filter-pill.js.map +1 -0
  284. package/dist/es/index.js +3 -0
  285. package/dist/es/index.js.map +1 -1
  286. package/dist/es/integration-template/components/dashboard.js +227 -197
  287. package/dist/es/integration-template/components/dashboard.js.map +1 -1
  288. package/dist/es/integration-template/index.js +33 -14
  289. package/dist/es/integration-template/index.js.map +1 -1
  290. package/dist/es/mapping/components/custom-date-menu.js +3 -2
  291. package/dist/es/mapping/components/custom-date-menu.js.map +1 -1
  292. package/dist/es/mapping/components/custom-menu.js.map +1 -1
  293. package/dist/es/mapping/components/field.js +14 -6
  294. package/dist/es/mapping/components/field.js.map +1 -1
  295. package/dist/es/mapping/components/mapping.js +30 -22
  296. package/dist/es/mapping/components/mapping.js.map +1 -1
  297. package/dist/es/mapping/constants/index.js +28 -0
  298. package/dist/es/mapping/constants/index.js.map +1 -0
  299. package/dist/es/mapping/index.js +453 -24
  300. package/dist/es/mapping/index.js.map +1 -1
  301. package/dist/es/mapping/services/index.js.map +1 -1
  302. package/dist/es/node_modules/@floating-ui/core/dist/floating-ui.core.js +812 -0
  303. package/dist/es/node_modules/@floating-ui/core/dist/floating-ui.core.js.map +1 -0
  304. package/dist/es/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.js +348 -0
  305. package/dist/es/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.js.map +1 -0
  306. package/dist/es/node_modules/@floating-ui/react-dom/node_modules/@floating-ui/dom/dist/floating-ui.dom.js +734 -0
  307. package/dist/es/node_modules/@floating-ui/react-dom/node_modules/@floating-ui/dom/dist/floating-ui.dom.js.map +1 -0
  308. package/dist/es/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.js +155 -0
  309. package/dist/es/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.js.map +1 -0
  310. package/dist/es/node_modules/@floating-ui/utils/dist/floating-ui.utils.js +137 -0
  311. package/dist/es/node_modules/@floating-ui/utils/dist/floating-ui.utils.js.map +1 -0
  312. package/dist/es/node_modules/@internationalized/date/dist/CalendarDate.js +62 -4
  313. package/dist/es/node_modules/@internationalized/date/dist/CalendarDate.js.map +1 -1
  314. package/dist/es/node_modules/@internationalized/date/dist/conversion.js +33 -2
  315. package/dist/es/node_modules/@internationalized/date/dist/conversion.js.map +1 -1
  316. package/dist/es/node_modules/@internationalized/date/dist/manipulation.js +117 -1
  317. package/dist/es/node_modules/@internationalized/date/dist/manipulation.js.map +1 -1
  318. package/dist/es/node_modules/@internationalized/date/dist/queries.js +9 -1
  319. package/dist/es/node_modules/@internationalized/date/dist/queries.js.map +1 -1
  320. package/dist/es/node_modules/@internationalized/date/dist/string.js +11 -1
  321. package/dist/es/node_modules/@internationalized/date/dist/string.js.map +1 -1
  322. package/dist/es/node_modules/@internationalized/date/dist/utils.js +2 -1
  323. package/dist/es/node_modules/@internationalized/date/dist/utils.js.map +1 -1
  324. package/dist/es/node_modules/@radix-ui/primitive/dist/index.js +12 -0
  325. package/dist/es/node_modules/@radix-ui/primitive/dist/index.js.map +1 -0
  326. package/dist/es/node_modules/@radix-ui/react-arrow/dist/index.js +26 -0
  327. package/dist/es/node_modules/@radix-ui/react-arrow/dist/index.js.map +1 -0
  328. package/dist/es/node_modules/@radix-ui/react-compose-refs/dist/index.js +40 -0
  329. package/dist/es/node_modules/@radix-ui/react-compose-refs/dist/index.js.map +1 -0
  330. package/dist/es/node_modules/@radix-ui/react-context/dist/index.js +64 -0
  331. package/dist/es/node_modules/@radix-ui/react-context/dist/index.js.map +1 -0
  332. package/dist/es/node_modules/@radix-ui/react-dismissable-layer/dist/index.js +212 -0
  333. package/dist/es/node_modules/@radix-ui/react-dismissable-layer/dist/index.js.map +1 -0
  334. package/dist/es/node_modules/@radix-ui/react-focus-guards/dist/index.js +30 -0
  335. package/dist/es/node_modules/@radix-ui/react-focus-guards/dist/index.js.map +1 -0
  336. package/dist/es/node_modules/@radix-ui/react-focus-scope/dist/index.js +208 -0
  337. package/dist/es/node_modules/@radix-ui/react-focus-scope/dist/index.js.map +1 -0
  338. package/dist/es/node_modules/@radix-ui/react-id/dist/index.js +16 -0
  339. package/dist/es/node_modules/@radix-ui/react-id/dist/index.js.map +1 -0
  340. package/dist/es/node_modules/@radix-ui/react-popover/dist/index.js +302 -0
  341. package/dist/es/node_modules/@radix-ui/react-popover/dist/index.js.map +1 -0
  342. package/dist/es/node_modules/@radix-ui/react-popper/dist/index.js +279 -0
  343. package/dist/es/node_modules/@radix-ui/react-popper/dist/index.js.map +1 -0
  344. package/dist/es/node_modules/@radix-ui/react-portal/dist/index.js +18 -0
  345. package/dist/es/node_modules/@radix-ui/react-portal/dist/index.js.map +1 -0
  346. package/dist/es/node_modules/@radix-ui/react-presence/dist/index.js +131 -0
  347. package/dist/es/node_modules/@radix-ui/react-presence/dist/index.js.map +1 -0
  348. package/dist/es/node_modules/@radix-ui/react-primitive/dist/index.js +44 -0
  349. package/dist/es/node_modules/@radix-ui/react-primitive/dist/index.js.map +1 -0
  350. package/dist/es/node_modules/@radix-ui/react-slot/dist/index.js +90 -0
  351. package/dist/es/node_modules/@radix-ui/react-slot/dist/index.js.map +1 -0
  352. package/dist/es/node_modules/@radix-ui/react-use-callback-ref/dist/index.js +13 -0
  353. package/dist/es/node_modules/@radix-ui/react-use-callback-ref/dist/index.js.map +1 -0
  354. package/dist/es/node_modules/@radix-ui/react-use-controllable-state/dist/index.js +71 -0
  355. package/dist/es/node_modules/@radix-ui/react-use-controllable-state/dist/index.js.map +1 -0
  356. package/dist/es/node_modules/@radix-ui/react-use-escape-keydown/dist/index.js +19 -0
  357. package/dist/es/node_modules/@radix-ui/react-use-escape-keydown/dist/index.js.map +1 -0
  358. package/dist/es/node_modules/@radix-ui/react-use-layout-effect/dist/index.js +8 -0
  359. package/dist/es/node_modules/@radix-ui/react-use-layout-effect/dist/index.js.map +1 -0
  360. package/dist/es/node_modules/@radix-ui/react-use-size/dist/index.js +41 -0
  361. package/dist/es/node_modules/@radix-ui/react-use-size/dist/index.js.map +1 -0
  362. package/dist/es/node_modules/@sparrowengg/twigs-react/dist/es/calendar/calendar-header.js +37 -1
  363. package/dist/es/node_modules/@sparrowengg/twigs-react/dist/es/calendar/calendar-header.js.map +1 -1
  364. package/dist/es/node_modules/@sparrowengg/twigs-react/dist/es/calendar/calendar-range.js +334 -0
  365. package/dist/es/node_modules/@sparrowengg/twigs-react/dist/es/calendar/calendar-range.js.map +1 -0
  366. package/dist/es/node_modules/@sparrowengg/twigs-react/dist/es/calendar/calendar-utils.js +5 -1
  367. package/dist/es/node_modules/@sparrowengg/twigs-react/dist/es/calendar/calendar-utils.js.map +1 -1
  368. package/dist/es/node_modules/@sparrowengg/twigs-react/dist/es/dialog/dialog.js +1 -1
  369. package/dist/es/node_modules/@sparrowengg/twigs-react/dist/es/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.js +2 -2
  370. package/dist/es/node_modules/@sparrowengg/twigs-react/dist/es/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.js.map +1 -1
  371. package/dist/es/node_modules/@sparrowengg/twigs-react/dist/es/node_modules/@radix-ui/react-portal/dist/index.js +2 -2
  372. package/dist/es/node_modules/@sparrowengg/twigs-react/dist/es/node_modules/@radix-ui/react-portal/dist/index.js.map +1 -1
  373. package/dist/es/node_modules/@sparrowengg/twigs-react/dist/es/node_modules/@radix-ui/react-presence/dist/index.js +2 -2
  374. package/dist/es/node_modules/@sparrowengg/twigs-react/dist/es/node_modules/@radix-ui/react-presence/dist/index.js.map +1 -1
  375. package/dist/es/node_modules/@sparrowengg/twigs-react/dist/es/node_modules/@radix-ui/react-primitive/dist/index.js +2 -2
  376. package/dist/es/node_modules/@sparrowengg/twigs-react/dist/es/node_modules/@radix-ui/react-primitive/dist/index.js.map +1 -1
  377. package/dist/es/node_modules/@sparrowengg/twigs-react/dist/es/node_modules/@react-aria/calendar/dist/import.js +58 -2
  378. package/dist/es/node_modules/@sparrowengg/twigs-react/dist/es/node_modules/@react-aria/calendar/dist/import.js.map +1 -1
  379. package/dist/es/node_modules/@sparrowengg/twigs-react/dist/es/node_modules/@react-aria/utils/dist/import.js +33 -1
  380. package/dist/es/node_modules/@sparrowengg/twigs-react/dist/es/node_modules/@react-aria/utils/dist/import.js.map +1 -1
  381. package/dist/es/node_modules/@sparrowengg/twigs-react/dist/es/node_modules/@react-stately/calendar/dist/import.js +175 -3
  382. package/dist/es/node_modules/@sparrowengg/twigs-react/dist/es/node_modules/@react-stately/calendar/dist/import.js.map +1 -1
  383. package/dist/es/node_modules/@sparrowengg/twigs-react/dist/es/node_modules/react-transition-group/esm/Transition.js +5 -5
  384. package/dist/es/node_modules/@sparrowengg/twigs-react/dist/es/node_modules/react-transition-group/esm/Transition.js.map +1 -1
  385. package/dist/es/node_modules/@sparrowengg/twigs-react/dist/es/textarea/textarea.js +263 -0
  386. package/dist/es/node_modules/@sparrowengg/twigs-react/dist/es/textarea/textarea.js.map +1 -0
  387. package/dist/es/node_modules/@sparrowengg/twigs-react-icons/dist/es/icons/chevron-left.js +73 -0
  388. package/dist/es/node_modules/@sparrowengg/twigs-react-icons/dist/es/icons/chevron-left.js.map +1 -0
  389. package/dist/es/node_modules/@sparrowengg/twigs-react-icons/dist/es/icons/question-circle.js +97 -0
  390. package/dist/es/node_modules/@sparrowengg/twigs-react-icons/dist/es/icons/question-circle.js.map +1 -0
  391. package/dist/es/node_modules/@stitches/react/dist/index.js +6 -0
  392. package/dist/es/node_modules/@stitches/react/dist/index.js.map +1 -0
  393. package/dist/es/node_modules/aria-hidden/dist/es2015/index.js +138 -0
  394. package/dist/es/node_modules/aria-hidden/dist/es2015/index.js.map +1 -0
  395. package/dist/es/node_modules/get-nonce/dist/es2015/index.js +9 -0
  396. package/dist/es/node_modules/get-nonce/dist/es2015/index.js.map +1 -0
  397. package/dist/es/node_modules/hoist-non-react-statics/node_modules/react-is/index.js +1 -1
  398. package/dist/es/node_modules/html-dom-parser/node_modules/domutils/lib/index.js +1 -1
  399. package/dist/es/node_modules/html-dom-parser/node_modules/htmlparser2/lib/index.js +1 -1
  400. package/dist/es/node_modules/react-remove-scroll/dist/es2015/Combination.js +11 -0
  401. package/dist/es/node_modules/react-remove-scroll/dist/es2015/Combination.js.map +1 -0
  402. package/dist/es/node_modules/react-remove-scroll/dist/es2015/SideEffect.js +161 -0
  403. package/dist/es/node_modules/react-remove-scroll/dist/es2015/SideEffect.js.map +1 -0
  404. package/dist/es/node_modules/react-remove-scroll/dist/es2015/UI.js +39 -0
  405. package/dist/es/node_modules/react-remove-scroll/dist/es2015/UI.js.map +1 -0
  406. package/dist/es/node_modules/react-remove-scroll/dist/es2015/aggresiveCapture.js +22 -0
  407. package/dist/es/node_modules/react-remove-scroll/dist/es2015/aggresiveCapture.js.map +1 -0
  408. package/dist/es/node_modules/react-remove-scroll/dist/es2015/handleScroll.js +107 -0
  409. package/dist/es/node_modules/react-remove-scroll/dist/es2015/handleScroll.js.map +1 -0
  410. package/dist/es/node_modules/react-remove-scroll/dist/es2015/medium.js +6 -0
  411. package/dist/es/node_modules/react-remove-scroll/dist/es2015/medium.js.map +1 -0
  412. package/dist/es/node_modules/react-remove-scroll/dist/es2015/sidecar.js +8 -0
  413. package/dist/es/node_modules/react-remove-scroll/dist/es2015/sidecar.js.map +1 -0
  414. package/dist/es/node_modules/react-remove-scroll-bar/dist/es2015/component.js +57 -0
  415. package/dist/es/node_modules/react-remove-scroll-bar/dist/es2015/component.js.map +1 -0
  416. package/dist/es/node_modules/react-remove-scroll-bar/dist/es2015/constants.js +11 -0
  417. package/dist/es/node_modules/react-remove-scroll-bar/dist/es2015/constants.js.map +1 -0
  418. package/dist/es/node_modules/react-remove-scroll-bar/dist/es2015/utils.js +32 -0
  419. package/dist/es/node_modules/react-remove-scroll-bar/dist/es2015/utils.js.map +1 -0
  420. package/dist/es/node_modules/react-style-singleton/dist/es2015/component.js +20 -0
  421. package/dist/es/node_modules/react-style-singleton/dist/es2015/component.js.map +1 -0
  422. package/dist/es/node_modules/react-style-singleton/dist/es2015/hook.js +26 -0
  423. package/dist/es/node_modules/react-style-singleton/dist/es2015/hook.js.map +1 -0
  424. package/dist/es/node_modules/react-style-singleton/dist/es2015/singleton.js +52 -0
  425. package/dist/es/node_modules/react-style-singleton/dist/es2015/singleton.js.map +1 -0
  426. package/dist/es/node_modules/tslib/tslib.es6.js +57 -0
  427. package/dist/es/node_modules/tslib/tslib.es6.js.map +1 -0
  428. package/dist/es/node_modules/use-callback-ref/dist/es2015/assignRef.js +25 -0
  429. package/dist/es/node_modules/use-callback-ref/dist/es2015/assignRef.js.map +1 -0
  430. package/dist/es/node_modules/use-callback-ref/dist/es2015/useMergeRef.js +49 -0
  431. package/dist/es/node_modules/use-callback-ref/dist/es2015/useMergeRef.js.map +1 -0
  432. package/dist/es/node_modules/use-callback-ref/dist/es2015/useRef.js +43 -0
  433. package/dist/es/node_modules/use-callback-ref/dist/es2015/useRef.js.map +1 -0
  434. package/dist/es/node_modules/use-sidecar/dist/es2015/exports.js +22 -0
  435. package/dist/es/node_modules/use-sidecar/dist/es2015/exports.js.map +1 -0
  436. package/dist/es/node_modules/use-sidecar/dist/es2015/medium.js +78 -0
  437. package/dist/es/node_modules/use-sidecar/dist/es2015/medium.js.map +1 -0
  438. package/dist/es/packages/frontend-templates/slitches.config.js +379 -0
  439. package/dist/es/packages/frontend-templates/slitches.config.js.map +1 -0
  440. package/dist/es/popover/popover.js +52 -0
  441. package/dist/es/popover/popover.js.map +1 -0
  442. package/dist/es/single-mapping/components/mapping.js +28 -14
  443. package/dist/es/single-mapping/components/mapping.js.map +1 -1
  444. package/dist/es/single-mapping/index.js +25 -28
  445. package/dist/es/single-mapping/index.js.map +1 -1
  446. package/dist/es/triggers/components/subcomponents.js +22 -21
  447. package/dist/es/triggers/components/subcomponents.js.map +1 -1
  448. package/dist/es/triggers/components/trigger.js +31 -32
  449. package/dist/es/triggers/components/trigger.js.map +1 -1
  450. package/dist/es/triggers/constants/index.js +5 -11
  451. package/dist/es/triggers/constants/index.js.map +1 -1
  452. package/dist/es/triggers/index.js +38 -39
  453. package/dist/es/triggers/index.js.map +1 -1
  454. package/dist/index.d.ts +468 -89
  455. package/package.json +3 -1
@@ -0,0 +1,336 @@
1
+ 'use strict';
2
+
3
+ var jsxRuntime = require('react/jsx-runtime');
4
+ var _import$1 = require('../node_modules/@internationalized/date/dist/import.js');
5
+ var prefixClassName = require('../utils/prefix-class-name.js');
6
+ var React = require('react');
7
+ var box = require('../box/box.js');
8
+ var button = require('../button/button.js');
9
+ require('../button/icon-button.js');
10
+ require('../button/split-button.js');
11
+ var flex = require('../flex/flex.js');
12
+ var text = require('../text/text.js');
13
+ var calendar = require('./calendar.js');
14
+ var calendarGrid = require('./calendar-grid.js');
15
+ var calendarHeader = require('./calendar-header.js');
16
+ var calendarMonthsView = require('./calendar-months-view.js');
17
+ var calendarUtils = require('./calendar-utils.js');
18
+ var calendarYearsView = require('./calendar-years-view.js');
19
+ var _import = require('../node_modules/@react-stately/calendar/dist/import.js');
20
+ var _import$2 = require('../node_modules/@react-aria/calendar/dist/import.js');
21
+ var chevronLeft = require('../packages/react-icons/dist/es/icons/chevron-left.js');
22
+ var chevronRight = require('../packages/react-icons/dist/es/icons/chevron-right.js');
23
+ var realModule = require('../node_modules/@react-aria/i18n/dist/real-module.js');
24
+
25
+ var __defProp = Object.defineProperty;
26
+ var __defProps = Object.defineProperties;
27
+ var __getOwnPropDescs = Object.getOwnPropertyDescriptors;
28
+ var __getOwnPropSymbols = Object.getOwnPropertySymbols;
29
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
30
+ var __propIsEnum = Object.prototype.propertyIsEnumerable;
31
+ var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
32
+ var __spreadValues = (a, b) => {
33
+ for (var prop in b || (b = {}))
34
+ if (__hasOwnProp.call(b, prop))
35
+ __defNormalProp(a, prop, b[prop]);
36
+ if (__getOwnPropSymbols)
37
+ for (var prop of __getOwnPropSymbols(b)) {
38
+ if (__propIsEnum.call(b, prop))
39
+ __defNormalProp(a, prop, b[prop]);
40
+ }
41
+ return a;
42
+ };
43
+ var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
44
+ var __objRest = (source, exclude) => {
45
+ var target = {};
46
+ for (var prop in source)
47
+ if (__hasOwnProp.call(source, prop) && exclude.indexOf(prop) < 0)
48
+ target[prop] = source[prop];
49
+ if (source != null && __getOwnPropSymbols)
50
+ for (var prop of __getOwnPropSymbols(source)) {
51
+ if (exclude.indexOf(prop) < 0 && __propIsEnum.call(source, prop))
52
+ target[prop] = source[prop];
53
+ }
54
+ return target;
55
+ };
56
+ const CalendarRange = (_a) => {
57
+ var _b = _a, {
58
+ size = "lg",
59
+ showFooter = true,
60
+ footerActionText = "Apply",
61
+ containerCSS,
62
+ footerAction,
63
+ onDaySelect,
64
+ onMonthSelect,
65
+ onYearSelect,
66
+ compact = false
67
+ } = _b, props = __objRest(_b, [
68
+ "size",
69
+ "showFooter",
70
+ "footerActionText",
71
+ "containerCSS",
72
+ "footerAction",
73
+ "onDaySelect",
74
+ "onMonthSelect",
75
+ "onYearSelect",
76
+ "compact"
77
+ ]);
78
+ var _a2, _b2;
79
+ const { locale } = realModule.useLocale();
80
+ const state = _import.useRangeCalendarState(__spreadProps(__spreadValues({}, props), {
81
+ visibleDuration: compact ? { months: 1 } : { months: 2 },
82
+ pageBehavior: compact ? "single" : void 0,
83
+ locale,
84
+ createCalendar: _import$1.createCalendar
85
+ }));
86
+ const dateType = state.anchorDate ? "start" : "end";
87
+ React.useEffect(() => {
88
+ if (props.showTimePicker && !(props.value instanceof _import$1.ZonedDateTime || props.value instanceof _import$1.CalendarDateTime)) {
89
+ console.warn(
90
+ // eslint-disable-next-line max-len
91
+ "The value prop must be an instance of ZonedDateTime or CalendarDateTime when showTimePicker is true. Use parseDateTime or parseZonedDateTime from @internationalized/date. The value type will be changed to CalendarDateTime"
92
+ );
93
+ }
94
+ if (props.showTimezonePicker && !(props.value instanceof _import$1.ZonedDateTime)) {
95
+ console.warn(
96
+ "The value prop must be an instance of ZonedDateTime when showTimezonePicker is true. The value type will be changed to ZonedDateTime"
97
+ );
98
+ }
99
+ }, [props.showTimePicker]);
100
+ const ref = React.useRef(null);
101
+ const { calendarProps, prevButtonProps, nextButtonProps } = _import$2.useRangeCalendar(
102
+ props,
103
+ state,
104
+ ref
105
+ );
106
+ const contextProviderValue = React.useMemo(() => {
107
+ return {
108
+ size
109
+ };
110
+ }, [size]);
111
+ const formatter = realModule.useDateFormatter({
112
+ month: "short",
113
+ day: "numeric",
114
+ year: "numeric"
115
+ });
116
+ return /* @__PURE__ */ jsxRuntime.jsx(calendarUtils.CalendarContext.Provider, { value: contextProviderValue, children: /* @__PURE__ */ jsxRuntime.jsxs(
117
+ box.Box,
118
+ {
119
+ css: __spreadValues({
120
+ borderRadius: "$2xl",
121
+ border: "1px solid",
122
+ borderColor: "$neutral300",
123
+ paddingTop: "$6",
124
+ maxWidth: "max-content"
125
+ }, containerCSS),
126
+ children: [
127
+ compact ? /* @__PURE__ */ jsxRuntime.jsx(flex.Flex, __spreadProps(__spreadValues({}, calendarProps), { ref, css: { overflow: "auto" }, children: /* @__PURE__ */ jsxRuntime.jsx(
128
+ CalendarSingleSection,
129
+ {
130
+ state,
131
+ navigationButtonProps: { prev: prevButtonProps, next: nextButtonProps },
132
+ sectionName: "end",
133
+ onDaySelect: (date) => onDaySelect == null ? void 0 : onDaySelect(date, dateType),
134
+ onMonthSelect: (date) => onMonthSelect == null ? void 0 : onMonthSelect(date, dateType),
135
+ onYearSelect: (date) => onYearSelect == null ? void 0 : onYearSelect(date, dateType)
136
+ }
137
+ ) })) : /* @__PURE__ */ jsxRuntime.jsxs(flex.Flex, __spreadProps(__spreadValues({}, calendarProps), { gap: "$8", ref, css: { overflow: "auto" }, children: [
138
+ /* @__PURE__ */ jsxRuntime.jsx(
139
+ CalendarSingleSection,
140
+ {
141
+ state,
142
+ navigationButtonProps: prevButtonProps,
143
+ sectionName: "start",
144
+ onDaySelect: (date) => onDaySelect == null ? void 0 : onDaySelect(date, dateType),
145
+ onMonthSelect: (date) => onMonthSelect == null ? void 0 : onMonthSelect(date, dateType),
146
+ onYearSelect: (date) => onYearSelect == null ? void 0 : onYearSelect(date, dateType)
147
+ }
148
+ ),
149
+ /* @__PURE__ */ jsxRuntime.jsx(
150
+ CalendarSingleSection,
151
+ {
152
+ state,
153
+ calendarOffset: { months: 1 },
154
+ sectionName: "end",
155
+ navigationButtonProps: nextButtonProps,
156
+ onDaySelect: (date) => onDaySelect == null ? void 0 : onDaySelect(date, dateType),
157
+ onMonthSelect: (date) => onMonthSelect == null ? void 0 : onMonthSelect(date, dateType),
158
+ onYearSelect: (date) => onYearSelect == null ? void 0 : onYearSelect(date, dateType)
159
+ }
160
+ )
161
+ ] })),
162
+ showFooter && /* @__PURE__ */ jsxRuntime.jsx(jsxRuntime.Fragment, { children: props.renderFooter ? props.renderFooter(state) : /* @__PURE__ */ jsxRuntime.jsxs(
163
+ flex.Flex,
164
+ {
165
+ alignItems: "center",
166
+ justifyContent: "space-between",
167
+ css: {
168
+ borderTop: "1px solid",
169
+ borderColor: "$neutral200",
170
+ padding: "$6 $8"
171
+ },
172
+ children: [
173
+ /* @__PURE__ */ jsxRuntime.jsx(
174
+ text.Text,
175
+ {
176
+ weight: "bold",
177
+ css: {
178
+ color: "$neutral700"
179
+ },
180
+ children: ((_a2 = state.value) == null ? void 0 : _a2.start) && ((_b2 = state.value) == null ? void 0 : _b2.end) && formatter.formatRange(
181
+ state.value.start.toDate(state.timeZone),
182
+ state.value.end.toDate(state.timeZone)
183
+ )
184
+ }
185
+ ),
186
+ /* @__PURE__ */ jsxRuntime.jsx(
187
+ button.Button,
188
+ {
189
+ size: "lg",
190
+ color: "primary",
191
+ onClick: () => {
192
+ if (footerAction)
193
+ footerAction(state);
194
+ },
195
+ children: footerActionText
196
+ }
197
+ )
198
+ ]
199
+ }
200
+ ) })
201
+ ]
202
+ }
203
+ ) });
204
+ };
205
+ const CalendarSingleSection = ({
206
+ navigationButtonProps,
207
+ calendarOffset,
208
+ sectionName,
209
+ state,
210
+ onDaySelect,
211
+ onYearSelect,
212
+ onMonthSelect
213
+ }) => {
214
+ const [currentCalendarView, setCurrentCalendarView] = React.useState(calendar.CALENDAR_VIEW.GRID);
215
+ const calendarContext = calendarUtils.useCalendarContext();
216
+ const compact = "prev" in navigationButtonProps && "next" in navigationButtonProps;
217
+ return /* @__PURE__ */ jsxRuntime.jsxs(
218
+ box.Box,
219
+ {
220
+ className: prefixClassName.prefixClassName("calendar-range-section"),
221
+ css: {
222
+ flexShrink: 1,
223
+ flexGrow: 1,
224
+ flexBasis: 0,
225
+ maxWidth: calendarUtils.CALENDAR_SIZE_TO_WIDTH[calendarContext.size]
226
+ },
227
+ children: [
228
+ currentCalendarView === calendar.CALENDAR_VIEW.GRID && /* @__PURE__ */ jsxRuntime.jsxs(
229
+ flex.Flex,
230
+ {
231
+ flexDirection: "column",
232
+ alignItems: "center",
233
+ css: {
234
+ maxWidth: "max-content"
235
+ },
236
+ children: [
237
+ /* @__PURE__ */ jsxRuntime.jsx(
238
+ flex.Flex,
239
+ {
240
+ alignItems: "center",
241
+ justifyContent: "space-between",
242
+ css: {
243
+ marginBottom: "$12",
244
+ padding: "0 $8",
245
+ width: "100%"
246
+ },
247
+ children: compact ? /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
248
+ /* @__PURE__ */ jsxRuntime.jsx(
249
+ calendarHeader.CalendarNavigationButton,
250
+ __spreadProps(__spreadValues({}, navigationButtonProps.prev), {
251
+ icon: /* @__PURE__ */ jsxRuntime.jsx(chevronLeft.ChevronLeftIcon, {})
252
+ })
253
+ ),
254
+ /* @__PURE__ */ jsxRuntime.jsx(
255
+ calendarHeader.RangeCalendarTitle,
256
+ {
257
+ timezone: state.timeZone,
258
+ value: state.visibleRange[sectionName],
259
+ setCurrentCalendarView
260
+ }
261
+ ),
262
+ /* @__PURE__ */ jsxRuntime.jsx(
263
+ calendarHeader.CalendarNavigationButton,
264
+ __spreadProps(__spreadValues({}, navigationButtonProps.next), {
265
+ icon: /* @__PURE__ */ jsxRuntime.jsx(chevronRight.ChevronRightIcon, {})
266
+ })
267
+ )
268
+ ] }) : /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
269
+ sectionName === "end" && /* @__PURE__ */ jsxRuntime.jsx(box.Box, {}),
270
+ sectionName === "start" && /* @__PURE__ */ jsxRuntime.jsx(
271
+ calendarHeader.CalendarNavigationButton,
272
+ __spreadProps(__spreadValues({}, navigationButtonProps), {
273
+ icon: /* @__PURE__ */ jsxRuntime.jsx(chevronLeft.ChevronLeftIcon, {})
274
+ })
275
+ ),
276
+ /* @__PURE__ */ jsxRuntime.jsx(
277
+ calendarHeader.RangeCalendarTitle,
278
+ {
279
+ timezone: state.timeZone,
280
+ value: state.visibleRange[sectionName],
281
+ setCurrentCalendarView
282
+ }
283
+ ),
284
+ sectionName === "end" && /* @__PURE__ */ jsxRuntime.jsx(
285
+ calendarHeader.CalendarNavigationButton,
286
+ __spreadProps(__spreadValues({}, navigationButtonProps), {
287
+ icon: /* @__PURE__ */ jsxRuntime.jsx(chevronRight.ChevronRightIcon, {})
288
+ })
289
+ ),
290
+ sectionName === "start" && /* @__PURE__ */ jsxRuntime.jsx(box.Box, {})
291
+ ] })
292
+ }
293
+ ),
294
+ /* @__PURE__ */ jsxRuntime.jsx(
295
+ calendarGrid.CalendarGrid,
296
+ __spreadProps(__spreadValues({
297
+ state
298
+ }, calendarOffset && {
299
+ offset: calendarOffset
300
+ }), {
301
+ containerCSS: {
302
+ maxWidth: `calc(7 * ${calendarUtils.CALENDAR_SIZE_TO_DAY_BTN_SIZE[calendarContext.size]})`,
303
+ boxSizing: "content-box",
304
+ padding: "0 $8 0 $8"
305
+ },
306
+ onDaySelect
307
+ })
308
+ )
309
+ ]
310
+ }
311
+ ),
312
+ currentCalendarView === calendar.CALENDAR_VIEW.MONTH && /* @__PURE__ */ jsxRuntime.jsx(
313
+ calendarMonthsView.CalendarMonthsView,
314
+ {
315
+ state,
316
+ range: sectionName,
317
+ setCurrentCalendarView,
318
+ onMonthSelect
319
+ }
320
+ ),
321
+ currentCalendarView === calendar.CALENDAR_VIEW.YEAR && /* @__PURE__ */ jsxRuntime.jsx(
322
+ calendarYearsView.CalendarYearsView,
323
+ {
324
+ state,
325
+ range: sectionName,
326
+ setCurrentCalendarView,
327
+ onYearSelect
328
+ }
329
+ )
330
+ ]
331
+ }
332
+ );
333
+ };
334
+
335
+ exports.CalendarRange = CalendarRange;
336
+ //# sourceMappingURL=calendar-range.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"calendar-range.js","sources":["../../../../../../../../../../node_modules/@sparrowengg/twigs-react/dist/es/calendar/calendar-range.js"],"sourcesContent":["import { jsx, jsxs, Fragment } from 'react/jsx-runtime';\nimport { ZonedDateTime as $35ea8db9cb2ccb90$export$d3b7288e7994edea, CalendarDateTime as $35ea8db9cb2ccb90$export$ca871e8dbb80966f, createCalendar as $64244302c3013299$export$dd0bbc9b26defe37 } from '../node_modules/@internationalized/date/dist/import.js';\nimport { prefixClassName } from '../utils/prefix-class-name.js';\nimport { useEffect, useRef, useMemo, useState } from 'react';\nimport { Box } from '../box/box.js';\nimport { Button } from '../button/button.js';\nimport '../button/icon-button.js';\nimport '../button/split-button.js';\nimport { Flex } from '../flex/flex.js';\nimport { Text } from '../text/text.js';\nimport { CALENDAR_VIEW } from './calendar.js';\nimport { CalendarGrid } from './calendar-grid.js';\nimport { CalendarNavigationButton, RangeCalendarTitle } from './calendar-header.js';\nimport { CalendarMonthsView } from './calendar-months-view.js';\nimport { CalendarContext, useCalendarContext, CALENDAR_SIZE_TO_WIDTH, CALENDAR_SIZE_TO_DAY_BTN_SIZE } from './calendar-utils.js';\nimport { CalendarYearsView } from './calendar-years-view.js';\nimport { useRangeCalendarState as $9a36b6ba2fb1a7c5$export$9a987164d97ecc90 } from '../node_modules/@react-stately/calendar/dist/import.js';\nimport { useRangeCalendar as $46a4342aab3d8076$export$87e0539f600c24e5 } from '../node_modules/@react-aria/calendar/dist/import.js';\nimport { ChevronLeftIcon } from '../packages/react-icons/dist/es/icons/chevron-left.js';\nimport { ChevronRightIcon } from '../packages/react-icons/dist/es/icons/chevron-right.js';\nimport { useLocale as $18f2051aff69b9bf$export$43bb16f9c6d9e3f7, useDateFormatter as $896ba0a80a8f4d36$export$85fd5fdf27bacc79 } from '../node_modules/@react-aria/i18n/dist/real-module.js';\n\nvar __defProp = Object.defineProperty;\nvar __defProps = Object.defineProperties;\nvar __getOwnPropDescs = Object.getOwnPropertyDescriptors;\nvar __getOwnPropSymbols = Object.getOwnPropertySymbols;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __propIsEnum = Object.prototype.propertyIsEnumerable;\nvar __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;\nvar __spreadValues = (a, b) => {\n for (var prop in b || (b = {}))\n if (__hasOwnProp.call(b, prop))\n __defNormalProp(a, prop, b[prop]);\n if (__getOwnPropSymbols)\n for (var prop of __getOwnPropSymbols(b)) {\n if (__propIsEnum.call(b, prop))\n __defNormalProp(a, prop, b[prop]);\n }\n return a;\n};\nvar __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));\nvar __objRest = (source, exclude) => {\n var target = {};\n for (var prop in source)\n if (__hasOwnProp.call(source, prop) && exclude.indexOf(prop) < 0)\n target[prop] = source[prop];\n if (source != null && __getOwnPropSymbols)\n for (var prop of __getOwnPropSymbols(source)) {\n if (exclude.indexOf(prop) < 0 && __propIsEnum.call(source, prop))\n target[prop] = source[prop];\n }\n return target;\n};\nconst CalendarRange = (_a) => {\n var _b = _a, {\n size = \"lg\",\n showFooter = true,\n footerActionText = \"Apply\",\n containerCSS,\n footerAction,\n onDaySelect,\n onMonthSelect,\n onYearSelect,\n compact = false\n } = _b, props = __objRest(_b, [\n \"size\",\n \"showFooter\",\n \"footerActionText\",\n \"containerCSS\",\n \"footerAction\",\n \"onDaySelect\",\n \"onMonthSelect\",\n \"onYearSelect\",\n \"compact\"\n ]);\n var _a2, _b2;\n const { locale } = $18f2051aff69b9bf$export$43bb16f9c6d9e3f7();\n const state = $9a36b6ba2fb1a7c5$export$9a987164d97ecc90(__spreadProps(__spreadValues({}, props), {\n visibleDuration: compact ? { months: 1 } : { months: 2 },\n pageBehavior: compact ? \"single\" : void 0,\n locale,\n createCalendar: $64244302c3013299$export$dd0bbc9b26defe37\n }));\n const dateType = state.anchorDate ? \"start\" : \"end\";\n useEffect(() => {\n if (props.showTimePicker && !(props.value instanceof $35ea8db9cb2ccb90$export$d3b7288e7994edea || props.value instanceof $35ea8db9cb2ccb90$export$ca871e8dbb80966f)) {\n console.warn(\n // eslint-disable-next-line max-len\n \"The value prop must be an instance of ZonedDateTime or CalendarDateTime when showTimePicker is true. Use parseDateTime or parseZonedDateTime from @internationalized/date. The value type will be changed to CalendarDateTime\"\n );\n }\n if (props.showTimezonePicker && !(props.value instanceof $35ea8db9cb2ccb90$export$d3b7288e7994edea)) {\n console.warn(\n \"The value prop must be an instance of ZonedDateTime when showTimezonePicker is true. The value type will be changed to ZonedDateTime\"\n );\n }\n }, [props.showTimePicker]);\n const ref = useRef(null);\n const { calendarProps, prevButtonProps, nextButtonProps } = $46a4342aab3d8076$export$87e0539f600c24e5(\n props,\n state,\n ref\n );\n const contextProviderValue = useMemo(() => {\n return {\n size\n };\n }, [size]);\n const formatter = $896ba0a80a8f4d36$export$85fd5fdf27bacc79({\n month: \"short\",\n day: \"numeric\",\n year: \"numeric\"\n });\n return /* @__PURE__ */ jsx(CalendarContext.Provider, { value: contextProviderValue, children: /* @__PURE__ */ jsxs(\n Box,\n {\n css: __spreadValues({\n borderRadius: \"$2xl\",\n border: \"1px solid\",\n borderColor: \"$neutral300\",\n paddingTop: \"$6\",\n maxWidth: \"max-content\"\n }, containerCSS),\n children: [\n compact ? /* @__PURE__ */ jsx(Flex, __spreadProps(__spreadValues({}, calendarProps), { ref, css: { overflow: \"auto\" }, children: /* @__PURE__ */ jsx(\n CalendarSingleSection,\n {\n state,\n navigationButtonProps: { prev: prevButtonProps, next: nextButtonProps },\n sectionName: \"end\",\n onDaySelect: (date) => onDaySelect == null ? void 0 : onDaySelect(date, dateType),\n onMonthSelect: (date) => onMonthSelect == null ? void 0 : onMonthSelect(date, dateType),\n onYearSelect: (date) => onYearSelect == null ? void 0 : onYearSelect(date, dateType)\n }\n ) })) : /* @__PURE__ */ jsxs(Flex, __spreadProps(__spreadValues({}, calendarProps), { gap: \"$8\", ref, css: { overflow: \"auto\" }, children: [\n /* @__PURE__ */ jsx(\n CalendarSingleSection,\n {\n state,\n navigationButtonProps: prevButtonProps,\n sectionName: \"start\",\n onDaySelect: (date) => onDaySelect == null ? void 0 : onDaySelect(date, dateType),\n onMonthSelect: (date) => onMonthSelect == null ? void 0 : onMonthSelect(date, dateType),\n onYearSelect: (date) => onYearSelect == null ? void 0 : onYearSelect(date, dateType)\n }\n ),\n /* @__PURE__ */ jsx(\n CalendarSingleSection,\n {\n state,\n calendarOffset: { months: 1 },\n sectionName: \"end\",\n navigationButtonProps: nextButtonProps,\n onDaySelect: (date) => onDaySelect == null ? void 0 : onDaySelect(date, dateType),\n onMonthSelect: (date) => onMonthSelect == null ? void 0 : onMonthSelect(date, dateType),\n onYearSelect: (date) => onYearSelect == null ? void 0 : onYearSelect(date, dateType)\n }\n )\n ] })),\n showFooter && /* @__PURE__ */ jsx(Fragment, { children: props.renderFooter ? props.renderFooter(state) : /* @__PURE__ */ jsxs(\n Flex,\n {\n alignItems: \"center\",\n justifyContent: \"space-between\",\n css: {\n borderTop: \"1px solid\",\n borderColor: \"$neutral200\",\n padding: \"$6 $8\"\n },\n children: [\n /* @__PURE__ */ jsx(\n Text,\n {\n weight: \"bold\",\n css: {\n color: \"$neutral700\"\n },\n children: ((_a2 = state.value) == null ? void 0 : _a2.start) && ((_b2 = state.value) == null ? void 0 : _b2.end) && formatter.formatRange(\n state.value.start.toDate(state.timeZone),\n state.value.end.toDate(state.timeZone)\n )\n }\n ),\n /* @__PURE__ */ jsx(\n Button,\n {\n size: \"lg\",\n color: \"primary\",\n onClick: () => {\n if (footerAction)\n footerAction(state);\n },\n children: footerActionText\n }\n )\n ]\n }\n ) })\n ]\n }\n ) });\n};\nconst CalendarSingleSection = ({\n navigationButtonProps,\n calendarOffset,\n sectionName,\n state,\n onDaySelect,\n onYearSelect,\n onMonthSelect\n}) => {\n const [currentCalendarView, setCurrentCalendarView] = useState(CALENDAR_VIEW.GRID);\n const calendarContext = useCalendarContext();\n const compact = \"prev\" in navigationButtonProps && \"next\" in navigationButtonProps;\n return /* @__PURE__ */ jsxs(\n Box,\n {\n className: prefixClassName(\"calendar-range-section\"),\n css: {\n flexShrink: 1,\n flexGrow: 1,\n flexBasis: 0,\n maxWidth: CALENDAR_SIZE_TO_WIDTH[calendarContext.size]\n },\n children: [\n currentCalendarView === CALENDAR_VIEW.GRID && /* @__PURE__ */ jsxs(\n Flex,\n {\n flexDirection: \"column\",\n alignItems: \"center\",\n css: {\n maxWidth: \"max-content\"\n },\n children: [\n /* @__PURE__ */ jsx(\n Flex,\n {\n alignItems: \"center\",\n justifyContent: \"space-between\",\n css: {\n marginBottom: \"$12\",\n padding: \"0 $8\",\n width: \"100%\"\n },\n children: compact ? /* @__PURE__ */ jsxs(Fragment, { children: [\n /* @__PURE__ */ jsx(\n CalendarNavigationButton,\n __spreadProps(__spreadValues({}, navigationButtonProps.prev), {\n icon: /* @__PURE__ */ jsx(ChevronLeftIcon, {})\n })\n ),\n /* @__PURE__ */ jsx(\n RangeCalendarTitle,\n {\n timezone: state.timeZone,\n value: state.visibleRange[sectionName],\n setCurrentCalendarView\n }\n ),\n /* @__PURE__ */ jsx(\n CalendarNavigationButton,\n __spreadProps(__spreadValues({}, navigationButtonProps.next), {\n icon: /* @__PURE__ */ jsx(ChevronRightIcon, {})\n })\n )\n ] }) : /* @__PURE__ */ jsxs(Fragment, { children: [\n sectionName === \"end\" && /* @__PURE__ */ jsx(Box, {}),\n sectionName === \"start\" && /* @__PURE__ */ jsx(\n CalendarNavigationButton,\n __spreadProps(__spreadValues({}, navigationButtonProps), {\n icon: /* @__PURE__ */ jsx(ChevronLeftIcon, {})\n })\n ),\n /* @__PURE__ */ jsx(\n RangeCalendarTitle,\n {\n timezone: state.timeZone,\n value: state.visibleRange[sectionName],\n setCurrentCalendarView\n }\n ),\n sectionName === \"end\" && /* @__PURE__ */ jsx(\n CalendarNavigationButton,\n __spreadProps(__spreadValues({}, navigationButtonProps), {\n icon: /* @__PURE__ */ jsx(ChevronRightIcon, {})\n })\n ),\n sectionName === \"start\" && /* @__PURE__ */ jsx(Box, {})\n ] })\n }\n ),\n /* @__PURE__ */ jsx(\n CalendarGrid,\n __spreadProps(__spreadValues({\n state\n }, calendarOffset && {\n offset: calendarOffset\n }), {\n containerCSS: {\n maxWidth: `calc(7 * ${CALENDAR_SIZE_TO_DAY_BTN_SIZE[calendarContext.size]})`,\n boxSizing: \"content-box\",\n padding: \"0 $8 0 $8\"\n },\n onDaySelect\n })\n )\n ]\n }\n ),\n currentCalendarView === CALENDAR_VIEW.MONTH && /* @__PURE__ */ jsx(\n CalendarMonthsView,\n {\n state,\n range: sectionName,\n setCurrentCalendarView,\n onMonthSelect\n }\n ),\n currentCalendarView === CALENDAR_VIEW.YEAR && /* @__PURE__ */ jsx(\n CalendarYearsView,\n {\n state,\n range: sectionName,\n setCurrentCalendarView,\n onYearSelect\n }\n )\n ]\n }\n );\n};\n\nexport { CalendarRange };\n//# sourceMappingURL=calendar-range.js.map\n"],"names":["$18f2051aff69b9bf$export$43bb16f9c6d9e3f7","$9a36b6ba2fb1a7c5$export$9a987164d97ecc90","$64244302c3013299$export$dd0bbc9b26defe37","useEffect","$35ea8db9cb2ccb90$export$d3b7288e7994edea","$35ea8db9cb2ccb90$export$ca871e8dbb80966f","useRef","$46a4342aab3d8076$export$87e0539f600c24e5","useMemo","$896ba0a80a8f4d36$export$85fd5fdf27bacc79","jsx","CalendarContext","jsxs","Box","Flex","Fragment","Text","Button","useState","CALENDAR_VIEW","useCalendarContext","prefixClassName","CALENDAR_SIZE_TO_WIDTH","CalendarNavigationButton","ChevronLeftIcon","RangeCalendarTitle","ChevronRightIcon","CalendarGrid","CALENDAR_SIZE_TO_DAY_BTN_SIZE","CalendarMonthsView","CalendarYearsView"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;AAsBA,IAAI,SAAS,GAAG,MAAM,CAAC,cAAc,CAAC;AACtC,IAAI,UAAU,GAAG,MAAM,CAAC,gBAAgB,CAAC;AACzC,IAAI,iBAAiB,GAAG,MAAM,CAAC,yBAAyB,CAAC;AACzD,IAAI,mBAAmB,GAAG,MAAM,CAAC,qBAAqB,CAAC;AACvD,IAAI,YAAY,GAAG,MAAM,CAAC,SAAS,CAAC,cAAc,CAAC;AACnD,IAAI,YAAY,GAAG,MAAM,CAAC,SAAS,CAAC,oBAAoB,CAAC;AACzD,IAAI,eAAe,GAAG,CAAC,GAAG,EAAE,GAAG,EAAE,KAAK,KAAK,GAAG,IAAI,GAAG,GAAG,SAAS,CAAC,GAAG,EAAE,GAAG,EAAE,EAAE,UAAU,EAAE,IAAI,EAAE,YAAY,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,KAAK,EAA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;AAC1E,UAAUmB,qCAAkB;AAC5B,UAAU;AACV,YAAY,KAAK;AACjB,YAAY,KAAK,EAAE,WAAW;AAC9B,YAAY,sBAAsB;AAClC,YAAY,aAAa;AACzB,WAAW;AACX,SAAS;AACT,QAAQ,mBAAmB,KAAKV,sBAAa,CAAC,IAAI,oBAAoBT,cAAG;AACzE,UAAUoB,mCAAiB;AAC3B,UAAU;AACV,YAAY,KAAK;AACjB,YAAY,KAAK,EAAE,WAAW;AAC9B,YAAY,sBAAsB;AAClC,YAAY,YAAY;AACxB,WAAW;AACX,SAAS;AACT,OAAO;AACP,KAAK;AACL,GAAG,CAAC;AACJ,CAAC;;;;","x_google_ignoreList":[0]}
@@ -24,8 +24,13 @@ const CALENDAR_SIZE_TO_BORDER_RADIUS = {
24
24
  lg: "$2xl",
25
25
  md: "$xl"
26
26
  };
27
+ const CALENDAR_SIZE_TO_DAY_BTN_SIZE = {
28
+ lg: "$10",
29
+ md: "$8"
30
+ };
27
31
 
28
32
  exports.CALENDAR_SIZE_TO_BORDER_RADIUS = CALENDAR_SIZE_TO_BORDER_RADIUS;
33
+ exports.CALENDAR_SIZE_TO_DAY_BTN_SIZE = CALENDAR_SIZE_TO_DAY_BTN_SIZE;
29
34
  exports.CALENDAR_SIZE_TO_FONT_SIZE = CALENDAR_SIZE_TO_FONT_SIZE;
30
35
  exports.CALENDAR_SIZE_TO_WIDTH = CALENDAR_SIZE_TO_WIDTH;
31
36
  exports.CALENDAR_SIZE_TO_YEAR_MONTH_BTN_HEIGHT = CALENDAR_SIZE_TO_YEAR_MONTH_BTN_HEIGHT;
@@ -1 +1 @@
1
- {"version":3,"file":"calendar-utils.js","sources":["../../../../../../../../../../node_modules/@sparrowengg/twigs-react/dist/es/calendar/calendar-utils.js"],"sourcesContent":["import { createContext, useContext } from 'react';\n\nconst CalendarContext = createContext({\n size: \"lg\"\n});\nconst useCalendarContext = () => {\n return useContext(CalendarContext);\n};\nconst CALENDAR_SIZE_TO_YEAR_MONTH_BTN_HEIGHT = {\n lg: \"$20\",\n md: \"$14\"\n};\nconst CALENDAR_SIZE_TO_FONT_SIZE = {\n lg: \"md\",\n md: \"sm\"\n};\nconst CALENDAR_SIZE_TO_WIDTH = {\n lg: 340,\n md: 260\n};\nconst CALENDAR_SIZE_TO_BORDER_RADIUS = {\n lg: \"$2xl\",\n md: \"$xl\"\n};\nconst CALENDAR_SIZE_TO_DAY_BTN_SIZE = {\n lg: \"$10\",\n md: \"$8\"\n};\n\nexport { CALENDAR_SIZE_TO_BORDER_RADIUS, CALENDAR_SIZE_TO_DAY_BTN_SIZE, CALENDAR_SIZE_TO_FONT_SIZE, CALENDAR_SIZE_TO_WIDTH, CALENDAR_SIZE_TO_YEAR_MONTH_BTN_HEIGHT, CalendarContext, useCalendarContext };\n//# sourceMappingURL=calendar-utils.js.map\n"],"names":["createContext","useContext"],"mappings":";;;;AAEK,MAAC,eAAe,GAAGA,mBAAa,CAAC;AACtC,EAAE,IAAI,EAAE,IAAI;AACZ,CAAC,EAAE;AACE,MAAC,kBAAkB,GAAG,MAAM;AACjC,EAAE,OAAOC,gBAAU,CAAC,eAAe,CAAC,CAAC;AACrC,EAAE;AACG,MAAC,sCAAsC,GAAG;AAC/C,EAAE,EAAE,EAAE,KAAK;AACX,EAAE,EAAE,EAAE,KAAK;AACX,EAAE;AACG,MAAC,0BAA0B,GAAG;AACnC,EAAE,EAAE,EAAE,IAAI;AACV,EAAE,EAAE,EAAE,IAAI;AACV,EAAE;AACG,MAAC,sBAAsB,GAAG;AAC/B,EAAE,EAAE,EAAE,GAAG;AACT,EAAE,EAAE,EAAE,GAAG;AACT,EAAE;AACG,MAAC,8BAA8B,GAAG;AACvC,EAAE,EAAE,EAAE,MAAM;AACZ,EAAE,EAAE,EAAE,KAAK;AACX;;;;;;;;;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"calendar-utils.js","sources":["../../../../../../../../../../node_modules/@sparrowengg/twigs-react/dist/es/calendar/calendar-utils.js"],"sourcesContent":["import { createContext, useContext } from 'react';\n\nconst CalendarContext = createContext({\n size: \"lg\"\n});\nconst useCalendarContext = () => {\n return useContext(CalendarContext);\n};\nconst CALENDAR_SIZE_TO_YEAR_MONTH_BTN_HEIGHT = {\n lg: \"$20\",\n md: \"$14\"\n};\nconst CALENDAR_SIZE_TO_FONT_SIZE = {\n lg: \"md\",\n md: \"sm\"\n};\nconst CALENDAR_SIZE_TO_WIDTH = {\n lg: 340,\n md: 260\n};\nconst CALENDAR_SIZE_TO_BORDER_RADIUS = {\n lg: \"$2xl\",\n md: \"$xl\"\n};\nconst CALENDAR_SIZE_TO_DAY_BTN_SIZE = {\n lg: \"$10\",\n md: \"$8\"\n};\n\nexport { CALENDAR_SIZE_TO_BORDER_RADIUS, CALENDAR_SIZE_TO_DAY_BTN_SIZE, CALENDAR_SIZE_TO_FONT_SIZE, CALENDAR_SIZE_TO_WIDTH, CALENDAR_SIZE_TO_YEAR_MONTH_BTN_HEIGHT, CalendarContext, useCalendarContext };\n//# sourceMappingURL=calendar-utils.js.map\n"],"names":["createContext","useContext"],"mappings":";;;;AAEK,MAAC,eAAe,GAAGA,mBAAa,CAAC;AACtC,EAAE,IAAI,EAAE,IAAI;AACZ,CAAC,EAAE;AACE,MAAC,kBAAkB,GAAG,MAAM;AACjC,EAAE,OAAOC,gBAAU,CAAC,eAAe,CAAC,CAAC;AACrC,EAAE;AACG,MAAC,sCAAsC,GAAG;AAC/C,EAAE,EAAE,EAAE,KAAK;AACX,EAAE,EAAE,EAAE,KAAK;AACX,EAAE;AACG,MAAC,0BAA0B,GAAG;AACnC,EAAE,EAAE,EAAE,IAAI;AACV,EAAE,EAAE,EAAE,IAAI;AACV,EAAE;AACG,MAAC,sBAAsB,GAAG;AAC/B,EAAE,EAAE,EAAE,GAAG;AACT,EAAE,EAAE,EAAE,GAAG;AACT,EAAE;AACG,MAAC,8BAA8B,GAAG;AACvC,EAAE,EAAE,EAAE,MAAM;AACZ,EAAE,EAAE,EAAE,KAAK;AACX,EAAE;AACG,MAAC,6BAA6B,GAAG;AACtC,EAAE,EAAE,EAAE,KAAK;AACX,EAAE,EAAE,EAAE,IAAI;AACV;;;;;;;;;;","x_google_ignoreList":[0]}
@@ -2,7 +2,7 @@
2
2
 
3
3
  var floatingUi_dom = require('../../dom/dist/floating-ui.dom.js');
4
4
  var React = require('react');
5
- var ReactDOM__default = require('react-dom');
5
+ var ReactDOM = require('react-dom');
6
6
  var floatingUi_core = require('../../core/dist/floating-ui.core.js');
7
7
 
8
8
  function _interopNamespaceDefault(e) {
@@ -23,7 +23,7 @@ function _interopNamespaceDefault(e) {
23
23
  }
24
24
 
25
25
  var React__namespace = /*#__PURE__*/_interopNamespaceDefault(React);
26
- var ReactDOM__default__namespace = /*#__PURE__*/_interopNamespaceDefault(ReactDOM__default);
26
+ var ReactDOM__namespace = /*#__PURE__*/_interopNamespaceDefault(ReactDOM);
27
27
 
28
28
  /**
29
29
  * Provides data to position an inner element of the floating element so that it
@@ -206,7 +206,7 @@ function useFloating(options) {
206
206
  };
207
207
  if (isMountedRef.current && !deepEqual(dataRef.current, fullData)) {
208
208
  dataRef.current = fullData;
209
- ReactDOM__default__namespace.flushSync(() => {
209
+ ReactDOM__namespace.flushSync(() => {
210
210
  setData(fullData);
211
211
  });
212
212
  }
@@ -1 +1 @@
1
- {"version":3,"file":"floating-ui.react-dom.js","sources":["../../../../../../../../../../../../../node_modules/@sparrowengg/twigs-react/dist/es/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.js"],"sourcesContent":["import { computePosition } from '../../dom/dist/floating-ui.dom.js';\nexport { autoUpdate, platform } from '../../dom/dist/floating-ui.dom.js';\nimport * as React from 'react';\nimport { useLayoutEffect, useEffect } from 'react';\nimport * as ReactDOM from 'react-dom';\nimport { arrow as arrow$1 } from '../../core/dist/floating-ui.core.js';\nexport { detectOverflow, flip, hide, limitShift, offset, shift, size } from '../../core/dist/floating-ui.core.js';\n\n/**\n * Provides data to position an inner element of the floating element so that it\n * appears centered to the reference element.\n * This wraps the core `arrow` middleware to allow React refs as the element.\n * @see https://floating-ui.com/docs/arrow\n */\nconst arrow = options => {\n function isRef(value) {\n return {}.hasOwnProperty.call(value, 'current');\n }\n return {\n name: 'arrow',\n options,\n fn(state) {\n const {\n element,\n padding\n } = typeof options === 'function' ? options(state) : options;\n if (element && isRef(element)) {\n if (element.current != null) {\n return arrow$1({\n element: element.current,\n padding\n }).fn(state);\n }\n return {};\n } else if (element) {\n return arrow$1({\n element,\n padding\n }).fn(state);\n }\n return {};\n }\n };\n};\n\nvar index = typeof document !== 'undefined' ? useLayoutEffect : useEffect;\n\n// Fork of `fast-deep-equal` that only does the comparisons we need and compares\n// functions\nfunction deepEqual(a, b) {\n if (a === b) {\n return true;\n }\n if (typeof a !== typeof b) {\n return false;\n }\n if (typeof a === 'function' && a.toString() === b.toString()) {\n return true;\n }\n let length, i, keys;\n if (a && b && typeof a == 'object') {\n if (Array.isArray(a)) {\n length = a.length;\n if (length != b.length) return false;\n for (i = length; i-- !== 0;) {\n if (!deepEqual(a[i], b[i])) {\n return false;\n }\n }\n return true;\n }\n keys = Object.keys(a);\n length = keys.length;\n if (length !== Object.keys(b).length) {\n return false;\n }\n for (i = length; i-- !== 0;) {\n if (!{}.hasOwnProperty.call(b, keys[i])) {\n return false;\n }\n }\n for (i = length; i-- !== 0;) {\n const key = keys[i];\n if (key === '_owner' && a.$$typeof) {\n continue;\n }\n if (!deepEqual(a[key], b[key])) {\n return false;\n }\n }\n return true;\n }\n return a !== a && b !== b;\n}\n\nfunction getDPR(element) {\n if (typeof window === 'undefined') {\n return 1;\n }\n const win = element.ownerDocument.defaultView || window;\n return win.devicePixelRatio || 1;\n}\n\nfunction roundByDPR(element, value) {\n const dpr = getDPR(element);\n return Math.round(value * dpr) / dpr;\n}\n\nfunction useLatestRef(value) {\n const ref = React.useRef(value);\n index(() => {\n ref.current = value;\n });\n return ref;\n}\n\n/**\n * Provides data to position a floating element.\n * @see https://floating-ui.com/docs/react\n */\nfunction useFloating(options) {\n if (options === void 0) {\n options = {};\n }\n const {\n placement = 'bottom',\n strategy = 'absolute',\n middleware = [],\n platform,\n elements: {\n reference: externalReference,\n floating: externalFloating\n } = {},\n transform = true,\n whileElementsMounted,\n open\n } = options;\n const [data, setData] = React.useState({\n x: 0,\n y: 0,\n strategy,\n placement,\n middlewareData: {},\n isPositioned: false\n });\n const [latestMiddleware, setLatestMiddleware] = React.useState(middleware);\n if (!deepEqual(latestMiddleware, middleware)) {\n setLatestMiddleware(middleware);\n }\n const [_reference, _setReference] = React.useState(null);\n const [_floating, _setFloating] = React.useState(null);\n const setReference = React.useCallback(node => {\n if (node != referenceRef.current) {\n referenceRef.current = node;\n _setReference(node);\n }\n }, [_setReference]);\n const setFloating = React.useCallback(node => {\n if (node !== floatingRef.current) {\n floatingRef.current = node;\n _setFloating(node);\n }\n }, [_setFloating]);\n const referenceEl = externalReference || _reference;\n const floatingEl = externalFloating || _floating;\n const referenceRef = React.useRef(null);\n const floatingRef = React.useRef(null);\n const dataRef = React.useRef(data);\n const whileElementsMountedRef = useLatestRef(whileElementsMounted);\n const platformRef = useLatestRef(platform);\n const update = React.useCallback(() => {\n if (!referenceRef.current || !floatingRef.current) {\n return;\n }\n const config = {\n placement,\n strategy,\n middleware: latestMiddleware\n };\n if (platformRef.current) {\n config.platform = platformRef.current;\n }\n computePosition(referenceRef.current, floatingRef.current, config).then(data => {\n const fullData = {\n ...data,\n isPositioned: true\n };\n if (isMountedRef.current && !deepEqual(dataRef.current, fullData)) {\n dataRef.current = fullData;\n ReactDOM.flushSync(() => {\n setData(fullData);\n });\n }\n });\n }, [latestMiddleware, placement, strategy, platformRef]);\n index(() => {\n if (open === false && dataRef.current.isPositioned) {\n dataRef.current.isPositioned = false;\n setData(data => ({\n ...data,\n isPositioned: false\n }));\n }\n }, [open]);\n const isMountedRef = React.useRef(false);\n index(() => {\n isMountedRef.current = true;\n return () => {\n isMountedRef.current = false;\n };\n }, []);\n index(() => {\n if (referenceEl) referenceRef.current = referenceEl;\n if (floatingEl) floatingRef.current = floatingEl;\n if (referenceEl && floatingEl) {\n if (whileElementsMountedRef.current) {\n return whileElementsMountedRef.current(referenceEl, floatingEl, update);\n } else {\n update();\n }\n }\n }, [referenceEl, floatingEl, update, whileElementsMountedRef]);\n const refs = React.useMemo(() => ({\n reference: referenceRef,\n floating: floatingRef,\n setReference,\n setFloating\n }), [setReference, setFloating]);\n const elements = React.useMemo(() => ({\n reference: referenceEl,\n floating: floatingEl\n }), [referenceEl, floatingEl]);\n const floatingStyles = React.useMemo(() => {\n const initialStyles = {\n position: strategy,\n left: 0,\n top: 0\n };\n if (!elements.floating) {\n return initialStyles;\n }\n const x = roundByDPR(elements.floating, data.x);\n const y = roundByDPR(elements.floating, data.y);\n if (transform) {\n return {\n ...initialStyles,\n transform: \"translate(\" + x + \"px, \" + y + \"px)\",\n ...(getDPR(elements.floating) >= 1.5 && {\n willChange: 'transform'\n })\n };\n }\n return {\n position: strategy,\n left: x,\n top: y\n };\n }, [strategy, transform, elements.floating, data.x, data.y]);\n return React.useMemo(() => ({\n ...data,\n update,\n refs,\n elements,\n floatingStyles\n }), [data, update, refs, elements, floatingStyles]);\n}\n\nexport { arrow, computePosition, useFloating };\n//# sourceMappingURL=floating-ui.react-dom.js.map\n"],"names":["arrow$1","useLayoutEffect","useEffect","React","computePosition","ReactDOM"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;AAQA;AACA;AACA;AACA;AACA;AACA;AACK,MAAC,KAAK,GAAG,OAAO,IAAI;AACzB,EAAE,SAAS,KAAK,CAAC,KAAK,EAAE;AACxB,IAAI,OAAO,EAAE,CAAC,cAAc,CAAC,IAAI,CAAC,KAAK,EAAE,SAAS,CAAC,CAAC;AACpD,GAAG;AACH,EAAE,OAAO;AACT,IAAI,IAAI,EAAE,OAAO;AACjB,IAAI,OAAO;AACX,IAAI,EAAE,CAAC,KAAK,EAAE;AACd,MAAM,MAAM;AACZ,QAAQ,OAAO;AACf,QAAQ,OAAO;AACf,O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AI,CAAC,CAAC,CAAC,CAAC;AACpD,IAAI,IAAI,SAAS,EAAE;AACnB,MAAM,OAAO;AACb,QAAQ,GAAG,aAAa;AACxB,QAAQ,SAAS,EAAE,YAAY,GAAG,CAAC,GAAG,MAAM,GAAG,CAAC,GAAG,KAAK;AACxD,QAAQ,IAAI,MAAM,CAAC,QAAQ,CAAC,QAAQ,CAAC,IAAI,GAAG,IAAI;AAChD,UAAU,UAAU,EAAE,WAAW;AACjC,SAAS;AACT,OAAO,CAAC;AACR,KAAK;AACL,IAAI,OAAO;AACX,MAAM,QAAQ,EAAE,QAAQ;AACxB,MAAM,IAAI,EAAE,CAAC;AACb,MAAM,GAAG,EAAE,CAAC;AACZ,KAAK,CAAC;AACN,GAAG,EAAE,CAAC,QAAQ,EAAE,SAAS,EAAE,QAAQ,CAAC,QAAQ,EAAE,IAAI,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC;AAC/D,EAAE,OAAOA,gBAAK,CAAC,OAAO,CAAC,OAAO;AAC9B,IAAI,GAAG,IAAI;AACX,IAAI,MAAM;AACV,IAAI,IAAI;AACR,IAAI,QAAQ;AACZ,IAAI,cAAc;AAClB,GAAG,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,QAAQ,EAAE,cAAc,CAAC,CAAC,CAAC;AACtD;;;;;;;;;;;;;;;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"floating-ui.react-dom.js","sources":["../../../../../../../../../../../../../node_modules/@sparrowengg/twigs-react/dist/es/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.js"],"sourcesContent":["import { computePosition } from '../../dom/dist/floating-ui.dom.js';\nexport { autoUpdate, platform } from '../../dom/dist/floating-ui.dom.js';\nimport * as React from 'react';\nimport { useLayoutEffect, useEffect } from 'react';\nimport * as ReactDOM from 'react-dom';\nimport { arrow as arrow$1 } from '../../core/dist/floating-ui.core.js';\nexport { detectOverflow, flip, hide, limitShift, offset, shift, size } from '../../core/dist/floating-ui.core.js';\n\n/**\n * Provides data to position an inner element of the floating element so that it\n * appears centered to the reference element.\n * This wraps the core `arrow` middleware to allow React refs as the element.\n * @see https://floating-ui.com/docs/arrow\n */\nconst arrow = options => {\n function isRef(value) {\n return {}.hasOwnProperty.call(value, 'current');\n }\n return {\n name: 'arrow',\n options,\n fn(state) {\n const {\n element,\n padding\n } = typeof options === 'function' ? options(state) : options;\n if (element && isRef(element)) {\n if (element.current != null) {\n return arrow$1({\n element: element.current,\n padding\n }).fn(state);\n }\n return {};\n } else if (element) {\n return arrow$1({\n element,\n padding\n }).fn(state);\n }\n return {};\n }\n };\n};\n\nvar index = typeof document !== 'undefined' ? useLayoutEffect : useEffect;\n\n// Fork of `fast-deep-equal` that only does the comparisons we need and compares\n// functions\nfunction deepEqual(a, b) {\n if (a === b) {\n return true;\n }\n if (typeof a !== typeof b) {\n return false;\n }\n if (typeof a === 'function' && a.toString() === b.toString()) {\n return true;\n }\n let length, i, keys;\n if (a && b && typeof a == 'object') {\n if (Array.isArray(a)) {\n length = a.length;\n if (length != b.length) return false;\n for (i = length; i-- !== 0;) {\n if (!deepEqual(a[i], b[i])) {\n return false;\n }\n }\n return true;\n }\n keys = Object.keys(a);\n length = keys.length;\n if (length !== Object.keys(b).length) {\n return false;\n }\n for (i = length; i-- !== 0;) {\n if (!{}.hasOwnProperty.call(b, keys[i])) {\n return false;\n }\n }\n for (i = length; i-- !== 0;) {\n const key = keys[i];\n if (key === '_owner' && a.$$typeof) {\n continue;\n }\n if (!deepEqual(a[key], b[key])) {\n return false;\n }\n }\n return true;\n }\n return a !== a && b !== b;\n}\n\nfunction getDPR(element) {\n if (typeof window === 'undefined') {\n return 1;\n }\n const win = element.ownerDocument.defaultView || window;\n return win.devicePixelRatio || 1;\n}\n\nfunction roundByDPR(element, value) {\n const dpr = getDPR(element);\n return Math.round(value * dpr) / dpr;\n}\n\nfunction useLatestRef(value) {\n const ref = React.useRef(value);\n index(() => {\n ref.current = value;\n });\n return ref;\n}\n\n/**\n * Provides data to position a floating element.\n * @see https://floating-ui.com/docs/react\n */\nfunction useFloating(options) {\n if (options === void 0) {\n options = {};\n }\n const {\n placement = 'bottom',\n strategy = 'absolute',\n middleware = [],\n platform,\n elements: {\n reference: externalReference,\n floating: externalFloating\n } = {},\n transform = true,\n whileElementsMounted,\n open\n } = options;\n const [data, setData] = React.useState({\n x: 0,\n y: 0,\n strategy,\n placement,\n middlewareData: {},\n isPositioned: false\n });\n const [latestMiddleware, setLatestMiddleware] = React.useState(middleware);\n if (!deepEqual(latestMiddleware, middleware)) {\n setLatestMiddleware(middleware);\n }\n const [_reference, _setReference] = React.useState(null);\n const [_floating, _setFloating] = React.useState(null);\n const setReference = React.useCallback(node => {\n if (node != referenceRef.current) {\n referenceRef.current = node;\n _setReference(node);\n }\n }, [_setReference]);\n const setFloating = React.useCallback(node => {\n if (node !== floatingRef.current) {\n floatingRef.current = node;\n _setFloating(node);\n }\n }, [_setFloating]);\n const referenceEl = externalReference || _reference;\n const floatingEl = externalFloating || _floating;\n const referenceRef = React.useRef(null);\n const floatingRef = React.useRef(null);\n const dataRef = React.useRef(data);\n const whileElementsMountedRef = useLatestRef(whileElementsMounted);\n const platformRef = useLatestRef(platform);\n const update = React.useCallback(() => {\n if (!referenceRef.current || !floatingRef.current) {\n return;\n }\n const config = {\n placement,\n strategy,\n middleware: latestMiddleware\n };\n if (platformRef.current) {\n config.platform = platformRef.current;\n }\n computePosition(referenceRef.current, floatingRef.current, config).then(data => {\n const fullData = {\n ...data,\n isPositioned: true\n };\n if (isMountedRef.current && !deepEqual(dataRef.current, fullData)) {\n dataRef.current = fullData;\n ReactDOM.flushSync(() => {\n setData(fullData);\n });\n }\n });\n }, [latestMiddleware, placement, strategy, platformRef]);\n index(() => {\n if (open === false && dataRef.current.isPositioned) {\n dataRef.current.isPositioned = false;\n setData(data => ({\n ...data,\n isPositioned: false\n }));\n }\n }, [open]);\n const isMountedRef = React.useRef(false);\n index(() => {\n isMountedRef.current = true;\n return () => {\n isMountedRef.current = false;\n };\n }, []);\n index(() => {\n if (referenceEl) referenceRef.current = referenceEl;\n if (floatingEl) floatingRef.current = floatingEl;\n if (referenceEl && floatingEl) {\n if (whileElementsMountedRef.current) {\n return whileElementsMountedRef.current(referenceEl, floatingEl, update);\n } else {\n update();\n }\n }\n }, [referenceEl, floatingEl, update, whileElementsMountedRef]);\n const refs = React.useMemo(() => ({\n reference: referenceRef,\n floating: floatingRef,\n setReference,\n setFloating\n }), [setReference, setFloating]);\n const elements = React.useMemo(() => ({\n reference: referenceEl,\n floating: floatingEl\n }), [referenceEl, floatingEl]);\n const floatingStyles = React.useMemo(() => {\n const initialStyles = {\n position: strategy,\n left: 0,\n top: 0\n };\n if (!elements.floating) {\n return initialStyles;\n }\n const x = roundByDPR(elements.floating, data.x);\n const y = roundByDPR(elements.floating, data.y);\n if (transform) {\n return {\n ...initialStyles,\n transform: \"translate(\" + x + \"px, \" + y + \"px)\",\n ...(getDPR(elements.floating) >= 1.5 && {\n willChange: 'transform'\n })\n };\n }\n return {\n position: strategy,\n left: x,\n top: y\n };\n }, [strategy, transform, elements.floating, data.x, data.y]);\n return React.useMemo(() => ({\n ...data,\n update,\n refs,\n elements,\n floatingStyles\n }), [data, update, refs, elements, floatingStyles]);\n}\n\nexport { arrow, computePosition, useFloating };\n//# sourceMappingURL=floating-ui.react-dom.js.map\n"],"names":["arrow$1","useLayoutEffect","useEffect","React","computePosition","ReactDOM"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;AAQA;AACA;AACA;AACA;AACA;AACA;AACK,MAAC,KAAK,GAAG,OAAO,IAAI;AACzB,EAAE,SAAS,KAAK,CAAC,KAAK,EAAE;AACxB,IAAI,OAAO,EAAE,CAAC,cAAc,CAAC,IAAI,CAAC,KAAK,EAAE,SAAS,CAAC,CAAC;AACpD,GAAG;AACH,EAAE,OAAO;AACT,IAAI,IAAI,EAAE,OAAO;AACjB,IAAI,OAAO;AACX,IAAI,EAAE,CA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AAC;AACpD,IAAI,MAAM,CAAC,GAAG,UAAU,CAAC,QAAQ,CAAC,QAAQ,EAAE,IAAI,CAAC,CAAC,CAAC,CAAC;AACpD,IAAI,IAAI,SAAS,EAAE;AACnB,MAAM,OAAO;AACb,QAAQ,GAAG,aAAa;AACxB,QAAQ,SAAS,EAAE,YAAY,GAAG,CAAC,GAAG,MAAM,GAAG,CAAC,GAAG,KAAK;AACxD,QAAQ,IAAI,MAAM,CAAC,QAAQ,CAAC,QAAQ,CAAC,IAAI,GAAG,IAAI;AAChD,UAAU,UAAU,EAAE,WAAW;AACjC,SAAS;AACT,OAAO,CAAC;AACR,KAAK;AACL,IAAI,OAAO;AACX,MAAM,QAAQ,EAAE,QAAQ;AACxB,MAAM,IAAI,EAAE,CAAC;AACb,MAAM,GAAG,EAAE,CAAC;AACZ,KAAK,CAAC;AACN,GAAG,EAAE,CAAC,QAAQ,EAAE,SAAS,EAAE,QAAQ,CAAC,QAAQ,EAAE,IAAI,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC;AAC/D,EAAE,OAAOA,gBAAK,CAAC,OAAO,CAAC,OAAO;AAC9B,IAAI,GAAG,IAAI;AACX,IAAI,MAAM;AACV,IAAI,IAAI;AACR,IAAI,QAAQ;AACZ,IAAI,cAAc;AAClB,GAAG,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,QAAQ,EAAE,cAAc,CAAC,CAAC,CAAC;AACtD;;;;;;;;;;;;;;;","x_google_ignoreList":[0]}
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  var React = require('react');
4
- var ReactDOM__default = require('react-dom');
4
+ var ReactDOM = require('react-dom');
5
5
  var index$1 = require('../../react-primitive/dist/index.js');
6
6
  var index = require('../../react-use-layout-effect/dist/index.js');
7
7
  var jsxRuntime = require('react/jsx-runtime');
@@ -31,7 +31,7 @@ var Portal = React__namespace.forwardRef((props, forwardedRef) => {
31
31
  const [mounted, setMounted] = React__namespace.useState(false);
32
32
  index.useLayoutEffect(() => setMounted(true), []);
33
33
  const container = containerProp || mounted && globalThis?.document?.body;
34
- return container ? ReactDOM__default.createPortal(/* @__PURE__ */ jsxRuntime.jsx(index$1.Primitive.div, { ...portalProps, ref: forwardedRef }), container) : null;
34
+ return container ? ReactDOM.createPortal(/* @__PURE__ */ jsxRuntime.jsx(index$1.Primitive.div, { ...portalProps, ref: forwardedRef }), container) : null;
35
35
  });
36
36
  Portal.displayName = PORTAL_NAME;
37
37
 
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":["../../../../../../../../../../../../../node_modules/@sparrowengg/twigs-react/dist/es/node_modules/@radix-ui/react-portal/dist/index.js"],"sourcesContent":["import * as React from 'react';\nimport ReactDOM__default from 'react-dom';\nimport { Primitive } from '../../react-primitive/dist/index.js';\nimport { useLayoutEffect as useLayoutEffect2 } from '../../react-use-layout-effect/dist/index.js';\nimport { jsx } from 'react/jsx-runtime';\n\nvar PORTAL_NAME = \"Portal\";\nvar Portal = React.forwardRef((props, forwardedRef) => {\n const { container: containerProp, ...portalProps } = props;\n const [mounted, setMounted] = React.useState(false);\n useLayoutEffect2(() => setMounted(true), []);\n const container = containerProp || mounted && globalThis?.document?.body;\n return container ? ReactDOM__default.createPortal(/* @__PURE__ */ jsx(Primitive.div, { ...portalProps, ref: forwardedRef }), container) : null;\n});\nPortal.displayName = PORTAL_NAME;\nvar Root = Portal;\n\nexport { Portal, Root };\n//# sourceMappingURL=index.js.map\n"],"names":["React","useLayoutEffect2","jsx","Primitive"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;AAMA,IAAI,WAAW,GAAG,QAAQ,CAAC;AACxB,IAAC,MAAM,GAAGA,gBAAK,CAAC,UAAU,CAAC,CAAC,KAAK,EAAE,YAAY,KAAK;AACvD,EAAE,MAAM,EAAE,SAAS,EAAE,aAAa,EAAE,GAAG,WAAW,EAAE,GAAG,KAAK,CAAC;AAC7D,EAAE,MAAM,CAAC,OAAO,EAAE,UAAU,CAAC,GAAGA,gBAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC;AACtD,EAAEC,qBAAgB,CAAC,MAAM,UAAU,CAAC,IAAI,CAAC,EAAE,EAAE,CAAC,CAAC;AAC/C,EAAE,MAAM,SAAS,GAAG,aAAa,IAAI,OAAO,IAAI,UAAU,EAAE,QAAQ,EAAE,IAAI,CAAC;AAC3E,EAAE,OAAO,SAAS,GAAG,iBAAiB,CAAC,YAAY,iBAAiBC,cAAG,CAACC,iBAAS,CAAC,GAAG,EAAE,EAAE,GAAG,WAAW,EAAE,GAAG,EAAE,YAAY,EAAE,CAAC,EAAE,SAAS,CAAC,GAAG,IAAI,CAAC;AACjJ,CAAC,EAAE;AACH,MAAM,CAAC,WAAW,GAAG,WAAW;;;;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.js","sources":["../../../../../../../../../../../../../node_modules/@sparrowengg/twigs-react/dist/es/node_modules/@radix-ui/react-portal/dist/index.js"],"sourcesContent":["import * as React from 'react';\nimport ReactDOM__default from 'react-dom';\nimport { Primitive } from '../../react-primitive/dist/index.js';\nimport { useLayoutEffect as useLayoutEffect2 } from '../../react-use-layout-effect/dist/index.js';\nimport { jsx } from 'react/jsx-runtime';\n\nvar PORTAL_NAME = \"Portal\";\nvar Portal = React.forwardRef((props, forwardedRef) => {\n const { container: containerProp, ...portalProps } = props;\n const [mounted, setMounted] = React.useState(false);\n useLayoutEffect2(() => setMounted(true), []);\n const container = containerProp || mounted && globalThis?.document?.body;\n return container ? ReactDOM__default.createPortal(/* @__PURE__ */ jsx(Primitive.div, { ...portalProps, ref: forwardedRef }), container) : null;\n});\nPortal.displayName = PORTAL_NAME;\nvar Root = Portal;\n\nexport { Portal, Root };\n//# sourceMappingURL=index.js.map\n"],"names":["React","useLayoutEffect2","ReactDOM__default","jsx","Primitive"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;AAMA,IAAI,WAAW,GAAG,QAAQ,CAAC;AACxB,IAAC,MAAM,GAAGA,gBAAK,CAAC,UAAU,CAAC,CAAC,KAAK,EAAE,YAAY,KAAK;AACvD,EAAE,MAAM,EAAE,SAAS,EAAE,aAAa,EAAE,GAAG,WAAW,EAAE,GAAG,KAAK,CAAC;AAC7D,EAAE,MAAM,CAAC,OAAO,EAAE,UAAU,CAAC,GAAGA,gBAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC;AACtD,EAAEC,qBAAgB,CAAC,MAAM,UAAU,CAAC,IAAI,CAAC,EAAE,EAAE,CAAC,CAAC;AAC/C,EAAE,MAAM,SAAS,GAAG,aAAa,IAAI,OAAO,IAAI,UAAU,EAAE,QAAQ,EAAE,IAAI,CAAC;AAC3E,EAAE,OAAO,SAAS,GAAGC,QAAiB,CAAC,YAAY,iBAAiBC,cAAG,CAACC,iBAAS,CAAC,GAAG,EAAE,EAAE,GAAG,WAAW,EAAE,GAAG,EAAE,YAAY,EAAE,CAAC,EAAE,SAAS,CAAC,GAAG,IAAI,CAAC;AACjJ,CAAC,EAAE;AACH,MAAM,CAAC,WAAW,GAAG,WAAW;;;;","x_google_ignoreList":[0]}
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  var React = require('react');
4
- var ReactDOM__default = require('react-dom');
4
+ var ReactDOM = require('react-dom');
5
5
  var index = require('../../react-compose-refs/dist/index.js');
6
6
  var index$1 = require('../../react-use-layout-effect/dist/index.js');
7
7
 
@@ -23,7 +23,7 @@ function _interopNamespaceDefault(e) {
23
23
  }
24
24
 
25
25
  var React__namespace = /*#__PURE__*/_interopNamespaceDefault(React);
26
- var ReactDOM__default__namespace = /*#__PURE__*/_interopNamespaceDefault(ReactDOM__default);
26
+ var ReactDOM__namespace = /*#__PURE__*/_interopNamespaceDefault(ReactDOM);
27
27
 
28
28
  function useStateMachine(initialState, machine) {
29
29
  return React__namespace.useReducer((state, event) => {
@@ -93,7 +93,7 @@ function usePresence(present) {
93
93
  const currentAnimationName = getAnimationName(stylesRef.current);
94
94
  const isCurrentAnimation = currentAnimationName.includes(event.animationName);
95
95
  if (event.target === node && isCurrentAnimation) {
96
- ReactDOM__default__namespace.flushSync(() => send("ANIMATION_END"));
96
+ ReactDOM__namespace.flushSync(() => send("ANIMATION_END"));
97
97
  }
98
98
  };
99
99
  const handleAnimationStart = (event) => {
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":["../../../../../../../../../../../../../node_modules/@sparrowengg/twigs-react/dist/es/node_modules/@radix-ui/react-presence/dist/index.js"],"sourcesContent":["import * as React from 'react';\nimport * as ReactDOM from 'react-dom';\nimport { useComposedRefs } from '../../react-compose-refs/dist/index.js';\nimport { useLayoutEffect as useLayoutEffect2 } from '../../react-use-layout-effect/dist/index.js';\n\nfunction useStateMachine(initialState, machine) {\n return React.useReducer((state, event) => {\n const nextState = machine[state][event];\n return nextState ?? state;\n }, initialState);\n}\n\n// packages/react/presence/src/Presence.tsx\nvar Presence = (props) => {\n const { present, children } = props;\n const presence = usePresence(present);\n const child = typeof children === \"function\" ? children({ present: presence.isPresent }) : React.Children.only(children);\n const ref = useComposedRefs(presence.ref, getElementRef(child));\n const forceMount = typeof children === \"function\";\n return forceMount || presence.isPresent ? React.cloneElement(child, { ref }) : null;\n};\nPresence.displayName = \"Presence\";\nfunction usePresence(present) {\n const [node, setNode] = React.useState();\n const stylesRef = React.useRef({});\n const prevPresentRef = React.useRef(present);\n const prevAnimationNameRef = React.useRef(\"none\");\n const initialState = present ? \"mounted\" : \"unmounted\";\n const [state, send] = useStateMachine(initialState, {\n mounted: {\n UNMOUNT: \"unmounted\",\n ANIMATION_OUT: \"unmountSuspended\"\n },\n unmountSuspended: {\n MOUNT: \"mounted\",\n ANIMATION_END: \"unmounted\"\n },\n unmounted: {\n MOUNT: \"mounted\"\n }\n });\n React.useEffect(() => {\n const currentAnimationName = getAnimationName(stylesRef.current);\n prevAnimationNameRef.current = state === \"mounted\" ? currentAnimationName : \"none\";\n }, [state]);\n useLayoutEffect2(() => {\n const styles = stylesRef.current;\n const wasPresent = prevPresentRef.current;\n const hasPresentChanged = wasPresent !== present;\n if (hasPresentChanged) {\n const prevAnimationName = prevAnimationNameRef.current;\n const currentAnimationName = getAnimationName(styles);\n if (present) {\n send(\"MOUNT\");\n } else if (currentAnimationName === \"none\" || styles?.display === \"none\") {\n send(\"UNMOUNT\");\n } else {\n const isAnimating = prevAnimationName !== currentAnimationName;\n if (wasPresent && isAnimating) {\n send(\"ANIMATION_OUT\");\n } else {\n send(\"UNMOUNT\");\n }\n }\n prevPresentRef.current = present;\n }\n }, [present, send]);\n useLayoutEffect2(() => {\n if (node) {\n const handleAnimationEnd = (event) => {\n const currentAnimationName = getAnimationName(stylesRef.current);\n const isCurrentAnimation = currentAnimationName.includes(event.animationName);\n if (event.target === node && isCurrentAnimation) {\n ReactDOM.flushSync(() => send(\"ANIMATION_END\"));\n }\n };\n const handleAnimationStart = (event) => {\n if (event.target === node) {\n prevAnimationNameRef.current = getAnimationName(stylesRef.current);\n }\n };\n node.addEventListener(\"animationstart\", handleAnimationStart);\n node.addEventListener(\"animationcancel\", handleAnimationEnd);\n node.addEventListener(\"animationend\", handleAnimationEnd);\n return () => {\n node.removeEventListener(\"animationstart\", handleAnimationStart);\n node.removeEventListener(\"animationcancel\", handleAnimationEnd);\n node.removeEventListener(\"animationend\", handleAnimationEnd);\n };\n } else {\n send(\"ANIMATION_END\");\n }\n }, [node, send]);\n return {\n isPresent: [\"mounted\", \"unmountSuspended\"].includes(state),\n ref: React.useCallback((node2) => {\n if (node2) stylesRef.current = getComputedStyle(node2);\n setNode(node2);\n }, [])\n };\n}\nfunction getAnimationName(styles) {\n return styles?.animationName || \"none\";\n}\nfunction getElementRef(element) {\n let getter = Object.getOwnPropertyDescriptor(element.props, \"ref\")?.get;\n let mayWarn = getter && \"isReactWarning\" in getter && getter.isReactWarning;\n if (mayWarn) {\n return element.ref;\n }\n getter = Object.getOwnPropertyDescriptor(element, \"ref\")?.get;\n mayWarn = getter && \"isReactWarning\" in getter && getter.isReactWarning;\n if (mayWarn) {\n return element.props.ref;\n }\n return element.props.ref || element.ref;\n}\n\nexport { Presence };\n//# sourceMappingURL=index.js.map\n"],"names":["React","useComposedRefs","useLayoutEffect2","ReactDOM"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;AAKA,SAAS,eAAe,CAAC,YAAY,EAAE,OAAO,EAAE;AAChD,EAAE,OAAOA,gBAAK,CAAC,UAAU,CAAC,CAAC,KAAK,EAAE,KAAK,KAAK;AAC5C,IAAI,MAAM,SAAS,GAAG,OAAO,CAAC,KAAK,CAAC,CAAC,KAAK,CAAC,CAAC;AAC5C,IAAI,OAAO,SAAS,IAAI,KAAK,CAAC;AAC9B,GAAG,EAAE,YAAY,CAAC,CAAC;AACnB,CAAC;AACD;AACA;AACG,IAAC,QAAQ,GAAG,CAAC,KAAK,KAAK;AAC1B,EAAE,MAAM,EAAE,OAAO,EAAE,QAAQ,EAAE,GAAG,KAAK,CAAC;AACtC,EAAE,MAAM,QAAQ,GAAG,WAAW,CAAC,OAAO,CAAC,CAAC;AACxC,EAAE,MAAM,KAAK,GAAG,OAAO,QAAQ,KAAK,UAAU,GAAG,QAAQ,CAAC,EAAE,OAAO,EAAE,QAAQ,CAAC,SAAS,EAAE,CAAC,GAAGA,gBAAK,CAAC,QAAQ,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;AAC3H,EAAE,MAAM,GAAG,GAAGC,qBAAe,CAAC,QAAQ,CAAC,GAAG,EAAE,aAAa,CAAC,KAAK,CAAC,CAAC,CAAC;AAClE,EAAE,MAAM,UAAU,GAAG,OAAO,QAAQ,KAAK,UAAU,CAAC;AACpD,EAAE,OAAO,UAAU,IAAI,QAAQ,CAAC,SAAS,GAAGD,gBAAK,CAAC,YAAY,CAAC,KAAK,EAAE,EAAE,GAAG,EAAE,CAAC,GAAG,IAAI,CAAC;AACtF,EAAE;AACF,QAAQ,CAAC,WAAW,GAAG,UAAU,CAAC;AAClC,SAAS,WAAW,CAAC,OAAO,EAAE;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AS,aAAa,CAAC,OAAO,EAAE;AAChC,EAAE,IAAI,MAAM,GAAG,MAAM,CAAC,wBAAwB,CAAC,OAAO,CAAC,KAAK,EAAE,KAAK,CAAC,EAAE,GAAG,CAAC;AAC1E,EAAE,IAAI,OAAO,GAAG,MAAM,IAAI,gBAAgB,IAAI,MAAM,IAAI,MAAM,CAAC,cAAc,CAAC;AAC9E,EAAE,IAAI,OAAO,EAAE;AACf,IAAI,OAAO,OAAO,CAAC,GAAG,CAAC;AACvB,GAAG;AACH,EAAE,MAAM,GAAG,MAAM,CAAC,wBAAwB,CAAC,OAAO,EAAE,KAAK,CAAC,EAAE,GAAG,CAAC;AAChE,EAAE,OAAO,GAAG,MAAM,IAAI,gBAAgB,IAAI,MAAM,IAAI,MAAM,CAAC,cAAc,CAAC;AAC1E,EAAE,IAAI,OAAO,EAAE;AACf,IAAI,OAAO,OAAO,CAAC,KAAK,CAAC,GAAG,CAAC;AAC7B,GAAG;AACH,EAAE,OAAO,OAAO,CAAC,KAAK,CAAC,GAAG,IAAI,OAAO,CAAC,GAAG,CAAC;AAC1C;;;;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.js","sources":["../../../../../../../../../../../../../node_modules/@sparrowengg/twigs-react/dist/es/node_modules/@radix-ui/react-presence/dist/index.js"],"sourcesContent":["import * as React from 'react';\nimport * as ReactDOM from 'react-dom';\nimport { useComposedRefs } from '../../react-compose-refs/dist/index.js';\nimport { useLayoutEffect as useLayoutEffect2 } from '../../react-use-layout-effect/dist/index.js';\n\nfunction useStateMachine(initialState, machine) {\n return React.useReducer((state, event) => {\n const nextState = machine[state][event];\n return nextState ?? state;\n }, initialState);\n}\n\n// packages/react/presence/src/Presence.tsx\nvar Presence = (props) => {\n const { present, children } = props;\n const presence = usePresence(present);\n const child = typeof children === \"function\" ? children({ present: presence.isPresent }) : React.Children.only(children);\n const ref = useComposedRefs(presence.ref, getElementRef(child));\n const forceMount = typeof children === \"function\";\n return forceMount || presence.isPresent ? React.cloneElement(child, { ref }) : null;\n};\nPresence.displayName = \"Presence\";\nfunction usePresence(present) {\n const [node, setNode] = React.useState();\n const stylesRef = React.useRef({});\n const prevPresentRef = React.useRef(present);\n const prevAnimationNameRef = React.useRef(\"none\");\n const initialState = present ? \"mounted\" : \"unmounted\";\n const [state, send] = useStateMachine(initialState, {\n mounted: {\n UNMOUNT: \"unmounted\",\n ANIMATION_OUT: \"unmountSuspended\"\n },\n unmountSuspended: {\n MOUNT: \"mounted\",\n ANIMATION_END: \"unmounted\"\n },\n unmounted: {\n MOUNT: \"mounted\"\n }\n });\n React.useEffect(() => {\n const currentAnimationName = getAnimationName(stylesRef.current);\n prevAnimationNameRef.current = state === \"mounted\" ? currentAnimationName : \"none\";\n }, [state]);\n useLayoutEffect2(() => {\n const styles = stylesRef.current;\n const wasPresent = prevPresentRef.current;\n const hasPresentChanged = wasPresent !== present;\n if (hasPresentChanged) {\n const prevAnimationName = prevAnimationNameRef.current;\n const currentAnimationName = getAnimationName(styles);\n if (present) {\n send(\"MOUNT\");\n } else if (currentAnimationName === \"none\" || styles?.display === \"none\") {\n send(\"UNMOUNT\");\n } else {\n const isAnimating = prevAnimationName !== currentAnimationName;\n if (wasPresent && isAnimating) {\n send(\"ANIMATION_OUT\");\n } else {\n send(\"UNMOUNT\");\n }\n }\n prevPresentRef.current = present;\n }\n }, [present, send]);\n useLayoutEffect2(() => {\n if (node) {\n const handleAnimationEnd = (event) => {\n const currentAnimationName = getAnimationName(stylesRef.current);\n const isCurrentAnimation = currentAnimationName.includes(event.animationName);\n if (event.target === node && isCurrentAnimation) {\n ReactDOM.flushSync(() => send(\"ANIMATION_END\"));\n }\n };\n const handleAnimationStart = (event) => {\n if (event.target === node) {\n prevAnimationNameRef.current = getAnimationName(stylesRef.current);\n }\n };\n node.addEventListener(\"animationstart\", handleAnimationStart);\n node.addEventListener(\"animationcancel\", handleAnimationEnd);\n node.addEventListener(\"animationend\", handleAnimationEnd);\n return () => {\n node.removeEventListener(\"animationstart\", handleAnimationStart);\n node.removeEventListener(\"animationcancel\", handleAnimationEnd);\n node.removeEventListener(\"animationend\", handleAnimationEnd);\n };\n } else {\n send(\"ANIMATION_END\");\n }\n }, [node, send]);\n return {\n isPresent: [\"mounted\", \"unmountSuspended\"].includes(state),\n ref: React.useCallback((node2) => {\n if (node2) stylesRef.current = getComputedStyle(node2);\n setNode(node2);\n }, [])\n };\n}\nfunction getAnimationName(styles) {\n return styles?.animationName || \"none\";\n}\nfunction getElementRef(element) {\n let getter = Object.getOwnPropertyDescriptor(element.props, \"ref\")?.get;\n let mayWarn = getter && \"isReactWarning\" in getter && getter.isReactWarning;\n if (mayWarn) {\n return element.ref;\n }\n getter = Object.getOwnPropertyDescriptor(element, \"ref\")?.get;\n mayWarn = getter && \"isReactWarning\" in getter && getter.isReactWarning;\n if (mayWarn) {\n return element.props.ref;\n }\n return element.props.ref || element.ref;\n}\n\nexport { Presence };\n//# sourceMappingURL=index.js.map\n"],"names":["React","useComposedRefs","useLayoutEffect2","ReactDOM"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;AAKA,SAAS,eAAe,CAAC,YAAY,EAAE,OAAO,EAAE;AAChD,EAAE,OAAOA,gBAAK,CAAC,UAAU,CAAC,CAAC,KAAK,EAAE,KAAK,KAAK;AAC5C,IAAI,MAAM,SAAS,GAAG,OAAO,CAAC,KAAK,CAAC,CAAC,KAAK,CAAC,CAAC;AAC5C,IAAI,OAAO,SAAS,IAAI,KAAK,CAAC;AAC9B,GAAG,EAAE,YAAY,CAAC,CAAC;AACnB,CAAC;AACD;AACA;AACG,IAAC,QAAQ,GAAG,CAAC,KAAK,KAAK;AAC1B,EAAE,MAAM,EAAE,OAAO,EAAE,QAAQ,EAAE,GAAG,KAAK,CAAC;AACtC,EAAE,MAAM,QAAQ,GAAG,WAAW,CAAC,OAAO,CAAC,CAAC;AACxC,EAAE,MAAM,KAAK,GAAG,OAAO,QAAQ,KAAK,UAAU,GAAG,QAAQ,CAAC,EAAE,OAAO,EA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