@e1011/es-kit 1.1.76 → 1.1.80

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 (1772) hide show
  1. package/dist/hooks/esm/index.css +358 -358
  2. package/dist/hooks/esm/src/core/hooks/useAnimation.js +1 -1
  3. package/dist/hooks/esm/src/core/hooks/useAnimation.js.map +1 -1
  4. package/dist/hooks/esm/src/core/hooks/useApi.js +1 -1
  5. package/dist/hooks/esm/src/core/hooks/useApi.js.map +1 -1
  6. package/dist/hooks/esm/src/core/hooks/useClassNames.js +1 -1
  7. package/dist/hooks/esm/src/core/hooks/useClassNames.js.map +1 -1
  8. package/dist/hooks/esm/src/core/hooks/useIntersectionObserver.js +1 -1
  9. package/dist/hooks/esm/src/core/hooks/useIntersectionObserver.js.map +1 -1
  10. package/dist/hooks/esm/src/core/hooks/useOutsideClick.js +1 -1
  11. package/dist/hooks/esm/src/core/hooks/useOutsideClick.js.map +1 -1
  12. package/dist/hooks/esm/src/core/hooks/useParseProps.js +1 -1
  13. package/dist/hooks/esm/src/core/hooks/useParseProps.js.map +1 -1
  14. package/dist/hooks/esm/src/core/hooks/useResize.js +1 -1
  15. package/dist/hooks/esm/src/core/hooks/useResize.js.map +1 -1
  16. package/dist/hooks/esm/src/core/hooks/useSetTimeout.js +1 -1
  17. package/dist/hooks/esm/src/core/hooks/useSetTimeout.js.map +1 -1
  18. package/dist/hooks/esm/src/core/hooks/useThemePreference.js +1 -1
  19. package/dist/hooks/esm/src/core/hooks/useThemePreference.js.map +1 -1
  20. package/dist/hooks/esm/src/core/hooks/useToggle.js +1 -1
  21. package/dist/hooks/esm/src/core/hooks/useToggle.js.map +1 -1
  22. package/dist/hooks/esm/src/core/hooks/useToggle2.js +1 -1
  23. package/dist/hooks/esm/src/core/hooks/useToggle2.js.map +1 -1
  24. package/dist/hooks/index.css +358 -358
  25. package/dist/hooks/src/core/hooks/useAnimation.js +1 -1
  26. package/dist/hooks/src/core/hooks/useAnimation.js.map +1 -1
  27. package/dist/hooks/src/core/hooks/useApi.js +1 -1
  28. package/dist/hooks/src/core/hooks/useApi.js.map +1 -1
  29. package/dist/hooks/src/core/hooks/useClassNames.js +1 -1
  30. package/dist/hooks/src/core/hooks/useClassNames.js.map +1 -1
  31. package/dist/hooks/src/core/hooks/useIntersectionObserver.js +1 -1
  32. package/dist/hooks/src/core/hooks/useIntersectionObserver.js.map +1 -1
  33. package/dist/hooks/src/core/hooks/useOutsideClick.js +1 -1
  34. package/dist/hooks/src/core/hooks/useOutsideClick.js.map +1 -1
  35. package/dist/hooks/src/core/hooks/useParseProps.js +1 -1
  36. package/dist/hooks/src/core/hooks/useParseProps.js.map +1 -1
  37. package/dist/hooks/src/core/hooks/useResize.js +1 -1
  38. package/dist/hooks/src/core/hooks/useResize.js.map +1 -1
  39. package/dist/hooks/src/core/hooks/useSetTimeout.js +1 -1
  40. package/dist/hooks/src/core/hooks/useSetTimeout.js.map +1 -1
  41. package/dist/hooks/src/core/hooks/useThemePreference.js +1 -1
  42. package/dist/hooks/src/core/hooks/useThemePreference.js.map +1 -1
  43. package/dist/hooks/src/core/hooks/useToggle.js +1 -1
  44. package/dist/hooks/src/core/hooks/useToggle.js.map +1 -1
  45. package/dist/hooks/src/core/hooks/useToggle2.js +1 -1
  46. package/dist/hooks/src/core/hooks/useToggle2.js.map +1 -1
  47. package/dist/lib/cjs/src/core/hooks/useAnimation.js +1 -1
  48. package/dist/lib/cjs/src/core/hooks/useAnimation.js.map +1 -1
  49. package/dist/lib/cjs/src/core/hooks/useApi.js +1 -1
  50. package/dist/lib/cjs/src/core/hooks/useApi.js.map +1 -1
  51. package/dist/lib/cjs/src/core/hooks/useClassNames.js +1 -1
  52. package/dist/lib/cjs/src/core/hooks/useClassNames.js.map +1 -1
  53. package/dist/lib/cjs/src/core/hooks/useIntersectionObserver.js +1 -1
  54. package/dist/lib/cjs/src/core/hooks/useIntersectionObserver.js.map +1 -1
  55. package/dist/lib/cjs/src/core/hooks/useOutsideClick.js +1 -1
  56. package/dist/lib/cjs/src/core/hooks/useOutsideClick.js.map +1 -1
  57. package/dist/lib/cjs/src/core/hooks/useParseProps.js +1 -1
  58. package/dist/lib/cjs/src/core/hooks/useParseProps.js.map +1 -1
  59. package/dist/lib/cjs/src/core/hooks/useResize.js +1 -1
  60. package/dist/lib/cjs/src/core/hooks/useResize.js.map +1 -1
  61. package/dist/lib/cjs/src/core/hooks/useSetTimeout.js +1 -1
  62. package/dist/lib/cjs/src/core/hooks/useSetTimeout.js.map +1 -1
  63. package/dist/lib/cjs/src/core/hooks/useThemePreference.js +1 -1
  64. package/dist/lib/cjs/src/core/hooks/useThemePreference.js.map +1 -1
  65. package/dist/lib/cjs/src/core/hooks/useToggle.js +1 -1
  66. package/dist/lib/cjs/src/core/hooks/useToggle.js.map +1 -1
  67. package/dist/lib/cjs/src/core/hooks/useToggle2.js +1 -1
  68. package/dist/lib/cjs/src/core/hooks/useToggle2.js.map +1 -1
  69. package/dist/lib/cjs/src/core/ui/components/atoms/button/Button.js +1 -1
  70. package/dist/lib/cjs/src/core/ui/components/atoms/button/Button.js.map +1 -1
  71. package/dist/lib/cjs/src/core/ui/components/atoms/icons.js +1 -1
  72. package/dist/lib/cjs/src/core/ui/components/atoms/icons.js.map +1 -1
  73. package/dist/lib/cjs/src/core/ui/components/atoms/tag/Tag.js +1 -1
  74. package/dist/lib/cjs/src/core/ui/components/atoms/tag/Tag.js.map +1 -1
  75. package/dist/lib/cjs/src/core/ui/components/atoms/text/Headline.js +1 -1
  76. package/dist/lib/cjs/src/core/ui/components/atoms/text/Headline.js.map +1 -1
  77. package/dist/lib/cjs/src/core/ui/components/atoms/text/Link.js +1 -1
  78. package/dist/lib/cjs/src/core/ui/components/atoms/text/Link.js.map +1 -1
  79. package/dist/lib/cjs/src/core/ui/components/atoms/text/Paragraph.js +1 -1
  80. package/dist/lib/cjs/src/core/ui/components/atoms/text/Paragraph.js.map +1 -1
  81. package/dist/lib/cjs/src/core/ui/components/atoms/text/Text.js +1 -1
  82. package/dist/lib/cjs/src/core/ui/components/atoms/text/Text.js.map +1 -1
  83. package/dist/lib/cjs/src/core/ui/components/atoms/text/anchor-link/AnchorLink.js +1 -1
  84. package/dist/lib/cjs/src/core/ui/components/atoms/text/anchor-link/AnchorLink.js.map +1 -1
  85. package/dist/lib/cjs/src/core/ui/components/atoms/textAndContent/TextAndContent.js +1 -1
  86. package/dist/lib/cjs/src/core/ui/components/atoms/textAndContent/TextAndContent.js.map +1 -1
  87. package/dist/lib/cjs/src/core/ui/components/atoms/toggle/Toggle.js +1 -1
  88. package/dist/lib/cjs/src/core/ui/components/atoms/toggle/Toggle.js.map +1 -1
  89. package/dist/lib/cjs/src/core/ui/components/container/CollapsibleContainer.js +1 -1
  90. package/dist/lib/cjs/src/core/ui/components/container/CollapsibleContainer.js.map +1 -1
  91. package/dist/lib/cjs/src/core/ui/components/container/ResizableContainer.js +1 -1
  92. package/dist/lib/cjs/src/core/ui/components/container/ResizableContainer.js.map +1 -1
  93. package/dist/lib/cjs/src/core/ui/components/container/layoutBox/LayoutBox.js +1 -1
  94. package/dist/lib/cjs/src/core/ui/components/container/layoutBox/LayoutBox.js.map +1 -1
  95. package/dist/lib/cjs/src/core/ui/components/container/layoutBox/layoutBox.types.js.map +1 -1
  96. package/dist/lib/cjs/src/core/ui/components/container/lazyComponent/LazyComponent.js +1 -1
  97. package/dist/lib/cjs/src/core/ui/components/container/lazyComponent/LazyComponent.js.map +1 -1
  98. package/dist/lib/cjs/src/core/ui/components/dividers/DividerLine.js +1 -1
  99. package/dist/lib/cjs/src/core/ui/components/dividers/DividerLine.js.map +1 -1
  100. package/dist/lib/cjs/src/core/ui/components/error/ErrorBoundary.js +1 -1
  101. package/dist/lib/cjs/src/core/ui/components/error/ErrorBoundary.js.map +1 -1
  102. package/dist/lib/cjs/src/core/ui/components/field/Field.js +1 -1
  103. package/dist/lib/cjs/src/core/ui/components/field/Field.js.map +1 -1
  104. package/dist/lib/cjs/src/core/ui/components/icon/Icon.js +1 -1
  105. package/dist/lib/cjs/src/core/ui/components/icon/Icon.js.map +1 -1
  106. package/dist/lib/cjs/src/core/ui/components/icon/IconBase.js +1 -1
  107. package/dist/lib/cjs/src/core/ui/components/icon/IconBase.js.map +1 -1
  108. package/dist/lib/cjs/src/core/ui/components/icon/unifyIconUrl.js +1 -1
  109. package/dist/lib/cjs/src/core/ui/components/icon/unifyIconUrl.js.map +1 -1
  110. package/dist/lib/cjs/src/core/ui/components/molecules/layouts/FlowLayout.js +1 -1
  111. package/dist/lib/cjs/src/core/ui/components/molecules/layouts/FlowLayout.js.map +1 -1
  112. package/dist/lib/cjs/src/core/ui/components/molecules/popover/PopoverLite.js +1 -1
  113. package/dist/lib/cjs/src/core/ui/components/molecules/popover/PopoverLite.js.map +1 -1
  114. package/dist/lib/cjs/src/core/ui/components/molecules/popover/Tooltip.js +1 -1
  115. package/dist/lib/cjs/src/core/ui/components/molecules/popover/Tooltip.js.map +1 -1
  116. package/dist/lib/cjs/src/core/ui/components/molecules/popup/Popup.js +1 -1
  117. package/dist/lib/cjs/src/core/ui/components/molecules/popup/Popup.js.map +1 -1
  118. package/dist/lib/cjs/src/core/utils/appState/peregrineMQ/usePeregrineMQ.react.js +1 -1
  119. package/dist/lib/cjs/src/core/utils/appState/peregrineMQ/usePeregrineMQ.react.js.map +1 -1
  120. package/dist/lib/cjs/src/core/utils/appState/store/useStore.react.js +1 -1
  121. package/dist/lib/cjs/src/core/utils/appState/store/useStore.react.js.map +1 -1
  122. package/dist/lib/cjs/src/core/utils/date.js +1 -1
  123. package/dist/lib/cjs/src/core/utils/date.js.map +1 -1
  124. package/dist/lib/cjs/src/core/utils/helpers/date.js +1 -1
  125. package/dist/lib/cjs/src/core/utils/helpers/date.js.map +1 -1
  126. package/dist/lib/cjs/src/core/utils/helpers/other.js +1 -1
  127. package/dist/lib/cjs/src/core/utils/helpers/other.js.map +1 -1
  128. package/dist/lib/cjs/src/core/utils/helpers/text.js +1 -1
  129. package/dist/lib/cjs/src/core/utils/helpers/text.js.map +1 -1
  130. package/dist/lib/cjs/src/core/utils/helpers/textValueOperations.js +1 -1
  131. package/dist/lib/cjs/src/core/utils/helpers/textValueOperations.js.map +1 -1
  132. package/dist/lib/cjs/src/index.js +1 -1
  133. package/dist/lib/esm/src/core/hooks/useAnimation.js +1 -1
  134. package/dist/lib/esm/src/core/hooks/useAnimation.js.map +1 -1
  135. package/dist/lib/esm/src/core/hooks/useApi.js +1 -1
  136. package/dist/lib/esm/src/core/hooks/useApi.js.map +1 -1
  137. package/dist/lib/esm/src/core/hooks/useClassNames.js +1 -1
  138. package/dist/lib/esm/src/core/hooks/useClassNames.js.map +1 -1
  139. package/dist/lib/esm/src/core/hooks/useIntersectionObserver.js +1 -1
  140. package/dist/lib/esm/src/core/hooks/useIntersectionObserver.js.map +1 -1
  141. package/dist/lib/esm/src/core/hooks/useOutsideClick.js +1 -1
  142. package/dist/lib/esm/src/core/hooks/useOutsideClick.js.map +1 -1
  143. package/dist/lib/esm/src/core/hooks/useParseProps.js +1 -1
  144. package/dist/lib/esm/src/core/hooks/useParseProps.js.map +1 -1
  145. package/dist/lib/esm/src/core/hooks/useResize.js +1 -1
  146. package/dist/lib/esm/src/core/hooks/useResize.js.map +1 -1
  147. package/dist/lib/esm/src/core/hooks/useSetTimeout.js +1 -1
  148. package/dist/lib/esm/src/core/hooks/useSetTimeout.js.map +1 -1
  149. package/dist/lib/esm/src/core/hooks/useThemePreference.js +1 -1
  150. package/dist/lib/esm/src/core/hooks/useThemePreference.js.map +1 -1
  151. package/dist/lib/esm/src/core/hooks/useToggle.js +1 -1
  152. package/dist/lib/esm/src/core/hooks/useToggle.js.map +1 -1
  153. package/dist/lib/esm/src/core/hooks/useToggle2.js +1 -1
  154. package/dist/lib/esm/src/core/hooks/useToggle2.js.map +1 -1
  155. package/dist/lib/esm/src/core/ui/components/atoms/button/Button.js +1 -1
  156. package/dist/lib/esm/src/core/ui/components/atoms/button/Button.js.map +1 -1
  157. package/dist/lib/esm/src/core/ui/components/atoms/icons.js +1 -1
  158. package/dist/lib/esm/src/core/ui/components/atoms/icons.js.map +1 -1
  159. package/dist/lib/esm/src/core/ui/components/atoms/tag/Tag.js +1 -1
  160. package/dist/lib/esm/src/core/ui/components/atoms/tag/Tag.js.map +1 -1
  161. package/dist/lib/esm/src/core/ui/components/atoms/text/Headline.js +1 -1
  162. package/dist/lib/esm/src/core/ui/components/atoms/text/Headline.js.map +1 -1
  163. package/dist/lib/esm/src/core/ui/components/atoms/text/Link.js +1 -1
  164. package/dist/lib/esm/src/core/ui/components/atoms/text/Link.js.map +1 -1
  165. package/dist/lib/esm/src/core/ui/components/atoms/text/Paragraph.js +1 -1
  166. package/dist/lib/esm/src/core/ui/components/atoms/text/Paragraph.js.map +1 -1
  167. package/dist/lib/esm/src/core/ui/components/atoms/text/Text.js +1 -1
  168. package/dist/lib/esm/src/core/ui/components/atoms/text/Text.js.map +1 -1
  169. package/dist/lib/esm/src/core/ui/components/atoms/text/anchor-link/AnchorLink.js +1 -1
  170. package/dist/lib/esm/src/core/ui/components/atoms/text/anchor-link/AnchorLink.js.map +1 -1
  171. package/dist/lib/esm/src/core/ui/components/atoms/textAndContent/TextAndContent.js +1 -1
  172. package/dist/lib/esm/src/core/ui/components/atoms/textAndContent/TextAndContent.js.map +1 -1
  173. package/dist/lib/esm/src/core/ui/components/atoms/toggle/Toggle.js +1 -1
  174. package/dist/lib/esm/src/core/ui/components/atoms/toggle/Toggle.js.map +1 -1
  175. package/dist/lib/esm/src/core/ui/components/container/CollapsibleContainer.js +1 -1
  176. package/dist/lib/esm/src/core/ui/components/container/CollapsibleContainer.js.map +1 -1
  177. package/dist/lib/esm/src/core/ui/components/container/ResizableContainer.js +1 -1
  178. package/dist/lib/esm/src/core/ui/components/container/ResizableContainer.js.map +1 -1
  179. package/dist/lib/esm/src/core/ui/components/container/layoutBox/LayoutBox.js +1 -1
  180. package/dist/lib/esm/src/core/ui/components/container/layoutBox/LayoutBox.js.map +1 -1
  181. package/dist/lib/esm/src/core/ui/components/container/layoutBox/layoutBox.types.js.map +1 -1
  182. package/dist/lib/esm/src/core/ui/components/container/lazyComponent/LazyComponent.js +1 -1
  183. package/dist/lib/esm/src/core/ui/components/container/lazyComponent/LazyComponent.js.map +1 -1
  184. package/dist/lib/esm/src/core/ui/components/dividers/DividerLine.js +1 -1
  185. package/dist/lib/esm/src/core/ui/components/dividers/DividerLine.js.map +1 -1
  186. package/dist/lib/esm/src/core/ui/components/error/ErrorBoundary.js +1 -1
  187. package/dist/lib/esm/src/core/ui/components/error/ErrorBoundary.js.map +1 -1
  188. package/dist/lib/esm/src/core/ui/components/field/Field.js +1 -1
  189. package/dist/lib/esm/src/core/ui/components/field/Field.js.map +1 -1
  190. package/dist/lib/esm/src/core/ui/components/icon/Icon.js +1 -1
  191. package/dist/lib/esm/src/core/ui/components/icon/Icon.js.map +1 -1
  192. package/dist/lib/esm/src/core/ui/components/icon/IconBase.js +1 -1
  193. package/dist/lib/esm/src/core/ui/components/icon/IconBase.js.map +1 -1
  194. package/dist/lib/esm/src/core/ui/components/icon/unifyIconUrl.js +1 -1
  195. package/dist/lib/esm/src/core/ui/components/icon/unifyIconUrl.js.map +1 -1
  196. package/dist/lib/esm/src/core/ui/components/molecules/layouts/FlowLayout.js +1 -1
  197. package/dist/lib/esm/src/core/ui/components/molecules/layouts/FlowLayout.js.map +1 -1
  198. package/dist/lib/esm/src/core/ui/components/molecules/popover/PopoverLite.js +1 -1
  199. package/dist/lib/esm/src/core/ui/components/molecules/popover/PopoverLite.js.map +1 -1
  200. package/dist/lib/esm/src/core/ui/components/molecules/popover/Tooltip.js +1 -1
  201. package/dist/lib/esm/src/core/ui/components/molecules/popover/Tooltip.js.map +1 -1
  202. package/dist/lib/esm/src/core/ui/components/molecules/popup/Popup.js +1 -1
  203. package/dist/lib/esm/src/core/ui/components/molecules/popup/Popup.js.map +1 -1
  204. package/dist/lib/esm/src/core/utils/appState/peregrineMQ/usePeregrineMQ.react.js +1 -1
  205. package/dist/lib/esm/src/core/utils/appState/peregrineMQ/usePeregrineMQ.react.js.map +1 -1
  206. package/dist/lib/esm/src/core/utils/appState/store/useStore.react.js +1 -1
  207. package/dist/lib/esm/src/core/utils/appState/store/useStore.react.js.map +1 -1
  208. package/dist/lib/esm/src/core/utils/date.js +1 -1
  209. package/dist/lib/esm/src/core/utils/date.js.map +1 -1
  210. package/dist/lib/esm/src/core/utils/helpers/date.js +1 -1
  211. package/dist/lib/esm/src/core/utils/helpers/date.js.map +1 -1
  212. package/dist/lib/esm/src/core/utils/helpers/other.js +1 -1
  213. package/dist/lib/esm/src/core/utils/helpers/other.js.map +1 -1
  214. package/dist/lib/esm/src/core/utils/helpers/text.js +1 -1
  215. package/dist/lib/esm/src/core/utils/helpers/text.js.map +1 -1
  216. package/dist/lib/esm/src/core/utils/helpers/textValueOperations.js +1 -1
  217. package/dist/lib/esm/src/core/utils/helpers/textValueOperations.js.map +1 -1
  218. package/dist/lib/esm/src/index.js +1 -1
  219. package/dist/lib/tsconfig.tsbuildinfo +1 -1
  220. package/dist/types/src/core/ui/components/container/layoutBox/LayoutBox.d.ts +1 -0
  221. package/dist/types/src/core/ui/components/container/layoutBox/LayoutBox.d.ts.map +1 -1
  222. package/dist/types/src/core/ui/components/container/layoutBox/layoutBox.types.d.ts +19 -7
  223. package/dist/types/src/core/ui/components/container/layoutBox/layoutBox.types.d.ts.map +1 -1
  224. package/dist/ui/_virtual/_commonjsHelpers.js +1 -1
  225. package/dist/ui/esm/_virtual/_commonjsHelpers.js +1 -1
  226. package/dist/ui/esm/src/core/hooks/useClassNames.js +1 -1
  227. package/dist/ui/esm/src/core/hooks/useClassNames.js.map +1 -1
  228. package/dist/ui/esm/src/core/hooks/useOutsideClick.js +1 -1
  229. package/dist/ui/esm/src/core/hooks/useOutsideClick.js.map +1 -1
  230. package/dist/ui/esm/src/core/hooks/useParseProps.js +1 -1
  231. package/dist/ui/esm/src/core/hooks/useParseProps.js.map +1 -1
  232. package/dist/ui/esm/src/core/hooks/useResize.js +1 -1
  233. package/dist/ui/esm/src/core/hooks/useResize.js.map +1 -1
  234. package/dist/ui/esm/src/core/ui/components/atoms/button/Button.js +1 -1
  235. package/dist/ui/esm/src/core/ui/components/atoms/button/Button.js.map +1 -1
  236. package/dist/ui/esm/src/core/ui/components/atoms/icons.js +1 -1
  237. package/dist/ui/esm/src/core/ui/components/atoms/icons.js.map +1 -1
  238. package/dist/ui/esm/src/core/ui/components/atoms/tag/Tag.js +1 -1
  239. package/dist/ui/esm/src/core/ui/components/atoms/tag/Tag.js.map +1 -1
  240. package/dist/ui/esm/src/core/ui/components/atoms/text/Headline.js +1 -1
  241. package/dist/ui/esm/src/core/ui/components/atoms/text/Headline.js.map +1 -1
  242. package/dist/ui/esm/src/core/ui/components/atoms/text/Link.js +1 -1
  243. package/dist/ui/esm/src/core/ui/components/atoms/text/Link.js.map +1 -1
  244. package/dist/ui/esm/src/core/ui/components/atoms/text/Paragraph.js +1 -1
  245. package/dist/ui/esm/src/core/ui/components/atoms/text/Paragraph.js.map +1 -1
  246. package/dist/ui/esm/src/core/ui/components/atoms/text/Text.js +1 -1
  247. package/dist/ui/esm/src/core/ui/components/atoms/text/Text.js.map +1 -1
  248. package/dist/ui/esm/src/core/ui/components/atoms/text/anchor-link/AnchorLink.js +1 -1
  249. package/dist/ui/esm/src/core/ui/components/atoms/text/anchor-link/AnchorLink.js.map +1 -1
  250. package/dist/ui/esm/src/core/ui/components/atoms/textAndContent/TextAndContent.js +1 -1
  251. package/dist/ui/esm/src/core/ui/components/atoms/textAndContent/TextAndContent.js.map +1 -1
  252. package/dist/ui/esm/src/core/ui/components/atoms/toggle/Toggle.js +1 -1
  253. package/dist/ui/esm/src/core/ui/components/atoms/toggle/Toggle.js.map +1 -1
  254. package/dist/ui/esm/src/core/ui/components/container/CollapsibleContainer.js +1 -1
  255. package/dist/ui/esm/src/core/ui/components/container/CollapsibleContainer.js.map +1 -1
  256. package/dist/ui/esm/src/core/ui/components/container/ResizableContainer.js +1 -1
  257. package/dist/ui/esm/src/core/ui/components/container/ResizableContainer.js.map +1 -1
  258. package/dist/ui/esm/src/core/ui/components/container/layoutBox/LayoutBox.js +1 -1
  259. package/dist/ui/esm/src/core/ui/components/container/layoutBox/LayoutBox.js.map +1 -1
  260. package/dist/ui/esm/src/core/ui/components/container/layoutBox/layoutBox.types.js.map +1 -1
  261. package/dist/ui/esm/src/core/ui/components/container/lazyComponent/LazyComponent.js +1 -1
  262. package/dist/ui/esm/src/core/ui/components/container/lazyComponent/LazyComponent.js.map +1 -1
  263. package/dist/ui/esm/src/core/ui/components/dividers/DividerLine.js +1 -1
  264. package/dist/ui/esm/src/core/ui/components/dividers/DividerLine.js.map +1 -1
  265. package/dist/ui/esm/src/core/ui/components/error/ErrorBoundary.js +1 -1
  266. package/dist/ui/esm/src/core/ui/components/error/ErrorBoundary.js.map +1 -1
  267. package/dist/ui/esm/src/core/ui/components/field/Field.js +1 -1
  268. package/dist/ui/esm/src/core/ui/components/field/Field.js.map +1 -1
  269. package/dist/ui/esm/src/core/ui/components/icon/Icon.js +1 -1
  270. package/dist/ui/esm/src/core/ui/components/icon/Icon.js.map +1 -1
  271. package/dist/ui/esm/src/core/ui/components/icon/IconBase.js +1 -1
  272. package/dist/ui/esm/src/core/ui/components/icon/IconBase.js.map +1 -1
  273. package/dist/ui/esm/src/core/ui/components/icon/unifyIconUrl.js +1 -1
  274. package/dist/ui/esm/src/core/ui/components/icon/unifyIconUrl.js.map +1 -1
  275. package/dist/ui/esm/src/core/ui/components/molecules/layouts/FlowLayout.js +1 -1
  276. package/dist/ui/esm/src/core/ui/components/molecules/layouts/FlowLayout.js.map +1 -1
  277. package/dist/ui/esm/src/core/ui/components/molecules/popover/PopoverLite.js +1 -1
  278. package/dist/ui/esm/src/core/ui/components/molecules/popover/PopoverLite.js.map +1 -1
  279. package/dist/ui/esm/src/core/ui/components/molecules/popover/Tooltip.js +1 -1
  280. package/dist/ui/esm/src/core/ui/components/molecules/popover/Tooltip.js.map +1 -1
  281. package/dist/ui/esm/src/core/ui/components/molecules/popup/Popup.js +1 -1
  282. package/dist/ui/esm/src/core/ui/components/molecules/popup/Popup.js.map +1 -1
  283. package/dist/ui/esm/src/core/ui/index.js +1 -1
  284. package/dist/ui/esm/src/core/utils/helpers/text.js +1 -1
  285. package/dist/ui/esm/src/core/utils/helpers/text.js.map +1 -1
  286. package/dist/ui/src/core/hooks/useClassNames.js +1 -1
  287. package/dist/ui/src/core/hooks/useClassNames.js.map +1 -1
  288. package/dist/ui/src/core/hooks/useOutsideClick.js +1 -1
  289. package/dist/ui/src/core/hooks/useOutsideClick.js.map +1 -1
  290. package/dist/ui/src/core/hooks/useParseProps.js +1 -1
  291. package/dist/ui/src/core/hooks/useParseProps.js.map +1 -1
  292. package/dist/ui/src/core/hooks/useResize.js +1 -1
  293. package/dist/ui/src/core/hooks/useResize.js.map +1 -1
  294. package/dist/ui/src/core/ui/components/atoms/button/Button.js +1 -1
  295. package/dist/ui/src/core/ui/components/atoms/button/Button.js.map +1 -1
  296. package/dist/ui/src/core/ui/components/atoms/icons.js +1 -1
  297. package/dist/ui/src/core/ui/components/atoms/icons.js.map +1 -1
  298. package/dist/ui/src/core/ui/components/atoms/tag/Tag.js +1 -1
  299. package/dist/ui/src/core/ui/components/atoms/tag/Tag.js.map +1 -1
  300. package/dist/ui/src/core/ui/components/atoms/text/Headline.js +1 -1
  301. package/dist/ui/src/core/ui/components/atoms/text/Headline.js.map +1 -1
  302. package/dist/ui/src/core/ui/components/atoms/text/Link.js +1 -1
  303. package/dist/ui/src/core/ui/components/atoms/text/Link.js.map +1 -1
  304. package/dist/ui/src/core/ui/components/atoms/text/Paragraph.js +1 -1
  305. package/dist/ui/src/core/ui/components/atoms/text/Paragraph.js.map +1 -1
  306. package/dist/ui/src/core/ui/components/atoms/text/Text.js +1 -1
  307. package/dist/ui/src/core/ui/components/atoms/text/Text.js.map +1 -1
  308. package/dist/ui/src/core/ui/components/atoms/text/anchor-link/AnchorLink.js +1 -1
  309. package/dist/ui/src/core/ui/components/atoms/text/anchor-link/AnchorLink.js.map +1 -1
  310. package/dist/ui/src/core/ui/components/atoms/textAndContent/TextAndContent.js +1 -1
  311. package/dist/ui/src/core/ui/components/atoms/textAndContent/TextAndContent.js.map +1 -1
  312. package/dist/ui/src/core/ui/components/atoms/toggle/Toggle.js +1 -1
  313. package/dist/ui/src/core/ui/components/atoms/toggle/Toggle.js.map +1 -1
  314. package/dist/ui/src/core/ui/components/container/CollapsibleContainer.js +1 -1
  315. package/dist/ui/src/core/ui/components/container/CollapsibleContainer.js.map +1 -1
  316. package/dist/ui/src/core/ui/components/container/ResizableContainer.js +1 -1
  317. package/dist/ui/src/core/ui/components/container/ResizableContainer.js.map +1 -1
  318. package/dist/ui/src/core/ui/components/container/layoutBox/LayoutBox.js +1 -1
  319. package/dist/ui/src/core/ui/components/container/layoutBox/LayoutBox.js.map +1 -1
  320. package/dist/ui/src/core/ui/components/container/layoutBox/layoutBox.types.js.map +1 -1
  321. package/dist/ui/src/core/ui/components/container/lazyComponent/LazyComponent.js +1 -1
  322. package/dist/ui/src/core/ui/components/container/lazyComponent/LazyComponent.js.map +1 -1
  323. package/dist/ui/src/core/ui/components/dividers/DividerLine.js +1 -1
  324. package/dist/ui/src/core/ui/components/dividers/DividerLine.js.map +1 -1
  325. package/dist/ui/src/core/ui/components/error/ErrorBoundary.js +1 -1
  326. package/dist/ui/src/core/ui/components/error/ErrorBoundary.js.map +1 -1
  327. package/dist/ui/src/core/ui/components/field/Field.js +1 -1
  328. package/dist/ui/src/core/ui/components/field/Field.js.map +1 -1
  329. package/dist/ui/src/core/ui/components/icon/Icon.js +1 -1
  330. package/dist/ui/src/core/ui/components/icon/Icon.js.map +1 -1
  331. package/dist/ui/src/core/ui/components/icon/IconBase.js +1 -1
  332. package/dist/ui/src/core/ui/components/icon/IconBase.js.map +1 -1
  333. package/dist/ui/src/core/ui/components/icon/unifyIconUrl.js +1 -1
  334. package/dist/ui/src/core/ui/components/icon/unifyIconUrl.js.map +1 -1
  335. package/dist/ui/src/core/ui/components/molecules/layouts/FlowLayout.js +1 -1
  336. package/dist/ui/src/core/ui/components/molecules/layouts/FlowLayout.js.map +1 -1
  337. package/dist/ui/src/core/ui/components/molecules/popover/PopoverLite.js +1 -1
  338. package/dist/ui/src/core/ui/components/molecules/popover/PopoverLite.js.map +1 -1
  339. package/dist/ui/src/core/ui/components/molecules/popover/Tooltip.js +1 -1
  340. package/dist/ui/src/core/ui/components/molecules/popover/Tooltip.js.map +1 -1
  341. package/dist/ui/src/core/ui/components/molecules/popup/Popup.js +1 -1
  342. package/dist/ui/src/core/ui/components/molecules/popup/Popup.js.map +1 -1
  343. package/dist/ui/src/core/ui/index.js +1 -1
  344. package/dist/ui/src/core/utils/helpers/text.js +1 -1
  345. package/dist/ui/src/core/utils/helpers/text.js.map +1 -1
  346. package/dist/utils/esm/index.css +358 -358
  347. package/dist/utils/esm/src/core/utils/appState/peregrineMQ/usePeregrineMQ.react.js +1 -1
  348. package/dist/utils/esm/src/core/utils/appState/peregrineMQ/usePeregrineMQ.react.js.map +1 -1
  349. package/dist/utils/esm/src/core/utils/appState/store/useStore.react.js +1 -1
  350. package/dist/utils/esm/src/core/utils/appState/store/useStore.react.js.map +1 -1
  351. package/dist/utils/esm/src/core/utils/date.js +1 -1
  352. package/dist/utils/esm/src/core/utils/date.js.map +1 -1
  353. package/dist/utils/esm/src/core/utils/helpers/date.js +1 -1
  354. package/dist/utils/esm/src/core/utils/helpers/date.js.map +1 -1
  355. package/dist/utils/esm/src/core/utils/helpers/other.js +1 -1
  356. package/dist/utils/esm/src/core/utils/helpers/other.js.map +1 -1
  357. package/dist/utils/esm/src/core/utils/helpers/text.js +1 -1
  358. package/dist/utils/esm/src/core/utils/helpers/text.js.map +1 -1
  359. package/dist/utils/esm/src/core/utils/helpers/textValueOperations.js +1 -1
  360. package/dist/utils/esm/src/core/utils/helpers/textValueOperations.js.map +1 -1
  361. package/dist/utils/index.css +358 -358
  362. package/dist/utils/src/core/utils/appState/peregrineMQ/usePeregrineMQ.react.js +1 -1
  363. package/dist/utils/src/core/utils/appState/peregrineMQ/usePeregrineMQ.react.js.map +1 -1
  364. package/dist/utils/src/core/utils/appState/store/useStore.react.js +1 -1
  365. package/dist/utils/src/core/utils/appState/store/useStore.react.js.map +1 -1
  366. package/dist/utils/src/core/utils/date.js +1 -1
  367. package/dist/utils/src/core/utils/date.js.map +1 -1
  368. package/dist/utils/src/core/utils/helpers/date.js +1 -1
  369. package/dist/utils/src/core/utils/helpers/date.js.map +1 -1
  370. package/dist/utils/src/core/utils/helpers/other.js +1 -1
  371. package/dist/utils/src/core/utils/helpers/other.js.map +1 -1
  372. package/dist/utils/src/core/utils/helpers/text.js +1 -1
  373. package/dist/utils/src/core/utils/helpers/text.js.map +1 -1
  374. package/dist/utils/src/core/utils/helpers/textValueOperations.js +1 -1
  375. package/dist/utils/src/core/utils/helpers/textValueOperations.js.map +1 -1
  376. package/package.json +1 -1
  377. package/dist/hooks/_virtual/index.js +0 -2
  378. package/dist/hooks/_virtual/index.js.map +0 -1
  379. package/dist/hooks/_virtual/react.development.js +0 -2
  380. package/dist/hooks/_virtual/react.development.js.map +0 -1
  381. package/dist/hooks/_virtual/react.production.min.js +0 -2
  382. package/dist/hooks/_virtual/react.production.min.js.map +0 -1
  383. package/dist/hooks/esm/_virtual/index.js +0 -2
  384. package/dist/hooks/esm/_virtual/index.js.map +0 -1
  385. package/dist/hooks/esm/_virtual/react.development.js +0 -2
  386. package/dist/hooks/esm/_virtual/react.development.js.map +0 -1
  387. package/dist/hooks/esm/_virtual/react.production.min.js +0 -2
  388. package/dist/hooks/esm/_virtual/react.production.min.js.map +0 -1
  389. package/dist/hooks/esm/node_modules/react/cjs/react.development.js +0 -11
  390. package/dist/hooks/esm/node_modules/react/cjs/react.development.js.map +0 -1
  391. package/dist/hooks/esm/node_modules/react/cjs/react.production.min.js +0 -11
  392. package/dist/hooks/esm/node_modules/react/cjs/react.production.min.js.map +0 -1
  393. package/dist/hooks/esm/node_modules/react/index.js +0 -2
  394. package/dist/hooks/esm/node_modules/react/index.js.map +0 -1
  395. package/dist/hooks/node_modules/react/cjs/react.development.js +0 -11
  396. package/dist/hooks/node_modules/react/cjs/react.development.js.map +0 -1
  397. package/dist/hooks/node_modules/react/cjs/react.production.min.js +0 -11
  398. package/dist/hooks/node_modules/react/cjs/react.production.min.js.map +0 -1
  399. package/dist/hooks/node_modules/react/index.js +0 -2
  400. package/dist/hooks/node_modules/react/index.js.map +0 -1
  401. package/dist/lib/cjs/_virtual/Parser.js +0 -2
  402. package/dist/lib/cjs/_virtual/Parser.js.map +0 -1
  403. package/dist/lib/cjs/_virtual/Tokenizer.js +0 -2
  404. package/dist/lib/cjs/_virtual/Tokenizer.js.map +0 -1
  405. package/dist/lib/cjs/_virtual/array-set.js +0 -2
  406. package/dist/lib/cjs/_virtual/array-set.js.map +0 -1
  407. package/dist/lib/cjs/_virtual/base64-vlq.js +0 -2
  408. package/dist/lib/cjs/_virtual/base64-vlq.js.map +0 -1
  409. package/dist/lib/cjs/_virtual/base64.js +0 -2
  410. package/dist/lib/cjs/_virtual/base64.js.map +0 -1
  411. package/dist/lib/cjs/_virtual/binary-search.js +0 -2
  412. package/dist/lib/cjs/_virtual/binary-search.js.map +0 -1
  413. package/dist/lib/cjs/_virtual/dayjs.min.js +0 -2
  414. package/dist/lib/cjs/_virtual/dayjs.min.js.map +0 -1
  415. package/dist/lib/cjs/_virtual/decode-data-html.js +0 -2
  416. package/dist/lib/cjs/_virtual/decode-data-html.js.map +0 -1
  417. package/dist/lib/cjs/_virtual/decode-data-xml.js +0 -2
  418. package/dist/lib/cjs/_virtual/decode-data-xml.js.map +0 -1
  419. package/dist/lib/cjs/_virtual/decode.js +0 -2
  420. package/dist/lib/cjs/_virtual/decode.js.map +0 -1
  421. package/dist/lib/cjs/_virtual/decode_codepoint.js +0 -2
  422. package/dist/lib/cjs/_virtual/decode_codepoint.js.map +0 -1
  423. package/dist/lib/cjs/_virtual/encode-html.js +0 -2
  424. package/dist/lib/cjs/_virtual/encode-html.js.map +0 -1
  425. package/dist/lib/cjs/_virtual/encode.js +0 -2
  426. package/dist/lib/cjs/_virtual/encode.js.map +0 -1
  427. package/dist/lib/cjs/_virtual/escape.js +0 -2
  428. package/dist/lib/cjs/_virtual/escape.js.map +0 -1
  429. package/dist/lib/cjs/_virtual/feeds.js +0 -2
  430. package/dist/lib/cjs/_virtual/feeds.js.map +0 -1
  431. package/dist/lib/cjs/_virtual/foreignNames.js +0 -2
  432. package/dist/lib/cjs/_virtual/foreignNames.js.map +0 -1
  433. package/dist/lib/cjs/_virtual/helpers.js +0 -2
  434. package/dist/lib/cjs/_virtual/helpers.js.map +0 -1
  435. package/dist/lib/cjs/_virtual/index.js +0 -2
  436. package/dist/lib/cjs/_virtual/index.js.map +0 -1
  437. package/dist/lib/cjs/_virtual/index2.js +0 -2
  438. package/dist/lib/cjs/_virtual/index2.js.map +0 -1
  439. package/dist/lib/cjs/_virtual/index3.js +0 -2
  440. package/dist/lib/cjs/_virtual/index3.js.map +0 -1
  441. package/dist/lib/cjs/_virtual/index4.js +0 -2
  442. package/dist/lib/cjs/_virtual/index4.js.map +0 -1
  443. package/dist/lib/cjs/_virtual/index5.js +0 -2
  444. package/dist/lib/cjs/_virtual/index5.js.map +0 -1
  445. package/dist/lib/cjs/_virtual/index6.js +0 -2
  446. package/dist/lib/cjs/_virtual/index6.js.map +0 -1
  447. package/dist/lib/cjs/_virtual/index7.js +0 -2
  448. package/dist/lib/cjs/_virtual/index7.js.map +0 -1
  449. package/dist/lib/cjs/_virtual/index8.js +0 -2
  450. package/dist/lib/cjs/_virtual/index8.js.map +0 -1
  451. package/dist/lib/cjs/_virtual/is-plain-object.js +0 -2
  452. package/dist/lib/cjs/_virtual/is-plain-object.js.map +0 -1
  453. package/dist/lib/cjs/_virtual/legacy.js +0 -2
  454. package/dist/lib/cjs/_virtual/legacy.js.map +0 -1
  455. package/dist/lib/cjs/_virtual/manipulation.js +0 -2
  456. package/dist/lib/cjs/_virtual/manipulation.js.map +0 -1
  457. package/dist/lib/cjs/_virtual/mapping-list.js +0 -2
  458. package/dist/lib/cjs/_virtual/mapping-list.js.map +0 -1
  459. package/dist/lib/cjs/_virtual/node.js +0 -2
  460. package/dist/lib/cjs/_virtual/node.js.map +0 -1
  461. package/dist/lib/cjs/_virtual/node2.js +0 -2
  462. package/dist/lib/cjs/_virtual/node2.js.map +0 -1
  463. package/dist/lib/cjs/_virtual/parse-srcset.js +0 -2
  464. package/dist/lib/cjs/_virtual/parse-srcset.js.map +0 -1
  465. package/dist/lib/cjs/_virtual/picocolors.js +0 -2
  466. package/dist/lib/cjs/_virtual/picocolors.js.map +0 -1
  467. package/dist/lib/cjs/_virtual/querying.js +0 -2
  468. package/dist/lib/cjs/_virtual/querying.js.map +0 -1
  469. package/dist/lib/cjs/_virtual/quick-sort.js +0 -2
  470. package/dist/lib/cjs/_virtual/quick-sort.js.map +0 -1
  471. package/dist/lib/cjs/_virtual/react.development.js +0 -2
  472. package/dist/lib/cjs/_virtual/react.development.js.map +0 -1
  473. package/dist/lib/cjs/_virtual/react.production.min.js +0 -2
  474. package/dist/lib/cjs/_virtual/react.production.min.js.map +0 -1
  475. package/dist/lib/cjs/_virtual/source-map-consumer.js +0 -2
  476. package/dist/lib/cjs/_virtual/source-map-consumer.js.map +0 -1
  477. package/dist/lib/cjs/_virtual/source-map-generator.js +0 -2
  478. package/dist/lib/cjs/_virtual/source-map-generator.js.map +0 -1
  479. package/dist/lib/cjs/_virtual/source-map.js +0 -2
  480. package/dist/lib/cjs/_virtual/source-map.js.map +0 -1
  481. package/dist/lib/cjs/_virtual/source-node.js +0 -2
  482. package/dist/lib/cjs/_virtual/source-node.js.map +0 -1
  483. package/dist/lib/cjs/_virtual/stringify.js +0 -2
  484. package/dist/lib/cjs/_virtual/stringify.js.map +0 -1
  485. package/dist/lib/cjs/_virtual/symbols.js +0 -2
  486. package/dist/lib/cjs/_virtual/symbols.js.map +0 -1
  487. package/dist/lib/cjs/_virtual/traversal.js +0 -2
  488. package/dist/lib/cjs/_virtual/traversal.js.map +0 -1
  489. package/dist/lib/cjs/_virtual/util.js +0 -2
  490. package/dist/lib/cjs/_virtual/util.js.map +0 -1
  491. package/dist/lib/cjs/node_modules/dayjs/dayjs.min.js +0 -2
  492. package/dist/lib/cjs/node_modules/dayjs/dayjs.min.js.map +0 -1
  493. package/dist/lib/cjs/node_modules/deepmerge/dist/cjs.js +0 -2
  494. package/dist/lib/cjs/node_modules/deepmerge/dist/cjs.js.map +0 -1
  495. package/dist/lib/cjs/node_modules/dom-serializer/lib/foreignNames.js +0 -2
  496. package/dist/lib/cjs/node_modules/dom-serializer/lib/foreignNames.js.map +0 -1
  497. package/dist/lib/cjs/node_modules/dom-serializer/lib/index.js +0 -2
  498. package/dist/lib/cjs/node_modules/dom-serializer/lib/index.js.map +0 -1
  499. package/dist/lib/cjs/node_modules/domelementtype/lib/index.js +0 -2
  500. package/dist/lib/cjs/node_modules/domelementtype/lib/index.js.map +0 -1
  501. package/dist/lib/cjs/node_modules/domutils/lib/feeds.js +0 -2
  502. package/dist/lib/cjs/node_modules/domutils/lib/feeds.js.map +0 -1
  503. package/dist/lib/cjs/node_modules/domutils/lib/helpers.js +0 -2
  504. package/dist/lib/cjs/node_modules/domutils/lib/helpers.js.map +0 -1
  505. package/dist/lib/cjs/node_modules/domutils/lib/index.js +0 -2
  506. package/dist/lib/cjs/node_modules/domutils/lib/index.js.map +0 -1
  507. package/dist/lib/cjs/node_modules/domutils/lib/legacy.js +0 -2
  508. package/dist/lib/cjs/node_modules/domutils/lib/legacy.js.map +0 -1
  509. package/dist/lib/cjs/node_modules/domutils/lib/manipulation.js +0 -2
  510. package/dist/lib/cjs/node_modules/domutils/lib/manipulation.js.map +0 -1
  511. package/dist/lib/cjs/node_modules/domutils/lib/querying.js +0 -2
  512. package/dist/lib/cjs/node_modules/domutils/lib/querying.js.map +0 -1
  513. package/dist/lib/cjs/node_modules/domutils/lib/stringify.js +0 -2
  514. package/dist/lib/cjs/node_modules/domutils/lib/stringify.js.map +0 -1
  515. package/dist/lib/cjs/node_modules/domutils/lib/traversal.js +0 -2
  516. package/dist/lib/cjs/node_modules/domutils/lib/traversal.js.map +0 -1
  517. package/dist/lib/cjs/node_modules/domutils/node_modules/domhandler/lib/index.js +0 -2
  518. package/dist/lib/cjs/node_modules/domutils/node_modules/domhandler/lib/index.js.map +0 -1
  519. package/dist/lib/cjs/node_modules/domutils/node_modules/domhandler/lib/node.js +0 -2
  520. package/dist/lib/cjs/node_modules/domutils/node_modules/domhandler/lib/node.js.map +0 -1
  521. package/dist/lib/cjs/node_modules/entities/lib/decode.js +0 -2
  522. package/dist/lib/cjs/node_modules/entities/lib/decode.js.map +0 -1
  523. package/dist/lib/cjs/node_modules/entities/lib/decode_codepoint.js +0 -2
  524. package/dist/lib/cjs/node_modules/entities/lib/decode_codepoint.js.map +0 -1
  525. package/dist/lib/cjs/node_modules/entities/lib/encode.js +0 -2
  526. package/dist/lib/cjs/node_modules/entities/lib/encode.js.map +0 -1
  527. package/dist/lib/cjs/node_modules/entities/lib/escape.js +0 -2
  528. package/dist/lib/cjs/node_modules/entities/lib/escape.js.map +0 -1
  529. package/dist/lib/cjs/node_modules/entities/lib/generated/decode-data-html.js +0 -2
  530. package/dist/lib/cjs/node_modules/entities/lib/generated/decode-data-html.js.map +0 -1
  531. package/dist/lib/cjs/node_modules/entities/lib/generated/decode-data-xml.js +0 -2
  532. package/dist/lib/cjs/node_modules/entities/lib/generated/decode-data-xml.js.map +0 -1
  533. package/dist/lib/cjs/node_modules/entities/lib/generated/encode-html.js +0 -2
  534. package/dist/lib/cjs/node_modules/entities/lib/generated/encode-html.js.map +0 -1
  535. package/dist/lib/cjs/node_modules/entities/lib/index.js +0 -2
  536. package/dist/lib/cjs/node_modules/entities/lib/index.js.map +0 -1
  537. package/dist/lib/cjs/node_modules/htmlparser2/lib/Parser.js +0 -2
  538. package/dist/lib/cjs/node_modules/htmlparser2/lib/Parser.js.map +0 -1
  539. package/dist/lib/cjs/node_modules/htmlparser2/lib/Tokenizer.js +0 -2
  540. package/dist/lib/cjs/node_modules/htmlparser2/lib/Tokenizer.js.map +0 -1
  541. package/dist/lib/cjs/node_modules/htmlparser2/lib/index.js +0 -2
  542. package/dist/lib/cjs/node_modules/htmlparser2/lib/index.js.map +0 -1
  543. package/dist/lib/cjs/node_modules/htmlparser2/node_modules/domhandler/lib/index.js +0 -2
  544. package/dist/lib/cjs/node_modules/htmlparser2/node_modules/domhandler/lib/index.js.map +0 -1
  545. package/dist/lib/cjs/node_modules/htmlparser2/node_modules/domhandler/lib/node.js +0 -2
  546. package/dist/lib/cjs/node_modules/htmlparser2/node_modules/domhandler/lib/node.js.map +0 -1
  547. package/dist/lib/cjs/node_modules/is-plain-object/dist/is-plain-object.js +0 -9
  548. package/dist/lib/cjs/node_modules/is-plain-object/dist/is-plain-object.js.map +0 -1
  549. package/dist/lib/cjs/node_modules/nanoid/non-secure/index.js +0 -2
  550. package/dist/lib/cjs/node_modules/nanoid/non-secure/index.js.map +0 -1
  551. package/dist/lib/cjs/node_modules/parse-srcset/src/parse-srcset.js +0 -2
  552. package/dist/lib/cjs/node_modules/parse-srcset/src/parse-srcset.js.map +0 -1
  553. package/dist/lib/cjs/node_modules/picocolors/picocolors.js +0 -2
  554. package/dist/lib/cjs/node_modules/picocolors/picocolors.js.map +0 -1
  555. package/dist/lib/cjs/node_modules/ramda/es/bind.js +0 -2
  556. package/dist/lib/cjs/node_modules/ramda/es/bind.js.map +0 -1
  557. package/dist/lib/cjs/node_modules/ramda/es/curryN.js +0 -2
  558. package/dist/lib/cjs/node_modules/ramda/es/curryN.js.map +0 -1
  559. package/dist/lib/cjs/node_modules/ramda/es/equals.js +0 -2
  560. package/dist/lib/cjs/node_modules/ramda/es/equals.js.map +0 -1
  561. package/dist/lib/cjs/node_modules/ramda/es/filter.js +0 -2
  562. package/dist/lib/cjs/node_modules/ramda/es/filter.js.map +0 -1
  563. package/dist/lib/cjs/node_modules/ramda/es/identity.js +0 -2
  564. package/dist/lib/cjs/node_modules/ramda/es/identity.js.map +0 -1
  565. package/dist/lib/cjs/node_modules/ramda/es/internal/_arity.js +0 -2
  566. package/dist/lib/cjs/node_modules/ramda/es/internal/_arity.js.map +0 -1
  567. package/dist/lib/cjs/node_modules/ramda/es/internal/_arrayFromIterator.js +0 -2
  568. package/dist/lib/cjs/node_modules/ramda/es/internal/_arrayFromIterator.js.map +0 -1
  569. package/dist/lib/cjs/node_modules/ramda/es/internal/_complement.js +0 -2
  570. package/dist/lib/cjs/node_modules/ramda/es/internal/_complement.js.map +0 -1
  571. package/dist/lib/cjs/node_modules/ramda/es/internal/_curry1.js +0 -2
  572. package/dist/lib/cjs/node_modules/ramda/es/internal/_curry1.js.map +0 -1
  573. package/dist/lib/cjs/node_modules/ramda/es/internal/_curry2.js +0 -2
  574. package/dist/lib/cjs/node_modules/ramda/es/internal/_curry2.js.map +0 -1
  575. package/dist/lib/cjs/node_modules/ramda/es/internal/_curryN.js +0 -2
  576. package/dist/lib/cjs/node_modules/ramda/es/internal/_curryN.js.map +0 -1
  577. package/dist/lib/cjs/node_modules/ramda/es/internal/_dispatchable.js +0 -2
  578. package/dist/lib/cjs/node_modules/ramda/es/internal/_dispatchable.js.map +0 -1
  579. package/dist/lib/cjs/node_modules/ramda/es/internal/_equals.js +0 -2
  580. package/dist/lib/cjs/node_modules/ramda/es/internal/_equals.js.map +0 -1
  581. package/dist/lib/cjs/node_modules/ramda/es/internal/_filter.js +0 -2
  582. package/dist/lib/cjs/node_modules/ramda/es/internal/_filter.js.map +0 -1
  583. package/dist/lib/cjs/node_modules/ramda/es/internal/_functionName.js +0 -2
  584. package/dist/lib/cjs/node_modules/ramda/es/internal/_functionName.js.map +0 -1
  585. package/dist/lib/cjs/node_modules/ramda/es/internal/_has.js +0 -2
  586. package/dist/lib/cjs/node_modules/ramda/es/internal/_has.js.map +0 -1
  587. package/dist/lib/cjs/node_modules/ramda/es/internal/_identity.js +0 -2
  588. package/dist/lib/cjs/node_modules/ramda/es/internal/_identity.js.map +0 -1
  589. package/dist/lib/cjs/node_modules/ramda/es/internal/_includes.js +0 -2
  590. package/dist/lib/cjs/node_modules/ramda/es/internal/_includes.js.map +0 -1
  591. package/dist/lib/cjs/node_modules/ramda/es/internal/_includesWith.js +0 -2
  592. package/dist/lib/cjs/node_modules/ramda/es/internal/_includesWith.js.map +0 -1
  593. package/dist/lib/cjs/node_modules/ramda/es/internal/_indexOf.js +0 -2
  594. package/dist/lib/cjs/node_modules/ramda/es/internal/_indexOf.js.map +0 -1
  595. package/dist/lib/cjs/node_modules/ramda/es/internal/_isArguments.js +0 -2
  596. package/dist/lib/cjs/node_modules/ramda/es/internal/_isArguments.js.map +0 -1
  597. package/dist/lib/cjs/node_modules/ramda/es/internal/_isArray.js +0 -2
  598. package/dist/lib/cjs/node_modules/ramda/es/internal/_isArray.js.map +0 -1
  599. package/dist/lib/cjs/node_modules/ramda/es/internal/_isArrayLike.js +0 -2
  600. package/dist/lib/cjs/node_modules/ramda/es/internal/_isArrayLike.js.map +0 -1
  601. package/dist/lib/cjs/node_modules/ramda/es/internal/_isFunction.js +0 -2
  602. package/dist/lib/cjs/node_modules/ramda/es/internal/_isFunction.js.map +0 -1
  603. package/dist/lib/cjs/node_modules/ramda/es/internal/_isObject.js +0 -2
  604. package/dist/lib/cjs/node_modules/ramda/es/internal/_isObject.js.map +0 -1
  605. package/dist/lib/cjs/node_modules/ramda/es/internal/_isPlaceholder.js +0 -2
  606. package/dist/lib/cjs/node_modules/ramda/es/internal/_isPlaceholder.js.map +0 -1
  607. package/dist/lib/cjs/node_modules/ramda/es/internal/_isString.js +0 -2
  608. package/dist/lib/cjs/node_modules/ramda/es/internal/_isString.js.map +0 -1
  609. package/dist/lib/cjs/node_modules/ramda/es/internal/_isTransformer.js +0 -2
  610. package/dist/lib/cjs/node_modules/ramda/es/internal/_isTransformer.js.map +0 -1
  611. package/dist/lib/cjs/node_modules/ramda/es/internal/_map.js +0 -2
  612. package/dist/lib/cjs/node_modules/ramda/es/internal/_map.js.map +0 -1
  613. package/dist/lib/cjs/node_modules/ramda/es/internal/_objectIs.js +0 -2
  614. package/dist/lib/cjs/node_modules/ramda/es/internal/_objectIs.js.map +0 -1
  615. package/dist/lib/cjs/node_modules/ramda/es/internal/_quote.js +0 -2
  616. package/dist/lib/cjs/node_modules/ramda/es/internal/_quote.js.map +0 -1
  617. package/dist/lib/cjs/node_modules/ramda/es/internal/_reduce.js +0 -2
  618. package/dist/lib/cjs/node_modules/ramda/es/internal/_reduce.js.map +0 -1
  619. package/dist/lib/cjs/node_modules/ramda/es/internal/_toISOString.js +0 -2
  620. package/dist/lib/cjs/node_modules/ramda/es/internal/_toISOString.js.map +0 -1
  621. package/dist/lib/cjs/node_modules/ramda/es/internal/_toString.js +0 -2
  622. package/dist/lib/cjs/node_modules/ramda/es/internal/_toString.js.map +0 -1
  623. package/dist/lib/cjs/node_modules/ramda/es/internal/_xfBase.js +0 -2
  624. package/dist/lib/cjs/node_modules/ramda/es/internal/_xfBase.js.map +0 -1
  625. package/dist/lib/cjs/node_modules/ramda/es/internal/_xfilter.js +0 -2
  626. package/dist/lib/cjs/node_modules/ramda/es/internal/_xfilter.js.map +0 -1
  627. package/dist/lib/cjs/node_modules/ramda/es/internal/_xwrap.js +0 -2
  628. package/dist/lib/cjs/node_modules/ramda/es/internal/_xwrap.js.map +0 -1
  629. package/dist/lib/cjs/node_modules/ramda/es/invoker.js +0 -2
  630. package/dist/lib/cjs/node_modules/ramda/es/invoker.js.map +0 -1
  631. package/dist/lib/cjs/node_modules/ramda/es/is.js +0 -2
  632. package/dist/lib/cjs/node_modules/ramda/es/is.js.map +0 -1
  633. package/dist/lib/cjs/node_modules/ramda/es/keys.js +0 -2
  634. package/dist/lib/cjs/node_modules/ramda/es/keys.js.map +0 -1
  635. package/dist/lib/cjs/node_modules/ramda/es/memoizeWith.js +0 -2
  636. package/dist/lib/cjs/node_modules/ramda/es/memoizeWith.js.map +0 -1
  637. package/dist/lib/cjs/node_modules/ramda/es/reject.js +0 -2
  638. package/dist/lib/cjs/node_modules/ramda/es/reject.js.map +0 -1
  639. package/dist/lib/cjs/node_modules/ramda/es/toLower.js +0 -2
  640. package/dist/lib/cjs/node_modules/ramda/es/toLower.js.map +0 -1
  641. package/dist/lib/cjs/node_modules/ramda/es/toString.js +0 -2
  642. package/dist/lib/cjs/node_modules/ramda/es/toString.js.map +0 -1
  643. package/dist/lib/cjs/node_modules/ramda/es/toUpper.js +0 -2
  644. package/dist/lib/cjs/node_modules/ramda/es/toUpper.js.map +0 -1
  645. package/dist/lib/cjs/node_modules/ramda/es/type.js +0 -2
  646. package/dist/lib/cjs/node_modules/ramda/es/type.js.map +0 -1
  647. package/dist/lib/cjs/node_modules/react/cjs/react.development.js +0 -11
  648. package/dist/lib/cjs/node_modules/react/cjs/react.development.js.map +0 -1
  649. package/dist/lib/cjs/node_modules/react/cjs/react.production.min.js +0 -11
  650. package/dist/lib/cjs/node_modules/react/cjs/react.production.min.js.map +0 -1
  651. package/dist/lib/cjs/node_modules/react/index.js +0 -2
  652. package/dist/lib/cjs/node_modules/react/index.js.map +0 -1
  653. package/dist/lib/cjs/node_modules/sanitize-html/index.js +0 -2
  654. package/dist/lib/cjs/node_modules/sanitize-html/index.js.map +0 -1
  655. package/dist/lib/cjs/node_modules/sanitize-html/node_modules/escape-string-regexp/index.js +0 -2
  656. package/dist/lib/cjs/node_modules/sanitize-html/node_modules/escape-string-regexp/index.js.map +0 -1
  657. package/dist/lib/cjs/node_modules/sanitize-html/node_modules/postcss/lib/at-rule.js +0 -2
  658. package/dist/lib/cjs/node_modules/sanitize-html/node_modules/postcss/lib/at-rule.js.map +0 -1
  659. package/dist/lib/cjs/node_modules/sanitize-html/node_modules/postcss/lib/comment.js +0 -2
  660. package/dist/lib/cjs/node_modules/sanitize-html/node_modules/postcss/lib/comment.js.map +0 -1
  661. package/dist/lib/cjs/node_modules/sanitize-html/node_modules/postcss/lib/container.js +0 -2
  662. package/dist/lib/cjs/node_modules/sanitize-html/node_modules/postcss/lib/container.js.map +0 -1
  663. package/dist/lib/cjs/node_modules/sanitize-html/node_modules/postcss/lib/css-syntax-error.js +0 -2
  664. package/dist/lib/cjs/node_modules/sanitize-html/node_modules/postcss/lib/css-syntax-error.js.map +0 -1
  665. package/dist/lib/cjs/node_modules/sanitize-html/node_modules/postcss/lib/declaration.js +0 -2
  666. package/dist/lib/cjs/node_modules/sanitize-html/node_modules/postcss/lib/declaration.js.map +0 -1
  667. package/dist/lib/cjs/node_modules/sanitize-html/node_modules/postcss/lib/document.js +0 -2
  668. package/dist/lib/cjs/node_modules/sanitize-html/node_modules/postcss/lib/document.js.map +0 -1
  669. package/dist/lib/cjs/node_modules/sanitize-html/node_modules/postcss/lib/fromJSON.js +0 -2
  670. package/dist/lib/cjs/node_modules/sanitize-html/node_modules/postcss/lib/fromJSON.js.map +0 -1
  671. package/dist/lib/cjs/node_modules/sanitize-html/node_modules/postcss/lib/input.js +0 -2
  672. package/dist/lib/cjs/node_modules/sanitize-html/node_modules/postcss/lib/input.js.map +0 -1
  673. package/dist/lib/cjs/node_modules/sanitize-html/node_modules/postcss/lib/lazy-result.js +0 -2
  674. package/dist/lib/cjs/node_modules/sanitize-html/node_modules/postcss/lib/lazy-result.js.map +0 -1
  675. package/dist/lib/cjs/node_modules/sanitize-html/node_modules/postcss/lib/list.js +0 -2
  676. package/dist/lib/cjs/node_modules/sanitize-html/node_modules/postcss/lib/list.js.map +0 -1
  677. package/dist/lib/cjs/node_modules/sanitize-html/node_modules/postcss/lib/map-generator.js +0 -2
  678. package/dist/lib/cjs/node_modules/sanitize-html/node_modules/postcss/lib/map-generator.js.map +0 -1
  679. package/dist/lib/cjs/node_modules/sanitize-html/node_modules/postcss/lib/no-work-result.js +0 -2
  680. package/dist/lib/cjs/node_modules/sanitize-html/node_modules/postcss/lib/no-work-result.js.map +0 -1
  681. package/dist/lib/cjs/node_modules/sanitize-html/node_modules/postcss/lib/node.js +0 -2
  682. package/dist/lib/cjs/node_modules/sanitize-html/node_modules/postcss/lib/node.js.map +0 -1
  683. package/dist/lib/cjs/node_modules/sanitize-html/node_modules/postcss/lib/parse.js +0 -2
  684. package/dist/lib/cjs/node_modules/sanitize-html/node_modules/postcss/lib/parse.js.map +0 -1
  685. package/dist/lib/cjs/node_modules/sanitize-html/node_modules/postcss/lib/parser.js +0 -2
  686. package/dist/lib/cjs/node_modules/sanitize-html/node_modules/postcss/lib/parser.js.map +0 -1
  687. package/dist/lib/cjs/node_modules/sanitize-html/node_modules/postcss/lib/postcss.js +0 -2
  688. package/dist/lib/cjs/node_modules/sanitize-html/node_modules/postcss/lib/postcss.js.map +0 -1
  689. package/dist/lib/cjs/node_modules/sanitize-html/node_modules/postcss/lib/previous-map.js +0 -2
  690. package/dist/lib/cjs/node_modules/sanitize-html/node_modules/postcss/lib/previous-map.js.map +0 -1
  691. package/dist/lib/cjs/node_modules/sanitize-html/node_modules/postcss/lib/processor.js +0 -2
  692. package/dist/lib/cjs/node_modules/sanitize-html/node_modules/postcss/lib/processor.js.map +0 -1
  693. package/dist/lib/cjs/node_modules/sanitize-html/node_modules/postcss/lib/result.js +0 -2
  694. package/dist/lib/cjs/node_modules/sanitize-html/node_modules/postcss/lib/result.js.map +0 -1
  695. package/dist/lib/cjs/node_modules/sanitize-html/node_modules/postcss/lib/root.js +0 -2
  696. package/dist/lib/cjs/node_modules/sanitize-html/node_modules/postcss/lib/root.js.map +0 -1
  697. package/dist/lib/cjs/node_modules/sanitize-html/node_modules/postcss/lib/rule.js +0 -2
  698. package/dist/lib/cjs/node_modules/sanitize-html/node_modules/postcss/lib/rule.js.map +0 -1
  699. package/dist/lib/cjs/node_modules/sanitize-html/node_modules/postcss/lib/stringifier.js +0 -2
  700. package/dist/lib/cjs/node_modules/sanitize-html/node_modules/postcss/lib/stringifier.js.map +0 -1
  701. package/dist/lib/cjs/node_modules/sanitize-html/node_modules/postcss/lib/stringify.js +0 -2
  702. package/dist/lib/cjs/node_modules/sanitize-html/node_modules/postcss/lib/stringify.js.map +0 -1
  703. package/dist/lib/cjs/node_modules/sanitize-html/node_modules/postcss/lib/symbols.js +0 -2
  704. package/dist/lib/cjs/node_modules/sanitize-html/node_modules/postcss/lib/symbols.js.map +0 -1
  705. package/dist/lib/cjs/node_modules/sanitize-html/node_modules/postcss/lib/terminal-highlight.js +0 -2
  706. package/dist/lib/cjs/node_modules/sanitize-html/node_modules/postcss/lib/terminal-highlight.js.map +0 -1
  707. package/dist/lib/cjs/node_modules/sanitize-html/node_modules/postcss/lib/tokenize.js +0 -2
  708. package/dist/lib/cjs/node_modules/sanitize-html/node_modules/postcss/lib/tokenize.js.map +0 -1
  709. package/dist/lib/cjs/node_modules/sanitize-html/node_modules/postcss/lib/warn-once.js +0 -2
  710. package/dist/lib/cjs/node_modules/sanitize-html/node_modules/postcss/lib/warn-once.js.map +0 -1
  711. package/dist/lib/cjs/node_modules/sanitize-html/node_modules/postcss/lib/warning.js +0 -2
  712. package/dist/lib/cjs/node_modules/sanitize-html/node_modules/postcss/lib/warning.js.map +0 -1
  713. package/dist/lib/cjs/node_modules/source-map-js/lib/array-set.js +0 -2
  714. package/dist/lib/cjs/node_modules/source-map-js/lib/array-set.js.map +0 -1
  715. package/dist/lib/cjs/node_modules/source-map-js/lib/base64-vlq.js +0 -2
  716. package/dist/lib/cjs/node_modules/source-map-js/lib/base64-vlq.js.map +0 -1
  717. package/dist/lib/cjs/node_modules/source-map-js/lib/base64.js +0 -2
  718. package/dist/lib/cjs/node_modules/source-map-js/lib/base64.js.map +0 -1
  719. package/dist/lib/cjs/node_modules/source-map-js/lib/binary-search.js +0 -2
  720. package/dist/lib/cjs/node_modules/source-map-js/lib/binary-search.js.map +0 -1
  721. package/dist/lib/cjs/node_modules/source-map-js/lib/mapping-list.js +0 -2
  722. package/dist/lib/cjs/node_modules/source-map-js/lib/mapping-list.js.map +0 -1
  723. package/dist/lib/cjs/node_modules/source-map-js/lib/quick-sort.js +0 -2
  724. package/dist/lib/cjs/node_modules/source-map-js/lib/quick-sort.js.map +0 -1
  725. package/dist/lib/cjs/node_modules/source-map-js/lib/source-map-consumer.js +0 -2
  726. package/dist/lib/cjs/node_modules/source-map-js/lib/source-map-consumer.js.map +0 -1
  727. package/dist/lib/cjs/node_modules/source-map-js/lib/source-map-generator.js +0 -2
  728. package/dist/lib/cjs/node_modules/source-map-js/lib/source-map-generator.js.map +0 -1
  729. package/dist/lib/cjs/node_modules/source-map-js/lib/source-node.js +0 -2
  730. package/dist/lib/cjs/node_modules/source-map-js/lib/source-node.js.map +0 -1
  731. package/dist/lib/cjs/node_modules/source-map-js/lib/util.js +0 -2
  732. package/dist/lib/cjs/node_modules/source-map-js/lib/util.js.map +0 -1
  733. package/dist/lib/cjs/node_modules/source-map-js/source-map.js +0 -2
  734. package/dist/lib/cjs/node_modules/source-map-js/source-map.js.map +0 -1
  735. package/dist/lib/esm/_virtual/Parser.js +0 -2
  736. package/dist/lib/esm/_virtual/Parser.js.map +0 -1
  737. package/dist/lib/esm/_virtual/Tokenizer.js +0 -2
  738. package/dist/lib/esm/_virtual/Tokenizer.js.map +0 -1
  739. package/dist/lib/esm/_virtual/array-set.js +0 -2
  740. package/dist/lib/esm/_virtual/array-set.js.map +0 -1
  741. package/dist/lib/esm/_virtual/base64-vlq.js +0 -2
  742. package/dist/lib/esm/_virtual/base64-vlq.js.map +0 -1
  743. package/dist/lib/esm/_virtual/base64.js +0 -2
  744. package/dist/lib/esm/_virtual/base64.js.map +0 -1
  745. package/dist/lib/esm/_virtual/binary-search.js +0 -2
  746. package/dist/lib/esm/_virtual/binary-search.js.map +0 -1
  747. package/dist/lib/esm/_virtual/dayjs.min.js +0 -2
  748. package/dist/lib/esm/_virtual/dayjs.min.js.map +0 -1
  749. package/dist/lib/esm/_virtual/decode-data-html.js +0 -2
  750. package/dist/lib/esm/_virtual/decode-data-html.js.map +0 -1
  751. package/dist/lib/esm/_virtual/decode-data-xml.js +0 -2
  752. package/dist/lib/esm/_virtual/decode-data-xml.js.map +0 -1
  753. package/dist/lib/esm/_virtual/decode.js +0 -2
  754. package/dist/lib/esm/_virtual/decode.js.map +0 -1
  755. package/dist/lib/esm/_virtual/decode_codepoint.js +0 -2
  756. package/dist/lib/esm/_virtual/decode_codepoint.js.map +0 -1
  757. package/dist/lib/esm/_virtual/encode-html.js +0 -2
  758. package/dist/lib/esm/_virtual/encode-html.js.map +0 -1
  759. package/dist/lib/esm/_virtual/encode.js +0 -2
  760. package/dist/lib/esm/_virtual/encode.js.map +0 -1
  761. package/dist/lib/esm/_virtual/escape.js +0 -2
  762. package/dist/lib/esm/_virtual/escape.js.map +0 -1
  763. package/dist/lib/esm/_virtual/feeds.js +0 -2
  764. package/dist/lib/esm/_virtual/feeds.js.map +0 -1
  765. package/dist/lib/esm/_virtual/foreignNames.js +0 -2
  766. package/dist/lib/esm/_virtual/foreignNames.js.map +0 -1
  767. package/dist/lib/esm/_virtual/helpers.js +0 -2
  768. package/dist/lib/esm/_virtual/helpers.js.map +0 -1
  769. package/dist/lib/esm/_virtual/index.js +0 -2
  770. package/dist/lib/esm/_virtual/index.js.map +0 -1
  771. package/dist/lib/esm/_virtual/index2.js +0 -2
  772. package/dist/lib/esm/_virtual/index2.js.map +0 -1
  773. package/dist/lib/esm/_virtual/index3.js +0 -2
  774. package/dist/lib/esm/_virtual/index3.js.map +0 -1
  775. package/dist/lib/esm/_virtual/index4.js +0 -2
  776. package/dist/lib/esm/_virtual/index4.js.map +0 -1
  777. package/dist/lib/esm/_virtual/index5.js +0 -2
  778. package/dist/lib/esm/_virtual/index5.js.map +0 -1
  779. package/dist/lib/esm/_virtual/index6.js +0 -2
  780. package/dist/lib/esm/_virtual/index6.js.map +0 -1
  781. package/dist/lib/esm/_virtual/index7.js +0 -2
  782. package/dist/lib/esm/_virtual/index7.js.map +0 -1
  783. package/dist/lib/esm/_virtual/index8.js +0 -2
  784. package/dist/lib/esm/_virtual/index8.js.map +0 -1
  785. package/dist/lib/esm/_virtual/is-plain-object.js +0 -2
  786. package/dist/lib/esm/_virtual/is-plain-object.js.map +0 -1
  787. package/dist/lib/esm/_virtual/legacy.js +0 -2
  788. package/dist/lib/esm/_virtual/legacy.js.map +0 -1
  789. package/dist/lib/esm/_virtual/manipulation.js +0 -2
  790. package/dist/lib/esm/_virtual/manipulation.js.map +0 -1
  791. package/dist/lib/esm/_virtual/mapping-list.js +0 -2
  792. package/dist/lib/esm/_virtual/mapping-list.js.map +0 -1
  793. package/dist/lib/esm/_virtual/node.js +0 -2
  794. package/dist/lib/esm/_virtual/node.js.map +0 -1
  795. package/dist/lib/esm/_virtual/node2.js +0 -2
  796. package/dist/lib/esm/_virtual/node2.js.map +0 -1
  797. package/dist/lib/esm/_virtual/parse-srcset.js +0 -2
  798. package/dist/lib/esm/_virtual/parse-srcset.js.map +0 -1
  799. package/dist/lib/esm/_virtual/picocolors.js +0 -2
  800. package/dist/lib/esm/_virtual/picocolors.js.map +0 -1
  801. package/dist/lib/esm/_virtual/querying.js +0 -2
  802. package/dist/lib/esm/_virtual/querying.js.map +0 -1
  803. package/dist/lib/esm/_virtual/quick-sort.js +0 -2
  804. package/dist/lib/esm/_virtual/quick-sort.js.map +0 -1
  805. package/dist/lib/esm/_virtual/react.development.js +0 -2
  806. package/dist/lib/esm/_virtual/react.development.js.map +0 -1
  807. package/dist/lib/esm/_virtual/react.production.min.js +0 -2
  808. package/dist/lib/esm/_virtual/react.production.min.js.map +0 -1
  809. package/dist/lib/esm/_virtual/source-map-consumer.js +0 -2
  810. package/dist/lib/esm/_virtual/source-map-consumer.js.map +0 -1
  811. package/dist/lib/esm/_virtual/source-map-generator.js +0 -2
  812. package/dist/lib/esm/_virtual/source-map-generator.js.map +0 -1
  813. package/dist/lib/esm/_virtual/source-map.js +0 -2
  814. package/dist/lib/esm/_virtual/source-map.js.map +0 -1
  815. package/dist/lib/esm/_virtual/source-node.js +0 -2
  816. package/dist/lib/esm/_virtual/source-node.js.map +0 -1
  817. package/dist/lib/esm/_virtual/stringify.js +0 -2
  818. package/dist/lib/esm/_virtual/stringify.js.map +0 -1
  819. package/dist/lib/esm/_virtual/symbols.js +0 -2
  820. package/dist/lib/esm/_virtual/symbols.js.map +0 -1
  821. package/dist/lib/esm/_virtual/traversal.js +0 -2
  822. package/dist/lib/esm/_virtual/traversal.js.map +0 -1
  823. package/dist/lib/esm/_virtual/util.js +0 -2
  824. package/dist/lib/esm/_virtual/util.js.map +0 -1
  825. package/dist/lib/esm/node_modules/dayjs/dayjs.min.js +0 -2
  826. package/dist/lib/esm/node_modules/dayjs/dayjs.min.js.map +0 -1
  827. package/dist/lib/esm/node_modules/deepmerge/dist/cjs.js +0 -2
  828. package/dist/lib/esm/node_modules/deepmerge/dist/cjs.js.map +0 -1
  829. package/dist/lib/esm/node_modules/dom-serializer/lib/foreignNames.js +0 -2
  830. package/dist/lib/esm/node_modules/dom-serializer/lib/foreignNames.js.map +0 -1
  831. package/dist/lib/esm/node_modules/dom-serializer/lib/index.js +0 -2
  832. package/dist/lib/esm/node_modules/dom-serializer/lib/index.js.map +0 -1
  833. package/dist/lib/esm/node_modules/domelementtype/lib/index.js +0 -2
  834. package/dist/lib/esm/node_modules/domelementtype/lib/index.js.map +0 -1
  835. package/dist/lib/esm/node_modules/domutils/lib/feeds.js +0 -2
  836. package/dist/lib/esm/node_modules/domutils/lib/feeds.js.map +0 -1
  837. package/dist/lib/esm/node_modules/domutils/lib/helpers.js +0 -2
  838. package/dist/lib/esm/node_modules/domutils/lib/helpers.js.map +0 -1
  839. package/dist/lib/esm/node_modules/domutils/lib/index.js +0 -2
  840. package/dist/lib/esm/node_modules/domutils/lib/index.js.map +0 -1
  841. package/dist/lib/esm/node_modules/domutils/lib/legacy.js +0 -2
  842. package/dist/lib/esm/node_modules/domutils/lib/legacy.js.map +0 -1
  843. package/dist/lib/esm/node_modules/domutils/lib/manipulation.js +0 -2
  844. package/dist/lib/esm/node_modules/domutils/lib/manipulation.js.map +0 -1
  845. package/dist/lib/esm/node_modules/domutils/lib/querying.js +0 -2
  846. package/dist/lib/esm/node_modules/domutils/lib/querying.js.map +0 -1
  847. package/dist/lib/esm/node_modules/domutils/lib/stringify.js +0 -2
  848. package/dist/lib/esm/node_modules/domutils/lib/stringify.js.map +0 -1
  849. package/dist/lib/esm/node_modules/domutils/lib/traversal.js +0 -2
  850. package/dist/lib/esm/node_modules/domutils/lib/traversal.js.map +0 -1
  851. package/dist/lib/esm/node_modules/domutils/node_modules/domhandler/lib/index.js +0 -2
  852. package/dist/lib/esm/node_modules/domutils/node_modules/domhandler/lib/index.js.map +0 -1
  853. package/dist/lib/esm/node_modules/domutils/node_modules/domhandler/lib/node.js +0 -2
  854. package/dist/lib/esm/node_modules/domutils/node_modules/domhandler/lib/node.js.map +0 -1
  855. package/dist/lib/esm/node_modules/entities/lib/decode.js +0 -2
  856. package/dist/lib/esm/node_modules/entities/lib/decode.js.map +0 -1
  857. package/dist/lib/esm/node_modules/entities/lib/decode_codepoint.js +0 -2
  858. package/dist/lib/esm/node_modules/entities/lib/decode_codepoint.js.map +0 -1
  859. package/dist/lib/esm/node_modules/entities/lib/encode.js +0 -2
  860. package/dist/lib/esm/node_modules/entities/lib/encode.js.map +0 -1
  861. package/dist/lib/esm/node_modules/entities/lib/escape.js +0 -2
  862. package/dist/lib/esm/node_modules/entities/lib/escape.js.map +0 -1
  863. package/dist/lib/esm/node_modules/entities/lib/generated/decode-data-html.js +0 -2
  864. package/dist/lib/esm/node_modules/entities/lib/generated/decode-data-html.js.map +0 -1
  865. package/dist/lib/esm/node_modules/entities/lib/generated/decode-data-xml.js +0 -2
  866. package/dist/lib/esm/node_modules/entities/lib/generated/decode-data-xml.js.map +0 -1
  867. package/dist/lib/esm/node_modules/entities/lib/generated/encode-html.js +0 -2
  868. package/dist/lib/esm/node_modules/entities/lib/generated/encode-html.js.map +0 -1
  869. package/dist/lib/esm/node_modules/entities/lib/index.js +0 -2
  870. package/dist/lib/esm/node_modules/entities/lib/index.js.map +0 -1
  871. package/dist/lib/esm/node_modules/htmlparser2/lib/Parser.js +0 -2
  872. package/dist/lib/esm/node_modules/htmlparser2/lib/Parser.js.map +0 -1
  873. package/dist/lib/esm/node_modules/htmlparser2/lib/Tokenizer.js +0 -2
  874. package/dist/lib/esm/node_modules/htmlparser2/lib/Tokenizer.js.map +0 -1
  875. package/dist/lib/esm/node_modules/htmlparser2/lib/index.js +0 -2
  876. package/dist/lib/esm/node_modules/htmlparser2/lib/index.js.map +0 -1
  877. package/dist/lib/esm/node_modules/htmlparser2/node_modules/domhandler/lib/index.js +0 -2
  878. package/dist/lib/esm/node_modules/htmlparser2/node_modules/domhandler/lib/index.js.map +0 -1
  879. package/dist/lib/esm/node_modules/htmlparser2/node_modules/domhandler/lib/node.js +0 -2
  880. package/dist/lib/esm/node_modules/htmlparser2/node_modules/domhandler/lib/node.js.map +0 -1
  881. package/dist/lib/esm/node_modules/is-plain-object/dist/is-plain-object.js +0 -9
  882. package/dist/lib/esm/node_modules/is-plain-object/dist/is-plain-object.js.map +0 -1
  883. package/dist/lib/esm/node_modules/nanoid/non-secure/index.js +0 -2
  884. package/dist/lib/esm/node_modules/nanoid/non-secure/index.js.map +0 -1
  885. package/dist/lib/esm/node_modules/parse-srcset/src/parse-srcset.js +0 -2
  886. package/dist/lib/esm/node_modules/parse-srcset/src/parse-srcset.js.map +0 -1
  887. package/dist/lib/esm/node_modules/picocolors/picocolors.js +0 -2
  888. package/dist/lib/esm/node_modules/picocolors/picocolors.js.map +0 -1
  889. package/dist/lib/esm/node_modules/ramda/es/bind.js +0 -2
  890. package/dist/lib/esm/node_modules/ramda/es/bind.js.map +0 -1
  891. package/dist/lib/esm/node_modules/ramda/es/curryN.js +0 -2
  892. package/dist/lib/esm/node_modules/ramda/es/curryN.js.map +0 -1
  893. package/dist/lib/esm/node_modules/ramda/es/equals.js +0 -2
  894. package/dist/lib/esm/node_modules/ramda/es/equals.js.map +0 -1
  895. package/dist/lib/esm/node_modules/ramda/es/filter.js +0 -2
  896. package/dist/lib/esm/node_modules/ramda/es/filter.js.map +0 -1
  897. package/dist/lib/esm/node_modules/ramda/es/identity.js +0 -2
  898. package/dist/lib/esm/node_modules/ramda/es/identity.js.map +0 -1
  899. package/dist/lib/esm/node_modules/ramda/es/internal/_arity.js +0 -2
  900. package/dist/lib/esm/node_modules/ramda/es/internal/_arity.js.map +0 -1
  901. package/dist/lib/esm/node_modules/ramda/es/internal/_arrayFromIterator.js +0 -2
  902. package/dist/lib/esm/node_modules/ramda/es/internal/_arrayFromIterator.js.map +0 -1
  903. package/dist/lib/esm/node_modules/ramda/es/internal/_complement.js +0 -2
  904. package/dist/lib/esm/node_modules/ramda/es/internal/_complement.js.map +0 -1
  905. package/dist/lib/esm/node_modules/ramda/es/internal/_curry1.js +0 -2
  906. package/dist/lib/esm/node_modules/ramda/es/internal/_curry1.js.map +0 -1
  907. package/dist/lib/esm/node_modules/ramda/es/internal/_curry2.js +0 -2
  908. package/dist/lib/esm/node_modules/ramda/es/internal/_curry2.js.map +0 -1
  909. package/dist/lib/esm/node_modules/ramda/es/internal/_curryN.js +0 -2
  910. package/dist/lib/esm/node_modules/ramda/es/internal/_curryN.js.map +0 -1
  911. package/dist/lib/esm/node_modules/ramda/es/internal/_dispatchable.js +0 -2
  912. package/dist/lib/esm/node_modules/ramda/es/internal/_dispatchable.js.map +0 -1
  913. package/dist/lib/esm/node_modules/ramda/es/internal/_equals.js +0 -2
  914. package/dist/lib/esm/node_modules/ramda/es/internal/_equals.js.map +0 -1
  915. package/dist/lib/esm/node_modules/ramda/es/internal/_filter.js +0 -2
  916. package/dist/lib/esm/node_modules/ramda/es/internal/_filter.js.map +0 -1
  917. package/dist/lib/esm/node_modules/ramda/es/internal/_functionName.js +0 -2
  918. package/dist/lib/esm/node_modules/ramda/es/internal/_functionName.js.map +0 -1
  919. package/dist/lib/esm/node_modules/ramda/es/internal/_has.js +0 -2
  920. package/dist/lib/esm/node_modules/ramda/es/internal/_has.js.map +0 -1
  921. package/dist/lib/esm/node_modules/ramda/es/internal/_identity.js +0 -2
  922. package/dist/lib/esm/node_modules/ramda/es/internal/_identity.js.map +0 -1
  923. package/dist/lib/esm/node_modules/ramda/es/internal/_includes.js +0 -2
  924. package/dist/lib/esm/node_modules/ramda/es/internal/_includes.js.map +0 -1
  925. package/dist/lib/esm/node_modules/ramda/es/internal/_includesWith.js +0 -2
  926. package/dist/lib/esm/node_modules/ramda/es/internal/_includesWith.js.map +0 -1
  927. package/dist/lib/esm/node_modules/ramda/es/internal/_indexOf.js +0 -2
  928. package/dist/lib/esm/node_modules/ramda/es/internal/_indexOf.js.map +0 -1
  929. package/dist/lib/esm/node_modules/ramda/es/internal/_isArguments.js +0 -2
  930. package/dist/lib/esm/node_modules/ramda/es/internal/_isArguments.js.map +0 -1
  931. package/dist/lib/esm/node_modules/ramda/es/internal/_isArray.js +0 -2
  932. package/dist/lib/esm/node_modules/ramda/es/internal/_isArray.js.map +0 -1
  933. package/dist/lib/esm/node_modules/ramda/es/internal/_isArrayLike.js +0 -2
  934. package/dist/lib/esm/node_modules/ramda/es/internal/_isArrayLike.js.map +0 -1
  935. package/dist/lib/esm/node_modules/ramda/es/internal/_isFunction.js +0 -2
  936. package/dist/lib/esm/node_modules/ramda/es/internal/_isFunction.js.map +0 -1
  937. package/dist/lib/esm/node_modules/ramda/es/internal/_isObject.js +0 -2
  938. package/dist/lib/esm/node_modules/ramda/es/internal/_isObject.js.map +0 -1
  939. package/dist/lib/esm/node_modules/ramda/es/internal/_isPlaceholder.js +0 -2
  940. package/dist/lib/esm/node_modules/ramda/es/internal/_isPlaceholder.js.map +0 -1
  941. package/dist/lib/esm/node_modules/ramda/es/internal/_isString.js +0 -2
  942. package/dist/lib/esm/node_modules/ramda/es/internal/_isString.js.map +0 -1
  943. package/dist/lib/esm/node_modules/ramda/es/internal/_isTransformer.js +0 -2
  944. package/dist/lib/esm/node_modules/ramda/es/internal/_isTransformer.js.map +0 -1
  945. package/dist/lib/esm/node_modules/ramda/es/internal/_map.js +0 -2
  946. package/dist/lib/esm/node_modules/ramda/es/internal/_map.js.map +0 -1
  947. package/dist/lib/esm/node_modules/ramda/es/internal/_objectIs.js +0 -2
  948. package/dist/lib/esm/node_modules/ramda/es/internal/_objectIs.js.map +0 -1
  949. package/dist/lib/esm/node_modules/ramda/es/internal/_quote.js +0 -2
  950. package/dist/lib/esm/node_modules/ramda/es/internal/_quote.js.map +0 -1
  951. package/dist/lib/esm/node_modules/ramda/es/internal/_reduce.js +0 -2
  952. package/dist/lib/esm/node_modules/ramda/es/internal/_reduce.js.map +0 -1
  953. package/dist/lib/esm/node_modules/ramda/es/internal/_toISOString.js +0 -2
  954. package/dist/lib/esm/node_modules/ramda/es/internal/_toISOString.js.map +0 -1
  955. package/dist/lib/esm/node_modules/ramda/es/internal/_toString.js +0 -2
  956. package/dist/lib/esm/node_modules/ramda/es/internal/_toString.js.map +0 -1
  957. package/dist/lib/esm/node_modules/ramda/es/internal/_xfBase.js +0 -2
  958. package/dist/lib/esm/node_modules/ramda/es/internal/_xfBase.js.map +0 -1
  959. package/dist/lib/esm/node_modules/ramda/es/internal/_xfilter.js +0 -2
  960. package/dist/lib/esm/node_modules/ramda/es/internal/_xfilter.js.map +0 -1
  961. package/dist/lib/esm/node_modules/ramda/es/internal/_xwrap.js +0 -2
  962. package/dist/lib/esm/node_modules/ramda/es/internal/_xwrap.js.map +0 -1
  963. package/dist/lib/esm/node_modules/ramda/es/invoker.js +0 -2
  964. package/dist/lib/esm/node_modules/ramda/es/invoker.js.map +0 -1
  965. package/dist/lib/esm/node_modules/ramda/es/is.js +0 -2
  966. package/dist/lib/esm/node_modules/ramda/es/is.js.map +0 -1
  967. package/dist/lib/esm/node_modules/ramda/es/keys.js +0 -2
  968. package/dist/lib/esm/node_modules/ramda/es/keys.js.map +0 -1
  969. package/dist/lib/esm/node_modules/ramda/es/memoizeWith.js +0 -2
  970. package/dist/lib/esm/node_modules/ramda/es/memoizeWith.js.map +0 -1
  971. package/dist/lib/esm/node_modules/ramda/es/reject.js +0 -2
  972. package/dist/lib/esm/node_modules/ramda/es/reject.js.map +0 -1
  973. package/dist/lib/esm/node_modules/ramda/es/toLower.js +0 -2
  974. package/dist/lib/esm/node_modules/ramda/es/toLower.js.map +0 -1
  975. package/dist/lib/esm/node_modules/ramda/es/toString.js +0 -2
  976. package/dist/lib/esm/node_modules/ramda/es/toString.js.map +0 -1
  977. package/dist/lib/esm/node_modules/ramda/es/toUpper.js +0 -2
  978. package/dist/lib/esm/node_modules/ramda/es/toUpper.js.map +0 -1
  979. package/dist/lib/esm/node_modules/ramda/es/type.js +0 -2
  980. package/dist/lib/esm/node_modules/ramda/es/type.js.map +0 -1
  981. package/dist/lib/esm/node_modules/react/cjs/react.development.js +0 -11
  982. package/dist/lib/esm/node_modules/react/cjs/react.development.js.map +0 -1
  983. package/dist/lib/esm/node_modules/react/cjs/react.production.min.js +0 -11
  984. package/dist/lib/esm/node_modules/react/cjs/react.production.min.js.map +0 -1
  985. package/dist/lib/esm/node_modules/react/index.js +0 -2
  986. package/dist/lib/esm/node_modules/react/index.js.map +0 -1
  987. package/dist/lib/esm/node_modules/sanitize-html/index.js +0 -2
  988. package/dist/lib/esm/node_modules/sanitize-html/index.js.map +0 -1
  989. package/dist/lib/esm/node_modules/sanitize-html/node_modules/escape-string-regexp/index.js +0 -2
  990. package/dist/lib/esm/node_modules/sanitize-html/node_modules/escape-string-regexp/index.js.map +0 -1
  991. package/dist/lib/esm/node_modules/sanitize-html/node_modules/postcss/lib/at-rule.js +0 -2
  992. package/dist/lib/esm/node_modules/sanitize-html/node_modules/postcss/lib/at-rule.js.map +0 -1
  993. package/dist/lib/esm/node_modules/sanitize-html/node_modules/postcss/lib/comment.js +0 -2
  994. package/dist/lib/esm/node_modules/sanitize-html/node_modules/postcss/lib/comment.js.map +0 -1
  995. package/dist/lib/esm/node_modules/sanitize-html/node_modules/postcss/lib/container.js +0 -2
  996. package/dist/lib/esm/node_modules/sanitize-html/node_modules/postcss/lib/container.js.map +0 -1
  997. package/dist/lib/esm/node_modules/sanitize-html/node_modules/postcss/lib/css-syntax-error.js +0 -2
  998. package/dist/lib/esm/node_modules/sanitize-html/node_modules/postcss/lib/css-syntax-error.js.map +0 -1
  999. package/dist/lib/esm/node_modules/sanitize-html/node_modules/postcss/lib/declaration.js +0 -2
  1000. package/dist/lib/esm/node_modules/sanitize-html/node_modules/postcss/lib/declaration.js.map +0 -1
  1001. package/dist/lib/esm/node_modules/sanitize-html/node_modules/postcss/lib/document.js +0 -2
  1002. package/dist/lib/esm/node_modules/sanitize-html/node_modules/postcss/lib/document.js.map +0 -1
  1003. package/dist/lib/esm/node_modules/sanitize-html/node_modules/postcss/lib/fromJSON.js +0 -2
  1004. package/dist/lib/esm/node_modules/sanitize-html/node_modules/postcss/lib/fromJSON.js.map +0 -1
  1005. package/dist/lib/esm/node_modules/sanitize-html/node_modules/postcss/lib/input.js +0 -2
  1006. package/dist/lib/esm/node_modules/sanitize-html/node_modules/postcss/lib/input.js.map +0 -1
  1007. package/dist/lib/esm/node_modules/sanitize-html/node_modules/postcss/lib/lazy-result.js +0 -2
  1008. package/dist/lib/esm/node_modules/sanitize-html/node_modules/postcss/lib/lazy-result.js.map +0 -1
  1009. package/dist/lib/esm/node_modules/sanitize-html/node_modules/postcss/lib/list.js +0 -2
  1010. package/dist/lib/esm/node_modules/sanitize-html/node_modules/postcss/lib/list.js.map +0 -1
  1011. package/dist/lib/esm/node_modules/sanitize-html/node_modules/postcss/lib/map-generator.js +0 -2
  1012. package/dist/lib/esm/node_modules/sanitize-html/node_modules/postcss/lib/map-generator.js.map +0 -1
  1013. package/dist/lib/esm/node_modules/sanitize-html/node_modules/postcss/lib/no-work-result.js +0 -2
  1014. package/dist/lib/esm/node_modules/sanitize-html/node_modules/postcss/lib/no-work-result.js.map +0 -1
  1015. package/dist/lib/esm/node_modules/sanitize-html/node_modules/postcss/lib/node.js +0 -2
  1016. package/dist/lib/esm/node_modules/sanitize-html/node_modules/postcss/lib/node.js.map +0 -1
  1017. package/dist/lib/esm/node_modules/sanitize-html/node_modules/postcss/lib/parse.js +0 -2
  1018. package/dist/lib/esm/node_modules/sanitize-html/node_modules/postcss/lib/parse.js.map +0 -1
  1019. package/dist/lib/esm/node_modules/sanitize-html/node_modules/postcss/lib/parser.js +0 -2
  1020. package/dist/lib/esm/node_modules/sanitize-html/node_modules/postcss/lib/parser.js.map +0 -1
  1021. package/dist/lib/esm/node_modules/sanitize-html/node_modules/postcss/lib/postcss.js +0 -2
  1022. package/dist/lib/esm/node_modules/sanitize-html/node_modules/postcss/lib/postcss.js.map +0 -1
  1023. package/dist/lib/esm/node_modules/sanitize-html/node_modules/postcss/lib/previous-map.js +0 -2
  1024. package/dist/lib/esm/node_modules/sanitize-html/node_modules/postcss/lib/previous-map.js.map +0 -1
  1025. package/dist/lib/esm/node_modules/sanitize-html/node_modules/postcss/lib/processor.js +0 -2
  1026. package/dist/lib/esm/node_modules/sanitize-html/node_modules/postcss/lib/processor.js.map +0 -1
  1027. package/dist/lib/esm/node_modules/sanitize-html/node_modules/postcss/lib/result.js +0 -2
  1028. package/dist/lib/esm/node_modules/sanitize-html/node_modules/postcss/lib/result.js.map +0 -1
  1029. package/dist/lib/esm/node_modules/sanitize-html/node_modules/postcss/lib/root.js +0 -2
  1030. package/dist/lib/esm/node_modules/sanitize-html/node_modules/postcss/lib/root.js.map +0 -1
  1031. package/dist/lib/esm/node_modules/sanitize-html/node_modules/postcss/lib/rule.js +0 -2
  1032. package/dist/lib/esm/node_modules/sanitize-html/node_modules/postcss/lib/rule.js.map +0 -1
  1033. package/dist/lib/esm/node_modules/sanitize-html/node_modules/postcss/lib/stringifier.js +0 -2
  1034. package/dist/lib/esm/node_modules/sanitize-html/node_modules/postcss/lib/stringifier.js.map +0 -1
  1035. package/dist/lib/esm/node_modules/sanitize-html/node_modules/postcss/lib/stringify.js +0 -2
  1036. package/dist/lib/esm/node_modules/sanitize-html/node_modules/postcss/lib/stringify.js.map +0 -1
  1037. package/dist/lib/esm/node_modules/sanitize-html/node_modules/postcss/lib/symbols.js +0 -2
  1038. package/dist/lib/esm/node_modules/sanitize-html/node_modules/postcss/lib/symbols.js.map +0 -1
  1039. package/dist/lib/esm/node_modules/sanitize-html/node_modules/postcss/lib/terminal-highlight.js +0 -2
  1040. package/dist/lib/esm/node_modules/sanitize-html/node_modules/postcss/lib/terminal-highlight.js.map +0 -1
  1041. package/dist/lib/esm/node_modules/sanitize-html/node_modules/postcss/lib/tokenize.js +0 -2
  1042. package/dist/lib/esm/node_modules/sanitize-html/node_modules/postcss/lib/tokenize.js.map +0 -1
  1043. package/dist/lib/esm/node_modules/sanitize-html/node_modules/postcss/lib/warn-once.js +0 -2
  1044. package/dist/lib/esm/node_modules/sanitize-html/node_modules/postcss/lib/warn-once.js.map +0 -1
  1045. package/dist/lib/esm/node_modules/sanitize-html/node_modules/postcss/lib/warning.js +0 -2
  1046. package/dist/lib/esm/node_modules/sanitize-html/node_modules/postcss/lib/warning.js.map +0 -1
  1047. package/dist/lib/esm/node_modules/source-map-js/lib/array-set.js +0 -2
  1048. package/dist/lib/esm/node_modules/source-map-js/lib/array-set.js.map +0 -1
  1049. package/dist/lib/esm/node_modules/source-map-js/lib/base64-vlq.js +0 -2
  1050. package/dist/lib/esm/node_modules/source-map-js/lib/base64-vlq.js.map +0 -1
  1051. package/dist/lib/esm/node_modules/source-map-js/lib/base64.js +0 -2
  1052. package/dist/lib/esm/node_modules/source-map-js/lib/base64.js.map +0 -1
  1053. package/dist/lib/esm/node_modules/source-map-js/lib/binary-search.js +0 -2
  1054. package/dist/lib/esm/node_modules/source-map-js/lib/binary-search.js.map +0 -1
  1055. package/dist/lib/esm/node_modules/source-map-js/lib/mapping-list.js +0 -2
  1056. package/dist/lib/esm/node_modules/source-map-js/lib/mapping-list.js.map +0 -1
  1057. package/dist/lib/esm/node_modules/source-map-js/lib/quick-sort.js +0 -2
  1058. package/dist/lib/esm/node_modules/source-map-js/lib/quick-sort.js.map +0 -1
  1059. package/dist/lib/esm/node_modules/source-map-js/lib/source-map-consumer.js +0 -2
  1060. package/dist/lib/esm/node_modules/source-map-js/lib/source-map-consumer.js.map +0 -1
  1061. package/dist/lib/esm/node_modules/source-map-js/lib/source-map-generator.js +0 -2
  1062. package/dist/lib/esm/node_modules/source-map-js/lib/source-map-generator.js.map +0 -1
  1063. package/dist/lib/esm/node_modules/source-map-js/lib/source-node.js +0 -2
  1064. package/dist/lib/esm/node_modules/source-map-js/lib/source-node.js.map +0 -1
  1065. package/dist/lib/esm/node_modules/source-map-js/lib/util.js +0 -2
  1066. package/dist/lib/esm/node_modules/source-map-js/lib/util.js.map +0 -1
  1067. package/dist/lib/esm/node_modules/source-map-js/source-map.js +0 -2
  1068. package/dist/lib/esm/node_modules/source-map-js/source-map.js.map +0 -1
  1069. package/dist/ui/_virtual/index.js +0 -2
  1070. package/dist/ui/_virtual/index.js.map +0 -1
  1071. package/dist/ui/_virtual/react.development.js +0 -2
  1072. package/dist/ui/_virtual/react.development.js.map +0 -1
  1073. package/dist/ui/_virtual/react.production.min.js +0 -2
  1074. package/dist/ui/_virtual/react.production.min.js.map +0 -1
  1075. package/dist/ui/esm/_virtual/index.js +0 -2
  1076. package/dist/ui/esm/_virtual/index.js.map +0 -1
  1077. package/dist/ui/esm/_virtual/react.development.js +0 -2
  1078. package/dist/ui/esm/_virtual/react.development.js.map +0 -1
  1079. package/dist/ui/esm/_virtual/react.production.min.js +0 -2
  1080. package/dist/ui/esm/_virtual/react.production.min.js.map +0 -1
  1081. package/dist/ui/esm/node_modules/ramda/es/internal/_curry1.js +0 -2
  1082. package/dist/ui/esm/node_modules/ramda/es/internal/_curry1.js.map +0 -1
  1083. package/dist/ui/esm/node_modules/ramda/es/internal/_curry2.js +0 -2
  1084. package/dist/ui/esm/node_modules/ramda/es/internal/_curry2.js.map +0 -1
  1085. package/dist/ui/esm/node_modules/ramda/es/internal/_isPlaceholder.js +0 -2
  1086. package/dist/ui/esm/node_modules/ramda/es/internal/_isPlaceholder.js.map +0 -1
  1087. package/dist/ui/esm/node_modules/ramda/es/is.js +0 -2
  1088. package/dist/ui/esm/node_modules/ramda/es/is.js.map +0 -1
  1089. package/dist/ui/esm/node_modules/react/cjs/react.development.js +0 -11
  1090. package/dist/ui/esm/node_modules/react/cjs/react.development.js.map +0 -1
  1091. package/dist/ui/esm/node_modules/react/cjs/react.production.min.js +0 -11
  1092. package/dist/ui/esm/node_modules/react/cjs/react.production.min.js.map +0 -1
  1093. package/dist/ui/esm/node_modules/react/index.js +0 -2
  1094. package/dist/ui/esm/node_modules/react/index.js.map +0 -1
  1095. package/dist/ui/node_modules/ramda/es/internal/_curry1.js +0 -2
  1096. package/dist/ui/node_modules/ramda/es/internal/_curry1.js.map +0 -1
  1097. package/dist/ui/node_modules/ramda/es/internal/_curry2.js +0 -2
  1098. package/dist/ui/node_modules/ramda/es/internal/_curry2.js.map +0 -1
  1099. package/dist/ui/node_modules/ramda/es/internal/_isPlaceholder.js +0 -2
  1100. package/dist/ui/node_modules/ramda/es/internal/_isPlaceholder.js.map +0 -1
  1101. package/dist/ui/node_modules/ramda/es/is.js +0 -2
  1102. package/dist/ui/node_modules/ramda/es/is.js.map +0 -1
  1103. package/dist/ui/node_modules/react/cjs/react.development.js +0 -11
  1104. package/dist/ui/node_modules/react/cjs/react.development.js.map +0 -1
  1105. package/dist/ui/node_modules/react/cjs/react.production.min.js +0 -11
  1106. package/dist/ui/node_modules/react/cjs/react.production.min.js.map +0 -1
  1107. package/dist/ui/node_modules/react/index.js +0 -2
  1108. package/dist/ui/node_modules/react/index.js.map +0 -1
  1109. package/dist/utils/_virtual/Parser.js +0 -2
  1110. package/dist/utils/_virtual/Parser.js.map +0 -1
  1111. package/dist/utils/_virtual/Tokenizer.js +0 -2
  1112. package/dist/utils/_virtual/Tokenizer.js.map +0 -1
  1113. package/dist/utils/_virtual/array-set.js +0 -2
  1114. package/dist/utils/_virtual/array-set.js.map +0 -1
  1115. package/dist/utils/_virtual/base64-vlq.js +0 -2
  1116. package/dist/utils/_virtual/base64-vlq.js.map +0 -1
  1117. package/dist/utils/_virtual/base64.js +0 -2
  1118. package/dist/utils/_virtual/base64.js.map +0 -1
  1119. package/dist/utils/_virtual/binary-search.js +0 -2
  1120. package/dist/utils/_virtual/binary-search.js.map +0 -1
  1121. package/dist/utils/_virtual/dayjs.min.js +0 -2
  1122. package/dist/utils/_virtual/dayjs.min.js.map +0 -1
  1123. package/dist/utils/_virtual/decode-data-html.js +0 -2
  1124. package/dist/utils/_virtual/decode-data-html.js.map +0 -1
  1125. package/dist/utils/_virtual/decode-data-xml.js +0 -2
  1126. package/dist/utils/_virtual/decode-data-xml.js.map +0 -1
  1127. package/dist/utils/_virtual/decode.js +0 -2
  1128. package/dist/utils/_virtual/decode.js.map +0 -1
  1129. package/dist/utils/_virtual/decode_codepoint.js +0 -2
  1130. package/dist/utils/_virtual/decode_codepoint.js.map +0 -1
  1131. package/dist/utils/_virtual/encode-html.js +0 -2
  1132. package/dist/utils/_virtual/encode-html.js.map +0 -1
  1133. package/dist/utils/_virtual/encode.js +0 -2
  1134. package/dist/utils/_virtual/encode.js.map +0 -1
  1135. package/dist/utils/_virtual/escape.js +0 -2
  1136. package/dist/utils/_virtual/escape.js.map +0 -1
  1137. package/dist/utils/_virtual/feeds.js +0 -2
  1138. package/dist/utils/_virtual/feeds.js.map +0 -1
  1139. package/dist/utils/_virtual/foreignNames.js +0 -2
  1140. package/dist/utils/_virtual/foreignNames.js.map +0 -1
  1141. package/dist/utils/_virtual/helpers.js +0 -2
  1142. package/dist/utils/_virtual/helpers.js.map +0 -1
  1143. package/dist/utils/_virtual/index.js +0 -2
  1144. package/dist/utils/_virtual/index.js.map +0 -1
  1145. package/dist/utils/_virtual/index2.js +0 -2
  1146. package/dist/utils/_virtual/index2.js.map +0 -1
  1147. package/dist/utils/_virtual/index3.js +0 -2
  1148. package/dist/utils/_virtual/index3.js.map +0 -1
  1149. package/dist/utils/_virtual/index4.js +0 -2
  1150. package/dist/utils/_virtual/index4.js.map +0 -1
  1151. package/dist/utils/_virtual/index5.js +0 -2
  1152. package/dist/utils/_virtual/index5.js.map +0 -1
  1153. package/dist/utils/_virtual/index6.js +0 -2
  1154. package/dist/utils/_virtual/index6.js.map +0 -1
  1155. package/dist/utils/_virtual/index7.js +0 -2
  1156. package/dist/utils/_virtual/index7.js.map +0 -1
  1157. package/dist/utils/_virtual/index8.js +0 -2
  1158. package/dist/utils/_virtual/index8.js.map +0 -1
  1159. package/dist/utils/_virtual/is-plain-object.js +0 -2
  1160. package/dist/utils/_virtual/is-plain-object.js.map +0 -1
  1161. package/dist/utils/_virtual/legacy.js +0 -2
  1162. package/dist/utils/_virtual/legacy.js.map +0 -1
  1163. package/dist/utils/_virtual/manipulation.js +0 -2
  1164. package/dist/utils/_virtual/manipulation.js.map +0 -1
  1165. package/dist/utils/_virtual/mapping-list.js +0 -2
  1166. package/dist/utils/_virtual/mapping-list.js.map +0 -1
  1167. package/dist/utils/_virtual/node.js +0 -2
  1168. package/dist/utils/_virtual/node.js.map +0 -1
  1169. package/dist/utils/_virtual/node2.js +0 -2
  1170. package/dist/utils/_virtual/node2.js.map +0 -1
  1171. package/dist/utils/_virtual/parse-srcset.js +0 -2
  1172. package/dist/utils/_virtual/parse-srcset.js.map +0 -1
  1173. package/dist/utils/_virtual/picocolors.js +0 -2
  1174. package/dist/utils/_virtual/picocolors.js.map +0 -1
  1175. package/dist/utils/_virtual/querying.js +0 -2
  1176. package/dist/utils/_virtual/querying.js.map +0 -1
  1177. package/dist/utils/_virtual/quick-sort.js +0 -2
  1178. package/dist/utils/_virtual/quick-sort.js.map +0 -1
  1179. package/dist/utils/_virtual/react.development.js +0 -2
  1180. package/dist/utils/_virtual/react.development.js.map +0 -1
  1181. package/dist/utils/_virtual/react.production.min.js +0 -2
  1182. package/dist/utils/_virtual/react.production.min.js.map +0 -1
  1183. package/dist/utils/_virtual/source-map-consumer.js +0 -2
  1184. package/dist/utils/_virtual/source-map-consumer.js.map +0 -1
  1185. package/dist/utils/_virtual/source-map-generator.js +0 -2
  1186. package/dist/utils/_virtual/source-map-generator.js.map +0 -1
  1187. package/dist/utils/_virtual/source-map.js +0 -2
  1188. package/dist/utils/_virtual/source-map.js.map +0 -1
  1189. package/dist/utils/_virtual/source-node.js +0 -2
  1190. package/dist/utils/_virtual/source-node.js.map +0 -1
  1191. package/dist/utils/_virtual/stringify.js +0 -2
  1192. package/dist/utils/_virtual/stringify.js.map +0 -1
  1193. package/dist/utils/_virtual/symbols.js +0 -2
  1194. package/dist/utils/_virtual/symbols.js.map +0 -1
  1195. package/dist/utils/_virtual/traversal.js +0 -2
  1196. package/dist/utils/_virtual/traversal.js.map +0 -1
  1197. package/dist/utils/_virtual/util.js +0 -2
  1198. package/dist/utils/_virtual/util.js.map +0 -1
  1199. package/dist/utils/esm/_virtual/Parser.js +0 -2
  1200. package/dist/utils/esm/_virtual/Parser.js.map +0 -1
  1201. package/dist/utils/esm/_virtual/Tokenizer.js +0 -2
  1202. package/dist/utils/esm/_virtual/Tokenizer.js.map +0 -1
  1203. package/dist/utils/esm/_virtual/array-set.js +0 -2
  1204. package/dist/utils/esm/_virtual/array-set.js.map +0 -1
  1205. package/dist/utils/esm/_virtual/base64-vlq.js +0 -2
  1206. package/dist/utils/esm/_virtual/base64-vlq.js.map +0 -1
  1207. package/dist/utils/esm/_virtual/base64.js +0 -2
  1208. package/dist/utils/esm/_virtual/base64.js.map +0 -1
  1209. package/dist/utils/esm/_virtual/binary-search.js +0 -2
  1210. package/dist/utils/esm/_virtual/binary-search.js.map +0 -1
  1211. package/dist/utils/esm/_virtual/dayjs.min.js +0 -2
  1212. package/dist/utils/esm/_virtual/dayjs.min.js.map +0 -1
  1213. package/dist/utils/esm/_virtual/decode-data-html.js +0 -2
  1214. package/dist/utils/esm/_virtual/decode-data-html.js.map +0 -1
  1215. package/dist/utils/esm/_virtual/decode-data-xml.js +0 -2
  1216. package/dist/utils/esm/_virtual/decode-data-xml.js.map +0 -1
  1217. package/dist/utils/esm/_virtual/decode.js +0 -2
  1218. package/dist/utils/esm/_virtual/decode.js.map +0 -1
  1219. package/dist/utils/esm/_virtual/decode_codepoint.js +0 -2
  1220. package/dist/utils/esm/_virtual/decode_codepoint.js.map +0 -1
  1221. package/dist/utils/esm/_virtual/encode-html.js +0 -2
  1222. package/dist/utils/esm/_virtual/encode-html.js.map +0 -1
  1223. package/dist/utils/esm/_virtual/encode.js +0 -2
  1224. package/dist/utils/esm/_virtual/encode.js.map +0 -1
  1225. package/dist/utils/esm/_virtual/escape.js +0 -2
  1226. package/dist/utils/esm/_virtual/escape.js.map +0 -1
  1227. package/dist/utils/esm/_virtual/feeds.js +0 -2
  1228. package/dist/utils/esm/_virtual/feeds.js.map +0 -1
  1229. package/dist/utils/esm/_virtual/foreignNames.js +0 -2
  1230. package/dist/utils/esm/_virtual/foreignNames.js.map +0 -1
  1231. package/dist/utils/esm/_virtual/helpers.js +0 -2
  1232. package/dist/utils/esm/_virtual/helpers.js.map +0 -1
  1233. package/dist/utils/esm/_virtual/index.js +0 -2
  1234. package/dist/utils/esm/_virtual/index.js.map +0 -1
  1235. package/dist/utils/esm/_virtual/index2.js +0 -2
  1236. package/dist/utils/esm/_virtual/index2.js.map +0 -1
  1237. package/dist/utils/esm/_virtual/index3.js +0 -2
  1238. package/dist/utils/esm/_virtual/index3.js.map +0 -1
  1239. package/dist/utils/esm/_virtual/index4.js +0 -2
  1240. package/dist/utils/esm/_virtual/index4.js.map +0 -1
  1241. package/dist/utils/esm/_virtual/index5.js +0 -2
  1242. package/dist/utils/esm/_virtual/index5.js.map +0 -1
  1243. package/dist/utils/esm/_virtual/index6.js +0 -2
  1244. package/dist/utils/esm/_virtual/index6.js.map +0 -1
  1245. package/dist/utils/esm/_virtual/index7.js +0 -2
  1246. package/dist/utils/esm/_virtual/index7.js.map +0 -1
  1247. package/dist/utils/esm/_virtual/index8.js +0 -2
  1248. package/dist/utils/esm/_virtual/index8.js.map +0 -1
  1249. package/dist/utils/esm/_virtual/is-plain-object.js +0 -2
  1250. package/dist/utils/esm/_virtual/is-plain-object.js.map +0 -1
  1251. package/dist/utils/esm/_virtual/legacy.js +0 -2
  1252. package/dist/utils/esm/_virtual/legacy.js.map +0 -1
  1253. package/dist/utils/esm/_virtual/manipulation.js +0 -2
  1254. package/dist/utils/esm/_virtual/manipulation.js.map +0 -1
  1255. package/dist/utils/esm/_virtual/mapping-list.js +0 -2
  1256. package/dist/utils/esm/_virtual/mapping-list.js.map +0 -1
  1257. package/dist/utils/esm/_virtual/node.js +0 -2
  1258. package/dist/utils/esm/_virtual/node.js.map +0 -1
  1259. package/dist/utils/esm/_virtual/node2.js +0 -2
  1260. package/dist/utils/esm/_virtual/node2.js.map +0 -1
  1261. package/dist/utils/esm/_virtual/parse-srcset.js +0 -2
  1262. package/dist/utils/esm/_virtual/parse-srcset.js.map +0 -1
  1263. package/dist/utils/esm/_virtual/picocolors.js +0 -2
  1264. package/dist/utils/esm/_virtual/picocolors.js.map +0 -1
  1265. package/dist/utils/esm/_virtual/querying.js +0 -2
  1266. package/dist/utils/esm/_virtual/querying.js.map +0 -1
  1267. package/dist/utils/esm/_virtual/quick-sort.js +0 -2
  1268. package/dist/utils/esm/_virtual/quick-sort.js.map +0 -1
  1269. package/dist/utils/esm/_virtual/react.development.js +0 -2
  1270. package/dist/utils/esm/_virtual/react.development.js.map +0 -1
  1271. package/dist/utils/esm/_virtual/react.production.min.js +0 -2
  1272. package/dist/utils/esm/_virtual/react.production.min.js.map +0 -1
  1273. package/dist/utils/esm/_virtual/source-map-consumer.js +0 -2
  1274. package/dist/utils/esm/_virtual/source-map-consumer.js.map +0 -1
  1275. package/dist/utils/esm/_virtual/source-map-generator.js +0 -2
  1276. package/dist/utils/esm/_virtual/source-map-generator.js.map +0 -1
  1277. package/dist/utils/esm/_virtual/source-map.js +0 -2
  1278. package/dist/utils/esm/_virtual/source-map.js.map +0 -1
  1279. package/dist/utils/esm/_virtual/source-node.js +0 -2
  1280. package/dist/utils/esm/_virtual/source-node.js.map +0 -1
  1281. package/dist/utils/esm/_virtual/stringify.js +0 -2
  1282. package/dist/utils/esm/_virtual/stringify.js.map +0 -1
  1283. package/dist/utils/esm/_virtual/symbols.js +0 -2
  1284. package/dist/utils/esm/_virtual/symbols.js.map +0 -1
  1285. package/dist/utils/esm/_virtual/traversal.js +0 -2
  1286. package/dist/utils/esm/_virtual/traversal.js.map +0 -1
  1287. package/dist/utils/esm/_virtual/util.js +0 -2
  1288. package/dist/utils/esm/_virtual/util.js.map +0 -1
  1289. package/dist/utils/esm/node_modules/dayjs/dayjs.min.js +0 -2
  1290. package/dist/utils/esm/node_modules/dayjs/dayjs.min.js.map +0 -1
  1291. package/dist/utils/esm/node_modules/deepmerge/dist/cjs.js +0 -2
  1292. package/dist/utils/esm/node_modules/deepmerge/dist/cjs.js.map +0 -1
  1293. package/dist/utils/esm/node_modules/dom-serializer/lib/foreignNames.js +0 -2
  1294. package/dist/utils/esm/node_modules/dom-serializer/lib/foreignNames.js.map +0 -1
  1295. package/dist/utils/esm/node_modules/dom-serializer/lib/index.js +0 -2
  1296. package/dist/utils/esm/node_modules/dom-serializer/lib/index.js.map +0 -1
  1297. package/dist/utils/esm/node_modules/domelementtype/lib/index.js +0 -2
  1298. package/dist/utils/esm/node_modules/domelementtype/lib/index.js.map +0 -1
  1299. package/dist/utils/esm/node_modules/domutils/lib/feeds.js +0 -2
  1300. package/dist/utils/esm/node_modules/domutils/lib/feeds.js.map +0 -1
  1301. package/dist/utils/esm/node_modules/domutils/lib/helpers.js +0 -2
  1302. package/dist/utils/esm/node_modules/domutils/lib/helpers.js.map +0 -1
  1303. package/dist/utils/esm/node_modules/domutils/lib/index.js +0 -2
  1304. package/dist/utils/esm/node_modules/domutils/lib/index.js.map +0 -1
  1305. package/dist/utils/esm/node_modules/domutils/lib/legacy.js +0 -2
  1306. package/dist/utils/esm/node_modules/domutils/lib/legacy.js.map +0 -1
  1307. package/dist/utils/esm/node_modules/domutils/lib/manipulation.js +0 -2
  1308. package/dist/utils/esm/node_modules/domutils/lib/manipulation.js.map +0 -1
  1309. package/dist/utils/esm/node_modules/domutils/lib/querying.js +0 -2
  1310. package/dist/utils/esm/node_modules/domutils/lib/querying.js.map +0 -1
  1311. package/dist/utils/esm/node_modules/domutils/lib/stringify.js +0 -2
  1312. package/dist/utils/esm/node_modules/domutils/lib/stringify.js.map +0 -1
  1313. package/dist/utils/esm/node_modules/domutils/lib/traversal.js +0 -2
  1314. package/dist/utils/esm/node_modules/domutils/lib/traversal.js.map +0 -1
  1315. package/dist/utils/esm/node_modules/domutils/node_modules/domhandler/lib/index.js +0 -2
  1316. package/dist/utils/esm/node_modules/domutils/node_modules/domhandler/lib/index.js.map +0 -1
  1317. package/dist/utils/esm/node_modules/domutils/node_modules/domhandler/lib/node.js +0 -2
  1318. package/dist/utils/esm/node_modules/domutils/node_modules/domhandler/lib/node.js.map +0 -1
  1319. package/dist/utils/esm/node_modules/entities/lib/decode.js +0 -2
  1320. package/dist/utils/esm/node_modules/entities/lib/decode.js.map +0 -1
  1321. package/dist/utils/esm/node_modules/entities/lib/decode_codepoint.js +0 -2
  1322. package/dist/utils/esm/node_modules/entities/lib/decode_codepoint.js.map +0 -1
  1323. package/dist/utils/esm/node_modules/entities/lib/encode.js +0 -2
  1324. package/dist/utils/esm/node_modules/entities/lib/encode.js.map +0 -1
  1325. package/dist/utils/esm/node_modules/entities/lib/escape.js +0 -2
  1326. package/dist/utils/esm/node_modules/entities/lib/escape.js.map +0 -1
  1327. package/dist/utils/esm/node_modules/entities/lib/generated/decode-data-html.js +0 -2
  1328. package/dist/utils/esm/node_modules/entities/lib/generated/decode-data-html.js.map +0 -1
  1329. package/dist/utils/esm/node_modules/entities/lib/generated/decode-data-xml.js +0 -2
  1330. package/dist/utils/esm/node_modules/entities/lib/generated/decode-data-xml.js.map +0 -1
  1331. package/dist/utils/esm/node_modules/entities/lib/generated/encode-html.js +0 -2
  1332. package/dist/utils/esm/node_modules/entities/lib/generated/encode-html.js.map +0 -1
  1333. package/dist/utils/esm/node_modules/entities/lib/index.js +0 -2
  1334. package/dist/utils/esm/node_modules/entities/lib/index.js.map +0 -1
  1335. package/dist/utils/esm/node_modules/htmlparser2/lib/Parser.js +0 -2
  1336. package/dist/utils/esm/node_modules/htmlparser2/lib/Parser.js.map +0 -1
  1337. package/dist/utils/esm/node_modules/htmlparser2/lib/Tokenizer.js +0 -2
  1338. package/dist/utils/esm/node_modules/htmlparser2/lib/Tokenizer.js.map +0 -1
  1339. package/dist/utils/esm/node_modules/htmlparser2/lib/index.js +0 -2
  1340. package/dist/utils/esm/node_modules/htmlparser2/lib/index.js.map +0 -1
  1341. package/dist/utils/esm/node_modules/htmlparser2/node_modules/domhandler/lib/index.js +0 -2
  1342. package/dist/utils/esm/node_modules/htmlparser2/node_modules/domhandler/lib/index.js.map +0 -1
  1343. package/dist/utils/esm/node_modules/htmlparser2/node_modules/domhandler/lib/node.js +0 -2
  1344. package/dist/utils/esm/node_modules/htmlparser2/node_modules/domhandler/lib/node.js.map +0 -1
  1345. package/dist/utils/esm/node_modules/is-plain-object/dist/is-plain-object.js +0 -9
  1346. package/dist/utils/esm/node_modules/is-plain-object/dist/is-plain-object.js.map +0 -1
  1347. package/dist/utils/esm/node_modules/nanoid/non-secure/index.js +0 -2
  1348. package/dist/utils/esm/node_modules/nanoid/non-secure/index.js.map +0 -1
  1349. package/dist/utils/esm/node_modules/parse-srcset/src/parse-srcset.js +0 -2
  1350. package/dist/utils/esm/node_modules/parse-srcset/src/parse-srcset.js.map +0 -1
  1351. package/dist/utils/esm/node_modules/picocolors/picocolors.js +0 -2
  1352. package/dist/utils/esm/node_modules/picocolors/picocolors.js.map +0 -1
  1353. package/dist/utils/esm/node_modules/ramda/es/bind.js +0 -2
  1354. package/dist/utils/esm/node_modules/ramda/es/bind.js.map +0 -1
  1355. package/dist/utils/esm/node_modules/ramda/es/curryN.js +0 -2
  1356. package/dist/utils/esm/node_modules/ramda/es/curryN.js.map +0 -1
  1357. package/dist/utils/esm/node_modules/ramda/es/equals.js +0 -2
  1358. package/dist/utils/esm/node_modules/ramda/es/equals.js.map +0 -1
  1359. package/dist/utils/esm/node_modules/ramda/es/filter.js +0 -2
  1360. package/dist/utils/esm/node_modules/ramda/es/filter.js.map +0 -1
  1361. package/dist/utils/esm/node_modules/ramda/es/identity.js +0 -2
  1362. package/dist/utils/esm/node_modules/ramda/es/identity.js.map +0 -1
  1363. package/dist/utils/esm/node_modules/ramda/es/internal/_arity.js +0 -2
  1364. package/dist/utils/esm/node_modules/ramda/es/internal/_arity.js.map +0 -1
  1365. package/dist/utils/esm/node_modules/ramda/es/internal/_arrayFromIterator.js +0 -2
  1366. package/dist/utils/esm/node_modules/ramda/es/internal/_arrayFromIterator.js.map +0 -1
  1367. package/dist/utils/esm/node_modules/ramda/es/internal/_complement.js +0 -2
  1368. package/dist/utils/esm/node_modules/ramda/es/internal/_complement.js.map +0 -1
  1369. package/dist/utils/esm/node_modules/ramda/es/internal/_curry1.js +0 -2
  1370. package/dist/utils/esm/node_modules/ramda/es/internal/_curry1.js.map +0 -1
  1371. package/dist/utils/esm/node_modules/ramda/es/internal/_curry2.js +0 -2
  1372. package/dist/utils/esm/node_modules/ramda/es/internal/_curry2.js.map +0 -1
  1373. package/dist/utils/esm/node_modules/ramda/es/internal/_curryN.js +0 -2
  1374. package/dist/utils/esm/node_modules/ramda/es/internal/_curryN.js.map +0 -1
  1375. package/dist/utils/esm/node_modules/ramda/es/internal/_dispatchable.js +0 -2
  1376. package/dist/utils/esm/node_modules/ramda/es/internal/_dispatchable.js.map +0 -1
  1377. package/dist/utils/esm/node_modules/ramda/es/internal/_equals.js +0 -2
  1378. package/dist/utils/esm/node_modules/ramda/es/internal/_equals.js.map +0 -1
  1379. package/dist/utils/esm/node_modules/ramda/es/internal/_filter.js +0 -2
  1380. package/dist/utils/esm/node_modules/ramda/es/internal/_filter.js.map +0 -1
  1381. package/dist/utils/esm/node_modules/ramda/es/internal/_functionName.js +0 -2
  1382. package/dist/utils/esm/node_modules/ramda/es/internal/_functionName.js.map +0 -1
  1383. package/dist/utils/esm/node_modules/ramda/es/internal/_has.js +0 -2
  1384. package/dist/utils/esm/node_modules/ramda/es/internal/_has.js.map +0 -1
  1385. package/dist/utils/esm/node_modules/ramda/es/internal/_identity.js +0 -2
  1386. package/dist/utils/esm/node_modules/ramda/es/internal/_identity.js.map +0 -1
  1387. package/dist/utils/esm/node_modules/ramda/es/internal/_includes.js +0 -2
  1388. package/dist/utils/esm/node_modules/ramda/es/internal/_includes.js.map +0 -1
  1389. package/dist/utils/esm/node_modules/ramda/es/internal/_includesWith.js +0 -2
  1390. package/dist/utils/esm/node_modules/ramda/es/internal/_includesWith.js.map +0 -1
  1391. package/dist/utils/esm/node_modules/ramda/es/internal/_indexOf.js +0 -2
  1392. package/dist/utils/esm/node_modules/ramda/es/internal/_indexOf.js.map +0 -1
  1393. package/dist/utils/esm/node_modules/ramda/es/internal/_isArguments.js +0 -2
  1394. package/dist/utils/esm/node_modules/ramda/es/internal/_isArguments.js.map +0 -1
  1395. package/dist/utils/esm/node_modules/ramda/es/internal/_isArray.js +0 -2
  1396. package/dist/utils/esm/node_modules/ramda/es/internal/_isArray.js.map +0 -1
  1397. package/dist/utils/esm/node_modules/ramda/es/internal/_isArrayLike.js +0 -2
  1398. package/dist/utils/esm/node_modules/ramda/es/internal/_isArrayLike.js.map +0 -1
  1399. package/dist/utils/esm/node_modules/ramda/es/internal/_isFunction.js +0 -2
  1400. package/dist/utils/esm/node_modules/ramda/es/internal/_isFunction.js.map +0 -1
  1401. package/dist/utils/esm/node_modules/ramda/es/internal/_isObject.js +0 -2
  1402. package/dist/utils/esm/node_modules/ramda/es/internal/_isObject.js.map +0 -1
  1403. package/dist/utils/esm/node_modules/ramda/es/internal/_isPlaceholder.js +0 -2
  1404. package/dist/utils/esm/node_modules/ramda/es/internal/_isPlaceholder.js.map +0 -1
  1405. package/dist/utils/esm/node_modules/ramda/es/internal/_isString.js +0 -2
  1406. package/dist/utils/esm/node_modules/ramda/es/internal/_isString.js.map +0 -1
  1407. package/dist/utils/esm/node_modules/ramda/es/internal/_isTransformer.js +0 -2
  1408. package/dist/utils/esm/node_modules/ramda/es/internal/_isTransformer.js.map +0 -1
  1409. package/dist/utils/esm/node_modules/ramda/es/internal/_map.js +0 -2
  1410. package/dist/utils/esm/node_modules/ramda/es/internal/_map.js.map +0 -1
  1411. package/dist/utils/esm/node_modules/ramda/es/internal/_objectIs.js +0 -2
  1412. package/dist/utils/esm/node_modules/ramda/es/internal/_objectIs.js.map +0 -1
  1413. package/dist/utils/esm/node_modules/ramda/es/internal/_quote.js +0 -2
  1414. package/dist/utils/esm/node_modules/ramda/es/internal/_quote.js.map +0 -1
  1415. package/dist/utils/esm/node_modules/ramda/es/internal/_reduce.js +0 -2
  1416. package/dist/utils/esm/node_modules/ramda/es/internal/_reduce.js.map +0 -1
  1417. package/dist/utils/esm/node_modules/ramda/es/internal/_toISOString.js +0 -2
  1418. package/dist/utils/esm/node_modules/ramda/es/internal/_toISOString.js.map +0 -1
  1419. package/dist/utils/esm/node_modules/ramda/es/internal/_toString.js +0 -2
  1420. package/dist/utils/esm/node_modules/ramda/es/internal/_toString.js.map +0 -1
  1421. package/dist/utils/esm/node_modules/ramda/es/internal/_xfBase.js +0 -2
  1422. package/dist/utils/esm/node_modules/ramda/es/internal/_xfBase.js.map +0 -1
  1423. package/dist/utils/esm/node_modules/ramda/es/internal/_xfilter.js +0 -2
  1424. package/dist/utils/esm/node_modules/ramda/es/internal/_xfilter.js.map +0 -1
  1425. package/dist/utils/esm/node_modules/ramda/es/internal/_xwrap.js +0 -2
  1426. package/dist/utils/esm/node_modules/ramda/es/internal/_xwrap.js.map +0 -1
  1427. package/dist/utils/esm/node_modules/ramda/es/invoker.js +0 -2
  1428. package/dist/utils/esm/node_modules/ramda/es/invoker.js.map +0 -1
  1429. package/dist/utils/esm/node_modules/ramda/es/keys.js +0 -2
  1430. package/dist/utils/esm/node_modules/ramda/es/keys.js.map +0 -1
  1431. package/dist/utils/esm/node_modules/ramda/es/memoizeWith.js +0 -2
  1432. package/dist/utils/esm/node_modules/ramda/es/memoizeWith.js.map +0 -1
  1433. package/dist/utils/esm/node_modules/ramda/es/reject.js +0 -2
  1434. package/dist/utils/esm/node_modules/ramda/es/reject.js.map +0 -1
  1435. package/dist/utils/esm/node_modules/ramda/es/toLower.js +0 -2
  1436. package/dist/utils/esm/node_modules/ramda/es/toLower.js.map +0 -1
  1437. package/dist/utils/esm/node_modules/ramda/es/toString.js +0 -2
  1438. package/dist/utils/esm/node_modules/ramda/es/toString.js.map +0 -1
  1439. package/dist/utils/esm/node_modules/ramda/es/toUpper.js +0 -2
  1440. package/dist/utils/esm/node_modules/ramda/es/toUpper.js.map +0 -1
  1441. package/dist/utils/esm/node_modules/ramda/es/type.js +0 -2
  1442. package/dist/utils/esm/node_modules/ramda/es/type.js.map +0 -1
  1443. package/dist/utils/esm/node_modules/react/cjs/react.development.js +0 -11
  1444. package/dist/utils/esm/node_modules/react/cjs/react.development.js.map +0 -1
  1445. package/dist/utils/esm/node_modules/react/cjs/react.production.min.js +0 -11
  1446. package/dist/utils/esm/node_modules/react/cjs/react.production.min.js.map +0 -1
  1447. package/dist/utils/esm/node_modules/react/index.js +0 -2
  1448. package/dist/utils/esm/node_modules/react/index.js.map +0 -1
  1449. package/dist/utils/esm/node_modules/sanitize-html/index.js +0 -2
  1450. package/dist/utils/esm/node_modules/sanitize-html/index.js.map +0 -1
  1451. package/dist/utils/esm/node_modules/sanitize-html/node_modules/escape-string-regexp/index.js +0 -2
  1452. package/dist/utils/esm/node_modules/sanitize-html/node_modules/escape-string-regexp/index.js.map +0 -1
  1453. package/dist/utils/esm/node_modules/sanitize-html/node_modules/postcss/lib/at-rule.js +0 -2
  1454. package/dist/utils/esm/node_modules/sanitize-html/node_modules/postcss/lib/at-rule.js.map +0 -1
  1455. package/dist/utils/esm/node_modules/sanitize-html/node_modules/postcss/lib/comment.js +0 -2
  1456. package/dist/utils/esm/node_modules/sanitize-html/node_modules/postcss/lib/comment.js.map +0 -1
  1457. package/dist/utils/esm/node_modules/sanitize-html/node_modules/postcss/lib/container.js +0 -2
  1458. package/dist/utils/esm/node_modules/sanitize-html/node_modules/postcss/lib/container.js.map +0 -1
  1459. package/dist/utils/esm/node_modules/sanitize-html/node_modules/postcss/lib/css-syntax-error.js +0 -2
  1460. package/dist/utils/esm/node_modules/sanitize-html/node_modules/postcss/lib/css-syntax-error.js.map +0 -1
  1461. package/dist/utils/esm/node_modules/sanitize-html/node_modules/postcss/lib/declaration.js +0 -2
  1462. package/dist/utils/esm/node_modules/sanitize-html/node_modules/postcss/lib/declaration.js.map +0 -1
  1463. package/dist/utils/esm/node_modules/sanitize-html/node_modules/postcss/lib/document.js +0 -2
  1464. package/dist/utils/esm/node_modules/sanitize-html/node_modules/postcss/lib/document.js.map +0 -1
  1465. package/dist/utils/esm/node_modules/sanitize-html/node_modules/postcss/lib/fromJSON.js +0 -2
  1466. package/dist/utils/esm/node_modules/sanitize-html/node_modules/postcss/lib/fromJSON.js.map +0 -1
  1467. package/dist/utils/esm/node_modules/sanitize-html/node_modules/postcss/lib/input.js +0 -2
  1468. package/dist/utils/esm/node_modules/sanitize-html/node_modules/postcss/lib/input.js.map +0 -1
  1469. package/dist/utils/esm/node_modules/sanitize-html/node_modules/postcss/lib/lazy-result.js +0 -2
  1470. package/dist/utils/esm/node_modules/sanitize-html/node_modules/postcss/lib/lazy-result.js.map +0 -1
  1471. package/dist/utils/esm/node_modules/sanitize-html/node_modules/postcss/lib/list.js +0 -2
  1472. package/dist/utils/esm/node_modules/sanitize-html/node_modules/postcss/lib/list.js.map +0 -1
  1473. package/dist/utils/esm/node_modules/sanitize-html/node_modules/postcss/lib/map-generator.js +0 -2
  1474. package/dist/utils/esm/node_modules/sanitize-html/node_modules/postcss/lib/map-generator.js.map +0 -1
  1475. package/dist/utils/esm/node_modules/sanitize-html/node_modules/postcss/lib/no-work-result.js +0 -2
  1476. package/dist/utils/esm/node_modules/sanitize-html/node_modules/postcss/lib/no-work-result.js.map +0 -1
  1477. package/dist/utils/esm/node_modules/sanitize-html/node_modules/postcss/lib/node.js +0 -2
  1478. package/dist/utils/esm/node_modules/sanitize-html/node_modules/postcss/lib/node.js.map +0 -1
  1479. package/dist/utils/esm/node_modules/sanitize-html/node_modules/postcss/lib/parse.js +0 -2
  1480. package/dist/utils/esm/node_modules/sanitize-html/node_modules/postcss/lib/parse.js.map +0 -1
  1481. package/dist/utils/esm/node_modules/sanitize-html/node_modules/postcss/lib/parser.js +0 -2
  1482. package/dist/utils/esm/node_modules/sanitize-html/node_modules/postcss/lib/parser.js.map +0 -1
  1483. package/dist/utils/esm/node_modules/sanitize-html/node_modules/postcss/lib/postcss.js +0 -2
  1484. package/dist/utils/esm/node_modules/sanitize-html/node_modules/postcss/lib/postcss.js.map +0 -1
  1485. package/dist/utils/esm/node_modules/sanitize-html/node_modules/postcss/lib/previous-map.js +0 -2
  1486. package/dist/utils/esm/node_modules/sanitize-html/node_modules/postcss/lib/previous-map.js.map +0 -1
  1487. package/dist/utils/esm/node_modules/sanitize-html/node_modules/postcss/lib/processor.js +0 -2
  1488. package/dist/utils/esm/node_modules/sanitize-html/node_modules/postcss/lib/processor.js.map +0 -1
  1489. package/dist/utils/esm/node_modules/sanitize-html/node_modules/postcss/lib/result.js +0 -2
  1490. package/dist/utils/esm/node_modules/sanitize-html/node_modules/postcss/lib/result.js.map +0 -1
  1491. package/dist/utils/esm/node_modules/sanitize-html/node_modules/postcss/lib/root.js +0 -2
  1492. package/dist/utils/esm/node_modules/sanitize-html/node_modules/postcss/lib/root.js.map +0 -1
  1493. package/dist/utils/esm/node_modules/sanitize-html/node_modules/postcss/lib/rule.js +0 -2
  1494. package/dist/utils/esm/node_modules/sanitize-html/node_modules/postcss/lib/rule.js.map +0 -1
  1495. package/dist/utils/esm/node_modules/sanitize-html/node_modules/postcss/lib/stringifier.js +0 -2
  1496. package/dist/utils/esm/node_modules/sanitize-html/node_modules/postcss/lib/stringifier.js.map +0 -1
  1497. package/dist/utils/esm/node_modules/sanitize-html/node_modules/postcss/lib/stringify.js +0 -2
  1498. package/dist/utils/esm/node_modules/sanitize-html/node_modules/postcss/lib/stringify.js.map +0 -1
  1499. package/dist/utils/esm/node_modules/sanitize-html/node_modules/postcss/lib/symbols.js +0 -2
  1500. package/dist/utils/esm/node_modules/sanitize-html/node_modules/postcss/lib/symbols.js.map +0 -1
  1501. package/dist/utils/esm/node_modules/sanitize-html/node_modules/postcss/lib/terminal-highlight.js +0 -2
  1502. package/dist/utils/esm/node_modules/sanitize-html/node_modules/postcss/lib/terminal-highlight.js.map +0 -1
  1503. package/dist/utils/esm/node_modules/sanitize-html/node_modules/postcss/lib/tokenize.js +0 -2
  1504. package/dist/utils/esm/node_modules/sanitize-html/node_modules/postcss/lib/tokenize.js.map +0 -1
  1505. package/dist/utils/esm/node_modules/sanitize-html/node_modules/postcss/lib/warn-once.js +0 -2
  1506. package/dist/utils/esm/node_modules/sanitize-html/node_modules/postcss/lib/warn-once.js.map +0 -1
  1507. package/dist/utils/esm/node_modules/sanitize-html/node_modules/postcss/lib/warning.js +0 -2
  1508. package/dist/utils/esm/node_modules/sanitize-html/node_modules/postcss/lib/warning.js.map +0 -1
  1509. package/dist/utils/esm/node_modules/source-map-js/lib/array-set.js +0 -2
  1510. package/dist/utils/esm/node_modules/source-map-js/lib/array-set.js.map +0 -1
  1511. package/dist/utils/esm/node_modules/source-map-js/lib/base64-vlq.js +0 -2
  1512. package/dist/utils/esm/node_modules/source-map-js/lib/base64-vlq.js.map +0 -1
  1513. package/dist/utils/esm/node_modules/source-map-js/lib/base64.js +0 -2
  1514. package/dist/utils/esm/node_modules/source-map-js/lib/base64.js.map +0 -1
  1515. package/dist/utils/esm/node_modules/source-map-js/lib/binary-search.js +0 -2
  1516. package/dist/utils/esm/node_modules/source-map-js/lib/binary-search.js.map +0 -1
  1517. package/dist/utils/esm/node_modules/source-map-js/lib/mapping-list.js +0 -2
  1518. package/dist/utils/esm/node_modules/source-map-js/lib/mapping-list.js.map +0 -1
  1519. package/dist/utils/esm/node_modules/source-map-js/lib/quick-sort.js +0 -2
  1520. package/dist/utils/esm/node_modules/source-map-js/lib/quick-sort.js.map +0 -1
  1521. package/dist/utils/esm/node_modules/source-map-js/lib/source-map-consumer.js +0 -2
  1522. package/dist/utils/esm/node_modules/source-map-js/lib/source-map-consumer.js.map +0 -1
  1523. package/dist/utils/esm/node_modules/source-map-js/lib/source-map-generator.js +0 -2
  1524. package/dist/utils/esm/node_modules/source-map-js/lib/source-map-generator.js.map +0 -1
  1525. package/dist/utils/esm/node_modules/source-map-js/lib/source-node.js +0 -2
  1526. package/dist/utils/esm/node_modules/source-map-js/lib/source-node.js.map +0 -1
  1527. package/dist/utils/esm/node_modules/source-map-js/lib/util.js +0 -2
  1528. package/dist/utils/esm/node_modules/source-map-js/lib/util.js.map +0 -1
  1529. package/dist/utils/esm/node_modules/source-map-js/source-map.js +0 -2
  1530. package/dist/utils/esm/node_modules/source-map-js/source-map.js.map +0 -1
  1531. package/dist/utils/node_modules/dayjs/dayjs.min.js +0 -2
  1532. package/dist/utils/node_modules/dayjs/dayjs.min.js.map +0 -1
  1533. package/dist/utils/node_modules/deepmerge/dist/cjs.js +0 -2
  1534. package/dist/utils/node_modules/deepmerge/dist/cjs.js.map +0 -1
  1535. package/dist/utils/node_modules/dom-serializer/lib/foreignNames.js +0 -2
  1536. package/dist/utils/node_modules/dom-serializer/lib/foreignNames.js.map +0 -1
  1537. package/dist/utils/node_modules/dom-serializer/lib/index.js +0 -2
  1538. package/dist/utils/node_modules/dom-serializer/lib/index.js.map +0 -1
  1539. package/dist/utils/node_modules/domelementtype/lib/index.js +0 -2
  1540. package/dist/utils/node_modules/domelementtype/lib/index.js.map +0 -1
  1541. package/dist/utils/node_modules/domutils/lib/feeds.js +0 -2
  1542. package/dist/utils/node_modules/domutils/lib/feeds.js.map +0 -1
  1543. package/dist/utils/node_modules/domutils/lib/helpers.js +0 -2
  1544. package/dist/utils/node_modules/domutils/lib/helpers.js.map +0 -1
  1545. package/dist/utils/node_modules/domutils/lib/index.js +0 -2
  1546. package/dist/utils/node_modules/domutils/lib/index.js.map +0 -1
  1547. package/dist/utils/node_modules/domutils/lib/legacy.js +0 -2
  1548. package/dist/utils/node_modules/domutils/lib/legacy.js.map +0 -1
  1549. package/dist/utils/node_modules/domutils/lib/manipulation.js +0 -2
  1550. package/dist/utils/node_modules/domutils/lib/manipulation.js.map +0 -1
  1551. package/dist/utils/node_modules/domutils/lib/querying.js +0 -2
  1552. package/dist/utils/node_modules/domutils/lib/querying.js.map +0 -1
  1553. package/dist/utils/node_modules/domutils/lib/stringify.js +0 -2
  1554. package/dist/utils/node_modules/domutils/lib/stringify.js.map +0 -1
  1555. package/dist/utils/node_modules/domutils/lib/traversal.js +0 -2
  1556. package/dist/utils/node_modules/domutils/lib/traversal.js.map +0 -1
  1557. package/dist/utils/node_modules/domutils/node_modules/domhandler/lib/index.js +0 -2
  1558. package/dist/utils/node_modules/domutils/node_modules/domhandler/lib/index.js.map +0 -1
  1559. package/dist/utils/node_modules/domutils/node_modules/domhandler/lib/node.js +0 -2
  1560. package/dist/utils/node_modules/domutils/node_modules/domhandler/lib/node.js.map +0 -1
  1561. package/dist/utils/node_modules/entities/lib/decode.js +0 -2
  1562. package/dist/utils/node_modules/entities/lib/decode.js.map +0 -1
  1563. package/dist/utils/node_modules/entities/lib/decode_codepoint.js +0 -2
  1564. package/dist/utils/node_modules/entities/lib/decode_codepoint.js.map +0 -1
  1565. package/dist/utils/node_modules/entities/lib/encode.js +0 -2
  1566. package/dist/utils/node_modules/entities/lib/encode.js.map +0 -1
  1567. package/dist/utils/node_modules/entities/lib/escape.js +0 -2
  1568. package/dist/utils/node_modules/entities/lib/escape.js.map +0 -1
  1569. package/dist/utils/node_modules/entities/lib/generated/decode-data-html.js +0 -2
  1570. package/dist/utils/node_modules/entities/lib/generated/decode-data-html.js.map +0 -1
  1571. package/dist/utils/node_modules/entities/lib/generated/decode-data-xml.js +0 -2
  1572. package/dist/utils/node_modules/entities/lib/generated/decode-data-xml.js.map +0 -1
  1573. package/dist/utils/node_modules/entities/lib/generated/encode-html.js +0 -2
  1574. package/dist/utils/node_modules/entities/lib/generated/encode-html.js.map +0 -1
  1575. package/dist/utils/node_modules/entities/lib/index.js +0 -2
  1576. package/dist/utils/node_modules/entities/lib/index.js.map +0 -1
  1577. package/dist/utils/node_modules/htmlparser2/lib/Parser.js +0 -2
  1578. package/dist/utils/node_modules/htmlparser2/lib/Parser.js.map +0 -1
  1579. package/dist/utils/node_modules/htmlparser2/lib/Tokenizer.js +0 -2
  1580. package/dist/utils/node_modules/htmlparser2/lib/Tokenizer.js.map +0 -1
  1581. package/dist/utils/node_modules/htmlparser2/lib/index.js +0 -2
  1582. package/dist/utils/node_modules/htmlparser2/lib/index.js.map +0 -1
  1583. package/dist/utils/node_modules/htmlparser2/node_modules/domhandler/lib/index.js +0 -2
  1584. package/dist/utils/node_modules/htmlparser2/node_modules/domhandler/lib/index.js.map +0 -1
  1585. package/dist/utils/node_modules/htmlparser2/node_modules/domhandler/lib/node.js +0 -2
  1586. package/dist/utils/node_modules/htmlparser2/node_modules/domhandler/lib/node.js.map +0 -1
  1587. package/dist/utils/node_modules/is-plain-object/dist/is-plain-object.js +0 -9
  1588. package/dist/utils/node_modules/is-plain-object/dist/is-plain-object.js.map +0 -1
  1589. package/dist/utils/node_modules/nanoid/non-secure/index.js +0 -2
  1590. package/dist/utils/node_modules/nanoid/non-secure/index.js.map +0 -1
  1591. package/dist/utils/node_modules/parse-srcset/src/parse-srcset.js +0 -2
  1592. package/dist/utils/node_modules/parse-srcset/src/parse-srcset.js.map +0 -1
  1593. package/dist/utils/node_modules/picocolors/picocolors.js +0 -2
  1594. package/dist/utils/node_modules/picocolors/picocolors.js.map +0 -1
  1595. package/dist/utils/node_modules/ramda/es/bind.js +0 -2
  1596. package/dist/utils/node_modules/ramda/es/bind.js.map +0 -1
  1597. package/dist/utils/node_modules/ramda/es/curryN.js +0 -2
  1598. package/dist/utils/node_modules/ramda/es/curryN.js.map +0 -1
  1599. package/dist/utils/node_modules/ramda/es/equals.js +0 -2
  1600. package/dist/utils/node_modules/ramda/es/equals.js.map +0 -1
  1601. package/dist/utils/node_modules/ramda/es/filter.js +0 -2
  1602. package/dist/utils/node_modules/ramda/es/filter.js.map +0 -1
  1603. package/dist/utils/node_modules/ramda/es/identity.js +0 -2
  1604. package/dist/utils/node_modules/ramda/es/identity.js.map +0 -1
  1605. package/dist/utils/node_modules/ramda/es/internal/_arity.js +0 -2
  1606. package/dist/utils/node_modules/ramda/es/internal/_arity.js.map +0 -1
  1607. package/dist/utils/node_modules/ramda/es/internal/_arrayFromIterator.js +0 -2
  1608. package/dist/utils/node_modules/ramda/es/internal/_arrayFromIterator.js.map +0 -1
  1609. package/dist/utils/node_modules/ramda/es/internal/_complement.js +0 -2
  1610. package/dist/utils/node_modules/ramda/es/internal/_complement.js.map +0 -1
  1611. package/dist/utils/node_modules/ramda/es/internal/_curry1.js +0 -2
  1612. package/dist/utils/node_modules/ramda/es/internal/_curry1.js.map +0 -1
  1613. package/dist/utils/node_modules/ramda/es/internal/_curry2.js +0 -2
  1614. package/dist/utils/node_modules/ramda/es/internal/_curry2.js.map +0 -1
  1615. package/dist/utils/node_modules/ramda/es/internal/_curryN.js +0 -2
  1616. package/dist/utils/node_modules/ramda/es/internal/_curryN.js.map +0 -1
  1617. package/dist/utils/node_modules/ramda/es/internal/_dispatchable.js +0 -2
  1618. package/dist/utils/node_modules/ramda/es/internal/_dispatchable.js.map +0 -1
  1619. package/dist/utils/node_modules/ramda/es/internal/_equals.js +0 -2
  1620. package/dist/utils/node_modules/ramda/es/internal/_equals.js.map +0 -1
  1621. package/dist/utils/node_modules/ramda/es/internal/_filter.js +0 -2
  1622. package/dist/utils/node_modules/ramda/es/internal/_filter.js.map +0 -1
  1623. package/dist/utils/node_modules/ramda/es/internal/_functionName.js +0 -2
  1624. package/dist/utils/node_modules/ramda/es/internal/_functionName.js.map +0 -1
  1625. package/dist/utils/node_modules/ramda/es/internal/_has.js +0 -2
  1626. package/dist/utils/node_modules/ramda/es/internal/_has.js.map +0 -1
  1627. package/dist/utils/node_modules/ramda/es/internal/_identity.js +0 -2
  1628. package/dist/utils/node_modules/ramda/es/internal/_identity.js.map +0 -1
  1629. package/dist/utils/node_modules/ramda/es/internal/_includes.js +0 -2
  1630. package/dist/utils/node_modules/ramda/es/internal/_includes.js.map +0 -1
  1631. package/dist/utils/node_modules/ramda/es/internal/_includesWith.js +0 -2
  1632. package/dist/utils/node_modules/ramda/es/internal/_includesWith.js.map +0 -1
  1633. package/dist/utils/node_modules/ramda/es/internal/_indexOf.js +0 -2
  1634. package/dist/utils/node_modules/ramda/es/internal/_indexOf.js.map +0 -1
  1635. package/dist/utils/node_modules/ramda/es/internal/_isArguments.js +0 -2
  1636. package/dist/utils/node_modules/ramda/es/internal/_isArguments.js.map +0 -1
  1637. package/dist/utils/node_modules/ramda/es/internal/_isArray.js +0 -2
  1638. package/dist/utils/node_modules/ramda/es/internal/_isArray.js.map +0 -1
  1639. package/dist/utils/node_modules/ramda/es/internal/_isArrayLike.js +0 -2
  1640. package/dist/utils/node_modules/ramda/es/internal/_isArrayLike.js.map +0 -1
  1641. package/dist/utils/node_modules/ramda/es/internal/_isFunction.js +0 -2
  1642. package/dist/utils/node_modules/ramda/es/internal/_isFunction.js.map +0 -1
  1643. package/dist/utils/node_modules/ramda/es/internal/_isObject.js +0 -2
  1644. package/dist/utils/node_modules/ramda/es/internal/_isObject.js.map +0 -1
  1645. package/dist/utils/node_modules/ramda/es/internal/_isPlaceholder.js +0 -2
  1646. package/dist/utils/node_modules/ramda/es/internal/_isPlaceholder.js.map +0 -1
  1647. package/dist/utils/node_modules/ramda/es/internal/_isString.js +0 -2
  1648. package/dist/utils/node_modules/ramda/es/internal/_isString.js.map +0 -1
  1649. package/dist/utils/node_modules/ramda/es/internal/_isTransformer.js +0 -2
  1650. package/dist/utils/node_modules/ramda/es/internal/_isTransformer.js.map +0 -1
  1651. package/dist/utils/node_modules/ramda/es/internal/_map.js +0 -2
  1652. package/dist/utils/node_modules/ramda/es/internal/_map.js.map +0 -1
  1653. package/dist/utils/node_modules/ramda/es/internal/_objectIs.js +0 -2
  1654. package/dist/utils/node_modules/ramda/es/internal/_objectIs.js.map +0 -1
  1655. package/dist/utils/node_modules/ramda/es/internal/_quote.js +0 -2
  1656. package/dist/utils/node_modules/ramda/es/internal/_quote.js.map +0 -1
  1657. package/dist/utils/node_modules/ramda/es/internal/_reduce.js +0 -2
  1658. package/dist/utils/node_modules/ramda/es/internal/_reduce.js.map +0 -1
  1659. package/dist/utils/node_modules/ramda/es/internal/_toISOString.js +0 -2
  1660. package/dist/utils/node_modules/ramda/es/internal/_toISOString.js.map +0 -1
  1661. package/dist/utils/node_modules/ramda/es/internal/_toString.js +0 -2
  1662. package/dist/utils/node_modules/ramda/es/internal/_toString.js.map +0 -1
  1663. package/dist/utils/node_modules/ramda/es/internal/_xfBase.js +0 -2
  1664. package/dist/utils/node_modules/ramda/es/internal/_xfBase.js.map +0 -1
  1665. package/dist/utils/node_modules/ramda/es/internal/_xfilter.js +0 -2
  1666. package/dist/utils/node_modules/ramda/es/internal/_xfilter.js.map +0 -1
  1667. package/dist/utils/node_modules/ramda/es/internal/_xwrap.js +0 -2
  1668. package/dist/utils/node_modules/ramda/es/internal/_xwrap.js.map +0 -1
  1669. package/dist/utils/node_modules/ramda/es/invoker.js +0 -2
  1670. package/dist/utils/node_modules/ramda/es/invoker.js.map +0 -1
  1671. package/dist/utils/node_modules/ramda/es/keys.js +0 -2
  1672. package/dist/utils/node_modules/ramda/es/keys.js.map +0 -1
  1673. package/dist/utils/node_modules/ramda/es/memoizeWith.js +0 -2
  1674. package/dist/utils/node_modules/ramda/es/memoizeWith.js.map +0 -1
  1675. package/dist/utils/node_modules/ramda/es/reject.js +0 -2
  1676. package/dist/utils/node_modules/ramda/es/reject.js.map +0 -1
  1677. package/dist/utils/node_modules/ramda/es/toLower.js +0 -2
  1678. package/dist/utils/node_modules/ramda/es/toLower.js.map +0 -1
  1679. package/dist/utils/node_modules/ramda/es/toString.js +0 -2
  1680. package/dist/utils/node_modules/ramda/es/toString.js.map +0 -1
  1681. package/dist/utils/node_modules/ramda/es/toUpper.js +0 -2
  1682. package/dist/utils/node_modules/ramda/es/toUpper.js.map +0 -1
  1683. package/dist/utils/node_modules/ramda/es/type.js +0 -2
  1684. package/dist/utils/node_modules/ramda/es/type.js.map +0 -1
  1685. package/dist/utils/node_modules/react/cjs/react.development.js +0 -11
  1686. package/dist/utils/node_modules/react/cjs/react.development.js.map +0 -1
  1687. package/dist/utils/node_modules/react/cjs/react.production.min.js +0 -11
  1688. package/dist/utils/node_modules/react/cjs/react.production.min.js.map +0 -1
  1689. package/dist/utils/node_modules/react/index.js +0 -2
  1690. package/dist/utils/node_modules/react/index.js.map +0 -1
  1691. package/dist/utils/node_modules/sanitize-html/index.js +0 -2
  1692. package/dist/utils/node_modules/sanitize-html/index.js.map +0 -1
  1693. package/dist/utils/node_modules/sanitize-html/node_modules/escape-string-regexp/index.js +0 -2
  1694. package/dist/utils/node_modules/sanitize-html/node_modules/escape-string-regexp/index.js.map +0 -1
  1695. package/dist/utils/node_modules/sanitize-html/node_modules/postcss/lib/at-rule.js +0 -2
  1696. package/dist/utils/node_modules/sanitize-html/node_modules/postcss/lib/at-rule.js.map +0 -1
  1697. package/dist/utils/node_modules/sanitize-html/node_modules/postcss/lib/comment.js +0 -2
  1698. package/dist/utils/node_modules/sanitize-html/node_modules/postcss/lib/comment.js.map +0 -1
  1699. package/dist/utils/node_modules/sanitize-html/node_modules/postcss/lib/container.js +0 -2
  1700. package/dist/utils/node_modules/sanitize-html/node_modules/postcss/lib/container.js.map +0 -1
  1701. package/dist/utils/node_modules/sanitize-html/node_modules/postcss/lib/css-syntax-error.js +0 -2
  1702. package/dist/utils/node_modules/sanitize-html/node_modules/postcss/lib/css-syntax-error.js.map +0 -1
  1703. package/dist/utils/node_modules/sanitize-html/node_modules/postcss/lib/declaration.js +0 -2
  1704. package/dist/utils/node_modules/sanitize-html/node_modules/postcss/lib/declaration.js.map +0 -1
  1705. package/dist/utils/node_modules/sanitize-html/node_modules/postcss/lib/document.js +0 -2
  1706. package/dist/utils/node_modules/sanitize-html/node_modules/postcss/lib/document.js.map +0 -1
  1707. package/dist/utils/node_modules/sanitize-html/node_modules/postcss/lib/fromJSON.js +0 -2
  1708. package/dist/utils/node_modules/sanitize-html/node_modules/postcss/lib/fromJSON.js.map +0 -1
  1709. package/dist/utils/node_modules/sanitize-html/node_modules/postcss/lib/input.js +0 -2
  1710. package/dist/utils/node_modules/sanitize-html/node_modules/postcss/lib/input.js.map +0 -1
  1711. package/dist/utils/node_modules/sanitize-html/node_modules/postcss/lib/lazy-result.js +0 -2
  1712. package/dist/utils/node_modules/sanitize-html/node_modules/postcss/lib/lazy-result.js.map +0 -1
  1713. package/dist/utils/node_modules/sanitize-html/node_modules/postcss/lib/list.js +0 -2
  1714. package/dist/utils/node_modules/sanitize-html/node_modules/postcss/lib/list.js.map +0 -1
  1715. package/dist/utils/node_modules/sanitize-html/node_modules/postcss/lib/map-generator.js +0 -2
  1716. package/dist/utils/node_modules/sanitize-html/node_modules/postcss/lib/map-generator.js.map +0 -1
  1717. package/dist/utils/node_modules/sanitize-html/node_modules/postcss/lib/no-work-result.js +0 -2
  1718. package/dist/utils/node_modules/sanitize-html/node_modules/postcss/lib/no-work-result.js.map +0 -1
  1719. package/dist/utils/node_modules/sanitize-html/node_modules/postcss/lib/node.js +0 -2
  1720. package/dist/utils/node_modules/sanitize-html/node_modules/postcss/lib/node.js.map +0 -1
  1721. package/dist/utils/node_modules/sanitize-html/node_modules/postcss/lib/parse.js +0 -2
  1722. package/dist/utils/node_modules/sanitize-html/node_modules/postcss/lib/parse.js.map +0 -1
  1723. package/dist/utils/node_modules/sanitize-html/node_modules/postcss/lib/parser.js +0 -2
  1724. package/dist/utils/node_modules/sanitize-html/node_modules/postcss/lib/parser.js.map +0 -1
  1725. package/dist/utils/node_modules/sanitize-html/node_modules/postcss/lib/postcss.js +0 -2
  1726. package/dist/utils/node_modules/sanitize-html/node_modules/postcss/lib/postcss.js.map +0 -1
  1727. package/dist/utils/node_modules/sanitize-html/node_modules/postcss/lib/previous-map.js +0 -2
  1728. package/dist/utils/node_modules/sanitize-html/node_modules/postcss/lib/previous-map.js.map +0 -1
  1729. package/dist/utils/node_modules/sanitize-html/node_modules/postcss/lib/processor.js +0 -2
  1730. package/dist/utils/node_modules/sanitize-html/node_modules/postcss/lib/processor.js.map +0 -1
  1731. package/dist/utils/node_modules/sanitize-html/node_modules/postcss/lib/result.js +0 -2
  1732. package/dist/utils/node_modules/sanitize-html/node_modules/postcss/lib/result.js.map +0 -1
  1733. package/dist/utils/node_modules/sanitize-html/node_modules/postcss/lib/root.js +0 -2
  1734. package/dist/utils/node_modules/sanitize-html/node_modules/postcss/lib/root.js.map +0 -1
  1735. package/dist/utils/node_modules/sanitize-html/node_modules/postcss/lib/rule.js +0 -2
  1736. package/dist/utils/node_modules/sanitize-html/node_modules/postcss/lib/rule.js.map +0 -1
  1737. package/dist/utils/node_modules/sanitize-html/node_modules/postcss/lib/stringifier.js +0 -2
  1738. package/dist/utils/node_modules/sanitize-html/node_modules/postcss/lib/stringifier.js.map +0 -1
  1739. package/dist/utils/node_modules/sanitize-html/node_modules/postcss/lib/stringify.js +0 -2
  1740. package/dist/utils/node_modules/sanitize-html/node_modules/postcss/lib/stringify.js.map +0 -1
  1741. package/dist/utils/node_modules/sanitize-html/node_modules/postcss/lib/symbols.js +0 -2
  1742. package/dist/utils/node_modules/sanitize-html/node_modules/postcss/lib/symbols.js.map +0 -1
  1743. package/dist/utils/node_modules/sanitize-html/node_modules/postcss/lib/terminal-highlight.js +0 -2
  1744. package/dist/utils/node_modules/sanitize-html/node_modules/postcss/lib/terminal-highlight.js.map +0 -1
  1745. package/dist/utils/node_modules/sanitize-html/node_modules/postcss/lib/tokenize.js +0 -2
  1746. package/dist/utils/node_modules/sanitize-html/node_modules/postcss/lib/tokenize.js.map +0 -1
  1747. package/dist/utils/node_modules/sanitize-html/node_modules/postcss/lib/warn-once.js +0 -2
  1748. package/dist/utils/node_modules/sanitize-html/node_modules/postcss/lib/warn-once.js.map +0 -1
  1749. package/dist/utils/node_modules/sanitize-html/node_modules/postcss/lib/warning.js +0 -2
  1750. package/dist/utils/node_modules/sanitize-html/node_modules/postcss/lib/warning.js.map +0 -1
  1751. package/dist/utils/node_modules/source-map-js/lib/array-set.js +0 -2
  1752. package/dist/utils/node_modules/source-map-js/lib/array-set.js.map +0 -1
  1753. package/dist/utils/node_modules/source-map-js/lib/base64-vlq.js +0 -2
  1754. package/dist/utils/node_modules/source-map-js/lib/base64-vlq.js.map +0 -1
  1755. package/dist/utils/node_modules/source-map-js/lib/base64.js +0 -2
  1756. package/dist/utils/node_modules/source-map-js/lib/base64.js.map +0 -1
  1757. package/dist/utils/node_modules/source-map-js/lib/binary-search.js +0 -2
  1758. package/dist/utils/node_modules/source-map-js/lib/binary-search.js.map +0 -1
  1759. package/dist/utils/node_modules/source-map-js/lib/mapping-list.js +0 -2
  1760. package/dist/utils/node_modules/source-map-js/lib/mapping-list.js.map +0 -1
  1761. package/dist/utils/node_modules/source-map-js/lib/quick-sort.js +0 -2
  1762. package/dist/utils/node_modules/source-map-js/lib/quick-sort.js.map +0 -1
  1763. package/dist/utils/node_modules/source-map-js/lib/source-map-consumer.js +0 -2
  1764. package/dist/utils/node_modules/source-map-js/lib/source-map-consumer.js.map +0 -1
  1765. package/dist/utils/node_modules/source-map-js/lib/source-map-generator.js +0 -2
  1766. package/dist/utils/node_modules/source-map-js/lib/source-map-generator.js.map +0 -1
  1767. package/dist/utils/node_modules/source-map-js/lib/source-node.js +0 -2
  1768. package/dist/utils/node_modules/source-map-js/lib/source-node.js.map +0 -1
  1769. package/dist/utils/node_modules/source-map-js/lib/util.js +0 -2
  1770. package/dist/utils/node_modules/source-map-js/lib/util.js.map +0 -1
  1771. package/dist/utils/node_modules/source-map-js/source-map.js +0 -2
  1772. package/dist/utils/node_modules/source-map-js/source-map.js.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"useApi.js","sources":["../../../../../../src/core/hooks/useApi.ts"],"sourcesContent":["import { useState, useCallback } from 'react'\n\nexport type Data = any | any[] | null\n\nexport type DataFetching = { data?: Data; error?: string | null; loading: boolean; originalData?: Data }\n\ntype Caller = (...args: any[]) => Promise<any>\n\ntype Decorator = (RequestOrResponse: Record<string, any> | any) => Record<string, any>\n\ntype UseApiItem = {\n id: string\n caller: Caller\n decorator?: Decorator\n successHandler?: (data: any) => void\n errorHandler?: (data: any) => void\n}\n\nconst map: Record<string, UseApiItem> = {}\n\nconst defaultDataFetching = { loading: false, error: null, data: null }\n\nexport const useApi = (\n id: string,\n callerInitial: Caller,\n decoratorIntitial?: Decorator,\n successHandler?: (data: any) => void,\n errorHandler?: (data: any) => void,\n// eslint-disable-next-line function-paren-newline\n): [(...args: any[]) => Promise<any>, DataFetching] => {\n const [dataFetching, setDataFetching] = useState<DataFetching>(defaultDataFetching)\n\n // TODO should work the same with useMemo...\n if (!map[id]) {\n map[id] = { id, caller: callerInitial, decorator: decoratorIntitial, successHandler, errorHandler }\n }\n\n const { caller, decorator, successHandler: onSuccess, errorHandler: onError } = map[id]\n\n const doCall: () => Promise<any> = useCallback(async(...args: any[]) => {\n try {\n setDataFetching((prevState: DataFetching) => ({ ...prevState, loading: true }))\n const data: Data = await caller(...args)\n const returnData = decorator ? decorator(data) : data\n\n onSuccess && onSuccess({ data: returnData, originalData: data.data })\n\n setDataFetching((prevState: DataFetching) => {\n const newState = { ...prevState, loading: false, error: null, data: returnData, originalData: data.data }\n\n return newState\n })\n\n return returnData\n } catch (error: any) {\n onError && onError(error)\n setDataFetching((prevState: DataFetching) => ({ ...prevState, loading: false, error }))\n throw error\n }\n }, [caller, decorator, onSuccess, onError])\n\n return [doCall, dataFetching]\n}\n"],"names":["map","defaultDataFetching","loading","error","data","useApi","id","callerInitial","decoratorIntitial","successHandler","errorHandler","dataFetching","setDataFetching","useState","caller","decorator","onSuccess","onError","useCallback","_asyncToGenerator","prevState","_objectSpread","arguments","returnData","originalData"],"mappings":"4OAkBA,MAAMA,EAAkC,CAAE,EAEpCC,EAAsB,CAAEC,SAAS,EAAOC,MAAO,KAAMC,KAAM,MAEpDC,EAASA,CACpBC,EACAC,EACAC,EACAC,EACAC,KAGA,MAAOC,EAAcC,GAAmBC,EAAAA,SAAuBZ,GAG1DD,EAAIM,KACPN,EAAIM,GAAM,CAAEA,KAAIQ,OAAQP,EAAeQ,UAAWP,EAAmBC,iBAAgBC,iBAGvF,MAAMI,OAAEA,EAAMC,UAAEA,EAAWN,eAAgBO,EAAWN,aAAcO,GAAYjB,EAAIM,GAwBpF,MAAO,CAtB4BY,cAAWC,GAAC,YAC7C,IACEP,GAAiBQ,GAAuBC,EAAAA,KAAWD,GAAS,GAAA,CAAElB,SAAS,MACvE,MAAME,QAAmBU,KAAOQ,WAC1BC,EAAaR,EAAYA,EAAUX,GAAQA,EAUjD,OARAY,GAAaA,EAAU,CAAEZ,KAAMmB,EAAYC,aAAcpB,EAAKA,OAE9DQ,GAAiBQ,GACDC,EAAAA,KAAQD,GAAS,GAAA,CAAElB,SAAS,EAAOC,MAAO,KAAMC,KAAMmB,EAAYC,aAAcpB,EAAKA,SAK9FmB,CACR,CAAC,MAAOpB,GAGP,MAFAc,GAAWA,EAAQd,GACnBS,GAAiBQ,GAAuBC,EAAAA,KAAWD,GAAS,GAAA,CAAElB,SAAS,EAAOC,YACxEA,CACR,CACD,IAAE,CAACW,EAAQC,EAAWC,EAAWC,IAElBN,EAAa"}
1
+ {"version":3,"file":"useApi.js","sources":["../../../../../../src/core/hooks/useApi.ts"],"sourcesContent":["import { useState, useCallback } from 'react'\n\nexport type Data = any | any[] | null\n\nexport type DataFetching = { data?: Data; error?: string | null; loading: boolean; originalData?: Data }\n\ntype Caller = (...args: any[]) => Promise<any>\n\ntype Decorator = (RequestOrResponse: Record<string, any> | any) => Record<string, any>\n\ntype UseApiItem = {\n id: string\n caller: Caller\n decorator?: Decorator\n successHandler?: (data: any) => void\n errorHandler?: (data: any) => void\n}\n\nconst map: Record<string, UseApiItem> = {}\n\nconst defaultDataFetching = { loading: false, error: null, data: null }\n\nexport const useApi = (\n id: string,\n callerInitial: Caller,\n decoratorIntitial?: Decorator,\n successHandler?: (data: any) => void,\n errorHandler?: (data: any) => void,\n// eslint-disable-next-line function-paren-newline\n): [(...args: any[]) => Promise<any>, DataFetching] => {\n const [dataFetching, setDataFetching] = useState<DataFetching>(defaultDataFetching)\n\n // TODO should work the same with useMemo...\n if (!map[id]) {\n map[id] = { id, caller: callerInitial, decorator: decoratorIntitial, successHandler, errorHandler }\n }\n\n const { caller, decorator, successHandler: onSuccess, errorHandler: onError } = map[id]\n\n const doCall: () => Promise<any> = useCallback(async(...args: any[]) => {\n try {\n setDataFetching((prevState: DataFetching) => ({ ...prevState, loading: true }))\n const data: Data = await caller(...args)\n const returnData = decorator ? decorator(data) : data\n\n onSuccess && onSuccess({ data: returnData, originalData: data.data })\n\n setDataFetching((prevState: DataFetching) => {\n const newState = { ...prevState, loading: false, error: null, data: returnData, originalData: data.data }\n\n return newState\n })\n\n return returnData\n } catch (error: any) {\n onError && onError(error)\n setDataFetching((prevState: DataFetching) => ({ ...prevState, loading: false, error }))\n throw error\n }\n }, [caller, decorator, onSuccess, onError])\n\n return [doCall, dataFetching]\n}\n"],"names":["map","defaultDataFetching","loading","error","data","useApi","id","callerInitial","decoratorIntitial","successHandler","errorHandler","dataFetching","setDataFetching","useState","caller","decorator","onSuccess","onError","useCallback","_asyncToGenerator","prevState","_objectSpread","arguments","returnData","originalData"],"mappings":"qOAkBA,MAAMA,EAAkC,CAAE,EAEpCC,EAAsB,CAAEC,SAAS,EAAOC,MAAO,KAAMC,KAAM,MAEpDC,EAASA,CACpBC,EACAC,EACAC,EACAC,EACAC,KAGA,MAAOC,EAAcC,GAAmBC,EAAuBZ,GAG1DD,EAAIM,KACPN,EAAIM,GAAM,CAAEA,KAAIQ,OAAQP,EAAeQ,UAAWP,EAAmBC,iBAAgBC,iBAGvF,MAAMI,OAAEA,EAAMC,UAAEA,EAAWN,eAAgBO,EAAWN,aAAcO,GAAYjB,EAAIM,GAwBpF,MAAO,CAtB4BY,EAAWC,GAAC,YAC7C,IACEP,GAAiBQ,GAAuBC,EAAAA,KAAWD,GAAS,GAAA,CAAElB,SAAS,MACvE,MAAME,QAAmBU,KAAOQ,WAC1BC,EAAaR,EAAYA,EAAUX,GAAQA,EAUjD,OARAY,GAAaA,EAAU,CAAEZ,KAAMmB,EAAYC,aAAcpB,EAAKA,OAE9DQ,GAAiBQ,GACDC,EAAAA,KAAQD,GAAS,GAAA,CAAElB,SAAS,EAAOC,MAAO,KAAMC,KAAMmB,EAAYC,aAAcpB,EAAKA,SAK9FmB,CACR,CAAC,MAAOpB,GAGP,MAFAc,GAAWA,EAAQd,GACnBS,GAAiBQ,GAAuBC,EAAAA,KAAWD,GAAS,GAAA,CAAElB,SAAS,EAAOC,YACxEA,CACR,CACD,IAAE,CAACW,EAAQC,EAAWC,EAAWC,IAElBN,EAAa"}
@@ -1,2 +1,2 @@
1
- import"../../../node_modules/core-js/modules/web.dom-collections.iterator.js";import{r as o}from"../../../node_modules/react/index.js";import{classNames as e}from"../utils/helpers/ui.js";const s=(s,r)=>o.useMemo((()=>e(...s)),[s,r]);export{s as useClassNames};
1
+ import"../../../node_modules/core-js/modules/web.dom-collections.iterator.js";import{useMemo as o}from"react";import{classNames as e}from"../utils/helpers/ui.js";const r=(r,t)=>o((()=>e(...r)),[r,t]);export{r as useClassNames};
2
2
  //# sourceMappingURL=useClassNames.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"useClassNames.js","sources":["../../../../../../src/core/hooks/useClassNames.ts"],"sourcesContent":["import { useMemo } from 'react'\n\nimport { classNames, TClassName } from '../utils/helpers/ui'\n\n\n/**\n * Custom hook to memoize class names.\n * @param {TClassName[]} classes - Array of class names or conditions to be applied.\n * @param {unknown[]} deps - Dependencies array for the `useMemo` hook.\n * @returns {ReturnType<typeof classNames>} The computed class names as a string.\n */\nexport const useClassNames = (\n classes: TClassName[],\n deps: unknown[],\n// eslint-disable-next-line react-hooks/exhaustive-deps\n): ReturnType<typeof classNames> => useMemo(() => classNames(...classes), [classes, deps])\n"],"names":["useClassNames","classes","deps","useMemo","classNames"],"mappings":"2LAWaA,MAAAA,EAAgBA,CAC3BC,EACAC,IAEkCC,EAAOA,SAAC,IAAMC,KAAcH,IAAU,CAACA,EAASC"}
1
+ {"version":3,"file":"useClassNames.js","sources":["../../../../../../src/core/hooks/useClassNames.ts"],"sourcesContent":["import { useMemo } from 'react'\n\nimport { classNames, TClassName } from '../utils/helpers/ui'\n\n\n/**\n * Custom hook to memoize class names.\n * @param {TClassName[]} classes - Array of class names or conditions to be applied.\n * @param {unknown[]} deps - Dependencies array for the `useMemo` hook.\n * @returns {ReturnType<typeof classNames>} The computed class names as a string.\n */\nexport const useClassNames = (\n classes: TClassName[],\n deps: unknown[],\n// eslint-disable-next-line react-hooks/exhaustive-deps\n): ReturnType<typeof classNames> => useMemo(() => classNames(...classes), [classes, deps])\n"],"names":["useClassNames","classes","deps","useMemo","classNames"],"mappings":"kKAWaA,MAAAA,EAAgBA,CAC3BC,EACAC,IAEkCC,GAAQ,IAAMC,KAAcH,IAAU,CAACA,EAASC"}
@@ -1,2 +1,2 @@
1
- import{objectSpread2 as e}from"../../../_virtual/_rollupPluginBabelHelpers.js";import{r}from"../../../node_modules/react/index.js";const n={root:null,rootMargin:"0px",threshold:.5},t=t=>{let{callback:l,notIntersectingCallback:o,options:c={},granular:s}=t;const u=r.useRef(null),i=r.useRef(),a=r.useCallback((e=>{!function(e,r,n){arguments.length>3&&void 0!==arguments[3]&&arguments[3]?e.forEach((e=>{e.isIntersecting?r():null==n||n()})):e[0].isIntersecting?r():null==n||n()}(e,l,o,s)}),[l,s,o]);return r.useEffect((()=>{var r;null===(r=i.current)||void 0===r||r.disconnect();const t=u.current;return i.current=new IntersectionObserver(a,e(e({},n),c)),t&&i.current.observe(t),()=>{var e;null===(e=i.current)||void 0===e||e.disconnect()}}),[a,c]),u};export{t as useIntersectionObserver};
1
+ import{objectSpread2 as r}from"../../../_virtual/_rollupPluginBabelHelpers.js";import{useRef as n,useCallback as t,useEffect as e}from"react";const o={root:null,rootMargin:"0px",threshold:.5},l=l=>{let{callback:c,notIntersectingCallback:i,options:s={},granular:u}=l;const a=n(null),p=n(),v=t((r=>{!function(r,n,t){arguments.length>3&&void 0!==arguments[3]&&arguments[3]?r.forEach((r=>{r.isIntersecting?n():null==t||t()})):r[0].isIntersecting?n():null==t||t()}(r,c,i,u)}),[c,u,i]);return e((()=>{var n;null===(n=p.current)||void 0===n||n.disconnect();const t=a.current;return p.current=new IntersectionObserver(v,r(r({},o),s)),t&&p.current.observe(t),()=>{var r;null===(r=p.current)||void 0===r||r.disconnect()}}),[v,s]),a};export{l as useIntersectionObserver};
2
2
  //# sourceMappingURL=useIntersectionObserver.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"useIntersectionObserver.js","sources":["../../../../../../src/core/hooks/useIntersectionObserver.ts"],"sourcesContent":["import { MutableRefObject, useCallback, useEffect, useRef } from 'react'\n\nconst defaultOptions = {\n root: null,\n rootMargin: '0px',\n threshold: 0.5,\n}\n\n/**\n * Type definition for the parameters used in the `useIntersectionObserver` hook.\n * @typedef {Object} UseIntersectionObserverType\n * @property {() => void} callback - Function to be called when the element intersects.\n * @property {() => void} [notIntersectingCallback] - Optional function to be called\n * when the element is not intersecting.\n * @property {Partial<{ root: HTMLElement | null; rootMargin: string; threshold: number }>} [options] -\n * Optional IntersectionObserver options.\n * @property {boolean} [granular] - Flag to determine if each entry should be checked individually.\n */\nexport type UseIntersectionObserverType = {\n callback: () => void\n notIntersectingCallback?: () => void\n options?: Partial<{\n root: HTMLElement | null\n rootMargin: string\n threshold: number\n }>\n granular?: boolean\n}\n\n/**\n * Default handler for intersection changes.\n * @param {IntersectionObserverEntry[]} entries - Array of intersection observer entries.\n * @param {() => void} callback - Function to be called when the element intersects.\n * @param {() => void} [notIntersectingCallback] - Optional function to be called when the element is not intersecting.\n * @param {boolean} [granular=false] - Flag to determine if each entry should be checked individually.\n */\nconst defaultIntersectionHandler = (\n entries: IntersectionObserverEntry[],\n callback: UseIntersectionObserverType['callback'],\n notIntersectingCallback: UseIntersectionObserverType['notIntersectingCallback'],\n granular = false,\n): void => {\n if (granular) {\n entries.forEach((entry) => {\n if (entry.isIntersecting) {\n callback()\n } else {\n notIntersectingCallback?.()\n }\n })\n } else {\n // eslint-disable-next-line no-lonely-if\n if (entries[0].isIntersecting) {\n callback()\n } else {\n notIntersectingCallback?.()\n }\n }\n}\n\n/**\n * Custom hook to observe the intersection of an element.\n * @param {UseIntersectionObserverType} params - The parameters for the intersection observer.\n * @returns {MutableRefObject<T | null>} Ref object for the observed element.\n */\nexport const useIntersectionObserver = <T extends Element = Element>({\n callback, notIntersectingCallback, options = {}, granular,\n}: UseIntersectionObserverType): MutableRefObject<T | null> => {\n const elementRef = useRef<T | null>(null)\n\n const observerRef = useRef<IntersectionObserver>()\n\n // entries: IntersectionObserverEntry[], observer: IntersectionObserver)\n const intersectionHandler = useCallback((entries: IntersectionObserverEntry[]) => {\n defaultIntersectionHandler(entries, callback, notIntersectingCallback, granular)\n }, [callback, granular, notIntersectingCallback])\n\n useEffect(() => {\n observerRef.current?.disconnect()\n\n const observeElement = elementRef.current\n\n observerRef.current = new IntersectionObserver(intersectionHandler, { ...defaultOptions, ...options })\n\n if (observeElement) {\n observerRef.current.observe(observeElement)\n }\n\n return (): void => {\n observerRef.current?.disconnect()\n }\n }, [intersectionHandler, options])\n\n return elementRef\n}\n"],"names":["defaultOptions","root","rootMargin","threshold","useIntersectionObserver","_ref","callback","notIntersectingCallback","options","granular","elementRef","useRef","observerRef","intersectionHandler","useCallback","entries","arguments","length","undefined","forEach","entry","isIntersecting","defaultIntersectionHandler","useEffect","_observerRef$current","current","disconnect","observeElement","IntersectionObserver","_objectSpread","observe","_observerRef$current2"],"mappings":"mIAEA,MAAMA,EAAiB,CACrBC,KAAM,KACNC,WAAY,MACZC,UAAW,IA4DAC,EAA0BC,IAEwB,IAFMC,SACnEA,EAAQC,wBAAEA,EAAuBC,QAAEA,EAAU,CAAE,EAAAC,SAAEA,GACrBJ,EAC5B,MAAMK,EAAaC,EAAMA,OAAW,MAE9BC,EAAcD,EAAAA,SAGdE,EAAsBC,EAAWA,aAAEC,KArCR,SACjCA,EACAT,EACAC,GACQS,UAAAC,OAAA,QAAAC,IAAAF,UAAA,IAAAA,UAAA,GAGND,EAAQI,SAASC,IACXA,EAAMC,eACRf,IAEAC,SAAAA,GACF,IAIEQ,EAAQ,GAAGM,eACbf,IAEAC,SAAAA,GAGN,CAgBIe,CAA2BP,EAAST,EAAUC,EAAyBE,EAAS,GAC/E,CAACH,EAAUG,EAAUF,IAkBxB,OAhBAgB,EAAAA,WAAU,KAAM,IAAAC,EACK,QAAnBA,EAAAZ,EAAYa,eAAO,IAAAD,GAAnBA,EAAqBE,aAErB,MAAMC,EAAiBjB,EAAWe,QAQlC,OANAb,EAAYa,QAAU,IAAIG,qBAAqBf,EAAmBgB,EAAAA,EAAO7B,GAAAA,GAAmBQ,IAExFmB,GACFf,EAAYa,QAAQK,QAAQH,GAGvB,KAAY,IAAAI,EACE,QAAnBA,EAAAnB,EAAYa,eAAO,IAAAM,GAAnBA,EAAqBL,YAAY,CAClC,GACA,CAACb,EAAqBL,IAElBE,CAAU"}
1
+ {"version":3,"file":"useIntersectionObserver.js","sources":["../../../../../../src/core/hooks/useIntersectionObserver.ts"],"sourcesContent":["import { MutableRefObject, useCallback, useEffect, useRef } from 'react'\n\nconst defaultOptions = {\n root: null,\n rootMargin: '0px',\n threshold: 0.5,\n}\n\n/**\n * Type definition for the parameters used in the `useIntersectionObserver` hook.\n * @typedef {Object} UseIntersectionObserverType\n * @property {() => void} callback - Function to be called when the element intersects.\n * @property {() => void} [notIntersectingCallback] - Optional function to be called\n * when the element is not intersecting.\n * @property {Partial<{ root: HTMLElement | null; rootMargin: string; threshold: number }>} [options] -\n * Optional IntersectionObserver options.\n * @property {boolean} [granular] - Flag to determine if each entry should be checked individually.\n */\nexport type UseIntersectionObserverType = {\n callback: () => void\n notIntersectingCallback?: () => void\n options?: Partial<{\n root: HTMLElement | null\n rootMargin: string\n threshold: number\n }>\n granular?: boolean\n}\n\n/**\n * Default handler for intersection changes.\n * @param {IntersectionObserverEntry[]} entries - Array of intersection observer entries.\n * @param {() => void} callback - Function to be called when the element intersects.\n * @param {() => void} [notIntersectingCallback] - Optional function to be called when the element is not intersecting.\n * @param {boolean} [granular=false] - Flag to determine if each entry should be checked individually.\n */\nconst defaultIntersectionHandler = (\n entries: IntersectionObserverEntry[],\n callback: UseIntersectionObserverType['callback'],\n notIntersectingCallback: UseIntersectionObserverType['notIntersectingCallback'],\n granular = false,\n): void => {\n if (granular) {\n entries.forEach((entry) => {\n if (entry.isIntersecting) {\n callback()\n } else {\n notIntersectingCallback?.()\n }\n })\n } else {\n // eslint-disable-next-line no-lonely-if\n if (entries[0].isIntersecting) {\n callback()\n } else {\n notIntersectingCallback?.()\n }\n }\n}\n\n/**\n * Custom hook to observe the intersection of an element.\n * @param {UseIntersectionObserverType} params - The parameters for the intersection observer.\n * @returns {MutableRefObject<T | null>} Ref object for the observed element.\n */\nexport const useIntersectionObserver = <T extends Element = Element>({\n callback, notIntersectingCallback, options = {}, granular,\n}: UseIntersectionObserverType): MutableRefObject<T | null> => {\n const elementRef = useRef<T | null>(null)\n\n const observerRef = useRef<IntersectionObserver>()\n\n // entries: IntersectionObserverEntry[], observer: IntersectionObserver)\n const intersectionHandler = useCallback((entries: IntersectionObserverEntry[]) => {\n defaultIntersectionHandler(entries, callback, notIntersectingCallback, granular)\n }, [callback, granular, notIntersectingCallback])\n\n useEffect(() => {\n observerRef.current?.disconnect()\n\n const observeElement = elementRef.current\n\n observerRef.current = new IntersectionObserver(intersectionHandler, { ...defaultOptions, ...options })\n\n if (observeElement) {\n observerRef.current.observe(observeElement)\n }\n\n return (): void => {\n observerRef.current?.disconnect()\n }\n }, [intersectionHandler, options])\n\n return elementRef\n}\n"],"names":["defaultOptions","root","rootMargin","threshold","useIntersectionObserver","_ref","callback","notIntersectingCallback","options","granular","elementRef","useRef","observerRef","intersectionHandler","useCallback","entries","arguments","length","undefined","forEach","entry","isIntersecting","defaultIntersectionHandler","useEffect","_observerRef$current","current","disconnect","observeElement","IntersectionObserver","_objectSpread","observe","_observerRef$current2"],"mappings":"8IAEA,MAAMA,EAAiB,CACrBC,KAAM,KACNC,WAAY,MACZC,UAAW,IA4DAC,EAA0BC,IAEwB,IAFMC,SACnEA,EAAQC,wBAAEA,EAAuBC,QAAEA,EAAU,CAAE,EAAAC,SAAEA,GACrBJ,EAC5B,MAAMK,EAAaC,EAAiB,MAE9BC,EAAcD,IAGdE,EAAsBC,GAAaC,KArCR,SACjCA,EACAT,EACAC,GACQS,UAAAC,OAAA,QAAAC,IAAAF,UAAA,IAAAA,UAAA,GAGND,EAAQI,SAASC,IACXA,EAAMC,eACRf,IAEAC,SAAAA,GACF,IAIEQ,EAAQ,GAAGM,eACbf,IAEAC,SAAAA,GAGN,CAgBIe,CAA2BP,EAAST,EAAUC,EAAyBE,EAAS,GAC/E,CAACH,EAAUG,EAAUF,IAkBxB,OAhBAgB,GAAU,KAAM,IAAAC,EACK,QAAnBA,EAAAZ,EAAYa,eAAO,IAAAD,GAAnBA,EAAqBE,aAErB,MAAMC,EAAiBjB,EAAWe,QAQlC,OANAb,EAAYa,QAAU,IAAIG,qBAAqBf,EAAmBgB,EAAAA,EAAO7B,GAAAA,GAAmBQ,IAExFmB,GACFf,EAAYa,QAAQK,QAAQH,GAGvB,KAAY,IAAAI,EACE,QAAnBA,EAAAnB,EAAYa,eAAO,IAAAM,GAAnBA,EAAqBL,YAAY,CAClC,GACA,CAACb,EAAqBL,IAElBE,CAAU"}
@@ -1,2 +1,2 @@
1
- import{r as e}from"../../../node_modules/react/index.js";import{EventName as t}from"../constants/ui.constants.js";import{handleClickOutside as n}from"../ui/utils/clickOutside.js";function o(o,i){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:n(o,i);const c=e.useCallback((()=>document.removeEventListener(t.Click,r)),[r]);return e.useEffect((()=>(c(),document.addEventListener(t.Click,r),c)),[o,r,c]),c}function i(e,o){let i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:n(e,o);return document.addEventListener(t.Click,i),()=>document.removeEventListener(t.Click,i)}export{i as outsideClickHandler,o as useOutsideClick};
1
+ import{useCallback as t,useEffect as e}from"react";import{EventName as n}from"../constants/ui.constants.js";import{handleClickOutside as i}from"../ui/utils/clickOutside.js";function o(o,r){let c=arguments.length>2&&void 0!==arguments[2]?arguments[2]:i(o,r);const s=t((()=>document.removeEventListener(n.Click,c)),[c]);return e((()=>(s(),document.addEventListener(n.Click,c),s)),[o,c,s]),s}function r(t,e){let o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:i(t,e);return document.addEventListener(n.Click,o),()=>document.removeEventListener(n.Click,o)}export{r as outsideClickHandler,o as useOutsideClick};
2
2
  //# sourceMappingURL=useOutsideClick.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"useOutsideClick.js","sources":["../../../../../../src/core/hooks/useOutsideClick.ts"],"sourcesContent":["import { useEffect, useCallback } from 'react'\n\nimport { EventName } from '../constants/ui.constants'\nimport { handleClickOutside as defaultHandleClickOutside } from '../ui/utils/clickOutside'\n\ntype Element = HTMLElement | null | (() => HTMLElement)\ntype CallbackFunction = (target: HTMLElement | null) => void\n\n/**\n * Custom hook to handle clicks outside a specified element.\n * @param {Element} element - The element to detect outside clicks for.\n * @param {CallbackFunction} [callback] - Optional callback function to execute when an outside click is detected.\n * @param {Function} [handleClickOutside=defaultHandleClickOutside] - Optional custom function to handle outside clicks.\n * @returns {() => void} Function to unsubscribe the event listener.\n */\nexport function useOutsideClick(\n element: Element,\n callback?: CallbackFunction,\n handleClickOutside = defaultHandleClickOutside(element, callback),\n): () => void {\n const unsubscriber = useCallback(\n () => document.removeEventListener(EventName.Click, handleClickOutside), [handleClickOutside],\n )\n\n useEffect(() => {\n unsubscriber()\n document.addEventListener(EventName.Click, handleClickOutside)\n\n return unsubscriber\n }, [element, handleClickOutside, unsubscriber])\n\n return unsubscriber\n}\n\n/**\n * Function to handle clicks outside a specified element.\n * @param {Element} element - The element to detect outside clicks for.\n * @param {CallbackFunction} [callback] - Optional callback function to execute when an outside click is detected.\n * @param {Function} [handleClickOutside=defaultHandleClickOutside] - Optional custom function to handle outside clicks.\n * @returns {() => void} Function to unsubscribe the event listener.\n */\nexport function outsideClickHandler(\n element: Element,\n callback?: CallbackFunction,\n handleClickOutside = defaultHandleClickOutside(element, callback),\n): () => void {\n const unsubscriber = (): void => document.removeEventListener(EventName.Click, handleClickOutside)\n\n document.addEventListener(EventName.Click, handleClickOutside)\n\n return unsubscriber\n}\n"],"names":["useOutsideClick","element","callback","handleClickOutside","arguments","length","undefined","defaultHandleClickOutside","unsubscriber","useCallback","document","removeEventListener","EventName","Click","useEffect","addEventListener","outsideClickHandler"],"mappings":"mLAeO,SAASA,EACdC,EACAC,GAEY,IADZC,EAAkBC,UAAAC,eAAAC,IAAAF,UAAA,GAAAA,UAAGG,GAAAA,EAA0BN,EAASC,GAExD,MAAMM,EAAeC,EAAAA,aACnB,IAAMC,SAASC,oBAAoBC,EAAUC,MAAOV,IAAqB,CAACA,IAU5E,OAPAW,EAAAA,WAAU,KACRN,IACAE,SAASK,iBAAiBH,EAAUC,MAAOV,GAEpCK,IACN,CAACP,EAASE,EAAoBK,IAE1BA,CACT,CASO,SAASQ,EACdf,EACAC,GAEY,IADZC,EAAkBC,UAAAC,eAAAC,IAAAF,UAAA,GAAAA,UAAGG,GAAAA,EAA0BN,EAASC,GAMxD,OAFAQ,SAASK,iBAAiBH,EAAUC,MAAOV,GAFtBK,IAAYE,SAASC,oBAAoBC,EAAUC,MAAOV,EAKjF"}
1
+ {"version":3,"file":"useOutsideClick.js","sources":["../../../../../../src/core/hooks/useOutsideClick.ts"],"sourcesContent":["import { useEffect, useCallback } from 'react'\n\nimport { EventName } from '../constants/ui.constants'\nimport { handleClickOutside as defaultHandleClickOutside } from '../ui/utils/clickOutside'\n\ntype Element = HTMLElement | null | (() => HTMLElement)\ntype CallbackFunction = (target: HTMLElement | null) => void\n\n/**\n * Custom hook to handle clicks outside a specified element.\n * @param {Element} element - The element to detect outside clicks for.\n * @param {CallbackFunction} [callback] - Optional callback function to execute when an outside click is detected.\n * @param {Function} [handleClickOutside=defaultHandleClickOutside] - Optional custom function to handle outside clicks.\n * @returns {() => void} Function to unsubscribe the event listener.\n */\nexport function useOutsideClick(\n element: Element,\n callback?: CallbackFunction,\n handleClickOutside = defaultHandleClickOutside(element, callback),\n): () => void {\n const unsubscriber = useCallback(\n () => document.removeEventListener(EventName.Click, handleClickOutside), [handleClickOutside],\n )\n\n useEffect(() => {\n unsubscriber()\n document.addEventListener(EventName.Click, handleClickOutside)\n\n return unsubscriber\n }, [element, handleClickOutside, unsubscriber])\n\n return unsubscriber\n}\n\n/**\n * Function to handle clicks outside a specified element.\n * @param {Element} element - The element to detect outside clicks for.\n * @param {CallbackFunction} [callback] - Optional callback function to execute when an outside click is detected.\n * @param {Function} [handleClickOutside=defaultHandleClickOutside] - Optional custom function to handle outside clicks.\n * @returns {() => void} Function to unsubscribe the event listener.\n */\nexport function outsideClickHandler(\n element: Element,\n callback?: CallbackFunction,\n handleClickOutside = defaultHandleClickOutside(element, callback),\n): () => void {\n const unsubscriber = (): void => document.removeEventListener(EventName.Click, handleClickOutside)\n\n document.addEventListener(EventName.Click, handleClickOutside)\n\n return unsubscriber\n}\n"],"names":["useOutsideClick","element","callback","handleClickOutside","arguments","length","undefined","defaultHandleClickOutside","unsubscriber","useCallback","document","removeEventListener","EventName","Click","useEffect","addEventListener","outsideClickHandler"],"mappings":"6KAeO,SAASA,EACdC,EACAC,GAEY,IADZC,EAAkBC,UAAAC,eAAAC,IAAAF,UAAA,GAAAA,UAAGG,GAAAA,EAA0BN,EAASC,GAExD,MAAMM,EAAeC,GACnB,IAAMC,SAASC,oBAAoBC,EAAUC,MAAOV,IAAqB,CAACA,IAU5E,OAPAW,GAAU,KACRN,IACAE,SAASK,iBAAiBH,EAAUC,MAAOV,GAEpCK,IACN,CAACP,EAASE,EAAoBK,IAE1BA,CACT,CASO,SAASQ,EACdf,EACAC,GAEY,IADZC,EAAkBC,UAAAC,eAAAC,IAAAF,UAAA,GAAAA,UAAGG,GAAAA,EAA0BN,EAASC,GAMxD,OAFAQ,SAASK,iBAAiBH,EAAUC,MAAOV,GAFtBK,IAAYE,SAASC,oBAAoBC,EAAUC,MAAOV,EAKjF"}
@@ -1,2 +1,2 @@
1
- import{r as e}from"../../../node_modules/react/index.js";import{parseProps as o}from"../utils/helpers/ui.js";const r=r=>e.useMemo((()=>o(r)),[r]);export{r as useParseProps};
1
+ import{useMemo as r}from"react";import{parseProps as o}from"../utils/helpers/ui.js";const t=t=>r((()=>o(t)),[t]);export{t as useParseProps};
2
2
  //# sourceMappingURL=useParseProps.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"useParseProps.js","sources":["../../../../../../src/core/hooks/useParseProps.ts"],"sourcesContent":["import { useMemo } from 'react'\n\nimport { parseProps } from '../utils/helpers/ui'\n\n/**\n * Custom hook to parse properties using the `parseProps` utility function.\n * @param {Record<string, unknown>} props - The properties to be parsed.\n * @returns {ReturnType<typeof parseProps>} The parsed properties categorized by the `parseProps` function.\n */\nexport const useParseProps = (props: Record<string, unknown>): ReturnType<typeof parseProps> => {\n const propsCategories = useMemo(() => parseProps(props), [props])\n\n return propsCategories\n}\n"],"names":["useParseProps","props","useMemo","parseProps"],"mappings":"6GASaA,MAAAA,EAAiBC,GACJC,EAAAA,SAAQ,IAAMC,EAAWF,IAAQ,CAACA"}
1
+ {"version":3,"file":"useParseProps.js","sources":["../../../../../../src/core/hooks/useParseProps.ts"],"sourcesContent":["import { useMemo } from 'react'\n\nimport { parseProps } from '../utils/helpers/ui'\n\n/**\n * Custom hook to parse properties using the `parseProps` utility function.\n * @param {Record<string, unknown>} props - The properties to be parsed.\n * @returns {ReturnType<typeof parseProps>} The parsed properties categorized by the `parseProps` function.\n */\nexport const useParseProps = (props: Record<string, unknown>): ReturnType<typeof parseProps> => {\n const propsCategories = useMemo(() => parseProps(props), [props])\n\n return propsCategories\n}\n"],"names":["useParseProps","props","useMemo","parseProps"],"mappings":"oFASaA,MAAAA,EAAiBC,GACJC,GAAQ,IAAMC,EAAWF,IAAQ,CAACA"}
@@ -1,2 +1,2 @@
1
- import"../../../node_modules/core-js/modules/web.dom-collections.iterator.js";import{r as e}from"../../../node_modules/react/index.js";import t from"../../../node_modules/lodash-es/debounce.js";const n=function(){let n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:250,o=arguments.length>1?arguments[1]:void 0;const[i,l]=e.useState({width:void 0,height:void 0}),r=e.useRef({width:0,height:0}),u=e.useRef(),d=e.useRef(),c=e.useMemo((()=>t((e=>{var t,n,i,d;const c=e[0].contentRect.width,h=e[0].contentRect.height;(null===(t=r.current)||void 0===t?void 0:t.width)===c&&(null===(n=r.current)||void 0===n?void 0:n.height)===h||(r.current={width:c,height:h},(o||l)({width:null==u||null===(i=u.current)||void 0===i?void 0:i.clientWidth,height:null==u||null===(d=u.current)||void 0===d?void 0:d.clientHeight}))}),n)),[o,n]);return e.useLayoutEffect((()=>{let e,t;var n,i;null!=u&&u.current&&(t=null==u?void 0:u.current,e=new ResizeObserver(c),e.observe(t),(o||l)({width:null==u||null===(n=u.current)||void 0===n?void 0:n.clientWidth,height:null==u||null===(i=u.current)||void 0===i?void 0:i.clientHeight}));const r=()=>{var n,o;null===(n=e)||void 0===n||null===(o=n.unobserve)||void 0===o||o.call(n,t)};return d.current=r,r}),[c,u,o]),[u,i,d.current]};export{n as useResize};
1
+ import"../../../node_modules/core-js/modules/web.dom-collections.iterator.js";import{useState as t,useRef as e,useMemo as n,useLayoutEffect as i}from"react";import o from"../../../node_modules/lodash-es/debounce.js";const l=function(){let l=arguments.length>0&&void 0!==arguments[0]?arguments[0]:250,r=arguments.length>1?arguments[1]:void 0;const[d,u]=t({width:void 0,height:void 0}),c=e({width:0,height:0}),h=e(),v=e(),s=n((()=>o((t=>{var e,n,i,o;const l=t[0].contentRect.width,d=t[0].contentRect.height;(null===(e=c.current)||void 0===e?void 0:e.width)===l&&(null===(n=c.current)||void 0===n?void 0:n.height)===d||(c.current={width:l,height:d},(r||u)({width:null==h||null===(i=h.current)||void 0===i?void 0:i.clientWidth,height:null==h||null===(o=h.current)||void 0===o?void 0:o.clientHeight}))}),l)),[r,l]);return i((()=>{let t,e;var n,i;null!=h&&h.current&&(e=null==h?void 0:h.current,t=new ResizeObserver(s),t.observe(e),(r||u)({width:null==h||null===(n=h.current)||void 0===n?void 0:n.clientWidth,height:null==h||null===(i=h.current)||void 0===i?void 0:i.clientHeight}));const o=()=>{var n,i;null===(n=t)||void 0===n||null===(i=n.unobserve)||void 0===i||i.call(n,e)};return v.current=o,o}),[s,h,r]),[h,d,v.current]};export{l as useResize};
2
2
  //# sourceMappingURL=useResize.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"useResize.js","sources":["../../../../../../src/core/hooks/useResize.ts"],"sourcesContent":["import { MutableRefObject, useLayoutEffect, useMemo, useState, useRef } from 'react'\nimport debounce from 'lodash-es/debounce'\n\n/**\n * Type definition for the size of the wrapper element.\n * @typedef {Object} WrapperSize\n * @property {undefined | number} width - The width of the wrapper element.\n * @property {undefined | number} height - The height of the wrapper element.\n */\nexport type WrapperSize = { width: undefined | number; height: undefined | number }\n\n/**\n * Type definition for the unobserver function.\n * @typedef {() => (null | void)} Unobserver\n */\ntype Unobserver = () => (null | void)\n\n/**\n * Type definition for the resize callback function.\n * @typedef {(wrapperSize: WrapperSize) => void} UseResizeCallBack\n */\nexport type UseResizeCallBack = (wrapperSize: WrapperSize) => void\n\n/**\n * Custom hook to observe the resize event of an HTML element\n * and execute a callback or update the state with the new size.\n * @param {number} [debounceDelay=250] - The delay in milliseconds for debouncing the resize event.\n * @param {UseResizeCallBack} [callBack] - Optional callback function to execute when the element is resized.\n * @returns {[MutableRefObject<HTMLElement | null | undefined>, WrapperSize, Unobserver | undefined]}\n * An array containing the ref object for the container element,\n * the current size of the container, and an unobserver function.\n */\n// eslint-disable-next-line default-param-last\nexport const useResize = (debounceDelay = 250, callBack?: UseResizeCallBack): [\n MutableRefObject<HTMLElement | null | undefined>, WrapperSize, Unobserver | undefined] => {\n const [containerSize, setContainerSize] = useState<WrapperSize>({ width: undefined, height: undefined })\n\n const lastResizeWidthRef = useRef<WrapperSize>({ width: 0, height: 0 })\n const containerRef: MutableRefObject<HTMLElement | undefined | null> = useRef<HTMLElement | undefined | null>()\n const unobserverRef = useRef<Unobserver>()\n\n const debouncedResizeWrapper = useMemo(() => debounce((entries) => {\n const newResizeWidth = entries[0].contentRect.width\n const newResizeHeight = entries[0].contentRect.height\n\n if (lastResizeWidthRef.current?.width === newResizeWidth\n && lastResizeWidthRef.current?.height === newResizeHeight) {\n return\n }\n lastResizeWidthRef.current = { width: newResizeWidth, height: newResizeHeight }\n\n // eslint-disable-next-line semi-style\n ;(callBack || setContainerSize)({\n width: containerRef?.current?.clientWidth,\n height: containerRef?.current?.clientHeight,\n })\n }, debounceDelay), [callBack, debounceDelay])\n\n useLayoutEffect(() => {\n let resizeObserver: ResizeObserver\n let containerElement: HTMLElement\n\n if (containerRef?.current) {\n containerElement = containerRef?.current\n resizeObserver = new ResizeObserver(debouncedResizeWrapper)\n resizeObserver.observe(containerElement as Element)\n\n // eslint-disable-next-line semi-style\n ;(callBack || setContainerSize)({\n width: containerRef?.current?.clientWidth,\n height: containerRef?.current?.clientHeight,\n })\n }\n\n const unobserver = (): void => {\n resizeObserver?.unobserve?.(containerElement as Element)\n }\n\n // setUnobserver(unobserver)\n unobserverRef.current = unobserver\n\n return unobserver\n }, [debouncedResizeWrapper, containerRef, callBack])\n\n return [containerRef, containerSize, unobserverRef.current]\n}\n"],"names":["useResize","debounceDelay","arguments","length","undefined","callBack","containerSize","setContainerSize","useState","width","height","lastResizeWidthRef","useRef","containerRef","unobserverRef","debouncedResizeWrapper","useMemo","debounce","entries","_lastResizeWidthRef$c","_lastResizeWidthRef$c2","_containerRef$current","_containerRef$current2","newResizeWidth","contentRect","newResizeHeight","current","clientWidth","clientHeight","useLayoutEffect","resizeObserver","containerElement","_containerRef$current3","_containerRef$current4","ResizeObserver","observe","unobserver","_resizeObserver","_resizeObserver$unobs","unobserve","call"],"mappings":"kMAiCaA,MAAAA,EAAY,WACmE,IADlEC,EAAaC,UAAAC,OAAA,QAAAC,IAAAF,UAAA,GAAAA,UAAA,GAAG,IAAKG,EAA4BH,UAAAC,OAAAD,EAAAA,kBAAAE,EAEzE,MAAOE,EAAeC,GAAoBC,WAAsB,CAAEC,WAAOL,EAAWM,YAAQN,IAEtFO,EAAqBC,EAAAA,OAAoB,CAAEH,MAAO,EAAGC,OAAQ,IAC7DG,EAAiED,EAAAA,SACjEE,EAAgBF,EAAAA,SAEhBG,EAAyBC,EAAAA,SAAQ,IAAMC,GAAUC,IAAY,IAAAC,EAAAC,EAAAC,EAAAC,EACjE,MAAMC,EAAiBL,EAAQ,GAAGM,YAAYf,MACxCgB,EAAkBP,EAAQ,GAAGM,YAAYd,QAEjBS,QAA1BA,EAAAR,EAAmBe,eAAnBP,IAA0BA,OAA1BA,EAAAA,EAA4BV,SAAUc,IACX,QAA1BH,EAAAT,EAAmBe,eAAO,IAAAN,OAAA,EAA1BA,EAA4BV,UAAWe,IAG5Cd,EAAmBe,QAAU,CAAEjB,MAAOc,EAAgBb,OAAQe,IAG5DpB,GAAYE,GAAkB,CAC9BE,MAAOI,SAAqBQ,QAATA,EAAZR,EAAca,eAAdL,IAAqBA,OAArBA,EAAAA,EAAuBM,YAC9BjB,OAAQG,SAAqB,QAATS,EAAZT,EAAca,eAAO,IAAAJ,OAAA,EAArBA,EAAuBM,eAC/B,GACD3B,IAAgB,CAACI,EAAUJ,IA4B9B,OA1BA4B,EAAAA,iBAAgB,KACd,IAAIC,EACAC,EAEuB,IAAAC,EAAAC,EAAvBpB,SAAAA,EAAca,UAChBK,EAAmBlB,aAAAA,EAAAA,EAAca,QACjCI,EAAiB,IAAII,eAAenB,GACpCe,EAAeK,QAAQJ,IAGrB1B,GAAYE,GAAkB,CAC9BE,MAAOI,SAAqBmB,QAATA,EAAZnB,EAAca,eAAdM,IAAqBA,OAArBA,EAAAA,EAAuBL,YAC9BjB,OAAQG,SAAqB,QAAToB,EAAZpB,EAAca,eAAO,IAAAO,OAAA,EAArBA,EAAuBL,gBAInC,MAAMQ,EAAaA,KAAY,IAAAC,EAAAC,EACf,QAAdD,EAAAP,SAAcQ,IAAAD,GAAWC,QAAXA,EAAdD,EAAgBE,qBAASD,GAAzBA,EAAAE,KAAAH,EAA4BN,EAA4B,EAM1D,OAFAjB,EAAcY,QAAUU,EAEjBA,CAAU,GAChB,CAACrB,EAAwBF,EAAcR,IAEnC,CAACQ,EAAcP,EAAeQ,EAAcY,QACrD"}
1
+ {"version":3,"file":"useResize.js","sources":["../../../../../../src/core/hooks/useResize.ts"],"sourcesContent":["import { MutableRefObject, useLayoutEffect, useMemo, useState, useRef } from 'react'\nimport debounce from 'lodash-es/debounce'\n\n/**\n * Type definition for the size of the wrapper element.\n * @typedef {Object} WrapperSize\n * @property {undefined | number} width - The width of the wrapper element.\n * @property {undefined | number} height - The height of the wrapper element.\n */\nexport type WrapperSize = { width: undefined | number; height: undefined | number }\n\n/**\n * Type definition for the unobserver function.\n * @typedef {() => (null | void)} Unobserver\n */\ntype Unobserver = () => (null | void)\n\n/**\n * Type definition for the resize callback function.\n * @typedef {(wrapperSize: WrapperSize) => void} UseResizeCallBack\n */\nexport type UseResizeCallBack = (wrapperSize: WrapperSize) => void\n\n/**\n * Custom hook to observe the resize event of an HTML element\n * and execute a callback or update the state with the new size.\n * @param {number} [debounceDelay=250] - The delay in milliseconds for debouncing the resize event.\n * @param {UseResizeCallBack} [callBack] - Optional callback function to execute when the element is resized.\n * @returns {[MutableRefObject<HTMLElement | null | undefined>, WrapperSize, Unobserver | undefined]}\n * An array containing the ref object for the container element,\n * the current size of the container, and an unobserver function.\n */\n// eslint-disable-next-line default-param-last\nexport const useResize = (debounceDelay = 250, callBack?: UseResizeCallBack): [\n MutableRefObject<HTMLElement | null | undefined>, WrapperSize, Unobserver | undefined] => {\n const [containerSize, setContainerSize] = useState<WrapperSize>({ width: undefined, height: undefined })\n\n const lastResizeWidthRef = useRef<WrapperSize>({ width: 0, height: 0 })\n const containerRef: MutableRefObject<HTMLElement | undefined | null> = useRef<HTMLElement | undefined | null>()\n const unobserverRef = useRef<Unobserver>()\n\n const debouncedResizeWrapper = useMemo(() => debounce((entries) => {\n const newResizeWidth = entries[0].contentRect.width\n const newResizeHeight = entries[0].contentRect.height\n\n if (lastResizeWidthRef.current?.width === newResizeWidth\n && lastResizeWidthRef.current?.height === newResizeHeight) {\n return\n }\n lastResizeWidthRef.current = { width: newResizeWidth, height: newResizeHeight }\n\n // eslint-disable-next-line semi-style\n ;(callBack || setContainerSize)({\n width: containerRef?.current?.clientWidth,\n height: containerRef?.current?.clientHeight,\n })\n }, debounceDelay), [callBack, debounceDelay])\n\n useLayoutEffect(() => {\n let resizeObserver: ResizeObserver\n let containerElement: HTMLElement\n\n if (containerRef?.current) {\n containerElement = containerRef?.current\n resizeObserver = new ResizeObserver(debouncedResizeWrapper)\n resizeObserver.observe(containerElement as Element)\n\n // eslint-disable-next-line semi-style\n ;(callBack || setContainerSize)({\n width: containerRef?.current?.clientWidth,\n height: containerRef?.current?.clientHeight,\n })\n }\n\n const unobserver = (): void => {\n resizeObserver?.unobserve?.(containerElement as Element)\n }\n\n // setUnobserver(unobserver)\n unobserverRef.current = unobserver\n\n return unobserver\n }, [debouncedResizeWrapper, containerRef, callBack])\n\n return [containerRef, containerSize, unobserverRef.current]\n}\n"],"names":["useResize","debounceDelay","arguments","length","undefined","callBack","containerSize","setContainerSize","useState","width","height","lastResizeWidthRef","useRef","containerRef","unobserverRef","debouncedResizeWrapper","useMemo","debounce","entries","_lastResizeWidthRef$c","_lastResizeWidthRef$c2","_containerRef$current","_containerRef$current2","newResizeWidth","contentRect","newResizeHeight","current","clientWidth","clientHeight","useLayoutEffect","resizeObserver","containerElement","_containerRef$current3","_containerRef$current4","ResizeObserver","observe","unobserver","_resizeObserver","_resizeObserver$unobs","unobserve","call"],"mappings":"wNAiCaA,MAAAA,EAAY,WACmE,IADlEC,EAAaC,UAAAC,OAAA,QAAAC,IAAAF,UAAA,GAAAA,UAAA,GAAG,IAAKG,EAA4BH,UAAAC,OAAAD,EAAAA,kBAAAE,EAEzE,MAAOE,EAAeC,GAAoBC,EAAsB,CAAEC,WAAOL,EAAWM,YAAQN,IAEtFO,EAAqBC,EAAoB,CAAEH,MAAO,EAAGC,OAAQ,IAC7DG,EAAiED,IACjEE,EAAgBF,IAEhBG,EAAyBC,GAAQ,IAAMC,GAAUC,IAAY,IAAAC,EAAAC,EAAAC,EAAAC,EACjE,MAAMC,EAAiBL,EAAQ,GAAGM,YAAYf,MACxCgB,EAAkBP,EAAQ,GAAGM,YAAYd,QAEjBS,QAA1BA,EAAAR,EAAmBe,eAAnBP,IAA0BA,OAA1BA,EAAAA,EAA4BV,SAAUc,IACX,QAA1BH,EAAAT,EAAmBe,eAAO,IAAAN,OAAA,EAA1BA,EAA4BV,UAAWe,IAG5Cd,EAAmBe,QAAU,CAAEjB,MAAOc,EAAgBb,OAAQe,IAG5DpB,GAAYE,GAAkB,CAC9BE,MAAOI,SAAqBQ,QAATA,EAAZR,EAAca,eAAdL,IAAqBA,OAArBA,EAAAA,EAAuBM,YAC9BjB,OAAQG,SAAqB,QAATS,EAAZT,EAAca,eAAO,IAAAJ,OAAA,EAArBA,EAAuBM,eAC/B,GACD3B,IAAgB,CAACI,EAAUJ,IA4B9B,OA1BA4B,GAAgB,KACd,IAAIC,EACAC,EAEuB,IAAAC,EAAAC,EAAvBpB,SAAAA,EAAca,UAChBK,EAAmBlB,aAAAA,EAAAA,EAAca,QACjCI,EAAiB,IAAII,eAAenB,GACpCe,EAAeK,QAAQJ,IAGrB1B,GAAYE,GAAkB,CAC9BE,MAAOI,SAAqBmB,QAATA,EAAZnB,EAAca,eAAdM,IAAqBA,OAArBA,EAAAA,EAAuBL,YAC9BjB,OAAQG,SAAqB,QAAToB,EAAZpB,EAAca,eAAO,IAAAO,OAAA,EAArBA,EAAuBL,gBAInC,MAAMQ,EAAaA,KAAY,IAAAC,EAAAC,EACf,QAAdD,EAAAP,SAAcQ,IAAAD,GAAWC,QAAXA,EAAdD,EAAgBE,qBAASD,GAAzBA,EAAAE,KAAAH,EAA4BN,EAA4B,EAM1D,OAFAjB,EAAcY,QAAUU,EAEjBA,CAAU,GAChB,CAACrB,EAAwBF,EAAcR,IAEnC,CAACQ,EAAcP,EAAeQ,EAAcY,QACrD"}
@@ -1,2 +1,2 @@
1
- import{r as e}from"../../../node_modules/react/index.js";const t=function(t){let r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;const u=e.useRef({ready:null,timeout:null,callback:t}),c=e.useCallback((()=>u.current.ready),[]),l=e.useCallback((()=>{u.current.ready=null,u.current.timeout&&clearTimeout(u.current.timeout)}),[]),n=e.useCallback((()=>{u.current.ready=!1,u.current.timeout&&clearTimeout(u.current.timeout),u.current.timeout=setTimeout((()=>{u.current.ready=!0,u.current.callback()}),r)}),[r]);return e.useEffect((()=>{u.current.callback=t}),[t]),e.useEffect((()=>(n(),l)),[l,r,n]),[c,l,n]};export{t as useTimeoutFn};
1
+ import{useRef as t,useCallback as r,useEffect as e}from"react";const u=function(u){let c=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;const n=t({ready:null,timeout:null,callback:u}),l=r((()=>n.current.ready),[]),o=r((()=>{n.current.ready=null,n.current.timeout&&clearTimeout(n.current.timeout)}),[]),a=r((()=>{n.current.ready=!1,n.current.timeout&&clearTimeout(n.current.timeout),n.current.timeout=setTimeout((()=>{n.current.ready=!0,n.current.callback()}),c)}),[c]);return e((()=>{n.current.callback=u}),[u]),e((()=>(a(),o)),[o,c,a]),[l,o,a]};export{u as useTimeoutFn};
2
2
  //# sourceMappingURL=useSetTimeout.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"useSetTimeout.js","sources":["../../../../../../src/core/hooks/useSetTimeout.ts"],"sourcesContent":["import { useCallback, useEffect, useRef } from 'react'\n\nexport type UseTimeoutFnReturn = [() => boolean | null, () => void, () => void];\n\ntype CallBackType = (...args: unknown[]) => unknown\n\ntype LocalStateType = {\n ready: boolean | null\n timeout: ReturnType<typeof setTimeout> | null\n callback: CallBackType\n}\n\nexport const useTimeoutFn = (fn: CallBackType, ms: number = 0): UseTimeoutFnReturn => {\n const store = useRef<LocalStateType>({\n ready: null,\n timeout: null,\n callback: fn,\n })\n\n const isReady = useCallback(() => store.current.ready, [])\n\n const clear = useCallback(() => {\n store.current.ready = null\n store.current.timeout && clearTimeout(store.current.timeout)\n }, [])\n\n const set = useCallback(() => {\n store.current.ready = false\n store.current.timeout && clearTimeout(store.current.timeout)\n\n store.current.timeout = setTimeout(() => {\n store.current.ready = true\n store.current.callback()\n }, ms)\n }, [ms])\n\n // update ref when function changes\n useEffect(() => {\n store.current.callback = fn\n }, [fn])\n\n // set on mount, clear on unmount\n useEffect(() => {\n set()\n\n return clear\n }, [clear, ms, set])\n\n return [isReady, clear, set]\n}\n"],"names":["useTimeoutFn","fn","ms","arguments","length","undefined","store","useRef","ready","timeout","callback","isReady","useCallback","current","clear","clearTimeout","set","setTimeout","useEffect"],"mappings":"+DAYaA,EAAe,SAACC,GAAyD,IAAvCC,EAAUC,UAAAC,OAAA,QAAAC,IAAAF,UAAA,GAAAA,UAAA,GAAG,EAC1D,MAAMG,EAAQC,EAAAA,OAAuB,CACnCC,MAAO,KACPC,QAAS,KACTC,SAAUT,IAGNU,EAAUC,EAAAA,aAAY,IAAMN,EAAMO,QAAQL,OAAO,IAEjDM,EAAQF,EAAAA,aAAY,KACxBN,EAAMO,QAAQL,MAAQ,KACtBF,EAAMO,QAAQJ,SAAWM,aAAaT,EAAMO,QAAQJ,QAAQ,GAC3D,IAEGO,EAAMJ,EAAAA,aAAY,KACtBN,EAAMO,QAAQL,OAAQ,EACtBF,EAAMO,QAAQJ,SAAWM,aAAaT,EAAMO,QAAQJ,SAEpDH,EAAMO,QAAQJ,QAAUQ,YAAW,KACjCX,EAAMO,QAAQL,OAAQ,EACtBF,EAAMO,QAAQH,UAAU,GACvBR,EAAG,GACL,CAACA,IAcJ,OAXAgB,EAAAA,WAAU,KACRZ,EAAMO,QAAQH,SAAWT,CAAE,GAC1B,CAACA,IAGJiB,EAAAA,WAAU,KACRF,IAEOF,IACN,CAACA,EAAOZ,EAAIc,IAER,CAACL,EAASG,EAAOE,EAC1B"}
1
+ {"version":3,"file":"useSetTimeout.js","sources":["../../../../../../src/core/hooks/useSetTimeout.ts"],"sourcesContent":["import { useCallback, useEffect, useRef } from 'react'\n\nexport type UseTimeoutFnReturn = [() => boolean | null, () => void, () => void];\n\ntype CallBackType = (...args: unknown[]) => unknown\n\ntype LocalStateType = {\n ready: boolean | null\n timeout: ReturnType<typeof setTimeout> | null\n callback: CallBackType\n}\n\nexport const useTimeoutFn = (fn: CallBackType, ms: number = 0): UseTimeoutFnReturn => {\n const store = useRef<LocalStateType>({\n ready: null,\n timeout: null,\n callback: fn,\n })\n\n const isReady = useCallback(() => store.current.ready, [])\n\n const clear = useCallback(() => {\n store.current.ready = null\n store.current.timeout && clearTimeout(store.current.timeout)\n }, [])\n\n const set = useCallback(() => {\n store.current.ready = false\n store.current.timeout && clearTimeout(store.current.timeout)\n\n store.current.timeout = setTimeout(() => {\n store.current.ready = true\n store.current.callback()\n }, ms)\n }, [ms])\n\n // update ref when function changes\n useEffect(() => {\n store.current.callback = fn\n }, [fn])\n\n // set on mount, clear on unmount\n useEffect(() => {\n set()\n\n return clear\n }, [clear, ms, set])\n\n return [isReady, clear, set]\n}\n"],"names":["useTimeoutFn","fn","ms","arguments","length","undefined","store","useRef","ready","timeout","callback","isReady","useCallback","current","clear","clearTimeout","set","setTimeout","useEffect"],"mappings":"qEAYaA,EAAe,SAACC,GAAyD,IAAvCC,EAAUC,UAAAC,OAAA,QAAAC,IAAAF,UAAA,GAAAA,UAAA,GAAG,EAC1D,MAAMG,EAAQC,EAAuB,CACnCC,MAAO,KACPC,QAAS,KACTC,SAAUT,IAGNU,EAAUC,GAAY,IAAMN,EAAMO,QAAQL,OAAO,IAEjDM,EAAQF,GAAY,KACxBN,EAAMO,QAAQL,MAAQ,KACtBF,EAAMO,QAAQJ,SAAWM,aAAaT,EAAMO,QAAQJ,QAAQ,GAC3D,IAEGO,EAAMJ,GAAY,KACtBN,EAAMO,QAAQL,OAAQ,EACtBF,EAAMO,QAAQJ,SAAWM,aAAaT,EAAMO,QAAQJ,SAEpDH,EAAMO,QAAQJ,QAAUQ,YAAW,KACjCX,EAAMO,QAAQL,OAAQ,EACtBF,EAAMO,QAAQH,UAAU,GACvBR,EAAG,GACL,CAACA,IAcJ,OAXAgB,GAAU,KACRZ,EAAMO,QAAQH,SAAWT,CAAE,GAC1B,CAACA,IAGJiB,GAAU,KACRF,IAEOF,IACN,CAACA,EAAOZ,EAAIc,IAER,CAACL,EAASG,EAAOE,EAC1B"}
@@ -1,2 +1,2 @@
1
- import{r as e}from"../../../node_modules/react/index.js";const o="change",t=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:()=>document.body,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e=>e;const c=o=>{const c=e();null==r||r(o,c),null==t||t(o)},d=e=>{c(e.matches)},s=e=>{c(!e.matches)},l=window.matchMedia("(prefers-color-scheme: dark)");try{window.matchMedia("(prefers-color-scheme: dark)").removeEventListener(o,d),window.matchMedia("(prefers-color-scheme: light)").removeEventListener(o,s)}catch(e){}return c(null==l?void 0:l.matches),window.matchMedia("(prefers-color-scheme: dark)").addEventListener(o,d),window.matchMedia("(prefers-color-scheme: light)").addEventListener(o,s),()=>{window.matchMedia("(prefers-color-scheme: dark)").removeEventListener(o,d),window.matchMedia("(prefers-color-scheme: light)").removeEventListener(o,s)}},c=function(){let o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:()=>document.body,c=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e=>e;e.useEffect((()=>t(o,c)),[o,c])};let d={dark:"theme-dark",light:"theme-light"};const s=()=>d,l=e=>{d=e},r=function(e,o){let t=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];const c=e?d.light:d.dark,s=e?d.dark:d.light;o&&(o.classList.remove(c),o.classList.remove(s),o.classList.add(s)),"undefined"!=typeof document&&(document.querySelectorAll(".".concat(c)).forEach((e=>{e.classList.add(".".concat(s)),e.classList.remove(".".concat(c))})),t&&(document.querySelectorAll(".shadow-div").forEach((e=>{var o,t;null===(o=e.shadowRoot)||void 0===o||null===(o=o.querySelector(".".concat(c)))||void 0===o||o.classList.add(s),null===(t=e.shadowRoot)||void 0===t||null===(t=t.querySelector(".".concat(c)))||void 0===t||t.classList.remove(c)})),document.querySelectorAll("esmf-wrapper").forEach((e=>{var o,t,d;null===(o=e.shadowRoot)||void 0===o||null===(o=o.querySelector(".".concat(c)))||void 0===o||o.classList.add(s),null===(t=e.shadowRoot)||void 0===t||null===(t=t.querySelector(".".concat(c)))||void 0===t||t.classList.remove(c);const l=null===(d=e.shadowRoot)||void 0===d?void 0:d.childNodes[0];l&&(l.classList.add(s),l.classList.remove(c))}))))},n=(e,o)=>{let t=e||!1;"undefined"!=typeof document&&void 0===e&&(t=document.body.classList.contains(d.dark)),r(t,o||document.body)};export{s as getBaseThemes,t as observeThemePreference,l as setThemeClassNames,r as switchColorTheme,n as updateColorTheme,c as useThemePreference};
1
+ import{useEffect as e}from"react";const o="change",t=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:()=>document.body,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e=>e;const c=o=>{const c=e();null==s||s(o,c),null==t||t(o)},d=e=>{c(e.matches)},l=e=>{c(!e.matches)},r=window.matchMedia("(prefers-color-scheme: dark)");try{window.matchMedia("(prefers-color-scheme: dark)").removeEventListener(o,d),window.matchMedia("(prefers-color-scheme: light)").removeEventListener(o,l)}catch(e){}return c(null==r?void 0:r.matches),window.matchMedia("(prefers-color-scheme: dark)").addEventListener(o,d),window.matchMedia("(prefers-color-scheme: light)").addEventListener(o,l),()=>{window.matchMedia("(prefers-color-scheme: dark)").removeEventListener(o,d),window.matchMedia("(prefers-color-scheme: light)").removeEventListener(o,l)}},c=function(){let o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:()=>document.body,c=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e=>e;e((()=>t(o,c)),[o,c])};let d={dark:"theme-dark",light:"theme-light"};const l=()=>d,r=e=>{d=e},s=function(e,o){let t=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];const c=e?d.light:d.dark,l=e?d.dark:d.light;o&&(o.classList.remove(c),o.classList.remove(l),o.classList.add(l)),"undefined"!=typeof document&&(document.querySelectorAll(".".concat(c)).forEach((e=>{e.classList.add(".".concat(l)),e.classList.remove(".".concat(c))})),t&&(document.querySelectorAll(".shadow-div").forEach((e=>{var o,t;null===(o=e.shadowRoot)||void 0===o||null===(o=o.querySelector(".".concat(c)))||void 0===o||o.classList.add(l),null===(t=e.shadowRoot)||void 0===t||null===(t=t.querySelector(".".concat(c)))||void 0===t||t.classList.remove(c)})),document.querySelectorAll("esmf-wrapper").forEach((e=>{var o,t,d;null===(o=e.shadowRoot)||void 0===o||null===(o=o.querySelector(".".concat(c)))||void 0===o||o.classList.add(l),null===(t=e.shadowRoot)||void 0===t||null===(t=t.querySelector(".".concat(c)))||void 0===t||t.classList.remove(c);const r=null===(d=e.shadowRoot)||void 0===d?void 0:d.childNodes[0];r&&(r.classList.add(l),r.classList.remove(c))}))))},n=(e,o)=>{let t=e||!1;"undefined"!=typeof document&&void 0===e&&(t=document.body.classList.contains(d.dark)),s(t,o||document.body)};export{l as getBaseThemes,t as observeThemePreference,r as setThemeClassNames,s as switchColorTheme,n as updateColorTheme,c as useThemePreference};
2
2
  //# sourceMappingURL=useThemePreference.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"useThemePreference.js","sources":["../../../../../../src/core/hooks/useThemePreference.ts"],"sourcesContent":["import { useEffect } from 'react'\n\n\nconst windowMatchMediaChangeEventType = 'change'\n\n/**\n * Observes the user's theme preference and applies the appropriate theme.\n * @param {() => HTMLElement} [getHtmlElement] - Function to get the HTML element to which the theme will be applied.\n * @param {(isDark: boolean) => void} [switchCallback] - Callback function to execute when the theme changes.\n * @returns {() => void} Function to stop observing the theme preference.\n */\nexport const observeThemePreference = (\n getHtmlElement: () => HTMLElement = (): HTMLElement => document.body,\n switchCallback: (isDark: boolean) => void = (isDark: boolean): boolean => isDark,\n): () => void => {\n const switchColorThemeHandler = (isDark: boolean): void => {\n const htmlElement = getHtmlElement()\n\n switchColorTheme?.(isDark, htmlElement)\n switchCallback?.(isDark)\n }\n\n const changeDarkColorThemeHandler = (event: MediaQueryListEvent): void => {\n switchColorThemeHandler(event.matches)\n }\n\n const changeLightColorThemeHandler = (event: MediaQueryListEvent): void => {\n switchColorThemeHandler(!event.matches)\n }\n\n const isDark = window.matchMedia('(prefers-color-scheme: dark)')\n\n try {\n window.matchMedia('(prefers-color-scheme: dark)').removeEventListener(\n windowMatchMediaChangeEventType, changeDarkColorThemeHandler,\n )\n window.matchMedia('(prefers-color-scheme: light)').removeEventListener(\n windowMatchMediaChangeEventType, changeLightColorThemeHandler,\n )\n } catch (error) {\n console.error(`Error::observeThemePreference::removeEventListener: ${error}`)\n }\n\n switchColorThemeHandler(isDark?.matches)\n window.matchMedia('(prefers-color-scheme: dark)').addEventListener(\n windowMatchMediaChangeEventType, changeDarkColorThemeHandler,\n )\n window.matchMedia('(prefers-color-scheme: light)').addEventListener(\n windowMatchMediaChangeEventType, changeLightColorThemeHandler,\n )\n\n return () => {\n window.matchMedia('(prefers-color-scheme: dark)').removeEventListener(\n windowMatchMediaChangeEventType, changeDarkColorThemeHandler,\n )\n window.matchMedia('(prefers-color-scheme: light)').removeEventListener(\n windowMatchMediaChangeEventType, changeLightColorThemeHandler,\n )\n }\n}\n\n/**\n * Custom hook to use theme preference in a React component.\n * @param {() => HTMLElement} [getHtmlElement] - Function to get the HTML element to which the theme will be applied.\n * @param {(isDark: boolean) => void} [switchCallback] - Callback function to execute when the theme changes.\n */\nexport const useThemePreference = (\n getHtmlElement: () => HTMLElement = (): HTMLElement => document.body,\n switchCallback: (isDark: boolean) => void = (isDark: boolean): boolean => isDark,\n): void => {\n useEffect(() => observeThemePreference(getHtmlElement, switchCallback), [getHtmlElement, switchCallback])\n}\n\n/**\n * Type definition for theme map.\n * @typedef {Object} ThemeMap\n * @property {string} dark - CSS class for the dark theme.\n * @property {string} light - CSS class for the light theme.\n */\ntype ThemeMap = {\n dark: string\n light: string\n}\n\nlet baseThemes: ThemeMap = {\n dark: 'theme-dark',\n light: 'theme-light',\n}\n\n/**\n * Gets the base themes.\n * @returns {ThemeMap} The current base themes.\n */\nexport const getBaseThemes = (): ThemeMap => baseThemes\n\n/**\n * Sets the base theme class names.\n * @param {ThemeMap} themes - Object containing the CSS classes for dark and light themes.\n */\nexport const setThemeClassNames = (themes: ThemeMap): void => {\n baseThemes = themes\n}\n\n/**\n * Switches the color theme of the document.\n * @param {boolean} isDark - Flag to determine if the dark theme should be applied.\n * @param {HTMLElement} [htmlElement] - The HTML element to which the theme will be applied.\n * @param {boolean} [findShadows=true] - Flag to determine if shadow DOM elements should also be themed.\n */\nexport const switchColorTheme = (isDark: boolean, htmlElement?: HTMLElement, findShadows = true): void => {\n const oldClass = isDark ? baseThemes.light : baseThemes.dark\n const newClass = isDark ? baseThemes.dark : baseThemes.light\n\n if (htmlElement) {\n htmlElement.classList.remove(oldClass)\n htmlElement.classList.remove(newClass)\n htmlElement.classList.add(newClass)\n }\n\n if (typeof document !== 'undefined') {\n document.querySelectorAll(`.${oldClass}`).forEach((element) => {\n element.classList.add(`.${newClass}`)\n element.classList.remove(`.${oldClass}`)\n })\n\n if (findShadows) {\n document.querySelectorAll('.shadow-div').forEach((element) => {\n element.shadowRoot?.querySelector(`.${oldClass}`)?.classList.add(newClass)\n element.shadowRoot?.querySelector(`.${oldClass}`)?.classList.remove(oldClass)\n })\n\n document.querySelectorAll('esmf-wrapper').forEach((element) => {\n element.shadowRoot?.querySelector(`.${oldClass}`)?.classList.add(newClass)\n element.shadowRoot?.querySelector(`.${oldClass}`)?.classList.remove(oldClass)\n\n const firstChild: HTMLElement = element.shadowRoot?.childNodes[0] as HTMLElement\n\n if (firstChild) {\n firstChild.classList.add(newClass)\n firstChild.classList.remove(oldClass)\n }\n })\n }\n }\n}\n\n/**\n * Updates the color theme of the document.\n * @param {boolean} [isDark] - Optional flag to determine if the dark theme should be applied.\n * @param {HTMLElement} [htmlElement] - The HTML element to which the theme will be applied.\n */\nexport const updateColorTheme = (isDark?: boolean, htmlElement?: HTMLElement): void => {\n let resolvedIsDark: boolean = isDark || false\n\n if (typeof document !== 'undefined' && isDark === undefined) {\n resolvedIsDark = document.body.classList.contains(baseThemes.dark)\n }\n switchColorTheme(resolvedIsDark, htmlElement || document.body)\n}\n"],"names":["windowMatchMediaChangeEventType","observeThemePreference","getHtmlElement","arguments","length","undefined","document","body","switchCallback","isDark","switchColorThemeHandler","htmlElement","switchColorTheme","changeDarkColorThemeHandler","event","matches","changeLightColorThemeHandler","window","matchMedia","removeEventListener","error","addEventListener","useThemePreference","useEffect","baseThemes","dark","light","getBaseThemes","setThemeClassNames","themes","findShadows","oldClass","newClass","classList","remove","add","querySelectorAll","concat","forEach","element","_element$shadowRoot","_element$shadowRoot2","shadowRoot","querySelector","_element$shadowRoot3","_element$shadowRoot4","_element$shadowRoot5","firstChild","childNodes","updateColorTheme","resolvedIsDark","contains"],"mappings":"yDAGA,MAAMA,EAAkC,SAQ3BC,EAAyB,WAGrB,IAFfC,EAAiCC,UAAAC,OAAAD,QAAAE,IAAAF,UAAAE,GAAAF,UAAA,GAAG,IAAmBG,SAASC,KAChEC,EAAyCL,UAAAC,OAAAD,QAAAE,IAAAF,UAAAE,GAAAF,UAAIM,GAAAA,GAA6BA,EAE1E,MAAMC,EAA2BD,IAC/B,MAAME,EAAcT,IAEpBU,SAAAA,EAAmBH,EAAQE,GAC3BH,SAAAA,EAAiBC,EAAO,EAGpBI,EAA+BC,IACnCJ,EAAwBI,EAAMC,QAAQ,EAGlCC,EAAgCF,IACpCJ,GAAyBI,EAAMC,QAAQ,EAGnCN,EAASQ,OAAOC,WAAW,gCAEjC,IACED,OAAOC,WAAW,gCAAgCC,oBAChDnB,EAAiCa,GAEnCI,OAAOC,WAAW,iCAAiCC,oBACjDnB,EAAiCgB,EAEpC,CAAC,MAAOI,GAAO,CAYhB,OARAV,EAAwBD,eAAAA,EAAQM,SAChCE,OAAOC,WAAW,gCAAgCG,iBAChDrB,EAAiCa,GAEnCI,OAAOC,WAAW,iCAAiCG,iBACjDrB,EAAiCgB,GAG5B,KACLC,OAAOC,WAAW,gCAAgCC,oBAChDnB,EAAiCa,GAEnCI,OAAOC,WAAW,iCAAiCC,oBACjDnB,EAAiCgB,EAClC,CAEL,EAOaM,EAAqB,WAGvB,IAFTpB,EAAiCC,UAAAC,OAAAD,QAAAE,IAAAF,UAAAE,GAAAF,UAAA,GAAG,IAAmBG,SAASC,KAChEC,EAAyCL,UAAAC,OAAAD,QAAAE,IAAAF,UAAAE,GAAAF,UAAIM,GAAAA,GAA6BA,EAE1Ec,EAASA,WAAC,IAAMtB,EAAuBC,EAAgBM,IAAiB,CAACN,EAAgBM,GAC3F,EAaA,IAAIgB,EAAuB,CACzBC,KAAM,aACNC,MAAO,eAOIC,MAAAA,EAAgBA,IAAgBH,EAMhCI,EAAsBC,IACjCL,EAAaK,CAAM,EASRjB,EAAmB,SAACH,EAAiBE,GAAwD,IAA7BmB,IAAW3B,UAAAC,OAAA,QAAAC,IAAAF,UAAA,KAAAA,UAAA,GACtF,MAAM4B,EAAWtB,EAASe,EAAWE,MAAQF,EAAWC,KAClDO,EAAWvB,EAASe,EAAWC,KAAOD,EAAWE,MAEnDf,IACFA,EAAYsB,UAAUC,OAAOH,GAC7BpB,EAAYsB,UAAUC,OAAOF,GAC7BrB,EAAYsB,UAAUE,IAAIH,IAGJ,oBAAb1B,WACTA,SAAS8B,iBAAgBC,IAAAA,OAAKN,IAAYO,SAASC,IACjDA,EAAQN,UAAUE,QAAGE,OAAKL,IAC1BO,EAAQN,UAAUC,WAAMG,OAAKN,GAAW,IAGtCD,IACFxB,SAAS8B,iBAAiB,eAAeE,SAASC,IAAY,IAAAC,EAAAC,EAC1C,QAAlBD,EAAAD,EAAQG,kBAAU,IAAAF,GAA+B,QAA/BA,EAAlBA,EAAoBG,cAAa,IAAAN,OAAKN,WAAW,IAAAS,GAAjDA,EAAmDP,UAAUE,IAAIH,GAC/C,QAAlBS,EAAAF,EAAQG,kBAAU,IAAAD,GAA+B,QAA/BA,EAAlBA,EAAoBE,cAAa,IAAAN,OAAKN,WAAW,IAAAU,GAAjDA,EAAmDR,UAAUC,OAAOH,EAAS,IAG/EzB,SAAS8B,iBAAiB,gBAAgBE,SAASC,IAAY,IAAAK,EAAAC,EAAAC,EAC3C,QAAlBF,EAAAL,EAAQG,kBAAU,IAAAE,GAA+B,QAA/BA,EAAlBA,EAAoBD,cAAa,IAAAN,OAAKN,WAAW,IAAAa,GAAjDA,EAAmDX,UAAUE,IAAIH,GAC/C,QAAlBa,EAAAN,EAAQG,kBAAU,IAAAG,GAA+B,QAA/BA,EAAlBA,EAAoBF,cAAa,IAAAN,OAAKN,WAAW,IAAAc,GAAjDA,EAAmDZ,UAAUC,OAAOH,GAEpE,MAAMgB,EAA4CD,QAArBA,EAAGP,EAAQG,sBAAUI,SAAlBA,EAAoBE,WAAW,GAE3DD,IACFA,EAAWd,UAAUE,IAAIH,GACzBe,EAAWd,UAAUC,OAAOH,GAC9B,KAIR,EAOakB,EAAmBA,CAACxC,EAAkBE,KACjD,IAAIuC,EAA0BzC,IAAU,EAEhB,oBAAbH,eAAuCD,IAAXI,IACrCyC,EAAiB5C,SAASC,KAAK0B,UAAUkB,SAAS3B,EAAWC,OAE/Db,EAAiBsC,EAAgBvC,GAAeL,SAASC,KAAK"}
1
+ {"version":3,"file":"useThemePreference.js","sources":["../../../../../../src/core/hooks/useThemePreference.ts"],"sourcesContent":["import { useEffect } from 'react'\n\n\nconst windowMatchMediaChangeEventType = 'change'\n\n/**\n * Observes the user's theme preference and applies the appropriate theme.\n * @param {() => HTMLElement} [getHtmlElement] - Function to get the HTML element to which the theme will be applied.\n * @param {(isDark: boolean) => void} [switchCallback] - Callback function to execute when the theme changes.\n * @returns {() => void} Function to stop observing the theme preference.\n */\nexport const observeThemePreference = (\n getHtmlElement: () => HTMLElement = (): HTMLElement => document.body,\n switchCallback: (isDark: boolean) => void = (isDark: boolean): boolean => isDark,\n): () => void => {\n const switchColorThemeHandler = (isDark: boolean): void => {\n const htmlElement = getHtmlElement()\n\n switchColorTheme?.(isDark, htmlElement)\n switchCallback?.(isDark)\n }\n\n const changeDarkColorThemeHandler = (event: MediaQueryListEvent): void => {\n switchColorThemeHandler(event.matches)\n }\n\n const changeLightColorThemeHandler = (event: MediaQueryListEvent): void => {\n switchColorThemeHandler(!event.matches)\n }\n\n const isDark = window.matchMedia('(prefers-color-scheme: dark)')\n\n try {\n window.matchMedia('(prefers-color-scheme: dark)').removeEventListener(\n windowMatchMediaChangeEventType, changeDarkColorThemeHandler,\n )\n window.matchMedia('(prefers-color-scheme: light)').removeEventListener(\n windowMatchMediaChangeEventType, changeLightColorThemeHandler,\n )\n } catch (error) {\n console.error(`Error::observeThemePreference::removeEventListener: ${error}`)\n }\n\n switchColorThemeHandler(isDark?.matches)\n window.matchMedia('(prefers-color-scheme: dark)').addEventListener(\n windowMatchMediaChangeEventType, changeDarkColorThemeHandler,\n )\n window.matchMedia('(prefers-color-scheme: light)').addEventListener(\n windowMatchMediaChangeEventType, changeLightColorThemeHandler,\n )\n\n return () => {\n window.matchMedia('(prefers-color-scheme: dark)').removeEventListener(\n windowMatchMediaChangeEventType, changeDarkColorThemeHandler,\n )\n window.matchMedia('(prefers-color-scheme: light)').removeEventListener(\n windowMatchMediaChangeEventType, changeLightColorThemeHandler,\n )\n }\n}\n\n/**\n * Custom hook to use theme preference in a React component.\n * @param {() => HTMLElement} [getHtmlElement] - Function to get the HTML element to which the theme will be applied.\n * @param {(isDark: boolean) => void} [switchCallback] - Callback function to execute when the theme changes.\n */\nexport const useThemePreference = (\n getHtmlElement: () => HTMLElement = (): HTMLElement => document.body,\n switchCallback: (isDark: boolean) => void = (isDark: boolean): boolean => isDark,\n): void => {\n useEffect(() => observeThemePreference(getHtmlElement, switchCallback), [getHtmlElement, switchCallback])\n}\n\n/**\n * Type definition for theme map.\n * @typedef {Object} ThemeMap\n * @property {string} dark - CSS class for the dark theme.\n * @property {string} light - CSS class for the light theme.\n */\ntype ThemeMap = {\n dark: string\n light: string\n}\n\nlet baseThemes: ThemeMap = {\n dark: 'theme-dark',\n light: 'theme-light',\n}\n\n/**\n * Gets the base themes.\n * @returns {ThemeMap} The current base themes.\n */\nexport const getBaseThemes = (): ThemeMap => baseThemes\n\n/**\n * Sets the base theme class names.\n * @param {ThemeMap} themes - Object containing the CSS classes for dark and light themes.\n */\nexport const setThemeClassNames = (themes: ThemeMap): void => {\n baseThemes = themes\n}\n\n/**\n * Switches the color theme of the document.\n * @param {boolean} isDark - Flag to determine if the dark theme should be applied.\n * @param {HTMLElement} [htmlElement] - The HTML element to which the theme will be applied.\n * @param {boolean} [findShadows=true] - Flag to determine if shadow DOM elements should also be themed.\n */\nexport const switchColorTheme = (isDark: boolean, htmlElement?: HTMLElement, findShadows = true): void => {\n const oldClass = isDark ? baseThemes.light : baseThemes.dark\n const newClass = isDark ? baseThemes.dark : baseThemes.light\n\n if (htmlElement) {\n htmlElement.classList.remove(oldClass)\n htmlElement.classList.remove(newClass)\n htmlElement.classList.add(newClass)\n }\n\n if (typeof document !== 'undefined') {\n document.querySelectorAll(`.${oldClass}`).forEach((element) => {\n element.classList.add(`.${newClass}`)\n element.classList.remove(`.${oldClass}`)\n })\n\n if (findShadows) {\n document.querySelectorAll('.shadow-div').forEach((element) => {\n element.shadowRoot?.querySelector(`.${oldClass}`)?.classList.add(newClass)\n element.shadowRoot?.querySelector(`.${oldClass}`)?.classList.remove(oldClass)\n })\n\n document.querySelectorAll('esmf-wrapper').forEach((element) => {\n element.shadowRoot?.querySelector(`.${oldClass}`)?.classList.add(newClass)\n element.shadowRoot?.querySelector(`.${oldClass}`)?.classList.remove(oldClass)\n\n const firstChild: HTMLElement = element.shadowRoot?.childNodes[0] as HTMLElement\n\n if (firstChild) {\n firstChild.classList.add(newClass)\n firstChild.classList.remove(oldClass)\n }\n })\n }\n }\n}\n\n/**\n * Updates the color theme of the document.\n * @param {boolean} [isDark] - Optional flag to determine if the dark theme should be applied.\n * @param {HTMLElement} [htmlElement] - The HTML element to which the theme will be applied.\n */\nexport const updateColorTheme = (isDark?: boolean, htmlElement?: HTMLElement): void => {\n let resolvedIsDark: boolean = isDark || false\n\n if (typeof document !== 'undefined' && isDark === undefined) {\n resolvedIsDark = document.body.classList.contains(baseThemes.dark)\n }\n switchColorTheme(resolvedIsDark, htmlElement || document.body)\n}\n"],"names":["windowMatchMediaChangeEventType","observeThemePreference","getHtmlElement","arguments","length","undefined","document","body","switchCallback","isDark","switchColorThemeHandler","htmlElement","switchColorTheme","changeDarkColorThemeHandler","event","matches","changeLightColorThemeHandler","window","matchMedia","removeEventListener","error","addEventListener","useThemePreference","useEffect","baseThemes","dark","light","getBaseThemes","setThemeClassNames","themes","findShadows","oldClass","newClass","classList","remove","add","querySelectorAll","concat","forEach","element","_element$shadowRoot","_element$shadowRoot2","shadowRoot","querySelector","_element$shadowRoot3","_element$shadowRoot4","_element$shadowRoot5","firstChild","childNodes","updateColorTheme","resolvedIsDark","contains"],"mappings":"kCAGA,MAAMA,EAAkC,SAQ3BC,EAAyB,WAGrB,IAFfC,EAAiCC,UAAAC,OAAAD,QAAAE,IAAAF,UAAAE,GAAAF,UAAA,GAAG,IAAmBG,SAASC,KAChEC,EAAyCL,UAAAC,OAAAD,QAAAE,IAAAF,UAAAE,GAAAF,UAAIM,GAAAA,GAA6BA,EAE1E,MAAMC,EAA2BD,IAC/B,MAAME,EAAcT,IAEpBU,SAAAA,EAAmBH,EAAQE,GAC3BH,SAAAA,EAAiBC,EAAO,EAGpBI,EAA+BC,IACnCJ,EAAwBI,EAAMC,QAAQ,EAGlCC,EAAgCF,IACpCJ,GAAyBI,EAAMC,QAAQ,EAGnCN,EAASQ,OAAOC,WAAW,gCAEjC,IACED,OAAOC,WAAW,gCAAgCC,oBAChDnB,EAAiCa,GAEnCI,OAAOC,WAAW,iCAAiCC,oBACjDnB,EAAiCgB,EAEpC,CAAC,MAAOI,GAAO,CAYhB,OARAV,EAAwBD,eAAAA,EAAQM,SAChCE,OAAOC,WAAW,gCAAgCG,iBAChDrB,EAAiCa,GAEnCI,OAAOC,WAAW,iCAAiCG,iBACjDrB,EAAiCgB,GAG5B,KACLC,OAAOC,WAAW,gCAAgCC,oBAChDnB,EAAiCa,GAEnCI,OAAOC,WAAW,iCAAiCC,oBACjDnB,EAAiCgB,EAClC,CAEL,EAOaM,EAAqB,WAGvB,IAFTpB,EAAiCC,UAAAC,OAAAD,QAAAE,IAAAF,UAAAE,GAAAF,UAAA,GAAG,IAAmBG,SAASC,KAChEC,EAAyCL,UAAAC,OAAAD,QAAAE,IAAAF,UAAAE,GAAAF,UAAIM,GAAAA,GAA6BA,EAE1Ec,GAAU,IAAMtB,EAAuBC,EAAgBM,IAAiB,CAACN,EAAgBM,GAC3F,EAaA,IAAIgB,EAAuB,CACzBC,KAAM,aACNC,MAAO,eAOIC,MAAAA,EAAgBA,IAAgBH,EAMhCI,EAAsBC,IACjCL,EAAaK,CAAM,EASRjB,EAAmB,SAACH,EAAiBE,GAAwD,IAA7BmB,IAAW3B,UAAAC,OAAA,QAAAC,IAAAF,UAAA,KAAAA,UAAA,GACtF,MAAM4B,EAAWtB,EAASe,EAAWE,MAAQF,EAAWC,KAClDO,EAAWvB,EAASe,EAAWC,KAAOD,EAAWE,MAEnDf,IACFA,EAAYsB,UAAUC,OAAOH,GAC7BpB,EAAYsB,UAAUC,OAAOF,GAC7BrB,EAAYsB,UAAUE,IAAIH,IAGJ,oBAAb1B,WACTA,SAAS8B,iBAAgBC,IAAAA,OAAKN,IAAYO,SAASC,IACjDA,EAAQN,UAAUE,QAAGE,OAAKL,IAC1BO,EAAQN,UAAUC,WAAMG,OAAKN,GAAW,IAGtCD,IACFxB,SAAS8B,iBAAiB,eAAeE,SAASC,IAAY,IAAAC,EAAAC,EAC1C,QAAlBD,EAAAD,EAAQG,kBAAU,IAAAF,GAA+B,QAA/BA,EAAlBA,EAAoBG,cAAa,IAAAN,OAAKN,WAAW,IAAAS,GAAjDA,EAAmDP,UAAUE,IAAIH,GAC/C,QAAlBS,EAAAF,EAAQG,kBAAU,IAAAD,GAA+B,QAA/BA,EAAlBA,EAAoBE,cAAa,IAAAN,OAAKN,WAAW,IAAAU,GAAjDA,EAAmDR,UAAUC,OAAOH,EAAS,IAG/EzB,SAAS8B,iBAAiB,gBAAgBE,SAASC,IAAY,IAAAK,EAAAC,EAAAC,EAC3C,QAAlBF,EAAAL,EAAQG,kBAAU,IAAAE,GAA+B,QAA/BA,EAAlBA,EAAoBD,cAAa,IAAAN,OAAKN,WAAW,IAAAa,GAAjDA,EAAmDX,UAAUE,IAAIH,GAC/C,QAAlBa,EAAAN,EAAQG,kBAAU,IAAAG,GAA+B,QAA/BA,EAAlBA,EAAoBF,cAAa,IAAAN,OAAKN,WAAW,IAAAc,GAAjDA,EAAmDZ,UAAUC,OAAOH,GAEpE,MAAMgB,EAA4CD,QAArBA,EAAGP,EAAQG,sBAAUI,SAAlBA,EAAoBE,WAAW,GAE3DD,IACFA,EAAWd,UAAUE,IAAIH,GACzBe,EAAWd,UAAUC,OAAOH,GAC9B,KAIR,EAOakB,EAAmBA,CAACxC,EAAkBE,KACjD,IAAIuC,EAA0BzC,IAAU,EAEhB,oBAAbH,eAAuCD,IAAXI,IACrCyC,EAAiB5C,SAASC,KAAK0B,UAAUkB,SAAS3B,EAAWC,OAE/Db,EAAiBsC,EAAgBvC,GAAeL,SAASC,KAAK"}
@@ -1,2 +1,2 @@
1
- import"../../../node_modules/core-js/modules/web.dom-collections.iterator.js";import{r as o}from"../../../node_modules/react/index.js";const e=function(e){let l=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];const[t,n]=o.useState(e),s=o.useCallback((o=>{n(l?e=>"boolean"==typeof o?o:!e:null!=o?o:!t)}),[l,t,n]),a=o.useCallback((o=>s(void 0===o||"boolean"!=typeof o||o)),[s]),r=o.useCallback((o=>s(void 0!==o&&"boolean"==typeof o&&!0===o)),[s]);return[t,s,a,r]};export{e as useToggle};
1
+ import"../../../node_modules/core-js/modules/web.dom-collections.iterator.js";import{useState as o,useCallback as e}from"react";const t=function(t){let n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];const[l,r]=o(t),i=e((o=>{r(n?e=>"boolean"==typeof o?o:!e:null!=o?o:!l)}),[n,l,r]),c=e((o=>i(void 0===o||"boolean"!=typeof o||o)),[i]),d=e((o=>i(void 0!==o&&"boolean"==typeof o&&!0===o)),[i]);return[l,i,c,d]};export{t as useToggle};
2
2
  //# sourceMappingURL=useToggle.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"useToggle.js","sources":["../../../../../../src/core/hooks/useToggle.ts"],"sourcesContent":["import { useState, useCallback } from 'react'\n\n/**\n * Type definition for the return value of the `useToggle` hook.\n * @typedef {Array} useToggleReturnType\n * @property {boolean} 0 - The current toggled state.\n * @property {(value?: any | boolean) => void} 1 - Function to toggle the state.\n * @property {(value?: any | boolean) => void} 2 - Function to forcefully set the state to true.\n * @property {(value?: any | boolean) => void} 3 - Function to forcefully set the state to false.\n */\nexport type useToggleReturnType = [\n boolean,\n (value?: any | boolean) => void,\n (value?: any | boolean) => void,\n (value?: any | boolean) => void\n]\n\n/**\n * Custom hook to manage a boolean state with toggle functionality.\n * @param {boolean} defaultValue - The initial value of the toggled state.\n * @param {boolean} [async=true] - Flag to determine if the toggle should be asynchronous.\n * @returns {useToggleReturnType} An array containing the current state, a toggle function,\n * and functions to set the state to true or false.\n */\nexport const useToggle = (defaultValue: boolean, async = true): useToggleReturnType => {\n const [toggled, setToggled] = useState(defaultValue)\n\n /**\n * Function to toggle the state.\n * @param {any | boolean} [value] - Optional value to set the state. If not provided, the state will be toggled.\n */\n const handleToggle: (value?: any | boolean) => void = useCallback((value?: any | boolean) => {\n if (async) {\n setToggled((prevToggled) => (typeof (value) === 'boolean' ? value : !prevToggled))\n } else {\n setToggled((value !== undefined && value !== null ? value : !toggled))\n }\n }, [async, toggled, setToggled])\n\n /**\n * Function to set the state to true.\n * @param {boolean} [forceValue] - Optional value to forcefully set the state.\n * If not provided, the state will be set to true.\n */\n const handleToggleTrue = useCallback(\n (forceValue?: boolean) => handleToggle(forceValue === undefined\n || typeof forceValue !== 'boolean' ? true : forceValue), [handleToggle],\n )\n\n /**\n * Function to set the state to false.\n * @param {boolean} [forceValue] - Optional value to forcefully set the state.\n * If not provided, the state will be set to false.\n */\n const handleToggleFalse = useCallback(\n (forceValue?: boolean) => handleToggle(forceValue === undefined\n || typeof forceValue !== 'boolean' ? false : forceValue === true), [handleToggle],\n )\n\n return [toggled, handleToggle, handleToggleTrue, handleToggleFalse]\n}\n"],"names":["useToggle","defaultValue","async","arguments","length","undefined","toggled","setToggled","useState","handleToggle","useCallback","value","prevToggled","handleToggleTrue","forceValue","handleToggleFalse"],"mappings":"6IAwBaA,EAAY,SAACC,GAA6D,IAAtCC,IAAKC,UAAAC,OAAA,QAAAC,IAAAF,UAAA,KAAAA,UAAA,GACpD,MAAOG,EAASC,GAAcC,EAAAA,SAASP,GAMjCQ,EAAgDC,EAAWA,aAAEC,IAE/DJ,EADEL,EACUU,GAAoC,kBAAXD,EAAuBA,GAASC,EAEzDD,QAAwCA,GAASL,EAC/D,GACC,CAACJ,EAAOI,EAASC,IAOdM,EAAmBH,EAAWA,aACjCI,GAAyBL,OAA4BJ,IAAfS,GACZ,kBAAfA,GAAkCA,IAAa,CAACL,IAQxDM,EAAoBL,EAAAA,aACvBI,GAAyBL,OAA4BJ,IAAfS,GACZ,kBAAfA,IAAkD,IAAfA,IAAsB,CAACL,IAGxE,MAAO,CAACH,EAASG,EAAcI,EAAkBE,EACnD"}
1
+ {"version":3,"file":"useToggle.js","sources":["../../../../../../src/core/hooks/useToggle.ts"],"sourcesContent":["import { useState, useCallback } from 'react'\n\n/**\n * Type definition for the return value of the `useToggle` hook.\n * @typedef {Array} useToggleReturnType\n * @property {boolean} 0 - The current toggled state.\n * @property {(value?: any | boolean) => void} 1 - Function to toggle the state.\n * @property {(value?: any | boolean) => void} 2 - Function to forcefully set the state to true.\n * @property {(value?: any | boolean) => void} 3 - Function to forcefully set the state to false.\n */\nexport type useToggleReturnType = [\n boolean,\n (value?: any | boolean) => void,\n (value?: any | boolean) => void,\n (value?: any | boolean) => void\n]\n\n/**\n * Custom hook to manage a boolean state with toggle functionality.\n * @param {boolean} defaultValue - The initial value of the toggled state.\n * @param {boolean} [async=true] - Flag to determine if the toggle should be asynchronous.\n * @returns {useToggleReturnType} An array containing the current state, a toggle function,\n * and functions to set the state to true or false.\n */\nexport const useToggle = (defaultValue: boolean, async = true): useToggleReturnType => {\n const [toggled, setToggled] = useState(defaultValue)\n\n /**\n * Function to toggle the state.\n * @param {any | boolean} [value] - Optional value to set the state. If not provided, the state will be toggled.\n */\n const handleToggle: (value?: any | boolean) => void = useCallback((value?: any | boolean) => {\n if (async) {\n setToggled((prevToggled) => (typeof (value) === 'boolean' ? value : !prevToggled))\n } else {\n setToggled((value !== undefined && value !== null ? value : !toggled))\n }\n }, [async, toggled, setToggled])\n\n /**\n * Function to set the state to true.\n * @param {boolean} [forceValue] - Optional value to forcefully set the state.\n * If not provided, the state will be set to true.\n */\n const handleToggleTrue = useCallback(\n (forceValue?: boolean) => handleToggle(forceValue === undefined\n || typeof forceValue !== 'boolean' ? true : forceValue), [handleToggle],\n )\n\n /**\n * Function to set the state to false.\n * @param {boolean} [forceValue] - Optional value to forcefully set the state.\n * If not provided, the state will be set to false.\n */\n const handleToggleFalse = useCallback(\n (forceValue?: boolean) => handleToggle(forceValue === undefined\n || typeof forceValue !== 'boolean' ? false : forceValue === true), [handleToggle],\n )\n\n return [toggled, handleToggle, handleToggleTrue, handleToggleFalse]\n}\n"],"names":["useToggle","defaultValue","async","arguments","length","undefined","toggled","setToggled","useState","handleToggle","useCallback","value","prevToggled","handleToggleTrue","forceValue","handleToggleFalse"],"mappings":"sIAwBaA,EAAY,SAACC,GAA6D,IAAtCC,IAAKC,UAAAC,OAAA,QAAAC,IAAAF,UAAA,KAAAA,UAAA,GACpD,MAAOG,EAASC,GAAcC,EAASP,GAMjCQ,EAAgDC,GAAaC,IAE/DJ,EADEL,EACUU,GAAoC,kBAAXD,EAAuBA,GAASC,EAEzDD,QAAwCA,GAASL,EAC/D,GACC,CAACJ,EAAOI,EAASC,IAOdM,EAAmBH,GACtBI,GAAyBL,OAA4BJ,IAAfS,GACZ,kBAAfA,GAAkCA,IAAa,CAACL,IAQxDM,EAAoBL,GACvBI,GAAyBL,OAA4BJ,IAAfS,GACZ,kBAAfA,IAAkD,IAAfA,IAAsB,CAACL,IAGxE,MAAO,CAACH,EAASG,EAAcI,EAAkBE,EACnD"}
@@ -1,2 +1,2 @@
1
- import"../../../node_modules/core-js/modules/web.dom-collections.iterator.js";import{r as o}from"../../../node_modules/react/index.js";const e=e=>{const[s,t]=o.useState(e),l=o.useCallback((o=>{t((e=>"boolean"==typeof o?o:!e))}),[]),a=o.useCallback((o=>l(void 0===o||o)),[l]),r=o.useCallback((o=>l(void 0!==o&&o)),[l]);return[s,l,a,r]};export{e as useToggle2};
1
+ import"../../../node_modules/core-js/modules/web.dom-collections.iterator.js";import{useState as o,useCallback as e}from"react";const t=t=>{const[r,s]=o(t),c=e((o=>{s((e=>"boolean"==typeof o?o:!e))}),[]),d=e((o=>c(void 0===o||o)),[c]),i=e((o=>c(void 0!==o&&o)),[c]);return[r,c,d,i]};export{t as useToggle2};
2
2
  //# sourceMappingURL=useToggle2.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"useToggle2.js","sources":["../../../../../../src/core/hooks/useToggle2.ts"],"sourcesContent":["import { useState, useCallback } from 'react'\n\n/**\n * Type definition for the return value of the `useToggle` hook.\n * @typedef {Array} useToggleReturnType\n * @property {boolean} 0 - The current toggled state.\n * @property {(value?: any | boolean) => void} 1 - Function to toggle the state.\n * @property {(value?: any | boolean) => void} 2 - Function to forcefully set the state to true.\n * @property {(value?: any | boolean) => void} 3 - Function to forcefully set the state to false.\n */\nexport type useToggleReturnType2 = [\n boolean,\n (value?: any | boolean) => void,\n (value?: any | boolean) => void,\n (value?: any | boolean) => void\n]\n\n/**\n * Custom hook to manage a boolean state with toggle functionality.\n * @param {boolean} defaultValue - The initial value of the toggled state.\n * @returns {useToggleReturnType2} An array containing the current state, a toggle function,\n * and functions to set the state to true or false.\n */\nexport const useToggle2 = (defaultValue: boolean): useToggleReturnType2 => {\n const [toggled, setToggled] = useState(defaultValue)\n\n /**\n * Function to toggle the state.\n * @param {any | boolean} [value] - Optional value to set the state. If not provided, the state will be toggled.\n */\n const handleToggle: (value?: any | boolean) => void = useCallback((value?: any | boolean) => {\n setToggled((prevToggled) => (typeof (value) === 'boolean' ? value : !prevToggled))\n }, [])\n\n /**\n * Function to set the state to true.\n * @param {boolean} [forceValue] - Optional value to forcefully set the state.\n * If not provided, the state will be set to true.\n */\n const handleToggleTrue = useCallback(\n (forceValue?: boolean) => handleToggle(forceValue === undefined ? true : forceValue), [handleToggle],\n )\n\n /**\n * Function to set the state to false.\n * @param {boolean} [forceValue] - Optional value to forcefully set the state.\n * If not provided, the state will be set to false.\n */\n const handleToggleFalse = useCallback(\n (forceValue?: boolean) => handleToggle(forceValue === undefined ? false : forceValue), [handleToggle],\n )\n\n return [toggled, handleToggle, handleToggleTrue, handleToggleFalse]\n}\n"],"names":["useToggle2","defaultValue","toggled","setToggled","useState","handleToggle","useCallback","value","prevToggled","handleToggleTrue","forceValue","undefined","handleToggleFalse"],"mappings":"uIAuBaA,MAAAA,EAAcC,IACzB,MAAOC,EAASC,GAAcC,EAAAA,SAASH,GAMjCI,EAAgDC,EAAWA,aAAEC,IACjEJ,GAAYK,GAAoC,kBAAXD,EAAuBA,GAASC,GAAa,GACjF,IAOGC,EAAmBH,EAAAA,aACtBI,GAAyBL,OAA4BM,IAAfD,GAAkCA,IAAa,CAACL,IAQnFO,EAAoBN,EAAAA,aACvBI,GAAyBL,OAA4BM,IAAfD,GAAmCA,IAAa,CAACL,IAG1F,MAAO,CAACH,EAASG,EAAcI,EAAkBG,EAAkB"}
1
+ {"version":3,"file":"useToggle2.js","sources":["../../../../../../src/core/hooks/useToggle2.ts"],"sourcesContent":["import { useState, useCallback } from 'react'\n\n/**\n * Type definition for the return value of the `useToggle` hook.\n * @typedef {Array} useToggleReturnType\n * @property {boolean} 0 - The current toggled state.\n * @property {(value?: any | boolean) => void} 1 - Function to toggle the state.\n * @property {(value?: any | boolean) => void} 2 - Function to forcefully set the state to true.\n * @property {(value?: any | boolean) => void} 3 - Function to forcefully set the state to false.\n */\nexport type useToggleReturnType2 = [\n boolean,\n (value?: any | boolean) => void,\n (value?: any | boolean) => void,\n (value?: any | boolean) => void\n]\n\n/**\n * Custom hook to manage a boolean state with toggle functionality.\n * @param {boolean} defaultValue - The initial value of the toggled state.\n * @returns {useToggleReturnType2} An array containing the current state, a toggle function,\n * and functions to set the state to true or false.\n */\nexport const useToggle2 = (defaultValue: boolean): useToggleReturnType2 => {\n const [toggled, setToggled] = useState(defaultValue)\n\n /**\n * Function to toggle the state.\n * @param {any | boolean} [value] - Optional value to set the state. If not provided, the state will be toggled.\n */\n const handleToggle: (value?: any | boolean) => void = useCallback((value?: any | boolean) => {\n setToggled((prevToggled) => (typeof (value) === 'boolean' ? value : !prevToggled))\n }, [])\n\n /**\n * Function to set the state to true.\n * @param {boolean} [forceValue] - Optional value to forcefully set the state.\n * If not provided, the state will be set to true.\n */\n const handleToggleTrue = useCallback(\n (forceValue?: boolean) => handleToggle(forceValue === undefined ? true : forceValue), [handleToggle],\n )\n\n /**\n * Function to set the state to false.\n * @param {boolean} [forceValue] - Optional value to forcefully set the state.\n * If not provided, the state will be set to false.\n */\n const handleToggleFalse = useCallback(\n (forceValue?: boolean) => handleToggle(forceValue === undefined ? false : forceValue), [handleToggle],\n )\n\n return [toggled, handleToggle, handleToggleTrue, handleToggleFalse]\n}\n"],"names":["useToggle2","defaultValue","toggled","setToggled","useState","handleToggle","useCallback","value","prevToggled","handleToggleTrue","forceValue","undefined","handleToggleFalse"],"mappings":"gIAuBaA,MAAAA,EAAcC,IACzB,MAAOC,EAASC,GAAcC,EAASH,GAMjCI,EAAgDC,GAAaC,IACjEJ,GAAYK,GAAoC,kBAAXD,EAAuBA,GAASC,GAAa,GACjF,IAOGC,EAAmBH,GACtBI,GAAyBL,OAA4BM,IAAfD,GAAkCA,IAAa,CAACL,IAQnFO,EAAoBN,GACvBI,GAAyBL,OAA4BM,IAAfD,GAAmCA,IAAa,CAACL,IAG1F,MAAO,CAACH,EAASG,EAAcI,EAAkBG,EAAkB"}
@@ -1,2 +1,2 @@
1
- import{objectWithoutProperties as t,extends as e,objectSpread2 as a}from"../../../../../../_virtual/_rollupPluginBabelHelpers.js";import"../../../../../../node_modules/core-js/modules/web.dom-collections.iterator.js";import{r as n}from"../../../../../../node_modules/react/index.js";import o from"./button.module.scss.js";import{Link as r}from"../text/Link.js";import{classNames as i,noop as l}from"../../../../utils/helpers/ui.js";import{composeId as s}from"../../../../utils/helpers/text.js";import{IconBase as c}from"../../icon/IconBase.js";const d=["variant","href","target","children"],m=["label","children","variant","tiny","truncate","fluid","preventDefualt","stopPropagation","onClick","type","transparent","hasShadow","hasIcon","disabled","animated","className","id","href","target"],p={ENTER:{key:"Enter",keyCode:13}},u=n.memo((e=>{let{variant:o,href:i,target:s,children:c}=e,m=t(e,d);return"link"===o?n.createElement(r,a(a({width:"100%",href:i,target:s},m),{},{onClick:l}),c):n.createElement("span",{},c)}));u.displayName="InnerElement";const h=n.memo((a=>{let{label:r,children:l,variant:c,tiny:d,truncate:h,fluid:f,preventDefualt:b,stopPropagation:g,onClick:v,type:E="button",transparent:y,hasShadow:j,hasIcon:k,disabled:I,animated:C=!1,className:N="",id:P,href:w,target:x}=a,R=t(a,m);const S="".concat(r||(null==l?void 0:l.toString())),D=n.useCallback((t=>{b&&t.preventDefault(),g&&(t.stopPropagation(),t.nativeEvent.stopImmediatePropagation()),null==v||v(t)}),[v,b,g]),B=n.useCallback((t=>{t.key===p.ENTER.key&&(b&&t.preventDefault(),g&&(t.stopPropagation(),t.nativeEvent.stopImmediatePropagation()),null==v||v(t))}),[v,b,g]);return React.createElement("button",e({type:E,tabIndex:-1,onClick:D,onKeyDown:B,className:i(o.button,d&&o.tiny,c&&o[c],h&&o.truncate,f&&o.fluid,C&&o.animated,y&&o.transparent,j&&o.hasShadow,k&&o.hasIcon,I&&o.disabled,N),id:"".concat(P||S&&s(S)),"data-testid":"".concat(R.dataTestId||R["data-testid"]||P||S&&s(S))},R),React.createElement(u,{variant:c,href:w,target:x},r&&r,l||l))}));h.displayName="Button";const f=["iconUrl","minWidth","minHeight","width","height","size","fontSize","color"],b=n.memo((t=>{const a={},n={};return Object.entries(t).forEach((t=>{let[e,o]=t;f.includes(e)?n[e]=o:a[e]=o})),n.children=t.children,React.createElement(h,e({},a,{hasIcon:!0}),t.iconContent&&t.iconContent,!t.iconContent&&React.createElement(c,n))}));b.displayName="IconButton";export{h as Button,b as IconButton,p as keys};
1
+ import{objectWithoutProperties as t,extends as e,objectSpread2 as a}from"../../../../../../_virtual/_rollupPluginBabelHelpers.js";import"../../../../../../node_modules/core-js/modules/web.dom-collections.iterator.js";import{memo as n,useCallback as o,createElement as r}from"react";import i from"./button.module.scss.js";import{Link as s}from"../text/Link.js";import{classNames as l,noop as c}from"../../../../utils/helpers/ui.js";import{composeId as d}from"../../../../utils/helpers/text.js";import{IconBase as p}from"../../icon/IconBase.js";const m=["variant","href","target","children"],u=["label","children","variant","tiny","truncate","fluid","preventDefualt","stopPropagation","onClick","type","transparent","hasShadow","hasIcon","disabled","animated","className","id","href","target"],h={ENTER:{key:"Enter",keyCode:13}},f=n((e=>{let{variant:n,href:o,target:i,children:l}=e,d=t(e,m);return"link"===n?r(s,a(a({width:"100%",href:o,target:i},d),{},{onClick:c}),l):r("span",{},l)}));f.displayName="InnerElement";const g=n((a=>{let{label:n,children:r,variant:s,tiny:c,truncate:p,fluid:m,preventDefualt:g,stopPropagation:b,onClick:v,type:y="button",transparent:E,hasShadow:j,hasIcon:I,disabled:k,animated:C=!1,className:N="",id:P,href:w,target:R}=a,S=t(a,u);const x="".concat(n||(null==r?void 0:r.toString())),D=o((t=>{g&&t.preventDefault(),b&&(t.stopPropagation(),t.nativeEvent.stopImmediatePropagation()),null==v||v(t)}),[v,g,b]),B=o((t=>{t.key===h.ENTER.key&&(g&&t.preventDefault(),b&&(t.stopPropagation(),t.nativeEvent.stopImmediatePropagation()),null==v||v(t))}),[v,g,b]);return React.createElement("button",e({type:y,tabIndex:-1,onClick:D,onKeyDown:B,className:l(i.button,c&&i.tiny,s&&i[s],p&&i.truncate,m&&i.fluid,C&&i.animated,E&&i.transparent,j&&i.hasShadow,I&&i.hasIcon,k&&i.disabled,N),id:"".concat(P||x&&d(x)),"data-testid":"".concat(S.dataTestId||S["data-testid"]||P||x&&d(x))},S),React.createElement(f,{variant:s,href:w,target:R},n&&n,r||r))}));g.displayName="Button";const b=["iconUrl","minWidth","minHeight","width","height","size","fontSize","color"],v=n((t=>{const a={},n={};return Object.entries(t).forEach((t=>{let[e,o]=t;b.includes(e)?n[e]=o:a[e]=o})),n.children=t.children,React.createElement(g,e({},a,{hasIcon:!0}),t.iconContent&&t.iconContent,!t.iconContent&&React.createElement(p,n))}));v.displayName="IconButton";export{g as Button,v as IconButton,h as keys};
2
2
  //# sourceMappingURL=Button.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Button.js","sources":["../../../../../../../../../src/core/ui/components/atoms/button/Button.tsx"],"sourcesContent":["import { memo, useCallback, MouseEvent, KeyboardEvent, createElement, FC, HTMLAttributes } from 'react'\n\nimport { classNames, composeId, noop } from '../../../../utils'\nimport { Alerts } from '../../../../constants'\nimport { Link } from '../text'\nimport { IconBase, IconBaseProps } from '../../icon'\n\nimport type { ButtonProps, IconButtonProps } from './button.types'\nimport classes from './button.module.scss'\n\n\nexport const keys = {\n ENTER: {\n key: 'Enter',\n keyCode: 13,\n },\n}\n\ntype InnerElementsProps = Partial<ButtonProps> & Partial<HTMLAttributes<HTMLAnchorElement>>\n\nconst InnerElement: FC<InnerElementsProps> = memo(({\n variant, href, target, children, ...props\n}: Omit<InnerElementsProps, 'onClick'>) => {\n if (variant === 'link') {\n return createElement(Link, { width: '100%', href, target, ...props, onClick: noop }, children)\n }\n return createElement('span', {}, children)\n})\n\nInnerElement.displayName = 'InnerElement'\n\n/**\n * Button component for displaying buttons with optional features.\n * @component\n *\n * Generated component from Template\n * @param {object} props - The component props.\n * @param {string} props.label - The value to be displayed in the button.\n * @param {ReactNode} [props.children] - Additional content to be displayed inside the button.\n * @param {string} [props.variant] - The variant of the button (e.g., 'primary', 'secondary').\n * @param {boolean} [props.tiny] - Whether the button should be tiny.\n * @param {boolean} [props.truncate] - Whether the content inside the button should be truncated.\n * @param {boolean} [props.fluid] - Whether the button should have a fluid width.\n * @param {boolean} [props.animated=true] - Whether the button should have animation (default is true).\n * @param {string} [props.className] - Additional classes to be applied to the button.\n * @param {...object} props.props - Additional props to be spread to the underlying div element.\n *\n * @returns {JSX.Element} The rendered Button component.\n */\nexport const Button = memo(({\n label, children,\n variant, tiny, truncate, fluid,\n preventDefualt, stopPropagation,\n onClick,\n type = 'button',\n transparent,\n hasShadow,\n hasIcon,\n disabled,\n animated = false, className = '', id,\n href,\n target,\n ...props\n}: ButtonProps) => {\n const textFromChildren: string | undefined = `${label || children?.toString()}`\n\n const clickHandler = useCallback((event: MouseEvent) => {\n if (preventDefualt) {\n event.preventDefault()\n }\n if (stopPropagation) {\n event.stopPropagation()\n event.nativeEvent.stopImmediatePropagation()\n }\n onClick?.(event)\n }, [onClick, preventDefualt, stopPropagation])\n\n const keyDownHandler = useCallback((event: KeyboardEvent) => {\n if (event.key === keys.ENTER.key) {\n if (preventDefualt) {\n event.preventDefault()\n }\n if (stopPropagation) {\n event.stopPropagation()\n event.nativeEvent.stopImmediatePropagation()\n }\n onClick?.(event)\n }\n }, [onClick, preventDefualt, stopPropagation])\n\n return (\n <button\n // eslint-disable-next-line react/button-has-type\n type={type}\n tabIndex={-1}\n onClick={clickHandler}\n onKeyDown={keyDownHandler}\n className={classNames(\n classes.button,\n tiny && classes.tiny,\n variant && classes[variant as Alerts],\n truncate && classes.truncate,\n fluid && classes.fluid,\n animated && classes.animated,\n transparent && classes.transparent,\n hasShadow && classes.hasShadow,\n hasIcon && classes.hasIcon,\n disabled && classes.disabled,\n className,\n )}\n id={`${id || (textFromChildren && composeId(textFromChildren))}`}\n data-testid={`${(props as Record<string, string>).dataTestId || (props as Record<string, string>)['data-testid'] || id || (textFromChildren && composeId(textFromChildren))}`}\n {...props}\n >\n <InnerElement variant={variant} href={href} target={target}>\n {label && label}\n {children || children}\n </InnerElement>\n </button>\n )\n})\n\nexport type ButtonType = typeof Button\n\n// Set display name for the component.\nButton.displayName = 'Button'\n\nconst iconBaseProps = [\n 'iconUrl',\n 'minWidth',\n 'minHeight',\n 'width',\n 'height',\n 'size',\n 'fontSize',\n 'color',\n]\n\nexport const IconButton: FC<IconButtonProps> = memo<IconButtonProps>((props: IconButtonProps) => {\n const buttonProps: Record<string, unknown> = {}\n const iconProps: Record<string, unknown> = {}\n\n Object.entries(props).forEach(([name, value]: [string, unknown]) => {\n if (iconBaseProps.includes(name)) {\n // eslint-disable-next-line no-param-reassign\n iconProps[name] = value\n } else {\n buttonProps[name] = value\n }\n })\n\n iconProps.children = props.children\n\n return (\n <Button {...(buttonProps as ButtonProps)} hasIcon>\n {props.iconContent && props.iconContent}\n {!props.iconContent && (<IconBase {...(iconProps as IconBaseProps)} />)}\n </Button>\n )\n})\n\nIconButton.displayName = 'IconButton'\n"],"names":["keys","ENTER","key","keyCode","InnerElement","memo","_ref","variant","href","target","children","props","_objectWithoutProperties","_excluded","createElement","Link","_objectSpread","width","onClick","noop","displayName","Button","_ref2","label","tiny","truncate","fluid","preventDefualt","stopPropagation","type","transparent","hasShadow","hasIcon","disabled","animated","className","id","_excluded2","textFromChildren","concat","toString","clickHandler","useCallback","event","preventDefault","nativeEvent","stopImmediatePropagation","keyDownHandler","React","_extends","tabIndex","onKeyDown","classNames","classes","button","composeId","dataTestId","iconBaseProps","IconButton","buttonProps","iconProps","Object","entries","forEach","_ref3","name","value","includes","iconContent","IconBase"],"mappings":"yxBAWaA,EAAO,CAClBC,MAAO,CACLC,IAAK,QACLC,QAAS,KAMPC,EAAuCC,EAAIA,MAACC,IAEP,IAFQC,QACjDA,EAAOC,KAAEA,EAAIC,OAAEA,EAAMC,SAAEA,GACaJ,EADAK,EAAKC,EAAAN,EAAAO,GAEzC,MAAgB,SAAZN,EACKO,gBAAcC,EAAIC,EAAAA,EAAA,CAAIC,MAAO,OAAQT,OAAMC,UAAWE,GAAK,GAAA,CAAEO,QAASC,IAAQT,GAEhFI,gBAAc,OAAQ,CAAE,EAAEJ,EAAS,IAG5CN,EAAagB,YAAc,qBAoBdC,EAAShB,EAAIA,MAACiB,IAcR,IAdSC,MAC1BA,EAAKb,SAAEA,EAAQH,QACfA,EAAOiB,KAAEA,EAAIC,SAAEA,EAAQC,MAAEA,EAAKC,eAC9BA,EAAcC,gBAAEA,EAAeV,QAC/BA,EAAOW,KACPA,EAAO,SAAQC,YACfA,EAAWC,UACXA,EAASC,QACTA,EAAOC,SACPA,EAAQC,SACRA,GAAW,EAAKC,UAAEA,EAAY,GAAEC,GAAEA,EAAE5B,KACpCA,EAAIC,OACJA,GAEYa,EADTX,EAAKC,EAAAU,EAAAe,GAER,MAAMC,EAAoC,GAAAC,OAAMhB,IAASb,eAAAA,EAAU8B,aAE7DC,EAAeC,EAAWA,aAAEC,IAC5BhB,GACFgB,EAAMC,iBAEJhB,IACFe,EAAMf,kBACNe,EAAME,YAAYC,4BAEpB5B,SAAAA,EAAUyB,EAAM,GACf,CAACzB,EAASS,EAAgBC,IAEvBmB,EAAiBL,EAAWA,aAAEC,IAC9BA,EAAMzC,MAAQF,EAAKC,MAAMC,MACvByB,GACFgB,EAAMC,iBAEJhB,IACFe,EAAMf,kBACNe,EAAME,YAAYC,4BAEpB5B,SAAAA,EAAUyB,GACZ,GACC,CAACzB,EAASS,EAAgBC,IAE7B,OACEoB,MAAAlC,cAAA,SAAAmC,EAAA,CAEEpB,KAAMA,EACNqB,UAAW,EACXhC,QAASuB,EACTU,UAAWJ,EACXZ,UAAWiB,EACTC,EAAQC,OACR9B,GAAQ6B,EAAQ7B,KAChBjB,GAAW8C,EAAQ9C,GACnBkB,GAAY4B,EAAQ5B,SACpBC,GAAS2B,EAAQ3B,MACjBQ,GAAYmB,EAAQnB,SACpBJ,GAAeuB,EAAQvB,YACvBC,GAAasB,EAAQtB,UACrBC,GAAWqB,EAAQrB,QACnBC,GAAYoB,EAAQpB,SACpBE,GAEFC,GAAE,GAAAG,OAAKH,GAAOE,GAAoBiB,EAAUjB,IAC5C,cAAA,GAAAC,OAAiB5B,EAAiC6C,YAAe7C,EAAiC,gBAAkByB,GAAOE,GAAoBiB,EAAUjB,KACrJ3B,GAEJqC,MAAAlC,cAACV,EAAY,CAACG,QAASA,EAASC,KAAMA,EAAMC,OAAQA,GACjDc,GAASA,EACTb,GAAYA,GAER,IAObW,EAAOD,YAAc,SAErB,MAAMqC,EAAgB,CACpB,UACA,WACA,YACA,QACA,SACA,OACA,WACA,SAGWC,EAAkCrD,EAAIA,MAAmBM,IACpE,MAAMgD,EAAuC,CAAE,EACzCC,EAAqC,CAAE,EAa7C,OAXAC,OAAOC,QAAQnD,GAAOoD,SAAQC,IAAsC,IAApCC,EAAMC,GAAyBF,EACzDP,EAAcU,SAASF,GAEzBL,EAAUK,GAAQC,EAElBP,EAAYM,GAAQC,CACtB,IAGFN,EAAUlD,SAAWC,EAAMD,SAGzBsC,MAAAlC,cAACO,EAAM4B,KAAMU,EAAW,CAAkB3B,SAAO,IAC9CrB,EAAMyD,aAAezD,EAAMyD,aAC1BzD,EAAMyD,aAAgBpB,MAAAlC,cAACuD,EAAcT,GAChC,IAIbF,EAAWtC,YAAc"}
1
+ {"version":3,"file":"Button.js","sources":["../../../../../../../../../src/core/ui/components/atoms/button/Button.tsx"],"sourcesContent":["import { memo, useCallback, MouseEvent, KeyboardEvent, createElement, FC, HTMLAttributes } from 'react'\n\nimport { classNames, composeId, noop } from '../../../../utils'\nimport { Alerts } from '../../../../constants'\nimport { Link } from '../text'\nimport { IconBase, IconBaseProps } from '../../icon'\n\nimport type { ButtonProps, IconButtonProps } from './button.types'\nimport classes from './button.module.scss'\n\n\nexport const keys = {\n ENTER: {\n key: 'Enter',\n keyCode: 13,\n },\n}\n\ntype InnerElementsProps = Partial<ButtonProps> & Partial<HTMLAttributes<HTMLAnchorElement>>\n\nconst InnerElement: FC<InnerElementsProps> = memo(({\n variant, href, target, children, ...props\n}: Omit<InnerElementsProps, 'onClick'>) => {\n if (variant === 'link') {\n return createElement(Link, { width: '100%', href, target, ...props, onClick: noop }, children)\n }\n return createElement('span', {}, children)\n})\n\nInnerElement.displayName = 'InnerElement'\n\n/**\n * Button component for displaying buttons with optional features.\n * @component\n *\n * Generated component from Template\n * @param {object} props - The component props.\n * @param {string} props.label - The value to be displayed in the button.\n * @param {ReactNode} [props.children] - Additional content to be displayed inside the button.\n * @param {string} [props.variant] - The variant of the button (e.g., 'primary', 'secondary').\n * @param {boolean} [props.tiny] - Whether the button should be tiny.\n * @param {boolean} [props.truncate] - Whether the content inside the button should be truncated.\n * @param {boolean} [props.fluid] - Whether the button should have a fluid width.\n * @param {boolean} [props.animated=true] - Whether the button should have animation (default is true).\n * @param {string} [props.className] - Additional classes to be applied to the button.\n * @param {...object} props.props - Additional props to be spread to the underlying div element.\n *\n * @returns {JSX.Element} The rendered Button component.\n */\nexport const Button = memo(({\n label, children,\n variant, tiny, truncate, fluid,\n preventDefualt, stopPropagation,\n onClick,\n type = 'button',\n transparent,\n hasShadow,\n hasIcon,\n disabled,\n animated = false, className = '', id,\n href,\n target,\n ...props\n}: ButtonProps) => {\n const textFromChildren: string | undefined = `${label || children?.toString()}`\n\n const clickHandler = useCallback((event: MouseEvent) => {\n if (preventDefualt) {\n event.preventDefault()\n }\n if (stopPropagation) {\n event.stopPropagation()\n event.nativeEvent.stopImmediatePropagation()\n }\n onClick?.(event)\n }, [onClick, preventDefualt, stopPropagation])\n\n const keyDownHandler = useCallback((event: KeyboardEvent) => {\n if (event.key === keys.ENTER.key) {\n if (preventDefualt) {\n event.preventDefault()\n }\n if (stopPropagation) {\n event.stopPropagation()\n event.nativeEvent.stopImmediatePropagation()\n }\n onClick?.(event)\n }\n }, [onClick, preventDefualt, stopPropagation])\n\n return (\n <button\n // eslint-disable-next-line react/button-has-type\n type={type}\n tabIndex={-1}\n onClick={clickHandler}\n onKeyDown={keyDownHandler}\n className={classNames(\n classes.button,\n tiny && classes.tiny,\n variant && classes[variant as Alerts],\n truncate && classes.truncate,\n fluid && classes.fluid,\n animated && classes.animated,\n transparent && classes.transparent,\n hasShadow && classes.hasShadow,\n hasIcon && classes.hasIcon,\n disabled && classes.disabled,\n className,\n )}\n id={`${id || (textFromChildren && composeId(textFromChildren))}`}\n data-testid={`${(props as Record<string, string>).dataTestId || (props as Record<string, string>)['data-testid'] || id || (textFromChildren && composeId(textFromChildren))}`}\n {...props}\n >\n <InnerElement variant={variant} href={href} target={target}>\n {label && label}\n {children || children}\n </InnerElement>\n </button>\n )\n})\n\nexport type ButtonType = typeof Button\n\n// Set display name for the component.\nButton.displayName = 'Button'\n\nconst iconBaseProps = [\n 'iconUrl',\n 'minWidth',\n 'minHeight',\n 'width',\n 'height',\n 'size',\n 'fontSize',\n 'color',\n]\n\nexport const IconButton: FC<IconButtonProps> = memo<IconButtonProps>((props: IconButtonProps) => {\n const buttonProps: Record<string, unknown> = {}\n const iconProps: Record<string, unknown> = {}\n\n Object.entries(props).forEach(([name, value]: [string, unknown]) => {\n if (iconBaseProps.includes(name)) {\n // eslint-disable-next-line no-param-reassign\n iconProps[name] = value\n } else {\n buttonProps[name] = value\n }\n })\n\n iconProps.children = props.children\n\n return (\n <Button {...(buttonProps as ButtonProps)} hasIcon>\n {props.iconContent && props.iconContent}\n {!props.iconContent && (<IconBase {...(iconProps as IconBaseProps)} />)}\n </Button>\n )\n})\n\nIconButton.displayName = 'IconButton'\n"],"names":["keys","ENTER","key","keyCode","InnerElement","memo","_ref","variant","href","target","children","props","_objectWithoutProperties","_excluded","createElement","Link","_objectSpread","width","onClick","noop","displayName","Button","_ref2","label","tiny","truncate","fluid","preventDefualt","stopPropagation","type","transparent","hasShadow","hasIcon","disabled","animated","className","id","_excluded2","textFromChildren","concat","toString","clickHandler","useCallback","event","preventDefault","nativeEvent","stopImmediatePropagation","keyDownHandler","React","_extends","tabIndex","onKeyDown","classNames","classes","button","composeId","dataTestId","iconBaseProps","IconButton","buttonProps","iconProps","Object","entries","forEach","_ref3","name","value","includes","iconContent","IconBase"],"mappings":"wxBAWaA,EAAO,CAClBC,MAAO,CACLC,IAAK,QACLC,QAAS,KAMPC,EAAuCC,GAAKC,IAEP,IAFQC,QACjDA,EAAOC,KAAEA,EAAIC,OAAEA,EAAMC,SAAEA,GACaJ,EADAK,EAAKC,EAAAN,EAAAO,GAEzC,MAAgB,SAAZN,EACKO,EAAcC,EAAIC,EAAAA,EAAA,CAAIC,MAAO,OAAQT,OAAMC,UAAWE,GAAK,GAAA,CAAEO,QAASC,IAAQT,GAEhFI,EAAc,OAAQ,CAAE,EAAEJ,EAAS,IAG5CN,EAAagB,YAAc,qBAoBdC,EAAShB,GAAKiB,IAcR,IAdSC,MAC1BA,EAAKb,SAAEA,EAAQH,QACfA,EAAOiB,KAAEA,EAAIC,SAAEA,EAAQC,MAAEA,EAAKC,eAC9BA,EAAcC,gBAAEA,EAAeV,QAC/BA,EAAOW,KACPA,EAAO,SAAQC,YACfA,EAAWC,UACXA,EAASC,QACTA,EAAOC,SACPA,EAAQC,SACRA,GAAW,EAAKC,UAAEA,EAAY,GAAEC,GAAEA,EAAE5B,KACpCA,EAAIC,OACJA,GAEYa,EADTX,EAAKC,EAAAU,EAAAe,GAER,MAAMC,EAAoC,GAAAC,OAAMhB,IAASb,eAAAA,EAAU8B,aAE7DC,EAAeC,GAAaC,IAC5BhB,GACFgB,EAAMC,iBAEJhB,IACFe,EAAMf,kBACNe,EAAME,YAAYC,4BAEpB5B,SAAAA,EAAUyB,EAAM,GACf,CAACzB,EAASS,EAAgBC,IAEvBmB,EAAiBL,GAAaC,IAC9BA,EAAMzC,MAAQF,EAAKC,MAAMC,MACvByB,GACFgB,EAAMC,iBAEJhB,IACFe,EAAMf,kBACNe,EAAME,YAAYC,4BAEpB5B,SAAAA,EAAUyB,GACZ,GACC,CAACzB,EAASS,EAAgBC,IAE7B,OACEoB,MAAAlC,cAAA,SAAAmC,EAAA,CAEEpB,KAAMA,EACNqB,UAAW,EACXhC,QAASuB,EACTU,UAAWJ,EACXZ,UAAWiB,EACTC,EAAQC,OACR9B,GAAQ6B,EAAQ7B,KAChBjB,GAAW8C,EAAQ9C,GACnBkB,GAAY4B,EAAQ5B,SACpBC,GAAS2B,EAAQ3B,MACjBQ,GAAYmB,EAAQnB,SACpBJ,GAAeuB,EAAQvB,YACvBC,GAAasB,EAAQtB,UACrBC,GAAWqB,EAAQrB,QACnBC,GAAYoB,EAAQpB,SACpBE,GAEFC,GAAE,GAAAG,OAAKH,GAAOE,GAAoBiB,EAAUjB,IAC5C,cAAA,GAAAC,OAAiB5B,EAAiC6C,YAAe7C,EAAiC,gBAAkByB,GAAOE,GAAoBiB,EAAUjB,KACrJ3B,GAEJqC,MAAAlC,cAACV,EAAY,CAACG,QAASA,EAASC,KAAMA,EAAMC,OAAQA,GACjDc,GAASA,EACTb,GAAYA,GAER,IAObW,EAAOD,YAAc,SAErB,MAAMqC,EAAgB,CACpB,UACA,WACA,YACA,QACA,SACA,OACA,WACA,SAGWC,EAAkCrD,GAAuBM,IACpE,MAAMgD,EAAuC,CAAE,EACzCC,EAAqC,CAAE,EAa7C,OAXAC,OAAOC,QAAQnD,GAAOoD,SAAQC,IAAsC,IAApCC,EAAMC,GAAyBF,EACzDP,EAAcU,SAASF,GAEzBL,EAAUK,GAAQC,EAElBP,EAAYM,GAAQC,CACtB,IAGFN,EAAUlD,SAAWC,EAAMD,SAGzBsC,MAAAlC,cAACO,EAAM4B,KAAMU,EAAW,CAAkB3B,SAAO,IAC9CrB,EAAMyD,aAAezD,EAAMyD,aAC1BzD,EAAMyD,aAAgBpB,MAAAlC,cAACuD,EAAcT,GAChC,IAIbF,EAAWtC,YAAc"}
@@ -1,2 +1,2 @@
1
- import e from"../../../../../node_modules/react/index.js";const c=e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},e.createElement("path",{d:"M336.1 175c-9.375-9.375-24.56-9.375-33.94 0L256 222.1L208.1 175c-9.375-9.375-24.56-9.375-33.94 0s-9.375 24.56 0 33.94l47.03 47.03L175 303c-9.375 9.375-9.375 24.56 0 33.94c9.373 9.373 24.56 9.381 33.94 0L256 289.9l47.03 47.03c9.373 9.373 24.56 9.381 33.94 0c9.375-9.375 9.375-24.56 0-33.94l-47.03-47.03l47.03-47.03C346.3 199.6 346.3 184.4 336.1 175zM256 0C114.6 0 0 114.6 0 256s114.6 256 256 256S512 397.4 512 256S397.4 0 256 0zM256 464c-114.7 0-208-93.31-208-208S141.3 48 256 48s208 93.31 208 208S370.7 464 256 464z"})),t=e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},e.createElement("path",{d:"M256 0C114.6 0 0 114.6 0 256s114.6 256 256 256s256-114.6 256-256S397.4 0 256 0zM256 128c17.67 0 32 14.33 32 32c0 17.67-14.33 32-32 32S224 177.7 224 160C224 142.3 238.3 128 256 128zM296 384h-80C202.8 384 192 373.3 192 360s10.75-24 24-24h16v-64H224c-13.25 0-24-10.75-24-24S210.8 224 224 224h32c13.25 0 24 10.75 24 24v88h16c13.25 0 24 10.75 24 24S309.3 384 296 384z"}));export{c as closeIconJSX,t as infoIconJSX};
1
+ import e from"react";const c=e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},e.createElement("path",{d:"M336.1 175c-9.375-9.375-24.56-9.375-33.94 0L256 222.1L208.1 175c-9.375-9.375-24.56-9.375-33.94 0s-9.375 24.56 0 33.94l47.03 47.03L175 303c-9.375 9.375-9.375 24.56 0 33.94c9.373 9.373 24.56 9.381 33.94 0L256 289.9l47.03 47.03c9.373 9.373 24.56 9.381 33.94 0c9.375-9.375 9.375-24.56 0-33.94l-47.03-47.03l47.03-47.03C346.3 199.6 346.3 184.4 336.1 175zM256 0C114.6 0 0 114.6 0 256s114.6 256 256 256S512 397.4 512 256S397.4 0 256 0zM256 464c-114.7 0-208-93.31-208-208S141.3 48 256 48s208 93.31 208 208S370.7 464 256 464z"})),t=e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},e.createElement("path",{d:"M256 0C114.6 0 0 114.6 0 256s114.6 256 256 256s256-114.6 256-256S397.4 0 256 0zM256 128c17.67 0 32 14.33 32 32c0 17.67-14.33 32-32 32S224 177.7 224 160C224 142.3 238.3 128 256 128zM296 384h-80C202.8 384 192 373.3 192 360s10.75-24 24-24h16v-64H224c-13.25 0-24-10.75-24-24S210.8 224 224 224h32c13.25 0 24 10.75 24 24v88h16c13.25 0 24 10.75 24 24S309.3 384 296 384z"}));export{c as closeIconJSX,t as infoIconJSX};
2
2
  //# sourceMappingURL=icons.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"icons.js","sources":["../../../../../../../../src/core/ui/components/atoms/icons.tsx"],"sourcesContent":["// eslint-disable-next-line @typescript-eslint/ban-ts-comment\n// @ts-ignore\nimport React from 'react'\n\nexport const closeIconJSX = (\n <svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'><path d='M336.1 175c-9.375-9.375-24.56-9.375-33.94 0L256 222.1L208.1 175c-9.375-9.375-24.56-9.375-33.94 0s-9.375 24.56 0 33.94l47.03 47.03L175 303c-9.375 9.375-9.375 24.56 0 33.94c9.373 9.373 24.56 9.381 33.94 0L256 289.9l47.03 47.03c9.373 9.373 24.56 9.381 33.94 0c9.375-9.375 9.375-24.56 0-33.94l-47.03-47.03l47.03-47.03C346.3 199.6 346.3 184.4 336.1 175zM256 0C114.6 0 0 114.6 0 256s114.6 256 256 256S512 397.4 512 256S397.4 0 256 0zM256 464c-114.7 0-208-93.31-208-208S141.3 48 256 48s208 93.31 208 208S370.7 464 256 464z' /></svg>\n)\nexport const infoIconJSX = (\n <svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'><path d='M256 0C114.6 0 0 114.6 0 256s114.6 256 256 256s256-114.6 256-256S397.4 0 256 0zM256 128c17.67 0 32 14.33 32 32c0 17.67-14.33 32-32 32S224 177.7 224 160C224 142.3 238.3 128 256 128zM296 384h-80C202.8 384 192 373.3 192 360s10.75-24 24-24h16v-64H224c-13.25 0-24-10.75-24-24S210.8 224 224 224h32c13.25 0 24 10.75 24 24v88h16c13.25 0 24 10.75 24 24S309.3 384 296 384z' /></svg>\n\n)\n\n\nexport const appStoreIcon = (\n <svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'><path d='M255.9 120.9l9.1-15.7c5.6-9.8 18.1-13.1 27.9-7.5 9.8 5.6 13.1 18.1 7.5 27.9l-87.5 151.5h63.3c20.5 0 32 24.1 23.1 40.8H113.8c-11.3 0-20.4-9.1-20.4-20.4 0-11.3 9.1-20.4 20.4-20.4h52l66.6-115.4-20.8-36.1c-5.6-9.8-2.3-22.2 7.5-27.9 9.8-5.6 22.2-2.3 27.9 7.5l8.9 15.7zm-78.7 218l-19.6 34c-5.6 9.8-18.1 13.1-27.9 7.5-9.8-5.6-13.1-18.1-7.5-27.9l14.6-25.2c16.4-5.1 29.8-1.2 40.4 11.6zm168.9-61.7h53.1c11.3 0 20.4 9.1 20.4 20.4 0 11.3-9.1 20.4-20.4 20.4h-29.5l19.9 34.5c5.6 9.8 2.3 22.2-7.5 27.9-9.8 5.6-22.2 2.3-27.9-7.5-33.5-58.1-58.7-101.6-75.4-130.6-17.1-29.5-4.9-59.1 7.2-69.1 13.4 23 33.4 57.7 60.1 104zM256 8C119 8 8 119 8 256s111 248 248 248 248-111 248-248S393 8 256 8zm216 248c0 118.7-96.1 216-216 216-118.7 0-216-96.1-216-216 0-118.7 96.1-216 216-216 118.7 0 216 96.1 216 216z' /></svg>\n)\n\n\nexport const batteryEmptyIcon = (\n <svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 576 512'><path d='M544 192V160c0-35.35-28.65-64-64-64H64C28.65 96 0 124.7 0 160v192c0 35.35 28.65 64 64 64h416c35.35 0 64-28.65 64-64v-32c17.67 0 32-14.33 32-32V224C576 206.3 561.7 192 544 192zM480 352H64V160h416V352z' /></svg>\n)\n\n\nexport const elementorIcon = (\n <svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'><path d='M425.6 32H22.4C10 32 0 42 0 54.4v403.2C0 470 10 480 22.4 480h403.2c12.4 0 22.4-10 22.4-22.4V54.4C448 42 438 32 425.6 32M164.3 355.5h-39.8v-199h39.8v199zm159.3 0H204.1v-39.8h119.5v39.8zm0-79.6H204.1v-39.8h119.5v39.8zm0-79.7H204.1v-39.8h119.5v39.8z' /></svg>\n)\n\nexport const squareCheckIcon = (\n <svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'><path d='M384 32H64C28.65 32 0 60.65 0 96v320c0 35.35 28.65 64 64 64h320c35.35 0 64-28.65 64-64V96C448 60.65 419.3 32 384 32zM400 416c0 8.836-7.164 16-16 16H64c-8.836 0-16-7.164-16-16V96c0-8.838 7.164-16 16-16h320c8.836 0 16 7.162 16 16V416zM303 175L192 286.1L144.1 239c-9.375-9.375-24.56-9.375-33.94 0s-9.375 24.56 0 33.94l64 64C179.7 341.7 185.8 344 192 344s12.28-2.344 16.97-7.031l128-128c9.375-9.375 9.375-24.56 0-33.94S312.4 165.7 303 175z' /></svg>\n)\n\nexport const pencilIcon = (\n <svg width='10' height='10' viewBox='0 0 10 10' fill='none' xmlns='http://www.w3.org/2000/svg'>\n <path d='M8.91878 3.38356L6.59333 1.08219L7.35936 0.315069C7.56911 0.105023 7.82682 0 8.13251 0C8.43782 0 8.69536 0.105023 8.9051 0.315069L9.67113 1.08219C9.88088 1.29224 9.99031 1.54575 9.99943 1.84274C10.0086 2.13936 9.90824 2.39269 9.69849 2.60274L8.91878 3.38356ZM8.12539 4.19178L2.32545 10H0V7.67123L5.79994 1.86301L8.12539 4.19178Z' fill='#E2E369' />\n </svg>\n\n)\n"],"names":["closeIconJSX","React","createElement","xmlns","viewBox","d","infoIconJSX"],"mappings":"0DAIaA,MAAAA,EACXC,EAAAC,cAAA,MAAA,CAAKC,MAAM,6BAA6BC,QAAQ,eAAcH,EAAAC,cAAA,OAAA,CAAMG,EAAE,ygBAE3DC,EACXL,EAAAC,cAAA,MAAA,CAAKC,MAAM,6BAA6BC,QAAQ,eAAcH,EAAAC,cAAA,OAAA,CAAMG,EAAE"}
1
+ {"version":3,"file":"icons.js","sources":["../../../../../../../../src/core/ui/components/atoms/icons.tsx"],"sourcesContent":["// eslint-disable-next-line @typescript-eslint/ban-ts-comment\n// @ts-ignore\nimport React from 'react'\n\nexport const closeIconJSX = (\n <svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'><path d='M336.1 175c-9.375-9.375-24.56-9.375-33.94 0L256 222.1L208.1 175c-9.375-9.375-24.56-9.375-33.94 0s-9.375 24.56 0 33.94l47.03 47.03L175 303c-9.375 9.375-9.375 24.56 0 33.94c9.373 9.373 24.56 9.381 33.94 0L256 289.9l47.03 47.03c9.373 9.373 24.56 9.381 33.94 0c9.375-9.375 9.375-24.56 0-33.94l-47.03-47.03l47.03-47.03C346.3 199.6 346.3 184.4 336.1 175zM256 0C114.6 0 0 114.6 0 256s114.6 256 256 256S512 397.4 512 256S397.4 0 256 0zM256 464c-114.7 0-208-93.31-208-208S141.3 48 256 48s208 93.31 208 208S370.7 464 256 464z' /></svg>\n)\nexport const infoIconJSX = (\n <svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'><path d='M256 0C114.6 0 0 114.6 0 256s114.6 256 256 256s256-114.6 256-256S397.4 0 256 0zM256 128c17.67 0 32 14.33 32 32c0 17.67-14.33 32-32 32S224 177.7 224 160C224 142.3 238.3 128 256 128zM296 384h-80C202.8 384 192 373.3 192 360s10.75-24 24-24h16v-64H224c-13.25 0-24-10.75-24-24S210.8 224 224 224h32c13.25 0 24 10.75 24 24v88h16c13.25 0 24 10.75 24 24S309.3 384 296 384z' /></svg>\n\n)\n\n\nexport const appStoreIcon = (\n <svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'><path d='M255.9 120.9l9.1-15.7c5.6-9.8 18.1-13.1 27.9-7.5 9.8 5.6 13.1 18.1 7.5 27.9l-87.5 151.5h63.3c20.5 0 32 24.1 23.1 40.8H113.8c-11.3 0-20.4-9.1-20.4-20.4 0-11.3 9.1-20.4 20.4-20.4h52l66.6-115.4-20.8-36.1c-5.6-9.8-2.3-22.2 7.5-27.9 9.8-5.6 22.2-2.3 27.9 7.5l8.9 15.7zm-78.7 218l-19.6 34c-5.6 9.8-18.1 13.1-27.9 7.5-9.8-5.6-13.1-18.1-7.5-27.9l14.6-25.2c16.4-5.1 29.8-1.2 40.4 11.6zm168.9-61.7h53.1c11.3 0 20.4 9.1 20.4 20.4 0 11.3-9.1 20.4-20.4 20.4h-29.5l19.9 34.5c5.6 9.8 2.3 22.2-7.5 27.9-9.8 5.6-22.2 2.3-27.9-7.5-33.5-58.1-58.7-101.6-75.4-130.6-17.1-29.5-4.9-59.1 7.2-69.1 13.4 23 33.4 57.7 60.1 104zM256 8C119 8 8 119 8 256s111 248 248 248 248-111 248-248S393 8 256 8zm216 248c0 118.7-96.1 216-216 216-118.7 0-216-96.1-216-216 0-118.7 96.1-216 216-216 118.7 0 216 96.1 216 216z' /></svg>\n)\n\n\nexport const batteryEmptyIcon = (\n <svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 576 512'><path d='M544 192V160c0-35.35-28.65-64-64-64H64C28.65 96 0 124.7 0 160v192c0 35.35 28.65 64 64 64h416c35.35 0 64-28.65 64-64v-32c17.67 0 32-14.33 32-32V224C576 206.3 561.7 192 544 192zM480 352H64V160h416V352z' /></svg>\n)\n\n\nexport const elementorIcon = (\n <svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'><path d='M425.6 32H22.4C10 32 0 42 0 54.4v403.2C0 470 10 480 22.4 480h403.2c12.4 0 22.4-10 22.4-22.4V54.4C448 42 438 32 425.6 32M164.3 355.5h-39.8v-199h39.8v199zm159.3 0H204.1v-39.8h119.5v39.8zm0-79.6H204.1v-39.8h119.5v39.8zm0-79.7H204.1v-39.8h119.5v39.8z' /></svg>\n)\n\nexport const squareCheckIcon = (\n <svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'><path d='M384 32H64C28.65 32 0 60.65 0 96v320c0 35.35 28.65 64 64 64h320c35.35 0 64-28.65 64-64V96C448 60.65 419.3 32 384 32zM400 416c0 8.836-7.164 16-16 16H64c-8.836 0-16-7.164-16-16V96c0-8.838 7.164-16 16-16h320c8.836 0 16 7.162 16 16V416zM303 175L192 286.1L144.1 239c-9.375-9.375-24.56-9.375-33.94 0s-9.375 24.56 0 33.94l64 64C179.7 341.7 185.8 344 192 344s12.28-2.344 16.97-7.031l128-128c9.375-9.375 9.375-24.56 0-33.94S312.4 165.7 303 175z' /></svg>\n)\n\nexport const pencilIcon = (\n <svg width='10' height='10' viewBox='0 0 10 10' fill='none' xmlns='http://www.w3.org/2000/svg'>\n <path d='M8.91878 3.38356L6.59333 1.08219L7.35936 0.315069C7.56911 0.105023 7.82682 0 8.13251 0C8.43782 0 8.69536 0.105023 8.9051 0.315069L9.67113 1.08219C9.88088 1.29224 9.99031 1.54575 9.99943 1.84274C10.0086 2.13936 9.90824 2.39269 9.69849 2.60274L8.91878 3.38356ZM8.12539 4.19178L2.32545 10H0V7.67123L5.79994 1.86301L8.12539 4.19178Z' fill='#E2E369' />\n </svg>\n\n)\n"],"names":["closeIconJSX","React","createElement","xmlns","viewBox","d","infoIconJSX"],"mappings":"qBAIaA,MAAAA,EACXC,EAAAC,cAAA,MAAA,CAAKC,MAAM,6BAA6BC,QAAQ,eAAcH,EAAAC,cAAA,OAAA,CAAMG,EAAE,ygBAE3DC,EACXL,EAAAC,cAAA,MAAA,CAAKC,MAAM,6BAA6BC,QAAQ,eAAcH,EAAAC,cAAA,OAAA,CAAMG,EAAE"}
@@ -1,2 +1,2 @@
1
- import{objectWithoutProperties as e,objectSpread2 as t,extends as o}from"../../../../../../_virtual/_rollupPluginBabelHelpers.js";import"../../../../../../node_modules/core-js/modules/web.dom-collections.iterator.js";import{r as l}from"../../../../../../node_modules/react/index.js";import{TextAndIcons as n}from"../textAndContent/TextAndContent.js";import{LayoutBox as a}from"../../container/layoutBox/LayoutBox.js";import r from"./tag.module.scss.js";import{TagVariant as i}from"./tag.types.js";import{Text as s}from"../text/Text.js";import{useClassNames as c}from"../../../../hooks/useClassNames.js";import{useResize as m}from"../../../../hooks/useResize.js";import{Tooltip as u}from"../../molecules/popover/Tooltip.js";import{useParseProps as d}from"../../../../hooks/useParseProps.js";import{composeId as p}from"../../../../utils/helpers/text.js";const h=["variant","text","hashtag","components","onClick","children","inTable","className"],f={position:"absolute",top:0,background:"transparent",zIndex:0,userSelect:"none"},g=l.memo((g=>{let{variant:x=i.default,text:R,hashtag:v,components:j,onClick:b,children:E,inTable:k,className:T=""}=g,C=e(g,h);const N=(null==j?void 0:j.TextComponent)||s,w=c([r.tag,x&&r[x],b&&r.clickable,k&&r["in-table"],T],[r]),{dataProps:P,restProps:y}=d(C),[L,S]=l.useState(!1),U=l.useRef(null),_=l.useRef(null),[z]=m(50,(e=>{let{width:t,height:o}=e;const l=z.current;l&&S(l.offsetWidth<l.scrollWidth),U.current={width:t,height:o}})),B=l.useMemo((()=>!!(E||R||null!=y&&y.iconLeftUrl||null!=y&&y.iconLeft||null!=y&&y.iconRightUrl||null!=y&&y.iconRight)),[E,R,null==y?void 0:y.iconLeftUrl,null==y?void 0:y.iconLeft,null==y?void 0:y.iconRightUrl,null==y?void 0:y.iconRight]),W=l.useMemo((()=>{var e,o;return L?t(t({},f),{},{width:"".concat(null==U||null===(e=U.current)||void 0===e?void 0:e.width,"px"),height:"".concat(null==U||null===(o=U.current)||void 0===o?void 0:o.height,"px")}):null}),[L,null==U?void 0:U.current]);return React.createElement(React.Fragment,null,React.createElement(a,o({id:"".concat(void 0!==C.id&&C.id||R&&p(R)),className:w},P,y,{"data-testid":"".concat(P.dataTestId||P["data-testid"]||C.id||R&&p(R)),onClick:b}),v&&React.createElement(N,null,"#"),B&&React.createElement(n,o({className:r.text,iconSize:"0.8em"},y,{width:"auto"}),React.createElement("div",{ref:z,className:"text-truncate"},L&&React.createElement(React.Fragment,null,React.createElement("div",{ref:_,style:W}),React.createElement("span",null,E||R)),!L&&(E||R)))),L&&React.createElement(u,{text:R,targetRef:_}))}));g.displayName="Tag";export{g as Tag};
1
+ import{objectWithoutProperties as t,objectSpread2 as e,extends as o}from"../../../../../../_virtual/_rollupPluginBabelHelpers.js";import"../../../../../../node_modules/core-js/modules/web.dom-collections.iterator.js";import{memo as l,useState as n,useRef as r,useMemo as a}from"react";import{TextAndIcons as i}from"../textAndContent/TextAndContent.js";import{LayoutBox as s}from"../../container/layoutBox/LayoutBox.js";import c from"./tag.module.scss.js";import{TagVariant as m}from"./tag.types.js";import{Text as u}from"../text/Text.js";import{useClassNames as d}from"../../../../hooks/useClassNames.js";import{useResize as p}from"../../../../hooks/useResize.js";import{Tooltip as h}from"../../molecules/popover/Tooltip.js";import{useParseProps as f}from"../../../../hooks/useParseProps.js";import{composeId as g}from"../../../../utils/helpers/text.js";const v=["variant","text","hashtag","components","onClick","children","inTable","className"],x={position:"absolute",top:0,background:"transparent",zIndex:0,userSelect:"none"},R=l((l=>{let{variant:R=m.default,text:j,hashtag:b,components:E,onClick:k,children:T,inTable:C,className:N=""}=l,w=t(l,v);const P=(null==E?void 0:E.TextComponent)||u,y=d([c.tag,R&&c[R],k&&c.clickable,C&&c["in-table"],N],[c]),{dataProps:L,restProps:U}=f(w),[z,B]=n(!1),S=r(null),W=r(null),[_]=p(50,(t=>{let{width:e,height:o}=t;const l=_.current;l&&B(l.offsetWidth<l.scrollWidth),S.current={width:e,height:o}})),A=a((()=>!!(T||j||null!=U&&U.iconLeftUrl||null!=U&&U.iconLeft||null!=U&&U.iconRightUrl||null!=U&&U.iconRight)),[T,j,null==U?void 0:U.iconLeftUrl,null==U?void 0:U.iconLeft,null==U?void 0:U.iconRightUrl,null==U?void 0:U.iconRight]),F=a((()=>{var t,o;return z?e(e({},x),{},{width:"".concat(null==S||null===(t=S.current)||void 0===t?void 0:t.width,"px"),height:"".concat(null==S||null===(o=S.current)||void 0===o?void 0:o.height,"px")}):null}),[z,null==S?void 0:S.current]);return React.createElement(React.Fragment,null,React.createElement(s,o({id:"".concat(void 0!==w.id&&w.id||j&&g(j)),className:y},L,U,{"data-testid":"".concat(L.dataTestId||L["data-testid"]||w.id||j&&g(j)),onClick:k}),b&&React.createElement(P,null,"#"),A&&React.createElement(i,o({className:c.text,iconSize:"0.8em"},U,{width:"auto"}),React.createElement("div",{ref:_,className:"text-truncate"},z&&React.createElement(React.Fragment,null,React.createElement("div",{ref:W,style:F}),React.createElement("span",null,T||j)),!z&&(T||j)))),z&&React.createElement(h,{text:j,targetRef:W}))}));R.displayName="Tag";export{R as Tag};
2
2
  //# sourceMappingURL=Tag.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Tag.js","sources":["../../../../../../../../../src/core/ui/components/atoms/tag/Tag.tsx"],"sourcesContent":["import { memo, FC, useMemo, useRef, CSSProperties, useState, RefObject } from 'react'\n\nimport { TextAndIcons } from '../textAndContent/TextAndContent'\nimport { LayoutBox } from '../../container/layoutBox/LayoutBox'\nimport { useClassNames, useParseProps, useResize, WrapperSize } from '../../../../hooks'\nimport { composeId } from '../../../../utils'\nimport { Tooltip } from '../../molecules'\nimport { Text as BodyText } from '../text'\n\nimport classes from './tag.module.scss'\nimport { TagProps, TagVariant } from './tag.types'\n\n\nconst styles = {\n textWrapper: { position: 'relative' },\n textTransformedWrapperTipPlaceholder: {\n position: 'absolute',\n top: 0,\n background: 'transparent',\n zIndex: 0,\n userSelect: 'none',\n },\n}\n\n/**\n * Tag component.\n * *\n * @type {React.FC<TagProps>}\n * @returns {React.ReactElement} The Tag.\n */\nexport const Tag: FC<TagProps> = memo<TagProps>(({\n variant = TagVariant.default,\n text,\n hashtag,\n components,\n onClick,\n children,\n inTable,\n className = '',\n ...props\n}: TagProps) => {\n const TextComponent = components?.TextComponent || BodyText\n\n const classesResolved = useClassNames([\n classes.tag,\n variant && classes[variant],\n onClick && classes.clickable,\n inTable && classes['in-table'],\n className,\n ], [classes])\n\n const { dataProps, restProps } = useParseProps(props)\n const [isTruncated, setIsTruncated] = useState(false)\n\n const wrapperSizeRef = useRef<WrapperSize | null>(null)\n const tooltipTargetRef = useRef<HTMLDivElement | null>(null)\n\n const [textRef] = useResize(50, ({ width, height }: WrapperSize) => {\n const element = textRef.current\n\n if (element) {\n setIsTruncated(element.offsetWidth < element.scrollWidth)\n }\n wrapperSizeRef.current = { width, height }\n })\n\n const hasContent = useMemo(() => !!(children\n || text\n || restProps?.iconLeftUrl\n || restProps?.iconLeft\n || restProps?.iconRightUrl\n || restProps?.iconRight\n ), [children, text, restProps?.iconLeftUrl, restProps?.iconLeft, restProps?.iconRightUrl, restProps?.iconRight])\n\n const stylesTipPlaceholder = useMemo(() => (isTruncated ? ({\n ...styles.textTransformedWrapperTipPlaceholder,\n width: `${wrapperSizeRef?.current?.width}px`,\n height: `${wrapperSizeRef?.current?.height}px`,\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }) : null), [isTruncated, wrapperSizeRef?.current])\n\n return (\n <>\n <LayoutBox\n id={`${(typeof props.id !== 'undefined' && props.id) || (text && composeId(text))}`}\n className={classesResolved}\n {...dataProps}\n {...restProps}\n data-testid={`${dataProps.dataTestId || dataProps['data-testid'] || props.id || (text && composeId(text))}`}\n onClick={onClick}\n >\n {hashtag && <TextComponent>#</TextComponent>}\n {hasContent\n && (\n <TextAndIcons\n className={classes.text}\n iconSize='0.8em'\n {...restProps}\n width='auto'\n >\n <div ref={textRef as RefObject<HTMLDivElement>} className='text-truncate'>\n {isTruncated && (\n <>\n <div ref={tooltipTargetRef} style={stylesTipPlaceholder as CSSProperties} />\n <span>{children || text}</span>\n </>\n )}\n {!isTruncated && (children || text)}\n </div>\n </TextAndIcons>\n )}\n </LayoutBox>\n {isTruncated && <Tooltip text={text} targetRef={tooltipTargetRef} />}\n </>\n )\n})\n\nTag.displayName = 'Tag'\n"],"names":["styles","position","top","background","zIndex","userSelect","Tag","memo","_ref","variant","TagVariant","default","text","hashtag","components","onClick","children","inTable","className","props","_objectWithoutProperties","_excluded","TextComponent","BodyText","classesResolved","useClassNames","classes","tag","clickable","dataProps","restProps","useParseProps","isTruncated","setIsTruncated","useState","wrapperSizeRef","useRef","tooltipTargetRef","textRef","useResize","_ref2","width","height","element","current","offsetWidth","scrollWidth","hasContent","useMemo","iconLeftUrl","iconLeft","iconRightUrl","iconRight","stylesTipPlaceholder","_wrapperSizeRef$curre","_wrapperSizeRef$curre2","_objectSpread","concat","React","createElement","Fragment","LayoutBox","_extends","id","composeId","dataTestId","TextAndIcons","iconSize","ref","style","Tooltip","targetRef","displayName"],"mappings":"i7BAaMA,EAEkC,CACpCC,SAAU,WACVC,IAAK,EACLC,WAAY,cACZC,OAAQ,EACRC,WAAY,QAUHC,EAAoBC,EAAIA,MAAWC,IAUhC,IAViCC,QAC/CA,EAAUC,EAAWC,QAAOC,KAC5BA,EAAIC,QACJA,EAAOC,WACPA,EAAUC,QACVA,EAAOC,SACPA,EAAQC,QACRA,EAAOC,UACPA,EAAY,IAEHV,EADNW,EAAKC,EAAAZ,EAAAa,GAER,MAAMC,GAAgBR,aAAU,EAAVA,EAAYQ,gBAAiBC,EAE7CC,EAAkBC,EAAc,CACpCC,EAAQC,IACRlB,GAAWiB,EAAQjB,GACnBM,GAAWW,EAAQE,UACnBX,GAAWS,EAAQ,YACnBR,GACC,CAACQ,KAEEG,UAAEA,EAASC,UAAEA,GAAcC,EAAcZ,IACxCa,EAAaC,GAAkBC,EAAAA,UAAS,GAEzCC,EAAiBC,EAAMA,OAAqB,MAC5CC,EAAmBD,EAAMA,OAAwB,OAEhDE,GAAWC,EAAU,IAAIC,IAAoC,IAAnCC,MAAEA,EAAKC,OAAEA,GAAqBF,EAC7D,MAAMG,EAAUL,EAAQM,QAEpBD,GACFV,EAAeU,EAAQE,YAAcF,EAAQG,aAE/CX,EAAeS,QAAU,CAAEH,QAAOC,SAAQ,IAGtCK,EAAaC,EAAAA,SAAQ,OAAShC,GAC/BJ,GACAkB,SAAAA,EAAWmB,aACXnB,SAAAA,EAAWoB,UACXpB,SAAAA,EAAWqB,cACXrB,SAAAA,EAAWsB,YACb,CAACpC,EAAUJ,EAAMkB,eAAAA,EAAWmB,YAAanB,aAAS,EAATA,EAAWoB,SAAUpB,aAAS,EAATA,EAAWqB,aAAcrB,aAAS,EAATA,EAAWsB,YAE/FC,EAAuBL,EAAAA,SAAQ,KAAA,IAAAM,EAAAC,EAAA,OAAOvB,EAAWwB,EAAAA,EAClDxD,CAAAA,EAAAA,GAA2C,GAAA,CAC9CyC,SAAKgB,OAAKtB,SAAuBmB,QAATA,EAAdnB,EAAgBS,mBAAOU,SAAvBA,EAAyBb,MAAS,MAC5CC,UAAMe,OAAKtB,SAAuB,QAAToB,EAAdpB,EAAgBS,eAAhBW,IAAuBA,OAAvBA,EAAAA,EAAyBb,OAAM,QAEvC,IAAI,GAAG,CAACV,EAAaG,aAAc,EAAdA,EAAgBS,UAE1C,OACEc,MAAAC,cAAAD,MAAAE,SACEF,KAAAA,MAAAC,cAACE,EAASC,EAAA,CACRC,GAAE,GAAAN,YAA0B,IAAbtC,EAAM4C,IAAsB5C,EAAM4C,IAAQnD,GAAQoD,EAAUpD,IAC3EM,UAAWM,GACPK,EACAC,EAAS,CACb,cAAA2B,GAAAA,OAAgB5B,EAAUoC,YAAcpC,EAAU,gBAAkBV,EAAM4C,IAAOnD,GAAQoD,EAAUpD,IACnGG,QAASA,IAERF,GAAW6C,MAAAC,cAACrC,EAAc,KAAA,KAC1ByB,GAEGW,MAAAC,cAACO,EAAYJ,EAAA,CACX5C,UAAWQ,EAAQd,KACnBuD,SAAS,SACLrC,EAAS,CACbW,MAAM,SAENiB,MAAAC,cAAA,MAAA,CAAKS,IAAK9B,EAAsCpB,UAAU,iBACvDc,GACC0B,MAAAC,cAAAD,MAAAE,SAAA,KACEF,MAAAC,cAAA,MAAA,CAAKS,IAAK/B,EAAkBgC,MAAOhB,IACnCK,MAAAC,cAAA,OAAA,KAAO3C,GAAYJ,KAGrBoB,IAAgBhB,GAAYJ,MAKvCoB,GAAe0B,MAAAC,cAACW,EAAO,CAAC1D,KAAMA,EAAM2D,UAAWlC,IAC/C,IAIP/B,EAAIkE,YAAc"}
1
+ {"version":3,"file":"Tag.js","sources":["../../../../../../../../../src/core/ui/components/atoms/tag/Tag.tsx"],"sourcesContent":["import { memo, FC, useMemo, useRef, CSSProperties, useState, RefObject } from 'react'\n\nimport { TextAndIcons } from '../textAndContent/TextAndContent'\nimport { LayoutBox } from '../../container/layoutBox/LayoutBox'\nimport { useClassNames, useParseProps, useResize, WrapperSize } from '../../../../hooks'\nimport { composeId } from '../../../../utils'\nimport { Tooltip } from '../../molecules'\nimport { Text as BodyText } from '../text'\n\nimport classes from './tag.module.scss'\nimport { TagProps, TagVariant } from './tag.types'\n\n\nconst styles = {\n textWrapper: { position: 'relative' },\n textTransformedWrapperTipPlaceholder: {\n position: 'absolute',\n top: 0,\n background: 'transparent',\n zIndex: 0,\n userSelect: 'none',\n },\n}\n\n/**\n * Tag component.\n * *\n * @type {React.FC<TagProps>}\n * @returns {React.ReactElement} The Tag.\n */\nexport const Tag: FC<TagProps> = memo<TagProps>(({\n variant = TagVariant.default,\n text,\n hashtag,\n components,\n onClick,\n children,\n inTable,\n className = '',\n ...props\n}: TagProps) => {\n const TextComponent = components?.TextComponent || BodyText\n\n const classesResolved = useClassNames([\n classes.tag,\n variant && classes[variant],\n onClick && classes.clickable,\n inTable && classes['in-table'],\n className,\n ], [classes])\n\n const { dataProps, restProps } = useParseProps(props)\n const [isTruncated, setIsTruncated] = useState(false)\n\n const wrapperSizeRef = useRef<WrapperSize | null>(null)\n const tooltipTargetRef = useRef<HTMLDivElement | null>(null)\n\n const [textRef] = useResize(50, ({ width, height }: WrapperSize) => {\n const element = textRef.current\n\n if (element) {\n setIsTruncated(element.offsetWidth < element.scrollWidth)\n }\n wrapperSizeRef.current = { width, height }\n })\n\n const hasContent = useMemo(() => !!(children\n || text\n || restProps?.iconLeftUrl\n || restProps?.iconLeft\n || restProps?.iconRightUrl\n || restProps?.iconRight\n ), [children, text, restProps?.iconLeftUrl, restProps?.iconLeft, restProps?.iconRightUrl, restProps?.iconRight])\n\n const stylesTipPlaceholder = useMemo(() => (isTruncated ? ({\n ...styles.textTransformedWrapperTipPlaceholder,\n width: `${wrapperSizeRef?.current?.width}px`,\n height: `${wrapperSizeRef?.current?.height}px`,\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }) : null), [isTruncated, wrapperSizeRef?.current])\n\n return (\n <>\n <LayoutBox\n id={`${(typeof props.id !== 'undefined' && props.id) || (text && composeId(text))}`}\n className={classesResolved}\n {...dataProps}\n {...restProps}\n data-testid={`${dataProps.dataTestId || dataProps['data-testid'] || props.id || (text && composeId(text))}`}\n onClick={onClick}\n >\n {hashtag && <TextComponent>#</TextComponent>}\n {hasContent\n && (\n <TextAndIcons\n className={classes.text}\n iconSize='0.8em'\n {...restProps}\n width='auto'\n >\n <div ref={textRef as RefObject<HTMLDivElement>} className='text-truncate'>\n {isTruncated && (\n <>\n <div ref={tooltipTargetRef} style={stylesTipPlaceholder as CSSProperties} />\n <span>{children || text}</span>\n </>\n )}\n {!isTruncated && (children || text)}\n </div>\n </TextAndIcons>\n )}\n </LayoutBox>\n {isTruncated && <Tooltip text={text} targetRef={tooltipTargetRef} />}\n </>\n )\n})\n\nTag.displayName = 'Tag'\n"],"names":["styles","position","top","background","zIndex","userSelect","Tag","memo","_ref","variant","TagVariant","default","text","hashtag","components","onClick","children","inTable","className","props","_objectWithoutProperties","_excluded","TextComponent","BodyText","classesResolved","useClassNames","classes","tag","clickable","dataProps","restProps","useParseProps","isTruncated","setIsTruncated","useState","wrapperSizeRef","useRef","tooltipTargetRef","textRef","useResize","_ref2","width","height","element","current","offsetWidth","scrollWidth","hasContent","useMemo","iconLeftUrl","iconLeft","iconRightUrl","iconRight","stylesTipPlaceholder","_wrapperSizeRef$curre","_wrapperSizeRef$curre2","_objectSpread","concat","React","createElement","Fragment","LayoutBox","_extends","id","composeId","dataTestId","TextAndIcons","iconSize","ref","style","Tooltip","targetRef","displayName"],"mappings":"m7BAaMA,EAEkC,CACpCC,SAAU,WACVC,IAAK,EACLC,WAAY,cACZC,OAAQ,EACRC,WAAY,QAUHC,EAAoBC,GAAeC,IAUhC,IAViCC,QAC/CA,EAAUC,EAAWC,QAAOC,KAC5BA,EAAIC,QACJA,EAAOC,WACPA,EAAUC,QACVA,EAAOC,SACPA,EAAQC,QACRA,EAAOC,UACPA,EAAY,IAEHV,EADNW,EAAKC,EAAAZ,EAAAa,GAER,MAAMC,GAAgBR,aAAU,EAAVA,EAAYQ,gBAAiBC,EAE7CC,EAAkBC,EAAc,CACpCC,EAAQC,IACRlB,GAAWiB,EAAQjB,GACnBM,GAAWW,EAAQE,UACnBX,GAAWS,EAAQ,YACnBR,GACC,CAACQ,KAEEG,UAAEA,EAASC,UAAEA,GAAcC,EAAcZ,IACxCa,EAAaC,GAAkBC,GAAS,GAEzCC,EAAiBC,EAA2B,MAC5CC,EAAmBD,EAA8B,OAEhDE,GAAWC,EAAU,IAAIC,IAAoC,IAAnCC,MAAEA,EAAKC,OAAEA,GAAqBF,EAC7D,MAAMG,EAAUL,EAAQM,QAEpBD,GACFV,EAAeU,EAAQE,YAAcF,EAAQG,aAE/CX,EAAeS,QAAU,CAAEH,QAAOC,SAAQ,IAGtCK,EAAaC,GAAQ,OAAShC,GAC/BJ,GACAkB,SAAAA,EAAWmB,aACXnB,SAAAA,EAAWoB,UACXpB,SAAAA,EAAWqB,cACXrB,SAAAA,EAAWsB,YACb,CAACpC,EAAUJ,EAAMkB,eAAAA,EAAWmB,YAAanB,aAAS,EAATA,EAAWoB,SAAUpB,aAAS,EAATA,EAAWqB,aAAcrB,aAAS,EAATA,EAAWsB,YAE/FC,EAAuBL,GAAQ,KAAA,IAAAM,EAAAC,EAAA,OAAOvB,EAAWwB,EAAAA,EAClDxD,CAAAA,EAAAA,GAA2C,GAAA,CAC9CyC,SAAKgB,OAAKtB,SAAuBmB,QAATA,EAAdnB,EAAgBS,mBAAOU,SAAvBA,EAAyBb,MAAS,MAC5CC,UAAMe,OAAKtB,SAAuB,QAAToB,EAAdpB,EAAgBS,eAAhBW,IAAuBA,OAAvBA,EAAAA,EAAyBb,OAAM,QAEvC,IAAI,GAAG,CAACV,EAAaG,aAAc,EAAdA,EAAgBS,UAE1C,OACEc,MAAAC,cAAAD,MAAAE,SACEF,KAAAA,MAAAC,cAACE,EAASC,EAAA,CACRC,GAAE,GAAAN,YAA0B,IAAbtC,EAAM4C,IAAsB5C,EAAM4C,IAAQnD,GAAQoD,EAAUpD,IAC3EM,UAAWM,GACPK,EACAC,EAAS,CACb,cAAA2B,GAAAA,OAAgB5B,EAAUoC,YAAcpC,EAAU,gBAAkBV,EAAM4C,IAAOnD,GAAQoD,EAAUpD,IACnGG,QAASA,IAERF,GAAW6C,MAAAC,cAACrC,EAAc,KAAA,KAC1ByB,GAEGW,MAAAC,cAACO,EAAYJ,EAAA,CACX5C,UAAWQ,EAAQd,KACnBuD,SAAS,SACLrC,EAAS,CACbW,MAAM,SAENiB,MAAAC,cAAA,MAAA,CAAKS,IAAK9B,EAAsCpB,UAAU,iBACvDc,GACC0B,MAAAC,cAAAD,MAAAE,SAAA,KACEF,MAAAC,cAAA,MAAA,CAAKS,IAAK/B,EAAkBgC,MAAOhB,IACnCK,MAAAC,cAAA,OAAA,KAAO3C,GAAYJ,KAGrBoB,IAAgBhB,GAAYJ,MAKvCoB,GAAe0B,MAAAC,cAACW,EAAO,CAAC1D,KAAMA,EAAM2D,UAAWlC,IAC/C,IAIP/B,EAAIkE,YAAc"}
@@ -1,2 +1,2 @@
1
- import{objectWithoutProperties as e,extends as t}from"../../../../../../_virtual/_rollupPluginBabelHelpers.js";import{r as a}from"../../../../../../node_modules/react/index.js";import{Text as c}from"./Text.js";import l from"./typography.module.scss.js";const r=["children","text","className"],s=["children","text","className"],n=["children","text","className"],m=a.memo((a=>{let{children:s,text:n,className:m=""}=a,o=e(a,r);return React.createElement(c,t({},o,{className:"".concat(l.headline," ").concat(m),element:"h1"}),s&&s,!s&&n&&n)}));m.displayName="Headline";const o=a.memo((a=>{let{children:r,text:n,className:m=""}=a,o=e(a,s);return React.createElement(c,t({},o,{className:"".concat(l.headlineSecondary," ").concat(m),element:"h2"}),r&&r,!r&&n&&n)}));o.displayName="HeadlineSecondary";const i=a.memo((a=>{let{children:r,text:s,className:m=""}=a,o=e(a,n);return React.createElement(c,t({},o,{className:"".concat(l.headlineTertiary," ").concat(m),element:"h3"}),r&&r,!r&&s&&s)}));i.displayName="HeadlineTertiary";export{m as Headline,o as HeadlineSecondary,i as HeadlineTertiary};
1
+ import{objectWithoutProperties as e,extends as t}from"../../../../../../_virtual/_rollupPluginBabelHelpers.js";import{memo as a}from"react";import{Text as c}from"./Text.js";import l from"./typography.module.scss.js";const r=["children","text","className"],s=["children","text","className"],n=["children","text","className"],m=a((a=>{let{children:s,text:n,className:m=""}=a,o=e(a,r);return React.createElement(c,t({},o,{className:"".concat(l.headline," ").concat(m),element:"h1"}),s&&s,!s&&n&&n)}));m.displayName="Headline";const o=a((a=>{let{children:r,text:n,className:m=""}=a,o=e(a,s);return React.createElement(c,t({},o,{className:"".concat(l.headlineSecondary," ").concat(m),element:"h2"}),r&&r,!r&&n&&n)}));o.displayName="HeadlineSecondary";const i=a((a=>{let{children:r,text:s,className:m=""}=a,o=e(a,n);return React.createElement(c,t({},o,{className:"".concat(l.headlineTertiary," ").concat(m),element:"h3"}),r&&r,!r&&s&&s)}));i.displayName="HeadlineTertiary";export{m as Headline,o as HeadlineSecondary,i as HeadlineTertiary};
2
2
  //# sourceMappingURL=Headline.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Headline.js","sources":["../../../../../../../../../src/core/ui/components/atoms/text/Headline.tsx"],"sourcesContent":["import { memo } from 'react'\n\nimport { ITextProps } from './text.types'\nimport { Text } from './Text'\nimport classes from './typography.module.scss'\n\n\nexport const Headline = memo(\n ({ children, text, className = '', ...props }: ITextProps) => (\n <Text {...props} className={`${classes.headline} ${className}`} element='h1'>\n {children && children}\n {(!children && text) && text}\n </Text>\n ),\n)\n\nHeadline.displayName = 'Headline'\n\n\nexport const HeadlineSecondary = memo(\n ({ children, text, className = '', ...props }: ITextProps) => (\n <Text {...props} className={`${classes.headlineSecondary} ${className}`} element='h2'>\n {children && children}\n {(!children && text) && text}\n </Text>\n ),\n)\n\nHeadlineSecondary.displayName = 'HeadlineSecondary'\n\n\nexport const HeadlineTertiary = memo(\n ({ children, text, className = '', ...props }: ITextProps) => (\n <Text {...props} className={`${classes.headlineTertiary} ${className}`} element='h3'>\n {children && children}\n {(!children && text) && text}\n </Text>\n ),\n)\n\nHeadlineTertiary.displayName = 'HeadlineTertiary'\n"],"names":["Headline","memo","_ref","children","text","className","props","_objectWithoutProperties","_excluded","React","createElement","Text","_extends","concat","classes","headline","element","displayName","HeadlineSecondary","_ref2","_excluded2","headlineSecondary","HeadlineTertiary","_ref3","_excluded3","headlineTertiary"],"mappings":"yWAOaA,EAAWC,EAAIA,MAC1BC,IAAA,IAACC,SAAEA,EAAQC,KAAEA,EAAIC,UAAEA,EAAY,IAA0BH,EAAnBI,EAAKC,EAAAL,EAAAM,GAAA,OACzCC,MAAAC,cAACC,EAAIC,KAAKN,EAAK,CAAED,UAAS,GAAAQ,OAAKC,EAAQC,SAAQF,KAAAA,OAAIR,GAAaW,QAAQ,OACrEb,GAAYA,GACVA,GAAYC,GAASA,EACnB,IAIXJ,EAASiB,YAAc,WAGVC,MAAAA,EAAoBjB,EAAIA,MACnCkB,IAAA,IAAChB,SAAEA,EAAQC,KAAEA,EAAIC,UAAEA,EAAY,IAA0Bc,EAAnBb,EAAKC,EAAAY,EAAAC,GAAA,OACzCX,MAAAC,cAACC,EAAIC,KAAKN,EAAK,CAAED,UAAS,GAAAQ,OAAKC,EAAQO,kBAAiBR,KAAAA,OAAIR,GAAaW,QAAQ,OAC9Eb,GAAYA,GACVA,GAAYC,GAASA,EACnB,IAIXc,EAAkBD,YAAc,oBAGnBK,MAAAA,EAAmBrB,EAAIA,MAClCsB,IAAA,IAACpB,SAAEA,EAAQC,KAAEA,EAAIC,UAAEA,EAAY,IAA0BkB,EAAnBjB,EAAKC,EAAAgB,EAAAC,GAAA,OACzCf,MAAAC,cAACC,EAAIC,KAAKN,EAAK,CAAED,UAAS,GAAAQ,OAAKC,EAAQW,iBAAgBZ,KAAAA,OAAIR,GAAaW,QAAQ,OAC7Eb,GAAYA,GACVA,GAAYC,GAASA,EACnB,IAIXkB,EAAiBL,YAAc"}
1
+ {"version":3,"file":"Headline.js","sources":["../../../../../../../../../src/core/ui/components/atoms/text/Headline.tsx"],"sourcesContent":["import { memo } from 'react'\n\nimport { ITextProps } from './text.types'\nimport { Text } from './Text'\nimport classes from './typography.module.scss'\n\n\nexport const Headline = memo(\n ({ children, text, className = '', ...props }: ITextProps) => (\n <Text {...props} className={`${classes.headline} ${className}`} element='h1'>\n {children && children}\n {(!children && text) && text}\n </Text>\n ),\n)\n\nHeadline.displayName = 'Headline'\n\n\nexport const HeadlineSecondary = memo(\n ({ children, text, className = '', ...props }: ITextProps) => (\n <Text {...props} className={`${classes.headlineSecondary} ${className}`} element='h2'>\n {children && children}\n {(!children && text) && text}\n </Text>\n ),\n)\n\nHeadlineSecondary.displayName = 'HeadlineSecondary'\n\n\nexport const HeadlineTertiary = memo(\n ({ children, text, className = '', ...props }: ITextProps) => (\n <Text {...props} className={`${classes.headlineTertiary} ${className}`} element='h3'>\n {children && children}\n {(!children && text) && text}\n </Text>\n ),\n)\n\nHeadlineTertiary.displayName = 'HeadlineTertiary'\n"],"names":["Headline","memo","_ref","children","text","className","props","_objectWithoutProperties","_excluded","React","createElement","Text","_extends","concat","classes","headline","element","displayName","HeadlineSecondary","_ref2","_excluded2","headlineSecondary","HeadlineTertiary","_ref3","_excluded3","headlineTertiary"],"mappings":"oUAOaA,EAAWC,GACtBC,IAAA,IAACC,SAAEA,EAAQC,KAAEA,EAAIC,UAAEA,EAAY,IAA0BH,EAAnBI,EAAKC,EAAAL,EAAAM,GAAA,OACzCC,MAAAC,cAACC,EAAIC,KAAKN,EAAK,CAAED,UAAS,GAAAQ,OAAKC,EAAQC,SAAQF,KAAAA,OAAIR,GAAaW,QAAQ,OACrEb,GAAYA,GACVA,GAAYC,GAASA,EACnB,IAIXJ,EAASiB,YAAc,WAGVC,MAAAA,EAAoBjB,GAC/BkB,IAAA,IAAChB,SAAEA,EAAQC,KAAEA,EAAIC,UAAEA,EAAY,IAA0Bc,EAAnBb,EAAKC,EAAAY,EAAAC,GAAA,OACzCX,MAAAC,cAACC,EAAIC,KAAKN,EAAK,CAAED,UAAS,GAAAQ,OAAKC,EAAQO,kBAAiBR,KAAAA,OAAIR,GAAaW,QAAQ,OAC9Eb,GAAYA,GACVA,GAAYC,GAASA,EACnB,IAIXc,EAAkBD,YAAc,oBAGnBK,MAAAA,EAAmBrB,GAC9BsB,IAAA,IAACpB,SAAEA,EAAQC,KAAEA,EAAIC,UAAEA,EAAY,IAA0BkB,EAAnBjB,EAAKC,EAAAgB,EAAAC,GAAA,OACzCf,MAAAC,cAACC,EAAIC,KAAKN,EAAK,CAAED,UAAS,GAAAQ,OAAKC,EAAQW,iBAAgBZ,KAAAA,OAAIR,GAAaW,QAAQ,OAC7Eb,GAAYA,GACVA,GAAYC,GAASA,EACnB,IAIXkB,EAAiBL,YAAc"}
@@ -1,2 +1,2 @@
1
- import{objectWithoutProperties as e,extends as t}from"../../../../../../_virtual/_rollupPluginBabelHelpers.js";import{r}from"../../../../../../node_modules/react/index.js";import{Text as s}from"./Text.js";import o from"./typography.module.scss.js";const a=["children","text","className"],l=r.memo((r=>{let{children:l,text:m,className:c=""}=r,i=e(r,a);return React.createElement(s,t({},i,{className:"".concat(o.link," ").concat(c),element:"a"}),l&&l,!l&&m&&m)}));l.displayName="Link";export{l as Link};
1
+ import{objectWithoutProperties as e,extends as t}from"../../../../../../_virtual/_rollupPluginBabelHelpers.js";import{memo as r}from"react";import{Text as a}from"./Text.js";import s from"./typography.module.scss.js";const o=["children","text","className"],l=r((r=>{let{children:l,text:c,className:m=""}=r,i=e(r,o);return React.createElement(a,t({},i,{className:"".concat(s.link," ").concat(m),element:"a"}),l&&l,!l&&c&&c)}));l.displayName="Link";export{l as Link};
2
2
  //# sourceMappingURL=Link.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Link.js","sources":["../../../../../../../../../src/core/ui/components/atoms/text/Link.tsx"],"sourcesContent":["import { memo } from 'react'\n\nimport { ITextProps } from './text.types'\nimport { Text } from './Text'\nimport classes from './typography.module.scss'\n\n\nexport const Link = memo(\n ({ children, text, className = '', ...props }: ITextProps) => (\n <Text {...props} className={`${classes.link} ${className}`} element='a'>\n {children && children}\n {(!children && text) && text}\n </Text>\n ),\n)\n\nLink.displayName = 'Link'\n\n"],"names":["Link","memo","_ref","children","text","className","props","_objectWithoutProperties","_excluded","React","createElement","Text","_extends","concat","classes","link","element","displayName"],"mappings":"gSAOaA,EAAOC,EAAIA,MACtBC,IAAA,IAACC,SAAEA,EAAQC,KAAEA,EAAIC,UAAEA,EAAY,IAA0BH,EAAnBI,EAAKC,EAAAL,EAAAM,GAAA,OACzCC,MAAAC,cAACC,EAAIC,KAAKN,EAAK,CAAED,UAAS,GAAAQ,OAAKC,EAAQC,KAAIF,KAAAA,OAAIR,GAAaW,QAAQ,MACjEb,GAAYA,GACVA,GAAYC,GAASA,EACnB,IAIXJ,EAAKiB,YAAc"}
1
+ {"version":3,"file":"Link.js","sources":["../../../../../../../../../src/core/ui/components/atoms/text/Link.tsx"],"sourcesContent":["import { memo } from 'react'\n\nimport { ITextProps } from './text.types'\nimport { Text } from './Text'\nimport classes from './typography.module.scss'\n\n\nexport const Link = memo(\n ({ children, text, className = '', ...props }: ITextProps) => (\n <Text {...props} className={`${classes.link} ${className}`} element='a'>\n {children && children}\n {(!children && text) && text}\n </Text>\n ),\n)\n\nLink.displayName = 'Link'\n\n"],"names":["Link","memo","_ref","children","text","className","props","_objectWithoutProperties","_excluded","React","createElement","Text","_extends","concat","classes","link","element","displayName"],"mappings":"gQAOaA,EAAOC,GAClBC,IAAA,IAACC,SAAEA,EAAQC,KAAEA,EAAIC,UAAEA,EAAY,IAA0BH,EAAnBI,EAAKC,EAAAL,EAAAM,GAAA,OACzCC,MAAAC,cAACC,EAAIC,KAAKN,EAAK,CAAED,UAAS,GAAAQ,OAAKC,EAAQC,KAAIF,KAAAA,OAAIR,GAAaW,QAAQ,MACjEb,GAAYA,GACVA,GAAYC,GAASA,EACnB,IAIXJ,EAAKiB,YAAc"}
@@ -1,2 +1,2 @@
1
- import{objectWithoutProperties as e,extends as a}from"../../../../../../_virtual/_rollupPluginBabelHelpers.js";import{r as t}from"../../../../../../node_modules/react/index.js";import{Text as l}from"./Text.js";import r from"./typography.module.scss.js";const c=["children","text","className"],m=["children","text","className"],s=["children","text","className"],o=["children","text","className"],n=t.memo((t=>{let{children:m,text:s,className:o=""}=t,n=e(t,c);return React.createElement(l,a({},n,{className:"".concat(r.paragraph," ").concat(o),element:"p"}),m&&m,!m&&s&&s)}));n.displayName="Paragraph";const p=t.memo((t=>{let{children:c,text:s,className:o=""}=t,n=e(t,m);return React.createElement(l,a({},n,{className:"".concat(r.paragraphSmall," ").concat(o),element:"p"}),c&&c,!c&&s&&s)}));p.displayName="ParagraphSmall";const d=t.memo((t=>{let{children:c,text:m,className:o=""}=t,n=e(t,s);return React.createElement(l,a({},n,{className:"".concat(r.paragraphBold," ").concat(o),element:"p"}),c&&c,!c&&m&&m)}));d.displayName="ParagraphBold";const i=t.memo((t=>{let{children:c,text:m,className:s=""}=t,n=e(t,o);return React.createElement(l,a({},n,{className:"".concat(r.paragraphBoldSmall," ").concat(s),element:"p"}),c&&c,!c&&m&&m)}));i.displayName="ParagraphBoldSmall";export{n as Paragraph,d as ParagraphBold,i as ParagraphBoldSmall,p as ParagraphSmall};
1
+ import{objectWithoutProperties as e,extends as a}from"../../../../../../_virtual/_rollupPluginBabelHelpers.js";import{memo as t}from"react";import{Text as l}from"./Text.js";import r from"./typography.module.scss.js";const c=["children","text","className"],s=["children","text","className"],m=["children","text","className"],n=["children","text","className"],o=t((t=>{let{children:s,text:m,className:n=""}=t,o=e(t,c);return React.createElement(l,a({},o,{className:"".concat(r.paragraph," ").concat(n),element:"p"}),s&&s,!s&&m&&m)}));o.displayName="Paragraph";const p=t((t=>{let{children:c,text:m,className:n=""}=t,o=e(t,s);return React.createElement(l,a({},o,{className:"".concat(r.paragraphSmall," ").concat(n),element:"p"}),c&&c,!c&&m&&m)}));p.displayName="ParagraphSmall";const i=t((t=>{let{children:c,text:s,className:n=""}=t,o=e(t,m);return React.createElement(l,a({},o,{className:"".concat(r.paragraphBold," ").concat(n),element:"p"}),c&&c,!c&&s&&s)}));i.displayName="ParagraphBold";const d=t((t=>{let{children:c,text:s,className:m=""}=t,o=e(t,n);return React.createElement(l,a({},o,{className:"".concat(r.paragraphBoldSmall," ").concat(m),element:"p"}),c&&c,!c&&s&&s)}));d.displayName="ParagraphBoldSmall";export{o as Paragraph,i as ParagraphBold,d as ParagraphBoldSmall,p as ParagraphSmall};
2
2
  //# sourceMappingURL=Paragraph.js.map